glibc/sysdeps/unix/sysv/linux/ia64/Makefile
Florian Weimer 198abcbb94 Default to --with-default-link=no (bug 25812)
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.
2022-04-22 10:59:03 +02:00

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