OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [ld/] [scripttempl/] [riscix.sc] - Blame information for rev 853

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
cat <
2
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
3
OUTPUT_ARCH(${ARCH})
4
 
5
${RELOCATING+${LIB_SEARCH_DIRS}}
6
${RELOCATING+__DYNAMIC  =  0;}
7
${STACKZERO+${RELOCATING+${STACKZERO}}}
8
${SHLIB_PATH+${RELOCATING+${SHLIB_PATH}}}
9
SECTIONS
10
{
11
  .text ${RELOCATING+${TEXT_START_ADDR}}:
12
  {
13
    CREATE_OBJECT_SYMBOLS
14
    *(.text)
15
    ${PAD_TEXT+${RELOCATING+. = ${DATA_ALIGNMENT};}}
16
    ${RELOCATING+_etext = ${DATA_ALIGNMENT};}
17
    ${RELOCATING+__etext = ${DATA_ALIGNMENT};}
18
  }
19
  .data  ${RELOCATING+${DATA_ALIGNMENT}} :
20
  {
21
    *(.data)
22
    ${CONSTRUCTING+CONSTRUCTORS}
23
    ${RELOCATING+_edata  =  .;}
24
    ${RELOCATING+__edata =  .;}
25
  }
26
  .bss ${RELOCATING+SIZEOF(.data) + ADDR(.data)} :
27
  {
28
   ${RELOCATING+ __bss_start = .};
29
   *(.bss)
30
   *(COMMON)
31
   ${RELOCATING+_end = ALIGN(4) };
32
   ${RELOCATING+__end = ALIGN(4) };
33
  }
34
}
35
EOF

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.