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

TOMOYO Linux Cross Reference
Linux/arch/arm64/kernel/vdso32/vdso.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/arm64/kernel/vdso32/vdso.lds.S (Architecture sparc64) and /arch/sparc/kernel/vdso32/vdso.lds.S (Architecture sparc)


  1 /* SPDX-License-Identifier: GPL-2.0 */            
  2 /*                                                
  3  * Adapted from arm64 version.                    
  4  *                                                
  5  * GNU linker script for the VDSO library.        
  6  * Heavily based on the vDSO linker scripts fo    
  7  *                                                
  8  * Copyright (C) 2012-2018 ARM Limited            
  9  */                                               
 10                                                   
 11 #include <linux/const.h>                          
 12 #include <asm/page.h>                             
 13 #include <asm/vdso.h>                             
 14 #include <asm-generic/vmlinux.lds.h>              
 15                                                   
 16 OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm    
 17 OUTPUT_ARCH(arm)                                  
 18                                                   
 19 SECTIONS                                          
 20 {                                                 
 21         PROVIDE_HIDDEN(_vdso_data = . - __VVAR    
 22 #ifdef CONFIG_TIME_NS                             
 23         PROVIDE_HIDDEN(_timens_data = _vdso_da    
 24 #endif                                            
 25         . = VDSO_LBASE + SIZEOF_HEADERS;          
 26                                                   
 27         .hash           : { *(.hash) }            
 28         .gnu.hash       : { *(.gnu.hash) }        
 29         .dynsym         : { *(.dynsym) }          
 30         .dynstr         : { *(.dynstr) }          
 31         .gnu.version    : { *(.gnu.version) }     
 32         .gnu.version_d  : { *(.gnu.version_d)     
 33         .gnu.version_r  : { *(.gnu.version_r)     
 34                                                   
 35         .note           : { *(.note.*) }          
 36                                                   
 37         .dynamic        : { *(.dynamic) }         
 38                                                   
 39         .rodata         : {                       
 40                 *(.rodata*)                       
 41                 *(.got)                           
 42                 *(.got.plt)                       
 43                 *(.plt)                           
 44                 *(.rel.iplt)                      
 45                 *(.iplt)                          
 46                 *(.igot.plt)                      
 47         }                                         
 48                                                   
 49         .text           : {                       
 50                 *(.text*)                         
 51                 *(.glue_7)                        
 52                 *(.glue_7t)                       
 53                 *(.vfp11_veneer)                  
 54                 *(.v4_bx)                         
 55         }                                         
 56                                                   
 57         .rel.dyn        : { *(.rel*) }            
 58                                                   
 59         .ARM.exidx : { *(.ARM.exidx*) }           
 60         DWARF_DEBUG                               
 61         ELF_DETAILS                               
 62         .ARM.attributes 0 : { *(.ARM.attribute    
 63                                                   
 64         /DISCARD/       : {                       
 65                 *(.note.GNU-stack)                
 66                 *(.data .data.* .gnu.linkonce.    
 67                 *(.bss .sbss .dynbss .dynsbss)    
 68         }                                         
 69 }                                                 
 70                                                   
 71 /*                                                
 72  * We must supply the ELF program headers expl    
 73  * PT_LOAD segment, and set the flags explicit    
 74  */                                               
 75 PHDRS                                             
 76 {                                                 
 77         text            PT_LOAD         FLAGS(    
 78         dynamic         PT_DYNAMIC      FLAGS(    
 79         note            PT_NOTE         FLAGS(    
 80 }                                                 
 81                                                   
 82 VERSION                                           
 83 {                                                 
 84         LINUX_2.6 {                               
 85         global:                                   
 86                 __vdso_clock_gettime;             
 87                 __vdso_gettimeofday;              
 88                 __vdso_clock_getres;              
 89                 __vdso_clock_gettime64;           
 90         local: *;                                 
 91         };                                        
 92 }                                                 
                                                      

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