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 b8572a8..93ab95c 100644 (file)
@@ -58,5 +58,6 @@ SECTIONS
                *(.eh_frame)
                *(__ex_table)
                *(*__ksymtab*)
+               *(___kcrctab*)
        }
 }