1 /* Script for ld testsuite. */ 2 OUTPUT_ARCH(arm) 3 ENTRY(_start) 4 MEMORY 5 { 6 read_memory (rx) : ORIGIN = 0x00008000, LENGTH = 4M 7 noread_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.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 } 33