different x86_64 ABIs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello everyone,

I'm working on a x86_64 project which has mixed C and assembly code. The
program should (ultimatively) run on all major x86_64 platforms but
currently I'm facing the problem that x86_64 has a completely different
ABI on e.g. Linux and Windows. This makes interfacing between C and
assembler impossible in a portable manner.

So I either need to provide the assembly files in different flavours or
(which is why I ask here) gcc provides some __attribute__((elf_abi)) or
__attribute__((linux_abi)) or something like that.

Is the already such an attribute or is it planned? Or this there another
 solution for the problem?

Sebastian


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux