#name: PR ld/22269 (-z dynamic-undefined-weak)
#source: pr22269.s
#ld: -pie --no-dynamic-linker -z dynamic-undefined-weak
#readelf: -r -x .data.rel.ro
#warning: -z dynamic-undefined-weak ignored
#target: *-*-linux* *-*-gnu* *-*-nacl* arm*-*-uclinuxfdpiceabi
#xfail: ![check_pie_support] 

There are no relocations in this file.

Hex dump of section '.data.rel.ro':
  0x[a-f0-9]+ [0 ]+[ ]+.+
