diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 1999-06-04 01:07:38 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 1999-06-04 01:07:38 +0000 |
commit | a9d024b8b04b7ec38493ef6f8c599280dde6fcef (patch) | |
tree | f745871da89d9d93854f9ea0cf5e26b13c6d072e /bfd | |
parent | 06e1ba78a095ad4a09894bbd1efd83c79ab3e2fe (diff) | |
download | gdb-a9d024b8b04b7ec38493ef6f8c599280dde6fcef.zip gdb-a9d024b8b04b7ec38493ef6f8c599280dde6fcef.tar.gz gdb-a9d024b8b04b7ec38493ef6f8c599280dde6fcef.tar.bz2 |
* elf.c (elf_fake_sections): Undo change of 1999-05-10.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 4 | ||||
-rw-r--r-- | bfd/elf.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index a5d2065..776b143 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -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 @@ -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; |