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
This commit is contained in:
Jack Howarth 2011-06-18 15:06:26 +00:00 committed by Mike Stump
parent 0c58726088
commit ffe5104599
3 changed files with 18 additions and 2 deletions

View 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

7
libjava/configure vendored
View File

@ -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=
;;

View 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=
;;