Skip to content

Commit 248085f

Browse files
authored
Merge pull request #155 from wenhu1024/fix/readme
fix: add `--init vectorAdd` to README linking example #156
2 parents ea97b09 + 380a6dc commit 248085f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ Then, run the commands listed as follows under the same directory.
124124
Linking `crt0` and `libclc`
125125
All the libclc workitem functions' implementation is included in `riscv32clc.o`
126126
```sh
127-
./install/bin/ld.lld -o vecadd.riscv -T utils/ldscripts/ventus/elf32lriscv.ld vecadd.o ./install/lib/crt0.o ./install/lib/riscv32clc.o -L./install/lib -lworkitem --gc-sections
127+
./install/bin/ld.lld -o vecadd.riscv -T utils/ldscripts/ventus/elf32lriscv.ld vecadd.o ./install/lib/crt0.o ./install/lib/riscv32clc.o -L./install/lib -lworkitem --gc-sections --init vectorAdd
128128
```
129129

130130
##### 4.1.3 Compile assembly code to object file (`.s` to `.o`)

0 commit comments

Comments
 (0)