From: Alan Modra <amodra@gmail.com>
To: Jan Beulich <jbeulich@suse.com>
Cc: binutils@sourceware.org
Subject: Re: Don't attempt to compress bss sections
Date: Fri, 23 Sep 2022 16:19:56 +0930 [thread overview]
Message-ID: <Yy1XFGXt2AABf+NR@squeak.grove.modra.org> (raw)
In-Reply-To: <07c50cd3-99d1-5262-b8d9-d70f9b0ae689@suse.com>
On Fri, Sep 23, 2022 at 08:33:05AM +0200, Jan Beulich wrote:
> On 23.09.2022 04:26, Alan Modra via Binutils wrote:
> > It doesn't make sense to try to compress a section without contents
> > since those sections take no space on disk. Compression can only
> > increase the disk image size.
> >
> > * coffgen.c (make_a_section_from_file): Exclude !SEC_HAS_CONTENTS
> > sections from compression and decompression.
> > * elf.c (_bfd_elf_make_section_from_shdr): Likewise.
>
> So I'm curious - are there debugging sections without contents? Or
> is the change more for the sake of documentation?
There are fuzzers that try any mad thing.
--
Alan Modra
Australia Development Lab, IBM
prev parent reply other threads:[~2022-09-23 6:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-23 2:26 Alan Modra
2022-09-23 6:33 ` Jan Beulich
2022-09-23 6:49 ` Alan Modra [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Yy1XFGXt2AABf+NR@squeak.grove.modra.org \
--to=amodra@gmail.com \
--cc=binutils@sourceware.org \
--cc=jbeulich@suse.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).