Set the IMAGE_FILE_32BIT_MACHINE flag for PE targets.
This commit is contained in:
parent
3c11cdbf48
commit
bcb9b88db6
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2003-07-12 Jeff Muizelaar <muizelaar@rogers.com>
|
||||||
|
|
||||||
|
* coffcode.h (coff_set_section_contents): Set the
|
||||||
|
IMAGE_FILE_32BIT_MACHINE flag for PE targets.
|
||||||
|
|
||||||
2003-07-11 Richard Sandiford <rsandifo@redhat.com>
|
2003-07-11 Richard Sandiford <rsandifo@redhat.com>
|
||||||
|
|
||||||
* bfd-in.h (bfd_h8300_pad_address): Declare.
|
* bfd-in.h (bfd_h8300_pad_address): Declare.
|
||||||
|
|
|
@ -3873,7 +3873,9 @@ coff_write_object_contents (abfd)
|
||||||
internal_f.f_flags |= IMAGE_FILE_DEBUG_STRIPPED;
|
internal_f.f_flags |= IMAGE_FILE_DEBUG_STRIPPED;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef COFF_WITH_PE
|
#ifdef COFF_WITH_PE
|
||||||
|
internal_f.f_flags |= IMAGE_FILE_32BIT_MACHINE;
|
||||||
|
#else
|
||||||
if (bfd_little_endian (abfd))
|
if (bfd_little_endian (abfd))
|
||||||
internal_f.f_flags |= F_AR32WR;
|
internal_f.f_flags |= F_AR32WR;
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Reference in a new issue