aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/gdb/patches/arc-2016.03/200-arc-fix-target-mask.patch
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/gdb/patches/arc-2016.03/200-arc-fix-target-mask.patch')
-rw-r--r--toolchain/gdb/patches/arc-2016.03/200-arc-fix-target-mask.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/toolchain/gdb/patches/arc-2016.03/200-arc-fix-target-mask.patch b/toolchain/gdb/patches/arc-2016.03/200-arc-fix-target-mask.patch
new file mode 100644
index 0000000000..7e51d588ae
--- /dev/null
+++ b/toolchain/gdb/patches/arc-2016.03/200-arc-fix-target-mask.patch
@@ -0,0 +1,13 @@
+diff --git a/bfd/config.bfd b/bfd/config.bfd
+index 5145d4a..a9c9c99 100644
+--- a/bfd/config.bfd
++++ b/bfd/config.bfd
+@@ -275,7 +275,7 @@ case "${targ}" in
+ targ_defvec=am33_elf32_linux_vec
+ ;;
+
+- arc*-*-elf* | arc*-*-linux-uclibc*)
++ arc*-*-elf* | arc*-*-linux-*)
+ targ_defvec=arc_elf32_le_vec
+ targ_selvecs=arc_elf32_be_vec
+ ;;