Эх сурвалжийг харах

Merge branch 'master' of git+ssh://openadk.org/git/openadk

Waldemar Brodkorb 11 жил өмнө
parent
commit
27b6ae1d84

+ 2 - 1
BUGS

@@ -1,3 +1,4 @@
-- uclibc N64 ABI on mips64{,el} targets does not work, nptl fork problem
+- sparc: uclibc toolchain is broken
+- sparc64: ide driver not working, only virtio (but unstable)
 - microblaze big endian: network card emulation fails
 - microblaze: qemu reboot not working

+ 1 - 1
mk/build.mk

@@ -93,7 +93,7 @@ POSTCONFIG=		-@\
 	if [ -f .adkinit ];then rm .adkinit;\
 	else \
 	if [ -f .config.old ];then \
-		$(TOPDIR)/bin/tools/pkgrebuild;\
+		$(TOPDIR)/bin/pkgrebuild;\
 		rebuild=0; \
 		if [ "$$(grep ^BUSYBOX .config|md5sum)" != "$$(grep ^BUSYBOX .config.old|md5sum)" ];then \
 			touch .rebuild.busybox;\

+ 5 - 0
package/glibc/files/libc.so.sparc64

@@ -0,0 +1,5 @@
+/* GNU ld script
+   Use the shared library, but some functions are only in
+   the static library, so try that secondarily.  */
+OUTPUT_FORMAT(elf64-sparc)
+GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a  AS_NEEDED ( /lib/ld-linux.so.2 ) )

Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 92 - 0
package/perl/files/config.sh.sparc64.glibc


+ 0 - 11
package/strace/patches/patch-desc_c

@@ -1,11 +0,0 @@
---- strace-4.8.orig/desc.c	2013-05-02 00:39:10.000000000 +0200
-+++ strace-4.8/desc.c	2013-08-14 08:55:36.000000000 +0200
-@@ -223,7 +223,7 @@ static const struct xlat perf_event_open
- 	{ 0,				NULL			},
- };
- 
--#if _LFS64_LARGEFILE
-+#if defined(_LFS64_LARGEFILE) && defined(__GLIBC__) || defined(__UCLIBC__)
- /* fcntl/lockf */
- static void
- printflock64(struct tcb *tcp, long addr, int getlk)

+ 0 - 19
package/strace/patches/patch-net_c

@@ -1,19 +0,0 @@
---- strace-4.8.orig/net.c	2013-05-18 00:20:02.000000000 +0200
-+++ strace-4.8/net.c	2013-08-14 08:46:21.000000000 +0200
-@@ -94,13 +94,15 @@
- # define PF_UNSPEC AF_UNSPEC
- #endif
- 
--/* Under Linux these are enums so we can't test for them with ifdef. */
-+/* Under Linux (glibc/uclibc) these are enums so we can't test for them with ifdef. */
-+#if defined(__GLIBC__) || defined(__UCLIBC__)
- #define IPPROTO_EGP IPPROTO_EGP
- #define IPPROTO_PUP IPPROTO_PUP
- #define IPPROTO_IDP IPPROTO_IDP
- #define IPPROTO_IGMP IPPROTO_IGMP
- #define IPPROTO_RAW IPPROTO_RAW
- #define IPPROTO_MAX IPPROTO_MAX
-+#endif
- 
- static const struct xlat domains[] = {
- #ifdef PF_UNSPEC

+ 0 - 29
package/strace/patches/patch-process_c

@@ -1,29 +0,0 @@
---- strace-4.8.orig/process.c	2013-05-18 00:22:19.000000000 +0200
-+++ strace-4.8/process.c	2014-01-15 12:21:31.000000000 +0100
-@@ -2857,7 +2844,7 @@ sys_sched_setscheduler(struct tcb *tcp)
- 		if (umove(tcp, tcp->u_arg[2], &p) < 0)
- 			tprintf(", %#lx", tcp->u_arg[2]);
- 		else
--			tprintf(", { %d }", p.__sched_priority);
-+			tprintf(", { %d }", p.sched_priority);
- 	}
- 	return 0;
- }
-@@ -2872,7 +2859,7 @@ sys_sched_getparam(struct tcb *tcp)
- 		if (umove(tcp, tcp->u_arg[1], &p) < 0)
- 			tprintf("%#lx", tcp->u_arg[1]);
- 		else
--			tprintf("{ %d }", p.__sched_priority);
-+			tprintf("{ %d }", p.sched_priority);
- 	}
- 	return 0;
- }
-@@ -2885,7 +2872,7 @@ sys_sched_setparam(struct tcb *tcp)
- 		if (umove(tcp, tcp->u_arg[1], &p) < 0)
- 			tprintf("%d, %#lx", (int) tcp->u_arg[0], tcp->u_arg[1]);
- 		else
--			tprintf("%d, { %d }", (int) tcp->u_arg[0], p.__sched_priority);
-+			tprintf("%d, { %d }", (int) tcp->u_arg[0], p.sched_priority);
- 	}
- 	return 0;
- }

+ 0 - 11
package/strace/patches/patch-signal_c

@@ -1,11 +0,0 @@
---- strace-4.8.orig/signal.c	2013-05-23 15:41:23.000000000 +0200
-+++ strace-4.8/signal.c	2013-10-25 14:36:47.000000000 +0200
-@@ -815,7 +805,7 @@ sys_sigreturn(struct tcb *tcp)
- {
- #if defined(ARM)
- 	if (entering(tcp)) {
--		struct sigcontext_struct sc;
-+		struct sigcontext sc;
- 		sigset_t sigm;
- 		if (umove(tcp, arm_regs.ARM_sp, &sc) < 0)
- 			return 0;

+ 0 - 35
package/strace/patches/patch-syscall_c

@@ -1,35 +0,0 @@
---- strace-4.8.orig/syscall.c	2013-05-14 16:10:42.000000000 +0200
-+++ strace-4.8/syscall.c	2014-01-23 19:57:19.000000000 +0100
-@@ -40,17 +40,6 @@
- # ifndef PTRACE_PEEKUSR
- #  define PTRACE_PEEKUSR PTRACE_PEEKUSER
- # endif
--#elif defined(HAVE_LINUX_PTRACE_H)
--# undef PTRACE_SYSCALL
--# ifdef HAVE_STRUCT_IA64_FPREG
--#  define ia64_fpreg XXX_ia64_fpreg
--# endif
--# ifdef HAVE_STRUCT_PT_ALL_USER_REGS
--#  define pt_all_user_regs XXX_pt_all_user_regs
--# endif
--# include <linux/ptrace.h>
--# undef ia64_fpreg
--# undef pt_all_user_regs
- #endif
- 
- #if defined(SPARC64)
-@@ -72,13 +61,7 @@
- # include <elf.h>
- #endif
- 
--#if defined(AARCH64)
--# include <asm/ptrace.h>
--#endif
--
--#if defined(XTENSA)
--# include <asm/ptrace.h>
--#endif
-+#include <asm/ptrace.h>
- 
- #ifndef ERESTARTSYS
- # define ERESTARTSYS	512

+ 0 - 14
package/strace/patches/patch-time_c

@@ -1,14 +0,0 @@
---- strace-4.8.orig/time.c	2012-05-01 23:17:51.000000000 +0200
-+++ strace-4.8/time.c	2013-08-14 08:52:00.000000000 +0200
-@@ -774,7 +774,11 @@ printsigevent(struct tcb *tcp, long arg)
- 			/* _pad[0] is the _tid field which might not be
- 			   present in the userlevel definition of the
- 			   struct.  */
-+#if defined(__GLIBC__) || defined(__UCLIBC__)
- 			tprintf("{%d}", sev._sigev_un._pad[0]);
-+#else
-+			;
-+#endif
- 		else if (sev.sigev_notify == SIGEV_THREAD)
- 			tprintf("{%p, %p}", sev.sigev_notify_function,
- 				sev.sigev_notify_attributes);

Энэ ялгаанд хэт олон файл өөрчлөгдсөн тул зарим файлыг харуулаагүй болно