2011-03-06 Michael Snyder <msnyder@vmware.com>

* elf64-x86-64.c (elf_x86_64_relocate_section): Document
	that case statement falls through intentionally.
This commit is contained in:
Michael Snyder
2011-03-06 18:27:03 +00:00
parent d59a60e937
commit 176720017d
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2011-03-06 Michael Snyder <msnyder@vmware.com>
* elf64-x86-64.c (elf_x86_64_relocate_section): Document
that case statement falls through intentionally.
* elf32-i386.c (elf_i386_relocate_section): Document fall through.
2011-03-04 Alan Modra <amodra@gmail.com>

View File

@ -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: