diff options
author | Brooks Moses <bmoses@google.com> | 2014-05-08 15:32:21 -0700 |
---|---|---|
committer | Brooks Moses <bmoses@google.com> | 2014-05-08 15:32:21 -0700 |
commit | ecce267984d39cc5c54e777133f21eaaafc29a9b (patch) | |
tree | cd84bb38a6360e6d1987135456485a1b4442720e | |
parent | e5e5c541b57a1d3d9252d9afc3d80e7e430ceb18 (diff) | |
download | glibc-ecce267984d39cc5c54e777133f21eaaafc29a9b.zip glibc-ecce267984d39cc5c54e777133f21eaaafc29a9b.tar.gz glibc-ecce267984d39cc5c54e777133f21eaaafc29a9b.tar.bz2 |
For b/14616463, add -fno-function-sections to nptl/events.c compilation.
-rw-r--r-- | README.google | 4 | ||||
-rw-r--r-- | nptl/Makefile | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/README.google b/README.google index 73fb156..75c8908 100644 --- a/README.google +++ b/README.google @@ -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) diff --git a/nptl/Makefile b/nptl/Makefile index 0a1fa5c..4c9015a 100644 --- a/nptl/Makefile +++ b/nptl/Makefile @@ -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. |