Improve MSP430 section placement.
[deliverable/binutils-gdb.git] / ld / testsuite / ld-msp430-elf / msp430.ld
1 /* Script for ld testsuite */
2 OUTPUT_ARCH(msp430)
3 ENTRY(_start)
4
5 SECTIONS
6 {
7 .lower.data :
8 {
9 . = ALIGN(2);
10 *(.lower.data .lower.data.*)
11 }
12
13 .lower.bss :
14 {
15 . = ALIGN(2);
16 *(.lower.bss .lower.bss.*)
17 }
18
19 .lower.text :
20 {
21 PROVIDE (_start = .);
22 . = ALIGN(2);
23 *(.lower.text.* .lower.text)
24 }
25
26 .lower.rodata :
27 {
28 . = ALIGN(2);
29 *(.lower.rodata .lower.rodata.*)
30 }
31
32 .text :
33 {
34 . = ALIGN(2);
35 *(.text .stub .text.* .gnu.linkonce.t.* .text:*)
36 }
37
38 .rodata :
39 {
40 *(.rodata.* .rodata)
41 }
42
43 .data :
44 {
45 . = ALIGN(2);
46 *(.data.* .data)
47 }
48
49 .bss :
50 {
51 . = ALIGN(2);
52 *(.bss.* .bss)
53 }
54
55 .upper.text :
56 {
57 . = ALIGN(2);
58 *(.upper.text.* .upper.text)
59 }
60
61 .upper.rodata :
62 {
63 . = ALIGN(2);
64 *(.upper.rodata .upper.rodata.*)
65 }
66
67 .upper.data :
68 {
69 . = ALIGN(2);
70 *(.upper.data .upper.data.*)
71 }
72
73 .upper.bss :
74 {
75 . = ALIGN(2);
76 *(.upper.bss .upper.bss.*)
77 }
78 }
This page took 0.037668 seconds and 4 git commands to generate.