aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-mcore.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1999-06-22 14:53:01 +0000
committerIan Lance Taylor <ian@airs.com>1999-06-22 14:53:01 +0000
commit7dcc9865504dca99a950c4d11d54c3a3a5f0b8c9 (patch)
treec4e20310082b203277f32490e0c765536bdc0a47 /gas/config/tc-mcore.c
parenta77f5182c7d7ee65904c073161053e330bc8eed1 (diff)
downloadfsf-binutils-gdb-7dcc9865504dca99a950c4d11d54c3a3a5f0b8c9.zip
fsf-binutils-gdb-7dcc9865504dca99a950c4d11d54c3a3a5f0b8c9.tar.gz
fsf-binutils-gdb-7dcc9865504dca99a950c4d11d54c3a3a5f0b8c9.tar.bz2
* config/tc-alpha.c: More use of symbol accessor functions.
* config/tc-arc.c: Likewise. * config/tc-d30v.c: Likewise. * config/tc-fr30.c: Likewise. * config/tc-i860.c: Likewise. * config/tc-m88k.c: Likewise. * config/tc-mcore.c: Likewise. * config/tc-ns32k.c: Likewise. * config/tc-sparc.c: Likewise. * config/tc-v850.c: Likewise.
Diffstat (limited to 'gas/config/tc-mcore.c')
-rw-r--r--gas/config/tc-mcore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-mcore.c b/gas/config/tc-mcore.c
index 49db23b..5e4e329 100644
--- a/gas/config/tc-mcore.c
+++ b/gas/config/tc-mcore.c
@@ -1668,7 +1668,7 @@ md_convert_frag (abfd, sec, fragP)
int targ_addr = S_GET_VALUE (fragP->fr_symbol) + fragP->fr_offset;
buffer = (unsigned char *) (fragP->fr_fix + fragP->fr_literal);
- targ_addr += fragP->fr_symbol->sy_frag->fr_address;
+ targ_addr += symbol_get_frag (fragP->fr_symbol)->fr_address;
switch (fragP->fr_subtype)
{