]> git.saurik.com Git - apple/ld64.git/blobdiff - src/ld/parsers/archive_file.h
ld64-242.tar.gz
[apple/ld64.git] / src / ld / parsers / archive_file.h
index 4dcbc8bb53910119479980c70ad15e64ecfc17c3..1ed411ab9cf629e8046f0b730e1dab7f775eea84 100644 (file)
@@ -1,6 +1,6 @@
 /* -*- mode: C++; c-basic-offset: 4; tab-width: 4 -*-
  *
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2009-2011 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  *
@@ -35,12 +35,13 @@ struct ParserOptions {
        bool                                                            forceLoadThisArchive;
        bool                                                            forceLoadAll;
        bool                                                            forceLoadObjC;
+       bool                                                            objcABI2;
        bool                                                            verboseLoad;
        bool                                                            logAllFiles;
 };
 
-extern ld::File* parse(const uint8_t* fileContent, uint64_t fileLength, 
-                                               const char* path, time_t modTime, uint32_t ordinal, const ParserOptions& opts);
+extern ld::archive::File* parse(const uint8_t* fileContent, uint64_t fileLength, 
+                                               const char* path, time_t modTime, ld::File::Ordinal ordinal, const ParserOptions& opts);
 
 } // namespace archive