* scripttempl/elf.sc (INPUT_FILES): Optional INPUT spec.
[external/binutils.git] / ld / emulparams / m32relf.sh
1 MACHINE=
2 SCRIPT_NAME=elf
3 TEMPLATE_NAME=elf32
4 OUTPUT_FORMAT="elf32-m32r"
5 TEXT_START_ADDR=0x100
6 ARCH=m32r
7 MACHINE=
8 MAXPAGESIZE=32
9 EMBEDDED=yes
10
11 # For the default linker script, include libgloss.
12 # If the user specifies a different linker script, we want the
13 # rest of the files (e.g. crt0.o) included by default, but not libgloss.
14 # [Thus I was reluctant to handle this in gcc specs.]
15 INPUT_FILES="INPUT(-lgloss)"
16
17 # Hmmm, there's got to be a better way.  This sets the stack to the
18 # top of simulator memory (8MB).
19 OTHER_RELOCATING_SECTIONS='PROVIDE (_stack = 0x800000);'