X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-ia64%2Felf.h;h=446fce036fd929eedb87ffdf95917703a568a9ae;hb=43bc926fffd92024b46cafaf7350d669ba9ca884;hp=9557b49983dfe5361732c8e0be588ff3075d410b;hpb=9bf4aaab3e101692164d49b7ca357651eb691cb6;p=linux-2.6.git diff --git a/include/asm-ia64/elf.h b/include/asm-ia64/elf.h index 9557b4998..446fce036 100644 --- a/include/asm-ia64/elf.h +++ b/include/asm-ia64/elf.h @@ -4,7 +4,7 @@ /* * ELF-specific definitions. * - * Copyright (C) 1998-1999, 2002-2003 Hewlett-Packard Co + * Copyright (C) 1998-1999, 2002-2004 Hewlett-Packard Co * David Mosberger-Tang */ @@ -12,6 +12,7 @@ #include #include +#include /* * This is used to ensure we don't load something for the wrong architecture. @@ -40,7 +41,7 @@ * the way of the program that it will "exec", and that there is * sufficient room for the brk. */ -#define ELF_ET_DYN_BASE (TASK_UNMAPPED_BASE + 0x800000000) +#define ELF_ET_DYN_BASE (TASK_UNMAPPED_BASE + 0x800000000UL) #define PT_IA_64_UNWIND 0x70000001 @@ -175,19 +176,12 @@ extern void ia64_elf_core_copy_regs (struct pt_regs *src, elf_gregset_t dst); /* This macro yields a string that ld.so will use to load implementation specific libraries for optimization. Not terribly relevant until we have real hardware to play with... */ -#define ELF_PLATFORM 0 - -/* - * Architecture-neutral AT_ values are in the range 0-17. Leave some room for more of - * them, start the architecture-specific ones at 32. - */ -#define AT_SYSINFO 32 -#define AT_SYSINFO_EHDR 33 +#define ELF_PLATFORM NULL #ifdef __KERNEL__ #define SET_PERSONALITY(ex, ibcs2) set_personality(PER_LINUX) -#define elf_read_implies_exec(ex, have_pt_gnu_stack) \ - (!(have_pt_gnu_stack) && ((ex).e_flags & EF_IA_64_LINUX_EXECUTABLE_STACK) != 0) +#define elf_read_implies_exec(ex, executable_stack) \ + ((executable_stack!=EXSTACK_DISABLE_X) && ((ex).e_flags & EF_IA_64_LINUX_EXECUTABLE_STACK) != 0) struct task_struct;