mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2025-07-05 05:15:23 +02:00
modpost: remove unused HOST_ELFCLASS
HOST_ELFCLASS is output to elfconfig.h, but it is not used in modpost. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>
This commit is contained in:
parent
431c1646e1
commit
4f32f799a9
|
@ -39,12 +39,6 @@ main(int argc, char **argv)
|
|||
exit(1);
|
||||
}
|
||||
|
||||
if (sizeof(unsigned long) == 4) {
|
||||
printf("#define HOST_ELFCLASS ELFCLASS32\n");
|
||||
} else if (sizeof(unsigned long) == 8) {
|
||||
printf("#define HOST_ELFCLASS ELFCLASS64\n");
|
||||
}
|
||||
|
||||
endian_test.s = 0x0102;
|
||||
if (memcmp(endian_test.c, "\x01\x02", 2) == 0)
|
||||
printf("#define HOST_ELFDATA ELFDATA2MSB\n");
|
||||
|
|
Loading…
Reference in New Issue
Block a user