OpenCores
URL https://opencores.org/ocsvn/altor32/altor32/trunk

Subversion Repositories altor32

[/] [altor32/] [trunk/] [sw/] [gdb_stub/] [linker_script] - Blame information for rev 43

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 43 ultra_embe
GROUP("libgcc.a")
2
 
3
MEMORY
4
{
5
  sram (rwx) : ORIGIN = 0x10000000, LENGTH = 8K
6
}
7
 
8
SECTIONS
9
{
10
  .text :
11
  {
12
    _text_start = .;
13
    *(.text .text.*)           /* remaining code */
14
    *(.rodata)                 /* read-only data (constants) */
15
    *(.rodata*)
16
    *(.rdata*)
17
    . = ALIGN(4);
18
    _text_end = .;
19
  } > sram
20
 
21
  .data :
22
  {
23
    . = ALIGN(4);
24
    _data_start = .;
25
 
26
    *(.got.plt) *(.got)
27
    *(.shdata)
28
    *(.data .data.* .gnu.linkonce.d.*)
29
    . = ALIGN(16);
30
    . = ALIGN (8);
31
    *(.ram)
32
    *(.eh_frame)
33
    . = ALIGN (8);
34
    _edata = .;
35
    _data_end = .;
36
  } > sram
37
 
38
  .bss :
39
  {
40
    . = ALIGN(4);
41
    _bss_start = . ;
42
 
43
    *(.bss*)
44
    *(COMMON)
45
 
46
    /* Allocate room for stack */
47
    .   =  ALIGN(8) ;
48
    .   += 1024 ;
49
    _sp =  . - 16;
50
 
51
    _bss_end = .;
52
  } > sram
53
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.