Browse Source
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.gdb-csl-arm-20051020-branch
11 changed files with 91 additions and 23 deletions
@ -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_() {} |
|||
|
|||
@ -0,0 +1,2 @@ |
|||
[0]* g DO \*ABS\* [0]* VERS_31.0 VERS_31.0 |
|||
[0-9a-f]* g DF (.text|\*ABS\*) [0-9a-f]* VERS_31.0 _Z1fIA3_icEvPT_T0 |
|||
@ -0,0 +1,5 @@ |
|||
VERS_31.0 { |
|||
extern "C++" { |
|||
"void f<int [3], char>(int (*) [3], char)"; |
|||
}; |
|||
}; |
|||
@ -0,0 +1,3 @@ |
|||
Version definitions: |
|||
1 0x01 0x0966595f vers31.so |
|||
2 0x00 0x07923ab0 VERS_31.0 |
|||
Loading…
Reference in new issue