This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[gold commit] PR gold/16870: Add missing break statement.
- From: Cary Coutant <ccoutant at google dot com>
- To: Binutils <binutils at sourceware dot org>
- Date: Wed, 23 Apr 2014 15:22:56 -0700
- Subject: [gold commit] PR gold/16870: Add missing break statement.
- Authentication-results: sourceware.org; auth=none
I've committed the following patch to fix an internal error reported
in PR gold/16870.
-cary
Add missing break statement for case elfcpp::R_X86_64_PLTOFF64.
2014-04-23 Cary Coutant <ccoutant@google.com>
gold/
PR gold/16870
* x86_64.cc (Target_x86_64::Relocate::relocate): Add missing break.
diff --git a/gold/x86_64.cc b/gold/x86_64.cc
index bda6227..aa9e5b4 100644
--- a/gold/x86_64.cc
+++ b/gold/x86_64.cc
@@ -3392,6 +3392,7 @@ Target_x86_64<size>::Relocate::relocate(
Relocate_functions<size, false>::rela64(view, object, psymval,
addend - got_address);
}
+ break;
case elfcpp::R_X86_64_GOT32:
gold_assert(have_got_offset);