runtime: fix libc linking

This commit is contained in:
Li Jie
2024-06-06 11:01:32 +08:00
parent 21c9f7b7fb
commit 1ceaf1df22
8 changed files with 13 additions and 20 deletions

View File

@@ -1,9 +1,2 @@
; ModuleID = 'github.com/goplus/llgo/internal/runtime/c'
source_filename = "github.com/goplus/llgo/internal/runtime/c"
@stderr = external global ptr
@stdin = external global ptr
@stdout = external global ptr
@llgo_stdin = alias i8*, i8** @stdin
@llgo_stdout = alias i8*, i8** @stdout
@llgo_stderr = alias i8*, i8** @stderr