klibc-bot for Dejan Latinovic
2015-Mar-06 00:54 UTC
[klibc] [klibc:master] add-mips64-support-arch-mips32
Commit-ID: ccd50880175e79fb9bc544c96d72b8971303cc0a Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=ccd50880175e79fb9bc544c96d72b8971303cc0a Author: Dejan Latinovic <Dejan.Latinovic at imgtec.com> AuthorDate: Thu, 5 Mar 2015 16:51:44 -0800 Committer: H. Peter Anvin <hpa at linux.intel.com> CommitDate: Thu, 5 Mar 2015 16:51:44 -0800 add-mips64-support-arch-mips32 Description: Add mips64 support, using existing mips32 code. - using mips32 assembler source files: pipe.S vfork.S syscall.S - sysstub.ph: copied over from klibc/arch/mips --- usr/klibc/arch/mips64/Kbuild | 11 +++++++++++ usr/klibc/arch/{mips => mips64}/sysstub.ph | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/usr/klibc/arch/mips64/Kbuild b/usr/klibc/arch/mips64/Kbuild index 970c0f8..6fe3b53 100644 --- a/usr/klibc/arch/mips64/Kbuild +++ b/usr/klibc/arch/mips64/Kbuild @@ -1,3 +1,14 @@ # # klibc files for mips64 # + +klib-y := ../mips/pipe.o ../mips/vfork.o setjmp.o ../mips/syscall.o + +klib-y += ../../libgcc/__clzsi2.o ../../libgcc/__ashldi3.o +klib-y += ../../libgcc/__ashrdi3.o ../../libgcc/__lshrdi3.o +klib-y += ../../libgcc/__divdi3.o ../../libgcc/__moddi3.o +klib-y += ../../libgcc/__udivdi3.o ../../libgcc/__umoddi3.o +klib-y += ../../libgcc/__udivmoddi4.o + +always := crt0.o +targets := crt0.o diff --git a/usr/klibc/arch/mips/sysstub.ph b/usr/klibc/arch/mips64/sysstub.ph similarity index 96% copy from usr/klibc/arch/mips/sysstub.ph copy to usr/klibc/arch/mips64/sysstub.ph index 3689529..e8a0200 100644 --- a/usr/klibc/arch/mips/sysstub.ph +++ b/usr/klibc/arch/mips64/sysstub.ph @@ -1,6 +1,6 @@ # -*- perl -*- # -# arch/mips/sysstub.ph +# arch/mips64/sysstub.ph # # Script to generate system call stubs #