From 77cc3118ce7a3a70a0a7364d77ae1eb766a477e7 Mon Sep 17 00:00:00 2001 From: Apple Date: Tue, 15 Jul 2008 00:01:50 +0000 Subject: [PATCH] ld64-85.tar.gz --- APPLE_LICENSE | 0 ChangeLog | 59 ++++++++- doc/man/man1/ld.1 | 0 doc/man/man1/ld64.1 | 0 doc/man/man1/rebase.1 | 0 ld64.xcodeproj/project.pbxproj | 14 +- src/Architectures.hpp | 4 +- src/ArchiveReader.hpp | 0 src/ExecutableFile.h | 0 src/FileAbstraction.hpp | 0 src/LTOReader.hpp | 0 src/MachOFileAbstraction.hpp | 0 src/MachOReaderDylib.hpp | 0 src/MachOReaderRelocatable.hpp | 47 +++++-- src/MachOWriterExecutable.hpp | 120 +++++++++++++++--- src/ObjectDump.cpp | 9 +- src/ObjectFile.h | 0 src/OpaqueSection.hpp | 0 src/Options.cpp | 8 ++ src/Options.h | 0 src/SectCreate.h | 0 src/debugline.c | 0 src/debugline.h | 0 src/dwarf2.h | 0 src/ld.cpp | 12 +- src/machochecker.cpp | 2 +- src/rebase.cpp | 0 unit-tests/README | 0 unit-tests/include/common.makefile | 0 unit-tests/include/test.h | 0 unit-tests/run-all-unit-tests | 3 + unit-tests/src/Makefile | 0 unit-tests/src/results-to-xml.cpp | 0 unit-tests/src/xmlparser/xmlparser.1 | 0 unit-tests/src/xmlparser/xmlparser.m | 0 .../xmlparser.xcodeproj/project.pbxproj | 0 unit-tests/src/xmlparser/xmlparser_Prefix.pch | 0 .../test-cases/16-byte-alignment/Makefile | 0 .../test-cases/16-byte-alignment/comment.txt | 0 .../test-cases/16-byte-alignment/tl_test2.c | 0 .../test-cases/absolute-symbol/Makefile | 0 unit-tests/test-cases/absolute-symbol/abs.s | 0 unit-tests/test-cases/absolute-symbol/main.c | 0 .../test-cases/alias-command-line/Makefile | 0 .../test-cases/alias-command-line/aliases.s | 0 .../test-cases/alias-command-line/aliases.txt | 0 unit-tests/test-cases/alias-objects/Makefile | 0 unit-tests/test-cases/alias-objects/aliases.s | 0 unit-tests/test-cases/align-modulus/Makefile | 0 unit-tests/test-cases/align-modulus/align.s | 0 .../test-cases/align-modulus/comment.txt | 0 unit-tests/test-cases/align-modulus/foo.c | 0 unit-tests/test-cases/align-modulus/foo.exp | 0 .../test-cases/allow-stack-execute/Makefile | 0 .../allow-stack-execute/comment.txt | 0 .../test-cases/allow-stack-execute/foo.c | 0 .../test-cases/allowable-client/Makefile | 0 unit-tests/test-cases/allowable-client/bar.c | 0 unit-tests/test-cases/allowable-client/baz.c | 0 .../test-cases/allowable-client/comment.txt | 0 unit-tests/test-cases/allowable-client/foo.c | 0 unit-tests/test-cases/allowable-client/main.c | 0 unit-tests/test-cases/archive-ObjC/Makefile | 0 unit-tests/test-cases/archive-ObjC/bar.c | 0 unit-tests/test-cases/archive-ObjC/baz.m | 0 unit-tests/test-cases/archive-ObjC/foo.m | 0 unit-tests/test-cases/archive-ObjC/main.c | 0 unit-tests/test-cases/archive-basic/Makefile | 0 unit-tests/test-cases/archive-basic/bar.c | 0 .../test-cases/archive-basic/comment.txt | 0 unit-tests/test-cases/archive-basic/foo.c | 0 unit-tests/test-cases/archive-basic/main.c | 0 .../test-cases/archive-duplicate/Makefile | 0 unit-tests/test-cases/archive-duplicate/bar.c | 0 unit-tests/test-cases/archive-duplicate/foo.c | 0 .../test-cases/archive-duplicate/main.c | 0 unit-tests/test-cases/archive-weak/Makefile | 0 unit-tests/test-cases/archive-weak/bar.c | 0 unit-tests/test-cases/archive-weak/baz.c | 0 .../test-cases/archive-weak/comment.txt | 0 unit-tests/test-cases/archive-weak/foo.c | 0 unit-tests/test-cases/archive-weak/main.c | 0 unit-tests/test-cases/auto-arch/Makefile | 0 unit-tests/test-cases/auto-arch/hello.c | 0 unit-tests/test-cases/blank-stubs/Makefile | 0 unit-tests/test-cases/blank-stubs/comment.txt | 0 unit-tests/test-cases/blank-stubs/foo.c | 0 unit-tests/test-cases/blank-stubs/main.c | 0 unit-tests/test-cases/branch-islands/Makefile | 47 +++++++ unit-tests/test-cases/branch-islands/extra.c | 8 ++ unit-tests/test-cases/branch-islands/hello.c | 10 ++ unit-tests/test-cases/branch-islands/space.s | 39 ++++++ unit-tests/test-cases/bundle_loader/Makefile | 0 unit-tests/test-cases/bundle_loader/bar.c | 0 unit-tests/test-cases/bundle_loader/bundle.c | 0 unit-tests/test-cases/bundle_loader/main.c | 0 .../test-cases/cfstring-coalesce/Makefile | 0 unit-tests/test-cases/cfstring-coalesce/bar.c | 0 unit-tests/test-cases/cfstring-coalesce/foo.c | 0 unit-tests/test-cases/cfstring-utf16/Makefile | 0 unit-tests/test-cases/cfstring-utf16/bar.m | 0 unit-tests/test-cases/cfstring-utf16/foo.m | 0 .../test-cases/commons-alignment/Makefile | 0 unit-tests/test-cases/commons-alignment/foo.s | 0 .../commons-coalesced-dead_strip/Makefile | 0 .../commons-coalesced-dead_strip/a.c | 0 .../commons-coalesced-dead_strip/b.c | 0 .../commons-coalesced-dead_strip/c.c | 0 .../commons-coalesced-dead_strip/c.h | 0 unit-tests/test-cases/commons-mixed/Makefile | 0 unit-tests/test-cases/commons-mixed/bar.c | 0 unit-tests/test-cases/commons-mixed/foo.c | 0 unit-tests/test-cases/commons-order/Makefile | 0 unit-tests/test-cases/commons-order/bar.c | 0 unit-tests/test-cases/commons-order/baz.c | 0 .../test-cases/commons-order/expected.order | 0 unit-tests/test-cases/commons-order/foo.c | 0 unit-tests/test-cases/commons-order/main.c | 0 .../cpu-sub-types-preference/Makefile | 0 .../test-cases/cpu-sub-types-preference/foo.c | 0 unit-tests/test-cases/cpu-sub-types/Makefile | 0 .../test-cases/cpu-sub-types/comment.txt | 0 unit-tests/test-cases/cpu-sub-types/foo.c | 0 unit-tests/test-cases/cpu-sub-types/main.c | 0 .../dead_strip-archive-global/Makefile | 0 .../dead_strip-archive-global/foo.c | 0 .../dead_strip-archive-global/main.c | 0 .../test-cases/dead_strip-archive/Makefile | 0 .../test-cases/dead_strip-archive/comment.txt | 0 .../test-cases/dead_strip-archive/foo.c | 0 .../test-cases/dead_strip-archive/main.c | 0 .../dead_strip-init-archive/Makefile | 0 .../test-cases/dead_strip-init-archive/bar.c | 0 .../test-cases/dead_strip-init-archive/foo.c | 0 unit-tests/test-cases/dead_strip/Makefile | 0 unit-tests/test-cases/dead_strip/comment.txt | 0 unit-tests/test-cases/dead_strip/deadwood.c | 0 unit-tests/test-cases/dead_strip/main.c | 0 unit-tests/test-cases/dead_strip/main.exp | 0 .../test-cases/dead_strip_dylibs/Makefile | 0 unit-tests/test-cases/dead_strip_dylibs/bar.c | 0 unit-tests/test-cases/dead_strip_dylibs/baz.c | 0 unit-tests/test-cases/dead_strip_dylibs/foo.c | 0 .../test-cases/dead_strip_dylibs/main.c | 0 .../dead_strip_section_attribute/Makefile | 0 .../dead_strip_section_attribute/comment.txt | 0 .../dead_strip_section_attribute/main.c | 0 .../dtrace-static-probes-coalescing/Makefile | 0 .../dtrace-static-probes-coalescing/Number.d | 0 .../dtrace-static-probes-coalescing/a.cxx | 0 .../dtrace-static-probes-coalescing/header.h | 0 .../dtrace-static-probes-coalescing/x.cxx | 0 .../test-cases/dtrace-static-probes/Makefile | 0 .../test-cases/dtrace-static-probes/bar.d | 0 .../dtrace-static-probes/comment.txt | 0 .../test-cases/dtrace-static-probes/foo.d | 0 .../test-cases/dtrace-static-probes/main.c | 0 .../dwarf-archive-all_load/Makefile | 0 .../test-cases/dwarf-archive-all_load/bar.c | 0 .../test-cases/dwarf-archive-all_load/baz.c | 0 .../dwarf-archive-all_load/comment.txt | 0 .../dwarf-archive-all_load/expected-stabs | 0 .../test-cases/dwarf-archive-all_load/foo.c | 0 .../test-cases/dwarf-debug-notes-r/Makefile | 0 .../test-cases/dwarf-debug-notes-r/bar.cxx | 0 .../dwarf-debug-notes-r/comment.txt | 0 .../dwarf-debug-notes-r/expected-stabs | 0 .../test-cases/dwarf-debug-notes-r/foo.cxx | 0 .../test-cases/dwarf-debug-notes-r/main.cxx | 0 .../test-cases/dwarf-debug-notes/Makefile | 0 .../test-cases/dwarf-debug-notes/comment.txt | 0 .../dwarf-debug-notes/expected-stabs | 0 .../test-cases/dwarf-debug-notes/header.h | 0 .../test-cases/dwarf-debug-notes/hello.cxx | 0 .../test-cases/dwarf-debug-notes/other.cxx | 0 unit-tests/test-cases/dwarf-ignore/Makefile | 0 .../test-cases/dwarf-ignore/comment.txt | 0 unit-tests/test-cases/dwarf-ignore/hello.c | 0 unit-tests/test-cases/dwarf-strip/Makefile | 0 unit-tests/test-cases/dwarf-strip/comment.txt | 0 unit-tests/test-cases/dwarf-strip/hello.c | 0 unit-tests/test-cases/dylib-aliases/Makefile | 0 unit-tests/test-cases/dylib-aliases/bar.c | 0 unit-tests/test-cases/dylib-aliases/foo.c | 0 unit-tests/test-cases/dylib-aliases/main.c | 0 .../test-cases/dylib-re-export-cycle/Makefile | 0 .../test-cases/dylib-re-export-cycle/bar.c | 0 .../test-cases/dylib-re-export-cycle/foo.c | 0 .../test-cases/dylib-re-export-cycle/main.c | 0 .../test-cases/dylib_file-missing/Makefile | 0 .../test-cases/dylib_file-missing/bar.c | 0 .../test-cases/dylib_file-missing/foo.c | 0 .../test-cases/dylib_file-missing/main.c | 0 unit-tests/test-cases/dylib_file/Makefile | 0 unit-tests/test-cases/dylib_file/bar.c | 0 unit-tests/test-cases/dylib_file/comment.txt | 0 unit-tests/test-cases/dylib_file/foo.c | 0 unit-tests/test-cases/dylib_file/main.c | 0 unit-tests/test-cases/dylib_init/Makefile | 0 unit-tests/test-cases/dylib_init/foo.c | 0 .../test-cases/eh-coalescing-r/Makefile | 10 +- unit-tests/test-cases/eh-coalescing-r/bar.cxx | 0 unit-tests/test-cases/eh-coalescing-r/foo.cxx | 0 unit-tests/test-cases/eh-coalescing-r/func.h | 0 unit-tests/test-cases/eh-coalescing/Makefile | 0 unit-tests/test-cases/eh-coalescing/bar.cxx | 0 unit-tests/test-cases/eh-coalescing/foo.cxx | 0 unit-tests/test-cases/eh-coalescing/foo2.cxx | 0 unit-tests/test-cases/eh-coalescing/func.h | 0 unit-tests/test-cases/eh-strip-test/Makefile | 0 .../test-cases/eh-strip-test/comment.txt | 0 unit-tests/test-cases/eh-strip-test/main.cxx | 0 unit-tests/test-cases/eh_frame/Makefile | 0 unit-tests/test-cases/eh_frame/bar.cxx | 0 unit-tests/test-cases/eh_frame/foo.cxx | 0 unit-tests/test-cases/empty-object/Makefile | 0 unit-tests/test-cases/empty-object/main.c | 0 unit-tests/test-cases/end-label/Makefile | 0 unit-tests/test-cases/end-label/bar.s | 0 unit-tests/test-cases/end-label/foo.s | 0 .../Makefile | 0 .../foo.c | 0 .../exported-symbols-wildcards/Makefile | 0 .../exported-symbols-wildcards/expect1 | 0 .../exported-symbols-wildcards/expect2 | 0 .../exported-symbols-wildcards/expect3 | 0 .../exported-symbols-wildcards/expect4 | 0 .../exported-symbols-wildcards/expect5 | 0 .../exported-symbols-wildcards/expect6 | 0 .../exported-symbols-wildcards/expect7 | 0 .../exported-symbols-wildcards/expect8 | 0 .../exported-symbols-wildcards/foo.c | 0 .../exported-symbols-wildcards/list5 | 0 .../exported_symbols_list-eol/Makefile | 0 .../exported_symbols_list-eol/expected.nm | 0 .../exported_symbols_list-eol/test.c | 0 .../exported_symbols_list-eol/test.exp | 0 .../exported_symbols_list-hidden/Makefile | 0 .../exported_symbols_list-hidden/test.c | 0 .../exported_symbols_list-hidden/test.exp | 0 .../exported_symbols_list-r/Makefile | 0 .../exported_symbols_list-r/test-bad.exp | 0 .../test-cases/exported_symbols_list-r/test.c | 0 .../exported_symbols_list-r/test.exp | 0 .../external-reloc-sorting/Makefile | 0 .../test-cases/external-reloc-sorting/foo.c | 0 .../test-cases/external-reloc-sorting/main.c | 0 unit-tests/test-cases/filelist/Makefile | 0 unit-tests/test-cases/filelist/comment.txt | 0 unit-tests/test-cases/filelist/hello.c | 0 unit-tests/test-cases/flat-dylib/Makefile | 0 unit-tests/test-cases/flat-dylib/main.c | 0 .../flat-indirect-undefines/Makefile | 0 .../test-cases/flat-indirect-undefines/bar.c | 0 .../test-cases/flat-indirect-undefines/foo.c | 0 .../test-cases/flat-indirect-undefines/main.c | 0 unit-tests/test-cases/flat-main/Makefile | 0 unit-tests/test-cases/flat-main/main.c | 0 .../test-cases/got-elimination/Makefile | 0 unit-tests/test-cases/got-elimination/bar.c | 0 unit-tests/test-cases/got-elimination/foo.c | 0 unit-tests/test-cases/header-pad/Makefile | 0 unit-tests/test-cases/header-pad/comment.txt | 0 unit-tests/test-cases/header-pad/hello.c | 0 unit-tests/test-cases/hello-world/Makefile | 0 unit-tests/test-cases/hello-world/comment.txt | 0 unit-tests/test-cases/hello-world/hello.c | 0 .../implicit-common2/Makefile.newtest | 0 unit-tests/test-cases/implicit-common2/a.c | 0 .../test-cases/implicit-common2/comment.txt | 0 unit-tests/test-cases/implicit-common2/test.c | 0 .../test-cases/implicit-common3/Makefile | 0 unit-tests/test-cases/implicit-common3/a.c | 0 .../test-cases/implicit-common3/comment.txt | 0 unit-tests/test-cases/implicit-common3/test.c | 0 .../implicit-common4/Makefile.newtest | 0 unit-tests/test-cases/implicit-common4/a.c | 0 .../test-cases/implicit-common4/comment.txt | 0 unit-tests/test-cases/implicit-common4/test.c | 0 .../implicit-common5/Makefile.newtest | 0 unit-tests/test-cases/implicit-common5/a.c | 0 .../test-cases/implicit-common5/comment.txt | 0 unit-tests/test-cases/implicit-common5/test.c | 0 unit-tests/test-cases/implicit_dylib/Makefile | 0 unit-tests/test-cases/implicit_dylib/bar.c | 0 unit-tests/test-cases/implicit_dylib/foo.c | 0 unit-tests/test-cases/implicit_dylib/main.c | 0 unit-tests/test-cases/indirect-dylib/Makefile | 0 unit-tests/test-cases/indirect-dylib/bar.c | 0 .../test-cases/indirect-dylib/comment.txt | 0 unit-tests/test-cases/indirect-dylib/foo.c | 0 unit-tests/test-cases/indirect-dylib/main.c | 0 .../test-cases/indirect-path-search/Makefile | 0 .../test-cases/indirect-path-search/bar.c | 0 .../test-cases/indirect-path-search/baz.c | 0 .../test-cases/indirect-path-search/foo.c | 0 .../test-cases/indirect-path-search/main.c | 0 .../test-cases/interposable_list/Makefile | 0 .../test-cases/interposable_list/test.c | 0 .../test-cases/interposable_list/test.exp | 0 unit-tests/test-cases/large-data/Makefile | 0 unit-tests/test-cases/large-data/test1.c | 0 unit-tests/test-cases/large-data/test2.c | 0 unit-tests/test-cases/large-data/test3.c | 0 unit-tests/test-cases/large-data/test4.c | 0 .../test-cases/late-link-error/Makefile | 0 .../test-cases/late-link-error/comment.txt | 0 .../test-cases/late-link-error/link_error.s | 0 .../test-cases/lazy-dylib-objc/Makefile | 0 unit-tests/test-cases/lazy-dylib-objc/foo.h | 0 unit-tests/test-cases/lazy-dylib-objc/foo.m | 0 unit-tests/test-cases/lazy-dylib-objc/main.m | 0 unit-tests/test-cases/lazy-dylib/Makefile | 0 unit-tests/test-cases/lazy-dylib/bad.c | 0 unit-tests/test-cases/lazy-dylib/bad2.c | 0 unit-tests/test-cases/lazy-dylib/foo.c | 0 unit-tests/test-cases/lazy-dylib/main.c | 0 .../literals-coalesce-alignment/Makefile | 0 .../cstring-align-0.s | 0 .../cstring-align-3.s | 0 .../literals-coalesce-alignment2/Makefile | 0 .../literals-coalesce-alignment2/comment.txt | 0 .../cstring-align-0.s | 0 .../cstring-align-3.s | 0 .../literals-coalesce-alignment3/Makefile | 0 .../literals-coalesce-alignment3/comment.txt | 0 .../cstring-align-0.s | 0 .../cstring-align-3.s | 0 .../test-cases/literals-coalesce/Makefile | 0 .../test-cases/literals-coalesce/literals.s | 0 .../literals-coalesce2/Makefile.newtest | 0 .../test-cases/literals-coalesce2/comment.txt | 0 .../test-cases/literals-coalesce2/literals.s | 0 .../test-cases/llvm-integration/Makefile | 0 unit-tests/test-cases/llvm-integration/a.c | 0 unit-tests/test-cases/llvm-integration/a1.c | 0 unit-tests/test-cases/llvm-integration/a10.c | 0 unit-tests/test-cases/llvm-integration/a11.c | 0 unit-tests/test-cases/llvm-integration/a12.c | 0 unit-tests/test-cases/llvm-integration/a12.h | 0 unit-tests/test-cases/llvm-integration/a13.cc | 0 unit-tests/test-cases/llvm-integration/a13.h | 0 unit-tests/test-cases/llvm-integration/a14.c | 0 unit-tests/test-cases/llvm-integration/a15.c | 0 unit-tests/test-cases/llvm-integration/a17.c | 0 unit-tests/test-cases/llvm-integration/a18.c | 0 unit-tests/test-cases/llvm-integration/a2.c | 0 unit-tests/test-cases/llvm-integration/a20.c | 0 unit-tests/test-cases/llvm-integration/a3.c | 0 unit-tests/test-cases/llvm-integration/a4.c | 0 unit-tests/test-cases/llvm-integration/a5.c | 0 unit-tests/test-cases/llvm-integration/a6.c | 0 unit-tests/test-cases/llvm-integration/a7.c | 0 unit-tests/test-cases/llvm-integration/a8.c | 0 unit-tests/test-cases/llvm-integration/a9.c | 0 .../test-cases/llvm-integration/a9.list | 0 unit-tests/test-cases/llvm-integration/b.c | 0 unit-tests/test-cases/llvm-integration/b1.c | 0 unit-tests/test-cases/llvm-integration/b10.c | 0 unit-tests/test-cases/llvm-integration/b10.h | 0 unit-tests/test-cases/llvm-integration/b14.c | 0 unit-tests/test-cases/llvm-integration/b15.c | 0 unit-tests/test-cases/llvm-integration/b17.c | 0 unit-tests/test-cases/llvm-integration/b2.c | 0 unit-tests/test-cases/llvm-integration/b20.c | 0 unit-tests/test-cases/llvm-integration/b3.c | 0 unit-tests/test-cases/llvm-integration/b4.c | 0 unit-tests/test-cases/llvm-integration/b5.c | 0 unit-tests/test-cases/llvm-integration/b7.c | 0 unit-tests/test-cases/llvm-integration/c15.c | 0 unit-tests/test-cases/llvm-integration/main.c | 0 .../test-cases/llvm-integration/main1.c | 0 .../test-cases/llvm-integration/main10.c | 0 .../test-cases/llvm-integration/main11.c | 0 .../test-cases/llvm-integration/main12.c | 0 .../test-cases/llvm-integration/main13.cc | 0 .../test-cases/llvm-integration/main16.c | 0 .../test-cases/llvm-integration/main19.c | 0 .../test-cases/llvm-integration/main2.c | 0 .../test-cases/llvm-integration/main20.c | 0 .../test-cases/llvm-integration/main3.c | 0 .../test-cases/llvm-integration/main4.c | 0 .../test-cases/llvm-integration/main5.c | 0 .../test-cases/llvm-integration/main6.c | 0 .../test-cases/llvm-integration/main7.c | 0 .../test-cases/llvm-integration/main8.c | 0 .../test-cases/llvm-integration/main9.c | 0 unit-tests/test-cases/loader_path/Makefile | 0 unit-tests/test-cases/loader_path/bar.c | 0 unit-tests/test-cases/loader_path/foo.c | 0 unit-tests/test-cases/loader_path/main.c | 0 .../local-symbol-partial-stripping/Makefile | 0 .../local-symbol-partial-stripping/a.expect | 0 .../local-symbol-partial-stripping/a.list | 0 .../local-symbol-partial-stripping/b.expect | 0 .../local-symbol-partial-stripping/b.list | 0 .../local-symbol-partial-stripping/c.list | 0 .../local-symbol-partial-stripping/foo.c | 0 .../local-symbol-partial-stripping/main.c | 0 unit-tests/test-cases/main-stripped/Makefile | 0 unit-tests/test-cases/main-stripped/main.c | 0 unit-tests/test-cases/main-stripped/main.exp | 0 .../test-cases/missing-option-args/Makefile | 0 .../missing-option-args/comment.txt | 0 .../test-cases/multiple-entry-points/Makefile | 0 .../multiple-entry-points/comment.txt | 0 .../test-cases/multiple-entry-points/test.s | 0 .../no-dynamic-common/Makefile.newtest | 0 unit-tests/test-cases/no-dynamic-common/a.c | 0 .../test-cases/no-dynamic-common/comment.txt | 0 .../test-cases/no-dynamic-common/test.c | 0 unit-tests/test-cases/no-uuid/Makefile | 0 unit-tests/test-cases/no-uuid/bar.c | 0 unit-tests/test-cases/no-uuid/comment.txt | 0 unit-tests/test-cases/no-uuid/foo.c | 0 unit-tests/test-cases/non-lazy-r/Makefile | 0 unit-tests/test-cases/non-lazy-r/foo.c | 0 unit-tests/test-cases/non-lazy-r/other.c | 0 .../objc-category-debug-notes/Makefile | 0 .../objc-category-debug-notes/test.m | 0 .../objc-exported_symbols_list/Makefile | 0 .../objc-exported_symbols_list/foo.exp | 0 .../objc-exported_symbols_list/foo.m | 0 unit-tests/test-cases/objc-gc-checks/Makefile | 0 unit-tests/test-cases/objc-gc-checks/bar.m | 0 .../test-cases/objc-gc-checks/comment.txt | 0 unit-tests/test-cases/objc-gc-checks/foo.m | 0 .../test-cases/objc-gc-checks/runtime.c | 0 .../test-cases/objc-literal-pointers/Makefile | 0 .../test-cases/objc-literal-pointers/test.m | 0 .../test-cases/objc-references/Makefile | 0 .../test-cases/objc-references/comment.txt | 0 unit-tests/test-cases/objc-references/test.m | 0 .../objc-selector-coalescing/Makefile | 0 .../objc-selector-coalescing/main.m | 0 .../objc-selector-coalescing/other.m | 0 unit-tests/test-cases/operator-new/Makefile | 0 unit-tests/test-cases/operator-new/main.cxx | 0 unit-tests/test-cases/order_file-ans/Makefile | 0 unit-tests/test-cases/order_file-ans/main.cxx | 0 .../test-cases/order_file-ans/main.expected | 0 .../test-cases/order_file-ans/main.order | 0 unit-tests/test-cases/order_file/Makefile | 0 unit-tests/test-cases/order_file/extra.s | 0 unit-tests/test-cases/order_file/main.c | 0 .../test-cases/order_file/main1.expected | 0 unit-tests/test-cases/order_file/main1.order | 0 .../test-cases/order_file/main2.expected | 0 unit-tests/test-cases/order_file/main2.order | 0 .../test-cases/order_file/main3.expected | 0 unit-tests/test-cases/order_file/main3.order | 0 unit-tests/test-cases/prebound-main/Makefile | 0 unit-tests/test-cases/prebound-main/main.c | 0 .../test-cases/prebound-split-seg/Makefile | 0 .../prebound-split-seg/address_table | 0 .../test-cases/prebound-split-seg/bar.c | 0 .../test-cases/private-non-lazy/Makefile | 0 unit-tests/test-cases/private-non-lazy/bar.c | 0 .../test-cases/private-non-lazy/comment.txt | 0 unit-tests/test-cases/private-non-lazy/foo.c | 0 .../test-cases/private-non-lazy/hello.c | 0 .../test-cases/re-export-cases/Makefile | 0 unit-tests/test-cases/re-export-cases/bar.c | 0 unit-tests/test-cases/re-export-cases/baz.c | 0 unit-tests/test-cases/re-export-cases/foo.c | 0 unit-tests/test-cases/re-export-flag/Makefile | 0 unit-tests/test-cases/re-export-flag/bar.c | 0 unit-tests/test-cases/re-export-flag/foo.c | 0 .../re-export-optimizations/Makefile | 0 .../test-cases/re-export-optimizations/bar.c | 0 .../test-cases/re-export-optimizations/foo.c | 0 .../test-cases/re-export-optimizations/main.c | 0 .../re-export-relative-paths/Makefile | 0 .../test-cases/re-export-relative-paths/bar.c | 0 .../test-cases/re-export-relative-paths/foo.c | 0 .../re-export-relative-paths/main.c | 0 .../re-export-relative-paths/wrap.c | 0 .../test-cases/read-only-relocs/Makefile | 0 unit-tests/test-cases/read-only-relocs/foo.c | 0 unit-tests/test-cases/read-only-relocs/test.c | 0 unit-tests/test-cases/rebase-basic/Makefile | 0 unit-tests/test-cases/rebase-basic/bar.m | 0 .../test-cases/rebase-basic/comment.txt | 0 unit-tests/test-cases/rebase-basic/foo.c | 0 unit-tests/test-cases/relocs-asm/Makefile | 0 unit-tests/test-cases/relocs-asm/comment.txt | 0 unit-tests/test-cases/relocs-asm/relocs-asm.s | 0 unit-tests/test-cases/relocs-c/Makefile | 0 unit-tests/test-cases/relocs-c/test.c | 0 unit-tests/test-cases/relocs-c2/Makefile | 0 unit-tests/test-cases/relocs-c2/comment.txt | 0 unit-tests/test-cases/relocs-c2/test.c | 0 .../test-cases/relocs-literals/Makefile | 0 unit-tests/test-cases/relocs-literals/test.c | 0 .../test-cases/relocs-literals2/Makefile | 0 unit-tests/test-cases/relocs-literals2/test.c | 0 .../test-cases/relocs-literals3/Makefile | 0 .../test-cases/relocs-literals3/comment.txt | 0 unit-tests/test-cases/relocs-literals3/test.c | 0 unit-tests/test-cases/relocs-objc/Makefile | 0 unit-tests/test-cases/relocs-objc/comment.txt | 0 unit-tests/test-cases/relocs-objc/test.m | 0 unit-tests/test-cases/segment-order/Makefile | 0 .../test-cases/segment-order/expected.order | 0 unit-tests/test-cases/segment-order/main.c | 0 unit-tests/test-cases/segment-order/segJJJ.s | 0 unit-tests/test-cases/segment-order/segKKK.s | 0 unit-tests/test-cases/segment-order/segLLL.s | 0 unit-tests/test-cases/slow-x86-stubs/Makefile | 0 unit-tests/test-cases/slow-x86-stubs/hello.c | 0 unit-tests/test-cases/special-labels/Makefile | 0 unit-tests/test-cases/special-labels/extra.s | 0 unit-tests/test-cases/special-labels/main.c | 0 unit-tests/test-cases/stabs-coalesce/Makefile | 0 .../test-cases/stabs-coalesce/comment.txt | 0 unit-tests/test-cases/stabs-coalesce/header.h | 0 .../test-cases/stabs-coalesce/hello.cxx | 0 .../test-cases/stabs-coalesce/other.cxx | 0 .../test-cases/stabs-directory-slash/Makefile | 0 .../test-cases/stabs-directory-slash/main.c | 0 .../stack_addr_no_size/Makefile.newtest | 0 .../test-cases/stack_addr_no_size/comment.txt | 0 .../test-cases/stack_addr_no_size/main.c | 0 .../test-cases/stack_addr_size/Makefile | 0 .../test-cases/stack_addr_size/comment.txt | 0 unit-tests/test-cases/stack_addr_size/main.c | 0 .../test-cases/stack_size_no_addr/Makefile | 0 .../test-cases/stack_size_no_addr/comment.txt | 0 .../test-cases/stack_size_no_addr/main.c | 0 .../test-cases/static-executable/Makefile | 0 .../test-cases/static-executable/test.c | 0 .../test-cases/static-strip/Makefile.newtest | 0 .../test-cases/static-strip/comment.txt | 0 unit-tests/test-cases/static-strip/test.c | 0 unit-tests/test-cases/strip-test2/Makefile | 0 unit-tests/test-cases/strip-test2/comment.txt | 0 unit-tests/test-cases/strip-test2/main.cxx | 0 .../test-cases/strip-test3/Makefile.newtest | 0 unit-tests/test-cases/strip-test3/comment.txt | 0 unit-tests/test-cases/strip-test3/main.cxx | 0 unit-tests/test-cases/strip_local/Makefile | 0 unit-tests/test-cases/strip_local/foo.c | 0 unit-tests/test-cases/strip_local/hello.c | 0 .../stripped-indirect-symbol-table/Makefile | 0 .../stripped-indirect-symbol-table/a.c | 0 .../stripped-indirect-symbol-table/b.c | 0 .../stripped-indirect-symbol-table/c.c | 0 .../stripped-indirect-symbol-table/func.c | 0 .../stripped-indirect-symbol-table/strip.list | 0 .../test-cases/stub-generation-weak/Makefile | 0 .../test-cases/stub-generation-weak/foo.c | 0 .../test-cases/stub-generation-weak/main.c | 0 .../test-cases/stub-generation/Makefile | 0 unit-tests/test-cases/stub-generation/test.c | 0 .../test-cases/switch-jump-table/Makefile | 56 ++++++++ .../switch-jump-table/interpose.exp | 2 + .../test-cases/switch-jump-table/main.c | 4 + .../test-cases/switch-jump-table/switch.s | 49 +++++++ unit-tests/test-cases/symbol-moving/Makefile | 0 unit-tests/test-cases/symbol-moving/aaa.c | 0 unit-tests/test-cases/symbol-moving/anotb.c | 0 unit-tests/test-cases/symbol-moving/bar.c | 0 unit-tests/test-cases/symbol-moving/bbb.c | 0 unit-tests/test-cases/symbol-moving/bnota.c | 0 unit-tests/test-cases/symbol-moving/foo.c | 0 unit-tests/test-cases/symbol-moving/main.c | 0 .../test-cases/tentative-and-archive/Makefile | 0 .../test-cases/tentative-and-archive/foo.c | 0 .../test-cases/tentative-and-archive/main.c | 0 .../test-cases/tentative-and-dylib/Makefile | 0 .../test-cases/tentative-and-dylib/bar.c | 0 .../test-cases/tentative-and-dylib/foo.c | 0 .../test-cases/tentative-and-dylib/main.c | 0 .../tentative-to-real-hidden/Makefile | 0 .../tentative-to-real-hidden/test.c | 0 .../test-cases/tentative-to-real/Makefile | 0 .../test-cases/tentative-to-real/comment.txt | 0 .../test-cases/tentative-to-real/test.c | 0 unit-tests/test-cases/thumb-blx/Makefile | 0 unit-tests/test-cases/thumb-blx/test.c | 0 .../undefined-dynamic-lookup/Makefile | 0 .../undefined-dynamic-lookup/main.c | 0 .../Makefile | 0 .../visibility-warning-dylib-v-archive/bar.c | 0 .../visibility-warning-dylib-v-archive/foo.c | 0 .../visibility-warning-dylib-v-archive/main.c | 0 .../test-cases/visibility-warning/Makefile | 0 .../test-cases/visibility-warning/foo.c | 0 .../visibility-warning/foo_hidden.c | 0 .../test-cases/visibility-warning/foo_weak.c | 0 .../visibility-warning/foo_weak_hidden.c | 0 .../test-cases/weak-def-ordinal/Makefile | 0 unit-tests/test-cases/weak-def-ordinal/bar.c | 0 unit-tests/test-cases/weak-def-ordinal/foo.c | 0 unit-tests/test-cases/weak-def-ordinal/main.c | 0 unit-tests/test-cases/weak_dylib/Makefile | 0 unit-tests/test-cases/weak_dylib/bar.c | 0 unit-tests/test-cases/weak_dylib/bar.h | 0 unit-tests/test-cases/weak_dylib/foo.c | 0 unit-tests/test-cases/weak_dylib/foo.h | 0 unit-tests/test-cases/weak_dylib/main.c | 0 unit-tests/test-cases/weak_import/Makefile | 0 unit-tests/test-cases/weak_import/foo.c | 0 unit-tests/test-cases/weak_import/foo.h | 0 unit-tests/test-cases/weak_import/main.c | 0 .../test-cases/weak_import2/Makefile.newtest | 0 .../test-cases/weak_import2/comment.txt | 0 unit-tests/test-cases/weak_import2/foo.c | 0 unit-tests/test-cases/weak_import2/foo.h | 0 unit-tests/test-cases/weak_import2/foo1.c | 0 unit-tests/test-cases/weak_import2/main.c | 0 unit-tests/test-cases/weak_import3/Makefile | 0 .../test-cases/weak_import3/comment.txt | 0 unit-tests/test-cases/weak_import3/foo.c | 0 unit-tests/test-cases/weak_import3/foo.h | 0 unit-tests/test-cases/weak_import3/foo1.c | 0 unit-tests/test-cases/weak_import3/main.c | 0 unit-tests/test-cases/why_live/Makefile | 0 unit-tests/test-cases/why_live/bar.c | 0 unit-tests/test-cases/why_live/foo.c | 0 unit-tests/test-cases/why_live/main.c | 0 unit-tests/test-cases/zero-fill/Makefile | 0 unit-tests/test-cases/zero-fill/test.c | 0 unit-tests/test-cases/zero-fill2/Makefile | 0 unit-tests/test-cases/zero-fill2/comment.txt | 0 unit-tests/test-cases/zero-fill2/test.c | 0 unit-tests/test-cases/zero-fill3/Makefile | 0 unit-tests/test-cases/zero-fill3/comment.txt | 0 unit-tests/test-cases/zero-fill3/test.c | 0 629 files changed, 465 insertions(+), 38 deletions(-) mode change 100755 => 100644 APPLE_LICENSE mode change 100755 => 100644 ChangeLog mode change 100755 => 100644 doc/man/man1/ld.1 mode change 100755 => 100644 doc/man/man1/ld64.1 mode change 100755 => 100644 doc/man/man1/rebase.1 mode change 100755 => 100644 ld64.xcodeproj/project.pbxproj mode change 100755 => 100644 src/Architectures.hpp mode change 100755 => 100644 src/ArchiveReader.hpp mode change 100755 => 100644 src/ExecutableFile.h mode change 100755 => 100644 src/FileAbstraction.hpp mode change 100755 => 100644 src/LTOReader.hpp mode change 100755 => 100644 src/MachOFileAbstraction.hpp mode change 100755 => 100644 src/MachOReaderDylib.hpp mode change 100755 => 100644 src/MachOReaderRelocatable.hpp mode change 100755 => 100644 src/MachOWriterExecutable.hpp mode change 100755 => 100644 src/ObjectDump.cpp mode change 100755 => 100644 src/ObjectFile.h mode change 100755 => 100644 src/OpaqueSection.hpp mode change 100755 => 100644 src/Options.cpp mode change 100755 => 100644 src/Options.h mode change 100755 => 100644 src/SectCreate.h mode change 100755 => 100644 src/debugline.c mode change 100755 => 100644 src/debugline.h mode change 100755 => 100644 src/dwarf2.h mode change 100755 => 100644 src/ld.cpp mode change 100755 => 100644 src/machochecker.cpp mode change 100755 => 100644 src/rebase.cpp mode change 100755 => 100644 unit-tests/README mode change 100755 => 100644 unit-tests/include/common.makefile mode change 100755 => 100644 unit-tests/include/test.h mode change 100755 => 100644 unit-tests/src/Makefile mode change 100755 => 100644 unit-tests/src/results-to-xml.cpp mode change 100755 => 100644 unit-tests/src/xmlparser/xmlparser.1 mode change 100755 => 100644 unit-tests/src/xmlparser/xmlparser.m mode change 100755 => 100644 unit-tests/src/xmlparser/xmlparser.xcodeproj/project.pbxproj mode change 100755 => 100644 unit-tests/src/xmlparser/xmlparser_Prefix.pch mode change 100755 => 100644 unit-tests/test-cases/16-byte-alignment/Makefile mode change 100755 => 100644 unit-tests/test-cases/16-byte-alignment/comment.txt mode change 100755 => 100644 unit-tests/test-cases/16-byte-alignment/tl_test2.c mode change 100755 => 100644 unit-tests/test-cases/absolute-symbol/Makefile mode change 100755 => 100644 unit-tests/test-cases/absolute-symbol/abs.s mode change 100755 => 100644 unit-tests/test-cases/absolute-symbol/main.c mode change 100755 => 100644 unit-tests/test-cases/alias-command-line/Makefile mode change 100755 => 100644 unit-tests/test-cases/alias-command-line/aliases.s mode change 100755 => 100644 unit-tests/test-cases/alias-command-line/aliases.txt mode change 100755 => 100644 unit-tests/test-cases/alias-objects/Makefile mode change 100755 => 100644 unit-tests/test-cases/alias-objects/aliases.s mode change 100755 => 100644 unit-tests/test-cases/align-modulus/Makefile mode change 100755 => 100644 unit-tests/test-cases/align-modulus/align.s mode change 100755 => 100644 unit-tests/test-cases/align-modulus/comment.txt mode change 100755 => 100644 unit-tests/test-cases/align-modulus/foo.c mode change 100755 => 100644 unit-tests/test-cases/align-modulus/foo.exp mode change 100755 => 100644 unit-tests/test-cases/allow-stack-execute/Makefile mode change 100755 => 100644 unit-tests/test-cases/allow-stack-execute/comment.txt mode change 100755 => 100644 unit-tests/test-cases/allow-stack-execute/foo.c mode change 100755 => 100644 unit-tests/test-cases/allowable-client/Makefile mode change 100755 => 100644 unit-tests/test-cases/allowable-client/bar.c mode change 100755 => 100644 unit-tests/test-cases/allowable-client/baz.c mode change 100755 => 100644 unit-tests/test-cases/allowable-client/comment.txt mode change 100755 => 100644 unit-tests/test-cases/allowable-client/foo.c mode change 100755 => 100644 unit-tests/test-cases/allowable-client/main.c mode change 100755 => 100644 unit-tests/test-cases/archive-ObjC/Makefile mode change 100755 => 100644 unit-tests/test-cases/archive-ObjC/bar.c mode change 100755 => 100644 unit-tests/test-cases/archive-ObjC/baz.m mode change 100755 => 100644 unit-tests/test-cases/archive-ObjC/foo.m mode change 100755 => 100644 unit-tests/test-cases/archive-ObjC/main.c mode change 100755 => 100644 unit-tests/test-cases/archive-basic/Makefile mode change 100755 => 100644 unit-tests/test-cases/archive-basic/bar.c mode change 100755 => 100644 unit-tests/test-cases/archive-basic/comment.txt mode change 100755 => 100644 unit-tests/test-cases/archive-basic/foo.c mode change 100755 => 100644 unit-tests/test-cases/archive-basic/main.c mode change 100755 => 100644 unit-tests/test-cases/archive-duplicate/Makefile mode change 100755 => 100644 unit-tests/test-cases/archive-duplicate/bar.c mode change 100755 => 100644 unit-tests/test-cases/archive-duplicate/foo.c mode change 100755 => 100644 unit-tests/test-cases/archive-duplicate/main.c mode change 100755 => 100644 unit-tests/test-cases/archive-weak/Makefile mode change 100755 => 100644 unit-tests/test-cases/archive-weak/bar.c mode change 100755 => 100644 unit-tests/test-cases/archive-weak/baz.c mode change 100755 => 100644 unit-tests/test-cases/archive-weak/comment.txt mode change 100755 => 100644 unit-tests/test-cases/archive-weak/foo.c mode change 100755 => 100644 unit-tests/test-cases/archive-weak/main.c mode change 100755 => 100644 unit-tests/test-cases/auto-arch/Makefile mode change 100755 => 100644 unit-tests/test-cases/auto-arch/hello.c mode change 100755 => 100644 unit-tests/test-cases/blank-stubs/Makefile mode change 100755 => 100644 unit-tests/test-cases/blank-stubs/comment.txt mode change 100755 => 100644 unit-tests/test-cases/blank-stubs/foo.c mode change 100755 => 100644 unit-tests/test-cases/blank-stubs/main.c create mode 100644 unit-tests/test-cases/branch-islands/Makefile create mode 100644 unit-tests/test-cases/branch-islands/extra.c create mode 100644 unit-tests/test-cases/branch-islands/hello.c create mode 100644 unit-tests/test-cases/branch-islands/space.s mode change 100755 => 100644 unit-tests/test-cases/bundle_loader/Makefile mode change 100755 => 100644 unit-tests/test-cases/bundle_loader/bar.c mode change 100755 => 100644 unit-tests/test-cases/bundle_loader/bundle.c mode change 100755 => 100644 unit-tests/test-cases/bundle_loader/main.c mode change 100755 => 100644 unit-tests/test-cases/cfstring-coalesce/Makefile mode change 100755 => 100644 unit-tests/test-cases/cfstring-coalesce/bar.c mode change 100755 => 100644 unit-tests/test-cases/cfstring-coalesce/foo.c mode change 100755 => 100644 unit-tests/test-cases/cfstring-utf16/Makefile mode change 100755 => 100644 unit-tests/test-cases/cfstring-utf16/bar.m mode change 100755 => 100644 unit-tests/test-cases/cfstring-utf16/foo.m mode change 100755 => 100644 unit-tests/test-cases/commons-alignment/Makefile mode change 100755 => 100644 unit-tests/test-cases/commons-alignment/foo.s mode change 100755 => 100644 unit-tests/test-cases/commons-coalesced-dead_strip/Makefile mode change 100755 => 100644 unit-tests/test-cases/commons-coalesced-dead_strip/a.c mode change 100755 => 100644 unit-tests/test-cases/commons-coalesced-dead_strip/b.c mode change 100755 => 100644 unit-tests/test-cases/commons-coalesced-dead_strip/c.c mode change 100755 => 100644 unit-tests/test-cases/commons-coalesced-dead_strip/c.h mode change 100755 => 100644 unit-tests/test-cases/commons-mixed/Makefile mode change 100755 => 100644 unit-tests/test-cases/commons-mixed/bar.c mode change 100755 => 100644 unit-tests/test-cases/commons-mixed/foo.c mode change 100755 => 100644 unit-tests/test-cases/commons-order/Makefile mode change 100755 => 100644 unit-tests/test-cases/commons-order/bar.c mode change 100755 => 100644 unit-tests/test-cases/commons-order/baz.c mode change 100755 => 100644 unit-tests/test-cases/commons-order/expected.order mode change 100755 => 100644 unit-tests/test-cases/commons-order/foo.c mode change 100755 => 100644 unit-tests/test-cases/commons-order/main.c mode change 100755 => 100644 unit-tests/test-cases/cpu-sub-types-preference/Makefile mode change 100755 => 100644 unit-tests/test-cases/cpu-sub-types-preference/foo.c mode change 100755 => 100644 unit-tests/test-cases/cpu-sub-types/Makefile mode change 100755 => 100644 unit-tests/test-cases/cpu-sub-types/comment.txt mode change 100755 => 100644 unit-tests/test-cases/cpu-sub-types/foo.c mode change 100755 => 100644 unit-tests/test-cases/cpu-sub-types/main.c mode change 100755 => 100644 unit-tests/test-cases/dead_strip-archive-global/Makefile mode change 100755 => 100644 unit-tests/test-cases/dead_strip-archive-global/foo.c mode change 100755 => 100644 unit-tests/test-cases/dead_strip-archive-global/main.c mode change 100755 => 100644 unit-tests/test-cases/dead_strip-archive/Makefile mode change 100755 => 100644 unit-tests/test-cases/dead_strip-archive/comment.txt mode change 100755 => 100644 unit-tests/test-cases/dead_strip-archive/foo.c mode change 100755 => 100644 unit-tests/test-cases/dead_strip-archive/main.c mode change 100755 => 100644 unit-tests/test-cases/dead_strip-init-archive/Makefile mode change 100755 => 100644 unit-tests/test-cases/dead_strip-init-archive/bar.c mode change 100755 => 100644 unit-tests/test-cases/dead_strip-init-archive/foo.c mode change 100755 => 100644 unit-tests/test-cases/dead_strip/Makefile mode change 100755 => 100644 unit-tests/test-cases/dead_strip/comment.txt mode change 100755 => 100644 unit-tests/test-cases/dead_strip/deadwood.c mode change 100755 => 100644 unit-tests/test-cases/dead_strip/main.c mode change 100755 => 100644 unit-tests/test-cases/dead_strip/main.exp mode change 100755 => 100644 unit-tests/test-cases/dead_strip_dylibs/Makefile mode change 100755 => 100644 unit-tests/test-cases/dead_strip_dylibs/bar.c mode change 100755 => 100644 unit-tests/test-cases/dead_strip_dylibs/baz.c mode change 100755 => 100644 unit-tests/test-cases/dead_strip_dylibs/foo.c mode change 100755 => 100644 unit-tests/test-cases/dead_strip_dylibs/main.c mode change 100755 => 100644 unit-tests/test-cases/dead_strip_section_attribute/Makefile mode change 100755 => 100644 unit-tests/test-cases/dead_strip_section_attribute/comment.txt mode change 100755 => 100644 unit-tests/test-cases/dead_strip_section_attribute/main.c mode change 100755 => 100644 unit-tests/test-cases/dtrace-static-probes-coalescing/Makefile mode change 100755 => 100644 unit-tests/test-cases/dtrace-static-probes-coalescing/Number.d mode change 100755 => 100644 unit-tests/test-cases/dtrace-static-probes-coalescing/a.cxx mode change 100755 => 100644 unit-tests/test-cases/dtrace-static-probes-coalescing/header.h mode change 100755 => 100644 unit-tests/test-cases/dtrace-static-probes-coalescing/x.cxx mode change 100755 => 100644 unit-tests/test-cases/dtrace-static-probes/Makefile mode change 100755 => 100644 unit-tests/test-cases/dtrace-static-probes/bar.d mode change 100755 => 100644 unit-tests/test-cases/dtrace-static-probes/comment.txt mode change 100755 => 100644 unit-tests/test-cases/dtrace-static-probes/foo.d mode change 100755 => 100644 unit-tests/test-cases/dtrace-static-probes/main.c mode change 100755 => 100644 unit-tests/test-cases/dwarf-archive-all_load/Makefile mode change 100755 => 100644 unit-tests/test-cases/dwarf-archive-all_load/bar.c mode change 100755 => 100644 unit-tests/test-cases/dwarf-archive-all_load/baz.c mode change 100755 => 100644 unit-tests/test-cases/dwarf-archive-all_load/comment.txt mode change 100755 => 100644 unit-tests/test-cases/dwarf-archive-all_load/expected-stabs mode change 100755 => 100644 unit-tests/test-cases/dwarf-archive-all_load/foo.c mode change 100755 => 100644 unit-tests/test-cases/dwarf-debug-notes-r/Makefile mode change 100755 => 100644 unit-tests/test-cases/dwarf-debug-notes-r/bar.cxx mode change 100755 => 100644 unit-tests/test-cases/dwarf-debug-notes-r/comment.txt mode change 100755 => 100644 unit-tests/test-cases/dwarf-debug-notes-r/expected-stabs mode change 100755 => 100644 unit-tests/test-cases/dwarf-debug-notes-r/foo.cxx mode change 100755 => 100644 unit-tests/test-cases/dwarf-debug-notes-r/main.cxx mode change 100755 => 100644 unit-tests/test-cases/dwarf-debug-notes/Makefile mode change 100755 => 100644 unit-tests/test-cases/dwarf-debug-notes/comment.txt mode change 100755 => 100644 unit-tests/test-cases/dwarf-debug-notes/expected-stabs mode change 100755 => 100644 unit-tests/test-cases/dwarf-debug-notes/header.h mode change 100755 => 100644 unit-tests/test-cases/dwarf-debug-notes/hello.cxx mode change 100755 => 100644 unit-tests/test-cases/dwarf-debug-notes/other.cxx mode change 100755 => 100644 unit-tests/test-cases/dwarf-ignore/Makefile mode change 100755 => 100644 unit-tests/test-cases/dwarf-ignore/comment.txt mode change 100755 => 100644 unit-tests/test-cases/dwarf-ignore/hello.c mode change 100755 => 100644 unit-tests/test-cases/dwarf-strip/Makefile mode change 100755 => 100644 unit-tests/test-cases/dwarf-strip/comment.txt mode change 100755 => 100644 unit-tests/test-cases/dwarf-strip/hello.c mode change 100755 => 100644 unit-tests/test-cases/dylib-aliases/Makefile mode change 100755 => 100644 unit-tests/test-cases/dylib-aliases/bar.c mode change 100755 => 100644 unit-tests/test-cases/dylib-aliases/foo.c mode change 100755 => 100644 unit-tests/test-cases/dylib-aliases/main.c mode change 100755 => 100644 unit-tests/test-cases/dylib-re-export-cycle/Makefile mode change 100755 => 100644 unit-tests/test-cases/dylib-re-export-cycle/bar.c mode change 100755 => 100644 unit-tests/test-cases/dylib-re-export-cycle/foo.c mode change 100755 => 100644 unit-tests/test-cases/dylib-re-export-cycle/main.c mode change 100755 => 100644 unit-tests/test-cases/dylib_file-missing/Makefile mode change 100755 => 100644 unit-tests/test-cases/dylib_file-missing/bar.c mode change 100755 => 100644 unit-tests/test-cases/dylib_file-missing/foo.c mode change 100755 => 100644 unit-tests/test-cases/dylib_file-missing/main.c mode change 100755 => 100644 unit-tests/test-cases/dylib_file/Makefile mode change 100755 => 100644 unit-tests/test-cases/dylib_file/bar.c mode change 100755 => 100644 unit-tests/test-cases/dylib_file/comment.txt mode change 100755 => 100644 unit-tests/test-cases/dylib_file/foo.c mode change 100755 => 100644 unit-tests/test-cases/dylib_file/main.c mode change 100755 => 100644 unit-tests/test-cases/dylib_init/Makefile mode change 100755 => 100644 unit-tests/test-cases/dylib_init/foo.c mode change 100755 => 100644 unit-tests/test-cases/eh-coalescing-r/Makefile mode change 100755 => 100644 unit-tests/test-cases/eh-coalescing-r/bar.cxx mode change 100755 => 100644 unit-tests/test-cases/eh-coalescing-r/foo.cxx mode change 100755 => 100644 unit-tests/test-cases/eh-coalescing-r/func.h mode change 100755 => 100644 unit-tests/test-cases/eh-coalescing/Makefile mode change 100755 => 100644 unit-tests/test-cases/eh-coalescing/bar.cxx mode change 100755 => 100644 unit-tests/test-cases/eh-coalescing/foo.cxx mode change 100755 => 100644 unit-tests/test-cases/eh-coalescing/foo2.cxx mode change 100755 => 100644 unit-tests/test-cases/eh-coalescing/func.h mode change 100755 => 100644 unit-tests/test-cases/eh-strip-test/Makefile mode change 100755 => 100644 unit-tests/test-cases/eh-strip-test/comment.txt mode change 100755 => 100644 unit-tests/test-cases/eh-strip-test/main.cxx mode change 100755 => 100644 unit-tests/test-cases/eh_frame/Makefile mode change 100755 => 100644 unit-tests/test-cases/eh_frame/bar.cxx mode change 100755 => 100644 unit-tests/test-cases/eh_frame/foo.cxx mode change 100755 => 100644 unit-tests/test-cases/empty-object/Makefile mode change 100755 => 100644 unit-tests/test-cases/empty-object/main.c mode change 100755 => 100644 unit-tests/test-cases/end-label/Makefile mode change 100755 => 100644 unit-tests/test-cases/end-label/bar.s mode change 100755 => 100644 unit-tests/test-cases/end-label/foo.s mode change 100755 => 100644 unit-tests/test-cases/exported-symbols-wildcards-dead_strip/Makefile mode change 100755 => 100644 unit-tests/test-cases/exported-symbols-wildcards-dead_strip/foo.c mode change 100755 => 100644 unit-tests/test-cases/exported-symbols-wildcards/Makefile mode change 100755 => 100644 unit-tests/test-cases/exported-symbols-wildcards/expect1 mode change 100755 => 100644 unit-tests/test-cases/exported-symbols-wildcards/expect2 mode change 100755 => 100644 unit-tests/test-cases/exported-symbols-wildcards/expect3 mode change 100755 => 100644 unit-tests/test-cases/exported-symbols-wildcards/expect4 mode change 100755 => 100644 unit-tests/test-cases/exported-symbols-wildcards/expect5 mode change 100755 => 100644 unit-tests/test-cases/exported-symbols-wildcards/expect6 mode change 100755 => 100644 unit-tests/test-cases/exported-symbols-wildcards/expect7 mode change 100755 => 100644 unit-tests/test-cases/exported-symbols-wildcards/expect8 mode change 100755 => 100644 unit-tests/test-cases/exported-symbols-wildcards/foo.c mode change 100755 => 100644 unit-tests/test-cases/exported-symbols-wildcards/list5 mode change 100755 => 100644 unit-tests/test-cases/exported_symbols_list-eol/Makefile mode change 100755 => 100644 unit-tests/test-cases/exported_symbols_list-eol/expected.nm mode change 100755 => 100644 unit-tests/test-cases/exported_symbols_list-eol/test.c mode change 100755 => 100644 unit-tests/test-cases/exported_symbols_list-eol/test.exp mode change 100755 => 100644 unit-tests/test-cases/exported_symbols_list-hidden/Makefile mode change 100755 => 100644 unit-tests/test-cases/exported_symbols_list-hidden/test.c mode change 100755 => 100644 unit-tests/test-cases/exported_symbols_list-hidden/test.exp mode change 100755 => 100644 unit-tests/test-cases/exported_symbols_list-r/Makefile mode change 100755 => 100644 unit-tests/test-cases/exported_symbols_list-r/test-bad.exp mode change 100755 => 100644 unit-tests/test-cases/exported_symbols_list-r/test.c mode change 100755 => 100644 unit-tests/test-cases/exported_symbols_list-r/test.exp mode change 100755 => 100644 unit-tests/test-cases/external-reloc-sorting/Makefile mode change 100755 => 100644 unit-tests/test-cases/external-reloc-sorting/foo.c mode change 100755 => 100644 unit-tests/test-cases/external-reloc-sorting/main.c mode change 100755 => 100644 unit-tests/test-cases/filelist/Makefile mode change 100755 => 100644 unit-tests/test-cases/filelist/comment.txt mode change 100755 => 100644 unit-tests/test-cases/filelist/hello.c mode change 100755 => 100644 unit-tests/test-cases/flat-dylib/Makefile mode change 100755 => 100644 unit-tests/test-cases/flat-dylib/main.c mode change 100755 => 100644 unit-tests/test-cases/flat-indirect-undefines/Makefile mode change 100755 => 100644 unit-tests/test-cases/flat-indirect-undefines/bar.c mode change 100755 => 100644 unit-tests/test-cases/flat-indirect-undefines/foo.c mode change 100755 => 100644 unit-tests/test-cases/flat-indirect-undefines/main.c mode change 100755 => 100644 unit-tests/test-cases/flat-main/Makefile mode change 100755 => 100644 unit-tests/test-cases/flat-main/main.c mode change 100755 => 100644 unit-tests/test-cases/got-elimination/Makefile mode change 100755 => 100644 unit-tests/test-cases/got-elimination/bar.c mode change 100755 => 100644 unit-tests/test-cases/got-elimination/foo.c mode change 100755 => 100644 unit-tests/test-cases/header-pad/Makefile mode change 100755 => 100644 unit-tests/test-cases/header-pad/comment.txt mode change 100755 => 100644 unit-tests/test-cases/header-pad/hello.c mode change 100755 => 100644 unit-tests/test-cases/hello-world/Makefile mode change 100755 => 100644 unit-tests/test-cases/hello-world/comment.txt mode change 100755 => 100644 unit-tests/test-cases/hello-world/hello.c mode change 100755 => 100644 unit-tests/test-cases/implicit-common2/Makefile.newtest mode change 100755 => 100644 unit-tests/test-cases/implicit-common2/a.c mode change 100755 => 100644 unit-tests/test-cases/implicit-common2/comment.txt mode change 100755 => 100644 unit-tests/test-cases/implicit-common2/test.c mode change 100755 => 100644 unit-tests/test-cases/implicit-common3/Makefile mode change 100755 => 100644 unit-tests/test-cases/implicit-common3/a.c mode change 100755 => 100644 unit-tests/test-cases/implicit-common3/comment.txt mode change 100755 => 100644 unit-tests/test-cases/implicit-common3/test.c mode change 100755 => 100644 unit-tests/test-cases/implicit-common4/Makefile.newtest mode change 100755 => 100644 unit-tests/test-cases/implicit-common4/a.c mode change 100755 => 100644 unit-tests/test-cases/implicit-common4/comment.txt mode change 100755 => 100644 unit-tests/test-cases/implicit-common4/test.c mode change 100755 => 100644 unit-tests/test-cases/implicit-common5/Makefile.newtest mode change 100755 => 100644 unit-tests/test-cases/implicit-common5/a.c mode change 100755 => 100644 unit-tests/test-cases/implicit-common5/comment.txt mode change 100755 => 100644 unit-tests/test-cases/implicit-common5/test.c mode change 100755 => 100644 unit-tests/test-cases/implicit_dylib/Makefile mode change 100755 => 100644 unit-tests/test-cases/implicit_dylib/bar.c mode change 100755 => 100644 unit-tests/test-cases/implicit_dylib/foo.c mode change 100755 => 100644 unit-tests/test-cases/implicit_dylib/main.c mode change 100755 => 100644 unit-tests/test-cases/indirect-dylib/Makefile mode change 100755 => 100644 unit-tests/test-cases/indirect-dylib/bar.c mode change 100755 => 100644 unit-tests/test-cases/indirect-dylib/comment.txt mode change 100755 => 100644 unit-tests/test-cases/indirect-dylib/foo.c mode change 100755 => 100644 unit-tests/test-cases/indirect-dylib/main.c mode change 100755 => 100644 unit-tests/test-cases/indirect-path-search/Makefile mode change 100755 => 100644 unit-tests/test-cases/indirect-path-search/bar.c mode change 100755 => 100644 unit-tests/test-cases/indirect-path-search/baz.c mode change 100755 => 100644 unit-tests/test-cases/indirect-path-search/foo.c mode change 100755 => 100644 unit-tests/test-cases/indirect-path-search/main.c mode change 100755 => 100644 unit-tests/test-cases/interposable_list/Makefile mode change 100755 => 100644 unit-tests/test-cases/interposable_list/test.c mode change 100755 => 100644 unit-tests/test-cases/interposable_list/test.exp mode change 100755 => 100644 unit-tests/test-cases/large-data/Makefile mode change 100755 => 100644 unit-tests/test-cases/large-data/test1.c mode change 100755 => 100644 unit-tests/test-cases/large-data/test2.c mode change 100755 => 100644 unit-tests/test-cases/large-data/test3.c mode change 100755 => 100644 unit-tests/test-cases/large-data/test4.c mode change 100755 => 100644 unit-tests/test-cases/late-link-error/Makefile mode change 100755 => 100644 unit-tests/test-cases/late-link-error/comment.txt mode change 100755 => 100644 unit-tests/test-cases/late-link-error/link_error.s mode change 100755 => 100644 unit-tests/test-cases/lazy-dylib-objc/Makefile mode change 100755 => 100644 unit-tests/test-cases/lazy-dylib-objc/foo.h mode change 100755 => 100644 unit-tests/test-cases/lazy-dylib-objc/foo.m mode change 100755 => 100644 unit-tests/test-cases/lazy-dylib-objc/main.m mode change 100755 => 100644 unit-tests/test-cases/lazy-dylib/Makefile mode change 100755 => 100644 unit-tests/test-cases/lazy-dylib/bad.c mode change 100755 => 100644 unit-tests/test-cases/lazy-dylib/bad2.c mode change 100755 => 100644 unit-tests/test-cases/lazy-dylib/foo.c mode change 100755 => 100644 unit-tests/test-cases/lazy-dylib/main.c mode change 100755 => 100644 unit-tests/test-cases/literals-coalesce-alignment/Makefile mode change 100755 => 100644 unit-tests/test-cases/literals-coalesce-alignment/cstring-align-0.s mode change 100755 => 100644 unit-tests/test-cases/literals-coalesce-alignment/cstring-align-3.s mode change 100755 => 100644 unit-tests/test-cases/literals-coalesce-alignment2/Makefile mode change 100755 => 100644 unit-tests/test-cases/literals-coalesce-alignment2/comment.txt mode change 100755 => 100644 unit-tests/test-cases/literals-coalesce-alignment2/cstring-align-0.s mode change 100755 => 100644 unit-tests/test-cases/literals-coalesce-alignment2/cstring-align-3.s mode change 100755 => 100644 unit-tests/test-cases/literals-coalesce-alignment3/Makefile mode change 100755 => 100644 unit-tests/test-cases/literals-coalesce-alignment3/comment.txt mode change 100755 => 100644 unit-tests/test-cases/literals-coalesce-alignment3/cstring-align-0.s mode change 100755 => 100644 unit-tests/test-cases/literals-coalesce-alignment3/cstring-align-3.s mode change 100755 => 100644 unit-tests/test-cases/literals-coalesce/Makefile mode change 100755 => 100644 unit-tests/test-cases/literals-coalesce/literals.s mode change 100755 => 100644 unit-tests/test-cases/literals-coalesce2/Makefile.newtest mode change 100755 => 100644 unit-tests/test-cases/literals-coalesce2/comment.txt mode change 100755 => 100644 unit-tests/test-cases/literals-coalesce2/literals.s mode change 100755 => 100644 unit-tests/test-cases/llvm-integration/Makefile mode change 100755 => 100644 unit-tests/test-cases/llvm-integration/a.c mode change 100755 => 100644 unit-tests/test-cases/llvm-integration/a1.c mode change 100755 => 100644 unit-tests/test-cases/llvm-integration/a10.c mode change 100755 => 100644 unit-tests/test-cases/llvm-integration/a11.c mode change 100755 => 100644 unit-tests/test-cases/llvm-integration/a12.c mode change 100755 => 100644 unit-tests/test-cases/llvm-integration/a12.h mode change 100755 => 100644 unit-tests/test-cases/llvm-integration/a13.cc mode change 100755 => 100644 unit-tests/test-cases/llvm-integration/a13.h mode change 100755 => 100644 unit-tests/test-cases/llvm-integration/a14.c mode change 100755 => 100644 unit-tests/test-cases/llvm-integration/a15.c mode change 100755 => 100644 unit-tests/test-cases/llvm-integration/a17.c mode change 100755 => 100644 unit-tests/test-cases/llvm-integration/a18.c mode change 100755 => 100644 unit-tests/test-cases/llvm-integration/a2.c mode change 100755 => 100644 unit-tests/test-cases/llvm-integration/a20.c mode change 100755 => 100644 unit-tests/test-cases/llvm-integration/a3.c mode change 100755 => 100644 unit-tests/test-cases/llvm-integration/a4.c mode change 100755 => 100644 unit-tests/test-cases/llvm-integration/a5.c mode change 100755 => 100644 unit-tests/test-cases/llvm-integration/a6.c mode change 100755 => 100644 unit-tests/test-cases/llvm-integration/a7.c mode change 100755 => 100644 unit-tests/test-cases/llvm-integration/a8.c mode change 100755 => 100644 unit-tests/test-cases/llvm-integration/a9.c mode change 100755 => 100644 unit-tests/test-cases/llvm-integration/a9.list mode change 100755 => 100644 unit-tests/test-cases/llvm-integration/b.c mode change 100755 => 100644 unit-tests/test-cases/llvm-integration/b1.c mode change 100755 => 100644 unit-tests/test-cases/llvm-integration/b10.c mode change 100755 => 100644 unit-tests/test-cases/llvm-integration/b10.h mode change 100755 => 100644 unit-tests/test-cases/llvm-integration/b14.c mode change 100755 => 100644 unit-tests/test-cases/llvm-integration/b15.c mode change 100755 => 100644 unit-tests/test-cases/llvm-integration/b17.c mode change 100755 => 100644 unit-tests/test-cases/llvm-integration/b2.c mode change 100755 => 100644 unit-tests/test-cases/llvm-integration/b20.c mode change 100755 => 100644 unit-tests/test-cases/llvm-integration/b3.c mode change 100755 => 100644 unit-tests/test-cases/llvm-integration/b4.c mode change 100755 => 100644 unit-tests/test-cases/llvm-integration/b5.c mode change 100755 => 100644 unit-tests/test-cases/llvm-integration/b7.c mode change 100755 => 100644 unit-tests/test-cases/llvm-integration/c15.c mode change 100755 => 100644 unit-tests/test-cases/llvm-integration/main.c mode change 100755 => 100644 unit-tests/test-cases/llvm-integration/main1.c mode change 100755 => 100644 unit-tests/test-cases/llvm-integration/main10.c mode change 100755 => 100644 unit-tests/test-cases/llvm-integration/main11.c mode change 100755 => 100644 unit-tests/test-cases/llvm-integration/main12.c mode change 100755 => 100644 unit-tests/test-cases/llvm-integration/main13.cc mode change 100755 => 100644 unit-tests/test-cases/llvm-integration/main16.c mode change 100755 => 100644 unit-tests/test-cases/llvm-integration/main19.c mode change 100755 => 100644 unit-tests/test-cases/llvm-integration/main2.c mode change 100755 => 100644 unit-tests/test-cases/llvm-integration/main20.c mode change 100755 => 100644 unit-tests/test-cases/llvm-integration/main3.c mode change 100755 => 100644 unit-tests/test-cases/llvm-integration/main4.c mode change 100755 => 100644 unit-tests/test-cases/llvm-integration/main5.c mode change 100755 => 100644 unit-tests/test-cases/llvm-integration/main6.c mode change 100755 => 100644 unit-tests/test-cases/llvm-integration/main7.c mode change 100755 => 100644 unit-tests/test-cases/llvm-integration/main8.c mode change 100755 => 100644 unit-tests/test-cases/llvm-integration/main9.c mode change 100755 => 100644 unit-tests/test-cases/loader_path/Makefile mode change 100755 => 100644 unit-tests/test-cases/loader_path/bar.c mode change 100755 => 100644 unit-tests/test-cases/loader_path/foo.c mode change 100755 => 100644 unit-tests/test-cases/loader_path/main.c mode change 100755 => 100644 unit-tests/test-cases/local-symbol-partial-stripping/Makefile mode change 100755 => 100644 unit-tests/test-cases/local-symbol-partial-stripping/a.expect mode change 100755 => 100644 unit-tests/test-cases/local-symbol-partial-stripping/a.list mode change 100755 => 100644 unit-tests/test-cases/local-symbol-partial-stripping/b.expect mode change 100755 => 100644 unit-tests/test-cases/local-symbol-partial-stripping/b.list mode change 100755 => 100644 unit-tests/test-cases/local-symbol-partial-stripping/c.list mode change 100755 => 100644 unit-tests/test-cases/local-symbol-partial-stripping/foo.c mode change 100755 => 100644 unit-tests/test-cases/local-symbol-partial-stripping/main.c mode change 100755 => 100644 unit-tests/test-cases/main-stripped/Makefile mode change 100755 => 100644 unit-tests/test-cases/main-stripped/main.c mode change 100755 => 100644 unit-tests/test-cases/main-stripped/main.exp mode change 100755 => 100644 unit-tests/test-cases/missing-option-args/Makefile mode change 100755 => 100644 unit-tests/test-cases/missing-option-args/comment.txt mode change 100755 => 100644 unit-tests/test-cases/multiple-entry-points/Makefile mode change 100755 => 100644 unit-tests/test-cases/multiple-entry-points/comment.txt mode change 100755 => 100644 unit-tests/test-cases/multiple-entry-points/test.s mode change 100755 => 100644 unit-tests/test-cases/no-dynamic-common/Makefile.newtest mode change 100755 => 100644 unit-tests/test-cases/no-dynamic-common/a.c mode change 100755 => 100644 unit-tests/test-cases/no-dynamic-common/comment.txt mode change 100755 => 100644 unit-tests/test-cases/no-dynamic-common/test.c mode change 100755 => 100644 unit-tests/test-cases/no-uuid/Makefile mode change 100755 => 100644 unit-tests/test-cases/no-uuid/bar.c mode change 100755 => 100644 unit-tests/test-cases/no-uuid/comment.txt mode change 100755 => 100644 unit-tests/test-cases/no-uuid/foo.c mode change 100755 => 100644 unit-tests/test-cases/non-lazy-r/Makefile mode change 100755 => 100644 unit-tests/test-cases/non-lazy-r/foo.c mode change 100755 => 100644 unit-tests/test-cases/non-lazy-r/other.c mode change 100755 => 100644 unit-tests/test-cases/objc-category-debug-notes/Makefile mode change 100755 => 100644 unit-tests/test-cases/objc-category-debug-notes/test.m mode change 100755 => 100644 unit-tests/test-cases/objc-exported_symbols_list/Makefile mode change 100755 => 100644 unit-tests/test-cases/objc-exported_symbols_list/foo.exp mode change 100755 => 100644 unit-tests/test-cases/objc-exported_symbols_list/foo.m mode change 100755 => 100644 unit-tests/test-cases/objc-gc-checks/Makefile mode change 100755 => 100644 unit-tests/test-cases/objc-gc-checks/bar.m mode change 100755 => 100644 unit-tests/test-cases/objc-gc-checks/comment.txt mode change 100755 => 100644 unit-tests/test-cases/objc-gc-checks/foo.m mode change 100755 => 100644 unit-tests/test-cases/objc-gc-checks/runtime.c mode change 100755 => 100644 unit-tests/test-cases/objc-literal-pointers/Makefile mode change 100755 => 100644 unit-tests/test-cases/objc-literal-pointers/test.m mode change 100755 => 100644 unit-tests/test-cases/objc-references/Makefile mode change 100755 => 100644 unit-tests/test-cases/objc-references/comment.txt mode change 100755 => 100644 unit-tests/test-cases/objc-references/test.m mode change 100755 => 100644 unit-tests/test-cases/objc-selector-coalescing/Makefile mode change 100755 => 100644 unit-tests/test-cases/objc-selector-coalescing/main.m mode change 100755 => 100644 unit-tests/test-cases/objc-selector-coalescing/other.m mode change 100755 => 100644 unit-tests/test-cases/operator-new/Makefile mode change 100755 => 100644 unit-tests/test-cases/operator-new/main.cxx mode change 100755 => 100644 unit-tests/test-cases/order_file-ans/Makefile mode change 100755 => 100644 unit-tests/test-cases/order_file-ans/main.cxx mode change 100755 => 100644 unit-tests/test-cases/order_file-ans/main.expected mode change 100755 => 100644 unit-tests/test-cases/order_file-ans/main.order mode change 100755 => 100644 unit-tests/test-cases/order_file/Makefile mode change 100755 => 100644 unit-tests/test-cases/order_file/extra.s mode change 100755 => 100644 unit-tests/test-cases/order_file/main.c mode change 100755 => 100644 unit-tests/test-cases/order_file/main1.expected mode change 100755 => 100644 unit-tests/test-cases/order_file/main1.order mode change 100755 => 100644 unit-tests/test-cases/order_file/main2.expected mode change 100755 => 100644 unit-tests/test-cases/order_file/main2.order mode change 100755 => 100644 unit-tests/test-cases/order_file/main3.expected mode change 100755 => 100644 unit-tests/test-cases/order_file/main3.order mode change 100755 => 100644 unit-tests/test-cases/prebound-main/Makefile mode change 100755 => 100644 unit-tests/test-cases/prebound-main/main.c mode change 100755 => 100644 unit-tests/test-cases/prebound-split-seg/Makefile mode change 100755 => 100644 unit-tests/test-cases/prebound-split-seg/address_table mode change 100755 => 100644 unit-tests/test-cases/prebound-split-seg/bar.c mode change 100755 => 100644 unit-tests/test-cases/private-non-lazy/Makefile mode change 100755 => 100644 unit-tests/test-cases/private-non-lazy/bar.c mode change 100755 => 100644 unit-tests/test-cases/private-non-lazy/comment.txt mode change 100755 => 100644 unit-tests/test-cases/private-non-lazy/foo.c mode change 100755 => 100644 unit-tests/test-cases/private-non-lazy/hello.c mode change 100755 => 100644 unit-tests/test-cases/re-export-cases/Makefile mode change 100755 => 100644 unit-tests/test-cases/re-export-cases/bar.c mode change 100755 => 100644 unit-tests/test-cases/re-export-cases/baz.c mode change 100755 => 100644 unit-tests/test-cases/re-export-cases/foo.c mode change 100755 => 100644 unit-tests/test-cases/re-export-flag/Makefile mode change 100755 => 100644 unit-tests/test-cases/re-export-flag/bar.c mode change 100755 => 100644 unit-tests/test-cases/re-export-flag/foo.c mode change 100755 => 100644 unit-tests/test-cases/re-export-optimizations/Makefile mode change 100755 => 100644 unit-tests/test-cases/re-export-optimizations/bar.c mode change 100755 => 100644 unit-tests/test-cases/re-export-optimizations/foo.c mode change 100755 => 100644 unit-tests/test-cases/re-export-optimizations/main.c mode change 100755 => 100644 unit-tests/test-cases/re-export-relative-paths/Makefile mode change 100755 => 100644 unit-tests/test-cases/re-export-relative-paths/bar.c mode change 100755 => 100644 unit-tests/test-cases/re-export-relative-paths/foo.c mode change 100755 => 100644 unit-tests/test-cases/re-export-relative-paths/main.c mode change 100755 => 100644 unit-tests/test-cases/re-export-relative-paths/wrap.c mode change 100755 => 100644 unit-tests/test-cases/read-only-relocs/Makefile mode change 100755 => 100644 unit-tests/test-cases/read-only-relocs/foo.c mode change 100755 => 100644 unit-tests/test-cases/read-only-relocs/test.c mode change 100755 => 100644 unit-tests/test-cases/rebase-basic/Makefile mode change 100755 => 100644 unit-tests/test-cases/rebase-basic/bar.m mode change 100755 => 100644 unit-tests/test-cases/rebase-basic/comment.txt mode change 100755 => 100644 unit-tests/test-cases/rebase-basic/foo.c mode change 100755 => 100644 unit-tests/test-cases/relocs-asm/Makefile mode change 100755 => 100644 unit-tests/test-cases/relocs-asm/comment.txt mode change 100755 => 100644 unit-tests/test-cases/relocs-asm/relocs-asm.s mode change 100755 => 100644 unit-tests/test-cases/relocs-c/Makefile mode change 100755 => 100644 unit-tests/test-cases/relocs-c/test.c mode change 100755 => 100644 unit-tests/test-cases/relocs-c2/Makefile mode change 100755 => 100644 unit-tests/test-cases/relocs-c2/comment.txt mode change 100755 => 100644 unit-tests/test-cases/relocs-c2/test.c mode change 100755 => 100644 unit-tests/test-cases/relocs-literals/Makefile mode change 100755 => 100644 unit-tests/test-cases/relocs-literals/test.c mode change 100755 => 100644 unit-tests/test-cases/relocs-literals2/Makefile mode change 100755 => 100644 unit-tests/test-cases/relocs-literals2/test.c mode change 100755 => 100644 unit-tests/test-cases/relocs-literals3/Makefile mode change 100755 => 100644 unit-tests/test-cases/relocs-literals3/comment.txt mode change 100755 => 100644 unit-tests/test-cases/relocs-literals3/test.c mode change 100755 => 100644 unit-tests/test-cases/relocs-objc/Makefile mode change 100755 => 100644 unit-tests/test-cases/relocs-objc/comment.txt mode change 100755 => 100644 unit-tests/test-cases/relocs-objc/test.m mode change 100755 => 100644 unit-tests/test-cases/segment-order/Makefile mode change 100755 => 100644 unit-tests/test-cases/segment-order/expected.order mode change 100755 => 100644 unit-tests/test-cases/segment-order/main.c mode change 100755 => 100644 unit-tests/test-cases/segment-order/segJJJ.s mode change 100755 => 100644 unit-tests/test-cases/segment-order/segKKK.s mode change 100755 => 100644 unit-tests/test-cases/segment-order/segLLL.s mode change 100755 => 100644 unit-tests/test-cases/slow-x86-stubs/Makefile mode change 100755 => 100644 unit-tests/test-cases/slow-x86-stubs/hello.c mode change 100755 => 100644 unit-tests/test-cases/special-labels/Makefile mode change 100755 => 100644 unit-tests/test-cases/special-labels/extra.s mode change 100755 => 100644 unit-tests/test-cases/special-labels/main.c mode change 100755 => 100644 unit-tests/test-cases/stabs-coalesce/Makefile mode change 100755 => 100644 unit-tests/test-cases/stabs-coalesce/comment.txt mode change 100755 => 100644 unit-tests/test-cases/stabs-coalesce/header.h mode change 100755 => 100644 unit-tests/test-cases/stabs-coalesce/hello.cxx mode change 100755 => 100644 unit-tests/test-cases/stabs-coalesce/other.cxx mode change 100755 => 100644 unit-tests/test-cases/stabs-directory-slash/Makefile mode change 100755 => 100644 unit-tests/test-cases/stabs-directory-slash/main.c mode change 100755 => 100644 unit-tests/test-cases/stack_addr_no_size/Makefile.newtest mode change 100755 => 100644 unit-tests/test-cases/stack_addr_no_size/comment.txt mode change 100755 => 100644 unit-tests/test-cases/stack_addr_no_size/main.c mode change 100755 => 100644 unit-tests/test-cases/stack_addr_size/Makefile mode change 100755 => 100644 unit-tests/test-cases/stack_addr_size/comment.txt mode change 100755 => 100644 unit-tests/test-cases/stack_addr_size/main.c mode change 100755 => 100644 unit-tests/test-cases/stack_size_no_addr/Makefile mode change 100755 => 100644 unit-tests/test-cases/stack_size_no_addr/comment.txt mode change 100755 => 100644 unit-tests/test-cases/stack_size_no_addr/main.c mode change 100755 => 100644 unit-tests/test-cases/static-executable/Makefile mode change 100755 => 100644 unit-tests/test-cases/static-executable/test.c mode change 100755 => 100644 unit-tests/test-cases/static-strip/Makefile.newtest mode change 100755 => 100644 unit-tests/test-cases/static-strip/comment.txt mode change 100755 => 100644 unit-tests/test-cases/static-strip/test.c mode change 100755 => 100644 unit-tests/test-cases/strip-test2/Makefile mode change 100755 => 100644 unit-tests/test-cases/strip-test2/comment.txt mode change 100755 => 100644 unit-tests/test-cases/strip-test2/main.cxx mode change 100755 => 100644 unit-tests/test-cases/strip-test3/Makefile.newtest mode change 100755 => 100644 unit-tests/test-cases/strip-test3/comment.txt mode change 100755 => 100644 unit-tests/test-cases/strip-test3/main.cxx mode change 100755 => 100644 unit-tests/test-cases/strip_local/Makefile mode change 100755 => 100644 unit-tests/test-cases/strip_local/foo.c mode change 100755 => 100644 unit-tests/test-cases/strip_local/hello.c mode change 100755 => 100644 unit-tests/test-cases/stripped-indirect-symbol-table/Makefile mode change 100755 => 100644 unit-tests/test-cases/stripped-indirect-symbol-table/a.c mode change 100755 => 100644 unit-tests/test-cases/stripped-indirect-symbol-table/b.c mode change 100755 => 100644 unit-tests/test-cases/stripped-indirect-symbol-table/c.c mode change 100755 => 100644 unit-tests/test-cases/stripped-indirect-symbol-table/func.c mode change 100755 => 100644 unit-tests/test-cases/stripped-indirect-symbol-table/strip.list mode change 100755 => 100644 unit-tests/test-cases/stub-generation-weak/Makefile mode change 100755 => 100644 unit-tests/test-cases/stub-generation-weak/foo.c mode change 100755 => 100644 unit-tests/test-cases/stub-generation-weak/main.c mode change 100755 => 100644 unit-tests/test-cases/stub-generation/Makefile mode change 100755 => 100644 unit-tests/test-cases/stub-generation/test.c create mode 100644 unit-tests/test-cases/switch-jump-table/Makefile create mode 100644 unit-tests/test-cases/switch-jump-table/interpose.exp create mode 100644 unit-tests/test-cases/switch-jump-table/main.c create mode 100644 unit-tests/test-cases/switch-jump-table/switch.s mode change 100755 => 100644 unit-tests/test-cases/symbol-moving/Makefile mode change 100755 => 100644 unit-tests/test-cases/symbol-moving/aaa.c mode change 100755 => 100644 unit-tests/test-cases/symbol-moving/anotb.c mode change 100755 => 100644 unit-tests/test-cases/symbol-moving/bar.c mode change 100755 => 100644 unit-tests/test-cases/symbol-moving/bbb.c mode change 100755 => 100644 unit-tests/test-cases/symbol-moving/bnota.c mode change 100755 => 100644 unit-tests/test-cases/symbol-moving/foo.c mode change 100755 => 100644 unit-tests/test-cases/symbol-moving/main.c mode change 100755 => 100644 unit-tests/test-cases/tentative-and-archive/Makefile mode change 100755 => 100644 unit-tests/test-cases/tentative-and-archive/foo.c mode change 100755 => 100644 unit-tests/test-cases/tentative-and-archive/main.c mode change 100755 => 100644 unit-tests/test-cases/tentative-and-dylib/Makefile mode change 100755 => 100644 unit-tests/test-cases/tentative-and-dylib/bar.c mode change 100755 => 100644 unit-tests/test-cases/tentative-and-dylib/foo.c mode change 100755 => 100644 unit-tests/test-cases/tentative-and-dylib/main.c mode change 100755 => 100644 unit-tests/test-cases/tentative-to-real-hidden/Makefile mode change 100755 => 100644 unit-tests/test-cases/tentative-to-real-hidden/test.c mode change 100755 => 100644 unit-tests/test-cases/tentative-to-real/Makefile mode change 100755 => 100644 unit-tests/test-cases/tentative-to-real/comment.txt mode change 100755 => 100644 unit-tests/test-cases/tentative-to-real/test.c mode change 100755 => 100644 unit-tests/test-cases/thumb-blx/Makefile mode change 100755 => 100644 unit-tests/test-cases/thumb-blx/test.c mode change 100755 => 100644 unit-tests/test-cases/undefined-dynamic-lookup/Makefile mode change 100755 => 100644 unit-tests/test-cases/undefined-dynamic-lookup/main.c mode change 100755 => 100644 unit-tests/test-cases/visibility-warning-dylib-v-archive/Makefile mode change 100755 => 100644 unit-tests/test-cases/visibility-warning-dylib-v-archive/bar.c mode change 100755 => 100644 unit-tests/test-cases/visibility-warning-dylib-v-archive/foo.c mode change 100755 => 100644 unit-tests/test-cases/visibility-warning-dylib-v-archive/main.c mode change 100755 => 100644 unit-tests/test-cases/visibility-warning/Makefile mode change 100755 => 100644 unit-tests/test-cases/visibility-warning/foo.c mode change 100755 => 100644 unit-tests/test-cases/visibility-warning/foo_hidden.c mode change 100755 => 100644 unit-tests/test-cases/visibility-warning/foo_weak.c mode change 100755 => 100644 unit-tests/test-cases/visibility-warning/foo_weak_hidden.c mode change 100755 => 100644 unit-tests/test-cases/weak-def-ordinal/Makefile mode change 100755 => 100644 unit-tests/test-cases/weak-def-ordinal/bar.c mode change 100755 => 100644 unit-tests/test-cases/weak-def-ordinal/foo.c mode change 100755 => 100644 unit-tests/test-cases/weak-def-ordinal/main.c mode change 100755 => 100644 unit-tests/test-cases/weak_dylib/Makefile mode change 100755 => 100644 unit-tests/test-cases/weak_dylib/bar.c mode change 100755 => 100644 unit-tests/test-cases/weak_dylib/bar.h mode change 100755 => 100644 unit-tests/test-cases/weak_dylib/foo.c mode change 100755 => 100644 unit-tests/test-cases/weak_dylib/foo.h mode change 100755 => 100644 unit-tests/test-cases/weak_dylib/main.c mode change 100755 => 100644 unit-tests/test-cases/weak_import/Makefile mode change 100755 => 100644 unit-tests/test-cases/weak_import/foo.c mode change 100755 => 100644 unit-tests/test-cases/weak_import/foo.h mode change 100755 => 100644 unit-tests/test-cases/weak_import/main.c mode change 100755 => 100644 unit-tests/test-cases/weak_import2/Makefile.newtest mode change 100755 => 100644 unit-tests/test-cases/weak_import2/comment.txt mode change 100755 => 100644 unit-tests/test-cases/weak_import2/foo.c mode change 100755 => 100644 unit-tests/test-cases/weak_import2/foo.h mode change 100755 => 100644 unit-tests/test-cases/weak_import2/foo1.c mode change 100755 => 100644 unit-tests/test-cases/weak_import2/main.c mode change 100755 => 100644 unit-tests/test-cases/weak_import3/Makefile mode change 100755 => 100644 unit-tests/test-cases/weak_import3/comment.txt mode change 100755 => 100644 unit-tests/test-cases/weak_import3/foo.c mode change 100755 => 100644 unit-tests/test-cases/weak_import3/foo.h mode change 100755 => 100644 unit-tests/test-cases/weak_import3/foo1.c mode change 100755 => 100644 unit-tests/test-cases/weak_import3/main.c mode change 100755 => 100644 unit-tests/test-cases/why_live/Makefile mode change 100755 => 100644 unit-tests/test-cases/why_live/bar.c mode change 100755 => 100644 unit-tests/test-cases/why_live/foo.c mode change 100755 => 100644 unit-tests/test-cases/why_live/main.c mode change 100755 => 100644 unit-tests/test-cases/zero-fill/Makefile mode change 100755 => 100644 unit-tests/test-cases/zero-fill/test.c mode change 100755 => 100644 unit-tests/test-cases/zero-fill2/Makefile mode change 100755 => 100644 unit-tests/test-cases/zero-fill2/comment.txt mode change 100755 => 100644 unit-tests/test-cases/zero-fill2/test.c mode change 100755 => 100644 unit-tests/test-cases/zero-fill3/Makefile mode change 100755 => 100644 unit-tests/test-cases/zero-fill3/comment.txt mode change 100755 => 100644 unit-tests/test-cases/zero-fill3/test.c diff --git a/APPLE_LICENSE b/APPLE_LICENSE old mode 100755 new mode 100644 diff --git a/ChangeLog b/ChangeLog old mode 100755 new mode 100644 index 3f83489..c152946 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,53 @@ ------ Tagged ld64-84.1.2 +----- Tagged ld64-85 + +2008-04-29 Nick Kledzik + + * ld64.xcodeproj/project.pbxproj: is moving from /usr/local/include to /Developer/usr/local/include + + +2008-04-29 Nick Kledzik + + ld doesn't honor "rightmost" -syslibroot argument + * src/Options.cpp: if last -syslibroot is /, then ignore all syslibroots + + +2008-04-29 Nick Kledzik + + GLRendererFloat has bad __eh_frame section caused by mixing llvm-gcc and gcc object files + * src/MachOReaderRelocatable.hpp: make all atoms in __eh_frame section have 1-byte alignment + * src/MachOWriterExecutable.hpp: make __eh_frame section have pointer sized alignment + + +2008-04-17 Nick Kledzik + + * src/MachOReaderRelocatable.hpp: better cpu subtype support + + +2008-04-14 Nick Kledzik + + ld64 has bad ARM branch island check + * src/MachOWriterExecutable.hpp: in addBranchIslands() don't force large arm programs to fail + + +2008-04-10 Nick Kledzik + + * src/MachOWriterExecutable.hpp: fix stubs used with lazy dylibs + + +----- Tagged ld64-84.4 + +2008-04-10 Nick Kledzik + + SPEC2000/eon built with -mdynamic-no-pic won't run + * src/Architectures.hpp: added arm::kReadOnlyPointer + * src/MachOReaderRelocatable.hpp: generate arm::kReadOnlyPointer + * src/MachOWriterExecutable.hpp: use arm::kReadOnlyPointer + * src/machochecker.cpp: allow MH_PIE bit + * unit-tests/test-cases/switch-jump-table: added test cases + + +----- Tagged ld64-84.3 2008-04-09 Nick Kledzik @@ -7,6 +55,15 @@ * src/ld.cpp: don't create proxy atom when scanning for dylib duplicates * unit-tests/test-cases/tentative-and-archive: use -undefined dynamic_lookup + +----- Tagged ld64-84.2 + +2008-04-04 Nick Kledzik + + * src/ld.cpp: don't add .eh symbols to symbol table in -r mode + * unit-tests/test-cases/eh-coalescing-r: update to test out of order coalescing + + ----- Tagged ld64-84.1 2008-03-28 Nick Kledzik diff --git a/doc/man/man1/ld.1 b/doc/man/man1/ld.1 old mode 100755 new mode 100644 diff --git a/doc/man/man1/ld64.1 b/doc/man/man1/ld64.1 old mode 100755 new mode 100644 diff --git a/doc/man/man1/rebase.1 b/doc/man/man1/rebase.1 old mode 100755 new mode 100644 diff --git a/ld64.xcodeproj/project.pbxproj b/ld64.xcodeproj/project.pbxproj old mode 100755 new mode 100644 index c13038e..5f8cd7f --- a/ld64.xcodeproj/project.pbxproj +++ b/ld64.xcodeproj/project.pbxproj @@ -350,7 +350,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/bash; - shellScript = "if [ -f /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"; + 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 */ = { @@ -491,10 +491,14 @@ GCC_WARN_UNUSED_PARAMETER = NO; GCC_WARN_UNUSED_VALUE = YES; GCC_WARN_UNUSED_VARIABLE = YES; - HEADER_SEARCH_PATHS = "$(DEVELOPER_DIR)/usr/include"; + 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 = "-Wl,-lazy_library,/Developer/usr/lib/libLTO.dylib"; PREBINDING = NO; PRODUCT_NAME = ld; SECTORDER_FLAGS = ""; @@ -538,9 +542,13 @@ GCC_WARN_UNUSED_PARAMETER = NO; GCC_WARN_UNUSED_VALUE = YES; GCC_WARN_UNUSED_VARIABLE = YES; - HEADER_SEARCH_PATHS = "$(DEVELOPER_DIR)/usr/include"; + HEADER_SEARCH_PATHS = ( + "$(DEVELOPER_DIR)/usr/local/include", + "$(DEVELOPER_DIR)/usr/include", + ); INSTALL_PATH = /usr/bin; OTHER_CPLUSPLUSFLAGS = "$(OTHER_CPLUSPLUSFLAGS)"; + OTHER_LDFLAGS = "-Wl,-lazy_library,/Developer/usr/lib/libLTO.dylib"; PREBINDING = NO; PRODUCT_NAME = ld; SECTORDER_FLAGS = ""; diff --git a/src/Architectures.hpp b/src/Architectures.hpp old mode 100755 new mode 100644 index 07f7fbb..2546bfe --- a/src/Architectures.hpp +++ b/src/Architectures.hpp @@ -78,8 +78,8 @@ struct arm { typedef Pointer32 P; - enum ReferenceKinds { kNoFixUp, kFollowOn, kGroupSubordinate, kPointer, kPointerWeakImport, kPointerDiff, - kBranch24, kBranch24WeakImport, kThumbBranch22, kThumbBranch22WeakImport, + enum ReferenceKinds { kNoFixUp, kFollowOn, kGroupSubordinate, kPointer, kPointerWeakImport, kPointerDiff, kReadOnlyPointer, + kBranch24, kBranch24WeakImport, kThumbBranch22, kThumbBranch22WeakImport, kDtraceProbe, kDtraceProbeSite, kDtraceIsEnabledSite, kDtraceTypeReference }; }; diff --git a/src/ArchiveReader.hpp b/src/ArchiveReader.hpp old mode 100755 new mode 100644 diff --git a/src/ExecutableFile.h b/src/ExecutableFile.h old mode 100755 new mode 100644 diff --git a/src/FileAbstraction.hpp b/src/FileAbstraction.hpp old mode 100755 new mode 100644 diff --git a/src/LTOReader.hpp b/src/LTOReader.hpp old mode 100755 new mode 100644 diff --git a/src/MachOFileAbstraction.hpp b/src/MachOFileAbstraction.hpp old mode 100755 new mode 100644 diff --git a/src/MachOReaderDylib.hpp b/src/MachOReaderDylib.hpp old mode 100755 new mode 100644 diff --git a/src/MachOReaderRelocatable.hpp b/src/MachOReaderRelocatable.hpp old mode 100755 new mode 100644 index 466d5df..73c58e2 --- a/src/MachOReaderRelocatable.hpp +++ b/src/MachOReaderRelocatable.hpp @@ -140,7 +140,8 @@ Reference::Reference(Kinds kind, const AtomAndOffset& at, const AtomAndOffset // - the target kind is not regular (is weak or tentative) if ( (kind != A::kNoFixUp) && (kind != A::kFollowOn) && (kind != A::kGroupSubordinate) && (toTarget.atom->getScope() != ObjectFile::Atom::scopeTranslationUnit) - && (toTarget.atom->getDefinitionKind() != ObjectFile::Atom::kRegularDefinition) ) { + && (toTarget.atom->getDefinitionKind() != ObjectFile::Atom::kRegularDefinition) + && (toTarget.atom != at.atom) ) { fToTargetName = toTarget.atom->getName(); //fprintf(stderr, "Reference(): changing to by-name %p %s, target scope=%d, target section=%s\n", toTarget.atom, fToTargetName, toTarget.atom->getScope(), toTarget.atom->getSectionName()); fToTarget.atom = NULL; @@ -488,6 +489,9 @@ SymbolAtom::SymbolAtom(Reader& owner, const macho_nlist

* symbol, const break; } + // compute alignment + fAlignment = ObjectFile::Alignment(fSection->align(), fAddress % (1 << fSection->align())); + // compute whether this atom needs to be in symbol table if ( (fSymbol->n_desc() & REFERENCED_DYNAMICALLY) != 0) { fSymbolTableInclusion = ObjectFile::Atom::kSymbolTableInAndNeverStrip; @@ -500,6 +504,8 @@ SymbolAtom::SymbolAtom(Reader& owner, const macho_nlist

* symbol, const // .eh symbols exist so the linker can associate them with functions // removing them from final linked images is a big space savings rdar://problem/4180168 fSymbolTableInclusion = ObjectFile::Atom::kSymbolTableNotIn; + // FDEs and CIEs are always packed together in a final linked image, so ignore section alignment + fAlignment = ObjectFile::Alignment(0); } else if ( fOwner.fOptions.fForFinalLinkedImage && ((section->flags() & SECTION_TYPE) == S_REGULAR) @@ -516,8 +522,6 @@ SymbolAtom::SymbolAtom(Reader& owner, const macho_nlist

* symbol, const else { fSymbolTableInclusion = ObjectFile::Atom::kSymbolTableIn; } - // compute alignment - fAlignment = ObjectFile::Alignment(fSection->align(), fAddress % (1 << fSection->align())); // work around malformed icc generated .o files // if section starts with a symbol and that symbol address does not match section alignment, then force it to @@ -2269,6 +2273,7 @@ void Reader::setCpuConstraint(uint32_t cpusubtype) case CPU_SUBTYPE_ARM_V5TEJ: case CPU_SUBTYPE_ARM_V6: case CPU_SUBTYPE_ARM_XSCALE: + case CPU_SUBTYPE_ARM_V7: fCpuConstraint = cpusubtype; break; default: @@ -2322,27 +2327,38 @@ uint32_t Reader::updateCpuConstraint(uint32_t previous) return fCpuConstraint; break; case CPU_SUBTYPE_ARM_V5TEJ: - // v6 and xscale are more constrained than previous file (v5), so use it + // v6, v7, and xscale are more constrained than previous file (v5), so use it if ( (fCpuConstraint == CPU_SUBTYPE_ARM_V6) + || (fCpuConstraint == CPU_SUBTYPE_ARM_V7) || (fCpuConstraint == CPU_SUBTYPE_ARM_XSCALE) ) return fCpuConstraint; break; case CPU_SUBTYPE_ARM_V4T: - // v5, v6, and xscale are more constrained than previous file (v4t), so use it - if ( (fCpuConstraint == CPU_SUBTYPE_ARM_V6) + // v5, v6, v7, and xscale are more constrained than previous file (v4t), so use it + if ( (fCpuConstraint == CPU_SUBTYPE_ARM_V7) + || (fCpuConstraint == CPU_SUBTYPE_ARM_V6) || (fCpuConstraint == CPU_SUBTYPE_ARM_V5TEJ) || (fCpuConstraint == CPU_SUBTYPE_ARM_XSCALE) ) return fCpuConstraint; break; case CPU_SUBTYPE_ARM_V6: - // v6 can run everything except xscale + // v6 can run everything except xscale and v7 if ( fCpuConstraint == CPU_SUBTYPE_ARM_XSCALE ) throw "can't mix xscale and v6 code"; + if ( fCpuConstraint == CPU_SUBTYPE_ARM_V7 ) + return fCpuConstraint; break; case CPU_SUBTYPE_ARM_XSCALE: - // xscale can run everything except v6 + // xscale can run everything except v6 and v7 if ( fCpuConstraint == CPU_SUBTYPE_ARM_V6 ) throw "can't mix xscale and v6 code"; + if ( fCpuConstraint == CPU_SUBTYPE_ARM_V7 ) + throw "can't mix xscale and v7 code"; + break; + case CPU_SUBTYPE_ARM_V7: + // v7 can run everything except xscale + if ( fCpuConstraint == CPU_SUBTYPE_ARM_XSCALE ) + throw "can't mix xscale and v7 code"; break; default: throw "Unhandled ARM cpu subtype!"; @@ -3946,11 +3962,16 @@ bool Reader::addRelocReference(const macho_section* sect, if ( reloc->r_extern() ) { if ( weakImport ) makeByNameReference(arm::kPointerWeakImport, srcAddr, targetName, pointerValue); + else if ( strcmp(sect->segname(), "__TEXT") == 0 ) + makeByNameReference(arm::kReadOnlyPointer, srcAddr, targetName, pointerValue); else makeByNameReference(arm::kPointer, srcAddr, targetName, pointerValue); } else { - makeReference(arm::kPointer, srcAddr, pointerValue); + if ( strcmp(sect->segname(), "__TEXT") == 0 ) + makeReference(arm::kReadOnlyPointer, srcAddr, pointerValue); + else + makeReference(arm::kPointer, srcAddr, pointerValue); } break; @@ -3988,7 +4009,10 @@ bool Reader::addRelocReference(const macho_section* sect, betterDstAddr = LittleEndian::get32(*fixUpPtr); //fprintf(stderr, "scattered pointer reloc: srcAddr=0x%08X, dstAddr=0x%08X, pointer=0x%08X\n", srcAddr, dstAddr, betterDstAddr); // with a scattered relocation we get both the target (sreloc->r_value()) and the target+offset (*fixUpPtr) - makeReferenceWithToBase(arm::kPointer, srcAddr, betterDstAddr, dstAddr); + if ( strcmp(sect->segname(), "__TEXT") == 0 ) + makeReferenceWithToBase(arm::kReadOnlyPointer, srcAddr, betterDstAddr, dstAddr); + else + makeReferenceWithToBase(arm::kPointer, srcAddr, betterDstAddr, dstAddr); break; case ARM_RELOC_BR24: @@ -4511,6 +4535,9 @@ const char* Reference::getDescription() const fromQuotes, this->getFromTargetName(), fromQuotes, fFromTarget.offset ); return temp; } + case arm::kReadOnlyPointer: + sprintf(temp, "offset 0x%04X, read-only pointer to ", fFixUpOffsetInSrc); + break; case arm::kBranch24: case arm::kThumbBranch22: sprintf(temp, "offset 0x%04X, pc-rel branch fixup to ", fFixUpOffsetInSrc); diff --git a/src/MachOWriterExecutable.hpp b/src/MachOWriterExecutable.hpp old mode 100755 new mode 100644 index 3c9f792..f983c6c --- a/src/MachOWriterExecutable.hpp +++ b/src/MachOWriterExecutable.hpp @@ -1155,7 +1155,7 @@ StubHelperAtom::StubHelperAtom(Writer& writer, ObjectFile::Atom& fReferences.push_back(new WriterReference(3, x86_64::kPCRel32, &lazyPointer)); if ( forLazyDylib ) { if ( writer.fDyldLazyDylibHelper == NULL ) - throw "symbol dyld_lazy_dylib_stub_binding_helper not defined (usually in crt1.o/dylib1.o/bundle1.o)"; + throw "symbol dyld_lazy_dylib_stub_binding_helper not defined (usually in lazydylib1.o)"; fReferences.push_back(new WriterReference(8, x86_64::kPCRel32, writer.fDyldLazyDylibHelper)); } else { @@ -1332,7 +1332,7 @@ StubAtom::StubAtom(Writer& writer, ObjectFile::Atom& target, bool forL // for non-prebound ppc, lazy pointer starts out pointing to dyld_stub_binding_helper glue code if ( forLazyDylib ) { if ( writer.fDyldLazyDylibHelper == NULL ) - throw "symbol dyld_lazy_dylib_stub_binding_helper not defined (usually in crt1.o/dylib1.o/bundle1.o)"; + throw "symbol dyld_lazy_dylib_stub_binding_helper not defined (usually in lazydylib1.o)"; lp = new LazyPointerAtom(writer, *writer.fDyldLazyDylibHelper, *this, forLazyDylib); } else { @@ -1362,7 +1362,7 @@ StubAtom::StubAtom(Writer& writer, ObjectFile::Atom& target, bool LazyPointerAtom* lp; if ( forLazyDylib ) { if ( writer.fDyldLazyDylibHelper == NULL ) - throw "symbol dyld_lazy_dylib_stub_binding_helper not defined (usually in crt1.o/dylib1.o/bundle1.o)"; + throw "symbol dyld_lazy_dylib_stub_binding_helper not defined (usually in lazydylib1.o)"; lp = new LazyPointerAtom(writer, *writer.fDyldLazyDylibHelper, *this, forLazyDylib); } else { @@ -1395,7 +1395,7 @@ StubAtom::StubAtom(Writer& writer, ObjectFile::Atom& target, bool forL ObjectFile::Atom* helper; if ( forLazyDylib ) { if ( writer.fDyldLazyDylibHelper == NULL ) - throw "symbol dyld_lazy_dylib_stub_binding_helper not defined (usually in crt1.o/dylib1.o/bundle1.o)"; + throw "symbol dyld_lazy_dylib_stub_binding_helper not defined (usually in lazydylib1.o)"; helper = writer.fDyldLazyDylibHelper; } else { @@ -1441,16 +1441,25 @@ StubAtom::StubAtom(Writer& writer, ObjectFile::Atom& target, bool forL writer.fAllSynthesizedStubs.push_back(this); LazyPointerAtom* lp; - if ( fWriter.fOptions.prebind() ) { + if ( fWriter.fOptions.prebind() && !forLazyDylib ) { // for prebound arm, lazy pointer starts out pointing to target symbol's address // if target is a weak definition within this linkage unit or zero if in some dylib lp = new LazyPointerAtom(writer, target, *this, forLazyDylib); } else { // for non-prebound arm, lazy pointer starts out pointing to dyld_stub_binding_helper glue code - if ( writer.fDyldHelper == NULL ) - throw "symbol dyld_stub_binding_helper not defined (usually in crt1.o/dylib1.o/bundle1.o)"; - lp = new LazyPointerAtom(writer, *writer.fDyldHelper, *this, forLazyDylib); + ObjectFile::Atom* helper; + if ( forLazyDylib ) { + if ( writer.fDyldLazyDylibHelper == NULL ) + throw "symbol dyld_lazy_dylib_stub_binding_helper not defined (usually in lazydylib1.o)"; + helper = writer.fDyldLazyDylibHelper; + } + else { + if ( writer.fDyldHelper == NULL ) + throw "symbol dyld_stub_binding_helper not defined (usually in crt1.o/dylib1.o/bundle1.o)"; + helper = writer.fDyldHelper; + } + lp = new LazyPointerAtom(writer, *helper, *this, forLazyDylib); } if ( pic() ) fReferences.push_back(new WriterReference(12, arm::kPointerDiff, lp, 0, this, 12)); @@ -2930,6 +2939,7 @@ uint32_t Writer::addObjectRelocs(ObjectFile::Atom* atom, ObjectFile::Refere return 0; case arm::kPointer: + case arm::kReadOnlyPointer: case arm::kPointerWeakImport: if ( !isExtern && (ref->getTargetOffset() != 0) ) { // use scattered reloc is target offset is non-zero @@ -3525,6 +3535,22 @@ bool Writer::illegalRelocInFinalLinkedImage(const ObjectFile::Reference& template <> bool Writer::illegalRelocInFinalLinkedImage(const ObjectFile::Reference& ref) { + if ( ref.getKind() == arm::kReadOnlyPointer ) { + switch ( ref.getTarget().getDefinitionKind() ) { + case ObjectFile::Atom::kTentativeDefinition: + case ObjectFile::Atom::kRegularDefinition: + case ObjectFile::Atom::kWeakDefinition: + // illegal in dylibs/bundles, until we support TEXT relocs + return fSlideable; + case ObjectFile::Atom::kExternalDefinition: + case ObjectFile::Atom::kExternalWeakDefinition: + // illegal until we support TEXT relocs + return true; + case ObjectFile::Atom::kAbsoluteSymbol: + // absolute symbbols only allowed in static executables + return ( fOptions.outputKind() != Options::kStaticExecutable); + } + } return false; } @@ -3628,9 +3654,51 @@ bool Writer::generatesLocalTextReloc(const ObjectFile::Reference& ref, cons return false; } -template -bool Writer::generatesLocalTextReloc(const ObjectFile::Reference&, const ObjectFile::Atom& atom, SectionInfo* curSection) +template <> +bool Writer::generatesLocalTextReloc(const ObjectFile::Reference& ref, const ObjectFile::Atom& atom, SectionInfo* atomSection) { + if ( ref.getKind() == arm::kReadOnlyPointer ) { + switch ( ref.getTarget().getDefinitionKind() ) { + case ObjectFile::Atom::kTentativeDefinition: + case ObjectFile::Atom::kRegularDefinition: + case ObjectFile::Atom::kWeakDefinition: + // a reference to the absolute address of something in this same linkage unit can be + // encoded as a local text reloc in a dylib or bundle + if ( fSlideable ) { + macho_relocation_info

reloc; + SectionInfo* sectInfo = (SectionInfo*)(ref.getTarget().getSection()); + reloc.set_r_address(this->relocAddressInFinalLinkedImage(atom.getAddress() + ref.getFixUpOffset(), &atom)); + reloc.set_r_symbolnum(sectInfo->getIndex()); + reloc.set_r_pcrel(false); + reloc.set_r_length(); + reloc.set_r_extern(false); + reloc.set_r_type(GENERIC_RELOC_VANILLA); + fInternalRelocs.push_back(reloc); + atomSection->fHasTextLocalRelocs = true; + return true; + } + return false; + case ObjectFile::Atom::kExternalDefinition: + case ObjectFile::Atom::kExternalWeakDefinition: + case ObjectFile::Atom::kAbsoluteSymbol: + return false; + } + } + return false; +} + + +template <> +bool Writer::generatesLocalTextReloc(const ObjectFile::Reference&, const ObjectFile::Atom& atom, SectionInfo* curSection) +{ + // text relocs not supported (usually never needed because of RIP addressing) + return false; +} + +template <> +bool Writer::generatesLocalTextReloc(const ObjectFile::Reference&, const ObjectFile::Atom& atom, SectionInfo* curSection) +{ + // text relocs not supported return false; } @@ -4063,7 +4131,8 @@ void Writer::addCrossSegmentRef(const ObjectFile::Atom* atom, const ObjectF case arm::kNoFixUp: case arm::kGroupSubordinate: case arm::kPointer: - case arm::kPointerWeakImport: + case arm::kPointerWeakImport: + case arm::kReadOnlyPointer: // ignore break; default: @@ -4600,6 +4669,25 @@ void Writer::fixUpReferenceFinal(const ObjectFile::Reference* ref, const Ob LittleEndian::set32(*fixUp, (ref->getTarget().getAddress() + ref->getTargetOffset()) - (ref->getFromTarget().getAddress() + ref->getFromTargetOffset()) ); break; + case arm::kReadOnlyPointer: + switch ( ref->getTarget().getDefinitionKind() ) { + case ObjectFile::Atom::kRegularDefinition: + case ObjectFile::Atom::kWeakDefinition: + case ObjectFile::Atom::kTentativeDefinition: + // pointer contains target address + LittleEndian::set32(*fixUp, ref->getTarget().getAddress() + ref->getTargetOffset()); + break; + case ObjectFile::Atom::kExternalDefinition: + case ObjectFile::Atom::kExternalWeakDefinition: + // external relocation ==> pointer contains addend + LittleEndian::set32(*fixUp, ref->getTargetOffset()); + break; + case ObjectFile::Atom::kAbsoluteSymbol: + // pointer contains target address + LittleEndian::set32(*fixUp, ref->getTarget().getSectionOffset() + ref->getTargetOffset()); + break; + } + break; case arm::kBranch24WeakImport: case arm::kBranch24: displacement = targetAddr - (inAtom->getAddress() + ref->getFixUpOffset()); @@ -4737,6 +4825,7 @@ void Writer::fixUpReferenceRelocatable(const ObjectFile::Reference* ref, co // do nothing break; case arm::kPointer: + case arm::kReadOnlyPointer: case arm::kPointerWeakImport: { if ( ((SectionInfo*)inAtom->getSection())->fAllNonLazyPointers ) { @@ -4891,8 +4980,6 @@ void Writer::fixUpReferenceRelocatable(const ObjectFile::Reference* ref, co case arm::kDtraceTypeReference: // nothing to fix up break; - default: - throw "unhandled arm refernce kind"; } } @@ -5753,6 +5840,7 @@ bool Writer::stubableReference(const ObjectFile::Atom* inAtom, const Object case arm::kFollowOn: case arm::kGroupSubordinate: case arm::kPointer: + case arm::kReadOnlyPointer: case arm::kPointerWeakImport: case arm::kPointerDiff: case arm::kDtraceProbe: @@ -6526,6 +6614,8 @@ void Writer::partitionIntoSections() currentSectionInfo->fAllSelfModifyingStubs = true; currentSectionInfo->fAlignment = 6; // force x86 fast stubs to start on 64-byte boundary } + if ( (strcmp(currentSectionInfo->fSegmentName, "__TEXT") == 0) && (strcmp(currentSectionInfo->fSectionName, "__eh_frame") == 0) ) + currentSectionInfo->fAlignment = __builtin_ctz(sizeof(pint_t)); // always start CFI info pointer aligned curSection = atom->getSection(); if ( currentSectionInfo->fAllNonLazyPointers || currentSectionInfo->fAllLazyPointers || currentSectionInfo->fAllLazyDylibPointers || currentSectionInfo->fAllStubs || currentSectionInfo->fAllSelfModifyingStubs ) { @@ -6617,8 +6707,8 @@ bool Writer::addBranchIslands() template <> bool Writer::addBranchIslands() { - if ( fLoadCommandsSegment->fSize > 16000000 ) - throw "arm branch islands unimplemented"; // FIXME: implement this + // arm branch islands not (yet) supported + // you can instead compile with -mlong-call return false; } diff --git a/src/ObjectDump.cpp b/src/ObjectDump.cpp old mode 100755 new mode 100644 index b104dda..e46cd3d --- a/src/ObjectDump.cpp +++ b/src/ObjectDump.cpp @@ -29,7 +29,12 @@ #include #include "MachOReaderRelocatable.hpp" -#include "LTOReader.hpp" + +#define LTO_SUPPORT 1 + +#if LTO_SUPPORT + #include "LTOReader.hpp" +#endif static bool sDumpContent= true; static bool sDumpStabs = false; @@ -401,9 +406,11 @@ static ObjectFile::Reader* createReader(const char* path, const ObjectFile::Read return new mach_o::relocatable::Reader::Reader(p, path, 0, options, 0); else if ( mach_o::relocatable::Reader::validFile(p) ) return new mach_o::relocatable::Reader::Reader(p, path, 0, options, 0); +#if LTO_SUPPORT if ( lto::Reader::validFile(p, stat_buf.st_size, 0) ) { return new lto::Reader(p, stat_buf.st_size, path, 0, options, 0); } +#endif throwf("not a mach-o object file: %s", path); } diff --git a/src/ObjectFile.h b/src/ObjectFile.h old mode 100755 new mode 100644 diff --git a/src/OpaqueSection.hpp b/src/OpaqueSection.hpp old mode 100755 new mode 100644 diff --git a/src/Options.cpp b/src/Options.cpp old mode 100755 new mode 100644 index e85cf2a..d0a2d15 --- a/src/Options.cpp +++ b/src/Options.cpp @@ -2392,6 +2392,14 @@ void Options::buildSearchPaths(int argc, const char* argv[]) //frameworkPaths.push_back("/Network/Library/Frameworks/"); } + // Support for configure based hacks + // if last -syslibroot is /, then ignore all syslibroots + if ( fSDKPaths.size() > 0 ) { + if ( strcmp(fSDKPaths.back(), "/") == 0 ) { + fSDKPaths.clear(); + } + } + // now merge sdk and library paths to make real search paths fLibrarySearchPaths.reserve(libraryPaths.size()*(fSDKPaths.size()+1)); for (std::vector::iterator it = libraryPaths.begin(); it != libraryPaths.end(); it++) { diff --git a/src/Options.h b/src/Options.h old mode 100755 new mode 100644 diff --git a/src/SectCreate.h b/src/SectCreate.h old mode 100755 new mode 100644 diff --git a/src/debugline.c b/src/debugline.c old mode 100755 new mode 100644 diff --git a/src/debugline.h b/src/debugline.h old mode 100755 new mode 100644 diff --git a/src/dwarf2.h b/src/dwarf2.h old mode 100755 new mode 100644 diff --git a/src/ld.cpp b/src/ld.cpp old mode 100755 new mode 100644 index 49f05c4..be90999 --- a/src/ld.cpp +++ b/src/ld.cpp @@ -753,7 +753,17 @@ inline void Linker::addAtom(ObjectFile::Atom& atom) } } // add to symbol table - fGlobalSymbolTable.add(atom); + if ( fOptions.outputKind() == Options::kObjectFile ) { + // in ld -r mode don't add .eh symbols to symbol table + // instead kGroupSubordinate references will keep them paired + // with their functions. + const char* sectionName = atom.getSectionName(); + if ( (sectionName != NULL) && (strcmp(sectionName, "__eh_frame") != 0) ) + fGlobalSymbolTable.add(atom); + } + else { + fGlobalSymbolTable.add(atom); + } } // record section orders so output file can have same order diff --git a/src/machochecker.cpp b/src/machochecker.cpp old mode 100755 new mode 100644 index b4ccd34..311809b --- a/src/machochecker.cpp +++ b/src/machochecker.cpp @@ -239,7 +239,7 @@ void MachOChecker::checkMachHeader() throw "sizeofcmds in mach_header is larger than file"; uint32_t flags = fHeader->flags(); - const uint32_t invalidBits = MH_INCRLINK | MH_LAZY_INIT | 0xFFE00000; + const uint32_t invalidBits = MH_INCRLINK | MH_LAZY_INIT | 0xFFC00000; if ( flags & invalidBits ) throw "invalid bits in mach_header flags"; if ( (flags & MH_NO_REEXPORTED_DYLIBS) && (fHeader->filetype() != MH_DYLIB) ) diff --git a/src/rebase.cpp b/src/rebase.cpp old mode 100755 new mode 100644 diff --git a/unit-tests/README b/unit-tests/README old mode 100755 new mode 100644 diff --git a/unit-tests/include/common.makefile b/unit-tests/include/common.makefile old mode 100755 new mode 100644 diff --git a/unit-tests/include/test.h b/unit-tests/include/test.h old mode 100755 new mode 100644 diff --git a/unit-tests/run-all-unit-tests b/unit-tests/run-all-unit-tests index 4ee7403..e21c2b3 100755 --- a/unit-tests/run-all-unit-tests +++ b/unit-tests/run-all-unit-tests @@ -14,6 +14,9 @@ cd `echo "$0" | sed 's/run-all-unit-tests/test-cases/'` all_archs="x86_64 armv6 thumb ppc ppc64 i386 " valid_archs="x86_64 armv6 ppc ppc64 i386 " +# clean first +../bin/make-recursive.pl clean > /dev/null + mkdir /tmp/$$ for arch in $all_archs do diff --git a/unit-tests/src/Makefile b/unit-tests/src/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/src/results-to-xml.cpp b/unit-tests/src/results-to-xml.cpp old mode 100755 new mode 100644 diff --git a/unit-tests/src/xmlparser/xmlparser.1 b/unit-tests/src/xmlparser/xmlparser.1 old mode 100755 new mode 100644 diff --git a/unit-tests/src/xmlparser/xmlparser.m b/unit-tests/src/xmlparser/xmlparser.m old mode 100755 new mode 100644 diff --git a/unit-tests/src/xmlparser/xmlparser.xcodeproj/project.pbxproj b/unit-tests/src/xmlparser/xmlparser.xcodeproj/project.pbxproj old mode 100755 new mode 100644 diff --git a/unit-tests/src/xmlparser/xmlparser_Prefix.pch b/unit-tests/src/xmlparser/xmlparser_Prefix.pch old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/16-byte-alignment/Makefile b/unit-tests/test-cases/16-byte-alignment/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/16-byte-alignment/comment.txt b/unit-tests/test-cases/16-byte-alignment/comment.txt old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/16-byte-alignment/tl_test2.c b/unit-tests/test-cases/16-byte-alignment/tl_test2.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/absolute-symbol/Makefile b/unit-tests/test-cases/absolute-symbol/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/absolute-symbol/abs.s b/unit-tests/test-cases/absolute-symbol/abs.s old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/absolute-symbol/main.c b/unit-tests/test-cases/absolute-symbol/main.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/alias-command-line/Makefile b/unit-tests/test-cases/alias-command-line/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/alias-command-line/aliases.s b/unit-tests/test-cases/alias-command-line/aliases.s old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/alias-command-line/aliases.txt b/unit-tests/test-cases/alias-command-line/aliases.txt old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/alias-objects/Makefile b/unit-tests/test-cases/alias-objects/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/alias-objects/aliases.s b/unit-tests/test-cases/alias-objects/aliases.s old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/align-modulus/Makefile b/unit-tests/test-cases/align-modulus/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/align-modulus/align.s b/unit-tests/test-cases/align-modulus/align.s old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/align-modulus/comment.txt b/unit-tests/test-cases/align-modulus/comment.txt old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/align-modulus/foo.c b/unit-tests/test-cases/align-modulus/foo.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/align-modulus/foo.exp b/unit-tests/test-cases/align-modulus/foo.exp old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/allow-stack-execute/Makefile b/unit-tests/test-cases/allow-stack-execute/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/allow-stack-execute/comment.txt b/unit-tests/test-cases/allow-stack-execute/comment.txt old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/allow-stack-execute/foo.c b/unit-tests/test-cases/allow-stack-execute/foo.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/allowable-client/Makefile b/unit-tests/test-cases/allowable-client/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/allowable-client/bar.c b/unit-tests/test-cases/allowable-client/bar.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/allowable-client/baz.c b/unit-tests/test-cases/allowable-client/baz.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/allowable-client/comment.txt b/unit-tests/test-cases/allowable-client/comment.txt old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/allowable-client/foo.c b/unit-tests/test-cases/allowable-client/foo.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/allowable-client/main.c b/unit-tests/test-cases/allowable-client/main.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/archive-ObjC/Makefile b/unit-tests/test-cases/archive-ObjC/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/archive-ObjC/bar.c b/unit-tests/test-cases/archive-ObjC/bar.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/archive-ObjC/baz.m b/unit-tests/test-cases/archive-ObjC/baz.m old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/archive-ObjC/foo.m b/unit-tests/test-cases/archive-ObjC/foo.m old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/archive-ObjC/main.c b/unit-tests/test-cases/archive-ObjC/main.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/archive-basic/Makefile b/unit-tests/test-cases/archive-basic/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/archive-basic/bar.c b/unit-tests/test-cases/archive-basic/bar.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/archive-basic/comment.txt b/unit-tests/test-cases/archive-basic/comment.txt old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/archive-basic/foo.c b/unit-tests/test-cases/archive-basic/foo.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/archive-basic/main.c b/unit-tests/test-cases/archive-basic/main.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/archive-duplicate/Makefile b/unit-tests/test-cases/archive-duplicate/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/archive-duplicate/bar.c b/unit-tests/test-cases/archive-duplicate/bar.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/archive-duplicate/foo.c b/unit-tests/test-cases/archive-duplicate/foo.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/archive-duplicate/main.c b/unit-tests/test-cases/archive-duplicate/main.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/archive-weak/Makefile b/unit-tests/test-cases/archive-weak/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/archive-weak/bar.c b/unit-tests/test-cases/archive-weak/bar.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/archive-weak/baz.c b/unit-tests/test-cases/archive-weak/baz.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/archive-weak/comment.txt b/unit-tests/test-cases/archive-weak/comment.txt old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/archive-weak/foo.c b/unit-tests/test-cases/archive-weak/foo.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/archive-weak/main.c b/unit-tests/test-cases/archive-weak/main.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/auto-arch/Makefile b/unit-tests/test-cases/auto-arch/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/auto-arch/hello.c b/unit-tests/test-cases/auto-arch/hello.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/blank-stubs/Makefile b/unit-tests/test-cases/blank-stubs/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/blank-stubs/comment.txt b/unit-tests/test-cases/blank-stubs/comment.txt old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/blank-stubs/foo.c b/unit-tests/test-cases/blank-stubs/foo.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/blank-stubs/main.c b/unit-tests/test-cases/blank-stubs/main.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/branch-islands/Makefile b/unit-tests/test-cases/branch-islands/Makefile new file mode 100644 index 0000000..c85f382 --- /dev/null +++ b/unit-tests/test-cases/branch-islands/Makefile @@ -0,0 +1,47 @@ +## +# Copyright (c) 2008 Apple Inc. All rights reserved. +# +# @APPLE_LICENSE_HEADER_START@ +# +# This file contains Original Code and/or Modifications of Original Code +# as defined in and that are subject to the Apple Public Source License +# Version 2.0 (the 'License'). You may not use this file except in +# compliance with the License. Please obtain a copy of the License at +# http://www.opensource.apple.com/apsl/ and read it before using this +# file. +# +# The Original Code and all software distributed under the License are +# distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER +# EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, +# INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. +# Please see the License for the specific language governing rights and +# limitations under the License. +# +# @APPLE_LICENSE_HEADER_END@ +## +TESTROOT = ../.. +include ${TESTROOT}/include/common.makefile + +ifeq ($(ARCH),armv6) + ARCH_FLAGS = -mlong-branch +else + ARCH_FLAGS = +endif + + + +# +# Simple test for branch islands +# + +run: all + + + +all: + ${CC} ${CCFLAGS} hello.c space.s extra.c -o hello ${ARCH_FLAGS} + ${PASS_IFF_GOOD_MACHO} hello + +clean: + rm hello diff --git a/unit-tests/test-cases/branch-islands/extra.c b/unit-tests/test-cases/branch-islands/extra.c new file mode 100644 index 0000000..a1991fe --- /dev/null +++ b/unit-tests/test-cases/branch-islands/extra.c @@ -0,0 +1,8 @@ +#include + + +void foo() +{ + fprintf(stdout, "foo\n"); +} + diff --git a/unit-tests/test-cases/branch-islands/hello.c b/unit-tests/test-cases/branch-islands/hello.c new file mode 100644 index 0000000..89caa9d --- /dev/null +++ b/unit-tests/test-cases/branch-islands/hello.c @@ -0,0 +1,10 @@ +#include + +extern void foo(); + +int main() +{ + fprintf(stdout, "hello\n"); + foo(); +} + diff --git a/unit-tests/test-cases/branch-islands/space.s b/unit-tests/test-cases/branch-islands/space.s new file mode 100644 index 0000000..dd28637 --- /dev/null +++ b/unit-tests/test-cases/branch-islands/space.s @@ -0,0 +1,39 @@ + +#if __ppc__ + + .text + +_prejunk: + mr r3,r5 + mr r3,r4 + blr + + +_space1: + .space 15*1024*1024 + 2 + + .align 5 +_junk: + mr r3,r5 + mr r3,r4 + blr + + +_space2: + .space 2*1024*1024 + +#endif + + +#if __arm__ + + +_space1: + .space 32*1024*1024 + 2 + + +#endif + + + .subsections_via_symbols + \ No newline at end of file diff --git a/unit-tests/test-cases/bundle_loader/Makefile b/unit-tests/test-cases/bundle_loader/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/bundle_loader/bar.c b/unit-tests/test-cases/bundle_loader/bar.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/bundle_loader/bundle.c b/unit-tests/test-cases/bundle_loader/bundle.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/bundle_loader/main.c b/unit-tests/test-cases/bundle_loader/main.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/cfstring-coalesce/Makefile b/unit-tests/test-cases/cfstring-coalesce/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/cfstring-coalesce/bar.c b/unit-tests/test-cases/cfstring-coalesce/bar.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/cfstring-coalesce/foo.c b/unit-tests/test-cases/cfstring-coalesce/foo.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/cfstring-utf16/Makefile b/unit-tests/test-cases/cfstring-utf16/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/cfstring-utf16/bar.m b/unit-tests/test-cases/cfstring-utf16/bar.m old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/cfstring-utf16/foo.m b/unit-tests/test-cases/cfstring-utf16/foo.m old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/commons-alignment/Makefile b/unit-tests/test-cases/commons-alignment/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/commons-alignment/foo.s b/unit-tests/test-cases/commons-alignment/foo.s old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/commons-coalesced-dead_strip/Makefile b/unit-tests/test-cases/commons-coalesced-dead_strip/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/commons-coalesced-dead_strip/a.c b/unit-tests/test-cases/commons-coalesced-dead_strip/a.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/commons-coalesced-dead_strip/b.c b/unit-tests/test-cases/commons-coalesced-dead_strip/b.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/commons-coalesced-dead_strip/c.c b/unit-tests/test-cases/commons-coalesced-dead_strip/c.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/commons-coalesced-dead_strip/c.h b/unit-tests/test-cases/commons-coalesced-dead_strip/c.h old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/commons-mixed/Makefile b/unit-tests/test-cases/commons-mixed/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/commons-mixed/bar.c b/unit-tests/test-cases/commons-mixed/bar.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/commons-mixed/foo.c b/unit-tests/test-cases/commons-mixed/foo.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/commons-order/Makefile b/unit-tests/test-cases/commons-order/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/commons-order/bar.c b/unit-tests/test-cases/commons-order/bar.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/commons-order/baz.c b/unit-tests/test-cases/commons-order/baz.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/commons-order/expected.order b/unit-tests/test-cases/commons-order/expected.order old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/commons-order/foo.c b/unit-tests/test-cases/commons-order/foo.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/commons-order/main.c b/unit-tests/test-cases/commons-order/main.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/cpu-sub-types-preference/Makefile b/unit-tests/test-cases/cpu-sub-types-preference/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/cpu-sub-types-preference/foo.c b/unit-tests/test-cases/cpu-sub-types-preference/foo.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/cpu-sub-types/Makefile b/unit-tests/test-cases/cpu-sub-types/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/cpu-sub-types/comment.txt b/unit-tests/test-cases/cpu-sub-types/comment.txt old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/cpu-sub-types/foo.c b/unit-tests/test-cases/cpu-sub-types/foo.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/cpu-sub-types/main.c b/unit-tests/test-cases/cpu-sub-types/main.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dead_strip-archive-global/Makefile b/unit-tests/test-cases/dead_strip-archive-global/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dead_strip-archive-global/foo.c b/unit-tests/test-cases/dead_strip-archive-global/foo.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dead_strip-archive-global/main.c b/unit-tests/test-cases/dead_strip-archive-global/main.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dead_strip-archive/Makefile b/unit-tests/test-cases/dead_strip-archive/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dead_strip-archive/comment.txt b/unit-tests/test-cases/dead_strip-archive/comment.txt old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dead_strip-archive/foo.c b/unit-tests/test-cases/dead_strip-archive/foo.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dead_strip-archive/main.c b/unit-tests/test-cases/dead_strip-archive/main.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dead_strip-init-archive/Makefile b/unit-tests/test-cases/dead_strip-init-archive/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dead_strip-init-archive/bar.c b/unit-tests/test-cases/dead_strip-init-archive/bar.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dead_strip-init-archive/foo.c b/unit-tests/test-cases/dead_strip-init-archive/foo.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dead_strip/Makefile b/unit-tests/test-cases/dead_strip/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dead_strip/comment.txt b/unit-tests/test-cases/dead_strip/comment.txt old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dead_strip/deadwood.c b/unit-tests/test-cases/dead_strip/deadwood.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dead_strip/main.c b/unit-tests/test-cases/dead_strip/main.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dead_strip/main.exp b/unit-tests/test-cases/dead_strip/main.exp old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dead_strip_dylibs/Makefile b/unit-tests/test-cases/dead_strip_dylibs/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dead_strip_dylibs/bar.c b/unit-tests/test-cases/dead_strip_dylibs/bar.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dead_strip_dylibs/baz.c b/unit-tests/test-cases/dead_strip_dylibs/baz.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dead_strip_dylibs/foo.c b/unit-tests/test-cases/dead_strip_dylibs/foo.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dead_strip_dylibs/main.c b/unit-tests/test-cases/dead_strip_dylibs/main.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dead_strip_section_attribute/Makefile b/unit-tests/test-cases/dead_strip_section_attribute/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dead_strip_section_attribute/comment.txt b/unit-tests/test-cases/dead_strip_section_attribute/comment.txt old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dead_strip_section_attribute/main.c b/unit-tests/test-cases/dead_strip_section_attribute/main.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dtrace-static-probes-coalescing/Makefile b/unit-tests/test-cases/dtrace-static-probes-coalescing/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dtrace-static-probes-coalescing/Number.d b/unit-tests/test-cases/dtrace-static-probes-coalescing/Number.d old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dtrace-static-probes-coalescing/a.cxx b/unit-tests/test-cases/dtrace-static-probes-coalescing/a.cxx old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dtrace-static-probes-coalescing/header.h b/unit-tests/test-cases/dtrace-static-probes-coalescing/header.h old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dtrace-static-probes-coalescing/x.cxx b/unit-tests/test-cases/dtrace-static-probes-coalescing/x.cxx old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dtrace-static-probes/Makefile b/unit-tests/test-cases/dtrace-static-probes/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dtrace-static-probes/bar.d b/unit-tests/test-cases/dtrace-static-probes/bar.d old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dtrace-static-probes/comment.txt b/unit-tests/test-cases/dtrace-static-probes/comment.txt old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dtrace-static-probes/foo.d b/unit-tests/test-cases/dtrace-static-probes/foo.d old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dtrace-static-probes/main.c b/unit-tests/test-cases/dtrace-static-probes/main.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dwarf-archive-all_load/Makefile b/unit-tests/test-cases/dwarf-archive-all_load/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dwarf-archive-all_load/bar.c b/unit-tests/test-cases/dwarf-archive-all_load/bar.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dwarf-archive-all_load/baz.c b/unit-tests/test-cases/dwarf-archive-all_load/baz.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dwarf-archive-all_load/comment.txt b/unit-tests/test-cases/dwarf-archive-all_load/comment.txt old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dwarf-archive-all_load/expected-stabs b/unit-tests/test-cases/dwarf-archive-all_load/expected-stabs old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dwarf-archive-all_load/foo.c b/unit-tests/test-cases/dwarf-archive-all_load/foo.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dwarf-debug-notes-r/Makefile b/unit-tests/test-cases/dwarf-debug-notes-r/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dwarf-debug-notes-r/bar.cxx b/unit-tests/test-cases/dwarf-debug-notes-r/bar.cxx old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dwarf-debug-notes-r/comment.txt b/unit-tests/test-cases/dwarf-debug-notes-r/comment.txt old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dwarf-debug-notes-r/expected-stabs b/unit-tests/test-cases/dwarf-debug-notes-r/expected-stabs old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dwarf-debug-notes-r/foo.cxx b/unit-tests/test-cases/dwarf-debug-notes-r/foo.cxx old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dwarf-debug-notes-r/main.cxx b/unit-tests/test-cases/dwarf-debug-notes-r/main.cxx old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dwarf-debug-notes/Makefile b/unit-tests/test-cases/dwarf-debug-notes/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dwarf-debug-notes/comment.txt b/unit-tests/test-cases/dwarf-debug-notes/comment.txt old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dwarf-debug-notes/expected-stabs b/unit-tests/test-cases/dwarf-debug-notes/expected-stabs old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dwarf-debug-notes/header.h b/unit-tests/test-cases/dwarf-debug-notes/header.h old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dwarf-debug-notes/hello.cxx b/unit-tests/test-cases/dwarf-debug-notes/hello.cxx old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dwarf-debug-notes/other.cxx b/unit-tests/test-cases/dwarf-debug-notes/other.cxx old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dwarf-ignore/Makefile b/unit-tests/test-cases/dwarf-ignore/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dwarf-ignore/comment.txt b/unit-tests/test-cases/dwarf-ignore/comment.txt old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dwarf-ignore/hello.c b/unit-tests/test-cases/dwarf-ignore/hello.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dwarf-strip/Makefile b/unit-tests/test-cases/dwarf-strip/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dwarf-strip/comment.txt b/unit-tests/test-cases/dwarf-strip/comment.txt old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dwarf-strip/hello.c b/unit-tests/test-cases/dwarf-strip/hello.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dylib-aliases/Makefile b/unit-tests/test-cases/dylib-aliases/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dylib-aliases/bar.c b/unit-tests/test-cases/dylib-aliases/bar.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dylib-aliases/foo.c b/unit-tests/test-cases/dylib-aliases/foo.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dylib-aliases/main.c b/unit-tests/test-cases/dylib-aliases/main.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dylib-re-export-cycle/Makefile b/unit-tests/test-cases/dylib-re-export-cycle/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dylib-re-export-cycle/bar.c b/unit-tests/test-cases/dylib-re-export-cycle/bar.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dylib-re-export-cycle/foo.c b/unit-tests/test-cases/dylib-re-export-cycle/foo.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dylib-re-export-cycle/main.c b/unit-tests/test-cases/dylib-re-export-cycle/main.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dylib_file-missing/Makefile b/unit-tests/test-cases/dylib_file-missing/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dylib_file-missing/bar.c b/unit-tests/test-cases/dylib_file-missing/bar.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dylib_file-missing/foo.c b/unit-tests/test-cases/dylib_file-missing/foo.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dylib_file-missing/main.c b/unit-tests/test-cases/dylib_file-missing/main.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dylib_file/Makefile b/unit-tests/test-cases/dylib_file/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dylib_file/bar.c b/unit-tests/test-cases/dylib_file/bar.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dylib_file/comment.txt b/unit-tests/test-cases/dylib_file/comment.txt old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dylib_file/foo.c b/unit-tests/test-cases/dylib_file/foo.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dylib_file/main.c b/unit-tests/test-cases/dylib_file/main.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dylib_init/Makefile b/unit-tests/test-cases/dylib_init/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/dylib_init/foo.c b/unit-tests/test-cases/dylib_init/foo.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/eh-coalescing-r/Makefile b/unit-tests/test-cases/eh-coalescing-r/Makefile old mode 100755 new mode 100644 index ae3b996..3fb8a25 --- a/unit-tests/test-cases/eh-coalescing-r/Makefile +++ b/unit-tests/test-cases/eh-coalescing-r/Makefile @@ -31,15 +31,17 @@ SHELL = bash # use bash shell so we can redirect just stderr # # comdat warnings in ld -r # - +# also use -falign-functions to force an out of order coalesing +# run: all all: ${CXX} ${CCXXFLAGS} foo.cxx -c -o foo.o - ${CXX} ${CCXXFLAGS} bar.cxx -c -o bar.o - ${LD} -r foo.o bar.o -o foobar.o 2> warnings.log + ${CXX} ${CCXXFLAGS} bar.cxx -c -o bar.o -falign-functions=32 + ${CXX} ${CCXXFLAGS} baz.cxx -c -o baz.o + ${LD} -r foo.o bar.o baz.o -o foobarbaz.o 2> warnings.log grep warning warnings.log | ${PASS_IFF_EMPTY} clean: - rm foo.o bar.o foobar.o warnings.log + rm foo.o bar.o baz.o foobarbaz.o warnings.log diff --git a/unit-tests/test-cases/eh-coalescing-r/bar.cxx b/unit-tests/test-cases/eh-coalescing-r/bar.cxx old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/eh-coalescing-r/foo.cxx b/unit-tests/test-cases/eh-coalescing-r/foo.cxx old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/eh-coalescing-r/func.h b/unit-tests/test-cases/eh-coalescing-r/func.h old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/eh-coalescing/Makefile b/unit-tests/test-cases/eh-coalescing/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/eh-coalescing/bar.cxx b/unit-tests/test-cases/eh-coalescing/bar.cxx old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/eh-coalescing/foo.cxx b/unit-tests/test-cases/eh-coalescing/foo.cxx old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/eh-coalescing/foo2.cxx b/unit-tests/test-cases/eh-coalescing/foo2.cxx old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/eh-coalescing/func.h b/unit-tests/test-cases/eh-coalescing/func.h old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/eh-strip-test/Makefile b/unit-tests/test-cases/eh-strip-test/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/eh-strip-test/comment.txt b/unit-tests/test-cases/eh-strip-test/comment.txt old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/eh-strip-test/main.cxx b/unit-tests/test-cases/eh-strip-test/main.cxx old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/eh_frame/Makefile b/unit-tests/test-cases/eh_frame/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/eh_frame/bar.cxx b/unit-tests/test-cases/eh_frame/bar.cxx old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/eh_frame/foo.cxx b/unit-tests/test-cases/eh_frame/foo.cxx old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/empty-object/Makefile b/unit-tests/test-cases/empty-object/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/empty-object/main.c b/unit-tests/test-cases/empty-object/main.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/end-label/Makefile b/unit-tests/test-cases/end-label/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/end-label/bar.s b/unit-tests/test-cases/end-label/bar.s old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/end-label/foo.s b/unit-tests/test-cases/end-label/foo.s old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/exported-symbols-wildcards-dead_strip/Makefile b/unit-tests/test-cases/exported-symbols-wildcards-dead_strip/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/exported-symbols-wildcards-dead_strip/foo.c b/unit-tests/test-cases/exported-symbols-wildcards-dead_strip/foo.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/exported-symbols-wildcards/Makefile b/unit-tests/test-cases/exported-symbols-wildcards/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/exported-symbols-wildcards/expect1 b/unit-tests/test-cases/exported-symbols-wildcards/expect1 old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/exported-symbols-wildcards/expect2 b/unit-tests/test-cases/exported-symbols-wildcards/expect2 old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/exported-symbols-wildcards/expect3 b/unit-tests/test-cases/exported-symbols-wildcards/expect3 old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/exported-symbols-wildcards/expect4 b/unit-tests/test-cases/exported-symbols-wildcards/expect4 old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/exported-symbols-wildcards/expect5 b/unit-tests/test-cases/exported-symbols-wildcards/expect5 old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/exported-symbols-wildcards/expect6 b/unit-tests/test-cases/exported-symbols-wildcards/expect6 old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/exported-symbols-wildcards/expect7 b/unit-tests/test-cases/exported-symbols-wildcards/expect7 old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/exported-symbols-wildcards/expect8 b/unit-tests/test-cases/exported-symbols-wildcards/expect8 old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/exported-symbols-wildcards/foo.c b/unit-tests/test-cases/exported-symbols-wildcards/foo.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/exported-symbols-wildcards/list5 b/unit-tests/test-cases/exported-symbols-wildcards/list5 old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/exported_symbols_list-eol/Makefile b/unit-tests/test-cases/exported_symbols_list-eol/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/exported_symbols_list-eol/expected.nm b/unit-tests/test-cases/exported_symbols_list-eol/expected.nm old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/exported_symbols_list-eol/test.c b/unit-tests/test-cases/exported_symbols_list-eol/test.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/exported_symbols_list-eol/test.exp b/unit-tests/test-cases/exported_symbols_list-eol/test.exp old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/exported_symbols_list-hidden/Makefile b/unit-tests/test-cases/exported_symbols_list-hidden/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/exported_symbols_list-hidden/test.c b/unit-tests/test-cases/exported_symbols_list-hidden/test.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/exported_symbols_list-hidden/test.exp b/unit-tests/test-cases/exported_symbols_list-hidden/test.exp old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/exported_symbols_list-r/Makefile b/unit-tests/test-cases/exported_symbols_list-r/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/exported_symbols_list-r/test-bad.exp b/unit-tests/test-cases/exported_symbols_list-r/test-bad.exp old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/exported_symbols_list-r/test.c b/unit-tests/test-cases/exported_symbols_list-r/test.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/exported_symbols_list-r/test.exp b/unit-tests/test-cases/exported_symbols_list-r/test.exp old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/external-reloc-sorting/Makefile b/unit-tests/test-cases/external-reloc-sorting/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/external-reloc-sorting/foo.c b/unit-tests/test-cases/external-reloc-sorting/foo.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/external-reloc-sorting/main.c b/unit-tests/test-cases/external-reloc-sorting/main.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/filelist/Makefile b/unit-tests/test-cases/filelist/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/filelist/comment.txt b/unit-tests/test-cases/filelist/comment.txt old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/filelist/hello.c b/unit-tests/test-cases/filelist/hello.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/flat-dylib/Makefile b/unit-tests/test-cases/flat-dylib/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/flat-dylib/main.c b/unit-tests/test-cases/flat-dylib/main.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/flat-indirect-undefines/Makefile b/unit-tests/test-cases/flat-indirect-undefines/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/flat-indirect-undefines/bar.c b/unit-tests/test-cases/flat-indirect-undefines/bar.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/flat-indirect-undefines/foo.c b/unit-tests/test-cases/flat-indirect-undefines/foo.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/flat-indirect-undefines/main.c b/unit-tests/test-cases/flat-indirect-undefines/main.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/flat-main/Makefile b/unit-tests/test-cases/flat-main/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/flat-main/main.c b/unit-tests/test-cases/flat-main/main.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/got-elimination/Makefile b/unit-tests/test-cases/got-elimination/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/got-elimination/bar.c b/unit-tests/test-cases/got-elimination/bar.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/got-elimination/foo.c b/unit-tests/test-cases/got-elimination/foo.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/header-pad/Makefile b/unit-tests/test-cases/header-pad/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/header-pad/comment.txt b/unit-tests/test-cases/header-pad/comment.txt old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/header-pad/hello.c b/unit-tests/test-cases/header-pad/hello.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/hello-world/Makefile b/unit-tests/test-cases/hello-world/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/hello-world/comment.txt b/unit-tests/test-cases/hello-world/comment.txt old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/hello-world/hello.c b/unit-tests/test-cases/hello-world/hello.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/implicit-common2/Makefile.newtest b/unit-tests/test-cases/implicit-common2/Makefile.newtest old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/implicit-common2/a.c b/unit-tests/test-cases/implicit-common2/a.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/implicit-common2/comment.txt b/unit-tests/test-cases/implicit-common2/comment.txt old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/implicit-common2/test.c b/unit-tests/test-cases/implicit-common2/test.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/implicit-common3/Makefile b/unit-tests/test-cases/implicit-common3/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/implicit-common3/a.c b/unit-tests/test-cases/implicit-common3/a.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/implicit-common3/comment.txt b/unit-tests/test-cases/implicit-common3/comment.txt old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/implicit-common3/test.c b/unit-tests/test-cases/implicit-common3/test.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/implicit-common4/Makefile.newtest b/unit-tests/test-cases/implicit-common4/Makefile.newtest old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/implicit-common4/a.c b/unit-tests/test-cases/implicit-common4/a.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/implicit-common4/comment.txt b/unit-tests/test-cases/implicit-common4/comment.txt old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/implicit-common4/test.c b/unit-tests/test-cases/implicit-common4/test.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/implicit-common5/Makefile.newtest b/unit-tests/test-cases/implicit-common5/Makefile.newtest old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/implicit-common5/a.c b/unit-tests/test-cases/implicit-common5/a.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/implicit-common5/comment.txt b/unit-tests/test-cases/implicit-common5/comment.txt old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/implicit-common5/test.c b/unit-tests/test-cases/implicit-common5/test.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/implicit_dylib/Makefile b/unit-tests/test-cases/implicit_dylib/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/implicit_dylib/bar.c b/unit-tests/test-cases/implicit_dylib/bar.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/implicit_dylib/foo.c b/unit-tests/test-cases/implicit_dylib/foo.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/implicit_dylib/main.c b/unit-tests/test-cases/implicit_dylib/main.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/indirect-dylib/Makefile b/unit-tests/test-cases/indirect-dylib/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/indirect-dylib/bar.c b/unit-tests/test-cases/indirect-dylib/bar.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/indirect-dylib/comment.txt b/unit-tests/test-cases/indirect-dylib/comment.txt old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/indirect-dylib/foo.c b/unit-tests/test-cases/indirect-dylib/foo.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/indirect-dylib/main.c b/unit-tests/test-cases/indirect-dylib/main.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/indirect-path-search/Makefile b/unit-tests/test-cases/indirect-path-search/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/indirect-path-search/bar.c b/unit-tests/test-cases/indirect-path-search/bar.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/indirect-path-search/baz.c b/unit-tests/test-cases/indirect-path-search/baz.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/indirect-path-search/foo.c b/unit-tests/test-cases/indirect-path-search/foo.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/indirect-path-search/main.c b/unit-tests/test-cases/indirect-path-search/main.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/interposable_list/Makefile b/unit-tests/test-cases/interposable_list/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/interposable_list/test.c b/unit-tests/test-cases/interposable_list/test.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/interposable_list/test.exp b/unit-tests/test-cases/interposable_list/test.exp old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/large-data/Makefile b/unit-tests/test-cases/large-data/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/large-data/test1.c b/unit-tests/test-cases/large-data/test1.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/large-data/test2.c b/unit-tests/test-cases/large-data/test2.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/large-data/test3.c b/unit-tests/test-cases/large-data/test3.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/large-data/test4.c b/unit-tests/test-cases/large-data/test4.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/late-link-error/Makefile b/unit-tests/test-cases/late-link-error/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/late-link-error/comment.txt b/unit-tests/test-cases/late-link-error/comment.txt old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/late-link-error/link_error.s b/unit-tests/test-cases/late-link-error/link_error.s old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/lazy-dylib-objc/Makefile b/unit-tests/test-cases/lazy-dylib-objc/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/lazy-dylib-objc/foo.h b/unit-tests/test-cases/lazy-dylib-objc/foo.h old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/lazy-dylib-objc/foo.m b/unit-tests/test-cases/lazy-dylib-objc/foo.m old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/lazy-dylib-objc/main.m b/unit-tests/test-cases/lazy-dylib-objc/main.m old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/lazy-dylib/Makefile b/unit-tests/test-cases/lazy-dylib/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/lazy-dylib/bad.c b/unit-tests/test-cases/lazy-dylib/bad.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/lazy-dylib/bad2.c b/unit-tests/test-cases/lazy-dylib/bad2.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/lazy-dylib/foo.c b/unit-tests/test-cases/lazy-dylib/foo.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/lazy-dylib/main.c b/unit-tests/test-cases/lazy-dylib/main.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/literals-coalesce-alignment/Makefile b/unit-tests/test-cases/literals-coalesce-alignment/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/literals-coalesce-alignment/cstring-align-0.s b/unit-tests/test-cases/literals-coalesce-alignment/cstring-align-0.s old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/literals-coalesce-alignment/cstring-align-3.s b/unit-tests/test-cases/literals-coalesce-alignment/cstring-align-3.s old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/literals-coalesce-alignment2/Makefile b/unit-tests/test-cases/literals-coalesce-alignment2/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/literals-coalesce-alignment2/comment.txt b/unit-tests/test-cases/literals-coalesce-alignment2/comment.txt old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/literals-coalesce-alignment2/cstring-align-0.s b/unit-tests/test-cases/literals-coalesce-alignment2/cstring-align-0.s old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/literals-coalesce-alignment2/cstring-align-3.s b/unit-tests/test-cases/literals-coalesce-alignment2/cstring-align-3.s old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/literals-coalesce-alignment3/Makefile b/unit-tests/test-cases/literals-coalesce-alignment3/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/literals-coalesce-alignment3/comment.txt b/unit-tests/test-cases/literals-coalesce-alignment3/comment.txt old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/literals-coalesce-alignment3/cstring-align-0.s b/unit-tests/test-cases/literals-coalesce-alignment3/cstring-align-0.s old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/literals-coalesce-alignment3/cstring-align-3.s b/unit-tests/test-cases/literals-coalesce-alignment3/cstring-align-3.s old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/literals-coalesce/Makefile b/unit-tests/test-cases/literals-coalesce/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/literals-coalesce/literals.s b/unit-tests/test-cases/literals-coalesce/literals.s old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/literals-coalesce2/Makefile.newtest b/unit-tests/test-cases/literals-coalesce2/Makefile.newtest old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/literals-coalesce2/comment.txt b/unit-tests/test-cases/literals-coalesce2/comment.txt old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/literals-coalesce2/literals.s b/unit-tests/test-cases/literals-coalesce2/literals.s old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/llvm-integration/Makefile b/unit-tests/test-cases/llvm-integration/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/llvm-integration/a.c b/unit-tests/test-cases/llvm-integration/a.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/llvm-integration/a1.c b/unit-tests/test-cases/llvm-integration/a1.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/llvm-integration/a10.c b/unit-tests/test-cases/llvm-integration/a10.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/llvm-integration/a11.c b/unit-tests/test-cases/llvm-integration/a11.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/llvm-integration/a12.c b/unit-tests/test-cases/llvm-integration/a12.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/llvm-integration/a12.h b/unit-tests/test-cases/llvm-integration/a12.h old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/llvm-integration/a13.cc b/unit-tests/test-cases/llvm-integration/a13.cc old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/llvm-integration/a13.h b/unit-tests/test-cases/llvm-integration/a13.h old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/llvm-integration/a14.c b/unit-tests/test-cases/llvm-integration/a14.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/llvm-integration/a15.c b/unit-tests/test-cases/llvm-integration/a15.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/llvm-integration/a17.c b/unit-tests/test-cases/llvm-integration/a17.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/llvm-integration/a18.c b/unit-tests/test-cases/llvm-integration/a18.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/llvm-integration/a2.c b/unit-tests/test-cases/llvm-integration/a2.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/llvm-integration/a20.c b/unit-tests/test-cases/llvm-integration/a20.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/llvm-integration/a3.c b/unit-tests/test-cases/llvm-integration/a3.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/llvm-integration/a4.c b/unit-tests/test-cases/llvm-integration/a4.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/llvm-integration/a5.c b/unit-tests/test-cases/llvm-integration/a5.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/llvm-integration/a6.c b/unit-tests/test-cases/llvm-integration/a6.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/llvm-integration/a7.c b/unit-tests/test-cases/llvm-integration/a7.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/llvm-integration/a8.c b/unit-tests/test-cases/llvm-integration/a8.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/llvm-integration/a9.c b/unit-tests/test-cases/llvm-integration/a9.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/llvm-integration/a9.list b/unit-tests/test-cases/llvm-integration/a9.list old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/llvm-integration/b.c b/unit-tests/test-cases/llvm-integration/b.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/llvm-integration/b1.c b/unit-tests/test-cases/llvm-integration/b1.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/llvm-integration/b10.c b/unit-tests/test-cases/llvm-integration/b10.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/llvm-integration/b10.h b/unit-tests/test-cases/llvm-integration/b10.h old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/llvm-integration/b14.c b/unit-tests/test-cases/llvm-integration/b14.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/llvm-integration/b15.c b/unit-tests/test-cases/llvm-integration/b15.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/llvm-integration/b17.c b/unit-tests/test-cases/llvm-integration/b17.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/llvm-integration/b2.c b/unit-tests/test-cases/llvm-integration/b2.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/llvm-integration/b20.c b/unit-tests/test-cases/llvm-integration/b20.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/llvm-integration/b3.c b/unit-tests/test-cases/llvm-integration/b3.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/llvm-integration/b4.c b/unit-tests/test-cases/llvm-integration/b4.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/llvm-integration/b5.c b/unit-tests/test-cases/llvm-integration/b5.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/llvm-integration/b7.c b/unit-tests/test-cases/llvm-integration/b7.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/llvm-integration/c15.c b/unit-tests/test-cases/llvm-integration/c15.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/llvm-integration/main.c b/unit-tests/test-cases/llvm-integration/main.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/llvm-integration/main1.c b/unit-tests/test-cases/llvm-integration/main1.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/llvm-integration/main10.c b/unit-tests/test-cases/llvm-integration/main10.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/llvm-integration/main11.c b/unit-tests/test-cases/llvm-integration/main11.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/llvm-integration/main12.c b/unit-tests/test-cases/llvm-integration/main12.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/llvm-integration/main13.cc b/unit-tests/test-cases/llvm-integration/main13.cc old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/llvm-integration/main16.c b/unit-tests/test-cases/llvm-integration/main16.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/llvm-integration/main19.c b/unit-tests/test-cases/llvm-integration/main19.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/llvm-integration/main2.c b/unit-tests/test-cases/llvm-integration/main2.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/llvm-integration/main20.c b/unit-tests/test-cases/llvm-integration/main20.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/llvm-integration/main3.c b/unit-tests/test-cases/llvm-integration/main3.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/llvm-integration/main4.c b/unit-tests/test-cases/llvm-integration/main4.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/llvm-integration/main5.c b/unit-tests/test-cases/llvm-integration/main5.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/llvm-integration/main6.c b/unit-tests/test-cases/llvm-integration/main6.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/llvm-integration/main7.c b/unit-tests/test-cases/llvm-integration/main7.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/llvm-integration/main8.c b/unit-tests/test-cases/llvm-integration/main8.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/llvm-integration/main9.c b/unit-tests/test-cases/llvm-integration/main9.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/loader_path/Makefile b/unit-tests/test-cases/loader_path/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/loader_path/bar.c b/unit-tests/test-cases/loader_path/bar.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/loader_path/foo.c b/unit-tests/test-cases/loader_path/foo.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/loader_path/main.c b/unit-tests/test-cases/loader_path/main.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/local-symbol-partial-stripping/Makefile b/unit-tests/test-cases/local-symbol-partial-stripping/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/local-symbol-partial-stripping/a.expect b/unit-tests/test-cases/local-symbol-partial-stripping/a.expect old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/local-symbol-partial-stripping/a.list b/unit-tests/test-cases/local-symbol-partial-stripping/a.list old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/local-symbol-partial-stripping/b.expect b/unit-tests/test-cases/local-symbol-partial-stripping/b.expect old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/local-symbol-partial-stripping/b.list b/unit-tests/test-cases/local-symbol-partial-stripping/b.list old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/local-symbol-partial-stripping/c.list b/unit-tests/test-cases/local-symbol-partial-stripping/c.list old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/local-symbol-partial-stripping/foo.c b/unit-tests/test-cases/local-symbol-partial-stripping/foo.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/local-symbol-partial-stripping/main.c b/unit-tests/test-cases/local-symbol-partial-stripping/main.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/main-stripped/Makefile b/unit-tests/test-cases/main-stripped/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/main-stripped/main.c b/unit-tests/test-cases/main-stripped/main.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/main-stripped/main.exp b/unit-tests/test-cases/main-stripped/main.exp old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/missing-option-args/Makefile b/unit-tests/test-cases/missing-option-args/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/missing-option-args/comment.txt b/unit-tests/test-cases/missing-option-args/comment.txt old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/multiple-entry-points/Makefile b/unit-tests/test-cases/multiple-entry-points/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/multiple-entry-points/comment.txt b/unit-tests/test-cases/multiple-entry-points/comment.txt old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/multiple-entry-points/test.s b/unit-tests/test-cases/multiple-entry-points/test.s old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/no-dynamic-common/Makefile.newtest b/unit-tests/test-cases/no-dynamic-common/Makefile.newtest old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/no-dynamic-common/a.c b/unit-tests/test-cases/no-dynamic-common/a.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/no-dynamic-common/comment.txt b/unit-tests/test-cases/no-dynamic-common/comment.txt old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/no-dynamic-common/test.c b/unit-tests/test-cases/no-dynamic-common/test.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/no-uuid/Makefile b/unit-tests/test-cases/no-uuid/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/no-uuid/bar.c b/unit-tests/test-cases/no-uuid/bar.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/no-uuid/comment.txt b/unit-tests/test-cases/no-uuid/comment.txt old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/no-uuid/foo.c b/unit-tests/test-cases/no-uuid/foo.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/non-lazy-r/Makefile b/unit-tests/test-cases/non-lazy-r/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/non-lazy-r/foo.c b/unit-tests/test-cases/non-lazy-r/foo.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/non-lazy-r/other.c b/unit-tests/test-cases/non-lazy-r/other.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/objc-category-debug-notes/Makefile b/unit-tests/test-cases/objc-category-debug-notes/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/objc-category-debug-notes/test.m b/unit-tests/test-cases/objc-category-debug-notes/test.m old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/objc-exported_symbols_list/Makefile b/unit-tests/test-cases/objc-exported_symbols_list/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/objc-exported_symbols_list/foo.exp b/unit-tests/test-cases/objc-exported_symbols_list/foo.exp old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/objc-exported_symbols_list/foo.m b/unit-tests/test-cases/objc-exported_symbols_list/foo.m old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/objc-gc-checks/Makefile b/unit-tests/test-cases/objc-gc-checks/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/objc-gc-checks/bar.m b/unit-tests/test-cases/objc-gc-checks/bar.m old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/objc-gc-checks/comment.txt b/unit-tests/test-cases/objc-gc-checks/comment.txt old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/objc-gc-checks/foo.m b/unit-tests/test-cases/objc-gc-checks/foo.m old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/objc-gc-checks/runtime.c b/unit-tests/test-cases/objc-gc-checks/runtime.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/objc-literal-pointers/Makefile b/unit-tests/test-cases/objc-literal-pointers/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/objc-literal-pointers/test.m b/unit-tests/test-cases/objc-literal-pointers/test.m old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/objc-references/Makefile b/unit-tests/test-cases/objc-references/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/objc-references/comment.txt b/unit-tests/test-cases/objc-references/comment.txt old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/objc-references/test.m b/unit-tests/test-cases/objc-references/test.m old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/objc-selector-coalescing/Makefile b/unit-tests/test-cases/objc-selector-coalescing/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/objc-selector-coalescing/main.m b/unit-tests/test-cases/objc-selector-coalescing/main.m old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/objc-selector-coalescing/other.m b/unit-tests/test-cases/objc-selector-coalescing/other.m old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/operator-new/Makefile b/unit-tests/test-cases/operator-new/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/operator-new/main.cxx b/unit-tests/test-cases/operator-new/main.cxx old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/order_file-ans/Makefile b/unit-tests/test-cases/order_file-ans/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/order_file-ans/main.cxx b/unit-tests/test-cases/order_file-ans/main.cxx old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/order_file-ans/main.expected b/unit-tests/test-cases/order_file-ans/main.expected old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/order_file-ans/main.order b/unit-tests/test-cases/order_file-ans/main.order old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/order_file/Makefile b/unit-tests/test-cases/order_file/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/order_file/extra.s b/unit-tests/test-cases/order_file/extra.s old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/order_file/main.c b/unit-tests/test-cases/order_file/main.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/order_file/main1.expected b/unit-tests/test-cases/order_file/main1.expected old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/order_file/main1.order b/unit-tests/test-cases/order_file/main1.order old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/order_file/main2.expected b/unit-tests/test-cases/order_file/main2.expected old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/order_file/main2.order b/unit-tests/test-cases/order_file/main2.order old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/order_file/main3.expected b/unit-tests/test-cases/order_file/main3.expected old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/order_file/main3.order b/unit-tests/test-cases/order_file/main3.order old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/prebound-main/Makefile b/unit-tests/test-cases/prebound-main/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/prebound-main/main.c b/unit-tests/test-cases/prebound-main/main.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/prebound-split-seg/Makefile b/unit-tests/test-cases/prebound-split-seg/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/prebound-split-seg/address_table b/unit-tests/test-cases/prebound-split-seg/address_table old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/prebound-split-seg/bar.c b/unit-tests/test-cases/prebound-split-seg/bar.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/private-non-lazy/Makefile b/unit-tests/test-cases/private-non-lazy/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/private-non-lazy/bar.c b/unit-tests/test-cases/private-non-lazy/bar.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/private-non-lazy/comment.txt b/unit-tests/test-cases/private-non-lazy/comment.txt old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/private-non-lazy/foo.c b/unit-tests/test-cases/private-non-lazy/foo.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/private-non-lazy/hello.c b/unit-tests/test-cases/private-non-lazy/hello.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/re-export-cases/Makefile b/unit-tests/test-cases/re-export-cases/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/re-export-cases/bar.c b/unit-tests/test-cases/re-export-cases/bar.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/re-export-cases/baz.c b/unit-tests/test-cases/re-export-cases/baz.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/re-export-cases/foo.c b/unit-tests/test-cases/re-export-cases/foo.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/re-export-flag/Makefile b/unit-tests/test-cases/re-export-flag/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/re-export-flag/bar.c b/unit-tests/test-cases/re-export-flag/bar.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/re-export-flag/foo.c b/unit-tests/test-cases/re-export-flag/foo.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/re-export-optimizations/Makefile b/unit-tests/test-cases/re-export-optimizations/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/re-export-optimizations/bar.c b/unit-tests/test-cases/re-export-optimizations/bar.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/re-export-optimizations/foo.c b/unit-tests/test-cases/re-export-optimizations/foo.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/re-export-optimizations/main.c b/unit-tests/test-cases/re-export-optimizations/main.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/re-export-relative-paths/Makefile b/unit-tests/test-cases/re-export-relative-paths/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/re-export-relative-paths/bar.c b/unit-tests/test-cases/re-export-relative-paths/bar.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/re-export-relative-paths/foo.c b/unit-tests/test-cases/re-export-relative-paths/foo.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/re-export-relative-paths/main.c b/unit-tests/test-cases/re-export-relative-paths/main.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/re-export-relative-paths/wrap.c b/unit-tests/test-cases/re-export-relative-paths/wrap.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/read-only-relocs/Makefile b/unit-tests/test-cases/read-only-relocs/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/read-only-relocs/foo.c b/unit-tests/test-cases/read-only-relocs/foo.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/read-only-relocs/test.c b/unit-tests/test-cases/read-only-relocs/test.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/rebase-basic/Makefile b/unit-tests/test-cases/rebase-basic/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/rebase-basic/bar.m b/unit-tests/test-cases/rebase-basic/bar.m old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/rebase-basic/comment.txt b/unit-tests/test-cases/rebase-basic/comment.txt old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/rebase-basic/foo.c b/unit-tests/test-cases/rebase-basic/foo.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/relocs-asm/Makefile b/unit-tests/test-cases/relocs-asm/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/relocs-asm/comment.txt b/unit-tests/test-cases/relocs-asm/comment.txt old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/relocs-asm/relocs-asm.s b/unit-tests/test-cases/relocs-asm/relocs-asm.s old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/relocs-c/Makefile b/unit-tests/test-cases/relocs-c/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/relocs-c/test.c b/unit-tests/test-cases/relocs-c/test.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/relocs-c2/Makefile b/unit-tests/test-cases/relocs-c2/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/relocs-c2/comment.txt b/unit-tests/test-cases/relocs-c2/comment.txt old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/relocs-c2/test.c b/unit-tests/test-cases/relocs-c2/test.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/relocs-literals/Makefile b/unit-tests/test-cases/relocs-literals/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/relocs-literals/test.c b/unit-tests/test-cases/relocs-literals/test.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/relocs-literals2/Makefile b/unit-tests/test-cases/relocs-literals2/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/relocs-literals2/test.c b/unit-tests/test-cases/relocs-literals2/test.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/relocs-literals3/Makefile b/unit-tests/test-cases/relocs-literals3/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/relocs-literals3/comment.txt b/unit-tests/test-cases/relocs-literals3/comment.txt old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/relocs-literals3/test.c b/unit-tests/test-cases/relocs-literals3/test.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/relocs-objc/Makefile b/unit-tests/test-cases/relocs-objc/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/relocs-objc/comment.txt b/unit-tests/test-cases/relocs-objc/comment.txt old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/relocs-objc/test.m b/unit-tests/test-cases/relocs-objc/test.m old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/segment-order/Makefile b/unit-tests/test-cases/segment-order/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/segment-order/expected.order b/unit-tests/test-cases/segment-order/expected.order old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/segment-order/main.c b/unit-tests/test-cases/segment-order/main.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/segment-order/segJJJ.s b/unit-tests/test-cases/segment-order/segJJJ.s old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/segment-order/segKKK.s b/unit-tests/test-cases/segment-order/segKKK.s old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/segment-order/segLLL.s b/unit-tests/test-cases/segment-order/segLLL.s old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/slow-x86-stubs/Makefile b/unit-tests/test-cases/slow-x86-stubs/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/slow-x86-stubs/hello.c b/unit-tests/test-cases/slow-x86-stubs/hello.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/special-labels/Makefile b/unit-tests/test-cases/special-labels/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/special-labels/extra.s b/unit-tests/test-cases/special-labels/extra.s old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/special-labels/main.c b/unit-tests/test-cases/special-labels/main.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/stabs-coalesce/Makefile b/unit-tests/test-cases/stabs-coalesce/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/stabs-coalesce/comment.txt b/unit-tests/test-cases/stabs-coalesce/comment.txt old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/stabs-coalesce/header.h b/unit-tests/test-cases/stabs-coalesce/header.h old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/stabs-coalesce/hello.cxx b/unit-tests/test-cases/stabs-coalesce/hello.cxx old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/stabs-coalesce/other.cxx b/unit-tests/test-cases/stabs-coalesce/other.cxx old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/stabs-directory-slash/Makefile b/unit-tests/test-cases/stabs-directory-slash/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/stabs-directory-slash/main.c b/unit-tests/test-cases/stabs-directory-slash/main.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/stack_addr_no_size/Makefile.newtest b/unit-tests/test-cases/stack_addr_no_size/Makefile.newtest old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/stack_addr_no_size/comment.txt b/unit-tests/test-cases/stack_addr_no_size/comment.txt old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/stack_addr_no_size/main.c b/unit-tests/test-cases/stack_addr_no_size/main.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/stack_addr_size/Makefile b/unit-tests/test-cases/stack_addr_size/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/stack_addr_size/comment.txt b/unit-tests/test-cases/stack_addr_size/comment.txt old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/stack_addr_size/main.c b/unit-tests/test-cases/stack_addr_size/main.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/stack_size_no_addr/Makefile b/unit-tests/test-cases/stack_size_no_addr/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/stack_size_no_addr/comment.txt b/unit-tests/test-cases/stack_size_no_addr/comment.txt old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/stack_size_no_addr/main.c b/unit-tests/test-cases/stack_size_no_addr/main.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/static-executable/Makefile b/unit-tests/test-cases/static-executable/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/static-executable/test.c b/unit-tests/test-cases/static-executable/test.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/static-strip/Makefile.newtest b/unit-tests/test-cases/static-strip/Makefile.newtest old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/static-strip/comment.txt b/unit-tests/test-cases/static-strip/comment.txt old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/static-strip/test.c b/unit-tests/test-cases/static-strip/test.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/strip-test2/Makefile b/unit-tests/test-cases/strip-test2/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/strip-test2/comment.txt b/unit-tests/test-cases/strip-test2/comment.txt old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/strip-test2/main.cxx b/unit-tests/test-cases/strip-test2/main.cxx old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/strip-test3/Makefile.newtest b/unit-tests/test-cases/strip-test3/Makefile.newtest old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/strip-test3/comment.txt b/unit-tests/test-cases/strip-test3/comment.txt old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/strip-test3/main.cxx b/unit-tests/test-cases/strip-test3/main.cxx old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/strip_local/Makefile b/unit-tests/test-cases/strip_local/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/strip_local/foo.c b/unit-tests/test-cases/strip_local/foo.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/strip_local/hello.c b/unit-tests/test-cases/strip_local/hello.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/stripped-indirect-symbol-table/Makefile b/unit-tests/test-cases/stripped-indirect-symbol-table/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/stripped-indirect-symbol-table/a.c b/unit-tests/test-cases/stripped-indirect-symbol-table/a.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/stripped-indirect-symbol-table/b.c b/unit-tests/test-cases/stripped-indirect-symbol-table/b.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/stripped-indirect-symbol-table/c.c b/unit-tests/test-cases/stripped-indirect-symbol-table/c.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/stripped-indirect-symbol-table/func.c b/unit-tests/test-cases/stripped-indirect-symbol-table/func.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/stripped-indirect-symbol-table/strip.list b/unit-tests/test-cases/stripped-indirect-symbol-table/strip.list old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/stub-generation-weak/Makefile b/unit-tests/test-cases/stub-generation-weak/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/stub-generation-weak/foo.c b/unit-tests/test-cases/stub-generation-weak/foo.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/stub-generation-weak/main.c b/unit-tests/test-cases/stub-generation-weak/main.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/stub-generation/Makefile b/unit-tests/test-cases/stub-generation/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/stub-generation/test.c b/unit-tests/test-cases/stub-generation/test.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/switch-jump-table/Makefile b/unit-tests/test-cases/switch-jump-table/Makefile new file mode 100644 index 0000000..aacd78d --- /dev/null +++ b/unit-tests/test-cases/switch-jump-table/Makefile @@ -0,0 +1,56 @@ +## +# Copyright (c) 2008 Apple Inc. All rights reserved. +# +# @APPLE_LICENSE_HEADER_START@ +# +# This file contains Original Code and/or Modifications of Original Code +# as defined in and that are subject to the Apple Public Source License +# Version 2.0 (the 'License'). You may not use this file except in +# compliance with the License. Please obtain a copy of the License at +# http://www.opensource.apple.com/apsl/ and read it before using this +# file. +# +# The Original Code and all software distributed under the License are +# distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER +# EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, +# INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. +# Please see the License for the specific language governing rights and +# limitations under the License. +# +# @APPLE_LICENSE_HEADER_END@ +## +TESTROOT = ../.. +include ${TESTROOT}/include/common.makefile + +# +# Test that -mdynamic-no-pic jump table in the middle of +# a function does not cause relocations. +# +# SPEC2000/eon built with -mdynamic-no-pic won't run +# + +run: all + +all: + # check jump table in a weak function + ${CC} ${CCFLAGS} main.c switch.s -o main + otool -rv main | grep _foo | ${FAIL_IF_STDIN} + otool -rv main | grep _bar | ${FAIL_IF_STDIN} + # check jump table in a regular function with -flat_namespace + ${CC} ${CCFLAGS} main.c switch.s -o main -flat_namespace + otool -rv main | grep _foo | ${FAIL_IF_STDIN} + otool -rv main | grep _bar | ${FAIL_IF_STDIN} + # check jump table in a regular function that is interposable + ${CC} ${CCFLAGS} main.c switch.s -o main -Wl,-interposable_list,interpose.exp + otool -rv main | grep _foo | ${FAIL_IF_STDIN} + otool -rv main | grep _bar | ${FAIL_IF_STDIN} + # check jump table with -pie, should have no external and some local relocations + ${CC} ${CCFLAGS} main.c switch.s -o main -Wl,-pie -read_only_relocs suppress + otool -rv main | grep "External relocation" | ${FAIL_IF_STDIN} + otool -rv main | grep "Local relocation" | ${FAIL_IF_EMPTY} + ${PASS_IFF_GOOD_MACHO} main + + +clean: + rm -f main diff --git a/unit-tests/test-cases/switch-jump-table/interpose.exp b/unit-tests/test-cases/switch-jump-table/interpose.exp new file mode 100644 index 0000000..b9e50b8 --- /dev/null +++ b/unit-tests/test-cases/switch-jump-table/interpose.exp @@ -0,0 +1,2 @@ +_foo +_bar diff --git a/unit-tests/test-cases/switch-jump-table/main.c b/unit-tests/test-cases/switch-jump-table/main.c new file mode 100644 index 0000000..f44b624 --- /dev/null +++ b/unit-tests/test-cases/switch-jump-table/main.c @@ -0,0 +1,4 @@ +int main() +{ + return 0; +} \ No newline at end of file diff --git a/unit-tests/test-cases/switch-jump-table/switch.s b/unit-tests/test-cases/switch-jump-table/switch.s new file mode 100644 index 0000000..12b559f --- /dev/null +++ b/unit-tests/test-cases/switch-jump-table/switch.s @@ -0,0 +1,49 @@ + + .section __TEXT,__textcoal_nt,coalesced,pure_instructions + + + +/* + Simulate a switch statement in a weak function compiled + to a jump table +*/ + .globl _foo + .weak_definition _foo +_foo: + nop + nop +#if __arm__ || __i386__ + .long L1 + .long L2 + .long L3 +#endif + nop +L1: nop +L2: nop +L3: nop + nop + + +/* + Simulate a switch statement in a regular function compiled + to a jump table +*/ + .text + .globl _bar +_bar: nop + nop + nop + nop +#if __arm__ || __i386__ + .long L5 + .long L6 + .long L7 +#endif + nop +L5: nop +L6: nop +L7: nop + nop + + + diff --git a/unit-tests/test-cases/symbol-moving/Makefile b/unit-tests/test-cases/symbol-moving/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/symbol-moving/aaa.c b/unit-tests/test-cases/symbol-moving/aaa.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/symbol-moving/anotb.c b/unit-tests/test-cases/symbol-moving/anotb.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/symbol-moving/bar.c b/unit-tests/test-cases/symbol-moving/bar.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/symbol-moving/bbb.c b/unit-tests/test-cases/symbol-moving/bbb.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/symbol-moving/bnota.c b/unit-tests/test-cases/symbol-moving/bnota.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/symbol-moving/foo.c b/unit-tests/test-cases/symbol-moving/foo.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/symbol-moving/main.c b/unit-tests/test-cases/symbol-moving/main.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/tentative-and-archive/Makefile b/unit-tests/test-cases/tentative-and-archive/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/tentative-and-archive/foo.c b/unit-tests/test-cases/tentative-and-archive/foo.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/tentative-and-archive/main.c b/unit-tests/test-cases/tentative-and-archive/main.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/tentative-and-dylib/Makefile b/unit-tests/test-cases/tentative-and-dylib/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/tentative-and-dylib/bar.c b/unit-tests/test-cases/tentative-and-dylib/bar.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/tentative-and-dylib/foo.c b/unit-tests/test-cases/tentative-and-dylib/foo.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/tentative-and-dylib/main.c b/unit-tests/test-cases/tentative-and-dylib/main.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/tentative-to-real-hidden/Makefile b/unit-tests/test-cases/tentative-to-real-hidden/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/tentative-to-real-hidden/test.c b/unit-tests/test-cases/tentative-to-real-hidden/test.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/tentative-to-real/Makefile b/unit-tests/test-cases/tentative-to-real/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/tentative-to-real/comment.txt b/unit-tests/test-cases/tentative-to-real/comment.txt old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/tentative-to-real/test.c b/unit-tests/test-cases/tentative-to-real/test.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/thumb-blx/Makefile b/unit-tests/test-cases/thumb-blx/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/thumb-blx/test.c b/unit-tests/test-cases/thumb-blx/test.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/undefined-dynamic-lookup/Makefile b/unit-tests/test-cases/undefined-dynamic-lookup/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/undefined-dynamic-lookup/main.c b/unit-tests/test-cases/undefined-dynamic-lookup/main.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/visibility-warning-dylib-v-archive/Makefile b/unit-tests/test-cases/visibility-warning-dylib-v-archive/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/visibility-warning-dylib-v-archive/bar.c b/unit-tests/test-cases/visibility-warning-dylib-v-archive/bar.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/visibility-warning-dylib-v-archive/foo.c b/unit-tests/test-cases/visibility-warning-dylib-v-archive/foo.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/visibility-warning-dylib-v-archive/main.c b/unit-tests/test-cases/visibility-warning-dylib-v-archive/main.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/visibility-warning/Makefile b/unit-tests/test-cases/visibility-warning/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/visibility-warning/foo.c b/unit-tests/test-cases/visibility-warning/foo.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/visibility-warning/foo_hidden.c b/unit-tests/test-cases/visibility-warning/foo_hidden.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/visibility-warning/foo_weak.c b/unit-tests/test-cases/visibility-warning/foo_weak.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/visibility-warning/foo_weak_hidden.c b/unit-tests/test-cases/visibility-warning/foo_weak_hidden.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/weak-def-ordinal/Makefile b/unit-tests/test-cases/weak-def-ordinal/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/weak-def-ordinal/bar.c b/unit-tests/test-cases/weak-def-ordinal/bar.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/weak-def-ordinal/foo.c b/unit-tests/test-cases/weak-def-ordinal/foo.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/weak-def-ordinal/main.c b/unit-tests/test-cases/weak-def-ordinal/main.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/weak_dylib/Makefile b/unit-tests/test-cases/weak_dylib/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/weak_dylib/bar.c b/unit-tests/test-cases/weak_dylib/bar.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/weak_dylib/bar.h b/unit-tests/test-cases/weak_dylib/bar.h old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/weak_dylib/foo.c b/unit-tests/test-cases/weak_dylib/foo.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/weak_dylib/foo.h b/unit-tests/test-cases/weak_dylib/foo.h old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/weak_dylib/main.c b/unit-tests/test-cases/weak_dylib/main.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/weak_import/Makefile b/unit-tests/test-cases/weak_import/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/weak_import/foo.c b/unit-tests/test-cases/weak_import/foo.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/weak_import/foo.h b/unit-tests/test-cases/weak_import/foo.h old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/weak_import/main.c b/unit-tests/test-cases/weak_import/main.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/weak_import2/Makefile.newtest b/unit-tests/test-cases/weak_import2/Makefile.newtest old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/weak_import2/comment.txt b/unit-tests/test-cases/weak_import2/comment.txt old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/weak_import2/foo.c b/unit-tests/test-cases/weak_import2/foo.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/weak_import2/foo.h b/unit-tests/test-cases/weak_import2/foo.h old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/weak_import2/foo1.c b/unit-tests/test-cases/weak_import2/foo1.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/weak_import2/main.c b/unit-tests/test-cases/weak_import2/main.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/weak_import3/Makefile b/unit-tests/test-cases/weak_import3/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/weak_import3/comment.txt b/unit-tests/test-cases/weak_import3/comment.txt old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/weak_import3/foo.c b/unit-tests/test-cases/weak_import3/foo.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/weak_import3/foo.h b/unit-tests/test-cases/weak_import3/foo.h old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/weak_import3/foo1.c b/unit-tests/test-cases/weak_import3/foo1.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/weak_import3/main.c b/unit-tests/test-cases/weak_import3/main.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/why_live/Makefile b/unit-tests/test-cases/why_live/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/why_live/bar.c b/unit-tests/test-cases/why_live/bar.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/why_live/foo.c b/unit-tests/test-cases/why_live/foo.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/why_live/main.c b/unit-tests/test-cases/why_live/main.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/zero-fill/Makefile b/unit-tests/test-cases/zero-fill/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/zero-fill/test.c b/unit-tests/test-cases/zero-fill/test.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/zero-fill2/Makefile b/unit-tests/test-cases/zero-fill2/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/zero-fill2/comment.txt b/unit-tests/test-cases/zero-fill2/comment.txt old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/zero-fill2/test.c b/unit-tests/test-cases/zero-fill2/test.c old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/zero-fill3/Makefile b/unit-tests/test-cases/zero-fill3/Makefile old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/zero-fill3/comment.txt b/unit-tests/test-cases/zero-fill3/comment.txt old mode 100755 new mode 100644 diff --git a/unit-tests/test-cases/zero-fill3/test.c b/unit-tests/test-cases/zero-fill3/test.c old mode 100755 new mode 100644 -- 2.45.2