HomeFreeBSD

rtld/arm64: Remove checks for undefined symbols when processing TPREL64

Description

rtld/arm64: Remove checks for undefined symbols when processing TPREL64

lld emits several GOT relocations referencing the null sumbol in libc.so
when compiled with -ftls-model=initial-exec. This symbol is specified
to be undefined.

We generally do not handle dynamic TLS relocations against weak,
undefined symbols, so avoid printing a warning here. This makes it
possible to compile libc.so using the initial-exec TLS model on arm64.

Reviewed by: jrtc27, kib
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D31069

Details

Provenance
markjAuthored on Jul 16 2021, 2:26 AM
Reviewer
jrtc27
Differential Revision
D31069: rtld-elf/aarch64: Avoid checks for UND symbols when processing TPREL64
Parents
rGad1f608fb2f5: vmd: Rename vmd_bus class to pci
Branches
Unknown
Tags
Unknown