diff options
Diffstat (limited to 'kernel/arch/powerpc/kernel/vmlinux.lds.S')
-rw-r--r-- | kernel/arch/powerpc/kernel/vmlinux.lds.S | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/arch/powerpc/kernel/vmlinux.lds.S b/kernel/arch/powerpc/kernel/vmlinux.lds.S index 1db685104..d41fd0af8 100644 --- a/kernel/arch/powerpc/kernel/vmlinux.lds.S +++ b/kernel/arch/powerpc/kernel/vmlinux.lds.S @@ -183,6 +183,12 @@ SECTIONS *(.rela*) } #endif + /* .exit.data is discarded at runtime, not link time, + * to deal with references from .exit.text + */ + .exit.data : AT(ADDR(.exit.data) - LOAD_OFFSET) { + EXIT_DATA + } /* freed after init ends here */ . = ALIGN(PAGE_SIZE); |