ChangeLog   [plain text]



2010-12-10    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8746980> Man page typo: "dysmutil" under object_path_lto

2010-12-10    Nick Kledzik    <kledzik@apple.com>
	
	<rdar://problem/8746896> ld64 crashes when warning about re-exported symbol

-------- tagged ld64-123.1

2010-12-07    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8732097> assertion if symbol from re-exported dylib is in -exported_symbols_list

-------- tagged ld64-123

2010-12-06    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8649182> Change default search order and add -search_dylibs_first to restore old behavior

2010-12-06    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8626058> ld should consistently warn when resolvers are not exported

2010-12-02    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8723307> data segment has file offset 0

-------- tagged ld64-122

2010-12-01    Nick Kledzik    <kledzik@apple.com>

	Add #define ARM_RELOC_HALF in case trying to build with old mach-o/arm/reloc.h header

2010-11-30    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8134559> Linker should synthesize interworking stubs for tail calls
	added test case: unit-tests/test-cases/branch-interworking

2010-11-30    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8708091> Link Time Optimization error with tentative defs and -dead_strip
	added test case: unit-tests/test-cases/lto-dead_strip-tentative

-------- tagged ld64-121

2010-11-10    Nick Kledzik    <kledzik@apple.com>

	Add -dylibs option to dyldinfo tool

2010-11-03    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/7441442> Need support for ARM/thumb upper/lower 16 bit relocation

2010-11-03    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8624334> Spelling typo in linker warning 

2010-11-02    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8616906> Xcode 4: ld -r doesn't work on files compiled with llvm-gcc -flto

2010-11-01    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8618747> ld wrongly complaining about tlv relocs for i386

2010-11-01    Nick Kledzik    <kledzik@apple.com>

	Fix -why_live to list all references, not just first

2010-11-01    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8612861> Durango is missing dof sections for armv7 slice

-------- tagged ld64-120.3

2010-11-09    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8644314> revert default search order 
	
-------- tagged ld64-120.2

2010-11-09    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8510696> ld -r corrupts multiple non-lazy sections

-------- tagged ld64-120.1

2010-10-25    Nick Kledzik    <kledzik@apple.com>
	
	<rdar://problem/8612550> When order file used on data, turn ordered zero fill symbols into zero data

-------- tagged ld64-120

2010-10-25    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8592564> ld should use this-image ordinal for symbols from re-exported non-public dylibs
	added test case: unit-tests/test-cases/re-export-and-use

2010-10-25    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8284718> Value of N_SO stabs should be address of first atom from translation unit

2010-10-25    Nick Kledzik    <kledzik@apple.com>

	Always print arch name on undefined symbols error
	
2010-10-25    Nick Kledzik    <kledzik@apple.com>

	Add ld64 version number to crash logs
	
2010-10-22    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/7952947> -objc_abi_version 1 not supported

2010-10-22    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/5591394> Add support to ld64 for N_FUN stabs when used for symbolic constants

2010-10-22    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/3560832> Change default search order and add -search_dylibs_first to restore old behavior

2010-10-22    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/6955037> -L flag should support a space between it and its argument

2010-10-22    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8553647> Hidden resolver functions don't work with DYLD_BIND_AT_LAUNCH

2010-10-22    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8541707> Support resolver functions for function pointer use from same linkage unit

2010-10-19    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8571323> section$start$ does not always point to start of built in section types

-------- tagged ld64-119.2

2010-10-18    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8553312> make having an ObjC2 class symbol in an export list be a warning instead of an error

2010-10-15    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8553283> lazily produce (crt1.o missing) error

-------- tagged ld64-119.1

2010-10-05    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8527740> ld -r can produce output with LC_DYLD_INFO load command

2010-10-05    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8516692> ld doesn't pass stabs debug info through to the final executable any longer

2010-10-05    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/4251267> __UNIXSTACK placed incorrectly when -stack_addr < 0x4000000

2010-10-05    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8267015> ld mishandles -lazy-l option
	Updated test case: unit-tests/test-cases/lazy-dylib
	
2010-10-04    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8468240> -no_compact_unwind should suppress dwarf->CUE warnings

-------- tagged ld64-119

2010-10-01    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/6599016> use ld64 to link iBoot

2010-10-01    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8504770> crash when entrypoint is thumb

2010-10-01    Nick Kledzik    <kledzik@apple.com>

	If -ios_version_min is used with -arch i386, assume simulator

2010-10-01    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8500061> crash with multiple re-exported dylibs with same install_name

2010-09-28    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8032130> Linker complains about resolver functions when architecture is inferred.
	
2010-09-28    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/6751424> ARM subtype not set on LTO programs

2010-09-28    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8481987> Link-Time Optimization assertion 
	Added test cases: 
		unit-tests/test-cases/lto-dead_strip-objc
		unit-tests/test-cases/lto-dead_strip-some-hidden

2010-09-24    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8441087> Support -dyld_env NAME=value

2010-09-23    Nick Kledzik    <kledzik@apple.com>

	Previous BranchIsland code changes to make buildable with clang++ were bad.  Fix.

2010-09-23    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8274443> ld64 objc category merging asserts on category from old framework

2010-09-23    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8469063> ASLR Sidebuild: Many Projects Fail checksyms_read_only_relocs Verifier

2010-09-22    Nick Kledzik    <kledzik@apple.com>

	Fix DOF section name bug

2010-09-22    Nick Kledzik    <kledzik@apple.com>

	Fixes to build with clang++

2010-09-21    Nick Kledzik    <kledzik@apple.com>

	In Resolver::fillInHelpersInInternalState(), dyld never needs stubs

2010-09-21    Ivan Krstic     <ike@apple.com>

	<rdar://problem/8457083> ld: support non-executable heap Mach-O header flag

2010-09-21    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8175282> Xcode 4 linker fails with "address not in any section"

2010-09-20    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8198832> assertion failure reading i386 yasm .o (not using scattered reloc)

2010-09-20    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8430751> ld crashes when parsing dwarf and all code is not in __text

2010-09-17    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8396450> magic segment symbol names don't work with preload executables
	Update test case: unit-tests/test-cases/segment-labels

2010-09-17    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8445985> OSO in DebugNotes for LTO should point to generated mach-o not, bitcode .o file

2010-09-16    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8413931> FUN in debug map not rebased
	Update test case: unit-tests/test-cases/rebase-basic

2010-09-16    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8427133> Relocation failure with i386 32-bit diff to stub

2010-09-16    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8437287> assert when targeting 10.5 and crt1.o/dylib1.o is not supplied

-------- tagged ld64-118.1

2010-09-15    Nick Kledzik    <kledzik@apple.com>

	Fix missing rebase commands that broke perl

2010-09-15    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8252819> assert when .objc_class_name_* symbol missing
	Add test case: unit-tests/test-cases/archive-ObjC-unexported

2010-09-13    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8419850> linker does not honor $ld$hide for umbrella libraries
	Added test case: unit-tests/test-cases/symbol-hiding-umbrella

2010-09-09    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/6723729> LC_UUID uuids should conform to RFC 4122 UUID version 4 & UUID version 5 formats

2010-09-09    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/4942948> support -bind_at_load

2010-09-07    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/7989734> ld mis-handling std::tr1::anonymous symbols
	Remove support for ordering gcc-4.0 compiled anonymous namespace symbols


-------- tagged ld64-118

2010-09-02    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8308697> -preload should not have LINKEDIT segment
	Added test case: unit-tests/test-cases/efi-basic

2010-09-02    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8389578> trivial Objective-C app fails when using libLTO
	Added test case: unit-tests/test-cases/lto-objc-image-info

2010-09-02    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8384727> Add -reexport_symbols_list option to re-export certain symbols.
	Added test case: unit-tests/test-cases/reexport_symbols_list

2010-09-01    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/7438246> LTO with 'dead code strip' can't ignore unused functions with undefined references
	Add test case: unit-tests/test-cases/lto-dead_strip-unused

2010-09-01    Nick Kledzik    <kledzik@apple.com>

	Warn if unaligned ARM code is detected

2010-09-01    Nick Kledzik    <kledzik@apple.com>
	
	<rdar://problem/8383175> Mach-O linked by current linker don't load in VIrtualBox any more

2010-09-01    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8304984> Linker should pick default visibility instead of warning about conflicts
	Updated test case: unit-tests/test-cases/visibility-warning

2010-09-01    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8249338> Enable new load commands

2010-09-01    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8368679>  Do not pass -demangle to ld_classic

2010-09-01    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8336910> iOS 4.3 armv7 should be PIE by default
	<rdar://problem/5472933> better error message for direct access to external globals when not linking read_only_relocs
	<rdar://problem/7927510> linker does not error on direct (static) data references to a dylib symbol	

-------- tagged ld64-117.11

2010-09-03    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8385011> mask thumb bit off non lazy pointers content when parsing arm .o files

-------- tagged ld64-117.10

2010-08-26    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8358084> 8F64 kills installtest devices
	Don't clear thumb bit on pointers inside thumb functions if addend is negative

-------- tagged ld64-117.9

2010-08-25    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8345038> no more audio because of broken thunk
	Update of thumb22 b.w instruction was not clearing bits before or'ing in new ones

-------- tagged ld64-117.8

2010-08-25    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8342028> prefetch abort in kernel mode: fault_addr=0xe58024e4
	Don't set thumb bit on .long pointers in thumb functions that point to some offset in same function

-------- tagged ld64-117.7

2010-08-24    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8346444> dyld-179.4 fails to link, assert in setLoadCommandsPadding()
	Fix linker to always put __text first before other code-only sections

-------- tagged ld64-117.6

2010-08-23    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8339702> ld no longer output static archive dependencies for dyld for B&I
	Add test case unit-tests/test-cases/dependency-logging

-------- tagged ld64-117.5

2010-08-20    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8309595> SWB: ld64-117.1 on Durango8F54: Assertion failed:
	UTF16 CFStrings were not coalesced correctly when gcc built the .o files and the
	last string in the __ustring section only had a single zero byte at the end.
	
-------- tagged ld64-117.4

2010-08-19    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8326544> DTSJ1J105: SpringBoard crashes on boot
	Fix order file to move aliases even when subsections_via_symbols it used
	Update test case unit-tests/test-cases/order_file

2010-08-17    Nick Kledzik    <kledzik@apple.com>

	Fix resolver functions to survive ld -r.
	Warn if resolver functions are made non-external.

2010-08-17    Nick Kledzik    <kledzik@apple.com>

	Make it an error for resolver functions to be used in anything but a dylib.

-------- tagged ld64-117.3

2010-08-17    Nick Kledzik    <kledzik@apple.com>

	Fix thumb resolver functions
	Enable updward dylibs and symbol re-exports for iOS 4.2

2010-08-16    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8308697> Latest ld no longer supports EFI -preload
	Rearrange LINKEDIT chunks in -preload mode

-------- tagged ld64-117.2

2010-08-14    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8308697> Latest ld no longer supports EFI -preload
	Add LC_UNIXTHREAD to -preload

2010-08-14    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8309530> SWB: ld64-117.1 on Durango8F54: Assertion failed: (categoryAtom->size() == Category<A>::size())
	gcc-4.0 uses 'L' labels on categories.  This merges them onto previous data and disable category optimzation

2010-08-14    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8309917> SWB: ld64-117.1 on Durango8F54: bad category optimization
	Disable category optimization for i386 and arm until further testing

2010-08-14    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8309608> SWB: ld64-117.1 on Durango8F54: address not in any section
	Handle pointer diff to stub for weak hidden function

2010-08-13    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8308697> Latest ld no longer supports EFI -preload

-------- tagged ld64-117.1

2010-08-11    Nick Kledzik    <kledzik@apple.com>

	Make missing exported symbols a warning to help adoption of new linker

2010-08-11    Nick Kledzik    <kledzik@apple.com>

	Add ExternalRelocationsAtom<>::pointerReloc() to more easily support kext bundles

2010-08-09    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8210380> SWB: ld64-116.2 fix branch to label-4

2010-08-09    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8260073> Error with empty non_lazy_symbol_pointers section

2010-08-06    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/7977374> Add command line options to control symbol weak-def-bit on exported symbols

-------- tagged ld64-117

2010-07-28    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8243431> split seg info wrong for x86_64 stub helpers

2010-07-26    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8237436> __nlcatlist categories should not be optimized

2010-07-23    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8179273> ld64 assertion on object file

2010-07-21    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/7435296> Reorder sections to reduce page faults in object files

2010-06-30    Nick Kledzik    <kledzik@apple.com>

	Support resolver functions in iOS dylibs

-------- tagged ld64-116.2

2010-06-30    Nick Kledzik    <kledzik@apple.com>
	
	<rdar://problem/8138287> C programs get objc GCness from dylibs
	Update: unit-tests/test-cases/objc-gc-checks

-------- tagged ld64-116.1

2010-06-22    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8111013> address range check should not apply to preload executables

2010-06-22    Nick Kledzik    <kledzik@apple.com>

	Warn instead of error when CPU_SUBTYPE_ARM_ALL .o files used.

2010-06-22    Nick Kledzik    <kledzik@apple.com>

	Fix assert in objc category optimzation.  Metaclass also has copy of propery list to update.

2010-06-22    Nick Kledzik    <kledzik@apple.com>

	Fix crash in -r mode with -alias.

-------- tagged ld64-116

2010-06-21    Nick Kledzik    <kledzik@apple.com>

	Add support for -ios_version_min as an alias for -iphoneos_version_min

2010-06-21    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/7687304> linker could merge method lists from class and its categories
	Added test case: unit-tests/test-cases/objc-category-optimize
	Added option: -no_objc_category_merging to disable

2010-06-21    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8113877> i386 TLV PIC reloc content is negated

2010-06-15    Nick Kledzik    <kledzik@apple.com>

	Added better error messages and asserts for bad thread local object files

2010-06-09    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8076986> Barolo: 'rebase' makes timestamps invalid/unreadable for GDB

2010-06-09    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/7966333> executable has no debug symbols when compiled with LTO
	Added test case: unit-tests/test-cases/lto-object_path

2010-06-09    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/7702923> stop promoting hidden referenced dynamically symbols to global
	Updated test case: unit-tests/test-cases/main-stripped

2010-06-04    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/6144674> ER: individual symbol re-exports
	Added test case: unit-tests/test-cases/re-export-symbo

2010-06-03    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/7474224> add functions start info to LINKEDIT
	* Support added but not on by default.  Use -function_starts to enable.
	* Added test case: unit-tests/test-cases/function-start

2010-06-02    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/5674241> ER: add load command for min OS version
	* Support added but not on by default.  Use -version_load_command to enable.

2010-06-02    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/8040089> provide better undefined symbol error message

2010-05-28    Nick Kledzik    <kledzik@apple.com>

	* <rdar://problem/7780438> ld should also merge file attributes from lazy loaded archives
	* Move attribute gathering from InputFiles to Resolver

2010-05-28    Nick Kledzik    <kledzik@apple.com>

	* <rdar://problem/8038333> SWB: ld64-115.3: dylib on kext link line causes malformed kext
	* allow -static after -kext on command line

-------- tagged ld64-115.3

2010-05-26    Nick Kledzik    <kledzik@apple.com>

	* <rdar://problem/8024702> strip of .o files removes __objc_imageinfo section
	* Added test case:  unit-tests/test-cases/dwarf-strip-objc

2010-05-25    Nick Kledzik    <kledzik@apple.com>

	* <rdar://problem/8023624> crash when parsing local vanilla reloc to weak def

-------- tagged ld64-115.2

2010-05-21    Nick Kledzik    <kledzik@apple.com>

	* <rdar://problem/8012536> switch back to using ld_classic for -static arm code
	

2010-05-21    Nick Kledzik    <kledzik@apple.com>

	* <rdar://problem/8012549> warn instead of error when seg1addr is out of range for ARM


2010-05-21    Nick Kledzik    <kledzik@apple.com>

	* <rdar://problem/8012526> fix -undefined dynamic_lookup -nodefaults to not error about missing dyld_stub_binder

-------- tagged ld64-115.1

2010-05-19    Nick Kledzik    <kledzik@apple.com>

	* Fix trie nodes for resolver functions to have second address be stub not helper		

2010-05-19    Nick Kledzik    <kledzik@apple.com>

	* <rdar://problem/7996423> work around for old checksyms tools	
	* Make i386 stub section named "__symbol_stub" instead of "__stubs"

2010-05-10    Nick Kledzik    <kledzik@apple.com>

	* <rdar://problem/7960396> linking with LTO prints "/tmp/lto.o"

-------- tagged ld64-115

2010-05-06    Nick Kledzik    <kledzik@apple.com>

	* <rdar://problem/7892392> linker loses x86_64 addend to 'L' symbols
	* properly handle addend to 'L' symbols that are ignored

2010-05-05    Nick Kledzik    <kledzik@apple.com>

	* rework min OS version parsing to enable the linker to handle unknown OS versions


2010-05-05    Nick Kledzik    <kledzik@apple.com>

	* Implement magic section$start$xxx$yyyy and section$end$xxx$yyyy symbols
	* Implement magic segment$start$xxx and segment$end$xxx symbols
	* Add test case: unit-tests/test-cases/segment-labels
	

2010-05-03    Nick Kledzik    <kledzik@apple.com>

	* <rdar://problem/7173071> implement optional demangling in linker
	* Add option: -demangle
	* Add test case: unit-tests/test-cases/demangle
	

2010-05-03    Nick Kledzik    <kledzik@apple.com>

	* <rdar://problem/7931759> ld64 doesn't grok the modern-objc-ABI-on-i386 
	* Add support for -objc_abi_version command line option
	* Added test case: unit-tests/test-cases/objc-abi


2010-05-03    Nick Kledzik    <kledzik@apple.com>

	* <rdar://problem/7929974> -alias does not work with __OBJC sections
	* sort contents of sections with aliases
	* Added test case: unit-tests/test-cases/objc-class-alias
	

2010-04-28    Nick Kledzik    <kledzik@apple.com>
	
	* <rdar://problem/4966836> Feature: Thread local storage
	* Add test case: unit-tests/test-cases/tlv-basic
	* Add test case: unit-tests/test-cases/tlv-dylib
	

2010-04-27    Nick Kledzik    <kledzik@apple.com>

	* <rdar://problem/4383612> Accelerate needs way to dispatch based on instruction execution time characteristics.
	* Add support for "symbol resolver" functions
	* Add test case unit-tests/test-cases/symbol-resolver-basic


2010-04-26    Nick Kledzik    <kledzik@apple.com>

	* <rdar://problem/7711820> range check fat archives
	* check that fat file slice being used does not extend beyond end of file
	* check that member being used does not extend beyond end of slice/file

2010-04-26    Nick Kledzik    <kledzik@apple.com>

	* <rdar://problem/7666015> The documentation for the -allowable_client option doesn't say enough about it

2010-04-26    Nick Kledzik    <kledzik@apple.com>

	* <rdar://problem/7854068> back out LD_NO_PIE

2010-04-22    Nick Kledzik    <kledzik@apple.com>

	* <rdar://problem/7831043> More ICU make check failures with 0-terminated UTF16 strings
	* Change UTF16StringSection to break into atoms just on label boundaries
	* Added test case: unit-tests/test-cases/utf16-nul
	

-------- tagged ld64-114.12

2010-04-14    Nick Kledzik    <kledzik@apple.com>

	* <rdar://problem/7811357> Crash with messed up BNSYM
	

2010-04-07    Nick Kledzik    <kledzik@apple.com>

	* Fix crash with blank dylib stubs

-------- tagged ld64-114.11

2010-04-07    Nick Kledzik    <kledzik@apple.com>

	* <rdar://problem/7798495> for ppc, add split-seg info for TEXT pointers to DATA
	

2010-04-07    Nick Kledzik    <kledzik@apple.com>

	* <rdar://problem/7831379> Cannot build ppc64 target with ObjC code


2010-04-01    Nick Kledzik    <kledzik@apple.com>

	* let .exp files override auto-hide so that they can be exported if needed


2010-04-01    Nick Kledzik    <kledzik@apple.com>

	* <rdar://problem/6783167> support auto hidden weak symbols: .weak_def_can_be_hidden
	* added test case: unit-tests/test-cases/weak-def-auto-hide


2010-04-01    Nick Kledzik    <kledzik@apple.com>

	* <rdar://problem/7818475> 'l' symbols not being automatically removed


2010-03-31    Nick Kledzik    <kledzik@apple.com>

	* <rdar://problem/7808258> weak defs should not cause indirection in static executables
	* Update test case: unit-tests/test-cases/static-executable-weak-defines

-------- tagged ld64-114.10

2010-03-31    Nick Kledzik    <kledzik@apple.com>
	
	* <rdar://problem/7735120> assert with .o file with two LSDA sections


-------- tagged ld64-114.9

2010-03-30    Nick Kledzik    <kledzik@apple.com>
	
	* <rdar://problem/7791161> L4 locks up starting a second processor, works fine with old linker
	* properly get addend from content in x86_64 substractor when target is direct
	

2010-03-29    Nick Kledzik    <kledzik@apple.com>

	* <rdar://problem/7805172> ld should excludes debug notes when computing UUID
	* added test case: unit-tests/test-cases/dwarf-debug-notes-uuid

-------- tagged ld64-114.8

2010-03-26    Nick Kledzik    <kledzik@apple.com>

	* <rdar://problem/7788474> __objc_catlist section loses don't dead strip bit in ld -r mode
	* Update test case unit-tests/test-cases/static-executable

-------- tagged ld64-114.7
	
2010-03-25    Nick Kledzik    <kledzik@apple.com>

	* <rdar://problem/7796313> Support LD_NO_PIE again

2010-03-25    Nick Kledzik    <kledzik@apple.com>

	* <rdar://problem/7765885> Rosetta crashes on launch in 11A133a
	* Fix -segaddr __TEXT to cause other floating segments to be contiguous with TEXT

2010-03-24    Nick Kledzik    <kledzik@apple.com>

	* <rdar://problem/7786326> Page Zero segment seems to be getting dead stripped

2010-03-24    Nick Kledzik    <kledzik@apple.com>

	* <rdar://problem/7785574> kernel sdt dtrace probes not visible

-------- tagged ld64-114.6

2010-03-23    Nick Kledzik    <kledzik@apple.com>

	* <rdar://problem/7783918> new linker makes dylibs with no __text section, causing codesign_allocate tool to fail
	* make sure there is always a __text section in dylibs and bundles

-------- tagged ld64-114.5

2010-03-22    Nick Kledzik    <kledzik@apple.com>

	* <rdar://problem/7767311> missing __objc_imageinfo section
	* Real fix will be in 7780438.  For now have Resolver also accumulate objc constraint info
	

2010-03-19    Nick Kledzik    <kledzik@apple.com>

	* <rdar://problem/7772740> ld64-114 does not error on missing exported symbols with -dead_strip

-------- tagged ld64-114.4
	
2010-03-16    Nick Kledzik    <kledzik@apple.com>

	* <rdar://problem/7762146> dyld missing LC_ID_DYLINKER
	
-------- tagged ld64-114.3

2010-03-15    Nick Kledzik    <kledzik@apple.com>

	* force i386 kexts to be built with ld_classic
	* preserve 'l' labels in static executables
	* sync section offsets and addresses in segments with command line addresses


-------- tagged ld64-114.2

2010-03-13    Nick Kledzik    <kledzik@apple.com>

	* <rdar://problem/7751930> ld64-114 generates x86_64 kext external call sites with incorrect addend

-------- tagged ld64-114.1

2010-03-12    Nick Kledzik    <kledzik@apple.com>

	* Fix dyldinfo tool to correct show ordinal info for classic linkedit

2010-03-12    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/7748047> ld64-114 is causing read_only_reloc verification errors for ppc
	* Update machochecker to check this.

-------- tagged ld64-114

2010-03-11    Nick Kledzik    <kledzik@apple.com>

	* <rdar://problem/7744174> i386 dylibs built with ld64-112 cause runtime errors when incorporated into the dyld shared cache
	* Add -shared_region option to dyldinfo tool

-------- tagged ld64-113

2010-03-11    Nick Kledzik    <kledzik@apple.com>

	* Allow CPU_SUBTYPE_ARM_ALL .o files to be linked into any arm arch linkage

2010-03-11    Nick Kledzik    <kledzik@apple.com>

	<rdar://problem/7741238> ld64-112 with -undefined dynamic_lookup marks all symbols as being flat
	* update test case at: unit-tests/test-cases/undefined-dynamic-lookup

2010-03-10    Nick Kledzik    <kledzik@apple.com>

	* prevent possible crash in warning about can't export hidden symbols

2010-03-10    Nick Kledzik    <kledzik@apple.com>

	* make sure split-info data is zero terminated

-------- tagged ld64-112

2010-03-09    Nick Kledzik    <kledzik@apple.com>

	* Never dead strip sections added with -sectcreate
	* Added test case: unit-tests/test-cases/sectcreate-dead_strip


-------- tagged ld64-111

2010-03-03    Nick Kledzik    <kledzik@apple.com>

	* Add support for "-arch arm -force_cpusubtype_ALL" to keep gcc building

2010-03-02    Nick Kledzik    <kledzik@apple.com>

	* Add some checking to the use of upward dylibs

-------- tagged ld64-110

2010-03-01    Nick Kledzik    <kledzik@apple.com>

	* Don't coalesce cstrings across segments

2010-03-01    Nick Kledzik    <kledzik@apple.com>

	* Emulate previous linker bug where hidden symbols with dynamically-referenced
	 bit were promoted to global.
	* Added test case: unit-tests/test-cases/unstrippable-symbols

-------- tagged ld64-109.1

2010-02-26    Nick Kledzik    <kledzik@apple.com>

	* Make sure building dyld results in a thread load command
	
-------- tagged ld64-109

2010-02-26    Nick Kledzik    <kledzik@apple.com>

	* Better sorting of zero-fill sections to preserve discovery order
	* Zero out file offsets in dynamic symbol table entries that are not used

2010-02-26    Nick Kledzik    <kledzik@apple.com>

	* Support pointer-diffs to zero sized atom in zero sized section 

2010-02-25    Nick Kledzik    <kledzik@apple.com>

	* Add support for -r mode with ppc64 

2010-02-25    Nick Kledzik    <kledzik@apple.com>

	* Handle multiple labels on the same coalesable literal by making an
	atom for each label, each with the same content.
	* Add test case: unit-tests/test-cases/literals-labels
	

2010-02-25    Nick Kledzik    <kledzik@apple.com>

	* Handle old ppc .o files that have stubs to static functions

2010-02-25    Nick Kledzik    <kledzik@apple.com>

	* Add basic ppc64 support

2010-02-24    Nick Kledzik    <kledzik@apple.com>

	* Range check TOC entries in archives


2010-02-23    Nick Kledzik    <kledzik@apple.com>

	* Fix spurious dylib re-export warnings that are just regular linkage cycles


2010-02-23    Nick Kledzik    <kledzik@apple.com>

	* re-partition bits in mach_o::relocatable::Atom ivars to allow more functions per file


2010-02-22    Nick Kledzik    <kledzik@apple.com>

	* re-partition bits in mach_o::relocatable::Atom ivars to allow more fixups per function
	

2010-02-22    Nick Kledzik    <kledzik@apple.com>

	* Handle re-exported dylibs that are re-exported again
	* Added test case: unit-tests/test-cases/re-export-layers
	

2010-02-22    Nick Kledzik    <kledzik@apple.com>

	* Properly handle X86_64_RELOC_SUBTRACTOR with non-external target symbol
	

-------- tagged ld64-108

2010-02-17    Nick Kledzik    <kledzik@apple.com>

	* <rdar://problem/7658740> ER: Support upward dylib dependencies
	* Add test case:  unit-tests/test-cases/dylib-upward
	

2010-02-17    Nick Kledzik    <kledzik@apple.com>

	* <rdar://problem/7401775> ld(1) man page typo
	* <rdar://problem/7230340> Linker (ld) man page typo: "unredable" in -pagezero_size option description
	* <rdar://problem/7207483> Typo in ld(1) man page, "-x" option
	* <rdar://problem/6239264> man ld: Change "if" -> "is"
	* <rdar://problem/7393216> DOC: ld(1) mentions -dynamiclib when it means -dylib
	

2010-02-17    Nick Kledzik    <kledzik@apple.com>

	* <rdar://problem/7625461> Wordsmith ld warning about missing directories


2010-02-17    Nick Kledzik    <kledzik@apple.com>

	* Fix -umbrella to work when umbrella is a dylib instead of a framework
	* Add test case:  unit-tests/test-cases/umbrella-dylib
	

-------- tagged ld64-107

2010-02-16    Nick Kledzik    <kledzik@apple.com>

	* Fix bugs with -preload


2010-02-16    Nick Kledzik    <kledzik@apple.com>

	* Fix dylib re-export cylce detection


2010-02-16    Nick Kledzik    <kledzik@apple.com>

	* <rdar://problem/6018216> -ObjC not pulling in members with categories only
	* scan for non-zero __objc_catlist section in archive members when -ObjC is used
	* Added test case: unit-tests/test-cases/objc-category-archive
	
	
2010-02-15    Nick Kledzik    <kledzik@apple.com>

	* <rdar://problem/7398610> ld glibly removes /dev/null

	
2010-02-15    Nick Kledzik    <kledzik@apple.com>

	* <rdar://problem/7196255> Linker should be able to validate GC intentions
	* Add -objc_gc and -objc_gc_only. Error when used and RR based .o file is linked in
	* Update test case:  unit-tests/test-cases/objc-gc-checks


2010-02-15    Nick Kledzik    <kledzik@apple.com>

	* <rdar://problem/7421695> Linker should provide a way to mark binaries that support compaction
	* Added -objc_gc_compaction option
	* Update test case:  unit-tests/test-cases/objc-gc-checks
	

2010-02-15    Nick Kledzik    <kledzik@apple.com>

	* <rdar://problem/7546367> ER: Need a way to detect weak exports in dev tools
	* implement -warn_weak_exports

2010-02-15    Nick Kledzik    <kledzik@apple.com>

	* Add support for LD_DYLD_PATH


2010-02-15    Nick Kledzik    <kledzik@apple.com>

	* <rdar://problem/7636072> cfstring backing store points to global cstring
	* Force all by-name references in cfstring to be direct references
	* add test case: unit-tests/test-cases/cfstring-and-cstring
	

-------- tagged ld64-106

2010-02-12    Nick Kledzik    <kledzik@apple.com>

	* <rdar://problem/7644673> Assertion failed: when class is translation unit scoped
	* added test case unit-tests/test-cases/objc-visibility
	

2010-02-12    Nick Kledzik    <kledzik@apple.com>

	* <rdar://problem/7644828> crash with missing crt?


2010-02-12    Nick Kledzik    <kledzik@apple.com>

	* Suppress indirect symbol table in static executables
	

2010-02-12    Nick Kledzik    <kledzik@apple.com>

	* Rework CIE parsing to work with icc generated code


2010-02-11    Nick Kledzik    <kledzik@apple.com>

	* Fix creation of debug notes
	* Tweak unit-tests/test-cases/dwarf-debug-notes to match llvm symbol layout


2010-02-11    Nick Kledzik    <kledzik@apple.com>

	* Don't assert when infering ppc subtype that is ALL.
	* Fix spurious warning about mismatched subtypes, when subtype is inferred


-------- tagged ld64-105

2010-02-11    Nick Kledzik    <kledzik@apple.com>

	* Use symbolic constants for bit field sizes


2010-02-10    Nick Kledzik    <kledzik@apple.com>

	* Handle out of order sections in .o files


-------- tagged ld64-104

2010-02-10    Nick Kledzik    <kledzik@apple.com>

	* Rename __tentative internal section name to __comm/tent to sort like __common
	* Fix test case in unit-tests/test-cases/tentative-to-real-r


2010-02-10    Nick Kledzik    <kledzik@apple.com>

	* Better warning messages about mismatched architectures
	

2010-02-10    Nick Kledzik    <kledzik@apple.com>

	* Gracefully ignore if there are >8000 line info per function in debug info


2010-02-10    Nick Kledzik    <kledzik@apple.com>

	* Properly handle when regular definition is weak_imported
	* Add unit-tests/test-cases/weak_import-local


2010-02-10    Nick Kledzik    <kledzik@apple.com>

	* Don't try to coalesce zero length cstrings in mach-o parser.
	

2010-02-10    Nick Kledzik    <kledzik@apple.com>

	* Add work around for llvm using L labels for backing string of CFString with -fwritable-strings
	

2010-02-09    Nick Kledzik    <kledzik@apple.com>

	* Ignore labels in __gcc_except_tab section
	* Properly apply local relocations to __eh_frame section so CFI parser works
	* Update unit-tests/test-cases/eh-stripped-symbols to reproduce problem


2010-02-09    Nick Kledzik    <kledzik@apple.com>

	* Fix file offset computation with large zero-fill sections
	 

2010-02-09    Nick Kledzik    <kledzik@apple.com>

	* Force global 'l' to be hidden 
	* Add test case with objc properties: unit-tests/test-cases/objc-properties


-------- tagged ld64-103

2010-02-04    Nick Kledzik    <kledzik@apple.com>

	* Temporarily change assert() to call exit(1) instead of abort() 


2010-02-04    Nick Kledzik    <kledzik@apple.com>

	* Fix another case in -r mode where the vmsize was less that filesize
	
	
2010-02-04    Nick Kledzik    <kledzik@apple.com>

	* Fix assert when generating GSYM stab debug notes
	

2010-02-04    Nick Kledzik    <kledzik@apple.com>

	* Add SRCROOT to crash logs


2010-02-04    Nick Kledzik    <kledzik@apple.com>

	* Remove architectureName() from InputFiles


-------- tagged ld64-102

2010-02-03    Nick Kledzik    <kledzik@apple.com>

	* Add follow-on reference from symbol text atom to non-symboled text atom


-------- tagged ld64-101

2010-01-29    Nick Kledzik    <kledzik@apple.com>

	* fix -alias symbols to be global by default
	

-------- tagged ld64-100

2010-01-28    Nick Kledzik    <kledzik@apple.com>
	
	* Merge new/refactored linker to trunk