diff options
| -rw-r--r-- | gcc/ChangeLog | 6 | ||||
| -rw-r--r-- | gcc/config/arm/crti.asm | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f0e9605..928e88c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 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 |
