diff options
author | Doug Evans <dje@google.com> | 1998-06-13 00:53:24 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 1998-06-13 00:53:24 +0000 |
commit | 695bc2ee12b2bfc0954e6856d37074f147e1c2a0 (patch) | |
tree | cfba7c29d874d8e7d5cb3991dd21ec02332d48fd /ld | |
parent | 030bf387cc76d1fddf9b7a9ab12aea4f3cafb09e (diff) | |
download | gdb-695bc2ee12b2bfc0954e6856d37074f147e1c2a0.zip gdb-695bc2ee12b2bfc0954e6856d37074f147e1c2a0.tar.gz gdb-695bc2ee12b2bfc0954e6856d37074f147e1c2a0.tar.bz2 |
* scripttempl/elf.sc (INPUT_FILES): Optional INPUT spec.
* emulparams/m32relf.sh (INPUT_FILES): Define.
(OTHER_RELOCATING_SECTIONS): Change top of stack to 8MB.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 6 | ||||
-rw-r--r-- | ld/emulparams/m32relf.sh | 14 |
2 files changed, 17 insertions, 3 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 23c80ba..26f3f07 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,9 @@ +Fri Jun 12 17:38:07 1998 Doug Evans <devans@seba.cygnus.com> + + * scripttempl/elf.sc (INPUT_FILES): Optional INPUT spec. + * emulparams/m32relf.sh (INPUT_FILES): Define. + (OTHER_RELOCATING_SECTIONS): Change top of stack to 8MB. + Fri Jun 12 19:33:17 1998 Ian Lance Taylor <ian@cygnus.com> * Makefile.am (HFILES): Remove config.h. diff --git a/ld/emulparams/m32relf.sh b/ld/emulparams/m32relf.sh index 35b52e5..0ba0289 100644 --- a/ld/emulparams/m32relf.sh +++ b/ld/emulparams/m32relf.sh @@ -1,11 +1,19 @@ MACHINE= SCRIPT_NAME=elf +TEMPLATE_NAME=elf32 OUTPUT_FORMAT="elf32-m32r" -TEXT_START_ADDR=0x0 +TEXT_START_ADDR=0x100 ARCH=m32r +MACHINE= MAXPAGESIZE=32 EMBEDDED=yes +# For the default linker script, include libgloss. +# If the user specifies a different linker script, we want the +# rest of the files (e.g. crt0.o) included by default, but not libgloss. +# [Thus I was reluctant to handle this in gcc specs.] +INPUT_FILES="INPUT(-lgloss)" + # Hmmm, there's got to be a better way. This sets the stack to the -# top of the simulator memory (currently 1M). -OTHER_RELOCATING_SECTIONS='.stack 0x100000 : { _stack = .; *(.stack) }' +# top of simulator memory (8MB). +OTHER_RELOCATING_SECTIONS='PROVIDE (_stack = 0x800000);' |