summaryrefslogtreecommitdiff
path: root/package/etrax-tools/src/e100boot/cbl/src/ldscript
blob: 24c8a318ad879d1744c2a8a621f997f20a2e09ab (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
28
29
30
31
32
33
34
35
36
37
38
SECTIONS
{
  . = 0x380000f0;
  __Stext = .;

  .text :
  {
    KEEP (*(.startup))
    KEEP (*(.text))
    *(.text.*)
    KEEP (*(.rodata))
    *(.rodata.*)
  } =0

  __Etext = .;

  .data :
  {
    __Sdata = .;
    KEEP (*(.data))
    *(.data.*)
  }

    __Edata = .;
  . = ALIGN (4);
   __Sbss = .;
  .bss :
  {
   /* The network crc will land in the first four bytes of the
	bss. Move the variables out of the way. */
   . = . + 12;
   *(.bss.*)
   *(COMMON)
  }

  __Ebss = .;

}