]> git.baikalelectronics.ru Git - uboot.git/commit
relocate-rela: use compiler.h endian macros
authorJonathan Gray <jsg@jsg.id.au>
Sun, 11 Dec 2016 03:51:13 +0000 (14:51 +1100)
committerTom Rini <trini@konsulko.com>
Tue, 27 Dec 2016 16:24:12 +0000 (11:24 -0500)
commit6ccad2ac40abeeedadefe1b9940f40a2f3ffc0c2
tree854b4b6ca98ef54db9a6bd8a7d8f87f8e7c5d5f4
parent9612ef6494d5b33a26753d7b9a656eebd3415f3f
relocate-rela: use compiler.h endian macros

Use the endian macros from u-boot's compiler.h instead of duplicating
the definitions.

This also avoids a build error on OpenBSD by removing swap64 which
collides with a system definition in endian.h pulled in by inttypes.h.

Signed-off-by: Jonathan Gray <jsg@jsg.id.au>
tools/relocate-rela.c