mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-26 06:08:20 +00:00
@@ -3,7 +3,7 @@
|
||||
|
||||
*startfile:
|
||||
%{!qrtems: %(old_startfile)} \
|
||||
%{!nostdlib: %{qrtems: crti.o%s crtbegin.o%s}}
|
||||
%{!nostdlib: %{qrtems: crtbegin.o%s}}
|
||||
|
||||
*endfile:
|
||||
%{!qrtems: %(old_endfile)} %{qrtems: crtend.o%s crtn.o%s}
|
||||
%{!qrtems: %(old_endfile)} %{qrtems: crtend.o%s}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -29,7 +29,8 @@
|
||||
* initialization this target and compiler version uses.
|
||||
*/
|
||||
#if defined(__USE_INIT_FINI__)
|
||||
#if defined(__ARM_EABI__) || defined(__riscv)
|
||||
#if defined(__ARM_EABI__) || defined(__riscv) \
|
||||
|| defined(__or1k__) || defined(__or1knd__)
|
||||
#define INIT_NAME __libc_init_array
|
||||
#else
|
||||
#define INIT_NAME _init
|
||||
|
||||
Reference in New Issue
Block a user