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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.18.50/] [ld/] [emulparams/] [elf32m32c.sh] - Blame information for rev 156

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
MACHINE=
2
SCRIPT_NAME=elf
3
OUTPUT_FORMAT="elf32-m32c"
4
# See also `include/elf/m32c.h'
5
TEXT_START_ADDR=0x2000
6
ARCH=m32c
7
ENTRY=_start
8
EMBEDDED=yes
9
TEMPLATE_NAME=elf32
10
EXTRA_EM_FILE=needrelax
11
ELFSIZE=32
12
MAXPAGESIZE=256
13
# This is like setting STACK_ADDR to 0x0073FFFF0, except that the setting can
14
# be overridden, e.g. --defsym _stack=0x0f00, and that we put an extra
15
# sentinal value at the bottom.
16
# N.B. We can't use PROVIDE to set the default value in a symbol because
17
# the address is needed to place the .stack section, which in turn is needed
18
# to hold the sentinel value(s).
19
test -z "$CREATE_SHLIB" && OTHER_SECTIONS="  .stack        ${RELOCATING-0}${RELOCATING+(DEFINED(__stack) ? __stack : 0x7fc)} :
20
  {
21
    ${RELOCATING+__stack = .;}
22
    *(.stack)
23
    LONG(0xdeaddead)
24
  }"
25
# We do not need .stack for shared library.
26
test -n "$CREATE_SHLIB" && OTHER_SECTIONS=""

powered by: WebSVN 2.1.0

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