OSDN Git Service

PR target/49461
authormrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 18 Jun 2011 15:06:26 +0000 (15:06 +0000)
committermrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 18 Jun 2011 15:06:26 +0000 (15:06 +0000)
* libjava/configure.ac (SYSTEMSPEC): Pass -no_pie for darwin11.
* libjava/configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175182 138bc75d-0d04-0410-961f-82ee72b054a4

libjava/ChangeLog
libjava/configure
libjava/configure.ac

index b253d02..c800bf3 100644 (file)
@@ -1,3 +1,9 @@
+2011-06-17  Jack Howarth <howarth@bromo.med.uc.edu>
+
+       PR target/49461
+       * libjava/configure.ac (SYSTEMSPEC): Pass -no_pie for darwin11.
+       * libjava/configure: Regenerate.
+
 2011-06-17  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
 
        PR libgcj/49315
index 01e5bf0..4c3ab55 100755 (executable)
@@ -19788,9 +19788,14 @@ case "${host}" in
         SYSTEMSPEC="-lunicows $SYSTEMSPEC"
       fi
     ;;
-    *-*-darwin[912]*)
+    *-*-darwin9*)
       SYSTEMSPEC="%{!Zdynamiclib:%{!Zbundle:-allow_stack_execute}}"
     ;;
+    *-*-darwin[12]*)
+      # Something is incompatible with pie, would be nice to fix it and
+      # remove -no_pie.  PR49461
+      SYSTEMSPEC="-no_pie %{!Zdynamiclib:%{!Zbundle:-allow_stack_execute}}"
+    ;;
     *)
       SYSTEMSPEC=
     ;;
index 0e127fc..5f673ea 100644 (file)
@@ -898,9 +898,14 @@ case "${host}" in
         SYSTEMSPEC="-lunicows $SYSTEMSPEC"
       fi
     ;;
-    *-*-darwin[[912]]*)
+    *-*-darwin9*)
       SYSTEMSPEC="%{!Zdynamiclib:%{!Zbundle:-allow_stack_execute}}"
     ;;
+    *-*-darwin[[12]]*)
+      # Something is incompatible with pie, would be nice to fix it and
+      # remove -no_pie.  PR49461
+      SYSTEMSPEC="-no_pie %{!Zdynamiclib:%{!Zbundle:-allow_stack_execute}}"
+    ;;
     *)
       SYSTEMSPEC=
     ;;