OpenGrok
Cross Reference: crt0.S
xref
: /
src
/
lib
/
csu
/
arch
/
sh3
/
crt0.S
Home
|
History
|
Annotate
|
Download
|
only in
sh3
History log of
/src/lib/csu/arch/sh3/crt0.S
Revision
Date
Author
Comments
1.7
26-Nov-2018
joerg
Do not pass the main object handle from the assembler startup stub to
the common ___start routine. It's only used for a pointless magic
version check. Thanks to martin@ for testing various architectures.
1.6
29-Aug-2016
uwe
branches: 1.6.12; 1.6.14;
___start is __dso_hidden, so use CALL_DATUM_LOCAL and drop the PIC
prologue from __start.
1.5
28-Aug-2016
christos
fix pic code; otherwise we generate text relocations.
1.4
31-Jan-2012
uwe
New ___start() C function takes 3 arguments instead of 6 and fetches
argc, argv and environ from ps_strings instead. Adjust the trampoline
accordingly.
Fix brain fart in previous: direct jump is jmp @rN, not bsrf rN.
1.3
29-Jan-2012
uwe
Since it's in a separate file now, we cannot use direct branch to label.
1.2
28-Jan-2012
uwe
Asm cosmetic. Add a comment that explains what this trampoline does.
1.1
07-Aug-2010
joerg
branches: 1.1.6;
Switch i386 and x86_64 to the new CRT layout. The crt0.c body is shared
between all platforms and a small assembler stub in crt0.S is used for
setting up the proper stack and whatever else MD needs.
Extract crti.S and crtn. from the old dot_init.h files. Prepare other
platforms that use the 6-argument form of __(_)start for this.
Rewrite the crtbegin and crtend modules in assembler to make them
compiler independent. Document the interface in README.
1.1.6.1
17-Apr-2012
yamt
sync with head
1.6.14.1
10-Jun-2019
christos
Sync with HEAD
1.6.12.1
26-Dec-2018
pgoyette
Sync with HEAD, resolve a few conflicts
Indexes created Fri Oct 17 09:09:57 GMT 2025