1 # Linker script for Alpha systems.
2 # Ian Lance Taylor <ian@cygnus.com>.
3 # These variables may be overridden by the emulation file. The
4 # defaults are appropriate for an Alpha running OSF/1.
5 test -z "$ENTRY" && ENTRY=__start
6 test -z "$TEXT_START_ADDR" && TEXT_START_ADDR="0x120000000 + SIZEOF_HEADERS"
7 test -z "$DATA_ADDR" && DATA_ADDR=0x140000000
9 OUTPUT_FORMAT("${OUTPUT_FORMAT}")
16 .text ${RELOCATING+ ${TEXT_START_ADDR}} : {
17 ${RELOCATING+ _FTEXT = . };
18 ${RELOCATING+ __istart = . };
19 ${RELOCATING+ *(.init) }
20 ${RELOCATING+ LONG (0x6bfa8001)}
21 ${RELOCATING+ eprol = .};
23 ${RELOCATING+ __fstart = . };
24 ${RELOCATING+ *(.fini)}
25 ${RELOCATING+ LONG (0x6bfa8001)}
26 ${RELOCATING+ _ETEXT = .};
28 .rdata ${RELOCATING+ .} : {
32 ${RELOCATING+ _fpdata = .;}
35 .data ${RELOCATING+ ${DATA_ADDR}} : {
36 ${RELOCATING+ _FDATA = .;}
38 ${CONSTRUCTING+CONSTRUCTORS}
43 ${RELOCATING+ _gp = ALIGN (8) + 0x8000;}
44 .lit8 ${RELOCATING+ .} : {
47 .lit4 ${RELOCATING+ .} : {
50 .lita ${RELOCATING+ .} : {
53 .sdata ${RELOCATING+ .} : {
56 ${RELOCATING+ _EDATA = .;}
57 ${RELOCATING+ _FBSS = .;}
58 .sbss ${RELOCATING+ .} : {
62 .bss ${RELOCATING+ .} : {
66 ${RELOCATING+ _END = .;}
67 ${RELOCATING+ _end = .;}