[Nasm-bugs] [Bug 3392367] Mach-O Executables do not dead strip.

no-reply at bugzilla-nasm.gorcunov.org no-reply at bugzilla-nasm.gorcunov.org
Tue Mar 7 16:32:22 PST 2017


https://bugzilla.nasm.us/show_bug.cgi?id=3392367

--- Comment #1 from H. Peter Anvin <hpa at zytor.com> ---
Hi,

I am currently looking at this, and I also see a directive called
.no_dead_strip; I'm guessing you need that as well?  If so, do you happen to
have any pointers to how it is implemented?

Also, I'm thinking of implementing this as a %pragma, specifically:

%pragma macho subsections_via_symbols
%pragma macho no_dead_strip symbols...

However, if you would prefer a proper directive, which would error out on
non-MachO platforms and on older versions of NASM, I can do that too; please
let me know as soon as possible.

(Note that unlike cpp, NASM allows preprocessor directives inside (multi-line)
macros, so it does not prevent you from defining these as macros if you would
so prefer, syntactically.)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.


More information about the Nasm-bugs mailing list