diff options
| author | Carlos O'Donell <carlos@systemhalted.org> | 2009-04-24 02:53:23 +0000 |
|---|---|---|
| committer | Carlos O'Donell <carlos@systemhalted.org> | 2009-04-24 02:53:23 +0000 |
| commit | ec4cafcbcd5304020bb3d938e7f37373d32d3168 (patch) | |
| tree | 10ad03631705d62e042425bd1ffdd8c8fe0a1d09 | |
| parent | 783398d8c28a1686cf2202bf5740158e90ee034f (diff) | |
| download | glibc-ec4cafcbcd5304020bb3d938e7f37373d32d3168.tar.xz glibc-ec4cafcbcd5304020bb3d938e7f37373d32d3168.zip | |
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.
| -rw-r--r-- | ChangeLog.hppa | 5 | ||||
| -rw-r--r-- | sysdeps/hppa/dl-machine.h | 7 |
2 files changed, 5 insertions, 7 deletions
diff --git a/ChangeLog.hppa b/ChangeLog.hppa index e26de63bff..e43ad65712 100644 --- a/ChangeLog.hppa +++ b/ChangeLog.hppa @@ -1,5 +1,10 @@ 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 sysdep.h. Document the reason for other includes. diff --git a/sysdeps/hppa/dl-machine.h b/sysdeps/hppa/dl-machine.h index 503bbcab8c..e462fd3354 100644 --- a/sysdeps/hppa/dl-machine.h +++ b/sysdeps/hppa/dl-machine.h @@ -33,13 +33,6 @@ #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[]). |
