* config.bfd (mips*-*-irix6*): New target.
authorIan Lance Taylor <ian@airs.com>
Thu, 18 Jul 1996 20:33:22 +0000 (20:33 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 18 Jul 1996 20:33:22 +0000 (20:33 +0000)
* configure.host: Handle Irix 6 shared library like Irix 5.

bfd/ChangeLog
bfd/config.bfd
bfd/configure.host

index 56eaebff1a711172b77df6afa18e0bbdbf86767d..110729e53cc7b1650b2be370e85ba8309b9e1ffe 100644 (file)
@@ -1,5 +1,8 @@
 Thu Jul 18 15:39:10 1996  Ian Lance Taylor  <ian@cygnus.com>
 
+       * config.bfd (mips*-*-irix6*): New target.
+       * configure.host: Handle Irix 6 shared library like Irix 5.
+
        * xcofflink.c (xcoff_link_add_symbols): Don't check an XMC_TD
        symbol for a magic name.
        (xcoff_link_input_bfd): Don't change the reloc symbol for an
index 389e83050a014ddfd74bd87218243df324804be5..793396687bab4b8bf92b4a767c0872b80d5375a3 100755 (executable)
@@ -359,6 +359,10 @@ case "${targ}" in
     targ_defvec=ecoff_big_vec
     targ_selvecs=ecoff_little_vec
     ;;
+  mips*-*-irix6*)
+    targ_defvec=bfd_elf32_bigmips_vec
+    targ_selvecs="bfd_elf32_littlemips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec"
+    ;;
   mips*-*-irix5*)
     targ_defvec=bfd_elf32_bigmips_vec
     targ_selvecs="bfd_elf32_littlemips_vec ecoff_big_vec ecoff_little_vec"
index ca1136c2a3de1a0a1e29443828ae3bd556f1371b..b2b9e7107715dd68cdd475ef269b2f0e75996306 100644 (file)
@@ -56,9 +56,9 @@ SHLIB_CC='$(CC)'
 SHLIB_CFLAGS='-shared'
 if [ "${shared}" = "true" ]; then
   case "${host}" in
-  hppa*-*-*)           picfrag=../config/mh-papic ;;
-  i[3456]86-*-*)       picfrag=../config/mh-x86pic ;;
-  *-*-*)               picfrag=../config/mh-${host_cpu}pic ;;
+  hppa*-*-*)           picfrag=${srcdir}/../config/mh-papic ;;
+  i[3456]86-*-*)       picfrag=${srcdir}/../config/mh-x86pic ;;
+  *-*-*)               picfrag=${srcdir}/../config/mh-${host_cpu}pic ;;
   esac
   if [ -f "${picfrag}" ]; then
     pic=`sed -n -e 's/^PICFLAG[        ]*=[    ]*\(.*\)$/\1/p' ${picfrag}`
@@ -81,8 +81,8 @@ if [ "${shared}" = "true" ]; then
     HLDFLAGS='-Wl,+s,+b,$(libdir)'
     RPATH_ENVVAR=SHLIB_PATH
     ;;
-  *-*-irix5*)
-    # -fpic is not needed on Irix 5.
+  *-*-irix[56]*)
+    # -fpic is not needed on Irix 5 or 6.
     PICFLAG=
     SHLIB_CFLAGS='-shared -Wl,-soname,$(SONAME)'
     HLDFLAGS='-Wl,-rpath,$(libdir)'
This page took 0.036683 seconds and 4 git commands to generate.