kernel_samsung_a53x/arch/x86/tools
Guixiong Wei 19d8721052 x86/boot: Ignore relocations in .notes sections in walk_relocs() too
[ Upstream commit 76e9762d66373354b45c33b60e9a53ef2a3c5ff2 ]

Commit:

  aaa8736370db ("x86, relocs: Ignore relocations in .notes section")

... only started ignoring the .notes sections in print_absolute_relocs(),
but the same logic should also by applied in walk_relocs() to avoid
such relocations.

[ mingo: Fixed various typos in the changelog, removed extra curly braces from the code. ]

Fixes: aaa8736370db ("x86, relocs: Ignore relocations in .notes section")
Fixes: 5ead97c84fa7 ("xen: Core Xen implementation")
Fixes: da1a679cde9b ("Add /sys/kernel/notes")
Signed-off-by: Guixiong Wei <weiguixiong@bytedance.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20240317150547.24910-1-weiguixiong@bytedance.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 12:26:53 +01:00
..
chkobjdump.awk Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gen-insn-attr-x86.awk Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
insn_decoder_test.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
insn_sanity.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
objdump_reformat.awk Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
relocs.c x86/boot: Ignore relocations in .notes sections in walk_relocs() too 2024-11-19 12:26:53 +01:00
relocs.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
relocs_32.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
relocs_64.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
relocs_common.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00