From: Joseph K. <jk...@us...> - 2021-04-05 07:09:22
|
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 |