diff options
author | Jim Wilson <wilson@gcc.gnu.org> | 1997-09-11 16:44:33 -0700 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 1997-09-11 16:44:33 -0700 |
commit | f401679ee13670ae1201150c0ac1ff22b7b64f0a (patch) | |
tree | f3be9c5ce95407e10452ad4e3179c546a5808a93 | |
parent | 2e384318d3c58066fc1efbd3a74f71738af04758 (diff) | |
download | gcc-f401679ee13670ae1201150c0ac1ff22b7b64f0a.zip gcc-f401679ee13670ae1201150c0ac1ff22b7b64f0a.tar.gz gcc-f401679ee13670ae1201150c0ac1ff22b7b64f0a.tar.bz2 |
Patches from H.J. Lu for alpha-linux -fPIC --enable-shared problem.
* Makefile.in (local-distclean): Also remove mh-frag mt-frag.
* configure.in (skipdirs): Add target-librx for Linux.
(alpha-*-linux*): Use config/mh-elfalphapic and config/mt-elfalphapic.
* mh-elfalphapic, mt-elfalphapic: New files.
From-SVN: r15419
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | Makefile.in | 2 | ||||
-rw-r--r-- | config/ChangeLog | 4 | ||||
-rw-r--r-- | config/mh-elfalphapic | 1 | ||||
-rw-r--r-- | config/mt-elfalphapic | 1 | ||||
-rw-r--r-- | configure.in | 6 |
6 files changed, 20 insertions, 1 deletions
@@ -1,3 +1,10 @@ +Thu Sep 11 16:40:46 1997 H.J. Lu (hjl@gnu.ai.mit.edu) + + * Makefile.in (local-distclean): Also remove mh-frag mt-frag. + + * configure.in (skipdirs): Add target-librx for Linux. + (alpha-*-linux*): Use config/mh-elfalphapic and config/mt-elfalphapic. + Wed Sep 10 21:29:54 1997 Jeffrey A Law (law@cygnus.com) * Makefile.in (bootstrap): New target. diff --git a/Makefile.in b/Makefile.in index ee4a50d..5ee567d 100644 --- a/Makefile.in +++ b/Makefile.in @@ -893,7 +893,7 @@ local-clean: -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E local-distclean: - -rm -f Makefile config.status config.cache + -rm -f Makefile config.status config.cache mh-frag mt-frag -if [ "$(TARGET_SUBDIR)" != "." ]; then \ rm -rf $(TARGET_SUBDIR); \ else true; fi diff --git a/config/ChangeLog b/config/ChangeLog index b68a85c..51fa2c2 100644 --- a/config/ChangeLog +++ b/config/ChangeLog @@ -1,3 +1,7 @@ +Thu Sep 11 16:43:27 1997 Jim Wilson <wilson@cygnus.com> + + * mh-elfalphapic, mt-elfalphapic: New files. + Wed Jul 23 12:32:18 1997 Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE> * mh-go32 (CFLAGS): Don't set -fno-omit-frame-pointer. diff --git a/config/mh-elfalphapic b/config/mh-elfalphapic new file mode 100644 index 0000000..35cf2c8 --- /dev/null +++ b/config/mh-elfalphapic @@ -0,0 +1 @@ +PICFLAG=-fPIC diff --git a/config/mt-elfalphapic b/config/mt-elfalphapic new file mode 100644 index 0000000..35b8c9e --- /dev/null +++ b/config/mt-elfalphapic @@ -0,0 +1 @@ +PICFLAG_FOR_TARGET=-fPIC diff --git a/configure.in b/configure.in index 642461c..f48c2a9 100644 --- a/configure.in +++ b/configure.in @@ -192,6 +192,7 @@ if [ x${shared} = xyes ]; then i[3456]86-*) waugh=config/mh-x86pic ;; sparc64-*) waugh=config/mh-sparcpic ;; powerpc*-*) waugh=config/mh-ppcpic ;; + alpha-*-linux*) waugh=config/mh-elfalphapic ;; *) waugh=config/mh-${host_cpu}pic ;; esac if [ -f ${srcdir}/${waugh} ]; then @@ -455,6 +456,10 @@ case "${target}" in # but don't build gdb noconfigdirs="$noconfigdirs gdb target-libg++ target-libstdc++ target-libio target-librx" ;; + *-*-linux*) + # linux has rx in libc + skipdirs="$skipdirs target-librx" + ;; *-*-cygwin32) target_configdirs="$target_configdirs target-winsup" noconfigdirs="$noconfigdirs expect target-libgloss" @@ -759,6 +764,7 @@ if [ x${shared} = xyes ]; then hppa*) target_makefile_frag=config/mt-papic ;; i[3456]86-*) target_makefile_frag=config/mt-x86pic ;; powerpc*-*) target_makefile_frag=config/mt-ppcpic ;; + alpha-*-linux*) target_makefile_frag=config/mt-elfalphapic ;; *) target_makefile_frag=config/mt-${target_cpu}pic ;; esac fi |