diff options
author | H.J. Lu <hjl@lucon.org> | 2001-10-19 02:11:04 +0000 |
---|---|---|
committer | H.J. Lu <hjl@lucon.org> | 2001-10-19 02:11:04 +0000 |
commit | e7ca896bb707e82f2f106b8d711fd656d4e54b1e (patch) | |
tree | 5323ac5edf0e6c1138122fb65bc71505494462d8 /bfd/elf32-ppc.c | |
parent | 3d99050b7ab35c02a5c67a697313d937a0085f1a (diff) | |
download | gdb-e7ca896bb707e82f2f106b8d711fd656d4e54b1e.tar.gz |
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.
Diffstat (limited to 'bfd/elf32-ppc.c')
-rw-r--r-- | bfd/elf32-ppc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c index 28bba6566d1..6dd826041fc 100644 --- a/bfd/elf32-ppc.c +++ b/bfd/elf32-ppc.c @@ -3128,6 +3128,9 @@ ppc_elf_relocate_section (output_bfd, info, input_bfd, input_section, ret = false; continue; + case (int) R_PPC_NONE: + continue; + /* Relocations that need no special processing. */ case (int) R_PPC_LOCAL24PC: /* 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 object. */ - case (int) R_PPC_NONE: case (int) R_PPC_ADDR32: case (int) R_PPC_ADDR24: case (int) R_PPC_ADDR16: |