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]

[gold commit] PR gold/16870: Add missing break statement.


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);


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