* config/tc-mips.c (md_pseudo_table): Add 2byte, 4byte and 8byte
authorIan Lance Taylor <ian@airs.com>
Fri, 17 Feb 1995 20:13:41 +0000 (20:13 +0000)
committerIan Lance Taylor <ian@airs.com>
Fri, 17 Feb 1995 20:13:41 +0000 (20:13 +0000)
if OBJ_ELF.  From gary@Intrepid.COM (Gary Funck).

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

index 8479564..3362c5a 100644 (file)
@@ -1,5 +1,8 @@
 Fri Feb 17 14:50:08 1995  Ian Lance Taylor  <ian@cygnus.com>
 
+       * config/tc-mips.c (md_pseudo_table): Add 2byte, 4byte and 8byte
+       if OBJ_ELF.  From gary@Intrepid.COM (Gary Funck).
+
        * config/obj-elf.c (elf_frob_symbol): Warn if a symbol is both
        weak and common.
        * config/obj-aout.c (obj_aout_frob_symbol): Likewise.
index 23bf15e..9c32ee4 100644 (file)
@@ -487,6 +487,11 @@ const pseudo_typeS md_pseudo_table[] =
 #ifdef OBJ_ELF
   /* We need to tweak the ELF ".section" pseudo-op a bit.  */
   {"section", s_elf_section, 0},
+
+  /* Redirect additional ELF data allocation pseudo-ops.  */
+  {"2byte", s_cons, 2},
+  {"4byte", s_cons, 4},
+  {"8byte", s_cons, 8},
 #endif
 
  /* Sentinel.  */