mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:54:41 +08:00
2001-01-16 H.J. Lu <hjl@gnu.org>
* ldlang.c (lang_check): Merge the private data only if the input file has contents.
This commit is contained in:
parent
d1abceec08
commit
b92473047e
@ -1,3 +1,8 @@
|
||||
2001-01-16 H.J. Lu <hjl@gnu.org>
|
||||
|
||||
* ldlang.c (lang_check): Merge the private data only if the
|
||||
input file has contents.
|
||||
|
||||
2001-01-14 Alan Modra <alan@linuxcare.com.au>
|
||||
|
||||
* emulparams/hppalinux.sh (OUTPUT_FORMAT): Set to elf32-hppa-linux.
|
||||
|
@ -3474,8 +3474,11 @@ lang_check ()
|
||||
bfd_printable_name (input_bfd), input_bfd,
|
||||
bfd_printable_name (output_bfd));
|
||||
}
|
||||
else
|
||||
else if (bfd_count_sections (input_bfd))
|
||||
{
|
||||
/* If the input bfd has no contents, it shouldn't set the
|
||||
private data of the output bfd. */
|
||||
|
||||
bfd_error_handler_type pfn = NULL;
|
||||
|
||||
/* If we aren't supposed to warn about mismatched input
|
||||
|
Loading…
Reference in New Issue
Block a user