Add missing break statement for case elfcpp::R_X86_64_PLTOFF64.
authorCary Coutant <ccoutant@google.com>
Wed, 23 Apr 2014 22:17:16 +0000 (15:17 -0700)
committerCary Coutant <ccoutant@google.com>
Wed, 23 Apr 2014 22:19:05 +0000 (15:19 -0700)
gold/
* x86_64.cc (Target_x86_64::Relocate::relocate): Add missing break.

gold/ChangeLog
gold/x86_64.cc

index f1fea46..86697e6 100644 (file)
@@ -1,3 +1,7 @@
+2014-04-23  Cary Coutant  <ccoutant@google.com>
+
+       * x86_64.cc (Target_x86_64::Relocate::relocate): Add missing break.
+
 2014-04-15  Sasa Stankovic  <Sasa.Stankovic@imgtec.com>
 
        * layout.cc (Layout::include_section): Allow a target to decide
index bda6227..aa9e5b4 100644 (file)
@@ -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);