Properly mark the type for ARM assembly functions.
These functions may be called by either ARM or Thumb, and LLD has gotten more strict. The global symbols must be marked with the proper type annotations in order for the relocations to be correct. ld.lld: error: external/libxaac/decoder/armv7/ixheaacd_qmf_dec_armv7.c:353:(.text.ixheaacd_esbr_cos_sin_mod+0x3A0): branch and link relocation: R_ARM_THM_CALL to non STT_FUNC symbol: ixheaacd_esbr_cos_sin_mod_loop2 interworking not performed; consider using directive '.type ixheaacd_esbr_cos_sin_mod_loop2, %function' to give symbol type STT_FUNC if interworking between ARM and Thumb is required Bug: 155835175 Test: mm for ARM based build Change-Id: I063cd9716402aaaebbd4273776eadb70314bf5f9
This commit is contained in:
parent
d6f04bfbc2
commit
331810f057
22 changed files with 22 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
|||
.text
|
||||
.p2align 2
|
||||
.global ixheaacd_complex_fft_p2_asm
|
||||
.type ixheaacd_complex_fft_p2_asm, %function
|
||||
|
||||
ixheaacd_complex_fft_p2_asm:
|
||||
STMFD sp!, {r0-r12, lr}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
.text
|
||||
.p2align 2
|
||||
.global ixheaacd_complex_ifft_p2_asm
|
||||
.type ixheaacd_complex_ifft_p2_asm, %function
|
||||
|
||||
ixheaacd_complex_ifft_p2_asm:
|
||||
STMFD sp!, {r0-r12, lr}
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@
|
|||
.text
|
||||
.p2align 2
|
||||
.global ixheaacd_dct3_32
|
||||
.type ixheaacd_dct3_32, %function
|
||||
.extern ixheaacd_radix4bfly
|
||||
.hidden ixheaacd_radix4bfly
|
||||
.extern ixheaacd_postradixcompute4
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@
|
|||
.hidden ixheaacd_sbr_imdct_using_fft
|
||||
|
||||
.global ixheaacd_dec_DCT2_64_asm
|
||||
.type ixheaacd_dec_DCT2_64_asm, %function
|
||||
|
||||
ixheaacd_dec_DCT2_64_asm:
|
||||
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@
|
|||
.p2align 2
|
||||
|
||||
.global ixheaacd_esbr_cos_sin_mod_loop1
|
||||
.type ixheaacd_esbr_cos_sin_mod_loop1, %function
|
||||
ixheaacd_esbr_cos_sin_mod_loop1:
|
||||
|
||||
STMFD sp!, {r4-r12, r14}
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@
|
|||
.p2align 2
|
||||
|
||||
.global ixheaacd_esbr_cos_sin_mod_loop2
|
||||
.type ixheaacd_esbr_cos_sin_mod_loop2, %function
|
||||
ixheaacd_esbr_cos_sin_mod_loop2:
|
||||
|
||||
STMFD sp!, {r4-r12, r14}
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@
|
|||
.extern ixheaacd_esbr_cos_sin_mod
|
||||
.hidden ixheaacd_esbr_cos_sin_mod
|
||||
.global ixheaacd_esbr_fwd_modulation
|
||||
.type ixheaacd_esbr_fwd_modulation, %function
|
||||
ixheaacd_esbr_fwd_modulation:
|
||||
|
||||
STMFD sp!, {r4-r12, lr}
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@
|
|||
.text
|
||||
.p2align 2
|
||||
.global ixheaacd_esbr_qmfsyn64_winadd
|
||||
.type ixheaacd_esbr_qmfsyn64_winadd, %function
|
||||
|
||||
ixheaacd_esbr_qmfsyn64_winadd: @ PROC
|
||||
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@
|
|||
|
||||
|
||||
.global ixheaacd_esbr_radix4bfly
|
||||
.type ixheaacd_esbr_radix4bfly, %function
|
||||
|
||||
ixheaacd_esbr_radix4bfly:
|
||||
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@
|
|||
.extern ixheaacd_cos_sin_mod
|
||||
.hidden ixheaacd_cos_sin_mod
|
||||
.global ixheaacd_fwd_modulation
|
||||
.type ixheaacd_fwd_modulation, %function
|
||||
ixheaacd_fwd_modulation:
|
||||
|
||||
STMFD sp!, {r3-r9, r12, lr}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
.text
|
||||
.p2align 2
|
||||
.global ixheaacd_mps_complex_fft_64_asm
|
||||
.type ixheaacd_mps_complex_fft_64_asm, %function
|
||||
|
||||
ixheaacd_mps_complex_fft_64_asm:
|
||||
@LDR r4,[sp]
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@
|
|||
.text
|
||||
.p2align 2
|
||||
.global ixheaacd_postradixcompute2
|
||||
.type ixheaacd_postradixcompute2, %function
|
||||
|
||||
|
||||
ixheaacd_postradixcompute2:
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@
|
|||
.text
|
||||
.p2align 2
|
||||
.global ixheaacd_postradixcompute4
|
||||
.type ixheaacd_postradixcompute4, %function
|
||||
|
||||
|
||||
ixheaacd_postradixcompute4:
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@
|
|||
.text
|
||||
.p2align 2
|
||||
.global ixheaacd_radix4bfly
|
||||
.type ixheaacd_radix4bfly, %function
|
||||
|
||||
ixheaacd_radix4bfly:
|
||||
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@
|
|||
.p2align 2
|
||||
|
||||
.global ixheaacd_sbr_imdct_using_fft
|
||||
.type ixheaacd_sbr_imdct_using_fft, %function
|
||||
ixheaacd_sbr_imdct_using_fft:
|
||||
|
||||
STMFD sp!, {r4-r12, lr}
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@
|
|||
.text
|
||||
.p2align 2
|
||||
.global ixheaacd_sbr_qmfanal32_winadds
|
||||
.type ixheaacd_sbr_qmfanal32_winadds, %function
|
||||
|
||||
ixheaacd_sbr_qmfanal32_winadds:
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
.text
|
||||
.p2align 2
|
||||
.global ixheaacd_sbr_qmfanal32_winadds_eld
|
||||
.type ixheaacd_sbr_qmfanal32_winadds_eld, %function
|
||||
|
||||
ixheaacd_sbr_qmfanal32_winadds_eld:
|
||||
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@
|
|||
.text
|
||||
.p2align 2
|
||||
.global ixheaacd_sbr_qmfsyn64_winadd
|
||||
.type ixheaacd_sbr_qmfsyn64_winadd, %function
|
||||
|
||||
ixheaacd_sbr_qmfsyn64_winadd:
|
||||
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@
|
|||
.text
|
||||
.p2align 2
|
||||
.global ixheaacd_shiftrountine
|
||||
.type ixheaacd_shiftrountine, %function
|
||||
ixheaacd_shiftrountine:
|
||||
CMP r3, #0
|
||||
STMFD sp!, {r4-r7, r12}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
.text
|
||||
.p2align 2
|
||||
.global ixheaacd_shiftrountine_with_rnd_eld
|
||||
.type ixheaacd_shiftrountine_with_rnd_eld, %function
|
||||
|
||||
ixheaacd_shiftrountine_with_rnd_eld:
|
||||
STMFD sp!, {r4-r12, r14}
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@
|
|||
.text
|
||||
.p2align 2
|
||||
.global ixheaacd_shiftrountine_with_rnd
|
||||
.type ixheaacd_shiftrountine_with_rnd, %function
|
||||
ixheaacd_shiftrountine_with_rnd:
|
||||
STMFD sp!, {r4-r12, r14}
|
||||
MOV r4, #0x1f
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@
|
|||
.text
|
||||
.p2align 2
|
||||
.global ixheaacd_shiftrountine_with_rnd_hq
|
||||
.type ixheaacd_shiftrountine_with_rnd_hq, %function
|
||||
ixheaacd_shiftrountine_with_rnd_hq:
|
||||
|
||||
STMFD sp!, {r4-r12, r14}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue