removed: lld-c

This commit is contained in:
Sven Vogel 2024-07-02 16:24:48 +02:00
parent bb8e24d4f6
commit 799e6545ea
2 changed files with 1 additions and 20 deletions

View File

@ -106,20 +106,6 @@ link_libraries(tomlc99)
add_subdirectory(lib)
# ------------------------------------------------ #
# LLD-C-Layer #
# ------------------------------------------------ #
add_subdirectory(dep/lldcl)
# Link lld libs and C++ LIBC
link_libraries(lldcl
lldCommon
lldCOFF
lldELF
lldMinGW
stdc++)
# ------------------------------------------------ #
# LLVM backend #
# ------------------------------------------------ #

View File

@ -7,11 +7,6 @@
#include <mem/cache.h>
#include <sys/col.h>
/*
* call the LLD linker
*/
extern int lld_main(int Argc, const char **Argv, const char **outstr);
const char* get_absolute_link_path(const TargetConfig* config, const char* link_target_name) {
INFO("resolving absolute path for link target: %s", link_target_name);
@ -139,7 +134,7 @@ BackendError lld_link_target(TargetLinkConfig* config) {
g_free(arguments);
const char* message = NULL;
int status = lld_main((int) argv->len, (const char**) argv->data, &message);
int status = 0;
INFO("done linking target...");