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

Cleanup some cruft. No functionality changes.

Signed-off-by: Randolph Chung <tausq@parisc-linux.org>
Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>

authored by Randolph Chung and committed by Kyle McMartin fd5d3f6a c04f7ae2

+10 -12
+10 -12
include/asm-parisc/elf.h
··· 204 /* 205 * The following definitions are those for 32-bit ELF binaries on a 32-bit 206 * kernel and for 64-bit binaries on a 64-bit kernel. To run 32-bit binaries 207 - * on a 64-bit kernel, arch/parisc64/kernel/binfmt_elf32.c defines these 208 * macros appropriately and then #includes binfmt_elf.c, which then includes 209 * this file. 210 */ ··· 216 * Note that this header file is used by default in fs/binfmt_elf.c. So 217 * the following macros are for the default case. However, for the 64 218 * bit kernel we also support 32 bit parisc binaries. To do that 219 - * arch/parisc64/kernel/binfmt_elf32.c defines its own set of these 220 * macros, and then it includes fs/binfmt_elf.c to provide an alternate 221 * elf binary handler for 32 bit binaries (on the 64 bit kernel). 222 */ 223 #ifdef CONFIG_64BIT 224 - #define ELF_CLASS ELFCLASS64 225 #else 226 #define ELF_CLASS ELFCLASS32 227 #endif 228 229 typedef unsigned long elf_greg_t; 230 231 - /* This yields a string that ld.so will use to load implementation 232 - specific libraries for optimization. This is more specific in 233 - intent than poking at uname or /proc/cpuinfo. 234 235 - For the moment, we have only optimizations for the Intel generations, 236 - but that could change... */ 237 - 238 - #define ELF_PLATFORM ("PARISC\0" /*+((boot_cpu_data.x86-3)*5) */) 239 240 #define SET_PERSONALITY(ex, ibcs2) \ 241 current->personality = PER_LINUX; \ ··· 309 #define ELF_OSABI ELFOSABI_LINUX 310 311 /* %r23 is set by ld.so to a pointer to a function which might be 312 - registered using atexit. This provides a mean for the dynamic 313 linker to call DT_FINI functions for shared libraries that have 314 been loaded before the code runs. 315 ··· 338 but it's not easy, and we've already done it here. */ 339 340 #define ELF_HWCAP 0 341 - /* (boot_cpu_data.x86_capability) */ 342 343 #endif
··· 204 /* 205 * The following definitions are those for 32-bit ELF binaries on a 32-bit 206 * kernel and for 64-bit binaries on a 64-bit kernel. To run 32-bit binaries 207 + * on a 64-bit kernel, arch/parisc/kernel/binfmt_elf32.c defines these 208 * macros appropriately and then #includes binfmt_elf.c, which then includes 209 * this file. 210 */ ··· 216 * Note that this header file is used by default in fs/binfmt_elf.c. So 217 * the following macros are for the default case. However, for the 64 218 * bit kernel we also support 32 bit parisc binaries. To do that 219 + * arch/parisc/kernel/binfmt_elf32.c defines its own set of these 220 * macros, and then it includes fs/binfmt_elf.c to provide an alternate 221 * elf binary handler for 32 bit binaries (on the 64 bit kernel). 222 */ 223 #ifdef CONFIG_64BIT 224 + #define ELF_CLASS ELFCLASS64 225 #else 226 #define ELF_CLASS ELFCLASS32 227 #endif 228 229 typedef unsigned long elf_greg_t; 230 231 + /* 232 + * This yields a string that ld.so will use to load implementation 233 + * specific libraries for optimization. This is more specific in 234 + * intent than poking at uname or /proc/cpuinfo. 235 + */ 236 237 + #define ELF_PLATFORM ("PARISC\0") 238 239 #define SET_PERSONALITY(ex, ibcs2) \ 240 current->personality = PER_LINUX; \ ··· 310 #define ELF_OSABI ELFOSABI_LINUX 311 312 /* %r23 is set by ld.so to a pointer to a function which might be 313 + registered using atexit. This provides a means for the dynamic 314 linker to call DT_FINI functions for shared libraries that have 315 been loaded before the code runs. 316 ··· 339 but it's not easy, and we've already done it here. */ 340 341 #define ELF_HWCAP 0 342 343 #endif