diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2024-05-01 05:01:42 -0700 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2024-05-21 06:07:32 +0200 |
commit | 7be734848bd619c44a3b2639ce164558534111ba (patch) | |
tree | dd1d67eda132020463c5623845ed6b804b688b86 /libc | |
parent | eec59f10c4541a6fb6861332bc8428259a232c32 (diff) |
xtensa: make _init and _fini hidden
Make _init and _fini hidden so that references to these symbols bind
locally in the shared objects. glibc does the same.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'libc')
-rw-r--r-- | libc/sysdeps/linux/xtensa/crti.S | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/xtensa/crti.S b/libc/sysdeps/linux/xtensa/crti.S index ba804eb45..43e66e308 100644 --- a/libc/sysdeps/linux/xtensa/crti.S +++ b/libc/sysdeps/linux/xtensa/crti.S @@ -3,6 +3,7 @@ .section .init .align 4 .global _init + .hidden _init .type _init, @function _init: #if defined(__XTENSA_WINDOWED_ABI__) @@ -17,6 +18,7 @@ _init: .section .fini .align 4 .global _fini + .hidden _fini .type _fini, @function _fini: #if defined(__XTENSA_WINDOWED_ABI__) |