source: trunk/binutils/ld/scripttempl/i386aoutemx.sc@ 3399

Last change on this file since 3399 was 86, checked in by bird, 22 years ago

Applied the original 2.11.2 diff.

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 812 bytes
Line 
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}}}
8${RELOCATING+${EXECUTABLE_SYMBOLS}}
9${RELOCATING+PROVIDE (__stack = 0);}
10SECTIONS
11{
12 ${RELOCATING+. = ${TEXT_START_ADDR};}
13 .text :
14 {
15 CREATE_OBJECT_SYMBOLS
16 *(.text)
17 ${RELOCATING+_etext = .;}
18 ${RELOCATING+__etext = .;}
19 ${PAD_TEXT+${RELOCATING+. = ${DATA_ALIGNMENT};}}
20 } = 0x90
21 ${RELOCATING+. = ${DATA_ALIGNMENT};}
22 .data :
23 {
24 *(.data)
25 ${CONSTRUCTING+CONSTRUCTORS}
26 ${RELOCATING+_edata = .;}
27 ${RELOCATING+__edata = .;}
28 } = 0
29 .bss :
30 {
31 ${RELOCATING+ __bss_start = .};
32 *(.bss)
33 *(COMMON)
34 ${RELOCATING+_end = ALIGN(4) };
35 ${RELOCATING+__end = ALIGN(4) };
36 } = 0
37}
38EOF
Note: See TracBrowser for help on using the repository browser.