diff -ur open64.v1/work/open64-4.2.1-0/osprey/include/sys/elf_whirl.h osprey/include/sys/elf_whirl.h --- open64.v1/work/open64-4.2.1-0/osprey/include/sys/elf_whirl.h 2008-11-30 17:00:00.000000000 +0100 +++ osprey/include/sys/elf_whirl.h 2009-03-24 17:59:53.000000000 +0100 @@ -53,6 +53,12 @@ * sh_info field for section of type SHT_MIPS_WHIRL */ +#if defined(__FreeBSD__) || defined(__sun) +#define SHT_MIPS_WHIRL 0x70000026 +#define SHN_MIPS_DATA 0xff02 /* Allocated data symbols. */ +#define SHN_MIPS_TEXT 0xff01 /* Allocated test symbols. */ +#endif + #define WT_NULL 0x0 #define WT_PU_SECTION 0x1 /* all PU-specific information */ #define WT_GLOBALS 0x2 /* WHIRL global symbol table */