summaryrefslogtreecommitdiff
path: root/gcc/config/sh/t-linux
diff options
context:
space:
mode:
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-17 05:39:02 +0000
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-17 05:39:02 +0000
commitc7921ee97efc523ed04af98623b34be92cc12b4b (patch)
treef47c4639b62229f963495d861463f9b3de09e56a /gcc/config/sh/t-linux
parentcef6e5eaf72d99fd2f35d5bf8595b349c3ac6f59 (diff)
downloadgcc-c7921ee97efc523ed04af98623b34be92cc12b4b.tar.gz
* mkmap-flat.awk, mkmap-symver.awk: If the last version
assigned to a symbol was '%exclude', do not emit it anywhere. If leading_underscore is true, prefix all symbols from the version scripts with a leading underscore before comparing them with nm output or emitting them. Remove support for dot symbols. * config/t-slibgcc-darwin (SHLIB_LINK): Use mkmap-flat.awk. (SHLIB_MAPFILES): Use libgcc-std.ver. (SHLIB_MKMAP_OPTS): Enable leading-underscore mode. (SHLIB_LINK): Add -Wl,-exported_symbols_list,$(SHLIB_MAP). * config/sh/t-linux: Use the normal libgcc-std.ver, plus libgcc-excl.ver and libgcc-glibc.ver. * config/sh/libgcc-excl.ver: New file. * config/sh/libgcc-std.ver, libgcc-darwin.ver: Delete. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90792 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/sh/t-linux')
-rw-r--r--gcc/config/sh/t-linux10
1 files changed, 6 insertions, 4 deletions
diff --git a/gcc/config/sh/t-linux b/gcc/config/sh/t-linux
index 3b917d19326..d716c1be080 100644
--- a/gcc/config/sh/t-linux
+++ b/gcc/config/sh/t-linux
@@ -10,10 +10,12 @@ MULTILIB_EXCEPTIONS=
EXTRA_MULTILIB_PARTS= crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o
# Override t-slibgcc-elf-ver to export some libgcc symbols with
-# the symbol versions that glibc used. Also use an sh specific
-# libgcc-std.ver to avoid to export some lib1func routines which
-# should not be called via PLT.
-SHLIB_MAPFILES = $(srcdir)/config/sh/libgcc-std.ver \
+# the symbol versions that glibc used, and hide some lib1func
+# routines which should not be called via PLT. We have to create
+# the list from scratch.
+SHLIB_MAPFILES = \
+ $(srcdir)/libgcc-std.ver \
+ $(srcdir)/config/sh/libgcc-excl.ver \
$(srcdir)/config/sh/libgcc-glibc.ver
# Override SHLIB_LINK and SHLIB_INSTALL to use linker script