[PATCH] [mips] [IAS] Implement the .asciiz directive.
echristo at gmail.com
Fri Mar 6 10:22:01 PST 2015
On Fri, Mar 6, 2015 at 8:24 AM Toma Tabacu <toma.tabacu at imgtec.com> wrote:
> In http://reviews.llvm.org/D7530#135005, @echristo wrote:
> > Documentation somewhere for .asciiz? I looked in binutils and couldn't
> find anything.
> > -eric
> Unfortunately, it's undocumented. I think it's a remnant from some old
> MIPS assemblers.
> I'm actually starting to have doubts about supporting .asciiz in LLVM.
> I've grepped the Linux kernel and I've found only 2 uses of .asciiz, both
> in MIPS assembly,
> while .asciz is used a lot more, in many different architectures,
> including MIPS (only once, but that means it's not a compatibility issue).
> FreeBSD has a few more uses of .asciiz (about 8, all of them in MIPS
> assembly), but .asciz still outnumbers .asciiz.
> It might be worth it to try to push Linux and FreeBSD to switch to .asciz
> for MIPS assembly, but, on the other hand, .asciiz is not difficult to
> support, just a bit ugly.
Might be. Seems likely that it was a typo that just happened to be accepted
and so people left it. :)
> EMAIL PREFERENCES
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-commits