aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2007-08-24 13:46:32 +0000
committerDaniel Jacobowitz <drow@false.org>2007-08-24 13:46:32 +0000
commitf1187097fa14de1e5fef0b8dbc7f823e0e40486b (patch)
treedc94b9aea559b484f6aba92d7576dce4c8a38065
parenta30e5f5fca66d525fd44e6a4869b5569441bd464 (diff)
downloadfsf-binutils-gdb-f1187097fa14de1e5fef0b8dbc7f823e0e40486b.zip
fsf-binutils-gdb-f1187097fa14de1e5fef0b8dbc7f823e0e40486b.tar.gz
fsf-binutils-gdb-f1187097fa14de1e5fef0b8dbc7f823e0e40486b.tar.bz2
* elf64-mips.c (elf_backend_sign_extend_vma): Define.
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/elf64-mips.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index f898bef..fa0b0af 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2007-08-24 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * elf64-mips.c (elf_backend_sign_extend_vma): Define.
+
2007-08-24 Alan Modra <amodra@bigpond.net.au>
* elfxx-ia64.c (elfNN_ia64_add_symbol_hook): Warning fix.
diff --git a/bfd/elf64-mips.c b/bfd/elf64-mips.c
index 482d078..025f9fb 100644
--- a/bfd/elf64-mips.c
+++ b/bfd/elf64-mips.c
@@ -3147,6 +3147,8 @@ const struct elf_size_info mips_elf64_size_info =
#define elf_backend_may_use_rela_p 1
#define elf_backend_default_use_rela_p 1
+#define elf_backend_sign_extend_vma TRUE
+
#define elf_backend_write_section _bfd_mips_elf_write_section
/* We don't set bfd_elf64_bfd_is_local_label_name because the 32-bit