summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/gcc/gcc/config/pa/openbsd.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/gnu/gcc/gcc/config/pa/openbsd.h b/gnu/gcc/gcc/config/pa/openbsd.h
index a445b3a101c..834464ed8ae 100644
--- a/gnu/gcc/gcc/config/pa/openbsd.h
+++ b/gnu/gcc/gcc/config/pa/openbsd.h
@@ -153,16 +153,15 @@ Boston, MA 02111-1307, USA. */
#undef TARGET_SCHED_DEFAULT
#define TARGET_SCHED_DEFAULT PROCESSOR_700
-/* 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. */