x86-64: Use $NOPIE_LDFLAGS/$NOPIE_CFLAGS on protected-func-1
[deliverable/binutils-gdb.git] / ld / testsuite / ld-msp430-elf / msp430-tiny-rom.ld
CommitLineData
7ef3addb
JL
1/* Script for ld testsuite */
2OUTPUT_ARCH(msp430)
3ENTRY(_start)
4
5MEMORY
6{
7 ROM : ORIGIN = 0x0, LENGTH = 0x2
8 RAM : ORIGIN = 0x2, LENGTH = 0x1fe
9 HIROM : ORIGIN = 0x200, LENGTH = 0x1000
10}
11
12SECTIONS
13{
14 .text :
15 {
16 PROVIDE (_start = .);
17 . = ALIGN(2);
18 *(.text .stub .text.* .gnu.linkonce.t.* .text:*)
19 } > ROM
20
21 .rodata :
22 {
23 *(.rodata.* .rodata)
24 } > ROM
25
26 .data :
27 {
28 . = ALIGN(2);
29 *(.data.* .data)
30 } > RAM AT> ROM
31
32 .bss :
33 {
34 . = ALIGN(2);
35 *(.bss.* .bss)
36 } > RAM
37
38 .upper.text :
39 {
40 . = ALIGN(2);
41 *(.upper.text.* .upper.text)
42 } > HIROM
43
44 .upper.rodata :
45 {
46 *(.upper.rodata.* .upper.rodata)
47 } > HIROM
48}
This page took 0.21635 seconds and 4 git commands to generate.