aboutsummaryrefslogtreecommitdiff
path: root/binutils
AgeCommit message (Collapse)AuthorFilesLines
1997-03-21 * size.c (usage): Make definition match its prototype.Jeff Law1-0/+37
(display_bfd, lprint_number, rprint_number): Likewise. (print_berkeley_format, sysv_internal_printer): Likewise. (print_sysv_format): Likewise. * nm.c (set_print_radix, set_output_format): Likewise. * objcopy.c (filter_bytes): Likewise.
1997-03-18Tue Mar 18 16:39:55 1997 H.J. Lu <hjl@lucon.org>Ian Lance Taylor1-0/+3
* Many files: Add function prototypes. * ar.c (mri_emul, get_pos_bfd): Make static. * arlex.l: Include "libiberty.h". Don't declare strdup. Use xstrdup rather than strdup. * arparse.y (yyerror): Make argument const. Correct typo. * arsup.c (strdup): Don't declare. (ar_save): Use xstrdup rather than strdup. * filemode.c: Include "bucomm.h". * nm.c (usage): Make static. (print_symname): Make format and name const. * objcopy.c (cat): Remove. (copy_archive): Make output_target const. Use concat, not cat. (copy_file, simple_copy, smart_rename): Make arguments const. * objdump.c (read_section_stabs): Likewise. (print_section_stabs): Likewise. (display_target_tables): Don't declare getenv. * strings.c (strings_object_file): Change file to const. (print_strings): Change filename to const. * Makefile.in: Rebuild dependencies. Tue Mar 18 11:37:24 1997 Ian Lance Taylor <ian@cygnus.com> * configure.in: Add BFD_NEED_DECLARATION(getenv). * acconfig.h: Add NEED_DECLARATION_GETENV. * bucomm.h (getenv): Declare if NEED_DECLARATION_GETENV. * configure, config.in: Rebuild. * nlmconv.c (getenv): Don't declare.
1997-03-18 * Makefile.in: Rebuild dependencies.Ian Lance Taylor2-62/+57
1997-03-15 Based on patches from Jamie Lokier <jamie@rebellion.co.uk>:Ian Lance Taylor4-25/+132
* objdump.c: Include "demangle.h". (do_demangle): New static variable. (usage): Mention -C/--demangle. (long_options): Add "demangle". (objdump_print_symname): New static function. (objdump_print_addr_with_sym): Use objdump_print_symname. (disassemble_bytes): Likewise. (dump_reloc_set): Likewise. (dump_symbols): Demangle symbol name. (main): Handle -C. * binutils.texi, objdump.1: Document -C/--demangle.
1997-03-15 * objdump.c (usage): Mention --no-show-raw-insn.Ian Lance Taylor5-18/+97
(long_options): Add "no-show-raw-insn". (disassemble_bytes): Handle --no-show-raw-insn. * binutils.texi, objdump.1: Document --no-show-raw-insn.
1997-03-06Add d30v to cpus.Martin Hunt1-0/+33
1997-02-27Use change-log-mode, not indented-text-modeMichael Meissner1-1/+23
1997-02-26 * objdump.c (adjust_section_vma): New static variable.Ian Lance Taylor2-0/+22
(usage): Mention --adjust-section-vma. (OPTION_ADJUST_VMA): Define. (long_options): Add "addjust-vma". (display_bfd): If adjust_section_vma is not 0, add it to all the section addresses. (main): Handle OPTION_ADJUST_VMA. * binutils.texi, objdump.1: Document --adjust-vma.
1997-02-14Thu Feb 13 21:34:43 1997 Klaus Kaempf (kkaempf@progis.de)Ian Lance Taylor2-9/+10
* config.h-vms: sbrk() is provided on openVMS/Alpha. * makefile.vms: allow compiling with current gcc snapshot.
1997-02-14 * arsup.c, coffgrok.c, dlltool.c, nlmconv.c: Use xmalloc ratherIan Lance Taylor1-0/+5
than malloc.
1997-02-12 * objdump.c (disassemble_data): Correct VMA argument toIan Lance Taylor1-0/+6
find_symbol_for_address. Improve handling of code with no symbol followed by code with a symbol.
1997-02-12Wed Feb 12 12:16:47 1997 Andreas Schwab ↵Ian Lance Taylor2-9/+33
<schwab@issan.informatik.uni-dortmund.de> * objdump.c (disassemble_bytes): Make output of raw instructions work better for non-standard values of bytes_per_chunk and bytes_per_line. I also fixed the spacing in the last patch.
1997-02-06Thu Feb 6 14:14:59 1997 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt2-5/+27
* objdump.c (disassemble_bytes): Added code to allow some control over the way raw instructions are displayed.
1997-02-06 * stabs.c (struct bincl_file): Add next_stack field.Ian Lance Taylor1-0/+12
(push_bincl): Put the new file on both bincl_list and bincl_stack. Clear the file_types field. (pop_bincl): Use the next_stack field when popping the stack. Don't put the file on bincl_list. (find_excl): Include the file name when warning about an unfound N_EXCL. * debug.c (debug_type_samep): Don't crash if we are passed NULL. PR 11465.
1997-02-06Thu Feb 6 11:54:24 1997 Alan Modra <alan@spri.levels.unisa.edu.au>Ian Lance Taylor2-3/+7
* objcopy.1: Add missing space after .B.
1997-01-31Fri Jan 31 10:33:07 1997 Andreas Schwab ↵Ian Lance Taylor2-0/+5
<schwab@issan.informatik.uni-dortmund.de> * objdump.c (disassemble_data): Initialize `aux.require_sec'.
1997-01-29tweak last changeIan Lance Taylor1-1/+9
1997-01-29fix copyrights, add NEWS entryIan Lance Taylor3-5/+5
1997-01-29 * objdump.c (objdump_print_value): Add skip_zeroes parameter.Ian Lance Taylor4-40/+123
Change all callers. (objdump_print_addr_with_sym): Likewise. Call objdump_print_value to print address. (objdump_print_addr): New static function. (objdump_print_address): Just call objdump_print_addr. (disassemble_bytes): Print real address, not function offset. Skip a certain number of leading zeroes. * objdump.c (disassemble_zeroes): New static variable. (usage): Mention --disassemble-zeroes. (long_options): Add "disassemble-zeroes". (disassemble_bytes): Check disassemble_zeroes. Changes requested by LSI.
1997-01-29Major revision to testsuites for cross-testing and DOS testing support.Bob Manson1-9/+15
1997-01-28 * objdump.c (disassemble_bytes): Don't skip zeroes if theIan Lance Taylor2-202/+479
disassembler has told us that we are in a branch delay slot.
1997-01-20 * size.c (berkeley_sum): Rewrite. Skip sections which are notIan Lance Taylor1-0/+10
SEC_ALLOC. Count SEC_READONLY sections as text.
1996-12-31 * Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE.Ian Lance Taylor2-4/+7
1996-12-27 * configure.in: Work around bug in AC_FUNC_VFORK in autoconf 2.12.Ian Lance Taylor1-0/+5
* configure: Rebuild.
1996-12-19 * mpw-make.sed: Use NewFolderRecursive for installation.Stan Shebs2-7/+5
1996-12-19 Based on patch from Andrew J Klossner <andrew@pogo.wv.tek.com>:Ian Lance Taylor4-0/+30
* objcopy.c (OPTION_WEAKEN): Define. (copy_options): Add "weaken". (copy_usage): Mention --weaken. (weaken): New static variable. (filter_symbols): Handle weaken. (copy_object): Call filter_symbols if weaken. (copy_main): Handle OPTION_WEAKEN. * binutils.texi, objcopy.1: Document --weaken. PR 11272.
1996-12-15objdump --dynamic-reloc now works with ELFIan Lance Taylor1-0/+5
1996-12-06 * ieee.c (parse_ieee_bb): Always initialize namcopy to avoid gccIan Lance Taylor1-0/+14
warning about uninitialized variable. (ieee_read_cxx_class): Likewise, for pf. (ieee_enum_type): Likewise, for i.
1996-11-25 * objdump.c (disassemble_data): Don't crash if there is noIan Lance Taylor1-0/+9
symbol.
1996-11-18finally remove errant mentions of SanitizeAngela Marie Thomas1-1/+4
1996-11-01 * binutils.texi: Add section on reporting bugs.Ian Lance Taylor1-1/+209
1996-11-01 * stabs.c (struct stab_handle): Add bincl_list field.Ian Lance Taylor1-0/+10
(parse_stab): Pass value to push_bincl. Call find_excl for N_EXCL. (struct bincl_file): Add hash, file and file_types fields. (push_bincl): Add hash parameter. Save it in the new hash field. Save the file number in the new file field. (pop_bincl): Put the bincl_file on bincl_list, rather than freeing it. Save the file types in the new file_types field. (find_excl): New static function. PR 10980.
1996-11-01 * ieee.c (ieee_lineno): Don't compare line number addresses toIan Lance Taylor1-0/+5
info->highaddr (undo part of October 28 patch).
1996-10-31(set_expected_cpus): Add m32r.David Edelsohn1-0/+33
1996-10-29 * objdump.c (objdump_print_value): Don't print the empty stringIan Lance Taylor1-0/+11
for zero.
1996-10-28 * stabs.c (struct stab_handle): Add function_end field.Ian Lance Taylor2-15/+95
(start_stab): Initialize function_end. (finish_stab): Pass info->function_end to debug_end_function. (parse_stab): If info->function_end is set, use it as the address which ends a function.
1996-10-28 * ieee.c (ieee_array_type): Remember the correct size.Ian Lance Taylor1-2/+9
1996-10-28 * ieee.c (ieee_finish_compilation_unit): Permit coalescing rangesIan Lance Taylor2-5/+24
that are up to 0x1000 bytes apart, not just 64. (ieee_add_bb11_blocks): Don't bother to emit a BB11 that is less than 0x100 bytes. (ieee_lineno): Only emit line numbers that are less than info->highaddr.
1996-10-25 * ieee.c (struct ieee_defined_enum): Add defined field.Ian Lance Taylor1-42/+61
(ieee_enum_type): If the enum tag has been seen before but not defined, reuse the same type index, and define it. (ieee_tag_type): If this enum has not been defined, add an undefined entry to the list of enums. PR 10946.
1996-10-25 * objdump.c (disassemble_bytes): Let the disassembler override theIan Lance Taylor1-0/+22
number of bytes printed on a line.
1996-10-24 * objdump.c (prefix_addresses): New static variable.Ian Lance Taylor2-4/+18
(long_options): Add "prefix-addresses". (compare_symbols): Sort BSF_FUNCTION symbols before other symbols. (find_symbol_for_address): New static function, broken out of objdump_print_address. (objdump_print_addr_with_sym): New static function, broken out of objdump_print_address. (objdump_print_address): Call new functions. (disassemble_bytes): New static function, broken out of disassemble_data. Change disassembly format, unless prefix_addresses is set. (disassemble_data): Call disassemble_bytes. Unless prefix_addresses is set, disassemble in chunks headed by a symbol. * binutils.texi, objdump.1: Document --prefix-addresses.
1996-10-24 * rddbg.c (read_section_stabs_debugging_info): Preserve theIan Lance Taylor1-0/+5
backslash when concatenating multiple stabs strings.
1996-10-10 * dlltool.c (scan_open_obj_file): Fix loop exit test.David Edelsohn1-0/+5
Add missing parameter to def_exports.
1996-10-08 * Makefile.in (LEX_OPTIONS): Set to empty string. -I -Cem is theIan Lance Taylor1-0/+5
default for flex, and is not recognized by lex. PR 10819.
1996-10-03 * binutils.texi (Target Selection): Document that you can nowIan Lance Taylor3-0/+31
specify targets using configuration triplets.
1996-10-03 * Makefile.in (clean): Remove config.log.Jason Molenda2-1/+5
1996-10-02Wed Oct 2 15:49:16 1996 Klaus Kaempf <kkaempf@progis.de>Ian Lance Taylor2-1/+5
* makefile.vms: Bump version date.
1996-10-01 * lib/utils-lib.exp (binutil_version): Fix for current versionIan Lance Taylor1-0/+40
printing.
1996-10-01 * version.c (print_version): New function.Ian Lance Taylor4-167/+271
* bucomm.h (print_version): Declare. * ar.c (program_version): Don't declare. (do_show_version): Remove. (usage): Add help parameter. Print bug report address. (main): Set is_ranlib at start. Check for --help and --version. Call print_version, not do_show_version. * nlmconv.c (program_version): Don't declare. (main): Call print_version. (show_usage): Print bug report address. * nm.c (program_version, print_version): Don't declare. (usage): Print bug report address. (main): Call print_version. * objcopy.c (program_version): Don't declare. (copy_usage): Print bug report address. (strip_usage): Likewise. (strip_main): Call print_version. (copy_main): Likewise. * objdump.c (program_version): Don't declare. (usage): Print bug report address. (main): Call print_version. * size.c (program_version): Don't declare. (usage): Print bug report address. (main): Call print_version. * strings.c (program_version): Don't declare. (main): Call print_version. (usage): Print bug report address. * Makefile.in: Update dependencies.
1996-09-16 * ieee.c (struct ieee_write_type): Add reflocalp field.Ian Lance Taylor2-13/+39
(ieee_pointer_type): Set reflocalp after pushing type. (ieee_function_type): If reflocalp is set, make this type local. (ieee_range_type, ieee_array_type, ieee_set_type): Likewise. (ieee_const_type, ieee_volatile_type): Likewise. (ieee_struct_field, ieee_class_baseclass): Likewise. PR 10638.