2002-03-14 H.J. Lu <hjl@gnu.org>
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 14 Mar 2002 19:06:16 +0000 (19:06 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 14 Mar 2002 19:06:16 +0000 (19:06 +0000)
* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set the BFD
error to bfd_error_nonrepresentable_section for reinit_array
section in DSO.

bfd/ChangeLog
bfd/elflink.h

index 54bfc039a3063ac4ad501700aa68667acd59deb0..1c396e49fa2f92f3dd17b1e285c64d3327442a94 100644 (file)
@@ -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,
index 6cb128a63435e43c0ceb7408a9575a0b994bfc28..90c7f527de6e383772b5208727ad7c01bbbf1a59 100644 (file)
@@ -3220,6 +3220,7 @@ NAME(bfd_elf,size_dynamic_sections) (output_bfd, soname, rpath,
                      break;
                    }
 
+             bfd_set_error (bfd_error_nonrepresentable_section);
              return false;
            }