Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [PATCH] MIPS: Run checksyscalls for N32 and O32 ABI
@ 2007-05-10 16:02 Atsushi Nemoto
  2007-05-11 10:49 ` Ralf Baechle
  2007-05-11 12:14 ` Franck Bui-Huu
  0 siblings, 2 replies; 20+ messages in thread
From: Atsushi Nemoto @ 2007-05-10 16:02 UTC (permalink / raw)
  To: linux-mips; +Cc: ralf, sam

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>
---
diff --git a/arch/mips/Makefile b/arch/mips/Makefile
index a68d462..f450066 100644
--- a/arch/mips/Makefile
+++ b/arch/mips/Makefile
@@ -709,3 +709,25 @@ archclean:
 CLEAN_FILES += vmlinux.32 \
 	       vmlinux.64 \
 	       vmlinux.ecoff
+
+quiet_cmd_syscalls_n32 = CALL-N32 $<
+      cmd_syscalls_n32 = $(CONFIG_SHELL) $< $(CC) $(c_flags) -mabi=n32
+
+quiet_cmd_syscalls_o32 = CALL-O32 $<
+      cmd_syscalls_o32 = $(CONFIG_SHELL) $< $(CC) $(c_flags) -mabi=32
+
+PHONY += missing-syscalls-n32 missing-syscalls-o32
+
+missing-syscalls-n32: scripts/checksyscalls.sh FORCE
+	$(call cmd,syscalls_n32)
+
+missing-syscalls-o32: scripts/checksyscalls.sh FORCE
+	$(call cmd,syscalls_o32)
+
+archprepare:
+ifdef CONFIG_MIPS32_N32
+	$(Q)$(MAKE) $(build)=arch/mips missing-syscalls-n32
+endif
+ifdef CONFIG_MIPS32_O32
+	$(Q)$(MAKE) $(build)=arch/mips missing-syscalls-o32
+endif

^ permalink raw reply related	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2007-05-31 12:14 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-10 16:02 [PATCH] MIPS: Run checksyscalls for N32 and O32 ABI Atsushi Nemoto
2007-05-11 10:49 ` Ralf Baechle
2007-05-11 12:14 ` Franck Bui-Huu
2007-05-11 13:51   ` Thiemo Seufer
2007-05-11 14:41     ` Atsushi Nemoto
2007-05-11 15:59   ` Atsushi Nemoto
2007-05-11 19:23     ` Franck Bui-Huu
2007-05-12 16:47       ` Atsushi Nemoto
2007-05-12 18:58         ` Sam Ravnborg
2007-05-13 13:51           ` Atsushi Nemoto
2007-05-14  7:27           ` Franck Bui-Huu
2007-05-14  7:23         ` Franck Bui-Huu
2007-05-14  7:46           ` Atsushi Nemoto
2007-05-14  7:55             ` Franck Bui-Huu
2007-05-14  8:07               ` Atsushi Nemoto
2007-05-14 10:32                 ` Franck Bui-Huu
2007-05-14 10:42                   ` Franck Bui-Huu
2007-05-14 13:29                   ` Atsushi Nemoto
2007-05-29 15:38         ` Atsushi Nemoto
2007-05-31 12:14           ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox