jasonwhite / syscalls

Raw Linux system calls for Rust.
Other
102 stars 13 forks source link

AT&T syntax in x86 without att_syntax option #25

Closed kpp closed 1 year ago

kpp commented 1 year ago

https://github.com/jasonwhite/syscalls/blob/288d146210fd378999d0f825ffef9cb3a002f38e/src/syscall/x86.rs#L28

It should be int 0x80, right? It is said:

On x86, the .intel_syntax noprefix mode of GAS is used by default.