diff options
| author | Ian McIntyre <ianpmcintyre@gmail.com> | 2023-09-29 16:16:43 -0400 |
|---|---|---|
| committer | Ian McIntyre <ianpmcintyre@gmail.com> | 2023-09-29 16:43:28 -0400 |
| commit | 96cea217ae8bb0464d7e5774d806435abd6ebb7f (patch) | |
| tree | cd7d2dc05f6b3306cd64c89b665e42772dcf1b78 /tests | |
| parent | af9f52fb4ac327240d949df220a5a51d8e73fb81 (diff) | |
Ensure __pre_init remains in binary
GNU's LTO has a tendency to remove __pre_init, which is written in
inline assembly. It doesn't realize that the reset handler references
this symbol, because the reset handler is also written in inline
assembly. Not sure why LLVM's linker doesn't also optimize it away, but
this commit ensures that __pre_init remains in the output file.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions
