aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorChris Demetriou <cgd@google.com>2004-04-29 05:14:22 +0000
committerChris Demetriou <cgd@google.com>2004-04-29 05:14:22 +0000
commit3e722fb54b0d55afa5fd3d1b97189a06d41d6329 (patch)
tree9dfb5c6a45a5f39a82f56b3b67bbe80b511f8169 /bfd
parent50306a9d6e841ab553686e8d5fdff834238ba7f1 (diff)
downloadbinutils-3e722fb54b0d55afa5fd3d1b97189a06d41d6329.zip
binutils-3e722fb54b0d55afa5fd3d1b97189a06d41d6329.tar.gz
binutils-3e722fb54b0d55afa5fd3d1b97189a06d41d6329.tar.bz2
[ bfd/ChangeLog ]
2004-04-28 Chris Demetriou <cgd@broadcom.com> * reloc.c: Remove BFD_RELOC_PCREL_HI16_S and BFD_RELOC_PCREL_LO16. * bfd-in2.h: Regenerate. * libbfd.h: Likewise. [ gas/ChangeLog ] 2004-04-28 Chris Demetriou <cgd@broadcom.com> * config/tc-mips.c (HAVE_32BIT_ADDRESSES, append_insn, macro_build) (load_address, macro, mips_ip, md_parse_option) (mips_force_relocation, mips_validate_fix, md_apply_fix3) (s_change_sec, pic_need_relax, tc_gen_reloc): Remove all embedded-PIC handling, and update comments. (SWITCH_TABLE): Remove. * config/tc-mips.h (DIFF_EXPR_OK): Delete. (enum mips_pic_level): Remove EMBEDDED_PIC. (EXTERN_FORCE_RELOC): Remove embedded-PIC handling. (TC_FORCE_RELOCATION): Update comment. * ecoff.c (ecoff_build_lineno): Add comment about some code that might be safe to remove now that MIPS embedded-PIC is gone.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog6
-rw-r--r--bfd/bfd-in2.h6
-rw-r--r--bfd/libbfd.h2
-rw-r--r--bfd/reloc.c8
4 files changed, 6 insertions, 16 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 8fbe78e..7f26f18 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,9 @@
+2004-04-28 Chris Demetriou <cgd@broadcom.com>
+
+ * reloc.c: Remove BFD_RELOC_PCREL_HI16_S and BFD_RELOC_PCREL_LO16.
+ * bfd-in2.h: Regenerate.
+ * libbfd.h: Likewise.
+
2004-04-28 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* som.c (struct som_misc_symbol_info): Add is_comdat, is_common and
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index 4f4c670..d0e5cbe 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -2289,12 +2289,6 @@ to compensate for the borrow when the low bits are added. */
/* Low 16 bits. */
BFD_RELOC_LO16,
-/* Like BFD_RELOC_HI16_S, but PC relative. */
- BFD_RELOC_PCREL_HI16_S,
-
-/* Like BFD_RELOC_LO16, but PC relative. */
- BFD_RELOC_PCREL_LO16,
-
/* Relocation against a MIPS literal section. */
BFD_RELOC_MIPS_LITERAL,
diff --git a/bfd/libbfd.h b/bfd/libbfd.h
index 448b8b2..2573de7 100644
--- a/bfd/libbfd.h
+++ b/bfd/libbfd.h
@@ -860,8 +860,6 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@",
"BFD_RELOC_HI16",
"BFD_RELOC_HI16_S",
"BFD_RELOC_LO16",
- "BFD_RELOC_PCREL_HI16_S",
- "BFD_RELOC_PCREL_LO16",
"BFD_RELOC_MIPS_LITERAL",
"BFD_RELOC_MIPS_GOT16",
"BFD_RELOC_MIPS_CALL16",
diff --git a/bfd/reloc.c b/bfd/reloc.c
index 59fe848..bc8d13b 100644
--- a/bfd/reloc.c
+++ b/bfd/reloc.c
@@ -2066,14 +2066,6 @@ ENUM
BFD_RELOC_LO16
ENUMDOC
Low 16 bits.
-ENUM
- BFD_RELOC_PCREL_HI16_S
-ENUMDOC
- Like BFD_RELOC_HI16_S, but PC relative.
-ENUM
- BFD_RELOC_PCREL_LO16
-ENUMDOC
- Like BFD_RELOC_LO16, but PC relative.
ENUM
BFD_RELOC_MIPS_LITERAL