URL
https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk
Subversion Repositories open8_urisc
Compare Revisions
- This comparison shows the changes necessary to convert path
/open8_urisc/trunk/gnu/binutils/ld/testsuite/ld-ifunc
- from Rev 157 to Rev 163
- ↔ Reverse comparison
Rev 157 → Rev 163
/ifunc-15-i386.d
0,0 → 1,13
#source: ifunc-15-i386.s |
#ld: -shared -m elf_i386 -z nocombreloc |
#as: --32 |
#readelf: -r --wide |
#target: x86_64-*-* i?86-*-* |
|
Relocation section '.rel.got' at offset 0x[0-9a-f]+ contains 1 entries: |
[ ]+Offset[ ]+Info[ ]+Type[ ]+.* |
[0-9a-f]+[ ]+[0-9a-f]+[ ]+R_386_GLOB_DAT[ ]+ifunc\(\)[ ]+ifunc |
|
Relocation section '.rel.plt' at offset 0x[0-9a-f]+ contains 1 entries: |
[ ]+Offset[ ]+Info[ ]+Type[ ]+.* |
[0-9a-f]+[ ]+[0-9a-f]+[ ]+R_386_JUMP_SLOT[ ]+ifunc\(\)[ ]+ifunc |
/ifunc-3a-x86.d
4,5 → 4,5
#target: x86_64-*-* i?86-*-* |
|
#... |
[ \t0-9a-f]+:[ \t0-9a-f]+call[ \t0-9a-fq]+<\*ABS\*(\+0x1b0|\+0x260|)@plt> |
[ \t0-9a-f]+:[ \t0-9a-f]+call[ \t0-9a-fq]+<\*ABS\*(\+0x1b0|\+0x240|)@plt> |
#pass |
/ifunc-15-i386.s
0,0 → 1,10
.text |
.type foo, @function |
.global |
foo: |
movl ifunc@GOT(%ebx), %eax |
ret |
.type ifunc, @gnu_indirect_function |
.globl ifunc |
ifunc: |
ret |
/ifunc-15-x86-64.d
0,0 → 1,13
#source: ifunc-15-x86-64.s |
#ld: -shared -m elf_x86_64 -z nocombreloc |
#as: --64 |
#readelf: -r --wide |
#target: x86_64-*-* |
|
Relocation section '.rela.got' at offset 0x[0-9a-f]+ contains 1 entries: |
[ ]+Offset[ ]+Info[ ]+Type[ ]+.* |
[0-9a-f]+[ ]+[0-9a-f]+[ ]+R_X86_64_GLOB_DAT[ ]+ifunc\(\)[ ]+ifunc \+ 0 |
|
Relocation section '.rela.plt' at offset 0x[0-9a-f]+ contains 1 entries: |
[ ]+Offset[ ]+Info[ ]+Type[ ]+.* |
[0-9a-f]+[ ]+[0-9a-f]+[ ]+R_X86_64_JUMP_SLOT[ ]+ifunc\(\)[ ]+ifunc \+ 0 |
/ifunc-15-x86-64.s
0,0 → 1,10
.text |
.type foo, @function |
.global |
foo: |
movl ifunc@GOTPCREL(%rip), %eax |
ret |
.type ifunc, @gnu_indirect_function |
.globl ifunc |
ifunc: |
ret |
/ifunc-16-x86-64.d
0,0 → 1,10
#source: ifunc-16-x86.s |
#as: --64 |
#ld: -shared -melf_x86_64 |
#readelf: -r --wide |
#target: x86_64-*-* |
|
Relocation section '.rela.plt' at .* |
[ ]+Offset[ ]+Info[ ]+Type[ ]+.* |
[0-9a-f]+[ ]+[0-9a-f]+[ ]+R_X86_64_JUMP_SLOT[ ]+0+[ ]+ifunc \+ 0 |
[0-9a-f]+[ ]+[0-9a-f]+[ ]+R_X86_64_IRELATIVE[ ]+[0-9a-f]* |
/ifunc-13-i386.d
5,15 → 5,14
#readelf: -r --wide |
#target: x86_64-*-* i?86-*-* |
|
Relocation section '.rel.got' at .* |
Relocation section '.rel.got' at offset 0x[0-9a-f]+ contains 1 entries: |
[ ]+Offset[ ]+Info[ ]+Type[ ]+.* |
#... |
[0-9a-f]+[ ]+[0-9a-f]+[ ]+R_386_GLOB_DAT[ ]+ifunc\(\)[ ]+ifunc |
#... |
Relocation section '.rel.ifunc' at .* |
[0-9a-f]+[ ]+[0-9a-f]+[ ]+R_386_RELATIVE[ ]+ |
|
Relocation section '.rel.ifunc' at offset 0x[0-9a-f]+ contains 1 entries: |
[ ]+Offset[ ]+Info[ ]+Type[ ]+.* |
[0-9a-f]+[ ]+[0-9a-f]+[ ]+R_386_32[ ]+ifunc\(\)[ ]+ifunc |
#... |
Relocation section '.rel.plt' at .* |
|
Relocation section '.rel.plt' at offset 0x[0-9a-f]+ contains 1 entries: |
[ ]+Offset[ ]+Info[ ]+Type[ ]+.* |
[0-9a-f]+[ ]+[0-9a-f]+[ ]+R_386_JUMP_SLOT[ ]+ifunc\(\)[ ]+ifunc |
/ifunc-13-x86-64.d
5,14 → 5,10
#readelf: -r --wide |
#target: x86_64-*-* |
|
Relocation section '.rela.got' at .* |
Relocation section '.rela.ifunc' at offset 0x[0-9a-f]+ contains 1 entries: |
[ ]+Offset[ ]+Info[ ]+Type[ ]+.* |
[0-9a-f]+[ ]+[0-9a-f]+[ ]+R_X86_64_GLOB_DAT[ ]+ifunc\(\)[ ]+ifunc \+ 0 |
#... |
Relocation section '.rela.ifunc' at .* |
[ ]+Offset[ ]+Info[ ]+Type[ ]+.* |
[0-9a-f]+[ ]+[0-9a-f]+[ ]+R_X86_64_64[ ]+ifunc\(\)[ ]+ifunc \+ 0 |
#... |
Relocation section '.rela.plt' at .* |
|
Relocation section '.rela.plt' at offset 0x[0-9a-f]+ contains 1 entries: |
[ ]+Offset[ ]+Info[ ]+Type[ ]+.* |
[0-9a-f]+[ ]+[0-9a-f]+[ ]+R_X86_64_JUMP_SLOT[ ]+ifunc\(\)[ ]+ifunc \+ 0 |
/ifunc-16-i386.d
0,0 → 1,10
#source: ifunc-16-x86.s |
#ld: -shared -m elf_i386 |
#as: --32 |
#readelf: -r --wide |
#target: x86_64-*-* i?86-*-* |
|
Relocation section '.rel.plt' at .* |
[ ]+Offset[ ]+Info[ ]+Type[ ]+.* |
[0-9a-f]+[ ]+[0-9a-f]+[ ]+R_386_JUMP_SLOT[ ]+0+[ ]+ifunc |
[0-9a-f]+[ ]+[0-9a-f]+[ ]+R_386_IRELATIVE[ ]* |
/ifunc-16-x86.s
0,0 → 1,17
.text |
.globl fct |
.type fct, @gnu_indirect_function |
.set fct,resolve |
.hidden int_fct |
.globl int_fct |
.set int_fct,fct |
.p2align 4,,15 |
.type resolve, @function |
resolve: |
call ifunc@PLT |
.size resolve, .-resolve |
.globl g |
.type g, @function |
g: |
jmp int_fct@PLT |
.size g, .-g |