m.f> 4. This is a bit unrelated to objtool, but I noticed that
m.f> elfdefinitions.h contains several enums with values that
m.f> are too big for int (specifically, EF_PPC_EMB, SHF_COMDEF,
m.f> SHF_MIPS_STRING, SHF_EXCLUDE, SHF_MASKPROC, SHT_LOUSER, and
m.f> SHT_HIUSER). The C standard says that all enumerator values
m.f> must be representable as int, and have type int.

FYI, as of [r3937] these constants use (generated) #defines instead
of enumerations.

Thank you for pointing out this portability issue.

Regards,
Joseph Koshy


_______________________________________________
Elftoolchain-developers mailing list
Elftoolchain-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/elftoolchain-developers

Reply via email to