Re: [PATCH] powerpc: warning: allocated section `.data_nosave' not in segment

2009-09-29 Thread Segher Boessenkool
We need to align before the output section. Having the align inside the output section causes the linker to put some filler in there, which makes it a non-empty section, but this section isn't assigned to a segment so you get a warning from the linker. Signed-off-by: Sean MacLennan --- diff --gi

[PATCH] powerpc: warning: allocated section `.data_nosave' not in segment

2009-09-29 Thread Sean MacLennan
We need to align before the output section. Having the align inside the output section causes the linker to put some filler in there, which makes it a non-empty section, but this section isn't assigned to a segment so you get a warning from the linker. Signed-off-by: Sean MacLennan --- diff --git