OSDN Git Service

2001-06-19 H.J. Lu <hjl@gnu.org>
authorhjl <hjl>
Tue, 19 Jun 2001 14:39:02 +0000 (14:39 +0000)
committerhjl <hjl>
Tue, 19 Jun 2001 14:39:02 +0000 (14:39 +0000)
* ldlang.c (lang_check): Revert the change mode on 2001-06-15.

ld/ChangeLog
ld/ldlang.c

index b2c5299..adf54cd 100644 (file)
@@ -1,3 +1,7 @@
+2001-06-19  H.J. Lu <hjl@gnu.org>
+
+       * ldlang.c (lang_check): Revert the change mode on 2001-06-15.
+
 2001-06-18  H.J. Lu <hjl@gnu.org>
 
         * Makefile.am (ld.1): Remove the prefix `$(srcdir)/'.
index 5ef49e4..5e57cac 100644 (file)
@@ -3520,11 +3520,6 @@ lang_check ()
                   bfd_printable_name (input_bfd), input_bfd,
                   bfd_printable_name (output_bfd));
        }
-      else if (link_info.relocateable
-              && bfd_get_flavour (input_bfd) != bfd_get_flavour (output_bfd))
-       einfo (_("%P%F: Relocatable linking from format %s (%B) to format %s (%B) is not supported\n"),
-              bfd_get_target (input_bfd), input_bfd,
-              bfd_get_target (output_bfd), output_bfd);
       else if (bfd_count_sections (input_bfd))
        {
          /* If the input bfd has no contents, it shouldn't set the