Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-9]: src/libexec/ld.elf_so/arch/powerpc Pull up following revision...
details: https://anonhg.NetBSD.org/src/rev/f1d9fb655e5b
branches: netbsd-9
changeset: 370122:f1d9fb655e5b
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Sun Sep 18 00:09:52 2022 +0000
description:
Pull up following revision(s) (requested by martin in ticket #1531):
libexec/ld.elf_so/arch/powerpc/ppc_reloc.c: revision 1.62
Fix copy & pasto: DTPREL relocations do not need to allocate a static
TLS index. Patch from joerg@
diffstat:
libexec/ld.elf_so/arch/powerpc/ppc_reloc.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diffs (28 lines):
diff -r 882dc67f6a3d -r f1d9fb655e5b libexec/ld.elf_so/arch/powerpc/ppc_reloc.c
--- a/libexec/ld.elf_so/arch/powerpc/ppc_reloc.c Fri Sep 16 18:37:48 2022 +0000
+++ b/libexec/ld.elf_so/arch/powerpc/ppc_reloc.c Sun Sep 18 00:09:52 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ppc_reloc.c,v 1.58.2.1 2019/12/09 16:14:10 martin Exp $ */
+/* $NetBSD: ppc_reloc.c,v 1.58.2.2 2022/09/18 00:09:52 msaitoh Exp $ */
/*-
* Copyright (C) 1998 Tsubai Masanari
@@ -30,7 +30,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: ppc_reloc.c,v 1.58.2.1 2019/12/09 16:14:10 martin Exp $");
+__RCSID("$NetBSD: ppc_reloc.c,v 1.58.2.2 2022/09/18 00:09:52 msaitoh Exp $");
#endif /* not lint */
#include <stdarg.h>
@@ -311,9 +311,6 @@
break;
case R_TYPE(DTPREL):
- if (!defobj->tls_done && _rtld_tls_offset_allocate(obj))
- return -1;
-
*where = (Elf_Addr)(def->st_value + rela->r_addend
- TLS_DTV_OFFSET);
rdbg(("DTPREL32 %s in %s --> %p in %s",
Home |
Main Index |
Thread Index |
Old Index