[HOW] binutils-2.17 breaks the 2.6.26 kernel

Segher Boessenkool segher at kernel.crashing.org
Thu Jul 17 09:41:16 EST 2008


> . = ALIGN(0x1000)   /* this align directive aparently gets lost
>                        when stripping the file */
>
> .rodata: AT (.rodata - LOAD_OFFSET): {
>   ...
> }
>
> the effects of that align were dropped during strip, shifting all
> following sections up in memory and the resulting failure.

The ELF headers show the .rodata section to have 256 byte alignment
only, but after the "bad" strip it isn't even aligned to that
anymore (file offset).  Curious.

I still can't reproduce this, but getting the bad binary now (it's
huge, heh).  We'll see.


Segher




More information about the Linuxppc-dev mailing list