summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2013-02-03 20:47:58 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2013-02-03 20:47:58 +0000
commitc068c6e6ad0e5e1af7a6eadc85ccd05c0e38f309 (patch)
tree383e14361bde7d4c9ea8b2eebd94ca47093003ae /gnu
parentc590142e8025f8dd0ba3bdc225bdad24e8618745 (diff)
Sanitize LINK_SPEC for hppa64, making it identical to what we have on amd64
and i386. pointed out by miod@
Diffstat (limited to 'gnu')
-rw-r--r--gnu/gcc/gcc/config/pa/openbsd64.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/gnu/gcc/gcc/config/pa/openbsd64.h b/gnu/gcc/gcc/config/pa/openbsd64.h
index df8c6e9dcfc..473eb0c0e83 100644
--- a/gnu/gcc/gcc/config/pa/openbsd64.h
+++ b/gnu/gcc/gcc/config/pa/openbsd64.h
@@ -141,16 +141,15 @@ Boston, MA 02111-1307, USA. */
} \
while (0)
-/* XXX Why doesn't PA support -R like everyone ??? */
#undef LINK_SPEC
#define LINK_SPEC \
- "%{EB} %{EL} %{shared} %{non_shared} \
- %{call_shared} %{no_archive} %{exact_version} \
- %{!shared: %{!non_shared: %{!call_shared: -non_shared}}} \
- %{!dynamic-linker:-dynamic-linker /usr/libexec/ld.so} \
- %{!nostdlib:%{!r*:%{!e*:-e __start}}} -dc -dp \
- %{static:-Bstatic} %{!static:-Bdynamic} %{rdynamic:-export-dynamic} \
- %{assert*}"
+ "%{!shared:%{!nostdlib:%{!r*:%{!e*:-e __start}}}} \
+ %{shared:-shared} %{R*} \
+ %{static:-Bstatic} \
+ %{!static:-Bdynamic} \
+ %{rdynamic:-export-dynamic} \
+ %{assert*} \
+ %{!dynamic-linker:-dynamic-linker /usr/libexec/ld.so}"
/* Layout of source language data types. */