mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-19 03:40:26 +08:00
Mark _init and _fini as Thumb functions if compiled in thumb mode.
From-SVN: r47441
This commit is contained in:
parent
243ebca042
commit
38f90bec56
@ -1,3 +1,9 @@
|
||||
2001-11-29 Nick Clifton <nickc@cambridge.redhat.com>
|
||||
|
||||
* config/arm/crti.asm (_init): Add .thumb_func if compiled
|
||||
with -mthumb.
|
||||
(_fini): Add .thumb_func if compiled with -mthumb.
|
||||
|
||||
2001-11-28 Eric Christopher <echristo@redhat.com>
|
||||
|
||||
* config/mips/mips.c (override_options): Fix thinko in mips_tune
|
||||
|
@ -57,6 +57,9 @@
|
||||
.section ".init"
|
||||
.align 2
|
||||
.global _init
|
||||
#ifdef __thumb__
|
||||
.thumb_func
|
||||
#endif
|
||||
_init:
|
||||
FUNC_START
|
||||
|
||||
@ -64,6 +67,9 @@ _init:
|
||||
.section ".fini"
|
||||
.align 2
|
||||
.global _fini
|
||||
#ifdef __thumb__
|
||||
.thumb_func
|
||||
#endif
|
||||
_fini:
|
||||
FUNC_START
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user