Commit | Line | Data |
---|---|---|
8a432746 ILT |
1 | # Linker script for Motorola Delta sysV68 R3V7.1 |
2 | cat <<EOF | |
3 | OUTPUT_FORMAT("${OUTPUT_FORMAT}") | |
4 | OUTPUT_ARCH(${ARCH}) | |
5 | ${LIB_SEARCH_DIRS} | |
6 | ||
7 | ENTRY(_start) | |
8 | ||
9 | SECTIONS | |
10 | { | |
11 | .text ${TEXT_START_ADDR} : { | |
12 | *(.init) | |
13 | *(.text) | |
14 | *(.fini) | |
15 | } | |
16 | ${RELOCATING+ etext = .;} | |
17 | .data ${RELOCATING+ 0x400000 + (. & 0xfff)} : { | |
18 | *(.data .data2) | |
19 | } | |
20 | ${RELOCATING+ edata = .;} | |
21 | .bss . : | |
22 | { | |
23 | *(.bss) | |
24 | *(COMMON) | |
25 | } | |
26 | ${RELOCATING+ end = .;} | |
27 | } |