public inbox for linux-mips@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Simplify kallsyms offset table generation
@ 2026-01-16  9:34 Ard Biesheuvel
  2026-01-16  9:34 ` [PATCH v2 1/2] mips: Add support for PC32 relocations in vmlinux Ard Biesheuvel
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Ard Biesheuvel @ 2026-01-16  9:34 UTC (permalink / raw)
  To: linux-kernel
  Cc: Ard Biesheuvel, Nathan Chancellor, Nicolas Schier, Kees Cook,
	Thomas Bogendoerfer, linux-kbuild, linux-hardening, linux-mips

From: Ard Biesheuvel <ardb@kernel.org>

v2:
- implement minimal PC32 support for MIPS so it can tolerate the symbol
  references emitted by kallsyms
- use signed decimal to represent the offset, so that symbols appearing
  before _text can be represented correctly.
- add Kees's ack

Cc: Nathan Chancellor <nathan@kernel.org>
Cc: Nicolas Schier <nsc@kernel.org>
Cc: Kees Cook <kees@kernel.org>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: Kees Cook <kees@kernel.org>
Cc: linux-kbuild@vger.kernel.org 
Cc: linux-hardening@vger.kernel.org
Cc: linux-mips@vger.kernel.org

Ard Biesheuvel (2):
  mips: Add support for PC32 relocations in vmlinux
  kallsyms: Get rid of kallsyms relative base

 arch/mips/boot/tools/relocs.c       |  2 +
 arch/mips/include/asm/elf.h         |  2 +
 kernel/kallsyms.c                   |  6 +-
 kernel/kallsyms_internal.h          |  1 -
 kernel/vmcore_info.c                |  1 -
 scripts/kallsyms.c                  | 64 ++++++--------------
 scripts/link-vmlinux.sh             |  4 ++
 tools/perf/tests/vmlinux-kallsyms.c |  1 -
 8 files changed, 29 insertions(+), 52 deletions(-)

-- 
2.52.0.457.g6b5491de43-goog


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-01-30  0:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-16  9:34 [PATCH v2 0/2] Simplify kallsyms offset table generation Ard Biesheuvel
2026-01-16  9:34 ` [PATCH v2 1/2] mips: Add support for PC32 relocations in vmlinux Ard Biesheuvel
2026-01-16  9:34 ` [PATCH v2 2/2] kallsyms: Get rid of kallsyms relative base Ard Biesheuvel
2026-01-30  0:10 ` [PATCH v2 0/2] Simplify kallsyms offset table generation Nathan Chancellor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox