summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSteve Ellcey <sellcey@mips.com>2014-02-12 11:01:35 -0800
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2014-02-15 11:09:26 +0100
commite5cde2eb0ed7df9416fdd6070af07c8448c72a30 (patch)
treeda5dfbb5c874b58d8ea701ce861f5303cdd7fae9 /Makefile
parent4721ac5f837481ef9bfec853a2326c0aa1948011 (diff)
mips: Remove duplicate macro definitions
The INLINE_SYSCALL, INTERNAL_SYSCALL*, and internal_syscall* macros are defined for MIPS in both libc/sysdeps/linux/mips/sysdep.h and libc/sysdeps/linux/mips/bits/syscalls.h. The macros are the same in both cases except that syscalls.h defines internal_syscalls[567] the same for N32 and N64 ABIs and has a different definition for O32. I believe that is correct. The sysdep.h header uses the O32 versions for N32 and has different definitions for N64. I think that is wrong and that N32 and N64 should share the same definition (modulo the type 'long' vs. 'long long' for the arguments. This setup (from sysdep.h) now agrees with what glibc has. I am not positive about which header (sysdep.h vs syscalls.h) is really the right one to have these definitions in but using sysdep.h seems to work for all my builds. Signed-off-by: Steve Ellcey <sellcey@mips.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions