summaryrefslogtreecommitdiff
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
commitc4643cd84d3c011dcef3d2439b39e48141534c1d (patch)
treef79d48b1026e7e6ab562f3f205dfd0ebc00655ce /gas/stabs.c
parentf36569301f48af90df158d831afdde6060e999f1 (diff)
downloadbinutils-redhat-c4643cd84d3c011dcef3d2439b39e48141534c1d.tar.gz
* 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 7c13c2f1e0..d8f66b45f4 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;