mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-26 22:07:58 +08:00
Wed Sep 14 12:49:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
* ldlang.c (lang_do_assignments): Make sure output statement has an attached bfd_section before trying to dereference it.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
Wed Sep 14 12:49:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
|
||||||
|
|
||||||
|
* ldlang.c (lang_do_assignments): Make sure output statement
|
||||||
|
has an attached bfd_section before trying to dereference it.
|
||||||
|
|
||||||
Wed Sep 14 12:48:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
|
Wed Sep 14 12:48:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
|
||||||
|
|
||||||
* ldmisc.c (vfinfo): Handle %D as %C, but never print the function
|
* ldmisc.c (vfinfo): Handle %D as %C, but never print the function
|
||||||
|
@ -1986,11 +1986,16 @@ lang_do_assignments (s, output_section_statement, fill, dot)
|
|||||||
dot = os->bfd_section->vma + os->bfd_section->_raw_size;
|
dot = os->bfd_section->vma + os->bfd_section->_raw_size;
|
||||||
}
|
}
|
||||||
if (os->load_base)
|
if (os->load_base)
|
||||||
|
{
|
||||||
|
/* If nothing has been placed into the output section then
|
||||||
|
it won't have a bfd_section. */
|
||||||
|
if (os->bfd_section)
|
||||||
{
|
{
|
||||||
os->bfd_section->lma
|
os->bfd_section->lma
|
||||||
= exp_get_abs_int(os->load_base, 0,"load base", lang_final_phase_enum);
|
= exp_get_abs_int(os->load_base, 0,"load base", lang_final_phase_enum);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case lang_wild_statement_enum:
|
case lang_wild_statement_enum:
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user