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 54bfc03..1c396e4 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 6cb128a..90c7f52 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;
            }