Ignore:
Timestamp:
08/15/11 08:23:49 (12 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.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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
Note: See TracChangeset for help on using the changeset viewer.