mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-28 22:40:24 +00:00
* elf32-sh.c (sh_elf_relocate_section): Ignore R_SH_NONE relocs.
This commit is contained in:
parent
54a4ca2e1d
commit
c5aeb40fc6
@ -1,3 +1,7 @@
|
||||
2000-11-11 Bernd Schmidt <bernds@cygnus.co.uk>
|
||||
|
||||
* elf32-sh.c (sh_elf_relocate_section): Ignore R_SH_NONE relocs.
|
||||
|
||||
2000-11-10 Kazu Hirata <kazu@hxi.com>
|
||||
|
||||
* coff-h8300.c: Fix formatting.
|
||||
|
@ -2904,6 +2904,8 @@ sh_elf_relocate_section (output_bfd, info, input_bfd, input_section,
|
||||
if (r_type > (int) R_SH_LAST_INVALID_RELOC
|
||||
&& r_type < (int) R_SH_LOOP_START)
|
||||
continue;
|
||||
if (r_type == (int) R_SH_NONE)
|
||||
continue;
|
||||
|
||||
if (r_type < 0
|
||||
|| r_type >= R_SH_max
|
||||
|
Loading…
Reference in New Issue
Block a user