Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e17bb5ca authored by Ard Biesheuvel's avatar Ard Biesheuvel Committed by Dan Albert
Browse files

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.

Signed-off-by: default avatarArd Biesheuvel <ard.biesheuvel@gmail.com>
Bug: 16853291
Change-Id: If7bc8e5bb6a2c63b9df33666d56e6c42f398fd47
(cherry picked from commit 97e3e847)
parent 1198a339
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -29,6 +29,7 @@
          .global  Filt_6k_7k_asm
          .extern  voAWB_Copy
          .extern  fir_6k_7k
          .hidden  fir_6k_7k

Filt_6k_7k_asm:

+1 −0
Original line number Diff line number Diff line
@@ -32,6 +32,7 @@
         .section  .text
	 .global   pred_lt4_asm
	 .extern   inter4_2
	 .hidden   inter4_2

pred_lt4_asm:

+1 −0
Original line number Diff line number Diff line
@@ -28,6 +28,7 @@
          .section  .text
          .global   Filt_6k_7k_asm
          .extern   fir_6k_7k
          .hidden   fir_6k_7k

Filt_6k_7k_asm:

+1 −0
Original line number Diff line number Diff line
@@ -29,6 +29,7 @@
          .section  .text
          .global   pred_lt4_asm
          .extern   inter4_2
          .hidden   inter4_2

pred_lt4_asm:

+1 −0
Original line number Diff line number Diff line
@@ -35,6 +35,7 @@
.text

.extern pqmfSynthWin
.hidden pqmfSynthWin



Loading