Changeset 1f3585d1 in rtems


Ignore:
Timestamp:
Aug 15, 2011, 8:23:49 AM (9 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, master
Children:
6de36ed
Parents:
7b46d7a
Message:

2011-08-15 Sebastian Huber <sebastian.huber@…>

  • libcsupport/src/newlibc_exit.c, score/src/threadhandler.c: Added init/fini array support for ARM EABI. The libc_init_array() and libc_fini_array() functions are provided by Newlib.
Location:
cpukit
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r7b46d7a r1f3585d1  
     12011-08-15      Sebastian Huber <sebastian.huber@embedded-brains.de>
     2
     3        * libcsupport/src/newlibc_exit.c, score/src/threadhandler.c: Added
     4        init/fini array support for ARM EABI.  The __libc_init_array() and
     5        __libc_fini_array() functions are provided by Newlib.
     6
    172011-08-02      Joel Sherrill <joel.sherrill@oarcorp.com>
    28
  • cpukit/libcsupport/src/newlibc_exit.c

    r7b46d7a r1f3585d1  
    129129    #if defined(__m32r__)
    130130      #define FINI_SYMBOL __fini
     131    #elif defined(__ARM_EABI__)
     132      #define FINI_SYMBOL __libc_fini_array
    131133    #else
    132134      #define FINI_SYMBOL _fini
     
    142144   *  run the global destructors now.
    143145   */
    144   #if defined(__USE_INIT_FINI__)
     146  #if defined(FINI_SYMBOL)
    145147    FINI_SYMBOL();
    146148  #endif
  • cpukit/score/src/threadhandler.c

    r7b46d7a r1f3585d1  
    3838  #if defined(__M32R__)
    3939    #define INIT_NAME __init
     40  #elif defined(__ARM_EABI__)
     41    #define INIT_NAME __libc_init_array
    4042  #else
    4143    #define INIT_NAME _init
Note: See TracChangeset for help on using the changeset viewer.