Commits

macho: clean up logic for deciding if needs __stub_helper

47dd8d0cf7 • Jakub Konka • Jan 24, 2024

macho: add misc fixes targeting macos 11

508ff1dd14 • Jakub Konka • Jan 24, 2024

build: bump max_rss for building the compiler again

8fd4c36bf9 • Jakub Konka • Jan 24, 2024

macho: set filename as ident in code signature

e69ffcd8c1 • Jakub Konka • Jan 24, 2024

macho: skip -r when single input object file

46bc91ade5 • Jakub Konka • Jan 24, 2024

macho: exclude symbols from empty sections when parsing unwind info

f2dce0c337 • Jakub Konka • Jan 24, 2024

macho: synthesise unwind records from __eh_frame even if no __compact_unwind

82628dd151 • Jakub Konka • Jan 24, 2024

macho: allocate segments in sep step and tweak sorting logic

fe19d1e09b • Jakub Konka • Jan 24, 2024

build: bump max_rss for building the compiler again

c57e77a455 • Jakub Konka • Jan 24, 2024

test/link/macho: ensure we do not run testStackSize on foreign host

d726538494 • Jakub Konka • Jan 24, 2024

macho: fix 32bit compilation issues

06224c23b7 • Jakub Konka • Jan 24, 2024

macho: do not enforce platform check for now

67ea039426 • Jakub Konka • Jan 24, 2024

build: bump maxrss

ead0237814 • Jakub Konka • Jan 24, 2024

macho: ensure we zero-out regions after copying them over

060406a526 • Jakub Konka • Jan 24, 2024

macho: actually lower TLS variables

3a6410959c • Jakub Konka • Jan 24, 2024

macho: fix wrong symbol type for TLV vars

411c7f6669 • Jakub Konka • Jan 24, 2024

x86_64: emit MachO TLV sequence

5c4db4e578 • Jakub Konka • Jan 24, 2024

x86_64: save TLS to stack for MachO

080ad94249 • Jakub Konka • Jan 24, 2024

macho: save TLS variables in ZigObject

6ad4062bf2 • Jakub Konka • Jan 24, 2024

macho: get start index of Zig sections when allocating other sections

c02a603b63 • Jakub Konka • Jan 24, 2024

macho: prep for lowering TLS variables

55f57ceb2e • Jakub Konka • Jan 24, 2024

macho: get rid of allocateSegments

5c30c23fc4 • Jakub Konka • Jan 24, 2024

macho: move incr Zig sections in file if overlap nonincr sections

aef2c91d9f • Jakub Konka • Jan 24, 2024

macho: refactor segment creation logic

a531ecf9dc • Jakub Konka • Jan 24, 2024

macho: fix not resetting __got_zig sect index after sorting headers

eaf4bb4423 • Jakub Konka • Jan 24, 2024

macho: resolve relocs pointing at __got_zig

8f74d2519f • Jakub Konka • Jan 24, 2024

macho: re-read atom code from ZigObject when resolving relocs

a112241f64 • Jakub Konka • Jan 24, 2024

macho: reserve space for __got_zig rebase opcodes

7647db3273 • Jakub Konka • Jan 24, 2024

macho: allocate __LINKEDIT in a separate pass

16b66588f0 • Jakub Konka • Jan 24, 2024

macho: init linkedit segment separately

f4da814535 • Jakub Konka • Jan 24, 2024

macho: allocate sections and segments that need it

1bdcb23b13 • Jakub Konka • Jan 24, 2024

macho: fix '_' prefixing rules for exports

0143dd8fdc • Jakub Konka • Jan 24, 2024

macho: again fix symbol index dereference in codegen wrt ZigObject

5c951cd211 • Jakub Konka • Jan 24, 2024

macho: fix symbol index dereference in codegen wrt ZigObject

a8629fb850 • Jakub Konka • Jan 24, 2024

macho: implement resolveSymbols in ZigObject

30b7d3e45f • Jakub Konka • Jan 24, 2024

macho: set atom_index for newly created Atom in ZigObject

5ef63e333a • Jakub Konka • Jan 24, 2024

macho: let us dump some state and debug!

5d0ea3fd27 • Jakub Konka • Jan 24, 2024

macho: implement ZigObject.flushModule

9a78173ee0 • Jakub Konka • Jan 24, 2024

codegen: implement more missing bits

a79a038e61 • Jakub Konka • Jan 24, 2024

codegen: re-implement enough of codegen to error out instead panic

96cc9fafbf • Jakub Konka • Jan 24, 2024

codegen: re-enable MachO support in genDeclRef

76dc305d4e • Jakub Konka • Jan 24, 2024

macho: fill the rest of ZigObject

82e92fe5f6 • Jakub Konka • Jan 24, 2024

macho: fill in more blanks in ZigObject

ee463efdf2 • Jakub Konka • Jan 24, 2024

macho: fill in more blanks in ZigObject

c98d229844 • Jakub Konka • Jan 24, 2024

macho: implement growSection mechanism

6cd4c7612f • Jakub Konka • Jan 24, 2024

macho: implement more self-hosted primitives

2169a5559d • Jakub Konka • Jan 24, 2024

macho: set alignment of pre-allocated sections

55c8b82b50 • Jakub Konka • Jan 24, 2024

macho: init metadata for incremental linking

a6ed54ea22 • Jakub Konka • Jan 24, 2024

macho: add __zig_got section implementation

8c578ba02c • Jakub Konka • Jan 24, 2024

macho: re-implement updateDeclCode

c7de5e5111 • Jakub Konka • Jan 24, 2024

macho: init metadata and partially implement updateDecl

0b2133d441 • Jakub Konka • Jan 24, 2024

macho: create Atom for Decl in ZigObject

bd9d8bd462 • Jakub Konka • Jan 24, 2024

macho: split symbol.flags.got into needs_got and has_got

9509fadbe3 • Jakub Konka • Jan 24, 2024

macho: forward parsed -compatibility_version to the linker

b66911370b • Jakub Konka • Jan 24, 2024

macho: patch up more holes with ZigObject

8437ba6a79 • Jakub Konka • Jan 24, 2024

macho: move all unimplemented function stubs into ZigObject

667af6511f • Jakub Konka • Jan 24, 2024

macho: introduce ZigObject

6d0ba6dd10 • Jakub Konka • Jan 24, 2024

test/link/macho: migrate all tests to the new test matrix

03b33b0f01 • Jakub Konka • Jan 24, 2024

test/link/macho: upgrade tbdv3 test

2b3ac3e82f • Jakub Konka • Jan 24, 2024

test/link/macho: upgrade unwind info tests

a3f68c6fa2 • Jakub Konka • Jan 24, 2024

test/link/macho: test stacksize option

d500caaa62 • Jakub Konka • Jan 24, 2024

test/link/macho: upgrade search strategy test

b70fedee7e • Jakub Konka • Jan 24, 2024

test/link/macho: test re-exports in zig

933231868a • Jakub Konka • Jan 24, 2024

test/link/macho: remove converted standalone tests

7dc6900018 • Jakub Konka • Jan 24, 2024

test/link/macho: test pagezero size

7bb323c0eb • Jakub Konka • Jan 24, 2024

test/link/macho: revert testing objc msgsend stubs - no way of enabling in clang

5c8acc551d • Jakub Konka • Jan 24, 2024

test/link/macho: test objc msgsend selector stubs

000598acc9 • Jakub Konka • Jan 24, 2024

test/link/macho: use .root_module. instead of wrappers where possible

3d835dea2a • Jakub Konka • Jan 24, 2024

test/link/macho: test force-loading objects containing ObjC from archives

abeb0e3ea4 • Jakub Konka • Jan 24, 2024

test/link/macho: test no exports in a dylib

7c65f0be37 • Jakub Konka • Jan 24, 2024

test/link/macho: test attribute "used" on vars in presence of dead_strip

4cf94bb148 • Jakub Konka • Jan 24, 2024

test/link/macho: upgrade strict validation of layout test

4dc1907a88 • Jakub Konka • Jan 24, 2024

test/link/macho: upgrade entry and entry in archive tests

a25b780aad • Jakub Konka • Jan 24, 2024

test/link/macho: upgrade empty object test

82a044f4f7 • Jakub Konka • Jan 24, 2024

test/link/macho: upgrade dylib test

a454ba7908 • Jakub Konka • Jan 24, 2024

macho: remove all rpath parsing from the linker

8105390fff • Jakub Konka • Jan 24, 2024

macho: print all definitions of symbols when printing duplicates

b1cf6d3103 • Jakub Konka • Jan 24, 2024

test/link/macho: upgrade dead_strip_dylibs test

181e476915 • Jakub Konka • Jan 24, 2024

test/link/macho: test -r mode

b038bcb93b • Jakub Konka • Jan 24, 2024

test/link/macho: test tentative definitions

fa161c2059 • Jakub Konka • Jan 24, 2024

test/link/macho: upgrade tls test

49a4b42995 • Jakub Konka • Jan 24, 2024

test/link/macho: test thunks on arm64

9f0e1ab467 • Jakub Konka • Jan 24, 2024

test/link/macho: test twolevel namespacing

5790e89b5a • Jakub Konka • Jan 24, 2024

test/link/macho: test large .tbss section

fa649cad4e • Jakub Konka • Jan 24, 2024

test/link/macho: test -u flag handling (forceUndefinedSymbol)

9fce2e2233 • Jakub Konka • Jan 24, 2024

test/link/macho: upgrade weak framework test

105655857f • Jakub Konka • Jan 24, 2024

test/link/macho: upgrade weak library test

e96f8b817a • Jakub Konka • Jan 24, 2024

test/link/macho: test weak binding

1e0eb3c809 • Jakub Konka • Jan 24, 2024

test/link/macho: upgrade and migrate headerpad test

2c0c86944e • Jakub Konka • Jan 24, 2024

test/link/macho: test setting correct weak* flags in the header

9533628ca0 • Jakub Konka • Jan 24, 2024

test/link/macho: test hello world in C

5142d92c51 • Jakub Konka • Jan 24, 2024

test/link/macho: test hello world in Zig

0cc4dc615b • Jakub Konka • Jan 24, 2024

test/link/macho: test for correct handling of large __bss sections

bf285c7e40 • Jakub Konka • Jan 24, 2024

test/link/macho: test for correct handling of __mh_execute_header symbol

faa1849f81 • Jakub Konka • Jan 24, 2024

test/link/macho: upgrade and migrate needed_library test

49c11e0c34 • Jakub Konka • Jan 24, 2024

test/link/link: pass build options to elf and macho tests

d93a0763d4 • Jakub Konka • Jan 24, 2024

test/link/macho: test segment boundary symbols

041f7d69f0 • Jakub Konka • Jan 24, 2024

test/link/macho: fix naming in entry-in-dylib test

ffd7f7f642 • Jakub Konka • Jan 24, 2024

test/link/macho: upgrade and migrate dead_strip test

6cdcf61a5c • Jakub Konka • Jan 24, 2024

test/link/elf: make invalid input file test less janky

aa50bca151 • Jakub Konka • Jan 24, 2024