aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Wilson <wilson@tuliptree.org>2001-07-05 03:34:42 +0000
committerJim Wilson <wilson@tuliptree.org>2001-07-05 03:34:42 +0000
commit87885043df059284e5ea68460e9eb5d6931982c5 (patch)
tree584022b33fbdda0d9505f5a3d264d088f44da55c
parent3e37788f8d4f5cfa856054a2c7aabacdc1dc0bd1 (diff)
downloadgdb-87885043df059284e5ea68460e9eb5d6931982c5.zip
gdb-87885043df059284e5ea68460e9eb5d6931982c5.tar.gz
gdb-87885043df059284e5ea68460e9eb5d6931982c5.tar.bz2
Fix ia64-linux gas ehopt testsuite failure.
* config/tc-ia64.c (md_pseudo_table): Add 2byte, 4byte, and 8byte.
-rw-r--r--gas/ChangeLog2
-rw-r--r--gas/config/tc-ia64.c9
2 files changed, 11 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 9464ac7..d90fafd 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,7 @@
2001-07-04 Jim Wilson <wilson@redhat.com>
+ * config/tc-ia64.c (md_pseudo_table): Add 2byte, 4byte, and 8byte.
+
* config/tc-ia64.c (is_conditional_branch): Rewrite to exclude mod
sched branches.
diff --git a/gas/config/tc-ia64.c b/gas/config/tc-ia64.c
index 5ba8157..a3a9872 100644
--- a/gas/config/tc-ia64.c
+++ b/gas/config/tc-ia64.c
@@ -4701,6 +4701,15 @@ const pseudo_typeS md_pseudo_table[] =
{ "explicit", dot_dv_mode, 'e' },
{ "default", dot_dv_mode, 'd' },
+ /* ??? These are needed to make gas/testsuite/gas/elf/ehopt.s work.
+ IA-64 aligns data allocation pseudo-ops by default, so we have to
+ tell it that these ones are supposed to be unaligned. Long term,
+ should rewrite so that only IA-64 specific data allocation pseudo-ops
+ are aligned by default. */
+ {"2byte", stmt_cons_ua, 2},
+ {"4byte", stmt_cons_ua, 4},
+ {"8byte", stmt_cons_ua, 8},
+
{ NULL, 0, 0 }
};