diff options
author | Nick Clifton <nickc@cambridge.redhat.com> | 2001-11-29 16:05:59 +0000 |
---|---|---|
committer | Nick Clifton <nickc@gcc.gnu.org> | 2001-11-29 16:05:59 +0000 |
commit | 38f90bec56b807e48a783e4c1372314627e1d833 (patch) | |
tree | 574d296e88a5c477212123aec038611771d1e8c4 /gcc/config/arm | |
parent | 243ebca0421dac46c502644ffec0123c39c64c46 (diff) | |
download | gcc-38f90bec56b807e48a783e4c1372314627e1d833.zip gcc-38f90bec56b807e48a783e4c1372314627e1d833.tar.gz gcc-38f90bec56b807e48a783e4c1372314627e1d833.tar.bz2 |
Mark _init and _fini as Thumb functions if compiled in thumb mode.
From-SVN: r47441
Diffstat (limited to 'gcc/config/arm')
-rw-r--r-- | gcc/config/arm/crti.asm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/config/arm/crti.asm b/gcc/config/arm/crti.asm index 3799e92..f3741db 100644 --- a/gcc/config/arm/crti.asm +++ b/gcc/config/arm/crti.asm @@ -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 |