diff options
author | Kevin Buettner <kevinb@redhat.com> | 2002-11-18 21:08:54 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2002-11-18 21:08:54 +0000 |
commit | 14e777e044ce425c1799f10cb92a641847064915 (patch) | |
tree | a93dc4285bc9e2223bc5c3d4d225bf7f688a2a59 /gas/config | |
parent | a672ef132642555bbf881f57232d37c8590a0cab (diff) | |
download | gdb-14e777e044ce425c1799f10cb92a641847064915.zip gdb-14e777e044ce425c1799f10cb92a641847064915.tar.gz gdb-14e777e044ce425c1799f10cb92a641847064915.tar.bz2 |
Add support for 64-bit DWARF 2 formats to gas.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-mips.c | 9 | ||||
-rw-r--r-- | gas/config/tc-mips.h | 3 |
2 files changed, 12 insertions, 0 deletions
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c index 02e9e9f..c17e70a 100644 --- a/gas/config/tc-mips.c +++ b/gas/config/tc-mips.c @@ -14550,3 +14550,12 @@ MIPS options:\n\ -64 create 64 ABI object file\n")); #endif } + +enum dwarf2_format +mips_dwarf2_format () +{ + if (mips_abi == N64_ABI) + return dwarf2_format_64bit_irix; + else + return dwarf2_format_32bit; +} diff --git a/gas/config/tc-mips.h b/gas/config/tc-mips.h index 76c13dc..2c0f3fa 100644 --- a/gas/config/tc-mips.h +++ b/gas/config/tc-mips.h @@ -182,4 +182,7 @@ extern void mips_flush_pending_output PARAMS ((void)); extern void mips_enable_auto_align PARAMS ((void)); #define md_elf_section_change_hook() mips_enable_auto_align() +extern enum dwarf2_format mips_dwarf2_format PARAMS ((void)); +#define DWARF2_FORMAT() mips_dwarf2_format () + #endif /* TC_MIPS */ |