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 /ld/emultempl/beos.em | |
parent | 22a95e1a37aff28238e9d40bbe4441aa554a14c6 (diff) | |
download | gdb-10df41b188b2692b6bc8c36d4003e0f8790d1f1b.zip gdb-10df41b188b2692b6bc8c36d4003e0f8790d1f1b.tar.gz gdb-10df41b188b2692b6bc8c36d4003e0f8790d1f1b.tar.bz2 |
Tidy pe flag in coff_data
Make it a bool, use obj_pe accessor everywhere.
Diffstat (limited to 'ld/emultempl/beos.em')
-rw-r--r-- | ld/emultempl/beos.em | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/emultempl/beos.em b/ld/emultempl/beos.em index 1f3b67b..521d927 100644 --- a/ld/emultempl/beos.em +++ b/ld/emultempl/beos.em @@ -379,7 +379,7 @@ gld${EMULATION_NAME}_after_open (void) /* Pass the wacky PE command line options into the output bfd. FIXME: This should be done via a function, rather than by including an internal BFD header. */ - if (!coff_data(link_info.output_bfd)->pe) + if (!obj_pe (link_info.output_bfd)) { einfo (_("%F%P: PE operations on non PE file\n")); } |