Remove ATTRIBUTE_UNUSED from `decl' parameter of default_elf_asm_named_section
authorramana <ramana@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 6 Oct 2015 17:00:12 +0000 (17:00 +0000)
committerramana <ramana@138bc75d-0d04-0410-961f-82ee72b054a4>
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@228537 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/varasm.c

index a906ea5..e960a5e 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 48c3662..f1564bc 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;