diff options
author | Nick Clifton <nickc@redhat.com> | 2005-07-22 10:27:44 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2005-07-22 10:27:44 +0000 |
commit | a9b7b1745d444e1332b844dbd6e1c3dab192bbe2 (patch) | |
tree | 72173e8dd2052d7f9e114825761e247f9083ee40 /bfd/elf32-m32r.c | |
parent | 6038baea6ceeaf77619158be787d34ba1bf005ed (diff) | |
download | gdb-a9b7b1745d444e1332b844dbd6e1c3dab192bbe2.zip gdb-a9b7b1745d444e1332b844dbd6e1c3dab192bbe2.tar.gz gdb-a9b7b1745d444e1332b844dbd6e1c3dab192bbe2.tar.bz2 |
(m32r_elf_check_relocs): Fix pc count for R_M32R_REL32.
Diffstat (limited to 'bfd/elf32-m32r.c')
-rw-r--r-- | bfd/elf32-m32r.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/elf32-m32r.c b/bfd/elf32-m32r.c index 23075d6..082f496 100644 --- a/bfd/elf32-m32r.c +++ b/bfd/elf32-m32r.c @@ -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; } |