diff options
author | Andreas Jaeger <aj@suse.de> | 2001-03-09 17:33:11 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2001-03-09 17:33:11 +0000 |
commit | 9672b9372f7943f1a8a9d6c32c862459551985eb (patch) | |
tree | 7b2d119774ebd8fef1f9402f545d8d59c93c05b2 /sysdeps | |
parent | 832c025eb19c9a86e1304a306171d8e8475c6faa (diff) | |
download | glibc-9672b9372f7943f1a8a9d6c32c862459551985eb.zip glibc-9672b9372f7943f1a8a9d6c32c862459551985eb.tar.gz glibc-9672b9372f7943f1a8a9d6c32c862459551985eb.tar.bz2 |
Update.
2001-03-09 Andreas Jaeger <aj@suse.de>
* sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle
both new and old EM_S390 values.
(EM_S390_OLD): New constant.
* elf/elf.h (EM_S390): Use official value.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/s390/dl-machine.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/s390/dl-machine.h b/sysdeps/s390/dl-machine.h index fbbecf0..16892cd 100644 --- a/sysdeps/s390/dl-machine.h +++ b/sysdeps/s390/dl-machine.h @@ -28,12 +28,14 @@ #include <string.h> #include <link.h> +/* This is an older, now obsolete value. */ +#define EM_S390_OLD 0xA390 /* Return nonzero iff ELF header is compatible with the running host. */ static inline int elf_machine_matches_host (const Elf32_Ehdr *ehdr) { - return ehdr->e_machine == EM_S390; + return (ehdr->e_machine == EM_S390 || ehdr->e_machine == EM_S390_OLD); } |