mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
6bf56e7482
gold/ChangeLog PR gold/21430 * aarch64.cc (AArch64_relobj::convert_input_section_to_relaxed_section): Set the section offset to -1ULL. (Target_aarch64::relocate_section): Adjust the view in case of a relaxed input section. * testsuite/Makefile.am (pr21430): New test. * testsuite/Makefile.in: Regenerate * testsuite/pr21430.s: New test source file. * testsuite/pr21430.sh: New test script.
16 lines
215 B
ArmAsm
16 lines
215 B
ArmAsm
.globl _start, foo, bar
|
|
|
|
.section ".text.start", "ax"
|
|
_start:
|
|
bl foo
|
|
.space 0x7000000
|
|
|
|
.section ".text.bar", "ax"
|
|
bar:
|
|
.space 0x1000000
|
|
.size bar, .-bar
|
|
|
|
.section ".text.foo", "ax"
|
|
foo:
|
|
b _start
|