aboutsummaryrefslogtreecommitdiff
path: root/gas/stabs.c
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2000-05-21 18:26:10 +0000
committerHans-Peter Nilsson <hp@axis.com>2000-05-21 18:26:10 +0000
commit0aa5d42641ee478b4c96ab57ce77c798999b4833 (patch)
treece6701d6a5723ff907a91c0f744964d6ddc21141 /gas/stabs.c
parentf48026f7d7fb8dfd61661569ce87aebe3d8385af (diff)
downloadgdb-0aa5d42641ee478b4c96ab57ce77c798999b4833.zip
gdb-0aa5d42641ee478b4c96ab57ce77c798999b4833.tar.gz
gdb-0aa5d42641ee478b4c96ab57ce77c798999b4833.tar.bz2
* stabs.c (aout_process_stab): Make global.
(s_desc): Add ATTRIBUTE_UNUSED to args as appropriate. * read.h (aout_process_stab): Declare. * configure.in (EMULATIONS) [i386aout, i386coff, i386elf]: Generalize to *aout, *coff *elf. * configure: Regenerated. * doc/internals.texi (Object format backend): Say SEPARATE_STAB_SECTIONS needs to be nonzero, not just defined.
Diffstat (limited to 'gas/stabs.c')
-rw-r--r--gas/stabs.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/gas/stabs.c b/gas/stabs.c
index 7c13c2f..d8f66b4 100644
--- a/gas/stabs.c
+++ b/gas/stabs.c
@@ -131,9 +131,8 @@ get_stab_string_offset (string, stabstr_secname)
#define OBJ_PROCESS_STAB(SEG,W,S,T,O,D) aout_process_stab(W,S,T,O,D)
#endif
-static void aout_process_stab PARAMS ((int, const char *, int, int, int));
-
-static void
+/* Here instead of obj-aout.c because other formats use it too. */
+void
aout_process_stab (what, string, type, other, desc)
int what;
const char *string;
@@ -441,7 +440,7 @@ s_xstab (what)
void
s_desc (ignore)
- int ignore;
+ int ignore ATTRIBUTE_UNUSED;
{
char *name;
char c;