aboutsummaryrefslogtreecommitdiff
path: root/binutils
AgeCommit message (Collapse)AuthorFilesLines
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.
1993-12-06 * nlmconv.c (long_options): Changed --header-info to --header-fileIan Lance Taylor2-21/+215
to match documentation and usage message.
1993-12-05 * objdump.c (dump_relocs): Avoid dereferencing a NULL sym_ptr_ptrJeff Law1-0/+25
in a relocation.
1993-12-03 * config/unix.exp: Add global before seeing if the variables forRob Savoye1-0/+6
nm, objdump, and size exist.
1993-12-03 * Makefile.in: Remove some stuff from the site.exp file.Rob Savoye1-11/+1
* config/unix.exp: Add global before seeing if the variables for nm, objdump, and size exist.
1993-12-02Remove unused declaration from nlmconv.c. Add ChangeLog entry forIan Lance Taylor2-3/+10
Sean's change.
1993-12-02Restore changes clobbered by Sean's check in.Ian Lance Taylor1-9/+24
1993-11-23 * binutils.texi: fix bug in nlmconv docJeffrey Osier1-8/+11
1993-11-19 binutils.texi: minor fix for nlmconv chapterJeffrey Osier1-2/+12
1993-11-17 * nlmconv.1: new man pageJeffrey Osier3-39/+128
* objcopy.1: fixed format errors
1993-11-17 * Makefile.in: Use CFLAGS as well as LDFLAGS when linking.Ian Lance Taylor2-25/+38
1993-11-17fix typoDavid MacKenzie2-1/+10
1993-11-14 * objdump.c (dump_stabs): Handle stabs-in-som as implementedJeff Law1-0/+5
by the new BFD SOM assembler.
1993-11-13fix NAME hyphenDavid MacKenzie10-9/+15
1993-11-09 * nlmconv.c (i386_mangle_relocs): Adjust reloc address byIan Lance Taylor1-0/+9
section output_offset.
1993-11-05Trying to fix repository after cvs breakage...Ken Raeburn1-1127/+0
1993-11-05 binutils.texi: added nlmconv chapterJeffrey Osier1-3/+59
1993-11-05First cut at sanitization, doc files, &c for gas/binutils releasesKen Raeburn1-0/+1127
1993-11-04Rename RUNTESTFLAGS to RUNTEST_FLAGSJeffrey Wheat1-0/+8
1993-11-03 * config/udi.exp,unix.exp: Transform tool name.Rob Savoye2-18/+34
* binutils.all/*.exp: Clear errorInfo after exec.
1993-11-02objcopy.c (S_ISLNK): Define as 0 if there is no S_IFLNK.David MacKenzie1-0/+6
1993-10-30put objcopy in alphabetical orderDavid MacKenzie1-86/+86
1993-10-29use xmalloc instead of mallocDavid MacKenzie1-0/+4
1993-10-29Rename a variable that conflicts with LynxStan Shebs2-14/+20