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

Cary Coutant ccoutant@google.com
Wed Apr 23 22:23:00 GMT 2014


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



More information about the Binutils mailing list