diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2007-05-10 12:02:34 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-05-11 09:28:33 -0400 |
commit | fcbee6410d5c4112593e7082fb8d96dfdc6c1c25 (patch) | |
tree | fb3b2e17c5390a493342badce5ed20303cbec190 /arch/mips | |
parent | e8b6d40a007774bde5110c110290f8090c7e48ad (diff) |
[MIPS] Run checksyscalls for N32 and O32 ABI
On 64-bit MIPS, only N64 ABI is checked by default. This patch adds
some rules for other ABIs. This results in these warnings at the
moment:
CALL-N32 /home/git/linux-mips/scripts/checksyscalls.sh
<stdin>:148:2: warning: #warning syscall time not implemented
<stdin>:424:2: warning: #warning syscall select not implemented
<stdin>:440:2: warning: #warning syscall uselib not implemented
<stdin>:856:2: warning: #warning syscall vfork not implemented
<stdin>:868:2: warning: #warning syscall truncate64 not implemented
<stdin>:872:2: warning: #warning syscall ftruncate64 not implemented
<stdin>:876:2: warning: #warning syscall stat64 not implemented
<stdin>:880:2: warning: #warning syscall lstat64 not implemented
<stdin>:884:2: warning: #warning syscall fstat64 not implemented
<stdin>:980:2: warning: #warning syscall getdents64 not implemented
<stdin>:1176:2: warning: #warning syscall fadvise64_64 not implemented
<stdin>:1284:2: warning: #warning syscall fstatat64 not implemented
<stdin>:1364:2: warning: #warning syscall utimensat not implemented
CALL-O32 /home/git/linux-mips/scripts/checksyscalls.sh
<stdin>:424:2: warning: #warning syscall select not implemented
<stdin>:856:2: warning: #warning syscall vfork not implemented
<stdin>:1176:2: warning: #warning syscall fadvise64_64 not implemented
<stdin>:1364:2: warning: #warning syscall utimensat not implemented
CALL /home/git/linux-mips/scripts/checksyscalls.sh
<stdin>:148:2: warning: #warning syscall time not implemented
<stdin>:424:2: warning: #warning syscall select not implemented
<stdin>:440:2: warning: #warning syscall uselib not implemented
<stdin>:856:2: warning: #warning syscall vfork not implemented
<stdin>:980:2: warning: #warning syscall getdents64 not implemented
<stdin>:1364:2: warning: #warning syscall utimensat not implemented
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/mips/Makefile b/arch/mips/Makefile index a68d462a415f..f450066b6241 100644 --- a/arch/mips/Makefile +++ b/arch/mips/Makefile | |||
@@ -709,3 +709,25 @@ archclean: | |||
709 | CLEAN_FILES += vmlinux.32 \ | 709 | CLEAN_FILES += vmlinux.32 \ |
710 | vmlinux.64 \ | 710 | vmlinux.64 \ |
711 | vmlinux.ecoff | 711 | vmlinux.ecoff |
712 | |||
713 | quiet_cmd_syscalls_n32 = CALL-N32 $< | ||
714 | cmd_syscalls_n32 = $(CONFIG_SHELL) $< $(CC) $(c_flags) -mabi=n32 | ||
715 | |||
716 | quiet_cmd_syscalls_o32 = CALL-O32 $< | ||
717 | cmd_syscalls_o32 = $(CONFIG_SHELL) $< $(CC) $(c_flags) -mabi=32 | ||
718 | |||
719 | PHONY += missing-syscalls-n32 missing-syscalls-o32 | ||
720 | |||
721 | missing-syscalls-n32: scripts/checksyscalls.sh FORCE | ||
722 | $(call cmd,syscalls_n32) | ||
723 | |||
724 | missing-syscalls-o32: scripts/checksyscalls.sh FORCE | ||
725 | $(call cmd,syscalls_o32) | ||
726 | |||
727 | archprepare: | ||
728 | ifdef CONFIG_MIPS32_N32 | ||
729 | $(Q)$(MAKE) $(build)=arch/mips missing-syscalls-n32 | ||
730 | endif | ||
731 | ifdef CONFIG_MIPS32_O32 | ||
732 | $(Q)$(MAKE) $(build)=arch/mips missing-syscalls-o32 | ||
733 | endif | ||