diff --git a/biscuit/CMakeLists.txt b/biscuit/CMakeLists.txt index edf3c5b..2af6033 100644 --- a/biscuit/CMakeLists.txt +++ b/biscuit/CMakeLists.txt @@ -32,7 +32,6 @@ elseif (${ARCH} STREQUAL aarch64) else() set(PREFIX aarch64-elf-) endif () - set(LINK_FLAGS "-Ttext 0xffff000000000000") else() message("Unsupported arch: ${ARCH}") endif () diff --git a/rust/targets/aarch64-rcore.json b/rust/targets/aarch64-rcore.json index a4adac2..357c2e3 100644 --- a/rust/targets/aarch64-rcore.json +++ b/rust/targets/aarch64-rcore.json @@ -13,11 +13,6 @@ "linker": "rust-lld", "linker-flavor": "ld.lld", "linker-is-gnu": true, - "pre-link-args": { - "ld.lld": [ - "--image-base=0xffff000000000000" - ] - }, "llvm-target": "aarch64-unknown-none", "no-compiler-rt": true, "features": "+a53,+strict-align,-neon", diff --git a/ucore/CMakeLists.txt b/ucore/CMakeLists.txt index ee594b1..8515ec7 100644 --- a/ucore/CMakeLists.txt +++ b/ucore/CMakeLists.txt @@ -40,7 +40,6 @@ elseif (${ARCH} STREQUAL aarch64) set(PREFIX aarch64-elf-) endif () set(CMAKE_C_FLAGS "-mgeneral-regs-only") - set(LINK_FLAGS "-Ttext 0xffff000000000000") else() message("Unsupported arch: ${ARCH}") endif ()