diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2012-12-17 14:53:35 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2012-12-17 14:53:35 +0000 |
commit | 06fc0e223849b3d37b5288f605a2f3b97cf684c4 (patch) | |
tree | edeb5172a01d21ef7fc0ceee3f2a96234f689ba8 /ld/testsuite/ld-elf/var1.d | |
parent | 8b93d60f223f35114d41564aa50a417d4285438e (diff) | |
download | gdb-06fc0e223849b3d37b5288f605a2f3b97cf684c4.zip gdb-06fc0e223849b3d37b5288f605a2f3b97cf684c4.tar.gz gdb-06fc0e223849b3d37b5288f605a2f3b97cf684c4.tar.bz2 |
Add a testcase for PR ld/14962
PR ld/14962
* ld-elf/var1.d: New file.
* ld-elf/var1.s: Likewise.
* ld-elf/var1.t: Likewise.
Diffstat (limited to 'ld/testsuite/ld-elf/var1.d')
-rw-r--r-- | ld/testsuite/ld-elf/var1.d | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/var1.d b/ld/testsuite/ld-elf/var1.d new file mode 100644 index 0000000..4ddfec3 --- /dev/null +++ b/ld/testsuite/ld-elf/var1.d @@ -0,0 +1,10 @@ +#ld: $srcdir/$subdir/var1.t --sort-section name +#nm: -n + +#... +0[0-9a-f]* D var1 +#... +0[0-9a-f]* A var2 +#... +0[0-9a-f]* D var3 +#pass |