This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: Add -fno-asynchronous-unwind-tables to initfini.s for i386


Hi,

Gcc 4.6 will default to

-fomit-frame-pointer -fasynchronous-unwind-tables

on i386.  We need to have

CFLAGS-pt-initfini.s += -fno-asynchronous-unwind-tables

similar to x86-64.  Tested with adding

-fomit-frame-pointer -fasynchronous-unwind-tables

to glibc build.


H.J.
---
glibc/

2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>

	* sysdeps/i386/elf/Makefile: New.

glibc/nptl/

2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>

	* nptl/sysdeps/unix/sysv/linux/i386/Makefile: New.

--- /dev/null	2010-08-11 15:57:03.635230126 -0700
+++ glibc/sysdeps/i386/elf/Makefile	2010-07-15 11:14:39.274413884 -0700
@@ -0,0 +1,4 @@
+ifeq ($(subdir),csu)
+# Turn off -fasynchronous-unwind-tables
+CFLAGS-initfini.s += -fno-asynchronous-unwind-tables
+endif
--- /dev/null	2010-08-11 15:57:03.635230126 -0700
+++ glibc/nptl/sysdeps/unix/sysv/linux/i386/Makefile	2010-07-15 11:15:03.393532081 -0700
@@ -0,0 +1,3 @@
+ifeq ($(subdir),nptl)
+CFLAGS-pt-initfini.s += -fno-asynchronous-unwind-tables
+endif


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]