From e8a8f015ccbea69db9444ddea4a6ba7dd9693466 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 9 Oct 2013 18:18:49 +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 cca109cbbc7..865184f5c92 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-04 Will Newton * emulparams/aarch64elf.sh: Add IREL_IN_PLT. diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em index 581d9db8977..682f5e53934 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 <