(m32r_elf_check_relocs): Fix pc count for R_M32R_REL32.

This commit is contained in:
Nick Clifton 2005-07-22 10:27:44 +00:00
parent 6038baea6c
commit a9b7b1745d
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2005-07-22 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
* elf32-m32r.c (m32r_elf_check_relocs): Fix pc count for
R_M32R_REL32.
2005-07-21 Ben Elliston <bje@gnu.org>
* Makefile.am (BFD32_BACKENDS): Remove cf-m68klynx.lo.

View File

@ -4011,6 +4011,7 @@ m32r_elf_check_relocs (bfd *abfd,
p->count += 1;
if (ELF32_R_TYPE (rel->r_info) == R_M32R_26_PCREL_RELA
|| ELF32_R_TYPE (rel->r_info) == R_M32R_REL32
|| ELF32_R_TYPE (rel->r_info) == R_M32R_18_PCREL_RELA)
p->pc_count += 1;
}