📄 changelog-9295
字号:
(md_convert_frag_1): Don't call subseg_change. (md_estimate_size_before_relax): Likewise.Tue Sep 12 10:36:40 1995 Doug Evans <dje@canuck.cygnus.com> * config/tc-arm.c (md_atof): Fix debugging printf, and leave it out by default.Mon Sep 11 11:39:11 1995 Ian Lance Taylor <ian@cygnus.com> * doc/configure.in: Remove unused file. * app.c (do_scrub_chars): Grab all available spaces at start of line before preserving a single space. Remove state == 0 test which will never succeed. * macro.c (macro_expand_body): Delete local variables from the formal hash table. (macro_expand): In MRI mode, stop when whitespace is seen in the argument list. * sb.c: Include "libiberty.h". * macro.c: Likewise. Also include <stdlib.h> if it exists.Fri Sep 8 00:27:46 1995 Ian Lance Taylor <ian@cygnus.com> * app.c (do_scrub_chars): In MRI mode, keep a space before a possible comment character. * config/tc-m68k.c (m68k_ip): In MRI mode, ignore anything after an instruction which takes no operands. * Makefile.in (install): Don't install gasp in $(tooldir). * config/tc-mips.c (macro): Handle a non zero base register for M_U{L,S}{D,W,H}_A. * gasp.c (show_usage): Put program_name argument in first fprintf, not second.Thu Sep 7 12:33:58 1995 Ian Lance Taylor <ian@cygnus.com> * expr.c (operand): Handle 08 and 09 in MRI mode. * 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. * read.c (cons_worker): Don't use #elif; old compilers don't support it.Wed Sep 6 21:13:06 1995 Ian Lance Taylor <ian@cygnus.com> * app.c (do_scrub_chars): In MRI mode, silently end quoted strings 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.Wed Sep 6 15:03:53 1995 Jim Wilson <wilson@chestnut.cygnus.com> * config/tc-sh.c (get_operands): Read third arg if it exists. Otherwise, clear it. (get_specific, case F_FR0): Add.Wed Sep 6 15:03:53 1995 Jim Wilson <wilson@chestnut.cygnus.com> * config/tc-sh.c (get_specific): Delete arg_to_test. (md_assemble): Increase operand array from 2 to 3.Tue Sep 5 16:47:36 1995 Stan Shebs <shebs@andros.cygnus.com> * config/tc-mips.c: Remove CYGNUS LOCAL comments. (md_begin): Use 0/1 instead of TRUE/FALSE. (md_show_usage): Break up long format string for the benefit of lame compilers. * config/tc-m68k.c (md_show_usage): Ditto. * gasp.c (show_usage): Ditto. * macro.c (check_macro): Cast result of hash_find.Tue Sep 5 14:46:38 1995 Ken Raeburn <raeburn@cygnus.com> * configure.in: When testing for a free() declaration in system header files, cast the address to a function pointer, not to an integer. * write.c (fix_new_internal): Call TC_INIT_FIX_DATA if TC_FIX_TYPE is defined. Don't initialize fx_bsr. Verify that fx_size field is wide enough to hold stored value. * write.h (struct fix): Change tc_fix_data to type TC_FIX_TYPE if that is defined, otherwise omit it. Delete fx_bsr. Change fx_size to unsigned char. * config/tc-i960.h (TC_FIX_TYPE, fx_bsr, TC_INIT_FIX_DATA): New macros. * config/tc-ns32k.h (TC_FIX_TYPE, fx_bsr, TC_INIT_FIX_DATA): New macros. * config/tc-hppa.h (TC_FIX_TYPE): Define as PTR. * config/tc-i860.c (md_apply_fix): Delete code for checking fx_im_disp, and for handling non-zero values, since it never gets set after being initialized to zero. * write.h (struct fix): Make fx_im_disp always 2 bits, since the only tc-* files actually using it need that much. NS32K changes from Ian Dall: * configure.in: Treat ns32k-pc532-ux* like ns32k-pc532-mach*, and ns32k-pc532-lites* like ns32k-pc532-netbsd*. * config/tc-ns32k.h (LOCAL_LABELS_FB): Define to 1.Fri Sep 1 17:02:15 1995 steve chamberlain <sac@slash.cygnus.com> * write.c (fixup_segment): Get TC_FORCE_RELOCATION up the right way!Fri Sep 1 08:20:19 1995 James G. Smith <jsmith@beauty.cygnus.com> * config/tc-mips.c (md_parse_option, md_begin, md_show_usage): Add support for "-mcpu=vr4300" as processor identifier.Thu Aug 31 16:41:06 1995 steve chamberlain <sac@slash.cygnus.com> * write.c (fixup_segment): Remove change of 29th. * config/tc-{i386,arm}.h (TC_FORCE_RELOCATION): Keep RVA relocs.Tue Aug 29 19:42:58 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * config/tc-m68k.c (m68k_ip) [case POST/PRE/BASE]: Fix typo when looking at outer displacement. Don't set the postindex bit if the index suppress bit is set (for memory indirect addressing mode).Thu Aug 31 06:49:37 1995 Doug Evans <dje@canuck.cygnus.com> * config/tc-arm.c (tc_gen_reloc): Delete duplicated code.Wed Aug 30 23:51:57 1995 Ian Lance Taylor <ian@cygnus.com> * app.c (do_scrub_chars): Free saved_input when the from buffer exactly fills the to buffer.Wed Aug 30 13:46:39 1995 Doug Evans <dje@canuck.cygnus.com> * config/tc-sparc.c (parse_keyword_arg, parse_const_expr_arg): New fns. (sparc_ip): Call them for asi, membar, and prefetch parsing.Tue Aug 29 15:45:37 1995 Doug Evans <dje@canuck.cygnus.com> * config/tc-sparc.c (membar_masks): Deleted. (sparc_ip): Clean up ASI and membar support.Tue Aug 29 13:20:27 1995 steve chamberlain <sac@slash.cygnus.com> * read.c (potable): Rva is new entry. (cons_worker): New, split from cons. Handles rva. (cons, s_rva): Call cons_worker. * read.h (s_rva): New declaration. * write.c (fixup_segment): Don't throw away rva relocs. * config/tc-arm.c (md_apply_fix, tc_gen_reloc): Handle RVA. * config/tc-i386.c (tc_coff_fix2type): Handle RVA. * config/tc-i386.h (TC_COUNT_RELOC): Remember RVAs. (TC_RVA_RELOC): New definition.Sun Aug 27 17:41:05 1995 Doug Evans <dje@canuck.cygnus.com> * config/tc-arm.c (do_swi): Allow optional leading '#'.Sat Aug 26 17:24:20 1995 Ian Lance Taylor (ian@cygnus.com) * config/tc-m68k.c (comment_chars): If TE_DELTA is defined, include '#'. * config/tc-m68k.h (NO_PSEUDO_DOT): Define if TE_DELTA is defined. * config/te-delta.h: Include obj-format.h. * config/te-sco386.h: Likewise. * config/te-sysv32.h: Likewise. * app.c (scrub_file): Remove. (scrub_from_file, scrub_to_file): Remove. (scrub_string, scrub_last_string): Remove. (scrub_from_string, scrub_to_string): Remove. (saved_input, saved_input_len): New static variables. (struct app_saved): Remove scrub_string, scrub_last_string, and scrub_file fields. Add saved_input and saved_input_len fields. (app_push): Adjust saved fields for changes in struct app_save. Initialize state and saved_input. (app_pop): Adjust saved fields for changes in struct app_save. (do_scrub_chars): Rename from do_scrub_next_char and rewrite to process a buffer at a time rather than a character at a time. (main, as_warn): Remove obsolete testing code. * as.h (do_scrub_next_char): Don't declare. (do_scrub_chars): Declare. (scrub_from_file, scrub_from_string): Don't declare. (scrub_to_file, scrub_to_string): Don't declare. * input-file.c (input_file_get): New static function. (input_file_give_next_buffer): Call do_scrub_chars rather than do_scrub_next_char. * read.c (scrub_string, scrub_string_end): New static variables. (scrub_from_string): New static function. (read_a_source_file): Call do_scrub_chars rather than do_scrub_next_char.Thu Aug 24 18:50:19 1995 Ian Lance Taylor (ian@cygnus.com) * gasp.c (as_abort): New function. * sb.c (sb_build): Revert yesterday's patch. * Makefile.in (gasp.new): Depend upon ../libiberty/libiberty.a. Just link against libiberty, not against $(LIBS).Wed Aug 23 15:18:20 1995 Ian Lance Taylor (ian@cygnus.com) * sb.c (sb_build): Undefine abort before calling it, since gasp does not provide as_abort.Wed Aug 23 10:40:41 1995 Michael Meissner <meissner@tiktok.cygnus.com> * config/tc-ppc.c (set_target_endian): New static to say whether we've initialized target_big_endian or not. (md_parse_option): Set set_target_endian if we set the variable target_big_endian. (md_begin): Only set target_big_endian if !set_target_endian.Tue Aug 22 03:00:33 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com> Sat Aug 19 18:08:16 1995 Pat Rankin <rankin@eql.caltech.edu> * config/obj-vms.h (DST_S_C_SRC_SETREC_W, DST_S_C_SRC_DEFLINES_B): New macros. * config/obj-vms.c (VMS_TBT_Line_PC_Correlation, VMS_TBT_Source_Lines): Make traceback info be robust enough to handle huge source files. (VMS_TBT_Source_File): Reorganize the native- vs cross-assembly support so that actual object file output is clearer. (VMS_TBT_Source_File: Fab, Nam, Date_Xab, File_Header_Xab): Replace static variables with automatic ones. Sat Aug 12 20:18:15 1995 Pat Rankin <rankin@eql.caltech.edu> * config/obj-vms.c (Module_Name): new file scope variable. (VMS_TBT_Module_Begin): use it instead of local variable. (Write_VMS_MHD_Records): ditto; assign its value here. (Write_VMS_EOM_Record): second argument has type valueT. (VMS_Initialized_Data_Size): simplify search loop; return type is offsetT; second argument is unsigned. Sat Jun 17 19:05:25 1995 Pat Rankin (rankin@eql.caltech.edu) * messages.c (as_perror): Use xstrerror instead of strerror.Mon Aug 21 13:57:20 1995 Ian Lance Taylor <ian@cygnus.com> * as.c (parse_args): Accept --defsym SYM=VALUE. * doc/as.texinfo, doc/as.1: Document --defsym. * read.c (read_a_source_file): In MRI mode, don't end the 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. * cond.c (s_ifdef): Restore the character after the symbol name, in case it is a newline. (s_if): If ignoring the current tree, don't try to parse the expression. * app.c (do_scrub_next_char): If LEX_IS_STRINGQUOTE or LEX_IS_ONECHAR_QUOTE is seen in state 10, preserve one space. * doc/as.texinfo: Document irp, irpc, macro, and rept. MRI mode now supports macros, ifc, ifnc, irp, irpc, rept, and endr, without using gasp. Add support for macros. * 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. Fix 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. * cond.c (get_mri_string): New static function. (s_ifc): New function. * read.c (potable): Add ifc and ifnc. * read.h (s_ifc): Declare.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -