Merge branch 'GP-0_ryanmkurtz_PR-7057_gtackett_omf51' (Closes #7057)

This commit is contained in:
Ryan Kurtz 2024-10-17 05:56:25 -04:00
commit cf3d559760

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -38,6 +38,21 @@ public class Omf51RecordTypes {
public final static int LibDictionary = 0x2a; public final static int LibDictionary = 0x2a;
public final static int LibHeader = 0x2c; 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 * Gets the name of the given record type
* *