1 # Linker script for Sparc LynxOS.
2 test -z "$ENTRY" && ENTRY=_start
4 OUTPUT_FORMAT("${OUTPUT_FORMAT}")
11 .text ${RELOCATING+ SIZEOF_HEADERS} : {
14 ${RELOCATING+ etext = .;}
15 ${CONSTRUCTING+ ___CTOR_LIST__ = .;}
16 ${CONSTRUCTING+ LONG((___CTOR_END__ - ___CTOR_LIST__) / 4 - 2)}
17 ${CONSTRUCTING+ *(.ctors)}
18 ${CONSTRUCTING+ LONG(0)}
19 ${CONSTRUCTING+ ___CTOR_END__ = .;}
20 ${CONSTRUCTING+ ___DTOR_LIST__ = .;}
21 ${CONSTRUCTING+ LONG((___DTOR_END__ - ___DTOR_LIST__) / 4 - 2)}
22 ${CONSTRUCTING+ *(.dtors)}
23 ${CONSTRUCTING+ LONG(0)}
24 ${CONSTRUCTING+ ___DTOR_END__ = .;}
26 ${RELOCATING+ etext = .};
28 .data ${RELOCATING+ 0x400000 + (. & 0xffc00fff)} : {
30 ${RELOCATING+ edata = .};
32 .bss ${RELOCATING+ SIZEOF(.data) + ADDR(.data)} :
36 ${RELOCATING+ end = .};
38 .stab 0 ${RELOCATING+(NOLOAD)} :
42 .stabstr 0 ${RELOCATING+(NOLOAD)} :