Re: [PATCH] elfcompress: Don't rewrite file if no section data needs to be updated.

2018-07-24 Thread Mark Wielaard
On Mon, Jul 23, 2018 at 06:36:37PM +0200, Igor Gnatenko wrote: > Acked-by: Igor Gnatenko Thanks. Pushed to master.

Re: [PATCH] elfcompress: Don't rewrite file if no section data needs to be updated.

2018-07-24 Thread Mark Wielaard
On Tue, Jul 24, 2018 at 09:57:28AM +0200, Mark Wielaard wrote: > On Mon, Jul 23, 2018 at 06:36:37PM +0200, Igor Gnatenko wrote: > > Acked-by: Igor Gnatenko > > Thanks. Pushed to master. BTW. For those at home just reading the mailinglist and wondering why they only see one part of the converstat

Re: [PATCH] backends: add abi_cfi and register_info callbacks for RISC-V

2018-07-24 Thread Andreas Schwab
How about this, does it look reasonable? It doesn't handle SET6/SUB6 yet, and eu-readelf -wframe doesn't agree with readelf -wf, so this is only a RFC. Andreas. diff --git a/backends/riscv_symbol.c b/backends/riscv_symbol.c index dce8e3586b..866be8f093 100644 --- a/backends/riscv_symbol.c +++ b/

[PATCH] unstrip: Also check sh_size in compare_unalloc_sections.

2018-07-24 Thread Mark Wielaard
compare_unalloc_sections only checked sh_flags and the section names. This would cause stripped/debug section mismatches when there were multiple sections with the same name and flags. Fix this by also checking the size of the section matches. Add a testcase that has two ".group" sections created