Updated Malay translation for the bfd sub-directory
[binutils-gdb.git] / ld / testsuite / ld-arm / arm_purecode.ld
blob195aca1be93374774c4b5d406e28865c35735a7c
1 /* Script for ld testsuite.  */
2 OUTPUT_ARCH(arm)
3 ENTRY(_start)
4 MEMORY
6  read_memory   (rx)   : ORIGIN = 0x00008000, LENGTH = 4M
7  purecode_memory (!rx)  : ORIGIN = 0x00800000, LENGTH = 4M
9 SECTIONS
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) }