[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 17:30:23 PST 2017


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

Andrew Fish <afish at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |afish at apple.com

--- Comment #2 from Andrew Fish <afish at apple.com> ---
For gas we implemented .subsections_via_symbols as a CPP macro and defined it
per toolchain. Our goal is to share the same edk2 nasm file for VC++, GCC,
clang, and macOS Xcode builds. We run the C pre-processor and a trim tool on
the .nasm file prior to invoking nasm, so anything we can put in a CPP macro
will work. I'd like it to error out on unsupported versions and platforms. We
can configure the feature via CPP macro. 

We don't require .no_dead_strip as you can just follow the naming rules for
.subsections_via_symbols and it is not required. I can track down how it works
if you would like to add it?

-- 
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