aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2005-04-01 20:52:24 +0000
committerH.J. Lu <hjl.tools@gmail.com>2005-04-01 20:52:24 +0000
commit2796fd96ba025688b530739638d408c66881bd9e (patch)
treefb2e6b4f8d89975e6c4a28327c88c35910f18424 /bfd/elf.c
parentd1779be45e8c8963bcfda74b4903edb7b0eaff15 (diff)
downloadgdb-2796fd96ba025688b530739638d408c66881bd9e.zip
gdb-2796fd96ba025688b530739638d408c66881bd9e.tar.gz
gdb-2796fd96ba025688b530739638d408c66881bd9e.tar.bz2
2005-04-01 H.J. Lu <hongjiu.lu@intel.com>
* elf.c (assign_section_numbers): Really use the kept section.
Diffstat (limited to 'bfd/elf.c')
-rw-r--r--bfd/elf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/elf.c b/bfd/elf.c
index 3aa91a4..3452909 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -2936,6 +2936,7 @@ assign_section_numbers (bfd *abfd)
bfd_set_error (bfd_error_bad_value);
return FALSE;
}
+ s = kept;
}
s = s->output_section;
BFD_ASSERT (s != NULL);