Will soon be needed when ld is changed to deal with static binaries on
PIE archs.


Index: Makefile
===================================================================
RCS file: /home/pascal/cvs/ports/lang/gcc/4.6/Makefile,v
retrieving revision 1.47
diff -u -p -r1.47 Makefile
--- Makefile    28 Jan 2013 01:03:05 -0000      1.47
+++ Makefile    3 Feb 2013 11:22:24 -0000
@@ -24,14 +24,14 @@ PKGNAME-ada =   gnat-${FULL_PKGVERSION}
 PKGNAME-go =   gccgo-${FULL_PKGVERSION}
 PKGSPEC-main = gcc->=4.6,<4.7
 
-REVISION-main = 13
-REVISION-c++ = 12
+REVISION-main = 14
+REVISION-c++ = 13
 REVISION-estdc = 10
-REVISION-f95 = 12
-REVISION-java = 13
-REVISION-objc = 12
-REVISION-ada = 13
-REVISION-go = 12
+REVISION-f95 = 13
+REVISION-java = 14
+REVISION-objc = 13
+REVISION-ada = 14
+REVISION-go = 13
 
 SHARED_LIBS =  estdc++         14.0 \
                gfortran        3.0 \
Index: patches/patch-gcc_config_pa_openbsd_h
===================================================================
RCS file: 
/home/pascal/cvs/ports/lang/gcc/4.6/patches/patch-gcc_config_pa_openbsd_h,v
retrieving revision 1.1
diff -u -p -r1.1 patch-gcc_config_pa_openbsd_h
--- patches/patch-gcc_config_pa_openbsd_h       16 Jan 2013 19:28:48 -0000      
1.1
+++ patches/patch-gcc_config_pa_openbsd_h       3 Feb 2013 11:18:53 -0000
@@ -1,7 +1,7 @@
 $OpenBSD: patch-gcc_config_pa_openbsd_h,v 1.1 2013/01/16 19:28:48 pascal Exp $
---- gcc/config/pa/openbsd.h.orig       Wed Apr  4 05:01:01 2012
-+++ gcc/config/pa/openbsd.h    Wed Apr  4 08:28:10 2012
-@@ -0,0 +1,186 @@
+--- gcc/config/pa/openbsd.h.orig       Sun Feb  3 12:05:20 2013
++++ gcc/config/pa/openbsd.h    Sun Feb  3 12:18:14 2013
+@@ -0,0 +1,185 @@
 +/* Configuration file for an hppa risc OpenBSD target.
 +
 +   Copyright (C) 1999 Free Software Foundation, Inc.
@@ -151,16 +151,15 @@ $OpenBSD: patch-gcc_config_pa_openbsd_h,
 +#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. */
 +

Reply via email to