]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[S390] incorrect note program header
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 8 Nov 2011 14:17:10 +0000 (15:17 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 8 Nov 2011 14:17:20 +0000 (15:17 +0100)
commit42fce3815639f8b943fc44fe9fdd993096f71898
treebb56dde093e312fd9c8af6c1e9ba30eb5d36852e
parentc0b73ba6d6035bbabab26859c0eaae806cdec155
[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