Files
clang-p2996/lld/test/ELF/linkerscript/Inputs/copy-rel-symbol-value.s
Rafael Espindola de38b3d22f Handle copy relocations in symbol assignments.
When a linker script has "foo = bar" and bar is the result of a copy
relocation foo should point to the same location in .bss.

This is part of a growing evidence that copy relocations should be
implemented by using replaceSymbol to replace the SharedSymbol with a
Defined.

llvm-svn: 319449
2017-11-30 17:51:10 +00:00

6 lines
89 B
ArmAsm

.global bar
.type bar, @object
.size bar, 8
bar:
.quad 0