Adapted from upstream commit 7cff5732dd9876ee9aabf08147e7efe3503637ff.
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.
This patch prevents ARM neon code from being included for Arm64, where ARM is the 2nd architecture. Adapted from upstream commit db46c2f8ff4b305a217adbbd406a61d10ae71db7.
Adapted from upstream commit 0e6858d6aea12fc585a8c7d217c1271878655081.
In 74bc3e133bd59a65dbed70b5fc89549f04a545e2, a bunch of text relocations were cleaned up from amrwbenc. Looks like we forgot one. Fixed. Change-Id: I80d4c68be435c3461731374d2b6d3bdbd61354a5 Adapted from upstream commit c40e9b86092e67f245ba8f05244f578b26e49fe2.
Change-Id: I47235fc4afe6b916da1e999401fb3c8b12c94e62 Adapted from upstream commit 74bc3e133bd59a65dbed70b5fc89549f04a545e2.
…nder /frameworks/av/" Change-Id: I0a3af3e2abdedebd5934f3d941d01c32cfc75e26 Adpated from upstream commit 3d51d5cb53cc630709a0ba78d0e60501a675f2d5.
…encoders." Change-Id: Ifbdf252ee312c9cb5ab29498f1e06dae8f23faf7 Adapted from upstream commit ded61aa958278147b5a150c189f86d025165f095.
Change-Id: Iebfb2696783a0163369ba4e8ef72e19ee76ad893 Adapted from upstream commit 83f70f4472e9b0cacc5d372eddfcef4b02662d10.
Since the Length field is unsigned, the comparison will always be false. The corresponding code in the aac encoder doesn't have any check for Length. This avoids a warning about comparison always being false, if building with -W (as the source is built in android).
Change-Id: I1de629b4632a4b3187ca1a28d6416daccd35f924 Adapted from upstream commit c6aacce37191e1cc79cfeba13b39899f59c68c3b.