mirror of
https://sourceware.org/git/glibc.git
synced 2025-09-11 12:10:50 +03:00
This is necessary to place the libio vtables into the RELRO segment.
New tests elf/tst-relro-ldso and elf/tst-relro-libc are added to
verify that this is what actually happens.
The new tests fail on ia64 due to lack of (default) RELRO support
inbutils, so they are XFAILed there.
(cherry picked from commit 198abcbb94
)
35 lines
715 B
Makefile
35 lines
715 B
Makefile
ifeq ($(subdir),elf)
|
|
# ia64 does not support PT_GNU_RELRO.
|
|
test-xfail-tst-relro-ldso = yes
|
|
test-xfail-tst-relro-libc = yes
|
|
endif
|
|
|
|
ifeq ($(subdir),misc)
|
|
sysdep_headers += sys/rse.h
|
|
endif
|
|
|
|
ifeq ($(subdir),stdlib)
|
|
sysdep_routines += __start_context
|
|
gen-as-const-headers += sigcontext-offsets.sym
|
|
endif
|
|
|
|
ifeq ($(subdir),misc)
|
|
sysdep_headers += sys/io.h
|
|
sysdep_routines += ioperm clone2
|
|
gen-as-const-headers += sigaltstack-offsets.sym
|
|
endif
|
|
|
|
ifeq ($(subdir),rt)
|
|
librt-routines += rt-sysdep
|
|
librt-shared-only-routines += rt-sysdep
|
|
endif
|
|
|
|
ifeq ($(subdir),nptl)
|
|
sysdep_routines += __ia64_longjmp unwind_longjmp __sigstack_longjmp
|
|
endif
|
|
|
|
ifeq ($(subdir),conform)
|
|
# For bug 21634.
|
|
conformtest-xfail-conds += ia64-linux
|
|
endif
|