diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2001-10-19 02:11:04 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2001-10-19 02:11:04 +0000 |
commit | 7595d193878d5dc1bab0bdc9440c16392377680b (patch) | |
tree | d257bab0c20605dd981a8e4552966df7e82936fa /bfd/elf32-i370.c | |
parent | 663dd3780830bfbb264c070a1cfffb0d9aaab33b (diff) | |
download | gdb-7595d193878d5dc1bab0bdc9440c16392377680b.zip gdb-7595d193878d5dc1bab0bdc9440c16392377680b.tar.gz gdb-7595d193878d5dc1bab0bdc9440c16392377680b.tar.bz2 |
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-i370.c')
-rw-r--r-- | bfd/elf32-i370.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bfd/elf32-i370.c b/bfd/elf32-i370.c index e4fe1b6..a93e9a7 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) |