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

TOMOYO Linux Cross Reference
Linux/arch/csky/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/csky/kernel/vmlinux.lds.S (Architecture mips) and /arch/sparc64/kernel/vmlinux.lds.S (Architecture sparc64)


  1 /* SPDX-License-Identifier: GPL-2.0 */            
  2                                                   
  3 #include <asm/vmlinux.lds.h>                      
  4 #include <asm/page.h>                             
  5 #include <asm/memory.h>                           
  6                                                   
  7 OUTPUT_ARCH(csky)                                 
  8 ENTRY(_start)                                     
  9                                                   
 10 #ifndef __cskyBE__                                
 11 jiffies = jiffies_64;                             
 12 #else                                             
 13 jiffies = jiffies_64 + 4;                         
 14 #endif                                            
 15                                                   
 16 #define VBR_BASE \                                
 17         . = ALIGN(1024); \                        
 18         vec_base = .; \                           
 19         . += 512;                                 
 20                                                   
 21 SECTIONS                                          
 22 {                                                 
 23         . = PAGE_OFFSET + PHYS_OFFSET_OFFSET;     
 24                                                   
 25         _start = .;                               
 26         HEAD_TEXT_SECTION                         
 27         . = ALIGN(PAGE_SIZE);                     
 28                                                   
 29         .text : AT(ADDR(.text) - LOAD_OFFSET)     
 30                 _text = .;                        
 31                 _stext = .;                       
 32                 VBR_BASE                          
 33                 IRQENTRY_TEXT                     
 34                 SOFTIRQENTRY_TEXT                 
 35                 TEXT_TEXT                         
 36                 SCHED_TEXT                        
 37                 LOCK_TEXT                         
 38                 KPROBES_TEXT                      
 39                 *(.fixup)                         
 40                 *(.gnu.warning)                   
 41         } = 0                                     
 42         _etext = .;                               
 43                                                   
 44         /* __init_begin __init_end must be pag    
 45         . = ALIGN(PAGE_SIZE);                     
 46         __init_begin = .;                         
 47         INIT_TEXT_SECTION(PAGE_SIZE)              
 48         INIT_DATA_SECTION(PAGE_SIZE)              
 49         PERCPU_SECTION(L1_CACHE_BYTES)            
 50         . = ALIGN(PAGE_SIZE);                     
 51         __init_end = .;                           
 52                                                   
 53         _sdata = .;                               
 54         RO_DATA(PAGE_SIZE)                        
 55         RW_DATA(L1_CACHE_BYTES, PAGE_SIZE, THR    
 56         _edata = .;                               
 57                                                   
 58 #ifdef CONFIG_HAVE_TCM                            
 59         .tcm_start : {                            
 60                 . = ALIGN(PAGE_SIZE);             
 61                 __tcm_start = .;                  
 62         }                                         
 63                                                   
 64         .text_data_tcm FIXADDR_TCM : AT(__tcm_    
 65         {                                         
 66                 . = ALIGN(4);                     
 67                 __stcm_text_data = .;             
 68                 *(.tcm.text)                      
 69                 *(.tcm.rodata)                    
 70 #ifndef CONFIG_HAVE_DTCM                          
 71                 *(.tcm.data)                      
 72 #endif                                            
 73                 . = ALIGN(4);                     
 74                 __etcm_text_data = .;             
 75         }                                         
 76                                                   
 77         . = ADDR(.tcm_start) + SIZEOF(.tcm_sta    
 78                                                   
 79 #ifdef CONFIG_HAVE_DTCM                           
 80         #define ITCM_SIZE       CONFIG_ITCM_NR    
 81                                                   
 82         .dtcm_start : {                           
 83                 __dtcm_start = .;                 
 84         }                                         
 85                                                   
 86         .data_tcm FIXADDR_TCM + ITCM_SIZE : AT    
 87         {                                         
 88                 . = ALIGN(4);                     
 89                 __stcm_data = .;                  
 90                 *(.tcm.data)                      
 91                 . = ALIGN(4);                     
 92                 __etcm_data = .;                  
 93         }                                         
 94                                                   
 95         . = ADDR(.dtcm_start) + SIZEOF(.data_t    
 96                                                   
 97         .tcm_end : AT(ADDR(.dtcm_start) + SIZE    
 98 #else                                             
 99         .tcm_end : AT(ADDR(.tcm_start) + SIZEO    
100 #endif                                            
101                 . = ALIGN(PAGE_SIZE);             
102                 __tcm_end = .;                    
103         }                                         
104 #endif                                            
105                                                   
106         EXCEPTION_TABLE(L1_CACHE_BYTES)           
107         BSS_SECTION(L1_CACHE_BYTES, PAGE_SIZE,    
108         _end = . ;                                
109                                                   
110         STABS_DEBUG                               
111         DWARF_DEBUG                               
112         ELF_DETAILS                               
113                                                   
114         DISCARDS                                  
115 }                                                 
                                                      

~ [ 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