search for: archconfig

Displaying 20 results from an estimated 57 matches for "archconfig".

2012 May 05
3
[PATCH] fix non-RT sigsuspend()
...it?s not in klibc. (8) I could not figure out the calling convention either, but the architecture headers seem to work with RT, so switched to RT. Furthermore, its sigset_t seems to be 128 bit wide. Signed-off-by: Thorsten Glaser <tg at mirbsd.org> --- usr/include/arch/alpha/klibc/archconfig.h | 2 ++ usr/include/arch/arm/klibc/archconfig.h | 2 ++ usr/include/arch/cris/klibc/archconfig.h | 2 ++ usr/include/arch/i386/klibc/archconfig.h | 2 ++ usr/include/arch/m68k/klibc/archconfig.h | 2 ++ usr/include/arch/mips/klibc/archconfig.h | 3 +++ usr/incl...
2012 May 15
5
[PATCH 0/5] resubmitting pending patches
Hi, I?ve gone through the mailing list archives and hereby want to resubmit my pending patches. Most are independent of each other, except the m68k patch which will only be complete if sigsuspend is also fixed. (It can be applied before that, though.) http://www.zytor.com/pipermail/klibc/2012-January/003173.html [PATCH] fix m68k support Resubmitted here as 0005. While there was a question from
2016 Jan 06
5
[PATCH klibc 0/5] klibc architecture fixes
...: MIPS: Update archfcntl.h syscalls: Override detection of direct socket syscalls on i386, m68k, s390 Helge Deller (1): Add pread and pwrite 32bit syscall wrappers for parisc Mauricio Faria de Oliveira (1): ppc64: ELFv2: Load TOC value in system call stub usr/include/arch/i386/klibc/archconfig.h | 3 +++ usr/include/arch/m68k/klibc/archconfig.h | 3 +++ usr/include/arch/mips/klibc/archfcntl.h | 22 +++++++++++++++++++++- usr/include/arch/ppc64/klibc/archstat.h | 1 + usr/include/arch/s390/klibc/archconfig.h | 3 +++ usr/include/endian.h | 6 ++++++ usr/klibc/Kb...
2011 May 17
2
[PATCH] arm: use bx on thumb2 v3
...ugs.launchpad.net/ubuntu/+source/klibc/+bug/527720 Cc: Steve Langasek <steve.langasek at canonical.com> Cc: Kirill A. Shutemov <kirill at shutemov.name> Cc: Michael Tokarev <mjt at tls.msk.ru> Signed-off-by: maximilian attems <max at stro.at> --- usr/include/arch/arm/klibc/archconfig.h | 6 +++++- usr/include/arch/arm/klibc/asmmacros.h | 6 ++++++ usr/include/klibc/sysconfig.h | 9 +++++++++ usr/klibc/arch/arm/setjmp.S | 10 ++++++---- usr/klibc/arch/arm/vfork.S | 5 +++-- 5 files changed, 29 insertions(+), 7 deletions(-) diff...
2006 Aug 08
1
[patch] mips fix statfs
please pull from git://charm.itp.tuwien.ac.at/mattems/klibc/.git branch maks. arch/mips/klibc/archconfig.h | 3 +++ klibc/sysconfig.h | 10 ++++++++++ sys/vfs.h | 17 +++++++++++++++++ 3 files changed, 30 insertions(+)
2020 Jul 25
0
[klibc:execstack-fixes] s390: Set sa_restorer for signals and disable executable stack
...able stack Add a __sigreturn stub and point sa_restorer to it by default, so that the kernel doesn't create stack trampolines for signal return. With that done, we no longer need an executable stack. Signed-off-by: Ben Hutchings <ben at decadent.org.uk> --- usr/include/arch/s390/klibc/archconfig.h | 3 +++ usr/klibc/SYSCALLS.def | 1 + usr/klibc/arch/s390/MCONFIG | 5 ++--- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/usr/include/arch/s390/klibc/archconfig.h b/usr/include/arch/s390/klibc/archconfig.h index d7a71a4b..4c45f98a 100644 --- a/usr...
2020 Jul 25
0
[klibc:execstack-fixes] sparc: Set sa_restorer for signals and disable executable stack
...ble stack Add a __sigreturn stub and point sa_restorer to it by default, so that the kernel doesn't create stack trampolines for signal return. With that done, we no longer need an executable stack. Signed-off-by: Ben Hutchings <ben at decadent.org.uk> --- usr/include/arch/sparc/klibc/archconfig.h | 3 +++ usr/klibc/SYSCALLS.def | 2 +- usr/klibc/arch/sparc/MCONFIG | 5 ++--- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/usr/include/arch/sparc/klibc/archconfig.h b/usr/include/arch/sparc/klibc/archconfig.h index 70d5ef08..ab2c5fd7 100644 ---...
2020 Aug 20
0
[klibc:execstack-fixes] s390: Set sa_restorer for signals and disable executable stack
...able stack Add a __sigreturn stub and point sa_restorer to it by default, so that the kernel doesn't create stack trampolines for signal return. With that done, we no longer need an executable stack. Signed-off-by: Ben Hutchings <ben at decadent.org.uk> --- usr/include/arch/s390/klibc/archconfig.h | 3 +++ usr/klibc/SYSCALLS.def | 1 + usr/klibc/arch/s390/MCONFIG | 5 ++--- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/usr/include/arch/s390/klibc/archconfig.h b/usr/include/arch/s390/klibc/archconfig.h index d7a71a4b..4c45f98a 100644 --- a/usr...
2020 Aug 20
0
[klibc:execstack-fixes] sparc: Set sa_restorer for signals and disable executable stack
...ble stack Add a __sigreturn stub and point sa_restorer to it by default, so that the kernel doesn't create stack trampolines for signal return. With that done, we no longer need an executable stack. Signed-off-by: Ben Hutchings <ben at decadent.org.uk> --- usr/include/arch/sparc/klibc/archconfig.h | 3 +++ usr/klibc/SYSCALLS.def | 2 +- usr/klibc/arch/sparc/MCONFIG | 5 ++--- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/usr/include/arch/sparc/klibc/archconfig.h b/usr/include/arch/sparc/klibc/archconfig.h index 70d5ef08..ab2c5fd7 100644 ---...
2020 Aug 27
0
[klibc:master] sparc: Set sa_restorer for signals and disable executable stack
...ers, and set __sigreturn as the restorer if none is already set * Force the SA_SIGINFO flag on for all signal handlers, so that we can always return from them with rt_sigreturn * Set KLIBCEXECSTACK=n Signed-off-by: Ben Hutchings <ben at decadent.org.uk> --- usr/include/arch/sparc/klibc/archconfig.h | 5 +++++ usr/klibc/SYSCALLS.def | 2 +- usr/klibc/arch/sparc/MCONFIG | 5 ++--- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/usr/include/arch/sparc/klibc/archconfig.h b/usr/include/arch/sparc/klibc/archconfig.h index 70d5ef08..651b213d 100644 --...
2020 Jul 25
0
[klibc:execstack-fixes] alpha: Set sa_restorer for signals and disable executable stack
...stack Add a __sigreturn routine and point sa_restorer to it by default, so that the kernel doesn't create stack trampolines for signal return. With that done, we no longer need an executable stack. Signed-off-by: Ben Hutchings <ben at decadent.org.uk> --- usr/include/arch/alpha/klibc/archconfig.h | 3 +++ usr/klibc/arch/alpha/Kbuild | 2 +- usr/klibc/arch/alpha/MCONFIG | 5 ++--- usr/klibc/arch/alpha/sigreturn.S | 16 ++++++++++++++++ 4 files changed, 22 insertions(+), 4 deletions(-) diff --git a/usr/include/arch/alpha/klibc/archconfig.h b/usr/inclu...
2020 Aug 20
0
[klibc:execstack-fixes] alpha: Set sa_restorer for signals and disable executable stack
...stack Add a __sigreturn routine and point sa_restorer to it by default, so that the kernel doesn't create stack trampolines for signal return. With that done, we no longer need an executable stack. Signed-off-by: Ben Hutchings <ben at decadent.org.uk> --- usr/include/arch/alpha/klibc/archconfig.h | 3 +++ usr/klibc/arch/alpha/Kbuild | 2 +- usr/klibc/arch/alpha/MCONFIG | 5 ++--- usr/klibc/arch/alpha/sigreturn.S | 16 ++++++++++++++++ 4 files changed, 22 insertions(+), 4 deletions(-) diff --git a/usr/include/arch/alpha/klibc/archconfig.h b/usr/inclu...
2023 Mar 05
0
[klibc:master] Add LoongArch64 port
...1:13:27 +0100 [klibc] Add LoongArch64 port Add LoongArch64 support. I've cribbed most of this from the RISC-V and MIPS ports. Signed-off-by: Feiyang Chen <chenfeiyang at loongson.cn> Signed-off-by: Ben Hutchings <ben at decadent.org.uk> --- .../{riscv64 => loongarch64}/klibc/archconfig.h | 2 +- .../{riscv64 => loongarch64}/klibc/archsetjmp.h | 11 +++-- .../arch/{ppc => loongarch64}/klibc/archsignal.h | 2 +- .../arch/{riscv64 => loongarch64}/machine/asm.h | 4 +- usr/klibc/SYSCALLS.def | 2 +- usr/klibc/arch/loongarch64/Kbuild...
2020 Aug 27
0
[klibc:master] s390: Set sa_restorer for signals and disable executable stack
...lers, and set __sigreturn as the restorer if none is already set * Force the SA_SIGINFO flag on for all signal handlers, so that we can always return from them with rt_sigreturn * Set KLIBCEXECSTACK=n Signed-off-by: Ben Hutchings <ben at decadent.org.uk> --- usr/include/arch/s390/klibc/archconfig.h | 5 +++++ usr/klibc/SYSCALLS.def | 2 +- usr/klibc/arch/s390/MCONFIG | 5 ++--- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/usr/include/arch/s390/klibc/archconfig.h b/usr/include/arch/s390/klibc/archconfig.h index d7a71a4b..b08bbb3f 100644 --- a/...
2019 Jan 18
0
[klibc:master] Add RISC-V (RV64) port
...ng to go wrong. gp-relative addressing is introduced by "relaxation" in the linker, so I've disabled that for now. Link: https://www.zytor.com/pipermail/klibc/2018-July/003997.html Signed-off-by: Ben Hutchings <ben at decadent.org.uk> --- .../arch/{arm64 => riscv64}/klibc/archconfig.h | 6 +-- .../arch/{mips64 => riscv64}/klibc/archsetjmp.h | 14 +++--- .../arch/{cris => riscv64}/klibc/archsignal.h | 2 +- .../arch/{arm64 => riscv64}/klibc/archstat.h | 0 usr/include/arch/riscv64/machine/asm.h | 26 +++++++++++ usr/klibc/SYSCALLS.def...
2020 Aug 27
0
[klibc:master] alpha: Pass restorer to rt_sigaction() and disable executable stack
...lers, so that we can always return from them with rt_sigreturn * Define a __sigreturn() routine that calls rt_sigreturn * Pass that routine as the last argument to rt_sigaction() * Set KLIBCEXECSTACK=n Signed-off-by: Ben Hutchings <ben at decadent.org.uk> --- usr/include/arch/alpha/klibc/archconfig.h | 2 ++ usr/klibc/arch/alpha/Kbuild | 2 +- usr/klibc/arch/alpha/MCONFIG | 5 ++--- usr/klibc/arch/alpha/sigreturn.S | 18 ++++++++++++++++++ usr/klibc/sigaction.c | 4 ++-- 5 files changed, 25 insertions(+), 6 deletions(-) diff --git a...
2015 Nov 05
0
[klibc:master] Inline __arch_libcinit()
...__arch_libcinit() __arch_libcinit() is only ever used as part of __libc_init(), so we might as well make it an inline function. Signed-off-by: H. Peter Anvin <hpa at zytor.com> --- scripts/Kbuild.klibc.include | 11 +++++++++++ usr/include/arch/i386/klibc/archconfig.h | 2 +- .../i386/archinit.c => include/arch/i386/klibc/archinit.h} | 4 ++-- usr/include/klibc/sysconfig.h | 2 +- usr/klibc/arch/i386/Kbuild | 2 +- usr/klibc/libc_init.c...
2014 Apr 09
0
[klibc:master] Move architecture-specific initialization to arch/
...n code (currently only for i386) into the arch/ directory and define a configuration variable _KLIBC_HAS_ARCHINIT to indicate its presence. For consistency, change __init_stdio() to __libc_init_stdio(). Signed-off-by: H. Peter Anvin <hpa at linux.intel.com> --- usr/include/arch/i386/klibc/archconfig.h | 3 +++ usr/include/klibc/sysconfig.h | 9 +++++++++ usr/klibc/arch/i386/Kbuild | 2 +- usr/klibc/arch/i386/archinit.c | 18 ++++++++++++++++++ usr/klibc/libc_init.c | 21 +++++++++------------ usr/klibc/stdio/fdopen.c | 2...
2013 Nov 12
0
[klibc:master] arm64: Add arm64 support
...bian.org> Originally-by: Anil Singhar <anil.singhar at linaro.org> Signed-off-by: Steve Capper <steve.capper at linaro.org> Signed-off-by: H. Peter Anvin <hpa at zytor.com> --- Makefile | 3 +- usr/include/arch/{sh => arm64}/klibc/archconfig.h | 4 +- usr/include/arch/arm64/klibc/archsetjmp.h | 22 ++++++++++ .../arch/{m32r => arm64}/klibc/archsignal.h | 2 +- usr/include/arch/arm64/klibc/archstat.h | 29 +++++++++++++ usr/include/arch/arm64/klibc/asmmacros.h | 11 +++++ usr/klibc/README.klibc...
2020 Aug 29
0
[klibc:master] ia64: Fix sigaction function implementation
...iptors solely for passing to/from the kernel. Signed-off-by: Jessica Clarke <jrtc27 at jrtc27.com> [bwh: Moved the fix-up into an arch-specific source file and defined _KLIBC_NEEDS_SIGACTION_FIXUP] Signed-off-by: Ben Hutchings <ben at decadent.org.uk> --- usr/include/arch/ia64/klibc/archconfig.h | 3 ++ usr/klibc/SYSCALLS.def | 3 +- usr/klibc/arch/ia64/Kbuild | 2 +- usr/klibc/arch/ia64/sigaction.c | 50 ++++++++++++++++++++++++++++++++ 4 files changed, 56 insertions(+), 2 deletions(-) diff --git a/usr/include/arch/ia64/klibc/archconfig.h b/u...