]> git.saurik.com Git - apple/ld64.git/blob - ChangeLog
ld64-128.2.tar.gz
[apple/ld64.git] / ChangeLog
1
2 -------- tagged ld64-128.1
3
4 2011-09-13 Nick Kledzik <kledzik@apple.com>
5
6 <rdar://problem/10111122> Enable dyld to be put into the dyld shared cache
7
8 2011-09-13 Nick Kledzik <kledzik@apple.com>
9
10 <rdar://problem/10100056> Fix "using ld_classic" warning for i386 kexts
11
12 2011-09-13 Nick Kledzik <kledzik@apple.com>
13
14 <rdar://problem/10052396> LTO many have eliminated need for some undefines
15
16 -------- tagged ld64-128
17
18 2011-09-08 Nick Kledzik <kledzik@apple.com>
19
20 Rework 8924157 fix to sort all sections
21
22 2011-09-07 Nick Kledzik <kledzik@apple.com>
23
24 <rdar://problem/10089743> ER: -current_version should allow 64-bit a.b.c.d.e tuple
25
26 2011-09-06 Nick Kledzik <kledzik@apple.com>
27
28 <rdar://problem/10038370> -mdynamic-no-pic broke with movw of weak thumb symbol
29
30 2011-09-01 Nick Kledzik <kledzik@apple.com>
31
32 <rdar://problem/10057157> Turn crash into a warning if __dso_handle is defined in user code
33 Added test case: unit-tests/test-cases/dso_handle
34
35 2011-08-31 Nick Kledzik <kledzik@apple.com>
36
37 <rdar://problem/6780050> Add -fatal_warnings
38
39 2011-08-30 Nick Kledzik <kledzik@apple.com>
40
41 <rdar://problem/8482298> Support .weak_def_can_be_hidden via LTO interface
42
43 2011-08-29 Nick Kledzik <kledzik@apple.com>
44
45 <rdar://problem/10043807> improve performance of zerofill->data ordering
46
47 2011-08-29 Nick Kledzik <kledzik@apple.com>
48
49 Implement -print_statistics
50
51 2011-08-25 Nick Kledzik <kledzik@apple.com>
52
53 check for overlaps between pinned segments and regular segments
54
55 2011-08-23 Nick Kledzik <kledzik@apple.com>
56
57 do got elimination more aggressively in static and preload mode
58
59 2011-08-22 Nick Kledzik <kledzik@apple.com>
60
61 enable __dso_handle in -preload
62
63 2011-08-22 Nick Kledzik <kledzik@apple.com>
64
65 fix section$end to sort to end of __mod_init_func section
66
67 2011-08-18 Nick Kledzik <kledzik@apple.com>
68
69 <rdar://problem/9737570> __constructor section removed with -dead_strip
70
71 2011-08-11 Nick Kledzik <kledzik@apple.com>
72
73 <rdar://problem/8828975> remove ld support for PowerPC
74
75 2011-08-11 Nick Kledzik <kledzik@apple.com>
76
77 Fix spurious -segaddr alignment warning
78
79 -------- tagged ld64-127.3
80
81 2011-08-31 Nick Kledzik <kledzik@apple.com>
82
83 <rdar://problem/8924157> [regression] C++ Initializers from archives not sorted
84 Added test case: unit-tests/test-cases/archive-init-order
85
86 -------- tagged ld64-127.2
87
88 2011-08-15 Nick Kledzik <kledzik@apple.com>
89
90 <rdar://problem/9945513> suppress version load command for simulator builds
91
92 -------- tagged ld64-127.1
93
94 2011-07-26 Nick Kledzik <kledzik@apple.com>
95
96 <rdar://problem/9847280> Csu needs to support for armv7 variants
97
98 -------- tagged ld64-127
99
100 2011-07-26 Nick Kledzik <kledzik@apple.com>
101
102 <rdar://problem/9838090> crash with TLS + -dead_strip
103
104 2011-07-20 Nick Kledzik <kledzik@apple.com>
105
106 <rdar://problem/9778727> ld64-123.2.1/ChangeLog contains internal train names and radar titles
107
108 2011-07-17 Nick Kledzik <kledzik@apple.com>
109
110 <rdar://problem/9777977> ld crashes with an assertion failure when linking WebKit with LTO
111
112 2011-07-14 Nick Kledzik <kledzik@apple.com>
113
114 <rdar://problem/9779759> Personalities missing when using compact unwind
115
116 2011-07-13 Nick Kledzik <kledzik@apple.com>
117
118 <rdar://problem/9740166> force loaded archives not listed in LD_TRACE
119
120 2011-07-05 Nick Kledzik <kledzik@apple.com>
121
122 <rdar://problem/9716724> spurious warning: Codegen prevents image from working in dyld shared cache
123
124 2011-07-01 Nick Kledzik <kledzik@apple.com>
125
126 <rdar://problem/9707126> Fix -classic_linker option
127
128 -------- tagged ld64-126.5
129
130 2011-06-15 Nick Kledzik <kledzik@apple.com>
131
132 <rdar://problem/9618702> ld64-124.6: ld -r introduces duplicate symbols
133
134 2011-06-15 Nick Kledzik <kledzik@apple.com>
135
136 <rdar://problem/9610466> loosen check for 32-bit absolute address out of range
137
138 -------- tagged ld64-126.3.1
139
140 2011-06-15 Nick Kledzik <kledzik@apple.com>
141
142 Update armv7 variants
143
144 -------- tagged ld64-126.2
145
146 2011-06-13 Nick Kledzik <kledzik@apple.com>
147
148 <rdar://problem/9461567> iOS ld -r loses dont-dead-strip attribute on __objc_nlclslist section
149
150 2011-06-13 Nick Kledzik <kledzik@apple.com>
151
152 <rdar://problem/9231829> LC_ENCRYPTION_INFO size can be wrong
153
154
155 -------- tagged ld64-126.1
156
157 2011-06-10 Nick Kledzik <kledzik@apple.com>
158
159 Add back support for armv7 variants
160
161 -------- tagged ld64-126
162
163 2011-06-09 Nick Kledzik <kledzik@apple.com>
164
165 <rdar://problem/9581690> -ObjC does not work for simulator
166
167 2011-06-09 Nick Kledzik <kledzik@apple.com>
168
169 <rdar://problem/9551362> clang ld: bad codegen, pointer diff
170 Added test case: unit-tests/test-cases/weak-def-hidden-and-global
171
172 2011-06-03 Nick Kledzik <kledzik@apple.com>
173
174 <rdar://problem/9553065> warning then assertion when libSystem.dylib is missing
175
176 2011-06-02 Nick Kledzik <kledzik@apple.com>
177
178 <rdar://problem/9544194> ld crash with resolver functions
179
180 2011-06-01 Nick Kledzik <kledzik@apple.com>
181
182 <rdar://problem/7259423> define way for compilers to specify compact unwind info
183 Added test case: unit-tests/test-cases/compact-unwind-basic
184 Updated unwinddump tool to display compact unwind info in .o files
185
186 2011-06-01 Nick Kledzik <kledzik@apple.com>
187
188 Allow 8612550 (turn ordered zero fill symbols into zero data) to work not just for dyld
189
190 2011-06-01 Nick Kledzik <kledzik@apple.com>
191
192 Remove trailing /. in dwarf source dirs to cannoicalize paths
193
194 2011-06-01 Nick Kledzik <kledzik@apple.com>
195
196 Sort debug notes by output order instead of input order.
197
198 2011-06-01 Nick Kledzik <kledzik@apple.com>
199
200 <rdar://problem/9537755> remove support for invoking ld_classic in iOS
201
202 2011-06-01 Nick Kledzik <kledzik@apple.com>
203
204 Fix arm branch interworking in -r for armv6
205
206 2011-06-01 Nick Kledzik <kledzik@apple.com>
207
208 <rdar://problem/9521882> i386 regression with pointer-diff of same pointer
209
210 2011-05-27 Nick Kledzik <kledzik@apple.com>
211
212 Canonicalize dwarf source file dirname to always end in /
213
214 2011-05-27 Nick Kledzik <kledzik@apple.com>
215
216 <rdar://problem/9513487> support arm branch interworking in -r mode (use extern relocs)
217
218 2011-05-27 Nick Kledzik <kledzik@apple.com>
219
220 Add -page_align_data_atoms option
221
222 2011-05-24 Nick Kledzik <kledzik@apple.com>
223
224 <rdar://problem/9292295> align(16384) doesn't produce 16K aligned globals on ARMv7
225
226 2011-05-24 Nick Kledzik <kledzik@apple.com>
227
228 <rdar://problem/9493908> support arm shims in sections other than __text
229
230 2011-05-23 Nick Kledzik <kledzik@apple.com>
231
232 <rdar://problem/8750693> ld64 should only install to the platform in iOS
233
234 2011-05-19 Nick Kledzik <kledzik@apple.com>
235
236 <rdar://problem/9452006> Ld assertion with unusual section order
237
238 2011-05-17 Nick Kledzik <kledzik@apple.com>
239
240 <rdar://problem/9441273> Linker is not automatically weak loading dylibs when all references are weak
241
242 -------- tagged ld64-125.3
243
244 2011-05-12 Nick Kledzik <kledzik@apple.com>
245
246 Fix missing split-seg-info for kindSetTargetImageOffset
247
248 2011-05-12 Nick Kledzik <kledzik@apple.com>
249
250 <rdar://problem/9420745> Linker crashes with __gcc_except_tab data belonging to no FDE
251
252 2011-05-11 Nick Kledzik <kledzik@apple.com>
253
254 Fix nop padding for arm code
255
256 2011-05-05 Nick Kledzik <kledzik@apple.com>
257
258 <rdar://problem/9394006> x86_64: cmp of GOT slot loses weak_import bit
259
260 -------- tagged ld64-125.2
261
262 2011-05-02 Nick Kledzik <kledzik@apple.com>
263
264 Fix -flat_namespace issue with not all indirect dylibs being processed
265
266 2011-04-29 Nick Kledzik <kledzik@apple.com>
267
268 Fix sign extention on i386 addends of extern vanilla relocs
269
270 2011-04-29 Nick Kledzik <kledzik@apple.com>
271
272 Don't let -ObjC double load any archive members
273
274 2011-04-29 Nick Kledzik <kledzik@apple.com>
275
276 <rdar://problem/9356572> better warning about unaligned ARM functions
277
278 -------- tagged ld64-125.1
279
280 2011-04-28 Nick Kledzik <kledzik@apple.com>
281
282 Fix sign extention on arm sect-diff relocs so as to not trip rangeCheckAbsolute32()
283
284 -------- tagged ld64-125
285
286 2011-04-24 Nick Kledzik <kledzik@apple.com>
287
288 <rdar://problem/8866673> the entry point should start out initially undefined
289
290 2011-04-24 Nick Kledzik <kledzik@apple.com>
291
292 <rdar://problem/5804214> ld should never have a symbol in the non-lazy indirect symbol table with index 0
293
294 2011-04-24 Nick Kledzik <kledzik@apple.com>
295
296 <rdar://problem/6978069> ld adds undefined symbol from .exp file to kext bundle
297
298 2011-04-24 Nick Kledzik <kledzik@apple.com>
299
300 <rdar://problem/7664544> Linker typo suggestions should ignore l- and L- symbols
301
302 2011-04-24 Nick Kledzik <kledzik@apple.com>
303
304 <rdar://problem/7952137> -order_file_statistics warns about syms in multiple .o files even when names in order file are prefixed
305
306 2011-04-23 Nick Kledzik <kledzik@apple.com>
307
308 <rdar://problem/8642343> warning when a method is overridden in a category in the same link unit
309 Add test case: unit-tests/test-cases/objc-category-warning
310
311 2011-04-23 Nick Kledzik <kledzik@apple.com>
312
313 <rdar://problem/7890410> don't let function from archive override a tentative definition
314 Add test case: unit-tests/test-cases/tentative-and-archive-code
315
316 2011-04-23 Nick Kledzik <kledzik@apple.com>
317
318 <rdar://problem/8822887> x86_64 -- lossy relocation at static link time (push/mov $imm)
319
320 2011-04-23 Nick Kledzik <kledzik@apple.com>
321
322 <rdar://problem/8989530> Add comment to error message when __ZTV symbols are undefined
323
324 2011-04-23 Nick Kledzik <kledzik@apple.com>
325
326 <rdar://problem/8995535> obsolete -no_compact_linkedit
327
328 2011-04-23 Nick Kledzik <kledzik@apple.com>
329
330 <rdar://problem/9281002> sect->sectname() passed to "%s" formats
331
332 2011-04-14 Nick Kledzik <kledzik@apple.com>
333
334 <rdar://problem/9275707> linking a sub library of libSystem should not warn about common symbols
335
336 2011-04-14 Nick Kledzik <kledzik@apple.com>
337
338 <rdar://problem/9282815> support movw/movt in static executables
339
340 2011-04-12 Nick Kledzik <kledzik@apple.com>
341
342 Rework ARM subtype handling to be table driven
343
344 2011-04-11 Nick Kledzik <kledzik@apple.com>
345
346 Error if -init or -e function not in image being linked
347
348 2011-04-01 Nick Kledzik <kledzik@apple.com>
349
350 <rdar://problem/9216420> -static and -stack_addr don't work together
351
352 2011-03-31 Nick Kledzik <kledzik@apple.com>
353
354 <rdar://problem/9183821> ld assert in LTO mode if libLTO suppresses a weak symbol it should have perserved
355
356 -------- tagged ld64-124.1
357
358 2011-03-30 Nick Kledzik <kledzik@apple.com>
359
360 log warning if ld_classic is invoked
361
362 2011-03-30 Nick Kledzik <kledzik@apple.com>
363
364 <rdar://problem/9209135> Support "-arch arm -force_cpusubtype_ALL" to keep gcc building
365
366 -------- tagged ld64-124
367
368 2011-03-24 Nick Kledzik <kledzik@apple.com>
369
370 <rdar://problem/9144456> make libgcc_s and libSystem work for any link order
371
372 2011-03-18 Nick Kledzik <kledzik@apple.com>
373
374 <rdar://problem/8750693> ld64 should only install to the platform in iOS trains
375
376 2011-03-18 Nick Kledzik <kledzik@apple.com>
377
378 <rdar://problem/9127471> ld64 should build stand-alone and not need libunwind headers
379
380 2011-03-18 Nick Kledzik <kledzik@apple.com>
381
382 <rdar://problem/9139782> add LC_VERSION_MIN_IPHONEOS to iOS targets, warn on mismatches
383
384 2011-03-18 Nick Kledzik <kledzik@apple.com>
385
386 <rdar://problem/8836481> Make iOS simulator a real platform with command line versioning
387
388 2011-03-15 Nick Kledzik <kledzik@apple.com>
389
390 <rdar://problem/8964869> static executables don't get function start information
391
392 2011-03-15 Nick Kledzik <kledzik@apple.com>
393
394 <rdar://problem/9112113> allow_sub_type_mismatches linker flag broken
395
396 2011-03-15 Nick Kledzik <kledzik@apple.com>
397
398 <rdar://problem/9106345> Add option to support merging zero fill sections
399 Add test case: unit-tests/test-cases/merge_zero_fill_sections
400
401 2011-03-15 Nick Kledzik <kledzik@apple.com>
402
403 Improve error message about text-relocs caused by direct access to global weak symbols.
404
405 2011-03-10 Nick Kledzik <kledzik@apple.com>
406
407 <rdar://problem/9116044> ld assert linking armv7 kext bundle on b/bl to external function
408
409 -------- tagged ld64-123.10
410
411 2011-03-03 Nick Kledzik <kledzik@apple.com>
412
413 <rdar://problem/9085618> linking x86_64 causes assert from changes in ld64-123.9
414
415 -------- tagged ld64-123.9
416
417 2011-03-03 Nick Kledzik <kledzik@apple.com>
418
419 <rdar://problem/9055754> movw/movt don't work in dyld shared cache
420
421 2011-03-03 Nick Kledzik <kledzik@apple.com>
422
423 <rdar://problem/8995525> classic linkedit does not match compact for non-lazy pointers
424
425 2011-02-24 Nick Kledzik <kledzik@apple.com>
426
427 <rdar://problem/9052679> Support armv7 variants
428
429 -------- tagged ld64-123.8
430
431 2011-02-10 Nick Kledzik <kledzik@apple.com>
432
433 <rdar://problem/8926992> Switch arm32 kexts to MH_KEXT_BUNDLE
434
435 -------- tagged ld64-123.7
436
437 2011-02-10 Nick Kledzik <kledzik@apple.com>
438
439 <rdar://problem/8926992> Switch arm32 kexts to MH_KEXT_BUNDLE, if LD_KEXT_BUNDLE is set
440
441 2011-01-28 Nick Kledzik <kledzik@apple.com>
442
443 <rdar://problem/8931747> spurious 'found branch-22 without store' warning
444
445 -------- tagged ld64-123.6
446
447 2011-01-26 Nick Kledzik <kledzik@apple.com>
448
449 <rdar://problem/8904405> crash with arm hi16/lo16 to external symbols
450
451 -------- tagged ld64-123.5
452
453 2011-01-24 Nick Kledzik <kledzik@apple.com>
454
455 <rdar://problem/8910802> dyld synthesized tail call stubs don't always work
456
457 -------- tagged ld64-123.4
458
459 2011-01-19 Nick Kledzik <kledzik@apple.com>
460
461 <rdar://problem/8866345> __text with >10 alignment should disable close-stub optimization
462
463 2011-01-18 Nick Kledzik <kledzik@apple.com>
464
465 <rdar://problem/8877072> :upper16: / :lower16: not working when targeting thumb functions
466
467 -------- tagged ld64-123.3
468
469 2010-12-14 Nick Kledzik <kledzik@apple.com>
470
471 <rdar://problem/8764917> ld64 making shims when not necessary
472
473 2010-12-14 Nick Kledzik <kledzik@apple.com>
474
475 <rdar://problem/8760268> Add work around for latest llvm-c/lto.h
476
477 -------- tagged ld64-123.2.1
478
479 2011-03-07 Nick Kledzik <kledzik@apple.com>
480
481 <rdar://problem/8955206> enable i386 ASLR
482
483 -------- tagged ld64-123.2
484
485 2010-12-10 Nick Kledzik <kledzik@apple.com>
486
487 <rdar://problem/8746980> Man page typo: "dysmutil" under object_path_lto
488
489 2010-12-10 Nick Kledzik <kledzik@apple.com>
490
491 <rdar://problem/8746896> ld64 crashes when warning about re-exported symbol
492
493 -------- tagged ld64-123.1
494
495 2010-12-07 Nick Kledzik <kledzik@apple.com>
496
497 <rdar://problem/8732097> assertion if symbol from re-exported dylib is in -exported_symbols_list
498
499 -------- tagged ld64-123
500
501 2010-12-06 Nick Kledzik <kledzik@apple.com>
502
503 <rdar://problem/8649182> Change default search order and add -search_dylibs_first to restore old behavior
504
505 2010-12-06 Nick Kledzik <kledzik@apple.com>
506
507 <rdar://problem/8626058> ld should consistently warn when resolvers are not exported
508
509 2010-12-02 Nick Kledzik <kledzik@apple.com>
510
511 <rdar://problem/8723307> data segment has file offset 0
512
513 -------- tagged ld64-122
514
515 2010-12-01 Nick Kledzik <kledzik@apple.com>
516
517 Add #define ARM_RELOC_HALF in case trying to build with old mach-o/arm/reloc.h header
518
519 2010-11-30 Nick Kledzik <kledzik@apple.com>
520
521 <rdar://problem/8134559> Linker should synthesize interworking stubs for tail calls
522 added test case: unit-tests/test-cases/branch-interworking
523
524 2010-11-30 Nick Kledzik <kledzik@apple.com>
525
526 <rdar://problem/8708091> Link Time Optimization error with tentative defs and -dead_strip
527 added test case: unit-tests/test-cases/lto-dead_strip-tentative
528
529 -------- tagged ld64-121
530
531 2010-11-10 Nick Kledzik <kledzik@apple.com>
532
533 Add -dylibs option to dyldinfo tool
534
535 2010-11-03 Nick Kledzik <kledzik@apple.com>
536
537 <rdar://problem/7441442> Need support for ARM/thumb upper/lower 16 bit relocation
538
539 2010-11-03 Nick Kledzik <kledzik@apple.com>
540
541 <rdar://problem/8624334> Spelling typo in linker warning
542
543 2010-11-02 Nick Kledzik <kledzik@apple.com>
544
545 <rdar://problem/8616906> Xcode 4: ld -r doesn't work on files compiled with llvm-gcc -flto
546
547 2010-11-01 Nick Kledzik <kledzik@apple.com>
548
549 <rdar://problem/8618747> ld wrongly complaining about tlv relocs for i386
550
551 2010-11-01 Nick Kledzik <kledzik@apple.com>
552
553 Fix -why_live to list all references, not just first
554
555 2010-11-01 Nick Kledzik <kledzik@apple.com>
556
557 <rdar://problem/8612861> iOS is missing dof sections for armv7 slice
558
559 -------- tagged ld64-120.3
560
561 2010-11-09 Nick Kledzik <kledzik@apple.com>
562
563 <rdar://problem/8644314> revert default search order
564
565 -------- tagged ld64-120.2
566
567 2010-11-09 Nick Kledzik <kledzik@apple.com>
568
569 <rdar://problem/8510696> ld -r corrupts multiple non-lazy sections
570
571 -------- tagged ld64-120.1
572
573 2010-10-25 Nick Kledzik <kledzik@apple.com>
574
575 <rdar://problem/8612550> When order file used on data, turn ordered zero fill symbols into zero data
576
577 -------- tagged ld64-120
578
579 2010-10-25 Nick Kledzik <kledzik@apple.com>
580
581 <rdar://problem/8592564> ld should use this-image ordinal for symbols from re-exported non-public dylibs
582 added test case: unit-tests/test-cases/re-export-and-use
583
584 2010-10-25 Nick Kledzik <kledzik@apple.com>
585
586 <rdar://problem/8284718> Value of N_SO stabs should be address of first atom from translation unit
587
588 2010-10-25 Nick Kledzik <kledzik@apple.com>
589
590 Always print arch name on undefined symbols error
591
592 2010-10-25 Nick Kledzik <kledzik@apple.com>
593
594 Add ld64 version number to crash logs
595
596 2010-10-22 Nick Kledzik <kledzik@apple.com>
597
598 <rdar://problem/7952947> -objc_abi_version 1 not supported
599
600 2010-10-22 Nick Kledzik <kledzik@apple.com>
601
602 <rdar://problem/5591394> Add support to ld64 for N_FUN stabs when used for symbolic constants
603
604 2010-10-22 Nick Kledzik <kledzik@apple.com>
605
606 <rdar://problem/3560832> Change default search order and add -search_dylibs_first to restore old behavior
607
608 2010-10-22 Nick Kledzik <kledzik@apple.com>
609
610 <rdar://problem/6955037> -L flag should support a space between it and its argument
611
612 2010-10-22 Nick Kledzik <kledzik@apple.com>
613
614 <rdar://problem/8553647> Hidden resolver functions don't work with DYLD_BIND_AT_LAUNCH
615
616 2010-10-22 Nick Kledzik <kledzik@apple.com>
617
618 <rdar://problem/8541707> Support resolver functions for function pointer use from same linkage unit
619
620 2010-10-19 Nick Kledzik <kledzik@apple.com>
621
622 <rdar://problem/8571323> section$start$ does not always point to start of built in section types
623
624 -------- tagged ld64-119.2
625
626 2010-10-18 Nick Kledzik <kledzik@apple.com>
627
628 <rdar://problem/8553312> make having an ObjC2 class symbol in an export list be a warning instead of an error
629
630 2010-10-15 Nick Kledzik <kledzik@apple.com>
631
632 <rdar://problem/8553283> lazily produce (crt1.o missing) error
633
634 -------- tagged ld64-119.1
635
636 2010-10-05 Nick Kledzik <kledzik@apple.com>
637
638 <rdar://problem/8527740> ld -r can produce output with LC_DYLD_INFO load command
639
640 2010-10-05 Nick Kledzik <kledzik@apple.com>
641
642 <rdar://problem/8516692> ld doesn't pass stabs debug info through to the final executable any longer
643
644 2010-10-05 Nick Kledzik <kledzik@apple.com>
645
646 <rdar://problem/4251267> __UNIXSTACK placed incorrectly when -stack_addr < 0x4000000
647
648 2010-10-05 Nick Kledzik <kledzik@apple.com>
649
650 <rdar://problem/8267015> ld mishandles -lazy-l option
651 Updated test case: unit-tests/test-cases/lazy-dylib
652
653 2010-10-04 Nick Kledzik <kledzik@apple.com>
654
655 <rdar://problem/8468240> -no_compact_unwind should suppress dwarf->CUE warnings
656
657 -------- tagged ld64-119
658
659 2010-10-01 Nick Kledzik <kledzik@apple.com>
660
661 <rdar://problem/6599016> use ld64 to link iBoot
662
663 2010-10-01 Nick Kledzik <kledzik@apple.com>
664
665 <rdar://problem/8504770> crash when entrypoint is thumb
666
667 2010-10-01 Nick Kledzik <kledzik@apple.com>
668
669 If -ios_version_min is used with -arch i386, assume simulator
670
671 2010-10-01 Nick Kledzik <kledzik@apple.com>
672
673 <rdar://problem/8500061> crash with multiple re-exported dylibs with same install_name
674
675 2010-09-28 Nick Kledzik <kledzik@apple.com>
676
677 <rdar://problem/8032130> Linker complains about resolver functions when architecture is inferred.
678
679 2010-09-28 Nick Kledzik <kledzik@apple.com>
680
681 <rdar://problem/6751424> ARM subtype not set on LTO programs
682
683 2010-09-28 Nick Kledzik <kledzik@apple.com>
684
685 <rdar://problem/8481987> Link-Time Optimization assertion
686 Added test cases:
687 unit-tests/test-cases/lto-dead_strip-objc
688 unit-tests/test-cases/lto-dead_strip-some-hidden
689
690 2010-09-24 Nick Kledzik <kledzik@apple.com>
691
692 <rdar://problem/8441087> Support -dyld_env NAME=value
693
694 2010-09-23 Nick Kledzik <kledzik@apple.com>
695
696 Previous BranchIsland code changes to make buildable with clang++ were bad. Fix.
697
698 2010-09-23 Nick Kledzik <kledzik@apple.com>
699
700 <rdar://problem/8274443> ld64 objc category merging asserts on category from old framework
701
702 2010-09-23 Nick Kledzik <kledzik@apple.com>
703
704 <rdar://problem/8469063> ASLR Sidebuild: Many Projects Fail checksyms_read_only_relocs Verifier
705
706 2010-09-22 Nick Kledzik <kledzik@apple.com>
707
708 Fix DOF section name bug
709
710 2010-09-22 Nick Kledzik <kledzik@apple.com>
711
712 Fixes to build with clang++
713
714 2010-09-21 Nick Kledzik <kledzik@apple.com>
715
716 In Resolver::fillInHelpersInInternalState(), dyld never needs stubs
717
718 2010-09-21 Ivan Krstic <ike@apple.com>
719
720 <rdar://problem/8457083> ld: support non-executable heap Mach-O header flag
721
722 2010-09-21 Nick Kledzik <kledzik@apple.com>
723
724 <rdar://problem/8175282> Xcode 4 linker fails with "address not in any section"
725
726 2010-09-20 Nick Kledzik <kledzik@apple.com>
727
728 <rdar://problem/8198832> assertion failure reading i386 yasm .o (not using scattered reloc)
729
730 2010-09-20 Nick Kledzik <kledzik@apple.com>
731
732 <rdar://problem/8430751> ld crashes when parsing dwarf and all code is not in __text
733
734 2010-09-17 Nick Kledzik <kledzik@apple.com>
735
736 <rdar://problem/8396450> magic segment symbol names don't work with preload executables
737 Update test case: unit-tests/test-cases/segment-labels
738
739 2010-09-17 Nick Kledzik <kledzik@apple.com>
740
741 <rdar://problem/8445985> OSO in DebugNotes for LTO should point to generated mach-o not, bitcode .o file
742
743 2010-09-16 Nick Kledzik <kledzik@apple.com>
744
745 <rdar://problem/8413931> FUN in debug map not rebased
746 Update test case: unit-tests/test-cases/rebase-basic
747
748 2010-09-16 Nick Kledzik <kledzik@apple.com>
749
750 <rdar://problem/8427133> Relocation failure with i386 32-bit diff to stub
751
752 2010-09-16 Nick Kledzik <kledzik@apple.com>
753
754 <rdar://problem/8437287> assert when targeting 10.5 and crt1.o/dylib1.o is not supplied
755
756 -------- tagged ld64-118.1
757
758 2010-09-15 Nick Kledzik <kledzik@apple.com>
759
760 Fix missing rebase commands that broke perl
761
762 2010-09-15 Nick Kledzik <kledzik@apple.com>
763
764 <rdar://problem/8252819> assert when .objc_class_name_* symbol missing
765 Add test case: unit-tests/test-cases/archive-ObjC-unexported
766
767 2010-09-13 Nick Kledzik <kledzik@apple.com>
768
769 <rdar://problem/8419850> linker does not honor $ld$hide for umbrella libraries
770 Added test case: unit-tests/test-cases/symbol-hiding-umbrella
771
772 2010-09-09 Nick Kledzik <kledzik@apple.com>
773
774 <rdar://problem/6723729> LC_UUID uuids should conform to RFC 4122 UUID version 4 & UUID version 5 formats
775
776 2010-09-09 Nick Kledzik <kledzik@apple.com>
777
778 <rdar://problem/4942948> support -bind_at_load
779
780 2010-09-07 Nick Kledzik <kledzik@apple.com>
781
782 <rdar://problem/7989734> ld mis-handling std::tr1::anonymous symbols
783 Remove support for ordering gcc-4.0 compiled anonymous namespace symbols
784
785
786 -------- tagged ld64-118
787
788 2010-09-02 Nick Kledzik <kledzik@apple.com>
789
790 <rdar://problem/8308697> -preload should not have LINKEDIT segment
791 Added test case: unit-tests/test-cases/efi-basic
792
793 2010-09-02 Nick Kledzik <kledzik@apple.com>
794
795 <rdar://problem/8389578> trivial Objective-C app fails when using libLTO
796 Added test case: unit-tests/test-cases/lto-objc-image-info
797
798 2010-09-02 Nick Kledzik <kledzik@apple.com>
799
800 <rdar://problem/8384727> Add -reexport_symbols_list option to re-export certain symbols.
801 Added test case: unit-tests/test-cases/reexport_symbols_list
802
803 2010-09-01 Nick Kledzik <kledzik@apple.com>
804
805 <rdar://problem/7438246> LTO with 'dead code strip' can't ignore unused functions with undefined references
806 Add test case: unit-tests/test-cases/lto-dead_strip-unused
807
808 2010-09-01 Nick Kledzik <kledzik@apple.com>
809
810 Warn if unaligned ARM code is detected
811
812 2010-09-01 Nick Kledzik <kledzik@apple.com>
813
814 <rdar://problem/8383175> Mach-O linked by current linker don't load in VIrtualBox any more
815
816 2010-09-01 Nick Kledzik <kledzik@apple.com>
817
818 <rdar://problem/8304984> Linker should pick default visibility instead of warning about conflicts
819 Updated test case: unit-tests/test-cases/visibility-warning
820
821 2010-09-01 Nick Kledzik <kledzik@apple.com>
822
823 <rdar://problem/8249338> Enable new load commands
824
825 2010-09-01 Nick Kledzik <kledzik@apple.com>
826
827 <rdar://problem/8368679> Do not pass -demangle to ld_classic
828
829 2010-09-01 Nick Kledzik <kledzik@apple.com>
830
831 <rdar://problem/8336910> iOS 4.3 armv7 should be PIE by default
832 <rdar://problem/5472933> better error message for direct access to external globals when not linking read_only_relocs
833 <rdar://problem/7927510> linker does not error on direct (static) data references to a dylib symbol
834
835 -------- tagged ld64-117.11
836
837 2010-09-03 Nick Kledzik <kledzik@apple.com>
838
839 <rdar://problem/8385011> mask thumb bit off non lazy pointers content when parsing arm .o files
840
841 -------- tagged ld64-117.10
842
843 2010-08-26 Nick Kledzik <kledzik@apple.com>
844
845 <rdar://problem/8358084> 8F64 kills installtest devices
846 Don't clear thumb bit on pointers inside thumb functions if addend is negative
847
848 -------- tagged ld64-117.9
849
850 2010-08-25 Nick Kledzik <kledzik@apple.com>
851
852 <rdar://problem/8345038> no more audio because of broken thunk
853 Update of thumb22 b.w instruction was not clearing bits before or'ing in new ones
854
855 -------- tagged ld64-117.8
856
857 2010-08-25 Nick Kledzik <kledzik@apple.com>
858
859 <rdar://problem/8342028> prefetch abort in kernel mode: fault_addr=0xe58024e4
860 Don't set thumb bit on .long pointers in thumb functions that point to some offset in same function
861
862 -------- tagged ld64-117.7
863
864 2010-08-24 Nick Kledzik <kledzik@apple.com>
865
866 <rdar://problem/8346444> dyld-179.4 fails to link, assert in setLoadCommandsPadding()
867 Fix linker to always put __text first before other code-only sections
868
869 -------- tagged ld64-117.6
870
871 2010-08-23 Nick Kledzik <kledzik@apple.com>
872
873 <rdar://problem/8339702> ld no longer output static archive dependencies for dyld for B&I
874 Add test case unit-tests/test-cases/dependency-logging
875
876 -------- tagged ld64-117.5
877
878 2010-08-20 Nick Kledzik <kledzik@apple.com>
879
880 <rdar://problem/8309595> SWB: ld64-117.1 on 8F54: Assertion failed:
881 UTF16 CFStrings were not coalesced correctly when gcc built the .o files and the
882 last string in the __ustring section only had a single zero byte at the end.
883
884 -------- tagged ld64-117.4
885
886 2010-08-19 Nick Kledzik <kledzik@apple.com>
887
888 <rdar://problem/8326544> DTSJ1J105: SpringBoard crashes on boot
889 Fix order file to move aliases even when subsections_via_symbols it used
890 Update test case unit-tests/test-cases/order_file
891
892 2010-08-17 Nick Kledzik <kledzik@apple.com>
893
894 Fix resolver functions to survive ld -r.
895 Warn if resolver functions are made non-external.
896
897 2010-08-17 Nick Kledzik <kledzik@apple.com>
898
899 Make it an error for resolver functions to be used in anything but a dylib.
900
901 -------- tagged ld64-117.3
902
903 2010-08-17 Nick Kledzik <kledzik@apple.com>
904
905 Fix thumb resolver functions
906 Enable updward dylibs and symbol re-exports for iOS 4.2
907
908 2010-08-16 Nick Kledzik <kledzik@apple.com>
909
910 <rdar://problem/8308697> Latest ld no longer supports EFI -preload
911 Rearrange LINKEDIT chunks in -preload mode
912
913 -------- tagged ld64-117.2
914
915 2010-08-14 Nick Kledzik <kledzik@apple.com>
916
917 <rdar://problem/8308697> Latest ld no longer supports EFI -preload
918 Add LC_UNIXTHREAD to -preload
919
920 2010-08-14 Nick Kledzik <kledzik@apple.com>
921
922 <rdar://problem/8309530> SWB: ld64-117.1 on 8F54: Assertion failed: (categoryAtom->size() == Category<A>::size())
923 gcc-4.0 uses 'L' labels on categories. This merges them onto previous data and disable category optimzation
924
925 2010-08-14 Nick Kledzik <kledzik@apple.com>
926
927 <rdar://problem/8309917> SWB: ld64-117.1 on 8F54: bad category optimization
928 Disable category optimization for i386 and arm until further testing
929
930 2010-08-14 Nick Kledzik <kledzik@apple.com>
931
932 <rdar://problem/8309608> SWB: ld64-117.1 on 8F54: address not in any section
933 Handle pointer diff to stub for weak hidden function
934
935 2010-08-13 Nick Kledzik <kledzik@apple.com>
936
937 <rdar://problem/8308697> Latest ld no longer supports EFI -preload
938
939 -------- tagged ld64-117.1
940
941 2010-08-11 Nick Kledzik <kledzik@apple.com>
942
943 Make missing exported symbols a warning to help adoption of new linker
944
945 2010-08-11 Nick Kledzik <kledzik@apple.com>
946
947 Add ExternalRelocationsAtom<>::pointerReloc() to more easily support kext bundles
948
949 2010-08-09 Nick Kledzik <kledzik@apple.com>
950
951 <rdar://problem/8210380> SWB: ld64-116.2 fix branch to label-4
952
953 2010-08-09 Nick Kledzik <kledzik@apple.com>
954
955 <rdar://problem/8260073> Error with empty non_lazy_symbol_pointers section
956
957 2010-08-06 Nick Kledzik <kledzik@apple.com>
958
959 <rdar://problem/7977374> Add command line options to control symbol weak-def-bit on exported symbols
960
961 -------- tagged ld64-117
962
963 2010-07-28 Nick Kledzik <kledzik@apple.com>
964
965 <rdar://problem/8243431> split seg info wrong for x86_64 stub helpers
966
967 2010-07-26 Nick Kledzik <kledzik@apple.com>
968
969 <rdar://problem/8237436> __nlcatlist categories should not be optimized
970
971 2010-07-23 Nick Kledzik <kledzik@apple.com>
972
973 <rdar://problem/8179273> ld64 assertion on object file
974
975 2010-07-21 Nick Kledzik <kledzik@apple.com>
976
977 <rdar://problem/7435296> Reorder sections to reduce page faults in object files
978
979 2010-06-30 Nick Kledzik <kledzik@apple.com>
980
981 Support resolver functions in iOS dylibs
982
983 -------- tagged ld64-116.2
984
985 2010-06-30 Nick Kledzik <kledzik@apple.com>
986
987 <rdar://problem/8138287> C programs get objc GCness from dylibs
988 Update: unit-tests/test-cases/objc-gc-checks
989
990 -------- tagged ld64-116.1
991
992 2010-06-22 Nick Kledzik <kledzik@apple.com>
993
994 <rdar://problem/8111013> address range check should not apply to preload executables
995
996 2010-06-22 Nick Kledzik <kledzik@apple.com>
997
998 Warn instead of error when CPU_SUBTYPE_ARM_ALL .o files used.
999
1000 2010-06-22 Nick Kledzik <kledzik@apple.com>
1001
1002 Fix assert in objc category optimzation. Metaclass also has copy of propery list to update.
1003
1004 2010-06-22 Nick Kledzik <kledzik@apple.com>
1005
1006 Fix crash in -r mode with -alias.
1007
1008 -------- tagged ld64-116
1009
1010 2010-06-21 Nick Kledzik <kledzik@apple.com>
1011
1012 Add support for -ios_version_min as an alias for -iphoneos_version_min
1013
1014 2010-06-21 Nick Kledzik <kledzik@apple.com>
1015
1016 <rdar://problem/7687304> linker could merge method lists from class and its categories
1017 Added test case: unit-tests/test-cases/objc-category-optimize
1018 Added option: -no_objc_category_merging to disable
1019
1020 2010-06-21 Nick Kledzik <kledzik@apple.com>
1021
1022 <rdar://problem/8113877> i386 TLV PIC reloc content is negated
1023
1024 2010-06-15 Nick Kledzik <kledzik@apple.com>
1025
1026 Added better error messages and asserts for bad thread local object files
1027
1028 2010-06-09 Nick Kledzik <kledzik@apple.com>
1029
1030 <rdar://problem/8076986> 'rebase' makes timestamps invalid/unreadable for GDB
1031
1032 2010-06-09 Nick Kledzik <kledzik@apple.com>
1033
1034 <rdar://problem/7966333> executable has no debug symbols when compiled with LTO
1035 Added test case: unit-tests/test-cases/lto-object_path
1036
1037 2010-06-09 Nick Kledzik <kledzik@apple.com>
1038
1039 <rdar://problem/7702923> stop promoting hidden referenced dynamically symbols to global
1040 Updated test case: unit-tests/test-cases/main-stripped
1041
1042 2010-06-04 Nick Kledzik <kledzik@apple.com>
1043
1044 <rdar://problem/6144674> ER: individual symbol re-exports
1045 Added test case: unit-tests/test-cases/re-export-symbo
1046
1047 2010-06-03 Nick Kledzik <kledzik@apple.com>
1048
1049 <rdar://problem/7474224> add functions start info to LINKEDIT
1050 * Support added but not on by default. Use -function_starts to enable.
1051 * Added test case: unit-tests/test-cases/function-start
1052
1053 2010-06-02 Nick Kledzik <kledzik@apple.com>
1054
1055 <rdar://problem/5674241> ER: add load command for min OS version
1056 * Support added but not on by default. Use -version_load_command to enable.
1057
1058 2010-06-02 Nick Kledzik <kledzik@apple.com>
1059
1060 <rdar://problem/8040089> provide better undefined symbol error message
1061
1062 2010-05-28 Nick Kledzik <kledzik@apple.com>
1063
1064 * <rdar://problem/7780438> ld should also merge file attributes from lazy loaded archives
1065 * Move attribute gathering from InputFiles to Resolver
1066
1067 2010-05-28 Nick Kledzik <kledzik@apple.com>
1068
1069 * <rdar://problem/8038333> SWB: ld64-115.3: dylib on kext link line causes malformed kext
1070 * allow -static after -kext on command line
1071
1072 -------- tagged ld64-115.3
1073
1074 2010-05-26 Nick Kledzik <kledzik@apple.com>
1075
1076 * <rdar://problem/8024702> strip of .o files removes __objc_imageinfo section
1077 * Added test case: unit-tests/test-cases/dwarf-strip-objc
1078
1079 2010-05-25 Nick Kledzik <kledzik@apple.com>
1080
1081 * <rdar://problem/8023624> crash when parsing local vanilla reloc to weak def
1082
1083 -------- tagged ld64-115.2
1084
1085 2010-05-21 Nick Kledzik <kledzik@apple.com>
1086
1087 * <rdar://problem/8012536> switch back to using ld_classic for -static arm code
1088
1089
1090 2010-05-21 Nick Kledzik <kledzik@apple.com>
1091
1092 * <rdar://problem/8012549> warn instead of error when seg1addr is out of range for ARM
1093
1094
1095 2010-05-21 Nick Kledzik <kledzik@apple.com>
1096
1097 * <rdar://problem/8012526> fix -undefined dynamic_lookup -nodefaults to not error about missing dyld_stub_binder
1098
1099 -------- tagged ld64-115.1
1100
1101 2010-05-19 Nick Kledzik <kledzik@apple.com>
1102
1103 * Fix trie nodes for resolver functions to have second address be stub not helper
1104
1105 2010-05-19 Nick Kledzik <kledzik@apple.com>
1106
1107 * <rdar://problem/7996423> work around for old checksyms tools
1108 * Make i386 stub section named "__symbol_stub" instead of "__stubs"
1109
1110 2010-05-10 Nick Kledzik <kledzik@apple.com>
1111
1112 * <rdar://problem/7960396> linking with LTO prints "/tmp/lto.o"
1113
1114 -------- tagged ld64-115
1115
1116 2010-05-06 Nick Kledzik <kledzik@apple.com>
1117
1118 * <rdar://problem/7892392> linker loses x86_64 addend to 'L' symbols
1119 * properly handle addend to 'L' symbols that are ignored
1120
1121 2010-05-05 Nick Kledzik <kledzik@apple.com>
1122
1123 * rework min OS version parsing to enable the linker to handle unknown OS versions
1124
1125
1126 2010-05-05 Nick Kledzik <kledzik@apple.com>
1127
1128 * Implement magic section$start$xxx$yyyy and section$end$xxx$yyyy symbols
1129 * Implement magic segment$start$xxx and segment$end$xxx symbols
1130 * Add test case: unit-tests/test-cases/segment-labels
1131
1132
1133 2010-05-03 Nick Kledzik <kledzik@apple.com>
1134
1135 * <rdar://problem/7173071> implement optional demangling in linker
1136 * Add option: -demangle
1137 * Add test case: unit-tests/test-cases/demangle
1138
1139
1140 2010-05-03 Nick Kledzik <kledzik@apple.com>
1141
1142 * <rdar://problem/7931759> ld64 doesn't grok the modern-objc-ABI-on-i386
1143 * Add support for -objc_abi_version command line option
1144 * Added test case: unit-tests/test-cases/objc-abi
1145
1146
1147 2010-05-03 Nick Kledzik <kledzik@apple.com>
1148
1149 * <rdar://problem/7929974> -alias does not work with __OBJC sections
1150 * sort contents of sections with aliases
1151 * Added test case: unit-tests/test-cases/objc-class-alias
1152
1153
1154 2010-04-28 Nick Kledzik <kledzik@apple.com>
1155
1156 * <rdar://problem/4966836> Feature: Thread local storage
1157 * Add test case: unit-tests/test-cases/tlv-basic
1158 * Add test case: unit-tests/test-cases/tlv-dylib
1159
1160
1161 2010-04-27 Nick Kledzik <kledzik@apple.com>
1162
1163 * <rdar://problem/4383612> Accelerate needs way to dispatch based on instruction execution time characteristics.
1164 * Add support for "symbol resolver" functions
1165 * Add test case unit-tests/test-cases/symbol-resolver-basic
1166
1167
1168 2010-04-26 Nick Kledzik <kledzik@apple.com>
1169
1170 * <rdar://problem/7711820> range check fat archives
1171 * check that fat file slice being used does not extend beyond end of file
1172 * check that member being used does not extend beyond end of slice/file
1173
1174 2010-04-26 Nick Kledzik <kledzik@apple.com>
1175
1176 * <rdar://problem/7666015> The documentation for the -allowable_client option doesn't say enough about it
1177
1178 2010-04-26 Nick Kledzik <kledzik@apple.com>
1179
1180 * <rdar://problem/7854068> back out LD_NO_PIE
1181
1182 2010-04-22 Nick Kledzik <kledzik@apple.com>
1183
1184 * <rdar://problem/7831043> More ICU make check failures with 0-terminated UTF16 strings
1185 * Change UTF16StringSection to break into atoms just on label boundaries
1186 * Added test case: unit-tests/test-cases/utf16-nul
1187
1188
1189 -------- tagged ld64-114.12
1190
1191 2010-04-14 Nick Kledzik <kledzik@apple.com>
1192
1193 * <rdar://problem/7811357> Crash with messed up BNSYM
1194
1195
1196 2010-04-07 Nick Kledzik <kledzik@apple.com>
1197
1198 * Fix crash with blank dylib stubs
1199
1200 -------- tagged ld64-114.11
1201
1202 2010-04-07 Nick Kledzik <kledzik@apple.com>
1203
1204 * <rdar://problem/7798495> for ppc, add split-seg info for TEXT pointers to DATA
1205
1206
1207 2010-04-07 Nick Kledzik <kledzik@apple.com>
1208
1209 * <rdar://problem/7831379> Cannot build ppc64 target with ObjC code
1210
1211
1212 2010-04-01 Nick Kledzik <kledzik@apple.com>
1213
1214 * let .exp files override auto-hide so that they can be exported if needed
1215
1216
1217 2010-04-01 Nick Kledzik <kledzik@apple.com>
1218
1219 * <rdar://problem/6783167> support auto hidden weak symbols: .weak_def_can_be_hidden
1220 * added test case: unit-tests/test-cases/weak-def-auto-hide
1221
1222
1223 2010-04-01 Nick Kledzik <kledzik@apple.com>
1224
1225 * <rdar://problem/7818475> 'l' symbols not being automatically removed
1226
1227
1228 2010-03-31 Nick Kledzik <kledzik@apple.com>
1229
1230 * <rdar://problem/7808258> weak defs should not cause indirection in static executables
1231 * Update test case: unit-tests/test-cases/static-executable-weak-defines
1232
1233 -------- tagged ld64-114.10
1234
1235 2010-03-31 Nick Kledzik <kledzik@apple.com>
1236
1237 * <rdar://problem/7735120> assert with .o file with two LSDA sections
1238
1239
1240 -------- tagged ld64-114.9
1241
1242 2010-03-30 Nick Kledzik <kledzik@apple.com>
1243
1244 * <rdar://problem/7791161> L4 locks up starting a second processor, works fine with old linker
1245 * properly get addend from content in x86_64 substractor when target is direct
1246
1247
1248 2010-03-29 Nick Kledzik <kledzik@apple.com>
1249
1250 * <rdar://problem/7805172> ld should excludes debug notes when computing UUID
1251 * added test case: unit-tests/test-cases/dwarf-debug-notes-uuid
1252
1253 -------- tagged ld64-114.8
1254
1255 2010-03-26 Nick Kledzik <kledzik@apple.com>
1256
1257 * <rdar://problem/7788474> __objc_catlist section loses don't dead strip bit in ld -r mode
1258 * Update test case unit-tests/test-cases/static-executable
1259
1260 -------- tagged ld64-114.7
1261
1262 2010-03-25 Nick Kledzik <kledzik@apple.com>
1263
1264 * <rdar://problem/7796313> Support LD_NO_PIE again
1265
1266 2010-03-25 Nick Kledzik <kledzik@apple.com>
1267
1268 * <rdar://problem/7765885> Rosetta crashes on launch in 11A133a
1269 * Fix -segaddr __TEXT to cause other floating segments to be contiguous with TEXT
1270
1271 2010-03-24 Nick Kledzik <kledzik@apple.com>
1272
1273 * <rdar://problem/7786326> Page Zero segment seems to be getting dead stripped
1274
1275 2010-03-24 Nick Kledzik <kledzik@apple.com>
1276
1277 * <rdar://problem/7785574> kernel sdt dtrace probes not visible
1278
1279 -------- tagged ld64-114.6
1280
1281 2010-03-23 Nick Kledzik <kledzik@apple.com>
1282
1283 * <rdar://problem/7783918> new linker makes dylibs with no __text section, causing codesign_allocate tool to fail
1284 * make sure there is always a __text section in dylibs and bundles
1285
1286 -------- tagged ld64-114.5
1287
1288 2010-03-22 Nick Kledzik <kledzik@apple.com>
1289
1290 * <rdar://problem/7767311> missing __objc_imageinfo section
1291 * Real fix will be in 7780438. For now have Resolver also accumulate objc constraint info
1292
1293
1294 2010-03-19 Nick Kledzik <kledzik@apple.com>
1295
1296 * <rdar://problem/7772740> ld64-114 does not error on missing exported symbols with -dead_strip
1297
1298 -------- tagged ld64-114.4
1299
1300 2010-03-16 Nick Kledzik <kledzik@apple.com>
1301
1302 * <rdar://problem/7762146> dyld missing LC_ID_DYLINKER
1303
1304 -------- tagged ld64-114.3
1305
1306 2010-03-15 Nick Kledzik <kledzik@apple.com>
1307
1308 * force i386 kexts to be built with ld_classic
1309 * preserve 'l' labels in static executables
1310 * sync section offsets and addresses in segments with command line addresses
1311
1312
1313 -------- tagged ld64-114.2
1314
1315 2010-03-13 Nick Kledzik <kledzik@apple.com>
1316
1317 * <rdar://problem/7751930> ld64-114 generates x86_64 kext external call sites with incorrect addend
1318
1319 -------- tagged ld64-114.1
1320
1321 2010-03-12 Nick Kledzik <kledzik@apple.com>
1322
1323 * Fix dyldinfo tool to correct show ordinal info for classic linkedit
1324
1325 2010-03-12 Nick Kledzik <kledzik@apple.com>
1326
1327 <rdar://problem/7748047> ld64-114 is causing read_only_reloc verification errors for ppc
1328 * Update machochecker to check this.
1329
1330 -------- tagged ld64-114
1331
1332 2010-03-11 Nick Kledzik <kledzik@apple.com>
1333
1334 * <rdar://problem/7744174> i386 dylibs built with ld64-112 cause runtime errors when incorporated into the dyld shared cache
1335 * Add -shared_region option to dyldinfo tool
1336
1337 -------- tagged ld64-113
1338
1339 2010-03-11 Nick Kledzik <kledzik@apple.com>
1340
1341 * Allow CPU_SUBTYPE_ARM_ALL .o files to be linked into any arm arch linkage
1342
1343 2010-03-11 Nick Kledzik <kledzik@apple.com>
1344
1345 <rdar://problem/7741238> ld64-112 with -undefined dynamic_lookup marks all symbols as being flat
1346 * update test case at: unit-tests/test-cases/undefined-dynamic-lookup
1347
1348 2010-03-10 Nick Kledzik <kledzik@apple.com>
1349
1350 * prevent possible crash in warning about can't export hidden symbols
1351
1352 2010-03-10 Nick Kledzik <kledzik@apple.com>
1353
1354 * make sure split-info data is zero terminated
1355
1356 -------- tagged ld64-112
1357
1358 2010-03-09 Nick Kledzik <kledzik@apple.com>
1359
1360 * Never dead strip sections added with -sectcreate
1361 * Added test case: unit-tests/test-cases/sectcreate-dead_strip
1362
1363
1364 -------- tagged ld64-111
1365
1366 2010-03-03 Nick Kledzik <kledzik@apple.com>
1367
1368 * Add support for "-arch arm -force_cpusubtype_ALL" to keep gcc building
1369
1370 2010-03-02 Nick Kledzik <kledzik@apple.com>
1371
1372 * Add some checking to the use of upward dylibs
1373
1374 -------- tagged ld64-110
1375
1376 2010-03-01 Nick Kledzik <kledzik@apple.com>
1377
1378 * Don't coalesce cstrings across segments
1379
1380 2010-03-01 Nick Kledzik <kledzik@apple.com>
1381
1382 * Emulate previous linker bug where hidden symbols with dynamically-referenced
1383 bit were promoted to global.
1384 * Added test case: unit-tests/test-cases/unstrippable-symbols
1385
1386 -------- tagged ld64-109.1
1387
1388 2010-02-26 Nick Kledzik <kledzik@apple.com>
1389
1390 * Make sure building dyld results in a thread load command
1391
1392 -------- tagged ld64-109
1393
1394 2010-02-26 Nick Kledzik <kledzik@apple.com>
1395
1396 * Better sorting of zero-fill sections to preserve discovery order
1397 * Zero out file offsets in dynamic symbol table entries that are not used
1398
1399 2010-02-26 Nick Kledzik <kledzik@apple.com>
1400
1401 * Support pointer-diffs to zero sized atom in zero sized section
1402
1403 2010-02-25 Nick Kledzik <kledzik@apple.com>
1404
1405 * Add support for -r mode with ppc64
1406
1407 2010-02-25 Nick Kledzik <kledzik@apple.com>
1408
1409 * Handle multiple labels on the same coalesable literal by making an
1410 atom for each label, each with the same content.
1411 * Add test case: unit-tests/test-cases/literals-labels
1412
1413
1414 2010-02-25 Nick Kledzik <kledzik@apple.com>
1415
1416 * Handle old ppc .o files that have stubs to static functions
1417
1418 2010-02-25 Nick Kledzik <kledzik@apple.com>
1419
1420 * Add basic ppc64 support
1421
1422 2010-02-24 Nick Kledzik <kledzik@apple.com>
1423
1424 * Range check TOC entries in archives
1425
1426
1427 2010-02-23 Nick Kledzik <kledzik@apple.com>
1428
1429 * Fix spurious dylib re-export warnings that are just regular linkage cycles
1430
1431
1432 2010-02-23 Nick Kledzik <kledzik@apple.com>
1433
1434 * re-partition bits in mach_o::relocatable::Atom ivars to allow more functions per file
1435
1436
1437 2010-02-22 Nick Kledzik <kledzik@apple.com>
1438
1439 * re-partition bits in mach_o::relocatable::Atom ivars to allow more fixups per function
1440
1441
1442 2010-02-22 Nick Kledzik <kledzik@apple.com>
1443
1444 * Handle re-exported dylibs that are re-exported again
1445 * Added test case: unit-tests/test-cases/re-export-layers
1446
1447
1448 2010-02-22 Nick Kledzik <kledzik@apple.com>
1449
1450 * Properly handle X86_64_RELOC_SUBTRACTOR with non-external target symbol
1451
1452
1453 -------- tagged ld64-108
1454
1455 2010-02-17 Nick Kledzik <kledzik@apple.com>
1456
1457 * <rdar://problem/7658740> ER: Support upward dylib dependencies
1458 * Add test case: unit-tests/test-cases/dylib-upward
1459
1460
1461 2010-02-17 Nick Kledzik <kledzik@apple.com>
1462
1463 * <rdar://problem/7401775> ld(1) man page typo
1464 * <rdar://problem/7230340> Linker (ld) man page typo: "unredable" in -pagezero_size option description
1465 * <rdar://problem/7207483> Typo in ld(1) man page, "-x" option
1466 * <rdar://problem/6239264> man ld: Change "if" -> "is"
1467 * <rdar://problem/7393216> DOC: ld(1) mentions -dynamiclib when it means -dylib
1468
1469
1470 2010-02-17 Nick Kledzik <kledzik@apple.com>
1471
1472 * <rdar://problem/7625461> Wordsmith ld warning about missing directories
1473
1474
1475 2010-02-17 Nick Kledzik <kledzik@apple.com>
1476
1477 * Fix -umbrella to work when umbrella is a dylib instead of a framework
1478 * Add test case: unit-tests/test-cases/umbrella-dylib
1479
1480
1481 -------- tagged ld64-107
1482
1483 2010-02-16 Nick Kledzik <kledzik@apple.com>
1484
1485 * Fix bugs with -preload
1486
1487
1488 2010-02-16 Nick Kledzik <kledzik@apple.com>
1489
1490 * Fix dylib re-export cylce detection
1491
1492
1493 2010-02-16 Nick Kledzik <kledzik@apple.com>
1494
1495 * <rdar://problem/6018216> -ObjC not pulling in members with categories only
1496 * scan for non-zero __objc_catlist section in archive members when -ObjC is used
1497 * Added test case: unit-tests/test-cases/objc-category-archive
1498
1499
1500 2010-02-15 Nick Kledzik <kledzik@apple.com>
1501
1502 * <rdar://problem/7398610> ld glibly removes /dev/null
1503
1504
1505 2010-02-15 Nick Kledzik <kledzik@apple.com>
1506
1507 * <rdar://problem/7196255> Linker should be able to validate GC intentions
1508 * Add -objc_gc and -objc_gc_only. Error when used and RR based .o file is linked in
1509 * Update test case: unit-tests/test-cases/objc-gc-checks
1510
1511
1512 2010-02-15 Nick Kledzik <kledzik@apple.com>
1513
1514 * <rdar://problem/7421695> Linker should provide a way to mark binaries that support compaction
1515 * Added -objc_gc_compaction option
1516 * Update test case: unit-tests/test-cases/objc-gc-checks
1517
1518
1519 2010-02-15 Nick Kledzik <kledzik@apple.com>
1520
1521 * <rdar://problem/7546367> ER: Need a way to detect weak exports in dev tools
1522 * implement -warn_weak_exports
1523
1524 2010-02-15 Nick Kledzik <kledzik@apple.com>
1525
1526 * Add support for LD_DYLD_PATH
1527
1528
1529 2010-02-15 Nick Kledzik <kledzik@apple.com>
1530
1531 * <rdar://problem/7636072> cfstring backing store points to global cstring
1532 * Force all by-name references in cfstring to be direct references
1533 * add test case: unit-tests/test-cases/cfstring-and-cstring
1534
1535
1536 -------- tagged ld64-106
1537
1538 2010-02-12 Nick Kledzik <kledzik@apple.com>
1539
1540 * <rdar://problem/7644673> Assertion failed: when class is translation unit scoped
1541 * added test case unit-tests/test-cases/objc-visibility
1542
1543
1544 2010-02-12 Nick Kledzik <kledzik@apple.com>
1545
1546 * <rdar://problem/7644828> crash with missing crt?
1547
1548
1549 2010-02-12 Nick Kledzik <kledzik@apple.com>
1550
1551 * Suppress indirect symbol table in static executables
1552
1553
1554 2010-02-12 Nick Kledzik <kledzik@apple.com>
1555
1556 * Rework CIE parsing to work with icc generated code
1557
1558
1559 2010-02-11 Nick Kledzik <kledzik@apple.com>
1560
1561 * Fix creation of debug notes
1562 * Tweak unit-tests/test-cases/dwarf-debug-notes to match llvm symbol layout
1563
1564
1565 2010-02-11 Nick Kledzik <kledzik@apple.com>
1566
1567 * Don't assert when infering ppc subtype that is ALL.
1568 * Fix spurious warning about mismatched subtypes, when subtype is inferred
1569
1570
1571 -------- tagged ld64-105
1572
1573 2010-02-11 Nick Kledzik <kledzik@apple.com>
1574
1575 * Use symbolic constants for bit field sizes
1576
1577
1578 2010-02-10 Nick Kledzik <kledzik@apple.com>
1579
1580 * Handle out of order sections in .o files
1581
1582
1583 -------- tagged ld64-104
1584
1585 2010-02-10 Nick Kledzik <kledzik@apple.com>
1586
1587 * Rename __tentative internal section name to __comm/tent to sort like __common
1588 * Fix test case in unit-tests/test-cases/tentative-to-real-r
1589
1590
1591 2010-02-10 Nick Kledzik <kledzik@apple.com>
1592
1593 * Better warning messages about mismatched architectures
1594
1595
1596 2010-02-10 Nick Kledzik <kledzik@apple.com>
1597
1598 * Gracefully ignore if there are >8000 line info per function in debug info
1599
1600
1601 2010-02-10 Nick Kledzik <kledzik@apple.com>
1602
1603 * Properly handle when regular definition is weak_imported
1604 * Add unit-tests/test-cases/weak_import-local
1605
1606
1607 2010-02-10 Nick Kledzik <kledzik@apple.com>
1608
1609 * Don't try to coalesce zero length cstrings in mach-o parser.
1610
1611
1612 2010-02-10 Nick Kledzik <kledzik@apple.com>
1613
1614 * Add work around for llvm using L labels for backing string of CFString with -fwritable-strings
1615
1616
1617 2010-02-09 Nick Kledzik <kledzik@apple.com>
1618
1619 * Ignore labels in __gcc_except_tab section
1620 * Properly apply local relocations to __eh_frame section so CFI parser works
1621 * Update unit-tests/test-cases/eh-stripped-symbols to reproduce problem
1622
1623
1624 2010-02-09 Nick Kledzik <kledzik@apple.com>
1625
1626 * Fix file offset computation with large zero-fill sections
1627
1628
1629 2010-02-09 Nick Kledzik <kledzik@apple.com>
1630
1631 * Force global 'l' to be hidden
1632 * Add test case with objc properties: unit-tests/test-cases/objc-properties
1633
1634
1635 -------- tagged ld64-103
1636
1637 2010-02-04 Nick Kledzik <kledzik@apple.com>
1638
1639 * Temporarily change assert() to call exit(1) instead of abort()
1640
1641
1642 2010-02-04 Nick Kledzik <kledzik@apple.com>
1643
1644 * Fix another case in -r mode where the vmsize was less that filesize
1645
1646
1647 2010-02-04 Nick Kledzik <kledzik@apple.com>
1648
1649 * Fix assert when generating GSYM stab debug notes
1650
1651
1652 2010-02-04 Nick Kledzik <kledzik@apple.com>
1653
1654 * Add SRCROOT to crash logs
1655
1656
1657 2010-02-04 Nick Kledzik <kledzik@apple.com>
1658
1659 * Remove architectureName() from InputFiles
1660
1661
1662 -------- tagged ld64-102
1663
1664 2010-02-03 Nick Kledzik <kledzik@apple.com>
1665
1666 * Add follow-on reference from symbol text atom to non-symboled text atom
1667
1668
1669 -------- tagged ld64-101
1670
1671 2010-01-29 Nick Kledzik <kledzik@apple.com>
1672
1673 * fix -alias symbols to be global by default
1674
1675
1676 -------- tagged ld64-100
1677
1678 2010-01-28 Nick Kledzik <kledzik@apple.com>
1679
1680 * Merge new/refactored linker to trunk
1681