diff options
author | Mark Mitchell <mark@codesourcery.com> | 2005-10-13 17:29:57 +0000 |
---|---|---|
committer | Mark Mitchell <mark@codesourcery.com> | 2005-10-13 17:29:57 +0000 |
commit | 86043bbbd53f965b6f2003af2f96f55c6702d0de (patch) | |
tree | 7d60692bd4cfd11bcc87add6bf515321c42c27cb /ld/testsuite/ld-elfvers/vers31.c | |
parent | 16451949d7083391405bb46c06a2fadac01f5c42 (diff) | |
download | fsf-binutils-gdb-86043bbbd53f965b6f2003af2f96f55c6702d0de.zip fsf-binutils-gdb-86043bbbd53f965b6f2003af2f96f55c6702d0de.tar.gz fsf-binutils-gdb-86043bbbd53f965b6f2003af2f96f55c6702d0de.tar.bz2 |
* ld.texino: Describe double-quoted string syntax for version
nodes.
* ldlang.h (lang_new_vers_pattern): Add literal_p parameter.
* ldgram.y (vers_defns): Allow NAME as well as VERS_IDENTIFIER.
Adjust calls to lang_new_vers_pattern to pass literal_p argument.
* ldlang.c (lang_vers_match): Fix indentation. Do not glob-match
version nodes without a pattern.
(lang_new_vers_pattern): Add literal_p parameter.
(lang_do_version_exports_section): Pass it.
* ld-elfvers/vers.exp: Add vers31.
* ld-elfvers/vers31.c: New file.
* ld-elfvers/vers31.dsym: Likewise.
* ld-elfvers/vers31.map: Likewise.
* ld-elfvers/vers31.ver: Likewise.
Diffstat (limited to 'ld/testsuite/ld-elfvers/vers31.c')
-rw-r--r-- | ld/testsuite/ld-elfvers/vers31.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elfvers/vers31.c b/ld/testsuite/ld-elfvers/vers31.c new file mode 100644 index 0000000..78d3927 --- /dev/null +++ b/ld/testsuite/ld-elfvers/vers31.c @@ -0,0 +1,6 @@ +/* void f<int [3], char>(int (*) [3], char) */ +void _Z1fIA3_icEvPT_T0_() {} + +/* void f<double [3], long>(double (*) [3], long) */ +void _Z1fIA3_dlEvPT_T0_() {} + |