diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2018-02-16 09:32:56 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2018-02-16 09:32:56 -0800 |
commit | 62e2b91b9ae508a9f875fb7f15c2173dbbfa6f25 (patch) | |
tree | 74427f586cf6e81181e9508a0f0dc32fb92322fe /ld | |
parent | 9f4aec8d9788d7d6b03c48d4c4e7f90ffaa7a62e (diff) | |
download | gdb-62e2b91b9ae508a9f875fb7f15c2173dbbfa6f25.zip gdb-62e2b91b9ae508a9f875fb7f15c2173dbbfa6f25.tar.gz gdb-62e2b91b9ae508a9f875fb7f15c2173dbbfa6f25.tar.bz2 |
i386: Update IFUNC tests for PLT address
i386 generates
161: e8 ea ff ff ff call 150 <*ABS*@plt>
instead of
1e1: e8 ea ff ff ff callq 1d0 <*ABS*+0x1e0@plt>
* testsuite/ld-ifunc/ifunc-1-local-x86.d: Update PLT address
for i386.
* testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
* testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 6 | ||||
-rw-r--r-- | ld/testsuite/ld-ifunc/ifunc-1-local-x86.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-ifunc/ifunc-1-x86.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-ifunc/ifunc-3a-x86.d | 2 |
4 files changed, 9 insertions, 3 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index b4ab083..ecebefc 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,5 +1,11 @@ 2018-02-16 H.J. Lu <hongjiu.lu@intel.com> + * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated for i386. + * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise. + * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise. + +2018-02-16 H.J. Lu <hongjiu.lu@intel.com> + * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated. * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise. * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise. diff --git a/ld/testsuite/ld-ifunc/ifunc-1-local-x86.d b/ld/testsuite/ld-ifunc/ifunc-1-local-x86.d index 2459add..3c785d9 100644 --- a/ld/testsuite/ld-ifunc/ifunc-1-local-x86.d +++ b/ld/testsuite/ld-ifunc/ifunc-1-local-x86.d @@ -4,5 +4,5 @@ #map: ifunc-1-local-x86.map #... -[ \t0-9a-f]+:[ \t0-9a-f]+call[ \t0-9a-fq]+<\*ABS\*\+0x[0-9a-f]+@plt> +[ \t0-9a-f]+:[ \t0-9a-f]+call[ \t0-9a-fq]+<\*ABS\*(\+0x[0-9a-f]+|)@plt> #pass diff --git a/ld/testsuite/ld-ifunc/ifunc-1-x86.d b/ld/testsuite/ld-ifunc/ifunc-1-x86.d index 54fcac3..4c5bb8d 100644 --- a/ld/testsuite/ld-ifunc/ifunc-1-x86.d +++ b/ld/testsuite/ld-ifunc/ifunc-1-x86.d @@ -4,5 +4,5 @@ #map: ifunc-1-x86.map #... -[ \t0-9a-f]+:[ \t0-9a-f]+call[ \t0-9a-fq]+<\*ABS\*\+0x[0-9a-f]+@plt> +[ \t0-9a-f]+:[ \t0-9a-f]+call[ \t0-9a-fq]+<\*ABS\*(\+0x[0-9a-f]+|)@plt> #pass diff --git a/ld/testsuite/ld-ifunc/ifunc-3a-x86.d b/ld/testsuite/ld-ifunc/ifunc-3a-x86.d index 400d07a..4954d65 100644 --- a/ld/testsuite/ld-ifunc/ifunc-3a-x86.d +++ b/ld/testsuite/ld-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\*\+0x[0-9a-f]+@plt> +[ \t0-9a-f]+:[ \t0-9a-f]+call[ \t0-9a-fq]+<\*ABS\*(\+0x[0-9a-f]+|)@plt> #pass |