Browse Source
(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.insight_6_8-branch
19 changed files with 160 additions and 41 deletions
@ -0,0 +1,12 @@ |
|||
#objdump : -s -j .data -j "\$DATA\$" |
|||
#name : .strings tests |
|||
|
|||
.*: .* |
|||
|
|||
Contents of section (\.data|\$DATA\$): |
|||
0000 73747238 00000000 00000000 00000000 str8.* |
|||
0010 7374726e 65773800 00000000 00000000 strnew8.* |
|||
0020 (73007400 72003100 36000000 00000000|00730074 00720031 00360000 00000000).* |
|||
0030 (33000000 32000000 00000000 00000000|00000033 00000032 00000000 00000000).* |
|||
0040 (36000000 00000000 34000000 00000000|00000000 00000036 00000000 00000034).* |
|||
#pass |
|||
@ -0,0 +1,14 @@ |
|||
.data |
|||
.string "str8" |
|||
|
|||
.balign 16 |
|||
.string8 "strnew8" |
|||
|
|||
.balign 16 |
|||
.string16 "str16" |
|||
|
|||
.balign 16 |
|||
.string32 "32" |
|||
|
|||
.balign 16 |
|||
.string64 "64" |
|||
Loading…
Reference in new issue