diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/config/ChangeLog | 5 | ||||
| -rw-r--r-- | src/config/shlib.conf | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/src/config/ChangeLog b/src/config/ChangeLog index d0796888b..015aad6a4 100644 --- a/src/config/ChangeLog +++ b/src/config/ChangeLog @@ -1,3 +1,8 @@ +2004-05-12 Ken Raeburn <raeburn@mit.edu> + + * shlib.conf (*-*-linux*): Use GNU linker's --retain-symbols-file + option to implement export list. + 2004-05-05 Ken Raeburn <raeburn@mit.edu> * libobj.in (OBJS.ST, OBJS.SH, OBJS.PF): Depend on Makefile. diff --git a/src/config/shlib.conf b/src/config/shlib.conf index a69040270..5d0729281 100644 --- a/src/config/shlib.conf +++ b/src/config/shlib.conf @@ -311,8 +311,8 @@ mips-*-netbsd*) SHLIBEXT=.so # Linux ld doesn't default to stuffing the SONAME field... # Use objdump -x to examine the fields of the library - LDCOMBINE='$(CC) -shared -fPIC -Wl,-h,lib$(LIB)$(SHLIBSEXT)' - # -Wl,--retain-symbols-file,$(SHLIB_EXPORT_FILE) + LDCOMBINE='$(CC) -shared -fPIC -Wl,-h,lib$(LIB)$(SHLIBSEXT) -Wl,--retain-symbols-file,$(SHLIB_EXPORT_FILE)' + # LDCOMBINE_TAIL='' # For cases where we do have dependencies on other libraries # built in this tree... |
