aboutsummaryrefslogtreecommitdiff
path: root/gas/read.c
AgeCommit message (Collapse)AuthorFilesLines
1998-06-02 * read.c (do_s_func): New function.Doug Evans1-8/+24
(s_func): Call it. * read.h (do_s_func): Add prototype. * config/tc-dvp.c (md_pseudo_table): Add .func/.endfunc. (s_dvp_func): New function.
1998-06-02 * read.c (s_func): Prepend `leading char' by default.Doug Evans1-2/+10
1998-06-01 Implement .func/.endfunc pseudo-ops.Doug Evans1-1/+72
* read.h (stabs_generate_asm_func,stabs_generate_asm_endfunc): Declare. (s_func): Declare. * read.c (potable): Add .func,.endfunc. (s_func): New function. * stabs.c (stabs_generate_asm_func,stabs_generate_asm_endfunc): New functions. (in_doc_func_p,current_function_label): New static globals. (stabs_generate_asm_lineno): Emit function relative stabs if in .func.
1998-05-29tipoIan Lance Taylor1-2/+2
1998-05-29 Based on patch from Klaus Kaempf <kkaempf@progis.de>:Ian Lance Taylor1-0/+6
* struc-symbol.h (struct broken_word): Add seg and subseg fields. * read.c (emit_expr): Initialize seg and subseg fields of a new broken word. * write.c (write_object_file): Switch to the appropriate segment and subsegment when processing a broken word.
1998-05-13 * read.c (generate_file_debug,generate_lineno_debug): New functions.Doug Evans1-25/+49
(read_a_source_file): Call them. * read.h (stabs_generate_asm_file): Declare. * stabs.c (stabs_generate_asm_file): New function. (generate_asm_file): New function. (stabs_generate_asm_lineno): Move file name handling into generate_asm_file.
1998-04-24Fri Apr 24 12:47:42 1998 Philippe De Muyter <phdm@macqel.be>Ian Lance Taylor1-1/+1
* read.c (s_set): Cast xmalloc return value to fragS *. * config/tc-m68k.c (m68k_ip): Function made static to match previous forward declaration. (insert_reg, init_regtable, md_convert_frag_1): Likewise.
1998-04-22 * Many files: Added gettext invocations around user-visibleTom Tromey1-150/+208
strings. * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY, HAVE_LC_MESSAGES): Define. * dep-in.sed: Added asintl.h. * po/Make-in: New file. * gasp.c (main): Call setlocale, bindtextdomain, and textdomain. Include "asintl.h". * read.c (Z_): Renamed from `_'. * Makefile.am (SUBDIRS): Added po. (POTFILES): new macro. (po/POTFILES.in): New target. ($(OBJS)): Added asintl.h. (HFILES): Likewise. (INCLUDES): Added -DLOCALEDIR, -I$(top_srcdir)/../intl. (as_new_LDADD): Added $(INTLLIBS). (as_new_DEPENDENCIES): Added $(INTLDEPS). (gasp_new_LDADD): Added $(INTLLIBS). (gasp_new_DEPENDENCIES): New macro. * configure, aclocal.m4: Rebuilt. * configure.in: Call CY_GNU_GETTEXT. Generate po/Makefile.in and po/Makefile. (ALL_LINGUAS): Define. * macro.c: Include "asintl.h". * as.c (main): Call setlocale, bindtextdomain, and textdomain. * as.h: Include "asintl.h". * config/tc-i386.c (ordinal_names): Removed. (md_assemble): Changed error text to avoid ordinal_names. (i386_operand): Likewise. (reloc): Added as_bad to avoid i18n problems. (tc_gen_reloc): Likewise. * config/tc-arm.c (bad_args): Now a #define. (bad_pc): Likewise. * config/obj-vms.c (VMS_stab_parse): Changed type of `long_const_msg'. (global_symbol_directory): Unified strings to avoid i18n problems. * config/tc-m68k.c (get_reloc_code): Added some as_bad calls to avoid i18n problems. * config/tc-ns32k.c (reloc): Added as_bad to avoid i18n problems. * config/tc-ppc.c (md_apply_fix3): Added as_bad_where to avoid i18n problems. * config/tc-sh.c (md_convert_frag): Added as_bad to avoid i18n problems. start-sanitize-v850 * config/tc-v850.c (md_assemble): Changed C++ comment into C comment. end-sanitize-v850 * config/tc-vax.c (md_assemble): Added as_warn to avoid i18n problems. * as.c (print_version_id): Added an fprintf to avoid i18n problems. * cond.c (cond_finish_check): Added as_bad call to avoid i18n problems. * expr.c (expr): Added as_warn call to avoid i18n problems. * messages.c (as_assert): Changed code to avoid i18n problems. (as_abort): Likewise. * read.c (pseudo_set): Added as_bad call to avoid i18n problems. (s_space): Likewise. * po/Make-in, po/POTFILES.in, po/gas.pot: New files.
1998-01-30 * read.h (include_dirs): Declare.Doug Evans1-11/+70
(include_dir_count,include_dir_maxlen): Declare.
1997-10-15 * read.c (get_line_sb): Accept any eol marker while scanning macros.Richard Henderson1-7/+57
1997-08-22Make the NUL character be considered to be a line terminator.Nick Clifton1-6/+36
1997-08-19 * as.c (show_usage): Add -am.Richard Henderson1-2/+34
* input-scrub.c (input_scrub_include_sb): Don't add leading \n if we've already got one. * listing.c (struct list_info_struct): Add line_contents. (listing_newline): Put unused argument to work: if non-null, save it... (listing_listing): ... and regurgitate during listing instead of line from file. * listing.h (LISTING_MACEXP): New define. (LISTING_NEWLINE): Argument is NULL. * read.c (read_a_source_file): If expanding macros, break up input lines and pass them to listing_newline. * doc/as.texinfo: Document -ac and -am. * cond.c (s_ifc): Add missing demand_empty_rest_of_line.
1997-08-15 * as.h (enum debug_info_type): Define.Ian Lance Taylor1-25/+359
(debug_type): Declare. * as.c (debug_type): New global variable. (show_usage): Add --gstabs. (parse_args): Handle --gstabs. * read.c (generate_asm_lineno): Remove. (read_a_source_file): Output stabs debugging if appropriate. Change checks of generate_asm_lineno to check debug_type. Only generate ECOFF debugging if ECOFF_DEBUGGING is defined. * read.h (generate_asm_lineno): Don't declare. (stabs_generate_asm_lineno): Declare. * stabs.c (stabs_generate_asm_lineno): New function. * ecoff.c (add_file): Use debug_type, not generate_asm_lineno. Don't turn off debugging. (add_file): Remove old #if 0 code. (ecoff_new_file): Set debug_type, not generate_asm_lineno. (ecoff_directive_end): Don't generate stabs line symbols. (ecoff_generate_asm_lineno): Don't check stabs_seen. Don't set generate_asm_lineno. (line_label_cnt): Remove. (ecoff_generate_asm_line_stab): Remove. * ecoff.h (ecoff_generate_asm_line_stab): Don't declare. * doc/as.texinfo, doc/as.1: Document --gstabs.
1997-03-18Tue Mar 18 15:50:13 1997 H.J. Lu <hjl@lucon.org>Ian Lance Taylor1-0/+1
* Many files: Add function prototypes. * as.c (show_usage, parse_args): Make static. * frags.h (frag_alloc): Declare. * subsegs.c (subseg_set_rest): Don't declare frag_alloc. * symbols.c (dollar_label_instance): Change return type to long. * symbols.h (print_symbol_value): Declare. (print_expr, print_expr_1, print_symbol_value_1): Declare. * write.c (fix_new_exp): Don't declare make_expr_symbol. (remove_subsegs, relax_frag): Make static. * config/atof-vax.c (atof_vax_sizeof): Change letter to int. (what_kind_of_float): Likewise. (atof_vax): Make static. Change what_kind to int. (md_atof): Change what_statement_type to int. * config/obj-ecoff.h (obj_ecoff_set_ext): Declare. * config/tc-alpha.c (vax_md_atof): Declare. (md_atof): Don't declare atof_ieee and vax_md_atof. * config/tc-i386.c (set_16bit_code_flag): Make static. * config/tc-i386.h (tc_i386_fix_adjustable): Declare. * config/tc-m68k.c (add_fix): Change width to int. (insert_reg): Change regname to const. (md_atof): Don't declare atof_ieee. (demand_empty_rest_of_line): Don't declare. * config/tc-m88k.c (md_atof): Don't declare atof_ieee. * config/tc-sparc.c (cmp_reg_entry): Change args to const PTR. (parse_keyword_arg): Change lookup_fn to take const arg. (md_atof): Don't declare atof_ieee. * config/tc-sparc.h: Add ifdef for multiple inclusion. (tc_aout_pre_write_hook): Don't declare.
1997-03-13 * read.c (read_a_source_file): Call LISTING_NEWLINE beforeIan Lance Taylor1-128/+157
HANDLE_CONDITIONAL_ASSEMBLY when handling an MRI line label. PR 11746.
1997-02-13Thu Feb 13 14:48:03 1997 Philippe De Muyter <phdm@info.ucl.ac.be>Ian Lance Taylor1-1/+6
* config/tc-m68k.c (LEX_TILDE): Define if TE_DELTA. * read.c (LEX_TILDE): Define if not defined. (lex_type): Use LEX_TILDE. * expr.c (get_symbol_end): Check first char with is_name_beginner, not is_part_of_name.
1997-01-31 * write.c (relax_segment): Give an error if a .space symbol isIan Lance Taylor1-1/+3
common or undefined. * read.c (read_a_source_file): Don't handle mri_pending_align if the handler is s_globl or s_ignore.
1997-01-30 Ideas from Srinivas Addagarla <srinivas@cdotd.ernet.in>:Ian Lance Taylor1-1/+24
* read.c (read_a_source_file): After doing an mri_pending_align, adjust the line_label if there is one. (s_space): Set mri_pending_align if an odd number of bytes were output.
1997-01-09 * read.c (emit_expr): Check for overflow of a negative valueIan Lance Taylor1-3/+16
correctly. * write.c (fixup_segment): Likewise. * config/obj-coff.c (fixup_segment): Likewise. PR 11411.
1997-01-09 * read.c (read_a_source_file): When defining a macro in MRI mode,Ian Lance Taylor1-5/+22
don't add the symbol to the symbol table. PR 11423.
1997-01-03 Based on patch from Ronald F. Guilmette <rfg@monkeys.com>:Ian Lance Taylor1-2/+11
* read.c (read_a_source_file): Check for conditional operators before doing an MRI pending alignment. * config/tc-m68k.h (m68k_conditional_pseudoop): Declare. (tc_conditional_pseudop): Define. * config/tc-m68k.c (m68k_conditional_pseudop): New function. * doc/internals.texi (CPU backend): Describe tc_conditional_pseudoop.
1996-12-31 * read.c (read_a_source_file): Check mri_pending_align afterIan Lance Taylor1-8/+11
checking for a macro. From Ronald F. Guilmette <rfg@monkeys.com>.
1996-10-01 * read.c (s_macro): Warn if a macro has the same name as aIan Lance Taylor1-10/+101
pseudo-op. (s_space): In m68k MRI mode, align to a word boundary. * macro.c (define_macro): Add namep parameter. Change all callers. * macro.h (define_macro): Update declaration.
1996-05-30 * read.c (s_lcomm): Set section flags for .sbss section.Ian Lance Taylor1-0/+5
1996-05-23Add .skip as a synonym for .spaceMichael Meissner1-61/+82
1996-03-29 * read.h (enum linkonce_type): Define.Ian Lance Taylor1-0/+78
(s_linkonce): Declare. * read.c (potable): Add "linkonce". (s_linkonce): New function. * subsegs.h (segment_info_type): Add linkonce field to MANY_SEGMENTS && ! BFD_ASSEMBLER section. * config/obj-coff.h (obj_handle_link_once): Define if TE_PE. (obj_coff_pe_handle_link_once): Declare if TE_PE. * config/obj-coff.c: If TE_PE and not BFD_ASSEMBLER, #include "coff/pe.h". (obj_coff_pe_handle_link_once): New function, defined if TE_PE. (c_section_symbol): If TE_PE, set the x_comdat field in the aux entry based on the linkonce field in segment_info. * doc/as.texinfo: Document .linkonce.
1996-03-22 * as.h (strdup): Don't declare.Ian Lance Taylor1-14/+10
* stabs.c: Include libiberty.h (get_stab_string_offset): Use xstrdup rather than strdup. (s_stab_generic): Likewise. * as.c (parse_args): Likewise. * read.c (s_mri_sect): Likewise.
1996-02-13 * read.c (potable): Add "mri" and ".mri".Ian Lance Taylor1-0/+33
(s_mri): New function. * read.h (s_mri): Declare. * app.c (scrub_m68k_mri): New static variable. (mri_pseudo): New static variable. (do_scrub_begin): Add m68k_mri parameter. Use it rather than flag_m68k_mri. Initialize scrub_m68k_mri. (mri_state, mri_last_ch): New static variables. (struct app_save): Add scrub_m68k_mri, mri_state, and mri_last_ch fields. (app_push): Save new fields. (app_pop): Restore new fields. (do_scrub_chars): Check scrub_m68k_mri rather than flag_mri_mri. If TC_M68K, use a trivial state machine to look for occurrences of the .mri pseudo-op, and change the mode appropriately. * as.h (do_scrub_begin): Update prototype. * input-scrub.c (input_scrub_begin): Pass flag_m68k_mri to do_scrub_begin. * config/tc-m68k.c (reg_prefix_optional_seen): New static variable. (m68k_mri_mode_change): New function. (md_parse_option): Set reg_prefix_optional_seen. * config/tc-m68k.h (m68k_mri_mode_change): Declare. (MRI_MODE_CHANGE): Define. * doc/as.texinfo: Document .mri pseudo-op.
1996-02-09 * read.c (potable): Pass negative numbers for new .balign[wl] andIan Lance Taylor1-21/+32
.p2align[wl] pseudo-ops. (s_align_bytes): Treat a negative argument as specifying the fill length. (s_align_ptwo): Likewise.
1996-02-08 * read.c (potable): Add balignw, balignl, p2alignw, and p2alignl.Ian Lance Taylor1-14/+68
(do_align): Take new len parameter. Change all callers. Pass it to md_do_align. (s_align_bytes): Arg now indicates the length of the fill pattern. (s_align_ptwo): Likewise. * config/obj-coff.c (write_object_file): Pass length to md_do_align. * config/tc-i386.h (md_do_align): Take new len parameter. * config/tc-m88k.h (md_do_align): Likewise. * config/tc-m88k.c (m88k_do_align): Likewise. * config/tc-sh.h (md_do_align): Likewise. * config/tc-sh.c (sh_do_align): Likewise. * doc/as.texinfo: Document new pseudo-ops. * config/obj-coff.c (fixup_mdeps): Divide offset by fr_var, as is done in cvt_frag_to_fill. PR 8974.
1996-02-07 * as.c (main): Call parse_args before read_begin.Ian Lance Taylor1-19/+31
* app.c (do_scrub_chars): If flag_m68k_mri, don't put a dot in front of generated pseudo-ops. * read.c (potable): Ignore "name". (s_app_file): Permit a single quote after the string, since one may appear in m68k MRI mode.
1995-12-05* read.c (s_fill): If md_flush_pending_output is defined, call it.Ken Raeburn1-0/+3
1995-11-28Clean up hash code, parameterize some actions, tweak some parameters. HashKen Raeburn1-30/+28
table entries, table allocation and control structure are larger now, but collisions are reduced and string compares even further reduced. Dump lots more statistics, especially hash code data, for --statistics. Dump statistics even in error cases. Details in ChangeLog.
1995-10-03 * cond.c (s_endif): Call demand_empty_rest_of_line. In MRI mode,Ian Lance Taylor1-11/+182
skip characters after the pseudo-op. (s_else): Likewise. * read.c (get_line_sb): Don't look past buffer_limit. (s_include): In MRI mode, skip characters after the file name.
1995-09-27 * config/tc-ppc.h (OBJ_XCOFF): Define if OBJ_COFF and not TE_PE.Ian Lance Taylor1-76/+140
Change OBJ_COFF checks to check OBJ_XCOFF instead. (TARGET_FORMAT): Fully parenthesize. (LEX_QM): Define if TE_PE. * config/tc-ppc.c: Replace OBJ_COFF by OBJ_XCOFF throughout. Remove checks of TE_PE within #ifdef OBJ_XCOFF sections. (init_regtable): Make i unsigned. (ppc_set_current_section): Rename from setCurrentSection. Change all callers. (ppc_arch): Return after as_fatal to avoid gcc warning. (md_assemble): Only declare reloc if OBJ_ELF. Add default to switch on fixups[i].reloc to avoid gcc warning. (IMAGE_SGN_LNK_OTHER): Fix nested comment. (ppc_pe_function): Don't call ppc_canonicalize_symbol_name. (ppc_frob_symbol): Remove TE_PE section checks. (md_estimate_size_before_relax): Return after abort to avoid gcc warning. (md_apply_fix3): Add BFD_RELOC_16_GOT_PCREL to switch. * read.c (LEX_QM): Define as 0 if not defined. (lex_type): Use LEX_QM for '?'.
1995-09-07 * expr.c (operand): Handle 08 and 09 in MRI mode.Ian Lance Taylor1-6/+38
* macro.c (ISSEP): Remove duplicated `"' character. (get_any_string): Copy some characters for which ISSEP is true: ';', '>', '(', ')'. Otherwise we can get in an infinite loop. * read.c (s_space): In MRI mode, the expressions stop at the first unquoted space. (cons_worker): In MRI mode, restore the terminating character at the end of the function.
1995-09-07 * read.c (cons_worker): Don't use #elif; old compilers don'tIan Lance Taylor1-1/+3
support it.
1995-09-07 * app.c (do_scrub_chars): In MRI mode, silently end quoted stringsIan Lance Taylor1-28/+144
at newline characters. In MRI mode, always keep spaces in the operands field. In MRI mode, treat a line comment character as a regular comment character following a space. * cond.c (ignore_input): Use strncasecmp rather than strncmp when looking for special pseudo-ops. * read.c (cons_worker): In MRI mode, the expressions stop at the first unquoted space. (equals): Likewise.
1995-08-21 * read.c (read_a_source_file): In MRI mode, don't end theIan Lance Taylor1-2/+8
statement inside a quotation. (s_space): Don't warn about a zero repeat count in MRI mode. * config/tc-m68k.c (crack_operand): In MRI mode, don't count parentheses inside quotes. (md_assemble): In MRI mode, anything after the operands field is a comment. (parse_mri_control_operand): Adjust start and stop to remove spaces. (s_mri_for): Likewise.
1995-08-21 Add support for macros.Ian Lance Taylor1-32/+226
* as.c: Include sb.h and macro.h. (max_macro_next): New global variable. (main): Call macro_init. (macro_expr): New static function. * as.h (max_macro_nest): Declare. * read.c (line_label): Rename from mri_line_label. Change all uses. (potable): Add exitm, irp, irpc, macro, mexit, rept. (read_a_source_file): Always clear line_label at the start of a line, not just when flag_mri or LABELS_WITHOUT_COLONS. Fixup MRI/LABELS_WITHOUT_COLONS handling. In MRI mode, permit label: equ val. Set line_label when calling colon. In MRI mode, a leading '.' does not imply a pseudo-op. Check for macro expansion before calling md_assemble. (s_irp): New function. (get_line_sb): New static function. (s_macro): New function. (s_mexit): New function. (s_rept): New function. * read.h (line_label): Rename from mri_line_label. (s_irp, s_rept): Declare. (s_macro, s_mexit): Declare. * input-scrub.c: Include sb.h. (sb_index, from_sb): New static variables. (macro_nest): New static variable. (struct input_save): Add sb_index and from_sb fields. Change next_saved_file field to be struct input_save *. (next_saved_file): Changed to be struct input_save *. (input_scrub_push): Change to return type struct input_save *. Save sb_index and from_sb. (input_scrub_pop): Change parameter type to struct input_save *. Restore sb_index and from_sb. (input_scrub_include_sb): New function. (input_scrub_next_buffer): Handle reading from from_sb. (bump_line_counters): Only increment lines if not using from_sb. * config/tc-m68k.c (opt_table): Add nest. (opt_nest): New static function. * gasp.c: Include sb.h and macro.h. Move all sb related functions and definitions to sb.h and sb.c. Move all macro related functions and definitions to macro.h and macro.c. * sb.h, sb.c: New files, extracted from gasp.c. * macro.h, macro.c: Likewise. * Makefile.in (OBJS): Add sb.o and macro.o (GASPOBJS): Define. (gasp.new): Depend upon $(GASPOBJS). Use $(GASPOBJS) to link. (TARG_CPU_DEP_m68k): Depend upon subsegs.h. (gasp.o): Depend upon sb.h and macro.h. (sb.o): New target. (macro.o): New target. (as.o): Depend upon sb.h and macro.h. (input-scrub.o): Depend upon sb.h. (read.o): Depend upon sb.h and macro.h.
1995-08-18 * read.c (s_include): In MRI mode, don't expect quotes around theIan Lance Taylor1-5/+21
file name. * listing.c (listing_title): Don't require the title to be quoted.
1995-08-10 * read.c (potable): Add spc, ttl, xcom, xref.Ian Lance Taylor1-0/+92
(s_mri_sect): New function. * read.h (s_mri_sect): Declare. * config/obj-coff.c (obj_coff_section) (both versions): In MRI mode, call s_mri_sect. (obj_pseudo_table): Add sect.s and section.s. Move sect outside of ifndef BFD_ASSEMBLER. * config/obj-elf.c (elf_pseudo_table): Add section.s, sect, sect.s. (obj_elf_section): In MRI mode, call s_mri_sect. * config/tc-m68k.c (md_pseudo_table): Add restore, save. (struct save_opts): Define. (save_stack): New static variable. (s_save, s_restore): New static functions.
1995-08-10 * read.c (s_set): Remove unused local ptr.Ian Lance Taylor1-4/+11
(hex_float): Check target_big_endian. (equals): Remove unused local p. * config/tc-a29k.h (TARGET_BYTES_BIG_ENDIAN): Define. * config/tc-h8500.h (TARGET_BYTES_BIG_ENDIAN): Define. * config/tc-hppa.h (TARGET_BYTES_BIG_ENDIAN): Define. * config/tc-i860.h (TARGET_BYTES_BIG_ENDIAN): Define. * config/tc-m68k.h (TARGET_BYTES_BIG_ENDIAN): Define. * config/tc-m88k.h (TARGET_BYTES_BIG_ENDIAN): Define. * config/tc-tahoe.h (TARGET_BYTES_BIG_ENDIAN): Define. * config/tc-sh.c (little): Set target_big_endian. (md_begin): Likewise. (md_parse_option): Likewise. (build_relax): Check target_big_endian rather than shl. (build_Mytes, md_atof): Likewise. (md_convert_frag, md_apply_fix): Likewise. (md_number_to_chars): Likewise.
1995-08-09 * read.c (mri_line_label): Make non-static.Ian Lance Taylor1-1/+14
(potable): Add nopage, page, plen. (s_org): Error if in MRI mode. * read.h (mri_line_label): Declare. * listing.c (listing_nopage): New function. * listing.h (listing_nopage): Declare.
1995-08-09 * read.c (abs_section_offset): New global variable.Ian Lance Taylor1-107/+314
(potable): Add offset, struct. (do_org): New static function; handle changing the origin in the absolute section. (s_org): Use do_org. (s_set): Likewise. (equals): Likewise. (s_space): In absolute_section, just increase abs_section_offset. (s_struct): New function. (emit_expr): Handle absolute_section specially. * read.h (abs_section_offset): Declare. (s_struct): Declare. * read.c (potable): Add ifeq, ifge, ifgt, ifle, iflt, ifne. Change if to pass O_ne to s_if. (read_a_source_file): Don't define an label without a colon if ignore_input returns true. * read.c (potable): Add dcb, dcb.b, dcb.d, dcb.l, dcb.s, dcb.w, dcb.x, ds.d, ds.p, ds.s, ds.x, elsec, endc, fail, format, llen, noformat. (read_a_source_file): If pseudo-op handler is s_end, quit immediately. (s_end): New function. (s_fail): New function. (s_float_space): New function. (hex_float): New static function. (float_cons): Use hex_float. * read.h (s_fail): Declare. (s_float_space): Declare.
1995-08-09 * configure.in: Move random special target handling beforeIan Lance Taylor1-0/+36
possible break. * configure: Rebuild.
1995-08-08 * struc-symbol.h (struct symbol): Add sy_mri_common bit.Ian Lance Taylor1-47/+297
* read.h (mri_comon_symbol): Declare. (s_mri_common): Declare. * read.c (mri_line_label): New static variable. (mri_common_symbol): New global variable. (potable): Add "common" and "common.s". (read_a_source_file): In MRI mode, set mri_line_label for a label at the start of a line. (s_mri_common): New function. (s_space): Handle mri_common_symbol. * symbols.c (colon): Change return value from void to symbolS *, and return new symbol. If mri_common_symbol is set, attach the new symbol to it. (resolve_symbol_value): Handle an sy_mri_common symbol. * symbols.h (colon): Change return value in declaration. * subsegs.c (subseg_set_rest): Clear mri_common_symbol. (subseg_set (both versions)): Likewise. * frags.c (frag_more): Warn if mri_common_symbol is not NULL. * write.c (adjust_reloc_syms): Skip sy_mri_common symbols. (write_object_file): Discard sy_mri_common symbols. (fixup_segment): Change relocations against sy_mri_common symbols to be against the common symbol itself. * config/obj-coff.c (yank_symbols): Discard sy_mri_common symbols. (fixup_segment): Change relocations against sy_mri_common symbols to be against the common symbol itself. * config/obj-aout.c (obj_crawl_symbol_chain): Discard sy_mri_common symbols.
1995-07-07 * read.c (s_lcomm): For .lcomm 1, set align to 0, not 1.Ian Lance Taylor1-1/+1
PR 5167.
1995-07-07 * app.c (do_scrub_next_char): Always accept \v. Don't make itIan Lance Taylor1-2/+0
conditional on BACKSLASH_V. * read.c (next_char_of_string): Likewise. * config/obj-bout.h (BACKSLASH_V): Don't define. * config/tc-mips.h (BACKSLASH_V): Don't define. PR 5604.
1995-07-06fsf address updateKen Raeburn1-7/+30