~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/microblaze/kernel/vmlinux.lds.S

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /arch/microblaze/kernel/vmlinux.lds.S (Architecture ppc) and /arch/alpha/kernel/vmlinux.lds.S (Architecture alpha)


  1 /*                                             !!   1 /* SPDX-License-Identifier: GPL-2.0 */
  2  * Copyright (C) 2008-2009 Michal Simek <monstr << 
  3  * Copyright (C) 2008-2009 PetaLogix           << 
  4  * Copyright (C) 2006 Atmark Techno, Inc.      << 
  5  *                                             << 
  6  * This file is subject to the terms and condi << 
  7  * License. See the file "COPYING" in the main << 
  8  * for more details.                           << 
  9  */                                            << 
 10                                                << 
 11 OUTPUT_ARCH(microblaze)                        << 
 12 ENTRY(microblaze_start)                        << 
 13                                                     2 
                                                   >>   3 #define EMITS_PT_NOTE
 14 #define RO_EXCEPTION_TABLE_ALIGN        16          4 #define RO_EXCEPTION_TABLE_ALIGN        16
 15                                                     5 
 16 #include <asm/cache.h>                         << 
 17 #include <asm/page.h>                          << 
 18 #include <asm-generic/vmlinux.lds.h>                6 #include <asm-generic/vmlinux.lds.h>
 19 #include <asm/thread_info.h>                        7 #include <asm/thread_info.h>
                                                   >>   8 #include <asm/cache.h>
                                                   >>   9 #include <asm/page.h>
                                                   >>  10 #include <asm/setup.h>
 20                                                    11 
 21 #ifdef __MICROBLAZEEL__                        !!  12 OUTPUT_FORMAT("elf64-alpha")
                                                   >>  13 OUTPUT_ARCH(alpha)
                                                   >>  14 ENTRY(__start)
                                                   >>  15 PHDRS { text PT_LOAD; note PT_NOTE; }
 22 jiffies = jiffies_64;                              16 jiffies = jiffies_64;
                                                   >>  17 SECTIONS
                                                   >>  18 {
                                                   >>  19 #ifdef CONFIG_ALPHA_LEGACY_START_ADDRESS
                                                   >>  20         . = 0xfffffc0000310000;
 23 #else                                              21 #else
 24 jiffies = jiffies_64 + 4;                      !!  22         . = 0xfffffc0001010000;
 25 #endif                                             23 #endif
 26                                                    24 
 27 SECTIONS {                                     !!  25         _text = .;      /* Text and read-only data */
 28         . = CONFIG_KERNEL_START;               !!  26         .text : {
 29         microblaze_start = CONFIG_KERNEL_BASE_ << 
 30         .text : AT(ADDR(.text) - LOAD_OFFSET)  << 
 31                 _text = . ;                    << 
 32                 _stext = . ;                   << 
 33                 HEAD_TEXT                          27                 HEAD_TEXT
 34                 TEXT_TEXT                          28                 TEXT_TEXT
 35                 *(.fixup)                      << 
 36                 EXIT_TEXT                      << 
 37                 EXIT_CALL                      << 
 38                 SCHED_TEXT                         29                 SCHED_TEXT
 39                 LOCK_TEXT                          30                 LOCK_TEXT
 40                 KPROBES_TEXT                   !!  31                 *(.fixup)
 41                 IRQENTRY_TEXT                  !!  32                 *(.gnu.warning)
 42                 SOFTIRQENTRY_TEXT              !!  33         } :text
 43                 . = ALIGN (4) ;                !!  34         swapper_pg_dir = SWAPPER_PGD;
 44                 _etext = . ;                   !!  35         _etext = .;     /* End of text section */
 45         }                                      << 
 46                                                << 
 47         . = ALIGN (8) ;                        << 
 48         __fdt_blob : AT(ADDR(__fdt_blob) - LOA << 
 49                 _fdt_start = . ;               << 
 50                 *(__fdt_blob) ;                << 
 51                 . = _fdt_start + 0x10000;      << 
 52                 _fdt_end = . ;                 << 
 53         }                                      << 
 54                                                    36 
 55         . = ALIGN(16);                         << 
 56         RO_DATA(4096)                              37         RO_DATA(4096)
 57                                                    38 
 58         /*                                     !!  39         /* Will be freed after init */
 59          * sdata2 section can go anywhere, but !!  40         __init_begin = ALIGN(PAGE_SIZE);
 60          * and SDA2_BASE must point to the mid << 
 61          */                                    << 
 62         .sdata2 : AT(ADDR(.sdata2) - LOAD_OFFS << 
 63                 _ssrw = .;                     << 
 64                 . = ALIGN(PAGE_SIZE); /* page  << 
 65                 *(.sdata2)                     << 
 66         . = ALIGN(8);                          << 
 67         _essrw = .;                            << 
 68         _ssrw_size = _essrw - _ssrw;           << 
 69         _KERNEL_SDA2_BASE_ = _ssrw + (_ssrw_si << 
 70         }                                      << 
 71                                                << 
 72         _sdata = . ;                           << 
 73         RW_DATA(32, PAGE_SIZE, THREAD_SIZE)    << 
 74         _edata = . ;                           << 
 75                                                << 
 76         /* Under the microblaze ABI, .sdata an << 
 77         . = ALIGN(8);                          << 
 78         .sdata : AT(ADDR(.sdata) - LOAD_OFFSET << 
 79                 _ssro = .;                     << 
 80                 *(.sdata)                      << 
 81         }                                      << 
 82                                                << 
 83         .sbss : AT(ADDR(.sbss) - LOAD_OFFSET)  << 
 84                 _ssbss = .;                    << 
 85                 *(.sbss)                       << 
 86                 _esbss = .;                    << 
 87                 _essro = .;                    << 
 88                 _ssro_size = _essro - _ssro ;  << 
 89                 _KERNEL_SDA_BASE_ = _ssro + (_ << 
 90         }                                      << 
 91                                                << 
 92         PERCPU_SECTION(L1_CACHE_BYTES)         << 
 93                                                << 
 94         . = ALIGN(PAGE_SIZE);                  << 
 95         __init_begin = .;                      << 
 96                                                << 
 97         INIT_TEXT_SECTION(PAGE_SIZE)               41         INIT_TEXT_SECTION(PAGE_SIZE)
                                                   >>  42         INIT_DATA_SECTION(16)
                                                   >>  43         PERCPU_SECTION(L1_CACHE_BYTES)
                                                   >>  44         /* Align to THREAD_SIZE rather than PAGE_SIZE here so any padding page
                                                   >>  45            needed for the THREAD_SIZE aligned init_task gets freed after init */
                                                   >>  46         . = ALIGN(THREAD_SIZE);
                                                   >>  47         __init_end = .;
                                                   >>  48         /* Freed after init ends here */
 98                                                    49 
 99         .init.data : AT(ADDR(.init.data) - LOA !!  50         _sdata = .;     /* Start of rw data section */
100                 INIT_DATA                      !!  51         _data = .;
101         }                                      !!  52         RW_DATA(L1_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE)
102                                                    53 
103         . = ALIGN(4);                          !!  54         .got : {
104         .init.ivt : AT(ADDR(.init.ivt) - LOAD_ !!  55                 *(.got)
105                 __ivt_start = .;               << 
106                 *(.init.ivt)                   << 
107                 __ivt_end = .;                 << 
108         }                                          56         }
109                                                !!  57         .sdata : {
110         .init.setup : AT(ADDR(.init.setup) - L !!  58                 *(.sdata)
111                 INIT_SETUP(0)                  << 
112         }                                          59         }
                                                   >>  60         _edata = .;     /* End of data section */
113                                                    61 
114         .initcall.init : AT(ADDR(.initcall.ini !!  62         BSS_SECTION(0, 0, 0)
115                 INIT_CALLS                     !!  63         _end = .;
116         }                                      << 
117                                                    64 
118         .con_initcall.init : AT(ADDR(.con_init !!  65         .mdebug 0 : {
119                 CON_INITCALL                   !!  66                 *(.mdebug)
120         }                                          67         }
121                                                !!  68         .note 0 : {
122         __init_end_before_initramfs = .;       !!  69                 *(.note)
123                                                << 
124         .init.ramfs : AT(ADDR(.init.ramfs) - L << 
125                 INIT_RAM_FS                    << 
126         }                                          70         }
127                                                    71 
128         __init_end = .;                        !!  72         STABS_DEBUG
129                                                !!  73         DWARF_DEBUG
130         .bss ALIGN (PAGE_SIZE) : AT(ADDR(.bss) !!  74         ELF_DETAILS
131                 /* page aligned when MMU used  << 
132                 __bss_start = . ;              << 
133                         *(.bss*)               << 
134                         *(COMMON)              << 
135                 . = ALIGN (4) ;                << 
136                 __bss_stop = . ;               << 
137         }                                      << 
138         . = ALIGN(PAGE_SIZE);                  << 
139         _end = .;                              << 
140                                                    75 
141         DISCARDS                                   76         DISCARDS
142 }                                                  77 }
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php