mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-03 04:12:10 +08:00
* som.c (som_begin_writing): Don't forget to bump the
total_subspaces when writing the unloadable subspaces.
This commit is contained in:
parent
320ad1ed41
commit
1b56797098
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user