This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH][gold] Mips: Remove gold_unreachable from get_reference_flags


gold_unreachable in Scan::get_reference_flags prevents gold to produce error if
relocation is not supported.

Regards,
Vladimir

ChangeLog -

	* mips.cc (Target_mips::Scan::get_reference_flags): Remove
	gold_unreachable from default case.
diff --git a/gold/mips.cc b/gold/mips.cc
index 56af570..349174f 100644
--- a/gold/mips.cc
+++ b/gold/mips.cc
@@ -12261,7 +12261,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;
     }

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]