Kyungwoo Lee
77e204c7b0
[lld-macho][arm64] implement -objc_stubs_small ( #78665 )
...
This patch implements `-objc_stubs_small` targeting arm64, aiming to
align with ld64's behavior.
1. `-objc_stubs_fast`: As previously implemented, this always uses the
Global Offset Table (GOT) to invoke `objc_msgSend`. The alignment of the
objc stub is 32 bytes.
2. `-objc_stubs_small`: This behavior depends on whether `objc_msgSend`
is defined. If it is, it directly jumps to `objc_msgSend`. If not, it
creates another stub to indirectly jump to `objc_msgSend`, minimizing
the size. The alignment of the objc stub in this case is 4 bytes.
2024-01-23 07:31:34 -08:00
..
2023-06-07 10:03:50 -04:00
2023-06-07 10:03:50 -04:00
2023-05-25 11:17:05 +02:00
2022-09-30 15:09:27 -07:00
2022-10-04 14:10:43 -07:00
2023-07-19 14:19:15 -04:00
2022-10-04 14:53:53 -07:00
2022-12-13 14:54:17 -08:00
2022-10-04 14:10:43 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2024-01-23 07:31:34 -08:00
2024-01-18 10:46:30 -08:00
2024-01-23 07:31:34 -08:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2023-02-14 14:34:41 -05:00
2022-10-29 15:40:26 -07:00
2022-10-04 14:10:43 -07:00
2022-08-31 17:04:20 +02:00
2022-12-22 15:52:46 -08:00
2022-10-04 11:48:45 +02:00
2022-10-04 11:48:45 +02:00
2023-06-07 10:03:50 -04:00
2022-11-22 10:39:51 -05:00
2023-06-07 10:03:50 -04:00
2023-06-07 10:03:50 -04:00
2023-06-07 10:03:50 -04:00
2023-06-07 10:03:50 -04:00
2023-05-31 17:53:46 -07:00
2023-05-31 17:53:46 -07:00
2022-12-22 15:52:46 -08:00
2022-12-22 15:52:46 -08:00
2022-09-13 19:08:35 +02:00
2022-12-22 15:52:46 -08:00
2022-09-20 10:16:45 -04:00
2022-10-04 14:10:43 -07:00
2022-10-29 15:40:26 -07:00
2023-06-07 10:03:50 -04:00
2023-06-07 10:03:50 -04:00
2023-09-07 13:50:55 -04:00
2023-01-14 15:21:16 -08:00
2023-12-19 11:42:26 -08:00
2022-10-04 11:48:45 +02:00
2023-06-06 12:53:03 -04:00
2023-08-09 09:54:32 -04:00
2023-05-20 13:06:03 -07:00
2022-10-04 14:10:43 -07:00
2023-06-07 10:03:50 -04:00
2023-06-07 10:03:50 -04:00
2023-08-04 13:49:07 -04:00
2022-11-10 23:32:55 +01:00
2023-06-15 09:40:02 -07:00
2023-08-13 13:39:04 -07:00
2023-08-13 13:39:04 -07:00
2023-08-13 13:39:04 -07:00
2024-01-23 09:08:43 -05:00
2022-12-23 19:44:56 -05:00
2023-05-23 13:50:14 -07:00
2022-11-07 23:51:24 +01:00
2023-05-25 11:17:05 +02:00
2022-12-22 15:52:46 -08:00
2023-03-11 01:40:14 -05:00
2022-12-23 11:48:00 -05:00
2022-10-29 15:40:26 -07:00
2022-09-06 08:19:08 +02:00
2022-09-16 17:38:46 +02:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-11-27 20:06:48 -08:00
2023-04-20 17:24:06 -04:00
2022-11-14 12:27:29 +00:00
2022-11-14 15:18:09 -05:00
2023-02-15 17:34:35 +00:00
2022-11-27 20:06:48 -08:00
2022-11-27 20:06:48 -08:00
2022-12-13 14:54:17 -08:00
2023-06-02 15:34:14 -07:00
2024-01-19 14:21:26 +00:00
2023-12-18 09:46:58 -08:00
2023-01-26 11:12:21 -08:00
2023-03-03 15:28:59 -08:00
2023-03-11 01:40:14 -05:00
2023-03-11 01:40:14 -05:00
2023-05-31 14:14:19 -07:00
2022-11-29 11:17:08 -08:00
2023-03-31 13:20:23 -04:00
2023-01-05 13:30:10 -05:00
2023-03-30 14:33:42 -04:00
2022-12-22 15:52:46 -08:00
2022-09-14 17:59:22 -04:00
2023-08-04 09:25:59 -04:00
2024-01-04 16:13:57 -08:00
2023-06-21 16:16:46 -07:00
2022-12-15 23:52:42 -05:00
2022-10-04 14:10:43 -07:00
2022-12-13 13:55:21 -08:00
2023-03-03 09:00:55 -08:00
2022-12-23 19:44:56 -05:00
2022-12-23 19:44:56 -05:00
2023-06-06 11:13:31 -07:00
2023-06-06 11:13:31 -07:00
2023-11-08 15:55:22 -08:00
2022-10-29 15:40:26 -07:00
2022-11-27 10:00:30 -05:00
2022-12-23 19:44:56 -05:00
2022-10-29 15:40:26 -07:00
2023-08-22 12:03:17 -07:00
2023-08-22 12:03:17 -07:00
2023-03-03 13:47:01 -08:00
2023-01-12 20:54:18 -05:00
2023-04-20 11:45:15 -07:00
2023-04-04 11:24:51 -07:00
2023-01-12 20:54:18 -05:00
2023-04-20 11:45:15 -07:00
2023-01-12 20:54:18 -05:00
2023-01-12 20:54:18 -05:00
2023-01-12 20:54:18 -05:00
2023-02-04 15:23:30 -05:00
2022-10-29 15:40:26 -07:00
2022-12-08 08:30:59 -05:00
2022-10-13 12:52:25 -04:00
2022-10-13 10:33:47 -04:00
2022-10-13 10:33:47 -04:00
2023-07-19 16:39:31 -07:00
2022-10-29 15:40:26 -07:00
2023-01-09 17:50:45 +00:00
2022-12-13 14:54:17 -08:00
2023-09-27 19:55:16 -04:00
2022-10-04 11:48:45 +02:00
2024-01-23 07:31:34 -08:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2023-03-03 13:47:01 -08:00