summaryrefslogtreecommitdiff
path: root/exec
diff options
context:
space:
mode:
Diffstat (limited to 'exec')
-rw-r--r--exec/exec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/exec/exec.c b/exec/exec.c
index e267c70d..00bbeac0 100644
--- a/exec/exec.c
+++ b/exec/exec.c
@@ -112,10 +112,10 @@ check_section (bfd *bfd, asection *sec, void *userdata)
static void
load_section (void *section, struct execdata *u)
{
- vm_address_t addr = 0;
+ volatile vm_address_t addr = 0;
vm_offset_t filepos = 0;
vm_size_t filesz = 0, memsz = 0;
- vm_prot_t vm_prot;
+ volatile vm_prot_t vm_prot;
int anywhere;
vm_address_t mask = 0;
#ifdef BFD