aboutsummaryrefslogtreecommitdiff
path: root/gas/dwarf2dbg.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-08-27 11:09:43 +0000
committerAlan Modra <amodra@gmail.com>2002-08-27 11:09:43 +0000
commit7065849339c3e156a2a3176f91664e3fa87d549e (patch)
tree55c6dbb4bd91dbafb34317194ad0abbbe9d961b6 /gas/dwarf2dbg.c
parent88f7bcd5a785b91a33632bea6682c3d31f2df034 (diff)
downloadgdb-7065849339c3e156a2a3176f91664e3fa87d549e.zip
gdb-7065849339c3e156a2a3176f91664e3fa87d549e.tar.gz
gdb-7065849339c3e156a2a3176f91664e3fa87d549e.tar.bz2
* dwarf2dbg.c: Always include dwarf2dbg.h.
(dwarf2_directive_file): Adjust dummy version args. * ecoff.c (ecoff_directive_weakext): Add ATTRIBUTE_UNUSED. * expr.c (clean_up_expression <O_subtract>): Allow subtraction when symbol values differ. * read.c (do_align): Add ATTRIBUTE_UNUSED to label. (pseudo_set <O_subtract>): Remove unnecessary segment test. * config/obj-bout.c (obj_pseudo_table): Warning fix.
Diffstat (limited to 'gas/dwarf2dbg.c')
-rw-r--r--gas/dwarf2dbg.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/gas/dwarf2dbg.c b/gas/dwarf2dbg.c
index 0f459a5..f8a388b 100644
--- a/gas/dwarf2dbg.c
+++ b/gas/dwarf2dbg.c
@@ -1,5 +1,5 @@
/* dwarf2dbg.c - DWARF2 debug support
- Copyright 1999, 2000, 2001 Free Software Foundation, Inc.
+ Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
Contributed by David Mosberger-Tang <davidm@hpl.hp.com>
This file is part of GAS, the GNU Assembler.
@@ -41,9 +41,10 @@
#endif
#endif
+#include "dwarf2dbg.h"
+
#ifdef BFD_ASSEMBLER
-#include "dwarf2dbg.h"
#include "subsegs.h"
#include "elf/dwarf2.h"
@@ -1340,11 +1341,12 @@ dwarf2_emit_insn (size)
{
}
-void
+char *
dwarf2_directive_file (dummy)
int dummy ATTRIBUTE_UNUSED;
{
s_app_file (0);
+ return NULL;
}
void