mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-21 02:24:17 +08:00
Don't give an internal error for unsupported relocations.
gold/ * mips.cc (Target_mips::Scan::get_reference_flags): Remove gold_unreachable from default case.
This commit is contained in:

committed by
Cary Coutant

parent
e242ece1e8
commit
f902956974
@ -1,3 +1,8 @@
|
||||
2017-02-15 Vladimir Radosavljevic <Vladimir.Radosavljevic@imgtec.com>
|
||||
|
||||
* mips.cc (Target_mips::Scan::get_reference_flags): Remove
|
||||
gold_unreachable from default case.
|
||||
|
||||
2017-02-15 Vladimir Radosavljevic <Vladimir.Radosavljevic@imgtec.com>
|
||||
|
||||
PR gold/21111
|
||||
|
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user