mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-19 13:53:29 +08:00
correct ft32 reloc range test
* elf32-ft32.c (ft32_info_to_howto_rela): Correct range test.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2018-03-01 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
|
* elf32-ft32.c (ft32_info_to_howto_rela): Correct range test.
|
||||||
|
|
||||||
2018-02-28 Alan Modra <amodra@gmail.com>
|
2018-02-28 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
PR 22887
|
PR 22887
|
||||||
|
@ -300,7 +300,7 @@ ft32_info_to_howto_rela (bfd *abfd,
|
|||||||
unsigned int r_type;
|
unsigned int r_type;
|
||||||
|
|
||||||
r_type = ELF32_R_TYPE (dst->r_info);
|
r_type = ELF32_R_TYPE (dst->r_info);
|
||||||
if (r_type < (unsigned int) R_FT32_max)
|
if (r_type >= (unsigned int) R_FT32_max)
|
||||||
{
|
{
|
||||||
/* xgettext:c-format */
|
/* xgettext:c-format */
|
||||||
_bfd_error_handler (_("%pB: unsupported relocation type %#x"),
|
_bfd_error_handler (_("%pB: unsupported relocation type %#x"),
|
||||||
|
Reference in New Issue
Block a user