]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[S390] incorrect note program header
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 11 Nov 2011 16:18:49 +0000 (17:18 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 11 Nov 2011 16:19:00 +0000 (17:19 +0100)
commitc24b69ae35c1a8dda176359fca585af7bec21dc3
tree95e4ccfc247c86620d68989e20c6ad8ccff98b1d
parent7524694465de75a651105259426d9af2c9526224
[S390] incorrect note program header

'readelf -n' on the s390 vmlinux file generates lots of warnings about
corrupt notes. The reason is that the 'NOTE' program header has incorrect
file and memory sizes. The problem is that the section following the
NOTES section do not switch to a different phdr and they get added to
the NOTE program section. Add a dummy entry to the linker script that
switches to the data phdr before the start of the RODATA section.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/vmlinux.lds.S