include/elf.h: Appease nxstyle errors
This commit is contained in:
parent
f886d814b7
commit
63395b295f
@ -29,6 +29,16 @@
|
|||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
|
#define EI_NIDENT 16 /* Size of e_ident[] */
|
||||||
|
|
||||||
|
/* NOTE: elf64.h and elf32.h refer EI_NIDENT defined above */
|
||||||
|
|
||||||
|
#ifdef CONFIG_ELF_64BIT
|
||||||
|
# include <elf64.h>
|
||||||
|
#else
|
||||||
|
# include <elf32.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Pre-processor Definitions
|
* Pre-processor Definitions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
@ -93,7 +103,8 @@
|
|||||||
#define EI_DATA 5 /* Data encoding */
|
#define EI_DATA 5 /* Data encoding */
|
||||||
#define EI_VERSION 6 /* File version */
|
#define EI_VERSION 6 /* File version */
|
||||||
#define EI_PAD 7 /* Start of padding bytes */
|
#define EI_PAD 7 /* Start of padding bytes */
|
||||||
#define EI_NIDENT 16 /* Size of e_ident[] */
|
|
||||||
|
/* EI_NIDENT is defined in "Included Files" section */
|
||||||
|
|
||||||
#define EI_MAGIC_SIZE 4
|
#define EI_MAGIC_SIZE 4
|
||||||
#define EI_MAGIC {0x7f, 'E', 'L', 'F'}
|
#define EI_MAGIC {0x7f, 'E', 'L', 'F'}
|
||||||
@ -211,12 +222,4 @@
|
|||||||
#define DT_LOPROC 0x70000000 /* d_un=unspecified */
|
#define DT_LOPROC 0x70000000 /* d_un=unspecified */
|
||||||
#define DT_HIPROC 0x7fffffff /* d_un= unspecified */
|
#define DT_HIPROC 0x7fffffff /* d_un= unspecified */
|
||||||
|
|
||||||
/* NOTE: elf64.h and elf32.h refer EI_NIDENT defined above */
|
|
||||||
|
|
||||||
#ifdef CONFIG_ELF_64BIT
|
|
||||||
# include <elf64.h>
|
|
||||||
#else
|
|
||||||
# include <elf32.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* __INCLUDE_ELF_H */
|
#endif /* __INCLUDE_ELF_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user