/* Support for the generic parts of PE/PEI, for BFD.
- Copyright (C) 1995-2021 Free Software Foundation, Inc.
+ Copyright (C) 1995-2022 Free Software Foundation, Inc.
Written by Cygnus Solutions.
This file is part of BFD, the Binary File Descriptor library.
internal->r_vaddr = address;
internal->r_symndx = sym_index;
- internal->r_type = entry->howto->type;
+ internal->r_type = entry->howto ? entry->howto->type : 0;
vars->relcount ++;