aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1997-01-06 * symtab.c (fixup_symbol_section): Handle NULL symbols withoutStu Grossman1-0/+5
crashing.
1997-01-06 * tic80-dis.c (R_SCALED): Add macro to test for ":s" modifier bit.Fred Fish3-78/+159
(print_insn_tic80): If R_SCALED then print ":s" modifier for operand. * tic80-opc.c (REG0, REG22, REG27, SSOFF, LSOFF): Names changed to REG_0, REG_22, REG_DEST, OFF_SS, OFF_SL respectively. (SICR, LICR, REGM_SI, REGM_LI): Names changed to CR_SI, CR_LI, REG_BASE_M_SI, REG_BASE_M_LI respectively. (REG_SCALED, LSI_SCALED): New operand types. (E): New macro for 'E' bit at bit 27. (tic80_opcodes): Add and test dld, dld.u, dst, estop, and etrap opcodes, including the various size flavors (b,h,w,d) for the direct load and store instructions.
1997-01-06 * tic80.h (TIC80_OPERAND_SCALED): Operand may have optionalFred Fish2-0/+9
":s" modifier for scaling.
1997-01-05 * tic80-dis.c (M_SI, M_LI): Add macros to test for ":m" modifier bitFred Fish3-65/+155
in an instruction. * tic80-dis.c (print_insn_tic80): Change comma and paren handling. Use M_SI and M_LI macros to check for ":m" modifier for GPR operands. * tic80-opc.c (tic80_operands): Add REGM_SI and REGM_LI operands. (F, M_REG, M_LI, M_SI, SZ_REG, SZ_LI, SZ_SI, D, S): New bit-twiddlers. (MASK_LI_M, MASK_SI_M, MASK_REG_M): Remove and replace in opcode masks with "MASK_* & ~M_*" to get the M bit reset. (tic80_opcodes): Add bsr, bsr.a, cmnd, cmp, dcachec, and dcachef.
1997-01-05 * tic80.h (TIC80_OPERAND_M_SI): Add operand modifier for ":m".Fred Fish2-0/+13
(TIC80_OPERAND_M_LI): Ditto
1997-01-05 * tic80.h (TIC80_OPERAND_BITNUM): Renamed from TIC80_OPERAND_CC_SZ.Fred Fish2-4/+17
(TIC80_OPERAND_CC): New define for condition code operand. (TIC80_OPERAND_CR): New define for control register operand.
1997-01-05 * tic80-dis.c (print_insn_tic80): Print TIC80_OPERAND_RELATIVEFred Fish3-23/+214
correctly. Add support for printing TIC80_OPERAND_BITNUM and TIC80_OPERAND_CC, and TIC80_OPERAND_CR operands in symbolic form. * tic80-opc.c (tic80_operands): Add SSOFF, LSOFF, BITNUM, CC, SICR, and LICR table entries. (tic80_opcodes): Add and test "nop", "br", "bbo", "bbz", "bcnd", and "brcr" opcodes.
1997-01-04 * ppc-opc.c (powerpc_operands): Make comment match theFred Fish3-1/+422
actual fields (no shift field). * sparc-opc.c (sparc_opcodes): Document why this cannot be "const". * tic80-dis.c (print_insn_tic80): Replace abort stub with a partial implementation, work in progress. * tic80-opc.c (tic80_operands): Begin construction operands table. (tic80_opcodes): Continue populating opcodes table and start filling in the operand indices. (tic80_num_opcodes): Add this.
1997-01-04 * Makefile.in (coff-tic80.o): Add coffcode.h to dependency list.Fred Fish2-0/+17
* coff-tic80.c (tic80coff_vec): Data byte order is big endian and header byte order is little endian. Use correct bfd_get and bfd_put routines for little endian headers. * coffcode.h (coff_set_arch_mach_hook): Set arch to bfd_arch_tic80 for TIC80_ARCH_MAGIC number.
1997-01-04 * Makefile.in configure configure.in: Remove ENABLE_CLIBS,Stu Grossman6-25/+105
ENABLE_OBS, and THREAD_DB_OBS. These are consolidated into LIBS and CONFIG_OBS. * configure configure.in: Clean up test cases around thread support. start-sanitize-v850 * configure.tgt (v850-*-*): Include v850ice.o and v850.lib if host is Windows. end-sanitize-v850 * c-valprint.c ch-valprint.c cp-valprint.c eval.c expprint.c printcmd.c valops.c value.h values.c: Add bfd_section arg to value_at and value_at_lazy. * coffread.c dbxread.c elfread.c mdebugread.c minsyms.c symtab.h: Add bfd_section arg to prim_record_minimal_symbol_and_info. * corefile.c gdbcore.h printcmd.c valops.c: Use read_memory_section instead of read_memory. It takes a bfd_section arg. * coffread.c dbxread.c elfread.c gdb-stabs.h objfiles.h: Remove unnecessary cast for assignment of struct dbx_symfile_info. Struct objfile now uses a real pointer instead of PTR for this element. * dbxread.c (dbx_symfile_init): Stash bfd section pointers for text, data and bss into dbx_symfile_info. * exec.c (xfer_memory): Handle transfers for user-specified sections. * findvar.c (read_var_value locate_var_value): Copy bfd section from the symbol to the value. * gdb-stabs.h: Add section pointers for text, data and bss sections. * maint.c (translate address command): Add test code for overlay address translation. * printcmd.c (do_examine do_one_display): Now takes a bfd section arg. * (print_formatted x_command): Record current section along with current address for repeated commands. * sparc-nat.c (fetch_inferior_registers): Change target_xfer_memory to target_{read write}_memory to allow changes to target_xfer_memory interface for section info. * symmisc.c (dump_msymbols print_symbol): Print section assocaited with symbol. * symtab.c (fixup_symbol_section): New routine to add section info to symbols returned by lookup_symbol. * symtab.h (struct general_symbol_info): Add bfd section to symbols. * target.c target.h (target_xfer_memory): Add bfd section to args. * (target_read_memory_section): New routine to read data from a specific section. * (target_memory_bfd_section): New global variable to pass bfd section in to targets. * valarith.c (value_add value_addr value_array): Preserve bfd section when computing new value. * value.h (struct value): Add bfd section to values. * values.c (allocate_value value_copy): Initialize/preserve bfd section. * (unpack_double): Clean up _MSC_VER conditionals to remove duplicate code. start-sanitize-v850 * v850ice.c: New module to support communication with NEC's PC-based ICE. * config/v850/tm-v850.h (REGISTER_NAMES): Replace sp, gp, fp, and ep names with rxx names. sp and fp are renamed via a different mechanism. end-sanitize-v850
1997-01-04 * Makefile.in configure configure.in: Remove ENABLE_CLIBS,Stu Grossman14-122/+717
ENABLE_OBS, and THREAD_DB_OBS. These are consolidated into LIBS and CONFIG_OBS. * configure configure.in: Clean up test cases around thread support. start-sanitize-v850 * configure.tgt (v850-*-*): Include v850ice.o and v850.lib if host is Windows. end-sanitize-v850 * c-valprint.c ch-valprint.c cp-valprint.c eval.c expprint.c printcmd.c valops.c value.h values.c: Add bfd_section arg to value_at and value_at_lazy. * coffread.c dbxread.c elfread.c mdebugread.c minsyms.c symtab.h: Add bfd_section arg to prim_record_minimal_symbol_and_info. * corefile.c gdbcore.h printcmd.c valops.c: Use read_memory_section instead of read_memory. It takes a bfd_section arg. * coffread.c dbxread.c elfread.c gdb-stabs.h objfiles.h: Remove unnecessary cast for assignment of struct dbx_symfile_info. Struct objfile now uses a real pointer instead of PTR for this element. * dbxread.c (dbx_symfile_init): Stash bfd section pointers for text, data and bss into dbx_symfile_info. * exec.c (xfer_memory): Handle transfers for user-specified sections. * findvar.c (read_var_value locate_var_value): Copy bfd section from the symbol to the value. * gdb-stabs.h: Add section pointers for text, data and bss sections. * maint.c (translate address command): Add test code for overlay address translation. * printcmd.c (do_examine do_one_display): Now takes a bfd section arg. * (print_formatted x_command): Record current section along with current address for repeated commands. * sparc-nat.c (fetch_inferior_registers): Change target_xfer_memory to target_{read write}_memory to allow changes to target_xfer_memory interface for section info. * symmisc.c (dump_msymbols print_symbol): Print section assocaited with symbol. * symtab.c (fixup_symbol_section): New routine to add section info to symbols returned by lookup_symbol. * symtab.h (struct general_symbol_info): Add bfd section to symbols. * target.c target.h (target_xfer_memory): Add bfd section to args. * (target_read_memory_section): New routine to read data from a specific section. * (target_memory_bfd_section): New global variable to pass bfd section in to targets. * valarith.c (value_add value_addr value_array): Preserve bfd section when computing new value. * value.h (struct value): Add bfd section to values. * values.c (allocate_value value_copy): Initialize/preserve bfd section. * (unpack_double): Clean up _MSC_VER conditionals to remove duplicate code. start-sanitize-v850 * v850ice.c: New module to support communication with NEC's PC-based ICE. * config/v850/tm-v850.h (REGISTER_NAMES): Replace sp, gp, fp, and ep names with rxx names. sp and fp are renamed via a different mechanism. end-sanitize-v850
1997-01-04 * reloc.c: Add BFD_RELOC_24.Jeff Law2-70/+33
* elf32-mn10200.c (enum reloc_type): Add 24bit and pcrel relocs. (elf_mn10200_howto, mn10200_reloc_map): Corresponding changes. * bfd-in2.h, libbfd.h: Rebuilt. Starting on relocs for the mn10200.
1997-01-03Fix copyrights.Jeff Law1-1/+1
1997-01-03 * config/tc-hppa.c (struct hppa_fix_struct): Steak fx_r_field's typeJeff Law3-83/+55
to avoid warnings with the native HP compiler. (fix_new_hppa): Similarly for the r_type argument. (pa_build_unwind_subspace, hppa_elf_mark_end_of_function): Enclose in an #if OBJ_ELF to keep gcc -Wall quiet. (md_apply_fix): Always initialize "result". Minor maintenance. * config/tc-mn10200.c (md_assemble): Generate relocations. mn10200 has relocs now!
1997-01-03 * tic80.h (struct tic80_opcode): Name changed.Fred Fish2-46/+119
(struct tic80_opcode): Remove format field. (struct tic80_operand): Add insertion and extraction functions. (TIC80_OPERAND_*): Remove old bogus values, start adding new correct ones. (FMT_*): Ditto.
1997-01-03Fri Jan 3 18:17:23 1997 Andreas Schwab ↵Ian Lance Taylor2-0/+6
<schwab@issan.informatik.uni-dortmund.de> * config/tc-m68k.c (s_even): Adjust the alignment of the current section.
1997-01-03tipoIan Lance Taylor1-1/+1
1997-01-03 * config/obj-coff.c (yank_symbols): If tc_frob_coff_symbol isIan Lance Taylor3-4/+35
defined, call it. * config/tc-m68k.c (tc_frob_symbol): Check whether text label is aligned to odd boundary. (tc_frob_coff_symbol): Define.
1997-01-03Fri Jan 3 14:20:05 1997 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer2-11/+16
* mn10300-tdep.c (mn10300_push_arguments): rewrote also removed code elsewhere that made use of RP_REGNUM * config/mn10300/tm-mn10300.h: ripped out RP_REGNUM, V0_REGNUM, ARG0_REGNUM, ARGLAST_REGNUM (all not appropriate for mn10300 arch.), redefined SAVED_PC_AFTER_CALL, EXTRACT_RETURN_VALUE, EXTRACT_STRUCT_VALUE_ADDRESS, STORE_RETURN_VALUE
1997-01-03Fri Jan 3 17:33:34 1997 Richard Henderson <rth@tamu.edu>Ian Lance Taylor1-0/+6
* scripttempl/elf.sc: Move .got closer to .sdata and .sbss by shifting .plt back. Rumour has it that the NetBSD ld.so depends on .dynamic being after .got, so we leave that.
1997-01-03revert last patchIan Lance Taylor2-14/+0
1997-01-03Fri Jan 3 14:20:05 1997 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer2-5/+353
* mn10300-tdep.c (mn10300_push_arguments): rewrote also removed code elsewhere that made use of RP_REGNUM
1997-01-03fix copyrightsIan Lance Taylor2-2/+2
1997-01-03Fri Jan 3 17:10:33 1997 Richard Henderson <rth@tamu.edu>Ian Lance Taylor2-1/+15
* config/obj-elf.c (elf_file_symbol): When using ECOFF debugging, pass on the new file hook. * config/tc-alpha.c (alpha_fix_adjustable): Not quite the same as !alpha_force_relocation, as local LITERALs can be adjusted to be relative to the section.
1997-01-03Fri Jan 3 16:58:31 1997 Richard Henderson <rth@tamu.edu>Ian Lance Taylor14-933/+1547
elf64-alpha multiple .got rewrite: * elf-bfd.h (struct elf_backend_data): Add always_size_sections entry. (bfd_elf*_mkobject): Don't define here ... * elfxx-target.h: ... but rather here. Default always_size_sections hook to NULL. * elf.c (elf_mkobject): Rename to bfd_elf_mkobject, since that was what the #defines in elf-bfd.h transmuted it to anyway. * section.c: Add SEC_LINKER_CREATED flag. * bfd-in2.h: Rebuild. * elf32-i386.c (elf_i386_check_relocs): Add SEC_LINKER_CREATED to relocation section flags. (elf_i386_size_dynamic_sections): Use SEC_LINKER_CREATED instead of SEC_IN_MEMORY to recognize generated bits. * elf32-m68k.c (elf_m68k_check_relocs, elf_m68k_size_dynamic_sections): Likewise. * elf32-mips.c (mips_elf_final_link, mips_elf_create_dynamic_sections, mips_elf_create_compact_rel_section, mips_elf_create_got_section, mips_elf_check_relocs, mips_elf_size_dynamic_sections): Likewise. * elf32-ppc.c (ppc_elf_create_linker_section, ppc_elf_size_dynamic_sections): Likewise. * elf32-sparc.c (elf32_sparc_check_relocs, elf32_sparc_size_dynamic_sections): Likewise. * elflink.c (_bfd_elf_create_got_section): Add SEC_LINKER_CREATED to section flags. (_bfd_elf_create_dynamic_sections): Likewise. (_bfd_elf_make_linker_section_rela): Likewise. * elflink.h (elf_link_create_dynamic_sections): Likewise. (bfd_elf,size_dynamic_sections): Call the always_size_sections hook. (elf_bfd_final_link): Use SEC_LINKER_CREATED instead of SEC_IN_MEMORY to identify generated bits. (elf_link_input_bfd): Likewise. * elf64-alpha.c: Rewrite everything touching relocations.
1997-01-03 * Makefile.in (MAKEINFO): Check for the existence of the Makefile,Ian Lance Taylor1-0/+6
rather than the makeinfo program. (do-info): Depend upon all-texinfo. This ensures that MAKEINFO will have the right value when building texinfo itself.
1997-01-03 * Makefile.in (clean): Don't remove configdoc.texi.Ian Lance Taylor1-0/+3
(maintainer-clean): Do remove configdoc.texi.
1997-01-03 * ld.texinfo (Operators): Remove '@' from @smallexmple in commentIan Lance Taylor2-1/+6
to avoid confusing texi2roff.
1997-01-03 * doc/as.texinfo (Set): Change parenthesized @xref to @pxref.Ian Lance Taylor1-0/+2
1997-01-03 * config/tc-m68k.h (tc_frob_label): Define to warn about aIan Lance Taylor2-0/+14
misaligned text label. Based on patch from Ronald F. Guilmette <rfg@monkeys.com>.
1997-01-03 * macro.c (macro_expand_body): In MRI mode, just copy a single &.Ian Lance Taylor1-0/+2
1997-01-03 * config/tc-m68k.c (m68k_ip): Call frag_grow before adding aIan Lance Taylor2-0/+9
PCINDEX frag. From Ronald F. Guilmette <rfg@monkeys.com>.
1997-01-03 * m68k-opc.c: Add #B case for moveq.Ian Lance Taylor1-0/+4
1997-01-03 * config/tc-m68k.c (m68k_ip): Accept 'B' as a size for anIan Lance Taylor4-10/+48
immediate value. (md_assemble): If the size is 'B', set fx_signed. (md_apply_fix_2): Use fx_signed when checking for overflow. * write.h (struct fix): Add fx_signed field. * write.c (fix_new_internal): Initialize fx_no_overflow and fx_signed fields. (fixup_segment): Use fx_signed when checking for overflow. * config/obj-coff.c (fixup_segment): Check fx_no_overflow and fx_signed when checking for overflow.
1997-01-03Put common variables into the appropriate section, based on relocation typesMichael Meissner2-227/+373
1997-01-03Add new st_other bits; Remove v850 section indexesMichael Meissner2-11/+10
1997-01-03Add .{z,t}common and .tcommon_byte sectionsMichael Meissner1-0/+7
1997-01-03 * interp.c (sim_monitor): Make output to stdout visible inMark Alexander1-0/+5
wingdb's I/O log window.
1997-01-03 * NOTES, NOTES.config: Removed. These are rarely, if ever,Ian Lance Taylor4-151/+3
updated, and all the useful information is in doc/internals.texi.
1997-01-03 Based on patch from Ronald F. Guilmette <rfg@monkeys.com>:Ian Lance Taylor4-12/+52
* 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.
1997-01-03Add v850.hMichael Meissner3-0/+56
1997-01-03 Based on patch from Ronald F. Guilmette <rfg@monkeys.com>:Ian Lance Taylor2-4/+38
* config/tc-m68k.c (m68k_rel32_from_cmdline): New static variable. (md_begin): Check m68k_rel32_from_cmdline before setting m68k_rel32. (m68k_mri_mode_change): Likewise. (md_longopts): Add --disp-size-default-16 and --disp-size-default-32. (md_parse_option): Handle new options. (md_show_usage): Mention new options. * doc/c-m68k.texi (M68K-Opts): Document new options.
1997-01-02 Based on patch from Ronald F. Guilmette <rfg@monkeys.com>:Ian Lance Taylor4-30/+644
* config/tc-m68k.c (m68k_index_width_default): New static variable. (m68k_ip): Use m68k_index_width_default to set the size of a base register whose size was not given. (md_longopts): Add --base-size-default-16 and --base-size-default-32. (md_parse_option): Handle new options. (md_show_usage): Mention new options. * doc/c-m68k.texi (M68K-Opts): Document new options.
1997-01-02fix copyrightIan Lance Taylor1-3/+3
1997-01-02 * configure.tgt (mips*el-*-linux*, mips*-*-linux*): New targets.Ian Lance Taylor2-0/+7
* scripttempl/elfmips.sc: Use __start as the entry address for mips*-*-linux*.
1997-01-02 * doc/c-mips.texi: Mention ISA level 4, and the -mips16 option.Ian Lance Taylor2-0/+185
1997-01-02 * configure.in: Recognize mips-*-linux* target.Ian Lance Taylor3-5/+8
* configure: Rebuild.
1997-01-02 * config/tc-mips.c (load_register): Rewrite 64 bit handling toIan Lance Taylor1-0/+3
work if valueT is only 32 bits.
1997-01-02 * gas/mips/mips16.s, gas/mips/mips16.d: New test.Ian Lance Taylor2-0/+260
* gas/mips/mips.exp: Run mips16 test. * gas/mips/mips.exp: Run dli test unconditionally. * gas/mips/dli.s: Add text symbol. Add nops to round to 16 byte boundary. * gas/mips/dli.d: Corresponding changes.
1997-01-02 * config/tc-mips.c: Throughout, check target_big_endian ratherIan Lance Taylor2-79/+57
than byte_order. (byte_order): Remove. (mips_init_after_args): Remove. * config/tc-mips.h (LITTLE_ENDIAN, BIG_ENDIAN): Don't define. (mips_init_after_args): Don't declare. (tc_init_after_args): Don't define. * config/tc-mips.h (tc_frob_after_relocs): Define if OBJ_MAYBE_ELF. (mips_elf_final_processing): Likewise. (ELF_TC_SPECIAL_SECTIONS): Likewise.