OpenADFortTk (including Open64 and OpenAnalysis references)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
elf_whirl.h
Go to the documentation of this file.
1 /*
2 
3  Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved.
4 
5  This program is free software; you can redistribute it and/or modify it
6  under the terms of version 2 of the GNU General Public License as
7  published by the Free Software Foundation.
8 
9  This program is distributed in the hope that it would be useful, but
10  WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12 
13  Further, this software is distributed without any warranty that it is
14  free of the rightful claim of any third person regarding infringement
15  or the like. Any license provided herein, whether implied or
16  otherwise, applies only to this software file. Patent licenses, if
17  any, provided herein do not apply to combinations of this program with
18  other software, or any other product whatsoever.
19 
20  You should have received a copy of the GNU General Public License along
21  with this program; if not, write the Free Software Foundation, Inc., 59
22  Temple Place - Suite 330, Boston MA 02111-1307, USA.
23 
24  Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pky,
25  Mountain View, CA 94043, or:
26 
27  http://www.sgi.com
28 
29  For further information regarding this notice, see:
30 
31  http://oss.sgi.com/projects/GenInfo/NoticeExplan
32 
33 */
34 
35 
36 #ifndef __SYS_ELF_WHIRL_H__
37 #define __SYS_ELF_WHIRL_H__
38 
39 /* $Header: /m_home/m_utkej/Argonne/cvs2svn/cvs/Open64/osprey1.0/include/sys/elf_whirl.h,v 1.1.1.1 2002-05-22 20:09:05 dsystem Exp $ */
40 
41 /* Elf extension for WHIRL object files */
42 
43 /* Revision Number: Should be incremented whenever INCOMPATIBLE changes are
44  made. This string is put in the ".comment" section. Refer to ELF
45  object file spec. for format */
46 #if defined(TARG_IA64) && !defined(__ia64)
47 #define WHIRL_REVISION "WHIRL::0.33:IA64X"
48 #else
49 #define WHIRL_REVISION "WHIRL::0.33:"
50 #endif
51 
52 /*
53  * sh_info field for section of type SHT_MIPS_WHIRL
54  */
55 
56 #define WT_NULL 0x0
57 #define WT_PU_SECTION 0x1 /* all PU-specific information */
58 #define WT_GLOBALS 0x2 /* WHIRL global symbol table */
59 #define WT_COMP_FLAGS 0x3 /* compilation flags for this object */
60 #define WT_STRTAB 0x4 /* WHIRL string table */
61 #define WT_CONSTAB 0x5 /* WHIRL constant table */
62 #define WT_IPA_SUMMARY 0x6 /* IPA summary information */
63 #define WT_DST 0x7 /* WHIRL Debug Symbol Table */
64 #define WT_LOCALMAP 0x8 /* IPAA local map */
65 
66 /*
67  * Special WHIRL section names.
68  */
69 #define MIPS_WHIRL_PU_SECTION ".WHIRL.pu_section"
70 #define MIPS_WHIRL_GLOBALS ".WHIRL.globals"
71 #define MIPS_WHIRL_COMP_FLAGS ".WHIRL.flags"
72 #define MIPS_WHIRL_STRTAB ".WHIRL.strtab"
73 #define MIPS_WHIRL_CONSTAB ".WHIRL.constab"
74 #define MIPS_WHIRL_SUMMARY ".WHIRL.summary"
75 #define MIPS_WHIRL_DST ".WHIRL.dst"
76 #define MIPS_WHIRL_LOCALMAP ".WHIRL.localmap"
77 
78 #endif /* __SYS_ELF_WHIRL_H__ */