aboutsummaryrefslogtreecommitdiff
path: root/bfd/pei-i386.c
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2006-09-29 03:33:56 +0000
committerDanny Smith <dannysmith@users.sourceforge.net>2006-09-29 03:33:56 +0000
commit14952a5bc97692b6b560d23ff8b657c4279d1688 (patch)
treebe578ea2db765d815f2e82c01302c6a93c6c79cb /bfd/pei-i386.c
parent3ca4d560ef5ba6cd8585dc5214df2f53feab2eed (diff)
downloadgdb-14952a5bc97692b6b560d23ff8b657c4279d1688.zip
gdb-14952a5bc97692b6b560d23ff8b657c4279d1688.tar.gz
gdb-14952a5bc97692b6b560d23ff8b657c4279d1688.tar.bz2
PR 3276
* pei-i386.c (COFF_SECTION_ALIGNMENT_ENTRIES): Enable 16 byte alignment for .data$, .rdata$ and .text$ sections so that sse and sse2 code will work for linkonce sections too. * pe-i386.c (COFF_SECTION_ALIGNMENT_ENTRIES): Likewise.
Diffstat (limited to 'bfd/pei-i386.c')
-rw-r--r--bfd/pei-i386.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/bfd/pei-i386.c b/bfd/pei-i386.c
index 38e36f3..b633784 100644
--- a/bfd/pei-i386.c
+++ b/bfd/pei-i386.c
@@ -35,10 +35,16 @@
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_PARTIAL_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_PARTIAL_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 (".text$"), \
+ COFF_ALIGNMENT_FIELD_EMPTY, COFF_ALIGNMENT_FIELD_EMPTY, 4 }, \
{ COFF_SECTION_NAME_PARTIAL_MATCH (".idata"), \
COFF_ALIGNMENT_FIELD_EMPTY, COFF_ALIGNMENT_FIELD_EMPTY, 2 }, \
{ COFF_SECTION_NAME_EXACT_MATCH (".pdata"), \