about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-06-05 09:00:14 +0000
committerRoland McGrath <roland@gnu.org>1995-06-05 09:00:14 +0000
commit75598ca67e469359c3c0b6b8704dae17bf2b9d89 (patch)
tree924739f4fac614e2cdb9d85114843ea2e76bb346
parentded291197c7da40793b072cd5487434b252376d7 (diff)
downloadglibc-75598ca67e469359c3c0b6b8704dae17bf2b9d89.tar.gz
glibc-75598ca67e469359c3c0b6b8704dae17bf2b9d89.tar.xz
glibc-75598ca67e469359c3c0b6b8704dae17bf2b9d89.zip
Mon Jun 5 04:02:26 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
	* 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.
-rw-r--r--ChangeLog6
-rw-r--r--elf/elf.h2
2 files changed, 7 insertions, 1 deletions
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  <roland@churchy.gnu.ai.mit.edu>
+
+	* 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  <roland@churchy.gnu.ai.mit.edu>
 
 	* 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 */