aboutsummaryrefslogtreecommitdiff
path: root/bfd/pei-i386.c
diff options
context:
space:
mode:
authorBrian Ford <ford@vss.fsi.com>2004-09-22 22:40:21 +0000
committerBrian Ford <ford@vss.fsi.com>2004-09-22 22:40:21 +0000
commitc86696a3b184ccaf005bc806257fb124be1e6faa (patch)
tree5eb956d69880b0f0ff961290971ed85409549e81 /bfd/pei-i386.c
parent1285b746d8c2acc3f544c52d7f9f5c0da60c8512 (diff)
downloadgdb-c86696a3b184ccaf005bc806257fb124be1e6faa.zip
gdb-c86696a3b184ccaf005bc806257fb124be1e6faa.tar.gz
gdb-c86696a3b184ccaf005bc806257fb124be1e6faa.tar.bz2
* pei-i386.c (COFF_SECTION_ALIGNMENT_ENTRIES): Enable 16 byte
alignment for .rdata sections so sse[2] code works with gcc >= 3.3.3 constants. * pe-i386.c (COFF_SECTION_ALIGNMENT_ENTRIES): Likewise.
Diffstat (limited to 'bfd/pei-i386.c')
-rw-r--r--bfd/pei-i386.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/pei-i386.c b/bfd/pei-i386.c
index 4a59f14..4b36213 100644
--- a/bfd/pei-i386.c
+++ b/bfd/pei-i386.c
@@ -35,6 +35,8 @@
COFF_ALIGNMENT_FIELD_EMPTY, COFF_ALIGNMENT_FIELD_EMPTY, 4 }, \
{ COFF_SECTION_NAME_EXACT_MATCH (".data"), \
COFF_ALIGNMENT_FIELD_EMPTY, COFF_ALIGNMENT_FIELD_EMPTY, 4 }, \
+{ COFF_SECTION_NAME_EXACT_MATCH (".rdata"), \
+ COFF_ALIGNMENT_FIELD_EMPTY, COFF_ALIGNMENT_FIELD_EMPTY, 4 }, \
{ COFF_SECTION_NAME_EXACT_MATCH (".text"), \
COFF_ALIGNMENT_FIELD_EMPTY, COFF_ALIGNMENT_FIELD_EMPTY, 4 }, \
{ COFF_SECTION_NAME_PARTIAL_MATCH (".idata"), \