Add OpenRISC support to nlist()

Signed-off-by: Guillem Jover <guillem@hadrons.org>
This commit is contained in:
Christian Svensson 2014-03-06 22:10:36 +01:00 committed by Guillem Jover
parent 8d16c3df67
commit a88bb8380d

View File

@ -179,6 +179,12 @@
#endif
#define ELF_TARG_DATA ELFDATA2MSB
#elif defined(__or1k__)
#define ELF_TARG_MACH EM_OPENRISC
#define ELF_TARG_CLASS ELFCLASS32
#define ELF_TARG_DATA ELFDATA2MSB
#else
#error Unknown ELF machine type