* config/tc-mips.c (md_pseudo_table): Add 2byte, 4byte and 8byte

if OBJ_ELF.  From gary@Intrepid.COM (Gary Funck).
This commit is contained in:
Ian Lance Taylor 1995-02-17 20:13:41 +00:00
parent 7a3761e194
commit 61420a2049
2 changed files with 8 additions and 0 deletions

View 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.

View 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. */