This is the mail archive of the binutils@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]

[PATCH] Warn about depredcated ARM GAS command line switches


Hi Guys,

  I have applied the patch below to enable warnings about deprecated
  ARM GAS command line switches.

Cheers
  Nick

gas/ChangeLog
2006-08-08  Nick Clifton  <nickc@redhat.com>

	* config/tc-arm.c (WARN_DEPRECATED): Enable.

Index: gas/config/tc-arm.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-arm.c,v
retrieving revision 1.283
diff -c -3 -p -r1.283 tc-arm.c
*** gas/config/tc-arm.c	6 Aug 2006 15:04:22 -0000	1.283
--- gas/config/tc-arm.c	7 Aug 2006 09:43:02 -0000
***************
*** 42,49 ****
  
  #include "dwarf2dbg.h"
  
! /* XXX Set this to 1 after the next binutils release.  */
! #define WARN_DEPRECATED 0
  
  #ifdef OBJ_ELF
  /* Must be at least the size of the largest unwind opcode (currently two).  */
--- 42,48 ----
  
  #include "dwarf2dbg.h"
  
! #define WARN_DEPRECATED 1
  
  #ifdef OBJ_ELF
  /* Must be at least the size of the largest unwind opcode (currently two).  */


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