diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2008-12-17 02:31:16 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2008-12-17 02:31:16 +0000 |
commit | 4627d5184762f21ad223ff6845d4dbccfb502be7 (patch) | |
tree | 6e2279221be84c86857ec1d6c9d2752df197006f /bfd/elf32-cris.c | |
parent | 539b151216c78ee9273e10b9119193108986369b (diff) | |
download | binutils-redhat-4627d5184762f21ad223ff6845d4dbccfb502be7.tar.gz |
(cris_elf_relocate_section) <R_CRIS_8, R_CRIS_16, R_CRIS_32>: Add missing
gate h != NULL for h->def_regular test.
Diffstat (limited to 'bfd/elf32-cris.c')
-rw-r--r-- | bfd/elf32-cris.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-cris.c b/bfd/elf32-cris.c index 2f6b4d86a1..1f4b0ddda6 100644 --- a/bfd/elf32-cris.c +++ b/bfd/elf32-cris.c @@ -1494,7 +1494,7 @@ cris_elf_relocate_section (output_bfd, info, input_bfd, input_section, && r_type != R_CRIS_16_PCREL && r_type != R_CRIS_32_PCREL) || (!info->symbolic - || !h->def_regular))) + || (h != NULL && !h->def_regular)))) { Elf_Internal_Rela outrel; bfd_byte *loc; |