2009-02-20 08:46:43 +01:00
|
|
|
initfini.c is compiled to assembly and further processed and split,
|
|
|
|
we can't have unwind tables therein.
|
|
|
|
|
2012-04-13 11:37:44 +02:00
|
|
|
Index: glibc-2.15/csu/Makefile
|
2009-02-20 08:46:43 +01:00
|
|
|
===================================================================
|
2012-04-13 11:37:44 +02:00
|
|
|
--- glibc-2.15.orig/csu/Makefile
|
|
|
|
+++ glibc-2.15/csu/Makefile
|
2009-02-20 08:46:43 +01:00
|
|
|
@@ -93,7 +93,7 @@ omit-deps += $(crtstuff)
|
|
|
|
$(crtstuff:%=$(objpfx)%.o): %.o: %.S $(objpfx)defs.h
|
|
|
|
$(compile.S) -g0 $(ASFLAGS-.os) -o $@
|
|
|
|
|
|
|
|
-CFLAGS-initfini.s = -g0 -fPIC -fno-inline-functions $(fno-unit-at-a-time)
|
|
|
|
+CFLAGS-initfini.s = -g0 -fPIC -fno-inline-functions $(fno-unit-at-a-time) -fno-unwind-tables -fno-asynchronous-unwind-tables
|
|
|
|
|
|
|
|
vpath initfini.c $(sysdirs)
|
|
|
|
|
2012-04-13 11:37:44 +02:00
|
|
|
Index: glibc-2.15/nptl/Makefile
|
2009-02-20 08:46:43 +01:00
|
|
|
===================================================================
|
2012-04-13 11:37:44 +02:00
|
|
|
--- glibc-2.15.orig/nptl/Makefile
|
|
|
|
+++ glibc-2.15/nptl/Makefile
|
|
|
|
@@ -342,7 +342,7 @@ endif
|
2009-02-20 08:46:43 +01:00
|
|
|
extra-objs += $(crti-objs) $(crtn-objs)
|
|
|
|
omit-deps += crti crtn
|
|
|
|
|
|
|
|
-CFLAGS-pt-initfini.s = -g0 -fPIC -fno-inline-functions $(fno-unit-at-a-time)
|
|
|
|
+CFLAGS-pt-initfini.s = -g0 -fPIC -fno-inline-functions $(fno-unit-at-a-time) -fno-unwind-tables -fno-asynchronous-unwind-tables
|
|
|
|
endif
|
|
|
|
|
|
|
|
CFLAGS-flockfile.c = -D_IO_MTSAFE_IO
|
2012-04-13 11:37:44 +02:00
|
|
|
Index: glibc-2.15/nptl/sysdeps/unix/sysv/linux/x86_64/Makefile
|
2009-02-20 08:46:43 +01:00
|
|
|
===================================================================
|
2012-04-13 11:37:44 +02:00
|
|
|
--- glibc-2.15.orig/nptl/sysdeps/unix/sysv/linux/x86_64/Makefile
|
|
|
|
+++ glibc-2.15/nptl/sysdeps/unix/sysv/linux/x86_64/Makefile
|
2009-02-20 08:46:43 +01:00
|
|
|
@@ -1,4 +1,4 @@
|
|
|
|
ifeq ($(subdir),nptl)
|
|
|
|
CFLAGS-pt-initfini.s = -g0 -fPIC -fno-inline-functions \
|
|
|
|
- -fno-asynchronous-unwind-tables $(fno-unit-at-a-time)
|
|
|
|
+ -fno-unwind-tables -fno-asynchronous-unwind-tables $(fno-unit-at-a-time)
|
|
|
|
endif
|