diff options
| author | Amlal <amlal@nekernel.org> | 2025-05-01 08:35:38 +0200 |
|---|---|---|
| committer | Amlal <amlal@nekernel.org> | 2025-05-01 08:35:38 +0200 |
| commit | 35ac989886dcab70ff4ba6bc6a1359d1290560ad (patch) | |
| tree | 4ba89bacb3209e8d5763bf9759776c453a1aa413 /dev/LibCompiler/src/Assembler64x0.cc | |
| parent | 6af5722b2b29731b3d96abfa7c2a512f5984312b (diff) | |
ld64: Make linker more robust, and extend PEF to version 4.
Signed-off-by: Amlal <amlal@nekernel.org>
Diffstat (limited to 'dev/LibCompiler/src/Assembler64x0.cc')
| -rw-r--r-- | dev/LibCompiler/src/Assembler64x0.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dev/LibCompiler/src/Assembler64x0.cc b/dev/LibCompiler/src/Assembler64x0.cc index 6d4d31a..4707be2 100644 --- a/dev/LibCompiler/src/Assembler64x0.cc +++ b/dev/LibCompiler/src/Assembler64x0.cc @@ -67,6 +67,8 @@ static bool asm_read_attributes(std::string line); ///////////////////////////////////////////////////////////////////////////////////////// LIBCOMPILER_MODULE(AssemblerMain64x0) { + ::signal(SIGSEGV, Detail::segfault_handler); + for (size_t i = 1; i < argc; ++i) { if (argv[i][0] == '-') { if (strcmp(argv[i], "--ver") == 0 || strcmp(argv[i], "--v") == 0) { |
