]> Git Repo - binutils.git/blob - ld/aout.sc-sh
tooldir copy of ld belongs directly in tooldir
[binutils.git] / ld / aout.sc-sh
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    ${RELOCATING+__end = . };
27   }
28 }
29 EOF
This page took 0.02487 seconds and 4 git commands to generate.