Patch by Konstantin Schwarz! The condition to create a new phdr must also check the usage of "AT>" linker script command, and create a new PT_LOAD header if a new LMARegion is used. This fixes PR38307 Differential revision: https://reviews.llvm.org/D50052 llvm-svn: 338679
12 lines
112 B
ArmAsm
12 lines
112 B
ArmAsm
.global _start
|
|
.text
|
|
_start:
|
|
nop
|
|
|
|
.section .sec1,"aw",@progbits
|
|
.long 1
|
|
|
|
.section .sec2,"aw",@progbits
|
|
.long 2
|
|
|