#source: pr19617.s
#ld: --dynamic-list-data
#readelf : --dyn-syms --wide
#target: *-*-linux* *-*-gnu* *-*-solaris*

Symbol table '\.dynsym' contains [0-9]+ entries:
 +Num: +Value +Size Type +Bind +Vis +Ndx Name
 +0: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND +
#...
 +[0-9]+: +[a-f0-9]+ +0 +OBJECT +GLOBAL +DEFAULT +[0-9]+ +bar
#pass
