Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/libexec/ld.elf_so Alignment. NFCI.
details: https://anonhg.NetBSD.org/src/rev/75d0f8987308
branches: trunk
changeset: 373438:75d0f8987308
user: skrll <skrll%NetBSD.org@localhost>
date: Fri Feb 10 08:12:48 2023 +0000
description:
Alignment. NFCI.
diffstat:
libexec/ld.elf_so/tls.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r ab3a8c685a83 -r 75d0f8987308 libexec/ld.elf_so/tls.c
--- a/libexec/ld.elf_so/tls.c Thu Feb 09 22:21:57 2023 +0000
+++ b/libexec/ld.elf_so/tls.c Fri Feb 10 08:12:48 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tls.c,v 1.14 2019/11/05 22:22:42 joerg Exp $ */
+/* $NetBSD: tls.c,v 1.15 2023/02/10 08:12:48 skrll Exp $ */
/*-
* Copyright (c) 2011 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: tls.c,v 1.14 2019/11/05 22:22:42 joerg Exp $");
+__RCSID("$NetBSD: tls.c,v 1.15 2023/02/10 08:12:48 skrll Exp $");
#include <sys/param.h>
#include <sys/ucontext.h>
@@ -53,8 +53,8 @@
size_t _rtld_tls_dtv_generation = 1;
size_t _rtld_tls_max_index = 1;
-#define DTV_GENERATION(dtv) ((size_t)((dtv)[0]))
-#define DTV_MAX_INDEX(dtv) ((size_t)((dtv)[-1]))
+#define DTV_GENERATION(dtv) ((size_t)((dtv)[0]))
+#define DTV_MAX_INDEX(dtv) ((size_t)((dtv)[-1]))
#define SET_DTV_GENERATION(dtv, val) (dtv)[0] = (void *)(size_t)(val)
#define SET_DTV_MAX_INDEX(dtv, val) (dtv)[-1] = (void *)(size_t)(val)
Home |
Main Index |
Thread Index |
Old Index