]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/testsuite/ld-aarch64/emit-relocs-morello-7.ld
Make various linker tests more robust
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-aarch64 / emit-relocs-morello-7.ld
CommitLineData
5fa80905
AC
1SECTIONS {
2 . = SEGMENT_START("text-segment", SIZEOF_HEADERS);
3 .dynamic : { *(.dynamic) }
4 .othersection : { *(.othersection) }
5 __text_start = .;
6 __text_other = .;
7 .text : { *(.text) }
5fa80905 8 __data_other = .;
20b65d42
MM
9 /* Try and collect all read-only stuff so that the data symbols stay at
10 * the start of the .data section. */
11 .rodata : ONLY_IF_RO { *(.*) }
12 __data_start = .;
5fa80905
AC
13 .data : { *(.data) }
14 . = ALIGN(0x1000);
15 .got : { *(.got) }
16}