From 7849f6d8dc37fc3da2fec06ac1d47afbe4b81059 Mon Sep 17 00:00:00 2001 From: Cary Coutant Date: Wed, 23 Apr 2014 15:17:16 -0700 Subject: [PATCH] Add missing break statement for case elfcpp::R_X86_64_PLTOFF64. gold/ * x86_64.cc (Target_x86_64::Relocate::relocate): Add missing break. --- gold/ChangeLog | 4 ++++ gold/x86_64.cc | 1 + 2 files changed, 5 insertions(+) diff --git a/gold/ChangeLog b/gold/ChangeLog index f1fea46986b..86697e626e5 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,7 @@ +2014-04-23 Cary Coutant + + * x86_64.cc (Target_x86_64::Relocate::relocate): Add missing break. + 2014-04-15 Sasa Stankovic * layout.cc (Layout::include_section): Allow a target to decide diff --git a/gold/x86_64.cc b/gold/x86_64.cc index bda622763a4..aa9e5b4a58f 100644 --- a/gold/x86_64.cc +++ b/gold/x86_64.cc @@ -3392,6 +3392,7 @@ Target_x86_64::Relocate::relocate( Relocate_functions::rela64(view, object, psymval, addend - got_address); } + break; case elfcpp::R_X86_64_GOT32: gold_assert(have_got_offset); -- 2.30.2