Replace bltzal with lapc for MIPS R6 builds.
commitcc82a850a0ebfbacb7fb62ea2c5b7dd6aebb005d
authorSteve Ellcey <sellcey@imgtec.com>
Wed, 23 Dec 2015 16:38:41 +0000 (23 08:38 -0800)
committerWaldemar Brodkorb <wbx@uclibc-ng.org>
Wed, 23 Dec 2015 20:03:00 +0000 (23 21:03 +0100)
tree9a5f0309c1f20a4c7ba85e9dc57f7b9d7e6c2e2f
parent2636b17616a19d628c3dbc373ebae67ef6e2b1f6
Replace bltzal with lapc for MIPS R6 builds.

The R6 version of MIPS does not support the bltzal instruction.  This
patch changes dl-startup.h and dl-sysdep.h to use lapc on R6 instead.
lapc is a new R6 insruction so older systems need to continue to use
bltzal in order to load register $31.

Signed-off-by: Steve Ellcey <sellcey@imgtec.com>
ldso/ldso/mips/dl-startup.h
ldso/ldso/mips/dl-sysdep.h