]> git.baikalelectronics.ru Git - kernel.git/commit
Eliminate the .eh_frame sections from the aarch64 vmlinux and kernel modules
authorWilliam Cohen <wcohen@redhat.com>
Fri, 22 Jan 2016 03:56:26 +0000 (22:56 -0500)
committerWill Deacon <will.deacon@arm.com>
Tue, 26 Jan 2016 11:14:13 +0000 (11:14 +0000)
commit82d0a8383f42cb765eea917af093d900057cdca1
treed47976f44645369f0d2d93ddf0b9349a5c7b1a12
parent04817a13d6c0435278d680b0945f0d77b13bc7f2
Eliminate the .eh_frame sections from the aarch64 vmlinux and kernel modules

By default the aarch64 gcc generates .eh_frame sections.  Unlike
.debug_frame sections, the .eh_frame sections are loaded into memory
when the associated code is loaded.  On an example kernel being built
with this default the .eh_frame section in vmlinux used an extra 1.7MB
of memory.  The x86 disables the creation of the .eh_frame section.
The aarch64 should probably do the same to save some memory.

Signed-off-by: William Cohen <wcohen@redhat.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/Makefile