X-Git-Url: https://git.saurik.com/apple/ld64.git/blobdiff_plain/a645023da60d22e86be13f7b4d97adeff8bc6665..ba348e2165668ae0f4af8b349fc4a6d0910950ed:/src/ld/parsers/archive_file.h diff --git a/src/ld/parsers/archive_file.h b/src/ld/parsers/archive_file.h index 4dcbc8b..1ed411a 100644 --- a/src/ld/parsers/archive_file.h +++ b/src/ld/parsers/archive_file.h @@ -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