diff options
author | Jason Eckhardt <jle@rice.edu> | 2000-07-29 03:20:54 +0000 |
---|---|---|
committer | Jason Eckhardt <jle@rice.edu> | 2000-07-29 03:20:54 +0000 |
commit | aa8c34c3133e686105ab167603c16b48cd4b3bcb (patch) | |
tree | 05d76b8e408b88f552d931bfc7184916eb3dc000 /gas/config | |
parent | 6e31aea3cd1292515d94f42d6b62e6313fff9269 (diff) | |
download | gdb-aa8c34c3133e686105ab167603c16b48cd4b3bcb.zip gdb-aa8c34c3133e686105ab167603c16b48cd4b3bcb.tar.gz gdb-aa8c34c3133e686105ab167603c16b48cd4b3bcb.tar.bz2 |
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").
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/obj-elf.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gas/config/obj-elf.c b/gas/config/obj-elf.c index 1c481a6..378df9a 100644 --- a/gas/config/obj-elf.c +++ b/gas/config/obj-elf.c @@ -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 (); |