aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorJoern Rennecke <amylaar@spamcop.net>2010-12-31 14:07:32 +0000
committerJoern Rennecke <amylaar@gcc.gnu.org>2010-12-31 14:07:32 +0000
commit68b0818b07c0fe107866dca82bf784db0b30b570 (patch)
tree3b7d4d6b0993f9a4409eaf01cf1c39274e95256b /gcc/config
parent522654e6985314f23144dfb70f2bebc85d811623 (diff)
downloadgcc-68b0818b07c0fe107866dca82bf784db0b30b570.zip
gcc-68b0818b07c0fe107866dca82bf784db0b30b570.tar.gz
gcc-68b0818b07c0fe107866dca82bf784db0b30b570.tar.bz2
re PR target/47114 (powerpc-wrs-vxworks: rs6000_elf_asm_out_{con,de}structor defined but not used)
PR target/47114 * config/rs6000/rs6000.c (rs6000_elf_asm_out_constructor): Add ATTRIBUTE_UNUSED to declaration. (rs6000_elf_asm_out_destructor): Likewise. From-SVN: r168377
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/rs6000/rs6000.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index f26e37e..30f8b75 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -938,8 +938,8 @@ static rtx rs6000_function_value (const_tree, const_tree, bool);
static void rs6000_file_start (void);
#if TARGET_ELF
static int rs6000_elf_reloc_rw_mask (void);
-static void rs6000_elf_asm_out_constructor (rtx, int);
-static void rs6000_elf_asm_out_destructor (rtx, int);
+static void rs6000_elf_asm_out_constructor (rtx, int) ATTRIBUTE_UNUSED;
+static void rs6000_elf_asm_out_destructor (rtx, int) ATTRIBUTE_UNUSED;
static void rs6000_elf_end_indicate_exec_stack (void) ATTRIBUTE_UNUSED;
static void rs6000_elf_asm_init_sections (void);
static section *rs6000_elf_select_rtx_section (enum machine_mode, rtx,