diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | elf/Makefile | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 10d5a37718..918c6f97c6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,10 @@ 2016-12-26 Nick Alcock <nick.alcock@oracle.com> + + [BZ #7065] + * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for + non-libc-linking testcase. + +2016-12-26 Nick Alcock <nick.alcock@oracle.com> Adhemerval Zanella <adhemerval.zanella@linaro.org> Florian Weimer <fweimer@redhat.com> diff --git a/elf/Makefile b/elf/Makefile index 04d5f0721c..8a2ce02cd5 100644 --- a/elf/Makefile +++ b/elf/Makefile @@ -792,6 +792,9 @@ $(objpfx)filtmod1.so: $(objpfx)filtmod1.os $(objpfx)filtmod2.so $< -Wl,-F,$(objpfx)filtmod2.so $(objpfx)filter: $(objpfx)filtmod1.so +# This does not link against libc. +CFLAGS-filtmod1.c = $(no-stack-protector) + $(objpfx)unload: $(libdl) $(objpfx)unload.out: $(objpfx)unloadmod.so |