Fix ia64-linux gas ehopt testsuite failure.
authorJim Wilson <wilson@tuliptree.org>
Thu, 5 Jul 2001 03:34:42 +0000 (03:34 +0000)
committerJim Wilson <wilson@tuliptree.org>
Thu, 5 Jul 2001 03:34:42 +0000 (03:34 +0000)
* config/tc-ia64.c (md_pseudo_table): Add 2byte, 4byte, and 8byte.

gas/ChangeLog
gas/config/tc-ia64.c

index 9464ac7..d90fafd 100644 (file)
@@ -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.
 
index 5ba8157..a3a9872 100644 (file)
@@ -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 }
   };