PATCH: Set BFD error for .preinit_array

H . J . Lu hjl@lucon.org
Wed Mar 13 23:50:00 GMT 2002


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



More information about the Binutils mailing list