source: branches/libc-0.6/src/binutils/ld/scripttempl/mipsbsd.sc

Last change on this file was 10, checked in by bird, 22 years ago

Initial revision

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 518 bytes
Line 
1cat <<EOF
2OUTPUT_FORMAT("${OUTPUT_FORMAT}", "${BIG_OUTPUT_FORMAT}",
3 "${LITTLE_OUTPUT_FORMAT}")
4OUTPUT_ARCH(${ARCH})
5
6${RELOCATING+${LIB_SEARCH_DIRS}}
7SECTIONS
8{
9 ${RELOCATING+. = ${TEXT_START_ADDR};}
10 .text :
11 {
12 CREATE_OBJECT_SYMBOLS
13 *(.text)
14 ${RELOCATING+etext = ${DATA_ALIGNMENT};}
15 }
16 ${RELOCATING+. = ${DATA_ALIGNMENT};}
17 .data :
18 {
19 *(.data)
20 ${CONSTRUCTING+CONSTRUCTORS}
21 ${RELOCATING+edata = .;}
22 }
23 .bss :
24 {
25 *(.bss)
26 *(COMMON)
27 ${RELOCATING+end = . };
28 }
29}
30EOF
Note: See TracBrowser for help on using the repository browser.