diff options
author | Nick Clifton <nickc@redhat.com> | 2007-10-04 17:05:37 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2007-10-04 17:05:37 +0000 |
commit | 38a57ae7a5cafb2eeca853494a6c2aa994efc956 (patch) | |
tree | cfb9b9ac767db4859052e315d77269ec398da808 /gas/config/tc-mcore.c | |
parent | 45d42143d489a6b7ee78fd118b573906c43ecb0b (diff) | |
download | gdb-38a57ae7a5cafb2eeca853494a6c2aa994efc956.zip gdb-38a57ae7a5cafb2eeca853494a6c2aa994efc956.tar.gz gdb-38a57ae7a5cafb2eeca853494a6c2aa994efc956.tar.bz2 |
* read.c (potable): Add string8, string16, string32 and string64. Add bit size for stringer function.
(stringer_append_char): New.
(stringer): Use stringer_append_char().
* config/obj-coff.c (obj_coff_ident): Add bit size for stringer function.
* config/obj-elf.c (obj_elf_ident): Likewise.
* config/tc-alpha.c (s_alpha_stringer): Likewise.
* config/tc-dlx.c (dlx_pseudo_table): Likewise.
* config/tc-hppa.c (pa_stringer): Likewise.
* config/tc-ia64.c (md_pseudo_table, pseudo_opcode): Likewise.
* config/tc-m68hc11.c (md_pseudo_table): Likewise.
* config/tc-mcore.c (md_pseudo_table): Likewise.
* config/tc-mips.c (mips_pseudo_table): Likewise.
* config/tc-spu.c (md_pseudo_table): Likewise.
* config/tc-s390.c (md_pseudo_table): Likewise. Replace '2' by '1'.
* doc/as.texinfo (ABORT): Fix identing.
(String): Document new string8, string16, string32, string64 functions.
* NEWS: Mention the new feature.
* testsuite/gas/all/gas.exp: Include new test "strings".
* testsuite/gas/all/string.s: New
* testsuite/gas/all/string.d: New.
Diffstat (limited to 'gas/config/tc-mcore.c')
-rw-r--r-- | gas/config/tc-mcore.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gas/config/tc-mcore.c b/gas/config/tc-mcore.c index fa7c911..0604ad9 100644 --- a/gas/config/tc-mcore.c +++ b/gas/config/tc-mcore.c @@ -411,8 +411,8 @@ const pseudo_typeS md_pseudo_table[] = occupy can be taken into account when deciding whether or not to dump the current literal pool. XXX - currently we do not cope with the .space and .dcb.d directives. */ - { "ascii", mcore_stringer, 0 }, - { "asciz", mcore_stringer, 1 }, + { "ascii", mcore_stringer, 8 + 0 }, + { "asciz", mcore_stringer, 8 + 1 }, { "byte", mcore_cons, 1 }, { "dc", mcore_cons, 2 }, { "dc.b", mcore_cons, 1 }, @@ -430,7 +430,7 @@ const pseudo_typeS md_pseudo_table[] = { "quad", mcore_cons, 8 }, { "short", mcore_cons, 2 }, { "single", mcore_float_cons, 'f'}, - { "string", mcore_stringer, 1 }, + { "string", mcore_stringer, 8 + 1 }, { "word", mcore_cons, 2 }, { "fill", mcore_fill, 0 }, |