From: Jeff Law Date: Wed, 4 Jan 1995 21:15:42 +0000 (+0000) Subject: * som.c (som_begin_writing): Don't forget to bump the X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1b56797098c4810ba9744a77cf2eb5d4836238e0;p=binutils-gdb.git * som.c (som_begin_writing): Don't forget to bump the total_subspaces when writing the unloadable subspaces. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index b0b8f05d855..b59f4e7670a 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 diff --git a/bfd/som.c b/bfd/som.c index c84c63129e4..d0c9fc60d86 100644 --- a/bfd/som.c +++ b/bfd/som.c @@ -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) {