]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - ld/scripttempl/mipsbsd.sc
This commit was generated by cvs2svn to track changes on a CVS vendor
[thirdparty/binutils-gdb.git] / ld / scripttempl / mipsbsd.sc
1 cat <<EOF
2 OUTPUT_FORMAT("${OUTPUT_FORMAT}")
3 OUTPUT_ARCH(${ARCH})
4
5 ${RELOCATING+${LIB_SEARCH_DIRS}}
6 ${RELOCATING+__DYNAMIC = 0;}
7 SECTIONS
8 {
9 .text ${RELOCATING+${TEXT_START_ADDR}}:
10 {
11 CREATE_OBJECT_SYMBOLS
12 *(.text)
13 ${RELOCATING+etext = ${DATA_ALIGNMENT};}
14 }
15 .data ${RELOCATING+${DATA_ALIGNMENT}} :
16 {
17 *(.data)
18 ${CONSTRUCTING+CONSTRUCTORS}
19 ${RELOCATING+edata = .;}
20 }
21 .bss ${RELOCATING+SIZEOF(.data) + ADDR(.data)} :
22 {
23 *(.bss)
24 *(COMMON)
25 ${RELOCATING+end = . };
26 }
27 }
28 EOF