aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMatthias Klose <doko@ubuntu.com>2009-12-04 07:47:51 +0000
committerMatthias Klose <doko@gcc.gnu.org>2009-12-04 07:47:51 +0000
commita7004a7e0efc80b227c32c63f1935a8410b0f6ad (patch)
treec09be5eb380aee9f2ff99ffba9c380db83df04c8 /gcc
parent38a15b40eacfa2d814c7ef064eee12a24785626b (diff)
downloadgcc-a7004a7e0efc80b227c32c63f1935a8410b0f6ad.zip
gcc-a7004a7e0efc80b227c32c63f1935a8410b0f6ad.tar.gz
gcc-a7004a7e0efc80b227c32c63f1935a8410b0f6ad.tar.bz2
re PR target/40134 (symbols not resolved when building shared libraries (link with -lgcc_s -lgcc?))
2009-12-04 Matthias Klose <doko@ubuntu.com> John David Anglin <dave.anglin@nrc-cnrc.gc.ca> PR target/40134 * config.gcc (hppa*-*-linux*): Use config/t-slibgcc-libgcc. * config/pa/pa-linux.h (LIB_SPEC): Remove. Co-Authored-By: John David Anglin <dave.anglin@nrc-cnrc.gc.ca> From-SVN: r154973
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config.gcc2
-rw-r--r--gcc/config/pa/pa-linux.h6
3 files changed, 8 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a804a8c..6a59bd5 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2009-12-04 Matthias Klose <doko@ubuntu.com>
+ John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
+
+ PR target/40134
+ * config.gcc (hppa*-*-linux*): Use config/t-slibgcc-libgcc.
+ * config/pa/pa-linux.h (LIB_SPEC): Remove.
+
2009-12-03 Sebastian Pop <sebastian.pop@amd.com>
Richard Henderson <rth@redhat.com>
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 90aa7a7..f7b23aa 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -933,7 +933,7 @@ hppa*-*-linux*)
target_cpu_default="MASK_PA_11|MASK_NO_SPACE_REGS"
tm_file="${tm_file} dbxelf.h elfos.h svr4.h linux.h glibc-stdint.h pa/pa-linux.h \
pa/pa32-regs.h pa/pa32-linux.h"
- tmake_file="${tmake_file} pa/t-linux"
+ tmake_file="${tmake_file} pa/t-linux t-slibgcc-libgcc"
# Set the libgcc version number
if test x$sjlj = x1; then
tmake_file="$tmake_file pa/t-slibgcc-sjlj-ver"
diff --git a/gcc/config/pa/pa-linux.h b/gcc/config/pa/pa-linux.h
index f698f3f..cd46790 100644
--- a/gcc/config/pa/pa-linux.h
+++ b/gcc/config/pa/pa-linux.h
@@ -31,12 +31,6 @@ along with GCC; see the file COPYING3. If not see
#undef CPP_SPEC
#define CPP_SPEC "%{posix:-D_POSIX_SOURCE}"
-#undef LIB_SPEC
-#define LIB_SPEC \
- "%{pthread:-lpthread} \
- %{shared:-lgcc -lc} \
- %{!shared:%{mieee-fp:-lieee} %{shared-libgcc:-lgcc} %{profile:-lc_p}%{!profile:-lc}}"
-
#undef ASM_SPEC
#define ASM_SPEC \
"%{v:-V} %{n} %{T} %{Ym,*} %{Yd,*} %{Wa,*:%*}"