source: trunk/libs/newlib/src/libgloss/i960/mon960.ld @ 509

Last change on this file since 509 was 444, checked in by satin@…, 7 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 558 bytes
RevLine 
[444]1GROUP(-lc -lgcc -lmon960)
2
3SECTIONS
4{
5    . = 0xa0008000;
6    .text :
7    {
8         CREATE_OBJECT_SYMBOLS
9        *(.text)
10         _etext = .;
11       
12        ___CTOR_LIST__ = .;
13        LONG((___CTOR_END__ - ___CTOR_LIST__) / 4 - 2)
14        *(.ctors)
15        LONG(0)
16        ___CTOR_END__ = .;
17        ___DTOR_LIST__ = .;
18        LONG((___DTOR_END__ - ___DTOR_LIST__) / 4 - 2)
19        *(.dtors)
20        LONG(0)
21        ___DTOR_END__ = .;
22    } 
23    .data SIZEOF(.text) + ADDR(.text):
24    {
25        *(.data)
26        CONSTRUCTORS
27         _edata = .;
28    } 
29    .bss SIZEOF(.data) + ADDR(.data):
30    {
31         _bss_start = .;
32        *(.bss) 
33        *(COMMON)
34         _end = .;
35    }
36}
Note: See TracBrowser for help on using the repository browser.