diff options
author | mfortune <matthew.fortune@imgtec.com> | 2014-05-07 22:37:00 +0100 |
---|---|---|
committer | mfortune <matthew.fortune@imgtec.com> | 2014-05-08 15:09:35 +0100 |
commit | 263b257428741e10dc4a127cc46c57379307f421 (patch) | |
tree | 6d60ee48f0ce4e47f69e57e9d5a7d7a04d36d561 /gas/config/tc-mips.h | |
parent | 68e0f6b16d6ce24c912affec6b049a5452c7df3e (diff) | |
download | gdb-263b257428741e10dc4a127cc46c57379307f421.zip gdb-263b257428741e10dc4a127cc46c57379307f421.tar.gz gdb-263b257428741e10dc4a127cc46c57379307f421.tar.bz2 |
Implement CONVERT_SYMBOLIC_ATTRIBUTE for MIPS.
gas/
* config/tc-mips.c (streq): Define.
(mips_convert_symbolic_attribute): New function.
* config/tc-mips.h (CONVERT_SYMBOLIC_ATTRIBUTE): Define.
(mips_convert_symbolic_attribute): New prototype
gas/testsuite/
* gas/mips/attr-gnu-abi-fp-1.s: New.
* gas/mips/attr-gnu-abi-fp-1.d: New.
* gas/mips/attr-gnu-abi-msa-1.s: New.
* gas/mips/attr-gnu-abi-msa-1.d: New.
* gas/mips/mips.exp: Add new tests.
Diffstat (limited to 'gas/config/tc-mips.h')
-rw-r--r-- | gas/config/tc-mips.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/config/tc-mips.h b/gas/config/tc-mips.h index 510e811..0b8e607 100644 --- a/gas/config/tc-mips.h +++ b/gas/config/tc-mips.h @@ -194,4 +194,7 @@ extern int tc_mips_regname_to_dw2regnum (char *regname); 64-bit form for n64 CFIs. */ #define CFI_DIFF_EXPR_OK 0 +#define CONVERT_SYMBOLIC_ATTRIBUTE(name) mips_convert_symbolic_attribute (name) +extern int mips_convert_symbolic_attribute (const char *); + #endif /* TC_MIPS */ |