aboutsummaryrefslogtreecommitdiff
path: root/bfd/vms-hdr.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2009-12-11 13:42:17 +0000
committerNick Clifton <nickc@redhat.com>2009-12-11 13:42:17 +0000
commit91d6fa6a035cc7d0b7be5c99c194a64cb80924b0 (patch)
tree214507c313b77d619b52afcae2af0b02c9fa700b /bfd/vms-hdr.c
parent01fe1b4183324882e88e8c64748bffdc69ea3a9c (diff)
downloadbinutils-91d6fa6a035cc7d0b7be5c99c194a64cb80924b0.zip
binutils-91d6fa6a035cc7d0b7be5c99c194a64cb80924b0.tar.gz
binutils-91d6fa6a035cc7d0b7be5c99c194a64cb80924b0.tar.bz2
Add -Wshadow to the gcc command line options used when compiling the binutils.
Fix up all warnings generated by the addition of this switch.
Diffstat (limited to 'bfd/vms-hdr.c')
-rw-r--r--bfd/vms-hdr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bfd/vms-hdr.c b/bfd/vms-hdr.c
index 407fa7f..49e6809 100644
--- a/bfd/vms-hdr.c
+++ b/bfd/vms-hdr.c
@@ -1179,13 +1179,13 @@ build_module_list (bfd *abfd)
of debug info in the DST section, as well as the count of
program sections (i.e. address spans) it contains. */
int modbeg = bfd_getl32 (ptr + DBG_S_L_DMT_MODBEG);
- int size = bfd_getl32 (ptr + DBG_S_L_DST_SIZE);
+ int msize = bfd_getl32 (ptr + DBG_S_L_DST_SIZE);
int count = bfd_getl16 (ptr + DBG_S_W_DMT_PSECT_COUNT);
ptr += DBG_S_C_DMT_HEADER_SIZE;
#if VMS_DEBUG
_bfd_vms_debug (3, "module: modbeg = %d, size = %d, count = %d\n",
- modbeg, size, count);
+ modbeg, msize, count);
#endif
/* We create a 'module' structure for each program section since
@@ -1199,7 +1199,7 @@ build_module_list (bfd *abfd)
int length = bfd_getl32 (ptr + DBG_S_L_DMT_PSECT_LENGTH);
module = new_module (abfd);
module->modbeg = modbeg;
- module->size = size;
+ module->size = msize;
module->low = start;
module->high = start + length;
module->next = list;