Commits

Merge remote-tracking branch 'origin/master' into zld-incr

a38b636045 • Jakub Konka • Sep 13, 2021

macho: use the cache system to know if need to relink objects

760241ce50 • Jakub Konka • Sep 13, 2021

macho: fix logic for updating exports in incremental codepath

46a10401f0 • Jakub Konka • Sep 13, 2021

macho: fix incremental compilation

4c36da1047 • Jakub Konka • Sep 13, 2021

macho: split resolveSymbols into standalone functions

1965465ced • Jakub Konka • Sep 13, 2021

macho: insert rpaths upon parsing

7aa6064638 • Jakub Konka • Sep 11, 2021

macho: enable tracy in more places within the linker

054fe96bcd • Jakub Konka • Sep 11, 2021

macho: change all occurrences of TextBlock into Atom

31dcb0dde7 • Jakub Konka • Sep 11, 2021

macho: rename blocks to atoms in Object.zig

6e0c3950b8 • Jakub Konka • Sep 10, 2021

macho: write adjacent atoms to in-memory buffer

8e5f7f5fe8 • Jakub Konka • Sep 10, 2021

macho: init process of renaming TextBlock to Atom

aaacfc0d0a • Jakub Konka • Sep 9, 2021

macho: properly adjust section sizes

56fdada577 • Jakub Konka • Sep 9, 2021

macho: don't allocate atoms when parsing objects

1efdb137d1 • Jakub Konka • Sep 9, 2021

macho: padToIdeal each parsed section size before storing

23be9cae34 • Jakub Konka • Sep 8, 2021

macho: precompute total required size when parsing objects

9fb44e8e1f • Jakub Konka • Sep 8, 2021

macho: use smaller padding until we have branch islands on arm64

e00b9d6192 • Jakub Konka • Sep 8, 2021

macho: store source section address of relocs in context

e229202cb8 • Jakub Konka • Sep 7, 2021

macho: fix alignment of atoms which begin the section

159e55dfd9 • Jakub Konka • Sep 7, 2021

macho: fix commands.zig tests

a2279e7e20 • Jakub Konka • Sep 7, 2021

macho: update max section alignment when inserting atoms

c35f668932 • Jakub Konka • Sep 7, 2021

macho: make sure that parsed bss atoms are zero-filled

6836cc473c • Jakub Konka • Sep 6, 2021

macho: set and reset file offset to zerofill sections in flush

81e5320973 • Jakub Konka • Sep 6, 2021

macho: allocate sections one after the other and grow if needed

29d2e19c3e • Jakub Konka • Sep 6, 2021

macho: require atom padding for machine code only

2914ea9e33 • Jakub Konka • Sep 6, 2021

macho: fix noninclusion of data-in-code

5e64d9745b • Jakub Konka • Sep 6, 2021

macho: encaps logic for extract sect offset into fn

61dca19107 • Jakub Konka • Sep 5, 2021

macho: add logic for segment expansion

ea8808f87b • Jakub Konka • Sep 5, 2021

macho: add a small routine to update section ordinals at the end

d92b5416e8 • Jakub Konka • Sep 4, 2021

macho: unfortunately, LINKEDIT commands NEED to be in order

7e87f93e06 • Jakub Konka • Sep 4, 2021

macho: dyld info subsections need to follow in strict order

80e1c244b6 • Jakub Konka • Sep 3, 2021

macho: dirty export trie when adding globals

1d2199b71c • Jakub Konka • Sep 3, 2021

macho: minor fixes to allow the linker to output malformed stage1

7536a2f8cf • Jakub Konka • Sep 3, 2021

macho: remove obsolete mentions of stage1

a783f3a369 • Jakub Konka • Sep 2, 2021

macho: remove all Zld codepaths

4b07da7090 • Jakub Konka • Sep 2, 2021

macho: implement basic section movement and reallocation

5af13f35f9 • Jakub Konka • Sep 2, 2021

macho: better spec for sections which don't require padding

4741c04254 • Jakub Konka • Sep 1, 2021

macho: fix calculating file offset for atom when allocating

9dbad2d188 • Jakub Konka • Sep 1, 2021

macho: minor refactor of const namings

17066cc12e • Jakub Konka • Sep 1, 2021

macho: fix condition for checking available size for an atom

4eff0f4ea1 • Jakub Konka • Sep 1, 2021

macho: clean up allocating atom logic

7a99cd069a • Jakub Konka • Sep 1, 2021

macho: do not reset section's size after allocating atom

d0dc622638 • Jakub Konka • Aug 31, 2021

macho: fix allocating sections within segment when parsing objects

50db993119 • Jakub Konka • Aug 31, 2021

macho: add first pass at allocating parsed atoms in objects

2831d6e9b8 • Jakub Konka • Aug 30, 2021

macho: remove sorting sections and refactor atom parsing in objects

a14e98fcac • Jakub Konka • Aug 27, 2021

macho: keep actual file offset for zerofill sections separately

ad4a8e7665 • Jakub Konka • Aug 27, 2021

macho: merge __common with __bss section

1e65d41a65 • Jakub Konka • Aug 27, 2021

macho: preactively add zerofill sections in correct order

705cd64080 • Jakub Konka • Aug 27, 2021

macho: port mechanism for allocating symbols within atoms

8bd0687713 • Jakub Konka • Aug 26, 2021

Merge remote-tracking branch 'origin/master' into zld-incr

29df0ca39d • Jakub Konka • Aug 26, 2021

macho: write all atoms in flush so that we can resolve relocs

570c75cb74 • Jakub Konka • Aug 26, 2021

macho: fix stub writing in self-hosted setting

432fb7054d • Jakub Konka • Aug 26, 2021

macho: save lazy binding info as part of the atom

d19d3342c2 • Jakub Konka • Aug 26, 2021

macho: fix text atom allocation

c12183b608 • Jakub Konka • Aug 25, 2021

macho: add GOT entries as actual atoms

ee786e5c3c • Jakub Konka • Aug 25, 2021

macho: generalise free list usage to all sections

af57ccbe27 • Jakub Konka • Aug 25, 2021

macho: add routine for creating Got atoms

ea4bd2b879 • Jakub Konka • Aug 25, 2021

macho: use existing rebase mechanism to rebase lazy pointers

aee6f14bce • Jakub Konka • Aug 24, 2021

macho: rewrite populateLazyBindOffsetsInStubHelper to use atoms

32ce8238a8 • Jakub Konka • Aug 24, 2021

macho: port stub and lazy ptr atoms to stage2

8d30092704 • Jakub Konka • Aug 24, 2021

macho: add routine for creating stubs in __stubs section

91c0552cfc • Jakub Konka • Aug 23, 2021

macho: fix writing stubs (on x86_64 only) and lazy ptrs

876071b50b • Jakub Konka • Aug 23, 2021

macho: add routine for creating lazy pointer for stub

9e7b2fb894 • Jakub Konka • Aug 23, 2021

macho: add routine for creating a dynamic stub_helper atom

799c5bb955 • Jakub Konka • Aug 23, 2021

macho: incrementally write dyld_private and stub_helper atoms

ea499203fe • Jakub Konka • Aug 21, 2021

macho: implement aarch64 prong of createStubHelperAtom

d61d85abd2 • Jakub Konka • Aug 21, 2021

macho: create __stub_helper preamble atom

d63d8ae1c0 • Jakub Konka • Aug 21, 2021

macho: create an explicit symbol and atom for dyld entry in __data

2d10c52b3c • Jakub Konka • Aug 21, 2021

macho: extract logic for creating and tracking atoms into fn

792fd9c4a3 • Jakub Konka • Aug 20, 2021

macho: track unresolved externs globally

153e231774 • Jakub Konka • Aug 20, 2021

macho: remove redundant writeStubHelperCommon codepath

30247fbb6a • Jakub Konka • Aug 18, 2021

macho: resolve undefs in incremental properly

8167456c58 • Jakub Konka • Aug 17, 2021

macho: use common codepath for resolving dyld_stub_binder

790633a2a0 • Jakub Konka • Aug 17, 2021

macho: parse input files and libs in incremental

8b795fe2ac • Jakub Konka • Aug 17, 2021

macho: memorize if dyld_stub_binder was already resolved

69f4281774 • Jakub Konka • Aug 17, 2021

macho: dedup setting entry point logic

c6ea181e75 • Jakub Konka • Aug 17, 2021

macho: fix writeSymbolTable() function

52f9b283a7 • Jakub Konka • Aug 16, 2021

macho: converge populateMetadata with populateMissingMetadata

a51edc978f • Jakub Konka • Aug 16, 2021

Merge remote-tracking branch 'origin/master' into zld-incr

4c90c1ff63 • Jakub Konka • Aug 16, 2021

macho: move bit adding rpaths to common codepath

b20b6d7da9 • Jakub Konka • Aug 14, 2021

macho: merge linkWithZld with flush

819ef52104 • Jakub Konka • Aug 14, 2021

Merge pull request #9559 from squeek502/walker-basename

e9bf8014bd • Veikka Tuominen • Aug 14, 2021

std.fmt: add name of type in unsupport format string compile error

fcf2ce0ffe • Meghan • Aug 14, 2021

Fix darwin ulock usage on macOS (#9545)

c2635f9b02 • Thom Chiovoloni • Aug 14, 2021

Expose register_eventfd, register_eventfd_async, unregister_eventfd i… (#9449)

65208a7fa2 • Ayende Rahien • Aug 14, 2021

Merge pull request #9227 from mathetake/libc-wasi-test

1373df4c34 • Jakub Konka • Aug 13, 2021

macho: don't cache unused link options

c53423f8aa • Jakub Konka • Aug 13, 2021

update_cpu_features tool: work around stage1 bug

0961c1975a • Andrew Kelley • Aug 12, 2021

stage2 frontend improvements - `@ptrCast` and optionals

55c6a784a5 • Andrew Kelley • Aug 12, 2021

compiler-rt: do not depend on `usingnamespace`

fc55814faa • Andrew Kelley • Aug 12, 2021

stage2 llvm backend: implement const inttoptr

6eecc4af99 • Andrew Kelley • Aug 12, 2021

Merge pull request #9166 from joachimschmidt557/stage2

a0670e748e • Andrew Kelley • Aug 12, 2021

Merge pull request #9535 from FnControlOption/128-bit-cmpxchg-test

394d287778 • Jakub Konka • Aug 12, 2021

macho: use ArrayHashMap.popOrNull where applicable

f49aa960a9 • Jakub Konka • Aug 12, 2021

macho: exclude tentative def before checking for collision

f01366e8b3 • Jakub Konka • Aug 12, 2021

macho: use array hashmaps for quick lookups

35403d41ce • Jakub Konka • Aug 12, 2021

macho: simplify symbol management and resolution

da57d6df32 • Jakub Konka • Aug 12, 2021

Update mem.split/mem.tokenize doc comments

493822ac3b • Ryan Liptak • Aug 12, 2021

Merge pull request #9549 from ziglang/tapi-v3

0686954802 • Jakub Konka • Aug 11, 2021

Merge pull request #9532 from ziglang/basic-ios-support

60a5552d41 • Jakub Konka • Aug 11, 2021

macho: fix linking of dylibs and frameworks

f2bf1390a2 • Jakub Konka • Aug 10, 2021