https://sourceware.org/bugzilla/show_bug.cgi?id=27226
Bug ID: 27226 Summary: ld.bfd contains huge .rodata section Product: binutils Version: 2.35.1 Status: UNCONFIRMED Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: mliska at suse dot cz Target Milestone: --- Looking at the size of ld.bfd binary I see: $ bloaty /usr/bin/ld.bfd FILE SIZE VM SIZE -------------- -------------- 89.5% 7.78Mi 89.5% 7.78Mi .rodata 7.0% 623Ki 7.0% 623Ki .text 1.2% 103Ki 1.2% 103Ki .rela.dyn Where the .rodata section is full of linker scripts: $ strings /usr/bin/ld.bfd | grep 'this script' | wc -l 927 So there are almost 1000 linker scripts. Would it be possible to save the scripts in a more compressed form? $ du -hs ld.bfd 8.7M ld.bfd $ xz ld.bfd $ du -hs ld.bfd.xz 316K ld.bfd.xz So one can easily compress the binary size 30x. -- You are receiving this mail because: You are on the CC list for the bug.