From 36b4f6e725f7f60bf1c0401c91a3f56e2414801d Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Thu, 14 Mar 2002 19:06:16 +0000 Subject: [PATCH] 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. --- bfd/ChangeLog | 6 ++++++ bfd/elflink.h | 1 + 2 files changed, 7 insertions(+) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 54bfc03..1c396e4 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 6cb128a..90c7f52 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; } -- 2.7.4