diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-07-27 10:11:44 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-07-30 10:47:57 +0200 |
commit | 6158b30e3e9b1b582ae60b15d64e775fa1705483 (patch) | |
tree | 1a2d615c1b610996574650fba91d36e263afc57f /libgloss | |
parent | 62a5c6b02c4a0353eb024840113a991c357b4c43 (diff) | |
download | cygnal-6158b30e3e9b1b582ae60b15d64e775fa1705483.tar.gz cygnal-6158b30e3e9b1b582ae60b15d64e775fa1705483.tar.bz2 cygnal-6158b30e3e9b1b582ae60b15d64e775fa1705483.zip |
RISC-V: Do not use _init/_fini
Introduce new host configuration variable "have_init_fini" which is set
to "yes" by default. Override it for RISC-V to "no".
Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
Diffstat (limited to 'libgloss')
-rw-r--r-- | libgloss/riscv/crt0.S | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/libgloss/riscv/crt0.S b/libgloss/riscv/crt0.S index 3d2a12de5..588becfae 100644 --- a/libgloss/riscv/crt0.S +++ b/libgloss/riscv/crt0.S @@ -41,14 +41,3 @@ _start: call main tail exit .size _start, .-_start - - .global _init - .type _init, @function - .global _fini - .type _fini, @function -_init: -_fini: - # These don't have to do anything since we use init_array/fini_array. - ret - .size _init, .-_init - .size _fini, .-_fini |