APIdia Launch Partner
Top Description Fields
sun.jvm.hotspot.debugger.win32.coff

public Interface COMDATSelectionTypes


Enumerates the COMDAT selection types. One of these is returned from sun.jvm.hotspot.debugger.win32.coff.AuxSectionDefinitionsRecord#getSelection().

Field Summary

Modifier and TypeField and Description
public static final byte
IMAGE_COMDAT_SELECT_ANY

Any section defining the same COMDAT symbol may be linked; the rest are removed.

public static final byte
IMAGE_COMDAT_SELECT_ASSOCIATIVE

The section is linked if a certain other COMDAT section is linked.

public static final byte
IMAGE_COMDAT_SELECT_EXACT_MATCH

The linker chooses an arbitrary section among the definitions for this symbol.

public static final byte
IMAGE_COMDAT_SELECT_LARGEST

The linker chooses the largest from the definitions for this symbol.

public static final byte
IMAGE_COMDAT_SELECT_NODUPLICATES

The linker issues a multiply defined symbol error if this symbol is already defined.

public static final byte
IMAGE_COMDAT_SELECT_SAME_SIZE

The linker chooses an arbitrary section among the definitions for this symbol.

Field Detail

IMAGE_COMDAT_SELECT_ANYback to summary
public static final byte IMAGE_COMDAT_SELECT_ANY

Any section defining the same COMDAT symbol may be linked; the rest are removed.

IMAGE_COMDAT_SELECT_ASSOCIATIVEback to summary
public static final byte IMAGE_COMDAT_SELECT_ASSOCIATIVE

The section is linked if a certain other COMDAT section is linked. This other section is indicated by the Number field of the auxiliary symbol record for the section definition. Use of this setting is useful for definitions that have components in multiple sections (for example, code in one and data in another), but where all must be linked or discarded as a set.

IMAGE_COMDAT_SELECT_EXACT_MATCHback to summary
public static final byte IMAGE_COMDAT_SELECT_EXACT_MATCH

The linker chooses an arbitrary section among the definitions for this symbol. A multiply defined symbol error is issued if all definitions don't match exactly.

IMAGE_COMDAT_SELECT_LARGESTback to summary
public static final byte IMAGE_COMDAT_SELECT_LARGEST

The linker chooses the largest from the definitions for this symbol. If multiple definitions have this size the choice between them is arbitrary.

IMAGE_COMDAT_SELECT_NODUPLICATESback to summary
public static final byte IMAGE_COMDAT_SELECT_NODUPLICATES

The linker issues a multiply defined symbol error if this symbol is already defined.

IMAGE_COMDAT_SELECT_SAME_SIZEback to summary
public static final byte IMAGE_COMDAT_SELECT_SAME_SIZE

The linker chooses an arbitrary section among the definitions for this symbol. A multiply defined symbol error is issued if all definitions don't have the same size.