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 if test "x$LD_FLAG" = "xn" -o "x$LD_FLAG" = "xN"; then
10 test -z "$DATA_ADDR" && DATA_ADDR=0x140000000
13 OUTPUT_FORMAT("${OUTPUT_FORMAT}")
16 ${RELOCATING+ENTRY (${ENTRY})}
20 ${RELOCATING+. = ${TEXT_START_ADDR};}
22 ${RELOCATING+ _ftext = . };
23 ${RELOCATING+ __istart = . };
24 ${RELOCATING+ *(.init) }
25 ${RELOCATING+ LONG (0x6bfa8001)}
26 ${RELOCATING+ eprol = .};
28 ${RELOCATING+ __fstart = . };
29 ${RELOCATING+ *(.fini)}
30 ${RELOCATING+ LONG (0x6bfa8001)}
31 ${RELOCATING+ _etext = .};
40 ${RELOCATING+ _fpdata = .;}
43 ${RELOCATING+. = ${DATA_ADDR};}
45 ${RELOCATING+ _fdata = .;}
47 ${CONSTRUCTING+CONSTRUCTORS}
52 ${RELOCATING+ _gp = ALIGN (16) + 0x8000;}
62 ${RELOCATING+ _EDATA = .;}
63 ${RELOCATING+ _FBSS = .;}
72 ${RELOCATING+ _end = .;}