diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2009-04-21 17:08:20 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2009-04-21 17:08:20 +0000 |
commit | 4f3607846c68df370c48d4ee43d60f9c803cc613 (patch) | |
tree | d61998570e79784e93877c84d89dfd6f0abbe8ff /bfd/peXXigen.c | |
parent | a1220294e53a9a14bbe3bf1d625ecb7ae05cc1c9 (diff) | |
download | gdb-4f3607846c68df370c48d4ee43d60f9c803cc613.zip gdb-4f3607846c68df370c48d4ee43d60f9c803cc613.tar.gz gdb-4f3607846c68df370c48d4ee43d60f9c803cc613.tar.bz2 |
2009-04-21 H.J. Lu <hongjiu.lu@intel.com>
* coff-ia64.c (COFF_PAGE_SIZE): Changed to 8K.
* coffcode.h (coff_compute_section_file_positions): Clear
D_PAGED if PE section alignment is smaller than COFF_PAGE_SIZE.
* libcoff-in.h (pe_tdata): Remove force_minimum_alignment and
force_minimum_alignment.
* libcoff.h: Regenerated.
* pei-ia64.c (PEI_TARGET_SUBSYSTEM): Removed.
(PEI_FORCE_MINIMUM_ALIGNMENT): Likewise.
* peicode.h (pe_mkobject): Don't set force_minimum_alignment
nor target_subsystem.
* peXXigen.c (_bfd_XXi_swap_aouthdr_out): Don't check
force_minimum_alignment nor target_subsystem.
Diffstat (limited to 'bfd/peXXigen.c')
-rw-r--r-- | bfd/peXXigen.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/bfd/peXXigen.c b/bfd/peXXigen.c index 69657fc..fb8ced0 100644 --- a/bfd/peXXigen.c +++ b/bfd/peXXigen.c @@ -548,17 +548,6 @@ _bfd_XXi_swap_aouthdr_out (bfd * abfd, void * in, void * out) bfd_vma sa, fa, ib; IMAGE_DATA_DIRECTORY idata2, idata5, tls; - if (pe->force_minimum_alignment) - { - if (!extra->FileAlignment) - extra->FileAlignment = PE_DEF_FILE_ALIGNMENT; - if (!extra->SectionAlignment) - extra->SectionAlignment = PE_DEF_SECTION_ALIGNMENT; - } - - if (extra->Subsystem == IMAGE_SUBSYSTEM_UNKNOWN) - extra->Subsystem = pe->target_subsystem; - sa = extra->SectionAlignment; fa = extra->FileAlignment; ib = extra->ImageBase; |