aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@google.com>2014-04-23 15:17:16 -0700
committerCary Coutant <ccoutant@google.com>2014-04-23 15:19:05 -0700
commit7849f6d8dc37fc3da2fec06ac1d47afbe4b81059 (patch)
tree5b3e050697750789b1443be1e8f6b922b2c59e2d
parent4b48d43901e9864f9fc1c135ec75c80bde226cb8 (diff)
downloadgdb-7849f6d8dc37fc3da2fec06ac1d47afbe4b81059.zip
gdb-7849f6d8dc37fc3da2fec06ac1d47afbe4b81059.tar.gz
gdb-7849f6d8dc37fc3da2fec06ac1d47afbe4b81059.tar.bz2
Add missing break statement for case elfcpp::R_X86_64_PLTOFF64.
gold/ * x86_64.cc (Target_x86_64::Relocate::relocate): Add missing break.
-rw-r--r--gold/ChangeLog4
-rw-r--r--gold/x86_64.cc1
2 files changed, 5 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index f1fea46..86697e6 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -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
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);