diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-04-21 13:10:07 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-07-05 12:56:01 +0200 |
commit | 69690f60b495ccd6cd18f1a2f82c77acb08f45a4 (patch) | |
tree | 21e3a4f9ec44a829b519950212d4fabf98d0fd2c | |
parent | bsps/powerpc: Fix tlbie instruction usage (diff) | |
download | rtems-69690f60b495ccd6cd18f1a2f82c77acb08f45a4.tar.bz2 |
bsps/powerpc: Remove __atexit form start.o
Remove superflous __atexit stuff in start.o. It is no longer required
by GCC and may cause linker problems.
See GCC commit:
commit 362c63a5e8b5aacfff3e5af0911e42ba7c775042
Author: Geoff Keating <geoffk@cygnus.com>
Date: Fri Apr 14 23:16:25 2000 +0000
-rw-r--r-- | bsps/powerpc/psim/start/start.S | 11 | ||||
-rw-r--r-- | bsps/powerpc/ss555/start/start.S | 17 |
2 files changed, 0 insertions, 28 deletions
diff --git a/bsps/powerpc/psim/start/start.S b/bsps/powerpc/psim/start/start.S index 645a0222c9..c56e246239 100644 --- a/bsps/powerpc/psim/start/start.S +++ b/bsps/powerpc/psim/start/start.S @@ -25,17 +25,6 @@ .LCTOC1 = .+32768 - .extern FUNC_NAME(atexit) - .globl FUNC_NAME(__atexit) - .section ".sdata","aw" - .align 2 -FUNC_NAME(__atexit): /* tell C's eabi-ctor's we have an atexit function */ - .long FUNC_NAME(atexit)@fixup /* and that it is to register __do_global_dtors */ - - .section ".fixup","aw" - .align 2 - .long FUNC_NAME(__atexit) - .section ".got2","aw" .Ltable = .-.LCTOC1 .long .LCTOC1 /* address we think .LCTOC1 is loaded at */ diff --git a/bsps/powerpc/ss555/start/start.S b/bsps/powerpc/ss555/start/start.S index 443a40f0ad..121403e1fc 100644 --- a/bsps/powerpc/ss555/start/start.S +++ b/bsps/powerpc/ss555/start/start.S @@ -186,23 +186,6 @@ .L_D2: .previous -/* - * Tell C's eabi-ctor's that we have an atexit function, - * and that it is to register __do_global_dtors. - */ - EXTERN_PROC(atexit) - PUBLIC_VAR(__atexit) - .section ".sdata","aw" - .align 2 -SYM(__atexit): - EXT_PROC_REF(atexit)@fixup - .previous - - .section ".fixup","aw" - .align 2 - EXT_SYM_REF(__atexit) - .previous - /* That should do it */ /* |