[Bug 114] Add support for the GCC 'naked' attribute

gdc-bugzilla at gdcproject.org gdc-bugzilla at gdcproject.org
Sun Apr 6 05:20:59 PDT 2014


http://bugzilla.gdcproject.org/show_bug.cgi?id=114

Johannes Pfau <johannespfau at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #64 is|0                           |1
           obsolete|                            |

--- Comment #6 from Johannes Pfau <johannespfau at gmail.com> ---
Created attachment 65
  --> http://bugzilla.gdcproject.org/attachment.cgi?id=65&action=edit
Patch to add @attribute("naked")

Updated patch. Naked is a 'target attribute' and needs to be handled in a
special way. This should work now, @Iain can you review this?

(AFAICS we can't access the list of available target attributes, so
@attribute("naked") will always compile but you'll get a warning from the
backend if naked is not supported on this architecture)

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/d.gnu/attachments/20140406/75f4d5ee/attachment.html>


More information about the D.gnu mailing list