aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/alpha/dl-machine.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-10-20 17:04:28 +0000
committerUlrich Drepper <drepper@redhat.com>2000-10-20 17:04:28 +0000
commitf1dba30859338176d3440a7d68fac14d392c9f49 (patch)
tree98222c3f3aab95974925773b0a9b9057339d9232 /sysdeps/alpha/dl-machine.h
parent8a02fd962edbf30c6da5a13bd6a0cd4a7e70fc93 (diff)
downloadglibc-f1dba30859338176d3440a7d68fac14d392c9f49.tar
glibc-f1dba30859338176d3440a7d68fac14d392c9f49.tar.gz
glibc-f1dba30859338176d3440a7d68fac14d392c9f49.tar.bz2
glibc-f1dba30859338176d3440a7d68fac14d392c9f49.zip
(elf_machine_matches_host): Parameter is now pointer to ELF header.
Diffstat (limited to 'sysdeps/alpha/dl-machine.h')
-rw-r--r--sysdeps/alpha/dl-machine.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/alpha/dl-machine.h b/sysdeps/alpha/dl-machine.h
index 69845b4b01..d9aeb18764 100644
--- a/sysdeps/alpha/dl-machine.h
+++ b/sysdeps/alpha/dl-machine.h
@@ -29,11 +29,11 @@
#include <string.h>
-/* Return nonzero iff E_MACHINE is compatible with the running host. */
+/* Return nonzero iff ELF header is compatible with the running host. */
static inline int
-elf_machine_matches_host (Elf64_Word e_machine)
+elf_machine_matches_host (const Elf64_Ehdr *ehdr)
{
- return e_machine == EM_ALPHA;
+ return ehdr->e_machine == EM_ALPHA;
}
/* Return the link-time address of _DYNAMIC. The multiple-got-capable