Changeset 69690f6 in rtems


Ignore:
Timestamp:
Apr 21, 2020, 11:10:07 AM (9 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
70b803b5
Parents:
9b5af6a
git-author:
Sebastian Huber <sebastian.huber@…> (04/21/20 11:10:07)
git-committer:
Sebastian Huber <sebastian.huber@…> (07/05/20 10:56:01)
Message:

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@…>
Date: Fri Apr 14 23:16:25 2000 +0000

Location:
bsps/powerpc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • bsps/powerpc/psim/start/start.S

    r9b5af6a r69690f6  
    2525
    2626.LCTOC1 = .+32768
    27 
    28         .extern FUNC_NAME(atexit)
    29         .globl  FUNC_NAME(__atexit)
    30         .section ".sdata","aw"
    31         .align  2
    32 FUNC_NAME(__atexit):                    /* tell C's eabi-ctor's we have an atexit function */
    33         .long   FUNC_NAME(atexit)@fixup /* and that it is to register __do_global_dtors */
    34 
    35         .section ".fixup","aw"
    36         .align  2
    37         .long   FUNC_NAME(__atexit)
    3827
    3928        .section ".got2","aw"
  • bsps/powerpc/ss555/start/start.S

    r9b5af6a r69690f6  
    185185.L_D4_e:
    186186.L_D2:
    187         .previous
    188 
    189 /*
    190  * Tell C's eabi-ctor's that we have an atexit function,
    191  * and that it is to register __do_global_dtors.
    192  */
    193         EXTERN_PROC(atexit)
    194         PUBLIC_VAR(__atexit)
    195         .section ".sdata","aw"
    196         .align  2
    197 SYM(__atexit):
    198         EXT_PROC_REF(atexit)@fixup
    199         .previous
    200 
    201         .section ".fixup","aw"
    202         .align  2
    203         EXT_SYM_REF(__atexit)
    204187        .previous
    205188
Note: See TracChangeset for help on using the changeset viewer.