platform_bionic/linker/arch
Park Ju Hyung ab2c5752c3 linker: convert 'mov pc' instruction to 'bx'
From Linux 3.17 6ebbf2ce437b33022d30badd49dc94d33ecfa498:

    ARMv6 and greater introduced a new instruction ("bx") which can be used
    to return from function calls.  Recent CPUs perform better when the
    "bx lr" instruction is used rather than the "mov pc, lr" instruction,
    and this sequence is strongly recommended to be used by the ARM
    architecture manual (section A.4.1.1).

Signed-off-by: Park Ju Hyung <qkrwngud825@gmail.com>

Test: No regressions detected
Test: Passes full CTS run

Change-Id: Ie268f9893e3df0f68fbfe82a13f3c7cc5c5909d8
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
2017-01-14 14:40:07 +00:00
..
arm linker: convert 'mov pc' instruction to 'bx' 2017-01-14 14:40:07 +00:00
arm64 Don't zero r1 on entry to the dynamic linker. 2014-07-08 21:38:32 -07:00
mips Replace .align with .balign for clarity 2016-10-27 05:11:56 -07:00
mips64 Replace .align with .balign for clarity 2016-10-27 05:11:56 -07:00
x86 Drop unnecessary execution permission for .cpp/.c/.h 2013-03-22 10:28:15 +08:00
x86_64 Don't zero r1 on entry to the dynamic linker. 2014-07-08 21:38:32 -07:00