Skip to content

Commit

Permalink
aclocal.m4: add minimal support for nios2 architecture
Browse files Browse the repository at this point in the history
With this change unregisterised port can already produce minimal
executables:
    ELF 32-bit LSB executable, Altera Nios II, version 1 (SYSV),
    dynamically linked, interpreter /lib/ld-linux-nios2.so.1

Signed-off-by: Sergei Trofimovich <[email protected]>
  • Loading branch information
Sergei Trofimovich committed Dec 25, 2017
1 parent d7d0aa3 commit 02aaeab
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion aclocal.m4
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ AC_DEFUN([FPTOOLS_SET_HASKELL_PLATFORM_VARS],
mipsel)
test -z "[$]2" || eval "[$]2=ArchMipsel"
;;
hppa|hppa1_1|ia64|m68k|rs6000|s390|s390x|sh4|vax)
hppa|hppa1_1|ia64|m68k|nios2|rs6000|s390|s390x|sh4|vax)
test -z "[$]2" || eval "[$]2=ArchUnknown"
;;
*)
Expand Down Expand Up @@ -1848,6 +1848,9 @@ case "$1" in
mips*)
$2="mips"
;;
nios2)
$2="nios2"
;;
powerpc64le*)
$2="powerpc64le"
;;
Expand Down

0 comments on commit 02aaeab

Please sign in to comment.