aboutsummaryrefslogtreecommitdiff
path: root/binutils
AgeCommit message (Collapse)AuthorFilesLines
1999-07-11 * Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSEDIan Lance Taylor16-108/+123
as appropriate. Add variable initializations. Add casts. * objdump.c (disassemble_bytes): Change j to bfd_vma. * readelf.c (process_syminfo): Change i to unsigned int. (display_debug_info): Change abbrev_number to unsigned long. (process_mips_specific): Change fcnt to size_t.
1999-07-09Only decode 64bit ELF files if the host compiler supports a 64bit data type.Nick Clifton2-7/+64
1999-07-08Jakub Jelinek <jj@ultra.linux.cz>Richard Henderson2-1/+44
* readelf.c (guess_is_rela): Sparcv9 and v8plus use rela. (dump_relocations): Use ELF64_R_TYPE_ID for Sparc, for R_SPARC_OLO10 print the secondary addend. (get_machine_flags): Print Sparc machine flags. (get_symbol_type): Print STT_REGISTER.
1999-07-08 * stabs.c (parse_stab_type): Fix handling of template names withIan Lance Taylor2-23/+51
template parameters containing `::'. (stab_demangle_type): Handle a qualified name in a pointer to member.
1999-06-29Add fr30 and mcore to expected cpus list.Nick Clifton3-2/+10
Fix readelf -r test to not assume a fixed number of spaces in the output.
1999-06-22 * Makefile.am (dlltool_SOURCES): Add dyn-string.c.Ian Lance Taylor3-4/+9
* Makefile.in: Rebuild.
1999-06-221999-06-23 Mumit Khan <khan@xraylith.wisc.edu>Ian Lance Taylor7-63/+84
* configure.in (HAVE_EXECUTABLE_SUFFIX): Define. * dlltool.c (look_for_prog): Use HAVE_EXECUTABLE_SUFFIX. * dllwrap.c (look_for_prog): Likewise. * resrc.c (look_for_default): Likewise. * configure, config.in: Rebuild.
1999-06-22 Based on patches from Mumit Khan <khan@xraylith.wisc.EDU>:Ian Lance Taylor9-181/+523
* configure.in: Define EXECUTABLE_SUFFIX. * dlltool.c: Include "dyn-string.h". Include <stdarg.h> based on ANSI_PROTOTYPES, not __STDC__. (outfile): Remove. (gen_exp_file): Change uses of outfile to use alloca. (make_one_lib_file, make_head, make_tail): Likewise. (gen_lib_file): Likewise. (look_for_prog): New static function. (deduce_name): Rewrite to use look_for_prog. (mcore_elf_gen_out_file): Use dyn_string_t rather than outfile. * dllwrap.c: Don't include <stdio.h>, <errno.h>, <string.h>, <stdlib.h>, or <unistd.h>. Include <sys/stat.h> and either <stdarg.h> or <varargs.h>. (driver_name): Initialize to NULL, not "gcc". (dlltool_name): Initialize to NULL, not "dlltool". (display, inform, look_for_prog, deduce_name): New static functions. (usage): Mention -mno-cygwin. (OPTION_MNO_CYGWIN): Define. (main): Handle -mno-cygwin. Deduce driver_name and dlltool_name. * resrc.c (look_for_default): Make static. Remove unused local path. Check using EXECUTABLE_SUFFIX. (read_rc_file): Allocate enough space to hold EXECUTABLE_SUFFIX. * Makefile.am: Rebuild dependencies. (dllwrap_LDADD): Add $(INTLLIBS). * configure, Makefile.in, config.in: Rebuild.
1999-06-21hJeff Law1-1/+1
* readelf.c (dump_relocations): Use elf_hppa_reloc_type instead of elf32_hppa_reloc_type.
1999-06-21mJeff Law1-0/+5
* readelf.c (dump_relocations): Use elf_hppa_reloc_type instead of elf32_hppa_reloc_type.
1999-06-21Link object files with the .exp file, not the .lib fileNick Clifton2-6/+8
1999-06-18* deflex.l: Accept single-character symbol names.DJ Delorie2-1/+5
1999-06-16Detect symbols typed as thumb functions.Nick Clifton2-1/+11
1999-06-16Add -M command line switch to objdump - text of switch is passed on to ↵Nick Clifton4-2/+47
disassembler Add support for register name set selection ot ARM disassembler.
1999-06-14Fix typos.Andreas Schwab2-2/+6
1999-06-13 * objdump.c (disassemble_bytes): If the disassembler returns anIan Lance Taylor2-1/+10
error, print out anything it may have printed to the buffer. From H.J. Lu <hjl@gnu.org>.
1999-06-13 * defparse.y (explist): Remove separate expline to eliminateIan Lance Taylor3-10/+43
shift/reduce conflict. From Kai-Uwe Rommel <rommel@ars.de>: * defparse.y: Add tokens NONSHARED, SINGLE, MULTIPLE, INITINSTANCE, INITGLOBAL, TERMINSTANCE, and TERMGLOBAL. (command): Add option_list after LIBRARY. (attr): Accept and ignore NONSHARED, SINGLE, and MULTIPLE. (option_list, option): New nonterminals. * deflex.l: Recognize NONSHARED, SINGLE, MULTIPLE, INITINSTANCE, INITGLOBAL, TERMINSTANCE, and TERMGLOBAL.
1999-06-12 * ar.c (O_BINARY): Define as 0 if not defined.Ian Lance Taylor2-1/+10
(ranlib_touch): Open file with O_BINARY.
1999-06-12 * rename.c (O_BINARY): Define as 0 if not defined.Ian Lance Taylor2-1/+14
(simple_copy): Open files with O_BINARY.
1999-06-12 Based on patch from H. Peter Anvin <hpa@transmeta.com>:Ian Lance Taylor5-9/+64
* objcopy.c (struct section_list): Add copy field. (sections_copied): New static variable. (copy_options): Add "only-section". (copy_usage): Mention -j and --only-section. (find_section_list): Initialize copy field. (is_strip_section): Check for copying sections. (copy_object): Check sections_copied when calling filter_symbols. (setup_section): Check for copying sections. (copy_section): Likewise. (copy_main): Handle -j/--only-section. * binutils.texi, objcopy.1: Document -j/--only-section.
1999-06-12 * configure.in: If frexp is not available, check in -lm.Ian Lance Taylor3-217/+298
* configure: Rebuild.
1999-06-12 * readelf.c (get_elf_class): Use correct printf format for type.Ian Lance Taylor2-9/+22
(get_data_encoding): Likewise. (get_osabi_name): Likewise. (process_file_header): Don't pass an extra argument to printf. (process_dynamic_segment): Cast dynamic_size to long before printing. (decode_location_expression): Cast byte_get to long before printing.
1999-06-10Updated to match latest output.Nick Clifton3-27/+29
1999-06-09 * binutils-all/objdump.exp: Tighten regexp to match `objdump -i'Andreas Schwab2-1/+6
output to avoid massive exponential behaviour.
1999-06-09 * readelf.c (dump_section): Cast bfd_vma values to [unsigned] longAndreas Schwab2-148/+452
for printing, in case it is wider than long. (display_block): Likewise. (read_and_display_attr): Likewise. (decode_location_expression): Likewise. Don't depend on evaluation order.
1999-06-07 * windres.c (usage): Fix typo.Andreas Schwab2-1/+5
1999-06-04Use 64bit wide values in internal fields.Nick Clifton2-39/+55
Check symbol index against number of symbols when displaying relocations
1999-06-04Add support for 64 bit ELF files.Nick Clifton2-231/+586
1999-06-03Use macros to hold names of temporary files.Nick Clifton2-10/+40
1999-06-03Update.Richard Henderson2-398/+441
1999-06-02* dlltool.c (gen_exp_file): Revert 19990411 change.Richard Henderson2-20/+5
1999-05-31 * readelf.c (process_relocs): Determine type of reloc fromAndreas Schwab2-9/+19
DT_PLTREL and from section type.
1999-05-29Display unknown values detected in ELF program header.Nick Clifton2-4/+24
1999-05-29fix typo.Nick Clifton2-1/+5
1999-05-28remove spurious code.Nick Clifton1-3/+0
1999-05-28Better coping with different reloc types.Nick Clifton2-70/+129
1999-05-27 * binutils-all/readelf.h: Update for changes of 1999-04-08.Ian Lance Taylor2-0/+9
1999-05-27 * readelf.c: Include "elf/i960.h".Ian Lance Taylor2-0/+11
(dump_relocations): Handle EM_960.
1999-05-27break long lineIan Lance Taylor1-2/+2
1999-05-27 * objcopy.c (copy_archive): Preserve dates of archive members ifAndreas Schwab2-0/+16
requested.
1999-05-27 * readelf.c (dump_relocations): Always print the addend on RELAAndreas Schwab2-11/+18
systems even if there is no symbol. (process_program_headers): Reset dynamic_size before looping through the program headers. (process_version_sections): Cast sh_offset to unsigned long for printing in case bfd_vma is wider. (process_symbol_table): Use get_symbol_index_type when printing st_shndx.
1999-05-25* windres.c: add verbose optionDJ Delorie5-11/+141
(main): process verbose option * resrc.c (look_for_default): new. Look for the default preprocessor in a given location. (read_rc_file): for foo/bar-windres, look for foo/bar-gcc, foo/gcc (in case of foo/windres), and then gcc (the old default).
1999-05-16Add support for generating an mcore-elf dll.Nick Clifton2-23/+206
1999-05-15Add support for mcore to dlltool.Nick Clifton4-24/+145
1999-05-12 * rclex.l: add code to suppress certain output from cpp, replaceDJ Delorie3-85/+128
all returns with MAYBE_RETURN (MAYBE_RETURN): new, implement the suppression by returning IGNORED_TOKEN as needed. (cpp_line): remember which file we're in, mark data from included *.h files for suppression. * rcparse.y (input): allow IGNORED_TOKEN outside of known constructs
1999-05-111999-05-10 DJ Delorie <dj@cygnus.com>DJ Delorie6-11/+73
* windres.c (quot): Quote shell metacharacters in a string (main): quote parameters to cpp that might have metacharacters in them. Allow -D as an alias for --define to allow for sharing make macros with gcc. * objdump.c (dump_reloc_set): don't core if howto->name is NULL * Makefile.am: Give rescoff.c a cpu-specific -D so it can set the correct BFD. * Makefile.in: ditto * rescoff.c (write_coff_file): Set the correct BFD
1999-05-06 * rename.c (smart_rename): Fix test of whether file exists.Ian Lance Taylor2-4/+8
1999-05-06Set display_endian based on target endianism.Nick Clifton2-2/+7
1999-05-05 * dlltool.c (interwork): Remove.Catherine Moore2-38/+53
(arm_interwork_jtab): Use bx insn. (thumb_jtab): Likewise. (MARM_INTERWORK): New machine type. (rvaafter): Handle it. (rvabefore) Likewise. (asm_prefix): Likewise. (gen_exp_type): Check machine type instead of interwork flag. (make_one_lib_file): Likewise. (make_head): Likewise. (make_tail): Likewise. (usage): Update machine types. (main): Remove -interwork support.
1999-05-05 * readelf.c (get_machine_flags): Check for EF_CPU32.Catherine Moore2-2/+12
(get_data_encoding): Fix typo.