glibc/sysdeps
Fangrui Song 224edada60 configure: Allow LD to be LLD 13.0.0 or above [BZ #26558]
When using LLD (LLVM linker) as the linker, configure prints a confusing
message.

    *** These critical programs are missing or too old: GNU ld

LLD>=13.0.0 can build glibc --enable-static-pie. (8.0.0 needs one
workaround for -Wl,-defsym=_begin=0. 9.0.0 works with
--disable-static-pie).

XFAIL two tests sysdeps/x86/tst-ifunc-isa-* which have the BZ #28154
issue (LLD follows the PowerPC port of GNU ld for ifunc by placing
IRELATIVE relocations in .rela.dyn, triggering a glibc ifunc fragility).

The set of dynamic symbols is the same with GNU ld and LLD,
modulo unused SHN_ABS version node symbols.

For comparison, gold does not support --enable-static-pie
yet (--no-dynamic-linker is unsupported BZ #22221), yet
has 6 failures more than LLD. gold linked libc.so has
larger .dynsym differences with GNU ld and LLD
(non-default version symbols are changed to default versions
by a version script BZ #28196).
2021-08-31 20:23:34 -07:00
..
aarch64 Remove sysdeps/*/tls-macros.h 2021-08-18 09:15:20 -07:00
alpha Remove sysdeps/*/tls-macros.h 2021-08-18 09:15:20 -07:00
arc Remove sysdeps/*/tls-macros.h 2021-08-18 09:15:20 -07:00
arm arm: Simplify elf_machine_{load_address,dynamic} 2021-08-18 11:13:03 -07:00
csky Remove sysdeps/*/tls-macros.h 2021-08-18 09:15:20 -07:00
generic Remove sysdeps/*/tls-macros.h 2021-08-18 09:15:20 -07:00
gnu hurd: Fix glob lstat compatibility 2021-07-22 20:31:52 +02:00
hppa Remove sysdeps/*/tls-macros.h 2021-08-18 09:15:20 -07:00
htl htl: Do not expose pthread hidden proto outside libpthread 2021-07-18 20:25:33 +00:00
hurd Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
i386 i686: Don't include multiarch memove in libc.a 2021-08-30 05:57:49 -07:00
ia64 Remove sysdeps/*/tls-macros.h 2021-08-18 09:15:20 -07:00
ieee754 Update math: redirect roundeven function 2021-06-27 07:56:57 -07:00
m68k Remove sysdeps/*/tls-macros.h 2021-08-18 09:15:20 -07:00
mach hurd msync: Drop bogus test 2021-08-31 19:41:02 +02:00
microblaze Remove sysdeps/*/tls-macros.h 2021-08-18 09:15:20 -07:00
mips Remove sysdeps/*/tls-macros.h 2021-08-18 09:15:20 -07:00
nios2 Remove sysdeps/*/tls-macros.h 2021-08-18 09:15:20 -07:00
nptl Reduce <limits.h> pollution due to dynamic PTHREAD_STACK_MIN 2021-07-12 18:43:32 +02:00
posix gethosts: Remove unused argument _type 2021-08-04 02:23:43 +05:30
powerpc Remove sysdeps/*/tls-macros.h 2021-08-18 09:15:20 -07:00
pthread Move malloc hooks into a compat DSO 2021-07-22 18:37:59 +05:30
riscv riscv: Drop reliance on _GLOBAL_OFFSET_TABLE_[0] 2021-08-18 10:01:31 -07:00
s390 Remove sysdeps/*/tls-macros.h 2021-08-18 09:15:20 -07:00
sh Remove sysdeps/*/tls-macros.h 2021-08-18 09:15:20 -07:00
sparc Remove sysdeps/*/tls-macros.h 2021-08-18 09:15:20 -07:00
unix Use support_open_dev_null_range io/tst-closefrom, misc/tst-close_range, and posix/tst-spawn5 (BZ #28260) 2021-08-26 17:13:47 -03:00
wordsize-32 Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
wordsize-64 Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
x86 configure: Allow LD to be LLD 13.0.0 or above [BZ #26558] 2021-08-31 20:23:34 -07:00
x86_64 x86-64: Use testl to check __x86_string_control 2021-08-30 10:39:53 -07:00