Files
clang-p2996/lld/test/ELF/Inputs/protected-shared.s
Rafael Espindola a85efd985c Don't create dynamic relocations to ro segments.
These would just crash at runtime.

If we ever decide to support rw text segments this should make it easier
to implement as there is now a single point where we notice the problem.

I have tested this with a freebsd buildworld. It found a non pic
assembly file being linked into a .so,. With that fixed, buildworld
finished.

llvm-svn: 268149
2016-04-30 01:15:17 +00:00

11 lines
123 B
ArmAsm

.global foo
.protected foo
foo:
.global bar
.protected bar
bar:
.global zed
zed: