~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to arch/unicore32/kernel/vmlinux.lds.S

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * linux/arch/unicore32/kernel/vmlinux.lds.S
 
3
 *
 
4
 * Code specific to PKUnity SoC and UniCore ISA
 
5
 *
 
6
 * Copyright (C) 2001-2010 GUAN Xue-tao
 
7
 *
 
8
 * This program is free software; you can redistribute it and/or modify
 
9
 * it under the terms of the GNU General Public License version 2 as
 
10
 * published by the Free Software Foundation.
 
11
 */
 
12
 
 
13
#include <asm-generic/vmlinux.lds.h>
 
14
#include <asm/thread_info.h>
 
15
#include <asm/memory.h>
 
16
#include <asm/page.h>
 
17
#include <asm/cache.h>
 
18
 
 
19
OUTPUT_ARCH(unicore32)
 
20
ENTRY(stext)
 
21
 
 
22
jiffies = jiffies_64;
 
23
 
 
24
SECTIONS
 
25
{
 
26
        . = PAGE_OFFSET + KERNEL_IMAGE_START;
 
27
 
 
28
        _text = .;
 
29
        __init_begin = .;
 
30
        HEAD_TEXT_SECTION
 
31
        INIT_TEXT_SECTION(PAGE_SIZE)
 
32
        INIT_DATA_SECTION(16)
 
33
        PERCPU_SECTION(L1_CACHE_BYTES)
 
34
        __init_end = .;
 
35
 
 
36
        _stext = .;
 
37
        .text : {               /* Real text segment */
 
38
                TEXT_TEXT
 
39
                SCHED_TEXT
 
40
                LOCK_TEXT
 
41
 
 
42
                *(.fixup)
 
43
                *(.gnu.warning)
 
44
        }
 
45
        _etext = .;
 
46
 
 
47
        _sdata = .;
 
48
        RO_DATA_SECTION(PAGE_SIZE)
 
49
        RW_DATA_SECTION(L1_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE)
 
50
        _edata = .;
 
51
 
 
52
        EXCEPTION_TABLE(L1_CACHE_BYTES)
 
53
        NOTES
 
54
 
 
55
        BSS_SECTION(0, 0, 0)
 
56
        _end = .;
 
57
 
 
58
        STABS_DEBUG
 
59
        DWARF_DEBUG
 
60
 
 
61
        DISCARDS                /* Exit code and data */
 
62
}