NASM compiling x86_64 ASM label addresses off by 256 bytes in Mach-O when using multiple db declarations?

后端 未结 2 409
时光取名叫无心
时光取名叫无心 2020-12-03 23:25

In short, when I have multiple db sections in my .data section, the compiled addresses/labels are off when compiled by NASM. In my testing they are

2条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-03 23:35

    Yes, it's a bug in Nasm-2.11.08. Nasm-2.11.06 should work. Nasm-2.11.09rc1 should work(?). Sorry 'bout that!

提交回复
热议问题