mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
2005-06-29 Alain Magloire
Patch From Chris Wiebe fix PR 101386 * utils/org/eclipse/cdt/utils/macho/MachO.java
This commit is contained in:
parent
4c2bd01885
commit
14a8034c5b
2 changed files with 16 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
2005-06-29 Alain Magloire
|
||||
Patch From Chris Wiebe fix PR 101386
|
||||
* utils/org/eclipse/cdt/utils/macho/MachO.java
|
||||
|
||||
2005-06-26 Vladimir Hirsl
|
||||
Fix for 101344: problem markers are not being removed from header files
|
||||
Fixed removing indexer problem markers originally created by indexing
|
||||
|
|
|
@ -245,6 +245,9 @@ public class MachO {
|
|||
public int cmdsize;
|
||||
}
|
||||
|
||||
public class UnknownCommand extends LoadCommand {
|
||||
}
|
||||
|
||||
public class LCStr {
|
||||
public long offset;
|
||||
public long ptr;
|
||||
|
@ -1337,6 +1340,7 @@ public class MachO {
|
|||
|
||||
case LoadCommand.LC_LOAD_DYLIB:
|
||||
case LoadCommand.LC_ID_DYLIB:
|
||||
case LoadCommand.LC_LOAD_WEAK_DYLIB:
|
||||
DyLibCommand dylcmd = new DyLibCommand();
|
||||
dylcmd.cmd = cmd;
|
||||
dylcmd.cmdsize = efile.readIntE();
|
||||
|
@ -1458,6 +1462,14 @@ public class MachO {
|
|||
pbccmd.cksum = efile.readIntE();
|
||||
loadcommands[i] = pbccmd;
|
||||
break;
|
||||
|
||||
default:
|
||||
// fallback, just in case we don't recognize the command
|
||||
UnknownCommand unknowncmd = new UnknownCommand();
|
||||
unknowncmd.cmd = cmd;
|
||||
unknowncmd.cmdsize = 0;
|
||||
loadcommands[i] = unknowncmd;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue