From 1b56797098c4810ba9744a77cf2eb5d4836238e0 Mon Sep 17 00:00:00 2001 From: Jeff Law <law@redhat.com> Date: Wed, 4 Jan 1995 21:15:42 +0000 Subject: * som.c (som_begin_writing): Don't forget to bump the total_subspaces when writing the unloadable subspaces. --- bfd/som.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bfd/som.c') diff --git a/bfd/som.c b/bfd/som.c index c84c631..d0c9fc6 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) { -- cgit v1.1