| ... | ... | @@ -85,17 +85,14 @@ pub fn build(b: *Build) void { |
| 85 | 85 | elf_step.dependOn(testTlsDso(b, .{ .target = glibc_target })); |
| 86 | 86 | elf_step.dependOn(testTlsGd(b, .{ .target = glibc_target })); |
| 87 | 87 | elf_step.dependOn(testTlsGdNoPlt(b, .{ .target = glibc_target })); |
| 88 | | // https://github.com/ziglang/zig/issues/17576 |
| 89 | | //elf_step.dependOn(testTlsGdToIe(b, .{ .target = glibc_target })); |
| 88 | elf_step.dependOn(testTlsGdToIe(b, .{ .target = glibc_target })); |
| 90 | 89 | elf_step.dependOn(testTlsIe(b, .{ .target = glibc_target })); |
| 91 | 90 | elf_step.dependOn(testTlsLargeAlignment(b, .{ .target = glibc_target })); |
| 92 | 91 | elf_step.dependOn(testTlsLargeTbss(b, .{ .target = glibc_target })); |
| 93 | 92 | elf_step.dependOn(testTlsLargeStaticImage(b, .{ .target = glibc_target })); |
| 94 | | // https://github.com/ziglang/zig/issues/17576 |
| 95 | | //elf_step.dependOn(testTlsLd(b, .{ .target = glibc_target })); |
| 93 | elf_step.dependOn(testTlsLd(b, .{ .target = glibc_target })); |
| 96 | 94 | elf_step.dependOn(testTlsLdDso(b, .{ .target = glibc_target })); |
| 97 | | // https://github.com/ziglang/zig/issues/17576 |
| 98 | | //elf_step.dependOn(testTlsLdNoPlt(b, .{ .target = glibc_target })); |
| 95 | elf_step.dependOn(testTlsLdNoPlt(b, .{ .target = glibc_target })); |
| 99 | 96 | // https://github.com/ziglang/zig/issues/17430 |
| 100 | 97 | // elf_step.dependOn(testTlsNoPic(b, .{ .target = glibc_target })); |
| 101 | 98 | elf_step.dependOn(testTlsOffsetAlignment(b, .{ .target = glibc_target })); |
| ... | ... | @@ -2113,10 +2110,10 @@ fn testTlsGdToIe(b: *Build, opts: Options) *Step { |
| 2113 | 2110 | b_o.force_pic = true; |
| 2114 | 2111 | |
| 2115 | 2112 | { |
| 2116 | | const dso = addSharedLibrary(b, "a", opts); |
| 2113 | const dso = addSharedLibrary(b, "a1", opts); |
| 2117 | 2114 | dso.addObject(a_o); |
| 2118 | 2115 | |
| 2119 | | const exe = addExecutable(b, "main", opts); |
| 2116 | const exe = addExecutable(b, "main1", opts); |
| 2120 | 2117 | exe.addObject(b_o); |
| 2121 | 2118 | exe.linkLibrary(dso); |
| 2122 | 2119 | exe.linkLibC(); |
| ... | ... | @@ -2127,11 +2124,11 @@ fn testTlsGdToIe(b: *Build, opts: Options) *Step { |
| 2127 | 2124 | } |
| 2128 | 2125 | |
| 2129 | 2126 | { |
| 2130 | | const dso = addSharedLibrary(b, "a", opts); |
| 2127 | const dso = addSharedLibrary(b, "a2", opts); |
| 2131 | 2128 | dso.addObject(a_o); |
| 2132 | 2129 | // dso.link_relax = false; // TODO |
| 2133 | 2130 | |
| 2134 | | const exe = addExecutable(b, "main", opts); |
| 2131 | const exe = addExecutable(b, "main2", opts); |
| 2135 | 2132 | exe.addObject(b_o); |
| 2136 | 2133 | exe.linkLibrary(dso); |
| 2137 | 2134 | exe.linkLibC(); |
| ... | ... | @@ -2210,7 +2207,7 @@ fn testTlsIe(b: *Build, opts: Options) *Step { |
| 2210 | 2207 | const exp_stdout = "0 0 3 5 7\n"; |
| 2211 | 2208 | |
| 2212 | 2209 | { |
| 2213 | | const exe = addExecutable(b, "main", opts); |
| 2210 | const exe = addExecutable(b, "main1", opts); |
| 2214 | 2211 | exe.addObject(main_o); |
| 2215 | 2212 | exe.linkLibrary(dso); |
| 2216 | 2213 | exe.linkLibC(); |
| ... | ... | @@ -2221,7 +2218,7 @@ fn testTlsIe(b: *Build, opts: Options) *Step { |
| 2221 | 2218 | } |
| 2222 | 2219 | |
| 2223 | 2220 | { |
| 2224 | | const exe = addExecutable(b, "main", opts); |
| 2221 | const exe = addExecutable(b, "main2", opts); |
| 2225 | 2222 | exe.addObject(main_o); |
| 2226 | 2223 | exe.linkLibrary(dso); |
| 2227 | 2224 | exe.linkLibC(); |
| ... | ... | @@ -2374,7 +2371,7 @@ fn testTlsLd(b: *Build, opts: Options) *Step { |
| 2374 | 2371 | const exp_stdout = "3 5 3 5\n"; |
| 2375 | 2372 | |
| 2376 | 2373 | { |
| 2377 | | const exe = addExecutable(b, "main", opts); |
| 2374 | const exe = addExecutable(b, "main1", opts); |
| 2378 | 2375 | exe.addObject(main_o); |
| 2379 | 2376 | exe.addObject(a_o); |
| 2380 | 2377 | exe.linkLibC(); |
| ... | ... | @@ -2385,7 +2382,7 @@ fn testTlsLd(b: *Build, opts: Options) *Step { |
| 2385 | 2382 | } |
| 2386 | 2383 | |
| 2387 | 2384 | { |
| 2388 | | const exe = addExecutable(b, "main", opts); |
| 2385 | const exe = addExecutable(b, "main2", opts); |
| 2389 | 2386 | exe.addObject(main_o); |
| 2390 | 2387 | exe.addObject(a_o); |
| 2391 | 2388 | exe.linkLibC(); |
| ... | ... | @@ -2456,7 +2453,7 @@ fn testTlsLdNoPlt(b: *Build, opts: Options) *Step { |
| 2456 | 2453 | b_o.force_pic = true; |
| 2457 | 2454 | |
| 2458 | 2455 | { |
| 2459 | | const exe = addExecutable(b, "main", opts); |
| 2456 | const exe = addExecutable(b, "main1", opts); |
| 2460 | 2457 | exe.addObject(a_o); |
| 2461 | 2458 | exe.addObject(b_o); |
| 2462 | 2459 | exe.linkLibC(); |
| ... | ... | @@ -2467,7 +2464,7 @@ fn testTlsLdNoPlt(b: *Build, opts: Options) *Step { |
| 2467 | 2464 | } |
| 2468 | 2465 | |
| 2469 | 2466 | { |
| 2470 | | const exe = addExecutable(b, "main", opts); |
| 2467 | const exe = addExecutable(b, "main2", opts); |
| 2471 | 2468 | exe.addObject(a_o); |
| 2472 | 2469 | exe.addObject(b_o); |
| 2473 | 2470 | exe.linkLibC(); |