Re: [PATCH] x86/unwind/orc: Fix ORC unwind table alignment

2019-03-06 Thread Josh Poimboeuf
On Wed, Mar 06, 2019 at 10:44:01AM -0800, Nick Desaulniers wrote: > On Wed, Mar 6, 2019 at 9:08 AM Josh Poimboeuf wrote: > > > > The .orc_unwind section is a packed array of 6-byte structs. It's > > currently aligned to 6 bytes, which is causing warnings in the LLD > > linker. > > > > Six isn't a

Re: [PATCH] x86/unwind/orc: Fix ORC unwind table alignment

2019-03-06 Thread Nick Desaulniers
On Wed, Mar 6, 2019 at 9:08 AM Josh Poimboeuf wrote: > > The .orc_unwind section is a packed array of 6-byte structs. It's > currently aligned to 6 bytes, which is causing warnings in the LLD > linker. > > Six isn't a power of two, so it's not a valid alignment value. The > actual alignment does

[PATCH] x86/unwind/orc: Fix ORC unwind table alignment

2019-03-06 Thread Josh Poimboeuf
The .orc_unwind section is a packed array of 6-byte structs. It's currently aligned to 6 bytes, which is causing warnings in the LLD linker. Six isn't a power of two, so it's not a valid alignment value. The actual alignment doesn't matter much because it's an array of packed structs. An alignm