]> git.ipfire.org Git - people/ms/u-boot.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)
commit43db3e3b3d7d24c080ee04605a0f045939137b19
tree854b4b6ca98ef54db9a6bd8a7d8f87f8e7c5d5f4
parenta5acafb25598ef409f48a7884316a9a4e96c63a4
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