]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
2009-04-23 Carlos O'Donell <carlos@codesourcery.com>
authorCarlos O'Donell <carlos@systemhalted.org>
Fri, 24 Apr 2009 02:53:23 +0000 (02:53 +0000)
committerCarlos O'Donell <carlos@systemhalted.org>
Fri, 24 Apr 2009 02:53:23 +0000 (02:53 +0000)
* sysdeps/hppa/dl-machine.h: Remove VALID_ELF_OSABI,
VALID_ELF_ABIVERSION, and VALID_ELF_HEADER.

ChangeLog.hppa
sysdeps/hppa/dl-machine.h

index e26de63bffa62619451f8b3aa552ecd24a5dc1b1..e43ad657125ed56a7a806695ceb1bb6849cf79fd 100644 (file)
@@ -1,3 +1,8 @@
+2009-04-23  Carlos O'Donell  <carlos@codesourcery.com>
+
+       * sysdeps/hppa/dl-machine.h: Remove VALID_ELF_OSABI,
+       VALID_ELF_ABIVERSION, and VALID_ELF_HEADER.
+
 2009-04-23  Carlos O'Donell  <carlos@codesourcery.com>
 
        * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Do not include
index 503bbcab8ce4ad617b70562d4990d2fef852ff04..e462fd33549308e4b342b3e4ee7496d1e0f4dd1c 100644 (file)
 #include <abort-instr.h>
 #include <tls.h>
 
-# 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[]).