From 4bb6695abe5c6d476acc9d5f2a4c6243eb6b8533 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 14 Oct 2009 13:35:52 +0000 Subject: * Remove macros defined in elf.h. --- src/patchelf.cc | 27 --------------------------- 1 file changed, 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::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 -- cgit v0.12