about summary refs log tree commit diff
path: root/crt
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2013-02-03 01:26:33 -0500
committerRich Felker <dalias@aerifal.cx>2013-02-03 01:26:33 -0500
commitd432b2c057fc64256645422382c2f7e32c45b3cc (patch)
tree4b60bcf29140477c45a0f6893da61681d5e99963 /crt
parenta47ad3ebce8e20a5d72535996a0d0d5458241213 (diff)
downloadmusl-d432b2c057fc64256645422382c2f7e32c45b3cc.tar.gz
musl-d432b2c057fc64256645422382c2f7e32c45b3cc.tar.xz
musl-d432b2c057fc64256645422382c2f7e32c45b3cc.zip
fix regression that made shared libs crash on arm
Diffstat (limited to 'crt')
-rw-r--r--crt/arm/crti.s2
-rw-r--r--crt/arm/crtn.s2
2 files changed, 4 insertions, 0 deletions
diff --git a/crt/arm/crti.s b/crt/arm/crti.s
index 2f658b76..35ae6ae6 100644
--- a/crt/arm/crti.s
+++ b/crt/arm/crti.s
@@ -5,6 +5,8 @@ _init:
 
 .weak __fini_array_start
 .weak __fini_array_end
+.hidden __fini_array_start
+.hidden __fini_array_end
 
 .section .fini
 .global _fini
diff --git a/crt/arm/crtn.s b/crt/arm/crtn.s
index 928e0686..eb0e883e 100644
--- a/crt/arm/crtn.s
+++ b/crt/arm/crtn.s
@@ -1,5 +1,7 @@
 .weak __init_array_start
 .weak __init_array_end
+.hidden __init_array_start
+.hidden __init_array_end
 
 .section .init
 	adr lr, 1f