aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl/delta68.sc
blob: 753d32a8b88f41829a63c134d94437a89e092dc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Linker script for Motorola Delta sysV68 R3V7.1
cat <<EOF
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
OUTPUT_ARCH(${ARCH})
${LIB_SEARCH_DIRS}

ENTRY(_start)

SECTIONS
{
  .text ${TEXT_START_ADDR} : {
    *(.init)
    *(.text)
    *(.fini)
  }
  ${RELOCATING+ etext = .;}
  .data ${RELOCATING+ 0x400000 + (. & 0xfff)} : {
    *(.data .data2)
  }
  ${RELOCATING+ edata = .;}
  .bss . :
  { 					
    *(.bss)
    *(COMMON)
  }
  ${RELOCATING+ end = .;}
}