From 2796fd96ba025688b530739638d408c66881bd9e Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Fri, 1 Apr 2005 20:52:24 +0000 Subject: [PATCH] 2005-04-01 H.J. Lu * elf.c (assign_section_numbers): Really use the kept section. --- bfd/ChangeLog | 4 ++++ bfd/elf.c | 1 + 2 files changed, 5 insertions(+) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 5a948c52499..2257ad1ac6e 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2005-04-01 H.J. Lu + + * elf.c (assign_section_numbers): Really use the kept section. + 2005-03-31 H.J. Lu * elf-bfd.h (_bfd_elf_check_kept_section): New. diff --git a/bfd/elf.c b/bfd/elf.c index 3aa91a438c6..34529090f5e 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); -- 2.30.2