Fangrui Song
ba2de8f22d
[ELF] Allow absolute relocation referencing symbol index 0 in PIC mode
...
The value of an absolute relocation, like R_RISCV_HI20 or R_PPC64_LO16,
with a symbol index of 0, the resulting value should be treated as
absolute and permitted in both -pie and -shared links.
This change also resolves an absolute relocation referencing an
undefined symbol in statically-linked executables.
PPC64 has unfortunate exceptions:
* R_PPC64_TOCBASE uses symbol index 0 but it should be treated as
referencing the linker-defined .TOC.
* R_PPC64_PCREL_OPT (https://reviews.llvm.org/D84360 ) could no longer
rely on `isAbsoluteValue` return false.
2025-03-28 20:44:07 -07:00
..
2025-01-27 10:04:57 -08:00
2024-12-19 11:23:09 -05:00
2025-01-27 10:04:57 -08:00
2025-03-11 15:01:18 -07:00
2025-03-22 20:57:50 +08:00
2024-11-17 11:27:05 -08:00
2025-02-28 23:53:28 -08:00
2025-02-05 14:04:21 -05:00
2024-11-17 11:27:05 -08:00
2024-11-17 11:27:05 -08:00
2024-11-17 11:27:05 -08:00
2024-11-17 11:27:05 -08:00
2024-11-17 11:27:05 -08:00
2024-11-17 11:27:05 -08:00
2024-11-17 11:27:05 -08:00
2024-11-17 11:27:05 -08:00
2025-03-01 12:36:56 -08:00
2025-02-21 09:01:38 -08:00
2025-02-28 23:53:28 -08:00
2025-03-15 18:15:05 -07:00
2025-03-28 10:32:56 +03:00
2025-02-28 23:53:28 -08:00
2024-11-17 11:27:05 -08:00
2024-11-17 11:27:05 -08:00
2024-11-17 11:27:05 -08:00
2024-11-17 11:27:05 -08:00
2024-11-17 11:27:05 -08:00
2024-11-17 11:27:05 -08:00
2024-11-17 11:27:05 -08:00
2024-11-17 11:27:05 -08:00
2024-11-17 11:27:05 -08:00
2024-11-17 11:27:05 -08:00
2024-11-17 11:27:05 -08:00
2024-11-17 11:27:05 -08:00
2024-11-17 11:27:05 -08:00
2024-11-17 11:27:05 -08:00
2024-11-17 11:27:05 -08:00
2024-11-17 11:27:05 -08:00
2024-11-17 11:27:05 -08:00
2024-11-17 11:27:05 -08:00
2024-12-18 09:41:54 +03:00
2024-11-17 11:27:05 -08:00
2024-11-17 11:27:05 -08:00
2024-11-17 11:27:05 -08:00
2024-08-22 09:12:11 -07:00
2024-11-17 11:27:05 -08:00
2024-11-17 11:27:05 -08:00
2024-09-10 12:38:32 +01:00
2025-02-24 09:17:04 +00:00
2025-02-21 09:01:38 -08:00
2024-11-21 14:26:25 +00:00
2024-11-19 10:49:01 +00:00
2025-02-21 09:01:38 -08:00
2025-01-22 12:18:05 +03:00
2024-11-17 11:27:05 -08:00
2025-02-19 09:15:26 -08:00
2025-02-19 09:15:26 -08:00
2025-01-27 10:04:57 -08:00
2025-02-19 09:15:26 -08:00
2025-03-01 12:36:56 -08:00
2024-11-07 09:30:20 -08:00
2024-11-07 09:30:20 -08:00
2025-03-26 20:18:23 +01:00
2025-03-26 20:18:23 +01:00
2025-03-26 20:18:23 +01:00
2024-11-25 08:51:27 +00:00
2025-03-26 20:18:23 +01:00
2025-03-26 20:18:23 +01:00
2025-02-17 10:10:35 +00:00
2025-03-26 20:18:23 +01:00
2025-03-26 20:18:23 +01:00
2024-12-09 11:24:45 +00:00
2025-01-27 10:04:57 -08:00
2025-03-26 20:18:23 +01:00
2025-03-26 20:18:23 +01:00
2025-01-27 10:04:57 -08:00
2025-01-27 10:04:57 -08:00
2025-01-27 10:04:57 -08:00
2025-03-26 20:18:23 +01:00
2025-02-19 09:15:26 -08:00
2024-08-30 10:50:56 -04:00
2025-01-27 10:04:57 -08:00
2025-01-25 16:58:52 -08:00
2025-02-04 09:12:32 -08:00
2025-02-13 08:57:44 -08:00
2025-01-05 11:04:05 +08:00
2025-01-05 17:13:23 -08:00
2025-02-19 09:15:26 -08:00
2025-01-25 16:00:51 -08:00
2025-02-19 09:15:26 -08:00
2025-03-21 20:08:45 -05:00
2025-02-05 21:16:00 -08:00
2024-12-09 21:35:55 -08:00
2025-01-27 20:55:00 -08:00
2025-01-23 12:32:54 -05:00
2025-03-21 20:08:45 -05:00
2024-11-19 09:27:01 -06:00
2025-01-29 15:37:23 -06:00
2025-01-29 15:37:23 -06:00
2024-11-19 09:27:01 -06:00
2025-02-28 23:53:28 -08:00
2024-09-18 23:06:12 -07:00
2025-01-30 19:03:38 -08:00
2024-11-24 11:30:21 -08:00
2025-02-21 09:01:38 -08:00
2025-01-27 10:04:57 -08:00
2025-01-25 15:18:13 -08:00
2024-11-29 13:00:36 -08:00
2025-01-25 15:18:13 -08:00
2025-01-25 15:18:13 -08:00
2025-02-15 09:19:17 +08:00
2025-03-10 11:02:23 +08:00
2025-03-10 11:02:23 +08:00
2025-03-11 14:30:41 +08:00
2025-02-15 09:19:17 +08:00
2025-02-15 09:19:17 +08:00
2025-03-11 14:30:41 +08:00
2025-03-11 14:30:41 +08:00
2025-03-11 14:30:41 +08:00
2025-03-11 14:30:41 +08:00
2024-11-23 12:46:35 -08:00
2024-11-23 14:32:32 -08:00
2025-01-25 16:20:27 -08:00
2025-02-19 09:15:26 -08:00
2024-12-19 19:41:42 -05:00
2024-12-04 17:35:05 -08:00
2024-11-17 11:27:05 -08:00
2024-12-05 16:26:26 +08:00
2025-02-10 09:21:31 -08:00
2025-01-27 22:02:27 -08:00
2025-01-27 20:55:00 -08:00
2025-01-27 20:55:00 -08:00
2025-01-27 20:55:00 -08:00
2025-01-27 20:55:00 -08:00
2025-02-05 21:16:00 -08:00
2024-11-13 22:24:19 -05:00
2025-02-05 21:16:00 -08:00
2025-02-19 09:15:26 -08:00
2024-12-13 11:52:09 -08:00
2025-01-25 16:20:27 -08:00
2025-02-19 09:15:26 -08:00
2025-02-19 09:15:26 -08:00
2025-02-19 09:15:26 -08:00
2024-11-24 17:23:52 -08:00
2025-03-22 20:57:50 +08:00
2025-02-05 21:16:00 -08:00
2024-10-08 12:45:01 +01:00
2024-10-08 12:45:01 +01:00
2025-03-28 20:44:07 -07:00
2025-03-20 18:56:56 -07:00
2024-12-19 11:23:09 -05:00
2025-01-25 16:58:52 -08:00
2024-12-08 17:50:16 -08:00
2024-12-03 18:51:20 +01:00
2024-12-03 18:51:20 +01:00
2024-12-03 18:51:20 +01:00
2024-12-03 18:51:20 +01:00
2024-12-03 18:51:20 +01:00
2025-03-01 12:36:56 -08:00
2024-12-13 09:47:52 +08:00
2024-11-29 13:00:36 -08:00
2024-11-29 13:00:36 -08:00
2024-11-29 13:00:36 -08:00
2025-02-19 09:15:26 -08:00
2025-01-27 10:04:57 -08:00
2024-10-10 16:51:27 -07:00
2024-10-10 16:51:27 -07:00
2025-02-05 21:16:00 -08:00
2025-02-05 21:16:00 -08:00
2025-03-28 20:44:07 -07:00
2025-02-19 09:15:26 -08:00
2025-03-26 09:56:33 -07:00
2025-02-28 23:53:28 -08:00
2024-11-20 21:02:44 +08:00
2024-11-20 21:02:44 +08:00
2024-11-20 21:02:44 +08:00
2024-12-05 16:26:26 +08:00
2024-12-13 09:47:52 +08:00
2024-11-27 09:31:12 +08:00