From 233549d4e3556fb611c06ff0019190dc340a785d Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Tue, 21 Nov 1995 19:10:42 +0000 Subject: (load_section): Declare ADDR and VM_PROT volatile. --- exec/exec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'exec/exec.c') 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 -- cgit v1.2.3