]> git.ipfire.org Git - ipfire-3.x.git/blob - binutils/patches/binutils-2.22.52.0.2-flexible-tests.patch
af6c92709983a9ebf6ee2c2002a7594962ded934
[ipfire-3.x.git] / binutils / patches / binutils-2.22.52.0.2-flexible-tests.patch
1 making some of the address matches more flexible fixes tests when using
2 pax/relro/hash patches
3
4 --- binutils/ld/testsuite/ld-ifunc/ifunc-2-local-x86-64.d
5 +++ binutils/ld/testsuite/ld-ifunc/ifunc-2-local-x86-64.d
6 @@ -4,6 +4,6 @@
7 #target: x86_64-*-*
8
9 #...
10 -[ \t0-9a-f]+:[ \t0-9a-f]+call[ \t0-9a-fq]+<\*ABS\*\+0x220@plt>
11 -[ \t0-9a-f]+:[ \t0-9a-f]+lea[ \t]+.*\(%rip\),%rax.*[ \t0-9a-fq]+<\*ABS\*\+0x220@plt>
12 +[ \t0-9a-f]+:[ \t0-9a-f]+call[ \t0-9a-fq]+<\*ABS\*\+0x[a-f0-9]+@plt>
13 +[ \t0-9a-f]+:[ \t0-9a-f]+lea[ \t]+.*\(%rip\),%rax.*[ \t0-9a-fq]+<\*ABS\*\+0x[a-f0-9]+@plt>
14 #pass
15 --- binutils/ld/testsuite/ld-ifunc/ifunc-2-x86-64.d
16 +++ binutils/ld/testsuite/ld-ifunc/ifunc-2-x86-64.d
17 @@ -4,6 +4,6 @@
18 #target: x86_64-*-*
19
20 #...
21 -[ \t0-9a-f]+:[ \t0-9a-f]+call[ \t0-9a-fq]+<\*ABS\*\+0x220@plt>
22 -[ \t0-9a-f]+:[ \t0-9a-f]+lea[ \t]+.*\(%rip\),%rax.*[ \t0-9a-fq]+<\*ABS\*\+0x220@plt>
23 +[ \t0-9a-f]+:[ \t0-9a-f]+call[ \t0-9a-fq]+<\*ABS\*\+0x[a-f0-9]+@plt>
24 +[ \t0-9a-f]+:[ \t0-9a-f]+lea[ \t]+.*\(%rip\),%rax.*[ \t0-9a-fq]+<\*ABS\*\+0x[a-f0-9]+@plt>
25 #pass