diff options
author | Olivier Hainque <hainque@adacore.com> | 2009-07-07 06:53:56 +0000 |
---|---|---|
committer | Olivier Hainque <hainque@gcc.gnu.org> | 2009-07-07 06:53:56 +0000 |
commit | f062f8f2307ae66bdeb176260841bd09a8765beb (patch) | |
tree | b0149e96550102767cd0d9ef4a1ff76a42e01466 | |
parent | cac1b0eef1062e72e54e365f8a04ceaa872f98ec (diff) | |
download | gcc-f062f8f2307ae66bdeb176260841bd09a8765beb.zip gcc-f062f8f2307ae66bdeb176260841bd09a8765beb.tar.gz gcc-f062f8f2307ae66bdeb176260841bd09a8765beb.tar.bz2 |
t-osf4 (SHLIB_LINK): Do not hide the dummy weak pthread symbols.
* config/alpha/t-osf4 (SHLIB_LINK): Do not hide the dummy weak
pthread symbols.
From-SVN: r149314
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/alpha/t-osf4 | 6 |
2 files changed, 7 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ea408e1..46d5145 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2009-07-07 Olivier Hainque <hainque@adacore.com> + + * config/alpha/t-osf4 (SHLIB_LINK): Do not hide the dummy weak + pthread symbols. + 2009-07-07 Basile Starynkevitch <basile@starynkevitch.net> * Makefile.in: added more lists of includes to PLUGIN_HEADERS. diff --git a/gcc/config/alpha/t-osf4 b/gcc/config/alpha/t-osf4 index 362c8dd..eabf272 100644 --- a/gcc/config/alpha/t-osf4 +++ b/gcc/config/alpha/t-osf4 @@ -28,11 +28,9 @@ SHLIB_NAME = @shlib_base_name@.so SHLIB_SONAME = @shlib_base_name@.so.1 SHLIB_OBJS = @shlib_objs@ -# Hide all POSIX threads related symbols provided by gthr-posix.c. This -# only has an effect if t-osf-pthread is in use. +# Beware *not* to hide the POSIX threads related symbols provided by +# gthr-posix.c, as this would prevent their preemption by real symbols. SHLIB_LINK = $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -shared -nodefaultlibs \ - -Wl,-hidden_symbol,pthread\* -Wl,-hidden_symbol,__pthread\* \ - -Wl,-hidden_symbol,sched_get_\* -Wl,-hidden_symbol,sched_yield \ -Wl,-msym -Wl,-set_version,gcc.1 -Wl,-soname,$(SHLIB_SONAME) \ -o $(SHLIB_NAME).tmp @multilib_flags@ $(SHLIB_OBJS) -lc && \ rm -f $(SHLIB_SONAME) && \ |