From: Nick Clifton Date: Wed, 11 May 2016 10:41:28 +0000 (+0100) Subject: Accept and ignore dummy command line options in the ARC backend of GAS. X-Git-Tag: users/ARM/embedded-gdb-2_26-branch-2016q1~6^2~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e2e3ca03ef70a42e34df743e9369ecb23726e921;p=thirdparty%2Fbinutils-gdb.git Accept and ignore dummy command line options in the ARC backend of GAS. PR gas/20047 * config/tc-arc.c (md_parse_option): Return 1 for recognised dummy options. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index ae27fd04765..f9cc8a946d0 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2016-05-11 Nick Clifton + + PR gas/20047 + * config/tc-arc.c (md_parse_option): Return 1 for recognised dummy + options. + 2016-04-15 H.J. Lu Backport from master diff --git a/gas/config/tc-arc.c b/gas/config/tc-arc.c index ca43566403e..1ec01cb45af 100644 --- a/gas/config/tc-arc.c +++ b/gas/config/tc-arc.c @@ -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;