From c7921ee97efc523ed04af98623b34be92cc12b4b Mon Sep 17 00:00:00 2001 From: zack Date: Wed, 17 Nov 2004 05:39:02 +0000 Subject: * 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 --- gcc/config/sh/t-linux | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'gcc/config/sh/t-linux') 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 -- cgit v1.2.1