~ubuntu-branches/ubuntu/quantal/virtualbox/quantal

« back to all changes in this revision

Viewing changes to src/VBox/Runtime/include/internal/ldrMach-O.h

  • Committer: Package Import Robot
  • Author(s): Felix Geyer
  • Date: 2012-05-29 10:09:31 UTC
  • mfrom: (3.1.15 sid)
  • Revision ID: package-import@ubuntu.com-20120529100931-2xayrbh5hyzm6e9p
Tags: 4.1.16-dfsg-1
* New upstream release.
* Drop 37-fix-build-gcc47.patch, fixed upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 */
5
5
 
6
6
/*
7
 
 * Copyright (C) 2011 Oracle Corporation
 
7
 * Copyright (C) 2011-2012 Oracle Corporation
8
8
 *
9
9
 * This file is part of VirtualBox Open Source Edition (OSE), as
10
10
 * available from http://www.virtualbox.org. This file is free software;
247
247
#define MH_WEAK_DEFINES             UINT32_C(0x00008000)
248
248
#define MH_BINDS_TO_WEAK            UINT32_C(0x00010000)
249
249
#define MH_ALLOW_STACK_EXECUTION    UINT32_C(0x00020000)
250
 
#define MH_VALID_FLAGS              UINT32_C(0x0003ffff)
 
250
#define MH_ROOT_SAFE                UINT32_C(0x00040000)
 
251
#define MH_SETUID_SAFE              UINT32_C(0x00080000)
 
252
#define MH_NO_REEXPORTED_DYLIBS     UINT32_C(0x00100000)
 
253
#define MH_PIE                      UINT32_C(0x00200000)
 
254
#define MH_DEAD_STRIPPABLE_DYLIB    UINT32_C(0x00400000)
 
255
#define MH_HAS_TLV_DESCRIPTORS      UINT32_C(0x00800000)
 
256
#define MH_NO_HEAP_EXECUTION        UINT32_C(0x01000000)
 
257
#define MH_VALID_FLAGS              UINT32_C(0x02ffffff)
251
258
 
252
259
 
253
260
typedef struct load_command
281
288
#define LC_SUB_LIBRARY              UINT32_C(0x15)
282
289
#define LC_TWOLEVEL_HINTS           UINT32_C(0x16)
283
290
#define LC_PREBIND_CKSUM            UINT32_C(0x17)
284
 
#define LC_LOAD_WEAK_DYLIB (        UINT32_C(0x18) | LC_REQ_DYLD)
 
291
#define LC_LOAD_WEAK_DYLIB         (UINT32_C(0x18) | LC_REQ_DYLD)
285
292
#define LC_SEGMENT_64               UINT32_C(0x19)
286
293
#define LC_ROUTINES_64              UINT32_C(0x1a)
287
294
#define LC_UUID                     UINT32_C(0x1b)
 
295
#define LC_RPATH                   (UINT32_C(0x1c) | LC_REQ_DYLD)
 
296
#define LC_CODE_SIGNATURE           UINT32_C(0x1d)
 
297
#define LC_SEGMENT_SPLIT_INFO       UINT32_C(0x1e)
 
298
#define LC_REEXPORT_DYLIB          (UINT32_C(0x1f) | LC_REQ_DYLD)
 
299
#define LC_LAZY_LOAD_DYLIB          UINT32_C(0x20)
 
300
#define LC_ENCRYPTION_INFO          UINT32_C(0x21)
 
301
#define LC_DYLD_INFO                UINT32_C(0x22)
 
302
#define LC_DYLD_INFO_ONLY          (UINT32_C(0x22) | LC_REQ_DYLD)
 
303
#define LC_LOAD_UPWARD_DYLIB       (UINT32_C(0x23) | LC_REQ_DYLD)
 
304
#define LC_VERSION_MIN_MACOSX       UINT32_C(0x24)
 
305
#define LC_VERSION_MIN_IPHONEOS     UINT32_C(0x25)
 
306
#define LC_FUNCTION_STARTS          UINT32_C(0x26)
 
307
#define LC_DYLD_ENVIRONMENT         UINT32_C(0x27)
 
308
#define LC_MAIN                    (UINT32_C(0x28) | LC_REQ_DYLD)
 
309
#define LC_DATA_IN_CODE             UINT32_C(0x29)
 
310
#define LC_SOURCE_VERSION           UINT32_C(0x2a)
 
311
#define LC_DYLIB_CODE_SIGN_DRS      UINT32_C(0x2b)
288
312
 
289
313
 
290
314
typedef struct lc_str