aboutsummaryrefslogtreecommitdiff
path: root/gold/arm.cc
diff options
context:
space:
mode:
authorDoug Kwan <dougkwan@google.com>2010-02-27 00:46:00 +0000
committerDoug Kwan <dougkwan@google.com>2010-02-27 00:46:00 +0000
commitc3e4ae2903ff58e2a9f4efc9d0d5159839c1c1ed (patch)
tree11eb409a9ff2c71fa52707514b323a5aee4045b8 /gold/arm.cc
parent2fd9ae7a1d02f2c5660a36a870285ce5b85fdc7a (diff)
downloadgdb-c3e4ae2903ff58e2a9f4efc9d0d5159839c1c1ed.zip
gdb-c3e4ae2903ff58e2a9f4efc9d0d5159839c1c1ed.tar.gz
gdb-c3e4ae2903ff58e2a9f4efc9d0d5159839c1c1ed.tar.bz2
2010-02-26 Doug Kwan <dougkwan@google.com>
* arm.cc (Target_arm::Relocate::reloc_is_non_pic): Treat R_ARM_PREL31 and R_ARM_SBREL31 as position independent. * testsuite/debug_msg.sh: Avoid matching source line number for use of global variable undef_int.
Diffstat (limited to 'gold/arm.cc')
-rw-r--r--gold/arm.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/gold/arm.cc b/gold/arm.cc
index dde2d08..bba6e28 100644
--- a/gold/arm.cc
+++ b/gold/arm.cc
@@ -2444,6 +2444,8 @@ class Target_arm : public Sized_target<32, big_endian>
case elfcpp::R_ARM_THM_JUMP19:
case elfcpp::R_ARM_PLT32:
case elfcpp::R_ARM_THM_XPC22:
+ case elfcpp::R_ARM_PREL31:
+ case elfcpp::R_ARM_SBREL31:
return false;
default: