* ldexp.c (exp_fold_tree): Don't immediately exit ld on a
failing link script assert.
This commit is contained in:
parent
95c148b400
commit
c468c8bcab
2 changed files with 6 additions and 3 deletions
|
@ -1,5 +1,8 @@
|
||||||
2004-10-15 Alan Modra <amodra@bigpond.net.au>
|
2004-10-15 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
|
* ldexp.c (exp_fold_tree): Don't immediately exit ld on a
|
||||||
|
failing link script assert.
|
||||||
|
|
||||||
* ldctor.c (ldctor_add_set_entry): Fix comment typo.
|
* ldctor.c (ldctor_add_set_entry): Fix comment typo.
|
||||||
|
|
||||||
2004-10-14 H.J. Lu <hongjiu.lu@intel.com>
|
2004-10-14 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
|
@ -390,7 +390,7 @@ fold_binary (etree_type *tree,
|
||||||
case ALIGN_K:
|
case ALIGN_K:
|
||||||
result.value = align_n (result.value, other.value);
|
result.value = align_n (result.value, other.value);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case DATA_SEGMENT_ALIGN:
|
case DATA_SEGMENT_ALIGN:
|
||||||
if (allocation_done != lang_first_phase_enum
|
if (allocation_done != lang_first_phase_enum
|
||||||
&& current_section == abs_output_section
|
&& current_section == abs_output_section
|
||||||
|
@ -492,7 +492,7 @@ fold_name (etree_type *tree,
|
||||||
etree_value_type result;
|
etree_value_type result;
|
||||||
|
|
||||||
result.valid_p = FALSE;
|
result.valid_p = FALSE;
|
||||||
|
|
||||||
switch (tree->type.node_code)
|
switch (tree->type.node_code)
|
||||||
{
|
{
|
||||||
case SIZEOF_HEADERS:
|
case SIZEOF_HEADERS:
|
||||||
|
@ -669,7 +669,7 @@ exp_fold_tree (etree_type *tree,
|
||||||
if (result.valid_p)
|
if (result.valid_p)
|
||||||
{
|
{
|
||||||
if (! result.value)
|
if (! result.value)
|
||||||
einfo ("%F%P: %s\n", tree->assert_s.message);
|
einfo ("%X%P: %s\n", tree->assert_s.message);
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue