RE: [PATCH] MIPS: Ensure that lo_sums do not contain an unaligned symbol

2016-05-13 Thread Andrew Bennett
> -Original Message- > From: Matthew Fortune > Sent: 05 May 2016 10:44 > To: Andrew Bennett; gcc-patches@gcc.gnu.org > Subject: RE: [PATCH] MIPS: Ensure that lo_sums do not contain an unaligned > symbol > > Hi Andrew, > > Thanks for working on this it is a pai

RE: [PATCH] MIPS: Ensure that lo_sums do not contain an unaligned symbol

2016-05-05 Thread Matthew Fortune
Hi Andrew, Thanks for working on this it is a painful area. There's a bit more to do but this is cleaning up some sneaky bugs. Can you create a GCC bugzilla entry if you haven't already as we should record where these bugs exist and when they are fixed? See my comments but I think that you are

[PATCH] MIPS: Ensure that lo_sums do not contain an unaligned symbol

2016-05-04 Thread Andrew Bennett
Hi, In MIPS (and similarly for other RISC architectures) to load an absolute address of an object requires a two instruction sequence: one instruction to load the high part of the object's address, and one instruction to load the low part of the object's address. Typically the result from the