remove link flag `-Ttext` for aarch64

master
equation314 6 years ago
parent 93bac1ce10
commit bbf127b24e

@ -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 ()

@ -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",

@ -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 ()

Loading…
Cancel
Save