This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
PATCH: Set BFD error for .preinit_array
- From: "H . J . Lu" <hjl at lucon dot org>
- To: binutils at sources dot redhat dot com
- Date: Wed, 13 Mar 2002 23:50:22 -0800
- Subject: PATCH: Set BFD error for .preinit_array
Here is a small patch.
H.J.
---
2002-03-13 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.
--- bfd/elflink.h.array Tue Mar 5 14:40:34 2002
+++ bfd/elflink.h Wed Mar 13 23:45:47 2002
@@ -3388,6 +3388,7 @@ NAME(bfd_elf,size_dynamic_sections) (out
break;
}
+ bfd_set_error (bfd_error_nonrepresentable_section);
return false;
}