diff options
author | Ian Lance Taylor <ian@airs.com> | 1995-02-17 20:13:41 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1995-02-17 20:13:41 +0000 |
commit | 61420a2049c8a044d28578a6fd786461ebcda829 (patch) | |
tree | 3c8f7066fb8b2d6a26f9260d378c6e0a2733b111 | |
parent | 7a3761e194e8fcd83c4b0c741b021241ff6f4227 (diff) | |
download | gdb-61420a2049c8a044d28578a6fd786461ebcda829.zip gdb-61420a2049c8a044d28578a6fd786461ebcda829.tar.gz gdb-61420a2049c8a044d28578a6fd786461ebcda829.tar.bz2 |
* config/tc-mips.c (md_pseudo_table): Add 2byte, 4byte and 8byte
if OBJ_ELF. From gary@Intrepid.COM (Gary Funck).
-rw-r--r-- | gas/ChangeLog | 3 | ||||
-rw-r--r-- | gas/config/tc-mips.c | 5 |
2 files changed, 8 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 8479564..3362c5a 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -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. diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c index 23bf15e..9c32ee4 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. */ |