mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-03 13:31:05 +00:00
Output MachO section names in the form SEGMENT,section.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135231 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7d145789c0
commit
291e767dcf
@ -264,7 +264,7 @@ error_code MachOObjectFile::getSectionName(DataRefImpl DRI,
|
||||
InMemoryStruct<macho::Section64> Sect;
|
||||
MachOObj->ReadSection64(LCI, DRI.d.b, Sect);
|
||||
|
||||
strcpy(result, SLC->Name);
|
||||
strcpy(result, Sect->SegmentName);
|
||||
strcat(result, ",");
|
||||
strcat(result, Sect->Name);
|
||||
} else {
|
||||
@ -274,7 +274,7 @@ error_code MachOObjectFile::getSectionName(DataRefImpl DRI,
|
||||
InMemoryStruct<macho::Section> Sect;
|
||||
MachOObj->ReadSection(LCI, DRI.d.b, Sect);
|
||||
|
||||
strcpy(result, SLC->Name);
|
||||
strcpy(result, Sect->SegmentName);
|
||||
strcat(result, ",");
|
||||
strcat(result, Sect->Name);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user