Fix PIC relocations for non-Bsymbolic builds

The ARM assembler contains a couple of hand-coded PC relative references
to data defined in other object files. Make sure the externs are tagged
as hidden so the linker knows that it can resolve the reference locally
at build time.

Signed-off-by: Ard Biesheuvel <>
Bug: 16853291
Change-Id: I0bd7c7cd9fffa0dfb082f3650da3ad85e4011c49
(cherry picked from commit 277360226c7e0593767fa7f21cdacf0fdf024122)
diff --git a/Tremolo/dpen.s b/Tremolo/dpen.s
index f1bda1d..9bc6f18 100644
--- a/Tremolo/dpen.s
+++ b/Tremolo/dpen.s
@@ -44,6 +44,7 @@
 	.extern	oggpack_look
 	.extern	oggpack_eop
 	.extern	crc_lookup
+	.hidden	crc_lookup
diff --git a/Tremolo/mdctARM.s b/Tremolo/mdctARM.s
index 5ad3aee..0fcc68e 100644
--- a/Tremolo/mdctARM.s
+++ b/Tremolo/mdctARM.s
@@ -45,6 +45,8 @@
 	.extern	sincos_lookup0
 	.extern	sincos_lookup1
+	.hidden	sincos_lookup0
+	.hidden	sincos_lookup1
 	@ r0 = out