Toggle default ELF section syntax on SPARC

Eric Botcazou ebotcazou@adacore.com
Tue Mar 2 23:36:00 GMT 2010


> That sounds perfect.

OK, thanks.  Here is the patch I eventually commited.


2010-03-02  Eric Botcazou  <ebotcazou@adacore.com>

        * config.gcc (sparc-*-linux*): Do not include sparc/gas.h.
        (sparc64-*-linux*): Likewise.
	(sparc64-*-solaris2*): Include assembler files before linker ones.
	(sparc-*-solaris2*): Simplify and reorder to match previous case.
        * config/sparc/gas.h: Delete.
	* config/sparc/sol2-64.h: Add copyright notice.
	* config/sparc/sol2-gas-bi.h: Likewise.
	* config/sparc/sol2-gld.h: Likewise.
        * config/sparc/sysv4.h (TARGET_ASM_NAMED_SECTION): Delete.
        * config/sparc/sol2.h (TARGET_ASM_NAMED_SECTION): Redefine.
        * config/sparc/sol2-gas.h (TARGET_ASM_NAMED_SECTION): Likewise.
	* config/sparc/sparc.c (TARGET_ASM_ALIGNED_SI_OP): Never redefine.
	(sparc_elf_asm_named_section): Rename into...
	(sparc_solaris_elf_asm_named_section): ...this.  Always define.


-- 
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sparc_gas-2.diff
Type: text/x-diff
Size: 10637 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20100302/c00ed1ea/attachment.bin>


More information about the Gcc-patches mailing list