Commit f401679e by Jim Wilson

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
parent 2e384318
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) Wed Sep 10 21:29:54 1997 Jeffrey A Law (law@cygnus.com)
* Makefile.in (bootstrap): New target. * Makefile.in (bootstrap): New target.
......
...@@ -893,7 +893,7 @@ local-clean: ...@@ -893,7 +893,7 @@ local-clean:
-rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E
local-distclean: local-distclean:
-rm -f Makefile config.status config.cache -rm -f Makefile config.status config.cache mh-frag mt-frag
-if [ "$(TARGET_SUBDIR)" != "." ]; then \ -if [ "$(TARGET_SUBDIR)" != "." ]; then \
rm -rf $(TARGET_SUBDIR); \ rm -rf $(TARGET_SUBDIR); \
else true; fi else true; fi
......
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> 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. * mh-go32 (CFLAGS): Don't set -fno-omit-frame-pointer.
......
PICFLAG_FOR_TARGET=-fPIC
...@@ -192,6 +192,7 @@ if [ x${shared} = xyes ]; then ...@@ -192,6 +192,7 @@ if [ x${shared} = xyes ]; then
i[3456]86-*) waugh=config/mh-x86pic ;; i[3456]86-*) waugh=config/mh-x86pic ;;
sparc64-*) waugh=config/mh-sparcpic ;; sparc64-*) waugh=config/mh-sparcpic ;;
powerpc*-*) waugh=config/mh-ppcpic ;; powerpc*-*) waugh=config/mh-ppcpic ;;
alpha-*-linux*) waugh=config/mh-elfalphapic ;;
*) waugh=config/mh-${host_cpu}pic ;; *) waugh=config/mh-${host_cpu}pic ;;
esac esac
if [ -f ${srcdir}/${waugh} ]; then if [ -f ${srcdir}/${waugh} ]; then
...@@ -455,6 +456,10 @@ case "${target}" in ...@@ -455,6 +456,10 @@ case "${target}" in
# but don't build gdb # but don't build gdb
noconfigdirs="$noconfigdirs gdb target-libg++ target-libstdc++ target-libio target-librx" noconfigdirs="$noconfigdirs gdb target-libg++ target-libstdc++ target-libio target-librx"
;; ;;
*-*-linux*)
# linux has rx in libc
skipdirs="$skipdirs target-librx"
;;
*-*-cygwin32) *-*-cygwin32)
target_configdirs="$target_configdirs target-winsup" target_configdirs="$target_configdirs target-winsup"
noconfigdirs="$noconfigdirs expect target-libgloss" noconfigdirs="$noconfigdirs expect target-libgloss"
...@@ -759,6 +764,7 @@ if [ x${shared} = xyes ]; then ...@@ -759,6 +764,7 @@ if [ x${shared} = xyes ]; then
hppa*) target_makefile_frag=config/mt-papic ;; hppa*) target_makefile_frag=config/mt-papic ;;
i[3456]86-*) target_makefile_frag=config/mt-x86pic ;; i[3456]86-*) target_makefile_frag=config/mt-x86pic ;;
powerpc*-*) target_makefile_frag=config/mt-ppcpic ;; powerpc*-*) target_makefile_frag=config/mt-ppcpic ;;
alpha-*-linux*) target_makefile_frag=config/mt-elfalphapic ;;
*) target_makefile_frag=config/mt-${target_cpu}pic ;; *) target_makefile_frag=config/mt-${target_cpu}pic ;;
esac esac
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment