Update Omf51RecordTypes.java

Implements #7056
This commit is contained in:
gtackett 2024-10-15 11:08:48 -04:00 committed by GitHub
parent 86632adc77
commit c6d8991381
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -37,6 +37,25 @@ public class Omf51RecordTypes {
public final static int LibModName = 0x28;
public final static int LibDictionary = 0x2a;
public final static int LibHeader = 0x2c;
/*
* The five following record types with names ending in "Keil", which are
* produced by ARM Keil's 8051 tooling, are only slight variants of the
* similarly-named record types in the Intel spec.
*/
public final static int SegmentDEFKeil = SegmentDEF + 1;
public final static int ScopeDEFKeil = ScopeDEF + 1;
public final static int DebugItemKeil = DebugItem + 1;
public final static int PublicDEFKeil = PublicDEF + 1;
/*
* The three type values 0x62, 0x63, and 0x64, which are
* produced by ARM Keil's 8051 toolchain, contain data that is used for
* source-level debugging in the company's uVision IDE--such information as
* function prototypes, struct definitions, function variable names and types, etc.
* As more is learned about their content, more descriptive names could be considered.
*/
public final static int DebugData62Keil = 0x62;
public final static int DebugData63Keil = 0x63;
public final static int DebugData64Keil = 0x64;
/**
* Gets the name of the given record type