Date: Sat, 18 May 2019 15:42:10 +0000 From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 237676] LLD Filesize and default option suggestions Message-ID: <bug-237676-29464-xHcDyoJIRl@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-237676-29464@https.bugs.freebsd.org/bugzilla/> References: <bug-237676-29464@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237676 maskray <emacsray@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |emacsray@gmail.com --- Comment #4 from maskray <emacsray@gmail.com> --- 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=3D.comme= nt porcupine.lld --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-237676-29464-xHcDyoJIRl>