diff options
author | Ian Lance Taylor <ian@airs.com> | 1999-09-11 21:39:03 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1999-09-11 21:39:03 +0000 |
commit | a50f8417d5e6969db1193da0a056a7033a922bd1 (patch) | |
tree | 3b113a3989317e510108f3834b0e0ce11dd9505b /bfd/coffcode.h | |
parent | b545f675c19fa314085ceebce218000f5abf81f4 (diff) | |
download | gdb-a50f8417d5e6969db1193da0a056a7033a922bd1.zip gdb-a50f8417d5e6969db1193da0a056a7033a922bd1.tar.gz gdb-a50f8417d5e6969db1193da0a056a7033a922bd1.tar.bz2 |
* coff-ppc.c (COFF_SECTION_ALIGNMENT_ENTRIES): Define.
1999-09-11 Donn Terry <donn@interix.com>
* coffcode.h (coff_set_alignment_hook): Delete POWERPC_LE_PE
special handling.
Diffstat (limited to 'bfd/coffcode.h')
-rw-r--r-- | bfd/coffcode.h | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/bfd/coffcode.h b/bfd/coffcode.h index eac8e84..f18c2c9 100644 --- a/bfd/coffcode.h +++ b/bfd/coffcode.h @@ -1458,37 +1458,6 @@ coff_set_alignment_hook (abfd, section, scnhdr) ELIFALIGN_SET (hdr->s_flags, IMAGE_SCN_ALIGN_2BYTES, 1) ELIFALIGN_SET (hdr->s_flags, IMAGE_SCN_ALIGN_1BYTES, 0) -#ifdef POWERPC_LE_PE - if (strcmp (section->name, ".idata$2") == 0) - { - section->alignment_power = 0; - } - else if (strcmp (section->name, ".idata$3") == 0) - { - section->alignment_power = 0; - } - else if (strcmp (section->name, ".idata$4") == 0) - { - section->alignment_power = 2; - } - else if (strcmp (section->name, ".idata$5") == 0) - { - section->alignment_power = 2; - } - else if (strcmp (section->name, ".idata$6") == 0) - { - section->alignment_power = 1; - } - else if (strcmp (section->name, ".reloc") == 0) - { - section->alignment_power = 1; - } - else if (strncmp (section->name, ".stab", 5) == 0) - { - section->alignment_power = 2; - } -#endif - /* In a PE image file, the s_paddr field holds the virtual size of a section, while the s_size field holds the raw size. We also keep the original section flag value, since not every bit can be |