https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237676

maskray <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #4 from maskray <[email protected]> ---
Use --strip-all if you don't want .symtab
Use --no-rosegment to merge R PT_LOAD and RE PT_LOAD
To discard PT_GNU_STACK and .comment, you have to use a linker script, e.g.

PHDRS { text PT_LOAD; }
SECTIONS { /DISCARD/ : {*(.comment)} .text : {*(.text)} :text }

(objcopy options can be combined, e.g. objcopy -S --remove-section=.comment
porcupine.lld

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "[email protected]"

Reply via email to