aboutsummaryrefslogtreecommitdiff
path: root/binutils
AgeCommit message (Collapse)AuthorFilesLines
1995-03-28keep binutils-hppaKen Raeburn1-0/+1
1995-03-28 * binutils-all/objcopy.exp: Add setup_xfail for simple copy testIan Lance Taylor2-1/+8
for m68*-ericsson-ose and m88*-*-coff.
1995-03-27 * binutils-all/objcopy.exp: Add setup_xfail for simply copy testIan Lance Taylor2-5/+14
for m68*-*-vxworks*.
1995-03-24 * strings.c: Include "bfd.h" before other headers. IncludeIan Lance Taylor2-23/+73
"sysdep.h". * bucomm.c (print_arelt_descr): Cast st_uid and st_gid to long, and print them with %ld.
1995-03-24 * binutils-hppa/objdump.exp: Correct hppa*-*-* check.Ian Lance Taylor1-0/+4
1995-03-21 * binutils-hppa/addendbug.s: New testcase.Jeff Law4-0/+112
* binutils-hppa/objdump.exp: Run it.
1995-03-20 * lib/utils-lib.exp (default_binutils_run): Quote any dollar signsIan Lance Taylor1-0/+37
in progargs before passing it to exec.
1995-03-18 * mpw-config.in (TDEFINES): Define as empty in makefile frag.Stan Shebs2-0/+5
1995-03-17 * config/hppa.sed: Sed script to transform bintest.s into properJeff Law2-0/+5
PA assembly code. * binutils-all/nm.exp: Enable these tests on the PA. * binutils-all/objcopy.exp: Enable these tests on the PA. Expect simple copy to fail. * binutils-all/objdump.exp: Enable these tests on the PA. Handle "CODE" as a section name. * binutils-all/size.exp: Enable these tests on the PA. * lib/utils-lib.exp (default_binutils_assemble): For "hppa*-*-*", run the assembly through a sed script before passing it to the assembler.
1995-03-10 * objcopy.c (strip_options): Add --keep-symbol.Ian Lance Taylor3-28/+58
(copy_options): Likewise. (copy_usage): Mention --keep-symbol and -K. (strip_usage): Likewise. (keep_symbols): New static variable. (is_strip_symbol): Adjust the return value according to keep_symbols. (strip_main): Handle -K. For -N, check that -K was not given. (copy_main): Likewise. * binutils.texi, objcopy.1, strip.1: Document -K.
1995-03-06 * bucomm.c (list_supported_targets): New function.Ian Lance Taylor3-127/+343
* bucomm.h (list_supported_targets): Declare. * ar.c (usage): Call list_supported_targets. * nm.c (usage): Likewise. * objcopy.c (copy_usage, strip_usage): Likewise. * objdump.c (usage): Likewise. * size.c (usage): Likewise. * strings.c (usage): Likewise. PR 6345.
1995-02-17--set-section-flags patch from dje.Ian Lance Taylor1-3/+2
1995-02-17 * objcopy.c (struct section_list): Add fields remove, set_flags,Ian Lance Taylor3-85/+353
and flags. Change adjust from boolean to enum. (remove_sections): Remove static variable. (sections_removed): New static variable. (copy_options): Add --set-section-flags. (copy_usage): Mention --set-section-flags. (parse_flags): New static function. (find_section_list): New static function. (is_strip_symbol): Change return type from int to boolean. (is_strip_section): New static function. (filter_symbols): Call is_strip_section. (copy_object): When adding sections, check for specified flags or VMA. Call filter_symbols if any sections are being removed. (setup_section): Use find_section_list function rather than looking through remove_sections and adjust_sections. Handle --set-section-flags. (copy_section): Use find_section_list rather than looking through remove_sections. (strip_main): Use find_section_list instead of adding items to sections_removed. (copy_main): Use find_section_list instead of adding items to sections_removed and adjust_sections. Handle --set-section-flags. * binutils.texi, objcopy.1: Document --set-section-flags.
1995-02-15xIan Lance Taylor1-0/+26
1995-02-14 * objdump.c (with_source_code): New global variable.Ian Lance Taylor2-1/+16
(usage): Mention -S/--source. (long_options): Add --source. (prev_functionname, prev_line): New static variables. (struct print_file_list): Define. (print_files): New static variable. (skip_to_line, show_line): New static functions. (disassemble_data): Call show_line to handle -l and -S. (main): Handle -S. * binutils.texi, objdump.1: Document -S/--source.
1995-02-09 * objcopy.c (copy_usage): Rename parameter to avoid shadowing.Ian Lance Taylor2-0/+15
(strip_usage): Likewise. * objcopy.c (struct section_add): Define. (add_sections): New static variable. (copy_options): Accept --add-section. (copy_usage): Mention --add-section. (copy_object): Add sections from the add_sections list. (copy_main): Handle --add-section. * binutils.texi, objcopy.1: Document --add-section.
1995-02-04* objdump.c (disassemble_data): Pass section offset, not absolute address, toKen Raeburn1-0/+16
bfd_find_nearest_line. * nlmconv.c (powerpc_mangle_relocs): Don't use const with reloc_howto_type.
1995-01-26Add support for PowerPC embedded ABI.Michael Meissner1-0/+12
1995-01-18gcc -Wall lint.Ian Lance Taylor4-237/+834
* coffdump.c (dump_coff_scope): Cast pointer to unsigned long for printf. * coffgrok.c: Include bucomm.h. Don't declare xmalloc. (push_scope): Declare type of parameter link. * size.c: Include libiberty.h. * srconv.c: Include bucomm.h. (find_base): Declare at top of file. (wr_hd): Add default case to architecture switch. (wr_dps_start): Declare type of parameter nest. (wr_du): Comment out variables used only in commented out blocks. (wr_dus): Remove unused variable i. (wr_sc): Remove unused variables myinfo, low, and high. * strings.c: Include libiberty.h. * sysdump.c: Include <ctype.h>.
1994-12-21 * ar.c (main): Ignore 'f' modifier used on HP/UX 9.Ian Lance Taylor1-0/+15
1994-12-14removed some unreachable code from objcopyKen Raeburn2-1/+5
1994-12-14expect simple-objcopy test to fail on hp300Ken Raeburn2-2/+2
1994-12-14disable bintest.o tests on hppa, fix minor sh-coff objcopy setup_xfail problemKen Raeburn2-5/+17
1994-12-13 * mpw-config.in: Create mk.tmp, define ARCHDEFS in it.Stan Shebs2-0/+10
1994-12-09 * nlmconv.c (powerpc_mangle_relocs): Don't switch a reloc to useIan Lance Taylor1-0/+5
the section symbol if the symbol is undefined.
1994-12-08binutils-all/objdump.exp: handle "powerpc" cpuKen Raeburn2-2/+2
1994-12-08* binutils-all/objdump.exp (cpus_expected): New variable, taken from objdump -iKen Raeburn3-2/+147
test, added ns32k, sorted. (objdump -i, -f tests): Use $cpus_expected. * binutils-all/objcopy.exp: For simple-copy test, expect failure for sh-coff.
1994-12-08objcopy.c (add_strip_symbol): Cast return value of xmalloc.Ken Raeburn2-4/+74
1994-11-18Thu Nov 17 15:37:19 1994 Mark W. Eichin <eichin@cygnus.com>Ian Lance Taylor4-0/+43
* objcopy.c (add_strip_symbol): New function, adds a name to an explicit list of symbols to strip. (is_strip_symbol): New function, reports whether the name argument is in the explicit list. (filter_symbols): Check against is_strip_symbol above all. (strip_main): Recognize -N option. If used, don't default to strip_all. (copy_main): Recognize -N option. (strip_usage): Document -N and --strip-symbol options. (copy_usage): Ditto. * objcopy.1, strip.1, binutils.texi: Document -N and --strip-symbol options.
1994-11-17 * ar.c (main): Don't call do_quick_append if any of the archiveIan Lance Taylor2-28/+106
names are longer than 14 characters. PR 5966.
1994-11-17 * objcopy.c (main): Fix is_strip test. FromIan Lance Taylor2-53/+142
pirker@eiunix.tuwien.ac.at (Martin Pirker).
1994-11-08 * objcopy.c (copy_archive): Keep a list of the names of theIan Lance Taylor1-0/+10
temporary files we created. Close each input BFD after we open its successor. PR 5915.
1994-11-04Changes from binutils-2.5.2 net release:Ken Raeburn2-1/+15
* Makefile.in (install-info): Install info files from whatever directory they were found in. Patch from DJ Delorie: * configure.bat: do c++filt -> cxxfilt right * sysinfo.y: Include system header files early, so any potential declaration of abort() occurs before its use. * strings.c (strings_file): Try opening the file in binary mode first.
1994-11-02 * ar.c (main): Treat ar qs like ar rs.Ian Lance Taylor1-0/+4
1994-10-25 * objcopy.c (gap_fill): Explicitly initialize, for clarity.Ian Lance Taylor3-11/+36
(pad_to_set, pad_to): New static variables. (copy_options): Accept --pad-to. (copy_usage): Mention --pad-to. (copy_object): Support --pad-to. (compare_section_vma): Sort non loadable sections to the front. Sort sections with the same VMA by size. (copy_main): Handle --pad-to. * binutils.texi, objcopy.1: Document --pad-to.
1994-10-20 * objcopy.c (gap_fill_set, gap_fill): New static variables.Ian Lance Taylor4-7/+184
(copy_options): Accept --gap-fill. (copy_usage): Mention --gap-fill. (copy_object): Support --gap-fill. (get_sections, compare_section_vma): New static functions. (copy_main): Handle --gap-fill. * binutils.texi, objcopy.1: Document --gap-fill.
1994-10-19 * Makefile.in (check): Add a dummy else clause to the ifIan Lance Taylor2-1/+10
statement.
1994-10-19 * objcopy.c (copy_object): Revert yesterday's change.Ian Lance Taylor3-22/+7
* binutils.texi, objcopy.1: Remove special mention of --set-start and `binary' output format.
1994-10-18 * objcopy.c (copy_object): If the output file format is `binary',Ian Lance Taylor4-3/+67
and the start address was not set using --set-start, default the start address to zero. This hack is because the `binary' output file format uses the start address to set the virtual address of the first byte in the file. * binutils.texi, objcopy.1: Add some notes on generating S-records and binary files.
1994-10-18 * nm.c (print_symdef_entry): Call print_symname to print theIan Lance Taylor1-0/+3
symbol name, so that --demangle works.
1994-10-18 * Makefile.in (mostlyclean): Remove tmpdir.Ian Lance Taylor2-1/+4
1994-10-18 * binutils-all/objcopy.exp: New file.Ian Lance Taylor3-2/+271
* config/default.exp: Initialize OBJCOPY and OBJCOPYFLAGS.
1994-10-18 * objcopy.c (struct section_list): Add fields used, adjust, val.Ian Lance Taylor4-32/+356
(adjust_start, set_start_set, set_start): New static variables. (adjust_section_vma, adjust_sections): New static variables. (copy_options): Add --adjust-start, --adjust-vma, --adjust-section-vma, --adjust-warnings, --no-adjust-warnings, --set-start. (parse_vma): New static function. (copy_usage): Mention new options. (copy_object): Handle --set-start and --adjust-start. (setup_section): Correct type of last argument to PTR. Set used field if section is removed. Handle --adjust-vma and --adjust-section-vma. (copy_section): Correct type of last argument to PTR. (mark_symbols_used_in_relocations): Likewise. (strip_main): Clear used field when handling -R. (copy_main): Handle new options. * binutils.texi (objcopy): Document new options. * objcopy.1: Document new options.
1994-10-14clobbered somehow by previous checkinIan Lance Taylor1-1/+311
1994-10-14 * configure.in (configdirs): Remove definition--testsuite is noIan Lance Taylor2-328/+55
longer configured. * Makefile.in (testsuite): Remove target. (site.exp): New target. (check): Rewrite. (clean, distclean): Don't recur into testsuite directory.
1994-10-14 Rewrite testsuite.Ian Lance Taylor19-406/+9
* configure.in, Makefile.in: Remove. * binutils-all/configure.in, binutils-all/Makefile.in: Remove. * binutils-all/bintest.c: Remove. * binutils-all/bintest.s: New file. * binutils-all/nm.exp, binutils-all/objdump.exp: Rewrite. * binutils-all/size.exp: Rewrite. * config/default.exp: Load utils-lib.exp. Set AS and ASFLAGS. Don't go up one directory from $base_dir. Create tmpdir. (binutils_run, binutils-assemble): New procedures. * config/unix.exp: Remove. * config/mt-a29k-udi, config/mt-i386-aout: Remove. * config/mt-i960-nindy, config/mt-lynx, config/mt-m68k: Remove. * config/mt-mips-ecoff, config/mt-slite: Remove. * config/mt-sparc-aout, config/mt-vxworks: Remove. * lib/utils-lib.exp (binutil_version): Don't redirect standard input when getting version. Don't unset errorInfo. (default_binutils_run): New procedure. (default_binutils_assemble): New procedure.
1994-10-10* nlmconv.c (link_inputs): Pass -Ur flag to ld so that theJ.T. Conklin1-0/+5
ctor/dtor tables needed by C++ programs are built.
1994-10-10 * Makefile.in (srconv.o): Add dependence on sysroff.c.Jim Wilson2-2/+21
1994-09-30 * configure.in (configdirs): Change binutils.all to binutils-all.Ian Lance Taylor1-1/+1
1994-09-29 * VMS does not permits `.' in directory names. RenamedIan Lance Taylor6-1/+150
binutils.all to binutils-all.