2000-07-28 Jason Eckhardt <jle@cygnus.com>

* configure.in: Add bits for i860-stardent-{sysv4, elf}*.
	* configure: Regenerated.
	* config/obj-elf.c (obj_elf_type): Recognize a fifth type
	of operand to the .type directive (.e.g, "type").
This commit is contained in:
Jason Eckhardt 2000-07-29 03:20:54 +00:00
parent 6e31aea3cd
commit aa8c34c313
3 changed files with 227 additions and 226 deletions

View File

@ -1401,7 +1401,7 @@ obj_elf_size (ignore)
}
/* Handle the ELF .type pseudo-op. This sets the type of a symbol.
There are four syntaxes:
There are five syntaxes:
The first (used on Solaris) is
.type SYM,#function
@ -1411,6 +1411,8 @@ obj_elf_size (ignore)
.type SYM STT_FUNC
The fourth (used on NetBSD/Arm and Linux/ARM) is
.type SYM,%function
The fifth (used on SVR4/860) is
.type SYM,"function"
*/
static void
@ -1435,6 +1437,7 @@ obj_elf_type (ignore)
SKIP_WHITESPACE ();
if ( *input_line_pointer == '#'
|| *input_line_pointer == '@'
|| *input_line_pointer == '"'
|| *input_line_pointer == '%')
++input_line_pointer;
@ -1453,6 +1456,9 @@ obj_elf_type (ignore)
*input_line_pointer = c;
if (*input_line_pointer == '"')
++input_line_pointer;
symbol_get_bfdsym (sym)->flags |= type;
demand_empty_rest_of_line ();

442
gas/configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -265,6 +265,9 @@ changequote([,])dnl
i386-*-mingw32*) fmt=coff em=pe bfd_gas=yes ;;
i386-*-*nt*) fmt=coff em=pe bfd_gas=yes ;;
i386-*-vxworks*) fmt=aout ;;
i860-stardent-sysv4* | i860-stardent-elf*)
fmt=elf bfd_gas=yes endian=little
AC_MSG_WARN(GAS support for ${generic_target} is preliminary and a work in progress) ;;
i960-*-bout) fmt=bout ;;
i960-*-coff) fmt=coff em=ic960 ;;
i960-*-rtems*) fmt=coff em=ic960 ;;