mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-01 06:05:24 +02:00
Accommodate Mach-O LC_RPATH load command
This commit is contained in:
parent
591e99e68b
commit
e112fc24b9
2 changed files with 9 additions and 0 deletions
|
@ -69,6 +69,12 @@
|
|||
<message_argument value="LC_MAIN"/>
|
||||
</message_arguments>
|
||||
</filter>
|
||||
<filter id="336658481">
|
||||
<message_arguments>
|
||||
<message_argument value="org.eclipse.cdt.utils.macho.MachO64.LoadCommand"/>
|
||||
<message_argument value="LC_RPATH"/>
|
||||
</message_arguments>
|
||||
</filter>
|
||||
<filter id="336658481">
|
||||
<message_arguments>
|
||||
<message_argument value="org.eclipse.cdt.utils.macho.MachO64.LoadCommand"/>
|
||||
|
|
|
@ -384,6 +384,8 @@ public class MachO64 implements AutoCloseable {
|
|||
*/
|
||||
public final static int LC_LOAD_WEAK_DYLIB = (0x18 | LC_REQ_DYLD);
|
||||
/** @since 9.2 */
|
||||
public final static int LC_RPATH = (0x1c | LC_REQ_DYLD);
|
||||
/** @since 9.2 */
|
||||
public final static int LC_MAIN = (0x28 | LC_REQ_DYLD);
|
||||
/** @since 9.2 */
|
||||
public final static int LC_DYLD_EXPORTS_TRIE = (0x33 | LC_REQ_DYLD);
|
||||
|
@ -1714,6 +1716,7 @@ public class MachO64 implements AutoCloseable {
|
|||
case LoadCommand.LC_DYLD_CHAINED_FIXUPS:
|
||||
case LoadCommand.LC_DYLD_EXPORTS_TRIE:
|
||||
case LoadCommand.LC_FUNCTION_STARTS:
|
||||
case LoadCommand.LC_RPATH:
|
||||
case LoadCommand.LC_SOURCE_VERSION:
|
||||
// known load commands we ignore
|
||||
LoadCommand misccmd = new LoadCommand();
|
||||
|
|
Loading…
Add table
Reference in a new issue