GNU Assembler RISC-V Directives
Tonight’s @risc_v Tip:
The GNU assembler (gas) supports a few specific RISC-V directives, including .option
, which allows you to modify assembler options inline. A common use case: temporarily disabling relaxation to perform initial global pointer load into gp
register.