]> git.saurik.com Git - apple/ld64.git/blame - ChangeLog
ld64-84.1.2.tar.gz
[apple/ld64.git] / ChangeLog
CommitLineData
d696c285 1
2f2f92e4 2----- Tagged ld64-84.1.2
183622f6 3
2f2f92e4 42008-04-09 Nick Kledzik <kledzik@apple.com>
a61fdf0a 5
2f2f92e4
A
6 <rdar://problem/5852023> -undefined dynamic_lookup busted
7 * src/ld.cpp: don't create proxy atom when scanning for dylib duplicates
8 * unit-tests/test-cases/tentative-and-archive: use -undefined dynamic_lookup
a61fdf0a 9
2f2f92e4 10----- Tagged ld64-84.1
a61fdf0a 11
2f2f92e4 122008-03-28 Nick Kledzik <kledzik@apple.com>
a61fdf0a 13
2f2f92e4
A
14 <rdar://problem/5720961> ld should prefer architecture-specific variant over generic in fat object file
15 * src/Options.cpp: fully process -arch arguments into fArchitecture and fSubArchitecture
16 * src/ld.cpp: when -arch with a subtype is used, try to find the exact subtype from fat files
17 * unit-tests/test-cases/cpu-sub-types-preference: added test cases for arm and ppc
18
a61fdf0a 19
2f2f92e4 20----- Tagged ld64-84
a61fdf0a 21
2f2f92e4 222008-03-28 Nick Kledzik <kledzik@apple.com>
a61fdf0a 23
2f2f92e4 24 * src/LTOReader.hpp: don't print lto version, if lto is unavailable
a61fdf0a
A
25
26
2f2f92e4 272008-03-26 Nick Kledzik <kledzik@apple.com>
a61fdf0a 28
2f2f92e4
A
29 <rdar://problem/5575399> Add LD_WARN_COMMONS to BigBear builds
30 * src/Options.cpp: Add support for LD_WARN_FILE which copies all warnings to a side file
a61fdf0a
A
31
32
2f2f92e4 332008-03-26 Nick Kledzik <kledzik@apple.com>
a61fdf0a 34
2f2f92e4
A
35 <rdar://problem/5797713> Need encryption tag in mach-o file
36 <rdar://problem/5811920> linker should adjust arm final linked images so __text is never on the same page as the load commands
37 * src/MachOFileAbstraction.hpp: add support for encryption_info_command
38 * src/Options.cpp: add support for LD_NO_ENCRYPT and -no_encryption
39 * src/MachOWriterExecutable.hpp: add EncryptionLoadCommandsAtom
40 * src/machochecker.cpp: validate LC_ENCRYPTION_INFO
a61fdf0a
A
41
42
2f2f92e4 432008-03-25 Nick Kledzik <kledzik@apple.com>
a61fdf0a 44
2f2f92e4
A
45 <rdar://problem/5712533> ld64 does not recognize LLVM bitcode archive files
46 * src/MachOReaderArchive.hpp: renamed to src/ArchiveReader.hpp
47 * src/ArchiveReader.hpp: sniff each member and instantiate correct reader
48 * src/ld.cpp: rename mach_o::archive::Reader to archive::Reader
49 * ld64.xcodeproj/project.pbxproj: rename MachOReaderArchive.hpp to ArchiveReader.hpp
50 * unit-tests/test-cases/llvm-integration: added test case
a61fdf0a
A
51
52
2f2f92e4 532008-03-25 Nick Kledzik <kledzik@apple.com>
a61fdf0a 54
2f2f92e4
A
55 <rdar://problem/5771658> ld64 should switch to new libLTO.dylib interface
56 <rdar://problem/5675690> Produce llvm bc file in 'ld -r' mode if all .o files are llvm bc
57 * src/LTOReader.hpp: rewrite from LLVMReader.hpp to use new lto_* C interface
58 * unit-tests/test-cases/llvm-integration: update and comment
59 * ld64.xcodeproj/project.pbxproj: update to lazy load libLTO.dylib
60 * src/ld.cpp: rework and simplify Linker::optimize()
61 * src/ObjectDump.cpp: Add -nm option
a61fdf0a
A
62
63
2f2f92e4 642008-03-25 Nick Kledzik <kledzik@apple.com>
a61fdf0a 65
2f2f92e4
A
66 * src/MachOReaderRelocatable.cpp: Fix some .objc_class_name_ off by one problem
67 * src/MachOWriterExecutable.cpp: Fix some .objc_class_name_ off by one problem
a61fdf0a 68
a61fdf0a 69
2f2f92e4 702008-03-24 Nick Kledzik <kledzik@apple.com>
a61fdf0a 71
2f2f92e4
A
72 <rdar://problem/5814613> Xcode 3.1 breaks linkage of libgcj.9.dylib from gcc 4.3.0
73 * src/MachOWriterExecutable.cpp: Make sure all ivars in Writer are initialized.
a61fdf0a 74
a61fdf0a 75
2f2f92e4 762008-03-21 Nick Kledzik <kledzik@apple.com>
a61fdf0a 77
2f2f92e4 78 * src/Options.cpp: warn if -seg1addr value is not page aligned
a61fdf0a
A
79
80
2f2f92e4 812008-03-21 Nick Kledzik <kledzik@apple.com>
a61fdf0a 82
2f2f92e4
A
83 <rdar://problem/5806437> Move ARM support outside of __OPEN_SOURCE__
84 * src/ld.cpp: remove __OPEN_SOURCE__ around arm support
85 * src/LLVMReader.hpp: remove __OPEN_SOURCE__ around arm support
86 * src/MachOReaderDylib.hpp: remove __OPEN_SOURCE__ around arm support
87 * src/ObjectFile.h: remove __OPEN_SOURCE__ around arm support
88 * src/MachOReaderRelocatable.hpp: remove __OPEN_SOURCE__ around arm support
89 * src/OpaqueSection.hpp: Cover arm support inside __OPEN_SOURCE__ macro check
90 * src/MachOWriterExecutable.hpp: remove __OPEN_SOURCE__ around arm support
91 * src/ObjectDump.cpp: remove __OPEN_SOURCE__ around arm support
92 * ld64.xcodeproj/project.pbxproj: remove ARM_SUPPORT from config.h
a61fdf0a
A
93
94
2f2f92e4 95----- Tagged ld64-83.2
a61fdf0a 96
2f2f92e4 972008-03-15 Nick Kledzik <kledzik@apple.com>
a61fdf0a 98
2f2f92e4
A
99 <rdar://problem/5801620> ld64-83 removes OBJC_CLASS_$ symbols from projects, causes catastrophic results
100 * src/Options.cpp: restore "case CPU_TYPE_ARM" in switch statement for .objc_class symbols in .exp files
101 * unit-tests/test-cases/objc-exported_symbols_list: added test case
a61fdf0a 102
a61fdf0a 103
2f2f92e4 104----- Tagged ld64-83.1
a61fdf0a 105
2f2f92e4 1062008-03-14 Nick Kledzik <kledzik@apple.com>
a61fdf0a 107
2f2f92e4
A
108 <rdar://problem/5800466> -iphone_version_min ==> -iphoneos_version_min
109 * src/Options.cpp: support -iphoneos_version_min as well
a61fdf0a
A
110
111
2f2f92e4 112----- Tagged ld64-83
a61fdf0a 113
2f2f92e4 1142008-03-10 Nick Kledzik <kledzik@apple.com>
a61fdf0a 115
2f2f92e4
A
116 <rdar://problem/5791543> ld needs to strip iphone_version_min option if invoking ld_classic
117 * src/Options.cpp: suppress -iphone_version_min from being passed to ld_classic
a61fdf0a 118
a61fdf0a 119
2f2f92e4 1202008-03-04 Nick Kledzik <kledzik@apple.com>
a61fdf0a 121
2f2f92e4
A
122 <rdar://problem/4171253> ADOBE XCODE: Linker option to lazy load frameworks (cause dyld is too slow)
123 * src/MachOWriterExecutable.hpp: create lazy stubs and LC_LAZY_LOAD_DYLIB for lazy load dylibs
124 * src/Options.cpp: support -lazy-l, -lazy_library, and -lazy_framework
125 * src/MachOFileAbstraction.hpp: add LC_LAZY_LOAD_DYLIB and S_LAZY_DYLIB_SYMBOL_POINTERS until in cctools
126 * src/MachOReaderDylib.hpp: add isLazyLoadedDylib()
127 * src/ld.cpp: pass lazy helper atom to writer
128 * doc/man/man1/ld.1: document new options
129 * unit-tests/test-cases/lazy-dylib-objc: add test case
130 * unit-tests/test-cases/lazy-dylib: add test case
a61fdf0a
A
131
132
2f2f92e4 133----- Tagged ld64-82.7
a61fdf0a 134
2f2f92e4 1352008-03-07 Nick Kledzik <kledzik@apple.com>
a61fdf0a 136
2f2f92e4
A
137 <rdar://problem/5787149> duplicate symbol literal-pointer@__OBJC@__message_refs@...
138 * src/MachOReaderRelocatable.hpp: AnonymousAtom from S_LITERAL_POINTERS section should be weak
139 * unit-tests/test-cases/objc-selector-coalescing: added test case
a61fdf0a 140
a61fdf0a 141
2f2f92e4 142----- Tagged ld64-82.6
a61fdf0a 143
2f2f92e4 1442008-03-04 Nick Kledzik <kledzik@apple.com>
a61fdf0a 145
2f2f92e4
A
146 <rdar://problem/5779681> ld crashes building XsanFS for Snow Leopard Builds
147 * src/ld.cpp: add bool dylibsOnly parameter to addJustInTimeAtoms()
148 * unit-tests/test-cases/tentative-and-archive: added test case
a61fdf0a 149
2f2f92e4 1502008-03-04 Nick Kledzik <kledzik@apple.com>
a61fdf0a 151
2f2f92e4
A
152 <rdar://problem/5775822> ld64 should not force building with gcc 4.0
153 * ld64.xcodeproj/project.pbxproj: change rules to use "system" compiler instead of 4.0
a61fdf0a
A
154
155
2f2f92e4 1562008-02-29 Nick Kledzik <kledzik@apple.com>
a61fdf0a 157
2f2f92e4
A
158 <rdar://problem/5774730> Simulator frameworks are being build split-seg and not prebound
159 * src/Options.cpp: only splitseg if prebound
a61fdf0a
A
160
161
2f2f92e4 1622008-02-29 Nick Kledzik <kledzik@apple.com>
a61fdf0a 163
2f2f92e4
A
164 <rdar://problem/5774231> Linker should not make GSYM debug note for .objc_category_* symbols
165 * src/ld.cpp: suppress GSYM debug notes for absolute symbols
166 * unit-tests/test-cases/objc-category-debug-notes: added test case
a61fdf0a 167
a61fdf0a 168
2f2f92e4 1692008-02-29 Nick Kledzik <kledzik@apple.com>
a61fdf0a 170
2f2f92e4
A
171 <rdar://problem/5768970> non-ASCII CFString support is broken
172 * src/MachOReaderRelocatable.hpp: only name and coalesce cfstring constants if they use a __cstring
173 * unit-tests/test-cases/cfstring-utf16: add test case
a61fdf0a 174
a61fdf0a 175
2f2f92e4 1762008-02-25 Nick Kledzik <kledzik@apple.com>
a61fdf0a 177
2f2f92e4
A
178 <rdar://problem/5366363> ld -r -x
179 * doc/man/man1/ld.1: update man page to explain -r -x produces auto-stripped labels
a61fdf0a 180
a61fdf0a 181
2f2f92e4 182----- Tagged ld64-82.5
a61fdf0a 183
2f2f92e4 1842008-02-12 Nick Kledzik <kledzik@apple.com>
a61fdf0a 185
2f2f92e4
A
186 <rdar://problem/5738023> x86_64: -stack_size failure when large __bss is used
187 * src/ld.cpp: only move section already in __DATA segment to new __huge section
188 * unit-tests/test-cases/stack_size_no_addr: updated test case to add large bss section
a61fdf0a
A
189
190
2f2f92e4 191----- Tagged ld64-82.4
a61fdf0a 192
2f2f92e4 1932008-02-06 Nick Kledzik <kledzik@apple.com>
a61fdf0a 194
2f2f92e4
A
195 <rdar://problem/5726215> comdat warnings with ld -r of C++ .o files
196 * unit-tests/test-cases/eh-coalescing-r: added test case
197 * src/ld.cpp: in ld -r mode don't warn about if .eh symbols are not static
a61fdf0a
A
198
199
2f2f92e4 2002008-02-06 Devang Patel <dpatel@apple.com>
a61fdf0a 201
2f2f92e4
A
202 <rdar://problem/5724990> LTO of Bom framework with -dead_strip causes ld(1) crash
203 * src/LLVMReader.hpp: Check fAtom while determining LLVMReference target binding.
204 * unit-tests/test-cases/llvm-integration/Makefile: Add new test case.
205 * unit-tests/test-cases/llvm-integration/a15.c: New.
206 * unit-tests/test-cases/llvm-integration/b15.c: New.
207 * unit-tests/test-cases/llvm-integration/c15.c: New.
a61fdf0a 208
2f2f92e4 2092008-02-05 Nick Kledzik <kledzik@apple.com>
a61fdf0a 210
2f2f92e4 211 * src/ld.cpp: fix for -arch ppc -mdynamic-no-pic -pie so PPC_RELOC_HA16 reloc is used
a61fdf0a 212
2f2f92e4 213----- Tagged ld64-82.3
a61fdf0a 214
2f2f92e4 2152008-02-04 Nick Kledzik <kledzik@apple.com>
a61fdf0a 216
2f2f92e4
A
217 <rdar://problem/5721186> ld doesn't seem to understand $ld$add$os... and $ld$hide$os... for 10.6 moves
218 * src/ObjectFile.h: add 10.6
219 * src/Options.cpp: add 10.6 support
220 * src/MachOReaderDylib.hpp: recognize $os10.6$
a61fdf0a
A
221
222
2f2f92e4 223----- Tagged ld64-82.2
a61fdf0a 224
2f2f92e4 2252008-01-30 Devang Patel <dpatel@apple.com>
a61fdf0a 226
2f2f92e4
A
227 <rdar://problem/5714833> Can't build 64-bit Intel binaries with LTO
228 <rdar://problem/5714787> ld64 fails to build with llvm-gcc-4.2
229 * src/LLVMReader.hpp: Fix character count typo in strncmp call.
230 Use const char * to initialize temp. string.
231 * ld64.xcodeproj/project.pbxproj: use $(DEVELOPER_DIR) in header search construction
232 instead of hard coding /Developer.
a61fdf0a 233
2f2f92e4 234----- Tagged ld64-82.1
a61fdf0a 235
2f2f92e4 2362008-01-23 Nick Kledzik <kledzik@apple.com>
a61fdf0a 237
2f2f92e4 238 * src/MachOReaderRelocatable.hpp: don't bus error if S_LITERAL_POINTERS is missing relocs
a61fdf0a 239
a61fdf0a 240
2f2f92e4 2412008-01-22 Nick Kledzik <kledzik@apple.com>
a61fdf0a 242
2f2f92e4
A
243 <rdar://problem/5695496> ld uses 32-bits in some places to hold addresses when parsing 64-bit mach-o files
244 * src/MachOReaderRelocatable.hpp: use AddrToAtomMap type that switch address to 64-bits for 64-bit archs
245 * src/MachOWriterExecutable.hpp: verify BR14 does not overflow for external relocs
246 * unit-tests/test-cases/relocs-c: update test case to slide addresses to verify x86_64 .o files
a61fdf0a 247
a61fdf0a 248
2f2f92e4 249----- Tagged ld64-82
a61fdf0a 250
2f2f92e4 2512008-01-18 Nick Kledzik <kledzik@apple.com>
a61fdf0a 252
2f2f92e4
A
253 <rdar://problem/5694612> Bad grammar used in ld warning: cannot exported hidden symbol
254 * src/ld.cpp: fix typo in warning string
a61fdf0a
A
255
256
2f2f92e4 2572008-01-16 Nick Kledzik <kledzik@apple.com>
a61fdf0a 258
2f2f92e4
A
259 <rdar://problem/5565074> Bundle Loader does not work anymore when loader is a bundle
260 <rdar://problem/5590203> ld warns of incorrect architecture when linking a bundle to a bundle
261 * src/MachOReaderDylib.hpp: support linking against bundles via -bundle_loader. Clean up error messages
262 * unit-tests/test-cases/bundle_loader: update test case
263
a61fdf0a 264
2f2f92e4 2652008-01-16 Nick Kledzik <kledzik@apple.com>
a61fdf0a 266
2f2f92e4
A
267 <rdar://problem/5366363> ld -r -x creates debug notes (stabs) when it should not with -x (keep only global symbols)
268 * src/Options.cpp: in reconfigureDefaults() if -r and -x then -S
a61fdf0a
A
269
270
2f2f92e4 2712008-01-16 Nick Kledzik <kledzik@apple.com>
a61fdf0a 272
2f2f92e4
A
273 <rdar://problem/5566068> if ld crashes while writing output file, it should delete the half written file
274 * src/MachOWriterExecutable.hpp: wrap open/write/close in try block and add signal handlers all to delete
275 output file on failure.
a61fdf0a
A
276
277
2f2f92e4 2782008-01-16 Devang Patel <dpatel@apple.com>
a61fdf0a 279
2f2f92e4 280 * src/LLVMReader.hpp: Use __gnu_cxx::hash_map instead of hash supported by LLVM.
a61fdf0a
A
281
282
2f2f92e4 2832008-01-16 Nick Kledzik <kledzik@apple.com>
a61fdf0a 284
2f2f92e4
A
285 <rdar://problem/5593537> GC-supported library can't be linked into GC-required executable
286 * src/ld.cpp: loosen constraint that all objc code must be compiled with same GC settings and
287 allow gc-compatible code to be linked into anything.
288 * unit-tests/test-cases/objc-gc-checks: update test case
a61fdf0a
A
289
290
2f2f92e4 2912008-01-15 Nick Kledzik <kledzik@apple.com>
a61fdf0a 292
2f2f92e4
A
293 <rdar://problem/5687976> no debug notes for custom named data
294 * src/ld.cpp: in synthesizeDebugNotes() check getSymbolTableInclusion() instead of for leading underscore
295 * unit-tests/test-cases/dwarf-debug-notes: update test case
a61fdf0a 296
2f2f92e4 297----- Tagged ld64-81.5
a61fdf0a 298
2f2f92e4 2992008-01-14 Devang Patel <dpatel@apple.com>
a61fdf0a 300
2f2f92e4
A
301 <rdar://problem/5683813> llvm-gcc-4.2 fails to build Sqlite 3.5.4 with -O4
302 * src/LLVMReader.hpp: Resolve proxy references. Collect new unbounded references
303 after optimization.
304 * src/ld.cpp: Resolve additional unbounded references after optimization.
a61fdf0a
A
305
306
2f2f92e4 3072008-01-14 Nick Kledzik <kledzik@apple.com>
a61fdf0a 308
2f2f92e4
A
309 <rdar://problem/5655246> PPC Leopard (Xcode 3.0) linker ld gets "Bus error" sometimes
310 * src/MachOReaderRelocatable.hpp: use same code as x86 to parse ppc and arm sect-diff relocs
311 * src/MachOWriterExecutable.hpp: use same code as x86 to write ppc and arm sect-diff relocs
a61fdf0a
A
312
313
2f2f92e4 3142008-01-11 Nick Kledzik <kledzik@apple.com>
a61fdf0a 315
2f2f92e4
A
316 <rdar://problem/5637618> PPC Leopard (Xcode 3.0) linker ld reports "unknown scattered relocation type 4"
317 * src/MachOReaderRelocatable.hpp: add PPC_RELOC_HI16 to scattered reloc parsing
318 * unit-tests/test-cases/relocs-asm/relocs-asm.s: added tests for scattered hi/lo instructions
a61fdf0a 319
a61fdf0a 320
2f2f92e4 3212008-01-11 Nick Kledzik <kledzik@apple.com>
a61fdf0a 322
2f2f92e4 323 * doc/man/man1/ld.1: add doc for -no_implicit_dylibs, -read_only_stubs, -slow_stubs, -interposable_list
a61fdf0a 324
a61fdf0a 325
2f2f92e4 3262008-01-11 Nick Kledzik <kledzik@apple.com>
a61fdf0a 327
2f2f92e4
A
328 <rdar://problem/4800212> ld64(1) man page uses ambiguous term "suffix"
329 * doc/man/man1/ld.1: make meaning of "suffix" more explicit
a61fdf0a
A
330
331
2f2f92e4 3322008-01-11 Nick Kledzik <kledzik@apple.com>
a61fdf0a 333
2f2f92e4
A
334 <rdar://problem/5633081> Obj-C Symbols in Leopard Can't Be Weak Linked
335 * src/MachOWriterExecutable.hpp: set weak and lazy attributes on dummy .objc_class_name undefines
336 to dylibs to support Mac OS X 10.3.x dyld
337
a61fdf0a 338
2f2f92e4 3392008-01-11 Nick Kledzik <kledzik@apple.com>
a61fdf0a 340
2f2f92e4
A
341 <rdar://problem/5669751> Unknown error with linker (dyld: unknown external relocation type)
342 * src/ld.cpp: fix crash when SO stabs are not balanced
a61fdf0a
A
343
344
2f2f92e4 3452008-01-11 Devang Patel <dpatel@apple.com>
a61fdf0a 346
2f2f92e4
A
347 <rdar://problem/5667433> LTO does not work if expected output is a dynamic library
348 * src/LLVMReader.hpp: Supply arguments describing output kind to optimizer. Communicate
349 visibility info.
a61fdf0a 350
2f2f92e4 3512000-01-10 Nick Kledzik <kledzik@apple.com>
a61fdf0a 352
2f2f92e4
A
353 <rdar://problem/5680988> __cls_refs section is losing S_LITERAL_POINTERS section type
354 * src/MachOWriterExecutable.hpp: special case __cls_refs section
355 * unit-tests/test-cases/objc-literal-pointers: add test case
a61fdf0a
A
356
357
2f2f92e4 3582008-01-03 Nick Kledzik <kledzik@apple.com>
a61fdf0a 359
2f2f92e4
A
360 <rdar://problem/5667688> wrong EH information might be used
361 Created new kGroupSubordinate reference kind to model group comdat. The "signature" atom
362 has kGroupSubordinate references to the other atoms in the group. If the signature atom
363 is coalesced away, the linker follows kGroupSubordinate references and throws away the
364 other members of the group.
365 * unit-tests/test-cases/eh-coalescing: added test case
366 * src/ld.cpp: added markDead() and use propagate to subordinates
367 * src/Architectures.hpp: added kGroupSubordinate
368 * src/MachOReaderRelocatable.hpp: add kGroupSubordinate reference from a function to its .eh atom
369 and if used, from .eh atom to its LSDA atom.
370 * src/MachOWriterExecutable.hpp: handle kGroupSubordinate like kNoFixUp
a61fdf0a 371
2f2f92e4 372----- Tagged ld64-81.4.1
a61fdf0a 373
2f2f92e4 3742007-12-19 Devang Patel <dpatel@apple.com>
a61fdf0a 375
2f2f92e4 376 * src/LLVMReader.hpp: Add LLVM_LTO_VERSION #ifdef check.
a61fdf0a 377
2f2f92e4 3782007-12-19 Devang Patel <dpatel@apple.com>
a61fdf0a 379
2f2f92e4 380 * src/LLVMReader.hpp: Add fOptimizer NULL check before calling printVersion().
a61fdf0a 381
2f2f92e4 3822007-12-19 Devang Patel <dpatel@apple.com>
a61fdf0a 383
2f2f92e4
A
384 <rdar://problem/5655956> print LLVM LTO version number in verbose mode
385 * src/LLVMReader.hpp: Add printLLVMVersion() to print llvm version string in verbose mode.
386 * src/Options.cpp: Use printLLVMVersion() in verbose mode.
a61fdf0a 387
2f2f92e4 3882007-12-19 Devang Patel <dpatel@apple.com>
a61fdf0a 389
2f2f92e4
A
390 <rdar://problem/5655956> print LLVM LTO version number in verbose mode
391 * src/Options.h: Add verbose() method to check fVerbose flag.
392 * src/LLVMReader.hpp: Print LLVM version string in verbose mode.
a61fdf0a 393
2f2f92e4 394----- Tagged ld64-81.4
a61fdf0a 395
2f2f92e4 3962007-12-18 Devang Patel <dpatel@apple.com>
a61fdf0a 397
2f2f92e4 398 * src/LLVMReader.hpp: Invalidate input architecture when optimizer is not available.
a61fdf0a 399
2f2f92e4 400----- Tagged ld64-81.3
a61fdf0a 401
2f2f92e4 4022007-12-17 Nick Kledzik <kledzik@apple.com>
a61fdf0a 403
2f2f92e4
A
404 * ld64.xcodeproj/project.pbxproj: remove extraneous header search paths
405
a61fdf0a 406
2f2f92e4 4072007-12-17 Devang Patel <dpatel@apple.com>
a61fdf0a 408
2f2f92e4
A
409 * src/LLVMReader.hpp: Do not throw exception if LLVMReader is not able to
410 dlopen LTO library. Instead just flag input file as an invalid LLVM bitcode file.
a61fdf0a 411
a61fdf0a 412
2f2f92e4 4132007-12-14 Nick Kledzik <kledzik@apple.com>
a61fdf0a 414
2f2f92e4
A
415 <rdar://problem/5645908> gcc DejaGnu failure: gcc.dg/20020312-2.c (test for excess errors) (-fstack-protector-all)
416 * src/MachOWriterExecutable.hpp: fix Writer<x86>::generatesExternalTextReloc() to allow text relocs
417 * unit-tests/test-cases/read-only-relocs: updated test case to link a dynamic main executable compiled with -static
a61fdf0a
A
418
419
2f2f92e4 4202007-12-14 Devang Patel <dpatel@apple.com>
a61fdf0a 421
2f2f92e4
A
422 <rdar://problem/5648438> Enable Link Time Optimization in Opal
423 * src/LLVMReader.hpp: Locate LLVMlto.dylib relative to ld location in Developer folder.
424 * ld64.xcodeproj/project.pbxproj: Add {DEVELOPER_DIR}/usr/include in header search path.
425 * unit-tests/run-all-unit-tests: Set DYLD_FALLBACK_LIBRARY_PATH to find LLVMlto.dylib during unit testing.
426 * unit-tests/testcases/llvm-integration/Makefile: Point LLVMGCC and LLVMGXX to llvm-gcc-4.2 in Developer folder during unit testing.
427
428
4292007-12-13 Nick Kledzik <kledzik@apple.com>
a61fdf0a 430
2f2f92e4
A
431 <rdar://problem/5645446> SWB: failures due to ld: pointer in read-only segment not allowed in slidable image, used in ...
432 * src/MachOReaderRelocatable.hpp: in Reader<x86>::addRelocReference() handle weak pc-rel 32-bit vanilla relocs properly
433
434----- Tagged ld64-81.2
86b84c30 435