aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1997-01-13 * configure: Enable the mn10200 simulator.Jeff Law2-0/+6
1997-01-09 * sparc-tdep.c (sparc_frame_find_saved_regs): Don't useMichael Snyder1-0/+7
FP_REGISTER_BYTES to compute offsets into the saved frame, since it fails for SPARC targets configured without any FP regs. Instead, use DUMMY_STACK_REG_BUF_SIZE. --------------------------------------------------------------------
1997-01-09 * scripttempl/armcoff.sc: Correct mask used for .data address.Ian Lance Taylor1-0/+4
PR 11442.
1997-01-09 * read.c (emit_expr): Check for overflow of a negative valueIan Lance Taylor2-3/+21
correctly. * write.c (fixup_segment): Likewise. * config/obj-coff.c (fixup_segment): Likewise. PR 11411.
1997-01-09 * config/tc-m68k.c (struct label_line): Define.Ian Lance Taylor2-0/+89
(labels, current_label): New static variables. (md_assemble): Mark current_label as text, and clear it. (m68k_frob_label): New function. (m68k_flush_pending_output): New function. (m68k_frob_symbol): New function. * config/tc-m68k.h (tc_frob_label): Define. (md_flush_pending_output): Define. (tc_frob_symbol): Don't warn, just call m68k_frob_symbol. (tc_frob_coff_symbol): Likewise. PR 11417.
1997-01-09 * read.c (read_a_source_file): When defining a macro in MRI mode,Ian Lance Taylor2-5/+27
don't add the symbol to the symbol table. PR 11423.
1997-01-09Wed Jan 8 19:56:43 1997 Geoffrey Noer <noer@skaro.cygnus.com>Geoffrey Noer1-0/+4
* mh-cygwin32: override CFLAGS so debug info isn't included in cygwin32-hosted tools by default
1997-01-08Wed Jan 8 15:14:59 1997 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer1-0/+5
* emultempl/pe.em: make default executable a.exe instead of a.out
1997-01-08For NEC 4300 project, fix last remaining host/target endianness problemJim Wilson1-1/+1
* gencode.c (build_instruction): Use BigEndianCPU instead of ByteSwapMem.
1997-01-07 * config/tc-mn10300.c (tc_gen_reloc): Handle sym1-sym2 fixupsJeff Law1-0/+6
here since fixup_segment doesn't (linkrelax is set). * config/tc-mn10200.c (tc_gen_reloc): Likewise. Should fix line # stabs & block scope stabs.
1997-01-06 * mn10300_sim.h (struct _state): Fix number of registers!Jeff Law1-0/+4
Just something I noticed while working on the mn10200 simulator.
1997-01-06 * config/tc-mn10200.c (md_assemble): Tweak fx_offset for pc-relativeJeff Law2-4/+12
relocs. Relocs for the mn10200.
1997-01-06Fix typo.Jeff Law1-1/+1
1997-01-06 * elf32-mn10200.c (elf_mn10200_howto): Don't ever set partial-inplace.Jeff Law2-104/+9
Use bfd_elf_generic_reloc as special function for all relocs. (bfd_elf32_mn10200_reloc): Remove unnecessary function. Working on relocs for the mn10200.
1997-01-06Fix copyright.Jeff Law1-1/+1
1997-01-06 * mn10200-dis.c (disassemble): Mask off unwanted bits afterJeff Law2-1/+6
adding in current address for pc-relative operands. Fixes disassembly of backwards 24bit pc-relative addressese.
1997-01-06 * elf32-mn10200.c (elf_mn10200_howto): Set partial_inplace forJeff Law2-1/+6
24bit pc-relative reloc.
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