public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* How to GC unused eh_frame ?
       [not found] <6cd35b89-8324-4cd3-97bf-919f7af29d13@Spark>
@ 2022-06-06 11:44 ` Jojo R
  0 siblings, 0 replies; only message in thread
From: Jojo R @ 2022-06-06 11:44 UTC (permalink / raw)
  To: binutils

Hi guys,


	I compiled C++ source codes with compiler’s option as '-ffunction-sections -fdata-sections -Wl,--gc-sections’,
	and I found that some unused code size of ‘eh_frame’s which are come from unused functions are linked together into output elf file :(

	I want to know whether Binutils has a nice way or configure to tell AS to split monolithic ‘eh_frame’ to <function>.eh_frame like ‘.text.<function>’ ?
	and then the unused <function>.eh_frames will been GCed :)

	Any suggestions ?

Regards,

— Jojo

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-06-06 11:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <6cd35b89-8324-4cd3-97bf-919f7af29d13@Spark>
2022-06-06 11:44 ` How to GC unused eh_frame ? Jojo R

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).