mit-pdos / xv6-riscv

Xv6 for RISC-V
Other
6.63k stars 2.4k forks source link

Add flags when compiling assembly files too. #85

Open ahmedcharles opened 2 years ago

ahmedcharles commented 2 years ago

This prevents a miscompilation due to position independent code. The first instruction sequence, to load stack0 into sp, is incorrect.