mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 03:29:47 +08:00
* ldlang.c (lang_size_sections): Change region check to handle
regions which end at the highest possible address correctly. From Roland Weber <roweber@ira.uka.de>.
This commit is contained in:
@ -1,4 +1,8 @@
|
|||||||
Mon Apr 1 11:49:52 1996 Ian Lance Taylor <ian@cygnus.com>
|
Mon Apr 1 17:35:40 1996 Ian Lance Taylor <ian@cygnus.com>
|
||||||
|
|
||||||
|
* ldlang.c (lang_size_sections): Change region check to handle
|
||||||
|
regions which end at the highest possible address correctly.
|
||||||
|
From Roland Weber <roweber@ira.uka.de>.
|
||||||
|
|
||||||
* ldlang.c (section_already_linked): New static function.
|
* ldlang.c (section_already_linked): New static function.
|
||||||
(wild_doit): Discard sections with SEC_EXCLUDE set if not doing a
|
(wild_doit): Discard sections with SEC_EXCLUDE set if not doing a
|
||||||
|
@ -2024,9 +2024,9 @@ lang_size_sections (s, output_section_statement, prev, fill, dot, relax)
|
|||||||
{
|
{
|
||||||
os->region->current = dot;
|
os->region->current = dot;
|
||||||
/* Make sure this isn't silly. */
|
/* Make sure this isn't silly. */
|
||||||
if ((os->region->current < os->region->origin)
|
if (os->region->current < os->region->origin
|
||||||
|| (os->region->current
|
|| (os->region->current - os->region->origin
|
||||||
> os->region->origin + os->region->length))
|
> os->region->length))
|
||||||
{
|
{
|
||||||
if (os->addr_tree != (etree_type *) NULL)
|
if (os->addr_tree != (etree_type *) NULL)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user