diff options
author | Michael I. Bushnell <mib@gnu.org> | 1995-11-21 19:10:42 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1995-11-21 19:10:42 +0000 |
commit | 233549d4e3556fb611c06ff0019190dc340a785d (patch) | |
tree | 7e6a8ac87b458375683f3ed61bee1d7c28155c5d /exec | |
parent | f6c64250710d12a398690135a14774254d36721d (diff) |
(load_section): Declare ADDR and VM_PROT volatile.
Diffstat (limited to 'exec')
-rw-r--r-- | exec/exec.c | 4 |
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 |