Commit 4fdee450 authored by Ard Biesheuvel's avatar Ard Biesheuvel Committed by Martin Storsjo

Upstream commit "Fix PIC relocations for non-Bsymbolic builds"

The ARM assembly 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.

Adapted from upstream commit 97e3e847179c17eb9059fb322413b6facd3e5a03.
parent 44a1c92c
......@@ -29,6 +29,7 @@
.global Filt_6k_7k_asm
.extern voAWB_Copy
.extern voAWB_fir_6k_7k
.hidden voAWB_fir_6k_7k
Filt_6k_7k_asm:
......
......@@ -32,6 +32,7 @@
.section .text
.global pred_lt4_asm
.extern voAWB_inter4_2
.hidden voAWB_inter4_2
pred_lt4_asm:
......
......@@ -28,6 +28,7 @@
.section .text
.global Filt_6k_7k_asm
.extern voAWB_fir_6k_7k
.hidden voAWB_fir_6k_7k
Filt_6k_7k_asm:
......
......@@ -29,6 +29,7 @@
.section .text
.global pred_lt4_asm
.extern voAWB_inter4_2
.hidden voAWB_inter4_2
pred_lt4_asm:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment