From b7976c00ed75b34b4ad7875cd03459c7f8a864ff Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 13 May 1995 06:16:24 +0000 Subject: (os=gnu*): Always set elf=yes, not just for os=gnu*elf*. --- elf/elf.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'elf/elf.h') diff --git a/elf/elf.h b/elf/elf.h index 433aa47..87cf109 100644 --- a/elf/elf.h +++ b/elf/elf.h @@ -72,6 +72,10 @@ typedef struct #define EI_MAG3 3 /* File identification byte 3 index */ #define ELFMAG3 'F' /* Magic number byte 3 */ +/* Conglomeration of the identification bytes, for easy testing as a word. */ +#define ELFMAG "\x7fELF" +#define SELFMAG 4 + #define EI_CLASS 4 /* File class byte index */ #define ELFCLASSNONE 0 /* Invalid class */ #define ELFCLASS32 1 /* 32-bit objects */ -- cgit v1.1