mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-21 18:39:34 +08:00
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:
@ -1401,7 +1401,7 @@ obj_elf_size (ignore)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Handle the ELF .type pseudo-op. This sets the type of a symbol.
|
/* 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
|
The first (used on Solaris) is
|
||||||
.type SYM,#function
|
.type SYM,#function
|
||||||
@ -1411,6 +1411,8 @@ obj_elf_size (ignore)
|
|||||||
.type SYM STT_FUNC
|
.type SYM STT_FUNC
|
||||||
The fourth (used on NetBSD/Arm and Linux/ARM) is
|
The fourth (used on NetBSD/Arm and Linux/ARM) is
|
||||||
.type SYM,%function
|
.type SYM,%function
|
||||||
|
The fifth (used on SVR4/860) is
|
||||||
|
.type SYM,"function"
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static void
|
static void
|
||||||
@ -1435,6 +1437,7 @@ obj_elf_type (ignore)
|
|||||||
SKIP_WHITESPACE ();
|
SKIP_WHITESPACE ();
|
||||||
if ( *input_line_pointer == '#'
|
if ( *input_line_pointer == '#'
|
||||||
|| *input_line_pointer == '@'
|
|| *input_line_pointer == '@'
|
||||||
|
|| *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;
|
*input_line_pointer = c;
|
||||||
|
|
||||||
|
if (*input_line_pointer == '"')
|
||||||
|
++input_line_pointer;
|
||||||
|
|
||||||
symbol_get_bfdsym (sym)->flags |= type;
|
symbol_get_bfdsym (sym)->flags |= type;
|
||||||
|
|
||||||
demand_empty_rest_of_line ();
|
demand_empty_rest_of_line ();
|
||||||
|
434
gas/configure
vendored
434
gas/configure
vendored
File diff suppressed because it is too large
Load Diff
@ -265,6 +265,9 @@ changequote([,])dnl
|
|||||||
i386-*-mingw32*) fmt=coff em=pe bfd_gas=yes ;;
|
i386-*-mingw32*) fmt=coff em=pe bfd_gas=yes ;;
|
||||||
i386-*-*nt*) fmt=coff em=pe bfd_gas=yes ;;
|
i386-*-*nt*) fmt=coff em=pe bfd_gas=yes ;;
|
||||||
i386-*-vxworks*) fmt=aout ;;
|
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-*-bout) fmt=bout ;;
|
||||||
i960-*-coff) fmt=coff em=ic960 ;;
|
i960-*-coff) fmt=coff em=ic960 ;;
|
||||||
i960-*-rtems*) fmt=coff em=ic960 ;;
|
i960-*-rtems*) fmt=coff em=ic960 ;;
|
||||||
|
Reference in New Issue
Block a user