mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-28 21:31:32 +08:00
re PR libffi/40444 (libffi badly broken with -m64 by some revision between 148383 and 148472.)
2009-06-16 Andreas Tobler <a.tobler@schweiz.org> PR libffi/40444 * testsuite/lib/libffi-dg.exp (libffi_target_compile): Add allow_stack_execute for Darwin. From-SVN: r148542
This commit is contained in:
parent
95228603e6
commit
7bbcc28642
libffi
@ -1,3 +1,9 @@
|
||||
2009-06-16 Andreas Tobler <a.tobler@schweiz.org>
|
||||
|
||||
PR libffi/40444
|
||||
* testsuite/lib/libffi-dg.exp (libffi_target_compile): Add
|
||||
allow_stack_execute for Darwin.
|
||||
|
||||
2009-06-16 Andrew Haley <aph@redhat.com>
|
||||
|
||||
* configure.ac (TARGETDIR): Add missing blank lines.
|
||||
|
@ -187,6 +187,13 @@ proc libffi_target_compile { source dest type options } {
|
||||
lappend options "additional_flags=-I${libffi_include} -I${srcdir}/../include -I${libffi_include}/.."
|
||||
lappend options "additional_flags=${libffi_link_flags}"
|
||||
|
||||
# Darwin needs a stack execution allowed flag.
|
||||
|
||||
if { [istarget "*-*-darwin9*"] || [istarget "*-*-darwin1*"]
|
||||
|| [istarget "*-*-darwin2*"] } {
|
||||
lappend options "additional_flags=-Wl,-allow_stack_execute"
|
||||
}
|
||||
|
||||
# If you're building the compiler with --prefix set to a place
|
||||
# where it's not yet installed, then the linker won't be able to
|
||||
# find the libgcc used by libffi.dylib. We could pass the
|
||||
|
Loading…
x
Reference in New Issue
Block a user