diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2010-11-15 18:12:42 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2010-11-15 18:12:42 +0000 |
commit | bd937d21502c30419a3ce45c93e382fff0019e96 (patch) | |
tree | 5860f3d63e49449371ff40672ebfd428671f7ef8 /gas | |
parent | cb80163c46d401fb4e14934ac0e51f04e55237e7 (diff) | |
download | gdb-bd937d21502c30419a3ce45c93e382fff0019e96.zip gdb-bd937d21502c30419a3ce45c93e382fff0019e96.tar.gz gdb-bd937d21502c30419a3ce45c93e382fff0019e96.tar.bz2 |
Mark parameters of elf_process_stab as ATTRIBUTE_UNUSED.
2010-11-15 H.J. Lu <hongjiu.lu@intel.com>
* config/obj-elf.c (elf_process_stab): Mark parameters as
ATTRIBUTE_UNUSED.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/config/obj-elf.c | 12 |
2 files changed, 11 insertions, 6 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 04d3b92..550f38e 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2010-11-15 H.J. Lu <hongjiu.lu@intel.com> + + * config/obj-elf.c (elf_process_stab): Mark parameters as + ATTRIBUTE_UNUSED. + 2010-11-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> * config/obj-elf.c (elf_generate_asm_lineno): New function. diff --git a/gas/config/obj-elf.c b/gas/config/obj-elf.c index d38721b..8eb66ed 100644 --- a/gas/config/obj-elf.c +++ b/gas/config/obj-elf.c @@ -2398,12 +2398,12 @@ elf_generate_asm_lineno (void) } static void -elf_process_stab (segT sec, - int what, - const char *string, - int type, - int other, - int desc) +elf_process_stab (segT sec ATTRIBUTE_UNUSED, + int what ATTRIBUTE_UNUSED, + const char *string ATTRIBUTE_UNUSED, + int type ATTRIBUTE_UNUSED, + int other ATTRIBUTE_UNUSED, + int desc ATTRIBUTE_UNUSED) { #ifdef NEED_ECOFF_DEBUG if (ECOFF_DEBUGGING) |