From: Jack Howarth Date: Sat, 18 Jun 2011 15:06:26 +0000 (+0000) Subject: re PR target/49461 (boehm-gc and gcj incompatible with pie) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ffe5104599c7a16adff14cf4c8f7238cd1799da0;p=gcc.git re PR target/49461 (boehm-gc and gcj incompatible with pie) PR target/49461 * libjava/configure.ac (SYSTEMSPEC): Pass -no_pie for darwin11. * libjava/configure: Regenerate. From-SVN: r175182 --- diff --git a/libjava/ChangeLog b/libjava/ChangeLog index b253d02a169..c800bf3aac0 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,9 @@ +2011-06-17 Jack Howarth + + PR target/49461 + * libjava/configure.ac (SYSTEMSPEC): Pass -no_pie for darwin11. + * libjava/configure: Regenerate. + 2011-06-17 Rainer Orth PR libgcj/49315 diff --git a/libjava/configure b/libjava/configure index 01e5bf0dfc7..4c3ab55746b 100755 --- a/libjava/configure +++ b/libjava/configure @@ -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= ;; diff --git a/libjava/configure.ac b/libjava/configure.ac index 0e127fc818b..5f673ea7cfd 100644 --- a/libjava/configure.ac +++ b/libjava/configure.ac @@ -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= ;;