summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2009-10-14 13:35:52 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2009-10-14 13:35:52 +0000
commit4bb6695abe5c6d476acc9d5f2a4c6243eb6b8533 (patch)
tree4d7ebe3f8ed620f4d9dc24f5511abd78f77e9aa7
parentc46c0ef3e517427527e455c3b7beab91ef36d148 (diff)
downloadpatchelf-4bb6695abe5c6d476acc9d5f2a4c6243eb6b8533.tar.gz
* Remove macros defined in elf.h.
-rw-r--r--src/patchelf.cc27
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