mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-26 22:07:58 +08:00
* emulparams/criself.sh (EXECUTABLE_SYMBOLS): Cannot provide
correct value of __Stext here. (TEXT_START_SYMBOLS): Define; always define __Stext, to start of .startup section. * emulparams/crislinux.sh: Remove FIXME.
This commit is contained in:
@ -1,3 +1,12 @@
|
|||||||
|
2001-04-05 Hans-Peter Nilsson <hp@axis.com>
|
||||||
|
|
||||||
|
* emulparams/criself.sh (EXECUTABLE_SYMBOLS): Cannot provide
|
||||||
|
correct value of __Stext here.
|
||||||
|
(TEXT_START_SYMBOLS): Define; always define __Stext, to start of
|
||||||
|
.startup section.
|
||||||
|
|
||||||
|
* emulparams/crislinux.sh: Remove FIXME.
|
||||||
|
|
||||||
2001-04-02 Alan Modra <alan@linuxcare.com.au>
|
2001-04-02 Alan Modra <alan@linuxcare.com.au>
|
||||||
|
|
||||||
* emulparams/hppalinux.sh (MAXPAGESIZE): Set to 64k.
|
* emulparams/hppalinux.sh (MAXPAGESIZE): Set to 64k.
|
||||||
|
@ -15,14 +15,16 @@ TEXT_START_ADDR=0
|
|||||||
# Put crt0 for flash/eprom etc. in this section.
|
# Put crt0 for flash/eprom etc. in this section.
|
||||||
INITIAL_READONLY_SECTIONS='.startup : { KEEP(*(.startup)) }'
|
INITIAL_READONLY_SECTIONS='.startup : { KEEP(*(.startup)) }'
|
||||||
|
|
||||||
# TEXT_START_SYMBOLS doesn't get what we want which is the start of
|
# Setting __Stext to . in TEXT_START_SYMBOLS doesn't get what we want
|
||||||
# all read-only sections; there's at least .init and .fini before it.
|
# most of the time, which is the start of all read-only sections;
|
||||||
# We have to resort to trickery.
|
# there's at least .startup and .init before it. We have to resort to
|
||||||
#
|
# trickery. Note that __Stext is always defined, not PROVIDE:d, since
|
||||||
|
# external tools look for it.
|
||||||
|
TEXT_START_SYMBOLS='__Stext = ADDR (.startup);'
|
||||||
|
|
||||||
# The __start dance is to get us through assumptions about entry
|
# The __start dance is to get us through assumptions about entry
|
||||||
# symbols, and to clear _start for normal use with sane programs.
|
# symbols, and to clear _start for normal use with sane programs.
|
||||||
EXECUTABLE_SYMBOLS='
|
EXECUTABLE_SYMBOLS='
|
||||||
PROVIDE (__Stext = .);
|
|
||||||
__start = DEFINED(__start) ? __start :
|
__start = DEFINED(__start) ? __start :
|
||||||
DEFINED(_start) ? _start :
|
DEFINED(_start) ? _start :
|
||||||
DEFINED(start) ? start :
|
DEFINED(start) ? start :
|
||||||
|
@ -16,8 +16,6 @@ TEXT_START_ADDR=0x80000
|
|||||||
|
|
||||||
MAXPAGESIZE=8192
|
MAXPAGESIZE=8192
|
||||||
|
|
||||||
# FIXME: GOT, PLT...
|
|
||||||
|
|
||||||
# We don't do the hoops through DEFINED to provide [_]*start, as it
|
# We don't do the hoops through DEFINED to provide [_]*start, as it
|
||||||
# doesn't work with --gc-sections, and the start-name is pretty fixed
|
# doesn't work with --gc-sections, and the start-name is pretty fixed
|
||||||
# anyway.
|
# anyway.
|
||||||
|
Reference in New Issue
Block a user