]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: set --be8 when linking modules
authorBen Dooks <ben.dooks@codethink.co.uk>
Mon, 22 Jul 2013 15:32:19 +0000 (16:32 +0100)
committerBen Dooks <ben.dooks@codethink.co.uk>
Sat, 19 Oct 2013 19:46:35 +0000 (20:46 +0100)
commit0ab89d0bf8054c3146ec06df357946bb87f36729
treeaaa65b475258e06bfc15b401e59f645f54b9d95c
parentf592d323bc2353db871d1e840f05b27e0730fb10
ARM: set --be8 when linking modules

To avoid having to make every text section swap the instruction order
of all instructions, make sure modules are built also built with --be8
(as is the current kernel final link).

If we do not do this, we would end up having to swap all instructions
when loading a module, instead of just the instructions that we are
applying ELF relocations to.

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Reviewed-by: Dave Martin <Dave.Martin@arm.com>
arch/arm/Makefile