summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libexec/ld.so/alpha/rtld_machine.c4
-rw-r--r--libexec/ld.so/amd64/rtld_machine.c4
-rw-r--r--libexec/ld.so/arm/rtld_machine.c4
-rw-r--r--libexec/ld.so/hppa/rtld_machine.c4
-rw-r--r--libexec/ld.so/i386/rtld_machine.c4
-rw-r--r--libexec/ld.so/m68k/rtld_machine.c4
-rw-r--r--libexec/ld.so/m88k/rtld_machine.c4
-rw-r--r--libexec/ld.so/mips64/rtld_machine.c4
-rw-r--r--libexec/ld.so/powerpc/rtld_machine.c4
-rw-r--r--libexec/ld.so/sh/rtld_machine.c4
-rw-r--r--libexec/ld.so/sparc/rtld_machine.c4
-rw-r--r--libexec/ld.so/sparc64/rtld_machine.c4
12 files changed, 24 insertions, 24 deletions
diff --git a/libexec/ld.so/alpha/rtld_machine.c b/libexec/ld.so/alpha/rtld_machine.c
index 5fa6273707d..14788eec751 100644
--- a/libexec/ld.so/alpha/rtld_machine.c
+++ b/libexec/ld.so/alpha/rtld_machine.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtld_machine.c,v 1.49 2013/06/01 09:57:57 miod Exp $ */
+/* $OpenBSD: rtld_machine.c,v 1.50 2013/06/13 04:13:47 brad Exp $ */
/*
* Copyright (c) 1999 Dale Rahn
@@ -233,7 +233,7 @@ _dl_bind(elf_object_t *object, int reloff)
SYM_SEARCH_ALL|SYM_WARNNOTFOUND|SYM_PLT, sym, object, &sobj);
if (this == NULL) {
_dl_printf("lazy binding failed!\n");
- *((int *)0) = 0; /* XXX */
+ *(volatile int *)0 = 0; /* XXX */
}
if (sobj->traced && _dl_trace_plt(sobj, symn))
diff --git a/libexec/ld.so/amd64/rtld_machine.c b/libexec/ld.so/amd64/rtld_machine.c
index 852f2a2d3d0..77de2dea58c 100644
--- a/libexec/ld.so/amd64/rtld_machine.c
+++ b/libexec/ld.so/amd64/rtld_machine.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtld_machine.c,v 1.20 2013/06/01 09:57:58 miod Exp $ */
+/* $OpenBSD: rtld_machine.c,v 1.21 2013/06/13 04:13:47 brad Exp $ */
/*
* Copyright (c) 2002,2004 Dale Rahn
@@ -380,7 +380,7 @@ _dl_bind(elf_object_t *object, int index)
SYM_SEARCH_ALL|SYM_WARNNOTFOUND|SYM_PLT, sym, object, &sobj);
if (this == NULL) {
_dl_printf("lazy binding failed!\n");
- *((int *)0) = 0; /* XXX */
+ *(volatile int *)0 = 0; /* XXX */
}
newval = ooff + this->st_value + rel->r_addend;
diff --git a/libexec/ld.so/arm/rtld_machine.c b/libexec/ld.so/arm/rtld_machine.c
index 2afc2deaaf0..7a668758894 100644
--- a/libexec/ld.so/arm/rtld_machine.c
+++ b/libexec/ld.so/arm/rtld_machine.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtld_machine.c,v 1.18 2013/06/01 09:57:58 miod Exp $ */
+/* $OpenBSD: rtld_machine.c,v 1.19 2013/06/13 04:13:47 brad Exp $ */
/*
* Copyright (c) 2004 Dale Rahn
@@ -433,7 +433,7 @@ _dl_bind(elf_object_t *object, int relidx)
SYM_SEARCH_ALL|SYM_WARNNOTFOUND|SYM_PLT, sym, object, &sobj);
if (this == NULL) {
_dl_printf("lazy binding failed!\n");
- *((int *)0) = 0; /* XXX */
+ *(volatile int *)0 = 0; /* XXX */
}
addr = (Elf_Addr *)(object->obj_base + rel->r_offset);
diff --git a/libexec/ld.so/hppa/rtld_machine.c b/libexec/ld.so/hppa/rtld_machine.c
index 5aa71334b1a..6f8084b8929 100644
--- a/libexec/ld.so/hppa/rtld_machine.c
+++ b/libexec/ld.so/hppa/rtld_machine.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtld_machine.c,v 1.27 2013/06/01 09:57:58 miod Exp $ */
+/* $OpenBSD: rtld_machine.c,v 1.28 2013/06/13 04:13:47 brad Exp $ */
/*
* Copyright (c) 2004 Michael Shalayeff
@@ -449,7 +449,7 @@ _dl_bind(elf_object_t *object, int reloff)
SYM_SEARCH_ALL|SYM_WARNNOTFOUND|SYM_PLT, sym, object, &sobj);
if (this == NULL) {
_dl_printf("lazy binding failed!\n");
- *((int *)0) = 0; /* XXX */
+ *(volatile int *)0 = 0; /* XXX */
}
DL_DEB(("%s: %s\n", symn, sobj->load_name));
diff --git a/libexec/ld.so/i386/rtld_machine.c b/libexec/ld.so/i386/rtld_machine.c
index 6e3960c8582..8e309795a23 100644
--- a/libexec/ld.so/i386/rtld_machine.c
+++ b/libexec/ld.so/i386/rtld_machine.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtld_machine.c,v 1.28 2013/06/01 09:57:58 miod Exp $ */
+/* $OpenBSD: rtld_machine.c,v 1.29 2013/06/13 04:13:47 brad Exp $ */
/*
* Copyright (c) 2002 Dale Rahn
@@ -384,7 +384,7 @@ _dl_bind(elf_object_t *object, int index)
SYM_SEARCH_ALL|SYM_WARNNOTFOUND|SYM_PLT, sym, object, &sobj);
if (this == NULL) {
_dl_printf("lazy binding failed!\n");
- *((int *)0) = 0; /* XXX */
+ *(volatile int *)0 = 0; /* XXX */
}
if (sobj->traced && _dl_trace_plt(sobj, symn))
diff --git a/libexec/ld.so/m68k/rtld_machine.c b/libexec/ld.so/m68k/rtld_machine.c
index 8f1624f0e1a..daf644b807c 100644
--- a/libexec/ld.so/m68k/rtld_machine.c
+++ b/libexec/ld.so/m68k/rtld_machine.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtld_machine.c,v 1.3 2013/06/01 09:57:58 miod Exp $ */
+/* $OpenBSD: rtld_machine.c,v 1.4 2013/06/13 04:13:47 brad Exp $ */
/*
* Copyright (c) 2013 Miodrag Vallat.
@@ -358,7 +358,7 @@ _dl_bind(elf_object_t *object, int reloff)
SYM_SEARCH_ALL|SYM_WARNNOTFOUND|SYM_PLT, sym, object, &sobj);
if (this == NULL) {
_dl_printf("lazy binding failed!\n");
- *((int *)0) = 0; /* XXX */
+ *(volatile int *)0 = 0; /* XXX */
}
value = ooff + this->st_value + rel->r_addend;
diff --git a/libexec/ld.so/m88k/rtld_machine.c b/libexec/ld.so/m88k/rtld_machine.c
index 3da2caaad74..2cf1108580d 100644
--- a/libexec/ld.so/m88k/rtld_machine.c
+++ b/libexec/ld.so/m88k/rtld_machine.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtld_machine.c,v 1.8 2013/06/01 09:57:58 miod Exp $ */
+/* $OpenBSD: rtld_machine.c,v 1.9 2013/06/13 04:13:47 brad Exp $ */
/*
* Copyright (c) 2013 Miodrag Vallat.
@@ -416,7 +416,7 @@ _dl_bind(elf_object_t *object, int reloff)
SYM_SEARCH_ALL | SYM_WARNNOTFOUND | SYM_PLT, sym, object, &sobj);
if (this == NULL) {
_dl_printf("lazy binding failed!\n");
- *((int *)0) = 0; /* XXX */
+ *(volatile int *)0 = 0; /* XXX */
}
value = ooff + this->st_value;
diff --git a/libexec/ld.so/mips64/rtld_machine.c b/libexec/ld.so/mips64/rtld_machine.c
index 259353fb5b1..07801487688 100644
--- a/libexec/ld.so/mips64/rtld_machine.c
+++ b/libexec/ld.so/mips64/rtld_machine.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtld_machine.c,v 1.16 2013/06/01 09:57:58 miod Exp $ */
+/* $OpenBSD: rtld_machine.c,v 1.17 2013/06/13 04:13:47 brad Exp $ */
/*
* Copyright (c) 1998-2004 Opsycon AB, Sweden.
@@ -308,7 +308,7 @@ _dl_bind(elf_object_t *object, int symidx)
SYM_SEARCH_ALL|SYM_WARNNOTFOUND|SYM_PLT, sym, object, &sobj);
if (this == NULL) {
_dl_printf("lazy binding failed\n");
- *((int *)0) = 0; /* XXX */
+ *(volatile int *)0 = 0; /* XXX */
}
if (sobj->traced && _dl_trace_plt(sobj, symn))
diff --git a/libexec/ld.so/powerpc/rtld_machine.c b/libexec/ld.so/powerpc/rtld_machine.c
index 65135357ce4..0551a4c54dc 100644
--- a/libexec/ld.so/powerpc/rtld_machine.c
+++ b/libexec/ld.so/powerpc/rtld_machine.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtld_machine.c,v 1.50 2013/06/01 09:57:58 miod Exp $ */
+/* $OpenBSD: rtld_machine.c,v 1.51 2013/06/13 04:13:47 brad Exp $ */
/*
* Copyright (c) 1999 Dale Rahn
@@ -604,7 +604,7 @@ _dl_bind(elf_object_t *object, int reloff)
SYM_SEARCH_ALL|SYM_WARNNOTFOUND|SYM_PLT, sym, object, &sobj);
if (this == NULL) {
_dl_printf("lazy binding failed!\n");
- *((int *)0) = 0; /* XXX */
+ *(volatile int *)0 = 0; /* XXX */
}
value = ooff + this->st_value;
diff --git a/libexec/ld.so/sh/rtld_machine.c b/libexec/ld.so/sh/rtld_machine.c
index 44afbe62cd2..d65f932e36e 100644
--- a/libexec/ld.so/sh/rtld_machine.c
+++ b/libexec/ld.so/sh/rtld_machine.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtld_machine.c,v 1.19 2013/06/01 09:57:58 miod Exp $ */
+/* $OpenBSD: rtld_machine.c,v 1.20 2013/06/13 04:13:47 brad Exp $ */
/*
* Copyright (c) 2004 Dale Rahn
@@ -880,7 +880,7 @@ _dl_bind(elf_object_t *object, int reloff)
SYM_SEARCH_ALL|SYM_WARNNOTFOUND|SYM_PLT, sym, object, &sobj);
if (this == NULL) {
_dl_printf("lazy binding failed!\n");
- *((int *)0) = 0; /* XXX */
+ *(volatile int *)0 = 0; /* XXX */
}
newval = ooff + this->st_value;
diff --git a/libexec/ld.so/sparc/rtld_machine.c b/libexec/ld.so/sparc/rtld_machine.c
index 930289e37f5..4a45d057f79 100644
--- a/libexec/ld.so/sparc/rtld_machine.c
+++ b/libexec/ld.so/sparc/rtld_machine.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtld_machine.c,v 1.36 2013/06/01 09:57:58 miod Exp $ */
+/* $OpenBSD: rtld_machine.c,v 1.37 2013/06/13 04:13:47 brad Exp $ */
/*
* Copyright (c) 1999 Dale Rahn
@@ -356,7 +356,7 @@ _dl_bind(elf_object_t *object, int reloff)
SYM_SEARCH_ALL|SYM_WARNNOTFOUND|SYM_PLT, sym, object, &sobj);
if (this == NULL) {
_dl_printf("lazy binding failed!\n");
- *((int *)0) = 0; /* XXX */
+ *(volatile int *)0 = 0; /* XXX */
}
value = ooff + this->st_value;
diff --git a/libexec/ld.so/sparc64/rtld_machine.c b/libexec/ld.so/sparc64/rtld_machine.c
index 947583dd9d7..7b1f9567667 100644
--- a/libexec/ld.so/sparc64/rtld_machine.c
+++ b/libexec/ld.so/sparc64/rtld_machine.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtld_machine.c,v 1.50 2013/06/01 09:57:58 miod Exp $ */
+/* $OpenBSD: rtld_machine.c,v 1.51 2013/06/13 04:13:47 brad Exp $ */
/*
* Copyright (c) 1999 Dale Rahn
@@ -665,7 +665,7 @@ _dl_bind(elf_object_t *object, int index)
SYM_SEARCH_ALL|SYM_WARNNOTFOUND|SYM_PLT, sym, object, &sobj);
if (this == NULL) {
_dl_printf("lazy binding failed!\n");
- *((int *)0) = 0; /* XXX */
+ *(volatile int *)0 = 0; /* XXX */
}
if (sobj->traced && _dl_trace_plt(sobj, symn))