Module Name: src
Committed By: uwe
Date: Tue Jul 23 09:27:00 UTC 2024
Modified Files:
src/libexec/ld.elf_so/arch/sh3: mdreloc.c
Log Message:
ld.elf_so: Cite reference for SuperH ELF relocations
PR lib/58455: Missing references for processor-specific ELF
relocation semantics
To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/libexec/ld.elf_so/arch/sh3/mdreloc.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/libexec/ld.elf_so/arch/sh3/mdreloc.c
diff -u src/libexec/ld.elf_so/arch/sh3/mdreloc.c:1.36 src/libexec/ld.elf_so/arch/sh3/mdreloc.c:1.37
--- src/libexec/ld.elf_so/arch/sh3/mdreloc.c:1.36 Sun Jun 4 01:24:58 2023
+++ src/libexec/ld.elf_so/arch/sh3/mdreloc.c Tue Jul 23 09:27:00 2024
@@ -1,10 +1,19 @@
-/* $NetBSD: mdreloc.c,v 1.36 2023/06/04 01:24:58 joerg Exp $ */
+/* $NetBSD: mdreloc.c,v 1.37 2024/07/23 09:27:00 uwe Exp $ */
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: mdreloc.c,v 1.36 2023/06/04 01:24:58 joerg Exp $");
+__RCSID("$NetBSD: mdreloc.c,v 1.37 2024/07/23 09:27:00 uwe Exp $");
#endif /* not lint */
+/*
+ * SuperH ELF relocations.
+ *
+ * Reference:
+ *
+ * [RM0197] SH-4 generic and C specific application binary interface
+ * https://www.st.com/resource/en/reference_manual/rm0197-sh4-generic-and-c-specific-application-binary-interface-stmicroelectronics.pdf
+ */
+
#include <sys/types.h>
#include <sys/tls.h>