Files
clang-p2996/lld/test/ELF/Inputs/icf-merge3.s
Peter Collingbourne bfd5113ca1 ELF: Teach ICF about relocations referring to merge input sections.
Relocations referring to merge sections are considered equal if they
resolve to the same offset in the same output section.

Differential Revision: https://reviews.llvm.org/D34094

llvm-svn: 305177
2017-06-12 00:05:54 +00:00

11 lines
144 B
ArmAsm

.section .rodata.str,"aMS",@progbits,1
.asciz "bar"
.asciz "baz"
foo:
.asciz "foo"
.section .text.f2,"ax"
.globl f2
f2:
lea foo+43(%rip), %rax