Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/usr.bin/crunch/crunchgen



On Tue, Feb 12, 2019 at 10:16:58AM +0000, matthew green wrote:
> Module Name:	src
> Committed By:	mrg
> Date:		Tue Feb 12 10:16:58 UTC 2019
> 
> Modified Files:
> 	src/usr.bin/crunch/crunchgen: crunchgen.c
> 
> Log Message:
> hack alert time:
> 
> on sparc and sparc64, don't remove .eh_frame section.  it leads
> to failure as something is referenced, and objcopy ends up
> emitting a broken binary that can't be run -- it attempts to
> load at va=0, beyond having missing referenced data.
> 
> also, on sparc64 also don't remove .note.netbsd.mcmodel.
> 
> the former should be revised when we can avoid it.

The real bug is the reverted varasm.c change. GCC creates the .eh_frame
section with the wrong permissions.

Joerg


Home | Main Index | Thread Index | Old Index