diff options
author | Daniel Jacobowitz <dan@codesourcery.com> | 2004-11-18 01:07:18 +0000 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2004-11-18 01:07:18 +0000 |
commit | a8e68029244bf2bcafbb82c7419438d185dc4c5d (patch) | |
tree | f359cc24690133850cf3bf16ec1173672b262e12 /gcc/config.gcc | |
parent | e1990f69ebdc902f9a888b094f32b9a408790bcf (diff) | |
download | gcc-a8e68029244bf2bcafbb82c7419438d185dc4c5d.zip gcc-a8e68029244bf2bcafbb82c7419438d185dc4c5d.tar.gz gcc-a8e68029244bf2bcafbb82c7419438d185dc4c5d.tar.bz2 |
configure.ac (i[34567]86-*-solaris2.1[0-9]*): Set need_64bit_hwint=yes.
libcpp:
2004-11-18 Daniel Jacobowitz <dan@codesourcery.com>
Mark Mitchell <mark@codesourcery.com>
* configure.ac (i[34567]86-*-solaris2.1[0-9]*): Set
need_64bit_hwint=yes.
* configure: Regenerate.
gcc:
2004-11-18 Daniel Jacobowitz <dan@codesourcery.com>
Mark Mitchell <mark@codesourcery.com>
* config/i386/sol2-10.h, config/i386/t-sol2-10: New files.
* config/i386/i386.c (i386_solaris_elf_named_section): New
function.
* config.gcc (i[34567]86-*-solaris2*): Handle Solaris 2.10.
* config/i386/sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Handle
64-bit.
(ASM_QUAD): Don't undefine for biarch targets.
* config/i386/t-sol2: Introduce multilib support.
gcc/testsuite:
2004-11-18 Daniel Jacobowitz <dan@codesourcery.com>
Mark Mitchell <mark@codesourcery.com>
* testsuite/gcc.dg/pragma-init-fini-2.c: New test.
Co-Authored-By: Mark Mitchell <mark@codesourcery.com>
From-SVN: r90839
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r-- | gcc/config.gcc | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc index c1820cc..0a1e5f4 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -1020,6 +1020,7 @@ i[34567]86-*-solaris2*) tm_p_file="${tm_p_file} sol2-protos.h" if test x$gnu_ld = xyes; then tmake_file="$tmake_file t-slibgcc-elf-ver" + tm_defines="${tm_defines} TARGET_GNU_LD=1" else tmake_file="$tmake_file t-slibgcc-sld" fi @@ -1028,7 +1029,20 @@ i[34567]86-*-solaris2*) tm_file="$tm_file tm-dwarf2.h" ;; esac - extra_parts="crt1.o crti.o crtn.o gcrt1.o gmon.o crtbegin.o crtend.o" + case ${target} in + *-*-solaris2.1[0-9]) + tm_file="${tm_file} i386/x86-64.h i386/sol2-10.h" + tm_defines="${tm_defines} TARGET_BI_ARCH=1" + tmake_file="$tmake_file i386/t-sol2-10" + need_64bit_hwint=yes + # Solaris 2.10 provides crt1.o, crti.o, crtn.o, and gcrt1.o as + # part of the base system. + extra_parts="gmon.o crtbegin.o crtend.o" + ;; + *) + extra_parts="crt1.o crti.o crtn.o gcrt1.o gmon.o crtbegin.o crtend.o" + ;; + esac case ${enable_threads}:${have_pthread_h}:${have_thread_h} in "":yes:* | yes:yes:* ) thread_file=posix ;; "":*:yes | yes:*:yes ) thread_file=solaris ;; |