Add ARC support to nlist()

Closes: !6
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Guillem Jover <guillem@hadrons.org>
This commit is contained in:
Rosen Penev 2019-05-17 01:44:56 +00:00 committed by Guillem Jover
parent 96202c6c14
commit 4997efa59a

View File

@ -55,6 +55,12 @@
#endif
#define ELF_TARG_DATA ELFDATA2LSB
#elif defined (__arc__)
#define ELF_TARG_MACH EM_ARC
#define ELF_TARG_CLASS ELFCLASS32
#define ELF_TARG_DATA ELFDATA2LSB
#elif defined(__arm__)
#define ELF_TARG_MACH EM_ARM