Mercurial > hg > truffle
annotate agent/src/share/classes/sun/jvm/hotspot/debugger/win32/coff/SectionFlags.java @ 6842:b9a9ed0f8eeb
7197424: update copyright year to match last edit in jdk8 hotspot repository
Summary: Update copyright year to 2012 for relevant files
Reviewed-by: dholmes, coleenp
author | mikael |
---|---|
date | Tue, 09 Oct 2012 10:09:34 -0700 |
parents | c18cbe5936b8 |
children |
rev | line source |
---|---|
0 | 1 /* |
1552
c18cbe5936b8
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
0
diff
changeset
|
2 * Copyright (c) 2000, 2001, Oracle and/or its affiliates. All rights reserved. |
0 | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * | |
5 * This code is free software; you can redistribute it and/or modify it | |
6 * under the terms of the GNU General Public License version 2 only, as | |
7 * published by the Free Software Foundation. | |
8 * | |
9 * This code is distributed in the hope that it will be useful, but WITHOUT | |
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
12 * version 2 for more details (a copy is included in the LICENSE file that | |
13 * accompanied this code). | |
14 * | |
15 * You should have received a copy of the GNU General Public License version | |
16 * 2 along with this work; if not, write to the Free Software Foundation, | |
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. | |
18 * | |
1552
c18cbe5936b8
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
0
diff
changeset
|
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
c18cbe5936b8
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
0
diff
changeset
|
20 * or visit www.oracle.com if you need additional information or have any |
c18cbe5936b8
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
0
diff
changeset
|
21 * questions. |
0 | 22 * |
23 */ | |
24 | |
25 package sun.jvm.hotspot.debugger.win32.coff; | |
26 | |
27 /** Constants indicating attributes of the section. (Some of the | |
28 descriptions are taken directly from Microsoft's documentation and | |
29 are copyrighted by Microsoft.) */ | |
30 | |
31 public interface SectionFlags { | |
32 /** Reserved for future use. */ | |
33 public static final int IMAGE_SCN_TYPE_REG = 0x00000000; | |
34 | |
35 /** Reserved for future use. */ | |
36 public static final int IMAGE_SCN_TYPE_DSECT = 0x00000001; | |
37 | |
38 /** Reserved for future use. */ | |
39 public static final int IMAGE_SCN_TYPE_NOLOAD = 0x00000002; | |
40 | |
41 /** Reserved for future use. */ | |
42 public static final int IMAGE_SCN_TYPE_GROUP = 0x00000004; | |
43 | |
44 /** Section should not be padded to next boundary. This is obsolete | |
45 and replaced by IMAGE_SCN_ALIGN_1BYTES. This is valid for object | |
46 files only. */ | |
47 public static final int IMAGE_SCN_TYPE_NO_PAD = 0x00000008; | |
48 | |
49 /** Reserved for future use. */ | |
50 public static final int IMAGE_SCN_TYPE_COPY = 0x00000010; | |
51 | |
52 /** Section contains executable code. */ | |
53 public static final int IMAGE_SCN_CNT_CODE = 0x00000020; | |
54 | |
55 /** Section contains initialized data. */ | |
56 public static final int IMAGE_SCN_CNT_INITIALIZED_DATA = 0x00000040; | |
57 | |
58 /** Section contains uninitialized data. */ | |
59 public static final int IMAGE_SCN_CNT_UNINITIALIZED_DATA = 0x00000080; | |
60 | |
61 /** Reserved for future use. */ | |
62 public static final int IMAGE_SCN_LNK_OTHER = 0x00000100; | |
63 | |
64 /** Section contains comments or other information. The .drectve | |
65 section has this type. This is valid for object files only. */ | |
66 public static final int IMAGE_SCN_LNK_INFO = 0x00000200; | |
67 | |
68 /** Reserved for future use. */ | |
69 public static final int IMAGE_SCN_TYPE_OVER = 0x00000400; | |
70 | |
71 /** Section will not become part of the image. This is valid for | |
72 object files only. */ | |
73 public static final int IMAGE_SCN_LNK_REMOVE = 0x00000800; | |
74 | |
75 /** Section contains COMDAT data; see {@link | |
76 sun.jvm.hotspot.debugger.win32.coff.COMDATSelectionTypes}. This is valid | |
77 for object files only. */ | |
78 public static final int IMAGE_SCN_LNK_COMDAT = 0x00001000; | |
79 | |
80 /** Reserved for future use. */ | |
81 public static final int IMAGE_SCN_MEM_FARDATA = 0x00008000; | |
82 | |
83 /** Reserved for future use. */ | |
84 public static final int IMAGE_SCN_MEM_PURGEABLE = 0x00020000; | |
85 | |
86 /** Reserved for future use. */ | |
87 public static final int IMAGE_SCN_MEM_16BIT = 0x00020000; | |
88 | |
89 /** Reserved for future use. */ | |
90 public static final int IMAGE_SCN_MEM_LOCKED = 0x00040000; | |
91 | |
92 /** Reserved for future use. */ | |
93 public static final int IMAGE_SCN_MEM_PRELOAD = 0x00080000; | |
94 | |
95 /** Align data on a 1-byte boundary. This is valid for object files | |
96 only. */ | |
97 public static final int IMAGE_SCN_ALIGN_1BYTES = 0x00100000; | |
98 | |
99 /** Align data on a 2-byte boundary. This is valid for object files | |
100 only. */ | |
101 public static final int IMAGE_SCN_ALIGN_2BYTES = 0x00200000; | |
102 | |
103 /** Align data on a 4-byte boundary. This is valid for object files | |
104 only. */ | |
105 public static final int IMAGE_SCN_ALIGN_4BYTES = 0x00300000; | |
106 | |
107 /** Align data on a 8-byte boundary. This is valid for object files | |
108 only. */ | |
109 public static final int IMAGE_SCN_ALIGN_8BYTES = 0x00400000; | |
110 | |
111 /** Align data on a 16-byte boundary. This is valid for object files | |
112 only. */ | |
113 public static final int IMAGE_SCN_ALIGN_16BYTES = 0x00500000; | |
114 | |
115 /** Align data on a 32-byte boundary. This is valid for object files | |
116 only. */ | |
117 public static final int IMAGE_SCN_ALIGN_32BYTES = 0x00600000; | |
118 | |
119 /** Align data on a 64-byte boundary. This is valid for object files | |
120 only. */ | |
121 public static final int IMAGE_SCN_ALIGN_64BYTES = 0x00700000; | |
122 | |
123 /** Align data on a 128-byte boundary. This is valid for object | |
124 files only. */ | |
125 public static final int IMAGE_SCN_ALIGN_128BYTES = 0x00800000; | |
126 | |
127 /** Align data on a 256-byte boundary. This is valid for object | |
128 files only. */ | |
129 public static final int IMAGE_SCN_ALIGN_256BYTES = 0x00900000; | |
130 | |
131 /** Align data on a 512-byte boundary. This is valid for object | |
132 files only. */ | |
133 public static final int IMAGE_SCN_ALIGN_512BYTES = 0x00A00000; | |
134 | |
135 /** Align data on a 1024-byte boundary. This is valid for object | |
136 files only. */ | |
137 public static final int IMAGE_SCN_ALIGN_1024BYTES = 0x00B00000; | |
138 | |
139 /** Align data on a 2048-byte boundary. This is valid for object | |
140 files only. */ | |
141 public static final int IMAGE_SCN_ALIGN_2048BYTES = 0x00C00000; | |
142 | |
143 /** Align data on a 4096-byte boundary. This is valid for object | |
144 files only. */ | |
145 public static final int IMAGE_SCN_ALIGN_4096BYTES = 0x00D00000; | |
146 | |
147 /** Align data on a 8192-byte boundary. This is valid for object | |
148 files only. */ | |
149 public static final int IMAGE_SCN_ALIGN_8192BYTES = 0x00E00000; | |
150 | |
151 /** Section contains extended relocations. */ | |
152 public static final int IMAGE_SCN_LNK_NRELOC_OVFL = 0x01000000; | |
153 | |
154 /** Section can be discarded as needed. */ | |
155 public static final int IMAGE_SCN_MEM_DISCARDABLE = 0x02000000; | |
156 | |
157 /** Section cannot be cached. */ | |
158 public static final int IMAGE_SCN_MEM_NOT_CACHED = 0x04000000; | |
159 | |
160 /** Section is not pageable. */ | |
161 public static final int IMAGE_SCN_MEM_NOT_PAGED = 0x08000000; | |
162 | |
163 /** Section can be shared in memory. */ | |
164 public static final int IMAGE_SCN_MEM_SHARED = 0x10000000; | |
165 | |
166 /** Section can be executed as code. */ | |
167 public static final int IMAGE_SCN_MEM_EXECUTE = 0x20000000; | |
168 | |
169 /** Section can be read. */ | |
170 public static final int IMAGE_SCN_MEM_READ = 0x40000000; | |
171 | |
172 /** Section can be written to. */ | |
173 public static final int IMAGE_SCN_MEM_WRITE = 0x80000000; | |
174 } |