Module Name: src
Committed By: riastradh
Date: Mon Jul 22 23:10:46 UTC 2024
Modified Files:
src/libexec/ld.elf_so/arch/hppa: hppa_reloc.c
Log Message:
ld.elf_so: Cite reference for HP PA-RISC ELF relocations.
PR lib/58455: Missing references for processor-specific ELF
relocation semantics
To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 src/libexec/ld.elf_so/arch/hppa/hppa_reloc.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/hppa/hppa_reloc.c
diff -u src/libexec/ld.elf_so/arch/hppa/hppa_reloc.c:1.50 src/libexec/ld.elf_so/arch/hppa/hppa_reloc.c:1.51
--- src/libexec/ld.elf_so/arch/hppa/hppa_reloc.c:1.50 Sun Jun 4 01:24:57 2023
+++ src/libexec/ld.elf_so/arch/hppa/hppa_reloc.c Mon Jul 22 23:10:46 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: hppa_reloc.c,v 1.50 2023/06/04 01:24:57 joerg Exp $ */
+/* $NetBSD: hppa_reloc.c,v 1.51 2024/07/22 23:10:46 riastradh Exp $ */
/*-
* Copyright (c) 2002, 2004 The NetBSD Foundation, Inc.
@@ -29,9 +29,26 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
+/*
+ * HP PA-RISC ELF relocations.
+ *
+ * References:
+ *
+ * [PAELF] Processor-Specific ELF Supplement for PA-RISC, Version
+ * 1.5, 1998-08-20.
+ * https://parisc.wiki.kernel.org/images-parisc/0/0e/Elf-pa-hp.pdf
+ * https://web.archive.org/web/20240712004045/https://parisc.wiki.kernel.org/images-parisc/0/0e/Elf-pa-hp.pdf
+ *
+ * [PATLS] Randolph Chung, Carlos O'Donell, and John David
+ * Anglin, `Implementing Thread Local Storage for HP PA-RISC
+ * Linux', 2013-11-11.
+ * http://www.parisc-linux.org/documentation/tls/hppa-tls-implementation.pdf
+ * https://web.archive.org/web/20240722131647/http://www.parisc-linux.org/documentation/tls/hppa-tls-implementation.pdf
+ */
+
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: hppa_reloc.c,v 1.50 2023/06/04 01:24:57 joerg Exp $");
+__RCSID("$NetBSD: hppa_reloc.c,v 1.51 2024/07/22 23:10:46 riastradh Exp $");
#endif /* not lint */
#include <stdlib.h>