aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
authorMatthias Klose <doko@debian.org>2004-02-16 21:39:23 +0000
committerRichard Henderson <rth@gcc.gnu.org>2004-02-16 13:39:23 -0800
commit8c958ed273d3699212053c174c8d6607031a98f5 (patch)
tree6e9ece8212d6e8e92e2a1270bf236bb35f2b86c7 /gcc/config.gcc
parent35d0b14df6995e79e84201c45d49ef986f9e0b77 (diff)
downloadgcc-8c958ed273d3699212053c174c8d6607031a98f5.zip
gcc-8c958ed273d3699212053c174c8d6607031a98f5.tar.gz
gcc-8c958ed273d3699212053c174c8d6607031a98f5.tar.bz2
t-slibgcc-elf-ver: Define SHLIB_NAME and SHLIB_SONAME in terms of SHLIB_SOVERSION.
* config/t-slibgcc-elf-ver: Define SHLIB_NAME and SHLIB_SONAME in terms of SHLIB_SOVERSION. * config/m68k/t-slibgcc-elf-ver: New file. * config/pa/t-slibgcc-elf-ver: New file. * config.gcc (m68k-linux, parisc-linux): Use them when not sjlj exceptions are not configured. From-SVN: r77920
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r--gcc/config.gcc10
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 7005d6c..841bd18 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -744,6 +744,11 @@ hppa*-*-linux* | parisc*-*-linux*)
tm_file="${tm_file} dbxelf.h elfos.h svr4.h linux.h pa/pa-linux.h \
pa/pa32-regs.h pa/pa32-linux.h"
tmake_file="t-slibgcc-elf-ver t-linux pa/t-linux"
+ # if not configured with --enable-sjlj-exceptions, bump the
+ # libgcc version number
+ if test x$sjlj != x1; then
+ tmake_file="$tmake_file pa/t-slibgcc-elf-ver"
+ fi
;;
# port not yet contributed.
#hppa*-*-openbsd*)
@@ -1221,6 +1226,11 @@ m68k-*-linux*) # Motorola m68k's running GNU/Linux
tm_file="m68k/m68k.h dbxelf.h elfos.h svr4.h linux.h m68k/linux.h"
tm_defines="MOTOROLA USE_GAS"
tmake_file="t-slibgcc-elf-ver t-linux"
+ # if not configured with --enable-sjlj-exceptions, bump the
+ # libgcc version number
+ if test x$sjlj != x1; then
+ tmake_file="$tmake_file m68k/t-slibgcc-elf-ver"
+ fi
;;
m68k-*-rtems*)
tmake_file="m68k/t-m68kbare m68k/t-crtstuff t-rtems m68k/t-rtems"