Patch by Konstantin Schwarz! If more than a single output section is added to a PT_LOAD header, only the first section should set the LMAOffset of the segment. Otherwise, we get a load-address overlap error Differential revision: https://reviews.llvm.org/D50133 llvm-svn: 338697
9 lines
122 B
ArmAsm
9 lines
122 B
ArmAsm
.section .sec1,"aw",@progbits
|
|
.quad 1
|
|
|
|
.section .sec2,"aw",@progbits
|
|
.quad 2
|
|
|
|
.section .sec3,"aw",@progbits
|
|
.quad 3
|