]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
For b/14616463, add -fno-function-sections to nptl/events.c compilation.
authorBrooks Moses <bmoses@google.com>
Thu, 8 May 2014 22:32:21 +0000 (15:32 -0700)
committerBrooks Moses <bmoses@google.com>
Thu, 8 May 2014 22:32:21 +0000 (15:32 -0700)
README.google
nptl/Makefile

index 73fb156672e679b97257656e5a951f69ab29e1d3..75c89087fb12b206b46363e6e5fde9b4edff1264 100644 (file)
@@ -304,3 +304,7 @@ sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S
 sysdeps/unix/sysv/linux/sys/ptrace.h
   For b/13432624, add PTRACE_EVENT_STOP to __ptrace_eventcodes enum.
   (bmoses, not yet upstream)
+
+nptl/Makefile
+  For b/14616463, add -fno-function-sections to events.c compilation.
+  (bmoses, google-local)
index 0a1fa5c7c480b15e0e6926d9c1409c1ed0fa7158..4c9015ab70485a7971b4e6ed61c9f58e9d509e95 100644 (file)
@@ -137,6 +137,10 @@ libpthread-static-only-routines = pthread_atfork
 
 CFLAGS-pthread_atfork.c = -DNOT_IN_libc
 
+# Google-local (b/14616463): Turn off function sections in events.c to
+# avoid folding that causes a bad debugging experience.
+CFLAGS-events.c = -fno-function-sections
+
 # Since cancellation handling is in large parts handled using exceptions
 # we have to compile some files with exception handling enabled, some
 # even with asynchronous unwind tables.