OSDN Git Service

* elf64-ppc.c (ppc64_elf_size_stubs): Don't consider non-ppc64 input.
[pf3gnuchains/pf3gnuchains4x.git] / ld / emulparams / elf32ms1.sh
1 MACHINE=
2 SCRIPT_NAME=elf
3 OUTPUT_FORMAT="elf32-ms1"
4 # See also `include/elf/ms1.h'
5 TEXT_START_ADDR=0x2000
6 ARCH=ms1
7 ENTRY=_start
8 EMBEDDED=yes
9 ELFSIZE=32
10 MAXPAGESIZE=256
11 # This is like setting STACK_ADDR to 0x0073FFFF0, except that the setting can
12 # be overridden, e.g. --defsym _stack=0x0f00, and that we put an extra
13 # sentinal value at the bottom.
14 # N.B. We can't use PROVIDE to set the default value in a symbol because
15 # the address is needed to place the .stack section, which in turn is needed
16 # to hold the sentinel value(s).
17 test -z "$CREATE_SHLIB" && OTHER_SECTIONS="  .stack        ${RELOCATING-0}${RELOCATING+(DEFINED(__stack) ? __stack : 0x007FFFF0)} :
18   {
19     ${RELOCATING+__stack = .;}
20     *(.stack)
21     LONG(0xdeaddead)
22   }"
23 # We do not need .stack for shared library.
24 test -n "$CREATE_SHLIB" && OTHER_SECTIONS=""