ld-dynamic test fixes
[deliverable/binutils-gdb.git] / ld / testsuite / ld-dynamic / export-dynamic-symbol-2.d
index d38508a5b5a51ce0bc9266f5fd5936b8984ef800..eaffc3ae39e617a735706efaa37a0de7af3ce266 100644 (file)
@@ -2,8 +2,11 @@
 #source: export-dynamic-symbol.s
 #ld: -pie -u foo --export-dynamic-symbol foo --export-dynamic-symbol=bar tmpdir/libpr25910.a
 #nm: -D
+# mips-sgi-irix6 makes foo and bar SHN_MIPS_DATA (SHN_LOPROC+2) due to the
+# testcase carelessly leaving them untyped which mips gas turns into
+# STT_OBJECT type.  nm interprets SHN_MIPS_DATA (incorrectly) to be A type.
 
 #...
-[0-9a-f]+ T +bar
-[0-9a-f]+ T +foo
+[0-9a-f]+ [AT] +bar
+[0-9a-f]+ [AT] +foo
 #...
This page took 0.023115 seconds and 4 git commands to generate.