1 #ld: -shared $srcdir/$subdir/pr19698.t 2 #readelf : --dyn-syms --wide 3 #target: *-*-linux* *-*-gnu* *-*-solaris* 4 5 Symbol table '\.dynsym' contains [0-9]+ entries: 6 #... 7 +[0-9]+: +[0-9a-f]+ +[0-9a-f]+ +FUNC +GLOBAL +DEFAULT +[0-9]+ +foo@VERS.1 8 #... 9 +[0-9]+: +[0-9a-f]+ +[0-9a-f]+ +FUNC +GLOBAL +DEFAULT +[0-9]+ +foo@@VERS.2 10 #pass 11