* 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.
This commit is contained in:
Hans-Peter Nilsson 2000-05-21 18:26:10 +00:00
parent f48026f7d7
commit 0aa5d42641
6 changed files with 245 additions and 223 deletions

View file

@ -1,4 +1,15 @@
Sat May 20 03:49:32 2000 Hans-Peter Nilsson <hp@bitrange.com>
Sat May 20 16:41:55 2000 Hans-Peter Nilsson <hp@axis.com>
* 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.
* Makefile.am (TARG_ENV_HFILES): Delete te-multi.h.
* Makefile.in: Regenerated.

431
gas/configure vendored

File diff suppressed because it is too large Load diff

View file

@ -676,12 +676,12 @@ for em in . $emulations ; do
fmt=elf file=mipself ;;
mipsbecoff | mipslecoff)
fmt=ecoff file=mipsecoff ;;
i386aout)
fmt=aout file=i386aout ;;
i386coff)
fmt=coff file=i386coff ;;
i386elf)
fmt=elf file=i386elf ;;
*coff)
fmt=coff file=$em ;;
*aout)
fmt=aout file=$em ;;
*elf)
fmt=elf file=$em ;;
esac
formats="$formats $fmt"
emfiles="$emfiles e-$file.o"

View file

@ -1406,8 +1406,8 @@ generate a @code{.file} symbol if none was generated previously.
@item SEPARATE_STAB_SECTIONS
@cindex SEPARATE_STAB_SECTIONS
You may define this macro to indicate that stabs should be placed in separate
sections, as in ELF.
You may define this macro to a nonzero value to indicate that stabs should be
placed in separate sections, as in ELF.
@item INIT_STAB_SECTION
@cindex INIT_STAB_SECTION

View file

@ -89,6 +89,7 @@ enum linkonce_type
extern void pop_insert PARAMS ((const pseudo_typeS *));
extern unsigned int get_stab_string_offset
PARAMS ((const char *string, const char *stabstr_secname));
extern void aout_process_stab PARAMS ((int, const char *, int, int, int));
extern char *demand_copy_C_string PARAMS ((int *len_pointer));
extern char get_absolute_expression_and_terminator
PARAMS ((long *val_pointer));

View file

@ -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;