Commit 1f77cdb4 authored by Marek Vasut's avatar Marek Vasut Committed by Guillem Jover

Add NIOS2 support to nlist()

Add support for the NIOS2 soft-core CPU provided by Altera.
Signed-off-by: Marek Vasut's avatarMarek Vasut <marex@denx.de>
Signed-off-by: Guillem Jover's avatarGuillem Jover <guillem@hadrons.org>
Cc: Ley Foon Tan <lftan@altera.com>
Cc: Thomas Chou <thomas@wytron.com.tw>
Cc: Walter Goossens <waltergoossens@home.nl>
parent f3b11554
......@@ -134,6 +134,12 @@
#define ELF_TARG_DATA ELFDATA2LSB
#endif
#elif defined(__nios2__)
#define ELF_TARG_MACH EM_ALTERA_NIOS2
#define ELF_TARG_CLASS ELFCLASS32
#define ELF_TARG_DATA ELFDATA2LSB
#elif defined(__powerpc__)
#define ELF_TARG_MACH EM_PPC
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment