annotate agent/src/share/classes/sun/jvm/hotspot/debugger/win32/coff/Characteristics.java @ 1552:c18cbe5936b8

6941466: Oracle rebranding changes for Hotspot repositories Summary: Change all the Sun copyrights to Oracle copyright Reviewed-by: ohair
author trims
date Thu, 27 May 2010 19:08:38 -0700
parents a61af66fc99e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a61af66fc99e Initial load
duke
parents:
diff changeset
1 /*
1552
c18cbe5936b8 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 0
diff changeset
2 * Copyright (c) 2000, Oracle and/or its affiliates. All rights reserved.
0
a61af66fc99e Initial load
duke
parents:
diff changeset
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
a61af66fc99e Initial load
duke
parents:
diff changeset
4 *
a61af66fc99e Initial load
duke
parents:
diff changeset
5 * This code is free software; you can redistribute it and/or modify it
a61af66fc99e Initial load
duke
parents:
diff changeset
6 * under the terms of the GNU General Public License version 2 only, as
a61af66fc99e Initial load
duke
parents:
diff changeset
7 * published by the Free Software Foundation.
a61af66fc99e Initial load
duke
parents:
diff changeset
8 *
a61af66fc99e Initial load
duke
parents:
diff changeset
9 * This code is distributed in the hope that it will be useful, but WITHOUT
a61af66fc99e Initial load
duke
parents:
diff changeset
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
a61af66fc99e Initial load
duke
parents:
diff changeset
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
a61af66fc99e Initial load
duke
parents:
diff changeset
12 * version 2 for more details (a copy is included in the LICENSE file that
a61af66fc99e Initial load
duke
parents:
diff changeset
13 * accompanied this code).
a61af66fc99e Initial load
duke
parents:
diff changeset
14 *
a61af66fc99e Initial load
duke
parents:
diff changeset
15 * You should have received a copy of the GNU General Public License version
a61af66fc99e Initial load
duke
parents:
diff changeset
16 * 2 along with this work; if not, write to the Free Software Foundation,
a61af66fc99e Initial load
duke
parents:
diff changeset
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
a61af66fc99e Initial load
duke
parents:
diff changeset
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
a61af66fc99e Initial load
duke
parents:
diff changeset
22 *
a61af66fc99e Initial load
duke
parents:
diff changeset
23 */
a61af66fc99e Initial load
duke
parents:
diff changeset
24
a61af66fc99e Initial load
duke
parents:
diff changeset
25 package sun.jvm.hotspot.debugger.win32.coff;
a61af66fc99e Initial load
duke
parents:
diff changeset
26
a61af66fc99e Initial load
duke
parents:
diff changeset
27 /** Constants indicating attributes of the object or image file. (Some
a61af66fc99e Initial load
duke
parents:
diff changeset
28 of the descriptions are taken directly from Microsoft's
a61af66fc99e Initial load
duke
parents:
diff changeset
29 documentation and are copyrighted by Microsoft.) */
a61af66fc99e Initial load
duke
parents:
diff changeset
30
a61af66fc99e Initial load
duke
parents:
diff changeset
31 public interface Characteristics {
a61af66fc99e Initial load
duke
parents:
diff changeset
32 /** Image only, Windows CE, Windows NT and above. Indicates that the
a61af66fc99e Initial load
duke
parents:
diff changeset
33 file does not contain base relocations and must therefore be
a61af66fc99e Initial load
duke
parents:
diff changeset
34 loaded at its preferred base address. If the base address is not
a61af66fc99e Initial load
duke
parents:
diff changeset
35 available, the loader reports an error. Operating systems
a61af66fc99e Initial load
duke
parents:
diff changeset
36 running on top of MS-DOS (Win32s) are generally not able to use
a61af66fc99e Initial load
duke
parents:
diff changeset
37 the preferred base address and so cannot run these
a61af66fc99e Initial load
duke
parents:
diff changeset
38 images. However, beginning with version 4.0, Windows will use an
a61af66fc99e Initial load
duke
parents:
diff changeset
39 application's preferred base address. The default behavior of
a61af66fc99e Initial load
duke
parents:
diff changeset
40 the linker is to strip base relocations from EXEs. */
a61af66fc99e Initial load
duke
parents:
diff changeset
41 public static final short IMAGE_FILE_RELOCS_STRIPPED = (short) 0x0001;
a61af66fc99e Initial load
duke
parents:
diff changeset
42
a61af66fc99e Initial load
duke
parents:
diff changeset
43 /** Image only. Indicates that the image file is valid and can be
a61af66fc99e Initial load
duke
parents:
diff changeset
44 run. If this flag is not set, it generally indicates a linker
a61af66fc99e Initial load
duke
parents:
diff changeset
45 error. */
a61af66fc99e Initial load
duke
parents:
diff changeset
46 public static final short IMAGE_FILE_EXECUTABLE_IMAGE = (short) 0x0002;
a61af66fc99e Initial load
duke
parents:
diff changeset
47
a61af66fc99e Initial load
duke
parents:
diff changeset
48 /** COFF line numbers have been removed. */
a61af66fc99e Initial load
duke
parents:
diff changeset
49 public static final short IMAGE_FILE_LINE_NUMS_STRIPPED = (short) 0x0004;
a61af66fc99e Initial load
duke
parents:
diff changeset
50
a61af66fc99e Initial load
duke
parents:
diff changeset
51 /** COFF symbol table entries for local symbols have been removed. */
a61af66fc99e Initial load
duke
parents:
diff changeset
52 public static final short IMAGE_FILE_LOCAL_SYMS_STRIPPED = (short) 0x0008;
a61af66fc99e Initial load
duke
parents:
diff changeset
53
a61af66fc99e Initial load
duke
parents:
diff changeset
54 /** Aggressively trim working set. */
a61af66fc99e Initial load
duke
parents:
diff changeset
55 public static final short IMAGE_FILE_AGGRESSIVE_WS_TRIM = (short) 0x0010;
a61af66fc99e Initial load
duke
parents:
diff changeset
56
a61af66fc99e Initial load
duke
parents:
diff changeset
57 /** App can handle > 2gb addresses. */
a61af66fc99e Initial load
duke
parents:
diff changeset
58 public static final short IMAGE_FILE_LARGE_ADDRESS_AWARE = (short) 0x0020;
a61af66fc99e Initial load
duke
parents:
diff changeset
59
a61af66fc99e Initial load
duke
parents:
diff changeset
60 /** Use of this flag is reserved for future use. */
a61af66fc99e Initial load
duke
parents:
diff changeset
61 public static final short IMAGE_FILE_16BIT_MACHINE = (short) 0x0040;
a61af66fc99e Initial load
duke
parents:
diff changeset
62
a61af66fc99e Initial load
duke
parents:
diff changeset
63 /** Little endian: LSB precedes MSB in memory. */
a61af66fc99e Initial load
duke
parents:
diff changeset
64 public static final short IMAGE_FILE_BYTES_REVERSED_LO = (short) 0x0080;
a61af66fc99e Initial load
duke
parents:
diff changeset
65
a61af66fc99e Initial load
duke
parents:
diff changeset
66 /** Machine based on 32-bit-word architecture. */
a61af66fc99e Initial load
duke
parents:
diff changeset
67 public static final short IMAGE_FILE_32BIT_MACHINE = (short) 0x0100;
a61af66fc99e Initial load
duke
parents:
diff changeset
68
a61af66fc99e Initial load
duke
parents:
diff changeset
69 /** Debugging information removed from image file. */
a61af66fc99e Initial load
duke
parents:
diff changeset
70 public static final short IMAGE_FILE_DEBUG_STRIPPED = (short) 0x0200;
a61af66fc99e Initial load
duke
parents:
diff changeset
71
a61af66fc99e Initial load
duke
parents:
diff changeset
72 /** If image is on removable media, copy and run from swap file. */
a61af66fc99e Initial load
duke
parents:
diff changeset
73 public static final short IMAGE_FILE_REMOVABLE_RUN_FROM_SWAP = (short) 0x0400;
a61af66fc99e Initial load
duke
parents:
diff changeset
74
a61af66fc99e Initial load
duke
parents:
diff changeset
75 /** The image file is a system file, not a user program. */
a61af66fc99e Initial load
duke
parents:
diff changeset
76 public static final short IMAGE_FILE_SYSTEM = (short) 0x1000;
a61af66fc99e Initial load
duke
parents:
diff changeset
77
a61af66fc99e Initial load
duke
parents:
diff changeset
78 /** The image file is a dynamic-link library (DLL). Such files are
a61af66fc99e Initial load
duke
parents:
diff changeset
79 considered executable files for almost all purposes, although
a61af66fc99e Initial load
duke
parents:
diff changeset
80 they cannot be directly run. */
a61af66fc99e Initial load
duke
parents:
diff changeset
81 public static final short IMAGE_FILE_DLL = (short) 0x2000;
a61af66fc99e Initial load
duke
parents:
diff changeset
82
a61af66fc99e Initial load
duke
parents:
diff changeset
83 /** File should be run only on a UP machine. */
a61af66fc99e Initial load
duke
parents:
diff changeset
84 public static final short IMAGE_FILE_UP_SYSTEM_ONLY = (short) 0x4000;
a61af66fc99e Initial load
duke
parents:
diff changeset
85
a61af66fc99e Initial load
duke
parents:
diff changeset
86 /** Big endian: MSB precedes LSB in memory. */
a61af66fc99e Initial load
duke
parents:
diff changeset
87 public static final short IMAGE_FILE_BYTES_REVERSED_HI = (short) 0x8000;
a61af66fc99e Initial load
duke
parents:
diff changeset
88 }