diff options
author | Alan Modra <amodra@gmail.com> | 2023-01-06 19:34:15 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2023-01-06 21:06:15 +1030 |
commit | 10df41b188b2692b6bc8c36d4003e0f8790d1f1b (patch) | |
tree | 8e35758d1b7208320c9808601492948b381be905 /bfd/coff-arm.c | |
parent | 22a95e1a37aff28238e9d40bbe4441aa554a14c6 (diff) | |
download | fsf-binutils-gdb-10df41b188b2692b6bc8c36d4003e0f8790d1f1b.zip fsf-binutils-gdb-10df41b188b2692b6bc8c36d4003e0f8790d1f1b.tar.gz fsf-binutils-gdb-10df41b188b2692b6bc8c36d4003e0f8790d1f1b.tar.bz2 |
Tidy pe flag in coff_data
Make it a bool, use obj_pe accessor everywhere.
Diffstat (limited to 'bfd/coff-arm.c')
-rw-r--r-- | bfd/coff-arm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/coff-arm.c b/bfd/coff-arm.c index c0b2b04..694ae8d 100644 --- a/bfd/coff-arm.c +++ b/bfd/coff-arm.c @@ -953,7 +953,7 @@ arm_emit_base_file_entry (struct bfd_link_info *info, + input_section->output_offset + input_section->output_section->vma); - if (coff_data (output_bfd)->pe) + if (obj_pe (output_bfd)) addr -= pe_data (output_bfd)->pe_opthdr.ImageBase; if (fwrite (&addr, sizeof (addr), 1, (FILE *) info->base_file) == 1) return true; |