public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH 0/2] vdso: Work around and reject absolute relocations
@ 2025-04-29 12:55 Thomas Weißschuh
  2025-04-29 12:55 ` [PATCH 1/2] arm64: vdso: Work around invalid absolute relocations from GCC Thomas Weißschuh
  2025-04-29 12:55 ` [PATCH 2/2] vdso: Reject absolute relocations during build Thomas Weißschuh
  0 siblings, 2 replies; 6+ messages in thread
From: Thomas Weißschuh @ 2025-04-29 12:55 UTC (permalink / raw)
  To: Catalin Marinas, Will Deacon, Nam Cao, Anna-Maria Behnsen,
	Thomas Gleixner, Andy Lutomirski, Vincenzo Frascino
  Cc: linux-arm-kernel, linux-kernel, Jan Stancek,
	Thomas Weißschuh

GCC on arm64 would incorrectly emit absolute relocations in vDSO code.
Work around those and break the build if new ones appear.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
---
Thomas Weißschuh (2):
      arm64: vdso: Work around invalid absolute relocations from GCC
      vdso: Reject absolute relocations during build

 arch/arm64/include/asm/vdso/gettimeofday.h | 13 +++++++++++++
 lib/vdso/Makefile.include                  |  5 +++++
 2 files changed, 18 insertions(+)
---
base-commit: b4432656b36e5cc1d50a1f2dc15357543add530e
change-id: 20250428-vdso-absolute-reloc-a226293c1761

Best regards,
-- 
Thomas Weißschuh <thomas.weissschuh@linutronix.de>



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

end of thread, other threads:[~2025-04-30  8:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-29 12:55 [PATCH 0/2] vdso: Work around and reject absolute relocations Thomas Weißschuh
2025-04-29 12:55 ` [PATCH 1/2] arm64: vdso: Work around invalid absolute relocations from GCC Thomas Weißschuh
2025-04-29 12:55 ` [PATCH 2/2] vdso: Reject absolute relocations during build Thomas Weißschuh
2025-04-29 15:17   ` Jan Stancek
2025-04-30  7:32     ` Thomas Gleixner
2025-04-30  7:57       ` Thomas Weißschuh

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