Hacks to make the libelf stuff work in openbsd.

base/loader/elf_object.cc:
    The symbol versioning stuff screws up OpenBSD.  We don't need it anyway

--HG--
extra : convert_revision : 736d5c1baaf7f5727665f84cc08e3781e193b389
This commit is contained in:
Nathan Binkert 2004-03-24 05:13:49 -05:00
parent 5e3b1f09c8
commit 8b0f69166e

View 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>