1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
Linux kernel source tree
Find a file
Michael Ellerman acd35dbab8 powerpc/vmlinux.lds: Add .text.asan/tsan sections
When KASAN/KCSAN are enabled clang generates .text.asan/tsan sections.
Because they are not mentioned in the linker script warnings are
generated, and when orphan handling is set to error that becomes a build
error, eg:

  ld.lld: error: vmlinux.a(init/main.o):(.text.tsan.module_ctor) is
  being placed in '.text.tsan.module_ctor' ld.lld: error:
  vmlinux.a(init/version.o):(.text.tsan.module_ctor) is being placed in
  '.text.tsan.module_ctor'

Fix it by adding the sections to our linker script, similar to the
generic change made in 848378812e ("vmlinux.lds.h: Handle clang's
module.{c,d}tor sections").

Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20230222060037.2897169-1-mpe@ellerman.id.au
2023-02-28 14:32:34 +11:00
arch powerpc/vmlinux.lds: Add .text.asan/tsan sections 2023-02-28 14:32:34 +11:00
block Driver core changes for 6.3-rc1 2023-02-24 12:58:55 -08:00
certs
crypto
Documentation powerpc updates for 6.3 2023-02-25 11:00:06 -08:00
drivers powerpc updates for 6.3 2023-02-25 11:00:06 -08:00
fs Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2023-02-24 19:27:55 -08:00
include cxl for v6.3 2023-02-25 09:19:23 -08:00
init There is no particular theme here - mainly quick hits all over the tree. 2023-02-23 17:55:40 -08:00
io_uring - Daniel Verkamp has contributed a memfd series ("mm/memfd: add 2023-02-23 17:09:35 -08:00
ipc Merge branch 'work.namespace' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2023-02-24 19:20:07 -08:00
kernel cxl for v6.3 2023-02-25 09:19:23 -08:00
lib cxl for v6.3 2023-02-25 09:19:23 -08:00
LICENSES
mm - Daniel Verkamp has contributed a memfd series ("mm/memfd: add 2023-02-23 17:09:35 -08:00
net TTY/Serial driver updates for 6.3-rc1 2023-02-24 12:17:14 -08:00
rust
samples Driver core changes for 6.3-rc1 2023-02-24 12:58:55 -08:00
scripts Devicetree updates for v6.3: 2023-02-24 13:31:53 -08:00
security powerpc updates for 6.3 2023-02-25 11:00:06 -08:00
sound soundwire updates for 6.3 2023-02-24 17:29:52 -08:00
tools powerpc updates for 6.3 2023-02-25 11:00:06 -08:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
.rustfmt.toml
COPYING
CREDITS There is no particular theme here - mainly quick hits all over the tree. 2023-02-23 17:55:40 -08:00
Kbuild
Kconfig
MAINTAINERS powerpc: Drop orphaned VAS MAINTAINERS entry 2023-02-28 14:32:34 +11:00
Makefile Devicetree updates for v6.3: 2023-02-24 13:31:53 -08:00
README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.