aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2010-10-08 14:00:50 +0000
committerAlan Modra <amodra@gmail.com>2010-10-08 14:00:50 +0000
commit9ccb8af972518810c66317c6c942d2268bfb5123 (patch)
tree1acdeaaf802f3b87c42d584da4c113d548301124 /gas
parentec3d575a7a6516a1b3065312d228d706de6c49c7 (diff)
downloadgdb-9ccb8af972518810c66317c6c942d2268bfb5123.zip
gdb-9ccb8af972518810c66317c6c942d2268bfb5123.tar.gz
gdb-9ccb8af972518810c66317c6c942d2268bfb5123.tar.bz2
Fix build with -DDEBUG=7
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/obj-coff.c4
2 files changed, 9 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index ad16b9e..b14aa6c 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2010-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ Fix build with -DDEBUG=7
+ * config/obj-coff.c (s_get_name, symbol_dump): Add prototypes.
+
2010-10-07 Bernd Schmidt <bernds@codesourcery.com>
* config/tc-tic6x.c (tic6x_try_encode): Correct encoding of fstg field
diff --git a/gas/config/obj-coff.c b/gas/config/obj-coff.c
index b71040a..d0a4999 100644
--- a/gas/config/obj-coff.c
+++ b/gas/config/obj-coff.c
@@ -1829,12 +1829,16 @@ obj_coff_init_stab_section (segT seg)
}
#ifdef DEBUG
+const char * s_get_name (symbolS *);
+
const char *
s_get_name (symbolS *s)
{
return ((s == NULL) ? "(NULL)" : S_GET_NAME (s));
}
+void symbol_dump (void);
+
void
symbol_dump (void)
{