* write.c (relax_segment <rs_space>): Check the section of a
symbol to determine whether it is absolute rather than comparing its frag against zero_address_frag as listings play tricks with frags.
This commit is contained in:
parent
fbe572f93e
commit
9e40345d0e
2 changed files with 6 additions and 1 deletions
|
@ -2459,7 +2459,7 @@ relax_segment (segment_frag_root, segment)
|
|||
offsetT amount;
|
||||
|
||||
amount = S_GET_VALUE (symbolP);
|
||||
if (symbol_get_frag (symbolP) != &zero_address_frag
|
||||
if (S_GET_SEGMENT (symbolP) != absolute_section
|
||||
|| S_IS_COMMON (symbolP)
|
||||
|| ! S_IS_DEFINED (symbolP))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue