diff options
author | 2004-02-09 02:38:27 +0000 | |
---|---|---|
committer | 2004-02-09 02:38:27 +0000 | |
commit | 9eefc59c104e28019b6f7bcf9ac29b053d654d12 (patch) | |
tree | dcb62116c2ee26cd5143b2649c8f36124df9de55 | |
parent | Add shared libraries for cats, some minor cleanup. (diff) | |
download | wireguard-openbsd-9eefc59c104e28019b6f7bcf9ac29b053d654d12.tar.xz wireguard-openbsd-9eefc59c104e28019b6f7bcf9ac29b053d654d12.zip |
Corrected lib_specs for OPENBSD/arm shared libraries. copied from alpha.
-rw-r--r-- | gnu/usr.bin/gcc/gcc/config/arm/openbsd.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gnu/usr.bin/gcc/gcc/config/arm/openbsd.h b/gnu/usr.bin/gcc/gcc/config/arm/openbsd.h index 7091fd0d8f3..524f864a98e 100644 --- a/gnu/usr.bin/gcc/gcc/config/arm/openbsd.h +++ b/gnu/usr.bin/gcc/gcc/config/arm/openbsd.h @@ -80,10 +80,15 @@ Boston, MA 02111-1307, USA. */ #undef OBSD_LINK_SPEC #ifdef OBSD_NO_DYNAMIC_LIBRARIES #define OBSD_LINK_SPEC \ - "%{g:%{!nostdlib:-L/usr/lib/debug}} %{!nostdlib:%{!r*:%{!e*:-e %(openbsd_entry_point)}}} -dc -dp %{assert*}" + "%{!nostdlib:%{!r*:%{!e*:-e __start}}} %{assert*}" #else #define OBSD_LINK_SPEC \ - "%{g:%{!nostdlib:-L/usr/lib/debug}} %{!shared:%{!nostdlib:%{!r*:%{!e*:-e %(openbsd_entry_point)}}}} %{shared:-Bshareable -x} -dc -dp %{R*} %{static:-Bstatic} %{assert*}" + "%{!shared:%{!nostdlib:%{!r*:%{!e*:-e __start}}}} \ + %{shared:-shared} %{R*} \ + %{static:-Bstatic} \ + %{!static:-Bdynamic} \ + %{assert*} \ + %{!dynamic-linker:-dynamic-linker /usr/libexec/ld.so}" #endif #undef SUBTARGET_EXTRA_ASM_SPEC |