Changeset 995e91e8 in rtems


Ignore:
Timestamp:
Jun 28, 2018, 6:21:44 AM (10 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
5235238
Parents:
694e79a0
git-author:
Sebastian Huber <sebastian.huber@…> (06/28/18 06:21:44)
git-committer:
Sebastian Huber <sebastian.huber@…> (06/29/18 08:04:38)
Message:

riscv: Fix global construction

Update #3433.

Location:
cpukit
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libcsupport/src/newlibc_exit.c

    r694e79a0 r995e91e8  
    2121
    2222  #if defined(__USE_INIT_FINI__)
    23     #if defined(__ARM_EABI__)
     23    #if defined(__ARM_EABI__) || defined(__riscv)
    2424      #define FINI_SYMBOL __libc_fini_array
    2525    #else
  • cpukit/score/cpu/riscv/cpu.c

    r694e79a0 r995e91e8  
    9898extern char bsp_start_vector_table_begin[];
    9999
    100 void init(void);
    101 void fini(void);
     100void _init(void);
    102101
    103 void _init()
     102void _fini(void);
     103
     104void _init(void)
    104105{
    105106}
    106107
    107 void _fini()
     108void _fini(void)
    108109{
    109110}
  • cpukit/score/src/threadhandler.c

    r694e79a0 r995e91e8  
    3030 */
    3131#if defined(__USE_INIT_FINI__)
    32   #if defined(__ARM_EABI__)
     32  #if defined(__ARM_EABI__) || defined(__riscv)
    3333    #define INIT_NAME __libc_init_array
    3434  #else
Note: See TracChangeset for help on using the changeset viewer.