aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
authorDavid S. Miller <davem@redhat.com>2002-04-08 10:20:48 -0700
committerDavid S. Miller <davem@gcc.gnu.org>2002-04-08 10:20:48 -0700
commit7a31a340a148756601d808c40bba14f7c65af895 (patch)
tree0e7759702ad29794fe850c40c3f34a61eef0b489 /gcc/config.gcc
parent11579f33b913b2fc5187a356597252e4c5e7ef0a (diff)
downloadgcc-7a31a340a148756601d808c40bba14f7c65af895.zip
gcc-7a31a340a148756601d808c40bba14f7c65af895.tar.gz
gcc-7a31a340a148756601d808c40bba14f7c65af895.tar.bz2
re PR target/6082 (memory model wrong for FreeBSD/sparc64)
2002-04-08 David S. Miller <davem@redhat.com> PR target/6082 * config/sparc/freebsd.h (SPARC_DEFAULT_CMODEL): Set to CM_MEDLOW Make init_priority work on Sparc when using GNU ld. * config/sparc/linux.h, config/sparc/linux64.h, config/sparc/netbsd-elf.h, config/sparc/freebsd.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Undefine. * config/sparc/sol2-gld.h: New file to do the same. * config.gcc (sparc*-*-solaris2*): If gnu_ld=yes add sparc/sol2-gld.h to tm_file. PR optimization/4328 * config/sparc/sparc.h (EXTRA_CONSTRAINT): Add new constraint 'W'. * doc/md.texi: Document it. * config/sparc/sparc.md (movdi_insn_sp64_novis, movdi_insn_sp64_vis, movdf_insn_sp32, movdf_insn_v9only_novis, movdf_insn_v9only_vis, movdf_insn_sp64_novis, movdf_insn_sp64_vis): Use it as MEM constraing with 'e' registers. * config/sparc/sparc.c (mem_min_alignment): Fix comment. From-SVN: r52031
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r--gcc/config.gcc7
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 360049f..07afdce 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -3075,7 +3075,7 @@ sparc-*-rtems*|sparc-*-rtemself*)
sparcv9-*-solaris2* | sparc64-*-solaris2*)
if test x$gnu_ld = xyes
then
- tm_file="sparc/sol2-sld-64.h sparc/sol2-64.h"
+ tm_file="sparc/sol2-sld-64.h sparc/sol2-64.h sparc/sol2-gld.h"
else
tm_file=sparc/sol2-sld-64.h
fi
@@ -3107,6 +3107,7 @@ sparc-hal-solaris2*)
tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/sol2.h sparc/hal.h"
tmake_file="sparc/t-halos sparc/t-sol2 sparc/t-crtfm"
if test x$gnu_ld = xyes; then
+ tm_file="${tm_file} sparc/sol2-gld.h"
tmake_file="$tmake_file t-slibgcc-elf-ver"
else
tmake_file="$tmake_file t-slibgcc-sld"
@@ -3125,7 +3126,7 @@ sparc-hal-solaris2*)
sparc-*-solaris2*)
if test x$gnu_ld = xyes
then
- tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/sol2.h"
+ tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/sol2.h sparc/sol2-gld.h"
else
tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/sol2.h sparc/sol2-sld.h"
fi
@@ -3142,7 +3143,7 @@ sparc-*-solaris2*)
*-*-solaris2*)
if test x$gnu_ld = xyes
then
- tm_file="sparc/sol2-sld-64.h sparc/sol2-64.h"
+ tm_file="sparc/sol2-sld-64.h sparc/sol2-64.h sparc/sol2-gld.h"
else
tm_file="sparc/sol2-sld-64.h"
fi