summaryrefslogtreecommitdiff
path: root/system/binutils/gold-mips.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-02-12 16:07:51 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-02-12 16:07:51 -0600
commitc9a8fef513daf0ee7f47f359b14096f9ed4932bb (patch)
tree224c268335329710cbc4c180a618f2e8362f3097 /system/binutils/gold-mips.patch
parent47b9d3480f3c77d86475e0bd1bd0d8fa1e5c9024 (diff)
downloadpackages-c9a8fef513daf0ee7f47f359b14096f9ed4932bb.tar.gz
packages-c9a8fef513daf0ee7f47f359b14096f9ed4932bb.tar.bz2
packages-c9a8fef513daf0ee7f47f359b14096f9ed4932bb.tar.xz
packages-c9a8fef513daf0ee7f47f359b14096f9ed4932bb.zip
system/binutils: import from aports with Adelie 2.29
Diffstat (limited to 'system/binutils/gold-mips.patch')
-rw-r--r--system/binutils/gold-mips.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/system/binutils/gold-mips.patch b/system/binutils/gold-mips.patch
new file mode 100644
index 000000000..291a2aae6
--- /dev/null
+++ b/system/binutils/gold-mips.patch
@@ -0,0 +1,39 @@
+# DP: Fix gold on mips64 targets.
+
+gold/
+
+2016-08-09 Aurelien Jarno <aurelien@aurel32.net>
+
+ * configure.tgt: Add mips64el*-*-*|mips64le*-*-* and mips64*-*-*.
+
+
+--- a/gold/configure.tgt
++++ b/gold/configure.tgt
+@@ -153,6 +153,13 @@ aarch64*-*)
+ targ_big_endian=false
+ targ_extra_big_endian=true
+ ;;
++mips*64*el*-*-*|mips*64*le*-*-*)
++ targ_obj=mips
++ targ_machine=EM_MIPS_RS3_LE
++ targ_size=64
++ targ_big_endian=false
++ targ_extra_big_endian=true
++ ;;
+ mips*el*-*-*|mips*le*-*-*)
+ targ_obj=mips
+ targ_machine=EM_MIPS_RS3_LE
+@@ -160,6 +167,13 @@ mips*el*-*-*|mips*le*-*-*)
+ targ_big_endian=false
+ targ_extra_big_endian=true
+ ;;
++mips*64*-*-*)
++ targ_obj=mips
++ targ_machine=EM_MIPS
++ targ_size=64
++ targ_big_endian=true
++ targ_extra_big_endian=false
++ ;;
+ mips*-*-*)
+ targ_obj=mips
+ targ_machine=EM_MIPS