]> git.saurik.com Git - apple/ld64.git/blame - ChangeLog
ld64-59.2.tar.gz
[apple/ld64.git] / ChangeLog
CommitLineData
d696c285 1
69a49097 2----- Tagged ld64-59
d696c285 3
69a49097 42006-06-22 Nick Kledzik <kledzik@apple.com>
d696c285 5
69a49097
A
6 <rdar://problem/4596726> ld64 lost DWARF debug notes
7 MachOReaderRelocatable.hpp: add fHasUUID so kDebugInfoStabsUUID can be set later
8 unit-tests/test-cases/dwarf-debug-notes-r: added test case
d696c285 9
69a49097 102006-06-21 Nick Kledzik <kledzik@apple.com>
d696c285 11
69a49097
A
12 <rdar://problem/4567995> python 64-bit address miscalculation
13 src/MachOReaderRelocatable.hpp: change getTargetOffset() to sign extend the 32-bit value to 64-bits
d696c285 14
69a49097 152006-06-21 Nick Kledzik <kledzik@apple.com>
d696c285 16
69a49097
A
17 <rdar://problem/4535036> ld64 seems to offset things incorrectly when using -r
18 src/MachOWriterExecutable.hpp: in -r mode, virtual sections don't increment address
d696c285 19
d696c285 20
69a49097 21----- Tagged ld64-58
d696c285 22
69a49097 232006-06-16 Nick Kledzik <kledzik@apple.com>
d696c285 24
69a49097
A
25 src/rebase.cpp: fix page alignment problem
26 src/rebase.cpp: fix endianess problem with local non-lazy pointers
d696c285 27
69a49097 282006-06-15 Nick Kledzik <kledzik@apple.com>
d696c285 29
69a49097
A
30 src/rebase.cpp: fix to build in CurryWeed
31 ld64.xcodeproj/project.pbxproj: fix to build properly in CurryWeed
d696c285 32
69a49097 332006-06-15 Nick Kledzik <kledzik@apple.com>
d696c285 34
69a49097
A
35 <rdar://problem/4495309> Support .objc_class_name_* symbols
36 src/ObjectFile.h: Add kSymbolTableInAsAbsolute
37 src/MachOReaderRelocatable.hpp: synthesize references to required objc classes
38 src/MachOWriterExecutable.hpp: write objc_class_name as absolute symbol
39 unit-tests/test-cases/objc-references: added
d696c285 40
69a49097 412006-06-15 Nick Kledzik <kledzik@apple.com>
d696c285 42
69a49097
A
43 <rdar://problem/4484369> SECTION_ATTRIBUTES unset in ppc64 mach-o header
44 src/MachOWriterExecutable.hpp: add section attribute for sections with code
d696c285 45
69a49097 462006-06-15 Nick Kledzik <kledzik@apple.com>
d696c285 47
69a49097
A
48 <rdar://problem/4569407> ld64 bogus duplicate symbol name linking GNU libobjc
49 src/MachOReaderRelocatable.hpp: only special case Apple's objc runtime objc classes
d696c285 50
69a49097 512006-06-15 Nick Kledzik <kledzik@apple.com>
d696c285 52
69a49097
A
53 <rdar://problem/4582999> x86_64: ".align" directive not honored
54 src/MachOReaderRelocatable.hpp: change code alignment to not depend on atom size
d696c285 55
69a49097 562006-06-14 Nick Kledzik <kledzik@apple.com>
d696c285 57
69a49097
A
58 <rdar://problem/4585335> jump table into middle of weak symbol causes error
59 src/MachOReaderRelocatable.hpp: create direct references to the interior of weak symbols
60 src/MachOWriterExecutable.hpp: don't error on absolute references to interior of weak symbols
d696c285 61
69a49097 622006-06-13 Nick Kledzik <kledzik@apple.com>
d696c285 63
69a49097 64 src/Options.cpp: allow -image_base as an alias for -seg1addr
d696c285 65
69a49097 662006-06-13 Nick Kledzik <kledzik@apple.com>
d696c285 67
69a49097
A
68 <rdar://problem/4585115> implement -d
69 src/Options.h: add fMakeTentativeDefinitionsReal
70 src/Options.cpp: set fMakeTentativeDefinitionsReal if -d option is found
71 src/MachOWriterExecutable.hpp: turn tentative into real definition if makeTentativeDefinitionsReal
72 unit-tests/test-cases/btentative-to-real: added test case
d696c285 73
69a49097 742006-06-13 Nick Kledzik <kledzik@apple.com>
d696c285 75
69a49097
A
76 <rdar://problem/4584355> implement -bundle_loader
77 src/Options.h: add fBundleLoader bit to DynamicLibraryOptions
78 src/Options.cpp: handle -bundle_loader
79 src/ld.cpp: pass fBundleLoader bit to MachOReaderDylib
80 src/MachOReaderDylib.hpp: support reading MH_EXECUTE files if fBundleLoader is set
81 src/MachOWriterExecutable.hpp: set bundle loader ordinal as EXECUTABLE_ORDINAL
82 unit-tests/test-cases/bundle_loader: added test case
d696c285 83
69a49097 842006-06-12 Nick Kledzik <kledzik@apple.com>
d696c285 85
69a49097
A
86 <rdar://problem/4583347> -syslibroot can cause "can't find ordinal for imported" error
87 src/MachOReaderDylib.hpp: in Reader::reExports() compare install path in addition to load path
d696c285 88
d696c285 89
69a49097 902006-06-10 Nick Kledzik <kledzik@apple.com>
d696c285 91
69a49097
A
92 <rdar://problem/4548935> Need rebasing tool
93 src/rebase.cpp: added
94 unit-tests/test-cases/rebase-basic: added
95 doc/man/man1/rebase.1: added
96 ld64.xcodeproj/project.pbxproj: added rebase target. changed all targets to build with dwarf
97
d696c285 98
69a49097 992006-06-10 Nick Kledzik <kledzik@apple.com>
d696c285 100
69a49097 101 src/machochecker.cpp: add some ppc reloc sanity checking
d696c285 102
69a49097 103----- Tagged ld64-57
d696c285 104
69a49097 1052006-06-06 Nick Kledzik <kledzik@apple.com>
d696c285 106
69a49097
A
107 <rdar://problem/4565088> ld64 is not adding a final '/' char on the initial directory-name SO stab debug map entry
108 ld.cpp: Change Linker::synthesizeStabs() to assure directory SO always has a trailing slash
109 unit-tests/test-cases/dwarf-debug-notes/expected-stabs: update with trailing /
110
1112006-06-06 Nick Kledzik <kledzik@apple.com>
d696c285 112
69a49097
A
113 <rdar://problem/4572702> -sectcreate of a 0-byte section fails
114 MachOWriterExecutable.cpp: Don't error out on zero length segments
115 MachOWriterExecutable.cpp: For ppc64 reloc base address is the first writable segment iff
116 there is a writable segment >4GB from base address
d696c285 117
69a49097 1182006-06-04 Eric Christopher <echristo@apple.com>
d696c285 119
69a49097
A
120 Radar 4560240
121 Radar 3964999
122 * src/ld.cpp (createReader): Fixed error message.
123 (resolve): Ditto.
124 (resolveFrom): Ditto.
125 (checkUndefines): Ditto.
d696c285 126
69a49097 127----- Tagged ld64-56
d696c285 128
69a49097 1292006-05-23 Nick Kledzik <kledzik@apple.com>
d696c285 130
69a49097
A
131 <rdar://problem/4558079> No debug notes for ObjC methods when linking with ld64
132 ld.cpp: don't limit debug notes to functions starting with underscore
d696c285 133
69a49097 1342006-05-22 Nick Kledzik <kledzik@apple.com>
d696c285 135
69a49097
A
136 <rdar://problem/4556982> ld64 spends much time in mach_o::relocatable::Reader<x86_64>::findAtomByName
137 * src/MachOReaderRelocatable.hpp: add makeReferenceToSymbol() so that x86_64 does not need to do by-name lookups
d696c285 138
69a49097 1392006-05-22 Nick Kledzik <kledzik@apple.com>
d696c285 140
69a49097
A
141 <rdar://problem/4535044> remove inferring warning
142 * ld.cpp: Remove "inferring" warning. If a link failed and now arch was specifed add which arch was
143 inferred to error message
d696c285 144
69a49097 1452006-05-19 Nick Kledzik <kledzik@apple.com>
d696c285 146
69a49097
A
147 <rdar://problem/4544001> ld64 does not honor -arch_multiple
148 * ld.cpp: If fOptions.printArchPrefix(), add architecture name to error message
d696c285 149
69a49097 1502006-05-19 Nick Kledzik <kledzik@apple.com>
d696c285 151
69a49097
A
152 <rdar://problem/4555973> Support S_16BYTE_LITERALS section types
153 * src/MachOReaderRelocatable.hpp: support S_16BYTE_LITERALS
154 * src/MachOWriterExecutable.hpp: support S_16BYTE_LITERALS
d696c285 155
69a49097 1562006-05-19 Nick Kledzik <kledzik@apple.com>
d696c285 157
69a49097
A
158 <rdar://problem/4548803> "warning can't parse dwarf compilation unit info" warnings building debug
159 * src/MachOReaderRelocatable.hpp: fix bugs in dwarf line table parsing
d696c285 160
69a49097 161----- Tagged ld64-55
d696c285 162
69a49097 1632006-05-18 Nick Kledzik <kledzik@apple.com>
d696c285 164
69a49097
A
165 <rdar://problem/4534339> Default the pagezero size to 4GB for x86-64
166 * src/Options.cpp: Chnage default the pagezero size to 4GB for x86-64
d696c285 167
69a49097 1682006-05-18 Nick Kledzik <kledzik@apple.com>
d696c285 169
69a49097
A
170 <rdar://problem/4552825> x86_64 CarbonCore fails to link with "atom not found in symbolIndex"
171 * src/MachOWriterExecutable.hpp: in buildObjectFileFixups() don't call addObjectRelocs() on kNoFixUp references
d696c285 172
69a49097 1732006-05-18 Nick Kledzik <kledzik@apple.com>
d696c285 174
69a49097
A
175 <rdar://problem/4553555> ld64: .section defaults to read-only
176 * src/MachOReaderRelocatable.hpp: default unknown segments to r/w
d696c285 177
69a49097 1782006-05-18 Nick Kledzik <kledzik@apple.com>
d696c285 179
69a49097
A
180 <rdar://problem/4551990> -fvisibility=hidden causes crashes for x86_64
181 * src/MachOWriterExecutable.hpp: properly handle RIP relative tentative definitions
d696c285 182
69a49097 1832006-05-12 Nick Kledzik <kledzik@apple.com>
d696c285 184
69a49097
A
185 * src/Architectures.hpp: add x86::kAbsolute32
186 * src/MachOReaderRelocatable.hpp: generate x86::kAbsolute32 for mdynamic-no-pic instructions
187 * src/MachOWriterExecutable.hpp: process x86::kAbsolute32 reference kind
d696c285 188
69a49097 189----- Tagged ld64-54
d696c285 190
69a49097 1912006-05-11 Nick Kledzik <kledzik@apple.com>
d696c285 192
69a49097
A
193 <rdar://problem/4545108> CF-393 failes to link for x86_64
194 * src/MachOWriterExecutable.cpp: fix sign extension for Rel32 relocs in Writer<x86_64>::fixUpReferenceRelocatable
d696c285 195
69a49097 1962006-05-11 Nick Kledzik <kledzik@apple.com>
d696c285 197
69a49097
A
198 <rdar://problem/4501434> warning arch x86_64 not found using i386
199 * src/ld.cpp: remove hack to allow x86_64 to link against i386 dylibs
d696c285 200
d696c285 201
69a49097 2022006-05-10 Nick Kledzik <kledzik@apple.com>
d696c285 203
69a49097
A
204 <rdar://problem/4543754> x86_64: .objc_class_name symbol names scrambled
205 * src/MachOReaderRelocatable.hpp: properly compute alignment of __OBJC __class sections
d696c285 206
d696c285 207
69a49097 2082006-05-08 Nick Kledzik <kledzik@apple.com>
d696c285 209
69a49097
A
210 <rdar://problem/3894083> Support -dead_strip
211 * src/Options.h/cpp: implement -why_load and -why_live. Enable -dead_strip.
212 * src/MachOReaderArchive.hpp: implement -why_load
213 * src/MachOReaderRelocatable.hpp: suppress GCC_except_table* symbols in final output
214 * src/ld.cpp: implement dead code stripping
215 * unit-tests/test-cases/dead_strip: added
d696c285 216
69a49097 217----- Tagged ld64-53
d696c285 218
69a49097 2192006-05-05 Nick Kledzik <kledzik@apple.com>
d696c285 220
69a49097 221 * src/Options.cpp: make 10.4 be minimum OS version for newer architectures
d696c285 222
69a49097 2232006-05-05 Nick Kledzik <kledzik@apple.com>
d696c285 224
69a49097
A
225 <rdar://problem/4147604> N_SO symbols in 64-bit builds have a zero address for n.n_value
226 * src/ld.cpp: for SO stabs, associate first and last atom in the SO range
227 * src/MachOWriterExecutable.hpp: use atom associated with SO stab to set ins n_value
d696c285 228
69a49097 2292006-05-05 Nick Kledzik <kledzik@apple.com>
d696c285 230
69a49097 231 * MachOWriterExecutable.hpp: fix end FUN stab to have length of function
d696c285 232
d696c285 233
69a49097 2342006-05-02 Nick Kledzik <kledzik@apple.com>
d696c285 235
69a49097
A
236 <rdar://problem/4496250> 64-bit main executables should have 4GB zero page by default
237 * src/Opptions.cpp: change default pagezero_size to 4GB for ppc64
238 <rdar://problem/4492850> 64 bit: apps with -mdynamic-no-pic seg fault when page zero > 4GB
239 * src/MachOWriterExecutable.cpp: rework pagezero for ppc64 so that if any mdynamic-no-pic code
240 is found, the code is kept in the low 2GB, and a new segment is create to map away up to 4GB.
d696c285 241
69a49097 2422006-05-02 Nick Kledzik <kledzik@apple.com>
d696c285 243
69a49097
A
244 * src/Opptions.cpp: remove warning about -stack_addr not specified. Add warning if 32-bit stack
245 overlaps shared region
d696c285 246
69a49097 247----- Tagged ld64-52.1
d696c285 248
69a49097 2492006-05-01 Nick Kledzik <kledzik@apple.com>
d696c285 250
69a49097
A
251 * src/MachOReaderRelocatable.cpp: rework handleAnonymousNonLazyPointers() to handle anl's in the middle
252 the __data section too.
d696c285 253
69a49097 254----- Tagged ld64-52
d696c285 255
69a49097 2562006-04-28 Nick Kledzik <kledzik@apple.com>
d696c285 257
69a49097
A
258 <rdar://problem/4513304> 64-bit: 9A152 TextEdit crashes in dlopen on bring-up
259 * src/MachOReaderRelocatable.cpp: rework anonymous non-lazy-pointer detection
d696c285 260
69a49097 2612006-04-28 Nick Kledzik <kledzik@apple.com>
d696c285 262
69a49097
A
263 <rdar://problem/4528054> 64 Bit: Development build of ppc64 TextEdit gets confused about static variables
264 * src/MachOReaderRelocatable.cpp: mark non-lazy-pointer atoms as scopeTranslationUnit if targetting a static symbol
d696c285 265
d696c285 266
69a49097 2672006-04-27 Nick Kledzik <kledzik@apple.com>
d696c285 268
69a49097
A
269 <rdar://problem/4498971> dyld crashes ungracefully on x86_64 when there is an internal exception
270 * src/MachOWriterExecutable.cpp: allow non-zero PCRELGOT addends (used by C++ eh frames)
d696c285 271
69a49097 2722006-04-21 Nick Kledzik <kledzik@apple.com>
d696c285 273
69a49097
A
274 * src/Options.cpp: fix default address for ppc64 custom stack
275 * src/MachOWriterExecutable.cpp: fix set up of ppc64 custom stack
d696c285 276
d696c285 277
69a49097 2782006-04-14 Nick Kledzik <kledzik@apple.com>
d696c285 279
69a49097 280 * src/Options.cpp: fix -sub_library processing to work it dylib is specifed with leaf name
d696c285 281
69a49097 282----- Tagged ld64-51.1
d696c285 283
69a49097 2842006-04-13 Nick Kledzik <kledzik@apple.com>
d696c285 285
69a49097
A
286 <rdar://problem/4513304> 64-bit: 9A152 TextEdit crashes in dlopen on bring-up
287 * src/MachOReaderRelocatable.hpp: when detecting anonymous non-lazy-pointers disqualify data
288 that points to static or global symbols
289 * src/ld.cpp: print version of ld64 in error messages
d696c285 290
d696c285 291
69a49097 292----- Tagged ld64-51
d696c285 293
69a49097 2942006-04-11 Nick Kledzik <kledzik@apple.com>
d696c285 295
69a49097
A
296 <rdar://problem/4499168> exported symbols not properly stripped
297 * src/MachOReaderRelocatable.hpp: enable AnonymousAtom::setScope()
d696c285 298
69a49097 2992006-03-31 Nick Kledzik <kledzik@apple.com>
d696c285 300
69a49097
A
301 <rdar://problem/4498391> ld64 fails when linking debug ppc64 HIToolbox
302 * src/MachOReaderRelocatable.hpp: handle anonymous non-lazy pointers encoded with local relocations
303 * src/MachOWriterExecutable.hpp: in -r mode, only generated INDIRECT_SYMBOL_LOCAL for non-lazy targets that
d696c285 304
d696c285 305
69a49097 3062006-03-31 Nick Kledzik <kledzik@apple.com>
d696c285 307
69a49097
A
308 <rdar://problem/4496499> ld64 should remove generated file if link errors out
309 * src/MachOWriterExecutable.hpp: catch exceptions in Writer<A>::write(), delete output file, and rethrow
d696c285 310
d696c285 311
69a49097 312----- Tagged ld64-50
d696c285 313
69a49097 3142006-03-29 Nick Kledzik <kledzik@apple.com>
d696c285 315
69a49097 316 * src/MachOWriterExecutable.hpp: fix x86_64 addends when -multi_module forces an external relocation
d696c285 317
69a49097 3182006-03-29 Nick Kledzik <kledzik@apple.com>
d696c285 319
69a49097
A
320 * src/MachOReaderRelocatable.hpp: synthesize .objc_class_name symbols
321 * src/MachOFileAbstraction.hpp: use strncpy for sect/seg names to zero fill trailing space
d696c285 322
69a49097 3232006-03-28 Nick Kledzik <kledzik@apple.com>
d696c285 324
69a49097 325 * src/MachOReaderRelocatable.hpp: fix spurious warning about dwarf line info
d696c285 326
69a49097 327----- Tagged ld64-49.1
d696c285 328
69a49097 3292006-03-25 Nick Kledzik <kledzik@apple.com>
d696c285 330
69a49097 331 * MachOWriterExecutable.hpp : don't complain about ppc64 dyld being based > 4GB
d696c285 332
69a49097 333----- Tagged ld64-49
d696c285 334
69a49097 3352006-03-24 Nick Kledzik <kledzik@apple.com>
d696c285 336
69a49097
A
337 * src/MachOWriterExecutable.hpp: dyld is allowed to have synthesized non-lazy pointers
338 <rdar://problem/4488113> ld64 is after processing bad GSYM stabs
339 * src/MachOReaderRelocatable.hpp: if a GSYM is found that does not match any data symbol, suppress it
d696c285 340
69a49097 3412006-03-23 Nick Kledzik <kledzik@apple.com>
d696c285 342
69a49097
A
343 * src/MachOWriterExecutable.hpp: in Writer<x86>::fixUpReferenceFinal() fix when x86::kPointer is for an
344 external relocation
d696c285 345
69a49097 3462006-03-23 Nick Kledzik <kledzik@apple.com>
d696c285 347
69a49097
A
348 * src/Options.cpp: change macosx-min-version to default to a per-architecture setting
349 add warning if -pagezero_size is not page aligned
350 * src/MachOWriterExecutable.hpp: properly handle external relocations for ppc64 with 4GB pagezero
351 * src/machochecker.cpp: sanity check relocation records
d696c285 352
69a49097 353----- Tagged ld64-48
d696c285 354
69a49097 3552006-03-21 Nick Kledzik <kledzik@apple.com>
d696c285 356
69a49097
A
357 <rdar://problem/4481406> 64bit: passing function pointer to another function passes the wrong function address
358 * src/MachOReaderRelocatable.hpp: when processing a non-lazy pointer to a static function, don't accidentally
359 match it to a STAB symbol.
d696c285 360
69a49097 3612006-03-21 Nick Kledzik <kledzik@apple.com>
d696c285 362
69a49097
A
363 <rdar://problem/4180168> .eh symbols make up 13% of libstdc++'s stripped binary size
364 * src/ObjectFile.h: add ReaderOptions.fForFinalLinkedImage
365 * src/Options.cpp: setup ReaderOptions.fForFinalLinkedImage
366 * src/MachOReaderRelocatable.hpp: mark .eh symbols kSymbolTableNotIn when building final linked image
d696c285 367
69a49097 3682006-03-21 Nick Kledzik <kledzik@apple.com>
d696c285 369
69a49097
A
370 <rdar://problem/4473742> ld64 does not parse optional second argument to -filelist
371 * unit-tests/test-cases/filelist: added
372 * src/Options.cpp: in Options::loadFileList() handle comma option
d696c285 373
d696c285 374
69a49097 375----- Tagged ld64-47
d696c285 376
d696c285 377
69a49097 378----- Tagged ld64-46
d696c285 379
69a49097 3802006-03-10 Nick Kledzik <kledzik@apple.com>
d696c285 381
69a49097
A
382 <rdar://problem/4419505> ld64 should figure out architecture from .o files
383 * unit-tests/test-cases/auto-arch: added
384 * src/ld.cpp: added Linker::inferArchitecture() to scan .o files are infer architecture to link
385 * src/MachOReaderArchive.hpp: enhanced validFile() to look deeper into archive and really valdate
386 * src/MachOWriterExecutable.hpp: stop using fOptions.architecture()
387 * src/Options.cpp: stop defaulting to ppc64
d696c285 388
d696c285 389
69a49097 3902006-03-09 Nick Kledzik <kledzik@apple.com>
d696c285 391
69a49097
A
392 <rdar://problem/4465004> Need "intentionally left blank" dylib stubs
393 * unit-tests/include/common.makefile: add VALID_ARCHS
394 * unit-tests/run-all-unit-tests: set up VALID_ARCHS
395 * unit-tests/test-cases/blank-stubs: add test case
396 * src/ld.cpp: in addDylib(), detect and ignore blank stubs
397 * src/MachOReaderDylib.hpp: in constructor, handle blank stubs
d696c285 398
69a49097 3992006-03-09 Nick Kledzik <kledzik@apple.com>
d696c285 400
69a49097
A
401 <rdar://problem/4471424> crash in stub with 2GB pagezero
402 * src/MachOWriterExecutable.hpp: StubAtom<ppc64> can't be no-pic if a large zero-page is used
d696c285 403
69a49097 4042006-03-06 Nick Kledzik <kledzik@apple.com>
d696c285 405
69a49097 406 * src/Options.cpp: addSectionAlignment, warn if -sectalign alignment is not a power of two
d696c285 407
69a49097 408----- Tagged ld64-45
d696c285 409
69a49097 4102006-03-06 Nick Kledzik <kledzik@apple.com>
d696c285 411
69a49097
A
412 <rdar://problem/4466930> <rdar://problem/4467982> ld64 failed: rel32 out of range when linking a dylib
413 * src/MachOWriterExecutable.cpp: in Writer<x86_64>::fixUpReferenceFinal add (int32_t) cast
d696c285 414
69a49097 4152006-03-06 Nick Kledzik <kledzik@apple.com>
d696c285 416
69a49097
A
417 <rdar://problem/4466930> LP64/9A122: ld64: hang when trying to link DiscRecording framework
418 * src/Options.cpp: addSectionAlignment, warn on zero. Use log2() for alignment conversion
d696c285 419
69a49097 4202006-03-06 Nick Kledzik <kledzik@apple.com>
d696c285 421
69a49097
A
422 <rdar://problem/4457818> x86_THREAD_STATE64_COUNT will change, ld64 must adapt
423 * src/MachOWriterExecutable.hpp: update ThreadsLoadCommandsAtom<x86_64> for new thread status layout
d696c285 424
69a49097 425----- Tagged ld64-44
d696c285 426
69a49097 4272006-03-04 Nick Kledzik <kledzik@apple.com>
d696c285 428
69a49097
A
429 * src/MachOReaderRelocatable.hpp: fix again test for detection of anonymous non-lazy-pointer.
430 Error out if .o file contains old __DWARFA style dwarf.
d696c285 431
69a49097 4322006-03-02 Nick Kledzik <kledzik@apple.com>
d696c285 433
69a49097 434 * src/ld.cpp: only re-map page aligned sub-parts of a fat file. A conformat mmap() requires alignment.
d696c285 435
69a49097 436----- Tagged ld64-43
d696c285 437
69a49097 4382006-03-03 Nick Kledzik <kledzik@apple.com>
d696c285 439
69a49097
A
440 <rdar://problem/4465443> RIP-relative offsets aren't handled properly when the instruction has immediate operands
441 * src/Architectures.hpp: add x86_64::kPCRel32_*
442 * src/MachOReaderRelocatable.hpp: generate x86_64::kPCRel32_*
443 * src/MachOWriterExecutable.hpp: process x86_64::kPCRel32_*