?? changelog-9295
字號:
Tue Oct 3 12:18:19 1995 Ian Lance Taylor <ian@cygnus.com> * config/tc-m68k.c (isword): Accept all values from -65536 to +65535, so ~VAL will not be rejected. * cond.c (s_endif): Call demand_empty_rest_of_line. In MRI mode, 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.Mon Oct 2 16:15:27 1995 Ian Lance Taylor <ian@cygnus.com> * config/m68k-parse.y (m68k_reg_parse): In MRI mode, permit periods in register names.Sat Sep 30 23:03:31 1995 Jeff Law (law@hurl.cygnus.com) * config/tc-hppa.c (hppa_fix_adjustable): DP relative relocs are not adjustable in SOM to avoid confusing the optimizing linker.Fri Sep 29 15:18:08 1995 Ian Lance Taylor <ian@cygnus.com> Add some support for i960 MRI compatibility mode. * config/tc-i960.c (md_pseudo_table): Add endian. (get_args): Don't discard a space between alphanumeric characters. (get_cdisp): Change text_section to now_seg. (s_endian): New static function. * config/tc-i960.h (MRI_MODE_NEEDS_PSEUDO_DOT): Define. * expr.h (operatorT): Add O_logical_not, O_logical_and, and O_logical_or. * expr.c (operand): Treat '!' as logical not operator. If TC_I960, in MRI mode permit `sizeof secname' and `startof secname'. (op_rank): Bump values by 2 to make room for && and ||. Add entries for !, &&, and ||. (expr_begin): Only do MRI changes if TC_M68K. (operator): Recognize || and &&. (expr): Handle new operatorT values. * symbols.c (resolve_symbol_value): Handle new operatorT values. (print_expr_1): Likewise. * read.c (potable): Add debug, err, irep, irepc, print, purgem, and rep. (read_a_source_file): Handle MRI_MODE_NEEDS_PSEUDO_DOT. (mri_comment_field): Only handle weird comments if TC_M68K. (s_err): New function. (s_org): Only punt in MRI mode if TC_M68K. (s_mri_sect): Write TC_I960 version. (s_print, s_purgem): New functions. * read.h (s_err, s_print, s_purgem): Declare. * cond.c (s_ifeqs): Implement. (ignore_input): Handle MRI_MODE_NEEDS_PSEUDO_DOT. * macro.c (macro_strip_at): New static variable. (macro_init): Add strip_at parameter. (do_formals): If macro_strip_at, change NARG to $NARG. (define_macro): Skip a comma after the macro name. (get_apost_token): Skip character if macro_strip_at, even if macro_mri. (macro_expand_body): If macro_strip_at, don't recognize parameters in strings unless they are preceded by an '@'. If macro_strip_at, pass '@' as strip character to sub_actual. If macro_strip_at, strip '@' characters. (macro_expand): If macro_strip_at, change NARG to $NARG. (delete_macro): New function. (expand_irp): Skip leading and trailing '"' characters if irpc. * macro.h (macro_init): Mention new strip_at parameter. (delete_macro): Declare. * as.c (main): If TC_I960, pass flag_mri to macro_init as strip_at; otherwise, pass 0. * gasp.c (process_pseudo_op): Pass 0 to macro_init as strip_at. (main): Likewise. * doc/as.texinfo: Document i960 MRI mode. * as.c (show_usage): Mention --defsym.Thu Sep 28 19:25:04 1995 Stan Shebs <shebs@andros.cygnus.com> * mpw-config.in: Translate "powerpc" into "ppc", remove gen of VERSION, move gen of "conf" here from makefile. * mpw-make.sed: New file, sed commands to translate Unix makefile into MPW syntax. * mpw-make.in: Remove. * mac-as.r: New file, Mac resource file. * as.h (inline): Don't decide about defining if __MWERKS__, remove redundant conditional and definition. * stabs.c (s_stab_generic): Fix syntax for OBJ_PROCESS_STAB.Thu Sep 28 15:43:15 1995 Kim Knuttila <krk@nellie> * config/tc-ppc.c (md_apply_fix3): Removed some TE_PE specific manipulations, since I can't prove they're needed. (md_begin): Removed init_regtable, insert_reg, and the call points. (register_name): New function. Parses a register name, if appropriate. (md_assemble): Added call to register_name to handle symbolic names. (ppc_pe_section): Removed all duplicate IMAGE defines, and include coff/pe.h instead.Thu Sep 28 12:09:19 1995 Ian Lance Taylor <ian@cygnus.com> * config/tc-ppc.h (tc_fix_adjustable): Define. (ppc_pe_fix_adjustable): Declare. * config/tc-ppc.c (ppc_pe_fix_adjustable): New function.Thu Sep 28 01:11:58 1995 Doug Evans <dje@deneb.cygnus.com> * config/tc-arm.h (TARGET_FORMAT): Define for arm-coff.Wed Sep 27 12:53:58 1995 Ian Lance Taylor <ian@cygnus.com> * symbols.c (S_IS_LOCAL): All symbols in reg_section are local. * config/tc-ppc.h (OBJ_XCOFF): Define if OBJ_COFF and not TE_PE. 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 '?'. * configure.in: No need to check whether ${cpu_type} is powerpc; it never will be. * configure: Rebuild.Wed Sep 27 11:33:38 1995 Michael Meissner <meissner@tiktok.cygnus.com> * config/tc-ppc.c (md_apply_fix3): Remove Sep 26 changes to this function, keeping other Sep. 26 changes.Wed Sep 27 10:29:13 1995 Kim Knuttila <krk@nellie> * configure (emulations): Added support for ppcle-*-[pe|winnt] (target_frag): Removed an extraneous PPC definition. * configure.in (emulations): Same * config/tc-ppc.h: * config/tc-ppc.c (md_pseudo_table): Base support for new or altered pseudo ops - <previous, pdata, ydata, reldata, rdata, ualong, znop, section, comm, function> There will be more. (pre_defined_registers): Predefined reg table to name registers, etc (md_begin): Setup reg table initialization (md_assemble): Initial [toc]x(rtoc) support (ppc_frob_label): Removed some xcoff specific processing from TE_PE (ppc_frob_symbol): Removed some xcoff specific processing from TE_PE Added support for more predefined sections (ppc_frob_section): Removed some xcoff specific processing from TE_PE (ppc_fix_adjustable): Removed from TE_PE mainline (md_apply_fix3): For TE_PE toc entries, we don't need to mess with fx_addnumber. Removed for the time being. (lots): Put back missing assignments to ppc_current_csect.Tue Sep 26 14:57:59 1995 Michael Meissner <meissner@tiktok.cygnus.com> * config/tc-ppc.c (ppc_elf_suffix): Support all of the V.4 relocations. (ppc_elf_cons): Remove restriction that @ suffixes must be done with .long. Add error if relocation does not fit in the number of bytes provided. (md_assemble): For absolute branches, map PC relative relocations back into an equivalent absolute relocation. (md_pcrel_from): If TC_FORCE_RELOCATION is true, relocation offset is 0, not segment start. (md_apply_fix3): Don't bother writing addend into the instruction, since it is ignored, given that we use RELA relocations for ELF. * config/tc-ppc.h (TC_FORCE_RELOCATION): Define to force all branch prediction relocations to always be emitted.Mon Sep 25 16:08:43 1995 Michael Meissner <meissner@tiktok.cygnus.com> * config/tc-ppc.c (ppc_elf_suffix): Lower case reloc before testing. (md_assemble): Be more robust in terms of relocations. (md_apply_fix3): Allow 14 bit relocs to be emitted for external symbols in addition to 26 bit relocs. Properly insert 26/14 bit reloc value fields into the instruction stream. Mon Sep 25 00:23:16 1995 Ian Lance Taylor <ian@cygnus.com> * config/tc-arm.c (md_atof): Output little endian constants in little endian mode. * config/obj-coff.c (obj_coff_section): Pass &type, not type, s_mri_sect. * configure.in: Fix typo: fmt-elf to fmt=elf.Fri Sep 22 16:34:46 1995 Michael Meissner <meissner@tiktok.cygnus.com> * config/tc-ppc.c (ppc_elf_suffix): Rewrite to use a table of strings and relocations they represent. Add @br{,n}taken for branch taken/not taken support. (md_apply_fix3): Add BFD_RELOC_PPC_B16_BR{,N}TAKEN support.Thu Sep 21 21:10:17 1995 Michael Meissner <meissner@cygnus.com> * config/tc-ppc.c (md_parse_option): -mrelocatable-lib now only sets EF_PPC_RELOCATABLE_LIB and not also EF_PPC_RELOCATABLE.Thu Sep 21 16:30:56 1995 Ian Lance Taylor <ian@cygnus.com> * subsegs.c (subseg_set): Permit SEG_ABSOLUTE in know expression. * expr.c (expr): Account for new operatorT values in know expression. * write.c (fixup_segment): Clear fixp->fx_subsy if the relocation is fully resolved.Thu Sep 21 14:11:49 1995 Michael Meissner <meissner@cygnus.com> * config/tc-ppc.c (ppc_flags): New variable to hold the flag bits to set in the ELF header. (md_parse_option): Add support for -mrelocatable-lib. Make both -mrelocatable and -mrelocatable-lib set ppc_flags. (md_begin): Set ELF flags with ppc_flags.Wed Sep 20 13:01:52 1995 Ian Lance Taylor <ian@cygnus.com> * Makefile.in (maintainer-clean): New target, synonym for realclean. Add GNU standard maintainer-clean echos. * doc/Makefile.in (maintainer-clean): New target, synonym for realclean.Tue Sep 19 11:31:31 1995 Ian Lance Taylor <ian@cygnus.com> * config/tc-m68k.c (m68k_ip): Reject immediate operands for '%'. * config/tc-m68k.c (m68k_ip): Reject immediate operands for '|'. Replace 'P' with '0', '1', and '2'. * config/tc-m68k.c (parse_mri_control_operand): Change leftstop and rightstop to not be const. (parse_mri_control_expression): Likewise. (build_mri_control_operand): Likewise. Use m68k_ip_op to examine the operand, not m68k_reg_parse. (s_mri_if): In MRI mode, stop at the first '*'. (s_mri_while): Likewise. (s_mri_else): In MRI mode, ignore trailing characters. (s_mri_endi, s_mri_break, s_mri_next, s_mri_for): Likewise. (s_mri_endf, s_mri_repeat, s_mri_until, s_mri_endw): Likewise. * config/m68k-parse.y: Revert yesterday's change. * config/m68k-parse.h: Revert yesterday's change.Mon Sep 18 15:22:28 1995 Ian Lance Taylor <ian@cygnus.com> * config/tc-m68k.c (parse_mri_control_operand): Change leftstart and rightstart to not be const. (parse_mri_control_expression): Likewise. (build_mri_control_operand): Likewise. If the left side of the comparison is a register, and the right side is not, swap the two sides. * config/m68k-parse.y (m68k_reg_parse): Make globally visible. * config/m68k-parse.h (m68k_reg_parse): Declare. * read.c (mri_comment_field): New function. (mri_comment_end): New function. (s_align_bytes): Use mri_comment_field. (s_align_ptwo, s_comm, s_mri_common, s_fail, s_globl): Likewise. (s_float_space, s_struct): Likewise. (s_space): Use mri_comment_field rather than doing it by hand. (cons_worker, equals): Likewise. (s_end): Ignore comments starting with '*' or '!'. * read.h (mri_comment_field): Declare. (mri_comment_end): Declare. * cond.c (s_if): Use mri_comment_field. * config/tc-m68k.c (s_chip, s_reg): Likewise. * write.c (fixup_segment): Handle ABS-sym in -sym case rather than sym-sym case. * config/obj-coff.c (fixup_segment): Likewise. Permit negative symbols if TC_M68K. * config/tc-m68k.c (tc_coff_fix2rtype): If fx_tcbit is set, return R_RELLONG_NEG. (tc_gen_reloc): If fx_tcbit is set, abort. (md_apply_fix_2): For a negative reloc, move fx_subsy to fx_addsy, and set fx_tcbit. * config/tc-m68k.c (s_reg): Ignore comment field in MRI mode.Mon Sep 18 14:44:04 1995 Arne H. Juul <arnej@pvv.unit.no> * configure.in (mips-dec-netbsd*): New target. * configure: Rebuild.Sun Sep 17 22:17:43 1995 Ian Lance Taylor <ian@cygnus.com> * configure.in: Set endian to little for mips-*-ultrix*. * configure: Rebuild.Fri Sep 15 13:16:55 1995 Ian Lance Taylor <ian@cygnus.com> * expr.c (current_location): New static function. Handle magic symbol `.'; in absolute section, return a constant. (operand): Call current_location for '.' and '$', instead of doing it inline. In MRI mode, call current_location for '*'.Fri Sep 15 21:39:29 1995 Jeff Law (law@snake.cs.utah.edu) * config/tc-m68k.c: Change some "CONST" references to "const".Fri Sep 15 17:27:41 1995 Ken Raeburn <raeburn@cygnus.com> Tue Sep 12 17:08:23 1995 Pat Rankin <rankin@eql.caltech.edu> * config/obj-vms.c (VMS_stab_parse): simplify first loop; use S_GET_NAME/modify/S_SET_NAME sequence instead of abusing S_GET_NAME when updating symbol name. (local_symbols_DST): first prefix/postfix typo from July 21st. [plus comment reformatting --kr]Wed Sep 13 12:33:03 1995 Ian Lance Taylor <ian@cygnus.com> * Makefile.in (EXPECT): New variable. (CHECKFLAGS): Remove. (site.exp): New target. (check): Rewrite to invoke runtest directly, rather than recurring down into testsuite. (clean-here): Remove testsuite directory. (clean, distclean): Don't recur into testsuite. * configure.in: Don't call AC_CONFIG_SUBDIRS(testsuite). * configure: Rebuild. * write.c (relax_and_size_seg): Change to the segment we are relaxing, in case md_convert_frag, called by cvt_frag_to_fill, wants to call fix_new. * config/tc-m68k.c (m68k_ip): Permit PC relative code if the segment of the symbol is the current segment, not just in text_section.
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -