1
0
mirror of https://github.com/upx/upx.git synced 2025-08-07 22:46:51 +08:00

Cosmetic cleanup.

This commit is contained in:
Markus F.X.J. Oberhumer
2006-12-31 15:51:17 +01:00
parent 3a6c574376
commit c04737ce20

View File

@ -28,9 +28,9 @@
/************************************************************************* /*************************************************************************
// Use the preprocessor to work around // Use the preprocessor to work around
// - that the types using these enums have to be PODs, and // - that the types embedding these enums have to be PODs, and
// deriving from an empty base class does not yield a POD // deriving from an empty base class (which is the ususal C++ way
// any more // of "importing" enums) does not yield a POD any more
// - that older compilers do not correctly perform EBCO // - that older compilers do not correctly perform EBCO
**************************************************************************/ **************************************************************************/
@ -49,15 +49,15 @@
}; };
enum { // e_ident[EI_DATA] enum { // e_ident[EI_DATA]
ELFDATA2LSB = 1, /* 2's complement, little endian */ ELFDATA2LSB = 1, /* 2's complement, little endian */
ELFDATA2MSB = 2 /* 2's complement, big endian */ ELFDATA2MSB = 2, /* 2's complement, big endian */
}; };
enum { // e_ident[EI_OSABI] enum { // e_ident[EI_OSABI]
ELFOSABI_NONE = 0, // == ELFOSABI_SYSV ELFOSABI_NONE = 0, // == ELFOSABI_SYSV
ELFOSABI_NETBSD = 2, ELFOSABI_NETBSD = 2,
ELFOSABI_LINUX = 3, ELFOSABI_LINUX = 3,
ELFOSABI_FREEBSD = 9, ELFOSABI_FREEBSD = 9,
ELFOSABI_OPENBSD = 12, ELFOSABI_OPENBSD = 12,
ELFOSABI_ARM = 97 ELFOSABI_ARM = 97,
}; };
enum { // e_type enum { // e_type
ET_NONE = 0, /* No file type */ ET_NONE = 0, /* No file type */