aboutsummaryrefslogtreecommitdiff
path: root/bfd/elflink.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2002-03-14 19:06:16 +0000
committerH.J. Lu <hjl.tools@gmail.com>2002-03-14 19:06:16 +0000
commit36b4f6e725f7f60bf1c0401c91a3f56e2414801d (patch)
tree6eee6343855f2f3a43699cedf47b7a784134d6c0 /bfd/elflink.h
parenta181be0adea3693641bae77f10c8f7942b17786e (diff)
downloadgdb-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.
Diffstat (limited to 'bfd/elflink.h')
-rw-r--r--bfd/elflink.h1
1 files changed, 1 insertions, 0 deletions
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;
}