From: H.J. Lu Date: Thu, 14 Mar 2002 19:06:16 +0000 (+0000) Subject: 2002-03-14 H.J. Lu X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=36b4f6e725f7f60bf1c0401c91a3f56e2414801d;p=deliverable%2Fbinutils-gdb.git 2002-03-14 H.J. Lu * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set the BFD error to bfd_error_nonrepresentable_section for reinit_array section in DSO. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 54bfc039a3..1c396e49fa 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2002-03-14 H.J. Lu + + * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set the BFD + error to bfd_error_nonrepresentable_section for reinit_array + section in DSO. + 2002-03-14 Nick Clifton * coffcode.h (coff_slurp_symbol_table): When adding BSF_WEAK flag, diff --git a/bfd/elflink.h b/bfd/elflink.h index 6cb128a634..90c7f527de 100644 --- a/bfd/elflink.h +++ b/bfd/elflink.h @@ -3220,6 +3220,7 @@ NAME(bfd_elf,size_dynamic_sections) (output_bfd, soname, rpath, break; } + bfd_set_error (bfd_error_nonrepresentable_section); return false; }