aboutsummaryrefslogtreecommitdiff
path: root/gas/app.c
AgeCommit message (Collapse)AuthorFilesLines
2007-07-20 * app.c (do_scrub_chars): Provide a one character buffer to hold aNick Clifton1-0/+6
pushed back newline at the end of an unterminated quoted string.
2007-07-03Switch to GPLv3Nick Clifton1-5/+5
2007-07-03 PR 4722Alan Modra1-0/+2
* app.c (do_scrub_chars <state 5>): Check for output buffer full after memcpy.
2007-05-28 * app.c (do_scrub_chars): Cope with \ at end of buffer.xNathan Sidwell1-1/+9
2007-05-15 gas/Mark Shinwell1-0/+9
* app.c (do_scrub_chars): Don't damage \@ pseudo-variables. gas/testsuite/ * gas/arm/backslash-at.d: New. * gas/arm/backslash-at.s: New.
2007-03-152007-03-15 Alexandre Oliva <aoliva@redhat.com>H.J. Lu1-2/+1
PR gas/4184 * app.c (do_scrub_chars): PUT after setting states.
2007-03-09* app.c (do_scrub_chars): Recognize comments after # line "file".Alexandre Oliva1-12/+2
* read.c (get_linefile_number): New. (s_app_line): Accept ill-formed .linefile lines as comments.
2007-03-09* app.c (do_scrub_chars): Turn #<line>"file"flags into .linefile.Alexandre Oliva1-30/+19
* as.h (new_logical_line_flags): New. * input-scrub.c (new_logical_line): Turned into wrapper for... (new_logical_line_flags): this. Handle flags. * read.c (potable): Add linefile. Adjust appline argument. (s_app_file): Fake .appfiles no more. (s_app_line): For .linefile, accept file name and flags.
2006-06-07remove some duplicate #include's.Alan Modra1-3/+2
2006-05-09 * expr.c (operand): Remove `if (0 && ..)' statement andBen Elliston1-3/+0
subsequently unused target_op label. Collapse `if (1 || ..)' statement. * app.c (do_scrub_chars): Remove unused case 0, as it is handled separately above the switch.
2006-03-10 * app.c (do_scrub_chars): Simplify string handling.Ben Elliston1-20/+3
2005-10-25Add support for the Z80 processor familyNick Clifton1-0/+54
2005-09-29 * app.c (do_scrub_chars): Match open and close quote of strings.Alan Modra1-11/+10
Remove redundant EOF test in case 7.
2005-09-28 * app.c (do_scrub_chars <LEX_IS_SYMBOL_COMPONENT>): Check for fullAlan Modra1-0/+2
buffer after copying string.
2005-05-05Update the address and phone number of the FSFNick Clifton1-2/+2
2005-03-03update copyright datesAlan Modra1-1/+1
2003-11-24 * app.c (do_scrub_chars): Add PUT (ch) and ch = GET ()Jakub Jelinek1-1/+5
when transitioning from states 14 or 15 to 0 or 1.
2003-11-22 * app.c (do_scrub_chars): Revert 2003-04-23 and 2003-04-22.Alan Modra1-4/+2
2003-11-21 * app.c: Convert to ISO-C.Kazu Hirata1-12/+6
* as.h: Likewise. * atof-generic.c: Likewise. * bignum-copy.c: Likewise. * bignum.h: Likewise. * cgen.c: Likewise. * cgen.h: Likewise. * cond.c: Likewise.
2003-06-072003-06-07 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu1-0/+25
* app.c (do_scrub_chars): Add states 14 and 15 to handle predicate for ia64.
2003-04-24Add support for h8300hn and h8300snNick Clifton1-1/+1
2003-04-23More checks for valid labelsNick Clifton1-45/+37
2003-04-222003-04-22 H.J. Lu <hjl@gnu.org>H.J. Lu1-2/+3
* app.c (do_scrub_chars): Check for valid label.
2003-02-19 * app.c (do_scrub_chars): Handle '||' in two states.Alan Modra1-30/+45
2002-08-27 * app.c (do_scrub_chars): Don't test IGNORE_NONSTANDARD_ESCAPES. Tidy.Alan Modra1-12/+9
2002-05-18 * app.c: Fix formatting.Kazu Hirata1-7/+7
* as.c: Likewise. * ehopt.c: Likewise. * expr.c: Likewise. * input-file.c: Likewise. * listing.c: Likewise. * macro.h: Likewise. * stabs.c: Likewise. * symbols.c: Likewise.
2002-05-02 * app.c (mri_pseudo): Only declare for TC_M68K.Alan Modra1-3/+3
2001-10-11 * app.c: Fix comment typos.Kazu Hirata1-1/+1
* bit_fix.h: Likewise. * expr.c: Likewise. * itbl-ops.c: Likewise.
2001-08-01 * read.c: Standardize error/warning messages - don't capitalise, noAlan Modra1-5/+5
final period or newline, don't say "ignored" or "zero assumed" for as_bad messages. In some cases, change the wording to that used elsewhere for similar messages. * app.c, as.c, atof-generic.c, cgen.c, cond.c, depend.c, dwarf2dbg.c, ecoff.c, expr.c, frags.c, input-file.c, input-scrub.c, listing.c, output-file.c, stabs.c, subsegs.c, symbols.c, write.c: Likewise. * ecoff.c (ecoff_directive_end): Test for missing name by comparing input line pointers rather than reading string. (ecoff_directive_ent): Likewise. * read.c (s_set): Likewise. (s_align): Report a warning rather than an error for alignment too large. (s_comm): Check for missing symbol name. (s_lcomm_internal): Likewise. (s_lsym): Likewise. (s_globl): Use is_end_of_line instead of looking for '\n'. (s_lcomm_internal): Likewise. (ignore_rest_of_line): Report a warning rather than an error.
2001-07-252001-07-25 Dave Brolley <brolley@redhat.com>Dave Brolley1-1/+18
* app.c (LEX_IS_PARALLEL_SEPARATOR): New macro. (IS_PARALLEL_SEPARATOR): New macro. (do_scrub_begin): Set up characters in tc_parallel_separator_chars as LEX_IS_PARALLEL_SEPARATOR, if it is defined. (do_scrub_chars): Handle LEX_PARALLEL_SEPARATOR chars like LEX_LINE_SEPARATOR except that we go to state 1 (as if the label has been seen).
2001-03-08Fix copyright noticesNick Clifton1-1/+2
2000-10-112000-10-12 Kazu Hirata <kazu@hxi.com>Kazu Hirata1-38/+40
* app.c: Fix formatting. * as.c: Likewise. * as.h: Likewise. * bit_fix.h: Likewise. * cgen.c: Likewise. * cgen.h: Likewise. * cond.c: Likewise.
2000-08-302000-08-29 Kazu Hirata <kazu@hxi.com>Kazu Hirata1-13/+13
* app.c: Fix a comment typo. Fix formatting.
2000-07-28comment-finding hack for hppa-linux.Alan Modra1-0/+4
2000-06-09Don't treat `;' as a line separator by default.Alan Modra1-1/+0
Explicitly mention `;' in line_separator_chars in each backend.
2000-04-21IA-64 ELF support.Jim Wilson1-0/+15
2000-04-02 * app.c: Add ATTRIBUTE_UNUSED as needed.Ian Lance Taylor1-1/+1
* config/tc-ppc.c: Likewise. (ppc_size): Make unsigned long. (ppc_insert_operand): Add casts to avoid warnings.
2000-02-24Remove dead code when not TC_M68K.Alan Modra1-8/+18
2000-02-23Add IBM 370 support.Alan Modra1-1/+2
2000-02-10New preprocessor options.Timothy Wall1-3/+25
1999-11-091999-11-08 Andrew Haley <aph@cygnus.com>Andrew Haley1-0/+17
* app.c (do_scrub_chars): When in State 10, treat backslash characters in the same way as as symbol characters.
1999-07-11 * Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSEDIan Lance Taylor1-1/+1
as appropriate. Fill in structure initializations. Add variable initializations. Add casts. * dwarf2dbg.c (print_stats): Change i to size_t. * listing.c (listing_listing): Change list_line to unsigned int.
1999-06-03 * app.c (input_buffer): New static variable.Ian Lance Taylor1-32/+34
(app_push): Save saved_input in allocated buffer. (app_pop): Restored saved_input. (do_scrub_chars): Change get parameter to take char * and int as arguments. Change GET macro to pass input_buffer to get function. Don't save input into allocated buffer. * as.h (do_scrub_chars): Update declaration. * input-file.c (input_file_get): Change to take char * and int. Read data into passed in buffer. Remove static buffer. * read.c (scrub_from_string): Change to take char * and int. Copy data into passed in buffer.
1999-05-0319990502 sourceware importbinu_ss_19990502Richard Henderson1-0/+1255