New test
This commit is contained in:
parent
3f9ce309b7
commit
f24f8f707c
|
@ -1,3 +1,8 @@
|
||||||
|
2007-03-27 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
|
* gas/ppc/reloc.s: New.
|
||||||
|
* gas/ppc/reloc.d: New.
|
||||||
|
|
||||||
2007-03-26 Julian Brown <julian@codesourcery.com>
|
2007-03-26 Julian Brown <julian@codesourcery.com>
|
||||||
|
|
||||||
* gas/arm/neon-const.s: Use FP syntax for 0/-0.
|
* gas/arm/neon-const.s: Use FP syntax for 0/-0.
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
#readelf: -r --wide
|
||||||
|
#name: reloc
|
||||||
|
|
||||||
|
Relocation section '\.rela\.data' at .* contains 2 entries:
|
||||||
|
Offset Info Type Sym\. Value Symbol's Name \+ Addend
|
||||||
|
0+08 .* R_PPC_ADDR32 .* y \+ f+fc
|
||||||
|
0+0c .* R_PPC_ADDR32 .* y \+ 0
|
||||||
|
|
||||||
|
Relocation section '\.rela\.data\.other' at .* contains 2 entries:
|
||||||
|
Offset Info Type Sym\. Value Symbol's Name \+ Addend
|
||||||
|
0+00 .* R_PPC_ADDR32 .* x \+ 0
|
||||||
|
0+04 .* R_PPC_ADDR32 .* x \+ f+fc
|
|
@ -0,0 +1,13 @@
|
||||||
|
.reloc x+8, R_PPC_ADDR32, y-4
|
||||||
|
|
||||||
|
.data
|
||||||
|
x:
|
||||||
|
.long 0,0,0,0
|
||||||
|
|
||||||
|
.section .data.other,"aw",@progbits
|
||||||
|
y:
|
||||||
|
.long 0,0,0,0
|
||||||
|
|
||||||
|
.reloc 0, R_PPC_ADDR32, x
|
||||||
|
.reloc y+4, R_PPC_ADDR32, x-4
|
||||||
|
.reloc x+12, R_PPC_ADDR32, y
|
Loading…
Reference in New Issue