* defparse.y (explist): Remove separate expline to eliminate
[platform/upstream/binutils.git] / binutils / ChangeLog
index f84ca5c..8e7ba4a 100644 (file)
@@ -1,3 +1,179 @@
+1999-06-13  Ian Lance Taylor  <ian@zembu.com>
+
+       * defparse.y (explist): Remove separate expline to eliminate
+       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  Ian Lance Taylor  <ian@zembu.com>
+
+       * ar.c (O_BINARY): Define as 0 if not defined.
+       (ranlib_touch): Open file with O_BINARY.
+
+       * rename.c (O_BINARY): Define as 0 if not defined.
+       (simple_copy): Open files with O_BINARY.
+
+       Based on patch from H. Peter Anvin <hpa@transmeta.com>:
+       * 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.
+
+       * configure.in: If frexp is not available, check in -lm.
+       * configure: Rebuild.
+
+       * readelf.c (get_elf_class): Use correct printf format for type.
+       (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.
+
+Wed Jun  9 11:40:16 1999  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
+
+       * readelf.c (dump_section): Cast values from byte_get to
+       [unsigned] long 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.
+
+Mon Jun  7 12:14:57 1999  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
+
+       * windres.c (usage): Fix typo.
+
+1999-06-04  Nick Clifton  <nickc@cygnus.com>
+
+       * readelf.c: Use 64bit wide fields in internal strcutures even if
+       targetting a 32bit architecture.
+       (dump_relocations): Take a new parameter - the number of symbols
+       in the symbol table.
+
+1999-06-04  Nick Clifton  <nickc@cygnus.com>
+
+       * readelf.c: Add support for 64bit ELF files.
+
+1999-06-03  Nick Clifton  <nickc@cygnus.com>
+
+       * dlltool.c (mcore_elf_gen_out_file): Use constants for temporary
+       file names. 
+
+Wed Jun  2 12:34:36 1999  Richard Henderson  <rth@cygnus.com>
+
+       * dlltool.c (gen_exp_file): Revert 19990411 change.
+
+Mon May 31 09:56:22 1999  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
+
+       * readelf.c (process_relocs): Determine type of reloc from
+       DT_PLTREL and from section type.
+
+1999-05-29  Nick Clifton  <nickc@cygnus.com>
+
+       * readelf.c (get_elf_class): Display unknown class number.
+       (get_data_encoding): Display unknown encoding number.
+       (get_osabi_name): Display unknown ABI number.
+       (process_file_header): Display unknown version number.
+
+1999-05-29  Nick Clifton  <nickc@cygnus.com>
+
+       * readelf.c (dump_relocations): Fix typo.
+
+1999-05-28  Nick Clifton  <nickc@cygnus.com>
+
+       * readelf.c (dump_relocations): Add extra parameter: is_rela to
+       specify the kind of relocations to be dumped.  Call guess_is_rela
+       if this parameter has a value of UNKNOWN.
+       (guess_is_rela): New function:  Guess the kind of reloc being used
+       baced on the machine number.
+       (process_relocs): Determine type of reloc before calling
+       dump_relocations.
+
+1999-05-28  Ian Lance Taylor  <ian@zembu.com>
+
+       * readelf.c: Include "elf/i960.h".
+       (dump_relocations): Handle EM_960.
+
+Thu May 27 11:58:33 1999  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
+
+       * objcopy.c (copy_archive): Preserve dates of archive members if
+       requested.
+
+       * readelf.c (dump_relocations): Always print the addend on RELA
+       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-17  DJ Delorie  <dj@cygnus.com>
+
+       * windres.c: add verbose option
+       (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-16  Nick Clifton  <nickc@cygnus.com>
+
+       * dlltool.c (deduce_name): New function: Deduce name of program to
+       run.
+       (mcore_elf_out_file): New variable: Name of mcore-elf output file.
+       (mcore_elf_linker): New variable: Name of linker to use.
+       (mcore_elf_linker_flags): New variable: Linker flags to pass.
+       (scan_obj_file): Cache filenames if necessary.
+       (usage): Document new command line options.
+       (main): Support new command line options: -M (generate an
+       mcore-elf output file) -L (name of linker to use) -F (flags to
+       pass to linker). 
+       (mcore_elf_cache_filename): Store a filename in a cache.
+       (mcore_elf_gen_out_file): New function: Generate an output file
+       per the mcore-elf spec.
+
+1999-05-15  Nick Clifton  <nickc@cygnus.com>
+
+       * configure.in (BUILD_MISC): Build dlltool for mcore
+       * configure: Regenerate.
+       * dlltool.c: Update example in comment.
+       (DLLTOOL_MCORE): Define.
+       (DLLTOOL_MCORE_ELF): Define.
+       (DRECTVE_SECTION_NAME): Define.
+       (mcore_be_jtab, mcore_le_jtab): Binary for performing an mcore
+       jump to address.
+       (mtable): Add entries for mcore variants.
+       (rvaafter, rvabefore, asm_prefix): Add mcore suppport.
+       (scan_drectve_symbols): Use DRECTVE_SECTION_NAME.
+       (make_head, make_tail): Cope if file cannot be created.
+       (usage): Improve layout.
+       
+1999-05-13  DJ Delorie  <dj@cygnus.com>
+
+       * rclex.l: add code to suppress certain output from cpp, replace
+       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-10  DJ Delorie  <dj@cygnus.com>
 
        * windres.c (quot): Quote shell metacharacters in a string