ld: track linker-definedness of symbols
[deliverable/binutils-gdb.git] / ld / testsuite / ld-arm / arm_noread.ld
CommitLineData
ac4c9b04
MG
1/* Script for ld testsuite. */
2OUTPUT_ARCH(arm)
3ENTRY(_start)
4MEMORY
5{
6 read_memory (rx) : ORIGIN = 0x00008000, LENGTH = 4M
7 noread_memory (!rx) : ORIGIN = 0x00800000, LENGTH = 4M
8}
9SECTIONS
10{
11 /* Read-only sections, merged into text segment: */
12 PROVIDE (__executable_start = 0x8000); . = 0x8000;
13 .text.noread :
14 {
15 INPUT_SECTION_FLAGS (SHF_ARM_NOREAD) *(.text*)
16 } > noread_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.065882 seconds and 4 git commands to generate.