Hacks to make the libelf stuff work in openbsd.
authorNathan Binkert <binkertn@umich.edu>
Wed, 24 Mar 2004 10:13:49 +0000 (05:13 -0500)
committerNathan Binkert <binkertn@umich.edu>
Wed, 24 Mar 2004 10:13:49 +0000 (05:13 -0500)
base/loader/elf_object.cc:
    The symbol versioning stuff screws up OpenBSD.  We don't need it anyway

--HG--
extra : convert_revision : 736d5c1baaf7f5727665f84cc08e3781e193b389

base/loader/elf_object.cc

index f2a67f22e32cf8d9629573db4b78860221f2af7d..b8ffd2b10998e34dd6a0e892c7154c11d29c3c6f 100644 (file)
@@ -36,6 +36,7 @@
 // set this now (it causes things to break on 64-bit platforms).
 #define __LIBELF64_LINUX        0
 #define __LIBELF_NEED_LINK_H    0
+#define __LIBELF_SYMBOL_VERSIONS 0
 
 #include <libelf/libelf.h>
 #include <libelf/gelf.h>