aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf64-x86-64.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2011-03-06 18:27:03 +0000
committerMichael Snyder <msnyder@vmware.com>2011-03-06 18:27:03 +0000
commit176720017d3856e1c309a7633a7d62a273c7d436 (patch)
tree2d5a4757ef3c0a44c297fe41cca8c62c8a7312b7 /bfd/elf64-x86-64.c
parentd59a60e937cedcef0ac561638ae41b73ea53abfd (diff)
downloadgdb-176720017d3856e1c309a7633a7d62a273c7d436.zip
gdb-176720017d3856e1c309a7633a7d62a273c7d436.tar.gz
gdb-176720017d3856e1c309a7633a7d62a273c7d436.tar.bz2
2011-03-06 Michael Snyder <msnyder@vmware.com>
* elf64-x86-64.c (elf_x86_64_relocate_section): Document that case statement falls through intentionally.
Diffstat (limited to 'bfd/elf64-x86-64.c')
-rw-r--r--bfd/elf64-x86-64.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c
index ad2a1f3..c26c40b 100644
--- a/bfd/elf64-x86-64.c
+++ b/bfd/elf64-x86-64.c
@@ -2887,6 +2887,7 @@ elf_x86_64_relocate_section (bfd *output_bfd,
case R_X86_64_32:
if (ABI_64_P (output_bfd))
goto do_relocation;
+ /* FALLTHROUGH */
case R_X86_64_64:
if (rel->r_addend != 0)
{
@@ -2950,7 +2951,7 @@ elf_x86_64_relocate_section (bfd *output_bfd,
internal symbol, we have updated addend. */
continue;
}
-
+ /* FALLTHROUGH */
case R_X86_64_PC32:
case R_X86_64_PC64:
case R_X86_64_PLT32: