aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1994-09-16 * objdump.c (objdump_print_address): If we can't find a smallerIan Lance Taylor2-7/+23
symbol in the right section, look for a larger one.
1994-09-16 * ldmain.c (main): Rather than prohibiting ld -r -s, treat it asIan Lance Taylor1-0/+5
ld -r -S -x. PR 5596.
1994-09-16 * aoutx.h (aout_link_write_other_symbol): If h->indx is -2, thenIan Lance Taylor1-0/+10
always write it out even if it would normally be stripped. (aout_link_input_section_std): If we find a reloc against a stripped global symbol, force it to be written out rather than merely calling unattached_reloc. (aout_link_input_section_ext): Likewise. (aout_link_reloc_link_order): Likewise.
1994-09-16 * objdump.c (struct objdump_disasm_info): Add field require_sec.Ian Lance Taylor2-1/+13
(objdump_print_address): If aux->require_sec, require that the symbol be in aux->sec even if HAS_RELOC is not set. (disassemble_data): Set aux.require_sec around the objdump_print_address call for the instruction address. PR 3441.
1994-09-16 remote.texi: asynctsr must run before mode (Hitachi stuff)Jeffrey Osier1-2/+2
1994-09-16 * parser-defs.h: Add comment about unary postfix operators.Per Bothner2-1/+5
1994-09-16 * stabsread.c (read_type): Handle stub types for bitstrings.Per Bothner3-17/+22
* stabsread.c (read_array_type): Check for stub domain type using TYPE_FLAG_STUB, not its length. * gdbtypes.c (create_set_type): Handle a stub domain type.
1994-09-16 * ch-exp.y: Get rid of some extra non-terminals, and movePer Bothner3-68/+32
their rules into primitive_value. * ch-lang.c (chill_op_print_tab): Add '->'. * expprint.c (print_subexp): Recognize unary postfix operator.
1994-09-16 * ar.c: Call xexit rather than exit.Ian Lance Taylor1-0/+11
(output_filename, output_file, output_bfd): New static variables. (remove_output): New static function. (main): Call xatexit (remove_output). Call xexit rather than returning. (extract_file): Set output_filename and output_file while output file is open. (write_archive): Likewise, but use output_bfd, not output_file. * arsup.c: Include libiberty.h. Call xexit rather than exit. * bucomm.c: Likewise. PR 2474.
1994-09-16 * objdump.c (disassemble_all): New global variable.Ian Lance Taylor4-31/+204
(usage): Document --disassemble-all. (long_options): Add disassemble-all as a synonym for -D. (compare_symbols): Make pointers const. (compare_relocs): New static function. (disassemble_data): Rename disassemble to disassemble_fn to avoid shadowing. If dump_reloc_info, print relocs along with disassembly. Skip sections which are not SEC_CODE unless disassemble_all or only is set. (display_bfd): Don't call dump_relocs if disassemble is set. (main): Accept and handle -D. * binutils.texi: Document -D/--disassemble-all. * objdump.1: Likewise. PR 5059.
1994-09-15 * expr.c (clean_up_expression): Use addressT, not bfd_vma.Ian Lance Taylor1-0/+4
1994-09-15 * a29k-dis.c (print_insn): Print the opcode.Ian Lance Taylor2-0/+6
PR 4779.
1994-09-15 * ldmisc.c (vfinfo): Print BFD file name as well as file nameIan Lance Taylor1-0/+6
returned by find_nearest_line, in case the file name is something unhelpful such as a .h file. Handle %u.
1994-09-15Add some news.Ian Lance Taylor1-0/+41
1994-09-15Wed Sep 14 18:27:42 1994 Jason Molenda (crash@phydeaux.cygnus.com)Jason Molenda2-6/+14
* remote-hms.c: use remote_debug instead of hms_silent toggle. Add warnings about depreciation of `snoop' cmd.
1994-09-15Wed Sep 14 18:18:58 1994 Steve Chamberlain (sac@jonny.cygnus.com)Steve Chamberlain2-2/+11
* remote-hms.c (hms_read_inferior_memory): Cope when target sends both \r and \n.
1994-09-15 * remote-mips.c (mips_error): Place NORETURN macro correctly.Stan Shebs3-2/+10
* TODO: Add item about START_INFERIOR_TRAPS_EXPECTED.
1994-09-14 * aoutx.h (aout_link_write_symbols): Rename skip_indirect toIan Lance Taylor2-7/+12
skip_next. If we find an N_WARNING symbol which has already been written out, set skip_next. PR 5634.
1994-09-14 * xcoffread.c (read_xcoff_symtab): Fix obsolete comment aboutJim Kingdon4-14/+40
mst_solib_trampoline. * f-valprint.c (f_val_print): Change cast of valaddr from CORE_ADDR * to char **, since that is how it is used. * dbxread.c (read_dbx_dynamic_symtab): Save copy of symbol names using obsavestring, and pass that to prim_record_minimal_symbol. Having the objfile point to bfd_asymbol_name directly doesn't work if we save and restore a mapped symbol file.
1994-09-14 * ld.h (ld_config_type): Add new field warn_once.Ian Lance Taylor5-5/+99
* ldmain.c (undefined_symbol): Handle -warn-once. * lexsup.c (parse_args): Recognize -warn-once. * ld.texinfo (Options): Document -warn-once. * ld.1: Likewise. PR 4456.
1994-09-14 * som.h (struct somdata): New field sorted_syms.Jeff Law1-0/+11
(obj_som_sorted_syms): Accessor macro. * som.c (som_object_setup): Initialize sorted_syms to NULL. (som_prep_for_fixups): Sort a copy of the BFD's symbol table; store the sorted symbol table in sorted_syms. (som_write_fixups): Initalize tmp_reloc to NULL to make GCC happy. (som_begin_writing): Similarly for exec_header. Pass the sorted symbol table to som_write_symbol_strings. (som_build_and_write_symbol_table): Use the sorted symbols rather than the canonical symbol table.
1994-09-14 * mips-opc.c (mips_opcodes): Set WR_t for sc and scd.Ian Lance Taylor2-2/+6
PR 5632
1994-09-14 * som.h (som_symbol_type): Add "stringtab_offset" field.Jeff Law3-3/+13
* som.c (som_write_symbol_strings): Use "stringtab_offset" rather than destroying the "name" field in the BFD symbol. (som_build_and_write_symbol_table): Likewise.
1994-09-14Wed Sep 14 12:49:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)Steve Chamberlain2-2/+12
* ldlang.c (lang_do_assignments): Make sure output statement has an attached bfd_section before trying to dereference it.
1994-09-14Updated for recent NetBSD changesJ.T. Conklin1-2/+0
1994-09-14Rebuilt dependencies.Ian Lance Taylor1-4/+5
1994-09-14 * objdump.c (disassemble_data): Initialize prevline to 0. MakeIan Lance Taylor2-5/+15
prev_function non const. Copy functionname into an malloc buffer when setting prev_function, instead of assuming that the string will last forever.
1994-09-14 * libecoff.h (struct ecoff_tdata): Add field find_buffer.Ian Lance Taylor1-0/+4
* ecoff.c: Include aout/stab_gnu.h. (ecoff_find_nearest_line): Handle stabs debugging information. PR 3954.
1994-09-14 * elfcode.h (elf_link_output_extsym): Keep a symbol marked as weakIan Lance Taylor1-0/+5
even if it is referenced by another object.
1994-09-14Tweak the new handling of function names.Ian Lance Taylor1-3/+33
1994-09-14 * ldmisc.c (vfinfo): Handle %D as %C, but never print the functionIan Lance Taylor3-7/+21
name. For %C, print the function name on a separate line, to keep the length of error messages under control. * ldmain.c (multiple_definition): Use %D for ``first defined here.'' (undefined_symbol): Use %D for ``more undefined references follow''. PR 3770.
1994-09-14 * ldmisc.c (multiple_warn): Remove; no longer used.Ian Lance Taylor2-61/+14
* ldmisc.h (multiple_warn): Don't declare.
1994-09-14 * nm.c: Include libiberty.h.Ian Lance Taylor3-4/+31
(sort_by_size): New static variable. (long_options): Add --size-sort. (usage): Mention --size-sort. (numeric_forward): Make static. Change from void * to PTR. (numeric_reverse): Likewise. (non_numeric_forward, non_numeric_reverse): Likewise. (sorters): Change declaration from void * to PTR. (size_forward, sort_symbol_by_size): New static functions. (display_rel_file): Handle sort_by_size. (filter_symbols): If sort_by_size, discard absolute and undefined symbols. * binutils.texi (nm): Document --size-sort. * nm.1: Document --size-sort. PR 3611.
1994-09-14 * gdbtk.tcl: Add ref counts to breakpoint tags.Stu Grossman2-23/+160
* Put quotes around function name in disassemble command to better handle assembler names containing `.'. * Make pclist element 0 be filler to avoid off-by-one problem with line numbers. * Set names of top-level windows. * Add register display window. * Add PC to label of assembly window.
1994-09-14 * ldlang.c (print_output_section_statement): Print all linesSteve Chamberlain2-6/+11
to the map file.
1994-09-14 * expr.c (expr): Don't reduce the difference of two symbols in theJeff Law2-1/+6
same frag if the symbols are not in normal sections.
1994-09-14 * objcopy.c (copy_main): Initialize input_filename andJeff Law1-0/+5
output_filename to NULL.
1994-09-14 * som.c (som_fixup_formats): Case R_ENTRY (0xb3), set bothJeff Law2-4/+24
'T' and 'U' to grab all the unwind information. (som_set_reloc_info): Make 'U' unwind bits persist across multiple SOM relocations. Set the addend field of an R_ENTRY relocation to the value in 'T'; set the addend field on an R_EXIT relocation to the value in 'U'.
1994-09-14 * som.h (som_symbol_type): Delete unwind field.Jeff Law3-34/+27
* som.c (som_write_fixups): For R_ENTRY fixups, get 32bits of unwind information from the addend field of the R_ENTRY, get the other 32bits from the addend field of the R_EXIT. (bfd_som_attach_unwind_info): Delete function and all references.
1994-09-14 * config/obj-som.h (S_SET_OTHER, S_SET_TYPE): Delete a.out crud.Jeff Law2-84/+98
(S_SET_DESC, S_GET_OTHER, S_GET_TYPE, S_GET_DESC): Likewise. (obj_attach_unwind_info): Do not define. Not needed anymore. * config/tc-hppa.c: Delete whitespace at EOL. (struct hppa_fix_struct): Delete fx_unwind field and all references. (fix_new_hppa): Last arg is now a pointer to an int. Do not call obj_attach_unwind_info anymore. For SOM R_ENTRY and R_EXIT fixups, store 32bits of unwind information in the fx_addnumber field of the fixup. (md_assemble, pa_entry, process_exit, pa_procend): For SOM R_ENTRY and R_EXIT fixups, pass a NULL pointer to fix_new_hppa, and a pointer to 32 bits of unwind info. (tc_gen_reloc): For SOM R_ENTRY and R_EXIT fixups, set the symbol pointer to the dummy symbol; set the addend field to fx_addnumber. (pa_comm, pa_equ, pa_type_args, pa_import): Use bfd_XXX_section_ptr rather than &bfd_XXX_section.
1994-09-14386_GOTPC fix from ericyKen Raeburn1-0/+4
1994-09-14Some Vax and VMS bug fixes from Pat Rankin.Ken Raeburn3-12/+40
1994-09-14Do unlink/delete test properly.Ken Raeburn8-94/+54
Replace HO_VMS tests with VMS.
1994-09-14 * som.h (som_symbol_type): Delete unused a.out-related fields.Jeff Law3-7/+10
* som.c (bfd_section_from_som_symbol): Use bfd_abs_section_ptr instead of &bfd_abs_section.
1994-09-14 * som.c (som_object_setup): Handle exec_entry and exec_flags beingJeff Law2-17/+36
switched in executables created by the OSF1 linker. (som_write_fixups): Handle R_EXIT just like the R_{F,L,R}SEL fixups. Support R_ALT_ENTRY (handle just like R_EXIT).
1994-09-14 * w89k-rom.c op50-rom.c monitor.c config/pa/hppapro.mt: New filesRob Savoye1-0/+6
to add a generic ROM monitor interface, and support file for the WinBond W89K and the Oki OP50N PA based target boards.
1994-09-14Add support for the w89k and op50n PA target board code.Rob Savoye1-2/+2
1994-09-14Oop, make sure Sanitize doesn't nuke new files.Rob Savoye1-0/+3
1994-09-14A generic ROM monitor interface abnd support for the WinBond w89k boardRob Savoye2-0/+186
and the Oki op59n board.
1994-09-14Tue Sep 13 16:04:07 1994 Steve Chamberlain (sac@jonny.cygnus.com)Steve Chamberlain2-65/+255
* cofflink.c (coff_link_input_bfd): syment_base is unsigned so can't compare -ve numbers with it. Mon Sep 12 20:31:17 1994 Steve Chamberlain (sac@jonny.cygnus.com) * configure.in (shcoff_vec): Use cofflink.o now. * coff-sh.c: Rewritten to use new fast coff backend.