]> git.saurik.com Git - apple/ld64.git/blob - ChangeLog
ld64-123.2.1.tar.gz
[apple/ld64.git] / ChangeLog
1
2 -------- tagged ld64-123.2.1
3
4 2010-03-07 Nick Kledzik <kledzik@apple.com>
5
6 <rdar://problem/8955206> enable i386 ASLR
7
8 -------- tagged ld64-123.2
9
10 2010-12-10 Nick Kledzik <kledzik@apple.com>
11
12 <rdar://problem/8746980> Man page typo: "dysmutil" under object_path_lto
13
14 2010-12-10 Nick Kledzik <kledzik@apple.com>
15
16 <rdar://problem/8746896> ld64 crashes when warning about re-exported symbol
17
18 -------- tagged ld64-123.1
19
20 2010-12-07 Nick Kledzik <kledzik@apple.com>
21
22 <rdar://problem/8732097> assertion if symbol from re-exported dylib is in -exported_symbols_list
23
24 -------- tagged ld64-123
25
26 2010-12-06 Nick Kledzik <kledzik@apple.com>
27
28 <rdar://problem/8649182> Change default search order and add -search_dylibs_first to restore old behavior
29
30 2010-12-06 Nick Kledzik <kledzik@apple.com>
31
32 <rdar://problem/8626058> ld should consistently warn when resolvers are not exported
33
34 2010-12-02 Nick Kledzik <kledzik@apple.com>
35
36 <rdar://problem/8723307> data segment has file offset 0
37
38 -------- tagged ld64-122
39
40 2010-12-01 Nick Kledzik <kledzik@apple.com>
41
42 Add #define ARM_RELOC_HALF in case trying to build with old mach-o/arm/reloc.h header
43
44 2010-11-30 Nick Kledzik <kledzik@apple.com>
45
46 <rdar://problem/8134559> Linker should synthesize interworking stubs for tail calls
47 added test case: unit-tests/test-cases/branch-interworking
48
49 2010-11-30 Nick Kledzik <kledzik@apple.com>
50
51 <rdar://problem/8708091> Link Time Optimization error with tentative defs and -dead_strip
52 added test case: unit-tests/test-cases/lto-dead_strip-tentative
53
54 -------- tagged ld64-121
55
56 2010-11-10 Nick Kledzik <kledzik@apple.com>
57
58 Add -dylibs option to dyldinfo tool
59
60 2010-11-03 Nick Kledzik <kledzik@apple.com>
61
62 <rdar://problem/7441442> Need support for ARM/thumb upper/lower 16 bit relocation
63
64 2010-11-03 Nick Kledzik <kledzik@apple.com>
65
66 <rdar://problem/8624334> Spelling typo in linker warning
67
68 2010-11-02 Nick Kledzik <kledzik@apple.com>
69
70 <rdar://problem/8616906> Xcode 4: ld -r doesn't work on files compiled with llvm-gcc -flto
71
72 2010-11-01 Nick Kledzik <kledzik@apple.com>
73
74 <rdar://problem/8618747> ld wrongly complaining about tlv relocs for i386
75
76 2010-11-01 Nick Kledzik <kledzik@apple.com>
77
78 Fix -why_live to list all references, not just first
79
80 2010-11-01 Nick Kledzik <kledzik@apple.com>
81
82 <rdar://problem/8612861>
83
84 -------- tagged ld64-120.3
85
86 2010-11-09 Nick Kledzik <kledzik@apple.com>
87
88 <rdar://problem/8644314> revert default search order
89
90 -------- tagged ld64-120.2
91
92 2010-11-09 Nick Kledzik <kledzik@apple.com>
93
94 <rdar://problem/8510696> ld -r corrupts multiple non-lazy sections
95
96 -------- tagged ld64-120.1
97
98 2010-10-25 Nick Kledzik <kledzik@apple.com>
99
100 <rdar://problem/8612550> When order file used on data, turn ordered zero fill symbols into zero data
101
102 -------- tagged ld64-120
103
104 2010-10-25 Nick Kledzik <kledzik@apple.com>
105
106 <rdar://problem/8592564> ld should use this-image ordinal for symbols from re-exported non-public dylibs
107 added test case: unit-tests/test-cases/re-export-and-use
108
109 2010-10-25 Nick Kledzik <kledzik@apple.com>
110
111 <rdar://problem/8284718> Value of N_SO stabs should be address of first atom from translation unit
112
113 2010-10-25 Nick Kledzik <kledzik@apple.com>
114
115 Always print arch name on undefined symbols error
116
117 2010-10-25 Nick Kledzik <kledzik@apple.com>
118
119 Add ld64 version number to crash logs
120
121 2010-10-22 Nick Kledzik <kledzik@apple.com>
122
123 <rdar://problem/7952947> -objc_abi_version 1 not supported
124
125 2010-10-22 Nick Kledzik <kledzik@apple.com>
126
127 <rdar://problem/5591394> Add support to ld64 for N_FUN stabs when used for symbolic constants
128
129 2010-10-22 Nick Kledzik <kledzik@apple.com>
130
131 <rdar://problem/3560832> Change default search order and add -search_dylibs_first to restore old behavior
132
133 2010-10-22 Nick Kledzik <kledzik@apple.com>
134
135 <rdar://problem/6955037> -L flag should support a space between it and its argument
136
137 2010-10-22 Nick Kledzik <kledzik@apple.com>
138
139 <rdar://problem/8553647> Hidden resolver functions don't work with DYLD_BIND_AT_LAUNCH
140
141 2010-10-22 Nick Kledzik <kledzik@apple.com>
142
143 <rdar://problem/8541707> Support resolver functions for function pointer use from same linkage unit
144
145 2010-10-19 Nick Kledzik <kledzik@apple.com>
146
147 <rdar://problem/8571323> section$start$ does not always point to start of built in section types
148
149 -------- tagged ld64-119.2
150
151 2010-10-18 Nick Kledzik <kledzik@apple.com>
152
153 <rdar://problem/8553312> make having an ObjC2 class symbol in an export list be a warning instead of an error
154
155 2010-10-15 Nick Kledzik <kledzik@apple.com>
156
157 <rdar://problem/8553283> lazily produce (crt1.o missing) error
158
159 -------- tagged ld64-119.1
160
161 2010-10-05 Nick Kledzik <kledzik@apple.com>
162
163 <rdar://problem/8527740> ld -r can produce output with LC_DYLD_INFO load command
164
165 2010-10-05 Nick Kledzik <kledzik@apple.com>
166
167 <rdar://problem/8516692> ld doesn't pass stabs debug info through to the final executable any longer
168
169 2010-10-05 Nick Kledzik <kledzik@apple.com>
170
171 <rdar://problem/4251267> __UNIXSTACK placed incorrectly when -stack_addr < 0x4000000
172
173 2010-10-05 Nick Kledzik <kledzik@apple.com>
174
175 <rdar://problem/8267015> ld mishandles -lazy-l option
176 Updated test case: unit-tests/test-cases/lazy-dylib
177
178 2010-10-04 Nick Kledzik <kledzik@apple.com>
179
180 <rdar://problem/8468240> -no_compact_unwind should suppress dwarf->CUE warnings
181
182 -------- tagged ld64-119
183
184 2010-10-01 Nick Kledzik <kledzik@apple.com>
185
186 <rdar://problem/6599016> use ld64 to link iBoot
187
188 2010-10-01 Nick Kledzik <kledzik@apple.com>
189
190 <rdar://problem/8504770> crash when entrypoint is thumb
191
192 2010-10-01 Nick Kledzik <kledzik@apple.com>
193
194 If -ios_version_min is used with -arch i386, assume simulator
195
196 2010-10-01 Nick Kledzik <kledzik@apple.com>
197
198 <rdar://problem/8500061> crash with multiple re-exported dylibs with same install_name
199
200 2010-09-28 Nick Kledzik <kledzik@apple.com>
201
202 <rdar://problem/8032130> Linker complains about resolver functions when architecture is inferred.
203
204 2010-09-28 Nick Kledzik <kledzik@apple.com>
205
206 <rdar://problem/6751424> ARM subtype not set on LTO programs
207
208 2010-09-28 Nick Kledzik <kledzik@apple.com>
209
210 <rdar://problem/8481987> Link-Time Optimization assertion
211 Added test cases:
212 unit-tests/test-cases/lto-dead_strip-objc
213 unit-tests/test-cases/lto-dead_strip-some-hidden
214
215 2010-09-24 Nick Kledzik <kledzik@apple.com>
216
217 <rdar://problem/8441087> Support -dyld_env NAME=value
218
219 2010-09-23 Nick Kledzik <kledzik@apple.com>
220
221 Previous BranchIsland code changes to make buildable with clang++ were bad. Fix.
222
223 2010-09-23 Nick Kledzik <kledzik@apple.com>
224
225 <rdar://problem/8274443> ld64 objc category merging asserts on category from old framework
226
227 2010-09-23 Nick Kledzik <kledzik@apple.com>
228
229 <rdar://problem/8469063> ASLR Sidebuild: Many Projects Fail checksyms_read_only_relocs Verifier
230
231 2010-09-22 Nick Kledzik <kledzik@apple.com>
232
233 Fix DOF section name bug
234
235 2010-09-22 Nick Kledzik <kledzik@apple.com>
236
237 Fixes to build with clang++
238
239 2010-09-21 Nick Kledzik <kledzik@apple.com>
240
241 In Resolver::fillInHelpersInInternalState(), dyld never needs stubs
242
243 2010-09-21 Ivan Krstic <ike@apple.com>
244
245 <rdar://problem/8457083> ld: support non-executable heap Mach-O header flag
246
247 2010-09-21 Nick Kledzik <kledzik@apple.com>
248
249 <rdar://problem/8175282> Xcode 4 linker fails with "address not in any section"
250
251 2010-09-20 Nick Kledzik <kledzik@apple.com>
252
253 <rdar://problem/8198832> assertion failure reading i386 yasm .o (not using scattered reloc)
254
255 2010-09-20 Nick Kledzik <kledzik@apple.com>
256
257 <rdar://problem/8430751> ld crashes when parsing dwarf and all code is not in __text
258
259 2010-09-17 Nick Kledzik <kledzik@apple.com>
260
261 <rdar://problem/8396450> magic segment symbol names don't work with preload executables
262 Update test case: unit-tests/test-cases/segment-labels
263
264 2010-09-17 Nick Kledzik <kledzik@apple.com>
265
266 <rdar://problem/8445985> OSO in DebugNotes for LTO should point to generated mach-o not, bitcode .o file
267
268 2010-09-16 Nick Kledzik <kledzik@apple.com>
269
270 <rdar://problem/8413931> FUN in debug map not rebased
271 Update test case: unit-tests/test-cases/rebase-basic
272
273 2010-09-16 Nick Kledzik <kledzik@apple.com>
274
275 <rdar://problem/8427133> Relocation failure with i386 32-bit diff to stub
276
277 2010-09-16 Nick Kledzik <kledzik@apple.com>
278
279 <rdar://problem/8437287> assert when targeting 10.5 and crt1.o/dylib1.o is not supplied
280
281 -------- tagged ld64-118.1
282
283 2010-09-15 Nick Kledzik <kledzik@apple.com>
284
285 Fix missing rebase commands that broke perl
286
287 2010-09-15 Nick Kledzik <kledzik@apple.com>
288
289 <rdar://problem/8252819> assert when .objc_class_name_* symbol missing
290 Add test case: unit-tests/test-cases/archive-ObjC-unexported
291
292 2010-09-13 Nick Kledzik <kledzik@apple.com>
293
294 <rdar://problem/8419850> linker does not honor $ld$hide for umbrella libraries
295 Added test case: unit-tests/test-cases/symbol-hiding-umbrella
296
297 2010-09-09 Nick Kledzik <kledzik@apple.com>
298
299 <rdar://problem/6723729> LC_UUID uuids should conform to RFC 4122 UUID version 4 & UUID version 5 formats
300
301 2010-09-09 Nick Kledzik <kledzik@apple.com>
302
303 <rdar://problem/4942948> support -bind_at_load
304
305 2010-09-07 Nick Kledzik <kledzik@apple.com>
306
307 <rdar://problem/7989734> ld mis-handling std::tr1::anonymous symbols
308 Remove support for ordering gcc-4.0 compiled anonymous namespace symbols
309
310
311 -------- tagged ld64-118
312
313 2010-09-02 Nick Kledzik <kledzik@apple.com>
314
315 <rdar://problem/8308697> -preload should not have LINKEDIT segment
316 Added test case: unit-tests/test-cases/efi-basic
317
318 2010-09-02 Nick Kledzik <kledzik@apple.com>
319
320 <rdar://problem/8389578> trivial Objective-C app fails when using libLTO
321 Added test case: unit-tests/test-cases/lto-objc-image-info
322
323 2010-09-02 Nick Kledzik <kledzik@apple.com>
324
325 <rdar://problem/8384727> Add -reexport_symbols_list option to re-export certain symbols.
326 Added test case: unit-tests/test-cases/reexport_symbols_list
327
328 2010-09-01 Nick Kledzik <kledzik@apple.com>
329
330 <rdar://problem/7438246> LTO with 'dead code strip' can't ignore unused functions with undefined references
331 Add test case: unit-tests/test-cases/lto-dead_strip-unused
332
333 2010-09-01 Nick Kledzik <kledzik@apple.com>
334
335 Warn if unaligned ARM code is detected
336
337 2010-09-01 Nick Kledzik <kledzik@apple.com>
338
339 <rdar://problem/8383175> Mach-O linked by current linker don't load in VIrtualBox any more
340
341 2010-09-01 Nick Kledzik <kledzik@apple.com>
342
343 <rdar://problem/8304984> Linker should pick default visibility instead of warning about conflicts
344 Updated test case: unit-tests/test-cases/visibility-warning
345
346 2010-09-01 Nick Kledzik <kledzik@apple.com>
347
348 <rdar://problem/8249338> Enable new load commands
349
350 2010-09-01 Nick Kledzik <kledzik@apple.com>
351
352 <rdar://problem/8368679> Do not pass -demangle to ld_classic
353
354 2010-09-01 Nick Kledzik <kledzik@apple.com>
355
356 <rdar://problem/8336910> iOS 4.3 armv7 should be PIE by default
357 <rdar://problem/5472933> better error message for direct access to external globals when not linking read_only_relocs
358 <rdar://problem/7927510> linker does not error on direct (static) data references to a dylib symbol
359
360 -------- tagged ld64-117.11
361
362 2010-09-03 Nick Kledzik <kledzik@apple.com>
363
364 <rdar://problem/8385011> mask thumb bit off non lazy pointers content when parsing arm .o files
365
366 -------- tagged ld64-117.10
367
368 2010-08-26 Nick Kledzik <kledzik@apple.com>
369
370 <rdar://problem/8358084> 8F64 kills installtest devices
371 Don't clear thumb bit on pointers inside thumb functions if addend is negative
372
373 -------- tagged ld64-117.9
374
375 2010-08-25 Nick Kledzik <kledzik@apple.com>
376
377 <rdar://problem/8345038> no more audio because of broken thunk
378 Update of thumb22 b.w instruction was not clearing bits before or'ing in new ones
379
380 -------- tagged ld64-117.8
381
382 2010-08-25 Nick Kledzik <kledzik@apple.com>
383
384 <rdar://problem/8342028> prefetch abort in kernel mode: fault_addr=0xe58024e4
385 Don't set thumb bit on .long pointers in thumb functions that point to some offset in same function
386
387 -------- tagged ld64-117.7
388
389 2010-08-24 Nick Kledzik <kledzik@apple.com>
390
391 <rdar://problem/8346444> dyld-179.4 fails to link, assert in setLoadCommandsPadding()
392 Fix linker to always put __text first before other code-only sections
393
394 -------- tagged ld64-117.6
395
396 2010-08-23 Nick Kledzik <kledzik@apple.com>
397
398 <rdar://problem/8339702> ld no longer output static archive dependencies for dyld for B&I
399 Add test case unit-tests/test-cases/dependency-logging
400
401 -------- tagged ld64-117.5
402
403 2010-08-20 Nick Kledzik <kledzik@apple.com>
404
405 <rdar://problem/8309595> SWB: ld64-117.1 on Durango8F54: Assertion failed:
406 UTF16 CFStrings were not coalesced correctly when gcc built the .o files and the
407 last string in the __ustring section only had a single zero byte at the end.
408
409 -------- tagged ld64-117.4
410
411 2010-08-19 Nick Kledzik <kledzik@apple.com>
412
413 <rdar://problem/8326544> DTSJ1J105: SpringBoard crashes on boot
414 Fix order file to move aliases even when subsections_via_symbols it used
415 Update test case unit-tests/test-cases/order_file
416
417 2010-08-17 Nick Kledzik <kledzik@apple.com>
418
419 Fix resolver functions to survive ld -r.
420 Warn if resolver functions are made non-external.
421
422 2010-08-17 Nick Kledzik <kledzik@apple.com>
423
424 Make it an error for resolver functions to be used in anything but a dylib.
425
426 -------- tagged ld64-117.3
427
428 2010-08-17 Nick Kledzik <kledzik@apple.com>
429
430 Fix thumb resolver functions
431 Enable updward dylibs and symbol re-exports for iOS 4.2
432
433 2010-08-16 Nick Kledzik <kledzik@apple.com>
434
435 <rdar://problem/8308697> Latest ld no longer supports EFI -preload
436 Rearrange LINKEDIT chunks in -preload mode
437
438 -------- tagged ld64-117.2
439
440 2010-08-14 Nick Kledzik <kledzik@apple.com>
441
442 <rdar://problem/8308697> Latest ld no longer supports EFI -preload
443 Add LC_UNIXTHREAD to -preload
444
445 2010-08-14 Nick Kledzik <kledzik@apple.com>
446
447 <rdar://problem/8309530> SWB: ld64-117.1 on Durango8F54: Assertion failed: (categoryAtom->size() == Category<A>::size())
448 gcc-4.0 uses 'L' labels on categories. This merges them onto previous data and disable category optimzation
449
450 2010-08-14 Nick Kledzik <kledzik@apple.com>
451
452 <rdar://problem/8309917> SWB: ld64-117.1 on Durango8F54: bad category optimization
453 Disable category optimization for i386 and arm until further testing
454
455 2010-08-14 Nick Kledzik <kledzik@apple.com>
456
457 <rdar://problem/8309608> SWB: ld64-117.1 on Durango8F54: address not in any section
458 Handle pointer diff to stub for weak hidden function
459
460 2010-08-13 Nick Kledzik <kledzik@apple.com>
461
462 <rdar://problem/8308697> Latest ld no longer supports EFI -preload
463
464 -------- tagged ld64-117.1
465
466 2010-08-11 Nick Kledzik <kledzik@apple.com>
467
468 Make missing exported symbols a warning to help adoption of new linker
469
470 2010-08-11 Nick Kledzik <kledzik@apple.com>
471
472 Add ExternalRelocationsAtom<>::pointerReloc() to more easily support kext bundles
473
474 2010-08-09 Nick Kledzik <kledzik@apple.com>
475
476 <rdar://problem/8210380> SWB: ld64-116.2 fix branch to label-4
477
478 2010-08-09 Nick Kledzik <kledzik@apple.com>
479
480 <rdar://problem/8260073> Error with empty non_lazy_symbol_pointers section
481
482 2010-08-06 Nick Kledzik <kledzik@apple.com>
483
484 <rdar://problem/7977374> Add command line options to control symbol weak-def-bit on exported symbols
485
486 -------- tagged ld64-117
487
488 2010-07-28 Nick Kledzik <kledzik@apple.com>
489
490 <rdar://problem/8243431> split seg info wrong for x86_64 stub helpers
491
492 2010-07-26 Nick Kledzik <kledzik@apple.com>
493
494 <rdar://problem/8237436> __nlcatlist categories should not be optimized
495
496 2010-07-23 Nick Kledzik <kledzik@apple.com>
497
498 <rdar://problem/8179273> ld64 assertion on object file
499
500 2010-07-21 Nick Kledzik <kledzik@apple.com>
501
502 <rdar://problem/7435296> Reorder sections to reduce page faults in object files
503
504 2010-06-30 Nick Kledzik <kledzik@apple.com>
505
506 Support resolver functions in iOS dylibs
507
508 -------- tagged ld64-116.2
509
510 2010-06-30 Nick Kledzik <kledzik@apple.com>
511
512 <rdar://problem/8138287> C programs get objc GCness from dylibs
513 Update: unit-tests/test-cases/objc-gc-checks
514
515 -------- tagged ld64-116.1
516
517 2010-06-22 Nick Kledzik <kledzik@apple.com>
518
519 <rdar://problem/8111013> address range check should not apply to preload executables
520
521 2010-06-22 Nick Kledzik <kledzik@apple.com>
522
523 Warn instead of error when CPU_SUBTYPE_ARM_ALL .o files used.
524
525 2010-06-22 Nick Kledzik <kledzik@apple.com>
526
527 Fix assert in objc category optimzation. Metaclass also has copy of propery list to update.
528
529 2010-06-22 Nick Kledzik <kledzik@apple.com>
530
531 Fix crash in -r mode with -alias.
532
533 -------- tagged ld64-116
534
535 2010-06-21 Nick Kledzik <kledzik@apple.com>
536
537 Add support for -ios_version_min as an alias for -iphoneos_version_min
538
539 2010-06-21 Nick Kledzik <kledzik@apple.com>
540
541 <rdar://problem/7687304> linker could merge method lists from class and its categories
542 Added test case: unit-tests/test-cases/objc-category-optimize
543 Added option: -no_objc_category_merging to disable
544
545 2010-06-21 Nick Kledzik <kledzik@apple.com>
546
547 <rdar://problem/8113877> i386 TLV PIC reloc content is negated
548
549 2010-06-15 Nick Kledzik <kledzik@apple.com>
550
551 Added better error messages and asserts for bad thread local object files
552
553 2010-06-09 Nick Kledzik <kledzik@apple.com>
554
555 <rdar://problem/8076986>
556
557 2010-06-09 Nick Kledzik <kledzik@apple.com>
558
559 <rdar://problem/7966333> executable has no debug symbols when compiled with LTO
560 Added test case: unit-tests/test-cases/lto-object_path
561
562 2010-06-09 Nick Kledzik <kledzik@apple.com>
563
564 <rdar://problem/7702923> stop promoting hidden referenced dynamically symbols to global
565 Updated test case: unit-tests/test-cases/main-stripped
566
567 2010-06-04 Nick Kledzik <kledzik@apple.com>
568
569 <rdar://problem/6144674> ER: individual symbol re-exports
570 Added test case: unit-tests/test-cases/re-export-symbo
571
572 2010-06-03 Nick Kledzik <kledzik@apple.com>
573
574 <rdar://problem/7474224> add functions start info to LINKEDIT
575 * Support added but not on by default. Use -function_starts to enable.
576 * Added test case: unit-tests/test-cases/function-start
577
578 2010-06-02 Nick Kledzik <kledzik@apple.com>
579
580 <rdar://problem/5674241> ER: add load command for min OS version
581 * Support added but not on by default. Use -version_load_command to enable.
582
583 2010-06-02 Nick Kledzik <kledzik@apple.com>
584
585 <rdar://problem/8040089> provide better undefined symbol error message
586
587 2010-05-28 Nick Kledzik <kledzik@apple.com>
588
589 * <rdar://problem/7780438> ld should also merge file attributes from lazy loaded archives
590 * Move attribute gathering from InputFiles to Resolver
591
592 2010-05-28 Nick Kledzik <kledzik@apple.com>
593
594 * <rdar://problem/8038333> SWB: ld64-115.3: dylib on kext link line causes malformed kext
595 * allow -static after -kext on command line
596
597 -------- tagged ld64-115.3
598
599 2010-05-26 Nick Kledzik <kledzik@apple.com>
600
601 * <rdar://problem/8024702> strip of .o files removes __objc_imageinfo section
602 * Added test case: unit-tests/test-cases/dwarf-strip-objc
603
604 2010-05-25 Nick Kledzik <kledzik@apple.com>
605
606 * <rdar://problem/8023624> crash when parsing local vanilla reloc to weak def
607
608 -------- tagged ld64-115.2
609
610 2010-05-21 Nick Kledzik <kledzik@apple.com>
611
612 * <rdar://problem/8012536> switch back to using ld_classic for -static arm code
613
614
615 2010-05-21 Nick Kledzik <kledzik@apple.com>
616
617 * <rdar://problem/8012549> warn instead of error when seg1addr is out of range for ARM
618
619
620 2010-05-21 Nick Kledzik <kledzik@apple.com>
621
622 * <rdar://problem/8012526> fix -undefined dynamic_lookup -nodefaults to not error about missing dyld_stub_binder
623
624 -------- tagged ld64-115.1
625
626 2010-05-19 Nick Kledzik <kledzik@apple.com>
627
628 * Fix trie nodes for resolver functions to have second address be stub not helper
629
630 2010-05-19 Nick Kledzik <kledzik@apple.com>
631
632 * <rdar://problem/7996423> work around for old checksyms tools
633 * Make i386 stub section named "__symbol_stub" instead of "__stubs"
634
635 2010-05-10 Nick Kledzik <kledzik@apple.com>
636
637 * <rdar://problem/7960396> linking with LTO prints "/tmp/lto.o"
638
639 -------- tagged ld64-115
640
641 2010-05-06 Nick Kledzik <kledzik@apple.com>
642
643 * <rdar://problem/7892392> linker loses x86_64 addend to 'L' symbols
644 * properly handle addend to 'L' symbols that are ignored
645
646 2010-05-05 Nick Kledzik <kledzik@apple.com>
647
648 * rework min OS version parsing to enable the linker to handle unknown OS versions
649
650
651 2010-05-05 Nick Kledzik <kledzik@apple.com>
652
653 * Implement magic section$start$xxx$yyyy and section$end$xxx$yyyy symbols
654 * Implement magic segment$start$xxx and segment$end$xxx symbols
655 * Add test case: unit-tests/test-cases/segment-labels
656
657
658 2010-05-03 Nick Kledzik <kledzik@apple.com>
659
660 * <rdar://problem/7173071> implement optional demangling in linker
661 * Add option: -demangle
662 * Add test case: unit-tests/test-cases/demangle
663
664
665 2010-05-03 Nick Kledzik <kledzik@apple.com>
666
667 * <rdar://problem/7931759> ld64 doesn't grok the modern-objc-ABI-on-i386
668 * Add support for -objc_abi_version command line option
669 * Added test case: unit-tests/test-cases/objc-abi
670
671
672 2010-05-03 Nick Kledzik <kledzik@apple.com>
673
674 * <rdar://problem/7929974> -alias does not work with __OBJC sections
675 * sort contents of sections with aliases
676 * Added test case: unit-tests/test-cases/objc-class-alias
677
678
679 2010-04-28 Nick Kledzik <kledzik@apple.com>
680
681 * <rdar://problem/4966836> Feature: Thread local storage
682 * Add test case: unit-tests/test-cases/tlv-basic
683 * Add test case: unit-tests/test-cases/tlv-dylib
684
685
686 2010-04-27 Nick Kledzik <kledzik@apple.com>
687
688 * <rdar://problem/4383612> Accelerate needs way to dispatch based on instruction execution time characteristics.
689 * Add support for "symbol resolver" functions
690 * Add test case unit-tests/test-cases/symbol-resolver-basic
691
692
693 2010-04-26 Nick Kledzik <kledzik@apple.com>
694
695 * <rdar://problem/7711820> range check fat archives
696 * check that fat file slice being used does not extend beyond end of file
697 * check that member being used does not extend beyond end of slice/file
698
699 2010-04-26 Nick Kledzik <kledzik@apple.com>
700
701 * <rdar://problem/7666015> The documentation for the -allowable_client option doesn't say enough about it
702
703 2010-04-26 Nick Kledzik <kledzik@apple.com>
704
705 * <rdar://problem/7854068> back out LD_NO_PIE
706
707 2010-04-22 Nick Kledzik <kledzik@apple.com>
708
709 * <rdar://problem/7831043> More ICU make check failures with 0-terminated UTF16 strings
710 * Change UTF16StringSection to break into atoms just on label boundaries
711 * Added test case: unit-tests/test-cases/utf16-nul
712
713
714 -------- tagged ld64-114.12
715
716 2010-04-14 Nick Kledzik <kledzik@apple.com>
717
718 * <rdar://problem/7811357> Crash with messed up BNSYM
719
720
721 2010-04-07 Nick Kledzik <kledzik@apple.com>
722
723 * Fix crash with blank dylib stubs
724
725 -------- tagged ld64-114.11
726
727 2010-04-07 Nick Kledzik <kledzik@apple.com>
728
729 * <rdar://problem/7798495> for ppc, add split-seg info for TEXT pointers to DATA
730
731
732 2010-04-07 Nick Kledzik <kledzik@apple.com>
733
734 * <rdar://problem/7831379> Cannot build ppc64 target with ObjC code
735
736
737 2010-04-01 Nick Kledzik <kledzik@apple.com>
738
739 * let .exp files override auto-hide so that they can be exported if needed
740
741
742 2010-04-01 Nick Kledzik <kledzik@apple.com>
743
744 * <rdar://problem/6783167> support auto hidden weak symbols: .weak_def_can_be_hidden
745 * added test case: unit-tests/test-cases/weak-def-auto-hide
746
747
748 2010-04-01 Nick Kledzik <kledzik@apple.com>
749
750 * <rdar://problem/7818475> 'l' symbols not being automatically removed
751
752
753 2010-03-31 Nick Kledzik <kledzik@apple.com>
754
755 * <rdar://problem/7808258> weak defs should not cause indirection in static executables
756 * Update test case: unit-tests/test-cases/static-executable-weak-defines
757
758 -------- tagged ld64-114.10
759
760 2010-03-31 Nick Kledzik <kledzik@apple.com>
761
762 * <rdar://problem/7735120> assert with .o file with two LSDA sections
763
764
765 -------- tagged ld64-114.9
766
767 2010-03-30 Nick Kledzik <kledzik@apple.com>
768
769 * <rdar://problem/7791161> L4 locks up starting a second processor, works fine with old linker
770 * properly get addend from content in x86_64 substractor when target is direct
771
772
773 2010-03-29 Nick Kledzik <kledzik@apple.com>
774
775 * <rdar://problem/7805172> ld should excludes debug notes when computing UUID
776 * added test case: unit-tests/test-cases/dwarf-debug-notes-uuid
777
778 -------- tagged ld64-114.8
779
780 2010-03-26 Nick Kledzik <kledzik@apple.com>
781
782 * <rdar://problem/7788474> __objc_catlist section loses don't dead strip bit in ld -r mode
783 * Update test case unit-tests/test-cases/static-executable
784
785 -------- tagged ld64-114.7
786
787 2010-03-25 Nick Kledzik <kledzik@apple.com>
788
789 * <rdar://problem/7796313> Support LD_NO_PIE again
790
791 2010-03-25 Nick Kledzik <kledzik@apple.com>
792
793 * <rdar://problem/7765885> Rosetta crashes on launch in 11A133a
794 * Fix -segaddr __TEXT to cause other floating segments to be contiguous with TEXT
795
796 2010-03-24 Nick Kledzik <kledzik@apple.com>
797
798 * <rdar://problem/7786326> Page Zero segment seems to be getting dead stripped
799
800 2010-03-24 Nick Kledzik <kledzik@apple.com>
801
802 * <rdar://problem/7785574> kernel sdt dtrace probes not visible
803
804 -------- tagged ld64-114.6
805
806 2010-03-23 Nick Kledzik <kledzik@apple.com>
807
808 * <rdar://problem/7783918> new linker makes dylibs with no __text section, causing codesign_allocate tool to fail
809 * make sure there is always a __text section in dylibs and bundles
810
811 -------- tagged ld64-114.5
812
813 2010-03-22 Nick Kledzik <kledzik@apple.com>
814
815 * <rdar://problem/7767311> missing __objc_imageinfo section
816 * Real fix will be in 7780438. For now have Resolver also accumulate objc constraint info
817
818
819 2010-03-19 Nick Kledzik <kledzik@apple.com>
820
821 * <rdar://problem/7772740> ld64-114 does not error on missing exported symbols with -dead_strip
822
823 -------- tagged ld64-114.4
824
825 2010-03-16 Nick Kledzik <kledzik@apple.com>
826
827 * <rdar://problem/7762146> dyld missing LC_ID_DYLINKER
828
829 -------- tagged ld64-114.3
830
831 2010-03-15 Nick Kledzik <kledzik@apple.com>
832
833 * force i386 kexts to be built with ld_classic
834 * preserve 'l' labels in static executables
835 * sync section offsets and addresses in segments with command line addresses
836
837
838 -------- tagged ld64-114.2
839
840 2010-03-13 Nick Kledzik <kledzik@apple.com>
841
842 * <rdar://problem/7751930> ld64-114 generates x86_64 kext external call sites with incorrect addend
843
844 -------- tagged ld64-114.1
845
846 2010-03-12 Nick Kledzik <kledzik@apple.com>
847
848 * Fix dyldinfo tool to correct show ordinal info for classic linkedit
849
850 2010-03-12 Nick Kledzik <kledzik@apple.com>
851
852 <rdar://problem/7748047> ld64-114 is causing read_only_reloc verification errors for ppc
853 * Update machochecker to check this.
854
855 -------- tagged ld64-114
856
857 2010-03-11 Nick Kledzik <kledzik@apple.com>
858
859 * <rdar://problem/7744174> i386 dylibs built with ld64-112 cause runtime errors when incorporated into the dyld shared cache
860 * Add -shared_region option to dyldinfo tool
861
862 -------- tagged ld64-113
863
864 2010-03-11 Nick Kledzik <kledzik@apple.com>
865
866 * Allow CPU_SUBTYPE_ARM_ALL .o files to be linked into any arm arch linkage
867
868 2010-03-11 Nick Kledzik <kledzik@apple.com>
869
870 <rdar://problem/7741238> ld64-112 with -undefined dynamic_lookup marks all symbols as being flat
871 * update test case at: unit-tests/test-cases/undefined-dynamic-lookup
872
873 2010-03-10 Nick Kledzik <kledzik@apple.com>
874
875 * prevent possible crash in warning about can't export hidden symbols
876
877 2010-03-10 Nick Kledzik <kledzik@apple.com>
878
879 * make sure split-info data is zero terminated
880
881 -------- tagged ld64-112
882
883 2010-03-09 Nick Kledzik <kledzik@apple.com>
884
885 * Never dead strip sections added with -sectcreate
886 * Added test case: unit-tests/test-cases/sectcreate-dead_strip
887
888
889 -------- tagged ld64-111
890
891 2010-03-03 Nick Kledzik <kledzik@apple.com>
892
893 * Add support for "-arch arm -force_cpusubtype_ALL" to keep gcc building
894
895 2010-03-02 Nick Kledzik <kledzik@apple.com>
896
897 * Add some checking to the use of upward dylibs
898
899 -------- tagged ld64-110
900
901 2010-03-01 Nick Kledzik <kledzik@apple.com>
902
903 * Don't coalesce cstrings across segments
904
905 2010-03-01 Nick Kledzik <kledzik@apple.com>
906
907 * Emulate previous linker bug where hidden symbols with dynamically-referenced
908 bit were promoted to global.
909 * Added test case: unit-tests/test-cases/unstrippable-symbols
910
911 -------- tagged ld64-109.1
912
913 2010-02-26 Nick Kledzik <kledzik@apple.com>
914
915 * Make sure building dyld results in a thread load command
916
917 -------- tagged ld64-109
918
919 2010-02-26 Nick Kledzik <kledzik@apple.com>
920
921 * Better sorting of zero-fill sections to preserve discovery order
922 * Zero out file offsets in dynamic symbol table entries that are not used
923
924 2010-02-26 Nick Kledzik <kledzik@apple.com>
925
926 * Support pointer-diffs to zero sized atom in zero sized section
927
928 2010-02-25 Nick Kledzik <kledzik@apple.com>
929
930 * Add support for -r mode with ppc64
931
932 2010-02-25 Nick Kledzik <kledzik@apple.com>
933
934 * Handle multiple labels on the same coalesable literal by making an
935 atom for each label, each with the same content.
936 * Add test case: unit-tests/test-cases/literals-labels
937
938
939 2010-02-25 Nick Kledzik <kledzik@apple.com>
940
941 * Handle old ppc .o files that have stubs to static functions
942
943 2010-02-25 Nick Kledzik <kledzik@apple.com>
944
945 * Add basic ppc64 support
946
947 2010-02-24 Nick Kledzik <kledzik@apple.com>
948
949 * Range check TOC entries in archives
950
951
952 2010-02-23 Nick Kledzik <kledzik@apple.com>
953
954 * Fix spurious dylib re-export warnings that are just regular linkage cycles
955
956
957 2010-02-23 Nick Kledzik <kledzik@apple.com>
958
959 * re-partition bits in mach_o::relocatable::Atom ivars to allow more functions per file
960
961
962 2010-02-22 Nick Kledzik <kledzik@apple.com>
963
964 * re-partition bits in mach_o::relocatable::Atom ivars to allow more fixups per function
965
966
967 2010-02-22 Nick Kledzik <kledzik@apple.com>
968
969 * Handle re-exported dylibs that are re-exported again
970 * Added test case: unit-tests/test-cases/re-export-layers
971
972
973 2010-02-22 Nick Kledzik <kledzik@apple.com>
974
975 * Properly handle X86_64_RELOC_SUBTRACTOR with non-external target symbol
976
977
978 -------- tagged ld64-108
979
980 2010-02-17 Nick Kledzik <kledzik@apple.com>
981
982 * <rdar://problem/7658740> ER: Support upward dylib dependencies
983 * Add test case: unit-tests/test-cases/dylib-upward
984
985
986 2010-02-17 Nick Kledzik <kledzik@apple.com>
987
988 * <rdar://problem/7401775> ld(1) man page typo
989 * <rdar://problem/7230340> Linker (ld) man page typo: "unredable" in -pagezero_size option description
990 * <rdar://problem/7207483> Typo in ld(1) man page, "-x" option
991 * <rdar://problem/6239264> man ld: Change "if" -> "is"
992 * <rdar://problem/7393216> DOC: ld(1) mentions -dynamiclib when it means -dylib
993
994
995 2010-02-17 Nick Kledzik <kledzik@apple.com>
996
997 * <rdar://problem/7625461> Wordsmith ld warning about missing directories
998
999
1000 2010-02-17 Nick Kledzik <kledzik@apple.com>
1001
1002 * Fix -umbrella to work when umbrella is a dylib instead of a framework
1003 * Add test case: unit-tests/test-cases/umbrella-dylib
1004
1005
1006 -------- tagged ld64-107
1007
1008 2010-02-16 Nick Kledzik <kledzik@apple.com>
1009
1010 * Fix bugs with -preload
1011
1012
1013 2010-02-16 Nick Kledzik <kledzik@apple.com>
1014
1015 * Fix dylib re-export cylce detection
1016
1017
1018 2010-02-16 Nick Kledzik <kledzik@apple.com>
1019
1020 * <rdar://problem/6018216> -ObjC not pulling in members with categories only
1021 * scan for non-zero __objc_catlist section in archive members when -ObjC is used
1022 * Added test case: unit-tests/test-cases/objc-category-archive
1023
1024
1025 2010-02-15 Nick Kledzik <kledzik@apple.com>
1026
1027 * <rdar://problem/7398610> ld glibly removes /dev/null
1028
1029
1030 2010-02-15 Nick Kledzik <kledzik@apple.com>
1031
1032 * <rdar://problem/7196255> Linker should be able to validate GC intentions
1033 * Add -objc_gc and -objc_gc_only. Error when used and RR based .o file is linked in
1034 * Update test case: unit-tests/test-cases/objc-gc-checks
1035
1036
1037 2010-02-15 Nick Kledzik <kledzik@apple.com>
1038
1039 * <rdar://problem/7421695> Linker should provide a way to mark binaries that support compaction
1040 * Added -objc_gc_compaction option
1041 * Update test case: unit-tests/test-cases/objc-gc-checks
1042
1043
1044 2010-02-15 Nick Kledzik <kledzik@apple.com>
1045
1046 * <rdar://problem/7546367> ER: Need a way to detect weak exports in dev tools
1047 * implement -warn_weak_exports
1048
1049 2010-02-15 Nick Kledzik <kledzik@apple.com>
1050
1051 * Add support for LD_DYLD_PATH
1052
1053
1054 2010-02-15 Nick Kledzik <kledzik@apple.com>
1055
1056 * <rdar://problem/7636072> cfstring backing store points to global cstring
1057 * Force all by-name references in cfstring to be direct references
1058 * add test case: unit-tests/test-cases/cfstring-and-cstring
1059
1060
1061 -------- tagged ld64-106
1062
1063 2010-02-12 Nick Kledzik <kledzik@apple.com>
1064
1065 * <rdar://problem/7644673> Assertion failed: when class is translation unit scoped
1066 * added test case unit-tests/test-cases/objc-visibility
1067
1068
1069 2010-02-12 Nick Kledzik <kledzik@apple.com>
1070
1071 * <rdar://problem/7644828> crash with missing crt?
1072
1073
1074 2010-02-12 Nick Kledzik <kledzik@apple.com>
1075
1076 * Suppress indirect symbol table in static executables
1077
1078
1079 2010-02-12 Nick Kledzik <kledzik@apple.com>
1080
1081 * Rework CIE parsing to work with icc generated code
1082
1083
1084 2010-02-11 Nick Kledzik <kledzik@apple.com>
1085
1086 * Fix creation of debug notes
1087 * Tweak unit-tests/test-cases/dwarf-debug-notes to match llvm symbol layout
1088
1089
1090 2010-02-11 Nick Kledzik <kledzik@apple.com>
1091
1092 * Don't assert when infering ppc subtype that is ALL.
1093 * Fix spurious warning about mismatched subtypes, when subtype is inferred
1094
1095
1096 -------- tagged ld64-105
1097
1098 2010-02-11 Nick Kledzik <kledzik@apple.com>
1099
1100 * Use symbolic constants for bit field sizes
1101
1102
1103 2010-02-10 Nick Kledzik <kledzik@apple.com>
1104
1105 * Handle out of order sections in .o files
1106
1107
1108 -------- tagged ld64-104
1109
1110 2010-02-10 Nick Kledzik <kledzik@apple.com>
1111
1112 * Rename __tentative internal section name to __comm/tent to sort like __common
1113 * Fix test case in unit-tests/test-cases/tentative-to-real-r
1114
1115
1116 2010-02-10 Nick Kledzik <kledzik@apple.com>
1117
1118 * Better warning messages about mismatched architectures
1119
1120
1121 2010-02-10 Nick Kledzik <kledzik@apple.com>
1122
1123 * Gracefully ignore if there are >8000 line info per function in debug info
1124
1125
1126 2010-02-10 Nick Kledzik <kledzik@apple.com>
1127
1128 * Properly handle when regular definition is weak_imported
1129 * Add unit-tests/test-cases/weak_import-local
1130
1131
1132 2010-02-10 Nick Kledzik <kledzik@apple.com>
1133
1134 * Don't try to coalesce zero length cstrings in mach-o parser.
1135
1136
1137 2010-02-10 Nick Kledzik <kledzik@apple.com>
1138
1139 * Add work around for llvm using L labels for backing string of CFString with -fwritable-strings
1140
1141
1142 2010-02-09 Nick Kledzik <kledzik@apple.com>
1143
1144 * Ignore labels in __gcc_except_tab section
1145 * Properly apply local relocations to __eh_frame section so CFI parser works
1146 * Update unit-tests/test-cases/eh-stripped-symbols to reproduce problem
1147
1148
1149 2010-02-09 Nick Kledzik <kledzik@apple.com>
1150
1151 * Fix file offset computation with large zero-fill sections
1152
1153
1154 2010-02-09 Nick Kledzik <kledzik@apple.com>
1155
1156 * Force global 'l' to be hidden
1157 * Add test case with objc properties: unit-tests/test-cases/objc-properties
1158
1159
1160 -------- tagged ld64-103
1161
1162 2010-02-04 Nick Kledzik <kledzik@apple.com>
1163
1164 * Temporarily change assert() to call exit(1) instead of abort()
1165
1166
1167 2010-02-04 Nick Kledzik <kledzik@apple.com>
1168
1169 * Fix another case in -r mode where the vmsize was less that filesize
1170
1171
1172 2010-02-04 Nick Kledzik <kledzik@apple.com>
1173
1174 * Fix assert when generating GSYM stab debug notes
1175
1176
1177 2010-02-04 Nick Kledzik <kledzik@apple.com>
1178
1179 * Add SRCROOT to crash logs
1180
1181
1182 2010-02-04 Nick Kledzik <kledzik@apple.com>
1183
1184 * Remove architectureName() from InputFiles
1185
1186
1187 -------- tagged ld64-102
1188
1189 2010-02-03 Nick Kledzik <kledzik@apple.com>
1190
1191 * Add follow-on reference from symbol text atom to non-symboled text atom
1192
1193
1194 -------- tagged ld64-101
1195
1196 2010-01-29 Nick Kledzik <kledzik@apple.com>
1197
1198 * fix -alias symbols to be global by default
1199
1200
1201 -------- tagged ld64-100
1202
1203 2010-01-28 Nick Kledzik <kledzik@apple.com>
1204
1205 * Merge new/refactored linker to trunk
1206