summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordrahn <drahn@openbsd.org>2006-11-03 04:39:23 +0000
committerdrahn <drahn@openbsd.org>2006-11-03 04:39:23 +0000
commitec9520b8892179aa06562bf9b73ff39fbbca23ab (patch)
treed9fc31eef8c82579b85eb1138e4e2e89039cfccf
parentmust steal pages from the end of the physseg (diff)
downloadwireguard-openbsd-ec9520b8892179aa06562bf9b73ff39fbbca23ab.tar.xz
wireguard-openbsd-ec9520b8892179aa06562bf9b73ff39fbbca23ab.zip
Use __start (the symbol we provide) not start. ok miod@
-rw-r--r--gnu/usr.bin/gcc/gcc/config/sh/openbsd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/gcc/gcc/config/sh/openbsd.h b/gnu/usr.bin/gcc/gcc/config/sh/openbsd.h
index 5574e917d1d..e4f98463dbd 100644
--- a/gnu/usr.bin/gcc/gcc/config/sh/openbsd.h
+++ b/gnu/usr.bin/gcc/gcc/config/sh/openbsd.h
@@ -57,10 +57,10 @@ Boston, MA 02111-1307, USA. */
#undef SUBTARGET_LINK_SPEC
#ifdef OBSD_NO_DYNAMIC_LIBRARIES
#define SUBTARGET_LINK_SPEC \
- "%{g:%{!nostdlib:-L/usr/lib/debug}} %{!nostdlib:%{!r*:%{!e*:-e start}}} -dc -dp %{assert*}"
+ "%{g:%{!nostdlib:-L/usr/lib/debug}} %{!nostdlib:%{!r*:%{!e*:-e __start}}} -dc -dp %{assert*}"
#else
#define SUBTARGET_LINK_SPEC \
- "%{g:%{!nostdlib:-L/usr/lib/debug}} %{!shared:%{!nostdlib:%{!r*:%{!e*:-e start}}}} %{shared:-Bshareable -x} -dc -dp %{R*} %{static:-Bstatic} %{assert*}"
+ "%{g:%{!nostdlib:-L/usr/lib/debug}} %{!shared:%{!nostdlib:%{!r*:%{!e*:-e __start}}}} %{shared:-Bshareable -x} -dc -dp %{R*} %{static:-Bstatic} %{assert*}"
#endif