]> git.baikalelectronics.ru Git - kernel.git/commit
[S390] incorrect note program header
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 14 Nov 2011 10:19:02 +0000 (11:19 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 14 Nov 2011 10:19:08 +0000 (11:19 +0100)
commit6a1bd192ed21b2271bc8370b73e0268006c67791
tree99a87c79d3fed314fc08c86afa06ad66176a791f
parentd8d3b5e1885d80af2a1a2d93f6ed97d3220c9c07
[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