aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2001-08-16 15:12:09 +0000
committerThiemo Seufer <ths@networkno.de>2001-08-16 15:12:09 +0000
commit07ae3efa01f8b67fa971b560f90f153d3307c7f5 (patch)
tree46808a2b0e79d5c1c0768626471e91a2f1943ed8 /gas
parent61d11d80324a3372a3cf1b9e0f6a4f1d8ca402cd (diff)
downloadgdb-07ae3efa01f8b67fa971b560f90f153d3307c7f5.zip
gdb-07ae3efa01f8b67fa971b560f90f153d3307c7f5.tar.gz
gdb-07ae3efa01f8b67fa971b560f90f153d3307c7f5.tar.bz2
Remove obsolete special handling of 64bit Relocations.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog6
-rw-r--r--gas/config/tc-mips.c31
-rw-r--r--gas/config/tc-mips.h4
3 files changed, 6 insertions, 35 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 3bf9a6f..022e058 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,9 @@
+2001-08-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+ * config/tc-mips.c (cons_fix_new_mips): Remove.
+ * config/tc-mips.h (TC_CONS_FIX_NEW): Remove.
+ (cons_fix_new_mips): Remove.
+
2001-08-14 Jeff Johnston <jjohnstn@redhat.com>
* expr.c (operand)[LITERAL_PREFIXDOLLAR_HEX]: Treat $L as
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index b53462d..a374e3f 100644
--- a/gas/config/tc-mips.c
+++ b/gas/config/tc-mips.c
@@ -9340,37 +9340,6 @@ md_pcrel_from (fixP)
return fixP->fx_size + fixP->fx_where + fixP->fx_frag->fr_address;
}
-/* This is called by emit_expr via TC_CONS_FIX_NEW when creating a
- reloc for a cons. We could use the definition there, except that
- we want to handle 64 bit relocs specially. */
-
-void
-cons_fix_new_mips (frag, where, nbytes, exp)
- fragS *frag ATTRIBUTE_UNUSED;
- int where;
- unsigned int nbytes;
- expressionS *exp;
-{
-#ifndef OBJ_ELF
- /* If we are assembling in 32 bit mode, turn an 8 byte reloc into a
- 4 byte reloc. */
- if (nbytes == 8 && ! mips_64)
- {
- if (target_big_endian)
- where += 4;
- nbytes = 4;
- }
-#endif
-
- if (nbytes != 2 && nbytes != 4 && nbytes != 8)
- as_bad (_("Unsupported reloc size %d"), nbytes);
-
- fix_new_exp (frag_now, where, (int) nbytes, exp, 0,
- (nbytes == 2
- ? BFD_RELOC_16
- : (nbytes == 4 ? BFD_RELOC_32 : BFD_RELOC_64)));
-}
-
/* This is called before the symbol table is processed. In order to
work with gcc when using mips-tfile, we must keep all local labels.
However, in other cases, we want to discard them. If we were
diff --git a/gas/config/tc-mips.h b/gas/config/tc-mips.h
index c10b10a..7e52940 100644
--- a/gas/config/tc-mips.h
+++ b/gas/config/tc-mips.h
@@ -103,10 +103,6 @@ extern void mips_frob_file PARAMS ((void));
extern void mips_frob_file_after_relocs PARAMS ((void));
#endif
-#define TC_CONS_FIX_NEW cons_fix_new_mips
-extern void cons_fix_new_mips
- PARAMS ((struct frag *, int, unsigned int, struct expressionS *));
-
#define tc_fix_adjustable(fixp) mips_fix_adjustable (fixp)
extern int mips_fix_adjustable PARAMS ((struct fix *));