* PATCH COMMITTED: Try again to get libgcc -fsplit-stack in sync
@ 2010-09-29 15:24 Ian Lance Taylor
0 siblings, 0 replies; only message in thread
From: Ian Lance Taylor @ 2010-09-29 15:24 UTC (permalink / raw)
To: gcc-patches
[-- Attachment #1: Type: text/plain, Size: 456 bytes --]
This is another attempt to get the libgcc build in sync with gcc with
respect to -fsplit-stack. This changes the test in the libgcc configure
script to match the test done in ix86_supports_split_stack.
Bootstrapped on x86_64-unknown-linux-gnu. Committed to mainline.
Ian
2010-09-28 Ian Lance Taylor <iant@google.com>
* configure.ac: Adjust CFI test to test assembler directly rather
than checking gcc preprocessor macro.
* configure: Rebuild.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: libgcc --]
[-- Type: text/x-diff, Size: 661 bytes --]
Index: configure.ac
===================================================================
--- configure.ac (revision 164696)
+++ configure.ac (working copy)
@@ -137,9 +137,14 @@ AC_SUBST(fixed_point)
# Check for assembler CFI support.
AC_CACHE_CHECK([whether assembler supports CFI directives], [libgcc_cv_cfi],
- [AC_COMPILE_IFELSE([int i = __GCC_HAVE_DWARF2_CFI_ASM;],
- [libgcc_cv_cfi=yes],
- [libgcc_cv_cfi=no])])
+ [AC_COMPILE_IFELSE(
+[asm("\n\
+ .text\n\
+ .cfi_startproc\n\
+ .cfi_personality 0, symbol\n\
+ .cfi_endproc");],
+ [libgcc_cv_cfi=yes],
+ [libgcc_cv_cfi=no])])
# Check 32bit or 64bit for x86.
case ${host} in
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-09-29 0:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-29 15:24 PATCH COMMITTED: Try again to get libgcc -fsplit-stack in sync Ian Lance Taylor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).