Path: blob/master/arch/unicore32/kernel/vmlinux.lds.S
10817 views
/*1* linux/arch/unicore32/kernel/vmlinux.lds.S2*3* Code specific to PKUnity SoC and UniCore ISA4*5* Copyright (C) 2001-2010 GUAN Xue-tao6*7* This program is free software; you can redistribute it and/or modify8* it under the terms of the GNU General Public License version 2 as9* published by the Free Software Foundation.10*/1112#include <asm-generic/vmlinux.lds.h>13#include <asm/thread_info.h>14#include <asm/memory.h>15#include <asm/page.h>16#include <asm/cache.h>1718OUTPUT_ARCH(unicore32)19ENTRY(stext)2021jiffies = jiffies_64;2223SECTIONS24{25. = PAGE_OFFSET + KERNEL_IMAGE_START;2627_text = .;28__init_begin = .;29HEAD_TEXT_SECTION30INIT_TEXT_SECTION(PAGE_SIZE)31INIT_DATA_SECTION(16)32PERCPU_SECTION(L1_CACHE_BYTES)33__init_end = .;3435_stext = .;36.text : { /* Real text segment */37TEXT_TEXT38SCHED_TEXT39LOCK_TEXT4041*(.fixup)42*(.gnu.warning)43}44_etext = .;4546_sdata = .;47RO_DATA_SECTION(PAGE_SIZE)48RW_DATA_SECTION(L1_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE)49_edata = .;5051EXCEPTION_TABLE(L1_CACHE_BYTES)52NOTES5354BSS_SECTION(0, 0, 0)55_end = .;5657STABS_DEBUG58DWARF_DEBUG5960DISCARDS /* Exit code and data */61}626364