We now have pretty, architecture-safe, structs and macros for kernel image headers and magic values. Use this to get rid of some hardcoding in the "file" command.
Leif Lindholm (2): commands/file: use definitions from arm/linux.h commands/file: use definitions from arm64/linux.h grub-core/commands/file.c | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) -- 2.11.0 _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel