Fangrui Song
07d0a4fb53
[ELF][RISCV] Make .sdata and .sbss closer
...
GNU ld's internal linker scripts for RISC-V place .sdata and .sbss close.
This makes GP relaxation more profitable.
While here, when .sbss is present, set `__bss_start` to the start of
.sbss instead of .bss, to match GNU ld.
Note: GNU ld's internal linker scripts have symbol assignments and input
section descriptions which are not relevant for modern systems. We only
add things that make sense.
Reviewed By: craig.topper
Differential Revision: https://reviews.llvm.org/D145118
2023-03-07 10:37:04 -08:00
..
2023-02-25 06:17:50 +00:00
2022-12-03 18:11:34 +00:00
2022-08-10 16:47:30 -04:00
2022-12-03 18:11:34 +00:00
2022-08-10 16:47:30 -04:00
2022-07-29 00:59:48 -07:00
2022-08-10 16:47:30 -04:00
2022-12-20 11:05:50 +00:00
2023-03-07 12:44:02 -05:00
2023-03-01 11:14:05 -08:00
2023-01-12 12:08:06 +01:00
2023-02-10 09:59:46 +00:00
2022-12-05 00:09:22 +00:00
2022-11-27 17:25:34 -08:00
2022-11-20 22:43:22 +00:00
2022-08-10 16:47:30 -04:00
2023-02-22 23:34:49 -08:00
2022-08-10 16:47:30 -04:00
2023-01-28 12:41:20 -08:00
2023-03-06 16:06:40 -08:00
2023-02-23 22:05:52 +00:00
2023-01-10 11:47:43 +01:00
2023-03-07 12:44:02 -05:00
2022-11-26 19:19:15 -08:00
2023-02-15 17:34:35 +00:00
2022-08-10 16:47:30 -04:00
2023-01-26 20:31:42 -05:00
2022-08-10 16:47:30 -04:00
2022-11-20 22:43:22 +00:00
2022-08-10 16:47:30 -04:00
2023-02-15 17:34:35 +00:00
2023-01-26 20:31:42 -05:00
2022-11-26 19:19:15 -08:00
2023-03-03 12:48:16 -08:00
2022-09-04 21:31:18 -07:00
2022-06-25 22:22:59 -07:00
2022-08-10 16:47:30 -04:00
2023-03-07 12:44:02 -05:00
2022-08-10 16:47:30 -04:00
2022-11-22 12:37:51 -08:00
2022-11-22 12:37:51 -08:00
2022-10-14 15:28:47 -04:00
2023-02-08 10:50:44 -08:00
2023-03-01 11:14:05 -08:00
2023-01-28 12:41:20 -08:00
2022-11-21 04:12:03 +00:00
2022-12-08 09:53:40 +00:00
2023-02-27 16:19:13 -08:00
2023-02-27 16:19:13 -08:00
2023-03-07 10:37:04 -08:00
2022-08-10 16:47:30 -04:00