Remove ATTRIBUTE_UNUSED from `decl' parameter of default_elf_asm_named_section
authorRamana Radhakrishnan <ramana.radhakrishnan@arm.com>
Tue, 6 Oct 2015 17:00:12 +0000 (17:00 +0000)
committerRamana Radhakrishnan <ramana@gcc.gnu.org>
Tue, 6 Oct 2015 17:00:12 +0000 (17:00 +0000)
The decl parameter in default_elf_asm_named_section is actually used.
Applied as obvious after an arm-none-eabi build.

Ramana

2015-10-06 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>

* varasm.c (default_elf_asm_named_section): Remove ATTRIBUTE_UNUSED
from the decl parameter.

From-SVN: r228537

gcc/ChangeLog
gcc/varasm.c

index a906ea5bf9b328634b88889b09b398c4b9be4093..e960a5ec786e08c904c77b0c33453bc7dd69714c 100644 (file)
@@ -1,3 +1,8 @@
+2015-10-06  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
+
+       * varasm.c (default_elf_asm_named_section): Remove ATTRIBUTE_UNUSED
+       from the decl parameter.
+
 2015-10-06  Nathan Sidwell  <nathan@codesourcery.com>
 
        PR 67861
index 48c3662b0006fc3869bded43cb53f4453159eb4a..f1564bc4955f63cdfee160508fdfd02b4fdcf179 100644 (file)
@@ -6233,7 +6233,7 @@ default_no_named_section (const char *name ATTRIBUTE_UNUSED,
 
 void
 default_elf_asm_named_section (const char *name, unsigned int flags,
-                              tree decl ATTRIBUTE_UNUSED)
+                              tree decl)
 {
   char flagchars[10], *f = flagchars;