From 380a6dcc57c0675959fc64cda7accef008b3c290 Mon Sep 17 00:00:00 2001 From: wenhu1024 <1340773297@qq.com> Date: Fri, 6 Dec 2024 12:25:00 +0800 Subject: [PATCH] [VENTUS][README] add `--init vectorAdd` to README linking example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e4903b9323c6..a011cac80645 100644 --- a/README.md +++ b/README.md @@ -124,7 +124,7 @@ Then, run the commands listed as follows under the same directory. Linking `crt0` and `libclc` All the libclc workitem functions' implementation is included in `riscv32clc.o` ```sh -./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 +./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 ``` ##### 4.1.3 Compile assembly code to object file (`.s` to `.o`)