summaryrefslogtreecommitdiff
path: root/gas/config/tc-ip2k.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2007-10-18 13:03:12 +0000
committerNick Clifton <nickc@redhat.com>2007-10-18 13:03:12 +0000
commitb2f58c0c095f7f8f1d8c2d2368d58bf2815a1084 (patch)
tree9aecc9b4554704aba90771ba995cbddf0c57e545 /gas/config/tc-ip2k.c
parent5f4273c75a6fae3006d151613d9c6486fa721850 (diff)
downloadbinutils-gdb-b2f58c0c095f7f8f1d8c2d2368d58bf2815a1084.tar.gz
PR gas/5172
* config/tc-arc.c (md_estimate_size_before_relax): Change error message. (md_convert_frag): Just call abort. * config/tc-i860.c (md_estimate_size_before_relax): Change error message. * config/tc-i860.h (md_convert_frag): Just call abort. * config/tc-ip2k.c (md_estimate_size_before_relax): Change error message. (md_convert_frag): Just call abort. * config/tc-m68k.c (m68k_ip): Do not attempt translation of architecture names.
Diffstat (limited to 'gas/config/tc-ip2k.c')
-rw-r--r--gas/config/tc-ip2k.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/gas/config/tc-ip2k.c b/gas/config/tc-ip2k.c
index 37e1211186f..440a82dd7b8 100644
--- a/gas/config/tc-ip2k.c
+++ b/gas/config/tc-ip2k.c
@@ -246,7 +246,7 @@ int
md_estimate_size_before_relax (fragS * fragP ATTRIBUTE_UNUSED,
segT segment ATTRIBUTE_UNUSED)
{
- as_fatal (_("md_estimate_size_before_relax\n"));
+ as_fatal (_("relaxation not supported\n"));
return 1;
}
@@ -269,12 +269,9 @@ md_convert_frag (bfd * abfd ATTRIBUTE_UNUSED,
/* Functions concerning relocs. */
long
-md_pcrel_from (fixS *fixP)
+md_pcrel_from (fixS *fixP ATTRIBUTE_UNUSED)
{
- as_fatal (_("md_pcrel_from\n"));
-
- /* Return the address of the delay slot. */
- return fixP->fx_size + fixP->fx_where + fixP->fx_frag->fr_address;
+ abort ();
}