* scripttempl/h8300.sc: Make vectors section 0xc4 bytes long
[deliverable/binutils-gdb.git] / ld / scripttempl / aout.sc
CommitLineData
ed601bea
ILT
1cat <<EOF
2OUTPUT_FORMAT("${OUTPUT_FORMAT}")
3OUTPUT_ARCH(${ARCH})
4
5${RELOCATING+${LIB_SEARCH_DIRS}}
6${STACKZERO+${RELOCATING+${STACKZERO}}}
7${SHLIB_PATH+${RELOCATING+${SHLIB_PATH}}}
8SECTIONS
9{
5753006b
ILT
10 ${CREATE_SHLIB-${RELOCATING+. = ${TEXT_START_ADDR};}}
11 ${CREATE_SHLIB+${RELOCATING+. = SIZEOF_HEADERS;}}
12 .text :
ed601bea
ILT
13 {
14 CREATE_OBJECT_SYMBOLS
15 *(.text)
16 /* The next six sections are for SunOS dynamic linking. The order
17 is important. */
18 *(.dynrel)
19 *(.hash)
20 *(.dynsym)
21 *(.dynstr)
22 *(.rules)
23 *(.need)
5753006b
ILT
24 ${RELOCATING+_etext = .;}
25 ${RELOCATING+__etext = .;}
ed601bea 26 ${PAD_TEXT+${RELOCATING+. = ${DATA_ALIGNMENT};}}
ed601bea 27 }
5753006b
ILT
28 ${RELOCATING+. = ${DATA_ALIGNMENT};}
29 .data :
ed601bea
ILT
30 {
31 /* The first three sections are for SunOS dynamic linking. */
32 *(.dynamic)
33 *(.got)
34 *(.plt)
35 *(.data)
5753006b 36 *(.linux-dynamic) /* For Linux dynamic linking. */
ed601bea
ILT
37 ${CONSTRUCTING+CONSTRUCTORS}
38 ${RELOCATING+_edata = .;}
66da6c84 39 ${RELOCATING+__edata = .;}
ed601bea 40 }
5753006b 41 .bss :
ed601bea
ILT
42 {
43 ${RELOCATING+ __bss_start = .};
44 *(.bss)
45 *(COMMON)
46 ${RELOCATING+_end = ALIGN(4) };
47 ${RELOCATING+__end = ALIGN(4) };
48 }
49}
50EOF
This page took 0.075341 seconds and 4 git commands to generate.