https://sourceware.org/bugzilla/show_bug.cgi?id=27226

--- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Martin Liska from comment #4)
> (In reply to H.J. Lu from comment #3)
> > Created attachment 13152 [details]
> > A POC
> > 
> > On Linux/x86-64
> > 
> >    text        data     bss     dec     hex filename
> > 2606362        8376    6072 2620810  27fd8a ld.orig
> > 1901779        8296    6072 1916147  1d3cf3 ld.compressed
> > 
> > Use zstd may use less space.
> 
> Thank you for the work H.J. I can see the approach helps a bit, but we would
> get a better compression ratio if all linker scripts are compressed at once.


That will require non-trivial changes in ld.

> Btw. why are the scripts embedded in ld.bfd? Can't be they distributed as a
> list of configuration files?

You can just copy ld to another machine.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to