diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2020-07-20 04:53:58 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2020-07-20 04:53:58 -0700 |
commit | 98b3697bcdedb92739d8feb9b881efdd70fd40d3 (patch) | |
tree | 007f78375405e49d5d595b19b8cbcd1369292c8d /ld/testsuite/ld-x86-64/pr26263.d | |
parent | c06ad8b573d89511ec9c8bd33d3f3f55d404ed63 (diff) | |
download | fsf-binutils-gdb-98b3697bcdedb92739d8feb9b881efdd70fd40d3.zip fsf-binutils-gdb-98b3697bcdedb92739d8feb9b881efdd70fd40d3.tar.gz fsf-binutils-gdb-98b3697bcdedb92739d8feb9b881efdd70fd40d3.tar.bz2 |
x86: Update PR gas/26263 linker tests
Update and run PR gas/26263 linker tests for all x86 ELF targets to
accept any program header layout.
PR gas/26263
* testsuite/ld-i386/pr26263.d: Updated.
* testsuite/ld-x86-64/pr26263.d: Likewise.
* testsuite/ld-x86-64/x86-64.exp: Run gas/26263 test for all ELF
targets.
Diffstat (limited to 'ld/testsuite/ld-x86-64/pr26263.d')
-rw-r--r-- | ld/testsuite/ld-x86-64/pr26263.d | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ld/testsuite/ld-x86-64/pr26263.d b/ld/testsuite/ld-x86-64/pr26263.d index 375218c..cdc43f2 100644 --- a/ld/testsuite/ld-x86-64/pr26263.d +++ b/ld/testsuite/ld-x86-64/pr26263.d @@ -7,12 +7,12 @@ Disassembly of section .text: -0+1000 <printk>: +0+[a-f0-9]+ <printk>: +[a-f0-9]+: c3 ret Disassembly of section .init.text: -0+1001 <foo>: - +[a-f0-9]+: e8 fa ff ff ff call 1000 <printk> - +[a-f0-9]+: e8 f5 ff ff ff call 1000 <printk> +0+[a-f0-9]+ <foo>: + +[a-f0-9]+: e8 ([0-9a-f]{2} ){4} call [a-f0-9]+ <printk> + +[a-f0-9]+: e8 ([0-9a-f]{2} ){4} call [a-f0-9]+ <printk> #pass |