* elf.c (elf_fake_sections): Undo change of 1999-05-10.
authorAndreas Schwab <schwab@linux-m68k.org>
Fri, 4 Jun 1999 01:07:38 +0000 (01:07 +0000)
committerAndreas Schwab <schwab@linux-m68k.org>
Fri, 4 Jun 1999 01:07:38 +0000 (01:07 +0000)
bfd/ChangeLog
bfd/elf.c

index a5d206562f0be655c94f26b33e584c2f6ad5bc42..776b14365e5a9893a89543b94b5778c593269c22 100644 (file)
@@ -1,3 +1,7 @@
+Fri Jun  4 10:05:11 1999  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
+
+       * elf.c (elf_fake_sections): Undo change of 1999-05-10.
+
 Fri Jun  4 03:10:49 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
 
        * elf32-sh.c (sh_elf_relax_delete_bytes): Fix setting of
index 1e162b0b53ba5c400aff0adfef3d1a60291f05ba..1ce4d91a233bd87074e7af5493d333ee4e7c27d4 100644 (file)
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -1499,13 +1499,13 @@ elf_fake_sections (abfd, asect, failedptrarg)
       this_hdr->sh_type = SHT_DYNAMIC;
       this_hdr->sh_entsize = bed->s->sizeof_dyn;
     }
-  else if (strncmp (asect->name, ".rela.", 6) == 0
+  else if (strncmp (asect->name, ".rela", 5) == 0
           && get_elf_backend_data (abfd)->may_use_rela_p)
     {
       this_hdr->sh_type = SHT_RELA;
       this_hdr->sh_entsize = bed->s->sizeof_rela;
     }
-  else if (strncmp (asect->name, ".rel.", 5) == 0
+  else if (strncmp (asect->name, ".rel", 4) == 0
           && get_elf_backend_data (abfd)->may_use_rel_p)
     {
       this_hdr->sh_type = SHT_REL;