This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb/binutils-2_26-branch] Accept and ignore dummy command line options in the ARC backend of GAS.


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e2e3ca03ef70a42e34df743e9369ecb23726e921

commit e2e3ca03ef70a42e34df743e9369ecb23726e921
Author: Nick Clifton <nickc@redhat.com>
Date:   Wed May 11 11:41:28 2016 +0100

    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:
---
 gas/ChangeLog       | 6 ++++++
 gas/config/tc-arc.c | 1 +
 2 files changed, 7 insertions(+)

diff --git a/gas/ChangeLog b/gas/ChangeLog
index ae27fd0..f9cc8a9 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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
diff --git a/gas/config/tc-arc.c b/gas/config/tc-arc.c
index ca43566..1ec01cb 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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]