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