1 2 3 4 5 6 7 8 9 10
#ld: -r -E #readelf: -s --wide #target: *-*-linux* *-*-gnu* *-*-solaris* Symbol table '\.symtab' contains [0-9]+ entries: #... +[0-9]+: +[0-9a-f]+ +[0-9a-f]+ +FUNC +GLOBAL +DEFAULT +[0-9]+ +foo@@VERS.2 #... +[0-9]+: +[0-9a-f]+ +[0-9a-f]+ +FUNC +GLOBAL +DEFAULT +[0-9]+ +foo@VERS.1 #pass