
Reset alignment for each PT_LOAD segment to avoid using alignment from the previous PT_LOAD segment. bfd/ PR ld/29435 * elf.c (assign_file_positions_for_load_sections): Reset alignment for each PT_LOAD segment. ld/ PR ld/29435 * testsuite/ld-elf/pr29435.d: New file. * testsuite/ld-elf/pr29435.s: Likewise.
6 lines
78 B
ArmAsm
6 lines
78 B
ArmAsm
.text
|
|
.balign 0x8000
|
|
.globl foo
|
|
.type foo, %function
|
|
foo:
|
|
.byte 0
|