aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2003-01-20 10:22:26 +0000
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2003-01-20 10:22:26 +0000
commitf1fc51dabb11f03e81b40bade427d7743745e1d8 (patch)
treeb5078850fdc015360593bb5dcfb37622a0e56554 /gas/config
parent778ce8cc71e6017b56b643d0aa9db2cc37814d77 (diff)
downloadgdb-f1fc51dabb11f03e81b40bade427d7743745e1d8.zip
gdb-f1fc51dabb11f03e81b40bade427d7743745e1d8.tar.gz
gdb-f1fc51dabb11f03e81b40bade427d7743745e1d8.tar.bz2
* config/tc-s390.c (md_apply_fix3): Emit error message for relocations
with a subsy symbol.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-s390.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gas/config/tc-s390.c b/gas/config/tc-s390.c
index 5e4eeed..b7de6fa 100644
--- a/gas/config/tc-s390.c
+++ b/gas/config/tc-s390.c
@@ -1702,7 +1702,10 @@ md_apply_fix3 (fixP, valP, seg)
where = fixP->fx_frag->fr_literal + fixP->fx_where;
if (fixP->fx_subsy != NULL)
- abort ();
+ as_bad_where (fixP->fx_file, fixP->fx_line,
+ "cannot emit relocation %s against subsy symbol %s",
+ bfd_get_reloc_code_name (fixP->fx_r_type),
+ S_GET_NAME (fixP->fx_subsy));
if (fixP->fx_addsy != NULL)
{