On Sat, 2025-05-17 at 10:55 -0600, Jeff Law wrote:
> 
> On 5/10/25 11:12 AM, Quentin Boswank wrote:
> >  From 6462f1e6a2565c5d4756036d9bc2f39dce9bd768 Mon Sep 17 00:00:00 2001
> > From: QBos07 <qu...@outlook.de>
> > Date: Sat, 10 May 2025 16:56:28 +0000
> > Subject: [PATCH] libgcc SH: fix alignment for relaxation
> > 
> > when relaxation is enabled we can not infer the alignment
> > from the position as that may change. This should not change
> > non-relaxed builds as its allready aligned there. This was
> > the missing piece to building an entire toolchain with -mrelax
> > 
> > Credit goes to Oleg Endo: https://sourceware.org/bugzilla/show_bug.cgi? 
> > id=3298#c4
> Given this is Oleg's work and his long history with the GCC project, 

> I've committed this without deep analysis.  Just fixed up some 
> whitespace issues along the way.
> 

Thanks, Jeff!  I was going to pick this up and commit it these days.  I will
try to respond to this kind of thing earlier in the future.

I haven't done any excessive testing on those changes, but it looks trivial.
Worst thing that can happen is libgcc gains a few bytes in size.


Thanks, Quentin for digging in the SH relaxation issues!

Best regards,
Oleg Endo

Reply via email to