diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2010-03-02 23:35:12 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2010-03-02 23:35:12 +0000 |
commit | d1ced155609992df47adf1af59c436156ea62c4e (patch) | |
tree | affe7e2e519cadb2973b525c6a2f62b749b4bc62 /gcc/config/sparc/sol2.h | |
parent | ac4983563d9b1ae724334d4228b93facea4bb515 (diff) | |
download | gcc-d1ced155609992df47adf1af59c436156ea62c4e.tar.gz |
config.gcc (sparc-*-linux*): Do not include sparc/gas.h.
* 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.
From-SVN: r157181
Diffstat (limited to 'gcc/config/sparc/sol2.h')
-rw-r--r-- | gcc/config/sparc/sol2.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config/sparc/sol2.h b/gcc/config/sparc/sol2.h index a3f7647027b..21882ae206a 100644 --- a/gcc/config/sparc/sol2.h +++ b/gcc/config/sparc/sol2.h @@ -195,4 +195,8 @@ along with GCC; see the file COPYING3. If not see } \ while (0) +/* Use Solaris ELF section syntax. */ +#undef TARGET_ASM_NAMED_SECTION +#define TARGET_ASM_NAMED_SECTION sparc_solaris_elf_asm_named_section + #define MD_UNWIND_SUPPORT "config/sparc/sol2-unwind.h" |