<div dir="ltr"><br><br><div class="gmail_quote">On Fri, Mar 6, 2015 at 8:24 AM Toma Tabacu <<a href="mailto:toma.tabacu@imgtec.com">toma.tabacu@imgtec.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">In <a href="http://reviews.llvm.org/D7530#135005" target="_blank">http://reviews.llvm.org/D7530#<u></u>135005</a>, @echristo wrote:<br>
<br>
> Documentation somewhere for .asciiz? I looked in binutils and couldn't find anything.<br>
><br>
> -eric<br>
<br>
<br>
Unfortunately, it's undocumented. I think it's a remnant from some old MIPS assemblers.<br>
<br></blockquote><div><br></div><div>Ick.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'm actually starting to have doubts about supporting .asciiz in LLVM.<br>
<br>
I've grepped the Linux kernel and I've found only 2 uses of .asciiz, both in MIPS assembly,<br>
while .asciz is used a lot more, in many different architectures, including MIPS (only once, but that means it's not a compatibility issue).<br>
FreeBSD has a few more uses of .asciiz (about 8, all of them in MIPS assembly), but .asciz still outnumbers .asciiz.<br>
<br>
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.<br>
<br></blockquote><div><br></div><div>Might be. Seems likely that it was a typo that just happened to be accepted and so people left it. :)</div><div><br></div><div>-eric</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<a href="http://reviews.llvm.org/D7530" target="_blank">http://reviews.llvm.org/D7530</a><br>
<br>
EMAIL PREFERENCES<br>
  <a href="http://reviews.llvm.org/settings/panel/emailpreferences/" target="_blank">http://reviews.llvm.org/<u></u>settings/panel/<u></u>emailpreferences/</a><br>
<br>
<br>
</blockquote></div></div>