Updated Malay translation for the bfd sub-directory
[binutils-gdb.git] / ld / testsuite / ld-riscv-elf / code-model-02.ld
blobaf8a2feb0531b9c064a828a2f0da5e0b36a32ee4
1 /* text: over the 32-bit address range.
2    data: far away from text, and nearly-zero. */
4 ENTRY(_start)
5 MEMORY
7         rom (rx)  : ORIGIN = 0x800000000, LENGTH = 0x1000
8         ram (!rx) : ORIGIN = 0x10, LENGTH = 0x1000
10 SECTIONS {
11         .text : {
12                 *(.text*)
13         } >rom
15         .data : {
16                 *(.data*)
17         } >ram
19         __global_pointer$ = .;
21         .got : {
22                 *(.got*)
23         } > ram