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

TOMOYO Linux Cross Reference
Linux/arch/um/kernel/uml.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/um/kernel/uml.lds.S (Version linux-6.12-rc7) and /arch/sparc64/kernel/uml.lds.S (Version linux-2.6.32.71)


  1 /* SPDX-License-Identifier: GPL-2.0 */            
  2 #include <asm/vmlinux.lds.h>                      
  3 #include <asm/page.h>                             
  4                                                   
  5 OUTPUT_FORMAT(ELF_FORMAT)                         
  6 OUTPUT_ARCH(ELF_ARCH)                             
  7 ENTRY(_start)                                     
  8 jiffies = jiffies_64;                             
  9                                                   
 10 VERSION {                                         
 11   {                                               
 12     local: *;                                     
 13   };                                              
 14 }                                                 
 15                                                   
 16 SECTIONS                                          
 17 {                                                 
 18   /* This must contain the right address - not    
 19   PROVIDE (__executable_start = START);           
 20   /* Static binaries stick stuff here, like th    
 21    * invisibly to objdump.  So, just make __bi    
 22    * beginning of the executable, and if there    
 23    * they are forever unusable.                   
 24    */                                             
 25   __binary_start = START;                         
 26                                                   
 27   . = START + SIZEOF_HEADERS;                     
 28   . = ALIGN(PAGE_SIZE);                           
 29                                                   
 30   _text = .;                                      
 31   INIT_TEXT_SECTION(0)                            
 32                                                   
 33   .text      :                                    
 34   {                                               
 35     _stext = .;                                   
 36     TEXT_TEXT                                     
 37     SCHED_TEXT                                    
 38     LOCK_TEXT                                     
 39     IRQENTRY_TEXT                                 
 40     SOFTIRQENTRY_TEXT                             
 41     *(.fixup)                                     
 42     /* .gnu.warning sections are handled speci    
 43     *(.gnu.warning)                               
 44     *(.gnu.linkonce.t*)                           
 45   }                                               
 46                                                   
 47   . = ALIGN(PAGE_SIZE);                           
 48   .syscall_stub : {                               
 49         __syscall_stub_start = .;                 
 50         *(.__syscall_stub*)                       
 51         __syscall_stub_end = .;                   
 52   }                                               
 53                                                   
 54   /*                                              
 55    * These are needed even in a static link, e    
 56    * Newer glibc needs these __rel{,a}_iplt_{s    
 57    */                                             
 58   .rel.plt : {                                    
 59         *(.rel.plt)                               
 60         PROVIDE_HIDDEN(__rel_iplt_start = .);     
 61         *(.rel.iplt)                              
 62         PROVIDE_HIDDEN(__rel_iplt_end = .);       
 63   }                                               
 64   .rela.plt : {                                   
 65         *(.rela.plt)                              
 66         PROVIDE_HIDDEN(__rela_iplt_start = .);    
 67         *(.rela.iplt)                             
 68         PROVIDE_HIDDEN(__rela_iplt_end = .);      
 69   }                                               
 70                                                   
 71   #include <asm/common.lds.S>                     
 72                                                   
 73   __init_begin = .;                               
 74   init.data : { INIT_DATA }                       
 75   __init_end = .;                                 
 76                                                   
 77   .data    :                                      
 78   {                                               
 79     INIT_TASK_DATA(KERNEL_STACK_SIZE)             
 80     . = ALIGN(KERNEL_STACK_SIZE);                 
 81     *(.data..init_irqstack)                       
 82     DATA_DATA                                     
 83     *(.gnu.linkonce.d*)                           
 84     CONSTRUCTORS                                  
 85   }                                               
 86   .data1   : { *(.data1) }                        
 87   .ctors         :                                
 88   {                                               
 89     *(.ctors)                                     
 90   }                                               
 91   .dtors         :                                
 92   {                                               
 93     *(.dtors)                                     
 94   }                                               
 95                                                   
 96   .got           : { *(.got.plt) *(.got) }        
 97   .eh_frame       : { KEEP (*(.eh_frame)) }       
 98   .dynamic       : { *(.dynamic) }                
 99   .tdata          : { *(.tdata .tdata.* .gnu.l    
100   .tbss           : { *(.tbss .tbss.* .gnu.lin    
101   /* We want the small data sections together,    
102      can access them all, and initialized data    
103      we can shorten the on-disk segment size.     
104   .sdata     : { *(.sdata) }                      
105   _edata  =  .;                                   
106   PROVIDE (edata = .);                            
107   . = ALIGN(PAGE_SIZE);                           
108   __bss_start = .;                                
109   PROVIDE(_bss_start = .);                        
110   SBSS(0)                                         
111   BSS(0)                                          
112    __bss_stop = .;                                
113   _end = .;                                       
114   PROVIDE (end = .);                              
115                                                   
116   STABS_DEBUG                                     
117   DWARF_DEBUG                                     
118   ELF_DETAILS                                     
119                                                   
120   DISCARDS                                        
121 }                                                 
                                                      

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