Fix linkage for large binaries on mips64 platforms ...
... by enabling xgot feature Co-Authored-By: Zixing Liu <zixing.liu@canonical.com>
This commit is contained in:
parent
498553fc04
commit
b65c2afdfd
4 changed files with 16 additions and 6 deletions
|
@ -12,7 +12,7 @@ pub fn target() -> Target {
|
|||
endian: Endian::Big,
|
||||
// NOTE(mips64r2) matches C toolchain
|
||||
cpu: "mips64r2".into(),
|
||||
features: "+mips64r2".into(),
|
||||
features: "+mips64r2,+xgot".into(),
|
||||
max_atomic_width: Some(64),
|
||||
mcount: "_mcount".into(),
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ pub fn target() -> Target {
|
|||
abi: "abi64".into(),
|
||||
// NOTE(mips64r2) matches C toolchain
|
||||
cpu: "mips64r2".into(),
|
||||
features: "+mips64r2".into(),
|
||||
features: "+mips64r2,+xgot".into(),
|
||||
max_atomic_width: Some(64),
|
||||
mcount: "_mcount".into(),
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue