trivial fixes

Alan Modra amodra@bigpond.net.au
Mon Jul 1 21:25:00 GMT 2002


bfd/ChangeLog
	* elf.c (_bfd_elf_reloc_type_class): Fix comment grammar.

ld/ChangeLog
	* ldfile.c (ldfile_try_open_bfd): Formatting.

Index: bfd/elf.c
===================================================================
RCS file: /cvs/src/src/bfd/elf.c,v
retrieving revision 1.150
diff -u -p -r1.150 elf.c
--- bfd/elf.c	25 Jun 2002 09:40:43 -0000	1.150
+++ bfd/elf.c	1 Jul 2002 08:23:09 -0000
@@ -7178,7 +7178,7 @@ _bfd_elf_reloc_type_class (rela)
   return reloc_class_normal;
 }
 
-/* For RELA architectures, return what the relocation value for
+/* For RELA architectures, return the relocation value for a
    relocation against a local symbol.  */
 
 bfd_vma
Index: ld/ldfile.c
===================================================================
RCS file: /cvs/src/src/ld/ldfile.c,v
retrieving revision 1.18
diff -u -p -r1.18 ldfile.c
--- ld/ldfile.c	8 Jun 2002 07:39:45 -0000	1.18
+++ ld/ldfile.c	1 Jul 2002 08:08:50 -0000
@@ -136,8 +136,7 @@ ldfile_try_open_bfd (attempt, entry)
 	  if ((bfd_arch_get_compatible (check, output_bfd) == NULL)
 	      /* XCOFF archives can have 32 and 64 bit objects */
 	      && ! (bfd_get_flavour (check) == bfd_target_xcoff_flavour
-		    && bfd_get_flavour (output_bfd) ==
-		    bfd_target_xcoff_flavour
+		    && bfd_get_flavour (output_bfd) == bfd_target_xcoff_flavour
 		    && bfd_check_format (entry->the_bfd, bfd_archive)))
 	    {
 	      einfo (_("%P: skipping incompatible %s when searching for %s\n"),

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list