re PR target/49461 (boehm-gc and gcj incompatible with pie)
authorJack Howarth <howarth@bromo.med.uc.edu>
Sat, 18 Jun 2011 15:06:26 +0000 (15:06 +0000)
committerMike Stump <mrs@gcc.gnu.org>
Sat, 18 Jun 2011 15:06:26 +0000 (15:06 +0000)
PR target/49461
* libjava/configure.ac (SYSTEMSPEC): Pass -no_pie for darwin11.
* libjava/configure: Regenerate.

From-SVN: r175182

libjava/ChangeLog
libjava/configure
libjava/configure.ac

index b253d02a169c0f7ce347317676eac654aa58b2bc..c800bf3aac04fa02531432d6d290449ff8f58d1e 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 01e5bf0dfc78b5e7d65c3350081c3de4f0a90e1f..4c3ab55746b59717c1eab0c75454c196c6c2d361 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 0e127fc818bfdb496d5b16af8619947f895d35f8..5f673ea7cfdc332684eb7a29b4140a68280fa39e 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=
     ;;