diff options
author | H.J. Lu <hjl@lucon.org> | 2002-03-14 19:06:16 +0000 |
---|---|---|
committer | H.J. Lu <hjl@lucon.org> | 2002-03-14 19:06:16 +0000 |
commit | 4ac3892f27b1cba00f89a9308030f7ef67b1e1f2 (patch) | |
tree | 94bb261d8fb7e6f1517bf406f7d926d703d1fcd6 | |
parent | 9856eab79261bdc064bd26f21dcca9487b30ac21 (diff) | |
download | gdb-4ac3892f27b1cba00f89a9308030f7ef67b1e1f2.tar.gz |
2002-03-14 H.J. Lu <hjl@gnu.org>
* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set the BFD
error to bfd_error_nonrepresentable_section for reinit_array
section in DSO.
-rw-r--r-- | bfd/ChangeLog | 6 | ||||
-rw-r--r-- | bfd/elflink.h | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 54bfc039a30..1c396e49fa2 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2002-03-14 H.J. Lu <hjl@gnu.org> + + * 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 <nickc@cambridge.redhat.com> * coffcode.h (coff_slurp_symbol_table): When adding BSF_WEAK flag, diff --git a/bfd/elflink.h b/bfd/elflink.h index 6cb128a6343..90c7f527de6 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; } |