aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@imgtec.com>2016-05-03 23:47:55 +0100
committerMaciej W. Rozycki <macro@imgtec.com>2016-05-03 23:51:33 +0100
commit6d6a648c0789fb227ee2adfb089fe0ce8174708d (patch)
treecd55f69021edc1c4d06235742541b9fbd473bcd1 /ld/testsuite
parent99d1b2682145c2b154a8a0d91787e55321f2b269 (diff)
downloadgdb-6d6a648c0789fb227ee2adfb089fe0ce8174708d.zip
gdb-6d6a648c0789fb227ee2adfb089fe0ce8174708d.tar.gz
gdb-6d6a648c0789fb227ee2adfb089fe0ce8174708d.tar.bz2
PR 10549: MIPS/LD: Handle OSABI setting for STB_GNU_UNIQUE
Add missing OSABI handling for MIPS/LD, complementing: commit f64b2e8d60f277b705c96d4b4e585f5f7c847cc4 Author: Nick Clifton <nickc@redhat.com> Date: Mon Apr 11 08:13:22 2011 +0000 Adjust test coverage accordingly. bfd/ PR 10549 * elfxx-mips.c (_bfd_mips_elf_add_symbol_hook): Handle STB_GNU_UNIQUE. ld/ PR 10549 * testsuite/ld-unique/unique.exp: Also run for `mips*-*-*'.
Diffstat (limited to 'ld/testsuite')
-rw-r--r--ld/testsuite/ld-unique/unique.exp3
1 files changed, 2 insertions, 1 deletions
diff --git a/ld/testsuite/ld-unique/unique.exp b/ld/testsuite/ld-unique/unique.exp
index 1892740..c632a92 100644
--- a/ld/testsuite/ld-unique/unique.exp
+++ b/ld/testsuite/ld-unique/unique.exp
@@ -25,10 +25,11 @@
# STB_GNU_UNIQUE support has only been implemented for the ix86, x86_64,
-# arm, powerpc, and sparc so far.
+# arm, mips, powerpc, and sparc so far.
if {!(([istarget "i?86-*-*"]
|| [istarget "x86_64-*-*"]
|| [istarget "arm*-*-*"]
+ || [istarget "mips*-*-*"]
|| [istarget "powerpc*-*-*"]
|| [istarget "sparc*-*-*"])
&& ([istarget "*-*-elf*"]