In short, I'd like to append prefix '_' to globals but not global externals? Is this possible using AsmInfo?<br><br><div class="gmail_quote">On Wed, Feb 27, 2013 at 12:37 PM, Ryan Taylor <span dir="ltr"><<a href="mailto:ryta1203@gmail.com" target="_blank">ryta1203@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">So GlobalPrefix is set to "_", which is fine but I want to exclude external library calls from that (I don't want the prefix on library routines), for example, something like __subsf3. What's the best way to do this?<div class="HOEnZb">
<div class="h5"><br>
<br><div class="gmail_quote">On Wed, Feb 27, 2013 at 11:05 AM, Ryan Taylor <span dir="ltr"><<a href="mailto:ryta1203@gmail.com" target="_blank">ryta1203@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

I'd like to set all Global Symbols to be prefixed with '_' ; however, when I set GlobalPrefix in TargetMCAsmInfo.cpp, this also applies to library calls (adds extra underscore which makes 3 so linkage failure), which I don't want.<div>


<br></div><div>Thanks.</div>
</blockquote></div><br>
</div></div></blockquote></div><br>