mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 17:24:17 +08:00
f673c032ed
This adds back a sys_call_table to the score architecture, which got lost in the conversion to the generic unistd.h file. It's rather worrying that the code got submitted without a system call table, which evidently means that it got zero testing. Since the system call table has a different layout from the old one (which was modeled after the mips-o32 one), I also try to fix the entry.S path to use it. In the modified calling conventions, all system call arguments are passed as registers r4 through r9, instead of r4 through r7 plus stack for the fifth and sixth argument. This matches what other architectures to when they normally pass arguments on the stack. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
12 lines
231 B
Makefile
12 lines
231 B
Makefile
#
|
|
# Makefile for the Linux/SCORE kernel.
|
|
#
|
|
|
|
extra-y := head.o vmlinux.lds
|
|
|
|
obj-y += entry.o init_task.o irq.o process.o ptrace.o \
|
|
setup.o signal.o sys_score.o time.o traps.o \
|
|
sys_call_table.o
|
|
|
|
obj-$(CONFIG_MODULES) += module.o
|