mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 19:50:13 +08:00
2001-10-18 H.J. Lu <hjl@gnu.org>
* elf32-i370.c (i370_elf_relocate_section): Ignore R_XXX_NONE. * elf32-ppc.c (ppc_elf_relocate_section): Likewise.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2001-10-18 H.J. Lu <hjl@gnu.org>
|
||||||
|
|
||||||
|
* elf32-i370.c (i370_elf_relocate_section): Ignore R_XXX_NONE.
|
||||||
|
* elf32-ppc.c (ppc_elf_relocate_section): Likewise.
|
||||||
|
|
||||||
2001-10-18 Jakub Jelinek <jakub@redhat.com>
|
2001-10-18 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
* section.c (_bfd_strip_section_from_output): Don't count
|
* section.c (_bfd_strip_section_from_output): Don't count
|
||||||
|
@ -1432,6 +1432,9 @@ i370_elf_relocate_section (output_bfd, info, input_bfd, input_section,
|
|||||||
ret = false;
|
ret = false;
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
case (int)R_I370_NONE:
|
||||||
|
continue;
|
||||||
|
|
||||||
/* Relocations that may need to be propagated if this is a shared
|
/* Relocations that may need to be propagated if this is a shared
|
||||||
object. */
|
object. */
|
||||||
case (int)R_I370_REL31:
|
case (int)R_I370_REL31:
|
||||||
@ -1444,7 +1447,6 @@ i370_elf_relocate_section (output_bfd, info, input_bfd, input_section,
|
|||||||
|
|
||||||
/* Relocations that always need to be propagated if this is a shared
|
/* Relocations that always need to be propagated if this is a shared
|
||||||
object. */
|
object. */
|
||||||
case (int)R_I370_NONE:
|
|
||||||
case (int)R_I370_ADDR31:
|
case (int)R_I370_ADDR31:
|
||||||
case (int)R_I370_ADDR16:
|
case (int)R_I370_ADDR16:
|
||||||
if (info->shared)
|
if (info->shared)
|
||||||
|
@ -3128,6 +3128,9 @@ ppc_elf_relocate_section (output_bfd, info, input_bfd, input_section,
|
|||||||
ret = false;
|
ret = false;
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
case (int) R_PPC_NONE:
|
||||||
|
continue;
|
||||||
|
|
||||||
/* Relocations that need no special processing. */
|
/* Relocations that need no special processing. */
|
||||||
case (int) R_PPC_LOCAL24PC:
|
case (int) R_PPC_LOCAL24PC:
|
||||||
/* It makes no sense to point a local relocation
|
/* It makes no sense to point a local relocation
|
||||||
@ -3163,7 +3166,6 @@ ppc_elf_relocate_section (output_bfd, info, input_bfd, input_section,
|
|||||||
|
|
||||||
/* Relocations that always need to be propagated if this is a shared
|
/* Relocations that always need to be propagated if this is a shared
|
||||||
object. */
|
object. */
|
||||||
case (int) R_PPC_NONE:
|
|
||||||
case (int) R_PPC_ADDR32:
|
case (int) R_PPC_ADDR32:
|
||||||
case (int) R_PPC_ADDR24:
|
case (int) R_PPC_ADDR24:
|
||||||
case (int) R_PPC_ADDR16:
|
case (int) R_PPC_ADDR16:
|
||||||
|
Reference in New Issue
Block a user