aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-pe/non-c-lang-syms.s
diff options
context:
space:
mode:
authorDave Korn <dave.korn@artimi.com>2009-05-27 18:40:56 +0000
committerDave Korn <dave.korn@artimi.com>2009-05-27 18:40:56 +0000
commit05056a8d5b72672948f507978c7ce1e2897d30be (patch)
tree1393f040fe5028138329b878204491fd11f24bee /ld/testsuite/ld-pe/non-c-lang-syms.s
parent97c4411662ebaae1d51ff328632f26c82a3bda89 (diff)
downloadgdb-05056a8d5b72672948f507978c7ce1e2897d30be.zip
gdb-05056a8d5b72672948f507978c7ce1e2897d30be.tar.gz
gdb-05056a8d5b72672948f507978c7ce1e2897d30be.tar.bz2
ld/ChangeLog
* deffilep.y (%union): Add new string-type semantic value 'digits'. (%token): Remove NUMBER as token, add DIGITS. (%type): Add NUMBER as type. Add new id types anylang_id, opt_id. (ALIGNCOMM): Parse an anylang_id instead of a plain ID. (anylang_id): New production. (opt_digits): Likewise. (opt_id): Likewise. (NUMBER): Likewise. (def_lex): Return strings of digits in raw string form as DIGITS token, instead of converting to numeric integer type. ld/testsuite/ChangeLog * ld-pe/non-c-lang-syms.c: New dump test source file. * ld-pe/non-c-lang-syms.d: New dump test pattern file. * ld-pe/pe.exp: Run new "foreign symbol" test.
Diffstat (limited to 'ld/testsuite/ld-pe/non-c-lang-syms.s')
-rwxr-xr-xld/testsuite/ld-pe/non-c-lang-syms.s15
1 files changed, 15 insertions, 0 deletions
diff --git a/ld/testsuite/ld-pe/non-c-lang-syms.s b/ld/testsuite/ld-pe/non-c-lang-syms.s
new file mode 100755
index 0000000..e849d9e
--- /dev/null
+++ b/ld/testsuite/ld-pe/non-c-lang-syms.s
@@ -0,0 +1,15 @@
+
+main:
+_main:
+ nop
+
+ .comm _test_equiv.eq.1_, 16, 4
+ .comm _test_equiv.eq.100, 16, 5
+ .comm _test_equiv.eq._, 16, 6
+ .comm _test_equiv.eq., 16, 7
+
+ .comm _test$equiv.eq.1_, 16, 4
+ .comm _test$equiv.eq.100, 16, 5
+ .comm _test$equiv.eq._, 16, 6
+ .comm _test$equiv.eq., 16, 7
+