-z text support is missing or is broken.
Test
cat > 1.s << \!
.section .text.foo
.global foo
foo:
.word 100
.text
.word foo
!
clang -c 1.s
ld.eld 1.o -z text -shared
ld.lld 1.o -z text -shared
lld fails correctly with the error below
ld.lld: error: relocation R_ARM_ABS32 cannot be used against symbol 'foo'; recompile with -fPIC
-z text support is missing or is broken.
Test
lld fails correctly with the error below
ld.lld: error: relocation R_ARM_ABS32 cannot be used against symbol 'foo'; recompile with -fPIC