mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 20:28:28 +08:00
* relax.c (write_relax): Check return value of bfd_seclet_link.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
Mon Oct 25 16:09:24 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
||||||
|
|
||||||
|
* relax.c (write_relax): Check return value of bfd_seclet_link.
|
||||||
|
|
||||||
Mon Oct 25 09:31:21 1993 Ken Raeburn (raeburn@cygnus.com)
|
Mon Oct 25 09:31:21 1993 Ken Raeburn (raeburn@cygnus.com)
|
||||||
|
|
||||||
* ldlang.c (delete_output_file_on_failure): New variable.
|
* ldlang.c (delete_output_file_on_failure): New variable.
|
||||||
|
12
ld/relax.c
12
ld/relax.c
@ -185,19 +185,13 @@ write_relax (output_bfd, data, relocateable)
|
|||||||
boolean relocateable;
|
boolean relocateable;
|
||||||
{
|
{
|
||||||
/* Tie up all the statements to generate an output bfd structure which
|
/* Tie up all the statements to generate an output bfd structure which
|
||||||
bfd can mull over */
|
bfd can mull over */
|
||||||
|
|
||||||
|
|
||||||
lang_for_each_statement (build_it);
|
lang_for_each_statement (build_it);
|
||||||
|
|
||||||
bfd_seclet_link (output_bfd, data, relocateable);
|
if (bfd_seclet_link (output_bfd, data, relocateable) == false)
|
||||||
|
einfo ("%F%P: %B: %E\n", output_bfd);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* See if we can change the size of this section by shrinking the
|
/* See if we can change the size of this section by shrinking the
|
||||||
relocations in it. If this happens, then we'll have to renumber the
|
relocations in it. If this happens, then we'll have to renumber the
|
||||||
symbols in it, and shift around the data too.
|
symbols in it, and shift around the data too.
|
||||||
|
Reference in New Issue
Block a user