mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
ldd: renumber executable type constants
ldd had #defines for AOUT, ELF, and ELF32. The removal of AOUT left a possibly confusing gap. These are not used anywhere but this file so renumber to avoid the gap. Reported by: allanjude
This commit is contained in:
parent
12a8d3027d
commit
c8eee7c0bf
1 changed files with 2 additions and 2 deletions
|
|
@ -72,9 +72,9 @@ static int is_executable(const char *fname, int fd, int *is_shlib,
|
|||
static void usage(void);
|
||||
|
||||
#define TYPE_UNKNOWN 0
|
||||
#define TYPE_ELF 2 /* Architecture default */
|
||||
#define TYPE_ELF 1 /* Architecture default */
|
||||
#if __ELF_WORD_SIZE > 32 && defined(ELF32_SUPPORTED)
|
||||
#define TYPE_ELF32 3 /* Explicit 32 bits on architectures >32 bits */
|
||||
#define TYPE_ELF32 2 /* Explicit 32 bits on architectures >32 bits */
|
||||
|
||||
#define _PATH_LDD32 "/usr/bin/ldd32"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue