aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-mips.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2008-08-04 10:55:48 +0000
committerAlan Modra <amodra@gmail.com>2008-08-04 10:55:48 +0000
commit413a266c4f0c55f4946c249ee3c91f6c0cea9e08 (patch)
tree0b6a3fa196303cd1beebf02a7caf14c3cb07ae52 /gas/config/tc-mips.h
parent323ee3f41cb9db7160cbe159000ebce076efb48e (diff)
downloadfsf-binutils-gdb-413a266c4f0c55f4946c249ee3c91f6c0cea9e08.zip
fsf-binutils-gdb-413a266c4f0c55f4946c249ee3c91f6c0cea9e08.tar.gz
fsf-binutils-gdb-413a266c4f0c55f4946c249ee3c91f6c0cea9e08.tar.bz2
* dwarf2dbg.c: Remove superfluous forward function declarations.
(DWARF2_FORMAT): Add section arg. (out_header): New function, split out from.. (out_debug_line): ..here. (out_debug_aranges): Use out_header. (out_debug_abbrev): Add info_seg and line_seg args. Use DW_FORM_data8 (for DW_AT_stmt_list) if line_seg is 64-bit. (out_debug_info): Use out_header. Output 8 byte DW_AT_stmt_list if line_seg is 64-bit. (dwarf2_finish): Adjust out_debug_abbrev call. * config/tc-mips.h (DWARF2_FORMAT, mips_dwarf2_format): Add sec arg. * config/tc-mips.c (mips_dwarf2_format): Likewise.
Diffstat (limited to 'gas/config/tc-mips.h')
-rw-r--r--gas/config/tc-mips.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/config/tc-mips.h b/gas/config/tc-mips.h
index 171ef7a..ee88f47 100644
--- a/gas/config/tc-mips.h
+++ b/gas/config/tc-mips.h
@@ -163,8 +163,8 @@ extern void mips_enable_auto_align (void);
#define md_elf_section_change_hook() mips_enable_auto_align()
enum dwarf2_format;
-extern enum dwarf2_format mips_dwarf2_format (void);
-#define DWARF2_FORMAT() mips_dwarf2_format ()
+extern enum dwarf2_format mips_dwarf2_format (asection *);
+#define DWARF2_FORMAT(SEC) mips_dwarf2_format (SEC)
extern int mips_dwarf2_addr_size (void);
#define DWARF2_ADDR_SIZE(bfd) mips_dwarf2_addr_size ()