mips64: Consolidate Linux sysdep.h
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 3 Feb 2020 14:13:18 +0000 (11:13 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Sat, 15 Feb 2020 00:09:12 +0000 (21:09 -0300)
commitebb4aed873de6ee6ce3c0d2f55660808a04c9e68
tree9909b32eceedcd1c8338a95e2db9af34fafb7384
parent157252e9edc80374faa2bccc743b3d2933b1e062
mips64: Consolidate Linux sysdep.h

The mips64 Linux syscall macros only differs argument type and
the requirement of sign-extending values on n32.  The headers
are consolidate by parameterizing the arguments with a new type,
__syscall_arg_t, and by defining the ARGIFY for n64.

Also, the generic unix mips64 sysdep is essentially the same,
only the load instruction need to be adjusted depending of the
ABI.

Checked on mips64-linux-gnu and mips64n32-linux-gnu.
sysdeps/unix/mips/mips64/n64/sysdep.h [deleted file]
sysdeps/unix/mips/mips64/sysdep.h [moved from sysdeps/unix/mips/mips64/n32/sysdep.h with 97% similarity]
sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h [deleted file]
sysdeps/unix/sysv/linux/mips/mips64/sysdep.h [moved from sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h with 70% similarity]