diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2009-10-14 13:35:52 (GMT) |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2009-10-14 13:35:52 (GMT) |
commit | 4bb6695abe5c6d476acc9d5f2a4c6243eb6b8533 (patch) | |
tree | 4d7ebe3f8ed620f4d9dc24f5511abd78f77e9aa7 /src/patchelf.cc | |
parent | c46c0ef3e517427527e455c3b7beab91ef36d148 (diff) | |
download | patchelf-4bb6695abe5c6d476acc9d5f2a4c6243eb6b8533.zip patchelf-4bb6695abe5c6d476acc9d5f2a4c6243eb6b8533.tar.gz patchelf-4bb6695abe5c6d476acc9d5f2a4c6243eb6b8533.tar.bz2 |
* Remove macros defined in elf.h.
Diffstat (limited to 'src/patchelf.cc')
-rw-r--r-- | src/patchelf.cc | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/patchelf.cc b/src/patchelf.cc index adef9a7..31da196 100644 --- a/src/patchelf.cc +++ b/src/patchelf.cc @@ -178,33 +178,6 @@ I ElfFile<ElfFileParamNames>::rdi(I i) } -/* Some old versions of elf.h lack some required macros, so define - them if they're missing. */ -#ifndef ELFMAG -#define ELFMAG "\177ELF" -#define SELFMAG 4 -#endif - -#ifndef DT_VERNEED -#define DT_VERNEED 0x6ffffffe -#endif - -#ifndef DT_VERNEEDNUM -#define DT_VERNEEDNUM 0x6fffffff -#endif - -#ifndef DT_VERSYM -#define DT_VERSYM 0x6ffffff0 -#endif - -#ifndef DT_RUNPATH -#define DT_RUNPATH 29 -#endif - -#ifndef DT_GNU_HASH -#define DT_GNU_HASH 0x6ffffef5 -#endif - /* Ugly: used to erase DT_RUNPATH when using --force-rpath. */ #define DT_IGNORE 0x00726e67 |