Commit 38f90bec by Nick Clifton Committed by Nick Clifton

Mark _init and _fini as Thumb functions if compiled in thumb mode.

From-SVN: r47441
parent 243ebca0
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> 2001-11-28 Eric Christopher <echristo@redhat.com>
* config/mips/mips.c (override_options): Fix thinko in mips_tune * config/mips/mips.c (override_options): Fix thinko in mips_tune
......
...@@ -57,6 +57,9 @@ ...@@ -57,6 +57,9 @@
.section ".init" .section ".init"
.align 2 .align 2
.global _init .global _init
#ifdef __thumb__
.thumb_func
#endif
_init: _init:
FUNC_START FUNC_START
...@@ -64,6 +67,9 @@ _init: ...@@ -64,6 +67,9 @@ _init:
.section ".fini" .section ".fini"
.align 2 .align 2
.global _fini .global _fini
#ifdef __thumb__
.thumb_func
#endif
_fini: _fini:
FUNC_START FUNC_START
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment