mlugg
4e45362529
link.Elf: fix static PIE
...
We mustn't emit the DT_PLTGOT entry in `.dynamic` in a statically-linked
PIE, because there's no dl to relocate it (and `std.pie.relocate`, or
the PIE relocator in libc, won't touch it). In that case, there cannot
be any PLT entries, so there's no point emitting the `.got.plt` section
at all. If we just don't create that section, `link.Elf` already knows
not to add the DT_PLTGOT entry to `.dynamic`.
Co-authored-by: Jacob Young <jacobly0@users.noreply.github.com>
2025-09-30 13:44:53 +01:00
..
2025-09-30 13:44:51 +01:00
2025-08-25 16:15:17 +02:00
2025-09-20 07:33:50 +02:00
2025-09-03 01:48:46 -07:00
2025-09-20 18:33:00 -07:00
2025-09-30 13:44:52 +01:00
2025-09-30 13:44:51 +01:00
2025-09-24 03:08:12 +02:00
2025-09-18 22:39:33 -07:00
2025-09-30 13:44:51 +01:00
2025-09-06 19:23:27 -07:00
2025-09-21 04:55:39 -07:00
2025-09-21 04:55:39 -07:00
2025-09-18 12:42:24 +02:00
2025-09-03 21:46:01 -07:00
2025-09-15 10:45:35 +01:00
2025-09-30 13:44:51 +01:00
2025-09-22 01:37:32 +02:00
2025-09-24 03:12:28 +02:00
2025-09-18 22:39:33 -07:00
2025-09-17 19:54:15 -07:00
2025-08-29 17:14:26 -07:00
2025-09-18 12:42:24 +02:00
2025-09-30 13:44:51 +01:00
2025-09-18 22:39:33 -07:00
2025-09-26 05:28:46 -07:00
2025-09-20 18:33:00 -07:00
2025-09-20 14:34:18 -07:00
2025-08-31 12:49:18 -07:00
2025-08-25 16:15:17 +02:00
2025-08-28 18:30:57 -07:00
2025-09-30 13:44:51 +01:00
2025-09-30 13:44:51 +01:00
2025-09-27 10:00:40 +02:00
2025-09-30 13:44:49 +01:00
2025-09-17 20:05:23 -07:00
2025-09-30 13:44:52 +01:00
2025-09-20 14:34:18 -07:00
2025-09-30 13:44:53 +01:00
2025-09-21 14:09:14 -07:00
2025-09-19 05:02:22 +00:00
2025-09-19 05:02:22 +00:00
2025-09-11 00:18:37 -07:00
2025-08-20 18:21:32 +02:00
2025-08-29 17:14:26 -07:00
2025-08-29 17:14:26 -07:00
2025-08-29 17:14:26 -07:00
2025-09-18 22:39:33 -07:00
2025-09-30 13:44:51 +01:00
2025-08-30 06:36:41 +02:00
2025-09-25 11:38:38 -07:00
2025-09-20 18:33:00 -07:00
2025-09-20 14:34:18 -07:00
2025-09-15 10:45:35 +01:00
2025-09-19 05:02:22 +00:00
2025-08-29 17:14:26 -07:00
2025-09-22 18:36:47 +02:00
2025-09-30 13:44:51 +01:00
2025-08-29 17:14:26 -07:00
2025-09-20 18:33:00 -07:00
2025-08-29 17:14:26 -07:00
2025-09-19 04:01:08 +02:00
2025-09-30 13:44:51 +01:00
2025-09-19 16:40:00 -07:00
2025-09-20 18:33:00 -07:00
2025-09-20 18:33:00 -07:00
2025-09-30 13:44:51 +01:00
2025-08-28 18:30:57 -07:00
2025-08-31 12:49:18 -07:00
2025-08-31 12:49:18 -07:00
2025-09-24 20:01:18 -07:00
2025-08-29 17:14:26 -07:00