Tidy pe flag in coff_data

Make it a bool, use obj_pe accessor everywhere.
This commit is contained in:
Alan Modra
2023-01-06 19:34:15 +10:30
parent 22a95e1a37
commit 10df41b188
11 changed files with 14 additions and 15 deletions

View File

@@ -1090,7 +1090,7 @@ pe_ILF_build_a_bfd (bfd * abfd,
if (bfd_coff_mkobject_hook (abfd, (void *) & internal_f, NULL) == NULL)
goto error_return;
coff_data (abfd)->pe = 1;
obj_pe (abfd) = true;
#ifdef THUMBPEMAGIC
if (vars.magic == THUMBPEMAGIC)
/* Stop some linker warnings about thumb code not supporting interworking. */