aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlang.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2001-06-19 14:39:02 +0000
committerH.J. Lu <hjl.tools@gmail.com>2001-06-19 14:39:02 +0000
commit9bf03accc302d5286fd228278dca692f211e33b7 (patch)
tree420654ddfcc85b1d7ef96f8fb0e9ca5401adc133 /ld/ldlang.c
parentfd8ab9e5380a4ef20a35a80359cafc7e3a667ef8 (diff)
downloadgdb-9bf03accc302d5286fd228278dca692f211e33b7.zip
gdb-9bf03accc302d5286fd228278dca692f211e33b7.tar.gz
gdb-9bf03accc302d5286fd228278dca692f211e33b7.tar.bz2
2001-06-19 H.J. Lu <hjl@gnu.org>
* ldlang.c (lang_check): Revert the change mode on 2001-06-15.
Diffstat (limited to 'ld/ldlang.c')
-rw-r--r--ld/ldlang.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/ld/ldlang.c b/ld/ldlang.c
index 5ef49e4..5e57cac 100644
--- a/ld/ldlang.c
+++ b/ld/ldlang.c
@@ -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