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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [ld/] [scripttempl/] [hppaelf.sc] - Diff between revs 156 and 816

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 156 Rev 816
DATA_ADDR=0x40000000
DATA_ADDR=0x40000000
test "$LD_FLAG" = "N" && DATA_ADDR=.
test "$LD_FLAG" = "N" && DATA_ADDR=.
cat <
cat <
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
OUTPUT_ARCH(${ARCH})
OUTPUT_ARCH(${ARCH})
ENTRY("\$START\$")
ENTRY("\$START\$")
${RELOCATING+${LIB_SEARCH_DIRS}}
${RELOCATING+${LIB_SEARCH_DIRS}}
SECTIONS
SECTIONS
{
{
  .text 0x1000 ${RELOCATING++${TEXT_START_ADDR}}:
  .text 0x1000 ${RELOCATING++${TEXT_START_ADDR}}:
  {
  {
    ${RELOCATING+__text_start = .};
    ${RELOCATING+__text_start = .};
    CREATE_OBJECT_SYMBOLS
    CREATE_OBJECT_SYMBOLS
    *(.PARISC.stubs)
    *(.PARISC.stubs)
    *(.text)
    *(.text)
    ${RELOCATING+etext = .};
    ${RELOCATING+etext = .};
    ${RELOCATING+_etext = .};
    ${RELOCATING+_etext = .};
  }
  }
  ${RELOCATING+. = ${DATA_ADDR};}
  ${RELOCATING+. = ${DATA_ADDR};}
  .data :
  .data :
  {
  {
    ${RELOCATING+ . = . + 0x1000 };
    ${RELOCATING+ . = . + 0x1000 };
    ${RELOCATING+__data_start = .};
    ${RELOCATING+__data_start = .};
    *(.data)
    *(.data)
    ${CONSTRUCTING+CONSTRUCTORS}
    ${CONSTRUCTING+CONSTRUCTORS}
    ${RELOCATING+edata = .};
    ${RELOCATING+edata = .};
    ${RELOCATING+_edata = .};
    ${RELOCATING+_edata = .};
  }
  }
  ${RELOCATING+. = ${DATA_ADDR} + SIZEOF(.data);}
  ${RELOCATING+. = ${DATA_ADDR} + SIZEOF(.data);}
  .bss :
  .bss :
  {
  {
   *(.bss)
   *(.bss)
   *(COMMON)
   *(COMMON)
   ${RELOCATING+end = . };
   ${RELOCATING+end = . };
   ${RELOCATING+_end = . };
   ${RELOCATING+_end = . };
  }
  }
}
}
EOF
EOF
 
 

powered by: WebSVN 2.1.0

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