Fangrui Song
71c76755a8
[ELF] Move layout-changing transforms before address assignment ( #232189 )
...
finalizeAddressDependentContent assigns addresses, then
--randomize-section-padding and CFI jump table relaxation
(--branch-to-branch, implied by -O2) move input sections, so the first
fixed-point iteration computes address-dependent content from stale
addresses. Since #179089 , EhFrameHeader::updateAllocSize caches the
.eh_frame_hdr search table; if no iteration changes anything, the loop
exits and the table keys no longer match the FDEs' initial_location.
Neither transform reads addresses, so run them before the first
assignAddresses. SHF_LINK_ORDER sections are now sorted by the relaxed
layout as well.
LLM-aided. Partially fix #226166
(cherry picked from commit 115554f90f920fc000234c2c247b8318d4e7d2d8)
2026-10-18 14:08:32 +02:00
..
2026-07-14 13:29:27 +01:00
2026-06-15 17:14:50 +01:00
2026-02-01 11:25:22 -08:00
2026-07-12 00:22:45 -07:00
2026-07-07 16:04:23 -07:00
2026-02-01 14:56:19 -08:00
2026-02-01 14:56:19 -08:00
2026-07-10 07:09:08 +00:00
2026-02-28 05:37:59 +00:00
2026-06-15 17:16:18 +01:00
2026-05-06 23:44:43 -07:00
2026-03-22 14:17:52 +02:00
2026-03-22 14:17:52 +02:00
2026-05-21 14:44:05 +02:00
2026-02-01 11:25:22 -08:00
2026-02-04 20:29:54 -08:00
2026-02-01 11:25:22 -08:00
2026-02-28 05:37:59 +00:00
2026-02-28 05:37:59 +00:00
2026-02-01 14:56:19 -08:00
2026-02-01 14:56:19 -08:00
2026-02-01 11:25:22 -08:00
2026-02-01 14:56:19 -08:00
2026-02-01 10:27:59 -08:00
2026-06-15 17:16:18 +01:00
2026-03-25 13:02:58 -07:00
2026-03-25 13:02:58 -07:00
2026-03-25 13:02:58 -07:00
2026-03-25 13:02:58 -07:00
2026-03-25 13:02:58 -07:00
2026-02-01 14:56:19 -08:00
2026-07-01 10:50:25 -07:00
2026-07-01 10:50:25 -07:00
2026-02-28 05:37:59 +00:00
2026-02-28 05:37:59 +00:00
2026-07-12 07:30:14 +00:00
2026-02-28 05:37:59 +00:00
2026-06-10 11:03:28 +01:00
2026-06-15 17:16:18 +01:00
2026-03-31 08:47:54 +05:30
2026-06-19 09:10:34 +01:00
2026-06-19 09:10:34 +01:00
2026-02-28 05:37:59 +00:00
2026-02-01 11:25:22 -08:00
2026-02-01 11:25:22 -08:00
2026-04-02 10:16:54 +01:00
2026-06-15 17:14:50 +01:00
2026-06-15 17:15:20 +01:00
2026-06-15 17:41:35 +01:00
2026-06-15 17:15:20 +01:00
2026-06-15 17:14:50 +01:00
2026-06-15 17:15:20 +01:00
2026-06-15 17:14:50 +01:00
2026-02-01 11:25:22 -08:00
2026-06-15 17:14:50 +01:00
2026-02-01 10:27:59 -08:00
2026-02-01 11:25:22 -08:00
2026-02-01 11:25:22 -08:00
2026-02-01 11:25:22 -08:00
2026-06-15 17:15:20 +01:00
2026-02-01 11:25:22 -08:00
2026-06-15 17:15:20 +01:00
2026-06-15 17:41:35 +01:00
2026-06-15 17:15:20 +01:00
2026-06-15 17:15:20 +01:00
2026-06-15 17:15:20 +01:00
2026-06-15 17:14:50 +01:00
2026-06-15 17:15:20 +01:00
2026-06-15 17:14:50 +01:00
2026-06-15 17:14:50 +01:00
2026-06-15 17:14:50 +01:00
2026-06-15 17:14:50 +01:00
2026-06-15 17:14:50 +01:00
2026-06-15 17:14:50 +01:00
2026-06-15 17:15:20 +01:00
2026-06-15 17:15:20 +01:00
2026-06-15 17:15:20 +01:00
2026-06-10 11:03:28 +01:00
2026-06-15 17:15:20 +01:00
2026-06-15 17:15:20 +01:00
2026-06-15 17:15:20 +01:00
2026-04-01 17:53:08 -07:00
2026-07-12 16:28:05 +00:00
2026-04-02 22:00:15 -07:00
2026-05-03 12:34:38 -07:00
2026-07-08 09:31:53 -03:00
2026-02-04 20:29:54 -08:00
2026-02-01 11:25:22 -08:00
2026-02-01 11:25:22 -08:00
2026-02-01 11:25:22 -08:00
2026-02-01 11:25:22 -08:00
2026-02-04 20:29:54 -08:00
2026-02-04 20:29:54 -08:00
2026-02-05 23:41:45 -08:00
2026-02-16 10:24:48 -08:00
2026-02-05 21:30:45 -08:00
2026-02-05 23:41:45 -08:00
2026-07-12 11:23:46 -07:00
2026-02-01 11:25:22 -08:00
2026-04-24 19:46:58 +00:00
2026-04-24 19:46:58 +00:00
2026-07-06 21:20:57 -07:00
2026-07-13 09:08:54 +02:00
2026-03-04 11:11:09 -06:00
2026-03-30 09:35:17 -05:00
2026-03-30 14:06:47 -05:00
2026-03-30 14:06:47 -05:00
2026-03-30 14:06:47 -05:00
2026-03-30 09:35:17 -05:00
2026-03-30 09:35:17 -05:00
2026-03-30 09:35:17 -05:00
2026-02-09 14:45:36 -06:00
2026-03-25 15:03:35 +00:00
2026-02-01 11:25:22 -08:00
2026-07-11 14:39:37 -07:00
2026-02-01 11:25:22 -08:00
2026-02-04 20:29:54 -08:00
2026-02-04 20:29:54 -08:00
2026-02-01 11:25:22 -08:00
2026-06-16 04:44:47 +00:00
2026-02-12 14:07:57 -08:00
2026-02-04 20:29:54 -08:00
2026-01-31 21:51:03 +00:00
2026-06-16 14:20:02 +08:00
2026-10-05 17:28:10 +02:00
2026-10-05 17:28:10 +02:00
2026-03-16 10:06:34 +08:00
2026-05-19 21:18:55 -07:00
2026-05-29 22:24:48 +08:00
2026-05-05 10:11:42 -07:00
2026-02-04 20:29:54 -08:00
2026-02-01 11:25:22 -08:00
2026-02-01 10:27:59 -08:00
2026-07-10 20:56:43 +01:00
2026-07-12 07:30:14 +00:00
2026-05-22 08:55:56 +00:00
2026-02-04 20:29:54 -08:00
2026-02-01 10:27:59 -08:00
2026-02-01 10:27:59 -08:00
2026-02-04 20:29:54 -08:00
2026-02-01 10:27:59 -08:00
2026-02-14 18:02:53 -08:00
2026-02-01 11:25:22 -08:00
2026-10-18 14:08:32 +02:00
2026-05-03 16:11:07 -07:00
2026-02-04 20:29:54 -08:00
2026-06-16 04:44:47 +00:00
2026-06-16 04:44:47 +00:00
2026-02-01 11:25:22 -08:00
2026-05-09 20:09:23 -07:00
2026-07-14 07:08:29 +00:00
2026-07-12 15:30:05 -07:00
2026-02-01 14:56:19 -08:00
2026-02-01 14:56:19 -08:00
2026-02-01 14:56:19 -08:00
2026-01-31 21:51:03 +00:00
2026-02-01 14:56:19 -08:00
2026-02-01 14:56:19 -08:00
2026-03-16 10:06:34 +08:00
2026-05-03 14:28:51 -07:00
2026-03-06 04:08:40 +00:00
2026-05-03 14:28:51 -07:00
2026-05-19 21:18:55 -07:00
2026-03-06 04:08:40 +00:00
2026-03-06 04:08:40 +00:00
2026-02-01 10:27:59 -08:00
2026-05-03 13:03:27 -07:00
2026-02-16 20:10:37 +00:00
2026-05-04 00:15:44 -07:00
2026-02-16 20:10:37 +00:00
2026-02-17 17:03:12 +00:00
2026-05-06 23:44:43 -07:00
2026-06-16 07:48:09 -07:00
2026-03-11 17:47:07 +00:00
2026-02-04 20:29:54 -08:00
2026-01-23 20:43:52 -08:00
2026-07-14 07:08:29 +00:00
2026-02-04 20:29:54 -08:00
2026-03-11 10:38:21 -07:00
2026-05-16 18:23:35 -07:00
2026-05-06 23:44:43 -07:00
2026-09-23 13:54:07 +02:00
2026-10-18 14:08:32 +02:00
2026-06-08 09:54:56 -07:00
2026-02-01 11:25:22 -08:00
2026-02-01 11:25:22 -08:00
2026-02-01 11:25:22 -08:00
2026-02-01 11:25:22 -08:00
2026-02-01 11:25:22 -08:00
2026-04-07 23:25:11 -07:00
2026-07-10 20:56:43 +01:00
2026-02-04 20:29:54 -08:00
2026-02-23 18:26:56 -08:00
2026-02-23 18:26:56 -08:00