aboutsummaryrefslogtreecommitdiff
path: root/gas/app.c
AgeCommit message (Collapse)AuthorFilesLines
2009-09-11 * po/bfd.pot: Updated by the Translation project.Nick Clifton1-1/+1
* po/binutils.pot: Updated by the Translation project. * po/gold.pot: Updated by the Translation project. * po/gold.pot: Updated by the Translation project. * po/gprof.pot: Updated by the Translation project. * po/sv.po: Updated Swedish translation. * po/ld.pot: Updated by the Translation project. * po/fi.po: Updated Finnish translation. * po/ld.pot: Updated by the Translation project. * po/fi.po: Updated Finnish translation. Updated sources to compile cleanly with -Wc++-compat: * basic_blocks.c: Add casts. * cg_dfn.c: Add cast. * corefile.c: Add casts. * gmon_io.c: Add casts. * hist.c: Add cast. * source.c: Add cast. * sym_ids.c (struct match): Moved to top level. Updated soruces in ld/* to compile cleanly with -Wc++-compat: * ld.h (enum endian_enum,enum symbolic_enum,enum dynamic_list_enum): Move to top level. * ldcref.c: Add casts. * ldctor.c: Add casts. * ldexp.c * ldexp.h (enum node_tree_enum,enum phase_enum): Move to top level. * ldlang.c: Add casts. (lang_insert_orphan): Use enum name instead of integer. * ldlang.h (enum statement_enum): Move to top level. * ldmain.c: Add casts. * ldwrite.c: Add casts. * lexsup.c: Add casts. (enum control_enum): Move to top level. * mri.c: Add casts. (mri_draw_tree): Use enum name instead of integer. Updated sources to compile cleanly with -Wc++-compat: * basic_blocks.c: Add casts. * cg_dfn.c: Add cast. * corefile.c: Add casts. * gmon_io.c: Add casts. * hist.c: Add cast. * source.c: Add cast. * sym_ids.c (struct match): Moved to top level. * as.c (main): Call dwarf2_init. * config/obj-elf.c (struct group_list): New field. (build_group_lists): Use hash lookup. (free_section_idx): New function. (elf_frob_file): Adjust. * dwarf2dbg.c (all_segs_hash, last_seg_ptr): New variables. (get_line_subseg): Adjust. (dwarf2_init): New function. * dwarf2dbg.h (dwarf2_init): New declaration.
2009-09-02update copyright datesAlan Modra1-1/+1
2009-06-22 * gas/app, gas/as.c, gas/as.h, gas/atof-generic.c, gas/cgen.c,Nick Clifton1-1/+1
gas/config/atof-ieee.c, gas/config/obj-aout.c, gas/config/obj-coff.c, gas/config/obj-ecoff.c, gas/config/obj-elf.c, gas/config/obj-som.c, gas/config/tc-alpha.c, gas/config/tc-arc.c, gas/config/tc-arm.c, gas/config/tc-cr16.c, gas/config/tc-cris.c, gas/config/tc-crx.c, gas/config/tc-d30v.c, gas/config/tc-dlx.c, gas/config/tc-hppa.c, gas/config/tc-i370.c, gas/config/tc-i386-intel.c, gas/config/tc-i386.c, gas/config/tc-i860.c, gas/config/tc-i960.c, gas/config/tc-ia64.c, gas/config/tc-iq2000.c, gas/config/tc-m32c.c, gas/config/tc-m32r.c, gas/config/tc-m68hc11.c, gas/config/tc-m68k.c, gas/config/tc-maxq.c, gas/config/tc-mcore.c, gas/config/tc-mep.c, gas/config/tc-mips.c, gas/config/tc-mmix.c, gas/config/tc-mn10300.c, gas/config/tc-moxie.c, gas/config/tc-ns32k.c, gas/config/tc-pj.c, gas/config/tc-ppc.c, gas/config/tc-s390.c, gas/config/tc-score.c, gas/config/tc-score7.c, gas/config/tc-sh.c, gas/config/tc-sparc.c, gas/config/tc-spu.c, gas/config/tc-tic30.c, gas/config/tc-vax.c, gas/config/tc-xtensa.c, gas/config/xtensa-relax.c, gas/dw2gencfi.c, gas/dwarf2dbg.c, gas/ehopt.c, gas/expr.c, gas/frags.c, gas/input-file.c, gas/read.c, gas/sb.c, gas/subsegs.c, gas/symbols.c, gas/write.c: Change the name of the gas macro `assert' to `gas_assert'.
2008-09-29 PR 6878Nick Clifton1-1/+3
* app.c (do_scrub_chars): Only issue warnings about tick characters detected in symbol strings if hex ticks are supported.
2008-07-18* config/tc-m32c.h (H_TICK_HEX): Define.DJ Delorie1-0/+43
* config/tc-m32c.c (OPTION_H_TICK_HEX): Define. (md_longopts): Add support for it. (md_parse_option): Likewise. * doc/as.texinfo (Overview): Add new m32c options. * doc/c-m32c.texi (M32C-Modifiers): Likewise * as.h: (enable_h_tick_hex): New. * app.c (enable_h_tick_hex): New. (LEX_IS_H): New. (do_scrub_begin): Mark 'H' and 'h' as special if enable_h_tick_hex. (do_scrub_chars): If enable_h_tick_hex and 'h', check for H'00 style hex constants and convert the input stream to 0x00 style. (do_scrub_chars): If a 'X style character constant is found after a symbol character (like you're or X'00), warn the user.
2008-06-17 * app.c (do_scrub_chars): Do not UNGET an EOF value.Nick Clifton1-4/+5
* ti.h (GET_SCNHDR_NLNNO): Provide an alternative version of this macro which does not trigger an array bounds warning in gcc. (PUT_SCNHDR_NLNNO): Likewise. (GET_SCNHDR_FLAGS): Likewise. (PUT_SCNHDR_FLAGS): Likewise. (GET_SCNHDR_PAGE): Likewise. (PUT_SCNHDR_PAGE): Likewise.
2008-06-04 * app.c (do_scrub_chars): Do not UNGET an EOF value.Nick Clifton1-2/+4
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.