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

TOMOYO Linux Cross Reference
Linux/arch/arc/include/asm/elf.h

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ 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.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /arch/arc/include/asm/elf.h (Architecture m68k) and /arch/sparc/include/asm-sparc/elf.h (Architecture sparc)


  1 /* SPDX-License-Identifier: GPL-2.0-only */         1 
  2 /*                                                
  3  * Copyright (C) 2004, 2007-2010, 2011-2012 Sy    
  4  */                                               
  5                                                   
  6 #ifndef __ASM_ARC_ELF_H                           
  7 #define __ASM_ARC_ELF_H                           
  8                                                   
  9 #include <linux/types.h>                          
 10 #include <linux/elf-em.h>                         
 11 #include <uapi/asm/elf.h>                         
 12                                                   
 13 #define EM_ARC_INUSE            (IS_ENABLED(CO    
 14                                         EM_ARC    
 15                                                   
 16 /* ARC Relocations (kernel Modules only) */       
 17 #define  R_ARC_32               0x4               
 18 #define  R_ARC_32_ME            0x1B              
 19 #define  R_ARC_32_PCREL         0x31              
 20                                                   
 21 /*to set parameters in the core dumps */          
 22 #define ELF_ARCH                EM_ARC_INUSE      
 23 #define ELF_CLASS               ELFCLASS32        
 24                                                   
 25 #ifdef CONFIG_CPU_BIG_ENDIAN                      
 26 #define ELF_DATA                ELFDATA2MSB       
 27 #else                                             
 28 #define ELF_DATA                ELFDATA2LSB       
 29 #endif                                            
 30                                                   
 31 /*                                                
 32  * To ensure that                                 
 33  *  -we don't load something for the wrong arc    
 34  *  -The userspace is using the correct syscal    
 35  */                                               
 36 struct elf32_hdr;                                 
 37 extern int elf_check_arch(const struct elf32_h    
 38 #define elf_check_arch  elf_check_arch            
 39                                                   
 40 #define CORE_DUMP_USE_REGSET                      
 41                                                   
 42 #define ELF_EXEC_PAGESIZE       PAGE_SIZE         
 43                                                   
 44 /*                                                
 45  * This is the location that an ET_DYN program    
 46  * use of this is to invoke "./ld.so someprog"    
 47  * the loader.  We need to make sure that it i    
 48  * that it will "exec", and that there is suff    
 49  */                                               
 50 #define ELF_ET_DYN_BASE         (2UL * TASK_SI    
 51                                                   
 52 /*                                                
 53  * When the program starts, a1 contains a poin    
 54  * registered with atexit, as per the SVR4 ABI    
 55  * have no such handler.                          
 56  */                                               
 57 #define ELF_PLAT_INIT(_r, load_addr)    ((_r)-    
 58                                                   
 59 /*                                                
 60  * This yields a mask that user programs can u    
 61  * instruction set this cpu supports.             
 62  */                                               
 63 #define ELF_HWCAP       (0)                       
 64                                                   
 65 /*                                                
 66  * This yields a string that ld.so will use to    
 67  * specific libraries for optimization.  This     
 68  * intent than poking at uname or /proc/cpuinf    
 69  */                                               
 70 #define ELF_PLATFORM    (NULL)                    
 71                                                   
 72 #endif                                            
 73                                                   

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