aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1997-01-27 * ecoff.c (ecoff_build_symbols): Don't generate a local ECOFFIan Lance Taylor2-2/+17
symbol for a common symbol.
1997-01-27January 23rd mergeMichael Meissner18-2761/+6983
1997-01-27 * reloc.c: Add relocs BFD_RELOC_M32R_{HI16_[US]LO,LO16}.David Edelsohn5-9/+446
* bfd-in2.h, libbfd.h: Regenerated. * elf32-m32r.c: Add support for them.
1997-01-27 * internal.h (R_IPRMED, R_OPTCALL, R_OPTCALLX): Move definitionsIan Lance Taylor2-9/+18
from here... * i960.h (R_IPRMED, R_OPTCALL, R_OPTCALLX): ...to here.
1997-01-27 * aout-arm.c (MY_swap_std_reloc_in): Remove unused r_length.Ian Lance Taylor1-0/+8
* elf32-ppc.c (ppc_elf_check_relocs): Remove unused plt. start-sanitize-v850 * elf32-v850.c (v850_elf_final_link_relocate): Remove used r_format and r_pcrel. Always return a value. end-sanitize-v850 * riscix.c (MY_final_link_callback): Define to dummy value.
1997-01-27 * elf32-i386.c (elf_i386_size_dynamic_sections): When checking forIan Lance Taylor3-5/+23
relocations against the text segment, look up the output name of the reloc section. * elf32-m68k.c (elf_m68k_size_dynamic_sections): Likewise. * elf32-mips.c (mips_elf_size_dynamic_sections): Likewise. * elf32-ppc.c (ppc_elf_size_dynamic_sections): Likewise. * elf32-sparc.c (elf32_sparc_size_dynamic_sections): Likewise. * elf64-alpha.c (elf64_alpha_size_dynamic_sections): Likewise.
1997-01-27 * scripttempl/elf.sc: Put linkonce reloc section in otherIan Lance Taylor3-11/+31
appropriate reloc sections. * scripttempl/elfmips.sc: Add linkonce support. * scripttempl/elfppc.sc: Likewise.
1997-01-27 * tm-mn10200.h (NUM_REGS): Decrease to 12.Jeff Law2-8/+13
(REGISTER_NAMES): Elimination registers not found on the mn10200. (PC_REGNUM, MDR_REGNUM, PSW_REGNUM): Corresponding changes. (LIR_REGNUM, LAR_REGNUM): Delete. They don't exist on the mn10200.
1997-01-25 * dwarf2read.c: Replace integral tag, name and form fields inPeter Schauer2-566/+1333
internal structure definitions with the corresponding enumeration types from dwarf2.h. Add default cases to switches on enumerations where appropriate. Make quoting of string arguments in complaint messages consistent. Check for NULL returns from DW_STRING. (struct partial_die_info): Add sibling and has_type fields, remove unused value field. (DW_*): Move access macro definitions near the definition of the attribute structure. (struct field_info): New structure to pass information about fields and member functions between die processing routines. (dwarf2_build_psymtabs_hard): Set cu_header_offset. (scan_partial_symbols): Do not enter DW_TAG_subprogram dies into the partial symbol table if the DW_AT_*_pc attributes are missing. Add file scope base type definitions to the partial symbol table. Skip over child dies if the die has a sibling attribute. (add_partial_symbol): Enter global variables with type attributes and without location descriptors into the partial symbol table. Store value of DW_TAG_variable dies in the partial symbol table. Do not enter global variables into the minimal symbol table. Add base type definitions to the partial symbol table. (psymtab_to_symtab_1): Use dwarf2_get_pc_bounds to determine highpc. (process_die): Move check for DW_AT_low_pc to read_func_scope. Add a typedef symbol for base type definitions to the symbol table. Ignore DW_TAG_inlined_subroutine tags for now. (read_file_scope): Use dwarf2_get_pc_bounds to determine pc bounds. (read_func_scope, read_lexical_block_scope): Use dwarf2_get_pc_bounds to determine pc bounds, ignore dies with invalid bounds. (dwarf2_get_pc_bounds): New routine to extract and validate the DW_AT_*_pc attributes of a die. (dwarf2_add_field, dwarf2_attach_fields_to_type, skip_member_fn_name, dwarf2_add_member_fn, dwarf2_attach_fn_fields_to_type): New functions to handle fields and member functions. (read_structure_scope): Rewritten to use them. (read_array_type): Renamed from dwarf_read_array_type. Default upper array bound to describe an array with unspecified length. Create array types in backwards order, as dwarf2 puts out the array dimensions from left to right. (read_subroutine_type): Handle DW_TAG_unspecified_parameters, DW_AT_artificial and DW_AT_prototyped. (read_base_type): Make an unsigned type for DW_ATE_boolean. Pass objfile to dwarf_base_type. (read_partial_die): Use read_attribute to read in the attributes. Handle DW_AT_sibling and DW_AT_type. Follow references when determining DW_AT_name and DW_AT_external attributes of the die. Validate DW_AT_*_pc attributes. (read_full_die): Use read_attribute to read in the attributes. (read_attribute): New function to read an attribute described by an abbreviated attribute. (new_symbol): Relocate symbol value for DW_TAG_label with baseaddr. Do not set SYMBOL_VALUE_ADDRESS for DW_TAG_subprogram, SYMBOL_BLOCK_VALUE for the symbol will be set later by finish_block. Change symbol class for global variables with a zero valued location descriptor to LOC_UNRESOLVED. Handle DW_AT_const_value attributes for DW_TAG_variable, DW_TAG_formal_parameter and DW_TAG_enumerator. Build a typedef symbol for DW_TAG_base_type. (dwarf2_const_value): New routine to copy a constant value from an attribute to a symbol. (dwarf_base_type): Use passed in objfile, not current_objfile when calling dwarf2_fundamental_type. (dump_die): Use DW_* accessor macros to access values of attributes. (decode_locdesc): Handle DW_OP_plus_uconst.
1997-01-24* m68k-opc.c (m68k_opcodes): Changed operand specifier for theJ.T. Conklin2-1/+27
coldfire moveb instruction to not allow an address register as destination. Although the documentation does not indicate that this is invalid, experiments uncovered unexpected behavior. Added a comment explaining the situation. Thanks to Andreas Schwab for pointing this out to me.
1997-01-24 * ../common/aclocal.m4 (COMMON_MAKEFILE_FRAG): Quote a couple of $'s inStu Grossman8-16/+16
comments and single quotes. Fixes a problem found on hpux.
1997-01-24 * aclocal.m4 (COMMON_MAKEFILE_FRAG): Quote a couple of $'s inStu Grossman2-2/+7
comments and single quotes. Fixes a problem found on hpux.
1997-01-24 * interp.c (init_system): Allocate 2^19 bytes of space for theJeff Law1-0/+5
simulator. To match the linker.
1997-01-24 * emulparms/mn10200.sh (OTHER_RELOCATING_SECTIONS): Move theJeff Law1-0/+6
stack up to 0x80000. * emulparms/mn10300.sh (OTHER_RELOCATING_SECTIONS): Likewise. Because we're seeing .text for some of the plumhall tests which exceeds 0x40000 bytes on these machines.
1997-01-24 * configure: Remove targ-vals.def when doing distclean. (ChangeStu Grossman8-8/+8
is actually in ../common/aclocal.m4.)
1997-01-24 * (distclean): Remove targ-vals.def.Stu Grossman2-1/+2
1997-01-24 * configure: Remove Make-common.in from dependencies. (Actually inStu Grossman8-8/+8
../common/aclocal.m4).
1997-01-24 * aclocal.m4: Remove Make-common.in from dependencies.Stu Grossman2-1/+3
1997-01-23 * configure configure.in Makefile.in: Update to new configureStu Grossman32-1269/+10379
scheme which is more compatible with WinGDB builds. * configure.in: Improve comment on how to run autoconf. * configure: Re-run autoconf to get new ../common/aclocal.m4. * Makefile.in: Use autoconf substitution to install common makefile fragment.
1997-01-23 * aclocal.m4 (SIM_AC_COMMON): Move contents of Make-common.inStu Grossman2-0/+328
into here. Makes insertion into makefiles easier. Also, change the way that callback.o, gentmap, targ-vals.h, targ-map.c, targ-map.o, and run are built. They are now built in the individual simulator directories, taking sources from ../common as necessary. This replaces the merging of libcommon.a into linsim.a, which was problematic for the WinGDB build process. * run.c: Include config.h from . instead of ../common. * Make-common.in: Remove. It's no longer necessary.
1997-01-23 * configure configure.in: Don't configure common anymore. FilesStu Grossman3-87/+256
from common are now built in the individual simualtor directories. This fixes problems with the WinGDB build procedure.
1997-01-23handle all 4100/4300, not just elfAngela Marie Thomas1-0/+14
1997-01-23Committing tiny change -- pretend regs are 32 bitsGeoffrey Noer1-1/+3
1997-01-23Thu Jan 23 01:44:27 1997 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer2-2/+16
* configure.in: build gdb for mn10200
1997-01-23 * tic80-opc.c (tic80_opcodes): Expand comment to note that theFred Fish2-332/+311
entries are presorted so that entries with the same mnemonic are adjacent to each other in the table. Sort the entries for each instruction so that this is true.
1997-01-23 * tic80.h (TIC80MAGIC): Renamed to TIC80_AOUTHDR_MAGIC.Fred Fish1-0/+10
1997-01-23 * coff-tic80.c (tic80coff_vec): Use correct data put/getFred Fish1-0/+7
routines for little endian data. * coffcode.h (coff_write_object_contents): Set magic to TIC80_ARCH_MAGIC for TIc80.
1997-01-22 Patch presumed to have been checked in awhile ago but wasn't.David Edelsohn2-131/+158
Mon Nov 25 10:45:14 1996 Doug Evans <dje@seba.cygnus.com> * write.c: Delete "ifndef md_relax_frag" around is_dnrange. (relax_segment, case rs_org): Move code inside braces. Move locals target,after inside too. (relax_segment, case rs_machine_dependent): Guts moved to ... (relax_frag): New function. Call md_prepare_relax_scan if defined.
1997-01-22Wed Jan 22 01:31:16 1997 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer2-0/+2
Start mn10200 gdb port by adding copies of mn10300 target-specific files with all instances of mn10300 changed to mn10200 to start with. * mn10200-tdep.c: new * config/mn10200/tm-mn10200.h: new, REGISTER_SIZE is 24 bits not 32, SP_REGNUM and FP_REGNUM are different, also no lar or lir. * config/mn10200/mn10200.mt: new * configure.tgt: add mn10200 entry
1997-01-22Wed Jan 22 01:31:16 1997 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer4-0/+539
Start mn10200 gdb port by adding copies of mn10300 target-specific files with all instances of mn10300 changed to mn10200 to start with. * mn10200-tdep.c: new * config/mn10200/tm-mn10200.h: new, REGISTER_SIZE is 24 bits not 32, SP_REGNUM and FP_REGNUM are different, also no lar or lir. * config/mn10200/mn10200.mt: new
1997-01-22 * configure.in configure: Check if host has libdl if doingStu Grossman3-4/+54
Solaris threads.
1997-01-22Tue Jan 21 17:03:26 1997 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer3-222/+125
* mn10300-tdep.c: wrote/fixed implementations of mn10300_frame_chain, mn10300_init_extra_frame_info, mn10300_frame_saved_pc * config/mn10300/tm-mn10300.h: redefine INIT_EXTRA_FRAME_INFO and INIT_FRAME_PC macros Backtracing starting to work correctly.
1997-01-22 * configure.in configure: Check if host has libm. Make sure weStu Grossman3-488/+276
are using gcc when using the -export-dynamic option. Fixes a problem with building under Solaris/SunPro cc.
1997-01-21 * simops.c: Undo last change to "rol" and "ror", original codeJeff Law2-2/+7
was correct!
1997-01-21 * coff-tic80.c (tic80coff_vec): Change to little endian dataFred Fish2-5/+12
as the default.
1997-01-21 * emulparams/m32relf.sh (OTHER_RELOCATING_SECTIONS): Use PROVIDEDavid Edelsohn1-0/+7
to define `_stack'.
1997-01-20 * config/mips/{embed,embed64,embedl,embedl64}.mt:Mark Alexander4-0/+11
Link in simulator on MIPS embedded targets.
1997-01-20Multiply ops sign extend, not zero extendMichael Meissner1-0/+11
1997-01-20 * size.c (berkeley_sum): Rewrite. Skip sections which are notIan Lance Taylor1-0/+10
SEC_ALLOC. Count SEC_READONLY sections as text.
1997-01-20 * config/tc-mips.c (md_begin): Don't set SEC_ALLOC or SEC_LOAD forIan Lance Taylor2-8/+15
the .reginfo or .MIPS.options section if configured for an embedded target.
1997-01-20* config/tc-m68k.c (m68k_ip): Reject pc-relative addresses for theJ.T. Conklin1-1/+6
'p' operand specifier.
1997-01-20* config/tc-m68k.c (HAVE_LONG_BRANCH): New macro, returns true forJ.T. Conklin2-7/+18
m68k family cpus which support long branch addressing modes. (m68k_ip, md_convert_frag_1, md_estimate_size_before_relax, md_create_long_jump): Use it.
1997-01-20Mon Jan 20 12:48:57 1997 Andreas Schwab ↵Ian Lance Taylor2-7/+72
<schwab@issan.informatik.uni-dortmund.de> * m68k-dis.c: Include <libiberty.h>. (print_insn_m68k): Sort the opcode table on the most significant nibble of the opcode.
1997-01-20 * config/tc-mips.c (md_begin): Don't set interlocks forIan Lance Taylor2-46/+103
mips_4650. PR 11507.
1997-01-19 * tic80-dis.c (tic80_opcodes): Add "wrcr", "vmpy", "vrnd",Fred Fish2-16/+86
"vsub", "vst", "xnor", and "xor" instructions. (V_a1): Renamed from V_a, msb of accumulator reg number. (V_a0): Add macro, lsb of accumulator reg number.
1997-01-19 * tic80.h (TIC80_NO_R0_DEST): Add for opcodes where r0 cannotFred Fish2-1/+7
be the destination register.
1997-01-19 * tic80-dis.c (print_insn_tic80): Broke excessively longFred Fish3-254/+419
function up into several smaller ones and arranged for the instruction printing function to be callable recursively to print vector instructions that have both a load and a math instruction packed into a single opcode. * tic80-opc.c (tic80_opcodes): Expand comment for vld opcode to explain why it comes after the other vector opcodes.
1997-01-18 * blockframe.c (frameless_look_for_prologue): Mark framesPeter Schauer2-44/+23
with a zero PC as frameless to improve backtraces from core dumps caused by dereferencing a NULL function pointer.
1997-01-18fix operand mask in the "moveml" entries for the coldfire.J.T. Conklin2-8/+9
1997-01-18From the coldfire branch:J.T. Conklin2-21/+39
* m68k-opc.c (m68k_opcodes): add b, w, or l specifier to coldfire move insns to handle immediate operands. From Andreas Schwab: * m68k-opc.c (m68k_opcodes): Delete duplicate entry for "cmpil".