diff options
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/som.c | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 73ea59d..1a196dd 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +Tue Apr 12 13:36:20 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + + * som.c (som_write_fixups): Always emit at least + one relocation for any non-bss section. + Mon Apr 11 14:41:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) * elfcode.h (assign_file_positions_except_relocs): Don't require @@ -2339,9 +2339,9 @@ som_write_fixups (abfd, current_offset, total_reloc_sizep) || !som_is_container (section, subsection)) continue; - /* If this subspace had no relocations, then we're finished - with it. */ - if (subsection->reloc_count <= 0) + /* If this subspace does not have real data, then we are + finised with it. */ + if ((subsection->flags & (SEC_LOAD | SEC_DEBUGGING)) == 0) { som_section_data (subsection)->subspace_dict->fixup_request_index = -1; |