Use _ABIO32, _ABIN32 and _ABI64 for ABI selection in generated asm-unistd.h.

This commit is contained in:
Andreas Jaeger 2004-11-24 04:38:31 +00:00
parent 8de3c5f1fe
commit ae9e3809f9

View File

@ -42,7 +42,7 @@ BEGIN { print "#include <sgidefs.h>"; }
name = $2;
sub (/_O32_/, "_", name);
print;
print "#if _MIPS_SIM == _MIPS_SIM_ABI32";
print "#if _MIPS_SIM == _ABIO32";
print "# define " name " " $2;
print "#endif";
next;
@ -51,7 +51,7 @@ BEGIN { print "#include <sgidefs.h>"; }
name = $2;
sub (/_N32_/, "_", name);
print;
print "#if _MIPS_SIM == _MIPS_SIM_NABI32";
print "#if _MIPS_SIM == _ABIN32";
print "# define " name " " $2;
print "#endif";
next;
@ -60,7 +60,7 @@ BEGIN { print "#include <sgidefs.h>"; }
name = $2;
sub (/_N64_/, "_", name);
print;
print "#if _MIPS_SIM == _MIPS_SIM_ABI64";
print "#if _MIPS_SIM == _ABI64";
print "# define " name " " $2;
print "#endif";
next;