<pre style='margin:0'>
Jeremy Huddleston Sequoia (jeremyhu) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/494bd28964873e275085c0bc96fe02906761ad46">https://github.com/macports/macports-ports/commit/494bd28964873e275085c0bc96fe02906761ad46</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 494bd28964873e275085c0bc96fe02906761ad46
</span>Author: Jeremy Huddleston Sequoia <jeremyhu@macports.org>
AuthorDate: Sun Dec 25 22:52:11 2016 -0800
<span style='display:block; white-space:pre;color:#404040;'> ld64: Trim the fat out of patches
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@macports.org>
</span>---
devel/ld64/files/PR-29723629.patch | 6 -
devel/ld64/files/dyld-421-no-blocks.patch | 2 -
.../files/ld64-127-configured_architectures.patch | 13 --
.../ld64-127-cxx_initializer_order_and_sim.patch | 186 ---------------------
devel/ld64/files/ld64-127-ppc.patch | 5 -
devel/ld64/files/ld64-136-hash_set.patch | 48 +-----
devel/ld64/files/ld64-236-hash_set.patch | 21 ---
.../files/ld64-97-configured_architectures.patch | 14 --
devel/ld64/files/ld64-97-no-Availability.h.patch | 15 +-
devel/ld64/files/ld64-ppc-9610466.patch | 15 +-
10 files changed, 3 insertions(+), 322 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/ld64/files/PR-29723629.patch b/devel/ld64/files/PR-29723629.patch
</span><span style='display:block; white-space:pre;color:#808080;'>index 91aac5f..66a8c8d 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/ld64/files/PR-29723629.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/ld64/files/PR-29723629.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,11 +1,5 @@
</span> guard usage of thinlto_code_gen_t behind an appropriate API version check
<span style='display:block; white-space:pre;background:#ffe0e0;'>----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- src/ld/parsers/lto_file.cpp | 4 ++++
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 1 file changed, 4 insertions(+)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git src/ld/parsers/lto_file.cpp src/ld/parsers/lto_file.cpp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index 47506ad7..4c44f297 100644
</span> --- src/ld/parsers/lto_file.cpp
+++ src/ld/parsers/lto_file.cpp
@@ -292,12 +292,14 @@ private:
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/ld64/files/dyld-421-no-blocks.patch b/devel/ld64/files/dyld-421-no-blocks.patch
</span><span style='display:block; white-space:pre;color:#808080;'>index 8f8eccd..59839b7 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/ld64/files/dyld-421-no-blocks.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/ld64/files/dyld-421-no-blocks.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,5 +1,3 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git a/include/mach-o/dyld_priv.h b/include/mach-o/dyld_priv.h
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index 2cd4006c..98d7ec1a 100644
</span> --- include/mach-o/dyld_priv.h
+++ include/mach-o/dyld_priv.h
@@ -304,6 +304,8 @@ struct dyld_shared_cache_dylib_text_info {
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/ld64/files/ld64-127-configured_architectures.patch b/devel/ld64/files/ld64-127-configured_architectures.patch
</span><span style='display:block; white-space:pre;color:#808080;'>index d44e682..3187a06 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/ld64/files/ld64-127-configured_architectures.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/ld64/files/ld64-127-configured_architectures.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,14 +1,5 @@
</span> print architectures supported when -v used
<span style='display:block; white-space:pre;background:#ffe0e0;'>----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- src/create_configure | 17 +++++++++++++++++
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- src/ld/Options.cpp | 3 ++-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 2 files changed, 19 insertions(+), 1 deletion(-)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- create mode 100755 src/create_configure
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git src/create_configure src/create_configure
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-new file mode 100755
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index 00000000..8852198b
</span> --- /dev/null
+++ src/create_configure
@@ -0,0 +1,17 @@
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -29,8 +20,6 @@ index 00000000..8852198b
</span> +fi
+
+echo "#define ALL_SUPPORTED_ARCHS \"${RC_SUPPORTED_ARCHS}\"" >> ${DERIVED_FILE_DIR}/configure.h
<span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git src/ld/Options.cpp src/ld/Options.cpp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index 3f5b054e..447bc4b4 100644
</span> --- src/ld/Options.cpp
+++ src/ld/Options.cpp
@@ -2764,11 +2764,12 @@ void Options::buildSearchPaths(int argc, const char* argv[])
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -47,5 +36,3 @@ index 3f5b054e..447bc4b4 100644
</span> exit(0);
}
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>---
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-2.11.0
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/ld64/files/ld64-127-cxx_initializer_order_and_sim.patch b/devel/ld64/files/ld64-127-cxx_initializer_order_and_sim.patch
</span><span style='display:block; white-space:pre;color:#808080;'>index 2f7d1ca..8e68cbf 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/ld64/files/ld64-127-cxx_initializer_order_and_sim.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/ld64/files/ld64-127-cxx_initializer_order_and_sim.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,25 +1,3 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git ChangeLog ChangeLog
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index fd449c8..6343447 100644
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- ChangeLog
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ ChangeLog
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1,3 +1,15 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+2011-11-01 Nick Kledzik <kledzik@apple.com>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ <rdar://problem/10255241> make linking for simulator more robust
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+2011-08-31 Nick Kledzik <kledzik@apple.com>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ <rdar://problem/8924157> [regression] C++ Initializers from archives not sorted
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ Added test case: unit-tests/test-cases/archive-init-order
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+2011-08-11 Nick Kledzik <kledzik@apple.com>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ Fix spurious -segaddr alignment warning
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -------- tagged ld64-127.2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git src/ld/Options.cpp src/ld/Options.cpp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index 3f5b054..f03a36c 100644
</span> --- src/ld/Options.cpp
+++ src/ld/Options.cpp
@@ -2127,9 +2127,9 @@ void Options::parse(int argc, const char* argv[])
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -79,8 +57,6 @@ index 3f5b054..f03a36c 100644
</span> // only ARM enforces that cpu-sub-types must match
if ( fArchitecture != CPU_TYPE_ARM )
fAllowCpuSubtypeMismatches = true;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git src/ld/passes/order_file.cpp src/ld/passes/order_file.cpp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index 5e814bd..7a5daa2 100644
</span> --- src/ld/passes/order_file.cpp
+++ src/ld/passes/order_file.cpp
@@ -237,6 +237,7 @@ bool Layout::orderableSection(const ld::Internal::FinalSection* sect)
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -91,165 +67,3 @@ index 5e814bd..7a5daa2 100644
</span> case ld::Section::typeUnclassified:
case ld::Section::typeCode:
case ld::Section::typeZeroFill:
<span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git unit-tests/test-cases/archive-init-order/Makefile unit-tests/test-cases/archive-init-order/Makefile
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-new file mode 100644
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index 0000000..83364e8
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- /dev/null
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ unit-tests/test-cases/archive-init-order/Makefile
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -0,0 +1,48 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+##
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+# Copyright (c) 2011 Apple Inc. All rights reserved.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+# @APPLE_LICENSE_HEADER_START@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+# This file contains Original Code and/or Modifications of Original Code
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+# as defined in and that are subject to the Apple Public Source License
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+# Version 2.0 (the 'License'). You may not use this file except in
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+# compliance with the License. Please obtain a copy of the License at
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+# http://www.opensource.apple.com/apsl/ and read it before using this
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+# file.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+# The Original Code and all software distributed under the License are
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+# distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+# EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+# INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+# FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+# Please see the License for the specific language governing rights and
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+# limitations under the License.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+# @APPLE_LICENSE_HEADER_END@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+##
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+TESTROOT = ../..
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+include ${TESTROOT}/include/common.makefile
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+# Check the order of functions from archives.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+run: all
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+all:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ ${CC} ${CCFLAGS} foo.c -c -o foo.o
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ ${CC} ${CCFLAGS} foo2.c -c -o foo2.o
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ ${CC} ${CCFLAGS} foo3.c -c -o foo3.o
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ ${CC} ${CCFLAGS} bar.c -c -o bar.o
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ ${CC} ${CCFLAGS} bar2.c -c -o bar2.o
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ ${CC} ${CCFLAGS} bar3.c -c -o bar3.o
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ libtool -static foo.o foo2.o foo3.o -o libfoo.a
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ libtool -static bar3.o bar2.o bar.o -o libbar.a
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ ${CC} ${CCFLAGS} main.c -lbar -lfoo -L. -o main -Wl,-map,main.map
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ grep anon main.map | awk '{ print $$4}' > main-actual.txt
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ sort main-actual.txt > main-should.txt
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ diff main-actual.txt main-should.txt
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ ${PASS_IFF_GOOD_MACHO} main
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+clean:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ rm -rf *.o *.a main main.map main*.txt
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git unit-tests/test-cases/archive-init-order/bar.c unit-tests/test-cases/archive-init-order/bar.c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-new file mode 100644
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index 0000000..850c211
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- /dev/null
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ unit-tests/test-cases/archive-init-order/bar.c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -0,0 +1,4 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+int bar() { return 0; }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+__attribute__((constructor))
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+void bar_init() { }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git unit-tests/test-cases/archive-init-order/bar2.c unit-tests/test-cases/archive-init-order/bar2.c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-new file mode 100644
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index 0000000..4c268ba
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- /dev/null
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ unit-tests/test-cases/archive-init-order/bar2.c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -0,0 +1,4 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+int bar2() { return 0; }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+__attribute__((constructor))
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+void bar2_init() { }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git unit-tests/test-cases/archive-init-order/bar3.c unit-tests/test-cases/archive-init-order/bar3.c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-new file mode 100644
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index 0000000..a55167f
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- /dev/null
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ unit-tests/test-cases/archive-init-order/bar3.c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -0,0 +1,4 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+int bar3() { return 0; }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+__attribute__((constructor))
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+void bar3_init() { }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git unit-tests/test-cases/archive-init-order/foo.c unit-tests/test-cases/archive-init-order/foo.c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-new file mode 100644
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index 0000000..6149aa1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- /dev/null
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ unit-tests/test-cases/archive-init-order/foo.c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -0,0 +1,4 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+int foo() { return 1; }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+__attribute__((constructor))
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+void foo_init() { }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git unit-tests/test-cases/archive-init-order/foo2.c unit-tests/test-cases/archive-init-order/foo2.c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-new file mode 100644
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index 0000000..a429fe5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- /dev/null
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ unit-tests/test-cases/archive-init-order/foo2.c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -0,0 +1,4 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+int foo2() { return 1; }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+__attribute__((constructor))
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+void foo2_init() { }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git unit-tests/test-cases/archive-init-order/foo3.c unit-tests/test-cases/archive-init-order/foo3.c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-new file mode 100644
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index 0000000..b097ebf
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- /dev/null
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ unit-tests/test-cases/archive-init-order/foo3.c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -0,0 +1,4 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+int foo3() { return 1; }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+__attribute__((constructor))
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+void foo3_init() { }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git unit-tests/test-cases/archive-init-order/main.c unit-tests/test-cases/archive-init-order/main.c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-new file mode 100644
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index 0000000..242b32a
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- /dev/null
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ unit-tests/test-cases/archive-init-order/main.c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -0,0 +1,41 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+/* -*- mode: C++; c-basic-offset: 4; tab-width: 4 -*-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ *
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ * Copyright (c) 2011 Apple Inc. All rights reserved.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ *
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ * @APPLE_LICENSE_HEADER_START@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ *
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ * This file contains Original Code and/or Modifications of Original Code
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ * as defined in and that are subject to the Apple Public Source License
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ * Version 2.0 (the 'License'). You may not use this file except in
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ * compliance with the License. Please obtain a copy of the License at
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ * http://www.opensource.apple.com/apsl/ and read it before using this
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ * file.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ *
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ * The Original Code and all software distributed under the License are
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ * Please see the License for the specific language governing rights and
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ * limitations under the License.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ *
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ * @APPLE_LICENSE_HEADER_END@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ */
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+extern int foo();
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+extern int foo2();
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+extern int foo3();
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+extern int bar();
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+extern int bar2();
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+extern int bar3();
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+int main()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+{
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ foo();
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ bar();
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ foo2();
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ bar2();
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ foo3();
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ bar3();
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ return 0;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-\ No newline at end of file
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/ld64/files/ld64-127-ppc.patch b/devel/ld64/files/ld64-127-ppc.patch
</span><span style='display:block; white-space:pre;color:#808080;'>index 49ca401..57b4976 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/ld64/files/ld64-127-ppc.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/ld64/files/ld64-127-ppc.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,5 +1,3 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git src/ld/HeaderAndLoadCommands.hpp src/ld/HeaderAndLoadCommands.hpp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index 395fc99..ac2a0a5 100644
</span> --- src/ld/HeaderAndLoadCommands.hpp
+++ src/ld/HeaderAndLoadCommands.hpp
@@ -1106,7 +1106,7 @@ uint8_t* HeaderAndLoadCommandsAtom<x86>::copyThreadsLoadCommand(uint8_t* p) cons
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -22,6 +20,3 @@ index 395fc99..ac2a0a5 100644
</span> cmd->set_thread_register(16, start); // rip
if ( _options.hasCustomStack() )
cmd->set_thread_register(7, _options.customStackAddr()); // r1
<span style='display:block; white-space:pre;background:#ffe0e0;'>---
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-2.2.1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/ld64/files/ld64-136-hash_set.patch b/devel/ld64/files/ld64-136-hash_set.patch
</span><span style='display:block; white-space:pre;color:#808080;'>index 708ec32..0808e0b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/ld64/files/ld64-136-hash_set.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/ld64/files/ld64-136-hash_set.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,11 +1,5 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-commit 8fe69df46f26076e7a5339f6ae505e19302a19d2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Date: Mon May 27 10:24:39 2013 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Don't use unordered_set without libc++
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- Don't use unordered_set without libc++
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git a/src/ld/InputFiles.cpp b/src/ld/InputFiles.cpp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index 7bf136b..6a81db2 100644
</span> --- src/ld/InputFiles.cpp
+++ src/ld/InputFiles.cpp
@@ -49,6 +49,8 @@
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -17,8 +11,6 @@ index 7bf136b..6a81db2 100644
</span> #include <dlfcn.h>
#include <AvailabilityMacros.h>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git a/src/ld/InputFiles.h b/src/ld/InputFiles.h
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index 9b969ee..ff4fd86 100644
</span> --- src/ld/InputFiles.h
+++ src/ld/InputFiles.h
@@ -103,7 +103,11 @@ private:
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -34,8 +26,6 @@ index 9b969ee..ff4fd86 100644
</span>
const Options& _options;
std::vector<ld::File*> _inputFiles;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git a/src/ld/LinkEditClassic.hpp b/src/ld/LinkEditClassic.hpp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index 60a4fa9..4df2d5f 100644
</span> --- src/ld/LinkEditClassic.hpp
+++ src/ld/LinkEditClassic.hpp
@@ -32,7 +32,6 @@
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -61,8 +51,6 @@ index 60a4fa9..4df2d5f 100644
</span>
const uint32_t _pointerSize;
std::vector<char*> _fullBuffers;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git a/src/ld/Options.h b/src/ld/Options.h
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index 41e5653..4289e68 100644
</span> --- src/ld/Options.h
+++ src/ld/Options.h
@@ -30,8 +30,8 @@
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -92,8 +80,6 @@ index 41e5653..4289e68 100644
</span> enum ExportMode { kExportDefault, kExportSome, kDontExportSome };
enum LibrarySearchMode { kSearchDylibAndArchiveInEachDir, kSearchAllDirsForDylibsThenAllDirsForArchives };
enum InterposeMode { kInterposeNone, kInterposeAllExternal, kInterposeSome };
<span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git a/src/ld/OutputFile.cpp b/src/ld/OutputFile.cpp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index 16fdd66..bacee09 100644
</span> --- src/ld/OutputFile.cpp
+++ src/ld/OutputFile.cpp
@@ -50,7 +50,8 @@
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -128,8 +114,6 @@ index 16fdd66..bacee09 100644
</span> for (std::vector<const ld::Atom*>::iterator it=atomsNeedingDebugNotes.begin(); it != atomsNeedingDebugNotes.end(); it++) {
const ld::Atom* atom = *it;
const ld::File* atomFile = atom->file();
<span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git a/src/ld/Resolver.cpp b/src/ld/Resolver.cpp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index ad4b22d..4d80af8 100644
</span> --- src/ld/Resolver.cpp
+++ src/ld/Resolver.cpp
@@ -47,6 +47,8 @@
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -141,8 +125,6 @@ index ad4b22d..4d80af8 100644
</span> #include <dlfcn.h>
#include <AvailabilityMacros.h>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git a/src/ld/Resolver.h b/src/ld/Resolver.h
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index 32d1d50..d71aed3 100644
</span> --- src/ld/Resolver.h
+++ src/ld/Resolver.h
@@ -42,7 +42,6 @@
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -166,8 +148,6 @@ index 32d1d50..d71aed3 100644
</span>
class NotLive {
public:
<span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git a/src/ld/SymbolTable.cpp b/src/ld/SymbolTable.cpp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index 2ea690f..406556a 100644
</span> --- src/ld/SymbolTable.cpp
+++ src/ld/SymbolTable.cpp
@@ -41,6 +41,8 @@
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -188,8 +168,6 @@ index 2ea690f..406556a 100644
</span> if ( n < 10 )
count[n] += 1;
else
<span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git a/src/ld/SymbolTable.h b/src/ld/SymbolTable.h
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index 5575f31..451d064 100644
</span> --- src/ld/SymbolTable.h
+++ src/ld/SymbolTable.h
@@ -42,7 +42,7 @@
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -250,8 +228,6 @@ index 5575f31..451d064 100644
</span>
typedef std::vector<const ld::Atom *> DuplicatedSymbolAtomList;
typedef std::map<const char *, DuplicatedSymbolAtomList * > DuplicateSymbols;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git a/src/ld/ld.cpp b/src/ld/ld.cpp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index a5db06e..1a234db 100644
</span> --- src/ld/ld.cpp
+++ src/ld/ld.cpp
@@ -54,7 +54,8 @@ extern "C" double log2 ( double );
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -282,8 +258,6 @@ index a5db06e..1a234db 100644
</span> hash += temp.operator()(sect->segmentName());
hash += temp.operator()(sect->sectionName());
return hash;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git a/src/ld/ld.hpp b/src/ld/ld.hpp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index 7be00a3..ed021ff 100644
</span> --- src/ld/ld.hpp
+++ src/ld/ld.hpp
@@ -788,20 +788,6 @@ public:
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -307,8 +281,6 @@ index 7be00a3..ed021ff 100644
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git a/src/ld/parsers/archive_file.cpp b/src/ld/parsers/archive_file.cpp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index 708f1fb..29ff25f 100644
</span> --- src/ld/parsers/archive_file.cpp
+++ src/ld/parsers/archive_file.cpp
@@ -33,7 +33,7 @@
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -334,8 +306,6 @@ index 708f1fb..29ff25f 100644
</span>
typedef typename A::P P;
typedef typename A::P::E E;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git a/src/ld/parsers/lto_file.cpp b/src/ld/parsers/lto_file.cpp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index 023f6e3..11b04a4 100644
</span> --- src/ld/parsers/lto_file.cpp
+++ src/ld/parsers/lto_file.cpp
@@ -30,11 +30,10 @@
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -368,8 +338,6 @@ index 023f6e3..11b04a4 100644
</span>
class AtomSyncer : public ld::File::AtomHandler {
public:
<span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git a/src/ld/parsers/macho_dylib_file.cpp b/src/ld/parsers/macho_dylib_file.cpp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index aad1a8b..77a4824 100644
</span> --- src/ld/parsers/macho_dylib_file.cpp
+++ src/ld/parsers/macho_dylib_file.cpp
@@ -33,8 +33,8 @@
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -424,8 +392,6 @@ index aad1a8b..77a4824 100644
</span> if ( _s_logHashtable ) fprintf(stderr, "ld: building hashtable of %u entries for %s\n", count, this->path());
const struct dylib_table_of_contents* toc = (dylib_table_of_contents*)(fileContent + dynamicInfo->tocoff());
for (int32_t i = 0; i < count; ++i) {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git a/src/ld/passes/dtrace_dof.cpp b/src/ld/passes/dtrace_dof.cpp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index 74328ff..175629d 100644
</span> --- src/ld/passes/dtrace_dof.cpp
+++ src/ld/passes/dtrace_dof.cpp
@@ -30,8 +30,7 @@
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -461,8 +427,6 @@ index 74328ff..175629d 100644
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git a/src/ld/passes/got.cpp b/src/ld/passes/got.cpp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index 3e6824f..44a5103 100644
</span> --- src/ld/passes/got.cpp
+++ src/ld/passes/got.cpp
@@ -30,6 +30,7 @@
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -473,8 +437,6 @@ index 3e6824f..44a5103 100644
</span>
#include "ld.hpp"
#include "got.h"
<span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git a/src/ld/passes/order.cpp b/src/ld/passes/order.cpp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index b4be79f..6876d8f 100644
</span> --- src/ld/passes/order.cpp
+++ src/ld/passes/order.cpp
@@ -31,7 +31,6 @@
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -498,8 +460,6 @@ index b4be79f..6876d8f 100644
</span>
typedef std::map<const ld::Atom*, const ld::Atom*> AtomToAtom;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git a/src/ld/passes/tlvp.cpp b/src/ld/passes/tlvp.cpp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index 6a58fdf..eed532e 100644
</span> --- src/ld/passes/tlvp.cpp
+++ src/ld/passes/tlvp.cpp
@@ -30,6 +30,7 @@
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -510,8 +470,6 @@ index 6a58fdf..eed532e 100644
</span>
#include "ld.hpp"
#include "tlvp.h"
<span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git a/src/other/dyldinfo.cpp b/src/other/dyldinfo.cpp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index 71f13b8..9dbf754 100644
</span> --- src/other/dyldinfo.cpp
+++ src/other/dyldinfo.cpp
@@ -33,7 +33,7 @@
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -538,8 +496,6 @@ index 71f13b8..9dbf754 100644
</span> DyldInfoPrinter(const uint8_t* fileContent, uint32_t fileLength, const char* path, bool printArch);
void printRebaseInfo();
void printRebaseInfoOpcodes();
<span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git a/src/other/machochecker.cpp b/src/other/machochecker.cpp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index bd585d1..274d170 100644
</span> --- src/other/machochecker.cpp
+++ src/other/machochecker.cpp
@@ -33,7 +33,7 @@
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -576,8 +532,6 @@ index bd585d1..274d170 100644
</span>
MachOChecker(const uint8_t* fileContent, uint32_t fileLength, const char* path);
void checkMachHeader();
<span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git a/src/other/unwinddump.cpp b/src/other/unwinddump.cpp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index 731f2a3..9060557 100644
</span> --- src/other/unwinddump.cpp
+++ src/other/unwinddump.cpp
@@ -33,7 +33,7 @@
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/ld64/files/ld64-236-hash_set.patch b/devel/ld64/files/ld64-236-hash_set.patch
</span><span style='display:block; white-space:pre;color:#808080;'>index 4ea420c..49975cb 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/ld64/files/ld64-236-hash_set.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/ld64/files/ld64-236-hash_set.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,4 +1,3 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-diff -Naurp src/ld/InputFiles.cpp src/ld/InputFiles.cpp
</span> --- src/ld/InputFiles.cpp 2014-04-04 15:42:29.000000000 -0700
+++ src/ld/InputFiles.cpp 2014-05-16 14:28:58.000000000 -0700
@@ -50,6 +50,8 @@
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -10,7 +9,6 @@ diff -Naurp src/ld/InputFiles.cpp src/ld/InputFiles.cpp
</span> #include <dlfcn.h>
#include <AvailabilityMacros.h>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-diff -Naurp src/ld/InputFiles.h src/ld/InputFiles.h
</span> --- src/ld/InputFiles.h 2014-04-04 15:42:29.000000000 -0700
+++ src/ld/InputFiles.h 2014-05-16 14:28:58.000000000 -0700
@@ -107,7 +107,11 @@ private:
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -26,7 +24,6 @@ diff -Naurp src/ld/InputFiles.h src/ld/InputFiles.h
</span>
const Options& _options;
std::vector<ld::File*> _inputFiles;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-diff -Naurp src/ld/LinkEditClassic.hpp src/ld/LinkEditClassic.hpp
</span> --- src/ld/LinkEditClassic.hpp 2014-04-04 15:42:29.000000000 -0700
+++ src/ld/LinkEditClassic.hpp 2014-05-16 14:28:58.000000000 -0700
@@ -32,7 +32,6 @@
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -52,7 +49,6 @@ diff -Naurp src/ld/LinkEditClassic.hpp src/ld/LinkEditClassic.hpp
</span>
const uint32_t _pointerSize;
std::vector<char*> _fullBuffers;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-diff -Naurp src/ld/Options.h src/ld/Options.h
</span> --- src/ld/Options.h 2014-04-04 15:42:29.000000000 -0700
+++ src/ld/Options.h 2014-05-16 14:28:58.000000000 -0700
@@ -30,8 +30,8 @@
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -82,7 +78,6 @@ diff -Naurp src/ld/Options.h src/ld/Options.h
</span> enum ExportMode { kExportDefault, kExportSome, kDontExportSome };
enum LibrarySearchMode { kSearchDylibAndArchiveInEachDir, kSearchAllDirsForDylibsThenAllDirsForArchives };
enum InterposeMode { kInterposeNone, kInterposeAllExternal, kInterposeSome };
<span style='display:block; white-space:pre;background:#ffe0e0;'>-diff -Naurp src/ld/OutputFile.cpp src/ld/OutputFile.cpp
</span> --- src/ld/OutputFile.cpp 2014-04-04 15:42:29.000000000 -0700
+++ src/ld/OutputFile.cpp 2014-05-16 14:28:58.000000000 -0700
@@ -50,7 +50,8 @@
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -117,7 +112,6 @@ diff -Naurp src/ld/OutputFile.cpp src/ld/OutputFile.cpp
</span> for (std::vector<const ld::Atom*>::iterator it=atomsNeedingDebugNotes.begin(); it != atomsNeedingDebugNotes.end(); it++) {
const ld::Atom* atom = *it;
const ld::File* atomFile = atom->file();
<span style='display:block; white-space:pre;background:#ffe0e0;'>-diff -Naurp src/ld/Resolver.cpp src/ld/Resolver.cpp
</span> --- src/ld/Resolver.cpp 2014-04-04 15:42:29.000000000 -0700
+++ src/ld/Resolver.cpp 2014-05-16 14:28:58.000000000 -0700
@@ -47,6 +47,8 @@
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -129,7 +123,6 @@ diff -Naurp src/ld/Resolver.cpp src/ld/Resolver.cpp
</span> #include <dlfcn.h>
#include <AvailabilityMacros.h>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-diff -Naurp src/ld/Resolver.h src/ld/Resolver.h
</span> --- src/ld/Resolver.h 2014-04-04 15:42:29.000000000 -0700
+++ src/ld/Resolver.h 2014-05-16 14:28:58.000000000 -0700
@@ -42,7 +42,6 @@
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -153,7 +146,6 @@ diff -Naurp src/ld/Resolver.h src/ld/Resolver.h
</span>
class NotLive {
public:
<span style='display:block; white-space:pre;background:#ffe0e0;'>-diff -Naurp src/ld/SymbolTable.cpp src/ld/SymbolTable.cpp
</span> --- src/ld/SymbolTable.cpp 2014-04-04 15:42:29.000000000 -0700
+++ src/ld/SymbolTable.cpp 2014-05-16 14:28:58.000000000 -0700
@@ -41,6 +41,8 @@
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -174,7 +166,6 @@ diff -Naurp src/ld/SymbolTable.cpp src/ld/SymbolTable.cpp
</span> if ( n < 10 )
count[n] += 1;
else
<span style='display:block; white-space:pre;background:#ffe0e0;'>-diff -Naurp src/ld/SymbolTable.h src/ld/SymbolTable.h
</span> --- src/ld/SymbolTable.h 2014-04-04 15:42:29.000000000 -0700
+++ src/ld/SymbolTable.h 2014-05-16 14:28:58.000000000 -0700
@@ -42,7 +42,7 @@
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -235,7 +226,6 @@ diff -Naurp src/ld/SymbolTable.h src/ld/SymbolTable.h
</span>
typedef std::vector<const ld::Atom *> DuplicatedSymbolAtomList;
typedef std::map<const char *, DuplicatedSymbolAtomList * > DuplicateSymbols;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-diff -Naurp src/ld/ld.cpp src/ld/ld.cpp
</span> --- src/ld/ld.cpp 2014-04-04 15:42:29.000000000 -0700
+++ src/ld/ld.cpp 2014-05-16 14:28:58.000000000 -0700
@@ -54,7 +54,8 @@ extern "C" double log2 ( double );
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -266,7 +256,6 @@ diff -Naurp src/ld/ld.cpp src/ld/ld.cpp
</span> hash += temp.operator()(sect->segmentName());
hash += temp.operator()(sect->sectionName());
return hash;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-diff -Naurp src/ld/ld.hpp src/ld/ld.hpp
</span> --- src/ld/ld.hpp 2014-04-04 15:42:29.000000000 -0700
+++ src/ld/ld.hpp 2014-05-16 14:43:37.000000000 -0700
@@ -32,7 +32,7 @@
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -287,7 +276,6 @@ diff -Naurp src/ld/ld.hpp src/ld/ld.hpp
</span>
class Internal
{
<span style='display:block; white-space:pre;background:#ffe0e0;'>-diff -Naurp src/ld/parsers/archive_file.cpp src/ld/parsers/archive_file.cpp
</span> --- src/ld/parsers/archive_file.cpp 2014-04-04 15:42:29.000000000 -0700
+++ src/ld/parsers/archive_file.cpp 2014-05-16 14:28:58.000000000 -0700
@@ -33,7 +33,7 @@
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -313,7 +301,6 @@ diff -Naurp src/ld/parsers/archive_file.cpp src/ld/parsers/archive_file.cpp
</span>
typedef typename A::P P;
typedef typename A::P::E E;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-diff -Naurp src/ld/parsers/lto_file.cpp src/ld/parsers/lto_file.cpp
</span> --- src/ld/parsers/lto_file.cpp 2014-05-16 14:28:17.000000000 -0700
+++ src/ld/parsers/lto_file.cpp 2014-05-16 14:28:58.000000000 -0700
@@ -30,11 +30,10 @@
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -346,7 +333,6 @@ diff -Naurp src/ld/parsers/lto_file.cpp src/ld/parsers/lto_file.cpp
</span>
class AtomSyncer : public ld::File::AtomHandler {
public:
<span style='display:block; white-space:pre;background:#ffe0e0;'>-diff -Naurp src/ld/parsers/macho_dylib_file.cpp src/ld/parsers/macho_dylib_file.cpp
</span> --- src/ld/parsers/macho_dylib_file.cpp 2014-05-16 14:28:17.000000000 -0700
+++ src/ld/parsers/macho_dylib_file.cpp 2014-05-16 14:28:58.000000000 -0700
@@ -34,8 +34,8 @@
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -401,7 +387,6 @@ diff -Naurp src/ld/parsers/macho_dylib_file.cpp src/ld/parsers/macho_dylib_file.
</span> if ( _s_logHashtable ) fprintf(stderr, "ld: building hashtable of %u entries for %s\n", count, this->path());
const struct dylib_table_of_contents* toc = (dylib_table_of_contents*)(fileContent + dynamicInfo->tocoff());
for (int32_t i = 0; i < count; ++i) {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-diff -Naurp src/ld/passes/dtrace_dof.cpp src/ld/passes/dtrace_dof.cpp
</span> --- src/ld/passes/dtrace_dof.cpp 2014-04-04 15:42:29.000000000 -0700
+++ src/ld/passes/dtrace_dof.cpp 2014-05-16 14:28:58.000000000 -0700
@@ -30,8 +30,7 @@
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -437,7 +422,6 @@ diff -Naurp src/ld/passes/dtrace_dof.cpp src/ld/passes/dtrace_dof.cpp
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-diff -Naurp src/ld/passes/got.cpp src/ld/passes/got.cpp
</span> --- src/ld/passes/got.cpp 2014-04-04 15:42:29.000000000 -0700
+++ src/ld/passes/got.cpp 2014-05-16 14:28:58.000000000 -0700
@@ -30,6 +30,7 @@
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -448,7 +432,6 @@ diff -Naurp src/ld/passes/got.cpp src/ld/passes/got.cpp
</span>
#include "MachOFileAbstraction.hpp"
#include "ld.hpp"
<span style='display:block; white-space:pre;background:#ffe0e0;'>-diff -Naurp src/ld/passes/order.cpp src/ld/passes/order.cpp
</span> --- src/ld/passes/order.cpp 2014-04-04 15:42:29.000000000 -0700
+++ src/ld/passes/order.cpp 2014-05-16 14:28:58.000000000 -0700
@@ -32,7 +32,6 @@
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -472,7 +455,6 @@ diff -Naurp src/ld/passes/order.cpp src/ld/passes/order.cpp
</span>
typedef std::map<const ld::Atom*, const ld::Atom*> AtomToAtom;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-diff -Naurp src/ld/passes/tlvp.cpp src/ld/passes/tlvp.cpp
</span> --- src/ld/passes/tlvp.cpp 2014-04-04 15:42:29.000000000 -0700
+++ src/ld/passes/tlvp.cpp 2014-05-16 14:28:58.000000000 -0700
@@ -30,6 +30,7 @@
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -483,7 +465,6 @@ diff -Naurp src/ld/passes/tlvp.cpp src/ld/passes/tlvp.cpp
</span>
#include "ld.hpp"
#include "tlvp.h"
<span style='display:block; white-space:pre;background:#ffe0e0;'>-diff -Naurp src/other/dyldinfo.cpp src/other/dyldinfo.cpp
</span> --- src/other/dyldinfo.cpp 2014-04-04 15:42:29.000000000 -0700
+++ src/other/dyldinfo.cpp 2014-05-16 14:28:58.000000000 -0700
@@ -33,7 +33,7 @@
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -510,7 +491,6 @@ diff -Naurp src/other/dyldinfo.cpp src/other/dyldinfo.cpp
</span> DyldInfoPrinter(const uint8_t* fileContent, uint32_t fileLength, const char* path, bool printArch);
void printRebaseInfo();
void printRebaseInfoOpcodes();
<span style='display:block; white-space:pre;background:#ffe0e0;'>-diff -Naurp src/other/machochecker.cpp src/other/machochecker.cpp
</span> --- src/other/machochecker.cpp 2014-04-04 15:42:29.000000000 -0700
+++ src/other/machochecker.cpp 2014-05-16 14:28:58.000000000 -0700
@@ -33,7 +33,7 @@
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -547,7 +527,6 @@ diff -Naurp src/other/machochecker.cpp src/other/machochecker.cpp
</span>
MachOChecker(const uint8_t* fileContent, uint32_t fileLength, const char* path);
void checkMachHeader();
<span style='display:block; white-space:pre;background:#ffe0e0;'>-diff -Naurp src/other/unwinddump.cpp src/other/unwinddump.cpp
</span> --- src/other/unwinddump.cpp 2014-04-04 15:42:29.000000000 -0700
+++ src/other/unwinddump.cpp 2014-05-16 14:28:58.000000000 -0700
@@ -33,7 +33,7 @@
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/ld64/files/ld64-97-configured_architectures.patch b/devel/ld64/files/ld64-97-configured_architectures.patch
</span><span style='display:block; white-space:pre;color:#808080;'>index d291e1b..1785ede 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/ld64/files/ld64-97-configured_architectures.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/ld64/files/ld64-97-configured_architectures.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,15 +1,5 @@
</span> print architectures supported when -v used
<span style='display:block; white-space:pre;background:#ffe0e0;'>----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- src/create_configure | 17 +++++++++++++++++
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- src/ld/LTOReader.hpp | 2 +-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- src/ld/Options.cpp | 1 +
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 3 files changed, 19 insertions(+), 1 deletion(-)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- create mode 100755 src/create_configure
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git src/create_configure src/create_configure
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-new file mode 100755
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index 00000000..8852198b
</span> --- /dev/null
+++ src/create_configure
@@ -0,0 +1,17 @@
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -30,8 +20,6 @@ index 00000000..8852198b
</span> +fi
+
+echo "#define ALL_SUPPORTED_ARCHS \"${RC_SUPPORTED_ARCHS}\"" >> ${DERIVED_FILE_DIR}/configure.h
<span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git src/ld/LTOReader.hpp src/ld/LTOReader.hpp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index 2e560cc1..d672abc1 100644
</span> --- src/ld/LTOReader.hpp
+++ src/ld/LTOReader.hpp
@@ -734,7 +734,7 @@ extern void printLTOVersion(Options& opts);
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -43,8 +31,6 @@ index 2e560cc1..d672abc1 100644
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git src/ld/Options.cpp src/ld/Options.cpp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index 492d140b..be42295c 100644
</span> --- src/ld/Options.cpp
+++ src/ld/Options.cpp
@@ -2598,6 +2598,7 @@ void Options::buildSearchPaths(int argc, const char* argv[])
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/ld64/files/ld64-97-no-Availability.h.patch b/devel/ld64/files/ld64-97-no-Availability.h.patch
</span><span style='display:block; white-space:pre;color:#808080;'>index 81a2886..8f0958e 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/ld64/files/ld64-97-no-Availability.h.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/ld64/files/ld64-97-no-Availability.h.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,17 +1,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-From 252fa112fb93f8e5fd9035e023bcd08adf55c833 Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-From: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Date: Mon, 12 Jan 2015 18:26:55 -0800
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Subject: [PATCH] Remove unused include of Availability.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Remove unused include of Availability.h
</span>
http://trac.macports.org/ticket/46535
<span style='display:block; white-space:pre;background:#ffe0e0;'>-Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- src/ld/parsers/libunwind/AddressSpace.hpp | 1 -
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 1 file changed, 1 deletion(-)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git src/ld/parsers/libunwind/AddressSpace.hpp src/ld/parsers/libunwind/AddressSpace.hpp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index bebd3e6..4a42e73 100644
</span> --- src/ld/parsers/libunwind/AddressSpace.hpp
+++ src/ld/parsers/libunwind/AddressSpace.hpp
@@ -37,7 +37,6 @@
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -22,6 +12,3 @@ index bebd3e6..4a42e73 100644
</span>
#include "FileAbstraction.hpp"
#include "libunwind.h"
<span style='display:block; white-space:pre;background:#ffe0e0;'>---
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-2.2.1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/ld64/files/ld64-ppc-9610466.patch b/devel/ld64/files/ld64-ppc-9610466.patch
</span><span style='display:block; white-space:pre;color:#808080;'>index 40f9669..1a3c91e 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/ld64/files/ld64-ppc-9610466.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/ld64/files/ld64-ppc-9610466.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,19 +1,9 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-From df13124fb337260a9f30495159a7db89d7461e4d Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-From: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Date: Sun, 8 Feb 2015 22:53:34 -0800
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Subject: [PATCH] Adjust out-of range error to be a warning on ppc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Adjust out-of range error to be a warning on ppc
</span>
AKA <rdar://problem/9610466> for ppc
https://trac.macports.org/ticket/46801
<span style='display:block; white-space:pre;background:#ffe0e0;'>-Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- src/ld/OutputFile.cpp | 2 +-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 1 file changed, 1 insertion(+), 1 deletion(-)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git a/src/ld/OutputFile.cpp b/src/ld/OutputFile.cpp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index 6150b5c..27fdaad 100644
</span> --- src/ld/OutputFile.cpp
+++ src/ld/OutputFile.cpp
@@ -625,7 +625,7 @@ void OutputFile::rangeCheckAbsolute32(int64_t displacement, ld::Internal& state,
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -25,6 +15,3 @@ index 6150b5c..27fdaad 100644
</span> // Unlikely userland code does funky stuff like this, so warn for them, but not warn for -preload or -static
if ( (_options.outputKind() != Options::kPreload) && (_options.outputKind() != Options::kStaticExecutable) ) {
warning("32-bit absolute address out of range (0x%08llX max is 4GB): from %s + 0x%08X (0x%08llX) to 0x%08llX",
<span style='display:block; white-space:pre;background:#ffe0e0;'>---
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-2.3.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span></pre><pre style='margin:0'>
</pre>