aarch64 and arm testsuite fixes for targets lacking shared libs
[deliverable/binutils-gdb.git] / ld / testsuite / ld-arm / arm_purecode.ld
1 /* Script for ld testsuite. */
2 OUTPUT_ARCH(arm)
3 ENTRY(_start)
4 MEMORY
5 {
6 read_memory (rx) : ORIGIN = 0x00008000, LENGTH = 4M
7 purecode_memory (!rx) : ORIGIN = 0x00800000, LENGTH = 4M
8 }
9 SECTIONS
10 {
11 /* Read-only sections, merged into text segment: */
12 PROVIDE (__executable_start = 0x8000); . = 0x8000;
13 .text.purecode :
14 {
15 INPUT_SECTION_FLAGS (SHF_ARM_PURECODE) *(.text*)
16 } > purecode_memory
17 .text :
18 {
19 *(.before)
20 *(.text)
21 *(.after)
22 *(.ARM.extab*)
23 *(.glue_7)
24 *(.v4_bx)
25 } > read_memory
26 .ARM.exidx : { *(.ARM.exidx*) }
27 . = 0x9000;
28 .got : { *(.got) *(.got.plt)}
29 . = 0x12340000;
30 .far : { *(.far) }
31 .ARM.attribues 0 : { *(.ARM.atttributes) }
32 }
This page took 0.037039 seconds and 4 git commands to generate.