mbox series

[0/3] kbuild: remove PROVIDE() and refactor vmlinux_link steps

Message ID 20240522114755.318238-1-masahiroy@kernel.org (mailing list archive)
Headers show
Series kbuild: remove PROVIDE() and refactor vmlinux_link steps | expand

Message

Masahiro Yamada May 22, 2024, 11:47 a.m. UTC
- Remove PROVIDE() in the linker script
 - Merge temporary vmlinux link steps for BTF and kallsyms



Masahiro Yamada (3):
  kbuild: refactor variables in scripts/link-vmlinux.sh
  kbuild: remove PROVIDE() for kallsyms symbols
  kbuild: merge temp vmlinux for CONFIG_DEBUG_INFO_BTF and
    CONFIG_KALLSYMS

 include/asm-generic/vmlinux.lds.h | 19 -------
 kernel/kallsyms_internal.h        |  5 --
 scripts/kallsyms.c                |  6 ---
 scripts/link-vmlinux.sh           | 87 ++++++++++++++++---------------
 4 files changed, 45 insertions(+), 72 deletions(-)

Comments

Jiri Olsa May 28, 2024, 9:42 a.m. UTC | #1
On Wed, May 22, 2024 at 08:47:52PM +0900, Masahiro Yamada wrote:
> 
>  - Remove PROVIDE() in the linker script
>  - Merge temporary vmlinux link steps for BTF and kallsyms
> 
> 
> 
> Masahiro Yamada (3):
>   kbuild: refactor variables in scripts/link-vmlinux.sh
>   kbuild: remove PROVIDE() for kallsyms symbols
>   kbuild: merge temp vmlinux for CONFIG_DEBUG_INFO_BTF and
>     CONFIG_KALLSYMS

lgtm, fyi I ran bpf CI on top of this change and passed

https://github.com/kernel-patches/bpf/pull/7104

jirka

> 
>  include/asm-generic/vmlinux.lds.h | 19 -------
>  kernel/kallsyms_internal.h        |  5 --
>  scripts/kallsyms.c                |  6 ---
>  scripts/link-vmlinux.sh           | 87 ++++++++++++++++---------------
>  4 files changed, 45 insertions(+), 72 deletions(-)
> 
> -- 
> 2.40.1
> 
>