Add a private extension that adds the N_PEXT bit
Reported by Peter Johnson | June 25th, 2011 @ 07:52 PM | in 1.2.0 (closed)
Originally posted on Trac by hbono@chromium.org
Original
Trac Ticket
Description
Greetings,
The Mach-O file format has the N_PEXT bit to limit the global scope as written in 'Mac OS X ABI Mach-O File Format Reference'. It is definitely useful for yasm to have a private extension (such as 'private_extern') that adds the bit as listed in the following example.
GLOBAL function:private_extern
...
Regards and thank you for your awesome assembler,
Hironori Bono
h3. Trac Attachments
http://www.tortall.net:80//projects/yasm/attachment/ticket/236/yasm...
http://www.tortall.net:80//projects/yasm/raw-attachment/ticket/236/...
http://www.tortall.net:80//projects/yasm/timeline?from=2011-01-31T2...
h3. Trac Comments
Changed 5 months ago by hbono@chromium.org
A sample implementation
Changed 5 months ago by hbono@chromium.org
attachment
yasm.diff
added
A sample implementation
attachment
yasm.diff
added
Comments and changes to this ticket
-

Peter Johnson August 27th, 2011 @ 05:03 PM
- → State changed from new to open
- → Assigned user set to Peter Johnson
- → Milestone set to 1.2.0
-

Peter Johnson August 27th, 2011 @ 05:03 PM
- → State changed from open to resolved
(from [7d58243134087b1617bbc16c7dddb58a79fd707b]) macho: Support N_PEXT bit.
Can be enabled via use of "private_extern" in NASM syntax.
Patch by: Hironori Bono
[#215 state:resolved] https://github.com/yasm/yasm/commit/7d58243134087b1617bbc16c7dddb58...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
The Yasm Modular Assembler Project