diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-11-14 07:00:59 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-11-14 07:02:03 +0100 |
commit | 28bf4cae7878f4e47cc24c114fc9c5567247ecc1 (patch) | |
tree | 3c6872dd8c735e4cb41ce8b1736f670987866fea /cpukit/libcsupport | |
parent | bsps/irq: Use rtems_malloc() (diff) | |
download | rtems-28bf4cae7878f4e47cc24c114fc9c5567247ecc1.tar.bz2 |
or1k: Support GCC 9
Close #3602.
Diffstat (limited to 'cpukit/libcsupport')
-rw-r--r-- | cpukit/libcsupport/src/newlibc_exit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/libcsupport/src/newlibc_exit.c b/cpukit/libcsupport/src/newlibc_exit.c index 4af153fa2f..b59f00446e 100644 --- a/cpukit/libcsupport/src/newlibc_exit.c +++ b/cpukit/libcsupport/src/newlibc_exit.c @@ -20,7 +20,8 @@ /* FIXME: These defines are a blatant hack */ #if defined(__USE_INIT_FINI__) - #if defined(__ARM_EABI__) || defined(__riscv) + #if defined(__ARM_EABI__) || defined(__riscv) \ + || defined(__or1k__) || defined(__or1knd__) #define FINI_SYMBOL __libc_fini_array #else #define FINI_SYMBOL _fini |