articles/assembly.md: wrong object file filename
This commit is contained in:
parent
0436000f1e
commit
8407b5632c
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ hello_str_len: equ $-hello_str ; assemble-time length calculation
|
|||
Assembling and linking:
|
||||
```sh
|
||||
nasm -felf64 -o hello.o hello.asm # assemble, generates an object file
|
||||
cc -static-pie -nostdlib -o hello hello.asm # now link to get an executable
|
||||
cc -static-pie -nostdlib -o hello hello.o # now link to get an executable
|
||||
```
|
||||
|
||||
TODO examples for other architectures
|
||||
|
|
Loading…
Add table
Reference in a new issue