* config/tc-mips.c (md_apply_fix): Accept BFD_RELOC_16, for
[deliverable/binutils-gdb.git] / gas / ChangeLog
index 5c083d5918159d3e07cdc54d39b7241433de1881..7fa5e0d8b06e81beac36664f62be76e9df8d039c 100644 (file)
@@ -1,5 +1,425 @@
+Wed Feb 15 15:07:00 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * config/tc-ppc.c (md_pseudo_table): If ELF, go to ppc_elf_cons
+       instead of cons.
+       (md_show_usage): Show all of the PowerPc options.
+       (ppc_elf_suffix): New function to recognize ELF suffixes that
+       specify a relocation, such as @GOT.
+       (ppc_elf_cons): Replacement for the standard cons function that
+       knows about the ELF suffixes.
+       (ppc_fixup): Add reloc field to hold non-standard relocation.
+       (md_assemble): Handle ELF suffixes like @GOT.
+       (md_create_short_jump): Dummy in case WORKING_DOT_WORD is not
+       defined.
+       (md_create_long_jump): Ditto.
+       (md_short_jump_size): Ditto.
+       (md_long_jump_size): Ditto.
+       (md_apply_fix): Handle BFD_RELOC_32_PCREL, BFD_RELOC_LO16,
+       BFD_RELOC_HI16, BFD_RELOC_HI16_S, BFD_RELOC_PPC_TOC16, and
+       BFD_RELOC_16 relocations.  If relocation can not be found, print
+       the decimal value of the relocation.
+
+Wed Feb 15 11:46:02 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * config/tc-mips.c (md_apply_fix): Accept BFD_RELOC_16, for
+       DWARF.  From gary@Intrepid.COM (Gary Funck).
+
+       * config/tc-mips.c (macro): Handle M_U{L,S}D[_A] (unaligned double
+       loads and stores).
+
+       * config/tc-i386.c (tc_i386_fix_adjustable): Do adjust global
+       symbols if OBJ_AOUT.
+
+       * config/tc-mips.c (macro): Don't use the target register as a
+       base register when building the address for M_L{W,D}{L,R}_AB.
+
+Mon Feb 13 14:44:32 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * config/tc-mips.c (KT0, KT1): Define.
+       (mips_ip): Recognize $kt0 and $kt1 as register names.
+
+       * config/tc-sparc.h (tc_fix_adjustable): Define if OBJ_ELF.
+       * config/tc-sparc.c (md_apply_fix): If OBJ_ELF, subtract out the
+       value of a defined symbol; the value was added in by
+       fixup_segment.  This was previously corrected, if the reloc was
+       changed to be against a section symbol, in tc_gen_reloc.
+
+start-sanitize-arc
+Mon Feb 13 10:02:35 1995  Doug Evans  <dje@canuck.cygnus.com>
+
+       * config/tc-arc.h (TC_PARSE_CONS_EXPRESSION): Define.
+       (TC_CONS_FIX_NEW): Define.
+       * config/tc-arc.c (get_arc_exp_operand_type): New function.
+       (init_opcode_tables): Insert registers into global symbol table.
+       (md_assemble): Call `expression' to parse all expressions.
+       Call `get_arc_exp_operand_type'.
+       (md_operand): Recognize %st(foo).
+       (arc_parse_cons_expression): New function.
+       (arc_cons_fix_new): New function.
+       (md_apply_fix): Handle new reloc BFD_RELOC_ARC_B26.
+end-sanitize-arc
+
+Fri Feb 10 14:04:04 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * config/tc-i386.c (tc_i386_fix_adjustable): Use S_IS_EXTERN
+       rather than !S_IS_LOCAL.
+
+start-sanitize-arc
+Thu Feb  9 17:44:29 1995  Doug Evans  <dje@canuck.cygnus.com>
+
+       * config/tc-arc.c (md_pseudo_table): Add .cpu.
+       (comment_chars): Add ';'.
+       (arc_mach_type, mach_type_specified, cpu_tables_init_p): New globals.
+       (md_parse_option): Delete support for -mmult.  Add -mcpu=xxx.
+       (md_begin): Current ARCs are little endian.
+       Call bfd_set_arch_mach to set the cpu type.
+       (init_opcode_tables): New function.
+       (md_begin): Ignore suffixes and registers not supported by cpu.
+       (md_assemble): Initialize opcode tables here.
+       Ignore opcodes not supported by selected cpu.
+       Always ask for more memory in one piece.
+       (arc_cpu): New function.
+       (md_numbers_to_chars): Support both endians (will probably be needed
+       eventually anyway).
+       (md_apply_fix): Likewise.
+       * config/tc-arc.h (LOCAL_LABEL): Delete "_.L_", gcc works around
+       dwarfout.c quirk.
+end-sanitize-arc
+
+Thu Feb  9 18:16:34 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * config/tc-i386.c (md_assemble): Adjust conditions for changing
+       BFD_RELOC_32 to BFD_RELOC_386_GOTPC to handle a switch in frags.
+       Patch originally from Rob Ryan <robr@cmu.edu>.
+
+       * config/tc-i386.c: Include subsegs.h.
+       (tc_i386_fix_adjustable): Declare return value.
+       (i386_operand): Don't use an assignment directly as a condition.
+
+Thu Feb  9 10:37:13 1995  Jeff Law  (law@snake.cs.utah.edu)
+
+       * config/tc-hppa.c (md_apply_fix): In some cases subtract the
+       value of the add symbol from valp.  Offsets braindamage in the
+       "machine independent" fixup_segment.
+
+Wed Feb  8 18:51:23 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
+
+       * messages.c (as_abort): New function.
+       * as.h (as_abort): Declare it.
+       (abort): New macro.
+
+       Thu Jan 19 18:10:05 1995  Pat Rankin  (rankin@eql.caltech.edu)
+
+       * config/vms-conf.h (HAVE_UNISTD_H):  define it unconditionally.
+       * config-gas.com:  test for availability of <unistd.h>; create a
+       rudimentary one if necessary.
+
+Tue Feb  7 13:34:46 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * configure.in: Add powerpc-*-eabi support, which is the same as
+       powerpc-*-elf.
+       (configure): Rebuild with autoconf.
+
+Mon Feb  6 03:37:00 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
+
+       Changes from Bryan Ford <baford@schirf.cs.utah.edu> for i386
+       16-bit and msdos support:
+       * config/tc-i386.c (flag_16bit_code): New variable.
+       (set_16bit_code_flag): New function.
+       (md_pseudo_table): Added entries "code16" and "code32".
+       (md_assemble): Ensure that correct data-size prefixes get emitted,
+       based on the current mode.  Ensure that 32-bit addressing will
+       always be done.  Move segment-prefix handling code.  (Why?)  Use
+       16-bit jumps for 16-bit code, 32-bit jumps for 32-bit code.
+       * config/tc-i386.h (MAX_PREFIXES): Bump to 5.
+       (Data16, Data32): Define.
+       * doc/as.texinfo (i386-16bit): New node.
+       * configure.in (i386-*-msdos*): New target, using a.out format.
+       * configure: Regenerated.
+
+Thu Feb  2 15:21:24 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
+
+       * config/tc-m68k.c (cpu32_control_regs): New macro.
+       (m68k_init_after_args): Use it, for cpu32 processors.
+
+       Tue Jan 31 17:20:45 1995  Pat Rankin  (rankin@eql.caltech.edu)
+
+       * config/obj-vms.c (vms_tir_stack_psect):  new routine;
+       (VMS_Set_Data, VMS_Set_Psect, VMS_Store_PIC_Symbol_Reference,
+       VMS_TBT_Routine_Begin, VMS_TBT_Line_PC_Correlation):  use it;
+       (VMS_Global_Symbol_Spec, VMS_Procedure_Entry_Pt):  treat
+       Psect_Number as `unsigned'.
+
+       Thu Jan 26 17:06:28 1995  Pat Rankin  (rankin@eql.caltech.edu)
+
+       * config/obj-vms.c:  performance tuning.
+       (VMS_Symbol_type_list):  convert from single list head to small
+       array of list heads;
+       (SYMTYP_HASH):  new macro for accessing VMS_Symbol_type_list[];
+       (find_symbol, setup_basic_type, VMS_typedef_parse):  use it;
+       (VMS_RSYM_Parse):  move S_GET_VALUE() inside switch to avoid
+       calling it for uninteresting cases.
+
+Wed Feb  1 23:52:45 1995  Jeff Law  (law@snake.cs.utah.edu)
+
+       * config/tc-hppa.c (md_apply_fix): Go ahead and call
+       hppa_field_adjust to get a new value for R_DATA_ONE_SYMBOL
+       relocations in SOM.
+       (hppa_fix_adjustable): Refine somewhat.
+
+Fri Jan 27 21:29:53 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * config/tc-ppc.h (NO_STRING_ESCAPES): Don't define if we are
+       using ELF.
+
+Thu Jan 26 19:03:42 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
+
+       * config/tc-h8300.c (get_specific): Add parens around | inside &.
+       (skip_colonthing): Set L_8 if ":8" is specified.
+
+Thu Jan 26 18:38:01 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * config/tc-ppc.c (md_begin): Permit mfdec to be duplicated on the
+       601.  Check that the error return from hash_insert is "exists".
+
+Thu Jan 26 11:35:33 1995  Michael Meissner  <meissner@cygnus.com>
+
+       * configure: Add support for configuring powerpc-*-eabi.
+
+       * config/tc-ppc.c (GOT_symbol): Define if object format is ELF.
+
+       * config/tc-ppc.h (GLOBAL_OFFSET_TABLE_NAME): Define if object
+       format is ELF and not defined to be "_GLOBAL_OFFSET_TABLE_".
+
+Wed Jan 25 16:23:13 1995  Jim Wilson  <wilson@chestnut.cygnus.com>
+
+       * tc-sh.c (little): Add argument IGNORE to avoid compiler warnings.
+       (md_pseudo_table): Add space for consistent formatting.
+       (COND8_RANGE, COND12_RANGE): Delete unused macros.
+       (COND8_F, COND8_M, COND12_F, COND12_M, UNCOND12_F, UNCOND12_M):
+       Correct minimum and maximum branch offsets.  Add comments explaining
+       why these numbers are correct.
+
+Wed Jan 25 15:32:09 1995  David Edelsohn  <edelsohn@mhpcc.edu>
+
+       * config/tc-ppc.c (md_parse_option): Accept mpwr2 as a synonym for
+       mpwrx; mppc32, m603, and m604 as synonyms for mppc; and mppc64 and
+       m620 for PowerPC64 mode.
+       (ppc_symbol_new_hook): Add T0 as synonym for TC0 suffix.
+
+Tue Jan 24 16:44:23 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
+
+       * config/tc-vax.c (vip): Introduce new ptr-to-const local variable
+       for scanning operand string.
+
+       Sat Jan 21 17:50:38 1995  Pat Rankin  (rankin@eql.caltech.edu)
+
+       * config/vax-inst.h (struct vop, fields `vop_warn', `vop_error'):
+       make them pointers to const char;
+       (struct vit, field `vit_error'):  ditto.
+       * config/atof-vax.c (md_atof):  rename local `littlenum_pointer'
+       to `littlenumP' to avoid shadowing file scope variable.
+       * config/tc-vax.c (vip_begin, vip_op_defaults, vip_op_1):  make
+       string arguments be pointers to const char;
+       (vip):  make `alloperr' const char *;
+       (vip_op): make `err' and `wrn' const char *; rename `access' to
+       `access_mode' to avoid shadowing library function.
+       * config/obj-vms.c (`symbol_name'):  make it const char *;
+       (get_struct_name):  cast one use of `symbol_name' to char *
+       [caller guarantees that it won't modify the pointer's target];
+       (PUT_COUNTED_STRING):  use pointer to const char;
+       (VMS_typedef_parse):  make `pnt2' const char *;
+       (Write_VMS_MHD_Records):  make `cp' const char *;
+       (VMS_Modify_Psect_Attributes, array `Attributes'):  make const,
+       and make field `Name' pointer to const char;
+
+       * as.h (`seg_name[]' declaration):  pointers to const char;
+       (struct _pseudo_type, field `poc_name'):  pointer to const char.
+       * subsegs.c (`seg_name[]' definition):  ditto;
+       * hash.c (hash_ask):  rename argument `access' to `access_type'
+       to avoid shadowing library function.
+       * write.c (variable `the_object_file'):  move from file scope
+       to block scope within write_object_file(); free it after use;
+       (fixup_segment):  conditionally exclude it for OBJ_VMS.
+       (cvt_frag_to_fill):  rename argument `headers' to `headersP'
+       to avoid shadowing file scope variable.
+
+Mon Jan 23 21:42:39 1995  Jeff Law  (law@snake.cs.utah.edu)
+
+       * config/tc-hppa.c (pa_ip, case 'D'): Fix typo which caused
+       miscompilation of "diag" instructions.
+
+Mon Jan 23 15:51:41 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
+
+       * configure: Regenerated.
+
+       * config/tc-mips.c: Include libiberty.h.
+
+Mon Jan 23 14:07:58 1995  Ian Lance Taylor  <ian@sanguine.cygnus.com>
+
+       * config/tc-sh.h (tc_init_after_args): Don't define.
+       * config/tc-sh.c (md_begin): Remove unused variable table.
+       (md_assemble): Remove unused variable p.
+       (md_convert_frag): Cast fr_address to unsigned long for printf.
+       (md_apply_fix): Use as_warn_where rather than as_warn.
+       (sh_init_after_args): Remove empty function.
+
+       * configure.in (i386-*-gnu*elf*): New target.
+
+Sat Jan 21 19:02:23 1995  Ian Lance Taylor  <ian@tweedledumb.cygnus.com>
+
+       * hash.c (hash_ask): If we find the slot after wrapping around,
+       break out of the loop.  Fixes bug in Jan 18 change.
+
+Fri Jan 20 17:07:31 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
+
+       * hash.c (hash_code): Undo last change.
+
+Thu Jan 19 14:49:47 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
+
+       * config/tc-alpha.c (alpha_ip): Initialize local variables to keep
+       gcc quiet.
+       (gpdisp_hi16_howto): Don't use "const" with reloc_howto_type.
+       (in_range_signed): Add parens around subtraction inside shift.
+       * gasp.c (do_data): Initialize local variable "opname".
+       (istrue): Provide a default case to set "res" and keep "gcc -Wall"
+       quiet.
+       * write.c (write_contents): Deleted unused variable.
+       (print_symbol_value_1): Declare.
+       * hash.c (hash_ask): Delete disabled non-strcmp version of the
+       code, and automatic variables used only in those sections.
+       * write.c (chain_frchains_together_1): Only define local variable
+       "prev_fix" if BFD_ASSEMBLER.
+       * flonum-konst.c (dummy1): Return void.
+       * config/tc-vax.c (md_assemble): Remove two comparisons of
+       unsigned numbers versus zero.
+       * as.h (bcopy): If neither memcpy nor bcopy is defined as a macro,
+       define to use memcpy.
+
+       * config/tc-alpha.c, config/alpha-opcode.h: Revert 2 June changes.
+       Turns out we never got the assignment done after all.
+
+       Cleanup of VAX and VMS code, from Pat Rankin:
+       * config/obj-vms.c: Changed exported function names to lower case.
+       (Changed call sites in write.c.)  Declare VMS system function
+       names used, conditional on actually being on VMS.  Changed many
+       functions that returned no useful value to now be declared to
+       return void.  Removed many unused variables.  Supply missing
+       return statements or values.  Supply `default' case in switch
+       statements.  Ensure local variables get initialized.
+       * config/tc-vax.c: Minor changes to silence "gcc -Wall".
+       * config/obj-vms.h, config/tc-vax.h: Added some missing
+       declarations.
+
+Wed Jan 18 13:49:26 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
+
+       * atof-generic.c (flonum_print) [TRACE]: New function.
+       (atof_generic) [TRACE]: Print multiplier before multiplication,
+       and print multiplication result before and after copy.
+
+       * flonum-mult.c (flonum_multip): Avoid sign extension problems
+       around multiplication operation.
+
+       * atof-generic.c (ASSUME_DECIMAL_MARK_IS_DOT): Define.
+       (atof_generic) [ASSUME_DECIMAL_MARK_IS_DOT]: Check for '.'
+       explicitly instead of calling strchr.
+
+       * config/tc-sparc.c (sparc_ip): When scanning successive opcode
+       table entries, check names for pointer equality before doing
+       string comparisons.
+
+       * hash.c (hash_ask): Call strcmp instead of expanding it inline.
+       (hash_code): Replaced with a version from bfd.
+
+       * config/obj-coff.c (write_object_file): If COFF_FLAGS isn't
+       defined, default it to zero.
+
+Wed Jan 18 12:16:07 1995  Ian Lance Taylor  <ian@sanguine.cygnus.com>
+
+       * write.c (fix_new_internal): Clear fx_bsr on those targets which
+       use it.
+
+       * expr.c (operand): Parenthesize && within ||.
+       * listing.c (listing_newline): Likewise.
+       (list_symbol_table): Use %lu to print sizeof.
+       * symbols.c: Comment out unused function indent.
+       (print_symbol_value_1): Cast pointer to unsigned long for printf.
+       * config/obj-coff.c (do_relocs_for): Only declare symbol_ptr if it
+       will be used.
+       * config/tc-h8300.c (md_begin): Remove unused variable reg.
+       (get_operand): Declare type of parameter direction.  Remove unused
+       variable size.
+       (get_specific): Fix comment to avoid nested comments.
+       (check_operand): Cast X_add_number to unsigned long for printf.
+       (build_bytes): Remove unused local variables output_ptr, part, and
+       high.
+       (build_bytes): Cast X_add_number to unsigned long for printf.
+       (clever_message): Remove unused variable scan.
+       (md_assemble): Remove unused variable i.
+       (tc_coff_sizemachdep): Remove unused function.
+       * tc-h8300.h (tc_reloc_mangle): Declare.
+
+Tue Jan 17 10:58:06 1995  Ian Lance Taylor  <ian@sanguine.cygnus.com>
+
+       * config/tc-mips.c (mips_4650): New static variable.
+       (md_begin): Handle a cpu string of "4650".  If mips_4650 was not
+       initialized, set it to 0.
+       (append_insn): Don't insert nops around HI and LO on a 4650.
+       (mips_emit_delays): Likewise.
+       (mips_ip): Use INSN_ISA mask to check ISA of instruction.  Check
+       for INSN_4650.
+       (md_longopts): Add m4650 and no-m4650.
+       (md_parse_option): Handle mips-cpu=4650.  Handle -m4650 and
+       -no-m4650.
+       * doc/as.texinfo: Document new MIPS options.
+
+Sat Jan 14 23:48:13 1995  Steve Chamberlain  <sac@jonny>
+
+       * config/tc-w65.c, config/tc-w65.h, config/w65.mt: Newfiles.
+       * config/obj-coff.h: Cope with w65.
+       * configure, configure.in: Recognize w65.
+
+Thu Jan 12 17:56:24 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
+
+       * app.c (do_scrub_next_char) [__GNUC__ && __OPTIMIZE__]: If `get'
+       function is scrub_from_file, call scrub_from_file directly, and
+       get gcc's inlining capability into the act.
+
+       * Makefile.in (VMS_OTHER_OBJS): Add ../libiberty/hex.o.
+       (OBJS): Delete hex-value.o.
+       (REAL_SOURCES): Delete hex-value.c.
+       (hex-value.o): Delete dependencies.
+       * hex-value.c: Deleted.
+       * as.c (main): Call hex_init.
+       * expr.c, config/tc-mips.c: Include libiberty.h.  Replace
+       hex_value array references with hex_* macros.
+
+Wed Jan 11 17:51:38 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
+
+       * config/tc-h8300.h (COFF_FLAGS): Don't define.
+       * config/tc-h8500.h (COFF_FLAGS), config/tc-sh.h (COFF_FLAGS),
+       config/tc-z8k.h (COFF_FLAGS): Ditto.
+start-sanitize-rce
+       * config/tc-rce.h (COFF_FLAGS): Ditto.
+end-sanitize-rce
+
+       * config/obj-coff.c (KEEP_RELOC_INFO): Make sure it's always
+       defined.
+
+       * config/tc-m68k.c (m68k_ip, cases AOFF and AINDEX): Don't
+       generate 68020 addressing modes for a 68000 processor.
+       (md_estimate_size_before_relax, cases PCREL and PCLEA): Ditto.
+
+Tue Jan 10 13:34:14 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
+
+       * config/obj-coff.c (write_object_file): Don't treat h8300 and z8k
+       specially with regard to fixups.
+
 Mon Jan  9 16:22:28 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
 
+       * config/tc-mips.c (RELAX_RELOC1, RELAX_RELOC2): Cast values to
+       bfd_vma before subtracting.
+
        * config/obj-coff.c (size_section): Handle rs_space like rs_fill,
        but make sure fr_symbol is null.
        (fill_section): Ditto.
This page took 0.028585 seconds and 4 git commands to generate.