aboutsummaryrefslogtreecommitdiff
path: root/binutils
AgeCommit message (Collapse)AuthorFilesLines
1994-06-03 binutils.texi: (objdump) fix formatting in options summaryJeffrey Osier1-2/+3
1994-06-03note renamingKen Raeburn1-1/+1
1994-06-03actually do c++filt.1 -> cxxfilt.man renaming on trunk...Ken Raeburn1-8/+8
1994-06-03 * objdump.c (display_target_list): Remove unused local ok.Ian Lance Taylor2-137/+62
1994-05-27changes from gas-2.3/binutils-2.4 dist (details in branch log msgs, changelogs)Ken Raeburn2-12/+37
1994-05-20Remove sanitization of PowerPC NetWare.Ian Lance Taylor3-53/+17
1994-05-17 * config/default.exp, config/unix.exp: Replace errorBill Cox3-7/+12
proc calls with perror.
1994-05-14 * bucomm.c: Check ANSI_PROTOTYPES rather than __STDC__.Ian Lance Taylor1-0/+4
1994-05-11Tue May 10 18:22:06 1994 Jason Molenda (crash@sendai.cygnus.com)Jason Molenda2-13/+44
* objcopy.c (copy_section): Set section size correctly if using interleave.
1994-05-10Tue May 10 11:20:54 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs2-1/+18
* configure.in (sparclite): Match on sparclite*-*-*.
1994-05-07various changes for lynx.rs, ericsson, BNR.David Henkel-Wallace1-1/+1
1994-05-05syslex.l, objdump.c/config changesKen Raeburn1-0/+15
1994-05-05* Makefile.in (objdump.o): Deleted special rule.Ken Raeburn1-10/+9
* configure.in: Don't bother building ARCHDEFS variable for Makefile. * objdump.c (ARCH_*): Deleted handling. (disassemble_data): Call `disassembler' from opcodes library.
1994-05-05(yywrap): Define as function if not defined as a macro.Ken Raeburn1-0/+51
1994-05-03Remove obsolete files. Add mt-slite to .Sanitize.Ian Lance Taylor3-94/+1
1994-04-29lint.Steve Chamberlain1-0/+4
1994-04-27 * Makefile.in (syslex, sysinfo): Use CC_FOR_BUILD.Steve Chamberlain3-2/+758
* coffdump.c, coffgroc.c, coffgrog.h, srconv.c, sysdump.c, sysroff.info: Major changes.
1994-04-27Tue Apr 26 18:18:24 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs1-0/+9
* objdump.c (print_section_stabs): Indicate the stab header symbol more clearly, print numbers of unrecognized stab n_type values.
1994-04-27Tue Apr 26 18:10:40 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs2-1/+8
* mpw-xconfig.in (archname): Only set ARCH_mips if targeting Mips.
1994-04-25 * Makefile.in (distclean): Remove $(PROGS) and underscore.c.Ian Lance Taylor1-0/+4
1994-04-22 * nlmconv.c (setup_sections): Remove special handling of .reginfoIan Lance Taylor2-29/+9
section. (copy_sections): Likewise. (alpha_mangle_relocs): Use bfd_ecoff_get_gp_value rather than the special ECOFF .reginfo section.
1994-04-22 * objcopy.c (copy_object): Call bfd_copy_private_bfd_data afterIan Lance Taylor1-0/+4
copying everything else, to let it fiddle with the file in its final state.
1994-04-22 * objdump.c: Include libiberty.h.Ian Lance Taylor1-0/+8
(display_target_list): If a format fails, just go on to the next one. Check return value of bfd_set_format. (display_info_table): Likewise. Don't increment loop variable in for loop test, since that skips the first element. (display_target_tables): Rewrite loop for clarity. Ensure that it always prints at least one element.
1994-04-22 * nlmconv.c (main): Use CyGnUsEx rather than CyGnUsSeCs forIan Lance Taylor2-4/+8
sections header. Rename from cygnus_sections to cygnus_ext.
1994-04-22 * objdump.c (_DUMMY_NAME_): Don't define.Ian Lance Taylor2-12/+20
(display_target_list): Use tmpnam to get a file name rather than using _DUMMY_NAME_. Unlink it when done. (display_info_table): Likewise.
1994-04-21 * nlmconv.c (secsec): New static variable.Ian Lance Taylor2-3/+84
(main): Create .nlmsections section in output BFD. Store information about it in sections header. (setup_sections): Allocate space in sections header. (copy_sections): Copy zero sized sections. Put information about each section in the sections header.
1994-04-20PowerPC NetWare changes.Ian Lance Taylor1-0/+12
1994-04-20start-sanitize-powerpc-netwareIan Lance Taylor2-12/+40
* nlmconv.c (powerpc_build_stubs): Take new outbfd argument. Change caller. Create custom header for new PowerPC NetWare format. end-sanitize-powerpc-netware * Makefile.in (nlmheader.o, nlmconv.o): Update dependencies. * nlmconv.c: Include bfd.h and libiberty.h with "", not <>. * nlmheader.y: Include bfd.h with "", not <>.
1994-04-13Make tests work again on alpha-osf1 and sun4 native.Ken Raeburn1-1/+1
* config/unix.exp: Use nm.new, not nm, from newly built tree. * binutils.all/objdump.exp: Add more wildcards to list of single-letter options in pattern for usage message. * binutils.all/nm.exp: Deleted debug-symbols test, since it only works for a.out/stabs systems. Fixed regexps to make underscores optional, since some C compilers don't prepend them. Deleted check for foo.o symbol, since again some systems don't generate it.
1994-04-13 * objdump.c: Do an ifdef on __GO32__, not unix.Ian Lance Taylor2-3/+7
1994-04-11 * Makefile.in (check): Set TCL_LIBRARY for runtest.Bill Cox2-1/+40
1994-04-07 Added -D (--dynamic) option to nm and -T (--dynamic-syms) and -RIan Lance Taylor5-72/+278
(--dynamic-reloc) arguments to objdump. * nm.c (dynamic): New static variable. (long_options): Added "dynamic". (usage): Mention -D and --dynamic. (main): Add D to getopt string. Handle -D by setting dynamic. (display_rel_file): If dynamic is non-zero, read dynamic symbols rather than normal symbols. * nm.1: Updated for -D (--dynamic) option. * objdump.c (dump_dynamic_symtab): New global variable. (dump_dynamic_reloc_info): New global variable. (dynsyms, dynsymcount): New global variables. (usage): Mention -R, -T, --dynamic-syms and --dynamic-reloc. (long_options): Added "dynamic-reloc" and "dynamic-syms". (slurp_symtab): If no symbols, return rather than exit. (slurp_dynamic_symtab): New function. (display_bfd): Handle dump_dynamic_symtab and dump_dynamic_reloc_info. (dump_symbols): Take new dynamic argument, indicating whether to display dynamic symbols. (dump_relocs): Move most printing into dump_reloc_set. (dump_dynamic_relocs): New function. (dump_reloc_set): New function, extracted from dump_relocs. (main): Add R and T to getopt string. Handle -T by setting dump_dynamic_symtab and -R by setting dump_dynamic_reloc_info. * objdump.1: Updated for -R (--dynamic-reloc) and -T (--dynamic-syms) options. * binutils.texi: Updated for new nm and objdump options.
1994-03-31Only build PowerPC stubs if we are converting a PowerPC object file.Ian Lance Taylor1-2/+4
1994-03-30 Update for recent BFD changes to symbol and reloc reading. RenameIan Lance Taylor5-71/+178
all uses of get_symtab_upper_bound to bfd_get_symtab_upper_bound. Also: * coffgrok.c (symcount): Change to long. (do_sections_p1): Check for error return from bfd_get_reloc_upper_bound. Change relcount to long, and check for error from bfd_canonicalize_reloc. (coff_grok): Change storage to long. Check for error from bfd_get_symtab_upper_bound and bfd_canonicalize_symtab. * nlmconv.c (main): Change symcount, newsymalloc, newsymcount, and i to long. Check for error from bfd_get_symtab_upper_bound and bfd_canonicalize_symtab. (copy_sections): Change reloc_size and reloc_count to long. Check for error from bfd_get_reloc_upper_bound and bfd_canonicalize_reloc. (mangle_relocs, i386_mangle_relocs, alpha_mangle_relocs): Change reloc_count_ptr argument to long *. Make corresponding changes to variables loaded from *reloc_count_ptr. * nm.c (display_rel_file): Change storage and symcount to long. Check for errors from bfd_get_symtab_upper_bound and bfd_canonicalize_symtab. * objcopy.c (filter_symbols): Change symcount, src_count and dst_count to long. (copy_object): Change symcount to long. Pass another argument to fprintf. Check for errors from bfd_get_symtab_upper_bound and bfd_canonicalize_symtab. (copy_section): Change relcount to long. Check for errors from bfd_get_reloc_upper_bound and bfd_canonicalize_reloc. (mark_symbols_used_in_relocations): Change relcount and i to long. Check for errors form bfd_get_reloc_upper_bound and bfd_canonicalize_reloc. * objdump.c (storage): Remove global variable. (symcount): Changed to long. (slurp_symtab): New local variable storage. Check for errors from bfd_get_symtab_upper_bound and bfd_canonicalize_symtab. (remove_useless_symbols): Change return value and count to long. (objdump_print_address): Change min, max, thisplace and i to long. (disassemble_data): Change i to long. (dump_symbols): Change count to long. (dump_relocs): Change relcount to long. Check for errors from bfd_ret_reloc_upper_bound and bfd_canonicalize_reloc. (display_info_table): Add casts when passing LONGEST_ARCH for printf %* argument.
1994-03-29 * objdump.c (display_file): Close each archive element after itIan Lance Taylor2-41/+58
has been displayed.
1994-03-29Fix last patch.Ian Lance Taylor1-1/+7
1994-03-29 * nm.c (display_archive): Close each archive element after it hasIan Lance Taylor2-3/+11
been displayed.
1994-03-29 binutils.texi(nlmconv): added -d/--debug and -l/--linker infoJeffrey Osier1-0/+15
1994-03-28 * configure.in: Change error message to refer to bfd/config.bfdIan Lance Taylor1-0/+5
rather than bfd/configure.in.
1994-03-28 * More fixes for object formats which allow multiple sectionsJeff Law2-16/+91
with the same name: * objcopy.c (setup_section): Make a new output section even if one already exists with the given name. (copy_section): Use isection->output_section rather than trying to look the output section up by its (possibly non-unique) name.
1994-03-21 * objdump.c (objdump_print_address): Make static. Declare withIan Lance Taylor1-0/+7
prototype. Change vardiff from int to bfd_signed_vma. Correct binary search termination condition. When looking for same section symbol in relocatable file, handle final symbol correctly.
1994-03-20 * Makefile.in: Avoid bug in hpux sed.Jeff Law2-1/+3
1994-03-20 * objcopy.c: Changes to keep it from stripping symbols usedJeff Law1-0/+10
in output relocations. (mark_symbols_used_in_relocations): New function. Mark symbols used in output relocations with BSF_KEEP. (filter_symbols): Do not strip symbols marked with BSF_KEEP. (copy_object): Reorder actions. First setup sections, then build the output symbol table, then copy the section contents.
1994-03-18 * ar.c (write_archive): Allocate space for the null byte. FromIan Lance Taylor1-0/+5
Robert Lipe <robertl@arnet.com>.
1994-03-17Minor update to list of programs for dir.info entry.Roland Pesch1-2/+3
1994-03-17 * Makefile.in: Built nm.new and strip.new to avoid problems withIan Lance Taylor2-10/+25
collect when . is in PATH. (STRIP_PROG): Change from strip to strip.new. (NM_PROG): Change from nm to nm.new. (install): Remove the .new when installing.
1994-03-16 * objcopy.c (filter_symbols): Use bfd_is_local_label to determineJeff Law1-0/+9
if a symbol represents a compiler-generated local label. (copy_object): Give the BFD backends a chance to copy any private bfd data from the input BFD to the output BFD. (setup_section): Give the BFD backends a chance to copy any private section data from the input section to the output section.
1994-03-14 * objcopy.c (mangle_section): Delete unused function.Jeff Law2-19/+14
(setup_section): Set osection here instead of calling mangle section to do it.
1994-03-14 * ar.c (write_archive): Close inarch before unlinking it.Ian Lance Taylor1-0/+4
1994-03-12 * nlmconv.c (main): For PowerPC, call powerpc_build_stubs andIan Lance Taylor2-21/+504
powerpc_resolve_stubs. Use __GOT0, not __toc_start. Handle it if the start and end symbols are not in the text section. (struct powerpc_stub): New struct definition. (powerpc_stubs, powerpc_stub_insns): New static variables. (powerpc_initial_got_size): New static variable. (powerpc_build_stubs): New function. (powerpc_resolve_stubs): New function. (powerpc_mangle_relocs): Clear extraneous data in .got section. Rearrange reloc handling to handle ELF relocs that are not partial_inplace. Resolve PC relative relocs.