aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2010-03-02 23:35:12 +0000
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2010-03-02 23:35:12 +0000
commit165280465e9b24666ed8d807ea7ae8bc82ec9396 (patch)
treeaffe7e2e519cadb2973b525c6a2f62b749b4bc62 /gcc/config.gcc
parent406b9b67a3b4a85a99394ddcb28bace3e2146997 (diff)
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157181 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r--gcc/config.gcc34
1 files changed, 13 insertions, 21 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 8d0475f27aa..c131b89d0b8 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -2362,7 +2362,7 @@ sparc-*-elf*)
extra_parts="crti.o crtn.o crtbegin.o crtend.o"
;;
sparc-*-linux*) # SPARC's running GNU/Linux, libc6
- tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/gas.h linux.h glibc-stdint.h"
+ tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h linux.h glibc-stdint.h"
extra_options="${extra_options} sparc/long-double-switch.opt"
tmake_file="${tmake_file} sparc/t-linux"
if test x$enable_targets = xall; then
@@ -2390,12 +2390,12 @@ sparc64-*-solaris2* | sparcv9-*-solaris2*)
;;
esac
tm_file="${tm_file} sparc/sol2.h sparc/sol2-64.h sparc/sol2-bi.h"
- if test x$gnu_ld = xyes; then
- tm_file="${tm_file} sparc/sol2-gld.h sparc/sol2-gld-bi.h"
- fi
if test x$gas = xyes; then
tm_file="${tm_file} sparc/sol2-gas.h sparc/sol2-gas-bi.h"
fi
+ if test x$gnu_ld = xyes; then
+ tm_file="${tm_file} sparc/sol2-gld.h sparc/sol2-gld-bi.h"
+ fi
tm_file="${tm_file} tm-dwarf2.h"
tmake_file="t-sol2 sparc/t-sol2 sparc/t-sol2-64 sparc/t-crtfm"
if test x$gnu_ld = xyes; then
@@ -2414,7 +2414,7 @@ sparc64-*-solaris2* | sparcv9-*-solaris2*)
esac
;;
sparc-*-solaris2*)
- tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sol2.h"
+ tm_file="sparc/biarch64.h ${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sol2.h"
case ${target} in
*-*-solaris2.1[0-9]*)
tm_file="${tm_file} sol2-10.h"
@@ -2424,28 +2424,20 @@ sparc-*-solaris2*)
use_gcc_stdint=provide
;;
esac
- tm_file="${tm_file} sparc/sol2.h"
- if test x$gnu_ld = xyes; then
- tm_file="${tm_file} sparc/sol2-gld.h"
- fi
+ tm_file="${tm_file} sparc/sol2.h sparc/sol2-bi.h"
if test x$gas = xyes; then
- tm_file="${tm_file} sparc/sol2-gas.h"
+ tm_file="${tm_file} sparc/sol2-gas.h sparc/sol2-gas-bi.h"
fi
- tmake_file="t-sol2 sparc/t-sol2 sparc/t-crtfm"
+ if test x$gnu_ld = xyes; then
+ tm_file="${tm_file} sparc/sol2-gld.h sparc/sol2-gld-bi.h"
+ fi
+ tm_file="${tm_file} tm-dwarf2.h"
+ tmake_file="t-sol2 sparc/t-sol2 sparc/t-sol2-64 sparc/t-crtfm"
if test x$gnu_ld = xyes; then
tmake_file="$tmake_file t-slibgcc-elf-ver"
else
tmake_file="$tmake_file t-slibgcc-sld"
fi
- tm_file="sparc/biarch64.h ${tm_file} sparc/sol2-bi.h"
- if test x$gnu_ld = xyes; then
- tm_file="${tm_file} sparc/sol2-gld-bi.h"
- fi
- if test x$gas = xyes; then
- tm_file="${tm_file} sparc/sol2-gas-bi.h"
- fi
- tm_file="${tm_file} tm-dwarf2.h"
- tmake_file="$tmake_file sparc/t-sol2-64"
test x$with_cpu != x || with_cpu=v9
c_target_objs="sol2-c.o"
cxx_target_objs="sol2-c.o"
@@ -2482,7 +2474,7 @@ sparc64-*-freebsd*|ultrasparc-*-freebsd*)
esac
;;
sparc64-*-linux*) # 64-bit SPARC's running GNU/Linux
- tm_file="sparc/biarch64.h ${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/gas.h linux.h glibc-stdint.h sparc/linux64.h"
+ tm_file="sparc/biarch64.h ${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h linux.h glibc-stdint.h sparc/linux64.h"
extra_options="${extra_options} sparc/long-double-switch.opt"
tmake_file="${tmake_file} sparc/t-linux sparc/t-linux64 sparc/t-crtfm"
;;