diff options
author | Jeff Law <law@redhat.com> | 1995-01-04 21:15:42 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1995-01-04 21:15:42 +0000 |
commit | 1b56797098c4810ba9744a77cf2eb5d4836238e0 (patch) | |
tree | a4f9ce9073776c71d9fdb362d5666b3cfe19f886 /bfd | |
parent | 320ad1ed41c2f2691d27b667881d97a71d2b017a (diff) | |
download | gdb-1b56797098c4810ba9744a77cf2eb5d4836238e0.zip gdb-1b56797098c4810ba9744a77cf2eb5d4836238e0.tar.gz gdb-1b56797098c4810ba9744a77cf2eb5d4836238e0.tar.bz2 |
* som.c (som_begin_writing): Don't forget to bump the
total_subspaces when writing the unloadable subspaces.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/som.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index b0b8f05..b59f4e7 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +Wed Jan 4 14:14:05 1995 Jeff Law (law@snake.cs.utah.edu) + + * som.c (som_begin_writing): Don't forget to bump the + total_subspaces when writing the unloadable subspaces. + Wed Dec 28 20:54:47 1994 Jeff Law (law@snake.cs.utah.edu) * som.c (som_write_fixups): Use SEC_HAS_CONTENTS to identify @@ -3139,7 +3139,7 @@ som_begin_writing (abfd) || (subsection->flags & SEC_ALLOC) != 0) continue; - subsection->target_index = total_subspaces; + subsection->target_index = total_subspaces++; /* This is real data to be loaded from the file. */ if ((subsection->flags & SEC_LOAD) == 0) { |