From 455bde508dbf8bd82d5f1403aa6e6edf2740f6f2 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Mon, 15 Sep 2008 05:22:32 +0000 Subject: * 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. --- gas/config/tc-frv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gas/config/tc-frv.c') diff --git a/gas/config/tc-frv.c b/gas/config/tc-frv.c index e58def9..4551d75 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 -- cgit v1.1