]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR target/49461 (boehm-gc and gcj incompatible with pie)
authorJack Howarth <howarth@bromo.med.uc.edu>
Thu, 30 Jun 2011 16:14:30 +0000 (16:14 +0000)
committerMike Stump <mrs@gcc.gnu.org>
Thu, 30 Jun 2011 16:14:30 +0000 (16:14 +0000)
2011-06-30  Jack Howarth <howarth@bromo.med.uc.edu>

    PR target/49461
    * libjava/configure.ac (SYSTEMSPEC): Pass -no_pie for darwin11.
    * libjava/configure: Regenerate.

From-SVN: r175710

libjava/ChangeLog
libjava/configure
libjava/configure.ac

index aa86795f35a845857e3e7f805a37ca1a044fcd09..eb8c977fe7d2a33240b5c7188e347c94c59c479d 100644 (file)
@@ -1,3 +1,9 @@
+2011-06-30  Jack Howarth <howarth@bromo.med.uc.edu>
+
+       PR target/49461
+       * libjava/configure.ac (SYSTEMSPEC): Pass -no_pie for darwin11.
+       * libjava/configure: Regenerate.
+
 2011-04-28  Release Manager
 
        * GCC 4.5.3 released.
index 54541109a12077b71ea15ab8ddb5df08bb8b4028..29f92526a389eca79fb9c20d667339d79f32af9a 100755 (executable)
@@ -19754,8 +19754,13 @@ case "${host}" in
         SYSTEMSPEC="-lunicows $SYSTEMSPEC"
       fi
     ;;
-    *-*-darwin[912]*)
-      SYSTEMSPEC="-allow_stack_execute"
+    *-*-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 9b551db972445c03344a58f5eb68b5c991f33dce..902467a2523890dd929c5a732916bc4c777ce871 100644 (file)
@@ -882,8 +882,13 @@ case "${host}" in
         SYSTEMSPEC="-lunicows $SYSTEMSPEC"
       fi
     ;;
-    *-*-darwin[[912]]*)
-      SYSTEMSPEC="-allow_stack_execute"
+    *-*-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=