summaryrefslogtreecommitdiffstats
path: root/gas/config/tc-fr30.c
diff options
context:
space:
mode:
Diffstat (limited to 'gas/config/tc-fr30.c')
-rw-r--r--gas/config/tc-fr30.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-fr30.c b/gas/config/tc-fr30.c
index aa075b7322..aca5880bb7 100644
--- a/gas/config/tc-fr30.c
+++ b/gas/config/tc-fr30.c
@@ -384,7 +384,7 @@ md_convert_frag (abfd, sec, fragP)
{
/* Address we want to reach in file space. */
target_address = S_GET_VALUE (fragP->fr_symbol) + fragP->fr_offset;
- target_address += fragP->fr_symbol->sy_frag->fr_address;
+ target_address += symbol_get_frag (fragP->fr_symbol)->fr_address;
addend = (target_address - (opcode_address & -4)) >> 2;
}
OpenPOWER on IntegriCloud