Conversation
OpenBSD 7.3+ requires xonly.
|
cc @mstorsjo |
|
FWIW, this patch breaks compilation for aarch64 for essentially every configuration concievable, as is. With Clang: With binutils: Switching to the Then finally, for MSVC build configurations, we normally use clang for building the assembly, but we used to use gas-preprocessor earlier. (Using gas-preprocessor allows using MSVC's armasm64 assembler tool, and avoids requiring two separate compilers.) In such configurations, it seems like gas-preprocessor doesn't handle cases like |
Odd, OpenBSD uses Clang and we've been building this for a long time now.
I see the macro you're referring to. I didn't write any of this code, but I'll see what I can do and get back to you. |
Yeah, either this is OpenBSD specific in the Clang/LLVM assembler, or it's added in downstream patches.
Yep. Although this has evolved into a kinda odd and uncomfortable form - it probably can be simplified a bit, removing negations and moving the win32/apple cases above the ELF |
|
Oh, and I forgot - to get the address of the data in a different section, you probably also need to replicate something like the |
OpenBSD 7.3+ requires xonly.