This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] binutils/[f-o]*.[ch]: Fix formatting.


Hi,

Attached is a patch to fix formatting.  Committed as obvious.

Kazu Hirata

2002-05-21  Kazu Hirata  <kazu@cs.umass.edu>

	* filemode.c: Fix formatting.
	* ieee.c: Likewise.
	* is-ranlib.c: Likewise.
	* is-strip.c: Likewise.
	* maybe-ranlib.c: Likewise.
	* maybe-strip.c: Likewise.
	* nlmconv.c: Likewise.
	* nm.c: Likewise.
	* not-ranlib.c: Likewise.
	* not-strip.c: Likewise.
	* objcopy.c: Likewise.
	* objdump.c: Likewise.

Index: filemode.c
===================================================================
RCS file: /cvs/src/src/binutils/filemode.c,v
retrieving revision 1.3
diff -u -r1.3 filemode.c
--- filemode.c	13 Mar 2001 06:43:57 -0000	1.3
+++ filemode.c	21 May 2002 19:30:50 -0000
@@ -57,7 +57,7 @@
    9	'x' if any user may execute, 't' if the file is "sticky"
 	(will be retained in swap space after execution), '-'
 	otherwise.
-	'T' if the file is sticky but not executable. */
+	'T' if the file is sticky but not executable.  */
 
 #if 0
 
@@ -115,7 +115,7 @@
 #endif
 
 /* Like filemodestring, but only the relevant part of the `struct stat'
-   is given as an argument. */
+   is given as an argument.  */
 
 void
 mode_string (mode, str)
@@ -144,7 +144,7 @@
    'l' for symbolic links
    's' for sockets
    'p' for fifos
-   '-' for any other file type. */
+   '-' for any other file type.  */
 
 #ifndef S_ISDIR
 #ifdef S_IFDIR
@@ -227,7 +227,7 @@
 }
 
 /* Set the 's' and 't' flags in file attributes string CHARS,
-   according to the file mode BITS. */
+   according to the file mode BITS.  */
 
 static void
 setst (bits, chars)
@@ -238,7 +238,7 @@
   if (bits & S_ISUID)
     {
       if (chars[3] != 'x')
-	/* Set-uid, but not executable by owner. */
+	/* Set-uid, but not executable by owner.  */
 	chars[3] = 'S';
       else
 	chars[3] = 's';
@@ -248,7 +248,7 @@
   if (bits & S_ISGID)
     {
       if (chars[6] != 'x')
-	/* Set-gid, but not executable by group. */
+	/* Set-gid, but not executable by group.  */
 	chars[6] = 'S';
       else
 	chars[6] = 's';
@@ -258,7 +258,7 @@
   if (bits & S_ISVTX)
     {
       if (chars[9] != 'x')
-	/* Sticky, but not executable by others. */
+	/* Sticky, but not executable by others.  */
 	chars[9] = 'T';
       else
 	chars[9] = 't';
Index: ieee.c
===================================================================
RCS file: /cvs/src/src/binutils/ieee.c,v
retrieving revision 1.8
diff -u -r1.8 ieee.c
--- ieee.c	13 Mar 2001 06:43:57 -0000	1.8
+++ ieee.c	21 May 2002 19:30:55 -0000
@@ -344,7 +344,7 @@
 }
 
 /* Read a number in an IEEE file.  If ppresent is not NULL, the number
-   need not be there. */
+   need not be there.  */
 
 static boolean
 ieee_read_optional_number (info, pp, pv, ppresent)
@@ -1036,7 +1036,7 @@
 
     case 2:
       /* BB2: Global type definitions.  The name is supposed to be
-	 empty, but we don't check. */
+	 empty, but we don't check.  */
       if (! debug_set_filename (info->dhandle, "*global*"))
 	return false;
       info->saw_filename = true;
@@ -6207,7 +6207,7 @@
 
   /* If we were ignoring this struct definition because it was a
      duplicate defintion, just through away whatever bytes we have
-     accumulated.  Leave the type on the stack. */
+     accumulated.  Leave the type on the stack.  */
   if (info->type_stack->type.ignorep)
     return true;
 
@@ -6761,7 +6761,7 @@
       if (! nt->type.localp)
 	{
 	  /* This is a duplicate of a global type, so it must be
-             local. */
+             local.  */
 	  localp = true;
 	}
     }
Index: is-ranlib.c
===================================================================
RCS file: /cvs/src/src/binutils/is-ranlib.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 is-ranlib.c
--- is-ranlib.c	3 May 1999 07:29:09 -0000	1.1.1.1
+++ is-ranlib.c	21 May 2002 19:30:55 -0000
@@ -1,3 +1,3 @@
-/* Linked with ar.o to flag that this program is 'ranlib' (not 'ar'). */
+/* Linked with ar.o to flag that this program is 'ranlib' (not 'ar').  */
 
 int is_ranlib = 1;
Index: is-strip.c
===================================================================
RCS file: /cvs/src/src/binutils/is-strip.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 is-strip.c
--- is-strip.c	3 May 1999 07:29:10 -0000	1.1.1.1
+++ is-strip.c	21 May 2002 19:30:55 -0000
@@ -1,4 +1,4 @@
 /* Linked with objcopy.o to flag that this program is 'strip' (not
-   'objcopy'). */
+   'objcopy').  */
 
 int is_strip = 1;
Index: maybe-ranlib.c
===================================================================
RCS file: /cvs/src/src/binutils/maybe-ranlib.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 maybe-ranlib.c
--- maybe-ranlib.c	3 May 1999 07:29:10 -0000	1.1.1.1
+++ maybe-ranlib.c	21 May 2002 19:30:55 -0000
@@ -1,4 +1,4 @@
 /* Linked with ar.o to flag that this program decides at runtime
-   (using argv[0] if it is is 'ar' or 'ranlib'. */
+   (using argv[0] if it is is 'ar' or 'ranlib'.  */
 
 int is_ranlib = -1;
Index: maybe-strip.c
===================================================================
RCS file: /cvs/src/src/binutils/maybe-strip.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 maybe-strip.c
--- maybe-strip.c	3 May 1999 07:29:10 -0000	1.1.1.1
+++ maybe-strip.c	21 May 2002 19:30:55 -0000
@@ -1,4 +1,4 @@
 /* Linked with objcopy.o to flag that this program decides at runtime
-   (using argv[0] if it is is 'strip' or 'objcopy'. */
+   (using argv[0] if it is is 'strip' or 'objcopy'.  */
 
 int is_strip = -1;
Index: nlmconv.c
===================================================================
RCS file: /cvs/src/src/binutils/nlmconv.c,v
retrieving revision 1.11
diff -u -r1.11 nlmconv.c
--- nlmconv.c	11 Feb 2002 02:41:16 -0000	1.11
+++ nlmconv.c	21 May 2002 19:30:57 -0000
@@ -559,7 +559,7 @@
 	      sym->section = got_sec->output_section;
 	    }
 #endif
- 	}
+	}
 
       /* If this is a global symbol, check the export list.  */
       if ((sym->flags & (BSF_EXPORT | BSF_GLOBAL)) != 0)
@@ -635,7 +635,7 @@
 	    non_fatal (_("warning: symbol %s imported but not in import list"),
 		       bfd_asymbol_name (sym));
 	}
-	
+
       /* See if it's one of the special named symbols.  */
       if ((sym->flags & BSF_DEBUGGING) == 0)
 	{
@@ -699,7 +699,7 @@
     }
 
   bfd_set_symtab (outbfd, outsyms, symcount + newsymcount);
-    
+
   if (! gotstart)
     non_fatal (_("warning: START procedure %s not defined"), start_procedure);
   if (! gotexit)
@@ -1810,7 +1810,7 @@
 
       item->next = powerpc_stubs;
       powerpc_stubs = item;
-      
+
       ++stubcount;
     }
 
@@ -1893,7 +1893,7 @@
       reloc->address = l->toc_index + got_sec->output_offset;
       reloc->addend = 0;
       reloc->howto = bfd_reloc_type_lookup (inbfd, BFD_RELOC_32);
-				      
+
       *r++ = reloc;
     }
 
Index: nm.c
===================================================================
RCS file: /cvs/src/src/binutils/nm.c,v
retrieving revision 1.20
diff -u -r1.20 nm.c
--- nm.c	1 May 2002 06:43:32 -0000	1.20
+++ nm.c	21 May 2002 19:30:58 -0000
@@ -441,14 +441,14 @@
 	  if (optarg != NULL)
 	    {
 	      enum demangling_styles style;
-	      
+
 	      style = cplus_demangle_name_to_style (optarg);
-	      if (style == unknown_demangling) 
+	      if (style == unknown_demangling)
 		fatal (_("unknown demangling style `%s'"),
 		       optarg);
-	      
+
 	      cplus_demangle_set_style (style);
-           }
+	    }
 	  break;
 	case 'D':
 	  dynamic = 1;
@@ -1035,7 +1035,7 @@
       asymbol *sym;
 
       PROGRESS (1);
-      
+
       sym = bfd_minisymbol_to_symbol (abfd, dynamic, (const PTR) from, store);
       if (sym == NULL)
 	bfd_fatal (bfd_get_filename (abfd));
@@ -1144,7 +1144,7 @@
 
 /* Print the symbols when sorting by size.  */
 
-static void 
+static void
 print_size_symbols (abfd, dynamic, symsizes, symcount, archive_bfd)
      bfd *abfd;
      boolean dynamic;
Index: not-ranlib.c
===================================================================
RCS file: /cvs/src/src/binutils/not-ranlib.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 not-ranlib.c
--- not-ranlib.c	3 May 1999 07:29:10 -0000	1.1.1.1
+++ not-ranlib.c	21 May 2002 19:30:58 -0000
@@ -1,3 +1,3 @@
-/* Linked with ar.o to flag that this program is 'ar' (not 'ranlib'). */
+/* Linked with ar.o to flag that this program is 'ar' (not 'ranlib').  */
 
 int is_ranlib = 0;
Index: not-strip.c
===================================================================
RCS file: /cvs/src/src/binutils/not-strip.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 not-strip.c
--- not-strip.c	3 May 1999 07:29:10 -0000	1.1.1.1
+++ not-strip.c	21 May 2002 19:30:58 -0000
@@ -1,4 +1,4 @@
 /* Linked with objcopy.o to flag that this program is 'objcopy' (not
-   'strip'). */
+   'strip').  */
 
 int is_strip = 0;
Index: objcopy.c
===================================================================
RCS file: /cvs/src/src/binutils/objcopy.c,v
retrieving revision 1.38
diff -u -r1.38 objcopy.c
--- objcopy.c	11 Feb 2002 05:08:42 -0000	1.38
+++ objcopy.c	21 May 2002 19:31:00 -0000
@@ -32,7 +32,7 @@
 /* A list of symbols to explicitly strip out, or to keep.  A linked
    list is good enough for a small number from the command line, but
    this will slow things down a lot if many symbols are being
-   deleted. */
+   deleted.  */
 
 struct symlist
 {
@@ -97,7 +97,7 @@
 static int copy_byte = -1;
 static int interleave = 4;
 
-static boolean verbose;		/* Print file and target names. */
+static boolean verbose;		/* Print file and target names.  */
 static boolean preserve_dates;	/* Preserve input file timestamp.  */
 static int status = 0;		/* Exit status.  */
 
@@ -110,7 +110,7 @@
     STRIP_ALL			/* strip all symbols */
   };
 
-/* Which symbols to remove. */
+/* Which symbols to remove.  */
 static enum strip_action strip_symbols;
 
 enum locals_action
@@ -339,7 +339,7 @@
 
 /* This flag distinguishes between strip and objcopy:
    1 means this is 'strip'; 0 means this is 'objcopy'.
-   -1 means if we should use argv[0] to decide. */
+   -1 means if we should use argv[0] to decide.  */
 extern int is_strip;
 
 /* The maximum length of an S record.  This variable is declared in srec.c
@@ -564,7 +564,7 @@
   *list = tmp_list;
 }
 
-/* Add symbols listed in `filename' to strip_specific_list. */
+/* Add symbols listed in `filename' to strip_specific_list.  */
 
 #define IS_WHITESPACE(c)      ((c) == ' ' || (c) == '\t')
 #define IS_LINE_TERMINATOR(c) ((c) == '\n' || (c) == '\r' || (c) == '\0')
@@ -579,7 +579,7 @@
   char * line;
   char * buffer;
   unsigned int line_count;
-  
+
   if (stat (filename, & st) < 0)
     fatal (_("cannot stat: %s: %s"), filename, strerror (errno));
   if (st.st_size == 0)
@@ -598,7 +598,7 @@
   buffer [st.st_size + 1] = '\0';
 
   line_count = 1;
-  
+
   for (line = buffer; * line != '\0'; line ++)
     {
       char * eol;
@@ -617,7 +617,7 @@
 		++ eol;
 	      finished = true;
 	      break;
-	      
+
 	    case '\r':
 	      * eol = '\0';
 	      /* Cope with \r\n.  */
@@ -625,18 +625,18 @@
 		++ eol;
 	      finished = true;
 	      break;
-	      
+
 	    case 0:
 	      finished = true;
 	      break;
-	      
+
 	    case '#':
 	      /* Line comment, Terminate the line here, in case a
 		 name is present and then allow the rest of the
 		 loop to find the real end of the line.  */
 	      * eol = '\0';
 	      break;
-	      
+
 	    default:
 	      break;
 	    }
@@ -653,8 +653,8 @@
       for (name_end = name;
 	   (! IS_WHITESPACE (* name_end))
 	   && (! IS_LINE_TERMINATOR (* name_end));
-           name_end ++)
-        ;
+	   name_end ++)
+	;
 
       if (! IS_LINE_TERMINATOR (* name_end))
 	{
@@ -667,7 +667,7 @@
 	    non_fatal (_("Ignoring rubbish found on line %d of %s"),
 		       line_count, filename);
 	}
-  
+
       * name_end = '\0';
 
       if (name_end > name)
@@ -797,7 +797,7 @@
 		   && ((*bfd_get_section (sym)->symbol_ptr_ptr)->flags
 		       & BSF_KEEP) != 0))
 	keep = 1;
-      else if (relocatable			/* Relocatable file. */
+      else if (relocatable			/* Relocatable file.  */
 	       && (flags & (BSF_GLOBAL | BSF_WEAK)) != 0)
 	keep = 1;
       else if (bfd_decode_symclass (sym) == 'I')
@@ -960,8 +960,8 @@
     start = bfd_get_start_address (ibfd);
   start += change_start;
 
-  /* Neither the start address nor the flags 
-     need to be set for a core file. */
+  /* Neither the start address nor the flags
+     need to be set for a core file.  */
   if (bfd_get_format (obfd) != bfd_core)
     {
       if (!bfd_set_start_address (obfd, start)
@@ -1088,8 +1088,8 @@
 					      size + (gap_stop - gap_start)))
 		    {
 		      non_fatal (_("Can't fill gap after %s: %s"),
-			       bfd_get_section_name (obfd, osections[i]),
-			       bfd_errmsg (bfd_get_error ()));
+				 bfd_get_section_name (obfd, osections[i]),
+				 bfd_errmsg (bfd_get_error ()));
 		      status = 1;
 		      break;
 		    }
@@ -1113,8 +1113,8 @@
 					  pad_to - lma))
 		{
 		  non_fatal (_("Can't add padding to %s: %s"),
-			   bfd_get_section_name (obfd, osections[c - 1]),
-			   bfd_errmsg (bfd_get_error ()));
+			     bfd_get_section_name (obfd, osections[c - 1]),
+			     bfd_errmsg (bfd_get_error ()));
 		  status = 1;
 		}
 	      else
@@ -1363,7 +1363,7 @@
       if (!bfd_close (output_bfd))
 	{
 	  bfd_nonfatal (bfd_get_filename (output_bfd));
-	  /* Error in new object file. Don't change archive. */
+	  /* Error in new object file. Don't change archive.  */
 	  status = 1;
 	}
 
@@ -1493,7 +1493,7 @@
 	if (strcmp (rename->new_name, new_name) == 0
 	    && rename->flags == flags)
 	  return;
-	
+
 	fatal (_("Multiple renames of section %s"), old_name);
       }
 
@@ -1503,7 +1503,7 @@
   rename->new_name = new_name;
   rename->flags    = flags;
   rename->next     = section_rename_list;
-  
+
   section_rename_list = rename;
 }
 
@@ -1553,7 +1553,7 @@
   flagword flags;
   const char *err;
   const char * name;
-  
+
   if ((bfd_get_section_flags (ibfd, isection) & SEC_DEBUGGING) != 0
       && (strip_symbols == STRIP_DEBUG
 	  || strip_symbols == STRIP_UNNEEDED
@@ -1573,7 +1573,7 @@
 
   /* Get the, possibly new, name of the output section.  */
   name = find_section_rename (ibfd, isection, & flags);
-  
+
   osection = bfd_make_section_anyway (obfd, name);
 
   if (osection == NULL)
@@ -1711,7 +1711,7 @@
   if (size == 0 || osection == 0)
     return;
 
-  /* Core files do not need to be relocated. */
+  /* Core files do not need to be relocated.  */
   if (bfd_get_format (obfd) == bfd_core)
     relsize = 0;
   else
@@ -1732,7 +1732,7 @@
       if (strip_symbols == STRIP_ALL)
 	{
 	  /* Remove relocations which are not in
-	     keep_strip_specific_list. */
+	     keep_strip_specific_list.  */
 	  arelent **temp_relpp;
 	  long temp_relcount = 0;
 	  long i;
@@ -1755,7 +1755,7 @@
   isection->_cooked_size = isection->_raw_size;
   isection->reloc_done = true;
 
-  if (bfd_get_section_flags (ibfd, isection) & SEC_HAS_CONTENTS 
+  if (bfd_get_section_flags (ibfd, isection) & SEC_HAS_CONTENTS
       && bfd_get_section_flags (obfd, osection) & SEC_HAS_CONTENTS)
     {
       PTR memhunk = (PTR) xmalloc ((unsigned) size);
@@ -2124,9 +2124,9 @@
 	    fatal (_("byte number must be non-negative"));
 	  break;
 
-        case 'B':
-          binary_architecture = optarg;
-          break;
+	case 'B':
+	  binary_architecture = optarg;
+	  break;
 
 	case 'i':
 	  interleave = atoi (optarg);
@@ -2492,13 +2492,13 @@
 	  set_start_set = true;
 	  break;
 
-        case OPTION_SREC_LEN:
-          Chunk = parse_vma (optarg, "--srec-len");
-          break;
+	case OPTION_SREC_LEN:
+	  Chunk = parse_vma (optarg, "--srec-len");
+	  break;
 
-        case OPTION_SREC_FORCES3:
+	case OPTION_SREC_FORCES3:
 	  S3Forced = true;
-          break;
+	  break;
 
 	case OPTION_STRIP_SYMBOLS:
 	  add_specific_symbols (optarg, &strip_specific_list);
@@ -2561,16 +2561,16 @@
   if (binary_architecture != (char *) NULL)
     {
       if (input_target && strcmp (input_target, "binary") == 0)
-        {
-          const bfd_arch_info_type * temp_arch_info;
+	{
+	  const bfd_arch_info_type * temp_arch_info;
 
 	  temp_arch_info = bfd_scan_arch (binary_architecture);
 
-          if (temp_arch_info != NULL)
-            bfd_external_binary_architecture = temp_arch_info->arch;
-          else
-            fatal (_("architecture %s unknown"), binary_architecture);
-        }
+	  if (temp_arch_info != NULL)
+	    bfd_external_binary_architecture = temp_arch_info->arch;
+	  else
+	    fatal (_("architecture %s unknown"), binary_architecture);
+	}
       else
 	{
 	  non_fatal (_("Warning: input target 'binary' required for binary architecture parameter."));
Index: objdump.c
===================================================================
RCS file: /cvs/src/src/binutils/objdump.c,v
retrieving revision 1.49
diff -u -r1.49 objdump.c
--- objdump.c	21 May 2002 16:21:18 -0000	1.49
+++ objdump.c	21 May 2002 19:31:02 -0000
@@ -441,7 +441,7 @@
 
 /* Filter out (in place) symbols that are useless for disassembly.
    COUNT is the number of elements in SYMBOLS.
-   Return the number of useful symbols. */
+   Return the number of useful symbols.  */
 
 static long
 remove_useless_symbols (symbols, count)
@@ -469,7 +469,7 @@
 
 /* Sort symbols into value order.  */
 
-static int 
+static int
 compare_symbols (ap, bp)
      const PTR ap;
      const PTR bp;
@@ -686,7 +686,7 @@
   long min = 0;
   long max = sorted_symcount;
   long thisplace;
-  unsigned int opb = bfd_octets_per_byte (abfd); 
+  unsigned int opb = bfd_octets_per_byte (abfd);
 
   if (sorted_symcount < 1)
     return NULL;
@@ -723,7 +723,7 @@
   /* If the file is relocateable, and the symbol could be from this
      section, prefer a symbol from this section over symbols from
      others, even if the other symbol's value might be closer.
-       
+
      Note that this may be wrong for some symbol references if the
      sections have overlapping memory ranges, but in that case there's
      no way to tell what's desired without looking at the relocation
@@ -952,7 +952,7 @@
       if (strchr (buf, '\n') != NULL)
 	++p->line;
     }
-}  
+}
 
 /* Show the line number, or the source line, in a dissassembly
    listing.  */
@@ -1073,10 +1073,10 @@
 	      p->next = print_files;
 	      print_files = p;
 
-              if (file_start_context)
-                l = 0;
-              else
-                l = line - SHOW_PRECEDING_CONTEXT_LINES;
+	      if (file_start_context)
+		l = 0;
+	      else
+		l = line - SHOW_PRECEDING_CONTEXT_LINES;
 	      if (l < 0)
 		l = 0;
 	      skip_to_line (p, l, false);
@@ -1171,8 +1171,8 @@
 /* Disassemble some data in memory between given values.  */
 
 static void
-disassemble_bytes (info, disassemble_fn, insns, data, 
-                   start_offset, stop_offset, relppp,
+disassemble_bytes (info, disassemble_fn, insns, data,
+		   start_offset, stop_offset, relppp,
 		   relppend)
      struct disassemble_info *info;
      disassembler_ftype disassemble_fn;
@@ -1241,8 +1241,8 @@
 	  && (info->insn_info_valid == 0
 	      || info->branch_delay_insns == 0)
 	  && (z - addr_offset * opb >= SKIP_ZEROES
-	      || (z == stop_offset * opb && 
-                  z - addr_offset * opb < SKIP_ZEROES_AT_END)))
+	      || (z == stop_offset * opb &&
+		  z - addr_offset * opb < SKIP_ZEROES_AT_END)))
 	{
 	  printf ("\t...\n");
 
@@ -1448,8 +1448,8 @@
 	}
 
       if ((section->flags & SEC_RELOC) != 0
-#ifndef DISASSEMBLER_NEEDS_RELOCS	  
-  	  && dump_reloc_info
+#ifndef DISASSEMBLER_NEEDS_RELOCS
+	  && dump_reloc_info
 #endif
 	  )
 	{
@@ -1585,7 +1585,7 @@
   disasm_info.mach = bfd_get_mach (abfd);
   disasm_info.disassembler_options = disassembler_options;
   disasm_info.octets_per_byte = opb;
-  
+
   if (bfd_big_endian (abfd))
     disasm_info.display_endian = disasm_info.endian = BFD_ENDIAN_BIG;
   else if (bfd_little_endian (abfd))
@@ -1617,10 +1617,10 @@
 	continue;
 
       if ((section->flags & SEC_RELOC) != 0
-#ifndef DISASSEMBLER_NEEDS_RELOCS	  
+#ifndef DISASSEMBLER_NEEDS_RELOCS
 	  && dump_reloc_info
 #endif
-	  ) 
+	  )
 	{
 	  long relsize;
 
@@ -1694,7 +1694,7 @@
 	  asymbol *nextsym;
 	  unsigned long nextstop_offset;
 	  boolean insns;
-	  
+
 	  if (sym != NULL && bfd_asymbol_value (sym) <= section->vma + addr_offset)
 	    {
 	      int x;
@@ -1719,7 +1719,7 @@
 					   false);
 	      printf (":\n");
 	    }
-	  
+
 	  if (sym != NULL && bfd_asymbol_value (sym) > section->vma + addr_offset)
 	    nextsym = sym;
 	  else if (sym == NULL)
@@ -1740,7 +1740,7 @@
 	      else
 		nextsym = sorted_syms[place];
 	    }
-	  
+
 	  if (sym != NULL && bfd_asymbol_value (sym) > section->vma + addr_offset)
 	    {
 	      nextstop_offset = bfd_asymbol_value (sym) - section->vma;
@@ -1755,7 +1755,7 @@
 	      if (nextstop_offset > stop_offset)
 		nextstop_offset = stop_offset;
 	    }
-	  
+
 	  /* If a symbol is explicitly marked as being an object
 	     rather than a function, just dump the bytes without
 	     disassembling them.  */
@@ -1771,14 +1771,14 @@
 	    insns = true;
 	  else
 	    insns = false;
-	  
-	  disassemble_bytes (&disasm_info, disassemble_fn, insns, data, 
-                             addr_offset, nextstop_offset, &relpp, relppend);
-	  
+
+	  disassemble_bytes (&disasm_info, disassemble_fn, insns, data,
+			     addr_offset, nextstop_offset, &relpp, relppend);
+
 	  addr_offset = nextstop_offset;
 	  sym = nextsym;
 	}
-      
+
       free (data);
       if (relbuf != NULL)
 	free (relbuf);
@@ -1841,13 +1841,13 @@
       exit_status = 1;
       return false;
     }
- 
+
   stab_size    = bfd_section_size (abfd, stabsect);
   stabstr_size = bfd_section_size (abfd, stabstrsect);
 
   stabs  = (bfd_byte *) xmalloc (stab_size);
   strtab = (char *) xmalloc (stabstr_size);
-  
+
   if (! bfd_get_section_contents (abfd, stabsect, (PTR) stabs, 0, stab_size))
     {
       non_fatal (_("Reading %s section of %s failed: %s"),
@@ -1929,7 +1929,7 @@
 
       printf ("\n%-6d ", i);
       /* Either print the stab name, or, if unnamed, print its number
-	 again (makes consistent formatting for tools like awk). */
+	 again (makes consistent formatting for tools like awk).  */
       name = bfd_get_stab_name (type);
       if (name != NULL)
 	printf ("%-6s", name);
@@ -2250,15 +2250,15 @@
 		  if (stop_offset > bfd_section_size (abfd, section) / opb)
 		    stop_offset = bfd_section_size (abfd, section) / opb;
 		}
-	      for (addr_offset = start_offset; 
-                   addr_offset < stop_offset; addr_offset += onaline)
+	      for (addr_offset = start_offset;
+		   addr_offset < stop_offset; addr_offset += onaline)
 		{
 		  bfd_size_type j;
 
-		  printf (" %04lx ", (unsigned long int) 
-                          (addr_offset + section->vma));
-		  for (j = addr_offset * opb; 
-                       j < addr_offset * opb + onaline; j++)
+		  printf (" %04lx ", (unsigned long int)
+			  (addr_offset + section->vma));
+		  for (j = addr_offset * opb;
+		       j < addr_offset * opb + onaline; j++)
 		    {
 		      if (j < stop_offset * opb)
 			printf ("%02x", (unsigned) (data[j]));
@@ -2800,12 +2800,12 @@
 	      enum demangling_styles style;
 
 	      style = cplus_demangle_name_to_style (optarg);
-	      if (style == unknown_demangling) 
+	      if (style == unknown_demangling)
 		fatal (_("unknown demangling style `%s'"),
 		       optarg);
 
 	      cplus_demangle_set_style (style);
-           }
+	    }
 	  break;
 	case 'w':
 	  wide_output = true;
@@ -2924,7 +2924,7 @@
 	  show_version = true;
 	  seenflag = true;
 	  break;
-	  
+
 	default:
 	  usage (stderr, 1);
 	}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]