diff options
| author | Jakub Konka <kubkon@jakubkonka.com> | 2022-02-25 15:26:24 +0100 |
|---|---|---|
| committer | Jakub Konka <kubkon@jakubkonka.com> | 2022-02-25 21:59:19 +0100 |
| commit | 1b8ed7842cc09ff687aa7386bf3af8565055a8d1 (patch) | |
| tree | c439e150d94ca8d9d4263094cb9473a24df0580b /src/codegen/llvm.zig | |
| parent | bf6540ce50f8613386be09aac7dc03604af12e1e (diff) | |
| download | zig-1b8ed7842cc09ff687aa7386bf3af8565055a8d1.tar.gz zig-1b8ed7842cc09ff687aa7386bf3af8565055a8d1.zip | |
macho: redo selection of segment/section for decls and consts
* fix alignment issues for consts with natural ABI alignment not
matching that of the `ldr` instruction in `aarch64` - solved by
preceeding the `ldr` with an additional `add` instruction to form
the full address before dereferencing the pointer.
* redo selection of segment/section for decls and consts based on
combined type and value
Diffstat (limited to 'src/codegen/llvm.zig')
0 files changed, 0 insertions, 0 deletions
