]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: discard .exit.data at runtime
authorStephen Rothwell <sfr@canb.auug.org.au>
Wed, 7 Oct 2015 23:28:28 +0000 (10:28 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 15 Oct 2015 09:31:59 +0000 (20:31 +1100)
commit96bd7c57b432a72ad5ad750be79644304dbc4498
tree13b9add5f32f649b32f518d7c36449e5d3f85131
parent77c2a2c6dc07c29d67ccc550d15c124db5e1db15
powerpc: discard .exit.data at runtime

.exit.text is discarded at run time and there are some references from
that to .exit.data, so we need to discard .exit.data at run time as well.

Fixes these errors:

`.exit.data' referenced in section `.exit.text' of drivers/built-in.o: defined in discarded section `.exit.data' of drivers/built-in.o
`.exit.data' referenced in section `.exit.text' of drivers/built-in.o: defined in discarded section `.exit.data' of drivers/built-in.o

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/vmlinux.lds.S