diff options
author | Ian Lance Taylor <ian@airs.com> | 1999-06-22 14:53:01 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1999-06-22 14:53:01 +0000 |
commit | 7dcc9865504dca99a950c4d11d54c3a3a5f0b8c9 (patch) | |
tree | c4e20310082b203277f32490e0c765536bdc0a47 /gas/config/tc-i860.c | |
parent | a77f5182c7d7ee65904c073161053e330bc8eed1 (diff) | |
download | gdb-7dcc9865504dca99a950c4d11d54c3a3a5f0b8c9.zip gdb-7dcc9865504dca99a950c4d11d54c3a3a5f0b8c9.tar.gz 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-i860.c')
-rw-r--r-- | gas/config/tc-i860.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gas/config/tc-i860.c b/gas/config/tc-i860.c index f2e2b19..3317282 100644 --- a/gas/config/tc-i860.c +++ b/gas/config/tc-i860.c @@ -1,5 +1,5 @@ /* tc-i860.c -- Assemble for the I860 - Copyright (C) 1989, 92, 93, 94, 95, 1998 Free Software Foundation, Inc. + Copyright (C) 1989, 92, 93, 94, 95, 98, 1999 Free Software Foundation, Inc. This file is part of GAS, the GNU Assembler. @@ -1118,9 +1118,9 @@ emit_machine_reloc (fixP, segment_address_in_file) ri.r_extern = 0; ri.r_symbolnum = S_GET_TYPE (symbolP); } - if (symbolP && symbolP->sy_frag) + if (symbolP && symbol_get_frag (symbolP)) { - ri.r_addend = symbolP->sy_frag->fr_address; + ri.r_addend = symbol_get_frag (symbolP)->fr_address; } ri.r_type = fixP->fx_r_type; if (fixP->fx_pcrel) @@ -1184,9 +1184,9 @@ tc_aout_fix_to_chars (where, fixP, segment_address_in_file) | ((r_extern << 6) & 0x40) | (fixP->fx_r_type & 0x3F)); - if (fixP->fx_addsy->sy_frag) + if (symbol_get_frag (fixP->fx_addsy)) { - r_addend = fixP->fx_addsy->sy_frag->fr_address; + r_addend = symbol_get_frag (fixP->fx_addsy)->fr_address; } if (fixP->fx_pcrel) |