summaryrefslogtreecommitdiff
path: root/lang/gcc
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2002-08-13 01:58:57 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2002-08-13 01:58:57 +0000
commit64dcebac20537588e31db84c9dbe8689fa353a56 (patch)
treec224e9dca32b34a39c91f57741c747fe87a655b2 /lang/gcc
parent9629b6e9420e667e12b341773b5a73ed4a6aec28 (diff)
downloadpkgsrc-64dcebac20537588e31db84c9dbe8689fa353a56.tar.gz
add patch which got left out of previous commit (why??? I _know_ it was listed
in the Modified Files: section).
Diffstat (limited to 'lang/gcc')
-rw-r--r--lang/gcc/patches/patch-aa21
1 files changed, 21 insertions, 0 deletions
diff --git a/lang/gcc/patches/patch-aa b/lang/gcc/patches/patch-aa
new file mode 100644
index 00000000000..291582b820c
--- /dev/null
+++ b/lang/gcc/patches/patch-aa
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.5 2002/08/13 01:58:57 dmcmahill Exp $
+
+from revision 1.5 of patch-ae:
+
+Hand edit the alpha/netbsd.h patch. -current gcc relies on a new linker script
+which only differs in setting the entry point. Let this use the default
+linker script for alpha but force the entry point so this will work on older
+NetBSD installs for alpha.
+
+--- ../gcc-2.95.3/gcc/config/alpha/netbsd.h.orig Sun Aug 11 19:38:42 2002
++++ ../gcc-2.95.3/gcc/config/alpha/netbsd.h
+@@ -59,7 +59,8 @@ Boston, MA 02111-1307, USA. */
+
+ #undef LINK_SPEC
+ #define LINK_SPEC \
+- "-m elf64alpha_nbsd \
++ "-m elf64alpha \
++ -e __start \
+ %{O*:-O3} %{!O*:-O1} \
+ %{assert*} %{R*} \
+ %{shared:-shared} \