diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2002-03-14 19:06:16 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2002-03-14 19:06:16 +0000 |
commit | 36b4f6e725f7f60bf1c0401c91a3f56e2414801d (patch) | |
tree | 6eee6343855f2f3a43699cedf47b7a784134d6c0 | |
parent | a181be0adea3693641bae77f10c8f7942b17786e (diff) | |
download | gdb-36b4f6e725f7f60bf1c0401c91a3f56e2414801d.zip gdb-36b4f6e725f7f60bf1c0401c91a3f56e2414801d.tar.gz gdb-36b4f6e725f7f60bf1c0401c91a3f56e2414801d.tar.bz2 |
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 54bfc03..1c396e4 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 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; } |