[15/21] ARC: testsuite fix: elf/check-initfini
Commit Message
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
---
ChangeLog | 1 +
sysdeps/arc/crti.S | 2 ++
2 files changed, 3 insertions(+)
@@ -108,6 +108,7 @@
* sysdeps/arc/dl-machine.h: replace _start with __start.
* sysdeps/arc/start.S: likewise.
* sysdeps/arc/entry.h: Add ENTRY_POINT define check.
+ * sysdeps/arc/crti.S: add .hidden annotations.
2018-12-17 Joseph Myers <joseph@codesourcery.com>
@@ -53,6 +53,7 @@
.section .init
.align 4
.global _init
+ .hidden _init
.type _init,@function
_init:
st.a blink, [sp,-4]
@@ -69,6 +70,7 @@ _init:
.section .fini
.align 4
.global _fini
+ .hidden _fini
.type _fini,@function
_fini:
st.a blink,[sp,-4]