diff options
Diffstat (limited to 'packages/glibc/2.33/0002-Add-ARC700-support.patch')
-rw-r--r-- | packages/glibc/2.33/0002-Add-ARC700-support.patch | 23 |
1 files changed, 7 insertions, 16 deletions
diff --git a/packages/glibc/2.33/0002-Add-ARC700-support.patch b/packages/glibc/2.33/0002-Add-ARC700-support.patch index 23c94a70..22ae16c9 100644 --- a/packages/glibc/2.33/0002-Add-ARC700-support.patch +++ b/packages/glibc/2.33/0002-Add-ARC700-support.patch @@ -11,16 +11,14 @@ pieces. I looked at uClibc-ng and a patch by Synopsis for glibc. Signed-off-by: Rosen Penev <rosenp@gmail.com> Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> --- - sysdeps/arc/atomic-machine.h | 4 ++++ - sysdeps/unix/sysv/linux/arc/syscall.S | 5 +++++ - sysdeps/unix/sysv/linux/arc/sysdep.h | 8 ++++++++ + sysdeps/arc/atomic-machine.h | 4 ++++ + sysdeps/unix/sysv/linux/arc/syscall.S | 5 +++++ + sysdeps/unix/sysv/linux/arc/sysdep.h | 8 ++++++++ 3 files changed, 17 insertions(+) -diff --git a/sysdeps/arc/atomic-machine.h b/sysdeps/arc/atomic-machine.h -index 1c8638bb44..bde66ae137 100644 --- a/sysdeps/arc/atomic-machine.h +++ b/sysdeps/arc/atomic-machine.h -@@ -64,6 +64,10 @@ typedef uintmax_t uatomic_max_t; +@@ -64,6 +64,10 @@ __atomic_val_bysize (__arch_compare_and_exchange_val, int, \ mem, new, old, __ATOMIC_ACQUIRE) @@ -31,11 +29,9 @@ index 1c8638bb44..bde66ae137 100644 +#endif #endif /* _ARC_BITS_ATOMIC_H */ -diff --git a/sysdeps/unix/sysv/linux/arc/syscall.S b/sysdeps/unix/sysv/linux/arc/syscall.S -index 6227dbf499..0609dbeeba 100644 --- a/sysdeps/unix/sysv/linux/arc/syscall.S +++ b/sysdeps/unix/sysv/linux/arc/syscall.S -@@ -24,8 +24,13 @@ ENTRY (syscall) +@@ -24,8 +24,13 @@ mov_s r1, r2 mov_s r2, r3 mov_s r3, r4 @@ -49,11 +45,9 @@ index 6227dbf499..0609dbeeba 100644 ARC_TRAP_INSN brhi r0, -4096, L (call_syscall_err) -diff --git a/sysdeps/unix/sysv/linux/arc/sysdep.h b/sysdeps/unix/sysv/linux/arc/sysdep.h -index 8465a2f623..3faff27b1c 100644 --- a/sysdeps/unix/sysv/linux/arc/sysdep.h +++ b/sysdeps/unix/sysv/linux/arc/sysdep.h -@@ -128,7 +128,11 @@ L (call_syscall_err): ASM_LINE_SEP \ +@@ -128,7 +128,11 @@ mov r8, __NR_##syscall_name ASM_LINE_SEP \ ARC_TRAP_INSN ASM_LINE_SEP @@ -65,7 +59,7 @@ index 8465a2f623..3faff27b1c 100644 #else /* !__ASSEMBLER__ */ -@@ -139,7 +143,11 @@ extern long int __syscall_error (long int); +@@ -139,7 +143,11 @@ hidden_proto (__syscall_error) # endif @@ -77,6 +71,3 @@ index 8465a2f623..3faff27b1c 100644 # undef INTERNAL_SYSCALL_NCS # define INTERNAL_SYSCALL_NCS(number, nr_args, args...) \ --- -2.16.2 - |