2001-05-31 H.J. Lu <hjl@gnu.org>
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 31 May 2001 21:14:59 +0000 (21:14 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 31 May 2001 21:14:59 +0000 (21:14 +0000)
* ldlang.c (open_input_bfds): Don't change the bfd error
handler whilst loading symbols.

ld/ChangeLog
ld/ldlang.c

index e437e509e35a5c2c8b32232c194a41d030f15911..e9a071b45ab8f7eb5629076c65d09d80906a8871 100644 (file)
@@ -1,3 +1,8 @@
+2001-05-31  H.J. Lu  <hjl@gnu.org>
+
+       * ldlang.c (open_input_bfds): Don't change the bfd error
+       handler whilst loading symbols.
+
 2001-05-28  Nick Clifton  <nickc@cambridge.redhat.com>
 
        * configure.tgt: Remove i370-mvs architecture, it is not currently
@@ -78,8 +83,6 @@
 
        * emulparams/aixppc64.sh : New file for xcoff64 support
        
-2000-01-18  H.J. Lu  <hjl@gnu.org>
-
 2001-05-23  Alexandre Oliva  <aoliva@redhat.com>
 
        * emultempl/elf32.em (ELF_INTERPRETER_SET_DEFAULT): Use this new
index 3ef9e5129019d7ffd19639829c3ad21b3739c0b3..5d7b877965fea2c7da5a93952d2048bd8367a944 100644 (file)
@@ -1914,7 +1914,6 @@ open_input_bfds (s, force)
          if (s->input_statement.real)
            {
              lang_statement_list_type add;
-             bfd_error_handler_type pfn;
 
              s->input_statement.target = current_target;
 
@@ -1931,15 +1930,8 @@ open_input_bfds (s, force)
 
              lang_list_init (&add);
 
-             /* We need to know if an error occurs whilst loading the
-                symbols, since this means that a valid executable can
-                not be produced.  */
-             pfn = bfd_set_error_handler (record_bfd_errors);
-
              load_symbols (&s->input_statement, &add);
 
-             bfd_set_error_handler (pfn);
-
              if (add.head != NULL)
                {
                  *add.tail = s->next;
This page took 0.029955 seconds and 4 git commands to generate.