gold-plugin: fix test to allow default visibility on local symbols
authorMichael Kuperstein <michael.m.kuperstein@intel.com>
Sun, 15 Feb 2015 09:32:30 +0000 (09:32 +0000)
committerMichael Kuperstein <michael.m.kuperstein@intel.com>
Sun, 15 Feb 2015 09:32:30 +0000 (09:32 +0000)
GNU ld sets default, not hidden, visibility on local symbols.
Having default or hidden visibility on local symbols makes no difference in run-time behavior.

Patch by: H.J. Lu <hjl.tools@gmail.com>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229297 91177308-0d34-0410-b5e6-96231b3b80d8

test/tools/gold/pr19901.ll

index 72c54ab9c96e6349ba5b24e8e237c5e21f5362a5..2a7dea155736e0dc895f5ffab4a1ca389f3d1d34 100644 (file)
@@ -9,7 +9,7 @@
 ; CHECK-NEXT:    Size:
 ; CHECK-NEXT:    Binding: Local
 ; CHECK-NEXT:    Type: Function
-; CHECK-NEXT:    Other: 2
+; CHECK-NEXT:    Other: {{2|0}}
 ; CHECK-NEXT:    Section: .text
 ; CHECK-NEXT:  }