1*56bb7041Schristos #source: pr19636-2.s 2*56bb7041Schristos #as: --32 -mrelax-relocations=no 3*56bb7041Schristos #ld: -pie -E -m elf_i386 -z notext 4*56bb7041Schristos #readelf : -r --wide -x .got -x .got.plt --dyn-syms 5*56bb7041Schristos 6*56bb7041Schristos Relocation section '\.rel\.dyn' at offset [0x0-9a-f]+ contains 1 entry: 7*56bb7041Schristos +Offset +Info +Type +Sym. Value +Symbol's Name 8*56bb7041Schristos [0-9a-f]+ +[0-9a-f]+ +R_386_PC32 +0+ +func 9*56bb7041Schristos 10*56bb7041Schristos Symbol table '\.dynsym' contains [0-9]+ entries: 11*56bb7041Schristos +Num: +Value +Size Type +Bind +Vis +Ndx Name 12*56bb7041Schristos #... 13*56bb7041Schristos +[0-9]+: +[a-f0-9]+ +0 +NOTYPE +WEAK +DEFAULT +UND +func 14*56bb7041Schristos #... 15*56bb7041Schristos 16*56bb7041Schristos Hex dump of section '.got': 17*56bb7041Schristos 0x[0-9a-f]+ [0 ]+\.+ 18*56bb7041Schristos 19*56bb7041Schristos Hex dump of section '.got.plt': 20*56bb7041Schristos 0x[0-9a-f]+ +[0-9a-f]+ +[0 ]+ .* 21