aboutsummaryrefslogtreecommitdiff
path: root/gold/mips.cc
diff options
context:
space:
mode:
authorVladimir Radosavljevic <Vladimir.Radosavljevic@imgtec.com>2017-02-15 00:55:04 -0800
committerCary Coutant <ccoutant@gmail.com>2017-02-15 00:55:36 -0800
commitf9029569740a8ef2a66b3578fa6c89c0ab62be52 (patch)
tree35ca5b049456ce22039fe95dcb0e7cc2faaff66e /gold/mips.cc
parente242ece1e890b66d226b38b489a7edd79b3656d5 (diff)
downloadgdb-f9029569740a8ef2a66b3578fa6c89c0ab62be52.zip
gdb-f9029569740a8ef2a66b3578fa6c89c0ab62be52.tar.gz
gdb-f9029569740a8ef2a66b3578fa6c89c0ab62be52.tar.bz2
Don't give an internal error for unsupported relocations.
gold/ * mips.cc (Target_mips::Scan::get_reference_flags): Remove gold_unreachable from default case.
Diffstat (limited to 'gold/mips.cc')
-rw-r--r--gold/mips.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/gold/mips.cc b/gold/mips.cc
index 7b19e4c..95bf6db 100644
--- a/gold/mips.cc
+++ b/gold/mips.cc
@@ -12334,7 +12334,6 @@ Target_mips<size, big_endian>::Scan::get_reference_flags(
case elfcpp::R_MIPS_COPY:
case elfcpp::R_MIPS_JUMP_SLOT:
default:
- gold_unreachable();
// Not expected. We will give an error later.
return 0;
}