OSDN Git Service

Add -Wshadow to the gcc command line options used when compiling the binutils.
[pf3gnuchains/pf3gnuchains3x.git] / bfd / vms-hdr.c
index 407fa7f..49e6809 100644 (file)
@@ -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;