From: Ian Lance Taylor Date: Fri, 17 Feb 1995 20:13:41 +0000 (+0000) Subject: * config/tc-mips.c (md_pseudo_table): Add 2byte, 4byte and 8byte X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=61420a2049c8a044d28578a6fd786461ebcda829;p=binutils-gdb.git * config/tc-mips.c (md_pseudo_table): Add 2byte, 4byte and 8byte if OBJ_ELF. From gary@Intrepid.COM (Gary Funck). --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 84795649fac..3362c5a7c62 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,8 @@ Fri Feb 17 14:50:08 1995 Ian Lance Taylor + * 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. diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c index 23bf15ef941..9c32ee48a33 100644 --- a/gas/config/tc-mips.c +++ b/gas/config/tc-mips.c @@ -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. */