diff options
author | Roland McGrath <roland@gnu.org> | 1995-05-13 06:16:24 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1995-05-13 06:16:24 +0000 |
commit | b7976c00ed75b34b4ad7875cd03459c7f8a864ff (patch) | |
tree | eb65afb5e6e774c77456776e04e648d3b41a55d8 /elf/elf.h | |
parent | 1f6a1abf7d0ba456858e55f4193927f06f04e41a (diff) | |
download | glibc-b7976c00ed75b34b4ad7875cd03459c7f8a864ff.tar glibc-b7976c00ed75b34b4ad7875cd03459c7f8a864ff.tar.gz glibc-b7976c00ed75b34b4ad7875cd03459c7f8a864ff.tar.bz2 glibc-b7976c00ed75b34b4ad7875cd03459c7f8a864ff.zip |
(os=gnu*): Always set elf=yes, not just for os=gnu*elf*.
Diffstat (limited to 'elf/elf.h')
-rw-r--r-- | elf/elf.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 */ |