We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3eb690b commit e602ac7Copy full SHA for e602ac7
pwnlib/asm.py
@@ -274,8 +274,8 @@ def _assembler():
274
'ia64': [gas, '-m%ce' % context.endianness[0]],
275
276
# riscv64-unknown-elf-as supports riscv32 as well as riscv64
277
- 'riscv32': [gas, '-march=rv32gc', '-mabi=ilp32'],
278
- 'riscv64': [gas, '-march=rv64gc', '-mabi=lp64'],
+ 'riscv32': [gas, '-march=rv32gc_zba_zbb_zbc_zbs', '-mabi=ilp32'],
+ 'riscv64': [gas, '-march=rv64gc_zba_zbb_zbc_zbs', '-mabi=lp64'],
279
280
# loongarch64 supports none of -64, -EB, -EL or -march
281
'loongarch64' : [gas],
0 commit comments