Welcome to mirror list, hosted at ThFree Co, Russian Federation.

op50n.ld « pa « libgloss - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0d8601f5954be5488f838d6e9ccf14152c93ad4a (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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
OUTPUT_ARCH(hppa)
ENTRY("$START$")
STARTUP(crt0.o)
GROUP(-lc -lop50n -lgcc)
SEARCH_DIR(.)

MEMORY
{
  ram (rwx) : ORIGIN = 0x40000, LENGTH = 0x100000
}

SECTIONS
{
  .text :
  {
    CREATE_OBJECT_SYMBOLS
    *(.PARISC.stubs)
    *(.text)
     etext  =  . ;
     _etext  =  . ;
     __CTOR_LIST__ = . ;
     LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
    *(.ctors)
     LONG(0)
     __CTOR_END__ = . ;
     __DTOR_LIST__ = . ;
     LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
    *(.dtors)
     LONG(0)
     __DTOR_END__ = . ;
    *(.lit)
    *(.shdata)
    $global$ = ALIGN(4) ;
    . += 4;
  } > ram

  .data : {
    *(.data)
    CONSTRUCTORS
    edata  =  . ;
    _edata  =  . ;
  } > ram

  .bss : {
    _bss_start = ALIGN(4) ;
    *(.bss)
    *(COMMON)
    _stack = ALIGN(64) ;	/* Stack grows up on the PA!!! */
    . += 0x2000 ;
    end = . ;
    _end = . ;
  } > ram

}