]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Accept and ignore dummy command line options in the ARC backend of GAS.
authorNick Clifton <nickc@redhat.com>
Wed, 11 May 2016 10:41:28 +0000 (11:41 +0100)
committerNick Clifton <nickc@redhat.com>
Wed, 11 May 2016 10:41:28 +0000 (11:41 +0100)
PR gas/20047
* config/tc-arc.c (md_parse_option): Return 1 for recognised dummy
options.

gas/ChangeLog
gas/config/tc-arc.c

index ae27fd047659fcecb1a64e31f7585f1225291477..f9cc8a946d084964b6d0f1b93cf6fc878f71d756 100644 (file)
@@ -1,3 +1,9 @@
+2016-05-11  Nick Clifton  <nickc@redhat.com>
+
+       PR gas/20047
+       * config/tc-arc.c (md_parse_option): Return 1 for recognised dummy
+       options.
+
 2016-04-15  H.J. Lu  <hongjiu.lu@intel.com>
 
        Backport from master
index ca43566403e5b299ab9b33cfd5ca655cbbd121ad..1ec01cb45afd17aea2fccf4fa472f2b2770fd67a 100644 (file)
@@ -1747,6 +1747,7 @@ md_parse_option (int c, char *arg ATTRIBUTE_UNUSED)
     case OPTION_RTSC:
     case OPTION_FPUDA:
       /* Dummy options.  */
+      break;
 
     default:
       return 0;