]> git.saurik.com Git - apple/ld64.git/blobdiff - ld64.xcodeproj/project.pbxproj
ld64-85.tar.gz
[apple/ld64.git] / ld64.xcodeproj / project.pbxproj
index 1ce18dd24877db4ad003650a380641357b7a029c..5f8cd7f3a1085c6a2241fa11080b161d9416e4fe 100644 (file)
                        buildPhases = (
                                F96D5367094A2754008E9EE8 /* ShellScript */,
                        );
-                       buildSettings = {
-                               PRODUCT_NAME = "unit-tests";
-                       };
                        dependencies = (
                                F96D536A094A275D008E9EE8 /* PBXTargetDependency */,
                                F96D536C094A275F008E9EE8 /* PBXTargetDependency */,
+                               F96904890A4333AC00B77D2A /* PBXTargetDependency */,
                                F9EA73970974999B008B4F1D /* PBXTargetDependency */,
                        );
                        name = "unit-tests";
                        productName = "unit-tests";
                };
+               F9B1A2670A3A567B00DA8FAB /* all */ = {
+                       isa = PBXAggregateTarget;
+                       buildConfigurationList = F9B1A26C0A3A568700DA8FAB /* Build configuration list for PBXAggregateTarget "all" */;
+                       buildPhases = (
+                       );
+                       dependencies = (
+                               F9B1A2690A3A568200DA8FAB /* PBXTargetDependency */,
+                               F9B1A26B0A3A568400DA8FAB /* PBXTargetDependency */,
+                       );
+                       name = all;
+                       productName = all;
+               };
 /* End PBXAggregateTarget section */
 
 /* Begin PBXBuildFile section */
                F9023C4E06D5A272001BBF46 /* ld.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F9023C3F06D5A254001BBF46 /* ld.cpp */; };
                F933E3D9092E855B0083EAC8 /* ObjectDump.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F971EED706D5AD240041D381 /* ObjectDump.cpp */; };
-               F97288E707D277570031794D /* SectCreate.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F97288E607D277570031794D /* SectCreate.cpp */; };
-               F97F5029070D0BB200B9FCD7 /* ld64.1 in CopyFiles */ = {isa = PBXBuildFile; fileRef = F97F5028070D0BB200B9FCD7 /* ld64.1 */; };
+               F97F5029070D0BB200B9FCD7 /* ld.1 in CopyFiles */ = {isa = PBXBuildFile; fileRef = F97F5028070D0BB200B9FCD7 /* ld.1 */; };
+               F9B1A2640A3A563E00DA8FAB /* rebase.1 in CopyFiles */ = {isa = PBXBuildFile; fileRef = F9B1A2580A3A448800DA8FAB /* rebase.1 */; };
                F9C0D4BD06DD28D2001C7193 /* Options.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F9C0D48A06DD1E1B001C7193 /* Options.cpp */; };
                F9EA72D5097454FF008B4F1D /* machochecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F9EA72D4097454FF008B4F1D /* machochecker.cpp */; };
                F9EA7584097882F3008B4F1D /* debugline.c in Sources */ = {isa = PBXBuildFile; fileRef = F9EA7582097882F3008B4F1D /* debugline.c */; };
                F9EA75BC09788857008B4F1D /* debugline.c in Sources */ = {isa = PBXBuildFile; fileRef = F9EA7582097882F3008B4F1D /* debugline.c */; };
+               F9EC78060A2F8674002A3E39 /* rebase.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F9EC78050A2F8674002A3E39 /* rebase.cpp */; };
+               F9FCC3F20A54A75600CEB866 /* ld64.1 in CopyFiles */ = {isa = PBXBuildFile; fileRef = F9FCC3F10A54A75600CEB866 /* ld64.1 */; };
 /* End PBXBuildFile section */
 
 /* Begin PBXBuildRule section */
                F9E8D4BD07FCAF2000FD5801 /* PBXBuildRule */ = {
                        isa = PBXBuildRule;
-                       compilerSpec = com.apple.compilers.gcc.4_0;
+                       compilerSpec = com.apple.compilers.gcc;
                        fileType = sourcecode.c;
                        isEditable = 1;
                        outputFiles = (
@@ -48,7 +60,7 @@
                };
                F9E8D4BE07FCAF2A00FD5801 /* PBXBuildRule */ = {
                        isa = PBXBuildRule;
-                       compilerSpec = com.apple.compilers.gcc.4_0;
+                       compilerSpec = com.apple.compilers.gcc;
                        fileType = sourcecode.cpp;
                        isEditable = 1;
                        outputFiles = (
                };
 /* End PBXBuildRule section */
 
-/* Begin PBXBuildStyle section */
-               F933D92F09291D070083EAC8 /* Development */ = {
-                       isa = PBXBuildStyle;
-                       buildSettings = {
-                               COPY_PHASE_STRIP = NO;
-                       };
-                       name = Development;
-               };
-               F933D93009291D070083EAC8 /* Deployment */ = {
-                       isa = PBXBuildStyle;
-                       buildSettings = {
-                               COPY_PHASE_STRIP = YES;
-                       };
-                       name = Deployment;
-               };
-/* End PBXBuildStyle section */
-
 /* Begin PBXContainerItemProxy section */
+               F96904880A4333AC00B77D2A /* PBXContainerItemProxy */ = {
+                       isa = PBXContainerItemProxy;
+                       containerPortal = F9023C3006D5A227001BBF46 /* Project object */;
+                       proxyType = 1;
+                       remoteGlobalIDString = F9EC77ED0A2F85F6002A3E39;
+                       remoteInfo = rebase;
+               };
                F96D5369094A275D008E9EE8 /* PBXContainerItemProxy */ = {
                        isa = PBXContainerItemProxy;
                        containerPortal = F9023C3006D5A227001BBF46 /* Project object */;
                        remoteGlobalIDString = F971EED206D5ACF60041D381;
                        remoteInfo = ObjectDump;
                };
+               F9B1A2680A3A568200DA8FAB /* PBXContainerItemProxy */ = {
+                       isa = PBXContainerItemProxy;
+                       containerPortal = F9023C3006D5A227001BBF46 /* Project object */;
+                       proxyType = 1;
+                       remoteGlobalIDString = F9023C3806D5A23E001BBF46;
+                       remoteInfo = ld;
+               };
+               F9B1A26A0A3A568400DA8FAB /* PBXContainerItemProxy */ = {
+                       isa = PBXContainerItemProxy;
+                       containerPortal = F9023C3006D5A227001BBF46 /* Project object */;
+                       proxyType = 1;
+                       remoteGlobalIDString = F9EC77ED0A2F85F6002A3E39;
+                       remoteInfo = rebase;
+               };
                F9EA73960974999B008B4F1D /* PBXContainerItemProxy */ = {
                        isa = PBXContainerItemProxy;
                        containerPortal = F9023C3006D5A227001BBF46 /* Project object */;
                        dstPath = /usr/share/man/man1;
                        dstSubfolderSpec = 0;
                        files = (
-                               F97F5029070D0BB200B9FCD7 /* ld64.1 in CopyFiles */,
+                               F97F5029070D0BB200B9FCD7 /* ld.1 in CopyFiles */,
+                               F9FCC3F20A54A75600CEB866 /* ld64.1 in CopyFiles */,
+                       );
+                       runOnlyForDeploymentPostprocessing = 1;
+               };
+               F9B1A25E0A3A44CB00DA8FAB /* CopyFiles */ = {
+                       isa = PBXCopyFilesBuildPhase;
+                       buildActionMask = 8;
+                       dstPath = /usr/share/man/man1;
+                       dstSubfolderSpec = 0;
+                       files = (
+                               F9B1A2640A3A563E00DA8FAB /* rebase.1 in CopyFiles */,
                        );
                        runOnlyForDeploymentPostprocessing = 1;
                };
 /* End PBXCopyFilesBuildPhase section */
 
 /* Begin PBXFileReference section */
+               3DA587190ACC53BE0015C432 /* LTOReader.hpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.h; name = LTOReader.hpp; path = src/LTOReader.hpp; sourceTree = "<group>"; };
                C02A29DE0953B26E001FB8C1 /* ChangeLog */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = ChangeLog; sourceTree = "<group>"; };
-               F9023C3906D5A23E001BBF46 /* ld64 */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = ld64; sourceTree = BUILT_PRODUCTS_DIR; };
+               F9023C3906D5A23E001BBF46 /* ld */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = ld; sourceTree = BUILT_PRODUCTS_DIR; };
                F9023C3E06D5A254001BBF46 /* ExecutableFile.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = ExecutableFile.h; path = src/ExecutableFile.h; sourceTree = "<group>"; };
                F9023C3F06D5A254001BBF46 /* ld.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = ld.cpp; path = src/ld.cpp; sourceTree = "<group>"; };
                F9023C4106D5A254001BBF46 /* ObjectFile.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = ObjectFile.h; path = src/ObjectFile.h; sourceTree = "<group>"; };
                F933D9460929277C0083EAC8 /* FileAbstraction.hpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.h; name = FileAbstraction.hpp; path = src/FileAbstraction.hpp; sourceTree = "<group>"; };
                F933D9470929277C0083EAC8 /* MachOFileAbstraction.hpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.h; name = MachOFileAbstraction.hpp; path = src/MachOFileAbstraction.hpp; sourceTree = "<group>"; };
                F933DC37092A82480083EAC8 /* Architectures.hpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.h; name = Architectures.hpp; path = src/Architectures.hpp; sourceTree = "<group>"; };
-               F933E3CB092E84250083EAC8 /* MachOReaderArchive.hpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.h; name = MachOReaderArchive.hpp; path = src/MachOReaderArchive.hpp; sourceTree = "<group>"; };
                F933E3CC092E84250083EAC8 /* MachOReaderDylib.hpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.h; name = MachOReaderDylib.hpp; path = src/MachOReaderDylib.hpp; sourceTree = "<group>"; };
                F933E3CD092E84250083EAC8 /* MachOReaderRelocatable.hpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.h; name = MachOReaderRelocatable.hpp; path = src/MachOReaderRelocatable.hpp; sourceTree = "<group>"; };
                F933E3CE092E84250083EAC8 /* MachOWriterExecutable.hpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.h; name = MachOWriterExecutable.hpp; path = src/MachOWriterExecutable.hpp; sourceTree = "<group>"; };
                F971EED306D5ACF60041D381 /* ObjectDump */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = ObjectDump; sourceTree = BUILT_PRODUCTS_DIR; };
                F971EED706D5AD240041D381 /* ObjectDump.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = ObjectDump.cpp; path = src/ObjectDump.cpp; sourceTree = "<group>"; };
-               F97288E607D277570031794D /* SectCreate.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = SectCreate.cpp; path = src/SectCreate.cpp; sourceTree = "<group>"; };
-               F972890007D27FD00031794D /* SectCreate.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = SectCreate.h; path = src/SectCreate.h; sourceTree = "<group>"; };
-               F97F5028070D0BB200B9FCD7 /* ld64.1 */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text.man; name = ld64.1; path = doc/man/man1/ld64.1; sourceTree = "<group>"; };
+               F97F5028070D0BB200B9FCD7 /* ld.1 */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text.man; name = ld.1; path = doc/man/man1/ld.1; sourceTree = "<group>"; };
+               F98D26850AA779BD00416316 /* OpaqueSection.hpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.h; name = OpaqueSection.hpp; path = src/OpaqueSection.hpp; sourceTree = "<group>"; };
+               F99F63CE0D99A291007F5394 /* ArchiveReader.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = ArchiveReader.hpp; path = src/ArchiveReader.hpp; sourceTree = SOURCE_ROOT; };
+               F9B1A2580A3A448800DA8FAB /* rebase.1 */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text.man; name = rebase.1; path = doc/man/man1/rebase.1; sourceTree = "<group>"; };
                F9C0D48A06DD1E1B001C7193 /* Options.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = Options.cpp; path = src/Options.cpp; sourceTree = "<group>"; };
                F9C0D48B06DD1E1B001C7193 /* Options.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = Options.h; path = src/Options.h; sourceTree = "<group>"; };
                F9EA72CB097454A6008B4F1D /* machocheck */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = machocheck; sourceTree = BUILT_PRODUCTS_DIR; };
                F9EA72D4097454FF008B4F1D /* machochecker.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = machochecker.cpp; path = src/machochecker.cpp; sourceTree = "<group>"; };
                F9EA7582097882F3008B4F1D /* debugline.c */ = {isa = PBXFileReference; fileEncoding = 30; indentWidth = 2; lastKnownFileType = sourcecode.c.c; name = debugline.c; path = src/debugline.c; sourceTree = "<group>"; tabWidth = 4; usesTabs = 1; };
                F9EA7583097882F3008B4F1D /* debugline.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = debugline.h; path = src/debugline.h; sourceTree = "<group>"; };
+               F9EC77EE0A2F85F6002A3E39 /* rebase */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = rebase; sourceTree = BUILT_PRODUCTS_DIR; };
+               F9EC78050A2F8674002A3E39 /* rebase.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = rebase.cpp; path = src/rebase.cpp; sourceTree = "<group>"; };
+               F9FCC3F10A54A75600CEB866 /* ld64.1 */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text.man; name = ld64.1; path = doc/man/man1/ld64.1; sourceTree = "<group>"; };
 /* End PBXFileReference section */
 
 /* Begin PBXFrameworksBuildPhase section */
                        );
                        runOnlyForDeploymentPostprocessing = 0;
                };
+               F9EC77EC0A2F85F6002A3E39 /* Frameworks */ = {
+                       isa = PBXFrameworksBuildPhase;
+                       buildActionMask = 2147483647;
+                       files = (
+                       );
+                       runOnlyForDeploymentPostprocessing = 0;
+               };
 /* End PBXFrameworksBuildPhase section */
 
 /* Begin PBXGroup section */
                                C02A29DE0953B26E001FB8C1 /* ChangeLog */,
                                F933DC37092A82480083EAC8 /* Architectures.hpp */,
                                F933D9460929277C0083EAC8 /* FileAbstraction.hpp */,
+                               F99F63CE0D99A291007F5394 /* ArchiveReader.hpp */,
                                F933D9470929277C0083EAC8 /* MachOFileAbstraction.hpp */,
                                F933E3CD092E84250083EAC8 /* MachOReaderRelocatable.hpp */,
-                               F933E3CB092E84250083EAC8 /* MachOReaderArchive.hpp */,
                                F933E3CC092E84250083EAC8 /* MachOReaderDylib.hpp */,
                                F933E3CE092E84250083EAC8 /* MachOWriterExecutable.hpp */,
+                               3DA587190ACC53BE0015C432 /* LTOReader.hpp */,
                                F9023C3E06D5A254001BBF46 /* ExecutableFile.h */,
                                F9023C4106D5A254001BBF46 /* ObjectFile.h */,
+                               F98D26850AA779BD00416316 /* OpaqueSection.hpp */,
                                F9023C3F06D5A254001BBF46 /* ld.cpp */,
                                F9C0D48A06DD1E1B001C7193 /* Options.cpp */,
                                F9C0D48B06DD1E1B001C7193 /* Options.h */,
-                               F97288E607D277570031794D /* SectCreate.cpp */,
-                               F972890007D27FD00031794D /* SectCreate.h */,
-                               F9EA7582097882F3008B4F1D /* debugline.c */,
                                F9EA7583097882F3008B4F1D /* debugline.h */,
+                               F9EA7582097882F3008B4F1D /* debugline.c */,
                                F9EA72D4097454FF008B4F1D /* machochecker.cpp */,
                                F971EED706D5AD240041D381 /* ObjectDump.cpp */,
-                               F97F5028070D0BB200B9FCD7 /* ld64.1 */,
+                               F9EC78050A2F8674002A3E39 /* rebase.cpp */,
+                               F97F5028070D0BB200B9FCD7 /* ld.1 */,
+                               F9FCC3F10A54A75600CEB866 /* ld64.1 */,
+                               F9B1A2580A3A448800DA8FAB /* rebase.1 */,
                                F9023C3A06D5A23E001BBF46 /* Products */,
                        );
                        sourceTree = "<group>";
                F9023C3A06D5A23E001BBF46 /* Products */ = {
                        isa = PBXGroup;
                        children = (
-                               F9023C3906D5A23E001BBF46 /* ld64 */,
+                               F9023C3906D5A23E001BBF46 /* ld */,
                                F971EED306D5ACF60041D381 /* ObjectDump */,
                                F9EA72CB097454A6008B4F1D /* machocheck */,
+                               F9EC77EE0A2F85F6002A3E39 /* rebase */,
                        );
                        name = Products;
                        sourceTree = "<group>";
                        isa = PBXNativeTarget;
                        buildConfigurationList = F933D91B09291AC90083EAC8 /* Build configuration list for PBXNativeTarget "ld" */;
                        buildPhases = (
+                               0B12F6A50CE39466008ABCAE /* build configure.h */,
                                F9023C3606D5A23E001BBF46 /* Sources */,
                                F9023C3706D5A23E001BBF46 /* Frameworks */,
                                F97F5025070D0B6300B9FCD7 /* CopyFiles */,
+                               F9FCC3EF0A54A4ED00CEB866 /* Run Script */,
                        );
                        buildRules = (
                                F9E8D4BE07FCAF2A00FD5801 /* PBXBuildRule */,
                                F9E8D4BD07FCAF2000FD5801 /* PBXBuildRule */,
                        );
-                       buildSettings = {
-                               PRODUCT_NAME = ld64;
-                       };
                        dependencies = (
                        );
                        name = ld;
                        productName = ld64;
-                       productReference = F9023C3906D5A23E001BBF46 /* ld64 */;
+                       productReference = F9023C3906D5A23E001BBF46 /* ld */;
                        productType = "com.apple.product-type.tool";
                };
                F971EED206D5ACF60041D381 /* ObjectDump */ = {
                        );
                        buildRules = (
                        );
-                       buildSettings = {
-                               PRODUCT_NAME = ObjectDump;
-                       };
                        dependencies = (
                        );
                        name = ObjectDump;
                        );
                        buildRules = (
                        );
-                       buildSettings = {
-                               GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
-                               GCC_MODEL_TUNING = G5;
-                               INSTALL_PATH = "$(HOME)/bin";
-                               PREBINDING = NO;
-                               PRODUCT_NAME = machocheck;
-                       };
                        dependencies = (
                        );
                        name = machocheck;
                        productReference = F9EA72CB097454A6008B4F1D /* machocheck */;
                        productType = "com.apple.product-type.tool";
                };
+               F9EC77ED0A2F85F6002A3E39 /* rebase */ = {
+                       isa = PBXNativeTarget;
+                       buildConfigurationList = F9EC77F00A2F8616002A3E39 /* Build configuration list for PBXNativeTarget "rebase" */;
+                       buildPhases = (
+                               F9EC77EB0A2F85F6002A3E39 /* Sources */,
+                               F9EC77EC0A2F85F6002A3E39 /* Frameworks */,
+                               F9B1A25E0A3A44CB00DA8FAB /* CopyFiles */,
+                       );
+                       buildRules = (
+                       );
+                       dependencies = (
+                       );
+                       name = rebase;
+                       productName = rebase;
+                       productReference = F9EC77EE0A2F85F6002A3E39 /* rebase */;
+                       productType = "com.apple.product-type.tool";
+               };
 /* End PBXNativeTarget section */
 
 /* Begin PBXProject section */
                F9023C3006D5A227001BBF46 /* Project object */ = {
                        isa = PBXProject;
                        buildConfigurationList = F933D92309291AC90083EAC8 /* Build configuration list for PBXProject "ld64" */;
-                       buildSettings = {
-                       };
-                       buildStyles = (
-                               F933D92F09291D070083EAC8 /* Development */,
-                               F933D93009291D070083EAC8 /* Deployment */,
-                       );
+                       compatibilityVersion = "Xcode 2.4";
                        hasScannedForEncodings = 0;
                        mainGroup = F9023C2C06D5A227001BBF46;
                        productRefGroup = F9023C3A06D5A23E001BBF46 /* Products */;
                        projectDirPath = "";
+                       projectRoot = "";
                        targets = (
+                               F9B1A2670A3A567B00DA8FAB /* all */,
                                F9023C3806D5A23E001BBF46 /* ld */,
+                               F9EC77ED0A2F85F6002A3E39 /* rebase */,
                                F971EED206D5ACF60041D381 /* ObjectDump */,
                                F9EA72CA097454A6008B4F1D /* machocheck */,
                                F96D5368094A2754008E9EE8 /* unit-tests */,
 /* End PBXProject section */
 
 /* Begin PBXShellScriptBuildPhase section */
+               0B12F6A50CE39466008ABCAE /* build configure.h */ = {
+                       isa = PBXShellScriptBuildPhase;
+                       buildActionMask = 2147483647;
+                       files = (
+                       );
+                       inputPaths = (
+                       );
+                       name = "build configure.h";
+                       outputPaths = (
+                               "$(DERIVED_FILE_DIR)/configure.h",
+                       );
+                       runOnlyForDeploymentPostprocessing = 0;
+                       shellPath = /bin/bash;
+                       shellScript = "if [ -f /Developer/usr/local/include/llvm-c/lto.h ]; then\n\techo \"#define LTO_SUPPORT 1\" > ${DERIVED_FILE_DIR}/configure.h\nelse\n\techo \"#undef LTO_SUPPORT\t\" > ${DERIVED_FILE_DIR}/configure.h\nfi\n";
+                       showEnvVarsInLog = 0;
+               };
                F96D5367094A2754008E9EE8 /* ShellScript */ = {
                        isa = PBXShellScriptBuildPhase;
                        buildActionMask = 2147483647;
                        );
                        runOnlyForDeploymentPostprocessing = 0;
                        shellPath = /bin/csh;
-                       shellScript = "# Let tests set MACOSX_DEPLOYMENT_TARGET as they need\nunsetenv MACOSX_DEPLOYMENT_TARGET\n\n# make an symlink to ld64 called ld, so that gcc will use this linker for all linking\nrm -rf $BUILT_PRODUCTS_DIR/ld\nln -s $BUILT_PRODUCTS_DIR/ld64 $BUILT_PRODUCTS_DIR/ld\n\n# run full test suite\n$SRCROOT/unit-tests/run-all-unit-tests\n\nexit 0";
+                       shellScript = "# Let tests set MACOSX_DEPLOYMENT_TARGET as they need\nunsetenv MACOSX_DEPLOYMENT_TARGET\n\n# always use new linker\nsetenv LD_NO_CLASSIC_LINKER\nsetenv LD_NO_CLASSIC_LINKER_STATIC\n\n# run full test suite\n\"$SRCROOT\"/unit-tests/run-all-unit-tests\n\nexit 0";
+                       showEnvVarsInLog = 0;
+               };
+               F9FCC3EF0A54A4ED00CEB866 /* Run Script */ = {
+                       isa = PBXShellScriptBuildPhase;
+                       buildActionMask = 8;
+                       files = (
+                       );
+                       inputPaths = (
+                       );
+                       name = "Run Script";
+                       outputPaths = (
+                       );
+                       runOnlyForDeploymentPostprocessing = 1;
+                       shellPath = /bin/sh;
+                       shellScript = "cd ${DSTROOT}/usr/bin\nln -s ld ld64";
+                       showEnvVarsInLog = 0;
                };
 /* End PBXShellScriptBuildPhase section */
 
                        files = (
                                F9023C4E06D5A272001BBF46 /* ld.cpp in Sources */,
                                F9C0D4BD06DD28D2001C7193 /* Options.cpp in Sources */,
-                               F97288E707D277570031794D /* SectCreate.cpp in Sources */,
                                F9EA7584097882F3008B4F1D /* debugline.c in Sources */,
                        );
                        runOnlyForDeploymentPostprocessing = 0;
                        );
                        runOnlyForDeploymentPostprocessing = 0;
                };
+               F9EC77EB0A2F85F6002A3E39 /* Sources */ = {
+                       isa = PBXSourcesBuildPhase;
+                       buildActionMask = 2147483647;
+                       files = (
+                               F9EC78060A2F8674002A3E39 /* rebase.cpp in Sources */,
+                       );
+                       runOnlyForDeploymentPostprocessing = 0;
+               };
 /* End PBXSourcesBuildPhase section */
 
 /* Begin PBXTargetDependency section */
+               F96904890A4333AC00B77D2A /* PBXTargetDependency */ = {
+                       isa = PBXTargetDependency;
+                       target = F9EC77ED0A2F85F6002A3E39 /* rebase */;
+                       targetProxy = F96904880A4333AC00B77D2A /* PBXContainerItemProxy */;
+               };
                F96D536A094A275D008E9EE8 /* PBXTargetDependency */ = {
                        isa = PBXTargetDependency;
                        target = F9023C3806D5A23E001BBF46 /* ld */;
                        target = F971EED206D5ACF60041D381 /* ObjectDump */;
                        targetProxy = F96D536B094A275F008E9EE8 /* PBXContainerItemProxy */;
                };
+               F9B1A2690A3A568200DA8FAB /* PBXTargetDependency */ = {
+                       isa = PBXTargetDependency;
+                       target = F9023C3806D5A23E001BBF46 /* ld */;
+                       targetProxy = F9B1A2680A3A568200DA8FAB /* PBXContainerItemProxy */;
+               };
+               F9B1A26B0A3A568400DA8FAB /* PBXTargetDependency */ = {
+                       isa = PBXTargetDependency;
+                       target = F9EC77ED0A2F85F6002A3E39 /* rebase */;
+                       targetProxy = F9B1A26A0A3A568400DA8FAB /* PBXContainerItemProxy */;
+               };
                F9EA73970974999B008B4F1D /* PBXTargetDependency */ = {
                        isa = PBXTargetDependency;
                        target = F9EA72CA097454A6008B4F1D /* machocheck */;
                        buildSettings = {
                                COPY_PHASE_STRIP = NO;
                                CURRENT_PROJECT_VERSION = "$(RC_ProjectSourceVersion)";
+                               DEAD_CODE_STRIPPING = NO;
+                               DEBUG_INFORMATION_FORMAT = dwarf;
                                GCC_DYNAMIC_NO_PIC = YES;
-                               GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
+                               GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
                                GCC_MODEL_TUNING = G5;
                                GCC_OPTIMIZATION_LEVEL = 0;
                                GCC_TREAT_WARNINGS_AS_ERRORS = YES;
                                GCC_WARN_UNUSED_PARAMETER = NO;
                                GCC_WARN_UNUSED_VALUE = YES;
                                GCC_WARN_UNUSED_VARIABLE = YES;
+                               HEADER_SEARCH_PATHS = (
+                                       "$(DEVELOPER_DIR)/usr/local/include",
+                                       "$(DEVELOPER_DIR)/usr/include",
+                               );
                                INSTALL_PATH = /usr/bin;
+                               MACOSX_DEPLOYMENT_TARGET = "";
                                OTHER_CPLUSPLUSFLAGS = "$(OTHER_CPLUSPLUSFLAGS)";
-                               OTHER_LDFLAGS = "";
+                               OTHER_LDFLAGS = "-Wl,-lazy_library,/Developer/usr/lib/libLTO.dylib";
                                PREBINDING = NO;
-                               PRODUCT_NAME = ld64;
+                               PRODUCT_NAME = ld;
                                SECTORDER_FLAGS = "";
                                VERSIONING_SYSTEM = "apple-generic";
                                WARNING_CFLAGS = "-Wall";
                        buildSettings = {
                                COPY_PHASE_STRIP = YES;
                                CURRENT_PROJECT_VERSION = "$(RC_ProjectSourceVersion)";
+                               DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
                                GCC_DYNAMIC_NO_PIC = YES;
-                               GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
+                               GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
                                GCC_MODEL_TUNING = G5;
                                GCC_OPTIMIZATION_LEVEL = 3;
                                GCC_PREPROCESSOR_DEFINITIONS = "$(GCC_PREPROCESSOR_DEFINITIONS_$(RC_RELEASE))";
-                               GCC_PREPROCESSOR_DEFINITIONS_Curry = __OPEN_SOURCE__;
-                               GCC_PREPROCESSOR_DEFINITIONS_CurryWeed = __OPEN_SOURCE__;
-                               GCC_PREPROCESSOR_DEFINITIONS_Leopard = __OPEN_SOURCE__;
                                GCC_TREAT_WARNINGS_AS_ERRORS = NO;
                                GCC_WARN_ABOUT_INVALID_OFFSETOF_MACRO = NO;
                                GCC_WARN_ABOUT_MISSING_NEWLINE = YES;
                                GCC_WARN_UNUSED_PARAMETER = NO;
                                GCC_WARN_UNUSED_VALUE = YES;
                                GCC_WARN_UNUSED_VARIABLE = YES;
+                               HEADER_SEARCH_PATHS = (
+                                       "$(DEVELOPER_DIR)/usr/local/include",
+                                       "$(DEVELOPER_DIR)/usr/include",
+                               );
                                INSTALL_PATH = /usr/bin;
                                OTHER_CPLUSPLUSFLAGS = "$(OTHER_CPLUSPLUSFLAGS)";
-                               OTHER_LDFLAGS = "";
+                               OTHER_LDFLAGS = "-Wl,-lazy_library,/Developer/usr/lib/libLTO.dylib";
                                PREBINDING = NO;
-                               PRODUCT_NAME = ld64;
+                               PRODUCT_NAME = ld;
                                SECTORDER_FLAGS = "";
+                               VALID_ARCHS = "i386 ppc";
                                VERSIONING_SYSTEM = "apple-generic";
                                WARNING_CFLAGS = "-Wall";
                        };
                        isa = XCBuildConfiguration;
                        buildSettings = {
                                COPY_PHASE_STRIP = NO;
-                               GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
+                               DEBUG_INFORMATION_FORMAT = dwarf;
+                               GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
                                GCC_MODEL_TUNING = G5;
                                GCC_OPTIMIZATION_LEVEL = 0;
+                               HEADER_SEARCH_PATHS = "$(DEVELOPER_DIR)/usr/include";
                                INSTALL_PATH = "$(HOME)/bin";
-                               OTHER_LDFLAGS = "";
+                               OTHER_LDFLAGS = "-Wl,-lazy_library,/Developer/usr/lib/libLTO.dylib";
                                OTHER_REZFLAGS = "";
                                PREBINDING = NO;
                                PRODUCT_NAME = ObjectDump;
                        isa = XCBuildConfiguration;
                        buildSettings = {
                                COPY_PHASE_STRIP = YES;
-                               GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
+                               DEBUG_INFORMATION_FORMAT = dwarf;
+                               GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
                                GCC_MODEL_TUNING = G5;
-                               GCC_OPTIMIZATION_LEVEL = 0;
+                               GCC_OPTIMIZATION_LEVEL = s;
                                INSTALL_PATH = "$(HOME)/bin";
-                               OTHER_LDFLAGS = "";
+                               OTHER_LDFLAGS = "-Wl,-lazy_library,/Developer/usr/lib/libLTO.dylib";
                                OTHER_REZFLAGS = "";
                                PREBINDING = NO;
                                PRODUCT_NAME = ObjectDump;
-                               SECTORDER_FLAGS = "";
                                WARNING_CFLAGS = (
                                        "-Wmost",
                                        "-Wno-four-char-constants",
                        buildSettings = {
                                GCC_DYNAMIC_NO_PIC = NO;
                                GCC_TREAT_WARNINGS_AS_ERRORS = NO;
+                               HEADER_SEARCH_PATHS = "$(DEVELOPER_DIR)/SDKs/Extra/usr/include";
                        };
                        name = Release;
                };
                        };
                        name = Release;
                };
+               F9B1A26D0A3A568700DA8FAB /* Debug */ = {
+                       isa = XCBuildConfiguration;
+                       buildSettings = {
+                               COPY_PHASE_STRIP = NO;
+                               GCC_DYNAMIC_NO_PIC = NO;
+                               GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
+                               GCC_OPTIMIZATION_LEVEL = 0;
+                               PRODUCT_NAME = all;
+                       };
+                       name = Debug;
+               };
+               F9B1A26E0A3A568700DA8FAB /* Release */ = {
+                       isa = XCBuildConfiguration;
+                       buildSettings = {
+                               COPY_PHASE_STRIP = YES;
+                               GCC_ENABLE_FIX_AND_CONTINUE = NO;
+                               GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
+                               PRODUCT_NAME = all;
+                               ZERO_LINK = NO;
+                       };
+                       name = Release;
+               };
                F9EA72D0097454D5008B4F1D /* Debug */ = {
                        isa = XCBuildConfiguration;
                        buildSettings = {
                                COPY_PHASE_STRIP = NO;
+                               DEBUG_INFORMATION_FORMAT = dwarf;
                                GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
                                GCC_MODEL_TUNING = G5;
+                               GCC_OPTIMIZATION_LEVEL = 0;
                                INSTALL_PATH = "$(HOME)/bin";
                                PREBINDING = NO;
                                PRODUCT_NAME = machocheck;
                        isa = XCBuildConfiguration;
                        buildSettings = {
                                COPY_PHASE_STRIP = YES;
-                               GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
+                               DEBUG_INFORMATION_FORMAT = dwarf;
+                               GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
                                GCC_MODEL_TUNING = G5;
                                INSTALL_PATH = "$(HOME)/bin";
                                PREBINDING = NO;
                        };
                        name = Release;
                };
+               F9EC77F10A2F8616002A3E39 /* Debug */ = {
+                       isa = XCBuildConfiguration;
+                       buildSettings = {
+                               COPY_PHASE_STRIP = NO;
+                               DEBUG_INFORMATION_FORMAT = dwarf;
+                               GCC_DYNAMIC_NO_PIC = NO;
+                               GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
+                               GCC_MODEL_TUNING = G5;
+                               GCC_OPTIMIZATION_LEVEL = 0;
+                               INSTALL_PATH = "$(HOME)/bin";
+                               PREBINDING = NO;
+                               PRODUCT_NAME = rebase;
+                       };
+                       name = Debug;
+               };
+               F9EC77F20A2F8616002A3E39 /* Release */ = {
+                       isa = XCBuildConfiguration;
+                       buildSettings = {
+                               COPY_PHASE_STRIP = YES;
+                               DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+                               GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
+                               GCC_MODEL_TUNING = G5;
+                               GCC_PREPROCESSOR_DEFINITIONS = "$(GCC_PREPROCESSOR_DEFINITIONS_$(RC_RELEASE))";
+                               INSTALL_PATH = /usr/bin;
+                               PREBINDING = NO;
+                               PRODUCT_NAME = rebase;
+                               VALID_ARCHS = "i386 ppc";
+                       };
+                       name = Release;
+               };
 /* End XCBuildConfiguration section */
 
 /* Begin XCConfigurationList section */
                        defaultConfigurationIsVisible = 0;
                        defaultConfigurationName = Release;
                };
+               F9B1A26C0A3A568700DA8FAB /* Build configuration list for PBXAggregateTarget "all" */ = {
+                       isa = XCConfigurationList;
+                       buildConfigurations = (
+                               F9B1A26D0A3A568700DA8FAB /* Debug */,
+                               F9B1A26E0A3A568700DA8FAB /* Release */,
+                       );
+                       defaultConfigurationIsVisible = 0;
+                       defaultConfigurationName = Release;
+               };
                F9EA72CF097454D5008B4F1D /* Build configuration list for PBXNativeTarget "machocheck" */ = {
                        isa = XCConfigurationList;
                        buildConfigurations = (
                        defaultConfigurationIsVisible = 0;
                        defaultConfigurationName = Release;
                };
+               F9EC77F00A2F8616002A3E39 /* Build configuration list for PBXNativeTarget "rebase" */ = {
+                       isa = XCConfigurationList;
+                       buildConfigurations = (
+                               F9EC77F10A2F8616002A3E39 /* Debug */,
+                               F9EC77F20A2F8616002A3E39 /* Release */,
+                       );
+                       defaultConfigurationIsVisible = 0;
+                       defaultConfigurationName = Release;
+               };
 /* End XCConfigurationList section */
        };
        rootObject = F9023C3006D5A227001BBF46 /* Project object */;