OSDN Git Service

(LibGoblin)
[drdeamon64/drdeamon64.git] / libgoblin / drd64_libgoblin_section_defs.h
1 /*DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64
2
3                          D r . D e a m o n  6 4
4                         for INTEL64(R), AMD64(R)
5         
6    Copyright(C) 2007-2009 Koine Yuusuke(koinec). All rights reserved.
7
8 Redistribution and use in source and binary forms, with or without
9 modification, are permitted provided that the following conditions are met:
10
11  1. Redistributions of source code must retain the above copyright notice,
12     this list of conditions and the following disclaimer.
13  2. Redistributions in binary form must reproduce the above copyright
14     notice, this list of conditions and the following disclaimer in the
15     documentation and/or other materials provided with the distribution.
16
17 THIS SOFTWARE IS PROVIDED BY Koine Yuusuke(koinec) ``AS IS'' AND ANY
18 EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
19 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
20 DISCLAIMED. IN NO EVENT SHALL Koine Yuusuke(koinec) OR CONTRIBUTORS BE
21 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
22 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
23 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
25 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
27 OF THE POSSIBILITY OF SUCH DAMAGE.
28
29 DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64*/
30
31 /* File Info -----------------------------------------------------------
32 File: drd64_.h
33 Function: Header 
34 Comment: 
35 ----------------------------------------------------------------------*/
36
37 #ifndef DRD64_HEADER_LIBGOBLIN_SECTION_DEFS
38 #define DRD64_HEADER_LIBGOBLIN_SECTION_DEFS
39
40 #define LIBGOBLIN_SECTION_ID_DEFAULT_MAX        0x30
41 #define LIBGOBLIN_SECTION_ID_MAX                        0x7f
42 #define LIBGOBLIN_SECTION_ID_INVALID            0xff
43
44 #define LIBGOBLIN_SECTION_ID_NULL                       0x00
45 #define LIBGOBLIN_SECTION_ID_TEXT                       0x01
46 #define LIBGOBLIN_SECTION_ID_TEXT_INIT          0x02
47 #define LIBGOBLIN_SECTION_ID_TEXT_FINI          0x03
48 #define LIBGOBLIN_SECTION_ID_DATA                       0x04
49 #define LIBGOBLIN_SECTION_ID_BSS                        0x05
50 #define LIBGOBLIN_SECTION_ID_GOT                        0x06
51 #define LIBGOBLIN_SECTION_ID_GOT_PLT            0x07
52 #define LIBGOBLIN_SECTION_ID_PLT                        0x08
53 #define LIBGOBLIN_SECTION_ID_REL_PLT            0x09
54 #define LIBGOBLIN_SECTION_ID_RELA_PLT           0x0a
55 #define LIBGOBLIN_SECTION_ID_SHSTRTAB           0x0b
56 #define LIBGOBLIN_SECTION_ID_STRTAB                     0x0c
57 #define LIBGOBLIN_SECTION_ID_SYMTAB                     0x0d
58 #define LIBGOBLIN_SECTION_ID_DTORS                      0x0e
59 #define LIBGOBLIN_SECTION_ID_CTORS                      0x0f
60 #define LIBGOBLIN_SECTION_ID_DYNAMIC            0x10
61 #define LIBGOBLIN_SECTION_ID_DYNSTR                     0x11
62 #define LIBGOBLIN_SECTION_ID_DYNSYM                     0x12
63 #define LIBGOBLIN_SECTION_ID_EH_FRAME           0x13
64 #define LIBGOBLIN_SECTION_ID_EH_FRAME_HDR       0x14
65 #define LIBGOBLIN_SECTION_ID_COMMENT            0x15
66 #define LIBGOBLIN_SECTION_ID_GNU_VERSION        0x16
67 #define LIBGOBLIN_SECTION_ID_GNU_VERSION_R      0x17
68 #define LIBGOBLIN_SECTION_ID_GNU_VERSION_D      0x18
69 #define LIBGOBLIN_SECTION_ID_RODATA                     0x19
70 #define LIBGOBLIN_SECTION_ID_NOTE_ABI_TAG       0x1a
71 #define LIBGOBLIN_SECTION_ID_HASH                       0x1b
72 #define LIBGOBLIN_SECTION_ID_INTERP                     0x1c
73 #define LIBGOBLIN_SECTION_ID_JCR                        0x1d
74 #define LIBGOBLIN_SECTION_ID_DEBUG_ABBREV       0x1e
75 #define LIBGOBLIN_SECTION_ID_DEBUG_INFO         0x1f
76 #define LIBGOBLIN_SECTION_ID_DEBUG_LINE         0x20
77 #define LIBGOBLIN_SECTION_ID_DEBUG_ARANGES      0x21
78 #define LIBGOBLIN_SECTION_ID_DEBUG_FRAME        0x22
79 #define LIBGOBLIN_SECTION_ID_DEBUG_LOC          0x23
80 #define LIBGOBLIN_SECTION_ID_DEBUG_PUBNAMES     0x24
81 #define LIBGOBLIN_SECTION_ID_DEBUG_STR          0x25
82 #define LIBGOBLIN_SECTION_ID_DEBUG_RANGES       0x26
83 #define LIBGOBLIN_SECTION_ID_DEBUG_MACINFO      0x27
84 #define LIBGOBLIN_SECTION_ID_DEBUG_PUBTYPES     0x28
85 #define LIBGOBLIN_SECTION_ID_NOTE_TAG           0x29
86 #define LIBGOBLIN_SECTION_ID_GNU_HASH           0x2a
87 #define LIBGOBLIN_SECTION_ID_RELA_DYN           0x2b
88 #define LIBGOBLIN_SECTION_ID_TDATA                      0x2c
89 #define LIBGOBLIN_SECTION_ID_TBSS                       0x2d
90 #define LIBGOBLIN_SECTION_ID_DATA_REL_RO        0x2e
91 #define LIBGOBLIN_SECTION_ID_INIT_ARRAY         0x2f
92 #define LIBGOBLIN_SECTION_ID_FINI_ARRAY         0x30
93
94 #define LIBGOBLIN_SECTION_STR_NULL                              ""
95 #define LIBGOBLIN_SECTION_STR_TEXT                              ".text"
96 #define LIBGOBLIN_SECTION_STR_TEXT_INIT                 ".init"
97 #define LIBGOBLIN_SECTION_STR_TEXT_FINI                 ".fini"
98 #define LIBGOBLIN_SECTION_STR_DATA                              ".data"
99 #define LIBGOBLIN_SECTION_STR_BSS                               ".bss"
100 #define LIBGOBLIN_SECTION_STR_GOT                               ".got"
101 #define LIBGOBLIN_SECTION_STR_GOT_PLT                   ".got.plt"
102 #define LIBGOBLIN_SECTION_STR_PLT                               ".plt"
103 #define LIBGOBLIN_SECTION_STR_REL_PLT                   ".rel.plt"
104 #define LIBGOBLIN_SECTION_STR_RELA_PLT                  ".rela.plt"
105 #define LIBGOBLIN_SECTION_STR_SHSTRTAB                  ".shstrtab"
106 #define LIBGOBLIN_SECTION_STR_STRTAB                    ".strtab"
107 #define LIBGOBLIN_SECTION_STR_SYMTAB                    ".symtab"
108 #define LIBGOBLIN_SECTION_STR_DTORS                             ".dtors"
109 #define LIBGOBLIN_SECTION_STR_CTORS                             ".ctors"
110 #define LIBGOBLIN_SECTION_STR_DYNAMIC                   ".dynamic"
111 #define LIBGOBLIN_SECTION_STR_DYNSTR                    ".dynstr"
112 #define LIBGOBLIN_SECTION_STR_DYNSYM                    ".dynsym"
113 #define LIBGOBLIN_SECTION_STR_EH_FRAME                  ".eh_frame"
114 #define LIBGOBLIN_SECTION_STR_EH_FRAME_HDR              ".eh_frame_hdr"
115 #define LIBGOBLIN_SECTION_STR_COMMENT                   ".comment"
116 #define LIBGOBLIN_SECTION_STR_GNU_VERSION               ".gnu.version"
117 #define LIBGOBLIN_SECTION_STR_GNU_VERSION_R             ".gnu.version_r"
118 #define LIBGOBLIN_SECTION_STR_GNU_VERSION_D             ".gnu.version_d"
119 #define LIBGOBLIN_SECTION_STR_RODATA                    ".rodata"
120 #define LIBGOBLIN_SECTION_STR_NOTE_ABI_TAG              ".note.ABI-tag"
121 #define LIBGOBLIN_SECTION_STR_HASH                              ".hash"
122 #define LIBGOBLIN_SECTION_STR_INTERP                    ".interp"
123 #define LIBGOBLIN_SECTION_STR_JCR                               ".jcr"
124 #define LIBGOBLIN_SECTION_STR_DEBUG_ABBREV              ".debug_abbrev"
125 #define LIBGOBLIN_SECTION_STR_DEBUG_INFO                ".debug_info"
126 #define LIBGOBLIN_SECTION_STR_DEBUG_LINE                ".debug_line"
127 #define LIBGOBLIN_SECTION_STR_DEBUG_ARANGES             ".debug_aranges"
128 #define LIBGOBLIN_SECTION_STR_DEBUG_FRAME               ".debug_frame"
129 #define LIBGOBLIN_SECTION_STR_DEBUG_LOC                 ".debug_loc"
130 #define LIBGOBLIN_SECTION_STR_DEBUG_PUBNAMES    ".debug_pubnames"
131 #define LIBGOBLIN_SECTION_STR_DEBUG_STR                 ".debug_str"
132 #define LIBGOBLIN_SECTION_STR_DEBUG_RANGES              ".debug_ranges"
133 #define LIBGOBLIN_SECTION_STR_DEBUG_MACINFO             ".debug_macinfo"
134 #define LIBGOBLIN_SECTION_STR_DEBUG_PUBTYPES    ".debug_pubtypes"
135 #define LIBGOBLIN_SECTION_STR_NOTE_TAG                  ".note.tag"
136 #define LIBGOBLIN_SECTION_STR_GNU_HASH                  ".gnu.hash"
137 #define LIBGOBLIN_SECTION_STR_RELA_DYN                  ".rela.dyn"
138 #define LIBGOBLIN_SECTION_STR_TDATA                             ".tdata"
139 #define LIBGOBLIN_SECTION_STR_TBSS                              ".tbss"
140 #define LIBGOBLIN_SECTION_STR_DATA_REL_RO               ".data.rel.ro"
141 #define LIBGOBLIN_SECTION_STR_INIT_ARRAY                ".init_array"
142 #define LIBGOBLIN_SECTION_STR_FINI_ARRAY                ".fini_array"
143
144
145
146 #endif  /* DRD64_HEADER_LIBGOBLIN_SECTION*/
147
148 /* EOF of drd64_.h ----------------------------------- */