summaryrefslogtreecommitdiff
path: root/gas/config/tc-frv.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2008-09-15 05:22:32 +0000
committerAlan Modra <amodra@bigpond.net.au>2008-09-15 05:22:32 +0000
commitf595c1a6635ec31f52ca6da5caf7b6e1822bf604 (patch)
tree73250fd2e33f10dc34a0be5fb845e444782e1bbf /gas/config/tc-frv.c
parent5de694f050920cc38ff7831d97866d15c0fec794 (diff)
downloadbinutils-redhat-f595c1a6635ec31f52ca6da5caf7b6e1822bf604.tar.gz
* config/tc-frv.c (md_apply_fix): Use abs_section_sym for
relocs with no symbol. * config/tc-mmix.c (md_assemble): Mark fake symbol on BFD_RELOC_MMIX_BASE_PLUS_OFFSET as OK for use by relocs. (mmix_md_end): Likewise mark mmix reg contents section symbol.
Diffstat (limited to 'gas/config/tc-frv.c')
-rw-r--r--gas/config/tc-frv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-frv.c b/gas/config/tc-frv.c
index e58def9e56..4551d75541 100644
--- a/gas/config/tc-frv.c
+++ b/gas/config/tc-frv.c
@@ -1475,7 +1475,7 @@ md_apply_fix (fixS *fixP, valueT *valP, segT seg)
case BFD_RELOC_FRV_TLSDESC_RELAX:
case BFD_RELOC_FRV_GETTLSOFF_RELAX:
case BFD_RELOC_FRV_TLSOFF_RELAX:
- fixP->fx_addsy = expr_build_uconstant (0);
+ fixP->fx_addsy = abs_section_sym;
break;
}
else