generic: fix unrecognized opcode wsbh when building for MIPS16.
authorFelix Fietkau <nbd@openwrt.org>
Sat, 31 Oct 2015 09:29:57 +0000 (09:29 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 31 Oct 2015 09:29:57 +0000 (09:29 +0000)
commit93efeef9b3aa4b723da42dfbd69f882c3d721df9
tree290bd0ac651bd8a5ee9aba8493a26dc1e61aeb63
parent180713b89b5464bd3f56ccc5dbca53b2542af2bc
generic: fix unrecognized opcode wsbh when building for MIPS16.

The issue was found and reported by hynman [1] when compiling reaver for ar71xx
(Big Endian MIPS).

    {standard input}: Assembler messages:
    {standard input}:79: Error: unrecognized opcode `wsbh $2,$2'
    {standard input}:90: Error: unrecognized opcode `wsbh $3,$17'
    {standard input}:208: Error: unrecognized opcode `wsbh $2,$2'
    make[3]: *** [builder.o] Error 1

The patch was already in upstream since kernel release 4.3-rc5.

 [1] https://github.com/openwrt/packages/commit/1e29676a8ac74f797f8ca799364681cec575ae6f#commitcomment-12901931

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
SVN-Revision: 47322
target/linux/generic/patches-3.18/133-MIPS-UAPI-Ignore-__arch_swab-16-32-64-when-using-MIP.patch [new file with mode: 0644]
target/linux/generic/patches-4.0/133-MIPS-UAPI-Ignore-__arch_swab-16-32-64-when-using-MIP.patch [new file with mode: 0644]
target/linux/generic/patches-4.1/133-MIPS-UAPI-Ignore-__arch_swab-16-32-64-when-using-MIP.patch [new file with mode: 0644]