Displaying 20 results from an estimated 2000 matches similar to: "[klibc:master] Kbuild: support clang's lld"
2020 Mar 27
1
[PATCH v2 2/5] Kbuild: support clang's lld
From: Stanislav Fomichev <sdf at google.com>
Clang's lld prefers the use of "-image-base" instead of
"-Ttext-segment".
Signed-off-by: Stanislav Fomichev <sdf at google.com>
Signed-off-by: Bill Wendling <morbo at google.com>
---
Makefile | 3 +++
usr/klibc/arch/i386/MCONFIG | 2 +-
usr/klibc/arch/mips64/MCONFIG | 2 +-
2020 Jul 25
0
[klibc:master] arch: Explicitly disable or enable executable stacks
Commit-ID: 27ad55131385821dfe85b0320f4d6ba8861ab7e5
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=27ad55131385821dfe85b0320f4d6ba8861ab7e5
Author: Ben Hutchings <ben at decadent.org.uk>
AuthorDate: Wed, 29 Apr 2020 22:56:59 +0100
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Sat, 25 Jul 2020 17:33:29 +0100
[klibc] arch: Explicitly disable
2020 Jul 26
0
[kvm-unit-tests PATCH v3 0/4] Update patch set
On Sat, Jul 25, 2020 at 4:10 PM Ben Hutchings <ben at decadent.org.uk> wrote:
> On Sat, 2020-07-25 at 15:16 -0700, Bill Wendling wrote:
> > On Sat, Jul 25, 2020 at 2:56 PM Ben Hutchings <ben at decadent.org.uk> wrote:
> > > On Sat, 2020-07-25 at 14:36 -0700, Bill Wendling wrote:
> > > [...]
> > > > I upstreamed a few patches to klibc to fix a few
2020 Jan 27
4
[PATCH] support llvm's lld
When using clang+llvm and lld, I get the following error:
ld.lld: error: -Ttext-segment is not supported. Use --image-base if you intend to set the base address
Let's test whether linker is lld and use --image-base instead of
-Ttext-segment. See llvm's rationale for not supporting -Ttext-segment:
https://github.com/llvm/llvm-project/commit/4dc2fb123dcfe9a97ad6f3a1135053b74efd0bc9
Note
2019 Jan 18
0
[klibc:master] Kbuild: Remove KLIBCKERNELOBJ variable
Commit-ID: ad72c27485b86171153ab26a1c1035f8e9bbd5e3
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=ad72c27485b86171153ab26a1c1035f8e9bbd5e3
Author: Ben Hutchings <ben at decadent.org.uk>
AuthorDate: Sun, 6 Jan 2019 20:50:56 +0000
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Fri, 18 Jan 2019 03:10:14 +0000
[klibc] Kbuild: Remove
2019 Jan 20
0
[klibc:master] Use -Ttext-segment to link shared library on all arches
Commit-ID: 72d6d78a8f0d24a64911c246487402c81b4beb9d
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=72d6d78a8f0d24a64911c246487402c81b4beb9d
Author: Ben Hutchings <ben at decadent.org.uk>
AuthorDate: Sun, 20 Jan 2019 19:41:47 +0000
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Sun, 20 Jan 2019 21:15:17 +0000
[klibc] Use -Ttext-segment to link
2020 Aug 29
0
[klibc:riscv64-enable-relax] riscv64: Make linker relaxation work and enable it
Commit-ID: 83fcb05804497482caab9a77451907f1a5a6a8e2
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=83fcb05804497482caab9a77451907f1a5a6a8e2
Author: Ben Hutchings <ben at decadent.org.uk>
AuthorDate: Sat, 29 Aug 2020 21:59:24 +0100
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Sun, 30 Aug 2020 00:48:29 +0100
[klibc] riscv64: Make linker
2023 Mar 05
0
[klibc:master] Add LoongArch64 port
Commit-ID: 53ce949578446360c4b636a46eadfdb7aed2779d
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=53ce949578446360c4b636a46eadfdb7aed2779d
Author: Feiyang Chen <chenfeiyang at loongson.cn>
AuthorDate: Mon, 20 Feb 2023 10:46:02 +0800
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Fri, 3 Mar 2023 21:13:27 +0100
[klibc] Add LoongArch64 port
2020 Oct 13
1
[PATCH] klibc: support llvm's lld for arm64
Use $(LD_IMAGE_BASE_OPT) instead of hardcoding --Ttext-segment,
which lld does not support. This allows either --Ttext-segment
or -image-base to be emitted based on the linker.
Signed-off-by: Andrew Delgadillo <adelg at google.com>
---
usr/klibc/arch/arm64/MCONFIG | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/usr/klibc/arch/arm64/MCONFIG b/usr/klibc/arch/arm64/MCONFIG
2020 Aug 29
0
[klibc:riscv64-enable-relax] riscv64: Make linker relaxation work and enable it
Commit-ID: a966c3a12ee8b921dc669647c1fe75b25f72e604
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=a966c3a12ee8b921dc669647c1fe75b25f72e604
Author: Ben Hutchings <ben at decadent.org.uk>
AuthorDate: Sat, 29 Aug 2020 21:59:24 +0100
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Sat, 29 Aug 2020 23:33:09 +0100
[klibc] riscv64: Make linker
2020 Mar 29
7
[kvm-unit-tests PATCH v3 0/4] Update patch set
- Renamed IMAGE_BASE to LD_IMAGE_BASE_OPT.
- Moved "-fcommon" to KLIBCREQFLAGS in scripts/Kbuild.klibc.
- Remove "dash" warning fixes which have been upstreamed.
- Conditionalize the inclusion of compiler flags by using the proper
compiler name or "cc-option".
- Added "-Werror" to "cc-option" to catch flags that cause warnings.
- Retain
2020 Jul 25
0
[klibc:execstack-fixes] alpha: Set sa_restorer for signals and disable executable stack
Commit-ID: 82da8480ac0d5df8dfcb051c1acd2099463f68d4
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=82da8480ac0d5df8dfcb051c1acd2099463f68d4
Author: Ben Hutchings <ben at decadent.org.uk>
AuthorDate: Thu, 30 Apr 2020 13:31:32 +0100
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Sat, 25 Jul 2020 17:33:29 +0100
[klibc] alpha: Set sa_restorer for
2020 Aug 20
0
[klibc:execstack-fixes] alpha: Set sa_restorer for signals and disable executable stack
Commit-ID: 7f84d11885cf3e9298d53a2714800a8ac9c4dd74
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=7f84d11885cf3e9298d53a2714800a8ac9c4dd74
Author: Ben Hutchings <ben at decadent.org.uk>
AuthorDate: Thu, 30 Apr 2020 13:31:32 +0100
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Thu, 20 Aug 2020 23:22:58 +0100
[klibc] alpha: Set sa_restorer for
2020 Aug 27
0
[klibc:master] alpha: Pass restorer to rt_sigaction() and disable executable stack
Commit-ID: 570ed1e207cbe38ed487c722f8ac7db68e664a94
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=570ed1e207cbe38ed487c722f8ac7db68e664a94
Author: Ben Hutchings <ben at decadent.org.uk>
AuthorDate: Sun, 23 Aug 2020 15:18:19 +0100
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Thu, 27 Aug 2020 15:00:33 +0100
[klibc] alpha: Pass restorer to
2013 Dec 26
2
[PATCH] Update header locations for uapi & generated
In the v3.6 kernel, many of the headers were split out into a uapi variant.
klibc should be using those variants to compile.
There is also a generated subdir, to seperate out generated headers.
The old kernel header location needs to be included as well, because
linux/compiler.h is available only in the base include directory.
Signed-off-by: Robin H. Johnson <robbat2 at gentoo.org>
---
2023 Feb 20
1
[PATCH] Add LoongArch64 port
From: Feiyang Chen <chenfeiyang at loongson.cn>
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>
---
.../arch/loongarch64/klibc/archconfig.h | 15 ++++++
.../arch/loongarch64/klibc/archsetjmp.h | 26 ++++++++++
.../arch/loongarch64/klibc/archsignal.h | 14 ++++++
2020 Apr 29
2
[PATCH klibc 1/3] Revert " Kbuild: Tell gas we don't want executable stacks"
This reverts commit 9d8d648e604026b32cad00a84ed6c29cbd157641, which
broke signal handing on some architectures.
On m68k and parisc, signal return depends on a trampoline that the
kernel writes on the stack. On alpha, s390, and sparc (32-bit), we
can avoid this by providing our own function as sa_restorer, but we
currently don't.
Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
2019 Jan 18
0
[klibc:master] mips64: compile with -mno-abicalls
Commit-ID: 0a14ced5d7d0c23ece5d2828cbdff6cb1c589b8d
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=0a14ced5d7d0c23ece5d2828cbdff6cb1c589b8d
Author: James Cowgill <james.cowgill at mips.com>
AuthorDate: Fri, 2 Mar 2018 14:48:21 +0000
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Wed, 2 Jan 2019 03:08:04 +0000
[klibc] mips64: compile with
2020 Mar 27
12
[PATCH 0/5] Clang compatibility patches
This is a series of patches for clang compatibility:
- Using flags needed flags and removing unsupported flags.
- Adding support for clang's LLD linker.
- Removing a variety of warnings.
Bill Wendling (3):
[klibc] Kbuild: use "libc.a" with clang
[klibc] Kbuild: Add "-fcommon" for clang builds
[klibc] Clean up clang warnings
Michael Davidson (1):
[klibc] Kbuild:
2019 Jan 18
0
[klibc:master] i386: Use -Ttext-segment to avoid address collision
Commit-ID: 34163a2c7d1c3b841a35b242dbdbda25c4fb1ecb
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=34163a2c7d1c3b841a35b242dbdbda25c4fb1ecb
Author: Ben Hutchings <ben at decadent.org.uk>
AuthorDate: Sun, 6 Jan 2019 03:19:51 +0000
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Fri, 18 Jan 2019 03:10:14 +0000
[klibc] i386: Use -Ttext-segment to