]> git.wh0rd.org Git - elf2flt.git/commit
elf2flt: fix relocation support for R_ARM_TARGET types
authorGreg Ungerer <gerg@linux-m68k.org>
Fri, 19 Aug 2016 13:49:51 +0000 (23:49 +1000)
committerGreg Ungerer <gerg@linux-m68k.org>
Thu, 25 Aug 2016 01:09:20 +0000 (11:09 +1000)
commita87f68ae9e879360a9624f2a02999e67cfbe5a2f
tree4bfa8842c8f86e374edbf5b27c747713dc0797ab
parent257688d3c143fb98713e5f3255d3b92435618a41
elf2flt: fix relocation support for R_ARM_TARGET types

R_ARM_TARGET1 (and I think R_ARM_TARGET2) relocation types should be
treated in the same way as R_ARM_ABS32. Fix them to write out the addend
to the flat binary in network byte order.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
elf2flt.c