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; }