Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gcc/dist/gcc when linking with "-shared" and "...
details: https://anonhg.NetBSD.org/src/rev/5a3a29de8bb6
branches: trunk
changeset: 770443:5a3a29de8bb6
user: chs <chs%NetBSD.org@localhost>
date: Mon Oct 17 14:27:10 2011 +0000
description:
when linking with "-shared" and "-shared-libgcc", also link against
the static libgcc.a after the shared libgcc_s.so. this is needed
on hppa and sh to get the millicode, which is not in the shared version.
diffstat:
external/gpl3/gcc/dist/gcc/gcc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 9ab102b4b2ba -r 5a3a29de8bb6 external/gpl3/gcc/dist/gcc/gcc.c
--- a/external/gpl3/gcc/dist/gcc/gcc.c Mon Oct 17 14:20:54 2011 +0000
+++ b/external/gpl3/gcc/dist/gcc/gcc.c Mon Oct 17 14:27:10 2011 +0000
@@ -1760,7 +1760,7 @@
static_name, " --as-needed ", shared_name, " --no-as-needed"
"}"
"%{shared-libgcc:",
- shared_name, "%{!shared: ", static_name, "}"
+ "--as-needed ", shared_name, " --no-as-needed ", static_name,
"}"
#else
"%{!shared:"
Home |
Main Index |
Thread Index |
Old Index