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 | b8169e6037f4140c0eeceaee6dc5a6f0462d43e4 (patch) | |
tree | 530128a8934a9fa1bb21ceadbf3d41c76dd41dbd /bfd | |
parent | 8f4e7cfc638fa9940a4f8eb320ea5baa198ac3c2 (diff) | |
download | binutils-redhat-b8169e6037f4140c0eeceaee6dc5a6f0462d43e4.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')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elf32-i370.c | 4 | ||||
-rw-r--r-- | bfd/elf32-ppc.c | 4 |
3 files changed, 11 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 8d0b2207ea..e5afb2263b 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -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> * section.c (_bfd_strip_section_from_output): Don't count diff --git a/bfd/elf32-i370.c b/bfd/elf32-i370.c index e4fe1b6ddd..a93e9a7c12 100644 --- a/bfd/elf32-i370.c +++ b/bfd/elf32-i370.c @@ -1432,6 +1432,9 @@ i370_elf_relocate_section (output_bfd, info, input_bfd, input_section, ret = false; continue; + case (int)R_I370_NONE: + continue; + /* Relocations that may need to be propagated if this is a shared object. */ 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 object. */ - case (int)R_I370_NONE: case (int)R_I370_ADDR31: case (int)R_I370_ADDR16: if (info->shared) diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c index 28bba6566d..6dd826041f 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: |