aboutsummaryrefslogtreecommitdiff
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
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.
-rw-r--r--bfd/ChangeLog7
-rw-r--r--bfd/pe-i386.c2
-rw-r--r--bfd/pei-i386.c2
3 files changed, 11 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 5623154..a5983ea 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,10 @@
+2004-09-22 Brian Ford <ford@vss.fsi.com>
+
+ * 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.
+
2004-09-22 Alan Modra <amodra@bigpond.net.au>
* elf32-ppc.c (ppc_elf_modify_segment_map): Delete.
diff --git a/bfd/pe-i386.c b/bfd/pe-i386.c
index be691fd..d78970d 100644
--- a/bfd/pe-i386.c
+++ b/bfd/pe-i386.c
@@ -34,6 +34,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"), \
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"), \