mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-02-13 22:51:53 +01:00
Add NIOS2 support to nlist()
Add support for the NIOS2 soft-core CPU provided by Altera. Signed-off-by: Marek Vasut <marex@denx.de> Signed-off-by: Guillem Jover <guillem@hadrons.org> Cc: Ley Foon Tan <lftan@altera.com> Cc: Thomas Chou <thomas@wytron.com.tw> Cc: Walter Goossens <waltergoossens@home.nl>
This commit is contained in:
parent
f3b115540c
commit
1f77cdb40a
@ -134,6 +134,12 @@
|
|||||||
#define ELF_TARG_DATA ELFDATA2LSB
|
#define ELF_TARG_DATA ELFDATA2LSB
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#elif defined(__nios2__)
|
||||||
|
|
||||||
|
#define ELF_TARG_MACH EM_ALTERA_NIOS2
|
||||||
|
#define ELF_TARG_CLASS ELFCLASS32
|
||||||
|
#define ELF_TARG_DATA ELFDATA2LSB
|
||||||
|
|
||||||
#elif defined(__powerpc__)
|
#elif defined(__powerpc__)
|
||||||
|
|
||||||
#define ELF_TARG_MACH EM_PPC
|
#define ELF_TARG_MACH EM_PPC
|
||||||
|
Loading…
x
Reference in New Issue
Block a user