Patchwork Committed: Fix PR go/47114

mail settings
Submitter Joern Rennecke
Date Dec. 31, 2010, 2:12 p.m.
Message ID <>
Download mbox | patch
Permalink /patch/77081/
State New
Headers show


Joern Rennecke - Dec. 31, 2010, 2:12 p.m.
Tested "make all-gcc" for x86_64-pc-linux-gnu X
   powerpc-darwin8 powerpc-darwin7 powerpc64-darwin powerpc-freebsd6
   powerpc-netbsd powerpc-eabispe powerpc-eabisimaltivec
   powerpc-eabisim ppc-elf powerpc-eabialtivec powerpc-xilinx-eabi
   powerpc-eabi powerpc-rtems4.11 --enable-threads=yes powerpc-linux_spe
   powerpc-linux_paired powerpc64-linux_altivec powerpc64-darl-gnu
   powerpc-gnu-gnualtivec powerpc-ungulate-gnu --enable-threads=yes
   powerpc-wrs-vxworks powerpc-lynxos powerpcle-elf powerpcle-eabisim
   powerpcle-eabi rs6000-ibm-aix4.3 rs6000-ibm-aix5.1.0 ppc64-freebsd6

Committed as obvious.
2010-12-31  Joern Rennecke  <>

	PR target/47114
	* config/rs6000/rs6000.c (rs6000_elf_asm_out_constructor): Add
	ATTRIBUTE_UNUSED to declaration.
	(rs6000_elf_asm_out_destructor): Likewise.
Joern Rennecke - Dec. 31, 2010, 2:16 p.m.
Oops, I forgot to properly fix the subject line before posting.


Index: config/rs6000/rs6000.c
--- config/rs6000/rs6000.c	(revision 168374)
+++ config/rs6000/rs6000.c	(working copy)
@@ -938,8 +938,8 @@  static rtx rs6000_function_value (const_
 static void rs6000_file_start (void);
 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,