From ec4cafcbcd5304020bb3d938e7f37373d32d3168 Mon Sep 17 00:00:00 2001 From: Carlos O'Donell Date: Fri, 24 Apr 2009 02:53:23 +0000 Subject: [PATCH] 2009-04-23 Carlos O'Donell * sysdeps/hppa/dl-machine.h: Remove VALID_ELF_OSABI, VALID_ELF_ABIVERSION, and VALID_ELF_HEADER. --- ChangeLog.hppa | 5 +++++ sysdeps/hppa/dl-machine.h | 7 ------- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/ChangeLog.hppa b/ChangeLog.hppa index e26de63..e43ad65 100644 --- a/ChangeLog.hppa +++ b/ChangeLog.hppa @@ -1,5 +1,10 @@ 2009-04-23 Carlos O'Donell + * sysdeps/hppa/dl-machine.h: Remove VALID_ELF_OSABI, + VALID_ELF_ABIVERSION, and VALID_ELF_HEADER. + +2009-04-23 Carlos O'Donell + * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Do not include sysdep.h. Document the reason for other includes. diff --git a/sysdeps/hppa/dl-machine.h b/sysdeps/hppa/dl-machine.h index 503bbca..e462fd3 100644 --- a/sysdeps/hppa/dl-machine.h +++ b/sysdeps/hppa/dl-machine.h @@ -33,13 +33,6 @@ #include #include -# define VALID_ELF_OSABI(osabi) ((osabi == ELFOSABI_SYSV) || (osabi == ELFOSABI_LINUX)) -# define VALID_ELF_ABIVERSION(ver) (ver == 0) -# define VALID_ELF_HEADER(hdr,exp,size) \ - memcmp (hdr,exp,size-2) == 0 \ - && VALID_ELF_OSABI (hdr[EI_OSABI]) \ - && VALID_ELF_ABIVERSION (hdr[EI_ABIVERSION]) - /* These two definitions must match the definition of the stub in bfd/elf32-hppa.c (see plt_stub[]). -- 2.7.4