diff options
author | 2013-02-03 20:47:02 +0000 | |
---|---|---|
committer | 2013-02-03 20:47:02 +0000 | |
commit | 8c336bfed05f9ddaacb3785e764179b17126bdaf (patch) | |
tree | 97cd370b7d7f5222ea06562a6c77ac5086a4af91 | |
parent | *an* mfs; (diff) | |
download | wireguard-openbsd-8c336bfed05f9ddaacb3785e764179b17126bdaf.tar.xz wireguard-openbsd-8c336bfed05f9ddaacb3785e764179b17126bdaf.zip |
Sanitize LINK_SPEC for hppa, making it identical to what we have on amd64 and
i386.
ok pascal@, miod@
-rw-r--r-- | gnu/gcc/gcc/config/pa/openbsd.h | 15 |
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. */ |