mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-24 22:10:13 +00:00
Link a non-libc-using test with -fno-stack-protector [BZ #7065]
This test cannot reference __stack_chk_fail because it is not linked with libc at all.
This commit is contained in:
parent
524a8ef2ad
commit
7cbb738d21
@ -1,3 +1,9 @@
|
||||
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>
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user