From 75598ca67e469359c3c0b6b8704dae17bf2b9d89 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 5 Jun 1995 09:00:14 +0000 Subject: Mon Jun 5 04:02:26 1995 Roland McGrath * elf/elf.h (ELFMAG): Use \177 instead of \x7f. It seems GCC insists on seeing the following E as part of hex 7FE, and complaining that is wider than a byte. --- ChangeLog | 6 ++++++ elf/elf.h | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 44f5053a1a..e6f68dffb4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Mon Jun 5 04:02:26 1995 Roland McGrath + + * elf/elf.h (ELFMAG): Use \177 instead of \x7f. It seems GCC + insists on seeing the following E as part of hex 7FE, and + complaining that is wider than a byte. + Sun Jun 4 22:14:11 1995 Roland McGrath * hurd/Makefile (sig): Added thread-self. diff --git a/elf/elf.h b/elf/elf.h index 87cf1098ee..4730b8e733 100644 --- a/elf/elf.h +++ b/elf/elf.h @@ -73,7 +73,7 @@ typedef struct #define ELFMAG3 'F' /* Magic number byte 3 */ /* Conglomeration of the identification bytes, for easy testing as a word. */ -#define ELFMAG "\x7fELF" +#define ELFMAG "\177ELF" #define SELFMAG 4 #define EI_CLASS 4 /* File class byte index */ -- cgit v1.2.3