s390/decompressor: discard ___kcrctab section
authorVasily Gorbik <gor@linux.ibm.com>
Wed, 27 Jun 2018 12:46:57 +0000 (14:46 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 2 Jul 2018 09:24:56 +0000 (11:24 +0200)
___kcrctab section is not used during the decompressor phase and could be
discarded to save the memory. It is currently generated due to lib/mem.S
usage, which exports few symbols.

Acked-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/boot/compressed/vmlinux.lds.S

index b8572a81be5f3ba7ae51042e65add51f50e704df..93ab95cf16fb328c285b251734525e52ebf1e24b 100644 (file)
@@ -58,5 +58,6 @@ SECTIONS
                *(.eh_frame)
                *(__ex_table)
                *(*__ksymtab*)
+               *(___kcrctab*)
        }
 }