aboutsummaryrefslogtreecommitdiff
path: root/binutils
AgeCommit message (Collapse)AuthorFilesLines
1994-02-22Remove trash left from Makefile cut & paste.Rob Savoye1-3/+3
1994-02-21 * nlmconv.c: Include libiberty.h.Ian Lance Taylor1-0/+21
start-sanitize-powerpc-netware Support for PowerPC NetWare. * nlmconv.c (main): For PowerPC NetWare, automatically define the special symbols __toc_start. (select_output_format): Handle bfd_arch_powerpc. (mangle_relocs): Likewise. (powerpc_mangle_relocs): New function. end-sanitize-powerpc-netware
1994-02-18revised for Rob's changesKen Raeburn1-6/+9
1994-02-18 binutils.texi: fixed dir-entry, copyright date, last chapter a bitJeffrey Osier1-93/+71
1994-02-17 * ar.c, bucomm.c, nlmconv.c, nm.c, objcopy.c, objdump.c,David MacKenzie2-2/+8
size.c: Use bfd_get_error and bfd_set_error and new error names.
1994-02-15"Default" procedures for any host.Rob Savoye1-0/+59
1994-02-15Swap order of config names to match so vxworks is before m68k.Rob Savoye1-26/+9
1994-02-15Set correct values for NM, SIZE etc...Rob Savoye1-3/+3
1994-02-15Leave it for the init file to identify proper binary to run.Rob Savoye1-7/+0
1994-02-15Use new config features of DejaGnu in site.exp file.Rob Savoye1-2/+38
1994-02-15Add "-N".Rob Savoye1-1/+1
1994-02-14Rearranging so cross testing will work.Rob Savoye15-278/+9
1994-02-11 * objcopy.c (strip_main, copy_main): Add missing 'break' in switch.David MacKenzie2-0/+16
1994-02-07 binutils.texi: minor formatting updates for next releaseJeffrey Osier1-3/+6
1994-02-07 nlmconv.1: minor fixJeffrey Osier1-1/+5
1994-02-04 * objcopy.c (filter_bytes): Make MEMHUNK a char *, not PTR, so weDavid MacKenzie2-1/+6
can do arithmetic on it.
1994-02-03 * objdump.c (dump_section_stabs, read_section_stabs,David MacKenzie2-61/+96
print_section_stabs): Functions broken out of dump_stabs_1. Free the stabs and strings when done with them.
1994-02-03 More changes to print ambiguous matches and use theDavid MacKenzie3-6/+15
abstracting macros.
1994-02-03 * nlmconv.c (main): Use bfd_get_flavour instead of struct member.David MacKenzie4-5/+12
* ar.c (print_contents, extract_file), size.c (print_berkeley_format): Use bfd_get_filename and bfd_my_archive instead of dereferencing the structs directly.
1994-02-03 * ar.c: Use bfd_fatal and bfd_nonfatal instead of bfd_perror and exit.David MacKenzie2-654/+667
Indent. Remove DEFUNs.
1994-02-03 * nlmconv.c (main), objcopy.c (copy_file): Print matching formatsDavid MacKenzie8-561/+1141
if ambiguous match. * nm.c (display_file), size.c (display_bfd): Eliminate gotos. Print matching formats if there is an ambiguous match. Use bfd_nonfatal instead of hardcoded error message if nothing matches. * arsup.c, ar.c, objdump.c: Use bfd_get_filename instead of abfd->filename. * nm.c (display_archive): New function, from code in display_file. (display_rel_file): Renamed from do_one_rel_file. * size.c: Indent. (display_archive): New function from code in display_file. (display_file): Check bfd_close error return. * strings.c (strings_object_file): Check bfd_check_format error return. * strings.c, objdump.c, size.c: Use bfd_nonfatal instead of bfd_perror. * bucomm.c: Delete references to exit_handler. It wasn't set anywhere, and now that we're using the libiberty xmalloc, it wouldn't always get called before exiting. (list_matching_formats): Function moved from objdump.c. * bucomm.h: Declare it. * objdump.c (disassemble_data): Move some variable decls closer to their use. Add some comments. Replace a nested block with a return.
1994-02-01Mon Jan 31 18:52:47 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs3-4/+28
* mpw-build.in: Add install action. * mpw-make.in (cplusfilt): Renamed from c++filt. (INCLUDES): Add more paths.
1994-02-01Mon Jan 31 18:50:41 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs2-0/+20
* objdump.c (display_target_list, display_info_table): Check that the bfd of the dummy output file is not null.
1994-01-26 * objcopy.c (filter_bytes): New function.David MacKenzie5-257/+398
(copy_section): Call it. (copy_options, copy_usage, copy_main): Add --byte option to activate it. Appropriate the -b option (which was an undocumented synonym for -F) for it, also. Add --interleave, -i option for additional control. (setup_section, copy_section, mangle_section): Renamed with no `s' on the end. * objcopy.1, binutils.texi: Document the new options. * objdump.c (display_target_tables, display_target_list): New functions broken out of display_info. Eliminate some magic constants. Use more meaningful variable names. (dump_bfd_header): New function broken out of display_bfd. (dump_section_header): New function broken out of dump_headers. (remove_useless_symbols): Don't shadow global variable name with parameter. (objdump_print_address): Fix backward test.
1994-01-26Change all occurances of RUNTEST_FLAGS to RUNTESTFLAGS to be consistant withRob Savoye2-3/+3
everything else. (and now work recursively too)
1994-01-26Removed objdump.hStan Shebs1-2/+1
1994-01-26Tue Jan 25 19:40:54 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs3-32/+18
* bucomm.c (print_arelt_descr): Change decl of `when' to time_t. * objdump.h: Removed.
1994-01-25Add lib dir and utils-lib.exp.Rob Savoye2-0/+68
1994-01-25 * objdump.c (display_file): Remove call to list_matching_formats.David MacKenzie2-18/+19
It would never be called. (list_matching_formats): Take an arg giving the list of matching formats. (display_bfd): Pass the arg, and get it filled in by calling bfd_check_format_matches instead of bfd_check_format. (display_info, display_info_table): target_vector was renamed to bfd_target_vector.
1994-01-25Change RUNTESTFLAGS to RUNTEST_FLAGS to be consistant with FLAGS_TO_PASS.Rob Savoye1-1/+1
1994-01-24 * objdump.c (display_file): Remove call to list_matching_formats.David MacKenzie2-7/+16
It would never be called. (list_matching_formats): Take an arg giving the list of matching formats. (display_bfd): Pass the arg, and get it filled in by calling bfd_check_format_matches instead of bfd_check_format. * binutils.texi (objdump): Note some limitations of -h section address printing.
1994-01-24 * binutils.texi (objdump): Note some limitations of -h sectionDavid MacKenzie2-1/+23
address printing.
1994-01-23Sat Jan 22 16:25:09 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs4-3/+617
* mpw-build.in: New file, build script fragment for MPW make. * mpw-make.in: New file, MPW makefile fragment for binutils. (Normally automatically generated from Makefile.in.)
1994-01-23Minor MPW compatibility tweaks.Stan Shebs4-14/+31
1994-01-22 * objdump.c (list_matching_formats): If the file format is ambiguous,David MacKenzie2-7/+28
print the matching names so the user can choose one. (display_bfd): Call it. (display_file): Call it.
1994-01-22 * objdump.c (disassemble_data): Support bfd_arch_rs6000.Ian Lance Taylor2-0/+10
1994-01-17Mon Jan 17 13:57:25 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs2-15/+26
* objdump.c (stab_name): Allocate dynamically. (stab_print): Use pointers to strings instead of char arrays. (dump_stabs): Change alloc and init of arrays appropriately. (dump_stabs_1): Always decide whether to print stab_name or the stab's type number, if unnamed.
1994-01-17* binutils.all/objdump.exp: Trim list of format names expected, and accept anyKen Raeburn1-0/+47
known CPU type.
1994-01-14 * objcopy.c (strip_main, copy_main): Don't clobber the input fileIan Lance Taylor2-523/+676
if copy_file fails.
1994-01-14 * nlmconv.c (main): Warn about an attempt to use a shared libraryIan Lance Taylor2-0/+10
with uninitialized data.
1994-01-14 * nlmconv.c (setup_sections): Make sure that we align theIan Lance Taylor2-7/+22
output_offset of each input section appropriately.
1994-01-13 * objdump.c (dump_relocs): Don't crash if section name is NULL.Ian Lance Taylor2-33/+59
1994-01-09* bucomm.c (xmalloc, xrealloc): Deleted.Ken Raeburn3-91/+115
* bucomm.h (xmalloc, xrealloc): Prototypes fixed to correspond to libiberty versions.
1994-01-06 * binutils.texi: Add a chapter summarizing the ways to selectDavid MacKenzie8-131/+486
aspects of the target for each program. * objdump.c (long_options, usage): Add long equivalents for all remaining short options that lacked them. * binutils.texi objdump.1: Document them. * size.c (usage): Tweak usage message. * size.1: Add missing `=' in examples. * binutils.texi strip.1 objcopy.1 nlmconv.1 objcopy.c nlmconv.c: Use "--target=bfdname" as the option to select the BFD target, like nm and size already do. Reserve "--format=format" for textual output selection options, but for now keep old option names as obsolete for backward compatibility. * strings.c (main, strings_object_file, usage): Add --target option. * binutils.texi strings.1: Document it.
1993-12-23Various entries.Ian Lance Taylor1-0/+38
1993-12-23 gcc -Wall lint:Ian Lance Taylor1-94/+90
* ar.c (main): Put parens around assignment used as truth value. * objdump.c (display_bfd): Declare return value as void. (stab_print): Use "" instead of 0 to initialize array. (dump_stabs_1): Print vma using printf_vma. (display_info): Put parens around assignment used as truth value. * strings.c (print_strings): Cast printf arguments.
1993-12-10 * nlmheader.y (command): Accept MAP and FULLMAP without arguments.Ian Lance Taylor1-0/+5
* nlmconv.c (main): Change error message for MAP and FULLMAP.
1993-12-10 * nlmconv.c (main): Warn about imported symbols that are not inIan Lance Taylor2-2/+4
the IMPORT list even if the IMPORT keyword is not used. Fixes PR 4006.
1993-12-10 * nlmconv.c (debug, unlink_on_exit): New static variables.Ian Lance Taylor3-56/+435
(long_options): Add "debug" and "linker". (main): Handle -d and -l arguments. Make command line input and output files optional. Parse the command file before opening the BFD's, which requires storing more information in local variables. If INPUT names multiple files, link them together. Use OUTPUT for the output file name if not named on command line. (show_usage): Changed for new options. (link_inputs): New function to automatically invoke linker to handle multiple INPUT files. (choose_temp_base_try, choose_temp_base, pexecute): New functions, mostly copied from gcc/gcc.c. * nlmconv.h (input_files, output_file): Declare. * nlmheader.y (input_files, output_file): Define. (command): Support INPUT with a string_list argument. Support OUTPUT. (string_list): Renamed from module_list. * Makefile.in (nlmconv.o): Define LD_NAME based on program_transform_name. Fixes PR 3974.
1993-12-08 * nlmheader.y (nlmheader_identify): New function. Use it to printIan Lance Taylor2-0/+967
the program name just once, instead of with every error message. Fixes PR 3973.