From 677e5a92b1e998e33fbe216f4cbb52cc88b74bca Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 9 Oct 2013 18:16:18 +0000 Subject: [PATCH] ld/ * emultempl/elf32.em (id_note_section_size): Use ATTRIBUTE_UNUSED rather than a dummy assignment for unused parameter. * plugin.c (get_input_file, release_input_file): Likewise. --- ld/ChangeLog | 6 ++++++ ld/emultempl/elf32.em | 4 +--- ld/plugin.c | 10 ++++------ 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 1b2f88c2e3..b45aa69dab 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,9 @@ +2013-10-09 Roland McGrath + + * emultempl/elf32.em (id_note_section_size): Use ATTRIBUTE_UNUSED + rather than a dummy assignment for unused parameter. + * plugin.c (get_input_file, release_input_file): Likewise. + 2013-10-09 Nick Clifton PR ld/16028 diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em index 581d9db897..682f5e5393 100644 --- a/ld/emultempl/elf32.em +++ b/ld/emultempl/elf32.em @@ -893,13 +893,11 @@ if test x"$LDEMUL_AFTER_OPEN" != xgld"$EMULATION_NAME"_after_open; then fragment <