diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-10-04 20:53:29 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-10-04 20:53:29 +0000 |
commit | a1415e6dd820bb7d4d4ae813a0491707a533a843 (patch) | |
tree | 4f82b9e33e90bba937926f41eb632d07c81d7017 /gcc/config/t-linux | |
parent | eae914e28dc4509a3eac92c0cfb3d877673ba678 (diff) | |
download | gcc-a1415e6dd820bb7d4d4ae813a0491707a533a843.tar.gz |
* configure.in (enable-shared): New.
* Makefile.in (LIBGCC_DEPS): Depend on EXTRA_PARTS as well.
(libgcc.mk): Pass SHLIB_LINK, SHLIB_LIBS, SHLIB_MULTILIB to mklibgcc.
* mklibgcc.in: Use them to link shared a libgcc.
* config/t-linux (SHLIB_LINK, SHLIB_LIBS): New.
* config/alpha/t-ieee (SHLIB_MULTILIB): New.
* config/mips/t-iris6 (SHLIB_LINK, SHLIB_LIBS): New.
* config/sparc/t-sol2 (SHLIB_LINK, SHLIB_LIBS): New.
* configure.in (alpha-osf*): Use t-osf and x-osf.
* config/alpha/t-osf: New file.
* config/alpha/t-osf4: New file.
* config/alpha/x-osf: New file.
* config/alpha/x-alpha: Remove file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36715 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/t-linux')
-rw-r--r-- | gcc/config/t-linux | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/config/t-linux b/gcc/config/t-linux index d67feed83c1..966ae810693 100644 --- a/gcc/config/t-linux +++ b/gcc/config/t-linux @@ -8,6 +8,13 @@ INSTALL_ASSERT_H = CRTSTUFF_T_CFLAGS_S = -fPIC # Compile libgcc2.a with pic. TARGET_LIBGCC2_CFLAGS = -fPIC +# Build a shared libgcc library. +SHLIB_LINK = $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -shared -nodefaultlibs \ + -Wl,--soname=@shlib_base_name@.so.0 +# ??? Do versioning later -- need to figure out how to post-process +# the script and allow for target-specific additions. +# -Wl,--version-script=$(srcdir)/config/ver-glibc.map +SHLIB_LIBS = -lc # Do not build libgcc1. Let gcc generate those functions. The GNU/Linux # C library can handle them. |