From 1b8ed7842cc09ff687aa7386bf3af8565055a8d1 Mon Sep 17 00:00:00 2001 From: Jakub Konka Date: Fri, 25 Feb 2022 15:26:24 +0100 Subject: 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 --- test/behavior/basic.zig | 3 --- 1 file changed, 3 deletions(-) (limited to 'test/behavior/basic.zig') diff --git a/test/behavior/basic.zig b/test/behavior/basic.zig index 304b4a83f7..dd3e85be67 100644 --- a/test/behavior/basic.zig +++ b/test/behavior/basic.zig @@ -195,9 +195,6 @@ test "multiline string comments at multiple places" { } test "string concatenation" { - if (builtin.zig_backend == .stage2_aarch64 and builtin.os.tag == .macos) return error.SkipZigTest; - if (builtin.zig_backend == .stage2_x86_64 and builtin.os.tag == .macos) return error.SkipZigTest; - try expect(mem.eql(u8, "OK" ++ " IT " ++ "WORKED", "OK IT WORKED")); } -- cgit v1.2.3