| c383f485 | 12-Mar-2023 |
Konstantin Belousov <[email protected]> |
lib/csu: do not compile the body of handle_static_init() for PIC build at all
The referenced symbols that provide init array boundaries are weak, hidden, and undefined. The code that iterates over
lib/csu: do not compile the body of handle_static_init() for PIC build at all
The referenced symbols that provide init array boundaries are weak, hidden, and undefined. The code that iterates over that arrays is not used for the case when libc is compiled as dso.
This should fix linking with ld.bfd.
Sponsored by: The FreeBSD Foundation MFC after: 3 weeks
show more ...
|
| c5c9d980 | 11-Mar-2023 |
Konstantin Belousov <[email protected]> |
libc/csu: rename ignore_init.c to libc_start1.c
The current name was a historical curiosity that started when init array support was added, and then the file appeared a convenient place for the addi
libc/csu: rename ignore_init.c to libc_start1.c
The current name was a historical curiosity that started when init array support was added, and then the file appeared a convenient place for the addition of the MI common code to csu. It is now referenced by name in single place and the rename is easy, so do it.
Sponsored by: The FreeBSD Foundation MFC after: 3 weeks
show more ...
|
| 03039385 | 01-Nov-2022 |
Konstantin Belousov <[email protected]> |
x86: microoptimize static PIE startup
Do not call CPUID on each ireloc, instead call it once and cache results, similar to how it is done on powerpc64.
Reviewed by: markj Sponsored by: The FreeBSD
x86: microoptimize static PIE startup
Do not call CPUID on each ireloc, instead call it once and cache results, similar to how it is done on powerpc64.
Reviewed by: markj Sponsored by: The FreeBSD Foundation MFC after: 3 weeks Differential revision: https://reviews.freebsd.org/D37220
show more ...
|