Skip to content

src/local-elf.h: fix big endian sh

Fabrice Fontaine requested to merge (removed):main into main

Fix the following build failure with big endian sh (e.g. sh4aeb):

In file included from nlist.c:44:
nlist.c: In function '__elf_is_okay__':
local-elf.h:223:25: error: 'ELFDATA2LMSB' undeclared (first use in this function); did you mean 'ELFDATA2LSB'?
  223 | #define ELF_TARG_DATA   ELFDATA2LMSB
      |                         ^~~~~~~~~~~~


Signed-off-by: Fabrice Fontaine

Merge request reports