mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 19:09:31 +08:00
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:
@ -1,5 +1,8 @@
|
|||||||
2011-03-06 Michael Snyder <msnyder@vmware.com>
|
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.
|
* elf32-i386.c (elf_i386_relocate_section): Document fall through.
|
||||||
|
|
||||||
2011-03-04 Alan Modra <amodra@gmail.com>
|
2011-03-04 Alan Modra <amodra@gmail.com>
|
||||||
|
@ -2887,6 +2887,7 @@ elf_x86_64_relocate_section (bfd *output_bfd,
|
|||||||
case R_X86_64_32:
|
case R_X86_64_32:
|
||||||
if (ABI_64_P (output_bfd))
|
if (ABI_64_P (output_bfd))
|
||||||
goto do_relocation;
|
goto do_relocation;
|
||||||
|
/* FALLTHROUGH */
|
||||||
case R_X86_64_64:
|
case R_X86_64_64:
|
||||||
if (rel->r_addend != 0)
|
if (rel->r_addend != 0)
|
||||||
{
|
{
|
||||||
@ -2950,7 +2951,7 @@ elf_x86_64_relocate_section (bfd *output_bfd,
|
|||||||
internal symbol, we have updated addend. */
|
internal symbol, we have updated addend. */
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
/* FALLTHROUGH */
|
||||||
case R_X86_64_PC32:
|
case R_X86_64_PC32:
|
||||||
case R_X86_64_PC64:
|
case R_X86_64_PC64:
|
||||||
case R_X86_64_PLT32:
|
case R_X86_64_PLT32:
|
||||||
|
Reference in New Issue
Block a user