Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fd5d3f6a authored by Randolph Chung's avatar Randolph Chung Committed by Kyle McMartin
Browse files

[PARISC] clean up include/asm-parisc/elf.h



Cleanup some cruft. No functionality changes.

Signed-off-by: default avatarRandolph Chung <tausq@parisc-linux.org>
Signed-off-by: default avatarKyle McMartin <kyle@mcmartin.ca>
parent c04f7ae2
Loading
Loading
Loading
Loading
+10 −12
Original line number Original line Diff line number Diff line
@@ -204,7 +204,7 @@ typedef struct elf64_fdesc {
/*
/*
 * The following definitions are those for 32-bit ELF binaries on a 32-bit
 * The following definitions are those for 32-bit ELF binaries on a 32-bit
 * kernel and for 64-bit binaries on a 64-bit kernel.  To run 32-bit binaries
 * kernel and for 64-bit binaries on a 64-bit kernel.  To run 32-bit binaries
 * on a 64-bit kernel, arch/parisc64/kernel/binfmt_elf32.c defines these
 * on a 64-bit kernel, arch/parisc/kernel/binfmt_elf32.c defines these
 * macros appropriately and then #includes binfmt_elf.c, which then includes
 * macros appropriately and then #includes binfmt_elf.c, which then includes
 * this file.
 * this file.
 */
 */
@@ -216,7 +216,7 @@ typedef struct elf64_fdesc {
 * Note that this header file is used by default in fs/binfmt_elf.c. So
 * Note that this header file is used by default in fs/binfmt_elf.c. So
 * the following macros are for the default case. However, for the 64
 * the following macros are for the default case. However, for the 64
 * bit kernel we also support 32 bit parisc binaries. To do that
 * bit kernel we also support 32 bit parisc binaries. To do that
 * arch/parisc64/kernel/binfmt_elf32.c defines its own set of these
 * arch/parisc/kernel/binfmt_elf32.c defines its own set of these
 * macros, and then it includes fs/binfmt_elf.c to provide an alternate
 * macros, and then it includes fs/binfmt_elf.c to provide an alternate
 * elf binary handler for 32 bit binaries (on the 64 bit kernel).
 * elf binary handler for 32 bit binaries (on the 64 bit kernel).
 */
 */
@@ -228,14 +228,13 @@ typedef struct elf64_fdesc {


typedef unsigned long elf_greg_t;
typedef unsigned long elf_greg_t;


/* This yields a string that ld.so will use to load implementation
/*
   specific libraries for optimization.  This is more specific in
 * This yields a string that ld.so will use to load implementation
   intent than poking at uname or /proc/cpuinfo.
 * specific libraries for optimization.  This is more specific in

 * intent than poking at uname or /proc/cpuinfo.
   For the moment, we have only optimizations for the Intel generations,
 */
   but that could change... */


#define ELF_PLATFORM  ("PARISC\0" /*+((boot_cpu_data.x86-3)*5) */)
#define ELF_PLATFORM  ("PARISC\0")


#define SET_PERSONALITY(ex, ibcs2) \
#define SET_PERSONALITY(ex, ibcs2) \
	current->personality = PER_LINUX; \
	current->personality = PER_LINUX; \
@@ -310,7 +309,7 @@ struct pt_regs; /* forward declaration... */
#define ELF_OSABI 	ELFOSABI_LINUX
#define ELF_OSABI 	ELFOSABI_LINUX


/* %r23 is set by ld.so to a pointer to a function which might be 
/* %r23 is set by ld.so to a pointer to a function which might be 
   registered using atexit.  This provides a mean for the dynamic
   registered using atexit.  This provides a means for the dynamic
   linker to call DT_FINI functions for shared libraries that have
   linker to call DT_FINI functions for shared libraries that have
   been loaded before the code runs.
   been loaded before the code runs.


@@ -339,6 +338,5 @@ struct pt_regs; /* forward declaration... */
   but it's not easy, and we've already done it here.  */
   but it's not easy, and we've already done it here.  */


#define ELF_HWCAP	0
#define ELF_HWCAP	0
/* (boot_cpu_data.x86_capability) */


#endif
#endif