On Sun, 14 Feb 2021 15:23:05 +0100, Sebastien Marie <sema...@online.fr>
wrote:

> Hi,
> 
> The following diff makes rdsetroot -x (extract the disk.fs image) to
> work again for stripped bsd.rd.
>
> It passes options to keep rd_root_size and rd_root_image symbols while
> stripping. These symbols are the ones used by rdsetroot to insert or
> extract disk image into RAMDISK.
> 
> If it matter, on my i386 test, the bsd.rd size grows to 284 bytes
> before gzip and 113 bytes after gzip.
> 
> While here, uniformize a bit the sections removed (.comment section
> wasn't removed on some archs while stripping).
> 
> Comments or OK ?

In the alpha diff, I would put the "-R .eh_frame -R .shstrtab \" line
before the -K line so the -R things are grouped together.

Anyway, ok danj@

Cheers,
Daniel

Reply via email to