diff options
-rw-r--r-- | bfd/ChangeLog | 5589 | ||||
-rw-r--r-- | bfd/ChangeLog-9899 | 5595 | ||||
-rw-r--r-- | binutils/ChangeLog | 7114 | ||||
-rw-r--r-- | binutils/ChangeLog-9197 | 5218 | ||||
-rw-r--r-- | binutils/ChangeLog-9899 | 1908 | ||||
-rw-r--r-- | gas/ChangeLog | 4863 | ||||
-rw-r--r-- | gas/ChangeLog-9899 | 4854 | ||||
-rw-r--r-- | ld/ChangeLog | 9670 | ||||
-rw-r--r-- | ld/ChangeLog-9197 | 7576 | ||||
-rw-r--r-- | ld/ChangeLog-9899 | 2108 | ||||
-rw-r--r-- | opcodes/ChangeLog | 5454 | ||||
-rw-r--r-- | opcodes/ChangeLog-9297 | 3791 | ||||
-rw-r--r-- | opcodes/ChangeLog-9899 | 1669 |
13 files changed, 32730 insertions, 32679 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index eef9916..613de19 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -4018,5594 +4018,7 @@ Thu Feb 10 20:07:50 GMT 2000 Toshiyasu Morita (toshi.morita@sega.com) * elflink.h (elf_link_add_object_symbols): Combine visibilities. * elf.c (bfd_elf_print_symbol): Interpret st_other as visibility. -1999-12-29 Richard Henderson <rth@cygnus.com> - - * elflink.h (bfd_elf,size_dynamic_sections): Don't export all - if no dynamic sections created. - -1999-12-27 Nick Clifton <nickc@cygnus.com> - - * peicode.h (pe_bfd_object_p): Only define for PE format - targets. - -1999-12-17 Nick Clifton <nickc@cygnus.com> - - * coff-i386.c (i3coff_object_p): Delete. - (i386coff_vec): Replace reference to i3coff_object_p with a - reference to coff_object_p. - - * coff-mcore.c (pe_object_p): Delete. - - * peicode.h (pe_bfd_object_p): New function: Detect the - presence of a PE format COFF object file. Also detect and - warn about the presence of LINK6 format Image Library Format - object files. - -1999-12-16 Nick Clifton <nickc@cygnus.com> - - * coff-arm.c (NUM_ELEM): New macro. - (NUM_RELOCS): New macro: The number of known ARM relocs. - (RTYPE2HOWTO): Return NULL if the reloc type is out of range. - (coff_arm_rtype_to_howto): Return NULL if the reloc type is out - of range. - (bfd_arm_process_before_allocation): Produce a warning message if - an out of range symbol index is encountered. - -1999-12-14 Nick Clifton <nickc@cygnus.com> - - * elflink.h (is_global_symbol_definition): New Function: Return - true iff the symbol is being given a global definition in this - bfd. - (elf_link_is_defined_archive_symbol): Do not bother processing - symbols for an archive element that has already been included - in the link. - Use is_global_symbol_definition(). - -1999-12-09 Andrew Cagney <cagney@cygnus.com> - - * config.bfd: Add support for sparc-*-netbsdelf* and - sparc-*-netbsdaout*. - -1999-12-13 Nick Clifton <nickc@cygnus.com> - - * elflink.h (elf_link_is_defined_archive_symbol): Check to see - if the symbol is in the common section. - -1999-12-10 Nick Clifton <nickc@cygnus.com> - - * elflink.h (elf_link_is_defined_archive_symbol): New - function: Decide if a symbol, in an archive map is there - because it is defined in the archive element, or because it is - just another common declaration of it. - (elf_link_add_archive_symbols): Use - elf_link_is_defined_archive_symbol to decide if an archive - element contain a reference to a common symbol should be - linked in or not. - -1999-12-10 Nick Clifton <nickc@cygnus.com> - - * elflink.h: Revert previous patch. - * targets.c: Revert previous patch. - * libbfd-in2.h: Revert previous patch. - * libbfd.h: Revert previous patch. - * elfxx-target.h: Revert previous patch. - * archive.c: Revert previous patch. - * aout-target.h: Revert previous patch. - * aout-tic30.h: Revert previous patch. - * bfd.c: Revert previous patch. - * coff-alpha.c: Revert previous patch. - * coff-rs6000.c: Revert previous patch. - * elf64-mips.c: Revert previous patch. - * ieee.c: Revert previous patch. - * libecoff.h: Revert previous patch. - * oasys.c: Revert previous patch. - * som.c: Revert previous patch. - * vms.c: Revert previous patch. - -1999-12-09 Nick Clifton <nickc@cygnus.com> - - * elflink.h (elf_link_add_archive_symbols): Add an archive - element even if contains a symbol which is currently only - considered to be a common. - - * targets.c (struct bfd_target): Add new field - _bfd_allow_commons_in_armap. - * bfd-in2.h:Regenerate. - - * libbfd-in2.h (_bfd_noarchive_allow_commons_in_armap): - Define. - (_bfd_archive_bsd_allow_commons_in_armap): Define. - * libbfd.h: Regenerate. - - * elfxx-target.h: If using COFF archive map, override - definition of allow_commons_in_armap and replace with - bfd_false. - - * archive.c (bfd_compute_and_write_armap): Do not place common - symbols into the archive map unless _bfd_allow_commons_in_armap - returns true. - - * aout-target.h (MY_allow_commons_in_armap): Define. - * aout-tic30.h (MY_allow_commons_in_armap): Define. - * bfd.c (bfd_allow_commons_in_armap): Define. - * coff-alpha.h (alpha_ecoff_allow_commons_in_armap): Define. - * coff-rs6000.h (xcoff_allow_commons_in_armap): Define. - * elf64-mips.c (bfd_elf64_allow_commons_in_armap): Define. - * ieee.c (ieee_ecoff_allow_commons_in_armap): Define. - * libecoff.h (_bfd_ecoff_allow_commons_in_armap): Define. - * oasys.c (oasys_allow_commons_in_armap): Define. - * som.c (som_allow_commons_in_armap): Define. - * vms.c (vms_allow_commons_in_armap): Define. - -1999-12-07 Jim Blandy <jimb@cygnus.com> - - Add support for SSE registers in ELF core files. - * elf.c (elfcore_make_note_pseudosection): New function. - (elfcore_grok_prfpreg): Use it. - (elfcore_grok_prxfpreg): New function. - (elfcore_grok_note): Recognize Linux NT_PRXFPREG notes. - -1999-12-03 Ian Lance Taylor <ian@zembu.com> - - * elf32-mips.c (mips_elf_calculate_relocation): Divide R_MIPS_PC16 - value by 4 before storing it back in the field. From - Koundinya. K <kk@ddeorg.soft.net>. - -Tue Nov 30 22:41:14 1999 Jeffrey A Law (law@cygnus.com) - - * archures.c (bfd_mach_am33): Define. - * bfd-in2.h: Rebuilt. - * cpu-m10300.c (bfd_am33_arch): Add to the mn103 architecture list - * elf-m10300.c (mn10300_elf_relax_section): Handle am33 instructions. - (compute_function_info): Handle additional registers saved by - movm on the am33. - (elf_mn10300_mach): Handle E_MN10300_MACH_AM33. - (_bfd_mn10300_elf_final_write_processing): Handle bfd_mach_am33. - -1999-11-29 Jim Blandy <jimb@cygnus.com> - - * elf.c (bfd_get_elf_phdrs, bfd_get_elf_phdr_upper_bound): New - functions. - * bfd-in2.h (bfd_get_elf_phdrs, bfd_get_elf_phdr_upper_bound): New - declarations. - -1999-11-27 Michael Meissner <meissner@cygnus.com> - - * reloc.c (BFD_RELOC_ALPHA_USER_LITERAL): New relocation for - internal use within gas for alpha explicit relocations. - (BFD_RELOC_ALPHA_USER_LITUSE_BASE): Ditto. - (BFD_RELOC_ALPHA_USER_LITUSE_BYTOFF): Ditto. - (BFD_RELOC_ALPHA_USER_LITUSE_JSR): Ditto. - (BFD_RELOC_ALPHA_USER_GPDISP): Ditto. - (BFD_RELOC_ALPHA_USER_GPRELHIGH): Ditto. - (BFD_RELOC_ALPHA_USER_GPRELLOW): Ditto. - - * elf64-alpha.c (elf64_alpha_reloc_map): Add mappings for - BFD_RELOC_ALPHA_USER_*. - - * bfd-in2.h: Regenerate. - * libbfd.h: Regenerate. - -1999-11-26 Fred Fish <fnf@cygnus.com> - - * elf.c (elfcore_read_notes): Add prototype for static function. - (_bfd_elf_make_section_from_phdr): Renamed from bfd_section_from_phdr. - (bfd_section_from_phdr): Replacement function that calls - _bfd_elf_make_section_from_phdr for generic segment types and - backend fucntion pointed to by elf_backend_section_from_phdr for - backend specific segment types. - (_bfd_elfcore_section_from_phdr): Remove call to elfcore_read_notes, - now called by _bfd_elf_make_section_from_phdr. Note that this func - is now just a stub between the caller and bfd_section_from_phdr. - - * elf-bfd.h (struct elf_backend_data): Add new function pointer - elf_backend_section_from_phdr. - (elf_backend_section_from_phdr): Add prototype. - - * elfxx-target.h (elf_backend_section_from_phdr): Define default. - (elfNN_bed): Add elf_backend_section_from_phdr. - -1999-11-25 Nick Clifton <nickc@cygnus.com> - - * coff-arm.c (bfd_arm_get_bfd_for_interworking): Add - SEC_CODE and SEC_READONLY flags to glue sections. - - * elf32-arm.h (bfd_elf32_arm_get_bfd_for_interworking): Add - SEC_CODE and SEC_READONLY flags to glue sections. - -1999-11-20 Nick Clifton <nickc@cygnus.com> - - * coff-mcore.c (coff_mcore_relocate_section): Fix typo in previous - delta. - -1999-11-19 Catherine Moore <clm@cygnus.com> - - * elf32-m68k.c (elf_cpu32_plt0_entry): Fix encoding. - (elf_cpu32_plt_entry): Likewise. - -1999-11-18 Nick Clifton <nickc@cygnus.com> - - * coff-mcore.c (coff_mcore_rtype_to_howto): Special case handling - for RVA relocs. - (coff_mcore_relocate_section): Initialise addend to 0. - Special case processing of RVA reloc. - -1999-11-17 Richard Henderson <rth@cygnus.com> - - * elf-bfd.h (struct elf_backend_data): Reorder collect and - type_change_ok; add sign_extend_vma. - * elf32-mips.c (elf_backend_sign_extend_vma): Define. - * elfcode.h (elf_swap_symbol_in): Mind be->sign_extend_vma. - (elf_swap_shdr_in, elf_swap_phdr_in): Likewise. - * elfxx-target.h (elf_backend_sign_extend_vma): Default. - (elfNN_bed): Follow struture changes. - -1999-11-09 Ian Lance Taylor <ian@zembu.com> - - * libbfd.c (bfd_read): Check result of read against desired result - using !=, not <. - (_bfd_generic_get_section_contents): Set bfd_error if the seek is - invalid compared to the section size. - - * ieee.c (ieee_slurp_debug): Get the length of the debug - information right if there is no data part. - -Tue Nov 2 01:44:41 1999 Jeffrey A Law (law@cygnus.com) - - * som.c (som_fixup_formats): Improve handling of R_AUX_UNWIND, - R_LINETAB, R_LINETAB_ESC, and R_COMMENT. - -1999-10-28 Ian Lance Taylor <ian@zembu.com> - - * elflink.h (elf_bfd_final_link): Make last_local signed. - -1999-10-27 Ian Lance Taylor <ian@zembu.com> - - * stabs.c (_bfd_link_section_stabs): Make sure .stabstr section - starts with a zero. - -Sat Oct 23 17:36:12 1999 Andrew Cagney <cagney@b1.cygnus.com> - - * archures.c: Add definitions bfd_mach_d10v, bfd_mach_d10v_ts2 and - bfd_mach_d10v_ts3. - * cpu-d10v.c (d10v_ts3_info, d10v_ts2_info): Add. - * bfd-in2.h: Regenerate. - -1999-10-15 Andrew Haley <aph@cygnus.com> - - * dwarf1.c (parse_die): Fail to parse a die if its length is zero. - -Sun Oct 17 17:19:00 1999 Jeffrey A Law (law@cygnus.com) - - * libhppa.h (bfd_hppa_insn2fmt): Change to return an int. - -1999-10-08 Ian Lance Taylor <ian@zembu.com> - - * elflink.h (elf_merge_symbol): When overriding a weak symbol with - a defined symbol in a shared library, clear the DEF_DYNAMIC flag - too. - -Fri Oct 8 13:03:45 1999 Geoffrey Keating <geoffk@cygnus.com> - - * elf32-mips.c (mips_elf_calculate_relocation): R_MIPS_LITERAL - relocs also need the GP value. - (_bfd_mips_elf_relocate_section): Handle unpaired LO16 relocs - properly. Handle sign-extension for R_MIPS_64 correctly. Correct - the GP value for R_MIPS_LITERAL relocs too. Handle - R_MIPS_64 relocs properly on big-endian MIPS. - (mips_elf_sign_extend): Behave properly with 'long long'. - (mips_elf_highest): Correct typo. - -Mon Oct 4 17:49:45 1999 Nick Clifton <nickc@cygnus.com> - - * cpu-m32r.c (arch_info_struct): New static global. - (bfd_m32r_arch): Refer to it. - * elf32-m32r.c (m32r_elf_object_p): Recognize E_M32RX_ARCH. - (m32r_elf_print_private_bfd_data): Ditto. - (m32r_elf_final_write_processing): Handle bfd_mach_m32rx. - * archures.c (bfd_mach_m32rx): Define it. - * bfd-in2.h: Rebuild. - -1999-09-28 Fred Fish <fnf@cygnus.com> - - * targets.c (cisco_core_vec): Replaced with two new vecs ... - (cisco_core_big_vec): Add new bigendian vec. - (cisco_core_little_vec): Add new little endian vec. - - * cisco-core.c (CRASH_INFO): Fixed offset replaced with ... - (crash_info_locs): Add array of possible offsets. - (MASK_ADDR): Mask to apply to crash info offset. - (crashinfo_external): Add textbase, database, bssbase and - turn into a typedef. - (cisco_core_file_validate): Renamed from cisco_core_file_p. - Many small changes to account for additional hardware versions. - Pick a reasonable size for ".reg" section. Add a ".crash" - section to allow access to crashinfo_external struct. - (cisco_core_file_p): New version of this function that - iterates over crash_info_locs, calling cisco_core_file_validate. - (cisco_core_vec): Old big endian only vec replaced with ... - (cisco_core_big_vec): Add big endian version. - (cisco_core_little_vec): Add little endian version. - - * configure.in (cisco_core_vec): Split to two new vectors ... - (cisco_core_big_vec): New target vector. - (cisco_core_little_vec): New target vector. - * configure: Regenerate. - * config.bfd (targ): For m68*-*-aout* targ, change cisco_core_vec - to cisco_core_big_vec in targ_selvecs. - -1999-09-28 Geoffrey Keating <geoffk@cygnus.com> - - * elf32-mips.c (mips_elf_relocate_hi16): Unused, delete. - (mips_elf_relocate_got_local): Unused, delete. - (mips_elf_relocate_global_got): Unused, delete. - -1999-09-24 Fred Fish <fnf@cygnus.com> - - * elf.c (bfd_section_from_phdr): Add typename variable. Use p_type - to initialize it to something meaningful. Then use it to generate - more useful segment names. - -Sun Sep 19 12:16:47 1999 Jeffrey A Law (law@cygnus.com) - - * som.c (NO_PCREL_MODES): Define if the system does not define - R_SHORT_PCREL_MODE. - (hppa_som_gen_reloc_type): Handle both short and long pcrel branches. - (som_write_fixups): Eliminate redundant pcrel mode relocs. Handle - R_LONG_PCREL_MODE and R_SHORT_PCREL_MODE - * libhppa.h (dis_assemble_22): New function. - (bfd_hppa_insn2fmt): Handle long branch. - - * libhppa.h (bfd_hppa_insn2fmt): Decode and handle formats found - in PA2.0. - -1999-09-17 Alan Modra <alan@spri.levels.unisa.edu.au> - - * coff-i386.c (coff_i386_reloc_type_lookup): Support BFD_RELOC_16, - BFD_RELOC_16_PCREL, BFD_RELOC_8, BFD_RELOC_8_PCREL relocs. - (reloc_howto_type howto_table): Tidy comments and whitespace. - -1999-09-17 Nick Clifton <nickc@cygnus.com> - - * elf32-arm.h (bfd_elf32_arm_get_bfd_for_interworking): Undo - previous delta. Set sec->gc_mark instead. - -Thu Sep 16 11:21:13 1999 Catherine Moore <clm@cygnus.com> - - * elf32-m68k.c (elf_cpu32_plt0_entry): Use a1 instead of a0. - (elf_cpu32_plt_entry): Likewise. - -Thu Sep 16 10:48:17 1999 Jeffrey A Law (law@cygnus.com) - - * elf-hppa.h (elf_hppa_final_write_processing): Turn on TRAPNIL. - - * elf-hppa.h (elf_hppa_final_link): If unable to find __gp in the - symbol table, then just compute a suitable value (but do not - create a __gp symbol). - - * elf-hppa.h (elf_hppa_relocate_section): Allow undefined - symbols when building shared libraries. - (elf_hppa_final_link_relocate): Correct handling of PCREL - relocations against undefined symbols. - -1999-09-16 Nick Clifton <nickc@cygnus.com> - - * elf32-arm.h (bfd_elf32_arm_get_bfd_for_interworking): Mark - interworking sections as linker created so that they will not - be removed by garbage collection. - -Wed Sep 15 02:31:57 1999 Jeffrey A Law (law@cygnus.com) - - * elf-hppa.h (elf_hppa_final_link): Revamp __gp handling. - (elf_hppa_final_link_relocate): Consistently create an absolute - address, then subtract out the value of __gp. - -1999-09-14 Michael Meissner <meissner@cygnus.com> - - * configure.in (Canonicalization of target names): Remove adding - ${CONFIG_SHELL} in front of $ac_config_sub, since autoconfig 2.14 - generates $ac_config_sub with a ${CONFIG_SHELL} already. - * configure: Regenerate. - -1999-09-14 Nick Clifton <nickc@cygnus.com> - - * elf32-m32r.c (ELF_MAXPAGESIZE): Change to 0x1 (at request of - Mitsubishi). - -Mon Sep 13 20:01:47 1999 Jeffrey A Law (law@cygnus.com) - - * elf-hppa.h (elf_hppa_record_segment_addrs): New function. - (elf_hppa_final_link): Initialize text_segment_base and - data_segment_base. - (elf_hppa_final_link_relocate): Handle SEGREL relocations. - - * elf-hppa.h (elf_hppa_final_link): Remove unused variables. - (elf_hppa_final_link_relocate): Likewise. - (elf_hppa_relocate_insn): Likewise. - (elf_hppa_relocate_section): Initialize HOWTO. - -1999-09-13 Donn Terry <donn@interix.com> - - * coffcode.h (styp_to_sec_flags): Further refinement of COMDAT - handling to support both GNU and MS objects. - - * coffcode.h (coff_write_object_contents): Don't check reloc_count - when determining whether to set F_RELFLG. - -1999-09-13 Philip Blundell <pb@nexus.co.uk> - - * elf32-arm.h (elf32_arm_final_link_relocate): Don't range-check - PC24 relocs if the target is an undefined weak symbol. - (arm_add_to_rel): Fix compiler warning. - (elf32_arm_plt0_entry): Correct comments. - -1999-09-13 Alan Modra <alan@spri.levels.unisa.edu.au> - - * elfcode.h (write_relocs): Check for the_bfd NULL when handling - an absolute symbol in REL relocs. - -Sun Sep 12 23:47:58 1999 Jeffrey A Law (law@cygnus.com) - - * elf-hppa.h (elf_hppa_final_link_relocate): Handle SECREL32. - Stub SEGREL32. Return an error for any relocation not handled. - -1999-09-12 Ian Lance Taylor <ian@zembu.com> - - * cofflink.c (coff_link_add_symbols): Look for special MSVC string - constant symbols, and avoid multiple definition errors on them. - -1999-09-12 Donn Terry <donn@interix.com> - - * libbfd.c (bfd_log2): Rewrite to avoid infinite loop if most - significant bit is set. - -1999-09-11 Ian Lance Taylor <ian@zembu.com> - - * coff-ppc.c (COFF_SECTION_ALIGNMENT_ENTRIES): Define. - - * elfcode.h (write_relocs): Handle an absolute symbol in REL - relocs as we do for RELA relocs. - -1999-09-11 Donn Terry <donn@interix.com> - - * libpei.h (_bfd_pei_final_link_postscript): Declare. - (coff_final_link_postscript): Define. - * peigen.c (_bfd_pei_swap_aouthdr_out): Don't set value for data - directory entries here. - (_bfd_pei_final_link_postscript): New function. - - * peigen.c (_bfd_pei_swap_scnhdr_out): Remove code which sets - section flags based on the section name. - - * peicode.h (coff_swap_scnhdr_in): If COFF_IMAGE_WITH_PE, the - get the overflow of the s_nlnno field from the s_nreloc field. - * peigen.c (_bfd_pei_swap_scnhdr_out): If doing a final link, swap - the s_nlnno overflow of the .text section into the s_nreloc - field. - - * peigen.c (add_data_entry): Declare. - (pei_swap_aouthdr_out): Get image size right. Set linker version - more intuitively. - (pei_swap_scnhdr_out): Test for UNINIT section, not .bss. - (pe_print_idata): Code cleanup, print more info, get rid of (now) - extraneous ImageBase. - (pe_print_edata): Likewise. - (pe_print_pdata): Likewise. Print exception entries. - (pe_print_reloc): Likewise. Print MIPS_JMPADDR. - (tbl): Make const, add "UNKNOWN". - (_bfd_pe_print_private_bfd_data_common): Print timestamp. - (_bfd_pe_bfd_copy_private_bfd_data_common): Don't copy deleted - section data directory. - (_bfd_pe_bfd_copy_private_section_data): Copy pe_flags. - - * libpei.h (_bfd_pe_bfd_get_symbol_info): Declare. - * peigen.c (_bfd_pe_bfd_get_symbol_info): New function. - * peicode.h (coff_get_symbol_info): Define. - - * config.bfd (i[3456]86-*-interix*): Set targ_cflags to - -DSTRICT_PE_FORMAT. - * coffcode.h (styp_to_sec_flags): Check STRICT_PE_FORMAT rather - than __INTERIX. - (coff_classify_symbol): Re-revert 1999-08-08 patch if - STRICT_PE_FORMAT. - - * libpei.h: New file, broken out of peicode.h. - * peigen.c: New file, broken out of peicode.h. - * peicode.h: A bunch of code moved out to libpei.h and peigen.c. - * configure.in: Add peigen.lo to list of files required for each - PE target. - * Makefile.am: Rebuild dependencies. - (BFD32_BACKENDS): Add peigen.lo. - (BFD32_BACKENDS_CFILES): Add peigen.c. - (SOURCE_HFILES): Add libpei.h. - * configure, Makefile.in: Rebuild. - - * peicode.h (coff_swap_scnhdr_in): Don't check for a special - section name of _BSS; check IMAGE_SCN_CNT_UNINITIALIZED_DATA - instead. Don't clear the s_paddr field for an uninitialized data - section. - - * coffcode.h (coff_mkobject_hook): Set timestamp field in - coff_data_type to f_timdat. - * peicode.h (pe_mkobject_hook): Likewise. - - * peicode.h (coff_swap_filehdr_in): Check the NT executable magic - number if COFF_IMAGE_WITH_PE. - - * coffcode.h (coff_mkobject_hook): If COFF_WITH_PE, set HAS_DEBUG - to the reverse of IMAGE_FILE_DEBUG_STRIPPED. - (coff_write_object_contents): Set IMAGE_FILE_DEBUG_STRIPPED if - there is no SEC_DEBUGGING section. - * peicode.h (pe_mkobject_hook): Set HAS_DEBUG to the reverse of - IMAGE_FILE_DEBUG_STRIPPED. - - * pe-i386.c (COFF_LONG_FILENAMES): Define. - (COFF_SECTION_ALIGNMENT_ENTRIES): Define. - * pei-i386.c (COFF_LONG_FILENAMES): Define. - (COFF_SECTION_ALIGNMENT_ENTRIES): Define. - - * coffswap.h (IMAGE_BASE): Don't define. - * pei-arm.c (IMAGE_BASE): Don't define. - * pei-i386.c (IMAGE_BASE): Don't define. - * pei-mcore.c (IMAGE_BASE): Don't define. - * pei-ppc.c (IMAGE_BASE): Don't define. - - * cofflink.c (_bfd_coff_link_input_bfd): When writing out a - symbol, switch on the class when determining whether to modify the - value. For PE, don't modify the value of a C_FCN symbol not named - .bf. - - * libbfd-in.h (_bfd_abort): Declare. - (abort): Define. - * bfd.c (_bfd_abort): New function. - * libbfd.h: Rebuild. - - * coffcode.h (coff_set_alignment_hook): Delete POWERPC_LE_PE - special handling. - - * cofflink.c (_bfd_coff_link_input_bfd): If a symbol is stripped, - don't write out the associated line numbers. - - * cofflink.c (_bfd_coff_write_global_sym): Handle section symbol - aux entries. - - * cofflink.c (coff_link_add_symbols): Don't warn about symbol type - changes when the base type is unknown. - - * coffgen.c (coff_print_symbol): Fix printing of aux record for - function symbols. - - * syms.c (BSF_DEBUGGING_RELOC): Define. - * coffcode.h (coff_slurp_symbol_table): If PE, set BSF_DEBUGGING - for C_FCN/C_EFCN symbols, and set BSF_DEBUGGING_RELOC for such - symbols named .bf. - * coffgen.c (fixup_symbol_value): Relocate a symbol which has - BSF_DEBUGGING_RELOC set. - * bfd-in2.h: Rebuild. - -1999-09-10 Ian Lance Taylor <ian@zembu.com> - - * ecoff.c (bfd_debug_section): Update initialization for new - comdat_info field. - (_bfd_ecoff_styp_to_sec_flags): Add section parameter. - * libecoff.h (_bfd_ecoff_styp_to_sec_flags): Update declaration. - -1999-09-10 H.J. Lu <hjl@gnu.org> - - * coff-alpha.c (alpha_ecoff_backend_data): Initialize the new - _bfd_filnmlen field. - * coff-mips.c (mips_ecoff_backend_data): Likewise. - -Fri Sep 10 00:35:14 1999 Jeffrey A Law (law@cygnus.com) - - * elf-hppa.h (elf_hppa_final_link_relocate): Create .opd entries - for FPTR relocs involving local symbols. - - * elf-hppa.h (elf_hppa_final_link_relocate): Get the right - value for the stub address in a call through a stub. - Install the value for a local symbol directly into the DLT - instead of generating a reloc. Correctly handle FPTR64 relocs. - - * elf-hppa.h (elf_hppa_unmark_useless_dynamic_symbols): New function. - (elf_hppa_remark_useless_dynamic_symbols): Similarly. - (elf_hppa_final_link): Call them. - -1999-09-10 Ian Lance Taylor <ian@zembu.com> - - * elflink.h (elf_fix_symbol_flags): Move weakdef handling here... - (elf_adjust_dynamic_symbol): ...from here. - -Wed Sep 8 17:56:11 1999 Jeffrey A Law (law@cygnus.com) - - * elf-hppa.h (elf_hppa_howto_table); There is no DIR64WR, DIR64DR - relocation, remove them. SECREL64->LTOFF16WF. - (elf_hppa_final_link_relocate): Handle LTOFF* relocations. Handle - DIR* relocations. - (elf_hppa_relocate_insn): Similarly. - - * elf-hppa.h (elf_hppa_final_link_relocate): Handle PLTOFF* relocs. - (elf_hppa_relocate_insn): Similarly. - - * elf-hppa.h (elf_hppa_final_link_relocate): Handle DPREL* and - GPREL* relocations. - (elf_hppa_relocate_insn): Similarly. - - * elf-hppa.h (elf_hppa_link_final_relocate): Fix typos. - Handle LTOFF_TP* relocs. - (elf_hppa_relocate_insn): Similarly. - - * elf-hppa.h (elf_hppa_final_link_relocate): Handle PCREL* relocs. - Consistently deal with addends. Handle DLTIND14F and DLTREL14F. - (elf_hppa_relocate_insn): Handle PCREL* relocs. - - * elf-hppa.h (elf_hppa_final_link_relocate): Handle LT_OFF_FPTR*, - DIR32, DIR64 and FPTR64 relocations. - (elf_hppa_relocate_insn): Similarly. - - * elf-hppa.h (elf_hppa_final_link): Set the value of __gp to the - address of the .PARISC.global section. - (elf_hppa_relocate_section): Lookup and pass the PA64 hash - table entry elf_hppa_final_link_relocate. Do not give a warning - for a reloc against an external symbol if it has a PA64 hash - table entry. - (elf_hppa_final_link_relocate): Significantly rework. Handle - DLTIND relocations. Compute the final value of the relocation - before passing the value of elf_hppa_relocate_insn. - (elf_hppa_relocate_insn): Revamp to handle just bit tiwiddling - relocation support. Handle DLTIND relocation requests just like - DLTREL relocation requests. Simplify branch handling. - -1999-09-08 Ulrich Drepper <drepper@cygnus.com> - - * elf-hppa.h (elf_hppa_relocate_section): Catch problems with - non-allocated section as done in i386 version. - (elf_hppa_final_link_relocate): Uncomment R_PARISC_14F in switch - statement since this is no know relocation. - -Tue Sep 7 17:25:12 1999 Jeffrey A Law (law@cygnus.com) - - * elf-hppa.h (elf_hppa_final_link_relocate): Handle DLTREL14F - relocs. - (elf_hppa_relocate_insn): Similarly. - - * elf-hppa.h (elf_hppa_final_link_relocate): Handle DLTREL14WR and - DLTREL14WD relocs. - (elf_hppa_relocate_insn): Similarly. - - * elf-hppa.h (elf_hppa_final_link_relocate): Handle DLTREL14R and - DLTREL21L relocs. Pass the output bfd to elf_hppa_relocate_insn. - Pass the relocate type rather than the insn format to - elf_hppa_relocate_insn. - (elf_hppa_relocate_insn): Make switch dependent on relocation type - rather than the opcode. Handle DLTREL21L and DLTREL14R relocs. - -1999-09-07 Ian Lance Taylor <ian@zembu.com> - - * coffcode.h (bfd_coff_backend_data): Add _bfd_filnmlen field. - (bfd_coff_filnmlen): Define. - (bfd_coff_std_swap_table): Initialize new field. - * coffgen.c (coff_fix_symbol_name): Use bfd_coff_filnmlen rather - than FILNMLEN. - (coff_write_symbols): Likewise. - (coff_get_normalized_symtab): Likewise. - * coff-sh.c (bfd_coff_small_swap_table): Initialize new field. - * libcoff.h: Rebuild. - -1999-09-06 Donn Terry <donn@interix.com> - - * coffcode.h (sort_by_secaddr): New static function if - COFF_IMAGE_WITH_PE. - (coff_compute_section_file_positions): If COFF_IMAGE_WITH_PE, sort - sections by VMA when assigning target_index values. Always set - virt_size. - - * libcoff-in.h (struct pei_section_tdata): Add pe_flags field. - * coffcode.h (coff_set_alignment_hook) [COFF_WITH_PE version]: Set - pe_flags field. - * libcoff.h: Rebuild. - - * coffcode.h (coff_set_custom_section_alignment): Add const to - declaration to match definition. - (coff_write_object_contents): Don't set F_AR32W(R)? if - COFF_WITH_PE. - - * coff-i386.c (in_reloc_p): Add declaration. - (i386coff_vec): Simplify initialization of - application_section_flags. - - * coffcode.h (sec_to_styp_flags): Write separate COFF_WITH_PE - version. Move COFF_WITH_PE specific code to new version. - (stype_to_sec_flags): Likewise. Add section parameter. - * coffgen.c (make_a_section_from_file): Set target_index before - calling styp_to_sec_flags. Pass section to styp_to_sec_flags. - * libcoff.h: Rebuild. - - * syms.c (stt): Add some PE/PEI section names. - (bfd_decode_symclass): Return 'w', not 'U', for a weak undefined - symbol. - (bfd_symbol_info): Check for 'w'. - - * section.c (struct bfd_comdat_info): Define. - (asection): Add comdat field. - (STD_SECTION): Initialize comdat field. - (bfd_make_section_anyway): Likewise. - * bfd-in2.h: Rebuild. - -1999-09-06 Andreas Schwab <schwab@suse.de> - - * elflink.h (elf_link_add_object_symbols): Copy NON_GOT_REF flag - to version symbols. - -1999-09-06 Nick Clifton <nickc@cygnus.com> - - * elflink.h (elf_gc_record_vtentry): Use bfd_zmalloc and - bfd_realloc instead of calloc and realloc. - -1999-09-04 Steve Chamberlain <sac@pobox.com> - - * cpu-pj.c: New file. - * elf32-pj.c: New file. - * config.bfd (pj*): New cpu. - (pj-*-*, pjl-*-*): New targets. - * configure.in (bfd_elf32_pj_vec): New target vector. - (bfd_elf32_pjl_vec): New target vector. - * archures.c (bfd_arch_pj): Define. - * elf.c (prep_headers): Handle bfd_arch_pj. - * reloc.c: Define BFD_RELOC_PJ_* relocations. - * targets.c (bfd_elf32_pj_vec, bfd_elf32_pjl_vec): Declare and add - to target vector list. - * Makefile.am: Rebuild dependencies. - (ALL_MACHINES): Add cpu-pj.lo. - (ALL_MACHINES_CFILES): Add cpu-pj.c. - (BFD32_BACKENDS): Add elf32-pj.lo. - (BFD32_BACKENDS_CFILES): Add elf32-pj.c. - * configure, Makefile.in, bfd-in2.h, libbfd.h: Rebuild. - -1999-09-04 Ian Lance Taylor <ian@zembu.com> - - * elf-bfd.h (ELF_LINK_NON_GOT_REF): Define. - * elflink.h (elf_adjust_dynamic_symbol): Copy REF_REGULAR_NONWEAK - and NON_GOT_REF from weak defined symbol to real symbol. - * elf32-i386.c (elf_i386_check_relocs): Set NON_GOT_REF. - (elf_i386_adjust_dynamic_symbol): If NON_GOT_REF is not set, don't - create a COPY reloc. - * elf32-sparc.c (elf32_sparc_check_relocs): Set NON_GOT_REF. - (elf32_sparc_adjust_dynamic_symbol): If NON_GOT_REF is not set, - don't create a COPY reloc. - -1999-09-03 Ian Lance Taylor <ian@zembu.com> - - * elflink.h (elf_bfd_final_link): When counting relocations, don't - count those in sections we are not including in the link. - -Thu Sep 2 17:41:20 1999 Jeffrey A Law (law@cygnus.com) - - * elflink.h (elf_link_add_object_symbols): Work around bogus SH_LINK - field in hpux11 shared libraries. - -1999-09-02 Nick Clifton <nickc@cygnus.com> - - * elflink.h (elf_gc_record_vtentry): Fix memory leak. - -Wed Sep 1 13:34:29 1999 Jeffrey A Law (law@cygnus.com) - - * elf-hppa.h (elf_hppa_add_symbol_hook): New function. - (elf_hppa_final_link, elf_hppa_relocate_section): Likewise. - (elf_hppa_final_link_relocate, elf_hppa_relocate_insn): Likewise. - -1999-08-31 Alexandre Petit-Bianco <apbianco@cygnus.com> - - * elflink.h (record_link_assignment): When possible, keep the - original type of the symbol. - -Mon Aug 30 15:26:48 1999 Jeffrey A Law (law@cygnus.com) - - * elf-hppa.h (_bfd_elf_hppa_gen_reloc_type): Allow both - R_PARISC_DIR32 and R_PARISC_DIR64 regardless of how the - tools were configured. - * elf32-hppa.h (_bfd_elf32_hppa_gen_reloc_type): Declare. - -1999-08-26 Mark Mitchell <mark@codesourcery.com> - - * elf32-mips.c (_bfd_mips_elf_check_relocs): Don't allocate local - GOT entries for GOT16 relocations; they're not required. - -1999-08-24 Nick Clifton <nickc@cygnus.com> - - From a patch submitted by Roland McGrath <roland@baalperazim.frob.com> - - * config.bfd (arm-*-netbsd*): New target. - * configure.in (armnetbsd_vec): New target vector. - * configure: Regenerate - * targets.c (bfd_target_vector): Add &armnetbsd_vec. - - * Makefile.am (BFD32_BACKENDS): Add armnetbsd.lo. - (ALL_MACHINES_CFILES): Add armnetbsd.c. - (armnetbsd.lo): New rule with deps. - * Makefile.in: Regenerate. - - * armnetbsd.c: New file: Definitions specific to arm-netbsd - target. - -Tue Aug 24 00:25:58 1999 Jeffrey A Law (law@cygnus.com) - - * som.c (som_slurp_symbol_table): Fix typo in comment. - -Fri Aug 20 17:01:23 1999 Jeffrey A Law (law@cygnus.com) - - * elf-hppa.h (elf_hppa_fake_sections): Compute section indices - here instead of using elf_section_data... - -1999-08-19 Nick Clifton <nickc@cygnus.com> - - * coff-mcore.c (mcore_emit_base_file_entry): New function: Emit - relocations into the base file. - (coff_mcore_relocate_section): Call mcore_emit_base_file_entry if - we are building a base file. - -1999-08-19 Nick Clifton <nickc@cygnus.com> - - * elf32-arm.h (arm_add_to_rel): New function. Add a value to - a REL style reloc. - (elf32_arm_relocate_section): Use arm_add_to_rel to increment - REL relocs when performing a partial relocation. - -1999-08-18 Donn Terry <donn@interix.com> - - * cofflink.c: Move definitions of N_TMASK, et. al., out of - _bfd_coff_link_input_bfd into top level. - - * coff-i386.c (coff_i386_reloc): Handle R_IMAGEBASE. - (RTYPE2HOWTO): Return NULL if reloc type is out of range. - (coff_i386_rtype_to_howto): Likewise. - * coffcode.h (coff_slurp_symbol_table): Change a -2 to N_DEBUG. - Completely ignore symbols which are all zero. - (dummy_reloc16_estimate): Add return 0. - * cofflink.c (_bfd_coff_link_input_bfd): Rename inner scope - variable copy to name_copy to avoid shadowing outer scope - variable. - * libcoff-in.h (coff_data_type): Change raw_syment_count field - from unsigned int to unsigned long. Add timestamp field. - * libcoff.h: Rebuild. - -1999-08-17 H.J. Lu <hjl@gnu.org> - - * elf32-hppa.c (bfd_elf32_bfd_is_local_label_name): Fix typo in - macro definition. - -1999-08-17 Ian Lance Taylor <ian@zembu.com> - - * elf32-mips.c (_bfd_mips_elf_add_symbol_hook): Set BSF_DYNAMIC - for special section symbols. - * elflink.h (elf_merge_symbol): If we have no old BFD, check - BSF_DYNAMIC on the section symbol to see whether the old BFD is - dynamic. - -1999-08-15 Mark Mitchell <mark@codesourcery.com> - - * elf32-mips.c (mips_elf_calculate_relocation): Fix unfortunate - coincidence of variable names between old and new code. - -1999-08-12 Nick Clifton <nickc@cygnus.com> - - * elf32-arm.h (elf32_arm_to_thumb_stub): Make 'offset' parameter - into a bfd_vma and 'addend' parameter a 'bfd_signed_vma'. - (elf32_thumb_to_arm_stub): Make 'offset' parameter into a bfd_vma - and 'addend' parameter a 'bfd_signed_vma'. - (elf32_arm_final_link_relocate): Do not involve stubs in - R_ARM_THM_PC22 relocs relative to section symbols, they are long - jumps, not function calls. - -1999-08-11 Robin Farine <advanc@dial.eunet.ch> - - * elf32-arm.h (elf32_arm_final_link_relocate): Check for overflow - in R_ARM_PC24 relocs. - -Tue Aug 10 12:48:09 1999 Jeffrey A Law (law@cygnus.com) - - * elf-hppa.h (elf_hppa_fake_sections): New function. - * elf32-hppa.c (elf_backend_fake_sections): Define. - - * elf-hppa.h (elf_hppa_final_write_processing): Update for - recent changes to the arch_info structure. - - * elf-hppa.h (_bfd_elf_hppa_gen_reloc_type): Handle - R_HPPA_SEGBASE and R_HPPA_SEGREL32. - * cpu-hppa.c (bfd_hppa20w_arch): New entry in architecture info - list. - -Tue Aug 10 00:34:29 1999 Mark P. Mitchell <mark@codesourcery.com> - Ralf Baechle <ralf@uni-koblenz.de> - - * elf32-mips.c (_bfd_mips_elf_size_dynamic_sections): Always - output DT_MIPS_GOTSYM. - (_bfd_mips_elf_finish_dynamic_sections): Use the same value as - DT_MIPS_SYMTABNO if there are no global GOT symbols. - -Tue Aug 10 00:21:08 1999 Mark P. Mitchell <mark@codesourcery.com> - - * elf32-mips.c (mips_elf_create_dynamic_relocation): Change - prototype. Handle local symbols. Add commentary. - (mips_elf_calculate_relocation): Adjust accordingly. - (_bfd_mips_elf_check_relocs): Handle local symbols in R_MIPS_32 - relocations. - - * elflink.h (elf_bfd_final_link): Tweak last change. - -1999-08-09 Mark Mitchell <mark@codesourcery.com> - - * elflink.h (elf_link_size_reloc_section): Use the counts in the - elf-section data to allocate just the right amount of relocation - space. Don't allocate the hash space twice. - (elf_bfd_final_link): Calculate the amount of space to allocate in - each relocation section. - -Mon Aug 9 17:37:30 1999 Jeffrey A Law (law@cygnus.com) - - * elf-hppa.h (_bfd_elf_hppa_gen_reloc_type, case 32): When in - 64bit mode, generate a section relative relocation for a 32bit - wide relocation. - (elf_hppa_is_local_label_name): New function. - * elf32-hppa.c (elf_hppa_is_local_label_name): Deleted. To be - shared between 32bit and 64bit port. - -1999-08-09 Mark Mitchell <mark@codesourcery.com> - - * elf32-mips.c (elf_mips_howto_table): Fix src_mask for - R_MIPS_GOT16 and R_MIPS_CALL16. - (mips_elf_got16_entry): Use mips_elf_high to calculate the value - to use when looking for a preexisting GOT entry. - -1999-08-09 Jakub Jelinek <jj@ultra.linux.cz> - - * elf64-sparc.c (sparc64_elf_relocate_section): Back out part of - the Sep. 4th, 1998 change. glibc 2.0.x dynamic linker had bug, - not binutils. - * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. - -1999-08-09 Geoff Keating <geoffk@cygnus.com> - - * elflink.h (elf_link_output_extsym): Don't output a weak - reference to an undefined symbol just because it was defined weak - in a shared object. - -1999-08-09 Eli Zaretskii <eliz@is.elta.co.il> - - * coffgen.c (coff_find_nearest_line): When looking for file, use - last best match rather than first. If address is beyond last line - number record, don't return the last line as the correct value. - -1999-08-08 Ian Lance Taylor <ian@zembu.com> - - * section.c (SEC_SMALL_DATA): Rename from SEC_SHORT. - * bfd-in2.h: Rebuild. - -1999-08-08 Mark Elbrecht <snowball3@bigfoot.com> - - * libcoff-in.h (struct coff_section_alignment_entry): Define. - * coffcode.h (coff_set_custom_section_alignment): New static - function. - (coff_section_alignment_table): New static array. - (coff_new_section_hook): Use coff_set_customer_section_alignment. - * coff-go32.c (COFF_SECTION_ALIGNMENT_ENTRIES): Define. - * coff-stgo32.c (COFF_SECTION_ALIGNMENT_ENTRIES): Define. - * libcoff.h: Rebuild. - -1999-08-08 Ian Lance Taylor <ian@zembu.com> - - * Makefile.am: Rename .dep* files to DEP*. Change DEP variable to - MKDEP. - * Makefile.in: Rebuild. - -1999-08-08 Mumit Khan <khan@xraylith.wisc.edu> - - * section.c (SEC_SHARED): Define. - * coffcode.h (sec_to_styp_flags): Handle SEC_SHARED. - (styp_to_sec_flags): Likewise. - * peicode.h (coff_swap_scnhdr_out): Likewise. - * bfd-in2.h: Rebuild. - -1999-08-08 Ian Lance Taylor <ian@zembu.com> - - * coffcode.h (coff_classify_symbol): Comment out part of - 1999-08-05 change which breaks cygwin DLLs. - - * acinclude.m4 (BFD_BINARY_FOPEN): Change -windows to -windows*. - * aclocal.m4, configure: Rebuild. - -1999-08-06 Ian Lance Taylor <ian@zembu.com> - - * section.c (global_syms): Only initialize union field if - __STDC__. - -1999-08-04 Mark Mitchell <mark@codesourcery.com> - - * elf32-mips.c (mips_elf_got16_entry): Don't multiply GOT index by - the size of a GOT entry here. - (mips_elf_calculate_relocation): Don't create a local GOT entry - for the symbol in a GOT16 relocation; just for it's high-order bit - (_bfd_mips_elf_relocate_section): Fix thinko. - -1999-08-05 Ian Lance Taylor <ian@zembu.com> - - Based on patches from Donn Terry <donn@interix.com>: - * coffcode.h (enum coff_symbol_classification): Define. - (bfd_coff_backend_data): Rename _bfd_coff_sym_is_global to - _bfd_coff_classify_symbol. Change return type. - (bfd_coff_classify_symbol): Rename from bfd_coff_sym_is_global. - (coff_slurp_symbol_table): Use coff_classify_symbol. - (coff_classify_symbol): New static function. - (coff_sym_is_global): Never define. - (bfd_coff_std_swap_table): Initialize with coff_classify_symbol. - * cofflink.c (coff_link_check_ar_symbols): Use - bfd_coff_classify_symbol rather than bfd_coff_sym_is_global. - (coff_link_add_symbols): Likewise. - (_bfd_coff_link_input_bfd): Likewise. - * coff-sh.c (bfd_coff_small_swap_table): Initialize with - coff_classify_symbol. - * libcoff.h: Rebuild. - -Wed Aug 4 18:08:07 1999 Jeffrey A Law (law@cygnus.com) - - * libhppa.h (R_HPPA_LTPSEL, R_HPPA_RTPSEL): New field selectors - (e_ltpsel, e_rtpsel): Similarly. - - * elf-hppa.h (_bfd_elf_hppa_gen_reloc_type): Handle 21bit e_ltpsel - and 14bit ertpsel. Handle 64bit psel. - -1999-08-04 Mark Mitchell <mark@codesourcery.com> - - * elf32-mips.c (_bfd_mips_elf_relocate_section): Tweak HI16/LO16 - handling for REL relocations. And only left-shift R_MIPS26 - relocation addends where necessary. - -1999-08-03 Mark Mitchell <mark@codesourcery.com> - - * elf32-mips.c (mips_elf_next_lo16_addend): Rename to ... - (mips_elf_next_lo16_relocation): Don't compute the addend here. - Just return the relocation found. - (mips_elf_relocate_section): Pull the LO16 addend out of the - section itself when using REL relocations. - - * elf32-mips.c (mips_elf_calculate_relocation): Restore - _DYNAMIC_LINK handling and handling of undefined symbols in shared - libraries. - -1999-08-03 Ian Lance Taylor <ian@zembu.com> - - * elf32-ppc.c (ppc_elf_relocate_section): Don't use the relocation - value of a symbol in a SEC_DEBUGGING section. Warn when doing a - relocation against a symbol in an input section with no output - section. From Daniel Jacobowitz <drow@false.org>. - - * coff-stgo32.c (go32_stubbed_coff_object_p): Remove; not used. - - * acinclude.m4 (BFD_CC_FOR_BUILD): Change to use conftest, and to - look for generated file correctly. - * aclocal.m4, configure: Rebuild. - -1999-08-02 Mark Mitchell <mark@codesourcery.com> - - * elf32-mips.c (_bfd_mips_elf_relocate_section): Handle R_MIPS_26 - and R_MIPS16_26 relocations correctly when relocating. - (_bfd_mips_elf_check_relocs): Don't assume that R_MIPS_CALL_HI16 - and R_MIPS_CALL_LO16 are for global symbols. - -1999-08-02 Jakub Jelinek <jj@ultra.linux.cz> - - * elflink.h (elf_bfd_final_link): Copy the whole isym, not just - some fields. - * elf64-sparc.c (sparc64_elf_output_arch_syms): Declare used - variables and initialize them. - -1999-08-01 Mark Mitchell <mark@codesourcery.com> - - * elf32-mips.c (_bfd_mips_elf_final_link): Handle the case where - there are no global symbols requiring GOT entries. - (_bfd_mips_elf_size_dynamic_sections): Likewise. - (_bfd_mips_elf_finish_dynamic_symbol): Likewise. - (_bfd_mips_elf_finish_dynamic_sections): Likewise. - - * elf32-mips.c (mips_elf_calculate_relocation): Undefined weak - symbols are considered to have the value zero. - (_bfd_mips_elf_relocate_section): Don't try to perform a - relocation for an undefined symbol. - (_bfd_mips_elf_check_relocs): Allocate locate GOT space for local - GOT16 relocations. - -1999-07-30 Jakub Jelinek <jj@ultra.linux.cz> - - * elf64-sparc.c (sparc64_elf_build_plt): Cosmetic change - ABI - wants ba,a,pt %xcc instead of %icc. - Emit correct .PLT0-(.PLTN+4) initial value into the pointer slots - of large PLT entries. - (sparc64_elf_plt_ptr_offset): Fix calculation. - (sparc64_elf_finish_dynamic_symbol): Negative value of R_SPARC_JMP_SLOT - addend should be relative to load address, not .plt section start. - (sparc64_elf_size_info): Sparc64 uses 32bit .hash entries. - -1999-07-30 Jakub Jelinek <jj@ultra.linux.cz> - - * elf-bfd.h (struct elf_backend_data): Add - print_symbol_all and output_arch_syms backend methods. - * elfxx-target.h: Likewise. - * elf64-sparc.c (sparc64_elf_bfd_link_hash_table_create, - sparc64_elf_add_symbol_hook, sparc64_elf_output_arch_syms, - sparc64_elf_get_symbol_type, sparc64_elf_symbol_processing): New - functions. - (sparc64_elf_size_dynamic_sections): Leave space for STT_REGISTER - symbols in .dynsym, add their names into .dynstr. Put those symbols - into dynlocal. - (sparc64_elf_finish_dynamic_sections): Fix up DT_SPARC_REGISTER - pointers to STT_REGISTER symbols in dynsym section. - (sparc64_elf_print_symbol_all): New function. - * elf.c (bfd_elf_print_symbol): Allow special backend symbol - printing using the print_symbol_all hook. - -1999-07-30 Catherine Moore <clm@cygnus.com> - - * elf32-arm.h (elf32_arm_check_relocs): Use r_offset for - R_ARM_GNU_VTENTRY. - -1999-07-29 Richard Henderson <rth@cygnus.com> - - * elf32-mips.c (_bfd_mips_elf_final_link): Only re-sort dynsyms if - dynamic_sections_created. - -1999-07-29 Richard Henderson <rth@cygnus.com> - - * elf32-mips.c (mips_info_to_howto_rel): Split out switch to ... - (mips_rtype_to_howto): ... new function. - (_bfd_mips_elf_relocate_section): Use it. - -1999-07-28 Mark Mitchell <mark@codesourcery.com> - - * elf32-mips.c (_bfd_mips_elf_relocate_section): Fix typo. - -1999-07-27 Nick Clifton <nickc@cygnus.com> - - Patch generated by Bernd Schmidt. <bernds@cygnus.co.uk> - - * coff-arm.c (coff_arm_is_local_label_name): Change to strip - out only symbols that start with LOCAL_LABEL_PREFIX followed by 'L'. - -1999-07-23 Donn Terry <donn@interix.com> - - * libcoff-in.h (coff_link_hash_entry): Add coff_link_hash_flags - field, and define COFF_LINK_HASH_PE_SECTION_SYMBOL. - * cofflink.c (coff_link_add_symbols): If PE, handle section - symbols specially. - * libcoff.h: Rebuild. - - * config.bfd (i[3456]86-*-interix*): New target. - -1999-07-21 Mark Elbrecht <snowball3@bigfoot.com> - - * coffcode.h (styp_to_sec_flags): If COFF_LONG_SECTION_NAMES and - COFF_SUPPORT_GNU_LINKONCE, mark sections whose names begin with - .gnu.linkonce with SEC_LINKONCE and SEC_LINK_DUPLICATES_DISCARD. - * coff-go32.c: (COFF_LONG_SECTION_NAMES): Define. - (COFF_SUPPORT_GNU_LINKONCE): Define. - * coff-stgo32.c: (COFF_LONG_SECTION_NAMES): Define. - (COFF_SUPPORT_GNU_LINKONCE): Define. - -1999-07-21 Ian Lance Taylor <ian@zembu.com> - - From Mark Elbrecht: - * makefile.dos: Remove; obsolete. - * configure.bat: Remove; obsolete. - -1999-07-21 H.J. Lu <hjl@gnu.org> - - * config.bfd (i[3456]86-*-vxworks*): Add targ_underscore=yes. - -1999-07-21 Philippe De Muyter <phdm@macqel.be> - - * cofflink.c (_bfd_coff_generic_relocate_section): Issue an error - message and fail if a symbol index is out of range. - -1999-07-21 Ian Lance Taylor <ian@zembu.com> - - * elf32-mips.c (mips_elf_calculate_relocation): Get the GP value - when looking at a R_MIPS_GOT16 relocation. - -1999-07-20 Nick Clifton <nickc@cygnus.com> - - * coff-m88k.c: Use CREATE_BIG_COFF_TARGET_VEC. - -Mon Jul 19 14:03:44 1999 Mark P. Mitchell <mark@codesourcery.com> - - * elf32-mips.c (_bfd_mips_elf_final_link): Restore setting of GP - removed in previous change. - (_bfd_mips_elf_relocate_section): Adjust GP relative relocations - in relocateable output. - -1999-07-19 Ian Lance Taylor <ian@zembu.com> - - * coff-m88k.c (m88kbcs_vec): Initialize new field of bfd_target - structure. - - * elflink.h (elf_merge_symbol): Do merge symbols from the same BFD - if they appear to be specially created by the linker. - -1999-07-19 Nick Clifton <nickc@cygnus.com> - - * targets.c (alternative_target): New field in bfd_target - structure. - (bfd_search_for_target): New function: Find a target that - satisifies a search function. - * bfd-in2.h: Regenerate. - - * elfxx-target.h: Initialise the alternative_target field of - the bfd_target structures to point to the other target (if - defined). - * nlm-target.h: Initialise the alternative_target field of - the bfd_target structures to point to the other target (if - defined). - - * coffcode.h (CREATE_BIG_COFF_TARGET_VEC): New macro. - (CREATE_LITTLE_COFF_TARGET_VEC): New macro. - - * aix386-core.c: Initialise new field of bfd_target structure. - * aout-adobe.c: Initialise new field of bfd_target structure. - * aout-arm.c: Initialise new field of bfd_target structure. - * aout-target.h: Initialise new field of bfd_target structure. - * aout-tic30.c: Initialise new field of bfd_target structure. - * binary.c: Initialise new field of bfd_target structure. - * bout.c: Initialise new field of bfd_target structure. - * cisco-core.c: Initialise new field of bfd_target structure. - * coff-a29k.c: Use CREATE_BIG_COFF_TARGET_VEC. - * coff-alpha.c: Initialise new field of bfd_target structure. - * coff-apollo.c: Use CREATE_BIG_COFF_TARGET_VEC. - * coff-arm.c: Use CREATE_{BIG|LITTLE}_COFF_TARGET_VEC. - * coff-h8300.c: Use CREATE_BIG_COFF_TARGET_VEC. - * coff-h8500.c: Use CREATE_BIG_COFF_TARGET_VEC. - * coff-i386.c: Initialise new field of bfd_target structure. - * coff-i860.c: Initialise new field of bfd_target structure. - * coff-i960.c: Use CREATE_LITTLE_COFF_TARGET_VEC. - * coff-m68k.c: Use CREATE_BIG_COFF_TARGET_VEC. - * coff-mcore.c: Use CREATE_{BIG|LITTLE}_COFF_TARGET_VEC. - * coff-mips.c: Initialise new field of bfd_target structure. - * coff-ppc.c: Initialise new field of bfd_target structure. - * coff-rs6000.c: Initialise new field of bfd_target structure. - * coff-sh.c: Use CREATE_{BIG|LITTLE}_COFF_TARGET_VEC. - * coff-sparc.c: Use CREATE_BIG_COFF_TARGET_VEC. - * coff-tic30.c: Initialise new field of bfd_target structure. - * coff-tic80.c: Use CREATE_LITTLE_COFF_TARGET_VEC. - * coff-w65.c: Use CREATE_LITTLE_COFF_TARGET_VEC. - * coff-we32k.c: Use CREATE_BIG_COFF_TARGET_VEC. - * coff-z8k.c: Use CREATE_BIG_COFF_TARGET_VEC. - * hppabsd-core.c: Initialise new field of bfd_target structure. - * hpux-core.c: Initialise new field of bfd_target structure. - * i386msdos.c: Initialise new field of bfd_target structure. - * i386os9k.c: Initialise new field of bfd_target structure. - * ieee.c: Initialise new field of bfd_target structure. - * ihex.c: Initialise new field of bfd_target structure. - * irix-core.c: Initialise new field of bfd_target structure. - * mipsbsd.c: Initialise new field of bfd_target structure. - * netbsd-core.c: Initialise new field of bfd_target structure. - * oasys.c: Initialise new field of bfd_target structure. - * osf-core.c: Initialise new field of bfd_target structure. - * ppcboot.c: Initialise new field of bfd_target structure. - * ptrace-core.c: Initialise new field of bfd_target structure. - * sco5-core.c: Initialise new field of bfd_target structure. - * som.c: Initialise new field of bfd_target structure. - * srec.c: Initialise new field of bfd_target structure. - * tekhex.c: Initialise new field of bfd_target structure. - * trad-core.c: Initialise new field of bfd_target structure. - * versados.c: Initialise new field of bfd_target structure. - * vms.c: Initialise new field of bfd_target structure. - -1999-07-19 Andreas Schwab <schwab@suse.de> - - * elflink.h (elf_bfd_final_link): Remove unused variables rel_hash - and rel_hdr. - -Sat Jul 17 02:28:28 1999 Mark P. Mitchell <mark@codesourcery.com> - - * elflink.h (elf_link_adjust_relocs): New function. - (elf_bfd_final_link): Use it. - (elf_link_input_bfd): Deal with the fact that there can be - two relocation sections for a single section. - (elf_reloc_link_order): Likewise. - - * elf32-mips.c (_bfd_mips_elf_final_link): Don't set GP for - a relocateable object. - (_bfd_mips_elf_relocate_section): Handle relocateable links. - -1999-07-16 Jakub Jelinek <jj@ultra.linux.cz> - - * elf64-sparc.c (sparc64_elf_info_to_howto): Use ELF64_R_TYPE_ID. - (sparc64_elf_get_reloc_upper_bound, - sparc64_elf_get_dynamic_reloc_upper_bound, - sparc64_elf_slurp_one_reloc_table, sparc64_elf_slurp_reloc_table, - sparc64_elf_canonicalize_dynamic_reloc, sparc64_elf_write_relocs): - New functions. - (sparc64_elf_check_relocs, sparc64_elf_relocate_section): Use - ELF64_R_TYPE_ID/DATA where appropriate. - -1999-07-16 Jakub Jelinek <jj@ultra.linux.cz> - - * elf64-sparc.c (sparc64_elf_size_dynamic_sections): Remove - DT_SPARC_PLTFMT. - -1999-07-16 Ian Lance Taylor <ian@zembu.com> - - * elf32-mips.c (mips_elf_local_relocation_p): New static - function. - (mips_elf_next_lo16_addend): Call bfd_set_error on failure. - (mips_elf_calculate_relocation): Use mips_elf_local_relocation_p. - Always set *require_jalxp. - (mips_elf_stub_section_p): Mark abfd parameter as unused. - (_bfd_mips_elf_relocate_section): Only look for LO16 following - GOT16 if the GOT16 is against a local symbol. Don't return false - for an undefined symbol. If there is an overflow, assert that we - have a name. - -1999-07-16 Andreas Schwab <schwab@suse.de> - - * elflink.h (elf_link_record_local_dynamic_symbol): Remove unused - variables `link' and `elfsec'. - (elf_bfd_final_link): Remove unused variable `os'. - -Thu Jul 15 17:55:31 1999 Mark P. Mitchell <mark@codesourcery.com> - - * elf32-mips.c (_bfd_mips_elf_modify_segment_map): Don't require - a PT_PHDR program headers. - (_bfd_mips_elf_final_link): Don't assume there are going to be - section symbols when we're not building a shared object. - (_bfd_mips_elf_check_relocs): Make sure we have a GOT when - we need one. - -1999-07-15 J.T. Conklin <jtc@redback.com> - - * config.bfd (i[3456]86-*-vxworks*): New target. - -1999-07-15 Mark Mitchell <mark@codesourcery.com> - - * elf32-mips.c (mips_elf_stub_section_p): New function. - (mips_elf_calculate_relocation): Handle MIPS16 stub functions. - (mips_elf_relocate_section): Adjust calling sequence for - mips_elf_calculate_relocation and mips_elf_perform_relocation. - (mips_elf_perform_relocation): Turn `jal' into `jalx' where - required. - -1999-07-15 Ian Lance Taylor <ian@zembu.com> - - * configure.in: Bump version number to 2.9.5. - * configure: Rebuild. - -Thu Jul 15 02:56:15 1999 Jeffrey A Law (law@cygnus.com) - - * elf-hppa.h (_bfd_elf_hppa_gen_reloc_type, case R_HPPA): Handle - 64bit format. - (_bfd_elf_hppa_gen_reloc_type, case R_GOTOFF): Use base reloc type - to derive final type instead of hardwiring a selection. - -1999-07-14 Mark Mitchell <mark@codesourcery.com> - - * elf32-mips.c (mips_elf_obtain_contents): Swap 16-bit halves of - things relocated by R_MIPS16_GPREL. - (mips_elf_perform_relocation): Likewise. - -Wed Jul 14 15:23:19 1999 Jim Wilson <wilson@cygnus.com> - - * elfxx-target.h (elfNN_bed): Add elf_backend_want_dynbss. - -1999-07-14 Richard Henderson <rth@cygnus.com> - - * elf32-mips.c (struct mips_got_info): Add global_gotno. - (_bfd_mips_elf_size_dynamic_sections): Set it. - (_bfd_mips_elf_final_link): Re-sort; verify the got did not grow. - (mips_elf_sort_hash_table): Set max_non_got_dynindex based off - new argument max_local. - -1999-07-14 Mark Mitchell <mark@codesourcery.com> - - * elf32-mips.c (mips_elf_obtain_contents): Swap the 16-bit - subwords when handling an R_MIPS16_26 relocation. - (mips_elf_perform_relocation): Don't be paranoid abour right-shift - semantics. - - * elf32-mips.c (elf_mips16_gprel_howto): Adjust src_mask and - dst_mask to match reality. - (_bfd_mips_elf_calculate_relocation): Handle R_MIPS16_GPREL. - (mips_elf_obtain_contents): Use bfd_get. - (mips_elf_perform_relocation): Handle R_MIPS16_GPREL. - (mips_elf_relocate_section): Likewise. - -1999-07-13 Mark Mitchell <mark@codesourcery.com> - - * elf32-mips.c (mips_elf_calculate_relocation): Handle R_MIPS16_26. - (mips_elf_relocate_section): Adjust calling sequence for - mips_elf_perform_relocation. - (mips_elf_perform_relocation): Take additional argument. Handle - R_MIPS16_26. Use bfd_put for convenience. - -1999-07-13 Richard Henderson <rth@cygnus.com> - - * elf.c (assign_file_positions_for_segments): Thinko last change. - Always overwrite p_flags. - -1999-07-13 Richard Henderson <rth@cygnus.com> - - * elf-bfd.h (struct elf_backend_data): Add want_dynbss. - * elflink.c (_bfd_elf_create_dynamic_sections): Only create - .dynbss and .rel[a].bss if want_dynbss. - * elfxx-target.h (elf_backend_want_dynbss): Provide default. - -1999-07-13 Richard Henderson <rth@cygnus.com> - - * elf.c (assign_file_positions_for_segments): Don't overwrite p_flags. - -1999-07-13 Richard Henderson <rth@cygnus.com> - - * elf-bfd.h (struct elf_link_local_dynamic_entry): New. - (struct elf_link_hash_table): Add dynlocal. - (_bfd_elf_link_lookup_local_dynindx): Prototype. - (_bfd_elf_link_adjust_dynindx): Delete. - (_bfd_elf_link_renumber_dynsyms): Prototype. - (_bfd_elf,link_record_local_dynamic_symbol): Prototype. - * elfcode.h (elf_link_record_local_dynamic_symbol): New alias. - * elflink.c (_bfd_elf_link_adjust_dynindx): Delete. - (_bfd_elf_link_lookup_local_dynindx): New function. - (elf_link_renumber_hash_table_dynsyms): New function. - (_bfd_elf_link_renumber_dynsyms): New function. - * elflink.h (elf_link_record_local_dynamic_symbol): New function. - (struct elf_assign_sym_version_info): Delete removed_dynamic. - (bfd_elf,size_dynamic_sections): Use _bfd_strip_section_from_output - instead of elf_link_remove_section_and_adjust_dynindices. - Remove removed_dynamic code. Use _bfd_elf_link_renumber_dynsyms. - (elf_link_assign_sym_version): Remove removed_dynamic code. - (elf_link_renumber_dynsyms): Delete. - (elf_bfd_final_link): Install section and local symbols into .dynsym. - - * elf32-m68k.c (elf_m68k_adjust_dynindx): Delete. - (elf_m68k_size_dynamic_sections): Don't set section dynindicies. - (elf_m68k_finish_dynamic_sections): Don't write section dynsyms. - * elf32-mips.c: Similarly. - * elf32-ppc.c: Similarly. - * elf32-sparc.c: Similarly. - * elf64-alpha.c: Similarly. - * elf64-sparc.c: Similarly. - -1999-07-13 Mark Mitchell <mark@codesourcery.com> - - * elf32-mips.c (mips_elf_calculate_relocation): Do not complain - when _gp_disp is undefined. Do not check R_MIPS_LO16 for overflow - when the relocation is against _gp_disp. - -1999-07-12 Mark Mitchell <mark@codesourcery.com> - - * dwarf2.c (read_attribute): Support DW_FORM_ref8. - * elf32-mips.c (mips_elf_link_hash_entry): Change mips_32_relocs - to possibly_dynamic_relocs. Adjust usage throughout code. - (elf_mips_howto_table): Handle R_MIPS_64 correctly. - (elf_mips_ctor64_howto): Likewise. - (mips_elf_calculate_relocation): Handle R_MIPS_64 like R_MIPS_32. - Adjust indentation. - (mips_elf_relocate_section): Handle R_MIPS_64 in 32-bit mode. - (_bfd_mips_elf_check_relocs): Handle R_MIPS_64 like R_MIPS_32. - Use MIPS_ELF_GOT_SIZE to calculate the size of GOT entries. - * elf64-mips.c (elf_backend_may_use_rel_p): Define. - -1999-07-12 Ian Lance Taylor <ian@zembu.com> - - * Makefile.am: Rebuild dependencies. - * Makefile.in: Rebuild. - - * bfd-in.h: Remove tests of COFF_IMAGE_WITH_PE. - * bfd-in2.h: Rebuild. - - * Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSED - as appropriate. Use EMPTY_HOWTO as appropriate. Fill in - structure initializations. Add casts. - * reloc.c (EMPTY_HOWTO): Define. - * bfd-in2.h: Rebuild. - * coff-h8300.c (h8300_reloc16_extra_cases): Remove useless - comparisons against 0. - * elf32-sparc.c (elf32_sparc_merge_private_bfd_data): Change - previous_ibfd_e_flags to unsigned long. - * vms.h (struct vms_private_data_struct): Change section_count to - unsigned. - * vms-gsd.c (_bfd_vms_slurp_gsd): Change psect_idx to unsigned. - (_bfd_vms_write_gsd): Change symnum to unsigned. - * vms-hdr.c (_bfd_vms_write_hdr): Change symnum to unsigned. - * vms-tir.c (etir_sta): Change psect to unsigned. - (alloc_section): Change idx to unsigned. - (tir_sta, tir_ctl): Change psect to unsigned. - (_bfd_vms_write_tir): Change len and before to bfd_size_type. - * vms.c (priv_section_count): Change to unsigned. - -1999-07-12 Andreas Schwab <schwab@suse.de> - - * elf32-m68k.c: Add some ATTRIBUTE_UNUSED. - * m68klinux.c: Likewise. - -1999-07-12 Ian Lance Taylor <ian@zembu.com> - - * Many files: Changes to avoid gcc warnings: Remove unused local - variables. Add default case to enum switches. - * coff-arm.c (bfd_arm_allocate_interworking_sections): Only - compile if not COFF_IMAGE_WITH_PE. - (record_arm_to_thumb_glue, record_thumb_to_arm_glue): Likewise. - (bfd_arm_get_bfd_for_interworking): Likewise. - (bfd_arm_process_before_allocation): Likewise. - * epoc-pei-arm.c: Don't rename bfd_arm functions. - * pei-arm.c: Likewise. - * elf32-mips.c (mips_elf_link_hash_table_create): Don't declare. - (MIPS_ELF_ADD_DYNAMIC_ENTRY): Correct last change. - (mips_elf_got16_entry): Put parens around & in body of ==. - (mips_elf_calculate_relocation): Correct test for empty string. - * vms-gsd.c: Use _bfd_error_handler rather than fprintf to - stderr. - * vms-misc.c (_bfd_vms_length_hash_symbol): Correct sprintf - format. - -1999-07-11 Ian Lance Taylor <ian@zembu.com> - - * Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSED - as appropriate. Fill in structure initializations. Add variable - initializations. Add casts. - * dwarf1.c (parse_line_table): Change eachLine to unsigned long. - (dwarf1_unit_find_nearest_line): Change i to unsigned long. - - * elf.c (bfd_elf_hash): Change parameter from unsigned char * to - char *. - * elf-bfd.h (bfd_elf_hash): Update declaration. - * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Remove casts - when calling bfd_elf_hash. - -1999-07-11 Mark Mitchell <mark@codesourcery.com> - - * libbfd.c (bfd_put_8): Make it of type `void'. - * bfd-in2.h: Regenerated. - * elf32-mips.c (MIPS_ELF_ADD_DYNAMIC_ENTRY): Conditionalize - for 32-bit hosts. - (_bfd_mips_elf_final_link): Likewise. - - * elflink.h (elf_link_read_relocs_from_section): Be type-correct. - -Thu Jul 8 12:32:23 1999 John David Anglin <dave@hiauly1.hia.nrc.ca> - - * config.bfd (hppa*-*-linux-gnu*): New target - -1999-07-07 Mark Mitchell <mark@codesourcery.com> - - * elf-bfd.h (_bfd_mips_elf_section_from_shdr): Constify. - (_bfd_mips_elf_create_dynamic_sections): New function. - (_bfd_mips_elf_add_symbol_hook): Likewise. - (_bfd_mips_elf_adjust_dynamic_symbol): Likewise. - (_bfd_mips_elf_finish_dynamic_symbol): Likewise. - (_bfd_mips_elf_finish_dynamic_sections): Likewise. - (_bfd_mips_elf_gc_mark_hook): Likewise. - (_bfd_mips_elf_gc_sweep_hook): Likewise. - (_bfd_mips_elf_always_size_sections): Likewise. - (_bfd_mips_elf_size_dynamic_sections): Likewise. - (_bfd_mips_elf_check_relocs): Likewise. - (_bfd_mips_elf_link_hash_table_create): Likewise. - (_bfd_mips_elf_print_private_data): Likewise. - (_bfd_mips_elf_link_output_symbol_hook): Likewise. - (_bfd_mips_elf_final_link): Likewise. - (_bfd_mips_elf_additional_program_headers): Likewise. - (_bfd_mips_elf_modify_segment_map): Likewise. - (_bfd_mips_elf_relocate_section): Likewise. - * elf32-mips.c (mips_elf32_object_p): Move contents into - _bfd_mips_elf_object_p. - (mips_elf_additional_program_headers): Rename to - _bfd_mips_elf_additional_program_headers. - (mips_elf_modify_segment_map): Rename to - _bfd_mips_elf_modify_segment_map. - (elf_mips_abi_name): Change prototype. - (mips_elf32_section_from_shdr): Merge into - _bfd_mips_elf_section_from_shdr. - (mips_elf32_section_processing): Merge into - _bfd_mips_elf_section_processing. - (mips_elf_final_link): Rename to _bfd_mips_elf_final_link. Invoke - the right back-end ELF linker. - (mips_elf_relocate_section): Rename to - _bfd_mips_elf_relocate_section. Clean up. Adjust for 64-bit code. - (mips_elf_link_output_symbol_hook): Rename to - _bfd_mips_elf_link_output_symbol_hook. - (mips_elf_create_dynamic_section): Rename to - _bfd_mips_elf_create_dynamic_section. - (mips_elf_check_relocs): Rename to _bfd_mips_elf_check_relocs. - Adjust for 64-bit code. Use mips_elf_got_section. - (mips_elf_adjust_dynamic_symbol): Rename to - _bfd_mips_elf_adjust_dynamic_symbol. Use - mips_elf_allocate_dynamic_relocations. - (mips_elf_finish_dynamic_symbol): Rename to - _bfd_mips_elf_finish_dynamic_symbol. Use mips_elf_got_section. - Adjust for 64-bit code. - (mips_elf_finish_dynamic_sections): Rename to - _bfd_mips_elf_finish_dynamic_sections. Adjust for 64-bit code. - (mips_elf_always_size_sections): Rename to - _bfd_mips_elf_always_size_sections. - (mips_elf_add_symbol_hook): Rename to - _bfd_mips_elf_add_symbol_hook. - (mips_elf_next_lo16_addend): Constify. - (mips_elf_calculate_relocation): Likewise. - (mips_elf_obtain_contents): Likewise. - (mips_elf_perform_relocation): Likewise. - (mips_elf_create_dynamic_relocation): Likewise. - (mips_elf_allocate_dynamic_relocations): New function. - (MIPS_ELF_REL_DYN_SECTION_NAME): New macro. - (MIPS_ELF_REL_SIZE): Likewise. - (MIPS_ELF_DYN_SIZE): Likewise. - (MIPS_ELF_GOT_SIZE): Likewise. - (MIPS_ELF_SYM_SIZE): Likewise. - (MIPS_ELF_LOG_FILE_ALIGN): Likewise. - (MIPS_ELF_GET_WORD): Likewise. - (MIPS_ELF_PUT_WORD): Likewise. - (MIPS_ELF_ADD_DYNAMIC_ENTRY): Likewise. - (STUB_LW): Conditionalize for 64-bit value. - (elf_mips_howto_table): Add R_MIPS_HIGHER and R_MIPS_HIGHEST - entries. - (_bfd_mips_elf_merge_private_bfd_data): Merge e_ident[EI_CLASS]. - Check it for inconsistency. - (_bfd_mips_elf_print_private_bfd_data): Print ABI=64 for 64-bit - ABI. - (_bfd_mips_elf_fake_sections): Remove duplicate handling of - .msym. - (mips_elf_global_got_index): Use MIPS_ELF_GOT_SIZE. - (mips_elf_got_offset_from_index): Use misp_elf_got_section. - (mips_elf_create_local_got_entry): Use MIPS_ELF_GOT_SIZE. - (mips_elf_local_got_index): Likewise. - (mips_elf_got_page): Likewise. - (mips_elf_got_info): Likewise. - (mips_elf_create_dynamic_relocation): Handle 32-bit/64-bit split. - (ELF_DYNAMIC_INTERPRETER): Handle 64-bit code. - (mips_elf_create_dynamic_sections): Use MIPS_ELF_LOG_FILE_ALIGN, - instead of constant `2'. - (mips_elf_create_got_section): Tidy. Use MIPS_ELF_GOT_SIZE. - (mips_elf_create_msym_section): Use MIPS_ELF_LOG_FILE_ALIGN. - (mips_elf_size_dynamic_sections): Use - MIPS_ELF_REL_DYN_SECTION_NAME, MIPS_ELF_GOT_SIZE, - MIPS_ELF_ADD_DYNAMIC_ENTRY. Remove #if 0'd code. - Adjust all releveant entries in elf backend table. - * elf64-mips.c (mips_elf64_section_from_shdr): Remove. - (mips_elf64_section_processing): Likewise. - Adjust elf backend entries to use _bfd_mips_elf variants now - publicly available. - - * elflink.h (elf_link_create_dynamic_sections): Handle non-standard - hash-entry sizes. - (size_dynamic_sections): Likewise. - (elf_link_output_extsym): Likewise. - * elf.c: (elf_fake_sections): Likewise. - * libbfd.c (bfd_get): New macro. - (bfd_put): Likewise. - * bfd-in2.h: Regenerated. - -1999-07-07 Mark Mitchell <mark@codesourcery.com> - - * elf-bfd.h (elf_size_info): Add hash_entry_size, - int_rels_per_ext_rel, swap_dyn_out, swap_reloc_in, swap_reloc_out, - wap_reloca_in, and swap_reloca_out. - * elflink.h (elf_link_read_relocs_from_section): Adjust to handle - multiple internal relocations per external relocation. - (link_read_relocs): Likewise. - (elf_bfd_final_link): Likewise. - (elf_link_input_bfd): Likewise. - (elf_gc_mark): Likewise. - (elf_gc_smash_unused_vtentry_relocs): Likewise. - * elfcode.h (elf_swap_dyn_out): Adjust type to match - elf_swap_dyn_in. - (size_info): Add entries for new fields. - * elf64-mips.c (mips_elf64_swap_reloc_out): Enable. - (mips_elf64_be_swap_reloc_in): New function. - (mips_elf64_be_swap_reloc_out): Likewise. - (mips_elf64_be_swap_reloca_in): Likewise. - (mips_elf64_be_swap_reloca_out): Likewise. - (mips_elf64_size_info): Add entries for new fields. - -1999-07-07 Ian Lance Taylor <ian@zembu.com> - - * elflink.h (elf_bfd_final_link): Assert that section reloc_count - field equals the new rel_count field. - (elf_link_input_bfd): When doing a relocateable link, use the new - rel_count field rather than the reloc_count field. - (elf_reloc_link_order): Likewise. - (elf_finish_pointer_linker_section): Likewise. - - Based on patch from H.J. Lu <hjl@gnu.org>: - * elflink.h (elf_merge_symbol): Permit a non-weak definition in a - shared library to override a weak definition in a regular object. - -Tue Jul 6 10:23:39 1999 Jeffrey A Law (law@cygnus.com) - - * libhppa.h: Revert July 2, 1999 patch. - - * elf-hppa.h (_bfd_elf_hppa_gen_reloc_type): T mode selectors - need to generate DLTIND relocations, not DLTREL relocations. - -1999-07-05 Nick Clifton <nickc@cygnus.com> - - * coffcode.h (coff_set_arch_mach_hook): Recognise arm 5 - architectures. - (coff_set_flags): Recognise arm 5 architectures. - - * cpu-arm.c: Add support for strongarm and arm9 cpus. - Add support for armv5 architecture. - - * archures.c: Add bfd_mach_arm_5 and bfd_mach_arm_5T. - - * reloc.c: Add new, assembler only, ARM reloc: - BFD_RELOC_ARM_ADRL_IMMEDIATE. - - * bfd-in2.h: Regenerate. - -1999-07-02 Mark Mitchell <mark@codesourcery.com> - - * dwarf2.c (parse_comp_unit): Add ABBREV_LENGTH parameter. - (_bfd_dwarf2_find_nearest_line): Add ADDR_SIZE parameter. - * elf.c (_bfd_elf_find_nearest_line): Pass it. - * elf32-arm.h (elf32_arm_find_nearest_line): Likewise. - * elf32-mips.c (ABI_64_P): New macro. - (IRIX_COMPAT): We are IRIX6-compatible if ABI_64_P. - (_bfd_mips_elf_find_nearest_line): Adjust call to - _bfd_dwarf2_find_nearest_line. - * libbfd-in.h (_bfd_dwarf2_find_nearest_line): Update prototype. - * libbfd.h: Regenerated. - -1999-07-02 Ian Lance Taylor <ian@zembu.com> - - * config.bfd: Add * at the end of i[3456]86-*-unixware. - -Fri Jul 2 12:21:10 1999 Jeffrey A Law (law@cygnus.com) - - * libhppa.h (HPPA_R_ARG_RELOC): Delete. - (HPPA_R_CONSTANT, HPPA_R_ADDEND): Likewise. - -1999-07-01 Mark Mitchell <mark@codesourcery.com> - - * elf-bfd.h (bfd_elf_section_data): Add rel_count and rel_count2 - fields. - (_bfd_elf_init_reloc_shdr): New function. - * elf.c (_bfd_elf_new_section_hook): Use bfd_zalloc, rather than - bfd_alloc followed by memset. - (_bfd_elf_init_reloc_shdr): New function, split out from ... - (elf_fake_sections): Here. - (assign_section_numbers): Assign section numbers for the second - relocation section, if required. - * elflink.h (elf_link_output_relocs): New function. - (elf_link_size_reloc_section): Likewise. - (elf_bfd_final_link): Use elf_link_size_reloc_section. - (elf_link_input_bfd): Use elf_link_output_relocs. - - * elf32-mips.c (_bfd_mips_elf_fake_sections): Use - _bfd_elf_init_reloc_shdr to initialize rel_hdr2. - -Thu Jul 1 13:58:48 1999 Jeffrey A Law (law@cygnus.com) - - * elf-hppa.h (_bfd_elf_hppa_gen_reloc_type): Handle R_PCREL_CALL - with 22bit format. - -1999-06-28 Mark Mitchell <mark@codesourcery.com> - - * elf32-mips.c (mips_elf_got_info): Move declaration before - prototypes. Change global_gotsym to be a pointer to a hash entry, - rather than a number index. - (mips_elf_link_hash_entry): Move declaration before prototypes. - (mips_elf_irix6_finish_dynamic_symbol): New function. - (mips_elf_sign_extend): Likewise. - (mips_elf_high): Likewise. - (mips_elf_higher): Likewise. - (mips_elf_highest): Likewise. - (mips_elf_global_got_index): Likewise. - (mips_elf_local_got_index): Likewise. - (mips_elf_got_offset_from_index): Likeiwse. - (mips_elf_record_global_got_symbol): Likewise. - (mips_elf_got_page): Likewise. - (mips_elf_next_lo16_addend): Likewise. - (mips_elf_calculate_relocation): Likewise. - (mips_elf_obtain_contents): Likewise. - (mips_elf_perform_relocation): Likewise. - (mips_elf_assign_gp): Likewise. - (mips_elf_sort_hash_table_f): Likewise. - (mips_elf_sort_hash_table): Likewise. - (mips_elf_got_section): Likewise. - (mips_elf_got_info): Likewise. - (mips_elf_create_local_got_entry): Likewise. - (mips_elf_got16_entry): Likewise. - (mips_elf_create_dynamic_relocation): Likewise. - (elf_mips_howto_table): Add description of R_MIPS_SCN_DISP. - (mips_elf_final_gp): Use mips_elf_assign_gp. - (_bfd_mips_elf_symbol_processing): Don't move SHN_COMMON symbols - into SHN_SCOMMON automatically on IRIX6. - (mips_elf_add_symbol_hook): Likewise. - (mips_elf_relocate_section): Rewrite, using - mips_elf_calculate_relocation and mips_elf_perform_relocation. - (mips_elf_create_dynamic_section): Use MIPS_ELF_STUB_SECTION_NAME. - Don't deal with .rld_map on IRIX6. - (mips_elf_create_got_section): Adjust use of global_gotsym. Set - section flags appropriately for .got. - (mips_elf_check_relocs): Handle IRIX6 relocations making use of - the got. Call mips_elf_record_global_got_symbol and allocate - local got space appropriately. - (mips_elf_size_dynamic_sections): Use bfd_byte *, not unsigned - char *. Rework calculation of GOT size. Sort dynamic symbol - table entries so entries that do not require GOT entries appear at - the beginning. Don't use DT_MIPS_HIPAGENO on IRIX6. Remove dead - code dealing with DT_INIT and DT_FINI. Remove fiddling with - global_gotsym. - (mips_elf_finish_dynamic_symbol): Adjust creation of global GOT - entries. - (mips_elf_finish_dynamic_symbol): Use - mips_elf_irix6_finish_dynamic_symbol. - (mips_elf_finish_dynamic_sections): Correct off-by-one error - setting DT_MIPS_UNREFEXTNO. Adjust setting of DT_MIPS_GOTSYM for - change to global_gotsym. Set DT_MIPS_OPTIONS on IRIX6. - -1999-06-30 Ian Lance Taylor <ian@zembu.com> - - * elf32-mips.c (mips_elf_final_link): Don't set CPIC when doing a - relocateable link. From Ralf Baechle <ralf@uni-koblenz.de>. - -1999-06-04 Philip Blundell <philb@gnu.org> - - * elf32-arm.h (elf_backend_got_header_size): Define. - (elf_backend_plt_header_size): Likewise. - -1999-06-28 Jim Pick <jim@jimpick.com> - - * elf32-arm.h (elf32_arm_relocate_section): Mind no_undefined - -Tue Jun 29 02:25:03 1999 Jeffrey A Law (law@cygnus.com) - - * elf-hppa.c (elf_hppa_howto_table): Use bfd_elf_generic_reloc as - relocation function. - * elf32-hppa.c (hppa_elf_reloc): Kill unused/unwanted function. - -1999-06-27 Mark Mitchell <mark@codesourcery.com> - - * elf32-mips.c (MIPS_ELF_SRDATA_SECTION_NAME): New macro. - (MIPS_ELF_OPTIONS_SECTION_NAME): Likewise. - (MIPS_ELF_STUB_SECTION_NAME): Likewise. - (_bfd_mips_elf_section_from_shdr): Use them. - (_bfd_mips_elf_fake_sections): Likewise. Add .srdata to the list - of GP-relative sections. - (_bfd_mips_elf_set_section_contents): Use them. - (_bfd_mips_elf_section_processing): Share code between .sdata and - .lit4/.lit8 sections. Set appropriate flags for .srdata. - (mips_elf_additional_program_headers): Add handling for - PT_MIPS_OPTIONS segment on IRIX6. - (mips_elf_modify_segment_map): Likeiwse. - (mips_elf_final_link): Set EF_MIPS_CPIC when required by the ABI. - Include the options sections on IRIX6. Don't look for GP-relative - sections by name; use SHF_MIPS_GPREL instead. - (ELF_DYNAMIC_INTERPRETER): Adjust to use /usr/lib32/libc.so.1 for - the N32 ABI. - (mips_elf_create_dynamic_sections): Don't muck about with section - alignments and such on IRIX6. - (mips_elf_adjust_dynamic_symbol): Use MIPS_ELF_STUB_SECTION_NAME. - (mips_elf_size_dynamic_sections): Likewise. Adjust to handle the - fact that ELF_DYNAMIC_INTERPRETER is no longer a constant. Use - bfd_zalloc rather than bfd_alloc and memset. - (mips_elf_finish_dynamic_symbol): Use MIPS_ELF_STUB_SECTION_NAME. - Don't assert the existence of .rld_map on IRIX6. - (mips_elf_finish_dynamic_sections): Use MIPS_ELF_STUB_SECTION_NAME. - - * elf32-mips.c (mips_elf_adjust_dynindx): Remove. - (mips_elf_size_dynamic_sections): Use _bfd_elf_link_adjust_dynindx - instead. - -1999-06-26 Mark Mitchell <mark@codesourcery.com> - - * elf32-mips.c (mips_elf_swap_msym_in): New function. - (mips_elf_swap_msym_out): New function. - (mips_elf_create_msym_section): Likewise. - (MIPS_ELF_MSYM_SECTION_NAME): New macro. - (_bfd_mips_elf_final_write_processing): Set sh_link for .msym. - (_bfd_mips_elf_section_from_shdr): Reject an SHT_MIPS_MSYM - section not named .msym. - (_bfd_mips_elf_fake_sections): Use MIPS_ELF_MSYM_SECTION_NAME, not - .msym directly. Set appropriate attributes for the .msym - section. - (mips_elf_link_hash_entry): Add min_dyn_reloc_index field. - (mips_elf_link_hash_newfunc): Clear it. - (mips_elf_create_dynamic_sections): Create the .msym section - on IRIX6. - (mips_elf_size_dynamic_sections): Allocate space for the - .msym section. Add a DT_MIPS_MSYM entry. - (mips_elf_finish_dynamic_symbol): Write out a .msym entry for - the symbol. - (mips_elf_finish_dynamic_sections): Assign a value for - DT_MIPS_MSYM. Add .msym entries for the section symbols as well. - - * elf32-mips.c (irix_compat_t): New enumeration. - (ABI_N32_P): New macro. - (IRIX_COMPAT): Likewise. - (SGI_COMPAT): Implement in terms of IRIX_COMPAT. - (mips_elf_relocate_section): Fix typo. - -1999-06-26 Mumit Khan <khan@xraylith.wisc.edu> - - * peicode.h (coff_swap_scnhdr_out): Mark non readonly BFD sections - as writable PE sections. - -1999-06-26 David Mosberger <davidm@hpl.hp.com> - - * dwarf2.c (struct arange): New type. - (struct comp_unit): Replace LOW and HIGH by member ARANGE. - (arange_add): New function. - (decode_line_info): Keep track of address ranges that a compilation - unit covers. - (comp_unit_contains_address): Return true if address is contained - in _any_ of the address ranges associated with a compilation unit. - (_bfd_dwarf2_find_nearest_line): Call comp_unit_find_nearest_line - on the first comp_unit that contains the address. - -1999-06-26 David Mosberger <davidm@hpl.hp.com> - - * dwarf2.c (struct dwarf2_debug): Add member dwarf_line_buffer. - (decode_line_info): Add variable STASH and initialize it to point - to the per-bfd dwarf2_debug info. Remove static variable - dwarf_line_buffer and use stash->dwarf_line_buffer in its place. - -1999-06-26 Ian Lance Taylor <ian@zembu.com> - - * elflink.h (elf_link_output_extsym): It's OK for a -Bsymbolic - shared library to have an undefined symbol. - - From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>: - * elf32-ppc.c (ppc_elf_relocate_section): Fix last patch. - -Thu Jun 24 20:59:11 1999 Jeffrey A Law (law@cygnus.com) - - * elf-hppa.c (elf_hppa_final_write_processing): New function. - * elf32-hppa.c: Remove everything related to symbol extension - sections & records. Use the common elf_hppa_final_write_processing. - -1999-06-22 Mark Mitchell <mark@codesourcery.com> - - * elflink.h (size_dynamic_sections): Use user-specified init/fini - functions instead of _init/_fini if requested. - -1999-06-23 Ian Lance Taylor <ian@zembu.com> - - * elf.c (bfd_section_from_shdr): Avoid crashing on a bogus sh_link - field. - -1999-06-22 Ian Lance Taylor <ian@zembu.com> - - From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>: - * elf32-ppc.c (ppc_elf_size_dynamic_sections): Set unused dynindx - field to 0, not -1. - (ppc_elf_finish_dynamic_sections): Check for positive section - dynindx field, rather than comparing against -1. - (ppc_elf_relocate_section): Only return false if undefined_symbol - or reloc_overflow fail, not always upon encountering an error. - -1999-06-22 Mark Mitchell <mark@codesourcery.com> - - * elflink.h (link_read_relocs): Explicitly cast external_relocs to - bfd_byte * before performing pointer arithmetic. - -Tue Jun 22 13:06:25 1999 Jeffrey A Law (law@cygnus.com) - - * elf-hppa.h: New file. Common stuff for elf32 and elf64 PA - support. - * elf32-hppa.c: Include elf-hppa.h. - (ARCH_SIZE): Define. - (elf_hppa_reloc_type_lookup): Delete. Found in the common code - now. - (elf32_hppa_info_to_howto): Similarly. - (elf_hppa_howto_table): Similarly. - (elf_hppa_reloc_type_lookup): Similarly. - (hppa_elf_gen_reloc_type): Similarly. - * elf32-hppa.h (ELF_HOWTO_TALBE, N_PARISC_RELOCS): Delete. - -1999-06-22 Nick Clifton <nickc@cygnus.com> - - * elf32-v850.c (v850_elf_final_link_relocate): Catch overflow - handling R_V850_22_PCREL relocation. - -1999-06-21 Ian Lance Taylor <ian@zembu.com> - - * coff-arm.c (arm_emit_base_file_entry): Explicitly declare return - type. - -Sun Jun 20 14:13:57 1999 Richard Henderson <rth@cygnus.com> - - * section.c (_bfd_strip_section_from_output): Ignore sections - DISCARDed by the link script. - -1999-06-19 Ian Lance Taylor <ian@zembu.com> - - * elflink.h (elf_link_remove_section_and_adjust_dynindices): - Remove unused local variable spp. - - * xcofflink.c (bfd_xcoff_size_dynamic_sections): Don't crash if - the entry symbol is not set. - -Fri Jun 18 04:24:57 1999 Richard Henderson <rth@cygnus.com> - - * elf64-alpha.c (elf64_alpha_relocate_section): Don't adjust - GPDISP or LITUSE in a relocatable link. - -Thu Jun 17 21:24:43 1999 J"orn Rennecke <amylaar@cygnus.co.uk> - - * dwarf1.c (alloc_dwarf1_unit): Allocate using bfd_zalloc. - * (alloc_dwarf1_func): Likewise. - -Wed Jun 16 03:09:57 1999 Jeffrey A Law (law@cygnus.com) - - * libhppa.h: Fix various formatting errors. - (assemble_3); Rewrite using CATENATE. - (assemble_17): Fix various bugs. - -1999-06-16 Nick Clifton <nickc@cygnus.com> - - * elf32-mcore.c (R_MCORE_RAW): Fix definition. - -1999-06-15 Richard Henderson <rth@cygnus.com> - - * section.c (SEC_SHORT): Define. - * bfd-in2.h: Rebuild. - -1999-06-13 Mark Mitchell <mark@codesourcery.com> - - * elflink.h (elf_link_remove_section_and_adjust_dynindices): - Remove abfd parameter. Use _bfd_strip_section_from_output. - (bfd_elf_size_dynamic_sections): Adjust callers accordingly. - - * elf-bfd.h (_bfd_elf_link_adjust_dynindx): New function. - * elflink.c (_bfd_elf_link_adjust_dynindx): Define it. - * elflink.h (elf_link_remove_section_and_adjust_dynindices): New - function. - (bfd_elf_size_dynamic_sections): Use it. - -1999-06-13 Alan Modra <alan@spri.levels.unisa.edu.au> - - * elf32-i386.c (elf_howto_table): Change R_386_PC8 from - complain_overflow_bitfield to complain_overflow_signed. - -1999-06-13 Mark Mitchell <mark@codesourcery.com> - - * elflink.h (elf_link_read_relocs_from_section): New function, - split out from ... - (elf_link_read_relocs): Here. Use it for both relocation - sections. - -1999-06-12 Mark Mitchell <mark@codesourcery.com> - - * elfcode.h (elf_slurp_reloc_table_from_section): Don't assume - asect->reloc_count is valid. - -1999-06-12 Ian Lance Taylor <ian@zembu.com> - - * elf32-mips.c (mips_elf32_section_processing): Permit a - SHT_MIPS_REGINFO section to have a size of 0. - -1999-06-12 David O'Brien <obrien@freebsd.org> - - * config.bfd (alpha*-*-freebsd*): New target. - (i[3456]86-*-freebsd*): Now defaults to ELF. - -1999-06-11 Ian Lance Taylor <ian@zembu.com> - - * reloc.c (_bfd_relocate_contents): Permit bitfield relocations to - wrap if the relocation covers the high bit of an address. - - * dwarf2.c (decode_line_info): Remove unused variable first_time. - -1999-06-10 Jakub Jelinek <jj@ultra.linux.cz> - - * elf64_sparc.c (sparc64_elf_relocate_section): Use R_SPARC_max_std - instead of R_SPARC_max. - (sparc64_elf_info_to_howto): Likewise. - * elf32_sparc.c (elf32_sparc_relocate_section): Likewise. - (elf32_sparc_info_to_howto): Likewise; handle vtable relocations. - -1999-06-07 Richard Henderson <rth@cygnus.com> - - * section.c (_bfd_strip_section_from_output): Remove output - sections with no initial link_order. - -1999-06-07 Nick Clifton <nickc@cygnus.com> - - * elf32-m88k.c (ELF_MAXPAGESIZE): Define. - -Mon Jun 7 11:49:43 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - - * Makefile.am (SOURCE_HFILES): Add missing headers. - * Makefile.in: Regenerated. - -1999-06-06 Mark Mitchell <mark@codesourcery.com> - - * elf32-mips.c (_bfd_mips_elf_print_private_data): Recognize - the N32 ABI. - -1999-06-04 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> - - * elf32-ppc.c (ppc_elf_relocate_section): Don't barf on out of - range undefweak symbols. - * hash.c: Add missing comma after @xref{} - * linker.c: Likewise. - -1999-06-04 Nick Clifton <nickc@cygnus.com> - - * elfxx-target.h (ELF_MAXPAGESIZE): Produce an error message - if not defined. - * elf32-gen.c (ELF_MAXPAGESIZE): Define. - * elf32-i860.c (ELF_MAXPAGESIZE): Define. - * elf32-i960.c (ELF_MAXPAGESIZE): Define. - * elf64-gen.c (ELF_MAXPAGESIZE): Define. - -1999-06-04 Ian Lance Taylor <ian@zembu.com> - - * Makefile.am: Rebuild dependencies. - (BFD32_BACKENDS): Add dwarf1.lo. - (BFD32_BACKENDS_CFILES): Add dwarf1.c. - * Makefile.in: Rebuild. - -1999-06-04 Nick Clifton <nickc@cygnus.com> - - * Makefile.am: Add epoc-arm-pe target. - * Makefile.in: Regenerate. - * pe-arm.c: Only redefine interworking function names if they have - not already been redefined. - * pei-arm.c: Only redefine interworking function names if they have - not already been redefined. - * epoc-pe-arm.c: Redefine interworking function names to avoid a - name space clash. - * epoc-pei-arm.c: Redefine interworking function names to avoid a - name space clash. - -1999-06-03 Nick Clifton <nickc@cygnus.com> - - * elfxx-target.h (ELF_MAXPAGESIZE): Default to 0x1000 not 1. - -Fri Jun 4 10:05:11 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - - * elf.c (elf_fake_sections): Undo change of 1999-05-10. - -Fri Jun 4 03:10:49 1999 J"orn Rennecke <amylaar@cygnus.co.uk> - - * elf32-sh.c (sh_elf_relax_delete_bytes): Fix setting of - start / stop for recalculating of r_addend of R_SH_SWITCH*. - -Fri Jun 4 02:53:13 1999 J"orn Rennecke <amylaar@cygnus.co.uk> - - * elf32-sh.c (sh_elf_relax_delete_bytes): Handle R_SH_SWITCH32 - in other text sections. - -Fri Jun 4 02:29:34 1999 J"orn Rennecke <amylaar@cygnus.co.uk> - - * libbfd.c (_bfd_generic_verify_endian_match): New function. - * libbfd-in.h (_bfd_generic_verify_endian_match): Declare. - * libbfd.h: Regenerate. - * coff-sh.c (sh_merge_private_data): Delete. - (coff_bfd_merge_private_bfd_data): Change to - _bfd_generic_verify_endian_match. - (elf32-sh.c): bfd_elf32_bfd_merge_private_bfd_data: Define. - -1999-06-03 Ulrich Drepper <drepper@cygnus.com> - - * elf32-arm.h: Fix typo: change ELF_MAXPAGE_SIZE to ELF_MAXPAGESIZE. - -1999-06-03 Ian Lance Taylor <ian@zembu.com> - - * bfd-in.h (bfd_elf32_arm_allocate_interworking_sections): Correct - prototype. - (bfd_elf32_arm_process_before_allocation): Likewise. - * bfd-in2.h: Rebuild. - -1999-06-03 David Mosberger <davidm@hpl.hp.com> - - * dwarf2.c (struct line_info): Add member END_SEQUENCE to keep - track of end_sequence markers. - (add_line_info): Add END_SEQUENCE arg. - (decode_line_info): Don't try to infer lo_pc and hi_pc from the - debug-line info---it doesn't work right if a compilation unit - consists of multiple discontiguous code-sequences. It would be - worthwhile to optimize for the common case where a compilation - unit results in a contiguous set of code sequences, but this is - quite tricky to get right for arbitrary DWARF2 files. - (lookup_address_in_line_info_table): Don't use the last line entry - for a compilation unit for anything with an address higher than - this line entry. Also, check for end_sequence markers to - correctly handle discontinuities. - (_bfd_dwarf2_find_nearest_line): When checking previously loaded - compilation units, check all compilation units with each->high==0 - just like when reading compilation units. - - * dwarf2.c (decode_line_info): Initialize table->files and - table->last_line to NULL to avoid segfaults due to random - values in these members. - (concat_filename): Check for out-of-range file number before - indexing filename table. Segfaults suck. - - * dwarf2.c (decode_line_info): Don't truncate address to least - significant 32 bits (breaks 64 bit targets). - (lookup_address_in_function_table): Ditto. - (comp_unit_contains_address): Ditto. - -1999-06-02 Mark Mitchell <Mark Mitchell <mark@codesourcery.com>> - - * elf32-mips.c (elf_mips_howto_table): Add R_MIPS_JALR. - * elf64-mips.c (mips_elf64_howto_table_rel): Likewise. - (mips_elf64_howto_table_rela): Likewise. - - * elfcode.h (elf_slurp_reloc_table_from_section): New function, - split out from ... - (elf_slurp_reloc_table): Here. Use it to handle the case where a - single section has two associated relocation sections. - -1999-06-02 Mark Salter <msalter@cygnus.com> - - * coffcode.h (coff_set_alignment_hook): Set lma from s_vaddr if - COFF_WITH_PE defined. - -1999-06-02 Nick Clifton <nickc@cygnus.com> - - * pe-arm.c: Rename global arm interworking functions to avoid name - collision when all targets BFD is built. - * pei-arm.c: Ditto. - -1999-05-31 Mark Mitchell <mark@codesourcery.com> - - * elf-bfd.h (elf_backend_data): Remove use_rela_p. Add - may_use_rel_p, may_use_rela_p, default_use_rela_p. - (bfd_elf_section_data): Add use_rela_p. - * elf.c (bfd_section_from_shdr): Set use_rela_p appropriately. - (_bfd_elf_new_section_hook): Likewise. - (elf_fake_sections): Use may_use_rela_p, etc., instead of - use_rela_p. - (_bfd_elf_copy_private_section_data): Copy use_rela_p. - * elfcode.h (write_relocs): Determine whether or not use rela - relocs based on the relocation section header. - * elflink.c (_bfd_elf_create_dynamic_sections): Use default_use_rela_p - instead of use_rela_p. - * elfxx-target.h (elf_backend_may_use_relp): New macro. - (elf_backend_may_use_rela_p): Likewise. - (elf_backend_default_use_rela_p): Likewise. - (elfNN_bed): Use them. - -Wed Jun 2 12:38:49 1999 Miodrag Vallat <miodrag@multimania.com> - - * hosts/alphalinux.h (TRAD_CORE_EXTRA_SIZE_ALLOWED): Expand to 4096. - -Tue Jun 1 17:57:58 1999 Mark P. Mitchell <mitchell@n02.acl.lanl.gov> - - * reloc.c (BFD_RELOC_MIPS_SUB): New relocation. - (BFD_RELOC_MIPS_GOT_PAGE): Likewise. - (BFD_RELOC_MIPS_GOT_OFST): Likewise. - (BFD_RELOC_MIPS_GOT_DISP): Likewise. - * bfd-in2.h: Regenerated. - * libbfd.h: Likewise. - * elf32-mips.c (mips_info_to_howto_rela): New function. - (USE_REL): Adjust for new conventions. - (MINUS_ONE): New macro. - (elf_mips_howto_table): Add R_MIPS_SUB. - (mips_r): Add entries for MIPS_SUB, MIPS_GOT_PAGE, MIPS_GOT_OFST, - and MIPS_GOT_DISP. - (mips_elf_final_write_processing): Set sh_link, not sh_info, for a - .MIPS.content section. - (_bfd_mips_elf_fake_sections): Treat all sections that begin - with .MIPS.content as .MIPS.content sections. Set - SHF_MNIPS_NOSTRIP for such section. - (elf_info_to_howto): Define to mips_info_to_howto_rela. - * elf64-mips.c (mips_r): Add entries for MIPS_SUB, MIPS_GOT_PAGE, - MIPS_GOT_OFST, and MIPS_GOT_DISP. - -Wed Jun 2 11:51:12 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - - * vms-misc.c (_bfd_vms_hash_newfunc): Fix use of uninitialized - variable. - - * elf32-m68k.c (elf_m68k_adjust_dynamic_symbol): Avoid ambigous - `else'. - -1999-05-30 Philip Blundell <philb@gnu.org> - - * elf32-arm.h (elf32_arm_relocate_section): Reinstate change of - 1993-03-25 (!!). Take into account the bitmasks for the reloc so - the addend does not overflow into the rest of the word. - -1999-05-29 Nick Clifton <nickc@cygnus.com> - - * bfd-in.h: Amend prototype for - bfd_elf32_arm_process_before_allocation . - * bfd-in.h: Regenerate. - - * elfarm-oabi.c (NUM_ELEM): New macro: Compute the number of - elements in a fixed sized array. - (ARM_ELF_ABI_VERSION): Define. - (ARM_ELF_OS_ABI_VERSION): Define. - (R_ARM_THM_ABS5): Fix rightshift and size. - (R_ARM_THM_PC22): Fix size. - (R_ARM_PLT32): Define Howto. - (find_howto): New function: Locate a howto based on a reloc - number. - (elf32_arm_info_to_howto): Use find_howto if necessary. - (elf32_arm_reloc_map): Change type of field bfd_reloc_val to - bfd_reloc_code_real_type. - (elf32_arm_reloc_map[]): Add entries for BFD_RELOC_VTABLE_INHERIT - and BFD_RELOC_VTABLE_ENTRY. - (elf32_arm_reloc_type_lookup): Use find_howto if necessary. - - * elfarm-nabi.c (NUM_ELEM): New macro: Compute the number of - elements in a fixed sized array. - (ARM_ELF_ABI_VERSION): Define. - (ARM_ELF_OS_ABI_VERSION): Define. - (R_ARM_THM_ABS5): Fix rightshift and size. - (R_ARM_THM_PC22): Fix size. - (elf32_arm_info_to_howto_rel): Rename to elf32_arm_info_to_howto. - (elf32_arm_reloc_map): Change type of field bfd_reloc_val to - bfd_reloc_code_real_type. - - * elf32-arm.h (struct elf32_arm_link_hash_table): Add new field: - no_pipeline_knowledge. - (elf32_arm_link_hash_create): Initialise new field to zero. - (bfd_elf32_arm_process_before_allocation): Add new paraemter: - no_pipeline_knowledge. Use this parameter to initialise the field - in the globals data structure. - (elf32_arm_final_link_relocate): Only add in pipeline offset if - no_pipeline_knowledge is false and the binary is from an old - toolchain. - (elf32_arm_merge_private_data): Generate an error if an attempt is - made to link together big endian and little endian code. - (elf32_arm_post_process_headers): New function: Initialise the - EI_OSABI and EI_ABIVERSION fields of the newly created ELF program - header. - (elf_backend_post_process_headers): Define. - -1999-05-28 Nick Clifton <nickc@cygnus.com> - - * elf-bfd.h (struct elf_backend_data): Add new field: - elf_backend_post_process_headers. - - * elfxx-target.h (elf_backend_post_process_headers): Define to - NULL if not already defined. - (elfNN_bed): Initialise elf_backend_post_process_headers field. - - * elf.c (prep_headers): Set the EI_OSABI and EI_ABIVERSION fields - to zero. - (_bfd_elf_compute_section_file_positions): Call - elf_backend_post_process_headers if defined. - -1999-05-28 Ian Lance Taylor <ian@zembu.com> - - * configure.in: Check whether getuid and getgid exist. - * archive.c: Define getuid and getgid as macros if HAVE_GETUID or - HAVE_GETGID are not defined, respectively. - (bfd_write_armap): Don't special case on _WIN32 for getuid and - getgid. - * configure.host: Set ac_cv_func_get{ug}id for *-*-windows*. - * configure, config.in: Rebuild. - -1999-05-28 Martin Dorey <mdorey@madge.com> - - * elf32-i960.c: New file. - * elf.c (prep_headers): Handle bfd_arch_i960. - * targets.c (bfd_target_vector): Add &bfd_elf32_i960_vec. - * config.bfd (i960-*-elf*): New target. - * configure.in (bfd_elf32_i960_vec): New target vector. - * Makefile.am (BFD32_BACKENDS): Add elf32-i960.lo. - (BFD32_BACKENDS_CFILES): Add elf32-i960.c. - * Makefile.in, aclocal.m4, configure: Rebuild. - -1999-05-27 Nick Clifton <nickc@cygnus.com> - - * elfarm-oabi.c (elf32_arm_howto_table): Add entry for - R_ARM_PLT32. - (find_howto): New function: Find entries in the - elf32_arm_howto_table. - (elf32_arm_info_to_howto): Use find_howto if the entry cannot be - computed simply. - (elf32_arm_reloc_type_lookup): Add lookup for - BFD_RELOC_ARM_PLT32. - -1999-05-25 Philip Blundell <pb@nexus.co.uk> - - * bfd/elf32-arm.h (elf32_arm_link_hash_newfunc): New function. - (elf32_arm_link_hash_table_create): Use above function as the - constructor for hash table entries. - (elf32_arm_relocate_section): Avoid crash when there is no output - section. - (elf32_arm_final_link_relocate): New parameter h. - (elf32_arm_relocate_section): Pass symbol hash entry to above - routine. - (elf32_arm_gc_sweep_hook, elf32_arm_check relocs): Correct - comments. - -1999-05-25 Catherine Moore <clm@cygnus.com> - - * coff-arm.c (coff_arm_relocate_section): Don't emit - base file entries for pc-relative values. - -1999-05-25 DJ Delorie <dj@cygnus.com> - - * peicode.h (coff_swap_sym_in): When we create the actual section - to reflect the not-there section C_SECTION symbols refer to, - change the symbol class to C_STAT as the section is now really - there. - -1999-05-24 Philip Blundell <pb@nexus.co.uk> - - * elf32-arm.h (elf32_arm_relocate_section): Undo change of - 1999-03-25. - -Mon May 17 13:35:35 1999 Stan Cox <scox@cygnus.com> - - * coff-arm.c (_bfd_coff_arm_set_private_flags): Changed - F_PIC_INT to F_PIC. - * coffcode.h (coff_set_arch_mach_hook): Added F_ARM_2a, and - F_ARM_3M labels. Changed F_PIC_INT to F_PIC. - -1999-05-16 Nick Clifton <nickc@cygnus.com> - - * coff-mcore.c (in_reloc_p): Reinstate. - -1999-05-15 Nick Clifton <nickc@cygnus.com> - - * reloc.c (BFD_RELOC_MCORE_RVA): Define. - * bfd-in2.h: Regenerate. - * coff-mcore.c (in_reloc_p): Remove defintion. - (mcore_coff_howto): Add IMAGE_REL_MCORE_RVA. - (mcore_coff_reloc_type_lookup): Map BFD_RELOC_RVA to - IMAGE_REL_MCORE_RVA. - (coff_mcore_rtype_to_howto): Add special processing for - IMAGE_REL_MCORE_RVA. - (coff_mcore_relocate_section): Add support for - IMAGE_REL_MCORE_RVA. - * elf32-mcore (mcore_elf_howto_): Add R_MCORE_RELATIVE. - (mcore_elf_reloc_type_lookup): Map BFD_RELOC_RVA to - R_MCORE_RELATIVE. - (mcore_elf_relocate_section): Delete redundant case labels. - -Fri May 14 10:59:55 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - - * elf32-arm.h (elf32_arm_relocate_section): Fix operator - precedence between bit-and and comparison. - -Thu May 13 09:45:23 1999 Joel Sherrill (joel@OARcorp.com) - - * config.bfd (i[3456]86*-*-rtems*, m68k*-*-rtems*): Added to - list of target formats (targ_selvecs). - (i[3456]86*-*-rtemself*, mips*el-*-rtems*): New targets. - (powerpcle*-*rtems*, sh-*-rtemself*): New targets. - -1999-05-10 DJ Delorie <dj@cygnus.com> - - * ecoff.c (_bfd_ecoff_write_armap): give the symtab element a - reasonable mode until "ar x" is smart enough to skip it (fixes - gcc/libgcc.a builds on mips-ecoff targets - - * coffcode.h (styp_to_sec_flags): Explain how COMDATs are supposed - to work. Hack to support MS import libraries, which use different - COMDAT types than GNU. - (coff_slurp_symbol_table): C_SECTION symbols are local; they refer - to implied zero-length sections (see peicode below) - * coffgen.c (coff_get_normalized_symtab): Properly read long MS - filename symbols, which use one *or more* auxents. - * coffswap.h (coff_swap_aux_in): ditto - * peicode.h (coff_swap_sym_in): Build the implied zero-length - sections - -Tue May 11 15:51:58 1999 Jeffrey A Law (law@cygnus.com) - - * elf32-v850.c (v850_elf_howto_table): Make partial_inplace false - for all relocations. - -1999-05-10 Catherine Moore <clm@cygnus.com> - - * bfd-in.h (bfd_arm_allocate_interworking_sections): Static - if COFF_IMAGE_WITH_PE. - (bfd_arm_process_before_allocation): Likewise. - (bfd_arm_get_bfd_for_interworking): Likewise. - * coff-arm.c: Likewise. - * bfd-in2.h: Regenerate. - * configure.in (armpe_little_vec): Remove coff-arm.lo. - (armpe_big_vec): Likewise. - * configure: Rebuild. - -1999-05-10 Nick Clifton <nickc@cygnus.com> - - * elf.c (elf_fake_sections): Check for .rel. as start of rel - section, not just .rel. Same for .rela. - -1999-05-07 Nick Clifton <nickc@cygnus.com> - - * coff-mcore.c (coff_mcore_relocate_section): Replace assert about - endianism with an error message. - -Thu May 6 17:09:09 1999 Fred Fish <fnf@be.com> - - * dwarf2.c (read_abbrevs): Change cast of dwarf_abbrev_buffer - assignment from "unsigned char *" to "char *". - (decode_line_info): Likewise for dwarf_line_buffer assignment. - -1999-05-05 Catherine Moore <clm@cygnus.com> - - * coff-arm.c (coff_arm_relocate_section): Add one to - address of ARM_RVA32 thumb functions. - -1999-05-05 Catherine Moore <clm@cygnus.com> - - * elf32-m68k.c (elf32_m68k_set_private_flags): New. - (elf32_m68k_copy_private_bfd_data): New. - (elf32_m68k_merge_private_bfd_data): New. - (elf32_m68k_print_private_bfd_data): New. - (CPU32_FLAG): Define. - (PLT_CPU32_ENTRY_SIZE): Define. - (elf_cpu32_plt0_entry): Declare. - (elf_cpu32_plt_entry): Declare. - (elf_m68k_adjust_dynamic_symbol): Generate cpu32 plt entries. - (elf_m68k_finish_dynamic_symbol): Likewise. - (elf_m68k_finish_dynamic_sections): Likewise. - (elf_backend_plt_header_size): Remove definition. - (bfd_elf32_bfd_copy_private_bfd_data): Define. - (bfd_elf32_bfd_merge_private_bfd_data): Define. - (bfd_elf32_bfd_set_private_flags): Define. - (bfd_elf32_bfd_print_private_bfd_data): Define. - -Mon May 3 09:24:49 1999 Jeffrey A Law (law@cygnus.com) - - * som.c (som_fixup_formats): Fix comments for R_SHORT_PCREL_MODE - and R_LONG_PCREL_MODE. - -1999-04-29 Nick Clifton <nickc@cygnus.com> - - * coff-mcore.c (coff_mcore_relocate_section): Fix typos. - -Fri Apr 28 16:36:19 1999 Stan Cox <scox@cygnus.com> - - * elf32-sh.c (sh_elf_relocate_section): Include relocation addend - in relocation calculation. - -1999-04-26 Tom Tromey <tromey@cygnus.com> - - * aclocal.m4, configure: Updated for new version of libtool. - -1999-04-21 Nick Clifton <nickc@cygnus.com> - - * coff-mcore.c: Add support for mcore relocs. - -1999-04-20 Gavin Romig-Koch <gavin@cygnus.com> - - * elf32-mips.c (_bfd_mips_elf_print_private_bfd_data): Scrap the - incorrect use EF_MIPS_xxBITPTRS. - -1999-04-18 Ian Lance Taylor <ian@zembu.com> - - * elf64-alpha.c (elf64_alpha_relax_section): Remove unused local - variable insn. - - * bfd-in2.h: Rebuild. - * libbfd.h: Rebuild. - -Sat Apr 17 20:55:15 1999 Catherine Moore <clm@cygnus.com> - - * coff-arm.c (coff_arm_rtype_to_howto): Remove ARM26D transform. - (coff_arm_relocate_section): Add ARM26D transform. Only - change to ARM26D for relocateable links. - -1999-04-16 Gavin Romig-Koch <gavin@cygnus.com> - - * elf32-mips.c (_bfd_mips_elf_print_private_bfd_data): New. - (bfd_elf32_bfd_print_private_bfd_data): New. - -1999-04-15 Doug Evans <devans@casey.cygnus.com> - - * elf32-arm.h (elf32_arm_final_link_relocate): For R_ARM_THM_ABS5, - refetch addend if USE_REL, add many comments regarding current state. - For R_ARM_THM_PC22, refetch addend if USE_REL, simplify. - * elfarm-nabi.c (elf32_arm_howto_table): For R_ARM_THM_ABS5, fix - size and rightshift. For R_ARM_THM_PC22, fix bitsize. - * elfarm-oabi.c (elf32_arm_howto_table): Ditto. - -Wed Apr 14 14:33:08 1999 Richard Henderson <rth@cygnus.com> - - * elf32-mips.c (_bfd_mips_elf_read_ecoff_info): Zero `debug'. - * elf64-alpha.c (elf64_alpha_read_ecoff_info): Likewise. - -1999-04-13 David Mosberger <davidm@hpl.hp.com> - - * dwarf2.c (decode_line_info): Don't truncate address to least - significant 32 bits (breaks 64 bit targets). - (lookup_address_in_function_table): Ditto. - (comp_unit_contains_address): Ditto. - -Tue Apr 13 21:27:19 1999 Catherine Moore <clm@cygnus.com> - - * coff-arm.c (arm_emit_base_file_entry): New routine. - (A2T3_OFFSET): Define. - (T2A3_OFFSET): Define. - (coff_arm_relocate_section): Emit base file entries for interworking - stubs. - -1999-04-13 Philip Blundell <philb@gnu.org> - - * elfarm-nabi.c (elf32_arm_howto_table): Add dummy entries for - relocs 17 through 19. - -Sun Apr 11 01:25:17 1999 Richard Henderson <rth@cygnus.com> - - * elfcode.h: Remove fnmatch.h. - * elflink.h (elf_link_assign_sym_version): Call back to ld - instead of calling fnmatch. - - * config.bfd (i?86-*-beoself): Include pe vecs. - -Sun Apr 11 01:14:06 1999 Richard Henderson <rth@cygnus.com> - - * elf32-i386.c (elf_i386_finish_dynamic_sections): Allow .plt - to go missing. - -1999-04-10 Richard Henderson <rth@cygnus.com> - - * elf32-i386.c (elf_i386_relocate_section): Mind no_undefined - when trying to resolve dynamic symbol references. - * elf32-m68k.c (elf_m68k_relocate_section): Likewise. - * elf32-mips.c (mips_elf_relocate_section): Likewise. - * elf32-ppc.c (ppc_elf_relocate_section): Likewise. - * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. - * elf64-alpha.c (elf64_alpha_relocate_section): Likewise. - * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. - * elflink.h (elf_link_output_extsym): Likewise. - -Sat Apr 10 15:12:09 1999 Richard Henderson <rth@cygnus.com> - - * section.c (_bfd_strip_section_from_output): New function moved from - * elf64-alpha.c (elf64_alpha_strip_section_from_output): ... here. - * elf32-i386.c (elf_i386_size_dynamic_sections): Use it. - * elf32-m68k.c (elf_m68k_size_dynamic_sections): Likewise. - * elf32-mips.c (mips_elf_size_dynamic_sections): Likewise. - * elf32-ppc.c (ppc_elf_size_dynamic_sections): Likewise. - * elf32-sparc.c (elf32_sparc_size_dynamic_sections): Likewise. - * elf64-sparc.c (sparc64_elf_size_dynamic_sections): Likewise. - * bfd-in2.h: Update. - -1999-04-09 Ian Lance Taylor <ian@zembu.com> - - * elf64-sparc.c: Fix incorrect calls to bfd_check_overflow. - -1999-04-08 Nick Clifton <nickc@cygnus.com> - - * coff-mcore.c: New File: Support for mcore-pe targets. - * cpu-mcore.c: New File: Support for mcore targets. - * elf32-mcore.c: New File: Support for mcore-elf target. - * pe-mcore.c: New File: Definitions for mcore-pe target. - * pei-mcore.c: New File: Definitions for mcore-pei target. - * Makefile.am: Add support for MCore targets. - * Makefile.in: Regenerate. - * config.bfd: Add support for MCore targets. - * configure.in: Add support for MCore targets. - * configure: Regenerate. - * archures.c: Add support for MCore architecture. - * bfd-in2.h: Regenerate. - * coffcode.h: Add support for mcore-pe targets. - * elf.c: Add support for mcore-elf target. - * reloc.c: Add support for MCore relocs. - * targets.c: Add support for MCore targets. - -1999-04-07 Nick Clifton <nickc@cygnus.com> - - * elfarm-nabi.c (elf32_arm_howto_table): Add entries for - R_ARM_XPC25 and R_ARM_THM_XPC22. - (elf32_arm_reloc_map): Remove redundant entries. - -1999-04-06 Ian Lance Taylor <ian@zembu.com> - - * sysdep.h (LC_MESSAGES): Never define. - -1999-04-06 Chris Torek <torek@bsdi.com> - - * reloc.c (bfd_check_overflow): Add addrsize parameter. Change - all callers. Rewrite completely. - (_bfd_relocate_contents): Rewrite overflow checking. - * bfd-in2.h: Rebuild. - -1999-04-05 Ian Lance Taylor <ian@zembu.com> - - From Gabriel Paubert <paubert@iram.es>: - * elf32-ppc.c (ppc_elf_howto_raw): Set R_PPC_GOT16_LO, - R_PPC_PLT16_LO and R_PPC_SECTOFF_LO to be complain_overflow_dont. - Set R_PPC_PLT16_HA, R_PPC_SECTOFF_HA and R_PPC_EMB_NADDR16_HA to - have a rightshift of 16 and use ppc_elf_addr16_ha_reloc. - * ppcboot.c (ppcboot_vec): Use little endian routines for - headers. - - * elf.c (elfcore_strndup): Only define if it will be used. - * elf32-ppc.c (ppc_elf_relax_section): Remove unused locals irel - and irelend. - (ppc_elf_check_relocs): Remove unused local i. - (ppc_elf_gc_mark_hook): Add default case to switch. - - From Bernd Nitzler <nitzler@kagcpd01.ag01.kodak.COM>: - * srec.c (srec_scan): Accept \r in symbol definitions. - (srec_object_p): Set HAS_SYMS if we saw any symbols. - (symbolsrec_object_p): Likewise. - -1999-04-04 Don Bowman <don@pixsci.com> - - * config.bfd: Add mips*el-*-vxworks* and mips*-*-vxworks*. - -1999-04-04 Ian Lance Taylor <ian@zembu.com> - - * dwarf1.c (parse_line_table): Remove unused locals last_pc and - last_line. - * elf-bfd.h (_bfd_elfcore_section_from_phdr): Declare. - * elf32-i386.c (elf_i386_gc_mark_hook): Add default case to - switch. - * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Remove unused - local i. - * syms.c (_bfd_stab_section_find_nearest_line): Remove unused - local val. - -1999-03-31 Nick Clifton <nickc@cygnus.com> - - * config.bfd: Add support for arm-epoc-pe target. - * configure.in: Add support for arm-epoc-pe target. - * configure: Regenerate. - * targets.c: Add support for arm-epoc-pe target. - * coff-arm.c: Allow header files to override definition of - TARGET_UNDERSCORE and USER_LABEL_PREFIX. - * pe-arm.h: Allow previous header files to override definition of - TARGET_LITTLE_SYM and TARGET_BIG_SYM. - * pei-arm.h: Allow previous header files to override definition of - TARGET_LITTLE_SYM and TARGET_BIG_SYM. - * epoc-pe-arm.c: New file. Support arm-epoc-pe target. - * epoc-pei-arm.c: New file. Support arm-epoc-pei target. - -1999-03-30 Nick Clifton <nickc@cygnus.com> - - * elf.c (elf_map_symbols): Handle the case where section - symbols are generated for content-less sections which are - not mapped to the output file. - - * linker.c: Replace direct references to fields in BFD structure - with accessor macros. - - * elflink.h: Replace direct references to fields in BFD structure - with accessor macros. - -1999-03-25 Philip Blundell <pb@nexus.co.uk> - - * config.bfd: Eliminate redundancy in checks for Linux/ARM. - - * elf32-arm.h (elf32_arm_relocate_section): Take the rightshift into - account when adjusting section symbols during a partial link. - -1999-03-24 Nick Clifton <nickc@cygnus.com> - - * coff-sparc.c (struct coff_reloc_map): Change type of field - 'bfd_reloc_val' to bfd_reloc_code_real_type. - * elf-m10200.c (struct mn10200_reloc_map): Ditto. - * elf-m10300.c (struct mn10300_reloc_map): Ditto. - * elf32-arc.c (struct arc_reloc_map): Ditto. - * elf32-d10v.c (struct d10v_reloc_map): Ditto. - * elf32-d30v.c (struct d30v_reloc_map): Ditto. - * elf32-fr30.c (struct fr30_reloc_map): Ditto. - * elf32-m32r.c (struct m32r_reloc_map): Ditto. - * elf32-sh.c (struct elf_reloc_map): Ditto. - * elf32-sparc.c (struct elf_reloc_map): Ditto. - * elf32-v850.c (struct v850_reloc_map): Ditto. - * elf64-sparc.c (struct elf_reloc_map): Ditto. - * elfarm-nabi.c (struct elf32_arm_reloc_map): Ditto. - * elfarm-oabi.c (struct elf32_arm_reloc_map): Ditto. - -1999-03-17 Martin Hunt <hunt@cygnus.com> - - * syms.c (_bfd_stab_section_find_nearest_line): Changed this - function so source-level assembly works. If multiple N_SOs - are seen without and N_FUNs, create an indextable entry with - a NULL function name. - -1999-03-16 Gavin Romig-Koch <gavin@cygnus.com> - - * elf32-mips.c (_bfd_mips_elf_merge_private_bfd_data) Allow merging - of certian similar cpus. - -1999-03-16 Gavin Romig-Koch <gavin@cygnus.com> - - * elf32-mips.c (_bfd_mips_elf_final_write_processing): - Add the 5000. Change the architecture for the 5400 to mips4. - (elf_mips_mach): Add r5000. - -1999-03-11 Doug Evans <devans@casey.cygnus.com> - - * cpu-i960.c (scan_i960_mach): Recognize i960:ka_sa and i960:kb_sb. - -1999-03-11 Nick Clifton <nickc@cygnus.com> - - * binary.c (binary_set_section_contents): Generate warning about - huge file offsets for any section that will occupy file space, not - just those that are loadable. - -1999-02-24 Jim Blandy <jimb@zwingli.cygnus.com> - - * libbfd.h: Regenerate after Nick Clifton's Feb 17 changes. - -1999-02-22 Jim Lemke <jlemke@cygnus.com> - - * elf32-ppc.c: Add ppc_elf_relax_section() for the ld option mpc860c0. - -Mon Feb 22 18:26:51 1999 Ian Lance Taylor <ian@cygnus.com> - - * elf-bfd.h (ELF_LINK_HASH_REF_REGULAR_NONWEAK): Define. - * elflink.h: Revert all changes since Feb 16. Instead: - (elf_link_add_object_symbols): Set REF_REGULAR_NONWEAK flag if - appropriate. Copy it to version symbols. - (elf_fix_symbol_flags): Set REF_REGULAR_NONWEAK for non ELF - symbols if appropriate. - (elf_adjust_dynamic_symbol): Set REF_REGULAR_NONWEAK for weakdef - symbol if appropriate. - (elf_link_output_extsym): If symbol is marked as undefined, and - has no nonweak references, mark it as weak undefined. - -Fri Feb 19 16:01:12 1999 Ian Lance Taylor <ian@cygnus.com> - - * elflink.h (elf_merge_symbol): When overriding a dynamic - definition with a weak undefined symbol, set NEEDS_PLT if it is a - function. - (elf_link_add_object_symbols): Don't copy the other field if we - are overridding. - -Thu Feb 18 18:07:43 1999 Ian Lance Taylor <ian@cygnus.com> - - * elflink.h (elf_merge_symbol): Do not merge any symbol from a - shared object with a weak undefined symbol. - -1999-02-18 Nick Clifton <nickc@cygnus.com> - - * elfarm-nabi.c: Set partial_inplace back to false. - -1999-02-17 Nick Clifton <nickc@cygnus.com> - - * coff-arm.c (TARGET_UNDERSCORE): Re-enable. - (USER_LABEL_PREFIX): Set to "_". - - The following patches are from: Scott Bambrough - <scottb@corelcomputer.com> - - * libaout.h (M_ARM6_NETBSD): Set to 143. - - * reloc.c: Add ARM PIC relocs: BFD_RELOC_ARM_GOT12, - BFD_RELOC_ARM_GOT32, BFD_RELOC_ARM_JUMP_SLOT, BFD_RELOC_ARM_COPY, - BFD_RELOC_ARM_GLOB_DAT, BFD_RELOC_ARM_PLT32, - BFD_RELOC_ARM_RELATIVE, BFD_RELOC_ARM_GOTOFF, BFD_RELOC_ARM_GOTPC. - * bfd-in2.h: Regenerate. - - * elfarm-nabi.c (elf32_arm_howto_table): Set partial_inplace to - 'true' as REL relocs are now being used. Add new PIC relocs: - R_ARM_COPY, R_ARM_GLOB_DAT, R_ARM_JUMP_SLOT, R_ARM_RELATIVE, - R_ARM_GOTOFF, R_ARM_GOTPC, R_ARM_GOT32, R_ARM_PLT32. - - * elf32-arm.h (elf32_arm_merge_private_bfd_data): Check byte order - of targets. - (elf32_arm_final_link_relocate): Change parameters so that entire - reloc is passed. Add support for PIC relocs. - (elf32_arm_relocate_section): Pass entire reloc to - elf32_arm_final_link_relocate. - (elf32_arm_check_relocs): Handle new PIC relocs. - (elf32_arm_adjust_dynamic_symbol): New function. - (elf32_arm_size_dynamic_sections): New function. - (elf32_arm_discard_copies): New function. - (elf32_arm_finish_dynamic_symbol): New function. - (elf32_arm_finish_dynamic_sections): New function. - (ELF_MAXPAGE_SIZE): Define. - (bfd_elf32_bfd_reloc_type_lookup): Define. - (elf_backend_relocate_section): Define. - (elf_backend_adjust_dynamic_symbol): Define. - (elf_backend_create_dynamic_sections): Define. - (elf_backend_finish_dynamic_symbol): Define. - (elf_backend_finish_dynamic_sections): Define. - (elf_backend_size_dynamic_sections): Define. - (elf_backend_plt_readonly): Define. - (elf_backend_want_got_plt): Define. - (elf_backend_want_plt_sym): Define. - -Wed Feb 17 12:02:26 1999 Stan Cox <scox@cygnus.com> - - * elf32-mips.c (_bfd_mips_elf_section_from_shdr): Make reginfo - sections SEC_LINK_ONCE and SEC_LINK_DUPLICATES_SAME_SIZE. - (_bfd_mips_elf_fake_sections): Likewise. - -Wed Feb 17 12:07:23 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - - * elfarm-oabi.c (bfd_elf32_arm_allocate_interworking_sections, - bfd_elf32_arm_get_bfd_for_interworking, - bfd_elf32_arm_process_before_allocation): Define to avoid clash - with elfarm-nabi.c. - - * elf32-arm.h: Don't declare elf32_arm_info_to_howto. - (elf32_thumb_to_arm_stub, elf32_arm_to_thumb_stub, - elf32_arm_find_nearest_line): Make them static. - -Tue Feb 16 22:44:37 1999 Ian Lance Taylor <ian@cygnus.com> - - * elflink.h (elf_merge_symbol): Add pflags parameter. Change all - callers. Do not merge a definition from a shared object with a - weak undefined symbol. - (elf_link_add_object_symbols): Do not change the symbol type or - size if the old symbol overrides the new one. - -1999-02-08 Nick Clifton <nickc@cygnus.com> - - * config.bfd: Add support for strongarm target. - -Mon Feb 8 11:18:14 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - - * elf32-m68k.c (reloc_map): Use the correct types for the struct - fields instead of unsigned char. - -Fri Feb 5 00:22:36 1999 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.am: Rebuild dependencies. - * Makefile.in: Rebuild. - -Thu Feb 4 22:30:13 1999 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Change AC_PREREQ to 2.13. Remove AM_CYGWIN32. - Change AM_EXEEXT to AC_EXEEXT and AM_PROG_INSTALL to - AC_PROG_INSTALL. Add comments to uses of AC_DEFINE. - * acinclude.m4: Add comments to uses of AC_DEFINE. - * acconfig.h: Remove. - * configure: Rebuild with current autoconf/automake. - * aclocal.m4: Likewise. - * config.in: Likewise. - * Makefile.in: Likewise. - -1999-02-04 DJ Delorie <dj@cygnus.com> - - * libbfd.c (real_read): don't call fread for zero bytes. This - covers up a bug (or misuse of bfd) that's exposed by Solaris. - -Thu Feb 4 12:38:10 1999 Stan Cox <scox@cygnus.com> - - * elf32-mips.c (mips_elf_relocate_section): Insure that the target - of a jump is in the current 256 MB region. - -Thu Feb 4 12:15:38 1999 Ian Lance Taylor <ian@cygnus.com> - - * format.c (bfd_check_format_matches): Change last patch to only - take effect for the binary target. - -Wed Feb 3 19:40:12 1999 Ian Lance Taylor <ian@cygnus.com> - - * elf32-i386.c (elf_i386_reloc_type_lookup): Add BFD_RELOC_CTOR. - -Wed Feb 3 15:02:44 1999 Catherine Moore <clm@cygnus.com> - - * elf32-fr30.c (fr30_elf_check_relocs): New routine. - -Tue Feb 2 21:38:28 1999 Ian Lance Taylor <ian@cygnus.com> - - * format.c (bfd_check_format_matches): If the target was - previously specified, don't check other targets when checking for - an archive file. - -Tue Feb 2 18:16:43 1999 Catherine Moore <clm@cygnus.com> - - * elf32-arm.h (elf32_arm_reloc_map): Removed. - (elf32_arm_reloc_type_lookup): Removed - * elfarm-nabi.c (elf32_arm_reloc_map): New. - (elf32_arm_reloc_type_lookup): New. - * elfarm-oabi.c (elf32_arm_reloc_map): New. - (elf32_arm_reloc_type_lookup): New. - -Mon Feb 1 19:49:21 1999 Catherine Moore <clm@cygnus.com> - - * elfarm-nabi.c: Renamed from elf32-arm-newabi.c. - * elfarm-oabi.c: Renamed from elf32-arm-oldabi.c - * Makefile.am: Use new files. - * Makefile.in: Regenerate. - * configure.in: Use new files. - * configure: Regenerate. - -1999-02-01 Nick Clifton <nickc@cygnus.com> - - * elf32-fr30.c (fr30_elf_gc_mark_hook): New function. - (fr30_elf_gc_sweep_hook): New function. - (elf_backend_can_gc_sections): Define. - -Mon Feb 1 12:21:47 1999 Catherine Moore <clm@cygnus.com> - - * targets.c (bfd_target_vector): Add bfd_elf32_littlearm_oabi_vec - and bfd_elf32_bigarm_oabi_vec. - -Mon Feb 1 11:46:31 1999 Catherine Moore <clm@cygnus.com> - - * Makefile.am (elf32-arm-oldabi.lo): New. - (elf32-arm-newabi.lo): New. - * Makefile.in: Regenerate. - * config.bfd (thumb-*-elf): Remove definition of targ_underscore. - (arm-*-elf): Likewise. - (arm-*-oabi): New. - (thumb-*-oabi): New. - * configure: Regenerate. - * configure.in (bfd_elf32_littlearm_oabi_vec): New. - (bfd_elf32_bigarm_oabi_vec): New. - * elf32-arm-newabi.c: New. - * elf32-arm-oldabi.c: New. - * elf32-arm.c: Removed. - * elf32-arm.h: New. - -Mon Feb 1 11:52:12 1999 Frank Ch. Eigler <fche@cygnus.com> - - * binary.c (binary_set_section_contents): Omit warnings for - unloadable sections. - -1999-01-31 Michael Meissner <meissner@cygnus.com> - - * config.bfd (powerpc{,le}-*-vxworks*): Add aliases to - powerpc{,le}-*-eabi. - -1999-01-29 Nick Clifton <nickc@cygnus.com> - - * dwarf2.c (read_unsigned_leb128): Remove unused variables. - * dwarf2.c (read_signed_leb128): Remove unused variables. - -Fri Jan 29 00:47:21 1999 H.J. Lu <hjl@gnu.org> - - * elf.c (assign_file_positions_for_segments): Only adjust - p_align when needed. - -Thu Jan 28 20:05:22 1999 Ian Lance Taylor <ian@cygnus.com> - - * binary.c (binary_set_section_contents): Don't return early for a - non-loadable section, in case the first section is non-loadable. - Don't set the low lma for a SEC_NEVER_LOAD section. From Maciej - W. Rozycki <macro@ds2.pg.gda.pl>. - -1999-01-28 Nick Clifton <nickc@cygnus.com> - - * elf32-fr30.c (fr30_reloc_map): Add R_FR30_GNU_VTINHERIT and - R_FR30_GNU_VTENTRY relocs. - -Thu Jan 28 11:08:16 1999 Catherine Moore <clm@cygnus.com> - - * elflink.h (elf_link_output_sym): Zero syms which are - part of sections which have been excluded. - -Wed Jan 27 13:35:35 1999 Stan Cox <scox@cygnus.com> - - * coff-arm.c (_bfd_coff_arm_set_private_flags): Changed F_PIC - to F_PIC_INT. - * coffcode.h (coff_set_arch_mach_hook): Removed F_ARM_2a and - F_ARM_3M labels. Changed F_PIC to F_PIC_INT. - -1999-01-27 Nick Clifton <nickc@cygnus.com> - - * elf32-fr30.c (fr30_elf_howto_table): Fix name of R_FR30_48 - relocation. - (fr30_final_link_relocate): Use computed value as result of - relocation. - -1999-01-26 Frank Ch. Eigler <fche@cygnus.com> - - * binary.c (binary_set_section_contents): Emit warning for - huge file offsets due to widely-dispersed section LMAs. - -Mon Jan 18 03:35:35 1999 Ian Lance Taylor <ian@cygnus.com> - - * elf.c (assign_file_positions_for_segments): If not D_PAGED, - align first section to largest section alignment, not first - section alignment. - -1999-01-04 Jason Molenda (jsm@bugshack.cygnus.com) - - * configure.in: Require autoconf 2.12.1 or higher. - -Tue Dec 22 15:21:41 1998 Catherine Moore <clm@cygnus.com> - - * archures.c (bfd_mach_i386_i386_intel_syntax): Define. - * bfd-in2.h: Likewise. - * cpu-i386.c (bfd_i386_arch_intel_syntax): New. - -1998-12-16 Gavin Romig-Koch <gavin@cygnus.com> - - * archures.c,bfd-in2.h (bfd_mach_mips4111): New. - * cpu-mips.c: Add support for and independent 4111. - * elf32-mips.c (elf_mips_mach): E_MIPS_MACH_4111 -> bfd_mach_mips4111. - (_bfd_mips_elf_final_write_processing): - bfd_mach_mips4111 -> E_MIPS_ARCH_3 | E_MIPS_MACH_4111. - -1998-12-15 Gavin Romig-Koch <gavin@cygnus.com> - - * elf32-mips.c (elf_mips_abi_name): New. - (_bfd_mips_elf_merge_private_bfd_data): Compare EF_MIPS_ABI flags. - -1998-12-12 Gavin Romig-Koch <gavin@cygnus.com> - - * elf32-mips.c (_bfd_mips_elf_final_write_processing): - Handle bfd_mach_mips4300. - -1998-12-11 Ulrich Drepper <drepper@cygnus.com> - - * elf32-i386.c: Remove leaked development code from patch - 1998-12-10 by Richard Henderson. - -1998-12-10 Richard Henderson <rth@cygnus.com> - - * elf32-i386.c (elf_i386_relocate_section): Don't fail relocations - in debug sections for symbol defined externally. - -Thu Dec 10 10:58:38 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - - * targets.c (bfd_target_vector): Remove duplicate entry for - tekhex_vec. - -1998-12-09 Nick Clifton <nickc@cygnus.com> - - * elf32-fr30.c (fr30_elf_howto_table): Set src_mask fields to 0 - since we are using RELAs. - -Tue Dec 8 22:15:48 1998 Ian Lance Taylor <ian@cygnus.com> - - SCO Open Server Release 5 core file support, from Jouke Numan - <jnuman@hiscom.nl>: - * sco5-core.c: New file. - * configure.in (i[3456]86-*-sco3.2v5*): Use sco5-core.lo. - (sco5-core.lo): Define SCO5_CORE in COREFLAG. - * Makefile.am: Rebuild dependencies. - (OPTIONAL_BACKENDS): Add sco5-core.lo. - (OPTIONAL_BACKENDS_CFILES): Add sco5-core.c. - * bfd.c (struct _bfd): Add sco5_core_data field to tdata. - * targets.c (sco5_core_vec): Add to target list if SCO5_CORE. - * bfd-in2.h, configure, Makefile.in: Rebuild. - -Tue Dec 8 19:38:42 1998 Mark Klein <mklein@dis.com> - - * config.bfd (hppa*-*-mpeix*): New target. - * configure.in: Add AC_HEADER_DIRENT. - (hppa*-*-mpeix*): New target. - * configure.host (hppa*-*-mpeix*): New host. - * hpux-core.c: Check HOST_HPPAMPEIX. Use HAVE_DIRENT_H and - friends rather than just including <sys/dir.h>. - * som.h (struct som_symbol): Add hppa_priv_level and apto - tc_data. Change all users. - (struct somdata): Add comp_unit field. - (obj_som_compilation_unit): Define. - (bfd_som_attach_compilation_unix): Declare. - * som.c: Check HOST_HPPAMPEIX. - (struct som_misc_symbol_info): Add new field priv_level. - (som_object_setup): Add current_offset parameter. Change all - callers. - (setup_sections): Likewise. - (som_object_p): For EXECLIBMAGIC, read the lst header. - (som_write_symbol_strings): Add compilation_unit parameter. - Change all callers. - (som_finish_writing): Write out compilation_unit. - (som_bfd_derive_misc_symbol_info): Set priv_level. - (som_build_and_write_symbol_table): Set xleast field to 3. - (som_slurp_symbol_table): Set symbol priv_level. - (bfd_som_attach_compilation_unit): New function. - (som_bfd_ar_write_symbol_stuff): Set xleast field to 3. Set - priv_level into symbol_value. - * configure, config.in: Rebuild. - -Tue Dec 8 16:21:35 1998 Ian Lance Taylor <ian@cygnus.com> - - * hpux-core.c (hpux_core_core_file_p): Change call to nonexistent - warning function to call _bfd_error_handler instead. - - * libbfd.c (COERCE32): Cast through unsigned long and long to - avoid bug in old version of gcc. - - * elf64-alpha.c (elf64_alpha_additional_program_headers): Remove. - (elf_backend_additional_program_headers): Don't define. - -1998-12-08 Nick Clifton <nickc@cygnus.com> - - * elf32-fr30.c (fr30_final_link_relocate): Fix PC relative - relocations to include offset of 2 included in the insns, and the - offset of the relocs within the section. - -Wed Dec 2 15:03:59 1998 David Taylor <taylor@texas.cygnus.com> - - The following changes were made by David Taylor - <taylor@texas.cygnus.com>, Edith Epstein - <eepstein@sophia.cygnus.com>, Jim Blandy - <jimb@zwingli.cygnus.com>, and Elena Zannoni - <ezannoni@kwikemart.cygnus.com> as part of the project to merge in - changes originally made by HP; HP did not create ChangeLog - entries. - - * aclocal.m4, configure, Makefile.in: Rebuilt using latest - automake macro library. - - * hpux-core.c (hpux_core_core_file_p): this function now - understands HPUX 10.30 thread info. Yes, the thread stacks can be - found in the corefile! Also, in hpux_core_core_file_p, if we - encounter a section with an unknown type, don't punt. Instead, - just skip it. Also, count the number of sections of known type - that we encounter. If we encounter at least one good one, then - we'll declare that the file is a core file. If we encounter any - unknown ones but some known ones, then we'll issue a warning (but - still declare it to be a core file). Also, correctly decide when a - file is not a core. - (PROC_INFO_HAS_THREAD_ID): define if CORE_ANON_SHMEM defined. - (CORE_ANON_SHMEM): define if not defined. - (hpux_core_struct): add members lwpid and user_tid. - (core_kernel_thread_id, core_user_thread_id): new macros. - (make_bfd_asection): use bfd_alloc to allocate room for a copy of - the name before storing it in the bfd. - (hpux_core_core_file_p): handle threads. - - * libhppa.h (GET_FIELD): protect against redefinition. - (HPPA_WIDE): define. - (GET_FIELD): define. - (GET_BIT): define. - (MASK): define. - (CATENATE): define. - (ELEVEN): define. - (sign_extend): redefine. - (assemble_6): define. - (assemble_12): rewrite. - (assemble_16): define. - (assemble_16a): define. - (assemble_17): rewrite. - (assemble_22): define. - -1998-12-07 Nick Clifton <nickc@cygnus.com> - - * elf32-fr30.c (fr30_final_link_relocate): Using signed - relocations for signed values. - -Sun Dec 6 16:30:33 1998 Ian Lance Taylor <ian@cygnus.com> - - * mipsbsd.c (MY(set_arch_mach)): Make static. - * aoutx.h (NAME(aout,machine_type)): For bfd_arch_mips, use - bfd_mach_mips* macros rather than simple numbers. - - COFF weak symbol support, based on patches from Mark Elbrecht - <snowball3@usa.net>: - * coffcode.h (coff_slurp_symbol_table): Handle C_WEAKEXT. - * coffgen.c (coff_renumber_symbols): Handle weak symbols. - (coff_write_alien_symbol): Likewise. - * cofflink.c (coff_link_check_ar_symbols): Likewise. - (coff_link_add_symbols): Likewise. - (_bfd_coff_link_input_bfd): Likewise. - (_bfd_coff_write_global_sym): Likewise. - - * elf.c (copy_private_bfd_data): Always initialize the - includes_phdrs field. - - * elflink.h (elf_fix_symbol_flags): Check for case where a non-ELF - file defines a symbol first mentioned in an ELF file. - - * bfd-in.h: Always define BFD_HOST_64_BIT and BFD_HOST_U_64_BIT if - possible, rather than only if BFD64. - * elflink.h (compute_bucket_count): Just check BFD_HOST_U_64_BIT, - not __GNUC__. - * bfd-in2.h: Rebuild. - - * srec.c (srec_set_section_contents): Correct test to avoid - switching to 4 byte addresses after seeing a second section which - requires 3 byte addresses. From Joel Schantz - <joel.schantz@argosys.boeing.com>. - - * config.bfd (m68*-*-gnu*): New target. From Aymeric Vincent - <aymeric.vincent@emi.u-bordeaux.fr>. - -1998-12-04 Jim Blandy <jimb@zwingli.cygnus.com> - - * elf32-ppc.c (ppc_elf_merge_private_bfd_data): Fix logic to - decide whether the output file is -mrelocatable-lib, - -mrelocatable, or neither. (gdb.base/nodebug.exp) - -1998-12-03 Nick Clifton <nickc@cygnus.com> - - * elf32-fr30.c: Add support for R_FR30_48 reloc. - * reloc.c: Add BFD_RELOC_FR30_48 relocation. - * bfd-in2.h: Regenerate. - * libbfd.h: Regenerate - -Wed Dec 2 00:58:37 1998 Ian Lance Taylor <ian@cygnus.com> - - * elflink.h (elf_adjust_dynamic_symbol): Warn on an attempt to - link against a dynamic symbol with no type or size. - -1998-12-01 Ulrich Drepper <drepper@cygnus.com> - - * elf32-i386.c (i386_check_relocs) [R_386_32]: Don't emit - relocation for section which does not get loaded. - (elf_i386_relocate_section) [R_386_32]: Likewise. - -Tue Dec 1 11:33:33 1998 Jim Wilson <wilson@cygnus.com> - - * coff-h8300.c (h8300_bfd_link_add_symbols): Make reloc_size, - reloc_count and i long instead of unsigned long. Handle error - return from bfd_canonicalize_reloc. - -1998-12-01 Nick Clifton <nickc@cygnus.com> - - * elf32-v850.c (v850_elf_relocate_section): Detect the absence of - a hash table. - -Mon Nov 30 15:28:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk> - - * elf32-sh.c (elf/sh.h): Include. - sh_reloc_type: Delete. Changed all references to elf_sh_reloc_type. - (sh_elf_howto_tab): Add HOWTO for R_SH_SWITCH8. - (sh_reloc_map): Map BFD_RELOC_8_PCREL to R_SH_SWITCH8. - (sh_elf_relax_delete_bytes): Handle R_SH_SWITCH8. - * Makefile.in: Add dependency of elf32-sh.lo on $(INCDIR)/elf/sh.h. - -Fri Nov 27 17:51:38 1998 Geoff Keating <geoffk@ozemail.com.au> - - * elflink.h (compute_bucket_count): Don't allow minsize==0, it - causes division by zero later on. - -Thu Nov 26 11:19:35 1998 Dave Brolley <brolley@cygnus.com> - - * elf32-fr30.c (fr30_elf_pc9_reloc,fr30_elf_pc12_reloc): Not - needed. - -1998-11-25 DJ Delorie <dj@cygnus.com> - - * coff-i386.c (i3coff_object_p): Remove hack. Use new emulation - hook now. - -Tue Nov 24 10:25:27 1998 Nick Clifton <nickc@cygnus.com> - - * elf32-fr30.c (fr30_elf_relocate_section): Call - fr30_final_link_relocate. - (fr30_final_link_relocate): New function: Handle I20 and I32 - relocs. - (fr30_elf_i32_reloc): New function: Handle I32 relocs. - (fr30_elf_pc9_reloc): New function: Handle 9_PCREL relocs. - (fr30_elf_pc12_reloc): New function: Handle 12_PCREL relocs. - - * elf32-v850.c (v850_elf_relocate_section): Reset hi16s reloc - chain to empty. - - The following changes are based on a patch submitted by Gianluca - Moro <glctr@abc.it>: - - (v850_elf_perform_relocation): Only update a hi16s reloc if it has - not already been updated. - (find_remembered_hi16s_reloc): New parameter 'already_found' - returns state of remembered hi16s reloc. - (remember_hi16s_reloc): Set 'found' field to false. - (hi16s_location): Add 'found' field. - -1998-11-23 DJ Delorie <dj@cygnus.com> - - * coff-i386.c (bfd_pe_dll_not_recognized_hack): the linker wants - to see .DLL files as unrecognized. - (i3coff_object_p): Sorry, had to hack it to not recognize these - files (pei-i386) on request. - -1998-11-23 DJ Delorie <dj@cygnus.com> - - * opncls.c (bfd_make_readable): need more cleanup for symbols and - relents. Call bfd_check_format to reinitialize. - -Fri Nov 20 14:21:36 1998 Nick Clifton <nickc@cygnus.com> - - * elf32-fr30.c (fr30_elf_relocate_section): Remove spurious - warnings. - -Thu Nov 19 14:42:15 1998 Geoffrey Noer <noer@cygnus.com> - - * aclocal.m4: regenerate - * configure: regenerate - -Tue Nov 17 20:23:35 1998 Richard Henderson <rth@cygnus.com> - - * elf-bfd.h (struct elf_link_hash_entry): Add vtable_entries_size. - * elf.c (_bfd_elf_link_hash_newfunc): Clear it. - * elflink.h (elf_gc_propagate_vtable_entries_used): Copy it, and - respect it as an upper bound on what memory to reference. - (elf_gc_smash_unused_vtentry_relocs): Likewise. - (elf_gc_record_vtentry): Handle as-yet undefined vtables. Set and - update vtable_entries_size appropriately. - -Tue Nov 17 15:28:31 1998 Nick Clifton <nickc@cygnus.com> - - * elf32-fr30.c (fr30_reloc_type_lookup): Used integers to hold - reloc number. - -Mon Nov 16 22:19:21 1998 DJ Delorie <dj@cygnus.com> - - * archive.c (bfd_ar_hdr_from_filesystem): support BFD_IN_MEMORY - bfds; they have no "file" so we fake it. - * bfd-in2.h: add bfd_make_writable and bfd_make_readable (regen) - * libbfd.c (bfd_write): Allow writing to BFD_IN_MEMORY bfds by - resizing the memory buffer. - * opncls.c (bfd_make_writable): New function; lets you write a - bfd_create'd bfd to an in-memory buffer. - (bfd_make_readable): New function; lets you read back that buffer - as if it were from bfd_openr. Used to build generated archive - members (winsup's ld's dlltool) - -Mon Nov 16 19:15:19 1998 Dave Brolley <brolley@cygnus.com> - - * po/bfd.pot: Regenerated. - -Mon Nov 16 10:57:06 1998 Nick Clifton <nickc@cygnus.com> - - * elf32-v850.c (hi16s_location): Replaced fixed size array with - linked list. - -Sun Nov 15 20:28:25 1998 Richard Henderson <rth@cygnus.com> - - * elf64-alpha.c (elf64_alpha_relax_section): Search for the proper - element of the gotentry list for local symbols too. - (elf64_alpha_relocate_section): Unify local and global handling. - Assert that gotent->use_count > 0. - -Sat Nov 14 15:16:01 1998 Ian Lance Taylor <ian@cygnus.com> - - * configure.in (vms_alpha_vec): Rename from evax_alpha_vec, and - update for file name changes of July 2, 1998. - (vms_vax_vec): New. - * configure: Rebuild. - -Thu Nov 12 19:19:54 1998 Dave Brolley <brolley@cygnus.com> - - * po/bfd.pot: Regenerated. - -Tue Nov 10 16:17:06 1998 Geoffrey Noer <noer@cygnus.com> - - * acinclude.m4, config.bfd: detect cygwin* instead of cygwin32*. - * aclocal.m4, configure: regenerate - -Tue Nov 10 15:13:59 1998 Nick Clifton <nickc@cygnus.com> - - * elf.c (prep_headers): Add support for bfd_arch_fr30. - -Tue Nov 10 13:37:36 1998 Felix Lee <flee@cygnus.com> - - * acinclude.m4 (BFD_HAVE_SYS_PROCFS_TYPE, - BFD_HAVE_SYS_PROCFS_TYPE_MEMBER): didn't define macro when value - was cached. - * aclocal.m4, configure: regenerated. - -Tue Nov 10 14:31:01 1998 Catherine Moore <clm@cygnus.com> - - * elf32-d10v.c (reloc_type): Add R_D10V_GNU_VTINHERIT and - R_D10V_GNU_VTENTRY relocs. - (elf_d10v_howto_table): Likewise. - (d10v_reloc_map d10v_reloc_map): Likewise. - (elf32_d10v_gc_mark_hook): New. - (elf32_d10v_gc_sweep_hook): New. - (elf32_d10v_check_relocs): New. - (elf32_d10v_relocate_section): New. - (elf_backend_relocate_section): Define. - (elf_backend_can_gc_sections): Define. - -Sat Nov 7 18:07:51 1998 Peter Schauer <peter.schauer@regent.e-technik.tu-muenchen.de> - - * Makefile.am (BFD32_BACKENDS): Move vms files here... - (BFD64_BACKENDS): ...from here. - (BFD32_BACKENDS_CFILES): Move vms files here... - (BFD64_BACKENDS_CFILES): ...from here. - * Makefile.in: Rebuild. - -Wed Nov 4 15:58:48 1998 Nick Clifton <nickc@cygnus.com> - - * Makefile.am: Add FR30 target. - * Makefile.in: Add FR30 target. - * archures.c: Add support for FR30. - * config.bfd: Add support for FR30. - * configure.in: Add support for FR30. - * reloc.c: Add support for FR30 relocations. - * targets.c: Add support for FR30 relocations. - * bfd-in2.h: Regenerate. - * configure: Regenerate. - * libbfd.h: Regenerate. - * cpu-fr30.c: New file. - * elf32-fr30.c: New file. - -Mon Nov 2 14:59:33 1998 Geoffrey Noer <noer@cygnus.com> - - * configure.in: detect cygwin* instead of cygwin32* - * configure: regenerate - -Sun Nov 1 19:32:28 1998 Jeffrey A Law (law@cygnus.com) - - * elf-m10300.c (mn10300_elf_relax_section): Do not use alloca, - use bfd_malloc and free instead and check return value from bfd_malloc. - -Sun Nov 1 16:20:35 1998 Ian Lance Taylor <ian@cygnus.com> - - * libbfd-in.h (_bfd_dwarf1_find_nearest_line): Declare. - * libbfd.h: Rebuild. - - * elf32-mips.c (mips_elf_dynsym_sec_names): Comment out. - (SIZEOF_MIPS_DYNSYM_SECNAMES): Likewise. - (MIPS_TEXT_DYNSYM_SECN): Likewise. - (_bfd_mips_elf_fake_sections): Don't set sh_info field of a .hash - section. - (struct mips_elf_link_hash_table): Remove dynsym_sec_strindex - field. - (mips_elf_link_hash_table_create): Don't initialize - dynsym_sec_strindex. - (mips_elf_gc_mark_hook): Add default case to avoid warning. - (mips_elf_size_dynamic_sections): Generate a section symbol for - every output section. - (mips_elf_finish_dynamic_sections): Count all sections for - DT_MIPS_UNREFEXTNO. - (mips_elf_finish_dynamic_sections): Use dynamic symbols for all - output sections. - -Sun Nov 1 12:46:53 1998 Geoff Keating <geoffk@ozemail.com.au> - - * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Allocate two slots - for later PLT entries in large PLTs. - (ppc_elf_finish_dynamic_symbol): Allow for the extra slots. - -Sat Oct 31 20:10:09 1998 Jeffrey A Law (law@cygnus.com) - - * elf32-ppc.c (ppc_elf_reload_section): Fix typo. - -1998-10-26 15:58 Ulrich Drepper <drepper@cygnus.com> - - * elf-bfd.h (struct elf_link_hash_entry): Add new field elf_hash_value. - * elflink.h (elf_collect_hash_codes): New function. This function is - called for each exported symbol and we compute the ELF hash value for - it. - (compute_bucket_value): New function. It is called from - size_dynamic_sections to determine the hash table size. When we are - optimizing a better, but slower, algorithm is used. - (size_dynamic_sections): Call compute_bucket_value. - - * elf.c (bfd_elf_hash): Optimize the hash function a bit. - -Mon Oct 19 20:03:21 1998 Catherine Moore <clm@cygnus.com> - - * elf32-sh.c: Add HOWTO entries for R_SH_GNU_VTINHERIT and - R_SH_GNU_VTENTRY. - (sh_elf_gc_mark_hook): New. - (sh_elf_gc_sweep_hook): New. - (sh_elf_check_relocs): New. - (elf_backend_can_gc_sections): Define. - -Mon Oct 19 16:57:05 1998 Felix Lee <flee@cygnus.com> - - * acinclude.m4: undo previous gettext change - * aclocal.m4: rebuild with right version of aclocal. - -Mon Oct 19 01:47:21 1998 Felix Lee <flee@cygnus.com> - - * acinclude.m4, aclocal.m4: move gettext-related fragments from - aclocal.m4 to acinclude.m4, so they don't get lost. - - * elfcore.h: rewrite for better corefile support. - * elf.c (elfcore_*): new functions. - * elf-bfd.h (elf_obj_tdata): new structure members. - * acconfig.h, acinclude.m4, configure.in: add feature-tests for - flavor of procfs. - * aclocal.m4, config.in, configure, Makefile.in: regenerated. - -Fri Oct 16 14:07:45 1998 Catherine Moore <clm@cygnus.com> - - * elf32-m32r.c: Add HOWTO entries for R_M32R_GNU_VTINHERIT - and R_M32R_GNU_VTENTRY. - (elf_backend_can_gc_sections): Define. - (m32r_elf_check_relocs): New. - (m32r_elf_gc_mark_hook): New. - (m32r_elf_gc_sweep_hook): New. - (m32r_elf_relocate_section): Handle VT relocs. - -Mon Oct 12 14:18:40 1998 Nick Clifton <nickc@cygnus.com> - - * coff-arm.c (arm_relocate_section): Remove redundant test. - - * bfd-in2.h (struct reloc_howto_struct): Improve comment to make - cleat that the 'bitsize' field is the size of the bitfield AFTER - relocation not before. - - * elf32-m32r.c (R_M32R_18_PCREL): Fix size of bitfield. - - * coff-mips.c (mips_relocate_hi): Cope with missing refhi or reflo - relocs. - -Tue Oct 6 09:20:44 1998 Catherine Moore <clm@cygnus.com> - - * elf32-sparc.c: Add HOWTO entries for R_SPARC_GNU_VTINHERIT and - R_SPARC_GNU_VTENTRY. - (elf32_sparc_check_relocs): Handle them. - (elf32_sparc_reloc_type_lookup): Likewise. - (elf32_sparc_relocate_section): Likewise. - (elf32_sparc_gc_mark_hook): New. - (elf32_sparc_gc_sweep_hook): New. - -Mon Oct 5 14:55:30 1998 Jeffrey A Law (law@cygnus.com) - - * som.c (som_finish_writing): Perform some sanity checks when - writing an executable or shared library. - -Mon Oct 5 12:02:31 1998 Gavin Romig-Koch <gavin@cygnus.com> - - * dwarf1.c : New file. Adds _bfd_dwarf1_find_nearest_line. - * configure.in (elf): Add dwarf1.lo. - * elf_bfd.h (elf_ob_tdata): Add dwarf1_find_line_info. - * elf.c (_bfd_elf_find_nearest_line): Add call to - _bfd_dwarf1_find_nearest_line. - * elf32-mips.c (_bfd_mips_elf_find_nearest_line): - Add call to _bfd_dwarf1_find_nearest_line. - * configure: Rebuilt. - -Mon Oct 5 10:06:22 1998 Catherine Moore <clm@cygnus.com> - - * elflink.h (elf_gc_sections): Do not allow garbage - collection if dynamic sections have been created. - -Mon Oct 5 09:07:37 1998 Catherine Moore <clm@cygnus.com> - - * elf32-v850.c: Add HOWTO entries for R_V850_GNU_VTINHERIT and - R_V850_GNU_VTENTRY. - (v850_elf_check_relocs): Handle VTINHERIT and VTENTRY relocs. - (v850_elf_perform_relocation): Likewise. - (v850_elf_final_link_relocate): Likewise. - (v850_elf_relocate_section): Likewise. - (v850_elf_gc_sweep_hook): New routine. - (v850_elf_gc_mark_hook): New routine. - (elf_backend_can_gc_sections): Define. - -Mon Oct 5 09:04:25 1998 Catherine Moore <clm@cygnus.com> - - * elf32-m68k.c (elf_m68k_gc_sweep_hook): Don't assume - that dynobj exists. - -Sun Oct 4 23:29:34 1998 David Edelsohn <edelsohn@mhpcc.edu> - - * rs6000-core.c (rs6000coff_core_file_matches_executable_p): - Declare size as bfd_size_type. - (rs6000coff_get_section_contents): Declare count as bfd_size_type. - -Sun Oct 4 20:38:29 1998 Jeffrey A Law (law@cygnus.com) - - * cpu-hppa.c (bfd_hppa20_arch): Define. Link it into the bfd_hppa_arch - structure. - * som.c (CPU_PA_RISC2_0): Define. - (_PA_RISC2_0_ID): Likewise. - (som_finish_writing): Use CPU_PA_RISC2_0 for the system_id as needed. - -Sun Oct 4 21:19:09 1998 Ian Lance Taylor <ian@cygnus.com> - - * elflink.h (elf_link_add_object_symbols): When a versioned symbol - has a base which is already defined, only add the referenced - symbol to the dynamic symbol table if it is defined or referenced - by a regular file. - - * elf32-i386.c (elf_i386_info_to_howto_rel): Handle vtable relocs - correctly. - -1998-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * elflink.h (elf_link_add_object_symbols): Undo last change. - -Wed Sep 23 16:09:31 1998 Richard Henderson <rth@cygnus.com> - - * elflink.h (elf_link_add_object_symbols): Don't record a dynamic - symbol for the indirect alias to a versioned symbol. - -Mon Sep 21 12:15:22 1998 Catherine Moore <clm@cygnus.com> - - * elf32-i386.c (elf32_i386_vtinherit_howto): New. - (elf32_i386_vtentry_howto): New. - (elf_i386_reloc_type_lookup): Return elf32_i386_vtentry_howto - or elf32_i386_vtinherit_howto on lookup. - -Sun Sep 20 00:48:07 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * elf32-m68k.c: Include "elf/m68k.h". Remove definition of enum - reloc_type. Rename R_68K__max to R_68K_max. - (howto_table): Use _bfd_elf_rel_vtable_reloc_fn for a VTENTRY - reloc. - -Sun Sep 20 00:09:25 1998 Chris Torek <torek@bsdi.com> - - * libbfd.c (bfd_getb32): Rewrite expression to get better code. - (bfd_getl32, bfd_getb_signed_32, bfd_getl_signed_32): Likewise. - - * libbfd.c (bfd_log2): Cast to bfd_vma before shifting, not - after. - -Sat Sep 19 22:42:23 1998 Doug Rabson <dfr@nlsystems.com> - - * elflink.h (elf_link_add_object_symbols): Ensure that the warning - message has a null byte terminator. - -Fri Sep 18 14:35:29 1998 Nick Clifton <nickc@cygnus.com> - - * elf32-v850.c (v850_elf_perform_relocation): Ignore contents of - word subject to R_V850_32 relocation. - -Thu Sep 17 17:20:36 1998 Nick Clifton <nickc@cygnus.com> - - * dwarf2.c: Add comment describing problem computing line numbers - for undefined symbols at link time. - -Thu Sep 17 16:03:28 1998 Richard Henderson <rth@cygnus.com> - - * elf64-alpha.c (elf64_alpha_adjust_dynamic_symbol): Don't - transform a defweak into a plt entry. - (elf64_alpha_calc_dynrel_sizes): Allow room for secondary - plt entry references to receive a RELATIVE reloc. - (elf64_alpha_finish_dynamic_symbol): Fill them in. - (elf64_alpha_relocate_section): Assert we don't overrun - the allocated relocation space. - -Wed Sep 16 18:03:13 1998 Nick Clifton <nickc@cygnus.com> - - * elf.c (swap_out_syms): Always treat section symbols as - special, even if they are attached to a common section. - -Wed Sep 16 10:34:13 1998 Nick Clifton <nickc@cygnus.com> - - * elf32-v850.c (v850_elf_symbol_processing): Move symbols in - sections with v850 common section attributes into named v850 - common sections. - (v850_elf_add_symbol_hook): Move symbols in sections with v850 - common section attributes into named v850 common sections. - -Wed Sep 16 11:26:49 CDT 1998 Catherine Moore <clm@cygnus.com> - - * elf32-arm.c (elf32_arm_gc_mark_hook): Remove print - statement. - -1998-09-15 Geoff Keating <geoffk@ozemail.com.au> - - * elf32-ppc.c (ppc_elf_relocate_section): Reverse output_offset - part of Vladimir's change of 1998-08-19. Make a R_PPC_SDAREL16 - reloc to the wrong section a warning, not an error. .dynsbss - is not an output section, so there is no need to check for it. - -Tue Sep 15 12:40:05 1998 Catherine Moore <clm@cygnus.com> - - * elf-bfd.h: Add argument to elf_backend_get_symbol_type. - -Tue Sep 15 08:34:40 1998 Catherine Moore <clm@cygnus.com> - - * elf.c (swap_out_syms): Pass type to elf_backend_get_symbol_type. - * elf32-arm.c: Add HOWTO entries for R_ARM_GNU_VTINHERIT and - R_ARM_GNU_VTENTRY. - (elf32_arm_gc_mark_hook): New. - (elf32_arm_gc_sweep_hook): New. - (elf32_arm_check_relocs): New. - (elf32_arm_final_link_relocate): Handle VTINHERIT and VTENTRY - relocations. - (elf32_arm_relocate_section): Handle VTINHERIT and VTENTRY - relocations. - -1998-09-10 Geoff Keating <geoffk@ozemail.com.au> - - * elf32-ppc.c (ppc_elf_relocate_section): If dynobj is NULL, - assume there is no PLT or GOT. - -Wed Sep 9 14:24:12 1998 Nick Clifton <nickc@cygnus.com> - - * elf32-arm.c (elf32_arm_find_nearest_line): New function: just - like _elf_bfd_find_nearest_line() except that STT_ARM_TFUNC is - also accepted as a function symbol type. - -Mon Sep 7 13:24:03 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> - - * rs6000-core.c (_LONG_LONG): Define for AIX 4.x only. - -Sat Sep 5 20:40:18 1998 Ian Lance Taylor <ian@cygnus.com> - - * libbfd-in.h (_bfd_nolink_bfd_gc_sections): Correct definition to - match definition of _bfd_gc_sections field. - * libbfd.h: Rebuild. - -Fri Sep 4 13:54:23 1998 David Miller <davem@dm.cobaltmicro.com> - - * elf32-sparc.c (elf32_sparc_relocate_section): Properly adjust - the addend of a dynamic relocation referencing a section. - * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. - (sparc64_elf_finish_dynamic_symbol): Fix the PLT relocation offset. - -Thu Sep 3 17:28:50 1998 Richard Henderson <rth@cygnus.com> - - * elflink.h (bfd_elfNN_size_dynamic_sections): Verify that the - bed has a size_dynamic_sections routine before trying to use it. - -Mon Aug 31 14:49:22 1998 Richard Henderson <rth@cygnus.com> - - * elf32-mips.c (elf_mips_gnu_vtentry_howto): Use - _bfd_elf_rel_vtable_reloc_fn. - -Mon Aug 31 10:23:40 1998 Catherine Moore <clm@cygnus.com> - - * Makefile.am: Add elf32-arm.c. - * Makefile.in: Rebuild. - * elf-bfd.h: Add elf_backend_get_symbol_type. - * elf.c (swap_out_syms): If defined, call - elf_backend_get_symbol_type. - * elf32-arm.c: Define elf_backend_get_symbol_type. - (elf32_arm_get_symbol-type): New routine. - (record_thumb_to_arm_glue): Change to use STT_ARM_TFUNC. - (bfd_elf32_arm_process_before_allocation): Change to - check for STT_ARM_TFUNC. - (elf32_arm_final_link_relocate): Likewise. - * elfxx-target.h: Add elf_backend_get_symbol_type. - -Fri Aug 28 19:44:07 1998 Richard Henderson <rth@cygnus.com> - - * archures.c (bfd_mach_alpha_ev[456]): New. - * cpu-alpha.c: Rework to match these types. - * bfd-in2.h: Rebuild. - -Fri Aug 28 19:38:53 1998 Richard Henderson <rth@cygnus.com> - - * elf-bfd.h (_bfd_elf_rel_vtable_reloc_fn): Declare. - * elf.c (_bfd_elf_rel_vtable_reloc_fn): New. - - * elf32-i386.c (elf_howto_table): Add vtable relocs. - (elf_i386_reloc_type_lookup): Recognize them. - (elf_i386_check_relocs): Pass them off to generic code. - (elf_i386_relocate_section): Ignore them. - (elf_i386_gc_mark_hook, elf_i386_gc_sweep_hook): New. - (elf_backend_can_gc_sections): True. - -Thu Aug 20 15:03:45 1998 Nick Clifton <nickc@cygnus.com> - - * elf32-arm.c (elf32_thumb_to_arm_stub): Check sym_sec is not NULL - before looking at owner field. - (elf32_arm_to_thumb_stub): Ditto. - (elf32_arm_relocate_section): Compute name before calling - elf32_arm_final_link_relocate(). - -Thu Aug 20 11:30:17 1998 Michael Snyder <msnyder@cleaver.cygnus.com> - - * elf.c: comment and formatting cleanups. - * elfcore.h: ditto. - -Wed Aug 19 15:43:26 1998 Michael Snyder <msnyder@cleaver.cygnus.com> - - * elfcode.h (elf_object_p): Reject files of header type ET_CORE - (core files are treated differently than object files). - * elf-bfd.h (_bfd_elf_write_corefile_contents, - bfd_elf_mkcorefile): declare. - * elfxx-target.h (_bfd_elf_write_corefile_contents, - bfd_elf_mkcorefile): add to bfd_target vector. - * elfcore.h (elf_core_file_p): save the program header table, - and set the bfd architecture from the elf file header. - * elf.c (bfd_elf_mkcorefile): new function. - (_bfd_elf_write_corefile_contents): new function. - (assign_file_positions_for_segments): add cases for handling - PT_NOTE segments. (assign_file_positions_except_relocs): - core files should be handled the same as exec files. - (prep_headers): identify core files as type ET_CORE. - (copy_private_bfd_data): identify the sections belonging to - the PT_NOTE segment. - - * elf32-sparc.c (elf32_sparc_final_write_processing): - add break statement to default case. - -1998-08-19 Vladimir N. Makarov <vmakarov@cygnus.com> - - * elf32-ppc.c (ppc_elf_relocate_section): Check that output - section (not input) will be in sections ".sbss", ".sbss2", - ".sdata", and ".sdata" for R_PPC_SDAREL16, R_PPC_EMB_SDA2REL, - R_PPC_EMB_SDA21, R_PPC_EMB_RELSDA. In all these cases also ignore - output_offset for correct evaluation of addend. - -Tue Aug 18 11:48:12 1998 Catherine Moore <clm@cygnus.com> - - * elf32-arm.c: Add prefix bfd_ to elf32_arm_get_bfd_for_interworking, - elf32_arm_allocate_interworking_sections and - elf32_arm_process_before_allocation. - -Tue Aug 18 11:46:00 1998 Nick Clifton <nickc@cygnus.com> - - * bfd-in.h: Ammend prototype for - elf32_arm_process_before_allocation to remove surplus third - argument. - - * bfd-in2.h: Regenerate. - -Sat Aug 15 20:55:08 1998 Richard Henderson <rth@cygnus.com> - - * elf64-alpha.c (elf64_alpha_relax_section): Handle indirect symbols. - -Fri Aug 14 09:12:28 1998 Stan Cox <scox@cygnus.com> - - * aoutx.h (aout_link_input_section_ext): Use the relocation already - calculated for RELOC_SPARC_REV32 case. - -Thu Aug 13 14:02:02 1998 Catherine Moore <clm@cygnus.com> - - * bfd-in.h: Add prototypes for elf32_arm_get_bfd_for_interworking, - elf32_arm_allocate_interworking_sections and - elf32_arm_process_before_allocation. - * bfd-in2.h: Regenerated. - * elf32-arm.c Define elf32_arm_link_hash_table. - (insert_thumb_branch): New routine. - (find_thumb_glue): New routine. - (find_arm_glue): New routine. - (record_arm_to_thumb_glue): New routine. - (record_thumb_to_arm_glue): New routine. - (elf32_arm_link_hash_table_create): New routine. - (elf32_arm_get_bfd_for_interworking): New routine. - (elf32_arm_allocate_interworking_sections) New routine. - (elf32_arm_process_before_allocation) New routine. - (elf32_thumb_to_arm_stub): New routine. - (elf32_arm_to_thumb_stub): New routine. - (elf32_print_private_bfd_data): Fix typo. - (elf32_arm_final_link_relocate): Add argument sym_sec. - Check for branches to thumb symbols in case R_ARM_PC24. - Check for branches to arm symbols in case R_ARM_THM_PC22. - (elf32_arm_relocate_section): Pass symbol section to - elf32_arm_final_link_relocate. - -Wed Aug 12 19:00:39 1998 Geoff Keating <geoffk@ozemail.com.au> - - * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Generate PLT - entries unless the symbol is defined in the executable; in - particular, undefined weak symbols get a PLT entry. - -Wed Aug 12 14:48:33 1998 Ian Lance Taylor <ian@cygnus.com> - - * libaout.h: Remove nested comment to avoid warning. - -Wed Aug 12 08:10:11 1998 Catherine Moore <clm@cygnus.com> - - * elf32-arm.c (elf32_arm_final_link_relocate): Rework - R_ARM_PC24 relocation. - -Tue Aug 11 14:42:26 1998 Catherine Moore <clm@cygnus.com> - - * elf32-arm.c (elf32_arm_final_link_relocate): Remove unused - argument is_local. Add argument sym_flags. Check sym_flags - in R_ARM_ABS32 case. Include addend for R_ARM_THM_PC22 case. - (elf32_arm_relocate_section): Don't pass local sym and pass - sym_flags to elf32_arm_final_link_relocate. - -Mon Aug 10 20:38:39 1998 Richard Henderson <rth@cygnus.com> - - * elf64-alpha.c (elf64_alpha_calc_dynrel_sizes): Correct last change - to not count too few relocs for dynamicly linked executables. - -Mon Aug 10 15:35:34 1998 Richard Henderson <rth@cygnus.com> - - * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Never consider - symbols without a dynamic index dynamic. Consider all weak - symbols dynamic. - (elf64_alpha_strip_section_from_output): Don't assume 1-1 - correspondance between input and output sections. - -Mon Aug 10 15:31:39 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * elflink.h (elf_gc_common_finalize_got_offsets): For backends - that use a .got.plt section start the got offset at zero. - -Mon Aug 10 17:31:21 1998 Ian Lance Taylor <ian@cygnus.com> - - * ieee.c (ieee_write_processor): Correct the processor ID written - out for bfd_arch_m68k, accommodating change of March 25. - -Sun Aug 9 20:55:44 1998 Catherine Moore <clm@cygnus.com> - - * elf32-arm.c (elf32_arm_final_link_relocate): Rework - R_ARM_THM_RPC22 relocations. - -Sat Aug 8 15:15:30 1998 Richard Henderson <rth@cygnus.com> - - * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Undef weak symbols - are always dynamic. - (elf64_alpha_calc_dynrel_sizes): Allow enough room for RELATIVE - .got relocs in -Bsymbolic shared objects. - -Wed Aug 5 15:48:08 1998 Nick Clifton <nickc@cygnus.com> - - * elf32-arm.c: Add private flags to ELF header. - (elf32_arm_print_private_bfd_data): New Function. - (elf32_arm_set_private_flags): New Function. - (elf32_arm_copy_private_flags): New Function. - (elf32_arm_merge_private_bfd_data): New Function. - -Mon Aug 3 17:10:15 1998 Ian Lance Taylor <ian@cygnus.com> - - * elf32-sparc.c (elf32_sparc_check_relocs): Permit WPLT30 against - a local symbol. - (elf32_sparc_relocate_section): Likewise. - -Sun Aug 2 03:19:23 1998 Richard Henderson <rth@cygnus.com> - - * elf32-ppc.c (ppc_elf_check_relocs): Init sgot to NULL. Create the - .got if any relocation referrs to _GLOBAL_OFFSET_TABLE_. - (ppc_elf_relocate_section): Pull sgot and splt search to the start - of the function. Recognize no .plt as static linking. - -1998-08-01 Ulrich Drepper <drepper@cygnus.com> - - * elf32-mips.c (_bfd_mips_elf_section_from_shdr): Don't pass - ".liblist" string through gettext. - -Fri Jul 31 16:38:14 1998 Catherine Moore <clm@cygnus.com> - - * Makefile.am: Add support for elf32-arm.lo. - * Makefile.in: Rebuild. - * config.bfd (arm-*-elf): Define targ_defvec and targ_selvecs. - (thumb-*-elf): Define targ_defvec and targ_selvecs. - * configure.in: Handle bfd_elf32_littlearm_vec and bfd_elf32_bigarm_vec. - * configure: Regenerate. - * elf.c: (prep_headers): Support arch_type of EM_ARM. - * targets.c: Support new targets bfd_elf32_bigarm_vec and - bfd_target bfd_elf32_littlearm_vec. - * elf32-arm.c: New file. - -Tue Jun 28 19:05:28 1998 Stan Cox <scox@cygnus.com> - - * libaout.h (M_SPARCLITE_LE): New machine. - * sunos.c (MACHTYPE_OK): Add machine M_SPARCLITE_LE. - * aoutf1.h (sunos_set_arch_mach): Add machine M_SPARCLITE_LE. - (sunos_write_object_contents): Add machine bfd_mach_sparc_sparclite_le - * aoutx.h (howto_table_ext): Add relocation R_SPARC_REV32. - (NAME(aout,machine_type)) Add machine bfd_mach_sparc_sparclite_le - (aout_link_input_section_ext): Add RELOC_SPARC_REV32 support. - * elf32-sparc.c (_bfd_sparc_elf_howto_table, sparc_reloc_map, - elf32_sparc_relocate_section): Rename R_SPARC_32LE to be R_SPARC_REV32 - * libbfd.h (bfd_reloc_code_real_names): Rename BFD_RELOC_SPARC_32LE to - be BFD_RELOC_SPARC_REV32. - * reloc.c: Ditto. - * config.bfd (sparc86x-*-aout): New - -Fri Jul 24 13:54:19 1998 Nick Clifton <nickc@cygnus.com> - - * linker.c (_bfd_generic_final_link): Allocate NULL symbol before - actually mapping the output sections. - -Fri Jul 24 11:24:29 1998 Jeffrey A Law (law@cygnus.com) - - - * elf-m10300.c (mn10300_elf_howto): Add R_MN10300_24 entry. - (mn10300_elf_reloc_map): Similarly. - (mn10300_elf_final_link_relocate): Handle R_MN10300_24. - -Fri Jul 24 12:36:04 1998 Ian Lance Taylor <ian@cygnus.com> - - * elf32-mips.c (elf_mips_howto_table): Add reloc types used on - Irix 6. - (bfd_elf32_bfd_reloc_type_lookup): Add default case. - * elf64-mips.c: Replace all uses of mips_elf64_reloc_type with - elf_mips_reloc_type defined in elf/mips.h. - -1998-07-24 Ulrich Drepper <drepper@cygnus.com> - - * elf64-mips.c: Remove reloc_type definition completely. It's now - in elf/mips.h. - -Thu Jul 23 13:33:19 1998 Doug Evans <devans@canuck.cygnus.com> - - * elf64-mips.c (mips_elf64_reloc_type): #if 0 out more relocations - as they are defined in elf/mips.h now. - -Thu Jul 23 11:29:43 1998 Jeffrey A Law (law@cygnus.com) - - - * Re-add lost change: - * elf-m10300.c (elf32_mn10300_link_hash_entry): Add new field - "movm_stack_size". - (mn10300_elf_relax_section): Include stack space for register saves - in the imm8 field of a "call" instruction. - (compute_function_info): Determine how much stack is allocated by - the movm instruction. Fix typo. - (elf32_mn10300_link_hash_newfunc): Initialize movm_stack_size. - -Thu Jul 23 11:38:05 1998 Ian Lance Taylor <ian@cygnus.com> - - * elf32-sparc.c (elf_backend_got_header_size): Define as 4. - * elf64-sparc.c (elf_backend_got_header_size): Define as 8. - -1998-07-22 Ulrich Drepper <drepper@cygnus.com> - - * elf32-ppc.c: Change use of pp_reloc_type to elf_ppc_reloc_type. - -Wed Jul 22 16:27:18 1998 Nick Clifton <nickc@cygnus.com> - - * elf32-hppa.h: Let ELF header define the enum containing the - external reloc numbers. - * elf32-i386.h: Likewise. - -1998-07-22 14:57 Ulrich Drepper <drepper@cygnus.com> - - * elf-m10300.c: Let ELF header now define the macros to get the enum. - * elf32-mips.c: Likewise. - * elf32-ppc.c: Likewise. - -Wed Jul 22 13:53:52 1998 Nick Clifton <nickc@cygnus.com> - - * bfd-in2.h: Change type of 'class' parameter to 'unsigned int' in - bfd_coff_set_symbol_class(), in order to avoid K&R compatability - prblems. - * bfd-in.h: Regenerate. - * coffgen.c (bfd_coff_set_symbol_class): Change type of 'class' - parameter to 'unsigned int' to avoid K&R compatability problems. - -Wed Jul 22 16:43:24 1998 Ian Lance Taylor <ian@cygnus.com> - - * ieee.c (ieee_find_nearest_line): Change filename_ptr and - functionname_ptr to be const. Change line_ptr to be unsigned. - - * coffcode.h (coff_link_output_has_begun): Simplify handling when - macro is not defined. Change second parameter from bfd_link_info - to coff_final_link_info. Add prototype. - (coff_final_link_postscript): Simplify handling when macro is not - defined. Add prototype. - -1998-07-22 13:08 Ulrich Drepper <drepper@cygnus.com> - - * elf-mn10300.c: Before include system specific ELF header define - START_RELOC_NUMBERS, RELOC_NUMBER, and END_RELOC_NUMBERS. - * elf32-mips.c: Likewise. - * elf32-ppc.c: Likewise. - -Wed Jul 22 13:46:51 1998 Ian Lance Taylor <ian@cygnus.com> - - * elf64-mips.c (mips_elf64_reloc_type): Copy Ulrich's elf32-mips.c - temporary patch over to elf64-mips.c as well. - -1998-07-21 Ulrich Drepper <drepper@cygnus.com> - - * elf32-mips.c (reloc_type): Temporarily disable definition of - standard relocation since they are now defined in elf/mips.h. - -Tue Jul 21 09:47:00 1998 Catherine Moore <clm@cygnus.com> - - * elf-m10200.c (mn10200_elf_final_link_relocate): - Modify range test for case R_MN10200_8. - - * elf-m10300.c (mn10300_elf_final_link_relocate): - Modify range test for case R_MN10300_8. - -Mon Jul 20 18:50:54 1998 Richard Henderson <rth@cygnus.com> - - * elf-bfd.h (struct elf_backend_data): Add got_ & plt_header_size. - * elf32-i386.c (elf_backend_got_header_size): Define. - (elf_backend_plt_header_size): Define. - * elf32-m68k.c, elf32-mips.c, elf32-ppc.c: Likewise. - * elf32-sparc.c, elf64-alpha.c, elf64-sparc.c: Likewise. - * elfxx-target.h: Provide a default of zero. - * elflink.c (_bfd_elf_create_got_section): Use got_header_size. - * elflink.h (elf_gc_common_finalize_got_offsets): Likewise. - - * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Don't remove a PLT - entry from an executable, even if the plt refcount goes to 0. - -Mon Jul 20 12:47:26 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * aoutx.h (NAME(aout,find_nearest_line)): Also remember the - directory name at the line number. - - * elf.c (_bfd_elf_find_nearest_line): Also consider symbols - with an unspecified type. - -Wed Jul 15 11:20:01 1998 Ian Lance Taylor <ian@cygnus.com> - - * sunos.c: Add undef of valid to avoid problem on SunOS. - -Tue Jul 14 15:30:59 1998 Richard Henderson <rth@cygnus.com> - - * config.bfd (i?86-pc-beos{pe,elf,}*): Recognize. - -Tue Jul 14 11:22:21 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * elf32-m68k.c (elf_m68k_check_relocs): Also reference count - R_68K_PCxx and R_68K_xx relocations. Make sure that - ELF_LINK_HASH_NEEDS_PLT is always set for a PLT reloc reference. - (elf_m68k_gc_sweep_hook): Also reference count R_68K_PCxx and - R_68K_xx relocations. - (elf_m68k_adjust_dynamic_symbol): Reset the plt offset of a symbol - that has no plt entry. - (elf_m68k_relocate_section): Ignore the plt offset in a static - link. - * elflink.h (elf_adjust_dynamic_symbol): Reset the plt offset for - an ignored symbol. - (elf_gc_common_finalize_got_offsets): Set the got offsets also in - a static link. - - * elf32-m68k.c (R_68K_GNU_VTINHERIT, R_68K_GNU_VTENTRY): New reloc - types. - (howto_table, reloc_map): Add entries for them. - (elf_m68k_check_relocs): Handle them. Implement reference - counting for got and plt entries. - (elf_m68k_gc_mark_hook, elf_m68k_gc_sweep_hook): New functions. - (elf_m68k_adjust_dynamic_symbol): Handle unreferenced plt - symbols. - (rtype_to_howto_rel, elf_info_to_howto_rel): Delete. - (elf_m68k_relocate_section): Handle the new reloc types. - (bfd_elf32_bfd_final_link, elf_backend_gc_mark_hook, - elf_backend_gc_sweep_hook, elf_backend_can_gc_sections): Define. - * elflink.h (elf_link_add_object_symbols): When creating an - indirect reference for symbol versioning also copy the plt - offset. - (elf_fix_symbol_flags): When clearing the ELF_LINK_HASH_NEEDS_PLT - flag also reset the plt offset. - (elf_link_assign_sym_version): Likewise. - (elf_gc_common_finalize_got_offsets): Increment the got offset by - the size of the entry in bytes. - (elf_gc_allocate_got_offsets): Likewise. - -Tue Jul 14 11:18:14 1998 Ian Lance Taylor <ian@cygnus.com> - - * elflink.h (elf_gc_sections): Return true rather than falling off - the bottom. - - * coffgen.c (bfd_coff_set_symbol_class): Call bfd_alloc, not - xmalloc. - -Mon Jul 13 11:06:31 1998 Nick Clifton <nickc@cygnus.com> - - * coff-arm.c: Supress definition of TARGET_UNDERSCORE and add a - comment describing when it should be enabled. - Changed definition of USER_LABEL_PREFIX to "", to fall into line - with GCC sources. - -Mon Jul 13 13:06:54 1998 Ian Lance Taylor <ian@cygnus.com> - - * ieee.c (ieee_slurp_external_symbols): Handle call optimization - information ATN records. - -Fri Jul 10 16:31:06 1998 Ian Lance Taylor <ian@cygnus.com> - - * ieee.c (ieee_slurp_external_symbols): Select an appropriate - section for an absolute symbol in a fully linked file. Based on - patch from Christian Holland <CHolland@de.lucent.com>. - -Wed Jul 8 11:29:56 1998 Manfred Hollstein <manfred@s-direktnet.de> - - * coff-m88k.c (m88k_special_reloc): Don't lose the information - that a symbol is undefined. - -Tue Jul 7 21:47:02 1998 Jeffrey A Law (law@cygnus.com) - - * som.c (som_bfd_gc_sections): Define. - -Mon Jul 6 11:35:50 1998 Nick Clifton <nickc@cygnus.com> - - * coff-arm.c (aoutarm_std_reloc_howto): Do not complain about - overflows in ARM_26D patches, since they have already been - implmented. Patch submitted by Dr. R.J. Black <rjb@dcs.gla.ac.uk> - -Sat Jul 4 12:25:36 1998 Ian Lance Taylor <ian@cygnus.com> - - * coffcode.h (coff_write_object_contents): If we have any long - section names, call coff_write_symbols even if there are no - symbols. - -Fri Jul 3 13:11:35 1998 Ian Lance Taylor <ian@cygnus.com> - - * elf.c (copy_private_bfd_data): Only set phdr_included once for a - PT_LOAD segment, rather than only setting it once for the entire - file. - - * elf.c (_bfd_elf_make_section_from_shdr): When setting the LMA, - rather than ignoring every phdr with a p_paddr of 0, ignore all - the phdrs if they all have a p_paddr of 0. - - * stabs.c (_bfd_write_stab_strings): Check whether the .stabstr - section was discarded from the link. - -Fri Jul 3 14:39:05 1998 J"orn Rennecke <amylaar@cygnus.co.uk> - - * coff-sh.c (sh_insn_uses_freg): Ignore lowest bit of register number. - -Fri Jul 3 14:35:48 1998 J"orn Rennecke <amylaar@cygnus.co.uk> - - * coff-sh.c (sh_insns_conflict): Load of fpscr conflicts with - floating point operations. - -Thu Jul 2 18:37:25 1998 Ian Lance Taylor <ian@cygnus.com> - - * cofflink.c (_bfd_coff_link_input_bfd): Skip undefined global - function symbols. - -Thu Jul 2 14:59:42 1998 Klaus Kaempf <kkaempf@rmi.de> - - Merge of vax/vms (read-only) support - * configure.com: Support Vax target. - * makefile.vms: Support Vax target. - * vms.h: Renamed from evax.h, merged vax/vms (read-only) support. - * vms.c: Renamed from evax-alpha.c, merged vax/vms (read-only) - support. - * vms-hdr.c: Renamed from evax-emh.c, merged vax/vms (read-only) - support. - * vms-gsd.c: Renamed from evax-egsd.c, merged vax/vms (read-only) - support. - * vms-tir.c: Renamed from evax-etir.c, merged vax/vms (read-only) - support. - * vms-misc.c: Renamed from evax-misc.c, merged vax/vms (read-only) - support. - * libbfd.c (real_read): Use unbuffered read on VMS/Vax. - * targets.c (bfd_target_ovax_flavour): New flavour. - (vms_alpha_vec): Renamed from evax_alpha_vec. - (vms_vax_vec): New. - (target_vector): Update accordingly. - * config.bfd (alpha*-*-*vms*): Use vms_alpha_vec, not - evax_alpha_vec. - (vax*-*-*vms*): New target. - * Makefile.am: Update for renamed files. Rebuild dependencies. - * bfd-in2.h: Rebuild. - * configure.in, Makefile.in, aclocal.m4: Rebuild. - -Thu Jul 2 13:31:55 1998 Ian Lance Taylor <ian@cygnus.com> - - Based on patch from Matt Semersky <matts@scd.hp.com>: - * linker.c (_bfd_generic_final_link): Force a trailing NULL - pointer on abfd->outsymbols. - (generic_add_output_symbol): Handle NULL sym parameter. - -Wed Jul 1 17:05:53 1998 Nick Clifton <nickc@cygnus.com> - - * elf.c (copy_private_bfd_data): Add support for changing VMA or - LMA of sections. - -Wed Jul 1 16:58:50 1998 Ian Lance Taylor <ian@cygnus.com> - - * coff-sh.c (sh_relax_delete_bytes): Correct address comparisons - when handling 32 bit immediate relocs. - * elf32-sh.c (sh_elf_relax_delete_bytes): Likewise. - -Tue Jun 30 09:55:03 1998 Jeffrey A Law (law@cygnus.com) - - * section.c (STD_SECTION): Account for recently added gc_mark - field in struct asection. - - * elf-m10300.c (bfd_mn10300_elf_merge_private_bfd_data): New function. - (bfd_elf32_bfd_merge_private_bfd_data): Define. - -Thu Jun 25 18:31:41 1998 Richard Henderson <rth@cygnus.com> - - ELF Section-level Garbage Collection: - * bfd.c (bfd_gc_sections): New. - * aout-adobe.c: Hook to default implementation. - * aout-target.h, aout-tic30.c, binary.c, bout.c: Likewise. - * coff-alpha.c, coff-mips.c, coff-rs6000.c, coffcode.h: Likewise. - * evax-alpha.c, i386msdos.c, i386os9k.c, ieee.c: Likewise. - * ihex.c, nlm-target.h, oasys.c, ppcboot.c, srec.c: Likewise. - * tekhex.c, versados.c: Likewise. - * libbfd-in.h (_bfd_nolink_bfd_gc_sections): New. - * targets.c (BFD_JUMP_TABLE_LINK): Add _bfd_gc_sections. - - * reloc.c (BFD_RELOC_VTABLE_INHERIT, BFD_RELOC_VTABLE_ENTRY): New. - (bfd_generic_gc_sections): New. - * section.c (SEC_KEEP): New. - (asection): Add gc_mark member. - - * elfcode.h (elf_gc*): New name remappings. - * elflink.h (elf_link_input_bfd): Don't set contents on stabs - sections to be excluded. - (elf_gc_mark, elf_gc_sweep, elf_gc_sweep_symbol): New. - (elf_gc_propogate_vtable_entries_used): New. - (elf_gc_smash_unused_vtentry_relocs): New. - (elf_gc_sections, elf_gc_record_vtinherit, elf_gc_record_vtentry): New. - (elf_gc_common_finalize_got_offsets): New. - (elf_gc_allocate_got_offsets, elf_gc_common_final_link): New. - * elfxx-target.h: Add and default gc hooks. - - * elf-bfd.h (struct elf_link_hash_entry): Swap got_offset/plt_offset - for unions. - (struct elf_obj_tdata): Likewise for local_got_offsets. - * elf.c, elf-i386.c, elf32-m68k.c, elf32-mips.c: Update all uses. - * elf32-ppc.c, elf32-sparc.c, elf64-alpha.c: Likewise. - * elf64-sparc.c, elflink.h: Likewise. - - * elf-bfd.h (struct elf_link_hash_entry): Add vtable members. - (ELF_LINK_HASH_MARK): Define. - (struct elf_backend_data): Add GC hooks. - * elf.c (_bfd_elf_link_hash_newfunc): Zero vtable members. - - * elf-m10300.c (mn10300_elf_check_relocs): New. - (mn10300_elf_gc_mark_hook): New. - (R_MN10300_GNU_VTINHERIT, R_MN10300_GNU_VTENTRY): New. - (elf_mn10300_howto, mn10300_reloc_map): Handle them. - (mn10300_elf_final_link_relocate): Likewise. - (mn10300_elf_relocate_section): Likewise. - (elf_backend_can_gc_sections): Define. - * elf32-mips.c (R_MIPS_GNU_VTINHERIT, R_MIPS_GNU_VTENTRY): New. - (elf_mips_gnu_vtinherit_howto, elf_mips_gnu_vtentry_howto): New. - (bfd_elf32_bfd_reloc_type_lookup): Handle them. - (mips_info_to_howto_rel): Likewise. - (mips_elf_relocate_section): Likewise. - (mips_elf_check_relocs): Likewise. - (mips_elf_gc_mark_hook, mips_elf_gc_sweep_hook): New. - (elf_backend_can_gc_sections): Define. - * elf32-ppc.c (R_PPC_GNU_VTINHERIT, R_PPC_GNU_VTENTRY): New. - (ppc_elf_howto_raw): Handle them. - (ppc_elf_reloc_type_lookup): Likewise. - (ppc_elf_relocate_section): Likewise. - (ppc_elf_check_relocs): Reference count .got and .plt entries. - Handle new vtable relocs. - (ppc_elf_adjust_dynamic_symbol): Recognize unused .plt entries. - (ppc_elf_gc_mark_hook, ppc_elf_gc_sweep_hook): New. - (elf_backend_can_gc_sections): Define. - -Fri Jun 26 10:48:23 1998 Jeffrey A Law (law@cygnus.com) - - * archures.c (bfd_mach_mn10300): Define. - * elf-m10300.c: Include elf/mn10300.h - (elf_mn10300_mach): New function. - (_bfd_mn10300_elf_final_write_processing): Likewise. - (_bfd_mn10300_elf_object_p): Likewise. - (elf_backendfinal_write_processing): Define. - (elf_backend_object_p): Likewise. - -Thu Jun 25 18:31:08 1998 Nick Clifton <nickc@cygnus.com> - - * elf32-v850.c (v850_elf_perform_relocation): Fix HI16_S - relocation. - -Wed Jun 24 17:17:57 1998 Ian Lance Taylor <ian@cygnus.com> - - * elflink.h (elf_bfd_final_link): Loop over input_bfds using the - link_next field, not the next field. - -Sun Jun 21 19:38:39 1998 Ian Lance Taylor <ian@cygnus.com> - - * elf.c (map_sections_to_segments): Check the section address - against the phdr size both with and without a modulo of - maxpagesize. - -Fri Jun 19 17:08:18 1998 Ian Lance Taylor <ian@cygnus.com> - - * elf32-mips.c (mips_elf_size_dynamic_sections): Only strip a - linker created empty input section if the output section has the - same name. - - * elflink.h (elf_link_output_extsym): Print an error message if - _bfd_elf_section_from_bfd_section fails. - - * elf.c (_bfd_elf_section_from_bfd_section): Call bfd_set_error on - failure. - -Tue Jun 16 11:55:55 1998 Ian Lance Taylor <ian@cygnus.com> - - * elf.c (copy_private_bfd_data): Improve handling of Solaris - native linker output. Avoid putting an empty section in more than - one segment. - -Fri Jun 12 13:30:17 1998 Tom Tromey <tromey@cygnus.com> - - * po/Make-in (all-yes): If maintainer mode, depend on .pot file. - ($(PACKAGE).pot): Unconditionally depend on POTFILES. - -Fri Jun 12 13:34:02 1998 Doug Evans <devans@canuck.cygnus.com> - - * elf.c (swap_out_syms): New arg relocatable_p. - Don't add section VMA to symbols for relocatable output. - (_bfd_elf_compute_section_file_positions): Update call to - swap_out_syms. - -Mon Jun 8 15:20:57 1998 Nick Clifton <nickc@cygnus.com> - - * elf32-v850.c (v850_elf_perform_relocation): Make comparisons - against 'addend' be signed rather than unsigned. - -Sat Jun 6 00:31:21 1998 Nick Clifton <nickc@cygnus.com> - - * elf32-m32r.c: Add prototyps for static functions. - - * coff-arm.c: Add prototypes for static functions. - -Fri Jun 5 17:21:51 1998 Nick Clifton <nickc@cygnus.com> - - * elf.c (elf_sort_sections): Sort by LMA first then VMA, since the - LMA is used to order sections in a segment. - - * elf32-v850.c: Add prototypes for static functions. - Change type of addend parameter to bfd_vma in various functions. - -Fri Jun 5 18:09:58 1998 Ian Lance Taylor <ian@cygnus.com> - - * aoutx.h (howto_table_ext): Change RELOC_BASE13 to use - complain_overflow_signed instead of complain_overflow_bitfield. - -Fri Jun 5 15:11:11 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * elf.c (elf_map_symbols): Don't add section VMA to symbol value - when comparing against 0. - -Wed Jun 3 17:52:49 1998 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.am (config.status): New target. - * Makefile.in: Rebuild. - -Wed Jun 3 12:18:24 1998 Stan Cox <scox@equinox.cygnus.com> - - * elf32-sparc.c (elf32_sparc_merge_private_bfd_data): Give an - error if previous object endianness doesn't match current object. - -Tue Jun 2 17:50:59 1998 Nick Clifton <nickc@cygnus.com> - - * elf32-v850.c (v850_elf_print_private_bfd_data): Call - _bfd_elf_print_private)bfd_data (). - -Tue Jun 2 15:29:35 1998 Ian Lance Taylor <ian@cygnus.com> - - * elflink.h (elf_merge_symbol): Don't always set type_change_ok - and size_change_ok. - (elf_link_add_object_symbols): Set type_change_ok and - size_change_ok before calling elf_merge_symbol. - - * elf32-mips.c (mips_elf_relocate_section): If we issue an - undefined symbol error, don't also issue an overflow error. - -Tue Jun 2 13:51:00 1998 Geoff Keating <geoffk@ozemail.com.au> - - * elf32-ppc.c (ppc_elf_relocate_section): The target of an - R_PPC_LOCAL24PC relocation should be local; if not, print an error - message instead of crashing. - -Mon Jun 1 18:23:12 1998 Yuli Barcohen <yuli.barcohen@telrad.co.il> - - * archures.c (bfd_mach_cpu32): Define. - (bfd_default_scan): Add case for 68060. Fix 68332 case to use - bfd_mach_cpu32. - * cpu-m68k.c (arch_info_struct): Add m68k:cpu32. - * ieee.c: Include <ctype.h>. - (ieee_object_p): Parse out process ID string to make it more - likely to be acceptable for bfd_scan_arch. - * bfd-in2.h: Rebuild. - -Mon Jun 1 11:12:02 1998 Nick Clifton <nickc@cygnus.com> - - * elf32-m32r.c (m32r_elf_print_private_bfd_data): Also call - _bfd_elf_print_private_bfd_data() so that the program header will - be displayed. - -Mon Jun 1 12:14:28 1998 Ian Lance Taylor <ian@cygnus.com> - - * peicode.h (coff_swap_sym_in): Check for C_SECTION rather than - 0x68. Reindent. Add some comments. - -Fri May 29 09:58:08 1998 Nick Clifton <nickc@cygnus.com> - - * elf.c (copy_private_bfd_data): Adjust physical address of - segment in output BFD to contain LMAs of its sections. - -Tue May 26 19:37:47 1998 Stan Cox <scox@equinox.cygnus.com> - - * elf32-sparc.c (_bfd_sparc_elf_howto_table, sparc_reloc_map, - elf32_sparc_relocate_section): Added R_SPARC_32LE for little - endian data 32 bit relocations. - (elf32_sparc_merge_private_bfd_data): Check if linking little - endian objects with big endian objects. - (elf32_sparc_object_p): Set bfd_mach_sparc_sparclite_le. - (elf32_sparc_final_write_processing): Set EF_SPARC_LEDATA in e_flags. - * libbfd.h (bfd_reloc_code_real_names): Added BFD_RELOC_SPARC_32LE. - * reloc.c: Same. - * cpu-sparc.c (arch_info_struct): Added sparc:sparclite_le - * archures.c (bfd_mach_sparc_sparclite_le): New. - * bfd-in2.h (BFD_RELOC_SPARC_32LE, bfd_mach_sparc_sparclite_le): New. - -Thu May 21 16:59:28 1998 Nick Clifton <nickc@cygnus.com> - - * peicode.h (add_data_entry): Fix precedence of operators in if () - statement. - -Tue May 19 18:41:19 1998 Ian Lance Taylor <ian@cygnus.com> - - * bfd-in.h: Move over patch to bfd-in2.h. - - * reloc.c (bfd_check_overflow): Add casts before shifts which may - not fit in 32 bits. - (_bfd_relocate_contents): Likewise. - -Mon May 18 14:44:15 1998 Nick Clifton <nickc@cygnus.com> - - * peicode.h (add_data_entry): If the section has no private data - then do not create a Data Dictionary entry for it. - -Mon May 18 00:09:28 1998 Richard Henderson <rth@cygnus.com> - - * elf64-alpha.c (elf64_alpha_relax_section): Set again on changes. - (elf64_alpha_can_merge_gots, elf64_alpha_merge_gots, - elf64_alpha_size_got_sections): Rewrite, handling multiple got - subsections during relaxation more correctly. - -Thu May 14 14:22:58 1998 Nick Clifton <nickc@cygnus.com> - - * bfd-in2.h: Add new prototype: bfd_coff_set_symbol_class (). - Add extra argument to bfd_arm_process_before_allocation (). - * bfd-in.h: Reflect changes made in bfd-in2.h. - * coffgen.c (bfd_coff_set_symbol_class): New function. Set the - coff class of a BFD symbol. - * coff-arm.c: Add support for interworking between Thumb code and - non-interworking aware ARM code. - -Sun May 10 22:33:59 1998 Jeffrey A Law (law@cygnus.com) - - * po/Make-in (install-info): New target. - -Thu May 7 17:40:56 1998 Ian Lance Taylor <ian@cygnus.com> - - * filemode.c: Remove; not used. - - If sysdep.h includes a header file, don't include it again: - * aix386-core.c: Don't include <stdio.h>, <stddef.h>, or - <errno.h>. - * aoutx.h: Don't include <string.h>. Use "sysdep.h" rather than - <sysdep.h>. - * archive.c: Don't include <string.h> or <errno.h>. - * evax-alpha.c; Don't include <stdio.h>. - * evax-egsd.c: Likewise. - * evax-etir.c: Likewise. - * evax-misc.c: Likewise. - * evax-emh.c: Likewise. Also, don't include <sys/types.h>. - * hppabsd-core.c: Don't include <stdio.h>, <sys/types.h>, or - <errno.h>. - * hpux-core.c: Likewise. - * netbsd-core.c: Likewise. - * som.c: Likewise. - * libbfd.c: Don't include <sys/types.h>. - * nlmcode.h: Don't include <string.h>. - * osf-core.c: Don't include <string.h> or <stdio.h>. - * ptrace-core.c: Don't include <stdio.h>, <sys/types.h>, - <errno.h>, or <unistd.h>. - * trad-core.c: Don't include <stdio.h> or <sys/types.h>. - -Thu May 7 13:12:50 1998 Klaus Kaempf <kkaempf@progis.de> - - * configure.com: If the version number can not be found in - configure.in, set it to "unknown" rather than "2.8.1". - -Wed May 6 09:46:05 1998 Gavin Koch <gavin@cygnus.com> - - * elf32-mips.c (elf_mips_mach): New. - (_bfd_mips_elf_object_p): Use elf_mips_mach. - (_bfd_mips_elf_final_write_processing): Use the names - of machines, rather than the numbers. Set both the ARCH - and MACH in e_flags. Handle a few more specific machines. - (_bfd_mips_elf_merge_private_bfd_data): Merge both - EF_MIPS_ARCH and EF_MIPS_MACH. - -Tue May 5 21:01:53 1998 Richard Henderson <rth@cygnus.com> - - * syms.c (bfd_is_local_label): Revert last change. - * srec.c (srec_write_symbols): Discard debugging symbols. - -Tue May 5 23:36:06 1998 Ian Lance Taylor <ian@cygnus.com> - - * som.c: Include <ctype.h>. - * som.h: Don't include sysdep.h. - -Tue May 5 18:29:24 1998 Tom Tromey <tromey@cygnus.com> - - * libbfd.h: Rebuilt. - * libbfd-in.h: Removed gettext includes and defines. - * sysdep.h: Moved gettext-related includes and defines here. - -Tue May 5 16:47:54 1998 Richard Henderson <rth@cygnus.com> - - * srec.c (srec_write_symbols): Use bfd_is_local_label rather than - an ad-hoc test. Kill bogus #if 0 code. - * syms.c (bfd_is_local_label): Consider BSF_DEBUGGING symbols local. - -Mon May 4 16:10:33 1998 Ian Lance Taylor <ian@cygnus.com> - - * sunos.c (sunos_check_dynamic_reloc): Don't use the PLT address - when generating a normal executable for a symbol defined in a - regular file. When copying a reloc into the output file, adjust - the addend for a PC relative reloc against a global symbol. - -Mon May 4 10:08:18 1998 Tom Tromey <tromey@cygnus.com> - - * libbfd.h: Rebuilt. - * libbfd-in.h (_): Define as dgettext. - -Mon May 4 11:02:23 1998 Ian Lance Taylor <ian@cygnus.com> - - * coff-arm.c (coff_arm_relocate_section): Cast to bfd_signed_vma, - not signed. - * peicode.h (pe_saved_coff_bfd_print_private_bfd_data): Use PARAMS - when declaring parameter types. - (pe_saved_coff_bfd_copy_private_bfd_data): Likewise. - -Wed Apr 29 15:35:03 1998 Ian Lance Taylor <ian@cygnus.com> - - * config.bfd: If we include any ELF targets in targ_defvec and/or - targ_selvecs, then add the generic ELF targets to targ_selvecs. - * elf32-gen.c (dummy): New static const variable. - (elf_generic_info_to_howto): New static function. - (elf_generic_info_to_howto_rel): New static function. - (elf_info_to_howto): Define as elf_generic_info_to_howto. - (elf_info_to_howto_rel): Define as elf_generic_info_to_howto_rel. - * elf64-gen.c: Same changes as elf32-gen.c. - * elfcode.h (elf_object_p): For the generic target, ignore a - failure of bfd_default_set_arch_mach. Fix indentation a bit. - -Tue Apr 28 20:05:52 1998 Ian Lance Taylor <ian@cygnus.com> - - * configure.in (WIN32LIBADD): Add -lintl on cygwin32. - * configure: Rebuild. - -Tue Apr 28 12:16:57 1998 Jason Molenda (crash@bugshack.cygnus.com) - - * config.bfd: Update OSR5/Unixware patterns. - -Mon Apr 27 18:02:24 1998 Richard Henderson <rth@cygnus.com> - - * elf.c (assign_file_positions_for_segments): Allow for holes - between sections added by a link script. - -Mon Apr 27 11:49:55 1998 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Change version number to 2.9.4 - * configure: Rebuild. - - Based on patch from H.J. Lu <hjl@gnu.org>: - * elf.c (bfd_elf_get_bfd_needed_list): New function. - * bfd-in.h (bfd_elf_get_bfd_needed_list): Declare. - * bfd-in2.h: Rebuild. - -Sat Apr 25 20:07:53 1998 Richard Henderson <rth@cygnus.com> - - * elf64-alpha.c (struct alpha_relax_info): Replace elfsym with other. - Change all users. - -Sat Apr 25 18:29:07 1998 Richard Henderson <rth@cygnus.com> - - * elf64-alpha.c (struct alpha_relax_info): Add tsec & elfsym members. - (elf64_alpha_relax_section): Fill them in. - (elf64_alpha_relax_opt_call): Implement more than a stub. - (elf64_alpha_add_symbol_hook): Don't set SEC_LOAD or default - alignment on .scommon. - (elf64_alpha_merge_gots): Merge use counts as well. - -Sat Apr 25 14:07:29 1998 Richard Henderson <rth@cygnus.com> - - * elf64-alpha.c (elf64_alpha_relax_section): Use the proper section - for calculating a local symbol's address. - (elf64_alpha_calc_got_offsets): Skip entries with 0 use count. - Set the .got's cooked size as well as the raw size. - -Fri Apr 24 09:16:00 1998 Nick Clifton <nickc@cygnus.com> - - * elf32-v850.c (v850_elf_print_private_bfd_data): Add - internationalisation of printed information. - - * coff-arm.c (coff_arm_print_private_bfd_data): Add - internationalisation of printed information. - -Fri Apr 24 12:09:18 1998 Ian Lance Taylor <ian@cygnus.com> - - * syms.c (struct indexentry): Change directory_name, file_name, - and function_name fields to char *. - (struct stab_find_info): Change cached_file_name field to char *. - -Thu Apr 23 08:13:04 1998 Nick Clifton <nickc@cygnus.com> - - * peicode.h (dir_names): Add missing N_() macros to dir_names array. - -Wed Apr 22 13:06:15 1998 Tom Tromey <tromey@cygnus.com> - - * po/Make-in (MKINSTALLDIRS): Don't look in $(top_srcdir). - -Wed Apr 22 17:48:48 1998 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.am (install-data-local): Make $(includedir). - * Makefile.in: Rebuild. - -Wed Apr 22 13:06:15 1998 Tom Tromey <tromey@cygnus.com> - - * libbfd-in.h: Use `gettext' and not `dgettext' for now. - -Wed Apr 22 12:53:40 1998 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.am (INCLUDES): Add -I$(srcdir)/../intl -I../intl. - * Makefile.in: Rebuild. - - * bfd-in2.h: Rebuild for Nick's changes. - -Tue Apr 21 23:11:51 1998 Richard Henderson <rth@cygnus.com> - - * archive.c (_bfd_generic_read_ar_hdr_mag): Fix lossage in last - change wrt length == max_namelen. - -Tue Apr 21 21:19:36 1998 Tom Tromey <tromey@scribbles.cygnus.com> - - * Many files: Added gettext invocations around user-visible - strings. - * libbfd-in.h: Added gettext includes and defines. - * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY, - HAVE_LC_MESSAGES): Define. - * configure.in: Call CY_GNU_GETTEXT. Create po/Makefile.in and - po/Makefile. - * Makefile.am (SUBDIRS): Added po. - (POTFILES): New macro. - (po/POTFILES.in): New target. - (SOURCE_HFILES): New macro. - (HFILES): Use it. - * po/Make-in, po/POTFILES.in, po/bfd.pot: New files. - -Tue Apr 21 13:38:18 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) - - * elfcore.h (bfd_prstatus): Copy core_prstatus from the first - NT_PRSTATUS note section encountered, it contains the status of - the currently executing thread when the core file was written. - -Tue Apr 21 10:00:12 1998 Nick Clifton <nickc@cygnus.com> - - * libcoff.h: Add extra parameter to - bfd_coff_link_output_has_begun overrideable function. - * cofflink.c: Pass extra parameter to - bfd_coff_link_output_has_begun function. - * bfd-in.h: Add prototypes for exported ARM interworking - functions. - * peicode.h: ARM specific code reorganised to conform to BFD - coding conventions. - * coffcode.h: ARM specific code reorganised to conform to BFD - coding conventions. - * coff-arm.c: Code reorganised to conform to the BFD coding - conventions. Global variables have been moved into an ARM - specific hash table structure and a new function: - bfd_arm_get_bfd_for_interworking() has been created which is - called from the linker scripts. - -Tue Apr 21 00:11:51 1998 Richard Henderson <rth@cygnus.com> - - * archive.c (_bfd_generic_read_ar_hdr_mag): Simplify end-of-name test. - - * elf64-alpha.c (elf64_alpha_find_reloc_at_ofs): Renamed from - elf64_alpha_relax_find_reloc_ofs. Changed all callers. - (elf64_alpha_add_symbol_hook): Put small commons in .scommon not .sbss. - (elf64_alpha_size_got_sections): Don't merge .got sections twice. - -Sat Apr 18 01:21:04 1998 Stan Cox <scox@cygnus.com> - - * config.bfd: Added sparc86x support. - -Fri Apr 17 22:29:04 1998 Ian Lance Taylor <ian@cygnus.com> - - * elf32-mips.c (mips_elf_relocate_section): Do not complain about - an out of range pc-relative jump/call to an undefined weak symbol. - -Thu Apr 16 13:49:00 1998 Richard Henderson <rth@cygnus.com> - - * elf64-alpha.c (elf64_alpha_do_reloc_gpdisp): Do all gpdisp - comparisons signed. - -Thu Apr 16 11:43:33 1998 Ian Lance Taylor <ian@cygnus.com> - - * archive.c (bfd_generic_archive_p): If a slurp subroutine returns - an error other than bfd_error_system_call, set the error to - bfd_error_wrong_format. - - * targets.c (bfd_target_vector) [SELECT_VECS not defined]: Add - bfd_elf32_powerpcle_vec. - - * elf.c (copy_private_bfd_data): If all the p_paddr fields in the - program segments are zero, don't set p_paddr_valid. - -Wed Apr 15 22:15:16 1998 Richard Henderson <rth@cygnus.com> - - * elf64-alpha.c: Initial implementation of relaxation -- - (struct alpha_elf_link_hash_entry): Add use_count member. - (elf64_alpha_check_relocs): Initialize and increment it. - (elf64_alpha_can_merge_gots): Check it when considering merging. - (elf64_alpha_merge_gots): Drop entries with zero use. - (elf64_alpha_calc_got_offsets_for_symbol): Likewise. - (elf64_alpha_always_size_sections): Split out got sizing ... - (elf64_alpha_size_got_sections): ... here. New function. - (elf64_alpha_relax_find_reloc_ofs): New function. - (elf64_alpha_relax_with_lituse): Likewise. - (elf64_alpha_relax_without_lituse): Likewise. - (elf64_alpha_relax_opt_call): Likewise. - (elf64_alpha_relax_section): Likewise. - (elf64_alpha_add_symbol_hook): Likewise. - (elf64_alpha_howto_table): Implement GPRELHIGH/LOW & IMMED_GP_16. - (elf64_alpha_relocate_section): Likewise. - (bfd_elf64_bfd_relax_section): Define. - (elf_backend_add_symbol_hook): Likewise. - -Wed Apr 15 16:08:46 1998 Richard Henderson <rth@cygnus.com> - - * elf.c (prep_headers): Use new EM_SPARCV9 symbol. - * elf64-sparc.c (ELF_MACHINE_CODE): Likewise. - (ELF_MACHINE_ALT1): New. Set to EM_OLD_SPARC64. - -Wed Apr 15 11:34:33 1998 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Add -lkernel32 to WIN32LIBADD on cygwin32. - * configure: Rebuild. - -Mon Apr 13 16:46:27 1998 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.am (libbfd_la_LIBADD): Add @WIN32LIBADD@. - (libbfd_la_LDFLAGS): Add @WIN32LDFLAGS@. - * configure.in: Define and substitute WIN32LDFLAGS and - WIN32LIBADD. - * aclocal.m4: Rebuild with new libtool. - * configure, Makefile.in: Rebuild. - -Fri Apr 10 13:44:27 1998 Ian Lance Taylor <ian@cygnus.com> - - * coffcode.h (coff_write_object_contents): Move a PE COMDAT symbol - before any other symbols in the same section. - -Wed Apr 8 14:50:23 1998 Michael Meissner <meissner@cygnus.com> - - * config.bfd (powerpc*-*-*): Remove PowerPC NT support from ELF - systems. - -Tue Apr 7 16:25:31 1998 Gavin Romig-Koch <gavin@cygnus.com> - - * dwarf2.c (comp_unit): Move it earlier in the source. Add - addr_size. - (read_address): Replace 'bdf*' argument with 'comp_unit*' argument. - Use addr_size for address size, rather than sizeof(bfd_vma). - (read_attribute): Replace bdf* argument with 'comp_unit*' argument. - Fix call to read_address. - (decode_line_info): Replace bdf* argument with 'comp_unit*' argument. - Scrap other unneeded arguments. Fix call to read_address. - (scan_unit_for_functions): Fix call to read_attribute. - (parse_comp_unit): We now handle more values for addr_size. - Set addr_size in unit. Fix call to read_attribute and - decode_line_info. - -Tue Apr 7 15:44:47 1998 Gavin Romig-Koch <gavin@cygnus.com> - - * dwarf2.c (parse_comp_unit): Drop use of unit->name when it is null. - -Tue Apr 7 12:35:18 1998 Ian Lance Taylor <ian@cygnus.com> - - * archures.c (bfd_default_scan): Add m68k cases back to default - switch, reverting patch of March 25, since IEEE support depends - upon them. - -Mon Apr 6 14:06:40 1998 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.am (diststuff): New target. - * Makefile.in: Rebuild. - -Sun Apr 5 16:21:44 1998 Jeffrey A Law (law@cygnus.com) - - * som.c (som_bfd_ar_write_symbol_stuff): Fix computation of - som_offset when we have an extended name table. - -Sun Apr 5 16:04:39 1998 H.J. Lu <hjl@gnu.org> - - * Makefile.am (stamp-lib): Check that .libs/libbfd.a exists before - trying to copy it. - * Makefile.in: Rebuild. - -Fri Apr 3 11:09:42 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * elf32-m68k.c (elf_m68k_size_dynamic_sections): Generate section - symbols when creating a shared library. - (elf_m68k_adjust_dynindx): New function, used by above code. - (elf_m68k_finish_dynamic_sections): Initialize the section - symbols. - (elf_m68k_relocate_section): Change abort to BFD_ASSERT. - -Wed Apr 1 16:04:02 1998 Nick Clifton <nickc@cygnus.com> - - * coff-arm.c (in_reloc_p): Use ARM_RVA32 in place of constant - value 11. - -Wed Apr 1 13:36:58 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * elf32-m68k.c (elf_m68k_relocate_section, case R_68K_PLT*O): Fix - assertion. - -Tue Mar 31 00:12:12 1998 Jeffrey A Law (law@cygnus.com) - - * elf-m10300.c (mn10300_elf_relax_section): Correctly handle - absolute symbols. - -Mon Mar 30 12:46:15 1998 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Set version to 2.9.1. - * configure: Rebuild. - - * Branched binutils 2.9. - -Mon Mar 30 12:20:50 1998 Brent Baccala <baccala@freesoft.org> - - * syms.c (ENABLE_CACHING): Define. - (struct indexentry): Define. - (struct stab_cache): Remove. - (cmpindexentry): New static function. - (struct stab_find_info): Add new fields: indextable, - indextablesize, cached_indexentry, cached_offset, cached_stab, and - cached_file_name. Remove fields: file_cache, function_cache, and - line_cache. - (_bfd_stab_section_find_nearest_line): Rewrite to build a sorted - index table and search it. - -Mon Mar 30 10:39:34 1998 Ian Lance Taylor <ian@cygnus.com> - - * elf.c (_bfd_elf_copy_private_section_data): Call - copy_private_bfd_data once we've seen the last SEC_ALLOC section. - - * cpu-mips.c: Remove trailing comma at end of enumeration list. - -Sat Mar 28 16:33:02 1998 Ian Lance Taylor <ian@cygnus.com> - - * coff-arm.c: Define all globally visible variables and functions - only when COFF_WITH_PE is not defined. - * configure.in (armpe_little_vec, armpe_big_vec): Add - coff-arm.lo. - * configure: Rebuild. - -Fri Mar 27 16:06:02 1998 Ian Lance Taylor <ian@cygnus.com> - - Fix some gcc -Wall warnings: - * aout-arm.c (MY(fix_pcrel_26)): Add casts to avoid warnings. - * archive.c (_bfd_generic_read_ar_hdr_mag): Likewise. - * archures.c (bfd_default_scan): Likewise. - * bfd.c (bfd_scan_vma): Likewise. - * binary.c (mangle_name): Likewise - * coff-arm.c (aoutarm_fix_pcrel_26): Likewise. - * coff-sh.c (sh_relocate_section): Likewise. - * coff-stgo32.c (create_go32_stub): Likewise. - * coffcode.h (coff_slurp_line_table): Likewise. - * ecoff.c (_bfd_ecoff_write_armap): Likewise. - * elf.c (_bfd_elf_make_section_from_shdr): Likewise. - (assign_file_positions_for_segments): Likewise. - * elf32-mips.c (mips_elf_relocate_section): Likewise. - * elf32-ppc.c (ppc_elf_add_symbol_hook): Likewise. - * oasys.c (oasys_write_sections): Likewise. - * ppcboot.c (ppcboot_object_p): Likewise. - (mangle_name): Likewise. - * riscix.c (riscix_fix_pcrel_26): Likewise. - * srec.c (srec_scan): Likewise. - * stabs.c (_bfd_write_section_stabs): Likewise. - * sunos.c (sunos_add_dynamic_symbols): Likewise. - * aout-ns32k.c (_bfd_ns32k_relocate_contents): Add default case to - switch. Declare parameters for function pointers. - * archures.c (bfd_default_scan): Add braces to avoid ambiguous if - warning. - * elf.c (elf_sort_sections): Likewise. - * coff-arm.c (coff_thumb_pcrel_common): Initialize relocation. - Add default cases to switches. - (coff_arm_relocate_section): Remove unused local variables. - Always set rstat. - (coff_arm_bfd_set_private_flags): Change flag variable to type - flagword. - * coff-mips.c (mips_relocate_section): Initialize use_lo. - * coff-ppc.c (ppc_record_toc_entry): Change i to unsigned int. - (dump_toc): Change cat to const, and initialize it. - * coff-sh.c (sh_relax_delete_bytes): Initialize start and voff. - * elf32-sh.c (sh_elf_relax_delete_bytes): Likewise. - (sh_elf_relocate_section): Initialize r_symndx. - * coffcode.h (coff_compute_section_file_positions): Only declare - old_sofar if ALIGN_SECTIONS_IN_FILE. - (coff_write_object_contents): Initialize csym. - * coffgen.c (coff_pointerize_aux): Make type and class unsigned. - * cpu-ns32k.c (_bfd_ns32k_get_displacement): Add default case to - switch. - * dwarf2.c: Include libiberty.h. - (read_2_signed_bytes, read_4_signed_bytes): Comment out. - (decode_line_info): Remove unused local variables. - * elf32-m32r.c (m32r_elf_sda16_reloc): Likewise. - (m32r_elf_relocate_section): Likewise. - * elf32-v850.c (v850_elf_store_addend_in_insn): Likewise. - (v850_elf_reloc): Likewise. - * elf-bfd.h (elf_linker_section_t): Make alignment unsigned. - (struct elf_obj_tdata): Make cverdefs and cverrefs unsigned. - * elf.c (assign_file_positions_for_segments): Always set adjust. - * elf32-d30v.c (bfd_elf_d30v_reloc): Initialize tmp_addr. Fully - parenthesize expression. - * elf32-m32r.c (m32r_elf_relocate_section): Always initialize h. - (m32r_elf_object_p): Return a value. - (m32r_elf_print_private_bfd_data): Change fprintf format string. - * elf32-mips.c (mips_elf_final_link): Initialize last. - (mips_elf_finish_dynamic_sections): Initialize last and dindx. - * elf32-v850.c (v850_elf_object_p): Return a value. - (v850_elf_print_private_bfd_data): Change fprintf format string. - * elfcode.h (elf_slurp_symbol_table): Change symcount and i to - unsigned long. - * elflink.h (elf_link_add_object_symbols): Change vernum to - unsigned int, and initialize it. Change fprintf format string. - (NAME(bfd_elf,size_dynamic_sections)): Cast -1 to bfd_size_type - when setting or comparing to soname_indx. - (elf_create_pointer_linker_section): Change num_symbols to - unsigned int. - * libcoff-in.h (coff_data_type): Change flags to flagword. - * peicode.h (pe_print_idata): Initialize idx. Change j to - bfd_size_type. Initialize hint_member. Remove useless test to - time_stamp. - (pe_print_edata): Change num_functions and num_names in struct - EDT_type to unsigned long. Remove cast. Change fprintf format - string. - * ppcboot.c (ppcboot_object_p): Change i to size_t. - * reloc.c (bfd_get_reloc_size): Change return type to unsigned - int. - * reloc16.c (bfd_coff_reloc16_relax_section): Change shrinks to - int *. Update uses. Change j to long. - * bfd-in2.h, libcoff.h: Rebuild. - -Fri Mar 27 10:10:46 1998 Catherine Moore <clm@cygnus.com> - - * elf32-v850.c Remove definition of USE_REL. - (v850_elf_info_to_howto_rela): New function. - (v850_elf_perform_relocation): Renamed from - v850_elf_store_addend_in_insn. Removed replace argument. - (v850_elf_reloc): store the relocation in the addend field instead - of the insn. - (v850_elf_final_link_relocate): Now calls - v850_elf_perform_relocation. - (v850_elf_relocate_section): Remove code to generate REL - relocations. - -Thu Mar 26 13:32:17 1998 Ian Lance Taylor <ian@cygnus.com> - - * coffcode.h (coff_new_section_hook): Set the type and storage - class in the native symbol information allocated for a new section - symbol. - -Thu Mar 26 10:13:41 1998 Nick Clifton <nickc@cygnus.com> - - * peicode.h: Chain together calls to - coff_bfd_copy_private_bfd_data and - coff_bfd_print_private_bfd_data. - - * coff-arm.c: Add prototypes for - coff_arm_bfd_print_private_bfd_data and - coff_arm_bfd_copy_private_bfd_data. - -Wed Mar 25 15:45:55 1998 Nick Clifton <nickc@cygnus.com> - - * coffcode.h (coff_mkobject_hook): Set private falgs even for a PE - build. - - * peicode.h: Call arm-coff private data functions after handling - pe private data. - - * coff-arm.c: Turn statics into globals so that they can be shared - both pe and pei backends. - -Wed Mar 25 15:19:38 1998 Ian Lance Taylor <ian@cygnus.com> - - * aoutf1.h (sunos_set_arch_mach): Use bfd_mach_m68* rather than - plain numbers. - (sunos_write_object_contents): Likewise. - * aoutx.h (NAME(aout,machine_type)): Likewise. - * coffcode.h (coff_set_arch_mach_hook): Likewise. - -Wed Mar 25 13:59:24 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * archures.c (bfd_mach_m68*): Add definitions for various m68k - variants. - (bfd_default_scan): Remove m68k special cases. - * bfd-in2.h: Rebuild. - * mipsbsd.c (MY(write_object_contents)): Use bfd_mach_m68* rather - than plain numbers. - * sparclynx.c (NAME(lynx,set_arch_mach)): Likewise. - * cpu-m68k.c (arch_info_struct): Likewise. Add entry for - m68k:68000. - (bfd_m68k_arch): Set mach field to zero to signal no explicit - selection, change printable_name to just "m68k" and make that the - default instead of m68k:68020. - - * aout-tic30.c (NAME): Define this to avoid multiple definitions - from aoutx.h. - (MY_get_section_contents): Define as aout_32_get_section_contents - rather than NAME(aout,get_section_contents). - - * elf-m10300.c (elf32_mn10300_link_hash_table_create): Fix cast. - - * evax-alpha.c (evax_set_arch_mach): Only accept bfd_arch_alpha - and call bfd_default_set_arch_mach to do the real work. - -Wed Mar 25 10:41:35 1998 Richard Henderson <rth@cygnus.com> - - * bout.c (BALX): Include return register g14 as part of the insn. - (BALX_MASK): New. - (calljx_callback): Use it. - -Wed Mar 25 11:19:28 1998 Ian Lance Taylor <ian@cygnus.com> - - * libbfd-in.h (BFD_ALIGN): Cast this parameter to bfd_vma. - * libbfd.h: Rebuild. - - * elf-m10300.c (elf32_mn10300_finish_hash_table_entry): Change - byte_count to unsigned int. - (mn10300_elf_relax_section): Initialize internal_relocs. Remove - unused local variables. - - * evax-alpha.c (evax_close_and_cleanup): Remove unused local - variables er and er1. - - * cpu-v850.c: Include <ctype.h>. - (scan): Case isdigit argument to unsigned char. - - From Yan Meroth <YAN.MEROTH@st.com>: - * ihex.c (ihex_scan): Add extbase variable so that getting an - extended linear address record does not ignore any previous - extended address. - (ihex_write_object_contents): When writing out an extended linear - address record, zero out any previous extended address. - -Tue Mar 24 16:09:43 1998 Manfred Hollstein <manfred@s-direktnet.de> - - * ieee.c (do_one): Check section before dereferencing it. - (ieee_canonicalize_reloc): Likewise with src->relent.sym_ptr_ptr. - (ieee_generic_stat_arch_elt): Likewise with abfd->my_archive. - -Mon Mar 23 18:51:47 1998 Joel Sherrill <joel@OARcorp.com> - - * config.bfd: (sh*-*-rtems*): Switched from ELF to COFF. - -Mon Mar 23 14:23:36 1998 Nick Clifton <nickc@cygnus.com> - - * coff-arm.c: Add interworking functions to pe backends. - -Fri Mar 20 18:47:20 1998 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Use AM_DISABLE_SHARED. - * aclocal.m4, configure: Rebuild with libtool 1.2. - -Fri Mar 20 11:25:41 1998 Nick Clifton <nickc@cygnus.com> - - * coff-arm.c (coff_arm_relocate_section): Better error messages - when interowrking conflucts occur. Courtesy of Jonathan Walton - and Tony Thompson. - (aoutarm_std_reloc_howto): Fixed bitsize fields of rightshifted - relocations. Patch courtesy of Jonathan Walton and Tony - Thompson. - -Fri Mar 20 02:26:43 1998 Richard Henderson <rth@cygnus.com> - - * elf32-sparc.c (elf32_sparc_adjust_dynamic_symbol): Revert - part of Feb 22 change controling when to override the existing - symbol with the .plt entry. - -Wed Mar 18 09:26:25 1998 Nick Clifton <nickc@cygnus.com> - - * config.bfd (targ_cpu): Add thumb-pe target. - - * coffcode.h (OTHER_GLOBAL_CLASS): Support thumb external - functions in PE build. - -Sun Mar 8 23:37:26 1998 Stan Cox <scox@equinox.cygnus.com> - - * config.bfd (sparclite-*-elf*): Added. - -Mon Feb 23 19:31:19 1998 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Add elf.lo to elf shell variable. - * Makefile.am (BFD_LIBS): Remove elf.lo. - (BFD_LIBS_CFILES): Remove elf.c. - (BFD32_BACKENDS): Add elf.lo. - (BFD32_BACKENDS_CFILES): Add elf.c. - * configure, Makefile.in: Rebuild. - -1998-02-23 15:53 Richard Henderson <rth@cygnus.com> - - * elf32-i386.c (elf_i386_relocate_section): A pc-relative - relocation against a non-local symbol should not have a dynamic - relocation. - -Mon Feb 23 16:17:08 1998 Ian Lance Taylor <ian@cygnus.com> - - * peicode.h (coff_swap_filehdr_in): Don't set BFD flag HAS_SYMS in - COFF filehdr flags. - (pe_print_private_bfd_data): Print PE flags. From Mikey - <jeffdb@netzone.com>. - -Sun Feb 22 20:39:00 1998 Richard Henderson <rth@cygnus.com> - - * elf32-sparc.c (elf32_sparc_adjust_dynamic_symbol): Don't create - a plt entry when we can determine that we authoritatively define - the symbol. - -Sun Feb 22 20:33:05 1998 Richard Henderson <rth@cygnus.com> - - * configure.in (COREFILE selection): Remove sparc-*-linux*. They - don't actually use trad-core, but a SunOS-style core file handled - by gdb directly. - * hosts/sparclinux.h: Remove. - -Wed Feb 18 15:31:06 1998 Ian Lance Taylor <ian@cygnus.com> - - * peicode.h (pe_print_idata): If there is no .idata section, look - for the import tables in some other section. Make the initial - label line up better with the data. Print the import address - table even if there is no import name table. If the import - address table holds actual addresses, print them. - -Tue Feb 17 12:58:34 1998 Ian Lance Taylor <ian@cygnus.com> - - * libbfd.c (bfd_seek): If fseek fails, save errno around call to - bfd_tell. If errno is EINVAL, set bfd_error_file_truncated, not - bfd_error_system_call. - -Fri Feb 13 13:11:33 1998 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.am (AUTOMAKE_OPTIONS): Define. - * configure, Makefile.in, aclocal.m4: Rebuild with automake 1.2e. - - From H.J. Lu <hjl@gnu.org>: - * Makefile.am (libbfd_la_LDFLAGS): Define. - * Makefile.in: Rebuild. - -Thu Feb 12 17:31:11 1998 Ian Lance Taylor <ian@cygnus.com> - - NetBSD patches from Gordon W. Ross <gwr@mc.com>: - * netbsd.h (MACHTYPE_OK): Define. - (MY(write_object_contents)): Use DEFAULT_ARCH and DEFAULT_MID when - calling N_SET_MACHTYPE, rather than having a switch. - * libaout.h (enum machine_type): Add M_PMAX_NETBSD, M_VAX_NETBSD, - and M_ALPHA_NETBSD. - * i386netbsd.c (MACHTYPE_OK): Don't define. - (DEFAULT_MID): Define. - * m68k4knetbsd.c (SEGMENT_SIZE): Don't define. - (MACHTYPE_OK): Don't define. - (DEFAULT_MID): Define. - * m68knetbsd.c: (MACHTYPE_OK): Don't define. - (DEFAULT_MID): Define. - * ns32knetbsd.c (MACHTYPE_OK): Don't define. - (DEFAULT_MID): Define. - * sparcnetbsd.c (MACHTYPE_OK): Don't define. - (DEFAULT_MID): Define. - - NetBSD patches from Gordon W. Ross <gwr@mc.com>: - * vaxnetbsd.c: New file. - * netbsd-core.c: Clean up. Remove unused macros. Use netbsd - rather than netbsd_core. - * targets.c (vaxnetbsd_vec): Declare. - (bfd_target_vector): Add vaxnetbsd_vec. If NETBSD_CORE is - defined, add netbsd_core_vec. - * configure.in: Set COREFILE for alpha*-*-netbsd* and - powerpc-*-netbsd* to netbsd-core.lo. If COREFILE is - netbsd-core.lo, set COREFLAG to -DNETBSD_CORE. - * config.bfd (alpha*-*-netbsd*): New target. - * Makefile.am: Rebuild dependencies. - (BFD32_BACKENDS): Add vaxnetbsd.lo. - (BFD32_BACKENDS_CFILES): Add vaxnetbsd.c. - * configure, Makefile.in: Rebuild. - - * configure.host: Remove the old shared library build stuff. We - now use libtool instead. - -Wed Feb 11 17:13:09 1998 Richard Henderson <rth@cygnus.com> - - * tekhex.c (tekhex_write_object_contents): Call tekhex_init. - -Tue Feb 10 19:23:28 1998 H.J. Lu <hjl@gnu.org> - - * configure.in: Take stab-syms.lo out of sparclinux_vec list. - * configure: Rebuild. - -Tue Feb 10 15:16:38 1998 Nick Clifton <nickc@cygnus.com> - * elf32-v850.c (remember_hi16s_reloc): New function. - (find_remembered_hi16s_reloc): New function. - (v850_elf_store_addend_in_insn): Use the above new functions to - match up HI6S relocs with LO16 relocs. - -Tue Feb 10 15:01:39 1998 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Change -linux* to -linux-gnu*. - * config.bfd, configure.host: Likewise. - * configure: Rebuild. - -Mon Feb 9 19:40:59 1998 Nick Clifton <nickc@cygnus.com> - - * elf32-v850.c (v850_elf_store_addend_in_insn): Fix another - LO16/HI16S bug and improve comments about what is going on. - -Sat Feb 7 15:27:03 1998 Ian Lance Taylor <ian@cygnus.com> - - * configure, aclocal.m4: Rebuild with new libtool. - -Fri Feb 6 14:48:20 1998 Nick Clifton <nickc@cygnus.com> - - * elf32-v850.c (v850_elf_merge_private_bfd_data): Do not complain - when merging v850 code into v850e/v850ea code. Do not initialise - output flags if the input is the default architecture. - -Fri Feb 6 11:50:22 1998 Jeffrey A Law (law@cygnus.com) - - * elf32-mips.c (bfd_elf32_bfd_reloc_type_lookup): For BFD_RELOC_CTOR - get the size from bfd_arch_bits_per_address instead of directly - from the isa. - -Thu Feb 5 14:21:34 1998 Michael Meissner <meissner@cygnus.com> - - * libbfd-in.h (BFD_ALIGN): If rounding up would cause the address - to wrap, just return all 1's bits instead. - * libbfd.h: Regenerate. - -Thu Feb 5 11:51:05 1998 Ian Lance Taylor <ian@cygnus.com> - - * coff-i386.c (coff_pe_i386_relocate_section): New static function - if COFF_WITH_PE. - (coff_relocate_section): If COFF_WITH_PE, define as - coff_pe_i386_relocate_section. - * coffcode.h (coff_write_object_contents): If COFF_IMAGE_WITH_PE, - skip empty sections, to match coff_write_object_contents. - - * elf64-mips.c (mips_elf64_swap_reloca_out): Swap out r_addend, - rather than swapping out r_offset twice. From Luke Deller - <luked@cse.unsw.edu.au>. - -Wed Feb 4 19:11:28 1998 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Set libtool_enable_shared rather than - libtool_shared. Remove diversion hack. - * configure, Makefile.in, doc/Makefile.in, aclocal.m4: Rebuild - with new libtool. - -Wed Feb 4 16:10:21 1998 Brent Baccala <baccala@freesoft.org> - - * syms.c (struct stab_cache): Define. - (struct stab_find_info): Remove cached_offset, cached_stab, - cached_str, and cached_stroff fields. Add file_cache, - function_cache, and line_cache fields. - (_bfd_stab_section_find_nearest_line): Use extensive caching to - speed up searches. - -Wed Feb 4 13:34:22 1998 Ian Lance Taylor <ian@cygnus.com> - - * peicode.h (pe_print_idata): Check for import of ordinal rather - than name. - (pe_print_edata): If there is no .edata section, look for the - export data in some other section. - -Mon Feb 2 20:05:42 1998 Jason Molenda (crash@bugshack.cygnus.com) - - * configure.in: Change version to 2.8.4. - * configure: Regenerated. - -Mon Feb 2 17:39:39 1998 Steve Haworth <steve@pm.cse.rmit.EDU.AU> - - Add tms320c30 support: - * cpu-tic30.c: New file. - * aout-tic30.c: New file. - * coff-tic30.c: New file. - * archures.c (bfd_arch_tic30): Define. - (bfd_tic30_arch): Declare. - (bfd_archures_list): Add bfd_tic30_arch. - * targets.c (bfd_target_vector): Add tic30_aout_vec and - tic30_coff_vec. - * reloc.c (BFD_RELOC_TIC30_LDP): Define. - * coffcode.h (coff_set_arch_mach_hook): Add tic30 case. - (coff_set_flags): Likewise. - * config.bfd (tic30-*-*aout*, tic30-*-*coff*): New targets. - * configure.in (tic30_aout_vec, tic30_coff_vec): New vectors. - * Makefile.am: Rebuild dependencies. - (ALL_MACHINES): Add cpu-tic30.lo. - (ALL_MACHINES_CFILES): Add cpu-tic30.c. - (BFD32_BACKENDS): Add aout-tic30.lo and coff-tic30.lo. - (BFD32_BACKENDS_CFILES): Add aout-tic30.c and coff-tic30.c. - * configure, Makefile.in, bfd-in2.h, libbfd.h: Rebuild. - -Mon Feb 2 12:25:12 1998 Nick Clifton <nickc@cygnus.com> - - * elf32-v850.c (v850_elf_store_addend_in_insn): Allow HI16_S reloc - to lag behind LO16 reloc by a couple of instructions. - -Mon Feb 2 14:09:46 1998 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.am ($(srcdir)/bfd-in2.h): Add dummy command to force - make to reexamine the file timestamp. - ($(srcdir)/libbfd.h, $(srcddir)/libcoff.h): Likewise. - - * elf64-alpha.c (ELF_MAXPAGESIZE): Change to 0x10000 from - 0x100000. - -Fri Jan 30 19:07:07 1998 Geoff Keating <geoffk@ozemail.com.au> - - * elf32-ppc.c (ppc_elf_create_dynamic_sections): New procedure - to create .dynsbss and .rela.sbss sections. - (ppc_elf_adjust_dynamic_symbol): Put space for small data to be - copied from dynamic objects into .sbss. - (ppc_elf_size_dynamic_sections): Strip .rela.sbss if we don't - use it. Correct typo of .rela.sdata2. - (ppc_elf_finish_dynamic_symbol): Generate reloc to where we - put the data, which may now be in .sbss. - (ppc_elf_relocate_section): A SDAREL16 reloc can be in dynsbss. - (elf_backend_create_dynamic_sections): Define as - ppc_elf_create_dynamic_sections. - - * elf32-ppc.c (ppc_elf_check_relocs): Don't emit R_PPC_REL* relocs - against _GLOBAL_OFFSET_TABLE_. - (ppc_elf_relocate_section): Don't emit R_PPC_REL32 relocs in - shared libraries which refer to local symbols. Make sure that the - test for allocating space for a reloc in a shared object is the - same as the test for emitting a reloc. - -Thu Jan 29 15:55:35 1998 J.J. van der Heijden <J.J.vanderHeijden@student.utwente.nl> - - * config.bfd (i[3456]-*-mingw32*): New target. - * acinclude.m4 (BFD_BINARY_OPEN): Check for mingw32. - * aclocal.m4, configure: Rebuild. - -Wed Jan 28 13:41:26 1998 Ian Lance Taylor <ian@cygnus.com> - - * elf.c (_bfd_elf_close_and_cleanup): Only check the strtab if we - have a bfd_object. - -Tue Jan 27 21:43:55 1998 Richard Henderson <rth@cygnus.com> - - Sparc v9 ABI compliant PLT: - * elf64-sparc.c (PLT_HEADER_SIZE): V9 ABI uses 4 entries. - (plt_templates, sparc64_elf_build_plt_entry): Delete. - (LARGE_PLT_THRESHOLD): New define. - (GOT_RESERVED_ENTRIES): V9 ABI only uses 1. - (sparc64_elf_build_plt): New function. - (sparc64_elf_plt_entry_offset): Likewise. - (sparc64_elf_plt_ptr_offset): Likewise. - (sparc64_elf_adjust_dynamic_symbol): Change h->plt_offset to - contain the index for convenience. Skip the initial entries - in .rela.plt. - (sparc64_elf_size_dynamic_sections): Zero the allocated contents - memory for the benefit of .rela.plt. - (sparc64_elf_relocate_section): Call sparc64_elf_plt_entry_offset. - (sparc64_elf_finish_dynamic_symbol): Kill template stuff. Use - sparc64_elf_plt_entry_offset & sparc64_elf_plt_ptr_offset for reloc. - (sparc64_elf_finish_dynamic_sections): DT_PLTGOT points to .plt. - Call sparc64_elf_build_plt. - (elf_backend_want_got_plt): No. - (elf_backend_plt_readonly): No. - (elf_backend_plt_alignment): 8. - - * elf.c (_bfd_elf_close_and_cleanup): New function; free the shstrtab. - * elf-bfd.h (_bfd_elf_close_and_cleanup): Declare it. - * elfxx-target.h (bfd_elfNN_close_and_cleanup): Arrange for it - to be called. - -Tue Jan 27 21:45:15 1998 Jeffrey A Law (law@cygnus.com) - - * archures.c (bfd_mach_mips*): Add definitions for various MIPS - processors. - * cpu-mips.c (arch_info_struct): Add mips variants. - * bfd-in2.h: Rebuilt. - -Tue Jan 27 15:06:04 1998 Nick Clifton <nickc@cygnus.com> - - * coff-arm.c (coff_arm_relocate_section): Preserve the contents of - t2a3_b_insn. - -Tue Jan 27 12:47:27 1998 Robert Lipe <robertl@dgii.com> - - * config.bfd (i[3456]86-sco3.2v5*): ELF now the default. - (i[3456]86sco3.2v5*coff): New target. - -Mon Jan 26 15:41:30 1998 Ian Lance Taylor <ian@cygnus.com> - - * bfd-in2.h: Rebuild with changes to chew--tab expansion. - -Thu Jan 22 21:26:48 1998 Richard Henderson <rth@cygnus.com> - - * bfd.c (bfd_get_error_handler): Add orthogonal function. - * bfd-in2.h: Regenerate. - -Thu Jan 22 21:13:39 1998 Richard Henderson <rth@cygnus.com> - - * tekhex.c (tekhex_write_object_contents): Check for no symbols. - -Wed Jan 21 21:19:03 1998 Ian Lance Taylor <ian@cygnus.com> - - * coff-i386.c (coff_i386_rtype_to_howto): If COFF_WITH_PE, don't - adjust addend for an output common symbol (from Jimmy Blair - <jimmyb@wrs.com>). If COFF_WITH_PE, adjust addend for PC relative - defined symbol to counteract adjustment made in generic relocation - code. - - * dwarf2.c: Include sysdep.h, not stdio.h and stdlib.h. - -Wed Jan 21 21:16:06 1998 Manfred Hollstein <manfred@s-direktnet.de> - - * coff-m88k.c (GET_SCNDHR_NRELOC): Fix typo in macro name. - (GET_SCNDHR_NLNNO): Likewise. - -Mon Jan 19 12:49:52 1998 Ian Lance Taylor <ian@cygnus.com> - - * cpu-sh.c (arch_info_struct): Correct next field of sh3e. - -Wed Jan 14 17:23:27 1998 Nick Clifton <nickc@cygnus.com> - - * elf32-m32r.c: Add macros to handle NOP insertion. - -Wed Jan 14 16:15:22 1998 Richard Henderson <rth@cygnus.com> - - * xcofflink.c (xcoff_mark_symbol): Don't mark the absolute section. - (xcoff_mark): Likewise. - (xcoff_build_ldsyms): Mark absolute symbols. - -Wed Jan 14 16:03:11 1998 Richard Henderson <rth@cygnus.com> - - * bout.c (b_out_write_object_contents): Sort symbols before output - to keep {CALL,BAL}NAME symbols adjacent. - (b_out_symbol_cmp): New function. - -For older changes see ChangeLog-9697 +For older changes see ChangeLog-9899 Local Variables: mode: change-log diff --git a/bfd/ChangeLog-9899 b/bfd/ChangeLog-9899 new file mode 100644 index 0000000..c6348c4 --- /dev/null +++ b/bfd/ChangeLog-9899 @@ -0,0 +1,5595 @@ +1999-12-29 Richard Henderson <rth@cygnus.com> + + * elflink.h (bfd_elf,size_dynamic_sections): Don't export all + if no dynamic sections created. + +1999-12-27 Nick Clifton <nickc@cygnus.com> + + * peicode.h (pe_bfd_object_p): Only define for PE format + targets. + +1999-12-17 Nick Clifton <nickc@cygnus.com> + + * coff-i386.c (i3coff_object_p): Delete. + (i386coff_vec): Replace reference to i3coff_object_p with a + reference to coff_object_p. + + * coff-mcore.c (pe_object_p): Delete. + + * peicode.h (pe_bfd_object_p): New function: Detect the + presence of a PE format COFF object file. Also detect and + warn about the presence of LINK6 format Image Library Format + object files. + +1999-12-16 Nick Clifton <nickc@cygnus.com> + + * coff-arm.c (NUM_ELEM): New macro. + (NUM_RELOCS): New macro: The number of known ARM relocs. + (RTYPE2HOWTO): Return NULL if the reloc type is out of range. + (coff_arm_rtype_to_howto): Return NULL if the reloc type is out + of range. + (bfd_arm_process_before_allocation): Produce a warning message if + an out of range symbol index is encountered. + +1999-12-14 Nick Clifton <nickc@cygnus.com> + + * elflink.h (is_global_symbol_definition): New Function: Return + true iff the symbol is being given a global definition in this + bfd. + (elf_link_is_defined_archive_symbol): Do not bother processing + symbols for an archive element that has already been included + in the link. + Use is_global_symbol_definition(). + +1999-12-09 Andrew Cagney <cagney@cygnus.com> + + * config.bfd: Add support for sparc-*-netbsdelf* and + sparc-*-netbsdaout*. + +1999-12-13 Nick Clifton <nickc@cygnus.com> + + * elflink.h (elf_link_is_defined_archive_symbol): Check to see + if the symbol is in the common section. + +1999-12-10 Nick Clifton <nickc@cygnus.com> + + * elflink.h (elf_link_is_defined_archive_symbol): New + function: Decide if a symbol, in an archive map is there + because it is defined in the archive element, or because it is + just another common declaration of it. + (elf_link_add_archive_symbols): Use + elf_link_is_defined_archive_symbol to decide if an archive + element contain a reference to a common symbol should be + linked in or not. + +1999-12-10 Nick Clifton <nickc@cygnus.com> + + * elflink.h: Revert previous patch. + * targets.c: Revert previous patch. + * libbfd-in2.h: Revert previous patch. + * libbfd.h: Revert previous patch. + * elfxx-target.h: Revert previous patch. + * archive.c: Revert previous patch. + * aout-target.h: Revert previous patch. + * aout-tic30.h: Revert previous patch. + * bfd.c: Revert previous patch. + * coff-alpha.c: Revert previous patch. + * coff-rs6000.c: Revert previous patch. + * elf64-mips.c: Revert previous patch. + * ieee.c: Revert previous patch. + * libecoff.h: Revert previous patch. + * oasys.c: Revert previous patch. + * som.c: Revert previous patch. + * vms.c: Revert previous patch. + +1999-12-09 Nick Clifton <nickc@cygnus.com> + + * elflink.h (elf_link_add_archive_symbols): Add an archive + element even if contains a symbol which is currently only + considered to be a common. + + * targets.c (struct bfd_target): Add new field + _bfd_allow_commons_in_armap. + * bfd-in2.h:Regenerate. + + * libbfd-in2.h (_bfd_noarchive_allow_commons_in_armap): + Define. + (_bfd_archive_bsd_allow_commons_in_armap): Define. + * libbfd.h: Regenerate. + + * elfxx-target.h: If using COFF archive map, override + definition of allow_commons_in_armap and replace with + bfd_false. + + * archive.c (bfd_compute_and_write_armap): Do not place common + symbols into the archive map unless _bfd_allow_commons_in_armap + returns true. + + * aout-target.h (MY_allow_commons_in_armap): Define. + * aout-tic30.h (MY_allow_commons_in_armap): Define. + * bfd.c (bfd_allow_commons_in_armap): Define. + * coff-alpha.h (alpha_ecoff_allow_commons_in_armap): Define. + * coff-rs6000.h (xcoff_allow_commons_in_armap): Define. + * elf64-mips.c (bfd_elf64_allow_commons_in_armap): Define. + * ieee.c (ieee_ecoff_allow_commons_in_armap): Define. + * libecoff.h (_bfd_ecoff_allow_commons_in_armap): Define. + * oasys.c (oasys_allow_commons_in_armap): Define. + * som.c (som_allow_commons_in_armap): Define. + * vms.c (vms_allow_commons_in_armap): Define. + +1999-12-07 Jim Blandy <jimb@cygnus.com> + + Add support for SSE registers in ELF core files. + * elf.c (elfcore_make_note_pseudosection): New function. + (elfcore_grok_prfpreg): Use it. + (elfcore_grok_prxfpreg): New function. + (elfcore_grok_note): Recognize Linux NT_PRXFPREG notes. + +1999-12-03 Ian Lance Taylor <ian@zembu.com> + + * elf32-mips.c (mips_elf_calculate_relocation): Divide R_MIPS_PC16 + value by 4 before storing it back in the field. From + Koundinya. K <kk@ddeorg.soft.net>. + +Tue Nov 30 22:41:14 1999 Jeffrey A Law (law@cygnus.com) + + * archures.c (bfd_mach_am33): Define. + * bfd-in2.h: Rebuilt. + * cpu-m10300.c (bfd_am33_arch): Add to the mn103 architecture list + * elf-m10300.c (mn10300_elf_relax_section): Handle am33 instructions. + (compute_function_info): Handle additional registers saved by + movm on the am33. + (elf_mn10300_mach): Handle E_MN10300_MACH_AM33. + (_bfd_mn10300_elf_final_write_processing): Handle bfd_mach_am33. + +1999-11-29 Jim Blandy <jimb@cygnus.com> + + * elf.c (bfd_get_elf_phdrs, bfd_get_elf_phdr_upper_bound): New + functions. + * bfd-in2.h (bfd_get_elf_phdrs, bfd_get_elf_phdr_upper_bound): New + declarations. + +1999-11-27 Michael Meissner <meissner@cygnus.com> + + * reloc.c (BFD_RELOC_ALPHA_USER_LITERAL): New relocation for + internal use within gas for alpha explicit relocations. + (BFD_RELOC_ALPHA_USER_LITUSE_BASE): Ditto. + (BFD_RELOC_ALPHA_USER_LITUSE_BYTOFF): Ditto. + (BFD_RELOC_ALPHA_USER_LITUSE_JSR): Ditto. + (BFD_RELOC_ALPHA_USER_GPDISP): Ditto. + (BFD_RELOC_ALPHA_USER_GPRELHIGH): Ditto. + (BFD_RELOC_ALPHA_USER_GPRELLOW): Ditto. + + * elf64-alpha.c (elf64_alpha_reloc_map): Add mappings for + BFD_RELOC_ALPHA_USER_*. + + * bfd-in2.h: Regenerate. + * libbfd.h: Regenerate. + +1999-11-26 Fred Fish <fnf@cygnus.com> + + * elf.c (elfcore_read_notes): Add prototype for static function. + (_bfd_elf_make_section_from_phdr): Renamed from bfd_section_from_phdr. + (bfd_section_from_phdr): Replacement function that calls + _bfd_elf_make_section_from_phdr for generic segment types and + backend fucntion pointed to by elf_backend_section_from_phdr for + backend specific segment types. + (_bfd_elfcore_section_from_phdr): Remove call to elfcore_read_notes, + now called by _bfd_elf_make_section_from_phdr. Note that this func + is now just a stub between the caller and bfd_section_from_phdr. + + * elf-bfd.h (struct elf_backend_data): Add new function pointer + elf_backend_section_from_phdr. + (elf_backend_section_from_phdr): Add prototype. + + * elfxx-target.h (elf_backend_section_from_phdr): Define default. + (elfNN_bed): Add elf_backend_section_from_phdr. + +1999-11-25 Nick Clifton <nickc@cygnus.com> + + * coff-arm.c (bfd_arm_get_bfd_for_interworking): Add + SEC_CODE and SEC_READONLY flags to glue sections. + + * elf32-arm.h (bfd_elf32_arm_get_bfd_for_interworking): Add + SEC_CODE and SEC_READONLY flags to glue sections. + +1999-11-20 Nick Clifton <nickc@cygnus.com> + + * coff-mcore.c (coff_mcore_relocate_section): Fix typo in previous + delta. + +1999-11-19 Catherine Moore <clm@cygnus.com> + + * elf32-m68k.c (elf_cpu32_plt0_entry): Fix encoding. + (elf_cpu32_plt_entry): Likewise. + +1999-11-18 Nick Clifton <nickc@cygnus.com> + + * coff-mcore.c (coff_mcore_rtype_to_howto): Special case handling + for RVA relocs. + (coff_mcore_relocate_section): Initialise addend to 0. + Special case processing of RVA reloc. + +1999-11-17 Richard Henderson <rth@cygnus.com> + + * elf-bfd.h (struct elf_backend_data): Reorder collect and + type_change_ok; add sign_extend_vma. + * elf32-mips.c (elf_backend_sign_extend_vma): Define. + * elfcode.h (elf_swap_symbol_in): Mind be->sign_extend_vma. + (elf_swap_shdr_in, elf_swap_phdr_in): Likewise. + * elfxx-target.h (elf_backend_sign_extend_vma): Default. + (elfNN_bed): Follow struture changes. + +1999-11-09 Ian Lance Taylor <ian@zembu.com> + + * libbfd.c (bfd_read): Check result of read against desired result + using !=, not <. + (_bfd_generic_get_section_contents): Set bfd_error if the seek is + invalid compared to the section size. + + * ieee.c (ieee_slurp_debug): Get the length of the debug + information right if there is no data part. + +Tue Nov 2 01:44:41 1999 Jeffrey A Law (law@cygnus.com) + + * som.c (som_fixup_formats): Improve handling of R_AUX_UNWIND, + R_LINETAB, R_LINETAB_ESC, and R_COMMENT. + +1999-10-28 Ian Lance Taylor <ian@zembu.com> + + * elflink.h (elf_bfd_final_link): Make last_local signed. + +1999-10-27 Ian Lance Taylor <ian@zembu.com> + + * stabs.c (_bfd_link_section_stabs): Make sure .stabstr section + starts with a zero. + +Sat Oct 23 17:36:12 1999 Andrew Cagney <cagney@b1.cygnus.com> + + * archures.c: Add definitions bfd_mach_d10v, bfd_mach_d10v_ts2 and + bfd_mach_d10v_ts3. + * cpu-d10v.c (d10v_ts3_info, d10v_ts2_info): Add. + * bfd-in2.h: Regenerate. + +1999-10-15 Andrew Haley <aph@cygnus.com> + + * dwarf1.c (parse_die): Fail to parse a die if its length is zero. + +Sun Oct 17 17:19:00 1999 Jeffrey A Law (law@cygnus.com) + + * libhppa.h (bfd_hppa_insn2fmt): Change to return an int. + +1999-10-08 Ian Lance Taylor <ian@zembu.com> + + * elflink.h (elf_merge_symbol): When overriding a weak symbol with + a defined symbol in a shared library, clear the DEF_DYNAMIC flag + too. + +Fri Oct 8 13:03:45 1999 Geoffrey Keating <geoffk@cygnus.com> + + * elf32-mips.c (mips_elf_calculate_relocation): R_MIPS_LITERAL + relocs also need the GP value. + (_bfd_mips_elf_relocate_section): Handle unpaired LO16 relocs + properly. Handle sign-extension for R_MIPS_64 correctly. Correct + the GP value for R_MIPS_LITERAL relocs too. Handle + R_MIPS_64 relocs properly on big-endian MIPS. + (mips_elf_sign_extend): Behave properly with 'long long'. + (mips_elf_highest): Correct typo. + +Mon Oct 4 17:49:45 1999 Nick Clifton <nickc@cygnus.com> + + * cpu-m32r.c (arch_info_struct): New static global. + (bfd_m32r_arch): Refer to it. + * elf32-m32r.c (m32r_elf_object_p): Recognize E_M32RX_ARCH. + (m32r_elf_print_private_bfd_data): Ditto. + (m32r_elf_final_write_processing): Handle bfd_mach_m32rx. + * archures.c (bfd_mach_m32rx): Define it. + * bfd-in2.h: Rebuild. + +1999-09-28 Fred Fish <fnf@cygnus.com> + + * targets.c (cisco_core_vec): Replaced with two new vecs ... + (cisco_core_big_vec): Add new bigendian vec. + (cisco_core_little_vec): Add new little endian vec. + + * cisco-core.c (CRASH_INFO): Fixed offset replaced with ... + (crash_info_locs): Add array of possible offsets. + (MASK_ADDR): Mask to apply to crash info offset. + (crashinfo_external): Add textbase, database, bssbase and + turn into a typedef. + (cisco_core_file_validate): Renamed from cisco_core_file_p. + Many small changes to account for additional hardware versions. + Pick a reasonable size for ".reg" section. Add a ".crash" + section to allow access to crashinfo_external struct. + (cisco_core_file_p): New version of this function that + iterates over crash_info_locs, calling cisco_core_file_validate. + (cisco_core_vec): Old big endian only vec replaced with ... + (cisco_core_big_vec): Add big endian version. + (cisco_core_little_vec): Add little endian version. + + * configure.in (cisco_core_vec): Split to two new vectors ... + (cisco_core_big_vec): New target vector. + (cisco_core_little_vec): New target vector. + * configure: Regenerate. + * config.bfd (targ): For m68*-*-aout* targ, change cisco_core_vec + to cisco_core_big_vec in targ_selvecs. + +1999-09-28 Geoffrey Keating <geoffk@cygnus.com> + + * elf32-mips.c (mips_elf_relocate_hi16): Unused, delete. + (mips_elf_relocate_got_local): Unused, delete. + (mips_elf_relocate_global_got): Unused, delete. + +1999-09-24 Fred Fish <fnf@cygnus.com> + + * elf.c (bfd_section_from_phdr): Add typename variable. Use p_type + to initialize it to something meaningful. Then use it to generate + more useful segment names. + +Sun Sep 19 12:16:47 1999 Jeffrey A Law (law@cygnus.com) + + * som.c (NO_PCREL_MODES): Define if the system does not define + R_SHORT_PCREL_MODE. + (hppa_som_gen_reloc_type): Handle both short and long pcrel branches. + (som_write_fixups): Eliminate redundant pcrel mode relocs. Handle + R_LONG_PCREL_MODE and R_SHORT_PCREL_MODE + * libhppa.h (dis_assemble_22): New function. + (bfd_hppa_insn2fmt): Handle long branch. + + * libhppa.h (bfd_hppa_insn2fmt): Decode and handle formats found + in PA2.0. + +1999-09-17 Alan Modra <alan@spri.levels.unisa.edu.au> + + * coff-i386.c (coff_i386_reloc_type_lookup): Support BFD_RELOC_16, + BFD_RELOC_16_PCREL, BFD_RELOC_8, BFD_RELOC_8_PCREL relocs. + (reloc_howto_type howto_table): Tidy comments and whitespace. + +1999-09-17 Nick Clifton <nickc@cygnus.com> + + * elf32-arm.h (bfd_elf32_arm_get_bfd_for_interworking): Undo + previous delta. Set sec->gc_mark instead. + +Thu Sep 16 11:21:13 1999 Catherine Moore <clm@cygnus.com> + + * elf32-m68k.c (elf_cpu32_plt0_entry): Use a1 instead of a0. + (elf_cpu32_plt_entry): Likewise. + +Thu Sep 16 10:48:17 1999 Jeffrey A Law (law@cygnus.com) + + * elf-hppa.h (elf_hppa_final_write_processing): Turn on TRAPNIL. + + * elf-hppa.h (elf_hppa_final_link): If unable to find __gp in the + symbol table, then just compute a suitable value (but do not + create a __gp symbol). + + * elf-hppa.h (elf_hppa_relocate_section): Allow undefined + symbols when building shared libraries. + (elf_hppa_final_link_relocate): Correct handling of PCREL + relocations against undefined symbols. + +1999-09-16 Nick Clifton <nickc@cygnus.com> + + * elf32-arm.h (bfd_elf32_arm_get_bfd_for_interworking): Mark + interworking sections as linker created so that they will not + be removed by garbage collection. + +Wed Sep 15 02:31:57 1999 Jeffrey A Law (law@cygnus.com) + + * elf-hppa.h (elf_hppa_final_link): Revamp __gp handling. + (elf_hppa_final_link_relocate): Consistently create an absolute + address, then subtract out the value of __gp. + +1999-09-14 Michael Meissner <meissner@cygnus.com> + + * configure.in (Canonicalization of target names): Remove adding + ${CONFIG_SHELL} in front of $ac_config_sub, since autoconfig 2.14 + generates $ac_config_sub with a ${CONFIG_SHELL} already. + * configure: Regenerate. + +1999-09-14 Nick Clifton <nickc@cygnus.com> + + * elf32-m32r.c (ELF_MAXPAGESIZE): Change to 0x1 (at request of + Mitsubishi). + +Mon Sep 13 20:01:47 1999 Jeffrey A Law (law@cygnus.com) + + * elf-hppa.h (elf_hppa_record_segment_addrs): New function. + (elf_hppa_final_link): Initialize text_segment_base and + data_segment_base. + (elf_hppa_final_link_relocate): Handle SEGREL relocations. + + * elf-hppa.h (elf_hppa_final_link): Remove unused variables. + (elf_hppa_final_link_relocate): Likewise. + (elf_hppa_relocate_insn): Likewise. + (elf_hppa_relocate_section): Initialize HOWTO. + +1999-09-13 Donn Terry <donn@interix.com> + + * coffcode.h (styp_to_sec_flags): Further refinement of COMDAT + handling to support both GNU and MS objects. + + * coffcode.h (coff_write_object_contents): Don't check reloc_count + when determining whether to set F_RELFLG. + +1999-09-13 Philip Blundell <pb@nexus.co.uk> + + * elf32-arm.h (elf32_arm_final_link_relocate): Don't range-check + PC24 relocs if the target is an undefined weak symbol. + (arm_add_to_rel): Fix compiler warning. + (elf32_arm_plt0_entry): Correct comments. + +1999-09-13 Alan Modra <alan@spri.levels.unisa.edu.au> + + * elfcode.h (write_relocs): Check for the_bfd NULL when handling + an absolute symbol in REL relocs. + +Sun Sep 12 23:47:58 1999 Jeffrey A Law (law@cygnus.com) + + * elf-hppa.h (elf_hppa_final_link_relocate): Handle SECREL32. + Stub SEGREL32. Return an error for any relocation not handled. + +1999-09-12 Ian Lance Taylor <ian@zembu.com> + + * cofflink.c (coff_link_add_symbols): Look for special MSVC string + constant symbols, and avoid multiple definition errors on them. + +1999-09-12 Donn Terry <donn@interix.com> + + * libbfd.c (bfd_log2): Rewrite to avoid infinite loop if most + significant bit is set. + +1999-09-11 Ian Lance Taylor <ian@zembu.com> + + * coff-ppc.c (COFF_SECTION_ALIGNMENT_ENTRIES): Define. + + * elfcode.h (write_relocs): Handle an absolute symbol in REL + relocs as we do for RELA relocs. + +1999-09-11 Donn Terry <donn@interix.com> + + * libpei.h (_bfd_pei_final_link_postscript): Declare. + (coff_final_link_postscript): Define. + * peigen.c (_bfd_pei_swap_aouthdr_out): Don't set value for data + directory entries here. + (_bfd_pei_final_link_postscript): New function. + + * peigen.c (_bfd_pei_swap_scnhdr_out): Remove code which sets + section flags based on the section name. + + * peicode.h (coff_swap_scnhdr_in): If COFF_IMAGE_WITH_PE, the + get the overflow of the s_nlnno field from the s_nreloc field. + * peigen.c (_bfd_pei_swap_scnhdr_out): If doing a final link, swap + the s_nlnno overflow of the .text section into the s_nreloc + field. + + * peigen.c (add_data_entry): Declare. + (pei_swap_aouthdr_out): Get image size right. Set linker version + more intuitively. + (pei_swap_scnhdr_out): Test for UNINIT section, not .bss. + (pe_print_idata): Code cleanup, print more info, get rid of (now) + extraneous ImageBase. + (pe_print_edata): Likewise. + (pe_print_pdata): Likewise. Print exception entries. + (pe_print_reloc): Likewise. Print MIPS_JMPADDR. + (tbl): Make const, add "UNKNOWN". + (_bfd_pe_print_private_bfd_data_common): Print timestamp. + (_bfd_pe_bfd_copy_private_bfd_data_common): Don't copy deleted + section data directory. + (_bfd_pe_bfd_copy_private_section_data): Copy pe_flags. + + * libpei.h (_bfd_pe_bfd_get_symbol_info): Declare. + * peigen.c (_bfd_pe_bfd_get_symbol_info): New function. + * peicode.h (coff_get_symbol_info): Define. + + * config.bfd (i[3456]86-*-interix*): Set targ_cflags to + -DSTRICT_PE_FORMAT. + * coffcode.h (styp_to_sec_flags): Check STRICT_PE_FORMAT rather + than __INTERIX. + (coff_classify_symbol): Re-revert 1999-08-08 patch if + STRICT_PE_FORMAT. + + * libpei.h: New file, broken out of peicode.h. + * peigen.c: New file, broken out of peicode.h. + * peicode.h: A bunch of code moved out to libpei.h and peigen.c. + * configure.in: Add peigen.lo to list of files required for each + PE target. + * Makefile.am: Rebuild dependencies. + (BFD32_BACKENDS): Add peigen.lo. + (BFD32_BACKENDS_CFILES): Add peigen.c. + (SOURCE_HFILES): Add libpei.h. + * configure, Makefile.in: Rebuild. + + * peicode.h (coff_swap_scnhdr_in): Don't check for a special + section name of _BSS; check IMAGE_SCN_CNT_UNINITIALIZED_DATA + instead. Don't clear the s_paddr field for an uninitialized data + section. + + * coffcode.h (coff_mkobject_hook): Set timestamp field in + coff_data_type to f_timdat. + * peicode.h (pe_mkobject_hook): Likewise. + + * peicode.h (coff_swap_filehdr_in): Check the NT executable magic + number if COFF_IMAGE_WITH_PE. + + * coffcode.h (coff_mkobject_hook): If COFF_WITH_PE, set HAS_DEBUG + to the reverse of IMAGE_FILE_DEBUG_STRIPPED. + (coff_write_object_contents): Set IMAGE_FILE_DEBUG_STRIPPED if + there is no SEC_DEBUGGING section. + * peicode.h (pe_mkobject_hook): Set HAS_DEBUG to the reverse of + IMAGE_FILE_DEBUG_STRIPPED. + + * pe-i386.c (COFF_LONG_FILENAMES): Define. + (COFF_SECTION_ALIGNMENT_ENTRIES): Define. + * pei-i386.c (COFF_LONG_FILENAMES): Define. + (COFF_SECTION_ALIGNMENT_ENTRIES): Define. + + * coffswap.h (IMAGE_BASE): Don't define. + * pei-arm.c (IMAGE_BASE): Don't define. + * pei-i386.c (IMAGE_BASE): Don't define. + * pei-mcore.c (IMAGE_BASE): Don't define. + * pei-ppc.c (IMAGE_BASE): Don't define. + + * cofflink.c (_bfd_coff_link_input_bfd): When writing out a + symbol, switch on the class when determining whether to modify the + value. For PE, don't modify the value of a C_FCN symbol not named + .bf. + + * libbfd-in.h (_bfd_abort): Declare. + (abort): Define. + * bfd.c (_bfd_abort): New function. + * libbfd.h: Rebuild. + + * coffcode.h (coff_set_alignment_hook): Delete POWERPC_LE_PE + special handling. + + * cofflink.c (_bfd_coff_link_input_bfd): If a symbol is stripped, + don't write out the associated line numbers. + + * cofflink.c (_bfd_coff_write_global_sym): Handle section symbol + aux entries. + + * cofflink.c (coff_link_add_symbols): Don't warn about symbol type + changes when the base type is unknown. + + * coffgen.c (coff_print_symbol): Fix printing of aux record for + function symbols. + + * syms.c (BSF_DEBUGGING_RELOC): Define. + * coffcode.h (coff_slurp_symbol_table): If PE, set BSF_DEBUGGING + for C_FCN/C_EFCN symbols, and set BSF_DEBUGGING_RELOC for such + symbols named .bf. + * coffgen.c (fixup_symbol_value): Relocate a symbol which has + BSF_DEBUGGING_RELOC set. + * bfd-in2.h: Rebuild. + +1999-09-10 Ian Lance Taylor <ian@zembu.com> + + * ecoff.c (bfd_debug_section): Update initialization for new + comdat_info field. + (_bfd_ecoff_styp_to_sec_flags): Add section parameter. + * libecoff.h (_bfd_ecoff_styp_to_sec_flags): Update declaration. + +1999-09-10 H.J. Lu <hjl@gnu.org> + + * coff-alpha.c (alpha_ecoff_backend_data): Initialize the new + _bfd_filnmlen field. + * coff-mips.c (mips_ecoff_backend_data): Likewise. + +Fri Sep 10 00:35:14 1999 Jeffrey A Law (law@cygnus.com) + + * elf-hppa.h (elf_hppa_final_link_relocate): Create .opd entries + for FPTR relocs involving local symbols. + + * elf-hppa.h (elf_hppa_final_link_relocate): Get the right + value for the stub address in a call through a stub. + Install the value for a local symbol directly into the DLT + instead of generating a reloc. Correctly handle FPTR64 relocs. + + * elf-hppa.h (elf_hppa_unmark_useless_dynamic_symbols): New function. + (elf_hppa_remark_useless_dynamic_symbols): Similarly. + (elf_hppa_final_link): Call them. + +1999-09-10 Ian Lance Taylor <ian@zembu.com> + + * elflink.h (elf_fix_symbol_flags): Move weakdef handling here... + (elf_adjust_dynamic_symbol): ...from here. + +Wed Sep 8 17:56:11 1999 Jeffrey A Law (law@cygnus.com) + + * elf-hppa.h (elf_hppa_howto_table); There is no DIR64WR, DIR64DR + relocation, remove them. SECREL64->LTOFF16WF. + (elf_hppa_final_link_relocate): Handle LTOFF* relocations. Handle + DIR* relocations. + (elf_hppa_relocate_insn): Similarly. + + * elf-hppa.h (elf_hppa_final_link_relocate): Handle PLTOFF* relocs. + (elf_hppa_relocate_insn): Similarly. + + * elf-hppa.h (elf_hppa_final_link_relocate): Handle DPREL* and + GPREL* relocations. + (elf_hppa_relocate_insn): Similarly. + + * elf-hppa.h (elf_hppa_link_final_relocate): Fix typos. + Handle LTOFF_TP* relocs. + (elf_hppa_relocate_insn): Similarly. + + * elf-hppa.h (elf_hppa_final_link_relocate): Handle PCREL* relocs. + Consistently deal with addends. Handle DLTIND14F and DLTREL14F. + (elf_hppa_relocate_insn): Handle PCREL* relocs. + + * elf-hppa.h (elf_hppa_final_link_relocate): Handle LT_OFF_FPTR*, + DIR32, DIR64 and FPTR64 relocations. + (elf_hppa_relocate_insn): Similarly. + + * elf-hppa.h (elf_hppa_final_link): Set the value of __gp to the + address of the .PARISC.global section. + (elf_hppa_relocate_section): Lookup and pass the PA64 hash + table entry elf_hppa_final_link_relocate. Do not give a warning + for a reloc against an external symbol if it has a PA64 hash + table entry. + (elf_hppa_final_link_relocate): Significantly rework. Handle + DLTIND relocations. Compute the final value of the relocation + before passing the value of elf_hppa_relocate_insn. + (elf_hppa_relocate_insn): Revamp to handle just bit tiwiddling + relocation support. Handle DLTIND relocation requests just like + DLTREL relocation requests. Simplify branch handling. + +1999-09-08 Ulrich Drepper <drepper@cygnus.com> + + * elf-hppa.h (elf_hppa_relocate_section): Catch problems with + non-allocated section as done in i386 version. + (elf_hppa_final_link_relocate): Uncomment R_PARISC_14F in switch + statement since this is no know relocation. + +Tue Sep 7 17:25:12 1999 Jeffrey A Law (law@cygnus.com) + + * elf-hppa.h (elf_hppa_final_link_relocate): Handle DLTREL14F + relocs. + (elf_hppa_relocate_insn): Similarly. + + * elf-hppa.h (elf_hppa_final_link_relocate): Handle DLTREL14WR and + DLTREL14WD relocs. + (elf_hppa_relocate_insn): Similarly. + + * elf-hppa.h (elf_hppa_final_link_relocate): Handle DLTREL14R and + DLTREL21L relocs. Pass the output bfd to elf_hppa_relocate_insn. + Pass the relocate type rather than the insn format to + elf_hppa_relocate_insn. + (elf_hppa_relocate_insn): Make switch dependent on relocation type + rather than the opcode. Handle DLTREL21L and DLTREL14R relocs. + +1999-09-07 Ian Lance Taylor <ian@zembu.com> + + * coffcode.h (bfd_coff_backend_data): Add _bfd_filnmlen field. + (bfd_coff_filnmlen): Define. + (bfd_coff_std_swap_table): Initialize new field. + * coffgen.c (coff_fix_symbol_name): Use bfd_coff_filnmlen rather + than FILNMLEN. + (coff_write_symbols): Likewise. + (coff_get_normalized_symtab): Likewise. + * coff-sh.c (bfd_coff_small_swap_table): Initialize new field. + * libcoff.h: Rebuild. + +1999-09-06 Donn Terry <donn@interix.com> + + * coffcode.h (sort_by_secaddr): New static function if + COFF_IMAGE_WITH_PE. + (coff_compute_section_file_positions): If COFF_IMAGE_WITH_PE, sort + sections by VMA when assigning target_index values. Always set + virt_size. + + * libcoff-in.h (struct pei_section_tdata): Add pe_flags field. + * coffcode.h (coff_set_alignment_hook) [COFF_WITH_PE version]: Set + pe_flags field. + * libcoff.h: Rebuild. + + * coffcode.h (coff_set_custom_section_alignment): Add const to + declaration to match definition. + (coff_write_object_contents): Don't set F_AR32W(R)? if + COFF_WITH_PE. + + * coff-i386.c (in_reloc_p): Add declaration. + (i386coff_vec): Simplify initialization of + application_section_flags. + + * coffcode.h (sec_to_styp_flags): Write separate COFF_WITH_PE + version. Move COFF_WITH_PE specific code to new version. + (stype_to_sec_flags): Likewise. Add section parameter. + * coffgen.c (make_a_section_from_file): Set target_index before + calling styp_to_sec_flags. Pass section to styp_to_sec_flags. + * libcoff.h: Rebuild. + + * syms.c (stt): Add some PE/PEI section names. + (bfd_decode_symclass): Return 'w', not 'U', for a weak undefined + symbol. + (bfd_symbol_info): Check for 'w'. + + * section.c (struct bfd_comdat_info): Define. + (asection): Add comdat field. + (STD_SECTION): Initialize comdat field. + (bfd_make_section_anyway): Likewise. + * bfd-in2.h: Rebuild. + +1999-09-06 Andreas Schwab <schwab@suse.de> + + * elflink.h (elf_link_add_object_symbols): Copy NON_GOT_REF flag + to version symbols. + +1999-09-06 Nick Clifton <nickc@cygnus.com> + + * elflink.h (elf_gc_record_vtentry): Use bfd_zmalloc and + bfd_realloc instead of calloc and realloc. + +1999-09-04 Steve Chamberlain <sac@pobox.com> + + * cpu-pj.c: New file. + * elf32-pj.c: New file. + * config.bfd (pj*): New cpu. + (pj-*-*, pjl-*-*): New targets. + * configure.in (bfd_elf32_pj_vec): New target vector. + (bfd_elf32_pjl_vec): New target vector. + * archures.c (bfd_arch_pj): Define. + * elf.c (prep_headers): Handle bfd_arch_pj. + * reloc.c: Define BFD_RELOC_PJ_* relocations. + * targets.c (bfd_elf32_pj_vec, bfd_elf32_pjl_vec): Declare and add + to target vector list. + * Makefile.am: Rebuild dependencies. + (ALL_MACHINES): Add cpu-pj.lo. + (ALL_MACHINES_CFILES): Add cpu-pj.c. + (BFD32_BACKENDS): Add elf32-pj.lo. + (BFD32_BACKENDS_CFILES): Add elf32-pj.c. + * configure, Makefile.in, bfd-in2.h, libbfd.h: Rebuild. + +1999-09-04 Ian Lance Taylor <ian@zembu.com> + + * elf-bfd.h (ELF_LINK_NON_GOT_REF): Define. + * elflink.h (elf_adjust_dynamic_symbol): Copy REF_REGULAR_NONWEAK + and NON_GOT_REF from weak defined symbol to real symbol. + * elf32-i386.c (elf_i386_check_relocs): Set NON_GOT_REF. + (elf_i386_adjust_dynamic_symbol): If NON_GOT_REF is not set, don't + create a COPY reloc. + * elf32-sparc.c (elf32_sparc_check_relocs): Set NON_GOT_REF. + (elf32_sparc_adjust_dynamic_symbol): If NON_GOT_REF is not set, + don't create a COPY reloc. + +1999-09-03 Ian Lance Taylor <ian@zembu.com> + + * elflink.h (elf_bfd_final_link): When counting relocations, don't + count those in sections we are not including in the link. + +Thu Sep 2 17:41:20 1999 Jeffrey A Law (law@cygnus.com) + + * elflink.h (elf_link_add_object_symbols): Work around bogus SH_LINK + field in hpux11 shared libraries. + +1999-09-02 Nick Clifton <nickc@cygnus.com> + + * elflink.h (elf_gc_record_vtentry): Fix memory leak. + +Wed Sep 1 13:34:29 1999 Jeffrey A Law (law@cygnus.com) + + * elf-hppa.h (elf_hppa_add_symbol_hook): New function. + (elf_hppa_final_link, elf_hppa_relocate_section): Likewise. + (elf_hppa_final_link_relocate, elf_hppa_relocate_insn): Likewise. + +1999-08-31 Alexandre Petit-Bianco <apbianco@cygnus.com> + + * elflink.h (record_link_assignment): When possible, keep the + original type of the symbol. + +Mon Aug 30 15:26:48 1999 Jeffrey A Law (law@cygnus.com) + + * elf-hppa.h (_bfd_elf_hppa_gen_reloc_type): Allow both + R_PARISC_DIR32 and R_PARISC_DIR64 regardless of how the + tools were configured. + * elf32-hppa.h (_bfd_elf32_hppa_gen_reloc_type): Declare. + +1999-08-26 Mark Mitchell <mark@codesourcery.com> + + * elf32-mips.c (_bfd_mips_elf_check_relocs): Don't allocate local + GOT entries for GOT16 relocations; they're not required. + +1999-08-24 Nick Clifton <nickc@cygnus.com> + + From a patch submitted by Roland McGrath <roland@baalperazim.frob.com> + + * config.bfd (arm-*-netbsd*): New target. + * configure.in (armnetbsd_vec): New target vector. + * configure: Regenerate + * targets.c (bfd_target_vector): Add &armnetbsd_vec. + + * Makefile.am (BFD32_BACKENDS): Add armnetbsd.lo. + (ALL_MACHINES_CFILES): Add armnetbsd.c. + (armnetbsd.lo): New rule with deps. + * Makefile.in: Regenerate. + + * armnetbsd.c: New file: Definitions specific to arm-netbsd + target. + +Tue Aug 24 00:25:58 1999 Jeffrey A Law (law@cygnus.com) + + * som.c (som_slurp_symbol_table): Fix typo in comment. + +Fri Aug 20 17:01:23 1999 Jeffrey A Law (law@cygnus.com) + + * elf-hppa.h (elf_hppa_fake_sections): Compute section indices + here instead of using elf_section_data... + +1999-08-19 Nick Clifton <nickc@cygnus.com> + + * coff-mcore.c (mcore_emit_base_file_entry): New function: Emit + relocations into the base file. + (coff_mcore_relocate_section): Call mcore_emit_base_file_entry if + we are building a base file. + +1999-08-19 Nick Clifton <nickc@cygnus.com> + + * elf32-arm.h (arm_add_to_rel): New function. Add a value to + a REL style reloc. + (elf32_arm_relocate_section): Use arm_add_to_rel to increment + REL relocs when performing a partial relocation. + +1999-08-18 Donn Terry <donn@interix.com> + + * cofflink.c: Move definitions of N_TMASK, et. al., out of + _bfd_coff_link_input_bfd into top level. + + * coff-i386.c (coff_i386_reloc): Handle R_IMAGEBASE. + (RTYPE2HOWTO): Return NULL if reloc type is out of range. + (coff_i386_rtype_to_howto): Likewise. + * coffcode.h (coff_slurp_symbol_table): Change a -2 to N_DEBUG. + Completely ignore symbols which are all zero. + (dummy_reloc16_estimate): Add return 0. + * cofflink.c (_bfd_coff_link_input_bfd): Rename inner scope + variable copy to name_copy to avoid shadowing outer scope + variable. + * libcoff-in.h (coff_data_type): Change raw_syment_count field + from unsigned int to unsigned long. Add timestamp field. + * libcoff.h: Rebuild. + +1999-08-17 H.J. Lu <hjl@gnu.org> + + * elf32-hppa.c (bfd_elf32_bfd_is_local_label_name): Fix typo in + macro definition. + +1999-08-17 Ian Lance Taylor <ian@zembu.com> + + * elf32-mips.c (_bfd_mips_elf_add_symbol_hook): Set BSF_DYNAMIC + for special section symbols. + * elflink.h (elf_merge_symbol): If we have no old BFD, check + BSF_DYNAMIC on the section symbol to see whether the old BFD is + dynamic. + +1999-08-15 Mark Mitchell <mark@codesourcery.com> + + * elf32-mips.c (mips_elf_calculate_relocation): Fix unfortunate + coincidence of variable names between old and new code. + +1999-08-12 Nick Clifton <nickc@cygnus.com> + + * elf32-arm.h (elf32_arm_to_thumb_stub): Make 'offset' parameter + into a bfd_vma and 'addend' parameter a 'bfd_signed_vma'. + (elf32_thumb_to_arm_stub): Make 'offset' parameter into a bfd_vma + and 'addend' parameter a 'bfd_signed_vma'. + (elf32_arm_final_link_relocate): Do not involve stubs in + R_ARM_THM_PC22 relocs relative to section symbols, they are long + jumps, not function calls. + +1999-08-11 Robin Farine <advanc@dial.eunet.ch> + + * elf32-arm.h (elf32_arm_final_link_relocate): Check for overflow + in R_ARM_PC24 relocs. + +Tue Aug 10 12:48:09 1999 Jeffrey A Law (law@cygnus.com) + + * elf-hppa.h (elf_hppa_fake_sections): New function. + * elf32-hppa.c (elf_backend_fake_sections): Define. + + * elf-hppa.h (elf_hppa_final_write_processing): Update for + recent changes to the arch_info structure. + + * elf-hppa.h (_bfd_elf_hppa_gen_reloc_type): Handle + R_HPPA_SEGBASE and R_HPPA_SEGREL32. + * cpu-hppa.c (bfd_hppa20w_arch): New entry in architecture info + list. + +Tue Aug 10 00:34:29 1999 Mark P. Mitchell <mark@codesourcery.com> + Ralf Baechle <ralf@uni-koblenz.de> + + * elf32-mips.c (_bfd_mips_elf_size_dynamic_sections): Always + output DT_MIPS_GOTSYM. + (_bfd_mips_elf_finish_dynamic_sections): Use the same value as + DT_MIPS_SYMTABNO if there are no global GOT symbols. + +Tue Aug 10 00:21:08 1999 Mark P. Mitchell <mark@codesourcery.com> + + * elf32-mips.c (mips_elf_create_dynamic_relocation): Change + prototype. Handle local symbols. Add commentary. + (mips_elf_calculate_relocation): Adjust accordingly. + (_bfd_mips_elf_check_relocs): Handle local symbols in R_MIPS_32 + relocations. + + * elflink.h (elf_bfd_final_link): Tweak last change. + +1999-08-09 Mark Mitchell <mark@codesourcery.com> + + * elflink.h (elf_link_size_reloc_section): Use the counts in the + elf-section data to allocate just the right amount of relocation + space. Don't allocate the hash space twice. + (elf_bfd_final_link): Calculate the amount of space to allocate in + each relocation section. + +Mon Aug 9 17:37:30 1999 Jeffrey A Law (law@cygnus.com) + + * elf-hppa.h (_bfd_elf_hppa_gen_reloc_type, case 32): When in + 64bit mode, generate a section relative relocation for a 32bit + wide relocation. + (elf_hppa_is_local_label_name): New function. + * elf32-hppa.c (elf_hppa_is_local_label_name): Deleted. To be + shared between 32bit and 64bit port. + +1999-08-09 Mark Mitchell <mark@codesourcery.com> + + * elf32-mips.c (elf_mips_howto_table): Fix src_mask for + R_MIPS_GOT16 and R_MIPS_CALL16. + (mips_elf_got16_entry): Use mips_elf_high to calculate the value + to use when looking for a preexisting GOT entry. + +1999-08-09 Jakub Jelinek <jj@ultra.linux.cz> + + * elf64-sparc.c (sparc64_elf_relocate_section): Back out part of + the Sep. 4th, 1998 change. glibc 2.0.x dynamic linker had bug, + not binutils. + * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. + +1999-08-09 Geoff Keating <geoffk@cygnus.com> + + * elflink.h (elf_link_output_extsym): Don't output a weak + reference to an undefined symbol just because it was defined weak + in a shared object. + +1999-08-09 Eli Zaretskii <eliz@is.elta.co.il> + + * coffgen.c (coff_find_nearest_line): When looking for file, use + last best match rather than first. If address is beyond last line + number record, don't return the last line as the correct value. + +1999-08-08 Ian Lance Taylor <ian@zembu.com> + + * section.c (SEC_SMALL_DATA): Rename from SEC_SHORT. + * bfd-in2.h: Rebuild. + +1999-08-08 Mark Elbrecht <snowball3@bigfoot.com> + + * libcoff-in.h (struct coff_section_alignment_entry): Define. + * coffcode.h (coff_set_custom_section_alignment): New static + function. + (coff_section_alignment_table): New static array. + (coff_new_section_hook): Use coff_set_customer_section_alignment. + * coff-go32.c (COFF_SECTION_ALIGNMENT_ENTRIES): Define. + * coff-stgo32.c (COFF_SECTION_ALIGNMENT_ENTRIES): Define. + * libcoff.h: Rebuild. + +1999-08-08 Ian Lance Taylor <ian@zembu.com> + + * Makefile.am: Rename .dep* files to DEP*. Change DEP variable to + MKDEP. + * Makefile.in: Rebuild. + +1999-08-08 Mumit Khan <khan@xraylith.wisc.edu> + + * section.c (SEC_SHARED): Define. + * coffcode.h (sec_to_styp_flags): Handle SEC_SHARED. + (styp_to_sec_flags): Likewise. + * peicode.h (coff_swap_scnhdr_out): Likewise. + * bfd-in2.h: Rebuild. + +1999-08-08 Ian Lance Taylor <ian@zembu.com> + + * coffcode.h (coff_classify_symbol): Comment out part of + 1999-08-05 change which breaks cygwin DLLs. + + * acinclude.m4 (BFD_BINARY_FOPEN): Change -windows to -windows*. + * aclocal.m4, configure: Rebuild. + +1999-08-06 Ian Lance Taylor <ian@zembu.com> + + * section.c (global_syms): Only initialize union field if + __STDC__. + +1999-08-04 Mark Mitchell <mark@codesourcery.com> + + * elf32-mips.c (mips_elf_got16_entry): Don't multiply GOT index by + the size of a GOT entry here. + (mips_elf_calculate_relocation): Don't create a local GOT entry + for the symbol in a GOT16 relocation; just for it's high-order bit + (_bfd_mips_elf_relocate_section): Fix thinko. + +1999-08-05 Ian Lance Taylor <ian@zembu.com> + + Based on patches from Donn Terry <donn@interix.com>: + * coffcode.h (enum coff_symbol_classification): Define. + (bfd_coff_backend_data): Rename _bfd_coff_sym_is_global to + _bfd_coff_classify_symbol. Change return type. + (bfd_coff_classify_symbol): Rename from bfd_coff_sym_is_global. + (coff_slurp_symbol_table): Use coff_classify_symbol. + (coff_classify_symbol): New static function. + (coff_sym_is_global): Never define. + (bfd_coff_std_swap_table): Initialize with coff_classify_symbol. + * cofflink.c (coff_link_check_ar_symbols): Use + bfd_coff_classify_symbol rather than bfd_coff_sym_is_global. + (coff_link_add_symbols): Likewise. + (_bfd_coff_link_input_bfd): Likewise. + * coff-sh.c (bfd_coff_small_swap_table): Initialize with + coff_classify_symbol. + * libcoff.h: Rebuild. + +Wed Aug 4 18:08:07 1999 Jeffrey A Law (law@cygnus.com) + + * libhppa.h (R_HPPA_LTPSEL, R_HPPA_RTPSEL): New field selectors + (e_ltpsel, e_rtpsel): Similarly. + + * elf-hppa.h (_bfd_elf_hppa_gen_reloc_type): Handle 21bit e_ltpsel + and 14bit ertpsel. Handle 64bit psel. + +1999-08-04 Mark Mitchell <mark@codesourcery.com> + + * elf32-mips.c (_bfd_mips_elf_relocate_section): Tweak HI16/LO16 + handling for REL relocations. And only left-shift R_MIPS26 + relocation addends where necessary. + +1999-08-03 Mark Mitchell <mark@codesourcery.com> + + * elf32-mips.c (mips_elf_next_lo16_addend): Rename to ... + (mips_elf_next_lo16_relocation): Don't compute the addend here. + Just return the relocation found. + (mips_elf_relocate_section): Pull the LO16 addend out of the + section itself when using REL relocations. + + * elf32-mips.c (mips_elf_calculate_relocation): Restore + _DYNAMIC_LINK handling and handling of undefined symbols in shared + libraries. + +1999-08-03 Ian Lance Taylor <ian@zembu.com> + + * elf32-ppc.c (ppc_elf_relocate_section): Don't use the relocation + value of a symbol in a SEC_DEBUGGING section. Warn when doing a + relocation against a symbol in an input section with no output + section. From Daniel Jacobowitz <drow@false.org>. + + * coff-stgo32.c (go32_stubbed_coff_object_p): Remove; not used. + + * acinclude.m4 (BFD_CC_FOR_BUILD): Change to use conftest, and to + look for generated file correctly. + * aclocal.m4, configure: Rebuild. + +1999-08-02 Mark Mitchell <mark@codesourcery.com> + + * elf32-mips.c (_bfd_mips_elf_relocate_section): Handle R_MIPS_26 + and R_MIPS16_26 relocations correctly when relocating. + (_bfd_mips_elf_check_relocs): Don't assume that R_MIPS_CALL_HI16 + and R_MIPS_CALL_LO16 are for global symbols. + +1999-08-02 Jakub Jelinek <jj@ultra.linux.cz> + + * elflink.h (elf_bfd_final_link): Copy the whole isym, not just + some fields. + * elf64-sparc.c (sparc64_elf_output_arch_syms): Declare used + variables and initialize them. + +1999-08-01 Mark Mitchell <mark@codesourcery.com> + + * elf32-mips.c (_bfd_mips_elf_final_link): Handle the case where + there are no global symbols requiring GOT entries. + (_bfd_mips_elf_size_dynamic_sections): Likewise. + (_bfd_mips_elf_finish_dynamic_symbol): Likewise. + (_bfd_mips_elf_finish_dynamic_sections): Likewise. + + * elf32-mips.c (mips_elf_calculate_relocation): Undefined weak + symbols are considered to have the value zero. + (_bfd_mips_elf_relocate_section): Don't try to perform a + relocation for an undefined symbol. + (_bfd_mips_elf_check_relocs): Allocate locate GOT space for local + GOT16 relocations. + +1999-07-30 Jakub Jelinek <jj@ultra.linux.cz> + + * elf64-sparc.c (sparc64_elf_build_plt): Cosmetic change - ABI + wants ba,a,pt %xcc instead of %icc. + Emit correct .PLT0-(.PLTN+4) initial value into the pointer slots + of large PLT entries. + (sparc64_elf_plt_ptr_offset): Fix calculation. + (sparc64_elf_finish_dynamic_symbol): Negative value of R_SPARC_JMP_SLOT + addend should be relative to load address, not .plt section start. + (sparc64_elf_size_info): Sparc64 uses 32bit .hash entries. + +1999-07-30 Jakub Jelinek <jj@ultra.linux.cz> + + * elf-bfd.h (struct elf_backend_data): Add + print_symbol_all and output_arch_syms backend methods. + * elfxx-target.h: Likewise. + * elf64-sparc.c (sparc64_elf_bfd_link_hash_table_create, + sparc64_elf_add_symbol_hook, sparc64_elf_output_arch_syms, + sparc64_elf_get_symbol_type, sparc64_elf_symbol_processing): New + functions. + (sparc64_elf_size_dynamic_sections): Leave space for STT_REGISTER + symbols in .dynsym, add their names into .dynstr. Put those symbols + into dynlocal. + (sparc64_elf_finish_dynamic_sections): Fix up DT_SPARC_REGISTER + pointers to STT_REGISTER symbols in dynsym section. + (sparc64_elf_print_symbol_all): New function. + * elf.c (bfd_elf_print_symbol): Allow special backend symbol + printing using the print_symbol_all hook. + +1999-07-30 Catherine Moore <clm@cygnus.com> + + * elf32-arm.h (elf32_arm_check_relocs): Use r_offset for + R_ARM_GNU_VTENTRY. + +1999-07-29 Richard Henderson <rth@cygnus.com> + + * elf32-mips.c (_bfd_mips_elf_final_link): Only re-sort dynsyms if + dynamic_sections_created. + +1999-07-29 Richard Henderson <rth@cygnus.com> + + * elf32-mips.c (mips_info_to_howto_rel): Split out switch to ... + (mips_rtype_to_howto): ... new function. + (_bfd_mips_elf_relocate_section): Use it. + +1999-07-28 Mark Mitchell <mark@codesourcery.com> + + * elf32-mips.c (_bfd_mips_elf_relocate_section): Fix typo. + +1999-07-27 Nick Clifton <nickc@cygnus.com> + + Patch generated by Bernd Schmidt. <bernds@cygnus.co.uk> + + * coff-arm.c (coff_arm_is_local_label_name): Change to strip + out only symbols that start with LOCAL_LABEL_PREFIX followed by 'L'. + +1999-07-23 Donn Terry <donn@interix.com> + + * libcoff-in.h (coff_link_hash_entry): Add coff_link_hash_flags + field, and define COFF_LINK_HASH_PE_SECTION_SYMBOL. + * cofflink.c (coff_link_add_symbols): If PE, handle section + symbols specially. + * libcoff.h: Rebuild. + + * config.bfd (i[3456]86-*-interix*): New target. + +1999-07-21 Mark Elbrecht <snowball3@bigfoot.com> + + * coffcode.h (styp_to_sec_flags): If COFF_LONG_SECTION_NAMES and + COFF_SUPPORT_GNU_LINKONCE, mark sections whose names begin with + .gnu.linkonce with SEC_LINKONCE and SEC_LINK_DUPLICATES_DISCARD. + * coff-go32.c: (COFF_LONG_SECTION_NAMES): Define. + (COFF_SUPPORT_GNU_LINKONCE): Define. + * coff-stgo32.c: (COFF_LONG_SECTION_NAMES): Define. + (COFF_SUPPORT_GNU_LINKONCE): Define. + +1999-07-21 Ian Lance Taylor <ian@zembu.com> + + From Mark Elbrecht: + * makefile.dos: Remove; obsolete. + * configure.bat: Remove; obsolete. + +1999-07-21 H.J. Lu <hjl@gnu.org> + + * config.bfd (i[3456]86-*-vxworks*): Add targ_underscore=yes. + +1999-07-21 Philippe De Muyter <phdm@macqel.be> + + * cofflink.c (_bfd_coff_generic_relocate_section): Issue an error + message and fail if a symbol index is out of range. + +1999-07-21 Ian Lance Taylor <ian@zembu.com> + + * elf32-mips.c (mips_elf_calculate_relocation): Get the GP value + when looking at a R_MIPS_GOT16 relocation. + +1999-07-20 Nick Clifton <nickc@cygnus.com> + + * coff-m88k.c: Use CREATE_BIG_COFF_TARGET_VEC. + +Mon Jul 19 14:03:44 1999 Mark P. Mitchell <mark@codesourcery.com> + + * elf32-mips.c (_bfd_mips_elf_final_link): Restore setting of GP + removed in previous change. + (_bfd_mips_elf_relocate_section): Adjust GP relative relocations + in relocateable output. + +1999-07-19 Ian Lance Taylor <ian@zembu.com> + + * coff-m88k.c (m88kbcs_vec): Initialize new field of bfd_target + structure. + + * elflink.h (elf_merge_symbol): Do merge symbols from the same BFD + if they appear to be specially created by the linker. + +1999-07-19 Nick Clifton <nickc@cygnus.com> + + * targets.c (alternative_target): New field in bfd_target + structure. + (bfd_search_for_target): New function: Find a target that + satisifies a search function. + * bfd-in2.h: Regenerate. + + * elfxx-target.h: Initialise the alternative_target field of + the bfd_target structures to point to the other target (if + defined). + * nlm-target.h: Initialise the alternative_target field of + the bfd_target structures to point to the other target (if + defined). + + * coffcode.h (CREATE_BIG_COFF_TARGET_VEC): New macro. + (CREATE_LITTLE_COFF_TARGET_VEC): New macro. + + * aix386-core.c: Initialise new field of bfd_target structure. + * aout-adobe.c: Initialise new field of bfd_target structure. + * aout-arm.c: Initialise new field of bfd_target structure. + * aout-target.h: Initialise new field of bfd_target structure. + * aout-tic30.c: Initialise new field of bfd_target structure. + * binary.c: Initialise new field of bfd_target structure. + * bout.c: Initialise new field of bfd_target structure. + * cisco-core.c: Initialise new field of bfd_target structure. + * coff-a29k.c: Use CREATE_BIG_COFF_TARGET_VEC. + * coff-alpha.c: Initialise new field of bfd_target structure. + * coff-apollo.c: Use CREATE_BIG_COFF_TARGET_VEC. + * coff-arm.c: Use CREATE_{BIG|LITTLE}_COFF_TARGET_VEC. + * coff-h8300.c: Use CREATE_BIG_COFF_TARGET_VEC. + * coff-h8500.c: Use CREATE_BIG_COFF_TARGET_VEC. + * coff-i386.c: Initialise new field of bfd_target structure. + * coff-i860.c: Initialise new field of bfd_target structure. + * coff-i960.c: Use CREATE_LITTLE_COFF_TARGET_VEC. + * coff-m68k.c: Use CREATE_BIG_COFF_TARGET_VEC. + * coff-mcore.c: Use CREATE_{BIG|LITTLE}_COFF_TARGET_VEC. + * coff-mips.c: Initialise new field of bfd_target structure. + * coff-ppc.c: Initialise new field of bfd_target structure. + * coff-rs6000.c: Initialise new field of bfd_target structure. + * coff-sh.c: Use CREATE_{BIG|LITTLE}_COFF_TARGET_VEC. + * coff-sparc.c: Use CREATE_BIG_COFF_TARGET_VEC. + * coff-tic30.c: Initialise new field of bfd_target structure. + * coff-tic80.c: Use CREATE_LITTLE_COFF_TARGET_VEC. + * coff-w65.c: Use CREATE_LITTLE_COFF_TARGET_VEC. + * coff-we32k.c: Use CREATE_BIG_COFF_TARGET_VEC. + * coff-z8k.c: Use CREATE_BIG_COFF_TARGET_VEC. + * hppabsd-core.c: Initialise new field of bfd_target structure. + * hpux-core.c: Initialise new field of bfd_target structure. + * i386msdos.c: Initialise new field of bfd_target structure. + * i386os9k.c: Initialise new field of bfd_target structure. + * ieee.c: Initialise new field of bfd_target structure. + * ihex.c: Initialise new field of bfd_target structure. + * irix-core.c: Initialise new field of bfd_target structure. + * mipsbsd.c: Initialise new field of bfd_target structure. + * netbsd-core.c: Initialise new field of bfd_target structure. + * oasys.c: Initialise new field of bfd_target structure. + * osf-core.c: Initialise new field of bfd_target structure. + * ppcboot.c: Initialise new field of bfd_target structure. + * ptrace-core.c: Initialise new field of bfd_target structure. + * sco5-core.c: Initialise new field of bfd_target structure. + * som.c: Initialise new field of bfd_target structure. + * srec.c: Initialise new field of bfd_target structure. + * tekhex.c: Initialise new field of bfd_target structure. + * trad-core.c: Initialise new field of bfd_target structure. + * versados.c: Initialise new field of bfd_target structure. + * vms.c: Initialise new field of bfd_target structure. + +1999-07-19 Andreas Schwab <schwab@suse.de> + + * elflink.h (elf_bfd_final_link): Remove unused variables rel_hash + and rel_hdr. + +Sat Jul 17 02:28:28 1999 Mark P. Mitchell <mark@codesourcery.com> + + * elflink.h (elf_link_adjust_relocs): New function. + (elf_bfd_final_link): Use it. + (elf_link_input_bfd): Deal with the fact that there can be + two relocation sections for a single section. + (elf_reloc_link_order): Likewise. + + * elf32-mips.c (_bfd_mips_elf_final_link): Don't set GP for + a relocateable object. + (_bfd_mips_elf_relocate_section): Handle relocateable links. + +1999-07-16 Jakub Jelinek <jj@ultra.linux.cz> + + * elf64-sparc.c (sparc64_elf_info_to_howto): Use ELF64_R_TYPE_ID. + (sparc64_elf_get_reloc_upper_bound, + sparc64_elf_get_dynamic_reloc_upper_bound, + sparc64_elf_slurp_one_reloc_table, sparc64_elf_slurp_reloc_table, + sparc64_elf_canonicalize_dynamic_reloc, sparc64_elf_write_relocs): + New functions. + (sparc64_elf_check_relocs, sparc64_elf_relocate_section): Use + ELF64_R_TYPE_ID/DATA where appropriate. + +1999-07-16 Jakub Jelinek <jj@ultra.linux.cz> + + * elf64-sparc.c (sparc64_elf_size_dynamic_sections): Remove + DT_SPARC_PLTFMT. + +1999-07-16 Ian Lance Taylor <ian@zembu.com> + + * elf32-mips.c (mips_elf_local_relocation_p): New static + function. + (mips_elf_next_lo16_addend): Call bfd_set_error on failure. + (mips_elf_calculate_relocation): Use mips_elf_local_relocation_p. + Always set *require_jalxp. + (mips_elf_stub_section_p): Mark abfd parameter as unused. + (_bfd_mips_elf_relocate_section): Only look for LO16 following + GOT16 if the GOT16 is against a local symbol. Don't return false + for an undefined symbol. If there is an overflow, assert that we + have a name. + +1999-07-16 Andreas Schwab <schwab@suse.de> + + * elflink.h (elf_link_record_local_dynamic_symbol): Remove unused + variables `link' and `elfsec'. + (elf_bfd_final_link): Remove unused variable `os'. + +Thu Jul 15 17:55:31 1999 Mark P. Mitchell <mark@codesourcery.com> + + * elf32-mips.c (_bfd_mips_elf_modify_segment_map): Don't require + a PT_PHDR program headers. + (_bfd_mips_elf_final_link): Don't assume there are going to be + section symbols when we're not building a shared object. + (_bfd_mips_elf_check_relocs): Make sure we have a GOT when + we need one. + +1999-07-15 J.T. Conklin <jtc@redback.com> + + * config.bfd (i[3456]86-*-vxworks*): New target. + +1999-07-15 Mark Mitchell <mark@codesourcery.com> + + * elf32-mips.c (mips_elf_stub_section_p): New function. + (mips_elf_calculate_relocation): Handle MIPS16 stub functions. + (mips_elf_relocate_section): Adjust calling sequence for + mips_elf_calculate_relocation and mips_elf_perform_relocation. + (mips_elf_perform_relocation): Turn `jal' into `jalx' where + required. + +1999-07-15 Ian Lance Taylor <ian@zembu.com> + + * configure.in: Bump version number to 2.9.5. + * configure: Rebuild. + +Thu Jul 15 02:56:15 1999 Jeffrey A Law (law@cygnus.com) + + * elf-hppa.h (_bfd_elf_hppa_gen_reloc_type, case R_HPPA): Handle + 64bit format. + (_bfd_elf_hppa_gen_reloc_type, case R_GOTOFF): Use base reloc type + to derive final type instead of hardwiring a selection. + +1999-07-14 Mark Mitchell <mark@codesourcery.com> + + * elf32-mips.c (mips_elf_obtain_contents): Swap 16-bit halves of + things relocated by R_MIPS16_GPREL. + (mips_elf_perform_relocation): Likewise. + +Wed Jul 14 15:23:19 1999 Jim Wilson <wilson@cygnus.com> + + * elfxx-target.h (elfNN_bed): Add elf_backend_want_dynbss. + +1999-07-14 Richard Henderson <rth@cygnus.com> + + * elf32-mips.c (struct mips_got_info): Add global_gotno. + (_bfd_mips_elf_size_dynamic_sections): Set it. + (_bfd_mips_elf_final_link): Re-sort; verify the got did not grow. + (mips_elf_sort_hash_table): Set max_non_got_dynindex based off + new argument max_local. + +1999-07-14 Mark Mitchell <mark@codesourcery.com> + + * elf32-mips.c (mips_elf_obtain_contents): Swap the 16-bit + subwords when handling an R_MIPS16_26 relocation. + (mips_elf_perform_relocation): Don't be paranoid abour right-shift + semantics. + + * elf32-mips.c (elf_mips16_gprel_howto): Adjust src_mask and + dst_mask to match reality. + (_bfd_mips_elf_calculate_relocation): Handle R_MIPS16_GPREL. + (mips_elf_obtain_contents): Use bfd_get. + (mips_elf_perform_relocation): Handle R_MIPS16_GPREL. + (mips_elf_relocate_section): Likewise. + +1999-07-13 Mark Mitchell <mark@codesourcery.com> + + * elf32-mips.c (mips_elf_calculate_relocation): Handle R_MIPS16_26. + (mips_elf_relocate_section): Adjust calling sequence for + mips_elf_perform_relocation. + (mips_elf_perform_relocation): Take additional argument. Handle + R_MIPS16_26. Use bfd_put for convenience. + +1999-07-13 Richard Henderson <rth@cygnus.com> + + * elf.c (assign_file_positions_for_segments): Thinko last change. + Always overwrite p_flags. + +1999-07-13 Richard Henderson <rth@cygnus.com> + + * elf-bfd.h (struct elf_backend_data): Add want_dynbss. + * elflink.c (_bfd_elf_create_dynamic_sections): Only create + .dynbss and .rel[a].bss if want_dynbss. + * elfxx-target.h (elf_backend_want_dynbss): Provide default. + +1999-07-13 Richard Henderson <rth@cygnus.com> + + * elf.c (assign_file_positions_for_segments): Don't overwrite p_flags. + +1999-07-13 Richard Henderson <rth@cygnus.com> + + * elf-bfd.h (struct elf_link_local_dynamic_entry): New. + (struct elf_link_hash_table): Add dynlocal. + (_bfd_elf_link_lookup_local_dynindx): Prototype. + (_bfd_elf_link_adjust_dynindx): Delete. + (_bfd_elf_link_renumber_dynsyms): Prototype. + (_bfd_elf,link_record_local_dynamic_symbol): Prototype. + * elfcode.h (elf_link_record_local_dynamic_symbol): New alias. + * elflink.c (_bfd_elf_link_adjust_dynindx): Delete. + (_bfd_elf_link_lookup_local_dynindx): New function. + (elf_link_renumber_hash_table_dynsyms): New function. + (_bfd_elf_link_renumber_dynsyms): New function. + * elflink.h (elf_link_record_local_dynamic_symbol): New function. + (struct elf_assign_sym_version_info): Delete removed_dynamic. + (bfd_elf,size_dynamic_sections): Use _bfd_strip_section_from_output + instead of elf_link_remove_section_and_adjust_dynindices. + Remove removed_dynamic code. Use _bfd_elf_link_renumber_dynsyms. + (elf_link_assign_sym_version): Remove removed_dynamic code. + (elf_link_renumber_dynsyms): Delete. + (elf_bfd_final_link): Install section and local symbols into .dynsym. + + * elf32-m68k.c (elf_m68k_adjust_dynindx): Delete. + (elf_m68k_size_dynamic_sections): Don't set section dynindicies. + (elf_m68k_finish_dynamic_sections): Don't write section dynsyms. + * elf32-mips.c: Similarly. + * elf32-ppc.c: Similarly. + * elf32-sparc.c: Similarly. + * elf64-alpha.c: Similarly. + * elf64-sparc.c: Similarly. + +1999-07-13 Mark Mitchell <mark@codesourcery.com> + + * elf32-mips.c (mips_elf_calculate_relocation): Do not complain + when _gp_disp is undefined. Do not check R_MIPS_LO16 for overflow + when the relocation is against _gp_disp. + +1999-07-12 Mark Mitchell <mark@codesourcery.com> + + * dwarf2.c (read_attribute): Support DW_FORM_ref8. + * elf32-mips.c (mips_elf_link_hash_entry): Change mips_32_relocs + to possibly_dynamic_relocs. Adjust usage throughout code. + (elf_mips_howto_table): Handle R_MIPS_64 correctly. + (elf_mips_ctor64_howto): Likewise. + (mips_elf_calculate_relocation): Handle R_MIPS_64 like R_MIPS_32. + Adjust indentation. + (mips_elf_relocate_section): Handle R_MIPS_64 in 32-bit mode. + (_bfd_mips_elf_check_relocs): Handle R_MIPS_64 like R_MIPS_32. + Use MIPS_ELF_GOT_SIZE to calculate the size of GOT entries. + * elf64-mips.c (elf_backend_may_use_rel_p): Define. + +1999-07-12 Ian Lance Taylor <ian@zembu.com> + + * Makefile.am: Rebuild dependencies. + * Makefile.in: Rebuild. + + * bfd-in.h: Remove tests of COFF_IMAGE_WITH_PE. + * bfd-in2.h: Rebuild. + + * Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSED + as appropriate. Use EMPTY_HOWTO as appropriate. Fill in + structure initializations. Add casts. + * reloc.c (EMPTY_HOWTO): Define. + * bfd-in2.h: Rebuild. + * coff-h8300.c (h8300_reloc16_extra_cases): Remove useless + comparisons against 0. + * elf32-sparc.c (elf32_sparc_merge_private_bfd_data): Change + previous_ibfd_e_flags to unsigned long. + * vms.h (struct vms_private_data_struct): Change section_count to + unsigned. + * vms-gsd.c (_bfd_vms_slurp_gsd): Change psect_idx to unsigned. + (_bfd_vms_write_gsd): Change symnum to unsigned. + * vms-hdr.c (_bfd_vms_write_hdr): Change symnum to unsigned. + * vms-tir.c (etir_sta): Change psect to unsigned. + (alloc_section): Change idx to unsigned. + (tir_sta, tir_ctl): Change psect to unsigned. + (_bfd_vms_write_tir): Change len and before to bfd_size_type. + * vms.c (priv_section_count): Change to unsigned. + +1999-07-12 Andreas Schwab <schwab@suse.de> + + * elf32-m68k.c: Add some ATTRIBUTE_UNUSED. + * m68klinux.c: Likewise. + +1999-07-12 Ian Lance Taylor <ian@zembu.com> + + * Many files: Changes to avoid gcc warnings: Remove unused local + variables. Add default case to enum switches. + * coff-arm.c (bfd_arm_allocate_interworking_sections): Only + compile if not COFF_IMAGE_WITH_PE. + (record_arm_to_thumb_glue, record_thumb_to_arm_glue): Likewise. + (bfd_arm_get_bfd_for_interworking): Likewise. + (bfd_arm_process_before_allocation): Likewise. + * epoc-pei-arm.c: Don't rename bfd_arm functions. + * pei-arm.c: Likewise. + * elf32-mips.c (mips_elf_link_hash_table_create): Don't declare. + (MIPS_ELF_ADD_DYNAMIC_ENTRY): Correct last change. + (mips_elf_got16_entry): Put parens around & in body of ==. + (mips_elf_calculate_relocation): Correct test for empty string. + * vms-gsd.c: Use _bfd_error_handler rather than fprintf to + stderr. + * vms-misc.c (_bfd_vms_length_hash_symbol): Correct sprintf + format. + +1999-07-11 Ian Lance Taylor <ian@zembu.com> + + * Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSED + as appropriate. Fill in structure initializations. Add variable + initializations. Add casts. + * dwarf1.c (parse_line_table): Change eachLine to unsigned long. + (dwarf1_unit_find_nearest_line): Change i to unsigned long. + + * elf.c (bfd_elf_hash): Change parameter from unsigned char * to + char *. + * elf-bfd.h (bfd_elf_hash): Update declaration. + * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Remove casts + when calling bfd_elf_hash. + +1999-07-11 Mark Mitchell <mark@codesourcery.com> + + * libbfd.c (bfd_put_8): Make it of type `void'. + * bfd-in2.h: Regenerated. + * elf32-mips.c (MIPS_ELF_ADD_DYNAMIC_ENTRY): Conditionalize + for 32-bit hosts. + (_bfd_mips_elf_final_link): Likewise. + + * elflink.h (elf_link_read_relocs_from_section): Be type-correct. + +Thu Jul 8 12:32:23 1999 John David Anglin <dave@hiauly1.hia.nrc.ca> + + * config.bfd (hppa*-*-linux-gnu*): New target + +1999-07-07 Mark Mitchell <mark@codesourcery.com> + + * elf-bfd.h (_bfd_mips_elf_section_from_shdr): Constify. + (_bfd_mips_elf_create_dynamic_sections): New function. + (_bfd_mips_elf_add_symbol_hook): Likewise. + (_bfd_mips_elf_adjust_dynamic_symbol): Likewise. + (_bfd_mips_elf_finish_dynamic_symbol): Likewise. + (_bfd_mips_elf_finish_dynamic_sections): Likewise. + (_bfd_mips_elf_gc_mark_hook): Likewise. + (_bfd_mips_elf_gc_sweep_hook): Likewise. + (_bfd_mips_elf_always_size_sections): Likewise. + (_bfd_mips_elf_size_dynamic_sections): Likewise. + (_bfd_mips_elf_check_relocs): Likewise. + (_bfd_mips_elf_link_hash_table_create): Likewise. + (_bfd_mips_elf_print_private_data): Likewise. + (_bfd_mips_elf_link_output_symbol_hook): Likewise. + (_bfd_mips_elf_final_link): Likewise. + (_bfd_mips_elf_additional_program_headers): Likewise. + (_bfd_mips_elf_modify_segment_map): Likewise. + (_bfd_mips_elf_relocate_section): Likewise. + * elf32-mips.c (mips_elf32_object_p): Move contents into + _bfd_mips_elf_object_p. + (mips_elf_additional_program_headers): Rename to + _bfd_mips_elf_additional_program_headers. + (mips_elf_modify_segment_map): Rename to + _bfd_mips_elf_modify_segment_map. + (elf_mips_abi_name): Change prototype. + (mips_elf32_section_from_shdr): Merge into + _bfd_mips_elf_section_from_shdr. + (mips_elf32_section_processing): Merge into + _bfd_mips_elf_section_processing. + (mips_elf_final_link): Rename to _bfd_mips_elf_final_link. Invoke + the right back-end ELF linker. + (mips_elf_relocate_section): Rename to + _bfd_mips_elf_relocate_section. Clean up. Adjust for 64-bit code. + (mips_elf_link_output_symbol_hook): Rename to + _bfd_mips_elf_link_output_symbol_hook. + (mips_elf_create_dynamic_section): Rename to + _bfd_mips_elf_create_dynamic_section. + (mips_elf_check_relocs): Rename to _bfd_mips_elf_check_relocs. + Adjust for 64-bit code. Use mips_elf_got_section. + (mips_elf_adjust_dynamic_symbol): Rename to + _bfd_mips_elf_adjust_dynamic_symbol. Use + mips_elf_allocate_dynamic_relocations. + (mips_elf_finish_dynamic_symbol): Rename to + _bfd_mips_elf_finish_dynamic_symbol. Use mips_elf_got_section. + Adjust for 64-bit code. + (mips_elf_finish_dynamic_sections): Rename to + _bfd_mips_elf_finish_dynamic_sections. Adjust for 64-bit code. + (mips_elf_always_size_sections): Rename to + _bfd_mips_elf_always_size_sections. + (mips_elf_add_symbol_hook): Rename to + _bfd_mips_elf_add_symbol_hook. + (mips_elf_next_lo16_addend): Constify. + (mips_elf_calculate_relocation): Likewise. + (mips_elf_obtain_contents): Likewise. + (mips_elf_perform_relocation): Likewise. + (mips_elf_create_dynamic_relocation): Likewise. + (mips_elf_allocate_dynamic_relocations): New function. + (MIPS_ELF_REL_DYN_SECTION_NAME): New macro. + (MIPS_ELF_REL_SIZE): Likewise. + (MIPS_ELF_DYN_SIZE): Likewise. + (MIPS_ELF_GOT_SIZE): Likewise. + (MIPS_ELF_SYM_SIZE): Likewise. + (MIPS_ELF_LOG_FILE_ALIGN): Likewise. + (MIPS_ELF_GET_WORD): Likewise. + (MIPS_ELF_PUT_WORD): Likewise. + (MIPS_ELF_ADD_DYNAMIC_ENTRY): Likewise. + (STUB_LW): Conditionalize for 64-bit value. + (elf_mips_howto_table): Add R_MIPS_HIGHER and R_MIPS_HIGHEST + entries. + (_bfd_mips_elf_merge_private_bfd_data): Merge e_ident[EI_CLASS]. + Check it for inconsistency. + (_bfd_mips_elf_print_private_bfd_data): Print ABI=64 for 64-bit + ABI. + (_bfd_mips_elf_fake_sections): Remove duplicate handling of + .msym. + (mips_elf_global_got_index): Use MIPS_ELF_GOT_SIZE. + (mips_elf_got_offset_from_index): Use misp_elf_got_section. + (mips_elf_create_local_got_entry): Use MIPS_ELF_GOT_SIZE. + (mips_elf_local_got_index): Likewise. + (mips_elf_got_page): Likewise. + (mips_elf_got_info): Likewise. + (mips_elf_create_dynamic_relocation): Handle 32-bit/64-bit split. + (ELF_DYNAMIC_INTERPRETER): Handle 64-bit code. + (mips_elf_create_dynamic_sections): Use MIPS_ELF_LOG_FILE_ALIGN, + instead of constant `2'. + (mips_elf_create_got_section): Tidy. Use MIPS_ELF_GOT_SIZE. + (mips_elf_create_msym_section): Use MIPS_ELF_LOG_FILE_ALIGN. + (mips_elf_size_dynamic_sections): Use + MIPS_ELF_REL_DYN_SECTION_NAME, MIPS_ELF_GOT_SIZE, + MIPS_ELF_ADD_DYNAMIC_ENTRY. Remove #if 0'd code. + Adjust all releveant entries in elf backend table. + * elf64-mips.c (mips_elf64_section_from_shdr): Remove. + (mips_elf64_section_processing): Likewise. + Adjust elf backend entries to use _bfd_mips_elf variants now + publicly available. + + * elflink.h (elf_link_create_dynamic_sections): Handle non-standard + hash-entry sizes. + (size_dynamic_sections): Likewise. + (elf_link_output_extsym): Likewise. + * elf.c: (elf_fake_sections): Likewise. + * libbfd.c (bfd_get): New macro. + (bfd_put): Likewise. + * bfd-in2.h: Regenerated. + +1999-07-07 Mark Mitchell <mark@codesourcery.com> + + * elf-bfd.h (elf_size_info): Add hash_entry_size, + int_rels_per_ext_rel, swap_dyn_out, swap_reloc_in, swap_reloc_out, + wap_reloca_in, and swap_reloca_out. + * elflink.h (elf_link_read_relocs_from_section): Adjust to handle + multiple internal relocations per external relocation. + (link_read_relocs): Likewise. + (elf_bfd_final_link): Likewise. + (elf_link_input_bfd): Likewise. + (elf_gc_mark): Likewise. + (elf_gc_smash_unused_vtentry_relocs): Likewise. + * elfcode.h (elf_swap_dyn_out): Adjust type to match + elf_swap_dyn_in. + (size_info): Add entries for new fields. + * elf64-mips.c (mips_elf64_swap_reloc_out): Enable. + (mips_elf64_be_swap_reloc_in): New function. + (mips_elf64_be_swap_reloc_out): Likewise. + (mips_elf64_be_swap_reloca_in): Likewise. + (mips_elf64_be_swap_reloca_out): Likewise. + (mips_elf64_size_info): Add entries for new fields. + +1999-07-07 Ian Lance Taylor <ian@zembu.com> + + * elflink.h (elf_bfd_final_link): Assert that section reloc_count + field equals the new rel_count field. + (elf_link_input_bfd): When doing a relocateable link, use the new + rel_count field rather than the reloc_count field. + (elf_reloc_link_order): Likewise. + (elf_finish_pointer_linker_section): Likewise. + + Based on patch from H.J. Lu <hjl@gnu.org>: + * elflink.h (elf_merge_symbol): Permit a non-weak definition in a + shared library to override a weak definition in a regular object. + +Tue Jul 6 10:23:39 1999 Jeffrey A Law (law@cygnus.com) + + * libhppa.h: Revert July 2, 1999 patch. + + * elf-hppa.h (_bfd_elf_hppa_gen_reloc_type): T mode selectors + need to generate DLTIND relocations, not DLTREL relocations. + +1999-07-05 Nick Clifton <nickc@cygnus.com> + + * coffcode.h (coff_set_arch_mach_hook): Recognise arm 5 + architectures. + (coff_set_flags): Recognise arm 5 architectures. + + * cpu-arm.c: Add support for strongarm and arm9 cpus. + Add support for armv5 architecture. + + * archures.c: Add bfd_mach_arm_5 and bfd_mach_arm_5T. + + * reloc.c: Add new, assembler only, ARM reloc: + BFD_RELOC_ARM_ADRL_IMMEDIATE. + + * bfd-in2.h: Regenerate. + +1999-07-02 Mark Mitchell <mark@codesourcery.com> + + * dwarf2.c (parse_comp_unit): Add ABBREV_LENGTH parameter. + (_bfd_dwarf2_find_nearest_line): Add ADDR_SIZE parameter. + * elf.c (_bfd_elf_find_nearest_line): Pass it. + * elf32-arm.h (elf32_arm_find_nearest_line): Likewise. + * elf32-mips.c (ABI_64_P): New macro. + (IRIX_COMPAT): We are IRIX6-compatible if ABI_64_P. + (_bfd_mips_elf_find_nearest_line): Adjust call to + _bfd_dwarf2_find_nearest_line. + * libbfd-in.h (_bfd_dwarf2_find_nearest_line): Update prototype. + * libbfd.h: Regenerated. + +1999-07-02 Ian Lance Taylor <ian@zembu.com> + + * config.bfd: Add * at the end of i[3456]86-*-unixware. + +Fri Jul 2 12:21:10 1999 Jeffrey A Law (law@cygnus.com) + + * libhppa.h (HPPA_R_ARG_RELOC): Delete. + (HPPA_R_CONSTANT, HPPA_R_ADDEND): Likewise. + +1999-07-01 Mark Mitchell <mark@codesourcery.com> + + * elf-bfd.h (bfd_elf_section_data): Add rel_count and rel_count2 + fields. + (_bfd_elf_init_reloc_shdr): New function. + * elf.c (_bfd_elf_new_section_hook): Use bfd_zalloc, rather than + bfd_alloc followed by memset. + (_bfd_elf_init_reloc_shdr): New function, split out from ... + (elf_fake_sections): Here. + (assign_section_numbers): Assign section numbers for the second + relocation section, if required. + * elflink.h (elf_link_output_relocs): New function. + (elf_link_size_reloc_section): Likewise. + (elf_bfd_final_link): Use elf_link_size_reloc_section. + (elf_link_input_bfd): Use elf_link_output_relocs. + + * elf32-mips.c (_bfd_mips_elf_fake_sections): Use + _bfd_elf_init_reloc_shdr to initialize rel_hdr2. + +Thu Jul 1 13:58:48 1999 Jeffrey A Law (law@cygnus.com) + + * elf-hppa.h (_bfd_elf_hppa_gen_reloc_type): Handle R_PCREL_CALL + with 22bit format. + +1999-06-28 Mark Mitchell <mark@codesourcery.com> + + * elf32-mips.c (mips_elf_got_info): Move declaration before + prototypes. Change global_gotsym to be a pointer to a hash entry, + rather than a number index. + (mips_elf_link_hash_entry): Move declaration before prototypes. + (mips_elf_irix6_finish_dynamic_symbol): New function. + (mips_elf_sign_extend): Likewise. + (mips_elf_high): Likewise. + (mips_elf_higher): Likewise. + (mips_elf_highest): Likewise. + (mips_elf_global_got_index): Likewise. + (mips_elf_local_got_index): Likewise. + (mips_elf_got_offset_from_index): Likeiwse. + (mips_elf_record_global_got_symbol): Likewise. + (mips_elf_got_page): Likewise. + (mips_elf_next_lo16_addend): Likewise. + (mips_elf_calculate_relocation): Likewise. + (mips_elf_obtain_contents): Likewise. + (mips_elf_perform_relocation): Likewise. + (mips_elf_assign_gp): Likewise. + (mips_elf_sort_hash_table_f): Likewise. + (mips_elf_sort_hash_table): Likewise. + (mips_elf_got_section): Likewise. + (mips_elf_got_info): Likewise. + (mips_elf_create_local_got_entry): Likewise. + (mips_elf_got16_entry): Likewise. + (mips_elf_create_dynamic_relocation): Likewise. + (elf_mips_howto_table): Add description of R_MIPS_SCN_DISP. + (mips_elf_final_gp): Use mips_elf_assign_gp. + (_bfd_mips_elf_symbol_processing): Don't move SHN_COMMON symbols + into SHN_SCOMMON automatically on IRIX6. + (mips_elf_add_symbol_hook): Likewise. + (mips_elf_relocate_section): Rewrite, using + mips_elf_calculate_relocation and mips_elf_perform_relocation. + (mips_elf_create_dynamic_section): Use MIPS_ELF_STUB_SECTION_NAME. + Don't deal with .rld_map on IRIX6. + (mips_elf_create_got_section): Adjust use of global_gotsym. Set + section flags appropriately for .got. + (mips_elf_check_relocs): Handle IRIX6 relocations making use of + the got. Call mips_elf_record_global_got_symbol and allocate + local got space appropriately. + (mips_elf_size_dynamic_sections): Use bfd_byte *, not unsigned + char *. Rework calculation of GOT size. Sort dynamic symbol + table entries so entries that do not require GOT entries appear at + the beginning. Don't use DT_MIPS_HIPAGENO on IRIX6. Remove dead + code dealing with DT_INIT and DT_FINI. Remove fiddling with + global_gotsym. + (mips_elf_finish_dynamic_symbol): Adjust creation of global GOT + entries. + (mips_elf_finish_dynamic_symbol): Use + mips_elf_irix6_finish_dynamic_symbol. + (mips_elf_finish_dynamic_sections): Correct off-by-one error + setting DT_MIPS_UNREFEXTNO. Adjust setting of DT_MIPS_GOTSYM for + change to global_gotsym. Set DT_MIPS_OPTIONS on IRIX6. + +1999-06-30 Ian Lance Taylor <ian@zembu.com> + + * elf32-mips.c (mips_elf_final_link): Don't set CPIC when doing a + relocateable link. From Ralf Baechle <ralf@uni-koblenz.de>. + +1999-06-04 Philip Blundell <philb@gnu.org> + + * elf32-arm.h (elf_backend_got_header_size): Define. + (elf_backend_plt_header_size): Likewise. + +1999-06-28 Jim Pick <jim@jimpick.com> + + * elf32-arm.h (elf32_arm_relocate_section): Mind no_undefined + +Tue Jun 29 02:25:03 1999 Jeffrey A Law (law@cygnus.com) + + * elf-hppa.c (elf_hppa_howto_table): Use bfd_elf_generic_reloc as + relocation function. + * elf32-hppa.c (hppa_elf_reloc): Kill unused/unwanted function. + +1999-06-27 Mark Mitchell <mark@codesourcery.com> + + * elf32-mips.c (MIPS_ELF_SRDATA_SECTION_NAME): New macro. + (MIPS_ELF_OPTIONS_SECTION_NAME): Likewise. + (MIPS_ELF_STUB_SECTION_NAME): Likewise. + (_bfd_mips_elf_section_from_shdr): Use them. + (_bfd_mips_elf_fake_sections): Likewise. Add .srdata to the list + of GP-relative sections. + (_bfd_mips_elf_set_section_contents): Use them. + (_bfd_mips_elf_section_processing): Share code between .sdata and + .lit4/.lit8 sections. Set appropriate flags for .srdata. + (mips_elf_additional_program_headers): Add handling for + PT_MIPS_OPTIONS segment on IRIX6. + (mips_elf_modify_segment_map): Likeiwse. + (mips_elf_final_link): Set EF_MIPS_CPIC when required by the ABI. + Include the options sections on IRIX6. Don't look for GP-relative + sections by name; use SHF_MIPS_GPREL instead. + (ELF_DYNAMIC_INTERPRETER): Adjust to use /usr/lib32/libc.so.1 for + the N32 ABI. + (mips_elf_create_dynamic_sections): Don't muck about with section + alignments and such on IRIX6. + (mips_elf_adjust_dynamic_symbol): Use MIPS_ELF_STUB_SECTION_NAME. + (mips_elf_size_dynamic_sections): Likewise. Adjust to handle the + fact that ELF_DYNAMIC_INTERPRETER is no longer a constant. Use + bfd_zalloc rather than bfd_alloc and memset. + (mips_elf_finish_dynamic_symbol): Use MIPS_ELF_STUB_SECTION_NAME. + Don't assert the existence of .rld_map on IRIX6. + (mips_elf_finish_dynamic_sections): Use MIPS_ELF_STUB_SECTION_NAME. + + * elf32-mips.c (mips_elf_adjust_dynindx): Remove. + (mips_elf_size_dynamic_sections): Use _bfd_elf_link_adjust_dynindx + instead. + +1999-06-26 Mark Mitchell <mark@codesourcery.com> + + * elf32-mips.c (mips_elf_swap_msym_in): New function. + (mips_elf_swap_msym_out): New function. + (mips_elf_create_msym_section): Likewise. + (MIPS_ELF_MSYM_SECTION_NAME): New macro. + (_bfd_mips_elf_final_write_processing): Set sh_link for .msym. + (_bfd_mips_elf_section_from_shdr): Reject an SHT_MIPS_MSYM + section not named .msym. + (_bfd_mips_elf_fake_sections): Use MIPS_ELF_MSYM_SECTION_NAME, not + .msym directly. Set appropriate attributes for the .msym + section. + (mips_elf_link_hash_entry): Add min_dyn_reloc_index field. + (mips_elf_link_hash_newfunc): Clear it. + (mips_elf_create_dynamic_sections): Create the .msym section + on IRIX6. + (mips_elf_size_dynamic_sections): Allocate space for the + .msym section. Add a DT_MIPS_MSYM entry. + (mips_elf_finish_dynamic_symbol): Write out a .msym entry for + the symbol. + (mips_elf_finish_dynamic_sections): Assign a value for + DT_MIPS_MSYM. Add .msym entries for the section symbols as well. + + * elf32-mips.c (irix_compat_t): New enumeration. + (ABI_N32_P): New macro. + (IRIX_COMPAT): Likewise. + (SGI_COMPAT): Implement in terms of IRIX_COMPAT. + (mips_elf_relocate_section): Fix typo. + +1999-06-26 Mumit Khan <khan@xraylith.wisc.edu> + + * peicode.h (coff_swap_scnhdr_out): Mark non readonly BFD sections + as writable PE sections. + +1999-06-26 David Mosberger <davidm@hpl.hp.com> + + * dwarf2.c (struct arange): New type. + (struct comp_unit): Replace LOW and HIGH by member ARANGE. + (arange_add): New function. + (decode_line_info): Keep track of address ranges that a compilation + unit covers. + (comp_unit_contains_address): Return true if address is contained + in _any_ of the address ranges associated with a compilation unit. + (_bfd_dwarf2_find_nearest_line): Call comp_unit_find_nearest_line + on the first comp_unit that contains the address. + +1999-06-26 David Mosberger <davidm@hpl.hp.com> + + * dwarf2.c (struct dwarf2_debug): Add member dwarf_line_buffer. + (decode_line_info): Add variable STASH and initialize it to point + to the per-bfd dwarf2_debug info. Remove static variable + dwarf_line_buffer and use stash->dwarf_line_buffer in its place. + +1999-06-26 Ian Lance Taylor <ian@zembu.com> + + * elflink.h (elf_link_output_extsym): It's OK for a -Bsymbolic + shared library to have an undefined symbol. + + From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>: + * elf32-ppc.c (ppc_elf_relocate_section): Fix last patch. + +Thu Jun 24 20:59:11 1999 Jeffrey A Law (law@cygnus.com) + + * elf-hppa.c (elf_hppa_final_write_processing): New function. + * elf32-hppa.c: Remove everything related to symbol extension + sections & records. Use the common elf_hppa_final_write_processing. + +1999-06-22 Mark Mitchell <mark@codesourcery.com> + + * elflink.h (size_dynamic_sections): Use user-specified init/fini + functions instead of _init/_fini if requested. + +1999-06-23 Ian Lance Taylor <ian@zembu.com> + + * elf.c (bfd_section_from_shdr): Avoid crashing on a bogus sh_link + field. + +1999-06-22 Ian Lance Taylor <ian@zembu.com> + + From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>: + * elf32-ppc.c (ppc_elf_size_dynamic_sections): Set unused dynindx + field to 0, not -1. + (ppc_elf_finish_dynamic_sections): Check for positive section + dynindx field, rather than comparing against -1. + (ppc_elf_relocate_section): Only return false if undefined_symbol + or reloc_overflow fail, not always upon encountering an error. + +1999-06-22 Mark Mitchell <mark@codesourcery.com> + + * elflink.h (link_read_relocs): Explicitly cast external_relocs to + bfd_byte * before performing pointer arithmetic. + +Tue Jun 22 13:06:25 1999 Jeffrey A Law (law@cygnus.com) + + * elf-hppa.h: New file. Common stuff for elf32 and elf64 PA + support. + * elf32-hppa.c: Include elf-hppa.h. + (ARCH_SIZE): Define. + (elf_hppa_reloc_type_lookup): Delete. Found in the common code + now. + (elf32_hppa_info_to_howto): Similarly. + (elf_hppa_howto_table): Similarly. + (elf_hppa_reloc_type_lookup): Similarly. + (hppa_elf_gen_reloc_type): Similarly. + * elf32-hppa.h (ELF_HOWTO_TALBE, N_PARISC_RELOCS): Delete. + +1999-06-22 Nick Clifton <nickc@cygnus.com> + + * elf32-v850.c (v850_elf_final_link_relocate): Catch overflow + handling R_V850_22_PCREL relocation. + +1999-06-21 Ian Lance Taylor <ian@zembu.com> + + * coff-arm.c (arm_emit_base_file_entry): Explicitly declare return + type. + +Sun Jun 20 14:13:57 1999 Richard Henderson <rth@cygnus.com> + + * section.c (_bfd_strip_section_from_output): Ignore sections + DISCARDed by the link script. + +1999-06-19 Ian Lance Taylor <ian@zembu.com> + + * elflink.h (elf_link_remove_section_and_adjust_dynindices): + Remove unused local variable spp. + + * xcofflink.c (bfd_xcoff_size_dynamic_sections): Don't crash if + the entry symbol is not set. + +Fri Jun 18 04:24:57 1999 Richard Henderson <rth@cygnus.com> + + * elf64-alpha.c (elf64_alpha_relocate_section): Don't adjust + GPDISP or LITUSE in a relocatable link. + +Thu Jun 17 21:24:43 1999 J"orn Rennecke <amylaar@cygnus.co.uk> + + * dwarf1.c (alloc_dwarf1_unit): Allocate using bfd_zalloc. + * (alloc_dwarf1_func): Likewise. + +Wed Jun 16 03:09:57 1999 Jeffrey A Law (law@cygnus.com) + + * libhppa.h: Fix various formatting errors. + (assemble_3); Rewrite using CATENATE. + (assemble_17): Fix various bugs. + +1999-06-16 Nick Clifton <nickc@cygnus.com> + + * elf32-mcore.c (R_MCORE_RAW): Fix definition. + +1999-06-15 Richard Henderson <rth@cygnus.com> + + * section.c (SEC_SHORT): Define. + * bfd-in2.h: Rebuild. + +1999-06-13 Mark Mitchell <mark@codesourcery.com> + + * elflink.h (elf_link_remove_section_and_adjust_dynindices): + Remove abfd parameter. Use _bfd_strip_section_from_output. + (bfd_elf_size_dynamic_sections): Adjust callers accordingly. + + * elf-bfd.h (_bfd_elf_link_adjust_dynindx): New function. + * elflink.c (_bfd_elf_link_adjust_dynindx): Define it. + * elflink.h (elf_link_remove_section_and_adjust_dynindices): New + function. + (bfd_elf_size_dynamic_sections): Use it. + +1999-06-13 Alan Modra <alan@spri.levels.unisa.edu.au> + + * elf32-i386.c (elf_howto_table): Change R_386_PC8 from + complain_overflow_bitfield to complain_overflow_signed. + +1999-06-13 Mark Mitchell <mark@codesourcery.com> + + * elflink.h (elf_link_read_relocs_from_section): New function, + split out from ... + (elf_link_read_relocs): Here. Use it for both relocation + sections. + +1999-06-12 Mark Mitchell <mark@codesourcery.com> + + * elfcode.h (elf_slurp_reloc_table_from_section): Don't assume + asect->reloc_count is valid. + +1999-06-12 Ian Lance Taylor <ian@zembu.com> + + * elf32-mips.c (mips_elf32_section_processing): Permit a + SHT_MIPS_REGINFO section to have a size of 0. + +1999-06-12 David O'Brien <obrien@freebsd.org> + + * config.bfd (alpha*-*-freebsd*): New target. + (i[3456]86-*-freebsd*): Now defaults to ELF. + +1999-06-11 Ian Lance Taylor <ian@zembu.com> + + * reloc.c (_bfd_relocate_contents): Permit bitfield relocations to + wrap if the relocation covers the high bit of an address. + + * dwarf2.c (decode_line_info): Remove unused variable first_time. + +1999-06-10 Jakub Jelinek <jj@ultra.linux.cz> + + * elf64_sparc.c (sparc64_elf_relocate_section): Use R_SPARC_max_std + instead of R_SPARC_max. + (sparc64_elf_info_to_howto): Likewise. + * elf32_sparc.c (elf32_sparc_relocate_section): Likewise. + (elf32_sparc_info_to_howto): Likewise; handle vtable relocations. + +1999-06-07 Richard Henderson <rth@cygnus.com> + + * section.c (_bfd_strip_section_from_output): Remove output + sections with no initial link_order. + +1999-06-07 Nick Clifton <nickc@cygnus.com> + + * elf32-m88k.c (ELF_MAXPAGESIZE): Define. + +Mon Jun 7 11:49:43 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> + + * Makefile.am (SOURCE_HFILES): Add missing headers. + * Makefile.in: Regenerated. + +1999-06-06 Mark Mitchell <mark@codesourcery.com> + + * elf32-mips.c (_bfd_mips_elf_print_private_data): Recognize + the N32 ABI. + +1999-06-04 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> + + * elf32-ppc.c (ppc_elf_relocate_section): Don't barf on out of + range undefweak symbols. + * hash.c: Add missing comma after @xref{} + * linker.c: Likewise. + +1999-06-04 Nick Clifton <nickc@cygnus.com> + + * elfxx-target.h (ELF_MAXPAGESIZE): Produce an error message + if not defined. + * elf32-gen.c (ELF_MAXPAGESIZE): Define. + * elf32-i860.c (ELF_MAXPAGESIZE): Define. + * elf32-i960.c (ELF_MAXPAGESIZE): Define. + * elf64-gen.c (ELF_MAXPAGESIZE): Define. + +1999-06-04 Ian Lance Taylor <ian@zembu.com> + + * Makefile.am: Rebuild dependencies. + (BFD32_BACKENDS): Add dwarf1.lo. + (BFD32_BACKENDS_CFILES): Add dwarf1.c. + * Makefile.in: Rebuild. + +1999-06-04 Nick Clifton <nickc@cygnus.com> + + * Makefile.am: Add epoc-arm-pe target. + * Makefile.in: Regenerate. + * pe-arm.c: Only redefine interworking function names if they have + not already been redefined. + * pei-arm.c: Only redefine interworking function names if they have + not already been redefined. + * epoc-pe-arm.c: Redefine interworking function names to avoid a + name space clash. + * epoc-pei-arm.c: Redefine interworking function names to avoid a + name space clash. + +1999-06-03 Nick Clifton <nickc@cygnus.com> + + * elfxx-target.h (ELF_MAXPAGESIZE): Default to 0x1000 not 1. + +Fri Jun 4 10:05:11 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> + + * elf.c (elf_fake_sections): Undo change of 1999-05-10. + +Fri Jun 4 03:10:49 1999 J"orn Rennecke <amylaar@cygnus.co.uk> + + * elf32-sh.c (sh_elf_relax_delete_bytes): Fix setting of + start / stop for recalculating of r_addend of R_SH_SWITCH*. + +Fri Jun 4 02:53:13 1999 J"orn Rennecke <amylaar@cygnus.co.uk> + + * elf32-sh.c (sh_elf_relax_delete_bytes): Handle R_SH_SWITCH32 + in other text sections. + +Fri Jun 4 02:29:34 1999 J"orn Rennecke <amylaar@cygnus.co.uk> + + * libbfd.c (_bfd_generic_verify_endian_match): New function. + * libbfd-in.h (_bfd_generic_verify_endian_match): Declare. + * libbfd.h: Regenerate. + * coff-sh.c (sh_merge_private_data): Delete. + (coff_bfd_merge_private_bfd_data): Change to + _bfd_generic_verify_endian_match. + (elf32-sh.c): bfd_elf32_bfd_merge_private_bfd_data: Define. + +1999-06-03 Ulrich Drepper <drepper@cygnus.com> + + * elf32-arm.h: Fix typo: change ELF_MAXPAGE_SIZE to ELF_MAXPAGESIZE. + +1999-06-03 Ian Lance Taylor <ian@zembu.com> + + * bfd-in.h (bfd_elf32_arm_allocate_interworking_sections): Correct + prototype. + (bfd_elf32_arm_process_before_allocation): Likewise. + * bfd-in2.h: Rebuild. + +1999-06-03 David Mosberger <davidm@hpl.hp.com> + + * dwarf2.c (struct line_info): Add member END_SEQUENCE to keep + track of end_sequence markers. + (add_line_info): Add END_SEQUENCE arg. + (decode_line_info): Don't try to infer lo_pc and hi_pc from the + debug-line info---it doesn't work right if a compilation unit + consists of multiple discontiguous code-sequences. It would be + worthwhile to optimize for the common case where a compilation + unit results in a contiguous set of code sequences, but this is + quite tricky to get right for arbitrary DWARF2 files. + (lookup_address_in_line_info_table): Don't use the last line entry + for a compilation unit for anything with an address higher than + this line entry. Also, check for end_sequence markers to + correctly handle discontinuities. + (_bfd_dwarf2_find_nearest_line): When checking previously loaded + compilation units, check all compilation units with each->high==0 + just like when reading compilation units. + + * dwarf2.c (decode_line_info): Initialize table->files and + table->last_line to NULL to avoid segfaults due to random + values in these members. + (concat_filename): Check for out-of-range file number before + indexing filename table. Segfaults suck. + + * dwarf2.c (decode_line_info): Don't truncate address to least + significant 32 bits (breaks 64 bit targets). + (lookup_address_in_function_table): Ditto. + (comp_unit_contains_address): Ditto. + +1999-06-02 Mark Mitchell <Mark Mitchell <mark@codesourcery.com>> + + * elf32-mips.c (elf_mips_howto_table): Add R_MIPS_JALR. + * elf64-mips.c (mips_elf64_howto_table_rel): Likewise. + (mips_elf64_howto_table_rela): Likewise. + + * elfcode.h (elf_slurp_reloc_table_from_section): New function, + split out from ... + (elf_slurp_reloc_table): Here. Use it to handle the case where a + single section has two associated relocation sections. + +1999-06-02 Mark Salter <msalter@cygnus.com> + + * coffcode.h (coff_set_alignment_hook): Set lma from s_vaddr if + COFF_WITH_PE defined. + +1999-06-02 Nick Clifton <nickc@cygnus.com> + + * pe-arm.c: Rename global arm interworking functions to avoid name + collision when all targets BFD is built. + * pei-arm.c: Ditto. + +1999-05-31 Mark Mitchell <mark@codesourcery.com> + + * elf-bfd.h (elf_backend_data): Remove use_rela_p. Add + may_use_rel_p, may_use_rela_p, default_use_rela_p. + (bfd_elf_section_data): Add use_rela_p. + * elf.c (bfd_section_from_shdr): Set use_rela_p appropriately. + (_bfd_elf_new_section_hook): Likewise. + (elf_fake_sections): Use may_use_rela_p, etc., instead of + use_rela_p. + (_bfd_elf_copy_private_section_data): Copy use_rela_p. + * elfcode.h (write_relocs): Determine whether or not use rela + relocs based on the relocation section header. + * elflink.c (_bfd_elf_create_dynamic_sections): Use default_use_rela_p + instead of use_rela_p. + * elfxx-target.h (elf_backend_may_use_relp): New macro. + (elf_backend_may_use_rela_p): Likewise. + (elf_backend_default_use_rela_p): Likewise. + (elfNN_bed): Use them. + +Wed Jun 2 12:38:49 1999 Miodrag Vallat <miodrag@multimania.com> + + * hosts/alphalinux.h (TRAD_CORE_EXTRA_SIZE_ALLOWED): Expand to 4096. + +Tue Jun 1 17:57:58 1999 Mark P. Mitchell <mitchell@n02.acl.lanl.gov> + + * reloc.c (BFD_RELOC_MIPS_SUB): New relocation. + (BFD_RELOC_MIPS_GOT_PAGE): Likewise. + (BFD_RELOC_MIPS_GOT_OFST): Likewise. + (BFD_RELOC_MIPS_GOT_DISP): Likewise. + * bfd-in2.h: Regenerated. + * libbfd.h: Likewise. + * elf32-mips.c (mips_info_to_howto_rela): New function. + (USE_REL): Adjust for new conventions. + (MINUS_ONE): New macro. + (elf_mips_howto_table): Add R_MIPS_SUB. + (mips_r): Add entries for MIPS_SUB, MIPS_GOT_PAGE, MIPS_GOT_OFST, + and MIPS_GOT_DISP. + (mips_elf_final_write_processing): Set sh_link, not sh_info, for a + .MIPS.content section. + (_bfd_mips_elf_fake_sections): Treat all sections that begin + with .MIPS.content as .MIPS.content sections. Set + SHF_MNIPS_NOSTRIP for such section. + (elf_info_to_howto): Define to mips_info_to_howto_rela. + * elf64-mips.c (mips_r): Add entries for MIPS_SUB, MIPS_GOT_PAGE, + MIPS_GOT_OFST, and MIPS_GOT_DISP. + +Wed Jun 2 11:51:12 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> + + * vms-misc.c (_bfd_vms_hash_newfunc): Fix use of uninitialized + variable. + + * elf32-m68k.c (elf_m68k_adjust_dynamic_symbol): Avoid ambigous + `else'. + +1999-05-30 Philip Blundell <philb@gnu.org> + + * elf32-arm.h (elf32_arm_relocate_section): Reinstate change of + 1993-03-25 (!!). Take into account the bitmasks for the reloc so + the addend does not overflow into the rest of the word. + +1999-05-29 Nick Clifton <nickc@cygnus.com> + + * bfd-in.h: Amend prototype for + bfd_elf32_arm_process_before_allocation . + * bfd-in.h: Regenerate. + + * elfarm-oabi.c (NUM_ELEM): New macro: Compute the number of + elements in a fixed sized array. + (ARM_ELF_ABI_VERSION): Define. + (ARM_ELF_OS_ABI_VERSION): Define. + (R_ARM_THM_ABS5): Fix rightshift and size. + (R_ARM_THM_PC22): Fix size. + (R_ARM_PLT32): Define Howto. + (find_howto): New function: Locate a howto based on a reloc + number. + (elf32_arm_info_to_howto): Use find_howto if necessary. + (elf32_arm_reloc_map): Change type of field bfd_reloc_val to + bfd_reloc_code_real_type. + (elf32_arm_reloc_map[]): Add entries for BFD_RELOC_VTABLE_INHERIT + and BFD_RELOC_VTABLE_ENTRY. + (elf32_arm_reloc_type_lookup): Use find_howto if necessary. + + * elfarm-nabi.c (NUM_ELEM): New macro: Compute the number of + elements in a fixed sized array. + (ARM_ELF_ABI_VERSION): Define. + (ARM_ELF_OS_ABI_VERSION): Define. + (R_ARM_THM_ABS5): Fix rightshift and size. + (R_ARM_THM_PC22): Fix size. + (elf32_arm_info_to_howto_rel): Rename to elf32_arm_info_to_howto. + (elf32_arm_reloc_map): Change type of field bfd_reloc_val to + bfd_reloc_code_real_type. + + * elf32-arm.h (struct elf32_arm_link_hash_table): Add new field: + no_pipeline_knowledge. + (elf32_arm_link_hash_create): Initialise new field to zero. + (bfd_elf32_arm_process_before_allocation): Add new paraemter: + no_pipeline_knowledge. Use this parameter to initialise the field + in the globals data structure. + (elf32_arm_final_link_relocate): Only add in pipeline offset if + no_pipeline_knowledge is false and the binary is from an old + toolchain. + (elf32_arm_merge_private_data): Generate an error if an attempt is + made to link together big endian and little endian code. + (elf32_arm_post_process_headers): New function: Initialise the + EI_OSABI and EI_ABIVERSION fields of the newly created ELF program + header. + (elf_backend_post_process_headers): Define. + +1999-05-28 Nick Clifton <nickc@cygnus.com> + + * elf-bfd.h (struct elf_backend_data): Add new field: + elf_backend_post_process_headers. + + * elfxx-target.h (elf_backend_post_process_headers): Define to + NULL if not already defined. + (elfNN_bed): Initialise elf_backend_post_process_headers field. + + * elf.c (prep_headers): Set the EI_OSABI and EI_ABIVERSION fields + to zero. + (_bfd_elf_compute_section_file_positions): Call + elf_backend_post_process_headers if defined. + +1999-05-28 Ian Lance Taylor <ian@zembu.com> + + * configure.in: Check whether getuid and getgid exist. + * archive.c: Define getuid and getgid as macros if HAVE_GETUID or + HAVE_GETGID are not defined, respectively. + (bfd_write_armap): Don't special case on _WIN32 for getuid and + getgid. + * configure.host: Set ac_cv_func_get{ug}id for *-*-windows*. + * configure, config.in: Rebuild. + +1999-05-28 Martin Dorey <mdorey@madge.com> + + * elf32-i960.c: New file. + * elf.c (prep_headers): Handle bfd_arch_i960. + * targets.c (bfd_target_vector): Add &bfd_elf32_i960_vec. + * config.bfd (i960-*-elf*): New target. + * configure.in (bfd_elf32_i960_vec): New target vector. + * Makefile.am (BFD32_BACKENDS): Add elf32-i960.lo. + (BFD32_BACKENDS_CFILES): Add elf32-i960.c. + * Makefile.in, aclocal.m4, configure: Rebuild. + +1999-05-27 Nick Clifton <nickc@cygnus.com> + + * elfarm-oabi.c (elf32_arm_howto_table): Add entry for + R_ARM_PLT32. + (find_howto): New function: Find entries in the + elf32_arm_howto_table. + (elf32_arm_info_to_howto): Use find_howto if the entry cannot be + computed simply. + (elf32_arm_reloc_type_lookup): Add lookup for + BFD_RELOC_ARM_PLT32. + +1999-05-25 Philip Blundell <pb@nexus.co.uk> + + * bfd/elf32-arm.h (elf32_arm_link_hash_newfunc): New function. + (elf32_arm_link_hash_table_create): Use above function as the + constructor for hash table entries. + (elf32_arm_relocate_section): Avoid crash when there is no output + section. + (elf32_arm_final_link_relocate): New parameter h. + (elf32_arm_relocate_section): Pass symbol hash entry to above + routine. + (elf32_arm_gc_sweep_hook, elf32_arm_check relocs): Correct + comments. + +1999-05-25 Catherine Moore <clm@cygnus.com> + + * coff-arm.c (coff_arm_relocate_section): Don't emit + base file entries for pc-relative values. + +1999-05-25 DJ Delorie <dj@cygnus.com> + + * peicode.h (coff_swap_sym_in): When we create the actual section + to reflect the not-there section C_SECTION symbols refer to, + change the symbol class to C_STAT as the section is now really + there. + +1999-05-24 Philip Blundell <pb@nexus.co.uk> + + * elf32-arm.h (elf32_arm_relocate_section): Undo change of + 1999-03-25. + +Mon May 17 13:35:35 1999 Stan Cox <scox@cygnus.com> + + * coff-arm.c (_bfd_coff_arm_set_private_flags): Changed + F_PIC_INT to F_PIC. + * coffcode.h (coff_set_arch_mach_hook): Added F_ARM_2a, and + F_ARM_3M labels. Changed F_PIC_INT to F_PIC. + +1999-05-16 Nick Clifton <nickc@cygnus.com> + + * coff-mcore.c (in_reloc_p): Reinstate. + +1999-05-15 Nick Clifton <nickc@cygnus.com> + + * reloc.c (BFD_RELOC_MCORE_RVA): Define. + * bfd-in2.h: Regenerate. + * coff-mcore.c (in_reloc_p): Remove defintion. + (mcore_coff_howto): Add IMAGE_REL_MCORE_RVA. + (mcore_coff_reloc_type_lookup): Map BFD_RELOC_RVA to + IMAGE_REL_MCORE_RVA. + (coff_mcore_rtype_to_howto): Add special processing for + IMAGE_REL_MCORE_RVA. + (coff_mcore_relocate_section): Add support for + IMAGE_REL_MCORE_RVA. + * elf32-mcore (mcore_elf_howto_): Add R_MCORE_RELATIVE. + (mcore_elf_reloc_type_lookup): Map BFD_RELOC_RVA to + R_MCORE_RELATIVE. + (mcore_elf_relocate_section): Delete redundant case labels. + +Fri May 14 10:59:55 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> + + * elf32-arm.h (elf32_arm_relocate_section): Fix operator + precedence between bit-and and comparison. + +Thu May 13 09:45:23 1999 Joel Sherrill (joel@OARcorp.com) + + * config.bfd (i[3456]86*-*-rtems*, m68k*-*-rtems*): Added to + list of target formats (targ_selvecs). + (i[3456]86*-*-rtemself*, mips*el-*-rtems*): New targets. + (powerpcle*-*rtems*, sh-*-rtemself*): New targets. + +1999-05-10 DJ Delorie <dj@cygnus.com> + + * ecoff.c (_bfd_ecoff_write_armap): give the symtab element a + reasonable mode until "ar x" is smart enough to skip it (fixes + gcc/libgcc.a builds on mips-ecoff targets + + * coffcode.h (styp_to_sec_flags): Explain how COMDATs are supposed + to work. Hack to support MS import libraries, which use different + COMDAT types than GNU. + (coff_slurp_symbol_table): C_SECTION symbols are local; they refer + to implied zero-length sections (see peicode below) + * coffgen.c (coff_get_normalized_symtab): Properly read long MS + filename symbols, which use one *or more* auxents. + * coffswap.h (coff_swap_aux_in): ditto + * peicode.h (coff_swap_sym_in): Build the implied zero-length + sections + +Tue May 11 15:51:58 1999 Jeffrey A Law (law@cygnus.com) + + * elf32-v850.c (v850_elf_howto_table): Make partial_inplace false + for all relocations. + +1999-05-10 Catherine Moore <clm@cygnus.com> + + * bfd-in.h (bfd_arm_allocate_interworking_sections): Static + if COFF_IMAGE_WITH_PE. + (bfd_arm_process_before_allocation): Likewise. + (bfd_arm_get_bfd_for_interworking): Likewise. + * coff-arm.c: Likewise. + * bfd-in2.h: Regenerate. + * configure.in (armpe_little_vec): Remove coff-arm.lo. + (armpe_big_vec): Likewise. + * configure: Rebuild. + +1999-05-10 Nick Clifton <nickc@cygnus.com> + + * elf.c (elf_fake_sections): Check for .rel. as start of rel + section, not just .rel. Same for .rela. + +1999-05-07 Nick Clifton <nickc@cygnus.com> + + * coff-mcore.c (coff_mcore_relocate_section): Replace assert about + endianism with an error message. + +Thu May 6 17:09:09 1999 Fred Fish <fnf@be.com> + + * dwarf2.c (read_abbrevs): Change cast of dwarf_abbrev_buffer + assignment from "unsigned char *" to "char *". + (decode_line_info): Likewise for dwarf_line_buffer assignment. + +1999-05-05 Catherine Moore <clm@cygnus.com> + + * coff-arm.c (coff_arm_relocate_section): Add one to + address of ARM_RVA32 thumb functions. + +1999-05-05 Catherine Moore <clm@cygnus.com> + + * elf32-m68k.c (elf32_m68k_set_private_flags): New. + (elf32_m68k_copy_private_bfd_data): New. + (elf32_m68k_merge_private_bfd_data): New. + (elf32_m68k_print_private_bfd_data): New. + (CPU32_FLAG): Define. + (PLT_CPU32_ENTRY_SIZE): Define. + (elf_cpu32_plt0_entry): Declare. + (elf_cpu32_plt_entry): Declare. + (elf_m68k_adjust_dynamic_symbol): Generate cpu32 plt entries. + (elf_m68k_finish_dynamic_symbol): Likewise. + (elf_m68k_finish_dynamic_sections): Likewise. + (elf_backend_plt_header_size): Remove definition. + (bfd_elf32_bfd_copy_private_bfd_data): Define. + (bfd_elf32_bfd_merge_private_bfd_data): Define. + (bfd_elf32_bfd_set_private_flags): Define. + (bfd_elf32_bfd_print_private_bfd_data): Define. + +Mon May 3 09:24:49 1999 Jeffrey A Law (law@cygnus.com) + + * som.c (som_fixup_formats): Fix comments for R_SHORT_PCREL_MODE + and R_LONG_PCREL_MODE. + +1999-04-29 Nick Clifton <nickc@cygnus.com> + + * coff-mcore.c (coff_mcore_relocate_section): Fix typos. + +Fri Apr 28 16:36:19 1999 Stan Cox <scox@cygnus.com> + + * elf32-sh.c (sh_elf_relocate_section): Include relocation addend + in relocation calculation. + +1999-04-26 Tom Tromey <tromey@cygnus.com> + + * aclocal.m4, configure: Updated for new version of libtool. + +1999-04-21 Nick Clifton <nickc@cygnus.com> + + * coff-mcore.c: Add support for mcore relocs. + +1999-04-20 Gavin Romig-Koch <gavin@cygnus.com> + + * elf32-mips.c (_bfd_mips_elf_print_private_bfd_data): Scrap the + incorrect use EF_MIPS_xxBITPTRS. + +1999-04-18 Ian Lance Taylor <ian@zembu.com> + + * elf64-alpha.c (elf64_alpha_relax_section): Remove unused local + variable insn. + + * bfd-in2.h: Rebuild. + * libbfd.h: Rebuild. + +Sat Apr 17 20:55:15 1999 Catherine Moore <clm@cygnus.com> + + * coff-arm.c (coff_arm_rtype_to_howto): Remove ARM26D transform. + (coff_arm_relocate_section): Add ARM26D transform. Only + change to ARM26D for relocateable links. + +1999-04-16 Gavin Romig-Koch <gavin@cygnus.com> + + * elf32-mips.c (_bfd_mips_elf_print_private_bfd_data): New. + (bfd_elf32_bfd_print_private_bfd_data): New. + +1999-04-15 Doug Evans <devans@casey.cygnus.com> + + * elf32-arm.h (elf32_arm_final_link_relocate): For R_ARM_THM_ABS5, + refetch addend if USE_REL, add many comments regarding current state. + For R_ARM_THM_PC22, refetch addend if USE_REL, simplify. + * elfarm-nabi.c (elf32_arm_howto_table): For R_ARM_THM_ABS5, fix + size and rightshift. For R_ARM_THM_PC22, fix bitsize. + * elfarm-oabi.c (elf32_arm_howto_table): Ditto. + +Wed Apr 14 14:33:08 1999 Richard Henderson <rth@cygnus.com> + + * elf32-mips.c (_bfd_mips_elf_read_ecoff_info): Zero `debug'. + * elf64-alpha.c (elf64_alpha_read_ecoff_info): Likewise. + +1999-04-13 David Mosberger <davidm@hpl.hp.com> + + * dwarf2.c (decode_line_info): Don't truncate address to least + significant 32 bits (breaks 64 bit targets). + (lookup_address_in_function_table): Ditto. + (comp_unit_contains_address): Ditto. + +Tue Apr 13 21:27:19 1999 Catherine Moore <clm@cygnus.com> + + * coff-arm.c (arm_emit_base_file_entry): New routine. + (A2T3_OFFSET): Define. + (T2A3_OFFSET): Define. + (coff_arm_relocate_section): Emit base file entries for interworking + stubs. + +1999-04-13 Philip Blundell <philb@gnu.org> + + * elfarm-nabi.c (elf32_arm_howto_table): Add dummy entries for + relocs 17 through 19. + +Sun Apr 11 01:25:17 1999 Richard Henderson <rth@cygnus.com> + + * elfcode.h: Remove fnmatch.h. + * elflink.h (elf_link_assign_sym_version): Call back to ld + instead of calling fnmatch. + + * config.bfd (i?86-*-beoself): Include pe vecs. + +Sun Apr 11 01:14:06 1999 Richard Henderson <rth@cygnus.com> + + * elf32-i386.c (elf_i386_finish_dynamic_sections): Allow .plt + to go missing. + +1999-04-10 Richard Henderson <rth@cygnus.com> + + * elf32-i386.c (elf_i386_relocate_section): Mind no_undefined + when trying to resolve dynamic symbol references. + * elf32-m68k.c (elf_m68k_relocate_section): Likewise. + * elf32-mips.c (mips_elf_relocate_section): Likewise. + * elf32-ppc.c (ppc_elf_relocate_section): Likewise. + * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. + * elf64-alpha.c (elf64_alpha_relocate_section): Likewise. + * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. + * elflink.h (elf_link_output_extsym): Likewise. + +Sat Apr 10 15:12:09 1999 Richard Henderson <rth@cygnus.com> + + * section.c (_bfd_strip_section_from_output): New function moved from + * elf64-alpha.c (elf64_alpha_strip_section_from_output): ... here. + * elf32-i386.c (elf_i386_size_dynamic_sections): Use it. + * elf32-m68k.c (elf_m68k_size_dynamic_sections): Likewise. + * elf32-mips.c (mips_elf_size_dynamic_sections): Likewise. + * elf32-ppc.c (ppc_elf_size_dynamic_sections): Likewise. + * elf32-sparc.c (elf32_sparc_size_dynamic_sections): Likewise. + * elf64-sparc.c (sparc64_elf_size_dynamic_sections): Likewise. + * bfd-in2.h: Update. + +1999-04-09 Ian Lance Taylor <ian@zembu.com> + + * elf64-sparc.c: Fix incorrect calls to bfd_check_overflow. + +1999-04-08 Nick Clifton <nickc@cygnus.com> + + * coff-mcore.c: New File: Support for mcore-pe targets. + * cpu-mcore.c: New File: Support for mcore targets. + * elf32-mcore.c: New File: Support for mcore-elf target. + * pe-mcore.c: New File: Definitions for mcore-pe target. + * pei-mcore.c: New File: Definitions for mcore-pei target. + * Makefile.am: Add support for MCore targets. + * Makefile.in: Regenerate. + * config.bfd: Add support for MCore targets. + * configure.in: Add support for MCore targets. + * configure: Regenerate. + * archures.c: Add support for MCore architecture. + * bfd-in2.h: Regenerate. + * coffcode.h: Add support for mcore-pe targets. + * elf.c: Add support for mcore-elf target. + * reloc.c: Add support for MCore relocs. + * targets.c: Add support for MCore targets. + +1999-04-07 Nick Clifton <nickc@cygnus.com> + + * elfarm-nabi.c (elf32_arm_howto_table): Add entries for + R_ARM_XPC25 and R_ARM_THM_XPC22. + (elf32_arm_reloc_map): Remove redundant entries. + +1999-04-06 Ian Lance Taylor <ian@zembu.com> + + * sysdep.h (LC_MESSAGES): Never define. + +1999-04-06 Chris Torek <torek@bsdi.com> + + * reloc.c (bfd_check_overflow): Add addrsize parameter. Change + all callers. Rewrite completely. + (_bfd_relocate_contents): Rewrite overflow checking. + * bfd-in2.h: Rebuild. + +1999-04-05 Ian Lance Taylor <ian@zembu.com> + + From Gabriel Paubert <paubert@iram.es>: + * elf32-ppc.c (ppc_elf_howto_raw): Set R_PPC_GOT16_LO, + R_PPC_PLT16_LO and R_PPC_SECTOFF_LO to be complain_overflow_dont. + Set R_PPC_PLT16_HA, R_PPC_SECTOFF_HA and R_PPC_EMB_NADDR16_HA to + have a rightshift of 16 and use ppc_elf_addr16_ha_reloc. + * ppcboot.c (ppcboot_vec): Use little endian routines for + headers. + + * elf.c (elfcore_strndup): Only define if it will be used. + * elf32-ppc.c (ppc_elf_relax_section): Remove unused locals irel + and irelend. + (ppc_elf_check_relocs): Remove unused local i. + (ppc_elf_gc_mark_hook): Add default case to switch. + + From Bernd Nitzler <nitzler@kagcpd01.ag01.kodak.COM>: + * srec.c (srec_scan): Accept \r in symbol definitions. + (srec_object_p): Set HAS_SYMS if we saw any symbols. + (symbolsrec_object_p): Likewise. + +1999-04-04 Don Bowman <don@pixsci.com> + + * config.bfd: Add mips*el-*-vxworks* and mips*-*-vxworks*. + +1999-04-04 Ian Lance Taylor <ian@zembu.com> + + * dwarf1.c (parse_line_table): Remove unused locals last_pc and + last_line. + * elf-bfd.h (_bfd_elfcore_section_from_phdr): Declare. + * elf32-i386.c (elf_i386_gc_mark_hook): Add default case to + switch. + * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Remove unused + local i. + * syms.c (_bfd_stab_section_find_nearest_line): Remove unused + local val. + +1999-03-31 Nick Clifton <nickc@cygnus.com> + + * config.bfd: Add support for arm-epoc-pe target. + * configure.in: Add support for arm-epoc-pe target. + * configure: Regenerate. + * targets.c: Add support for arm-epoc-pe target. + * coff-arm.c: Allow header files to override definition of + TARGET_UNDERSCORE and USER_LABEL_PREFIX. + * pe-arm.h: Allow previous header files to override definition of + TARGET_LITTLE_SYM and TARGET_BIG_SYM. + * pei-arm.h: Allow previous header files to override definition of + TARGET_LITTLE_SYM and TARGET_BIG_SYM. + * epoc-pe-arm.c: New file. Support arm-epoc-pe target. + * epoc-pei-arm.c: New file. Support arm-epoc-pei target. + +1999-03-30 Nick Clifton <nickc@cygnus.com> + + * elf.c (elf_map_symbols): Handle the case where section + symbols are generated for content-less sections which are + not mapped to the output file. + + * linker.c: Replace direct references to fields in BFD structure + with accessor macros. + + * elflink.h: Replace direct references to fields in BFD structure + with accessor macros. + +1999-03-25 Philip Blundell <pb@nexus.co.uk> + + * config.bfd: Eliminate redundancy in checks for Linux/ARM. + + * elf32-arm.h (elf32_arm_relocate_section): Take the rightshift into + account when adjusting section symbols during a partial link. + +1999-03-24 Nick Clifton <nickc@cygnus.com> + + * coff-sparc.c (struct coff_reloc_map): Change type of field + 'bfd_reloc_val' to bfd_reloc_code_real_type. + * elf-m10200.c (struct mn10200_reloc_map): Ditto. + * elf-m10300.c (struct mn10300_reloc_map): Ditto. + * elf32-arc.c (struct arc_reloc_map): Ditto. + * elf32-d10v.c (struct d10v_reloc_map): Ditto. + * elf32-d30v.c (struct d30v_reloc_map): Ditto. + * elf32-fr30.c (struct fr30_reloc_map): Ditto. + * elf32-m32r.c (struct m32r_reloc_map): Ditto. + * elf32-sh.c (struct elf_reloc_map): Ditto. + * elf32-sparc.c (struct elf_reloc_map): Ditto. + * elf32-v850.c (struct v850_reloc_map): Ditto. + * elf64-sparc.c (struct elf_reloc_map): Ditto. + * elfarm-nabi.c (struct elf32_arm_reloc_map): Ditto. + * elfarm-oabi.c (struct elf32_arm_reloc_map): Ditto. + +1999-03-17 Martin Hunt <hunt@cygnus.com> + + * syms.c (_bfd_stab_section_find_nearest_line): Changed this + function so source-level assembly works. If multiple N_SOs + are seen without and N_FUNs, create an indextable entry with + a NULL function name. + +1999-03-16 Gavin Romig-Koch <gavin@cygnus.com> + + * elf32-mips.c (_bfd_mips_elf_merge_private_bfd_data) Allow merging + of certian similar cpus. + +1999-03-16 Gavin Romig-Koch <gavin@cygnus.com> + + * elf32-mips.c (_bfd_mips_elf_final_write_processing): + Add the 5000. Change the architecture for the 5400 to mips4. + (elf_mips_mach): Add r5000. + +1999-03-11 Doug Evans <devans@casey.cygnus.com> + + * cpu-i960.c (scan_i960_mach): Recognize i960:ka_sa and i960:kb_sb. + +1999-03-11 Nick Clifton <nickc@cygnus.com> + + * binary.c (binary_set_section_contents): Generate warning about + huge file offsets for any section that will occupy file space, not + just those that are loadable. + +1999-02-24 Jim Blandy <jimb@zwingli.cygnus.com> + + * libbfd.h: Regenerate after Nick Clifton's Feb 17 changes. + +1999-02-22 Jim Lemke <jlemke@cygnus.com> + + * elf32-ppc.c: Add ppc_elf_relax_section() for the ld option mpc860c0. + +Mon Feb 22 18:26:51 1999 Ian Lance Taylor <ian@cygnus.com> + + * elf-bfd.h (ELF_LINK_HASH_REF_REGULAR_NONWEAK): Define. + * elflink.h: Revert all changes since Feb 16. Instead: + (elf_link_add_object_symbols): Set REF_REGULAR_NONWEAK flag if + appropriate. Copy it to version symbols. + (elf_fix_symbol_flags): Set REF_REGULAR_NONWEAK for non ELF + symbols if appropriate. + (elf_adjust_dynamic_symbol): Set REF_REGULAR_NONWEAK for weakdef + symbol if appropriate. + (elf_link_output_extsym): If symbol is marked as undefined, and + has no nonweak references, mark it as weak undefined. + +Fri Feb 19 16:01:12 1999 Ian Lance Taylor <ian@cygnus.com> + + * elflink.h (elf_merge_symbol): When overriding a dynamic + definition with a weak undefined symbol, set NEEDS_PLT if it is a + function. + (elf_link_add_object_symbols): Don't copy the other field if we + are overridding. + +Thu Feb 18 18:07:43 1999 Ian Lance Taylor <ian@cygnus.com> + + * elflink.h (elf_merge_symbol): Do not merge any symbol from a + shared object with a weak undefined symbol. + +1999-02-18 Nick Clifton <nickc@cygnus.com> + + * elfarm-nabi.c: Set partial_inplace back to false. + +1999-02-17 Nick Clifton <nickc@cygnus.com> + + * coff-arm.c (TARGET_UNDERSCORE): Re-enable. + (USER_LABEL_PREFIX): Set to "_". + + The following patches are from: Scott Bambrough + <scottb@corelcomputer.com> + + * libaout.h (M_ARM6_NETBSD): Set to 143. + + * reloc.c: Add ARM PIC relocs: BFD_RELOC_ARM_GOT12, + BFD_RELOC_ARM_GOT32, BFD_RELOC_ARM_JUMP_SLOT, BFD_RELOC_ARM_COPY, + BFD_RELOC_ARM_GLOB_DAT, BFD_RELOC_ARM_PLT32, + BFD_RELOC_ARM_RELATIVE, BFD_RELOC_ARM_GOTOFF, BFD_RELOC_ARM_GOTPC. + * bfd-in2.h: Regenerate. + + * elfarm-nabi.c (elf32_arm_howto_table): Set partial_inplace to + 'true' as REL relocs are now being used. Add new PIC relocs: + R_ARM_COPY, R_ARM_GLOB_DAT, R_ARM_JUMP_SLOT, R_ARM_RELATIVE, + R_ARM_GOTOFF, R_ARM_GOTPC, R_ARM_GOT32, R_ARM_PLT32. + + * elf32-arm.h (elf32_arm_merge_private_bfd_data): Check byte order + of targets. + (elf32_arm_final_link_relocate): Change parameters so that entire + reloc is passed. Add support for PIC relocs. + (elf32_arm_relocate_section): Pass entire reloc to + elf32_arm_final_link_relocate. + (elf32_arm_check_relocs): Handle new PIC relocs. + (elf32_arm_adjust_dynamic_symbol): New function. + (elf32_arm_size_dynamic_sections): New function. + (elf32_arm_discard_copies): New function. + (elf32_arm_finish_dynamic_symbol): New function. + (elf32_arm_finish_dynamic_sections): New function. + (ELF_MAXPAGE_SIZE): Define. + (bfd_elf32_bfd_reloc_type_lookup): Define. + (elf_backend_relocate_section): Define. + (elf_backend_adjust_dynamic_symbol): Define. + (elf_backend_create_dynamic_sections): Define. + (elf_backend_finish_dynamic_symbol): Define. + (elf_backend_finish_dynamic_sections): Define. + (elf_backend_size_dynamic_sections): Define. + (elf_backend_plt_readonly): Define. + (elf_backend_want_got_plt): Define. + (elf_backend_want_plt_sym): Define. + +Wed Feb 17 12:02:26 1999 Stan Cox <scox@cygnus.com> + + * elf32-mips.c (_bfd_mips_elf_section_from_shdr): Make reginfo + sections SEC_LINK_ONCE and SEC_LINK_DUPLICATES_SAME_SIZE. + (_bfd_mips_elf_fake_sections): Likewise. + +Wed Feb 17 12:07:23 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> + + * elfarm-oabi.c (bfd_elf32_arm_allocate_interworking_sections, + bfd_elf32_arm_get_bfd_for_interworking, + bfd_elf32_arm_process_before_allocation): Define to avoid clash + with elfarm-nabi.c. + + * elf32-arm.h: Don't declare elf32_arm_info_to_howto. + (elf32_thumb_to_arm_stub, elf32_arm_to_thumb_stub, + elf32_arm_find_nearest_line): Make them static. + +Tue Feb 16 22:44:37 1999 Ian Lance Taylor <ian@cygnus.com> + + * elflink.h (elf_merge_symbol): Add pflags parameter. Change all + callers. Do not merge a definition from a shared object with a + weak undefined symbol. + (elf_link_add_object_symbols): Do not change the symbol type or + size if the old symbol overrides the new one. + +1999-02-08 Nick Clifton <nickc@cygnus.com> + + * config.bfd: Add support for strongarm target. + +Mon Feb 8 11:18:14 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> + + * elf32-m68k.c (reloc_map): Use the correct types for the struct + fields instead of unsigned char. + +Fri Feb 5 00:22:36 1999 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.am: Rebuild dependencies. + * Makefile.in: Rebuild. + +Thu Feb 4 22:30:13 1999 Ian Lance Taylor <ian@cygnus.com> + + * configure.in: Change AC_PREREQ to 2.13. Remove AM_CYGWIN32. + Change AM_EXEEXT to AC_EXEEXT and AM_PROG_INSTALL to + AC_PROG_INSTALL. Add comments to uses of AC_DEFINE. + * acinclude.m4: Add comments to uses of AC_DEFINE. + * acconfig.h: Remove. + * configure: Rebuild with current autoconf/automake. + * aclocal.m4: Likewise. + * config.in: Likewise. + * Makefile.in: Likewise. + +1999-02-04 DJ Delorie <dj@cygnus.com> + + * libbfd.c (real_read): don't call fread for zero bytes. This + covers up a bug (or misuse of bfd) that's exposed by Solaris. + +Thu Feb 4 12:38:10 1999 Stan Cox <scox@cygnus.com> + + * elf32-mips.c (mips_elf_relocate_section): Insure that the target + of a jump is in the current 256 MB region. + +Thu Feb 4 12:15:38 1999 Ian Lance Taylor <ian@cygnus.com> + + * format.c (bfd_check_format_matches): Change last patch to only + take effect for the binary target. + +Wed Feb 3 19:40:12 1999 Ian Lance Taylor <ian@cygnus.com> + + * elf32-i386.c (elf_i386_reloc_type_lookup): Add BFD_RELOC_CTOR. + +Wed Feb 3 15:02:44 1999 Catherine Moore <clm@cygnus.com> + + * elf32-fr30.c (fr30_elf_check_relocs): New routine. + +Tue Feb 2 21:38:28 1999 Ian Lance Taylor <ian@cygnus.com> + + * format.c (bfd_check_format_matches): If the target was + previously specified, don't check other targets when checking for + an archive file. + +Tue Feb 2 18:16:43 1999 Catherine Moore <clm@cygnus.com> + + * elf32-arm.h (elf32_arm_reloc_map): Removed. + (elf32_arm_reloc_type_lookup): Removed + * elfarm-nabi.c (elf32_arm_reloc_map): New. + (elf32_arm_reloc_type_lookup): New. + * elfarm-oabi.c (elf32_arm_reloc_map): New. + (elf32_arm_reloc_type_lookup): New. + +Mon Feb 1 19:49:21 1999 Catherine Moore <clm@cygnus.com> + + * elfarm-nabi.c: Renamed from elf32-arm-newabi.c. + * elfarm-oabi.c: Renamed from elf32-arm-oldabi.c + * Makefile.am: Use new files. + * Makefile.in: Regenerate. + * configure.in: Use new files. + * configure: Regenerate. + +1999-02-01 Nick Clifton <nickc@cygnus.com> + + * elf32-fr30.c (fr30_elf_gc_mark_hook): New function. + (fr30_elf_gc_sweep_hook): New function. + (elf_backend_can_gc_sections): Define. + +Mon Feb 1 12:21:47 1999 Catherine Moore <clm@cygnus.com> + + * targets.c (bfd_target_vector): Add bfd_elf32_littlearm_oabi_vec + and bfd_elf32_bigarm_oabi_vec. + +Mon Feb 1 11:46:31 1999 Catherine Moore <clm@cygnus.com> + + * Makefile.am (elf32-arm-oldabi.lo): New. + (elf32-arm-newabi.lo): New. + * Makefile.in: Regenerate. + * config.bfd (thumb-*-elf): Remove definition of targ_underscore. + (arm-*-elf): Likewise. + (arm-*-oabi): New. + (thumb-*-oabi): New. + * configure: Regenerate. + * configure.in (bfd_elf32_littlearm_oabi_vec): New. + (bfd_elf32_bigarm_oabi_vec): New. + * elf32-arm-newabi.c: New. + * elf32-arm-oldabi.c: New. + * elf32-arm.c: Removed. + * elf32-arm.h: New. + +Mon Feb 1 11:52:12 1999 Frank Ch. Eigler <fche@cygnus.com> + + * binary.c (binary_set_section_contents): Omit warnings for + unloadable sections. + +1999-01-31 Michael Meissner <meissner@cygnus.com> + + * config.bfd (powerpc{,le}-*-vxworks*): Add aliases to + powerpc{,le}-*-eabi. + +1999-01-29 Nick Clifton <nickc@cygnus.com> + + * dwarf2.c (read_unsigned_leb128): Remove unused variables. + * dwarf2.c (read_signed_leb128): Remove unused variables. + +Fri Jan 29 00:47:21 1999 H.J. Lu <hjl@gnu.org> + + * elf.c (assign_file_positions_for_segments): Only adjust + p_align when needed. + +Thu Jan 28 20:05:22 1999 Ian Lance Taylor <ian@cygnus.com> + + * binary.c (binary_set_section_contents): Don't return early for a + non-loadable section, in case the first section is non-loadable. + Don't set the low lma for a SEC_NEVER_LOAD section. From Maciej + W. Rozycki <macro@ds2.pg.gda.pl>. + +1999-01-28 Nick Clifton <nickc@cygnus.com> + + * elf32-fr30.c (fr30_reloc_map): Add R_FR30_GNU_VTINHERIT and + R_FR30_GNU_VTENTRY relocs. + +Thu Jan 28 11:08:16 1999 Catherine Moore <clm@cygnus.com> + + * elflink.h (elf_link_output_sym): Zero syms which are + part of sections which have been excluded. + +Wed Jan 27 13:35:35 1999 Stan Cox <scox@cygnus.com> + + * coff-arm.c (_bfd_coff_arm_set_private_flags): Changed F_PIC + to F_PIC_INT. + * coffcode.h (coff_set_arch_mach_hook): Removed F_ARM_2a and + F_ARM_3M labels. Changed F_PIC to F_PIC_INT. + +1999-01-27 Nick Clifton <nickc@cygnus.com> + + * elf32-fr30.c (fr30_elf_howto_table): Fix name of R_FR30_48 + relocation. + (fr30_final_link_relocate): Use computed value as result of + relocation. + +1999-01-26 Frank Ch. Eigler <fche@cygnus.com> + + * binary.c (binary_set_section_contents): Emit warning for + huge file offsets due to widely-dispersed section LMAs. + +Mon Jan 18 03:35:35 1999 Ian Lance Taylor <ian@cygnus.com> + + * elf.c (assign_file_positions_for_segments): If not D_PAGED, + align first section to largest section alignment, not first + section alignment. + +1999-01-04 Jason Molenda (jsm@bugshack.cygnus.com) + + * configure.in: Require autoconf 2.12.1 or higher. + +Tue Dec 22 15:21:41 1998 Catherine Moore <clm@cygnus.com> + + * archures.c (bfd_mach_i386_i386_intel_syntax): Define. + * bfd-in2.h: Likewise. + * cpu-i386.c (bfd_i386_arch_intel_syntax): New. + +1998-12-16 Gavin Romig-Koch <gavin@cygnus.com> + + * archures.c,bfd-in2.h (bfd_mach_mips4111): New. + * cpu-mips.c: Add support for and independent 4111. + * elf32-mips.c (elf_mips_mach): E_MIPS_MACH_4111 -> bfd_mach_mips4111. + (_bfd_mips_elf_final_write_processing): + bfd_mach_mips4111 -> E_MIPS_ARCH_3 | E_MIPS_MACH_4111. + +1998-12-15 Gavin Romig-Koch <gavin@cygnus.com> + + * elf32-mips.c (elf_mips_abi_name): New. + (_bfd_mips_elf_merge_private_bfd_data): Compare EF_MIPS_ABI flags. + +1998-12-12 Gavin Romig-Koch <gavin@cygnus.com> + + * elf32-mips.c (_bfd_mips_elf_final_write_processing): + Handle bfd_mach_mips4300. + +1998-12-11 Ulrich Drepper <drepper@cygnus.com> + + * elf32-i386.c: Remove leaked development code from patch + 1998-12-10 by Richard Henderson. + +1998-12-10 Richard Henderson <rth@cygnus.com> + + * elf32-i386.c (elf_i386_relocate_section): Don't fail relocations + in debug sections for symbol defined externally. + +Thu Dec 10 10:58:38 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> + + * targets.c (bfd_target_vector): Remove duplicate entry for + tekhex_vec. + +1998-12-09 Nick Clifton <nickc@cygnus.com> + + * elf32-fr30.c (fr30_elf_howto_table): Set src_mask fields to 0 + since we are using RELAs. + +Tue Dec 8 22:15:48 1998 Ian Lance Taylor <ian@cygnus.com> + + SCO Open Server Release 5 core file support, from Jouke Numan + <jnuman@hiscom.nl>: + * sco5-core.c: New file. + * configure.in (i[3456]86-*-sco3.2v5*): Use sco5-core.lo. + (sco5-core.lo): Define SCO5_CORE in COREFLAG. + * Makefile.am: Rebuild dependencies. + (OPTIONAL_BACKENDS): Add sco5-core.lo. + (OPTIONAL_BACKENDS_CFILES): Add sco5-core.c. + * bfd.c (struct _bfd): Add sco5_core_data field to tdata. + * targets.c (sco5_core_vec): Add to target list if SCO5_CORE. + * bfd-in2.h, configure, Makefile.in: Rebuild. + +Tue Dec 8 19:38:42 1998 Mark Klein <mklein@dis.com> + + * config.bfd (hppa*-*-mpeix*): New target. + * configure.in: Add AC_HEADER_DIRENT. + (hppa*-*-mpeix*): New target. + * configure.host (hppa*-*-mpeix*): New host. + * hpux-core.c: Check HOST_HPPAMPEIX. Use HAVE_DIRENT_H and + friends rather than just including <sys/dir.h>. + * som.h (struct som_symbol): Add hppa_priv_level and apto + tc_data. Change all users. + (struct somdata): Add comp_unit field. + (obj_som_compilation_unit): Define. + (bfd_som_attach_compilation_unix): Declare. + * som.c: Check HOST_HPPAMPEIX. + (struct som_misc_symbol_info): Add new field priv_level. + (som_object_setup): Add current_offset parameter. Change all + callers. + (setup_sections): Likewise. + (som_object_p): For EXECLIBMAGIC, read the lst header. + (som_write_symbol_strings): Add compilation_unit parameter. + Change all callers. + (som_finish_writing): Write out compilation_unit. + (som_bfd_derive_misc_symbol_info): Set priv_level. + (som_build_and_write_symbol_table): Set xleast field to 3. + (som_slurp_symbol_table): Set symbol priv_level. + (bfd_som_attach_compilation_unit): New function. + (som_bfd_ar_write_symbol_stuff): Set xleast field to 3. Set + priv_level into symbol_value. + * configure, config.in: Rebuild. + +Tue Dec 8 16:21:35 1998 Ian Lance Taylor <ian@cygnus.com> + + * hpux-core.c (hpux_core_core_file_p): Change call to nonexistent + warning function to call _bfd_error_handler instead. + + * libbfd.c (COERCE32): Cast through unsigned long and long to + avoid bug in old version of gcc. + + * elf64-alpha.c (elf64_alpha_additional_program_headers): Remove. + (elf_backend_additional_program_headers): Don't define. + +1998-12-08 Nick Clifton <nickc@cygnus.com> + + * elf32-fr30.c (fr30_final_link_relocate): Fix PC relative + relocations to include offset of 2 included in the insns, and the + offset of the relocs within the section. + +Wed Dec 2 15:03:59 1998 David Taylor <taylor@texas.cygnus.com> + + The following changes were made by David Taylor + <taylor@texas.cygnus.com>, Edith Epstein + <eepstein@sophia.cygnus.com>, Jim Blandy + <jimb@zwingli.cygnus.com>, and Elena Zannoni + <ezannoni@kwikemart.cygnus.com> as part of the project to merge in + changes originally made by HP; HP did not create ChangeLog + entries. + + * aclocal.m4, configure, Makefile.in: Rebuilt using latest + automake macro library. + + * hpux-core.c (hpux_core_core_file_p): this function now + understands HPUX 10.30 thread info. Yes, the thread stacks can be + found in the corefile! Also, in hpux_core_core_file_p, if we + encounter a section with an unknown type, don't punt. Instead, + just skip it. Also, count the number of sections of known type + that we encounter. If we encounter at least one good one, then + we'll declare that the file is a core file. If we encounter any + unknown ones but some known ones, then we'll issue a warning (but + still declare it to be a core file). Also, correctly decide when a + file is not a core. + (PROC_INFO_HAS_THREAD_ID): define if CORE_ANON_SHMEM defined. + (CORE_ANON_SHMEM): define if not defined. + (hpux_core_struct): add members lwpid and user_tid. + (core_kernel_thread_id, core_user_thread_id): new macros. + (make_bfd_asection): use bfd_alloc to allocate room for a copy of + the name before storing it in the bfd. + (hpux_core_core_file_p): handle threads. + + * libhppa.h (GET_FIELD): protect against redefinition. + (HPPA_WIDE): define. + (GET_FIELD): define. + (GET_BIT): define. + (MASK): define. + (CATENATE): define. + (ELEVEN): define. + (sign_extend): redefine. + (assemble_6): define. + (assemble_12): rewrite. + (assemble_16): define. + (assemble_16a): define. + (assemble_17): rewrite. + (assemble_22): define. + +1998-12-07 Nick Clifton <nickc@cygnus.com> + + * elf32-fr30.c (fr30_final_link_relocate): Using signed + relocations for signed values. + +Sun Dec 6 16:30:33 1998 Ian Lance Taylor <ian@cygnus.com> + + * mipsbsd.c (MY(set_arch_mach)): Make static. + * aoutx.h (NAME(aout,machine_type)): For bfd_arch_mips, use + bfd_mach_mips* macros rather than simple numbers. + + COFF weak symbol support, based on patches from Mark Elbrecht + <snowball3@usa.net>: + * coffcode.h (coff_slurp_symbol_table): Handle C_WEAKEXT. + * coffgen.c (coff_renumber_symbols): Handle weak symbols. + (coff_write_alien_symbol): Likewise. + * cofflink.c (coff_link_check_ar_symbols): Likewise. + (coff_link_add_symbols): Likewise. + (_bfd_coff_link_input_bfd): Likewise. + (_bfd_coff_write_global_sym): Likewise. + + * elf.c (copy_private_bfd_data): Always initialize the + includes_phdrs field. + + * elflink.h (elf_fix_symbol_flags): Check for case where a non-ELF + file defines a symbol first mentioned in an ELF file. + + * bfd-in.h: Always define BFD_HOST_64_BIT and BFD_HOST_U_64_BIT if + possible, rather than only if BFD64. + * elflink.h (compute_bucket_count): Just check BFD_HOST_U_64_BIT, + not __GNUC__. + * bfd-in2.h: Rebuild. + + * srec.c (srec_set_section_contents): Correct test to avoid + switching to 4 byte addresses after seeing a second section which + requires 3 byte addresses. From Joel Schantz + <joel.schantz@argosys.boeing.com>. + + * config.bfd (m68*-*-gnu*): New target. From Aymeric Vincent + <aymeric.vincent@emi.u-bordeaux.fr>. + +1998-12-04 Jim Blandy <jimb@zwingli.cygnus.com> + + * elf32-ppc.c (ppc_elf_merge_private_bfd_data): Fix logic to + decide whether the output file is -mrelocatable-lib, + -mrelocatable, or neither. (gdb.base/nodebug.exp) + +1998-12-03 Nick Clifton <nickc@cygnus.com> + + * elf32-fr30.c: Add support for R_FR30_48 reloc. + * reloc.c: Add BFD_RELOC_FR30_48 relocation. + * bfd-in2.h: Regenerate. + * libbfd.h: Regenerate + +Wed Dec 2 00:58:37 1998 Ian Lance Taylor <ian@cygnus.com> + + * elflink.h (elf_adjust_dynamic_symbol): Warn on an attempt to + link against a dynamic symbol with no type or size. + +1998-12-01 Ulrich Drepper <drepper@cygnus.com> + + * elf32-i386.c (i386_check_relocs) [R_386_32]: Don't emit + relocation for section which does not get loaded. + (elf_i386_relocate_section) [R_386_32]: Likewise. + +Tue Dec 1 11:33:33 1998 Jim Wilson <wilson@cygnus.com> + + * coff-h8300.c (h8300_bfd_link_add_symbols): Make reloc_size, + reloc_count and i long instead of unsigned long. Handle error + return from bfd_canonicalize_reloc. + +1998-12-01 Nick Clifton <nickc@cygnus.com> + + * elf32-v850.c (v850_elf_relocate_section): Detect the absence of + a hash table. + +Mon Nov 30 15:28:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk> + + * elf32-sh.c (elf/sh.h): Include. + sh_reloc_type: Delete. Changed all references to elf_sh_reloc_type. + (sh_elf_howto_tab): Add HOWTO for R_SH_SWITCH8. + (sh_reloc_map): Map BFD_RELOC_8_PCREL to R_SH_SWITCH8. + (sh_elf_relax_delete_bytes): Handle R_SH_SWITCH8. + * Makefile.in: Add dependency of elf32-sh.lo on $(INCDIR)/elf/sh.h. + +Fri Nov 27 17:51:38 1998 Geoff Keating <geoffk@ozemail.com.au> + + * elflink.h (compute_bucket_count): Don't allow minsize==0, it + causes division by zero later on. + +Thu Nov 26 11:19:35 1998 Dave Brolley <brolley@cygnus.com> + + * elf32-fr30.c (fr30_elf_pc9_reloc,fr30_elf_pc12_reloc): Not + needed. + +1998-11-25 DJ Delorie <dj@cygnus.com> + + * coff-i386.c (i3coff_object_p): Remove hack. Use new emulation + hook now. + +Tue Nov 24 10:25:27 1998 Nick Clifton <nickc@cygnus.com> + + * elf32-fr30.c (fr30_elf_relocate_section): Call + fr30_final_link_relocate. + (fr30_final_link_relocate): New function: Handle I20 and I32 + relocs. + (fr30_elf_i32_reloc): New function: Handle I32 relocs. + (fr30_elf_pc9_reloc): New function: Handle 9_PCREL relocs. + (fr30_elf_pc12_reloc): New function: Handle 12_PCREL relocs. + + * elf32-v850.c (v850_elf_relocate_section): Reset hi16s reloc + chain to empty. + + The following changes are based on a patch submitted by Gianluca + Moro <glctr@abc.it>: + + (v850_elf_perform_relocation): Only update a hi16s reloc if it has + not already been updated. + (find_remembered_hi16s_reloc): New parameter 'already_found' + returns state of remembered hi16s reloc. + (remember_hi16s_reloc): Set 'found' field to false. + (hi16s_location): Add 'found' field. + +1998-11-23 DJ Delorie <dj@cygnus.com> + + * coff-i386.c (bfd_pe_dll_not_recognized_hack): the linker wants + to see .DLL files as unrecognized. + (i3coff_object_p): Sorry, had to hack it to not recognize these + files (pei-i386) on request. + +1998-11-23 DJ Delorie <dj@cygnus.com> + + * opncls.c (bfd_make_readable): need more cleanup for symbols and + relents. Call bfd_check_format to reinitialize. + +Fri Nov 20 14:21:36 1998 Nick Clifton <nickc@cygnus.com> + + * elf32-fr30.c (fr30_elf_relocate_section): Remove spurious + warnings. + +Thu Nov 19 14:42:15 1998 Geoffrey Noer <noer@cygnus.com> + + * aclocal.m4: regenerate + * configure: regenerate + +Tue Nov 17 20:23:35 1998 Richard Henderson <rth@cygnus.com> + + * elf-bfd.h (struct elf_link_hash_entry): Add vtable_entries_size. + * elf.c (_bfd_elf_link_hash_newfunc): Clear it. + * elflink.h (elf_gc_propagate_vtable_entries_used): Copy it, and + respect it as an upper bound on what memory to reference. + (elf_gc_smash_unused_vtentry_relocs): Likewise. + (elf_gc_record_vtentry): Handle as-yet undefined vtables. Set and + update vtable_entries_size appropriately. + +Tue Nov 17 15:28:31 1998 Nick Clifton <nickc@cygnus.com> + + * elf32-fr30.c (fr30_reloc_type_lookup): Used integers to hold + reloc number. + +Mon Nov 16 22:19:21 1998 DJ Delorie <dj@cygnus.com> + + * archive.c (bfd_ar_hdr_from_filesystem): support BFD_IN_MEMORY + bfds; they have no "file" so we fake it. + * bfd-in2.h: add bfd_make_writable and bfd_make_readable (regen) + * libbfd.c (bfd_write): Allow writing to BFD_IN_MEMORY bfds by + resizing the memory buffer. + * opncls.c (bfd_make_writable): New function; lets you write a + bfd_create'd bfd to an in-memory buffer. + (bfd_make_readable): New function; lets you read back that buffer + as if it were from bfd_openr. Used to build generated archive + members (winsup's ld's dlltool) + +Mon Nov 16 19:15:19 1998 Dave Brolley <brolley@cygnus.com> + + * po/bfd.pot: Regenerated. + +Mon Nov 16 10:57:06 1998 Nick Clifton <nickc@cygnus.com> + + * elf32-v850.c (hi16s_location): Replaced fixed size array with + linked list. + +Sun Nov 15 20:28:25 1998 Richard Henderson <rth@cygnus.com> + + * elf64-alpha.c (elf64_alpha_relax_section): Search for the proper + element of the gotentry list for local symbols too. + (elf64_alpha_relocate_section): Unify local and global handling. + Assert that gotent->use_count > 0. + +Sat Nov 14 15:16:01 1998 Ian Lance Taylor <ian@cygnus.com> + + * configure.in (vms_alpha_vec): Rename from evax_alpha_vec, and + update for file name changes of July 2, 1998. + (vms_vax_vec): New. + * configure: Rebuild. + +Thu Nov 12 19:19:54 1998 Dave Brolley <brolley@cygnus.com> + + * po/bfd.pot: Regenerated. + +Tue Nov 10 16:17:06 1998 Geoffrey Noer <noer@cygnus.com> + + * acinclude.m4, config.bfd: detect cygwin* instead of cygwin32*. + * aclocal.m4, configure: regenerate + +Tue Nov 10 15:13:59 1998 Nick Clifton <nickc@cygnus.com> + + * elf.c (prep_headers): Add support for bfd_arch_fr30. + +Tue Nov 10 13:37:36 1998 Felix Lee <flee@cygnus.com> + + * acinclude.m4 (BFD_HAVE_SYS_PROCFS_TYPE, + BFD_HAVE_SYS_PROCFS_TYPE_MEMBER): didn't define macro when value + was cached. + * aclocal.m4, configure: regenerated. + +Tue Nov 10 14:31:01 1998 Catherine Moore <clm@cygnus.com> + + * elf32-d10v.c (reloc_type): Add R_D10V_GNU_VTINHERIT and + R_D10V_GNU_VTENTRY relocs. + (elf_d10v_howto_table): Likewise. + (d10v_reloc_map d10v_reloc_map): Likewise. + (elf32_d10v_gc_mark_hook): New. + (elf32_d10v_gc_sweep_hook): New. + (elf32_d10v_check_relocs): New. + (elf32_d10v_relocate_section): New. + (elf_backend_relocate_section): Define. + (elf_backend_can_gc_sections): Define. + +Sat Nov 7 18:07:51 1998 Peter Schauer <peter.schauer@regent.e-technik.tu-muenchen.de> + + * Makefile.am (BFD32_BACKENDS): Move vms files here... + (BFD64_BACKENDS): ...from here. + (BFD32_BACKENDS_CFILES): Move vms files here... + (BFD64_BACKENDS_CFILES): ...from here. + * Makefile.in: Rebuild. + +Wed Nov 4 15:58:48 1998 Nick Clifton <nickc@cygnus.com> + + * Makefile.am: Add FR30 target. + * Makefile.in: Add FR30 target. + * archures.c: Add support for FR30. + * config.bfd: Add support for FR30. + * configure.in: Add support for FR30. + * reloc.c: Add support for FR30 relocations. + * targets.c: Add support for FR30 relocations. + * bfd-in2.h: Regenerate. + * configure: Regenerate. + * libbfd.h: Regenerate. + * cpu-fr30.c: New file. + * elf32-fr30.c: New file. + +Mon Nov 2 14:59:33 1998 Geoffrey Noer <noer@cygnus.com> + + * configure.in: detect cygwin* instead of cygwin32* + * configure: regenerate + +Sun Nov 1 19:32:28 1998 Jeffrey A Law (law@cygnus.com) + + * elf-m10300.c (mn10300_elf_relax_section): Do not use alloca, + use bfd_malloc and free instead and check return value from bfd_malloc. + +Sun Nov 1 16:20:35 1998 Ian Lance Taylor <ian@cygnus.com> + + * libbfd-in.h (_bfd_dwarf1_find_nearest_line): Declare. + * libbfd.h: Rebuild. + + * elf32-mips.c (mips_elf_dynsym_sec_names): Comment out. + (SIZEOF_MIPS_DYNSYM_SECNAMES): Likewise. + (MIPS_TEXT_DYNSYM_SECN): Likewise. + (_bfd_mips_elf_fake_sections): Don't set sh_info field of a .hash + section. + (struct mips_elf_link_hash_table): Remove dynsym_sec_strindex + field. + (mips_elf_link_hash_table_create): Don't initialize + dynsym_sec_strindex. + (mips_elf_gc_mark_hook): Add default case to avoid warning. + (mips_elf_size_dynamic_sections): Generate a section symbol for + every output section. + (mips_elf_finish_dynamic_sections): Count all sections for + DT_MIPS_UNREFEXTNO. + (mips_elf_finish_dynamic_sections): Use dynamic symbols for all + output sections. + +Sun Nov 1 12:46:53 1998 Geoff Keating <geoffk@ozemail.com.au> + + * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Allocate two slots + for later PLT entries in large PLTs. + (ppc_elf_finish_dynamic_symbol): Allow for the extra slots. + +Sat Oct 31 20:10:09 1998 Jeffrey A Law (law@cygnus.com) + + * elf32-ppc.c (ppc_elf_reload_section): Fix typo. + +1998-10-26 15:58 Ulrich Drepper <drepper@cygnus.com> + + * elf-bfd.h (struct elf_link_hash_entry): Add new field elf_hash_value. + * elflink.h (elf_collect_hash_codes): New function. This function is + called for each exported symbol and we compute the ELF hash value for + it. + (compute_bucket_value): New function. It is called from + size_dynamic_sections to determine the hash table size. When we are + optimizing a better, but slower, algorithm is used. + (size_dynamic_sections): Call compute_bucket_value. + + * elf.c (bfd_elf_hash): Optimize the hash function a bit. + +Mon Oct 19 20:03:21 1998 Catherine Moore <clm@cygnus.com> + + * elf32-sh.c: Add HOWTO entries for R_SH_GNU_VTINHERIT and + R_SH_GNU_VTENTRY. + (sh_elf_gc_mark_hook): New. + (sh_elf_gc_sweep_hook): New. + (sh_elf_check_relocs): New. + (elf_backend_can_gc_sections): Define. + +Mon Oct 19 16:57:05 1998 Felix Lee <flee@cygnus.com> + + * acinclude.m4: undo previous gettext change + * aclocal.m4: rebuild with right version of aclocal. + +Mon Oct 19 01:47:21 1998 Felix Lee <flee@cygnus.com> + + * acinclude.m4, aclocal.m4: move gettext-related fragments from + aclocal.m4 to acinclude.m4, so they don't get lost. + + * elfcore.h: rewrite for better corefile support. + * elf.c (elfcore_*): new functions. + * elf-bfd.h (elf_obj_tdata): new structure members. + * acconfig.h, acinclude.m4, configure.in: add feature-tests for + flavor of procfs. + * aclocal.m4, config.in, configure, Makefile.in: regenerated. + +Fri Oct 16 14:07:45 1998 Catherine Moore <clm@cygnus.com> + + * elf32-m32r.c: Add HOWTO entries for R_M32R_GNU_VTINHERIT + and R_M32R_GNU_VTENTRY. + (elf_backend_can_gc_sections): Define. + (m32r_elf_check_relocs): New. + (m32r_elf_gc_mark_hook): New. + (m32r_elf_gc_sweep_hook): New. + (m32r_elf_relocate_section): Handle VT relocs. + +Mon Oct 12 14:18:40 1998 Nick Clifton <nickc@cygnus.com> + + * coff-arm.c (arm_relocate_section): Remove redundant test. + + * bfd-in2.h (struct reloc_howto_struct): Improve comment to make + cleat that the 'bitsize' field is the size of the bitfield AFTER + relocation not before. + + * elf32-m32r.c (R_M32R_18_PCREL): Fix size of bitfield. + + * coff-mips.c (mips_relocate_hi): Cope with missing refhi or reflo + relocs. + +Tue Oct 6 09:20:44 1998 Catherine Moore <clm@cygnus.com> + + * elf32-sparc.c: Add HOWTO entries for R_SPARC_GNU_VTINHERIT and + R_SPARC_GNU_VTENTRY. + (elf32_sparc_check_relocs): Handle them. + (elf32_sparc_reloc_type_lookup): Likewise. + (elf32_sparc_relocate_section): Likewise. + (elf32_sparc_gc_mark_hook): New. + (elf32_sparc_gc_sweep_hook): New. + +Mon Oct 5 14:55:30 1998 Jeffrey A Law (law@cygnus.com) + + * som.c (som_finish_writing): Perform some sanity checks when + writing an executable or shared library. + +Mon Oct 5 12:02:31 1998 Gavin Romig-Koch <gavin@cygnus.com> + + * dwarf1.c : New file. Adds _bfd_dwarf1_find_nearest_line. + * configure.in (elf): Add dwarf1.lo. + * elf_bfd.h (elf_ob_tdata): Add dwarf1_find_line_info. + * elf.c (_bfd_elf_find_nearest_line): Add call to + _bfd_dwarf1_find_nearest_line. + * elf32-mips.c (_bfd_mips_elf_find_nearest_line): + Add call to _bfd_dwarf1_find_nearest_line. + * configure: Rebuilt. + +Mon Oct 5 10:06:22 1998 Catherine Moore <clm@cygnus.com> + + * elflink.h (elf_gc_sections): Do not allow garbage + collection if dynamic sections have been created. + +Mon Oct 5 09:07:37 1998 Catherine Moore <clm@cygnus.com> + + * elf32-v850.c: Add HOWTO entries for R_V850_GNU_VTINHERIT and + R_V850_GNU_VTENTRY. + (v850_elf_check_relocs): Handle VTINHERIT and VTENTRY relocs. + (v850_elf_perform_relocation): Likewise. + (v850_elf_final_link_relocate): Likewise. + (v850_elf_relocate_section): Likewise. + (v850_elf_gc_sweep_hook): New routine. + (v850_elf_gc_mark_hook): New routine. + (elf_backend_can_gc_sections): Define. + +Mon Oct 5 09:04:25 1998 Catherine Moore <clm@cygnus.com> + + * elf32-m68k.c (elf_m68k_gc_sweep_hook): Don't assume + that dynobj exists. + +Sun Oct 4 23:29:34 1998 David Edelsohn <edelsohn@mhpcc.edu> + + * rs6000-core.c (rs6000coff_core_file_matches_executable_p): + Declare size as bfd_size_type. + (rs6000coff_get_section_contents): Declare count as bfd_size_type. + +Sun Oct 4 20:38:29 1998 Jeffrey A Law (law@cygnus.com) + + * cpu-hppa.c (bfd_hppa20_arch): Define. Link it into the bfd_hppa_arch + structure. + * som.c (CPU_PA_RISC2_0): Define. + (_PA_RISC2_0_ID): Likewise. + (som_finish_writing): Use CPU_PA_RISC2_0 for the system_id as needed. + +Sun Oct 4 21:19:09 1998 Ian Lance Taylor <ian@cygnus.com> + + * elflink.h (elf_link_add_object_symbols): When a versioned symbol + has a base which is already defined, only add the referenced + symbol to the dynamic symbol table if it is defined or referenced + by a regular file. + + * elf32-i386.c (elf_i386_info_to_howto_rel): Handle vtable relocs + correctly. + +1998-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * elflink.h (elf_link_add_object_symbols): Undo last change. + +Wed Sep 23 16:09:31 1998 Richard Henderson <rth@cygnus.com> + + * elflink.h (elf_link_add_object_symbols): Don't record a dynamic + symbol for the indirect alias to a versioned symbol. + +Mon Sep 21 12:15:22 1998 Catherine Moore <clm@cygnus.com> + + * elf32-i386.c (elf32_i386_vtinherit_howto): New. + (elf32_i386_vtentry_howto): New. + (elf_i386_reloc_type_lookup): Return elf32_i386_vtentry_howto + or elf32_i386_vtinherit_howto on lookup. + +Sun Sep 20 00:48:07 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * elf32-m68k.c: Include "elf/m68k.h". Remove definition of enum + reloc_type. Rename R_68K__max to R_68K_max. + (howto_table): Use _bfd_elf_rel_vtable_reloc_fn for a VTENTRY + reloc. + +Sun Sep 20 00:09:25 1998 Chris Torek <torek@bsdi.com> + + * libbfd.c (bfd_getb32): Rewrite expression to get better code. + (bfd_getl32, bfd_getb_signed_32, bfd_getl_signed_32): Likewise. + + * libbfd.c (bfd_log2): Cast to bfd_vma before shifting, not + after. + +Sat Sep 19 22:42:23 1998 Doug Rabson <dfr@nlsystems.com> + + * elflink.h (elf_link_add_object_symbols): Ensure that the warning + message has a null byte terminator. + +Fri Sep 18 14:35:29 1998 Nick Clifton <nickc@cygnus.com> + + * elf32-v850.c (v850_elf_perform_relocation): Ignore contents of + word subject to R_V850_32 relocation. + +Thu Sep 17 17:20:36 1998 Nick Clifton <nickc@cygnus.com> + + * dwarf2.c: Add comment describing problem computing line numbers + for undefined symbols at link time. + +Thu Sep 17 16:03:28 1998 Richard Henderson <rth@cygnus.com> + + * elf64-alpha.c (elf64_alpha_adjust_dynamic_symbol): Don't + transform a defweak into a plt entry. + (elf64_alpha_calc_dynrel_sizes): Allow room for secondary + plt entry references to receive a RELATIVE reloc. + (elf64_alpha_finish_dynamic_symbol): Fill them in. + (elf64_alpha_relocate_section): Assert we don't overrun + the allocated relocation space. + +Wed Sep 16 18:03:13 1998 Nick Clifton <nickc@cygnus.com> + + * elf.c (swap_out_syms): Always treat section symbols as + special, even if they are attached to a common section. + +Wed Sep 16 10:34:13 1998 Nick Clifton <nickc@cygnus.com> + + * elf32-v850.c (v850_elf_symbol_processing): Move symbols in + sections with v850 common section attributes into named v850 + common sections. + (v850_elf_add_symbol_hook): Move symbols in sections with v850 + common section attributes into named v850 common sections. + +Wed Sep 16 11:26:49 CDT 1998 Catherine Moore <clm@cygnus.com> + + * elf32-arm.c (elf32_arm_gc_mark_hook): Remove print + statement. + +1998-09-15 Geoff Keating <geoffk@ozemail.com.au> + + * elf32-ppc.c (ppc_elf_relocate_section): Reverse output_offset + part of Vladimir's change of 1998-08-19. Make a R_PPC_SDAREL16 + reloc to the wrong section a warning, not an error. .dynsbss + is not an output section, so there is no need to check for it. + +Tue Sep 15 12:40:05 1998 Catherine Moore <clm@cygnus.com> + + * elf-bfd.h: Add argument to elf_backend_get_symbol_type. + +Tue Sep 15 08:34:40 1998 Catherine Moore <clm@cygnus.com> + + * elf.c (swap_out_syms): Pass type to elf_backend_get_symbol_type. + * elf32-arm.c: Add HOWTO entries for R_ARM_GNU_VTINHERIT and + R_ARM_GNU_VTENTRY. + (elf32_arm_gc_mark_hook): New. + (elf32_arm_gc_sweep_hook): New. + (elf32_arm_check_relocs): New. + (elf32_arm_final_link_relocate): Handle VTINHERIT and VTENTRY + relocations. + (elf32_arm_relocate_section): Handle VTINHERIT and VTENTRY + relocations. + +1998-09-10 Geoff Keating <geoffk@ozemail.com.au> + + * elf32-ppc.c (ppc_elf_relocate_section): If dynobj is NULL, + assume there is no PLT or GOT. + +Wed Sep 9 14:24:12 1998 Nick Clifton <nickc@cygnus.com> + + * elf32-arm.c (elf32_arm_find_nearest_line): New function: just + like _elf_bfd_find_nearest_line() except that STT_ARM_TFUNC is + also accepted as a function symbol type. + +Mon Sep 7 13:24:03 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> + + * rs6000-core.c (_LONG_LONG): Define for AIX 4.x only. + +Sat Sep 5 20:40:18 1998 Ian Lance Taylor <ian@cygnus.com> + + * libbfd-in.h (_bfd_nolink_bfd_gc_sections): Correct definition to + match definition of _bfd_gc_sections field. + * libbfd.h: Rebuild. + +Fri Sep 4 13:54:23 1998 David Miller <davem@dm.cobaltmicro.com> + + * elf32-sparc.c (elf32_sparc_relocate_section): Properly adjust + the addend of a dynamic relocation referencing a section. + * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. + (sparc64_elf_finish_dynamic_symbol): Fix the PLT relocation offset. + +Thu Sep 3 17:28:50 1998 Richard Henderson <rth@cygnus.com> + + * elflink.h (bfd_elfNN_size_dynamic_sections): Verify that the + bed has a size_dynamic_sections routine before trying to use it. + +Mon Aug 31 14:49:22 1998 Richard Henderson <rth@cygnus.com> + + * elf32-mips.c (elf_mips_gnu_vtentry_howto): Use + _bfd_elf_rel_vtable_reloc_fn. + +Mon Aug 31 10:23:40 1998 Catherine Moore <clm@cygnus.com> + + * Makefile.am: Add elf32-arm.c. + * Makefile.in: Rebuild. + * elf-bfd.h: Add elf_backend_get_symbol_type. + * elf.c (swap_out_syms): If defined, call + elf_backend_get_symbol_type. + * elf32-arm.c: Define elf_backend_get_symbol_type. + (elf32_arm_get_symbol-type): New routine. + (record_thumb_to_arm_glue): Change to use STT_ARM_TFUNC. + (bfd_elf32_arm_process_before_allocation): Change to + check for STT_ARM_TFUNC. + (elf32_arm_final_link_relocate): Likewise. + * elfxx-target.h: Add elf_backend_get_symbol_type. + +Fri Aug 28 19:44:07 1998 Richard Henderson <rth@cygnus.com> + + * archures.c (bfd_mach_alpha_ev[456]): New. + * cpu-alpha.c: Rework to match these types. + * bfd-in2.h: Rebuild. + +Fri Aug 28 19:38:53 1998 Richard Henderson <rth@cygnus.com> + + * elf-bfd.h (_bfd_elf_rel_vtable_reloc_fn): Declare. + * elf.c (_bfd_elf_rel_vtable_reloc_fn): New. + + * elf32-i386.c (elf_howto_table): Add vtable relocs. + (elf_i386_reloc_type_lookup): Recognize them. + (elf_i386_check_relocs): Pass them off to generic code. + (elf_i386_relocate_section): Ignore them. + (elf_i386_gc_mark_hook, elf_i386_gc_sweep_hook): New. + (elf_backend_can_gc_sections): True. + +Thu Aug 20 15:03:45 1998 Nick Clifton <nickc@cygnus.com> + + * elf32-arm.c (elf32_thumb_to_arm_stub): Check sym_sec is not NULL + before looking at owner field. + (elf32_arm_to_thumb_stub): Ditto. + (elf32_arm_relocate_section): Compute name before calling + elf32_arm_final_link_relocate(). + +Thu Aug 20 11:30:17 1998 Michael Snyder <msnyder@cleaver.cygnus.com> + + * elf.c: comment and formatting cleanups. + * elfcore.h: ditto. + +Wed Aug 19 15:43:26 1998 Michael Snyder <msnyder@cleaver.cygnus.com> + + * elfcode.h (elf_object_p): Reject files of header type ET_CORE + (core files are treated differently than object files). + * elf-bfd.h (_bfd_elf_write_corefile_contents, + bfd_elf_mkcorefile): declare. + * elfxx-target.h (_bfd_elf_write_corefile_contents, + bfd_elf_mkcorefile): add to bfd_target vector. + * elfcore.h (elf_core_file_p): save the program header table, + and set the bfd architecture from the elf file header. + * elf.c (bfd_elf_mkcorefile): new function. + (_bfd_elf_write_corefile_contents): new function. + (assign_file_positions_for_segments): add cases for handling + PT_NOTE segments. (assign_file_positions_except_relocs): + core files should be handled the same as exec files. + (prep_headers): identify core files as type ET_CORE. + (copy_private_bfd_data): identify the sections belonging to + the PT_NOTE segment. + + * elf32-sparc.c (elf32_sparc_final_write_processing): + add break statement to default case. + +1998-08-19 Vladimir N. Makarov <vmakarov@cygnus.com> + + * elf32-ppc.c (ppc_elf_relocate_section): Check that output + section (not input) will be in sections ".sbss", ".sbss2", + ".sdata", and ".sdata" for R_PPC_SDAREL16, R_PPC_EMB_SDA2REL, + R_PPC_EMB_SDA21, R_PPC_EMB_RELSDA. In all these cases also ignore + output_offset for correct evaluation of addend. + +Tue Aug 18 11:48:12 1998 Catherine Moore <clm@cygnus.com> + + * elf32-arm.c: Add prefix bfd_ to elf32_arm_get_bfd_for_interworking, + elf32_arm_allocate_interworking_sections and + elf32_arm_process_before_allocation. + +Tue Aug 18 11:46:00 1998 Nick Clifton <nickc@cygnus.com> + + * bfd-in.h: Ammend prototype for + elf32_arm_process_before_allocation to remove surplus third + argument. + + * bfd-in2.h: Regenerate. + +Sat Aug 15 20:55:08 1998 Richard Henderson <rth@cygnus.com> + + * elf64-alpha.c (elf64_alpha_relax_section): Handle indirect symbols. + +Fri Aug 14 09:12:28 1998 Stan Cox <scox@cygnus.com> + + * aoutx.h (aout_link_input_section_ext): Use the relocation already + calculated for RELOC_SPARC_REV32 case. + +Thu Aug 13 14:02:02 1998 Catherine Moore <clm@cygnus.com> + + * bfd-in.h: Add prototypes for elf32_arm_get_bfd_for_interworking, + elf32_arm_allocate_interworking_sections and + elf32_arm_process_before_allocation. + * bfd-in2.h: Regenerated. + * elf32-arm.c Define elf32_arm_link_hash_table. + (insert_thumb_branch): New routine. + (find_thumb_glue): New routine. + (find_arm_glue): New routine. + (record_arm_to_thumb_glue): New routine. + (record_thumb_to_arm_glue): New routine. + (elf32_arm_link_hash_table_create): New routine. + (elf32_arm_get_bfd_for_interworking): New routine. + (elf32_arm_allocate_interworking_sections) New routine. + (elf32_arm_process_before_allocation) New routine. + (elf32_thumb_to_arm_stub): New routine. + (elf32_arm_to_thumb_stub): New routine. + (elf32_print_private_bfd_data): Fix typo. + (elf32_arm_final_link_relocate): Add argument sym_sec. + Check for branches to thumb symbols in case R_ARM_PC24. + Check for branches to arm symbols in case R_ARM_THM_PC22. + (elf32_arm_relocate_section): Pass symbol section to + elf32_arm_final_link_relocate. + +Wed Aug 12 19:00:39 1998 Geoff Keating <geoffk@ozemail.com.au> + + * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Generate PLT + entries unless the symbol is defined in the executable; in + particular, undefined weak symbols get a PLT entry. + +Wed Aug 12 14:48:33 1998 Ian Lance Taylor <ian@cygnus.com> + + * libaout.h: Remove nested comment to avoid warning. + +Wed Aug 12 08:10:11 1998 Catherine Moore <clm@cygnus.com> + + * elf32-arm.c (elf32_arm_final_link_relocate): Rework + R_ARM_PC24 relocation. + +Tue Aug 11 14:42:26 1998 Catherine Moore <clm@cygnus.com> + + * elf32-arm.c (elf32_arm_final_link_relocate): Remove unused + argument is_local. Add argument sym_flags. Check sym_flags + in R_ARM_ABS32 case. Include addend for R_ARM_THM_PC22 case. + (elf32_arm_relocate_section): Don't pass local sym and pass + sym_flags to elf32_arm_final_link_relocate. + +Mon Aug 10 20:38:39 1998 Richard Henderson <rth@cygnus.com> + + * elf64-alpha.c (elf64_alpha_calc_dynrel_sizes): Correct last change + to not count too few relocs for dynamicly linked executables. + +Mon Aug 10 15:35:34 1998 Richard Henderson <rth@cygnus.com> + + * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Never consider + symbols without a dynamic index dynamic. Consider all weak + symbols dynamic. + (elf64_alpha_strip_section_from_output): Don't assume 1-1 + correspondance between input and output sections. + +Mon Aug 10 15:31:39 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * elflink.h (elf_gc_common_finalize_got_offsets): For backends + that use a .got.plt section start the got offset at zero. + +Mon Aug 10 17:31:21 1998 Ian Lance Taylor <ian@cygnus.com> + + * ieee.c (ieee_write_processor): Correct the processor ID written + out for bfd_arch_m68k, accommodating change of March 25. + +Sun Aug 9 20:55:44 1998 Catherine Moore <clm@cygnus.com> + + * elf32-arm.c (elf32_arm_final_link_relocate): Rework + R_ARM_THM_RPC22 relocations. + +Sat Aug 8 15:15:30 1998 Richard Henderson <rth@cygnus.com> + + * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Undef weak symbols + are always dynamic. + (elf64_alpha_calc_dynrel_sizes): Allow enough room for RELATIVE + .got relocs in -Bsymbolic shared objects. + +Wed Aug 5 15:48:08 1998 Nick Clifton <nickc@cygnus.com> + + * elf32-arm.c: Add private flags to ELF header. + (elf32_arm_print_private_bfd_data): New Function. + (elf32_arm_set_private_flags): New Function. + (elf32_arm_copy_private_flags): New Function. + (elf32_arm_merge_private_bfd_data): New Function. + +Mon Aug 3 17:10:15 1998 Ian Lance Taylor <ian@cygnus.com> + + * elf32-sparc.c (elf32_sparc_check_relocs): Permit WPLT30 against + a local symbol. + (elf32_sparc_relocate_section): Likewise. + +Sun Aug 2 03:19:23 1998 Richard Henderson <rth@cygnus.com> + + * elf32-ppc.c (ppc_elf_check_relocs): Init sgot to NULL. Create the + .got if any relocation referrs to _GLOBAL_OFFSET_TABLE_. + (ppc_elf_relocate_section): Pull sgot and splt search to the start + of the function. Recognize no .plt as static linking. + +1998-08-01 Ulrich Drepper <drepper@cygnus.com> + + * elf32-mips.c (_bfd_mips_elf_section_from_shdr): Don't pass + ".liblist" string through gettext. + +Fri Jul 31 16:38:14 1998 Catherine Moore <clm@cygnus.com> + + * Makefile.am: Add support for elf32-arm.lo. + * Makefile.in: Rebuild. + * config.bfd (arm-*-elf): Define targ_defvec and targ_selvecs. + (thumb-*-elf): Define targ_defvec and targ_selvecs. + * configure.in: Handle bfd_elf32_littlearm_vec and bfd_elf32_bigarm_vec. + * configure: Regenerate. + * elf.c: (prep_headers): Support arch_type of EM_ARM. + * targets.c: Support new targets bfd_elf32_bigarm_vec and + bfd_target bfd_elf32_littlearm_vec. + * elf32-arm.c: New file. + +Tue Jun 28 19:05:28 1998 Stan Cox <scox@cygnus.com> + + * libaout.h (M_SPARCLITE_LE): New machine. + * sunos.c (MACHTYPE_OK): Add machine M_SPARCLITE_LE. + * aoutf1.h (sunos_set_arch_mach): Add machine M_SPARCLITE_LE. + (sunos_write_object_contents): Add machine bfd_mach_sparc_sparclite_le + * aoutx.h (howto_table_ext): Add relocation R_SPARC_REV32. + (NAME(aout,machine_type)) Add machine bfd_mach_sparc_sparclite_le + (aout_link_input_section_ext): Add RELOC_SPARC_REV32 support. + * elf32-sparc.c (_bfd_sparc_elf_howto_table, sparc_reloc_map, + elf32_sparc_relocate_section): Rename R_SPARC_32LE to be R_SPARC_REV32 + * libbfd.h (bfd_reloc_code_real_names): Rename BFD_RELOC_SPARC_32LE to + be BFD_RELOC_SPARC_REV32. + * reloc.c: Ditto. + * config.bfd (sparc86x-*-aout): New + +Fri Jul 24 13:54:19 1998 Nick Clifton <nickc@cygnus.com> + + * linker.c (_bfd_generic_final_link): Allocate NULL symbol before + actually mapping the output sections. + +Fri Jul 24 11:24:29 1998 Jeffrey A Law (law@cygnus.com) + + + * elf-m10300.c (mn10300_elf_howto): Add R_MN10300_24 entry. + (mn10300_elf_reloc_map): Similarly. + (mn10300_elf_final_link_relocate): Handle R_MN10300_24. + +Fri Jul 24 12:36:04 1998 Ian Lance Taylor <ian@cygnus.com> + + * elf32-mips.c (elf_mips_howto_table): Add reloc types used on + Irix 6. + (bfd_elf32_bfd_reloc_type_lookup): Add default case. + * elf64-mips.c: Replace all uses of mips_elf64_reloc_type with + elf_mips_reloc_type defined in elf/mips.h. + +1998-07-24 Ulrich Drepper <drepper@cygnus.com> + + * elf64-mips.c: Remove reloc_type definition completely. It's now + in elf/mips.h. + +Thu Jul 23 13:33:19 1998 Doug Evans <devans@canuck.cygnus.com> + + * elf64-mips.c (mips_elf64_reloc_type): #if 0 out more relocations + as they are defined in elf/mips.h now. + +Thu Jul 23 11:29:43 1998 Jeffrey A Law (law@cygnus.com) + + + * Re-add lost change: + * elf-m10300.c (elf32_mn10300_link_hash_entry): Add new field + "movm_stack_size". + (mn10300_elf_relax_section): Include stack space for register saves + in the imm8 field of a "call" instruction. + (compute_function_info): Determine how much stack is allocated by + the movm instruction. Fix typo. + (elf32_mn10300_link_hash_newfunc): Initialize movm_stack_size. + +Thu Jul 23 11:38:05 1998 Ian Lance Taylor <ian@cygnus.com> + + * elf32-sparc.c (elf_backend_got_header_size): Define as 4. + * elf64-sparc.c (elf_backend_got_header_size): Define as 8. + +1998-07-22 Ulrich Drepper <drepper@cygnus.com> + + * elf32-ppc.c: Change use of pp_reloc_type to elf_ppc_reloc_type. + +Wed Jul 22 16:27:18 1998 Nick Clifton <nickc@cygnus.com> + + * elf32-hppa.h: Let ELF header define the enum containing the + external reloc numbers. + * elf32-i386.h: Likewise. + +1998-07-22 14:57 Ulrich Drepper <drepper@cygnus.com> + + * elf-m10300.c: Let ELF header now define the macros to get the enum. + * elf32-mips.c: Likewise. + * elf32-ppc.c: Likewise. + +Wed Jul 22 13:53:52 1998 Nick Clifton <nickc@cygnus.com> + + * bfd-in2.h: Change type of 'class' parameter to 'unsigned int' in + bfd_coff_set_symbol_class(), in order to avoid K&R compatability + prblems. + * bfd-in.h: Regenerate. + * coffgen.c (bfd_coff_set_symbol_class): Change type of 'class' + parameter to 'unsigned int' to avoid K&R compatability problems. + +Wed Jul 22 16:43:24 1998 Ian Lance Taylor <ian@cygnus.com> + + * ieee.c (ieee_find_nearest_line): Change filename_ptr and + functionname_ptr to be const. Change line_ptr to be unsigned. + + * coffcode.h (coff_link_output_has_begun): Simplify handling when + macro is not defined. Change second parameter from bfd_link_info + to coff_final_link_info. Add prototype. + (coff_final_link_postscript): Simplify handling when macro is not + defined. Add prototype. + +1998-07-22 13:08 Ulrich Drepper <drepper@cygnus.com> + + * elf-mn10300.c: Before include system specific ELF header define + START_RELOC_NUMBERS, RELOC_NUMBER, and END_RELOC_NUMBERS. + * elf32-mips.c: Likewise. + * elf32-ppc.c: Likewise. + +Wed Jul 22 13:46:51 1998 Ian Lance Taylor <ian@cygnus.com> + + * elf64-mips.c (mips_elf64_reloc_type): Copy Ulrich's elf32-mips.c + temporary patch over to elf64-mips.c as well. + +1998-07-21 Ulrich Drepper <drepper@cygnus.com> + + * elf32-mips.c (reloc_type): Temporarily disable definition of + standard relocation since they are now defined in elf/mips.h. + +Tue Jul 21 09:47:00 1998 Catherine Moore <clm@cygnus.com> + + * elf-m10200.c (mn10200_elf_final_link_relocate): + Modify range test for case R_MN10200_8. + + * elf-m10300.c (mn10300_elf_final_link_relocate): + Modify range test for case R_MN10300_8. + +Mon Jul 20 18:50:54 1998 Richard Henderson <rth@cygnus.com> + + * elf-bfd.h (struct elf_backend_data): Add got_ & plt_header_size. + * elf32-i386.c (elf_backend_got_header_size): Define. + (elf_backend_plt_header_size): Define. + * elf32-m68k.c, elf32-mips.c, elf32-ppc.c: Likewise. + * elf32-sparc.c, elf64-alpha.c, elf64-sparc.c: Likewise. + * elfxx-target.h: Provide a default of zero. + * elflink.c (_bfd_elf_create_got_section): Use got_header_size. + * elflink.h (elf_gc_common_finalize_got_offsets): Likewise. + + * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Don't remove a PLT + entry from an executable, even if the plt refcount goes to 0. + +Mon Jul 20 12:47:26 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * aoutx.h (NAME(aout,find_nearest_line)): Also remember the + directory name at the line number. + + * elf.c (_bfd_elf_find_nearest_line): Also consider symbols + with an unspecified type. + +Wed Jul 15 11:20:01 1998 Ian Lance Taylor <ian@cygnus.com> + + * sunos.c: Add undef of valid to avoid problem on SunOS. + +Tue Jul 14 15:30:59 1998 Richard Henderson <rth@cygnus.com> + + * config.bfd (i?86-pc-beos{pe,elf,}*): Recognize. + +Tue Jul 14 11:22:21 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * elf32-m68k.c (elf_m68k_check_relocs): Also reference count + R_68K_PCxx and R_68K_xx relocations. Make sure that + ELF_LINK_HASH_NEEDS_PLT is always set for a PLT reloc reference. + (elf_m68k_gc_sweep_hook): Also reference count R_68K_PCxx and + R_68K_xx relocations. + (elf_m68k_adjust_dynamic_symbol): Reset the plt offset of a symbol + that has no plt entry. + (elf_m68k_relocate_section): Ignore the plt offset in a static + link. + * elflink.h (elf_adjust_dynamic_symbol): Reset the plt offset for + an ignored symbol. + (elf_gc_common_finalize_got_offsets): Set the got offsets also in + a static link. + + * elf32-m68k.c (R_68K_GNU_VTINHERIT, R_68K_GNU_VTENTRY): New reloc + types. + (howto_table, reloc_map): Add entries for them. + (elf_m68k_check_relocs): Handle them. Implement reference + counting for got and plt entries. + (elf_m68k_gc_mark_hook, elf_m68k_gc_sweep_hook): New functions. + (elf_m68k_adjust_dynamic_symbol): Handle unreferenced plt + symbols. + (rtype_to_howto_rel, elf_info_to_howto_rel): Delete. + (elf_m68k_relocate_section): Handle the new reloc types. + (bfd_elf32_bfd_final_link, elf_backend_gc_mark_hook, + elf_backend_gc_sweep_hook, elf_backend_can_gc_sections): Define. + * elflink.h (elf_link_add_object_symbols): When creating an + indirect reference for symbol versioning also copy the plt + offset. + (elf_fix_symbol_flags): When clearing the ELF_LINK_HASH_NEEDS_PLT + flag also reset the plt offset. + (elf_link_assign_sym_version): Likewise. + (elf_gc_common_finalize_got_offsets): Increment the got offset by + the size of the entry in bytes. + (elf_gc_allocate_got_offsets): Likewise. + +Tue Jul 14 11:18:14 1998 Ian Lance Taylor <ian@cygnus.com> + + * elflink.h (elf_gc_sections): Return true rather than falling off + the bottom. + + * coffgen.c (bfd_coff_set_symbol_class): Call bfd_alloc, not + xmalloc. + +Mon Jul 13 11:06:31 1998 Nick Clifton <nickc@cygnus.com> + + * coff-arm.c: Supress definition of TARGET_UNDERSCORE and add a + comment describing when it should be enabled. + Changed definition of USER_LABEL_PREFIX to "", to fall into line + with GCC sources. + +Mon Jul 13 13:06:54 1998 Ian Lance Taylor <ian@cygnus.com> + + * ieee.c (ieee_slurp_external_symbols): Handle call optimization + information ATN records. + +Fri Jul 10 16:31:06 1998 Ian Lance Taylor <ian@cygnus.com> + + * ieee.c (ieee_slurp_external_symbols): Select an appropriate + section for an absolute symbol in a fully linked file. Based on + patch from Christian Holland <CHolland@de.lucent.com>. + +Wed Jul 8 11:29:56 1998 Manfred Hollstein <manfred@s-direktnet.de> + + * coff-m88k.c (m88k_special_reloc): Don't lose the information + that a symbol is undefined. + +Tue Jul 7 21:47:02 1998 Jeffrey A Law (law@cygnus.com) + + * som.c (som_bfd_gc_sections): Define. + +Mon Jul 6 11:35:50 1998 Nick Clifton <nickc@cygnus.com> + + * coff-arm.c (aoutarm_std_reloc_howto): Do not complain about + overflows in ARM_26D patches, since they have already been + implmented. Patch submitted by Dr. R.J. Black <rjb@dcs.gla.ac.uk> + +Sat Jul 4 12:25:36 1998 Ian Lance Taylor <ian@cygnus.com> + + * coffcode.h (coff_write_object_contents): If we have any long + section names, call coff_write_symbols even if there are no + symbols. + +Fri Jul 3 13:11:35 1998 Ian Lance Taylor <ian@cygnus.com> + + * elf.c (copy_private_bfd_data): Only set phdr_included once for a + PT_LOAD segment, rather than only setting it once for the entire + file. + + * elf.c (_bfd_elf_make_section_from_shdr): When setting the LMA, + rather than ignoring every phdr with a p_paddr of 0, ignore all + the phdrs if they all have a p_paddr of 0. + + * stabs.c (_bfd_write_stab_strings): Check whether the .stabstr + section was discarded from the link. + +Fri Jul 3 14:39:05 1998 J"orn Rennecke <amylaar@cygnus.co.uk> + + * coff-sh.c (sh_insn_uses_freg): Ignore lowest bit of register number. + +Fri Jul 3 14:35:48 1998 J"orn Rennecke <amylaar@cygnus.co.uk> + + * coff-sh.c (sh_insns_conflict): Load of fpscr conflicts with + floating point operations. + +Thu Jul 2 18:37:25 1998 Ian Lance Taylor <ian@cygnus.com> + + * cofflink.c (_bfd_coff_link_input_bfd): Skip undefined global + function symbols. + +Thu Jul 2 14:59:42 1998 Klaus Kaempf <kkaempf@rmi.de> + + Merge of vax/vms (read-only) support + * configure.com: Support Vax target. + * makefile.vms: Support Vax target. + * vms.h: Renamed from evax.h, merged vax/vms (read-only) support. + * vms.c: Renamed from evax-alpha.c, merged vax/vms (read-only) + support. + * vms-hdr.c: Renamed from evax-emh.c, merged vax/vms (read-only) + support. + * vms-gsd.c: Renamed from evax-egsd.c, merged vax/vms (read-only) + support. + * vms-tir.c: Renamed from evax-etir.c, merged vax/vms (read-only) + support. + * vms-misc.c: Renamed from evax-misc.c, merged vax/vms (read-only) + support. + * libbfd.c (real_read): Use unbuffered read on VMS/Vax. + * targets.c (bfd_target_ovax_flavour): New flavour. + (vms_alpha_vec): Renamed from evax_alpha_vec. + (vms_vax_vec): New. + (target_vector): Update accordingly. + * config.bfd (alpha*-*-*vms*): Use vms_alpha_vec, not + evax_alpha_vec. + (vax*-*-*vms*): New target. + * Makefile.am: Update for renamed files. Rebuild dependencies. + * bfd-in2.h: Rebuild. + * configure.in, Makefile.in, aclocal.m4: Rebuild. + +Thu Jul 2 13:31:55 1998 Ian Lance Taylor <ian@cygnus.com> + + Based on patch from Matt Semersky <matts@scd.hp.com>: + * linker.c (_bfd_generic_final_link): Force a trailing NULL + pointer on abfd->outsymbols. + (generic_add_output_symbol): Handle NULL sym parameter. + +Wed Jul 1 17:05:53 1998 Nick Clifton <nickc@cygnus.com> + + * elf.c (copy_private_bfd_data): Add support for changing VMA or + LMA of sections. + +Wed Jul 1 16:58:50 1998 Ian Lance Taylor <ian@cygnus.com> + + * coff-sh.c (sh_relax_delete_bytes): Correct address comparisons + when handling 32 bit immediate relocs. + * elf32-sh.c (sh_elf_relax_delete_bytes): Likewise. + +Tue Jun 30 09:55:03 1998 Jeffrey A Law (law@cygnus.com) + + * section.c (STD_SECTION): Account for recently added gc_mark + field in struct asection. + + * elf-m10300.c (bfd_mn10300_elf_merge_private_bfd_data): New function. + (bfd_elf32_bfd_merge_private_bfd_data): Define. + +Thu Jun 25 18:31:41 1998 Richard Henderson <rth@cygnus.com> + + ELF Section-level Garbage Collection: + * bfd.c (bfd_gc_sections): New. + * aout-adobe.c: Hook to default implementation. + * aout-target.h, aout-tic30.c, binary.c, bout.c: Likewise. + * coff-alpha.c, coff-mips.c, coff-rs6000.c, coffcode.h: Likewise. + * evax-alpha.c, i386msdos.c, i386os9k.c, ieee.c: Likewise. + * ihex.c, nlm-target.h, oasys.c, ppcboot.c, srec.c: Likewise. + * tekhex.c, versados.c: Likewise. + * libbfd-in.h (_bfd_nolink_bfd_gc_sections): New. + * targets.c (BFD_JUMP_TABLE_LINK): Add _bfd_gc_sections. + + * reloc.c (BFD_RELOC_VTABLE_INHERIT, BFD_RELOC_VTABLE_ENTRY): New. + (bfd_generic_gc_sections): New. + * section.c (SEC_KEEP): New. + (asection): Add gc_mark member. + + * elfcode.h (elf_gc*): New name remappings. + * elflink.h (elf_link_input_bfd): Don't set contents on stabs + sections to be excluded. + (elf_gc_mark, elf_gc_sweep, elf_gc_sweep_symbol): New. + (elf_gc_propogate_vtable_entries_used): New. + (elf_gc_smash_unused_vtentry_relocs): New. + (elf_gc_sections, elf_gc_record_vtinherit, elf_gc_record_vtentry): New. + (elf_gc_common_finalize_got_offsets): New. + (elf_gc_allocate_got_offsets, elf_gc_common_final_link): New. + * elfxx-target.h: Add and default gc hooks. + + * elf-bfd.h (struct elf_link_hash_entry): Swap got_offset/plt_offset + for unions. + (struct elf_obj_tdata): Likewise for local_got_offsets. + * elf.c, elf-i386.c, elf32-m68k.c, elf32-mips.c: Update all uses. + * elf32-ppc.c, elf32-sparc.c, elf64-alpha.c: Likewise. + * elf64-sparc.c, elflink.h: Likewise. + + * elf-bfd.h (struct elf_link_hash_entry): Add vtable members. + (ELF_LINK_HASH_MARK): Define. + (struct elf_backend_data): Add GC hooks. + * elf.c (_bfd_elf_link_hash_newfunc): Zero vtable members. + + * elf-m10300.c (mn10300_elf_check_relocs): New. + (mn10300_elf_gc_mark_hook): New. + (R_MN10300_GNU_VTINHERIT, R_MN10300_GNU_VTENTRY): New. + (elf_mn10300_howto, mn10300_reloc_map): Handle them. + (mn10300_elf_final_link_relocate): Likewise. + (mn10300_elf_relocate_section): Likewise. + (elf_backend_can_gc_sections): Define. + * elf32-mips.c (R_MIPS_GNU_VTINHERIT, R_MIPS_GNU_VTENTRY): New. + (elf_mips_gnu_vtinherit_howto, elf_mips_gnu_vtentry_howto): New. + (bfd_elf32_bfd_reloc_type_lookup): Handle them. + (mips_info_to_howto_rel): Likewise. + (mips_elf_relocate_section): Likewise. + (mips_elf_check_relocs): Likewise. + (mips_elf_gc_mark_hook, mips_elf_gc_sweep_hook): New. + (elf_backend_can_gc_sections): Define. + * elf32-ppc.c (R_PPC_GNU_VTINHERIT, R_PPC_GNU_VTENTRY): New. + (ppc_elf_howto_raw): Handle them. + (ppc_elf_reloc_type_lookup): Likewise. + (ppc_elf_relocate_section): Likewise. + (ppc_elf_check_relocs): Reference count .got and .plt entries. + Handle new vtable relocs. + (ppc_elf_adjust_dynamic_symbol): Recognize unused .plt entries. + (ppc_elf_gc_mark_hook, ppc_elf_gc_sweep_hook): New. + (elf_backend_can_gc_sections): Define. + +Fri Jun 26 10:48:23 1998 Jeffrey A Law (law@cygnus.com) + + * archures.c (bfd_mach_mn10300): Define. + * elf-m10300.c: Include elf/mn10300.h + (elf_mn10300_mach): New function. + (_bfd_mn10300_elf_final_write_processing): Likewise. + (_bfd_mn10300_elf_object_p): Likewise. + (elf_backendfinal_write_processing): Define. + (elf_backend_object_p): Likewise. + +Thu Jun 25 18:31:08 1998 Nick Clifton <nickc@cygnus.com> + + * elf32-v850.c (v850_elf_perform_relocation): Fix HI16_S + relocation. + +Wed Jun 24 17:17:57 1998 Ian Lance Taylor <ian@cygnus.com> + + * elflink.h (elf_bfd_final_link): Loop over input_bfds using the + link_next field, not the next field. + +Sun Jun 21 19:38:39 1998 Ian Lance Taylor <ian@cygnus.com> + + * elf.c (map_sections_to_segments): Check the section address + against the phdr size both with and without a modulo of + maxpagesize. + +Fri Jun 19 17:08:18 1998 Ian Lance Taylor <ian@cygnus.com> + + * elf32-mips.c (mips_elf_size_dynamic_sections): Only strip a + linker created empty input section if the output section has the + same name. + + * elflink.h (elf_link_output_extsym): Print an error message if + _bfd_elf_section_from_bfd_section fails. + + * elf.c (_bfd_elf_section_from_bfd_section): Call bfd_set_error on + failure. + +Tue Jun 16 11:55:55 1998 Ian Lance Taylor <ian@cygnus.com> + + * elf.c (copy_private_bfd_data): Improve handling of Solaris + native linker output. Avoid putting an empty section in more than + one segment. + +Fri Jun 12 13:30:17 1998 Tom Tromey <tromey@cygnus.com> + + * po/Make-in (all-yes): If maintainer mode, depend on .pot file. + ($(PACKAGE).pot): Unconditionally depend on POTFILES. + +Fri Jun 12 13:34:02 1998 Doug Evans <devans@canuck.cygnus.com> + + * elf.c (swap_out_syms): New arg relocatable_p. + Don't add section VMA to symbols for relocatable output. + (_bfd_elf_compute_section_file_positions): Update call to + swap_out_syms. + +Mon Jun 8 15:20:57 1998 Nick Clifton <nickc@cygnus.com> + + * elf32-v850.c (v850_elf_perform_relocation): Make comparisons + against 'addend' be signed rather than unsigned. + +Sat Jun 6 00:31:21 1998 Nick Clifton <nickc@cygnus.com> + + * elf32-m32r.c: Add prototyps for static functions. + + * coff-arm.c: Add prototypes for static functions. + +Fri Jun 5 17:21:51 1998 Nick Clifton <nickc@cygnus.com> + + * elf.c (elf_sort_sections): Sort by LMA first then VMA, since the + LMA is used to order sections in a segment. + + * elf32-v850.c: Add prototypes for static functions. + Change type of addend parameter to bfd_vma in various functions. + +Fri Jun 5 18:09:58 1998 Ian Lance Taylor <ian@cygnus.com> + + * aoutx.h (howto_table_ext): Change RELOC_BASE13 to use + complain_overflow_signed instead of complain_overflow_bitfield. + +Fri Jun 5 15:11:11 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * elf.c (elf_map_symbols): Don't add section VMA to symbol value + when comparing against 0. + +Wed Jun 3 17:52:49 1998 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.am (config.status): New target. + * Makefile.in: Rebuild. + +Wed Jun 3 12:18:24 1998 Stan Cox <scox@equinox.cygnus.com> + + * elf32-sparc.c (elf32_sparc_merge_private_bfd_data): Give an + error if previous object endianness doesn't match current object. + +Tue Jun 2 17:50:59 1998 Nick Clifton <nickc@cygnus.com> + + * elf32-v850.c (v850_elf_print_private_bfd_data): Call + _bfd_elf_print_private)bfd_data (). + +Tue Jun 2 15:29:35 1998 Ian Lance Taylor <ian@cygnus.com> + + * elflink.h (elf_merge_symbol): Don't always set type_change_ok + and size_change_ok. + (elf_link_add_object_symbols): Set type_change_ok and + size_change_ok before calling elf_merge_symbol. + + * elf32-mips.c (mips_elf_relocate_section): If we issue an + undefined symbol error, don't also issue an overflow error. + +Tue Jun 2 13:51:00 1998 Geoff Keating <geoffk@ozemail.com.au> + + * elf32-ppc.c (ppc_elf_relocate_section): The target of an + R_PPC_LOCAL24PC relocation should be local; if not, print an error + message instead of crashing. + +Mon Jun 1 18:23:12 1998 Yuli Barcohen <yuli.barcohen@telrad.co.il> + + * archures.c (bfd_mach_cpu32): Define. + (bfd_default_scan): Add case for 68060. Fix 68332 case to use + bfd_mach_cpu32. + * cpu-m68k.c (arch_info_struct): Add m68k:cpu32. + * ieee.c: Include <ctype.h>. + (ieee_object_p): Parse out process ID string to make it more + likely to be acceptable for bfd_scan_arch. + * bfd-in2.h: Rebuild. + +Mon Jun 1 11:12:02 1998 Nick Clifton <nickc@cygnus.com> + + * elf32-m32r.c (m32r_elf_print_private_bfd_data): Also call + _bfd_elf_print_private_bfd_data() so that the program header will + be displayed. + +Mon Jun 1 12:14:28 1998 Ian Lance Taylor <ian@cygnus.com> + + * peicode.h (coff_swap_sym_in): Check for C_SECTION rather than + 0x68. Reindent. Add some comments. + +Fri May 29 09:58:08 1998 Nick Clifton <nickc@cygnus.com> + + * elf.c (copy_private_bfd_data): Adjust physical address of + segment in output BFD to contain LMAs of its sections. + +Tue May 26 19:37:47 1998 Stan Cox <scox@equinox.cygnus.com> + + * elf32-sparc.c (_bfd_sparc_elf_howto_table, sparc_reloc_map, + elf32_sparc_relocate_section): Added R_SPARC_32LE for little + endian data 32 bit relocations. + (elf32_sparc_merge_private_bfd_data): Check if linking little + endian objects with big endian objects. + (elf32_sparc_object_p): Set bfd_mach_sparc_sparclite_le. + (elf32_sparc_final_write_processing): Set EF_SPARC_LEDATA in e_flags. + * libbfd.h (bfd_reloc_code_real_names): Added BFD_RELOC_SPARC_32LE. + * reloc.c: Same. + * cpu-sparc.c (arch_info_struct): Added sparc:sparclite_le + * archures.c (bfd_mach_sparc_sparclite_le): New. + * bfd-in2.h (BFD_RELOC_SPARC_32LE, bfd_mach_sparc_sparclite_le): New. + +Thu May 21 16:59:28 1998 Nick Clifton <nickc@cygnus.com> + + * peicode.h (add_data_entry): Fix precedence of operators in if () + statement. + +Tue May 19 18:41:19 1998 Ian Lance Taylor <ian@cygnus.com> + + * bfd-in.h: Move over patch to bfd-in2.h. + + * reloc.c (bfd_check_overflow): Add casts before shifts which may + not fit in 32 bits. + (_bfd_relocate_contents): Likewise. + +Mon May 18 14:44:15 1998 Nick Clifton <nickc@cygnus.com> + + * peicode.h (add_data_entry): If the section has no private data + then do not create a Data Dictionary entry for it. + +Mon May 18 00:09:28 1998 Richard Henderson <rth@cygnus.com> + + * elf64-alpha.c (elf64_alpha_relax_section): Set again on changes. + (elf64_alpha_can_merge_gots, elf64_alpha_merge_gots, + elf64_alpha_size_got_sections): Rewrite, handling multiple got + subsections during relaxation more correctly. + +Thu May 14 14:22:58 1998 Nick Clifton <nickc@cygnus.com> + + * bfd-in2.h: Add new prototype: bfd_coff_set_symbol_class (). + Add extra argument to bfd_arm_process_before_allocation (). + * bfd-in.h: Reflect changes made in bfd-in2.h. + * coffgen.c (bfd_coff_set_symbol_class): New function. Set the + coff class of a BFD symbol. + * coff-arm.c: Add support for interworking between Thumb code and + non-interworking aware ARM code. + +Sun May 10 22:33:59 1998 Jeffrey A Law (law@cygnus.com) + + * po/Make-in (install-info): New target. + +Thu May 7 17:40:56 1998 Ian Lance Taylor <ian@cygnus.com> + + * filemode.c: Remove; not used. + + If sysdep.h includes a header file, don't include it again: + * aix386-core.c: Don't include <stdio.h>, <stddef.h>, or + <errno.h>. + * aoutx.h: Don't include <string.h>. Use "sysdep.h" rather than + <sysdep.h>. + * archive.c: Don't include <string.h> or <errno.h>. + * evax-alpha.c; Don't include <stdio.h>. + * evax-egsd.c: Likewise. + * evax-etir.c: Likewise. + * evax-misc.c: Likewise. + * evax-emh.c: Likewise. Also, don't include <sys/types.h>. + * hppabsd-core.c: Don't include <stdio.h>, <sys/types.h>, or + <errno.h>. + * hpux-core.c: Likewise. + * netbsd-core.c: Likewise. + * som.c: Likewise. + * libbfd.c: Don't include <sys/types.h>. + * nlmcode.h: Don't include <string.h>. + * osf-core.c: Don't include <string.h> or <stdio.h>. + * ptrace-core.c: Don't include <stdio.h>, <sys/types.h>, + <errno.h>, or <unistd.h>. + * trad-core.c: Don't include <stdio.h> or <sys/types.h>. + +Thu May 7 13:12:50 1998 Klaus Kaempf <kkaempf@progis.de> + + * configure.com: If the version number can not be found in + configure.in, set it to "unknown" rather than "2.8.1". + +Wed May 6 09:46:05 1998 Gavin Koch <gavin@cygnus.com> + + * elf32-mips.c (elf_mips_mach): New. + (_bfd_mips_elf_object_p): Use elf_mips_mach. + (_bfd_mips_elf_final_write_processing): Use the names + of machines, rather than the numbers. Set both the ARCH + and MACH in e_flags. Handle a few more specific machines. + (_bfd_mips_elf_merge_private_bfd_data): Merge both + EF_MIPS_ARCH and EF_MIPS_MACH. + +Tue May 5 21:01:53 1998 Richard Henderson <rth@cygnus.com> + + * syms.c (bfd_is_local_label): Revert last change. + * srec.c (srec_write_symbols): Discard debugging symbols. + +Tue May 5 23:36:06 1998 Ian Lance Taylor <ian@cygnus.com> + + * som.c: Include <ctype.h>. + * som.h: Don't include sysdep.h. + +Tue May 5 18:29:24 1998 Tom Tromey <tromey@cygnus.com> + + * libbfd.h: Rebuilt. + * libbfd-in.h: Removed gettext includes and defines. + * sysdep.h: Moved gettext-related includes and defines here. + +Tue May 5 16:47:54 1998 Richard Henderson <rth@cygnus.com> + + * srec.c (srec_write_symbols): Use bfd_is_local_label rather than + an ad-hoc test. Kill bogus #if 0 code. + * syms.c (bfd_is_local_label): Consider BSF_DEBUGGING symbols local. + +Mon May 4 16:10:33 1998 Ian Lance Taylor <ian@cygnus.com> + + * sunos.c (sunos_check_dynamic_reloc): Don't use the PLT address + when generating a normal executable for a symbol defined in a + regular file. When copying a reloc into the output file, adjust + the addend for a PC relative reloc against a global symbol. + +Mon May 4 10:08:18 1998 Tom Tromey <tromey@cygnus.com> + + * libbfd.h: Rebuilt. + * libbfd-in.h (_): Define as dgettext. + +Mon May 4 11:02:23 1998 Ian Lance Taylor <ian@cygnus.com> + + * coff-arm.c (coff_arm_relocate_section): Cast to bfd_signed_vma, + not signed. + * peicode.h (pe_saved_coff_bfd_print_private_bfd_data): Use PARAMS + when declaring parameter types. + (pe_saved_coff_bfd_copy_private_bfd_data): Likewise. + +Wed Apr 29 15:35:03 1998 Ian Lance Taylor <ian@cygnus.com> + + * config.bfd: If we include any ELF targets in targ_defvec and/or + targ_selvecs, then add the generic ELF targets to targ_selvecs. + * elf32-gen.c (dummy): New static const variable. + (elf_generic_info_to_howto): New static function. + (elf_generic_info_to_howto_rel): New static function. + (elf_info_to_howto): Define as elf_generic_info_to_howto. + (elf_info_to_howto_rel): Define as elf_generic_info_to_howto_rel. + * elf64-gen.c: Same changes as elf32-gen.c. + * elfcode.h (elf_object_p): For the generic target, ignore a + failure of bfd_default_set_arch_mach. Fix indentation a bit. + +Tue Apr 28 20:05:52 1998 Ian Lance Taylor <ian@cygnus.com> + + * configure.in (WIN32LIBADD): Add -lintl on cygwin32. + * configure: Rebuild. + +Tue Apr 28 12:16:57 1998 Jason Molenda (crash@bugshack.cygnus.com) + + * config.bfd: Update OSR5/Unixware patterns. + +Mon Apr 27 18:02:24 1998 Richard Henderson <rth@cygnus.com> + + * elf.c (assign_file_positions_for_segments): Allow for holes + between sections added by a link script. + +Mon Apr 27 11:49:55 1998 Ian Lance Taylor <ian@cygnus.com> + + * configure.in: Change version number to 2.9.4 + * configure: Rebuild. + + Based on patch from H.J. Lu <hjl@gnu.org>: + * elf.c (bfd_elf_get_bfd_needed_list): New function. + * bfd-in.h (bfd_elf_get_bfd_needed_list): Declare. + * bfd-in2.h: Rebuild. + +Sat Apr 25 20:07:53 1998 Richard Henderson <rth@cygnus.com> + + * elf64-alpha.c (struct alpha_relax_info): Replace elfsym with other. + Change all users. + +Sat Apr 25 18:29:07 1998 Richard Henderson <rth@cygnus.com> + + * elf64-alpha.c (struct alpha_relax_info): Add tsec & elfsym members. + (elf64_alpha_relax_section): Fill them in. + (elf64_alpha_relax_opt_call): Implement more than a stub. + (elf64_alpha_add_symbol_hook): Don't set SEC_LOAD or default + alignment on .scommon. + (elf64_alpha_merge_gots): Merge use counts as well. + +Sat Apr 25 14:07:29 1998 Richard Henderson <rth@cygnus.com> + + * elf64-alpha.c (elf64_alpha_relax_section): Use the proper section + for calculating a local symbol's address. + (elf64_alpha_calc_got_offsets): Skip entries with 0 use count. + Set the .got's cooked size as well as the raw size. + +Fri Apr 24 09:16:00 1998 Nick Clifton <nickc@cygnus.com> + + * elf32-v850.c (v850_elf_print_private_bfd_data): Add + internationalisation of printed information. + + * coff-arm.c (coff_arm_print_private_bfd_data): Add + internationalisation of printed information. + +Fri Apr 24 12:09:18 1998 Ian Lance Taylor <ian@cygnus.com> + + * syms.c (struct indexentry): Change directory_name, file_name, + and function_name fields to char *. + (struct stab_find_info): Change cached_file_name field to char *. + +Thu Apr 23 08:13:04 1998 Nick Clifton <nickc@cygnus.com> + + * peicode.h (dir_names): Add missing N_() macros to dir_names array. + +Wed Apr 22 13:06:15 1998 Tom Tromey <tromey@cygnus.com> + + * po/Make-in (MKINSTALLDIRS): Don't look in $(top_srcdir). + +Wed Apr 22 17:48:48 1998 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.am (install-data-local): Make $(includedir). + * Makefile.in: Rebuild. + +Wed Apr 22 13:06:15 1998 Tom Tromey <tromey@cygnus.com> + + * libbfd-in.h: Use `gettext' and not `dgettext' for now. + +Wed Apr 22 12:53:40 1998 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.am (INCLUDES): Add -I$(srcdir)/../intl -I../intl. + * Makefile.in: Rebuild. + + * bfd-in2.h: Rebuild for Nick's changes. + +Tue Apr 21 23:11:51 1998 Richard Henderson <rth@cygnus.com> + + * archive.c (_bfd_generic_read_ar_hdr_mag): Fix lossage in last + change wrt length == max_namelen. + +Tue Apr 21 21:19:36 1998 Tom Tromey <tromey@scribbles.cygnus.com> + + * Many files: Added gettext invocations around user-visible + strings. + * libbfd-in.h: Added gettext includes and defines. + * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY, + HAVE_LC_MESSAGES): Define. + * configure.in: Call CY_GNU_GETTEXT. Create po/Makefile.in and + po/Makefile. + * Makefile.am (SUBDIRS): Added po. + (POTFILES): New macro. + (po/POTFILES.in): New target. + (SOURCE_HFILES): New macro. + (HFILES): Use it. + * po/Make-in, po/POTFILES.in, po/bfd.pot: New files. + +Tue Apr 21 13:38:18 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * elfcore.h (bfd_prstatus): Copy core_prstatus from the first + NT_PRSTATUS note section encountered, it contains the status of + the currently executing thread when the core file was written. + +Tue Apr 21 10:00:12 1998 Nick Clifton <nickc@cygnus.com> + + * libcoff.h: Add extra parameter to + bfd_coff_link_output_has_begun overrideable function. + * cofflink.c: Pass extra parameter to + bfd_coff_link_output_has_begun function. + * bfd-in.h: Add prototypes for exported ARM interworking + functions. + * peicode.h: ARM specific code reorganised to conform to BFD + coding conventions. + * coffcode.h: ARM specific code reorganised to conform to BFD + coding conventions. + * coff-arm.c: Code reorganised to conform to the BFD coding + conventions. Global variables have been moved into an ARM + specific hash table structure and a new function: + bfd_arm_get_bfd_for_interworking() has been created which is + called from the linker scripts. + +Tue Apr 21 00:11:51 1998 Richard Henderson <rth@cygnus.com> + + * archive.c (_bfd_generic_read_ar_hdr_mag): Simplify end-of-name test. + + * elf64-alpha.c (elf64_alpha_find_reloc_at_ofs): Renamed from + elf64_alpha_relax_find_reloc_ofs. Changed all callers. + (elf64_alpha_add_symbol_hook): Put small commons in .scommon not .sbss. + (elf64_alpha_size_got_sections): Don't merge .got sections twice. + +Sat Apr 18 01:21:04 1998 Stan Cox <scox@cygnus.com> + + * config.bfd: Added sparc86x support. + +Fri Apr 17 22:29:04 1998 Ian Lance Taylor <ian@cygnus.com> + + * elf32-mips.c (mips_elf_relocate_section): Do not complain about + an out of range pc-relative jump/call to an undefined weak symbol. + +Thu Apr 16 13:49:00 1998 Richard Henderson <rth@cygnus.com> + + * elf64-alpha.c (elf64_alpha_do_reloc_gpdisp): Do all gpdisp + comparisons signed. + +Thu Apr 16 11:43:33 1998 Ian Lance Taylor <ian@cygnus.com> + + * archive.c (bfd_generic_archive_p): If a slurp subroutine returns + an error other than bfd_error_system_call, set the error to + bfd_error_wrong_format. + + * targets.c (bfd_target_vector) [SELECT_VECS not defined]: Add + bfd_elf32_powerpcle_vec. + + * elf.c (copy_private_bfd_data): If all the p_paddr fields in the + program segments are zero, don't set p_paddr_valid. + +Wed Apr 15 22:15:16 1998 Richard Henderson <rth@cygnus.com> + + * elf64-alpha.c: Initial implementation of relaxation -- + (struct alpha_elf_link_hash_entry): Add use_count member. + (elf64_alpha_check_relocs): Initialize and increment it. + (elf64_alpha_can_merge_gots): Check it when considering merging. + (elf64_alpha_merge_gots): Drop entries with zero use. + (elf64_alpha_calc_got_offsets_for_symbol): Likewise. + (elf64_alpha_always_size_sections): Split out got sizing ... + (elf64_alpha_size_got_sections): ... here. New function. + (elf64_alpha_relax_find_reloc_ofs): New function. + (elf64_alpha_relax_with_lituse): Likewise. + (elf64_alpha_relax_without_lituse): Likewise. + (elf64_alpha_relax_opt_call): Likewise. + (elf64_alpha_relax_section): Likewise. + (elf64_alpha_add_symbol_hook): Likewise. + (elf64_alpha_howto_table): Implement GPRELHIGH/LOW & IMMED_GP_16. + (elf64_alpha_relocate_section): Likewise. + (bfd_elf64_bfd_relax_section): Define. + (elf_backend_add_symbol_hook): Likewise. + +Wed Apr 15 16:08:46 1998 Richard Henderson <rth@cygnus.com> + + * elf.c (prep_headers): Use new EM_SPARCV9 symbol. + * elf64-sparc.c (ELF_MACHINE_CODE): Likewise. + (ELF_MACHINE_ALT1): New. Set to EM_OLD_SPARC64. + +Wed Apr 15 11:34:33 1998 Ian Lance Taylor <ian@cygnus.com> + + * configure.in: Add -lkernel32 to WIN32LIBADD on cygwin32. + * configure: Rebuild. + +Mon Apr 13 16:46:27 1998 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.am (libbfd_la_LIBADD): Add @WIN32LIBADD@. + (libbfd_la_LDFLAGS): Add @WIN32LDFLAGS@. + * configure.in: Define and substitute WIN32LDFLAGS and + WIN32LIBADD. + * aclocal.m4: Rebuild with new libtool. + * configure, Makefile.in: Rebuild. + +Fri Apr 10 13:44:27 1998 Ian Lance Taylor <ian@cygnus.com> + + * coffcode.h (coff_write_object_contents): Move a PE COMDAT symbol + before any other symbols in the same section. + +Wed Apr 8 14:50:23 1998 Michael Meissner <meissner@cygnus.com> + + * config.bfd (powerpc*-*-*): Remove PowerPC NT support from ELF + systems. + +Tue Apr 7 16:25:31 1998 Gavin Romig-Koch <gavin@cygnus.com> + + * dwarf2.c (comp_unit): Move it earlier in the source. Add + addr_size. + (read_address): Replace 'bdf*' argument with 'comp_unit*' argument. + Use addr_size for address size, rather than sizeof(bfd_vma). + (read_attribute): Replace bdf* argument with 'comp_unit*' argument. + Fix call to read_address. + (decode_line_info): Replace bdf* argument with 'comp_unit*' argument. + Scrap other unneeded arguments. Fix call to read_address. + (scan_unit_for_functions): Fix call to read_attribute. + (parse_comp_unit): We now handle more values for addr_size. + Set addr_size in unit. Fix call to read_attribute and + decode_line_info. + +Tue Apr 7 15:44:47 1998 Gavin Romig-Koch <gavin@cygnus.com> + + * dwarf2.c (parse_comp_unit): Drop use of unit->name when it is null. + +Tue Apr 7 12:35:18 1998 Ian Lance Taylor <ian@cygnus.com> + + * archures.c (bfd_default_scan): Add m68k cases back to default + switch, reverting patch of March 25, since IEEE support depends + upon them. + +Mon Apr 6 14:06:40 1998 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.am (diststuff): New target. + * Makefile.in: Rebuild. + +Sun Apr 5 16:21:44 1998 Jeffrey A Law (law@cygnus.com) + + * som.c (som_bfd_ar_write_symbol_stuff): Fix computation of + som_offset when we have an extended name table. + +Sun Apr 5 16:04:39 1998 H.J. Lu <hjl@gnu.org> + + * Makefile.am (stamp-lib): Check that .libs/libbfd.a exists before + trying to copy it. + * Makefile.in: Rebuild. + +Fri Apr 3 11:09:42 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * elf32-m68k.c (elf_m68k_size_dynamic_sections): Generate section + symbols when creating a shared library. + (elf_m68k_adjust_dynindx): New function, used by above code. + (elf_m68k_finish_dynamic_sections): Initialize the section + symbols. + (elf_m68k_relocate_section): Change abort to BFD_ASSERT. + +Wed Apr 1 16:04:02 1998 Nick Clifton <nickc@cygnus.com> + + * coff-arm.c (in_reloc_p): Use ARM_RVA32 in place of constant + value 11. + +Wed Apr 1 13:36:58 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * elf32-m68k.c (elf_m68k_relocate_section, case R_68K_PLT*O): Fix + assertion. + +Tue Mar 31 00:12:12 1998 Jeffrey A Law (law@cygnus.com) + + * elf-m10300.c (mn10300_elf_relax_section): Correctly handle + absolute symbols. + +Mon Mar 30 12:46:15 1998 Ian Lance Taylor <ian@cygnus.com> + + * configure.in: Set version to 2.9.1. + * configure: Rebuild. + + * Branched binutils 2.9. + +Mon Mar 30 12:20:50 1998 Brent Baccala <baccala@freesoft.org> + + * syms.c (ENABLE_CACHING): Define. + (struct indexentry): Define. + (struct stab_cache): Remove. + (cmpindexentry): New static function. + (struct stab_find_info): Add new fields: indextable, + indextablesize, cached_indexentry, cached_offset, cached_stab, and + cached_file_name. Remove fields: file_cache, function_cache, and + line_cache. + (_bfd_stab_section_find_nearest_line): Rewrite to build a sorted + index table and search it. + +Mon Mar 30 10:39:34 1998 Ian Lance Taylor <ian@cygnus.com> + + * elf.c (_bfd_elf_copy_private_section_data): Call + copy_private_bfd_data once we've seen the last SEC_ALLOC section. + + * cpu-mips.c: Remove trailing comma at end of enumeration list. + +Sat Mar 28 16:33:02 1998 Ian Lance Taylor <ian@cygnus.com> + + * coff-arm.c: Define all globally visible variables and functions + only when COFF_WITH_PE is not defined. + * configure.in (armpe_little_vec, armpe_big_vec): Add + coff-arm.lo. + * configure: Rebuild. + +Fri Mar 27 16:06:02 1998 Ian Lance Taylor <ian@cygnus.com> + + Fix some gcc -Wall warnings: + * aout-arm.c (MY(fix_pcrel_26)): Add casts to avoid warnings. + * archive.c (_bfd_generic_read_ar_hdr_mag): Likewise. + * archures.c (bfd_default_scan): Likewise. + * bfd.c (bfd_scan_vma): Likewise. + * binary.c (mangle_name): Likewise + * coff-arm.c (aoutarm_fix_pcrel_26): Likewise. + * coff-sh.c (sh_relocate_section): Likewise. + * coff-stgo32.c (create_go32_stub): Likewise. + * coffcode.h (coff_slurp_line_table): Likewise. + * ecoff.c (_bfd_ecoff_write_armap): Likewise. + * elf.c (_bfd_elf_make_section_from_shdr): Likewise. + (assign_file_positions_for_segments): Likewise. + * elf32-mips.c (mips_elf_relocate_section): Likewise. + * elf32-ppc.c (ppc_elf_add_symbol_hook): Likewise. + * oasys.c (oasys_write_sections): Likewise. + * ppcboot.c (ppcboot_object_p): Likewise. + (mangle_name): Likewise. + * riscix.c (riscix_fix_pcrel_26): Likewise. + * srec.c (srec_scan): Likewise. + * stabs.c (_bfd_write_section_stabs): Likewise. + * sunos.c (sunos_add_dynamic_symbols): Likewise. + * aout-ns32k.c (_bfd_ns32k_relocate_contents): Add default case to + switch. Declare parameters for function pointers. + * archures.c (bfd_default_scan): Add braces to avoid ambiguous if + warning. + * elf.c (elf_sort_sections): Likewise. + * coff-arm.c (coff_thumb_pcrel_common): Initialize relocation. + Add default cases to switches. + (coff_arm_relocate_section): Remove unused local variables. + Always set rstat. + (coff_arm_bfd_set_private_flags): Change flag variable to type + flagword. + * coff-mips.c (mips_relocate_section): Initialize use_lo. + * coff-ppc.c (ppc_record_toc_entry): Change i to unsigned int. + (dump_toc): Change cat to const, and initialize it. + * coff-sh.c (sh_relax_delete_bytes): Initialize start and voff. + * elf32-sh.c (sh_elf_relax_delete_bytes): Likewise. + (sh_elf_relocate_section): Initialize r_symndx. + * coffcode.h (coff_compute_section_file_positions): Only declare + old_sofar if ALIGN_SECTIONS_IN_FILE. + (coff_write_object_contents): Initialize csym. + * coffgen.c (coff_pointerize_aux): Make type and class unsigned. + * cpu-ns32k.c (_bfd_ns32k_get_displacement): Add default case to + switch. + * dwarf2.c: Include libiberty.h. + (read_2_signed_bytes, read_4_signed_bytes): Comment out. + (decode_line_info): Remove unused local variables. + * elf32-m32r.c (m32r_elf_sda16_reloc): Likewise. + (m32r_elf_relocate_section): Likewise. + * elf32-v850.c (v850_elf_store_addend_in_insn): Likewise. + (v850_elf_reloc): Likewise. + * elf-bfd.h (elf_linker_section_t): Make alignment unsigned. + (struct elf_obj_tdata): Make cverdefs and cverrefs unsigned. + * elf.c (assign_file_positions_for_segments): Always set adjust. + * elf32-d30v.c (bfd_elf_d30v_reloc): Initialize tmp_addr. Fully + parenthesize expression. + * elf32-m32r.c (m32r_elf_relocate_section): Always initialize h. + (m32r_elf_object_p): Return a value. + (m32r_elf_print_private_bfd_data): Change fprintf format string. + * elf32-mips.c (mips_elf_final_link): Initialize last. + (mips_elf_finish_dynamic_sections): Initialize last and dindx. + * elf32-v850.c (v850_elf_object_p): Return a value. + (v850_elf_print_private_bfd_data): Change fprintf format string. + * elfcode.h (elf_slurp_symbol_table): Change symcount and i to + unsigned long. + * elflink.h (elf_link_add_object_symbols): Change vernum to + unsigned int, and initialize it. Change fprintf format string. + (NAME(bfd_elf,size_dynamic_sections)): Cast -1 to bfd_size_type + when setting or comparing to soname_indx. + (elf_create_pointer_linker_section): Change num_symbols to + unsigned int. + * libcoff-in.h (coff_data_type): Change flags to flagword. + * peicode.h (pe_print_idata): Initialize idx. Change j to + bfd_size_type. Initialize hint_member. Remove useless test to + time_stamp. + (pe_print_edata): Change num_functions and num_names in struct + EDT_type to unsigned long. Remove cast. Change fprintf format + string. + * ppcboot.c (ppcboot_object_p): Change i to size_t. + * reloc.c (bfd_get_reloc_size): Change return type to unsigned + int. + * reloc16.c (bfd_coff_reloc16_relax_section): Change shrinks to + int *. Update uses. Change j to long. + * bfd-in2.h, libcoff.h: Rebuild. + +Fri Mar 27 10:10:46 1998 Catherine Moore <clm@cygnus.com> + + * elf32-v850.c Remove definition of USE_REL. + (v850_elf_info_to_howto_rela): New function. + (v850_elf_perform_relocation): Renamed from + v850_elf_store_addend_in_insn. Removed replace argument. + (v850_elf_reloc): store the relocation in the addend field instead + of the insn. + (v850_elf_final_link_relocate): Now calls + v850_elf_perform_relocation. + (v850_elf_relocate_section): Remove code to generate REL + relocations. + +Thu Mar 26 13:32:17 1998 Ian Lance Taylor <ian@cygnus.com> + + * coffcode.h (coff_new_section_hook): Set the type and storage + class in the native symbol information allocated for a new section + symbol. + +Thu Mar 26 10:13:41 1998 Nick Clifton <nickc@cygnus.com> + + * peicode.h: Chain together calls to + coff_bfd_copy_private_bfd_data and + coff_bfd_print_private_bfd_data. + + * coff-arm.c: Add prototypes for + coff_arm_bfd_print_private_bfd_data and + coff_arm_bfd_copy_private_bfd_data. + +Wed Mar 25 15:45:55 1998 Nick Clifton <nickc@cygnus.com> + + * coffcode.h (coff_mkobject_hook): Set private falgs even for a PE + build. + + * peicode.h: Call arm-coff private data functions after handling + pe private data. + + * coff-arm.c: Turn statics into globals so that they can be shared + both pe and pei backends. + +Wed Mar 25 15:19:38 1998 Ian Lance Taylor <ian@cygnus.com> + + * aoutf1.h (sunos_set_arch_mach): Use bfd_mach_m68* rather than + plain numbers. + (sunos_write_object_contents): Likewise. + * aoutx.h (NAME(aout,machine_type)): Likewise. + * coffcode.h (coff_set_arch_mach_hook): Likewise. + +Wed Mar 25 13:59:24 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * archures.c (bfd_mach_m68*): Add definitions for various m68k + variants. + (bfd_default_scan): Remove m68k special cases. + * bfd-in2.h: Rebuild. + * mipsbsd.c (MY(write_object_contents)): Use bfd_mach_m68* rather + than plain numbers. + * sparclynx.c (NAME(lynx,set_arch_mach)): Likewise. + * cpu-m68k.c (arch_info_struct): Likewise. Add entry for + m68k:68000. + (bfd_m68k_arch): Set mach field to zero to signal no explicit + selection, change printable_name to just "m68k" and make that the + default instead of m68k:68020. + + * aout-tic30.c (NAME): Define this to avoid multiple definitions + from aoutx.h. + (MY_get_section_contents): Define as aout_32_get_section_contents + rather than NAME(aout,get_section_contents). + + * elf-m10300.c (elf32_mn10300_link_hash_table_create): Fix cast. + + * evax-alpha.c (evax_set_arch_mach): Only accept bfd_arch_alpha + and call bfd_default_set_arch_mach to do the real work. + +Wed Mar 25 10:41:35 1998 Richard Henderson <rth@cygnus.com> + + * bout.c (BALX): Include return register g14 as part of the insn. + (BALX_MASK): New. + (calljx_callback): Use it. + +Wed Mar 25 11:19:28 1998 Ian Lance Taylor <ian@cygnus.com> + + * libbfd-in.h (BFD_ALIGN): Cast this parameter to bfd_vma. + * libbfd.h: Rebuild. + + * elf-m10300.c (elf32_mn10300_finish_hash_table_entry): Change + byte_count to unsigned int. + (mn10300_elf_relax_section): Initialize internal_relocs. Remove + unused local variables. + + * evax-alpha.c (evax_close_and_cleanup): Remove unused local + variables er and er1. + + * cpu-v850.c: Include <ctype.h>. + (scan): Case isdigit argument to unsigned char. + + From Yan Meroth <YAN.MEROTH@st.com>: + * ihex.c (ihex_scan): Add extbase variable so that getting an + extended linear address record does not ignore any previous + extended address. + (ihex_write_object_contents): When writing out an extended linear + address record, zero out any previous extended address. + +Tue Mar 24 16:09:43 1998 Manfred Hollstein <manfred@s-direktnet.de> + + * ieee.c (do_one): Check section before dereferencing it. + (ieee_canonicalize_reloc): Likewise with src->relent.sym_ptr_ptr. + (ieee_generic_stat_arch_elt): Likewise with abfd->my_archive. + +Mon Mar 23 18:51:47 1998 Joel Sherrill <joel@OARcorp.com> + + * config.bfd: (sh*-*-rtems*): Switched from ELF to COFF. + +Mon Mar 23 14:23:36 1998 Nick Clifton <nickc@cygnus.com> + + * coff-arm.c: Add interworking functions to pe backends. + +Fri Mar 20 18:47:20 1998 Ian Lance Taylor <ian@cygnus.com> + + * configure.in: Use AM_DISABLE_SHARED. + * aclocal.m4, configure: Rebuild with libtool 1.2. + +Fri Mar 20 11:25:41 1998 Nick Clifton <nickc@cygnus.com> + + * coff-arm.c (coff_arm_relocate_section): Better error messages + when interowrking conflucts occur. Courtesy of Jonathan Walton + and Tony Thompson. + (aoutarm_std_reloc_howto): Fixed bitsize fields of rightshifted + relocations. Patch courtesy of Jonathan Walton and Tony + Thompson. + +Fri Mar 20 02:26:43 1998 Richard Henderson <rth@cygnus.com> + + * elf32-sparc.c (elf32_sparc_adjust_dynamic_symbol): Revert + part of Feb 22 change controling when to override the existing + symbol with the .plt entry. + +Wed Mar 18 09:26:25 1998 Nick Clifton <nickc@cygnus.com> + + * config.bfd (targ_cpu): Add thumb-pe target. + + * coffcode.h (OTHER_GLOBAL_CLASS): Support thumb external + functions in PE build. + +Sun Mar 8 23:37:26 1998 Stan Cox <scox@equinox.cygnus.com> + + * config.bfd (sparclite-*-elf*): Added. + +Mon Feb 23 19:31:19 1998 Ian Lance Taylor <ian@cygnus.com> + + * configure.in: Add elf.lo to elf shell variable. + * Makefile.am (BFD_LIBS): Remove elf.lo. + (BFD_LIBS_CFILES): Remove elf.c. + (BFD32_BACKENDS): Add elf.lo. + (BFD32_BACKENDS_CFILES): Add elf.c. + * configure, Makefile.in: Rebuild. + +1998-02-23 15:53 Richard Henderson <rth@cygnus.com> + + * elf32-i386.c (elf_i386_relocate_section): A pc-relative + relocation against a non-local symbol should not have a dynamic + relocation. + +Mon Feb 23 16:17:08 1998 Ian Lance Taylor <ian@cygnus.com> + + * peicode.h (coff_swap_filehdr_in): Don't set BFD flag HAS_SYMS in + COFF filehdr flags. + (pe_print_private_bfd_data): Print PE flags. From Mikey + <jeffdb@netzone.com>. + +Sun Feb 22 20:39:00 1998 Richard Henderson <rth@cygnus.com> + + * elf32-sparc.c (elf32_sparc_adjust_dynamic_symbol): Don't create + a plt entry when we can determine that we authoritatively define + the symbol. + +Sun Feb 22 20:33:05 1998 Richard Henderson <rth@cygnus.com> + + * configure.in (COREFILE selection): Remove sparc-*-linux*. They + don't actually use trad-core, but a SunOS-style core file handled + by gdb directly. + * hosts/sparclinux.h: Remove. + +Wed Feb 18 15:31:06 1998 Ian Lance Taylor <ian@cygnus.com> + + * peicode.h (pe_print_idata): If there is no .idata section, look + for the import tables in some other section. Make the initial + label line up better with the data. Print the import address + table even if there is no import name table. If the import + address table holds actual addresses, print them. + +Tue Feb 17 12:58:34 1998 Ian Lance Taylor <ian@cygnus.com> + + * libbfd.c (bfd_seek): If fseek fails, save errno around call to + bfd_tell. If errno is EINVAL, set bfd_error_file_truncated, not + bfd_error_system_call. + +Fri Feb 13 13:11:33 1998 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.am (AUTOMAKE_OPTIONS): Define. + * configure, Makefile.in, aclocal.m4: Rebuild with automake 1.2e. + + From H.J. Lu <hjl@gnu.org>: + * Makefile.am (libbfd_la_LDFLAGS): Define. + * Makefile.in: Rebuild. + +Thu Feb 12 17:31:11 1998 Ian Lance Taylor <ian@cygnus.com> + + NetBSD patches from Gordon W. Ross <gwr@mc.com>: + * netbsd.h (MACHTYPE_OK): Define. + (MY(write_object_contents)): Use DEFAULT_ARCH and DEFAULT_MID when + calling N_SET_MACHTYPE, rather than having a switch. + * libaout.h (enum machine_type): Add M_PMAX_NETBSD, M_VAX_NETBSD, + and M_ALPHA_NETBSD. + * i386netbsd.c (MACHTYPE_OK): Don't define. + (DEFAULT_MID): Define. + * m68k4knetbsd.c (SEGMENT_SIZE): Don't define. + (MACHTYPE_OK): Don't define. + (DEFAULT_MID): Define. + * m68knetbsd.c: (MACHTYPE_OK): Don't define. + (DEFAULT_MID): Define. + * ns32knetbsd.c (MACHTYPE_OK): Don't define. + (DEFAULT_MID): Define. + * sparcnetbsd.c (MACHTYPE_OK): Don't define. + (DEFAULT_MID): Define. + + NetBSD patches from Gordon W. Ross <gwr@mc.com>: + * vaxnetbsd.c: New file. + * netbsd-core.c: Clean up. Remove unused macros. Use netbsd + rather than netbsd_core. + * targets.c (vaxnetbsd_vec): Declare. + (bfd_target_vector): Add vaxnetbsd_vec. If NETBSD_CORE is + defined, add netbsd_core_vec. + * configure.in: Set COREFILE for alpha*-*-netbsd* and + powerpc-*-netbsd* to netbsd-core.lo. If COREFILE is + netbsd-core.lo, set COREFLAG to -DNETBSD_CORE. + * config.bfd (alpha*-*-netbsd*): New target. + * Makefile.am: Rebuild dependencies. + (BFD32_BACKENDS): Add vaxnetbsd.lo. + (BFD32_BACKENDS_CFILES): Add vaxnetbsd.c. + * configure, Makefile.in: Rebuild. + + * configure.host: Remove the old shared library build stuff. We + now use libtool instead. + +Wed Feb 11 17:13:09 1998 Richard Henderson <rth@cygnus.com> + + * tekhex.c (tekhex_write_object_contents): Call tekhex_init. + +Tue Feb 10 19:23:28 1998 H.J. Lu <hjl@gnu.org> + + * configure.in: Take stab-syms.lo out of sparclinux_vec list. + * configure: Rebuild. + +Tue Feb 10 15:16:38 1998 Nick Clifton <nickc@cygnus.com> + * elf32-v850.c (remember_hi16s_reloc): New function. + (find_remembered_hi16s_reloc): New function. + (v850_elf_store_addend_in_insn): Use the above new functions to + match up HI6S relocs with LO16 relocs. + +Tue Feb 10 15:01:39 1998 Ian Lance Taylor <ian@cygnus.com> + + * configure.in: Change -linux* to -linux-gnu*. + * config.bfd, configure.host: Likewise. + * configure: Rebuild. + +Mon Feb 9 19:40:59 1998 Nick Clifton <nickc@cygnus.com> + + * elf32-v850.c (v850_elf_store_addend_in_insn): Fix another + LO16/HI16S bug and improve comments about what is going on. + +Sat Feb 7 15:27:03 1998 Ian Lance Taylor <ian@cygnus.com> + + * configure, aclocal.m4: Rebuild with new libtool. + +Fri Feb 6 14:48:20 1998 Nick Clifton <nickc@cygnus.com> + + * elf32-v850.c (v850_elf_merge_private_bfd_data): Do not complain + when merging v850 code into v850e/v850ea code. Do not initialise + output flags if the input is the default architecture. + +Fri Feb 6 11:50:22 1998 Jeffrey A Law (law@cygnus.com) + + * elf32-mips.c (bfd_elf32_bfd_reloc_type_lookup): For BFD_RELOC_CTOR + get the size from bfd_arch_bits_per_address instead of directly + from the isa. + +Thu Feb 5 14:21:34 1998 Michael Meissner <meissner@cygnus.com> + + * libbfd-in.h (BFD_ALIGN): If rounding up would cause the address + to wrap, just return all 1's bits instead. + * libbfd.h: Regenerate. + +Thu Feb 5 11:51:05 1998 Ian Lance Taylor <ian@cygnus.com> + + * coff-i386.c (coff_pe_i386_relocate_section): New static function + if COFF_WITH_PE. + (coff_relocate_section): If COFF_WITH_PE, define as + coff_pe_i386_relocate_section. + * coffcode.h (coff_write_object_contents): If COFF_IMAGE_WITH_PE, + skip empty sections, to match coff_write_object_contents. + + * elf64-mips.c (mips_elf64_swap_reloca_out): Swap out r_addend, + rather than swapping out r_offset twice. From Luke Deller + <luked@cse.unsw.edu.au>. + +Wed Feb 4 19:11:28 1998 Ian Lance Taylor <ian@cygnus.com> + + * configure.in: Set libtool_enable_shared rather than + libtool_shared. Remove diversion hack. + * configure, Makefile.in, doc/Makefile.in, aclocal.m4: Rebuild + with new libtool. + +Wed Feb 4 16:10:21 1998 Brent Baccala <baccala@freesoft.org> + + * syms.c (struct stab_cache): Define. + (struct stab_find_info): Remove cached_offset, cached_stab, + cached_str, and cached_stroff fields. Add file_cache, + function_cache, and line_cache fields. + (_bfd_stab_section_find_nearest_line): Use extensive caching to + speed up searches. + +Wed Feb 4 13:34:22 1998 Ian Lance Taylor <ian@cygnus.com> + + * peicode.h (pe_print_idata): Check for import of ordinal rather + than name. + (pe_print_edata): If there is no .edata section, look for the + export data in some other section. + +Mon Feb 2 20:05:42 1998 Jason Molenda (crash@bugshack.cygnus.com) + + * configure.in: Change version to 2.8.4. + * configure: Regenerated. + +Mon Feb 2 17:39:39 1998 Steve Haworth <steve@pm.cse.rmit.EDU.AU> + + Add tms320c30 support: + * cpu-tic30.c: New file. + * aout-tic30.c: New file. + * coff-tic30.c: New file. + * archures.c (bfd_arch_tic30): Define. + (bfd_tic30_arch): Declare. + (bfd_archures_list): Add bfd_tic30_arch. + * targets.c (bfd_target_vector): Add tic30_aout_vec and + tic30_coff_vec. + * reloc.c (BFD_RELOC_TIC30_LDP): Define. + * coffcode.h (coff_set_arch_mach_hook): Add tic30 case. + (coff_set_flags): Likewise. + * config.bfd (tic30-*-*aout*, tic30-*-*coff*): New targets. + * configure.in (tic30_aout_vec, tic30_coff_vec): New vectors. + * Makefile.am: Rebuild dependencies. + (ALL_MACHINES): Add cpu-tic30.lo. + (ALL_MACHINES_CFILES): Add cpu-tic30.c. + (BFD32_BACKENDS): Add aout-tic30.lo and coff-tic30.lo. + (BFD32_BACKENDS_CFILES): Add aout-tic30.c and coff-tic30.c. + * configure, Makefile.in, bfd-in2.h, libbfd.h: Rebuild. + +Mon Feb 2 12:25:12 1998 Nick Clifton <nickc@cygnus.com> + + * elf32-v850.c (v850_elf_store_addend_in_insn): Allow HI16_S reloc + to lag behind LO16 reloc by a couple of instructions. + +Mon Feb 2 14:09:46 1998 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.am ($(srcdir)/bfd-in2.h): Add dummy command to force + make to reexamine the file timestamp. + ($(srcdir)/libbfd.h, $(srcddir)/libcoff.h): Likewise. + + * elf64-alpha.c (ELF_MAXPAGESIZE): Change to 0x10000 from + 0x100000. + +Fri Jan 30 19:07:07 1998 Geoff Keating <geoffk@ozemail.com.au> + + * elf32-ppc.c (ppc_elf_create_dynamic_sections): New procedure + to create .dynsbss and .rela.sbss sections. + (ppc_elf_adjust_dynamic_symbol): Put space for small data to be + copied from dynamic objects into .sbss. + (ppc_elf_size_dynamic_sections): Strip .rela.sbss if we don't + use it. Correct typo of .rela.sdata2. + (ppc_elf_finish_dynamic_symbol): Generate reloc to where we + put the data, which may now be in .sbss. + (ppc_elf_relocate_section): A SDAREL16 reloc can be in dynsbss. + (elf_backend_create_dynamic_sections): Define as + ppc_elf_create_dynamic_sections. + + * elf32-ppc.c (ppc_elf_check_relocs): Don't emit R_PPC_REL* relocs + against _GLOBAL_OFFSET_TABLE_. + (ppc_elf_relocate_section): Don't emit R_PPC_REL32 relocs in + shared libraries which refer to local symbols. Make sure that the + test for allocating space for a reloc in a shared object is the + same as the test for emitting a reloc. + +Thu Jan 29 15:55:35 1998 J.J. van der Heijden <J.J.vanderHeijden@student.utwente.nl> + + * config.bfd (i[3456]-*-mingw32*): New target. + * acinclude.m4 (BFD_BINARY_OPEN): Check for mingw32. + * aclocal.m4, configure: Rebuild. + +Wed Jan 28 13:41:26 1998 Ian Lance Taylor <ian@cygnus.com> + + * elf.c (_bfd_elf_close_and_cleanup): Only check the strtab if we + have a bfd_object. + +Tue Jan 27 21:43:55 1998 Richard Henderson <rth@cygnus.com> + + Sparc v9 ABI compliant PLT: + * elf64-sparc.c (PLT_HEADER_SIZE): V9 ABI uses 4 entries. + (plt_templates, sparc64_elf_build_plt_entry): Delete. + (LARGE_PLT_THRESHOLD): New define. + (GOT_RESERVED_ENTRIES): V9 ABI only uses 1. + (sparc64_elf_build_plt): New function. + (sparc64_elf_plt_entry_offset): Likewise. + (sparc64_elf_plt_ptr_offset): Likewise. + (sparc64_elf_adjust_dynamic_symbol): Change h->plt_offset to + contain the index for convenience. Skip the initial entries + in .rela.plt. + (sparc64_elf_size_dynamic_sections): Zero the allocated contents + memory for the benefit of .rela.plt. + (sparc64_elf_relocate_section): Call sparc64_elf_plt_entry_offset. + (sparc64_elf_finish_dynamic_symbol): Kill template stuff. Use + sparc64_elf_plt_entry_offset & sparc64_elf_plt_ptr_offset for reloc. + (sparc64_elf_finish_dynamic_sections): DT_PLTGOT points to .plt. + Call sparc64_elf_build_plt. + (elf_backend_want_got_plt): No. + (elf_backend_plt_readonly): No. + (elf_backend_plt_alignment): 8. + + * elf.c (_bfd_elf_close_and_cleanup): New function; free the shstrtab. + * elf-bfd.h (_bfd_elf_close_and_cleanup): Declare it. + * elfxx-target.h (bfd_elfNN_close_and_cleanup): Arrange for it + to be called. + +Tue Jan 27 21:45:15 1998 Jeffrey A Law (law@cygnus.com) + + * archures.c (bfd_mach_mips*): Add definitions for various MIPS + processors. + * cpu-mips.c (arch_info_struct): Add mips variants. + * bfd-in2.h: Rebuilt. + +Tue Jan 27 15:06:04 1998 Nick Clifton <nickc@cygnus.com> + + * coff-arm.c (coff_arm_relocate_section): Preserve the contents of + t2a3_b_insn. + +Tue Jan 27 12:47:27 1998 Robert Lipe <robertl@dgii.com> + + * config.bfd (i[3456]86-sco3.2v5*): ELF now the default. + (i[3456]86sco3.2v5*coff): New target. + +Mon Jan 26 15:41:30 1998 Ian Lance Taylor <ian@cygnus.com> + + * bfd-in2.h: Rebuild with changes to chew--tab expansion. + +Thu Jan 22 21:26:48 1998 Richard Henderson <rth@cygnus.com> + + * bfd.c (bfd_get_error_handler): Add orthogonal function. + * bfd-in2.h: Regenerate. + +Thu Jan 22 21:13:39 1998 Richard Henderson <rth@cygnus.com> + + * tekhex.c (tekhex_write_object_contents): Check for no symbols. + +Wed Jan 21 21:19:03 1998 Ian Lance Taylor <ian@cygnus.com> + + * coff-i386.c (coff_i386_rtype_to_howto): If COFF_WITH_PE, don't + adjust addend for an output common symbol (from Jimmy Blair + <jimmyb@wrs.com>). If COFF_WITH_PE, adjust addend for PC relative + defined symbol to counteract adjustment made in generic relocation + code. + + * dwarf2.c: Include sysdep.h, not stdio.h and stdlib.h. + +Wed Jan 21 21:16:06 1998 Manfred Hollstein <manfred@s-direktnet.de> + + * coff-m88k.c (GET_SCNDHR_NRELOC): Fix typo in macro name. + (GET_SCNDHR_NLNNO): Likewise. + +Mon Jan 19 12:49:52 1998 Ian Lance Taylor <ian@cygnus.com> + + * cpu-sh.c (arch_info_struct): Correct next field of sh3e. + +Wed Jan 14 17:23:27 1998 Nick Clifton <nickc@cygnus.com> + + * elf32-m32r.c: Add macros to handle NOP insertion. + +Wed Jan 14 16:15:22 1998 Richard Henderson <rth@cygnus.com> + + * xcofflink.c (xcoff_mark_symbol): Don't mark the absolute section. + (xcoff_mark): Likewise. + (xcoff_build_ldsyms): Mark absolute symbols. + +Wed Jan 14 16:03:11 1998 Richard Henderson <rth@cygnus.com> + + * bout.c (b_out_write_object_contents): Sort symbols before output + to keep {CALL,BAL}NAME symbols adjacent. + (b_out_symbol_cmp): New function. + +For older changes see ChangeLog-9697 + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 0587b4e..3a8257e 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -991,7119 +991,9 @@ Fri Apr 7 15:56:57 2000 Andrew Cagney <cagney@b1.cygnus.com> 2000-01-03 Nick Clifton <nickc@cygnus.com> * binutils.texi: Document new, ARM specific disassembler - command line switch "-M force-thumb". - -1999-12-28 Nick Clifton <nickc@cygnus.com> - - * readelf.c: Update with new constants added by Oct 4, 1999 - ELF ABI draft. - (guess_is_rela): Add new machine codes, but leave - rel type undetermined. - (get_machine_name): Add new machine codes. - (get_section_type_name): Add new section types. - (get_elf_section_flags): New function: Decode section flags. - (process_section_headers): Call get_elf_section_flags() in - order to decode flags in section header. - (get_dynamic_flags): New function: Decode dynamic section - flags. - (process_dynamic_section): Display flags (if present). - (get_symbol_type): Add STT_COMMON. - (get_symbol_visibility): New function: Decode a symbol's - visibility. - (process_symbol_table): Call get_symbol_visibility(). - (get_note_type): Add NT_PRXFPREGS. - -1999-12-26 Ian Lance Taylor <ian@zembu.com> - - * strings.c (main): Correct handling of numeric argument. - -1999-12-23 Andrew Haley <aph@cygnus.com> - - * dlltool.c (mtable): mcore how_jtab_roff is 4 bytes into the - jtab; was 8. - -1999-12-17 Nick Clifton <nickc@cygnus.com> - - * dlltool.c (mtable): Stop compile time warnings about missing - initialisers. - (yyerror): Stop compile time warnings about unused paramater. - (INIT_SEC_DATA): New macro: initialise an entry in the secdata - array. - (secdata): Stop ccompile time warnings about uninitialised - fields. - (dtab): Stop compile time warnings about unused parameter. - (long_options): Stop compile time warning about missing - initialiser. - -1999-12-10 Nick Clifton <nickc@cygnus.com> - - * readelf.c (print_vma): Support native 64bit ELF systems. - -1999-12-09 Nick Clifton <nickc@cygnus.com> - - * dlltool.c (mtable): Add epoc-arm specific entry. - Make default arm entry pass -mpacs-26 to assembler. - (flush_page): Do not mangle null entries. - -1999-12-07 H . J . Lu hjl@valinux.com - - * readelf.c: Fix compile time warnings. Support more than 999 - symbols. - -1999-12-03 Nick Clifton <nickc@cygnus.com> - - * readelf.c (enum print_mode): New type. - (print_vma): New function. - (dump_relocations): Use print_vma to display bfd_vma values. - (process_file_header): Use print_vma to display bfd_vma values. - (process_program_headers): Use print_vma to display bfd_vma values. - (process_section_headers): Use print_vma to display bfd_vma values. - (dynamic_segment_parisc_val): Use print_vma to display bfd_vma values. - (process_dynamic_segment): Use print_vma to display bfd_vma values. - (process_symbol_table): Use print_vma to display bfd_vma values. - (process_mips_specific): Use print_vma to display bfd_vma values. - -1999-11-25 Fred Fish <fnf@cygnus.com> - - * readelf.c (process_note): Change arg from Elf_External_Note - to Elf32_Internal_Note, which also turns the function body - into little more than a call to printf. - (process_corefile_note_segment): Substantially rewritten - to properly handle case where target and host are different - endianness, handle note sections with padding, and add some - cruft to handle notes with unterminated name data. - -1999-11-22 Nick Clifton <nickc@cygnus.com> - - * objcopy.c (copy_usage): Reformat. - (strip_usage): Reformat. - -1999-11-21 Nick Clifton <nickc@cygnus.com> - - * objdump.c (usage): Overhaul output: One line per switch. - Textual description of each switch. Distinguish between - optional switches and required switches. - (long_options): Add 'g', 'G' and 'z' short options. - (main): Distinguish between optional switches and required - switches. - - * binutils.texi: Add -g -G and -z short options for - --debugging, --stabs and --disassemble-zeroes. - -1999-11-03 Nick Clifton <nickc@cygnus.com> - - * dlltool.c (flush_page): Clip short values to prevent warnings - from the assembler. - Change default mcore machine name to 'mcore-le' and rename - big-endian version to 'mcore-be'. - -1999-10-27 Fred Fish <fnf@cygnus.com> - - * objdump.c (display_bfd): Break into two functions. The - actual dumping code moves to dump_bfd. If bfd is not - unambiguously recognized as a bfd_object, attempt to dump - it as a bfd_core. - (dump_bfd): New function. - -1999-10-26 Nick Clifton <nickc@cygnus.com> - - * dlltool.c (assemble_file): Remove spurious test of exp_name. - -1999-10-22 Nick Clifton <nickc@cygnus.com> - - * dlltool.c (struct mac): Add new field 'how_default_as_switches'. - (mtable): Initialise new field. Some machines have a non empty - string for this field. - (HOW_BFD_TARGET): Undefine and replace with... - (HOW_BFD_READ_TARGET): New macro: bfd target to use when opening a - file for reading. This is set to 0 so that any recognisable bfd - format can be read. - (HOW_BFD_WRITE_TARGET): New macro: bfd target to use when opening - a file for writing. This is set to the target machine type. - (ASM_SWITCHES): New macro: default switches to use when assembling - a file. - (assemble_file): New function: Assemble a source file into a - destination object file. - (gen_exp_file): Use assemble_file to create the exp file. - (make_one_lib_file): Use assemble_file to create the lib file. - Open output file use HOW_BFD_WRITE_TARGET and input files using - HOW_BFD_READ_TARGET. - (make_head): Use assemble_file to create the head file. - (make_tail): Use assemble_file to create the tail file. - (gen_lib_file): Open output file use HOW_BFD_WRITE_TARGET. - -1999-10-15 Ian Lance Taylor <ian@zembu.com> - - * ar.c (normalize): Fix full_pathname code. - -1999-10-08 Ben Elliston <bje@cygnus.com> - - * binutils.texi: Some rewording and clarifications. - -1999-09-15 Ulrich Drepper <drepper@cygnus.com> - - * readelf.c (dynamic_segment_parisc_val): Print 0 for DLD_FLAGS if - the value is zero. - (process_symbol_table): Don't print histogram if hash table is empty. - -1999-09-15 Ulrich Drepper <drepper@cygnus.com> - - * readelf.c (get_parisc_dynamic_type): Handle DT_HP_GST_* values. - -1999-09-02 Ulrich Drepper <drepper@cygnus.com> - - * readelf.c (get_symbol_type): Add support for HPUX and PARISC - specific symbol types. - - * readelf.c: Add HPUX and PARISC extensions to dynamic and program - header table printing. - - * readelf.c (get_machine_flags): Add handling of PARISC. - -1999-09-29 Mumit Khan <khan@xraylith.wisc.edu> - - * dlltool.c (scan_drectve_symbols): Handle type tags in exported - symbols. - (scan_filtered_symbols): Likewise. - -1999-09-19 Ian Lance Taylor <ian@zembu.com> - - * resrc.c (write_rc_rcdata): Fix local variable shadowing - problem. If RCDATA_BUFFER data can be read as strings, modify - code to print the strings as comments. - * resres.c: Add casts to avoid warnings. - (write_res_data, read_res_data): Don't put the program name in the - error message; fatal already puts it there. - -1999-09-14 Michael Meissner <meissner@cygnus.com> - - * configure.in (Canonicalization of target names): Remove adding - ${CONFIG_SHELL} in front of $ac_config_sub, since autoconfig 2.14 - generates $ac_config_sub with a ${CONFIG_SHELL} already. - * configure: Regenerate. - -1999-09-12 Ian Lance Taylor <ian@zembu.com> - - * ar.c (main): Clear output_file if we don't change the archive. - (delete_members, replace_members): Likewise. - -1999-09-12 Donn Terry <donn@interix.com> - - * objdump.c (dump_headers): If wide_output, print Flags header. - - * objdump.c (dump_section_header): Print any comdat information. - - * objcopy.c (parse_flags): Handle "noload", "debug", and "share". - * binutils.texi, objcopy.1: Document new flags. - - * ar.c (counted_name_mode): New static variable. - (counted_name_counter): New static variable. - (map_over_members): Handle counted mode. - (usage): Mention N modifier. - (main): Handle N modifier. - (delete_members): Handle counted mode. - * binutils.texi, ar.1: Document N modifier. - - * ar.c (print_contents): Change printing of member name for - POSIX.2 conformance. - - * ar.c (output_filename): Make const. - (open_inarch): If creating a new empty archive, set - output_filename. - -1999-09-12 Ian Lance Taylor <ian@zembu.com> - - * ar.c (full_pathname): New static variable. - (map_over_members): Call normalize on command line parameter. - (usage): Mention P modifier. - (normalize): If full_pathname is true, don't do anything. - (main): Accept P modifier. - (delete_members): Call normalize on command line parameter. - * binutils.texi, ar.1: Document P modifier. - -1999-09-09 Andreas Schwab <schwab@suse.de> - - * binutils.texi: Add info dir entries for all programs described - here. Fix arguments of @var to not contain punctuation. - -1999-09-06 Donn Terry <donn@interix.com> - - * nm.c (print_symbol_info_bsd): Check for 'w' as well as 'U'. - (print_symbol_info_sysv): Likewise. - (print_symbol_info_posix): Likewise. - -1999-09-04 Steve Chamberlain <sac@pobox.com> - - * readelf.c: Include "elf/pj.h". - (dump_relocations): Handle EM_PJ. - (get_machine_name): Likewise. - (get_machine_flags): Likewise. - -1999-08-31 Scott Bambrough <scottb@netwinder.org> - - * readelf.c (get_note_type): New function: Decode the e_type - value of a note. - (process_note): New function: Display the contents of a core note. - (process_corefile_note_segment): New function. - (process_corefile_note_segments): New function. - (process_corefile_contents): New function. - (process_file): Add call to process_corefile_contents. - (parse_args): Add parsing of -n/--notes command line switch. - (usage): Document new command line switch. - - * binutils.texi: Documemnt new command line switch to readelf. - -1999-08-31 Ian Lance Taylor <ian@zembu.com> - - * binutils.texi (Bug Reporting): Clarify that large files should - not be sent to bug-gnu-utils. - -1999-08-28 Stephane Carrez <stcarrez@worldnet.fr> - - * readelf.c (process_extended_line_op): New parameter pointer_size, - read the address according to pointer_size. - (debug_line_pointer_size): New global to indicate the - size of address in .debug_line section. - (debug_displays, prescan_debug_info): Prescan the .debug_info section - to record the size of address in `debug_line_pointer_size'. - (process_section_contents): Before dumping any section, execute - the pre-scan operation defined for some debug sections. - -1999-08-27 Jim Wilson <wilson@cygnus.com> - - * readelf.c (display_debug_lines): Use i-1 not i in standard_opcodes - access. - (display_debug_aranges): New local excess. Use for calculating padding - and add that into ranges. Break from loop only if length is also 0. - -1999-08-27 Jim Wilson <wilson@cygnus.com> - - * readelf.c (display_debug_lines, case DW_LNS_const_add_pc): Multiply - adv by info.li_min_insn_length. - -1999-08-26 Jakub Jelinek <jj@ultra.linux.cz> - - * readelf.c (get_sparc64_dynamic_type): New function. - (get_dynamic_type): Use it. - -1999-08-26 Jim Wilson <wilson@cygnus.com> - - * readelf.c (display_debug_lines, case default): Change second line - setting adv to use = not +=. - -1999-08-19 Nick Clifton <nickc@cygnus.com> - - * dlltool.c: Added more examples to the comment at the start. - -1999-08-18 Nick Clifton <nickc@cygnus.com> - - * dlltool.c (make_head): Only emit interworking directive if - necessary. - -Thu Jul 15 22:44:21 1999 Hans-Peter Nilsson <hp@bitrange.com> - - * readelf.c (process_abbrev_section): Handle standard-conforming - single zero at the end of the section. - -1999-08-09 Ian Lance Taylor <ian@zembu.com> - - * objdump.c (exit_status): New static variable. - (nonfatal): New static function. - (disassemble_data): Set exit_status on error. - (read_section_stabs): Likewise. - (display_bfd): Likewise. Call nonfatal rather than bfd_nonfatal. - (display_file): Call nonfatal rather than bfd_nonfatal. - (display_target_list, display_info_table): Likewise. - (main): Return exit_status rather than 0. - -1999-08-08 Ian Lance Taylor <ian@zembu.com> - - * objdump.c (dump_section_header): Update for renaming of - SEC_SHORT to SEC_SMALL_DATA. Print SEC_SHARED flag. - - From Eli Zaretskii <eliz@gnu.org>: - * binutils.texi: Document cxxfilt as MS-DOS name for c++filt. - - * configure.in: Define and substitute DEMANGLER_NAME. - * Makefile.am (DEMANGLER_PROG): Set to cxxfilt. - (man_MANS): Use DEMANGLER_NAME rather than DEMANGLER_PROG. - (bin_PROGRAMS): Remove $(DEMANGLER_PROG). - (noinst_PROGRAMS): Add $(DEMANGLER_PROG). - (cxxfilt_SOURCES): Rename from c__filt_SOURCES. - (cxxfilt_LDADD): Rename from c__filt_LDADD. - ($(DEMANGLER_NAME).1): Rename from $(DEMANGLER_PROG).1. Use - DEMANGLER_NAME rather than DEMANGLER_PROG in substitution. - (MOSTLYCLEANFILES): Use DEMANGLER_NAME rather than - DEMANGLER_PROG. - (install-exec-local): When installing noinst_PROGRAMS, change - cxxfilt to $(DEMANGLER_NAME). - * configure, Makefile.in: Rebuild. - - * Makefile.am: Rename .dep* files to DEP*. Change DEP variable to - MKDEP. - * Makefile.in: Rebuild. - -1999-08-05 Donn Terry <donn@interix.com> - - * Makefile.am (YACC): If bison is not in the source tree, use - @YACC@ rather than bison -y. - (LEX): If flex is not in the source tree, use @LEX@ rather than - flex. - * configure.in: Build dlltool for i[3-6]86-*-interix. - * Makefile.in, configure: Rebuild. - -1999-07-21 Ian Lance Taylor <ian@zembu.com> - - From Mark Elbrecht: - * configure.bat: Remove; obsolete. - -1999-07-16 Jakub Jelinek <jj@ultra.linux.cz> - - * readelf.c (get_machine_flags): Print EF_SPARC_SUN_US3. - -1999-07-15 Ian Lance Taylor <ian@zembu.com> - - * configure.in: Bump version number to 2.9.5. - * configure: Rebuild. - -1999-07-14 Richard Henderson <rth@cygnus.com> - - * objdump.c (dump_section_header): Print SEC_SHORT. - -1999-07-11 Ian Lance Taylor <ian@zembu.com> - - * Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSED - 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-09 Nick Clifton <nickc@cygnus.com> - - * readelf.c: Only support decoding 64bit ELF files if the compiler - supports a 64 bit data type. - Add -I equivalent for --histogram. - Add -A command-line option to display architecture specific information. - -1999-07-08 Jakub Jelinek <jj@ultra.linux.cz> - - * 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 Ian Lance Taylor <ian@zembu.com> - - * stabs.c (parse_stab_type): Fix handling of template names with - template parameters containing `::'. - (stab_demangle_type): Handle a qualified name in a pointer to - member. - -1999-06-23 Ian Lance Taylor <ian@zembu.com> - - * Makefile.am (dlltool_SOURCES): Add dyn-string.c. - * Makefile.in: Rebuild. - -1999-06-23 Mumit Khan <khan@xraylith.wisc.edu> - - * 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 Ian Lance Taylor <ian@zembu.com> - - Based on patches from Mumit Khan <khan@xraylith.wisc.EDU>: - * 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. - -Mon Jun 21 16:49:11 1999 Jeffrey A Law (law@cygnus.com) - - * readelf.c (dump_relocations): Use elf_hppa_reloc_type instead of - elf32_hppa_reloc_type. - -1999-06-17 Nick Clifton <nickc@cygnus.com> - - * dlltool.c (mcore_elf_gen_out_file): Link object files with the - .exp file, not the .lib file. - -Fri Jun 18 20:17:51 1999 Mumit Khan <khan@xraylith.wisc.edu> - - * deflex.l: Accept single-character symbol names. - -1999-06-16 Nick Clifton <nickc@cygnus.com> - - * readelf.c (get_symbol_type): Detect ARM symbols typed as Thumb - functions. - -1999-06-14 Nick Clifton <nickc@cygnus.com> - - * objdump.c (disassembler_options): New variable. - (usage): Document new -M/--disassembler-options option. - (long_options): Add --disassembler-options. - (disassemble_data): Initialise disassembler_options field of - disassembler_info structure. - (main): Add parsing of -M option. - - * binutils.texi: Document new command line switch to objdump. - - * NEWS: Describe new command line switch to objdump. - - -Mon Jun 14 10:27:54 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - - * binutils.texi: Fix typos. - -1999-06-13 Ian Lance Taylor <ian@zembu.com> - - * objdump.c (disassemble_bytes): If the disassembler returns an - error, print out anything it may have printed to the buffer. From - H.J. Lu <hjl@gnu.org>. - - * 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 - (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 Ian Lance Taylor <ian@zembu.com> - - * rename.c (smart_rename): Fix test of whether file exists. - -1999-05-06 Nick Clifton <nickc@cygnus.com> - - * objdump.c (disassemble_data): Set display_endian based on target - endianism. - -1999-05-05 Catherine Moore <clm@cygnus.com> - - * dlltool.c (interwork): Remove. - (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 Catherine Moore <clm@cygnus.com> - - * readelf.c (get_machine_flags): Check for EF_CPU32. - (get_data_encoding): Fix typo. - -1999-04-26 Tom Tromey <tromey@cygnus.com> - - * aclocal.m4, configure: Updated for new version of libtool. - -1999-04-18 Ian Lance Taylor <ian@zembu.com> - - * stabs.c (parse_stab_range_type): Correct parenthesization in - BFD64 case. - - * readelf.c (get_section_type_name): Use correct types in printf - formats. - (process_relocs): Likewise. - (process_dynamic_segment): Likewise. - (process_symbol_table): Likewise. - (process_mips_specific): Likewise. - -Tue Apr 13 21:22:00 1999 Catherine Moore <clm@cygnus.com> - - * dlltool.c (make_one_lib_file): Mark thumb functions as - C_THUMBEXTFUNC. - -1999-04-11 Richard Henderson <rth@cygnus.com> - - * bucomm.h (environ): Declare it, if needed. - (alloca) [C_ALLOCA]: Don't use gcc's builtin or <alloca.h>. - * configure.in (environ): Detect declaration. - * nm.c (main): Don't declare environ. - * configure, config.in: Rebuild. - - * dlltool.c (gen_exp_file): Pad out the .reloc section to a - 32-byte boundary with dummy relocations, to make the BeOS loader - happy. Patch from Bob Manson <manson@charmed.cygnus.com>. - -1999-04-08 Tom Tromey <tromey@cygnus.com> - - * binutils.texi (c++filt): Updated for -j/--java, and hp/edg - formats. - -1999-04-08 Nick Clifton <nickc@cygnus.com> - - * readelf.c: Add ability to decode new constants found in April 25 - 1998 Draft of System V ABI spec. - -1999-04-06 Ian Lance Taylor <ian@zembu.com> - - * bucomm.h (LC_MESSAGES): Never define. - * addr2line.c (main): Don't pass LC_MESSAGES to setlocale if the - system does not define it. - * ar.c (main): Likewise. - * coffdump.c (main): Likewise. - * dlltool.c (main): Likewise. - * nlmconv.c (main): Likewise. - * nm.c (main): Likewise. - * objcopy.c (main): Likewise. - * objdump.c (main): Likewise. - * size.c (main): Likewise. - * srconv.c (main): Likewise. - * strings.c (main): Likewise. - * sysdump.c (main): Likewise. - * windres.c (main): Likewise. - * readelf.c (main): Call locale setting functions. - -1999-04-05 Nick Clifton <nickc@cygnus.com> - - * readelf.c (decode_location_expression): Fix DW_OP_const8{s|u} - decodes. - -1999-04-04 Ian Lance Taylor <ian@zembu.com> - - * rename.c: New file, copied out of objcopy.c with a few changes. - * bucomm.h (set_times, smart_rename): Declare. - * ar.c: Don't include <utime.h>. - (extract_file): Call set_times rather than utime. - (write_archive): Call smart_rename rather than unlink and rename. - * objcopy.c: Don't include <utime.h>. - (simple_copy, smart_rename, set_times): Move to rename.c. - (strip_main): Update smart_rename call for new parameter. - (copy_main): Likewise. - * Makefile.am: Rebuild dependencies. - (CFILES): Add rename.c. - (objcopy_SOURCES, strip_new_SOURCES): Add rename.c. - (ar_SOURCES, ranlib_SOURCES): Add rename.c. - * Makefile.in: Rebuild. - - * Makefile.am: Rebuild dependencies. - (EXTRA_PROGRAMS): Remove backslash which troubles current version - of automake. - * Makefile.in: Rebuild. - - * dllwrap.c (main): Expect correct type in format string. - * resres.c: Include "bfd.h", "bucomm.h", "libiberty.h", and - <time.h>. Don't include <stdio.h> and <errno.h>. - (write_res_file): Remove unused locals e and i. - (read_resource_entry): Remove unused locals rtype and n. - (read_unistring): Remove unused local n. - -1999-04-03 Ian Lance Taylor <ian@zembu.com> - - * arparse.y: Declare yylex. - * objdump.c (disassemble_bytes): Initialize bytes. Add comment - for incorrect use of bytes. - * readelf.c: Change many formats to avoid warnings. - -1999-04-01 Nick Clifton <nickc@cygnus.com> - - * readelf.c (reset_state_machine): New function. Resets the - registers of the source line number state machine. - (process_extended_line_op): Use state machine. - (display_debug_lines): Use state machine. Handle multiple line - number blocks within the same section. - -1999-03-29 Jason Merrill <jason@yorick.cygnus.com> - - * readelf.c (process_extended_line_op): end_sequence also resets - the line number. - (display_debug_lines): advance_line takes a signed operand. - (read_and_display_attr): Print refs as <%x>, addresses as %#x, - others as %d. Handle other location expression attributes. - (display_debug_info): Handle nesting. Always print the offset. - -1999-03-23 Ian Lance Taylor <ian@zembu.com> - - * objcopy.c (filter_symbols): When checking whether to keep a - symbol, check the BFD section symbol for a symbol with - BSF_SECTION_SYM set. - -1999-03-10 Ulrich Drepper <drepper@cygnus.com> - - * readelf.c (process_dynamic_segment): Print new Solaris dynamic - section entries. Correct printing of DT_POSFLAG_1 and DT_FLAGS_1. - -1999-03-10 Nick Clifton <nickc@cygnus.com> - - * readelf.c (request_dump): New function. - Removed arbitary limit on the number of sections that can be - dumped. - -Wed Mar 10 15:10:14 1999 Stan Cox <scox@cygnus.com> - - * dlltool.c (make_one_lib_file): Use %05d to output the stub name so - order in the import library is preserved. - -1999-02-19 Nick Clifton <nickc@cygnus.com> - - * readelf.c: Fix compile time warings. - -1999-02-17 DJ Delorie <dj@cygnus.com> - - * resbin.c (res_to_bin_versioninfo): Instead of entering a value - length of zero in a version info string, enter the appropriate - length. - -Tue Feb 16 16:00:33 1999 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Require autoconf 2.13. Change AM_PROG_INSTALL to - AC_PROG_INSTALL. Add comments for AC_DEFINE calls. - * acconfig.h: Remove. - * aclocal.m4: Rebuild. - * configure: Rebuild. - * Makefile.in: Rebuild. - * config.in: Rebuild. - -1999-02-02 Nick Clifton <nickc@cygnus.com> - - * readelf.c (read_and_display_attr): Add display of basic type - encodings. - (display_debug_aranges): New function: Display the contents of a - .debug_aranges section. - (display_debug_info): Dump tags found after compunit entry. - - * binutils.texi: Fixed bug in readelf documentation. - -Mon Feb 1 12:38:01 1999 Catherine Moore <clm@cygnus.com> - - * readelf.c (dump_relocations): Handle EM_ARM as REL. - -1999-01-29 Nick Clifton <nickc@cygnus.com> - - * readelf.c (process_symbol_table): Do not produce a histogram of - bucket chains if none were found. - -1999-01-27 Nick Clifton <nickc@cygnus.com> - - * version.c: Add 1999 copyright. - - * binutils.texi (readelf): Document new command line options - --debug-dump and --histogram. - - * readelf.c: Add ability to display contents of some or all of the - Dwarf2 debug sections. {Work only partially completed}. - (display_debug_section): New function. - (display_debug_info): New function. - (display_debug_not_supported): New function. - (display_debug_line): New function. - (display_debug_abbrev): New function. - (process_abbrev_section): New function. - (read_leb128): New function. - (process_extended_line_op): New function. - (get_TAG_name): New function. - (get_AT_name): New function. - (get_FORM_name): New function. - (free_abbrevs): New function. - (add_abbrev): New function. - (add_abbrev_attr): New function. - (read_and_display_attr): New function. - (display_block): New function. - -Thu Jan 14 23:36:11 1999 Jeffrey A Law (law@cygnus.com) - - * coffdump.c (xcalloc): Remove, in libiberty now. - * srconv.c (xcalloc): Likewise. - * sysdump.c (xcalloc): Likewise. - -1999-01-14 Nick Clifton <nickc@cygnus.com> - - * readelf.c (process_section_headers): Omit trailing space at end - of section header contents line. - -Wed Dec 16 17:20:05 1998 Doug Evans <devans@canuck.cygnus.com> - - * aclocal.m4: Regenerate. - -Mon Dec 14 12:55:36 1998 Jim Wilson <wilson@cygnus.com> - - * dllwrap.c: Include bfd.h and bucomm.h. Move getopt.h include - after libiberty.h include. - -Tue Dec 8 16:29:43 1998 Ian Lance Taylor <ian@cygnus.com> - - * objdump.1: Fix typo (-d to -D). From Nokubi Hirotaka - <hnokubi@yyy.or.jp>. - -Sun Dec 6 13:28:09 1998 Ian Lance Taylor <ian@cygnus.com> - - * objdump.c (SFILE): Add size field. - (objdump_sprintf): Merge both versions into one. Increase buffer - size as needed to avoid overflow. - (disassemble_bytes): Change buf from 1000 bytes to 50. Change - initialization and use of sfile to match changes to - objdump_sprintf. - - * strip.1: Fix typo (-V to -v). From Issei Hirayama - <iss@mail.wbs.or.jp>. - -1998-12-03 Ulrich Drepper <drepper@cygnus.com> - - * readelf.c (process_dynamic_segment): Improve output format for - various DT_* values. - -1998-12-02 Ulrich Drepper <drepper@cygnus.com> - - * readelf.c (process_mips_specific): Print .conflict section - content. - - * readelf.c (process_mips_specific): Print l_flags in liblist in - textual form. - -1998-11-30 Nick Clifton <nickc@cygnus.com> - - * ar.c (extract_file): Add some paranoia checks for negatively - sized files. - -Tue Nov 24 09:39:24 1998 Nick Clifton <nickc@cygnus.com> - - * stabs.c (DIR_SEPARATOR): Define as '\\' if WIN32 is defined. - -Tue Nov 17 10:25:26 1998 Nick Clifton <nickc@cygnus.com> - - * Makefile.in: Regenerate. - -Mon Nov 16 19:17:23 1998 Dave Brolley <brolley@cygnus.com> - - * po/binutils.pot: Regenerate. - -Mon Nov 16 10:18:53 1998 Nick Clifton <nickc@cygnus.com> - - * Makefile.am: Regernated dependencies. - * aclocal.m4: Regenerated. - * configure: Regenerated. - -Sat Nov 14 14:50:56 1998 Ian Lance Taylor <ian@cygnus.com> - - * debug.c (debug_name_type): Correct return type from false to - DEBUG_TYPE_NULL. - -Sat Nov 14 14:48:21 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - - * objdump.c (disassemble_data): Skip over relocs below start - address. - -Tue Nov 10 15:31:52 1998 Nick Clifton <nickc@cygnus.com> - - * Makefile.am: Add dependency of readelf.c on elf/fr30.h - * Makefile.in: Regenerate. - -Wed Nov 4 16:25:55 1998 Nick Clifton <nickc@cygnus.com> - - * readelf.c: Add support for the FR30. - -Mon Nov 2 14:59:33 1998 Geoffrey Noer <noer@cygnus.com> - - * configure.in: detect cygwin* instead of cygwin32* - * configure: regenerate - -Fri Oct 30 15:14:49 1998 Geoffrey Noer <noer@cygnus.com> - - * dllwrap.c: change all references to cygwin32_ to cygwin_, - change Cygwin target def to CYGWIN. - -Wed Oct 28 10:31:19 1998 Nick Clifton <nickc@cygnus.com> - - * objdump.c (disassemble_data): Replace 'unsigned long' with - 'bfd_vma'. - -Tue Oct 27 14:39:00 1998 Nick Clifton <nickc@cygnus.com> - - * objdump.c (disassemble_bytes): Applied this patch from Philip - Blundell <pb@nexus.co.uk>: Make address variables unsigned to - avoid problems when disassembling code at high-bit-set addresses. - -Mon Oct 26 14:07:59 1998 Mumit Khan <khan@xraylith.wisc.edu> - - * dllwrap.c (strhash): New function. - (main): Use it to supply image base if not supplied by user. - (program_version): Up to 0.2.4. - -Mon Oct 26 14:07:59 1998 Mumit Khan <khan@xraylith.wisc.edu> - - * dlltool.c (add_stdcall_alias): New global. - (long_options): Add --add-stdcall-alias option. - (main): Handle it. - (scan_drectve_symbols): Add alias if --add-stdcall-alias is - specified. - (scan_filtered_symbols): Likewise. - (gen_def_file): Output alias for stdcall syms if appropriate. - - * binutils.texi (dlltool): Document --add-stdcall-alias option. - - * dllwrap.c (long_options): Add --add-stdcall-alias option. - (main): Handle it. - - * defparse.y (opt_name): Allow "." in name. - * dlltool.c (def_name): Set dll_name from NAME entry in def file. - (def_library): Set dll_name from LIBRARY entry in def file. - -Mon Oct 26 14:07:59 1998 Mumit Khan <khan@xraylith.wisc.edu> - - * dllwrap.c (long_options): --implib synonym for --output-lib. - (main): Pass --export-all to dlltool only if specified. - (program_version): Up to 0.2.3. - -Mon Oct 26 14:07:59 1998 Mumit Khan <khan@xraylith.wisc.edu> - - * dllwrap.c (mybasename): New function. - (main): Run dlltool to create export definition file and import - library file if necessary. - Change exp_file_name so that it's based on the dll name. - -Sun Oct 25 10:37:45 1998 Mumit Khan <khan@xraylith.wisc.edu> - - * dlltool.c (scan_all_symbols): Fix patch error. - -Fri Oct 16 22:56:20 1998 Felix Lee <flee@cygnus.com> - - * nm.c (display_rel_file): fix "no symbols" messages. - * objdump.c (slurp_symtab): ditto. - * po/POTFILES.in, po/binutils.pot: rebuilt - -Mon Oct 12 14:28:03 1998 Nick Clifton <nickc@cygnus.com> - - * readelf.c (dump_relocations): Rename field from Value to Info to - match name of field in ELF structures. - -Thu Oct 8 15:33:08 1998 Geoffrey Noer <noer@cygnus.com> - - * configure.in: call AC_EXEEXT instead of AM_EXEEXT and - AM_CYGWIN32. - * aclocal.m4: remove local AM_EXEEXT/AM_CYGWIN32 macros. - * configure: regenerate - -Thu Oct 8 15:33:08 1998 Geoffrey Noer <noer@cygnus.com> - - From Mumit Khan <khan@xraylith.wisc.edu>: - * dlltool.c (scan_all_symbols): Don't re-export symbols exported - by other DLLs. - -Thu Oct 8 15:33:08 1998 Geoffrey Noer <noer@cygnus.com> - - * Makefile.am (BUILD_DLLWRAP): Add. - (BUILD_DLLWRAP, DLLWRAP_PROG): Add. - (bin_PROGRAMS): Add dllwrap. - * Makefile.in: regenerate with automake - - From Mumit Khan <khan@xraylith.wisc.edu>: - * dllwrap.c: New file from dllhelpers v0.2.1. - (print_version): New function. - (long_options): Add --version. - (main): Handle. - * dyn-string.h, dyn-string.c: New files from egcs-1.1/gcc. - * configure.in (BUILD_DLLWRAP): Add. - * configure: Regenerate. - -Tue Oct 6 18:20:10 1998 Geoffrey Noer <noer@cygnus.com> - - * Makefile.am (windres_SOURCES): Add resres.c. - (windres_OBJECTS): Add resres.o. - * Makefile.in: regenerate with automake - - From Anders Norlander <anorland@hem2.passagen.se>. - * resres.c: New file. Implementation of read_res_file and - write_res_file functions for windres. - * rcparse.y: Handle CONTROL's with named classes. - * resbin.c: Bug in res_to_bin_dialog and bin_to_res_dialog - when dialog is extended: The version and signature fields should - be reversed (despite what the docs say). Id is 32 bits long in - extended dialogs. - * resrc.c (write_rc_dialog): properly print controls with named - classes. - * windres.c (read_res_file, write_res_file): Remove stubs. - * resres.c (write_res): Rename RT_ACCELERATORS to RT_ACCELERATOR. - -Sun Oct 4 20:34:42 1998 Ian Lance Taylor <ian@cygnus.com> - - From Nokubi Hirotaka <hnokubi@yyy.or.jp>: - * objcopy.1: Fix typo in --remove-leading-char docs. - * objdump.1: Fix formatting in --stabs docs. - -Sat Sep 19 23:33:56 1998 Ian Lance Taylor <ian@cygnus.com> - - * rcparse.y (memflags_move): Correct recursion. - -1998-09-10 Ulrich Drepper <drepper@cygnus.com> - - * readelf.c (process_symbol_table): Print in histogram how many - symbols are covered by the current chain length. - -Sun Sep 6 16:15:47 1998 Nick Clifton <nickc@cygnus.com> - - * readelf.c (process_section_contents): Do not try to dump empty - sections. - -Sat Sep 5 19:17:10 1998 Mumit Khan <khan@xraylith.wisc.edu> - - * dlltool.c (scan_all_symbols): Don't re-export symbols exported - by other DLLs. - -1998-09-02 14:50 Ulrich Drepper <drepper@cygnus.com> - - * readelf.c (process_dynamic_segment): Print DT_* value only if - do_dynamic. - (do_histogram): New variable. - (options): New long option histogram. Set do_histogram if this - option is used. - (usage): Document --histogram. - (parse_args): Handle 0 return value from getopt_long. Enable - do_histogram for -a. - (process_symbol_table): Read hash table also if only do_histogram. - Add code to print hash table histogram. - -1998-08-25 16:45 Ulrich Drepper <drepper@cygnus.com> - - * readelf.c (process_dynamic_segment): Read syminfo section if - available. - (process_syminfo): New function. Print syminfo information. - (process_file): Call process_syminfo and free syminfo data at the end. - -Wed Aug 19 16:19:51 1998 Ian Lance Taylor <ian@cygnus.com> - - * dlltool.c (usage): Add file parameter. Change all callers. - (main): Don't treat '?' as a special case in getopt return. - - * binutils.texi (dlltool): Document new options. Add some uses of - @var. - -Wed Aug 19 16:19:07 1998 Mumit Khan <khan@xraylith.wisc.edu> - - * dlltool.c (gen_def_file): Plug memory leak. Don't print - demangled name if it is NULL. - - Support for exporting all symbols to an output export def file: - * dlltool.c ({export_all_symbols, no_default_excludes, - no_default_excludes, excludes}): New file static variables. - (struct string_list): Type to hold list of symbols to exclude. - (scan_drectve_symbols): Renamed from scan_open_obj_file. - (scan_filtered_symbols): New static function. - (add_excludes): New static function. - (match_exclude): New static function. - (set_default_excludes): New static function. - (filter_symbols): New static function. - (scan_all_symbols): New static function. - (scan_open_obj_file): New static function. - (usage): Document new options. - (long_options): Add new options. - (main): Handle new options. - -1998-07-31 21:24 Ulrich Drepper <drepper@cygnus.com> - - * readelf.c (process_program_headers): Print p_offset value with - six hex digits. - (dynamic_segment_mips_val): Add support for DT_MIPS_FLAGS, - DT_MIPS_IVERSION, and DT_MIPS_TIME_STAMP. - (process_mips_specific): Also print seconds of time stamp. - -Fri Jul 31 10:04:23 1998 Catherine Moore <clm@cygnus.com> - - * readelf.c (dump_relocations): EM_ARM uses rela relocs. - -1998-07-30 16:25 Ulrich Drepper <drepper@cygnus.com> - - * readelf.c (get_dynamic_type): Don't used gettext on the names. - Add new DT_* values from Solaris. Don't print nuemric value in - case of an unknown entry. - (process_dynamic_segment): Handle new DT_* entries. Print numeric - values in decimal, not hex. - -Fri Jul 24 16:28:57 1998 Jeff Holcomb <jeffh@cygnus.com> - - * readelf.c (get_dynamic_type): Remove empty default from switch - statement. - -Fri Jul 24 16:28:12 1998 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.am (install-exec-local): Don't remove the file before - checking whether $(bindir) == $(tooldir)/bin. From Maciej - W. Rozycki <macro@ds2.pg.gda.pl>. - * Makefile.in: Rebuild. - -Fri Jul 24 09:38:59 1998 Nick Clifton <nickc@cygnus.com> - - * objcopy.c: Removed spurious inclusion of elf/internal.h and - elf-bfd.h. - -1998-07-22 Ulrich Drepper <drepper@cygnus.com> - - * readelf.c: Consistantly use elf_ prefix for *_reloc_type - functions. - -Wed Jul 22 16:29:12 1998 Nick Clifton <nickc@cygnus.com> - - * readelf.c (dump_relocations): Add dumps of HPPA and ARC - relocations. - - (process_relocs): Do not abort if no string table can be found. - -1998-07-22 14:58 Ulrich Drepper <drepper@cygnus.com> - - * readelf.c: Remove definition of functions to return relocation - symbol strings. They now get implicitly defined when include the - system specific ELF header. - -1998-07-22 13:51 Ulrich Drepper <drepper@cygnus.com> - - * readelf.c: Before include system specific ELF header define - START_RELOC_NUMBERS, RELOC_NUMBER, and END_RELOC_NUMBERS. For now - used for ppc, mips, and mn10300. - -Wed Jul 22 10:26:32 1998 Nick Clifton <nickc@cygnus.com> - - * readelf.c (dump_relocations): Display number of unrecognised - relocations. - -1998-07-21 13:13 Ulrich Drepper <drepper@cygnus.com> - - * readelf.c: Use symbolic names of relocation entries for the various - architectures. Correct more layout details. - Print names of MIPS specific section types. Print Alpha, ARM, and - MIPS relocation type names. - -1998-07-20 Vladimir N. Makarov <vmakarov@cygnus.com> - - * objcopy.c (filter_symbols): Add code for strip all symbols case. - (copy_objects): Strip all case is now processed also through - filter_symbols. No marking symbols used in relocations when strip - all symbols case. - (copy_section): When strip all symbols case, remove relocations - which are not in keep strip specific list. - (strip_main): Remove guard `strip_specific_list == NULL' for - setting up strip all symbols by default. - -Mon Jul 20 12:51:16 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * addr2line.c (find_address_in_section): Only consider a section - if the pc value is completely contained within it. - (translate_addresses): Don't crash if functionname or filename are - null. - -1998-07-20 07:45 Ulrich Drepper <drepper@cygnus.com> - - * readelf.c (process_symbol_table): Fix little alignment problem - in printed table header. - -1998-07-20 07:14 Ulrich Drepper <drepper@cygnus.com> - - * readelf.c: Correct reading of .dynamic section. - (dynamic_section): Now a global variable. - (process_mips_fpe_exception, process_mips_specific, - process_arch_specific): New functions. - (get_file_header): Call process_arch_specific. - -1998-07-19 15:15 Ulrich Drepper <drepper@cygnus.com> - - * readelf.c: Fix several versioning related bugs. Produce nicer - output. - Add support for processor specific information on MIPS. - -Fri Jul 10 15:57:58 1998 Nick Clifton <nickc@cygnus.com> - - * readelf.c: Switch prototypes from unsigned short to unsigned - int. - -Fri Jul 10 16:17:50 1998 Ian Lance Taylor <ian@cygnus.com> - - From Christian Holland <CHolland@de.lucent.com>: - * ieee.c (parse_ieee): Initialize info.global_vars and - info.global_types. - (parse_ieee_atn): Ignore register lifetime information reportedly - emitted by MRI compiler. - -Thu Jul 9 13:08:01 1998 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.am (MAINTAINERCLEANFILES): Define. - * Makefile.in: Rebuild. - -Tue Jul 7 21:48:54 1998 Jeffrey A Law (law@cygnus.com) - - * readelf.c (byte_get): Use PARAMS in prototype. - (error): Make it work with non-ANSI compilers. - (warn): Likewise. - (get_ver_flags): Don't use an ANSI prototype in the definition. - -Tue Jul 7 13:26:13 1998 Ian Lance Taylor <ian@cygnus.com> - - * objcopy.c (filter_bytes): Set size correctly if the size of the - section is not an even multiple of the interleave. Based on patch - from Brion Stone <Brion.Stone@attws.com>. - -Thu Jul 2 14:01:34 1998 Klaus Kaempf <kkaempf@rmi.de> - - * configure.com: Add vax/vms support. - * makefile.vms-in: Renamed from makefile.vms. Add substitutions - now done by configure.com. - -Wed Jul 1 20:43:52 1998 Ian Lance Taylor <ian@cygnus.com> - - * stabs.c (parse_stab_range_type): Handle 4 and 8 byte signed - integers with real upper bounds. Handle a lower bound one larger - than the upper bound as a signed integer. Handle 8 byte signed - integers. - (stab_demangle_template): Optionally return the demangled name of - the template. - (stab_demangle_qualified): Treat a template name as a tagged - type. - (stab_demangle_fund_type): Likewise. - -Wed Jul 1 16:29:50 1998 Nick Clifton <nickc@cygnus.com> - - * objcopy.c: Minor formatting improvements. - * readelf.c: Minor output formatting improvement. - -Wed Jul 1 14:23:48 1998 Ian Lance Taylor <ian@cygnus.com> - - * rclex.l: Add casts and change types to avoid warnings. - * rcparse.y: Likewise. - * resbin.c: Likewise. - * rescoff.c: Likewise. - * resrc.c: Likewise. - - * Makefile.am: Rebuild dependencies. - (HFILES): Remove readelf.h. - * Makefile.in: Rebuild. - - Based on patches from Andrew Kozin - <Andrew.Kozin@p14.f960.n5020.z2.fidonet.org>: - * winduni.h: New file, from windres.h. - * winduni.c: New file, from windres.c. - * windres.c: Move Unicode functions into winduni.c. - * windres.h: Move Unicode declarations into winduni.h. Include - winduni.h. - (RT_ACCELERATOR): Rename from RT_ACCELERATORS to match Windows - macro. Change all uses. - (RT_PLUGPLAY, RT_VXD): Correct values. - * Makefile.am (HFILES): Add windres.h. - (CFILES): Add winduni.c. - (windres_SOURCES): Add winduni.c. - -Mon Jun 29 17:01:21 1998 Nick Clifton <nickc@cygnus.com> - - * readelf.c: Use BFD Internal and External Elf structures. - * readelf.h: Removed - no longer needed. - * Makefile.in: Remove readelf.c's dependency upon readelf.h. - -1998-06-26 Vladimir N. Makarov <vmakarov@cygnus.com> - - * objcopy.c (strip_main): keep_specific_list == NULL as additional - condition to set up strip all symbols by default. - (copy_archive): don't change archive when error in object files of - the archive. - -Wed Jun 24 17:53:47 1998 Ian Lance Taylor <ian@cygnus.com> - - * stabs.c (parse_number): Sign extend negative values correctly if - bfd_vma is larger than unsigned long. - -Tue Jun 23 14:55:05 1998 Mike Stump <mrs@wrs.com> - - * Makefile.am (install-exec-local): Don't let EXEEXT interfere - with the program transform name. - * Makefile.in: Rebuild. - -Tue Jun 23 11:08:53 1998 Nick Clifton <nickc@cygnus.com> - - * readelf.c: Rewrite to use fopen/fread ratehr than mmap. - - Add --section-headers command line switch, which is an alias for - --sections. - - Incorporate improvemnts made by Andreas Schwab - <schwab@issan.informatik.uni-dortmund.de> including output - formatting and version info display. - - * binutils.texi: Document --section-headers switch to readelf. - -Mon Jun 22 18:28:19 1998 Ian Lance Taylor <ian@cygnus.com> - - * readelf.c: Include bfd.h and bucomm.h before system header - files. - (parse_args): Change type of c from char to int. - -Sun Jun 14 14:26:28 1998 Nick Clifton <nickc@cygnus.com> - - * readelf.c (usage): Write to stdout, not stderr. - -Fri Jun 12 13:33:51 1998 Tom Tromey <tromey@cygnus.com> - - * po/Make-in (all-yes): Depend on .pot file if maintainer mode - enabled. - ($(PACKAGE).pot): Unconditionally depend on POTFILES. - -Fri Jun 12 16:06:15 1998 Michael Meissner <meissner@cygnus.com> - - * readelf.c (get_ppc_rel_type): New PowerPC support. - (dump_relocations): PowerPC uses RELA relocations. - (get_machine_name): Spell PowerPC correctly. - (get_file_type): Change unsigned short parameter to unsigned. - (get_machine_name): Ditto. - (get_machine_data): Return whether big endian or little endian. - (get_machine_flags): Interpret PowerPC, M32R, and MIPS flags. - (process_elf_header): Print endian-ess. Convert all numeric - formats to long or unsigned long. Print out machine specific flag - bits. - (process_section_headers): Increase name by 3 columns and decrease - type by the same so that .gcc_except_table fits in the space. - - * readelf.h: Include elf/ppc.h, elf/mips.h, and elf/m32r.h to get - machine specific flag bits. - -Thu Jun 11 17:54:26 1998 Nick Clifton <nickc@cygnus.com> - - * readelf.c: Remove extraneous #includes. Fix warnings produced - by -Wall when compiling under Linux. - - * Makefile.am (readelf_LDADD): Add $(LIBIBERTY). - -Thu Jun 11 18:30:20 1998 Ian Lance Taylor <ian@cygnus.com> - - * stabs.c (struct stab_handle): Add self_crossref field. - (parse_stab_string): If a tag is a cross reference to itself, - don't define it in the tags list. - (parse_stab_type): Set info->self_crossref. - - * debug.c (struct debug_type_real_list): Define. - (debug_get_real_type): Add list parameter. Change all callers. - Check for circularity to avoid crashing when it occurs. - -Thu Jun 11 14:48:32 1998 Nick Clifton <nickc@cygnus.com> - - * readelf.c: New file: Display contents of ELF format file. - * readelf.h: New file: Header file for readelf.c - * Makefile.am: Add rules to build readelf. - * Makefile.in: Rebuilt. - * binutils.texi: Document readelf. - * NEWS: Mention inclusion of readelf into binutils. - * po/POTFILES.in; Rebuilt. - -Fri Jun 5 18:43:40 1998 Ian Lance Taylor <ian@cygnus.com> - - * objcopy.c (setup_section): Adjust the section size if copy_byte - is >= 0. - (copy_section): Do not call bfd_set_section_size. - -Thu Jun 4 09:12:27 1998 Nick Clifton <nickc@cygnus.com> - - * objcopy.c (copy_usage): Add missing \n\ from help description. - -Wed Jun 3 19:31:33 1998 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.am (YACC): Correct bison -L option. - * Makefile.in: Rebuild. - - * binutils.texi, objdump.1: Document -p/--private-headers. - -Wed Jun 3 12:09:40 1998 Nick Clifton <nickc@cygnus.com> - - * objcopy.c: Add new command line options: --change-section-lma - and --change-section-vma. Rename old command line option - --adjust-section-vma to --change-section-address. Rename - --adjust-vma to --change-addresses and --adjust-start to - --change-start. Provide aliases to support the old versions of - these command line options. - - Change the names of macros and enum elements to upper case to - match the GNU coding standard. - - Replace calls to fprintf (stderr,...) with calls to fatal () or - non_fatal () as appropriate. - - * objcopy.1: Document command line option changes. - * binutils.texi: Document command line option changes. - - * bucomm.h: New exported funtion from bucomm.c: non_fatal(). - * bucomm.c (non_fatal): New exported function. Just like fatal() - except that it returns rather than calling xexit(). - - (bfd_check_format_matches): Call fatal() rather than bfd_fatal(). - - (check_matching_formats): Fix C formating. - - (parse_vma): Call fatal(). - -Mon Jun 1 18:26:40 1998 Ian Lance Taylor <ian@cygnus.com> - - From Yuli Barcohen <yuli.barcohen@telrad.co.il>: - * debug.c (debug_type_samep): Avoid endless loops comparing - function and method parameter types. - -Fri May 22 14:02:42 1998 Ian Lance Taylor <ian@cygnus.com> - - * dlltool.c (dump_iat): Comment out; not used. - (display): Rename from tell. Change all callers. - -Thu May 14 14:00:56 1998 Nick Clifton <nickc@cygnus.com> - - * dlltool.c: Add support for Thumb DLLs. Add support for - interworking between ARM and Thumb programs and DLLs. Tidy the - code. - - * binutils.texi: Document dlltool. - - * configure: Build dlltool for thumb-pe targets. - - * version.c (print_version): Include 1998 in copyright strings. - - * stabs.c (parse_stab): Support Win32 style directory separators. - -Sun May 10 22:34:44 1998 Jeffrey A Law (law@cygnus.com) - - * po/Make-in (install-info): New target. - -Fri May 8 10:33:13 1998 Nick Clifton <nickc@cygnus.com> - - * ar.c (usage): Extend information provided about command line - options. - -Wed May 6 15:28:51 1998 Klaus Kaempf <kkaempf@progis.de> - - * makefile.vms: Run dec c with /nodebug. Pass CC value when - calling make. - -Tue May 5 15:19:00 1998 Nick Clifton <nickc@cygnus.com> - - * configure: Build dlltool for thumb-pe target. - * configure.in: Build dlltool for thumb-pe target. - -Sun May 3 22:04:49 1998 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.am (EXTRA_PROGRAMS): Change $(SRCONV_PROG) to sysconf - sysdump coffdump to avoid extra $(EXEEXT). - * Makefile.in: Rebuild. - -Wed Apr 29 22:22:55 1998 Geoffrey Noer <noer@cygnus.com> - - * configure.in: Stop appending EXEEXT to the end of - SRCONV_PROG (wrong because that variable may contain multiple - programs) - * Makefile.am: instead, add EXEEXTs to each SRCONV_PROG - program - * Makefile.in: regenerate - * configure: regenerate - -Tue Apr 28 19:14:34 1998 Tom Tromey <tromey@cygnus.com> - - * addr2line.c (main): Conditionally call setlocale. - * windres.c (main): Likewise. - * sysdump.c (main): Likewise. - * strings.c (main): Likewise. - * srconv.c (main): Likewise. - * size.c (main): Likewise. - * objdump.c (main): Likewise. - * objcopy.c (main): Likewise. - * nm.c (main): Likewise. - * nlmconv.c (main): Likewise. - * dlltool.c (main): Likewise. - * coffdump.c (main): Likewise. - * ar.c (main): Likewise. - * bucomm.h: Include <locale.h> if HAVE_LOCALE_H. - (LC_MESSAGES): Now can be defined even when ENABLE_NLS. - -Tue Apr 28 10:33:07 1998 Bill Moyer <ttk@cygnus.com> - - Add support for IMPORTS: - * defparse.y (impline): Add IMPORTS syntaxes. - * dlltool.c (ifunctype, iheadtype): New typedefs. - (import_list): New static variable. - (append_import): New static function. - (def_import): Add an entry to import_list. - (generate_idata_ofile): New static function. - (gen_exp_file): Call generate_idata_ofile. - * dlltool.h (def_import): Update declaration. - -Mon Apr 27 16:39:22 1998 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Change version number to 2.9.4 - * configure: Rebuild. - -Wed Apr 22 16:00:35 1998 Tom Tromey <tromey@cygnus.com> - - * po/Make-in (MKINSTALLDIRS): Don't look in $(top_srcdir). - -Wed Apr 22 00:33:56 1998 Tom Tromey <tromey@scribbles.cygnus.com> - - * Makefile.am (INCLUDES): Search intl dirs for headers; define - LOCALEDIR. - * addr2line.c (main): Call setlocale, bindtextdomain, textdomain. - * ar.c (main): Likewise. - * coffdump.c (main): Likewise. - * dlltool.c (main): Likewise. - * nlmconv.c (main): Likewise. - * nm.c (main): Likewise. - * objcopy.c (main): Likewise. - * objdump.c (main): Likewise. - * size.c (main): Likewise. - * srconv.c (main): Likewise. - * strings.c (main): Likewise. - * sysdump.c (main): Likewise. - * windres.c (main): Likewise. - -Tue Apr 21 22:13:08 1998 Tom Tromey <tromey@scribbles.cygnus.com> - - * Many files: Added gettext invocations around user-visible - strings. - * bucomm.h: Added gettext-related includes and defines. - * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY, - HAVE_LC_MESSAGES): Define. - * configure.in: Call CY_GNU_GETTEXT. Create po/Makefile.in and - po/Makefile. Use AM_PROG_LEX. - * Makefile.am (SUBDIRS): New macro. - (POTFILES): Likewise. - (po/POTFILES.in): New target. - (LDADD): Added INTLLIBS. - (objdump_LDADD): Likewise. - (c__filt_LDADD): Likewise. - (ar_LDADD): Likewise. - (ranlib_LDADD): Likewise. - (dlltool_LDADD): Likewise. - (windres_LDADD): Likewise. - * po/Make-in, po/POTFILES.in, po/binutils.pot: New files. - -Tue Apr 21 16:07:18 1998 Stanislav Brabec <utx@k332.feld.cvut.cz> - - * objcopy.c (preserve_dates): New file static variable. - (smart_rename): If preserve_dates, call set_times when copying. - (strip_main): Remove preserve_dates local variable. - (copy_main): Likewise. - -Tue Apr 7 15:41:15 1998 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.am (DISTSTUFF): Add defparse.h, defparse.c, rclex.c, - rcparse.h, and rcparse.c - * Makefile.in: Rebuild. - -Mon Apr 6 16:24:35 1998 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.am (PROGS): Move $(ADDR2LINE_PROG) to end, so that - Makefile.in doesn't have an empty continuation line. - (bin_PROGRAMS): Likewise. - * Makefile.in: Rebuild. - -Fri Apr 3 14:48:42 1998 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.am (DISTCLEANFILES): Add site.exp and site.bak. - (MOSTLYCLEANFILES): Add binutils.log, binutils.sum, and abcdefgh*. - (mostlyclean-local): New target. - * Makefile.in: Rebuild. - -Wed Apr 1 15:54:16 1998 Ian Lance Taylor <ian@cygnus.com> - - From Zack Weinberg <zack@rabi.phys.columbia.edu> and H.J. Lu - <hjl@gnu.org>: - * ar.c (usage): Mention S modifier. - (main): Add S modifier. - * ar.1, binutils.texi: Document S modifier. - -Wed Apr 1 13:11:23 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * binutils.texi: Use @itemx for a secondary item in a table. - -Tue Mar 31 18:44:13 1998 Ian Lance Taylor <ian@cygnus.com> - - * dep-in.sed: Add rule to remove @OBJDIR@. - * Makefile.am (dep.sed): Substitute for @OBJDIR@. - * Makefile.in: Rebuild. - -Mon Mar 30 12:47:18 1998 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Set version to 2.9.1. - * configure: Rebuild. - - * Branched binutils 2.9. - - * Makefile.am (DISTCLEANFILES): Remove defparse.h, arparse.h, - rcparse.h, and nlmheader.h. - * Makefile.in: Rebuild. - -Sat Mar 28 17:39:27 1998 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.am (MOSTLYCLEANFILES): Define. - * Makefile.in: Rebuild. - - Fix some gcc -Wall warnings: - * nlmconv.c (main): Add casts to avoid warnings. - (alpha_mangle_relocs): Likewise. - * objdump.c (dump_section_stabs): Likewise. - * size.c (print_sysv_format): Likewise. - * srcconv.c (wr_ob): Likewise. - * wrstabs.c (stab_modify_type): Likewise. - (stab_variable): Likewise. - * nlmconv.c (main): Initialize variables to avoid warnings. - * nm.c (sort_symbols_by_size): Likewise. - * objdump.c (disassemble_bytes): Likewise. - * wrstabs.c (stab_end_class_type): Likewise. - * coffgrok.c (do_sections_p2): Change j to unsigned int. - (do_lines): Change l to unsigned int. - * nlmheader.y (yylex): Change i to unsigned int. - * nm.c (print_symbol): Change j to long. - * size.c (lprint_number): Comment out. - * srconv.c (wr_ob): Change i to bfd_size_type. - * sysdump.c (unit_info_list): Comment out. - (object_body_list, program_structure, debug_list): Likewise. - * sysinfo.y (yyerror): Return value. - -Thu Mar 26 17:06:51 1998 Richard Henderson <rth@cygnus.com> - - * defparse.y (explist): Allow epsilon. - Suggestion from Jonathan-Harris@psion.com. - -Thu Mar 26 16:59:09 1998 Richard Henderson <rth@cygnus.com> - - * coffgrok.c (do_sections_p1): Use the section's lma instead of vma - for the benefit of prom loaders. - -Wed Mar 25 13:05:39 1998 Ian Lance Taylor <ian@cygnus.com> - - Based on patch from H.J. Lu <hjl@gnu.org>: - * Makefile.am (DISTSTUFF): New variable. - (diststuff): New target. - (DISTCLEANFILES): New variable. - * Makefile.in: Rebuild. - -Tue Mar 24 19:33:08 1998 Ian Lance Taylor <ian@cygnus.com> - - * rclex.l: Accept { and } as synonyms for BEGIN and END. - -Fri Mar 20 19:18:08 1998 Ian Lance Taylor <ian@cygnus.com> - - * aclocal.m4, configure: Rebuild with libtool 1.2. - -Tue Feb 24 13:07:50 1998 Doug Evans <devans@canuck.cygnus.com> - - * objdump.c (disassemble_data): Delete "++place" after call to - find_symbol_for_address. Set disasm_info.symbols to array of - symbols at the current address. - -Wed Feb 18 23:39:46 1998 Richard Henderson <rth@cygnus.com> - - * Makefile.am (install-exec-local): Install properly when ln - fails or tooldir == prefix. - -Tue Feb 17 18:40:55 1998 Richard Henderson <rth@cygnus.com> - - * objcopy.c (compare_section_lma): Rename from _vma. - (copy_object): Gap fill based on LMA not VMA. - * binutils.texi: Update and clarify. - * objcopy.1: Likewise. - -Tue Feb 17 20:34:11 1998 Ian Lance Taylor <ian@cygnus.com> - - * dlltool.c (gen_exp_file): Generate _imp__%s as well as __imp_%s, - for Microsoft compatibility. - (make_one_lib_file): Likewise. - - * dlltool.c (make_one_lib_file): Don't add 1 to hint. - -Fri Feb 13 16:37:44 1998 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.am (AUTOMAKE_OPTIONS): Define. - * configure, Makefile.in, aclocal.m4: Rebuild with automake 1.2e. - -Thu Feb 12 14:13:46 1998 Ian Lance Taylor <ian@cygnus.com> - - * deflex.l: Accept '?' in symbol names, for VC++ mangled names. - From Mikey <jeffdb@netzone.com>. - - * addr2line.c (usage): Update bug-gnu-utils address. - * ar.c (usage): Likewise. - * nlmconv.c (show_usage): Likewise. - * nm.c (usage): Likewise. - * objcopy.c (copy_usage): Likewise. - (strip_usage): Likewise. - * objdump.c (usage): Likewise. - * size.c (usage): Likewise. - * strings.c (usage): Likewise. - * windres.c (usage): Likewise. - * binutils.texi (Bug Reporting): Likewise. - -Sat Feb 7 15:36:24 1998 Ian Lance Taylor <ian@cygnus.com> - - * configure, aclocal.m4: Rebuild with new libtool. - -Thu Feb 5 12:21:13 1998 Ian Lance Taylor <ian@cygnus.com> - - * configure, Makefile.in, aclocal.m4: Rebuild with new libtool. - -Fri Jan 30 19:16:28 1998 Doug Evans <devans@canuck.cygnus.com> - - * Makefile.am (CC_FOR_TARGET,nlmcomv.o): Change program_transform_name - to transform. - * Makefile.in: Regenerate. - -Thu Jan 29 16:24:04 1998 Mumit Khan <khan@xraylith.wisc.edu> - - * dlltool.c: Define exit status macros for _WIN32 but not - __CYGWIN32__. - (gen_lib_file): Check for exit status of unlink. - * resrc.c: Define popen and pclose if _WIN32 but not - __CYGWIN32__. - -Wed Jan 28 17:45:46 1998 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Remove vfork check. - * nlmconv.c: Never include vfork.h. - * aclocal.m4, configure, Makefile.in, config.in: Rebuild. - -Wed Jan 28 17:43:02 1998 J.J. van der Heijden <J.J.vanderHeijden@student.utwente.nl> - - * objcopy.c (copy_archive): Only pass one argument to mkdir if - _WIN32 but not __CYGWIN32__. - (smart_rename): Add code for _WIN32 (not __CYGWIN32__), to cope - with different rename behaviour and lack of chown. - - * configure.in: Check for mingw32 when deciding whether to build - dlltool. - * dlltool.c: Never include vfork.h. - (run): Use pexecute rather than vfork. - (gen_lib_file): Check for errors from bfd_set_archive_head and - bfd_close. Close all the BFDs in the archive before deleting the - temporary files. - -Thu Jan 22 16:22:55 1998 Fred Fish <fnf@cygnus.com> - - * objdump.c (disassemble_bytes): Add flag INSN_HAS_RELOC to tell - disassembly function there is a reloc on this line. - -Wed Jan 14 15:29:43 1998 Richard Henderson <rth@cygnus.com> - - * srconv.c (sh, h8300): Delete variables. - (addrsize, toolname, rnames): New variables. - (writeINT): Use addrsize. - (wr_un): Use toolname. - (wr_hd): Set up addrsize et al properly for h8300[hs]. - (walk_tree_symbol): Zero dsy. Use rnames. - (wr_un, wr_hd, wr_ob, wr_du): Use proper bfd access macros. - * sysdump.c (sh, h8300): Delete variables. - (addrsize): New variable. - (getINT): Use it. - (getone): Initialize it. - (getBITS): Range check on MAX. - -Mon Dec 29 16:58:05 1997 Ian Lance Taylor <ian@cygnus.com> - - From Matthew Bellantoni <matthew@chrysalis.com>: - * ar.c (get_pos_bfd): Add default_posname parameter. Change all - callers. - (replace_members): Default to replacing in the same position. - -Mon Dec 22 11:27:22 1997 Ian Lance Taylor <ian@cygnus.com> - - * rclex.l: Don't permit a comma in a STRING. - * rcparse.y (acc_entry): Warn if an inappropriate modifier is used - with a non VIRTKEY. - (acc_event): For a control character, set VIRTKEY, and force the - character to uppercase. - (acc_options): Don't require a comma separator. - -Tue Dec 9 13:25:42 1997 Michael Meissner <meissner@cygnus.com> - - * size.c (size_number): New function to provide size of field. - ({l,r}print_number): For octal and hex fields, print field using - '0' and '0x' suffixes. Do not include following tab. - (sysv_internal_sizer): Size section name, section size, and vma - address fields. - (sysv_internal_printer): Use calculated sizes for the columns. - (print_sysv_format): Size columns before printing. - (print_berkeley_format): Print tabs between numbers now that - {l,r}print_number doesn't. Print fields right justified. - -Mon Dec 8 11:22:04 1997 Nick Clifton <nickc@cygnus.com> - - * objdump.c (objdump_print_addr_with_sym): Remove call to - disasm_symaddr() as this function no longer exists. - -Tue Dec 2 10:23:50 1997 Nick Clifton <nickc@cygnus.com> - - * objdump.c (objdump_print_addr_with_sym): Call disasm_symaddr() - to allow backend to know which symbol has just been displayed. - -Tue Dec 2 13:06:46 1997 Ian Lance Taylor <ian@cygnus.com> - - * windres.h (ESCAPE_*): Define standard escape sequences. - * rclex.l (handle_quotes): Handle standard escape sequences. Warn - about an unrecognized escape character. - * windres.c (unicode_print): Print standard escape sequences. - * rcparse.y (acc_event): Initialize $$.next. - * resbin.c (bin_to_res_menuitems): Don't set MENUITEM_POPUP or - MENUITEM_ENDMENU in the menu item flags. - (bin_to_res_accelerators): Allocate a structure (the old code - never worked). - (res_to_bin_accelerator): Correct the test for setting ACC_LAST. - (res_to_bin_dialog): Save the extended style rather than saving - the style twice. Remove useless shadowing length variable. Set - the length of control data correctly. - * resrc.c (write_rc_dialog): Don't print the class or menu if the - string length is zero. - -Mon Nov 24 18:52:43 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * stabs.c (parse_stab_argtypes): Don't try to parse the name of a - destructor as mangled argument types. - -Mon Nov 10 17:51:41 1997 Gavin Koch <gavin@cygnus.com> - - * addr2line.c (translate_addresses): Use bfd_scan_vma rather - than strtol to scan addresses. - -Sun Nov 9 11:01:31 1997 Jeffrey A Law (law@cygnus.com) - - * Makefile.am (bin_PROGRAMS): Don't use line continuations here. - -Tue Nov 4 11:56:14 1997 Ian Lance Taylor <ian@cygnus.com> - - * objcopy.c (copy_section): Don't crash if there is no particular - information for a section. - -Mon Nov 3 12:36:19 1997 Ian Lance Taylor <ian@cygnus.com> - - * objcopy.c (parse_flags): Make flag check case insensitive. - Check for `contents' flag. Give an error for unrecognized flags. - (copy_section): If the contents flag was set for a section that - had no contents, zero out the new contents. - * binutils.texi (objcopy): Document contents section flag. - -Sun Nov 2 14:49:56 1997 Ian Lance Taylor <ian@cygnus.com> - - * objcopy.c: Move new struct and variable definitions to top of - file. Remove obsolete add_strip_symbol and is_strip_symbol - declarations. Add prototype declarations for add_specific_symbol - and is_specified_symbol. - -Mon Oct 20 15:31:43 1997 Klaus K"ampf <kkaempf@progis.de> - - * configure.com (HAVE_SBRK): Undefine. - -Tue Oct 14 16:14:35 1997 Nick Clifton <nickc@cygnus.com> - - * objdump.c (objdump_symbol_at_address): New function. Returns - true if a symbol can be found at the address passed in. - (disassemble_data): Set the symbol_at_address_func field to point - to objdump_symbol_at_address. - -Fri Oct 10 14:13:09 1997 Richard Henderson <rth@cygnus.com> - - * objcopy.c, objcopy.1, binutils.texi: "localize" is a better name - than "privatize". Update all references. - -Thu Oct 9 15:57:29 1997 Ian Lance Taylor <ian@cygnus.com> - - * binutils.texi (strip): Remove duplicate --target. From Marty - Leisner <leisner@sdsp.mc.xerox.com>. - - * nm.c (lineno_cache_bfd): New file static variable. - (lineno_cache_rel_bfd): New file static variable. - (display_archive): Clear lineno_cache_bfd and lineno_cache_rel_bfd - when closing a BFD. - (display_file): Likewise. - (print_symbol): Use lineno_cache_bfd and lineno_cache_rel_bfd - instead of cache_bfd and cache_rel_bfd. Make seccount static, and - only set it when setting relocs. - -Wed Oct 8 21:19:11 1997 Richard Henderson <rth@cygnus.com> - - * objcopy.c (keep_specific_list, privatize_specific_list, - weaken_specific_list): New variables. - (keep_symbols): Removed. - (add_specific_symbol): New function from the carcas of - add_strip_symbol. Takes a list as an argument. - (is_specified_symbol): Likewise from is_strip_symbol. - (filter_symbols): Honor the new privatize and weaken lists. - Optimize bfd_asymbol_name handling. - (copy_object, copy_options, copy_usage): Add privatize-symbol & - weaken-symbol options. - - * objcopy.1, binutils.texi: Update docs. - -Sun Oct 5 09:05:44 1997 Frank Ch. Eigler <fche@cygnus.com> - - * objdump.c (disassemble_data): Make "--prefix-addresses" - disassembly adjust to mixed-length instructions. - (objdump_print_addr_with_sym): Add "0x" prefix for hexadecimal - symbol-offsets in disassembly. - -Fri Oct 3 12:04:25 1997 Ian Lance Taylor <ian@cygnus.com> - - * objcopy.c (set_times): New static function, replacing - make_same_dates. - (strip_main): If preserve_dates, stat the input file before - copying it, and call set_times afterward. - (copy_main): Likewise. - - * wrstabs.c (write_stabs_in_sections_debugging_info): Cast p to - char * when calling strcpy and strlen. - -Wed Sep 24 11:34:05 1997 Ian Lance Taylor <ian@cygnus.com> - - * binutils.texi (ar cmdline): Document that q now works like r. - From Marty Leisner <leisner@sdsp.mc.xerox.com>. - - * binutils.texi (size): The object file argument is optional. - From Marty Leisner <leisner@sdsp.mc.xerox.com>. - - * aclocal.m4: Rebuild with new libtool. - * configure: Rebuild. - -Tue Aug 26 17:48:34 1997 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.am (EXEEXT_FOR_BUILD): New variable. Use it in all - references to the sysinfo program. - * configure.in: Rebuild with new bfd/acinclude.m4. - * Makefile.in: Rebuild. - -Fri Aug 8 15:32:49 1997 Ian Lance Taylor <ian@cygnus.com> - - * windres.c: Include <time.h>. - (define_resource): Set a timestamp for the resource. - -Wed Aug 6 13:37:58 1997 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Define TARGET in header file. - * acconfig.h (TARGET): Add #undef. - * Makefile.am (version.o, bucomm.o): Remove special targets. - * bucomm.c (target): Remove. - * nm.c (program_name): Don't declare. - (target): Make static. - * size.c (target): Make static. - * configure, config.in, Makefile.in: Rebuild. - -Tue Aug 5 00:01:41 1997 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.am (check-DEJAGNU): Export r. - (.dep1): Use $(INCLUDES) rather than $(ALL_CFLAGS). - * Makefile.in: Rebuild. - - * nlmheader.y: Use VERSIONK rather than VERSION. - - * Makefile.am (STRIP_PROG): Change from strip.new to strip-new. - (NM_PROG): Change from nm.new to nm-new. - (TOOL_PROGS, install-exec-local): Adjust accordingly. - * Makefile.in: Rebuild. - -Mon Aug 4 11:47:31 1997 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Remove AC_ARG_PROGRAM; it's invoked by - AM_INIT_AUTOMAKE. - * configure: Rebuild. - - * Makefile.am (install-exec-local): Create $(tooldir)/bin before - trying to install anything into it. - * Makefile.in: Rebuild. - - * Makefile.am (TOOL_PROGS): Use an explicit $(EXEEXT). - (install-exec-local): When handling $(noinst_PROGRAMS), only use - $(EXEEXT) on the installed file. When handling $(TOOL_PROGS), - handle $(EXEEXT) correctly. - * configure.in: Add an explicit $(EXEEXT) when substituting for - the name of a program to build. - * Makefile.in, configure: Rebuild. - - * aclocal.m4, configure, Makefile.in: Rebuild with new automake - patches. - - * deflex.l, defparse.y: Use VERSIONK rather than VERSION. - * rclex.l, rcparse.y: Likewise. - * Makefile.am (windres_SOURCES): Add $(BULIBS). - * Makefile.in: Rebuild. - -Fri Aug 1 13:08:39 1997 Ian Lance Taylor <ian@cygnus.com> - - * acinclude.m4: Include bfd/acinclude.m4, not bfd/acmacros.m4. - * aclocal.m4, configure: Rebuild with new libtool. - -Thu Jul 31 11:51:35 1997 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.am: New file, based on old Makefile.in. - * acinclude.m4: New file, from old aclocal.m4. - * configure.in: Call AM_INIT_AUTOMAKE and AM_PROG_LIBTOOL. Remove - shared library handling; now handled by libtool. Replace - AC_CONFIG_HEADER with AM_CONFIG_HEADER. Call AC_PROG_YACC, - AC_PROG_LEX, AC_DECL_YYTEST, AM_MAINTAINER_MODE, AM_CYGWIN32, and - AM_EXEEXT. Replace AC_PROG_INSTALL with AM_PROG_INSTALL. Remove - stamp-h handling in AC_OUTPUT. - * acconfig.h: Mention PACKAGE and VERSION. - * stamp-h.in: New file. - * Makefile.in: Now built with automake. - * aclocal.m4: Now built with aclocal. - * config.in, configure: Rebuild. - - From Ton van Overbeek <tvoverbe@wk.estec.esa.nl>: - * rcparse.y (dialog): Default menu and class to be named. - (styles): If FONT is seen, set DS_SETFONT in dialog style. - * resbin.c (res_to_bin_dialog): Correct computation of font - information length. - -Wed Jul 30 11:21:06 1997 Ian Lance Taylor <ian@cygnus.com> - - From Ton van Overbeek <tvoverbe@wk.estec.esa.nl>: - * resbin.c (res_to_bin_menu): Correct computation of menu - vs. menuex length. - * resrc.c (define_stringtable): Add 1 to resource ID. - -Tue Jul 29 11:06:03 1997 Ian Lance Taylor <ian@cygnus.com> - - * resbin.c (bin_to_res_string): Correct adjustment of data and - length. From Ton van Overbeek <tvoverbe@wk.estec.esa.nl>. - -Tue Jul 22 18:01:23 1997 Ian Lance Taylor <ian@cygnus.com> - - * nlmconv.c (link_inputs): Call libiberty pexecute function. - (pexecute) [multiple versions]: Remove. - -Tue Jul 22 16:19:34 1997 Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE> - - * bucomm.c (make_tempname): If we might be using a DOS filesystem, - check for a backslash as well as a slash. - -Thu Jun 26 13:53:17 1997 Ian Lance Taylor <ian@cygnus.com> - - * windres.c (main): Quit if we didn't get any resources. - (usage): Fix --yydebug usage message. - * rescoff.c (write_coff_file): Don't free the relocation array - until after we've closed the BFD. - (read_coff_rsrc): Quit rather than try to read standard input. - (write_coff_file): Quit rather than try to write to standard - output. - * rcparse.y: Add a couple of missing semicolons (accepted by bison - but not byacc). - * binutils.texi: Document windres. - -Wed Jun 25 20:57:06 1997 Ian Lance Taylor <ian@cygnus.com> - - * resbin.c: New file. - * rclex.l, rcparse.y, rescoff.c, resrc.c, windres.c, windres.h: - Numerous fixes and improvements. - * Makefile.in: Rebuild dependencies. - (CFILES): Add resbin.c. - (WINDRES_OBJS): Add resbin.o. - -Sun Jun 22 17:29:41 1997 Ian Lance Taylor <ian@cygnus.com> - - First stab at Windows resource compiler: - * windres.h: New file. - * windres.c: New file. - * resrc.c: New file. - * rcparse.y: New file. - * rclex.l: New file. - * rescoff.c: New file. - * configure.in: Define and substitute BUILD_WINDRES. - * configure: Rebuild. - * Makefile.in: Rebuild dependencies. - (WINDRES_PROG): New variable. - (PROGS): Add @BUILD_WINDRES@. - (HFILES): Add dlltool.h and windres.h. - (CFILES): Add windres.c and resrc.c. - (GENERATED_CFILES): Add rcparse.c and rclex.c. - (WINDRES_OBJS): New variable. - $(WINDRES_PROG): New target. - (rcparse.c, rcparse.h, rclex.c): New targets. - -Thu Jun 12 12:27:51 1997 Ian Lance Taylor <ian@cygnus.com> - - * dlltool.c (export_type): Add data field. - (def_exports): Add data parameter. Change all callers. - (dump_def_info): Print data field. - (gen_def_file): Likewise. - (make_one_lib_file): Handle data field by not emitting simple - label and not emitting anything in SEC_TEXT. - (dtab): Print data field. - (process_duplicates): Merge data field. - * dlltool.h (def_exports): Update declaration. - * defparse.y (expline): Accept opt_DATA. Pass it to def_exports. - (opt_DATA): New non-terminal. - -Wed Jun 11 17:15:47 1997 Ian Lance Taylor <ian@cygnus.com> - - * dlltool.h: New file. - * deflex.l: Include dlltool.h and libiberty.h. Don't declare - strdup. Use xstrdup rather than strdup. - * defparse.y: Include bfd.h, bucomm.h, and dlltool.h. - * dlltool.c: Include dlltool.h and time.h. Make a lot of - variables and functions static. Make a lot of char * variables - and parameters const. Add declarations for static functions. Do - some reindenting. Hide more PowerPC stuff inside DLLTOOL_PPC. - -Wed Jun 11 12:05:52 1997 H.J. Lu <hjl@gnu.ai.mit.edu> - - * ar.c (bfd_special_undocumented_glue): Add const. - -Mon May 12 22:09:35 1997 Bob Manson <manson@charmed.cygnus.com> - - * Makefile.in (check): Pass CC_FOR_TARGET and CFLAGS_FOR_TARGET - to runtest. - -Mon May 12 13:14:22 1997 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Don't clear OPCODES when --enable-commonbfdlib is - used on HP/UX. - * configure: Rebuild. - -Fri Apr 25 14:22:08 1997 H.J. Lu <hjl@gnu.ai.mit.edu> - - * Makefile.in (maintainer-clean realclean): Change *.info* - to binutils.info* to save sysroff.info. - -Tue Apr 15 13:42:22 1997 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in (INSTALL): Set to @INSTALL@. - (INSTALL_XFORM, INSTALL_XFORM1): Remove. - (install): Depend upon installdirs. Use $(program_transform_name) - directly, rather than using $(INSTALL_XFORM) and - $(INSTALL_XFORM1). - (installdirs): New target. - (install-info): Run mkinstalldirs. - -Mon Apr 14 11:52:39 1997 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in (INSTALL): Change install.sh to install-sh. - - From Thomas Graichen <graichen@rzpd.de>: - * Makefile.in: Always use $(SHELL) when running move-if-change. - * configure.in: Use ${CONFIG_SHELL} when running $ac_config_sub. - * configure: Rebuild. - -Fri Apr 4 13:28:02 1997 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Add AC_FUNC_ALLOCA. - * configure, config.in: Rebuild. - * bucomm.h: Add alloca handling, copied from gas/as.h. - * dlltool.c: Add #pragma alloca for AIX to start of file. - * nlmconv.c: Likewise. - - * Makefile.in (distclean): Remove site.exp and site.bak. Remove - everything that clean removes. - -Thu Apr 3 13:18:39 1997 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in (VERSION): Set to 2.8.1. - - * Branched binutils 2.8. - -Tue Apr 1 16:21:44 1997 Klaus Kaempf <kkaempf@progis.de> - - * configure.com: New file. - * config.h-vms: Remove file. - * makefile.vms: Update for new configure scheme. - -Mon Mar 31 15:30:43 1997 Philippe De Muyter <phdm@info.ucl.ac.be> - - * objcopy.c (make_same_dates): Use statbuf, not buf, if not - HAVE_GOOD_UTIME_H. - -Fri Mar 28 17:57:53 1997 Alan Modra <alan@spri.levels.unisa.edu.au> - - * Makefile.in ($(OBJDUMP_PROG)): Don't link against BFDLIB twice. - * configure.in: Add AC_ARG_ENABLE for commonbfdlib. If it is set, - set OPCODES to empty. - * configure: Rebuild. - -Thu Mar 27 16:03:02 1997 Ian Lance Taylor <ian@cygnus.com> - - Based on patch from Marty Leisner <leisner@sdsp.mc.xerox.com>: - * objcopy.c: Include <utime.h> or <sys/time.h>. - (strip_options): Add "preserve-dates". - (copy_options): Likewise. - (copy_usage): Mention -p and --preserve-dates. - (strip_usage): Likewise. - (make_same_dates): New static function. - (strip_main): Handle -p. - (copy_main): Likewise. - * binutils.texi, strip.1, objcopy.1: Document new option. - - addr2line.c contributed by Ulrich Lauther - <Ulrich.Lauther@zfe.siemens.de>: - * addr2line.c: New file. - * Makefile.in: Rebuild dependencies. - (ADDR2LINE_PROG): New variable. - (MANPAGES): Add addr2line. - (PROGS): Add $(ADDR2LINE_PROG). - (CFILES): Add addr2line.c. - ($(ADDR2LINE_PROG)): New target. - * binutils.texi: Document addr2line. - * addr2line.1: New file. - - * version.c (print_version): Update copyright date. - -Mon Mar 24 10:52:45 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * objdump.c (disassemble_data): Don't exit if a file cannot be - disassembled, instead just return. - -Thu Mar 20 21:16:51 1997 Jeffrey A Law (law@cygnus.com) - - * size.c (usage): Make definition match its prototype. - (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. - -Tue Mar 18 16:39:55 1997 H.J. Lu <hjl@lucon.org> - - * 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. - - * Makefile.in: Rebuild dependencies. - -Sat Mar 15 15:35:56 1997 Ian Lance Taylor <ian@cygnus.com> - - Based on patches from Jamie Lokier <jamie@rebellion.co.uk>: - * 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. - - * objdump.c (usage): Mention --no-show-raw-insn. - (long_options): Add "no-show-raw-insn". - (disassemble_bytes): Handle --no-show-raw-insn. - * binutils.texi, objdump.1: Document --no-show-raw-insn. - -Wed Mar 12 11:42:00 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * rddbg.c (free_saved_stabs): Set the strings to NULL after being - freed. - -Fri Feb 28 17:18:45 1997 Ian Lance Taylor <ian@cygnus.com> - - * bucomm.c (set_default_bfd_target): New function. - * bucomm.h (set_default_bfd_target): Declare. - * ar.c (main): Call set_default_bfd_target. - * nlmconv.c (main): Likewise. - * nm.c (main): Likewise. - * objcopy.c (main): Likewise. - * objdump.c (main): Likewise. - * size.c (main): Likewise. - * strings.c (main): Likewise. - * Makefile.in (bucomm.o): New target, to define TARGET. - -Tue Feb 25 21:28:38 1997 Ian Lance Taylor <ian@cygnus.com> - - * objdump.c (adjust_section_vma): New static variable. - (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. - -Fri Feb 14 18:46:47 1997 Ian Lance Taylor <ian@cygnus.com> - - * nm.c (print_symbol): Cache the BFD as well as the symbols and - relocs, and don't try to use the symbols or relocs with a - different BFD. - -Thu Feb 13 21:34:43 1997 Klaus Kaempf (kkaempf@progis.de) - - * config.h-vms: sbrk() is provided on openVMS/Alpha. - * makefile.vms: allow compiling with current gcc snapshot. - -Thu Feb 13 20:14:40 1997 Ian Lance Taylor <ian@cygnus.com> - - * arsup.c, coffgrok.c, dlltool.c, nlmconv.c: Use xmalloc rather - than malloc. - -Wed Feb 12 16:12:02 1997 Ian Lance Taylor <ian@cygnus.com> - - * objdump.c (disassemble_data): Correct VMA argument to - find_symbol_for_address. Improve handling of code with no symbol - followed by code with a symbol. - -Wed Feb 12 12:16:47 1997 Andreas Schwab <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. - -Thu Feb 6 14:14:59 1997 Martin M. Hunt <hunt@pizza.cygnus.com> - - * objdump.c (disassemble_bytes): Added code to allow some control - over the way raw instructions are displayed. - -Thu Feb 6 12:36:03 1997 Ian Lance Taylor <ian@cygnus.com> - - * stabs.c (struct bincl_file): Add next_stack field. - (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. - -Thu Feb 6 11:54:24 1997 Alan Modra <alan@spri.levels.unisa.edu.au> - - * objcopy.1: Add missing space after .B. - -Fri Jan 31 10:33:07 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * objdump.c (disassemble_data): Initialize `aux.require_sec'. - -Wed Jan 29 13:21:21 1997 Ian Lance Taylor <ian@cygnus.com> - - * objdump.c (objdump_print_value): Add skip_zeroes parameter. - 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. - -Tue Jan 28 16:47:26 1997 Ian Lance Taylor <ian@cygnus.com> - - * objdump.c (disassemble_bytes): Don't skip zeroes if the - disassembler has told us that we are in a branch delay slot. - -Mon Jan 20 14:24:04 1997 Ian Lance Taylor <ian@cygnus.com> - - * size.c (berkeley_sum): Rewrite. Skip sections which are not - SEC_ALLOC. Count SEC_READONLY sections as text. - -Tue Jan 14 15:14:14 1997 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in (maintainer-clean realclean): Remove *.info*, not - just *.info. From H.J. Lu <hjl@lucon.org>. - -Tue Dec 31 15:42:54 1996 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE. - -Fri Dec 27 11:19:26 1996 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Work around bug in AC_FUNC_VFORK in autoconf 2.12. - * configure: Rebuild. - -Thu Dec 19 13:11:20 1996 Ian Lance Taylor <ian@cygnus.com> - - Based on patch from Andrew J Klossner <andrew@pogo.wv.tek.com>: - * 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. - -Wed Dec 18 22:49:13 1996 Stan Shebs <shebs@andros.cygnus.com> - - * mpw-make.sed: Use NewFolderRecursive for installation. - -Sat Dec 7 10:17:25 1996 Jeffrey A Law (law@cygnus.com) - - * Makefile.in (install): Add "else true" clause to cater to - broken "make" on some systems. - -Fri Dec 6 17:21:41 1996 Ian Lance Taylor <ian@cygnus.com> - - * ieee.c (parse_ieee_bb): Always initialize namcopy to avoid gcc - warning about uninitialized variable. - (ieee_read_cxx_class): Likewise, for pf. - (ieee_enum_type): Likewise, for i. - -Tue Nov 26 17:01:25 1996 Ian Lance Taylor <ian@cygnus.com> - - * wrstabs.c (stab_array_type): Add casts when printing - bfd_signed_vma values. - - * configure: Rebuild with autoconf 2.12. - -Mon Nov 25 16:53:18 1996 Ian Lance Taylor <ian@cygnus.com> - - * objdump.c (disassemble_data): Don't crash if there is no - symbol. - -Fri Nov 22 17:29:14 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * ar.c (open_inarch): Don't call bfd_openr with a null name. - -Fri Nov 1 12:08:13 1996 Ian Lance Taylor <ian@cygnus.com> - - * binutils.texi: Add section on reporting bugs. - -Thu Oct 31 18:20:53 1996 Ian Lance Taylor <ian@cygnus.com> - - * stabs.c (struct stab_handle): Add bincl_list field. - (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. - - * ieee.c (ieee_lineno): Don't compare line number addresses to - info->highaddr (undo part of October 28 patch). - -Tue Oct 29 16:40:22 1996 Ian Lance Taylor <ian@cygnus.com> - - * objdump.c (objdump_print_value): Don't print the empty string - for zero. - -Mon Oct 28 16:58:14 1996 Ian Lance Taylor <ian@cygnus.com> - - * stabs.c (struct stab_handle): Add function_end field. - (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. - - * ieee.c (ieee_array_type): Remember the correct size. - - * ieee.c (ieee_finish_compilation_unit): Permit coalescing ranges - 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. - -Fri Oct 25 12:12:17 1996 Ian Lance Taylor <ian@cygnus.com> - - * ieee.c (struct ieee_defined_enum): Add defined field. - (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. - - * objdump.c (disassemble_bytes): Let the disassembler override the - number of bytes printed on a line. - -Thu Oct 24 16:42:10 1996 Ian Lance Taylor <ian@cygnus.com> - - * objdump.c (prefix_addresses): New static variable. - (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. - - * rddbg.c (read_section_stabs_debugging_info): Preserve the - backslash when concatenating multiple stabs strings. - -Thu Oct 10 11:36:31 1996 Doug Evans <dje@canuck.cygnus.com> - - * dlltool.c (scan_open_obj_file): Fix loop exit test. - Add missing parameter to def_exports. - -Tue Oct 8 12:06:17 1996 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in (LEX_OPTIONS): Set to empty string. -I -Cem is the - default for flex, and is not recognized by lex. - -Thu Oct 3 17:41:23 1996 Ian Lance Taylor <ian@cygnus.com> - - * binutils.texi (Target Selection): Document that you can now - specify targets using configuration triplets. - - * ar.c (usage): Declare. Make sure all callers pass an argument. - -Thu Oct 3 15:39:42 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) - - * Makefile.in (clean): Remove config.log. - -Wed Oct 2 15:49:16 1996 Klaus Kaempf <kkaempf@progis.de> - - * makefile.vms: Bump version date. - -Tue Oct 1 15:00:59 1996 Ian Lance Taylor <ian@cygnus.com> - - * version.c (print_version): New function. - * 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. - -Thu Sep 19 14:53:15 1996 Ian Lance Taylor <ian@cygnus.com> - - * ieee.c: Revert Monday's reflocalp patch, and apply this patch - instead: - (write_ieee_debugging_info): Write a dummy type at the end of the - global type block. - -Mon Sep 16 15:30:54 1996 Ian Lance Taylor <ian@cygnus.com> - - * ieee.c (struct ieee_write_type): Add reflocalp field. - (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. - - * ieee.c (struct ieee_info): Add global_types field. - (parse_ieee_bb): When starting a BB1, initialize the types field - to the global_types field. - (parse_ieee_be): When ending a BB2, copy the types field to the - global_types field. - -Fri Sep 13 17:32:21 1996 Ian Lance Taylor <ian@cygnus.com> - - * objcopy.c (change_leading_char): New static variable. - (OPTION_CHANGE_LEADING_CHAR): Define. - (copy_options): Add "change-leading-char". - (copy_usage): Mention --change-leading-char. - (filter_symbols): Add obfd parameter. Change all callers. - Implement change_leading_char. - (copy_object): Call filter_symbols if change_leading_char. - (copy_main): Handle OPTION_CHANGE_LEADING_CHAR. - * binutils.texi, objcopy.1: Document --change-leading-char. - -Tue Sep 3 14:05:29 1996 Ian Lance Taylor <ian@cygnus.com> - - * ieee.c (ieee_enum_type): Don't check index into a NULL names - array. - * nm.c (sort_symbols_by_size): Always initialize next. - * rdcoff.c (parse_coff_type): Warn about an incomprehensible - type rather than crashing. - * rddbg.c (read_symbol_stabs_debugging_info): Initialize f. - * stabs.c (parse_stab_members): Set context in all cases. - -Thu Aug 29 16:56:52 1996 Michael Meissner <meissner@tiktok.cygnus.com> - - * configure.in (i[345]86-*-*): Recognize i686 for pentium pro. - * configure: Regenerate. - -Thu Aug 29 11:29:20 1996 Ian Lance Taylor <ian@cygnus.com> - - * objdump.c (L_tmpnam): Never define. - (display_target_list): Use choose_temp_base instead of tmpnam. - (display_info_table): Likewise. - -Tue Aug 27 18:15:01 1996 Ian Lance Taylor <ian@cygnus.com> - - * stabs.c (parse_stab): An N_FUN symbol with an empty string - indicates the end of a function. - -Thu Aug 22 17:08:00 1996 Ian Lance Taylor <ian@cygnus.com> - - * wrstabs.c (struct string_hash_entry): Add next field. - (struct stab_write_handle): Change strings to a pointer to - string_hash_entry. Add last_strings field. Remove strings_alloc - field. - (string_hash_newfunc): Initialize next field. - (stab_write_symbol): Copy string into hash table rather than into - buffer. Keep a list of hash table entries. - (write_stabs_in_sections_debugging_info): Initialize last_string. - Copy strings from list of hash table entries in memory. - (stab_modify_type): If the entry on the stack is a definition, - make a new definition rather than failing an assert. - (stab_array_type): The size is only zero if high is strictly less - than low. - - * ieee.c (struct ieee_info): Add saw_filename field. - (parse_ieee): Initialize saw_filename. - (parse_ieee_bb): Set saw_filename for a BB1 or BB2. In a BB1, - discard the current variables and types. In a BB10, if no - filename has been seen, call debug_set_filename. - (parse_ieee_ty): In case 'g', the type is optional. - - * prdbg.c (pr_fix_visibility): Don't abort on - DEBUG_VISIBILITY_IGNORE. - - * debug.c (debug_name_type): Correct error message. - - * configure.in: Substitute HLDENV. - * configure: Rebuild. - * Makefile.in (HLDENV): New variable. Use it whenever linking a - program. - -Thu Aug 15 19:30:41 1996 Stan Shebs <shebs@andros.cygnus.com> - - * mpw-make.sed: Add symbolic doublequotes around the version - number. - -Thu Aug 8 12:27:52 1996 Klaus Kaempf <kkaempf@progis.de> - - * makefile.vms: Add better support for DEC C compilation. - Add new macros as in Makefile.in. - -Wed Aug 7 14:27:33 1996 Philippe De Muyter <phdm@info.ucl.ac.be> - - * configure.in: Call BFD_NEED_DECLARATION on strstr and sbrk. - * acconfig.h (NEED_DECLARATION_STRSTR): New macro. - (NEED_DECLARATION_SBRK): New macro. - * configure, config.in: Rebuild. - * bucomm.h (strstr): Declare if NEED_DECLARATION_STRSTR. - (sbrk): Declare if HAVE_SBRK and NEED_DECLARATION_SBRK. - - * prdbg.c (pr_end_struct_type): Avoid using a string constant in - assert, for the benefit of broken assert macros. - -Fri Jul 26 14:06:50 1996 Ian Lance Taylor <ian@cygnus.com> - - * objdump.c (disassemble_data): Set disasm_info.flavour from - abfd. - -Tue Jul 23 13:59:54 1996 Ian Lance Taylor <ian@cygnus.com> - - * dlltool.c (secdata): In non DLLTOOL_PPC case, change alignment - of .text section to 2. - -Mon Jul 22 08:46:15 1996 Stu Grossman (grossman@lisa.cygnus.com) - - * objdump.c (dump_section_stabs): Fix test for stabs sections - ending with numbers. This fixes a problem with .stab being - confused with .stab.index. - -Wed Jul 10 13:32:28 1996 Ian Lance Taylor <ian@cygnus.com> - - * stabs.c (stab_demangle_fund_type): Return a void * for a - template, rather than simply aborting. - -Mon Jul 8 15:28:05 1996 Ian Lance Taylor <ian@cygnus.com> - - * ar.c (open_inarch): Add file parameter. Change all callers. If - this is a newly created archive, set the target based on the - file. - * arsup.h (open_inarch): Update declaration. - -Thu Jul 4 12:00:55 1996 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in (VERSION): Set to cygnus-2.7.1. - - * Released binutils 2.7. - - * rdcoff.c (parse_coff): Get address to pass to debug_end_function - from function size, not value of .ef symbol. From Ning - Mosberger-Tang <ning@AZStarNet.com>. - -Sat Jun 29 21:18:09 1996 Ian Lance Taylor <ian@cygnus.com> - - * objcopy.c (strip_main): Add -o option, and handle it. - (strip_usage): Mention -o. - * binutils.texi, strip.1: Mention -o. - -Mon Jun 24 17:19:02 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) - - * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir, - INSTALL_PROGRAM, INSTALL_DATA): Use autoconf set values. - (docdir): Removed. - * configure.in (AC_PREREQ): Autoconf 2.5 or higher. - -Mon Jun 24 11:59:13 1996 Ian Lance Taylor <ian@cygnus.com> - - * objdump.c (endian): New static variable. - (usage): Mention -EB/-EL/--endian. - (long_options): Add "endian". - (disassemble_data): If endianness was specified, replace - abfd->xvec with a copy of itself with the given endianness. - (main): Handle -EB/-EL/--endian. - * binutils.texi, objdump.1: Mention -EB/-EL/--endian. - - * objdump.c: Make most variables and functions static. - - * configure.in: On alpha*-*-osf*, link against libbfd.a if not - using shared libraries. - * configure: Rebuild with autoconf 2.10. - -Sun Jun 23 14:47:36 1996 Kim Knuttila <krk@cygnus.com> - - * dlltool.c (secdata): Changed .rdata to .reldata so .reloc will work. - (make_one_lib_file): Removed cruft. (#if 1) - -Wed Jun 19 14:46:38 1996 Ian Lance Taylor <ian@cygnus.com> - - * objdump.c (stabs): Change from struct internal_nlist * to - bfd_byte *. - (print_section_stabs): Fetch stabs information directly, rather - than assuming that struct internal_nlist is the right size. - - * binutils.texi: Document change to binary format: file position - based on load address, not section VMA. - - * bucomm.h: Define SEEK_SET, SEEK_CUR, and SEEK_END if they are - not already defined. - -Tue Jun 18 18:25:00 1996 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in (DISTSTUFF): Add deflex.c. - -Tue Jun 18 15:03:44 1996 Klaus Kaempf <kkaempf@progis.de> - - * config.h-vms, makefile.vms: New files. - -Mon Jun 17 09:47:31 1996 Ian Lance Taylor <ian@cygnus.com> - - * dlltool.c (make_one_lib_file): Use BFD_RELOC_RVA rather than - BFD_RELOC_32 in IDATA7. - -Wed Jun 12 11:52:06 1996 Ian Lance Taylor <ian@cygnus.com> - - * nm.c (struct get_relocs_info): Define. - (line_numbers): New static variable. - (long_options): Add "line-numbers". - (usage): Mention -l and --line-numbers. - (main): Handle -l. - (print_symbol): Print line numbers if requested. - (get_relocs): New static function. - * binutils.texi, nm.1: Document -l/--line-numbers. - -Tue Jun 11 20:12:15 1996 Ian Lance Taylor <ian@cygnus.com> - - * objdump.c (dump_reloc_set): Add sec parameter. Change all - callers. If with_line_numbers is set, display line numbers of - relocation entries. - * binutils.texi, objdump.1: Document -l with -r. - -Mon Jun 10 23:42:59 1996 Ian Lance Taylor <ian@cygnus.com> - - * ar.c (open_inarch): Report BFD error message if an archive can - not be recognized. List matching formats if the file is - ambiguously recognized. - (ranlib_touch): Likewise. - -Thu Jun 6 13:56:14 1996 Ian Lance Taylor <ian@cygnus.com> - - * README: Add notes on how to build if you don't have ar. - - * Makefile.in: Remove old incorrect setting of CC. - -Tue Jun 4 10:52:49 1996 Tom Tromey <tromey@csk3.cygnus.com> - - * Makefile.in (install): Don't check to see if tooldir exists. - Make $(tooldir) and $(tooldir)/bin. - -Mon Jun 3 17:40:23 1996 Michael Meissner <meissner@tiktok.cygnus.com> - - * strings.c (main): Make main an int function, not void. - -Fri May 31 13:59:24 1996 Ian Lance Taylor <ian@cygnus.com> - - * nm.c (filter_symbols): Check for BSF_WEAK as well as - BSF_GLOBAL. - * objcopy.c (filter_symbols): Likewise. - -Wed May 8 16:57:20 1996 Ian Lance Taylor <ian@cygnus.com> - - * objcopy.c (copy_object): Make clear that it is only a warning - when the output file can not represent the architecture. - -Fri May 3 11:30:17 1996 Ian Lance Taylor <ian@cygnus.com> - - * objdump.c (disassemble_data): Don't refer to bytes past the end - of data. - -Wed Apr 24 14:10:21 1996 Ian Lance Taylor <ian@cygnus.com> - - * rddbg.c (read_symbol_stabs_debugging_info): Move call to - free_saved_stabs outside the loop over the symbols. - -Tue Apr 23 12:56:11 1996 Ian Lance Taylor <ian@cygnus.com> - - * objdump.c (compare_symbols): Sort symbols whose names start with - `.' after other symbols. If no other decision can be made, sort - symbols by name. - -Thu Apr 18 16:02:11 1996 Ian Lance Taylor <ian@cygnus.com> - - * dep-in.sed: Substitute $(BFDDIR) for @BFDDIR@. - * Makefile.in: Rebuild dependencies. - (dep.sed): Substitute $(BFDDIR) for @BFDDIR@. - -Tue Apr 16 13:50:22 1996 Ian Lance Taylor <ian@cygnus.com> - - * rdcoff.c: New file. - * rddbg.c (read_debugging_info): Read COFF symbols if COFF flavour - and no stabs were found. - * budbg.h (parse_coff): Declare. - * Makefile.in: Rebuild dependencies. - (CFILES): Add rdcoff.c. - (DEBUG_OBJS): Add rdcoff.o. - -Mon Apr 15 15:55:01 1996 Doug Evans <dje@canuck.cygnus.com> - - * nlmconv.c (choose_temp_base{,_try}): Delete, in libiberty now. - (link_inputs): Update call to choose_temp_base. - -Mon Apr 8 14:40:05 1996 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Permit --enable-shared to specify a list of - directories. - * configure: Rebuild. - -Fri Mar 29 16:11:33 1996 Ian Lance Taylor <ian@cygnus.com> - - * objdump.c (dump_section_header): Print the SEC_LINK_ONCE flag - and the SEC_LINK_DUPLICATES field. - -Fri Mar 29 11:35:55 1996 J.T. Conklin (jtc@lisa.cygnus.com) - - * nlmconv.1: Changed to be recognized by catman -w on Solaris. - -Thu Mar 28 14:17:02 1996 Ian Lance Taylor <ian@cygnus.com> - - * wrstabs.c (stab_enum_type): Set buf before using it. - -Fri Mar 22 15:49:08 1996 Ian Lance Taylor <ian@cygnus.com> - - * stabs.c (struct stab_handle): Add field abfd. - (start_stab): Add abfd parameter. - (parse_stab_string): Skip the symbol leading char when searching - for the value of a global symbol. - * budbg.h (start_stab): Update declaration. - * rddbg.c (read_section_stabs_debugging_info): Pass abfd to - start_stab. - (read_symbol_stabs_debugging_info): Likewise. - -Thu Mar 21 12:40:48 1996 Ian Lance Taylor <ian@cygnus.com> - - * wrstabs.c (stab_function_type): Output an empty typedef for an - unused argument, rather than making up a meaningless name. - (stab_variable): Use N_RSYM for a DEBUG_REGISTER variable. - - * ieee.c (struct ieee_info): Add global_vars field. - (parse_ieee_be): When ending the global typedef block, copy the - variables into info->global_vars. - (parse_ieee_atn): Don't require an NN record for a pmisc ATN. - (ieee_read_reference): Search the global variables after the local - variables. - -Wed Mar 20 18:08:19 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * objdump.c (disassemble_data): Make sure sym_name is always set. - (dump_section_header): Always put a space after the section name. - (dump_bfd_header): Terminate output with newline. - -Wed Mar 20 16:35:20 1996 Ian Lance Taylor <ian@cygnus.com> - - * wrstabs.c: New file. - * budbg.h (write_stabs_in_sections_debugging_info): Declare. - * objcopy.c (write_debugging_info): For COFF or ELF, output stabs - in sections. - * Makefile.in: Rebuild dependencies. - (CFILES): Add wrstabs.c. - (WRITE_DEBUG_OBJS): New variable. - ($(OBJCOPY_PROG)): Use $(WRITE_DEBUG_OBJS), not $(DEBUG_OBJS). - ($(STRIP_PROG)): Likewise. - - * stabs.c (parse_stab_members): Make type stub detection more like - gdb. - - * ieee.c (struct ieee_handle): Add fields complex_float_index and - complex_double_index. - (ieee_complex_type): Cache type index in complex_float_index and - complex_double_index, depending upon size. Set size on type stack - to size * 2. - - * ieee.c (ieee_empty_type): Use builtin_unknown, not 0. - (ieee_void_type): Use builtin_void, not 1. - - * ieee.c (parse_ieee_ty): Handle 'V' type code. - (parse_ieee_atn): Don't require two numbers for type 10. - - * ieee.c (parse_ieee_be): Add one to offset at end of function or - block. - - * ieee.c (struct ieee_block): Add field skip. - (parse_ieee_bb): Don't call debug_record_function for __XRYCPP - function, and set skip field. - (parse_ieee_be): Don't call debug_end_function if skip is set. - - * debug.c (struct debug_handle): Add fields current_write_lineno - and current_write_lineno_index. - (debug_write): Initialize current_write_lineno and - current_write_lineno_index for each unit. Call - debug_write_linenos rather than writing out the line numbers - directly. - (debug_write_function): Call debug_write_linenos. - (debug_write_block): Likewise. - (debug_write_linenos): New static function. - - * debug.c (debug_write_type): For DEBUG_KIND_FUNCTION, push return - type before arguments. - -Mon Mar 18 18:05:33 1996 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Add AC_FUNC_VFORK. - * configure, config.in: Rebuild. - * dlltool.c, nlmconv.c: Include <vfork.h> if HAVE_VFORK_H is - defined. - - * stabs.c (parse_stab_range_type): A complex type is defined as a - subrange of itself with the high bound zero. - * ieee.c (ieee_complex_type): Don't crash on sizes of 12 or 16. - -Tue Mar 12 12:09:43 1996 Ian Lance Taylor <ian@cygnus.com> - - * ieee.c (ieee_write_undefined_tag): Switch to global_types even - if it is not empty. - (ieee_tag_type): For an enum, look through info->enums. - - * configure: Rebuild with autoconf 2.8. - - * debug.c (debug_type_samep): Don't loop endlessly in - DEBUG_KIND_ENUM case. From Eric Baur <ecb@nexen.com>. - -Mon Mar 11 12:35:03 1996 Ian Lance Taylor <ian@cygnus.com> - - * rddbg.c (read_section_stabs_debugging_info): Call save_stab for - each stab entry, call stab_context on an error, and call - free_saved_stabs before rturning. - (read_symbol_stabs_debugging_info): Likewise. - (SAVE_STABS_COUNT): Define. - (struct saved_stab): Define. - (saved_stabs, saved_stabs_index): New static variables. - (save_stab, stab_context, free_saved_stabs): New static functios. - - * objdump.c (stab_name): Remove. - (struct stab_print): Remove. - (stab_print): Remove. - (dump_stabs): Don't initialize stab_name. - (print_section_stabs): Call bfd_get_stab_name rather than using - the stab_name array. - -Tue Feb 27 19:52:01 1996 Ian Lance Taylor <ian@cygnus.com> - - * prdbg.c (pr_int_constant): Initialize info correctly. - (pr_float_constant): Likewise. - -Mon Feb 26 18:11:37 1996 Stan Shebs <shebs@andros.cygnus.com> - - * mpw-make.sed: Update to handle shared library support. - -Sat Feb 24 11:21:49 1996 Alan Modra <alan@spri.levels.unisa.edu.au>: - - * Makefile.in ($(OBJDUMP_PROG)): Search $(BFDLIB) before - $(OPCODES). - -Thu Feb 15 12:44:45 1996 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Don't tamper with LDFLAGS. Call AC_PROG_CC before - configure.host. - * configure: Rebuild. - - * configure.in: Substitute RPATH_ENVVAR. - * configure: Rebuild. - * Makefile.in (RPATH_ENVVAR): New variable. - (check): Use $(RPATH_ENVVAR) rather than LD_LIBRARY_PATH. - - * objcopy.c (smart_rename): Rather than doing chmod then chown, do - chmod without setuid, then chown, then chmod with setuid. - -Wed Feb 14 16:46:42 1996 Martin Anantharaman <martin@mail.imech.uni-duisburg.de> - - * arsup.c (map_over_list): Reindent. Don't assume that the - function does not delete the BFD. - (ar_addlib_doer): Don't set prev->next if prev is NULL. - -Wed Feb 14 15:12:17 1996 Ian Lance Taylor <ian@cygnus.com> - - * ieee.c (ieee_regno_to_genreg): Convert register numbers for m68k - and i960. - (ieee_genreg_to_regno): Likewise. - -Mon Feb 12 14:19:59 1996 Ian Lance Taylor <ian@cygnus.com> - - * ieee.c: Extensive changes to write code to put types in the - global type block when possible, to output ranges for all memory - occupied by the module, and to improve efficiency. - - * debug.c (struct debug_handle): Remove class_mark field. Add - id_list and compare_list fields. - (struct debug_class_id): Define. - (struct debug_type_compare_list): Define. - (debug_write): Initialize info->id_list - (debug_write_name): Remove reference to info->class_mark. - (debug_write_type): Get id for all structs and classes. Simplify - test for whether struct has already been written. - (debug_write_class_type): Get id for all classes. Simplify test - for whether class has already been written. - (debug_write_block): Don't write out blocks other than the top - level block if they have no local variables. - (debug_set_class_id): New static function. - (debug_type_samep): New static function. - (debug_class_type_samep): New static function. - * prdbg.c (pr_start_struct_type): Always print id. - (pr_start_class_type): Likewise. - (pr_tag_type): Likewise. - - * stabs.c (struct stab_handle): Add syms and symcount fields. - (start_stab): Add syms and symcount parameters. Change all - callers. - (parse_stab_string): Look up global variables in the symbol table - to get the right value. - * budbg.h (start_stab): Update declaration. - * rddbg.c (read_section_stabs_debugging_info): Add syms and - symcount parameters. Change all callers. - - * stabs.c (parse_stab_array_type): If the index type is 0, use - int. - -Wed Feb 7 14:17:45 1996 Ian Lance Taylor <ian@cygnus.com> - - * ieee.c (ieee_start_compilation_unit): Clear modified and - modified_alloc fields of info. - - * configure.in: Check for --enable-shared. Substitute new - variables BFDLIB and OPCODES. - * configure: Rebuild. - * Makefile.in (BFDLIB): Set to @BFDLIB@. - (OPCODES): Set to @OPCODES@. - -Mon Feb 5 16:18:42 1996 Ian Lance Taylor <ian@cygnus.com> - - Support for building bfd and opcodes as shared libraries, based on - patches from Alan Modra <alan@spri.levels.unisa.edu.au>: - * configure.in (HLDFLAGS): New substitution. - * configure: Rebuild. - * Makefile.in (HLDFLAGS): New variable. Make all links use - $(HLDFLAGS) before $(CFLAGS) and $(LDFLAGS). - (BFDLIB_DEP): New variable. Replace all occurrences of $(BFD) as - a dependency with $(BFDLIB_DEP). Remove $(BFD) as a dependency if - there is also a dependency on $(ADDL_DEPS). - (BFDLIB): Rename from BFD; change all uses; set to -L../bfd -lbfd. - (OPCODES_DEP): New variable. Replace all occurrends of $(OPCODES) - as a dependency with $(OPCODES_DEP). - (OPCODES): Set to -L../opcodes -lopcodes. - (ADDL_DEPS): New variable. Replace all occurrences of - $(ADDL_LIBS) as a dependency with $(ADDL_DEPS). - (check): Set LD_LIBRARY_PATH in the environment. - (config.status): Depend upon BFD configure.host and config.bfd. - -Fri Feb 2 17:02:59 1996 Doug Evans <dje@charmed.cygnus.com> - - * objdump.c: #include stdarg.h or varargs.h. - (objdump_print_value): Change FILE* arg to struct disassemble_info*. - All callers updated. Use fprintf_func. - (objdump_print_address): Consistently use fprintf_func. - (objdump_sprintf): New function. - (disassemble_data): Print insn into a buffer, print raw insn ourselves, - then print insn mnemonic. - -Fri Feb 2 16:48:55 1996 Ian Lance Taylor <ian@cygnus.com> - - * configure: Regenerate. - -Thu Feb 1 09:38:18 1996 Steve Chamberlain <sac@slash.cygnus.com> - - * configure.in (i[3-6]86-*-win32): Becomes i[3-6]86-*-cygwin32. - (powerpc*-*-cygwin32): New. - * configure: Regenerated. - -Wed Jan 31 13:22:03 1996 Richard Henderson <rth@tamu.edu> - - * Makefile.in (distclean): Remove $(DEMANGLER_PROG).1. - -Mon Jan 29 17:36:29 1996 Ian Lance Taylor <ian@cygnus.com> - - Based on patches from H J Lu <hjl@zoom.com>: - * objcopy.c (remove_leading_char): New static variable. - (OPTION_REMOVE_LEADING_CHAR): Define. - (copy_usage): Mention --remove-leading-char. - (filter_symbols): If remove_leading_char, and the first character - of a global symbol matches the symbol leading char of the BFD, - remove the first character. - (copy_object): Filter the symbols if remove_leading_char is set. - (copy_main): Handle --remove-leading-char. - * binutils.texi, objcopy.1: Document --remove-leading-char. - -Sat Jan 27 15:40:13 1996 Michael Meissner <meissner@tiktok.cygnus.com> - - * objdump.c (fprintf): Add prototype to avoid compiler warning on - SunOS. - -Fri Jan 26 11:53:42 1996 Ian Lance Taylor <ian@cygnus.com> - - * binutils.texi (nm): Improve documentation on symbol types. - (objdump): Reference the stabs manual from the discussion of the - --stabs option. - -Thu Jan 25 11:21:46 1996 Raymond Jou <rjou@mexican.cygnus.com> - - * mpw-make.sed: Add a "stamps" target. - -Thu Jan 25 13:51:44 1996 Ian Lance Taylor <ian@cygnus.com> - - * objdump.c (dump_headers, dump_section_header): Change objdump -h - output to be simpler and to include section file offsets. - -Wed Jan 24 12:06:05 1996 Ian Lance Taylor <ian@cygnus.com> - - * stabs.c (parse_stab_members): Don't adjust voffset. - - * ieee.c (ieee_read_cxx_class): Don't multiply voffset by 4. - (struct ieee_write_type): Add name field. - (struct ieee_type_class): Remove name field. Change all uses to - use new name field in type instead. - (struct ieee_name_type): Likewise. - (ieee_start_struct_type): Initialize name field of type. - (ieee_start_class_type): Don't initialize classdef entry of tag. - (ieee_class_method_var): Don't adjust voffset. - (ieee_end_class_type): Likewise. - (ieee_tag_type): Initialize new name field of type. - (ieee_typdef): Set name after copying in type information. - - * debug.c (VOFFSET_STATIC_METHOD): Define as -1, not 1. - - * ieee.c (struct ieee_modified_type): Define. - (struct ieee_handle): Add modified and modified_alloc fields. - (ieee_get_modified_info): New static function. - (ieee_pointer_type): Cache type index. - (ieee_const_type): Likewise. - (ieee_volatile_type): Likewise. - - * ieee.c (ieee_define_named_type): When creating a tag for an - anonymous struct, copy the name into memory. - (ieee_tag_type): Likewise. - * debug.c (debug_write_type): Only check and set id field for an - unnamed object. - (debug_write_class_type): Likewise. - - * ieee.c: Various changes to write out types for functions and - references, and to not write out unnecessary function types. - - * ieee.c (struct ieee_var): Remove variable field. Add kind - field, and define some enum constants for it. - (parse_ieee_ty): Set kind field of variable for 'x' and 'X' types. - (parse_ieee_atn): Make an indirect slot for an external variable, - although we otherwise don't record it. Set kind field rather than - variable field of pvar. - (ieee_read_cxx_class): Try to get the type of a static member. - (ieee_read_reference): Check kind field rather than variable - field. - -Tue Jan 23 15:54:18 1996 Ian Lance Taylor <ian@cygnus.com> - - * ieee.c: Various changes to handle reading C++ reference type - information. - - * debug.h (enum debug_var_kind): Add DEBUG_VAR_ILLEGAL. - (enum debug_parm_kind): Add DEBUG_PARM_ILLEGAL. - * debug.c (debug_get_parameter_types): Handle DEBUG_KIND_FUNCTION. - - * ieee.c: Various changes to write out definitions of C++ classes. - - * debug.c (debug_append_filename): Remove. - * debug.h (debug_append_filename): Don't declare. - - * stabs.c (struct stab_handle): Remove last_type field. Add - so_string and so_value fields. - (finish_stab): Call stab_emit_pending_vars before calling - debug_end_function. Don't warn about pending variables. - (parse_stab): Accumulate N_SO strings until a non N_SO symbol is - seen, rather than calling debug_append_filename. Call - stab_emit_pending_vars before calling debug_end_function. Don't - set info->last_type. - -Tue Jan 23 09:53:54 1996 Doug Evans <dje@charmed.cygnus.com> - - * objdump.c (disassemble_data): Handle unknown endianness. - Pass fprintf to INIT_DISASSEMBLE_INFO. - -Mon Jan 22 16:46:43 1996 Doug Evans <dje@charmed.cygnus.com> - - Add new option --show-raw-insn. - * objdump.c (show_raw_insn): New global. - (usage): Update. - (long_options): Update. - (disassemble_data): Set disasm_info.flags if --show-raw-insn. - - * objdump.c (disassemble_data): Set new arch,mach,endian fields in - disasm_info. - -Mon Jan 22 19:29:36 1996 Ian Lance Taylor <ian@cygnus.com> - - * ieee.c: Extensive changes to pass a single info argument around - in the reading routines, rather than several arguments. Add code - to read C++ debugging records. - - * debug.h (debug_get_type_size): Declare. - (debug_get_field_name): Declare. - (debug_get_field_bitpos): Declare. - (debug_get_field_bitsize): Declare. - (debug_get_field_visibility): Declare. - (debug_get_field_physname): Declare. - * debug.c (debug_get_real_type): Handle DEBUG_KIND_TAGGED. - (debug_get_type_size): New function. - (debug_get_field_name): New function. - (debug_get_field_bitpos): New function. - (debug_get_field_bitsize): New function. - (debug_get_field_visibility): New function. - (debug_get_field_physname): New function. - (debug_write_type): Make sure we pass the real kind, not INDIRECT, - to tag_type. Pass the name recursively for INDIRECT. - -Fri Jan 19 12:31:57 1996 Ian Lance Taylor <ian@cygnus.com> - - * debug.h (struct debug_write_fns): Remove ellipsis_type. Add int - and boolean parameters to function_type. Add boolean parameter to - method_type. - (debug_make_ellipsis_type): Don't declare. - (debug_make_function_type): Add debug_type * and boolean - parameters. Change all callers. - (debug_make_method_type): Add boolean parameter. Change all - callers. - (debug_get_parameter_types): Add boolean * parameter. Change all - callers. - (debug_get_target_type): Declare. - * debug.c (struct debug_function_type): Add fields arg_types and - varargs. - (struct debug_method_type): Add field varargs. - (debug_ellipsis_type, ELLIPSIS_P): Remove. - (debug_make_ellipsis_type): Remove. - (debug_make_function_type): Add arg_types and varargs parameters. - (debug_make_method_type): Add varargs parameter. - (debug_get_parameter_types): Add pvarargs parameter. - (debug_get_target_type): New function. - (debug_write_type): In case DEBUG_KIND_FUNCTION, push argument - types and pass count to function_type. In DEBUG_KIND_METHOD, use - a signed int for the count, don't call ellipsis_type, and pass - varargs to method_type. - * stabs.c (struct stab_demangle_info): Add varargs field. - (stab_demangle_argtypes): Add pvarargs parameter. Change all - callers. - (stab_demangle_args): Likewise. - (stab_demangle_type): In case 'F', pick up argument types. - * prdbg.c (pr_ellipsis_type): Remove. - (pr_function_type): Add argcount and varargs parameters. - (pr_method_type): Add varargs parameter. - * ieee.c (ieee_ellipsis_type): Remove. - (ieee_function_type): Add argcount and varargs parameters. - (ieee_method_type): Add varargs parameter. Remove most of - function body, and just call ieee_function_type. - - * stabs.c: Include "demangle.h". Added several new static - functions not listed below to demangle argument types; they are - all called via stab_demangle_argtypes. - (finish_stab): If the kind of an undefined tag is - DEBUG_KIND_ILLEGAL, use DEBUG_KIND_STRUCT instead. Warn if there - are any pending variable. - (parse_stab): Don't close the function when the block depth goes - to zero. Pass value to debug_end_function. - (parse_stab_string): In case 'T', pass the name to - parse_stab_type. - (parse_stab_type): In case 'x', use stab_find_tagged_type. In - case '#', handle functions with variable numbers of arguments. - (parse_stab_struct_type): Add tagname parameter. Change all - callers. - (parse_stab_members): Add tagname and typenums parameters. Change - all callers. If the type of a method is a stub, call - parse_stab_argtypes to demangle the argument types and get the - physical name of the function. - (parse_stab_argtypes): New static function. - (stab_record_variable): For a DEBUG_GLOBAL or DEBUG_STATIC - variable, call debug_record_variable immediately. - (stab_find_tagged_type): New static function. - - * debug.h (enum debug_type_kind): Add DEBUG_KIND_ILLEGAL. - (struct debug_write_fns): Add field ellipsis_type. Add id - parameter to start_struct_type, start_class_type, and tag_type. - (debug_make_ellipsis_type): Declare. - (debug_find_named_type): Declare. - (debug_get_type_kind): Declare. - (debug_get_return_type): Declare. - (debug_get_parameter_types): Declare. - (debug_get_fields): Declare. - (debug_get_field_type): Declare. - * debug.c (struct debug_handle): Add fields class_id and base_id. - (struct debug_class_type): Add field id. - (struct debug_method_variant): Rename argtypes to physname. - Change all uses. - (debug_ellipsis_type): New static variable. - (ELLIPSIS_P): New macro. - (debug_make_ellipsis_type): New function. - (debug_make_method_variant): Rename argtypes to physname. - (debug_make_static_method_variant): Likewise. - (debug_name_type): Always put types in the global namespace. - (debug_find_named_type): New function. - (debug_find_tagged_type): Treat DEBUG_KIND_ILLEGAL specially, - rather than DEBUG_KIND_VOID. - (debug_get_real_type): New static function. - (debug_get_type_kind): New function. - (debug_get_return_type): New function. - (debug_get_parameter_types): New function. - (debug_get_fields): New function. - (debug_get_field_type): New function. - (debug_write): Initialize base_id. - (debug_write_type): Pass new id argument to tag_type. Handle - DEBUG_KIND_ILLEGAL. Use id for DEBUG_KIND_STRUCT and - DEBUG_KIND_UNION. Handle ellipsis for method arguments. - (debug_write_class_type): Don't dereference kclass if it is NULL. - Use id. - * prdbg.c (pr_fns): Add pr_ellipsis_type. - (pr_ellipsis_type): New static function. - (pr_pointer_type): If this is a pointer to an array, parenthesize - it correctly. - (pr_start_struct_type): Add id parameter. - (pr_start_class_type): Likewise. - (pr_tag_type): Likewise. - (pr_fix_visibility): Add the visibility to the top of the stack, - not the second element on the stack. - (pr_struct_field): Pop the stack before calling pr_fix_visibility. - (pr_class_static_member): Likewise. - (pr_class_start_method): Don't push a type, just set the method - name in the type on the top of the stack. - (pr_class_end_method): Don't pop the stack. - (pr_class_method_variant): Rename argtypes parameter to physname. - Append const and volatile rather than prepending them. Add a - space after the physname. - (pr_class_static_method_variant): Likewise. - * ieee.c (ieee_fns): Add ieee_ellipsis_type. - (ieee_define_named_type): Use DEBUG_KIND_ILLEGAL rather than - DEBUG_KIND_VOID. - (write_ieee_debugging_info): Likewise. - (ieee_typdef): Likewise. - (ieee_ellipsis_type): New static function. - (ieee_start_struct_type): Add id parameter. - (ieee_start_class_type): Likewise. - (ieee_tag_type): Likewise. - (ieee_class_method_variant): Rename name to physname. - (ieee_class_static_method_variant): Likewise. - - * Makefile.in (DEBUG_OBJS): Remove prdbg.o. - ($(OBJDUMP_PROG)): Depend upon, and link against, prdbg.o. - -Thu Jan 18 17:35:06 1996 Kim Knuttila <krk@cygnus.com> - - * dlltool.c (make_tail): Changed the order of the sections to avoid - an alignment problem. - -Wed Jan 17 14:23:00 1996 J.T. Conklin <jtc@rtl.cygnus.com> - - * srconv.c (wr_du): Set du.stackfrmt to 0. - (wr_un, wr_sc): Emit all sections, even those with 0 size. - -Tue Jan 16 16:15:49 1996 J.T. Conklin <jtc@rtl.cygnus.com> - - * srconv.c (wr_hd): Space size within segment was being - stored in segment identifier field. - -Tue Jan 16 12:07:25 1996 Stan Shebs <shebs@andros.cygnus.com> - - * mpw-config.in (BUILD_NLMCONV, BUILD_SRCONV, SYSINFO_PROG, - BUILD_DLLTOOL): Put definitions for these into makefile when - configuring, instead of always clearing in mpw-make.sed. - * mpw-make.sed: Edit out any host_alias or target_alias settings, - fix pathname to BFD internal include files, remove dependency - calculation rules. - -Thu Jan 11 17:31:38 1996 Michael Meissner <meissner@tiktok.cygnus.com> - - * objdump.c (dump_section_header): Add new section flags - SEC_{EXCLUDE,SORT_ENTRIES}. - -Thu Jan 11 11:45:34 1996 Ian Lance Taylor <ian@cygnus.com> - - * objcopy.c (filter_symbols): NULL terminate the output symbols. - (copy_object): Allocate space for a possible extra NULL pointer. - - * debug.c (debug_make_undefined_tagged_type): Make sure we are - given a kind of type we can handle. - (debug_write_type): Handle undefined enums and structs. - (debug_write_class_type): Handle undefined classes. - * prdbg.c (pr_enum_type): Handle an undefined enum. - * ieee.c (ieee_enum_type): Likewise. - -Wed Jan 10 15:33:18 1996 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in: Updated dependencies. - (ALLOCA, MALLOC): Remove variables. - (ADDL_LIBS): Remove $(MALLOC) from definition. - * alloca.c, gmalloc.c: Remove. - -Mon Jan 8 18:02:29 1996 Ian Lance Taylor <ian@cygnus.com> - - * ieee.c: Add global function write_ieee_debugging_info and a - bunch of static functions and structs used to write out IEEE - debugging information. - * budbg.h (write_ieee_debugging_info): Declare. - - * ieee.c (struct ieee_type): Add pslot field. - (enum builtin_types): Define. - (ieee_builtin_type): For a pointer, return a pointer to the named - type. Use enum values rather than numbers. - (ieee_alloc_type): New static function. - (ieee_read_type_index): Use ieee_alloc_type. - (parse_ieee_bb): Likewise. - (parse_ieee_ty): Likewise. Use ieee_builtin_type for array range, - rather than making a new integer type. Store the new type in the - slot, if there is one. - (parse_ieee_atn): Treat ATN10 as defining a register variable. - (ieee_regno_to_genreg): Rename from ieee_regno_to_gen. Change all - callers. - (ieee_genreg_to_regno): New static function. - - * stabs.c (parse_stab_type): Add new typename parameter. Change - all callers. - (parse_stab_range_type): Add new typename parameter. Change all - callers. - - * debug.h (struct debug_write_fns): Add tag parameter to - enum_type, start_struct_type, and start_class_type. - * debug.c (debug_write_type): Pass any tag name to - start_struct_type, debug_write_class_type, and enum_type. If - DEBUG_KIND_TAGGED, pass the name in the recursive call. - (debug_write_class_type): Accept a new tag parameter, and pass it - to start_class_type. - * prdbg.c (pop_type): Don't remove '+' character. - (pr_enum_type): Accept and use tag parameter. - (pr_start_struct_type): Likewise. - (pr_start_class_type): Likewise. - (pr_class_baseclass): Adjust algorithm used to find where to put - the baseclass name. - (pr_tag): Don't bother to insert the tag name. - - * objcopy.c: Include budbg.h. - (convert_debugging): New static variable. - (OPTION_DEBUGGING): Define. - (copy_options): Add "debugging". - (copy_usage): Mention --debugging. - (is_strip_section): Skip debugging sections if convert_debugging. - (setup_section, copy_section): Likewise. - (filter_symbols): Skip debugging symbols if convert_debugging. - (copy_object): If convert_debugging, read and write debugging - information. - (write_debugging_info): New static function. - (copy_main): Handle --debugging. - * Makefile.in (DEBUG_OBJS): New variable. - ($(OBJCOPY_PROG)): Depend upon and link against $(DEBUG_OBJS). - ($(STRIP_PROG)): Likewise. - (OBJDUMP_OBJS): Remove variable. - ($(OBJDUMP_PROG)): Use objdump.o $(DEBUG_OBJS) rather than - $(OBJDUMP_OBJS). - * binutils.texi, objcopy.1: Document --debugging. - -Thu Jan 4 16:31:21 1996 Ian Lance Taylor <ian@cygnus.com> - - * ieee.c: New file with code to read IEEE debugging information. - * budbg.h (parse_ieee): Declare. - * rddbg.c (read_debugging_info): Handle IEEE flavour files. - (read_ieee_debugging_info): New static function. - * Makefile.in: Rebuild dependencies. - (CFILES): Add ieee.c. - (OBJDUMP_OBJS): Add ieee.o. - - * bucomm.h (xrealloc): Change type of first parameter from char * - to PTR. - -Tue Jan 2 17:44:07 1996 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in: Add targets to automatically rebuild dependencies. - Remove targets which just listed dependencies of .o files. - (DEP): New variable. - (HFILES, GENERATED_HFILES): New variables. - (CFILES, GENERATED_CFILES): New variables. - (underscore.c): Don't do anything, just depend upon stamp-under. - (stamp-under): New target; do what underscore.c used to do. - (nlmconv.o): Depend upon sym.h and ecoff.h. - (.dep, .dep1, dep.sed, dep, dep-in): New targets. - (stage1, stage2, stage3, against, comparison): Remove. - (de-stage1, de-stage2, de-stage3): Remove. - (clean, distclean): Remove stamp-under and dep.sed. - * dep-in.sed: New file. - - Implement generic debugging support. Implement a stabs reader and - a generic printer. - * budbg.h, debug.c, debug.h, prdbg.c, rddbg.c, stabs.c: New files. - * objdump.c: Include "debug.h" and "budbg.h". - (dump_debugging): New global variable. - (usage): Mention --debugging. - (long_options): Add "debugging". - (display_bfd): Handle --debugging. - * Makefile.in (OBJDUMP_OBJS): New variable. - ($(OBJDUMP_PROG)): Use $(OBJDUMP_OBJS). - * binutils.texi, objdump.1: Document --debugging. - -Sat Dec 30 09:59:51 1995 Jeffrey A Law (law@cygnus.com) - - * nm.c ( long_options): Add "--defined-only" option. - (usage): Update for new "--defined-only" option. - (filter_symbols): Handle "--defined-only". - -Fri Dec 29 16:04:56 1995 Ian Lance Taylor <ian@cygnus.com> - - * arparse.y: Include "bucomm.h", not <sysdep.h>. - * nlmheader.y: Don't include "sysdep.h". - -Tue Dec 26 18:23:18 1995 Ian Lance Taylor <ian@cygnus.com> - - * nm.c (print_symdef_entry): Check return value of - bfd_get_elt_at_index. - -Sat Dec 23 11:03:16 1995 Michael Meissner <meissner@tiktok.cgynsu.com> - - * configure.in (DLLTOOL_DEFS): Build dlltool for PowerPC if target - is powerpc*-*-win* in addition to powerpc*-*-*pe*. - -Fri Dec 15 16:30:57 1995 Ian Lance Taylor <ian@cygnus.com> - - * objdump.c (endian_string): New static function. - (display_target_list): Use it. - * nlmconv.c (main): Use new bfd_big_endian macro. - -Fri Dec 15 07:51:34 1995 steve chamberlain <sac@slash.cygnus.com> - - * dlltool.c (fill_ordinals): Start from 1 if no other instructions - given. - -Tue Dec 12 12:05:21 1995 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in (clean): Remove $(DEMANGLER_PROG).1. From Ronald - F. Guilmette <rfg@monkeys.com>. - -Mon Dec 11 14:33:05 1995 Stan Shebs <shebs@andros.cygnus.com> - - * mac-binutils.r: Fix copyright and version strings. - - * Makefile.in (version): Remove, no longer used. - -Fri Dec 1 14:41:56 1995 Stan Shebs <shebs@andros.cygnus.com> - - * mpw-make.sed (install, install-only): Edit in Mac-specific - install procedure. - -Thu Nov 30 20:26:02 1995 Kim Knuttila <krk@cygnus.com> - - * dlltool.c (ppc_jtab): The binary glue for PowerPC dll linkage, - including the return instruction. - sinfo: added a preferred alignment field. - (secdata): section data for the PowerPC version. - (make_one_lib_file): More symbols, More sections (pdata, rdata) - (make_tail): Use idata$6 instead of idata$7 for ppc. Also added a - NULL idata$3 descriptor (temporary). - -Tue Nov 28 17:23:44 1995 Doug Evans <dje@canuck.cygnus.com> - - * dlltool.c (fill_ordinals): Don't reference d_export_vec if - there are no exported functions. - -Mon Nov 27 13:05:59 1995 Ian Lance Taylor <ian@cygnus.com> - - * configure: Regenerate with autoconf 2.7. - -Wed Nov 22 13:17:15 1995 Ian Lance Taylor <ian@cygnus.com> - - * dlltool.c (fill_ordinals): Start assigning ordinals at 1. - - * Makefile.in (EXPECT): Use $$r, not $${rootme}. - (check): Set r, not rootme. - -Tue Nov 21 18:04:09 1995 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Use BFD_NEED_DECLARATION. - * acconfig.h: Put NEED_DECLARATION_FPRINTF in @TOP@ section. - * configure, config.in: Rebuild with autoconf 2.6. - -Fri Nov 17 10:34:37 1995 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in (CC_FOR_TARGET): Use @host@ and @target@, not - $(host_canonical) and $(target_canonical). - -Thu Nov 16 03:39:20 1995 Ken Raeburn <raeburn@cygnus.com> - - Version 2.6 released. - * Makefile.in (VERSION): Update to 2.6. - -Wed Nov 15 12:14:17 1995 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in (CC_FOR_TARGET): Define. - (check): Pass CC and CFLAGS to runtest. - - * nm.c (display_rel_file): Don't require a DYNAMIC object when - dumping the dynamic symbol table. - - * objdump.c (compare_symbols): Sort global symbols before local - symbols before debugging symbols. - (objdump_print_address): Don't futz around looking for a global - symbol with the same value. - -Tue Nov 14 17:19:11 1995 Ian Lance Taylor <ian@cygnus.com> - - * dlltool.c: Use FOPEN_* macros rather than "r" or "w". - - * dlltool.c (fill_ordinals): Correct memset call. - -Sun Nov 12 12:56:05 1995 Stan Shebs <shebs@andros.cygnus.com> - - * mpw-make.sed (DEMANGLER_PROG): Edit out attempts to do anything - with the man page. - -Fri Nov 10 11:41:22 1995 Ian Lance Taylor <ian@cygnus.com> - - * objcopy.c (setup_section): Copy the section lma independently of - the vma. - -Wed Nov 8 11:33:00 1995 Ian Lance Taylor <ian@cygnus.com> - - * arsup.c (ar_open): Cast malloc return value. - -Tue Nov 7 09:01:26 1995 Kim Knuttila <krk@cygnus.com> - - * configure.in, configure (DLLTOOL_DEFS): Added ppc target. - * dlltool.c (MPPC): Added basic PPC definitions. - -Tue Nov 7 14:02:57 1995 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Don't treat rs6000-*-lynx* specially. - * configure: Rebuild. - * config/rslynx: Remove. - * Makefile.in: Remove @target_makefile_fragment@. - -Mon Nov 6 15:00:50 1995 Ian Lance Taylor <ian@cygnus.com> - - * bucomm.h: Include <sys/types.h>. - * ar.c: Don't include <sys/types.h> or <stdio.h>. - * bucomm.c, dlltool.c, nlmconv.c, objcopy.c, objdump.c: Likewise. - -Fri Nov 3 12:38:09 1995 Ian Lance Taylor <ian@cygnus.com> - - * objdump.c: Include <sys/types.h>. - - Permit user to override DEMANGLER_PROG from command line. From - Manfred Hollstein <manfred@lts.sel.alcatel.de>. - * Makefile.in ($(DEMANGLER_PROG)): Depend upon - $(DEMANGLER_PROG).1. - (install): Don't depend upon $(DEMANGLER_PROG).1. Only install - $(DEMANGLER_PROG).1 if $(DEMANGLER_PROG) is not empty. - -Wed Nov 1 15:04:57 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de> - - * Makefile.in (syslex.o): add -I$(srcdir) if compiling in a - separate directory. - -Mon Oct 30 14:24:18 1995 Ian Lance Taylor <ian@cygnus.com> - - * objdump.c (objdump_print_value): New static function. - (objdump_print_address): Use it. If we need the right section for - the symbol, and we can't find it, print an offset from the section - rather than using a symbol from some other section. - -Thu Oct 26 10:23:14 1995 steve chamberlain <sac@slash.cygnus.com> - - * dlltool.c (no_idata4, no_idata5): New. - (arm_jtab): Use correct encoding of jump instruction. - (usage, main, make_head, make_tail): Act on no_idata4, no_idata5. - -Wed Oct 25 12:10:07 1995 Stan Shebs <shebs@andros.cygnus.com> - - * mpw-make.sed: Edit paths to generated y.tab.[ch] files. - -Fri Oct 20 18:40:34 1995 Ian Lance Taylor <ian@cygnus.com> - - * binutils.texi: Change --with-targets to --enable-targets. - -Thu Oct 19 17:47:41 1995 Fred Fish <fnf@cygnus.com> - - * Makefile.in: Remove extraneous tab on otherwise empty line, - which confuses many non-GNU versions of "make". - -Wed Oct 18 16:31:58 1995 steve chamberlain <sac@slash.cygnus.com> - - * dlltool.c (i386_jtab, arm_jtab): New - (gen_lib_file): Rewritten to use bfd. - -Fri Oct 13 16:10:07 1995 Michael Meissner <meissner@tiktok.cygnus.com> - - * Makefile.in (install): Don't give error message if dlltool - wasn't built. - -Fri Oct 13 11:04:37 1995 steve chamberlain <sac@slash.cygnus.com> - - * deflex.l: Allow quoting of IDs. - * defparse.y (%union): string deleted. - (command): DESCRIPTION takes ID. - * dlltool.c (gen_def_file): Quote outgoing name if - necessary. Preserve NONAME. - (gen_lib_file): Run ranlib. - (workout_prefix): Deleted. - (main, usage, long_options): Add --as, --ranlib, --ar options. - -Wed Oct 11 13:36:13 1995 steve chamberlain <sac@slash.cygnus.com> - - * dlltool.c (mtable): HOW_ALIGN_LONG, new. - (d_ord): Deleted. - (d_low_ord, d_high_ord, d_named_funcs): New. - (gen_exp_file): Create noname entries correctly. - (gen_lib_file): Dump exports alphabetically. - (process_duplicates): Count nonamed functions. - (fill_ordinals): Keep track of highest ord too. - (mangle_defs): Create alphabetically ordered list of names. - -Tue Oct 10 09:39:09 1995 steve chamberlain <sac@slash.cygnus.com> - - * Makefile.in (TOOL_PROGS): Include DLLTOOL_PROG. - -Mon Oct 9 13:06:31 1995 steve chamberlain <sac@slash.cygnus.com> - - * dlltool.c (add_underscore): New. - (xlate): Use new name. - (main, usage): Update. - -Fri Oct 6 14:08:51 1995 Ken Raeburn <raeburn@cygnus.com> - - * sysinfo.y: Eliminate unused terminals "[" and "]" and unused - nonterminal "name". One s/r conflict remains. - - Mon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * nm.c (print_symname): Don't try to demangle an empty - name. - * objdump.c (slurp_symtab): Reset symcount if there are - no symbols. - (slurp_dynamic_symtab): Likewise, for dynsymcount. - (disassemble_data): Fix memory leak: free sorted_syms when done. - (display_bfd): Likewise, for syms and dynsyms. - (dump_relocs): Don't print header before possibly generating an - error message. - (dump_dynamic_relocs): Likewise. - - * ar.1, nm.1, objdump.1, size.1, strings.1, strip.1: Fix typos and - formatting bugs. - -Fri Oct 6 12:00:25 1995 Ian Lance Taylor <ian@cygnus.com> - - * ar.c (do_quick_append): Comment out. - (replace_members): Add quick argument. - (main): Don't call do_quick_append. - (open_inarch): Don't call quick_append to create an empty archive. - Instead call bfd_openw/bfd_set_format/bfd_close. - -Thu Oct 5 20:53:08 1995 Ken Raeburn <raeburn@cygnus.com> - - * bucomm.c: Always include time.h. - -Thu Oct 5 17:25:21 1995 Ian Lance Taylor <ian@cygnus.com> - - * objdump.c (compare_symbols): Sort gnu_compiled and gcc2_compiled - symbols after other symbols with the same value. Likewise for - symbols which look like file names. - (objdump_print_address): Always chose the first reasonable symbol - with a given value. - -Tue Oct 3 22:38:55 1995 Ian Lance Taylor <ian@cygnus.com> - - * arsup.c (ar_save): Use rename, not unlink/link/unlink. - -Mon Oct 2 12:10:25 1995 Ian Lance Taylor <ian@cygnus.com> - - * strings.c (main): Exit with zero status if no files are given - and standard input is read. - -Thu Sep 28 20:03:07 1995 Stan Shebs <shebs@andros.cygnus.com> - - * mpw-config.in: Calculate underscore and put into makefile - fragment, generate config.h. - * mpw-make.sed: New file, sed commands to edit Unix makefile - into MPW syntax. - * mpw-make.in: Remove. - * mac-binutils.r: New file, Mac resources. - -Thu Sep 28 15:49:00 1995 steve chamberlain <sac@slash.cygnus.com> - - * dlltool.c: (gen_exp_file): Always emit a .reloc section if - relocatable. - (imp_name_lab): New. - (gen_def_file): New. - (gen_lib_file): Use imp_name_lab. - (main): Initialize imp_name_lab. - -Mon Sep 25 12:05:34 1995 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Call AC_HEADER_SYS_WAIT. - * configure: Rebuild. - * config.in: Rebuild. - * dlltool.c: Include "libiberty.h" and "bucomm.h". Don't include - <stdio.h>, <stdlib.h>, or <string.h>. Don't include <wait.h>. - Include <sys/types.h>. Use HAVE_SYS_WAIT_H to control whether to - include <sys/wait.h> or define the wait macros by hand. Don't - declare xmalloc. - (gen_lib_file): Don't assume that sprintf returns the number of - characters; use strlen instead. - -Fri Sep 22 17:16:41 1995 Ian Lance Taylor <ian@cygnus.com> - - * objdump.c (disassemble_data): Don't use the old BFD based - disassembler interface. Make info a const pointer. - -Wed Sep 13 18:33:44 1995 Ian Lance Taylor <ian@cygnus.com> - - * objdump.c (start_address): New variable. - (stop_address): New variable. - (usage): Mention --start-address and --stop-address. - (OPTION_START_ADDRESS, OPTION_STOP_ADDRESS): Define. - (long_options): Add "start-address" and "stop-address". - (disassemble_data): Handle start_address and stop_address. - (dump_data, dump_reloc_set): Likewise. - (main): Don't set seenflag for -l. Handle OPTION_START_ADDRESS - and OPTION_STOP_ADDRESS. - * objcopy.c (parse_vma): Move to bucomm.c. - * bucomm.c (parse_vma): New function, moved in from objcopy.c. - * bucomm.h (parse_vma): Declare. - * binutils.texi, objdump.1: Document new objdump options. - -Tue Sep 12 12:37:39 1995 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in (maintainer-clean): New target. - - * ar.c (replace_members): Don't call write_archive if nothing - changed. - - * objdump.c (disassemble_data): Add casts to avoid gcc warnings. - -Thu Sep 7 12:12:17 1995 Ian Lance Taylor <ian@cygnus.com> - - * config.in: Rename from config.h.in. - * configure.in: Call AC_CONFIG_HEADER with config.h:config.in. - Check for config.h:config.in when creating stamp-h. - * configure: Rebuild. - * Makefile.in (stamp-h): Depend upon config.in rather than - config.h.in. Set CONFIG_HEADERS to config.h:config.in when - calling config.status. - - * Makefile.in (distclean): Remove config.h, stamp-h, and - config.log. - - * nm.c (value_format): Initialize based on BFD64 and - BFD_HOST_64BIT_LONG. - (print_radix): New static variable. - (set_print_radix): Set print_radix. Adjust changes to - value_format. - (print_value): New static function, to print 64 bit octal and - decimal values correctly. - (print_symbol_info_bsd): Check BFD64, not BFD_HOST_64_BIT. Use - print_value. - (print_symbol_info_sysv): Use print_value. - (print_symbol_info_posix): Likewise. - -Wed Sep 6 15:02:55 1995 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in (*.o): Remove incorrect dependencies on - $(BFDDIR)/hosts/std-host.h. - - * Makefile.in (INSTALL_DATA): Add -m 644. - (INSTALL_XFORM1): Likewise. - (CC_FOR_BUILD): Set to @CC_FOR_BUILD@ rather than $(CC). - (mostlyclean): Remove config.log. - (distclean): Remove config.cache. - - * configure.in: Call BFD_CC_FOR_BUILD and BFD_BINARY_FOPEN. - * configure: Rebuild. - -Tue Sep 5 20:22:42 1995 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Rewrite to use autoconf. - * aclocal.m4: New file. - * configure: New file, built by autoconf. - * acconfig.h: New file. - * config.h.in: New file, built by autoheader. - * Makefile.in: Various changes for new configure script. Also: - (PROGS): Remove $(SYSINFO_PROG). - (ALL_CFLAGS): Remove $(TDEFINES). - (version.o): Use $(ALL_CFLAGS). - (cplus-dem.o, dlltool.o, nlmconv.o): Likewise. - (sysdump.o): Depend upon bucomm.h and config.h. - (srconv.o, arsup.o, strings.o): Depend upon config.h. - (filemode.o): Don't depend upon ../bfd/sysdep.h. - (bucomm.o): Depend upon config.h, not ../bfd/sysdep.h. - (size.o, objdump.o, nm.o, ar.o, objcopy.o): Likewise. - (nlmheader.o, nlmconv.o): Likewise. - (distclean): Don't remove sysdep.h. - * bucomm.h: Include "ansidecl.h", <stdio.h>, and "config.h". - Include "fopen-same.h" or "fopen-bin.h", based on - USE_BINARY_FOPEN. Include <errno.h>, and declare errno if it is - not a macro. Include <unistd.h>, <string.h>, <strings.h>, - <stdlib.h>, and <fcntl.h> if they are present. Declare strchr, - strrchr, and strstr if no string header file exists. Include - <sys/file.h> if it exists and <fcntl.h> does not. Define - O_RDONLY and O_RDWR if necessary. - * ar.c: Don't include "sysdep.h". Do include <sys/types.h> and - <sys/stat.h>. Use HAVE_GOOD_UTIME_H rather than POSIX_UTIME. Use - HAVE_UTIMES rather than !USE_UTIME. Don't include <errno.h>, and - don't declare errno. - * arsup.c: Don't include <sysdep.h>. - * bucomm.c: Don't include "sysdep.h". Include <stdio.h>, - <sys/types.h>, and <sys/stat.h>. Include <time.h> if it defines - time_t. Define time_t if necessary. - * coffdump.c: Don't include "sysdep.h". - * coffgrok.c, filemode.c, nlmconv.c, size.c: Likewise. - * srconv.c, strings.c: Likewise. - * nm.c: Don't include "sysdep.h". Don't try to define HAVE_SBRK. - * objcopy.c: Don't include "sysdep.h". Include <sys/types.h> and - <sys/stat.h>. - (simple_copy): Use creat rather than assuming that O_CREAT is - defined. - * objdump.c: Don't include "sysdep.h". Use - NEED_DECLARATION_PRINTF rather than !FPRINTF_ALREADY_DECLARED. - * sysdump.c: Include "bfd.h" and "bucomm.h". Don't include - "sysdep.h" or <stdlib.h>. - (dump_symbol_info): Rename from symbol_info. Change all callers. - -Mon Sep 4 14:30:00 1995 Ian Lance Taylor <ian@cygnus.com> - - * configure.in (host_makefile_frag): Don't set. Substitute for - @CC@, @CFLAGS@, @HDEFINES@ and @LDFLAGS@ in Makefile. - * Makefile.in (AR_FLAGS): Set to rc rather than qv. - (CC): Define as @CC@. - (CFLAGS): Set to @CFLAGS@. - (LDFLAGS): Define as @LDFLAGS@. - (ALL_CFLAGS): Use @HDEFINES@ rather than $(HDEFINES). - - * configure.in: Don't bother to call config.bfd for each target. - Just call it for the default target, and use the shell variable to - decide whether underscores are used. - -Thu Aug 31 19:21:48 1995 Jason Molenda (crash@phydeaux.cygnus.com) - - * configure.in: match i[3-6]86-*-win32, not just i386-*-win32. - -Thu Aug 31 16:30:22 1995 steve chamberlain <sac@slash.cygnus.com> - - * dlltool.c (add_indirect): New. - (asm_prefix): New - (gen_exp_file): Timestamp should be 0. Insert prefix when - needed. New code for indirection. - (gen_lib_file): Timestamp should be 0. Insert prefix - when needed. - (usage): Document --add-indirect. - (main): Cope with new option. - - * objdump.c (dump_private_headers): New. - (usage): Document new option. - (long_option): Add private-headers. - (dump_bfd_private_header): New. - (main): Cope with new option. - -Thu Aug 31 04:09:16 1995 Doug Evans <dje@canuck.cygnus.com> - - * dlltool.c (run): Add missing 3rd arg to waitpid. - -Wed Aug 30 11:02:11 1995 steve chamberlain <sac@slash.cygnus.com> - - * Makefile.in (TOOL_PROGS): Include dlltool if needed. - -Tue Aug 29 13:25:21 1995 steve chamberlain <sac@slash.cygnus.com> - - * dlltool.c (rva): Deleted. - (rvaafter, rva_before): Use new assembler pseudo. - (flush_page, gen_exp_file, gen_lib_file): Use new way of RVAing. - (gen_exp_file): Don't generate .edata if no need. - (gen_lib_file): Don't make timestamp. - Put _iname in idata$7. - (workout_prefix): Fix memory initialization bug. - (usage): Tidy up, delete many single char options. - (main): rva option is gone. - -Mon Aug 21 18:41:28 1995 steve chamberlain <sac@slash.cygnus.com> - - * dlltool.c (options): image-base is a synonym for rva. - (gen_lib_file): Put dll name into ibase$7. - -Sun Aug 20 09:59:00 1995 steve chamberlain <sac@slash.cygnus.com> - - Modified to generate archives and objects rather than .s files. - * dlltool.c (run) New function. - (gen_exp_file, gen_lib_file): Use run. - (workout_prefix): New. - (usage): Document new options. - (main): Parse new options. - -Wed Aug 16 16:26:52 1995 steve chamberlain <sac@slash.cygnus.com> - - * dlltool.c (gen_exp_file): Fix RVA handling. - (rva_s, rva_n): Delete. - -Fri Aug 11 18:27:18 1995 Ian Lance Taylor <ian@cygnus.com> - - * nm.c (main): Ignore -e. - -Thu Aug 10 17:35:00 1995 Ken Raeburn <raeburn@cygnus.com> - - * Makefile.in (config.texi): New target. Write out a setting for - texinfo variable VERSION. - (binutils.dvi, binutils.info): Depend on it. - * binutils.texi: Include it, and reference @value{VERSION} instead - of explicitly specifying 2.2(!). - -Thu Aug 10 16:07:53 1995 Ian Lance Taylor <ian@cygnus.com> - - * coffgrok.c (do_type): Handle array dimensions the same way gdb - does. - -Tue Aug 8 17:10:42 1995 steve chamberlain <sac@slash.cygnus.com> - - * dlltool.c (mtable): New fields. - (ASM_RVA_BEFORE, ASM_RVA_AFTER): New. - (flush_page): Use new macros. - -Sat Aug 5 00:16:37 1995 Jeff Law (law@snake.cs.utah.edu) - - * objcopy.c (mark_symbols_used_in_relocations): Handle sections - with no relocations. - * coffgrok.c (do_sections_p1): Likewise. - -Mon Jul 31 12:51:06 1995 Ian Lance Taylor <ian@cygnus.com> - - * strings.c (print_strings): For compatibility with existing - strings programs, print strings which are not terminated with a - null byte or a newline. - * binutils.texi, strings.1: Update documentation accordingly. - - * ar.c (replace_members): For compatibility with existing ar - programs, permit users to add the same file multiple times. - -Tue Jul 25 11:21:53 1995 Ian Lance Taylor <ian@cygnus.com> - - * strings.c (DATA_FLAGS): Remove SEC_DATA. - (main): If no file names are given, scan standard input. - * binutils.texi, strings.1: strings now scans non-data sections by - default. - -Mon Jul 24 13:52:28 1995 J.T. Conklin <jtc@rtl.cygnus.com> - - * srconv.c (wr_hd): Set afl field to 4 for bfd_arch_sh. - (writeINT): When size == -2, use 2 bytes for the h8300 and 4 bytes - for the sh. - - * sysdump.c (fillup): Return size - 1, the last byte is a checksum - and shouldn't be counted. - * sysroff.info (hd): Changed segment identifier from a byte to a 1 - bit field. The sysroff 2.0-01 specification seems to be in error - here. Reduce width of following "spare" field from 4 to 3 bits. - (rl): Changed order and width of first 4 bitfields to correspond - to sysroff specification. - (dln_head, dln_inside, dln_tail): Removed. - -Tue Jul 18 23:00:03 1995 Fred Fish <fnf@cygnus.com> - - * nm.c (sort_symbols_by_size): Enclose expression being casted - in parens so result is casted, not just first operand. Can't - do pointer arithmetic on void* pointers. - -Fri Jul 14 13:42:42 1995 J.T. Conklin <jtc@rtl.cygnus.com> - - * sysdump.c (dh): Changed format of output to be 16 hex digits - followed by 16 ascii characters, similar to Emacs' hexl-mode, - to make it easier to read. - (xcalloc): fix typo. - -Thu Jul 13 15:27:44 1995 J.T. Conklin <jtc@rtl.cygnus.com> - - * srconv.c (wr_tr): Write out handcrafted tr block. - (walk_tree_symbol): Use evallen and evalue instead of - vallen & value because of corresponding changes in - sysroff.info. - - * sysdump.c (sysroff_swap_tr_in, sysroff_print_tr_out): New - functions. - - * sysroff.info (tr): the tr block is a special case --- a block - without contents --- which can't be handled by generated code. - (den, dpp): only first byte is present for DENend, DPPend. - (dsy): describe a conditional portion of block, rename some fields. - (dps): describe a conditional portion of block. - (dfl): removed. - - * sysinfo.y (yyerror): write error message to standard error. - -Thu Jul 13 10:43:59 1995 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in (DISTSTUFF): Add arparse.h and sysinfo.h. - (mostlyclean): Remove y.output. - (clean): Remove sysroff, sysroff.c, sysroff.h, and sysinfo. - - * nlmconv.c (powerpc_mangle_relocs): Cast memset arg to size_t. - * objcopy.c (copy_object): Likewise. - - * nm.c (HAVE_SBRK): Define execpt on amigados and WINDOWS_NT. - (struct size_sym): Define. - (show_stats): New static variable. - (long_options): Add undocumented option "stats". - (main): Print memory stats if requested. - (sort_bfd, sort_dynamic, sort_x, sort_y): New static variables. - (numeric_forward): Use minisymbols rather than asymbols. - (non_numeric_forward): Likewise. - (size_forward1): Rename from size_forward. Use minisymbols. - (size_forward2): New static function. - (sort_symbols_by_size): Take new arguments dynamic, size, and - symsizep. Use minisymbols. Don't store the size back in the - symbol; store in a newly allocate struct size_sym array. - (display_rel_file): Read minisymbols rather than asymbols. Set - sort_* variables. Call print_size_symbols if sorting by size. - (filter_symbols): Take new arguments dynamic and size. Use - minisymbols. - (print_symbols): Likewise. Call print_symbol for actual printing. - (print_size_symbols): New static function. - (print_symbol): New static function. - -Wed Jul 12 10:43:05 1995 Ian Lance Taylor <ian@cygnus.com> - - * objdump.c (dump_section_stabs): Only print each stabs section - once. - (compare_relocs): Make it clear to gcc that this always returns a - value. - -Wed Jul 12 10:40:23 1995 H.J. Lu <hjl@nynexst.com> - - * objcopy.c (simple_copy): Preserve errno on failure. - (smart_rename): Print error mesage if simple_copy fails. - -Tue Jul 11 13:10:52 1995 J.T. Conklin <jtc@rtl.cygnus.com> - - * sysdump.c: re-indented file. - (module): read blocks sequentially instead of trying to parse - them, as that would require changing the parser recognize the - difference between a DPSstart and DPSend block. - (getone): Add break's between switch blocks as appropriate. - (object_body_list): parse blocks according to sysroff spec. - -Mon Jul 10 12:37:25 1995 J.T. Conklin <jtc@poseidon.cygnus.com> - - * sysroff.info: re-indented file, prior formatting was confusing - because it was indentation did not reflect nesting of conditional - records. Change "space size within segment" record in hd record - from bit to byte. - - * sysinfo.y (cond_it_field): Use xcalloc instead of calloc. - - * srconv.c (wr_cs): Reformatted cs header array, tag each byte - with a comment describing the field. - (wr_unit_info): Use SEEK_SET macro instead of constant 0. - (main): Use FOPEN_WB macro instead of literal "wb". - * sysroff.info: Remove fdl (dfl) field from cs block. Compare - ptr->type with ED_TYPE_CONST instead of constant 2 in ed block. - -Tue Jul 4 14:48:42 1995 Ian Lance Taylor <ian@cygnus.com> - - * nm.c (size_forward): Check yf against yn, not xn. - - * objcopy.c (copy_archive): Record all output BFD's, and close - them before unlinking them and removing the temporary directory, - to avoid NFS problems. - - * ar.c (replace_members): In verbose messages, use 'r' when - replacing a member, and 'a' when adding one. - - * ar.c (ar_truncate): New static variable. - (normalize): Change return type to const char *. Add abfd - argument. Change all callers. If ar_truncate, chop the filename - to abfd->ar_max_namelen. - (main): For the 'f' modifier, set ar_truncate to true. Don't - change quick_append to replace if ar_truncate is true. - (do_quick_append): If ar_truncate, set BFD_TRADITIONAL_FORMAT. - (write_archive): Likewise. - * binutils.texi, ar.1: Document 'f' modifier. - - * objcopy.c (enum strip_action): Define strip_unneeded. - (OPTION_STRIP_UNNEEDED): Define. - (strip_options): Add "strip-unneeded". - (copy_options): Likewise. - (copy_usage): Mention --strip-unneeded. - (strip_usage): Likewise. - (is_strip_section): Strip debugging sections if strip_unneeded. - (filter_symbols): If strip_unneeded, only keep BSF_KEEP symbols. - (copy_object): If strip_all, discard symbols without checking - discard_locals. - (copy_object): Call filter_symbols if strip_unneeded. - (setup_section): Strip debugging sections if strip_unneeded. - (copy_section): Likewise. - (strip_main): Handle OPTION_STRIP_UNNEEDED. - (copy_main): Likewise. - * binutils.texi, objcopy.1, strip.1: Document --strip-unneeded. - -Mon Jul 3 14:16:47 1995 Steve Chamberlain <sac@slash.cygnus.com> - - * configure.in (i386-*-win32): New configuration. - * dlltool.c (killat, xlate, usage, long_options, main): - Understand and cope with -k option. - -Sat Jul 1 12:25:15 1995 Fred Fish <fnf@cygnus.com> - - * ar.c: (extract_file): Change "#if POSIX_UTIME" to - "#ifdef POSIX_UTIME" to match other tests of POSIX_UTIME - and avoid lossage when POSIX_UTIME is not defined at all. - -Wed Jun 28 17:51:24 1995 Steve Chamberlain <sac@slash.cygnus.com> - - * ar.c: (print_contents.c, extract_file, do_quick_append): - Malloc buffers rather than allocate on stack (so it works - on NT). - * deflex.l: Names can have an @ in them. - * dlltool.c: Loads of stuff. Can now generate .imp files which - work with NT .dlls. - -Thu Jun 22 19:10:50 1995 Stan Shebs <shebs@andros.cygnus.com> - - * mpw-make.in (demangle.c.o): Remove. - (arparse.h): Depend on arparse.c instead of arparse.y. - -Wed Jun 21 17:32:45 1995 Ken Raeburn <raeburn@cujo.cygnus.com> - - * Makefile.in (DISTSTUFF): Don't include info here. - (diststuff): Include it here. - (realclean): Remove *.info. - - * objdump.c (compare_relocs): If relocation entries have the same - address, keep them in file order. - -Mon Jun 19 09:06:49 1995 Steve Chamberlain <sac@slash.cygnus.com> - - * dlltool.c: Change names of generated files. .*.s-> -*.s - - * objdump.c (dump_section_stabs): Check for names - which are supersets of selected names. - -Wed Jun 14 19:43:52 1995 Doug Evans <dje@canuck.cygnus.com> - - * dlltool.c (mtable, ARM jump): Must redirect via pc offsetable ptr. - -Wed Jun 14 13:27:22 1995 Steve Chamberlain <sac@slash.cygnus.com> - - * deflex.l, defparse.y, dlltool.c: New files. - * Makefile.in, configure.in: Support for them. - -Mon Jun 12 11:27:54 1995 Steve Chamberlain <sac@slash.cygnus.com> - - * sysdump.c: Include sysdep.h - (main): Open input with FOPEN_RB. - -Fri Jun 9 17:26:11 1995 Michael Meissner <meissner@tiktok.cygnus.com> - - * objdump.c (wide_output): New flag variable. - (usage): Print new -w, --wide options. - (long_options): Add --wide support. - (dump_section_header): If --wide, don't print a newline between - the section's first line and the flags. - (objdump_print_address): Use unsigned comparisons for the binary - search, not signed. - (disassemble_data): If --wide, don't put a \n between the - disassembly output and relocation information. - (main): Support -w option being the same as --wide. - -Thu Jun 1 17:09:27 1995 Ken Raeburn <raeburn@cujo.cygnus.com> - - Sat May 6 08:52:24 1995 H.J. Lu (hjl@nynexst.com) - - * objcopy.c (smart_rename): make it smarter, clean up - if rename () fails. - -Tue May 30 14:24:15 1995 Ken Raeburn <raeburn@cujo.cygnus.com> - - * Makefile.in: Delete lines with lots of #### because four or more - indicate a point for makefile fragment substitution. - -Tue May 9 17:17:05 1995 Michael Meissner <meissner@tiktok.cygnus.com> - - * configure.in: Don't build nlmconv on PowerPC eabi any more, it - is not needed. - -Thu Apr 27 20:21:24 1995 Doug Evans <dje@canuck.cygnus.com> - - * Makefile.in (EXPECT): Define. - (RUNTEST): Use one in source tree if present. - (check): Set `rootme' for $(EXPECT). - -Wed Apr 26 18:26:21 1995 Steve Chamberlain <sac@slash.cygnus.com> - - * srconv.c (main): Add support for -n option which disables - prescan of common symbols. - (wr_ob): If reading past the end of a section, fill with zeros. - -Tue Apr 25 19:14:37 1995 Ken Raeburn <raeburn@cujo.cygnus.com> - - * objdump.c (dump_section_header): Display load address after - virtual memory (run-time) address. - -Wed Apr 19 09:44:06 1995 Jason Merrill <jason@phydeaux.cygnus.com> - - * Makefile.in (cplus-dem.o): Pass -DVERSION='"$(VERSION)"' to the - compile. - (DEMANGLER_PROG): No longer uses version.o. - -Mon Apr 10 13:29:49 1995 Stan Shebs <shebs@andros.cygnus.com> - - Merge in support for Mac MPW as a host. - (Old change descriptions retained for informational value.) - - * mpw-config.in (TDEFINES): Define as empty in makefile frag. - - * mpw-config.in: Create mk.tmp, define ARCHDEFS in it. - - * mpw-config.in: New file, MPW configure fragment for binutils. - * mpw-make.in (install-only): New target. - (install): Also depend on install-only. - - * mpw-make.in (cplusfilt): Renamed from c++filt. - (INCLUDES): Add more paths. - - * mpw-make.in: New file, MPW makefile fragment for binutils. - (Normally automatically generated from Makefile.in.) - -Mon Mar 27 11:52:57 1995 Ian Lance Taylor <ian@cygnus.com> - - * ar.c (write_archive): Call make_tempname to get output file - name, rather than using a fixed name based on the input file. - - * objcopy.c (make_tempname): Copy from here... - * bucomm.c (make_tempname): ...to here, and make global. - * bucomm.h (make_tempname): Declare. - -Fri Mar 24 11:47:42 1995 Ian Lance Taylor <ian@cygnus.com> - - * strings.c: Include "bfd.h" before other headers. Include - "sysdep.h". - * bucomm.c (print_arelt_descr): Cast st_uid and st_gid to long, - and print them with %ld. - -Fri Mar 10 13:09:42 1995 Ian Lance Taylor <ian@cygnus.com> - - * objcopy.c (strip_options): Add --keep-symbol. - (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. - -Mon Mar 6 13:33:47 1995 Stan Shebs <shebs@andros.cygnus.com> - - * objcopy.c (copy_archive): Check result of mkdir. - (copy_main): Cast an xmalloc result. - - * objdump.c (usage): Break long format string into shorter ones. - -Mon Mar 6 13:46:12 1995 Ian Lance Taylor <ian@cygnus.com> - - * bucomm.c (list_supported_targets): New function. - * 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. - -Tue Feb 28 15:13:58 1995 Ian Lance Taylor <ian@cygnus.com> - - * bucomm.c (print_arelt_descr): Cast st_size to long before - passing it to fprintf. - -Fri Feb 17 13:36:45 1995 Ian Lance Taylor <ian@cygnus.com> - - * objcopy.c (struct section_list): Add fields remove, set_flags, - 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. - -Tue Feb 14 18:03:03 1995 Ian Lance Taylor <ian@cygnus.com> - - * objdump.c (with_source_code): New global variable. - (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. - -Thu Feb 9 16:11:53 1995 Ian Lance Taylor <ian@cygnus.com> - - * objcopy.c (copy_usage): Rename parameter to avoid shadowing. - (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. - -Wed Feb 1 15:04:57 1995 Ken Raeburn <raeburn@cujo.cygnus.com> - - * objdump.c (disassemble_data): Pass section offset, not absolute - address, to bfd_find_nearest_line. - - * nlmconv.c (powerpc_mangle_relocs): Don't use const with - reloc_howto_type. - -Thu Jan 26 18:50:06 1995 Ian Lance Taylor <ian@cygnus.com> - - * objdump.c (compare_symbols): Use bfd_asymbol_value (VAR) rather - than VAR->value. - (objdump_print_address): Likewise. - (disassemble_data): Don't change the symbol values. It can - confuse bfd_canonicalize_reloc. - -Thu Jan 26 12:03:56 1995 Michael Meissner <meissner@tiktok.cygnus.com> - - * configure.in: Add support for powerpc-*-ebai. - -Wed Jan 18 10:02:12 1995 Steve Chamberlain <sac@splat> - - * coffdump.c: Include sysdep.h. - (dump_coff_type): Handle coff_secdef_type. - * coffgrok.c : Include sysdep.h. - * srconv.c: Include libiberty.h - (absolute_p, dty_start, dty_end, dump_tree_structure): Remove. - -Wed Jan 18 12:24:14 1995 Ian Lance Taylor <ian@sanguine.cygnus.com> - - * 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>. - -Tue Dec 20 19:13:44 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> - - * ar.c (main): Ignore 'f' modifier used on HP/UX 9. - -Thu Dec 15 17:34:12 1994 Stan Shebs <shebs@andros.cygnus.com> - - * ar.c, nm.c, objcopy.c, objdump.c: Include progress.h. - * ar.c, nm.c, objcopy.c, objdump.c (main): Add START_PROGRESS - and END_PROGRESS. - * ar.c (map_over_members, open_inarch): Call PROGRESS. - * nm.c (main, display_archive, filter_symbols, print_symbols): - Call PROGRESS. - - * objcopy.c (copy_usage): Break up long usage string. - -Wed Dec 14 15:51:56 1994 Ken Raeburn <raeburn@cujo.cygnus.com> - - * objcopy.c (copy_object): Don't bother setting status after - nonfatal() "call", because it won't return. - -Fri Dec 9 00:22:54 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * nlmconv.c (powerpc_mangle_relocs): Don't switch a reloc to use - the section symbol if the symbol is undefined. - -Thu Dec 8 14:45:50 1994 Ken Raeburn <raeburn@cujo.cygnus.com> - - * objcopy.c (add_strip_symbol): Cast return value of xmalloc. - -Wed Nov 30 11:05:43 1994 Ian Lance Taylor <ian@rtl.cygnus.com> - - * ar.c (replace_members): Pass current->filename to normalize when - checking for duplicates, because the filename of a newly added - file will not have been normalized yet. - -Thu Nov 17 15:00:13 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> - - * ar.c (main): Don't call do_quick_append if any of the archive - names are longer than 14 characters. - - * objcopy.c (main): Fix is_strip test. From - pirker@eiunix.tuwien.ac.at (Martin Pirker). - -Thu Nov 17 15:37:19 1994 Mark W. Eichin <eichin@cygnus.com> - - * 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. - -Tue Nov 8 13:12:54 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> - - * objdump.c (display_target_list, display_info_table): Pass an - array to tmparg, rather than NULL, since some systems can't handle - NULL. - - * objcopy.c (copy_archive): Keep a list of the names of the - temporary files we created. Close each input BFD after we open - its successor. - -Mon Nov 7 15:48:39 1994 Ken Raeburn <raeburn@cujo.cygnus.com> - - * Makefile.in (VERSION): Bump to 2.5.3. - -Thu Nov 3 19:04:34 1994 Ken Raeburn <raeburn@cujo.cygnus.com> - - * 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. - -Wed Nov 2 15:44:13 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> - - * ar.c (main): Treat ar qs like ar rs. - -Tue Oct 25 16:19:25 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> - - * objcopy.c (gap_fill): Explicitly initialize, for clarity. - (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. - -Thu Oct 20 13:51:31 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * objcopy.c (gap_fill_set, gap_fill): New static variables. - (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. - -Wed Oct 19 14:09:16 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> - - * Makefile.in (check): Add a dummy else clause to the if - statement. - - * objcopy.c (copy_object): Revert yesterday's change. - * binutils.texi, objcopy.1: Remove special mention of --set-start - and `binary' output format. - -Tue Oct 18 11:12:01 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> - - * objcopy.c (copy_object): If the output file format is `binary', - 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. - - * nm.c (print_symdef_entry): Call print_symname to print the - symbol name, so that --demangle works. - - * Makefile.in (mostlyclean): Remove tmpdir. - - * objcopy.c (struct section_list): Add fields used, adjust, val. - (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. - -Fri Oct 14 14:38:13 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> - - * configure.in (configdirs): Remove definition--testsuite is no - longer configured. - * Makefile.in (testsuite): Remove target. - (site.exp): New target. - (check): Rewrite. - (clean, distclean): Don't recur into testsuite directory. - -Thu Oct 13 19:24:09 1994 Ken Raeburn <raeburn@cujo.cygnus.com> - - * Makefile.in (VERSION): Updated to 2.5. - * Version 2.5 released. - -Tue Oct 11 15:26:42 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> - - * Makefile.in (sysdump.o): Depends upon sysroff.c. - -Mon Oct 10 13:50:30 1994 J.T. Conklin (jtc@rtl.cygnus.com) - - * nlmconv.c (link_inputs): Pass -Ur flag to ld so that the - ctor/dtor tables needed by C++ programs are built. - -Sun Oct 9 18:04:00 1994 Jim Wilson (wilson@sphagnum.cygnus.com) - - * Makefile.in (srconv.o): Add dependence on sysroff.c. - -Tue Oct 4 12:19:51 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> - - * configure.in: Use ${config_shell} when running config.bfd. - - * Makefile.in (sysroff.h): Split target away from sysroff.c. - (srconv.o, sysdump.o): New targets. - (srconv, sysdump): Don't depend upon sysroff.c. - -Wed Sep 28 13:04:34 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * Makefile.in (arparse.c): Don't ignore errors from mv. - (sysinfo.c): Likewise. Also, depend upon arparse.c, to prevent a - parallel make from trying to build both arparse.c and sysinfo.c - simultaneously. - (nlmheader.c): Similar change. - (arparse.h): Separate target from arparse.c, so that a parallel - make does not try to build both at once. Depend upon arparse.c. - (sysinfo.h): Similar change. - - * objdump.c (disassemble_data): Pass the reloc buffer to free, not - the pointer used to loop over the relocs. - -Sat Sep 24 16:16:57 1994 Stan Shebs (shebs@andros.cygnus.com) - - * objdump.c (disassemble_data): Cast result of xmalloc. - -Wed Sep 21 19:30:35 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * objdump.c (sorted_syms, sorted_symcount): New global variables. - (objdump_print_address): Use sorted_syms and sorted_symcount - instead of syms and symcount. - (disassemble_data): Don't bother to get the relocs before looping - over the sections. Before filtering and sorting the symbol table, - copy it into sorted_syms. - -Fri Sep 16 11:27:39 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * objdump.c (struct objdump_disasm_info): Add field require_sec. - (objdump_print_address): If aux->require_sec, require that the - symbol be in aux->sec even if HAS_RELOC is not set. If we can't - find a smaller symbol in the right section, look for a larger one. - (disassemble_data): Set aux.require_sec around the - objdump_print_address call for the instruction address. - -Thu Sep 15 21:43:17 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * ar.c: Call xexit rather than exit. - (output_filename, output_file, output_bfd): New static variables. - (remove_output): New static function. - (main): Call xatexit (remove_output). Call xexit rather than - returning. - (extract_file): Set output_filename and output_file while output - file is open. - (write_archive): Likewise, but use output_bfd, not output_file. - * arsup.c: Include libiberty.h. Call xexit rather than exit. - * bucomm.c: Likewise. - - * objdump.c (disassemble_all): New global variable. - (usage): Document --disassemble-all. - (long_options): Add disassemble-all as a synonym for -D. - (compare_symbols): Make pointers const. - (compare_relocs): New static function. - (disassemble_data): Rename disassemble to disassemble_fn to avoid - shadowing. If dump_reloc_info, print relocs along with - disassembly. Skip sections which are not SEC_CODE unless - disassemble_all or only is set. - (display_bfd): Don't call dump_relocs if disassemble is set. - (main): Accept and handle -D. - * binutils.texi: Document -D/--disassemble-all. - * objdump.1: Likewise. - -Wed Sep 14 12:19:07 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * objdump.c (disassemble_data): Initialize prevline to 0. Make - prev_function non const. Copy functionname into an malloc buffer - when setting prev_function, instead of assuming that the string - will last forever. - - * nm.c: Include libiberty.h. - (sort_by_size): New static variable. - (long_options): Add --size-sort. - (usage): Mention --size-sort. - (numeric_forward): Make static. Change from void * to PTR. - (numeric_reverse): Likewise. - (non_numeric_forward, non_numeric_reverse): Likewise. - (sorters): Change declaration from void * to PTR. - (size_forward, sort_symbol_by_size): New static functions. - (display_rel_file): Handle sort_by_size. - (filter_symbols): If sort_by_size, discard absolute and undefined - symbols. - * binutils.texi (nm): Document --size-sort. - * nm.1: Document --size-sort. - -Tue Sep 13 21:06:06 1994 Jeff Law (law@snake.cs.utah.edu) - - * objcopy.c (copy_main): Initialize input_filename and - output_filename to NULL. - -Tue Sep 13 14:17:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * Makefile.in (version.o): Depend upon Makefile, so that version.o - gets rebuilt when make variable VERSION is changed. - - * objdump.c (dump_section_header): Print the SEC_NEVER_LOAD flag. - -Wed Aug 24 12:40:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * configure.in: Change i[34]86 to i[345]86. - -Tue Aug 23 11:00:40 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * ar.c (ranlib_touch): Don't update the archive map if there isn't - one. - -Mon Aug 22 16:02:18 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * ar.c: Include libiberty.h. - (inarch): Remove variable. - (map_over_members): Make static. Add arch argument, and use it - instead of inarch. Change all callers. - (main): Treat --version as -v. Accept -t argument. Accept any - number of archive arguments. Catch and use open_inarch return - value, rather than using inarch. - (open_inarch): Return newly opened BFD, rather than using inarch. - (do_quick_append): Make archive_filename const. - (write_archive): Add iarch argument, and use it instead of inarch. - Change all callers. - (delete_members, move_members, replace_members): Likewise. - (ranlib_only): Don't exit on success. Catch and use open_inarch - return value. - (ranlib_touch): New function. - * arsup.h (map_over_members): Don't declare. - (ar_end, ar_extract): Declare. - (open_inarch): Change return value in declaration to bfd *. - * arsup.c (map_over_list): Make static. Always pass two arguments - to function. Add arch argument, and use it instead of inarch. - Change all callers. - (ar_directory_doer): Make static. Add ignored second argument. - Change all callers. - (ar_directory): Use open_inarch return value rather than inarch. - (ar_addlib_doer): Make static. - (ar_addlib): Use open_inarch return value rather than inarch. - (ar_extract): Remove unused local variable abfd. - -Thu Aug 11 14:55:57 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - Add support for removing named sections to objcopy and strip. - * objcopy.c (struct section_list): Define. - (remove_sections): New static variable. - (strip_options, copy_options): Add remove-section. - (copy_usage, strip_usage): Mention -R and --remove-section. - (setup_section): If section is in remove_sections list, ignore it. - (copy_section): Likewise. - (strip_main, copy_main): Handle -R. - * binutils.texi, objcopy.1, strip.1: Document new options. - -Wed Aug 10 10:19:55 1994 Stan Shebs (shebs@andros.cygnus.com) - - * nlmconv.c (powerpc_mangle_relocs): Rename symvalue to sym_value, - so as not to conflict with the symvalue typedef in bfd.h. - -Mon Aug 1 13:19:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * nlmheader.y: Per current NetWare docs, accept a revision number - of 0 and treat a revision number greater than 26 as 0. - -Mon Jul 25 12:58:36 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * objdump.c (objdump_print_address): Correct handling of end of - symbols when looking for next symbol with a different value. - -Fri Jul 22 16:48:34 1994 Ken Raeburn (raeburn@cujo.cygnus.com) - - * nm.c (numeric_forward): Treat undefined symbols as "less than" - defined symbols with zero values. If numeric values are equal, or - both symbols are undefined, sort alphabetically. Don't assume - that the difference of two bfd_vma values will truncate to "int" - and still have the same sign. - (numeric_reverse): Call numeric_forward and negate the result. - (print_symbol_info_bsd): For undefined symbols, print leading - spaces equivalent to the width of a printed bfd_vma, rather than - assuming that 8 will look right. - -Fri Jul 22 10:36:50 1994 Steve Chamberlain (sac@jonny.cygnus.com) - - * coffgrok.c (doit): Zero all fields of new structure. - * srconv.c (sysroff_swap_*_out): Remove redundant trailing arg. - * sysinfo.y: Generate sysroff_swap_*_out without requiring extra - arg. - -Fri Jul 22 10:09:53 1994 J.T. Conklin (jtc@phishhead.cygnus.com) - - * nlmheader.y: Make "stack" and "stacksize" synonyms in the lexer - rather than the parser. - -Thu Jul 21 10:25:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * config/mh-alphaosf, config/mh-apollo68v, config/mh-delta88: - Remove; obsolete. - -Sat Jul 16 22:34:39 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * objdump.c (slurp_dynamic_symtab): Try to get the dynamic symbols - even if the bfd is not marked DYNAMIC. ELF executables are not - marked DYNAMIC, but do have dynamic symbols. - -Fri Jul 15 01:41:35 1994 Steve Chamberlain (sac@jonny.cygnus.com) - - * coffgrok.c (do_where): Make data with no type 'int'. - (do_define): Keep info on source file of a symbol. - * coffgrok.h (coff_symbol): New field. - * srconv.c (PROGRAM_VERSION): Now 1.3 - (wr_rl): Use external ref number for symbol. - (wr_dus): Only keep one source file per debug unit. - (wr_dln): Always emit line numbers for first source file, - (wr_globals): Emit globals in the du of their owning source file. - -Mon Jul 11 15:59:03 1994 J.T. Conklin (jtc@phishhead.cygnus.com) - - * nlmheader.y: Null terminate var_hdr->threadName. - -Fri Jul 8 17:33:22 1994 Ken Raeburn (raeburn@cujo.cygnus.com) - - * Makefile.in (syslex.o, sysinfo.o): Permit C source files to be - in $(srcdir), as they will be for FSF releases. - -Wed Jul 6 01:13:14 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * nlmconv.c (setup_sections): Preserve existing section flags when - copying in flags from a new section. - -Tue Jul 5 15:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * objcopy.c: Include libiberty.h. - (copy_file): If output_target is NULL, set it to the target of the - input file. - -Wed Jun 29 17:17:14 1994 J.T. Conklin (jtc@phishhead.cygnus.com) - - * nlmconv.c (link_inputs): Fixed memory allocation bug. - -Thu Jun 23 12:52:46 1994 David J. Mackenzie (djm@rtl.cygnus.com) - - * configure.in: Change --with-targets to --enable-targets. - -Tue Jun 21 12:53:21 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * Makefile.in (sysinfo): Does not depend upon $(ADDL_LIBS). - - * nlmconv.c (powerpc_build_stubs): Don't generate the PowerPC - NetWare custom header; no longer needed. - (powerpc_mangle_relocs): Convert relocs against the uninitialized - data section into relocs against the data section. - - * configure.in: Set nlmconv_defs to -DNLMCONV_cputype for all the - netware targets. Write it into Makefile as NLMCONV_DEFS. - * Makefile.in (nlmconv.o): Pass $(NLMCONV_DEFS) to $(CC). - * nlmconv.c: Only compile code for specific CPU types if - NLMCONV_cputype is defined. - - * nlmconv.c (main): Change uses of bfd_abs_section, etc., to use - bfd_abs_section_ptr or bfd_is_abs_section, etc. - (i386_mangle_relocs, alpha_mangle_relocs): Likewise. - (powerpc_build_stubs): Likewise. - * nm.c (filter_symbols, print_symbols): Likewise. - * objcopy.c (filter_symbols): Likewise. - (mark_symbols_used_in_relocations): Likewise. - * objdump.c (remove_useless_symbols, dump_relocs): Likewise. - * size.c (sysv_internal_printer): Likewise. - -Mon Jun 20 16:43:03 1994 Ken Raeburn (raeburn@cujo.cygnus.com) - - * Makefile.in (MANPAGES): Remove $(DEMANGLER_PROG). - (install): Install it explicitly, from build dir, not srcdir. - -Mon Jun 20 16:29:54 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * objdump.c: Don't include elf/internal.h. - (bfd_elf_find_section): Don't declare. - (read_section_stabs): No special handling for ELF. Always read - using BFD sections. - -Thu Jun 16 17:25:20 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * configure.in: Set UNDERSCORE in Makefile based on result of - invoking config.bfd with a second argument of ``_''. - * Makefile.in (underscore.c): Depend upon Makefile. Don't try to - run $(CC) and $(NM), just use $(UNDERSCORE). Create via temporary - file. - (demangle.o): Remove target. - ($(NM_PROG)): Don't depend upon demangle.o, and don't link against - demangle.o. It's in libiberty anyhow. - (cplus-dem.o): Don't depend upon demangle.o. - * binutils.texi: Mention -n and --no-strip-underscores arguments - to c++filt. - -Wed Jun 15 12:10:31 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * nm.c (long_options): Add --no-demangle to turn off --demangle, - and --no-cplus for Linux compatibility. - (usage): Mention --no-demangle. - * binutils.texi: Document --no-demangle. - -Fri Jun 10 15:41:25 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * nm.c: HOST_64_BIT was renamed to BFD_HOST_64_BIT. - - * objcopy.c (copy_archive): Make the temporary directory in the - same directory as the output BFD, since we may not have write - permission on the current directory. Set the permissions of the - new directory to 0700, not 0777. - -Mon Jun 6 21:36:43 1994 D. V. Henkel-Wallace (gumby@cygnus.com) - - * configure.in: if this is an rs6000 (and we're not building for - any other bfd targets) then build only nm (collect needs it on - rs6000-lynx). - - * Makefile.in: define TOOL_PROGS which the list of programes to - install in $tooldir -- replaces a hard-coded list. - -Fri Jun 3 10:59:18 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * objdump.c (display_target_list): Remove unused local ok. - -Thu May 26 18:05:52 1994 Ken Raeburn (raeburn@cujo.cygnus.com) - - * config/mh-alphaosf (CFLAGS): Don't specify both -g and -O; - they're not compatible under native cc. Use -O1 instead. - - * Makefile.in (VERSION): Updated to cygnus-2.4.1. - - Changes from binutils-2.4 net release: - - * Makefile.in (MANPAGES): Use $(DEMANGLER_PROG). - ($(DEMANGLER_PROG).1): Build from cxxfilt.man, using sed. - * cxxfilt.man: Renamed from c++filt.1, replaced "c++filt" with - magic token to be replaced by sed. - - Wed May 11 22:32:00 1994 DJ Delorie (dj@ctron.com) - - * configure.bat: update for latest makefile.in - -Fri May 13 23:25:13 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * bucomm.c: Check ANSI_PROTOTYPES rather than __STDC__. - -Tue May 10 18:22:06 1994 Jason Molenda (crash@sendai.cygnus.com) - - * objcopy.c (copy_section): Set section size correctly if using - interleave. - -Sat May 7 16:49:36 1994 Steve Chamberlain (sac@cygnus.com) - - * Makefile.in: Add rule for sysinfo.h - -Fri May 6 12:18:33 1994 Steve Chamberlain (sac@cygnus.com) - - * Makefile.in (SRCONV_PROG): Define. - (PROGS): Use $(SRCONV_PROG) too. - -Thu May 5 19:41:43 1994 Ken Raeburn (raeburn@cujo.cygnus.com) - - * Makefile.in (DISTSTUFF): Add sysinfo.c, syslex.c, in case - someone configures with `targets=all'. - (distclean): Remove y.*. - (syslex.o): Depend on sysinfo.h. - (sysinfo.c): Rename y.tab.h to sysinfo.h. - (install-info): Don't try to install into $(infodir)/$(srcdir). - * syslex.l: Include sysinfo.h, not y.tab.h. - -Thu May 5 11:50:55 1994 Ken Raeburn (raeburn@kr-pc.cygnus.com) - - * syslex.l (yywrap): Define as function if not defined as a macro. - - * Makefile.in (objdump.o): Deleted special rule. - * configure.in: Don't bother building ARCHDEFS variable for - Makefile. - * objdump.c (ARCH_*): Deleted handling. - (disassemble_data): Call `disassembler' from opcodes library. - -Thu May 5 13:28:42 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * Makefile.in (install): Correct handling of $(tooldir) and - $(bindir) being on different devices. - -Fri Apr 29 09:50:38 1994 Steve Chamberlain (sac@cygnus.com) - - * sysdump.c (h8300, sh): Add declarations. - -Wed Apr 27 11:25:18 1994 Steve Chamberlain (sac@cygnus.com) - - * Makefile.in (syslex, sysinfo): Use CC_FOR_BUILD. - * coffdump.c, coffgroc.c, coffgrog.h, srconv.c, sysdump.c, - sysroff.info: Major changes. - -Tue Apr 26 18:18:24 1994 Stan Shebs (shebs@andros.cygnus.com) - - * objdump.c (print_section_stabs): Indicate the stab header symbol - more clearly, print numbers of unrecognized stab n_type values. - -Tue Apr 26 16:22:55 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * nlmconv.c (copy_sections): Copy arelent pointers, not arelents. - -Mon Apr 25 16:14:32 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * Makefile.in (distclean): Remove $(PROGS) and underscore.c. - -Fri Apr 22 11:14:19 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * nlmconv.c (setup_sections): Remove special handling of .reginfo - section. - (copy_sections): Likewise. - (alpha_mangle_relocs): Use bfd_ecoff_get_gp_value rather than the - special ECOFF .reginfo section. - - * objcopy.c (copy_object): Call bfd_copy_private_bfd_data after - copying everything else, to let it fiddle with the file in its - final state. - - * objdump.c: Include libiberty.h. - (display_target_list): If a format fails, just go on to the next - one. Check return value of bfd_set_format. - (display_info_table): Likewise. Don't increment loop variable in - for loop test, since that skips the first element. - (display_target_tables): Rewrite loop for clarity. Ensure that it - always prints at least one element. - - * nlmconv.c (main): Use CyGnUsEx rather than CyGnUsSeCs for - sections header. Rename from cygnus_sections to cygnus_ext. - -Thu Apr 21 12:12:26 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * objdump.c (_DUMMY_NAME_): Don't define. - (display_target_list): Use tmpnam to get a file name rather than - using _DUMMY_NAME_. Unlink it when done. - (display_info_table): Likewise. - - * nlmconv.c (secsec): New static variable. - (main): Create .nlmsections section in output BFD. Store - information about it in sections header. - (setup_sections): Allocate space in sections header. - (copy_sections): Copy zero sized sections. Put information about - each section in the sections header. - -Wed Apr 20 14:34:51 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * nlmconv.c (powerpc_build_stubs): Take new outbfd argument. - Change caller. Create custom header for new PowerPC NetWare - format. - - * Makefile.in (nlmheader.o, nlmconv.o): Update dependencies. - * nlmconv.c: Include bfd.h and libiberty.h with "", not <>. - * nlmheader.y: Include bfd.h with "", not <>. - -Wed Apr 13 10:52:50 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * objdump.c: Do an ifdef on __GO32__, not unix. - -Wed Apr 6 21:54:49 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - Added -D (--dynamic) option to nm and -T (--dynamic-syms) and -R - (--dynamic-reloc) arguments to objdump. - * nm.c (dynamic): New static variable. - (long_options): Added "dynamic". - (usage): Mention -D and --dynamic. - (main): Add D to getopt string. Handle -D by setting dynamic. - (display_rel_file): If dynamic is non-zero, read dynamic symbols - rather than normal symbols. - * nm.1: Updated for -D (--dynamic) option. - * objdump.c (dump_dynamic_symtab): New global variable. - (dump_dynamic_reloc_info): New global variable. - (dynsyms, dynsymcount): New global variables. - (usage): Mention -R, -T, --dynamic-syms and --dynamic-reloc. - (long_options): Added "dynamic-reloc" and "dynamic-syms". - (slurp_symtab): If no symbols, return rather than exit. - (slurp_dynamic_symtab): New function. - (display_bfd): Handle dump_dynamic_symtab and - dump_dynamic_reloc_info. - (dump_symbols): Take new dynamic argument, indicating whether to - display dynamic symbols. - (dump_relocs): Move most printing into dump_reloc_set. - (dump_dynamic_relocs): New function. - (dump_reloc_set): New function, extracted from dump_relocs. - (main): Add R and T to getopt string. Handle -T by setting - dump_dynamic_symtab and -R by setting dump_dynamic_reloc_info. - * objdump.1: Updated for -R (--dynamic-reloc) and -T - (--dynamic-syms) options. - * binutils.texi: Updated for new nm and objdump options. - -Wed Mar 30 15:52:40 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - Update for recent BFD changes to symbol and reloc reading. Rename - all uses of get_symtab_upper_bound to bfd_get_symtab_upper_bound. - Also: - * coffgrok.c (symcount): Change to long. - (do_sections_p1): Check for error return from - bfd_get_reloc_upper_bound. Change relcount to long, and check for - error from bfd_canonicalize_reloc. - (coff_grok): Change storage to long. Check for error from - bfd_get_symtab_upper_bound and bfd_canonicalize_symtab. - * nlmconv.c (main): Change symcount, newsymalloc, newsymcount, and - i to long. Check for error from bfd_get_symtab_upper_bound and - bfd_canonicalize_symtab. - (copy_sections): Change reloc_size and reloc_count to long. Check - for error from bfd_get_reloc_upper_bound and - bfd_canonicalize_reloc. - (mangle_relocs, i386_mangle_relocs, alpha_mangle_relocs): Change - reloc_count_ptr argument to long *. Make corresponding changes to - variables loaded from *reloc_count_ptr. - * nm.c (display_rel_file): Change storage and symcount to long. - Check for errors from bfd_get_symtab_upper_bound and - bfd_canonicalize_symtab. - * objcopy.c (filter_symbols): Change symcount, src_count and - dst_count to long. - (copy_object): Change symcount to long. Pass another argument to - fprintf. Check for errors from bfd_get_symtab_upper_bound and - bfd_canonicalize_symtab. - (copy_section): Change relcount to long. Check for errors from - bfd_get_reloc_upper_bound and bfd_canonicalize_reloc. - (mark_symbols_used_in_relocations): Change relcount and i to long. - Check for errors form bfd_get_reloc_upper_bound and - bfd_canonicalize_reloc. - * objdump.c (storage): Remove global variable. - (symcount): Changed to long. - (slurp_symtab): New local variable storage. Check for errors from - bfd_get_symtab_upper_bound and bfd_canonicalize_symtab. - (remove_useless_symbols): Change return value and count to long. - (objdump_print_address): Change min, max, thisplace and i to long. - (disassemble_data): Change i to long. - (dump_symbols): Change count to long. - (dump_relocs): Change relcount to long. Check for errors from - bfd_ret_reloc_upper_bound and bfd_canonicalize_reloc. - (display_info_table): Add casts when passing LONGEST_ARCH for - printf %* argument. - -Tue Mar 29 14:59:04 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * nm.c (display_archive): Close each archive element after it has - been displayed. - * objdump.c (display_file): Likewise. - -Mon Mar 28 13:04:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * configure.in: Change error message to refer to bfd/config.bfd - rather than bfd/configure.in. - -Sun Mar 27 16:23:39 1994 Jeffrey A. Law (law@snake.cs.utah.edu) - - * More fixes for object formats which allow multiple sections - with the same name: - * objcopy.c (setup_section): Make a new output section even if - one already exists with the given name. - (copy_section): Use isection->output_section rather than trying - to look the output section up by its (possibly non-unique) name. - - * Makefile.in (install-info): Look for binutils.info in the - current directory, then in $(srcdir). Don't use $<. - -Mon Mar 21 12:55:45 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * objdump.c (objdump_print_address): Make static. Declare with - prototype. Change vardiff from int to bfd_signed_vma. Correct - binary search termination condition. When looking for same - section symbol in relocatable file, handle final symbol correctly. - -Sun Mar 20 11:26:36 1994 Jeffrey A. Law (law@snake.cs.utah.edu) - - * Makefile.in: Avoid bug in hpux sed. - - * objcopy.c: Changes to keep it from stripping symbols used - in output relocations. - (mark_symbols_used_in_relocations): New function. Mark symbols - used in output relocations with BSF_KEEP. - (filter_symbols): Do not strip symbols marked with BSF_KEEP. - (copy_object): Reorder actions. First setup sections, then - build the output symbol table, then copy the section contents. - -Fri Mar 18 10:53:55 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * ar.c (write_archive): Allocate space for the null byte. From - Robert Lipe <robertl@arnet.com>. - -Thu Mar 17 16:20:28 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * Makefile.in: Built nm.new and strip.new to avoid problems with - collect when . is in PATH. - (STRIP_PROG): Change from strip to strip.new. - (NM_PROG): Change from nm to nm.new. - (install): Remove the .new when installing. - -Wed Mar 16 16:27:05 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * nlmconv.c (powerpc_build_stubs): Set BSF_DYNAMIC flag for each - symbol for which we build a stub. - (powerpc_mangle_relocs): Only reset TOC pointer for a call to a - symbol with BSF_DYNAMIC flag set. - -Tue Mar 15 23:04:13 1994 Jeffrey A. Law (law@snake.cs.utah.edu) - - * objcopy.c (filter_symbols): Use bfd_is_local_label to determine - if a symbol represents a compiler-generated local label. - (copy_object): Give the BFD backends a chance to copy any private - bfd data from the input BFD to the output BFD. - (setup_section): Give the BFD backends a chance to copy any private - section data from the input section to the output section. - -Mon Mar 14 11:15:58 1994 Jeffrey A. Law (law@snake.cs.utah.edu) - - * objcopy.c (mangle_section): Delete unused function. - (setup_section): Set osection here instead of calling - mangle section to do it. - -Mon Mar 14 12:11:01 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * ar.c (write_archive): Close inarch before unlinking it. - -Fri Mar 11 22:20:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * nlmconv.c (main): For PowerPC, call powerpc_build_stubs and - powerpc_resolve_stubs. Use __GOT0, not __toc_start. Handle it if - the start and end symbols are not in the text section. - (struct powerpc_stub): New struct definition. - (powerpc_stubs, powerpc_stub_insns): New static variables. - (powerpc_initial_got_size): New static variable. - (powerpc_build_stubs): New function. - (powerpc_resolve_stubs): New function. - (powerpc_mangle_relocs): Clear extraneous data in .got section. - Rearrange reloc handling to handle ELF relocs that are not - partial_inplace. Resolve PC relative relocs. - -Wed Mar 9 13:48:11 1994 Steve Chamberlain (sac@jonny.cygnus.com) - - * ar.c (move_members): Fix it so that the abi positional modifiers - don't delete all archive members following the insert point. - -Tue Mar 8 13:14:43 1994 Steve Chamberlain (sac@jonny.cygnus.com) - - * coffgrok.[ch]: New files, understand coff objects. - * coffdump.c: Uses coffgrok to dump out the debug info of a coff - file. - * sysroff.info: Description of a SYSROFF object file. - * sysinfo.y, syslex.l: Parse info file, generate a reader, writer, - header files and a printer. - * srconv.c: Uses coffgrok.c and sysroff.info to convert a coff - file to a SYSROFF file. - -Sat Feb 26 13:35:26 1994 Stan Shebs (shebs@andros.cygnus.com) - - * ar.c (do_quick_append): Pad with a genuine character 10, - rather than whatever '\n' might happen to be. - -Tue Feb 22 18:25:52 1994 Ian Lance Taylor (ian@cygnus.com) - - * nlmconv.c (main): Ignore debugging symbols when looking for - special symbols by name. - -Sun Feb 20 18:47:42 1994 Ian Lance Taylor (ian@lisa.cygnus.com) - - * nlmconv.c: Include libiberty.h. - - Support for PowerPC NetWare. - * nlmconv.c (main): For PowerPC NetWare, automatically define the - special symbols __toc_start. - (select_output_format): Handle bfd_arch_powerpc. - (mangle_relocs): Likewise. - (powerpc_mangle_relocs): New function. - -Thu Feb 17 09:28:23 1994 David J. Mackenzie (djm@thepub.cygnus.com) - - * ar.c, bucomm.c, nlmconv.c, nm.c, objcopy.c, objdump.c, - size.c: Use bfd_get_error and bfd_set_error and new error names. - -Fri Feb 11 15:54:51 1994 David J. Mackenzie (djm@thepub.cygnus.com) - - * objcopy.c (strip_main, copy_main): Add missing 'break' in switch. - -Mon Feb 7 19:45:52 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * objdump.c (disassemble_data): Handle bfd_arch_powerpc. - -Sun Feb 6 22:08:20 1994 David J. Mackenzie (djm@thepub.cygnus.com) - - * strings.c objdump.c nlmconv.c objcopy.c nm.c ar.c size.c (main): - Call xmalloc_set_program_name. - -Fri Feb 4 10:46:01 1994 David J. Mackenzie (djm@thepub.cygnus.com) - - * objcopy.c (filter_bytes): Make MEMHUNK a char *, not PTR, so we - can do arithmetic on it. - -Thu Feb 3 14:06:41 1994 David J. Mackenzie (djm@thepub.cygnus.com) - - * objdump.c (dump_section_stabs, read_section_stabs, - print_section_stabs): Functions broken out of dump_stabs_1. - Free the stabs and strings when done with them. - -Wed Feb 2 13:42:23 1994 David J. Mackenzie (djm@thepub.cygnus.com) - - * nlmconv.c (main): Use bfd_get_flavour instead of struct member. - * ar.c (print_contents, extract_file), size.c - (print_berkeley_format, print_sysv_format): Use bfd_get_filename and - bfd_my_archive instead of dereferencing the structs directly. - - * ar.c: Use bfd_fatal and bfd_nonfatal instead of bfd_perror and exit. - Indent. Remove DEFUNs. - - * nlmconv.c (main), objcopy.c (copy_file): Print matching formats - if ambiguous match. - * nm.c (display_file, display_archive), size.c (display_bfd): - Eliminate gotos. - Print matching formats if there is an ambiguous match. Use - bfd_nonfatal instead of hardcoded error message if nothing matches. - - * arsup.c, ar.c, objdump.c: Use bfd_get_filename instead of - abfd->filename. - - * nm.c (display_archive): New function, from code in display_file. - (display_rel_file): Renamed from do_one_rel_file. - - * size.c: Indent. - (display_archive): New function from code in display_file. - (display_file): Check bfd_close error return. - - * strings.c (strings_object_file): Check bfd_check_format - error return. - - * strings.c, objdump.c, size.c: Use bfd_nonfatal instead of bfd_perror. - - * bucomm.c: Delete references to exit_handler. It wasn't set - anywhere, and now that we're using the libiberty xmalloc, it - wouldn't always get called before exiting. - (list_matching_formats): Function moved from objdump.c. - * bucomm.h: Declare it. - - * objdump.c (disassemble_data): Move some variable decls closer to - their use. Add some comments. Replace a nested block with a - return. - -Mon Jan 31 18:50:41 1994 Stan Shebs (shebs@andros.cygnus.com) - - * objdump.c (display_target_list, display_info_table): Check that - the bfd of the dummy output file is not null. - -Wed Jan 26 13:13:18 1994 David J. Mackenzie (djm@thepub.cygnus.com) - - * objcopy.c (filter_bytes): New function. - (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. - -Tue Jan 25 19:40:54 1994 Stan Shebs (shebs@andros.cygnus.com) - - * bucomm.c (print_arelt_descr): Change decl of `when' to time_t. - * objdump.h: Removed. - -Mon Jan 24 13:29:02 1994 David J. Mackenzie (djm@thepub.cygnus.com) - - * objdump.c (display_file): Remove call to list_matching_formats. - 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. - - * binutils.texi (objdump): Note some limitations of -h section - address printing. - -Sat Jan 22 16:20:46 1994 Stan Shebs (shebs@andros.cygnus.com) - - * Makefile.in (MALLOC): Set to emptiness by default. - (ALL_CFLAGS): Add and use. - (arparse.h): Make it depend on arparse.y. - * ar.c (libbfd.h): Don't require to be in ../bfd. - * objdump.c (comp): Rename to compare_symbols. - -Fri Jan 21 20:22:30 1994 David J. Mackenzie (djm@thepub.cygnus.com) - - * objdump.c (list_matching_formats): If the file format is ambiguous, - print the matching names so the user can choose one. - (display_bfd): Call it. - (display_file): Call it. - -Fri Jan 21 19:17:25 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * objdump.c (disassemble_data): Support bfd_arch_rs6000. - -Mon Jan 17 13:57:25 1994 Stan Shebs (shebs@andros.cygnus.com) - - * 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. - -Fri Jan 14 14:42:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * objcopy.c (strip_main, copy_main): Don't clobber the input file - if copy_file fails. - - * nlmconv.c (main): Warn about an attempt to use a shared library - with uninitialized data. - - * nlmconv.c (setup_sections): Make sure that we align the - output_offset of each input section appropriately. - -Thu Jan 13 17:32:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * objdump.c (dump_relocs): Don't crash if section name is NULL. - -Tue Jan 11 19:46:33 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * filemode.c (filemodestring): Commented out; not used. - (mode_string): Use POSIX definitions. - (ftypelet): Likewise. - (rwx): Removed; no longer used. - * bucomm.c: Include bucomm.h. - (bfd_nonfatal, bfd_fatal): Argument is const. - (fatal): Make __STDC__ version. - * bucomm.h (mode_string): Declare. - * Makefile.in (bucomm.o): Depend upon bucomm.h - -Sun Jan 9 12:03:20 1994 Ken Raeburn (raeburn@rtl.cygnus.com) - - * bucomm.c (xmalloc, xrealloc): Deleted. - * bucomm.h (xmalloc, xrealloc): Fix prototypes, to correspond to - libiberty version of functions. - -Thu Jan 6 06:18:15 1994 David J. Mackenzie (djm@thepub.cygnus.com) - - * binutils.texi: Add a chapter summarizing the ways to select - 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. - -Sat Jan 1 13:58:24 1994 David J. Mackenzie (djm@thepub.cygnus.com) - - * ar.c (main): Add \n in error message. - -Thu Dec 23 12:23:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - gcc -Wall lint: - * ar.c (main): Put parens around assignment used as truth value. - * objcopy.c (strip_main): Remove unused variables. Return 0. - (copy_main): Remove unused variables. Return 0. - * 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. - - * objcopy.c (copy_main): Use copy_options, not strip_options. - - * nlmheader.y (command): Warn about illegal date values. - -Wed Dec 15 11:18:03 1993 David J. MacKenzie (djm@frosty.eng.umd.edu) - - * bucomm.c bucomm.h: Run through indent. De-ansidecl-ify. - (bfd_nonfatal): New function. - (bfd_fatal): Call it. - - * objcopy.c (smart_rename): Do a copy if the dest file has - multiple hard links. Remove source file on successful copy. - Try to preserve mode and owner on successful rename. - - * objcopy.c: Run through indent. Clean up a bit. - Make global variables static. - Make {input,output}_{target,filename}, show_version local - to various functions. - New global variable `status' for exit status. - (strip_main, copy_main): New functions with code from main. - (nonfatal): New macro. Use it globally instead of bfd_perror and - bfd_fatal. - - (copy_object): Call mangle_sections with bfd_map_over_sections. - (mangle_sections): Adjust for new calling convention. - -Fri Dec 10 11:28:11 1993 Ian Lance Taylor (ian@deneb.cygnus.com) - - * nlmheader.y (command): Accept MAP and FULLMAP without arguments. - * nlmconv.c (main): Change error message for MAP and FULLMAP. - -Thu Dec 9 17:47:19 1993 Ian Lance Taylor (ian@deneb.cygnus.com) - - * nlmconv.c (main): Warn about imported symbols that are not in - the IMPORT list even if the IMPORT keyword is not used. - - * nlmconv.c (debug, unlink_on_exit): New static variables. - (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. - -Wed Dec 8 10:09:04 1993 Ian Lance Taylor (ian@deneb.cygnus.com) - - * nlmheader.y (nlmheader_identify): New function. Use it to print - the program name just once, instead of with every error message. - -Mon Dec 6 16:11:32 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * nlmconv.c (long_options): Changed --header-info to --header-file - to match documentation and usage message. - -Sun Dec 5 01:31:01 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - - * objdump.c (dump_relocs): Avoid dereferencing a NULL sym_ptr_ptr - in a relocation. - -Thu Dec 2 16:00:06 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * nlmconv.c (main): Change various types from bfd_size_type to - size_t, since they have to be arguments to fread and fwrite. - Change set from char * to unsigned char *. - (select_output_format): Make mach argument unsigned. Handle - bfd_arch_alpha. - (setup_sections): Don't copy the .reginfo section of an ECOFF - file. Call bfd_set_reloc to initialize the relocation fields. - (copy_sections): Don't copy the .reginfo section of an ECOFF file. - Combine all relocs for a section. - (mangle_relocs): Change type of relocs to permit specific - functions to change it. Call alpha_mangle_relocs for alpha, - default_mangle_relocs for other architectures. - (default_mangle_relocs): New function. Adjust the address of all - relocs by the output_offset. - (i386_mangle_relocs): Change type of relocs argument. Cast length - argument to memmove to size_t. - (alpha_mangle_relocs): New function. - -Wed Nov 17 17:38:58 1993 Sean Eric Fagan (sef@cygnus.com) - - * nlmconv.c (select_output_format): Use nlm32-sparc for - bfd_arch_sparc. - -Wed Nov 17 14:41:35 1993 Jeffrey Osier (jeffrey@thepub.cygnus.com) - - * nlmconv.1: added man page - * objcopy.1: fixed format errors - -Wed Nov 17 12:03:41 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * Makefile.in: Use CFLAGS as well as LDFLAGS when linking. - -Wed Nov 17 04:50:55 1993 David J. Mackenzie (djm@thepub.cygnus.com) - - * strings.1: Fix typo. - -Mon Nov 15 12:03:20 1993 Ken Raeburn (raeburn@rtl.cygnus.com) - - * Makefile.in (DISTSTUFF): Build "info". - (VERSION): Updated to cygnus-2.3.1; 2.3 has gone out. - -Sun Nov 14 00:27:24 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - - * objdump.c (dump_stabs): Handle stabs-in-som as implemented - by the new BFD SOM assembler. - -Sat Nov 13 07:14:05 1993 David J. Mackenzie (djm@rtl.cygnus.com) - - * ar.1 c++filt.1 nm.1 objcopy.1 objdump.1 ranlib.1 size.1 - strings.1 strip.1: Replace \(em in NAME section with \- so - makewhatis can grok it. - -Tue Nov 9 15:22:12 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * nlmconv.c (i386_mangle_relocs): Adjust reloc address by - section output_offset. - -Fri Nov 5 12:11:52 1993 Jeffrey Osier (jeffrey@thepub.cygnus.com) - - * binutils.texi: added nlmconv chapter - -Wed Nov 3 16:10:50 1993 Jeffrey Wheat (cassidy@cygnus.com) - - * Makefile.in: Change RUNTESTFLAGS to RUNTEST_FLAGS - -Wed Nov 3 15:09:23 1993 Ken Raeburn (raeburn@rover.cygnus.com) - - * Makefile.in (distclean): Don't get rid of dvi or info files. - -Tue Nov 2 13:29:59 1993 David J. Mackenzie (djm@rtl.cygnus.com) - - * objcopy.c (S_ISLNK): Define as 0 if there's no S_IFLNK. - -Fri Oct 29 16:02:34 1993 David J. Mackenzie (djm@thepub.cygnus.com) - - * binutils.texi: Move objcopy docs into alphabetical order. - - * objdump.c: Use xmalloc instead of malloc. - -Fri Oct 29 11:11:14 1993 Stan Shebs (shebs@rtl.cygnus.com) - - * objdump.c (info): Rename to formats_info. - (dump_stabs_1): Better comments and formatting. - -Thu Oct 28 19:43:16 1993 Stan Shebs (shebs@rtl.cygnus.com) - - * ar.c (main): Always create the archive when quick appending, - even if no input files have been given. - -Wed Oct 27 12:03:06 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * nlmconv.c (main): Set sharedDebugRecordOffset and - sharedDebugRecordCount fields in extended header. - - * nlmconv.c (main): Force moduleName field to upper case. - -Mon Oct 25 16:45:42 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * objcopy.c (main): Give a usage message if there are too many - arguments. - -Mon Oct 25 10:37:08 1993 Ken Raeburn (raeburn@rover.cygnus.com) - - * Makefile.in (install-info): Rewrite to take advantage of VPATH, - so FSF distributions (with info files in $(srcdir)) install - properly. - (DISTSTUFF): Build nlmheader.c too. - -Fri Oct 22 11:43:23 1993 Ken Raeburn (raeburn@rover.cygnus.com) - - * ar.c (program_name): Don't define here. - * objdump.c: Include "bucomm.h". - (xmalloc): Don't declare here. - (program_name): Don't define here. - (program_version): Fixed type in declaration. - * size.c: Include "bucomm.h". - (program_name): Don't declare here. - -Fri Oct 22 14:10:41 1993 Mark Eichin (eichin@cygnus.com) - - * objdump.c (fprintf): hide declaration in FPRINTF_ALREADY_DECLARED - -Fri Oct 1 12:43:00 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * nlmconv.c (i386_mangle_relocs): Resolve and remove PC relative - relocs against defined symbols in the same section. - -Thu Sep 30 16:46:26 1993 Roland H. Pesch (pesch@fowanton.cygnus.com) - - * Makefile.in (binutils.dvi): use TEXIDIR to find texinfo.tex - -Sat Sep 25 18:09:29 1993 David J. Mackenzie (djm@thepub.cygnus.com) - - * objcopy.c (simple_copy, smart_rename): New functions. - (main): Use them. - -Fri Sep 24 15:38:29 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * Makefile.in (clean, distclean): Recurse into testsuite. - -Thu Sep 23 01:05:06 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * objcopy.c (setup_sections, copy_sections): If stripping, don't - copy SEC_DEBUGGING sections. - * objdump.c (dump_headers): Print SEC_DEBUGGING flag. - - * objdump.c (usage): Mention --stabs. - - * objcopy.c (copy_object): Copy all applicable file flags. - (copy_file): Don't copy EXEC_P specially here. - -Mon Sep 20 19:28:57 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * nlmconv.c (main): Adjust data section size to correspond to bss - alignment adjustment. Clear BSF_SECTION_SYM if symbol is moved to - a different section. Use time_t for time variable. - (setup_sections): Only put sections with contents in output NLM. - (i386_mangle_relocs): No symbols are common at this point. Add - casts to avoid warnings. - -Fri Sep 10 11:00:40 1993 Stan Shebs (shebs@rtl.cygnus.com) - - * objdump.c: Made the --stabs option work for stabs-in-coff. - (ELF_STAB_DISPLAY): Removed. - (dump_elf_stabs): Renamed to dump_stabs, changed to run for - any object file format. - (dump_elf_stabs_1): Renamed to dump_stabs_1, added calls to - generic BFD routines for non-ELF case, changed format of message - for no-section-found case. - (display_bfd): Always call dump_stabs if requested. - (dump_data): Call bfd_section_size to get section size. - -Fri Sep 10 08:12:23 1993 David J. Mackenzie (djm@thepub.cygnus.com) - - * Makefile.in (install): Don't put strings in tooldir/bin. - -Mon Sep 6 15:39:04 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * nlmconv.c (total_bss_size): Removed. - (main): Set the bss vma to always follow the data section. Move - symbols into new sections, and adjust values by output_offset. - (setup_sections): Don't copy all sections, but instead point all - text sections to .text, all data sections to .data, and all bss - sections to .bss. - (copy_sections): Adjust accordingly. - -Thu Sep 2 12:34:03 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - Only build nlmconv if configured for a NetWare target. - * configure.in: If we have some *-*-netware* target, or are using - all targets, set BUILD_NLMCONV to $(NLMCONV_PROG) in Makefile. - * Makefile.in (PROGS): Use $(BUILD_NLMCONV) rather than - $(NLMCONV_PROG). - -Tue Aug 31 14:13:35 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) - - * objdump.c (ARCH_all): Define ARCH_hppa too. - (dump_headers): Don't test for SEC_BALIGN if it's not defined by - bfd.h. - -Tue Aug 31 13:29:12 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * nlmconv.c (main): Force creation of .bss section. Set up the - sections before looking at the symbols. Move all common symbols - into .bss section. Automatically define _edata and _end. Only - export symbols in the export list, with multiple prefixes if - necessary. Warn if no version. Always create extended header. - Set date automatically if not already set. - (setup_sections): Count size of bss sections. - (mangle_relocs, i386_mangle_relocs): Accept section argument, and - take reloc_count as a changeable pointer; changed callers. - (i386_mangle_relocs): Remove PC relative relocs within a section, - as they require no adjustment. - * nlmheader.y: Fixed memory allocation throughout: token STRING is - now allocated on the heap, and freed if not needed. Null - terminated copyright message. Accept version with only two - strings. - (symbol_list_opt): New nonterminal, either symbol_list or empty. - (symbol_list): Use left recursion to avoid overflowing parser - stack. - (yylex): Rearranged beginning of line check. Accept quoted - strings using single quotes. End generic argument at comment - character or parentheses. - (string_list_append): Fixed. - (string_list_append1): New function. - - * bucomm.h: The first argument to xrealloc is PTR, not char *. - * bucomm.c (xrealloc): Use PTR rather than char *. - * Makefile.in (objdump.o): Depend upon config.status to notice - --with-targets changes. - (nlmconv.o): Depend upon bucomm.h. - -Tue Aug 17 09:46:01 1993 David J. Mackenzie (djm@thepub.cygnus.com) - - * configure.in: Don't pass cpu to config.bfd. - -Thu Aug 12 16:43:04 1993 David J. Mackenzie (djm@thepub.cygnus.com) - - * Makefile.in ($(NM_PROG)): Depend on demangle.o. - (demangle.o): New target. - (cplus-dem.o): Depend on it, to force compilation order when doing - parallel compiles. - - * nm.c (print_symbol_info_{bsd,sysv,posix}): Take a bfd arg. - (struct output_fns print_symbol_info): Ditto. - (long_options, usage, main): Add -C --demangle option. - (print_symname): New function, demangling if requested. - (print_symbols, print_symbol_info_{bsd,sysv,posix}): Use it. - -Wed Aug 11 22:57:23 1993 David J. Mackenzie (djm@thepub.cygnus.com) - - * Makefile.in: Put CFLAGS last in compilation rules and omit from - linking rules. Use ARCHDEFS to compile objdump.c. - Update dependencies. - * configure.in: Construct ARCHDEFS based on the BFD target makefile - fragments. - * objdump.c: Conditionalize calls to the print_insn_ARCH functions - according to ARCHDEFS. - -Thu Aug 12 08:06:15 1993 Ian Lance Taylor (ian@cygnus.com) - - * ar.c: Removed obsolete and non-functional GNU960 code. - -Wed Aug 11 13:08:26 1993 Ian Lance Taylor (ian@cygnus.com) - - * size.c (berkeley_sum): New function. - (bsssize, datasize, textsize): New global variables. - (bss_section_name, data_section_name, text_section_name): Removed. - (print_berkeley_format): Map berkeley_sum over all the sections, - rather than only reporting sizes of specifically named sections. - * Makefile.in ($(OBJDUMP_PROG)): Removed dependency on size.o. - -Tue Aug 10 10:46:01 1993 Ian Lance Taylor (ian@cygnus.com) - - * nlmconv.c, nlmconv.h, nlmheader.y: New files for program to - convert object files into NetWare Loadable Modules. - * Makefile.in (NLMCONV_PROG): New macro, define to be nlmconv. - (PROGS): Add NLMCONV_PROG. - (nlmheader.c, nlmheader.o, nlmconv.o, $(NLMCONV_PROG)): New - targets. - -Thu Aug 5 15:48:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) - - * Makefile.in: define MAKEOVERRIDES to an empty string - -Wed Aug 4 17:08:08 1993 David J. Mackenzie (djm@thepub.cygnus.com) - - * objcopy.c (copy_file): Make failures to process a file nonfatal. - -Mon Aug 2 11:28:23 1993 David J. Mackenzie (djm@thepub.cygnus.com) - - * nm.c: Add -B option, like --format=bsd. - -Tue Jul 27 16:29:54 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * objcopy.c (copy_file): If the file is neither an object nor an - archive, give an error rather than returning success. - -Mon Jul 19 16:13:40 1993 Ken Raeburn (raeburn@rtl.cygnus.com) - - * objdump.c (objdump_print_address): Prefer non-local symbols over - local ones, and especially discriminate against debugging symbols. - Also, for relocateable files, try to find a symbol in the current - section, instead of picking one from some random section with a - convenient value (read, section offset). - (disassemble_data): Cast argument to malloc to size_t first. - (dump_data): Likewise. - (dump_relocs): If a single section name is specified, show relocs - only for that section. Otherwise, silently omit sections without - relocs. Format table nicely even if values are printed using 16 - digits instead of 8. - -Fri Jul 16 15:19:59 1993 David J. Mackenzie (djm@thepub.cygnus.com) - - * nm.c: Changes for final version of POSIX.2. - (print_symbol_filename_{bsd,sysv,posix}): New functions. - (formats): Add an element for a pointer to them. - (print_symbols): Call it. - (print_object_filename_posix, print_archive_member_posix): Produce - output according to new POSIX.2 spec. - - * strings.c (print_strings): Handle STREAM being NULL. - (strings_a_section): Pass a NULL. - (main): Don't open /dev/null. - -Thu Jul 15 12:44:09 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * objdump.c (disassemble_data): Handle the m88k. - (display_bfd): Use bfd_errmsg, rather than just claiming that the - bfd is not an object file. - -Mon Jul 12 17:55:34 1993 K. Richard Pixley (rich@cygnus.com) - - * Makefile.in (TAGS): make work again by naming directories - explicitly rather than depending on undefined macros. - (INSTALL_XFORM): correct bad install target. - -Fri Jul 2 16:58:34 1993 David J. Mackenzie (djm@thepub.cygnus.com) - - * strings.c: Doc fixes. - -Sun Jun 27 13:35:24 1993 David J. Mackenzie (djm@thepub.cygnus.com) - - * Makefile.in: Note dependencies on bucomm.h. - (cplus-dem.o): Link c++filt with version.o. - - * strings.c: Include bucomm.h and add prototypes to other decls. - Remove -h option. - - * bucomm.h: Declare xrealloc. - - * nm.c, objcopy.c, objdump.c, size.c, strings.c (main, usage): Add - --help option. Put "GNU" in the version message. - (usage): Take stream and exit status as args. - (main): Pass new args to usage. - -Fri Jun 25 23:12:12 1993 David J. Mackenzie (djm@thepub.cygnus.com) - - * strings.c, strings.1: New files. - * binutils.texi: Document strings. - * Makefile.in: Add rules for it. - -Fri Jun 25 20:44:43 1993 Ken Raeburn (raeburn@poseidon.cygnus.com) - - * objdump.c: Use size-independent bfd elf section names. - -Sun Jun 20 23:09:06 1993 Ken Raeburn (raeburn@poseidon.cygnus.com) - - * objdump.c (objdump_print_address): Handle wide offsets by - calling sprintf_vma. - -Fri Jun 18 14:29:12 1993 Per Bothner (bothner@deneb.cygnus.com) - - * objdump.c (syms2): Removed unused variable. - * objdump.c (remove_useless_symbols): New function. - * objdump.c (comp): Simplify. - * objdump.c (dis-assemble_data): Make simpler and more - efficient how we filter out useless symbols: Just filter - BEFORE the sort (using remove_useless_symbols). - * objdump.c (objdump_print_address): Simplify. - Change output syntax to match gdb. - -Thu Jun 17 16:53:56 1993 david d `zoo' zuhn (zoo@cygnus.com) - - * Makefile.in: canonicalize install.sh; for use within - this directory (and subdirs) - -Mon Jun 14 12:13:22 1993 david d `zoo' zuhn (zoo at rtl.cygnus.com) - - * Makefile.in (install, install-info): remove parentdir support, - use INSTALL_XFORM; define INSTALL_XFORM - -Thu Jun 10 17:29:21 1993 Per Bothner (bothner@cygnus.com) - - * objcopy.c (copy_object): Fix bad size passed to xmalloc(). - -Mon Jun 7 12:41:12 1993 Per Bothner (bothner@rtl.cygnus.com) - - * Makefile.in (INCLUDES): Add -I../bfd for sysdep.h and bfd.h. - * configure.in: No longer need to configure to get sysdep.h. - * objcopy.c (copy_object): Fix symbol table handling. - -Fri Jun 4 17:20:03 1993 Per Bothner (bothner@cygnus.com) - - * objcopy.c (filter_symbols): Cannot filter the symbols - in place, because that confuses the relocs, so take separate - parameter for output array. - * objcopy.c (sympp): Make two variables: isympp and osympp. - * objcopy.c (copy_object): Allocate separate array (osympp) - for filtered symbols. - -Fri Jun 4 10:51:44 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * Makefile.in: change recursion test to presence of a configured - testsuite directory - -Thu Jun 3 14:05:57 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) - - * Makefile.in (underscore.c): Hack the backquoted command so it - doesn't cause Solaris make to bomb. - -Thu Jun 3 10:40:19 1993 Jeffrey Osier (jeffrey@cygnus.com) - - * Makefile.in: added c++filt and objcopy to MANPAGES variable - -Thu Jun 3 00:32:52 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * Makefile.in: rename LOADLIBES to EXTRALIBS - -Wed Jun 2 18:30:24 1993 Jeffrey Osier (jeffrey@cygnus.com) - - * c++filt.1, objcopy.1: new man pages - -Fri May 28 15:01:24 1993 Per Bothner (bothner@rtl.cygnus.com) - - * Makefile.in (install): Also install ar and ranlib in - $(tooldir)/bin; needed for building libgcc.a. - * objdump.c (objdump_print_address): Fix the check - "coincidental" label matches by dis-allowing undefined - or com symbols. - -Thu May 27 16:58:31 1993 Jeffrey Osier (jeffrey@cygnus.com) - - * biutils.texi: revised c++filt chapter - -Wed May 26 17:24:17 1993 Ian Lance Taylor (ian@cygnus.com) - - * Makefile.in (FLAGS_TO_PASS): Pass down CC and CFLAGS. - -Tue May 25 00:26:47 1993 Ken Raeburn (raeburn@cygnus.com) - - * objdump.c (slurp_symtab): Print warning for bad symbol table. - (bfd_elf32_find_section, Elf32_Internal_Shdr): Updated - declarations and uses. - - * Makefile.in (DISTSTUFF): Don't build binutils.mm. - -Fri May 21 10:51:19 1993 David J. Mackenzie (djm@rtl.cygnus.com) - - * nm.c: Add -f/--format, -P/--portability, -t/--radix options. - Make global variables static. - (main): Make -v like -n, not -V, and make -A like -o, for POSIX.2. - (set_print_radix, set_output_format, - print_{object_filename,archive_filename,archive_member,symbol_info} - {bsd,sysv,posix}): New functions. - (display_file, print_symbols): Call them. - - * ar.c: Improve error messages. - - * nm.c (main): Handle long options that just set a flag. - - * nm.c (main), ar.c (do_show_version), objcopy.c (main), size.c - (main): Exit after printing the version number, per the GNU coding - standards. - -Mon May 17 13:20:25 1993 Per Bothner (bothner@cygnus.com) - - * README, Makefile.in: Minor updates for 2.2. - -Fri May 14 11:12:26 1993 Per Bothner (bothner@cygnus.com) - - * Makefile.in (underscore.c): Automatically generate - (using nm) a file with the variable prepends_underscore. - * Makefile.in (c++filt): Link underscore.o with cplus-dem.o - so that initial underscores get removed iff appropriate. - * binutils.texi: Preliminary documentation for c++filt. - * Makefile.in, binutils.texi: Set to version 2.2. - - * NEWS: Mention copy->objcopy renaming and new c++filt program. - -Wed May 12 12:05:36 1993 Ian Lance Taylor (ian@cygnus.com) - - * Makefile.in (cplus-dem.o, $(DEMANGLER_PROG)): Build the - demangler via cplus-dem.o, rather than directly from the .c file. - - * objcopy.c: Renamed from copy.c, updated comments accordingly. - * Makefile.in, binutils.texi: Renamed copy to objcopy. - * is-strip.c, maybe-strip.c, not-strip.c: Updated comments for - rename of copy to objcopy. - -Mon May 10 17:20:18 1993 Per Bothner (bothner@cygnus.com) - - * binutils.texi (strip, -v option): Fix typo. - -Fri May 7 13:57:50 1993 Ian Lance Taylor (ian@cygnus.com) - - * Makefile.in (RUNTEST): Define. - (FLAGS_TO_PASS): Pass down RUNTEST. - -Tue May 4 10:06:50 1993 Ian Lance Taylor (ian@cygnus.com) - - * Makefile.in (DEMANGLER_PROG): Name it c++filt. - (PROG): Also build and install COPY_PROG. - -Mon May 3 19:11:48 1993 Per Bothner (bothner@cygnus.com) - - * Makefile.in: Change definition of $(tooldir) to match FSF. - -Wed Apr 28 23:41:32 1993 David J. Mackenzie (djm@rtl.cygnus.com) - - * size.c (usage): Add missing options. - (main): Clean up option parser. - - * objdump.c (usage): Add missing options. - (display_file): Print program name before calling - bdf_perror. - - * nm.c (usage): Add missing options. - (main): Clean up option parser. - (display_file): Print program name before calling - bdf_perror. - - * copy.c (copy_usage, strip_usage): Add missing options. - - * ar.c (usage): New function. - (main): Call it. - (open_inarch, do_quick_append): Print program name before calling - bdf_perror. - -Thu Apr 22 15:01:35 1993 Ian Lance Taylor (ian@cygnus.com) - - * nm.c (main): Accept and ignore -A and -B for MIPS compatibility. - -Mon Apr 19 14:06:59 1993 Rob Savoye (rob@cygnus.com) - - * Makefile.in: Added FLAGS_TO_PASS so tests get run on freshly - built binaries if they exist. (otherwise the path) - -Wed Apr 7 22:22:50 1993 Rob Savoye (rob@cygnus.com) - - * Makefile.in: Changed check target to use DejaGnu. - -Thu Apr 1 12:37:13 1993 Jim Kingdon (kingdon@cygnus.com) - - * Makefile.in: Remove am29k-pinsn.c, i960-pinsn.c. - objdump.c: a29k and i960 are `disassemble' not `print'. - - * objdump.c: Rename print_address to objdump_print_address - and change parameters. - (disassemble_data): Use objdump_print_address. - -Wed Mar 31 10:25:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * objdump.c (disassemble_data): print_insn_sparc is now a - `disassemble' not a `print'. - Makefile.in: Remove sparc-pinsn.c (now in libopcodes.a). - - * objdump.c (disassemble_data): Use new read_memory_func stuff. - -Thu Mar 25 10:38:11 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) - - * objdump.c (fprintf): Declaration of variadic function had better - be a prototype for ANSI C systems. - -Mon Mar 22 23:19:46 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * Makefile.in: rename test-install to install-check - -Fri Mar 19 14:40:08 1993 Steve Chamberlain (sac@thepub.cygnus.com) - - * objdump.c (disassemble_data): Add H8500. - -Fri Mar 19 10:56:51 1993 Jim Kingdon (kingdon@cygnus.com) - - * objdump.c (usage): Mention long options. - -Thu Mar 18 14:22:17 1993 Per Bothner (bothner@rtl.cygnus.com) - - * nm.c: Modify behavior of -o flag for archives to match - BSD4.4 and Sunos 4: Prefix archive name before each line. - - * m68k-pinsn.c: Removed. Subsumed by ../opcodes/m68k-dis.c. - * i386-pinsn.c: Removed. Subsumed by ../opcodes/i386-dis.c. - * Makefile.in: Adjust accordingly. - * objdump.c: Support new-style disassemblers (ones that use - the interface of ../include/dis-asm.h). - -Thu Feb 25 15:57:00 1993 Per Bothner (bothner@rtl.cygnus.com) - - * Makefile.in: When making tar file, remove texinfo/*, - except for texinfo/texinfo.tex. - * ardup.c: Add extern declaration of strdup. - * Makefile.in (testsuite): Add 'else true' since otherwise - Ultrix /bin/sh complains. - -Wed Feb 24 19:44:18 1993 Per Bothner (bothner@rtl.cygnus.com) - - * Makefile.in: Set VERSION to 2.1. - * README, NEWS: Updates. - * nm.c: Add -v as a synonym for -V. - -Tue Feb 23 19:00:50 1993 Mike Werner (mtw@poseidon.cygnus.com) - - * configure.in: added testsuite to configdirs. - * Makefile.in: added support for building testsuite. - -Mon Feb 22 22:52:10 1993 Per Bothner (bothner@rtl.cygnus.com) - - * objdump.c (disassemble_data): Print function names when - given by bfd_find_nearest_line. If not - still print - line numbers. - -Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com) - - * binutils/testsuite: made modifications to testcases, etc., to allow - them to work properly given the reorganization of deja-gnu and the - relocation of the testcases from deja-gnu to a "tool" subdirectory. - -Mon Feb 22 10:27:24 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) - - * objdump.c (dump_data): Free up section contents each time - through the loop. Reported by minyard@bnr.ca. - -Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com) - - * binutils/testsuite: Initial creation of binutils/testsuite. - Migrated dejagnu testcases and support files for testing nm to - binutils/testsuite from deja-gnu. These files were moved "as is" - with no modifications. This migration is part of a major overhaul - of dejagnu. The modifications to these testcases, etc., which - will allow them to work with the new version of dejagnu will be - made in a future update. - -Fri Feb 12 10:05:20 1993 Fred Fish (fnf@cygnus.com) - - * Makefile.in (LIBIBERTY_SRC_DIR, LIBIBERTY_BIN_DIR): New macros. - * Makefile.in (LIBIBERTY): Use LIBIBERTY_BIN_DIR. - * Makefile.in (DEMANGLER_PROG): New program to build. Add macro - and rule. - * Makefile.in (PROGS): Add DEMANGLER_PROG. - -Tue Jan 26 11:56:33 1993 Ian Lance Taylor (ian@cygnus.com) - - * copy.c, nm.c, objdump.c, size.c: Use new bfd_is_com_section - macro rather than checking for equality to bfd_com_section. - -Fri Jan 8 15:50:05 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * objdump.c (disassemble_data): Fix code to find first useless - symbol. - -Thu Jan 7 13:13:31 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * objdump.c (disassemble_data): Use mips_print_insn for MIPS. - Don't core dump if bfd_find_nearest_line returns false. - -Wed Jan 6 17:14:01 1993 Steve Chamberlain (sac@thepub.cygnus.com) - - * objdump.c (disassemble_data): know how to disassemble z8000s - too. - -Wed Jan 6 15:16:27 1993 Per Bothner (bothner@cygnus.com) - - * arsup.h (interactive), bucomm.h (program_name): Prefix - with 'extern', to avoid warnings from some compilers. - -Wed Jan 6 15:14:11 1993 Per Bothner (bothner@rtl.cygnus.com) - - * arparse.y: fix unnecessary shift/reduce - -Tue Dec 22 15:46:56 1992 Per Bothner (bothner@rtl.cygnus.com) - - * Makefile.in: Make check depend on all. - * Makefile.in (distclean): Remove sysdep.h. - * size.c: Use %u format where appropriate. - * objdump.c: Standardize: L_SET -> SEEK_SET. - * objdump.c: Use new macro bfd_asymbol_bfd. - * configure.in: Allow std-host as the default ${mys_host}. - -Thu Dec 17 19:38:19 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * Makefile.in: added dvi target, define and use TEXI2DVI - -Tue Dec 15 18:05:07 1992 Per Bothner (bothner@cygnus.com) - - * Makefile.in (dist): Fix permissions before release. - * size.c: Use bfd_size_type (and long) where appropriate. - * ar.c: Make writing a map the default, to be compatible - with SYSV and Posix.2. Remove some bogus kludges that - handled __.SYMDEF directly. - * NEWS: New file. - -Mon Nov 9 13:36:53 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * Makefile.in: flex no longer needs the -S flag - -Sat Nov 7 15:06:13 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * ar.c (extract_file): utime needs a pointer to a utimbuf - - * Makefile.in: handle -I includes better, adding $(BASEDIR)/bfd to - the list (since some of the bfd/hosts/*.h files include other - files from that directory) - -Fri Nov 6 00:12:51 1992 John Gilmore (gnu@cygnus.com) - - * i960-pinsn.c (MEM_MAX, MEM_SIZ): Set upper bound properly. - -Thu Nov 5 03:37:15 1992 John Gilmore (gnu@cygnus.com) - - Clean up some old BFD ansification macros. - - * arsup.h, bucomm.h, objdump.h: Remove EXFUN from binutils. - It still remains as a local macro in gmalloc.c, which is derived - from some other copy of GNU Malloc somewhere (FIXME). - - * ar.c, objdump.c, size.c: Replace EXFUN with PROTO. Make static - fns really static. - * arsup.h: Declare extract_files. - -Mon Nov 2 12:42:11 1992 Ian Lance Taylor (ian@cygnus.com) - - * ar.c (extract_file): instead of checking USG: if POSIX_UTIME, - use utime and utimbuf structure, otherwise if USE_UTIME use utime - and array of two longs, otherwise use utimes. - -Thu Oct 15 13:57:35 1992 Per Bothner (bothner@cygnus.com) - - * binutils.tex: Document yesterday's changes to strip and copy. - -Wed Oct 14 13:22:14 1992 Per Bothner (bothner@cygnus.com) - - * copy.c: Re-do command-line parsing to use getopt_long(). - Add long option names. Re-think option letters to be more - consistent. - * copy.c: New function filter_symbols() for stripping only - debug-symbols and/or local symbols. Use these to support - the previously-missing options of the old FSF strip. - -Tue Oct 13 01:24:20 1992 John Gilmore (gnu@cygnus.com) - - * configure.in (host): Use ${srcdir}/../bfd/configure.host rather - than repeating a copy of it here. - -Wed Oct 7 12:53:52 1992 Ken Raeburn (raeburn@cygnus.com) - - * copy.c (main): Even if is_strip, accept -d argument indicating - alternate output format. Needed by gdb for Nindy. - - * m68k-pinsn.c (print_insn_arg): Handle new "`" operand type. - -Tue Oct 6 16:33:56 1992 Jeffrey Osier (jeffrey@cygnus.com) - - * binutils.texi: added documentation for "copy" - -Tue Oct 6 14:22:56 1992 Per Bothner (bothner at PersSony) - - * Makefile.in (*clean rules): Some cleaning up. - * Makefile.in (dist): Make diststuff in gprof for a dist. - - * ar.c (do_show_version): New function. - * ar.c (main): Fix so "ar -V" works. - -Thu Oct 1 22:44:45 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * configure.in: now uses the cpu-vendor-os triple instead of - nested cases. - -Fri Sep 25 22:41:08 1992 John Gilmore (gnu@cygnus.com) - - * i960-pinsn.c: Change bzero to memset. - * sparc-pinsn.c: Change index to strchr. - -Mon Sep 21 14:39:56 1992 Ian Lance Taylor (ian@cygnus.com) - - * m68k-pinsn (print_insn_arg, fetch_arg): added support for - operands to memory management instructions, from WRS. - -Tue Sep 15 15:26:38 1992 Ian Lance Taylor (ian@cygnus.com) - - * Makefile.in (install): if $(tooldir) exists, install nm and - strip in $(tooldir)/bin. - -Thu Sep 3 11:57:40 1992 Per Bothner (bothner@rtl.cygnus.com) - - * Makefile.in: Let's call it version 2.0. - -Wed Sep 2 00:25:13 1992 Per Bothner (bothner@rtl.cygnus.com) - - * Makefile.in: Bump to version 0.98. - * TODO, README: Minor updates. - - * Makefile.in: Added mostlyclean, distclean rules, - and cleaned up clean, realclean. - -Sun Aug 30 21:18:59 1992 Ian Lance Taylor (ian@cygnus.com) - - * Makefile.in: map program names through program_transform_name - when installing. - -Sun Aug 30 18:09:03 1992 Per Bothner (bothner@rtl.cygnus.com) - - * Makefile.in: Bump to versions 1.97.90. - * cplus-dem.c: Removed. Was nowhere used - and if some - programs are changed to to demangling should now use the - versions in libiberty. - -Thu Aug 27 12:58:09 1992 Brendan Kehoe (brendan@cygnus.com) - - * configure.in: add we32k - -Mon Aug 24 14:53:42 1992 Steve Chamberlain (sac@thepub.cygnus.com) - - * ar.c (map_over_members): if the element of the archive has a - null name, fill it in. - - * nm.c (do_one_rel_file): only warn if a bfd's flags say there - will be symbols and there aren't any. - -Wed Aug 19 11:20:25 1992 Ian Lance Taylor (ian@cygnus.com) - - * m68k-pinsn.c: handle new operand type 'r', introduced for cas2. - -Tue Aug 18 20:45:48 1992 Rob Savoye (rob@cygnus.com) - - * nm.c objdump.c: Added support for a +version (-V) - to print the version number. - - * ar.c, copy.c: Added support for a -V option to print - the version number. - -Tue Aug 18 13:28:44 1992 Ian Lance Taylor (ian@cygnus.com) - - * config/mh-apollo68v: removed -g from CC definition. - - * Makefile.in: always create installation directories. - -Mon Aug 17 18:33:41 1992 Per Bothner (bothner@rtl.cygnus.com) - - * m68k-pinsn.c: Minor fix in style of output (don't use - range to indicate floating point control registers). - -Tue Aug 11 23:42:21 1992 Per Bothner (bothner@cygnus.com) - - * ar.c (main): Don't *always* set the verbose flag! - -Wed Aug 5 11:25:27 1992 Per Bothner (bothner@rtl.cygnus.com) - - * copy.c: When is_strip (because it is invoked as the strip - program), follow traditional argv processing: - 'strip file1 file2' now strips file1 and file2, rather - than stripping file1 (as input), leaving output in file2. - -Mon Jul 27 16:28:08 1992 Per Bothner (bothner@rtl.cygnus.com) - - * objdump.c (display_info, display_info_table): Call - bfd_set_format() on dummy bfd before using it (twice). - * ar.c: Make sure archive is created on command 'r' - even when no elements are inserted. (Clean up and - simplify some non-working related code.) - -Mon Jul 20 02:48:38 1992 D. V. Henkel-Wallace (gumby@cygnus.com) - - * configure.in: hppa support doesn't assume hp OS (from sef). - -Sat Jul 18 14:35:22 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * configure.in: recognize hppa hosts (bsd & hpux), error messages - to stderr, not stdout - -Fri Jul 17 18:39:44 1992 K. Richard Pixley (rich@rtl.cygnus.com) - - * ar.1, binutils.texi, i960-pinsn.c, nm.1, objdump.1, ranlib.1, - size.1, sparc-pinsn.c, strip.1: removed rcsid's. - -Thu Jul 16 16:55:24 1992 K. Richard Pixley (rich@rtl.cygnus.com) - - * Makefile.dos: removed rcsid. - -Thu Jul 16 08:23:07 1992 Steve Chamberlain (sac@thepub.cygnus.com) - - * objdump.c (display_bfd): print state of BFD_IS_RELAXABLE too - -Tue Jun 30 20:26:15 1992 D. V. Henkel-Wallace (gumby@cygnus.com) - - * Makefile.in: Add program_suffix (parallel to program_prefix) - -Thu Jun 25 04:52:45 1992 John Gilmore (gnu at cygnus.com) - - * nm.c (sorters): Lint. Remove excess whitespace. - -Wed Jun 24 13:48:07 1992 Per Bothner (bothner@cygnus.com) - - * nm.c (valueof macro): Add missing parentheses. - (Their lack screwed up numeric_forward().) - -Sun Jun 14 10:33:27 1992 John Gilmore (gnu at cygnus.com) - - * objdump.c (dump_elf_stabs): Also dump .stab.index and - .stab.excl sections. - (dump_elf_stabs_1): Split out main body of old dump_elf_stabs. - * objdump.1, binutils.texi: Document new sections dumped. - -Fri Jun 12 22:23:35 1992 John Gilmore (gnu at cygnus.com) - - * size.c, objdump.c, bucomm.c: Lint. - -Thu Jun 11 01:19:06 1992 John Gilmore (gnu at cygnus.com) - - * objdump.c (dump_elf_stabs): New feature: --stabs prints out a - .stab section from an ELF file. Installed under #ifdef - ELF_STAB_DISPLAY so it can be easily disabled, since it requires - bfd-internals header files and such. - * objdump.1, binutils.texi: Update for --stabs. Also fix - objdump's doc to use -- rather than + for long options. - (FIXME: Not yet fixed everywhere in binutils.texinfo.) - -Wed Jun 10 07:53:24 1992 Steve Chamberlain (sac@thepub.cygnus.com) - - * objdump.c(display_info), patches from - mohring@informatik.tu-muenchen.de to print the table much more - nicely. - -Thu May 28 13:36:16 1992 Per Bothner (bothner@rtl.cygnus.com) - - * objdump.c: Add another enum->int cast, for the sake of - old compilers (such as PCC). - -Wed May 27 13:01:44 1992 Per Bothner (bothner@rtl.cygnus.com) - - * arlex.l: Don't include <sysdep.h> (unneeded conflicts). - Add declaration of strdup(). - -Fri May 22 13:40:37 1992 Per Bothner (bothner@cygnus.com) - - * Makefile.in: Use srcdir instead of VPATH in ldgram/ldlex - rules, since these are used when building a distribution. - * Makefile.in (arlex.c): Don't re-direct output, since that - leaves a bogus output files if it fails. - - * arlex.l: Make work with lex, for what it's worth. - * Makefile.in: Better lex support. - * Makefile.in (dist): Generate flex and bison outputs - for distribution. - -Thu May 14 17:17:59 1992 K. Richard Pixley (rich@rtl.cygnus.com) - - * Makefile.in: get BISON definition right. - -Fri May 8 07:47:08 1992 K. Richard Pixley (rich@cygnus.com) - - * sanity.sh: default TMPDIR to ".". - -Thu May 7 12:34:50 1992 Roland H. Pesch (pesch@fowanton.cygnus.com) - - * binutils.texi: add doc for ar command language. - -Wed May 6 18:05:36 1992 Steve Chamberlain (sac@thepub.cygnus.com) - - * arparse.y: make END call ar_end - * arsup.c (ar_end): added, deletes temp file if archive session - aborted. - - -Wed May 6 11:08:53 1992 K. Richard Pixley (rich@rtl.cygnus.com) - - * Makefile.in: use bison & flex from ../ if they exist. Also, - FLEX->LEX. - - * sanity.sh: remove temporary directory when finished. - -Tue May 5 12:00:58 1992 Per Bothner (bothner@rtl.cygnus.com) - - * Makefile.in: Bump to version 1.97. - * ar.c: Declare errno for machines that need it. - -Mon May 4 23:29:51 1992 John Gilmore (gnu@cygnus.com) - - * objdump.c (display_info): Handle error cases without coredump. - Close the dummy temporary file we open in the loop. - * Makefile.in (arsup.o): Add kludge to build with Sun Make. - -Fri May 1 16:20:23 1992 K. Richard Pixley (rich@cygnus.com) - - * Makefile.in: added test-install target. - - * sanity.sh: new file. - - * Makefile.in: use sanity test on make check. - -Tue Apr 21 13:38:37 1992 K. Richard Pixley (rich@cygnus.com) - - * Makefile.in: rework CFLAGS so that they can be passed on the - command line to make. Remove MINUS_G. Default CFLAGS to -g. - -Wed Apr 15 14:33:07 1992 Steve Chamberlain (sac@thepub.cygnus.com) - - * arsup.c, arsup.h, arparse.y, arlex.l: support for archive - scripting language. - -Fri Mar 6 21:54:53 1992 K. Richard Pixley (rich@cygnus.com) - - * Makefile.in: added check target. - -Thu Mar 5 21:35:49 1992 K. Richard Pixley (rich@cygnus.com) - - * Makefile.in: added clean-info target. - -Tue Mar 3 15:36:37 1992 K. Richard Pixley (rich@rtl.cygnus.com) - - * Makefile.in: remove $(COPY_PROG) from PROGS. It shouldn't be - installed. added tooldir and program_prefix. - -Wed Feb 26 18:04:40 1992 K. Richard Pixley (rich@cygnus.com) - - * Makefile.in, configure.in: removed traces of namesubdir, - -subdirs, $(subdir), $(unsubdir), some rcs triggers. Forced - copyrights to '92, changed some from Cygnus to FSF. - -Sun Feb 16 12:53:02 1992 Per Bothner (bothner at cygnus.com) - - * Makefile.in: Bump version to 1.96, and remove -beta - suffix from distribution name. - * m68k-pinsn.c: New macro COERCE_SIGNED_CHAR to extract - the signed value of a character (even if chars are unsigned). - * sparc-pinsn.c: Add new operand types. - -Thu Feb 6 12:14:19 1992 Steve Chamberlain (sac at rtl.cygnus.com) - - * objdump.c (disassemble_data): don't print a section's contents - if it's not loadable (eg bss) - -Tue Jan 28 11:11:06 1992 Steve Chamberlain (sac at rtl.cygnus.com) - - * m68k-pinsn.c (print_insn_arg): fixed so that -ve branch - displacements don't get printed as large +ve ones. - -Fri Jan 24 14:47:53 1992 Steve Chamberlain (sac at rtl.cygnus.com) - - * copy.c, nm.c, objdump.c, size.c : changed to use the - new reloc scheme. - - -Mon Dec 30 18:34:41 1991 Per Bothner (bothner at cygnus.com) - - * bucomm.c (print_arelt_descr): Tweek the output format - so that 'ar tv' output follows Posix 1003.2/D11. - Output is now also identical to Sun's (except __.SYMDEF). - -Mon Dec 30 06:09:53 1991 John Gilmore (gnu at cygnus.com) - - * Makefile.in: Make `make' output more readable. - -Wed Dec 18 15:04:45 1991 Per Bothner (bothner at cygnus.com) - - * Makefile.in: Bump to version 1.94. - -Wed Dec 11 16:48:09 1991 Steve Chamberlain (sac at cygnus.com) - - * ar.c: added "b" to fopens for dos - * configdj.bat, makefile.dos new files from DJ - -Tue Dec 10 04:07:26 1991 K. Richard Pixley (rich at rtl.cygnus.com) - - * Makefile.in: infodir belongs in datadir. - -Sat Dec 7 17:09:37 1991 Steve Chamberlain (sac at rtl.cygnus.com) - - * bucomm.h: created to hold prototypes of bucomm.c - * objdump.h: created to hold prototyes of objdump.c - * am29k-pinsn.c: include objdump.h - * ar.c: include bucomm.h, get ar.h from the right place and - include libbfd.h - * bucomm.c: defunize bfd_fatal - * copy.c: include bucomm.h, lint. - * i960-pinsn.h: include bucomm.h - * m68k-pinsn.h: lint - * nm.c: include bucomm.h, lint - * objdump.c: lint - * sparc-pinsn.c: include objdump.h - - - -Fri Dec 6 23:02:14 1991 K. Richard Pixley (rich at rtl.cygnus.com) - - * Makefile.in: added standards.text support. install using - INSTALL_PROGRAM and INSTALL_DATA. - - * configure.in: configure now does all of it's work from objdir so - make file existence tests against ${srcdir}. - -Thu Dec 5 22:46:22 1991 K. Richard Pixley (rich at rtl.cygnus.com) - - * Makefile.in: idestdir and ddestdir go away. Added copyrights - and shift gpl to v2. Added ChangeLog if it didn't exist. docdir - and mandir now keyed off datadir by default. - -Wed Dec 4 22:42:03 1991 Per Bothner (bothner at cygnus.com) - - * Makefile.in: Bump to version 1.93. - * Makefile.in: Add make-strip.o:maybe-strip.c dependency - for make versions that provide half-baked VPATH-support (e.g. Sun's). - * size.c: Improvements suggested by - "david d [zoo] zuhn" <zoo@aps1.spa.umn.edu>: - - Don't emit (Berkeley) headers if no files were found. - - Return a non-zero return code on failure. - -Sat Nov 30 21:34:19 1991 Steve Chamberlain (sac at rtl.cygnus.com) - - Changes due to include file renaming: - * am29k-pinsn.c: a29k-opcode.h -> opcode/a29k.h - * sparc-pinsn.c: sparc-opcode.h -> opcode/sparc.h - * m68k-pinsn.c: m68k-opcode.h -> opcode/m68k.h - * nm.c: stab.gnu.h -> aout/stab_gnu.h - -Tue Nov 19 19:20:43 1991 Per Bothner (bothner at cygnus.com) - - * README: Mention MINIMIZE flag for bfd's make. - -Mon Nov 18 12:05:37 1991 Per Bothner (bothner at cygnus.com) - - * README: Various improvements. - -Sun Nov 17 23:40:59 1991 Per Bothner (bothner at cygnus.com) - - * Makefile.in: Bump to version 1.92. - * version.c, Makefile.in: Get version string from Makefile. - * copy.c, is-strip.c, not-strip.c, maybe-strip.c, Makefile.in: - Make the same change that we earlier did for ar/ranlib: - Generate two different binaries for strip and copy and use - a global variable with different values to distinguish - ostrip from copy. (-1 means to use argv[0] to decide, - so you can get the old behavior, but it is no longer the default). - * copy.c (copy_file): Set EXEC_P of output bfd if input is so. - * copy.c (main): If is_strip==-1, compare last 5 chars - of argv[0], not the whole path. - * copy.c (main): Return 0, not 1. - * copy.c (setup_sections): Fix due to change in bfd_make_section - now failing if asked for a duplicate section. - * strip.c, ostrip.c: Removed obsolete files. - * ar.c, not-ranlib.c, maybe-ranlib.c: - Change encoding of is_ranlib variable to be consistent - with is_strip for strip.copy (i.e -1 to means use argv[0]). - -Thu Nov 14 20:11:02 1991 Per Bothner (bothner at cygnus.com) - - * version.c (program_version): Update to version 1.92. - -Tue Nov 12 16:17:53 1991 Per Bothner (bothner at cygnus.com) - - * ar.c (get_pos_bfd): Previous fix was missing a "break". - -Thu Nov 7 08:55:56 1991 Steve Chamberlain (sac at cygnus.com) - - * am29k-pinsn.c: Fixed bug in mtacc, dmac and fmac instruction - encodings. (Thaks to David Wood) - -Sun Nov 3 14:50:23 1991 Per Bothner (bothner at cygnus.com) - - * Makefile.in ($(DIST_NAME).tar.Z), TODO: Various fixes. - * ar.c (get_pos_bfd): Fix to handling of before/after - positioning options. - * bucomm.c (fatal): MISSING_VFPRINTF is no longer an issue, - since libiberty contains vfprintf etc if otherwise missing. - * m68k-pinsn.c (print_insn_arg): Support BB/BW/BL - type operands, as used by branch instructions. - * nm.c: Delegate printing of symbols to BFD, - by using bfd_print_symbol to do the formatting. - -Mon Oct 28 11:20:47 1991 Steve Chamberlain (steve at cygnus.com) - - * ar.c (write_archive.c): added unlink before rename since some - systems can't rename onto an existant file. - -Mon Oct 21 09:47:23 1991 Steve Chamberlain (steve at rtl.cygnus.com) - - * nm.c: now doesn't crash if a symbol with no section and no - SEC_ABS appears. - -Thu Oct 17 15:25:50 1991 Per Bothner (bothner at cygnus.com) - - * Makefile.in, version.c: Bump to version 1.91. - -Wed Oct 16 11:45:36 1991 Per Bothner (bothner at cygnus.com) - - * Makefile.in, ar.c, bucomm.c, copy.c, cplus-dem.c, filemode.c, - i960-pinsn.c, m68k-pinsn.c, nm.c, objdump.c, size.c, sparc-pinsn.c, - * strip.c: Add or update Copyright notice. - * TODO: Add note on 'nm -a'. - * version.c: Update version number to 1.90. - * Makefile.in: Fix making of documentation for dist. - -Tue Oct 15 00:17:17 1991 Per Bothner (bothner at cygnus.com) - - * README: New file. - * Makefile.in: New kludgy rules for making a tarfile. - * Makefile.in: Fix bindir path. - -Mon Oct 14 17:34:29 1991 Roland H. Pesch (pesch at cygnus.com) - - * Makefile.in: add targets binutils.mm, binutils.me - -Fri Oct 11 22:44:21 1991 John Gilmore (gnu at cygnus.com) - - * Makefile.in: Avoid Sun Make VPATH bugs by adding dependencies. - -Fri Oct 11 12:51:33 1991 Roland H. Pesch (pesch at cygnus.com) - - * Makefile.in: add target "binutils.ms" - - * binutils.texinfo: minor restructuring for texi2roff comfort. - -Fri Oct 11 04:12:28 1991 John Gilmore (gnu at cygnus.com) - - Restructure configuration scheme for bfd, binutils, ld. - - * include/sys/h-*.h: Move to bfd/hosts/h-*.h. - * configure.in: Revise to symlink sysdep.h to ../bfd/hosts/h-xxx.h. - Change some config names to match other dirs. - * *.c: Include bfd.h before sysdep.h, so ansidecl and PROTO() - get defined first. - * Makefile.in: Use -I. to get sysdep.h. - -Wed Oct 9 22:42:56 1991 Per Bothner (bothner at cygnus.com) - - * nm.c (print_symbols): Handle NULL name field of symbol. - * Makefile.in: Removed spurious comment. - -Tue Oct 8 16:55:03 1991 Roland H. Pesch (pesch at cygnus.com) - - * binutils.texinfo: minor typos, phrasing, formatting fixes. - -Tue Oct 8 15:13:20 1991 Per Bothner (bothner at cygnus.com) - - * configure.in: Get host file from ../bfd/config, not config. - * config/*: Remove config directory and its files. - -Tue Oct 8 13:58:59 1991 Roland H. Pesch (pesch at cygnus.com) - - * Makefile.in: new targets binutils.dvi, binutils.info - - * binutils.texinfo: remove most remaining FIXME's, delete - references to __.SYMDEF by name - - -Tue Oct 8 10:23:44 1991 Steve Chamberlain (steve at cygnus.com) - - * objdump.c (print_address) Print addresses nicely. - -Mon Oct 7 11:31:05 1991 Per Bothner (bothner at cygnus.com) - - * ar.c, Makefile.in, new files {is,not,maybe}-ranlib.c: - Make two different binaries for ar and ranlib, instead of - distinguishing them at run time using argv[0]. - (Old behavior is still available if you "make ar_with_ranlib", - but it is not the default.) - * ranlib.sh (new): An alternative one-line - shell implementation of ranlib. - -Fri Oct 4 21:49:44 1991 John Gilmore (gnu at cygnus.com) - - * objdump.c: Cope with renames of a few BFD types & enums. - -Fri Oct 4 19:08:09 1991 Roland H. Pesch (pesch at cygnus.com) - - * binutils.texinfo: add new file (rudimentary docn) - -Mon Sep 30 12:30:39 1991 Per Bothner (bothner at cygnus.com) - - * config/hmake-news: Add new file (for Sony NEWSOS3). - * bucomm.c (fatal): Conditionally compile fatal() depending on - MISSING_VFPRINTF, and don't confuse the issue with NO_VARARGS. - * objdump.c (dump_headers): Trivial output format change. - * objdump.c (display_info): Loop over integers, not enums, - to appease old compilers. - -Mon May 20 16:14:07 1991 Steve Chamberlain (steve at cygint.cygnus.com) - - *objdump.c *nm.c *copy.c: Changed some types to work with 64 bit - object files. - -Thu May 16 16:06:55 1991 Steve Chamberlain (steve at cygint.cygnus.com) - from bother - * objdump.c (print_address): Make disasembled output more - consistent with gdb and as: Add 0x when printing hex. - Don't print extra leading zeros. - Attempt to not print "filename.o". - * objdump.c: Add some enum-to-int casts to accomodate old compilers. - - -Fri May 3 22:21:44 1991 John Gilmore (gnu at cygint.cygnus.com) - - * copy.c: Change =& constructs to = &, since they confuse older - C compilers. + command line switch "-M force-thumb".For older changes see ChangeLog-9697 +For older changes see ChangeLog-9899 Local Variables: mode: change-log diff --git a/binutils/ChangeLog-9197 b/binutils/ChangeLog-9197 new file mode 100644 index 0000000..d989ae4 --- /dev/null +++ b/binutils/ChangeLog-9197 @@ -0,0 +1,5218 @@ +Mon Dec 29 16:58:05 1997 Ian Lance Taylor <ian@cygnus.com> + + From Matthew Bellantoni <matthew@chrysalis.com>: + * ar.c (get_pos_bfd): Add default_posname parameter. Change all + callers. + (replace_members): Default to replacing in the same position. + +Mon Dec 22 11:27:22 1997 Ian Lance Taylor <ian@cygnus.com> + + * rclex.l: Don't permit a comma in a STRING. + * rcparse.y (acc_entry): Warn if an inappropriate modifier is used + with a non VIRTKEY. + (acc_event): For a control character, set VIRTKEY, and force the + character to uppercase. + (acc_options): Don't require a comma separator. + +Tue Dec 9 13:25:42 1997 Michael Meissner <meissner@cygnus.com> + + * size.c (size_number): New function to provide size of field. + ({l,r}print_number): For octal and hex fields, print field using + '0' and '0x' suffixes. Do not include following tab. + (sysv_internal_sizer): Size section name, section size, and vma + address fields. + (sysv_internal_printer): Use calculated sizes for the columns. + (print_sysv_format): Size columns before printing. + (print_berkeley_format): Print tabs between numbers now that + {l,r}print_number doesn't. Print fields right justified. + +Mon Dec 8 11:22:04 1997 Nick Clifton <nickc@cygnus.com> + + * objdump.c (objdump_print_addr_with_sym): Remove call to + disasm_symaddr() as this function no longer exists. + +Tue Dec 2 10:23:50 1997 Nick Clifton <nickc@cygnus.com> + + * objdump.c (objdump_print_addr_with_sym): Call disasm_symaddr() + to allow backend to know which symbol has just been displayed. + +Tue Dec 2 13:06:46 1997 Ian Lance Taylor <ian@cygnus.com> + + * windres.h (ESCAPE_*): Define standard escape sequences. + * rclex.l (handle_quotes): Handle standard escape sequences. Warn + about an unrecognized escape character. + * windres.c (unicode_print): Print standard escape sequences. + * rcparse.y (acc_event): Initialize $$.next. + * resbin.c (bin_to_res_menuitems): Don't set MENUITEM_POPUP or + MENUITEM_ENDMENU in the menu item flags. + (bin_to_res_accelerators): Allocate a structure (the old code + never worked). + (res_to_bin_accelerator): Correct the test for setting ACC_LAST. + (res_to_bin_dialog): Save the extended style rather than saving + the style twice. Remove useless shadowing length variable. Set + the length of control data correctly. + * resrc.c (write_rc_dialog): Don't print the class or menu if the + string length is zero. + +Mon Nov 24 18:52:43 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * stabs.c (parse_stab_argtypes): Don't try to parse the name of a + destructor as mangled argument types. + +Mon Nov 10 17:51:41 1997 Gavin Koch <gavin@cygnus.com> + + * addr2line.c (translate_addresses): Use bfd_scan_vma rather + than strtol to scan addresses. + +Sun Nov 9 11:01:31 1997 Jeffrey A Law (law@cygnus.com) + + * Makefile.am (bin_PROGRAMS): Don't use line continuations here. + +Tue Nov 4 11:56:14 1997 Ian Lance Taylor <ian@cygnus.com> + + * objcopy.c (copy_section): Don't crash if there is no particular + information for a section. + +Mon Nov 3 12:36:19 1997 Ian Lance Taylor <ian@cygnus.com> + + * objcopy.c (parse_flags): Make flag check case insensitive. + Check for `contents' flag. Give an error for unrecognized flags. + (copy_section): If the contents flag was set for a section that + had no contents, zero out the new contents. + * binutils.texi (objcopy): Document contents section flag. + +Sun Nov 2 14:49:56 1997 Ian Lance Taylor <ian@cygnus.com> + + * objcopy.c: Move new struct and variable definitions to top of + file. Remove obsolete add_strip_symbol and is_strip_symbol + declarations. Add prototype declarations for add_specific_symbol + and is_specified_symbol. + +Mon Oct 20 15:31:43 1997 Klaus K"ampf <kkaempf@progis.de> + + * configure.com (HAVE_SBRK): Undefine. + +Tue Oct 14 16:14:35 1997 Nick Clifton <nickc@cygnus.com> + + * objdump.c (objdump_symbol_at_address): New function. Returns + true if a symbol can be found at the address passed in. + (disassemble_data): Set the symbol_at_address_func field to point + to objdump_symbol_at_address. + +Fri Oct 10 14:13:09 1997 Richard Henderson <rth@cygnus.com> + + * objcopy.c, objcopy.1, binutils.texi: "localize" is a better name + than "privatize". Update all references. + +Thu Oct 9 15:57:29 1997 Ian Lance Taylor <ian@cygnus.com> + + * binutils.texi (strip): Remove duplicate --target. From Marty + Leisner <leisner@sdsp.mc.xerox.com>. + + * nm.c (lineno_cache_bfd): New file static variable. + (lineno_cache_rel_bfd): New file static variable. + (display_archive): Clear lineno_cache_bfd and lineno_cache_rel_bfd + when closing a BFD. + (display_file): Likewise. + (print_symbol): Use lineno_cache_bfd and lineno_cache_rel_bfd + instead of cache_bfd and cache_rel_bfd. Make seccount static, and + only set it when setting relocs. + +Wed Oct 8 21:19:11 1997 Richard Henderson <rth@cygnus.com> + + * objcopy.c (keep_specific_list, privatize_specific_list, + weaken_specific_list): New variables. + (keep_symbols): Removed. + (add_specific_symbol): New function from the carcas of + add_strip_symbol. Takes a list as an argument. + (is_specified_symbol): Likewise from is_strip_symbol. + (filter_symbols): Honor the new privatize and weaken lists. + Optimize bfd_asymbol_name handling. + (copy_object, copy_options, copy_usage): Add privatize-symbol & + weaken-symbol options. + + * objcopy.1, binutils.texi: Update docs. + +Sun Oct 5 09:05:44 1997 Frank Ch. Eigler <fche@cygnus.com> + + * objdump.c (disassemble_data): Make "--prefix-addresses" + disassembly adjust to mixed-length instructions. + (objdump_print_addr_with_sym): Add "0x" prefix for hexadecimal + symbol-offsets in disassembly. + +Fri Oct 3 12:04:25 1997 Ian Lance Taylor <ian@cygnus.com> + + * objcopy.c (set_times): New static function, replacing + make_same_dates. + (strip_main): If preserve_dates, stat the input file before + copying it, and call set_times afterward. + (copy_main): Likewise. + + * wrstabs.c (write_stabs_in_sections_debugging_info): Cast p to + char * when calling strcpy and strlen. + +Wed Sep 24 11:34:05 1997 Ian Lance Taylor <ian@cygnus.com> + + * binutils.texi (ar cmdline): Document that q now works like r. + From Marty Leisner <leisner@sdsp.mc.xerox.com>. + + * binutils.texi (size): The object file argument is optional. + From Marty Leisner <leisner@sdsp.mc.xerox.com>. + + * aclocal.m4: Rebuild with new libtool. + * configure: Rebuild. + +Tue Aug 26 17:48:34 1997 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.am (EXEEXT_FOR_BUILD): New variable. Use it in all + references to the sysinfo program. + * configure.in: Rebuild with new bfd/acinclude.m4. + * Makefile.in: Rebuild. + +Fri Aug 8 15:32:49 1997 Ian Lance Taylor <ian@cygnus.com> + + * windres.c: Include <time.h>. + (define_resource): Set a timestamp for the resource. + +Wed Aug 6 13:37:58 1997 Ian Lance Taylor <ian@cygnus.com> + + * configure.in: Define TARGET in header file. + * acconfig.h (TARGET): Add #undef. + * Makefile.am (version.o, bucomm.o): Remove special targets. + * bucomm.c (target): Remove. + * nm.c (program_name): Don't declare. + (target): Make static. + * size.c (target): Make static. + * configure, config.in, Makefile.in: Rebuild. + +Tue Aug 5 00:01:41 1997 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.am (check-DEJAGNU): Export r. + (.dep1): Use $(INCLUDES) rather than $(ALL_CFLAGS). + * Makefile.in: Rebuild. + + * nlmheader.y: Use VERSIONK rather than VERSION. + + * Makefile.am (STRIP_PROG): Change from strip.new to strip-new. + (NM_PROG): Change from nm.new to nm-new. + (TOOL_PROGS, install-exec-local): Adjust accordingly. + * Makefile.in: Rebuild. + +Mon Aug 4 11:47:31 1997 Ian Lance Taylor <ian@cygnus.com> + + * configure.in: Remove AC_ARG_PROGRAM; it's invoked by + AM_INIT_AUTOMAKE. + * configure: Rebuild. + + * Makefile.am (install-exec-local): Create $(tooldir)/bin before + trying to install anything into it. + * Makefile.in: Rebuild. + + * Makefile.am (TOOL_PROGS): Use an explicit $(EXEEXT). + (install-exec-local): When handling $(noinst_PROGRAMS), only use + $(EXEEXT) on the installed file. When handling $(TOOL_PROGS), + handle $(EXEEXT) correctly. + * configure.in: Add an explicit $(EXEEXT) when substituting for + the name of a program to build. + * Makefile.in, configure: Rebuild. + + * aclocal.m4, configure, Makefile.in: Rebuild with new automake + patches. + + * deflex.l, defparse.y: Use VERSIONK rather than VERSION. + * rclex.l, rcparse.y: Likewise. + * Makefile.am (windres_SOURCES): Add $(BULIBS). + * Makefile.in: Rebuild. + +Fri Aug 1 13:08:39 1997 Ian Lance Taylor <ian@cygnus.com> + + * acinclude.m4: Include bfd/acinclude.m4, not bfd/acmacros.m4. + * aclocal.m4, configure: Rebuild with new libtool. + +Thu Jul 31 11:51:35 1997 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.am: New file, based on old Makefile.in. + * acinclude.m4: New file, from old aclocal.m4. + * configure.in: Call AM_INIT_AUTOMAKE and AM_PROG_LIBTOOL. Remove + shared library handling; now handled by libtool. Replace + AC_CONFIG_HEADER with AM_CONFIG_HEADER. Call AC_PROG_YACC, + AC_PROG_LEX, AC_DECL_YYTEST, AM_MAINTAINER_MODE, AM_CYGWIN32, and + AM_EXEEXT. Replace AC_PROG_INSTALL with AM_PROG_INSTALL. Remove + stamp-h handling in AC_OUTPUT. + * acconfig.h: Mention PACKAGE and VERSION. + * stamp-h.in: New file. + * Makefile.in: Now built with automake. + * aclocal.m4: Now built with aclocal. + * config.in, configure: Rebuild. + + From Ton van Overbeek <tvoverbe@wk.estec.esa.nl>: + * rcparse.y (dialog): Default menu and class to be named. + (styles): If FONT is seen, set DS_SETFONT in dialog style. + * resbin.c (res_to_bin_dialog): Correct computation of font + information length. + +Wed Jul 30 11:21:06 1997 Ian Lance Taylor <ian@cygnus.com> + + From Ton van Overbeek <tvoverbe@wk.estec.esa.nl>: + * resbin.c (res_to_bin_menu): Correct computation of menu + vs. menuex length. + * resrc.c (define_stringtable): Add 1 to resource ID. + +Tue Jul 29 11:06:03 1997 Ian Lance Taylor <ian@cygnus.com> + + * resbin.c (bin_to_res_string): Correct adjustment of data and + length. From Ton van Overbeek <tvoverbe@wk.estec.esa.nl>. + +Tue Jul 22 18:01:23 1997 Ian Lance Taylor <ian@cygnus.com> + + * nlmconv.c (link_inputs): Call libiberty pexecute function. + (pexecute) [multiple versions]: Remove. + +Tue Jul 22 16:19:34 1997 Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE> + + * bucomm.c (make_tempname): If we might be using a DOS filesystem, + check for a backslash as well as a slash. + +Thu Jun 26 13:53:17 1997 Ian Lance Taylor <ian@cygnus.com> + + * windres.c (main): Quit if we didn't get any resources. + (usage): Fix --yydebug usage message. + * rescoff.c (write_coff_file): Don't free the relocation array + until after we've closed the BFD. + (read_coff_rsrc): Quit rather than try to read standard input. + (write_coff_file): Quit rather than try to write to standard + output. + * rcparse.y: Add a couple of missing semicolons (accepted by bison + but not byacc). + * binutils.texi: Document windres. + +Wed Jun 25 20:57:06 1997 Ian Lance Taylor <ian@cygnus.com> + + * resbin.c: New file. + * rclex.l, rcparse.y, rescoff.c, resrc.c, windres.c, windres.h: + Numerous fixes and improvements. + * Makefile.in: Rebuild dependencies. + (CFILES): Add resbin.c. + (WINDRES_OBJS): Add resbin.o. + +Sun Jun 22 17:29:41 1997 Ian Lance Taylor <ian@cygnus.com> + + First stab at Windows resource compiler: + * windres.h: New file. + * windres.c: New file. + * resrc.c: New file. + * rcparse.y: New file. + * rclex.l: New file. + * rescoff.c: New file. + * configure.in: Define and substitute BUILD_WINDRES. + * configure: Rebuild. + * Makefile.in: Rebuild dependencies. + (WINDRES_PROG): New variable. + (PROGS): Add @BUILD_WINDRES@. + (HFILES): Add dlltool.h and windres.h. + (CFILES): Add windres.c and resrc.c. + (GENERATED_CFILES): Add rcparse.c and rclex.c. + (WINDRES_OBJS): New variable. + $(WINDRES_PROG): New target. + (rcparse.c, rcparse.h, rclex.c): New targets. + +Thu Jun 12 12:27:51 1997 Ian Lance Taylor <ian@cygnus.com> + + * dlltool.c (export_type): Add data field. + (def_exports): Add data parameter. Change all callers. + (dump_def_info): Print data field. + (gen_def_file): Likewise. + (make_one_lib_file): Handle data field by not emitting simple + label and not emitting anything in SEC_TEXT. + (dtab): Print data field. + (process_duplicates): Merge data field. + * dlltool.h (def_exports): Update declaration. + * defparse.y (expline): Accept opt_DATA. Pass it to def_exports. + (opt_DATA): New non-terminal. + +Wed Jun 11 17:15:47 1997 Ian Lance Taylor <ian@cygnus.com> + + * dlltool.h: New file. + * deflex.l: Include dlltool.h and libiberty.h. Don't declare + strdup. Use xstrdup rather than strdup. + * defparse.y: Include bfd.h, bucomm.h, and dlltool.h. + * dlltool.c: Include dlltool.h and time.h. Make a lot of + variables and functions static. Make a lot of char * variables + and parameters const. Add declarations for static functions. Do + some reindenting. Hide more PowerPC stuff inside DLLTOOL_PPC. + +Wed Jun 11 12:05:52 1997 H.J. Lu <hjl@gnu.ai.mit.edu> + + * ar.c (bfd_special_undocumented_glue): Add const. + +Mon May 12 22:09:35 1997 Bob Manson <manson@charmed.cygnus.com> + + * Makefile.in (check): Pass CC_FOR_TARGET and CFLAGS_FOR_TARGET + to runtest. + +Mon May 12 13:14:22 1997 Ian Lance Taylor <ian@cygnus.com> + + * configure.in: Don't clear OPCODES when --enable-commonbfdlib is + used on HP/UX. + * configure: Rebuild. + +Fri Apr 25 14:22:08 1997 H.J. Lu <hjl@gnu.ai.mit.edu> + + * Makefile.in (maintainer-clean realclean): Change *.info* + to binutils.info* to save sysroff.info. + +Tue Apr 15 13:42:22 1997 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.in (INSTALL): Set to @INSTALL@. + (INSTALL_XFORM, INSTALL_XFORM1): Remove. + (install): Depend upon installdirs. Use $(program_transform_name) + directly, rather than using $(INSTALL_XFORM) and + $(INSTALL_XFORM1). + (installdirs): New target. + (install-info): Run mkinstalldirs. + +Mon Apr 14 11:52:39 1997 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.in (INSTALL): Change install.sh to install-sh. + + From Thomas Graichen <graichen@rzpd.de>: + * Makefile.in: Always use $(SHELL) when running move-if-change. + * configure.in: Use ${CONFIG_SHELL} when running $ac_config_sub. + * configure: Rebuild. + +Fri Apr 4 13:28:02 1997 Ian Lance Taylor <ian@cygnus.com> + + * configure.in: Add AC_FUNC_ALLOCA. + * configure, config.in: Rebuild. + * bucomm.h: Add alloca handling, copied from gas/as.h. + * dlltool.c: Add #pragma alloca for AIX to start of file. + * nlmconv.c: Likewise. + + * Makefile.in (distclean): Remove site.exp and site.bak. Remove + everything that clean removes. + +Thu Apr 3 13:18:39 1997 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.in (VERSION): Set to 2.8.1. + + * Branched binutils 2.8. + +Tue Apr 1 16:21:44 1997 Klaus Kaempf <kkaempf@progis.de> + + * configure.com: New file. + * config.h-vms: Remove file. + * makefile.vms: Update for new configure scheme. + +Mon Mar 31 15:30:43 1997 Philippe De Muyter <phdm@info.ucl.ac.be> + + * objcopy.c (make_same_dates): Use statbuf, not buf, if not + HAVE_GOOD_UTIME_H. + +Fri Mar 28 17:57:53 1997 Alan Modra <alan@spri.levels.unisa.edu.au> + + * Makefile.in ($(OBJDUMP_PROG)): Don't link against BFDLIB twice. + * configure.in: Add AC_ARG_ENABLE for commonbfdlib. If it is set, + set OPCODES to empty. + * configure: Rebuild. + +Thu Mar 27 16:03:02 1997 Ian Lance Taylor <ian@cygnus.com> + + Based on patch from Marty Leisner <leisner@sdsp.mc.xerox.com>: + * objcopy.c: Include <utime.h> or <sys/time.h>. + (strip_options): Add "preserve-dates". + (copy_options): Likewise. + (copy_usage): Mention -p and --preserve-dates. + (strip_usage): Likewise. + (make_same_dates): New static function. + (strip_main): Handle -p. + (copy_main): Likewise. + * binutils.texi, strip.1, objcopy.1: Document new option. + + addr2line.c contributed by Ulrich Lauther + <Ulrich.Lauther@zfe.siemens.de>: + * addr2line.c: New file. + * Makefile.in: Rebuild dependencies. + (ADDR2LINE_PROG): New variable. + (MANPAGES): Add addr2line. + (PROGS): Add $(ADDR2LINE_PROG). + (CFILES): Add addr2line.c. + ($(ADDR2LINE_PROG)): New target. + * binutils.texi: Document addr2line. + * addr2line.1: New file. + + * version.c (print_version): Update copyright date. + +Mon Mar 24 10:52:45 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * objdump.c (disassemble_data): Don't exit if a file cannot be + disassembled, instead just return. + +Thu Mar 20 21:16:51 1997 Jeffrey A Law (law@cygnus.com) + + * size.c (usage): Make definition match its prototype. + (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. + +Tue Mar 18 16:39:55 1997 H.J. Lu <hjl@lucon.org> + + * 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. + + * Makefile.in: Rebuild dependencies. + +Sat Mar 15 15:35:56 1997 Ian Lance Taylor <ian@cygnus.com> + + Based on patches from Jamie Lokier <jamie@rebellion.co.uk>: + * 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. + + * objdump.c (usage): Mention --no-show-raw-insn. + (long_options): Add "no-show-raw-insn". + (disassemble_bytes): Handle --no-show-raw-insn. + * binutils.texi, objdump.1: Document --no-show-raw-insn. + +Wed Mar 12 11:42:00 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * rddbg.c (free_saved_stabs): Set the strings to NULL after being + freed. + +Fri Feb 28 17:18:45 1997 Ian Lance Taylor <ian@cygnus.com> + + * bucomm.c (set_default_bfd_target): New function. + * bucomm.h (set_default_bfd_target): Declare. + * ar.c (main): Call set_default_bfd_target. + * nlmconv.c (main): Likewise. + * nm.c (main): Likewise. + * objcopy.c (main): Likewise. + * objdump.c (main): Likewise. + * size.c (main): Likewise. + * strings.c (main): Likewise. + * Makefile.in (bucomm.o): New target, to define TARGET. + +Tue Feb 25 21:28:38 1997 Ian Lance Taylor <ian@cygnus.com> + + * objdump.c (adjust_section_vma): New static variable. + (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. + +Fri Feb 14 18:46:47 1997 Ian Lance Taylor <ian@cygnus.com> + + * nm.c (print_symbol): Cache the BFD as well as the symbols and + relocs, and don't try to use the symbols or relocs with a + different BFD. + +Thu Feb 13 21:34:43 1997 Klaus Kaempf (kkaempf@progis.de) + + * config.h-vms: sbrk() is provided on openVMS/Alpha. + * makefile.vms: allow compiling with current gcc snapshot. + +Thu Feb 13 20:14:40 1997 Ian Lance Taylor <ian@cygnus.com> + + * arsup.c, coffgrok.c, dlltool.c, nlmconv.c: Use xmalloc rather + than malloc. + +Wed Feb 12 16:12:02 1997 Ian Lance Taylor <ian@cygnus.com> + + * objdump.c (disassemble_data): Correct VMA argument to + find_symbol_for_address. Improve handling of code with no symbol + followed by code with a symbol. + +Wed Feb 12 12:16:47 1997 Andreas Schwab <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. + +Thu Feb 6 14:14:59 1997 Martin M. Hunt <hunt@pizza.cygnus.com> + + * objdump.c (disassemble_bytes): Added code to allow some control + over the way raw instructions are displayed. + +Thu Feb 6 12:36:03 1997 Ian Lance Taylor <ian@cygnus.com> + + * stabs.c (struct bincl_file): Add next_stack field. + (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. + +Thu Feb 6 11:54:24 1997 Alan Modra <alan@spri.levels.unisa.edu.au> + + * objcopy.1: Add missing space after .B. + +Fri Jan 31 10:33:07 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * objdump.c (disassemble_data): Initialize `aux.require_sec'. + +Wed Jan 29 13:21:21 1997 Ian Lance Taylor <ian@cygnus.com> + + * objdump.c (objdump_print_value): Add skip_zeroes parameter. + 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. + +Tue Jan 28 16:47:26 1997 Ian Lance Taylor <ian@cygnus.com> + + * objdump.c (disassemble_bytes): Don't skip zeroes if the + disassembler has told us that we are in a branch delay slot. + +Mon Jan 20 14:24:04 1997 Ian Lance Taylor <ian@cygnus.com> + + * size.c (berkeley_sum): Rewrite. Skip sections which are not + SEC_ALLOC. Count SEC_READONLY sections as text. + +Tue Jan 14 15:14:14 1997 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.in (maintainer-clean realclean): Remove *.info*, not + just *.info. From H.J. Lu <hjl@lucon.org>. + +Tue Dec 31 15:42:54 1996 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE. + +Fri Dec 27 11:19:26 1996 Ian Lance Taylor <ian@cygnus.com> + + * configure.in: Work around bug in AC_FUNC_VFORK in autoconf 2.12. + * configure: Rebuild. + +Thu Dec 19 13:11:20 1996 Ian Lance Taylor <ian@cygnus.com> + + Based on patch from Andrew J Klossner <andrew@pogo.wv.tek.com>: + * 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. + +Wed Dec 18 22:49:13 1996 Stan Shebs <shebs@andros.cygnus.com> + + * mpw-make.sed: Use NewFolderRecursive for installation. + +Sat Dec 7 10:17:25 1996 Jeffrey A Law (law@cygnus.com) + + * Makefile.in (install): Add "else true" clause to cater to + broken "make" on some systems. + +Fri Dec 6 17:21:41 1996 Ian Lance Taylor <ian@cygnus.com> + + * ieee.c (parse_ieee_bb): Always initialize namcopy to avoid gcc + warning about uninitialized variable. + (ieee_read_cxx_class): Likewise, for pf. + (ieee_enum_type): Likewise, for i. + +Tue Nov 26 17:01:25 1996 Ian Lance Taylor <ian@cygnus.com> + + * wrstabs.c (stab_array_type): Add casts when printing + bfd_signed_vma values. + + * configure: Rebuild with autoconf 2.12. + +Mon Nov 25 16:53:18 1996 Ian Lance Taylor <ian@cygnus.com> + + * objdump.c (disassemble_data): Don't crash if there is no + symbol. + +Fri Nov 22 17:29:14 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * ar.c (open_inarch): Don't call bfd_openr with a null name. + +Fri Nov 1 12:08:13 1996 Ian Lance Taylor <ian@cygnus.com> + + * binutils.texi: Add section on reporting bugs. + +Thu Oct 31 18:20:53 1996 Ian Lance Taylor <ian@cygnus.com> + + * stabs.c (struct stab_handle): Add bincl_list field. + (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. + + * ieee.c (ieee_lineno): Don't compare line number addresses to + info->highaddr (undo part of October 28 patch). + +Tue Oct 29 16:40:22 1996 Ian Lance Taylor <ian@cygnus.com> + + * objdump.c (objdump_print_value): Don't print the empty string + for zero. + +Mon Oct 28 16:58:14 1996 Ian Lance Taylor <ian@cygnus.com> + + * stabs.c (struct stab_handle): Add function_end field. + (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. + + * ieee.c (ieee_array_type): Remember the correct size. + + * ieee.c (ieee_finish_compilation_unit): Permit coalescing ranges + 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. + +Fri Oct 25 12:12:17 1996 Ian Lance Taylor <ian@cygnus.com> + + * ieee.c (struct ieee_defined_enum): Add defined field. + (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. + + * objdump.c (disassemble_bytes): Let the disassembler override the + number of bytes printed on a line. + +Thu Oct 24 16:42:10 1996 Ian Lance Taylor <ian@cygnus.com> + + * objdump.c (prefix_addresses): New static variable. + (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. + + * rddbg.c (read_section_stabs_debugging_info): Preserve the + backslash when concatenating multiple stabs strings. + +Thu Oct 10 11:36:31 1996 Doug Evans <dje@canuck.cygnus.com> + + * dlltool.c (scan_open_obj_file): Fix loop exit test. + Add missing parameter to def_exports. + +Tue Oct 8 12:06:17 1996 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.in (LEX_OPTIONS): Set to empty string. -I -Cem is the + default for flex, and is not recognized by lex. + +Thu Oct 3 17:41:23 1996 Ian Lance Taylor <ian@cygnus.com> + + * binutils.texi (Target Selection): Document that you can now + specify targets using configuration triplets. + + * ar.c (usage): Declare. Make sure all callers pass an argument. + +Thu Oct 3 15:39:42 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) + + * Makefile.in (clean): Remove config.log. + +Wed Oct 2 15:49:16 1996 Klaus Kaempf <kkaempf@progis.de> + + * makefile.vms: Bump version date. + +Tue Oct 1 15:00:59 1996 Ian Lance Taylor <ian@cygnus.com> + + * version.c (print_version): New function. + * 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. + +Thu Sep 19 14:53:15 1996 Ian Lance Taylor <ian@cygnus.com> + + * ieee.c: Revert Monday's reflocalp patch, and apply this patch + instead: + (write_ieee_debugging_info): Write a dummy type at the end of the + global type block. + +Mon Sep 16 15:30:54 1996 Ian Lance Taylor <ian@cygnus.com> + + * ieee.c (struct ieee_write_type): Add reflocalp field. + (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. + + * ieee.c (struct ieee_info): Add global_types field. + (parse_ieee_bb): When starting a BB1, initialize the types field + to the global_types field. + (parse_ieee_be): When ending a BB2, copy the types field to the + global_types field. + +Fri Sep 13 17:32:21 1996 Ian Lance Taylor <ian@cygnus.com> + + * objcopy.c (change_leading_char): New static variable. + (OPTION_CHANGE_LEADING_CHAR): Define. + (copy_options): Add "change-leading-char". + (copy_usage): Mention --change-leading-char. + (filter_symbols): Add obfd parameter. Change all callers. + Implement change_leading_char. + (copy_object): Call filter_symbols if change_leading_char. + (copy_main): Handle OPTION_CHANGE_LEADING_CHAR. + * binutils.texi, objcopy.1: Document --change-leading-char. + +Tue Sep 3 14:05:29 1996 Ian Lance Taylor <ian@cygnus.com> + + * ieee.c (ieee_enum_type): Don't check index into a NULL names + array. + * nm.c (sort_symbols_by_size): Always initialize next. + * rdcoff.c (parse_coff_type): Warn about an incomprehensible + type rather than crashing. + * rddbg.c (read_symbol_stabs_debugging_info): Initialize f. + * stabs.c (parse_stab_members): Set context in all cases. + +Thu Aug 29 16:56:52 1996 Michael Meissner <meissner@tiktok.cygnus.com> + + * configure.in (i[345]86-*-*): Recognize i686 for pentium pro. + * configure: Regenerate. + +Thu Aug 29 11:29:20 1996 Ian Lance Taylor <ian@cygnus.com> + + * objdump.c (L_tmpnam): Never define. + (display_target_list): Use choose_temp_base instead of tmpnam. + (display_info_table): Likewise. + +Tue Aug 27 18:15:01 1996 Ian Lance Taylor <ian@cygnus.com> + + * stabs.c (parse_stab): An N_FUN symbol with an empty string + indicates the end of a function. + +Thu Aug 22 17:08:00 1996 Ian Lance Taylor <ian@cygnus.com> + + * wrstabs.c (struct string_hash_entry): Add next field. + (struct stab_write_handle): Change strings to a pointer to + string_hash_entry. Add last_strings field. Remove strings_alloc + field. + (string_hash_newfunc): Initialize next field. + (stab_write_symbol): Copy string into hash table rather than into + buffer. Keep a list of hash table entries. + (write_stabs_in_sections_debugging_info): Initialize last_string. + Copy strings from list of hash table entries in memory. + (stab_modify_type): If the entry on the stack is a definition, + make a new definition rather than failing an assert. + (stab_array_type): The size is only zero if high is strictly less + than low. + + * ieee.c (struct ieee_info): Add saw_filename field. + (parse_ieee): Initialize saw_filename. + (parse_ieee_bb): Set saw_filename for a BB1 or BB2. In a BB1, + discard the current variables and types. In a BB10, if no + filename has been seen, call debug_set_filename. + (parse_ieee_ty): In case 'g', the type is optional. + + * prdbg.c (pr_fix_visibility): Don't abort on + DEBUG_VISIBILITY_IGNORE. + + * debug.c (debug_name_type): Correct error message. + + * configure.in: Substitute HLDENV. + * configure: Rebuild. + * Makefile.in (HLDENV): New variable. Use it whenever linking a + program. + +Thu Aug 15 19:30:41 1996 Stan Shebs <shebs@andros.cygnus.com> + + * mpw-make.sed: Add symbolic doublequotes around the version + number. + +Thu Aug 8 12:27:52 1996 Klaus Kaempf <kkaempf@progis.de> + + * makefile.vms: Add better support for DEC C compilation. + Add new macros as in Makefile.in. + +Wed Aug 7 14:27:33 1996 Philippe De Muyter <phdm@info.ucl.ac.be> + + * configure.in: Call BFD_NEED_DECLARATION on strstr and sbrk. + * acconfig.h (NEED_DECLARATION_STRSTR): New macro. + (NEED_DECLARATION_SBRK): New macro. + * configure, config.in: Rebuild. + * bucomm.h (strstr): Declare if NEED_DECLARATION_STRSTR. + (sbrk): Declare if HAVE_SBRK and NEED_DECLARATION_SBRK. + + * prdbg.c (pr_end_struct_type): Avoid using a string constant in + assert, for the benefit of broken assert macros. + +Fri Jul 26 14:06:50 1996 Ian Lance Taylor <ian@cygnus.com> + + * objdump.c (disassemble_data): Set disasm_info.flavour from + abfd. + +Tue Jul 23 13:59:54 1996 Ian Lance Taylor <ian@cygnus.com> + + * dlltool.c (secdata): In non DLLTOOL_PPC case, change alignment + of .text section to 2. + +Mon Jul 22 08:46:15 1996 Stu Grossman (grossman@lisa.cygnus.com) + + * objdump.c (dump_section_stabs): Fix test for stabs sections + ending with numbers. This fixes a problem with .stab being + confused with .stab.index. + +Wed Jul 10 13:32:28 1996 Ian Lance Taylor <ian@cygnus.com> + + * stabs.c (stab_demangle_fund_type): Return a void * for a + template, rather than simply aborting. + +Mon Jul 8 15:28:05 1996 Ian Lance Taylor <ian@cygnus.com> + + * ar.c (open_inarch): Add file parameter. Change all callers. If + this is a newly created archive, set the target based on the + file. + * arsup.h (open_inarch): Update declaration. + +Thu Jul 4 12:00:55 1996 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.in (VERSION): Set to cygnus-2.7.1. + + * Released binutils 2.7. + + * rdcoff.c (parse_coff): Get address to pass to debug_end_function + from function size, not value of .ef symbol. From Ning + Mosberger-Tang <ning@AZStarNet.com>. + +Sat Jun 29 21:18:09 1996 Ian Lance Taylor <ian@cygnus.com> + + * objcopy.c (strip_main): Add -o option, and handle it. + (strip_usage): Mention -o. + * binutils.texi, strip.1: Mention -o. + +Mon Jun 24 17:19:02 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) + + * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir, + INSTALL_PROGRAM, INSTALL_DATA): Use autoconf set values. + (docdir): Removed. + * configure.in (AC_PREREQ): Autoconf 2.5 or higher. + +Mon Jun 24 11:59:13 1996 Ian Lance Taylor <ian@cygnus.com> + + * objdump.c (endian): New static variable. + (usage): Mention -EB/-EL/--endian. + (long_options): Add "endian". + (disassemble_data): If endianness was specified, replace + abfd->xvec with a copy of itself with the given endianness. + (main): Handle -EB/-EL/--endian. + * binutils.texi, objdump.1: Mention -EB/-EL/--endian. + + * objdump.c: Make most variables and functions static. + + * configure.in: On alpha*-*-osf*, link against libbfd.a if not + using shared libraries. + * configure: Rebuild with autoconf 2.10. + +Sun Jun 23 14:47:36 1996 Kim Knuttila <krk@cygnus.com> + + * dlltool.c (secdata): Changed .rdata to .reldata so .reloc will work. + (make_one_lib_file): Removed cruft. (#if 1) + +Wed Jun 19 14:46:38 1996 Ian Lance Taylor <ian@cygnus.com> + + * objdump.c (stabs): Change from struct internal_nlist * to + bfd_byte *. + (print_section_stabs): Fetch stabs information directly, rather + than assuming that struct internal_nlist is the right size. + + * binutils.texi: Document change to binary format: file position + based on load address, not section VMA. + + * bucomm.h: Define SEEK_SET, SEEK_CUR, and SEEK_END if they are + not already defined. + +Tue Jun 18 18:25:00 1996 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.in (DISTSTUFF): Add deflex.c. + +Tue Jun 18 15:03:44 1996 Klaus Kaempf <kkaempf@progis.de> + + * config.h-vms, makefile.vms: New files. + +Mon Jun 17 09:47:31 1996 Ian Lance Taylor <ian@cygnus.com> + + * dlltool.c (make_one_lib_file): Use BFD_RELOC_RVA rather than + BFD_RELOC_32 in IDATA7. + +Wed Jun 12 11:52:06 1996 Ian Lance Taylor <ian@cygnus.com> + + * nm.c (struct get_relocs_info): Define. + (line_numbers): New static variable. + (long_options): Add "line-numbers". + (usage): Mention -l and --line-numbers. + (main): Handle -l. + (print_symbol): Print line numbers if requested. + (get_relocs): New static function. + * binutils.texi, nm.1: Document -l/--line-numbers. + +Tue Jun 11 20:12:15 1996 Ian Lance Taylor <ian@cygnus.com> + + * objdump.c (dump_reloc_set): Add sec parameter. Change all + callers. If with_line_numbers is set, display line numbers of + relocation entries. + * binutils.texi, objdump.1: Document -l with -r. + +Mon Jun 10 23:42:59 1996 Ian Lance Taylor <ian@cygnus.com> + + * ar.c (open_inarch): Report BFD error message if an archive can + not be recognized. List matching formats if the file is + ambiguously recognized. + (ranlib_touch): Likewise. + +Thu Jun 6 13:56:14 1996 Ian Lance Taylor <ian@cygnus.com> + + * README: Add notes on how to build if you don't have ar. + + * Makefile.in: Remove old incorrect setting of CC. + +Tue Jun 4 10:52:49 1996 Tom Tromey <tromey@csk3.cygnus.com> + + * Makefile.in (install): Don't check to see if tooldir exists. + Make $(tooldir) and $(tooldir)/bin. + +Mon Jun 3 17:40:23 1996 Michael Meissner <meissner@tiktok.cygnus.com> + + * strings.c (main): Make main an int function, not void. + +Fri May 31 13:59:24 1996 Ian Lance Taylor <ian@cygnus.com> + + * nm.c (filter_symbols): Check for BSF_WEAK as well as + BSF_GLOBAL. + * objcopy.c (filter_symbols): Likewise. + +Wed May 8 16:57:20 1996 Ian Lance Taylor <ian@cygnus.com> + + * objcopy.c (copy_object): Make clear that it is only a warning + when the output file can not represent the architecture. + +Fri May 3 11:30:17 1996 Ian Lance Taylor <ian@cygnus.com> + + * objdump.c (disassemble_data): Don't refer to bytes past the end + of data. + +Wed Apr 24 14:10:21 1996 Ian Lance Taylor <ian@cygnus.com> + + * rddbg.c (read_symbol_stabs_debugging_info): Move call to + free_saved_stabs outside the loop over the symbols. + +Tue Apr 23 12:56:11 1996 Ian Lance Taylor <ian@cygnus.com> + + * objdump.c (compare_symbols): Sort symbols whose names start with + `.' after other symbols. If no other decision can be made, sort + symbols by name. + +Thu Apr 18 16:02:11 1996 Ian Lance Taylor <ian@cygnus.com> + + * dep-in.sed: Substitute $(BFDDIR) for @BFDDIR@. + * Makefile.in: Rebuild dependencies. + (dep.sed): Substitute $(BFDDIR) for @BFDDIR@. + +Tue Apr 16 13:50:22 1996 Ian Lance Taylor <ian@cygnus.com> + + * rdcoff.c: New file. + * rddbg.c (read_debugging_info): Read COFF symbols if COFF flavour + and no stabs were found. + * budbg.h (parse_coff): Declare. + * Makefile.in: Rebuild dependencies. + (CFILES): Add rdcoff.c. + (DEBUG_OBJS): Add rdcoff.o. + +Mon Apr 15 15:55:01 1996 Doug Evans <dje@canuck.cygnus.com> + + * nlmconv.c (choose_temp_base{,_try}): Delete, in libiberty now. + (link_inputs): Update call to choose_temp_base. + +Mon Apr 8 14:40:05 1996 Ian Lance Taylor <ian@cygnus.com> + + * configure.in: Permit --enable-shared to specify a list of + directories. + * configure: Rebuild. + +Fri Mar 29 16:11:33 1996 Ian Lance Taylor <ian@cygnus.com> + + * objdump.c (dump_section_header): Print the SEC_LINK_ONCE flag + and the SEC_LINK_DUPLICATES field. + +Fri Mar 29 11:35:55 1996 J.T. Conklin (jtc@lisa.cygnus.com) + + * nlmconv.1: Changed to be recognized by catman -w on Solaris. + +Thu Mar 28 14:17:02 1996 Ian Lance Taylor <ian@cygnus.com> + + * wrstabs.c (stab_enum_type): Set buf before using it. + +Fri Mar 22 15:49:08 1996 Ian Lance Taylor <ian@cygnus.com> + + * stabs.c (struct stab_handle): Add field abfd. + (start_stab): Add abfd parameter. + (parse_stab_string): Skip the symbol leading char when searching + for the value of a global symbol. + * budbg.h (start_stab): Update declaration. + * rddbg.c (read_section_stabs_debugging_info): Pass abfd to + start_stab. + (read_symbol_stabs_debugging_info): Likewise. + +Thu Mar 21 12:40:48 1996 Ian Lance Taylor <ian@cygnus.com> + + * wrstabs.c (stab_function_type): Output an empty typedef for an + unused argument, rather than making up a meaningless name. + (stab_variable): Use N_RSYM for a DEBUG_REGISTER variable. + + * ieee.c (struct ieee_info): Add global_vars field. + (parse_ieee_be): When ending the global typedef block, copy the + variables into info->global_vars. + (parse_ieee_atn): Don't require an NN record for a pmisc ATN. + (ieee_read_reference): Search the global variables after the local + variables. + +Wed Mar 20 18:08:19 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * objdump.c (disassemble_data): Make sure sym_name is always set. + (dump_section_header): Always put a space after the section name. + (dump_bfd_header): Terminate output with newline. + +Wed Mar 20 16:35:20 1996 Ian Lance Taylor <ian@cygnus.com> + + * wrstabs.c: New file. + * budbg.h (write_stabs_in_sections_debugging_info): Declare. + * objcopy.c (write_debugging_info): For COFF or ELF, output stabs + in sections. + * Makefile.in: Rebuild dependencies. + (CFILES): Add wrstabs.c. + (WRITE_DEBUG_OBJS): New variable. + ($(OBJCOPY_PROG)): Use $(WRITE_DEBUG_OBJS), not $(DEBUG_OBJS). + ($(STRIP_PROG)): Likewise. + + * stabs.c (parse_stab_members): Make type stub detection more like + gdb. + + * ieee.c (struct ieee_handle): Add fields complex_float_index and + complex_double_index. + (ieee_complex_type): Cache type index in complex_float_index and + complex_double_index, depending upon size. Set size on type stack + to size * 2. + + * ieee.c (ieee_empty_type): Use builtin_unknown, not 0. + (ieee_void_type): Use builtin_void, not 1. + + * ieee.c (parse_ieee_ty): Handle 'V' type code. + (parse_ieee_atn): Don't require two numbers for type 10. + + * ieee.c (parse_ieee_be): Add one to offset at end of function or + block. + + * ieee.c (struct ieee_block): Add field skip. + (parse_ieee_bb): Don't call debug_record_function for __XRYCPP + function, and set skip field. + (parse_ieee_be): Don't call debug_end_function if skip is set. + + * debug.c (struct debug_handle): Add fields current_write_lineno + and current_write_lineno_index. + (debug_write): Initialize current_write_lineno and + current_write_lineno_index for each unit. Call + debug_write_linenos rather than writing out the line numbers + directly. + (debug_write_function): Call debug_write_linenos. + (debug_write_block): Likewise. + (debug_write_linenos): New static function. + + * debug.c (debug_write_type): For DEBUG_KIND_FUNCTION, push return + type before arguments. + +Mon Mar 18 18:05:33 1996 Ian Lance Taylor <ian@cygnus.com> + + * configure.in: Add AC_FUNC_VFORK. + * configure, config.in: Rebuild. + * dlltool.c, nlmconv.c: Include <vfork.h> if HAVE_VFORK_H is + defined. + + * stabs.c (parse_stab_range_type): A complex type is defined as a + subrange of itself with the high bound zero. + * ieee.c (ieee_complex_type): Don't crash on sizes of 12 or 16. + +Tue Mar 12 12:09:43 1996 Ian Lance Taylor <ian@cygnus.com> + + * ieee.c (ieee_write_undefined_tag): Switch to global_types even + if it is not empty. + (ieee_tag_type): For an enum, look through info->enums. + + * configure: Rebuild with autoconf 2.8. + + * debug.c (debug_type_samep): Don't loop endlessly in + DEBUG_KIND_ENUM case. From Eric Baur <ecb@nexen.com>. + +Mon Mar 11 12:35:03 1996 Ian Lance Taylor <ian@cygnus.com> + + * rddbg.c (read_section_stabs_debugging_info): Call save_stab for + each stab entry, call stab_context on an error, and call + free_saved_stabs before rturning. + (read_symbol_stabs_debugging_info): Likewise. + (SAVE_STABS_COUNT): Define. + (struct saved_stab): Define. + (saved_stabs, saved_stabs_index): New static variables. + (save_stab, stab_context, free_saved_stabs): New static functios. + + * objdump.c (stab_name): Remove. + (struct stab_print): Remove. + (stab_print): Remove. + (dump_stabs): Don't initialize stab_name. + (print_section_stabs): Call bfd_get_stab_name rather than using + the stab_name array. + +Tue Feb 27 19:52:01 1996 Ian Lance Taylor <ian@cygnus.com> + + * prdbg.c (pr_int_constant): Initialize info correctly. + (pr_float_constant): Likewise. + +Mon Feb 26 18:11:37 1996 Stan Shebs <shebs@andros.cygnus.com> + + * mpw-make.sed: Update to handle shared library support. + +Sat Feb 24 11:21:49 1996 Alan Modra <alan@spri.levels.unisa.edu.au>: + + * Makefile.in ($(OBJDUMP_PROG)): Search $(BFDLIB) before + $(OPCODES). + +Thu Feb 15 12:44:45 1996 Ian Lance Taylor <ian@cygnus.com> + + * configure.in: Don't tamper with LDFLAGS. Call AC_PROG_CC before + configure.host. + * configure: Rebuild. + + * configure.in: Substitute RPATH_ENVVAR. + * configure: Rebuild. + * Makefile.in (RPATH_ENVVAR): New variable. + (check): Use $(RPATH_ENVVAR) rather than LD_LIBRARY_PATH. + + * objcopy.c (smart_rename): Rather than doing chmod then chown, do + chmod without setuid, then chown, then chmod with setuid. + +Wed Feb 14 16:46:42 1996 Martin Anantharaman <martin@mail.imech.uni-duisburg.de> + + * arsup.c (map_over_list): Reindent. Don't assume that the + function does not delete the BFD. + (ar_addlib_doer): Don't set prev->next if prev is NULL. + +Wed Feb 14 15:12:17 1996 Ian Lance Taylor <ian@cygnus.com> + + * ieee.c (ieee_regno_to_genreg): Convert register numbers for m68k + and i960. + (ieee_genreg_to_regno): Likewise. + +Mon Feb 12 14:19:59 1996 Ian Lance Taylor <ian@cygnus.com> + + * ieee.c: Extensive changes to write code to put types in the + global type block when possible, to output ranges for all memory + occupied by the module, and to improve efficiency. + + * debug.c (struct debug_handle): Remove class_mark field. Add + id_list and compare_list fields. + (struct debug_class_id): Define. + (struct debug_type_compare_list): Define. + (debug_write): Initialize info->id_list + (debug_write_name): Remove reference to info->class_mark. + (debug_write_type): Get id for all structs and classes. Simplify + test for whether struct has already been written. + (debug_write_class_type): Get id for all classes. Simplify test + for whether class has already been written. + (debug_write_block): Don't write out blocks other than the top + level block if they have no local variables. + (debug_set_class_id): New static function. + (debug_type_samep): New static function. + (debug_class_type_samep): New static function. + * prdbg.c (pr_start_struct_type): Always print id. + (pr_start_class_type): Likewise. + (pr_tag_type): Likewise. + + * stabs.c (struct stab_handle): Add syms and symcount fields. + (start_stab): Add syms and symcount parameters. Change all + callers. + (parse_stab_string): Look up global variables in the symbol table + to get the right value. + * budbg.h (start_stab): Update declaration. + * rddbg.c (read_section_stabs_debugging_info): Add syms and + symcount parameters. Change all callers. + + * stabs.c (parse_stab_array_type): If the index type is 0, use + int. + +Wed Feb 7 14:17:45 1996 Ian Lance Taylor <ian@cygnus.com> + + * ieee.c (ieee_start_compilation_unit): Clear modified and + modified_alloc fields of info. + + * configure.in: Check for --enable-shared. Substitute new + variables BFDLIB and OPCODES. + * configure: Rebuild. + * Makefile.in (BFDLIB): Set to @BFDLIB@. + (OPCODES): Set to @OPCODES@. + +Mon Feb 5 16:18:42 1996 Ian Lance Taylor <ian@cygnus.com> + + Support for building bfd and opcodes as shared libraries, based on + patches from Alan Modra <alan@spri.levels.unisa.edu.au>: + * configure.in (HLDFLAGS): New substitution. + * configure: Rebuild. + * Makefile.in (HLDFLAGS): New variable. Make all links use + $(HLDFLAGS) before $(CFLAGS) and $(LDFLAGS). + (BFDLIB_DEP): New variable. Replace all occurrences of $(BFD) as + a dependency with $(BFDLIB_DEP). Remove $(BFD) as a dependency if + there is also a dependency on $(ADDL_DEPS). + (BFDLIB): Rename from BFD; change all uses; set to -L../bfd -lbfd. + (OPCODES_DEP): New variable. Replace all occurrends of $(OPCODES) + as a dependency with $(OPCODES_DEP). + (OPCODES): Set to -L../opcodes -lopcodes. + (ADDL_DEPS): New variable. Replace all occurrences of + $(ADDL_LIBS) as a dependency with $(ADDL_DEPS). + (check): Set LD_LIBRARY_PATH in the environment. + (config.status): Depend upon BFD configure.host and config.bfd. + +Fri Feb 2 17:02:59 1996 Doug Evans <dje@charmed.cygnus.com> + + * objdump.c: #include stdarg.h or varargs.h. + (objdump_print_value): Change FILE* arg to struct disassemble_info*. + All callers updated. Use fprintf_func. + (objdump_print_address): Consistently use fprintf_func. + (objdump_sprintf): New function. + (disassemble_data): Print insn into a buffer, print raw insn ourselves, + then print insn mnemonic. + +Fri Feb 2 16:48:55 1996 Ian Lance Taylor <ian@cygnus.com> + + * configure: Regenerate. + +Thu Feb 1 09:38:18 1996 Steve Chamberlain <sac@slash.cygnus.com> + + * configure.in (i[3-6]86-*-win32): Becomes i[3-6]86-*-cygwin32. + (powerpc*-*-cygwin32): New. + * configure: Regenerated. + +Wed Jan 31 13:22:03 1996 Richard Henderson <rth@tamu.edu> + + * Makefile.in (distclean): Remove $(DEMANGLER_PROG).1. + +Mon Jan 29 17:36:29 1996 Ian Lance Taylor <ian@cygnus.com> + + Based on patches from H J Lu <hjl@zoom.com>: + * objcopy.c (remove_leading_char): New static variable. + (OPTION_REMOVE_LEADING_CHAR): Define. + (copy_usage): Mention --remove-leading-char. + (filter_symbols): If remove_leading_char, and the first character + of a global symbol matches the symbol leading char of the BFD, + remove the first character. + (copy_object): Filter the symbols if remove_leading_char is set. + (copy_main): Handle --remove-leading-char. + * binutils.texi, objcopy.1: Document --remove-leading-char. + +Sat Jan 27 15:40:13 1996 Michael Meissner <meissner@tiktok.cygnus.com> + + * objdump.c (fprintf): Add prototype to avoid compiler warning on + SunOS. + +Fri Jan 26 11:53:42 1996 Ian Lance Taylor <ian@cygnus.com> + + * binutils.texi (nm): Improve documentation on symbol types. + (objdump): Reference the stabs manual from the discussion of the + --stabs option. + +Thu Jan 25 11:21:46 1996 Raymond Jou <rjou@mexican.cygnus.com> + + * mpw-make.sed: Add a "stamps" target. + +Thu Jan 25 13:51:44 1996 Ian Lance Taylor <ian@cygnus.com> + + * objdump.c (dump_headers, dump_section_header): Change objdump -h + output to be simpler and to include section file offsets. + +Wed Jan 24 12:06:05 1996 Ian Lance Taylor <ian@cygnus.com> + + * stabs.c (parse_stab_members): Don't adjust voffset. + + * ieee.c (ieee_read_cxx_class): Don't multiply voffset by 4. + (struct ieee_write_type): Add name field. + (struct ieee_type_class): Remove name field. Change all uses to + use new name field in type instead. + (struct ieee_name_type): Likewise. + (ieee_start_struct_type): Initialize name field of type. + (ieee_start_class_type): Don't initialize classdef entry of tag. + (ieee_class_method_var): Don't adjust voffset. + (ieee_end_class_type): Likewise. + (ieee_tag_type): Initialize new name field of type. + (ieee_typdef): Set name after copying in type information. + + * debug.c (VOFFSET_STATIC_METHOD): Define as -1, not 1. + + * ieee.c (struct ieee_modified_type): Define. + (struct ieee_handle): Add modified and modified_alloc fields. + (ieee_get_modified_info): New static function. + (ieee_pointer_type): Cache type index. + (ieee_const_type): Likewise. + (ieee_volatile_type): Likewise. + + * ieee.c (ieee_define_named_type): When creating a tag for an + anonymous struct, copy the name into memory. + (ieee_tag_type): Likewise. + * debug.c (debug_write_type): Only check and set id field for an + unnamed object. + (debug_write_class_type): Likewise. + + * ieee.c: Various changes to write out types for functions and + references, and to not write out unnecessary function types. + + * ieee.c (struct ieee_var): Remove variable field. Add kind + field, and define some enum constants for it. + (parse_ieee_ty): Set kind field of variable for 'x' and 'X' types. + (parse_ieee_atn): Make an indirect slot for an external variable, + although we otherwise don't record it. Set kind field rather than + variable field of pvar. + (ieee_read_cxx_class): Try to get the type of a static member. + (ieee_read_reference): Check kind field rather than variable + field. + +Tue Jan 23 15:54:18 1996 Ian Lance Taylor <ian@cygnus.com> + + * ieee.c: Various changes to handle reading C++ reference type + information. + + * debug.h (enum debug_var_kind): Add DEBUG_VAR_ILLEGAL. + (enum debug_parm_kind): Add DEBUG_PARM_ILLEGAL. + * debug.c (debug_get_parameter_types): Handle DEBUG_KIND_FUNCTION. + + * ieee.c: Various changes to write out definitions of C++ classes. + + * debug.c (debug_append_filename): Remove. + * debug.h (debug_append_filename): Don't declare. + + * stabs.c (struct stab_handle): Remove last_type field. Add + so_string and so_value fields. + (finish_stab): Call stab_emit_pending_vars before calling + debug_end_function. Don't warn about pending variables. + (parse_stab): Accumulate N_SO strings until a non N_SO symbol is + seen, rather than calling debug_append_filename. Call + stab_emit_pending_vars before calling debug_end_function. Don't + set info->last_type. + +Tue Jan 23 09:53:54 1996 Doug Evans <dje@charmed.cygnus.com> + + * objdump.c (disassemble_data): Handle unknown endianness. + Pass fprintf to INIT_DISASSEMBLE_INFO. + +Mon Jan 22 16:46:43 1996 Doug Evans <dje@charmed.cygnus.com> + + Add new option --show-raw-insn. + * objdump.c (show_raw_insn): New global. + (usage): Update. + (long_options): Update. + (disassemble_data): Set disasm_info.flags if --show-raw-insn. + + * objdump.c (disassemble_data): Set new arch,mach,endian fields in + disasm_info. + +Mon Jan 22 19:29:36 1996 Ian Lance Taylor <ian@cygnus.com> + + * ieee.c: Extensive changes to pass a single info argument around + in the reading routines, rather than several arguments. Add code + to read C++ debugging records. + + * debug.h (debug_get_type_size): Declare. + (debug_get_field_name): Declare. + (debug_get_field_bitpos): Declare. + (debug_get_field_bitsize): Declare. + (debug_get_field_visibility): Declare. + (debug_get_field_physname): Declare. + * debug.c (debug_get_real_type): Handle DEBUG_KIND_TAGGED. + (debug_get_type_size): New function. + (debug_get_field_name): New function. + (debug_get_field_bitpos): New function. + (debug_get_field_bitsize): New function. + (debug_get_field_visibility): New function. + (debug_get_field_physname): New function. + (debug_write_type): Make sure we pass the real kind, not INDIRECT, + to tag_type. Pass the name recursively for INDIRECT. + +Fri Jan 19 12:31:57 1996 Ian Lance Taylor <ian@cygnus.com> + + * debug.h (struct debug_write_fns): Remove ellipsis_type. Add int + and boolean parameters to function_type. Add boolean parameter to + method_type. + (debug_make_ellipsis_type): Don't declare. + (debug_make_function_type): Add debug_type * and boolean + parameters. Change all callers. + (debug_make_method_type): Add boolean parameter. Change all + callers. + (debug_get_parameter_types): Add boolean * parameter. Change all + callers. + (debug_get_target_type): Declare. + * debug.c (struct debug_function_type): Add fields arg_types and + varargs. + (struct debug_method_type): Add field varargs. + (debug_ellipsis_type, ELLIPSIS_P): Remove. + (debug_make_ellipsis_type): Remove. + (debug_make_function_type): Add arg_types and varargs parameters. + (debug_make_method_type): Add varargs parameter. + (debug_get_parameter_types): Add pvarargs parameter. + (debug_get_target_type): New function. + (debug_write_type): In case DEBUG_KIND_FUNCTION, push argument + types and pass count to function_type. In DEBUG_KIND_METHOD, use + a signed int for the count, don't call ellipsis_type, and pass + varargs to method_type. + * stabs.c (struct stab_demangle_info): Add varargs field. + (stab_demangle_argtypes): Add pvarargs parameter. Change all + callers. + (stab_demangle_args): Likewise. + (stab_demangle_type): In case 'F', pick up argument types. + * prdbg.c (pr_ellipsis_type): Remove. + (pr_function_type): Add argcount and varargs parameters. + (pr_method_type): Add varargs parameter. + * ieee.c (ieee_ellipsis_type): Remove. + (ieee_function_type): Add argcount and varargs parameters. + (ieee_method_type): Add varargs parameter. Remove most of + function body, and just call ieee_function_type. + + * stabs.c: Include "demangle.h". Added several new static + functions not listed below to demangle argument types; they are + all called via stab_demangle_argtypes. + (finish_stab): If the kind of an undefined tag is + DEBUG_KIND_ILLEGAL, use DEBUG_KIND_STRUCT instead. Warn if there + are any pending variable. + (parse_stab): Don't close the function when the block depth goes + to zero. Pass value to debug_end_function. + (parse_stab_string): In case 'T', pass the name to + parse_stab_type. + (parse_stab_type): In case 'x', use stab_find_tagged_type. In + case '#', handle functions with variable numbers of arguments. + (parse_stab_struct_type): Add tagname parameter. Change all + callers. + (parse_stab_members): Add tagname and typenums parameters. Change + all callers. If the type of a method is a stub, call + parse_stab_argtypes to demangle the argument types and get the + physical name of the function. + (parse_stab_argtypes): New static function. + (stab_record_variable): For a DEBUG_GLOBAL or DEBUG_STATIC + variable, call debug_record_variable immediately. + (stab_find_tagged_type): New static function. + + * debug.h (enum debug_type_kind): Add DEBUG_KIND_ILLEGAL. + (struct debug_write_fns): Add field ellipsis_type. Add id + parameter to start_struct_type, start_class_type, and tag_type. + (debug_make_ellipsis_type): Declare. + (debug_find_named_type): Declare. + (debug_get_type_kind): Declare. + (debug_get_return_type): Declare. + (debug_get_parameter_types): Declare. + (debug_get_fields): Declare. + (debug_get_field_type): Declare. + * debug.c (struct debug_handle): Add fields class_id and base_id. + (struct debug_class_type): Add field id. + (struct debug_method_variant): Rename argtypes to physname. + Change all uses. + (debug_ellipsis_type): New static variable. + (ELLIPSIS_P): New macro. + (debug_make_ellipsis_type): New function. + (debug_make_method_variant): Rename argtypes to physname. + (debug_make_static_method_variant): Likewise. + (debug_name_type): Always put types in the global namespace. + (debug_find_named_type): New function. + (debug_find_tagged_type): Treat DEBUG_KIND_ILLEGAL specially, + rather than DEBUG_KIND_VOID. + (debug_get_real_type): New static function. + (debug_get_type_kind): New function. + (debug_get_return_type): New function. + (debug_get_parameter_types): New function. + (debug_get_fields): New function. + (debug_get_field_type): New function. + (debug_write): Initialize base_id. + (debug_write_type): Pass new id argument to tag_type. Handle + DEBUG_KIND_ILLEGAL. Use id for DEBUG_KIND_STRUCT and + DEBUG_KIND_UNION. Handle ellipsis for method arguments. + (debug_write_class_type): Don't dereference kclass if it is NULL. + Use id. + * prdbg.c (pr_fns): Add pr_ellipsis_type. + (pr_ellipsis_type): New static function. + (pr_pointer_type): If this is a pointer to an array, parenthesize + it correctly. + (pr_start_struct_type): Add id parameter. + (pr_start_class_type): Likewise. + (pr_tag_type): Likewise. + (pr_fix_visibility): Add the visibility to the top of the stack, + not the second element on the stack. + (pr_struct_field): Pop the stack before calling pr_fix_visibility. + (pr_class_static_member): Likewise. + (pr_class_start_method): Don't push a type, just set the method + name in the type on the top of the stack. + (pr_class_end_method): Don't pop the stack. + (pr_class_method_variant): Rename argtypes parameter to physname. + Append const and volatile rather than prepending them. Add a + space after the physname. + (pr_class_static_method_variant): Likewise. + * ieee.c (ieee_fns): Add ieee_ellipsis_type. + (ieee_define_named_type): Use DEBUG_KIND_ILLEGAL rather than + DEBUG_KIND_VOID. + (write_ieee_debugging_info): Likewise. + (ieee_typdef): Likewise. + (ieee_ellipsis_type): New static function. + (ieee_start_struct_type): Add id parameter. + (ieee_start_class_type): Likewise. + (ieee_tag_type): Likewise. + (ieee_class_method_variant): Rename name to physname. + (ieee_class_static_method_variant): Likewise. + + * Makefile.in (DEBUG_OBJS): Remove prdbg.o. + ($(OBJDUMP_PROG)): Depend upon, and link against, prdbg.o. + +Thu Jan 18 17:35:06 1996 Kim Knuttila <krk@cygnus.com> + + * dlltool.c (make_tail): Changed the order of the sections to avoid + an alignment problem. + +Wed Jan 17 14:23:00 1996 J.T. Conklin <jtc@rtl.cygnus.com> + + * srconv.c (wr_du): Set du.stackfrmt to 0. + (wr_un, wr_sc): Emit all sections, even those with 0 size. + +Tue Jan 16 16:15:49 1996 J.T. Conklin <jtc@rtl.cygnus.com> + + * srconv.c (wr_hd): Space size within segment was being + stored in segment identifier field. + +Tue Jan 16 12:07:25 1996 Stan Shebs <shebs@andros.cygnus.com> + + * mpw-config.in (BUILD_NLMCONV, BUILD_SRCONV, SYSINFO_PROG, + BUILD_DLLTOOL): Put definitions for these into makefile when + configuring, instead of always clearing in mpw-make.sed. + * mpw-make.sed: Edit out any host_alias or target_alias settings, + fix pathname to BFD internal include files, remove dependency + calculation rules. + +Thu Jan 11 17:31:38 1996 Michael Meissner <meissner@tiktok.cygnus.com> + + * objdump.c (dump_section_header): Add new section flags + SEC_{EXCLUDE,SORT_ENTRIES}. + +Thu Jan 11 11:45:34 1996 Ian Lance Taylor <ian@cygnus.com> + + * objcopy.c (filter_symbols): NULL terminate the output symbols. + (copy_object): Allocate space for a possible extra NULL pointer. + + * debug.c (debug_make_undefined_tagged_type): Make sure we are + given a kind of type we can handle. + (debug_write_type): Handle undefined enums and structs. + (debug_write_class_type): Handle undefined classes. + * prdbg.c (pr_enum_type): Handle an undefined enum. + * ieee.c (ieee_enum_type): Likewise. + +Wed Jan 10 15:33:18 1996 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.in: Updated dependencies. + (ALLOCA, MALLOC): Remove variables. + (ADDL_LIBS): Remove $(MALLOC) from definition. + * alloca.c, gmalloc.c: Remove. + +Mon Jan 8 18:02:29 1996 Ian Lance Taylor <ian@cygnus.com> + + * ieee.c: Add global function write_ieee_debugging_info and a + bunch of static functions and structs used to write out IEEE + debugging information. + * budbg.h (write_ieee_debugging_info): Declare. + + * ieee.c (struct ieee_type): Add pslot field. + (enum builtin_types): Define. + (ieee_builtin_type): For a pointer, return a pointer to the named + type. Use enum values rather than numbers. + (ieee_alloc_type): New static function. + (ieee_read_type_index): Use ieee_alloc_type. + (parse_ieee_bb): Likewise. + (parse_ieee_ty): Likewise. Use ieee_builtin_type for array range, + rather than making a new integer type. Store the new type in the + slot, if there is one. + (parse_ieee_atn): Treat ATN10 as defining a register variable. + (ieee_regno_to_genreg): Rename from ieee_regno_to_gen. Change all + callers. + (ieee_genreg_to_regno): New static function. + + * stabs.c (parse_stab_type): Add new typename parameter. Change + all callers. + (parse_stab_range_type): Add new typename parameter. Change all + callers. + + * debug.h (struct debug_write_fns): Add tag parameter to + enum_type, start_struct_type, and start_class_type. + * debug.c (debug_write_type): Pass any tag name to + start_struct_type, debug_write_class_type, and enum_type. If + DEBUG_KIND_TAGGED, pass the name in the recursive call. + (debug_write_class_type): Accept a new tag parameter, and pass it + to start_class_type. + * prdbg.c (pop_type): Don't remove '+' character. + (pr_enum_type): Accept and use tag parameter. + (pr_start_struct_type): Likewise. + (pr_start_class_type): Likewise. + (pr_class_baseclass): Adjust algorithm used to find where to put + the baseclass name. + (pr_tag): Don't bother to insert the tag name. + + * objcopy.c: Include budbg.h. + (convert_debugging): New static variable. + (OPTION_DEBUGGING): Define. + (copy_options): Add "debugging". + (copy_usage): Mention --debugging. + (is_strip_section): Skip debugging sections if convert_debugging. + (setup_section, copy_section): Likewise. + (filter_symbols): Skip debugging symbols if convert_debugging. + (copy_object): If convert_debugging, read and write debugging + information. + (write_debugging_info): New static function. + (copy_main): Handle --debugging. + * Makefile.in (DEBUG_OBJS): New variable. + ($(OBJCOPY_PROG)): Depend upon and link against $(DEBUG_OBJS). + ($(STRIP_PROG)): Likewise. + (OBJDUMP_OBJS): Remove variable. + ($(OBJDUMP_PROG)): Use objdump.o $(DEBUG_OBJS) rather than + $(OBJDUMP_OBJS). + * binutils.texi, objcopy.1: Document --debugging. + +Thu Jan 4 16:31:21 1996 Ian Lance Taylor <ian@cygnus.com> + + * ieee.c: New file with code to read IEEE debugging information. + * budbg.h (parse_ieee): Declare. + * rddbg.c (read_debugging_info): Handle IEEE flavour files. + (read_ieee_debugging_info): New static function. + * Makefile.in: Rebuild dependencies. + (CFILES): Add ieee.c. + (OBJDUMP_OBJS): Add ieee.o. + + * bucomm.h (xrealloc): Change type of first parameter from char * + to PTR. + +Tue Jan 2 17:44:07 1996 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.in: Add targets to automatically rebuild dependencies. + Remove targets which just listed dependencies of .o files. + (DEP): New variable. + (HFILES, GENERATED_HFILES): New variables. + (CFILES, GENERATED_CFILES): New variables. + (underscore.c): Don't do anything, just depend upon stamp-under. + (stamp-under): New target; do what underscore.c used to do. + (nlmconv.o): Depend upon sym.h and ecoff.h. + (.dep, .dep1, dep.sed, dep, dep-in): New targets. + (stage1, stage2, stage3, against, comparison): Remove. + (de-stage1, de-stage2, de-stage3): Remove. + (clean, distclean): Remove stamp-under and dep.sed. + * dep-in.sed: New file. + + Implement generic debugging support. Implement a stabs reader and + a generic printer. + * budbg.h, debug.c, debug.h, prdbg.c, rddbg.c, stabs.c: New files. + * objdump.c: Include "debug.h" and "budbg.h". + (dump_debugging): New global variable. + (usage): Mention --debugging. + (long_options): Add "debugging". + (display_bfd): Handle --debugging. + * Makefile.in (OBJDUMP_OBJS): New variable. + ($(OBJDUMP_PROG)): Use $(OBJDUMP_OBJS). + * binutils.texi, objdump.1: Document --debugging. + +Sat Dec 30 09:59:51 1995 Jeffrey A Law (law@cygnus.com) + + * nm.c ( long_options): Add "--defined-only" option. + (usage): Update for new "--defined-only" option. + (filter_symbols): Handle "--defined-only". + +Fri Dec 29 16:04:56 1995 Ian Lance Taylor <ian@cygnus.com> + + * arparse.y: Include "bucomm.h", not <sysdep.h>. + * nlmheader.y: Don't include "sysdep.h". + +Tue Dec 26 18:23:18 1995 Ian Lance Taylor <ian@cygnus.com> + + * nm.c (print_symdef_entry): Check return value of + bfd_get_elt_at_index. + +Sat Dec 23 11:03:16 1995 Michael Meissner <meissner@tiktok.cgynsu.com> + + * configure.in (DLLTOOL_DEFS): Build dlltool for PowerPC if target + is powerpc*-*-win* in addition to powerpc*-*-*pe*. + +Fri Dec 15 16:30:57 1995 Ian Lance Taylor <ian@cygnus.com> + + * objdump.c (endian_string): New static function. + (display_target_list): Use it. + * nlmconv.c (main): Use new bfd_big_endian macro. + +Fri Dec 15 07:51:34 1995 steve chamberlain <sac@slash.cygnus.com> + + * dlltool.c (fill_ordinals): Start from 1 if no other instructions + given. + +Tue Dec 12 12:05:21 1995 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.in (clean): Remove $(DEMANGLER_PROG).1. From Ronald + F. Guilmette <rfg@monkeys.com>. + +Mon Dec 11 14:33:05 1995 Stan Shebs <shebs@andros.cygnus.com> + + * mac-binutils.r: Fix copyright and version strings. + + * Makefile.in (version): Remove, no longer used. + +Fri Dec 1 14:41:56 1995 Stan Shebs <shebs@andros.cygnus.com> + + * mpw-make.sed (install, install-only): Edit in Mac-specific + install procedure. + +Thu Nov 30 20:26:02 1995 Kim Knuttila <krk@cygnus.com> + + * dlltool.c (ppc_jtab): The binary glue for PowerPC dll linkage, + including the return instruction. + sinfo: added a preferred alignment field. + (secdata): section data for the PowerPC version. + (make_one_lib_file): More symbols, More sections (pdata, rdata) + (make_tail): Use idata$6 instead of idata$7 for ppc. Also added a + NULL idata$3 descriptor (temporary). + +Tue Nov 28 17:23:44 1995 Doug Evans <dje@canuck.cygnus.com> + + * dlltool.c (fill_ordinals): Don't reference d_export_vec if + there are no exported functions. + +Mon Nov 27 13:05:59 1995 Ian Lance Taylor <ian@cygnus.com> + + * configure: Regenerate with autoconf 2.7. + +Wed Nov 22 13:17:15 1995 Ian Lance Taylor <ian@cygnus.com> + + * dlltool.c (fill_ordinals): Start assigning ordinals at 1. + + * Makefile.in (EXPECT): Use $$r, not $${rootme}. + (check): Set r, not rootme. + +Tue Nov 21 18:04:09 1995 Ian Lance Taylor <ian@cygnus.com> + + * configure.in: Use BFD_NEED_DECLARATION. + * acconfig.h: Put NEED_DECLARATION_FPRINTF in @TOP@ section. + * configure, config.in: Rebuild with autoconf 2.6. + +Fri Nov 17 10:34:37 1995 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.in (CC_FOR_TARGET): Use @host@ and @target@, not + $(host_canonical) and $(target_canonical). + +Thu Nov 16 03:39:20 1995 Ken Raeburn <raeburn@cygnus.com> + + Version 2.6 released. + * Makefile.in (VERSION): Update to 2.6. + +Wed Nov 15 12:14:17 1995 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.in (CC_FOR_TARGET): Define. + (check): Pass CC and CFLAGS to runtest. + + * nm.c (display_rel_file): Don't require a DYNAMIC object when + dumping the dynamic symbol table. + + * objdump.c (compare_symbols): Sort global symbols before local + symbols before debugging symbols. + (objdump_print_address): Don't futz around looking for a global + symbol with the same value. + +Tue Nov 14 17:19:11 1995 Ian Lance Taylor <ian@cygnus.com> + + * dlltool.c: Use FOPEN_* macros rather than "r" or "w". + + * dlltool.c (fill_ordinals): Correct memset call. + +Sun Nov 12 12:56:05 1995 Stan Shebs <shebs@andros.cygnus.com> + + * mpw-make.sed (DEMANGLER_PROG): Edit out attempts to do anything + with the man page. + +Fri Nov 10 11:41:22 1995 Ian Lance Taylor <ian@cygnus.com> + + * objcopy.c (setup_section): Copy the section lma independently of + the vma. + +Wed Nov 8 11:33:00 1995 Ian Lance Taylor <ian@cygnus.com> + + * arsup.c (ar_open): Cast malloc return value. + +Tue Nov 7 09:01:26 1995 Kim Knuttila <krk@cygnus.com> + + * configure.in, configure (DLLTOOL_DEFS): Added ppc target. + * dlltool.c (MPPC): Added basic PPC definitions. + +Tue Nov 7 14:02:57 1995 Ian Lance Taylor <ian@cygnus.com> + + * configure.in: Don't treat rs6000-*-lynx* specially. + * configure: Rebuild. + * config/rslynx: Remove. + * Makefile.in: Remove @target_makefile_fragment@. + +Mon Nov 6 15:00:50 1995 Ian Lance Taylor <ian@cygnus.com> + + * bucomm.h: Include <sys/types.h>. + * ar.c: Don't include <sys/types.h> or <stdio.h>. + * bucomm.c, dlltool.c, nlmconv.c, objcopy.c, objdump.c: Likewise. + +Fri Nov 3 12:38:09 1995 Ian Lance Taylor <ian@cygnus.com> + + * objdump.c: Include <sys/types.h>. + + Permit user to override DEMANGLER_PROG from command line. From + Manfred Hollstein <manfred@lts.sel.alcatel.de>. + * Makefile.in ($(DEMANGLER_PROG)): Depend upon + $(DEMANGLER_PROG).1. + (install): Don't depend upon $(DEMANGLER_PROG).1. Only install + $(DEMANGLER_PROG).1 if $(DEMANGLER_PROG) is not empty. + +Wed Nov 1 15:04:57 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de> + + * Makefile.in (syslex.o): add -I$(srcdir) if compiling in a + separate directory. + +Mon Oct 30 14:24:18 1995 Ian Lance Taylor <ian@cygnus.com> + + * objdump.c (objdump_print_value): New static function. + (objdump_print_address): Use it. If we need the right section for + the symbol, and we can't find it, print an offset from the section + rather than using a symbol from some other section. + +Thu Oct 26 10:23:14 1995 steve chamberlain <sac@slash.cygnus.com> + + * dlltool.c (no_idata4, no_idata5): New. + (arm_jtab): Use correct encoding of jump instruction. + (usage, main, make_head, make_tail): Act on no_idata4, no_idata5. + +Wed Oct 25 12:10:07 1995 Stan Shebs <shebs@andros.cygnus.com> + + * mpw-make.sed: Edit paths to generated y.tab.[ch] files. + +Fri Oct 20 18:40:34 1995 Ian Lance Taylor <ian@cygnus.com> + + * binutils.texi: Change --with-targets to --enable-targets. + +Thu Oct 19 17:47:41 1995 Fred Fish <fnf@cygnus.com> + + * Makefile.in: Remove extraneous tab on otherwise empty line, + which confuses many non-GNU versions of "make". + +Wed Oct 18 16:31:58 1995 steve chamberlain <sac@slash.cygnus.com> + + * dlltool.c (i386_jtab, arm_jtab): New + (gen_lib_file): Rewritten to use bfd. + +Fri Oct 13 16:10:07 1995 Michael Meissner <meissner@tiktok.cygnus.com> + + * Makefile.in (install): Don't give error message if dlltool + wasn't built. + +Fri Oct 13 11:04:37 1995 steve chamberlain <sac@slash.cygnus.com> + + * deflex.l: Allow quoting of IDs. + * defparse.y (%union): string deleted. + (command): DESCRIPTION takes ID. + * dlltool.c (gen_def_file): Quote outgoing name if + necessary. Preserve NONAME. + (gen_lib_file): Run ranlib. + (workout_prefix): Deleted. + (main, usage, long_options): Add --as, --ranlib, --ar options. + +Wed Oct 11 13:36:13 1995 steve chamberlain <sac@slash.cygnus.com> + + * dlltool.c (mtable): HOW_ALIGN_LONG, new. + (d_ord): Deleted. + (d_low_ord, d_high_ord, d_named_funcs): New. + (gen_exp_file): Create noname entries correctly. + (gen_lib_file): Dump exports alphabetically. + (process_duplicates): Count nonamed functions. + (fill_ordinals): Keep track of highest ord too. + (mangle_defs): Create alphabetically ordered list of names. + +Tue Oct 10 09:39:09 1995 steve chamberlain <sac@slash.cygnus.com> + + * Makefile.in (TOOL_PROGS): Include DLLTOOL_PROG. + +Mon Oct 9 13:06:31 1995 steve chamberlain <sac@slash.cygnus.com> + + * dlltool.c (add_underscore): New. + (xlate): Use new name. + (main, usage): Update. + +Fri Oct 6 14:08:51 1995 Ken Raeburn <raeburn@cygnus.com> + + * sysinfo.y: Eliminate unused terminals "[" and "]" and unused + nonterminal "name". One s/r conflict remains. + + Mon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * nm.c (print_symname): Don't try to demangle an empty + name. + * objdump.c (slurp_symtab): Reset symcount if there are + no symbols. + (slurp_dynamic_symtab): Likewise, for dynsymcount. + (disassemble_data): Fix memory leak: free sorted_syms when done. + (display_bfd): Likewise, for syms and dynsyms. + (dump_relocs): Don't print header before possibly generating an + error message. + (dump_dynamic_relocs): Likewise. + + * ar.1, nm.1, objdump.1, size.1, strings.1, strip.1: Fix typos and + formatting bugs. + +Fri Oct 6 12:00:25 1995 Ian Lance Taylor <ian@cygnus.com> + + * ar.c (do_quick_append): Comment out. + (replace_members): Add quick argument. + (main): Don't call do_quick_append. + (open_inarch): Don't call quick_append to create an empty archive. + Instead call bfd_openw/bfd_set_format/bfd_close. + +Thu Oct 5 20:53:08 1995 Ken Raeburn <raeburn@cygnus.com> + + * bucomm.c: Always include time.h. + +Thu Oct 5 17:25:21 1995 Ian Lance Taylor <ian@cygnus.com> + + * objdump.c (compare_symbols): Sort gnu_compiled and gcc2_compiled + symbols after other symbols with the same value. Likewise for + symbols which look like file names. + (objdump_print_address): Always chose the first reasonable symbol + with a given value. + +Tue Oct 3 22:38:55 1995 Ian Lance Taylor <ian@cygnus.com> + + * arsup.c (ar_save): Use rename, not unlink/link/unlink. + +Mon Oct 2 12:10:25 1995 Ian Lance Taylor <ian@cygnus.com> + + * strings.c (main): Exit with zero status if no files are given + and standard input is read. + +Thu Sep 28 20:03:07 1995 Stan Shebs <shebs@andros.cygnus.com> + + * mpw-config.in: Calculate underscore and put into makefile + fragment, generate config.h. + * mpw-make.sed: New file, sed commands to edit Unix makefile + into MPW syntax. + * mpw-make.in: Remove. + * mac-binutils.r: New file, Mac resources. + +Thu Sep 28 15:49:00 1995 steve chamberlain <sac@slash.cygnus.com> + + * dlltool.c: (gen_exp_file): Always emit a .reloc section if + relocatable. + (imp_name_lab): New. + (gen_def_file): New. + (gen_lib_file): Use imp_name_lab. + (main): Initialize imp_name_lab. + +Mon Sep 25 12:05:34 1995 Ian Lance Taylor <ian@cygnus.com> + + * configure.in: Call AC_HEADER_SYS_WAIT. + * configure: Rebuild. + * config.in: Rebuild. + * dlltool.c: Include "libiberty.h" and "bucomm.h". Don't include + <stdio.h>, <stdlib.h>, or <string.h>. Don't include <wait.h>. + Include <sys/types.h>. Use HAVE_SYS_WAIT_H to control whether to + include <sys/wait.h> or define the wait macros by hand. Don't + declare xmalloc. + (gen_lib_file): Don't assume that sprintf returns the number of + characters; use strlen instead. + +Fri Sep 22 17:16:41 1995 Ian Lance Taylor <ian@cygnus.com> + + * objdump.c (disassemble_data): Don't use the old BFD based + disassembler interface. Make info a const pointer. + +Wed Sep 13 18:33:44 1995 Ian Lance Taylor <ian@cygnus.com> + + * objdump.c (start_address): New variable. + (stop_address): New variable. + (usage): Mention --start-address and --stop-address. + (OPTION_START_ADDRESS, OPTION_STOP_ADDRESS): Define. + (long_options): Add "start-address" and "stop-address". + (disassemble_data): Handle start_address and stop_address. + (dump_data, dump_reloc_set): Likewise. + (main): Don't set seenflag for -l. Handle OPTION_START_ADDRESS + and OPTION_STOP_ADDRESS. + * objcopy.c (parse_vma): Move to bucomm.c. + * bucomm.c (parse_vma): New function, moved in from objcopy.c. + * bucomm.h (parse_vma): Declare. + * binutils.texi, objdump.1: Document new objdump options. + +Tue Sep 12 12:37:39 1995 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.in (maintainer-clean): New target. + + * ar.c (replace_members): Don't call write_archive if nothing + changed. + + * objdump.c (disassemble_data): Add casts to avoid gcc warnings. + +Thu Sep 7 12:12:17 1995 Ian Lance Taylor <ian@cygnus.com> + + * config.in: Rename from config.h.in. + * configure.in: Call AC_CONFIG_HEADER with config.h:config.in. + Check for config.h:config.in when creating stamp-h. + * configure: Rebuild. + * Makefile.in (stamp-h): Depend upon config.in rather than + config.h.in. Set CONFIG_HEADERS to config.h:config.in when + calling config.status. + + * Makefile.in (distclean): Remove config.h, stamp-h, and + config.log. + + * nm.c (value_format): Initialize based on BFD64 and + BFD_HOST_64BIT_LONG. + (print_radix): New static variable. + (set_print_radix): Set print_radix. Adjust changes to + value_format. + (print_value): New static function, to print 64 bit octal and + decimal values correctly. + (print_symbol_info_bsd): Check BFD64, not BFD_HOST_64_BIT. Use + print_value. + (print_symbol_info_sysv): Use print_value. + (print_symbol_info_posix): Likewise. + +Wed Sep 6 15:02:55 1995 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.in (*.o): Remove incorrect dependencies on + $(BFDDIR)/hosts/std-host.h. + + * Makefile.in (INSTALL_DATA): Add -m 644. + (INSTALL_XFORM1): Likewise. + (CC_FOR_BUILD): Set to @CC_FOR_BUILD@ rather than $(CC). + (mostlyclean): Remove config.log. + (distclean): Remove config.cache. + + * configure.in: Call BFD_CC_FOR_BUILD and BFD_BINARY_FOPEN. + * configure: Rebuild. + +Tue Sep 5 20:22:42 1995 Ian Lance Taylor <ian@cygnus.com> + + * configure.in: Rewrite to use autoconf. + * aclocal.m4: New file. + * configure: New file, built by autoconf. + * acconfig.h: New file. + * config.h.in: New file, built by autoheader. + * Makefile.in: Various changes for new configure script. Also: + (PROGS): Remove $(SYSINFO_PROG). + (ALL_CFLAGS): Remove $(TDEFINES). + (version.o): Use $(ALL_CFLAGS). + (cplus-dem.o, dlltool.o, nlmconv.o): Likewise. + (sysdump.o): Depend upon bucomm.h and config.h. + (srconv.o, arsup.o, strings.o): Depend upon config.h. + (filemode.o): Don't depend upon ../bfd/sysdep.h. + (bucomm.o): Depend upon config.h, not ../bfd/sysdep.h. + (size.o, objdump.o, nm.o, ar.o, objcopy.o): Likewise. + (nlmheader.o, nlmconv.o): Likewise. + (distclean): Don't remove sysdep.h. + * bucomm.h: Include "ansidecl.h", <stdio.h>, and "config.h". + Include "fopen-same.h" or "fopen-bin.h", based on + USE_BINARY_FOPEN. Include <errno.h>, and declare errno if it is + not a macro. Include <unistd.h>, <string.h>, <strings.h>, + <stdlib.h>, and <fcntl.h> if they are present. Declare strchr, + strrchr, and strstr if no string header file exists. Include + <sys/file.h> if it exists and <fcntl.h> does not. Define + O_RDONLY and O_RDWR if necessary. + * ar.c: Don't include "sysdep.h". Do include <sys/types.h> and + <sys/stat.h>. Use HAVE_GOOD_UTIME_H rather than POSIX_UTIME. Use + HAVE_UTIMES rather than !USE_UTIME. Don't include <errno.h>, and + don't declare errno. + * arsup.c: Don't include <sysdep.h>. + * bucomm.c: Don't include "sysdep.h". Include <stdio.h>, + <sys/types.h>, and <sys/stat.h>. Include <time.h> if it defines + time_t. Define time_t if necessary. + * coffdump.c: Don't include "sysdep.h". + * coffgrok.c, filemode.c, nlmconv.c, size.c: Likewise. + * srconv.c, strings.c: Likewise. + * nm.c: Don't include "sysdep.h". Don't try to define HAVE_SBRK. + * objcopy.c: Don't include "sysdep.h". Include <sys/types.h> and + <sys/stat.h>. + (simple_copy): Use creat rather than assuming that O_CREAT is + defined. + * objdump.c: Don't include "sysdep.h". Use + NEED_DECLARATION_PRINTF rather than !FPRINTF_ALREADY_DECLARED. + * sysdump.c: Include "bfd.h" and "bucomm.h". Don't include + "sysdep.h" or <stdlib.h>. + (dump_symbol_info): Rename from symbol_info. Change all callers. + +Mon Sep 4 14:30:00 1995 Ian Lance Taylor <ian@cygnus.com> + + * configure.in (host_makefile_frag): Don't set. Substitute for + @CC@, @CFLAGS@, @HDEFINES@ and @LDFLAGS@ in Makefile. + * Makefile.in (AR_FLAGS): Set to rc rather than qv. + (CC): Define as @CC@. + (CFLAGS): Set to @CFLAGS@. + (LDFLAGS): Define as @LDFLAGS@. + (ALL_CFLAGS): Use @HDEFINES@ rather than $(HDEFINES). + + * configure.in: Don't bother to call config.bfd for each target. + Just call it for the default target, and use the shell variable to + decide whether underscores are used. + +Thu Aug 31 19:21:48 1995 Jason Molenda (crash@phydeaux.cygnus.com) + + * configure.in: match i[3-6]86-*-win32, not just i386-*-win32. + +Thu Aug 31 16:30:22 1995 steve chamberlain <sac@slash.cygnus.com> + + * dlltool.c (add_indirect): New. + (asm_prefix): New + (gen_exp_file): Timestamp should be 0. Insert prefix when + needed. New code for indirection. + (gen_lib_file): Timestamp should be 0. Insert prefix + when needed. + (usage): Document --add-indirect. + (main): Cope with new option. + + * objdump.c (dump_private_headers): New. + (usage): Document new option. + (long_option): Add private-headers. + (dump_bfd_private_header): New. + (main): Cope with new option. + +Thu Aug 31 04:09:16 1995 Doug Evans <dje@canuck.cygnus.com> + + * dlltool.c (run): Add missing 3rd arg to waitpid. + +Wed Aug 30 11:02:11 1995 steve chamberlain <sac@slash.cygnus.com> + + * Makefile.in (TOOL_PROGS): Include dlltool if needed. + +Tue Aug 29 13:25:21 1995 steve chamberlain <sac@slash.cygnus.com> + + * dlltool.c (rva): Deleted. + (rvaafter, rva_before): Use new assembler pseudo. + (flush_page, gen_exp_file, gen_lib_file): Use new way of RVAing. + (gen_exp_file): Don't generate .edata if no need. + (gen_lib_file): Don't make timestamp. + Put _iname in idata$7. + (workout_prefix): Fix memory initialization bug. + (usage): Tidy up, delete many single char options. + (main): rva option is gone. + +Mon Aug 21 18:41:28 1995 steve chamberlain <sac@slash.cygnus.com> + + * dlltool.c (options): image-base is a synonym for rva. + (gen_lib_file): Put dll name into ibase$7. + +Sun Aug 20 09:59:00 1995 steve chamberlain <sac@slash.cygnus.com> + + Modified to generate archives and objects rather than .s files. + * dlltool.c (run) New function. + (gen_exp_file, gen_lib_file): Use run. + (workout_prefix): New. + (usage): Document new options. + (main): Parse new options. + +Wed Aug 16 16:26:52 1995 steve chamberlain <sac@slash.cygnus.com> + + * dlltool.c (gen_exp_file): Fix RVA handling. + (rva_s, rva_n): Delete. + +Fri Aug 11 18:27:18 1995 Ian Lance Taylor <ian@cygnus.com> + + * nm.c (main): Ignore -e. + +Thu Aug 10 17:35:00 1995 Ken Raeburn <raeburn@cygnus.com> + + * Makefile.in (config.texi): New target. Write out a setting for + texinfo variable VERSION. + (binutils.dvi, binutils.info): Depend on it. + * binutils.texi: Include it, and reference @value{VERSION} instead + of explicitly specifying 2.2(!). + +Thu Aug 10 16:07:53 1995 Ian Lance Taylor <ian@cygnus.com> + + * coffgrok.c (do_type): Handle array dimensions the same way gdb + does. + +Tue Aug 8 17:10:42 1995 steve chamberlain <sac@slash.cygnus.com> + + * dlltool.c (mtable): New fields. + (ASM_RVA_BEFORE, ASM_RVA_AFTER): New. + (flush_page): Use new macros. + +Sat Aug 5 00:16:37 1995 Jeff Law (law@snake.cs.utah.edu) + + * objcopy.c (mark_symbols_used_in_relocations): Handle sections + with no relocations. + * coffgrok.c (do_sections_p1): Likewise. + +Mon Jul 31 12:51:06 1995 Ian Lance Taylor <ian@cygnus.com> + + * strings.c (print_strings): For compatibility with existing + strings programs, print strings which are not terminated with a + null byte or a newline. + * binutils.texi, strings.1: Update documentation accordingly. + + * ar.c (replace_members): For compatibility with existing ar + programs, permit users to add the same file multiple times. + +Tue Jul 25 11:21:53 1995 Ian Lance Taylor <ian@cygnus.com> + + * strings.c (DATA_FLAGS): Remove SEC_DATA. + (main): If no file names are given, scan standard input. + * binutils.texi, strings.1: strings now scans non-data sections by + default. + +Mon Jul 24 13:52:28 1995 J.T. Conklin <jtc@rtl.cygnus.com> + + * srconv.c (wr_hd): Set afl field to 4 for bfd_arch_sh. + (writeINT): When size == -2, use 2 bytes for the h8300 and 4 bytes + for the sh. + + * sysdump.c (fillup): Return size - 1, the last byte is a checksum + and shouldn't be counted. + * sysroff.info (hd): Changed segment identifier from a byte to a 1 + bit field. The sysroff 2.0-01 specification seems to be in error + here. Reduce width of following "spare" field from 4 to 3 bits. + (rl): Changed order and width of first 4 bitfields to correspond + to sysroff specification. + (dln_head, dln_inside, dln_tail): Removed. + +Tue Jul 18 23:00:03 1995 Fred Fish <fnf@cygnus.com> + + * nm.c (sort_symbols_by_size): Enclose expression being casted + in parens so result is casted, not just first operand. Can't + do pointer arithmetic on void* pointers. + +Fri Jul 14 13:42:42 1995 J.T. Conklin <jtc@rtl.cygnus.com> + + * sysdump.c (dh): Changed format of output to be 16 hex digits + followed by 16 ascii characters, similar to Emacs' hexl-mode, + to make it easier to read. + (xcalloc): fix typo. + +Thu Jul 13 15:27:44 1995 J.T. Conklin <jtc@rtl.cygnus.com> + + * srconv.c (wr_tr): Write out handcrafted tr block. + (walk_tree_symbol): Use evallen and evalue instead of + vallen & value because of corresponding changes in + sysroff.info. + + * sysdump.c (sysroff_swap_tr_in, sysroff_print_tr_out): New + functions. + + * sysroff.info (tr): the tr block is a special case --- a block + without contents --- which can't be handled by generated code. + (den, dpp): only first byte is present for DENend, DPPend. + (dsy): describe a conditional portion of block, rename some fields. + (dps): describe a conditional portion of block. + (dfl): removed. + + * sysinfo.y (yyerror): write error message to standard error. + +Thu Jul 13 10:43:59 1995 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.in (DISTSTUFF): Add arparse.h and sysinfo.h. + (mostlyclean): Remove y.output. + (clean): Remove sysroff, sysroff.c, sysroff.h, and sysinfo. + + * nlmconv.c (powerpc_mangle_relocs): Cast memset arg to size_t. + * objcopy.c (copy_object): Likewise. + + * nm.c (HAVE_SBRK): Define execpt on amigados and WINDOWS_NT. + (struct size_sym): Define. + (show_stats): New static variable. + (long_options): Add undocumented option "stats". + (main): Print memory stats if requested. + (sort_bfd, sort_dynamic, sort_x, sort_y): New static variables. + (numeric_forward): Use minisymbols rather than asymbols. + (non_numeric_forward): Likewise. + (size_forward1): Rename from size_forward. Use minisymbols. + (size_forward2): New static function. + (sort_symbols_by_size): Take new arguments dynamic, size, and + symsizep. Use minisymbols. Don't store the size back in the + symbol; store in a newly allocate struct size_sym array. + (display_rel_file): Read minisymbols rather than asymbols. Set + sort_* variables. Call print_size_symbols if sorting by size. + (filter_symbols): Take new arguments dynamic and size. Use + minisymbols. + (print_symbols): Likewise. Call print_symbol for actual printing. + (print_size_symbols): New static function. + (print_symbol): New static function. + +Wed Jul 12 10:43:05 1995 Ian Lance Taylor <ian@cygnus.com> + + * objdump.c (dump_section_stabs): Only print each stabs section + once. + (compare_relocs): Make it clear to gcc that this always returns a + value. + +Wed Jul 12 10:40:23 1995 H.J. Lu <hjl@nynexst.com> + + * objcopy.c (simple_copy): Preserve errno on failure. + (smart_rename): Print error mesage if simple_copy fails. + +Tue Jul 11 13:10:52 1995 J.T. Conklin <jtc@rtl.cygnus.com> + + * sysdump.c: re-indented file. + (module): read blocks sequentially instead of trying to parse + them, as that would require changing the parser recognize the + difference between a DPSstart and DPSend block. + (getone): Add break's between switch blocks as appropriate. + (object_body_list): parse blocks according to sysroff spec. + +Mon Jul 10 12:37:25 1995 J.T. Conklin <jtc@poseidon.cygnus.com> + + * sysroff.info: re-indented file, prior formatting was confusing + because it was indentation did not reflect nesting of conditional + records. Change "space size within segment" record in hd record + from bit to byte. + + * sysinfo.y (cond_it_field): Use xcalloc instead of calloc. + + * srconv.c (wr_cs): Reformatted cs header array, tag each byte + with a comment describing the field. + (wr_unit_info): Use SEEK_SET macro instead of constant 0. + (main): Use FOPEN_WB macro instead of literal "wb". + * sysroff.info: Remove fdl (dfl) field from cs block. Compare + ptr->type with ED_TYPE_CONST instead of constant 2 in ed block. + +Tue Jul 4 14:48:42 1995 Ian Lance Taylor <ian@cygnus.com> + + * nm.c (size_forward): Check yf against yn, not xn. + + * objcopy.c (copy_archive): Record all output BFD's, and close + them before unlinking them and removing the temporary directory, + to avoid NFS problems. + + * ar.c (replace_members): In verbose messages, use 'r' when + replacing a member, and 'a' when adding one. + + * ar.c (ar_truncate): New static variable. + (normalize): Change return type to const char *. Add abfd + argument. Change all callers. If ar_truncate, chop the filename + to abfd->ar_max_namelen. + (main): For the 'f' modifier, set ar_truncate to true. Don't + change quick_append to replace if ar_truncate is true. + (do_quick_append): If ar_truncate, set BFD_TRADITIONAL_FORMAT. + (write_archive): Likewise. + * binutils.texi, ar.1: Document 'f' modifier. + + * objcopy.c (enum strip_action): Define strip_unneeded. + (OPTION_STRIP_UNNEEDED): Define. + (strip_options): Add "strip-unneeded". + (copy_options): Likewise. + (copy_usage): Mention --strip-unneeded. + (strip_usage): Likewise. + (is_strip_section): Strip debugging sections if strip_unneeded. + (filter_symbols): If strip_unneeded, only keep BSF_KEEP symbols. + (copy_object): If strip_all, discard symbols without checking + discard_locals. + (copy_object): Call filter_symbols if strip_unneeded. + (setup_section): Strip debugging sections if strip_unneeded. + (copy_section): Likewise. + (strip_main): Handle OPTION_STRIP_UNNEEDED. + (copy_main): Likewise. + * binutils.texi, objcopy.1, strip.1: Document --strip-unneeded. + +Mon Jul 3 14:16:47 1995 Steve Chamberlain <sac@slash.cygnus.com> + + * configure.in (i386-*-win32): New configuration. + * dlltool.c (killat, xlate, usage, long_options, main): + Understand and cope with -k option. + +Sat Jul 1 12:25:15 1995 Fred Fish <fnf@cygnus.com> + + * ar.c: (extract_file): Change "#if POSIX_UTIME" to + "#ifdef POSIX_UTIME" to match other tests of POSIX_UTIME + and avoid lossage when POSIX_UTIME is not defined at all. + +Wed Jun 28 17:51:24 1995 Steve Chamberlain <sac@slash.cygnus.com> + + * ar.c: (print_contents.c, extract_file, do_quick_append): + Malloc buffers rather than allocate on stack (so it works + on NT). + * deflex.l: Names can have an @ in them. + * dlltool.c: Loads of stuff. Can now generate .imp files which + work with NT .dlls. + +Thu Jun 22 19:10:50 1995 Stan Shebs <shebs@andros.cygnus.com> + + * mpw-make.in (demangle.c.o): Remove. + (arparse.h): Depend on arparse.c instead of arparse.y. + +Wed Jun 21 17:32:45 1995 Ken Raeburn <raeburn@cujo.cygnus.com> + + * Makefile.in (DISTSTUFF): Don't include info here. + (diststuff): Include it here. + (realclean): Remove *.info. + + * objdump.c (compare_relocs): If relocation entries have the same + address, keep them in file order. + +Mon Jun 19 09:06:49 1995 Steve Chamberlain <sac@slash.cygnus.com> + + * dlltool.c: Change names of generated files. .*.s-> -*.s + + * objdump.c (dump_section_stabs): Check for names + which are supersets of selected names. + +Wed Jun 14 19:43:52 1995 Doug Evans <dje@canuck.cygnus.com> + + * dlltool.c (mtable, ARM jump): Must redirect via pc offsetable ptr. + +Wed Jun 14 13:27:22 1995 Steve Chamberlain <sac@slash.cygnus.com> + + * deflex.l, defparse.y, dlltool.c: New files. + * Makefile.in, configure.in: Support for them. + +Mon Jun 12 11:27:54 1995 Steve Chamberlain <sac@slash.cygnus.com> + + * sysdump.c: Include sysdep.h + (main): Open input with FOPEN_RB. + +Fri Jun 9 17:26:11 1995 Michael Meissner <meissner@tiktok.cygnus.com> + + * objdump.c (wide_output): New flag variable. + (usage): Print new -w, --wide options. + (long_options): Add --wide support. + (dump_section_header): If --wide, don't print a newline between + the section's first line and the flags. + (objdump_print_address): Use unsigned comparisons for the binary + search, not signed. + (disassemble_data): If --wide, don't put a \n between the + disassembly output and relocation information. + (main): Support -w option being the same as --wide. + +Thu Jun 1 17:09:27 1995 Ken Raeburn <raeburn@cujo.cygnus.com> + + Sat May 6 08:52:24 1995 H.J. Lu (hjl@nynexst.com) + + * objcopy.c (smart_rename): make it smarter, clean up + if rename () fails. + +Tue May 30 14:24:15 1995 Ken Raeburn <raeburn@cujo.cygnus.com> + + * Makefile.in: Delete lines with lots of #### because four or more + indicate a point for makefile fragment substitution. + +Tue May 9 17:17:05 1995 Michael Meissner <meissner@tiktok.cygnus.com> + + * configure.in: Don't build nlmconv on PowerPC eabi any more, it + is not needed. + +Thu Apr 27 20:21:24 1995 Doug Evans <dje@canuck.cygnus.com> + + * Makefile.in (EXPECT): Define. + (RUNTEST): Use one in source tree if present. + (check): Set `rootme' for $(EXPECT). + +Wed Apr 26 18:26:21 1995 Steve Chamberlain <sac@slash.cygnus.com> + + * srconv.c (main): Add support for -n option which disables + prescan of common symbols. + (wr_ob): If reading past the end of a section, fill with zeros. + +Tue Apr 25 19:14:37 1995 Ken Raeburn <raeburn@cujo.cygnus.com> + + * objdump.c (dump_section_header): Display load address after + virtual memory (run-time) address. + +Wed Apr 19 09:44:06 1995 Jason Merrill <jason@phydeaux.cygnus.com> + + * Makefile.in (cplus-dem.o): Pass -DVERSION='"$(VERSION)"' to the + compile. + (DEMANGLER_PROG): No longer uses version.o. + +Mon Apr 10 13:29:49 1995 Stan Shebs <shebs@andros.cygnus.com> + + Merge in support for Mac MPW as a host. + (Old change descriptions retained for informational value.) + + * mpw-config.in (TDEFINES): Define as empty in makefile frag. + + * mpw-config.in: Create mk.tmp, define ARCHDEFS in it. + + * mpw-config.in: New file, MPW configure fragment for binutils. + * mpw-make.in (install-only): New target. + (install): Also depend on install-only. + + * mpw-make.in (cplusfilt): Renamed from c++filt. + (INCLUDES): Add more paths. + + * mpw-make.in: New file, MPW makefile fragment for binutils. + (Normally automatically generated from Makefile.in.) + +Mon Mar 27 11:52:57 1995 Ian Lance Taylor <ian@cygnus.com> + + * ar.c (write_archive): Call make_tempname to get output file + name, rather than using a fixed name based on the input file. + + * objcopy.c (make_tempname): Copy from here... + * bucomm.c (make_tempname): ...to here, and make global. + * bucomm.h (make_tempname): Declare. + +Fri Mar 24 11:47:42 1995 Ian Lance Taylor <ian@cygnus.com> + + * strings.c: Include "bfd.h" before other headers. Include + "sysdep.h". + * bucomm.c (print_arelt_descr): Cast st_uid and st_gid to long, + and print them with %ld. + +Fri Mar 10 13:09:42 1995 Ian Lance Taylor <ian@cygnus.com> + + * objcopy.c (strip_options): Add --keep-symbol. + (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. + +Mon Mar 6 13:33:47 1995 Stan Shebs <shebs@andros.cygnus.com> + + * objcopy.c (copy_archive): Check result of mkdir. + (copy_main): Cast an xmalloc result. + + * objdump.c (usage): Break long format string into shorter ones. + +Mon Mar 6 13:46:12 1995 Ian Lance Taylor <ian@cygnus.com> + + * bucomm.c (list_supported_targets): New function. + * 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. + +Tue Feb 28 15:13:58 1995 Ian Lance Taylor <ian@cygnus.com> + + * bucomm.c (print_arelt_descr): Cast st_size to long before + passing it to fprintf. + +Fri Feb 17 13:36:45 1995 Ian Lance Taylor <ian@cygnus.com> + + * objcopy.c (struct section_list): Add fields remove, set_flags, + 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. + +Tue Feb 14 18:03:03 1995 Ian Lance Taylor <ian@cygnus.com> + + * objdump.c (with_source_code): New global variable. + (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. + +Thu Feb 9 16:11:53 1995 Ian Lance Taylor <ian@cygnus.com> + + * objcopy.c (copy_usage): Rename parameter to avoid shadowing. + (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. + +Wed Feb 1 15:04:57 1995 Ken Raeburn <raeburn@cujo.cygnus.com> + + * objdump.c (disassemble_data): Pass section offset, not absolute + address, to bfd_find_nearest_line. + + * nlmconv.c (powerpc_mangle_relocs): Don't use const with + reloc_howto_type. + +Thu Jan 26 18:50:06 1995 Ian Lance Taylor <ian@cygnus.com> + + * objdump.c (compare_symbols): Use bfd_asymbol_value (VAR) rather + than VAR->value. + (objdump_print_address): Likewise. + (disassemble_data): Don't change the symbol values. It can + confuse bfd_canonicalize_reloc. + +Thu Jan 26 12:03:56 1995 Michael Meissner <meissner@tiktok.cygnus.com> + + * configure.in: Add support for powerpc-*-ebai. + +Wed Jan 18 10:02:12 1995 Steve Chamberlain <sac@splat> + + * coffdump.c: Include sysdep.h. + (dump_coff_type): Handle coff_secdef_type. + * coffgrok.c : Include sysdep.h. + * srconv.c: Include libiberty.h + (absolute_p, dty_start, dty_end, dump_tree_structure): Remove. + +Wed Jan 18 12:24:14 1995 Ian Lance Taylor <ian@sanguine.cygnus.com> + + * 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>. + +Tue Dec 20 19:13:44 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> + + * ar.c (main): Ignore 'f' modifier used on HP/UX 9. + +Thu Dec 15 17:34:12 1994 Stan Shebs <shebs@andros.cygnus.com> + + * ar.c, nm.c, objcopy.c, objdump.c: Include progress.h. + * ar.c, nm.c, objcopy.c, objdump.c (main): Add START_PROGRESS + and END_PROGRESS. + * ar.c (map_over_members, open_inarch): Call PROGRESS. + * nm.c (main, display_archive, filter_symbols, print_symbols): + Call PROGRESS. + + * objcopy.c (copy_usage): Break up long usage string. + +Wed Dec 14 15:51:56 1994 Ken Raeburn <raeburn@cujo.cygnus.com> + + * objcopy.c (copy_object): Don't bother setting status after + nonfatal() "call", because it won't return. + +Fri Dec 9 00:22:54 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * nlmconv.c (powerpc_mangle_relocs): Don't switch a reloc to use + the section symbol if the symbol is undefined. + +Thu Dec 8 14:45:50 1994 Ken Raeburn <raeburn@cujo.cygnus.com> + + * objcopy.c (add_strip_symbol): Cast return value of xmalloc. + +Wed Nov 30 11:05:43 1994 Ian Lance Taylor <ian@rtl.cygnus.com> + + * ar.c (replace_members): Pass current->filename to normalize when + checking for duplicates, because the filename of a newly added + file will not have been normalized yet. + +Thu Nov 17 15:00:13 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> + + * ar.c (main): Don't call do_quick_append if any of the archive + names are longer than 14 characters. + + * objcopy.c (main): Fix is_strip test. From + pirker@eiunix.tuwien.ac.at (Martin Pirker). + +Thu Nov 17 15:37:19 1994 Mark W. Eichin <eichin@cygnus.com> + + * 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. + +Tue Nov 8 13:12:54 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> + + * objdump.c (display_target_list, display_info_table): Pass an + array to tmparg, rather than NULL, since some systems can't handle + NULL. + + * objcopy.c (copy_archive): Keep a list of the names of the + temporary files we created. Close each input BFD after we open + its successor. + +Mon Nov 7 15:48:39 1994 Ken Raeburn <raeburn@cujo.cygnus.com> + + * Makefile.in (VERSION): Bump to 2.5.3. + +Thu Nov 3 19:04:34 1994 Ken Raeburn <raeburn@cujo.cygnus.com> + + * 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. + +Wed Nov 2 15:44:13 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> + + * ar.c (main): Treat ar qs like ar rs. + +Tue Oct 25 16:19:25 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> + + * objcopy.c (gap_fill): Explicitly initialize, for clarity. + (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. + +Thu Oct 20 13:51:31 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * objcopy.c (gap_fill_set, gap_fill): New static variables. + (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. + +Wed Oct 19 14:09:16 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> + + * Makefile.in (check): Add a dummy else clause to the if + statement. + + * objcopy.c (copy_object): Revert yesterday's change. + * binutils.texi, objcopy.1: Remove special mention of --set-start + and `binary' output format. + +Tue Oct 18 11:12:01 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> + + * objcopy.c (copy_object): If the output file format is `binary', + 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. + + * nm.c (print_symdef_entry): Call print_symname to print the + symbol name, so that --demangle works. + + * Makefile.in (mostlyclean): Remove tmpdir. + + * objcopy.c (struct section_list): Add fields used, adjust, val. + (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. + +Fri Oct 14 14:38:13 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> + + * configure.in (configdirs): Remove definition--testsuite is no + longer configured. + * Makefile.in (testsuite): Remove target. + (site.exp): New target. + (check): Rewrite. + (clean, distclean): Don't recur into testsuite directory. + +Thu Oct 13 19:24:09 1994 Ken Raeburn <raeburn@cujo.cygnus.com> + + * Makefile.in (VERSION): Updated to 2.5. + * Version 2.5 released. + +Tue Oct 11 15:26:42 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> + + * Makefile.in (sysdump.o): Depends upon sysroff.c. + +Mon Oct 10 13:50:30 1994 J.T. Conklin (jtc@rtl.cygnus.com) + + * nlmconv.c (link_inputs): Pass -Ur flag to ld so that the + ctor/dtor tables needed by C++ programs are built. + +Sun Oct 9 18:04:00 1994 Jim Wilson (wilson@sphagnum.cygnus.com) + + * Makefile.in (srconv.o): Add dependence on sysroff.c. + +Tue Oct 4 12:19:51 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> + + * configure.in: Use ${config_shell} when running config.bfd. + + * Makefile.in (sysroff.h): Split target away from sysroff.c. + (srconv.o, sysdump.o): New targets. + (srconv, sysdump): Don't depend upon sysroff.c. + +Wed Sep 28 13:04:34 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * Makefile.in (arparse.c): Don't ignore errors from mv. + (sysinfo.c): Likewise. Also, depend upon arparse.c, to prevent a + parallel make from trying to build both arparse.c and sysinfo.c + simultaneously. + (nlmheader.c): Similar change. + (arparse.h): Separate target from arparse.c, so that a parallel + make does not try to build both at once. Depend upon arparse.c. + (sysinfo.h): Similar change. + + * objdump.c (disassemble_data): Pass the reloc buffer to free, not + the pointer used to loop over the relocs. + +Sat Sep 24 16:16:57 1994 Stan Shebs (shebs@andros.cygnus.com) + + * objdump.c (disassemble_data): Cast result of xmalloc. + +Wed Sep 21 19:30:35 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * objdump.c (sorted_syms, sorted_symcount): New global variables. + (objdump_print_address): Use sorted_syms and sorted_symcount + instead of syms and symcount. + (disassemble_data): Don't bother to get the relocs before looping + over the sections. Before filtering and sorting the symbol table, + copy it into sorted_syms. + +Fri Sep 16 11:27:39 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * objdump.c (struct objdump_disasm_info): Add field require_sec. + (objdump_print_address): If aux->require_sec, require that the + symbol be in aux->sec even if HAS_RELOC is not set. If we can't + find a smaller symbol in the right section, look for a larger one. + (disassemble_data): Set aux.require_sec around the + objdump_print_address call for the instruction address. + +Thu Sep 15 21:43:17 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ar.c: Call xexit rather than exit. + (output_filename, output_file, output_bfd): New static variables. + (remove_output): New static function. + (main): Call xatexit (remove_output). Call xexit rather than + returning. + (extract_file): Set output_filename and output_file while output + file is open. + (write_archive): Likewise, but use output_bfd, not output_file. + * arsup.c: Include libiberty.h. Call xexit rather than exit. + * bucomm.c: Likewise. + + * objdump.c (disassemble_all): New global variable. + (usage): Document --disassemble-all. + (long_options): Add disassemble-all as a synonym for -D. + (compare_symbols): Make pointers const. + (compare_relocs): New static function. + (disassemble_data): Rename disassemble to disassemble_fn to avoid + shadowing. If dump_reloc_info, print relocs along with + disassembly. Skip sections which are not SEC_CODE unless + disassemble_all or only is set. + (display_bfd): Don't call dump_relocs if disassemble is set. + (main): Accept and handle -D. + * binutils.texi: Document -D/--disassemble-all. + * objdump.1: Likewise. + +Wed Sep 14 12:19:07 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * objdump.c (disassemble_data): Initialize prevline to 0. Make + prev_function non const. Copy functionname into an malloc buffer + when setting prev_function, instead of assuming that the string + will last forever. + + * nm.c: Include libiberty.h. + (sort_by_size): New static variable. + (long_options): Add --size-sort. + (usage): Mention --size-sort. + (numeric_forward): Make static. Change from void * to PTR. + (numeric_reverse): Likewise. + (non_numeric_forward, non_numeric_reverse): Likewise. + (sorters): Change declaration from void * to PTR. + (size_forward, sort_symbol_by_size): New static functions. + (display_rel_file): Handle sort_by_size. + (filter_symbols): If sort_by_size, discard absolute and undefined + symbols. + * binutils.texi (nm): Document --size-sort. + * nm.1: Document --size-sort. + +Tue Sep 13 21:06:06 1994 Jeff Law (law@snake.cs.utah.edu) + + * objcopy.c (copy_main): Initialize input_filename and + output_filename to NULL. + +Tue Sep 13 14:17:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * Makefile.in (version.o): Depend upon Makefile, so that version.o + gets rebuilt when make variable VERSION is changed. + + * objdump.c (dump_section_header): Print the SEC_NEVER_LOAD flag. + +Wed Aug 24 12:40:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * configure.in: Change i[34]86 to i[345]86. + +Tue Aug 23 11:00:40 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * ar.c (ranlib_touch): Don't update the archive map if there isn't + one. + +Mon Aug 22 16:02:18 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * ar.c: Include libiberty.h. + (inarch): Remove variable. + (map_over_members): Make static. Add arch argument, and use it + instead of inarch. Change all callers. + (main): Treat --version as -v. Accept -t argument. Accept any + number of archive arguments. Catch and use open_inarch return + value, rather than using inarch. + (open_inarch): Return newly opened BFD, rather than using inarch. + (do_quick_append): Make archive_filename const. + (write_archive): Add iarch argument, and use it instead of inarch. + Change all callers. + (delete_members, move_members, replace_members): Likewise. + (ranlib_only): Don't exit on success. Catch and use open_inarch + return value. + (ranlib_touch): New function. + * arsup.h (map_over_members): Don't declare. + (ar_end, ar_extract): Declare. + (open_inarch): Change return value in declaration to bfd *. + * arsup.c (map_over_list): Make static. Always pass two arguments + to function. Add arch argument, and use it instead of inarch. + Change all callers. + (ar_directory_doer): Make static. Add ignored second argument. + Change all callers. + (ar_directory): Use open_inarch return value rather than inarch. + (ar_addlib_doer): Make static. + (ar_addlib): Use open_inarch return value rather than inarch. + (ar_extract): Remove unused local variable abfd. + +Thu Aug 11 14:55:57 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + Add support for removing named sections to objcopy and strip. + * objcopy.c (struct section_list): Define. + (remove_sections): New static variable. + (strip_options, copy_options): Add remove-section. + (copy_usage, strip_usage): Mention -R and --remove-section. + (setup_section): If section is in remove_sections list, ignore it. + (copy_section): Likewise. + (strip_main, copy_main): Handle -R. + * binutils.texi, objcopy.1, strip.1: Document new options. + +Wed Aug 10 10:19:55 1994 Stan Shebs (shebs@andros.cygnus.com) + + * nlmconv.c (powerpc_mangle_relocs): Rename symvalue to sym_value, + so as not to conflict with the symvalue typedef in bfd.h. + +Mon Aug 1 13:19:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * nlmheader.y: Per current NetWare docs, accept a revision number + of 0 and treat a revision number greater than 26 as 0. + +Mon Jul 25 12:58:36 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * objdump.c (objdump_print_address): Correct handling of end of + symbols when looking for next symbol with a different value. + +Fri Jul 22 16:48:34 1994 Ken Raeburn (raeburn@cujo.cygnus.com) + + * nm.c (numeric_forward): Treat undefined symbols as "less than" + defined symbols with zero values. If numeric values are equal, or + both symbols are undefined, sort alphabetically. Don't assume + that the difference of two bfd_vma values will truncate to "int" + and still have the same sign. + (numeric_reverse): Call numeric_forward and negate the result. + (print_symbol_info_bsd): For undefined symbols, print leading + spaces equivalent to the width of a printed bfd_vma, rather than + assuming that 8 will look right. + +Fri Jul 22 10:36:50 1994 Steve Chamberlain (sac@jonny.cygnus.com) + + * coffgrok.c (doit): Zero all fields of new structure. + * srconv.c (sysroff_swap_*_out): Remove redundant trailing arg. + * sysinfo.y: Generate sysroff_swap_*_out without requiring extra + arg. + +Fri Jul 22 10:09:53 1994 J.T. Conklin (jtc@phishhead.cygnus.com) + + * nlmheader.y: Make "stack" and "stacksize" synonyms in the lexer + rather than the parser. + +Thu Jul 21 10:25:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * config/mh-alphaosf, config/mh-apollo68v, config/mh-delta88: + Remove; obsolete. + +Sat Jul 16 22:34:39 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * objdump.c (slurp_dynamic_symtab): Try to get the dynamic symbols + even if the bfd is not marked DYNAMIC. ELF executables are not + marked DYNAMIC, but do have dynamic symbols. + +Fri Jul 15 01:41:35 1994 Steve Chamberlain (sac@jonny.cygnus.com) + + * coffgrok.c (do_where): Make data with no type 'int'. + (do_define): Keep info on source file of a symbol. + * coffgrok.h (coff_symbol): New field. + * srconv.c (PROGRAM_VERSION): Now 1.3 + (wr_rl): Use external ref number for symbol. + (wr_dus): Only keep one source file per debug unit. + (wr_dln): Always emit line numbers for first source file, + (wr_globals): Emit globals in the du of their owning source file. + +Mon Jul 11 15:59:03 1994 J.T. Conklin (jtc@phishhead.cygnus.com) + + * nlmheader.y: Null terminate var_hdr->threadName. + +Fri Jul 8 17:33:22 1994 Ken Raeburn (raeburn@cujo.cygnus.com) + + * Makefile.in (syslex.o, sysinfo.o): Permit C source files to be + in $(srcdir), as they will be for FSF releases. + +Wed Jul 6 01:13:14 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * nlmconv.c (setup_sections): Preserve existing section flags when + copying in flags from a new section. + +Tue Jul 5 15:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * objcopy.c: Include libiberty.h. + (copy_file): If output_target is NULL, set it to the target of the + input file. + +Wed Jun 29 17:17:14 1994 J.T. Conklin (jtc@phishhead.cygnus.com) + + * nlmconv.c (link_inputs): Fixed memory allocation bug. + +Thu Jun 23 12:52:46 1994 David J. Mackenzie (djm@rtl.cygnus.com) + + * configure.in: Change --with-targets to --enable-targets. + +Tue Jun 21 12:53:21 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * Makefile.in (sysinfo): Does not depend upon $(ADDL_LIBS). + + * nlmconv.c (powerpc_build_stubs): Don't generate the PowerPC + NetWare custom header; no longer needed. + (powerpc_mangle_relocs): Convert relocs against the uninitialized + data section into relocs against the data section. + + * configure.in: Set nlmconv_defs to -DNLMCONV_cputype for all the + netware targets. Write it into Makefile as NLMCONV_DEFS. + * Makefile.in (nlmconv.o): Pass $(NLMCONV_DEFS) to $(CC). + * nlmconv.c: Only compile code for specific CPU types if + NLMCONV_cputype is defined. + + * nlmconv.c (main): Change uses of bfd_abs_section, etc., to use + bfd_abs_section_ptr or bfd_is_abs_section, etc. + (i386_mangle_relocs, alpha_mangle_relocs): Likewise. + (powerpc_build_stubs): Likewise. + * nm.c (filter_symbols, print_symbols): Likewise. + * objcopy.c (filter_symbols): Likewise. + (mark_symbols_used_in_relocations): Likewise. + * objdump.c (remove_useless_symbols, dump_relocs): Likewise. + * size.c (sysv_internal_printer): Likewise. + +Mon Jun 20 16:43:03 1994 Ken Raeburn (raeburn@cujo.cygnus.com) + + * Makefile.in (MANPAGES): Remove $(DEMANGLER_PROG). + (install): Install it explicitly, from build dir, not srcdir. + +Mon Jun 20 16:29:54 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * objdump.c: Don't include elf/internal.h. + (bfd_elf_find_section): Don't declare. + (read_section_stabs): No special handling for ELF. Always read + using BFD sections. + +Thu Jun 16 17:25:20 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * configure.in: Set UNDERSCORE in Makefile based on result of + invoking config.bfd with a second argument of ``_''. + * Makefile.in (underscore.c): Depend upon Makefile. Don't try to + run $(CC) and $(NM), just use $(UNDERSCORE). Create via temporary + file. + (demangle.o): Remove target. + ($(NM_PROG)): Don't depend upon demangle.o, and don't link against + demangle.o. It's in libiberty anyhow. + (cplus-dem.o): Don't depend upon demangle.o. + * binutils.texi: Mention -n and --no-strip-underscores arguments + to c++filt. + +Wed Jun 15 12:10:31 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * nm.c (long_options): Add --no-demangle to turn off --demangle, + and --no-cplus for Linux compatibility. + (usage): Mention --no-demangle. + * binutils.texi: Document --no-demangle. + +Fri Jun 10 15:41:25 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * nm.c: HOST_64_BIT was renamed to BFD_HOST_64_BIT. + + * objcopy.c (copy_archive): Make the temporary directory in the + same directory as the output BFD, since we may not have write + permission on the current directory. Set the permissions of the + new directory to 0700, not 0777. + +Mon Jun 6 21:36:43 1994 D. V. Henkel-Wallace (gumby@cygnus.com) + + * configure.in: if this is an rs6000 (and we're not building for + any other bfd targets) then build only nm (collect needs it on + rs6000-lynx). + + * Makefile.in: define TOOL_PROGS which the list of programes to + install in $tooldir -- replaces a hard-coded list. + +Fri Jun 3 10:59:18 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * objdump.c (display_target_list): Remove unused local ok. + +Thu May 26 18:05:52 1994 Ken Raeburn (raeburn@cujo.cygnus.com) + + * config/mh-alphaosf (CFLAGS): Don't specify both -g and -O; + they're not compatible under native cc. Use -O1 instead. + + * Makefile.in (VERSION): Updated to cygnus-2.4.1. + + Changes from binutils-2.4 net release: + + * Makefile.in (MANPAGES): Use $(DEMANGLER_PROG). + ($(DEMANGLER_PROG).1): Build from cxxfilt.man, using sed. + * cxxfilt.man: Renamed from c++filt.1, replaced "c++filt" with + magic token to be replaced by sed. + + Wed May 11 22:32:00 1994 DJ Delorie (dj@ctron.com) + + * configure.bat: update for latest makefile.in + +Fri May 13 23:25:13 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * bucomm.c: Check ANSI_PROTOTYPES rather than __STDC__. + +Tue May 10 18:22:06 1994 Jason Molenda (crash@sendai.cygnus.com) + + * objcopy.c (copy_section): Set section size correctly if using + interleave. + +Sat May 7 16:49:36 1994 Steve Chamberlain (sac@cygnus.com) + + * Makefile.in: Add rule for sysinfo.h + +Fri May 6 12:18:33 1994 Steve Chamberlain (sac@cygnus.com) + + * Makefile.in (SRCONV_PROG): Define. + (PROGS): Use $(SRCONV_PROG) too. + +Thu May 5 19:41:43 1994 Ken Raeburn (raeburn@cujo.cygnus.com) + + * Makefile.in (DISTSTUFF): Add sysinfo.c, syslex.c, in case + someone configures with `targets=all'. + (distclean): Remove y.*. + (syslex.o): Depend on sysinfo.h. + (sysinfo.c): Rename y.tab.h to sysinfo.h. + (install-info): Don't try to install into $(infodir)/$(srcdir). + * syslex.l: Include sysinfo.h, not y.tab.h. + +Thu May 5 11:50:55 1994 Ken Raeburn (raeburn@kr-pc.cygnus.com) + + * syslex.l (yywrap): Define as function if not defined as a macro. + + * Makefile.in (objdump.o): Deleted special rule. + * configure.in: Don't bother building ARCHDEFS variable for + Makefile. + * objdump.c (ARCH_*): Deleted handling. + (disassemble_data): Call `disassembler' from opcodes library. + +Thu May 5 13:28:42 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * Makefile.in (install): Correct handling of $(tooldir) and + $(bindir) being on different devices. + +Fri Apr 29 09:50:38 1994 Steve Chamberlain (sac@cygnus.com) + + * sysdump.c (h8300, sh): Add declarations. + +Wed Apr 27 11:25:18 1994 Steve Chamberlain (sac@cygnus.com) + + * Makefile.in (syslex, sysinfo): Use CC_FOR_BUILD. + * coffdump.c, coffgroc.c, coffgrog.h, srconv.c, sysdump.c, + sysroff.info: Major changes. + +Tue Apr 26 18:18:24 1994 Stan Shebs (shebs@andros.cygnus.com) + + * objdump.c (print_section_stabs): Indicate the stab header symbol + more clearly, print numbers of unrecognized stab n_type values. + +Tue Apr 26 16:22:55 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * nlmconv.c (copy_sections): Copy arelent pointers, not arelents. + +Mon Apr 25 16:14:32 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * Makefile.in (distclean): Remove $(PROGS) and underscore.c. + +Fri Apr 22 11:14:19 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * nlmconv.c (setup_sections): Remove special handling of .reginfo + section. + (copy_sections): Likewise. + (alpha_mangle_relocs): Use bfd_ecoff_get_gp_value rather than the + special ECOFF .reginfo section. + + * objcopy.c (copy_object): Call bfd_copy_private_bfd_data after + copying everything else, to let it fiddle with the file in its + final state. + + * objdump.c: Include libiberty.h. + (display_target_list): If a format fails, just go on to the next + one. Check return value of bfd_set_format. + (display_info_table): Likewise. Don't increment loop variable in + for loop test, since that skips the first element. + (display_target_tables): Rewrite loop for clarity. Ensure that it + always prints at least one element. + + * nlmconv.c (main): Use CyGnUsEx rather than CyGnUsSeCs for + sections header. Rename from cygnus_sections to cygnus_ext. + +Thu Apr 21 12:12:26 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * objdump.c (_DUMMY_NAME_): Don't define. + (display_target_list): Use tmpnam to get a file name rather than + using _DUMMY_NAME_. Unlink it when done. + (display_info_table): Likewise. + + * nlmconv.c (secsec): New static variable. + (main): Create .nlmsections section in output BFD. Store + information about it in sections header. + (setup_sections): Allocate space in sections header. + (copy_sections): Copy zero sized sections. Put information about + each section in the sections header. + +Wed Apr 20 14:34:51 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * nlmconv.c (powerpc_build_stubs): Take new outbfd argument. + Change caller. Create custom header for new PowerPC NetWare + format. + + * Makefile.in (nlmheader.o, nlmconv.o): Update dependencies. + * nlmconv.c: Include bfd.h and libiberty.h with "", not <>. + * nlmheader.y: Include bfd.h with "", not <>. + +Wed Apr 13 10:52:50 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * objdump.c: Do an ifdef on __GO32__, not unix. + +Wed Apr 6 21:54:49 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + Added -D (--dynamic) option to nm and -T (--dynamic-syms) and -R + (--dynamic-reloc) arguments to objdump. + * nm.c (dynamic): New static variable. + (long_options): Added "dynamic". + (usage): Mention -D and --dynamic. + (main): Add D to getopt string. Handle -D by setting dynamic. + (display_rel_file): If dynamic is non-zero, read dynamic symbols + rather than normal symbols. + * nm.1: Updated for -D (--dynamic) option. + * objdump.c (dump_dynamic_symtab): New global variable. + (dump_dynamic_reloc_info): New global variable. + (dynsyms, dynsymcount): New global variables. + (usage): Mention -R, -T, --dynamic-syms and --dynamic-reloc. + (long_options): Added "dynamic-reloc" and "dynamic-syms". + (slurp_symtab): If no symbols, return rather than exit. + (slurp_dynamic_symtab): New function. + (display_bfd): Handle dump_dynamic_symtab and + dump_dynamic_reloc_info. + (dump_symbols): Take new dynamic argument, indicating whether to + display dynamic symbols. + (dump_relocs): Move most printing into dump_reloc_set. + (dump_dynamic_relocs): New function. + (dump_reloc_set): New function, extracted from dump_relocs. + (main): Add R and T to getopt string. Handle -T by setting + dump_dynamic_symtab and -R by setting dump_dynamic_reloc_info. + * objdump.1: Updated for -R (--dynamic-reloc) and -T + (--dynamic-syms) options. + * binutils.texi: Updated for new nm and objdump options. + +Wed Mar 30 15:52:40 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + Update for recent BFD changes to symbol and reloc reading. Rename + all uses of get_symtab_upper_bound to bfd_get_symtab_upper_bound. + Also: + * coffgrok.c (symcount): Change to long. + (do_sections_p1): Check for error return from + bfd_get_reloc_upper_bound. Change relcount to long, and check for + error from bfd_canonicalize_reloc. + (coff_grok): Change storage to long. Check for error from + bfd_get_symtab_upper_bound and bfd_canonicalize_symtab. + * nlmconv.c (main): Change symcount, newsymalloc, newsymcount, and + i to long. Check for error from bfd_get_symtab_upper_bound and + bfd_canonicalize_symtab. + (copy_sections): Change reloc_size and reloc_count to long. Check + for error from bfd_get_reloc_upper_bound and + bfd_canonicalize_reloc. + (mangle_relocs, i386_mangle_relocs, alpha_mangle_relocs): Change + reloc_count_ptr argument to long *. Make corresponding changes to + variables loaded from *reloc_count_ptr. + * nm.c (display_rel_file): Change storage and symcount to long. + Check for errors from bfd_get_symtab_upper_bound and + bfd_canonicalize_symtab. + * objcopy.c (filter_symbols): Change symcount, src_count and + dst_count to long. + (copy_object): Change symcount to long. Pass another argument to + fprintf. Check for errors from bfd_get_symtab_upper_bound and + bfd_canonicalize_symtab. + (copy_section): Change relcount to long. Check for errors from + bfd_get_reloc_upper_bound and bfd_canonicalize_reloc. + (mark_symbols_used_in_relocations): Change relcount and i to long. + Check for errors form bfd_get_reloc_upper_bound and + bfd_canonicalize_reloc. + * objdump.c (storage): Remove global variable. + (symcount): Changed to long. + (slurp_symtab): New local variable storage. Check for errors from + bfd_get_symtab_upper_bound and bfd_canonicalize_symtab. + (remove_useless_symbols): Change return value and count to long. + (objdump_print_address): Change min, max, thisplace and i to long. + (disassemble_data): Change i to long. + (dump_symbols): Change count to long. + (dump_relocs): Change relcount to long. Check for errors from + bfd_ret_reloc_upper_bound and bfd_canonicalize_reloc. + (display_info_table): Add casts when passing LONGEST_ARCH for + printf %* argument. + +Tue Mar 29 14:59:04 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * nm.c (display_archive): Close each archive element after it has + been displayed. + * objdump.c (display_file): Likewise. + +Mon Mar 28 13:04:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * configure.in: Change error message to refer to bfd/config.bfd + rather than bfd/configure.in. + +Sun Mar 27 16:23:39 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + + * More fixes for object formats which allow multiple sections + with the same name: + * objcopy.c (setup_section): Make a new output section even if + one already exists with the given name. + (copy_section): Use isection->output_section rather than trying + to look the output section up by its (possibly non-unique) name. + + * Makefile.in (install-info): Look for binutils.info in the + current directory, then in $(srcdir). Don't use $<. + +Mon Mar 21 12:55:45 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * objdump.c (objdump_print_address): Make static. Declare with + prototype. Change vardiff from int to bfd_signed_vma. Correct + binary search termination condition. When looking for same + section symbol in relocatable file, handle final symbol correctly. + +Sun Mar 20 11:26:36 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + + * Makefile.in: Avoid bug in hpux sed. + + * objcopy.c: Changes to keep it from stripping symbols used + in output relocations. + (mark_symbols_used_in_relocations): New function. Mark symbols + used in output relocations with BSF_KEEP. + (filter_symbols): Do not strip symbols marked with BSF_KEEP. + (copy_object): Reorder actions. First setup sections, then + build the output symbol table, then copy the section contents. + +Fri Mar 18 10:53:55 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ar.c (write_archive): Allocate space for the null byte. From + Robert Lipe <robertl@arnet.com>. + +Thu Mar 17 16:20:28 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * Makefile.in: Built nm.new and strip.new to avoid problems with + collect when . is in PATH. + (STRIP_PROG): Change from strip to strip.new. + (NM_PROG): Change from nm to nm.new. + (install): Remove the .new when installing. + +Wed Mar 16 16:27:05 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * nlmconv.c (powerpc_build_stubs): Set BSF_DYNAMIC flag for each + symbol for which we build a stub. + (powerpc_mangle_relocs): Only reset TOC pointer for a call to a + symbol with BSF_DYNAMIC flag set. + +Tue Mar 15 23:04:13 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + + * objcopy.c (filter_symbols): Use bfd_is_local_label to determine + if a symbol represents a compiler-generated local label. + (copy_object): Give the BFD backends a chance to copy any private + bfd data from the input BFD to the output BFD. + (setup_section): Give the BFD backends a chance to copy any private + section data from the input section to the output section. + +Mon Mar 14 11:15:58 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + + * objcopy.c (mangle_section): Delete unused function. + (setup_section): Set osection here instead of calling + mangle section to do it. + +Mon Mar 14 12:11:01 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ar.c (write_archive): Close inarch before unlinking it. + +Fri Mar 11 22:20:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * nlmconv.c (main): For PowerPC, call powerpc_build_stubs and + powerpc_resolve_stubs. Use __GOT0, not __toc_start. Handle it if + the start and end symbols are not in the text section. + (struct powerpc_stub): New struct definition. + (powerpc_stubs, powerpc_stub_insns): New static variables. + (powerpc_initial_got_size): New static variable. + (powerpc_build_stubs): New function. + (powerpc_resolve_stubs): New function. + (powerpc_mangle_relocs): Clear extraneous data in .got section. + Rearrange reloc handling to handle ELF relocs that are not + partial_inplace. Resolve PC relative relocs. + +Wed Mar 9 13:48:11 1994 Steve Chamberlain (sac@jonny.cygnus.com) + + * ar.c (move_members): Fix it so that the abi positional modifiers + don't delete all archive members following the insert point. + +Tue Mar 8 13:14:43 1994 Steve Chamberlain (sac@jonny.cygnus.com) + + * coffgrok.[ch]: New files, understand coff objects. + * coffdump.c: Uses coffgrok to dump out the debug info of a coff + file. + * sysroff.info: Description of a SYSROFF object file. + * sysinfo.y, syslex.l: Parse info file, generate a reader, writer, + header files and a printer. + * srconv.c: Uses coffgrok.c and sysroff.info to convert a coff + file to a SYSROFF file. + +Sat Feb 26 13:35:26 1994 Stan Shebs (shebs@andros.cygnus.com) + + * ar.c (do_quick_append): Pad with a genuine character 10, + rather than whatever '\n' might happen to be. + +Tue Feb 22 18:25:52 1994 Ian Lance Taylor (ian@cygnus.com) + + * nlmconv.c (main): Ignore debugging symbols when looking for + special symbols by name. + +Sun Feb 20 18:47:42 1994 Ian Lance Taylor (ian@lisa.cygnus.com) + + * nlmconv.c: Include libiberty.h. + + Support for PowerPC NetWare. + * nlmconv.c (main): For PowerPC NetWare, automatically define the + special symbols __toc_start. + (select_output_format): Handle bfd_arch_powerpc. + (mangle_relocs): Likewise. + (powerpc_mangle_relocs): New function. + +Thu Feb 17 09:28:23 1994 David J. Mackenzie (djm@thepub.cygnus.com) + + * ar.c, bucomm.c, nlmconv.c, nm.c, objcopy.c, objdump.c, + size.c: Use bfd_get_error and bfd_set_error and new error names. + +Fri Feb 11 15:54:51 1994 David J. Mackenzie (djm@thepub.cygnus.com) + + * objcopy.c (strip_main, copy_main): Add missing 'break' in switch. + +Mon Feb 7 19:45:52 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * objdump.c (disassemble_data): Handle bfd_arch_powerpc. + +Sun Feb 6 22:08:20 1994 David J. Mackenzie (djm@thepub.cygnus.com) + + * strings.c objdump.c nlmconv.c objcopy.c nm.c ar.c size.c (main): + Call xmalloc_set_program_name. + +Fri Feb 4 10:46:01 1994 David J. Mackenzie (djm@thepub.cygnus.com) + + * objcopy.c (filter_bytes): Make MEMHUNK a char *, not PTR, so we + can do arithmetic on it. + +Thu Feb 3 14:06:41 1994 David J. Mackenzie (djm@thepub.cygnus.com) + + * objdump.c (dump_section_stabs, read_section_stabs, + print_section_stabs): Functions broken out of dump_stabs_1. + Free the stabs and strings when done with them. + +Wed Feb 2 13:42:23 1994 David J. Mackenzie (djm@thepub.cygnus.com) + + * nlmconv.c (main): Use bfd_get_flavour instead of struct member. + * ar.c (print_contents, extract_file), size.c + (print_berkeley_format, print_sysv_format): Use bfd_get_filename and + bfd_my_archive instead of dereferencing the structs directly. + + * ar.c: Use bfd_fatal and bfd_nonfatal instead of bfd_perror and exit. + Indent. Remove DEFUNs. + + * nlmconv.c (main), objcopy.c (copy_file): Print matching formats + if ambiguous match. + * nm.c (display_file, display_archive), size.c (display_bfd): + Eliminate gotos. + Print matching formats if there is an ambiguous match. Use + bfd_nonfatal instead of hardcoded error message if nothing matches. + + * arsup.c, ar.c, objdump.c: Use bfd_get_filename instead of + abfd->filename. + + * nm.c (display_archive): New function, from code in display_file. + (display_rel_file): Renamed from do_one_rel_file. + + * size.c: Indent. + (display_archive): New function from code in display_file. + (display_file): Check bfd_close error return. + + * strings.c (strings_object_file): Check bfd_check_format + error return. + + * strings.c, objdump.c, size.c: Use bfd_nonfatal instead of bfd_perror. + + * bucomm.c: Delete references to exit_handler. It wasn't set + anywhere, and now that we're using the libiberty xmalloc, it + wouldn't always get called before exiting. + (list_matching_formats): Function moved from objdump.c. + * bucomm.h: Declare it. + + * objdump.c (disassemble_data): Move some variable decls closer to + their use. Add some comments. Replace a nested block with a + return. + +Mon Jan 31 18:50:41 1994 Stan Shebs (shebs@andros.cygnus.com) + + * objdump.c (display_target_list, display_info_table): Check that + the bfd of the dummy output file is not null. + +Wed Jan 26 13:13:18 1994 David J. Mackenzie (djm@thepub.cygnus.com) + + * objcopy.c (filter_bytes): New function. + (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. + +Tue Jan 25 19:40:54 1994 Stan Shebs (shebs@andros.cygnus.com) + + * bucomm.c (print_arelt_descr): Change decl of `when' to time_t. + * objdump.h: Removed. + +Mon Jan 24 13:29:02 1994 David J. Mackenzie (djm@thepub.cygnus.com) + + * objdump.c (display_file): Remove call to list_matching_formats. + 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. + + * binutils.texi (objdump): Note some limitations of -h section + address printing. + +Sat Jan 22 16:20:46 1994 Stan Shebs (shebs@andros.cygnus.com) + + * Makefile.in (MALLOC): Set to emptiness by default. + (ALL_CFLAGS): Add and use. + (arparse.h): Make it depend on arparse.y. + * ar.c (libbfd.h): Don't require to be in ../bfd. + * objdump.c (comp): Rename to compare_symbols. + +Fri Jan 21 20:22:30 1994 David J. Mackenzie (djm@thepub.cygnus.com) + + * objdump.c (list_matching_formats): If the file format is ambiguous, + print the matching names so the user can choose one. + (display_bfd): Call it. + (display_file): Call it. + +Fri Jan 21 19:17:25 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * objdump.c (disassemble_data): Support bfd_arch_rs6000. + +Mon Jan 17 13:57:25 1994 Stan Shebs (shebs@andros.cygnus.com) + + * 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. + +Fri Jan 14 14:42:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * objcopy.c (strip_main, copy_main): Don't clobber the input file + if copy_file fails. + + * nlmconv.c (main): Warn about an attempt to use a shared library + with uninitialized data. + + * nlmconv.c (setup_sections): Make sure that we align the + output_offset of each input section appropriately. + +Thu Jan 13 17:32:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * objdump.c (dump_relocs): Don't crash if section name is NULL. + +Tue Jan 11 19:46:33 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * filemode.c (filemodestring): Commented out; not used. + (mode_string): Use POSIX definitions. + (ftypelet): Likewise. + (rwx): Removed; no longer used. + * bucomm.c: Include bucomm.h. + (bfd_nonfatal, bfd_fatal): Argument is const. + (fatal): Make __STDC__ version. + * bucomm.h (mode_string): Declare. + * Makefile.in (bucomm.o): Depend upon bucomm.h + +Sun Jan 9 12:03:20 1994 Ken Raeburn (raeburn@rtl.cygnus.com) + + * bucomm.c (xmalloc, xrealloc): Deleted. + * bucomm.h (xmalloc, xrealloc): Fix prototypes, to correspond to + libiberty version of functions. + +Thu Jan 6 06:18:15 1994 David J. Mackenzie (djm@thepub.cygnus.com) + + * binutils.texi: Add a chapter summarizing the ways to select + 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. + +Sat Jan 1 13:58:24 1994 David J. Mackenzie (djm@thepub.cygnus.com) + + * ar.c (main): Add \n in error message. + +Thu Dec 23 12:23:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + gcc -Wall lint: + * ar.c (main): Put parens around assignment used as truth value. + * objcopy.c (strip_main): Remove unused variables. Return 0. + (copy_main): Remove unused variables. Return 0. + * 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. + + * objcopy.c (copy_main): Use copy_options, not strip_options. + + * nlmheader.y (command): Warn about illegal date values. + +Wed Dec 15 11:18:03 1993 David J. MacKenzie (djm@frosty.eng.umd.edu) + + * bucomm.c bucomm.h: Run through indent. De-ansidecl-ify. + (bfd_nonfatal): New function. + (bfd_fatal): Call it. + + * objcopy.c (smart_rename): Do a copy if the dest file has + multiple hard links. Remove source file on successful copy. + Try to preserve mode and owner on successful rename. + + * objcopy.c: Run through indent. Clean up a bit. + Make global variables static. + Make {input,output}_{target,filename}, show_version local + to various functions. + New global variable `status' for exit status. + (strip_main, copy_main): New functions with code from main. + (nonfatal): New macro. Use it globally instead of bfd_perror and + bfd_fatal. + + (copy_object): Call mangle_sections with bfd_map_over_sections. + (mangle_sections): Adjust for new calling convention. + +Fri Dec 10 11:28:11 1993 Ian Lance Taylor (ian@deneb.cygnus.com) + + * nlmheader.y (command): Accept MAP and FULLMAP without arguments. + * nlmconv.c (main): Change error message for MAP and FULLMAP. + +Thu Dec 9 17:47:19 1993 Ian Lance Taylor (ian@deneb.cygnus.com) + + * nlmconv.c (main): Warn about imported symbols that are not in + the IMPORT list even if the IMPORT keyword is not used. + + * nlmconv.c (debug, unlink_on_exit): New static variables. + (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. + +Wed Dec 8 10:09:04 1993 Ian Lance Taylor (ian@deneb.cygnus.com) + + * nlmheader.y (nlmheader_identify): New function. Use it to print + the program name just once, instead of with every error message. + +Mon Dec 6 16:11:32 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * nlmconv.c (long_options): Changed --header-info to --header-file + to match documentation and usage message. + +Sun Dec 5 01:31:01 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + + * objdump.c (dump_relocs): Avoid dereferencing a NULL sym_ptr_ptr + in a relocation. + +Thu Dec 2 16:00:06 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * nlmconv.c (main): Change various types from bfd_size_type to + size_t, since they have to be arguments to fread and fwrite. + Change set from char * to unsigned char *. + (select_output_format): Make mach argument unsigned. Handle + bfd_arch_alpha. + (setup_sections): Don't copy the .reginfo section of an ECOFF + file. Call bfd_set_reloc to initialize the relocation fields. + (copy_sections): Don't copy the .reginfo section of an ECOFF file. + Combine all relocs for a section. + (mangle_relocs): Change type of relocs to permit specific + functions to change it. Call alpha_mangle_relocs for alpha, + default_mangle_relocs for other architectures. + (default_mangle_relocs): New function. Adjust the address of all + relocs by the output_offset. + (i386_mangle_relocs): Change type of relocs argument. Cast length + argument to memmove to size_t. + (alpha_mangle_relocs): New function. + +Wed Nov 17 17:38:58 1993 Sean Eric Fagan (sef@cygnus.com) + + * nlmconv.c (select_output_format): Use nlm32-sparc for + bfd_arch_sparc. + +Wed Nov 17 14:41:35 1993 Jeffrey Osier (jeffrey@thepub.cygnus.com) + + * nlmconv.1: added man page + * objcopy.1: fixed format errors + +Wed Nov 17 12:03:41 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * Makefile.in: Use CFLAGS as well as LDFLAGS when linking. + +Wed Nov 17 04:50:55 1993 David J. Mackenzie (djm@thepub.cygnus.com) + + * strings.1: Fix typo. + +Mon Nov 15 12:03:20 1993 Ken Raeburn (raeburn@rtl.cygnus.com) + + * Makefile.in (DISTSTUFF): Build "info". + (VERSION): Updated to cygnus-2.3.1; 2.3 has gone out. + +Sun Nov 14 00:27:24 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + + * objdump.c (dump_stabs): Handle stabs-in-som as implemented + by the new BFD SOM assembler. + +Sat Nov 13 07:14:05 1993 David J. Mackenzie (djm@rtl.cygnus.com) + + * ar.1 c++filt.1 nm.1 objcopy.1 objdump.1 ranlib.1 size.1 + strings.1 strip.1: Replace \(em in NAME section with \- so + makewhatis can grok it. + +Tue Nov 9 15:22:12 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * nlmconv.c (i386_mangle_relocs): Adjust reloc address by + section output_offset. + +Fri Nov 5 12:11:52 1993 Jeffrey Osier (jeffrey@thepub.cygnus.com) + + * binutils.texi: added nlmconv chapter + +Wed Nov 3 16:10:50 1993 Jeffrey Wheat (cassidy@cygnus.com) + + * Makefile.in: Change RUNTESTFLAGS to RUNTEST_FLAGS + +Wed Nov 3 15:09:23 1993 Ken Raeburn (raeburn@rover.cygnus.com) + + * Makefile.in (distclean): Don't get rid of dvi or info files. + +Tue Nov 2 13:29:59 1993 David J. Mackenzie (djm@rtl.cygnus.com) + + * objcopy.c (S_ISLNK): Define as 0 if there's no S_IFLNK. + +Fri Oct 29 16:02:34 1993 David J. Mackenzie (djm@thepub.cygnus.com) + + * binutils.texi: Move objcopy docs into alphabetical order. + + * objdump.c: Use xmalloc instead of malloc. + +Fri Oct 29 11:11:14 1993 Stan Shebs (shebs@rtl.cygnus.com) + + * objdump.c (info): Rename to formats_info. + (dump_stabs_1): Better comments and formatting. + +Thu Oct 28 19:43:16 1993 Stan Shebs (shebs@rtl.cygnus.com) + + * ar.c (main): Always create the archive when quick appending, + even if no input files have been given. + +Wed Oct 27 12:03:06 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * nlmconv.c (main): Set sharedDebugRecordOffset and + sharedDebugRecordCount fields in extended header. + + * nlmconv.c (main): Force moduleName field to upper case. + +Mon Oct 25 16:45:42 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * objcopy.c (main): Give a usage message if there are too many + arguments. + +Mon Oct 25 10:37:08 1993 Ken Raeburn (raeburn@rover.cygnus.com) + + * Makefile.in (install-info): Rewrite to take advantage of VPATH, + so FSF distributions (with info files in $(srcdir)) install + properly. + (DISTSTUFF): Build nlmheader.c too. + +Fri Oct 22 11:43:23 1993 Ken Raeburn (raeburn@rover.cygnus.com) + + * ar.c (program_name): Don't define here. + * objdump.c: Include "bucomm.h". + (xmalloc): Don't declare here. + (program_name): Don't define here. + (program_version): Fixed type in declaration. + * size.c: Include "bucomm.h". + (program_name): Don't declare here. + +Fri Oct 22 14:10:41 1993 Mark Eichin (eichin@cygnus.com) + + * objdump.c (fprintf): hide declaration in FPRINTF_ALREADY_DECLARED + +Fri Oct 1 12:43:00 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * nlmconv.c (i386_mangle_relocs): Resolve and remove PC relative + relocs against defined symbols in the same section. + +Thu Sep 30 16:46:26 1993 Roland H. Pesch (pesch@fowanton.cygnus.com) + + * Makefile.in (binutils.dvi): use TEXIDIR to find texinfo.tex + +Sat Sep 25 18:09:29 1993 David J. Mackenzie (djm@thepub.cygnus.com) + + * objcopy.c (simple_copy, smart_rename): New functions. + (main): Use them. + +Fri Sep 24 15:38:29 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * Makefile.in (clean, distclean): Recurse into testsuite. + +Thu Sep 23 01:05:06 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * objcopy.c (setup_sections, copy_sections): If stripping, don't + copy SEC_DEBUGGING sections. + * objdump.c (dump_headers): Print SEC_DEBUGGING flag. + + * objdump.c (usage): Mention --stabs. + + * objcopy.c (copy_object): Copy all applicable file flags. + (copy_file): Don't copy EXEC_P specially here. + +Mon Sep 20 19:28:57 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * nlmconv.c (main): Adjust data section size to correspond to bss + alignment adjustment. Clear BSF_SECTION_SYM if symbol is moved to + a different section. Use time_t for time variable. + (setup_sections): Only put sections with contents in output NLM. + (i386_mangle_relocs): No symbols are common at this point. Add + casts to avoid warnings. + +Fri Sep 10 11:00:40 1993 Stan Shebs (shebs@rtl.cygnus.com) + + * objdump.c: Made the --stabs option work for stabs-in-coff. + (ELF_STAB_DISPLAY): Removed. + (dump_elf_stabs): Renamed to dump_stabs, changed to run for + any object file format. + (dump_elf_stabs_1): Renamed to dump_stabs_1, added calls to + generic BFD routines for non-ELF case, changed format of message + for no-section-found case. + (display_bfd): Always call dump_stabs if requested. + (dump_data): Call bfd_section_size to get section size. + +Fri Sep 10 08:12:23 1993 David J. Mackenzie (djm@thepub.cygnus.com) + + * Makefile.in (install): Don't put strings in tooldir/bin. + +Mon Sep 6 15:39:04 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * nlmconv.c (total_bss_size): Removed. + (main): Set the bss vma to always follow the data section. Move + symbols into new sections, and adjust values by output_offset. + (setup_sections): Don't copy all sections, but instead point all + text sections to .text, all data sections to .data, and all bss + sections to .bss. + (copy_sections): Adjust accordingly. + +Thu Sep 2 12:34:03 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + Only build nlmconv if configured for a NetWare target. + * configure.in: If we have some *-*-netware* target, or are using + all targets, set BUILD_NLMCONV to $(NLMCONV_PROG) in Makefile. + * Makefile.in (PROGS): Use $(BUILD_NLMCONV) rather than + $(NLMCONV_PROG). + +Tue Aug 31 14:13:35 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) + + * objdump.c (ARCH_all): Define ARCH_hppa too. + (dump_headers): Don't test for SEC_BALIGN if it's not defined by + bfd.h. + +Tue Aug 31 13:29:12 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * nlmconv.c (main): Force creation of .bss section. Set up the + sections before looking at the symbols. Move all common symbols + into .bss section. Automatically define _edata and _end. Only + export symbols in the export list, with multiple prefixes if + necessary. Warn if no version. Always create extended header. + Set date automatically if not already set. + (setup_sections): Count size of bss sections. + (mangle_relocs, i386_mangle_relocs): Accept section argument, and + take reloc_count as a changeable pointer; changed callers. + (i386_mangle_relocs): Remove PC relative relocs within a section, + as they require no adjustment. + * nlmheader.y: Fixed memory allocation throughout: token STRING is + now allocated on the heap, and freed if not needed. Null + terminated copyright message. Accept version with only two + strings. + (symbol_list_opt): New nonterminal, either symbol_list or empty. + (symbol_list): Use left recursion to avoid overflowing parser + stack. + (yylex): Rearranged beginning of line check. Accept quoted + strings using single quotes. End generic argument at comment + character or parentheses. + (string_list_append): Fixed. + (string_list_append1): New function. + + * bucomm.h: The first argument to xrealloc is PTR, not char *. + * bucomm.c (xrealloc): Use PTR rather than char *. + * Makefile.in (objdump.o): Depend upon config.status to notice + --with-targets changes. + (nlmconv.o): Depend upon bucomm.h. + +Tue Aug 17 09:46:01 1993 David J. Mackenzie (djm@thepub.cygnus.com) + + * configure.in: Don't pass cpu to config.bfd. + +Thu Aug 12 16:43:04 1993 David J. Mackenzie (djm@thepub.cygnus.com) + + * Makefile.in ($(NM_PROG)): Depend on demangle.o. + (demangle.o): New target. + (cplus-dem.o): Depend on it, to force compilation order when doing + parallel compiles. + + * nm.c (print_symbol_info_{bsd,sysv,posix}): Take a bfd arg. + (struct output_fns print_symbol_info): Ditto. + (long_options, usage, main): Add -C --demangle option. + (print_symname): New function, demangling if requested. + (print_symbols, print_symbol_info_{bsd,sysv,posix}): Use it. + +Wed Aug 11 22:57:23 1993 David J. Mackenzie (djm@thepub.cygnus.com) + + * Makefile.in: Put CFLAGS last in compilation rules and omit from + linking rules. Use ARCHDEFS to compile objdump.c. + Update dependencies. + * configure.in: Construct ARCHDEFS based on the BFD target makefile + fragments. + * objdump.c: Conditionalize calls to the print_insn_ARCH functions + according to ARCHDEFS. + +Thu Aug 12 08:06:15 1993 Ian Lance Taylor (ian@cygnus.com) + + * ar.c: Removed obsolete and non-functional GNU960 code. + +Wed Aug 11 13:08:26 1993 Ian Lance Taylor (ian@cygnus.com) + + * size.c (berkeley_sum): New function. + (bsssize, datasize, textsize): New global variables. + (bss_section_name, data_section_name, text_section_name): Removed. + (print_berkeley_format): Map berkeley_sum over all the sections, + rather than only reporting sizes of specifically named sections. + * Makefile.in ($(OBJDUMP_PROG)): Removed dependency on size.o. + +Tue Aug 10 10:46:01 1993 Ian Lance Taylor (ian@cygnus.com) + + * nlmconv.c, nlmconv.h, nlmheader.y: New files for program to + convert object files into NetWare Loadable Modules. + * Makefile.in (NLMCONV_PROG): New macro, define to be nlmconv. + (PROGS): Add NLMCONV_PROG. + (nlmheader.c, nlmheader.o, nlmconv.o, $(NLMCONV_PROG)): New + targets. + +Thu Aug 5 15:48:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) + + * Makefile.in: define MAKEOVERRIDES to an empty string + +Wed Aug 4 17:08:08 1993 David J. Mackenzie (djm@thepub.cygnus.com) + + * objcopy.c (copy_file): Make failures to process a file nonfatal. + +Mon Aug 2 11:28:23 1993 David J. Mackenzie (djm@thepub.cygnus.com) + + * nm.c: Add -B option, like --format=bsd. + +Tue Jul 27 16:29:54 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * objcopy.c (copy_file): If the file is neither an object nor an + archive, give an error rather than returning success. + +Mon Jul 19 16:13:40 1993 Ken Raeburn (raeburn@rtl.cygnus.com) + + * objdump.c (objdump_print_address): Prefer non-local symbols over + local ones, and especially discriminate against debugging symbols. + Also, for relocateable files, try to find a symbol in the current + section, instead of picking one from some random section with a + convenient value (read, section offset). + (disassemble_data): Cast argument to malloc to size_t first. + (dump_data): Likewise. + (dump_relocs): If a single section name is specified, show relocs + only for that section. Otherwise, silently omit sections without + relocs. Format table nicely even if values are printed using 16 + digits instead of 8. + +Fri Jul 16 15:19:59 1993 David J. Mackenzie (djm@thepub.cygnus.com) + + * nm.c: Changes for final version of POSIX.2. + (print_symbol_filename_{bsd,sysv,posix}): New functions. + (formats): Add an element for a pointer to them. + (print_symbols): Call it. + (print_object_filename_posix, print_archive_member_posix): Produce + output according to new POSIX.2 spec. + + * strings.c (print_strings): Handle STREAM being NULL. + (strings_a_section): Pass a NULL. + (main): Don't open /dev/null. + +Thu Jul 15 12:44:09 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * objdump.c (disassemble_data): Handle the m88k. + (display_bfd): Use bfd_errmsg, rather than just claiming that the + bfd is not an object file. + +Mon Jul 12 17:55:34 1993 K. Richard Pixley (rich@cygnus.com) + + * Makefile.in (TAGS): make work again by naming directories + explicitly rather than depending on undefined macros. + (INSTALL_XFORM): correct bad install target. + +Fri Jul 2 16:58:34 1993 David J. Mackenzie (djm@thepub.cygnus.com) + + * strings.c: Doc fixes. + +Sun Jun 27 13:35:24 1993 David J. Mackenzie (djm@thepub.cygnus.com) + + * Makefile.in: Note dependencies on bucomm.h. + (cplus-dem.o): Link c++filt with version.o. + + * strings.c: Include bucomm.h and add prototypes to other decls. + Remove -h option. + + * bucomm.h: Declare xrealloc. + + * nm.c, objcopy.c, objdump.c, size.c, strings.c (main, usage): Add + --help option. Put "GNU" in the version message. + (usage): Take stream and exit status as args. + (main): Pass new args to usage. + +Fri Jun 25 23:12:12 1993 David J. Mackenzie (djm@thepub.cygnus.com) + + * strings.c, strings.1: New files. + * binutils.texi: Document strings. + * Makefile.in: Add rules for it. + +Fri Jun 25 20:44:43 1993 Ken Raeburn (raeburn@poseidon.cygnus.com) + + * objdump.c: Use size-independent bfd elf section names. + +Sun Jun 20 23:09:06 1993 Ken Raeburn (raeburn@poseidon.cygnus.com) + + * objdump.c (objdump_print_address): Handle wide offsets by + calling sprintf_vma. + +Fri Jun 18 14:29:12 1993 Per Bothner (bothner@deneb.cygnus.com) + + * objdump.c (syms2): Removed unused variable. + * objdump.c (remove_useless_symbols): New function. + * objdump.c (comp): Simplify. + * objdump.c (dis-assemble_data): Make simpler and more + efficient how we filter out useless symbols: Just filter + BEFORE the sort (using remove_useless_symbols). + * objdump.c (objdump_print_address): Simplify. + Change output syntax to match gdb. + +Thu Jun 17 16:53:56 1993 david d `zoo' zuhn (zoo@cygnus.com) + + * Makefile.in: canonicalize install.sh; for use within + this directory (and subdirs) + +Mon Jun 14 12:13:22 1993 david d `zoo' zuhn (zoo at rtl.cygnus.com) + + * Makefile.in (install, install-info): remove parentdir support, + use INSTALL_XFORM; define INSTALL_XFORM + +Thu Jun 10 17:29:21 1993 Per Bothner (bothner@cygnus.com) + + * objcopy.c (copy_object): Fix bad size passed to xmalloc(). + +Mon Jun 7 12:41:12 1993 Per Bothner (bothner@rtl.cygnus.com) + + * Makefile.in (INCLUDES): Add -I../bfd for sysdep.h and bfd.h. + * configure.in: No longer need to configure to get sysdep.h. + * objcopy.c (copy_object): Fix symbol table handling. + +Fri Jun 4 17:20:03 1993 Per Bothner (bothner@cygnus.com) + + * objcopy.c (filter_symbols): Cannot filter the symbols + in place, because that confuses the relocs, so take separate + parameter for output array. + * objcopy.c (sympp): Make two variables: isympp and osympp. + * objcopy.c (copy_object): Allocate separate array (osympp) + for filtered symbols. + +Fri Jun 4 10:51:44 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) + + * Makefile.in: change recursion test to presence of a configured + testsuite directory + +Thu Jun 3 14:05:57 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) + + * Makefile.in (underscore.c): Hack the backquoted command so it + doesn't cause Solaris make to bomb. + +Thu Jun 3 10:40:19 1993 Jeffrey Osier (jeffrey@cygnus.com) + + * Makefile.in: added c++filt and objcopy to MANPAGES variable + +Thu Jun 3 00:32:52 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) + + * Makefile.in: rename LOADLIBES to EXTRALIBS + +Wed Jun 2 18:30:24 1993 Jeffrey Osier (jeffrey@cygnus.com) + + * c++filt.1, objcopy.1: new man pages + +Fri May 28 15:01:24 1993 Per Bothner (bothner@rtl.cygnus.com) + + * Makefile.in (install): Also install ar and ranlib in + $(tooldir)/bin; needed for building libgcc.a. + * objdump.c (objdump_print_address): Fix the check + "coincidental" label matches by dis-allowing undefined + or com symbols. + +Thu May 27 16:58:31 1993 Jeffrey Osier (jeffrey@cygnus.com) + + * biutils.texi: revised c++filt chapter + +Wed May 26 17:24:17 1993 Ian Lance Taylor (ian@cygnus.com) + + * Makefile.in (FLAGS_TO_PASS): Pass down CC and CFLAGS. + +Tue May 25 00:26:47 1993 Ken Raeburn (raeburn@cygnus.com) + + * objdump.c (slurp_symtab): Print warning for bad symbol table. + (bfd_elf32_find_section, Elf32_Internal_Shdr): Updated + declarations and uses. + + * Makefile.in (DISTSTUFF): Don't build binutils.mm. + +Fri May 21 10:51:19 1993 David J. Mackenzie (djm@rtl.cygnus.com) + + * nm.c: Add -f/--format, -P/--portability, -t/--radix options. + Make global variables static. + (main): Make -v like -n, not -V, and make -A like -o, for POSIX.2. + (set_print_radix, set_output_format, + print_{object_filename,archive_filename,archive_member,symbol_info} + {bsd,sysv,posix}): New functions. + (display_file, print_symbols): Call them. + + * ar.c: Improve error messages. + + * nm.c (main): Handle long options that just set a flag. + + * nm.c (main), ar.c (do_show_version), objcopy.c (main), size.c + (main): Exit after printing the version number, per the GNU coding + standards. + +Mon May 17 13:20:25 1993 Per Bothner (bothner@cygnus.com) + + * README, Makefile.in: Minor updates for 2.2. + +Fri May 14 11:12:26 1993 Per Bothner (bothner@cygnus.com) + + * Makefile.in (underscore.c): Automatically generate + (using nm) a file with the variable prepends_underscore. + * Makefile.in (c++filt): Link underscore.o with cplus-dem.o + so that initial underscores get removed iff appropriate. + * binutils.texi: Preliminary documentation for c++filt. + * Makefile.in, binutils.texi: Set to version 2.2. + + * NEWS: Mention copy->objcopy renaming and new c++filt program. + +Wed May 12 12:05:36 1993 Ian Lance Taylor (ian@cygnus.com) + + * Makefile.in (cplus-dem.o, $(DEMANGLER_PROG)): Build the + demangler via cplus-dem.o, rather than directly from the .c file. + + * objcopy.c: Renamed from copy.c, updated comments accordingly. + * Makefile.in, binutils.texi: Renamed copy to objcopy. + * is-strip.c, maybe-strip.c, not-strip.c: Updated comments for + rename of copy to objcopy. + +Mon May 10 17:20:18 1993 Per Bothner (bothner@cygnus.com) + + * binutils.texi (strip, -v option): Fix typo. + +Fri May 7 13:57:50 1993 Ian Lance Taylor (ian@cygnus.com) + + * Makefile.in (RUNTEST): Define. + (FLAGS_TO_PASS): Pass down RUNTEST. + +Tue May 4 10:06:50 1993 Ian Lance Taylor (ian@cygnus.com) + + * Makefile.in (DEMANGLER_PROG): Name it c++filt. + (PROG): Also build and install COPY_PROG. + +Mon May 3 19:11:48 1993 Per Bothner (bothner@cygnus.com) + + * Makefile.in: Change definition of $(tooldir) to match FSF. + +Wed Apr 28 23:41:32 1993 David J. Mackenzie (djm@rtl.cygnus.com) + + * size.c (usage): Add missing options. + (main): Clean up option parser. + + * objdump.c (usage): Add missing options. + (display_file): Print program name before calling + bdf_perror. + + * nm.c (usage): Add missing options. + (main): Clean up option parser. + (display_file): Print program name before calling + bdf_perror. + + * copy.c (copy_usage, strip_usage): Add missing options. + + * ar.c (usage): New function. + (main): Call it. + (open_inarch, do_quick_append): Print program name before calling + bdf_perror. + +Thu Apr 22 15:01:35 1993 Ian Lance Taylor (ian@cygnus.com) + + * nm.c (main): Accept and ignore -A and -B for MIPS compatibility. + +Mon Apr 19 14:06:59 1993 Rob Savoye (rob@cygnus.com) + + * Makefile.in: Added FLAGS_TO_PASS so tests get run on freshly + built binaries if they exist. (otherwise the path) + +Wed Apr 7 22:22:50 1993 Rob Savoye (rob@cygnus.com) + + * Makefile.in: Changed check target to use DejaGnu. + +Thu Apr 1 12:37:13 1993 Jim Kingdon (kingdon@cygnus.com) + + * Makefile.in: Remove am29k-pinsn.c, i960-pinsn.c. + objdump.c: a29k and i960 are `disassemble' not `print'. + + * objdump.c: Rename print_address to objdump_print_address + and change parameters. + (disassemble_data): Use objdump_print_address. + +Wed Mar 31 10:25:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * objdump.c (disassemble_data): print_insn_sparc is now a + `disassemble' not a `print'. + Makefile.in: Remove sparc-pinsn.c (now in libopcodes.a). + + * objdump.c (disassemble_data): Use new read_memory_func stuff. + +Thu Mar 25 10:38:11 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) + + * objdump.c (fprintf): Declaration of variadic function had better + be a prototype for ANSI C systems. + +Mon Mar 22 23:19:46 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) + + * Makefile.in: rename test-install to install-check + +Fri Mar 19 14:40:08 1993 Steve Chamberlain (sac@thepub.cygnus.com) + + * objdump.c (disassemble_data): Add H8500. + +Fri Mar 19 10:56:51 1993 Jim Kingdon (kingdon@cygnus.com) + + * objdump.c (usage): Mention long options. + +Thu Mar 18 14:22:17 1993 Per Bothner (bothner@rtl.cygnus.com) + + * nm.c: Modify behavior of -o flag for archives to match + BSD4.4 and Sunos 4: Prefix archive name before each line. + + * m68k-pinsn.c: Removed. Subsumed by ../opcodes/m68k-dis.c. + * i386-pinsn.c: Removed. Subsumed by ../opcodes/i386-dis.c. + * Makefile.in: Adjust accordingly. + * objdump.c: Support new-style disassemblers (ones that use + the interface of ../include/dis-asm.h). + +Thu Feb 25 15:57:00 1993 Per Bothner (bothner@rtl.cygnus.com) + + * Makefile.in: When making tar file, remove texinfo/*, + except for texinfo/texinfo.tex. + * ardup.c: Add extern declaration of strdup. + * Makefile.in (testsuite): Add 'else true' since otherwise + Ultrix /bin/sh complains. + +Wed Feb 24 19:44:18 1993 Per Bothner (bothner@rtl.cygnus.com) + + * Makefile.in: Set VERSION to 2.1. + * README, NEWS: Updates. + * nm.c: Add -v as a synonym for -V. + +Tue Feb 23 19:00:50 1993 Mike Werner (mtw@poseidon.cygnus.com) + + * configure.in: added testsuite to configdirs. + * Makefile.in: added support for building testsuite. + +Mon Feb 22 22:52:10 1993 Per Bothner (bothner@rtl.cygnus.com) + + * objdump.c (disassemble_data): Print function names when + given by bfd_find_nearest_line. If not - still print + line numbers. + +Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com) + + * binutils/testsuite: made modifications to testcases, etc., to allow + them to work properly given the reorganization of deja-gnu and the + relocation of the testcases from deja-gnu to a "tool" subdirectory. + +Mon Feb 22 10:27:24 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) + + * objdump.c (dump_data): Free up section contents each time + through the loop. Reported by minyard@bnr.ca. + +Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com) + + * binutils/testsuite: Initial creation of binutils/testsuite. + Migrated dejagnu testcases and support files for testing nm to + binutils/testsuite from deja-gnu. These files were moved "as is" + with no modifications. This migration is part of a major overhaul + of dejagnu. The modifications to these testcases, etc., which + will allow them to work with the new version of dejagnu will be + made in a future update. + +Fri Feb 12 10:05:20 1993 Fred Fish (fnf@cygnus.com) + + * Makefile.in (LIBIBERTY_SRC_DIR, LIBIBERTY_BIN_DIR): New macros. + * Makefile.in (LIBIBERTY): Use LIBIBERTY_BIN_DIR. + * Makefile.in (DEMANGLER_PROG): New program to build. Add macro + and rule. + * Makefile.in (PROGS): Add DEMANGLER_PROG. + +Tue Jan 26 11:56:33 1993 Ian Lance Taylor (ian@cygnus.com) + + * copy.c, nm.c, objdump.c, size.c: Use new bfd_is_com_section + macro rather than checking for equality to bfd_com_section. + +Fri Jan 8 15:50:05 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * objdump.c (disassemble_data): Fix code to find first useless + symbol. + +Thu Jan 7 13:13:31 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * objdump.c (disassemble_data): Use mips_print_insn for MIPS. + Don't core dump if bfd_find_nearest_line returns false. + +Wed Jan 6 17:14:01 1993 Steve Chamberlain (sac@thepub.cygnus.com) + + * objdump.c (disassemble_data): know how to disassemble z8000s + too. + +Wed Jan 6 15:16:27 1993 Per Bothner (bothner@cygnus.com) + + * arsup.h (interactive), bucomm.h (program_name): Prefix + with 'extern', to avoid warnings from some compilers. + +Wed Jan 6 15:14:11 1993 Per Bothner (bothner@rtl.cygnus.com) + + * arparse.y: fix unnecessary shift/reduce + +Tue Dec 22 15:46:56 1992 Per Bothner (bothner@rtl.cygnus.com) + + * Makefile.in: Make check depend on all. + * Makefile.in (distclean): Remove sysdep.h. + * size.c: Use %u format where appropriate. + * objdump.c: Standardize: L_SET -> SEEK_SET. + * objdump.c: Use new macro bfd_asymbol_bfd. + * configure.in: Allow std-host as the default ${mys_host}. + +Thu Dec 17 19:38:19 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) + + * Makefile.in: added dvi target, define and use TEXI2DVI + +Tue Dec 15 18:05:07 1992 Per Bothner (bothner@cygnus.com) + + * Makefile.in (dist): Fix permissions before release. + * size.c: Use bfd_size_type (and long) where appropriate. + * ar.c: Make writing a map the default, to be compatible + with SYSV and Posix.2. Remove some bogus kludges that + handled __.SYMDEF directly. + * NEWS: New file. + +Mon Nov 9 13:36:53 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) + + * Makefile.in: flex no longer needs the -S flag + +Sat Nov 7 15:06:13 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) + + * ar.c (extract_file): utime needs a pointer to a utimbuf + + * Makefile.in: handle -I includes better, adding $(BASEDIR)/bfd to + the list (since some of the bfd/hosts/*.h files include other + files from that directory) + +Fri Nov 6 00:12:51 1992 John Gilmore (gnu@cygnus.com) + + * i960-pinsn.c (MEM_MAX, MEM_SIZ): Set upper bound properly. + +Thu Nov 5 03:37:15 1992 John Gilmore (gnu@cygnus.com) + + Clean up some old BFD ansification macros. + + * arsup.h, bucomm.h, objdump.h: Remove EXFUN from binutils. + It still remains as a local macro in gmalloc.c, which is derived + from some other copy of GNU Malloc somewhere (FIXME). + + * ar.c, objdump.c, size.c: Replace EXFUN with PROTO. Make static + fns really static. + * arsup.h: Declare extract_files. + +Mon Nov 2 12:42:11 1992 Ian Lance Taylor (ian@cygnus.com) + + * ar.c (extract_file): instead of checking USG: if POSIX_UTIME, + use utime and utimbuf structure, otherwise if USE_UTIME use utime + and array of two longs, otherwise use utimes. + +Thu Oct 15 13:57:35 1992 Per Bothner (bothner@cygnus.com) + + * binutils.tex: Document yesterday's changes to strip and copy. + +Wed Oct 14 13:22:14 1992 Per Bothner (bothner@cygnus.com) + + * copy.c: Re-do command-line parsing to use getopt_long(). + Add long option names. Re-think option letters to be more + consistent. + * copy.c: New function filter_symbols() for stripping only + debug-symbols and/or local symbols. Use these to support + the previously-missing options of the old FSF strip. + +Tue Oct 13 01:24:20 1992 John Gilmore (gnu@cygnus.com) + + * configure.in (host): Use ${srcdir}/../bfd/configure.host rather + than repeating a copy of it here. + +Wed Oct 7 12:53:52 1992 Ken Raeburn (raeburn@cygnus.com) + + * copy.c (main): Even if is_strip, accept -d argument indicating + alternate output format. Needed by gdb for Nindy. + + * m68k-pinsn.c (print_insn_arg): Handle new "`" operand type. + +Tue Oct 6 16:33:56 1992 Jeffrey Osier (jeffrey@cygnus.com) + + * binutils.texi: added documentation for "copy" + +Tue Oct 6 14:22:56 1992 Per Bothner (bothner at PersSony) + + * Makefile.in (*clean rules): Some cleaning up. + * Makefile.in (dist): Make diststuff in gprof for a dist. + + * ar.c (do_show_version): New function. + * ar.c (main): Fix so "ar -V" works. + +Thu Oct 1 22:44:45 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) + + * configure.in: now uses the cpu-vendor-os triple instead of + nested cases. + +Fri Sep 25 22:41:08 1992 John Gilmore (gnu@cygnus.com) + + * i960-pinsn.c: Change bzero to memset. + * sparc-pinsn.c: Change index to strchr. + +Mon Sep 21 14:39:56 1992 Ian Lance Taylor (ian@cygnus.com) + + * m68k-pinsn (print_insn_arg, fetch_arg): added support for + operands to memory management instructions, from WRS. + +Tue Sep 15 15:26:38 1992 Ian Lance Taylor (ian@cygnus.com) + + * Makefile.in (install): if $(tooldir) exists, install nm and + strip in $(tooldir)/bin. + +Thu Sep 3 11:57:40 1992 Per Bothner (bothner@rtl.cygnus.com) + + * Makefile.in: Let's call it version 2.0. + +Wed Sep 2 00:25:13 1992 Per Bothner (bothner@rtl.cygnus.com) + + * Makefile.in: Bump to version 0.98. + * TODO, README: Minor updates. + + * Makefile.in: Added mostlyclean, distclean rules, + and cleaned up clean, realclean. + +Sun Aug 30 21:18:59 1992 Ian Lance Taylor (ian@cygnus.com) + + * Makefile.in: map program names through program_transform_name + when installing. + +Sun Aug 30 18:09:03 1992 Per Bothner (bothner@rtl.cygnus.com) + + * Makefile.in: Bump to versions 1.97.90. + * cplus-dem.c: Removed. Was nowhere used - and if some + programs are changed to to demangling should now use the + versions in libiberty. + +Thu Aug 27 12:58:09 1992 Brendan Kehoe (brendan@cygnus.com) + + * configure.in: add we32k + +Mon Aug 24 14:53:42 1992 Steve Chamberlain (sac@thepub.cygnus.com) + + * ar.c (map_over_members): if the element of the archive has a + null name, fill it in. + + * nm.c (do_one_rel_file): only warn if a bfd's flags say there + will be symbols and there aren't any. + +Wed Aug 19 11:20:25 1992 Ian Lance Taylor (ian@cygnus.com) + + * m68k-pinsn.c: handle new operand type 'r', introduced for cas2. + +Tue Aug 18 20:45:48 1992 Rob Savoye (rob@cygnus.com) + + * nm.c objdump.c: Added support for a +version (-V) + to print the version number. + + * ar.c, copy.c: Added support for a -V option to print + the version number. + +Tue Aug 18 13:28:44 1992 Ian Lance Taylor (ian@cygnus.com) + + * config/mh-apollo68v: removed -g from CC definition. + + * Makefile.in: always create installation directories. + +Mon Aug 17 18:33:41 1992 Per Bothner (bothner@rtl.cygnus.com) + + * m68k-pinsn.c: Minor fix in style of output (don't use + range to indicate floating point control registers). + +Tue Aug 11 23:42:21 1992 Per Bothner (bothner@cygnus.com) + + * ar.c (main): Don't *always* set the verbose flag! + +Wed Aug 5 11:25:27 1992 Per Bothner (bothner@rtl.cygnus.com) + + * copy.c: When is_strip (because it is invoked as the strip + program), follow traditional argv processing: + 'strip file1 file2' now strips file1 and file2, rather + than stripping file1 (as input), leaving output in file2. + +Mon Jul 27 16:28:08 1992 Per Bothner (bothner@rtl.cygnus.com) + + * objdump.c (display_info, display_info_table): Call + bfd_set_format() on dummy bfd before using it (twice). + * ar.c: Make sure archive is created on command 'r' + even when no elements are inserted. (Clean up and + simplify some non-working related code.) + +Mon Jul 20 02:48:38 1992 D. V. Henkel-Wallace (gumby@cygnus.com) + + * configure.in: hppa support doesn't assume hp OS (from sef). + +Sat Jul 18 14:35:22 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) + + * configure.in: recognize hppa hosts (bsd & hpux), error messages + to stderr, not stdout + +Fri Jul 17 18:39:44 1992 K. Richard Pixley (rich@rtl.cygnus.com) + + * ar.1, binutils.texi, i960-pinsn.c, nm.1, objdump.1, ranlib.1, + size.1, sparc-pinsn.c, strip.1: removed rcsid's. + +Thu Jul 16 16:55:24 1992 K. Richard Pixley (rich@rtl.cygnus.com) + + * Makefile.dos: removed rcsid. + +Thu Jul 16 08:23:07 1992 Steve Chamberlain (sac@thepub.cygnus.com) + + * objdump.c (display_bfd): print state of BFD_IS_RELAXABLE too + +Tue Jun 30 20:26:15 1992 D. V. Henkel-Wallace (gumby@cygnus.com) + + * Makefile.in: Add program_suffix (parallel to program_prefix) + +Thu Jun 25 04:52:45 1992 John Gilmore (gnu at cygnus.com) + + * nm.c (sorters): Lint. Remove excess whitespace. + +Wed Jun 24 13:48:07 1992 Per Bothner (bothner@cygnus.com) + + * nm.c (valueof macro): Add missing parentheses. + (Their lack screwed up numeric_forward().) + +Sun Jun 14 10:33:27 1992 John Gilmore (gnu at cygnus.com) + + * objdump.c (dump_elf_stabs): Also dump .stab.index and + .stab.excl sections. + (dump_elf_stabs_1): Split out main body of old dump_elf_stabs. + * objdump.1, binutils.texi: Document new sections dumped. + +Fri Jun 12 22:23:35 1992 John Gilmore (gnu at cygnus.com) + + * size.c, objdump.c, bucomm.c: Lint. + +Thu Jun 11 01:19:06 1992 John Gilmore (gnu at cygnus.com) + + * objdump.c (dump_elf_stabs): New feature: --stabs prints out a + .stab section from an ELF file. Installed under #ifdef + ELF_STAB_DISPLAY so it can be easily disabled, since it requires + bfd-internals header files and such. + * objdump.1, binutils.texi: Update for --stabs. Also fix + objdump's doc to use -- rather than + for long options. + (FIXME: Not yet fixed everywhere in binutils.texinfo.) + +Wed Jun 10 07:53:24 1992 Steve Chamberlain (sac@thepub.cygnus.com) + + * objdump.c(display_info), patches from + mohring@informatik.tu-muenchen.de to print the table much more + nicely. + +Thu May 28 13:36:16 1992 Per Bothner (bothner@rtl.cygnus.com) + + * objdump.c: Add another enum->int cast, for the sake of + old compilers (such as PCC). + +Wed May 27 13:01:44 1992 Per Bothner (bothner@rtl.cygnus.com) + + * arlex.l: Don't include <sysdep.h> (unneeded conflicts). + Add declaration of strdup(). + +Fri May 22 13:40:37 1992 Per Bothner (bothner@cygnus.com) + + * Makefile.in: Use srcdir instead of VPATH in ldgram/ldlex + rules, since these are used when building a distribution. + * Makefile.in (arlex.c): Don't re-direct output, since that + leaves a bogus output files if it fails. + + * arlex.l: Make work with lex, for what it's worth. + * Makefile.in: Better lex support. + * Makefile.in (dist): Generate flex and bison outputs + for distribution. + +Thu May 14 17:17:59 1992 K. Richard Pixley (rich@rtl.cygnus.com) + + * Makefile.in: get BISON definition right. + +Fri May 8 07:47:08 1992 K. Richard Pixley (rich@cygnus.com) + + * sanity.sh: default TMPDIR to ".". + +Thu May 7 12:34:50 1992 Roland H. Pesch (pesch@fowanton.cygnus.com) + + * binutils.texi: add doc for ar command language. + +Wed May 6 18:05:36 1992 Steve Chamberlain (sac@thepub.cygnus.com) + + * arparse.y: make END call ar_end + * arsup.c (ar_end): added, deletes temp file if archive session + aborted. + + +Wed May 6 11:08:53 1992 K. Richard Pixley (rich@rtl.cygnus.com) + + * Makefile.in: use bison & flex from ../ if they exist. Also, + FLEX->LEX. + + * sanity.sh: remove temporary directory when finished. + +Tue May 5 12:00:58 1992 Per Bothner (bothner@rtl.cygnus.com) + + * Makefile.in: Bump to version 1.97. + * ar.c: Declare errno for machines that need it. + +Mon May 4 23:29:51 1992 John Gilmore (gnu@cygnus.com) + + * objdump.c (display_info): Handle error cases without coredump. + Close the dummy temporary file we open in the loop. + * Makefile.in (arsup.o): Add kludge to build with Sun Make. + +Fri May 1 16:20:23 1992 K. Richard Pixley (rich@cygnus.com) + + * Makefile.in: added test-install target. + + * sanity.sh: new file. + + * Makefile.in: use sanity test on make check. + +Tue Apr 21 13:38:37 1992 K. Richard Pixley (rich@cygnus.com) + + * Makefile.in: rework CFLAGS so that they can be passed on the + command line to make. Remove MINUS_G. Default CFLAGS to -g. + +Wed Apr 15 14:33:07 1992 Steve Chamberlain (sac@thepub.cygnus.com) + + * arsup.c, arsup.h, arparse.y, arlex.l: support for archive + scripting language. + +Fri Mar 6 21:54:53 1992 K. Richard Pixley (rich@cygnus.com) + + * Makefile.in: added check target. + +Thu Mar 5 21:35:49 1992 K. Richard Pixley (rich@cygnus.com) + + * Makefile.in: added clean-info target. + +Tue Mar 3 15:36:37 1992 K. Richard Pixley (rich@rtl.cygnus.com) + + * Makefile.in: remove $(COPY_PROG) from PROGS. It shouldn't be + installed. added tooldir and program_prefix. + +Wed Feb 26 18:04:40 1992 K. Richard Pixley (rich@cygnus.com) + + * Makefile.in, configure.in: removed traces of namesubdir, + -subdirs, $(subdir), $(unsubdir), some rcs triggers. Forced + copyrights to '92, changed some from Cygnus to FSF. + +Sun Feb 16 12:53:02 1992 Per Bothner (bothner at cygnus.com) + + * Makefile.in: Bump version to 1.96, and remove -beta + suffix from distribution name. + * m68k-pinsn.c: New macro COERCE_SIGNED_CHAR to extract + the signed value of a character (even if chars are unsigned). + * sparc-pinsn.c: Add new operand types. + +Thu Feb 6 12:14:19 1992 Steve Chamberlain (sac at rtl.cygnus.com) + + * objdump.c (disassemble_data): don't print a section's contents + if it's not loadable (eg bss) + +Tue Jan 28 11:11:06 1992 Steve Chamberlain (sac at rtl.cygnus.com) + + * m68k-pinsn.c (print_insn_arg): fixed so that -ve branch + displacements don't get printed as large +ve ones. + +Fri Jan 24 14:47:53 1992 Steve Chamberlain (sac at rtl.cygnus.com) + + * copy.c, nm.c, objdump.c, size.c : changed to use the + new reloc scheme. + + +Mon Dec 30 18:34:41 1991 Per Bothner (bothner at cygnus.com) + + * bucomm.c (print_arelt_descr): Tweek the output format + so that 'ar tv' output follows Posix 1003.2/D11. + Output is now also identical to Sun's (except __.SYMDEF). + +Mon Dec 30 06:09:53 1991 John Gilmore (gnu at cygnus.com) + + * Makefile.in: Make `make' output more readable. + +Wed Dec 18 15:04:45 1991 Per Bothner (bothner at cygnus.com) + + * Makefile.in: Bump to version 1.94. + +Wed Dec 11 16:48:09 1991 Steve Chamberlain (sac at cygnus.com) + + * ar.c: added "b" to fopens for dos + * configdj.bat, makefile.dos new files from DJ + +Tue Dec 10 04:07:26 1991 K. Richard Pixley (rich at rtl.cygnus.com) + + * Makefile.in: infodir belongs in datadir. + +Sat Dec 7 17:09:37 1991 Steve Chamberlain (sac at rtl.cygnus.com) + + * bucomm.h: created to hold prototypes of bucomm.c + * objdump.h: created to hold prototyes of objdump.c + * am29k-pinsn.c: include objdump.h + * ar.c: include bucomm.h, get ar.h from the right place and + include libbfd.h + * bucomm.c: defunize bfd_fatal + * copy.c: include bucomm.h, lint. + * i960-pinsn.h: include bucomm.h + * m68k-pinsn.h: lint + * nm.c: include bucomm.h, lint + * objdump.c: lint + * sparc-pinsn.c: include objdump.h + + + +Fri Dec 6 23:02:14 1991 K. Richard Pixley (rich at rtl.cygnus.com) + + * Makefile.in: added standards.text support. install using + INSTALL_PROGRAM and INSTALL_DATA. + + * configure.in: configure now does all of it's work from objdir so + make file existence tests against ${srcdir}. + +Thu Dec 5 22:46:22 1991 K. Richard Pixley (rich at rtl.cygnus.com) + + * Makefile.in: idestdir and ddestdir go away. Added copyrights + and shift gpl to v2. Added ChangeLog if it didn't exist. docdir + and mandir now keyed off datadir by default. + +Wed Dec 4 22:42:03 1991 Per Bothner (bothner at cygnus.com) + + * Makefile.in: Bump to version 1.93. + * Makefile.in: Add make-strip.o:maybe-strip.c dependency + for make versions that provide half-baked VPATH-support (e.g. Sun's). + * size.c: Improvements suggested by + "david d [zoo] zuhn" <zoo@aps1.spa.umn.edu>: + - Don't emit (Berkeley) headers if no files were found. + - Return a non-zero return code on failure. + +Sat Nov 30 21:34:19 1991 Steve Chamberlain (sac at rtl.cygnus.com) + + Changes due to include file renaming: + * am29k-pinsn.c: a29k-opcode.h -> opcode/a29k.h + * sparc-pinsn.c: sparc-opcode.h -> opcode/sparc.h + * m68k-pinsn.c: m68k-opcode.h -> opcode/m68k.h + * nm.c: stab.gnu.h -> aout/stab_gnu.h + +Tue Nov 19 19:20:43 1991 Per Bothner (bothner at cygnus.com) + + * README: Mention MINIMIZE flag for bfd's make. + +Mon Nov 18 12:05:37 1991 Per Bothner (bothner at cygnus.com) + + * README: Various improvements. + +Sun Nov 17 23:40:59 1991 Per Bothner (bothner at cygnus.com) + + * Makefile.in: Bump to version 1.92. + * version.c, Makefile.in: Get version string from Makefile. + * copy.c, is-strip.c, not-strip.c, maybe-strip.c, Makefile.in: + Make the same change that we earlier did for ar/ranlib: + Generate two different binaries for strip and copy and use + a global variable with different values to distinguish + ostrip from copy. (-1 means to use argv[0] to decide, + so you can get the old behavior, but it is no longer the default). + * copy.c (copy_file): Set EXEC_P of output bfd if input is so. + * copy.c (main): If is_strip==-1, compare last 5 chars + of argv[0], not the whole path. + * copy.c (main): Return 0, not 1. + * copy.c (setup_sections): Fix due to change in bfd_make_section + now failing if asked for a duplicate section. + * strip.c, ostrip.c: Removed obsolete files. + * ar.c, not-ranlib.c, maybe-ranlib.c: + Change encoding of is_ranlib variable to be consistent + with is_strip for strip.copy (i.e -1 to means use argv[0]). + +Thu Nov 14 20:11:02 1991 Per Bothner (bothner at cygnus.com) + + * version.c (program_version): Update to version 1.92. + +Tue Nov 12 16:17:53 1991 Per Bothner (bothner at cygnus.com) + + * ar.c (get_pos_bfd): Previous fix was missing a "break". + +Thu Nov 7 08:55:56 1991 Steve Chamberlain (sac at cygnus.com) + + * am29k-pinsn.c: Fixed bug in mtacc, dmac and fmac instruction + encodings. (Thaks to David Wood) + +Sun Nov 3 14:50:23 1991 Per Bothner (bothner at cygnus.com) + + * Makefile.in ($(DIST_NAME).tar.Z), TODO: Various fixes. + * ar.c (get_pos_bfd): Fix to handling of before/after + positioning options. + * bucomm.c (fatal): MISSING_VFPRINTF is no longer an issue, + since libiberty contains vfprintf etc if otherwise missing. + * m68k-pinsn.c (print_insn_arg): Support BB/BW/BL + type operands, as used by branch instructions. + * nm.c: Delegate printing of symbols to BFD, + by using bfd_print_symbol to do the formatting. + +Mon Oct 28 11:20:47 1991 Steve Chamberlain (steve at cygnus.com) + + * ar.c (write_archive.c): added unlink before rename since some + systems can't rename onto an existant file. + +Mon Oct 21 09:47:23 1991 Steve Chamberlain (steve at rtl.cygnus.com) + + * nm.c: now doesn't crash if a symbol with no section and no + SEC_ABS appears. + +Thu Oct 17 15:25:50 1991 Per Bothner (bothner at cygnus.com) + + * Makefile.in, version.c: Bump to version 1.91. + +Wed Oct 16 11:45:36 1991 Per Bothner (bothner at cygnus.com) + + * Makefile.in, ar.c, bucomm.c, copy.c, cplus-dem.c, filemode.c, + i960-pinsn.c, m68k-pinsn.c, nm.c, objdump.c, size.c, sparc-pinsn.c, + * strip.c: Add or update Copyright notice. + * TODO: Add note on 'nm -a'. + * version.c: Update version number to 1.90. + * Makefile.in: Fix making of documentation for dist. + +Tue Oct 15 00:17:17 1991 Per Bothner (bothner at cygnus.com) + + * README: New file. + * Makefile.in: New kludgy rules for making a tarfile. + * Makefile.in: Fix bindir path. + +Mon Oct 14 17:34:29 1991 Roland H. Pesch (pesch at cygnus.com) + + * Makefile.in: add targets binutils.mm, binutils.me + +Fri Oct 11 22:44:21 1991 John Gilmore (gnu at cygnus.com) + + * Makefile.in: Avoid Sun Make VPATH bugs by adding dependencies. + +Fri Oct 11 12:51:33 1991 Roland H. Pesch (pesch at cygnus.com) + + * Makefile.in: add target "binutils.ms" + + * binutils.texinfo: minor restructuring for texi2roff comfort. + +Fri Oct 11 04:12:28 1991 John Gilmore (gnu at cygnus.com) + + Restructure configuration scheme for bfd, binutils, ld. + + * include/sys/h-*.h: Move to bfd/hosts/h-*.h. + * configure.in: Revise to symlink sysdep.h to ../bfd/hosts/h-xxx.h. + Change some config names to match other dirs. + * *.c: Include bfd.h before sysdep.h, so ansidecl and PROTO() + get defined first. + * Makefile.in: Use -I. to get sysdep.h. + +Wed Oct 9 22:42:56 1991 Per Bothner (bothner at cygnus.com) + + * nm.c (print_symbols): Handle NULL name field of symbol. + * Makefile.in: Removed spurious comment. + +Tue Oct 8 16:55:03 1991 Roland H. Pesch (pesch at cygnus.com) + + * binutils.texinfo: minor typos, phrasing, formatting fixes. + +Tue Oct 8 15:13:20 1991 Per Bothner (bothner at cygnus.com) + + * configure.in: Get host file from ../bfd/config, not config. + * config/*: Remove config directory and its files. + +Tue Oct 8 13:58:59 1991 Roland H. Pesch (pesch at cygnus.com) + + * Makefile.in: new targets binutils.dvi, binutils.info + + * binutils.texinfo: remove most remaining FIXME's, delete + references to __.SYMDEF by name + + +Tue Oct 8 10:23:44 1991 Steve Chamberlain (steve at cygnus.com) + + * objdump.c (print_address) Print addresses nicely. + +Mon Oct 7 11:31:05 1991 Per Bothner (bothner at cygnus.com) + + * ar.c, Makefile.in, new files {is,not,maybe}-ranlib.c: + Make two different binaries for ar and ranlib, instead of + distinguishing them at run time using argv[0]. + (Old behavior is still available if you "make ar_with_ranlib", + but it is not the default.) + * ranlib.sh (new): An alternative one-line + shell implementation of ranlib. + +Fri Oct 4 21:49:44 1991 John Gilmore (gnu at cygnus.com) + + * objdump.c: Cope with renames of a few BFD types & enums. + +Fri Oct 4 19:08:09 1991 Roland H. Pesch (pesch at cygnus.com) + + * binutils.texinfo: add new file (rudimentary docn) + +Mon Sep 30 12:30:39 1991 Per Bothner (bothner at cygnus.com) + + * config/hmake-news: Add new file (for Sony NEWSOS3). + * bucomm.c (fatal): Conditionally compile fatal() depending on + MISSING_VFPRINTF, and don't confuse the issue with NO_VARARGS. + * objdump.c (dump_headers): Trivial output format change. + * objdump.c (display_info): Loop over integers, not enums, + to appease old compilers. + +Mon May 20 16:14:07 1991 Steve Chamberlain (steve at cygint.cygnus.com) + + *objdump.c *nm.c *copy.c: Changed some types to work with 64 bit + object files. + +Thu May 16 16:06:55 1991 Steve Chamberlain (steve at cygint.cygnus.com) + from bother + * objdump.c (print_address): Make disasembled output more + consistent with gdb and as: Add 0x when printing hex. + Don't print extra leading zeros. + Attempt to not print "filename.o". + * objdump.c: Add some enum-to-int casts to accomodate old compilers. + + +Fri May 3 22:21:44 1991 John Gilmore (gnu at cygint.cygnus.com) + + * copy.c: Change =& constructs to = &, since they confuse older + C compilers. + + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/binutils/ChangeLog-9899 b/binutils/ChangeLog-9899 new file mode 100644 index 0000000..22f21e2 --- /dev/null +++ b/binutils/ChangeLog-9899 @@ -0,0 +1,1908 @@ +1999-12-28 Nick Clifton <nickc@cygnus.com> + + * readelf.c: Update with new constants added by Oct 4, 1999 + ELF ABI draft. + (guess_is_rela): Add new machine codes, but leave + rel type undetermined. + (get_machine_name): Add new machine codes. + (get_section_type_name): Add new section types. + (get_elf_section_flags): New function: Decode section flags. + (process_section_headers): Call get_elf_section_flags() in + order to decode flags in section header. + (get_dynamic_flags): New function: Decode dynamic section + flags. + (process_dynamic_section): Display flags (if present). + (get_symbol_type): Add STT_COMMON. + (get_symbol_visibility): New function: Decode a symbol's + visibility. + (process_symbol_table): Call get_symbol_visibility(). + (get_note_type): Add NT_PRXFPREGS. + +1999-12-26 Ian Lance Taylor <ian@zembu.com> + + * strings.c (main): Correct handling of numeric argument. + +1999-12-23 Andrew Haley <aph@cygnus.com> + + * dlltool.c (mtable): mcore how_jtab_roff is 4 bytes into the + jtab; was 8. + +1999-12-17 Nick Clifton <nickc@cygnus.com> + + * dlltool.c (mtable): Stop compile time warnings about missing + initialisers. + (yyerror): Stop compile time warnings about unused paramater. + (INIT_SEC_DATA): New macro: initialise an entry in the secdata + array. + (secdata): Stop ccompile time warnings about uninitialised + fields. + (dtab): Stop compile time warnings about unused parameter. + (long_options): Stop compile time warning about missing + initialiser. + +1999-12-10 Nick Clifton <nickc@cygnus.com> + + * readelf.c (print_vma): Support native 64bit ELF systems. + +1999-12-09 Nick Clifton <nickc@cygnus.com> + + * dlltool.c (mtable): Add epoc-arm specific entry. + Make default arm entry pass -mpacs-26 to assembler. + (flush_page): Do not mangle null entries. + +1999-12-07 H . J . Lu hjl@valinux.com + + * readelf.c: Fix compile time warnings. Support more than 999 + symbols. + +1999-12-03 Nick Clifton <nickc@cygnus.com> + + * readelf.c (enum print_mode): New type. + (print_vma): New function. + (dump_relocations): Use print_vma to display bfd_vma values. + (process_file_header): Use print_vma to display bfd_vma values. + (process_program_headers): Use print_vma to display bfd_vma values. + (process_section_headers): Use print_vma to display bfd_vma values. + (dynamic_segment_parisc_val): Use print_vma to display bfd_vma values. + (process_dynamic_segment): Use print_vma to display bfd_vma values. + (process_symbol_table): Use print_vma to display bfd_vma values. + (process_mips_specific): Use print_vma to display bfd_vma values. + +1999-11-25 Fred Fish <fnf@cygnus.com> + + * readelf.c (process_note): Change arg from Elf_External_Note + to Elf32_Internal_Note, which also turns the function body + into little more than a call to printf. + (process_corefile_note_segment): Substantially rewritten + to properly handle case where target and host are different + endianness, handle note sections with padding, and add some + cruft to handle notes with unterminated name data. + +1999-11-22 Nick Clifton <nickc@cygnus.com> + + * objcopy.c (copy_usage): Reformat. + (strip_usage): Reformat. + +1999-11-21 Nick Clifton <nickc@cygnus.com> + + * objdump.c (usage): Overhaul output: One line per switch. + Textual description of each switch. Distinguish between + optional switches and required switches. + (long_options): Add 'g', 'G' and 'z' short options. + (main): Distinguish between optional switches and required + switches. + + * binutils.texi: Add -g -G and -z short options for + --debugging, --stabs and --disassemble-zeroes. + +1999-11-03 Nick Clifton <nickc@cygnus.com> + + * dlltool.c (flush_page): Clip short values to prevent warnings + from the assembler. + Change default mcore machine name to 'mcore-le' and rename + big-endian version to 'mcore-be'. + +1999-10-27 Fred Fish <fnf@cygnus.com> + + * objdump.c (display_bfd): Break into two functions. The + actual dumping code moves to dump_bfd. If bfd is not + unambiguously recognized as a bfd_object, attempt to dump + it as a bfd_core. + (dump_bfd): New function. + +1999-10-26 Nick Clifton <nickc@cygnus.com> + + * dlltool.c (assemble_file): Remove spurious test of exp_name. + +1999-10-22 Nick Clifton <nickc@cygnus.com> + + * dlltool.c (struct mac): Add new field 'how_default_as_switches'. + (mtable): Initialise new field. Some machines have a non empty + string for this field. + (HOW_BFD_TARGET): Undefine and replace with... + (HOW_BFD_READ_TARGET): New macro: bfd target to use when opening a + file for reading. This is set to 0 so that any recognisable bfd + format can be read. + (HOW_BFD_WRITE_TARGET): New macro: bfd target to use when opening + a file for writing. This is set to the target machine type. + (ASM_SWITCHES): New macro: default switches to use when assembling + a file. + (assemble_file): New function: Assemble a source file into a + destination object file. + (gen_exp_file): Use assemble_file to create the exp file. + (make_one_lib_file): Use assemble_file to create the lib file. + Open output file use HOW_BFD_WRITE_TARGET and input files using + HOW_BFD_READ_TARGET. + (make_head): Use assemble_file to create the head file. + (make_tail): Use assemble_file to create the tail file. + (gen_lib_file): Open output file use HOW_BFD_WRITE_TARGET. + +1999-10-15 Ian Lance Taylor <ian@zembu.com> + + * ar.c (normalize): Fix full_pathname code. + +1999-10-08 Ben Elliston <bje@cygnus.com> + + * binutils.texi: Some rewording and clarifications. + +1999-09-15 Ulrich Drepper <drepper@cygnus.com> + + * readelf.c (dynamic_segment_parisc_val): Print 0 for DLD_FLAGS if + the value is zero. + (process_symbol_table): Don't print histogram if hash table is empty. + +1999-09-15 Ulrich Drepper <drepper@cygnus.com> + + * readelf.c (get_parisc_dynamic_type): Handle DT_HP_GST_* values. + +1999-09-02 Ulrich Drepper <drepper@cygnus.com> + + * readelf.c (get_symbol_type): Add support for HPUX and PARISC + specific symbol types. + + * readelf.c: Add HPUX and PARISC extensions to dynamic and program + header table printing. + + * readelf.c (get_machine_flags): Add handling of PARISC. + +1999-09-29 Mumit Khan <khan@xraylith.wisc.edu> + + * dlltool.c (scan_drectve_symbols): Handle type tags in exported + symbols. + (scan_filtered_symbols): Likewise. + +1999-09-19 Ian Lance Taylor <ian@zembu.com> + + * resrc.c (write_rc_rcdata): Fix local variable shadowing + problem. If RCDATA_BUFFER data can be read as strings, modify + code to print the strings as comments. + * resres.c: Add casts to avoid warnings. + (write_res_data, read_res_data): Don't put the program name in the + error message; fatal already puts it there. + +1999-09-14 Michael Meissner <meissner@cygnus.com> + + * configure.in (Canonicalization of target names): Remove adding + ${CONFIG_SHELL} in front of $ac_config_sub, since autoconfig 2.14 + generates $ac_config_sub with a ${CONFIG_SHELL} already. + * configure: Regenerate. + +1999-09-12 Ian Lance Taylor <ian@zembu.com> + + * ar.c (main): Clear output_file if we don't change the archive. + (delete_members, replace_members): Likewise. + +1999-09-12 Donn Terry <donn@interix.com> + + * objdump.c (dump_headers): If wide_output, print Flags header. + + * objdump.c (dump_section_header): Print any comdat information. + + * objcopy.c (parse_flags): Handle "noload", "debug", and "share". + * binutils.texi, objcopy.1: Document new flags. + + * ar.c (counted_name_mode): New static variable. + (counted_name_counter): New static variable. + (map_over_members): Handle counted mode. + (usage): Mention N modifier. + (main): Handle N modifier. + (delete_members): Handle counted mode. + * binutils.texi, ar.1: Document N modifier. + + * ar.c (print_contents): Change printing of member name for + POSIX.2 conformance. + + * ar.c (output_filename): Make const. + (open_inarch): If creating a new empty archive, set + output_filename. + +1999-09-12 Ian Lance Taylor <ian@zembu.com> + + * ar.c (full_pathname): New static variable. + (map_over_members): Call normalize on command line parameter. + (usage): Mention P modifier. + (normalize): If full_pathname is true, don't do anything. + (main): Accept P modifier. + (delete_members): Call normalize on command line parameter. + * binutils.texi, ar.1: Document P modifier. + +1999-09-09 Andreas Schwab <schwab@suse.de> + + * binutils.texi: Add info dir entries for all programs described + here. Fix arguments of @var to not contain punctuation. + +1999-09-06 Donn Terry <donn@interix.com> + + * nm.c (print_symbol_info_bsd): Check for 'w' as well as 'U'. + (print_symbol_info_sysv): Likewise. + (print_symbol_info_posix): Likewise. + +1999-09-04 Steve Chamberlain <sac@pobox.com> + + * readelf.c: Include "elf/pj.h". + (dump_relocations): Handle EM_PJ. + (get_machine_name): Likewise. + (get_machine_flags): Likewise. + +1999-08-31 Scott Bambrough <scottb@netwinder.org> + + * readelf.c (get_note_type): New function: Decode the e_type + value of a note. + (process_note): New function: Display the contents of a core note. + (process_corefile_note_segment): New function. + (process_corefile_note_segments): New function. + (process_corefile_contents): New function. + (process_file): Add call to process_corefile_contents. + (parse_args): Add parsing of -n/--notes command line switch. + (usage): Document new command line switch. + + * binutils.texi: Documemnt new command line switch to readelf. + +1999-08-31 Ian Lance Taylor <ian@zembu.com> + + * binutils.texi (Bug Reporting): Clarify that large files should + not be sent to bug-gnu-utils. + +1999-08-28 Stephane Carrez <stcarrez@worldnet.fr> + + * readelf.c (process_extended_line_op): New parameter pointer_size, + read the address according to pointer_size. + (debug_line_pointer_size): New global to indicate the + size of address in .debug_line section. + (debug_displays, prescan_debug_info): Prescan the .debug_info section + to record the size of address in `debug_line_pointer_size'. + (process_section_contents): Before dumping any section, execute + the pre-scan operation defined for some debug sections. + +1999-08-27 Jim Wilson <wilson@cygnus.com> + + * readelf.c (display_debug_lines): Use i-1 not i in standard_opcodes + access. + (display_debug_aranges): New local excess. Use for calculating padding + and add that into ranges. Break from loop only if length is also 0. + +1999-08-27 Jim Wilson <wilson@cygnus.com> + + * readelf.c (display_debug_lines, case DW_LNS_const_add_pc): Multiply + adv by info.li_min_insn_length. + +1999-08-26 Jakub Jelinek <jj@ultra.linux.cz> + + * readelf.c (get_sparc64_dynamic_type): New function. + (get_dynamic_type): Use it. + +1999-08-26 Jim Wilson <wilson@cygnus.com> + + * readelf.c (display_debug_lines, case default): Change second line + setting adv to use = not +=. + +1999-08-19 Nick Clifton <nickc@cygnus.com> + + * dlltool.c: Added more examples to the comment at the start. + +1999-08-18 Nick Clifton <nickc@cygnus.com> + + * dlltool.c (make_head): Only emit interworking directive if + necessary. + +Thu Jul 15 22:44:21 1999 Hans-Peter Nilsson <hp@bitrange.com> + + * readelf.c (process_abbrev_section): Handle standard-conforming + single zero at the end of the section. + +1999-08-09 Ian Lance Taylor <ian@zembu.com> + + * objdump.c (exit_status): New static variable. + (nonfatal): New static function. + (disassemble_data): Set exit_status on error. + (read_section_stabs): Likewise. + (display_bfd): Likewise. Call nonfatal rather than bfd_nonfatal. + (display_file): Call nonfatal rather than bfd_nonfatal. + (display_target_list, display_info_table): Likewise. + (main): Return exit_status rather than 0. + +1999-08-08 Ian Lance Taylor <ian@zembu.com> + + * objdump.c (dump_section_header): Update for renaming of + SEC_SHORT to SEC_SMALL_DATA. Print SEC_SHARED flag. + + From Eli Zaretskii <eliz@gnu.org>: + * binutils.texi: Document cxxfilt as MS-DOS name for c++filt. + + * configure.in: Define and substitute DEMANGLER_NAME. + * Makefile.am (DEMANGLER_PROG): Set to cxxfilt. + (man_MANS): Use DEMANGLER_NAME rather than DEMANGLER_PROG. + (bin_PROGRAMS): Remove $(DEMANGLER_PROG). + (noinst_PROGRAMS): Add $(DEMANGLER_PROG). + (cxxfilt_SOURCES): Rename from c__filt_SOURCES. + (cxxfilt_LDADD): Rename from c__filt_LDADD. + ($(DEMANGLER_NAME).1): Rename from $(DEMANGLER_PROG).1. Use + DEMANGLER_NAME rather than DEMANGLER_PROG in substitution. + (MOSTLYCLEANFILES): Use DEMANGLER_NAME rather than + DEMANGLER_PROG. + (install-exec-local): When installing noinst_PROGRAMS, change + cxxfilt to $(DEMANGLER_NAME). + * configure, Makefile.in: Rebuild. + + * Makefile.am: Rename .dep* files to DEP*. Change DEP variable to + MKDEP. + * Makefile.in: Rebuild. + +1999-08-05 Donn Terry <donn@interix.com> + + * Makefile.am (YACC): If bison is not in the source tree, use + @YACC@ rather than bison -y. + (LEX): If flex is not in the source tree, use @LEX@ rather than + flex. + * configure.in: Build dlltool for i[3-6]86-*-interix. + * Makefile.in, configure: Rebuild. + +1999-07-21 Ian Lance Taylor <ian@zembu.com> + + From Mark Elbrecht: + * configure.bat: Remove; obsolete. + +1999-07-16 Jakub Jelinek <jj@ultra.linux.cz> + + * readelf.c (get_machine_flags): Print EF_SPARC_SUN_US3. + +1999-07-15 Ian Lance Taylor <ian@zembu.com> + + * configure.in: Bump version number to 2.9.5. + * configure: Rebuild. + +1999-07-14 Richard Henderson <rth@cygnus.com> + + * objdump.c (dump_section_header): Print SEC_SHORT. + +1999-07-11 Ian Lance Taylor <ian@zembu.com> + + * Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSED + 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-09 Nick Clifton <nickc@cygnus.com> + + * readelf.c: Only support decoding 64bit ELF files if the compiler + supports a 64 bit data type. + Add -I equivalent for --histogram. + Add -A command-line option to display architecture specific information. + +1999-07-08 Jakub Jelinek <jj@ultra.linux.cz> + + * 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 Ian Lance Taylor <ian@zembu.com> + + * stabs.c (parse_stab_type): Fix handling of template names with + template parameters containing `::'. + (stab_demangle_type): Handle a qualified name in a pointer to + member. + +1999-06-23 Ian Lance Taylor <ian@zembu.com> + + * Makefile.am (dlltool_SOURCES): Add dyn-string.c. + * Makefile.in: Rebuild. + +1999-06-23 Mumit Khan <khan@xraylith.wisc.edu> + + * 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 Ian Lance Taylor <ian@zembu.com> + + Based on patches from Mumit Khan <khan@xraylith.wisc.EDU>: + * 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. + +Mon Jun 21 16:49:11 1999 Jeffrey A Law (law@cygnus.com) + + * readelf.c (dump_relocations): Use elf_hppa_reloc_type instead of + elf32_hppa_reloc_type. + +1999-06-17 Nick Clifton <nickc@cygnus.com> + + * dlltool.c (mcore_elf_gen_out_file): Link object files with the + .exp file, not the .lib file. + +Fri Jun 18 20:17:51 1999 Mumit Khan <khan@xraylith.wisc.edu> + + * deflex.l: Accept single-character symbol names. + +1999-06-16 Nick Clifton <nickc@cygnus.com> + + * readelf.c (get_symbol_type): Detect ARM symbols typed as Thumb + functions. + +1999-06-14 Nick Clifton <nickc@cygnus.com> + + * objdump.c (disassembler_options): New variable. + (usage): Document new -M/--disassembler-options option. + (long_options): Add --disassembler-options. + (disassemble_data): Initialise disassembler_options field of + disassembler_info structure. + (main): Add parsing of -M option. + + * binutils.texi: Document new command line switch to objdump. + + * NEWS: Describe new command line switch to objdump. + + +Mon Jun 14 10:27:54 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> + + * binutils.texi: Fix typos. + +1999-06-13 Ian Lance Taylor <ian@zembu.com> + + * objdump.c (disassemble_bytes): If the disassembler returns an + error, print out anything it may have printed to the buffer. From + H.J. Lu <hjl@gnu.org>. + + * 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 + (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 Ian Lance Taylor <ian@zembu.com> + + * rename.c (smart_rename): Fix test of whether file exists. + +1999-05-06 Nick Clifton <nickc@cygnus.com> + + * objdump.c (disassemble_data): Set display_endian based on target + endianism. + +1999-05-05 Catherine Moore <clm@cygnus.com> + + * dlltool.c (interwork): Remove. + (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 Catherine Moore <clm@cygnus.com> + + * readelf.c (get_machine_flags): Check for EF_CPU32. + (get_data_encoding): Fix typo. + +1999-04-26 Tom Tromey <tromey@cygnus.com> + + * aclocal.m4, configure: Updated for new version of libtool. + +1999-04-18 Ian Lance Taylor <ian@zembu.com> + + * stabs.c (parse_stab_range_type): Correct parenthesization in + BFD64 case. + + * readelf.c (get_section_type_name): Use correct types in printf + formats. + (process_relocs): Likewise. + (process_dynamic_segment): Likewise. + (process_symbol_table): Likewise. + (process_mips_specific): Likewise. + +Tue Apr 13 21:22:00 1999 Catherine Moore <clm@cygnus.com> + + * dlltool.c (make_one_lib_file): Mark thumb functions as + C_THUMBEXTFUNC. + +1999-04-11 Richard Henderson <rth@cygnus.com> + + * bucomm.h (environ): Declare it, if needed. + (alloca) [C_ALLOCA]: Don't use gcc's builtin or <alloca.h>. + * configure.in (environ): Detect declaration. + * nm.c (main): Don't declare environ. + * configure, config.in: Rebuild. + + * dlltool.c (gen_exp_file): Pad out the .reloc section to a + 32-byte boundary with dummy relocations, to make the BeOS loader + happy. Patch from Bob Manson <manson@charmed.cygnus.com>. + +1999-04-08 Tom Tromey <tromey@cygnus.com> + + * binutils.texi (c++filt): Updated for -j/--java, and hp/edg + formats. + +1999-04-08 Nick Clifton <nickc@cygnus.com> + + * readelf.c: Add ability to decode new constants found in April 25 + 1998 Draft of System V ABI spec. + +1999-04-06 Ian Lance Taylor <ian@zembu.com> + + * bucomm.h (LC_MESSAGES): Never define. + * addr2line.c (main): Don't pass LC_MESSAGES to setlocale if the + system does not define it. + * ar.c (main): Likewise. + * coffdump.c (main): Likewise. + * dlltool.c (main): Likewise. + * nlmconv.c (main): Likewise. + * nm.c (main): Likewise. + * objcopy.c (main): Likewise. + * objdump.c (main): Likewise. + * size.c (main): Likewise. + * srconv.c (main): Likewise. + * strings.c (main): Likewise. + * sysdump.c (main): Likewise. + * windres.c (main): Likewise. + * readelf.c (main): Call locale setting functions. + +1999-04-05 Nick Clifton <nickc@cygnus.com> + + * readelf.c (decode_location_expression): Fix DW_OP_const8{s|u} + decodes. + +1999-04-04 Ian Lance Taylor <ian@zembu.com> + + * rename.c: New file, copied out of objcopy.c with a few changes. + * bucomm.h (set_times, smart_rename): Declare. + * ar.c: Don't include <utime.h>. + (extract_file): Call set_times rather than utime. + (write_archive): Call smart_rename rather than unlink and rename. + * objcopy.c: Don't include <utime.h>. + (simple_copy, smart_rename, set_times): Move to rename.c. + (strip_main): Update smart_rename call for new parameter. + (copy_main): Likewise. + * Makefile.am: Rebuild dependencies. + (CFILES): Add rename.c. + (objcopy_SOURCES, strip_new_SOURCES): Add rename.c. + (ar_SOURCES, ranlib_SOURCES): Add rename.c. + * Makefile.in: Rebuild. + + * Makefile.am: Rebuild dependencies. + (EXTRA_PROGRAMS): Remove backslash which troubles current version + of automake. + * Makefile.in: Rebuild. + + * dllwrap.c (main): Expect correct type in format string. + * resres.c: Include "bfd.h", "bucomm.h", "libiberty.h", and + <time.h>. Don't include <stdio.h> and <errno.h>. + (write_res_file): Remove unused locals e and i. + (read_resource_entry): Remove unused locals rtype and n. + (read_unistring): Remove unused local n. + +1999-04-03 Ian Lance Taylor <ian@zembu.com> + + * arparse.y: Declare yylex. + * objdump.c (disassemble_bytes): Initialize bytes. Add comment + for incorrect use of bytes. + * readelf.c: Change many formats to avoid warnings. + +1999-04-01 Nick Clifton <nickc@cygnus.com> + + * readelf.c (reset_state_machine): New function. Resets the + registers of the source line number state machine. + (process_extended_line_op): Use state machine. + (display_debug_lines): Use state machine. Handle multiple line + number blocks within the same section. + +1999-03-29 Jason Merrill <jason@yorick.cygnus.com> + + * readelf.c (process_extended_line_op): end_sequence also resets + the line number. + (display_debug_lines): advance_line takes a signed operand. + (read_and_display_attr): Print refs as <%x>, addresses as %#x, + others as %d. Handle other location expression attributes. + (display_debug_info): Handle nesting. Always print the offset. + +1999-03-23 Ian Lance Taylor <ian@zembu.com> + + * objcopy.c (filter_symbols): When checking whether to keep a + symbol, check the BFD section symbol for a symbol with + BSF_SECTION_SYM set. + +1999-03-10 Ulrich Drepper <drepper@cygnus.com> + + * readelf.c (process_dynamic_segment): Print new Solaris dynamic + section entries. Correct printing of DT_POSFLAG_1 and DT_FLAGS_1. + +1999-03-10 Nick Clifton <nickc@cygnus.com> + + * readelf.c (request_dump): New function. + Removed arbitary limit on the number of sections that can be + dumped. + +Wed Mar 10 15:10:14 1999 Stan Cox <scox@cygnus.com> + + * dlltool.c (make_one_lib_file): Use %05d to output the stub name so + order in the import library is preserved. + +1999-02-19 Nick Clifton <nickc@cygnus.com> + + * readelf.c: Fix compile time warings. + +1999-02-17 DJ Delorie <dj@cygnus.com> + + * resbin.c (res_to_bin_versioninfo): Instead of entering a value + length of zero in a version info string, enter the appropriate + length. + +Tue Feb 16 16:00:33 1999 Ian Lance Taylor <ian@cygnus.com> + + * configure.in: Require autoconf 2.13. Change AM_PROG_INSTALL to + AC_PROG_INSTALL. Add comments for AC_DEFINE calls. + * acconfig.h: Remove. + * aclocal.m4: Rebuild. + * configure: Rebuild. + * Makefile.in: Rebuild. + * config.in: Rebuild. + +1999-02-02 Nick Clifton <nickc@cygnus.com> + + * readelf.c (read_and_display_attr): Add display of basic type + encodings. + (display_debug_aranges): New function: Display the contents of a + .debug_aranges section. + (display_debug_info): Dump tags found after compunit entry. + + * binutils.texi: Fixed bug in readelf documentation. + +Mon Feb 1 12:38:01 1999 Catherine Moore <clm@cygnus.com> + + * readelf.c (dump_relocations): Handle EM_ARM as REL. + +1999-01-29 Nick Clifton <nickc@cygnus.com> + + * readelf.c (process_symbol_table): Do not produce a histogram of + bucket chains if none were found. + +1999-01-27 Nick Clifton <nickc@cygnus.com> + + * version.c: Add 1999 copyright. + + * binutils.texi (readelf): Document new command line options + --debug-dump and --histogram. + + * readelf.c: Add ability to display contents of some or all of the + Dwarf2 debug sections. {Work only partially completed}. + (display_debug_section): New function. + (display_debug_info): New function. + (display_debug_not_supported): New function. + (display_debug_line): New function. + (display_debug_abbrev): New function. + (process_abbrev_section): New function. + (read_leb128): New function. + (process_extended_line_op): New function. + (get_TAG_name): New function. + (get_AT_name): New function. + (get_FORM_name): New function. + (free_abbrevs): New function. + (add_abbrev): New function. + (add_abbrev_attr): New function. + (read_and_display_attr): New function. + (display_block): New function. + +Thu Jan 14 23:36:11 1999 Jeffrey A Law (law@cygnus.com) + + * coffdump.c (xcalloc): Remove, in libiberty now. + * srconv.c (xcalloc): Likewise. + * sysdump.c (xcalloc): Likewise. + +1999-01-14 Nick Clifton <nickc@cygnus.com> + + * readelf.c (process_section_headers): Omit trailing space at end + of section header contents line. + +Wed Dec 16 17:20:05 1998 Doug Evans <devans@canuck.cygnus.com> + + * aclocal.m4: Regenerate. + +Mon Dec 14 12:55:36 1998 Jim Wilson <wilson@cygnus.com> + + * dllwrap.c: Include bfd.h and bucomm.h. Move getopt.h include + after libiberty.h include. + +Tue Dec 8 16:29:43 1998 Ian Lance Taylor <ian@cygnus.com> + + * objdump.1: Fix typo (-d to -D). From Nokubi Hirotaka + <hnokubi@yyy.or.jp>. + +Sun Dec 6 13:28:09 1998 Ian Lance Taylor <ian@cygnus.com> + + * objdump.c (SFILE): Add size field. + (objdump_sprintf): Merge both versions into one. Increase buffer + size as needed to avoid overflow. + (disassemble_bytes): Change buf from 1000 bytes to 50. Change + initialization and use of sfile to match changes to + objdump_sprintf. + + * strip.1: Fix typo (-V to -v). From Issei Hirayama + <iss@mail.wbs.or.jp>. + +1998-12-03 Ulrich Drepper <drepper@cygnus.com> + + * readelf.c (process_dynamic_segment): Improve output format for + various DT_* values. + +1998-12-02 Ulrich Drepper <drepper@cygnus.com> + + * readelf.c (process_mips_specific): Print .conflict section + content. + + * readelf.c (process_mips_specific): Print l_flags in liblist in + textual form. + +1998-11-30 Nick Clifton <nickc@cygnus.com> + + * ar.c (extract_file): Add some paranoia checks for negatively + sized files. + +Tue Nov 24 09:39:24 1998 Nick Clifton <nickc@cygnus.com> + + * stabs.c (DIR_SEPARATOR): Define as '\\' if WIN32 is defined. + +Tue Nov 17 10:25:26 1998 Nick Clifton <nickc@cygnus.com> + + * Makefile.in: Regenerate. + +Mon Nov 16 19:17:23 1998 Dave Brolley <brolley@cygnus.com> + + * po/binutils.pot: Regenerate. + +Mon Nov 16 10:18:53 1998 Nick Clifton <nickc@cygnus.com> + + * Makefile.am: Regernated dependencies. + * aclocal.m4: Regenerated. + * configure: Regenerated. + +Sat Nov 14 14:50:56 1998 Ian Lance Taylor <ian@cygnus.com> + + * debug.c (debug_name_type): Correct return type from false to + DEBUG_TYPE_NULL. + +Sat Nov 14 14:48:21 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> + + * objdump.c (disassemble_data): Skip over relocs below start + address. + +Tue Nov 10 15:31:52 1998 Nick Clifton <nickc@cygnus.com> + + * Makefile.am: Add dependency of readelf.c on elf/fr30.h + * Makefile.in: Regenerate. + +Wed Nov 4 16:25:55 1998 Nick Clifton <nickc@cygnus.com> + + * readelf.c: Add support for the FR30. + +Mon Nov 2 14:59:33 1998 Geoffrey Noer <noer@cygnus.com> + + * configure.in: detect cygwin* instead of cygwin32* + * configure: regenerate + +Fri Oct 30 15:14:49 1998 Geoffrey Noer <noer@cygnus.com> + + * dllwrap.c: change all references to cygwin32_ to cygwin_, + change Cygwin target def to CYGWIN. + +Wed Oct 28 10:31:19 1998 Nick Clifton <nickc@cygnus.com> + + * objdump.c (disassemble_data): Replace 'unsigned long' with + 'bfd_vma'. + +Tue Oct 27 14:39:00 1998 Nick Clifton <nickc@cygnus.com> + + * objdump.c (disassemble_bytes): Applied this patch from Philip + Blundell <pb@nexus.co.uk>: Make address variables unsigned to + avoid problems when disassembling code at high-bit-set addresses. + +Mon Oct 26 14:07:59 1998 Mumit Khan <khan@xraylith.wisc.edu> + + * dllwrap.c (strhash): New function. + (main): Use it to supply image base if not supplied by user. + (program_version): Up to 0.2.4. + +Mon Oct 26 14:07:59 1998 Mumit Khan <khan@xraylith.wisc.edu> + + * dlltool.c (add_stdcall_alias): New global. + (long_options): Add --add-stdcall-alias option. + (main): Handle it. + (scan_drectve_symbols): Add alias if --add-stdcall-alias is + specified. + (scan_filtered_symbols): Likewise. + (gen_def_file): Output alias for stdcall syms if appropriate. + + * binutils.texi (dlltool): Document --add-stdcall-alias option. + + * dllwrap.c (long_options): Add --add-stdcall-alias option. + (main): Handle it. + + * defparse.y (opt_name): Allow "." in name. + * dlltool.c (def_name): Set dll_name from NAME entry in def file. + (def_library): Set dll_name from LIBRARY entry in def file. + +Mon Oct 26 14:07:59 1998 Mumit Khan <khan@xraylith.wisc.edu> + + * dllwrap.c (long_options): --implib synonym for --output-lib. + (main): Pass --export-all to dlltool only if specified. + (program_version): Up to 0.2.3. + +Mon Oct 26 14:07:59 1998 Mumit Khan <khan@xraylith.wisc.edu> + + * dllwrap.c (mybasename): New function. + (main): Run dlltool to create export definition file and import + library file if necessary. + Change exp_file_name so that it's based on the dll name. + +Sun Oct 25 10:37:45 1998 Mumit Khan <khan@xraylith.wisc.edu> + + * dlltool.c (scan_all_symbols): Fix patch error. + +Fri Oct 16 22:56:20 1998 Felix Lee <flee@cygnus.com> + + * nm.c (display_rel_file): fix "no symbols" messages. + * objdump.c (slurp_symtab): ditto. + * po/POTFILES.in, po/binutils.pot: rebuilt + +Mon Oct 12 14:28:03 1998 Nick Clifton <nickc@cygnus.com> + + * readelf.c (dump_relocations): Rename field from Value to Info to + match name of field in ELF structures. + +Thu Oct 8 15:33:08 1998 Geoffrey Noer <noer@cygnus.com> + + * configure.in: call AC_EXEEXT instead of AM_EXEEXT and + AM_CYGWIN32. + * aclocal.m4: remove local AM_EXEEXT/AM_CYGWIN32 macros. + * configure: regenerate + +Thu Oct 8 15:33:08 1998 Geoffrey Noer <noer@cygnus.com> + + From Mumit Khan <khan@xraylith.wisc.edu>: + * dlltool.c (scan_all_symbols): Don't re-export symbols exported + by other DLLs. + +Thu Oct 8 15:33:08 1998 Geoffrey Noer <noer@cygnus.com> + + * Makefile.am (BUILD_DLLWRAP): Add. + (BUILD_DLLWRAP, DLLWRAP_PROG): Add. + (bin_PROGRAMS): Add dllwrap. + * Makefile.in: regenerate with automake + + From Mumit Khan <khan@xraylith.wisc.edu>: + * dllwrap.c: New file from dllhelpers v0.2.1. + (print_version): New function. + (long_options): Add --version. + (main): Handle. + * dyn-string.h, dyn-string.c: New files from egcs-1.1/gcc. + * configure.in (BUILD_DLLWRAP): Add. + * configure: Regenerate. + +Tue Oct 6 18:20:10 1998 Geoffrey Noer <noer@cygnus.com> + + * Makefile.am (windres_SOURCES): Add resres.c. + (windres_OBJECTS): Add resres.o. + * Makefile.in: regenerate with automake + + From Anders Norlander <anorland@hem2.passagen.se>. + * resres.c: New file. Implementation of read_res_file and + write_res_file functions for windres. + * rcparse.y: Handle CONTROL's with named classes. + * resbin.c: Bug in res_to_bin_dialog and bin_to_res_dialog + when dialog is extended: The version and signature fields should + be reversed (despite what the docs say). Id is 32 bits long in + extended dialogs. + * resrc.c (write_rc_dialog): properly print controls with named + classes. + * windres.c (read_res_file, write_res_file): Remove stubs. + * resres.c (write_res): Rename RT_ACCELERATORS to RT_ACCELERATOR. + +Sun Oct 4 20:34:42 1998 Ian Lance Taylor <ian@cygnus.com> + + From Nokubi Hirotaka <hnokubi@yyy.or.jp>: + * objcopy.1: Fix typo in --remove-leading-char docs. + * objdump.1: Fix formatting in --stabs docs. + +Sat Sep 19 23:33:56 1998 Ian Lance Taylor <ian@cygnus.com> + + * rcparse.y (memflags_move): Correct recursion. + +1998-09-10 Ulrich Drepper <drepper@cygnus.com> + + * readelf.c (process_symbol_table): Print in histogram how many + symbols are covered by the current chain length. + +Sun Sep 6 16:15:47 1998 Nick Clifton <nickc@cygnus.com> + + * readelf.c (process_section_contents): Do not try to dump empty + sections. + +Sat Sep 5 19:17:10 1998 Mumit Khan <khan@xraylith.wisc.edu> + + * dlltool.c (scan_all_symbols): Don't re-export symbols exported + by other DLLs. + +1998-09-02 14:50 Ulrich Drepper <drepper@cygnus.com> + + * readelf.c (process_dynamic_segment): Print DT_* value only if + do_dynamic. + (do_histogram): New variable. + (options): New long option histogram. Set do_histogram if this + option is used. + (usage): Document --histogram. + (parse_args): Handle 0 return value from getopt_long. Enable + do_histogram for -a. + (process_symbol_table): Read hash table also if only do_histogram. + Add code to print hash table histogram. + +1998-08-25 16:45 Ulrich Drepper <drepper@cygnus.com> + + * readelf.c (process_dynamic_segment): Read syminfo section if + available. + (process_syminfo): New function. Print syminfo information. + (process_file): Call process_syminfo and free syminfo data at the end. + +Wed Aug 19 16:19:51 1998 Ian Lance Taylor <ian@cygnus.com> + + * dlltool.c (usage): Add file parameter. Change all callers. + (main): Don't treat '?' as a special case in getopt return. + + * binutils.texi (dlltool): Document new options. Add some uses of + @var. + +Wed Aug 19 16:19:07 1998 Mumit Khan <khan@xraylith.wisc.edu> + + * dlltool.c (gen_def_file): Plug memory leak. Don't print + demangled name if it is NULL. + + Support for exporting all symbols to an output export def file: + * dlltool.c ({export_all_symbols, no_default_excludes, + no_default_excludes, excludes}): New file static variables. + (struct string_list): Type to hold list of symbols to exclude. + (scan_drectve_symbols): Renamed from scan_open_obj_file. + (scan_filtered_symbols): New static function. + (add_excludes): New static function. + (match_exclude): New static function. + (set_default_excludes): New static function. + (filter_symbols): New static function. + (scan_all_symbols): New static function. + (scan_open_obj_file): New static function. + (usage): Document new options. + (long_options): Add new options. + (main): Handle new options. + +1998-07-31 21:24 Ulrich Drepper <drepper@cygnus.com> + + * readelf.c (process_program_headers): Print p_offset value with + six hex digits. + (dynamic_segment_mips_val): Add support for DT_MIPS_FLAGS, + DT_MIPS_IVERSION, and DT_MIPS_TIME_STAMP. + (process_mips_specific): Also print seconds of time stamp. + +Fri Jul 31 10:04:23 1998 Catherine Moore <clm@cygnus.com> + + * readelf.c (dump_relocations): EM_ARM uses rela relocs. + +1998-07-30 16:25 Ulrich Drepper <drepper@cygnus.com> + + * readelf.c (get_dynamic_type): Don't used gettext on the names. + Add new DT_* values from Solaris. Don't print nuemric value in + case of an unknown entry. + (process_dynamic_segment): Handle new DT_* entries. Print numeric + values in decimal, not hex. + +Fri Jul 24 16:28:57 1998 Jeff Holcomb <jeffh@cygnus.com> + + * readelf.c (get_dynamic_type): Remove empty default from switch + statement. + +Fri Jul 24 16:28:12 1998 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.am (install-exec-local): Don't remove the file before + checking whether $(bindir) == $(tooldir)/bin. From Maciej + W. Rozycki <macro@ds2.pg.gda.pl>. + * Makefile.in: Rebuild. + +Fri Jul 24 09:38:59 1998 Nick Clifton <nickc@cygnus.com> + + * objcopy.c: Removed spurious inclusion of elf/internal.h and + elf-bfd.h. + +1998-07-22 Ulrich Drepper <drepper@cygnus.com> + + * readelf.c: Consistantly use elf_ prefix for *_reloc_type + functions. + +Wed Jul 22 16:29:12 1998 Nick Clifton <nickc@cygnus.com> + + * readelf.c (dump_relocations): Add dumps of HPPA and ARC + relocations. + + (process_relocs): Do not abort if no string table can be found. + +1998-07-22 14:58 Ulrich Drepper <drepper@cygnus.com> + + * readelf.c: Remove definition of functions to return relocation + symbol strings. They now get implicitly defined when include the + system specific ELF header. + +1998-07-22 13:51 Ulrich Drepper <drepper@cygnus.com> + + * readelf.c: Before include system specific ELF header define + START_RELOC_NUMBERS, RELOC_NUMBER, and END_RELOC_NUMBERS. For now + used for ppc, mips, and mn10300. + +Wed Jul 22 10:26:32 1998 Nick Clifton <nickc@cygnus.com> + + * readelf.c (dump_relocations): Display number of unrecognised + relocations. + +1998-07-21 13:13 Ulrich Drepper <drepper@cygnus.com> + + * readelf.c: Use symbolic names of relocation entries for the various + architectures. Correct more layout details. + Print names of MIPS specific section types. Print Alpha, ARM, and + MIPS relocation type names. + +1998-07-20 Vladimir N. Makarov <vmakarov@cygnus.com> + + * objcopy.c (filter_symbols): Add code for strip all symbols case. + (copy_objects): Strip all case is now processed also through + filter_symbols. No marking symbols used in relocations when strip + all symbols case. + (copy_section): When strip all symbols case, remove relocations + which are not in keep strip specific list. + (strip_main): Remove guard `strip_specific_list == NULL' for + setting up strip all symbols by default. + +Mon Jul 20 12:51:16 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * addr2line.c (find_address_in_section): Only consider a section + if the pc value is completely contained within it. + (translate_addresses): Don't crash if functionname or filename are + null. + +1998-07-20 07:45 Ulrich Drepper <drepper@cygnus.com> + + * readelf.c (process_symbol_table): Fix little alignment problem + in printed table header. + +1998-07-20 07:14 Ulrich Drepper <drepper@cygnus.com> + + * readelf.c: Correct reading of .dynamic section. + (dynamic_section): Now a global variable. + (process_mips_fpe_exception, process_mips_specific, + process_arch_specific): New functions. + (get_file_header): Call process_arch_specific. + +1998-07-19 15:15 Ulrich Drepper <drepper@cygnus.com> + + * readelf.c: Fix several versioning related bugs. Produce nicer + output. + Add support for processor specific information on MIPS. + +Fri Jul 10 15:57:58 1998 Nick Clifton <nickc@cygnus.com> + + * readelf.c: Switch prototypes from unsigned short to unsigned + int. + +Fri Jul 10 16:17:50 1998 Ian Lance Taylor <ian@cygnus.com> + + From Christian Holland <CHolland@de.lucent.com>: + * ieee.c (parse_ieee): Initialize info.global_vars and + info.global_types. + (parse_ieee_atn): Ignore register lifetime information reportedly + emitted by MRI compiler. + +Thu Jul 9 13:08:01 1998 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.am (MAINTAINERCLEANFILES): Define. + * Makefile.in: Rebuild. + +Tue Jul 7 21:48:54 1998 Jeffrey A Law (law@cygnus.com) + + * readelf.c (byte_get): Use PARAMS in prototype. + (error): Make it work with non-ANSI compilers. + (warn): Likewise. + (get_ver_flags): Don't use an ANSI prototype in the definition. + +Tue Jul 7 13:26:13 1998 Ian Lance Taylor <ian@cygnus.com> + + * objcopy.c (filter_bytes): Set size correctly if the size of the + section is not an even multiple of the interleave. Based on patch + from Brion Stone <Brion.Stone@attws.com>. + +Thu Jul 2 14:01:34 1998 Klaus Kaempf <kkaempf@rmi.de> + + * configure.com: Add vax/vms support. + * makefile.vms-in: Renamed from makefile.vms. Add substitutions + now done by configure.com. + +Wed Jul 1 20:43:52 1998 Ian Lance Taylor <ian@cygnus.com> + + * stabs.c (parse_stab_range_type): Handle 4 and 8 byte signed + integers with real upper bounds. Handle a lower bound one larger + than the upper bound as a signed integer. Handle 8 byte signed + integers. + (stab_demangle_template): Optionally return the demangled name of + the template. + (stab_demangle_qualified): Treat a template name as a tagged + type. + (stab_demangle_fund_type): Likewise. + +Wed Jul 1 16:29:50 1998 Nick Clifton <nickc@cygnus.com> + + * objcopy.c: Minor formatting improvements. + * readelf.c: Minor output formatting improvement. + +Wed Jul 1 14:23:48 1998 Ian Lance Taylor <ian@cygnus.com> + + * rclex.l: Add casts and change types to avoid warnings. + * rcparse.y: Likewise. + * resbin.c: Likewise. + * rescoff.c: Likewise. + * resrc.c: Likewise. + + * Makefile.am: Rebuild dependencies. + (HFILES): Remove readelf.h. + * Makefile.in: Rebuild. + + Based on patches from Andrew Kozin + <Andrew.Kozin@p14.f960.n5020.z2.fidonet.org>: + * winduni.h: New file, from windres.h. + * winduni.c: New file, from windres.c. + * windres.c: Move Unicode functions into winduni.c. + * windres.h: Move Unicode declarations into winduni.h. Include + winduni.h. + (RT_ACCELERATOR): Rename from RT_ACCELERATORS to match Windows + macro. Change all uses. + (RT_PLUGPLAY, RT_VXD): Correct values. + * Makefile.am (HFILES): Add windres.h. + (CFILES): Add winduni.c. + (windres_SOURCES): Add winduni.c. + +Mon Jun 29 17:01:21 1998 Nick Clifton <nickc@cygnus.com> + + * readelf.c: Use BFD Internal and External Elf structures. + * readelf.h: Removed - no longer needed. + * Makefile.in: Remove readelf.c's dependency upon readelf.h. + +1998-06-26 Vladimir N. Makarov <vmakarov@cygnus.com> + + * objcopy.c (strip_main): keep_specific_list == NULL as additional + condition to set up strip all symbols by default. + (copy_archive): don't change archive when error in object files of + the archive. + +Wed Jun 24 17:53:47 1998 Ian Lance Taylor <ian@cygnus.com> + + * stabs.c (parse_number): Sign extend negative values correctly if + bfd_vma is larger than unsigned long. + +Tue Jun 23 14:55:05 1998 Mike Stump <mrs@wrs.com> + + * Makefile.am (install-exec-local): Don't let EXEEXT interfere + with the program transform name. + * Makefile.in: Rebuild. + +Tue Jun 23 11:08:53 1998 Nick Clifton <nickc@cygnus.com> + + * readelf.c: Rewrite to use fopen/fread ratehr than mmap. + + Add --section-headers command line switch, which is an alias for + --sections. + + Incorporate improvemnts made by Andreas Schwab + <schwab@issan.informatik.uni-dortmund.de> including output + formatting and version info display. + + * binutils.texi: Document --section-headers switch to readelf. + +Mon Jun 22 18:28:19 1998 Ian Lance Taylor <ian@cygnus.com> + + * readelf.c: Include bfd.h and bucomm.h before system header + files. + (parse_args): Change type of c from char to int. + +Sun Jun 14 14:26:28 1998 Nick Clifton <nickc@cygnus.com> + + * readelf.c (usage): Write to stdout, not stderr. + +Fri Jun 12 13:33:51 1998 Tom Tromey <tromey@cygnus.com> + + * po/Make-in (all-yes): Depend on .pot file if maintainer mode + enabled. + ($(PACKAGE).pot): Unconditionally depend on POTFILES. + +Fri Jun 12 16:06:15 1998 Michael Meissner <meissner@cygnus.com> + + * readelf.c (get_ppc_rel_type): New PowerPC support. + (dump_relocations): PowerPC uses RELA relocations. + (get_machine_name): Spell PowerPC correctly. + (get_file_type): Change unsigned short parameter to unsigned. + (get_machine_name): Ditto. + (get_machine_data): Return whether big endian or little endian. + (get_machine_flags): Interpret PowerPC, M32R, and MIPS flags. + (process_elf_header): Print endian-ess. Convert all numeric + formats to long or unsigned long. Print out machine specific flag + bits. + (process_section_headers): Increase name by 3 columns and decrease + type by the same so that .gcc_except_table fits in the space. + + * readelf.h: Include elf/ppc.h, elf/mips.h, and elf/m32r.h to get + machine specific flag bits. + +Thu Jun 11 17:54:26 1998 Nick Clifton <nickc@cygnus.com> + + * readelf.c: Remove extraneous #includes. Fix warnings produced + by -Wall when compiling under Linux. + + * Makefile.am (readelf_LDADD): Add $(LIBIBERTY). + +Thu Jun 11 18:30:20 1998 Ian Lance Taylor <ian@cygnus.com> + + * stabs.c (struct stab_handle): Add self_crossref field. + (parse_stab_string): If a tag is a cross reference to itself, + don't define it in the tags list. + (parse_stab_type): Set info->self_crossref. + + * debug.c (struct debug_type_real_list): Define. + (debug_get_real_type): Add list parameter. Change all callers. + Check for circularity to avoid crashing when it occurs. + +Thu Jun 11 14:48:32 1998 Nick Clifton <nickc@cygnus.com> + + * readelf.c: New file: Display contents of ELF format file. + * readelf.h: New file: Header file for readelf.c + * Makefile.am: Add rules to build readelf. + * Makefile.in: Rebuilt. + * binutils.texi: Document readelf. + * NEWS: Mention inclusion of readelf into binutils. + * po/POTFILES.in; Rebuilt. + +Fri Jun 5 18:43:40 1998 Ian Lance Taylor <ian@cygnus.com> + + * objcopy.c (setup_section): Adjust the section size if copy_byte + is >= 0. + (copy_section): Do not call bfd_set_section_size. + +Thu Jun 4 09:12:27 1998 Nick Clifton <nickc@cygnus.com> + + * objcopy.c (copy_usage): Add missing \n\ from help description. + +Wed Jun 3 19:31:33 1998 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.am (YACC): Correct bison -L option. + * Makefile.in: Rebuild. + + * binutils.texi, objdump.1: Document -p/--private-headers. + +Wed Jun 3 12:09:40 1998 Nick Clifton <nickc@cygnus.com> + + * objcopy.c: Add new command line options: --change-section-lma + and --change-section-vma. Rename old command line option + --adjust-section-vma to --change-section-address. Rename + --adjust-vma to --change-addresses and --adjust-start to + --change-start. Provide aliases to support the old versions of + these command line options. + + Change the names of macros and enum elements to upper case to + match the GNU coding standard. + + Replace calls to fprintf (stderr,...) with calls to fatal () or + non_fatal () as appropriate. + + * objcopy.1: Document command line option changes. + * binutils.texi: Document command line option changes. + + * bucomm.h: New exported funtion from bucomm.c: non_fatal(). + * bucomm.c (non_fatal): New exported function. Just like fatal() + except that it returns rather than calling xexit(). + + (bfd_check_format_matches): Call fatal() rather than bfd_fatal(). + + (check_matching_formats): Fix C formating. + + (parse_vma): Call fatal(). + +Mon Jun 1 18:26:40 1998 Ian Lance Taylor <ian@cygnus.com> + + From Yuli Barcohen <yuli.barcohen@telrad.co.il>: + * debug.c (debug_type_samep): Avoid endless loops comparing + function and method parameter types. + +Fri May 22 14:02:42 1998 Ian Lance Taylor <ian@cygnus.com> + + * dlltool.c (dump_iat): Comment out; not used. + (display): Rename from tell. Change all callers. + +Thu May 14 14:00:56 1998 Nick Clifton <nickc@cygnus.com> + + * dlltool.c: Add support for Thumb DLLs. Add support for + interworking between ARM and Thumb programs and DLLs. Tidy the + code. + + * binutils.texi: Document dlltool. + + * configure: Build dlltool for thumb-pe targets. + + * version.c (print_version): Include 1998 in copyright strings. + + * stabs.c (parse_stab): Support Win32 style directory separators. + +Sun May 10 22:34:44 1998 Jeffrey A Law (law@cygnus.com) + + * po/Make-in (install-info): New target. + +Fri May 8 10:33:13 1998 Nick Clifton <nickc@cygnus.com> + + * ar.c (usage): Extend information provided about command line + options. + +Wed May 6 15:28:51 1998 Klaus Kaempf <kkaempf@progis.de> + + * makefile.vms: Run dec c with /nodebug. Pass CC value when + calling make. + +Tue May 5 15:19:00 1998 Nick Clifton <nickc@cygnus.com> + + * configure: Build dlltool for thumb-pe target. + * configure.in: Build dlltool for thumb-pe target. + +Sun May 3 22:04:49 1998 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.am (EXTRA_PROGRAMS): Change $(SRCONV_PROG) to sysconf + sysdump coffdump to avoid extra $(EXEEXT). + * Makefile.in: Rebuild. + +Wed Apr 29 22:22:55 1998 Geoffrey Noer <noer@cygnus.com> + + * configure.in: Stop appending EXEEXT to the end of + SRCONV_PROG (wrong because that variable may contain multiple + programs) + * Makefile.am: instead, add EXEEXTs to each SRCONV_PROG + program + * Makefile.in: regenerate + * configure: regenerate + +Tue Apr 28 19:14:34 1998 Tom Tromey <tromey@cygnus.com> + + * addr2line.c (main): Conditionally call setlocale. + * windres.c (main): Likewise. + * sysdump.c (main): Likewise. + * strings.c (main): Likewise. + * srconv.c (main): Likewise. + * size.c (main): Likewise. + * objdump.c (main): Likewise. + * objcopy.c (main): Likewise. + * nm.c (main): Likewise. + * nlmconv.c (main): Likewise. + * dlltool.c (main): Likewise. + * coffdump.c (main): Likewise. + * ar.c (main): Likewise. + * bucomm.h: Include <locale.h> if HAVE_LOCALE_H. + (LC_MESSAGES): Now can be defined even when ENABLE_NLS. + +Tue Apr 28 10:33:07 1998 Bill Moyer <ttk@cygnus.com> + + Add support for IMPORTS: + * defparse.y (impline): Add IMPORTS syntaxes. + * dlltool.c (ifunctype, iheadtype): New typedefs. + (import_list): New static variable. + (append_import): New static function. + (def_import): Add an entry to import_list. + (generate_idata_ofile): New static function. + (gen_exp_file): Call generate_idata_ofile. + * dlltool.h (def_import): Update declaration. + +Mon Apr 27 16:39:22 1998 Ian Lance Taylor <ian@cygnus.com> + + * configure.in: Change version number to 2.9.4 + * configure: Rebuild. + +Wed Apr 22 16:00:35 1998 Tom Tromey <tromey@cygnus.com> + + * po/Make-in (MKINSTALLDIRS): Don't look in $(top_srcdir). + +Wed Apr 22 00:33:56 1998 Tom Tromey <tromey@scribbles.cygnus.com> + + * Makefile.am (INCLUDES): Search intl dirs for headers; define + LOCALEDIR. + * addr2line.c (main): Call setlocale, bindtextdomain, textdomain. + * ar.c (main): Likewise. + * coffdump.c (main): Likewise. + * dlltool.c (main): Likewise. + * nlmconv.c (main): Likewise. + * nm.c (main): Likewise. + * objcopy.c (main): Likewise. + * objdump.c (main): Likewise. + * size.c (main): Likewise. + * srconv.c (main): Likewise. + * strings.c (main): Likewise. + * sysdump.c (main): Likewise. + * windres.c (main): Likewise. + +Tue Apr 21 22:13:08 1998 Tom Tromey <tromey@scribbles.cygnus.com> + + * Many files: Added gettext invocations around user-visible + strings. + * bucomm.h: Added gettext-related includes and defines. + * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY, + HAVE_LC_MESSAGES): Define. + * configure.in: Call CY_GNU_GETTEXT. Create po/Makefile.in and + po/Makefile. Use AM_PROG_LEX. + * Makefile.am (SUBDIRS): New macro. + (POTFILES): Likewise. + (po/POTFILES.in): New target. + (LDADD): Added INTLLIBS. + (objdump_LDADD): Likewise. + (c__filt_LDADD): Likewise. + (ar_LDADD): Likewise. + (ranlib_LDADD): Likewise. + (dlltool_LDADD): Likewise. + (windres_LDADD): Likewise. + * po/Make-in, po/POTFILES.in, po/binutils.pot: New files. + +Tue Apr 21 16:07:18 1998 Stanislav Brabec <utx@k332.feld.cvut.cz> + + * objcopy.c (preserve_dates): New file static variable. + (smart_rename): If preserve_dates, call set_times when copying. + (strip_main): Remove preserve_dates local variable. + (copy_main): Likewise. + +Tue Apr 7 15:41:15 1998 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.am (DISTSTUFF): Add defparse.h, defparse.c, rclex.c, + rcparse.h, and rcparse.c + * Makefile.in: Rebuild. + +Mon Apr 6 16:24:35 1998 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.am (PROGS): Move $(ADDR2LINE_PROG) to end, so that + Makefile.in doesn't have an empty continuation line. + (bin_PROGRAMS): Likewise. + * Makefile.in: Rebuild. + +Fri Apr 3 14:48:42 1998 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.am (DISTCLEANFILES): Add site.exp and site.bak. + (MOSTLYCLEANFILES): Add binutils.log, binutils.sum, and abcdefgh*. + (mostlyclean-local): New target. + * Makefile.in: Rebuild. + +Wed Apr 1 15:54:16 1998 Ian Lance Taylor <ian@cygnus.com> + + From Zack Weinberg <zack@rabi.phys.columbia.edu> and H.J. Lu + <hjl@gnu.org>: + * ar.c (usage): Mention S modifier. + (main): Add S modifier. + * ar.1, binutils.texi: Document S modifier. + +Wed Apr 1 13:11:23 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * binutils.texi: Use @itemx for a secondary item in a table. + +Tue Mar 31 18:44:13 1998 Ian Lance Taylor <ian@cygnus.com> + + * dep-in.sed: Add rule to remove @OBJDIR@. + * Makefile.am (dep.sed): Substitute for @OBJDIR@. + * Makefile.in: Rebuild. + +Mon Mar 30 12:47:18 1998 Ian Lance Taylor <ian@cygnus.com> + + * configure.in: Set version to 2.9.1. + * configure: Rebuild. + + * Branched binutils 2.9. + + * Makefile.am (DISTCLEANFILES): Remove defparse.h, arparse.h, + rcparse.h, and nlmheader.h. + * Makefile.in: Rebuild. + +Sat Mar 28 17:39:27 1998 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.am (MOSTLYCLEANFILES): Define. + * Makefile.in: Rebuild. + + Fix some gcc -Wall warnings: + * nlmconv.c (main): Add casts to avoid warnings. + (alpha_mangle_relocs): Likewise. + * objdump.c (dump_section_stabs): Likewise. + * size.c (print_sysv_format): Likewise. + * srcconv.c (wr_ob): Likewise. + * wrstabs.c (stab_modify_type): Likewise. + (stab_variable): Likewise. + * nlmconv.c (main): Initialize variables to avoid warnings. + * nm.c (sort_symbols_by_size): Likewise. + * objdump.c (disassemble_bytes): Likewise. + * wrstabs.c (stab_end_class_type): Likewise. + * coffgrok.c (do_sections_p2): Change j to unsigned int. + (do_lines): Change l to unsigned int. + * nlmheader.y (yylex): Change i to unsigned int. + * nm.c (print_symbol): Change j to long. + * size.c (lprint_number): Comment out. + * srconv.c (wr_ob): Change i to bfd_size_type. + * sysdump.c (unit_info_list): Comment out. + (object_body_list, program_structure, debug_list): Likewise. + * sysinfo.y (yyerror): Return value. + +Thu Mar 26 17:06:51 1998 Richard Henderson <rth@cygnus.com> + + * defparse.y (explist): Allow epsilon. + Suggestion from Jonathan-Harris@psion.com. + +Thu Mar 26 16:59:09 1998 Richard Henderson <rth@cygnus.com> + + * coffgrok.c (do_sections_p1): Use the section's lma instead of vma + for the benefit of prom loaders. + +Wed Mar 25 13:05:39 1998 Ian Lance Taylor <ian@cygnus.com> + + Based on patch from H.J. Lu <hjl@gnu.org>: + * Makefile.am (DISTSTUFF): New variable. + (diststuff): New target. + (DISTCLEANFILES): New variable. + * Makefile.in: Rebuild. + +Tue Mar 24 19:33:08 1998 Ian Lance Taylor <ian@cygnus.com> + + * rclex.l: Accept { and } as synonyms for BEGIN and END. + +Fri Mar 20 19:18:08 1998 Ian Lance Taylor <ian@cygnus.com> + + * aclocal.m4, configure: Rebuild with libtool 1.2. + +Tue Feb 24 13:07:50 1998 Doug Evans <devans@canuck.cygnus.com> + + * objdump.c (disassemble_data): Delete "++place" after call to + find_symbol_for_address. Set disasm_info.symbols to array of + symbols at the current address. + +Wed Feb 18 23:39:46 1998 Richard Henderson <rth@cygnus.com> + + * Makefile.am (install-exec-local): Install properly when ln + fails or tooldir == prefix. + +Tue Feb 17 18:40:55 1998 Richard Henderson <rth@cygnus.com> + + * objcopy.c (compare_section_lma): Rename from _vma. + (copy_object): Gap fill based on LMA not VMA. + * binutils.texi: Update and clarify. + * objcopy.1: Likewise. + +Tue Feb 17 20:34:11 1998 Ian Lance Taylor <ian@cygnus.com> + + * dlltool.c (gen_exp_file): Generate _imp__%s as well as __imp_%s, + for Microsoft compatibility. + (make_one_lib_file): Likewise. + + * dlltool.c (make_one_lib_file): Don't add 1 to hint. + +Fri Feb 13 16:37:44 1998 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.am (AUTOMAKE_OPTIONS): Define. + * configure, Makefile.in, aclocal.m4: Rebuild with automake 1.2e. + +Thu Feb 12 14:13:46 1998 Ian Lance Taylor <ian@cygnus.com> + + * deflex.l: Accept '?' in symbol names, for VC++ mangled names. + From Mikey <jeffdb@netzone.com>. + + * addr2line.c (usage): Update bug-gnu-utils address. + * ar.c (usage): Likewise. + * nlmconv.c (show_usage): Likewise. + * nm.c (usage): Likewise. + * objcopy.c (copy_usage): Likewise. + (strip_usage): Likewise. + * objdump.c (usage): Likewise. + * size.c (usage): Likewise. + * strings.c (usage): Likewise. + * windres.c (usage): Likewise. + * binutils.texi (Bug Reporting): Likewise. + +Sat Feb 7 15:36:24 1998 Ian Lance Taylor <ian@cygnus.com> + + * configure, aclocal.m4: Rebuild with new libtool. + +Thu Feb 5 12:21:13 1998 Ian Lance Taylor <ian@cygnus.com> + + * configure, Makefile.in, aclocal.m4: Rebuild with new libtool. + +Fri Jan 30 19:16:28 1998 Doug Evans <devans@canuck.cygnus.com> + + * Makefile.am (CC_FOR_TARGET,nlmcomv.o): Change program_transform_name + to transform. + * Makefile.in: Regenerate. + +Thu Jan 29 16:24:04 1998 Mumit Khan <khan@xraylith.wisc.edu> + + * dlltool.c: Define exit status macros for _WIN32 but not + __CYGWIN32__. + (gen_lib_file): Check for exit status of unlink. + * resrc.c: Define popen and pclose if _WIN32 but not + __CYGWIN32__. + +Wed Jan 28 17:45:46 1998 Ian Lance Taylor <ian@cygnus.com> + + * configure.in: Remove vfork check. + * nlmconv.c: Never include vfork.h. + * aclocal.m4, configure, Makefile.in, config.in: Rebuild. + +Wed Jan 28 17:43:02 1998 J.J. van der Heijden <J.J.vanderHeijden@student.utwente.nl> + + * objcopy.c (copy_archive): Only pass one argument to mkdir if + _WIN32 but not __CYGWIN32__. + (smart_rename): Add code for _WIN32 (not __CYGWIN32__), to cope + with different rename behaviour and lack of chown. + + * configure.in: Check for mingw32 when deciding whether to build + dlltool. + * dlltool.c: Never include vfork.h. + (run): Use pexecute rather than vfork. + (gen_lib_file): Check for errors from bfd_set_archive_head and + bfd_close. Close all the BFDs in the archive before deleting the + temporary files. + +Thu Jan 22 16:22:55 1998 Fred Fish <fnf@cygnus.com> + + * objdump.c (disassemble_bytes): Add flag INSN_HAS_RELOC to tell + disassembly function there is a reloc on this line. + +Wed Jan 14 15:29:43 1998 Richard Henderson <rth@cygnus.com> + + * srconv.c (sh, h8300): Delete variables. + (addrsize, toolname, rnames): New variables. + (writeINT): Use addrsize. + (wr_un): Use toolname. + (wr_hd): Set up addrsize et al properly for h8300[hs]. + (walk_tree_symbol): Zero dsy. Use rnames. + (wr_un, wr_hd, wr_ob, wr_du): Use proper bfd access macros. + * sysdump.c (sh, h8300): Delete variables. + (addrsize): New variable. + (getINT): Use it. + (getone): Initialize it. + (getBITS): Range check on MAX. + +For older changes see ChangeLog-9197 + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/gas/ChangeLog b/gas/ChangeLog index 918829b..55c624d 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -3779,7 +3779,7 @@ Sat Mar 11 00:01:39 2000 Hans-Peter Nilsson <hp@axis.se> * doc/c-mips.texi (MIPS Opts): Document -mgp32 and -mgp64. -1999-12-30 Andrew Haley <aph@cygnus.com> +2000-02-22 Andrew Haley <aph@cygnus.com> * config/tc-mips.c (mips_gp32): New variable. (macro_build) Use mips_gp32. @@ -4142,4863 +4142,4 @@ Fri Feb 11 14:21:51 2000 Jeffrey A Law (law@cygnus.com) * doc/as.texinfo (Visibility): New node: document visibility pseudo ops. -1999-12-27 Alan Modra <alan@spri.levels.unisa.edu.au> - - * config/tc-i386.c (MATCH): Relax JumpAbsolute check. Emit a - warning for absolute jump/call without `*' in non-intel mode. No - need to set i.types[0] JumpAbsolute in intel mode. - -1999-12-22 Philip Blundell <pb@futuretv.com> - - * config/tc-arm.c (arm_s_text): If OBJ_ELF, call the appropriate - hook function when changing sections. - (arm_s_data): Likewise. - -1999-12-14 Nick Clifton <nickc@cygnus.com> - - * config/tc-arm.c (md_parse_option): Add support for -marm720 - command line switch. - -Tue Nov 30 22:59:00 1999 Jeffrey A Law (law@cygnus.com) - - * config/tc-mn10300.c (md_pseudo_table): Add ".am33" pseudo-op. - (r_registers, xr_registers): Define. - (r_register_name, xr_register_name): New functions. - (md_assemble): Handle new am33 operand types and instruction - formats. - (mn10300_insert_operand, check_operand): Likewise. - -1999-11-29 Nick Clifton <nickc@cygnus.com> - - * config/tc-arm.c (thumb_mode): Turn into a tristate variable. - (s_force_thumb): Set thumb_mode to 2. - (md_assemble): Do not complain about thumb instructions on a - non-thumb target if thumb_mode is set to 2. - -1999-11-28 Michael Meissner <meissner@cygnus.com> - - * config/tc-alpha.c (toplevel): Include struc-symbol.h. - (alpha_macro_arg): Add MACRO_{LITERAL,BASE,BYTOFF,JSR} cases. - (O_...): Add new machine dependent expressions if we are handling - explicit relocations. - (alpha_reloc_op): New static table holding the explicit relocation - information. - (alpha_literal_hash): New static to hold the hash table for - explicit relocations. - (alpha_macros): Add support for explicit relocations. - (md_begin): If explicit relocations, initialize hash table. - (md_assemble): Don't print a second error if tokenize_arguments - already printed an error message. - (md_apply_fix): Add support for explicit relocations. - (alpha_force_relocation): Ditto. - (alpha_fix_adjustable): Ditto. - (alpha_adjust_symtab): New function to support explicit - relocations. - (alpha_adjust_symtab_relocs): Ditto. - (debug_exp): Debug stub compiled if DEBUG_ALPHA is defined. - (tokenize_arguments): Add debug code if DEBUG_ALPHA is defined. - Add support for explicit relocations. Return -2 if an error - message was already printed. - (find_macro_match): Add support for explicit relocations. Comment - each of the cases. - (emit_insn): Add support for explicit relocations. - (assemble_tokens): Ditto. - (emit_ldgp): Ditto. - (load_expression): Ditto. - (emit_lda): Ditto. - (emit_ldah): Ditto. - (emit_ir_load): Ditto. - (emit_loadstore): Ditto. - (emit_ldXu): Ditto. - (emit_ldil): Ditto. - (emit_sextX): Ditto. - (emit_division): Ditto. - (emit_jsrjmp): Ditto. - (emit_retjcr): Ditto. - - * config/tc-alpha.h (RELOC_OP_P): Enable explicit relocations if - ELF object format. - (tc_adjust_symtab): If explicit relocations, call the function - alpha_adjust_symtab. - (TC_FIX_TYPE): Add fields to be able to move explicit lituse - relocations next to the literal relocation they reference. - (TC_INIT_FIX_DATA): Initialize the new fields. - (TC_FIX_DATA_PRINT): Print the new fields if DEBUG5 is defined. - -Wed Nov 24 20:27:58 1999 Jeffrey A Law (law@cygnus.com) - - * config/tc-hppa.c (pa_ip): Handle PA2.0 unit completers. Handle - 'B' operand for PA2.0 bb instruction. - -1999-11-18 Nick Clifton <nickc@cygnus.com> - - * config/tc-mcore.h (TC_FORCE_RELOCATION): Define for Mcore-pe - target. - - * config/tc-mcore.c (tc_gen_reloc): Support generation of RVA - relocs. - (mcore_force_relocation): Force relocations to be generated for - RVA relocs. - -1999-11-16 Alan Modra <alan@spri.levels.unisa.edu.au> - - * config/tc-i386.c (i386_immediate): Disallow O_big immediates. - (i386_displacement): Disallow O_big displacements. - -Mon Nov 15 20:12:43 1999 Donald Lindsay <dlindsay@cygnus.com> - - * config/tc-arm.c (do_mia,do_mar,do_mra,do_pld,do_ldrl,do_co_reg): - Small improvements in error checking. - (md_assemble): Support for unconditional ARM instructions. - (md_parse_option): Support for -m[arm]v5e flag. - -1999-11-12 Nick Clifton <nickc@cygnus.com> - - * macro.c (buffer_and_nest): Do not check beyond the end of the - buffer. - -1999-11-11 Nick Clifton <nickc@cygnus.com> - - * macro.c (buffer_and_nest): Look for seperator after TO and - FROM tokens. - -1999-11-08 Andrew Haley <aph@cygnus.com> - - * app.c (do_scrub_chars): When in State 10, treat backslash - characters in the same way as as symbol characters. - -1999-11-07 Richard Henderson <rth@cygnus.com> - - * config/tc-alpha.c (alpha_align): Check, don't assert, that - the previous label was in the current section before playing - with auto-alignment. - -1999-11-06 Nick Clifton <nickc@cygnus.com> - - * config/tc-v850.c (v850_force_relocation): Force relocation - for weak symbols. - (v850_pcrel_from_selection): Do not compute a pcrel offset if - the symbol is weak. - -1999-11-05 Michael Meissner <meissner@cygnus.com> - - * expr.h (operatorT): Increase machine dependent operators to 16. - * expr.c (op_rank): Ditto. - -1999-11-03 Ian Lance Taylor <ian@zembu.com> - - * read.c (pseudo_set): Reject attempts to set the value of a - section symbol. - - * config/obj-elf.c (obj_elf_ident): Call md_flush_pending_output - if it is defined. - - * config/obj-elf.c (elf_set_index): Add ATTRIBUTE_UNUSED. - - * config/obj-elf.c (elf_frob_file_after_relocs): Don't pass NULL - to bfd_set_section_contents. - -1999-11-03 Nick Clifton <nickc@cygnus.com> - - * config/tc-mcore.h (TARGET_BYTES_BIG_ENDIAN): Change to false. - -1999-11-01 Gavin Romig-Koch <gavin@cygnus.com> - - * config/tc-mips.c (macro_build): Use OPCODE_IS_MEMBER. - (mips_ip): Use OPCODE_IS_MEMBER. - -Wed Oct 27 16:50:44 1999 Don Lindsay <dlindsay@cygnus.com> - - * config/tc-arm.c (reg_required_here): Improve comments. - - * config/tc-arm.c (thumb_opcode): Add "variants" field. - (tinsns): Initialize variants field. - - * config/tc-arm.c (bad_args, bad_pc): Renamed to BAD_ARGS and - BAD_PC respectively. - -1999-10-27 Scott Bambrough <scottb@netwinder.org> - - * config/tc-arm.c (reloc_map[]): Fix compiler warning. - * config/tc-arm.h: Fix compile time warnings. - -Mon Oct 18 18:11:10 MDT 1999 Diego Novillo <dnovillo@cygnus.com> - - * tc_d10v.c (find_opcode): Allow ATSIGN to match expressions of the - form @abs16, @(abs16) and @(abs16 + imm). - -1999-10-21 Gavin Romig-Koch <gavin@cygnus.com> - - * config/tc-mips.c (ISA_HAS_COPROC_DELAYS) : New. - (ISA_HAS_64_BIT_REGS) New. - (gpr_interlocks,md_begin,reg_needs_delay,append_insn, - mips_emit_delays,macro_build,load_register,load_addresss, - macro,macro2,mips_ip,s_cprestore,s_cpadd): Simplify - and/or use new ISA_xxx macros in expressions involving - ISA, particularly mips_opts.isa. - -1999-10-18 Michael Meissner <meissner@cygnus.com> - - * expr.h (operatorT): Add machine dependent operators md1..md8. - (expressionS): Make X_op 8 bits instead of 7. Add a X_md field - for the machine dependent operators to use. - - * expr.c (op_rank): Add machine dependent operators. - - * config/tc-alpha.c (O_pregister): Define as a machine dependent - operator. - (O_cpregister): Ditto. - (md_begin): Change X_op test that field is wide enough to use - O_max instead of O_alpha_max. - (cpu_types): Fill in missing initializer. - (alpha_num_macros): Make unsigned. - (md_assemble): Make opnamelen be size_t. - (md_apply_fix): Cast alpha_num_operands to int before testing. - (alpha_force_relocation): Ditto. - (alpha_fix_adjustable): Ditto. - (alpha_fix_adjustable): Mark unused arguments ATTRIBUTE_UNUSED. - (tc_gen_reloc): Ditto. - (tc_get_register): Ditto. - (emit_ldgp): Ditto. - (emit_lda): Ditto. - (emit_ldah): Ditto. - (emit_ldil): Ditto. - (s_alpha_ent): Ditto. - (s_alpha_end): Ditto. - (s_alpha_frame): Ditto. - (s_alpha_prologue): Ditto. - (s_alpha_file): Ditto. - (s_alpha_gprel32): Ditto. - (s_alpha_proc): Ditto. - (s_alpha_set): Ditto. - (s_alpha_base): Ditto. - (s_alpha_align): Ditto. - (s_alpha_arch): Ditto. - (alpha_align): Ditto. - (assemble_insn): Suppress unused variable warning. - (emit_insn): Ditto. - (assemble_insn): Don't assume X_op and X_unsigned are in a given - order in the structure. - (s_alpha_coff_wrapper): Avoid int/unsigned comparison. - -Sun Oct 17 17:15:58 1999 Jeffrey A Law (law@cygnus.com) - - * config/tc-hppa.c (md_apply_fix): Make "fmt" an int. - -1999-10-12 Alan Modra <alan@spri.levels.unisa.edu.au> - - * config/tc-i386.c (i386_index_check): Correct #endif location. - -Mon Oct 11 14:02:40 1999 Geoffrey Keating <geoffk@cygnus.com> - - * as.c (show_usage): Document new options. - (parse_args): Add --no-warn, --warn, --fatal-warnings, - which become 'W', OPTION_WARN, and OPTION_WARN_FATAL. - (parse_args): Parse the new options. - (main): If there were warnings, and --fatal-warnings - was specified, print an error. - * as.h: New variable, flag_fatal_warnings, for new option. - -Sun Oct 10 01:47:23 1999 Jerry Quinn <jerry.quinn.adv91@alum.dartmouth.org> - - * config/tc-hppa.c (pa_ip): Add new codes 'cc', 'cd', 'cC', 'co', - '@'. Change autoincrement completers to fall through to cache control - completers. - - * config/tc-hppa.c (pa_ip): Remove unused args. Add code to '?W' - arg. - (pa_parse_addb_64_cmpltr): New function. - - * config/tc-hppa.c (pa_ip): Change error message. - (pa_ip,pa_parse_cmpb_64_cmpltr,pa_parse_cmpib_64_cmpltr) Fix '?N' and - '?Q' args to allow falling through. - - * config/tc-hppa.c (pa_ip): Implement conditional codes "?N", "?Q". - Remove unused conditional codes. - (pa_parse_cmpb_64_cmpltr,pa_parse_cmpib_64_cmpltr): New. - -Thu Oct 7 00:23:53 MDT 1999 Diego Novillo <dnovillo@cygnus.com> - - * config/tc-d30v.c (CHAR_BIT): Define. - (check_range): Fix bit operations to support integers bigger than - 32 bits. - -Thu Oct 7 00:11:50 MDT 1999 Diego Novillo <dnovillo@cygnus.com> - - * config/tc-d10v.c (check_range): Check range for RESTRICTED_NUM3 - operands. - -Mon Oct 4 17:24:23 1999 Nick Clifton <nickc@cygnus.com> - Doug Evans <devans@cygnus.com> - - Add support for m32rx. - * config/tc-m32r.c (enable_m32rx): New static global. - (enable_special,warn_explicit_parallel_conflicts,optimize): Ditto. - (allow_m32rx): New function. - (M32R_SHORTOPTS): Add `O'. - (md_longopts): Add --m32rx plus several warning options. - (md_parse_option): Handle new options. - (md_show_usage): Print them. - (md_begin): Enable m32rx. - (OPERAND_IS_COND_BIT): New macro. - (first_writes_to_seconds_operands): New function. - (writes_to_pc,can_make_parallel,make_parallel): New functions. - (target_make_parallel,assemble_two_insns): New functions. - (md_assemble): Recognize "insn1 -> insn2" and "insn1 || insn2". - If optimizing and m32rx, try to make consecutive insns parallel. - -Tue Sep 28 14:06:44 1999 Geoffrey Keating <geoffk@cygnus.com> - - * config/tc-mips.c (nopic_need_relax): Allow for the - .sdata.foo sections generated by -fdata-sections, - and for the .gnu.linkonce.s sections generated by C++. - -Thu Sep 23 07:13:45 1999 Jerry Quinn <jquinn@nortelnetworks.com> - - * config/tc-hppa.c (pa_ip): Replace 'B', 'M', 'l' and 'g' handling - with cleaner code using completer prefixes. Add 'Y'. - - * config/tc-hppa.c (pa_ip): Add parens to silence compiler. - -Wed Sep 22 09:37:19 1999 Jeffrey A Law (law@cygnus.com) - - * config/tc-hppa.c (pa_ip): Avoid ANSI specific initialization. - (pa_ip, case 'm'): Failure to get a CBIT specifier just means the - insn does not match and we should try the next insn in the table. - -1999-09-22 Nick Clifton <nickc@cygnus.com> - - * config/tc-arm.c (MULTI_SET_PSR): Rename to LDM_TYPE_2_OR_3. - -Mon Sep 20 04:01:41 1999 Jeffrey A Law (law@cygnus.com) - - * config/tc-hppa.c (pa_ip): Fix thinkos in recent cleanup - of PA2.0 support. - -1999-09-19 Alexandre Oliva <oliva@lsd.ic.unicamp.br> - - * config/tc-i386.c (md_shortopts): Check OBJ_MAYBE_ELF as well as - OBJ_ELF. If ELF, add "sq". - (md_parse_option): If ELF, ignore -s and -q. - (md_show_usage): Mention ELF options. - -Sun Sep 19 10:43:31 1999 Jeffrey A Law (law@cygnus.com) - - * config/tc-hppa.c (pa_ip): Handle 'J', 'K' and 'cc' - operands. - - * config/tc-hppa.c (pa_ip); Handle "fe", and 'cJ'. - - * config/tc-hppa.c (pa_ip): Handle 'd', '#' and 'cq'. - - * config/tc-hppa.c (struct pa_it): New field "trunc". - (pa_ip): Hadnle 'h', 'm', '=', '{', and '_' operands. - (pa_parse_ftest_gfx_completer): New function - (pa_parse_fp_cnv_format): New function. - - * config/tc-hppa.c (pa_ip): Handle 'X' operand. - (md_apply_fix): Handle 22bit pc-rel branches. - - * config/tc-hppa.c (pa_ip): Handle 'B' operand. - - * config/tc-hppa.c (pa_ip): Handle 'L' and 'M' operands. - - * config/tc-hppa.c (pa_ip): Handle 'l' operand. - - * config/tc-hppa.c (pa_ip): Handle 'g' operand. - -Sat Sep 18 12:13:28 1999 Jeffrey A Law (law@cygnus.com) - - * config/tc-hppa.c (md_assemble): Fix dwarf2 line handling. - (pa_ip): Handle 'fX'. - -Fri Sep 17 11:57:34 1999 Jeffrey A Law (law@cygnus.com) - - * config/tc-hppa.c (pa_build_unwind_subspace): Do not build - unwinds unless the function is in the text space. - (pa_type_args): Set BSF_FUNCTION for an exproted data symbol. - -Wed Sep 15 05:14:32 1999 Jeffrey A Law (law@cygnus.com) - - * config/tc-hppa.c (pa_ip): Move dwarf2 stuff from here. - (md_assemble): To here. Tweak address generation. - - * config/tc-hppa.c: Include dwarf2dbg.h if OBJ_ELF. Declare - debug_line. - (md_pseudo_table): Add .file and .line pseudo-ops for OBJ_ELF. - (md_assemble): Call dwarf2_where for OBJ_ELF. - (pa_ip): Call dwarf2_gen_line_info for OBJ_ELF. - (pa_end_of_source): New function. - * tc-hppa.h (md_end): Define for OBJ_ELF. - -1999-09-14 Michael Meissner <meissner@cygnus.com> - - * configure.in (Canonicalization of target names): Remove adding - ${CONFIG_SHELL} in front of $ac_config_sub, since autoconfig 2.14 - generates $ac_config_sub with a ${CONFIG_SHELL} already. - * configure: Regenerate. - -1999-09-14 Donn Terry <donn@interix.com> - - * config/te-interix.h (GLOBAL_OFFSET_TABLE_NAME): Define. - -1999-09-13 Alan Modra <alan@spri.levels.unisa.edu.au> - - * config/tc-i386.c (md_assemble): Handle "jmp/call constant" as a - pc-relative jmp/call to an absolute symbol. - (md_apply_fix3): When OBJ_ELF, don't add the values in twice for - absolute section symbols. - - * config/tc-i386.c (md_assemble): Correct frag_var size. Tidy - jump handling code and comments. - -1999-09-12 Ian Lance Taylor <ian@zembu.com> - - * config/tc-i386.c (md_apply_fix3): Add horrible adjustments to - the value if TE_PE and a global defined symbol. - -1999-09-11 Ian Lance Taylor <ian@zembu.com> - - * write.c (dump_section_relocs): Call print_symbol_value_1 to - print the symbol, rather than printing it here. - -1999-09-11 Donn Terry <donn@interix.com> - - * config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust - BFD_RELOC_RVA relocations. - - * config/tc-i386.c (md_undefined_symbol): Compare the name against - the macro GLOBAL_OFFSET_TABLE_NAME, rather than assuming that it - starts with "_G". - - * write.c (write_relocs): Call SET_SECTION_RELOCS if it is - defined. - * config/obj-coff.h (SET_SECTION_RELOCS): Define. - * doc/internals.texi (Object format backend): Document - SET_SECTION_RELOCS. - - * config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust - relocations against global symbols if TE_PE. - - * config/obj-coff.c (obj_coff_ident): Add BFD_ASSEMBLER version. - (obj_pseudo_table): Always handle ".ident" with obj-coff_ident. - - * config/obj-coff.c (coff_frob_symbol): Prohibit weak common - symbols. - - * config/obj-coff.c (obj_coff_endef): Don't merge labels, or - symbols which do not have a constant value, or tags with - non-tags. Remove the symbol from the list before adding it at the - end. - - * config/obj-coff.c (obj_coff_endef) [BFD_ASSEMBLER]: Handle .ef - C_FCN symbol differently if TE_PE. - (obj_coff_line) [BFD_ASSEMBLER]: Always use the line number which - appears in the pseudo-op, rather coff_line_base which is only set - for a .bf symbol. - - * config/obj-coff.c (obj_coff_loc): New static function. - (obj_pseudo_table): Add "loc". - - * config/obj-coff.c (add_lineno): Check that the line number is - positive. - - * config/atof-ieee.c (atof_ieee): Change what_kind to int. - * config/atof-vax.c (flonum_gen2vax): Change format_letter to - int. - (md_atof): Return NULL rather than 0. - * config/tc-i386.c (md_atof): Change type to int. - * expr.c (expr): Change first parameter to int. - * config/obj-coff.c: Add declarations for static functions. - (coff_frob_symbol): Use SYM_AUXENT. - * config/tc-i386.h (flag_16bit_code): Don't declare. - - * config/obj-coff.c (obj_coff_section): Default to setting - SEC_LOAD. Don't set SEC_DATA for 'w' modifier. - - * write.c (adjust_reloc_syms): Print adjusted fixup. - - * expr.c (integer_constant): Correct too_many_digits calculation - in base 10 case. - -1999-09-09 Andreas Schwab <schwab@suse.de> - - * doc/c-arm.texi: Fix arguments of @var to not contain - punctuation. - -1999-09-08 Philip Blundell <pb@nexus.co.uk> - - * config/tc-arm.c (s_thumb_set): Only support interworking for ELF - and COFF targets. - (md_parse_option): Only support -k flag for ELF and COFF targets. - -Tue Sep 7 13:28:59 1999 Jeffrey A Law (law@cygnus.com) - - * config/tc-hppa.c (pa_ip): Put strict register checks before - call to pa_parse_number. - - * config/tc-hppa.c (pa_ip): Support 'Z' argument. - -1999-09-06 Ian Lance Taylor <ian@zembu.com> - - * config/obj-coff.c: Add ATTRIBUTE_UNUSED as needed for - BFD_ASSEMBLER code. - -1999-09-06 Donn Terry <donn@interix.com> - - * as.c (perform_an_assembly_pass): Set SEC_DATA for data_section. - -Mon Sep 6 04:26:56 1999 Jeffrey A Law (law@cygnus.com) - - * config/tc-hppa.c (pa_ip): Get strict/non-strict mode from the - candidate instruction. Require registers for register arguments - when in strict mode. Require assemble-time constants for - constants when in strict mode. - (pa_get_absolute_expression): Require a constant when in strict - mode. - -1999-09-06 Nick Clifton <nickc@cygnus.com> - - * config/tc-m32r.c (md_longopts): Fix value for -Wnuh. - -1999-09-04 Steve Chamberlain <sac@pobox.com> - - * config/tc-pj.c: New file, supports picoJava in ELF. - * config/tc-pj.h: Ditto. - * configure.in (pjl*, pj*): New targets. - * Makefile.am: Rebuild dependencies. - (CPU_TYPES): Add pj. - (TARGET_CPU_CFILES): Add config/tc-pj.c. - (TARGET_CPU_HFILES): Add config/tc-pj.h. - * doc/c-pj.texi: New file. - * doc/as.texinfo: Add some PJ specifics. - * doc/all.texi: Add PJ to the list of all architectures, sort them - all alphabetically. - * doc/Makefile.in (CPU_DOCS): Add c-pj.texi. - * configure, Makefile.in, doc/Makefile.in: Rebuild. - -1999-09-02 Alan Modra <alan@spri.levels.unisa.edu.au> - - * config/obj-multi.h: Include obj-elf.h if OBJ_MAYBE_ELF. Reformat. - (obj_frob_file): Test for null pointer. - (OBJ_COPY_SYMBOL_ATTRIBUTES): Here too. - (OBJ_PROCESS_STAB): And here. - (elf_obj_sy): Remove - - * config/obj-elf.h: #ifndef everything defined in obj-multi.h, - except OBJ_PROCESS_STAB, which we #undef for ecoff. - (elf_obj_sy): Remove #ifndef OBJ_SYMFIELD_TYPE. - - * config/obj-coff.c (no_func): Remove. - (coff_format_ops): Change occurrences of no_func to 0, as we test - for 0 in obj-multi.h. - - * configure.in: Enable bfd for i386-coff when primary target is - bfd. Enable i386 elf,coff emulation support. Don't set - USE_EMULATIONS=1 or te_file=multi unless there is more than one - emulation to support. - *configure: Regenerate. - -1999-09-02 Nick Clifton <nickc@cygnus.com> - - * config/tc-mcore.c (mcore_s_section): Do not dump literals if a - .section .line directive is encountered. - -1999-09-01 Nick Clifton <nickc@cygnus.com> - - * config/tc-arm.c (md_section_align): Do not align sections in ELF - format. - - * as.c (show_usage): Add --gdwarf2 to list of options displayed. - * as.texinfo: Document --gdwarf2 command line option. - Add additional documentation of ARM command line switches. - -1999-08-30 Alan Modra <alan@spri.levels.unisa.edu.au> - - * config/tc-i386.c (i386_intel_memory_operand): Combine - i386_is_reg and parse_register calls. Remove END_STRING_AND_SAVE - and RESTORE_END_STRING around parse_register calls. - (i386_operand): Here too. - (i386_is_reg): Remove. - (parse_register): Move as_bad calls from within this function to - callers. - -1999-08-29 Alan Modra <alan@spri.levels.unisa.edu.au> - - Based on a patch from H.J. Lu <hjl@gnu.org> - * config/tc-i386.c (parse_register): Handle FP regs specially. - (md_begin): Remove '(' and ')' from register_chars. - -1999-08-29 Doug Evans <devans@casey.cygnus.com> - - * config/tc-m32r.c (md_parse_option): Delete unrecognized option - error message (done elsewhere). - -Sat Aug 28 01:23:11 1999 Jeffrey A Law (law@cygnus.com) - - * config/tc-hppa.c (pa_ip): Do not allow '*' in 32bit completers. - -Sat Aug 28 00:26:26 1999 Jerry Quinn <jquinn@nortelnetworks.com> - - * config/tc-hppa.c (pa_ip): Replace 'f' by 'v'. Prefix float register - args by 'f'. - - * config/tc-hppa.c (pa_ip): Add args q, %, and |. - - * config/tc-hppa.c (pa_ip): Absorb white space in instructions - between args. - Add new completers. Fix bug in 64 bit condition handling. - - * config/tc-hppa.c (pa_ip): Add completer codes 'a', 'ch', 'cH', - 'cS', and 'c*'. - - * config/tc-hppa.c (pa_ip): Place completers behind prefix 'c'. - - * config/tc-hppa.c (pa_ip): Add cases for '.', '~'. '$'. and '!' - - * config/tc-hppa.c (pa_ip): Add case for 'I'. - -1999-08-27 Jim Wilson <wilson@cygnus.com> - - * dwarf2dbg.c (MAX_SPECIAL_ADDR_DELTA): Correct typo in comment. - (struct ls): Add frag field. Initialize it to zero. - (out_end_sequence): New local text_frag. Set it while in text section. - Replace address check with frag check. Set ls.frag to text_frag if - out_set_addr called. - (dwarf2_gen_line_info): Add explanatory comment. New local saved_frag. - Set it before switching sections. Replace address check with frag - check. Set ls.frag to saved_frag if out_set_addr called. - -1999-08-26 David Mosberger <davidm@hpl.hp.com> - - * dwarf2dbg.c (out_end_sequence): If address changed, directly - output "advance_pc" opcode instead of calling gen_addr_line(). - The latter has the undesired side-effect of creating a new row - in the debug line info matrix. - -1999-08-26 Jim Wilson <wilson@cygnus.com> - - * dwarf2dbg.c (out_end_sequence): Correct comments. Set last to - ls.last_filename if last is less than zero. Set ls.last_filename - when allocating new entry. - (dwarf2_gen_line_info): Save seg and subseg info before subseg_new - call. - -1999-08-20 Alan Modra <alan@spri.levels.unisa.edu.au> - - * config/tc-i386.c (i386_index_check): Fix the displacement size - when INFER_ADDR_PREFIX. - -1999-08-18 Nick Clifton <nickc@cygnus.com> - - * config/tc-arm.c (md_apply_fix3): If an offset is invalid, - display its value. - -1999-08-17 Ian Lance Taylor <ian@zembu.com> - - * config/tc-ppc.c (md_assemble): Trim @ha constant to 16 bits, to - handle 0xffffNNNN constants correctly. - -1999-08-16 Nick Clifton <nickc@cygnus.com> - - * config/tc-arm.c (do_ldst): Look for register conflicts on stores - as well as loads. - -1999-08-13 Nick Clifton <nickc@cygnus.com> - - * config/tc-arm.c (validate_offset_imm): Work on unsigned values. - (md_apply_fix3): Always pass positive values to - validate_offset_imm. - -1999-08-12 Nick Clifton <nickc@cygnus.com> - - * config/tc-arm.c (skip_whitespace): New macro. - Formatting tidy ups. - - (md_apply_fix3): Store relocation offset in addend for ELF based - relocs. - (arm_force_relocation): Always generate relocs for Thumb function - calls. - -1999-08-11 Alan Modra <alan@spri.levels.unisa.edu.au> - - * config/tc-i386.c (md_assemble): Remove dead code. intel_syntax - LONG_DOUBLE_MNEM_SUFFIX floating point is done in opcode/i386.h - -Tue Aug 10 12:58:31 1999 Jeffrey A Law (law@cygnus.com) - - * config/tc-hppa.c (pa_build_unwind_subspace): Use sane section - flags for the unwind subspace. - - * config/tc-hppa.c (UNWIND_SECTION_NAME): Define for ELF. - (pa_build_unwind_subspace): Remove #if 0 wrapper. Select a - suitable relocation based on the size of the target's pointer. - Always Use subsegment zero for the unwinders. - (pa_level): Handle "2.0w". - -Mon Aug 9 20:02:22 1999 J"orn Rennecke <amylaar@cygnus.co.uk> - - * config/tc-d30v.c (write_2_short): Don't group repeat instructions - with the following instruction unless this was specified. - -1999-08-09 Ian Lance Taylor <ian@zembu.com> - - * config/tc-i386.h (SUB_SEGMENT_ALIGN): If TE_GO32, return 4 for - certain sections, to match BFD changes. - -1999-08-08 Mumit Khan <khan@xraylith.wisc.edu> - - * Makefile.am (noinst_SCRIPTS): Change .gdbinit to $(GDBINIT). - (EXTRA_SCRIPTS): Define to keep automake happy. - * Makefile.in: Rebuild. - -1999-08-08 Ian Lance Taylor <ian@zembu.com> - - * Makefile.am: Rename .dep* files to DEP*. - (MKDEP): Rename from DEP. Change all uses. Use $${srcdir} rather - than $(srcdir). Rename TCDEP targets to DEPTC. Rename OBJDEP - targets to DEPOBJ. - * Makefile.in: Rebuild. - -1999-08-08 Jakub Jelinek <jj@ultra.linux.cz> - - * config/tc-sparc.c (sparc_ip): Allow assembly of %lo()+%reg. - -1999-08-08 Ian Lance Taylor <ian@zembu.com> - - * Makefile.am: Change all uses of itbl-test-ops to itbl-tops to - avoid problems on DOS filesystems. - * Makefile.in: Rebuild. - - * doc/as.texinfo (Section): Document 's' flag for COFF version. - -1999-08-08 Mumit Khan <khan@xraylith.wisc.edu> - - * config/obj-coff.c (obj_coff_section): Handle 's' (shared) - section flag. - -1999-08-08 Ian Lance Taylor <ian@zembu.com> - - * configure.in: Define and substitute GDBINIT. Change AC_OUTPUT - line to create ${GDBINIT} rather than .gdbinit. - * configure, Makefile.in, doc/Makefile.in: Rebuild. - -Fri Aug 6 12:12:44 1999 Jeffrey A Law (law@cygnus.com) - - * config/tc-hppa.c (pa_ip, case '?'): Add missing break. - -Fri Aug 6 09:46:35 1999 Jerry Quinn <jquinn@nortelnetworks.com> - - * config/tc-hppa.c (pa_ip): Add 64 bit condition completers. - -1999-08-06 Jakub Jelinek <jj@ultra.linux.cz> - - * config/tc-sparc.h (tc_fix_adjustable): Fix check for PIC local - non-adjustable symbols. - -Thu Aug 5 16:52:51 1999 Jerry Quinn <jquinn@nortelnetworks.com> - - * config/tc-hppa.c (pa_ip): Change condition args to have '?' prefix. - -Thu Aug 5 23:05:56 1999 J"orn Rennecke <amylaar@cygnus.co.uk> - - * config/tc-sh.c (md_assemble): Call as_bad when there are excess - operands. - -1999-08-05 Donn Terry <donn@interix.com> - - * config/te-interix.h: New file. - * configure.in (i386-*-interix*): New target. - * configure: Rebuild. - -Wed Aug 4 13:12:17 1999 Jeffrey A Law (law@cygnus.com) - - * config/tc-hppa.c (pa_chk_field_selector): Allow 3 byte - selectors for ELF too. - (selector_table): Add "ltp" and "rtp" selectors. - -1999-08-04 Alan Modra <alan@spri.levels.unisa.edu.au> - - * config/tc-i386.c (i386_operand): No need to change - operand_string pointer in segment reg case before goto - do_memory_reference. Initialise displacement_string_start and - displacement_string_end after do_memory_reference label. - (i386_index_check): Add operand_string param, and print error - message on failure here. - (i386_intel_memory_operand): Instead of here. - (i386_operand): And here. - (INFER_ADDR_PREFIX): Enable. - - * doc/c-i386.texi (i386-16bit): Document .code16gcc. - - * config/tc-i386.h (DefaultSize): Define. Renumber following - opcode_modifier defines. - - From Etienne Lorrain <etienne.lorrain@ibm.net> - * config/tc-i386.c (stackop_size): New variable. - (set_16bit_code_flag): Clear it here. - (set_16bit_gcc_code_flag): New function. - (md_pseudo_table): Add "code16gcc" entry. - (md_assemble): Set i.suffix for insns with DefaultSize modifier. - -1999-08-03 Ian Lance Taylor <ian@zembu.com> - - * config/obj-coff.c (coff_frob_symbol): Always update set_end with - next_set_end even if the end symbol is being discarded. - - * gasp.c: Add ATTRIBUTE_UNUSED as needed for non-BFD_ASSEMBLER. - * output-file.c, symbols.c, config/tc-i386.c: Likewise. - * config/obj-coff.c: Likewise. - (seg_info_type): Remove. - (seg_info_off_by_4): Change to array of segT. - (s_get_segment): Adjust accordingly. - (obj_pseudo_table): Fully initialize sentinel entry. - - * config/tc-mips.c (append_insn): Correct INSN_SYNC test. From - Ralf Baechle <ralf@uni-koblenz.de>. - -1999-08-03 Etienne Lorrain <etienne.lorrain@ibm.net> - - * config/tc-i386.c (f16_3): New. Fixes 16 bit 3 byte nop. - -1999-08-03 Alan Modra <alan@spri.levels.unisa.edu.au> - - * config/tc-i386.c: Indentation and white space changes. - (i386_index_check): New function. Add INFER_ADDR_PREFIX code, but - don't enable it by default. - (i386_intel_operand): Remove redundant prototype. - Move check on number of memory operands, and i.mem_operands++ - (i386_intel_memory_operand): To here. - Remove i386_immediate code from here. Remove special case code - for input and output using (%dx). Remove base/index checks and - call i386_index_check instead. Save initial operand_string - argument for error message. - (i386_operand): Remove redundant prototype. Move base/index - checks to i386_index_check. - (i386_displacement): Move intel mode check for non-zero - i.disp_operand - (i386_intel_memory_operand): To here. - -1999-07-30 Jakub Jelinek <jj@ultra.linux.cz> - - * config/tc-sparc.c (md_longopts): Add --no-undeclared-regs option. - (sparc_ip): Warn if %g2 or %g3 register is used and not covered - by .register pseudo-op if -64 and --no-undeclared-regs. - (s_register, sparc_adjust_symtab): New functions. - * config/tc-sparc.h (tc_adjust_symtab, sparc_adjust_symtab): - Declare sparc_adjust_symtab as tc_adjust_symtab. - * doc/c-sparc.texi: Add description of #ignore special literal - for .register pseudo-op. - -1999-07-30 Catherine Moore <clm@cygnus.com> - - * config/tc-arm.c (tc_gen_reloc): Record the vtable entry in - the relocation's section offset. - -1999-07-29 Alan Modra <alan@spri.levels.unisa.edu.au> - - * write.c (fixup_segment): Fix generic error check overflow test. - - * config/tc-i386.c (pe): Change %d to %ld, %x to %lx, and cast - X_add_number to long. - -Wed Jul 28 02:04:24 1999 "Jerry Quinn" <jquinn@nortelnetworks.com> - - * config/tc-hppa.c (pa_ip): Add 'J' and 'K' code - processing. - -1999-07-27 Ian Lance Taylor <ian@zembu.com> - - * config/tc-sparc.h (tc_fix_adjustable): Don't adjust GOT, PLT, or - VTABLE relocations. - -1999-07-21 Mark Elbrecht <snowball3@bigfoot.com> - - * config/te-go32.h (COFF_LONG_SECTION_NAMES): Define. - - * configure.bat: Remove; obsolete. - * config/go32.cfg: Likewise. - -1999-07-21 Brad M. Garcia <bgarcia@fore.com> - - * configure.in (i386-*-vxworks*): New target. - * configure: Rebuild. - -1999-07-16 Jakub Jelinek <jj@ultra.linux.cz> - - * doc/c-sparc.texi: Document .register and .nword pseudo-ops. - -1999-07-16 Jakub Jelinek <jj@ultra.linux.cz> - - * config/tc-sparc.c (sparc_ip): Allow OLO10 relocations - on -64 and not pic. - (output_insn): Put OLO10's secondary addend into tc_fix_data. - (md_apply_fix3): Handle BFD_RELOC_SPARC_OLO10. - (tc_gen_reloc): Return two relocs for OLO10, LO10 and SPARC13. - * config/tc-sparc.h (RELOC_EXPANSION_POSSIBLE, - MAX_RELOC_EXPANSION): Define. - (TC_FIX_TYPE, TC_INIT_FIX_DATA, TC_FIX_DATA_PRINT): Likewise. - -1999-07-16 Alan Modra <alan@spri.levels.unisa.edu.au> - - * config/tc-i386.c (intel_float_operand): Add prototype, make static. - (md_assemble): Localize *exp variable to if (fake_zero_displacement) - block. Print a warning if an 8-bit or 16-bit constant - displacement or immediate is truncated on output. - (i386_immediate): Ensure Imm16 is always legal for a 16-bit mode - immediate. - (i386_operand): Disallow immediate jump absolute operand. - -1999-07-15 Ian Lance Taylor <ian@zembu.com> - - * configure.in: Bump version number to 2.9.5. - * configure: Rebuild. - - * dwarf2dbg.c (dwarf2_gen_line_info): Don't assume that long long - or %llx work. - -Thu Jul 15 02:45:30 1999 Jeffrey A Law (law@cygnus.com) - - * config/tc-hppa.c (md_pseudo_table): Add ".dword" pseudo-op. - (cons_fix_new_hppa): Derive size of fixup from size of the object. - -1999-07-14 Philip Blundell <pb@nexus.co.uk> - - * symbols.c (dollar_label_name): Prepend LOCAL_LABEL_PREFIX if it - is defined. - * config/tc-arm.h (LOCAL_LABEL_PREFIX): Define to '.' for ELF. - - * config/tc-arm.c (md_begin): Set F_SOFTFLOAT in the output file - if -mno-fpu was given. - (tc_gen_reloc): Fix typo. Delete bogus code related to GOTPC - relocs. - (cons_fix_new_arm): Remove misleading comments. - -1999-07-14 Ian Lance Taylor <ian@zembu.com> - - * write.c (cvt_frag_to_fill): Use frag file and line in rs_org - error message. - (relax_segment): Likewise. After giving a rs_org error, convert - the frag to rs_align to avoid cascading errors. - -1999-07-12 Andreas Schwab <schwab@suse.de> - - * config/tc-m68k.c: Add some ATTRIBUTE_UNUSED. - -1999-07-11 Ian Lance Taylor <ian@zembu.com> - - * Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSED - as appropriate. Fill in structure initializations. Add variable - initializations. Add casts. - * dwarf2dbg.c (print_stats): Change i to size_t. - * listing.c (listing_listing): Change list_line to unsigned int. - -1999-07-10 Ian Lance Taylor <ian@zembu.com> - - * config/tc-ppc.h (tc_fix_adjustable) [OBJ_ELF]: Call S_IS_LOCAL - rather than checking for \001 and \002 in symbol name. - * config/tc-sparc.h (tc_fix_adjustable) [OBJ_ELF]: Likewise. - -Thu Jul 8 12:32:23 1999 John David Anglin <dave@hiauly1.hia.nrc.ca> - - * configure.in (hppa*-linux-gnu*): New target. - * configure: Rebuilt. - -1999-07-08 Nick Clifton <nickc@cygnus.com> - - * doc/c-arm.texi (ARM Directives): Document .thumb_set directive. - -1999-07-07 Nick Clifton <nickc@cygnus.com> - - * config/tc-v850.c (v850_comm): Use symbol_get_obj() rather than - accessing symbolP directly. - -Tue Jul 6 10:41:42 1999 Jeffrey A Law (law@cygnus.com) - - * config/tc-hppa.h (tc_frob_symbol): Always punt "$global$" symbol - for ELF. - -1999-07-05 Nick Clifton <nickc@cygnus.com> - - * config/tc-arm.c (ARM_EXT_V5): Define. - (ARM_ARCH_V5, ARM_ARCH_V5T): Define. - (md_begin): Detect ARM v5 architectures. - (md_parse_option): Accept arm v5 specification. - (md_show_usage): Documment -marmv5 switch. - - * doc/c-arm.texi: Document -marmv5 command line option. - - * config/tc-arm.c (do_adrl): New function. Implement ADRL pseudo - op. - (validate_immediate_twopart): New function. Determine if a - constant can be computed by two ADD instructions. - (output_inst): Remove its command line parameter - it was never - used. - (md_apply_fix3): Support BFD_RELOC_ARM_ADRL_IMMEDIATE, used to - implememt the ADRL pseudo op. - (tc_gen_reloc): Generate a suitable error message if an ADRL - instruction tries to generate a real reloc. - - * doc/c-arm.texi: Document NOP, ADR and ADRL pseudo ops. - -Thu Jul 1 15:33:10 1999 Jeffrey A Law (law@cygnus.com) - - * config/tc-hppa.c (pa_ip): Convert the opcode and all completers - into lower case. - -1999-06-27 H.J. Lu <hjl@gnu.org> - - * subsegs.c (subseg_text_p): Use 1/0 instead of true/false for - non BFD_ASSEMBLER case. - -1999-06-26 Mumit Khan <khan@xraylith.wisc.edu> - - * config/obj-coff.c (obj_coff_section): Mark writable sections as - data. - -1999-06-26 David Mosberger <davidm@hpl.hp.com> - - * dwarf2dbg.c (dwarf2_gen_line_info): Don't call - out_end_sequence() when the address decreases due to a new frag. - (gen_dir_list): Set ls.file[i].dir to j + 1 (not j) because file - numbering starts with 1. - -1999-06-23 Nick Clifton <nickc@cygnus.com> - - * config/tc-mcore.c (md_pseudo_table): Add .comm for ELF and allow - .section for COFF. - (mcore_s_text): Call obj_elf_text for ELF target. - (mcore_s_data): Call obj_elf_data for ELF target. - (mcore_s_section): No longer ELF specific. Call obj_coff_section - for COFF target. - (mcore_s_bss): New function: Dump literal table before changing - sections. - (mcore_s_comm): New function: Dump literal table before changing - sections. - - * config/obj-elf.c (obj_elf_common, obj_elf_data, obj_elf_text): - No longer static functions. - * config/obj-elf.h (obj_elf_common, obj_elf_data, obj_elf_text): - Provide prototypes for these functions. - -1999-06-22 Ian Lance Taylor <ian@zembu.com> - - * subsegs.c (subseg_text_p): Rewrite non BFD_ASSEMBLER case to use - a list of names, to try obj_segment_name, and to try abbreviated - names when using COFF without long section names. - - * config/tc-alpha.c: More use of symbol accessor functions. - * config/tc-arc.c: Likewise. - * config/tc-d30v.c: Likewise. - * config/tc-fr30.c: Likewise. - * config/tc-i860.c: Likewise. - * config/tc-m88k.c: Likewise. - * config/tc-mcore.c: Likewise. - * config/tc-ns32k.c: Likewise. - * config/tc-sparc.c: Likewise. - * config/tc-v850.c: Likewise. - - * config/tc-arc.c (get_arc_exp_reloc_type): Change uses of - sy_value with appropriate accessor functions. - * config/tc-arm.c (md_apply_fix3): Likewise. - * config/tc-d10v.c (AT_WORD_P): Likewise. - * config/tc-v850.c (reg_name_search): Likewise. - - * config/obj-ecoff.c (obj_ecoff_set_ext): Change uses of bsym to - use symbol_get_bfdsym instead. - * config/tc-ppc.c (md_assemble): Likewise. - * config/tc-v850.c (v850_comm): Likewise. - -1999-06-22 Jonathan Larmour <jlarmour@cygnus.co.uk> - - * config/tc-arc.c (tc_gen_reloc): Use symbol_get_bfdsym to get at - the symbol, rather than accessing the bsym member. - * config/tc-d10v.c (tc_gen_reloc): Likewise. - * config/tc-d30v.c (tc_gen_reloc): Likewise. - * config/tc-mcore.c (tc_gen_reloc): Likewise. - * config/tc-mn10200.c (tc_gen_reloc): Likewise. - * config/tc-mn10300.c (tc_gen_reloc): Likewise. - * config/tc-ns32k.c (tc_gen_reloc): Likewise. - * config/tc-tic30.c (tc_gen_reloc): Likewise. - * config/tc-v850.c (tc_gen_reloc): Likewise. - -Mon Jun 21 16:45:19 1999 Jeffrey A Law (law@cygnus.com) - - * tc-hppa.c (elf_hppa_reloc_type): Renamed from elf32_hppa_reloc_type. - (hppa_gen_reloc_type): Conditionalize on BFD64. - (tc_gen_reloc): Re-enable ELF relocations. - * tc-hppa.h (TARGET_FORMAT): Handle elf64-hppa format. - -1999-06-21 Ian Lance Taylor <ian@zembu.com> - - * config/tc-arm.c (ldst_extend): Add parentheses to avoid - warning. - (do_ldst): Move assignment out of if condition. - (md_apply_fix3): Add casts to avoid printf format warnings. Add - parentheses to avoid warning. - -1999-06-21 Nick Clifton <nickc@cygnus.com> - - * config/tc-arm.c (arm_adjust_symtab): Use symbol_get_bfdsym() - macro to get at the BFD symbol associated with a GAS symbol. - -1999-06-19 Ian Lance Taylor <ian@zembu.com> - - * config/tc-ppc.c: Update for symbol handling changes. - * config/obj-coff.c: Likewise. - -Fri Jun 18 14:34:18 1999 Jeffrey A Law (law@cygnus.com) - - * tc-hppa.c: General cleanups of ELF support. No more spaces - and subspaces for ELF. - (GDB_DEBUG_SPACE_NAME): Delete definition for ELF. - (GDB_STRINGS_SUBSPACE_NAME): Likewise. - (GDB_SYMBOLS_SUBSPACE_NAME): Likewise - (UNWIND_SECTION_NAME): Likewise. - (space/subspace related structures): Conditionalize definitions - on OBJ_SOM. - (space/subspace directives and support routines): Conditionalize - definitions and references/uses on OBJ_SOM. - (label_symbol_struct): For ELF, track the symbol's segment. For - SOM track its space. - (pa_define_label, pa_undefine_label, pa_get_label): Corresponding - changes. - (USE_ALIASES): Kill for both SOM & ELF. - (pa_def_subspaces, pa_def_spaces): Corresponding changes. - (pa_space, pa_subspace): Corresponding changes. - (pa_spaces_begin): Corresponding chagnes. - (md_begin): Do not muck around with space/subspace stuff for - OBJ_ELF. - (md_apply_fix): Temporarily disable argument relocation stuff - for OBJ_ELF. - (tc_gen_reloc): Temporarily disable relocation generation for - OBJ_ELF - (pa_build_unwind_subspace): Similarly. - -1999-06-16 Nick Clifton <nickc@cygnus.com> - - * config/tc-arm.c (thumb_set): New pseudo op. - (text, data, section): Override these pseudo ops with ARM - specific versions. - (s_thumb_set): New function: Perform the same as a .set pseudo - op, but also mark the alias'ed symbol as being a Thumb - function. - (arm_s_text): New function: Perform the same as the .text - pseudo op, but dump the literal pool before changing - sections. - (arm_s_data): New function: Perform the same as the .data - pseudo op, but dump the literal pool before changing - sections. - (arm_s_section): New function: Perform the same as the - .section pseudo op, but dump the literal pool before changing - sections. - (arm_cleanup): Do not reset the current section before dumping - the literal pool. - -1999-06-17 Nick Clifton <nickc@cygnus.com> - - * config/tc-m32r.c (md_longopts): Fix OPTION_WARN_UNMATCHED and - OPTION_NO_WARN_UNMATCHED entries. - (md_parse_option): Generate a warning message if an unrecognised - option is encountered. - - * config/tc-d10v.c (do_not_ignore_hash): New variable. - (get_operands): When parsing an expression after an '@' symbol - has been detected, do not ignore '#' symbols. - (md_operand): Only ignore '#' symbols if do_not_ignore_hash is - false. - -1999-06-13 Ian Lance Taylor <ian@zembu.com> - - From K. Richard Pixley <rich@noir.com>: - * configure.in (ppc-*-vxworks*): New target. - * configure: Rebuild. - -1999-06-12 Philip Blundell <philb@gnu.org> - - * config/tc-arm.c (tc_gen_reloc): Fix handling of GOTPC relocs. - -1999-06-13 Ian Lance Taylor <ian@zembu.com> - - * write.c (adjust_reloc_syms): Rather than never reducing reloc - which refer to symbols in linkonce sections, permit reducing the - relocs if the symbol is local. - -1999-06-12 Ian Lance Taylor <ian@zembu.com> - - * subsegs.c (subseg_text_p): New function. - * as.h (subseg_text_p): Declare. - * read.c (do_align): Use subseg_text_p to set the default fill. - * write.c (subsegs_finish): Likewise. - * config/obj-coff.c (write_object_file): Likewise. - * config/tc-i386.h (md_maybe_text): Don't define. - (md_do_align): Use subseg_text_p to set the default fill. - * config/tc-m32r.c (m32r_do_align): Likewise. - * config/tc-sh.c (sh_do_align): Likewise. - * config/tc-sparc.h (md_do_align): Likewise. - -1999-06-12 David O'Brien <obrien@freebsd.org> - - * configure.in: (i[3456]86-*-freebsd*): Now defaults to ELF. - * configure: Rebuild. - -1999-06-12 Ian Lance Taylor <ian@zembu.com> - - * dwarf2dbg.c: Include elf/dwarf2.h with "", not <>. - * Makefile.am: Rebuild dependencies. - * Makefile.in: Rebuild. - - * config/tc-i386.c (i386_immediate): Remove unused label - seg_unimplemented. - - * struc-symbol.h: Put local_symbol code in ifdef BFD_ASSEMBLER. - * symbols.c: Likewise. - * config/obj-aout.c (obj_crawl_symbol_chain): Refer directly to - sy_next field when taking address, rather than symbol_next. - - * dwarf2dbg.c: Change bfd_vma to addressT and bfd_signed_vma to - offsetT. - (out_set_addr): Don't use BYTES_PER_ADDRESS. Instead, get the - value from the output file architecture. - (dwarf2_gen_line_info): Ifdef BFD_ASSEMBLER specific code. - * dwarf2dbg.h: Change bfd_vma to addressT. - -1999-06-11 Ian Lance Taylor <ian@zembu.com> - - * dwarf2dbg.h: Use PARAMS in function declarations. - -1999-06-11 Martin Dorey <mdorey@madge.com> - - * write.c (fixup_segment): Don't add symbol value for i960 ELF. - * config/tc-i960.c (s_leafproc): Don't call tc_set_bal_of_cal if - OBJ_ELF. - (md_apply_fix): Simplify BFD_ASSEMBLER handling. - -1999-06-11 Ian Lance Taylor <ian@zembu.com> - - * config/tc-i386.c (md_apply_fix3): Add default case to switch. - - * config/tc-sparc.c (md_pseudo_table): Remove pushsection and - popsection. - - * config/tc-sparc.c (sparc_ip): Add default case to reloc switch. - - * read.c (read_a_source_file): Only declare inescape if - QUOTES_IN_INSN. - - * itbl-ops.c (itbl_disassemble): Change sprintf format strings to - match parameters. - (find_entry_byval): Add parens to avoid warning. - - * as.c: If HAVE_ITBL_CPU, include "itbl-ops.h". - - * symbols.c (resolve_symbol_value): Don't permit subtraction of - undefined symbols. - -1999-06-10 Jakub Jelinek <jj@ultra.linux.cz> - - * config/tc-sparc.c (sparc_ip): Don't use side-effect expression - with isoctal. - - * config/tc-sparc.c (synthetize_setuw, synthetize_setsw, - synthetize_setx): New functions. - (md_assemble): Broken the special cases into the above - functions. Make compiler happy if sizeof(bfd_vma)==4. - Fix sethi generated from set/setuw. If instructions have a relloc, - always clear the fields to be relocated in the opcode. - (sparc_ip): Remove special_case global variable. - -1999-06-10 Ian Lance Taylor <ian@zembu.com> - - Based on patches from John W. Woznack <jwoznack@concentric.net>: - * itbl-ops.c (itbl_get_reg_val): Add pval parameter. Return - indication of success rather than a value. - (itbl_get_val): Likewise. - (itbl_get_field): Use strcspn. Change delimiters to include - parens. - * itbl-ops.h (itbl_get_reg_val): Update declaration. - (itbl_get_val): Likewise. - * config/tc-mips.c (mips_ip): Update call to itbl_get_reg_val. - - * symbols.c (copy_symbol_attributes): Convert local symbols to - regular symbols. - -1999-06-10 Nick Clifton <nickc@cygnus.com> - - * config/tc-arm.c (md_parse_option): Add support for ARM920 and - ARM920t. - -1999-06-07 Jakub Jelinek <jj@ultra.linux.cz> - - * config/tc-sparc.c (md_assemble): Fix up setx, support setsw. - Optimize set if sizeof(bfd_vma) == 64. - (sparc_ip): Fix sethi - without %hi() it should generate - R_SPARC_22 reloc, not R_SPARC_HI22. - (tc_gen_reloc): Handle BFD_RELOC_SPARC22. - -1999-06-07 Jakub Jelinek <jj@ultra.linux.cz> - - * config/tc-sparc.c (md_begin): Handle native wordsize aliases. - (s_ncons): New function. - (native_op_table): New table. - (sparc_ip): Be more strict on %hi() etc.; prepare assembler for - R_SPARC_OLO10 handling. - -Mon Jun 7 10:22:16 1999 Richard Henderson <rth@cygnus.com> - - * expr.h (struct expressionS): Revert last change; widen X_op. - * config/tc-alpha.c (md_begin): Check the field is wide enough. - -Mon Jun 7 11:25:16 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - - * Makefile.am (TARGET_CPU_CFILES): Add config/tc-fr30.c. - (TARGET_CPU_HFILES): Add config/tc-fr30.h. - (TARG_ENV_HFILES): Add config/te-epoc-pe.h. - * Makefile.in: Regenerated. - - * config/obj-elf.c (obj_elf_common): In MRI mode if called as - `common' pass on to s_mri_common. - (elf_pseudo_table): Pass 1 to obj_elf_common for `common'. - -1999-06-06 Richard Henderson <rth@cygnus.com> - - * config/obj-elf.c (obj_elf_section): Don't free the return - value of demand_copy_C_string. - -1999-06-05 Richard Henderson <rth@cygnus.com> - - * dwarf2dbg.c (dwarf2_gen_line_info): Mirror the section symbol - creation logic from obj_elf_create_section. - - * config/obj-elf.c (elf_pseudo_tab): Add pushsection/popsection. - (section_stack): New. - (special_sections): Make const. - (obj_elf_section): Gut and rewrite parsing. - (obj_elf_change_section): New function broken out of obj_elf_section. - (obj_elf_parse_section_letters): Likewise. - (obj_elf_section_word): Likewise. - (obj_elf_section_type): Likewise. - (obj_elf_previous): Treat as a toggle. - (obj_elf_popsection): New. - * config/tc-ppc.c (ppc_section_word): Take str+len not ptr_str. - (ppc_section_type): Likewise. - * config/tc-ppc.h: Likewise. - - * expr.h (struct expressionS): Don't make X_op a bitfield. - * config/tc-alpha.c: Update for symbol handling changes. - (md_apply_fix) [case GPREL]: Use now_seg instead of absolute_section. - (load_expression, emit_ir_load, emit_loadstore, emit_jsrjmp): Likewise. - -1999-06-05 Richard Henderson <rth@cygnus.com> - - * dwarf2dbg.c (*): Convert to K&R + prototypes. - (dwarf2_gen_line_info): Kill unused variables. - (dwarf2_finish): Likewise. - (dwarf2_where): Likewise. - (dwarf2_directive_file): If we've only got a string, - hand off to s_app_file. - * ecoff.c: Move the include of ecoff.h. - * symbols.h (S_IS_FUNCTION): Prototype. - - * read.c (LEX_HASH): Supply a default. - (lex_type): Use it. - (s_globl): Update `c' after skipping whitespace. - * read.h (LEX_END_NAME, is_name_ender): New. - * expr.c (get_symbol_end): Respect it. - -1999-06-04 Mark Klein <mklein@dis.com> - - * config/tc-hppa.c (md_begin): Convert local symbol dummy_symbol - to real if OBJ_SOM - (tc_gen_reloc): Still need bfd_abs_symbol in some relocs. - - * config/tc-hppa.c: Update for symbol handling changes. - -1999-06-03 Ian Lance Taylor <ian@zembu.com> - - * cgen.c: Update for symbol handling changes. - * config/tc-m32r.c: Likewise. - - * config/tc-hppa.h: Update for symbol handling changes. - * config/tc-hppa.c: Likewise. - - * config/tc-arm.h: Update for symbol handling changes. - * config/tc-arm.c: Likewise. - (symbol_make_empty): Remove. Just use symbol_create. - - * symbols.c (symbol_set_tc): Correct name. - - * Makefile.am: Rebuild dependencies. - ($(OBJS)): Don't depend upon struc-symbol.h. - (.dep1, .tcdep, .objdep): Create itbl-parse.h. - * dep-in.sed: Don't remove struc-symbol.h. - * Makefile.in: Rebuild. - - * doc/internals.texi (Symbols): Describe changes in symbol - handling. - -1999-06-03 Richard Henderson <rth@cygnus.com> - - * dwarf2dbg.c (dwarf2_gen_line_info): Use section_symbol - instead of doing the work by hand. - -1999-06-03 David Mosberger <davidm@hpl.hp.com> - - * dwarf2dbg.c (INITIAL_STATE): New macro encapsulating initial - state of line state-machine. - (struct ls): Collect DWARF2 line state-machine state in new member - SM. Add member EMPTY_SEQUENCE to keep track if a code sequence - resulted in any DWARF2 directives. - (reset_state_machine): New function. - (out_end_sequence): Ditto. - (dwarf2_gen_line_info): When switching sections or switching to a - lower text address, call out_end_sequence() first to terminate the - previous code sequence as code sequences MUST have monotonically - increasing addresses. - (dwarf2_finish): Call out_end_sequence() instead of open coding it. - -1999-06-03 David Mosberger <davidm@hpl.hp.com> - - * as.c (parse_args): Add option -gdwarf2 to allow requesting - DWARF2 debug info (line information only, at this point). - * as.h: Update comment about supported debug formats. - * dwarf2dbg.c, dwarf2dbg.h: New files. - * Makefile.am (GAS_CFILES, HFILES, GENERIC_OBJS): Add them. - - * expr.c (operand): Don't use [ for parens if we want an index op. - (op_encoding): Switch [ into O_index, if desired. - (op_rank): Renumber with O_index on bottom. - (expr): If O_index, match closing bracket. - * expr.h (O_index): New. - - * read.c (read_a_source_file): Conditionally allow matched " - in lines passed to md_assemble. - - * config/obj-elf.c (elf_pseudo_table): Add `common'. - -1999-06-03 Ian Lance Taylor <ian@zembu.com> - - Add support for storing local symbols in a small structure to save - memory when assembling large files. - * as.h: Don't include struc-symbol.h. - (symbolS): Add typedef. - * symbols.c: Include struc-symbol.h. - (local_hash): New static variable. - (save_symbol_name): New static function, from symbol_create. - (symbol_create): Call save_symbol_name. - (local_symbol_count): New static variable. - (local_symbol_conversion_count): Likewise. - (LOCAL_SYMBOL_CHECK): Define. - (local_symbol_make): New static function. - (local_symbol_convert): New static function. - (colon): Handle local symbols. Create local symbol for local - label name. - (symbol_table_insert): Handle local symbols. - (symbol_find_or_make): Create local symbol for local label name. - (symbol_find_base): Check for local symbol. - (symbol_append, symbol_insert): Check for local symbols. - (symbol_clear_list_pointers, symbol_remove): Likewise. - (verify_symbol_chain): Likewise. - (copy_symbol_attributes): Likewise. - (resolve_symbol_value): Handle local symbols. - (resolve_local_symbol): New static function. - (resolve_local_symbol_values): New function. - (S_GET_VALUE, S_SET_VALUE): Handle local symbols. - (S_IS_FUNCTION, S_IS_EXTERNAL, S_IS_WEAK, S_IS_COMMON): Likewise. - (S_IS_DEFINED, S_IS_DEBUG, S_IS_LOCAL, S_GET_NAME): Likewise. - (S_GET_SEGMENT, S_SET_SEGMENT, S_SET_EXTERNAL): Likewise. - (S_CLEAR_EXTERNAL, S_SET_WEAK, S_SET_NAME): Likewise. - (symbol_previous, symbol_next): New functions. - (symbol_get_value_expression): Likewise. - (symbol_set_value_expression): Likewise. - (symbol_set_frag, symbol_get_frag): Likewise. - (symbol_mark_used, symbol_clear_used, symbol_used_p): Likewise. - (symbol_mark_used_in_reloc): Likewise. - (symbol_clear_used_in_reloc, symbol_used_in_reloc_p): Likewise. - (symbol_mark_mri_common, symbol_clear_mri_common): Likewise. - (symbol_mri_common_p): Likewise. - (symbol_mark_written, symbol_clear_written): Likewise. - (symbol_written_p): Likewise. - (symbol_mark_resolved, symbol_resolved_p): Likewise. - (symbol_section_p, symbol_equated_p): Likewise. - (symbol_constant_p): Likewise. - (symbol_get_bfdsym, symbol_set_bfdsym): Likewise. - (symbol_get_obj, symbol_set_obj): Likewise. - (symbol_get_tc, symbol_set_tc): Likewise. - (symbol_begin): Initialize local_hash. - (print_symbol_value_1): Handle local symbols. - (symbol_print_statistics): Print local symbol statistics. - * symbols.h: Include "struc-symbol.h" if not BFD_ASSEMBLER. - Declare new symbols.c functions. Move many declarations here from - struc-symbol.h. - (SYMBOLS_NEED_BACKPOINTERS): Define if needed. - * struc-symbol.h (SYMBOLS_NEED_BACKPOINTERS): Don't set. - (struct symbol): Move bsym to make it clearly the first field. - Remove TARGET_SYMBOL_FIELDS. - (symbolS): Don't typedef. - (struct broken_word): Remove. - (N_TYPE_seg, seg_N_TYPE): Move to symbol.h. - (SEGMENT_TO_SYMBOL_TYPE, N_REGISTER): Likewise. - (symbol_clear_list_pointers): Likewise. - (symbol_insert, symbol_remove): Likewise. - (symbol_previous, symbol_append): Likewise. - (verify_symbol_chain, verify_symbol_chain_2): Likewise. - (struct local_symbol): Define. - (local_symbol_converted_p, local_symbol_mark_converted): Define. - (local_symbol_resolved_p, local_symbol_mark_resolved): Define. - (local_symbol_get_frag, local_symbol_set_frag): Define. - (local_symbol_get_real_symbol): Define. - (local_symbol_set_real_symbol): Define. - Define. - * write.c (write_object_file): Call resolve_local_symbol_values. - * config/obj-ecoff.h (OBJ_SYMFIELD_TYPE): Define. - (TARGET_SYMBOL_FIELDS): Don't define. - * config/obj-elf.h (OBJ_SYMFIELD_TYPE): Add local field. If - ECOFF_DEBUGGING, add ECOFF fields. - (ELF_TARGET_SYMBOL_FIELDS, TARGET_SYMBOL_FIELDS): Don't define. - * config/obj-multi.h (struct elf_obj_sy): Add local field. If - ECOFF_DEBUGGING, add ECOFF fields. - (ELF_TARGET_SYMBOL_FIELDS, TARGET_SYMBOL_FIELDS): Don't define. - (ECOFF_DEBUG_TARGET_SYMBOL_FIELDS): Don't define. - * config/tc-mcore.h: Don't include struc-symbol.h. - (TARGET_SYMBOL_FIELDS): Don't define. - (struct mcore_tc_sy): Define. - (TC_SYMFIELD_TYPE): Define. - * Many files: Use symbolS instead of struct symbol. Use new - accessor functions rather than referring to symbolS fields - directly. - - * read.c (s_mri_common): Don't add in value of line_label. - - * config/tc-mips.c (md_apply_fix): Correct parenthesization when - checking for SEC_LINK_ONCE. - - * config/tc-sh.h (sh_fix_adjustable): Declare. - - * app.c (input_buffer): New static variable. - (app_push): Save saved_input in allocated buffer. - (app_pop): Restored saved_input. - (do_scrub_chars): Change get parameter to take char * and int as - arguments. Change GET macro to pass input_buffer to get - function. Don't save input into allocated buffer. - * as.h (do_scrub_chars): Update declaration. - * input-file.c (input_file_get): Change to take char * and int. - Read data into passed in buffer. Remove static buffer. - * read.c (scrub_from_string): Change to take char * and int. Copy - data into passed in buffer. - - * hash.h: Neaten. Declare hash_traverse. - * hash.c: Complete rewrite based on BFD hashing code. - * gasp.c (chunksize): New variable. - * macro.c (macro_expand_body): Call hash_jam with NULL rather than - hash_delete. - -1999-05-28 Nick Clifton <nickc@cygnus.com> - - * config/tc-arm.c (md_apply_fix3): Add pipeline offset into reloc - addend unless the target uses an old ABI. - -Mon May 24 13:36:55 1999 Doug Evans <devans@canuck.cygnus.com> - - -Wchar-subscripts cleanup - * listing.c (listing_newline): Use unsigned char variable, so - calls to isascii,iscntrl are correct. - * atof-generic.c (atof_generic): Cast arg to isdigit, et. al. with - (unsigned char). - * ecoff.c (ecoff_directive_ent,ecoff_stab): Ditto. - * config/obj-elf.c (obj_elf_vtable_inherit): Ditto. - * config/tc-mips.c (mips_ip,mips16_ip): Ditto. - (my_getSmallExpression,get_number,s_mips_ent): Ditto. - -1999-05-28 Torbjorn Granlund <tege@matematik.su.se> - - * config/tc-m68k.c (m68k_ip): Check for disallowed index register - width for Coldfire. - (arch_coldfire_p): New #define. - (m68k_ip, m68k_init_after_args): Use arch_coldfire_p. - -1999-05-28 Linus Nordberg <linus.nordberg@canit.se> - - * config/tc-m68k.c (install_operand): Add places `n', `o'. - - * config/tc-m68k.c (m68k_ip): Add formats `E', `G', `H'. - (install_operand): Add place `N'. - (init_table): Add registers ACC, MACSR, MASK. - - * config/m68k-parse.h (m68k_register): Add ACC, MACSR, MASK. - - * config/tc-m68k.c: Change mcf5200 --> mcf. - (archs): Add mcf5206e, mcf5307. - (m68k_ip): Add format `u'. - (install_operand): Add place `m', `M', `h'. - (init_table): Add upper/lower registers. - - * config/m68k-parse.h (m68k_register): Add upper/lower registers. - -1999-05-28 Martin Dorey <mdorey@madge.com> - - * config/tc-i960.c: Several minor changes to add ELF and - BFD_ASSEMBLER support. - * config/tc-i960.h: Likewise. - * configure.in (i960-*-elf*): New target. - * aclocal.m4, configure: Rebuild. - -1999-05-25 Alan Modra <alan@spri.levels.unisa.edu.au> - - * config/tc-i386.c (md_apply_fix3): Only do 1999-05-17 fx_pcrel - reloc changes when defined(BFD_ASSEMBLER). - -1999-05-17 Alan Modra <alan@spri.levels.unisa.edu.au> - - * config/tc-i386.c (tc_gen_reloc): Remove F and MAP macros. - - * write.c (write_print_statistics): Output to file, not stderr. - - * expr.c (generic_bignum_to_int32,64): Prototype. - - * read.c (s_lcomm_internal, sizeof_sleb128, sizeof_uleb128, - output_sleb128, output_uleb128, output_big_sleb128, - output_big_uleb128, output_big_leb128): Prototype. - (output_big_sleb128, output_big_uleb128): Make inline. - (output_big_leb128): Remove inline - - From Maciej W. Rozycki <macro@ds2.pg.gda.pl> - * config/tc-i386.c (md_apply_fix3): Convert BFD_RELOC_16 with - fx_pcrel set to BFD_RELOC_16_PCREL. Similarly for BFD_RELOC_8. - Handle BFD_RELOC_16_PCREL and BFD_RELOC_8_PCREL. Return changed - value for correct overflow check in write.c:fixup_segment. - * write.c (fixup_segment): Move bitfield overflow checks to after - the md_apply_fix call. - * config/obj-coff.c (fixup_segment): Likewise. - * doc/internals.texi (CPU backend): Mention md_apply_fix modifying - valueT *val argument. - -Fri May 14 10:52:13 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - - * config/atof-ieee.c (gen_to_words): Correctly round a - denormalized number. Fix off-by-one in range checking for - exponent in a denormal. - -1999-05-10 Nick Clifton <nickc@cygnus.com> - - * config/tc-mcore.c (parse_reg): Accept 'sp' as a valid register - name. - -Thu May 13 09:46:59 1999 Joel Sherrill (joel@OARcorp.com) - - * configure.in (i386-*-rtemself*, sh-*-rtemself*): New targets. - -1999-05-12 Alan Modra <alan@spri.levels.unisa.edu.au> - - * config/tc-i386.h (InvMem): New flag. Add to AnyMem. - (ReverseRegRegmem): Remove. - (ImmExt): New flag. Renumber some of the opcode_modifier bits. - * config/tc-i386.c (md_assemble): Test for PIII SIMD and AMD - 3DNow! via ImmExt opcode_modifier. Remove ReverseRegRegmem - kludge. - - From Doug Ledford <dledford@redhat.com> - * config/tc-i386.h (RegXMM): New for P/III. - * config/tc-i386.c: Add support for P/III. - -Sat May 8 23:28:50 1999 Richard Henderson <rth@cygnus.com> - - * config/tc-ppc.c (md_parse_option): Recognize -mppc64bridge. - (md_begin): Allow ppc32 insns in ppc64bridge mode. - (ppc_insert_operand): Accept SIGNOPT in ppc64 mode. - -Thu May 6 23:13:39 1999 Richard Henderson <rth@cygnus.com> - - * config/tc-i386.c (i386_immediate): Skip whitespace before - complaining about junk after expression. - (i386_displacement): Likewise. - -Thu May 6 19:50:14 1999 Richard Henderson <rth@cygnus.com> - - * symbols.c (symbol_find_base): Use memcpy instead of strcpy. - Don't copy before downcaseing. - -1999-05-05 Catherine Moore <clm@cygnus.com> - - * tc-m68k.c: Include elf/m68k.h. - (m68k_elf_final_processing): New routine. - * tc-m68k.h (elf_tc_final_processing m68k_elf_final_processing): - Define. - -Mon May 3 10:26:03 1999 Jeffrey A Law (law@cygnus.com) - - * config/tc-hppa.c (md_apply_fix): Handle 22 bit fmt insn like a - 17 bit fmt insn. - -1999-04-30 Nick Clifton <nickc@cygnus.com> - - * config/tc-mcore.c (mcore_s_section): Dump literals before - changing section. - -1999-04-29 Nick Clifton <nickc@cygnus.com> - - * config/tc-mcore.c (md_apply_fix3): Insert reloc addend into insn - for COFF/PE port. - -Mon Apr 26 12:34:37 1999 Doug Evans <devans@canuck.cygnus.com> - - * config/tc-fr30.h (TC_FIX_TYPE): Delete, cgen fields moved to write.h. - (TC_INIT_FIX_DATA): Delete. - * config/tc-m32r.h (TC_FIX_TYPE): Delete, cgen fields moved to write.h. - (TC_INIT_FIX_DATA): Delete. - * write.h (struct fix): New member fx_cgen, ifdef USING_CGEN. - * write.c (fix_new_internal): Initialize fx_cgen member. - * cgen.c (gas_cgen_record_fixup,gas_cgen_record_fixup_exp): Update. - (gas_cgen_md_apply_fix3): Update. - * config/tc-m32r.c (md_cgen_lookup_reloc): Update. - (md_cgen_record_fixup_exp): Update. - (FX_OPINFO_R_TYPE): Update. - - * frags.c (frag_var,frag_variant): Initialize fr_cgen here. - * config/tc-fr30.h (TC_FRAG_INIT): Delete. - * config/tc-m32r.h (TC_FRAG_INIT): Delete. - * frags.h (struct frag): Make opindex, opinfo ints. - - * config/tc-fr30.c (FX_OPINFO_R_TYPE): Delete, unused. - -1999-04-26 Tom Tromey <tromey@cygnus.com> - - * aclocal.m4, configure: Updated for new version of libtool. - -1999-04-22 Nick Clifton <nickc@cygnus.com> - - * config/tc-mcore.c (md_apply_fix3): Renamed function from - md_apply_fix. - (md_apply_fix3): Do not fix up absolute relocations against - symbolic values. - - * config/tc-mcore.h (MD_APPLY_FIX3): Define. - -1999-04-20 Nick Clifton <nickc@cygnus.com> - - * config/tc-mcore.c (md_pseudo_table): Add intercepts for section - changes and data-in-text directives. - (mcore_cons): New function: intercept cons() operations. - (mcore_float_cons): New function: intercept float_cons() - operations. - (mcore_stringer): New function: intercept stringer() operations. - -1999-04-18 Ian Lance Taylor <ian@zembu.com> - - * obj.h (struct format_ops): Change generate_asm_lineno field to - take no parameters. - * config/obj-ecoff.h (OBJ_GENERATE_ASM_LINENO): Don't define. - - * config/tc-alpha.c (find_opcode_match): Add default case to - switch. - (find_macro_match): Likewise. - (load_expression): Parenthesize && within ||. - - * config/tc-alpha.h (TC_RELOC_RTSYM_LOC_FIXUP): Define. - -1999-04-17 Nick Clifton <nickc@cygnus.com> - - * config/tc-mcore.c (md_pseudo_table): Add overrides for .bss - .text .data .section pseudo ops. - (mcore_s_section): New function. Dump lits before changing secs. - (mcore_s_text): New function. Dump lits before changing secs. - (mcore_s_data): New function. Dump lits before changing secs. - -1999-04-16 Gavin Romig-Koch <gavin@cygnus.com> - - * config/tc-mips.c (mips_32bitmode): New. - (md_begin): Set mips_32bitmode if needed. - (mips_elf_final_processing): Don't set EF_MIPS_ARCH. - Set EF_MIPS_32BITMODE. - -Fri Apr 16 12:26:39 1999 Bob Manson <manson@charmed.cygnus.com> - - * config/obj-coff.c (c_section_symbol): Fix typo in previous - change. - -1999-04-16 Nick Clifton <nickc@cygnus.com> - - * config/tc-mcore.h (LOCAL_LABELS_FB): Define to 1. - -Thu Apr 15 16:52:09 1999 Jeffrey A Law (law@cygnus.com) - - * tc-hppa.c (pa_get_absolute_exression): Try to handle "5 %r3" - expressions correctly. - - -1999-04-15 Gavin Romig-Koch <gavin@cygnus.com> - - * config/tc-mips.c (mips_elf_final_processing): Set EF_MIPS_ARCH. - -Mon Apr 12 23:45:07 1999 Jeffrey A Law (law@cygnus.com) - - * tc-hppa.c (pa_ip, case '3'): New case for PA2.0 fmpyfadd - and fmpynfadd instructions. - -1999-04-11 Richard Henderson <rth@cygnus.com> - - * as.h (environ): Declare it, if needed. - * as.c (dump_statistics): Don't declare environ. - * configure.in (environ): Detect declaration. - * configure, config.in: Rebuild - - * config/tc-i386.c (i386_immediate): Accept @GOT relocations. - (i386_displacement): Allocate enough space for replacement buffer. - Clean up replacement buffer initialization. - -1999-04-11 Bob Manson <manson@charmed.cygnus.com>: - - * subsegs.c (section_symbol): Don't create a new symbol if one - already exists; instead, use the existing one, but set its segment - and frag data if it hasn't already been defined. - * config/obj-coff.c (c_section_symbol): Likewise. - -Sat Apr 10 20:10:02 1999 Richard Henderson <rth@cygnus.com> - - * tc-alpha.c (load_expression): Call as_bad instead of abort. - -1999-04-08 Nick Clifton <nickc@cygnus.com> - - * config/tc-mcore.c: New File: Support routines for MCore - assembler. - * config/tc-mcore.h: New File: Definitions for MCore assembler. - * config/obj-coff.c: Add support for mcore-pe target. - - * Makefile.am: Add support for MCore targets. - * Makefile.in: Regenerate. - * configure.in: Add support for MCore targets. - * configure: Regenerate. - - * doc/all.texi: Set MCORE. - * doc/as.texinfo: Document MCore specific command line options. - - * write.h: Prevent multiple inclusion. - -1999-04-06 Ian Lance Taylor <ian@zembu.com> - - * asintl.h (LC_MESSAGES): Never define. - * as.c (main): Don't pass LC_MESSAGES to setlocale if the system - does not define it. - * gasp.c (main): Don't pass LC_MESSAGES to setlocale if the system - does not define it. - - * Makefile.am (m68k-parse.c): If configuring in the source - directory, copy m68k-parse.y into the local directory before - running ylwrap, to remove spurious differences when generating - snapshots. - * Makefile.in: Rebuild. - - * config/tc-sparc.h (md_do_align): Just allocate the number of - bytes necessary, rather than always allocating 1024. - -1999-04-04 Ian Lance Taylor <ian@zembu.com> - - * listing.c (listing_newline): Add cast to avoid warning. - * read.c (generate_lineno_debug): Add cases to switch. Reindent. - * config/tc-i386.c (i386_scale): Add return value. - (build_displacement_string): Remove unused local temp_disp2. - (i386_intel_memory_operand): Add parentheses to avoid warning. - (i386_intel_operand): Remove unused local end_of_operand_string. - (i386_operand): Remove unused local operand_modifier. - (i386_operand): Add parens to avoid warning. - -1999-04-04 Don Bowman <don@pixsci.com> - - * configure.in: Add mips*-*-vxworks* target; have it define - MIPS_STABS_ELF. - * configure, config.in: Rebuild. - -1999-03-31 Nick Clifton <nickc@cygnus.com> - - * configure.in (emulations): Add support for arm-epoc-pe. - * configure: Regenerate. - * config/te-epoc-pe.h: New file. Define macros specific to - arm-epoc-pe target. - * config/tc-arm.h: Select epoc-pe-arm target format if configured - for arm-epoc-pe target. - -Mon Mar 29 10:15:40 CST 1999 Catherine Moore <clm@cygnus.com> - - * tc-mips.c (md_apply_fix): Adjust value for linkonce sections. - -Wed Mar 24 14:11:10 1999 Jeffrey A Law (law@cygnus.com) - - * tc-hppa.c (pa_parse_nonneg_cmpsub_cmpltr): Clean up code to - detect ",n" without a condition. - (pa_parse_neg_cmpsub_cmpltr): Likewise. - - -Tue Mar 23 11:28:23 1999 Jeffrey A Law (law@cygnus.com) - - * tc-hppa.c (pa_ip, case '~'): The condition for a branch on bit - instruction is encoded with one bit. - - -1999-03-23 Ian Lance Taylor <ian@zembu.com> - - * doc/internals.texi (CPU backend): Mention that - line_separator_chars should not include newline. From thi - <ttn@mingle.glug.org>. - -1999-03-22 Doug Evans <devans@casey.cygnus.com> - - * config/tc-fr30.c (md_begin): Update call to fr30_cgen_cpu_open. - * config/tc-m32r.c (md_begin): Update call to m32r_cgen_cpu_open. - -Sun Mar 21 18:08:18 1999 Richard Henderson <rth@cygnus.com> - - * tc-alpha.c (md_assemble): Allow '6' in an opcode. - -Thu Mar 18 10:55:30 1999 Jeffrey A Law (law@cygnus.com) - - * tc-hppa.c (pa_ip, case 'a'): Do not call pa_parse_..._cmpsub_cmpltr. - - -Thu Mar 18 02:30:07 1999 Jeffrey A Law (law@cygnus.com) - - * tc-hppa.c (pa_ip, case 'd'): Do not allow ",n". - -1999-03-15 Martin Hunt <hunt@cygnus.com> - - * app.c (do_scrub_begin): Change '-' back to a symbol char - so we can use multiple opcodes on a line again. - - * config/tc-d30v.c: By default, warn if a symbol has - the same name as a register. Plus some minor - updates from the branch. - -1999-03-13 Nick Clifton <nickc@cygnus.com> - - * config/tc-d30v.c (md_apply_fix3): Handle BFD_RELOC_8, - BFD_RELOC_16 and BFD_RELOC_64. - -1999-03-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - - * expr.c (expr): Add missing else. - -1999-03-12 Nick Clifton <nickc@cygnus.com> - - * config/tc-arm.c (md_apply_fix3): Improve error message. - -1999-03-11 Doug Evans <devans@casey.cygnus.com> - - * Makefile.am (CPU_TYPES): Add fr30. - (cgen.o): Add $(CGEN_CPU_PREFIX)-desc.h dependency. - (fr30,m32r dependencies): Update. - * Makefile.in: Rebuild. - - * cgen.c (gas_cgen_record_fixup): Update use of operand->type. - (gas_cgen_record_fixup_exp): Ditto. - (gas_cgen_finish_insn): Call cgen_operand_lookup_by_num. - (gas_cgen_md_apply_fix3): Ditto. Update call to set_vma_operand. - * config/tc-fr30.c (md_begin): Update call to fr30_cgen_cpu_open. - (md_cgen_lookup_reloc): Update use of operand->type. - * config/tc-m32r.c (md_begin): Update call to fr30_cgen_cpu_open. - (md_convert_frag): Call cgen_operand_lookup_by_num. - (md_cgen_lookup_reloc): Update use of operand->type. - (m32r_cgen_record_fixup_exp): Ditto. - -1999-03-09 Jim Blandy <jimb@zwingli.cygnus.com> - - * config/tc-mips.c (md_show_usage): Fix message. - -1999-03-03 Nick Clifton <nickc@cygnus.com> - - * doc/c-arm.texi (ARM Syntax): Document new command line switches - and LDR reg,=<expr> instruction. - - * config/tc-arm.c: Add support for -mcpu=arm810, -mcpu=arm9 and - -mcpu=arm9tdmi. - -Fri Feb 19 09:36:30 1999 Ian Lance Taylor <ian@cygnus.com> - - * doc/c-arm.texi (ARM-Chars): Fix typo in use of '@'. - -1999-02-17 Nick Clifton <nickc@cygnus.com> - - This patch was created by: Scott Bambrough - <scottb@corelcomputer.com> - - * app.c: - Special cased '@' character. The '@' character is used as the - ARM assembler comment character, as a special character - and in ELF .symver pseudo-op's, and as a special character in - .type and .section pseudo-ops. - (symver_pseudo): New static variable. - (symver_state): New static variable. - (struct app_save): Add field 'symver_state'. - (app_push): Save global symver_state int struct app_save. - (app_pop): Restore global symver_state from struct app_save. - (do_scrub_chars): Special case handling of '@' character in - .symver pseudo-ops. - - * configure.in: Modified to recognize armv* uname syntax from ARM - Linux kernel. - * configure: Regenerated. - - * config/obj-elf.c (obj_elf_section): Allow '%' as well as '@' as - a prefix to the section's type. - (obj_elf_type): Allow '%' as well as '@' and '#' as prefixes to - the type's typename. - - * config/tc-arm.h: Add support for PIC generation: - (pic_code): New boolean. - (obj_relocate_extern): Define. - (TC_RELOC_RTSYM_LOC_FIXUP): Define - (TC_CONS_FIX_NEW): Define. - (tc_fix_adjustable): Define. - (GLOBAL_OFFSET_TABLE_NAME): Define. - - * config/tc-arm.c: Add support for PIC generation: - (line_seperator_chars): Allow ';' as a seperator for Linux. - (is_immediate_prefix): New macro. - (arm_parse_reloc): New function. - (s_arm_elf_cons): New function. - (do_branch): Special case for BFD_RELOC_ARM_PLT32. - (md_undefined_symbol): Special case handling for the Global Offset - Table's symbol. - (md_apply_fix3): Handle PIC relocs. - (tc_gen_reloc): Handle PIC relocs. - (md_parse_option): Add support for '-k' command line switch to - enable PIC generation. - (cons_fix_new_arm): New function. - (s_arm_elf_cons): New function. - -Tue Feb 16 16:31:53 1999 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Add comments for uses of AC_DEFINE. - * acinclude.m4: Likewise. - * acconfig.h: Remove. - * aclocal.m4: Rebuild. - * configure: Rebuild. - * Makefile.in: Rebuild. - * config.in: Rebuild. - -1999-02-15 Jim Lemke <jlemke@cygnus.com> - - * config/tc-mips.c (mips_ip: case 'o'): Fix assertion failure for - non-constant offset from a base register. - -1999-02-14 Ken Raeburn <raeburn@raeburn.org> - - * config/tc-alpha.c (md_show_usage): Put \ before newline in - strings always. - -Sat Feb 13 14:10:10 1999 Richard Henderson <rth@cygnus.com> - - * config/tc-alpha.c (cpu_types): Enable EV6 PALcode with -m21264. - (emit_insn): Look for pc-relative and no-overflow specifiers on - internal relocation types. - -1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com> - - * doc/c-mips.texi (MIPS Opts): Updated list of -mNNNN and - -mcpu=NNNN flags. - - * config/tc-mips.c: Remove all the mips_NNNN variables; just use - mips_cpu instead. - (mips_4650, mips_4010, mips_4100): Variables removed. - (hilo_interlocks, gpr_interlocks, append_insn, macro_build, macro, - macro2, mips16_macro, mips_ip): Test mips_cpu, not the mips_NNNN - variables. - (md_begin): Don't bother initializing the mips_NNNN variables; - mips_cpu is set, and that's good enough now. - (md_parse_option): Have the -mNNNN options set mips_cpu instead of - the mips_NNNN variable. The -no-mNNNN flags are now no-ops. - (show): New function, to handle wrapping in the CPU lists. - (md_show_usage): Update lists of -mcpu and -mNNNN switches. - -Sat Feb 13 00:17:26 1999 Richard Henderson <rth@cygnus.com> - - * config/tc-i386.c (i386_intel_operand): Ignore `SHORT' rather - than treat as an immediate specifier. - -Thu Feb 11 16:18:31 1999 Richard Henderson <rth@cygnus.com> - - * config/tc-i386.c: Prototype many functions. - (set_intel_syntax): Accept `prefix'/`noprefix' specifiers. - (i386_immediate): Remove unused second argument. - (i386_intel_operand): Fix i386_is_reg typo. - (i386_operand): Use allow_naked_reg. - (output_invalid): Make operand int for K&R. - -Thu Feb 11 11:21:02 1999 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.am (EXTRA_as_new_SOURCES): Uncomment--fixed by automake - patch. - * Makefile.in: Rebuild. - -1999-02-09 Doug Evans <devans@casey.cygnus.com> - - * Makefile.am (DISTCLEANFILES): Change cgen-opc.h to cgen-desc.h. - (cgen.o): Ditto. - (EXTRA_as_new_SOURCES): Comment out. - (.tcdep): <arch>-opc.h renamed to <arch>-desc.h. - * Makefile.in: Rebuild. - * doc/Makefile.in: Rebuild. - * configure.in: Require autoconf 2.13. Redo using_cgen handling. - Delete call to AM_CYGWIN32. Replace AM_EXEEXT with AC_EXEEXT. - (AC_OUTPUT): <arch>-opc.h renamed to <arch>-desc.h. - * configure: Rebuild. - * aclocal.m4: Rebuild. - * config.in: Rebuild. - * cgen.c: Include cgen-desc.h, not cgen-opc.h. - (*): CGEN_OPCODE_DESC renamed to CGEN_CPU_DESC. - (gas_cgen_cpu_desc): Renamed from gas_cgen_opcode_desc. - CGEN_INSN_ATTR renamed to CGEN_INSN_ATTR_VALUE. - CGEN_OPERAND_ATTR renamed to CGEN_OPERAND_ATTR_VALUE. - (gas_cgen_record_fixup): Remove unnecessary != 0 test. - (gas_cgen_record_fixup_exp): Ditto. - (gas_cgen_finish_insn): Ditto. Refer to operand table via cpu - descriptor, not global variable. - (gas_cgen_md_apply_fix3): Refer to operand_table via cpu - descriptor, not global variable. Refer to insert_operand handler - via cpu descriptor, not global function. - * cgen.h (*): CGEN_OPCODE_DESC renamed to CGEN_CPU_DESC. - * config/tc-fr30.c: Include opcodes/fr30-desc.h. - (*): gas_cgen_opcode_desc renamed to gas_cgen_cpu_desc. - CGEN_INSN_ATTR renamed to CGEN_INSN_ATTR_VALUE. - Update call to CGEN_OPERAND_TYPE,CGEN_INSN_OPERANDS. - * config/tc-m32r.c: Ditto. - (assemble_two_insns): Update calls to cgen_lookup_get_insn_operands. - (md_assemble): Ditto. - (md_convert_frag): Update call to CGEN_OPERAND_ENTRY. - -1999-02-09 Nick Clifton <nickc@cygnus.com> - - * config/tc-arm.c (md_apply_fix3): Fix handling of label1 - label2 - relocations for ELF targets. - -1999-02-08 Nick Clifton <nickc@cygnus.com> - - * configure.in: Add support for StrongARM target. - * configure: Regenerate. - -1999-02-05 Nick Clifton <nickc@cygnus.com> - - * config/tc-arm.h: Tidy OBJ_ELF and OBJ_COFF definitions. - - * config/tc-arm.c (md_apply_fix3): Fix BFD_RELOC_ARM_PCREL_BRANCH - for COFF ports. - -Wed Feb 3 11:35:47 1999 Richard Henderson <rth@cygnus.com> - - * config/tc-alpha.c (md_show_usage): Document pca56 and ev6 options. - -Mon Feb 1 20:37:30 1999 Catherine Moore <clm@cygnus.com> - - * config/tc-i386.h (LONG_DOUBLE_MNEM_SUFFIX): Define. - (INTEL_DWORD_MNEM_SUFFIX): Define. - (BYTE_PTR): Define. - (WORD_PTR): Define. - (DWORD_PTR): Define. - (XWORD_PTR): Define. - (SHORT): Define. - (OFFSET_FLAT): Define. - (FLAT): Define. - (NONE_FOUND): Define. - (No_dSuf): Define. - (No_xSuf): Define. - * config/tc-i386.c (set_intel_syntax): New routine. - (intel_syntax): Declare. - (allow_naked_reg): Declare. - (md_pseudo_table): Support .intel_syntax and .att_syntax. - (intel_float_operand): New routine. - (md_assemble): Handle INTEL_DWORD_MNEM_SUFFIX. - Handle brackets as well as parens. Call i386_intel_operand for - intel syntax. Reverse operands if appropriate. Handle new - suffixes. Handle movzx and movsx. - (i386_is_reg): New routine. - (i386_immediate): New routine. - (i386_scale): New routine. - (i386_displacement): New routine. - (i386_operand_modifier): New routine. - (build_displacement_string): New routine. - (i386_parse_seg): New routine. - (i386_intel_memory_operand): New routine. - (i386_intel_operand): New routine. - (i386_operand): Call i386_displacement, i386_immediate, - i386_scale, etc. instead of handling inline. - (parse_register): Handle registers without prefix. - -Mon Feb 1 12:24:58 1999 Catherine Moore <clm@cygnus.com> - - * configure: Regenerate. - * configure.in (arm-*-oabi): New. - (thumb-*-oabi): New. - * config/tc-arm.c (target_oabi): Declare. - (md_apply_fix3): Support REL relocs. - (md_parse_option): Handle -oabi. - (elf32_arm_target_format): New routine. - (md_longopts): Add OPTION_OABI. - * config/tc-arm.h: Redefine TARGET_FORMAT. - - -1999-01-28 Nick Clifton <nickc@cygnus.com> - - * write.c (write_relocs): Handle out of range error. - - * config/tc-fr30.c (fr30_fix_adjustable): New function. - (fr30_force_relocation): Default to 0. - - * config/tc-fr30.h (obj_fix_adjustable): Define. - (TC_FORCE_RELOCATION): Define. - - * cgen.c (gas_cgen_md_apply_fix3): Do not apply fixes to VTABLE - relocs. - -1999-01-16 Nick Clifton <nickc@cygnus.com> - - * config/tc-d30v.c (write_2_short): Do not generate a sequential - merge of two instructions if the left instruciton kills the right. - -1999-01-11 Doug Evans <devans@casey.cygnus.com> - - * Makefile.in: Regenerate. - * configure.in: Redo test for using cgen. - * configure: Regenerate. - -1999-01-09 Nick Clifton <nickc@cygnus.com> - - * config/obj-coff.h (obj_adjust_symtab): Prevent accidental - redefinition of this macro. - -Tue Jan 5 21:58:03 1999 Doug Evans <devans@canuck.cygnus.com> - - * config/tc-mips.c (mips_frob_file): Disable "Unmatched %hi reloc" - warning. - -1998-12-29 Gavin Romig-Koch <gavin@cygnus.com> - - * config/tc-mips.c (append_insn): For mips16, insert a nop between - a read of HI or LO and an immediatly following branch. - -1998-12-29 Gavin Romig-Koch <gavin@cygnus.com> - - * config/tc-mips.c (md_begin): Another correction to the setting of - mips_eabi64. - -1998-12-23 Gavin Romig-Koch <gavin@cygnus.com> - - * config/tc-mips.c (md_begin): Correct type-o in setting of - mips_eabi64. - -1998-12-21 Nick Clifton <nickc@cygnus.com> - - * config/tc-m32r.c (md_assemble): Emit a NOP after a relaxable 16 - bit insn when optimizing, so that parallelised instructions will - start on a 32 bit boundary. - -1998-12-19 Gavin Romig-Koch <gavin@cygnus.com> - - * config/tc-mips.c (mips_eabi64): New. - (md_begin): Set mips_eabi64. - (mips_elf_final_processing): Use it. - -1998-12-18 Gavin Romig-Koch <gavin@cygnus.com> - - * config/tc-mips.c (mips_elf_final_processing): - Correct setting of ABI in e_flags. - -Wed Dec 16 16:17:22 1998 Dave Brolley <brolley@cygnus.com> - - * config/tc-fr30.c (md_assemble): Warn about invalid instructions - in delay slots. - -1998-12-16 Gavin Romig-Koch <gavin@cygnus.com> - - * config/tc-mips.c (md_begin,md_parse_option): Handle vr4111. - -1998-12-15 Doug Evans <devans@casey.cygnus.com> - - * cgen.c (gas_cgen_md_apply_fix3): Mark as an error, rather than a - warning, values that don't fit in the field. - -1998-12-15 Gavin Romig-Koch <gavin@cygnus.com> - - * config/tc-mips.c (mips_abi_string): New. - (md_parse_option,md_longopts): Add mabi. - (mips_elf_final_processing): Set e_flags based on mabi flag. - -1998-12-15 Gavin Romig-Koch <gavin@cygnus.com> - - * config/tc-mips.c (md_parse_option): Handle vr4111. - -98-12-11 Ken Raeburn <raeburn@cygnus.com> - - * config/tc-h8300.c (build_bytes): Change message given if the - instruction requires H8/300H mode and we're not in Hmode, to - suggest that it may be the operand modes that are the problem, not - necessarily the opcode. - -1998-12-10 Nick Clifton <nickc@cygnus.com> - - * config/tc-fr30.c: Add line separator character. - -Tue Dec 8 19:51:50 1998 Mark Klein <mklein@dis.com> - - * configure.in (hppa-*-mpeix*): New target. - * config/obj-som.h (obj_som_compiler): Declare. - * config/obj-som.c (compiler_seen): New static variable. - (obj_som_compiler): New function. - * config/tc-hppa.c: Update tc_data uses for change to bfd/som.h. - (md_pseudo_table): Add "compiler" if OBJ_SOM. - (pa_type_args): Set hppa_priv_level. - (pa_compiler): New static function if OBJ_SOM. - * configure: Rebuild. - -Tue Dec 8 15:00:50 1998 Ian Lance Taylor <ian@cygnus.com> - - * read.c (output_leb128): Don't mark as inline. - -1998-12-08 Andrew MacLeod <amacleod@cygnus.com> - - * config/tc-ppc.c (ppc_vbyte): Prototype and new function for - AIX .vbyte unaligned data support. - (md_pseudo_table): Add 'vbyte' to list of valid pseudos. - (ppc_elf_validate_fix): Add eh_frame to list of ELF relocatable - sections. - -1998-12-07 Nick Clifton <nickc@cygnus.com> - - * config/tc-d30v.c (md_assemble, do_assemble): Improve erroneous - input handling. - -Mon Dec 7 09:48:34 1998 Catherine Moore <clm@cygnus.com> - - * config/tc-arm.c (elf32_arm_force_relocation): Check for - BFD_RELOC_ARM_PCREL_BRANCH. - -Sun Dec 6 12:46:36 1998 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Define TARGET_BYTES_{BIG,LITTLE}_ENDIAN after - checking the target type. - (mips-dec-bsd*): Set endian to little. - * configure: Rebuild. - - COFF weak symbol support, based on patches from Mark Elbrecht - <snowball3@usa.net>: - * config/obj-coff.h (S_IS_WEAK): Define if not BFD_ASSEMBLER. - * config/obj-coff.c (obj_coff_weak): New static function. - (obj_coff_endef) [both versions]: Handle weak symbols. - (coff_frob_symbol): Likewise. - (yank_symbols): Likewise. - (obj_pseudo_table): Add "weak". - - * configure.in (m68k-*-gnu*): New target. From Aymeric Vincent - <aymeric.vincent@emi.u-bordeaux.fr>. - * aclocal.m4: Rebuild with current tools. - * configure: Rebuild. - - * config/tc-alpha.c (emit_ldgp): Give an error message rather than - an assertion failure for a case we can't handle when OBJ_ECOFF. - - * expr.c (operator): And with 0xff to avoid problems with signed - char. - -1998-12-03 Nick Clifton <nickc@cygnus.com> - - * config/tc-fr30.c (md_cgen_lookup_reloc): Generate - BFD_RELOC_FR30_48 instead of BFD_RELOC_FR30_32. - -1998-12-02 Nick Clifton <nickc@cygnus.com> - - * config/tc-fr30.c (md_cgen_lookup_reloc): Enable relocs for - LDI:20 insn. - -Thu Nov 26 11:23:48 1998 Dave Brolley <brolley@cygnus.com> - - * config/tc-fr30.c (md_pcrel_from_section): Restore previous - calculation of pcrel point. - -Tue Nov 24 17:21:52 1998 Nick Clifton <nickc@cygnus.com> - - * config/tc-fr30.c (md_pcrel_from_section): Fix calculation of - pcrel point. - -Tue Nov 24 14:54:38 1998 Nick Clifton <nickc@cygnus.com> - - * config/tc-d10v.c (md_assemble): Make static 'etype' have file - scope. - (d10v_cleanup): Only generate previous insn if a multiline insn is - not pending. - -Fri Nov 20 11:41:13 1998 Nick Clifton <nickc@cygnus.com> - - * config/tc-fr30.c (md_cgen_lookup_reloc): Add support for - FR30_OPERAND_I32. - -Thu Nov 19 15:01:29 1998 Nick Clifton <nickc@cygnus.com> - - * config/tc-arm.c (md_parse_option): Add support for -marm7xxx and - -marm6xxx command line switches. - -1998-11-18 Doug Evans <devans@casey.cygnus.com> - - * Makefile.am (DEP): Use $(srcdir)/../mkdep. - (itbl-ops.o): Delete duplicate dependencies. - Rebuild dependencies. - Add fr30 dependencies. - * Makefile.in: Rebuild. - -Tue Nov 17 13:42:42 1998 Nick Clifton <nickc@cygnus.com> - - * config/tc-fr30.c (md_cgen_lookup_reloc): Updated to match latest - opcode list. - * listing.c: Ignore line terminator characters found inside - strings. - -Thu Nov 12 19:21:24 1998 Dave Brolley <brolley@cygnus.com> - - * po/gas.pot: Regenerated. - -Thu Nov 12 10:54:16 1998 Nick Clifton <nickc@cygnus.com> - - * config/tc-fr30.c (fr30_is_colon_insn): New name for - fr30_is_label_start(). Also checks for delay slot insns. - - * config/tc-fr30.c (fr30_is_label_start): New function: Handle - FR30 instructions which contain a colon in the mnemonic. - - * config/tc-fr30.h (TC_START_LABEL): Define this macro. - -Wed Nov 11 09:58:21 1998 Nick Clifton <nickc@cygnus.com> - - * config/tc-fr30.c: Removed currently superflous code. - -Tue Nov 10 13:13:05 1998 Nick Clifton <nickc@cygnus.com> - - * config/tc-fr30.h: New file. - * config/tc-fr30.c: Tweaking so that it will compile. - -Tue Nov 10 14:41:33 1998 Catherine Moore <clm@cygnus.com> - - * config/tc-d10v.h (obj_fix_adjustable): Define. - (TC_FORCE_RELOCATION): Define. - (d10v_force_relocation): Declare. - * config/tc-d10v.c (tc_gen_reloc): Handle Vtable relocs. - (md_apply_fix3): Handle Vtable relocs. - (d10v_fix_adjustable): New. - (d10v_force_relocation): New. - -Mon Nov 9 14:25:06 1998 Nick Clifton <nickc@cygnus.com> - - * config/tc-d30v.c: Change default behaviour to ignore potential - conflicts between register name and symbol names. - -Wed Nov 4 18:42:00 1998 Dave Brolley <brolley@cygnus.com> - - * configure.in: Add fr30-*-*. - * config/tc-fr30.c: New file. - * Makefile.in: Regenerated. - * config.in: Regenerated. - * configure: Regenerated. - * doc/Makefile.in: Regenerated. - * po/gas.pot: Regenerated. - -Mon Nov 2 20:54:16 1998 Doug Evans <devans@canuck.cygnus.com> - - * config/tc-m32r.c (assemble_two_insns): Ensure both insns - are 16 bit insns. - -Mon Nov 2 20:10:18 1998 Martin von Loewis <loewis@informatik.hu-berlin.de> - - * app.c (do_scrub_begin): Set characters above 127 to be symbol - characters. - (do_scrub_chars): Add some casts to unsigned char to avoid - unwanted sign extension. - * read.c (lex_type): Set characters about 127 to be symbol - characters. - * config/tc-i386.c (md_begin): Set identifier_chars and - operand_chars for values above 127. - -Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com> - - * configure.in: detect cygwin* instead of cygwin32* - * configure: regenerate - -Tue Oct 27 13:18:40 1998 Nick Clifton <nickc@cygnus.com> - - * listing.c: Add support for producing a listing from piped - input. - -Tue Oct 27 08:56:44 1998 Gavin Romig-Koch <gavin@cygnus.com> - - * config/tc-mips.c (hilo_interlocks): Remove mips_3900. - (append_insn): Account for the tx39's multiply behavior. - -1998-10-26 Michael Meissner <meissner@cygnus.com> - - * config/tc-m32r.c (assemble_two_insns): Rename assemble_two_insns - from assemble_parallel_insns. Add support for '->' to indicate - explicitly serializing the instructions. - (md_assemble): Ditto. - -Sat Oct 24 15:12:19 1998 Catherine Moore <clm@cygnus.com> - - * config/tc-sh.c (sh_fix_adjustable): Adjust EXTERN and - WEAK handling. - -Thu Oct 22 12:41:33 1998 Catherine Moore <clm@cygnus.com> - - * cgen.c (gas_cgen_md_apply_fix3): Revert last change. - -Thu Oct 22 10:03:15 1998 Ron Unrau <runrau@cygnus.com> - - * config/tc-mips.c : support frame and regmask/fregmask when - MIPS_STABS_ELF is specified. - -Wed Oct 21 11;34:51 1998 Catherine Moore <clm@cygnus.com> - - * config/tc-sh.c (sh_fix_adjustable): Only include if OBJ_ELF. - (md_apply_fix): Don't return 1 for VTABLE relocs. - * config/tc-sh.h (obj_fix_adjustable): Define only if OBJ_ELF. - -Tue Oct 20 11:18:28 1998 Alan Modra <alan@spri.levels.unisa.edu.au> - - * doc/c-i386.texi: Replace occurences of "opcode" with - "instruction mnemonic", "instruction", or "mnemonic" when - referring to the name of an instruction. Use "opcode" when - referring to the sequence of machine bytes. - - * config/tc-i386.c (opcode_chars): Rename to mnemonic_chars. - (is_opcode_char): Rename to is_mnemonic_char. - (md_assemble and i386_operand): Correct error messages from - "opcode" to "instruction mnemonic" - Rename throughout opcode[] -> mnemonic[], opp -> mnem_p, - MAX_OPCODE_SIZE -> MAX_MNEM_SIZE, - DWORD_OPCODE_SUFFIX -> DWORD_MNEM_SUFFIX, - WORD_OPCODE_SUFFIX -> WORD_MNEM_SUFFIX, - BYTE_OPCODE_SUFFIX -> BYTE_MNEM_SUFFIX, - SHORT_OPCODE_SUFFIX -> SHORT_MNEM_SUFFIX - LONG_OPCODE_SUFFIX -> LONG_MNEM_SUFFIX - - * config/tc-i386.h (*_MNEM_SUFFIX): Rename from *_OPCODE_SUFFIX. - - * config/tc-i386.c (i386_operand): Check for garbage after - register name. - -Tue Oct 20 10:49:42 1998 Ian Lance Taylor <ian@cygnus.com> - - * config/tc-i386.c (md_apply_fix3): Change handling of PCREL reloc - for BFD_ASSEMBLER to only change value when COFF if TE_PE. - -Mon Oct 19 20:20:42 1998 Catherine Moore <clm@cygnus.com> - - * config/tc-sh.h (obj_fix_adjustable): Define. - * config/tc-sh.c (sh_force_relocation): Handle VT relocs. - (md_apply_fix): Likewise. - (tc_gen_reloc): Likewise. - (sh_fix_adjustable): New. - -Mon Oct 19 12:35:43 1998 Doug Evans <devans@seba.cygnus.com> - - * cgen.c (gas_cgen_finish_insn): Update handling of CGEN_INT_INSN_P. - * cgen.h (gas_cgen_finish_insn): Update prototype. - * config/tc-m32r.c (m32r_insn): CGEN_INT_INSN -> CGEN_INT_INSN_P. - cgen_insn_t -> CGEN_INSN_INT. - (make_parallel): Update handling of CGEN_INT_INSN_P. - (assemble_parallel_insn): Ditto. - (target_make_parallel): New function. - (md_assemble): Use it. - -Mon Oct 19 13:16:12 1998 Catherine Moore <clm@cygnus.com> - - * config/tc-m32r.c (m32r_force_relocation): Fix typo. - -Sun Oct 18 18:48:57 1998 Jeffrey A Law (law@cygnus.com) - - * config/tc-sh.c (md_assemble): Make sure the entire opcode is - converted into lower case. - -Fri Oct 16 13:36:34 CDT Catherine Moore <clm@cygnus.com> - - * cgen.c (gas_cgen_md_apply_fix3): Handle VTABLE relocs. - (gas_cgen_tc_gen_reloc): Likewise. - * config/tc-m32r.h (obj_fix_adjustable): Define. - * config/tc-m32r.c (m32r_fix_adjustable): New. - (m32r_force_relocation): Handle VTABLE relocs. - -Wed Oct 14 11:33:38 1998 Nick Clifton <nickc@cygnus.com> - - * doc/c-arm.texi (ARM Directives): Document .ltorn directive. - -Mon Oct 12 11:07:21 1998 Nick Clifton <nickc@cygnus.com> - - * config/tc-m32r.c (assemble_parallel_insn): Convert second opcode - to lower case before parsing. - - * config/tc-d30v.c (parallel_ok): Ignore conflicts when explicitly - parallel insns modift buts in the PSW as a side effect. - -Thu Oct 8 10:18:33 1998 Nick Clifton <nickc@cygnus.com> - - * config/tc-d30v.c (find_format): Test for missing flag and - control registers. - - (md_apply_fix3): Fix error messages to avoid - assumption about presence of a symbol. - - (parallel_ok): Disallow parallel instructions that both modify the - same flag register. - - (find_format): Generate a warning if an odd numbered register is - used as the first register in a mutli-register instruction. - -Wed Oct 7 14:09:14 1998 Nick Clifton <nickc@cygnus.com> - - * config/tc-d30v.c (md_apply_fix3): Do not assume that bad - relocations are always associated with a symbol. - -Tue Oct 6 09:31:15 1998 Catherine Moore <clm@cygnus.com> - - * tc-sparc.h (TC_FORCE_RELOCATION): Define. - (elf32_sparc_force_relocation): Declare. - * tc-sparc.c (md_apply_fix3): Handle vtable relocs. - (tc_gen_reloc): Handle vtable relocs. - (elf32_sparc_force_relocation): New. - -Mon Oct 5 09:25:32 1998 Catherine Moore <clm@cygnsu.com> - - * symbols.c (S_IS_FUNCTION): New. - * config/tc-v850.h (obj_fix_adjustable): Define. - (TC_FORCE_RELOCATION): Define. - (v850_force_relocation): Declare. - * config/tc-v850.c (tc_gen_reloc): Use offset instead - of fx_addnumber for VTABLE reloc addends. - (md_apply_fix3): Handle VTABLE relocs. - (v850_fix_adjustable): New. - (v850_force_relocation): New. - -Mon Oct 5 00:48:52 1998 Jeffrey A Law (law@cygnus.com) - - * tc-hppa.c (fp_operand_format): Add some additional formats. - (pa_ip): Do not automatically promote into pa2.0 mode. - (pa_level): Handle ".level 2.0". - -Sun Oct 4 20:57:43 1998 Alan Modra <alan@spri.levels.unisa.edu.au> - - * config/tc-i386.c (md_assemble): Handle AMD_3DNOW_OPCODE. - * config/tc-i386.h (template.extension_opcode): Change to - unsigned int to allow full range of 8-bit opcode suffixes. - (None): Redefine as 0xffff. - - From Jeff B Epler <jepler@usgs.gov> - * doc/c-i386.texi (i386-SIMD): New section. - -Thu Oct 1 15:37:54 1998 Richard Henderson <rth@cygnus.com> - - * read.c (discard_rest_of_line): New function. - * read.h: Declare it. - * config/tc-alpha.c (s_alpha_mask, s_alpha_frame): Use it. - -Thu Oct 1 10:33:53 1998 Nick Clifton <nickc@cygnus.com> - - * config/tc-d10v.c (find_symbol_matching_register): New function. - (find_opcode): Cope with the case where a register name matches - a symbol name. - -Wed Sep 30 10:52:32 1998 Nick Clifton <nickc@cygnus.com> - - * config/tc-v850.c (md_pcrel_from): Rename to - v850_pcrel_from_section. - (v850_pcrel_from_section): Do not resolves symbols in other - sections. - - * config/tc-v850.h (MD_PCREL_FROM_SECTION): Define. - -Mon Sep 28 11:01:20 1998 Nick Clifton <nickc@cygnus.com> - - * config/tc-d10v.c (find_opcode): Generate an error if a register - is supplied for an operand that should not be a register. - -Fri Sep 25 10:04:21 1998 Nick Clifton <nickc@cygnus.com> - - * config/tc-d30v.c (write_2_short): But do allow delayed branch - instructions to have another instruction in the right bin. - -Thu Sep 24 09:28:34 1998 Nick Clifton <nickc@cygnus.com> - - * config/tc-d30v.c (write_2_short): Do not allow instructions in - the right container if the left container holds a branch - instruction. - -Wed Sep 23 10:54:29 1998 Nick Clifton <nickc@cygnus.com> - - * config/tc-d30v.c (reg_name_search): Only warn if a name matches - both a register name and symbol name. - (find_format): Allow correct parsing of MVTSYS and MVFSYS insns. - -Tue Sep 22 17:49:16 1998 Nick Clifton <nickc@cygnus.com> - - * config/tc-d30v.c (write_2_short): Implement EITHER_BUT_PREFER_MU - execution unit class. - - (reg_name_search): If a name matches a register and a symbol, - prefer the register. - (find_format): Disallow flag registers when a general purpose - register is required. - If a number is required, but a register has been given, check to - see if a symbol with the same name as the register exists, and if - so, use that symbol. - -Tue Sep 22 16:40:52 1998 Jim Wilson <wilson@cygnus.com> - - * config/obj-elf.h (ECOFF_DEBUGGING): Add missing parens. - -Tue Sep 22 15:44:21 1998 Nick Clifton <nickc@cygnus.com> - - * config/tc-d30v.c (find_format): Do not accept flag registers as - general purpose registers. - (find_format): If an immediate value is expected at a given place - in a format, but a register name has been provided instead, check - to see if that register name matches the name of a predefined - symbol and if it does, then use the symbol instead. - (reg_name_search): If a register name matches a symbol name, - prefer the register name to the symbol name. - -Mon Sep 21 10:42:57 1998 Nick Clifton <nickc@cygnus.com> - - * config/tc-m32r.c (m32r_do_align): After inserting NOPs, reset - the previous insn to empty. - -1998-09-20 Michael Meissner <meissner@cygnus.com> - - * config/tc-ppc.c (md_apply_fix3): Do not break string into two - pieces, forcing the use of an ANSI compiler. - -Sun Sep 20 00:58:12 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * config/tc-m68k.h (TC_FORCE_RELOCATION): New macro. Force vtable - relocs. - * config/tc-m68k.c (md_apply_fix_2): Do nothing for vtable relocs. - -Tue Sep 15 08:51:07 1998 Catherine Moore <clm@cygnus.com> - - * config/obj-elf.c (obj_elf_vtable_inherit): Handle arm - assembler syntax. - (obj_elf_vtable_entry): Likewise. - * config/tc-arm.h: Define TC_FORCE_RELOCATION for OBJ_ELF. - * config/tc-arm.c (md_apply_fix3): Handle VTABLE relocations. - (tc_gen_reloc): Likewise. - (arm_fix_adjustable): Likewise. - (elf32_arm_force_relocation): New. - (armelf_frob_symbol): Remove coff-style symbol support. - -Wed Sep 9 11:27:16 1998 Richard Henderson <rth@cygnus.com> - - * config/tc-i386.c (i386_operand): Fix typo in last patch. - -Tue Sep 8 18:10:01 1998 Catherine Moore <clm@cygnus.com> - - * config/tc-arm.c (arm_adjust_symtab): Move #ifdef - OBJ_COFF so that routine is defined for a.out format. - -Tue Sep 8 15:56:19 1998 Richard Henderson <rth@cygnus.com> - - * config/tc-i386.c (i386_operand): Detect non-segment registers - used as segment prefixes. - -Sat Sep 5 19:00:38 1998 Ian Lance Taylor <ian@cygnus.com> - - * ehopt.c (check_eh_frame): Check the size of the FDE, and don't - optimize across FDE boundaries. - - * config/obj-coff.c (obj_coff_section): Preserve any link once - flags when setting the section flags. - -Fri Sep 4 17:07:14 1998 Nick Clifton <nickc@cygnus.com> - - * config/tc-arm.h (obj_adjust_symtab): Fixed typo. - * config/tc-arm.c (armelf_adjust_symtab): Reformatted. - -Fri Sep 4 13:57:43 1998 Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz> - - * config/tc-sparc.c (in_signed_range): Sign extend 32-bit words - to the host width. - -Wed Sep 2 11:31:14 1998 Richard Henderson <rth@cygnus.com> - - * frags.c (frag_grow): Include the size of the frag struct in the - obstack chunk size. - - * subsegs.c (subseg_set_rest): Adjust the seginfo frchain start - if the new subseg comes before the old. - -Tue Sep 1 15:01:33 1998 Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz> - - * config/tc-sparc.c (sparc_ip): Allow all digits in an instruction - to handle edge8 and edge16. - -Mon Aug 31 09:51:14 1998 Richard Henderson <rth@cygnus.com> - - * config/obj-elf.c (obj_elf_vtable_inherit): Print error message - before we clobber the symbol involved. - -Mon Aug 31 10:58:06 1998 Catherine Moore <clm@cygnus.com> - - * config/tc-arm.c: Remove OBJ_ELF definitions for - S_GET_STORAGE_CLASS and S_SET_STORAGE_CLASS. Only - use arm_adjust_symtab for OBJ_COFF. - (armelf_adjust_symtab): New Routine. - * config/tc-arm.h: Define obj_adjust_symtab to - armelf_adjust_symtab for OBJ_ELF. - -Sat Aug 29 22:18:51 1998 Richard Henderson <rth@cygnus.com> - - * configure.in: Make all i386-elf targets use bfd_gas. - * config/tc-i386.c (tc_i386_force_relocation): New. - (tc_i386_fix_adjustable): Don't fix vtable relocs. - (md_apply_fix3): Likewise. - (tc_gen_reloc): Handle them. - * config/tc-i386.h (TC_FORCE_RELOCATION): Always define, calling - tc_i386_force_relocation. - -Mon Aug 24 13:40:21 1998 Nick Clifton <nickc@cygnus.com> - - * config/tc-arm.c (md_show_usage): Improve formatting of --help output. - -Fri Aug 21 18:43:48 1998 Nick Clifton <nickc@cygnus.com> - - * config/tc-d30v.c (md_assemble): Copy previous opcode over - current opcode after writing the first insturction of a reverse - sequential pair. - -Fri Aug 21 07:30:35 1998 Doug Evans <devans@canuck.cygnus.com> - - * read.h (generate_lineno_debug): Add prototype. - * read.c (generate_lineno_debug): Make non-static. - -Thu Aug 20 23:17:04 1998 Alan Modra <alan@spri.levels.unisa.edu.au> - - * config/tc-i386.c (md_assemble): Only warn for address/data size - prefixes. - -Thu Aug 20 14:45:08 1998 Nick Clifton <nickc@cygnus.com> - - * config/tc-arm.c (arm_fix_adjustable): Do not adjust relocations - against Thumb function names, as the linker needs this information. - -1998-08-20 Vladimir N. Makarov <vmakarov@cygnus.com> - - * expr.c (operand): Check also that there is no advance in operand - after atof_generic in order to decide "is it label 0f or floating - point number?". - -Wed Aug 19 09:30:16 1998 Nick Clifton <nickc@cygnus.com> - - * config/tc-m32r.c: Replace double dash prefix to M32R specific - command line options with a single dash. - * doc/c-m32r.texi: Replace double dash prefix with a single dash. - -Tue Aug 18 11:59:43 1998 Catherine Moore <clm@cygnus.com> - - * tc-arm.h: Define obj_fix_adjustable for OBJ_ELF. - * tc-arm.c (arm_fix_adjustable): New routine. - -1998-08-13 Vladimir N. Makarov <vmakarov@cygnus.com> - - * read.c (s_align, s_comm, s_mri_common, s_fail, s_globl, s_space, - s_float_space, s_struct, cons_worker): Move ignore_rest_of_line or - demand_empty_rest_of_line before mri_comment_end. - (equals): Check garbage after expression before - mri_comment_end in MRI mode. - -Thu Aug 13 15:08:42 1998 Ian Lance Taylor <ian@cygnus.com> - - * config/tc-mips.c (macro): Correct M_SGE_I/M_SGEUI_I case for a - small immediate constant to use the constant itself rather than - always using 1. - -Wed Aug 12 18:47:38 1998 Ian Lance Taylor <ian@cygnus.com> - - * config/tc-hppa.c (pa_enter): Call as_bad rather than abort. - (pa_leave): Likewise. - -Wed Aug 12 13:25:03 1998 Alan Modra <alan@spri.levels.unisa.edu.au> - - * config/tc-i386.c (md_assemble): Emit a warning for stand-alone - prefixes. - (i386_operand): Fix an error message. - -Tue Aug 11 14:44:32 1998 Nick Clifton <nickc@cygnus.com> - - * doc/c-arm.texi (ARM Directives): Document .req directive. - - * config/tc-arm.c (reg_required_here): Display erroneous string if - the register name could not be decoded. - Do not set inst.instruction if the sift is -1. - -Mon Aug 10 15:39:56 1998 Richard Henderson <rth@cygnus.com> - - * config/tc-alpha.c (tc_gen_reloc): Bias WEAK symbols just as - we do for EXTERN. - -Mon Aug 10 15:06:18 1998 Nick Clifton <nickc@cygnus.com> - - * config/tc-d30v.c (d30v_align): Always perform alignment request, - even if it is belived to be unnecessary. - -Mon Aug 10 17:48:09 1998 Alan Modra <alan@spri.levels.unisa.edu.au> - - config/tc-i386.c (i386_operand): Size immediate constants by - suffix (erroneously removed as part of July 7 change). - -Sun Aug 9 20:45:32 1998 Catherine Moore <clm@cygnus.com> - - * config/obj-elf.h: Check for redefinition of obj_frob_symbol. - * config/tc-arm.c: Define S_GET_STORAGE_CLASS and S_SET_STORAGE_CLASS. - (armelf_frob_symbol): New Routine. - * config/tc-arm.h: Define obj_frob_symbol if OBJ_ELF. - -Sat Aug 8 15:21:28 1998 Richard Henderson <rth@cygnus.com> - - * config/tc-alpha.c (alpha_fix_adjustable): Don't adjust weak syms. - -Wed Aug 5 15:54:14 1998 Nick Clifton <nickc@cygnus.com> - - * config/tc-arm.c (md_begin): Set BFD private flags depending upon - command line switches passed to assembler. - -Mon Aug 3 14:02:52 1998 Doug Evans <devans@seba.cygnus.com> - - * cgen.h (GAS_CGEN_MAX_FIXUPS): GAS_ prepended, all uses updated. - (gas_cgen_opcode_desc): Declare. - (gas_cgen_parse_operand): Declare. - (*): Prepend gas_ to gas specific fns to denote them as such. - All uses updated. - * cgen.c (gas_cgen_opcode_desc): New global - (gas_cgen_init_parse): Renamed from cgen_asm_init_parse. - (queue_fixup): Renamed from cgen_queue_fixup. - (*): Prepend gas_ to gas specific fns to denote them as such. - All uses updated. - (gas_cgen_md_apply_fix3): Update call to insert_operand. - (gas_cgen_finish_insn): Renamed from cgen_asm_finish_insn. - * config/tc-m32r.c (md_begin): Remove use of CGEN_SYM. - Open opcode table and initialize it. - (make_parallel): Use gas_cgen_opcode_desc. - (assemble_parallel_insn): Ditto. Remove use of CGEN_SYM. - (md_assemble): Ditto. - -Sat Aug 1 19:27:30 1998 Richard Henderson <rth@cygnus.com> - - * as.h (debug_info_type): Add entries for unspecified and dwarf*. - * ecoff.c (ecoff_generate_asm_lineno): Take no arguments; call - as_where ourselves. Provide a stub for !ECOFF_DEBUGGING. - * ecoff.h: Move ECOFF_DEBUGGING protection inside GAS_ECOFF_H. - Move ecoff_generate_asm_lineno outside ECOFF_DEBUGGING protection. - * read.c (generate_lineno_debug): Tidy ECOFF bits. Use - DEBUG_UNSPECIFIED rather than DEBUG_NONE for initial test. - * config/obj-elf.h (ECOFF_DEBUGGING) [TC_ALPHA]: Define to a variable. - (SEPARATE_STAB_SECTIONS): Conditionalize on value of ECOFF_DEBUGGING. - (INIT_STAB_SECTION): Likewise. - (OBJ_PROCESS_STAB): Likewise. - - * config/tc-alpha.c (md_longopts): New options -mdebug/-no-mdebug. - (md_parse_option): Watch for them. - (alpha_cur_ent_sym, alpha_flag_mdebug): New variables. - (md_begin): Kill neverdef code. - (s_alpha_ent, s_alpha_end, s_alpha_mask, s_alpha_frame): New. - (s_alpha_prologue): Watch alpha_cur_ent_sym. - (s_alpha_coff_wrapper): New. - (md_pseudo_table): Trap all ECOFF pseudos. - -Fri Jul 31 16:45:54 1998 Ron Unrau <runrau@cygnus.com> - - Start of changes to remove mdebug section from mips*-elf - Based on MIPS_STAB_ELF definition - * acconfig.h: undef if not configured - * config.in: undef if not configured - * config/mips-elf.h: only set ECOFF debugging if not stabs-in-elf - * config/tc-mips.c (s_ent): set BSF_FUNCTION - * stabs.c (s_stab_generic): flush frag - -Fri Jul 31 16:14:45 1998 Catherine Moore <clm@cygnus.com> - - * configure.in: (arm-*-elf): Handle. - (thumb-*-elf): Handle. - * configure: Regenerate. - * read.c (stringer): Fix typo in comment. - * write.c (fixup_segment): Don't add symbol value to addend if - TC_ARM and OBJ_ELF. - * config/tc-arm.c (md_section_align): Don't align dwarf debug - sections. - (tc_gen_reloc): Always set the reloc addend to fixp->fx_offset - for OBJ_ELF. - -Thu Jul 30 21:38:43 1998 Frank Ch. Eigler <fche@cygnus.com> - - * config/tc-d30v.c ({cur,prev}_left_kills_right_p): New variables. - (write_2_short): Emit warning if new flag is set. - (do_assemble): Set flags if left instruction is one of special - "right-instruction-killer" type. - -Tue Jun 28 18:12:28 1998 Stan Cox <scox@cygnus.com> - - * config/tc-sparc.c (md_number_to_chars, cons_fix_new_sparc): - Always output words in debug_info section as big endian. - (sparc_target_format): Choose correct bfd target. - (md_apply_fix3): Rename BFD_RELOC_SPARC_32LE to BFD_RELOC_SPARC_REV32. - -Tue Jul 28 11:01:21 1998 Jeffrey A Law (law@cygnus.com) - - * config/tc-mn10300.c (md_assemble): Fix "errmsg" initialization - to work with internationalization code. Issue an error when two - operands match that are not allowed to match. - -Mon Jul 27 16:25:58 1998 Doug Evans <devans@canuck.cygnus.com> - - * configure.in (install_tooldir): Allow target to specify whether - it wants to be installed in $(tooldir)/bin. - * configure: Regenerate. - * Makefile.am (install-exec-local): Set install-exec-tooldir - dependency via configure. - * Makefile.in: Regenerate. - -Fri Jul 24 19:58:59 1998 Doug Evans <devans@canuck.cygnus.com> - - * Makefile.am (install-exec-local): Split into two ... - (install-exec-bindir,install-exec-tooldir): New rules. - * Makefile.in: Regenerate. - -Fri Jul 24 16:31:49 1998 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.am (install-exec-local): Don't remove the file before - checking whether $(bindir) == $(tooldir)/bin. From Maciej - W. Rozycki <macro@ds2.pg.gda.pl>. - * Makefile.in: Rebuild. - -Fri Jul 24 09:13:46 1998 Doug Evans <devans@canuck.cygnus.com> - - * cgen.c: Include libiberty.h. - (cgen_md_apply_fix3): Update call to md_cgen_lookup_reloc. - (cgen_tc_gen_reloc): Use xmalloc, not bfd_alloc. - * cgen.h (cgen_md_apply_fix3,cgen_tc_gen_reloc): Declare. - (md_cgen_lookup_reloc)): Declare. - (md_cgen_record_fixup_exp): Declare. - * config/tc-m32r.h (md_pcrel_from_section): Declare. - (m32r_relax_frag): Declare. - (cgen_md_apply_fix3): Decls moved to cgen.h. - (cgen_record_fixup_exp,cgen_tc_gen_reloc): Ditto. - (m32r_cgen_record_fixup_exp): Delete decl. - * config/tc-m32r.c (m32r_cpu_desc): #if 0 out. - (assemble_nop): Delete. - (expand_debug_syms): Delete unused `exp'. - (md_cgen_lookup_reloc): Renamed from CGEN_SYM (lookup_reloc). - Add default case for -Wall. - (m32r_cgen_record_fixup_exp): Add default case for -Wall. - (md_atof): Delete unused wordP. - -Thu Jul 23 13:19:50 1998 Jeffrey A Law (law@cygnus.com) - - * config/tc-mn10300.c (md_assemble): Make sure "errmsg" has a non-NULL - value. - -Wed Jul 22 14:36:56 1998 Ian Lance Taylor <ian@cygnus.com> - - * doc/as.texinfo: Add documentation for .end, .exitm, .fail, - .ifc, .ifeqs, .ifge, .ifgt, .ifle, .iflt, .ifnc, .ifne, .ifnes, - .print, .purgem, and .struct. Remove documentation for - .app-file. - -Tue Jul 21 16:50:52 1998 Doug Evans <devans@seba.cygnus.com> - - * cgen.c (cgen_md_apply_fix3): set_operand renamed to set_vma_operand. - Update call to insert_operand. - -Fri Jul 17 11:42:20 1998 Nick Clifton <nickc@cygnus.com> - - * config/tc-m32r.c (ms_show_usage): Formatting changes. - -Wed Jul 15 15:38:28 1998 Ian Lance Taylor <ian@cygnus.com> - - * config/tc-i386.c (md_assemble): Don't get confused by trailing - whitespace after a prefix operator. - -Tue Jul 14 15:32:56 1998 Richard Henderson <rth@cygnus.com> - - * configure.in (i386-*-beos{pe,elf,}*): Recognize. - -Tue Jul 14 12:33:44 1998 Chris Torek <torek@bsdi.com> - - * config/tc-sparc.c (log2): New static function. - (s_reserve): Use log2 to convert alignment before calling - record_alignment. - (s_common): Use log2 to convert alignment before calling - record_alignment and frag_align. - (sparc_cons_align): Use log2. - -Tue Jul 14 11:58:40 1998 Ian Lance Taylor <ian@cygnus.com> - - * config/tc-sparc.c (s_reserve): Set symbol size if OBJ_ELF. - (s_common): Likewise. - - * config/tc-sparc.c (sparc_handle_align): Reindent a bit. Correct - initialization of waddr. - (sparc_elf_final_processing): Add default case to switch. - -Tue Jul 14 11:00:16 1998 Alan Modra <alan@spri.levels.unisa.edu.au> - - * doc/c-i386.texi: Fix a typo. Use the term 80-bit real rather - than temporary real. - -Mon Jul 13 13:55:42 1998 Ian Lance Taylor <ian@cygnus.com> - - * write.c (subsegs_finish): Don't align the segments if there were - any errors. - - * config/obj-coff.c (c_symbol_merge): Correct number of bytes when - copying aux information. - - * expr.c (make_expr_symbol): Catch attempts to turn an O_big - expression into a symbol. - -Mon Jul 13 13:29:04 1998 Alan Modra <alan@spri.levels.unisa.edu.au> - - * config/tc-i386.c (mode_from_disp_size): Change arg and return - type to unsigned int. - (md_assemble): Change type used to store offsets from unsigned - long to long. - (i386_operand): Switch error check to only call RESTORE_END_STRING - once after parse_register. - -Fri Jul 10 16:00:04 1998 Nick Clifton <nickc@cygnus.com> - - * config/tc-v850.c (md_show_usage): Changed format to match that - of gcc, ld, etc. - - * as.c (show_usage): Changed format to match that of gcc, ld, etc. - -Thu Jul 9 12:09:57 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * config/tc-m68k.c (tc_m68k_fix_adjustable): Don't adjust vtable - relocs. - (md_apply_fix_2): Force the symbol of the vtable reloc to be - weak. - -Thu Jul 9 11:31:54 1998 Ian Lance Taylor <ian@cygnus.com> - - * doc/Makefile.am (MAINTAINERCLEANFILES): Define. - * doc/Makefile.in: Rebuild. - -Wed Jul 8 12:18:56 1998 Jeffrey A Law (law@cygnus.com) - - * config/tc-mips.c (mips_ip, case 'i' and 'j'): Mask off high bits - for %lo expressions. - (mips_ip, case 'u'): Move range check after code to mask - off bits in %hi/%lo expressions. Mask off high bits for - %lo expressions. - -Tue Jul 7 17:57:38 1998 Ian Lance Taylor <ian@cygnus.com> - - * doc/Makefile.am (gasver.texi): New target. - (as.info, as.dvi): Depends upon gasver.texi. - * doc/as.texinfo: Include gasver.texi. Mention version number on - title page and in top node. - * doc/Makefile.in: Rebuild. - -Tue Jul 7 11:42:16 1998 Richard Henderson <rth@cygnus.com> - - * listing.c (listing_listing): For EDICT_LIST, skip all lines up to - but not including the line containing the edict. - * listing.h (LISTING_EOF): New. - * input-scrub.c (input_scrub_next_buffer): Call it. - -Tue Jul 7 13:00:37 1998 Alan Modra <alan@spri.levels.unisa.edu.au> - - * config/tc-i386.c (i386_operand): Don't set the size of an - immediate address based solely on the suffix and the mode. - - * config/tc-i386.c (md_assemble): Add assertion to make sure - overlap2 does not set Imm. - - * config/tc-i386.c (space_chars): Remove. The scrubber converts - sequences of whitespace to a single space. - (is_space_chars): Just compare with space. - (md_begin): Don't initialize space_chars. - (md_assemble): Just skip a single whitespace character. - (i386_operand): Rewrite base-index parsing to use new - parse_register, and to skip white space. Skip white space in a - number of other places too. Don't give error message if - parse_register fails. - (parse_register): Change reg_string parameter to be non-const. - Add end_op parameter. Skip white space after the `%', and return - end of register string. Give error message here rather than - caller. - -Fri Jul 3 15:34:34 1998 Ian Lance Taylor <ian@cygnus.com> - - Based on patch from Matt Semersky <matts@scd.hp.com>: - * expr.c (op_encoding): Make const. - (expr_set_precedence): New function. - (expr_begin): Don't set operator rankings, just call - expr_set_precedence. - * expr.h (expr_set_precedence): Declare. - * read.c (s_mri): Call expr_set_precedence. - -Thu Jul 2 16:24:58 1998 Ian Lance Taylor <ian@cygnus.com> - - * doc/as.texinfo (Statements): Remove paragraph discussing - continuing lines with a backslash. This hasn't worked for years, - if it ever did. - -Thu Jul 2 14:06:22 1998 Klaus Kaempf <kkaempf@rmi.de> - - * obj-vms.c: Add C++ support with ctors/dtors sections. Add weak - symbol definitions. - (Ctors_Symbols, Dtors_Symbols): New symbol chains. - (ps_CTORS, ps_DTORS): New section types. - (vms_fixup_xtors_section): New function - (Ctors_Psect, Dtors_Psect): Define. - (IS_GXX_XTOR): Define - (global_symbol_directory): Change check of gxx_bug_fixed to 0. - Filter static constructors/destructors and add to - Ctors_Symbols/Dtors_Symbols chain. - (vms_write_object_file): Write Ctors_Symbols/Dtors_Symbols to - appropriate section. - - * tc-alpha.h (TARGET_FORMAT): Rename "evax-alpha" to "vms-alpha". - * makefile.vms: Merge vax/vms support. - -Wed Jul 1 20:06:20 1998 Richard Henderson <rth@cygnus.com> - - * config/obj-elf.c (obj_elf_vtable_inherit, obj_elf_vtable_entry): New. - (elf_pseudo_table): Add them. - * config/tc-mips.c (mips_force_relocation): Force vtable relocs. - (md_apply_fix): Accept them. - (mips_fix_adjustable): Don't adjust them. - (tc_gen_reloc): Mung BFD_RELOC_VTABLE_ENTRY for Rel. - * config/tc-ppc.c (md_apply_fix3): Accept vtable relocs. - * config/tc-ppc.h (TC_FORCE_RELOCATION_SECTION): Force vtable relocs. - (tc_fix_adjustable): Don't adjust them. - -Wed Jul 1 16:35:32 1998 Doug Evans <devans@seba.cygnus.com> - - * Makefile.am (CGEN_CPU_PREFIX): New variable. - (cgen.o): Use it. - * Makefile.in: Regenerate. - * configure.in: AC_SUBST cgen_cpu_prefix. - * configure: Regenerate. - -Wed Jul 1 21:38:56 1998 J"orn Rennecke <amylaar@cygnus.co.uk> - - * config/tc-sh (COND_JUMP_DELAY, COND12_DELAY_LENGTH): Define. - Changed all users of COND12_DELAY. - -Fri Jun 26 11:21:11 1998 Jeffrey A Law (law@cygnus.com) - - * config/tc-mn10300.c (set_arch_mach): New function. - (md_pseudo_table): Add pseudo-ops to set the current machine type. - (md_begin): Default to mn10300 mode. - (md_assemble): Only accept instructions for the core mn10300 - chip and the active machine type. - -Wed Jun 24 19:06:04 1998 Ian Lance Taylor <ian@cygnus.com> - - * subsegs.h (segment_info_type): Give the struct a name. - * config/tc-h8300.h (tc_reloc_mangle): Add prototype. - * config/tc-h8500.h (tc_reloc_mangle): Declare. - * config/tc-sh.h (sh_coff_reloc_mangle): Add prototype. - * config/tc-w65.h (tc_reloc_mangle): Declare. - * config/tc-z8k.h (tc_reloc_mangle): Declare. - -Wed Jun 24 13:45:00 1998 Catherine Moore <clm@cygnus.com> - - * config/tc-v850.c (v850_comm): Restore old section - after common processing. - -Wed Jun 24 11:50:54 1998 Klaus Kaempf <kkaempf@progis.de> - - * config/obj-vms.c (Create_VMS_Object_File): Force binary file. - -Tue Jun 23 17:47:31 1998 Jim Wilson <wilson@cygnus.com> - - * config/tc-h8300.c (do_a_fix_imm, build_bytes): Replace cast to - char with code that explicitly sign-extends. - -Tue Jun 23 13:54:57 1998 Nick Clifton <nickc@cygnus.com> - - * config/tc-v850.c (md_begin): Restore text section as the current - section after creating call table sections. - * config/obj-coff.h (SYM_AUXINFO): New macro to conceal ugly - code. - - * config/obj-coff.c (c_symbol_merge): Replace complex expresion - with call to macro SYM_AUXINFO. - -Tue Jun 23 15:09:27 1998 Mike Stump <mrs@wrs.com> - - * Makefile.am (install-exec-local): Don't let EXEEXT interfere - with the program transform name. - * Makefile.in: Rebuild. - -Mon Jun 22 19:52:42 1998 Ian Lance Taylor <ian@cygnus.com> - - * config/obj-coff.c (c_symbol_merge): Fix copying of auxiliary - information. - -Mon Jun 22 15:18:58 1998 Ian Lance Taylor <ian@cygnus.com> - - * config/tc-i386.c (i386_operand): Be prepared for a space between - the open parenthesis and the start of the register operand, - because of the June 16 change. - -Sun Jun 21 21:27:03 1998 Ian Lance Taylor <ian@cygnus.com> - - * config/tc-sh.c (md_apply_fix): Handle weak symbols correctly if - BFD_ASSEMBLER. - -Sun Jun 21 12:26:36 1998 Nick Clifton <nickc@cygnus.com> - - * config/tc-d30v.c (d30v_align): Always perform alignment request, - even if it is belived to be unnecessary. - -Fri Jun 19 13:57:06 1998 Ian Lance Taylor <ian@cygnus.com> - - * write.c (adjust_reloc_syms): Never adjust relocs against weak - symbols. - * config/tc-mips.c (md_apply_fix): Adjust accordingly. - -Fri Jun 19 09:50:17 1998 Jeffrey A Law (law@cygnus.com) - - * config/tc-mn10300.c (mn10300_insert_operand): Do not hardcode the - shift amount for a repeated operand. The shift amount for the - repeated copy comes from the size of the operand. - -Fri Jun 19 00:44:19 1998 Jeffrey A Law (law@cygnus.com) - - * config/tc-h8300.c (get_operand): Fix typos in ldm/stm support. - -Wed Jun 17 13:07:05 1998 Ian Lance Taylor <ian@cygnus.com> - - * config/tc-mips.c (md_show_usage): Fix -mipsN usage. - -Tue Jun 16 13:06:21 1998 Alan Modra <alan@spri.levels.unisa.edu.au> - - * app.c (do_scrub_begin): If tc_symbol_chars is defined, treat all - characters in it as LEX_IS_SYMBOL_COMPONENT. - * config/tc-i386.h (tc_symbol_chars): Define. - (extra_symbol_chars): Declare. - * config/tc-i386.c (extra_symbol_chars): Define. - (comment_chars): Don't use '/' as comment start if TE_LINUX. - (line_comment_chars): Set to '/' if TE_LINUX. - * doc/c-i386.texi (i386-prefixes): Update. - * doc/internals.texi (CPU backend): Document tc_symbol_chars. - -Fri Jun 12 13:36:54 1998 Tom Tromey <tromey@cygnus.com> - - * po/Make-in (all-yes): If maintainer mode, depend on .pot file. - ($(PACKAGE).pot): Unconditionally depend on POTFILES. - -1998-06-12 Vladimir N. Makarov <vmakarov@cygnus.com> - - * config/tc-d10v.c (md_apply_fix3): Checking displacement - constraint in instructions REP & REPI. - -Thu Jun 11 08:56:46 1998 Nick Clifton <nickc@cygnus.com> - - * config/tc-d30v.c (md_apply_fix3): Catch BFD_RELOC_8, - BFD_RELOC_16, BFD_RELOC_64 and issue appropriate error messages. - - (check_range): If the operand is shifted, then shift the number - before checking its range. - - * write.c (adjust_reloc_syms): Add more checks for NULL pointers. - - * config/tc-v850.c (v850_comm): Set SEC_COMMON bit on special - common sections. - -Wed Jun 10 17:26:35 1998 Nick Clifton <nickc@cygnus.com> - - * config/tc-v850.c (v850_comm): Create special sections as needed. - -1998-06-10 Vladimir N. Makarov <vmakarov@cygnus.com> - - * config/tc-d10v.c (write_2_short): Addition of swapping - instructions for sequential and reverse sequential order when - given order is not possible. - -Tue Jun 9 13:52:53 1998 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.am: Rebuild dependencies. - (DEP_INCLUDES): Fix reference to intl build directory. - * Makefile.in: Rebuild. - -Tue Jun 9 12:20:05 1998 Alan Modra <alan@spri.levels.unisa.edu.au> - - * doc/c-i386.texi: Update 16 bit documentation. - - * config/tc-i386.h: Change Data16 to Size16, Data32 to Size32, - IgnoreDataSize to IgnoreSize as they are used for address size as - well as data size. - * config/tc-i386.c: Likewise. Add code to reject addr32/data32 in - 32-bit mode, similarly addr16/data16 and variants. - -Mon Jun 8 18:32:01 1998 Nick Clifton <nickc@cygnus.com> - - * config/tc-d30v.c (md_assemble): Fix handling of reverse - sequential word multiply instructions. - - (do_assemble): Add extra command line argument, to allow mul32 - attribute to be preserved across parallel insns. - (md_assemble): Insert NOPs between explicitly parallel insns which - contain an 32 bit multiply and a 16 multiply. - -Mon Jun 8 12:20:30 1998 Alan Modra <alan@spri.levels.unisa.edu.au> - - * config/tc-i386.c: REPNE renamed to REPNE_PREFIX_OPCODE, and - likewise for REPE. - - * config/tc-i386.c (reloc): Add braces. - - * config/tc-i386.c (struct _i386_insn): Rename bi to sib to be - consistent with Intel naming. - * config/tc-i386.h (base_index_byte): Rename to sib_byte. Don't - use bitfields in sib_byte. - (modrm_byte): Don't use bitfields here either. - - * config/tc-i386.c (current_templates): Add const. - (parse_register): Add const to return, param, and char *s. - (i386_operand): Add const to reg_entry *r. - * config/tc-i386.h (templates): Add const to start, end. - - Inspired by code for 16 bit gas support from Martynas Kunigelis - <martynas@nm3.ktu.lt>: - * config/tc-i386.c (md_assemble): Add full support for 16 bit - modrm, and Jump, JumpByte, JumpDword, JumpInterSegment insns. - (uses_mem_addrmode): Remove. - (md_estimate_size_before_relax): Add support here too. - (md_relax_table): Rewrite interface to md_relax for 16 bit - support. - (BYTE, WORD, DWORD, UNKNOWN_SIZE): Remove. - (opcode_suffix_to_type): Remove. - (CODE16, SMALL, SMALL16, BIG, BIG16): Define. - (SIZE_FROM_RELAX_STATE): Modify to suit above. - (md_convert_frag): Likewise. - (i386_operand): Add support for 16 bit base/index regs, - immediates, and displacements. Remove some unnecessary casts, and - localise end_of_operand_string, displacement_string_start, - displacement_string_end variables. Add GCC_ASM_O_HACK. - * config/tc-i386.h (NO_BASE_REGISTER_16): Define. - - * config/tc-i386.c (prefix_hash): Remove. - (md_begin): Rewrite without obstacks. Remove prefix hash table - handling. Rewrite lexical table handling. - (i386_print_statistics): Don't print prefix statistics. - (md_assemble): Rewrite instruction parser so that line is not - converted to lower case. Don't do a hash_find for prefixes, - instead recognise them via opcode modifier. - (expecting_operand, paren_not_balanced): Localise variables. - * config/tc-i386.h (IsPrefix): Define. - (prefix_entry): Remove. - - * config/tc-i386.h (PREFIX_SEPERATOR): Don't define. - * config/tc-i386.c (PREFIX_SEPARATOR): Define here instead, using - '\\' in case where comment_chars contains '/'. - - * config/tc-i386.c (MATCH): Ensure given operand and template - match for JumpAbsolute. Makes e.g. `ljmp table(%ebx)' invalid; - you must write `ljmp *table(%ebx)'. - - From H.J. Lu <hjl@gnu.org>: - * config/tc-i386.c (BFD_RELOC_16, BFD_RELOC_16_PCREL): Define - as 0 ifndef BFD_ASSEMBLER. - (md_assemble): Allow immediate operands without suffix or - other reg operand to default in size to the current code size. - -Mon Jun 8 09:45:00 1998 Catherine Moore <clm@cygnus.com> - - * config/tc-v850.c (md_begin): Restore creation of - .call_table_text and .call_table_data sections. - -Sat Jun 6 00:02:41 1998 Nick Clifton <nickc@cygnus.com> - - * config/tc-d30v.c (md_assemble): Set execution type to unknown - after emitting a word of noops. - -Fri Jun 5 23:27:04 1998 Alan Modra <alan@spri.levels.unisa.edu.au> - - * config/tc-i386.c (mode_from_disp_size): Disp16 is mode 2. - (i386_operand): Simplify checks for valid base/index combinations. - Disallow `in 4(%dx),%al'. - - * config/tc-i386.c (struct _i386_insn): Make regs, base_reg, and - index_reg const. - (add_prefix): Change parameter from char to int. - - * config/tc-i386.h (Ugh): Define opcode modifier. - * config/tc-i386.c (md_assemble): Print warnings for Ugh insns. - - * config/tc-i386.c (md_assemble): Rewrite MATCH and - CONSISTENT_REGISTER_MATCH macros to check register types more - thoroughly. Check for illegal suffix/operand combinations - when matching insns with operands. Handle new `s' suffix, and - associated FloatMF opcode modifier for float insns with memory - operands. - * config/tc-i386.h (FloatMF): Define new opcode modifier. - (No_sSuf, No_bSuf, No_wSuf, No_lSuf): Likewise. - (SHORT_OPCODE_SUFFIX, LONG_OPCODE_SUFFIX): Define. - * config/tc-i386.c: Rename WORD_PREFIX_OPCODE to - DATA_PREFIX_OPCODE throughout. - - * config/tc-i386.c (REGISTER_WARNINGS): Define. - (md_assemble): Rewrite suffix/register operand checking code to be - more thorough. Remove Abs8,16,32. Change occurrences of Mem to - AnyMem, the better to grep. - (pi): Remove Abs. - (i386_operand): Don't set Mem bits in i.types[this_operand] when - given a memory operand. Don't set Abs bits either. - (type_names): Remove Mem*, Abs*. - * config/tc-i386.h (Mem8, Mem16, Mem32, Abs8, Abs16, Abs32): Don't - define opcode_modifiers as these cases are handled by Disp8, - Disp16, Disp32 and suffix checks. - (COMES_IN_BOTH_DIRECTIONS): Remove. - (FloatR): Define. It's OK to share the bit with ReverseRegRegmem. - - * config/tc-i386.c (md_assemble): Don't emit operand size prefix - if IgnoreDataSize modifier given. Remove ShortformW modifier - test. Add test for ShortForm in W base_opcode modification. - Merge Seg2ShortForm and Seg3ShortForm code. - * config/tc-i386.h (ShortFormW): Remove. - (IgnoreDataSize): Define. - -Fri Jun 5 10:50:53 1998 Nick Clifton <nickc@cygnus.com> - - * config/tc-d30v.c (md_assemble): Store previous segment state - with previous instruction. - -Wed Jun 3 18:21:56 1998 Alan Modra <alan@spri.levels.unisa.edu.au> - - * config/tc-i386.c (SCALE1_WHEN_NO_INDEX): Define. - (ebp, esp): Remove static variables. - (MATCH): Remove test for InOutPortReg. - (i386_operand): Properly handle InOutPortReg here instead. - Disallows `inb (%dx,2)', `inb %es:(%dx)' and `mov (%dx),%ax' - (md_assemble): Simplify and correct modrm and sib generation. - (i386_operand): Add warning for scale without index. - Rewrite checks for valid base/index combinations. - - * config/tc-i386.c (END_STRING_AND_SAVE): Protect arguments of - macros and enclose in do while(0). - (RESTORE_END_STRING): Likewise. - (md_assemble): Add one to printed operand number so we start - from 1 not 0. Add some more gettext invocations. - (i386_operand): Fix `%%s' -> `%%%s'. Inc printed operand - number here too. - - * config/tc-i386.h (WAIT_PREFIX, LOCKREP_PREFIX, ADDR_PREFIX, - DATA_PREFIX, SEG_PREFIX): Define. - * config/tc-i386.c (struct _i386_insn): Remove wait_prefix field. - (check_prefix): Remove function. - (add_prefix): New function. Add prefix to i.prefix as well as - doing checks. - (md_assemble): Changes for add_prefix. Remove hack for wait - prefix, instead always output prefixes in fixed order. Test - for jcxz/loop when selecting between word & dword operations, - and add address size prefix rather than operand size prefix. - Remove operand -> address size hack when emitting jcxz/loop. - (i386_operand): Remove O_Absent check as it's done in expr. - -Wed Jun 3 15:09:10 1998 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Recognize m5200 as a cpu_type of m68k. - * aclocal.m4: Rebuild with current libtool. - * configure: Rebuild. - -Wed Jun 3 14:11:59 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * config/tc-m68k.c (md_estimate_size_before_relax): Add more calls - to relaxable_symbol to prevent references to external symbol from - being relaxed. - -Wed Jun 3 14:10:36 1998 Ian Lance Taylor <ian@cygnus.com> - - * config/tc-m68k.c (relaxable_symbol): If TARGET_OS is "elf", all - symbols are relaxable. - -Wed Jun 3 09:16:00 1998 Catherine Moore <clm@cygnus.com> - - * config/tc-v850.c (md_begin): Don't create special - sections by default. - -Tue Jun 2 14:52:56 1998 Jeffrey A Law (law@cygnus.com) - - * config/tc-mips.c (macro): For div and udiv, close the - reorder block as soon as possible. - -Tue Jun 2 15:36:13 1998 Ian Lance Taylor <ian@cygnus.com> - - From Matt Semersky <matts@scd.hp.com>: - * macro.c (macro_mri_mode): New function. - * macro.h (macro_mri_mode): Declare. - * read.c (s_mri): Call macro_mri_mode when switching in and out of - MRI mode. - -Tue Jun 2 13:32:22 1998 Klaus Kaempf <kkaempf@progis.de> - - * config/tc-alpha.c (s_alpha_comm): Allow alignment parameter in - OBJ_EVAX case. - - * config/tc-alpha.c (s_alpha_comm): Defer restoring character - until after xstrdup in OBJ_EVAX case. - -Tue Jun 2 13:11:13 1998 Pat Rankin <rankin@eql.caltech.edu> - - * config/tc-vax.c (md_create_short_jump): Fix off by two bug in - offset calculation. Also, use VAX_BRW from vax-inst.h instead - of hardcoded magic number. - (md_create_long_jump): Use VAX_JMP and VAX_ABSOLUTE_MODE macros. - -Tue Jun 2 09:25:34 1998 Doug Evans <devans@canuck.cygnus.com> - - * read.c (do_s_func): New function. - (s_func): Call it. - * read.h (do_s_func): Add prototype. - -Mon Jun 1 12:47:30 1998 Doug Evans <devans@canuck.cygnus.com> - - * config/tc-m32r.c (m32r_do_align): Only fill code sections with - nops if fill pattern not specified. - -Mon Jun 1 14:08:35 1998 Ian Lance Taylor <ian@cygnus.com> - - From Andrew Crabtree <andrewc@typhoon.rose.hp.com>: - * config/te-go32.h (TE_GO32): Define. - * config/tc-i386.h (LOCAL_LABEL): Don't define if TE_GO32. - -Sun May 31 15:43:06 1998 Doug Evans <devans@canuck.cygnus.com> - - Implement .func/.endfunc pseudo-ops. - * read.h (stabs_generate_asm_func,stabs_generate_asm_endfunc): Declare. - (s_func): Declare. - * read.c (potable): Add .func,.endfunc. - (s_func): New function. - * stabs.c (stabs_generate_asm_func,stabs_generate_asm_endfunc): New - functions. - (in_doc_func_p,current_function_label): New static globals. - (stabs_generate_asm_lineno): Emit function relative stabs if in .func. - -Fri May 29 18:13:12 1998 Ian Lance Taylor <ian@cygnus.com> - - * config/tc-a29k.h (WORKING_DOT_WORD): Define. - * config/tc-alpha.h (WORKING_DOT_WORD): Define. - * config/tc-arm.h (WORKING_DOT_WORD): Define. - * config/tc-h8300.h (WORKING_DOT_WORD): Define. - * config/tc-h8500.h (WORKING_DOT_WORD): Define. - * config/tc-hppa.h (WORKING_DOT_WORD): Define. - * config/tc-i860.h (WORKING_DOT_WORD): Define. - * config/tc-i960.h (WORKING_DOT_WORD): Define. - * config/tc-tic30.h (WORKING_DOT_WORD): Define. - * config/tc-w65.h (WORKING_DOT_WORD): Define. - * config/tc-z8k.h (WORKING_DOT_WORD): Define. - * config/tc-a29k.c: Don't define md_short_jump_size, - md_long_jump_size, md_create_short_jump or md_create_long_jump. - * config/tc-alpha.c: Likewise. - * config/tc-alpha.h: Likewise. - * config/tc-arm.c: Likewise. - * config/tc-h8300.c: Likewise. - * config/tc-h8500.c: Likewise. - * config/tc-hppa.c: Likewise. - * config/tc-i860.c: Likewise. - * config/tc-i960.c: Likewise. - * config/tc-ppc.c: Likewise. - * config/tc-sh.c: Likewise. - * config/tc-sparc.h: Likewise. - * config/tc-tic30.c: Likewise. - * config/tc-w65.c: Likewise. - * config/tc-z8k.c: Likewise. - -Fri May 29 16:03:26 1998 Pat Rankin <rankin@eql.caltech.edu> - - * config/tc-vax.c (_): Delete this macro used for placeholder - values in vax_operand_width_size; it conflicts with the _() macro - used for internationalization. - -Fri May 29 13:46:07 1998 Ian Lance Taylor <ian@cygnus.com> - - * symbols.c (symbol_find_base): Fix case insensitive symbol name - code. From Chris Moller <moller@bops.com>. - - Based on patch from Klaus Kaempf <kkaempf@progis.de>: - * struc-symbol.h (struct broken_word): Add seg and subseg fields. - * read.c (emit_expr): Initialize seg and subseg fields of a new - broken word. - * write.c (write_object_file): Switch to the appropriate segment - and subsegment when processing a broken word. - - * config/tc-m68k.c (mri_assemble): New static function. - (build_mri_control_operand): Call mri_assemble rather than - md_assemble. - (s_mri_else, s_mri_break, s_mri_next, s_mri_for): Likewise. - (s_mri_endf, s_mri_endw): Likewise. - -Wed May 27 11:16:25 1998 Ian Lance Taylor <ian@cygnus.com> - - * read.c (s_org): Call md_flush_pending_output if it is defined. - - * config/tc-sparc.c (md_show_usage): Add \n\ to new string. - -Tue May 26 19:27:52 1998 Stan Cox <scox@equinox.cygnus.com> - - * config/tc-sparc.c (OPTION_LITTLE_ENDIAN_DATA): New. - (md_parse_option): Add for same. - (sparc_md_end): Set bfd_mach_sparc_sparclite_le. - (md_apply_fix3, tc_gen_reloc): Allow BFD_RELOC_SPARC_32LE. - (cons_fix_new_sparc): Added to create BFD_RELOC_SPARC_32LE. - - * config/tc-sparc.h (cons_fix_new_sparc): Added. - -Thu May 21 15:02:41 1998 Nick Clifton <nickc@cygnus.com> - - * config/tc-arm.c (find_real_start): Relax definition of local - labels. - -Tue May 19 16:59:44 1998 Nick Clifton <nickc@cygnus.com> - - * config/tc-d30v.c (d30v_align): Apply address adjustment to all - symbols at the given address, not just the last one specified. - -Tue May 19 08:25:19 1998 Catherine Moore <clm@cygnus.com> - - * config/tc-sparc.c (sparc_handle_align): Use number_to_chars_bigendian - or number_to_chars_littleendian to write data. - -Mon May 18 17:09:30 1998 Nick Clifton <nickc@cygnus.com> - - * config/tc-v850.c (md_assemble): Remove artificially created - register name symbols. - -Mon May 18 13:47:06 1998 Doug Evans <devans@canuck.cygnus.com> - - * write.c (fixup_segment): Change "segment" to "section" in - error message. - -Mon May 18 16:55:40 1998 Michael Meissner <meissner@cygnus.com> - - * write.c (fixup_segment): Change sym1-sym2 message again. - -Mon May 18 09:31:43 1998 Michael Meissner <meissner@cygnus.com> - - * write.c (fixup_segment): Improve error message for sym1-sym2 - errors when sym1 is in a different segment from sym2. - -Wed May 13 10:16:37 1998 Doug Evans <devans@canuck.cygnus.com> - - * config/tc-m32r.c (warn_unmatched_high): New static local. - (OPTION_WARN_PARALLEL): Rename from OPTION_WARN. - (OPTION_NO_WARN_PARALLEL): Rename from OPTION_NO_WARN. - (md_longopts): Recognize --{no-,}warn-unmatched-high. - (md_parse_option): Likewise. - (md_show_usage): Likewise. - (m32r_frob_file): Likewise. - - * read.c (generate_file_debug,generate_lineno_debug): New functions. - (read_a_source_file): Call them. - * read.h (stabs_generate_asm_file): Declare. - * stabs.c (stabs_generate_asm_file): New function. - (generate_asm_file): New function. - (stabs_generate_asm_lineno): Move file name handling into - generate_asm_file. - -Tue May 12 12:03:44 1998 Richard Henderson <rth@cygnus.com> - - * config/tc-d30v.c (cur_mul32_p, prev_mul32_p): Make static. - (d30v_current_align, d30v_current_align_seg): New variables. - (d30v_last_label): New variable. - (d30v_align, s_d30v_align, s_d30v_text): New functions. - (s_d30v_data, s_d30v_section): Likewise. - (md_pseudo_table): Call them. - (md_begin): Initialize d30v_current_align_seg. - (md_assemble): Call d30v_align when needed by known current alignment. - (d30v_frob_label, d30v_cons_align): New functions. - * config/tc-d30v.h (md_do_align): Remove. - (tc_frob_label): Call d30v_frob_label. - (md_cons_align): New. - - * config/tc-d30v.c (find_format): Convert complex expressions to - expression symbols before processing. Clean up code formatting. - -Sun May 10 22:35:02 1998 Jeffrey A Law (law@cygnus.com) - - * po/Make-in (install-info): New target. - -Thu May 7 15:49:07 1998 Jeffrey A Law (law@cygnus.com) - - * config/tc-mn10200.c (md_assemble): Handle "bra" just like "jmp" - instructions. - * config/tc-mn10300.c (md_assemble): Likewise. - -Thu May 7 11:47:22 1998 Doug Evans <devans@canuck.cygnus.com> - - * Makefile.am: Update with `make dep-am'. - (HFILES): Add cgen.h. - (cgen.o): Depend on cgen.h. - * Makefile.in: Regenerate. - - * cgen.c (cgen_md_apply_fix3): Don't pass newline to as_warn_where. - -Thu May 7 13:20:56 1998 Anders Blomdell <anders.blomdell@control.lth.se> - - * gasp.c (grab_label): Permit a label to be a preprocessor - variable by permitting a label to start with a backslash. - -Thu May 7 12:50:33 1998 Frank Ch. Eigler <fche@cygnus.com> - - * config/tc-mips.c (validate_mips_insn): Removed hack - for previously inaccessible bitfields in some INSN_TRAP - instructions. - -Thu May 7 11:13:00 1998 Frank Ch. Eigler <fche@cygnus.com> - - * config/tc-d30v.c (do_assemble): Abort with error message - if opcode operands do not match. - -Thu May 7 09:36:06 1998 Frank Ch. Eigler <fche@cygnus.com> - - * config/tc-mips.c (macro_build, validate_mips_insn): Implement - 'q' operand format for 20-bit "break"/"sdbbp" instructions. - (mips_ip): Truncate overflowed "break" 'c' operand. Implement - similar new 'q' operand. - -Thu May 7 07:47:14 1998 Michael Meissner <meissner@cygnus.com> - - * cgen.c (cgen_asm_finish_insn): Fix typo. - -Thu May 7 02:19:14 1998 Doug Evans <devans@charmed.cygnus.com> - - * cgen.h: New file. - * cgen.c: Include it. - (MAX_FIXUPS): Renamed to CGEN_MAX_FIXUPS. - (cgen_asm_finish_insn): Result is now void. New arg `result'. - All callers updated. - * config/tc-m32r.c: Include cgen.h. - (m23r_insn): New members num_fixups,fixups. - -Wed May 6 16:29:19 1998 Jeffrey A Law (law@cygnus.com) - - * config/tc-hppa.c (md_apply_fix): Slightly rework some code - to avoid compiler warning. - -Wed May 6 15:26:34 1998 Klaus Kaempf <kkaempf@progis.de> - - * makefile.vms: Run dec c with /nodebug. Pass CC value when - calling make. - - * makefile.vms (OBJS): Add ehopt.obj - -Wed May 6 15:11:12 1998 Klaus Kaempf <kkaempf@progis.de> - - * doc/c-vax.texi: Correct and extend vax/vms documentation. - -Wed May 6 11:51:51 1998 Richard Henderson <rth@cygnus.com> - - * config/tc-d30v.c (do_assemble): Accept a new parameter requesting - a short format insn. - (md_assemble): Set it for explicitly packed insns. - -Tue May 5 13:23:13 1998 Nick Clifton <nickc@cygnus.com> - - * config/obj-coff.c (c_symbol_merge): Do not take address of - native fields when performing the memcpy. - -Tue May 5 13:10:41 1998 Gavin Koch <gavin@cygnus.com> - - * config/tc-mips.c (macro,macro2): Implement - M_DMULO_I, M_MULO_I, M_DMULOU_I, and M_MULOU_I. - -Mon May 4 17:49:14 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * config/tc-m68k.h (TC_RELOC_RTSYM_LOC_FIXUP): Changed to keep - relocations against globally visible symbols. - * config/tc-m68k.c (relaxable_symbol): New macro. - (m68k_ip, md_estimate_size_before_relax): Use it. - (tc_m68k_fix_adjustable): Also handle weak symbols. - -Mon May 4 16:12:23 1998 Ian Lance Taylor <ian@cygnus.com> - - * config/tc-i386.h (TC_RELOC_RTSYM_LOC_FIXUP): Keep relocs for all - references to externally visible symbols. - * config/tc-i386.c (md_apply_fix3): When OBJ_ELF, don't add the - values in twice for a PC relative reloc if the symbol is - externally defined. - - * config/tc-sparc.h (tc_fix_adjustable) [OBJ_AOUT]: When PIC, - don't adjust a PC relative reloc against an externally visible - symbol. - * config/tc-sparc.c (md_apply_fix3): When generating a.out PIC, - for a PC relative fixup against an externally visible defined - symbol, arrange to store object file and addend values as though - the symbol were not defined. - (tc_gen_reloc): Likewise. - -Thu Apr 30 13:09:39 1998 Fred Fish <fnf@ninemoons.com> - - * read.c (sizeof_leb128): Referenced externally by write.c so - don't inline. - -Wed Apr 29 15:45:57 1998 Michael Meissner <meissner@cygnus.com> - - * config/tc-m32r.c ({,expand_}debug_sym): New functions to record - and expand a 'debug' symbol associated with the next instruction - that does not cause a short instruction to be filled with a NOP. - (md_pseudo_table): Add support for .debugsym. - (assemble_parallel_insn): Add calls to expand_debug_sym as - appropriate. - (md_assemble): Ditto. - -Tue Apr 28 19:16:26 1998 Tom Tromey <tromey@cygnus.com> - - * as.c (main): Conditionally call setlocale. - * gasp.c (main): Likewise. - * asintl.h: Include <locale.h> if HAVE_LOCALE_H. - (LC_MESSAGES): Now can be defined even when ENABLE_NLS. - -Tue Apr 28 18:33:23 1998 Frank Ch. Eigler <fche@cygnus.com> - - * config/tc-d30v.c (md_show_usage): Correct gettext typo. - -Tue Apr 28 12:16:30 1998 Ian Lance Taylor <ian@cygnus.com> - - * config/tc-hppa.c: Change all calls to bzero to use memset. - (pa_ip): Add cast to avoid warning. - (tc_gen_reloc, md_apply_fix): Likewise. - (pa_find_space_by_number): Likewise. - (hppa_force_relocation): Likewise. - (pa_block): Change i to unsigned int. - * config/obj-som.h (obj_som_copyright): Declare. - -Tue Apr 28 11:35:56 1998 Frank Ch. Eigler <fche@cygnus.com> - - * ecoff.c (ecoff_build_lineno): Do not use dummy first_lineno - for line numbers for assembly source. - -Mon Apr 27 15:58:46 1998 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Change version number to 2.9.4 - * configure: Rebuild. - -Mon Apr 27 12:07:33 1998 Doug Evans <devans@seba.cygnus.com> - - * cgen.c (cgen_asm_finish_insn): New arg relax_p. All callers updated. - -Mon Apr 27 15:16:12 1998 Ian Lance Taylor <ian@cygnus.com> - - * ecoff.h: Change symbolS in function declaration to struct - symbol. - -Sun Apr 26 13:44:22 1998 Ian Lance Taylor <ian@cygnus.com> - - * config/tc-sh.c (parse_reg): Add casts to avoid warnings. - (md_convert_frag): Fix i18n typo. - -Sat Apr 25 20:12:02 1998 Richard Henderson <rth@cygnus.com> - - * ecoff.c (ecoff_get_cur_proc_sym): New function. - * ecoff.h: Protoype it. - * config/tc-alpha.c [ELF] (s_alpha_prologue): New function. - [EVAX] (s_alpha_prologue): Delete. - (md_pseudo_table): Update. - -Sat Apr 25 14:00:52 1998 Ian Lance Taylor <ian@cygnus.com> - - * config/tc-i960.c (md_assemble): Change bp_error_msg from static - array to local pointer. - (get_args, parse_expr): Add casts to avoid warnings. - -Fri Apr 24 12:47:42 1998 Philippe De Muyter <phdm@macqel.be> - - * read.c (s_set): Cast xmalloc return value to fragS *. - * config/tc-m68k.c (m68k_ip): Function made static to match - previous forward declaration. - (insert_reg, init_regtable, md_convert_frag_1): Likewise. - -Fri Apr 24 09:26:46 1998 Nick Clifton <nickc@cygnus.com> - - * config/tc-v850.c: Add internationalisation macros to error - strings. - - * config/tc-m32r.c (can_make_parallel): Add internationalisation - macros to error strings. - -Thu Apr 23 19:23:23 1998 Ian Lance Taylor <ian@cygnus.com> - - * config/tc-ppc.c (ppc_fix_adjustable): Correct test of whether a - reloc is in the TOC csect. - (md_apply_fix3): Correct gettext typo. - -Thu Apr 23 14:58:31 1998 Nick Clifton <nickc@cygnus.com> - - * config/tc-arm.c (find_real_start): Ignore symbols starting with - .L - they are local labels and the branches are not really - function calls but rather far jumps. - -Wed Apr 22 15:57:21 1998 Tom Tromey <tromey@cygnus.com> - - * po/Make-in (MKINSTALLDIRS): Don't look in $(top_srcdir). - -Wed Apr 22 14:52:36 1998 Ian Lance Taylor <ian@cygnus.com> - - * config/tc-i386.c (md_assemble): Print operand number rather than - using ordinal_names. - (i386_operand): Likewise. - -Tue Apr 21 22:34:25 1998 Tom Tromey <tromey@scribbles.cygnus.com> - - * Makefile.am (INTLLIBS): Define to work around apparent automake - bug. - All Makefiles: Regenerated. - - * Many files: Added gettext invocations around user-visible - strings. - * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY, - HAVE_LC_MESSAGES): Define. - * dep-in.sed: Added asintl.h. - * po/Make-in: New file. - * gasp.c (main): Call setlocale, bindtextdomain, and textdomain. - Include "asintl.h". - * read.c (Z_): Renamed from `_'. - * Makefile.am (SUBDIRS): Added po. - (POTFILES): new macro. - (po/POTFILES.in): New target. - ($(OBJS)): Added asintl.h. - (HFILES): Likewise. - (INCLUDES): Added -DLOCALEDIR, -I$(top_srcdir)/../intl. - (as_new_LDADD): Added $(INTLLIBS). - (as_new_DEPENDENCIES): Added $(INTLDEPS). - (gasp_new_LDADD): Added $(INTLLIBS). - (gasp_new_DEPENDENCIES): New macro. - * configure, aclocal.m4: Rebuilt. - * configure.in: Call CY_GNU_GETTEXT. Generate po/Makefile.in and - po/Makefile. - (ALL_LINGUAS): Define. - * macro.c: Include "asintl.h". - * as.c (main): Call setlocale, bindtextdomain, and textdomain. - * as.h: Include "asintl.h". - * config/tc-i386.c (ordinal_names): Removed. - (md_assemble): Changed error text to avoid ordinal_names. - (i386_operand): Likewise. - (reloc): Added as_bad to avoid i18n problems. - (tc_gen_reloc): Likewise. - * config/tc-arm.c (bad_args): Now a #define. - (bad_pc): Likewise. - * config/obj-vms.c (VMS_stab_parse): Changed type of - `long_const_msg'. - (global_symbol_directory): Unified strings to avoid i18n - problems. - * config/tc-m68k.c (get_reloc_code): Added some as_bad calls to - avoid i18n problems. - * config/tc-ns32k.c (reloc): Added as_bad to avoid i18n problems. - * config/tc-ppc.c (md_apply_fix3): Added as_bad_where to avoid - i18n problems. - * config/tc-sh.c (md_convert_frag): Added as_bad to avoid i18n - problems. - * config/tc-v850.c (md_assemble): Changed C++ comment into C - comment. - * config/tc-vax.c (md_assemble): Added as_warn to avoid i18n - problems. - * as.c (print_version_id): Added an fprintf to avoid i18n - problems. - * cond.c (cond_finish_check): Added as_bad call to avoid i18n - problems. - * expr.c (expr): Added as_warn call to avoid i18n problems. - * messages.c (as_assert): Changed code to avoid i18n problems. - (as_abort): Likewise. - * read.c (pseudo_set): Added as_bad call to avoid i18n problems. - (s_space): Likewise. - * po/Make-in, po/POTFILES.in, po/gas.pot: New files. - -Tue Apr 21 17:01:22 1998 Alan Modra <alan@spri.levels.unisa.edu.au> - - * config/tc-i386.c (check_prefix): New static function, split out - from md_assemble. - (struct _i386_insn): Add wait_prefix field. - (md_assemble): Remove wait_prefix local variable. Use - check_prefix when adding a prefix. - - * config/tc-i386.c (current_templates): New static variable. - (md_assemble): Remove current_templates local variable. - (md_assemble, i386_operand): Improve error and warning messages in - many places. Add RESTORE_END_STRING in many places before error - return. Clarify some comments. - - * config/tc-i386.c (struct _i386_insn): Change seg field to a two - element array. - (md_assemble): Parse string instruction operands, looking for - segment override prefixes. Check for invalid segment prefixes on - string instruction. - (i386_operand): i.seg[] and max mem_operand changes for string - insns. - * config/tc-i386.h (EsSeg): Define. - - * config/tc-i386.h (regKludge): Define. - (iclrKludge, imulKludge): Don't define. - * config/tc-i386.c (md_assemble): Merge imulKludge and iclrKludge - code. Move ReverseRegRegmem fudges into Modrm case. Reorder - opcode_modifier checks to look for more common cases first. Add - default_seg for IsString case. - -Tue Apr 21 16:18:12 1998 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Call AM_PROG_LEX rather than AC_PROG_LEX and - AC_DECL_YYTEXT. - * configure: Rebuild with new automake and libtool. - * aclocal.m4, Makefile.in: Likewise. - - * doc/Makefile.am (as.dvi): New target. - * doc/Makefile.in: Rebuild. - -Sat Apr 18 01:21:04 1998 Stan Cox <scox@cygnus.com> - - * configure.in: Added sparc86x support. - - * configure: Rebuild. - - * config/tc-sparc.c (lookup_arch): Added arch_type to struct - sparc_arch. - (md_parse_option): Warn if -EL is not supported for this architecture. - - * config/tc-sparc.h (SPARC_BIENDIAN) Always define. - -Sat Apr 18 01:19:01 1998 Jeffrey A Law (law@cygnus.com) - - * config/tc-mips.c (mips_ip): Note when we use get match on - the full instruction name. - -Wed Apr 15 15:17:27 1998 Richard Henderson <rth@cygnus.com> - - * symbols.c (resolve_symbol_value) [O_symbol]: Also store the symbol - back into the expression to handle add/sub simplification correctly. - -Wed Apr 15 07:06:04 1998 Catherine Moore <clm@cygnus.com> - - * config/tc-mips.c (hilo_interlocks): Remove 4300. - -Mon Apr 13 16:51:04 1998 Nick Clifton <nickc@cygnus.com> - - * config/tc-arm.c (do_msr): Support undocumented 'msr cpsr_flg, - #<n>' instruction. - -Thu Apr 9 10:29:42 1998 Doug Evans <devans@canuck.cygnus.com> - - * symbols.c (max_indent_level): New global. - (print_symbol_value_1): Use it. - * expr.h (expr_build_dot): Declare. - * expr.c (expr_build_dot): New function. - -Wed Apr 8 16:16:11 1998 Doug Evans <devans@canuck.cygnus.com> - - * symbols.c (print_binary): New function. - (print_expr_1): Call it. - -Mon Apr 6 12:06:39 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * config/tc-m68k.c (m68k_ip, case "#B"): Install the offset of the - operand in the opcode. - -Fri Apr 3 11:58:19 1998 Alan Modra <alan@spri.levels.unisa.edu.au> - - * config/tc-i386.h: Reorder operand flags and opcode modifier - flags for clarity. Remove unused definitions: Unknown, - ImmUnknown, DispUnknown, NoModrm. - * config/tc-i386.c (type_names): Add missing Debug type. - (md_assemble): Better duplicate prefix checking. Quicker string - instruction check via new opcode_modifier flag. - -Fri Apr 3 11:44:34 1998 Ian Lance Taylor <ian@cygnus.com> - - * doc/as.texinfo (Invoking): Clarify -Wa example. - -Fri Apr 3 09:12:23 1998 Gavin Koch <gavin@cetus.cygnus.com> - - * config/tc-mips.c (mips_pseudo_table): Add weakext entry. - (s_mips_weakext): Define. - * ecoff.c (ecoff_directive_weakext): Don't define if defined(TC_MIPS). - * config/obj-ecoff.c (obj_pseudo_table): Don't add weakext if - defined(TC_MIPS). - -Thu Apr 2 22:42:02 1998 Jeffrey A Law (law@cygnus.com) - - * config/tc-mn10200.c (tc_gen_reloc): The difference of two symbols - is an error if the value can not be computed at assembly time. - * config/tc-mn10300.c (tc_gen-reloc): Likewise. - -Thu Apr 2 16:36:47 1998 Ian Lance Taylor <ian@cygnus.com> - - * gasp.c (main): Set next field of new include_path structure to - NULL. From Avery Pennarun <averyp@gdc.ca>. - - * read.c (s_mri_sect): Call as_bad rather than abort for an - unsupported MRI target. - -Wed Apr 1 11:08:27 1998 Nick Clifton <nickc@cygnus.com> - - * config/tc-arm.c (arm_validate_fix): New function. Determine if - the destination of a branch instruction should be altered. - (find_real_start): New function: Locate the real, Thumb coded - start of a Thumb function. - (do_t_branch23): Alter the destination of branches to Thumb - functions. - - * config/tc-arm.h: Define TC_VALIDATE_FIX. - -Tue Mar 31 13:27:33 1998 Dean M. Deaver <deaver@amt.tay1.dec.com> - - * config/tc-arm.c (decode_shift): Handle addressing mode 2 w/rrx - also. - -Wed Apr 1 13:13:20 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * doc/as.texinfo: Use @itemx for a secondary item in a table. - * doc/c-hppa.texi: Likewise. - -Tue Mar 31 17:52:40 1998 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.am: Rebuild dependencies. - * Makefile.in: Rebuild. - - * Makefile.am (DEP_INCLUDES): New variable. - (.dep1): Change to work when srcdir is not an absolute path. - (.tcdep, .objdep, .dep2, dep.sed): Likewise. - * Makefile.in: Rebuild. - -Mon Mar 30 12:46:48 1998 Ian Lance Taylor <ian@cygnus.com> - - * config/tc-i386.h, config/tc-i386.c: Revert March 24 - LinearAddress patch. - - * configure.in: Set version to 2.9.1. - * configure: Rebuild. - - * Branched binutils 2.9. - -Mon Mar 30 11:22:08 1998 Alan Modra <alan@spri.levels.unisa.edu.au> - - * config/tc-i386.h (FWait): Define. - * config/tc-i386.c (md_assemble): Emit fwait prefix before any - other prefixes. Check FWait flag in opcode table to see which - instructions require an fwait prefix. - -Mon Mar 30 10:12:00 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * stabs.c (get_stab_string_offset): Always create a stab string - section. - -Sat Mar 28 22:28:02 1998 Ian Lance Taylor <ian@cygnus.com> - - Fix some gcc -Wall warnings: - * atof-generic.c (atof_generic): Add casts to avoid warnings. - * ehopt.c (eh_frame_code_alignment): Likewise. - * expr.c (integer_constant, operand): Likewise. - * frags.c (frag_align): Likewise. - * gasp.c (level_0, change_base, doinstr): Likewise. - * hash.c (hash_ask): Likewise. - * listing.c (listing_page, calc_hex, print_lines): Likewise. - (debugging_pseudo): Likewise. - * macro.c (define_macro, check_macro): Likewise. - * read.c (read_a_source_file, s_align, s_float_space): Likewise. - (ignore_rest_of_line, float_cons): Likewise. - * symbols.c (decode_local_label_name): Likewise. - * write.c (record_alignment, cvs_frag_to_fill): Likewise. - (fixup_segment, number_to_chars_bigendian): Likewise. - (number_to_chars_littleendian): Likewise. - * config/atof-ieee.c (gen_to_words): Likewise. - * config/tc-sparc.c (md_begin, md_assemble): Likewise. - (sparc_ip, parse_keyword_arg, s_common): Likewise. - * read.c (output_big_sleb128): Initialize locals to avoid - warnings. - (output_big_uleb128, equals): Likewise. - * atof-generic.c (atof_generic): Change number_of_digits_* locals - to unsigned int. Change zeros to unsigned int. - * cond.c (s_if): Add return to default case. - * frags.c (frag_now_fix): Change return type to addressT. - * frags.h (frag_now_fix): Update declaration. - * listing.c (file_info_struct): Change linenum to unsigned int. - (struct list_info_struct): Change hll_line to unsigned int. - (print_source): Update format string. - * read.c (emit_expr): Change scan to unsigned int, and don't - bother to initialize it. - * symbols.c (dollar_label_count): Change to unsigned long. - * write.c (adjust_reloc_syms): Remove unused label reduce_fixup. - * config/tc-sparc.c (sparc_memory_model): Only define if OBJ_ELF. - * config/tc-sparc.c (tc_gen_reloc): Add return to default case. - -Fri Mar 27 12:46:47 1998 Ian Lance Taylor <ian@cygnus.com> - - * config/tc-m68k.c (m68k_ip): Check legal addressing modes for - mcf5200 just as we do for m68000. - (m68k_init_after_args): Likewise. - (md_estimate_size_before_relax): Likewise. - -Fri Mar 27 10:30:01 1998 Catherine Moore <clm@cygnus.com> - - * config/tc-v850.c (md_assemble): Store relocation addend in - fixup instead of instruction. - -Thu Mar 26 23:07:18 1998 Alan Modra <alan@spri.levels.unisa.edu.au> - - * config/tc-i386.c (md_assemble): Swap template arguments to - CONSISTENT_REGISTER_MATCH macro in reverse direction test. - This macro is currently symmetric, so passing them the wrong - way didn't cause any problem, but may if the macro is changed - in the future. - After copying template to i.tm, use i.tm. rather than t-> to - access fields, and make t a const* - Move i.tm.operand_types[] swap to immediately after the copy. - -Wed Mar 25 13:44:18 1998 Doug Evans <devans@canuck.cygnus.com> - - * expr.h (expr_build_uconstant): Add prototype. - (expr_build_unary,expr_build_binary): Add prototypes. - * expr.c (expr_build_uconstant): New function. - (expr_build_unary,expr_build_binary): New functions. - -Wed Mar 25 13:10:42 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de> - - * gasp.c (IS*): Cast argument to unsigned char, not unsigned int. - * macro.c (macro_expand_body): Increase buffer size. - * messages.c (as_warn): Likewise. - (as_warn_where, as_bad, as_bad_where): Likewise. - -Wed Mar 25 12:59:07 1998 Ian Lance Taylor <ian@cygnus.com> - - Based on patch from H.J. Lu <hjl@gnu.org>: - * Makefile.am (DISTSTUFF): New variable. - (diststuff): New target. - * Makefile.in: Rebuild. - -Tue Mar 24 16:51:29 1998 Nick Clifton <nickc@cygnus.com> - - * config/tc-m32r.h (md_cleanup, md_elf_section_change_hook): Call - m32r_elf_section_change_hook. - - * config/tc-m32r.c (m32r_elf_section_change_hook): New function to - emit a nop if a section ends with a 16 bit instruction. - -Tue Mar 24 19:48:09 1998 Ian Lance Taylor <ian@cygnus.com> - - * config/obj-coff.c (obj_coff_bss): Compile unconditionally. Call - s_lcomm rather than obj_coff_lcomm. - (obj_pseudo_table): Compile .bss pseudo-op unconditionally. - -Tue Mar 24 18:30:58 1998 H.J. Lu <hjl@gnu.org> - - * config/tc-i386.h (LinearAddress): Define. - * config/tc-i386.c (md_assemble): If LinearAddress is set for the - instruction, don't use a default segment. - -Mon Mar 23 18:53:40 1998 Joel Sherrill <joel@OARcorp.com> - - * configure.in: (sh*-*-rtems*): Switched from ELF to COFF. - * configure: Rebuild. - -Fri Mar 20 19:15:44 1998 Ian Lance Taylor <ian@cygnus.com> - - * aclocal.m4, configure: Rebuild with libtool 1.2. - -Thu Mar 19 16:03:12 1998 Nick Clifton <nickc@cygnus.com> - - * config/tc-arm.c (md_apply_fix3): fix code to test the range of - PC relative branches. Patch courtesy of Jonathan Walton. - - -Wed Mar 18 09:29:51 1998 Nick Clifton <nickc@cygnus.com> - - * configure.in (emulations): Add thumb-pe target. - - * configure (emulations): Add thumb-pe target. - -1998-03-17 Ken Raeburn <raeburn@cygnus.com> - - * itbl-lex.l (yywrap): Don't define if already defined as a - macro. - -Fri Mar 13 16:31:38 1998 Tom Tromey <tromey@cygnus.com> - - * depend.c (quote_string_for_make): New function. - (wrap_output): Use it. - -Thu Mar 12 18:28:22 1998 Nick Clifton <nickc@cygnus.com> - - * config/obj-elf.c (obj_elf_section): Set bss flag in seg_info - structure if type is SHT_NOBITS. [Bug fix courtesy of rth] - -Sat Feb 28 17:28:55 1998 Richard Henderson <rth@cygnus.com> - - * config/tc-alpha.c (md_shortopts, md_longopts, md_parse_option): - Recognize -GN and -relax. - (md_begin): Initialize gp size from -G switch. - (alpha_force_relocation): Always force if -relax. - (alpha_align): Take a new argument that will specify when to - emit an R_ALPHA_ALIGN relocation (though we don't do that now). - Change all callers. Emit nop alignment padding as nop+unop pair. - -Sat Feb 28 17:06:22 1998 Richard Henderson <rth@cygnus.com> - - * config/obj-elf.c [TC_ALPHA]: Include <elf/alpha.h>. - * config/tc-alpha.h (ELF_TC_SPECIAL_SECTIONS): New. - -Thu Feb 26 15:49:04 1998 Michael Meissner <meissner@cygnus.com> - - * config/tc-d30v.c (write_2_short): Delayed jsr instructions don't - require padding to the next long word boundary. - -Mon Feb 23 11:29:06 1998 Doug Evans <devans@seba.cygnus.com> - - * cgen.c: #include symcat.h. - * config/tc-m32r.c: Likewise. - -Mon Feb 23 10:27:40 1998 Jeffrey A Law (law@cygnus.com) - - * config/tc-mips.c (mips_ip, case 'P'): Make 'P' arguments be - absolute expressions instead of '$' prefixed register names. - -Sat Feb 21 22:36:52 1998 Richard Henderson <rth@cygnus.com> - - * read.c (s_set): Record file and line info for symbols when -as. - (pseudo_set): Don't overwrite that dummy fragment. - -Fri Feb 20 15:03:13 1998 Ian Lance Taylor <ian@cygnus.com> - - * config/tc-ppc.c (md_pseudo_table): Add "section". - (ppc_named_section): New static function. - -Thu Feb 19 22:25:42 1998 Richard Henderson <rth@cygnus.com> - - * tc-ppc.c (ppc_biei): Cache the last symbol we inserted - so we don't have to scan the entire list. - -Tue Feb 17 17:02:15 1998 Fred Fish <fnf@cygnus.com> - - * config/tc-d30v.c (parallel_ok): For the explicitly parallel - case, allow the parallel instructions to modify the same flag - bits. - -Thu Feb 19 16:08:15 1998 Richard Henderson <rth@cygnus.com> - - * listing.c (list_symbol_table): Categorize symbols by - undefined_section rather than sy_frag->line == NULL. - -Wed Feb 18 23:39:46 1998 Richard Henderson <rth@cygnus.com> - - * Makefile.am (install-exec-local): Install properly when ln - fails or tooldir == prefix. - -Tue Feb 17 18:58:51 1998 Doug Evans <devans@seba.cygnus.com> - - * cgen.c (cgen_md_apply_fix3): Delete call to validate_operand. - Test result of insert_operand for error. - -Fri Feb 13 16:41:42 1998 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.am (AUTOMAKE_OPTIONS): Add cygnus. - * configure, Makefile.in, aclocal.m4: Rebuild with automake 1.2e. - * doc/Makefile.am (AUTOMAKE_OPTIONS): Define. - * doc/Makefile.in: Rebuild. - -Fri Feb 13 00:47:44 1998 Ian Lance Taylor <ian@cygnus.com> - - * config/tc-mips.c (macro_build): Handle operand type 'C'. - (macro): Fix handling of M_COP[0-3]. - -Thu Feb 12 14:06:59 1998 Ian Lance Taylor <ian@cygnus.com> - - Based on patches from Ross Harvey <ross@teraflop.com>: - * macro.c (ISSEP): Only treat '<' and '>' as separator characters - if macro_alternate or macro_mri. - (getstring): Remove support for byte constants between < and >. - (get_any_string): '<' only starts a string if macro_alternate or - macro_mri. - (macro_expand_body): Permit keyword parameters following - positional parameters. - - NetBSD patches from Gordon W. Ross <gwr@mc.com>: - * configure.in (alpha*-*-netbsd*): New target. - * config/te-nbsd.h (LOCAL_LABELS_FB): Define. - * configure: Rebuild. - - * as.h (flag_warn_suppress_instructionswap): Move from here... - * config/tc-d10v.c (flag_warn_suppress_instructionswap): ...to - here, and make static. - - * ehopt.c (eh_frame_code_alignment): Only use seg_info if - BFD_ASSEMBLER or MANY_SEGMENTS. - - * as.c (show_usage): Update bug-gnu-utils address. - * gasp.c (show_usage): Likewise. - * doc/as.texinfo (Bug Reporting): Likewise. - -Wed Feb 11 23:26:28 1998 Jeffrey A Law (law@cygnus.com) - - * config/tc-mips.c (load_address): Don't use mips III or mips IV - insns regardless of the size of a pointer if we're in mips I or - MIPS II mode. - (macro, macro2, s_cprestore, s_cpadd): Likewise. - -Thu Feb 12 03:41:00 1998 J"orn Rennecke <amylaar@cygnus.co.uk> - - Fix rac to accept only a0: - * tc-d10v.c (parallel_ok, find_opcode): - Split OPERAND_ACC into OPERAND_ACC0 and OPERAND_ACC1. - Introduce OPERAND_GPR. - -Wed Feb 11 16:28:13 1998 Richard Henderson <rth@cygnus.com> - - * read.c (s_fill): Handle non-constant repeat counts by creating - an rs_space fragment. - -Tue Feb 10 18:31:31 1998 Ian Lance Taylor <ian@cygnus.com> - - * config/tc-i386.c (i386_operand): Change error added Jan 2 1998 - from as_bad to as_warn. - -Tue Feb 10 18:04:00 1998 Jim Lemke <jlemke@cygnus.com> - - * as.c: (perform_an_assembly_pass): Use [TEXT|DATA|BSS]_SECTION_NAME - * as.h: Define default values of [TEXT|DATA|BSS]_SECTION_NAME - * config/obj-elf.c (elf_begin): Use [TEXT|DATA|BSS]_SECTION_NAME - -Tue Feb 10 17:58:18 1998 Ian Lance Taylor <ian@cygnus.com> - - * ehopt.c (eh_frame_code_alignment): If not BFD_ASSEMBLER, use - seg_fix_rotP rather than fix_root from seg_info. - -Tue Feb 10 15:32:22 1998 Ian Carmichael <iancarm@cygnus.com> - - * expr.c: Add support for 0x1_2_3_4 bignums. - -Tue Feb 10 14:43:40 1998 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Change -linux* to -linux-gnu*. - * configure: Rebuild. - - * app.c (do_scrub_begin): Treat \r as whitespace. - -Mon Feb 9 14:16:11 1998 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.am: Update dependencies. - * Makefile.in: Rebuild. - -Sat Feb 7 15:33:51 1998 Ian Lance Taylor <ian@cygnus.com> - - * configure, aclocal.m4: Rebuild with new libtool. - -Fri Feb 6 16:08:30 1998 Jeffrey A Law (law@cygnus.com) - - * config/tc-mips.c (md_begin): If mips_cpu is set, then use it as - the argument to bfd_set_arch_mach. - (load_address): Use bfd_arch_bits_per_address to determine the - bit size of an address instead of looking at the isa level. - (macro, macro2, s_cprestore, s_cpadd): Likewise. - -Fri Feb 6 14:44:34 1998 Nick Clifton <nickc@cygnus.com> - - * config/tc-v850.c (md_parse_option): Add -mv850any command line option. - -Thu Feb 5 12:39:08 1998 Ian Lance Taylor <ian@cygnus.com> - - * ehopt.c: New file. - * as.h (enum _relax_state): Add rs_cfa. - (check_eh_frame, eh_frame_estimate_size_before_relax): Declare. - (eh_frame_relax_frag, eh_frame_convert_frag): Declare. - * read.c (emit_expr): Call check_eh_frame. - * write.c (cvt_frag_to_fill): Handle rs_cfa. - (relax_segment): Likewise. - * Makefile.am: Rebuild dependencies. - (GAS_CFILES): Add ehopt.c. - (GENERIC_OBJS): Add ehopt.o. - * doc/internals.texi (Frags): Document rs_cfa. - - * as.c (show_usage): Mention --traditional-format. - (parse_args): Accept --traditional-format. - * as.h (flag_traditional_format): Declare. - * output-file.c (output_file_create): If flag_traditional_format, - set BFD_TRADITIONAL_FORMAT on stdoutput. - * doc/as.texinfo, doc/as.1: Document --traditional-format. - - * config/tc-mips.c (append_insn): Make sure that if we have a - fixup for an unmatched %hi reloc, it does not associated with a - variant frag. - - * configure, Makefile.in, aclocal.m4: Rebuild with new libtool. - * doc/Makefile.in: Likewise. - -Wed Feb 4 15:41:54 1998 Nick Clifton <nickc@cygnus.com> - - * config/tc-m32r.c (check_for_side_effects): New function. - (can_make_parallel): Add checks for instruction side effects - clashing with the other instruction. - (assemble_parallel_insn): Improve warning messages. Return error - message from non-swapped instruction order. - -Wed Feb 4 20:00:26 1998 James G. Smith <jsmith@teknema.demon.co.uk> - - * config/tc-arm.c: Rename arm_after_pass_hook() to arm_cleanup(). - - * config/tc-arm.h: Replace md_after_pass_hook definition with a - md_cleanup definition. This moves the forced literal output to - the end of the source pass, and avoids macro's inserting literals - into the code immediately after the macro expansion. - -Wed Feb 4 13:17:19 1998 Ian Lance Taylor <ian@cygnus.com> - - * config/tc-sparc.h (tc_fix_adjustable) [OBJ_ELF]: A reloc against - a gas internal symbol is adjustable. - * config/tc-ppc.h (tc_fix_adjustable): Likewise. - - * as.h: If gcc version greater than 2.6, use `__format__' and - `__printf__' in function attributes, rather than `format' and - `printf'. - -Mon Feb 2 18:38:18 1998 Ian Lance Taylor <ian@cygnus.com> - - * config/tc-sparc.c: Only include elf/sparc.h if OBJ_ELF. - -Mon Feb 2 18:30:34 1998 Steve Haworth <steve@pm.cse.rmit.EDU.AU> - - Add tms320c30 support: - * config/tc-tic30.h: New file. - * config/tc-tic30.c: New file. - * config/obj-coff.h: If TC_TIC30, include coff/tic30.h and define - TARGET_FORMAT as "coff-tic30". - * configure.in (tic30-*-*aout*, tic30-*-*coff*): New targets. - * Makefile.am: Rebuild dependencies. - (CPU_TYPES): Add tic30. - (CPU_OBJ_VALID): tic30-aout is valid. - (TARGET_CPU_CFILES): Add config/tc-tic30.c. - (TARGET_CPU_HFILES): Add config/tc-tic30.h. - * configure, Makefile.in: Rebuild. - -Mon Feb 2 10:20:37 1998 Nick Clifton <nickc@cygnus.com> - - * config/tc-v850.c (md_assemble): Improvements to error messages. - -Mon Feb 2 12:39:05 1998 Geoff Keating <geoffk@ozemail.com.au> - - * config/tc-ppc.c (md_apply_fix3): Change BFD_RELOC_HI16 and - BFD_RELOC_HI16_S to store the high bits of any value. - - * config/tc-ppc.h (tc_fix_adjustable): Undo change of Fri Jun 27. - (TC_RELOC_RTSYM_LOC_FIXUP): Don't let the - assembler calculate relocations to any external symbol at all. - * config/tc-ppc.c (md_apply_fix3) [OBJ_ELF]: Correct bugs - involving generation of pc-relative relocs. - (md_pcrel_from_section) [OBJ_ELF]: The job this code used to do - has been moved to md_apply_fix3. - - * config/tc-ppc.c (md_apply_fix3): Fix test for too-far branch. - (ppc_elf_suffix): Warn about 'identifier+constant@got' syntax, - which actually means (the address of identifier's GOT entry) + - constant, which is not particularly useful. - -Fri Jan 30 11:02:35 1998 Doug Evans <devans@canuck.cygnus.com> - - * read.h (include_dirs): Declare. - (include_dir_count,include_dir_maxlen): Declare. - -Fri Jan 30 11:47:02 1998 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Correct check for shared opcodes library. - * configure: Rebuild. - - * listing.c (buffer_line): If we can't open the file, set at_end. - (listing_print): Remove unused local variable fi. - - * config/m68k-parse.y (reglistpair): Handle register list in - either order. - - * config/vms-conf.h: Don't undef VERSION. - -Thu Jan 29 14:42:44 1998 Pat Rankin <rankin@eql.caltech.edu> - - * Makefile.am (CONFIG_OBJS): New variable, containing part of old - OBJS variable. - (GENERIC_OBJS): New variable, with the rest of the old OBJS - variable. - (OBJS): Now just $(CONFIG_OBJS) and $(GENERIC_OBJS). - ($(srcdir)/make-gas.com): Rename from make-gas.com. - (stamp-mk.com): Replace $(OBJS) with $(GENERIC_OBJS). - (EXTRA_DIST): Define. - * vmsconf.sh: Handle {targ-cpu, obj-format, atof-targ} modules - explicitly rather than via the list of object files. - (gcc-as.opt): New file created when make-gas.com is run. - * config-gas.com: Create {targ-cpu.h, obj-format.h, targ-env.h, - itbl-cpu.h} to #include appropriate file rather than copying that - file. - * config/vms-conf.h: Synchronize with current config.in. - * Makefile.in: Rebuild. - -Thu Jan 29 18:48:19 1998 Bill Moyer <billm@cygnus.com> - - * config/tc-d30v.c (do_assemble): Added flag_explicitly_parallel. - (parallel_ok): Relaxed parallel subinstruction dependency check. - -Wed Jan 28 14:35:00 1998 Bill Moyer <billm@cygnus.com> - - * as.h (flag_warn_suppress_instructionswap): added new flag. - * tc-d10v.c (md_parse_option,md_longopts): added "--nowarnswap" - command line argument. - * tc-d10v.c (write_2_short): emit "Swapping instructions" - warning only if flag_warn_suppress_instructionswap is false. - -Wed Jan 28 16:41:19 1998 J.J. van der Heijden <J.J.vanderHeijden@student.utwente.nl> - - * configure.in (i386-*-mingw32*): New target. - * configure: Rebuild. - -Wed Jan 28 14:51:18 1998 Ian Lance Taylor <ian@cygnus.com> - - * symbols.c (resolve_symbol_value): Don't set the segment if it - hasn't changed, and this is OBJ_AOUT without BFD_ASSEMBLER. - - * config/obj-aout.h (S_IS_LOCAL): Correct typo--pass argument to - S_GET_SEGMENT. - -Wed Jan 28 13:54:50 1998 Pat Rankin <rankin@eql.caltech.edu> - - as.h (unlink): Reverse 13-Feb-97 change; use of unlink vs remove - depends upon HAVE_{UNLINK,REMOVE} values rather than host - compiler. - -Wed Jan 28 13:48:08 1998 Ian Lance Taylor <ian@cygnus.com> - - * config/obj-coff.h (RESOLVE_SYMBOL_REDEFINITION): Define. - -Wed Jan 28 09:52:00 1998 Nick Clifton <nickc@cygnus.com> - - * config/tc-v850.c (v850_insert_operand): Display instruction when - an error is encountered. - -Tue Jan 27 13:32:01 1998 Robert Lipe <robertl@dgii.com> - - * configure.in (i386-*-sco3.2v5*): Defaults to ELF now. - (i386-*-sco3.2v5*coff): New target. - (i386-*-sco3.2*): New target. - * configure: Rebuild. - -Tue Jan 27 11:06:52 1998 Nick Clifton <nickc@cygnus.com> - - * config/tc-v850.c: Tidy error message production. - -Tue Jan 27 12:24:32 1998 Ian Lance Taylor <ian@cygnus.com> - - * config/tc-arm.c (md_apply_fix3): Add new variable newimm to hold - validate_immediate return value in the right type for comparisons - to FAIL. - -Tue Jan 27 06:51:59 1998 Richard Henderson <rth@cygnus.com> - - * listing.c (MAX_BYTES): Use listing variables not constants. - (data_buffer): No longer an array, but a pointer. - (calc_hex): sizeof(data_buffer) -> MAX_BYTES. - (listing_listing): Allocate data_buffer. - -Tue Jan 27 06:38:35 1998 Richard Henderson <rth@cygnus.com> - - * as.c (parse_args): Add --listing-lhs-width, --listing-lhs-width2, - --listing-rhs-width, --listing-cont-lines. - (show_usage): Update. - * listing.c (listing_lhs_width, listing_lhs_width_second): New vars. - (listing_lhs_cont_lines, listing_rhs_width): New vars. - (print_lines): Use the variables instead of the constants. - (listing_listing): Likewise. - * listing.h: Declare the new vars. - -Tue Jan 27 05:32:05 1998 Richard Henderson <rth@cygnus.com> - - * as.c (parse_args): Add --keep-locals alias for -L. - Add --strip-local-absolute. - (show_usage): Update. - * as.h (flag_strip_local_absolute): New flag. - * symbols.c (S_IS_LOCAL): Use it. - * config/obj-aout.h (S_IS_LOCAL): Likewise. - * config/obj-bout.h (S_IS_LOCAL): Likewise. - * config/obj-coff.h (S_IS_LOCAL): Likewise. - -Mon Jan 26 13:07:41 1998 Nick Clifton <nickc@cygnus.com> - - * config/tc-m32r.c: Detect if explicitly parallel instructions - might have an io conflict and issue a warning message. - -Thu Jan 22 17:51:44 1998 Nick Clifton <nickc@cygnus.com> - - * cgen.c (cgen_save_fixups, cgen_restore_fixups, - cgen_swap_fixups): Functions to save, restore and swap the fixup - chain with a backup copy. - (cgen_asm_finish_insn): Returns address of constructed insn. - -Wed Jan 21 16:49:10 1998 Richard Henderson <rth@cygnus.com> - - * listing.c (file_info_struct): Remove FILE, add POS. - (last_open_file_info, last_open_file): New; a one entry FILE* cache. - (file_info): Don't open the file. - (buffer_line): Check for the file in the last_open cache, updating - as necessary. - (print_source): Don't reference file_info->file. - (listing_listing): Likewise. - (listing_print): Close the file in the cache, if any. - -Fri Jan 16 14:51:48 1998 Ian Lance Taylor <ian@cygnus.com> - - * read.c (dwarf_file_string): New file static variable. - (emit_expr): Look for constant sequence that leads up to a file - name in DWARF debugging output. - (stringer): Use dwarf_file_string to decide whether to accept a - string as a file name. - -Fri Jan 16 11:30:37 1998 Richard Henderson <rth@cygnus.com> - - * tc-m68k.c (m68k_ip): Remove absl->reglst MRI hack. - (crack_operand): Add reg->reglst MRI hack. - (r_seg): Put reglst symbols in reg_section. - (m68k_frob_symbol): Frob reglst symbols into absolute_section. - -Thu Jan 15 14:19:01 1998 Richard Henderson <rth@cygnus.com> - - * tc-sh.c (get_specific): Handle SGR & DBR. - -Thu Jan 15 13:46:48 1998 Richard Henderson <rth@cygnus.com> - - * tc-h8300.c (parse_reg): Take the length of the symbol into - account when attempting to match a register name. - * tc-h8500.c (parse_reg): Likewise. - -Wed Jan 14 17:52:33 1998 Nick Clifton <nickc@cygnus.com> - - * cgen.c: Formatting changes to improve readability. - -Wed Jan 14 15:41:41 1998 Jeffrey A Law (law@cygnus.com) - - * config/tc-mips.c (macro): Rework division code to avoid unfilled - delay slot. - -Wed Jan 14 18:04:20 1998 Michael Meissner <meissner@cygnus.com> - - Based on a patch from Jim Wilson - * config/tc-d30v.c (do_assemble): Remove non-ansi default case. - (tc_gen_reloc): Handle cross section PC relative relocs - correctly. - -Wed Jan 14 15:02:19 1998 Doug Evans <devans@seba.cygnus.com> - - * config/tc-mips.c (mips_ip): Don't test pinfo flags if INSN_MACRO. - -Mon Jan 12 13:04:57 1998 Doug Evans <devans@seba.cygnus.com> - - * cgen.c: #include setjmp.h. Clean up pass over `struct foo' usage. - (expr_jmp_buf): New static local. - (cgen_parse_operand): Allow use of longjmp in parsing to handle errors. - (cgen_md_operand): New function. - * tc-m32r.c: Clean up pass over `struct foo' usage. - (md_estimate_size_before_relax): Use CGEN_INSN_MNEMONIC. - -Tue Jan 6 15:36:02 1998 Richard Henderson <rth@cygnus.com> - - * symbols.c (S_SET_SEGMENT): Don't set the segment for section syms. - (S_IS_EXTERNAL, S_IS_LOCAL): Correct parenthetication. - -Fri Jan 2 16:08:54 1998 Ian Lance Taylor <ian@cygnus.com> - - * config/tc-i386.c (i386_operand): Give an error if there are - unrecognized characters after an expression. - -For older changes see ChangeLog-9697 +For older changes see ChangeLog-9899 diff --git a/gas/ChangeLog-9899 b/gas/ChangeLog-9899 new file mode 100644 index 0000000..49e2542 --- /dev/null +++ b/gas/ChangeLog-9899 @@ -0,0 +1,4854 @@ +1999-12-22 Philip Blundell <pb@futuretv.com> + + * config/tc-arm.c (arm_s_text): If OBJ_ELF, call the appropriate + hook function when changing sections. + (arm_s_data): Likewise. + +1999-12-14 Nick Clifton <nickc@cygnus.com> + + * config/tc-arm.c (md_parse_option): Add support for -marm720 + command line switch. + +Tue Nov 30 22:59:00 1999 Jeffrey A Law (law@cygnus.com) + + * config/tc-mn10300.c (md_pseudo_table): Add ".am33" pseudo-op. + (r_registers, xr_registers): Define. + (r_register_name, xr_register_name): New functions. + (md_assemble): Handle new am33 operand types and instruction + formats. + (mn10300_insert_operand, check_operand): Likewise. + +1999-11-29 Nick Clifton <nickc@cygnus.com> + + * config/tc-arm.c (thumb_mode): Turn into a tristate variable. + (s_force_thumb): Set thumb_mode to 2. + (md_assemble): Do not complain about thumb instructions on a + non-thumb target if thumb_mode is set to 2. + +1999-11-28 Michael Meissner <meissner@cygnus.com> + + * config/tc-alpha.c (toplevel): Include struc-symbol.h. + (alpha_macro_arg): Add MACRO_{LITERAL,BASE,BYTOFF,JSR} cases. + (O_...): Add new machine dependent expressions if we are handling + explicit relocations. + (alpha_reloc_op): New static table holding the explicit relocation + information. + (alpha_literal_hash): New static to hold the hash table for + explicit relocations. + (alpha_macros): Add support for explicit relocations. + (md_begin): If explicit relocations, initialize hash table. + (md_assemble): Don't print a second error if tokenize_arguments + already printed an error message. + (md_apply_fix): Add support for explicit relocations. + (alpha_force_relocation): Ditto. + (alpha_fix_adjustable): Ditto. + (alpha_adjust_symtab): New function to support explicit + relocations. + (alpha_adjust_symtab_relocs): Ditto. + (debug_exp): Debug stub compiled if DEBUG_ALPHA is defined. + (tokenize_arguments): Add debug code if DEBUG_ALPHA is defined. + Add support for explicit relocations. Return -2 if an error + message was already printed. + (find_macro_match): Add support for explicit relocations. Comment + each of the cases. + (emit_insn): Add support for explicit relocations. + (assemble_tokens): Ditto. + (emit_ldgp): Ditto. + (load_expression): Ditto. + (emit_lda): Ditto. + (emit_ldah): Ditto. + (emit_ir_load): Ditto. + (emit_loadstore): Ditto. + (emit_ldXu): Ditto. + (emit_ldil): Ditto. + (emit_sextX): Ditto. + (emit_division): Ditto. + (emit_jsrjmp): Ditto. + (emit_retjcr): Ditto. + + * config/tc-alpha.h (RELOC_OP_P): Enable explicit relocations if + ELF object format. + (tc_adjust_symtab): If explicit relocations, call the function + alpha_adjust_symtab. + (TC_FIX_TYPE): Add fields to be able to move explicit lituse + relocations next to the literal relocation they reference. + (TC_INIT_FIX_DATA): Initialize the new fields. + (TC_FIX_DATA_PRINT): Print the new fields if DEBUG5 is defined. + +Wed Nov 24 20:27:58 1999 Jeffrey A Law (law@cygnus.com) + + * config/tc-hppa.c (pa_ip): Handle PA2.0 unit completers. Handle + 'B' operand for PA2.0 bb instruction. + +1999-11-18 Nick Clifton <nickc@cygnus.com> + + * config/tc-mcore.h (TC_FORCE_RELOCATION): Define for Mcore-pe + target. + + * config/tc-mcore.c (tc_gen_reloc): Support generation of RVA + relocs. + (mcore_force_relocation): Force relocations to be generated for + RVA relocs. + +1999-11-16 Alan Modra <alan@spri.levels.unisa.edu.au> + + * config/tc-i386.c (i386_immediate): Disallow O_big immediates. + (i386_displacement): Disallow O_big displacements. + +Mon Nov 15 20:12:43 1999 Donald Lindsay <dlindsay@cygnus.com> + + * config/tc-arm.c (do_mia,do_mar,do_mra,do_pld,do_ldrl,do_co_reg): + Small improvements in error checking. + (md_assemble): Support for unconditional ARM instructions. + (md_parse_option): Support for -m[arm]v5e flag. + +1999-11-12 Nick Clifton <nickc@cygnus.com> + + * macro.c (buffer_and_nest): Do not check beyond the end of the + buffer. + +1999-11-11 Nick Clifton <nickc@cygnus.com> + + * macro.c (buffer_and_nest): Look for seperator after TO and + FROM tokens. + +1999-11-08 Andrew Haley <aph@cygnus.com> + + * app.c (do_scrub_chars): When in State 10, treat backslash + characters in the same way as as symbol characters. + +1999-11-07 Richard Henderson <rth@cygnus.com> + + * config/tc-alpha.c (alpha_align): Check, don't assert, that + the previous label was in the current section before playing + with auto-alignment. + +1999-11-06 Nick Clifton <nickc@cygnus.com> + + * config/tc-v850.c (v850_force_relocation): Force relocation + for weak symbols. + (v850_pcrel_from_selection): Do not compute a pcrel offset if + the symbol is weak. + +1999-11-05 Michael Meissner <meissner@cygnus.com> + + * expr.h (operatorT): Increase machine dependent operators to 16. + * expr.c (op_rank): Ditto. + +1999-11-03 Ian Lance Taylor <ian@zembu.com> + + * read.c (pseudo_set): Reject attempts to set the value of a + section symbol. + + * config/obj-elf.c (obj_elf_ident): Call md_flush_pending_output + if it is defined. + + * config/obj-elf.c (elf_set_index): Add ATTRIBUTE_UNUSED. + + * config/obj-elf.c (elf_frob_file_after_relocs): Don't pass NULL + to bfd_set_section_contents. + +1999-11-03 Nick Clifton <nickc@cygnus.com> + + * config/tc-mcore.h (TARGET_BYTES_BIG_ENDIAN): Change to false. + +1999-11-01 Gavin Romig-Koch <gavin@cygnus.com> + + * config/tc-mips.c (macro_build): Use OPCODE_IS_MEMBER. + (mips_ip): Use OPCODE_IS_MEMBER. + +Wed Oct 27 16:50:44 1999 Don Lindsay <dlindsay@cygnus.com> + + * config/tc-arm.c (reg_required_here): Improve comments. + + * config/tc-arm.c (thumb_opcode): Add "variants" field. + (tinsns): Initialize variants field. + + * config/tc-arm.c (bad_args, bad_pc): Renamed to BAD_ARGS and + BAD_PC respectively. + +1999-10-27 Scott Bambrough <scottb@netwinder.org> + + * config/tc-arm.c (reloc_map[]): Fix compiler warning. + * config/tc-arm.h: Fix compile time warnings. + +Mon Oct 18 18:11:10 MDT 1999 Diego Novillo <dnovillo@cygnus.com> + + * tc_d10v.c (find_opcode): Allow ATSIGN to match expressions of the + form @abs16, @(abs16) and @(abs16 + imm). + +1999-10-21 Gavin Romig-Koch <gavin@cygnus.com> + + * config/tc-mips.c (ISA_HAS_COPROC_DELAYS) : New. + (ISA_HAS_64_BIT_REGS) New. + (gpr_interlocks,md_begin,reg_needs_delay,append_insn, + mips_emit_delays,macro_build,load_register,load_addresss, + macro,macro2,mips_ip,s_cprestore,s_cpadd): Simplify + and/or use new ISA_xxx macros in expressions involving + ISA, particularly mips_opts.isa. + +1999-10-18 Michael Meissner <meissner@cygnus.com> + + * expr.h (operatorT): Add machine dependent operators md1..md8. + (expressionS): Make X_op 8 bits instead of 7. Add a X_md field + for the machine dependent operators to use. + + * expr.c (op_rank): Add machine dependent operators. + + * config/tc-alpha.c (O_pregister): Define as a machine dependent + operator. + (O_cpregister): Ditto. + (md_begin): Change X_op test that field is wide enough to use + O_max instead of O_alpha_max. + (cpu_types): Fill in missing initializer. + (alpha_num_macros): Make unsigned. + (md_assemble): Make opnamelen be size_t. + (md_apply_fix): Cast alpha_num_operands to int before testing. + (alpha_force_relocation): Ditto. + (alpha_fix_adjustable): Ditto. + (alpha_fix_adjustable): Mark unused arguments ATTRIBUTE_UNUSED. + (tc_gen_reloc): Ditto. + (tc_get_register): Ditto. + (emit_ldgp): Ditto. + (emit_lda): Ditto. + (emit_ldah): Ditto. + (emit_ldil): Ditto. + (s_alpha_ent): Ditto. + (s_alpha_end): Ditto. + (s_alpha_frame): Ditto. + (s_alpha_prologue): Ditto. + (s_alpha_file): Ditto. + (s_alpha_gprel32): Ditto. + (s_alpha_proc): Ditto. + (s_alpha_set): Ditto. + (s_alpha_base): Ditto. + (s_alpha_align): Ditto. + (s_alpha_arch): Ditto. + (alpha_align): Ditto. + (assemble_insn): Suppress unused variable warning. + (emit_insn): Ditto. + (assemble_insn): Don't assume X_op and X_unsigned are in a given + order in the structure. + (s_alpha_coff_wrapper): Avoid int/unsigned comparison. + +Sun Oct 17 17:15:58 1999 Jeffrey A Law (law@cygnus.com) + + * config/tc-hppa.c (md_apply_fix): Make "fmt" an int. + +1999-10-12 Alan Modra <alan@spri.levels.unisa.edu.au> + + * config/tc-i386.c (i386_index_check): Correct #endif location. + +Mon Oct 11 14:02:40 1999 Geoffrey Keating <geoffk@cygnus.com> + + * as.c (show_usage): Document new options. + (parse_args): Add --no-warn, --warn, --fatal-warnings, + which become 'W', OPTION_WARN, and OPTION_WARN_FATAL. + (parse_args): Parse the new options. + (main): If there were warnings, and --fatal-warnings + was specified, print an error. + * as.h: New variable, flag_fatal_warnings, for new option. + +Sun Oct 10 01:47:23 1999 Jerry Quinn <jerry.quinn.adv91@alum.dartmouth.org> + + * config/tc-hppa.c (pa_ip): Add new codes 'cc', 'cd', 'cC', 'co', + '@'. Change autoincrement completers to fall through to cache control + completers. + + * config/tc-hppa.c (pa_ip): Remove unused args. Add code to '?W' + arg. + (pa_parse_addb_64_cmpltr): New function. + + * config/tc-hppa.c (pa_ip): Change error message. + (pa_ip,pa_parse_cmpb_64_cmpltr,pa_parse_cmpib_64_cmpltr) Fix '?N' and + '?Q' args to allow falling through. + + * config/tc-hppa.c (pa_ip): Implement conditional codes "?N", "?Q". + Remove unused conditional codes. + (pa_parse_cmpb_64_cmpltr,pa_parse_cmpib_64_cmpltr): New. + +Thu Oct 7 00:23:53 MDT 1999 Diego Novillo <dnovillo@cygnus.com> + + * config/tc-d30v.c (CHAR_BIT): Define. + (check_range): Fix bit operations to support integers bigger than + 32 bits. + +Thu Oct 7 00:11:50 MDT 1999 Diego Novillo <dnovillo@cygnus.com> + + * config/tc-d10v.c (check_range): Check range for RESTRICTED_NUM3 + operands. + +Mon Oct 4 17:24:23 1999 Nick Clifton <nickc@cygnus.com> + Doug Evans <devans@cygnus.com> + + Add support for m32rx. + * config/tc-m32r.c (enable_m32rx): New static global. + (enable_special,warn_explicit_parallel_conflicts,optimize): Ditto. + (allow_m32rx): New function. + (M32R_SHORTOPTS): Add `O'. + (md_longopts): Add --m32rx plus several warning options. + (md_parse_option): Handle new options. + (md_show_usage): Print them. + (md_begin): Enable m32rx. + (OPERAND_IS_COND_BIT): New macro. + (first_writes_to_seconds_operands): New function. + (writes_to_pc,can_make_parallel,make_parallel): New functions. + (target_make_parallel,assemble_two_insns): New functions. + (md_assemble): Recognize "insn1 -> insn2" and "insn1 || insn2". + If optimizing and m32rx, try to make consecutive insns parallel. + +Tue Sep 28 14:06:44 1999 Geoffrey Keating <geoffk@cygnus.com> + + * config/tc-mips.c (nopic_need_relax): Allow for the + .sdata.foo sections generated by -fdata-sections, + and for the .gnu.linkonce.s sections generated by C++. + +Thu Sep 23 07:13:45 1999 Jerry Quinn <jquinn@nortelnetworks.com> + + * config/tc-hppa.c (pa_ip): Replace 'B', 'M', 'l' and 'g' handling + with cleaner code using completer prefixes. Add 'Y'. + + * config/tc-hppa.c (pa_ip): Add parens to silence compiler. + +Wed Sep 22 09:37:19 1999 Jeffrey A Law (law@cygnus.com) + + * config/tc-hppa.c (pa_ip): Avoid ANSI specific initialization. + (pa_ip, case 'm'): Failure to get a CBIT specifier just means the + insn does not match and we should try the next insn in the table. + +1999-09-22 Nick Clifton <nickc@cygnus.com> + + * config/tc-arm.c (MULTI_SET_PSR): Rename to LDM_TYPE_2_OR_3. + +Mon Sep 20 04:01:41 1999 Jeffrey A Law (law@cygnus.com) + + * config/tc-hppa.c (pa_ip): Fix thinkos in recent cleanup + of PA2.0 support. + +1999-09-19 Alexandre Oliva <oliva@lsd.ic.unicamp.br> + + * config/tc-i386.c (md_shortopts): Check OBJ_MAYBE_ELF as well as + OBJ_ELF. If ELF, add "sq". + (md_parse_option): If ELF, ignore -s and -q. + (md_show_usage): Mention ELF options. + +Sun Sep 19 10:43:31 1999 Jeffrey A Law (law@cygnus.com) + + * config/tc-hppa.c (pa_ip): Handle 'J', 'K' and 'cc' + operands. + + * config/tc-hppa.c (pa_ip); Handle "fe", and 'cJ'. + + * config/tc-hppa.c (pa_ip): Handle 'd', '#' and 'cq'. + + * config/tc-hppa.c (struct pa_it): New field "trunc". + (pa_ip): Hadnle 'h', 'm', '=', '{', and '_' operands. + (pa_parse_ftest_gfx_completer): New function + (pa_parse_fp_cnv_format): New function. + + * config/tc-hppa.c (pa_ip): Handle 'X' operand. + (md_apply_fix): Handle 22bit pc-rel branches. + + * config/tc-hppa.c (pa_ip): Handle 'B' operand. + + * config/tc-hppa.c (pa_ip): Handle 'L' and 'M' operands. + + * config/tc-hppa.c (pa_ip): Handle 'l' operand. + + * config/tc-hppa.c (pa_ip): Handle 'g' operand. + +Sat Sep 18 12:13:28 1999 Jeffrey A Law (law@cygnus.com) + + * config/tc-hppa.c (md_assemble): Fix dwarf2 line handling. + (pa_ip): Handle 'fX'. + +Fri Sep 17 11:57:34 1999 Jeffrey A Law (law@cygnus.com) + + * config/tc-hppa.c (pa_build_unwind_subspace): Do not build + unwinds unless the function is in the text space. + (pa_type_args): Set BSF_FUNCTION for an exproted data symbol. + +Wed Sep 15 05:14:32 1999 Jeffrey A Law (law@cygnus.com) + + * config/tc-hppa.c (pa_ip): Move dwarf2 stuff from here. + (md_assemble): To here. Tweak address generation. + + * config/tc-hppa.c: Include dwarf2dbg.h if OBJ_ELF. Declare + debug_line. + (md_pseudo_table): Add .file and .line pseudo-ops for OBJ_ELF. + (md_assemble): Call dwarf2_where for OBJ_ELF. + (pa_ip): Call dwarf2_gen_line_info for OBJ_ELF. + (pa_end_of_source): New function. + * tc-hppa.h (md_end): Define for OBJ_ELF. + +1999-09-14 Michael Meissner <meissner@cygnus.com> + + * configure.in (Canonicalization of target names): Remove adding + ${CONFIG_SHELL} in front of $ac_config_sub, since autoconfig 2.14 + generates $ac_config_sub with a ${CONFIG_SHELL} already. + * configure: Regenerate. + +1999-09-14 Donn Terry <donn@interix.com> + + * config/te-interix.h (GLOBAL_OFFSET_TABLE_NAME): Define. + +1999-09-13 Alan Modra <alan@spri.levels.unisa.edu.au> + + * config/tc-i386.c (md_assemble): Handle "jmp/call constant" as a + pc-relative jmp/call to an absolute symbol. + (md_apply_fix3): When OBJ_ELF, don't add the values in twice for + absolute section symbols. + + * config/tc-i386.c (md_assemble): Correct frag_var size. Tidy + jump handling code and comments. + +1999-09-12 Ian Lance Taylor <ian@zembu.com> + + * config/tc-i386.c (md_apply_fix3): Add horrible adjustments to + the value if TE_PE and a global defined symbol. + +1999-09-11 Ian Lance Taylor <ian@zembu.com> + + * write.c (dump_section_relocs): Call print_symbol_value_1 to + print the symbol, rather than printing it here. + +1999-09-11 Donn Terry <donn@interix.com> + + * config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust + BFD_RELOC_RVA relocations. + + * config/tc-i386.c (md_undefined_symbol): Compare the name against + the macro GLOBAL_OFFSET_TABLE_NAME, rather than assuming that it + starts with "_G". + + * write.c (write_relocs): Call SET_SECTION_RELOCS if it is + defined. + * config/obj-coff.h (SET_SECTION_RELOCS): Define. + * doc/internals.texi (Object format backend): Document + SET_SECTION_RELOCS. + + * config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust + relocations against global symbols if TE_PE. + + * config/obj-coff.c (obj_coff_ident): Add BFD_ASSEMBLER version. + (obj_pseudo_table): Always handle ".ident" with obj-coff_ident. + + * config/obj-coff.c (coff_frob_symbol): Prohibit weak common + symbols. + + * config/obj-coff.c (obj_coff_endef): Don't merge labels, or + symbols which do not have a constant value, or tags with + non-tags. Remove the symbol from the list before adding it at the + end. + + * config/obj-coff.c (obj_coff_endef) [BFD_ASSEMBLER]: Handle .ef + C_FCN symbol differently if TE_PE. + (obj_coff_line) [BFD_ASSEMBLER]: Always use the line number which + appears in the pseudo-op, rather coff_line_base which is only set + for a .bf symbol. + + * config/obj-coff.c (obj_coff_loc): New static function. + (obj_pseudo_table): Add "loc". + + * config/obj-coff.c (add_lineno): Check that the line number is + positive. + + * config/atof-ieee.c (atof_ieee): Change what_kind to int. + * config/atof-vax.c (flonum_gen2vax): Change format_letter to + int. + (md_atof): Return NULL rather than 0. + * config/tc-i386.c (md_atof): Change type to int. + * expr.c (expr): Change first parameter to int. + * config/obj-coff.c: Add declarations for static functions. + (coff_frob_symbol): Use SYM_AUXENT. + * config/tc-i386.h (flag_16bit_code): Don't declare. + + * config/obj-coff.c (obj_coff_section): Default to setting + SEC_LOAD. Don't set SEC_DATA for 'w' modifier. + + * write.c (adjust_reloc_syms): Print adjusted fixup. + + * expr.c (integer_constant): Correct too_many_digits calculation + in base 10 case. + +1999-09-09 Andreas Schwab <schwab@suse.de> + + * doc/c-arm.texi: Fix arguments of @var to not contain + punctuation. + +1999-09-08 Philip Blundell <pb@nexus.co.uk> + + * config/tc-arm.c (s_thumb_set): Only support interworking for ELF + and COFF targets. + (md_parse_option): Only support -k flag for ELF and COFF targets. + +Tue Sep 7 13:28:59 1999 Jeffrey A Law (law@cygnus.com) + + * config/tc-hppa.c (pa_ip): Put strict register checks before + call to pa_parse_number. + + * config/tc-hppa.c (pa_ip): Support 'Z' argument. + +1999-09-06 Ian Lance Taylor <ian@zembu.com> + + * config/obj-coff.c: Add ATTRIBUTE_UNUSED as needed for + BFD_ASSEMBLER code. + +1999-09-06 Donn Terry <donn@interix.com> + + * as.c (perform_an_assembly_pass): Set SEC_DATA for data_section. + +Mon Sep 6 04:26:56 1999 Jeffrey A Law (law@cygnus.com) + + * config/tc-hppa.c (pa_ip): Get strict/non-strict mode from the + candidate instruction. Require registers for register arguments + when in strict mode. Require assemble-time constants for + constants when in strict mode. + (pa_get_absolute_expression): Require a constant when in strict + mode. + +1999-09-06 Nick Clifton <nickc@cygnus.com> + + * config/tc-m32r.c (md_longopts): Fix value for -Wnuh. + +1999-09-04 Steve Chamberlain <sac@pobox.com> + + * config/tc-pj.c: New file, supports picoJava in ELF. + * config/tc-pj.h: Ditto. + * configure.in (pjl*, pj*): New targets. + * Makefile.am: Rebuild dependencies. + (CPU_TYPES): Add pj. + (TARGET_CPU_CFILES): Add config/tc-pj.c. + (TARGET_CPU_HFILES): Add config/tc-pj.h. + * doc/c-pj.texi: New file. + * doc/as.texinfo: Add some PJ specifics. + * doc/all.texi: Add PJ to the list of all architectures, sort them + all alphabetically. + * doc/Makefile.in (CPU_DOCS): Add c-pj.texi. + * configure, Makefile.in, doc/Makefile.in: Rebuild. + +1999-09-02 Alan Modra <alan@spri.levels.unisa.edu.au> + + * config/obj-multi.h: Include obj-elf.h if OBJ_MAYBE_ELF. Reformat. + (obj_frob_file): Test for null pointer. + (OBJ_COPY_SYMBOL_ATTRIBUTES): Here too. + (OBJ_PROCESS_STAB): And here. + (elf_obj_sy): Remove + + * config/obj-elf.h: #ifndef everything defined in obj-multi.h, + except OBJ_PROCESS_STAB, which we #undef for ecoff. + (elf_obj_sy): Remove #ifndef OBJ_SYMFIELD_TYPE. + + * config/obj-coff.c (no_func): Remove. + (coff_format_ops): Change occurrences of no_func to 0, as we test + for 0 in obj-multi.h. + + * configure.in: Enable bfd for i386-coff when primary target is + bfd. Enable i386 elf,coff emulation support. Don't set + USE_EMULATIONS=1 or te_file=multi unless there is more than one + emulation to support. + *configure: Regenerate. + +1999-09-02 Nick Clifton <nickc@cygnus.com> + + * config/tc-mcore.c (mcore_s_section): Do not dump literals if a + .section .line directive is encountered. + +1999-09-01 Nick Clifton <nickc@cygnus.com> + + * config/tc-arm.c (md_section_align): Do not align sections in ELF + format. + + * as.c (show_usage): Add --gdwarf2 to list of options displayed. + * as.texinfo: Document --gdwarf2 command line option. + Add additional documentation of ARM command line switches. + +1999-08-30 Alan Modra <alan@spri.levels.unisa.edu.au> + + * config/tc-i386.c (i386_intel_memory_operand): Combine + i386_is_reg and parse_register calls. Remove END_STRING_AND_SAVE + and RESTORE_END_STRING around parse_register calls. + (i386_operand): Here too. + (i386_is_reg): Remove. + (parse_register): Move as_bad calls from within this function to + callers. + +1999-08-29 Alan Modra <alan@spri.levels.unisa.edu.au> + + Based on a patch from H.J. Lu <hjl@gnu.org> + * config/tc-i386.c (parse_register): Handle FP regs specially. + (md_begin): Remove '(' and ')' from register_chars. + +1999-08-29 Doug Evans <devans@casey.cygnus.com> + + * config/tc-m32r.c (md_parse_option): Delete unrecognized option + error message (done elsewhere). + +Sat Aug 28 01:23:11 1999 Jeffrey A Law (law@cygnus.com) + + * config/tc-hppa.c (pa_ip): Do not allow '*' in 32bit completers. + +Sat Aug 28 00:26:26 1999 Jerry Quinn <jquinn@nortelnetworks.com> + + * config/tc-hppa.c (pa_ip): Replace 'f' by 'v'. Prefix float register + args by 'f'. + + * config/tc-hppa.c (pa_ip): Add args q, %, and |. + + * config/tc-hppa.c (pa_ip): Absorb white space in instructions + between args. + Add new completers. Fix bug in 64 bit condition handling. + + * config/tc-hppa.c (pa_ip): Add completer codes 'a', 'ch', 'cH', + 'cS', and 'c*'. + + * config/tc-hppa.c (pa_ip): Place completers behind prefix 'c'. + + * config/tc-hppa.c (pa_ip): Add cases for '.', '~'. '$'. and '!' + + * config/tc-hppa.c (pa_ip): Add case for 'I'. + +1999-08-27 Jim Wilson <wilson@cygnus.com> + + * dwarf2dbg.c (MAX_SPECIAL_ADDR_DELTA): Correct typo in comment. + (struct ls): Add frag field. Initialize it to zero. + (out_end_sequence): New local text_frag. Set it while in text section. + Replace address check with frag check. Set ls.frag to text_frag if + out_set_addr called. + (dwarf2_gen_line_info): Add explanatory comment. New local saved_frag. + Set it before switching sections. Replace address check with frag + check. Set ls.frag to saved_frag if out_set_addr called. + +1999-08-26 David Mosberger <davidm@hpl.hp.com> + + * dwarf2dbg.c (out_end_sequence): If address changed, directly + output "advance_pc" opcode instead of calling gen_addr_line(). + The latter has the undesired side-effect of creating a new row + in the debug line info matrix. + +1999-08-26 Jim Wilson <wilson@cygnus.com> + + * dwarf2dbg.c (out_end_sequence): Correct comments. Set last to + ls.last_filename if last is less than zero. Set ls.last_filename + when allocating new entry. + (dwarf2_gen_line_info): Save seg and subseg info before subseg_new + call. + +1999-08-20 Alan Modra <alan@spri.levels.unisa.edu.au> + + * config/tc-i386.c (i386_index_check): Fix the displacement size + when INFER_ADDR_PREFIX. + +1999-08-18 Nick Clifton <nickc@cygnus.com> + + * config/tc-arm.c (md_apply_fix3): If an offset is invalid, + display its value. + +1999-08-17 Ian Lance Taylor <ian@zembu.com> + + * config/tc-ppc.c (md_assemble): Trim @ha constant to 16 bits, to + handle 0xffffNNNN constants correctly. + +1999-08-16 Nick Clifton <nickc@cygnus.com> + + * config/tc-arm.c (do_ldst): Look for register conflicts on stores + as well as loads. + +1999-08-13 Nick Clifton <nickc@cygnus.com> + + * config/tc-arm.c (validate_offset_imm): Work on unsigned values. + (md_apply_fix3): Always pass positive values to + validate_offset_imm. + +1999-08-12 Nick Clifton <nickc@cygnus.com> + + * config/tc-arm.c (skip_whitespace): New macro. + Formatting tidy ups. + + (md_apply_fix3): Store relocation offset in addend for ELF based + relocs. + (arm_force_relocation): Always generate relocs for Thumb function + calls. + +1999-08-11 Alan Modra <alan@spri.levels.unisa.edu.au> + + * config/tc-i386.c (md_assemble): Remove dead code. intel_syntax + LONG_DOUBLE_MNEM_SUFFIX floating point is done in opcode/i386.h + +Tue Aug 10 12:58:31 1999 Jeffrey A Law (law@cygnus.com) + + * config/tc-hppa.c (pa_build_unwind_subspace): Use sane section + flags for the unwind subspace. + + * config/tc-hppa.c (UNWIND_SECTION_NAME): Define for ELF. + (pa_build_unwind_subspace): Remove #if 0 wrapper. Select a + suitable relocation based on the size of the target's pointer. + Always Use subsegment zero for the unwinders. + (pa_level): Handle "2.0w". + +Mon Aug 9 20:02:22 1999 J"orn Rennecke <amylaar@cygnus.co.uk> + + * config/tc-d30v.c (write_2_short): Don't group repeat instructions + with the following instruction unless this was specified. + +1999-08-09 Ian Lance Taylor <ian@zembu.com> + + * config/tc-i386.h (SUB_SEGMENT_ALIGN): If TE_GO32, return 4 for + certain sections, to match BFD changes. + +1999-08-08 Mumit Khan <khan@xraylith.wisc.edu> + + * Makefile.am (noinst_SCRIPTS): Change .gdbinit to $(GDBINIT). + (EXTRA_SCRIPTS): Define to keep automake happy. + * Makefile.in: Rebuild. + +1999-08-08 Ian Lance Taylor <ian@zembu.com> + + * Makefile.am: Rename .dep* files to DEP*. + (MKDEP): Rename from DEP. Change all uses. Use $${srcdir} rather + than $(srcdir). Rename TCDEP targets to DEPTC. Rename OBJDEP + targets to DEPOBJ. + * Makefile.in: Rebuild. + +1999-08-08 Jakub Jelinek <jj@ultra.linux.cz> + + * config/tc-sparc.c (sparc_ip): Allow assembly of %lo()+%reg. + +1999-08-08 Ian Lance Taylor <ian@zembu.com> + + * Makefile.am: Change all uses of itbl-test-ops to itbl-tops to + avoid problems on DOS filesystems. + * Makefile.in: Rebuild. + + * doc/as.texinfo (Section): Document 's' flag for COFF version. + +1999-08-08 Mumit Khan <khan@xraylith.wisc.edu> + + * config/obj-coff.c (obj_coff_section): Handle 's' (shared) + section flag. + +1999-08-08 Ian Lance Taylor <ian@zembu.com> + + * configure.in: Define and substitute GDBINIT. Change AC_OUTPUT + line to create ${GDBINIT} rather than .gdbinit. + * configure, Makefile.in, doc/Makefile.in: Rebuild. + +Fri Aug 6 12:12:44 1999 Jeffrey A Law (law@cygnus.com) + + * config/tc-hppa.c (pa_ip, case '?'): Add missing break. + +Fri Aug 6 09:46:35 1999 Jerry Quinn <jquinn@nortelnetworks.com> + + * config/tc-hppa.c (pa_ip): Add 64 bit condition completers. + +1999-08-06 Jakub Jelinek <jj@ultra.linux.cz> + + * config/tc-sparc.h (tc_fix_adjustable): Fix check for PIC local + non-adjustable symbols. + +Thu Aug 5 16:52:51 1999 Jerry Quinn <jquinn@nortelnetworks.com> + + * config/tc-hppa.c (pa_ip): Change condition args to have '?' prefix. + +Thu Aug 5 23:05:56 1999 J"orn Rennecke <amylaar@cygnus.co.uk> + + * config/tc-sh.c (md_assemble): Call as_bad when there are excess + operands. + +1999-08-05 Donn Terry <donn@interix.com> + + * config/te-interix.h: New file. + * configure.in (i386-*-interix*): New target. + * configure: Rebuild. + +Wed Aug 4 13:12:17 1999 Jeffrey A Law (law@cygnus.com) + + * config/tc-hppa.c (pa_chk_field_selector): Allow 3 byte + selectors for ELF too. + (selector_table): Add "ltp" and "rtp" selectors. + +1999-08-04 Alan Modra <alan@spri.levels.unisa.edu.au> + + * config/tc-i386.c (i386_operand): No need to change + operand_string pointer in segment reg case before goto + do_memory_reference. Initialise displacement_string_start and + displacement_string_end after do_memory_reference label. + (i386_index_check): Add operand_string param, and print error + message on failure here. + (i386_intel_memory_operand): Instead of here. + (i386_operand): And here. + (INFER_ADDR_PREFIX): Enable. + + * doc/c-i386.texi (i386-16bit): Document .code16gcc. + + * config/tc-i386.h (DefaultSize): Define. Renumber following + opcode_modifier defines. + + From Etienne Lorrain <etienne.lorrain@ibm.net> + * config/tc-i386.c (stackop_size): New variable. + (set_16bit_code_flag): Clear it here. + (set_16bit_gcc_code_flag): New function. + (md_pseudo_table): Add "code16gcc" entry. + (md_assemble): Set i.suffix for insns with DefaultSize modifier. + +1999-08-03 Ian Lance Taylor <ian@zembu.com> + + * config/obj-coff.c (coff_frob_symbol): Always update set_end with + next_set_end even if the end symbol is being discarded. + + * gasp.c: Add ATTRIBUTE_UNUSED as needed for non-BFD_ASSEMBLER. + * output-file.c, symbols.c, config/tc-i386.c: Likewise. + * config/obj-coff.c: Likewise. + (seg_info_type): Remove. + (seg_info_off_by_4): Change to array of segT. + (s_get_segment): Adjust accordingly. + (obj_pseudo_table): Fully initialize sentinel entry. + + * config/tc-mips.c (append_insn): Correct INSN_SYNC test. From + Ralf Baechle <ralf@uni-koblenz.de>. + +1999-08-03 Etienne Lorrain <etienne.lorrain@ibm.net> + + * config/tc-i386.c (f16_3): New. Fixes 16 bit 3 byte nop. + +1999-08-03 Alan Modra <alan@spri.levels.unisa.edu.au> + + * config/tc-i386.c: Indentation and white space changes. + (i386_index_check): New function. Add INFER_ADDR_PREFIX code, but + don't enable it by default. + (i386_intel_operand): Remove redundant prototype. + Move check on number of memory operands, and i.mem_operands++ + (i386_intel_memory_operand): To here. + Remove i386_immediate code from here. Remove special case code + for input and output using (%dx). Remove base/index checks and + call i386_index_check instead. Save initial operand_string + argument for error message. + (i386_operand): Remove redundant prototype. Move base/index + checks to i386_index_check. + (i386_displacement): Move intel mode check for non-zero + i.disp_operand + (i386_intel_memory_operand): To here. + +1999-07-30 Jakub Jelinek <jj@ultra.linux.cz> + + * config/tc-sparc.c (md_longopts): Add --no-undeclared-regs option. + (sparc_ip): Warn if %g2 or %g3 register is used and not covered + by .register pseudo-op if -64 and --no-undeclared-regs. + (s_register, sparc_adjust_symtab): New functions. + * config/tc-sparc.h (tc_adjust_symtab, sparc_adjust_symtab): + Declare sparc_adjust_symtab as tc_adjust_symtab. + * doc/c-sparc.texi: Add description of #ignore special literal + for .register pseudo-op. + +1999-07-30 Catherine Moore <clm@cygnus.com> + + * config/tc-arm.c (tc_gen_reloc): Record the vtable entry in + the relocation's section offset. + +1999-07-29 Alan Modra <alan@spri.levels.unisa.edu.au> + + * write.c (fixup_segment): Fix generic error check overflow test. + + * config/tc-i386.c (pe): Change %d to %ld, %x to %lx, and cast + X_add_number to long. + +Wed Jul 28 02:04:24 1999 "Jerry Quinn" <jquinn@nortelnetworks.com> + + * config/tc-hppa.c (pa_ip): Add 'J' and 'K' code + processing. + +1999-07-27 Ian Lance Taylor <ian@zembu.com> + + * config/tc-sparc.h (tc_fix_adjustable): Don't adjust GOT, PLT, or + VTABLE relocations. + +1999-07-21 Mark Elbrecht <snowball3@bigfoot.com> + + * config/te-go32.h (COFF_LONG_SECTION_NAMES): Define. + + * configure.bat: Remove; obsolete. + * config/go32.cfg: Likewise. + +1999-07-21 Brad M. Garcia <bgarcia@fore.com> + + * configure.in (i386-*-vxworks*): New target. + * configure: Rebuild. + +1999-07-16 Jakub Jelinek <jj@ultra.linux.cz> + + * doc/c-sparc.texi: Document .register and .nword pseudo-ops. + +1999-07-16 Jakub Jelinek <jj@ultra.linux.cz> + + * config/tc-sparc.c (sparc_ip): Allow OLO10 relocations + on -64 and not pic. + (output_insn): Put OLO10's secondary addend into tc_fix_data. + (md_apply_fix3): Handle BFD_RELOC_SPARC_OLO10. + (tc_gen_reloc): Return two relocs for OLO10, LO10 and SPARC13. + * config/tc-sparc.h (RELOC_EXPANSION_POSSIBLE, + MAX_RELOC_EXPANSION): Define. + (TC_FIX_TYPE, TC_INIT_FIX_DATA, TC_FIX_DATA_PRINT): Likewise. + +1999-07-16 Alan Modra <alan@spri.levels.unisa.edu.au> + + * config/tc-i386.c (intel_float_operand): Add prototype, make static. + (md_assemble): Localize *exp variable to if (fake_zero_displacement) + block. Print a warning if an 8-bit or 16-bit constant + displacement or immediate is truncated on output. + (i386_immediate): Ensure Imm16 is always legal for a 16-bit mode + immediate. + (i386_operand): Disallow immediate jump absolute operand. + +1999-07-15 Ian Lance Taylor <ian@zembu.com> + + * configure.in: Bump version number to 2.9.5. + * configure: Rebuild. + + * dwarf2dbg.c (dwarf2_gen_line_info): Don't assume that long long + or %llx work. + +Thu Jul 15 02:45:30 1999 Jeffrey A Law (law@cygnus.com) + + * config/tc-hppa.c (md_pseudo_table): Add ".dword" pseudo-op. + (cons_fix_new_hppa): Derive size of fixup from size of the object. + +1999-07-14 Philip Blundell <pb@nexus.co.uk> + + * symbols.c (dollar_label_name): Prepend LOCAL_LABEL_PREFIX if it + is defined. + * config/tc-arm.h (LOCAL_LABEL_PREFIX): Define to '.' for ELF. + + * config/tc-arm.c (md_begin): Set F_SOFTFLOAT in the output file + if -mno-fpu was given. + (tc_gen_reloc): Fix typo. Delete bogus code related to GOTPC + relocs. + (cons_fix_new_arm): Remove misleading comments. + +1999-07-14 Ian Lance Taylor <ian@zembu.com> + + * write.c (cvt_frag_to_fill): Use frag file and line in rs_org + error message. + (relax_segment): Likewise. After giving a rs_org error, convert + the frag to rs_align to avoid cascading errors. + +1999-07-12 Andreas Schwab <schwab@suse.de> + + * config/tc-m68k.c: Add some ATTRIBUTE_UNUSED. + +1999-07-11 Ian Lance Taylor <ian@zembu.com> + + * Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSED + as appropriate. Fill in structure initializations. Add variable + initializations. Add casts. + * dwarf2dbg.c (print_stats): Change i to size_t. + * listing.c (listing_listing): Change list_line to unsigned int. + +1999-07-10 Ian Lance Taylor <ian@zembu.com> + + * config/tc-ppc.h (tc_fix_adjustable) [OBJ_ELF]: Call S_IS_LOCAL + rather than checking for \001 and \002 in symbol name. + * config/tc-sparc.h (tc_fix_adjustable) [OBJ_ELF]: Likewise. + +Thu Jul 8 12:32:23 1999 John David Anglin <dave@hiauly1.hia.nrc.ca> + + * configure.in (hppa*-linux-gnu*): New target. + * configure: Rebuilt. + +1999-07-08 Nick Clifton <nickc@cygnus.com> + + * doc/c-arm.texi (ARM Directives): Document .thumb_set directive. + +1999-07-07 Nick Clifton <nickc@cygnus.com> + + * config/tc-v850.c (v850_comm): Use symbol_get_obj() rather than + accessing symbolP directly. + +Tue Jul 6 10:41:42 1999 Jeffrey A Law (law@cygnus.com) + + * config/tc-hppa.h (tc_frob_symbol): Always punt "$global$" symbol + for ELF. + +1999-07-05 Nick Clifton <nickc@cygnus.com> + + * config/tc-arm.c (ARM_EXT_V5): Define. + (ARM_ARCH_V5, ARM_ARCH_V5T): Define. + (md_begin): Detect ARM v5 architectures. + (md_parse_option): Accept arm v5 specification. + (md_show_usage): Documment -marmv5 switch. + + * doc/c-arm.texi: Document -marmv5 command line option. + + * config/tc-arm.c (do_adrl): New function. Implement ADRL pseudo + op. + (validate_immediate_twopart): New function. Determine if a + constant can be computed by two ADD instructions. + (output_inst): Remove its command line parameter - it was never + used. + (md_apply_fix3): Support BFD_RELOC_ARM_ADRL_IMMEDIATE, used to + implememt the ADRL pseudo op. + (tc_gen_reloc): Generate a suitable error message if an ADRL + instruction tries to generate a real reloc. + + * doc/c-arm.texi: Document NOP, ADR and ADRL pseudo ops. + +Thu Jul 1 15:33:10 1999 Jeffrey A Law (law@cygnus.com) + + * config/tc-hppa.c (pa_ip): Convert the opcode and all completers + into lower case. + +1999-06-27 H.J. Lu <hjl@gnu.org> + + * subsegs.c (subseg_text_p): Use 1/0 instead of true/false for + non BFD_ASSEMBLER case. + +1999-06-26 Mumit Khan <khan@xraylith.wisc.edu> + + * config/obj-coff.c (obj_coff_section): Mark writable sections as + data. + +1999-06-26 David Mosberger <davidm@hpl.hp.com> + + * dwarf2dbg.c (dwarf2_gen_line_info): Don't call + out_end_sequence() when the address decreases due to a new frag. + (gen_dir_list): Set ls.file[i].dir to j + 1 (not j) because file + numbering starts with 1. + +1999-06-23 Nick Clifton <nickc@cygnus.com> + + * config/tc-mcore.c (md_pseudo_table): Add .comm for ELF and allow + .section for COFF. + (mcore_s_text): Call obj_elf_text for ELF target. + (mcore_s_data): Call obj_elf_data for ELF target. + (mcore_s_section): No longer ELF specific. Call obj_coff_section + for COFF target. + (mcore_s_bss): New function: Dump literal table before changing + sections. + (mcore_s_comm): New function: Dump literal table before changing + sections. + + * config/obj-elf.c (obj_elf_common, obj_elf_data, obj_elf_text): + No longer static functions. + * config/obj-elf.h (obj_elf_common, obj_elf_data, obj_elf_text): + Provide prototypes for these functions. + +1999-06-22 Ian Lance Taylor <ian@zembu.com> + + * subsegs.c (subseg_text_p): Rewrite non BFD_ASSEMBLER case to use + a list of names, to try obj_segment_name, and to try abbreviated + names when using COFF without long section names. + + * config/tc-alpha.c: More use of symbol accessor functions. + * config/tc-arc.c: Likewise. + * config/tc-d30v.c: Likewise. + * config/tc-fr30.c: Likewise. + * config/tc-i860.c: Likewise. + * config/tc-m88k.c: Likewise. + * config/tc-mcore.c: Likewise. + * config/tc-ns32k.c: Likewise. + * config/tc-sparc.c: Likewise. + * config/tc-v850.c: Likewise. + + * config/tc-arc.c (get_arc_exp_reloc_type): Change uses of + sy_value with appropriate accessor functions. + * config/tc-arm.c (md_apply_fix3): Likewise. + * config/tc-d10v.c (AT_WORD_P): Likewise. + * config/tc-v850.c (reg_name_search): Likewise. + + * config/obj-ecoff.c (obj_ecoff_set_ext): Change uses of bsym to + use symbol_get_bfdsym instead. + * config/tc-ppc.c (md_assemble): Likewise. + * config/tc-v850.c (v850_comm): Likewise. + +1999-06-22 Jonathan Larmour <jlarmour@cygnus.co.uk> + + * config/tc-arc.c (tc_gen_reloc): Use symbol_get_bfdsym to get at + the symbol, rather than accessing the bsym member. + * config/tc-d10v.c (tc_gen_reloc): Likewise. + * config/tc-d30v.c (tc_gen_reloc): Likewise. + * config/tc-mcore.c (tc_gen_reloc): Likewise. + * config/tc-mn10200.c (tc_gen_reloc): Likewise. + * config/tc-mn10300.c (tc_gen_reloc): Likewise. + * config/tc-ns32k.c (tc_gen_reloc): Likewise. + * config/tc-tic30.c (tc_gen_reloc): Likewise. + * config/tc-v850.c (tc_gen_reloc): Likewise. + +Mon Jun 21 16:45:19 1999 Jeffrey A Law (law@cygnus.com) + + * tc-hppa.c (elf_hppa_reloc_type): Renamed from elf32_hppa_reloc_type. + (hppa_gen_reloc_type): Conditionalize on BFD64. + (tc_gen_reloc): Re-enable ELF relocations. + * tc-hppa.h (TARGET_FORMAT): Handle elf64-hppa format. + +1999-06-21 Ian Lance Taylor <ian@zembu.com> + + * config/tc-arm.c (ldst_extend): Add parentheses to avoid + warning. + (do_ldst): Move assignment out of if condition. + (md_apply_fix3): Add casts to avoid printf format warnings. Add + parentheses to avoid warning. + +1999-06-21 Nick Clifton <nickc@cygnus.com> + + * config/tc-arm.c (arm_adjust_symtab): Use symbol_get_bfdsym() + macro to get at the BFD symbol associated with a GAS symbol. + +1999-06-19 Ian Lance Taylor <ian@zembu.com> + + * config/tc-ppc.c: Update for symbol handling changes. + * config/obj-coff.c: Likewise. + +Fri Jun 18 14:34:18 1999 Jeffrey A Law (law@cygnus.com) + + * tc-hppa.c: General cleanups of ELF support. No more spaces + and subspaces for ELF. + (GDB_DEBUG_SPACE_NAME): Delete definition for ELF. + (GDB_STRINGS_SUBSPACE_NAME): Likewise. + (GDB_SYMBOLS_SUBSPACE_NAME): Likewise + (UNWIND_SECTION_NAME): Likewise. + (space/subspace related structures): Conditionalize definitions + on OBJ_SOM. + (space/subspace directives and support routines): Conditionalize + definitions and references/uses on OBJ_SOM. + (label_symbol_struct): For ELF, track the symbol's segment. For + SOM track its space. + (pa_define_label, pa_undefine_label, pa_get_label): Corresponding + changes. + (USE_ALIASES): Kill for both SOM & ELF. + (pa_def_subspaces, pa_def_spaces): Corresponding changes. + (pa_space, pa_subspace): Corresponding changes. + (pa_spaces_begin): Corresponding chagnes. + (md_begin): Do not muck around with space/subspace stuff for + OBJ_ELF. + (md_apply_fix): Temporarily disable argument relocation stuff + for OBJ_ELF. + (tc_gen_reloc): Temporarily disable relocation generation for + OBJ_ELF + (pa_build_unwind_subspace): Similarly. + +1999-06-16 Nick Clifton <nickc@cygnus.com> + + * config/tc-arm.c (thumb_set): New pseudo op. + (text, data, section): Override these pseudo ops with ARM + specific versions. + (s_thumb_set): New function: Perform the same as a .set pseudo + op, but also mark the alias'ed symbol as being a Thumb + function. + (arm_s_text): New function: Perform the same as the .text + pseudo op, but dump the literal pool before changing + sections. + (arm_s_data): New function: Perform the same as the .data + pseudo op, but dump the literal pool before changing + sections. + (arm_s_section): New function: Perform the same as the + .section pseudo op, but dump the literal pool before changing + sections. + (arm_cleanup): Do not reset the current section before dumping + the literal pool. + +1999-06-17 Nick Clifton <nickc@cygnus.com> + + * config/tc-m32r.c (md_longopts): Fix OPTION_WARN_UNMATCHED and + OPTION_NO_WARN_UNMATCHED entries. + (md_parse_option): Generate a warning message if an unrecognised + option is encountered. + + * config/tc-d10v.c (do_not_ignore_hash): New variable. + (get_operands): When parsing an expression after an '@' symbol + has been detected, do not ignore '#' symbols. + (md_operand): Only ignore '#' symbols if do_not_ignore_hash is + false. + +1999-06-13 Ian Lance Taylor <ian@zembu.com> + + From K. Richard Pixley <rich@noir.com>: + * configure.in (ppc-*-vxworks*): New target. + * configure: Rebuild. + +1999-06-12 Philip Blundell <philb@gnu.org> + + * config/tc-arm.c (tc_gen_reloc): Fix handling of GOTPC relocs. + +1999-06-13 Ian Lance Taylor <ian@zembu.com> + + * write.c (adjust_reloc_syms): Rather than never reducing reloc + which refer to symbols in linkonce sections, permit reducing the + relocs if the symbol is local. + +1999-06-12 Ian Lance Taylor <ian@zembu.com> + + * subsegs.c (subseg_text_p): New function. + * as.h (subseg_text_p): Declare. + * read.c (do_align): Use subseg_text_p to set the default fill. + * write.c (subsegs_finish): Likewise. + * config/obj-coff.c (write_object_file): Likewise. + * config/tc-i386.h (md_maybe_text): Don't define. + (md_do_align): Use subseg_text_p to set the default fill. + * config/tc-m32r.c (m32r_do_align): Likewise. + * config/tc-sh.c (sh_do_align): Likewise. + * config/tc-sparc.h (md_do_align): Likewise. + +1999-06-12 David O'Brien <obrien@freebsd.org> + + * configure.in: (i[3456]86-*-freebsd*): Now defaults to ELF. + * configure: Rebuild. + +1999-06-12 Ian Lance Taylor <ian@zembu.com> + + * dwarf2dbg.c: Include elf/dwarf2.h with "", not <>. + * Makefile.am: Rebuild dependencies. + * Makefile.in: Rebuild. + + * config/tc-i386.c (i386_immediate): Remove unused label + seg_unimplemented. + + * struc-symbol.h: Put local_symbol code in ifdef BFD_ASSEMBLER. + * symbols.c: Likewise. + * config/obj-aout.c (obj_crawl_symbol_chain): Refer directly to + sy_next field when taking address, rather than symbol_next. + + * dwarf2dbg.c: Change bfd_vma to addressT and bfd_signed_vma to + offsetT. + (out_set_addr): Don't use BYTES_PER_ADDRESS. Instead, get the + value from the output file architecture. + (dwarf2_gen_line_info): Ifdef BFD_ASSEMBLER specific code. + * dwarf2dbg.h: Change bfd_vma to addressT. + +1999-06-11 Ian Lance Taylor <ian@zembu.com> + + * dwarf2dbg.h: Use PARAMS in function declarations. + +1999-06-11 Martin Dorey <mdorey@madge.com> + + * write.c (fixup_segment): Don't add symbol value for i960 ELF. + * config/tc-i960.c (s_leafproc): Don't call tc_set_bal_of_cal if + OBJ_ELF. + (md_apply_fix): Simplify BFD_ASSEMBLER handling. + +1999-06-11 Ian Lance Taylor <ian@zembu.com> + + * config/tc-i386.c (md_apply_fix3): Add default case to switch. + + * config/tc-sparc.c (md_pseudo_table): Remove pushsection and + popsection. + + * config/tc-sparc.c (sparc_ip): Add default case to reloc switch. + + * read.c (read_a_source_file): Only declare inescape if + QUOTES_IN_INSN. + + * itbl-ops.c (itbl_disassemble): Change sprintf format strings to + match parameters. + (find_entry_byval): Add parens to avoid warning. + + * as.c: If HAVE_ITBL_CPU, include "itbl-ops.h". + + * symbols.c (resolve_symbol_value): Don't permit subtraction of + undefined symbols. + +1999-06-10 Jakub Jelinek <jj@ultra.linux.cz> + + * config/tc-sparc.c (sparc_ip): Don't use side-effect expression + with isoctal. + + * config/tc-sparc.c (synthetize_setuw, synthetize_setsw, + synthetize_setx): New functions. + (md_assemble): Broken the special cases into the above + functions. Make compiler happy if sizeof(bfd_vma)==4. + Fix sethi generated from set/setuw. If instructions have a relloc, + always clear the fields to be relocated in the opcode. + (sparc_ip): Remove special_case global variable. + +1999-06-10 Ian Lance Taylor <ian@zembu.com> + + Based on patches from John W. Woznack <jwoznack@concentric.net>: + * itbl-ops.c (itbl_get_reg_val): Add pval parameter. Return + indication of success rather than a value. + (itbl_get_val): Likewise. + (itbl_get_field): Use strcspn. Change delimiters to include + parens. + * itbl-ops.h (itbl_get_reg_val): Update declaration. + (itbl_get_val): Likewise. + * config/tc-mips.c (mips_ip): Update call to itbl_get_reg_val. + + * symbols.c (copy_symbol_attributes): Convert local symbols to + regular symbols. + +1999-06-10 Nick Clifton <nickc@cygnus.com> + + * config/tc-arm.c (md_parse_option): Add support for ARM920 and + ARM920t. + +1999-06-07 Jakub Jelinek <jj@ultra.linux.cz> + + * config/tc-sparc.c (md_assemble): Fix up setx, support setsw. + Optimize set if sizeof(bfd_vma) == 64. + (sparc_ip): Fix sethi - without %hi() it should generate + R_SPARC_22 reloc, not R_SPARC_HI22. + (tc_gen_reloc): Handle BFD_RELOC_SPARC22. + +1999-06-07 Jakub Jelinek <jj@ultra.linux.cz> + + * config/tc-sparc.c (md_begin): Handle native wordsize aliases. + (s_ncons): New function. + (native_op_table): New table. + (sparc_ip): Be more strict on %hi() etc.; prepare assembler for + R_SPARC_OLO10 handling. + +Mon Jun 7 10:22:16 1999 Richard Henderson <rth@cygnus.com> + + * expr.h (struct expressionS): Revert last change; widen X_op. + * config/tc-alpha.c (md_begin): Check the field is wide enough. + +Mon Jun 7 11:25:16 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> + + * Makefile.am (TARGET_CPU_CFILES): Add config/tc-fr30.c. + (TARGET_CPU_HFILES): Add config/tc-fr30.h. + (TARG_ENV_HFILES): Add config/te-epoc-pe.h. + * Makefile.in: Regenerated. + + * config/obj-elf.c (obj_elf_common): In MRI mode if called as + `common' pass on to s_mri_common. + (elf_pseudo_table): Pass 1 to obj_elf_common for `common'. + +1999-06-06 Richard Henderson <rth@cygnus.com> + + * config/obj-elf.c (obj_elf_section): Don't free the return + value of demand_copy_C_string. + +1999-06-05 Richard Henderson <rth@cygnus.com> + + * dwarf2dbg.c (dwarf2_gen_line_info): Mirror the section symbol + creation logic from obj_elf_create_section. + + * config/obj-elf.c (elf_pseudo_tab): Add pushsection/popsection. + (section_stack): New. + (special_sections): Make const. + (obj_elf_section): Gut and rewrite parsing. + (obj_elf_change_section): New function broken out of obj_elf_section. + (obj_elf_parse_section_letters): Likewise. + (obj_elf_section_word): Likewise. + (obj_elf_section_type): Likewise. + (obj_elf_previous): Treat as a toggle. + (obj_elf_popsection): New. + * config/tc-ppc.c (ppc_section_word): Take str+len not ptr_str. + (ppc_section_type): Likewise. + * config/tc-ppc.h: Likewise. + + * expr.h (struct expressionS): Don't make X_op a bitfield. + * config/tc-alpha.c: Update for symbol handling changes. + (md_apply_fix) [case GPREL]: Use now_seg instead of absolute_section. + (load_expression, emit_ir_load, emit_loadstore, emit_jsrjmp): Likewise. + +1999-06-05 Richard Henderson <rth@cygnus.com> + + * dwarf2dbg.c (*): Convert to K&R + prototypes. + (dwarf2_gen_line_info): Kill unused variables. + (dwarf2_finish): Likewise. + (dwarf2_where): Likewise. + (dwarf2_directive_file): If we've only got a string, + hand off to s_app_file. + * ecoff.c: Move the include of ecoff.h. + * symbols.h (S_IS_FUNCTION): Prototype. + + * read.c (LEX_HASH): Supply a default. + (lex_type): Use it. + (s_globl): Update `c' after skipping whitespace. + * read.h (LEX_END_NAME, is_name_ender): New. + * expr.c (get_symbol_end): Respect it. + +1999-06-04 Mark Klein <mklein@dis.com> + + * config/tc-hppa.c (md_begin): Convert local symbol dummy_symbol + to real if OBJ_SOM + (tc_gen_reloc): Still need bfd_abs_symbol in some relocs. + + * config/tc-hppa.c: Update for symbol handling changes. + +1999-06-03 Ian Lance Taylor <ian@zembu.com> + + * cgen.c: Update for symbol handling changes. + * config/tc-m32r.c: Likewise. + + * config/tc-hppa.h: Update for symbol handling changes. + * config/tc-hppa.c: Likewise. + + * config/tc-arm.h: Update for symbol handling changes. + * config/tc-arm.c: Likewise. + (symbol_make_empty): Remove. Just use symbol_create. + + * symbols.c (symbol_set_tc): Correct name. + + * Makefile.am: Rebuild dependencies. + ($(OBJS)): Don't depend upon struc-symbol.h. + (.dep1, .tcdep, .objdep): Create itbl-parse.h. + * dep-in.sed: Don't remove struc-symbol.h. + * Makefile.in: Rebuild. + + * doc/internals.texi (Symbols): Describe changes in symbol + handling. + +1999-06-03 Richard Henderson <rth@cygnus.com> + + * dwarf2dbg.c (dwarf2_gen_line_info): Use section_symbol + instead of doing the work by hand. + +1999-06-03 David Mosberger <davidm@hpl.hp.com> + + * dwarf2dbg.c (INITIAL_STATE): New macro encapsulating initial + state of line state-machine. + (struct ls): Collect DWARF2 line state-machine state in new member + SM. Add member EMPTY_SEQUENCE to keep track if a code sequence + resulted in any DWARF2 directives. + (reset_state_machine): New function. + (out_end_sequence): Ditto. + (dwarf2_gen_line_info): When switching sections or switching to a + lower text address, call out_end_sequence() first to terminate the + previous code sequence as code sequences MUST have monotonically + increasing addresses. + (dwarf2_finish): Call out_end_sequence() instead of open coding it. + +1999-06-03 David Mosberger <davidm@hpl.hp.com> + + * as.c (parse_args): Add option -gdwarf2 to allow requesting + DWARF2 debug info (line information only, at this point). + * as.h: Update comment about supported debug formats. + * dwarf2dbg.c, dwarf2dbg.h: New files. + * Makefile.am (GAS_CFILES, HFILES, GENERIC_OBJS): Add them. + + * expr.c (operand): Don't use [ for parens if we want an index op. + (op_encoding): Switch [ into O_index, if desired. + (op_rank): Renumber with O_index on bottom. + (expr): If O_index, match closing bracket. + * expr.h (O_index): New. + + * read.c (read_a_source_file): Conditionally allow matched " + in lines passed to md_assemble. + + * config/obj-elf.c (elf_pseudo_table): Add `common'. + +1999-06-03 Ian Lance Taylor <ian@zembu.com> + + Add support for storing local symbols in a small structure to save + memory when assembling large files. + * as.h: Don't include struc-symbol.h. + (symbolS): Add typedef. + * symbols.c: Include struc-symbol.h. + (local_hash): New static variable. + (save_symbol_name): New static function, from symbol_create. + (symbol_create): Call save_symbol_name. + (local_symbol_count): New static variable. + (local_symbol_conversion_count): Likewise. + (LOCAL_SYMBOL_CHECK): Define. + (local_symbol_make): New static function. + (local_symbol_convert): New static function. + (colon): Handle local symbols. Create local symbol for local + label name. + (symbol_table_insert): Handle local symbols. + (symbol_find_or_make): Create local symbol for local label name. + (symbol_find_base): Check for local symbol. + (symbol_append, symbol_insert): Check for local symbols. + (symbol_clear_list_pointers, symbol_remove): Likewise. + (verify_symbol_chain): Likewise. + (copy_symbol_attributes): Likewise. + (resolve_symbol_value): Handle local symbols. + (resolve_local_symbol): New static function. + (resolve_local_symbol_values): New function. + (S_GET_VALUE, S_SET_VALUE): Handle local symbols. + (S_IS_FUNCTION, S_IS_EXTERNAL, S_IS_WEAK, S_IS_COMMON): Likewise. + (S_IS_DEFINED, S_IS_DEBUG, S_IS_LOCAL, S_GET_NAME): Likewise. + (S_GET_SEGMENT, S_SET_SEGMENT, S_SET_EXTERNAL): Likewise. + (S_CLEAR_EXTERNAL, S_SET_WEAK, S_SET_NAME): Likewise. + (symbol_previous, symbol_next): New functions. + (symbol_get_value_expression): Likewise. + (symbol_set_value_expression): Likewise. + (symbol_set_frag, symbol_get_frag): Likewise. + (symbol_mark_used, symbol_clear_used, symbol_used_p): Likewise. + (symbol_mark_used_in_reloc): Likewise. + (symbol_clear_used_in_reloc, symbol_used_in_reloc_p): Likewise. + (symbol_mark_mri_common, symbol_clear_mri_common): Likewise. + (symbol_mri_common_p): Likewise. + (symbol_mark_written, symbol_clear_written): Likewise. + (symbol_written_p): Likewise. + (symbol_mark_resolved, symbol_resolved_p): Likewise. + (symbol_section_p, symbol_equated_p): Likewise. + (symbol_constant_p): Likewise. + (symbol_get_bfdsym, symbol_set_bfdsym): Likewise. + (symbol_get_obj, symbol_set_obj): Likewise. + (symbol_get_tc, symbol_set_tc): Likewise. + (symbol_begin): Initialize local_hash. + (print_symbol_value_1): Handle local symbols. + (symbol_print_statistics): Print local symbol statistics. + * symbols.h: Include "struc-symbol.h" if not BFD_ASSEMBLER. + Declare new symbols.c functions. Move many declarations here from + struc-symbol.h. + (SYMBOLS_NEED_BACKPOINTERS): Define if needed. + * struc-symbol.h (SYMBOLS_NEED_BACKPOINTERS): Don't set. + (struct symbol): Move bsym to make it clearly the first field. + Remove TARGET_SYMBOL_FIELDS. + (symbolS): Don't typedef. + (struct broken_word): Remove. + (N_TYPE_seg, seg_N_TYPE): Move to symbol.h. + (SEGMENT_TO_SYMBOL_TYPE, N_REGISTER): Likewise. + (symbol_clear_list_pointers): Likewise. + (symbol_insert, symbol_remove): Likewise. + (symbol_previous, symbol_append): Likewise. + (verify_symbol_chain, verify_symbol_chain_2): Likewise. + (struct local_symbol): Define. + (local_symbol_converted_p, local_symbol_mark_converted): Define. + (local_symbol_resolved_p, local_symbol_mark_resolved): Define. + (local_symbol_get_frag, local_symbol_set_frag): Define. + (local_symbol_get_real_symbol): Define. + (local_symbol_set_real_symbol): Define. + Define. + * write.c (write_object_file): Call resolve_local_symbol_values. + * config/obj-ecoff.h (OBJ_SYMFIELD_TYPE): Define. + (TARGET_SYMBOL_FIELDS): Don't define. + * config/obj-elf.h (OBJ_SYMFIELD_TYPE): Add local field. If + ECOFF_DEBUGGING, add ECOFF fields. + (ELF_TARGET_SYMBOL_FIELDS, TARGET_SYMBOL_FIELDS): Don't define. + * config/obj-multi.h (struct elf_obj_sy): Add local field. If + ECOFF_DEBUGGING, add ECOFF fields. + (ELF_TARGET_SYMBOL_FIELDS, TARGET_SYMBOL_FIELDS): Don't define. + (ECOFF_DEBUG_TARGET_SYMBOL_FIELDS): Don't define. + * config/tc-mcore.h: Don't include struc-symbol.h. + (TARGET_SYMBOL_FIELDS): Don't define. + (struct mcore_tc_sy): Define. + (TC_SYMFIELD_TYPE): Define. + * Many files: Use symbolS instead of struct symbol. Use new + accessor functions rather than referring to symbolS fields + directly. + + * read.c (s_mri_common): Don't add in value of line_label. + + * config/tc-mips.c (md_apply_fix): Correct parenthesization when + checking for SEC_LINK_ONCE. + + * config/tc-sh.h (sh_fix_adjustable): Declare. + + * app.c (input_buffer): New static variable. + (app_push): Save saved_input in allocated buffer. + (app_pop): Restored saved_input. + (do_scrub_chars): Change get parameter to take char * and int as + arguments. Change GET macro to pass input_buffer to get + function. Don't save input into allocated buffer. + * as.h (do_scrub_chars): Update declaration. + * input-file.c (input_file_get): Change to take char * and int. + Read data into passed in buffer. Remove static buffer. + * read.c (scrub_from_string): Change to take char * and int. Copy + data into passed in buffer. + + * hash.h: Neaten. Declare hash_traverse. + * hash.c: Complete rewrite based on BFD hashing code. + * gasp.c (chunksize): New variable. + * macro.c (macro_expand_body): Call hash_jam with NULL rather than + hash_delete. + +1999-05-28 Nick Clifton <nickc@cygnus.com> + + * config/tc-arm.c (md_apply_fix3): Add pipeline offset into reloc + addend unless the target uses an old ABI. + +Mon May 24 13:36:55 1999 Doug Evans <devans@canuck.cygnus.com> + + -Wchar-subscripts cleanup + * listing.c (listing_newline): Use unsigned char variable, so + calls to isascii,iscntrl are correct. + * atof-generic.c (atof_generic): Cast arg to isdigit, et. al. with + (unsigned char). + * ecoff.c (ecoff_directive_ent,ecoff_stab): Ditto. + * config/obj-elf.c (obj_elf_vtable_inherit): Ditto. + * config/tc-mips.c (mips_ip,mips16_ip): Ditto. + (my_getSmallExpression,get_number,s_mips_ent): Ditto. + +1999-05-28 Torbjorn Granlund <tege@matematik.su.se> + + * config/tc-m68k.c (m68k_ip): Check for disallowed index register + width for Coldfire. + (arch_coldfire_p): New #define. + (m68k_ip, m68k_init_after_args): Use arch_coldfire_p. + +1999-05-28 Linus Nordberg <linus.nordberg@canit.se> + + * config/tc-m68k.c (install_operand): Add places `n', `o'. + + * config/tc-m68k.c (m68k_ip): Add formats `E', `G', `H'. + (install_operand): Add place `N'. + (init_table): Add registers ACC, MACSR, MASK. + + * config/m68k-parse.h (m68k_register): Add ACC, MACSR, MASK. + + * config/tc-m68k.c: Change mcf5200 --> mcf. + (archs): Add mcf5206e, mcf5307. + (m68k_ip): Add format `u'. + (install_operand): Add place `m', `M', `h'. + (init_table): Add upper/lower registers. + + * config/m68k-parse.h (m68k_register): Add upper/lower registers. + +1999-05-28 Martin Dorey <mdorey@madge.com> + + * config/tc-i960.c: Several minor changes to add ELF and + BFD_ASSEMBLER support. + * config/tc-i960.h: Likewise. + * configure.in (i960-*-elf*): New target. + * aclocal.m4, configure: Rebuild. + +1999-05-25 Alan Modra <alan@spri.levels.unisa.edu.au> + + * config/tc-i386.c (md_apply_fix3): Only do 1999-05-17 fx_pcrel + reloc changes when defined(BFD_ASSEMBLER). + +1999-05-17 Alan Modra <alan@spri.levels.unisa.edu.au> + + * config/tc-i386.c (tc_gen_reloc): Remove F and MAP macros. + + * write.c (write_print_statistics): Output to file, not stderr. + + * expr.c (generic_bignum_to_int32,64): Prototype. + + * read.c (s_lcomm_internal, sizeof_sleb128, sizeof_uleb128, + output_sleb128, output_uleb128, output_big_sleb128, + output_big_uleb128, output_big_leb128): Prototype. + (output_big_sleb128, output_big_uleb128): Make inline. + (output_big_leb128): Remove inline + + From Maciej W. Rozycki <macro@ds2.pg.gda.pl> + * config/tc-i386.c (md_apply_fix3): Convert BFD_RELOC_16 with + fx_pcrel set to BFD_RELOC_16_PCREL. Similarly for BFD_RELOC_8. + Handle BFD_RELOC_16_PCREL and BFD_RELOC_8_PCREL. Return changed + value for correct overflow check in write.c:fixup_segment. + * write.c (fixup_segment): Move bitfield overflow checks to after + the md_apply_fix call. + * config/obj-coff.c (fixup_segment): Likewise. + * doc/internals.texi (CPU backend): Mention md_apply_fix modifying + valueT *val argument. + +Fri May 14 10:52:13 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> + + * config/atof-ieee.c (gen_to_words): Correctly round a + denormalized number. Fix off-by-one in range checking for + exponent in a denormal. + +1999-05-10 Nick Clifton <nickc@cygnus.com> + + * config/tc-mcore.c (parse_reg): Accept 'sp' as a valid register + name. + +Thu May 13 09:46:59 1999 Joel Sherrill (joel@OARcorp.com) + + * configure.in (i386-*-rtemself*, sh-*-rtemself*): New targets. + +1999-05-12 Alan Modra <alan@spri.levels.unisa.edu.au> + + * config/tc-i386.h (InvMem): New flag. Add to AnyMem. + (ReverseRegRegmem): Remove. + (ImmExt): New flag. Renumber some of the opcode_modifier bits. + * config/tc-i386.c (md_assemble): Test for PIII SIMD and AMD + 3DNow! via ImmExt opcode_modifier. Remove ReverseRegRegmem + kludge. + + From Doug Ledford <dledford@redhat.com> + * config/tc-i386.h (RegXMM): New for P/III. + * config/tc-i386.c: Add support for P/III. + +Sat May 8 23:28:50 1999 Richard Henderson <rth@cygnus.com> + + * config/tc-ppc.c (md_parse_option): Recognize -mppc64bridge. + (md_begin): Allow ppc32 insns in ppc64bridge mode. + (ppc_insert_operand): Accept SIGNOPT in ppc64 mode. + +Thu May 6 23:13:39 1999 Richard Henderson <rth@cygnus.com> + + * config/tc-i386.c (i386_immediate): Skip whitespace before + complaining about junk after expression. + (i386_displacement): Likewise. + +Thu May 6 19:50:14 1999 Richard Henderson <rth@cygnus.com> + + * symbols.c (symbol_find_base): Use memcpy instead of strcpy. + Don't copy before downcaseing. + +1999-05-05 Catherine Moore <clm@cygnus.com> + + * tc-m68k.c: Include elf/m68k.h. + (m68k_elf_final_processing): New routine. + * tc-m68k.h (elf_tc_final_processing m68k_elf_final_processing): + Define. + +Mon May 3 10:26:03 1999 Jeffrey A Law (law@cygnus.com) + + * config/tc-hppa.c (md_apply_fix): Handle 22 bit fmt insn like a + 17 bit fmt insn. + +1999-04-30 Nick Clifton <nickc@cygnus.com> + + * config/tc-mcore.c (mcore_s_section): Dump literals before + changing section. + +1999-04-29 Nick Clifton <nickc@cygnus.com> + + * config/tc-mcore.c (md_apply_fix3): Insert reloc addend into insn + for COFF/PE port. + +Mon Apr 26 12:34:37 1999 Doug Evans <devans@canuck.cygnus.com> + + * config/tc-fr30.h (TC_FIX_TYPE): Delete, cgen fields moved to write.h. + (TC_INIT_FIX_DATA): Delete. + * config/tc-m32r.h (TC_FIX_TYPE): Delete, cgen fields moved to write.h. + (TC_INIT_FIX_DATA): Delete. + * write.h (struct fix): New member fx_cgen, ifdef USING_CGEN. + * write.c (fix_new_internal): Initialize fx_cgen member. + * cgen.c (gas_cgen_record_fixup,gas_cgen_record_fixup_exp): Update. + (gas_cgen_md_apply_fix3): Update. + * config/tc-m32r.c (md_cgen_lookup_reloc): Update. + (md_cgen_record_fixup_exp): Update. + (FX_OPINFO_R_TYPE): Update. + + * frags.c (frag_var,frag_variant): Initialize fr_cgen here. + * config/tc-fr30.h (TC_FRAG_INIT): Delete. + * config/tc-m32r.h (TC_FRAG_INIT): Delete. + * frags.h (struct frag): Make opindex, opinfo ints. + + * config/tc-fr30.c (FX_OPINFO_R_TYPE): Delete, unused. + +1999-04-26 Tom Tromey <tromey@cygnus.com> + + * aclocal.m4, configure: Updated for new version of libtool. + +1999-04-22 Nick Clifton <nickc@cygnus.com> + + * config/tc-mcore.c (md_apply_fix3): Renamed function from + md_apply_fix. + (md_apply_fix3): Do not fix up absolute relocations against + symbolic values. + + * config/tc-mcore.h (MD_APPLY_FIX3): Define. + +1999-04-20 Nick Clifton <nickc@cygnus.com> + + * config/tc-mcore.c (md_pseudo_table): Add intercepts for section + changes and data-in-text directives. + (mcore_cons): New function: intercept cons() operations. + (mcore_float_cons): New function: intercept float_cons() + operations. + (mcore_stringer): New function: intercept stringer() operations. + +1999-04-18 Ian Lance Taylor <ian@zembu.com> + + * obj.h (struct format_ops): Change generate_asm_lineno field to + take no parameters. + * config/obj-ecoff.h (OBJ_GENERATE_ASM_LINENO): Don't define. + + * config/tc-alpha.c (find_opcode_match): Add default case to + switch. + (find_macro_match): Likewise. + (load_expression): Parenthesize && within ||. + + * config/tc-alpha.h (TC_RELOC_RTSYM_LOC_FIXUP): Define. + +1999-04-17 Nick Clifton <nickc@cygnus.com> + + * config/tc-mcore.c (md_pseudo_table): Add overrides for .bss + .text .data .section pseudo ops. + (mcore_s_section): New function. Dump lits before changing secs. + (mcore_s_text): New function. Dump lits before changing secs. + (mcore_s_data): New function. Dump lits before changing secs. + +1999-04-16 Gavin Romig-Koch <gavin@cygnus.com> + + * config/tc-mips.c (mips_32bitmode): New. + (md_begin): Set mips_32bitmode if needed. + (mips_elf_final_processing): Don't set EF_MIPS_ARCH. + Set EF_MIPS_32BITMODE. + +Fri Apr 16 12:26:39 1999 Bob Manson <manson@charmed.cygnus.com> + + * config/obj-coff.c (c_section_symbol): Fix typo in previous + change. + +1999-04-16 Nick Clifton <nickc@cygnus.com> + + * config/tc-mcore.h (LOCAL_LABELS_FB): Define to 1. + +Thu Apr 15 16:52:09 1999 Jeffrey A Law (law@cygnus.com) + + * tc-hppa.c (pa_get_absolute_exression): Try to handle "5 %r3" + expressions correctly. + + +1999-04-15 Gavin Romig-Koch <gavin@cygnus.com> + + * config/tc-mips.c (mips_elf_final_processing): Set EF_MIPS_ARCH. + +Mon Apr 12 23:45:07 1999 Jeffrey A Law (law@cygnus.com) + + * tc-hppa.c (pa_ip, case '3'): New case for PA2.0 fmpyfadd + and fmpynfadd instructions. + +1999-04-11 Richard Henderson <rth@cygnus.com> + + * as.h (environ): Declare it, if needed. + * as.c (dump_statistics): Don't declare environ. + * configure.in (environ): Detect declaration. + * configure, config.in: Rebuild + + * config/tc-i386.c (i386_immediate): Accept @GOT relocations. + (i386_displacement): Allocate enough space for replacement buffer. + Clean up replacement buffer initialization. + +1999-04-11 Bob Manson <manson@charmed.cygnus.com>: + + * subsegs.c (section_symbol): Don't create a new symbol if one + already exists; instead, use the existing one, but set its segment + and frag data if it hasn't already been defined. + * config/obj-coff.c (c_section_symbol): Likewise. + +Sat Apr 10 20:10:02 1999 Richard Henderson <rth@cygnus.com> + + * tc-alpha.c (load_expression): Call as_bad instead of abort. + +1999-04-08 Nick Clifton <nickc@cygnus.com> + + * config/tc-mcore.c: New File: Support routines for MCore + assembler. + * config/tc-mcore.h: New File: Definitions for MCore assembler. + * config/obj-coff.c: Add support for mcore-pe target. + + * Makefile.am: Add support for MCore targets. + * Makefile.in: Regenerate. + * configure.in: Add support for MCore targets. + * configure: Regenerate. + + * doc/all.texi: Set MCORE. + * doc/as.texinfo: Document MCore specific command line options. + + * write.h: Prevent multiple inclusion. + +1999-04-06 Ian Lance Taylor <ian@zembu.com> + + * asintl.h (LC_MESSAGES): Never define. + * as.c (main): Don't pass LC_MESSAGES to setlocale if the system + does not define it. + * gasp.c (main): Don't pass LC_MESSAGES to setlocale if the system + does not define it. + + * Makefile.am (m68k-parse.c): If configuring in the source + directory, copy m68k-parse.y into the local directory before + running ylwrap, to remove spurious differences when generating + snapshots. + * Makefile.in: Rebuild. + + * config/tc-sparc.h (md_do_align): Just allocate the number of + bytes necessary, rather than always allocating 1024. + +1999-04-04 Ian Lance Taylor <ian@zembu.com> + + * listing.c (listing_newline): Add cast to avoid warning. + * read.c (generate_lineno_debug): Add cases to switch. Reindent. + * config/tc-i386.c (i386_scale): Add return value. + (build_displacement_string): Remove unused local temp_disp2. + (i386_intel_memory_operand): Add parentheses to avoid warning. + (i386_intel_operand): Remove unused local end_of_operand_string. + (i386_operand): Remove unused local operand_modifier. + (i386_operand): Add parens to avoid warning. + +1999-04-04 Don Bowman <don@pixsci.com> + + * configure.in: Add mips*-*-vxworks* target; have it define + MIPS_STABS_ELF. + * configure, config.in: Rebuild. + +1999-03-31 Nick Clifton <nickc@cygnus.com> + + * configure.in (emulations): Add support for arm-epoc-pe. + * configure: Regenerate. + * config/te-epoc-pe.h: New file. Define macros specific to + arm-epoc-pe target. + * config/tc-arm.h: Select epoc-pe-arm target format if configured + for arm-epoc-pe target. + +Mon Mar 29 10:15:40 CST 1999 Catherine Moore <clm@cygnus.com> + + * tc-mips.c (md_apply_fix): Adjust value for linkonce sections. + +Wed Mar 24 14:11:10 1999 Jeffrey A Law (law@cygnus.com) + + * tc-hppa.c (pa_parse_nonneg_cmpsub_cmpltr): Clean up code to + detect ",n" without a condition. + (pa_parse_neg_cmpsub_cmpltr): Likewise. + + +Tue Mar 23 11:28:23 1999 Jeffrey A Law (law@cygnus.com) + + * tc-hppa.c (pa_ip, case '~'): The condition for a branch on bit + instruction is encoded with one bit. + + +1999-03-23 Ian Lance Taylor <ian@zembu.com> + + * doc/internals.texi (CPU backend): Mention that + line_separator_chars should not include newline. From thi + <ttn@mingle.glug.org>. + +1999-03-22 Doug Evans <devans@casey.cygnus.com> + + * config/tc-fr30.c (md_begin): Update call to fr30_cgen_cpu_open. + * config/tc-m32r.c (md_begin): Update call to m32r_cgen_cpu_open. + +Sun Mar 21 18:08:18 1999 Richard Henderson <rth@cygnus.com> + + * tc-alpha.c (md_assemble): Allow '6' in an opcode. + +Thu Mar 18 10:55:30 1999 Jeffrey A Law (law@cygnus.com) + + * tc-hppa.c (pa_ip, case 'a'): Do not call pa_parse_..._cmpsub_cmpltr. + + +Thu Mar 18 02:30:07 1999 Jeffrey A Law (law@cygnus.com) + + * tc-hppa.c (pa_ip, case 'd'): Do not allow ",n". + +1999-03-15 Martin Hunt <hunt@cygnus.com> + + * app.c (do_scrub_begin): Change '-' back to a symbol char + so we can use multiple opcodes on a line again. + + * config/tc-d30v.c: By default, warn if a symbol has + the same name as a register. Plus some minor + updates from the branch. + +1999-03-13 Nick Clifton <nickc@cygnus.com> + + * config/tc-d30v.c (md_apply_fix3): Handle BFD_RELOC_8, + BFD_RELOC_16 and BFD_RELOC_64. + +1999-03-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> + + * expr.c (expr): Add missing else. + +1999-03-12 Nick Clifton <nickc@cygnus.com> + + * config/tc-arm.c (md_apply_fix3): Improve error message. + +1999-03-11 Doug Evans <devans@casey.cygnus.com> + + * Makefile.am (CPU_TYPES): Add fr30. + (cgen.o): Add $(CGEN_CPU_PREFIX)-desc.h dependency. + (fr30,m32r dependencies): Update. + * Makefile.in: Rebuild. + + * cgen.c (gas_cgen_record_fixup): Update use of operand->type. + (gas_cgen_record_fixup_exp): Ditto. + (gas_cgen_finish_insn): Call cgen_operand_lookup_by_num. + (gas_cgen_md_apply_fix3): Ditto. Update call to set_vma_operand. + * config/tc-fr30.c (md_begin): Update call to fr30_cgen_cpu_open. + (md_cgen_lookup_reloc): Update use of operand->type. + * config/tc-m32r.c (md_begin): Update call to fr30_cgen_cpu_open. + (md_convert_frag): Call cgen_operand_lookup_by_num. + (md_cgen_lookup_reloc): Update use of operand->type. + (m32r_cgen_record_fixup_exp): Ditto. + +1999-03-09 Jim Blandy <jimb@zwingli.cygnus.com> + + * config/tc-mips.c (md_show_usage): Fix message. + +1999-03-03 Nick Clifton <nickc@cygnus.com> + + * doc/c-arm.texi (ARM Syntax): Document new command line switches + and LDR reg,=<expr> instruction. + + * config/tc-arm.c: Add support for -mcpu=arm810, -mcpu=arm9 and + -mcpu=arm9tdmi. + +Fri Feb 19 09:36:30 1999 Ian Lance Taylor <ian@cygnus.com> + + * doc/c-arm.texi (ARM-Chars): Fix typo in use of '@'. + +1999-02-17 Nick Clifton <nickc@cygnus.com> + + This patch was created by: Scott Bambrough + <scottb@corelcomputer.com> + + * app.c: + Special cased '@' character. The '@' character is used as the + ARM assembler comment character, as a special character + and in ELF .symver pseudo-op's, and as a special character in + .type and .section pseudo-ops. + (symver_pseudo): New static variable. + (symver_state): New static variable. + (struct app_save): Add field 'symver_state'. + (app_push): Save global symver_state int struct app_save. + (app_pop): Restore global symver_state from struct app_save. + (do_scrub_chars): Special case handling of '@' character in + .symver pseudo-ops. + + * configure.in: Modified to recognize armv* uname syntax from ARM + Linux kernel. + * configure: Regenerated. + + * config/obj-elf.c (obj_elf_section): Allow '%' as well as '@' as + a prefix to the section's type. + (obj_elf_type): Allow '%' as well as '@' and '#' as prefixes to + the type's typename. + + * config/tc-arm.h: Add support for PIC generation: + (pic_code): New boolean. + (obj_relocate_extern): Define. + (TC_RELOC_RTSYM_LOC_FIXUP): Define + (TC_CONS_FIX_NEW): Define. + (tc_fix_adjustable): Define. + (GLOBAL_OFFSET_TABLE_NAME): Define. + + * config/tc-arm.c: Add support for PIC generation: + (line_seperator_chars): Allow ';' as a seperator for Linux. + (is_immediate_prefix): New macro. + (arm_parse_reloc): New function. + (s_arm_elf_cons): New function. + (do_branch): Special case for BFD_RELOC_ARM_PLT32. + (md_undefined_symbol): Special case handling for the Global Offset + Table's symbol. + (md_apply_fix3): Handle PIC relocs. + (tc_gen_reloc): Handle PIC relocs. + (md_parse_option): Add support for '-k' command line switch to + enable PIC generation. + (cons_fix_new_arm): New function. + (s_arm_elf_cons): New function. + +Tue Feb 16 16:31:53 1999 Ian Lance Taylor <ian@cygnus.com> + + * configure.in: Add comments for uses of AC_DEFINE. + * acinclude.m4: Likewise. + * acconfig.h: Remove. + * aclocal.m4: Rebuild. + * configure: Rebuild. + * Makefile.in: Rebuild. + * config.in: Rebuild. + +1999-02-15 Jim Lemke <jlemke@cygnus.com> + + * config/tc-mips.c (mips_ip: case 'o'): Fix assertion failure for + non-constant offset from a base register. + +1999-02-14 Ken Raeburn <raeburn@raeburn.org> + + * config/tc-alpha.c (md_show_usage): Put \ before newline in + strings always. + +Sat Feb 13 14:10:10 1999 Richard Henderson <rth@cygnus.com> + + * config/tc-alpha.c (cpu_types): Enable EV6 PALcode with -m21264. + (emit_insn): Look for pc-relative and no-overflow specifiers on + internal relocation types. + +1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com> + + * doc/c-mips.texi (MIPS Opts): Updated list of -mNNNN and + -mcpu=NNNN flags. + + * config/tc-mips.c: Remove all the mips_NNNN variables; just use + mips_cpu instead. + (mips_4650, mips_4010, mips_4100): Variables removed. + (hilo_interlocks, gpr_interlocks, append_insn, macro_build, macro, + macro2, mips16_macro, mips_ip): Test mips_cpu, not the mips_NNNN + variables. + (md_begin): Don't bother initializing the mips_NNNN variables; + mips_cpu is set, and that's good enough now. + (md_parse_option): Have the -mNNNN options set mips_cpu instead of + the mips_NNNN variable. The -no-mNNNN flags are now no-ops. + (show): New function, to handle wrapping in the CPU lists. + (md_show_usage): Update lists of -mcpu and -mNNNN switches. + +Sat Feb 13 00:17:26 1999 Richard Henderson <rth@cygnus.com> + + * config/tc-i386.c (i386_intel_operand): Ignore `SHORT' rather + than treat as an immediate specifier. + +Thu Feb 11 16:18:31 1999 Richard Henderson <rth@cygnus.com> + + * config/tc-i386.c: Prototype many functions. + (set_intel_syntax): Accept `prefix'/`noprefix' specifiers. + (i386_immediate): Remove unused second argument. + (i386_intel_operand): Fix i386_is_reg typo. + (i386_operand): Use allow_naked_reg. + (output_invalid): Make operand int for K&R. + +Thu Feb 11 11:21:02 1999 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.am (EXTRA_as_new_SOURCES): Uncomment--fixed by automake + patch. + * Makefile.in: Rebuild. + +1999-02-09 Doug Evans <devans@casey.cygnus.com> + + * Makefile.am (DISTCLEANFILES): Change cgen-opc.h to cgen-desc.h. + (cgen.o): Ditto. + (EXTRA_as_new_SOURCES): Comment out. + (.tcdep): <arch>-opc.h renamed to <arch>-desc.h. + * Makefile.in: Rebuild. + * doc/Makefile.in: Rebuild. + * configure.in: Require autoconf 2.13. Redo using_cgen handling. + Delete call to AM_CYGWIN32. Replace AM_EXEEXT with AC_EXEEXT. + (AC_OUTPUT): <arch>-opc.h renamed to <arch>-desc.h. + * configure: Rebuild. + * aclocal.m4: Rebuild. + * config.in: Rebuild. + * cgen.c: Include cgen-desc.h, not cgen-opc.h. + (*): CGEN_OPCODE_DESC renamed to CGEN_CPU_DESC. + (gas_cgen_cpu_desc): Renamed from gas_cgen_opcode_desc. + CGEN_INSN_ATTR renamed to CGEN_INSN_ATTR_VALUE. + CGEN_OPERAND_ATTR renamed to CGEN_OPERAND_ATTR_VALUE. + (gas_cgen_record_fixup): Remove unnecessary != 0 test. + (gas_cgen_record_fixup_exp): Ditto. + (gas_cgen_finish_insn): Ditto. Refer to operand table via cpu + descriptor, not global variable. + (gas_cgen_md_apply_fix3): Refer to operand_table via cpu + descriptor, not global variable. Refer to insert_operand handler + via cpu descriptor, not global function. + * cgen.h (*): CGEN_OPCODE_DESC renamed to CGEN_CPU_DESC. + * config/tc-fr30.c: Include opcodes/fr30-desc.h. + (*): gas_cgen_opcode_desc renamed to gas_cgen_cpu_desc. + CGEN_INSN_ATTR renamed to CGEN_INSN_ATTR_VALUE. + Update call to CGEN_OPERAND_TYPE,CGEN_INSN_OPERANDS. + * config/tc-m32r.c: Ditto. + (assemble_two_insns): Update calls to cgen_lookup_get_insn_operands. + (md_assemble): Ditto. + (md_convert_frag): Update call to CGEN_OPERAND_ENTRY. + +1999-02-09 Nick Clifton <nickc@cygnus.com> + + * config/tc-arm.c (md_apply_fix3): Fix handling of label1 - label2 + relocations for ELF targets. + +1999-02-08 Nick Clifton <nickc@cygnus.com> + + * configure.in: Add support for StrongARM target. + * configure: Regenerate. + +1999-02-05 Nick Clifton <nickc@cygnus.com> + + * config/tc-arm.h: Tidy OBJ_ELF and OBJ_COFF definitions. + + * config/tc-arm.c (md_apply_fix3): Fix BFD_RELOC_ARM_PCREL_BRANCH + for COFF ports. + +Wed Feb 3 11:35:47 1999 Richard Henderson <rth@cygnus.com> + + * config/tc-alpha.c (md_show_usage): Document pca56 and ev6 options. + +Mon Feb 1 20:37:30 1999 Catherine Moore <clm@cygnus.com> + + * config/tc-i386.h (LONG_DOUBLE_MNEM_SUFFIX): Define. + (INTEL_DWORD_MNEM_SUFFIX): Define. + (BYTE_PTR): Define. + (WORD_PTR): Define. + (DWORD_PTR): Define. + (XWORD_PTR): Define. + (SHORT): Define. + (OFFSET_FLAT): Define. + (FLAT): Define. + (NONE_FOUND): Define. + (No_dSuf): Define. + (No_xSuf): Define. + * config/tc-i386.c (set_intel_syntax): New routine. + (intel_syntax): Declare. + (allow_naked_reg): Declare. + (md_pseudo_table): Support .intel_syntax and .att_syntax. + (intel_float_operand): New routine. + (md_assemble): Handle INTEL_DWORD_MNEM_SUFFIX. + Handle brackets as well as parens. Call i386_intel_operand for + intel syntax. Reverse operands if appropriate. Handle new + suffixes. Handle movzx and movsx. + (i386_is_reg): New routine. + (i386_immediate): New routine. + (i386_scale): New routine. + (i386_displacement): New routine. + (i386_operand_modifier): New routine. + (build_displacement_string): New routine. + (i386_parse_seg): New routine. + (i386_intel_memory_operand): New routine. + (i386_intel_operand): New routine. + (i386_operand): Call i386_displacement, i386_immediate, + i386_scale, etc. instead of handling inline. + (parse_register): Handle registers without prefix. + +Mon Feb 1 12:24:58 1999 Catherine Moore <clm@cygnus.com> + + * configure: Regenerate. + * configure.in (arm-*-oabi): New. + (thumb-*-oabi): New. + * config/tc-arm.c (target_oabi): Declare. + (md_apply_fix3): Support REL relocs. + (md_parse_option): Handle -oabi. + (elf32_arm_target_format): New routine. + (md_longopts): Add OPTION_OABI. + * config/tc-arm.h: Redefine TARGET_FORMAT. + + +1999-01-28 Nick Clifton <nickc@cygnus.com> + + * write.c (write_relocs): Handle out of range error. + + * config/tc-fr30.c (fr30_fix_adjustable): New function. + (fr30_force_relocation): Default to 0. + + * config/tc-fr30.h (obj_fix_adjustable): Define. + (TC_FORCE_RELOCATION): Define. + + * cgen.c (gas_cgen_md_apply_fix3): Do not apply fixes to VTABLE + relocs. + +1999-01-16 Nick Clifton <nickc@cygnus.com> + + * config/tc-d30v.c (write_2_short): Do not generate a sequential + merge of two instructions if the left instruciton kills the right. + +1999-01-11 Doug Evans <devans@casey.cygnus.com> + + * Makefile.in: Regenerate. + * configure.in: Redo test for using cgen. + * configure: Regenerate. + +1999-01-09 Nick Clifton <nickc@cygnus.com> + + * config/obj-coff.h (obj_adjust_symtab): Prevent accidental + redefinition of this macro. + +Tue Jan 5 21:58:03 1999 Doug Evans <devans@canuck.cygnus.com> + + * config/tc-mips.c (mips_frob_file): Disable "Unmatched %hi reloc" + warning. + +1998-12-29 Gavin Romig-Koch <gavin@cygnus.com> + + * config/tc-mips.c (append_insn): For mips16, insert a nop between + a read of HI or LO and an immediatly following branch. + +1998-12-29 Gavin Romig-Koch <gavin@cygnus.com> + + * config/tc-mips.c (md_begin): Another correction to the setting of + mips_eabi64. + +1998-12-23 Gavin Romig-Koch <gavin@cygnus.com> + + * config/tc-mips.c (md_begin): Correct type-o in setting of + mips_eabi64. + +1998-12-21 Nick Clifton <nickc@cygnus.com> + + * config/tc-m32r.c (md_assemble): Emit a NOP after a relaxable 16 + bit insn when optimizing, so that parallelised instructions will + start on a 32 bit boundary. + +1998-12-19 Gavin Romig-Koch <gavin@cygnus.com> + + * config/tc-mips.c (mips_eabi64): New. + (md_begin): Set mips_eabi64. + (mips_elf_final_processing): Use it. + +1998-12-18 Gavin Romig-Koch <gavin@cygnus.com> + + * config/tc-mips.c (mips_elf_final_processing): + Correct setting of ABI in e_flags. + +Wed Dec 16 16:17:22 1998 Dave Brolley <brolley@cygnus.com> + + * config/tc-fr30.c (md_assemble): Warn about invalid instructions + in delay slots. + +1998-12-16 Gavin Romig-Koch <gavin@cygnus.com> + + * config/tc-mips.c (md_begin,md_parse_option): Handle vr4111. + +1998-12-15 Doug Evans <devans@casey.cygnus.com> + + * cgen.c (gas_cgen_md_apply_fix3): Mark as an error, rather than a + warning, values that don't fit in the field. + +1998-12-15 Gavin Romig-Koch <gavin@cygnus.com> + + * config/tc-mips.c (mips_abi_string): New. + (md_parse_option,md_longopts): Add mabi. + (mips_elf_final_processing): Set e_flags based on mabi flag. + +1998-12-15 Gavin Romig-Koch <gavin@cygnus.com> + + * config/tc-mips.c (md_parse_option): Handle vr4111. + +98-12-11 Ken Raeburn <raeburn@cygnus.com> + + * config/tc-h8300.c (build_bytes): Change message given if the + instruction requires H8/300H mode and we're not in Hmode, to + suggest that it may be the operand modes that are the problem, not + necessarily the opcode. + +1998-12-10 Nick Clifton <nickc@cygnus.com> + + * config/tc-fr30.c: Add line separator character. + +Tue Dec 8 19:51:50 1998 Mark Klein <mklein@dis.com> + + * configure.in (hppa-*-mpeix*): New target. + * config/obj-som.h (obj_som_compiler): Declare. + * config/obj-som.c (compiler_seen): New static variable. + (obj_som_compiler): New function. + * config/tc-hppa.c: Update tc_data uses for change to bfd/som.h. + (md_pseudo_table): Add "compiler" if OBJ_SOM. + (pa_type_args): Set hppa_priv_level. + (pa_compiler): New static function if OBJ_SOM. + * configure: Rebuild. + +Tue Dec 8 15:00:50 1998 Ian Lance Taylor <ian@cygnus.com> + + * read.c (output_leb128): Don't mark as inline. + +1998-12-08 Andrew MacLeod <amacleod@cygnus.com> + + * config/tc-ppc.c (ppc_vbyte): Prototype and new function for + AIX .vbyte unaligned data support. + (md_pseudo_table): Add 'vbyte' to list of valid pseudos. + (ppc_elf_validate_fix): Add eh_frame to list of ELF relocatable + sections. + +1998-12-07 Nick Clifton <nickc@cygnus.com> + + * config/tc-d30v.c (md_assemble, do_assemble): Improve erroneous + input handling. + +Mon Dec 7 09:48:34 1998 Catherine Moore <clm@cygnus.com> + + * config/tc-arm.c (elf32_arm_force_relocation): Check for + BFD_RELOC_ARM_PCREL_BRANCH. + +Sun Dec 6 12:46:36 1998 Ian Lance Taylor <ian@cygnus.com> + + * configure.in: Define TARGET_BYTES_{BIG,LITTLE}_ENDIAN after + checking the target type. + (mips-dec-bsd*): Set endian to little. + * configure: Rebuild. + + COFF weak symbol support, based on patches from Mark Elbrecht + <snowball3@usa.net>: + * config/obj-coff.h (S_IS_WEAK): Define if not BFD_ASSEMBLER. + * config/obj-coff.c (obj_coff_weak): New static function. + (obj_coff_endef) [both versions]: Handle weak symbols. + (coff_frob_symbol): Likewise. + (yank_symbols): Likewise. + (obj_pseudo_table): Add "weak". + + * configure.in (m68k-*-gnu*): New target. From Aymeric Vincent + <aymeric.vincent@emi.u-bordeaux.fr>. + * aclocal.m4: Rebuild with current tools. + * configure: Rebuild. + + * config/tc-alpha.c (emit_ldgp): Give an error message rather than + an assertion failure for a case we can't handle when OBJ_ECOFF. + + * expr.c (operator): And with 0xff to avoid problems with signed + char. + +1998-12-03 Nick Clifton <nickc@cygnus.com> + + * config/tc-fr30.c (md_cgen_lookup_reloc): Generate + BFD_RELOC_FR30_48 instead of BFD_RELOC_FR30_32. + +1998-12-02 Nick Clifton <nickc@cygnus.com> + + * config/tc-fr30.c (md_cgen_lookup_reloc): Enable relocs for + LDI:20 insn. + +Thu Nov 26 11:23:48 1998 Dave Brolley <brolley@cygnus.com> + + * config/tc-fr30.c (md_pcrel_from_section): Restore previous + calculation of pcrel point. + +Tue Nov 24 17:21:52 1998 Nick Clifton <nickc@cygnus.com> + + * config/tc-fr30.c (md_pcrel_from_section): Fix calculation of + pcrel point. + +Tue Nov 24 14:54:38 1998 Nick Clifton <nickc@cygnus.com> + + * config/tc-d10v.c (md_assemble): Make static 'etype' have file + scope. + (d10v_cleanup): Only generate previous insn if a multiline insn is + not pending. + +Fri Nov 20 11:41:13 1998 Nick Clifton <nickc@cygnus.com> + + * config/tc-fr30.c (md_cgen_lookup_reloc): Add support for + FR30_OPERAND_I32. + +Thu Nov 19 15:01:29 1998 Nick Clifton <nickc@cygnus.com> + + * config/tc-arm.c (md_parse_option): Add support for -marm7xxx and + -marm6xxx command line switches. + +1998-11-18 Doug Evans <devans@casey.cygnus.com> + + * Makefile.am (DEP): Use $(srcdir)/../mkdep. + (itbl-ops.o): Delete duplicate dependencies. + Rebuild dependencies. + Add fr30 dependencies. + * Makefile.in: Rebuild. + +Tue Nov 17 13:42:42 1998 Nick Clifton <nickc@cygnus.com> + + * config/tc-fr30.c (md_cgen_lookup_reloc): Updated to match latest + opcode list. + * listing.c: Ignore line terminator characters found inside + strings. + +Thu Nov 12 19:21:24 1998 Dave Brolley <brolley@cygnus.com> + + * po/gas.pot: Regenerated. + +Thu Nov 12 10:54:16 1998 Nick Clifton <nickc@cygnus.com> + + * config/tc-fr30.c (fr30_is_colon_insn): New name for + fr30_is_label_start(). Also checks for delay slot insns. + + * config/tc-fr30.c (fr30_is_label_start): New function: Handle + FR30 instructions which contain a colon in the mnemonic. + + * config/tc-fr30.h (TC_START_LABEL): Define this macro. + +Wed Nov 11 09:58:21 1998 Nick Clifton <nickc@cygnus.com> + + * config/tc-fr30.c: Removed currently superflous code. + +Tue Nov 10 13:13:05 1998 Nick Clifton <nickc@cygnus.com> + + * config/tc-fr30.h: New file. + * config/tc-fr30.c: Tweaking so that it will compile. + +Tue Nov 10 14:41:33 1998 Catherine Moore <clm@cygnus.com> + + * config/tc-d10v.h (obj_fix_adjustable): Define. + (TC_FORCE_RELOCATION): Define. + (d10v_force_relocation): Declare. + * config/tc-d10v.c (tc_gen_reloc): Handle Vtable relocs. + (md_apply_fix3): Handle Vtable relocs. + (d10v_fix_adjustable): New. + (d10v_force_relocation): New. + +Mon Nov 9 14:25:06 1998 Nick Clifton <nickc@cygnus.com> + + * config/tc-d30v.c: Change default behaviour to ignore potential + conflicts between register name and symbol names. + +Wed Nov 4 18:42:00 1998 Dave Brolley <brolley@cygnus.com> + + * configure.in: Add fr30-*-*. + * config/tc-fr30.c: New file. + * Makefile.in: Regenerated. + * config.in: Regenerated. + * configure: Regenerated. + * doc/Makefile.in: Regenerated. + * po/gas.pot: Regenerated. + +Mon Nov 2 20:54:16 1998 Doug Evans <devans@canuck.cygnus.com> + + * config/tc-m32r.c (assemble_two_insns): Ensure both insns + are 16 bit insns. + +Mon Nov 2 20:10:18 1998 Martin von Loewis <loewis@informatik.hu-berlin.de> + + * app.c (do_scrub_begin): Set characters above 127 to be symbol + characters. + (do_scrub_chars): Add some casts to unsigned char to avoid + unwanted sign extension. + * read.c (lex_type): Set characters about 127 to be symbol + characters. + * config/tc-i386.c (md_begin): Set identifier_chars and + operand_chars for values above 127. + +Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com> + + * configure.in: detect cygwin* instead of cygwin32* + * configure: regenerate + +Tue Oct 27 13:18:40 1998 Nick Clifton <nickc@cygnus.com> + + * listing.c: Add support for producing a listing from piped + input. + +Tue Oct 27 08:56:44 1998 Gavin Romig-Koch <gavin@cygnus.com> + + * config/tc-mips.c (hilo_interlocks): Remove mips_3900. + (append_insn): Account for the tx39's multiply behavior. + +1998-10-26 Michael Meissner <meissner@cygnus.com> + + * config/tc-m32r.c (assemble_two_insns): Rename assemble_two_insns + from assemble_parallel_insns. Add support for '->' to indicate + explicitly serializing the instructions. + (md_assemble): Ditto. + +Sat Oct 24 15:12:19 1998 Catherine Moore <clm@cygnus.com> + + * config/tc-sh.c (sh_fix_adjustable): Adjust EXTERN and + WEAK handling. + +Thu Oct 22 12:41:33 1998 Catherine Moore <clm@cygnus.com> + + * cgen.c (gas_cgen_md_apply_fix3): Revert last change. + +Thu Oct 22 10:03:15 1998 Ron Unrau <runrau@cygnus.com> + + * config/tc-mips.c : support frame and regmask/fregmask when + MIPS_STABS_ELF is specified. + +Wed Oct 21 11;34:51 1998 Catherine Moore <clm@cygnus.com> + + * config/tc-sh.c (sh_fix_adjustable): Only include if OBJ_ELF. + (md_apply_fix): Don't return 1 for VTABLE relocs. + * config/tc-sh.h (obj_fix_adjustable): Define only if OBJ_ELF. + +Tue Oct 20 11:18:28 1998 Alan Modra <alan@spri.levels.unisa.edu.au> + + * doc/c-i386.texi: Replace occurences of "opcode" with + "instruction mnemonic", "instruction", or "mnemonic" when + referring to the name of an instruction. Use "opcode" when + referring to the sequence of machine bytes. + + * config/tc-i386.c (opcode_chars): Rename to mnemonic_chars. + (is_opcode_char): Rename to is_mnemonic_char. + (md_assemble and i386_operand): Correct error messages from + "opcode" to "instruction mnemonic" + Rename throughout opcode[] -> mnemonic[], opp -> mnem_p, + MAX_OPCODE_SIZE -> MAX_MNEM_SIZE, + DWORD_OPCODE_SUFFIX -> DWORD_MNEM_SUFFIX, + WORD_OPCODE_SUFFIX -> WORD_MNEM_SUFFIX, + BYTE_OPCODE_SUFFIX -> BYTE_MNEM_SUFFIX, + SHORT_OPCODE_SUFFIX -> SHORT_MNEM_SUFFIX + LONG_OPCODE_SUFFIX -> LONG_MNEM_SUFFIX + + * config/tc-i386.h (*_MNEM_SUFFIX): Rename from *_OPCODE_SUFFIX. + + * config/tc-i386.c (i386_operand): Check for garbage after + register name. + +Tue Oct 20 10:49:42 1998 Ian Lance Taylor <ian@cygnus.com> + + * config/tc-i386.c (md_apply_fix3): Change handling of PCREL reloc + for BFD_ASSEMBLER to only change value when COFF if TE_PE. + +Mon Oct 19 20:20:42 1998 Catherine Moore <clm@cygnus.com> + + * config/tc-sh.h (obj_fix_adjustable): Define. + * config/tc-sh.c (sh_force_relocation): Handle VT relocs. + (md_apply_fix): Likewise. + (tc_gen_reloc): Likewise. + (sh_fix_adjustable): New. + +Mon Oct 19 12:35:43 1998 Doug Evans <devans@seba.cygnus.com> + + * cgen.c (gas_cgen_finish_insn): Update handling of CGEN_INT_INSN_P. + * cgen.h (gas_cgen_finish_insn): Update prototype. + * config/tc-m32r.c (m32r_insn): CGEN_INT_INSN -> CGEN_INT_INSN_P. + cgen_insn_t -> CGEN_INSN_INT. + (make_parallel): Update handling of CGEN_INT_INSN_P. + (assemble_parallel_insn): Ditto. + (target_make_parallel): New function. + (md_assemble): Use it. + +Mon Oct 19 13:16:12 1998 Catherine Moore <clm@cygnus.com> + + * config/tc-m32r.c (m32r_force_relocation): Fix typo. + +Sun Oct 18 18:48:57 1998 Jeffrey A Law (law@cygnus.com) + + * config/tc-sh.c (md_assemble): Make sure the entire opcode is + converted into lower case. + +Fri Oct 16 13:36:34 CDT Catherine Moore <clm@cygnus.com> + + * cgen.c (gas_cgen_md_apply_fix3): Handle VTABLE relocs. + (gas_cgen_tc_gen_reloc): Likewise. + * config/tc-m32r.h (obj_fix_adjustable): Define. + * config/tc-m32r.c (m32r_fix_adjustable): New. + (m32r_force_relocation): Handle VTABLE relocs. + +Wed Oct 14 11:33:38 1998 Nick Clifton <nickc@cygnus.com> + + * doc/c-arm.texi (ARM Directives): Document .ltorn directive. + +Mon Oct 12 11:07:21 1998 Nick Clifton <nickc@cygnus.com> + + * config/tc-m32r.c (assemble_parallel_insn): Convert second opcode + to lower case before parsing. + + * config/tc-d30v.c (parallel_ok): Ignore conflicts when explicitly + parallel insns modift buts in the PSW as a side effect. + +Thu Oct 8 10:18:33 1998 Nick Clifton <nickc@cygnus.com> + + * config/tc-d30v.c (find_format): Test for missing flag and + control registers. + + (md_apply_fix3): Fix error messages to avoid + assumption about presence of a symbol. + + (parallel_ok): Disallow parallel instructions that both modify the + same flag register. + + (find_format): Generate a warning if an odd numbered register is + used as the first register in a mutli-register instruction. + +Wed Oct 7 14:09:14 1998 Nick Clifton <nickc@cygnus.com> + + * config/tc-d30v.c (md_apply_fix3): Do not assume that bad + relocations are always associated with a symbol. + +Tue Oct 6 09:31:15 1998 Catherine Moore <clm@cygnus.com> + + * tc-sparc.h (TC_FORCE_RELOCATION): Define. + (elf32_sparc_force_relocation): Declare. + * tc-sparc.c (md_apply_fix3): Handle vtable relocs. + (tc_gen_reloc): Handle vtable relocs. + (elf32_sparc_force_relocation): New. + +Mon Oct 5 09:25:32 1998 Catherine Moore <clm@cygnsu.com> + + * symbols.c (S_IS_FUNCTION): New. + * config/tc-v850.h (obj_fix_adjustable): Define. + (TC_FORCE_RELOCATION): Define. + (v850_force_relocation): Declare. + * config/tc-v850.c (tc_gen_reloc): Use offset instead + of fx_addnumber for VTABLE reloc addends. + (md_apply_fix3): Handle VTABLE relocs. + (v850_fix_adjustable): New. + (v850_force_relocation): New. + +Mon Oct 5 00:48:52 1998 Jeffrey A Law (law@cygnus.com) + + * tc-hppa.c (fp_operand_format): Add some additional formats. + (pa_ip): Do not automatically promote into pa2.0 mode. + (pa_level): Handle ".level 2.0". + +Sun Oct 4 20:57:43 1998 Alan Modra <alan@spri.levels.unisa.edu.au> + + * config/tc-i386.c (md_assemble): Handle AMD_3DNOW_OPCODE. + * config/tc-i386.h (template.extension_opcode): Change to + unsigned int to allow full range of 8-bit opcode suffixes. + (None): Redefine as 0xffff. + + From Jeff B Epler <jepler@usgs.gov> + * doc/c-i386.texi (i386-SIMD): New section. + +Thu Oct 1 15:37:54 1998 Richard Henderson <rth@cygnus.com> + + * read.c (discard_rest_of_line): New function. + * read.h: Declare it. + * config/tc-alpha.c (s_alpha_mask, s_alpha_frame): Use it. + +Thu Oct 1 10:33:53 1998 Nick Clifton <nickc@cygnus.com> + + * config/tc-d10v.c (find_symbol_matching_register): New function. + (find_opcode): Cope with the case where a register name matches + a symbol name. + +Wed Sep 30 10:52:32 1998 Nick Clifton <nickc@cygnus.com> + + * config/tc-v850.c (md_pcrel_from): Rename to + v850_pcrel_from_section. + (v850_pcrel_from_section): Do not resolves symbols in other + sections. + + * config/tc-v850.h (MD_PCREL_FROM_SECTION): Define. + +Mon Sep 28 11:01:20 1998 Nick Clifton <nickc@cygnus.com> + + * config/tc-d10v.c (find_opcode): Generate an error if a register + is supplied for an operand that should not be a register. + +Fri Sep 25 10:04:21 1998 Nick Clifton <nickc@cygnus.com> + + * config/tc-d30v.c (write_2_short): But do allow delayed branch + instructions to have another instruction in the right bin. + +Thu Sep 24 09:28:34 1998 Nick Clifton <nickc@cygnus.com> + + * config/tc-d30v.c (write_2_short): Do not allow instructions in + the right container if the left container holds a branch + instruction. + +Wed Sep 23 10:54:29 1998 Nick Clifton <nickc@cygnus.com> + + * config/tc-d30v.c (reg_name_search): Only warn if a name matches + both a register name and symbol name. + (find_format): Allow correct parsing of MVTSYS and MVFSYS insns. + +Tue Sep 22 17:49:16 1998 Nick Clifton <nickc@cygnus.com> + + * config/tc-d30v.c (write_2_short): Implement EITHER_BUT_PREFER_MU + execution unit class. + + (reg_name_search): If a name matches a register and a symbol, + prefer the register. + (find_format): Disallow flag registers when a general purpose + register is required. + If a number is required, but a register has been given, check to + see if a symbol with the same name as the register exists, and if + so, use that symbol. + +Tue Sep 22 16:40:52 1998 Jim Wilson <wilson@cygnus.com> + + * config/obj-elf.h (ECOFF_DEBUGGING): Add missing parens. + +Tue Sep 22 15:44:21 1998 Nick Clifton <nickc@cygnus.com> + + * config/tc-d30v.c (find_format): Do not accept flag registers as + general purpose registers. + (find_format): If an immediate value is expected at a given place + in a format, but a register name has been provided instead, check + to see if that register name matches the name of a predefined + symbol and if it does, then use the symbol instead. + (reg_name_search): If a register name matches a symbol name, + prefer the register name to the symbol name. + +Mon Sep 21 10:42:57 1998 Nick Clifton <nickc@cygnus.com> + + * config/tc-m32r.c (m32r_do_align): After inserting NOPs, reset + the previous insn to empty. + +1998-09-20 Michael Meissner <meissner@cygnus.com> + + * config/tc-ppc.c (md_apply_fix3): Do not break string into two + pieces, forcing the use of an ANSI compiler. + +Sun Sep 20 00:58:12 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * config/tc-m68k.h (TC_FORCE_RELOCATION): New macro. Force vtable + relocs. + * config/tc-m68k.c (md_apply_fix_2): Do nothing for vtable relocs. + +Tue Sep 15 08:51:07 1998 Catherine Moore <clm@cygnus.com> + + * config/obj-elf.c (obj_elf_vtable_inherit): Handle arm + assembler syntax. + (obj_elf_vtable_entry): Likewise. + * config/tc-arm.h: Define TC_FORCE_RELOCATION for OBJ_ELF. + * config/tc-arm.c (md_apply_fix3): Handle VTABLE relocations. + (tc_gen_reloc): Likewise. + (arm_fix_adjustable): Likewise. + (elf32_arm_force_relocation): New. + (armelf_frob_symbol): Remove coff-style symbol support. + +Wed Sep 9 11:27:16 1998 Richard Henderson <rth@cygnus.com> + + * config/tc-i386.c (i386_operand): Fix typo in last patch. + +Tue Sep 8 18:10:01 1998 Catherine Moore <clm@cygnus.com> + + * config/tc-arm.c (arm_adjust_symtab): Move #ifdef + OBJ_COFF so that routine is defined for a.out format. + +Tue Sep 8 15:56:19 1998 Richard Henderson <rth@cygnus.com> + + * config/tc-i386.c (i386_operand): Detect non-segment registers + used as segment prefixes. + +Sat Sep 5 19:00:38 1998 Ian Lance Taylor <ian@cygnus.com> + + * ehopt.c (check_eh_frame): Check the size of the FDE, and don't + optimize across FDE boundaries. + + * config/obj-coff.c (obj_coff_section): Preserve any link once + flags when setting the section flags. + +Fri Sep 4 17:07:14 1998 Nick Clifton <nickc@cygnus.com> + + * config/tc-arm.h (obj_adjust_symtab): Fixed typo. + * config/tc-arm.c (armelf_adjust_symtab): Reformatted. + +Fri Sep 4 13:57:43 1998 Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz> + + * config/tc-sparc.c (in_signed_range): Sign extend 32-bit words + to the host width. + +Wed Sep 2 11:31:14 1998 Richard Henderson <rth@cygnus.com> + + * frags.c (frag_grow): Include the size of the frag struct in the + obstack chunk size. + + * subsegs.c (subseg_set_rest): Adjust the seginfo frchain start + if the new subseg comes before the old. + +Tue Sep 1 15:01:33 1998 Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz> + + * config/tc-sparc.c (sparc_ip): Allow all digits in an instruction + to handle edge8 and edge16. + +Mon Aug 31 09:51:14 1998 Richard Henderson <rth@cygnus.com> + + * config/obj-elf.c (obj_elf_vtable_inherit): Print error message + before we clobber the symbol involved. + +Mon Aug 31 10:58:06 1998 Catherine Moore <clm@cygnus.com> + + * config/tc-arm.c: Remove OBJ_ELF definitions for + S_GET_STORAGE_CLASS and S_SET_STORAGE_CLASS. Only + use arm_adjust_symtab for OBJ_COFF. + (armelf_adjust_symtab): New Routine. + * config/tc-arm.h: Define obj_adjust_symtab to + armelf_adjust_symtab for OBJ_ELF. + +Sat Aug 29 22:18:51 1998 Richard Henderson <rth@cygnus.com> + + * configure.in: Make all i386-elf targets use bfd_gas. + * config/tc-i386.c (tc_i386_force_relocation): New. + (tc_i386_fix_adjustable): Don't fix vtable relocs. + (md_apply_fix3): Likewise. + (tc_gen_reloc): Handle them. + * config/tc-i386.h (TC_FORCE_RELOCATION): Always define, calling + tc_i386_force_relocation. + +Mon Aug 24 13:40:21 1998 Nick Clifton <nickc@cygnus.com> + + * config/tc-arm.c (md_show_usage): Improve formatting of --help output. + +Fri Aug 21 18:43:48 1998 Nick Clifton <nickc@cygnus.com> + + * config/tc-d30v.c (md_assemble): Copy previous opcode over + current opcode after writing the first insturction of a reverse + sequential pair. + +Fri Aug 21 07:30:35 1998 Doug Evans <devans@canuck.cygnus.com> + + * read.h (generate_lineno_debug): Add prototype. + * read.c (generate_lineno_debug): Make non-static. + +Thu Aug 20 23:17:04 1998 Alan Modra <alan@spri.levels.unisa.edu.au> + + * config/tc-i386.c (md_assemble): Only warn for address/data size + prefixes. + +Thu Aug 20 14:45:08 1998 Nick Clifton <nickc@cygnus.com> + + * config/tc-arm.c (arm_fix_adjustable): Do not adjust relocations + against Thumb function names, as the linker needs this information. + +1998-08-20 Vladimir N. Makarov <vmakarov@cygnus.com> + + * expr.c (operand): Check also that there is no advance in operand + after atof_generic in order to decide "is it label 0f or floating + point number?". + +Wed Aug 19 09:30:16 1998 Nick Clifton <nickc@cygnus.com> + + * config/tc-m32r.c: Replace double dash prefix to M32R specific + command line options with a single dash. + * doc/c-m32r.texi: Replace double dash prefix with a single dash. + +Tue Aug 18 11:59:43 1998 Catherine Moore <clm@cygnus.com> + + * tc-arm.h: Define obj_fix_adjustable for OBJ_ELF. + * tc-arm.c (arm_fix_adjustable): New routine. + +1998-08-13 Vladimir N. Makarov <vmakarov@cygnus.com> + + * read.c (s_align, s_comm, s_mri_common, s_fail, s_globl, s_space, + s_float_space, s_struct, cons_worker): Move ignore_rest_of_line or + demand_empty_rest_of_line before mri_comment_end. + (equals): Check garbage after expression before + mri_comment_end in MRI mode. + +Thu Aug 13 15:08:42 1998 Ian Lance Taylor <ian@cygnus.com> + + * config/tc-mips.c (macro): Correct M_SGE_I/M_SGEUI_I case for a + small immediate constant to use the constant itself rather than + always using 1. + +Wed Aug 12 18:47:38 1998 Ian Lance Taylor <ian@cygnus.com> + + * config/tc-hppa.c (pa_enter): Call as_bad rather than abort. + (pa_leave): Likewise. + +Wed Aug 12 13:25:03 1998 Alan Modra <alan@spri.levels.unisa.edu.au> + + * config/tc-i386.c (md_assemble): Emit a warning for stand-alone + prefixes. + (i386_operand): Fix an error message. + +Tue Aug 11 14:44:32 1998 Nick Clifton <nickc@cygnus.com> + + * doc/c-arm.texi (ARM Directives): Document .req directive. + + * config/tc-arm.c (reg_required_here): Display erroneous string if + the register name could not be decoded. + Do not set inst.instruction if the sift is -1. + +Mon Aug 10 15:39:56 1998 Richard Henderson <rth@cygnus.com> + + * config/tc-alpha.c (tc_gen_reloc): Bias WEAK symbols just as + we do for EXTERN. + +Mon Aug 10 15:06:18 1998 Nick Clifton <nickc@cygnus.com> + + * config/tc-d30v.c (d30v_align): Always perform alignment request, + even if it is belived to be unnecessary. + +Mon Aug 10 17:48:09 1998 Alan Modra <alan@spri.levels.unisa.edu.au> + + config/tc-i386.c (i386_operand): Size immediate constants by + suffix (erroneously removed as part of July 7 change). + +Sun Aug 9 20:45:32 1998 Catherine Moore <clm@cygnus.com> + + * config/obj-elf.h: Check for redefinition of obj_frob_symbol. + * config/tc-arm.c: Define S_GET_STORAGE_CLASS and S_SET_STORAGE_CLASS. + (armelf_frob_symbol): New Routine. + * config/tc-arm.h: Define obj_frob_symbol if OBJ_ELF. + +Sat Aug 8 15:21:28 1998 Richard Henderson <rth@cygnus.com> + + * config/tc-alpha.c (alpha_fix_adjustable): Don't adjust weak syms. + +Wed Aug 5 15:54:14 1998 Nick Clifton <nickc@cygnus.com> + + * config/tc-arm.c (md_begin): Set BFD private flags depending upon + command line switches passed to assembler. + +Mon Aug 3 14:02:52 1998 Doug Evans <devans@seba.cygnus.com> + + * cgen.h (GAS_CGEN_MAX_FIXUPS): GAS_ prepended, all uses updated. + (gas_cgen_opcode_desc): Declare. + (gas_cgen_parse_operand): Declare. + (*): Prepend gas_ to gas specific fns to denote them as such. + All uses updated. + * cgen.c (gas_cgen_opcode_desc): New global + (gas_cgen_init_parse): Renamed from cgen_asm_init_parse. + (queue_fixup): Renamed from cgen_queue_fixup. + (*): Prepend gas_ to gas specific fns to denote them as such. + All uses updated. + (gas_cgen_md_apply_fix3): Update call to insert_operand. + (gas_cgen_finish_insn): Renamed from cgen_asm_finish_insn. + * config/tc-m32r.c (md_begin): Remove use of CGEN_SYM. + Open opcode table and initialize it. + (make_parallel): Use gas_cgen_opcode_desc. + (assemble_parallel_insn): Ditto. Remove use of CGEN_SYM. + (md_assemble): Ditto. + +Sat Aug 1 19:27:30 1998 Richard Henderson <rth@cygnus.com> + + * as.h (debug_info_type): Add entries for unspecified and dwarf*. + * ecoff.c (ecoff_generate_asm_lineno): Take no arguments; call + as_where ourselves. Provide a stub for !ECOFF_DEBUGGING. + * ecoff.h: Move ECOFF_DEBUGGING protection inside GAS_ECOFF_H. + Move ecoff_generate_asm_lineno outside ECOFF_DEBUGGING protection. + * read.c (generate_lineno_debug): Tidy ECOFF bits. Use + DEBUG_UNSPECIFIED rather than DEBUG_NONE for initial test. + * config/obj-elf.h (ECOFF_DEBUGGING) [TC_ALPHA]: Define to a variable. + (SEPARATE_STAB_SECTIONS): Conditionalize on value of ECOFF_DEBUGGING. + (INIT_STAB_SECTION): Likewise. + (OBJ_PROCESS_STAB): Likewise. + + * config/tc-alpha.c (md_longopts): New options -mdebug/-no-mdebug. + (md_parse_option): Watch for them. + (alpha_cur_ent_sym, alpha_flag_mdebug): New variables. + (md_begin): Kill neverdef code. + (s_alpha_ent, s_alpha_end, s_alpha_mask, s_alpha_frame): New. + (s_alpha_prologue): Watch alpha_cur_ent_sym. + (s_alpha_coff_wrapper): New. + (md_pseudo_table): Trap all ECOFF pseudos. + +Fri Jul 31 16:45:54 1998 Ron Unrau <runrau@cygnus.com> + + Start of changes to remove mdebug section from mips*-elf + Based on MIPS_STAB_ELF definition + * acconfig.h: undef if not configured + * config.in: undef if not configured + * config/mips-elf.h: only set ECOFF debugging if not stabs-in-elf + * config/tc-mips.c (s_ent): set BSF_FUNCTION + * stabs.c (s_stab_generic): flush frag + +Fri Jul 31 16:14:45 1998 Catherine Moore <clm@cygnus.com> + + * configure.in: (arm-*-elf): Handle. + (thumb-*-elf): Handle. + * configure: Regenerate. + * read.c (stringer): Fix typo in comment. + * write.c (fixup_segment): Don't add symbol value to addend if + TC_ARM and OBJ_ELF. + * config/tc-arm.c (md_section_align): Don't align dwarf debug + sections. + (tc_gen_reloc): Always set the reloc addend to fixp->fx_offset + for OBJ_ELF. + +Thu Jul 30 21:38:43 1998 Frank Ch. Eigler <fche@cygnus.com> + + * config/tc-d30v.c ({cur,prev}_left_kills_right_p): New variables. + (write_2_short): Emit warning if new flag is set. + (do_assemble): Set flags if left instruction is one of special + "right-instruction-killer" type. + +Tue Jun 28 18:12:28 1998 Stan Cox <scox@cygnus.com> + + * config/tc-sparc.c (md_number_to_chars, cons_fix_new_sparc): + Always output words in debug_info section as big endian. + (sparc_target_format): Choose correct bfd target. + (md_apply_fix3): Rename BFD_RELOC_SPARC_32LE to BFD_RELOC_SPARC_REV32. + +Tue Jul 28 11:01:21 1998 Jeffrey A Law (law@cygnus.com) + + * config/tc-mn10300.c (md_assemble): Fix "errmsg" initialization + to work with internationalization code. Issue an error when two + operands match that are not allowed to match. + +Mon Jul 27 16:25:58 1998 Doug Evans <devans@canuck.cygnus.com> + + * configure.in (install_tooldir): Allow target to specify whether + it wants to be installed in $(tooldir)/bin. + * configure: Regenerate. + * Makefile.am (install-exec-local): Set install-exec-tooldir + dependency via configure. + * Makefile.in: Regenerate. + +Fri Jul 24 19:58:59 1998 Doug Evans <devans@canuck.cygnus.com> + + * Makefile.am (install-exec-local): Split into two ... + (install-exec-bindir,install-exec-tooldir): New rules. + * Makefile.in: Regenerate. + +Fri Jul 24 16:31:49 1998 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.am (install-exec-local): Don't remove the file before + checking whether $(bindir) == $(tooldir)/bin. From Maciej + W. Rozycki <macro@ds2.pg.gda.pl>. + * Makefile.in: Rebuild. + +Fri Jul 24 09:13:46 1998 Doug Evans <devans@canuck.cygnus.com> + + * cgen.c: Include libiberty.h. + (cgen_md_apply_fix3): Update call to md_cgen_lookup_reloc. + (cgen_tc_gen_reloc): Use xmalloc, not bfd_alloc. + * cgen.h (cgen_md_apply_fix3,cgen_tc_gen_reloc): Declare. + (md_cgen_lookup_reloc)): Declare. + (md_cgen_record_fixup_exp): Declare. + * config/tc-m32r.h (md_pcrel_from_section): Declare. + (m32r_relax_frag): Declare. + (cgen_md_apply_fix3): Decls moved to cgen.h. + (cgen_record_fixup_exp,cgen_tc_gen_reloc): Ditto. + (m32r_cgen_record_fixup_exp): Delete decl. + * config/tc-m32r.c (m32r_cpu_desc): #if 0 out. + (assemble_nop): Delete. + (expand_debug_syms): Delete unused `exp'. + (md_cgen_lookup_reloc): Renamed from CGEN_SYM (lookup_reloc). + Add default case for -Wall. + (m32r_cgen_record_fixup_exp): Add default case for -Wall. + (md_atof): Delete unused wordP. + +Thu Jul 23 13:19:50 1998 Jeffrey A Law (law@cygnus.com) + + * config/tc-mn10300.c (md_assemble): Make sure "errmsg" has a non-NULL + value. + +Wed Jul 22 14:36:56 1998 Ian Lance Taylor <ian@cygnus.com> + + * doc/as.texinfo: Add documentation for .end, .exitm, .fail, + .ifc, .ifeqs, .ifge, .ifgt, .ifle, .iflt, .ifnc, .ifne, .ifnes, + .print, .purgem, and .struct. Remove documentation for + .app-file. + +Tue Jul 21 16:50:52 1998 Doug Evans <devans@seba.cygnus.com> + + * cgen.c (cgen_md_apply_fix3): set_operand renamed to set_vma_operand. + Update call to insert_operand. + +Fri Jul 17 11:42:20 1998 Nick Clifton <nickc@cygnus.com> + + * config/tc-m32r.c (ms_show_usage): Formatting changes. + +Wed Jul 15 15:38:28 1998 Ian Lance Taylor <ian@cygnus.com> + + * config/tc-i386.c (md_assemble): Don't get confused by trailing + whitespace after a prefix operator. + +Tue Jul 14 15:32:56 1998 Richard Henderson <rth@cygnus.com> + + * configure.in (i386-*-beos{pe,elf,}*): Recognize. + +Tue Jul 14 12:33:44 1998 Chris Torek <torek@bsdi.com> + + * config/tc-sparc.c (log2): New static function. + (s_reserve): Use log2 to convert alignment before calling + record_alignment. + (s_common): Use log2 to convert alignment before calling + record_alignment and frag_align. + (sparc_cons_align): Use log2. + +Tue Jul 14 11:58:40 1998 Ian Lance Taylor <ian@cygnus.com> + + * config/tc-sparc.c (s_reserve): Set symbol size if OBJ_ELF. + (s_common): Likewise. + + * config/tc-sparc.c (sparc_handle_align): Reindent a bit. Correct + initialization of waddr. + (sparc_elf_final_processing): Add default case to switch. + +Tue Jul 14 11:00:16 1998 Alan Modra <alan@spri.levels.unisa.edu.au> + + * doc/c-i386.texi: Fix a typo. Use the term 80-bit real rather + than temporary real. + +Mon Jul 13 13:55:42 1998 Ian Lance Taylor <ian@cygnus.com> + + * write.c (subsegs_finish): Don't align the segments if there were + any errors. + + * config/obj-coff.c (c_symbol_merge): Correct number of bytes when + copying aux information. + + * expr.c (make_expr_symbol): Catch attempts to turn an O_big + expression into a symbol. + +Mon Jul 13 13:29:04 1998 Alan Modra <alan@spri.levels.unisa.edu.au> + + * config/tc-i386.c (mode_from_disp_size): Change arg and return + type to unsigned int. + (md_assemble): Change type used to store offsets from unsigned + long to long. + (i386_operand): Switch error check to only call RESTORE_END_STRING + once after parse_register. + +Fri Jul 10 16:00:04 1998 Nick Clifton <nickc@cygnus.com> + + * config/tc-v850.c (md_show_usage): Changed format to match that + of gcc, ld, etc. + + * as.c (show_usage): Changed format to match that of gcc, ld, etc. + +Thu Jul 9 12:09:57 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * config/tc-m68k.c (tc_m68k_fix_adjustable): Don't adjust vtable + relocs. + (md_apply_fix_2): Force the symbol of the vtable reloc to be + weak. + +Thu Jul 9 11:31:54 1998 Ian Lance Taylor <ian@cygnus.com> + + * doc/Makefile.am (MAINTAINERCLEANFILES): Define. + * doc/Makefile.in: Rebuild. + +Wed Jul 8 12:18:56 1998 Jeffrey A Law (law@cygnus.com) + + * config/tc-mips.c (mips_ip, case 'i' and 'j'): Mask off high bits + for %lo expressions. + (mips_ip, case 'u'): Move range check after code to mask + off bits in %hi/%lo expressions. Mask off high bits for + %lo expressions. + +Tue Jul 7 17:57:38 1998 Ian Lance Taylor <ian@cygnus.com> + + * doc/Makefile.am (gasver.texi): New target. + (as.info, as.dvi): Depends upon gasver.texi. + * doc/as.texinfo: Include gasver.texi. Mention version number on + title page and in top node. + * doc/Makefile.in: Rebuild. + +Tue Jul 7 11:42:16 1998 Richard Henderson <rth@cygnus.com> + + * listing.c (listing_listing): For EDICT_LIST, skip all lines up to + but not including the line containing the edict. + * listing.h (LISTING_EOF): New. + * input-scrub.c (input_scrub_next_buffer): Call it. + +Tue Jul 7 13:00:37 1998 Alan Modra <alan@spri.levels.unisa.edu.au> + + * config/tc-i386.c (i386_operand): Don't set the size of an + immediate address based solely on the suffix and the mode. + + * config/tc-i386.c (md_assemble): Add assertion to make sure + overlap2 does not set Imm. + + * config/tc-i386.c (space_chars): Remove. The scrubber converts + sequences of whitespace to a single space. + (is_space_chars): Just compare with space. + (md_begin): Don't initialize space_chars. + (md_assemble): Just skip a single whitespace character. + (i386_operand): Rewrite base-index parsing to use new + parse_register, and to skip white space. Skip white space in a + number of other places too. Don't give error message if + parse_register fails. + (parse_register): Change reg_string parameter to be non-const. + Add end_op parameter. Skip white space after the `%', and return + end of register string. Give error message here rather than + caller. + +Fri Jul 3 15:34:34 1998 Ian Lance Taylor <ian@cygnus.com> + + Based on patch from Matt Semersky <matts@scd.hp.com>: + * expr.c (op_encoding): Make const. + (expr_set_precedence): New function. + (expr_begin): Don't set operator rankings, just call + expr_set_precedence. + * expr.h (expr_set_precedence): Declare. + * read.c (s_mri): Call expr_set_precedence. + +Thu Jul 2 16:24:58 1998 Ian Lance Taylor <ian@cygnus.com> + + * doc/as.texinfo (Statements): Remove paragraph discussing + continuing lines with a backslash. This hasn't worked for years, + if it ever did. + +Thu Jul 2 14:06:22 1998 Klaus Kaempf <kkaempf@rmi.de> + + * obj-vms.c: Add C++ support with ctors/dtors sections. Add weak + symbol definitions. + (Ctors_Symbols, Dtors_Symbols): New symbol chains. + (ps_CTORS, ps_DTORS): New section types. + (vms_fixup_xtors_section): New function + (Ctors_Psect, Dtors_Psect): Define. + (IS_GXX_XTOR): Define + (global_symbol_directory): Change check of gxx_bug_fixed to 0. + Filter static constructors/destructors and add to + Ctors_Symbols/Dtors_Symbols chain. + (vms_write_object_file): Write Ctors_Symbols/Dtors_Symbols to + appropriate section. + + * tc-alpha.h (TARGET_FORMAT): Rename "evax-alpha" to "vms-alpha". + * makefile.vms: Merge vax/vms support. + +Wed Jul 1 20:06:20 1998 Richard Henderson <rth@cygnus.com> + + * config/obj-elf.c (obj_elf_vtable_inherit, obj_elf_vtable_entry): New. + (elf_pseudo_table): Add them. + * config/tc-mips.c (mips_force_relocation): Force vtable relocs. + (md_apply_fix): Accept them. + (mips_fix_adjustable): Don't adjust them. + (tc_gen_reloc): Mung BFD_RELOC_VTABLE_ENTRY for Rel. + * config/tc-ppc.c (md_apply_fix3): Accept vtable relocs. + * config/tc-ppc.h (TC_FORCE_RELOCATION_SECTION): Force vtable relocs. + (tc_fix_adjustable): Don't adjust them. + +Wed Jul 1 16:35:32 1998 Doug Evans <devans@seba.cygnus.com> + + * Makefile.am (CGEN_CPU_PREFIX): New variable. + (cgen.o): Use it. + * Makefile.in: Regenerate. + * configure.in: AC_SUBST cgen_cpu_prefix. + * configure: Regenerate. + +Wed Jul 1 21:38:56 1998 J"orn Rennecke <amylaar@cygnus.co.uk> + + * config/tc-sh (COND_JUMP_DELAY, COND12_DELAY_LENGTH): Define. + Changed all users of COND12_DELAY. + +Fri Jun 26 11:21:11 1998 Jeffrey A Law (law@cygnus.com) + + * config/tc-mn10300.c (set_arch_mach): New function. + (md_pseudo_table): Add pseudo-ops to set the current machine type. + (md_begin): Default to mn10300 mode. + (md_assemble): Only accept instructions for the core mn10300 + chip and the active machine type. + +Wed Jun 24 19:06:04 1998 Ian Lance Taylor <ian@cygnus.com> + + * subsegs.h (segment_info_type): Give the struct a name. + * config/tc-h8300.h (tc_reloc_mangle): Add prototype. + * config/tc-h8500.h (tc_reloc_mangle): Declare. + * config/tc-sh.h (sh_coff_reloc_mangle): Add prototype. + * config/tc-w65.h (tc_reloc_mangle): Declare. + * config/tc-z8k.h (tc_reloc_mangle): Declare. + +Wed Jun 24 13:45:00 1998 Catherine Moore <clm@cygnus.com> + + * config/tc-v850.c (v850_comm): Restore old section + after common processing. + +Wed Jun 24 11:50:54 1998 Klaus Kaempf <kkaempf@progis.de> + + * config/obj-vms.c (Create_VMS_Object_File): Force binary file. + +Tue Jun 23 17:47:31 1998 Jim Wilson <wilson@cygnus.com> + + * config/tc-h8300.c (do_a_fix_imm, build_bytes): Replace cast to + char with code that explicitly sign-extends. + +Tue Jun 23 13:54:57 1998 Nick Clifton <nickc@cygnus.com> + + * config/tc-v850.c (md_begin): Restore text section as the current + section after creating call table sections. + * config/obj-coff.h (SYM_AUXINFO): New macro to conceal ugly + code. + + * config/obj-coff.c (c_symbol_merge): Replace complex expresion + with call to macro SYM_AUXINFO. + +Tue Jun 23 15:09:27 1998 Mike Stump <mrs@wrs.com> + + * Makefile.am (install-exec-local): Don't let EXEEXT interfere + with the program transform name. + * Makefile.in: Rebuild. + +Mon Jun 22 19:52:42 1998 Ian Lance Taylor <ian@cygnus.com> + + * config/obj-coff.c (c_symbol_merge): Fix copying of auxiliary + information. + +Mon Jun 22 15:18:58 1998 Ian Lance Taylor <ian@cygnus.com> + + * config/tc-i386.c (i386_operand): Be prepared for a space between + the open parenthesis and the start of the register operand, + because of the June 16 change. + +Sun Jun 21 21:27:03 1998 Ian Lance Taylor <ian@cygnus.com> + + * config/tc-sh.c (md_apply_fix): Handle weak symbols correctly if + BFD_ASSEMBLER. + +Sun Jun 21 12:26:36 1998 Nick Clifton <nickc@cygnus.com> + + * config/tc-d30v.c (d30v_align): Always perform alignment request, + even if it is belived to be unnecessary. + +Fri Jun 19 13:57:06 1998 Ian Lance Taylor <ian@cygnus.com> + + * write.c (adjust_reloc_syms): Never adjust relocs against weak + symbols. + * config/tc-mips.c (md_apply_fix): Adjust accordingly. + +Fri Jun 19 09:50:17 1998 Jeffrey A Law (law@cygnus.com) + + * config/tc-mn10300.c (mn10300_insert_operand): Do not hardcode the + shift amount for a repeated operand. The shift amount for the + repeated copy comes from the size of the operand. + +Fri Jun 19 00:44:19 1998 Jeffrey A Law (law@cygnus.com) + + * config/tc-h8300.c (get_operand): Fix typos in ldm/stm support. + +Wed Jun 17 13:07:05 1998 Ian Lance Taylor <ian@cygnus.com> + + * config/tc-mips.c (md_show_usage): Fix -mipsN usage. + +Tue Jun 16 13:06:21 1998 Alan Modra <alan@spri.levels.unisa.edu.au> + + * app.c (do_scrub_begin): If tc_symbol_chars is defined, treat all + characters in it as LEX_IS_SYMBOL_COMPONENT. + * config/tc-i386.h (tc_symbol_chars): Define. + (extra_symbol_chars): Declare. + * config/tc-i386.c (extra_symbol_chars): Define. + (comment_chars): Don't use '/' as comment start if TE_LINUX. + (line_comment_chars): Set to '/' if TE_LINUX. + * doc/c-i386.texi (i386-prefixes): Update. + * doc/internals.texi (CPU backend): Document tc_symbol_chars. + +Fri Jun 12 13:36:54 1998 Tom Tromey <tromey@cygnus.com> + + * po/Make-in (all-yes): If maintainer mode, depend on .pot file. + ($(PACKAGE).pot): Unconditionally depend on POTFILES. + +1998-06-12 Vladimir N. Makarov <vmakarov@cygnus.com> + + * config/tc-d10v.c (md_apply_fix3): Checking displacement + constraint in instructions REP & REPI. + +Thu Jun 11 08:56:46 1998 Nick Clifton <nickc@cygnus.com> + + * config/tc-d30v.c (md_apply_fix3): Catch BFD_RELOC_8, + BFD_RELOC_16, BFD_RELOC_64 and issue appropriate error messages. + + (check_range): If the operand is shifted, then shift the number + before checking its range. + + * write.c (adjust_reloc_syms): Add more checks for NULL pointers. + + * config/tc-v850.c (v850_comm): Set SEC_COMMON bit on special + common sections. + +Wed Jun 10 17:26:35 1998 Nick Clifton <nickc@cygnus.com> + + * config/tc-v850.c (v850_comm): Create special sections as needed. + +1998-06-10 Vladimir N. Makarov <vmakarov@cygnus.com> + + * config/tc-d10v.c (write_2_short): Addition of swapping + instructions for sequential and reverse sequential order when + given order is not possible. + +Tue Jun 9 13:52:53 1998 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.am: Rebuild dependencies. + (DEP_INCLUDES): Fix reference to intl build directory. + * Makefile.in: Rebuild. + +Tue Jun 9 12:20:05 1998 Alan Modra <alan@spri.levels.unisa.edu.au> + + * doc/c-i386.texi: Update 16 bit documentation. + + * config/tc-i386.h: Change Data16 to Size16, Data32 to Size32, + IgnoreDataSize to IgnoreSize as they are used for address size as + well as data size. + * config/tc-i386.c: Likewise. Add code to reject addr32/data32 in + 32-bit mode, similarly addr16/data16 and variants. + +Mon Jun 8 18:32:01 1998 Nick Clifton <nickc@cygnus.com> + + * config/tc-d30v.c (md_assemble): Fix handling of reverse + sequential word multiply instructions. + + (do_assemble): Add extra command line argument, to allow mul32 + attribute to be preserved across parallel insns. + (md_assemble): Insert NOPs between explicitly parallel insns which + contain an 32 bit multiply and a 16 multiply. + +Mon Jun 8 12:20:30 1998 Alan Modra <alan@spri.levels.unisa.edu.au> + + * config/tc-i386.c: REPNE renamed to REPNE_PREFIX_OPCODE, and + likewise for REPE. + + * config/tc-i386.c (reloc): Add braces. + + * config/tc-i386.c (struct _i386_insn): Rename bi to sib to be + consistent with Intel naming. + * config/tc-i386.h (base_index_byte): Rename to sib_byte. Don't + use bitfields in sib_byte. + (modrm_byte): Don't use bitfields here either. + + * config/tc-i386.c (current_templates): Add const. + (parse_register): Add const to return, param, and char *s. + (i386_operand): Add const to reg_entry *r. + * config/tc-i386.h (templates): Add const to start, end. + + Inspired by code for 16 bit gas support from Martynas Kunigelis + <martynas@nm3.ktu.lt>: + * config/tc-i386.c (md_assemble): Add full support for 16 bit + modrm, and Jump, JumpByte, JumpDword, JumpInterSegment insns. + (uses_mem_addrmode): Remove. + (md_estimate_size_before_relax): Add support here too. + (md_relax_table): Rewrite interface to md_relax for 16 bit + support. + (BYTE, WORD, DWORD, UNKNOWN_SIZE): Remove. + (opcode_suffix_to_type): Remove. + (CODE16, SMALL, SMALL16, BIG, BIG16): Define. + (SIZE_FROM_RELAX_STATE): Modify to suit above. + (md_convert_frag): Likewise. + (i386_operand): Add support for 16 bit base/index regs, + immediates, and displacements. Remove some unnecessary casts, and + localise end_of_operand_string, displacement_string_start, + displacement_string_end variables. Add GCC_ASM_O_HACK. + * config/tc-i386.h (NO_BASE_REGISTER_16): Define. + + * config/tc-i386.c (prefix_hash): Remove. + (md_begin): Rewrite without obstacks. Remove prefix hash table + handling. Rewrite lexical table handling. + (i386_print_statistics): Don't print prefix statistics. + (md_assemble): Rewrite instruction parser so that line is not + converted to lower case. Don't do a hash_find for prefixes, + instead recognise them via opcode modifier. + (expecting_operand, paren_not_balanced): Localise variables. + * config/tc-i386.h (IsPrefix): Define. + (prefix_entry): Remove. + + * config/tc-i386.h (PREFIX_SEPERATOR): Don't define. + * config/tc-i386.c (PREFIX_SEPARATOR): Define here instead, using + '\\' in case where comment_chars contains '/'. + + * config/tc-i386.c (MATCH): Ensure given operand and template + match for JumpAbsolute. Makes e.g. `ljmp table(%ebx)' invalid; + you must write `ljmp *table(%ebx)'. + + From H.J. Lu <hjl@gnu.org>: + * config/tc-i386.c (BFD_RELOC_16, BFD_RELOC_16_PCREL): Define + as 0 ifndef BFD_ASSEMBLER. + (md_assemble): Allow immediate operands without suffix or + other reg operand to default in size to the current code size. + +Mon Jun 8 09:45:00 1998 Catherine Moore <clm@cygnus.com> + + * config/tc-v850.c (md_begin): Restore creation of + .call_table_text and .call_table_data sections. + +Sat Jun 6 00:02:41 1998 Nick Clifton <nickc@cygnus.com> + + * config/tc-d30v.c (md_assemble): Set execution type to unknown + after emitting a word of noops. + +Fri Jun 5 23:27:04 1998 Alan Modra <alan@spri.levels.unisa.edu.au> + + * config/tc-i386.c (mode_from_disp_size): Disp16 is mode 2. + (i386_operand): Simplify checks for valid base/index combinations. + Disallow `in 4(%dx),%al'. + + * config/tc-i386.c (struct _i386_insn): Make regs, base_reg, and + index_reg const. + (add_prefix): Change parameter from char to int. + + * config/tc-i386.h (Ugh): Define opcode modifier. + * config/tc-i386.c (md_assemble): Print warnings for Ugh insns. + + * config/tc-i386.c (md_assemble): Rewrite MATCH and + CONSISTENT_REGISTER_MATCH macros to check register types more + thoroughly. Check for illegal suffix/operand combinations + when matching insns with operands. Handle new `s' suffix, and + associated FloatMF opcode modifier for float insns with memory + operands. + * config/tc-i386.h (FloatMF): Define new opcode modifier. + (No_sSuf, No_bSuf, No_wSuf, No_lSuf): Likewise. + (SHORT_OPCODE_SUFFIX, LONG_OPCODE_SUFFIX): Define. + * config/tc-i386.c: Rename WORD_PREFIX_OPCODE to + DATA_PREFIX_OPCODE throughout. + + * config/tc-i386.c (REGISTER_WARNINGS): Define. + (md_assemble): Rewrite suffix/register operand checking code to be + more thorough. Remove Abs8,16,32. Change occurrences of Mem to + AnyMem, the better to grep. + (pi): Remove Abs. + (i386_operand): Don't set Mem bits in i.types[this_operand] when + given a memory operand. Don't set Abs bits either. + (type_names): Remove Mem*, Abs*. + * config/tc-i386.h (Mem8, Mem16, Mem32, Abs8, Abs16, Abs32): Don't + define opcode_modifiers as these cases are handled by Disp8, + Disp16, Disp32 and suffix checks. + (COMES_IN_BOTH_DIRECTIONS): Remove. + (FloatR): Define. It's OK to share the bit with ReverseRegRegmem. + + * config/tc-i386.c (md_assemble): Don't emit operand size prefix + if IgnoreDataSize modifier given. Remove ShortformW modifier + test. Add test for ShortForm in W base_opcode modification. + Merge Seg2ShortForm and Seg3ShortForm code. + * config/tc-i386.h (ShortFormW): Remove. + (IgnoreDataSize): Define. + +Fri Jun 5 10:50:53 1998 Nick Clifton <nickc@cygnus.com> + + * config/tc-d30v.c (md_assemble): Store previous segment state + with previous instruction. + +Wed Jun 3 18:21:56 1998 Alan Modra <alan@spri.levels.unisa.edu.au> + + * config/tc-i386.c (SCALE1_WHEN_NO_INDEX): Define. + (ebp, esp): Remove static variables. + (MATCH): Remove test for InOutPortReg. + (i386_operand): Properly handle InOutPortReg here instead. + Disallows `inb (%dx,2)', `inb %es:(%dx)' and `mov (%dx),%ax' + (md_assemble): Simplify and correct modrm and sib generation. + (i386_operand): Add warning for scale without index. + Rewrite checks for valid base/index combinations. + + * config/tc-i386.c (END_STRING_AND_SAVE): Protect arguments of + macros and enclose in do while(0). + (RESTORE_END_STRING): Likewise. + (md_assemble): Add one to printed operand number so we start + from 1 not 0. Add some more gettext invocations. + (i386_operand): Fix `%%s' -> `%%%s'. Inc printed operand + number here too. + + * config/tc-i386.h (WAIT_PREFIX, LOCKREP_PREFIX, ADDR_PREFIX, + DATA_PREFIX, SEG_PREFIX): Define. + * config/tc-i386.c (struct _i386_insn): Remove wait_prefix field. + (check_prefix): Remove function. + (add_prefix): New function. Add prefix to i.prefix as well as + doing checks. + (md_assemble): Changes for add_prefix. Remove hack for wait + prefix, instead always output prefixes in fixed order. Test + for jcxz/loop when selecting between word & dword operations, + and add address size prefix rather than operand size prefix. + Remove operand -> address size hack when emitting jcxz/loop. + (i386_operand): Remove O_Absent check as it's done in expr. + +Wed Jun 3 15:09:10 1998 Ian Lance Taylor <ian@cygnus.com> + + * configure.in: Recognize m5200 as a cpu_type of m68k. + * aclocal.m4: Rebuild with current libtool. + * configure: Rebuild. + +Wed Jun 3 14:11:59 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * config/tc-m68k.c (md_estimate_size_before_relax): Add more calls + to relaxable_symbol to prevent references to external symbol from + being relaxed. + +Wed Jun 3 14:10:36 1998 Ian Lance Taylor <ian@cygnus.com> + + * config/tc-m68k.c (relaxable_symbol): If TARGET_OS is "elf", all + symbols are relaxable. + +Wed Jun 3 09:16:00 1998 Catherine Moore <clm@cygnus.com> + + * config/tc-v850.c (md_begin): Don't create special + sections by default. + +Tue Jun 2 14:52:56 1998 Jeffrey A Law (law@cygnus.com) + + * config/tc-mips.c (macro): For div and udiv, close the + reorder block as soon as possible. + +Tue Jun 2 15:36:13 1998 Ian Lance Taylor <ian@cygnus.com> + + From Matt Semersky <matts@scd.hp.com>: + * macro.c (macro_mri_mode): New function. + * macro.h (macro_mri_mode): Declare. + * read.c (s_mri): Call macro_mri_mode when switching in and out of + MRI mode. + +Tue Jun 2 13:32:22 1998 Klaus Kaempf <kkaempf@progis.de> + + * config/tc-alpha.c (s_alpha_comm): Allow alignment parameter in + OBJ_EVAX case. + + * config/tc-alpha.c (s_alpha_comm): Defer restoring character + until after xstrdup in OBJ_EVAX case. + +Tue Jun 2 13:11:13 1998 Pat Rankin <rankin@eql.caltech.edu> + + * config/tc-vax.c (md_create_short_jump): Fix off by two bug in + offset calculation. Also, use VAX_BRW from vax-inst.h instead + of hardcoded magic number. + (md_create_long_jump): Use VAX_JMP and VAX_ABSOLUTE_MODE macros. + +Tue Jun 2 09:25:34 1998 Doug Evans <devans@canuck.cygnus.com> + + * read.c (do_s_func): New function. + (s_func): Call it. + * read.h (do_s_func): Add prototype. + +Mon Jun 1 12:47:30 1998 Doug Evans <devans@canuck.cygnus.com> + + * config/tc-m32r.c (m32r_do_align): Only fill code sections with + nops if fill pattern not specified. + +Mon Jun 1 14:08:35 1998 Ian Lance Taylor <ian@cygnus.com> + + From Andrew Crabtree <andrewc@typhoon.rose.hp.com>: + * config/te-go32.h (TE_GO32): Define. + * config/tc-i386.h (LOCAL_LABEL): Don't define if TE_GO32. + +Sun May 31 15:43:06 1998 Doug Evans <devans@canuck.cygnus.com> + + Implement .func/.endfunc pseudo-ops. + * read.h (stabs_generate_asm_func,stabs_generate_asm_endfunc): Declare. + (s_func): Declare. + * read.c (potable): Add .func,.endfunc. + (s_func): New function. + * stabs.c (stabs_generate_asm_func,stabs_generate_asm_endfunc): New + functions. + (in_doc_func_p,current_function_label): New static globals. + (stabs_generate_asm_lineno): Emit function relative stabs if in .func. + +Fri May 29 18:13:12 1998 Ian Lance Taylor <ian@cygnus.com> + + * config/tc-a29k.h (WORKING_DOT_WORD): Define. + * config/tc-alpha.h (WORKING_DOT_WORD): Define. + * config/tc-arm.h (WORKING_DOT_WORD): Define. + * config/tc-h8300.h (WORKING_DOT_WORD): Define. + * config/tc-h8500.h (WORKING_DOT_WORD): Define. + * config/tc-hppa.h (WORKING_DOT_WORD): Define. + * config/tc-i860.h (WORKING_DOT_WORD): Define. + * config/tc-i960.h (WORKING_DOT_WORD): Define. + * config/tc-tic30.h (WORKING_DOT_WORD): Define. + * config/tc-w65.h (WORKING_DOT_WORD): Define. + * config/tc-z8k.h (WORKING_DOT_WORD): Define. + * config/tc-a29k.c: Don't define md_short_jump_size, + md_long_jump_size, md_create_short_jump or md_create_long_jump. + * config/tc-alpha.c: Likewise. + * config/tc-alpha.h: Likewise. + * config/tc-arm.c: Likewise. + * config/tc-h8300.c: Likewise. + * config/tc-h8500.c: Likewise. + * config/tc-hppa.c: Likewise. + * config/tc-i860.c: Likewise. + * config/tc-i960.c: Likewise. + * config/tc-ppc.c: Likewise. + * config/tc-sh.c: Likewise. + * config/tc-sparc.h: Likewise. + * config/tc-tic30.c: Likewise. + * config/tc-w65.c: Likewise. + * config/tc-z8k.c: Likewise. + +Fri May 29 16:03:26 1998 Pat Rankin <rankin@eql.caltech.edu> + + * config/tc-vax.c (_): Delete this macro used for placeholder + values in vax_operand_width_size; it conflicts with the _() macro + used for internationalization. + +Fri May 29 13:46:07 1998 Ian Lance Taylor <ian@cygnus.com> + + * symbols.c (symbol_find_base): Fix case insensitive symbol name + code. From Chris Moller <moller@bops.com>. + + Based on patch from Klaus Kaempf <kkaempf@progis.de>: + * struc-symbol.h (struct broken_word): Add seg and subseg fields. + * read.c (emit_expr): Initialize seg and subseg fields of a new + broken word. + * write.c (write_object_file): Switch to the appropriate segment + and subsegment when processing a broken word. + + * config/tc-m68k.c (mri_assemble): New static function. + (build_mri_control_operand): Call mri_assemble rather than + md_assemble. + (s_mri_else, s_mri_break, s_mri_next, s_mri_for): Likewise. + (s_mri_endf, s_mri_endw): Likewise. + +Wed May 27 11:16:25 1998 Ian Lance Taylor <ian@cygnus.com> + + * read.c (s_org): Call md_flush_pending_output if it is defined. + + * config/tc-sparc.c (md_show_usage): Add \n\ to new string. + +Tue May 26 19:27:52 1998 Stan Cox <scox@equinox.cygnus.com> + + * config/tc-sparc.c (OPTION_LITTLE_ENDIAN_DATA): New. + (md_parse_option): Add for same. + (sparc_md_end): Set bfd_mach_sparc_sparclite_le. + (md_apply_fix3, tc_gen_reloc): Allow BFD_RELOC_SPARC_32LE. + (cons_fix_new_sparc): Added to create BFD_RELOC_SPARC_32LE. + + * config/tc-sparc.h (cons_fix_new_sparc): Added. + +Thu May 21 15:02:41 1998 Nick Clifton <nickc@cygnus.com> + + * config/tc-arm.c (find_real_start): Relax definition of local + labels. + +Tue May 19 16:59:44 1998 Nick Clifton <nickc@cygnus.com> + + * config/tc-d30v.c (d30v_align): Apply address adjustment to all + symbols at the given address, not just the last one specified. + +Tue May 19 08:25:19 1998 Catherine Moore <clm@cygnus.com> + + * config/tc-sparc.c (sparc_handle_align): Use number_to_chars_bigendian + or number_to_chars_littleendian to write data. + +Mon May 18 17:09:30 1998 Nick Clifton <nickc@cygnus.com> + + * config/tc-v850.c (md_assemble): Remove artificially created + register name symbols. + +Mon May 18 13:47:06 1998 Doug Evans <devans@canuck.cygnus.com> + + * write.c (fixup_segment): Change "segment" to "section" in + error message. + +Mon May 18 16:55:40 1998 Michael Meissner <meissner@cygnus.com> + + * write.c (fixup_segment): Change sym1-sym2 message again. + +Mon May 18 09:31:43 1998 Michael Meissner <meissner@cygnus.com> + + * write.c (fixup_segment): Improve error message for sym1-sym2 + errors when sym1 is in a different segment from sym2. + +Wed May 13 10:16:37 1998 Doug Evans <devans@canuck.cygnus.com> + + * config/tc-m32r.c (warn_unmatched_high): New static local. + (OPTION_WARN_PARALLEL): Rename from OPTION_WARN. + (OPTION_NO_WARN_PARALLEL): Rename from OPTION_NO_WARN. + (md_longopts): Recognize --{no-,}warn-unmatched-high. + (md_parse_option): Likewise. + (md_show_usage): Likewise. + (m32r_frob_file): Likewise. + + * read.c (generate_file_debug,generate_lineno_debug): New functions. + (read_a_source_file): Call them. + * read.h (stabs_generate_asm_file): Declare. + * stabs.c (stabs_generate_asm_file): New function. + (generate_asm_file): New function. + (stabs_generate_asm_lineno): Move file name handling into + generate_asm_file. + +Tue May 12 12:03:44 1998 Richard Henderson <rth@cygnus.com> + + * config/tc-d30v.c (cur_mul32_p, prev_mul32_p): Make static. + (d30v_current_align, d30v_current_align_seg): New variables. + (d30v_last_label): New variable. + (d30v_align, s_d30v_align, s_d30v_text): New functions. + (s_d30v_data, s_d30v_section): Likewise. + (md_pseudo_table): Call them. + (md_begin): Initialize d30v_current_align_seg. + (md_assemble): Call d30v_align when needed by known current alignment. + (d30v_frob_label, d30v_cons_align): New functions. + * config/tc-d30v.h (md_do_align): Remove. + (tc_frob_label): Call d30v_frob_label. + (md_cons_align): New. + + * config/tc-d30v.c (find_format): Convert complex expressions to + expression symbols before processing. Clean up code formatting. + +Sun May 10 22:35:02 1998 Jeffrey A Law (law@cygnus.com) + + * po/Make-in (install-info): New target. + +Thu May 7 15:49:07 1998 Jeffrey A Law (law@cygnus.com) + + * config/tc-mn10200.c (md_assemble): Handle "bra" just like "jmp" + instructions. + * config/tc-mn10300.c (md_assemble): Likewise. + +Thu May 7 11:47:22 1998 Doug Evans <devans@canuck.cygnus.com> + + * Makefile.am: Update with `make dep-am'. + (HFILES): Add cgen.h. + (cgen.o): Depend on cgen.h. + * Makefile.in: Regenerate. + + * cgen.c (cgen_md_apply_fix3): Don't pass newline to as_warn_where. + +Thu May 7 13:20:56 1998 Anders Blomdell <anders.blomdell@control.lth.se> + + * gasp.c (grab_label): Permit a label to be a preprocessor + variable by permitting a label to start with a backslash. + +Thu May 7 12:50:33 1998 Frank Ch. Eigler <fche@cygnus.com> + + * config/tc-mips.c (validate_mips_insn): Removed hack + for previously inaccessible bitfields in some INSN_TRAP + instructions. + +Thu May 7 11:13:00 1998 Frank Ch. Eigler <fche@cygnus.com> + + * config/tc-d30v.c (do_assemble): Abort with error message + if opcode operands do not match. + +Thu May 7 09:36:06 1998 Frank Ch. Eigler <fche@cygnus.com> + + * config/tc-mips.c (macro_build, validate_mips_insn): Implement + 'q' operand format for 20-bit "break"/"sdbbp" instructions. + (mips_ip): Truncate overflowed "break" 'c' operand. Implement + similar new 'q' operand. + +Thu May 7 07:47:14 1998 Michael Meissner <meissner@cygnus.com> + + * cgen.c (cgen_asm_finish_insn): Fix typo. + +Thu May 7 02:19:14 1998 Doug Evans <devans@charmed.cygnus.com> + + * cgen.h: New file. + * cgen.c: Include it. + (MAX_FIXUPS): Renamed to CGEN_MAX_FIXUPS. + (cgen_asm_finish_insn): Result is now void. New arg `result'. + All callers updated. + * config/tc-m32r.c: Include cgen.h. + (m23r_insn): New members num_fixups,fixups. + +Wed May 6 16:29:19 1998 Jeffrey A Law (law@cygnus.com) + + * config/tc-hppa.c (md_apply_fix): Slightly rework some code + to avoid compiler warning. + +Wed May 6 15:26:34 1998 Klaus Kaempf <kkaempf@progis.de> + + * makefile.vms: Run dec c with /nodebug. Pass CC value when + calling make. + + * makefile.vms (OBJS): Add ehopt.obj + +Wed May 6 15:11:12 1998 Klaus Kaempf <kkaempf@progis.de> + + * doc/c-vax.texi: Correct and extend vax/vms documentation. + +Wed May 6 11:51:51 1998 Richard Henderson <rth@cygnus.com> + + * config/tc-d30v.c (do_assemble): Accept a new parameter requesting + a short format insn. + (md_assemble): Set it for explicitly packed insns. + +Tue May 5 13:23:13 1998 Nick Clifton <nickc@cygnus.com> + + * config/obj-coff.c (c_symbol_merge): Do not take address of + native fields when performing the memcpy. + +Tue May 5 13:10:41 1998 Gavin Koch <gavin@cygnus.com> + + * config/tc-mips.c (macro,macro2): Implement + M_DMULO_I, M_MULO_I, M_DMULOU_I, and M_MULOU_I. + +Mon May 4 17:49:14 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * config/tc-m68k.h (TC_RELOC_RTSYM_LOC_FIXUP): Changed to keep + relocations against globally visible symbols. + * config/tc-m68k.c (relaxable_symbol): New macro. + (m68k_ip, md_estimate_size_before_relax): Use it. + (tc_m68k_fix_adjustable): Also handle weak symbols. + +Mon May 4 16:12:23 1998 Ian Lance Taylor <ian@cygnus.com> + + * config/tc-i386.h (TC_RELOC_RTSYM_LOC_FIXUP): Keep relocs for all + references to externally visible symbols. + * config/tc-i386.c (md_apply_fix3): When OBJ_ELF, don't add the + values in twice for a PC relative reloc if the symbol is + externally defined. + + * config/tc-sparc.h (tc_fix_adjustable) [OBJ_AOUT]: When PIC, + don't adjust a PC relative reloc against an externally visible + symbol. + * config/tc-sparc.c (md_apply_fix3): When generating a.out PIC, + for a PC relative fixup against an externally visible defined + symbol, arrange to store object file and addend values as though + the symbol were not defined. + (tc_gen_reloc): Likewise. + +Thu Apr 30 13:09:39 1998 Fred Fish <fnf@ninemoons.com> + + * read.c (sizeof_leb128): Referenced externally by write.c so + don't inline. + +Wed Apr 29 15:45:57 1998 Michael Meissner <meissner@cygnus.com> + + * config/tc-m32r.c ({,expand_}debug_sym): New functions to record + and expand a 'debug' symbol associated with the next instruction + that does not cause a short instruction to be filled with a NOP. + (md_pseudo_table): Add support for .debugsym. + (assemble_parallel_insn): Add calls to expand_debug_sym as + appropriate. + (md_assemble): Ditto. + +Tue Apr 28 19:16:26 1998 Tom Tromey <tromey@cygnus.com> + + * as.c (main): Conditionally call setlocale. + * gasp.c (main): Likewise. + * asintl.h: Include <locale.h> if HAVE_LOCALE_H. + (LC_MESSAGES): Now can be defined even when ENABLE_NLS. + +Tue Apr 28 18:33:23 1998 Frank Ch. Eigler <fche@cygnus.com> + + * config/tc-d30v.c (md_show_usage): Correct gettext typo. + +Tue Apr 28 12:16:30 1998 Ian Lance Taylor <ian@cygnus.com> + + * config/tc-hppa.c: Change all calls to bzero to use memset. + (pa_ip): Add cast to avoid warning. + (tc_gen_reloc, md_apply_fix): Likewise. + (pa_find_space_by_number): Likewise. + (hppa_force_relocation): Likewise. + (pa_block): Change i to unsigned int. + * config/obj-som.h (obj_som_copyright): Declare. + +Tue Apr 28 11:35:56 1998 Frank Ch. Eigler <fche@cygnus.com> + + * ecoff.c (ecoff_build_lineno): Do not use dummy first_lineno + for line numbers for assembly source. + +Mon Apr 27 15:58:46 1998 Ian Lance Taylor <ian@cygnus.com> + + * configure.in: Change version number to 2.9.4 + * configure: Rebuild. + +Mon Apr 27 12:07:33 1998 Doug Evans <devans@seba.cygnus.com> + + * cgen.c (cgen_asm_finish_insn): New arg relax_p. All callers updated. + +Mon Apr 27 15:16:12 1998 Ian Lance Taylor <ian@cygnus.com> + + * ecoff.h: Change symbolS in function declaration to struct + symbol. + +Sun Apr 26 13:44:22 1998 Ian Lance Taylor <ian@cygnus.com> + + * config/tc-sh.c (parse_reg): Add casts to avoid warnings. + (md_convert_frag): Fix i18n typo. + +Sat Apr 25 20:12:02 1998 Richard Henderson <rth@cygnus.com> + + * ecoff.c (ecoff_get_cur_proc_sym): New function. + * ecoff.h: Protoype it. + * config/tc-alpha.c [ELF] (s_alpha_prologue): New function. + [EVAX] (s_alpha_prologue): Delete. + (md_pseudo_table): Update. + +Sat Apr 25 14:00:52 1998 Ian Lance Taylor <ian@cygnus.com> + + * config/tc-i960.c (md_assemble): Change bp_error_msg from static + array to local pointer. + (get_args, parse_expr): Add casts to avoid warnings. + +Fri Apr 24 12:47:42 1998 Philippe De Muyter <phdm@macqel.be> + + * read.c (s_set): Cast xmalloc return value to fragS *. + * config/tc-m68k.c (m68k_ip): Function made static to match + previous forward declaration. + (insert_reg, init_regtable, md_convert_frag_1): Likewise. + +Fri Apr 24 09:26:46 1998 Nick Clifton <nickc@cygnus.com> + + * config/tc-v850.c: Add internationalisation macros to error + strings. + + * config/tc-m32r.c (can_make_parallel): Add internationalisation + macros to error strings. + +Thu Apr 23 19:23:23 1998 Ian Lance Taylor <ian@cygnus.com> + + * config/tc-ppc.c (ppc_fix_adjustable): Correct test of whether a + reloc is in the TOC csect. + (md_apply_fix3): Correct gettext typo. + +Thu Apr 23 14:58:31 1998 Nick Clifton <nickc@cygnus.com> + + * config/tc-arm.c (find_real_start): Ignore symbols starting with + .L - they are local labels and the branches are not really + function calls but rather far jumps. + +Wed Apr 22 15:57:21 1998 Tom Tromey <tromey@cygnus.com> + + * po/Make-in (MKINSTALLDIRS): Don't look in $(top_srcdir). + +Wed Apr 22 14:52:36 1998 Ian Lance Taylor <ian@cygnus.com> + + * config/tc-i386.c (md_assemble): Print operand number rather than + using ordinal_names. + (i386_operand): Likewise. + +Tue Apr 21 22:34:25 1998 Tom Tromey <tromey@scribbles.cygnus.com> + + * Makefile.am (INTLLIBS): Define to work around apparent automake + bug. + All Makefiles: Regenerated. + + * Many files: Added gettext invocations around user-visible + strings. + * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY, + HAVE_LC_MESSAGES): Define. + * dep-in.sed: Added asintl.h. + * po/Make-in: New file. + * gasp.c (main): Call setlocale, bindtextdomain, and textdomain. + Include "asintl.h". + * read.c (Z_): Renamed from `_'. + * Makefile.am (SUBDIRS): Added po. + (POTFILES): new macro. + (po/POTFILES.in): New target. + ($(OBJS)): Added asintl.h. + (HFILES): Likewise. + (INCLUDES): Added -DLOCALEDIR, -I$(top_srcdir)/../intl. + (as_new_LDADD): Added $(INTLLIBS). + (as_new_DEPENDENCIES): Added $(INTLDEPS). + (gasp_new_LDADD): Added $(INTLLIBS). + (gasp_new_DEPENDENCIES): New macro. + * configure, aclocal.m4: Rebuilt. + * configure.in: Call CY_GNU_GETTEXT. Generate po/Makefile.in and + po/Makefile. + (ALL_LINGUAS): Define. + * macro.c: Include "asintl.h". + * as.c (main): Call setlocale, bindtextdomain, and textdomain. + * as.h: Include "asintl.h". + * config/tc-i386.c (ordinal_names): Removed. + (md_assemble): Changed error text to avoid ordinal_names. + (i386_operand): Likewise. + (reloc): Added as_bad to avoid i18n problems. + (tc_gen_reloc): Likewise. + * config/tc-arm.c (bad_args): Now a #define. + (bad_pc): Likewise. + * config/obj-vms.c (VMS_stab_parse): Changed type of + `long_const_msg'. + (global_symbol_directory): Unified strings to avoid i18n + problems. + * config/tc-m68k.c (get_reloc_code): Added some as_bad calls to + avoid i18n problems. + * config/tc-ns32k.c (reloc): Added as_bad to avoid i18n problems. + * config/tc-ppc.c (md_apply_fix3): Added as_bad_where to avoid + i18n problems. + * config/tc-sh.c (md_convert_frag): Added as_bad to avoid i18n + problems. + * config/tc-v850.c (md_assemble): Changed C++ comment into C + comment. + * config/tc-vax.c (md_assemble): Added as_warn to avoid i18n + problems. + * as.c (print_version_id): Added an fprintf to avoid i18n + problems. + * cond.c (cond_finish_check): Added as_bad call to avoid i18n + problems. + * expr.c (expr): Added as_warn call to avoid i18n problems. + * messages.c (as_assert): Changed code to avoid i18n problems. + (as_abort): Likewise. + * read.c (pseudo_set): Added as_bad call to avoid i18n problems. + (s_space): Likewise. + * po/Make-in, po/POTFILES.in, po/gas.pot: New files. + +Tue Apr 21 17:01:22 1998 Alan Modra <alan@spri.levels.unisa.edu.au> + + * config/tc-i386.c (check_prefix): New static function, split out + from md_assemble. + (struct _i386_insn): Add wait_prefix field. + (md_assemble): Remove wait_prefix local variable. Use + check_prefix when adding a prefix. + + * config/tc-i386.c (current_templates): New static variable. + (md_assemble): Remove current_templates local variable. + (md_assemble, i386_operand): Improve error and warning messages in + many places. Add RESTORE_END_STRING in many places before error + return. Clarify some comments. + + * config/tc-i386.c (struct _i386_insn): Change seg field to a two + element array. + (md_assemble): Parse string instruction operands, looking for + segment override prefixes. Check for invalid segment prefixes on + string instruction. + (i386_operand): i.seg[] and max mem_operand changes for string + insns. + * config/tc-i386.h (EsSeg): Define. + + * config/tc-i386.h (regKludge): Define. + (iclrKludge, imulKludge): Don't define. + * config/tc-i386.c (md_assemble): Merge imulKludge and iclrKludge + code. Move ReverseRegRegmem fudges into Modrm case. Reorder + opcode_modifier checks to look for more common cases first. Add + default_seg for IsString case. + +Tue Apr 21 16:18:12 1998 Ian Lance Taylor <ian@cygnus.com> + + * configure.in: Call AM_PROG_LEX rather than AC_PROG_LEX and + AC_DECL_YYTEXT. + * configure: Rebuild with new automake and libtool. + * aclocal.m4, Makefile.in: Likewise. + + * doc/Makefile.am (as.dvi): New target. + * doc/Makefile.in: Rebuild. + +Sat Apr 18 01:21:04 1998 Stan Cox <scox@cygnus.com> + + * configure.in: Added sparc86x support. + + * configure: Rebuild. + + * config/tc-sparc.c (lookup_arch): Added arch_type to struct + sparc_arch. + (md_parse_option): Warn if -EL is not supported for this architecture. + + * config/tc-sparc.h (SPARC_BIENDIAN) Always define. + +Sat Apr 18 01:19:01 1998 Jeffrey A Law (law@cygnus.com) + + * config/tc-mips.c (mips_ip): Note when we use get match on + the full instruction name. + +Wed Apr 15 15:17:27 1998 Richard Henderson <rth@cygnus.com> + + * symbols.c (resolve_symbol_value) [O_symbol]: Also store the symbol + back into the expression to handle add/sub simplification correctly. + +Wed Apr 15 07:06:04 1998 Catherine Moore <clm@cygnus.com> + + * config/tc-mips.c (hilo_interlocks): Remove 4300. + +Mon Apr 13 16:51:04 1998 Nick Clifton <nickc@cygnus.com> + + * config/tc-arm.c (do_msr): Support undocumented 'msr cpsr_flg, + #<n>' instruction. + +Thu Apr 9 10:29:42 1998 Doug Evans <devans@canuck.cygnus.com> + + * symbols.c (max_indent_level): New global. + (print_symbol_value_1): Use it. + * expr.h (expr_build_dot): Declare. + * expr.c (expr_build_dot): New function. + +Wed Apr 8 16:16:11 1998 Doug Evans <devans@canuck.cygnus.com> + + * symbols.c (print_binary): New function. + (print_expr_1): Call it. + +Mon Apr 6 12:06:39 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * config/tc-m68k.c (m68k_ip, case "#B"): Install the offset of the + operand in the opcode. + +Fri Apr 3 11:58:19 1998 Alan Modra <alan@spri.levels.unisa.edu.au> + + * config/tc-i386.h: Reorder operand flags and opcode modifier + flags for clarity. Remove unused definitions: Unknown, + ImmUnknown, DispUnknown, NoModrm. + * config/tc-i386.c (type_names): Add missing Debug type. + (md_assemble): Better duplicate prefix checking. Quicker string + instruction check via new opcode_modifier flag. + +Fri Apr 3 11:44:34 1998 Ian Lance Taylor <ian@cygnus.com> + + * doc/as.texinfo (Invoking): Clarify -Wa example. + +Fri Apr 3 09:12:23 1998 Gavin Koch <gavin@cetus.cygnus.com> + + * config/tc-mips.c (mips_pseudo_table): Add weakext entry. + (s_mips_weakext): Define. + * ecoff.c (ecoff_directive_weakext): Don't define if defined(TC_MIPS). + * config/obj-ecoff.c (obj_pseudo_table): Don't add weakext if + defined(TC_MIPS). + +Thu Apr 2 22:42:02 1998 Jeffrey A Law (law@cygnus.com) + + * config/tc-mn10200.c (tc_gen_reloc): The difference of two symbols + is an error if the value can not be computed at assembly time. + * config/tc-mn10300.c (tc_gen-reloc): Likewise. + +Thu Apr 2 16:36:47 1998 Ian Lance Taylor <ian@cygnus.com> + + * gasp.c (main): Set next field of new include_path structure to + NULL. From Avery Pennarun <averyp@gdc.ca>. + + * read.c (s_mri_sect): Call as_bad rather than abort for an + unsupported MRI target. + +Wed Apr 1 11:08:27 1998 Nick Clifton <nickc@cygnus.com> + + * config/tc-arm.c (arm_validate_fix): New function. Determine if + the destination of a branch instruction should be altered. + (find_real_start): New function: Locate the real, Thumb coded + start of a Thumb function. + (do_t_branch23): Alter the destination of branches to Thumb + functions. + + * config/tc-arm.h: Define TC_VALIDATE_FIX. + +Tue Mar 31 13:27:33 1998 Dean M. Deaver <deaver@amt.tay1.dec.com> + + * config/tc-arm.c (decode_shift): Handle addressing mode 2 w/rrx + also. + +Wed Apr 1 13:13:20 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * doc/as.texinfo: Use @itemx for a secondary item in a table. + * doc/c-hppa.texi: Likewise. + +Tue Mar 31 17:52:40 1998 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.am: Rebuild dependencies. + * Makefile.in: Rebuild. + + * Makefile.am (DEP_INCLUDES): New variable. + (.dep1): Change to work when srcdir is not an absolute path. + (.tcdep, .objdep, .dep2, dep.sed): Likewise. + * Makefile.in: Rebuild. + +Mon Mar 30 12:46:48 1998 Ian Lance Taylor <ian@cygnus.com> + + * config/tc-i386.h, config/tc-i386.c: Revert March 24 + LinearAddress patch. + + * configure.in: Set version to 2.9.1. + * configure: Rebuild. + + * Branched binutils 2.9. + +Mon Mar 30 11:22:08 1998 Alan Modra <alan@spri.levels.unisa.edu.au> + + * config/tc-i386.h (FWait): Define. + * config/tc-i386.c (md_assemble): Emit fwait prefix before any + other prefixes. Check FWait flag in opcode table to see which + instructions require an fwait prefix. + +Mon Mar 30 10:12:00 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * stabs.c (get_stab_string_offset): Always create a stab string + section. + +Sat Mar 28 22:28:02 1998 Ian Lance Taylor <ian@cygnus.com> + + Fix some gcc -Wall warnings: + * atof-generic.c (atof_generic): Add casts to avoid warnings. + * ehopt.c (eh_frame_code_alignment): Likewise. + * expr.c (integer_constant, operand): Likewise. + * frags.c (frag_align): Likewise. + * gasp.c (level_0, change_base, doinstr): Likewise. + * hash.c (hash_ask): Likewise. + * listing.c (listing_page, calc_hex, print_lines): Likewise. + (debugging_pseudo): Likewise. + * macro.c (define_macro, check_macro): Likewise. + * read.c (read_a_source_file, s_align, s_float_space): Likewise. + (ignore_rest_of_line, float_cons): Likewise. + * symbols.c (decode_local_label_name): Likewise. + * write.c (record_alignment, cvs_frag_to_fill): Likewise. + (fixup_segment, number_to_chars_bigendian): Likewise. + (number_to_chars_littleendian): Likewise. + * config/atof-ieee.c (gen_to_words): Likewise. + * config/tc-sparc.c (md_begin, md_assemble): Likewise. + (sparc_ip, parse_keyword_arg, s_common): Likewise. + * read.c (output_big_sleb128): Initialize locals to avoid + warnings. + (output_big_uleb128, equals): Likewise. + * atof-generic.c (atof_generic): Change number_of_digits_* locals + to unsigned int. Change zeros to unsigned int. + * cond.c (s_if): Add return to default case. + * frags.c (frag_now_fix): Change return type to addressT. + * frags.h (frag_now_fix): Update declaration. + * listing.c (file_info_struct): Change linenum to unsigned int. + (struct list_info_struct): Change hll_line to unsigned int. + (print_source): Update format string. + * read.c (emit_expr): Change scan to unsigned int, and don't + bother to initialize it. + * symbols.c (dollar_label_count): Change to unsigned long. + * write.c (adjust_reloc_syms): Remove unused label reduce_fixup. + * config/tc-sparc.c (sparc_memory_model): Only define if OBJ_ELF. + * config/tc-sparc.c (tc_gen_reloc): Add return to default case. + +Fri Mar 27 12:46:47 1998 Ian Lance Taylor <ian@cygnus.com> + + * config/tc-m68k.c (m68k_ip): Check legal addressing modes for + mcf5200 just as we do for m68000. + (m68k_init_after_args): Likewise. + (md_estimate_size_before_relax): Likewise. + +Fri Mar 27 10:30:01 1998 Catherine Moore <clm@cygnus.com> + + * config/tc-v850.c (md_assemble): Store relocation addend in + fixup instead of instruction. + +Thu Mar 26 23:07:18 1998 Alan Modra <alan@spri.levels.unisa.edu.au> + + * config/tc-i386.c (md_assemble): Swap template arguments to + CONSISTENT_REGISTER_MATCH macro in reverse direction test. + This macro is currently symmetric, so passing them the wrong + way didn't cause any problem, but may if the macro is changed + in the future. + After copying template to i.tm, use i.tm. rather than t-> to + access fields, and make t a const* + Move i.tm.operand_types[] swap to immediately after the copy. + +Wed Mar 25 13:44:18 1998 Doug Evans <devans@canuck.cygnus.com> + + * expr.h (expr_build_uconstant): Add prototype. + (expr_build_unary,expr_build_binary): Add prototypes. + * expr.c (expr_build_uconstant): New function. + (expr_build_unary,expr_build_binary): New functions. + +Wed Mar 25 13:10:42 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de> + + * gasp.c (IS*): Cast argument to unsigned char, not unsigned int. + * macro.c (macro_expand_body): Increase buffer size. + * messages.c (as_warn): Likewise. + (as_warn_where, as_bad, as_bad_where): Likewise. + +Wed Mar 25 12:59:07 1998 Ian Lance Taylor <ian@cygnus.com> + + Based on patch from H.J. Lu <hjl@gnu.org>: + * Makefile.am (DISTSTUFF): New variable. + (diststuff): New target. + * Makefile.in: Rebuild. + +Tue Mar 24 16:51:29 1998 Nick Clifton <nickc@cygnus.com> + + * config/tc-m32r.h (md_cleanup, md_elf_section_change_hook): Call + m32r_elf_section_change_hook. + + * config/tc-m32r.c (m32r_elf_section_change_hook): New function to + emit a nop if a section ends with a 16 bit instruction. + +Tue Mar 24 19:48:09 1998 Ian Lance Taylor <ian@cygnus.com> + + * config/obj-coff.c (obj_coff_bss): Compile unconditionally. Call + s_lcomm rather than obj_coff_lcomm. + (obj_pseudo_table): Compile .bss pseudo-op unconditionally. + +Tue Mar 24 18:30:58 1998 H.J. Lu <hjl@gnu.org> + + * config/tc-i386.h (LinearAddress): Define. + * config/tc-i386.c (md_assemble): If LinearAddress is set for the + instruction, don't use a default segment. + +Mon Mar 23 18:53:40 1998 Joel Sherrill <joel@OARcorp.com> + + * configure.in: (sh*-*-rtems*): Switched from ELF to COFF. + * configure: Rebuild. + +Fri Mar 20 19:15:44 1998 Ian Lance Taylor <ian@cygnus.com> + + * aclocal.m4, configure: Rebuild with libtool 1.2. + +Thu Mar 19 16:03:12 1998 Nick Clifton <nickc@cygnus.com> + + * config/tc-arm.c (md_apply_fix3): fix code to test the range of + PC relative branches. Patch courtesy of Jonathan Walton. + + +Wed Mar 18 09:29:51 1998 Nick Clifton <nickc@cygnus.com> + + * configure.in (emulations): Add thumb-pe target. + + * configure (emulations): Add thumb-pe target. + +1998-03-17 Ken Raeburn <raeburn@cygnus.com> + + * itbl-lex.l (yywrap): Don't define if already defined as a + macro. + +Fri Mar 13 16:31:38 1998 Tom Tromey <tromey@cygnus.com> + + * depend.c (quote_string_for_make): New function. + (wrap_output): Use it. + +Thu Mar 12 18:28:22 1998 Nick Clifton <nickc@cygnus.com> + + * config/obj-elf.c (obj_elf_section): Set bss flag in seg_info + structure if type is SHT_NOBITS. [Bug fix courtesy of rth] + +Sat Feb 28 17:28:55 1998 Richard Henderson <rth@cygnus.com> + + * config/tc-alpha.c (md_shortopts, md_longopts, md_parse_option): + Recognize -GN and -relax. + (md_begin): Initialize gp size from -G switch. + (alpha_force_relocation): Always force if -relax. + (alpha_align): Take a new argument that will specify when to + emit an R_ALPHA_ALIGN relocation (though we don't do that now). + Change all callers. Emit nop alignment padding as nop+unop pair. + +Sat Feb 28 17:06:22 1998 Richard Henderson <rth@cygnus.com> + + * config/obj-elf.c [TC_ALPHA]: Include <elf/alpha.h>. + * config/tc-alpha.h (ELF_TC_SPECIAL_SECTIONS): New. + +Thu Feb 26 15:49:04 1998 Michael Meissner <meissner@cygnus.com> + + * config/tc-d30v.c (write_2_short): Delayed jsr instructions don't + require padding to the next long word boundary. + +Mon Feb 23 11:29:06 1998 Doug Evans <devans@seba.cygnus.com> + + * cgen.c: #include symcat.h. + * config/tc-m32r.c: Likewise. + +Mon Feb 23 10:27:40 1998 Jeffrey A Law (law@cygnus.com) + + * config/tc-mips.c (mips_ip, case 'P'): Make 'P' arguments be + absolute expressions instead of '$' prefixed register names. + +Sat Feb 21 22:36:52 1998 Richard Henderson <rth@cygnus.com> + + * read.c (s_set): Record file and line info for symbols when -as. + (pseudo_set): Don't overwrite that dummy fragment. + +Fri Feb 20 15:03:13 1998 Ian Lance Taylor <ian@cygnus.com> + + * config/tc-ppc.c (md_pseudo_table): Add "section". + (ppc_named_section): New static function. + +Thu Feb 19 22:25:42 1998 Richard Henderson <rth@cygnus.com> + + * tc-ppc.c (ppc_biei): Cache the last symbol we inserted + so we don't have to scan the entire list. + +Tue Feb 17 17:02:15 1998 Fred Fish <fnf@cygnus.com> + + * config/tc-d30v.c (parallel_ok): For the explicitly parallel + case, allow the parallel instructions to modify the same flag + bits. + +Thu Feb 19 16:08:15 1998 Richard Henderson <rth@cygnus.com> + + * listing.c (list_symbol_table): Categorize symbols by + undefined_section rather than sy_frag->line == NULL. + +Wed Feb 18 23:39:46 1998 Richard Henderson <rth@cygnus.com> + + * Makefile.am (install-exec-local): Install properly when ln + fails or tooldir == prefix. + +Tue Feb 17 18:58:51 1998 Doug Evans <devans@seba.cygnus.com> + + * cgen.c (cgen_md_apply_fix3): Delete call to validate_operand. + Test result of insert_operand for error. + +Fri Feb 13 16:41:42 1998 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.am (AUTOMAKE_OPTIONS): Add cygnus. + * configure, Makefile.in, aclocal.m4: Rebuild with automake 1.2e. + * doc/Makefile.am (AUTOMAKE_OPTIONS): Define. + * doc/Makefile.in: Rebuild. + +Fri Feb 13 00:47:44 1998 Ian Lance Taylor <ian@cygnus.com> + + * config/tc-mips.c (macro_build): Handle operand type 'C'. + (macro): Fix handling of M_COP[0-3]. + +Thu Feb 12 14:06:59 1998 Ian Lance Taylor <ian@cygnus.com> + + Based on patches from Ross Harvey <ross@teraflop.com>: + * macro.c (ISSEP): Only treat '<' and '>' as separator characters + if macro_alternate or macro_mri. + (getstring): Remove support for byte constants between < and >. + (get_any_string): '<' only starts a string if macro_alternate or + macro_mri. + (macro_expand_body): Permit keyword parameters following + positional parameters. + + NetBSD patches from Gordon W. Ross <gwr@mc.com>: + * configure.in (alpha*-*-netbsd*): New target. + * config/te-nbsd.h (LOCAL_LABELS_FB): Define. + * configure: Rebuild. + + * as.h (flag_warn_suppress_instructionswap): Move from here... + * config/tc-d10v.c (flag_warn_suppress_instructionswap): ...to + here, and make static. + + * ehopt.c (eh_frame_code_alignment): Only use seg_info if + BFD_ASSEMBLER or MANY_SEGMENTS. + + * as.c (show_usage): Update bug-gnu-utils address. + * gasp.c (show_usage): Likewise. + * doc/as.texinfo (Bug Reporting): Likewise. + +Wed Feb 11 23:26:28 1998 Jeffrey A Law (law@cygnus.com) + + * config/tc-mips.c (load_address): Don't use mips III or mips IV + insns regardless of the size of a pointer if we're in mips I or + MIPS II mode. + (macro, macro2, s_cprestore, s_cpadd): Likewise. + +Thu Feb 12 03:41:00 1998 J"orn Rennecke <amylaar@cygnus.co.uk> + + Fix rac to accept only a0: + * tc-d10v.c (parallel_ok, find_opcode): + Split OPERAND_ACC into OPERAND_ACC0 and OPERAND_ACC1. + Introduce OPERAND_GPR. + +Wed Feb 11 16:28:13 1998 Richard Henderson <rth@cygnus.com> + + * read.c (s_fill): Handle non-constant repeat counts by creating + an rs_space fragment. + +Tue Feb 10 18:31:31 1998 Ian Lance Taylor <ian@cygnus.com> + + * config/tc-i386.c (i386_operand): Change error added Jan 2 1998 + from as_bad to as_warn. + +Tue Feb 10 18:04:00 1998 Jim Lemke <jlemke@cygnus.com> + + * as.c: (perform_an_assembly_pass): Use [TEXT|DATA|BSS]_SECTION_NAME + * as.h: Define default values of [TEXT|DATA|BSS]_SECTION_NAME + * config/obj-elf.c (elf_begin): Use [TEXT|DATA|BSS]_SECTION_NAME + +Tue Feb 10 17:58:18 1998 Ian Lance Taylor <ian@cygnus.com> + + * ehopt.c (eh_frame_code_alignment): If not BFD_ASSEMBLER, use + seg_fix_rotP rather than fix_root from seg_info. + +Tue Feb 10 15:32:22 1998 Ian Carmichael <iancarm@cygnus.com> + + * expr.c: Add support for 0x1_2_3_4 bignums. + +Tue Feb 10 14:43:40 1998 Ian Lance Taylor <ian@cygnus.com> + + * configure.in: Change -linux* to -linux-gnu*. + * configure: Rebuild. + + * app.c (do_scrub_begin): Treat \r as whitespace. + +Mon Feb 9 14:16:11 1998 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.am: Update dependencies. + * Makefile.in: Rebuild. + +Sat Feb 7 15:33:51 1998 Ian Lance Taylor <ian@cygnus.com> + + * configure, aclocal.m4: Rebuild with new libtool. + +Fri Feb 6 16:08:30 1998 Jeffrey A Law (law@cygnus.com) + + * config/tc-mips.c (md_begin): If mips_cpu is set, then use it as + the argument to bfd_set_arch_mach. + (load_address): Use bfd_arch_bits_per_address to determine the + bit size of an address instead of looking at the isa level. + (macro, macro2, s_cprestore, s_cpadd): Likewise. + +Fri Feb 6 14:44:34 1998 Nick Clifton <nickc@cygnus.com> + + * config/tc-v850.c (md_parse_option): Add -mv850any command line option. + +Thu Feb 5 12:39:08 1998 Ian Lance Taylor <ian@cygnus.com> + + * ehopt.c: New file. + * as.h (enum _relax_state): Add rs_cfa. + (check_eh_frame, eh_frame_estimate_size_before_relax): Declare. + (eh_frame_relax_frag, eh_frame_convert_frag): Declare. + * read.c (emit_expr): Call check_eh_frame. + * write.c (cvt_frag_to_fill): Handle rs_cfa. + (relax_segment): Likewise. + * Makefile.am: Rebuild dependencies. + (GAS_CFILES): Add ehopt.c. + (GENERIC_OBJS): Add ehopt.o. + * doc/internals.texi (Frags): Document rs_cfa. + + * as.c (show_usage): Mention --traditional-format. + (parse_args): Accept --traditional-format. + * as.h (flag_traditional_format): Declare. + * output-file.c (output_file_create): If flag_traditional_format, + set BFD_TRADITIONAL_FORMAT on stdoutput. + * doc/as.texinfo, doc/as.1: Document --traditional-format. + + * config/tc-mips.c (append_insn): Make sure that if we have a + fixup for an unmatched %hi reloc, it does not associated with a + variant frag. + + * configure, Makefile.in, aclocal.m4: Rebuild with new libtool. + * doc/Makefile.in: Likewise. + +Wed Feb 4 15:41:54 1998 Nick Clifton <nickc@cygnus.com> + + * config/tc-m32r.c (check_for_side_effects): New function. + (can_make_parallel): Add checks for instruction side effects + clashing with the other instruction. + (assemble_parallel_insn): Improve warning messages. Return error + message from non-swapped instruction order. + +Wed Feb 4 20:00:26 1998 James G. Smith <jsmith@teknema.demon.co.uk> + + * config/tc-arm.c: Rename arm_after_pass_hook() to arm_cleanup(). + + * config/tc-arm.h: Replace md_after_pass_hook definition with a + md_cleanup definition. This moves the forced literal output to + the end of the source pass, and avoids macro's inserting literals + into the code immediately after the macro expansion. + +Wed Feb 4 13:17:19 1998 Ian Lance Taylor <ian@cygnus.com> + + * config/tc-sparc.h (tc_fix_adjustable) [OBJ_ELF]: A reloc against + a gas internal symbol is adjustable. + * config/tc-ppc.h (tc_fix_adjustable): Likewise. + + * as.h: If gcc version greater than 2.6, use `__format__' and + `__printf__' in function attributes, rather than `format' and + `printf'. + +Mon Feb 2 18:38:18 1998 Ian Lance Taylor <ian@cygnus.com> + + * config/tc-sparc.c: Only include elf/sparc.h if OBJ_ELF. + +Mon Feb 2 18:30:34 1998 Steve Haworth <steve@pm.cse.rmit.EDU.AU> + + Add tms320c30 support: + * config/tc-tic30.h: New file. + * config/tc-tic30.c: New file. + * config/obj-coff.h: If TC_TIC30, include coff/tic30.h and define + TARGET_FORMAT as "coff-tic30". + * configure.in (tic30-*-*aout*, tic30-*-*coff*): New targets. + * Makefile.am: Rebuild dependencies. + (CPU_TYPES): Add tic30. + (CPU_OBJ_VALID): tic30-aout is valid. + (TARGET_CPU_CFILES): Add config/tc-tic30.c. + (TARGET_CPU_HFILES): Add config/tc-tic30.h. + * configure, Makefile.in: Rebuild. + +Mon Feb 2 10:20:37 1998 Nick Clifton <nickc@cygnus.com> + + * config/tc-v850.c (md_assemble): Improvements to error messages. + +Mon Feb 2 12:39:05 1998 Geoff Keating <geoffk@ozemail.com.au> + + * config/tc-ppc.c (md_apply_fix3): Change BFD_RELOC_HI16 and + BFD_RELOC_HI16_S to store the high bits of any value. + + * config/tc-ppc.h (tc_fix_adjustable): Undo change of Fri Jun 27. + (TC_RELOC_RTSYM_LOC_FIXUP): Don't let the + assembler calculate relocations to any external symbol at all. + * config/tc-ppc.c (md_apply_fix3) [OBJ_ELF]: Correct bugs + involving generation of pc-relative relocs. + (md_pcrel_from_section) [OBJ_ELF]: The job this code used to do + has been moved to md_apply_fix3. + + * config/tc-ppc.c (md_apply_fix3): Fix test for too-far branch. + (ppc_elf_suffix): Warn about 'identifier+constant@got' syntax, + which actually means (the address of identifier's GOT entry) + + constant, which is not particularly useful. + +Fri Jan 30 11:02:35 1998 Doug Evans <devans@canuck.cygnus.com> + + * read.h (include_dirs): Declare. + (include_dir_count,include_dir_maxlen): Declare. + +Fri Jan 30 11:47:02 1998 Ian Lance Taylor <ian@cygnus.com> + + * configure.in: Correct check for shared opcodes library. + * configure: Rebuild. + + * listing.c (buffer_line): If we can't open the file, set at_end. + (listing_print): Remove unused local variable fi. + + * config/m68k-parse.y (reglistpair): Handle register list in + either order. + + * config/vms-conf.h: Don't undef VERSION. + +Thu Jan 29 14:42:44 1998 Pat Rankin <rankin@eql.caltech.edu> + + * Makefile.am (CONFIG_OBJS): New variable, containing part of old + OBJS variable. + (GENERIC_OBJS): New variable, with the rest of the old OBJS + variable. + (OBJS): Now just $(CONFIG_OBJS) and $(GENERIC_OBJS). + ($(srcdir)/make-gas.com): Rename from make-gas.com. + (stamp-mk.com): Replace $(OBJS) with $(GENERIC_OBJS). + (EXTRA_DIST): Define. + * vmsconf.sh: Handle {targ-cpu, obj-format, atof-targ} modules + explicitly rather than via the list of object files. + (gcc-as.opt): New file created when make-gas.com is run. + * config-gas.com: Create {targ-cpu.h, obj-format.h, targ-env.h, + itbl-cpu.h} to #include appropriate file rather than copying that + file. + * config/vms-conf.h: Synchronize with current config.in. + * Makefile.in: Rebuild. + +Thu Jan 29 18:48:19 1998 Bill Moyer <billm@cygnus.com> + + * config/tc-d30v.c (do_assemble): Added flag_explicitly_parallel. + (parallel_ok): Relaxed parallel subinstruction dependency check. + +Wed Jan 28 14:35:00 1998 Bill Moyer <billm@cygnus.com> + + * as.h (flag_warn_suppress_instructionswap): added new flag. + * tc-d10v.c (md_parse_option,md_longopts): added "--nowarnswap" + command line argument. + * tc-d10v.c (write_2_short): emit "Swapping instructions" + warning only if flag_warn_suppress_instructionswap is false. + +Wed Jan 28 16:41:19 1998 J.J. van der Heijden <J.J.vanderHeijden@student.utwente.nl> + + * configure.in (i386-*-mingw32*): New target. + * configure: Rebuild. + +Wed Jan 28 14:51:18 1998 Ian Lance Taylor <ian@cygnus.com> + + * symbols.c (resolve_symbol_value): Don't set the segment if it + hasn't changed, and this is OBJ_AOUT without BFD_ASSEMBLER. + + * config/obj-aout.h (S_IS_LOCAL): Correct typo--pass argument to + S_GET_SEGMENT. + +Wed Jan 28 13:54:50 1998 Pat Rankin <rankin@eql.caltech.edu> + + as.h (unlink): Reverse 13-Feb-97 change; use of unlink vs remove + depends upon HAVE_{UNLINK,REMOVE} values rather than host + compiler. + +Wed Jan 28 13:48:08 1998 Ian Lance Taylor <ian@cygnus.com> + + * config/obj-coff.h (RESOLVE_SYMBOL_REDEFINITION): Define. + +Wed Jan 28 09:52:00 1998 Nick Clifton <nickc@cygnus.com> + + * config/tc-v850.c (v850_insert_operand): Display instruction when + an error is encountered. + +Tue Jan 27 13:32:01 1998 Robert Lipe <robertl@dgii.com> + + * configure.in (i386-*-sco3.2v5*): Defaults to ELF now. + (i386-*-sco3.2v5*coff): New target. + (i386-*-sco3.2*): New target. + * configure: Rebuild. + +Tue Jan 27 11:06:52 1998 Nick Clifton <nickc@cygnus.com> + + * config/tc-v850.c: Tidy error message production. + +Tue Jan 27 12:24:32 1998 Ian Lance Taylor <ian@cygnus.com> + + * config/tc-arm.c (md_apply_fix3): Add new variable newimm to hold + validate_immediate return value in the right type for comparisons + to FAIL. + +Tue Jan 27 06:51:59 1998 Richard Henderson <rth@cygnus.com> + + * listing.c (MAX_BYTES): Use listing variables not constants. + (data_buffer): No longer an array, but a pointer. + (calc_hex): sizeof(data_buffer) -> MAX_BYTES. + (listing_listing): Allocate data_buffer. + +Tue Jan 27 06:38:35 1998 Richard Henderson <rth@cygnus.com> + + * as.c (parse_args): Add --listing-lhs-width, --listing-lhs-width2, + --listing-rhs-width, --listing-cont-lines. + (show_usage): Update. + * listing.c (listing_lhs_width, listing_lhs_width_second): New vars. + (listing_lhs_cont_lines, listing_rhs_width): New vars. + (print_lines): Use the variables instead of the constants. + (listing_listing): Likewise. + * listing.h: Declare the new vars. + +Tue Jan 27 05:32:05 1998 Richard Henderson <rth@cygnus.com> + + * as.c (parse_args): Add --keep-locals alias for -L. + Add --strip-local-absolute. + (show_usage): Update. + * as.h (flag_strip_local_absolute): New flag. + * symbols.c (S_IS_LOCAL): Use it. + * config/obj-aout.h (S_IS_LOCAL): Likewise. + * config/obj-bout.h (S_IS_LOCAL): Likewise. + * config/obj-coff.h (S_IS_LOCAL): Likewise. + +Mon Jan 26 13:07:41 1998 Nick Clifton <nickc@cygnus.com> + + * config/tc-m32r.c: Detect if explicitly parallel instructions + might have an io conflict and issue a warning message. + +Thu Jan 22 17:51:44 1998 Nick Clifton <nickc@cygnus.com> + + * cgen.c (cgen_save_fixups, cgen_restore_fixups, + cgen_swap_fixups): Functions to save, restore and swap the fixup + chain with a backup copy. + (cgen_asm_finish_insn): Returns address of constructed insn. + +Wed Jan 21 16:49:10 1998 Richard Henderson <rth@cygnus.com> + + * listing.c (file_info_struct): Remove FILE, add POS. + (last_open_file_info, last_open_file): New; a one entry FILE* cache. + (file_info): Don't open the file. + (buffer_line): Check for the file in the last_open cache, updating + as necessary. + (print_source): Don't reference file_info->file. + (listing_listing): Likewise. + (listing_print): Close the file in the cache, if any. + +Fri Jan 16 14:51:48 1998 Ian Lance Taylor <ian@cygnus.com> + + * read.c (dwarf_file_string): New file static variable. + (emit_expr): Look for constant sequence that leads up to a file + name in DWARF debugging output. + (stringer): Use dwarf_file_string to decide whether to accept a + string as a file name. + +Fri Jan 16 11:30:37 1998 Richard Henderson <rth@cygnus.com> + + * tc-m68k.c (m68k_ip): Remove absl->reglst MRI hack. + (crack_operand): Add reg->reglst MRI hack. + (r_seg): Put reglst symbols in reg_section. + (m68k_frob_symbol): Frob reglst symbols into absolute_section. + +Thu Jan 15 14:19:01 1998 Richard Henderson <rth@cygnus.com> + + * tc-sh.c (get_specific): Handle SGR & DBR. + +Thu Jan 15 13:46:48 1998 Richard Henderson <rth@cygnus.com> + + * tc-h8300.c (parse_reg): Take the length of the symbol into + account when attempting to match a register name. + * tc-h8500.c (parse_reg): Likewise. + +Wed Jan 14 17:52:33 1998 Nick Clifton <nickc@cygnus.com> + + * cgen.c: Formatting changes to improve readability. + +Wed Jan 14 15:41:41 1998 Jeffrey A Law (law@cygnus.com) + + * config/tc-mips.c (macro): Rework division code to avoid unfilled + delay slot. + +Wed Jan 14 18:04:20 1998 Michael Meissner <meissner@cygnus.com> + + Based on a patch from Jim Wilson + * config/tc-d30v.c (do_assemble): Remove non-ansi default case. + (tc_gen_reloc): Handle cross section PC relative relocs + correctly. + +Wed Jan 14 15:02:19 1998 Doug Evans <devans@seba.cygnus.com> + + * config/tc-mips.c (mips_ip): Don't test pinfo flags if INSN_MACRO. + +Mon Jan 12 13:04:57 1998 Doug Evans <devans@seba.cygnus.com> + + * cgen.c: #include setjmp.h. Clean up pass over `struct foo' usage. + (expr_jmp_buf): New static local. + (cgen_parse_operand): Allow use of longjmp in parsing to handle errors. + (cgen_md_operand): New function. + * tc-m32r.c: Clean up pass over `struct foo' usage. + (md_estimate_size_before_relax): Use CGEN_INSN_MNEMONIC. + +Tue Jan 6 15:36:02 1998 Richard Henderson <rth@cygnus.com> + + * symbols.c (S_SET_SEGMENT): Don't set the segment for section syms. + (S_IS_EXTERNAL, S_IS_LOCAL): Correct parenthetication. + +Fri Jan 2 16:08:54 1998 Ian Lance Taylor <ian@cygnus.com> + + * config/tc-i386.c (i386_operand): Give an error if there are + unrecognized characters after an expression. + +For older changes see ChangeLog-9697 diff --git a/ld/ChangeLog b/ld/ChangeLog index 375584b..a11b596 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1578,9675 +1578,7 @@ Wed Jan 5 08:02:12 2000 Catherine Moore <clm@cygnus.com> * deffilep.y (opt_name): Allow "." in name. -1999-12-02 Nick Clifton <nickc@cygnus.com> - - * Makefile.am: Fix arm-epoc-pe dependencies. - * Makefile.in: Regenerate. - - * emulparams/arm_epoc_pe.sh (SCRIPT_NAME): Set to epocpe. - - * scripttempl/epocpe.sc: New file: copy of pe.sc, customised for - EPOC by placing .rdata into .text. - -1999-11-26 Andreas Schwab <schwab@suse.de> - - * configure.in: Put AC_MSG_CHECKING/AC_MSG_RESULT around check for - STRINGIFY. Use yes/no instead of true/false as value for cache - variable. - * configure: Regenerate. - -1999-11-24 Nick Clifton <nickc@cygnus.com> - - * ldlang.c (IGNORE_SECTION): Section must have both ALLOC and LOAD - attributes in order to be checked. - -1999-11-22 Nick Clifton <nickc@cygnus.com> - - * ldlang.c (lang_check_section_addresses): Fix test to determine - if a section should be tested. - (IGNORE_SECTION): New macro. - -Wed Nov 3 23:31:19 1999 Jeffrey A Law (law@cygnus.com) - - * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive): - Clean up code to use EXTRA_SHLIB_EXTENSION. - -1999-11-03 Nick Clifton <nickc@cygnus.com> - - * emulparams/elf32mcore.sh (OUTPUT_FORMAT): Change to little endian. - * emulparams/mcorepe.sh (OUTPUT_FORMAT): Change to little endian. - -1999-11-01 Steve Chamberlain <sac@pobox.com> - - * ldlang.c (section_already_linked): Rework to use hash table. - (already_linked_newfunc): New function. - (already_linked_table_init): New function. - (already_linked_table_free): New function. - (lang_process): Initialize and free the already_linked hash table. - -1999-10-27 Andreas Jaeger <aj@suse.de> - - * ld/configure.host: Added HOSTING_CRT0, HOSTING_LIBS for - target "mips*-*-linux-gnu*". - -1999-10-27 Scott Bambrough <scottb@netwinder.org> - - * emultempl/armelf.em: Include ctype.h to prevent compile time - warnings. - -1999-10-26 Nick Clifton <nickc@cygnus.com> - - * emultempl/armcoff.em (gld{}_finish): Remove extraneous - underscore from prototype. - * emultempl/armelf.em (gld{}_finish): Remove extraneous - underscore from prototype. - -1999-10-07 Geoffrey Keating <geoffk@cygnus.com> - - * scripttempl/elf.sc (.rel.sdata): Combine all the sdata relocs - being .rel.sdata, .rel.sdata.*, .rel.gnu.linkonce.s*. - (.rela.sdata): Likewise for .rela.sdata.* and .rela.gnu.linkonce.s*. - (.rel.sbss): Make like .rel.bss. - (.rela.sbss): Make like .rel.bss. - (.sdata): Don't include .gnu.linkonce.s.* or .sdata.* when - ld -r. - (.sbss): Do the same things as for .bss: include SDATA_START_SYMBOLS, - .dynsbss. - -1999-09-29 Andrew Haley <aph@cygnus.com> - - * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Defer - merging sections when not relocating. - -1999-09-28 Mumit Khan <khan@xraylith.wisc.edu> - - * pe-dll.c (process_def_file): Move the offset lookup from here to - (fill_exported_offsets): here. New static function. - (fill_edata): Use. - -1999-09-28 Mumit Khan <khan@xraylith.wisc.edu> - - * deffilep.y (tokens): Add upper and lower case versions of DATA, - CONSTANT, NONAME and PRIVATE tokens. - (command): Use DATAU. - (expline): Allow for drectve syntax as well. - (exp_opt_list): Likewise. - (exp_opt): Likewise. - * pe-dll.c (make_one): Only generate the idata entries for data - symbols. - -1999-09-28 Geoffrey Keating <geoffk@cygnus.com> - - * scripttempl/elf.sc (.sdata): Include .gnu.linkonce.s.* sections - in .sdata too. - -1999-09-26 Nick Clifton <nickc@cygnus.com> - - * scripttempl/elf.sc (.bss): Accept sections named .bss.* - (.sbss): Accept sections names .sbss.* - -1999-09-22 Nick Clifton <nickc@cygnus.com> - - * Makefile.am: Add earm_epoc_pe.c build target. - -Sat Sep 18 07:57:10 1999 Jeffrey A Law (law@cygnus.com) - - * emulparms/elf64hppa.sh (OTHER_READONLY_SYMBOLS): Remove ".stubs", - they've been renamed to ".stub", which is handled automatically - by elf.sc. - -Fri Sep 17 11:00:33 1999 Jeffrey A Law (law@cygnus.com) - - * emulparms/elf64hppa.sh (TEXT_START_SYMBOLS): Kill completely. - (DATA_START_SYMBOLS): Kill __hp_load_map definition - -Thu Sep 16 10:59:56 1999 Jeffrey A Law (law@cygnus.com) - - * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive): - Use the same filename extension for the bfd_elf_dt_needed_name call - as we did for finding the library. - - * emulparms/elf64hppa.sh (DATA_START_SYMBOLS): Define. - (OTHER_READWRITE_SECTIONS): No longer define __hp_load_map. - - * emulparms/elf64hppa.sh (TEXT_START_SYMBOLS): Define. - -Wed Sep 15 02:47:43 1999 Jeffrey A Law (law@cygnus.com) - - * emulparms/elf64hppa.sh (SHLIB_TEXT_START_ADDR): Define. - (SHLIB_DATA_ADDR): Likewise. - - * emulparms/elf64hppa.sh (TEXT_DYNAMIC): Define. - - * emulparms/elf64hppa.sh (OTHER_READWRITE_SECTIONS): No longer combine - the .plt, .dlt, .opd into a single output section. Provide values - for __gp and __hp_load_map. - -1999-09-14 Michael Meissner <meissner@cygnus.com> - - * configure.in (Canonicalization of target names): Remove adding - ${CONFIG_SHELL} in front of $ac_config_sub, since autoconfig 2.14 - generates $ac_config_sub with a ${CONFIG_SHELL} already. - * configure: Regenerate. - -1999-09-14 Donn Terry <donn@interix.com> - - * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): allow for - terminating null. - -1999-09-14 Ulrich Drepper <drepper@cygnus.com> - - * configure.in: Define EXTRA_SHLIB_EXTENSION to ".sl" for HP target. - * config.in: Add EXTRA_SHLIB_EXTENSION. - - * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive): - Search for second shared lib extension only if EXTRA_SHLIB_EXTENSION - is defined. - -1999-09-14 Nick Clifton <nickc@cygnus.com> - - * Makefile.in: Add earm_epoc_pe.c build target. - -Tue Sep 14 05:26:34 1999 Jeffrey A Law (law@cygnus.com) - - * emulparms/elf64hppa.sh (OTHER_GOT_RELOC_SECTIONS): Add .rela.dlt. - -1999-09-13 Donn Terry <donn@interix.com> - - * emultempl/pe.em: Remove the output file at the start, in case it - is not writable. - -Mon Sep 13 00:17:18 1999 Jeffrey A Law (law@cygnus.com) - - * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive): - Search for file with .sl extension if no file with a .so extension - is found. - - * emulparms/elf64hppa.sh (OTHER_READWRITE_SECTIONS): Put .plt - at the start of the .dlt output section. - -1999-09-12 Ian Lance Taylor <ian@zembu.com> - - * pe.em: Don't include "../bfd/libbfd.h". - (gld_${EMULATION_NAME}_after_open): Use xmalloc rather than - bfd_alloc. - - * pe-dll.h: New file. - * pe-dll.c: Include "pe-dll.h". Mark unused arguments as needed - to avoid warnings. - (edata_sz, reloc_sz): Change from int to size_t. - (pe_details_type): Change type of imagebase_reloc from int to - unsigned int. - (pe_detail_list): Fully initialize last entry. - (pe_dll_id_target): Change parameter to const. - (pe_dll_generate_def_file): Likewise. - (pe_dll_generate_implib): Likewise. - (pe_implied_import_dll): Likewise. Change dll_name to const. - * emultempl/pe.em: Include "pe-dll.h". Remove declarations now in - pe-dll.h. - (init): Fully initialize __dll__ entry. - (gld_${EMULATION_NAME}_after_open): Remove unused variables - sequence, elt, and i. - * deffile.h: Add preprocessor guard. - * deffilep.y (def_debug): Remove. - * Makefile.am: Rebuild dependencies. - (HFILES): Add pe-dll.h. - -1999-09-12 Donn Terry <donn@interix.com> - - * ld.h (ld_abort): Declare. - (abort): Define. - * ldmisc.c (ld_abort): Define. - - * scripttempl/pe.sc: Use ${ENTRY} rather than _mainCRTStartup. - Move .bss section after .rdata. Move .reloc section after .rsrc. - - * lexsup.c (parse_args): Use strtoul for --split-by-reloc - argument. - - * lexsup.c (parse_args): If we get an unrecognized argument, - mention --help. - - * ldlang.c (section_already_linked): Use comdat information if it - is available. - - * emultempl/pe.em (PE_DEF_SECTION_ALIGNMENT): If - OVERRIDE_SECTION_ALIGNMENT is defined, change to that. - (gld_${EMULATION_NAME}_before_parse): Use EXECUTABLE_NAME if it is - defined, rather than a.exe. - (init): Define __subsystem__ as ${SUBSYSTEM}. - (set_pe_subsystem): Add ${INITIAL_SYMBOL_CHAR} before entry symbol - name. - -1999-09-12 Ian Lance Taylor <ian@zembu.com> - - * ldlang.c (open_output): Change local variable desired_endian - from int to enum bfd_endian. - - * emulparams/arm_epoc_pe.sh: Define ENTRY, SUBSYSTEM and - INITIAL_SYMBOL_CHAR. - * emulparams/armpe.sh: Likewise. - * emulparams/morepe.sh: Likewise. - * emulparams/ppcpe.sh: Likewise. - * emulparams/i386pe.sh (ENTRY): Define as _mainCRTStartup. - (SUBSYSTEM): Define as PE_DEF_SUBSYSTEM. - -Fri Sep 10 00:22:50 1999 Jeffrey A Law (law@cygnus.com) - - * emulparms/elf64hppa.sh (LIB_PATH): Define. - - * emulparms/elf64hppa.sh (OTHER_READONLY_SECTIONS): Put stubs before - unwinders so that they are closer to the text section. - (OTHER_BSS_SECTIONS): Define. - (EXECUTABLE_SYMBOLS): Provide __SYSTEM_ID and _FPU_STATUS. - (INIT_START, INIT_END): Define. - (FINI_START, FINI_END): Define. - * scripttempl/elf.sc: Add support for INIT_START, INIT_END, - FINI_START, FINI_END and OTHER_BSS_SECTIONS. - -Thu Sep 9 21:43:58 1999 Jeffrey A Law (law@cygnus.com) - - * emulparms/elf64hppa.sh (TEXT_START_ADDR): Move up one page. - (DATA_ADDR): Define. - -1999-09-09 Stan Shebs <shebs@andros.cygnus.com> - - * emulparams/d10velf.sh (READONLY_START_ADDR): Set to 0x2000004. - -1999-09-09 Andreas Schwab <schwab@suse.de> - - * ld.texinfo: Fix arguments of @var to not contain punctuation. - -Thu Sep 9 05:52:34 1999 Jeffrey A Law (law@cygnus.com) - - * emulparms/elf64hppa.sh (OTHER_READWRITE_SECTIONS): Define. - -1999-09-08 Ulrich Drepper <drepper@cygnus.com> - - * emulparams/elf64hppa.sh (ELFSIZE): New. Set to 64. - -Wed Sep 8 00:07:39 1999 Jeffrey A Law (law@cygnus.com) - - * emulparms/elf64hppa.sh (ENTRY): Define to main. - -1999-09-03 Scott Bambrough <scottb@netwinder.org> - - * ld/configure.host: Added HOSTING_CRT0, HOSTING_LIBS for - target "arm*-*-linux-gnu*" - -1999-09-04 Steve Chamberlain <sac@pobox.com> - - * configure.tgt (pjl-*-*, pj-*-*): New targets. - * emulparams/pjelf.sh: New file. - * emulparams/pjlelf.sh: New file. - * scripttempl/pj.sc: New file. - * Makefile.am (ALL_EMULATIONS): Add epjelf.o and epjlelf.o. - (epjelf.o, epjlelf.o): New targets. - * Makefile.in: Rebuild. - -Fri Sep 3 20:17:08 1999 Jeffrey A Law (law@cygnus.com) - - * emulparams/elf64hppa.sh (MAXPAGESIZE): Define. - (OTHER_READONLY_SECTIONS, DATA_PLT): Likewise. - -Thu Sep 2 14:32:03 1999 Jeffrey A Law (law@cygnus.com) - - * emulparams/elf64hppa.sh: New file. - * configure.tgt (hppa*w-*-*): Use elf64hppa emulation. - * Makefile.am (ALL_64_EMULATIONS): Add eelf64hppa.o - (eelf64hppa.c): Add dependencies. - * Makefile.in: Rebuilt. - -1999-08-25 Philip Blundell <pb@nexus.co.uk> - - * emulparams/armelf.sh (OTHER_BSS_SYMBOLS): Add __end__. - * emulparams/armelf_linux.sh: Likewise. - * emulparams/armelf_linux26.sh: Likewise. - -1999-08-24 Nick Clifton <nickc@cygnus.com> - - From a patch submitted by Roland McGrath <roland@baalperazim.frob.com> - - * configure.tgt (arm-*-netbsd*): New target. - * Makefile.am (ALL_EMULATIONS): Add earmnbsd.o. - (earmnbsd.c): New rule with deps. - * Makefile.on: Regenerate. - * emulparams/armnbsd.sh: New file. - -1999-08-23 Nick Clifton <nickc@cygnus.com> - - * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Define. - Implement --base-file command line switch. - - * emultempl/elf32.em: Add ability for individual targets to have - their own command line switches by defining PARSE_AND_LIST_ARGS. - -1999-08-19 Andreas Schwab <schwab@suse.de> - - * configure.host: Use ${CC} instead of gcc for finding compiler - related files. - -1999-08-11 Nick Clifton <nickc@cygnus.com> - - * scripttempl/mcorepe.sc (OUTPUT_FORMAT): Fix typo. - -1999-08-09 Mark Elbrecht <snowball3@bigfoot.com> - - * scripttempl/i386go32.sc: Handle g++ exception sections. - -1999-08-09 Ian Lance Taylor <ian@zembu.com> - - From Wally Iimura <iimura@microunity.com>: - * ldlang.c (lang_size_sections): When checking whether an address - is within a region, don't get confused by wrapping around at the - end of the address space. - -1999-08-08 Ian Lance Taylor <ian@zembu.com> - - * ldlang.c (wild_doit): Update for renaming of SEC_SHORT to - SEC_SMALL_DATA. - - * Makefile.am: Rename .dep* files to DEP*. Change DEP variable to - MKDEP. Rebuild dependencies. - * Makefile.in: Rebuild. - -1999-08-08 Jakub Jelinek <jj@ultra.linux.cz> - - * configure.host (sparc-*-linux-gnu*): New host. - (sparc64-*-linux-gnu*): New host. - -1999-08-06 Ian Lance Taylor <ian@zembu.com> - - * lexsup.c (is_num): Reindent. - (parse_args): Mention program name in error message. - - * emultempl/ostring.sed: Rename from stringify.sed. - * emultempl/astring.sed: New file. - * Makefile.am (stringify.sed): New target. - (GEN_DEPENDS): Change $(srcdir)/emultempl/stringify.sed to - stringify.sed. - * configure.in: Define and substitute STRINGIFY. - * emultempl/*.em: Use stringify.sed from build directory rather - than source directory. - * emultempl/elf32.em: Use stringify.sed rather than inline sed - script. - * emultempl/gld960.em, emultempl/gld960c.em: Likewise. - * emultempl/hppaelf.em, emultempl/linux.em: Likewise. - * emultempl/lnk960.em, emultempl/sunos.em: Likewise. - * configure, Makefile.in: Rebuild. - -1999-08-05 Donn Terry <donn@interix.com> - - * emulparams/i386pe.sh: Define ENTRY, SUBSYSTEM, and - INITIAL_SYMBOL_CHAR. - * emulparams/i386pe_posix.sh: New file. - * Makefile.am (YACC): If bison is not in the source tree, use - @YACC@ rather than bison -y. - (LEX): If flex is not in the source tree, use @LEX@ rather than - flex. - (ALL_EMULATIONS): Add ei386pe_posix.o. - (ei386pe_posix.c): New target. - * configure.tgt (i[3456]86-*-interix*): New target. - * configure.host (i[3456]86-pc-interix*): New host. - * Makefile.in: Rebuild. - -1999-08-03 Ian Lance Taylor <ian@zembu.com> - - * emulparams/elf32ppc.sh (MAXPAGESIZE): Change to 0x10000. - * emulparams/elf32ppclinux.sh (MAXPAGESIZE): Likewise. - -1999-08-03 H.J. Lu <hjl@gnu.org> - - * Makefile.am (ALL_EMULATIONS): Remove ego32.o. - (ego32.c): Remove. - * Makefile.in: Rebuild. - -1999-07-22 Philip Blundell <pb@nexus.co.uk> - - * emulparams/armelf_linux26.sh (DATA_START_SYMBOLS): Define. - (OTHER_BSS_SYMBOLS, OTHER_BSS_END_SYMBOLS): Likewise. - * emulparams/armelf_linux.sh (DATA_START_SYMBOLS): Define. - - * configure.tgt (arm*-*-uclinux*, thumb-*-uclinux*, - thumb-*-linux-gnu*): New targets. - -1999-07-21 Mark Elbrecht <snowball3@bigfoot.com> - - * scripttempl/i386go32.sc: Add handling of linkonce sections. - - * configure.bat: Remove; obsolete. - * emulparams/go32.sh: Remove; obsolete. - * scripttempl/go32coff.sc: Remove; obsolete. - -1999-07-21 H.J. Lu <hjl@gnu.org> - - * configure.tgt (mips*el-*-vxworks*): New target. - -1999-07-21 Brad M. Garcia <bgarcia@fore.com> - - * configure.tgt (i[3456]86-*-vxworks*): New target. - -Tue Jul 20 15:18:46 1999 Bob Manson <manson@charmed.cygnus.com> - - * ldlang.c (lang_gc_sections): Only handle the start symbol - specially if there is one. - -Mon Jul 19 14:19:14 1999 Mark P. Mitchell <mark@codesourcery.com> - - * emulparams/elf32bmipn32.sh (OTHER_RELOCATING_SECTIONS): Add - .MIPS.events and .MIPS.content handling. - * emulparams/elf64bmip.sh (OTHER_RELOCATING_SECTIONS): Likewise. - -1999-07-17 Nick Clifton <nickc@cygnus.com> - - * ldlang.c (get_target): New function: Return true iff the - given target is the target being sought. - (stricpy): New function: Like strcpy but convert to lower - case as well. - (strcut): New function: Like strstr but remove the located - substring as well. - (name_compare): New function: Compute a compatability rating - for two target names. - (winner): New variable: Best target found by - closest_target_match() so far. - (closest_target_match): New function: Find the target which is - the closest match to the original target. - (get_first_input_target): New function: Find the target format - of the first of the linker's input file. - (open_output): Be more clever about deciding the output target - format. - -1999-07-16 Jakub Jelinek <jj@ultra.linux.cz> - - * emulparams/elf64_sparc.sh: Add 64-bit directories to native LIB_PATH. - -Thu Jul 15 15:55:15 1999 Mark P. Mitchell <mark@codesourcery.com> - - * configure.host: Set up HOSTING_CRT0 and HOSTING_LIBS for IRIX6. - -1999-07-15 Ian Lance Taylor <ian@zembu.com> - - * configure.in: Bump version number to 2.9.5. - * configure: Rebuild. - -1999-07-14 Richard Henderson <rth@cygnus.com> - - * ldlang.c (wild_doit): Copy SEC_SHORT to output section. - - * scripttempl/elf.sc: Re-order .rel[a].foo outputs to the - same order seen for the main sections. Add - OTHER_READONLY_RELOC_SECTIONS and OTHER_GOT_RELOC_SECTIONS. - -1999-07-12 Andreas Schwab <schwab@suse.de> - - * emultempl/linux.em (ld_${EMULATION_NAME}_emulation): Fill in - structure initializations. - - * emultempl/elf32.em (ld_${EMULATION_NAME}_emulation): Add missing - comma in initializer. - -1999-07-11 Ian Lance Taylor <ian@zembu.com> - - * Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSED - as appropriate. Fill in structure initializations. - -1999-07-10 Ian Lance Taylor <ian@zembu.com> - - * ldfile.c: Revert patch of 1999-07-08. - (ldfile_try_open_bfd): If we are searching for the file, skip - files with an incompatible architecture. - -1999-07-09 Nick Clifton <nickc@cygnus.com> - - * scripttempl/armcoff.sc (OUTPUT_FORMAT): Include big endian and - little endian formats. - -1999-07-08 Felix Lee <flee@cygnus.com> - - * scripttempl/mcorepe.sc: fix quoting problem, for bash 2.x - -1999-07-08 Jakub Jelinek <jj@ultra.linux.cz> - - * ldfile.c (ldfile_open_file_search): Skip libraries made for - incompatible architectures in the search path. Let the user know - about any such skips. - -Thu Jul 8 12:32:23 1999 John David Anglin <dave@hiauly1.hia.nrc.ca> - - * configure.tgt (hppa*-linux-gnu*): New target. - -1999-07-07 Mark Mitchell <mark@codesourcery.com> - - * Makefile.am (ALL_64_EMULATIONS): Add eelf64bmip. - (eelf64bmip): New target. - * Makefile.in: Regenerated. - * configure.tgt (mips-sgi-irix6*): Add 64-bit emulation. - * emulparams/elf64bmip.sh: New file. - -1999-07-05 Nick Clifton <nickc@cygnus.com> - - * emultempl/pe.em (after_open): Abort if input format is ARM and - output format is not. - * emultempl/armcoff.em (after_open): Abort if input format is ARM - and output format is not. - * emultempl/armelf.em (after_open): Abort if input format is ARM - and output format is not. - -1999-07-02 Ian Lance Taylor <ian@zembu.com> - - * ldlang.c: Revert change of 1999-06-23. - -1999-06-30 Mark Mitchell <mark@codesourcery.com> - - * Makefile.am (ALL_EMULATIONS): Add eelf32bmipn32.o. - (eelf32bmipn32.c): New target. - * Makefile.in: Regenerated. - * configure.tgt (mips-sgi-irix6*): Make n32 the default - emulation. - * emulparams/elf32bmipn32.sh: New file. - -1999-06-28 Jim Pick <jim@jimpick.com> - - * emultempl/armelf.em: Added code so that .xs linker scripts are - called so that ARM shared libraries are built correctly. - -1999-06-22 Mark Mitchell <mark@codesourcery.com> - - * ldmain.c (main): Initialize link_info.init_function and - link_info.fini_function. - * lexsup.c (OPTION_INIT): New macro. - (OPTION_FINI): Likewise. - (ld_options): Add descriptions for them. - (parse_args): Handle them. - -1999-06-23 Ian Lance Taylor <ian@zembu.com> - - * ldlang.c (section_already_linked): Only discard link once - sections if we are building constructors. - -1999-06-22 Nick Clifton <nickc@cygnus.com> - - * ld.texinfo (Location Counter): Describe behaviour of - location counter inside section statements. - -1999-06-20 Mark Mitchell <mark@codesourcery.com> - - * scripttempl/elf.sc (WRITABLE_RODATA): New variable for - controlling whether or not .rodata is in the data segment or the - text segment. - -1999-06-18 Nick Clifton <nickc@cygnus.com> - - * emultempl/pe.em: Add new command line switch --thumb-entry. - * emultempl/armelf.em: Add new command line switch --thumb-entry. - * emultempl/armcoff.em: Add new command line switch --thumb-entry. - * ld.texinfo: Document new ARM command line switch: --thumb-entry. - -1999-06-20 H.J. Lu <hjl@gnu.org> - - * configure.in (all_libpath): Accumulate across all enabled targets. - -Sun Jun 20 14:10:33 1999 Richard Henderson <rth@cygnus.com> - - * emultempl/armelf.em: Watch EMULATION_LIBPATH instead of - DEFAULT_EMULATION. - * emultempl/elf32.em: Likewise. - * emultempl/sunos.em: Likewise. - -Fri Jun 18 15:24:48 1999 Richard Henderson <rth@cygnus.com> - - * Makefile.am (GENSCRIPTS): Pass EMULATION_LIBPATH, not EMUL. - * configure.in (all_emuls): Add targ_extra_libpath. - (all_libpath, EMULATION_LIBPATH): Define. - * configure.tgt (powerpc-*-linux-gnu*): Define targ_extra_libpath. - * genscripts.sh (LIB_PATH): Define if emulation in EMULATION_LIBPATH. - -Mon Jun 14 10:38:36 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - - * ld.texinfo: Fix use of @item vs. @itemx. - -1999-06-13 Ian Lance Taylor <ian@zembu.com> - - From Thomas Zenker <thz@lennartz-electronic.de>: - * ldgram.y (attributes_opt): Use attributes_list instead of NAME. - (attributes_list, attributes_string): New nonterminals. - * ldlang.c (lang_set_flags): Add invert parameter. Don't handle - '!'. - * ldlang.c (lang_set_flags): Update declaration. - -1999-06-12 Ian Lance Taylor <ian@zembu.com> - - * emultempl/pe.em (gld_${EMULATION_NAME}_after_parse): Don't add - entry_symbol as an undefined symbol when doing a relocateable - link. From <jeffdb@goodnet.com>. - -1999-06-12 David O'Brien <obrien@freebsd.org> - - * configure.tgt: (i[3456]86-*-freebsd*): Now defaults to ELF. - -1999-06-09 Nick Clifton <nickc@cygnus.com> - - * lexsup.c (help): Restore previous format of output. - -1999-06-04 Nick Clifton <nickc@cygnus.com> - - * emultempl/pe.em: If compiling for arm_epoc_pe rename - interworking functions to avoid a name space clash. - -1999-06-02 Jason Merrill <jason@yorick.cygnus.com> - - * scripttempl/v850.sc: Add initp support. - -1999-06-02 Nick Clifton <nickc@cygnus.com> - - * emultempl/pe.em: Rename global arm interworking functions to - avoid name collision when all targets BFD is built. - -1999-05-30 Cort Dougan <cort@attis.cs.nmt.edu> - - * Makefile.am (ALL_EMULATIONS): Add eelf32ppclinux.o. - * configure.tgt (powerpc-*-linux-gnu): Use it. - * emulparams/elf32ppclinux.sh: New file. - -1999-05-29 Ian Lance Taylor <ian@zembu.com> - - * ld.texinfo (Options): Clarify that options which refer to files - must be properly ordered. - -1999-05-29 Nick Clifton <nickc@cygnus.com> - - * emultempl/armelf.em (..._parse_args): New function: Parse - command line option. Accept arm-elf specific command line option - '-p' or '--no-pipeline-knowledge'. - (..._list_options): New function: Describe the new command line - option. - (..._before_allocation): Pass the value of the new variable - no_pipeline_knowledge to bfd_elf32_arm_process_before_allocation. - - * emultemp/armelf_oabi.em (..._before_allocation): Pass zero as - the third parameter to bfd_elf32_arm_process_before_allocation. - -1999-05-28 Nick Clifton <nickc@cygnus.com> - - * lexsup.c (help): Minor formatting changes. - -1999-05-28 Martin Dorey <mdorey@madge.com> - - * configure.tgt (i960-*-elf*): New target. - * emulparams/elf32_i960.sh: New file. - * Makefile.am (ALL_EMULATIONS): Add eelf32_i960.o. - (eelf32_i960.c): New target. - * Makefile.in: Rebuild. - -1999-05-26 Nick Clifton <nickc@cygnus.com> - - * emulparams/armelf_oabi.sh (TEMPLATE_NAME): Set to armelf_oabi. - -1999-05-24 Philip Blundell <philb@gnu.org> - - * emultempl/armelf.em (before_parse): Set config.dynamic_link and - config.has_shared. - * emulparams/armelf.sh (GENERATE_SHLIB_SCRIPT): Define. - * emulparams/armelf_linux.sh (GENERATE_SHLIB_SCRIPT): Likewise. - -1999-04-13 Philip Blundell <philb@gnu.org> - - * emultempl/armelf.em: Add definitions related to shared objects - (copied from elf32.em). - -Wed May 19 12:44:26 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - - * Makefile.am (ALL_EMULATIONS): Remove earmlinux.o and - earm26linux.o, add earmelf_linux.o and earmelf_linux26.o. - * Makefile.in: Regenerated. - -1999-05-16 Nick Clifton <nickc@cygnus.com> - - * emulparams/elf32mcore.sh (GENERATE_SHLIB_SCRIPT): Define. - (TEMPLATE_NAME): Define. - -Thu May 13 09:48:09 1999 Joel Sherrill (joel@OARcorp.com) - - * configure.tgt (i386-*-rtemself*, sh-*-rtemself*): New targets. - (mips*el-*-rtems*, powerpcle-*-rtems*): New targets. - -1999-05-10 DJ Delorie <dj@cygnus.com> - - * scripttempl/pe.sc: Specify the output arch, which Ian says is - the Right Thing to do. - - * emultempl/pe.em: various changes to parameterize the - target-specific information. - (gld_i386pe_after_open): Detect and fix MS import libraries - by renaming the member objects (which are all named the same). - - * pe-dll.c: various changes to parameterize the target-specific - information. - (generate_reloc): support relocs more generically to allow for - expansion. - (pe_exe_build_sections): new; used to add .relocs to .exes - (pe_exe_fill_sections): ditto - -1999-05-10 Catherine Moore <clm@cygnus.com> - - * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): - Check for TARGET_IS_arm_epoc_pe. - (gld_${EMULATION_NAME}_before_allocation): Likewise. - -1999-05-12 Anthony Green <green@cygnus.com> - - * ldlang.c (walk_wild, walk_wild_file, walk_wild_section, - output_section_callback, gc_section_callback): New functions for - generic section walks. - (wild, lang_gc_wild): Use walk_wild. - (wild_file, lang_gc_wild_file): Deleted. Common logic moved to - walk_wild_file. - (wild_section, lang_gc_wild_section): Deleted. Common logic moved - to walk_fild_section. Unique logic moved into callbacks - output_section_callback and gc_section_callback. - -1999-04-26 Tom Tromey <tromey@cygnus.com> - - * aclocal.m4, configure: Updated for new version of libtool. - -1999-04-12 Philip Blundell <pb@nexus.co.uk> - - * emulparams/armelf_linux.sh: New file. Support for ARM - GNU/Linux ELF ABI. - * emulparams/armelf_linux26.sh: New file. APCS-26 version of above. - * configure.tgt: For arm*-*-linux-gnu*, set default emulation to - `armelf_linux', and also include `armelf_linux26' and `armelf'. - * Makefile.am: Add rules to make earmlinux.c and earmlinux26.c. - (ALL_EMULATIONS): Add earmlinux.o and earmlinux26.o. - * Makefile.in: Regenerate. - -1999-04-11 Richard Henderson <rth@cygnus.com> - - * Makefile.am (ALL_EMULATIONS): Add elf_i386_be.o. - * configure.tgt (i[3456]86-*-beos*): Use it. - * emulparams/elf_i386_be.sh: New file. - * Makefile.in: Rebuild. - - * configure.in (environ): Detect declaration. - * ldmain.c (main): Don't declare environ. - * sysdep.h (environ): Declare if needed. - * configure, config.in: Rebuild. - -1999-04-11 Richard Henderson <rth@cygnus.com> - - * ldgram.y (ldgram_vers_current_lang): New. - (vers_defns): Accept `extern "lang" { }' syntax. - * ldlex.l (vers_node_nesting): New. - (V_IDENTIFIER): Accept . and $ in symbols. - (VERS_NODE): Accept `extern "lang" { }' tokens. Nest VERS_NODE states. - * ldlang.c (lang_new_vers_regex): New `lang' argument. Update callers. - (lang_vers_match_lang_c): New function. - (lang_vers_match_lang_cplusplus): New function. - (lang_vers_match_lang_java): New function. - (lang_do_version_exports_section): Fix iteration. Don't free - section contents, as it is still in use by the patterns. - -1999-04-10 Richard Henderson <rth@cygnus.com> - - * ldmain.c (main): Init link_info.no_undefined. - * lexsup.c: Add command-line option --no-undefined. - -1999-04-06 Ian Lance Taylor <ian@zembu.com> - - * ld.h (LC_MESSAGES): Never define. - * ldmain.c (main): Don't pass LC_MESSAGES to setlocale if the - system does not define it. - -1999-04-06 H.J. Lu <hjl@gnu.org> - - * ldmain.h (demangling): Declare. - * ldmain.c (demangling): New global variable. - (main): Initialize demangling. - * ldmisc.c (vfinfo): Don't demangle symbol if ! demangling. - * lexsup.c (ld_options, parse_args): Handle --demangle and - --no-demangle. - * ld.texinfo, ld.1: Document --demangle/--no-demangle. - - * ldlex.l (V_IDENTIFIER): Allow '.' in symbol. - -1999-04-05 Chris Torek <torek@BSDI.COM> - - * emultempl/sunos.em (gld${EMULATION_NAME}_search_dir): Check that - a shared library really exists, avoiding broken symlinks. - - * ldfile.c (ldfile_open_file): Generate a better error message if - we can't find a -l file. - -1999-04-05 DJ Delorie <dj@cygnus.com> - - * configure.tgt (i386-*-pe): add targ_extra_ofiles for other PE - targets (i386-pe and i386-winnt) - -1999-04-04 Ian Lance Taylor <ian@zembu.com> - - * deffilep.y: Include "sysdep.h" and "ldmisc.h". - (def_file_add_directive): Change return type to void. Remove - unused locals sh_reserve, sh_commit, and j. - (def_ungetc): Always return a value. - (def_lex): Correct parenthesization of || within &&. - * deffile.h (def_file_add_directive): Update declaration. - * pe-dll.c: Include <time.h>, <ctype.h>, and "ldemul.h". - (generate_edata): Remove unused local i. - (quoteput): Add cast to avoid warning. - (pe_dll_generate_def_file): Fix type in format string. - (quick_symbol): Remove unused local blhe. - (pe_dll_generate_implib): Add cast to avoid warning. - (pe_process_import_defs): Remove unused locals ar_head, ar_tail, - and n. - (pe_as16): Comment out. - -1999-04-04 Don Bowman <don@pixsci.com> - - * configure.tgt: Add mips*-*-vxworks* target. - -1999-03-31 Nick Clifton <nickc@cygnus.com> - - * Makefile.in (ALL_EMULATIONS): Add earm_epoc_pe.o - Add build rule and dependencies for earm_epoc_pe.c. - - * emulparams/arm_epoc_pe.sh: New file. - - * configure.tgt: Add 'targ_extra_ofiles' for ARM based PE - targets. - -1999-03-31 Philip Blundell <pb@nexus.co.uk> - - * configure.tgt: Match `arm*-*-linux-gnu*' not - `armv*-*-linux-gnu'. - -1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - - * scripttempl/elf.sc: Put the .eh_frame and .gcc_except_table - sections in the data segment. - -Fri Mar 26 12:05:51 1999 Catherine Moore <clm@cygnus.com> - - * ld.h (wildcard_spec): Add exclude_name. - * ldgram.y (EXCLUDE_FILE): New token. - (wildcard_spec): Set exclude_name. - (file_NAME_list): Recognize EXCLUDE_FILE. - * ldlang.c (wild_section): Check for excluded files. - (print_wild_statement): Print excluded files. - (lang_add_wild): New argument exclude_filename. - Set exclude_filename. - * ldlang.h (lang_wild_statement_type): Add exclude_filename. - * ldlex.l: New token EXCLUDE_FILE. - * mri.c (mri_draw_tree): Add argument to lang_add_wild. - * scripttempl/elf.sc (CTOR, DTOR): Exclude crtend.o from ctor wildcard. - Reorder sorted and unsorted ctors. - * scripttempl/elfd10v.sc (CTOR, DTOR): Likewise. - * scripttempl/elfd30v.sc (CTOR, DTOR): Likewise. - * scripttempl/elfppc.sc (CTOR, DTOR): Likewise. - -1999-03-26 Nick Clifton <nickc@cygnus.com> - - * ldlang.c (lang_gc_sections): If entry_symbol is not defined, - default to "start". - -1999-03-03 Nick Clifton <nickc@cygnus.com> - - * scripttempl/elf.sc: Add explicit placements for the .eh_frame - and .gcc_except_table sections. - -Wed Mar 3 09:13:34 1999 Catherine Moore <clm@cygnus.clm> - - * scripttempl/elf.sc: Remove .end.ctors and .end.dtors - sections. Reorder .ctors section entries. - * scripttempl/elfd10v.sc: Likewise. - * scripttempl/elfd30v.sc: Likewise. - * scripttempl/elfppc.sc: Likewise. - -1999-02-26 Jim Lemke <jlemke@cygnus.com> - - * ldmain.c (main): Wrong error msg for -r and --mpc860c0. - -1999-02-25 Nick Clifton <nickc@cygnus.com> - - * ldlang.c (lang_check_section_addresses): Remove extraneous - backslash. - -Thu Feb 25 15:07:24 1999 Catherine Moore <clm@cygnus.com> - - * scripttempl/elf.sc: Don't gather .ctor and .dtor sections - for relocateable links. - * scripttempl/elfd10v.sc: Likewise. - * scripttempl/elfd30v.sc: Likewise. - * scripttempl/elfppc.sc: Likewise. - -1999-02-22 Jim Lemke <jlemke@cygnus.com> - - * ldint.texinfo: remove extraneous right brace. - * ldmain.c (main): initialize and check option "mpc860c0". - * lexsup.c (ld_options, parse_args): add option "mpc860c0". - -Wed Feb 17 12:10:06 1999 Stan Cox <scox@cygnus.com> - - * mpw-elfmips.c (gldelf32ebmip_before_allocation): Remove special - .reginfo section handling. - * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Likewise. - * emulparams/elf32elmip.sh (INITIAL_READONLY_SECTIONS): Removed - * emulparams/elf32ebmip.sh (INITIAL_READONLY_SECTIONS): Removed - -1999-02-17 Nick Clifton <nickc@cygnus.com> - - Patch from: Scott Bambrough <scottb@corelcomputer.com> - - * configure.tgt: Added armv*-*-linux-gnu to $targ_emul - recognition. - -Wed Feb 17 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - - * emultempl/armelf_oabi.em - (bfd_elf32_arm_allocate_interworking_sections, - bfd_elf32_arm_get_bfd_for_interworking, - bfd_elf32_arm_process_before_allocation): Define them to use the - old ABI versions of the functions. - -Tue Feb 16 16:48:19 1999 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Change AC_PREREQ to 2.13. Change AM_PROG_INSTALL - to AC_PROG_INSTALL. Change AM_EXEEXT to AC_EXEEXT. - * Makefile.am (earmelf_oabi.c): Changes spaces to tab. - * acconfig.h: Remove. - * aclocal.m4: Rebuild. - * configure: Rebuild. - * Makefile.in: Rebuild. - -Mon Feb 15 18:21:48 1999 Vladimir N. Makarov <vmakarov@cygnus.com> - - * ldexp.h (struct etree_value_type): Change valid onto valid_p. - - * ldexp.c (new_abs): Ditto. - (new_rel, new_rel_from_section, fold_binary, invalid, fold_name, - exp_fold_tree, exp_binop, exp_trinop, stat_alloc, - exp_get_abs_int): Ditto - - * ldlang.c (print_assignment, lang_size_sections, - lang_do_assignments): Ditto. - -1999-02-11 Nick Clifton <nickc@cygnus.com> - - * ldlang.c (lang_check_section_addresses): New function: Check - addresses assigned to section for overlaps. - (lang_process): Call lang_check_section_addresses if suitable. - - * ld.h: Add new boolean field to args_type structure: - 'check_section_addresses'. - - * ldmain.c: Initialise check_section_addresses field to true. - - * lexsup.c: Add new command line options '--no-check-sections' and - '--check-sections'. - - * ld.texinfo: Document new command line options '--check-sections' - and '--no-check-sections'. - -1999-02-08 Nick Clifton <nickc@cygnus.com> - - * configure.tgt: Add support for StrongARM target. - -Wed Feb 3 19:41:01 1999 Ian Lance Taylor <ian@cygnus.com> - - * ldctor.c (ldctor_build_sets): Just set SEC_KEEP once. Check for - an owner of a section before using it to look up a reloc type. - Don't set SEC_KEEP for the absolute section. - -Mon Feb 1 11:39:46 1999 Catherine Moore <clm@cygnus.com> - - * Makefile.am (earmelf_oabi.o): New. - * Makefile.in: Regenerate. - * configure.tgt (arm-*-oabi): New. - (thumb-*-oabi): New. - * emulparams/armelf_oabi.sh: New. - * emultempl/armelf_oabi.em: New. - -1999-01-31 17:57:31 1998 Michael Meissner <meissner@cygnus.com> - - * scripttempl/elfppc.sc: Add support for -fleading-underscores - switch in all linker generated symbols. - - * configure.tgt (powerpc{,le}*-*-vxworks): Add as aliases for - powerpc{,le}-*-eabi. - -Wed Jan 20 17:01:48 1999 Ian Lance Taylor <ian@cygnus.com> - - * configure.tgt (i[3456]86-*-solaris2*): New target. From Pavel - Roskin <pavel_roskin@geocities.com>. - -1999-01-19 Nick Clifton <nickc@cygnus.com> - - * ldlang.c (lang_size_sections): Count loadable sections as - contributing to the size of the current segment. - -1999-01-15 Nick Clifton <nickc@cygnus.com> - - * ldlang.c (lang_size_sections): Only update the current - address of a region if the section just placed into it is an - allocated section. - -1999-01-12 Nick Clifton <nickc@cygnus.com> - - * Makefile.am: Replace efr30.o with eelf32fr30.o. - * Makefile.in: Regenerate. - - * configure.tgt: Replace fr30 with elf32fr30. - - * emulparams/elf32fr30.sh: New file: Replaces fr30.sh, and uses - generic elf.sc script. Also replaces the .stack section with a - user definable symbol __stack. - -1999-01-11 Nick Clifton <nickc@cygnus.com> - - * scripttempl/fr30.sc: Fill .init and .fini sections with NOP - pattern. - -1999-01-03 Ken Raeburn <raeburn@cygnus.com> - - * Makefile.am (check-DEJAGNU): No longer provide HOSTING_EMU, - HOSTING_CRT0, HOSTING_LIBS; the test suite can extract them from - configure.host and configure.tgt now. - * Makefile.in: Rebuild. - -1998-12-27 Ulrich Drepper <drepper@cygnus.com> - - * lexsup.c (parse_args, case OPTION_RPATH): Avoid adding duplicate - elements to rpath. - -Thu Dec 10 11:12:28 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - - * Makefile.am (ALL_EMULATIONS): Remove pe-dll.o and deffilep.o. - (ALL_EMUL_EXTRA_OFILES): New variable. Put them here instead. - * configure.in: Set EMUL_EXTRA_OFILES to $(ALL_EMUL_EXTRA_OFILES) - if configuring with all targets. - * configure, Makefile.in, aclocal.m4: Rebuild. - - * emultempl/pe.em (pe_enable_stdcall_fixup): Make static. - (pe_dll_do_default_excludes): Removed, unused. - (pe_def_file, pe_dll_export_everything, pe_dll_kill_ats, - pe_dll_stdcall_aliases): Don't initialize them, this file may be - compiled more than once. - * pe-dll.c (pe_def_file, pe_dll_export_everything, - pe_dll_do_default_excludes, pe_dll_kill_ats, - pe_dll_stdcall_aliases): Define and initialize them here instead. - (generate_reloc): Fix allocation of reloc_addresses array to use - bfd_vma instead of unsigned long. Fix element size in qsort call. - (reloc_sort): Compare pointers to bfd_vma instead of unsigned - long. - -Mon Dec 7 21:10:09 1998 J.J. van der Heijden <j.j.vanderheijden@student.utwente.nl> - - * configure.tgt (i[3456]86-*-mingw32*): Add cygwin target specific - files. - -Sun Dec 6 16:33:33 1998 Ian Lance Taylor <ian@cygnus.com> - - * configure.tgt (m68*-*-gnu*): New target. From Aymeric Vincent - <aymeric.vincent@emi.u-bordeaux.fr>. - -1998-12-04 Nick Clifton <nickc@cygnus.com> - - * emulparams/fr30.sh (TEXT_START_ADDR): Change TEXT_START_ADDR - from 0x100000 to 0x10000 so that it fits in 20 bits. - -Sat Nov 28 22:32:20 1998 Ian Lance Taylor <ian@cygnus.com> - - * ldemul.h (ldemul_recognized_file): Declare. - -Sat Nov 28 22:30:55 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - - * ldlang.c (lang_add_wild): Don't pretend that there is an input - file if the filename is a wildcard pattern. - -1998-11-25 DJ Delorie <dj@cygnus.com> - - * ldemul.h (ld_emulation_xfer_struct): new hook "recognized_file" - * ldemul.c (ldemul_recognized_file): new function, new hook - * ldint.texinfo: document new hook. - * ldlang.c (load_symbols): call recognized_hook for all objects we - do recognize, in case the emulation needs to handle them - specially. PE DLLs use this. - * pe-dll.c (pe_dll_generate_def_file): take out hack and debug - printfs - * emultempl/pe.em (gld_i386_recognized_file): new function - (gld_i486_unrecognized_file): take out hack - -1998-11-23 DJ Delorie <dj@cygnus.com> - - * pe-dll.c (fill_edata): fill in timestamp - (make_head): name object files sequentially to ensure - they link in the right order. - (make_tail): same here - (pe_process_import_defs): use sequential names for bfds to ensure - proper link order. - (pe_implied_import_dll): new function; handles linking directly - against DLLs by simulating IMPORTS directives. * emultempl/pe.em - (gld_i386pe_before_parse): hack bfd to not recognize .dll files - via bfd_pe_dll_not_recognized_hack - -1998-11-23 DJ Delorie <dj@cygnus.com> - - * emultempl/pe.em (gld_i386pe_parse_args): Conditionalize call to - pe_dll_add_excludes - -Mon Nov 23 14:36:18 1998 Nick Clifton <nickc@cygnus.com> - - * emultempl/pe.em (after_parse): Only create an undefined entry - symbol if one has been specified. - -1998-11-23 DJ Delorie <dj@cygnus.com> - - * emultempl/pe.em (gld_i386pe_after_open): call - pe_process_import_defs - * pe-dll.c (pe_dll_generate_def_file): calculate BASE from - pe_data, only print if actually set. Print version only if - set. - (save_relocs): save relocs for both input and output. - (make_one): support internal/external different names. - (pe_dll_generate_implib): support new make_one - (pe_process_import_defs): new function; handles IMPORT - directives in .def files. - -Fri Nov 20 13:06:49 1998 Nick Clifton <nickc@cygnus.com> - - * ldmisc.c (vfinfo): Cope with empty symbol names. - -Thu Nov 19 13:31:15 1998 Nick Clifton <nickc@cygnus.com> - - * scripttempl/pe.sc: Add provision of '_end' symbol. - -Wed Nov 18 18:18:43 1998 Geoffrey Noer <noer@cygnus.com> - - * configure.tgt: change refs from cygwin32* to cygwin*. - * aclocal.m4: regenerate - * configure.in: don't need to call AM_CYGWIN32. - * configure: regenerate - -Mon Nov 16 22:14:07 1998 DJ Delorie <dj@cygnus.com> - - * emultempl/pe.em (gld_i386_finish): generate import library - * deffile.h: add hint member. - * pe-dll.c (pe_dll_generate_implib): New function with helpers; - generates the import library directly from the export table. - (fill_edata): remember the actual hint for the import library. - -Sat Nov 14 14:36:24 1998 Ian Lance Taylor <ian@cygnus.com> - - * ld.1: Some cleanups from NOKUBI Hirotaka <hnokubi@yyy.or.jp>. - -Thu Nov 12 19:21:57 1998 Dave Brolley <brolley@cygnus.com> - - * po/ld.pot: Regenerated. - * po/POTFILES.in: Regenerated. - * configure: Regenerated. - * aclocal.m4: Regenerated. - * Makefile.in: Regenerated. - -Wed Nov 11 18:10:15 1998 DJ Delorie <dj@cygnus.com> - - * pe-dll.c (generate_reloc): don't output PE relocs for sections - that won't be loaded. - -Wed Nov 11 13:44:54 1998 DJ Delorie <dj@cygnus.com> - - * pe-dll.c (fill_edata): don't strip underscores - -Tue Nov 10 21:28:19 1998 DJ Delorie <dj@cygnus.com> - - * ld.texinfo: added i386pe option summary - -Tue Nov 10 17:53:17 1998 DJ Delorie <dj@cygnus.com> - - * pe-dll.c (process_def_file): properly note undefined exported - symbols, clean up old code. - (pe_dll_generate_def_file): don't crash if pe_def_file is NULL - * emultempl/pe.em (gld_i386_parse_args): add - (en/dis)able-stdcall-fixups - (pe_fixup_stdcalls): warn about stdcall fixups - (gld_i386_unrecognized_file): make exported symbols undefs so that - archive members get pulled in - -Tue Nov 10 14:50:51 1998 Catherine Moore <clm@cygnus.com> - - * scripttempl/elfd10v.sc: Add KEEP attribute to .init, - .fini, .dtors and .ctors. Add .data and .text - wildcards to support section garbage collection. - -Mon Nov 9 22:52:50 1998 DJ Delorie <dj@indy.delorie.com> - - * deffilep.y: properly handle relocs with multiple def_files, - cache import module names - -Mon Nov 9 22:44:58 1998 DJ Delorie <dj@cygnus.com> - - * pe-dll.c (process_def_file): don't assume exports won't move - during a realloc - -Mon Nov 9 16:41:30 1998 DJ Delorie <dj@cygnus.com> - - * pe-dll.c: New file; direct support for PE DLLs - * deffile.h: New file; direct support for PE DLLs - * deffilep.y: New file; direct support for PE DLLs - * emultempl/pe.em: add direct support for PE DLLs - * configure.tgt: allow target-specific extra files - * configure.in: allow target-specific extra files - * ldlang.c (lang_add_assignment): return the assignment so that - one can change the value later based on the object files (pe-dll - DEF files do this) - * ldint.texinfo: add section for emulation walkthrough - * Makefile.am: add new files and target-specific extra files - * emultempl/pe.em (gld_i386_list_options): list dll-specific - options. - * pe-dll.c (process_def_file): auto-export everything if - nothing is otherwise exported. - -Wed Nov 4 16:39:18 1998 Nick Clifton <nickc@cygnus.com> - - * Makefile.am: Add support for FR30 target. - * configure.tgt: Add support for FR30 target. - * Makefile.in: Regenerate. - * emulparams/fr30.sh: New file. - * scripttemp/fr30.sc: New file. - -Mon Nov 2 14:47:15 1998 Catherine Moore <clm@cygnus.com> - - * ldmain.c (main): Don't report error for dynamic links and - --gc-sections. - -1998-10-26 16:05 Ulrich Drepper <drepper@cygnus.com> - - * lexsup.c (ld_options): Change text of -O to Optimize output file". - (parse_args): Set link_info.optimize based on -O argument. - * ldmain.c (main): Initialize link_info.optimze to false. - * ld.texinfo: Describe -O option. - * ld.1: Likewise. - -Mon Oct 12 14:29:56 1998 Nick Clifton <nickc@cygnus.com> - - * scripttempl/v850.sc: Move .sbss and .scommon sections into their - own segment, so that they can be next to the .bss section and so - initialised by the same piece of code. - -Fri Oct 9 15:59:52 1998 Catherine Moore <clm@cygnus.com> - - * scripttempl/elf.sc: Merge .sdata.* etc sections. - * ldctor.c (ldctor_build_sets): Set SEC_KEEP for - ctor sections. - -Mon Oct 5 09:40:43 1998 Catherine Moore <clm@cygnus.com> - - * ldmain.c (main): Error if --gc-sections and - dyanmic linking. - * scripttempl/v850.sc: Add KEEP attribute to .init, - .fini, .dtors and .ctors. Add .data and .text - wildcards to support section garbage collection. - -Wed Sep 30 11:19:15 1998 Nick Clifton <nickc@cygnus.com> - - * scripttempl/v850.sc: Rename .call_table section to - .call_table_data and create a new section called - .call_table_text. - -Sun Sep 20 00:43:26 1998 Ian Lance Taylor <ian@cygnus.com> - - * scripttempl/elf.sc: Add alignment at the end of the .bss - section, so that it is included in the memsize of the segment. - -Fri Sep 18 13:42:42 1998 Catherine Moore <clm@cygnus.com> - - * emultempl/elf32.em (gld_place_orphan): Don't process for - sections with SEC_EXCLUDE flag. - -Fri Sep 4 09:24:02 1998 Nick Clifton <nickc@cygnus.com> - - * emulparams/d30velf.sh (TEXT_SIZE): Increased to 2000K. - (DATA_SIZE): Increased to 2000K. - -Thu Sep 3 17:30:58 1998 Richard Henderson <rth@cygnus.com> - - * emulparams/d10velf.sh (TEMPLATE_NAME): Use elf32. - -Mon Aug 31 01:06:00 1998 Catherine Moore <clm@cygnus.com> - - * Makefile.am: Change armelf.sc to elf.sc - * Makefile.in: Regenerate. - -Mon Aug 31 11:12:04 1998 Catherine Moore <clm@cygnus.com> - - * emulparams/armelf.sh: Change SCRIPT_NAME to - elf. Change TEXT_START_ADDR to 0x8000. Define - OTHER_TEXT_SECTIONS, OTHER_BSS_SYMBOLS and - OTHER_BSS_END_SYMBOLS. - * scripttempl/elf.sc: Modify to use - OTHER_BSS_END_SYMBOLS. - * scripttempl/elfarm.sc: Remove file. - -Tue Aug 18 12:05:34 1998 Catherine Moore <clm@cygnus.com> - - * emultempl/armelf.em (gld_armelf_before_allocation): - Add bfd_ prefix to elf32_arm_process_before_allocation - and elf32_arm_allocate_interworking_sections. - (gld_armelf_after_open): Add bfd_ prefix to - elf32_arm_get_bfd_for_interworking. - -Fri Aug 14 15:34:29 1998 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.am: Rebuild dependencies. - * Makefile.in: Rebuild. - - * ldgram.y: Include "ldctor.h". - (statement): Accept SORT around CONSTRUCTORS. - * ldctor.c: Include <ctype.h>. - (constructors_sorted): New global variable. - (ctor_prio, ctor_cmp): New static functions. - (ldctor_build_sets): Sort constructors if requested. - * ldctor.h (constructors_sorted): Declare. - * ldlang.c (print_statement): Print sorted CONSTRUCTORS - correctly. - * scripttempl/elf.sc: Add sort around CONSTRUCTORS. - * ld.texinfo (Output Section Keywords): Document SORT - (CONSTRUCTORS). - -Thu Aug 13 12:20:39 1998 Catherine Moore <clm@cygnus.com> - - * emulparams/armelf.sh: Define TEMPLATE_NAME to armelf. - * scripttempl/elfarm.sc: Include .glue_7t and .glue7 - sections. - * emultempl/armelf.em: New file. - -Thu Aug 13 12:52:45 1998 H.J. Lu <hjl@gnu.org> - - * Makefile.am (ld.dvi): Use " instead of ' for MAKEINFO. - * Makefile.in: Rebuild. - -Tue Aug 11 16:17:01 1998 Catherine Moore <clm@cygnus.com> - - * scripttempl/elfarm.sc: Change text start address - back to zero. - -Tue Aug 11 10:01:12 1998 Jeffrey A Law (law@cygnus.com) - - * emulparms/mn10200.sh (MAX_PAGESIZE): Define to 1. - * emulparms/mn10300.sh (MAX_PAGESIZE): Define to 1. - -Sun Aug 9 20:31:27 1998 Catherine Moore <clm@cygnus.com> - - * scripttempl/elfarm.sc: Set text start address to - 0x8000. Add __bss_end definition. - -Sat Aug 1 11:47:37 1998 Catherine Moore <clm@cygnus.com> - - * scripttempl/elfarm.sc: New file. - * emulparams/armelf.sh: Set SCRIPT_NAME to elfarm. - -Fri Jul 31 15:56:16 1998 Catherine Moore <clm@cygnus.com> - - * emulparams/armelf.sh: New file. - * configure.tgt: Recognize thumb-elf and arm-elf. - * Makefile.am (earmelf.o): New. - * Makefile.in: Rebuild. - -Fri Jul 24 12:00:57 1998 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.am (install-exec-local): Don't remove the file before - checking whether $(bindir) == $(tooldir)/bin. From Maciej - W. Rozycki <macro@ds2.pg.gda.pl>. - * Makefile.in: Rebuild. - - * configure.tgt: Recognize h8[35]00*-coff* as well as -hms*. - -Thu Jul 23 11:15:12 1998 Ian Lance Taylor <ian@cygnus.com> - - * scripttempl/aout.sc: If ALIGNMENT is defined, use it to set - alignment of end symbol. - * scripttempl/elf.sc: Likewise. - * emulparams/sun4.sh (ALIGNMENT): Define. - * emulparams/elf32_sparc.sh (ALIGNMENT): Define. - * ldint.texinfo (emulation parameters): Document ALIGNMENT. - - * lexsup.c (parse_args): Add missing break statement. - - * ldlang.c (lang_gc_sections_1): Add default case to switch to - avoid warnings. - -Tue Jul 14 15:42:17 1998 Richard Henderson <rth@cygnus.com> - - * configure.tgt (i?86-*-beos{pe,elf,}*): Recognize. - * Makefile.am (ei386beos.o): New. - * emulparams/i386beos.sh: New file. - * emultempl/beos.em, scripttempl/i386beos.sc: New file. - -Tue Jul 14 15:35:42 1998 Richard Henderson <rth@cygnus.com> - - * lexsup.c: New option --version-exports-section. - * ld.h (struct args_type): Add version_exports_section. - * ldlang.c (lang_do_version_exports_section): New function. - (lang_process): Call it. - -Mon Jul 13 13:20:23 1998 Steve Chamberlain <sac@transmeta.com> - - * ldlex.l: Accept ASSERT. - * ldgram.y (exp): Add ASSERT_K case. - * ldexp.h (node_type): Add etree_assert to node_class enum. - (etree_type): Add assert_s field. - (exp_assert): Declare. - * ldexp.c (exp_fold_tree): Handle etree_assert. - (exp_assert): New function. - (exp_print_tree): Handle etree_assert. - * ld.texinfo (Miscellaneous Commands): Document ASSERT. - -Wed Jul 8 14:03:12 1998 Ian Lance Taylor <ian@cygnus.com> - - * ldgram.y: Change MAX to MAX_K and MIN to MIN_K, to avoid - conflicts with system header files. Change all uses. - - * Makefile.am (MAINTAINERCLEANFILES): Define. - * Makefile.in: Rebuild. - -Tue Jul 7 18:03:22 1998 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.am (ldver.texi): New target. - (ld.info, ld.dvi): Depend upon ldver.texi. - * ld.texinfo: Include ldver.texi. Mention version number on title - page and in top node. - * Makefile.in: Rebuild. - -Mon Jul 6 14:55:13 1998 Ian Lance Taylor <ian@cygnus.com> - - * configure.tgt (i[3456]86-*-solaris*): New target. - -Fri Jul 3 14:19:06 1998 Ian Lance Taylor <ian@cygnus.com> - - * ldlang.c (wild_section): Don't get an assertion failure if the - section is discarded. - - * scripttempl/pe.sc: Use SORT to sort sections appropriately. - * emultempl/pe.em (sort_by_file_name): Remove. - (sort_by_section_name): Remove. - (sort_sections_1, sort_sections): Remove. - (gld_${EMULATION_NAME}_before_allocation): Don't call - sort_sections. - (hold_section, hold_section_name): New static variables. - (hold_use, hold_text, hold_rdata, hold_data, hold_bss): Likewise. - (gld_${EMULATION_NAME}_place_orphan): Rewrite. Look for a good - place to put the section. Align the section. Sort the input - sections by name. - (gld_${EMULATION_NAME}_place_section): New static function. - - * ldlang.c (wild_sort): When sorting by file name, sort by archive - name first. - - * emultempl/pe.em (set_pe_subsystem): Don't call - ldlang_add_undef. - (gld_${EMULATION_NAME}_after_parse): New static function. - (ld_${EMULATION_NAME}_emulation): Use new after_parse function - rather than after_parse_default. - - * ldgram.y (extern_name_list): Do not require symbols to be - separated by commas. - (ifile_p1): Add EXTERN. - * ldlex.l: Accept EXTERN in BOTH and SCRIPT mode as well as MRI - mode. - * ld.texinfo (Options): Mention that EXTERN is equivalent to -u. - (Miscellaneous Commands): Document EXTERN. - -Wed Jul 1 19:40:34 1998 Richard Henderson <rth@cygnus.com> - - * ld.h (args_type): Add gc_sections. - * ldgram.y (ldgram_had_keep, KEEP): New. - (input_section_spec_no_keep): Rename from old input_section_spec. - (input_section_spec): New. Recognize KEEP. - * ldlang.c (wild_section): Handle keep sections. - (lang_gc_wild_section, lang_gc_wild_file, lang_gc_wild): New. - (lang_gc_sections_1, lang_gc_sections): New. - (lang_process): Invoke lang_gc_sections. - (lang_add_wild): Add keep argument. Update all callers. - * ldlang.h (lang_wild_statement_struct): Add keep_sections. - * ldlex.l (KEEP): Match it. - * ldmain.c (main): Error on -r and --gc-sections. - * lexsup.c: Add --gc-sections. - - * scripttempl/elf.sc: Merge .text.* etc sections appropriately. - Mark startup sections with KEEP. - * scripttempl/elfppc.sc: Likewise. - - * ld.texinfo: Update for --gc-sections and KEEP. - -Wed Jul 1 15:21:20 1998 Ian Lance Taylor <ian@cygnus.com> - - From Peter Jordan <pjordan@chla.usc.edu>: - * scripttempl/i386go32.sc: Correct constructor handling for -u. - -Tue Jun 23 15:17:27 1998 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.am (install-data-local): Make ldscripts subdirectory. - * Makefile.in: Rebuild. - -Tue Jun 23 15:17:04 1998 Mike Stump <mrs@wrs.com> - - * Makefile.am (install-exec-local): Don't let EXEEXT interfere - with the program transform name. - * Makefile.in: Rebuild. - -Sun Jun 21 23:55:16 1998 Jeffrey A Law (law@cygnus.com) - - * ld.texinfo: Note that -relax may make symbolic debugging - impossible on some platforms. - -Tue Jun 16 12:51:13 1998 Geoff Keating <geoffk@ozemail.com.au> - - * Makefile.am (Makefile): Remove target. - (config.status): New target. - * Makefile.in: Rebuild. - - * configure.host (powerpc*-*-linux-gnu*): New host. - -Fri Jun 12 17:38:07 1998 Doug Evans <devans@seba.cygnus.com> - - * scripttempl/elf.sc (INPUT_FILES): Optional INPUT spec. - - * emulparams/m32relf.sh (OTHER_RELOCATING_SECTIONS): Change top of - stack to 8MB. - -Fri Jun 12 19:33:17 1998 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.am (HFILES): Remove config.h. - (EMULATION_OFILES, POTFILES): Move patch of May 14 from - Makefile.in to Makefile.am. - (earmcoff.c): Depend upon armcoff.em, not generic.em. - * po/Make-in (all-yes): Correct misspelling in $(PACKAGE). - ($(srcdir)/$(PACKAGE).pot): Pass -C to $(XGETTEXT). - * Makefile.in, po/POTFILES.in, po/ld.pot: Rebuild. - -Fri Jun 12 13:43:17 1998 Tom Tromey <tromey@cygnus.com> - - * po/Make-in (all-yes): If maintainer mode, depend on .pot file. - ($(PACKAGE).pot): Unconditionally depend on POTFILES. - -Tue Jun 9 09:36:48 1998 Nick Clifton <nickc@cygnus.com> - - * ldlang.c (lang_finish): Add CONST type modifier to declaration - of 'send'. - -Fri Jun 5 18:19:59 1998 Ian Lance Taylor <ian@cygnus.com> - - * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Set - config.has_shared to true. - * emultempl/linux.em (gld${EMULATION_NAME}_before_parse): - Likewise. - * emultempl/sunos.em (gld${EMULATION_NAME}_before_parse): - Likewise. - -Tue Jun 2 12:55:03 1998 Ian Lance Taylor <ian@cygnus.com> - - * ldlang.c (lang_finish): If the entry symbol is not found, try - parsing it as a number. - * ld.texinfo (Options): Document this. - -Mon Jun 1 14:01:20 1998 Ian Lance Taylor <ian@cygnus.com> - - * ld.texinfo (Input Section Wildcards): Document SORT keyword. - -Mon May 18 12:42:53 1998 Doug Evans <devans@canuck.cygnus.com> - - * ld.h (ld_config_type): New member has_shared. - * ldmain.c (main): Initialize it. - * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set it. - * lexsup.c (parse_args): Treat -shared as error if not supported. - -Mon May 18 13:14:43 1998 Ian Lance Taylor <ian@cygnus.com> - - From Jason Merrill <jason@cygnus.com>: - * ldlang.c (wild_sort): Correct order of sort. - * scripttempl/elf.sc: Put *crtbegin.o before other .ctors and - .dtors. - * scripttempl/elfd10v.sc: Likewise. - * scripttempl/elfd30v.sc: Likewise. - * scripttempl/elfppc.sc: Likewise. - -Fri May 15 00:22:35 1998 Ian Lance Taylor <ian@cygnus.com> - - * ldlex.l: Recognize keyword SORT. - * ldgram.y (current_file): Change to struct wildcard_spec. - (%union): Add new fields cname and wildcard. - (wildcard_name, wildcard_spec): New nonterminals. - (file_NAME_list): Use wildcard_spec. - (input_section_spec): Change current_file usage. - * ld.h (struct wildcard_spec): Define. - * ldlang.h (lang_wild_statement_struct): Add new fields - sections_sorted and filenames_sorted. - (lang_add_wild): Update declaration. - * ldlang.c (wild_sort): New static function. - (wild_section): Use wild_sort. - (print_wild_statement): Print sorting information. - (lang_add_wild): Add new parameters sections_sorted and - filenames_sorted. Change all callers. - * mri.c (mri_draw_tree): Update calls to lang_add_wild. - * scripttempl/elf.sc: Sort .ctors.* and .dtors.* by section name. - * scripttempl/elfd10v.sc: Likewise. - * scripttempl/elfd30v.sc: Likewise. - * scripttempl/elfppc.sc: Likewise. - -Thu May 14 18:39:16 1998 Richard Henderson <rth@cygnus.com> - - * emulparams/m32relf.sh (TEMPLATE_NAME): Define. - -Thu May 14 14:51:24 1998 Nick Clifton <nickc@cygnus.com> - - * ldemul.h: Add new prototype: ldemul_list_emulation_options. - (ld_emulation_xfer_struct): Add new field: list_options. - * ldemul.c (ldemul_list_options): New function. Call the - list_options field of the ld_emulation_xfer_struct for each - supported emulation, if such a function is present. - * lexsup.c (help): Call ldemul_list_emulation_options. - * emultempl/pe.em (gld_<>_list_options): New function. Describe - the pe emulation specific command line options. - * emultempl/armcoff.em (gld<>_list_options): New function. - Describe the armcoff emulation specific command line options. - - * emultempl/pe.em: Add a new command line option: - --support-old-code. - * emultempl/armcoff.em: Ditto. - * ld.texinfo: Document the --support-old-code option. - - * Makefile.in: Add emulation files for POTFILES.in target. - * emultempl/pe.em: Internationalise suitable strings. - * emultempl/armcoff.em: Internationalise suitable strings. - * po/POTFILES.in: Rebuilt. - -Sun May 10 22:36:30 1998 Jeffrey A Law (law@cygnus.com) - - * po/Make-in (install-info): New target. - -Tue Apr 28 19:18:30 1998 Tom Tromey <tromey@cygnus.com> - - * ldmain.c (main): Conditionally call setlocale. - * ld.h: Include <locale.h> if HAVE_LOCALE_H. - (LC_MESSAGES): Now can be defined even when ENABLE_NLS. - -Mon Apr 27 11:56:21 1998 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Change version number to 2.9.4 - * configure: Rebuild. - - * ld.texinfo (Options) [-rpath-link]: Mention ld.so.conf. - - Based on patch from H.J. Lu <hjl@gnu.org>: - * emultempl/elf32.em (global_vercheck_needed): New file static - variable. - (global_vercheck_failed): New file static variable. - (gld${EMULATION_NAME}_after_open): Check for shared libraries - twice, once with force set to 0 and once with it set to 1. - (gld${EMULATION_NAME}_check_ld_so_conf): Add force parameter. - Change all callers. - (gld${EMULATION_NAME}_search_needed): Likewise. - (gld${EMULATION_NAME}_try_needed): Likewise. If not force, check - whether the libraries needs any incompatible versions. - (gld${EMULATION_NAME}_vercheck): New static function. - -Wed Apr 22 16:01:35 1998 Tom Tromey <tromey@cygnus.com> - - * po/Make-in (MKINSTALLDIRS): Don't look in $(top_srcdir). - -Wed Apr 22 12:40:56 1998 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.am (check-DEJAGNU): Add $(INTLLIBS) to LIBIBERTY when - invoking runtest. - * Makefile.in: Rebuild. - - * lexsup.c (parse_args): Change -l options into --library options - to avoid confusion between -li and -library. - - * ld.texinfo (MEMORY): Clarify use of >REGION. - -Tue Apr 21 23:12:40 1998 Tom Tromey <tromey@scribbles.cygnus.com> - - * Many files: Added gettext invocations around user-visible - strings. - * ld.h: Added gettext-related includes and defines. - * ldmain.c: Call setlocale, bindtextdomain, textdomain. - * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY, - HAVE_LC_MESSAGES): Define. - * configure.in: Call CY_GNU_GETTEXT. Create po/Makefile.in and - po/Makefile. Use AM_PROG_LEX. - (TDIRS): AC_SUBST early on, to avoid having value split when it - happens to cross line 90 of the generated sed script. - * Makefile.am (SUBDIRS): New macro. - (POTFILES): Likewise. - (po/POTFILES.in): New target. - (ld_new_LDADD): Added INTLLIBS. - (ld_new_DEPENDENCIES): Added INTLDEPS. - * po/Make-in, po/POTFILES.in, po/gas.pot: New files. - -Tue Apr 21 23:07:07 1998 Ian Lance Taylor <ian@cygnus.com> - - * ld.texinfo (Simple Example): Rewrite a few things as suggested - by Nick Clifton <nickc@cygnus.com>. - (PROVIDE): Likewise. - -Tue Apr 21 09:55:06 1998 Nick Clifton <nickc@cygnus.com> - - * emultempl/pe.em: Rename external arm interworking functions - to conform to BFD naming conventions. Add code to _after_open() - function to obtain a bfd for use by the interworking code. - - * emultempl/armcoff.em: Rename external arm interworking functions - to conform to BFD naming conventions. Add new _after_open() - function to obtain a bfd for use by the interworking code. - -Sun Apr 19 19:23:09 1998 Richard Henderson <rth@cygnus.com> - - * ldlang.c (lang_size_sections) [case lang_assignment_statement_enum]: - Update dot and the default memory section even when relaxing. - -Sat Apr 18 18:41:12 1998 Richard Henderson <rth@cygnus.com> - - * ldlang.c (lang_one_common): Manipulate the section's cooked size - rather than its raw size. - -Tue Apr 7 13:35:29 1998 H.J. Lu <hjl@gnu.org> - - * configure.in (TESTBFDLIB): New. Defined and substituted. - * Makefile.am (TESTBFDLIB): Changed to @TESTBFDLIB@. - * configure, Makefile.in: Rebuild. - -Mon Apr 6 15:33:39 1998 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.am (ld.info): Invoke makeinfo with -I options directly - rather than relying on default rule. Don't depend upon - bfdsumm.texi. - (ld.dvi): Likewise. - (bfdsumm.texi): Remove target. - (CLEANFILES): Take bfdsumm.texi out of value. - * Makefile.in: Rebuild. - -Sun Apr 5 13:07:57 1998 Ian Lance Taylor <ian@cygnus.com> - - * scripttempl/pe.sc: Use shell variables to avoid depending upon - how $ is handled when expanding a shell substitution. - -Fri Apr 3 00:56:50 1998 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.am (MOSTLYCLEANFILES): Add ld.log and ld.sum. - (DISTCLEANFILES): Add site.exp and site.bak. - * Makefile.in: Rebuild. - - * configure.in: Put the tdirs in a file and use AC_SUBST_FILE, - rather than in a shell variable and using AC_SUBST. - * Makefile.am (DISTCLEANFILES): Remove ldscripts. Add tdirs. - (distclean-local): New target. - * configure, Makefile.in: Rebuild. - - * ld.texinfo: Completely rewrite linker script documentation. - -Mon Mar 30 12:47:33 1998 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Set version to 2.9.1. - * configure: Rebuild. - - * Branched binutils 2.9. - -Sat Mar 28 16:48:19 1998 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.am (MOSTLYCLEANFILES): Remove tmpdir. - (mostlyclean-local): New target to remove tmpdir. - * Makefile.in: Rebuild. - - Fix some gcc -Wall warnings: - * ldcref.c (output_cref): Add casts to avoid warnings. - * ldfile.c (ldfile_add_arch): Likewise. - * ldlang.c (lang_leave_overlay_section): Likewise. - * lexsup.c (OPTION_COUNT): Likewise. - (parse_args): Likewise. - * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): - Likewise. - * emultempl/sunos.em (gld${EMULATION_NAME}_search_dir): Likewise. - * ldlang.c (lang_check): Initialize variables to avoid warnings. - * ldwrite.c (build_link_order): Likewise. - * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Likewise. - * emultempl/armcoff.em (gld${EMULATION_NAME}_before_allocation): - Remove unused variables. - - * Makefile.am (MOSTLYCLEANFILES): Correct name (was - MOSTCLEANFILES). - * Makefile.in: Rebuild. - -Fri Mar 27 16:39:25 1998 Ian Lance Taylor <ian@cygnus.com> - - * emultempl/pe.em (gld_${EMULATION_NAME}_before_allocation): Put - ARM code inside ifdef TARGET_IS_armpe. - -Wed Mar 25 11:34:13 1998 Ian Lance Taylor <ian@cygnus.com> - - Based on patch from H.J. Lu <hjl@gnu.org>: - * Makefile.am (LDDISTSTUFF): New variable. - (diststuff): New target. - * Makefile.in: Rebuild. - - * scripttempl/pe.sc: Only include .idata\$[0-7] in .idata when - relocating. - -Tue Mar 24 15:59:29 1998 Nick Clifton <nickc@cygnus.com> - - * scripttempl/pe.sc (.text): Add .glue_7 and .glue_7t sections to - hold Arm/Thumb stubs. - - * emultempl/pe.em (gld_pe_before_allocation): Call - arm_process_before_allocation (for ARM/Thumb targets) in order to - gather interworking stb information. - -Mon Mar 23 18:54:15 1998 Joel Sherrill <joel@OARcorp.com> - - * configure.tgt: (sh*-*-rtems*): Switched from ELF to COFF. - -Fri Mar 20 19:17:13 1998 Ian Lance Taylor <ian@cygnus.com> - - * aclocal.m4, configure: Rebuild with libtool 1.2. - -Thu Mar 19 14:54:45 1998 Geoffrey Noer <noer@cygnus.com> - - * scripttempl/pe.sc: The Cygwin32 library uses a .data$nocopy - section to avoid copying certain data on fork. The linker used to - include this between __data_start__ and __data_end__, but that - breaks building the cygwin32 dll. The fix is to rename the - section ".data_cygwin_nocopy" and explictly include it after - __data_end__. - -Wed Mar 18 09:42:24 1998 Nick Clifton <nickc@cygnus.com> - - * configure.tgt (targ_extra_emuls): Add thumb-pe target. - -Sun Mar 8 23:34:14 1998 Stan Cox <scox@equinox.cygnus.com> - - * configure.tgt (sparclite*-*-elf): Added. - -Mon Mar 2 19:24:08 1998 Michael Meissner <meissner@cygnus.com> - - * ldlang.c (lang_size_sections): If the default memory region is - *default*, see if there is a memory region that could be used. - -Thu Feb 26 17:09:53 1998 Michael Meissner <meissner@cygnus.com> - - * scripttempl/elfd30v.sc: Add support for .eit_v section and put - it at 0xfffff020. - * emulparams/d30v{elf,_o,_e}.sh: Ditto. - -Mon Feb 23 17:46:51 1998 Ian Lance Taylor <ian@cygnus.com> - - * emultempl/pe.em (sort_sections): Permit the wildcard to include - a trailing '*' when sorting grouped sections. - * scripttempl/pe.sc: Include grouped sections using NAME\$*. Only - include them when relocating. - -Wed Feb 18 23:39:46 1998 Richard Henderson <rth@cygnus.com> - - * Makefile.am (install-exec-local): Install properly when ln - fails or tooldir == prefix. - -Fri Feb 13 15:24:06 1998 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.am (AUTOMAKE_OPTIONS): Define. - * configure, Makefile.in, aclocal.m4: Rebuild with automake 1.2e. - -Thu Feb 12 14:10:44 1998 Ian Lance Taylor <ian@cygnus.com> - - * scripttempl/elf.sc: Align the _end symbol according to the ELF - format size. From Gordon W. Ross <gwr@mc.com>. - - NetBSD patches from Gordon W. Ross <gwr@mc.com>: - * configure.host (alpha*-*-netbsd*): New host. - * configure.tgt (alpha*-*-netbsd*, powerpc-*-netbsd*): New - targets. - - * lexsup.c (help): Update bug-gnu-utils address. - * ld.texinfo (Bug Reporting): Likewise. - -Tue Feb 10 18:05:56 1998 Ian Lance Taylor <ian@cygnus.com> - - * ldlang.c (lang_size_sections): Warn if some memory regions were - defined, but a loadable section is going into the default memory - region. - -Tue Feb 10 16:17:20 1998 H.J. Lu <hjl@gnu.org> - - * ldlex.l (V_IDENTIFIER): Allow '.' as symbol prefix. - -Tue Feb 10 15:09:45 1998 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.am (Makefile): Add target, for dependencies on - configure.host and configure.tgt. - * configure.host, configure.tgt: Change -linux* to -linux-gnu*. - * Makefile.in: Rebuild. - -Mon Feb 9 13:44:40 1998 Andrew Cagney <cagney@b1.cygnus.com> - - * scripttempl/elfd10v.sc (.stack): Move stack to 0x00..7FFE. - - * emulparams/d10velf.sh (READONLY_START_ADDR): Read only section - moved to 0x00.....4. - -Sat Feb 7 15:41:26 1998 Ian Lance Taylor <ian@cygnus.com> - - * configure, aclocal.m4: Rebuild with new libtool. - -Thu Feb 5 12:16:11 1998 Ian Lance Taylor <ian@cygnus.com> - - * scripttempl/pe.sc: Remove ${RELOCATING-0} from all sections. - From Thomas de Lellis <tdel@wrs.com>. - - * configure, Makefile.in, aclocal.m4: Rebuild with new libtool. - -Wed Feb 4 13:02:32 1998 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.am (ld_new_LDADD): Remove @LEXLIB@. - * Makefile.in: Rebuild. - -Mon Feb 2 19:34:54 1998 Steve Haworth <steve@pm.cse.rmit.EDU.AU> - - Add tms320c30 support: - * configure.tgt (tic30-*-*aout*, tic30-*-*coff*): New targets. - * emulparams/tic30aout.sh: New file. - * emulparams/tic30coff.sh: New file. - * scripttempl/tic30aout.sc: New file. - * scripttempl/tic30coff.sc: New file. - * Makefile.am (ALL_EMULATIONS): Add etic30aout.o and - etic30coff.o. - (etic30aout.c, etic30coff.c): New targets. - * Makefile.in: Rebuild. - -Mon Feb 2 14:10:59 1998 Ian Lance Taylor <ian@cygnus.com> - - * configure.host: Correct HOSTING_CRT0 in alpha*-*-linux* case to - accept either ld.so or ld-linux.so. - -Fri Jan 30 19:16:28 1998 Doug Evans <devans@canuck.cygnus.com> - - * Makefile.am ({CC,CXX}_FOR_TARGET): Change program_transform_name - to transform. - * Makefile.in: Regenerate. - -Fri Jan 30 19:15:17 1998 Geoff Keating <geoffk@ozemail.com.au> - - * scripttempl/elfppc.sc: Put .dynsbss in .sbss. - -Fri Jan 30 11:43:49 1998 H.J. Lu <hjl@gnu.ai.mit.edu> - - * Makefile.am (eelf32bsmip.c, eelf32lsmip.c): New targets. - * Makefile.in: Rebuild. - -Thu Jan 29 16:04:21 1998 Mumit Khan <khan@xraylith.wisc.edu> - - * ldfile.c (slash): Set to backslash if _WIN32 but not - __CYGWIN32__. - (ldfile_open_file_search): If __MSDOS__ or _WIN32, accept a - leading backslash or a leading x: as an absolute path. - (ldfile_find_command_file): Use slash rather than / when - generating name to try. - * lexsup.c (PATH_SEPARATOR): Define. - (set_default_dirlist): Use PATH_SEPARATOR rather than ':'. - -Wed Jan 28 14:06:30 1998 Richard Henderson <rth@cygnus.com> - - * emulparams/elf64_sparc.sh (ELFSIZE): 64 - (TEXT_START_ADDR): Round off, since SIZEOF_HEADERS is added later. - (DATA_PLT): Needed by v9 abi. - -Wed Jan 28 16:37:27 1998 J.J. van der Heijden <J.J.vanderHeijden@student.utwente.nl> - - * configure.tgt (i[3456]86-*-mingw32*): New entry. - -Wed Jan 28 15:51:58 1998 Ian Lance Taylor <ian@cygnus.com> - - * scripttempl/elf.sc: Only include linkonce sections in final - sections when relocating. - -Wed Jan 28 14:10:01 1998 Ian Lance Taylor <ian@cygnus.com> - - * ld.texinfo (Options): Add a brief description of the types of - information included in a link map. - - * ld.texinfo (Options): Mention LDEMULATION in description of -m. - (Environment): Mention LDEMULATION. - - * ld.texinfo (Options): Clarify --export-dynamic a bit. - -Thu Jan 22 16:07:23 1998 Richard Henderson <rth@cygnus.com> - - * ldlex.l (<SCRIPT>{WILDCHAR}*): Take care for the comments this - pattern could match. - -Wed Jan 21 22:26:46 1998 Ian Lance Taylor <ian@cygnus.com> - - * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): When doing - a relocateable link, set the image base to 0, and don't define the - various symbols. - * emulparams/i386pe.sh (RELOCATEABLE_OUTPUT_FORMAT): Define. - * scripttempl/pe.sc: Swap the .data and .bss sections so that - .data comes first. If doing a relocateable link, use - RELOCATEABLE_OUTPUT_FORMAT if it is defined, and start the - sections at 0, and don't define any symbols. - - * ldlang.c (lang_memory_default): Correct parenthisization of - expression. - -Wed Jan 21 21:20:32 1998 Manfred Hollstein <manfred@s-direktnet.de> - - * emultempl/sunos.em: Don't include sys/types.h and sys/stat.h - here; they are included already via sysdep.h. - -Tue Jan 6 13:40:02 1998 Richard Henderson <rth@cygnus.com> - - * scripttempl/i960.sc: Don't explicitly set .data and .bss start. - -Fri Jan 2 20:15:37 1998 Michael Meissner <meissner@cygnus.com> - - * ldgram.y (attributes_opt): Pass region pointer to - lang_set_flags, not ®ion->flags. - - * ldlang.c (lang_memory_default): New function to figure out a - default memory region for a section if it was not specified. - (lang_memory_region_lookup): Zero flags, not_flags field. - (lang_map{,_flags}): Print attribute flags in memory map. - (lang_size_sections): Call lang_memory_default to get default - memory region. - (lang_set_flags): Implement attribute flags for real. Take new - argument to give the flags we are to skip for this region. - - * ldlang.h (memory_region_struct): Add not_flags field, make both - flags fields flagword type. - (lang_output_section_state): Make flags field flagword type. - (lang_set_flags): Update prototype to match new calling sequence. - (lang_memory_region_default): Add prototype. - - * emulparams/d30v{_e,_o,elf}.sh ({TEXT,DATA,EMEM}_DEF_SECTION): - Define whether or not the region gets default sections, and if so, - what sections. - - * scripttempl/elfd30v.sc (MEMORY): Set up which of the regions get - default sections. - -Thu Jan 1 22:58:04 1998 Michael Meissner <meissner@cygnus.com> - - * scripttempl/elfd30v.sc (.eh_frame): Link into the data section. - -Thu Jan 1 18:04:51 1998 Jeffrey A Law (law@cygnus.com) - - * scripttempl/h8300h.sc: Fix typo. - * scripttempl/h8300s.sc: Likewise. - -Sun Dec 21 12:51:49 1997 Ian Lance Taylor <ian@cygnus.com> - - * ldexp.c (fold_name): Don't crash if the symbol is defined in a - section with no output section, such as a shared library section. - -Wed Dec 17 12:14:11 1997 Ian Lance Taylor <ian@cygnus.com> - - * lexsup.c (parse_args): Keep track of where we are in the option - parsing before calling ldemul_parse_args, so that we don't call it - multiple times on the same argument and confuse the getopt - internals. - -Thu Dec 11 09:00:15 1997 Michael Meissner <meissner@cygnus.com> - - * configure.tgt (d30v-elf-*): Rename d30velf_e to d30v_e and - d30velf_o to d30v_o to work in DOS environments. - * Makefile.{am,in}: Ditto. - - * emulparams/d30v_{o,e}: Rename from d30velf_{o,e}. - * emulparams/d30velf_{o,e}: Deleted. - -Wed Dec 10 17:40:08 1997 Nick Clifton <nickc@cygnus.com> - - * scripttempl/armcoff.sc: Add glue sections (code taken from Arm - branch). - - * emulparams/armcoff.sh (TEMPLATE_NAME): Set to armcoff. - - * emultempl/armcoff.em: New file, imported from Arm branch. - -Wed Dec 10 14:10:44 1997 Michael Meissner <meissner@cygnus.com> - - * scripttempl/elfd30v.sc: Add .rel and .rela sections for all - defined sections. Set up __{D,C}TOR_{LIST,END}__. Add onchip and - external memory sections for rodata. Delete .string, .rodata1, - and .data1 sections. - -Tue Dec 9 15:28:17 1997 Michael Meissner <meissner@cygnus.com> - - * Makefile.am: Add Oct 23 changes to Makefile.in here. - - * Makefile.{am,in}: (ALL_EMULATIONS): Add ed10velf.o. - - * Makefile.{am,in}: (ALL_EMULATIONS): Add etic80coff.o. - - * Makefile.{am,in}: (ALL_EMULATIONS): Add ed30velf{,_e,_o}.o. - (ed30velf_e.c): Like d30velf, except .text/.data/etc always go in - external memory. - (ed30velf_o.c): Like d30velf, except .text/.data/etc always go in - onchip memory. - - * emulparams/d30velf.sh (STACK_START_ADDR): Top of default - stack. - ({TEXT,DATA,EMEM}_SIZE): Sizes of the 3 memory areas. - ({TEXT,DATA,BSS}_MEMORY): Which memory region .text, .data, and - .bss should go in. - - * emulparams/d30velf_{e,o}.sh: New files to be explicit whether - .text, .data, etc go in external memory or onchip memory. - - * configure.tgt (d30v-*-*ext*): New configuration to default - .text, .data, etc. in external memory. - (d30v-*-*onchip*): New configuration to default .text, .data, - etc. in onchip memory. - (d30v-*-*): Add d30velf_{e,o} emulations. - - * scripttempl/elfd30v.sc: Allow .text, .data, .bss to be put in - either the onchip text/data areas or the external memory area. - (MEMORY): Get sizes from d30velf.sh. - (.e{data,text,bss}): Put sections in the external memory region. - (.stext): Put section in the onchip text region. - (.s{data,bss}): Put sections in the onchip data region. - (__stack): Assign from ${STACK_START_ADDR}. - (.text): Put in ${TEXT_MEMORY} memory region. - (.data{,1}/.strings/.rodata{,1}): Put in ${DATA_MEMORY} memory - region. - (.bss): Put in ${BSS_MEMORY} memory region. - -Tue Dec 2 10:14:47 1997 Nick Clifton <nickc@cygnus.com> - - * configure.tgt (targ_extra_emuls): Add support for Thumb target. - -Sat Nov 22 15:23:19 1997 Ian Lance Taylor <ian@cygnus.com> - - * ldlex.l: Don't define hex_mode. Correct number regexp to not - accept hex digits without a leading $ or 0x. Handle leading $ - correctly. Pass 0 rather than hex_mode to bfd_scan_vma. - * ldlex.h (hex_mode): Don't declare. - -Sun Nov 16 20:16:45 1997 Michael Meissner <meissner@cygnus.com> - - * emulparams/d30velf.sh ({DATA,EMEM}_START_ADDR): Define as start - of internal data area and external memory on chip. - - * scripttempl/elfd30v.sc: Define a MEMORY region that describes - the 3 regions of memory on the chip. Put .text/.init/.fini into - the text memory region, put other segments into the data memory - region. Add more of the standard elf sections. Default __stack - to be 0x20008000, which is 1 byte beyond end of the internal data - region. - -Thu Nov 13 13:45:00 1997 Andrew Cagney <cagney@b1.cygnus.com> - - * configure.tgt (targ_extra_emuls): Make FreeBSD a i386bsd - variant. - -Sun Nov 2 14:51:36 1997 H.J. Lu <hjl@gnu.ai.mit.edu> - - * configure.host (alpha*-*-linux*): Correct HOSTING_CRT0. Set - HOSTING_LIBS. - -Thu Oct 30 12:25:55 1997 Ian Lance Taylor <ian@cygnus.com> - - * ld.h (args_type): Add warn_mismatch field. - * ldmain.c (main): Initialize warn_mismatch field. - * lexsup.c (parse_args): Handle --no-warn-mismatch option. - * ldlang.c (ignore_bfd_error): New static function. - (lang_check): If warn_mismatch is false, don't warn about - mismatched input files. - * ld.texinfo, ld.1: Document new option. - -Thu Oct 23 14:38:18 1997 Nick Clifton <nickc@cygnus.com> - - * scripttempl/v850.sc: Rename linker symbol '_stack' to '__stack' - to avoid conflicts with C code which is defining a variable called - 'stack'. - -Thu Oct 23 00:57:45 1997 Richard Henderson <rth@dot.cygnus.com> - - * Makefile.in (ALL_EMULATIONS): Move eelf64_sparc.o ... - (ALL_64_EMULATIONS): ... here. - (eelf64_sparc.c): Template should be elf32 not generic. - * emulparams/elf64_sparc.sh (TEMPLATE_NAME): New definition. - -Thu Oct 23 00:44:20 1997 Richard Henderson <rth@dot.cygnus.com> - - * configure.tgt: Add sparc64-*-linux*. - * emulparams/elf64_sparc.sh (GENERATE_SHLIB_SCRIPT, NOP): New. - -Wed Oct 22 11:29:25 1997 Ian Lance Taylor <ian@cygnus.com> - - * scripttempl/pe.sc: Put .eh_frame in .rdata. - -Fri Oct 17 00:00:13 1997 Richard Henderson <rth@cygnus.com> - - * ldlang.c (lang_register_vers_node): Only check globals<=>locals, - since we need to be able to export different versions of the same - symbol. - -Wed Oct 15 14:52:36 1997 Ian Lance Taylor <ian@cygnus.com> - - * scripttempl/pe.sc: Put .stab and .stabstr sections at end. - -Wed Oct 8 12:37:05 1997 Richard Henderson <rth@cygnus.com> - - * configure.tgt, configure.host: Change alpha-*-* to alpha*-*-*; - config.guess now recognizes alphaev5 etc. - -Fri Oct 3 14:23:02 1997 Ian Lance Taylor <ian@cygnus.com> - - * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Don't treat - -s and -u as -static and -unix. - -Thu Oct 2 18:40:28 1997 Ian Lance Taylor <ian@cygnus.com> - - * ldlang.c (wild_doit): Rewrite flag handling for clarity. If we - are not adding the first input section, and SEC_READONLY is clear - on the output section, then don't copy it from the input section. - If SEC_READONLY is not set on the input section, then clear it on - the output section. - - * configure.tgt (mips*-sgi-irix[56]*): Use elf32bsmip rather than - elf32bmip. - (mips*el-*-linux*): Change elf32lmip to elf32lsmip and elf32bmip - to elf32bsmip. - (mips*-*-linux*): Likewise. - * emulparams/elf32bsmip.sh: New file; just like elf32bmip.sh, but - setting ENTRY to __start. - * emulparams/elf32lsmip.sh: New file; just like elf32lmip.sh, but - setting ENTRY to __start. - * scripttempl/elf.sc: Always set ENTRY to _start if it was not - already set. - -Wed Oct 1 16:41:00 1997 Nick Clifton <nickc@cygnus.com> - - * emulparams/v850.sh (ROZDATA_START_ADDR, ROSDATA_START_ADDR): New - Variables. - - * scripttempl/v850.sc: Move read only areas out of zero and small - data sections and into their own sections. - -Wed Sep 24 16:59:15 1997 Joel Sherrill <joel@oarcorp.com> - - * configure.tgt (sh*-*-rtems*): New target, like sh-*-elf*. - -Wed Sep 24 11:33:14 1997 Ian Lance Taylor <ian@cygnus.com> - - * ld.texinfo (Section Options): Improve documentation of NOLOAD - directive. - - * aclocal.m4: Rebuild with new libtool. - * configure: Rebuild. - -Mon Sep 22 17:24:06 1997 Ian Lance Taylor <ian@cygnus.com> - - * ldlang.c (wild_doit): Revert patch of September 3. - -Wed Sep 17 16:45:34 1997 Nick Clifton <nickc@cygnus.com> - - * Makefile.am, Makefile.in: Add rule for ev850.c - * configure.tgt (targ_extra_emuls): Add v850 target. - -Wed Sep 17 16:43:39 1997 Nick Clifton <nickc@cygnus.com> - - * emulparams/v850.sh (CALL_TABLE_START_ADDR): New entry. - * scripttempl/v850.sc: Add call table data area - -Mon Sep 15 11:29:13 1997 Ken Raeburn <raeburn@cygnus.com> - - Merge change from Martin Hunt: - - * scripttempl/elfd30v.sc: Put .rodata in the .text section. - -Tue Sep 9 07:49:56 1997 Fred Fish <fnf@ninemoons.com> - - * ldlang.c (lang_memory_region_lookup): Remove extraneous - initialization of p. - -Thu Sep 4 09:03:33 1997 Ian Lance Taylor <ian@cygnus.com> - - * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): In - expression produced for -bpT and -bpD options, align to a 32 byte - boundary rather than an 8 byte boundary. - * scripttempl/aix.sc: Put .tocbss at start of .bss section. - - * ldmisc.h, ldmisc.c, ldcref.c: Rename finfo to lfinfo, to avoid - function name conflict with AIX 4.2 unistd.h header file. - -Wed Sep 3 15:12:32 1997 Ian Lance Taylor <ian@cygnus.com> - - * ldlang.c (wild_doit): Clear SEC_HAS_CONTENTS from a - noload_section. - -Fri Aug 29 00:32:31 1997 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.am (ld_new_DEPENDENCIES): Remove @LEXLIB@. - * Makefile.in: Rebuild. - -Thu Aug 28 10:12:10 1997 Doug Evans <dje@canuck.cygnus.com> - - * configure.tgt (arc-*-elf*): Recognize. - * Makefile.am (ALL_EMULATIONS): Add earcelf.o. - * Makefile.in: Regenerate. - * emulparams/arcelf.sh: New file. - -Wed Aug 20 11:14:13 1997 Ian Lance Taylor <ian@cygnus.com> - - * ldlang.c (wildcardp): Don't let a backslash by itself cause a - pattern to be treated as a wildcard pattern. - - * ldgram.y (atype): Accept parentheses with no type. - - * ld.texinfo (Section Definition): Clarify use of whitespace. - (Section Placement): Likewise. - -Mon Aug 18 11:12:03 1997 Nick Clifton <nickc@cygnus.com> - - * configure.tgt (targ_extra_emuls): Add support for v850e target. - -Mon Aug 18 11:12:03 1997 Nick Clifton <nickc@cygnus.com> - - * configure.tgt (targ_extra_emuls): Add support for v850e target. - -Sat Aug 9 00:42:27 1997 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.am (ld.info): Change dependency from - $(BFDDIR)/doc/bfdsumm.texi to bfdsumm.texi. - (ld.dvi): Likewise. - (bfdsumm.texi): New target. - (CLEANFILES): Add bfdsumm.texi. - * Makefile.in: Rebuild. - - * Makefile.am: New file, based on old Makefile.in. - * acinclude.m4: New file, from old aclocal.m4. - * configure.in: Call AM_INIT_AUTOMAKE and AM_PROG_LIBTOOL. Remove - shared library handling; now handled by libtool. Replace - AC_CONFIG_HEADER with AM_CONFIG_HEADER. Call AC_PROG_YACC, - AC_PROG_LEX, and AC_DECL_YYTEXT. Call AM_MAINTAINER_MODE, - AM_CYGWIN32, and AM_EXEEXT. Don't call CY_CYGWIN32 or CY_EXEEXT. - * configure.host: Don't set HLDFLAGS, HLDENV, or RPATH_ENVVAR. - * acconfig.h: Mention PACKAGE and VERSION. - * stamp-h.in: New file. - * ldver.c (ld_program_version): Set ld_program_version from - VERSION. - * ldgram.y, ldlex.l: Replace VERSION with VERSIONK. - * Makefile.in: Now built with automake. - * aclocal.m4: Now built with aclocal. - * configure, config.in: Rebuild. - -Mon Jul 28 19:04:50 1997 Rob Savoye <rob@chinadoll.cygnus.com> - - * configure.in: Use CYGWIN and EXEEXT autoconf macro to look for - win32 dependencies. - * configure: Regenerated with autoconf 2.12. - * Makefile.in: Add $(EXEEXT) to executable. - -Tue Jul 22 18:50:38 1997 Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE> - - * emulparams/i386go32.sh (OUTPUT_FORMAT): Set to "coff-go32". - (SEGMENT_SIZE): Set to 0x200. - * scripttempl/i386go32.sc: Rewrite. - * configure.tgt (i[3456]86-*-msdosdjgpp*): New target. - -Mon Jul 7 12:39:42 1997 Ian Lance Taylor <ian@cygnus.com> - - From Manfred Hollstein <manfred@s-direktnet.de>: - * configure.host (i[3456]86-*-linux*libc1*): Renamed from - i[3456]86-*-linux*. - (i[3456]86-*-linux*): New host. - -Thu Jun 26 13:54:03 1997 Ian Lance Taylor <ian@cygnus.com> - - * scripttempl/pe.sc: Put .rsrc after .reloc. Put input .rsrc - sections in the output .rsrc section. - -Wed Jun 25 12:48:41 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * configure.host (m68*-*-linux*libc1*): Renamed from - `m68*-*-linux*'. - (m68*-*-linux*): New configuration for use with GNU libc 2. - -Mon Jun 16 19:18:21 1997 Geoff Keating <geoffk@ozemail.com.au> - - * scripttempl/elfppc.sc: Correct .rela.sdata entries. - - * scripttempl/elfppc.sc: Put the PLT between the small and large - BSS segments. - * emulparams/elf32ppc.sh (TEXT_START_ADDR): The ABI says `A - program base of 0x02000000 is recommended...' because otherwise - shared libraries are less efficient. We use 0x01800000 because - otherwise it's impossible to branch to location 0, for instance if - you have an undefined weak symbol. - -Mon Jun 16 12:49:36 1997 H.J. Lu <hjl@gnu.ai.mit.edu> - - * ldlang.c (lang_place_undefineds): Add \n in einfo call. - (lang_size_sections): Likewise. - * ldlex.l: Likewise. - * emultempl/aix.em (gld${EMULATION_NAME}_read_file): Likewise. - * emultempl/mipsecoff.em (gld${EMULATION_NAME}_after_open): - Likewise. - (check_sections): Likewise. - (gld${EMULATION_NAME}_after_allocation): Likewise. - * emultempl/pe.em (gld_$${EMULATION_NAME}_before_allocation): - Likewise. - * mpw-eppcmac.c (gldppcmacos_read_file): Likewise. - * mpw-idtmips.c (gldmipsidt_after_open): Likewise. - (check_sections): Likewise. - (gldmipsidt_after_allocation): Likewise. - - * ldemul.c (ldemul_choose_mode): Remove unused einfo argument. - -Fri Jun 6 23:47:42 1997 Ian Lance Taylor <ian@cygnus.com> - - * scripttempl/pe.sc: Add zeroes after .idata$3 to mark the end of - the import list. - -Thu May 29 13:13:22 1997 Ian Lance Taylor <ian@cygnus.com> - - * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Don't - crash if an output section has no BFD section. - -Fri May 23 15:23:25 1997 Fred Fish <fnf@cygnus.com> - - * lexsup.c (ld_options): Add entry for the new "task-link" option. - (parse_args): Handle the "task-link" option. - (OPTION_TASK_LINK): Add define. - -Wed May 21 17:44:15 1997 Ian Lance Taylor <ian@cygnus.com> - - * ldmain.c (main): Correct check of fclose return value when - handling --force-exe-suffix. - -Thu May 15 11:35:29 1997 Nick Clifton <nickc@cygnus.com> - - * ldlang.c (lang_check): Add test of the return value from the - call to bfd_merge_private_bfd_data(). - -Mon May 12 23:22:58 1997 Ian Lance Taylor <ian@cygnus.com> - - * scripttempl/elfmips.sc: Remove. - * scripttempl/elf.sc: Set ENTRY based on target. Permit - TEXT_DYNAMIC to control .dynamic segment. Permit - SHLIB_TEXT_START_ADDR to set start of shared object. Support - INITIAL_READONLY_SECTIONS. Put .stub in .text. Only put - .gnu.linkonce.t* in .text when relocating. Support - OTHER_TEXT_SECTIONS. Support SHLIB_DATA_ADDR as well as - DATA_ADDR. Support OTHER_GOT_SYMBOLS and OTHER_GOT_SECTIONS. - * emulparams/elf32b4300.sh (SCRIPT_NAME): Set to elf. - (DATA_ADDR): Don't set. - (INITIAL_READONLY_SECTIONS): Rename from OTHER_READONLY_SECTIONS. - (OTHER_TEXT_SECTIONS): Set. - (OTHER_GOT_SECTIONS): Rename from OTHER_READWRITE_SECTIONS. - (MACHINE): Set to empty string. - * emulparams/elf32l4300.sh: Likewise. - * emulparams/elf32ebmip.sh: Likewise. - * emulparams/elf32elmip.sh: Likewise. - * emulparams/elf32bmip.sh: Likewise. Also: - (TEXT_DYNAMIC): Set. - * emulparams/elf32lmips.sh: Likewise. - * Makefile.in (eelf32bmips.c): Depend upon elf.sc rather than - elfmips.sc. - (eelf32ebmips.c, eelf32elmips.c, eelf32lmip.c): Likewise. - -Mon May 12 11:11:06 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * scripttempl/elf.sc: Don't align the data segment on the next 8 - byte boundary, instead let the linker use whatever the individual - sections require. - -Fri May 9 17:45:46 1997 Ian Lance Taylor <ian@cygnus.com> - - * configure.tgt (i[3456]86-*-gnu*): Don't include Mach support. - -Tue May 6 13:21:19 1997 Ian Lance Taylor <ian@cygnus.com> - - From Sean McNeil <sean@mcneil.com>: - * emultempl/pe.em (sort_by_file_name): Sort by archive name - first. - (sort_sections): Sort all sections, not just sections in the same - archive. - -Mon May 5 18:19:55 1997 Philip Blundell <pjb27@cam.ac.uk> - - * configure.tgt, configure.host: cope with '*-*-linux-gnuaout' - targets. - -Fri May 2 15:54:28 1997 Mike Meissner <meissner@cygnus.com> - - * scripttempl/tic80coff.sc (.text): Add a leading underscore to - __{D,C}TOR_{LIST,END}__ definations. Rearrange the order of items - in the .text section. Move .const, .ctors, .dtors into separate - sections. - -Wed Apr 30 12:23:21 1997 Manfred Hollstein <manfred@s-direktnet.de> - - * scripttempl/m88kbcs.sc (__.initp.end, _etext): Added whitespace - around assignment of current location pointer. - -Thu Apr 17 13:07:18 1997 Ian Lance Taylor <ian@cygnus.com> - - * ldctor.c (ldctor_build_sets): Make sure the set is aligned - appropriately. - -Tue Apr 15 13:19:26 1997 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in (INSTALL): Set to @INSTALL@. - (INSTALL_XFORM, INSTALL_XFORM1): Remove. - (install): Depend upon ld.new and installdirs. Use - $(program_transform_name) directly, rather than using - $(INSTALL_XFORM) and $(INSTALL_XFORM1). - (installdirs): New target. - (install-info): Run mkinstalldirs. - -Mon Apr 14 12:06:15 1997 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in (INSTALL): Change install.sh to install-sh. - - From Thomas Graichen <graichen@rzpd.de>: - * configure.in: Use ${CONFIG_SHELL} when running $ac_config_sub. - * configure: Rebuild. - -Fri Apr 4 11:42:41 1997 Ian Lance Taylor <ian@cygnus.com> - - * emultempl/pe.em: Include "libiberty.h". - (sort_sections_1): Use xmalloc rather than alloca. - - * ldlex.l: Recognize SQUAD. - * ldgram.y (length): Add SQUAD. - * ldctor.c (ldctor_build_sets): Use SQUAD for a signed 8 byte - reloc. - * ldlang.c (print_data_statement): Handle SQUAD. - (lang_size_sections, lang_do_assignments): Likewise. - * ldexp.c (exp_print_token): Add SQUAD to table. - * ldwrite.c (build_link_order): Handle SQUAD. - * ld.texinfo (Section Data Expressions): Document SQUAD. - -Thu Apr 3 13:19:40 1997 Ian Lance Taylor <ian@cygnus.com> - - * ldver.c (ld_program_version): Set to 2.8.1. - - * Branched binutils 2.8. - -Wed Apr 2 11:55:27 1997 Ian Lance Taylor <ian@cygnus.com> - - * mpw-idtmips.c: Rename from mpw-emipsidt.c. - * mpw-elfmips.c: Rename from mpw-emipself.c. - * mpw-config.in: Update accordingly. - - * ldlang.c (lang_process): Call lang_check immediately after - opening the input files, rather than at the end of the link. - -Mon Mar 31 23:44:00 1997 Ian Lance Taylor <ian@cygnus.com> - - * emultempl/pe.em (init): Fully bracket initializer. - (set_pe_stack_heap): Remove locals begin_commit and end. - (gld_${EMULATION_NAME}_after_open): Remove unused local i. - (gld${EMULATION_NAME}_place_orphan): Remove unused local ptr. - -Mon Mar 31 16:35:51 1997 Joel Sherrill <joel@oarcorp.com> - - * configure.tgt (hppa*-*-rtems*): New target, like hppa-*-*elf*. - -Fri Mar 28 15:29:23 1997 H.J. Lu <hjl@gnu.ai.mit.edu> - - Contributed by David S. Miller <davem@caip.rutgers.edu>: - * configure.tgt (sparc*-*-linuxaout*): New target. - (sparc*-*-linux*): New target. - * emulparams/sparclinux.sh: New file. - * Makefile.in (ALL_EMULATIONS): Add esparclinux.o. - (esparclinux.c): New target. - -Fri Mar 28 14:30:12 1997 Ian Lance Taylor <ian@cygnus.com> - - From Ralf Baechle <ralf@gnu.ai.mit.edu>: - * configure.tgt: Set targ_extra_emuls for mips*el-*-linux* and - mips*-*-linux*. Use elf32bmip and elf32lmip, not elf32ebmip and - elf32elmip. - -Thu Mar 27 17:14:32 1997 Ian Lance Taylor <ian@cygnus.com> - - * lexsup.c (parse_args): Update copyright date in version - message. - -Fri Mar 21 12:28:41 1997 Philippe De Muyter <phdm@info.ucl.ac.be> - - * emulparams/delta68.sh (OUTPUT_FORMAT): Set to "coff-m68k-sysv". - -Tue Mar 18 11:16:23 1997 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in: Rebuild dependencies. - - * emultempl/aix.em: Include "obstack.h". - -Mon Mar 17 19:26:06 1997 Ian Lance Taylor <ian@cygnus.com> - - * ldlang.c: Include "obstack.h". - -Sat Mar 15 23:23:46 1997 Fred Fish <fnf@cygnus.com> - - * configure.tgt (powerpc-*-beos*): Use aixppc for targ_emul. - -Sat Mar 15 18:10:38 1997 H.J. Lu <hjl@lucon.org> - - * ldemul.h (ldemul_list_emulations): Use full prototype. - * ldlang.c (print_one_symbol): Add declaration. - * ldlang.h (dprint_statements): Declare. - * ldmain.c (remove_output): Declare. - * ldmisc.c (vfinfo): Declare. - * ldwrite.c (clone_section): Declare. - (split_sections): Make static. Declare. - * mri.c: Include libiberty.h. - (strdup): Don't declare. - (mri_alias): Use xstrdup rather than strdup. - -Fri Mar 14 21:30:06 1997 Ian Lance Taylor <ian@cygnus.com> - - * scripttempl/elfmips.sc: Change handling of data area when - generating a shared library to not skip a large block of memory. - From Per Fogelstrom <pefo@cvs.openbsd.org>. - -Wed Mar 12 21:33:09 1997 Ian Lance Taylor <ian@cygnus.com> - - * ldmain.c (multiple_definition): Only skip the warning if the - output section is absolute when the input section is not - absolute. - - * ldlex.l: Accept whitespace in VERS_START state. Warn about - invalid characters in VERS_* states. - -Tue Mar 11 13:51:31 1997 Ian Lance Taylor <ian@cygnus.com> - - * emultempl/aix.em (gld${EMULATION_NAME}_read_file): Don't let a - trailing space lead us to think that there is a zero address. - -Sun Mar 9 23:06:35 1997 Eric Youngdale <eric@andante.jic.com> - - * ldgram.y (vers_node): Correct typo of '(' for '{'. - -Fri Mar 7 18:40:12 1997 Fred Fish <fnf@cygnus.com> - - * scripttempl/tic80coff.sc (ENTRY): Entry symbol is __start - rather than _start. - (__edata): Define this rather than "edata". - (__end): Define this rather than "end". - -Tue Mar 4 17:18:35 1997 Michael Meissner <meissner@cygnus.com> - - * configure.tgt (tic80-*-*): Allow dropping of -coff. - -Sun Mar 2 22:59:49 1997 Fred Fish <fnf@cygnus.com> - - * Makefile.in (ld.dvi): Set MAKEINFO environment variable as well - as TEXINPUTS. Needed for building in separate build dir. - * ldint.texinfo (SCRIPT_NAME): Fix typo. - * emulparams/tic80coff.sh: Rewrite to include internal documentation - about each shell variable that is set (or not set). - * scripttempl/tic80coff.sc: Complete rewrite. - -Fri Feb 28 17:42:27 1997 Ian Lance Taylor <ian@cygnus.com> - - * ldmain.c (main): Call bfd_set_default_target. - * Makefile.in (ldmain.o): Define TARGET when compiling. - -Thu Feb 27 11:41:03 1997 Ian Lance Taylor <ian@cygnus.com> - - * ldmain.c (main): Don't initialize link_info.lprefix or - link_info.lprefix_len. - * emultempl/hppaelf.em (hppaelf_before_parse): Likewise. - - * emultempl/m88kbcs.em: Remove. - * emulparams/m88kbcs.sh (TEMPLATE_NAME): Don't set. - * Makefile.in (em88kbcs.c): Depend upon generic.em rather than - m88kbcs.em. - - * mri.c (mri_draw_tree): Pass noload_section, not SEC_NEVER_LOAD, - to lang_enter_output_section_statement. From Mark Rasin - <mark.rasin@telrad.co.il>. - -Wed Feb 26 11:51:44 1997 Ian Lance Taylor <ian@cygnus.com> - - * ldlang.c (lang_one_common): Clear SEC_IS_COMMON from common - section. - -Tue Feb 25 20:38:11 1997 Stan Shebs <shebs@andros.cygnus.com> - - * configure.tgt (mips*-*-lnews*): New target. - * Makefile.in (emipslnews.c): New target. - * emulparams/mipslnews.sh: New file. - -Tue Feb 25 16:04:09 1997 Ian Lance Taylor <ian@cygnus.com> - - * emultempl/elf32.em (hold_interp): New static variable. - (gld${EMULATION_NAME}_place_orphan): Put loadable .note sections - after hold_interp. Choose a unique output section name. - (gld${EMULATION_NAME}_place_section): Don't set hold_use if the - SEC_LOAD or SEC_ALLOC flags differ. Set hold_interp. - -Mon Feb 24 18:16:09 1997 Ian Lance Taylor <ian@cygnus.com> - - From Eric Youngdale <eric@andante.jic.com>: - * ldlex.l (V_TAG, V_IDENTIFIER): New macros. - (VERS_START, VERS_SCRIPT, VERS_NODE): New states to parse version - information. - (ldlex_version_script, ldlex_version_file): New functions. - * ldlex.h (enum input_enum): Add input_version_script. - (ldlex_version_script): Declare. - (ldlex_version_file): Declare. - * ldgram.y (%union): Add deflist, versyms, and versnode. - (VERS_TAG, VERS_IDENTIFIER): New terminals. - (GLOBAL, LOCAL, VERSION, INPUT_VERSION_SCRIPT): New terminals. - (file): Accept INPUT_VERSION_SCRIPT. - (ifile_p1): Accept version. - (version_script_file): New nonterminal. - (version, vers_nodes, vers_node): Likewise. - (verdep, vers_tag, ver_defns): Likewise. - * ldlang.c (lang_elf_version_info): New global variable. - (lang_new_vers_regex): New function. - (lang_new_vers_node): New function. - (version_index): New static variable. - (lang_register_vers_node): New function. - (lang_add_vers_depend): New function. - * ldlang.h (lang_elf_version_info): Declare. - (lang_new_vers_regex, lang_new_vers_node): Declare. - (lang_add_vers_depend, lang_register_vers_node): Declare. - * lexsup.c (OPTION_VERSION_SCRIPT): Define. - (ld_options): Add "version-script". - (parse_args): Handle OPTION_VERSION_SCRIPT. - * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): - Pass lang_elf_version_info to size_dynamic_sections. - * scripttempl/elf.sc: Add .gnu.version sections. - * ld.texinfo: Document symbol versioning. - -Fri Feb 21 17:37:51 1997 Martin M. Hunt <hunt@pizza.cygnus.com> - - * Makefile.in (ed30velf.c): New target. - * configure.tgt (d30v-*-*): New target. - * emulparams/d30velf.sh: New file. - * scripttempl/elfd30v.sc: New file. - -Fri Feb 14 18:28:31 1997 Ian Lance Taylor <ian@cygnus.com> - - * ld.texinfo (Option Commands): Document the INCLUDE command. - -Thu Feb 13 20:31:37 1997 Philippe De Muyter <phdm@info.ucl.ac.be> - - * configure.in: Call BFD_NEED_DECLARATION on getenv. - * acconfig.h (NEED_DECLARATION_GETENV): New macro. - * sysdep.h (getenv): Declare if NEED_DECLARATION_GETENV. - * ldemul.c (ld_emul_default_target): Do not cast getenv return - value. - * ldmain.c (get_emulation): Likewise. - * configure, config.in: Rebuild. - -Tue Feb 11 15:34:26 1997 Ian Lance Taylor <ian@cygnus.com> - - * scripttempl/elfmips.sc: When relocating, put .mips16.fn.* and - .mips16.call.* in .text. - -Sun Feb 9 18:09:13 1997 Fred Fish <fnf@cygnus.com> - - * emulparams/tic80coff.sh: New (dummy) file for TIc80. - * scripttempl/tic80coff.sc: New (dummy) file for TIc80. - * Makefile.in (etic80coff.c): Add target and rule to build it. - * configure.tgt (tic80-*-coff): Set targ_emul to tic80coff. - -Fri Jan 31 13:16:53 1997 Ian Lance Taylor <ian@cygnus.com> - - * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Search for - ".so" in the name, not ".so.". - (gld${EMULATION_NAME}_search_dir): Accept a plain .so file. - - * Makefile.in (ld.info): Add -I$(srcdir). From Alan Modra - <alan@spri.levels.unisa.edu.au>. - -Thu Jan 30 11:31:52 1997 Ian Lance Taylor <ian@cygnus.com> - - * emultempl/sunos.em: Include <ctype.h>. - (gld${EMULATION_NAME}_find_so): Skip the directory name when - searching for ".so.". - (gld${EMULATION_NAME}_search_dir): Make sure that the library name - has a version number, and that only version numbers follow .so. - -Wed Jan 29 18:15:00 1997 Geoffrey Noer <noer@cygnus.com> - - * scripttempl/pe.sc: - * scripttempl/ppcpe.sc: add *(.gcc_except_table) to the text - section so Win32 executables are valid. - -Mon Jan 27 12:28:43 1997 Ian Lance Taylor <ian@cygnus.com> - - * scripttempl/elf.sc: Put linkonce reloc section in other - appropriate reloc sections. - * scripttempl/elfmips.sc: Add linkonce support. - * scripttempl/elfppc.sc: Likewise. - -Fri Jan 24 10:44:09 1997 Jeffrey A Law (law@cygnus.com) - - * emulparms/mn10200.sh (OTHER_RELOCATING_SECTIONS): Move the - stack up to 0x80000. - * emulparms/mn10300.sh (OTHER_RELOCATING_SECTIONS): Likewise. - -Tue Jan 21 12:11:10 1997 Doug Evans <dje@seba.cygnus.com> - - * emulparams/m32relf.sh (OTHER_RELOCATING_SECTIONS): Use PROVIDE - to define `_stack'. - -Thu Jan 16 17:07:52 1997 Ian Lance Taylor <ian@cygnus.com> - - * ld.h (args_type): Rename auxiliary_filter_shlib to - auxiliary_filters, and make it char **. - * lexsup.c (parse_args): Handle -f by setting up an array. - * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Use - new name of auxiliary_filters. - - * ld.texinfo (Options): Improve documentation of --filter and - --auxiliary. - -Tue Jan 14 15:44:28 1997 Ian Lance Taylor <ian@cygnus.com> - - * ld.texinfo (Options): Clarify that the normal usage is -T. - (Commands): Likewise. - -Thu Jan 9 11:26:27 1997 Ian Lance Taylor <ian@cygnus.com> - - * scripttempl/armcoff.sc: Correct mask used for .data address. - -Wed Jan 8 15:14:59 1997 Geoffrey Noer <noer@cygnus.com> - - * emultempl/pe.em: make default executable a.exe instead of - a.out - -Fri Jan 3 17:33:34 1997 Richard Henderson <rth@tamu.edu> - - * scripttempl/elf.sc: Move .got closer to .sdata and .sbss by - shifting .plt back. Rumour has it that the NetBSD ld.so depends - on .dynamic being after .got, so we leave that. - -Fri Jan 3 14:04:40 1997 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in (clean): Don't remove configdoc.texi. - (maintainer-clean): Do remove configdoc.texi. - - * ld.texinfo (Operators): Remove '@' from @smallexmple in comment - to avoid confusing texi2roff. - -Fri Jan 3 11:27:02 1997 Michael Meissner <meissner@tiktok.cygnus.com> - - * scripttempl/v850.sc (.zdata): Add .zcommon section. - (.tdata): Add .tcommon and .tcommon_byte sections. - -Thu Jan 2 18:14:32 1997 Ian Lance Taylor <ian@cygnus.com> - - * configure.tgt (mips*el-*-linux*, mips*-*-linux*): New targets. - * scripttempl/elfmips.sc: Use __start as the entry address for - mips*-*-linux*. - -Tue Dec 31 14:48:30 1996 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE. - - * ld.h (args_type): Add filter_shlib and auxiliary_filter_shlib - fields. - * lexsup.c (parse_args): Recognize --auxiliary/-f and - --filter/-F. - * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): - Pass filter_shlib and auxiliary_filter_shlib to - size_dynamic_sections. - * ld.texinfo, ld.1: Document --filter/-F and --auxiliary/-f. - -Mon Dec 30 13:55:57 1996 Michael Meissner <meissner@tiktok.cygnus.com> - - * scripttempl/v850.sc (.tdata) Add .tbss and .tbyte sections. - -Wed Dec 18 22:57:35 1996 Stan Shebs <shebs@andros.cygnus.com> - - * mpw-make.sed: Use NewFolderRecursive for installation. - -Fri Dec 13 14:08:50 1996 Michael Meissner <meissner@tiktok.cygnus.com> - - * scripttempl/v850.sc: Make sure __{e,g}p start relative to the - {s,t}data sections. Do not emit any linker generated symbols if - -r. Use {TEXT,{Z,S,T}DATA}_START_ADDR variables to initialize - where the different sections go. Change some whitespace. - - * emulparams/v850.sh ({TEXT,{Z,S,T}DATA}_START_ADDR): Define - appropriately. Remove crud not used anymore. - -Fri Dec 13 10:19:57 1996 Jeffrey A Law (law@cygnus.com) - - * Makefile.in (emn10200.c): Add dependencies. - * configure.tgt: Handle mn10200. - * emulparms/mn10200.sh: New file. - -Thu Dec 12 17:04:55 1996 Ian Lance Taylor <ian@cygnus.com> - - * emultempl/gld960c.em: Include <ctype.h>. - (gld960_set_output_arch): Get the machine type from the -A option - if there is one, rather than always using core. - -Sat Dec 7 10:07:51 1996 Jeffrey A Law (law@cygnus.com) - - * emulparms/mn10300.sh: Handle leading underscores. - -Thu Dec 5 13:45:58 1996 Ian Lance Taylor <ian@cygnus.com> - - * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Only - set hold_rel if SEC_ALLOC is set. - -Tue Dec 3 11:29:20 1996 Ian Lance Taylor <ian@cygnus.com> - - * ldlang.c (section_already_linked): Set the output_offset as well - as the output_section when only reading symbols from a file. - -Mon Dec 2 11:43:50 1996 Ian Lance Taylor <ian@cygnus.com> - - * emulparams/*.sh: Make sure that each set of parameters which - uses the elf.sc script sets MACHINE. - -Wed Nov 27 03:22:05 1996 Jason Merrill <jason@yorick.cygnus.com> - - * scripttempl/elf{,mips,ppc}.sc: Add the remaining DWARF sections. - * scripttempl/elfd10v.sc: Likewise. - * scripttempl/v850.sc: Likewise. - -Tue Nov 26 16:58:33 1996 Ian Lance Taylor <ian@cygnus.com> - - * configure: Rebuild with autoconf 2.12. - -Mon Nov 25 12:17:55 1996 Jim Wilson <wilson@cygnus.com> - - * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Add case - for bfd_vma to init loop. - -Mon Nov 25 09:55:07 1996 Jeffrey A Law (law@cygnus.com) - - * emulparms/mn10300.sh: Remove bogus '_' prefix for - entry symbol and ctor/dtor stuff. - -Fri Nov 15 13:00:18 1996 Jeffrey A Law (law@cygnus.com) - - * Makefile.in (emn10300.c): Add dependencies. - * configure.tgt: Handle mn10300. - * emulparms/mn10300.sh: New file. - -Tue Nov 5 10:57:50 1996 Martin M. Hunt <hunt@pizza.cygnus.com> - - * emulparams/d10velf.sh (READONLY_START_ADDR): Changed to 0x2000004. - (EMBEDDED): Define. - -Fri Nov 1 10:01:27 1996 Ian Lance Taylor <ian@cygnus.com> - - * ld.texinfo: Add section on reporting bugs. - - * scripttempl/m68kcoff.sc: Make sure the etext and __CTOR_LIST__ - symbols are correctly aligned. - -Thu Oct 31 09:28:59 1996 Jeffrey A Law (law@cygnus.com) - - * scriptempl/v850.sc (zdata): Handle reszdata, romzdata and - romzbss too. - -Tue Oct 29 12:33:05 1996 Martin M. Hunt <hunt@pizza.cygnus.com> - - * emulparams/d10velf.sh: Changes needed for D10V-EVA board. - Set TEXT_START_ADDR to 0x1000000. Set READONLY_START_ADDR to - 0x2000000. - - * scripttempl/elfd10v.sc: Fix calculation of .text. Change - .stack to start at 0x2007ffe. - -Mon Oct 28 15:37:00 1996 Doug Evans <dje@canuck.cygnus.com> - - * configure.tgt (sparclet*-*-aout*): Delete, use sparc*-*-aout*. - -Wed Oct 23 16:17:22 1996 Jeffrey A Law (law@cygnus.com) - - * scriptempl/v850.sc (zdata): Fix typo "zrodata" -> "rozdata". - - * scriptempl/v850.sc (zdata): Make sure this stays - in lo-memory. - -Tue Oct 22 11:36:47 1996 Jeffrey A Law (law@cygnus.com) - - * scripttempl/v850.sc (__ep): Put it at the start - of the tda section. - - * scriptempl/v850.sc: Move all "normal" sections into - the external memory region (0x100000 - 0x200000). - -Mon Oct 21 17:16:59 1996 Michael Meissner <meissner@wogglebug.tiac.net> - - * scripttempl/elfd10v.sc: Clone from elf.sc, move .text to - 0x10000, so that is more room for data. - - * emulparams/d10velf.sh (TEXT_START_ADDR): Now 0x100000. - (READONLY_START_ADDR): Now 0x0. - (SCRIPT_NAME): Now elfd10v. - - * Makefile.in (ed10velf.c): Depend on elfd10v.sc, not elf.sc. - -Fri Oct 18 22:12:49 1996 Doug Evans <dje@canuck.cygnus.com> - - * emulparams/m32relf.sh (TEXT_START_ADDR): Change from 0 to 0x100. - -Fri Oct 18 15:43:38 1996 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in (ALL_EMULATIONS): Remove eelf64alpha.o. - (ALL_64_EMULATIONS): New variable. - * configure.in: Accept --enable-64-bit-bfd option. If it is set - with --enable-targets=all, include ALL_64_EMULATIONS in - EMULATION_OFILES. - * configure: Rebuild. - -Fri Oct 18 12:58:35 1996 Jeffrey A Law (law@cygnus.com) - - * scripttempl/v850.sc (__gp, __ep): Define. - -Thu Oct 17 18:14:07 1996 Ian Lance Taylor <ian@cygnus.com> - - * ld.texinfo: Try to consistently use a single or a double dash - for each option. - -Thu Oct 17 10:17:20 1996 Doug Evans <dje@canuck.cygnus.com> - - * emulparams/m32relf.sh (EMBEDDED): Define. - -Thu Oct 17 10:56:49 1996 Jeffrey A Law (law@cygnus.com) - - * scripttempl/v850.sc (.zdata): Add this before .text. - (.sdata): Also include .rosdata as part of the .sdata. - (.tdata): Include this just before .sdata. - - * emulparms/v850.sh (SCRIPT_NAME): Use "v850" not "elf". - * scripttempl/v850.sc: Wrap script with a "cat << EOF". - -Wed Oct 16 23:10:01 1996 Jeffrey A Law (law@cygnus.com) - - * scripttempl/v850.sc: New linker script for the V850. - * Makefile.in: Use it. - -Thu Oct 10 17:57:00 1996 Ian Lance Taylor <ian@cygnus.com> - - * emulparams/elf32b4300.sh: Define _gp in OTHER_GOT_SYMBOLS, not - OTHER_READWRITE_SECTIONS. - * emulparams/elf32l4300.sh: Likewise. - -Wed Oct 9 14:36:18 1996 Ian Lance Taylor <ian@cygnus.com> - - * ld.h (ld_config_type): Add warn_section_align field. - * lexsup.c (OPTION_WARN_SECTION_ALIGN): Define. - (ld_options): Add --warn-section-align. - (parse_args): Handle --warn-section-align. - * ldlang.c (lang_size_sections): If warn_section_align, warn if - the start of a section changes due to alignment. - * ld.texinfo, ld.1: Document --warn-section-align. - * ld.texinfo: Change some single dashes to double dashes. - - * emultempl/pe.em (set_pe_subsystem): Record entry symbol for each - subsystem type. Ifdef out os2 type. Recognize a version number. - -Tue Oct 8 12:07:13 1996 Ian Lance Taylor <ian@cygnus.com> - - * emultempl/pe.em (set_pe_subsystem): When setting the subsystem - to windows, set the entry point. - - * Makefile.in (ldlex.c): Don't pass any options to $(LEX). - -Mon Oct 7 17:29:05 1996 Ian Lance Taylor <ian@cygnus.com> - - * ld.texinfo (Options): Mention .so extensions for shared - libraries. - -Sun Oct 6 22:35:36 1996 Jason Merrill <jason@yorick.cygnus.com> - - * scripttempl/elf{,mips,ppc}.sc: Add DWARF 2 sections. - -Fri Oct 4 18:49:31 1996 Ian Lance Taylor <ian@cygnus.com> - - * scripttempl/m68kcoff.sc: Only set the address of .text if - RELOCATING. - -Fri Oct 4 10:59:52 1996 Doug Evans <dje@canuck.cygnus.com> - - * emulparams/sparcaout.sh ({BIG,LITTLE}_OUTPUT_FORMAT): Define. - * scripttempl/aout.sc ({BIG,LITTLE}_OUTPUT_FORMAT): Provide default. - (OUTPUT_FORMAT): Support bi-endian targets. - -Thu Oct 3 13:52:03 1996 Ian Lance Taylor <ian@cygnus.com> - - * fnmatch.h, fnmatch.c: Remove (now in libiberty). - * Makefile.in: Rebuild dependencies. - (CFILES): Remove fnmatch.c. - (HFILES): Remove fnmatch.h. - (OFILES): Remove fnmatch.o. - -Thu Oct 3 15:41:24 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) - - * Makefile.in (mostlyclean): Move config.log to distclean. - -Wed Oct 2 23:45:25 1996 Geoffrey Noer <noer@cygnus.com> - - * emultmpl/pe.em: increase size of stack reserve to 0x2000000 - (necessary in order to compile parse.c in gcc sources under NT) - -Wed Oct 2 14:49:10 1996 Ian Lance Taylor <ian@cygnus.com> - - * lexsup.c (ld_options): Fix typo in --rpath-link description. - * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Suggest - --rpath if a needed library is not found. - -Tue Oct 1 16:17:33 1996 Joel Sherrill <joel@oarcorp.com> - - * configure.tgt (mips*-*-rtems*): New target, like mips*-*-elf*. - -Tue Oct 1 15:50:34 1996 Ian Lance Taylor <ian@cygnus.com> - - * ld.texinfo (Options): Give more detail on -l option. - - * scripttempl/elfmips.sc: Handle CREATE_SHLIB the same way that - elf.sc does, so that glibc works better. - - * ldver.c (ld_program_version): New variable. - (ldversion): Use it. - * ldver.h (ld_program_version): Declare. - * lexsup.c (ld_options): Handle --dll-verbose like --verbose, not - --version. Change --version handling to match current GNU - standards. - (help): Print bug report address. - -Mon Sep 30 12:14:43 1996 Doug Evans <dje@canuck.cygnus.com> - - * Makefile.in (em32relf.c): Add rule for. - * configure.tgt (m32r-*-*): Recognize. - * emulparams/m32relf.sh: New file. - -Thu Sep 26 13:58:47 1996 Stan Shebs <shebs@andros.cygnus.com> - - * mpw-make.sed: Add symbolic doublequoting to ldmain compile edit. - * mpw-config.in: Add mips-*-* case as mips-elf, and use more - wildcards in matching. - * mpw-emipself.c: New file, pregenerated mips elf emulation. - -Tue Sep 17 12:18:21 1996 Ian Lance Taylor <ian@cygnus.com> - - * ldint.texinfo: Rewrote. - - * configure.tgt: Add cases for MIPS 5000 like MIPS 4300. - -Mon Sep 16 17:55:21 1996 Ian Lance Taylor <ian@cygnus.com> - - * scripttempl/armcoff.sc: Only define symbols if RELOCATING. Fix - syntax error on __end__ line. - - * scripttempl/armcoff.sc: For -N or -n, don't align .data. From - Chris Hadley <Christopher.Hadley@cl.cam.ac.uk> - -Sun Sep 15 22:09:56 1996 Jeffrey A Law (law@cygnus.com) - - * emulparms/v850.sh: Fix OTHER_RELOCATING_SECTIONS. - -Sun Sep 15 10:38:16 1996 Mark Alexander <marka@cygnus.com> - - * emulparms/d10v.sh: Set OTHER_RELOCATING_SECTIONS to put - stack at top of simulator memory. - -Fri Sep 13 15:49:45 1996 Ian Lance Taylor <ian@cygnus.com> - - * ldlex.l (SYMBOLCHARN): Add $, _, and ~. - -Wed Sep 11 23:30:42 1996 Ian Lance Taylor <ian@cygnus.com> - - * ldmain.c (get_emulation): Check for -mips4 like -mips1, et. al. - -Thu Sep 5 15:24:12 1996 Ian Lance Taylor <ian@cygnus.com> - - * ldlang.c (section_already_linked): Accept a lang_input_statement - as the PTR argument. If the file is symbols only, discard all - input sections. - (ldlang_add_file): Pass entry to bfd_map_over_sections. - -Wed Sep 4 15:53:43 1996 Ian Lance Taylor <ian@cygnus.com> - - * configure.tgt (alpha-*-gnu*): New target. From Fila Kolodny - <fila@ibi.com>. - -Tue Sep 3 00:52:54 1996 Jeffrey A Law (law@cygnus.com) - - * emulparms/v850.sh: Set OTHER_RELOCATING_SECTIONS - -Sun Sep 1 21:48:58 1996 Jeffrey A Law (law@cygnus.com) - - * emulparms/v850.sh: Set EMBEDDED. - -Fri Aug 30 22:30:30 1996 Jeffrey A Law (law@cygnus.com) - - * emulparms/v850.sh: Entry symbol is "_start", tweak - ctor/dtor support. - -Fri Aug 30 18:32:31 1996 Ian Lance Taylor <ian@cygnus.com> - - * configure.tgt (sh-*-elf*): New target. - * emulparams/shelf.sh: New file. - * emulparams/shlelf.sh: New file. - * Makefile.in (ALL_EMULATIONS): Add eshelf.o and eshlelf.o. - (eshelf.c, eshlelf.c): New targets. - * scripttempl/elf.sc: If EMBEDDED is defined, then don't add - SIZEOF_HEADERS to TEXT_START_ADDR. Expand CTOR_START and CTOR_END - around .ctors, and DTOR_START and DTOR_END around .dtors. Expand - OTHER_RELOCATING_SECTIONS if RELOCATING. - -Thu Aug 29 16:57:46 1996 Michael Meissner <meissner@tiktok.cygnus.com> - - * configure.{host,tgt} (i[345]86-*-*): Recognize i686 for pentium - pro. - -Mon Aug 26 12:58:11 1996 Ian Lance Taylor <ian@cygnus.com> - - * ldgram.y (section): Add opt_nocrossrefs; pass value to - lang_enter_overlay. - (opt_nocrossrefs): New nonterminal. - * ldlex.l: Recognize NOCROSSREFS keyword in EXPRESSION mode. - * ldlang.c (overlay_nocrossrefs): New static variable. - (lang_enter_overlay): Add nocrossrefs parameter. - (lang_leave_overlay): Only add nocrossrefs if overlay_nocrossrefs - is set. Initialize overlay_nocrossrefs. - * ldlang.h (lang_enter_overlay): Update declaration. - * ld.texinfo (Overlays): Update documentation. - - * ldver.c (ldversion): Print GNU ld in the version message. - -Thu Aug 22 17:10:40 1996 Ian Lance Taylor <ian@cygnus.com> - - * configure.host: Set HLDENV. - * configure.in: Substitute HLDENV. - * configure: Rebuild. - * Makefile.in (HLDENV): New variable. - ($(LD_PROG)): Use $(HLDENV). - -Thu Aug 22 16:29:28 1996 Jeffrey A Law (law@cygnus.com) - - * Makefile.in (ev850.c): New target. - * configure.tgt (v850-*-*): New target. - * emulparams/v850.sh: New file. - -Thu Aug 22 11:16:02 1996 Stan Shebs <shebs@andros.cygnus.com> - - * mpw-make.sed: Add @DASH_C_FLAG@ to compiler edit. - -Wed Aug 21 11:26:37 1996 Ian Lance Taylor <ian@cygnus.com> - - * scripttempl/elf.sc: Put .gnu.linkonce* sections in appropriate - containing sections. - -Mon Aug 19 13:01:42 1996 Ian Lance Taylor <ian@cygnus.com> - - * fnmatch.c: Include sysdep.h. - -Mon Aug 19 11:28:29 1996 Michael Meissner <meissner@tiktok.cygnus.com> - - * genscripts.sh: Undo 8/16 change. - - * emulparams/d10velf.sh (MACHINE): Explicitly set to nothing. - -Fri Aug 16 19:18:08 1996 Michael Meissner <meissner@tiktok.cygnus.com> - - * genscripts.sh: Explicitly reset any shell variables set or used - by the various .sc scripts to allow inadvertant use of these - names as normal environment variables by the person running - configure. - - * Makefile.in (ed10velf.c): Use tdir_d10v, not tdir_arcelf. - -Fri Aug 16 14:15:41 1996 James G. Smith <jsmith@cygnus.co.uk> - - * scripttempl/armcoff.sc (__bss_start__, __bss_end__, - __data_start__, __data_end__): Added to keep in sync. with the - default ARM crt0.s. Added __CTOR_LIST__ and __DTOR_LIST__ support. - -Thu Aug 8 14:24:56 1996 Ian Lance Taylor <ian@cygnus.com> - - * ldcref.c (check_reloc_refs): If info->same, look for any symbol - defined in info->defsec, not just the section symbol. - -Wed Aug 7 14:40:48 1996 Philippe De Muyter <phdm@info.ucl.ac.be> - - * configure.in: Call BFD_NEED_DECLARATION on strstr and sbrk. - * acconfig.h (NEED_DECLARATION_STRSTR): New macro. - (NEED_DECLARATION_SBRK): New macro. - * configure, config.in: Rebuild. - * sysdep.h (strstr): Declare if NEED_DECLARATION_STRSTR. - * ldmain.c (sbrk): Declare if HAVE_SBRK and - NEED_DECLARATION_SBRK. - - * ldlang.c (lang_record_phdrs): Cast xmalloc and xrealloc return. - -Mon Aug 5 16:26:14 1996 Ian Lance Taylor <ian@cygnus.com> - - * ldlex.l: Recognize OVERLAY. - * ldgram.y: Add section_phdr field to %union. - (section): Handle phdr_opt result. Add OVERLAY case. - (opt_exp_without_type): New nonterminal. - (phdr_opt): Return list of phdrs. - (overlay_section): New nonterminal. - * ldlang.c: Include <ctype.h>. - (lang_leave_output_section_statement): Add phdrs parameter. - Change all callers. - (lang_section_in_phdr): Remove. - (overlay_vma, overlay_lmn, overlay_max): New static variables. - (struct overlay_list): Define. - (overlay_list): New static variable. - (lang_enter_overlay, lang_enter_overlay_section): New functions. - (lang_leave_overlay_section, lang_leave_overlay): New functions. - * ldlang.h (lang_leave_output_section_statement): Update - declaration for new parameter. - (lang_section_in_phdr): Don't declare. - (lang_enter_overlay, lang_enter_overlay_section): Declare. - (lang_leave_overlay_section, lang_leave_overlay): Declare. - * ld.texinfo (Overlays): New node under SECTIONS, documenting - overlays. - - * ldlex.l: Recognize MAX and MIN. - * ldgram.y (MAX, MIN): New terminals. - (exp): Recognize MAX and MIN. - * ldexp.c (fold_binary): Handle MAX and MIN. - * ld.texinfo (Arithmetic Functions): Document MAX and MIN. - - * ld.texinfo (PHDRS): Use @cindex, not @kindex, for program header - index entries. - - * ldgram.y (SIZEOF, ADDR): Do not specify type. - - * ldcref.c (check_nocrossref): Skip symbols with no output - sections. - -Fri Aug 2 14:57:49 1996 Ian Lance Taylor <ian@cygnus.com> - - * ldgram.y (LOADADDR): New terminal. - (exp): Handle LOADADDR. - * ldlex.l: Recognize LOADADDR. - * ldexp.c (exp_print_token): Add LOADADDR. - (fold_name): Implement LOADADDR. - * ldlang.c (exp_init_os): Treat LOADADDR like ADDR. - * ld.texinfo (Arithmetic Functions): Document LOADADDR. - -Thu Aug 1 12:52:19 1996 Ian Lance Taylor <ian@cygnus.com> - - * ld.h (check_nocrossrefs): Declare. - * ldlang.h (struct lang_nocrossref): Define. - (struct lang_nocrossrefs): Define. - (nocrossref_list): Declare. - (lang_add_nocrossref): Declare. - * ldlex.l: Recognize NOCROSSREFS keyword. - * ldgram.y (%union): Add nocrossref field. - (NOCROSSREFS): New terminal. - (ifile_p1): Recognize NOCROSSREFS. - (nocrossref_list): New nonterminal. - * ldlang.c (nocrossref_list): Define. - (lang_add_nocrossref): New function. - * ldmain.c (main): If nocrossref_list is not NULL, call - check_nocrossrefs. - (warning_callback): Free symbols if there is no place to store - them. - (notice): Call add_cref if nocrossref_list is not NULL. - * ldcref.c: Include "ldexp.h" and "ldlang.h". - (check_nocrossrefs): New function. - (check_nocrossref): New static function. - (struct check_refs_info): Define. - (check_refs, check_reloc_refs): New static functions. - * Makefile.in: Rebuild dependencies. - * ld.texinfo (Option Commands): Document NOCROSSREFS. - - * ld.texinfo (Section Placement): Improve the wording of the - wildcard documentation. Mention that wildcards are only searched - for on the command line, not in the file system. - - * emultempl/sunos.em (gld${EMULATION_NAME}_after_open): Move - definition of lib_path inside condition where it is used. - -Wed Jul 31 13:17:10 1996 Martin M. Hunt <hunt@pizza.cygnus.com> - - * emulparams/d10velf.sh: Now works with elf.sc. - -Wed Jul 31 11:52:03 1996 Martin M. Hunt <hunt@pizza.cygnus.com> - - * emulparams/d10velf.sh (SCRIPT_NAME): Change to vanilla. - -Tue Jul 30 14:46:42 1996 Ian Lance Taylor <ian@cygnus.com> - - * ldlang.c (lang_size_sections): Add the section VMA to the result - value when computing the address of a section. - - * ld.h (args_type): Add cref field. - * lexsup.c (parse_args): Set command_line.cref. - * ldmain.c (main): Check command_line.cref rather than - link_info.notice_all. - (notice): Likewise. - - * ldcref.c (output_one_cref): Don't crash if a symbol is defined - in a section without an owner. - -Mon Jul 29 17:23:33 1996 Ian Lance Taylor <ian@cygnus.com> - - * fnmatch.h, fnmatch.c: New files. - * ldlex.l: Remove unused definition of FILENAME. Add definition - of WILDCHAR. In SCRIPT mode, accept any sequence of WILDCHAR as a - NAME. - * ldgram.y (file_NAME_list): Accept '*' and '?' specially. - (input_section_spec): Accept '?' specially. - (statement): Change exp to mustbe_exp in length and FILL cases. - (section): Call ldlex_script before section statements, and call - ldlex_popstate after them. - * ldlang.c: Include "fnmatch.h". - (wildcardp): New static function. - (wild_section): Permit the section name to be a wildcard. - (wild_file): New static function, broken out of wild. - (wild): Call wild_file. Permit the file name to be a wildcard. - (open_input_bfds): Don't call lookup_name for a wildcard pattern. - * Makefile.in: Rebuild dependencies. - (CFILES): Add fnmatch.c. - (HFILES): Add fnmatch.h. - (OFILES): Add fnmatch.o. - * ld.texinfo: Document that file and section names can now be - wildcard patterns. - - * ldlang.c (lang_place_orphans): Correct condition: place a common - section if not relocateable or if common definitions are forced. - -Wed Jul 24 12:16:38 1996 Martin M. Hunt <hunt@pizza.cygnus.com> - - * emulparams/d10velf.sh (SCRIPT_NAME): Change to elf. - -Wed Jul 24 13:38:22 1996 Michael Meissner <meissner@wogglebug.tiac.net> - - * configure.tgt (d10v-*-*): Don't require the -elf, allow plain d10v. - -Tue Jul 23 10:36:19 1996 Martin M. Hunt <hunt@pizza.cygnus.com> - - * Makefile.in (ed10velf.c): New target. - * configure.tgt (d10v-*-elf*): New target. - * emulparams/d10velf.sh: New file. - -Thu Jul 18 16:25:39 1996 Ian Lance Taylor <ian@cygnus.com> - - * configure.tgt (sparc*-*-sysv4*): New target. From Andrew Gierth - <ANDREWG@microlise.co.uk>. - - * configure.host: Change irix5 to irix[56]*. - * configure.tgt: Likewise. - -Wed Jul 17 10:52:46 1996 Kim Knuttila <krk@cygnus.com> - - * emultempl/pe.em (sort_sections): Pay attention to return code. - - * ldmisc.c (demangle): Remove all prefix '.'s from a name. - -Mon Jul 15 11:49:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Round - the value of __start_SECNAME to the alignment required by the - section to be placed. - -Tue Jul 9 12:09:02 1996 Ian Lance Taylor <ian@cygnus.com> - - * configure.tgt (mips*el-*-elf*): Use elf32elmip. - (mips*-*-elf*): Use elf32ebmip. - * emulparams/elf32bmip.sh (EMBEDDED): Don't define. - * emulparams/elf32lmip.sh (EMBEDDED): Don't define. - * emulparams/elf32elmip.sh: New file; copy of elf32lmip.sh with - EMBEDDED defined. - * emulparams/elf32ebmip.sh: New file; copy of elf32bmip.sh with - EMBEDDED defined. - * emulparams/elf32b4300.sh (EMBEDDED): Define. - * emulparams/elf32l4300.sh (EMBEDDED): Define. - * Makefile.in (ALL_EMULATIONS): Add eelf32ebmip.o eelf32elmip.o. - (eelf32ebmip.c, eelf32elmip.c): New targets. - -Thu Jul 4 12:01:03 1996 Ian Lance Taylor <ian@cygnus.com> - - * ldver.c (ldversion): Set version to cygnus-2.7.1. - - * Released binutils 2.7. - - * emulparams/pc532macha.sh: Rename from pc532machaout.sh to avoid - System V file name limitations. - * configure.tgt (nc32k-pc532-mach*, ns32k-pc532-ux*): Use - pc532macha rather than pc532machaout. - * Makefile.in (ALL_EMULATIONS): Change epc532machaout.o to - epc532macha.o. - (epc532macha.c): Rename target from epc532machaout.c. - -Wed Jul 3 11:40:10 1996 Ian Lance Taylor <ian@cygnus.com> - - * ldlang.c (print_padding_statement): Use %u, not %x, to print - fill value. - -Sun Jun 30 11:16:43 1996 Stan Shebs <shebs@andros.cygnus.com> - - * mpw-eppcmac.c: Update to reflect May 23 change to aix.em. - -Thu Jun 27 14:03:42 1996 Ian Lance Taylor <ian@cygnus.com> - - * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Put the .sa - file just before the .so file, rather than just after. - - * configure.host: Use -print-file-name=FILE rather than piping - -print-libgcc-file-name through sed. - (i[345]86*-*-sco*, i[345]86-*-isc*): Create crtbegin.o and - crtend.o files, in case gcc doesn't use them. - * Makefile.in (mostlyclean): Remove crtbegin.o and crtend.o. - -Wed Jun 26 15:57:21 1996 Ian Lance Taylor <ian@cygnus.com> - - * configure.tgt (mips*-dec-osf*): New target. - -Tue Jun 25 22:15:29 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) - - * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir, - INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values. - (docdir): Removed. - * configure.in (AC_PREREQ): autoconf 2.5 or higher. - (AC_PROG_INSTALL): Added. - * configure: Rebuilt. - -Mon Jun 24 18:48:16 1996 Michael Meissner <meissner@tiktok.cygnus.com> - - * scripttempl/elfppc.sc (_GLOBAL_OFFSET_TABLE_): Don't do a - PROVIDE of _GLOBAL_OFFSET_TABLE_, since it needs to be at a - non-fixed location. - -Mon Jun 24 17:55:31 1996 Jouke Numan <jnuman@bazis.nl> - - * ldlang.h (enum section_type): Define. - (lang_output_section_statement_type): Remove loadable field. Add - sectype field. - (lang_enter_output_section_statement): Change flags parameter in - prototype to sectype. - * ldgram.y (typebits): Remove. - (sectype): New static variable. - (opt_at): Use sectype rather than typebits. - (type): Set sectype rather than typebits. - (atype): Likewise. - * ldlex.l: Recognize DSECT, COPY, INFO, and OVERLAY in - EXPRESSION mode. - * ldlang.c (lang_output_section_statement_lookup): Set sectype - field rather than loadable field. - (wild_doit): Check sectype rather than loadable. - (lang_record_phdrs): Likewise. - (lang_enter_output_section_statement): Rename flags parameter to - sectype. Set sectype field rather than loadable field. Set flags - field based on sectype. - -Mon Jun 24 12:00:32 1996 Ian Lance Taylor <ian@cygnus.com> - - * scripttempl/elf.sc: Force .stab* and .comment sections to start - at 0. - - * configure.in: On alpha*-*-osf*, link against libbfd.a if not - using shared libraries. - * configure: Rebuild with autoconf 2.10. - -Fri Jun 21 17:40:56 1996 Joel Sherrill <joel@merlin.gcs.redstone.army.mil> - - * configure.tgt: Add support for *-*-rtems* configurations. - -Fri Jun 21 13:05:51 1996 Richard Henderson <rth@tamu.edu> - - * configure.tgt (alpha-*-linuxecoff*): New target. - (alpha-*-linux*): Use elf64alpha. - * emulparams/elf64alpha.sh: New file. - * emultempl/elf32.em: If ELFSIZE is not set, set it to 32. Use - ${ELFSIZE} rather than 32 when calling BFD routines. - (hold_rodata): New static variable. - (gld${EMULATION_NAME}_place_orphan): Use hold_rodata for a - readonly section that is not code. - (gld${EMULATION_NAME}_place_section): Set hold_rodata. Don't use - a .rel section unless its bfd_section field is not NULL. - * Makefile.in (ALL_EMULATIONS): Add eelf64alpha.o. - (eelf64alpha.c): New target. - -Fri Jun 21 12:45:46 1996 Ian Lance Taylor <ian@cygnus.com> - - * ldmisc.c (vfinfo): Correct handling of 0 in %W case. - -Thu Jun 20 13:55:28 1996 Ian Lance Taylor <ian@cygnus.com> - - Add enough support to understand the gcc svr3.ifile script: - * ldlex.l: Recognize BLOCK and GROUP in EXPRESSION context. Add - BIND keyword. - * ldgram.y: Add BIND token. - (section): Recognize GROUP. - (opt_ext_with_type): Recognize a couple of cases of BIND. - * ldlang.c (init_os): Don't do anything if section is already - initialized. Call exp_init_os on addr_tree field. - (exp_init_os): New static function. - (map_input_to_output_sections): Call exp_init_os on assignment - expression. - (lang_place_orphans): Check for common sections by name COMMON - rather than by common_section field. Don't warn about absence of - [COMMON] command. - - * ldlang.h (lang_input_statement_type): Remove useless fields - common_section, common_output_section, and complained, as well as - all references to them. - - * ldexp.c: Reindent a lot of code. - (exp_fold_tree): Call FAIL rather than einfo in default case. - -Wed Jun 19 11:40:14 1996 Ian Lance Taylor <ian@cygnus.com> - - * configure.host (m88*-*-dgux*): Quote HOSTING_CRT0. From - <randall.hron@medaphis.com>. - -Tue Jun 18 15:53:09 1996 Jeffrey A. Law <law@rtl.cygnus.com> - - * scripttempl/h8300s.sc: New file for H8/S. - * emulpararms/h8300s.sh: New file for H8/S. - * Makefile.in (ALL_EMULATIONS): Add H8/S. - (e_h8300s.c): Add dependencies. - * configure.tgt: Add H8/S to targ_extra_emuls. - -Tue Jun 18 17:55:39 1996 Ian Lance Taylor <ian@cygnus.com> - - * configure.tgt (i[345]86*-*-isc*): New target. From - <uddeborg@carmen.se>. - -Wed Jun 12 12:46:21 1996 Ian Lance Taylor <ian@cygnus.com> - - * lexsup.c: Include "libiberty.h". - (parse_args): Copy the -Y argument into memory. - (set_default_dirlist): Don't put the ':' back into the directory - list. - -Fri Jun 7 11:27:42 1996 Ian Lance Taylor <ian@cygnus.com> - - * emultempl/sunos.em: Include libiberty.h. - (gld${EMULATION_NAME}_set_symbols): New static function to add - LD_LIBRARY_PATH to the list of search directories. - (ld_${EMULATION_NAME}_emulation): Add new set_symbols routine. - -Thu Jun 6 11:50:31 1996 Ian Lance Taylor <ian@cygnus.com> - - * emulparams/elf32bmip.sh (OTHER_GOT_SYMBOLS): Use ALIGN(16) - rather than . when computing _gp value. From Per Fogelstrom. - * emulparams/elf32lmip.sh (OTHER_GOT_SYMBOLS): Likewise. - - * ldmain.c (main): Don't close and unlink the file on error, since - remove_output will do it anyhow. - * ldlang.c (open_output): Set boolean variable to true, not 1. - -Wed Jun 5 18:34:14 1996 James G. Smith <jsmith@cygnus.co.uk> - - * emulparams/{elf32b4300.sh,elf32l4300.sh} (SCRIPT_NAME): Use - elfmips instead of elf. - -Tue Jun 4 18:43:07 1996 Ian Lance Taylor <ian@cygnus.com> - - * ldcref.c: New file. - * ld.h (add_cref, output_cref): Declare. - * ldmain.c (main): Initialize notice_all field. If it is set at - end of link, call output_cref. - (notice): Rename from notice_ysym. Check notice_all. - * ldmisc.c (finfo): Make globally visible. - * ldmisc.h (finfo): Declare. - * lexsup.c (OPTION_CREF): Define. - (ld_options): Add "cref". - (parse_args): Handle OPTION_CREF. - * Makefile.in: Rebuild dependencies. - (CFILES): Add ldcref.c. - (OFILES): Add ldcref.o. - * ld.texinfo, ld.1: Document --cref. - -Tue Jun 4 12:12:25 1996 Tom Tromey <tromey@csk3.cygnus.com> - - * Makefile.in (install): Make $(tooldir) and $(tooldir)/bin. - -Fri May 31 12:40:55 1996 Ian Lance Taylor <ian@cygnus.com> - - * emultempl/pe.em (sort_sections): Don't assume that a - wild_statement has a section name. - -Wed May 29 13:13:35 1996 Ian Lance Taylor <ian@cygnus.com> - - * scripttempl/elfmips.sc: Quote test -z argument. - - * ld.texinfo: Clarify the CONSTRUCTORS command. - -Thu May 23 16:07:44 1996 Ian Lance Taylor <ian@cygnus.com> - - * emultempl/aix.em (gld${EMULATION_NAME}_read_file): Initialize - file, not impfile. - -Wed May 22 11:31:30 1996 Doug Evans <dje@seba.cygnus.com> - - * ldlang.c (wild_doit): Don't copy over SEC_LINK_{ONCE,DUPLICATES} - if final link. - * emultempl/pe.em (sfunc): Renamed to sort_by_file_name. - (sort_by_section_name, sort_sections_1): New functions. - (sort_sections): Only sort by file name sections in .idata. - Add "Grouped Sections" support. - (gld${EMULATION_NAME}_place_orphan): Rewrite to support Grouped - Sections. - (gld${EMULATION_NAME}_place_section): Delete. - * scripttempl/pe.sc (.text,.data,.rdata): Add *(.foo\$). - (.CRT,.rsrc): Rewrite to use Grouped Section support. - -Tue May 21 14:31:48 1996 Stan Shebs <shebs@andros.cygnus.com> - - * mpw-eppcmac.c: Update to reflect changes to aix.em. - -Sun May 19 16:59:44 1996 Doug Evans <dje@seba.cygnus.com> - - * ldlang.c (dprint_statement): Stop printing at end of list. - -Sat May 18 13:12:05 1996 Steve Chamberlain <sac@slash.cygnus.com> - - Support for --force-exe-suffix - * ld.h (args_type): Add force_exe_suffix. - * ld.texinfo: Add documentation. - * ldmain.c (main): Add support for option. - * lexsup.c (OPTION_FORCE_EXE_SUFFIX): New. - (ld_options, parse_args): Add support for option. - -Wed May 15 12:50:25 1996 Jim Wilson <wilson@chestnut.cygnus.com> - - * emultempl/pe.em (set_pe_value): Pass 0 not 16 to strtoul call. - -Fri May 10 16:28:44 1996 Michael Meissner <meissner@tiktok.cygnus.com> - - * scripttempl/elfppc.sc (__stack): Make __stack 0 if it was - referenced but not defined. - -Thu May 9 08:52:23 1996 Rob Savoye <rob@chinadoll.cygnus.com> - - * emulparams/{elf32bmip.sh,elf32lmip.sh,mipsidt.sh,mipsidtl.sh}: - Set a new variable to signify if the final target is an embedded - system. - * scripttempl/{mips.sc,elfmips.sc}: Don't add SIZEOF_HEADERS to - .text for an embedded system. - -Tue May 7 10:56:11 1996 Doug Evans <dje@canuck.cygnus.com> - - * scripttempl/pe.em (gld${EMULATION_NAME}_place_orphan): New function. - (gld${EMULATION_NAME}_place_section): New function. - (hold_{section,use,text,rdata,data}): New static locals. - (ld_${EMULATION_NAME}_emulation): Update orphan field. - * scripttempl/pe.sc: Whitespace cleanup. Semicolon usage cleanup. - (INIT,FINI): Delete, unused. - (.text): Document orphan .text.foo sections. - (.rdata): Document orphan .rdata.foo sections. - (.data): Document orphan .data.foo sections. - -Tue May 7 11:35:46 1996 Jeffrey A Law (law@cygnus.com) - - * scripttempl/h8300.sc: Place ".tiny" sections right - after ".data" sections. - * scripttempl/h8300h.sc: Place ".tiny" sections into - the "tiny" memory region, 0xff8000 through 0xffff00. - - * scripttempl/h8300.sc: Set the entry point to the value of - "_start" rather than the start of the text segment. - * scripttempl/h8300h.sc: Likewise. - - * scripttempl/h8300.sc: Place .rodata sections before .text - sections in main ram. - * scripttempl/h8300h.sc: Likewise. - -Mon May 6 23:32:30 1996 Jeffrey A Law (law@cygnus.com) - - * scripttempl/h8300h.sc: Use "eight", not "eightbit" for the - 8-bit region and 8-bit sections. - -Wed May 1 17:50:06 1996 Doug Evans <dje@canuck.cygnus.com> - - * ldlang.c (section_already_linked): Fix typos. - -Mon Apr 29 20:31:06 1996 Doug Evans <dje@canuck.cygnus.com> - - * scripttempl/pe.sc (.endjunk): Define __end__. - -Mon Apr 29 17:05:13 1996 Ian Lance Taylor <ian@cygnus.com> - - * ldlang.c (longest_section_name): Remove. - (SECTION_NAME_MAP_LENGTH): Define. - (print_size, print_alignment, print_fill, print_section): Remove. - (print_flags): Remove. - (lang_map): Rewrite. - (print_output_section_statement): Rewrite. - (print_assignment): Rewrite. - (print_one_symbol): Rewrite. - (print_input_section): Rewrite. - (print_fill_statement): Rewrite. - (print_data_statement): Rewrite. - (print_address_statement): New static function. - (print_reloc_statement): Rewrite. - (print_padding_statement): Rewrite. - (print_wild_statement): Rewrite. - (print_statement_list): Clean up. - (print_statement): Clean up. Some minor output changes. - (print_statements): Clean up. - (load_symbols): Put another - before -whole-archive. - * ldexp.c (exp_print_tree): Change etree_value and etree_rel to - print 0x and to omit leading zeroes. For etree_rel, use %B to - print the BFD. For etree_assign, remove the space after the - destination name. - * ldwrite.c: Include "libiberty.h". - (clone_section): Call xstrdup, not strdup. - (ldwrite): Don't print any map information. - (print_symbol_table, print_file_stuff, print_symbol): Remove. - * ldmain.c (main): Call lang_map when appropriate. - * ldmisc.c (vfinfo): Add support for %W. - (print_address): Remove. - * ldmisc.h (print_address): Don't declare. - * Makefile.in: Rebuild dependencies. - -Mon Apr 29 10:29:07 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * configure.host (m68*-*-linux*): Add -dynamic-linker to - HOSTING_CRT0. Search -lgcc both before and after -lc in - HOSTING_LIBS. Look for crt{begin,end}.o in the compiler directory - at first. - (i[345]86-*-linux*): Look for crt{begin,end}.o in the compiler - directory at first. - -Fri Apr 26 14:42:27 1996 Ian Lance Taylor <ian@cygnus.com> - - * ldmisc.h (demangle): Declare. - * ldmisc.c: Include "libiberty.h". Include demangle.h with "", - not <>. - (demangle): Make non-static. Remove remove_underscore paramter. - Always return an allocated string. - (vfinfo): Free result of demangle. Add case 'G'. Use %T to print - functionname, rather than calling demangle. Print a colon between - the BFD(section+offset) and the line number. - * ldmain.c (add_archive_element): Improve format of archive - information in map file. - (constructor_callback): Don't print anything to the map file. - * ldlang.c (lang_one_common): Improve format of common symbol - information in map file. - * ldctor.c (ldctor_build_sets): If producing a map file, print set - information. - * ldwrite.c (print_symbol_table): Print a newline before the - header in the map file. - * Makefile.in: Rebuild dependencies. - - * ldmisc.c (vfinfo): Reindent. - -Mon Apr 22 12:07:32 1996 Ian Lance Taylor <ian@cygnus.com> - - * ldlang.c (lang_size_sections): If _cooked_size is not 0, then - don't clobber it when not relaxing. - - * ld.h (ld_config_type): Remove traditional_format field. - * ldmain.c (main): Use link_info.traditional_format rather than - config.traditional_format. - * ldlang.c (ldlang_open_output): Likewise. - * lexsup.c (parse_args): Likewise. - * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Likewise. - * mpw-eppcmac.c (gldppcmacos_parse_args): Likewise. - - * ldlang.c (wild_doit): Discard debugging sections if we are - stripping debugging information. - - * emulparams/z8002.sh (ARCH): Set to z8002, not z8k. - -Tue Apr 16 16:38:32 1996 Ian Lance Taylor <ian@cygnus.com> - - * ldexp.c (fold_binary): Correct handling of subtraction with - absolute values. - (fold_name): Permit symbols in lang_allocating_phase_enum. - - * scripttempl/aout.sc: Only PROVIDE __stack when RELOCATING. Undo - accidental changes in last patch. - -Tue Apr 16 10:25:42 1996 Michael Meissner <meissner@tiktok.cygnus.com> - - * configure.tgt (powerpc*-*-{sysv,linux}): Add aliases. - (powerpcle*-*-{sysv,solaris}): Ditto. - -Mon Apr 15 14:50:56 1996 Rob Savoye <rob@chinadoll.cygnus.com> - - * scripttempl/aout.sc: Add PROVIDE (__stack = 0) so I can use it - in m68k/crt0.S without things blowing up. - -Fri Apr 12 16:40:56 1996 Rob Savoye <rob@chinadoll.cygnus.com> - - * scripttempl/m68kcoff.sc: Remove default address for .data so - .text, .data, and .bss are all sequential. - -Thu Apr 11 12:05:35 1996 Ian Lance Taylor <ian@cygnus.com> - - * scripttempl/m68kcoff.sc: Remove regions and simplify. - -Wed Apr 10 14:41:53 1996 Jeffrey A Law (law@cygnus.com) - - * scripttempl/h8300.sc: Add the "8-bit area" in the upper 256 - bytes of the address space. Put data from the ".eight" sections - into the 8-bit area. - * scripttempl/h8300h.sc: Likewise. - -Tue Apr 9 14:10:42 1996 Doug Evans <dje@canuck.cygnus.com> - - * emultempl/generic.em (gld${EMULATION_NAME}_before_parse): - Pass $ARCH to ldfile_set_output_arch instead of setting - ldfile_output_architecture directly. - -Tue Apr 9 14:22:15 1996 Michael Meissner <meissner@tiktok.cygnus.com> - - * scripttempl/elfppc.sc (.init,.fini): Put .init, .fini section - next to .text. Put _etext after .text, .init, .fini, and - .rodata{,2} sections. - -Tue Apr 9 12:18:57 1996 Ian Lance Taylor <ian@cygnus.com> - - * ld.texinfo: Rearrange option documentation. - - * lexsup.c (ld_options): New static array. - (parse_args): Build shortopts and longopts from ld_options array. - (help): New static function. - * ldver.h (help): Don't declare. - * ldver.c (ldversion): Reindent. - (help): Remove. - - * ld.texinfo, ld.1: Mention -E as a synonym for -export-dynamic. - -Mon Apr 8 11:56:23 1996 Ian Lance Taylor <ian@cygnus.com> - - * emultempl/elf32.em: When checking for a native emulation, check - that the current emulation is the default emulation. - * emultempl/sunos.em: Likewise. - - * configure.in: Permit --enable-shared to specify a list of - directories. - * configure: Rebuild. - - * lexsup.c (parse_args): Add -E as a synonym for -export-dynamic, - for HP/UX compatibility. - -Fri Apr 5 14:30:14 1996 Ian Lance Taylor <ian@cygnus.com> - - * emultempl/elf32.em (gld${EMULATION_NAME}_check_ld_so_conf): New - static function, if ${host} = ${target}. - (gld${EMULATION_NAME}_after_open): Call check_ld_so_conf to find a - needed shared library if ${host} = $[target}. - - * configure.host (i[345]86-*-linux*): Add -dynamic-linker to - HOSTING_CRT0. Search -lgcc both before and after -lc in - HOSTING_LIBS. - - * configure.tgt: Add i[345]86-*-freebsdelf* target; from John - Polstra <jdp@polstra.com>. - -Fri Apr 5 18:11:25 1996 James G. Smith <jsmith@cygnus.co.uk> - - * emulparams/elf32{b,l}4300.sh (MACHINE): Add explicit - architecture number. - * scripttempl/elf.sc: Use $MACHINE definition if present. - * configure.tgt (targ_extra_emuls): Force 4100 build to use same - template as 4300. - -Mon Apr 1 17:35:40 1996 Ian Lance Taylor <ian@cygnus.com> - - * ldlang.c (lang_size_sections): Change region check to handle - regions which end at the highest possible address correctly. - From Roland Weber <roweber@ira.uka.de>. - - * ldlang.c (section_already_linked): New static function. - (wild_doit): Discard sections with SEC_EXCLUDE set if not doing a - relocateable link. Don't worry about section being NULL, since it - never should be. Don't call init_os unless the section is going - to be added. - (ldlang_add_file): Call section_already_linked for each section. - * ldmain.c (multiple_definition): Don't warn about multiple - definitions in sections which are being discarded. - -Sun Mar 31 00:30:47 1996 steve chamberlain <sac@slash.cygnus.com> - - * scripttempl/{ppcpe.sc, pe.sc} (.junk): Remove and use /DISCARD/. - * emultempl/pe.em (init): Remove special case PPC code. - -Fri Mar 29 00:01:29 1996 Jeffrey A Law (law@cygnus.com) - - * scripttempl/h8300.sc: Make vectors section 0xc4 bytes long - so as not to overwrite the magic syscall entry at 0xc4. - * scripttempl/h8300h.sc: Likewise. - -Thu Mar 28 11:05:47 1996 Doug Evans <dje@canuck.cygnus.com> - - * configure.tgt (sparc64-*-solaris2*): Delete. - Stick with sparc-*-solaris2*. - -Wed Mar 27 12:33:24 1996 Ian Lance Taylor <ian@cygnus.com> - - * ld.h (DISCARD_SECTION_NAME): Define to "/DISCARD/". - * ldlang.c (init_os): Fail on an attempt to initialize any section - named DISCARD_SECTION_NAME. - (wild_doit): Discard input sections assigned to an output section - named DISCARD_SECTION_NAME. - * ld.texinfo: Document use of /DISCARD/. - - * ldlang.c: Fix some indentation and comments. - -Tue Mar 26 18:14:49 1996 Ian Lance Taylor <ian@cygnus.com> - - * ldmain.c (main): Call bfd_set_error_program_name. - -Thu Mar 21 13:17:34 1996 Ian Lance Taylor <ian@cygnus.com> - - * ld.texinfo: Fix a couple of indexing entries. Mention that - --verbose displays builtin linker scripts. - - * ldmisc.c (vfinfo): case 'I': If the file is not in an archive, - and the local symbol name does not match the filename, print the - filename as well. - - Patches from John Polstra <jdp@polstra.com> for FreeBSD ELF: - * lexsup.c (parse_args): -Bshareable is a synonym for -shared. - * emulparams/elf_i386.sh (NONPAGED_TEXT_START_ADDR): Make the same - as TEXT_START_ADDR. - -Wed Mar 20 18:18:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * ld.texinfo: Fix typos. Use @pxref only inside parentheses. - -Wed Mar 20 16:56:15 1996 Ian Lance Taylor <ian@cygnus.com> - - * ldmain.c (add_wrap): New function. - * ldmain.h (add_wrap): Declare. - * lexsup.c (parse_args): Call add_wrap. - -Tue Mar 19 16:44:20 1996 Doug Evans <dje@canuck.cygnus.com> - - * configure.host (sparc*-*-solaris2* host): Accept any sparc variant. - -Wed Mar 13 17:47:31 1996 Jeffrey A Law (law@cygnus.com) - - * scripttempl/h8300.sc: Change name of page zero memory - from "null" to "vectors". Create an output section for - vectors. Add comments on how to explicitly place items - in the vector table. - * scripttempl/h8300h.sc: Likewise. - -Wed Mar 13 12:40:18 1996 Ian Lance Taylor <ian@cygnus.com> - - * emultempl/lnk960.em (machine_table): Add jx and hx. - - * genscripts.sh: Don't use ${9:-xx}, since Ultrix /bin/sh doesn't - support it. - -Tue Mar 12 12:43:59 1996 David Mosberger-Tang <davidm@koala.azstarnet.com> - - * ld.h (ld_config_type): Add warn_multiple_gp field. - * lexsup.c (parse_args): Handle --warn-multiple-gp. - * ldmain.c (warning_callback): Suppress multiple gp values warning - if --warn_multiple_gp was not used. - * ld.texinfo, ld.1: Document --warn-multiple-gp. - -Tue Mar 12 12:02:21 1996 Ian Lance Taylor <ian@cygnus.com> - - * lexsup.c (parse_args): Handle --wrap. - * ldmain.c (main): Initialize link_info.wrap_hash. - * ldexp.c (fold_name): Use bfd_wrapped_link_hash_lookup in DEFINED - and NAME cases. - * ld.texinfo, ld.1: Document --wrap. - - * configure: Rebuild with autoconf 2.8. - - Don't do SunOS style dynamic linking for sparc-aout: - * configure.tgt (sparc64-*-aout*): Use sparcaout, not sun4. - (sparclite*-fujitsu-*, sparc*-*-aout): Likewise. - (sparc*-wrs-vxworks*): Likewise. - * emulparams/sparcaout.sh: New file. - * Makefile.in (ALL_EMULATIONS): Add esparcaout.o. - (esparcaout.c): New target. - -Wed Mar 6 16:06:52 1996 J.T. Conklin <jtc@rtl.cygnus.com> - - * scripttempl/elfppc.sc (.sdata2, .sbss2): Implement Feb 2 change - in a different manner to work around differences in shell variable - expansion. - -Wed Mar 6 18:08:18 1996 Ian Lance Taylor <ian@cygnus.com> - - * ldemul.h (ldemul_unrecognized_file): Declare. - (ldemulation_xfer_type): Add unrecognized_file field. - * ldemul.c (ldemul_unrecognized_file): New function. - * ldlang.c (load_symbols): If a file can not be recognized, call - ldemul_unrecognized_file before trying it as a linker script. - * aix.em (gld${EMULATION_NAME}_unrecognized_file): New static - function. - (gld${EMULATION_NAME}_read_file): Use FOPEN_RT, not "r". - (ld_${EMULATION_NAME}_emulation): Initialize unrecognized_file. - -Mon Mar 4 14:11:17 1996 Ian Lance Taylor <ian@cygnus.com> - - * ldlang.c (wild): Handle foo.a(.text) by mapping each included - member of foo.a separately. From Jouke Numan <jnuman@bazis.nl>. - -Fri Mar 1 10:24:59 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment): - Search trinary.cond rather than searching trinary.lhs twice. - -Tue Feb 27 15:08:43 1996 Stan Shebs <shebs@andros.cygnus.com> - - * mpw-make.sed: Edit out shared library support. - (@TDIRS@): Edit out, can't use genscripts. - -Tue Feb 27 15:09:21 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * configure.tgt (m68k-*-linuxaout*, m68k-*-linux*): New targets. - * emulparams/m68klinux.sh: New file. - * emultempl/linux.em (gld${EMULATION_NAME}_before_allocation): - Call bfd_${EMULATION_NAME}_size_dynamic_sections instead of - bfd_linux_size_dynamic_sections. - * Makefile.in (ALL_EMULATIONS): Add em68klinux.o. - (em68klinux.c): New target. - * configure.host (m68*-*-linuxaout*, m68*-*-linux*): New hosts. - -Tue Feb 27 12:55:46 1996 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in (ALL_EMULATIONS): Sort into alphabetical order. - Fill in missing entries. - - * lexsup.c (parse_args): Recognize --no-whole-archive. - * ldlang.h (lang_input_statement_type): Add whole_archive field. - * ldlang.c (new_afile): Set whole_archive field. - (load_symbols): Check input file specific whole_archive field - rather than global variable. - * ld.texinfo, ld.1: Document --no-whole-archive. - -Tue Feb 20 16:07:00 1996 Ian Lance Taylor <ian@cygnus.com> - - * configure.tgt: Correct gldi960 to gld960. - -Mon Feb 19 11:16:44 1996 Ian Lance Taylor <ian@cygnus.com> - - * emultempl/elf32.em (gld${EMULATION_NAME}_check_needed): Check - the SONAME if it is available. - (gld${EMULATION_NAME}_stat_needed): Use the SONAME, not the - filename, when checking for conflicting library versions. Don't - assume that the suffix is only numbers and dots. - - * ld.texinfo: Mention that -R can be used for -rpath. - -Sun Feb 18 15:05:17 1996 Ian Lance Taylor <ian@cygnus.com> - - * configure.host: Check for 'do not mix' from native linker before - trying to use -rpath. - -Thu Feb 15 13:58:06 1996 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Remove explicit substitution of CFLAGS; autoconf - does it anyhow. - * configure: Rebuild. - * Makefile.in (LDFLAGS): Set to @LDFLAGS@. - - * configure.in: Call AC_PROG_CC before configure.host. - * configure: Rebuild. - * configure.host: Remove go32 host, since it should no longer be - necessary. Don't set CC for romp host. - - * scripttempl/elf.sc: Don't skip a page in virtual memory space if - the text segment ends exactly on a page boundary. - - * configure.in: Substitute RPATH_ENVVAR. - * configure: Rebuild. - * configure.host: Set RPATH_ENVVAR. - * Makefile.in (RPATH_ENVVAR): New variable. - (check): Use $(RPATH_ENVVAR) rather than LD_LIBRARY_PATH. - -Wed Feb 14 18:49:01 1996 Alan Modra <alan@spri.levels.unisa.edu.au> - - * configure.in: Redo emulation handling so that each emulation - searches the correct tool directory, based on the target alias. - For example, "configure --enable-targets=m68k-coff i386-linux" - will search /usr/local/i386-linux/lib for linux and - /usr/local/m68k-coff/lib for m68k-coff. - * configure: Rebuild. - * configure.tgt: Add special tdir settings for Linux. - * Makefile.in: Add @TDIRS@. Pass "$(tdir_EMUL)" to ${GENSCRIPTS} - for each eEMUL.c target. - * genscripts.sh: Accept specific alias as 9th argument, and use it - in LIB_PATH. - -Wed Feb 14 16:38:36 1996 Martin Anantharaman <martin@mail.imech.uni-duisburg.de> - - * ldlang.c (lang_set_startof): Don't do anything for a - relocateable link. - - * ldgram.y (mri_script_file): Call mri_draw_tree. - * mri.c (mri_draw_tree): Make globally visible. Don't bother to - create memory regions. - (mri_load): Don't call mri_draw_tree. - * mri.h (mri_draw_tree): Declare. - - * configure.tgt (m68*-*-psos): New target. - * emulparams/m68kpsos.sh: New file. - * scripttempl/psos.sc: New file. - * Makefile.in (ALL_EMULATIONS): Add em68kpsos.o. - (em68kpsos.c): New target. - -Wed Feb 14 11:09:25 1996 Ian Lance Taylor <ian@cygnus.com> - - * configure.tgt (*-*-ieee*): New target; use vanilla. - - * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Strip - `:foo' from ${ARCH}. - -Tue Feb 13 15:58:58 1996 Bryan Ford <baford@snake.cs.utah.edu> - - * scripttempl/i386msdos.sc: Don't pad the .text section. Put - .rodata in .data. - -Tue Feb 13 14:04:19 1996 Ian Lance Taylor <ian@cygnus.com> - - * configure.host: Set HDLFLAGS for *-*-hpux with --enable-shared. - - * emultempl/elf32.em (gld${EMULATION_NAME}_stat_needed): Warn if - it looks like we might be linking in two different versions of the - same shared library. Based on a patch from H J Lu <hjl@zoom.com>. - -Thu Feb 8 19:25:54 1996 Ian Lance Taylor <ian@cygnus.com> - - * ldlang.c (lang_size_sections): Increment the section size when a - padding statement is encountered. - -Wed Feb 7 14:01:33 1996 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Look for --enable-shared. Change the value of - BFDLIB when linking against a shared library on SunOS. - * configure: Rebuild. - * configure.host: If using a shared BFD library, try to pass a - reasonable -rpath option when linking. - * Makefile.in (BFDLIB): Set to @BFDLIB@. - -Tue Feb 6 12:29:14 1996 Doug Evans <dje@charmed.cygnus.com> - - * emulparams/elf64_sparc.sh (ARCH): Change to `sparc:v9'. - * emultempl/generic.em: Strip `:foo' from ${ARCH}. - -Mon Feb 5 16:25:30 1996 Ian Lance Taylor <ian@cygnus.com> - - Support for building bfd and opcodes as shared libraries, based on - patches from Alan Modra <alan@spri.levels.unisa.edu.au>: - * configure.in (HLDFLAGS): New substitution. - * configure: Rebuild. - * configure.host: Set HLDFLAGS on SunOS. - * Makefile.in (HLDFLAGS): New variable. - (BFDDEP): New variable. - (BFDLIB): Change to -L../bfd -lbfd. - ($(LD_PROG)): Depend upon $(BFDDEP) rathern than $(BFDLIB). Use - $(HLDFLAGS) in link. - (check): Set LD_LIBRARY_PATH in the environment. - -Fri Feb 2 19:26:25 1996 Michael Meissner <meissner@wogglebug.tiac.net> - - * scripttempl/elfppc.sc (.sdata2, .sbss2): Put .sdata2 and .sbss - in the read-only section, not read/write unless we are making a - shared library. - (.debug*): Add dwarf debug sections. - (.rela.{sdata*,sbss*}): Add sections. - -Fri Feb 2 16:50:21 1996 Ian Lance Taylor <ian@cygnus.com> - - * configure: Regenerate. - -Thu Feb 1 10:50:46 1996 Ian Lance Taylor <ian@cygnus.com> - - * emulparams/elf_i386.sh (TEXT_START_ADDR): Change to 0x8048000, - for SVR4 compatibility. - - * ldexp.c (exp_fold_tree): Correct handling of ABSOLUTE. - -Wed Jan 31 17:30:19 1996 Steve Chamberlain <sac@slash.cygnus.com> - - * configure.tgt (i[345]86-*-cygwin32, powerpcle-*-cygwin32): New. - * emultempl/pe.em (definfo init): Make the default stack reserve - of a PPC larger. - -Wed Jan 31 14:34:23 1996 Richard Henderson <rth@tamu.edu> - - * configure.tgt (m68*-apple-aux*): New target. - * emulparams/m68kaux.sh: New file. - * scripttempl/m68kaux.sc: New file. - * Makefile.in (ALL_EMULATIONS): Add em68kaux.o. - (em68kaux.c): New target. - -Tue Jan 30 13:18:56 1996 Ian Lance Taylor <ian@cygnus.com> - - * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Ignore - -bnoentry, since the right thing tends to happen anyhow. - -Mon Jan 29 12:29:26 1996 Ian Lance Taylor <ian@cygnus.com> - - * ld.texinfo, ld.1: Document -export-dynamic. - -Fri Jan 26 11:11:55 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * emultempl/sunos.em: Check for native compile by comparing - ${target} and ${host}. - -Thu Jan 25 16:46:58 1996 James G. Smith <jsmith@cygnus.co.uk> - - * emulparams/{elf32b4300.sh, elf32l4300.sh}: Changed - TEXT_START_ADDR to allow use on IDT and PMON systems. - -Wed Jan 24 20:59:40 1996 Steve Chamberlain <sac@slash.cygnus.com> - - * emultempl/pe.em (gld_${EMULATION_NAME}_parse_args): - correct spelling. - -Wed Jan 24 16:59:19 1996 Doug Evans <dje@charmed.cygnus.com> - - * configure.tgt (sparc64-*-solaris2*): New configuration. - (sparc64-*-aout*): Renamed from sparc64*. - -Mon Jan 22 13:01:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * Makefile.in (GENSCRIPTS): Pass @host@ @target@ @target_alias@. - * genscripts.sh: Set host, target and target_alias variables. - Check for native compile by comparing ${target} and ${host}. - * emultempl/elf32.em: Likewise. - * scripttempl/elfmips.sc: Test ${target}, not ${target_alias}. - -Mon Jan 22 11:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com> - - * scripttempl/elfppc.sc: Refine eabi support to better support - .sdata, .sdata2, .sbss, etc. sections. - -Tue Jan 16 15:16:58 1996 Ian Lance Taylor <ian@cygnus.com> - - * ldgram.y (%union): Add phdr field. - (phdr): Use phdr_qualifiers rather than opt_hdrs and opt_at. - (phdr_qualifiers): New nonterminal. Add support for FLAGS. - (opt_hdrs, hdr): Remove. - (phdr_val): New nonterminal. - * ldlang.c (lang_new_phdr): Replace hdrs parameter with filehdr - and phdrs parameters. Add flags parameter. - (lang_record_phdrs): Update for changes to lang_phdr. Pass flags - to bfd_record_phdr. - * ldlang.h (struct lang_phdr): Replace hdrs field with filehdr and - phdrs fields. Add flags field. - (LANG_PHDR_FILEHDR, LANG_PHDR_PHDRS): Remove. - (lang_new_phdr): Update declaration. - * ld.texinfo: Document FLAGS. - -Mon Jan 15 15:07:19 1996 Ian Lance Taylor <ian@cygnus.com> - - * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): - Don't make a shared library because of an undefined reference to - __GLOBAL_OFFSET_TABLE_. - - Add some Irix 5 support, mostly from Kazumoto Kojima - <kkojima@info.kanagawa-u.ac.jp>: - * emulparams/elf32bmip.sh (SCRIPT_NAME): Change to elfmips. - (SHLIB_TEXT_START_ADDR): Define. - (OTHER_GOT_SYMBOLS): Define. - (OTHER_READWRITE_SECTIONS): Remove initialization of _gp. - (EXECUTABLE_SYMBOLS): Don't define. - (DYNAMIC_LINK): Don't define. - * emulparams/elf32lmip.sh: Same changes as elf32bmip.sh. - * scripttempl/elfmips.sc: New file. - * configure.host (mips*-dec-bsd*): Change mips to mips*. - (mips*-sgi-irix4*): Likewise. - (mips*-sgi-irix5*): New entry. - * Makefile.in (eelf32bmip.c): Depend upon elfmips.sc rather than - elf.sc. - (eelf32lmip.c): Likewise. - -Sat Jan 13 09:41:43 1996 Michael Meissner <meissner@tiktok.cygnus.com> - - * scripttempl/elfppc.sc: Remove support for .rel.* sections. Add - .rela.got.neg section. - -Fri Jan 12 14:56:19 1996 Ian Lance Taylor <ian@cygnus.com> - - * scripttempl/sh.sc: Only build constructors when CONSTRUCTING. - - * ldmisc.c: Include <stdarg.h> rather than <varargs.h> if - ANSI_PROTOTYPES is defined. Remove special handling of - WINDOWS_NT. Various indendation fixes. - (vfinfo): Change fmt parameter to const char *. - (info_msg): Write <stdarg.h> version. - (einfo, minfo, finfo): Likewise. - (info_assert): Change file parameter to const char *. - * ldmisc.h (einfo, minfo, info_msg): If ANSI_PROTOTYPES is - defined, use a real prototype. - (info_assert): Change first parameter to be const char *. - -Fri Jan 12 13:29:55 1996 Michael Meissner <meissner@tiktok.cygnus.com> - - * scripttempl/elfppc.sc: Add support for .sdata2/.sbss2, etc. Add - in old support that 2.7.2 needs, but the current compiler does - not. - - * Makefile.in (eelf32{,l}ppc.c): Fix up dependencies to use the - correct Linker script template. - - * emulparams/elf32{,l}ppc.sh (TEXT_START_ADDR): Set to 0x40000, - not 0x400000. - (DATA_ADDR,NONPAGED_TEXT_START_ADDR): Delete. - -Tue Jan 9 15:53:02 1996 Ian Lance Taylor <ian@cygnus.com> - - * scripttempl/alpha.sc: Put .rconst right after .rdata. - -Fri Jan 5 14:07:45 1996 Steve Chamberlain <sac@slash.cygnus.com> - - * emultempl/pe.em (gld_${EMULATION_NAME}_before_allocation): - sort using right pointer. - -Fri Jan 5 12:25:47 1996 Michael Meissner <meissner@tiktok.cygnus.com> - - * scripttempl/elfppc.sc: Remove support for creating special - labels for eabi section begin/end here. The compiler now uses - crt{i,n}.o to create these symbols. - -Thu Jan 4 17:08:58 1996 Ian Lance Taylor <ian@cygnus.com> - - * configure.host: Change existing Linux HOSTING_CRT0 to be used - for a.out only, and put in appropriate HOSTING_CRT0 and - HOSTING_LIBS values for Linux ELF. - -Thu Jan 4 12:02:05 1996 Doug Evans <dje@canuck.cygnus.com> - - * scripttempl/h8300.sc: Use all 64K for ram. - * scripttempl/h8300h.sc: Define 256K ram size. - -Thu Dec 21 15:57:18 1995 Ian Lance Taylor <ian@cygnus.com> - - * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Pass - export_defines as true to bfd_xcoff_size_dynamic_sections if -unix - was used, regardless of whether -bE was used. - -Tue Dec 19 17:35:38 1995 Ian Lance Taylor <ian@cygnus.com> - - * emultempl/aix.em (gld${EMULATION_NAME}_after_open): Only set - relocateable before calling ldctor_build_sets if the output file - is in an XCOFF format. - -Fri Dec 15 16:34:36 1995 Ian Lance Taylor <ian@cygnus.com> - - * ldwrite.c (build_link_order): When handling a data statement, if - the endianness of the output file is unknown, use the endianness - of the input file. - -Tue Dec 12 13:55:41 1995 Stan Shebs <shebs@andros.cygnus.com> - - * mpw-config.in: Recognize mips-*-* as equivalent to - mips-idt-ecoff. - * mpw-eppcmacos.c: Rename to shorter mpw-eppcmac.c. - * mpw-ld.r: Add version resources. - (cfrg): Use symbolic instead of literal name for executable. - -Mon Dec 11 15:13:41 1995 Kim Knuttila <krk@cygnus.com> - - * scripttempl/ppcpe.sc (FINI): Moved the .reloc section. - -Wed Dec 6 14:33:50 1995 Doug Evans <dje@canuck.cygnus.com> - - * ldlang.c (print_statement{,s}): Delete duplicate prototype. - (print_statement_list): Renamed from print_statement. All callers - updated. - (print_statement): New function to print just one statement. - (print_{data,reloc,padding}_statement): Don't crash if - output_section == NULL. - (dprint_statement): New function. - - * emultempl/pe.em (gld_${EMULATION_NAME}_before_allocation): Fix - call to sort_sections. - -Wed Dec 6 14:59:06 1995 Ian Lance Taylor <ian@cygnus.com> - - * emultempl/aix.em (unix_ld): New static variable. - (gld${EMULATION_NAME}_parse_args): Handle -unix. - (gld${EMULATION_NAME}_before_allocation): If unix_ld, pass - gc as false and export_defineds as true to size_dynamic_sections. - - * ldexp.c (exp_fold_tree): Permit assignments to dot in the final - phase if the current section is abs_output_section. - - -Tue Dec 5 09:49:39 1995 Doug Evans <dje@canuck.cygnus.com> - - * emultempl/pe.em (gld_${EMULATION_NAME}_before_allocation): Fix call - to sort_sections. - -Fri Dec 1 16:48:36 1995 Ian Lance Taylor <ian@cygnus.com> - - * ldgram.y (PHDRS): New token. - (ifile_p1): Accept phdrs. - (section): Accept phdr_opt at the end of the section definition. - (phdr_op): New nonterminal. - (phdrs, phdr_list, phdr, phdr_type, opt_hdrs, hdr): Likewise. - * ldlex.l: Accept PHDRS. - * ldlang.h (struct lang_output_section_phdr_list): Define. - (lang_output_section_statement_type): Add phdrs field. - (struct lang_phdr): Define. - (LANG_PHDR_FILEHDR, LANG_PHDR_PHDRS): Define. - (lang_new_phdr): Declare. - * ldlang.c (lang_phdr_list): New static variable. - (lang_output_section_statement_lookup): Initialize phdrs field. - (lang_process): Call lang_record_phdrs. - (lang_new_phdr): New function. - (lang_section_in_phdr): New function. - (lang_record_phdrs): New static function. - * ld.texinfo: Document PHDRS. - -Thu Nov 30 13:14:30 1995 Kim Knuttila <krk@cygnus.com> - - * scripttempl/ppcpe.sc: Moved .edata into its own section to - expose it. - -Thu Nov 30 11:32:34 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de> - - * configure.host (m68*-motorola-sysv): Define HOSTING_CRT0 and - HOSTING_LIBS for testing. - (m88*-motorola-sysv3): Define HOSTING_CRT0 and HOSTING_LIBS for - testing. - -Tue Nov 28 12:14:53 1995 Ian Lance Taylor <ian@cygnus.com> - - * lexsup.c (parse_args): Set config.dynamic_link to false for -N - and -n. - -Mon Nov 27 13:12:09 1995 Ian Lance Taylor <ian@cygnus.com> - - * configure: Rebuild with autoconf 2.7. - -Fri Nov 24 18:35:35 1995 Doug Evans <dje@canuck.cygnus.com> - - * scripttempl/pe.sc: Two .junk's is too much junk. - -Tue Nov 21 16:14:32 1995 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Use BFD_NEED_DECLARATION. - * acconfig.h: Put NEED_DECLARATION_FREE in @TOP@ section. - * configure, config.in: Rebuild with autoconf 2.6. - - * ldmain.c (constructor_callback): Don't warn about BFD_RELOC_CTOR - being unsupported if this is not a relocateable link and the input - BFD supports it, since ldctor_build_sets can cope with that case. - -Fri Nov 17 16:23:15 1995 Stan Shebs <shebs@andros.cygnus.com> - - * configure.tgt (powerpc-*-macos*): New target. - * emulparams/ppcmacos.sh: New file, PowerMac emulation. - * Makefile.in (ALL_EMULATIONS): Add eppcmacos.o. - (eppcmacos.c): New target. - * mpw-eppcmacos.c: Update. - * mpw-make.sed: Edit out attempts to use {GENSCRIPTS}. - -Fri Nov 17 10:37:27 1995 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in (CC_FOR_TARGET): Use @host@ and @target@, not - $(host_canonical) and $(target_canonical). - (CXX_FOR_TARGET): Likewise. - -Thu Nov 16 11:23:42 1995 Doug Evans <dje@canuck.cygnus.com> - - * scripttempl/pe.sc (.endjunk): Move definition of `end' to here - so the malloc heap begins at a sane place. - -Thu Nov 16 03:09:32 1995 Ken Raeburn <raeburn@cygnus.com> - - Version 2.6 released. - * ldver.c (ldversion): Update to 2.6. - - * Makefile.in (mostlyclean): Delete ldemul-list.h here, but not - $(GENERATED_*FILES), since they need to be retained by distclean. - (maintainer-clean, realclean): Delete them here. - -Tue Nov 14 17:08:06 1995 Ian Lance Taylor <ian@cygnus.com> - - * emultempl/pe.em (gld_${EMULATION_NAME}_parse_args): Open the - base file with FOPEN_WB, not "w". - - * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Use the - environment variable LD_RUN_PATH if neither -rpath nor -rpath-link - were used. - (gld${EMULATION_NAME}_before_allocation): Use the environment - variable LD_RUN_PATH if -rpath was not used. - * ld.texinfo, ld.1: Document LD_RUN_PATH. - -Thu Nov 9 13:09:29 1995 Ian Lance Taylor <ian@cygnus.com> - - * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Recognize - -bl and -bloadmap options. - - * ldfile.c (ldfile_try_open_bfd): If bfd_error_invalid_target, - report a better error. - - * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Add - new local variable special_sections, and pass it to - size_dynamic_sections. Look through the results, and move the - sections around in the mapping so that they are defined correctly. - -Wed Nov 8 11:40:59 1995 Ian Lance Taylor <ian@cygnus.com> - - * ldemul.c (ldemul_default_target): Cast getenv return value. - -Tue Nov 7 11:15:36 1995 Kim Knuttila <krk@cygnus.com> - - * emulparams/ppcpe.sh (ARCH): New file for PowerPC Portable - Executable support. - * scripttempl/ppcpe.sc: New file for PowerPC Portable Executable - support. - - * configure.tgt (targ_extra_emuls): Added powerpcle-pe target. - * Makefile.in (ALL_EMULATIONS): Added eppcpe.o target. - - * emultempl/pe.em (TARGET_IS_ppcpe): file tailoring macro - (gld_$_before_allocation): added hooks for toc construction based - on the above macro. - -Tue Nov 7 11:47:23 1995 Ian Lance Taylor <ian@cygnus.com> - - * ld.texinfo: The linker does not use _main as an entry point. - -Tue Nov 7 11:46:11 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de> - - * scripttempl/m88kbcs.sc (.data): Calculate next boundary modulo - 0x2000 not 0x200. - -Mon Nov 6 10:59:21 1995 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Add test for whether free must be declared. - * sysdep.h: Declare free if necessary. Include "ansidecl.h". - * acconfig.h: Explain NEED_DECLARATION_FREE. - * configure, config.in: Rebuild. - - * lexsup.c (parse_args): Take B:: out of shortopts. - -Sun Nov 5 03:08:28 1995 Ken Raeburn <raeburn@cygnus.com> - - * emulparams/i386nbsd.sh (EXECUTABLE_SYMBOLS): Set __DYNAMIC to 0 - for now, as with m68k4kbsd, until shared library support gets - done. - - * configure.host: For i386 BSD variants, crt0.o lives in - /usr/lib. (True for NetBSD at least, unconfirmed for others.) - -Wed Nov 1 15:42:45 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de> - - * Makefile.in (ALL_EMULATIONS): Add edelta68.o. - (edelta68.c): New target. - * configure.tgt (m68*-motorola-sysv*): New target. - * emulparams/delta68.sh: New file. - * scripttempl/delta68.sc: New file. - - * scripttempl/m88kbcs.sc: Handle .init and .fini. Change section - addresses. - -Wed Nov 1 11:41:56 1995 Ian Lance Taylor <ian@cygnus.com> - - * ldgram.y (mri_script_command): Accept ',' as well as '=' in - ALIGN and ALIGNMOD statements. - - * emultempl/aix.em: Include ldgram.h. - (gld${EMULATION_NAME}_parse_args): Handle -pD and -pT, as used on - AIX 4.1. - * Makefile.in ($(EMULATION_OFILES)): Depend upon ldgram.h. - -Tue Oct 31 18:22:24 1995 David Mosberger-Tang <davidm@azstarnet.com> - - * configure.host (alpha-*-linux*): New host. - * configure.tgt (alpha-*-linux*): New target. - -Tue Oct 31 12:36:52 1995 Ian Lance Taylor <ian@cygnus.com> - - * emultempl/aix.em (export_files): Remove. - (import_files): Make static. - (struct export_symbol_list): Define. - (export_symbols): New static variable. - (gld${EMULATION_NAME}_parse_args): Handle an initial -b option - correctly. Call read_file for an export file. - (gld${EMULATION_NAME}_before_allocation): Call - bfd_xcoff_export_symbol for each export symbol, rather than - calling read_file for each export file. - (gld${EMULATION_NAME}_read_file): For an export file, make the - exported symbols undefined, and store them on the export_symbols - list. - -Sat Oct 28 00:10:03 1995 steve chamberlain <sac@slash.cygnus.com> - - * emultempl/pe.em (gld_${EMULATION_NAME}_parse_args): - Don't hang if last option is unrecognised. - (gld_${EMULATION_NAME}_set_symbols): Insert created - symbols into ABS output section. - -Fri Oct 27 18:03:17 1995 Niklas Hallqvist <niklas@appli.se> - - * Makefile.in (ALL_EMULATIONS): Added support for the NetBSD - m68k4k arch. - (em68k4knbsd.c): New rule. - - * configure.tgt: Added support for the NetBSD m68k4k arch. - - * genscripts.sh, ldint.texinfo, - emulparams/{a29k,armaoutb,armaoutl,coff_sparc,ebmon29k,gld960, - gld960coff,go32,h8300,h8300h,h8500,h8500b,h8500c,h8500m,h8500s, - hp300bsd,hp3hpux,hppaelf.sh,i386aout,i386bsd,i386coff,i386go32, - i386linux,i386lynx,i386nbsd,lnk960,m68kaout,m68kcoff,m68klynx, - m88kbcs,mipsbig,mipsbsd,mipsidt,mipsidtl,mipslit,news,ns32knbsd, - pc532machaout,riscix,sa29200,sh,shl,sparclynx,sparcnbsd, - st2000,sun3,sun4,vanilla,vax,vsta,w65,z8001,z8002}.sh: Changed - PAGE_SIZE to TARGET_PAGE_SIZE. - - * emulparams/m68knbsd.h: Ditto. - (TEXT_START_ADDR, NONPAGED_TEXT_START_ADDR): We have 8K pagesize. - (EXECUTABLE_SYMBOLS): Hardcode __DYNAMIC to zero for the time - being. - - * emulparams/m68k4knbsd.sh: New file. - - * scripttempl/aout.sc: Expand EXECUTABLE_SYMBOLS if relocating. - -Fri Oct 27 17:59:09 1995 Ian Lance Taylor <ian@cygnus.com> - - * emultempl/aix.em: Include ldctor.h. - (gld${EMULATION_NAME}_after_open): New static function. - (gld${EMULATION_NAME}_before_allocation): Call find_relocs. - (gld${EMULATION_NAME}_find_relocs): New static function. - (gld${EMULATION_NAME}_find_exp_assignment): New static function. - (ld_${EMULATION_NAME}_emulation): Use new after_open function. - * scripttempl/aix.sc: Use CONSTRUCTORS in .data. - * ldctor.c (struct set_info): Move definition into ldctor.h. - (struct set_element): Likewise. - (sets): Make non-static. - (ldctor_add_set_entry): Add name parameter. Save it in the new - set element. - (ldctor_build_sets): Avoid being called twice. Pass set element - name to lang_add_reloc. - * ldctor.h (struct set_info): Move definition here from ldctor.c. - (struct set_element): Likewise. Add new field name. - (sets): Declare. - (ldctor_add_set_entry): Declare new name parameter. - * ldwrite.c (build_link_order): Don't insist that either name or - section be NULL in a lang_reloc_statement. - * ldmain.c (add_to_set): Pass NULL to ldctor_add_new_set_entry for - new name parameter. - (constructor_callback): Pass name to ldctor_add_new_set_entry for - new name parameter. - - * ldmisc.c (demangle): Fix indentation. Remove a leading period. - -Thu Oct 26 22:22:49 1995 Stan Shebs <shebs@andros.cygnus.com> - - * mpw-config.in: Add PowerMac target support, generate config.h. - * mac-ld.r: New file, Mac resources. - * mpw-make.sed: New file, edits Makefile.in into MPW syntax. - * mpw-make.in: Remove. - * mpw-eppcmacos.c: Prebuilt version of PowerMac linking script. - -Thu Oct 26 14:11:26 1995 Ian Lance Taylor <ian@cygnus.com> - - * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Treat - -static as a synonym for -bnso. - - * scripttempl/aix.sc: Move special symbols inside sections. - Always start .data at 0. - -Wed Oct 25 11:52:12 1995 Per Bothner <bothner@kalessin.cygnus.com> - - * Makefile.in (diststuff): Also make info. - (maintainer-clean realclean): Also delete *.info*. - -Wed Oct 25 11:27:25 1995 Ian Lance Taylor <ian@cygnus.com> - - * emultempl/aix.em: Add support for various AIX linker options, - for AIX import and export files, and for AIX shared objects. - * scripttempl/aix.sc: Add .pad. Put .ds just before the TOC. - - * ldmain.c (main): Initialize new field link_info.static_link. - - * ldmain.c (add_keepsyms_file): Add \n at end of einfo calls. - (constructor_callback): Likewise. - * ldmisc.c (vfinfo): Likewise. - * ldwrite.c (build_link_order): Likewise. - - * ld.texinfo: The MRI ALIGN directive is supported. - -Mon Oct 23 11:46:43 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk> - - * emulparams/elf32vr4300.sh: Deleted. - * emulparams/elf32vr4300el.sh: Deleted. - * emulparams/elf32b4300.sh: Added. - * emulparams/elf32l4300.sh: Added. - * configure.tgt, Makefile.in: Updated the build to use the - new 8.3 unique names. - -Thu Oct 19 17:41:46 1995 Ian Lance Taylor <ian@cygnus.com> - - * ldlang.c (entry_symbol): Make non-static. - * ldlang.h (entry_symbol): Declare. - - * ldlex.l: Treat PROVIDE as a keyword in expression state. - -Wed Oct 18 17:34:06 1995 steve chamberlain <sac@slash.cygnus.com> - - * scripttempl/pe.sc (.bss): Move to be after .text - -Tue Oct 17 12:22:05 1995 Ian Lance Taylor <ian@cygnus.com> - - * emultempl/sunos.em (gld${EMULATION_NAME}_find_exp_assignment): - Search trinary.cond rather than searching trinary.lhs twice. From - linli@ihp.PHys.ethz.CH. - - * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Move - directory searching code into gld${EMULATION_NAME}_search_dir. - (gld${EMULATION_NAME}_search_dir): New static function, extracted - from gld${EMULATION_NAME}_find_so. - (global_needed, global_found): New static variables. - (gld${EMULATION_NAME}_after_open): New static function. - (gld${EMULATION_NAME}_search_needed): New static function. - (gld${EMULATION_NAME}_try_needed): New static function. - (gld${EMULATION_NAME}_check_needed): New static function. - (ld_${EMULATION_NAME}_emulation): Use new after_open function. - * ld.texinfo, ld.1: Mention -rpath-link on SunOS. - - * Makefile.in (eelf32ppc.c): Depend upon elf32.em, not generic.em. - (eelf32lppc.c): Likewise. - * emulparams/elf32lppc.sh (TEMPLATE_NAME): Define as elf32. - (GENERATE_SHLIB_SCRIPT): Define as yes. - -Mon Oct 16 19:11:13 1995 Ian Lance Taylor <ian@cygnus.com> - - * emultempl/elf32.em: Struct bfd_elf_link_needed_list is now named - bfd_link_needed-list; make appropriate changes. - - * configure.tgt (powerpc-*-aix*): New target; use aixppc. - (rs6000-*-aix*): New target; use aixrs6. - * emulparams/aixppc.sh, emulparams/aixrs6.sh: New files. - * emultempl/aix.em: New file. - * scripttempl/aix.sc: New file. - * Makefile.in (ALL_EMULATIONS): Add eaixppc.o and eaixrs6.o. - (eaixppc.c, eaixrs6.c): New targets. - -Fri Oct 13 14:00:37 1995 steve chamberlain <sac@slash.cygnus.com> - - * scripttemp/pe.sc (.reloc): Move to the end. - -Tue Oct 10 17:53:22 1995 Ian Lance Taylor <ian@cygnus.com> - - * ldlang.c (lang_finish): Don't try to use an entry_symbol from a - section which was not linked into the final output. - -Tue Oct 10 10:17:22 1995 steve chamberlain <sac@slash.cygnus.com> - - * emultempl/pe.em (gld_${EMULATION_NAME}_parse_args): Fix - fatal typos. - -Tue Oct 10 01:01:51 1995 Ian Lance Taylor <ian@cygnus.com> - - * ld.h (args_type): Add rpath_link field. - * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search for - required dependencies in rpath_link path. Only search - LD_LIBRARY_PATH when configured native. - * lexsup.c (parse_args): Recognize -rpath-link. - * ld.1, ld.texinfo: Document -rpath-link. - -Sat Oct 7 17:07:17 1995 Ian Lance Taylor <ian@cygnus.com> - - * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't - bother searching for needed libraries unless doing a final link. - -Fri Oct 6 16:26:16 1995 Ken Raeburn <raeburn@cygnus.com> - - Mon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * ld/ld.1: Fix formatting bugs. - -Wed Oct 4 17:37:46 1995 Ian Lance Taylor <ian@cygnus.com> - - * ldexp.c (exp_get_abs_int): Return bfd_vma, not int. - * ldexp.h (exp_get_abs_int): Update declaration. - * ldlang.c (print_output_section_statement): Use fprintf_vma to - print return value of exp_get_abs_int. - -Mon Oct 2 13:56:09 1995 Ian Lance Taylor <ian@cygnus.com> - - * emultempl/elf32.em (global_stat): New file static variable. - (gld${EMULATION_NAME}_try_needed): Call stat_needed to make sure - that the file has not already been included under another name. - (gld${EMULATION_NAME}_stat_needed): New static function. - -Fri Sep 29 12:00:18 1995 Doug Evans <dje@deneb.cygnus.com> - - * scripttempl/armcoff.sc: Start .text at 0x8000. - Start .data at 0x40000. - -Fri Sep 29 11:09:46 1995 Ian Lance Taylor <ian@cygnus.com> - - * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): If - command_line.rpath is set, use it, rather than the -L options, to - build the rules section. - * ld.texinfo: Document this use of -rpath. - - * lexsup.c (parse_args): Don't set link_info.shared for -assert - pure-text. Pass true, not 1, to lang_add_entry. - * emultempl/sunos.em (find_assign): New static variable. - (found_assign): New static variable. - (gld${EMULATION_NAME}_before_allocation): Rename local h to hdyn. - If not a relocateable link, and no start symbol was specified on - the command line, and there are any undefined symbols, set - link_info.shared. If link_info.shared is set, set the address of - the .text section to 0x20. - (gld${EMULATION_NAME}_find_assignment): Rename from - gld${EMULATION_NAME}_find_statement_assignment. If find_assign is - set, then just set found_assign based on whether an assignment is - found to find_assign. - (gld${EMULATION_NAME}_get_script): Don't use a special script when - producing a shared library. - * emulparams/sun4.sh (GENERATE_SHLIB_SCRIPT): Remove. - * scripttempl/aout.sc: Remove CREATE_SHLIB tests. - * ldlang.c (entry_from_cmdline): New global variable. - (lang_add_entry): Change cmdline parameter from int to boolean. - Use global entry_from_cmdline rather than function static - from_cmdline. - * ldlang.h (entry_from_cmdline): Declare. - (lang_add_entry): Change declaration of second parameter from int - to boolean. - * ldgram.y: Pass false, not 0, to lang_add_entry. - -Thu Sep 28 12:34:13 1995 Ian Lance Taylor <ian@cygnus.com> - - * ld.h (parsing_defsym): Declare. - * ldlex.h (lex_string): Declare. - * ldlex.l (lex_string): Define. - * lexsup.c (parsing_defsym): Define. - (parse_args): In OPTION_DEFSYM case, set lex_string before calling - lex_redirect, and clear it after calling yyparse. Set - parsing_defsym around call to yyparse. - * ldmain.c (main): Set lex_string before calling lex_redirect, and - clear it after calling yyparse. - * ldmisc.c (vfinfo): For %S, handle --defsym arguments and built - in linker scripts correctly. - - * scripttempl/sparccoff.sc: Add .ctors/.dtors handling like other - COFF targets, allowing for the leading underscore used on SPARC - COFF. - - * lexsup.c (parse_args): Handle -assert. - * emulparams/sun4.sh (GENERATE_SHLIB_SCRIPT): Define. - * emultempl/sunos.em (gld${EMULATION_NAME}_get_script): Use the - shared library script when appropriate. - * scripttempl/aout.sc: If CREATE_SHLIB is set, start the .text - section at SIZEOF_HEADERS. - -Thu Sep 28 01:40:37 1995 Doug Evans <dje@deneb.cygnus.com> - - * Makefile.in (earmcoff.c): Build. - * configure.tgt (arm-*-coff): New target - * emulparms/armcoff.sh: New file. - * scripttempl/armcoff.sc: New file. - -Tue Sep 26 10:59:32 1995 Ian Lance Taylor <ian@cygnus.com> - - * scripttempl/i386coff.sc: Remove .data2; no longer needed. - -Fri Sep 22 18:09:02 1995 Ian Lance Taylor <ian@cygnus.com> - - * ldfile.c (ldfile_set_output_arch): Make arch const. - -Thu Sep 21 17:55:24 1995 Michael Meissner <meissner@tiktok.cygnus.com> - - * scripttempl/elfppc.sc: Correctly locate __bss_start at the - beginning of the .bss area, not at the end of data. Add - __sbss_{start,end} symbols. - -Wed Sep 20 12:29:36 1995 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in (CC_FOR_TARGET): Quote $(program_transform_name). - (CXX_FOR_TARGET, install): Likewise. - -Mon Sep 18 14:53:22 1995 Ian Lance Taylor <ian@cygnus.com> - - Based on patches by Alan Modra <alan@spri.levels.unisa.edu.au>: - * Makefile.in (CC_FOR_TARGET): Remove brokensed stuff. - (CXX_FOR_TARGET): Likewise. - (install): Likewise. - (GENERATED_HFILES): Remove config.h. - (.dep): Depend upon config.h. - -Mon Sep 18 14:39:38 1995 Arne H. Juul <arnej@pvv.unit.no> - - * configure.tgt (mips*-dec-netbsd*): New target. - -Fri Sep 15 20:01:52 1995 Ken Raeburn <raeburn@cygnus.com> - - * configure.host (m88*-*-dgux*): Fix another shell syntax error. - -Fri Sep 15 23:28:05 1995 Andrew Cagney <cagney@highland.com.au> - - * configure.host (i[345]86-*-bsd*): Fix shell syntax error. - -Thu Sep 12 12:50:49 1995 steve chamberlain <sac@slash.cygnus.com> - - * scripttemp/pe.sc: Allow both spellings of .ctors/.dtors. - Start .text section on the right boundary. Always align - stabs. - -Tue Sep 12 12:24:17 1995 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in (maintainer-clean): New target. - - * ldmain.c (struct warning_callback_info): Define. - (warning_callback): Add new parameter symbol. Call - warning_find_reloc to try to find the section and VMA. - (warning_find_reloc): New static function. - * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): - Pass NULL as symbol parameter to warning callback. - - * ld.texinfo: Clarify -L option. - - * ldlang.c (lang_one_common): Add cast to avoid warning. - (topower): Likewise. Also, reindent. - * ldwrite.c (clone_section): Change i to unsigned int. - * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): Add - cast to avoid warning. - -Fri Sep 8 16:32:43 1995 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in (config.status): Depend upon configure.tgt. - - * ldemul.h (ldemul_set_symbols): Declare. - (ldemul_parse_args): Declare. - * ldemul.c (ldemul_parse_args): Fix indentation. - - * configure.in: Call AC_HEADER_DIRENT. - * configure, config.in: Rebuild. - * emultempl/sunos.em: Use autoconf recommend mechanism to define - DIR and struct dirent. - - * configure.tgt (mips*-*-bsd*): New case. - - * configure.host (i[345]86-sequent-ptx* | i[345]86-sequent-sysv*) - New case. - * configure.tgt (i[345]86-*-ptx*): New case. - -Thu Sep 7 10:48:26 1995 Ian Lance Taylor <ian@cygnus.com> - - * config.in: Rename from config.h.in. - * configure.in: Call AC_CONFIG_HEADER with config.h:config.in. - Check for config.h:config.in when creating stamp-h. - * configure: Rebuild. - * Makefile.in (stamp-h): Depend upon config.in rather than - config.h.in. Set CONFIG_HEADERS to config.h:config.in when - calling config.status. - - * Makefile.in (distclean): Remove config.h and stamp-h. - - * configure.host (sparc-*-sunos64*): Remove. - * ldlang.c (lang_map): Check BFD64, not HOST_64_BIT. - - * ldexp.c (exp_fold_tree): Don't warn about moving the location - counter backward in the absolute section. - -Wed Sep 6 14:42:11 1995 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Rewrite to use autoconf. - * configure.host: New file. - * configure.tgt: New file. - * aclocal.m4: New file. - * configure: New file, built by autoconf. - * acconfig.h: New file. - * config.h.in: New file, built by autoheader. - * sysdep.h: New file. - * ld.h: Incorporate old contents of config.h. - * config.h: Remove. - * Makefile.in: Various changes for new configure script. Also: - (CC_FOR_BUILD): Remove. - (ldmain.o): Don't bother to ensure that EMUL is non-empty. - (dep.sed): Use @SRCDIR@, not @srcdir@. - * dep-in.sed: Use @SRCDIR@, not @srcdir@. - * genscripts.sh: Create ldscripts if it does not exist. - * ldemul.c, lexsup.c, mpw-emipsidt.c: Don't include "config.h". - * mpw-esh.c, emultemp/*.em: Likewise. - * ldmain.c: Likewise. Include <ctype.h>. Don't try to set - HAVE_SBRK here. - * config/*.mt, config/*.mh: Remove. - -Tue Sep 5 14:55:24 1995 Ken Raeburn <raeburn@cygnus.com> - - * configure.in: Treat ns32k-pc532-ux* like ns32k-pc532-mach*, and - ns32k-pc532-lites* like ns32k-pc532-netbsd*. From Ian Dall. - -Fri Sep 1 22:29:52 1995 Doug Evans <dje@canuck.cygnus.com> - - * scripttempl/pe.sc: Fix typo in spelling of .ctors/.dtors. - -Fri Sep 1 13:13:29 1995 Ian Lance Taylor <ian@cygnus.com> - - * ldmain.c (warning_callback): Add abfd, section, and address - parameters. - * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): - Change call to warning accordingly. - - * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): If not - relocateable and not shared, put .gnu.warning.SYMBOL sections into - the .text section. - -Fri Sep 1 08:35:16 1995 James G. Smith <jsmith@beauty.cygnus.com> - - * configure.in: Added mips*vr4300-idt-elf* and - mips*vr4300el-idt-elf* targets. - * Makefile.in: Added eelf32vr4300* targets. - * emulparams/{elf32vr4300.sh, elf32vr4300el.sh}: Added. - * config/{mips-vr4300.mt, mips-vr4300el.mt}: Added. - -Fri Sep 1 10:51:45 1995 Ian Lance Taylor <ian@cygnus.com> - - * scripttempl/a29k.sc: Fix to be reasonable. From Brendan Kehoe - <brendan@cygnus.com>. - -Thu Aug 31 16:37:07 1995 steve chamberlain <sac@slash.cygnus.com> - - * ldemul.c (ldemul_parse_args): New. - * ldemul.h (ld_emulation_xfer_struct): Add parse_args. - * lexsup.c (all pe stuff): Moved into pe.em - (parse_args): Call emulation arg parser. - * emultempl/pe.em (parse_args): handle PE specfic args. - -Thu Aug 31 17:01:37 1995 Ian Lance Taylor <ian@cygnus.com> - - * ldlang.c (lang_memory_region_lookup): Don't use the first region - as the default region. Create a new region instead. - -Tue Aug 29 14:21:41 1995 steve chamberlain <sac@slash.cygnus.com> - - * ldemul.c (ldemul_set_symbols): New function. - * ldemul.h (ld_emulation_xfer_struct): Add set_symbols. - * ldmain.c (main): Add call to ldemul_set_symbols. - * lexsup.c (set_pe_value): New args. - (set_pe_name): New. - (parse_args): Cope with new set_pe_value args. - * emultempl/pe.em (set_symbols): New function. - (ld_emulation_xfer_struct): Add set_symbols. - * scripttempl/pe.sc: Use new symbols. - -Thu Aug 24 18:12:18 1995 Ian Lance Taylor (ian@cygnus.com) - - * lexsup.c (parse_args): Don't call set_default_dirlist for -O. - For -Y, ignore a leading `P,', and only call set_default_dirlist - after processing all the other arguments. - -Tue Aug 22 07:36:58 1995 steve chamberlain <sac@slash.cygnus.com> - - * scripttempl/pe.sc: Keep .edata, don't base stabs at 0. - * emulparams/armpe.sh: Run PE script. - -Mon Aug 21 18:30:42 1995 steve chamberlain <sac@slash.cygnus.com> - - * ldmain.c (main): Remove PE stuff. - * lexsup.c (options): Load more PE options. - (set_pe_value): New function. - -Thu Aug 17 13:35:49 1995 steve chamberlain <sac@slash.cygnus.com> - - - * emultempl/{armpe.sc, i386pe.sc}: Deleted. - * emultempl/pe.sc: New file performs generic PE support and sorts - archive members. - * emulparams/{armpe.sh,i386pe.sh}: Use new file. - * scripttempl/{armpe.sc, i386pe.sc}: Deleted - * scripttempl/pe.sc: New. - * Makefile.in: Use new files. - -Thu Aug 17 14:46:34 1995 Doug Evans <dje@canuck.cygnus.com> - - * scripttempl/h8500s.sc (.rdata): All data must go in data segment. - (.strings,.ctors,.dtors): Likewise. - -Wed Aug 16 11:38:59 1995 steve chamberlain <sac@slash.cygnus.com> - - * scripttempl/armpe.sc: Always start code at 0x401000, even - if -r. - * ldwrite.c (strdup): New extern declaration. - * ldgram.y (atype): New rule to clarify type parsing. - * ldlang.c (init_os): Remove commented out code. - (lang_size_sections): Set SEC_ALLOC and SEC_LOAD bits - unless told not to by the link script. - -Wed Aug 16 11:45:11 1995 Ian Lance Taylor <ian@cygnus.com> - - * ldlang.c (lang_set_startof): New static function. - (lang_process): Call it. - - * ldgram.y: Tweak casesymlist to avoid bison errors. - - * lexsup.c (parse_args): Accept -h as a synonym for --soname, for - Solaris compatibility. - -Tue Aug 15 17:31:16 1995 Ian Lance Taylor <ian@cygnus.com> - - * ldgram.y (YYDEBUG): If not defined, define as 1. - (CASE, EXTERN, START): New tokens. - (mri_script_command): Handle CASE, EXTERN, INCLUDE, START. - (casesymlist): New nonterminal. - (extern_name_list): New nonterminal. - * ldlex.l: Accept lower case trailing base specifiers. Don't - ignore the first digit when the base is a suffix. Accept many - EXPRESSION state tokens in MRI state. Support MRI continuation - lines and MRI semicolon comments. Accept all MRI keywords in - lower case. Add CASE, EXTERN, and START MRI keywords. - -Tue Aug 8 19:14:58 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com> - - * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Use xmalloc - instead of alloca. - -Tue Aug 8 15:24:05 1995 J.T. Conklin <jtc@rtl.cygnus.com> - - * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Don't use - $r/../gcc/xgcc unless it is present. - -Thu Aug 3 11:56:22 1995 Ian Lance Taylor <ian@cygnus.com> - - * scripttempl/m68kcoff.sc: Only put .ctors and .dtors in .text - when CONSTRUCTING. - * scripttempl/m68klynx.sc: Likewise. - * scripttempl/nw.sc: Likewise. - * scripttempl/sa29200.sc: Likewise. - * scripttempl/sparclynx.sc: Likewise. - -Fri Jul 28 12:02:23 1995 steve chamberlain <sac@slash.cygnus.com> - - * emulparams/{z8001.sh, z8002.sh}: Fix typo. - -Thu Jul 27 21:06:21 1995 Ken Raeburn <raeburn@cygnus.com> - - * configure.in (i[345]86-*-linuxoldld): Treat like linuxaout*. - -Thu Jul 27 15:26:28 1995 steve chamberlain <sac@slash.cygnus.com> - - * scripttempl/i386pe.sc: Cope with constructors. - * scripttempl/z8ksim.sc: Deleted. - * scripttempl/z8000.sc: Resurrected as this, but - can handle z8001 and z8002 formats. - * emulparams/z8ksim.sh: Deleted. - * emulparams/{z8001.sh, z8002.sh}: New files. - * config/z8ksim.mt: Deleted - * config/z8k-coff.mt: New, generates both emulations. - -Tue Jul 25 14:53:02 1995 Ian Lance Taylor <ian@cygnus.com> - - * ldmisc.c (vfinfo): In %C and %D case, always print the BFD using - %B, in case it is in an archive. - -Mon Jul 24 15:23:39 1995 Ian Lance Taylor <ian@cygnus.com> - - * ldlang.c (lang_process): Call reset_memory_regions for each - relaxation pass. - -Fri Jul 21 22:49:44 1995 Michael Meissner <meissner@cygnus.com> - - * scripttempl/elfppc.sc: Add support for .sdata, .sbss, and - _SDA_BASE. - -Thu Jul 20 16:26:55 1995 Ken Raeburn <raeburn@cygnus.com> - - * ldmain.c (constructor_callback): Allocate set_name in stack - frame, rather than always calling alloca with a fixed size. - -Wed Jul 19 16:21:43 1995 Doug Evans <dje@canuck.cygnus.com> - - * emulparams/armpe.sh (OUTPUT_FORMAT): Change to pei-arm-little. - (LITTLE_OUTPUT_FORMAT, BIG_OUTPUT_FORMAT): Define. - -Mon Jul 17 13:57:00 1995 Ian Lance Taylor <ian@cygnus.com> - - * ldwrite.c (clone_section): Set the alignment of the clone - section to that of the section being cloned. - - * ldwrite.c (split_sections): Don't split the first input section - into a new output section. - -Sat Jul 15 00:26:35 1995 Michael Meissner <meissner@cygnus.com> - - * emulparams/elf32ppc.sh (TEMPLATE_NAME): Define as elf32. - (GENERATE_SHLIB_SCRIPT): Define as yes. - -Fri Jul 14 12:11:46 1995 Ian Lance Taylor <ian@cygnus.com> - - * emultempl/mipsecoff.em (check_sections): Use %P, not %F. - - * ldver.c (help): Update list of options to match currently - supported list. - -Thu Jul 13 13:52:10 1995 Ian Lance Taylor <ian@cygnus.com> - - * emultempl/lnk960.em (ld_lnk960_emulation): Initialize - after_open field. - - * ldexp.c (exp_intop): Don't cast stat_alloc arg to bfd_size_type; - it takes a size_t anyhow. - (exp_binop): Likewise. - (exp_trinop): Likewise. - (exp_unop): Likewise. - (exp_nameop): Likewise. - (exp_assop): Likewise. - * ldlang.c (lang_memory_region_lookup): Likewise. - (init_os): Likewise. - (ldlang_add_undef): Likewise. - (insert_pad): Likewise. - * ldfile.c (ldfile_add_arch): Don't cast xmalloc arg to - bfd_size_type. - - * Makefile.in (ALL_EMULATIONS): It's earmaoutb.o, not earmoutb.o. - -Wed Jul 12 11:32:22 1995 Ian Lance Taylor <ian@cygnus.com> - - * ldemul.h (ldemul_open_dynamic_archive): Add search parameter to - declaration. - (ld_emulation_xfer_type): Add search parameter to - open_dynamic_archive entry point. - * ldemul.c (ldemul_open_dynamic_archive): Add search parameter. - * ldfile.c (ldfile_try_open_bfd): Rename from try_open_bfd, and - make non-static. Change all callers to use new name. - (ldfile_open_file_search): Make static. If entry is dynamic, call - ldemul_open_dynamic_archive. - (ldfile_open_file): Don't call ldemul_open_dynamic_archive. - * ldfile.h (ldfile_open_file_search): Don't declare. - (ldfile_try_open_bfd): Declare. - * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive): - Accept search parameter. Don't search for a library, just look in - a single place. - * emultempl/linux.em (gld${EMULATION_NAME}_open_dynamic_archive): - Likewise. - -Tue Jul 11 16:44:21 1995 Ian Lance Taylor <ian@cygnus.com> - - * ldmain.c (set_scripts_dir): Don't base script directory on - current directory. - -Tue Jul 11 12:29:02 1995 Rick Sladkey <jrs@world.std.com> - - * ldmisc.c (vfinfo): Don't print the line number if it isn't - meaningful. - -Mon Jul 10 13:38:28 1995 Ian Lance Taylor <ian@cygnus.com> - - * ld.h (ld_config_type): Add field warn_constructors. - * ldmain.c (add_to_set): Warn if config.warn_constructors. - (constructor_callback): Likewise. - * lexsup.c (parse_args): Handle -warn-constructors. - * ld.texinfo, ld.1: Document -warn-constructors. - - * emultempl/elf32.em (gld${EMULATION_NAME}_check_needed): Don't - get confused by directory names if we searched for the file. - - Based on patches from H.J. Lu <hjl@nynexst.com>: - * ldlang.h (lang_input_statement_type): Add new field dynamic. - * ldlang.c (new_afile): Set dynamic from config.dynamic_link. - * ldfile.c: Include bfdlink.h. - (ldfile_open_file): Check dynamic field of entry, not global - dynamic_link field. Don't do a dynamic search when doing a - relocateable link. - * ldmain.c (main): Don't warn about dynamic_link for a - relocateable link. - * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Skip file if - dynamic is false. - (gld${EMULATION_NAME}_create_output_section_statements): Always - loop over input files. - * Makefile.in: Rebuild dependencies. - - * ld.texinfo, ld.1: Document -Bstatic, -Bdynamic, -Bshared, and - -shared. - -Mon Jul 10 13:29:43 1995 Eric Youngdale <eric@aib.com> - - * ldmain.c (main): Set link_info.symbolic to false. - * lexsup.c (parse_args): Handle -Bsymbolic. - -Wed Jul 5 00:12:11 1995 Fred Fish (fnf@cygnus.com) - - * ldmain.c (HAVE_SBRK): Define for everything except - specific systems that are known to not support sbrk. - (main): Use HAVE_SBRK to decide whether or not to use sbrk. - -Tue Jul 4 12:55:48 1995 Ian Lance Taylor <ian@cygnus.com> - - * emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment): - Handle etree_provide. - - * emultempl/elf32.em (global_needed): New static variable. - (global_found): Likewise. - (gld${EMULATION_NAME}_after_open): New static function. - (gld${EMULATION_NAME}_search_needed): Likewise. - (gld${EMULATION_NAME}_try_needed): Likewise. - (gld${EMULATION_NAME}_check_needed): Likewise. - (ld_${EMULATION_NAME}_emulation): Replace after_open_default with - gld${EMULATION_NAME}_after_open. - -Mon Jul 3 14:26:37 1995 Steve Chamberlain <sac@slash.cygnus.com> - - * configure.in (i386-*-win32): New target. - -Mon Jul 3 14:39:22 1995 Ian Lance Taylor <ian@cygnus.com> - - * lexsup.c (parse_args): Let -G either set the small data size or - be equivalent to --shared, depending on the next argument. Accept - and ignore -z for Solaris compatibility. - -Sun Jul 2 17:52:34 1995 Ian Lance Taylor <ian@cygnus.com> - - * lexsup.c (parse_args): Cast fopen result to PTR before storing - it in link_info.base_file. Fix indentation. - -Wed Jun 28 17:11:25 1995 Steve Chamberlain <sac@slash.cygnus.com> - - * ldmain.c (main): Always initialize PE info in link_info. - * lexsup.c (OPTION_BASE_FILE): New option. - (parse_args): Handle new option. - * emulparams/armpe.sh: Output pei. - * emultempl/i386pe.em: Add newline to end. - * scripttempl/armpe.sc: Change output and quote the $s. - * scripttempl/i386pe.sc: Change output and quote the $s. - -Thu Jun 22 19:55:41 1995 Ken Raeburn <raeburn@cujo.cygnus.com> - - Sun May 7 11:53:41 MDT 1995 Bryan Ford <baford@cs.utah.edu> - - * configure.in (i386-*-msdos*, i386-*-moss*): New targets. - * Makefile.in (ALL_EMULATIONS): Added i386msdos.o. - (i386msdos.o): New target. - * config/i386-msdos.mt: Created. - * emulparams/i386msdos.sh: Created. - * scripttempl/i386msdos.sc: Created. - -Thu Jun 22 15:06:35 1995 Michael Meissner <meissner@tiktok.cygnus.com> - - * scripttempl/elfppc.sc (.fixup): Add support for a .fixup section - that contains pointers to be relocated. - -Tue Jun 20 17:47:20 1995 Stan Shebs <shebs@andros.cygnus.com> - - * mpw-esh.c: New file, modified for MPW from esh.c. - * scripttempl/sh.sc: Reformatted to simplify MPWification, - use *() to concat stab sections instead of []. - -Thu Jun 15 08:48:16 1995 Steve Chamberlain <sac@slash.cygnus.com> - - * scripttempl/armpe.sc: Add constructor support. - -Tue Jun 13 09:11:20 1995 Steve Chamberlain <sac@slash.cygnus.com> - - * ldlang.c (lang_size_sections): Any section with a DATA - statement has contents. - -Sun Jun 11 15:20:46 1995 Ken Raeburn <raeburn@cujo.cygnus.com> - - * emulparams/m68kelf.sh (NOP): Define. - (DYNAMIC_LINK): Don't define. - (TEXT_START_ADDR): Set to 0x80000000; the extra 0x100 for headers - will come from the linker script. - -Thu Jun 8 14:17:33 1995 Steve Chamberlain <sac@slash.cygnus.com> - - * emulparams/armpe.sh, scriptempl/armpe.sc: Add end and stack. - -Mon Jun 5 02:16:24 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com> - - * configure.in (i[345]86-*-gnu*): Use GNU elf config. - -Thu May 25 11:49:28 1995 Michael Meissner <meissner@tiktok.cygnus.com> - - From Andrew Cagney <cagney@highland.com.au> - * Makefile.in: Fixup more gotchas from renaming elf32ppcle to - elf32lppc. - -Wed May 24 11:23:21 1995 Steve Chamberlain <sac@slash.cygnus.com> - - Add support for ARM-PE. - * Makefile.in (ALL_EMULATIONS): Add armpe.o - * configure.in: Recognize armpe. - * config/arm-pe.mt: New file. - * emulparams/armpe.sh: New file. - * scripttempl/armpe.sc: New file. - - -Mon May 22 15:19:26 1995 Doug Evans <dje@chestnut.cygnus.com> - - * configure.in (h8300h-*-hms): Deleted - * config/cf-h8300h.mt: Deleted. - -Thu May 18 04:26:10 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com> - - Wed May 10 14:28:16 1995 Richard Earnshaw (rearnsha@armltd.co.uk) - - From David Taylor (dtaylor@armltd.co.uk) - * Makefile.in (ALL_EMULATIONS): Add earmout[lb].o - * configure.in: Recognize arm{,e[lb]-*-aout. - * config/arm[lb]-aout.mt: New files. - * emulparams/armaout[lb].sh: New files. - * scripttempl/armaout.sc: New file. - -Tue May 16 18:27:11 1995 Michael Meissner <meissner@tiktok.cygnus.com> - - * config/ppcle-elf32.mt (EMUL): Use elf32lppc, not elf32ppcle, to - be unique in 8 characters for DOS. - - * emulparams/elf32lppc.sh: New file, renamed from elf32ppcle.sh. - * emulparams/elf32ppcle.sh: Deleted. - -Fri May 12 11:03:55 1995 Steve Chamberlain <sac@slash.cygnus.com> - Tom Griest <griest@cs.yale.edu> - - Initial support for PE executables (eg NT, win32) - - * Makefile.in (configure.in, ei386pe): Add support. - * ldmain.c (main): Initialize PE argument info. - * ldwrite.c (print_file_stuff): Don't print out .drectve - and .debug section info. - * lexsup.c (set_subsystem, set_stack_heap, OPTION_HEAP, - OPTION_SUBSYSTEM, parse_argsm set_subsystem, set_stack_heap): - Handle new arguments. - * config/i386-pe.mt, emultempl/i386pe.em, scripttempl/i386pe.sc: - New files - -Wed May 10 18:37:59 1995 Stu Grossman (grossman@andros.cygnus.com) - - * scripttempl/hppaelf.sc: Remove .PARISC.unwind section from text - segment. This allows ld -r to preserve unwind sections. - -Tue May 9 17:19:57 1995 Michael Meissner <meissner@tiktok.cygnus.com> - - * configure.in: Add little endian PowerPC support. - - * Makefile.in (ALL_EMULATIONS): Add eelf32ppcle.o. - (eelf32ppcle.c): Support for little endian PowerPC. - - * config/ppcle-elf32.mt: New file for little endian PowerPC. - * emulparams/elf32ppcle.sh: Ditto. - -Wed May 3 12:56:32 1995 Ken Raeburn <raeburn@cujo.cygnus.com> - - * ldlang.c (print_output_section_statement): Check - subsection_alignment, instead of checking section_alignment twice. - Noticed by Alan Modra <alan@spri.levels.unisa.edu.au>. - -Tue May 2 16:36:07 1995 Jeff Law (law@snake.cs.utah.edu) - - * configure.in (hppa*-*-lites*): Handle like hppa*-*-*elf*. - -Mon Apr 24 19:21:02 1995 Michael Meissner <meissner@cygnus.com> - - * ldwrite.c (ldwrite): Before doing anything, reset the error - code. If bfd_final_link returns an error, but the error code is - unset, don't issue an extra message. Assume a correct error - message was already set. - -Fri Apr 14 16:31:24 1995 Ken Raeburn <raeburn@cujo.cygnus.com> - - * Makefile.in (ALL_EMULATIONS): Added em68kelf.o. - (em68kelf.o): New target. - * config/m68k-elf.mt, emulparams/m68kelf.sh: New files. - * configure.in: Use them for m68*-*-elf. - -Tue Apr 11 12:02:03 1995 Stan Shebs <shebs@andros.cygnus.com> - - Merge in support for Mac MPW as a host. - (Old change descriptions retained for informational value.) - - * mpw-config.in (i386-unknown-aout): Change to i386-unknown-go32. - (i386-unknown-coff): Remove. - (sh-hitachi-hms): New target. - (emulation_ofiles): Set correctly for each target. - (version, TDEFINES): Add to makefile fragment. - * mpw-make.in (BISON): Use byacc instead of bison. - (em_*.c): Replace with e*.c everywhere. - (ldgram.h): Separate action from ldgram.c generation. - (LD_PROG): Depend on Version.r. - (Version.r): generate from version info. - * mpw-emipsidt.c: New file, modified for MPW from emipsidt.c. - - * mpw-config.in (m68k-apple-macos, ppc-apple-macos, - i386-unknown-aout, i386-unknown-coff): New targets. - (m68k-aout, m68k-coff): Remove targets. - (mk.tmp): Add definition of EMUL. - - * mpw-config.in (emulname): Set based on target. - (ldemul-list.h): Construct. - * mpw-make.in (install-only): New target. - (install): Depend on install-only. - - * mpw-make.in (bindir): Fix pathname. - (install): Move here from mpw-build.in. - - * mpw-config.in: New file, MPW configuration fragment. - * mpw-make.in: New file, MPW makefile fragment. - (This file is semi-automatically generated from Makefile.in.) - * ldfile.c (slash): If MPW, set to `:'. - * ldlex.l (TRUE_FALSE_ALREADY_DEFINED): If MPW, set this to - prevent redefinition errors. - -Tue Apr 4 17:55:18 1995 Steve Chamberlain <sac@bang.hack.com> - - * ldwrite.c (clone_section): Align clone sections on even - boundaries. - -Thu Mar 30 14:32:26 1995 H.J. Lu (hjl@nynexst.com) - - * configure.in: Change linux to default to elf. Using - i[345]86-*-linuxaout will build a linker which defaults to a.out. - * config/i386-laout.mt: Rename from old config/i386-linux.mt. - * config/i386-linux.mt: Rename from old config/i386-lelf.mt. - * config/i386-lelf.mt: Remove. - -Thu Mar 30 13:09:46 1995 Ian Lance Taylor <ian@cygnus.com> - - * ldmain.c (main): If opening the map file fails, call - bfd_set_error before calling einfo. - - * ld.texinfo, ld.1: Document the -no-keep-memory option. - -Mon Mar 27 11:10:08 1995 Ian Lance Taylor <ian@cygnus.com> - - * ldmain.c (main): Revert patch of March 10, since the SVR4 linker - does mark shared libraries as executable. - -Tue Mar 21 15:15:38 1995 Ian Lance Taylor <ian@cygnus.com> - - * ldlang.c (lang_common): Change power to int. Pass larger values - before smaller values. - (lang_one_common): Treat info as int *. Don't bother to check for - last value, since it is now zero. - -Sat Mar 18 01:49:14 1995 Ian Lance Taylor <ian@cygnus.com> - - * ldlang.c (load_symbols): An empty archive is OK. - -Fri Mar 17 16:15:31 1995 Stan Shebs <shebs@andros.cygnus.com> - - * ldmain.c (progress.h): Include. - (main): Call START_PROGRESS and END_PROGRESS. - -Thu Mar 16 17:17:33 1995 Michael Meissner <meissner@cygnus.com> - - * scripttempl/elfppc.sc: Move _GOT2_END_ after the .ctors and - .dtors sections, so that these pointers get relocated also. - Define the symbols __{C,D}TOR_{LIST,END}__ to mark the beginning - and end of the constructors/destructors. - -Thu Mar 16 13:59:14 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> - - * ldlang.c (load_symbols): If whole_archive is true and ENTRY - describes an archive, call bfd_link_add_symbols on each member. - * ldmain.c (whole_archive): New variable. - (main): Initialize it to false. - * ldmain.h: Declare whole_archive. - * lexsup.c (parse_args): Grok --whole-archive switch. - * ld.texinfo, ld.1: Document --whole-archive. - -Thu Mar 16 11:38:48 1995 Ian Lance Taylor <ian@cygnus.com> - - * genscripts.sh (EMULATION_NAME): Set LIB_PATH to empty when not - using the default emulation. - - * config/dgux.mh (HOSTING_EMU): Use -m rather than trying to set - LDEMULATION. - * config/hppaelf.mh (HOSTING_EMU): Likewise. - -Tue Mar 14 12:28:03 1995 Ian Lance Taylor <ian@cygnus.com> - - * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Set force_maj - for -lc.N. From H.J. Lu <hjl@nynexst.com>. - -Fri Mar 10 14:43:48 1995 Ian Lance Taylor <ian@cygnus.com> - - * ldmain.c (main): Don't set EXEC_P if link_info.shared is set. - - * ldlex.l: Return -lFILENAME as the token LNAME. - * ldgram.y: Add token LNAME. - (input_list): Treat LNAME like NAME, but pass it to - lang_add_input_file as lang_input_file_is_l_enum. - * ld.texinfo: Document using -lFILENAME in INPUT. - -Thu Mar 9 12:21:51 1995 Michael Meissner <meissner@tiktok.cygnus.com> - - * ldlang.c (lang_check): If the architectures are compatible call - bfd_merge_private_bfd_data to let the backend do additional - checks. - -Tue Mar 7 00:53:08 1995 Ian Lance Taylor <ian@cygnus.com> - - * ldemul.c (ldemul_choose_mode): If emulation not recognized, list - all supported emulations. - -Mon Mar 6 14:03:50 1995 Ian Lance Taylor <ian@cygnus.com> - - * ldemul.c (ldemul_list_emulations): New function. - * ldemul.h (ldemul_list_emulations): Declare. - * ldver.c (help): List supported targets and emulations. - -Fri Mar 3 15:40:36 1995 Doug Evans <dje@canuck.cygnus.com> - - * scripttempl/elf.sc (.debug): Relocate to address 0. - (.debug_srcinfo, .debug_aranges, .debug_pubnames, - .debug_sfnames, .line): Likewise. - -Fri Mar 3 17:07:14 1995 Ian Lance Taylor <ian@cygnus.com> - - * emultempl/elf32.em (hold_rel): New static variable. - (gld${EMULATION_NAME}_place_orphan): Place readonly sections with - contents whose names begin with ".rel" after hold_rel. Remove the - assertion which checked for unplaced .rel sections. Don't try to - sort the section into place if place->bfd_section is NULL. - (gld${EMULATION_NAME}_place_section): Set hold_rel to the first - section beginning with ".rel". - -Thu Mar 2 14:34:43 1995 Ian Lance Taylor <ian@cygnus.com> - - Doc note from pierre@phi.la.tce.com (Pierre Willard): - * ld.texinfo: -X and -x work even if -s or -S are not specified. - * ld.1: Similar change. - -Wed Mar 1 13:51:16 1995 Ian Lance Taylor <ian@cygnus.com> - - * emulparams/gld960coff.sh (COFF_CTORS): Define. - * scripttempl/i960.sc: Use COFF_CTORS if CONSTRUCTING. - -Tue Feb 28 12:42:56 1995 Ian Lance Taylor <ian@cygnus.com> - - * configure.in (i[345]86-*-linuxelf*): New target. Use i386-lelf. - (i[345]86-*-gnuelf*): New target. Use i386-gelf. - * config/i386-lelf.mt: New file. - * config/i386-gelf.mt: New file. - -Tue Feb 28 10:27:54 1995 Rob Savoye <rob@darkstar.cygnus.com> - - * configure.in: Match on mips-ecoff, and default to the IDT - configuration. - -Fri Feb 17 13:06:47 1995 Michael Meissner <meissner@cygnus.com> - - * scripttempl/elfppc.sc: Add support for .got1 and .got2 sections. - Offset _GLOBAL_OFFSET_TABLE_ 32768 from the start of the GOT area - to double the size of the table. - -Thu Feb 9 18:29:43 1995 Ken Raeburn <raeburn@cujo.cygnus.com> - - * Makefile.in (distclean): Do recursive deletion, since ldscripts - is a directory. - -Thu Feb 9 11:38:22 1995 Ian Lance Taylor <ian@cygnus.com> - - * ldmain.c (main): If trace_file_tries is true, and we are using - an internal linker script, print out the script. - * ldfile.c (try_open): Reindent function. Make the messages about - opening script files more informative. - - * lexsup.c (parse_args): For -V, call ldversion with 1, not 0. - * ld.texinfo, ld.1: Update accordingly. - -Wed Feb 8 17:34:45 1995 Ian Lance Taylor <ian@cygnus.com> - - * ldlang.c (lang_one_common): Adjust references to common symbol - information for new structure. - -Mon Feb 6 12:17:24 1995 Ian Lance Taylor <ian@cygnus.com> - - * ldmain.c (undefined_symbol): Handle section being NULL. - - * ldctor.c (ldctor_build_sets): Handle bfd_link_hash_defweak. - * ldexp.c (fold_name): Likewise. - * ldlang.c (print_one_symbol): Likewise. - (lang_finish): Likewise. - * ldmain.c (multiple_common): Likewise. - * ldwrite.c (print_symbol): Likewise. Also, bfd_link_hash_weak - renamed to bfd_link_hash_undefweak. - - * scripttempl/alpha.sc: Set address of .data section correctly - when -n or -N is used. Patch from Chris G Demetriou - <Chris_G_Demetriou@LAGAVULIN.PDL.CS.CMU.EDU>. - * scripttempl/mips.sc: Similar change. - -Tue Jan 31 16:20:52 1995 Doug Evans <dje@canuck.cygnus.com> - - * ldlang.c (lang_size_sections): Clarify error message when user - specified start addr conflicts with region. Fix resetting of - region pointer. - -Tue Jan 31 12:37:09 1995 Ian Lance Taylor <ian@cygnus.com> - - * ldexp.c (fold_name): In case NAME, permit an absolute symbol - in lang_allocating_phase_enum. - -Mon Jan 30 11:33:25 1995 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in (distclean): Depend upon clean. Don't bother to - remove files which will be removed by clean. From patch by - alan@SPRI.Levels.UniSA.Edu.Au (Alan Modra). - -Fri Jan 27 16:27:34 1995 Ian Lance Taylor <ian@cygnus.com> - - * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): For - a MIPS target, clobber the size of all but the first input - .reginfo section to be 0, so that lang_size_sections sets the - correct size for the output .reginfo section. - -Thu Jan 26 19:53:37 1995 Ian Lance Taylor <ian@cygnus.com> - - * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): - Remove unused variable is. - -Thu Jan 26 12:33:05 1995 Michael Meissner <meissner@tiktok.cygnus.com> - - * configure.in: Add support for powerpc-*-eabi. - - * scripttempl/elfppc.sc: New file for PowerPC embedded ABI - support. - - * emulparams/elf32ppc.sh (SCRIPT_NAME): Use elfppc.sc instead of - elf.sc, which defines some new symbols PowerPC elf needs. - -Tue Jan 24 10:32:15 1995 Ian Lance Taylor <ian@sanguine.cygnus.com> - - * ldctor.c (ldctor_add_set_entry): Don't dump core if a - constructor entry is in the absolute section. - -Mon Jan 23 13:58:13 1995 Ian Lance Taylor <ian@sanguine.cygnus.com> - - * configure.in (i[345]86-*-gnu*): Set ld_target to i386-gnu. - * config/i386-gnu.mt: New file. Include ELF support. - -Thu Jan 19 16:22:11 1995 Ian Lance Taylor <ian@sanguine.cygnus.com> - - * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): If - there are any input sections named .gnu.warning, treat them as - containing a warning message to be printed by the linker, and - clobber the size so that the message is not copied into the output - file. - * scripttempl/elf.sc: Put .gnu.warning sections into the .text - section. - -Sun Jan 15 16:45:00 1995 Steve Chamberlain <sac@splat> - - * configure.in (w65-*-*): New target. - * Makefile.in: Update. - * scripttempl/w65.sc: New. - * config/coff-w65.mt: New. - -Thu Jan 12 01:32:25 1995 Ian Lance Taylor <ian@tweedledumb.cygnus.com> - - * ldlang.c (lang_place_orphans): Don't ignore files with - just_syms_flag set. Instead, put all their sections in - bfd_abs_section_ptr, using the section VMA as the output_offset. - -Wed Jan 11 22:59:09 1995 Ken Raeburn <raeburn@cujo.cygnus.com> - - * ldctor.c (ldctor_build_sets): Don't use `const' with typedef - name `reloc_howto_type', since it's now defined to be const. - * ldlang.c (lang_add_reloc): Ditto. - * ldlang.h (lang_reloc_statement_type, lang_add_reloc): Ditto. - -Wed Jan 11 11:24:45 1995 Ian Lance Taylor <ian@sanguine.cygnus.com> - - * ldexp.c (fold_binary): Adding or subtracting an absolute value - to a relative value does not require forcing the relative value to - be absolute. Also, reindent function. - -Wed Dec 28 22:05:52 1994 Steve Chamberlain (sac@jonny.cygnus.com) - - * ldwrite.c (clone_section): Create a symbol with the - same name as the section. - -Mon Dec 19 14:02:13 1994 Steve Chamberlain (sac@jonny.cygnus.com) - - * ld.h (split_by_reloc, split_by_file): New flags. - * ldwrite.c (clone_section, split_sections): New functions. - * lexsup.c (parse_args): Understand new split options. - -Fri Dec 9 17:22:55 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> - - * scripttempl/elf.sc: Move .ctors and .dtors from .text segment to - .data segment. They must be writable when creating a shared - library. From H.J. Lu <hjl@nynexst.com>. - -Fri Dec 2 14:09:00 1994 Ian Lance Taylor <ian@rtl.cygnus.com> - - * emultempl/miposecoff.em: New file. - * emulparams/mipsidt.sh (TEMPLATE_NAME): Set to mipsecoff. - * emulparams/mipsidtl.sh (TEMPLATE_NAME): Likewise. - * scripttempl/mips.sc: Put .rel.sdata sections in .text, and - provide __runtime_reloc_start and __runtime_reloc_stop if they are - used. Align _fdata to a 16 byte boundary. - * Makefile.in (emipsidt.c): Depend upon mipsecoff.em rather than - generic.em. - (emipsidtl.c): Likewise. - (check): Pass CC_FOR_HOST and CFLAGS_FOR_HOST to runtest. - - * ld.h (args_type): Add new field embedded_relocs. - * ldemul.h (ldemul_after_open, after_open_default): Declare. - (ld_emulation_xfer_struct): Add new field after_open. - * ldemul.c (ldemul_after_open): New function. - (after_open_default): New function. - * ldlang.c (lang_process): Call ldemul_after_open. - * lexsup.c (parse_args): Handle --embedded-relocs. - * emultempl/elf32.em (ld_${EMULATION_NAME}_emulation): Initialize - new after_open field to after_open_default. - * emultempl/generic.em, emultempl/gld960.em: Likewise. - * emultempl/gld960c.em, emultempl/hppaelf.em: Likewise. - * emultempl/linux.em, emultempl/m88kbcs.em: Likewise. - * emultempl/sunos.em, emultempl/vanilla.em: Likewise. - * ld.texinfo, ld.1: Mention -embedded-relocs. - -Wed Nov 23 22:04:47 1994 Steve Chamberlain (sac@jonny.cygnus.com) - - * Makefile.in: Add eshl.o. - * config/coff-sh.mt: Add shl emulation. - -Tue Nov 22 11:55:37 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> - - * scripttempl/elf.sc: Fill .text section with NOPS. From Eric - Youngdale <eric@aib.com>. - -Thu Nov 17 14:39:48 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> - - Patches from pirker@eiunix.tuwien.ac.at (Martin Pirker). - * config/i386linux.mh: New file; set HOSTING_CRT0. - * genscripts.sh: Don't put ${libdir} in LIB_PATH if it is - /usr/lib, since that is already in LIB_PATH. - -Wed Nov 16 10:03:03 1994 Jeff Law (law@snake.cs.utah.edu) - - * scripttempl/hppaelf.sc (.text): Handle a use rdefined text start - address. - (.data, .bss): If "-N", then place the data/bss just after the end - of the .text section rather than at the default 0x40000000. - - * scripttempl/hppaelf.sc (.text): Place unwind descriptors in the - text segment. - -Sat Nov 12 15:55:56 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - Patches from Eric Youngdale <eric@aib.com>: - * ldlang.c (lang_finish): Don't warn if entry symbol not found - when generating a shared library. - * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Warn if - attempting to place an orphaned relocation section when generating - a dynamically linked object. - - * scripttempl/elf.sc: Add ENTRY(${ENTRY}), and default ${ENTRY} to - _start. - -Fri Nov 11 14:27:23 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> - - * ld.h (args_type): Add field export_dynamic. - * lexsup.c (parse_args): Recognize --export-dynamic. - * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): - Pass export_dynamic argument to bfd_elf32_size_dynamic_sections. - -Wed Nov 9 12:47:11 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> - - * ldlang.c (lang_one_common): Set SEC_ALLOC in any section where - we allocate common symbols. - -Tue Nov 8 17:50:43 1994 Eric Youngdale (eric@aib.com) - - * scripttempl/elf.sc: Add .rel.init, .rela.init, .rel.fini, and - .rela.fini to the list of .rel* sections. - -Tue Nov 8 17:47:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> - - * ldlang.c (load_symbols): Add new argument place. Only accept - linker scripts if place is not NULL. Put commands found in an - assumed linker script into place. - (lookup_name): Pass NULL as place argument to load_symbols. - (open_input_bfds): In lang_input_statement_enum case, pass a place - argument to load_symbols, and store any new statements after the - current one. - -Mon Nov 7 15:53:02 1994 Ken Raeburn <raeburn@cujo.cygnus.com> - - * ldver.c (ldversion): Bump to 2.5.3. - -Fri Nov 4 15:11:26 1994 Ken Raeburn <raeburn@cujo.cygnus.com> - - * Makefile.in (e*nbsd.c): Fix typo in dependencies. - -Thu Nov 3 19:35:44 1994 Ken Raeburn <raeburn@cujo.cygnus.com> - - * Makefile.in (check): Add missing "else true" clause. - - * emulparams/vax.sh (OUTPUT_FORMAT): Use "a.out". - - * scripttempl/go32coff.sc: Changes from DJ Delorie: Change default - entry point to "start". Align at end of each section to 0x200. - Start .text section 0x1000 later. Add _etext, _edata, _end - symbols. - -Wed Nov 2 12:17:49 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> - - * ldctor.c (ldctor_add_set_entry): Don't permit a set to be - composed of different object file formats. - (ldctor_build_sets): If the output format does not support the - reloc, and we are not generating a relocateable link, try getting - the reloc from the input format. - -Tue Nov 1 10:30:19 1994 J.T. Conklin (jtc@rtl.cygnus.com) - - * Makefile.in (ALL_EMULATIONS): Added em68knbsd.o. - (em68knbsd.c): New target. - - * config/m68k-nbsd.mt: New file. - * emulparams/m68knbsd.sh: New file. - * configure.in (m68*-*-netbsd*): Use above configs. - -Mon Oct 31 19:35:17 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> - - * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): If we find an - appropriately named static library, stop the search at that - directory. - -Wed Oct 26 13:59:12 1994 J.T. Conklin (jtc@phishhead.cygnus.com) - - * Makefile.in (ALL_EMULATIONS): Added ei386nbsd.o, ens32knbsd.o - and esparcnbsd.o; sorted entries. - (ei386nbsd.c,ens32knbsd.c,esparcnbsd.c): New targets. - - * config/netbsd532.mt: Removed. - * emulparams/netbsd532.sh: Removed. - - * config/{i386-nbsd.mt,ns32k-nbsd.mt,sparc-nbsd.mt}: New files. - * emulparams/{i386nbsd.sh,ns32knbsd.sh,sparcnbsd.sh}: New files. - * configure.in (i[345]86-*-netbsd*, ns32k-pc532-netbsd*, - sparc*-*-netbsd*): Use above configs. - -Tue Oct 25 11:47:10 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> - - * ldmain.c (multiple_common): One of the types may now be - bfd_link_hash_indirect. The old BFD argument may be NULL. - -Thu Oct 20 22:01:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * configure.in: Add * at the end of m68k-hp-hpux. - -Tue Oct 18 15:58:39 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> - - * ldlex.l: Cast assignment to yy_ch_buf field to char *, not to - YY_CHAR *. - -Mon Oct 17 14:53:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com) - - * scripttempl/nw.sc: Gather constructors and destructors and - define __CTOR__LIST__ and __DTOR_LIST__ appropriately. - -Fri Oct 14 14:35:38 1994 J.T. Conklin (jtc@rtl.cygnus.com) - - * Makefile.in (ALL_EMULATIONS): Add ei386nw.o and eppcnw.o. - (ei386nw.c, eppcnw.c): New targets. - - * config/{i386,ppc}-nw.mt, emulparams/{i386,ppc}nw.sh, - scripttempl/nw.sc: New files, for i386 and powerpc netware. - - * configure.in: Changed netware ld_target name to be {i386,ppc}-nw - instead of {i386,ppc}-elf. - - * configure.in (sparc*-*-netware): Removed. There is no such - thing anymore. - - * ldint.texinfo: Move misplaced `@end iftex'. - -Fri Oct 14 12:02:18 1994 Eric Youngdale (eric@aib.com) - - * scripttempl/elf.sc: Add .rel.ctors, .rela.ctors, .rel.dtors, and - .rela.dtors to the list of .rel* sections. - -Thu Oct 13 14:16:27 1994 Ken Raeburn <raeburn@cujo.cygnus.com> - - * ldver.c (ldversion): Update to version 2.5. - * Version 2.5 released. - - * configure.in (all_targets): Handle i386-linux*. - -Thu Oct 13 11:24:33 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> - - * scripttempl/aout.sc: Set _etext and __etext to ., not - ${DATA_ALIGNMENT}. This is compatible with SunOS, and, with luck, - will not break any other system. From Eric Valette - <ev@chorus.fr>. - -Wed Oct 12 16:22:58 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> - - * lexsup.c (parse_args): Change -V to be a synonym for -v. Add - --verbose to get the old -V behaviour. - * ld.1, ld.texinfo: Document this change. - -Tue Sep 27 14:56:20 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Remove - assertion, since it could fail with a user defined linker script. - - * ldexp.c (fold_name): For DEFINED case, don't try to look up the - name in the hash table during the first phase--the hash table does - not even exist at that point, much less have the right value. - - * Makefile.in (CC): Define. - (CXX): Move definition, change from g++ to gcc. - (EXPECT, RUNTEST): Copy definitions from top level Makefile.in. - (RUNTEST_CC, RUNTEST_CFLAGS): Remove. - (RUNTEST_CXX, RUNTEST_CXXFLAGS): Remove. - (CC_FOR_TARGET, CXX_FOR_TARGET): Copy from top level Makefile.in. - (.cc.o): Comment out. - (testdir): Remove. - (site.exp): Don't create testdir or set tmpdir. - (check): Run checks even if not running native. Use CC_FOR_TARGET - instead of RUNTEST_CC, and likewise for CXX. - (cdtest targets): Comment out. - * config/solaris2.mh (HOSTING_LIBS): Only mention crtend.o once. - * cdtest-bar.cc, cdtest-foo.cc, cdtest-foo.h: Remove. - * cdtest-main.cc, cdtest.exp: Remove. - -Mon Sep 26 11:40:30 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * emulparams/elf32bmip.sh: Rename from elf32mipb.sh to avoid DOS - file naming problems. - * emulparams/elf32lmip.sh: Rename from elf32mipl.sh. - * Makefile.in (ALL_EMULATIONS): Rename eelf32mipb.o to - eelf32bmip.o and eelf32mipl.o to eelf32lmip.o. - (eelf32bmip.c): Rename from eelf32mipb.c. Use elf32bmip.sh. - (eelf32lmip.c): Rename from eelf32mipl.c. Use elf32lmip.sh. - * config/mipsb-elf32.mt (EMUL): Use elf32bmip, not elf32mipb. - * config/mipsl-elf32.mt (EMUL): Use elf32lmip, not elf32mipl. - - * genscripts.sh: Always search /usr/local/TARGET/lib. - - * scripttempl/elf.sc: If -N is set, force DATA_ADDR to be ".". - -Fri Sep 23 15:05:49 1994 Ken Raeburn <raeburn@cujo.cygnus.com> - - * configure.in: Handle i386-bsdi* targets like i386-bsd. - -Fri Sep 23 00:06:59 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * lexsup.c (parse_args): Add support for -a for HP/UX - compatibility. - - * lexsup.c (parse_args): -c takes an argument. - -Tue Sep 20 14:35:27 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * ld.h (args_type): Add new field endian. - * lexsup.c (parse_args): Handle -EB and -EL by setting - command_line.endian. - * ldgram.y (ifile_p1): Accept OUTPUT_FORMAT with three arguments. - * ldlang.c (lang_add_output_format): Add arguments big and little. - If command_line.endian is set, use it to select big or little - rather than the default. Changed all callers. - * ldlang.h (lang_add_output_format): Update declaration. - * emulparams/elf32mipb.sh: Define BIG_OUTPUT_FORMAT and - LITTLE_OUTPUT_FORMAT. - * emulparams/elf32mipl.sh: Likewise. - * emulparams/mipsbig.sh: Likewise. - * emulparams/mipsbsd.sh: Likewise. - * emulparams/mipsidt.sh: Likewise. - * emulparams/mipsidtl.sh: Likewise. - * emulparams/mipslit.sh: Likewise. - * scripttempl/elf.sc: Define BIG_OUTPUT_FORMAT and - LITTLE_OUTPUT_FORMAT if not already defined. Pass them to - OUTPUT_FORMAT. - * scripttempl/mips.sc: Pass BIG_OUTPUT_FORMAT and - LITTLE_OUTPUT_FORMAT to OUTPUT_FORMAT. - * scripttempl/mipsbsd.sc: Likewise. - - * Makefile.in (ldgram.h): Make separate target from ldgram.c, - depending upon ldgram.c, so that a parallel make does not try to - build both at once. - - * configure.in (mips*el-elf*): New target. - * Makefile.in (ALL_EMULATIONS): Add eelf32mipb.o and eelf32mipl.o. - (eelf32mipl.c): New target. - - * config/mipsl-elf32.mt: New file. - * emulparams/elf32mipl.sh: New file. - -Fri Sep 16 12:16:20 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * ldmain.c (main): Rather than prohibiting ld -r -s, treat it as - ld -r -S -x. - -Thu Sep 15 13:05:44 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * ldmisc.c (vfinfo): Print BFD file name as well as file name - returned by find_nearest_line, in case the file name is something - unhelpful such as a .h file. Handle %u. - -Wed Sep 14 12:49:12 1994 Steve Chamberlain (sac@jonny.cygnus.com) - - * ldlang.c (lang_do_assignments): Make sure output statement - has an attached bfd_section before trying to dereference it. - -Wed Sep 14 12:48:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * ld.h (ld_config_type): Add new field warn_once. - * ldmain.c (undefined_symbol): Handle -warn-once. - * lexsup.c (parse_args): Recognize -warn-once. - * ld.texinfo (Options): Document -warn-once. - * ld.1: Likewise. - - * ldmisc.c (vfinfo): Handle %D as %C, but never print the function - name. For %C, print the function name on a separate line, to keep - the length of error messages under control. - * ldmain.c (multiple_definition): Use %D for ``first defined - here.'' - (undefined_symbol): Use %D for ``more undefined references - follow''. - - * ldmisc.c (multiple_warn): Remove; no longer used. - * ldmisc.h (multiple_warn): Don't declare. - -Tue Sep 13 20:47:58 1994 Steve Chamberlain (sac@jonny.cygnus.com) - - * ldlang.c (print_output_section_statement): Print all lines - to the map file. - -Tue Sep 13 16:30:11 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * ldlang.c (load_symbols): Check for archive before object. Use - bfd_check_format_matches, and, if ambiguous, print a list of - matching formats. If file format is not recognized, treat file as - a linker script. - * ldgram.y (yyerror): If assuming an object file is a script, - mention that. Tweak the format of the error messages. - * ldlex.l (lex_warn_invalid): If assuming an object is a script, - guess that this is not actually a script, and just report that the - file format was not recognized. - * ld.texinfo (Options): Admit that -( may be used more than once. - Add note that unrecognized object files are now treated as linker - scripts. - - * ldfile.c (ldfile_input_filename): Make const. - (ldfile_assumed_script): New variable. - (try_open): Change arguments types to const. - (ldfile_find_command_file): Likewise. - (ldfile_open_command_file): Likewise. Also, set lineno to 1. - * ldfile.h: Update declarations for ldfile.c changes. - * ldlex.l: Include <ctype.h>. - (file_name_stack): Change to be const char *. - (lineno_stack): New static variable. - (<<EOF>>): Set lineno as well as ldfile_input_filename. - (lex_push_file): Make name argument const. Initialize - lineno_stack entry. - (lex_redirect): Initialize lineno_stack entry. - (lex_warn_invalid): Handle non printable characters nicely. - * ldlex.h (lex_push_file): Declare second argument as const. - - * ldgram.y (ifile_p1): Recognize GROUP. - * ldlex.l: Recognize GROUP. - * ld.texinfo (Option Commands): Document GROUP. - -Mon Sep 12 17:04:27 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * config/m68klynx.mh: New file. - -Mon Sep 12 01:50:03 1994 Jeff Law (law@snake.cs.utah.edu) - - * emultempl/hppaelf.em: Add newlines to the error messages. - -Sat Sep 10 16:05:38 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * config/i386lynx.mh: New file. - * scripttempl/i386lynx.sc: Don't put .ctors and .dtors in .text - unless CONSTRUCTING. - -Thu Sep 8 13:25:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * emulparams/elf32mipb.sh (TEMPLATE_NAME): Define as elf32. - (GENERATE_SHLIB_SCRIPT): Define as yes. - (DYNAMIC_LINK): Define as false. - * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): - Initialize config.dynamic_link to DYNAMIC_LINK if it is defined. - (gld${EMULATION_NAME}_place_orphan): Reset stat_ptr at end. - * Makefile.in (eelf32mipb.c): Depend upon elf32.em rather than - generic.em. - -Thu Sep 8 16:30:37 1994 Steve Chamberlain (sac@jonny.cygnus.com) - - * scripttempl/h8500b.sc: Put rdata stuff into own segment. - -Thu Sep 8 13:25:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Don't define; - .got section is now explicitly handled in elf.sc. - -Wed Sep 7 13:08:34 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * scripttempl/alpha.sc: Redo script to set . outside of sections - and not bother to explicitly specify section addresses. - Explicitly place .sdata section. - -Tue Sep 6 23:51:45 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * scripttempl/m68kcoff.sc: Put .bss in data segment. - - * scripttempl/h8300.sc: Change .stab and .stabstr to use a VMA of - 0, and to only be marked as NOLOAD if relocating. - * scripttempl/h8500.sc, scripttempl/h8500b.sc: Likewise. - * scripttempl/h8500c.sc, scripttempl/h8500m.sc: Likewise. - * scripttempl/h8500s.sc, scripttempl/i386coff.sc: Likewise. - * scripttempl/i386go32.sc, scripttempl/i386lynx.sc: Likewise. - * scripttempl/m68kcoff.sc, scripttempl/m68klynx.sc: Likewise. - * scripttempl/sh.sc, scripttempl/sparccoff.sc: Likewise. - * scripttempl/sparclynx.sc: Likewise. - -Sun Sep 04 17:58:10 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org) - - * Makefile.in, configure.in: Add support (disabled) the ARM/RISCiX. - * config/riscix.mt, emulparams/riscix.sh, scripttempl/riscix.sc: - New files. - -Tue Aug 30 11:48:08 1994 Eric Youngdale (ericy@cais.cais.com) - - * ld.h (args_type): Add field soname. - * lexsup.c (parse_args): Handle -soname argument. - * emultempl/elf32.em: In call to bfd_elf32_size_dynamic_sections, - pass soname. - * ld.texinfo: Document -soname. - -Mon Aug 29 15:21:50 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * ldlang.c (lang_check): Don't try to set the architecture if the - input and output files are incompatible. Just warn. - -Wed Aug 24 12:52:30 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * configure.in: Change i[34]86 to i[345]86. - -Sun Aug 21 16:17:19 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * emulparams/hp3hpux.sh: Define __DYNAMIC to be 0. - -Thu Aug 18 15:37:45 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - Make the ELF linker handle orphaned sections reasonably. Also, - define __start_SECNAME and __stop_SECNAME around sections whose - names can be represented in C, for the benefit of symbol sets in - glibc. - * ldemul.h (ldemul_place_orphan): Declare. - (ld_emulation_xfer_type): Add place_orphan field. - * ldemul.c (ldemul_place_orphan): New function. - * ldlang.h (wild_doit): Declare. - * ldlang.c (wild_doit): Make nonstatic. - (lang_place_orphans): Call ldemul_place_orphan. - * emultempl/elf32.em: Include <ctype.h> and "ldgram.h". - (hold_section, hold_use, hold_text, hold_data, hold_bss): New - static variables. - (gld${EMULATION_NAME}_place_orphan): New static function. - (gld${EMULATION_NAME}_place_section): New static function. - (ld_${EMULATION_NAME}_emulation): Initialize place_orphan field. - -Tue Aug 16 00:17:20 1994 Eric Youngdale (ericy@cais.cais.com) - - * scripttempl/aout.sc: Add .linux-dynamic after .data. - -Tue Aug 16 00:08:22 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * lexsup.c (parse_args) Treat --dll-verbose as --version, for - Linux compatibility. From hjl@nynexst.com (H.J. Lu). - -Mon Aug 15 17:17:33 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * ldexp.h (exp_get_abs_int): Declare. - -Sat Aug 6 01:45:39 1994 Steve Chamberlain (sac@jonny.cygnus.com) - - * ldlang.c (lang_do_assignments): Handle complex AT's better. - * ldexp.c (exp_get_abs_int): New function. - -Fri Aug 5 20:55:55 1994 Jason Molenda (crash@phydeaux.cygnus.com) - - * configure.in: add i960-nindy-coff support. - -Thu Aug 4 14:45:50 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * ldlex.l (yy_create_string_buffer): Handle change to internal - interface in flex 2.4.7. - -Tue Aug 2 11:52:06 1994 Eric Youngdale (ericy@cais.cais.com) - - * emultempl/linux.em (gld${EMULATION_NAME}_find_address_statement): - New function; add 0x20 to any use of -Ttext. - (gld${EMULATION_NAME}_create_output_section_statements): New - function. - (ld_${EMULATION_NAME}_emulation): Use the new function - gld${EMULATION_NAME}_create_output_section_statements. - -Mon Aug 1 15:50:44 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * scripttempl/mips.sc: Redo script to set . outside of sections - and not bother to explicitly specify section addresses. - -Tue Jul 26 11:02:35 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * scripttempl/elf.sc: Copy several more relocation sections into - the output. Put .got.plt sections into .got. - -Fri Jul 22 12:15:36 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * scripttempl/elf.sc: Use PROVIDE to define etext, edata, and end. - - Add a new script operator, PROVIDE, to define a symbol only if it - is needed. - * ldgram.y (PROVIDE): New token. - (assignment): Accept PROVIDE. - * ldlex.l (PROVIDE): New token. - * ldexp.h (node_type): Add etree_provide to node_class enum. - (exp_provide): Declare. - * ldexp.c (exp_fold_tree): Handle etree_provide. - (exp_provide): New function. - (exp_print_tree): Handle etree_provide. - * ld.texinfo: Document PROVIDE. - - * ldlang.c (lang_common): Pass desired alignment to - lang_one_common as power of two. - (lang_one_common): Get common symbol alignment from linker hash - table entry. Treat desired alignment as a power of two. - - * ldlang.c (wild_section): Attach all section with the given name, - not just the first one. If there is no name, attach all sections - even if the SEC_IS_COMMON flag is set. - -Wed Jul 20 15:49:27 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * ld.h (args_type): Add field rpath. - * lexsup.c (S_ISDIR): Define if not already defined. - (parse_args): Add support for -rpath. If -R is used to name a - directory, treat it as -rpath for Solaris compatibility. - * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): - Pass command_line.rpath to bfd_elf32_size_dynamic_sections. - * ldmain.c (main): Initialize command_line.rpath to NULL. - * ld.texinfo: Document -rpath option. - -Sun Jul 10 00:33:24 1994 Ian Dall (dall@hfrd.dsto.gov.au) - - * emulparams/pc532machaout.sh: New file. Pc532 mach script - parameters. - - * emulparams/netbsd532.sh: New file. Netbsd 532 script parameters. - - * config/pc532mach.mt: New file. Pc532 mach target support. - - * config/pc532mach.mh: New file. Pc532 mach host support. - - * config/netbsd532.mt: New file. Netbsd 532 target support. - - * configure.in: Add ns32k-pc532-mach and ns32k-pc532-netbsd support. - - * Makefile.in: Add epcmachaout.c dependency and enetbsd532.c - dependency. - -Fri Jul 8 10:57:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): Use - bfd_abs_section_ptr, not &bfd_abs_section. - - * lexsup.c (parse_args): Changed "retain-symbols-file" from - no_argument to required_argument. From djm. - -Thu Jul 7 12:29:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * scripttempl/elf.sc: Explicitly mention .stab and .stabstr - sections to force a VMA of 0; needed for ELF backends which have - not been converted to the new linker style. - -Mon Jul 4 19:35:45 1994 Jeff Law (law@snake.cs.utah.edu) - - * scripttempl/hppaelf.sc (__stack_zero): Don't define this name, - it was for the HPUX dynamic loader's use and it creates problems - with ELF GDB. - -Fri Jul 1 12:53:47 1994 Jeff Law (law@snake.cs.utah.edu) - - * ldlang.c (lang_do_assignments): No longer static. Delete decl. - * ldlang.h (lang_do_assignments): Put external decl here. - * emultempl/hppaelf.em: Minor cleanups throughout file. - (hppa_elf_create_output_section_statements): Rewrite. - (hppaelf_finish): Rewrite. - -Wed Jun 29 16:50:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * config/solaris2.mh (NATIVE_LIB_DIRS): Define as /usr/ccs/lib. - - * lexsup.c (parse_args): Accept -Bstatic and -Bdynamic. Do not - accept plain -B. - * ld.texinfo: -Bstatic is not ignored. - -Tue Jun 28 12:13:34 1994 Stan Shebs (shebs@andros.cygnus.com) - - * ldlex.l: Recognize \r the same as \n. - -Thu Jun 23 17:53:04 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - Preliminary support for generating shared libraries, from Eric - Youngdale <ericy@cais.cais.com>. - * genscripts.sh: If the emulation parameter file sets - GENERATE_SHLIB_SCRIPT, generate a .xs script file with - CREATE_SHLIB defined. - * emultempl/elf32.em (gld${EMULATION_NAME}_get_script): If - link_info.shared is set, use the .xs script file. - * scripttempl/elf.sc: If CREATE_SHLIB is set, don't create a - .interp section, and don't include TEXT_START_ADDR in the starting - address of the first section. - * emulparams/elf_i386.sh (GENERATE_SHLIB_SCRIPT): Likewise. - * emulparams/elf32_sparc.sh (GENERATE_SHLIB_SCRIPT): Define. - -Thu Jun 23 12:52:22 1994 David J. Mackenzie (djm@rtl.cygnus.com) - - * configure.in: Change --with-targets to --enable-targets. - -Wed Jun 22 13:42:14 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * lexsup.c (parse_args): Add support for new options -( -) with - synonyms --start-group --end-group. - * ldlang.h (enum statement_enum): Add lang_group_statement_enum. - (lang_group_statement_type): Define new struct. - (lang_statement_union_type): Add group_statement field. - (lang_enter_group, lang_leave_group): Declare. - * ldlang.c (lang_for_each_statement_worker): Handle - lang_group_statement_enum. - (map_input_to_output_sections, print_statement): Likewise. - (lang_size_sections, lang_do_assignments): Likewise. - (open_input_bfds): Completely rewrite. Now does its own looping, - rather than using lang_for_each_statement. Handle groups. - (lang_process): Update call to open_input_bfds. - (print_group): New static function. - (lang_enter_group, lang_leave_group): New static functions. - * ldfile.c (ldfile_open_file): If the file has already been - opened, just return rather than taking an assertion failure. - * ldver.c (help): Mention new options. - * ld.texinfo: Document new options. - - * ldlang.c (end_of_data_section_statement_list): Don't define. - (lang_leave_output_section_statement): Don't set obsolete variable - end_of_data_section_statement_list. - - * scripttempl/go32coff.sc: Don't put ${DATA_ALIGNMENT} inside an - ALIGN. - - * ldlang.c (lang_size_sections): Adjust current region address - even for sections with an explicit address. From - ralphc@pyramid.com (Ralph Campbell). - - * emulparams/i386linux.sh (NONPAGED_TEXT_START_ADDR): Set to 0. - From jrs@world.std.com (Rick Sladkey). - - * scripttempl/mipsbsd.sc: Let sections align to their natural - boundaries. - -Tue Jun 21 11:27:04 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * ldlang.c (lang_init): Use new bfd_abs_section_ptr, not - &bfd_abs_section. - (lang_abs_symbol_at_beginning_of): Likewise. - (lang_abs_symbol_at_end_of): Likewise. - (lang_size_sections): Use bfd_is_abs_section to check for the - absolute section. Don't try to set the VMA or output_offset or - size of the absolute section. - * ldmain.c (notice_ysym): Use bfd_is_und_section to check for the - undefined section. - -Thu Jun 16 22:48:41 1994 Jeff Law (law@snake.cs.utah.edu) - - * scripttempl/hppaelf.sc: Place .data and .bss at 0x40000000 - when generating relocatable objects. - -Thu Jun 16 14:25:22 1994 Eric Youngdale (ericy@cais.cais.com) - - * emultempl/linux.em: New file providing support for linking - against Linux shared libraries. - * config/i386-linux.mt (ei386linux.c): Depend upon linux.em. - * emulparams/i386linux.sh (TEMPLATE_NAME): Define as linux. - -Thu Jun 16 12:22:01 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * lexsup.c (parse_args): Add -shared to longopts, and handle it. - * ldmain.c (main): Initialize link_info.shared to false. Give - error if link_info.relocateable and link_info.shared are both set. - - * configure.in: If EMUL_EXTRA* is defined in a config file, treat - it as naming an emulation to be added to EMULATION_OFILES. - * config/i386-linux.mt (EMUL_EXTRA1): Define as elf_i386. - - * Makefile.in: Rebuilt dependencies. - (ALL_EMULATIONS): Add ei386linux.o, eelf32_sparc.o, - eelf64_sparc.o. Remove $(OTHER_EMULATIONS). - (ei386linux.c, eelf32_sparc.c, eelf64_sparc.c): New targets. - * config/i386-linux.mt (OTHER_EMULATIONS): Don't define. - (ei386linux.c): Remove; now in Makefile.in. - * config/i386-lynx.mt (OTHER_EMULATIONS): Don't define. - * config/m68k-lynx.mt (OTHER_EMULATIONS): Don't define. - * config/sparc-lynx.mt (OTHER_EMULATIONS): Don't define. - * config/sparc64-elf.mt (OTHER_EMULATIONS): Don't define. - (eelf64_sparc.c): Remove; now in Makefile.in. - * config/sun4sol2.mt (OTHER_EMULATIONS): Don't define. - (eelf32_sparc.c): Remove; now in Makefile.in. - - * ldexp.c (exp_print_tree): Don't crash if etree_rel section has - no owner--it might be bfd_abs_section. From Eric Youngdale - <ericy@cais.cais.com>. - - * scripttempl/aout.sc: Let sections align to their natural - boundaries. - -Wed Jun 15 01:54:54 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * ldemul.h (ldemul_open_dynamic_archive): Declare. - (ld_emulation_xfer_type): Add new field open_dynamic_archive. - * ldemul.c: Include ldexp.h and ldlang.h. - (ldemul_open_dynamic_archive): New function. - * ldfile.h (ldfile_open_file_search): Declare. - * ldfile.c: Include ldemul.h. - (try_open_bfd): Rename from cache_bfd_openr. Return boolean - argument, not bfd *. Change all callers. - (ldfile_open_file_search): Rename from open_a. Return boolean - argument, not bfd *. Clean up. Change all callers. - (ldfile_open_file): If doing a dynamic link, call - ldemul_open_dynamic_archive rather than assuming the extension of - a dynamic object is ".so". - * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive): - New function. - (ld_${EMULATION_NAME}_emulation): Initialize open_dynamic_archive - field. - * emultempl/sunos.em (ld_${EMULATION_NAME}_emulation): Likewise. - - * ldmain.c (get_emulation): Ignore -m486 for Linux compatibility. - * lexsup.c (parse_args): Ignore -qmagic for Linux compatibility. - Accept -static as a synonym for -non_shared. - - Let the user change the dynamic linker used by ELF code. - * ld.h (args_type): Add new field interpreter. - * lexsup.c (parse_args): Add dynamic-linker to longopts, and - handle it. - * ldmain.c (main): Initialize command_line.interpreter to NULL. - * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Get - the ELF backend to return the .interp section. If - command_line.interpreter is not NULL, set the contents of .interp - to it. - * ld.texinfo: Mention -dynamic-linker. - - * config/sun4sol2.mt (eelf32_sparc.c): Depend upon elf32.em, not - generic.em. - - * lexsup.c (parse_args): Sort out the option macros and change the - definitions to make it easier to add a new option. - - * scripttempl/aout.sc: Define __etext and __edata to go along with - _etext and _edata. - - * ld.h (ld_config_type): Add new field traditional_format. - * lexsup.c (parse_args): Add traditional-format to longopts, and - handle it. - * ldmain.c (main): Initialize config.traditional_format to false. - * ldlang.c (ldlang_open_output): Set BFD_TRADITIONAL_FORMAT in BFD - flags of output_bfd according to config.traditional_format. - * ldver.c (help): Mention -traditional-format. - * ld.texinfo: Document -traditional-format. - -Tue Jun 14 23:10:07 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * ldctor.c (ldctor_add_entry): Add entries to a set in the order - they are encountered. - -Tue Jun 14 18:05:09 1994 Eric Youngdale (ericy@cais.cais.com) - - * emulparams/i386linux.sh (TEXT_START_ADDR): Define as 0x1000. - (NONPAGED_TEXT_START_ADDR): Define as 0x20. - -Mon Jun 13 15:46:09 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * scripttempl/alpha.sc: Define _ftext, _etext and _fdata insted of - _FTEXT, _ETEXT and _FDATA. Dont define _END. - - * ldfile.c (open_a): If this is not an archive, try to open it in - the current directory before searching for it. - - * lexsup.c (parse_args): Treat -i as a synonym for -r. - - * ldgram.y (exp): Treat BLOCK as a synonym for ALIGN, so that - BLOCK works in a section address as documented. - - * ldgram.y (YYDEBUG): Don't define. - -Fri Jun 10 16:45:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * emultempl/gld960.em: Pass false for new argument to - ldfile_add_library_path. - * emultempl/gld960c.em, emultempl/lnk960.em: Likewise. - - * emultempl/sunos.em: Only look for .so files if doing a dynamic - link. - -Thu Jun 9 08:35:17 1994 Ian Lance Taylor (ian@cygnus.com) - - * scripttempl/i960.sc: Add CONSTRUCTORS to .data. - -Thu Jun 9 06:52:29 1994 Bill Cox (bill@rtl.cygnus.com) - - * Makefile.in (check): Delete ld.new dependency so that a regression - test doesn't trigger a rebuild of the linker. - -Thu Jun 9 00:17:20 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * ldlang.c (map_input_to_output_sections): For lang_address, call - init_os if it hasn't already been called. - -Thu Jun 2 17:24:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - Add support for SunOS shared libraries. - * aout.sc: Don't define __DYNAMIC here. Add new sections used by - shared library support code. - * emultempl/sunos.em: New file. - * emulparams/sun4.sh (TEMPLATE_NAME): Define as sunos. - * emulparams/sun3.sh (TEMPLATE_NAME): Likewise. - * Makefile.in (esun4.c): Depend upon sunos.em, not generic.em. - (esun3.c): Likewise. - - * ldlang.c: Minor formatting cleanups. - (lang_for_each_input_file): New function. - * ldlang.h (lang_for_each_input_file): Declare. - - * ldfile.h (search_dirs_type): Move from ldfile.c, and add cmdline - field. - (search_head): Declare. - (ldfile_add_library_path): Add new cmdline argument in prototype. - * ldfile.c (search_head): Make non-static. - (search_dirs_type): Move to ldfile.h. - (ldfile_add_library_path): Accept cmdline argument, and save it. - * lexsup.c (parse_args): Pass true for new cmdline argument of - ldfile_add_library_path. - (set_default_dirlist): Likewise. - * ldmain.c (check_for_scripts_dir): Pass false for new cmdline - argument of ldfile_add_library_path. - * ldgram.y (ifile_p1): Likewise. - -Wed Jun 1 14:24:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * ldlang.h (lang_input_statement_type): Remove fields subfiles, - total_size, superfile and chain. - * ldfile.c (open_a): Don't clear search_dirs_flag. - (ldfile_open_file): Don't try to open superfile. Assert that file - has not already been opened. - * ldlang.c (new_afile): Don't initialize superfile. - * ldmain.c (add_archive_element): Don't initialize subfiles or - chain or superfile. Initialize search_dirs_flag to false. - -Fri May 27 12:25:33 1994 Ken Raeburn (raeburn@cujo.cygnus.com) - - * ldver.c (ldversion): Changed version to "cygnus-2.4.1". - - Changes from binutils-2.4 release: - - * genscripts.sh (RELOCATING, CONSTRUCTING): When setting - variables, use whitespace, so scripts don't break. - - * config/alphaosf.mh (HDEFINES, CFLAGS): Deleted. - - * emultempl/generic.em: Find emultempl/stringify.sed in ${srcdir}. - - * cdtest-bar.cc: Renamed from cdtest-func.cc. - * Makefile.in: Noted change. - - * scripttempl/a29k.sc: Don't include /lab3/u3/..../segments.o; I - don't know where that's supposed to come from, or why it's - necessary. - - Wed May 11 22:32:00 1994 DJ Delorie (dj@ctron.com) - - * configure.bat: update to latest makefile.in - * emulpara/go32.sh: set to coff-go32 not aout - * emultemp/generic.em: strength-reduce the structure of - this shell script, since the only available shell for - DOS can't handle complex syntax. - * emultemp/stringify.sed: for "sed -f" instead of inline. - * makefile.in: depend on stringify.sed as well as genscripts.sh - * scripttemp/go32coff.sc: correct for djgpp 1.11's COFF format - * genscripts.sh: empty variables aren't always considered "set", - so set them to "y" instead. - -Fri May 27 01:08:14 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * ldlang.c (entry_symbol): Make static. - (lang_add_entry): Add cmdline argument. - * ldlang.h (lang_add_entry): Change prototype. - * ldgram.y (statement_anywhere): Change lang_add_entry call. - * lexsup.c (parse_args): Likewise. - -Tue May 24 16:13:43 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * emulparams/elf32mipb.sh (OTHER_READONLY_SECTIONS): Don't give - .reginfo an address. - (OTHER_READWRITE_SECTIONS): Don't give .lit4 or .lit8 an address. - (OTHER_SECTIONS): Define for .gptab.sdata and .gptab.sbss. - * scripttempl/elf.sc: Use OTHER_SECTIONS at end of script. - -Thu May 19 13:31:33 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - Add support for ELF shared libraries. - * ld.h (ld_config_type): Add field dynamic_link. - * ldmain.c (main): Initialize config.dynamic_link to false. Warn - on attempts to use -r with -relax, -call_shared or -s. - * lexsup.c (longopts): Separate OPTION_CALL_SHARED from - OPTION_NON_SHARED. Add OPTION_IGNORE. Adjust macro values - accordingly. Add "dy" and "non_shared" options. Change "Qy" to - OPTION_IGNORE for now. Handle OPTION_CALL_SHARED and - OPTION_NON_SHARED by setting dynamic_link field accordingly. - Handle OPTION_IGNORE by ignoring it. Clear dynamic_link field for - -r and -Ur. - * ldfile.c (ldfile_open_file): If config.dynamic_link is true, try - opening a file with a .so extension first. - * emultempl/elf32.em: New file. - * emulparams/elf32_sparc.sh (TEXT_START_ADDR): Change to 0x10000. - (NONPAGED_TEXT_START_ADDR): Likewise. - (TEMPLATE_NAME): Define as elf32. - (DATA_PLT): Define. - * emulparams/elf_i386.sh (TEMPLATE_NAME): Define as elf32. - * scripttempl/elf.sc: Add placement for new dynamic sections. - Don't use CREATE_OBJECT_SYMBOLS. Define _etext, _edata and _end - outside of any section. Don't use ALIGN(8); just let one section - VMA follow another. Put .dynbss in .bss. Don't mention debugging - sections; they'll be handled correctly anyhow. - * Makefile.in (eelf_i386.c): Depend upon elf32.em, not generic.em. - -Wed May 18 10:15:39 1994 Ian Lance Taylor (ian@cygnus.com) - - * Makefile.in (install): Redirect output of ln to /dev/null. - -Mon May 16 13:35:08 1994 Jeff Law (law@snake.cs.utah.edu) - - * emultempl/hppaelf.em: Change all references of - .hppa_linker_stubs to .PARISC.stubs. - * scripttempl/hppaelf.sc: Likewise. - -Fri May 13 13:00:38 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * ldlang.c (print_output_section_statement): Change ``no attached - output section'' message slightly. - (lang_do_assignments): Don't recurse down if there is no real - section. - - * config/i386-linux.mt (OTHER_EMULATIONS): Change em_ to e to - match corresponding change in emulation templates. - * config/i386-lynx.mt, config/m68k-lynx.mt: Likewise. - * config/sparc-lynx.mt, config/sun4sol2.mt: Likewise. - -Wed May 11 18:16:46 1994 Ken Raeburn (raeburn@cujo.cygnus.com) - - * ldver.c (ldversion): Updated version number. - - * cdtest-foo.cc: Use explicit "#pragma implementation". - * cdtest-bar.cc: Renamed from cdtest-func.cc. - * Makefile.in: References to cdtest-func.o changed to - cdtest-bar.o. - -Wed May 11 16:24:19 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - Don't create unnecessary output sections. - * ldlang.c (out_bfd_get_section_by_name): Remove. - (wild_section): Call bfd_get_section_by_name rather than - our_bfd_get_section_by_name. Don't call wild_doit if there is no - section. - (lang_create_output_section_statements): Remove. - (map_input_to_output_sections): For several cases, call init_os if - it has not already been called. - (lang_size_sections): If output section was not created, skip it. - (lang_process): Don't call lan_create_output_section_statements. - (lang_place_orphans): Skip files with just_syms_flags set to true. - * ld.texinfo: Document change. - -Tue May 10 14:31:16 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * ldlang.c (wild_doit): Don't bother initializing the vma and - section size. Don't special case SEC_SHARED_LIBRARY. - (lang_size_sections): Handle SEC_COFF_SHARED_LIBRARY sections - specially. - -Fri May 6 12:24:27 1994 Steve Chamberlain (sac@cygnus.com) - - * config/go32.mh : New file for Xgo32X. - -Fri May 6 15:15:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * ldfile.c (ldfile_open_command_file): Set bfd_error_system_call - before calling einfo, since we are reporting an fopen failure. - From jrs@world.std.com (Rick Sladkey). - - * configure.in: Use "e" rather than "em_" as prefix for - emulations. - -Fri May 6 01:08:14 1994 Ken Raeburn (raeburn@kr-pc.cygnus.com) - - * emultempl/generic.em: Use "e" rather than "em_" as prefix for - filename. - * emultempl/gld960.em, emultempl/gld960c.em, emultempl/lnk960.em, - emultempl/hppaelf.em, emultempl/m88kbcs.em, emultempl/vanilla.em: - Ditto. - * Makefile.in: Changed all generated file names. - (ldemul-list.h): Depend on Makefile, not config.status. Changed - sed patterns to handle new filenames. - - * config/mipsl-idt.mt: Renamed from mips-idtl.mt. - * configure.in: Adjusted. - -Thu May 5 15:07:32 1994 Ken Raeburn (raeburn@cujo.cygnus.com) - - * Makefile.in (install-info): Don't use "$<*", it doesn't always - work. Instead, check build dir and $srcdir explicitly, and use - `echo' to get all the filenames. - - * configure.in (h8300h-*-hms): Changed ld_target name to - cf-h8300h. - * config/cf-h8300h.mt: Renamed from coff-h8300h.mt, to make it - unique in 8.3. - - * config/i960coff.mt: New file. - * emulparams/gld960coff.sh: New file. - * emultempl/gld960c.em: New file. - * configure.in (i960-*-vxworks5* except -vxworks5.0*): Use - i960coff configuration. - * Makefile.in (em_gld960coff.c): Added dependencies, build rule. - - * Makefile.in (ALL_EMULATIONS): Remove em_delta68.o, since the - code isn't included in FSF releases, and it can still be - explicitly selected. - (distclean): Remove site.bak and tmpdir. - (STAGESTUFF): Removed $(GENERATED_CFILES) $(GENERATED_HFILES). - (mostlyclean): Delete them explicitly here. Also remove tmpdir. - - Patches from Ralph Campbell: - * config/mipsbsd.mh: New file. - * Makefile.in (em_mipsbsd.c): Use mipsbsd.sc, not aout.sc. - * scripttempl/mipsbsd.sc: Don't define __DYNAMIC. - * emulparams/mipsbsd.sh (OUTPUT_FORMAT): Fix name to have `a.out' - instead of `aout'. - - * configure.in (i386-*-gnu*): Treat like i386-*-mach*. - -Wed May 4 11:59:40 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * config/m68k.mt (EMUL): Set to m68kaout. - * emulparams/m68kaout.sh: New file. - * Makefile.in (ALL_EMULATIONS): Add em_m68kaout.o. - (em_m68kaout.c): New target. - - * ldlang.c (lang_size_sections): If dot moves because of an - assignment, don't try to insert a pad into the absolute output - section, just change the address of the default memory region - instead. - - * Makefile.in (mostlyclean): Remove cdtest.tmp, cdtest-ur, - cdtest-ur.out, and cdtest-ur.tmp. - -Wed Apr 27 16:03:37 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * scripttempl/sa29200.sc: Align all sections to four byte - boundaries. - -Wed Apr 27 10:48:03 1994 Steve Chamberlain (sac@cygnus.com) - - * Makefile.in, configure.in: Support for go32 coff. - * config/i386-go32.mt: New file - * emulparams/i386go32.sh: New file - * scripttempl/i386go32.sc: New file - -Tue Apr 26 17:20:03 1994 Stan Shebs (shebs@andros.cygnus.com) - - * Makefile.in (em_m68klynx.c, em_i386lynx.c, em_sparclynx.c): Use - Lynx-specific script templates. - * configure.in (sparclite*-*-coff): Use coff-sparc. - * emulparams/i386lynx.sh (SCRIPT_NAME): Set to i386lynx. - * emulparams/sparclynx.sh (SCRIPT_NAME): Set to sparclynx. - (ENTRY): Set to __main. - * scripttempl/i386lynx.sc: New file, script for I386 Lynx. - * scripttempl/m68klynx.sc: Add insertion of ctor/dtor sections. - * scripttempl/sparclynx.sc: New file, script for uSparc Lynx. - -Tue Apr 26 12:41:03 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * scripttempl/mips.sc: Force _gp and .lit8 to be aligned to a 16 - byte boundary, in case the global constructors do not take up an - even 16 bytes. - - * config/i386v4.mh (HOSTING_CRT0): If ../gcc/crtbegin.o does not - exist, get crtbegin based on gcc -print-libgcc-file-name. - (HOSTING_LIBS): Similar change for ../gcc/crtend.o. - -Mon Apr 25 15:27:52 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * ldlang.c (lang_size_sections): When no address is given for a - section, align it according to its requirements. - -Thu Apr 21 17:24:24 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * Makefile.in (clean, distclean): Remove configdoc.texi. - -Tue Apr 19 12:12:15 1994 Bill Cox (bill@rtl.cygnus.com) - - * configure.in: Add i[34]86-*-bsd386 to the patterns recognized. - -Fri Apr 15 14:35:42 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * ldlang.c (lang_size_sections): When relaxing, adjust the - position of a padding statement, and adjust dot accordingly. - -Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com) - - * Makefile.in (EXPECT, RUNTEST): Set these for the check goal. - -Mon Apr 11 12:32:57 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * scripttempl/i386coff.sc: If relocating, don't put .init and - .fini sections into .text; keep them separate. - * config/i386sco.mh (HOSTING_CRT0): If ../gcc/crtbegin.o does not - exist, get crtbegin based on gcc -print-libgcc-file-name. - (HOSTING_LIBS): Similar change for ../gcc/crtend.o. - -Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com) - - * Makefile.in (check): Set TCL_LIBRARY for runtest. - -Wed Apr 6 00:09:37 1994 Jeffrey A. Law (law@snake.cs.utah.edu) - - * configure.in (hppa*-*-*elf*): Don't require "-hp-" for the - manufacturer. - - * emultempl/hppaelf.em (hppaelf_finish): Only resize sections - if building a final executable. - -Tue Apr 5 12:17:30 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * ldmain.c (main): Check the return value of bfd_close. - -Thu Mar 31 18:07:06 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * scripttempl/alpha.sc: Clean up section alignment to ensure that - sections never overlap when using -r. - -Wed Mar 30 15:51:15 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * ldmisc.c (vfinfo): Change symbol reading slightly for recent BFD - changes: get_symtab_upper_bound renamed and returns long, - bfd_canonicalize_symtab returns long, check for error indications. - -Fri Mar 25 17:20:01 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * ldlang.c (print_input_section): For section size, use - _cooked_size if it is non-zero, size otherwise. - (size_input_section): Likewise. - (lang_do_assignments): Likewise (case lang_input_section_enum). - -Thu Mar 24 15:20:47 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * ldlang.c (new_afile): Add new argument add_to_list. Don't set - real to true for lang_input_file_is_marker_enum. Clear the_bfd. - (lang_add_input_file): Pass true to new_afile for add_to_list. - (lookup_name): Remove force_load argument. Changed all callers. - Pass false to new_afile for add_to_list. Split loading of symbols - out into separate function. - (load_symbols): New function split out of lookup_name. Don't load - the symbols if they are already loaded. - (open_input_bfds): For lang_input_statement_enum call load_symbols - rather than lookup_name. - (lang_process): Pass abs_output_section rather than NULL to - lang_size_sections. - (lang_startup): Set real field of first_file to true. - -Wed Mar 23 14:15:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * ldlang.c (had_relax): Removed. - (relax_again): New static variable. - (lang_size_sections): Change call to bfd_relax_section to - correspond to BFD changes. Set relax_again appropriately. - (lang_process): Remove #if 0 code. When relaxing, keep calling - lang_do_assignments and lang_size_sections until relax_again - becomes false. - - * emultemp/gld960.em: Include libiberty.h - (gld960_before_parse): Pass NULL as final argument to concat. - -Tue Mar 22 13:08:28 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * scripttempl/aout.sc: Force _end and __end to be aligned to a - four byte boundary. - - * ldwrite.c (build_link_order): Handle lang_data_statement_enum by - building a bfd_data_link_order, rather than by setting the section - contents immediately. - -Mon Mar 21 18:28:37 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - Changes to make -Ur work again. - * ldmain.c (add_to_set): Now takes reloc argument rather than - bitsize. Check config.build_constructors here. If an new hash - table entry is created, mark it as undefined. - (constructor_callback): No longer takes bitsize argument. Pass - BFD_RELOC_CTOR to ldctor_add_set_entry, but first make sure the - BFD backend supports it. - (reloc_overflow): Handle a NULL abfd argument. - (reloc_dangerous, unattached_reloc): Likewise. - * ldctor.c: Include ldmain.h. - (struct set_info): Change bitsize field to reloc. - (ldctor_add_set_entry): Now takes reloc argument rather than - bitsize. Don't bother to check config.build_constructors here. - (ldctor_build_sets): Get the size from the reloc howto. If - generating relocateable output, call lang_add_reloc rather than - lang_add_data. - * ldctor.h (ldctor_add_set_entry): Change declaration to use reloc - instead of bitsize. - * ldlang.h (statement_enum): Add lang_reloc_statement_enum. - (lang_reloc_statement_type): New structure. - (lang_statement_union_type): Add reloc_statement field. - (lang_add_reloc): Declare new function. - * ldlang.c (lang_for_each_statement_worker): Handle - lang_reloc_statement_enum. - (map_input_to_output_sections, print_statement): Likewise. - (lang_size_sections, lang_do_assignments): Likewise. - (print_reloc_statement): New function. - (lang_add_reloc): New function. - * ldwrite.c (build_link_order): Handle lang_reloc_statement_enum. - - * Makefile.in (cdtest.out, cdtest-ur.o): New targets. - (cdtest-ur, cdtest-ur.out): New targets. - (check-cdtest): Now also check that -Ur works correctly. - - * scripttemp/alpha.sc: Align all sections to 16 byte boundaries. - -Thu Mar 17 12:45:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * ldlang.c (lang_process): Move lang_common call before - map_input_to_output_sections, to ensure that any alignment - constraints set by common symbols are copied over to the output - sections. - -Fri Mar 11 22:17:34 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * emulparams/elf32ppc.sh (TEMPLATE_NAME): Don't define. - (OTHER_READWRITE_SECTIONS): Rename .toc to .got. - * Makefile.in (em_elf32ppc.c): Depend upon generic.em, not ppc.em. - * emultempl/ppc.em: Remove ugly stub code; turns out not to be - needed for ELF. - -Tue Mar 8 04:22:27 1994 David J. Mackenzie (djm@rtl.cygnus.com) - - * config/i386bsd.mh: New file. - -Mon Mar 7 15:23:24 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * elf.sc: Permit TEXT_START_SYMBOLS and DATA_START_SYMBOLS to be - defined. - * emulparams/elf32mipb.s (TEXT_START_SYMBOLS): Define _ftext. - (DATA_START_SYMBOLS): Define _fdata. - -Mon Feb 28 10:59:14 1994 Stan Shebs (shebs@andros.cygnus.com) - - * ldlang.c (cat): Define using ANSI style if ALMOST_STDC defined. - -Sun Feb 27 16:29:38 1994 Jeffrey A. Law (law@snake.cs.utah.edu) - - * emultempl/hppaelf.em (hppaelf_finish): Update comments. This - works again. Attach some output symbols to the stub file bfd. - - * emultempl/hppaelf.em: Include elf32-hppa.h. - (file_chain): Add decl. - (hppa_look_for_stubs_in_section): Delete decl. - (hppaelf_finish): Reenable code. Do not pass symbols - down to hppa_look_for_stubs_in_section. - -Sat Feb 26 10:58:25 1994 Ian Lance Taylor (ian@cygnus.com) - - * ldmain.c (write_map): Don't define. Removed all references. - Just use map_file or map_filename instead. - (add_archive_element): Use minfo to write map information, not - info_msg. - (constructor_callback): Use fprintf to write map information, not - info_msg. - * ldmain.h (write_map): Don't declare. - * ldgram.y (mri_script_command): Removed reference to write_map. - * ldlang.c (lang_one_common): Likewise. - * lexsup.c (parse_args): Likewise. - -Fri Feb 25 19:12:03 1994 Ian Lance Taylor (ian@cygnus.com) - - * scripttempl/elf.sc: Force all sections to be aligned. - - * ldgram.y (section): Reverse the order of memspec_opt and - fill_opt to avoid an ambiguity when both are used. - * ld.texinfo: Changed accordingly. - - * ldgram.y: Move include of ldlex.h back with other includes. - * ldlex.h (input_type): Don't initialize enum constants to - particular values. - * ldlex.l: Use a switch to return the right token based on - input_type, rather than knowing that input_type has a value based - on a token type. - - * ldgram.y (dirlist_ptr): Removed; not used. - * lexsup.c: Include ldver.h. - * Makefile.in: Rebuilt dependencies. - -Fri Feb 25 18:55:54 1994 Ted Lemon (mellon@pepper.ncd.com) - - * ldlang.c (lookup_name): don't call bfd_set_gp_size. - (ldlang_add_file): call it here instead. - -Fri Feb 25 18:13:46 1994 David J. Mackenzie (djm@rtl.cygnus.com) - - * ldgram.y: Include ldlex.h after %token decls, for byacc. - -Fri Feb 25 10:47:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu) - - * emultempl/hppaelf.em: First attempt to clean this file up. - Add comments in several functions as to their purpose and - how they function (or my current best guess). Clean up horrible - spacing and indention that never should have been accepted in the - first place. Add FIXMEs for issues which need to be resolved. - Disable linker-stub generation until it gets fixed. This allows - the linker to at least work on simple code for testing purposes. - - * ldlang.c (lang_size_sections): No longer static (PA ELF calls - it via hppaelf_finish). Prototype moved into ldlang.h. - (lang_process): Move problematic extra call to lang_size_sections - into the PA ELF specific code. - * emultempl/hppaelf.em (hppaelf_finish): Extra call to - lang_size_sections moved here. - -Thu Feb 24 16:47:33 1994 Ian Lance Taylor (ian@cygnus.com) - - * configure.in (powerpc-*-elf*): New target; use ppc-elf32. - * config/ppc-elf32.mt: New file. - * emulparams/elf32ppc.sh: New file. - * emultempl/ppc.em: New file. - * Makefile.in (ALL_EMULATIONS): Added em_elf32ppc.o. - (em_elf32ppc.c): New target; uses elf32ppc.sh, ppc.em and elf.sc. - (EMULATION_OFILES): Added dependencies on ldexp.h and ldlang.h. - -Thu Feb 24 12:27:07 1994 David J. Mackenzie (djm@rtl.cygnus.com) - - * lexsup.c (parse_args): Use symbolic numbers for long options. - Fix misunderstanding in -Y and -call_shared et al. - - Use getopt instead of lex and yacc to parse the command line. - - * ld.texinfo (Options): Document changes to option syntax. - * Makefile.in: Update dependencies. - * ldver.c (help): Tweak dashes in usage message. - * ldgram.y (%union): Remove unused members. - Remove %tokens for command line options; add ones for input types. - (command_line): Rules removed. - (file): Instead of command line, recognize an - input type indicator, then use the nonterminal for that type. - (defsym_expr): New nonterminal from code formerly in command_line. - * ldlex.h: Declare parser input type enum and variable. - Don't declare parse_line. - * ldlex.l: Remove unused variables. Make some used ones static - and comment them. - (COMMAND): Start state and its rules removed. - At start of yylex, return input state token if at start of input. - (lex_redirect): Don't need to set yyout. - (ldlex_command): Function removed. - * ldmain.c (main): Instead of calling parse_line, set up the - redirections and call yyparse directly. - * ldmisc.c (vfinfo): If there's no input filename, print nothing, not - "command line". - * lexsup.c: Remove #if 0'd code. - (parse_line): Function removed. - (parse_args): Rewrite to use getopt_long_only. - (set_default_dirlist): New function from code formerly in - ldgram.y:command_line. - (set_section_start): New function. - * emultempl/generic.em, emultempl/gld960.em, emultempl/hppaelf.em, - emultempl/lnk960.em, emultempl/m88kbcs.em: Don't enclose - compiled-in link scripts in "{" and "}", as the grammar no longer - wants them to be. - -Thu Feb 24 08:43:26 1994 Ken Raeburn (raeburn@rtl.cygnus.com) - - * Makefile.in (ld.dvi): Depend on configdoc.texi, but don't - require that it be in $(srcdir). - -Tue Feb 22 09:21:18 1994 Ian Lance Taylor (ian@cygnus.com) - - * ldlang.c (lang_size_sections): Only align section to alignment - required by linker script, not to maximum alignment of input - sections. - - * ldlang.h (largest_section): Don't declare. - * ldlang.c (largest_section): Don't define. - (size_input_section): Don't set largest_section; not used. - -Mon Feb 21 15:15:29 1994 Ian Lance Taylor (ian@cygnus.com) - - * ldlang.c (new_afile): Pass NULL as last argument to concat. - -Thu Feb 17 15:51:23 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * ldlang.c, ldmain.c: Include libiberty.h. - - * ldmisc.h (concat): Don't declare. - * ldmisc.c (concat): Don't define; just use the one in libiberty. - - * ld.h (as_output_section_statement): Removed; not used. - -Thu Feb 17 09:32:14 1994 David J. Mackenzie (djm@thepub.cygnus.com) - - * ldlang.c, ldmain.c, ldmisc.c: Use bfd_get_error and - bfd_set_error and new error names. - -Tue Feb 15 20:14:53 1994 Ken Raeburn (raeburn@cujo.cygnus.com) - - * ldwrite.c (build_link_order): If the cooked size of the section - has been set, use it, for determining link_order size. - (ldwrite): In the error message displayed if bfd_final_link fails, - indicate that it was in fact the final link step that failed. - - * ldlang.c (lang_size_sections): Clear bfd_error before calling - bfd_relax_section, in case it returns false but doesn't flag an - error. If an error is returned, indicate which one it is in the - error message. - - * Makefile.in (install-info): Depend on ld.info, and use "$<*" so - it'll get picked up from $(srcdir) if appropriate. - -Tue Feb 15 16:32:04 1994 David J. Mackenzie (djm@rtl.cygnus.com) - - * scripttempl/aout.sc: Only pad .text if PAD_TEXT is set. - * emulparams/i386mach.sh (PAD_TEXT): Set PAD_TEXT. - -Fri Feb 11 17:02:49 1994 David J. Mackenzie (djm@thepub.cygnus.com) - - * ldlex.l (comment): Increment line number when newline is read. - -Fri Feb 11 17:36:20 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * ldlang.c (lookup_name): Take new argument, force_load. If true, - reload the file even if it is already loaded. - (wild): Call lookup_name with force_load argument of 0. - (open_input_bfds): Call lookup_name with force_load argument of 1. - (print_symbol): Remove declaration of non-existent function. - (print_one_symbol): Return true rather than falling off end. - -Thu Feb 10 11:52:38 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * ldmain.c (main): Use %ld when printing long values. - - * scripttempl/elf.sc: Move _edata after the .sdata section. - Permit OTHER_BSS_SYMBOLS to be defined. - * emulparams/elf32mipb.s (OTHER_BSS_SYMBOLS): Define _fbss. - -Mon Feb 7 16:31:15 1994 Jeffrey A. Law (law@snake.cs.utah.edu) - - * Rename all "hppaosf" files to "hppaelf". - * Change all "osf" references to "elf" in hppaelf files. - * Makefile.in: Likewise. - * configure.in: Likewise. - -Sun Feb 6 20:31:56 1994 David J. Mackenzie (djm@thepub.cygnus.com) - - * ldmain.c (main): Call xatexit, not atexit. - Call xmalloc_set_program_name. - - * ldlang.c (lang_size_sections): Check if bfd_relax_section set - bfd_errno. - -Sat Feb 5 03:54:34 1994 David J. Mackenzie (djm@thepub.cygnus.com) - - * emultempl/lnk960.em (append), emultempl/hppaosf.em - (hppaosf_finish): Call xmalloc, not ldmalloc. - * ldmain.c (preserve_output): Function removed. - (main): Do it here instead. - -Fri Feb 4 23:02:19 1994 Jeffrey A. Law (law@snake.cs.utah.edu) - - * ldlang.h (LANG_FOR_EACH_{INPUT,OUTPUT}_SECTION): Delete (unused) - GNU C specific macros. - - * emultempl/hppaosf.em (hppaosf_finish): Expand the only remaining - call to LANG_FOR_EACH_INPUT_SECTION. - -Fri Feb 4 16:26:08 1994 David J. Mackenzie (djm@thepub.cygnus.com) - - * ldmisc.c (ldmalloc, xmalloc, ldrealloc, xrealloc): Functions - deleted; will use libiberty versions instead. - * ldctor.c ldfile.c ldlang.c ldmain.c ldmisc.c ldmisc.h lexsup.c - mri.c Makefile.in: Change callers. - - * ldmisc.c (vfinfo): Remove cleanup code. - * ldmain.c (remove_output): Put it here (new function). - (preserve_output): New function. - (main): Register remove_output and preserve_output with atexit. - * ldmain.c ldgram.y: Call xexit instead of exit. - * ldmisc.h: Declare xexit. - -Fri Feb 4 15:19:01 1994 Steve Chamberlain (sac@cygnus.com) - - * Makefile.in: Lots of new H8/500 memory models. - -Sun Jan 30 14:33:40 1994 Ken Raeburn (raeburn@cujo.cygnus.com) - - * ldlex.l: Removed duplicate rules. - (yywrap): Provide default definition, needed with some versions of - flex. - -Fri Jan 28 09:12:56 1994 David J. Mackenzie (djm@thepub.cygnus.com) - - * ldmisc.c (vfinfo): For `%I', if the file is in an archive, print - the archive filename too. - - * ldlex.l: Add rule to catch invalid input characters instead of - printing them. Include "ldmain.h" for program_name decl. - (lex_warn_invalid): New function. - * Makefile.in: Add dependency. - -Fri Jan 28 12:58:45 1994 Ken Raeburn (raeburn@cujo.cygnus.com) - - * Makefile.in (check): Don't bother running any tests of - cross-linker until the test suite no longer assumes native mode. - -Thu Jan 27 17:19:54 1994 Steve Chamberlain (sac@jonny.cygnus.com) - - * ldlang.c (print_one_symbol, print_input_section): Print - global symbols in symbol table again. - -Thu Jan 27 12:35:01 1994 David J. Mackenzie (djm@thepub.cygnus.com) - - * ldmain.c ldmain.h ldgram.y: If -v -V or --version was given, - exit successfully instead of complaining if no input files are - given. - -Tue Jan 25 13:19:41 1994 Stan Shebs (shebs@andros.cygnus.com) - - * Makefile.in: Format variable definitions consistently. - (LD_PROG): Remove unnecessary variables from link command, - change variable LOADLIBES to EXTRALIBS. - - * ldmain.c (main): Compute and display total execution time. - * ld.texinfo (-stats): Document the option. - -Mon Jan 24 12:56:37 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * ldmain.c (reloc_overflow): Added name, reloc_name and addend - arguments. - - * ldlang.c (lookup_name): Set BFD GP size to -G argument value - after opening BFD. - - * ldlang.c (relaxing): Removed global variable. - (lang_size_sections): If the canonical symbols have not already - been read in, read them in before relaxing. - * ldlang.h (relaxing): Removed declaration. - -Fri Jan 21 00:44:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * ldlang.c (new_afile): Initialize loaded field to false. - (lookup_name): If file was already loaded, don't call the - add_symbols entry point again. - -Wed Jan 19 13:57:00 1994 David J. Mackenzie (djm@thepub.cygnus.com) - - * ld.texinfo: Clarify what -T option does. - -Tue Jan 18 16:18:15 1994 Steve Chamberlain (sac@jonny.cygnus.com) - - * scripttempl/m88kbcs.sc: Don't use CREATE_OBJECT_SYMBOLS, that's - for a.out. - -Tue Jan 11 13:22:04 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * ldmain.c (add_archive_element): If trace_files or - trace_file_tries, print file name. - * ldlang.c (lookup_name): Likewise. - (ldlang_add_file): Don't put files on input_bfds list in reverse - order. - - * scripttempl/elf.sc: Correct typo. - -Mon Jan 10 19:49:05 1994 David J. Mackenzie (djm@thepub.cygnus.com) - - * ldgram.y, ldlex.l: Make the space between -e, -u, and -y and - their arguments optional, for compatibility with the old GNU ld. - -Fri Jan 7 20:00:24 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * scripttempl/elf.c: Define __bss_start before the .sbss section. - -Thu Jan 6 00:13:10 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * ldmain.c (add_to_set): Add bitsize argument. - (constructor_callback): New function. - (link_callbacks): Add constructor_callback. - * ldctor.c (struct set_info): Add bitsize field. - (ldctor_add_set_entry): Add bitsize argument. - (ldctor_build_sets): Base the size of the elements of the set on - the bitsize, rather than always using LONG. - * ldctor.h (ldctor_add_set_entry): Add bitsize to declaration. - - * ld.h (QUAD_SIZE): Define. - * ldgram.y (QUAD): New token. - (length): Handle it. - * ldlex.l: Return QUAD. - * lexsup.c (keywords): Add QUAD. - * ldwrite.c (build_link_order): Handle QUAD. - * ldlang.c (print_data_statement): Handle QUAD. - (lang_size_sections): Likewise. - (lang_do_assignments): Likewise. - * ldexp.c (exp_print_token): Add QUAD to table. - * ld.texinfo: Describe QUAD. - - * scripttempl/alpha.sc: Don't create .lit4 or .sdata sections, - since the Alpha doesn't use them. - -Wed Jan 5 17:42:16 1994 David J. Mackenzie (djm@thepub.cygnus.com) - - * ldemul.h (ld_emulation_xfer_struct): Comment the members. - -Sat Jan 1 13:39:31 1994 Rob Savoye (rob@darkstar.cygnus.com) - - * Makefile.in, configure.in: Add support for VSTa micro-kernel. - * config/vsta.mt, emulparams/vsta.sh: New files for VSTa. - -Sat Jan 1 10:53:35 1994 David J. Mackenzie (djm@thepub.cygnus.com) - - * scripttempl/aout.sc: Pad .text to DATA_ALIGNMENT if relocating; - needed for i386mach. (Should be a no-op on other systems.) - - * emulparams/i386mach.sh (SEGMENT_SIZE): Fix again. - (PAGE_SIZE): Don't define; not used. - -Fri Dec 31 16:12:06 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * ldgram.y (yyerror): Make argument const char *, and actually - print it out rather than assuming it is a syntax error. - * ldmisc.h: Change declaration of yyerror. - * ldemul.c, ldwrite.c: Add /*ARGSUSED*/ as appropriate. - -Fri Dec 31 11:37:28 1993 David J. Mackenzie (djm@thepub.cygnus.com) - - * emulparams/i386mach.sh (NONPAGED_TEXT_START_ADDR): Don't include - exec header offset, since the exec header isn't loaded. - (PAGE_SIZE, SEGMENT_SIZE): Agree with bfd/i386mach3.c. - -Thu Dec 30 13:01:43 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - A major rewrite to move the bulk of the linker into BFD so that - more efficient backend code can be written for specific object - files. - * lderror.c, lderror.h, ldindr.c, ldindr.h, ldsym.c, ldsym.h, - ldwarn.c, ldwarn.h, relax.c, relax.h: Removed. - * ldctor.c, ldctor.h: Complete rewrite. - * ldwrite.c, ldwrite.h: Complete rewrite. - * ld.h (strip_symbols_type, strip_symbols): Removed. Use - link_info.strip instead. Changed all uses. - (discard_locals_type, discard_locals): Removed. Use - link_info.discard instead. Changed all uses. - (ld_config_type): Removed relocateable_output field; use - link_info.relocateable instead; changed all uses. Added stats - field. - (set_asymbol_chain, get_asymbol_chain, get_loader_symbol, - set_loader_symbol): Removed. - * ldexp.h (node_class): Added etree_rel. - (etree_type): Added rel field. - * ldexp.c (exp_print_token): Bracketed table initialization. - (exp_relop): New function. - (fold_name): Use linker hash table rather than ldsym functions. - (exp_fold_tree): Likewise. Also, handle etree_rel case. - (exp_print_tree): Handle etree_rel. - * ldgram.y (strip_symbols, discard_locals): Removed. - (OPTION_stats, OPTION_no_keep_memory): New tokens. Handle them. - (REL): New token. Does not appear in grammar, but needed for - expression code. - (file): Don't call lang_final; it's called by main anyhow. - * ldlex.l: Accept -stats and -no-keep-memory options. - * ldlang.h (fill_type): Make unsigned int, not unsigned short. - * ldlang.c: Consistently use fill_type for fill argument. - (lang_init_script_file, script_file): Removed. - (create_object_symbols): Removed. Use - link_info.create_object_symbols_section instead. Changed all - uses. - (lang_add_keepsyms_file): Removed. - (lookup_name): Call bfd_link_add_symbols instead of - ldmain_open_file_read_symbol. - (wild): Don't iterate over script_file. - (open_output): Create link hash table. - (lang_place_undefineds): Rewrote. - (lang_size_sections): Handle relaxing (doesn't work yet). - (lang_relocate_globals): Removed. - (lang_finish): Use link hash table rather than ldsym functions. - (lang_common): Rewrote. - (lang_one_common): New function. - (ldlang_add_file): Add file to link_info.input_bfds list. Set - usrdata. - (create_symbol): Removed. - (lang_process): Don't call lang_init_script_file. Call - ldctor_build_sets rather than find_constructors. Don't call - lang_relocate_globals. - (lang_abs_symbol_at_beginning_of): Rewrote. - (lang_abs_symbol_at_end_of): Rewrote. - * ldmain.c (had_y): Removed. - (lprefix, lprefix_len): Removed; use link_info fields instead. - Changed all uses. - (multiple_def_count, commons_pending, undefined_global_sym_count, - total_symbols_seen, total_files_seen): Removed. - (link_callbacks, link_info): New variables. - (main): Initialize link_info. Don't call init_bfd_error_vector or - ldsym_init. Don't set now unused variables. Handle -stats. - (get_emulation): Removed obsolete and nonfunctional GNU960 code. - (add_ysym): Rewrote. - (read_entry_symbols, refize, enter_global_ref, enter_file_symbols, - search_library, gnu960_check_format, decode_library_subfile, - linear_library, symdef_library, clear_syms, subfile_wanted_p): - Removed. - (add_keepsyms_file, add_archive_element, multiple_definition, - multiple_common, add_to_set, warning_callback, undefined_symbol, - reloc_overflow, reloc_dangerous, unattached_reloc, notice_ysym): - New functions. - * ldmisc.c (vfinfo): Accept a string for %T, not a symbol. Don't - require symbols for %C; look them up instead. - * emultempl/hppaosf.em: Pass link_info to - hppa_look_for_stubs_in_section. - * Makefile.in: Rebuilt dependencies. - (CFILES): Removed lderror.c, ldindr.c, ldsym.c, ldwarn.c, and - relax.c. - (HFILES): Removed lderror.h, ldindr.h, ldsym.h, ldwarn.h, and - relax.h. - (EMULATION_OFILES): Depend on bfdlink.h, ldmain.h, ldexp.h, - ldlang.h and ldctor.h. - - * Makefile.in (ldlex.c): Don't depend on ldgram.h. Remove - declarations of free and malloc from flex output. Change malloc - to ldmalloc in flex output. - -Thu Dec 16 21:19:57 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - - * ldmain.c (lprefix): Change default from a char to a string - with only one character. - (lprefix_len): Set default to one. - - * ldmain.h (lprefix_len): Declare. - - * ldsym.c (write_file_locals): Use strncmp rather than a character - comparison for lprefix. - - * emultmpl/m88kbcs.em (before_parse): Set lprefix and lprefix_len - correctly. - - * emultmpl/hppaosf.em: Include ldexp.h. - (before_parse): Set lprefix and lprefix_len correctly. - -Tue Dec 14 17:19:03 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * ldlex.h: Don't declare yywrap if it is a macro. - * ldlex.l: Include sysdep.h. - * ldlang.c (lang_for_each_statement_worker, - lang_for_each_statement): Forgot to use PARAMS. - -Mon Dec 13 14:30:03 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * Makefile.in: Added .PHONY targets where appropriate. Added some - comments. Also: - (gcclibdir, version): Removed unused variables. - (DEP): New variable, set to mkdep. - (ALL_CFLAGS): New variable. Used in .c.o target. - (CFILES, HFILES, GENERATED_CFILES, GENERATED_HFILES): New - variables. - (HEADERS, MANSOURCES, LDCSOURCES, GENERATED_SOURCES, - GENERATED_HEADERS, LDSOURCES, BFD_SOURCES, SOURCES): Removed - mostly obsolete variables. Adjusted remaining uses. - (DEF_EMUL): Removed variable. - (ldmain.o): Handle undefined EMUL error correctly. - (ldemul-list.h): Depend on config.status rather than Makefile. - Create via temporary file. - (ver960.c, roll, make): Removed obsolete targets. - (.dep, .dep1, dep.sed, dep, dep-in): New targets. Used to rebuild - dependencies. - * dep-in.sed: New file, used when rebuilding dependencies. - -Sat Dec 11 14:43:44 1993 Ian Lance Taylor (ian@deneb.cygnus.com) - - Made many changes to eliminate gcc warnings. Made various - cosmetic changes, declared various things in header files, removed - various extern declarations from .c files. No substantive - changes. - - * ldlang.c (lang_process): Ifdef out final call to - lang_size_sections again (reverting change of Nove 2), since it - breaks the Sun4 linker. - -Thu Dec 2 16:31:47 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * configure.in (alpha-*-netware*): New target; use alpha. - -Wed Dec 1 14:04:20 1993 Ken Raeburn (raeburn@cygnus.com) - - * configure.in: Group targets by CPU. Merge some m68k target - entries with different CPU specs that use the same ld_target - values. - - * configure.in: Add sparc*-*-coff. - * config/coff-sparc.mt, emulparams/coff_sparc.sh: New files. - * Makefile.in (ALL_EMULATIONS): Add em_coff_sparc.o. - (em_coff_sparc.c): Add dependencies and build rules. - - * ldmisc.c (errno, sys_nerr, sys_errlist): Don't declare. - -Wed Dec 1 12:19:55 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * ldgram.y (OPTION_call_shared, OPTION_non_shared, OPTION_Oval): - New tokens. - (command_line_option): Accept and ignore them (for now). - * ldlex.l (<COMMAND>): Handle -non_shared, -call_shared, and -On - where n is a number. - -Mon Nov 22 14:14:29 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * ldmain.c (subfile_wanted_p): If merging a common symbol which is - not in bfd_com_section, create the section in the BFD so that it - can be placed in the right output section. - -Fri Nov 19 14:12:39 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * configure.in (mips*-sgi-irix5*): New target. Use mipsb-elf32. - * emulparams/elf32mipsb.sh (DATA_ADDR): Define. - (OTHER_READONLY_SECTIONS): Define for .reginfo. - (EXECUTABLE_SYMBOLS): Define for _DYNAMIC_LINK. - * scripttempl/elf.sc: Use EXECUTABLE_SYMBOLS when not relocating. - Move OTHER_READONLY_SECTIONS after all the other readonly - sections. Don't use DATA_ADDR twice. - - * ldmain.c (enter_file_symbols): Removed duplicate tests of p. If - p is in a common section, make sure the BFD has a section of that - name. - - * ldlang.c (lang_common): Add newline to error message. - -Thu Nov 11 15:54:41 1993 Stan Shebs (shebs@rtl.cygnus.com) - - * emulparams/m68klynx.sh (SCRIPT_NAME): Define to use a - Lynx-specific script instead of m68kcoff. - (OUTPUT_FORMAT): Define as "coff-m68k-lynx". - (ENTRY): Define as __main. - (TEXT_START_ADDR): Define as 0. - (PAGE_SIZE): Define as 0x1000. - * emulparams/i386lynx.sh, emulparams/sparclynx.sh: Fix comment. - * scripttempl/m68klynx.sc: New file. - -Mon Nov 8 12:00:16 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * ldmain.c (get_emulation): Ignore -mips1, -mips2 and -mips3 - arguments rather than treating them as emulation names. - -Fri Nov 5 09:02:52 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com) - - * configure.in: Support x86 unixware and netware plus generic netware. - -Fri Nov 5 21:47:55 1993 David J. Mackenzie (djm@thepub.cygnus.com) - - * emulparams/i386mach.sh (TEXT_START_ADDR, NONPAGED_TEXT_START_ADDR): - Correct values (?). - -Wed Nov 3 15:10:15 1993 Ken Raeburn (raeburn@rover.cygnus.com) - - * Makefile.in (distclean): Don't delete dvi or info files. - (ld.info): Update dependency list. - (ld.dvi): Ditto. Extend TEXINPUTS to get bfdsumm.texi. - -Wed Nov 3 12:07:39 1993 David J. Mackenzie (djm@thepub.cygnus.com) - - * ldlang.c (lang_add_output): Take new arg, FROM_SCRIPT. - Set output_filename instead of creating a new node. - (open_output): Don't set output_filename. - (lang_final): Create the new node here. - * ldlang.c, ldlang.h, ldgram.y, mri.c: pass FROM_SCRIPT. - -Tue Nov 2 15:45:51 1993 Jeffrey A. Law (law@snake.cs.utah.edu) - - From Pete Hoogenboom (hoogen@cs.utah.edu): - - * scripttempl/hppaosf.sc: (___stack_zero, etext, _etext, - edata, _edata, end): Add definitions of these symbols. - (__end): Remove definition of this symbol. - (__data_start): Move definition of this symbol. - - * emultempl/hppaosf.em: Various fixes and support for linker stub - generation. - (hppaosf_finish, hppaosf_search_for_padding_statements, - hppaosf_create_output_section_statements): New functions in - support of linker stub generation. - (ld_hppaosf_emulation): Redefine to include new - emulation-specific routines. - - * ldlang.c (lang_process): Re-enable last call lang_size_sections. - Pass abs_output_section rather than NULL to avoid invalidating - absolute symbols. - -Thu Oct 28 21:16:42 1993 David J. Mackenzie (djm@thepub.cygnus.com) - - * Makefile.in (ALL_EMULATIONS): Add em_i386mach.o. - (em_i386mach.c): New rule. - * configure.in (i[34]86-*-mach*): New case. - * config/i386-mach.mt: New file. - * emulparams/i386mach.sh: New file. - -Fri Oct 29 14:55:05 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * ld.h (flag_is_*): Removed macros. - * ldmain.c (enter_global_ref), ldsym.c (write_file_locals): - Consistently check the BFD symbol flags directly, rather than - using file_is_* macros. - -Thu Oct 28 19:08:42 1993 Stan Shebs (shebs@rtl.cygnus.com) - - * configure.in (sparc*-*-lynxos*): New target. - * Makefile.in: Add rule for em_sparclynx.c. - (ALL_EMULATIONS): Add Lynx emulations. - * config/sparc-lynx.mt: New file. - * emulparams/sparclynx.sh: New file. - * scripttempl/sparccoff.sc: New file. - -Thu Oct 28 13:50:25 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * Makefile.in: Add dependency for $(EMULATION_OFILES). - -Mon Oct 25 16:09:24 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * relax.c (write_relax): Check return value of bfd_seclet_link. - -Mon Oct 25 09:31:21 1993 Ken Raeburn (raeburn@cygnus.com) - - * ldlang.c (delete_output_file_on_failure): New variable. - (open_output): Set it after bfd open succeeds. - * ldmisc.c (vfinfo): Test it. - - Changes from Peter Hoogenboom, hoogen@cs.utah.edu: - - * ldsym.c (write_file_locals): Set the BSF_FILE flag for object - symbols. - - * ldemul.c: Support was added to allow emulation-specific - processing to occur. This support was added primarily for linker - stub generation in the elf32-hppa gld. - (ldemul_finish, ldemul_create_output_section_statements): New - functions. - * ldemul.h: Support was added to allow emulation-specific - processing to occur. (As described above.) Added finish and - create_output_section_statements fields to - ld_emulation_xfer_struct structure. - * ldlang.c: Add calls to emulation-specific routines. - (lang_process): Add call to - ldemul_create_output_section_statements function. - (lang_process): Add call to a emulation-specific routine (and - some processing after the call). - -Fri Oct 22 20:54:13 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) - - * configure.in: mips*- instead of mips-, mips*el changes - -Tue Oct 19 15:46:28 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * configure.in (alpha-*-osf*): New target; use alpha.mt. - * Makefile.in (ALL_EMULATIONS): Added em_alpha.o. - (em_alpha.c): New target; use alpha.sh and alpha.sc. - * config/alphaosf.mh (NATIVE_LIB_DIRS, HOSTING_CRT0): Define. - * config/alpha.mt: New file. - * emulparams/alpha.sh: New file. - * scripttempl/alpha.sc: New file. - -Fri Oct 15 02:20:04 1993 Doug Evans (dje@canuck.cygnus.com) - - * ldlang.c (lang_size_sections, lang_common): ALIGN_N can't handle - types of different sizes (eg: 64 and 32 bits), so coerce. - * ld.h (ALIGN_N): Add warning about usage. - -Wed Oct 13 16:02:39 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * ldmain.c (enter_global_ref): Just ignore any weak symbol for - which we already have a definition, rather than checking in - several different places whether the symbol is weak. - -Tue Oct 12 17:30:51 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * configure.in (mips-*-elf*): New target; use mipsb-elf32. - * scripttempl/elf.sc: Only use OTHER_READONLY_SECTIONS and - OTHER_READWRITE_SECTIONS if relocating. Shell variables are not - expanded within them. - * config/mipsb-elf32.mt: New file. - * emulparams/elf32mipb.sh: New file. - * Makefile.in (em_elf32mipb.c): New target. - -Thu Sep 30 17:00:36 1993 Rob Savoye (rob@darkstar.cygnus.com) - - * ldgram.y: In input_list, change lang_input_file_is_file_enum to - lang_input_file_is_search_file_enum so objects brought in using - INPUT() do a path lookup. - -Tue Sep 28 13:31:23 1993 Stan Shebs (shebs@rtl.cygnus.com) - - * configure.in: Change Lynx ld_target to be {i386,m68k}-lynx - instead of {i386,m68k}-coff. - * Makefile.in (em_i386lynx.c, em_m68klynx.c): New targets. - * config/i386-lynx.mt: New file. - * config/m68k-lynx.mt: New file. - * emulparams/i386lynx.sh: New file. - * emulparams/m68klynx.sh: New file. - - * scripttempl/i386coff.sc: Make ENTRY get its value from ${ENTRY}, - but defaulting to _start. - - * ldemul.c, ldfile.c, ldlang.c, ldmain.c, ldmisc.c, ldmisc.h, - ldsym.c, ldwarn.c: Rename info to info_msg, to avoid conflict with - LynxOS libc. - -Thu Sep 23 14:51:03 1993 Ian Lance Taylor (ian@cygnus.com) - - * config/solaris2.mh: New file. Define HOSTING_CRT0 and - HOSTING_LIBS for testing. - -Fri Sep 17 17:52:24 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - Finish up support for i386-sysv4 (without shared libraries): - * ld.h (flag_is_weak): Define. - * ldlang.c (print_symbol): Mention whether symbol is weak. - (print_input_section): Print weak symbols as globals. - * ldmain.c (refize): Do not zero out BSF_WEAK flag. - (enter_global_ref): Do not warn if a weak symbol redefines a - global symbol. Do not let a weak symbol redefine a common symbol. - (enter_file_symbols): Treat weak symbols as global symbols. - (subfile_wanted_p): Do not pull in an object file from a archive - just to resolve an undefined weak symbol. - * ldmisc.c (vfinfo): Don't needlessly malloc space after a fatal - error; the error might be that malloc has run out of space. - * ldsym.c (write_file_locals): Treat weak symbols as global. - * configure.in (i[34]86-*-sysv4*, i[34]86-*-elf*): New targets; - use i386-elf. - * config/i386v4.mh: New file; set NATIVE_LIB_DIRS to /usr/ccs/lib. - * config/i386-elf.mt: New file; set EMUL to elf_i386. - * emulparams/elf_i386.sh: New file. - * scripttempl/elf.sc: Use ${NOP} as filler (defaults to 0). - * Makefile.in (NATIVE_LIB_DIRS): Define to be empty. - (ALL_EMULATIONS): Add em_elf_i386.o. - (GENSCRIPTS): Pass NATIVE_LIB_DIRS as sixth argument. - (em_elf_i386.c): New target, like other em_*.c targets. - ($(LD_PROG)): Pass $(CFLAGS) to $(CC). - * genscripts.sh: Accept NATIVE_LIB_DIRS as sixth argument. If - nonempty, and configured for native, add it to LIB_PATH. - -Fri Sep 17 13:07:39 1993 Stan Shebs (shebs@rtl.cygnus.com) - - * scripttempl/{h8300.sc,h8500.sc,i386coff.sc,m68kcoff.sc,sh.sc}: - Added statements to pass stab and stabstr sections through and - mark them as NOLOAD, which makes GDB happier. - -Wed Sep 15 16:02:29 1993 Stan Shebs (shebs@rtl.cygnus.com) - - * configure.in: Accept m68k-lynx-lynxos config. - - * Makefile.in: Use $(SHELL) to run genscripts.sh. - -Sun Sep 12 16:04:40 1993 Doug Evans (dje@cygnus.com) - - * config/coff-h8300.mt: Add EMUL=h8300h. - - * ldmain.c (main): Call set_scripts_dir after argv has been processed. - -Fri Sep 10 09:36:29 1993 Jeffrey Wheat (cassidy@cygnus.com) - - * Makefile.in: Changed CXX back to g++. - -Fri Sep 10 09:34:29 1993 Jeffrey Wheat (cassidy@cygnus.com) - - * Makefile.in: Fixed RUNTEST* CXX CXXFLAGS macros and check rule. - -Fri Sep 10 07:26:57 1993 David J. Mackenzie (djm@thepub.cygnus.com) - - * Makefile.in (TAGS): Use shell wildcards. - -Tue Sep 7 18:04:54 1993 Jeffrey Osier (jeffrey@cygnus.com) - - * Makefile.in: add TEXINPUTS variable and use it in ld.dvi target - -Fri Sep 3 16:46:41 1993 Roland H. Pesch (pesch@fowanton.cygnus.com) - - * ld.texinfo: re-enable included config file; conditionalize doc - for -oformat to interact properly with SingleFormat doc config - var; rename @up/@down to @raisesections/@lowersections. - -Wed Aug 25 16:29:56 1993 K. Richard Pixley (rich@sendai.cygnus.com) - - * configure.in: recognize m88110. - -Tue Aug 24 18:49:40 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) - - From Peter Hoogenboom <hoogen@shafer.cs.utah.edu>: - * emultempl/hppaosf.em (ld_hppaosf_emulation): Correct name for PA - ELF emulation is "elf32-hppa" not "elf-big". - (hppaosf_before_parse): Remove unneeded processing of environment - variables. - * scripttempl/hppaosf.sc: Include .hppa_linker_stubs sections in - .text segment of output file. - * emulparams/hppaosf.sh (OUTPUT_FORMAT): Use elf32-hppa. - -Tue Aug 24 16:17:00 1993 K. Richard Pixley (rich@sendai.cygnus.com) - - * ld.h: define BYTE_SIZE, SHORT_SIZE, and LONG_SIZE which are no - longer in bfd.h. - - * ldlang.c, ld.h: updated copyright. - -Tue Aug 17 15:22:03 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * ldlang.c (open_output, lang_check): Check return value of - bfd_set_arch_mach. - -Tue Aug 17 07:02:19 1993 Steve Chamberlain (sac@phydeaux.cygnus.com) - - * scripttempl/h8500.sc: Start all sections in a different segment. - * scripttempl/z8ksim.sc: Handle constructors - -Thu Aug 12 16:05:37 1993 Jeffrey Wheat (cassidy@cygnus.com) - - * Makefile.in: revert earlier changes back to execute runtest - with make check. cdtest and bootstrap now function as they - did within the Makefile. - -Thu Aug 12 10:20:05 1993 David J. Mackenzie (djm@thepub.cygnus.com) - - * Makefile.in: Update dependencies. - - * configure.in: Set EMULATION_OFILES in Makefile based on - --with-targets option. - -Thu Aug 12 08:52:29 1993 Jeffrey Wheat (cassidy@cygnus.com) - - * Makefile.in: check targets reimplemented to old way. - -Wed Aug 11 08:26:11 1993 Ian Lance Taylor (ian@cygnus.com) - - * config/i386v.mh, config/irix4.mh: Use gcc - -print-libgcc-file-name rather than $(libdir)/libgcc.a. - * config/i386sco.mh: New file; copy of i386v.mh to correspond to - bfd/configure.host change. - -Mon Aug 9 14:25:35 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) - - * scripttempl/elf.sc: Handle .line and .debug* sections. - - * ldlex.l: Use bfd_scan_vma, not strtoul. - -Fri Aug 6 08:57:39 1993 David J. Mackenzie (djm@thepub.cygnus.com) - - * ldexp.c, ldfile.c, ldlang.c, lexsup.c, ldmain.c, ldemul.c: - Remove inital caps in some error messages, change "can't" to - "cannot", add missing colons. - * ldmisc.c (vfinfo): Print "%%" as a single %. - For '%' followed by unrecognized character, print them both - verbatim instead of expecting a char * arg. - For '%C', don't put the function name in parens. - - * ldexp.c (invalid): Pass "%%", not "% ". - -Fri Aug 6 14:31:22 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * scripttempl/mips.sc: Always define _ftext, _fdata, _fbss. - (BSS_VAR): Removed; now always define _fbss. - * emulparams/mipsidt.sh, emulparams/mipsidtl.sh (BSS_VAR): - Removed. - -Thu Aug 5 15:55:19 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) - - * configure.in: z8k-coff is the same as z8k-sim - -Wed Aug 4 21:00:18 1993 Jeffrey Wheat (cassidy@cygnus.com) - - * testsuite/lib/ld.exp: new file - * testsuite/config/unix-ld.exp: new file - * testsuite/ld.bootstrap/bootstrap.exp: new file - * Makefile.in: add dejagnu support for make check - -Wed Aug 4 17:52:32 1993 David J. Mackenzie (djm@thepub.cygnus.com) - - * ldlex.l (comment): Add missing newline in message. - * ldindr.c (add_indirect): Ditto. - * ldexp.c (exp_fold_tree): Ditto. - -Tue Aug 3 10:57:41 1993 David J. Mackenzie (djm@thepub.cygnus.com) - - * ldgram.y, ldlex.l, mri.c, ldwrite.c: Change multiple commons - into externs. - - * ldmisc.c (multiple_warn): New function. - * ldmisc.h: Declare it. - * ldmain.c (enter_global_ref): Call it. - * ld.h (ld_config_type): Add warn_common. - * ldlex.l, ldgram.y: Set it with -warn-common option. - * ldver.c (help): Document it. - -Mon Aug 2 12:04:36 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) - - * scripttempl/elf.sc: Add hooks for .sdata, .sbss, and - target-specific sections, and for changing data section vma. - -Mon Jul 26 14:00:02 1993 Ken Raeburn (raeburn@deneb.cygnus.com) - - * ldgram.y (OPTION_Qy, OPTION_Y, OPTION_dn, OPTION_YP): New - terminals, for Solaris. - (dirlist_ptr): New static variable. - (command_line_option): Accept new options. - - * ldlex.l: Accept command-line options "-Qy", "-dn", "-Y", and - "-YP,...". - - * config/sun4sol2.mt: Pass emulation name without ".sh". - - * emulparams/elf32_sparc.c: Renamed from elf32-sparc.c. - * config/sun4sol2.mt (em_elf32_sparc.c): Adjusted accordingly. - -Fri Jul 23 13:51:09 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) - - * scripttempl/elf.sc: Add support for .init, .fini, .ctors, - .dtors, .data1, .rodata1 sections, instead of combining them into - other sections. For `-r', set all section start addresses to - zero. - - * emulparams/elf32-sparc.sh (TEXT_START_ADDR, - NONPAGED_TEXT_START_ADDR): Value should be 0x10100. - (MAXPAGESIZE): Renamed from PAGE_SIZE. - -Wed Jul 21 14:28:42 1993 David J. Mackenzie (djm@thepub.cygnus.com) - - * genscripts.sh: If this is the default emulation, set - COMPILE_IN. - * emultempl/*.em: Use it to determine whether to compile in the - scripts. - - * Makefile.in (GENSCRIPTS): Pass the default emulation name to - genscripts.sh. Pass the current emulation name without ".sh" on - the end. - * genscripts.sh: Take an default emulation arg. - Use the current emulation name as EMULATION_NAME. - Make default lib path for cross-compiling ':', not null. - * emulparams/*.sh: Don't set EMULATION_NAME. - * ldemul.c (ldemul_get_script): Take isfile arg. - Pass it to emulation's get_script function. - * ldemul.h: Adjust get_script prototypes. - * ldfile.c (ldfile_find_command_file): Renamed from find_a_name. - No longer static. - * ldfile.h: Declare it. - * ldgram.y: Accept a script on the command line again, - for parsing compiled-in scripts. - * ldmain.c (main): If ld script is a file, parse it as a -T - option, otherwise parse it directly. - * emultempl/*.em (*get_script): Return the scripts themselves if - this is the default emulation; otherwise return their file names. - * emultempl/m88kbcs.em: New file, to take m88kbcs #ifdef out of - generic.em. - * emulparams/m88kbcs.sh: Use it. - - * ld.h (ld_config_type::unix_relocate): Remove unused element. - -Tue Jul 20 12:01:49 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) - - * Makefile.in (ALL_EMULATIONS): Delete em_i386linux.o (for which - there's no change log entry yet, tsk tsk) from the list of - emulations compiled in until Mark gets around to checking in - emulparams/i386linux.sh. - (ldemul-list.h): Depend on Makefile, so if EMULATION_OFILES is - changed, this file gets updated. - -Fri Jul 16 14:14:32 1993 Ian Lance Taylor (ian@cygnus.com) - - * ldgram.y (OPTION_Lfile): New token. - (command_line_option): Accept OPTION_L NAME (whitespace after -L). - * ldlex.l (<COMMAND>): Accept -L without FILENAME. - -Fri Jul 16 13:44:26 1993 Doug Evans (dje@canuck.cygnus.com) - - * configure.in: h8/300h support needs own .mt file. - config/coff-h8300h.mt: New file. - -Thu Jul 15 12:44:35 1993 David J. Mackenzie (djm@thepub.cygnus.com) - - * ldmain.c: Don't include sys/stat.h; it already got included - somewhere along the way. - -Thu Jul 15 14:43:34 1993 Doug Evans (dje@canuck.cygnus.com) - - * Makefile.in: Add h8300h support. - emulparams/h8300h.sh: New file. - scripttempl/h8300h.sc: New file. - -Thu Jul 15 12:44:35 1993 David J. Mackenzie (djm@thepub.cygnus.com) - - * ldfile.c (ldfile_open_file): In error message, use the name the - user gave (e.g., "-lc"), rather than the base file name. - - * ldexp.c (exp_fold_tree): Don't assign an int to an enum. - - * ldmain.[ch]: Remove initial Q_ from function names. - * ldexp.c, ldindr.c, ldlang.c: Change callers. - - * ldfile.c, ldmain.c, ldgram.y: Rename option_v to trace_file_tries. - - * ldlang.c (lang_process): Move loading of default script from - here to main. Add a "/" to start of script name to prevent - finding it in "." first. - - * ldmain.c (set_scripts_dir): Don't look in "." first. - - * ldgram.y, ldlang.c, ldsym.c: Remove traces of unused var - option_longmap. - -Thu Jul 15 10:55:59 1993 Ian Lance Taylor (ian@cygnus.com) - - * Makefile.in (em_m88kbcs.c): Correct dependency. - * scripttempl/m88kbcs.sc: It's ARCH, not arch. Removed TARGET - statement. Changed OUTPUT_FORMAT to use ${OUTPUT_FORMAT}. - * emulparams/m88kbcs.sh: It's coff-m88kbcs, not m88kbcs. - -Wed Jul 14 21:42:53 1993 David J. Mackenzie (djm@thepub.cygnus.com) - - * ldfile.c (ldlang_open_file, ldfile_open_command_file), - main.c (main): Print the errno string in the error message. - -Tue Jul 13 20:00:30 1993 Doug Evans (dje@canuck.cygnus.com) - - * configure.in: Accept h8300h for target cpu. - - * ldmisc.c (vfinfo): Have demangle remove leading underscore if - present (demangle is smart enough to know whether to do it or not). - -Mon Jul 12 11:45:48 1993 David J. Mackenzie (djm@thepub.cygnus.com) - - * ldmain.c (set_scripts_dir): Check . and <ld bin dir>/../lib for - ldscripts, as well as <ld bin dir> and SCRIPTDIR. - - * ldlang.c (lang_process): Use sizeof instead of magic constant. - - * ldmain.c (get_emulation, check_for_scripts_dir, - set_scripts_dir): New functions. - (main): Call them. - -Mon Jul 12 10:57:03 1993 Ken Raeburn (raeburn@deneb.cygnus.com) - - * scripttempl/elf.sc: Include .init, .fini, .rodata sections. - Create symbol "end" instead of "__end". Comment out some parts - that may not be needed (yet) for elf. - - * configure.in: Accept sparc-elf and sparc-solaris2 configs. - -Thu Jul 8 15:33:32 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) - - * Makefile.in (ALL_EMULATIONS): Include $(OTHER_EMULATIONS). - - * ldmisc.h (einfo, minfo, info): Don't bother with PARAMS macro - when no prototype is being supplied. - (ldmalloc, ldrealloc): Size argument is now size_t. - - * ldmisc.c (finfo): New function, accepts FILE* argument. - (vfinfo, case 'v'): New format character; displays bfd_vma in hex - without leading zeros. - (vfinfo, cases 'R' and 'C'): Use finfo(%v) when displaying a - bfd_vma value, instead of fprintf(%x) which won't hold a long long - value. - (concat, buystring): String lengths are size_t. - (ldmalloc, ldrealloc, xrealloc): Size argument is now size_t. - - * ldlang.c (new_statement): Size argument is now size_t. Added - forward declaration with prototype. - -Thu Jul 8 10:53:47 1993 David J. Mackenzie (djm@thepub.cygnus.com) - - * ldgram.y (OPTION_v): Don't turn on verbose output. - -Wed Jul 7 17:10:45 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) - - * ldlex.l: Get rid of local typedef for bfd_vma! Get it from - bfd.h instead. - -Wed Jul 7 11:33:12 1993 Ian Lance Taylor (ian@cygnus.com) - - * Makefile.in (install): Don't install as $(tooldir)/bin/gld; - collect2 doesn't look for gld any more anyhow. - -Mon Jul 5 14:29:48 1993 Ian Lance Taylor (ian@cygnus.com) - - * ldlang.c (lang_relocate_globals): Skip indirect symbols, which - now have a non NULL srefs_chain. - - * config/hp300hpux.mt: Use emulation hp3hpux rather than - hp300hpux, since the latter does not exist. - -Fri Jul 2 18:06:05 1993 David J. Mackenzie (djm@thepub.cygnus.com) - - * genscripts.sh: Put the scripts in the ldscripts directory, not - emulations. - * configure.in (ldscripts): Make, instead of emulations. - * Makefile.in (scriptdir): Take off the "ld" part. - (install, clean, distclean): Use ldscripts, not emulations. - In tests, don't pass -Lemulations. - Don't pass tooldir/lib to genscripts.sh. - * genscripts.sh: Don't take tooldir/lib arg. - * ldlang.c (lang_process): Add "ldscripts/" to the name of the - default script file. - -Fri Jul 2 17:13:35 1993 Doug Evans (dje@canuck.cygnus.com) - - * scripttempl/h8300.sc: Add .tors section for constructor/destructors. - -Thu Jul 1 16:38:45 1993 Doug Evans (dje@canuck.cygnus.com) - - * config/coff-h8300.mt: EMUL=h8300hms -> h8300. - -Wed Jun 30 15:45:55 1993 K. Richard Pixley (rich@sendai.cygnus.com) - - * Makefile.in (.y.c): skip default .y.c rules. gnu make can now - run in parallel without colliding on yacc's static file names. - Without the stub rule, make will try to start two yacc's - concurrently which fails because of yacc's static file names. - -Tue Jun 29 12:20:36 1993 Ian Lance Taylor (ian@cygnus.com) - - * ldmain.c (subfile_wanted_p): Don't dump core if there are no - symbols. - -Mon Jun 28 12:22:11 1993 David J. Mackenzie (djm@thepub.cygnus.com) - - * genscripts.sh (LIB_PATH): Only add /usr/local/lib if it's - different from libdir. - - * Makefile.in (scriptdir): Base on tooldir, not datadir. - -Sat Jun 26 12:03:57 1993 David J. Mackenzie (djm@thepub.cygnus.com) - - * ldver.c (help): New function. - * ldver.h: Declare it. - * ldlex.l, ldgram.y: Recognize new options --help and --version. - -Mon Jun 21 20:39:48 1993 Ken Raeburn (raeburn@poseidon.cygnus.com) - - * Makefile.in (INCLUDES): Don't need ../include any more. - -Mon Jun 21 16:38:35 1993 David J. Mackenzie (djm@thepub.cygnus.com) - - * ldlex.l, ldgram.y: Support new -oformat option. - Remove attempt at supporting script fragments on the command line. - * ldlang.c (lang_add_output_format): Take new arg, FROM_SCRIPT. - * mri.c (mri_format), ldgram.y: Change callers. - * ldlang.h: Change prototype. - -Thu Jun 17 16:53:56 1993 david d `zoo' zuhn (zoo@cygnus.com) - - * Makefile.in: canonicalize install.sh; for use within - this directory (and subdirs) - -Thu Jun 17 14:33:09 1993 David J. Mackenzie (djm@thepub.cygnus.com) - - * ldgram.y: Tweak grammar to make reporting of invalid options work. - - * Makefile.in (.cc.o): Restore .SUFFIXES entry for .cc - and .cc.o rule. - -Wed Jun 16 11:45:32 1993 David J. Mackenzie (djm@thepub.cygnus.com) - - * ldfile.c (ldfile_open_command): Don't try .ld extension. - It wasn't documented (or likely used) and wastes time. - (try_open): If EXTEN is empty, don't try it. - - * ldctor.c, lderror.c, ldexp.c, ldfile.c, ldindr.c, ldlang.c, - ldlex.l, ldmain.c, ldmisc.c, ldsym.c, ldver.c, ldwarn.c, - ldwrite.c, lexsup.c, mri.c, relax.c: Replace DEFUN macro calls - with normal function declarations. - - * Move *.em to emultempl/*.em. Move *.sh to emulparams/*.sh. - Move *.sc-sh to scripttempl/*.sc. - * {emultempl,emulparams,scripttempl}/README: New files. - * sh.em, st2000.em, z8ksim.em, h8300hms.em, h8500hms.em: Files - removed, replaced with generic.em. - * h8300.sh, h8500.sh, h8300.sc, h8500.sc: Renamed from - h8[35]00hms.s[ch]. Change their contents to omit the "hms". - - * *.em (*_get_script): Return script name instead of script contents. - * ldlang.c (lang_process): Change caller. - - * ldlex.l, ldgram.y: Recognize -m option. - Check for input files after *all* options in grammar. - * ldmain.c (main): Check for -m options. Add default directory - for -m. - - * mkscript.c: File removed. - * genscripts.sh: Take two more parameters, tooldirlib and libdir, - to add to the default LIB_PATH. - Look for input files in the new subdirectories. - Create the scripts in emulations subdirectory and don't filter - them through mkscript. - * configure.in: Make the emulations subdirectory. - - * Makefile.in: Account for all of the above changes. - Remove unused .SUFFIXES. Get libgcc.a path with gcc - -print-libgcc-file-name instead of $(libdir)/libgcc.a. - Put CFLAGS last in the compilation rules. - Add -I../bfd to INCLUDES so sysdep.h is found. - -Tue Jun 15 23:04:46 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) - - * Makefile.in (INCLUDES): Look in ../include, not ../bfd. - - * aout.sc-sh: Add SHLIB_PATH like STACKZERO. Make STACKZERO - dependent on RELOCATING, not RELOCATION. - * hp3hpux.sh (SHLIB_PATH): Define it. - -Mon Jun 14 19:06:15 1993 David J. Mackenzie (djm@thepub.cygnus.com) - - * ldfile.c (try_open): If opening without the extension fails, - try with the extension even if -v or -V was given. - had_script is imported (from ldgram.y), not exported. - -Mon Jun 14 16:26:10 1993 david d `zoo' zuhn (zoo at rtl.cygnus.com) - - * Makefile.in: remove parentdir support, use INSTALL_XFORM - -Thu Jun 10 14:00:06 1993 Ian Lance Taylor (ian@cygnus.com) - - * ldexp.c (exp_fold_tree): Don't lose the old flag bits. - * ldgram.y (statement_list_opt): New nonterminal, either empty or - statement_list. - (section): Use statement_list_opt, not statement_list. - * m68kcoff.sc-sh: Gather constructors and destructors and define - __CTOR_LIST__ and __DTOR_LIST__ appropriately. - * sa29200.sc-sh: Gather constructors and destructors and define - ___CTOR_LIST__ and ___DTOR_LIST__ appropriately. - -Mon Jun 7 12:53:28 1993 Per Bothner (bothner@rtl.cygnus.com) - - * Makefile.in (INCLUDES): Add -I../bfd for sysdep.h and bfd.h. - * configure.in: No longer need to configure to get sysdep.h. - -Fri Jun 4 16:18:24 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * Makefile.in: remove install:all and install-info:info - dependencies (these cause some spurious rebuilds at 'make install' - time) - -Fri Jun 4 08:50:14 1993 Ian Lance Taylor (ian@cygnus.com) - - * configure.in (mips-idt-ecoffl*): New target; use mips-idtl. - (mips-idt-ecoff*): Added trailing '*'. - * config/mips-idtl.mt: New file; use EMUL of mipsidtl. - * mipsidtl.sh: New file; like mipsidt.sh, but little endian. - * Makefile.in (ALL_EMULATIONS): Added em_mipsidtl.o. - - * config/sun3.mh (HOSTING_LIBS, HOSTING_EMU): Removed obsolete and - incorrect definitions. - -Tue Jun 1 14:56:10 1993 Per Bothner (bothner@rtl.cygnus.com) - - * ldsym.c (write_file_locals): Write BSF_CONSTRUCTOR - symbols, unless stripping. - -Tue May 25 15:34:25 1993 Ian Lance Taylor (ian@cygnus.com) - - * Makefile.in: configure looks for ####, so remove lines with many - '#' characters. - * config/irix4.mh, config/i386v.mh: New files; set HOSTING_CRT0 - and HOSTING_LIBS correctly so that ``make check'' will work. - -Thu May 20 13:56:16 1993 Per Bothner (bothner@deneb.cygnus.com) - - * mips.sc-sh: Define _etext, _edata, and _end, in addition - to etext, edata, and end. Needed for IRIX 4.0.5F. - Patch from mwp@iconix.oz.au (Michael Paddon). - - * Version 2.2.1 released. - -Thu May 20 11:42:06 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) - - * mipsbsd.sc-sh: Renamed from aout-mipsbsd.sc-sh. - * mipsbsd.sh (EMULATION_NAME): Use new file name. - -Tue May 18 17:10:24 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) - - * Makefile.in (LDDISTSTUFF): Remove ld.mm since we can't build it - properly right now. - - * Version 2.2 released. - -Mon May 17 15:37:28 1993 Ken Raeburn (raeburn@deneb.cygnus.com) - - * ldver.c (ldversion): Bump version number to 2.2. - -Mon May 17 12:44:31 1993 Per Bothner (bothner@cygnus.com) - - * NEWS: New file. - -Fri May 14 11:26:24 1993 Ian Lance Taylor (ian@cygnus.com) - - * mips.sc-sh: Don't define BSS_VAR unless relocating. - -Wed May 12 13:33:29 1993 Ian Lance Taylor (ian@cygnus.com) - - * Makefile.in (mkscript.o, mkscript): Build mkscript via - mkscript.o, rather than directly from mkscript.c. - -Tue May 4 21:58:56 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) - - * configure.in: Look for ${target_makefile_frag} relative to - ${srcdir}, not relative to build directory. - - * hppaosf.em, hppaosf.sc-sh, hppaosf.sh: New files. - * configure.in: Recognize hppa*-hp-osf. - * Makefile.in (ALL_EMULATIONS): Include hppaosf emulation. - (em_hppaosf.c): Build it. - * config/hppaosf.mh, hppaosf.mt: New files. - - * ld.h (ALIGN_N): Renamed from ALIGN, because that conflicted with - some system header files. All uses changed. - - * configure.in: Recognize i386-aix configurations as i386-coff - targets. - - * configure.in: Recognize m68*-*-hpux. - * aout.sc-sh: If STACKZERO and RELOCATING are both defined, output - the value of STACKZERO. - * Makefile.in (ALL_EMULATIONS): Include hp300-hpux emulation. - (em_hp3hpux.c): Build it. - * hp3hpux.sh, config/hp300hpux.mt: New files. - -Tue May 4 12:37:35 1993 Ian Lance Taylor (ian@cygnus.com) - - * mips.sc-sh: Put constructors in the .data section. - * Makefile.in (cdtest): Added dependency on ld.new. - -Mon May 3 19:43:39 1993 Per Bothner (bothner@cygnus.com) - - * Makefile.in: Change definition of $(tooldir) to match FSF. - * vax.sh, config/vax.mt, configure.in, Makefile.in: - Support VAX Ultrix and BSD. - -Mon Apr 26 18:35:47 1993 Steve Chamberlain (sac@thepub.cygnus.com) - - * sh.em, sh.sh, sh.sc-sh: New files supporting Hitachi SH. - -Wed Apr 14 21:01:51 1993 John Gilmore (gnu@cygnus.com) - - * ldlang.h (struct memory_region): Change `length' and - `old_length' fields to bfd_size_type. Eliminate use of bfd_offset. - * ldlang.c, mri.c: Corresponding changes, plus lint. - -Thu Apr 8 22:08:18 1993 Ian Lance Taylor (ian@cygnus.com) - - * configure.in: For all i386 targets, accept i486 as well. - -Mon Apr 5 17:33:39 1993 Ian Lance Taylor (ian@cygnus.com) - - * ldlang.c (wild_doit): Preserve all flags for a - SEC_SHARED_LIBRARY section. - (size_input_section): Consider any SEC_HAS_CONTENTS section when - computing largest_section. - -Fri Apr 2 14:33:52 1993 Ian Lance Taylor (ian@cygnus.com) - - * ldlang.c (lang_output_section_statement_lookup): Initialize all - fields of newly created structure. - -Wed Mar 31 18:19:15 1993 Ian Lance Taylor (ian@cygnus.com) - - * ldmain.c (g_switch_value): New variable. - * ldgram.y (OPTION_G, OPTION_Gval): New tokens. - (command_line_option): Accept -G and set g_switch_value. - * ldlex.l (COMMAND): Accept -G. - * ldlang.c (open_output): Call bfd_set_gp_size on new BFD. - -Tue Mar 30 09:40:25 1993 Steve Chamberlain (sac@thepub.cygnus.com) - - Support for linking and loading at different places: - - * ldlex.l: Add "AT" keyword. - * ldgram.y: Cleanup, and parse AT. - * ldlang.c (print_output_section_statement): Print output address - of section in map. (lang_size_sections): Fill sections' lma with - load address. - * ldlang.h (lang_output_section_statement_type): Add load_base - information. - - * ldindr.c (add_indirect): Keep more information in the alias - symbol chain. - * ldlang.c (wild_doit): Don't inherit NEVER_LOAD section - attribute from an input section. - * ldmain.c (Q_enter_file_symbols): Common section is NEVER_LOAD by - default. (Q_enter_file_symbos): Indirect symbols now are known by - their section, not a special symbol flag. - * ldsym.c (write_file_locals): Indirect symbols aren't local. - (write_file_globals): Write the mapping for an indirect symbol. - * relax.c (build_it): When forced to write a NEVER_LOAD section, - fill it with zeros. - -Tue Mar 23 13:24:10 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com) - - * ld.texinfo: changes for q1 - -Tue Mar 23 00:13:29 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * Makefile.in: add dvi target, define & use TEXI2DVI, add installcheck - -Mon Mar 8 20:30:35 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * Makefile.in: rename HOST_CC to CC_FOR_BUILD - -Thu Mar 4 12:44:33 1993 Ian Lance Taylor (ian@cygnus.com) - - * mips.sc-sh: Added variables which may be overridden by a - specific emulation. - * mipsidt.sh: New file; emulation for IDT MIPS board. - * Makefile.in (ALL_EMULATIONS): Added em_mipsidt.o. - (em_mipsidt.c): New target. Uses mipsidt.sh and mips.sc-sh. - * config/mips-idt.mt: New file; sets EMUL to mipsidt. - * configure.in (mips-idt-ecoff): New target; uses mips-idt. - -Sat Feb 27 00:00:14 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) - - * aout-mipsbsd.sc-sh, mipsbsd.sh: New files from Ralph Campbell, - ralphc@pyramid.com. - * i386bsd.sh, config/i386bsd.mt: New files. - * configure.in, Makefile.in: Added support for mipsbsd and 386bsd. - -Thu Feb 25 15:33:10 1993 Per Bothner (bothner@rtl.cygnus.com) - - * mri.c: Add extern declaration of strdup. - * ldsym.c (KEEP macro): Add spaces around '=' for the - sake of old (e.g. PCC) compilers. - -Wed Feb 24 19:49:31 1993 Per Bothner (bothner@rtl.cygnus.com) - - * ldver.c: Bump to version 2.1. - -Fri Feb 12 08:09:11 1993 Steve Chamberlain (sac@thepub.cygnus.com) - - * ldgram.y: allow section types without address expressions. - * ldlang.c (lang_relocate_globals): avoid possible hang with - undefined but unreferenced symbols. - * relax.c (relax_section): don't complain if the script file isn't - relaxable but -relax is set - -Thu Feb 18 17:58:45 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * configure.in: go32 is the 3rd part of the triple, not the 2nd - -Wed Feb 3 09:05:56 1993 Ian Lance Taylor (ian@cygnus.com) - - * mipsbig.sh: New file. Big endian MIPS emulation. - * config/mips-big.mt: New file. Use mipsbig emulation. - * configure.in (mips-sgi-irix*): Use target mips-big. - * Makefile.in (ALL_EMULATIONS): Added em_mipsbig.o. - (em_mipsbig.c): New target. Uses mipsbig.sh. - -Tue Feb 2 11:32:27 1993 Ian Lance Taylor (ian@cygnus.com) - - * mips.sc-sh: Put .scommon sections into .sbss section. - - * ldmain.c (subfile_wanted_p): Preserve section of common symbols, - rather than always putting them in bfd_com_section. - * ldlang.c (lang_common): If a common symbol is not in - bfd_com_section, put in a section of the same name, rather than - always putting it in section COMMON. - -Fri Jan 29 09:57:58 1993 Ian Lance Taylor (ian@cygnus.com) - - * ldmain.c (subfile_wanted_p): If we already have a common - definition of a symbol, don't necessarily pull in an object file - that provides a non-common definition. - - * ldlex.l (COMMAND): Accept -EB and -EL command line arguments, - returning OPTION_EB and OPTION_EL. gcc passes these to a MIPS - linker. - * ldgram.y (OPTION_EB, OPTION_EL): New tokens. - (command_line_option): Accept and ignore OPTION_EB and OPTION_EL. - -Thu Jan 28 15:12:04 1993 Ian Lance Taylor (ian@cygnus.com) - - * Makefile.in (install): Remove $(tooldir)/bin/gld before creating - the link to it. - -Tue Jan 26 11:49:50 1993 Ian Lance Taylor (ian@cygnus.com) - - * ldmain.c, ldsym.c: Use new bfd_is_com_section macro rather than - checking for equality to bfd_com_section. - -Fri Jan 22 14:22:44 1993 Ian Lance Taylor (ian@cygnus.com) - - * mips.sc-sh: New file. Ultrix, and hopefully other MIPS ECOFF - targets, linker script. - * mipslit.sh: New file. Little endian MIPS emulation. - * config/mips-lit.mt: New file. Use mipslit emulation. - * configure.in (mips-dec-ultrix*): Use target mips-lit. - * Makefile.in (ALL_EMULATIONS): Added em_mipslit.o. - (em_mipslit.c): New target. Uses mipslit.sh. - -Thu Jan 14 15:30:27 1993 Ian Lance Taylor (ian@cygnus.com) - - * Makefile.in (install): Install ld as both $(tooldir)/bin/ld and - $(tooldir)/bin/gld, so that gcc can find it with or without - collect2. - -Mon Jan 11 18:50:07 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * ldwrite.c: Removed perform_relocation, copy_and_relocate, and - write_norel. All linking is now done via write_relax. Call - ldsym_write before calling write_relax. - * relax.c: Added copyright. - (write_relax): Renamed from write_relaxnorel. Added relocateable - argument. seclet_dump renamed to bfd_seclet_link. - * relax.h: Added copyright. - -Mon Jan 11 15:41:56 1993 Steve Chamberlain (sac@thepub.cygnus.com) - - * ldmain.c (decode_library_subfile): Patch from - hoogen@shafer.cs.utah.edu, don't reread library symbol tables. - -Fri Jan 8 18:04:33 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * config/vxworks960.mt renamed to config/i960.mt - - * configure.in: sparc-aout emulates a sun4, as does - sparc*-vxworks, i960-nindy uses gld960 emulation - -Fri Jan 8 14:39:07 1993 Steve Chamberlain (sac@thepub.cygnus.com) - - Fix support for NOLOAD, add INCLUDE - * ldfile.c (ldfile_open_command_file): pass file name to - lex_push_file. - * ldlex.l, ldgram.y: tidy up, parse INCLUDE and NOLOAD - * ldlang.c (wild_doit): make output sections inherit NEVER_LOAD - attribute. - -Thu Jan 7 10:22:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * Makefile.in, config.h: no more default emulation. Make the lack - of emulation a compile time error - -Wed Jan 6 01:08:37 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * configure.in: recognise all sparclite variants, not just 'sparclite' - -Mon Dec 28 11:15:35 1992 Ian Lance Taylor (ian@cygnus.com) - - * m68kcoff.sc-sh: define _end as well as end, for consistency with - aout.sc-sh. - - * configure.in: accept *-ericsson-ose for any m68k CPU. - - * ldwrite.c (write_rel): don't always set SEC_HAS_CONTENTS flag - for each output section. - -Mon Dec 21 16:06:59 1992 Per Bothner (bothner@rtl.cygnus.com) - - * ldexp.c, ldlang.c, ldmain.c, ldsym.c, ldwarn.c: Use new - macro bfd_asymbol_bfd as appropriate. - * Makefile.in: Un-duplicate ldlex.c dependency. - * condigure.in: Replace my_host case table by sourcing - ../bfd/configure.host. Allow std-host as the default. - * ldmisc.c: Change logic for C++ name demangling: There is - no initial '_' to remove from stab-derived function names. - -Sun Dec 13 16:31:26 1992 Steve Chamberlain (sac@thepub.cygnus.com) - - * ldlang.c (lang_init_script_file): don't attach the output file - sections to the script file. - -Wed Dec 9 08:38:05 1992 Steve Chamberlain (sac@thepub.cygnus.com) - * ldlang.c (wild): run expansion loop over command line bfd too. - (lang_ini_script_file): initialize more parts of the command line - bfd. - * ldlex.l: fix DEFINED start states. - -Mon Dec 7 08:43:41 1992 Steve Chamberlain (sac@thepub.cygnus.com) - -y support - * ld.texinfo: new doc. - * ldgram.y, ldlex.l: understand -y<symbol> - * ldmain.c (Q_enter_file_symbols): if had -y, lookup symbol and - print info. (add_ysym): new function. - * ldsym.h: (ldsym_type): new define SYM_Y. - -Sat Nov 21 03:15:27 1992 John Gilmore (gnu@cygnus.com) - - * ldctor.h, lderror.h, ldexp.h, ldfile.h, ldindr.h, ldlang.c, - ldlang.h, ldlex.h, ldmain.h, ldmisc.h, ldsym.h, ldver.h, ldwarn.h, - ldwrite.h, relax.h: Replace all uses of EXFUN and PROTO ansi-glue - macros with PARAMS. Recreational cleanup. Update copyrights. - -Tue Nov 10 00:23:37 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * Makefile.in: pass down the bfd source directory for includes - -Thu Nov 5 15:41:55 1992 Ian Lance Taylor (ian@cygnus.com) - - * ldlang.c (lang_size_sections): don't change size and address for - SEC_SHARED_LIBRARY sections rather than for SEC_NEVER_LOAD - sections. - -Thu Nov 5 11:33:57 1992 Steve Chamberlain (sac@thepub.cygnus.com) - - * relax.c (build_it): re-enable the processing of data_statements - in scripts, makes counted contructor lists work again. - -Thu Nov 5 05:43:01 1992 John Gilmore (gnu@cygnus.com) - - * ldemul.h: Remove uses of SDEF and PROTO macros (use PARAMS). - -Tue Oct 20 10:56:06 1992 Ian Lance Taylor (ian@cygnus.com) - - * m68kcoff.sc-sh: don't use initial underscores for etext, edata - and end. - -Mon Oct 19 09:45:38 1992 Ian Lance Taylor (ian@cygnus.com) - - * Support for i386-sysv. - configure.in: check for i386-*-sysv* and i386-*-sco*. - i386coff.sc-sh: rewrote to support SVR3 by default. - ldctor.c (find_constructors): preserve stat_ptr. - ldlang.c (wild_doit): initialize vma and size of new output - section to corresponding input section. This is required for - shared library support. - (lang_size_sections): don't modify vma and size of sections which - are never loaded (for shared libraries). - ldwrite.c (copy_and_relocate): copy the contents of any section - which has contents, not just sections which are loaded (for shared - libraries). - -Thu Oct 15 15:20:26 1992 Steve Chamberlain (sac@thepub.cygnus.com) - - * ldlang.c (size_input_section): count the sizes of all sections - we allocate. - -Thu Oct 8 09:05:25 1992 Steve Chamberlain (sac@thepub.cygnus.com) - - * ldmisc.c (demangle,vfinfo): use the new underscore in bfd to - to demangle symbols better - -Tue Oct 6 13:08:54 1992 Ian Lance Taylor (ian@cygnus.com) - - * ldlang.c (lang_finish): don't warn if -e start symbol does not - exist when linking with -r. - -Mon Oct 5 14:07:37 1992 Ian Lance Taylor (ian@cygnus.com) - - * aout.sc-sh, m68kcoff.sc-sh: set __bss_start to the start of the - .bss segment. - -Mon Oct 5 08:55:14 1992 Steve Chamberlain (sac@thepub.cygnus.com) - - * ldmain.c (linear_library): don't even think about processing - an object file if it's already been done - -Thu Oct 1 23:14:59 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * configure.in: the hp9000/300 config file is now hp300 - -Wed Sep 30 07:34:09 1992 Steve Chamberlain (sac@thepub.cygnus.com) - - * config/z8ksim.mt: new file - -Fri Sep 25 13:49:52 1992 Ken Raeburn (raeburn@kyriath.cygnus.com) - - * Makefile.in (ldexp.o, ldctor.o, ldlang.o, ldmain.o, ldwrite.o, - lexsup.o, mri.o, relax.o): Indicate dependence on ldgram.h. - - * ld.h (strip_symbols_type): Add value STRIP_SOME. - * ldgram.y (OPTION_RETAIN_SYMBOLS_FILE): New terminal token. - * ldlang.c (lang_add_keepsyms_file): New function. - * ldlex.l: Handle "-retain-symbols-file". - * ldsym.c (keepsyms_file, kept_syms): New vars. - (process_keepsyms): New functihon; reads file, marks symbols for - saving. - (write_file_locals): File symbols should always be kept. - (ldsym_write): Warn about "-retain-symbols-file" overriding "-S" - and "-s". Process retain-symbols file before setting symtab. - * ldsym.h (SYM_KEEP): New flag for ldsym_type flags. - (keepsyms_file, kept_syms): Declare them. - - * ldmain.c (main): Non-fatal errors should still cause non-zero - exit status even with -r. - -Fri Sep 25 11:08:01 1992 Steve Chamberlain (sac@thepub.cygnus.com) - - Added initial support for the z8k - * z8ksim.em, z8ksim.sc-sh, z8ksim.sh: new files - * configure.in, Makefile.in: modified to reflect above - - * ldlang.c (lang_check): when linking conflicting architectures, - make the output file reflect at least one of the bad inputs. - -Tue Sep 15 15:35:38 1992 Ian Lance Taylor (ian@cygnus.com) - - * Makefile.in (install): if $(tooldir) exists, install ld in - $(tooldir)/bin. - -Fri Sep 11 10:24:22 1992 Steve Chamberlain (sac@thepub.cygnus.com) - - * Makefile.in, configure.in: modified to support i386-coff - * i386coff.sh: new file - -Wed Sep 9 11:52:58 1992 Ian Lance Taylor (ian@cygnus.com) - - * Makefile.in, m68kcoff.sh, m68kcoff.sc-sh, config/m68k-coff.mt: - added m68k-coff emulation mode, stolen from a29k emulation. - Almost certainly wrong, but perhaps better than sun3. - -Thu Sep 3 14:19:30 1992 Per Bothner (bothner@rtl.cygnus.com) - - * Makefile.in, Makefile.dos, generic.em, genscripts.sh, - gld960.em, h8300hms.em, h8300xray.em, lnk960.em, st2000.em, - vanilla.em: Rename all (generated) ld__*.c files to em_.c. - This is one character shorter, and lets people build on - SVR3 system. (ld__h8300xray.[co] was the killer there; - h8300xray.sc-sh is also overlong, but seems harmless.) - Based on a patch from Jonathan Ryshpan <hitachi!amito!jon>. - * Makefile.in (clean): Fix typo mostclean -> mostlyclean. - * configure.in: Add host isc. - - * ldver.c: Call it version 2.0. - -Wed Sep 2 00:21:33 1992 Per Bothner (bothner@rtl.cygnus.com) - - * ldver.c: Bump to version 0.98. - * TODO: New file. - - * Makefile.in: Added mostlyclean, distclean, realclean rules. - -Tue Sep 1 23:42:16 1992 Per Bothner (bothner@rtl.cygnus.com) - - * ldmisc.c (xrealloc): New (needed by ../libiberty/cplus.dem.c). - * ldlex.l: Moved comment() to end, since some compilers - otherwise have problems with input() used before it is defined. - -Tue Sep 1 17:45:51 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * configure.in: added Solaris 2 and Irix 4 host support. - -Mon Aug 31 19:27:11 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * Makefile.in: remove -S flag from the FLEX definition - - * configure.in: rewrote, using new style case statement. use - m68k.mt for m68k-aout systems - -Sun Aug 30 21:38:53 1992 Ian Lance Taylor (ian@cygnus.com) - - * Makefile.in: map "ld" through program_transform_name when - installing. - -Sun Aug 30 18:12:13 1992 Per Bothner (bothner@rtl.cygnus.com) - - * cplus-dem.c: Removed. Use the version in libiberty now. - * ldmisc.c: Use new libiberty version of cplus_demangle(). - -Thu Aug 27 16:38:42 1992 Ian Lance Taylor (ian@cygnus.com) - - * gld960.em (gld960_choose_target): default to little endian, not - big endian. - -Wed Aug 26 17:28:51 1992 Steve Chamberlain (sac@thepub.cygnus.com) - - * ldlang.c (lang_process): don't pass null pointers when - abs_output_section is what is required. - * ldwrite.c (ldwrite): use malloc to allocate the largest space - used, and pass that down. - * relax.c,relax.h (write_relaxnorel): use the passed malloc area rather - than alloca. - -Mon Aug 24 14:42:06 1992 Ian Lance Taylor (ian@cygnus.com) - - * configure.in, config/ose68.mt: renamed OSE to ose. - -Thu Aug 20 19:55:22 1992 Ken Raeburn (raeburn@cygnus.com) - - * ldsym.c (write_file_locals): Reorder check for common or - undefined symbols so that it works. - -Tue Aug 18 13:41:36 1992 Ian Lance Taylor (ian@cygnus.com) - - * configure.in: accept all m68K family members. - - * Makefile.in: always create installation directories. - -Thu Aug 13 11:49:34 1992 Steve Chamberlain (sac@thepub.cygnus.com) - - * ldlex.l: now parses comment correctly, added ~ to acceptable - chars in filenames - - * ldexp.c (exp_unop): pass down abs_output_section - now can have - unary -ve constants. - - * ldlang.c (lang_finish): warn when an entry symbol supplied on - the command line can't be found. - -Fri Aug 7 12:31:10 1992 Steve Chamberlain (sac@thepub.cygnus.com) - - * ldlang.h: add new field "loadable" to output_section_statement. - * ldlang.c (lang_output_section_statement_lookup): initilize new - field. (wild_doit): if new field is not set, then stop output - section from being loadable. - (lang_enter_output_section_statement): set the field from the - NOLOAD keyword - * ldgram.y: new synax for NOLOAD. Removes a shift/reduce too. - * h8300hms.sc-sh, h8300hms.em: get -r right. - -Thu Aug 6 18:35:21 1992 Per Bothner (bothner@rtl.cygnus.com) - - * ldint.texinfo: New internals manual (beginnings thereof). - * PORTING: Removed, merged into ldint.texinfo. - -Tue Aug 4 21:12:29 1992 Per Bothner (bothner@rtl.cygnus.com) - - * cdtest-main.cc, cdtest-func.cc, cdtest-foo.h, cdtest-foo.cc, - cdtest.exp: A test program (copied from libg++/test-install) - that tests that constructor and destructors are handled - corrrectly. - -Mon Aug 3 14:58:19 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * Makefile.in (install): install from ld.new, renaming during the - copy, or else the next 'make install' needs to re-link ld. - -Mon Jul 20 03:37:06 1992 D. V. Henkel-Wallace (gumby@cygnus.com) - - * configure.in: generalise hp recognition (from sef). - -Sat Jul 18 14:46:04 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * configure.in: recognize bsd and hpux hppa configurations. - error messages echo to stderr, not stdout - -Fri Jul 17 22:06:11 1992 K. Richard Pixley (rich@rtl.cygnus.com) - - * Makefile.dos, gld.1, ld.texinfo, ldemul.c, ldfile.c, ldlang.c, - ldmisc.c: removed rcsid's. - -Tue Jul 14 08:34:34 1992 Steve Chamberlain (sac@thepub.cygnus.com) - - * ldlang.c (lang_map): print changes in sizes due to relaxing - (size_input_section): maintain the delta information. - * ldlang.h: add new field to struct to contain delta info. - * relax.c (relax_section): complain if input not relaxable. - * ldlex.l : add '_', ',' and '$' to chars which can appear at the - start of a filename - -Mon Jul 13 17:33:00 1992 Steve Chamberlain (sac@thepub.cygnus.com) - - * ldmain.c(main): prevent -r and -relax from being on at the same - time. - -Wed Jul 1 17:51:19 1992 Steve Chamberlain (sac@thepub.cygnus.com) - - * ldmain.c (Q_enter_global_ref), ldindr.c (add_indirect): fix for - aliasing problems - - -Thu Jun 18 09:38:56 1992 Steve Chamberlain (sac@thepub.cygnus.com) - - * h8300hms.em, h8300hms.sc-sh: do the right thing for -r - * ldexp.c: lint - * ldlang.c(open_output): set the target arch and machine as soon - as we can. (lang_size_sections): use new macros for setting vma - * ldwrite.c: lint - -Mon Jun 15 08:47:43 1992 Michael Tiemann (tiemann@rtl.cygnus.com) - - * configure.in (my_target): Accept m680?0 for wrs as vxworks68. - Also deleted an unreachable path to wrs. - -Wed May 27 23:24:19 1992 Michael Tiemann (tiemann@rtl.cygnus.com) - - * Makefile.in (install): use -d test for $tooldir before - installing ld there so that $tooldir can be inherited from - top-level Makefile. - -Wed May 27 16:56:48 1992 Per Bothner (bothner@rtl.cygnus.com) - - * ldlang.c: Two non-substantial changes for the sake of - the old Portable C Compiler. - -Wed May 27 15:15:58 1992 Steve Chamberlain (sac@thepub.cygnus.com) - - * ldgram.y, ldlex.l: parse ABSOLUTE - * ldexp.c: add support for ABSOLUTE - -Wed May 27 13:07:20 1992 Per Bothner (bothner@rtl.cygnus.com) - - * Makefile.in: Added default definitions for HOSTING_CRT0, - HOSTING_LIBS, and HOSTING_EMU, based on those in config/*.mh. - * config/*.mh: Miscellaneous clean-up: Removed definitions - of YACC (since it is not longer used in the Makefile). - Remove HOSTING_* definitions that are subsumed by the - ones added to Makefile.in. Removed most definitions of CC. - * config/{sparc,news,hp300bsd,decstation}.mh: Removed; - These are no longer needed. - -Fri May 22 13:47:19 1992 Per Bothner (bothner@cygnus.com) - - * Makefile.in: Use srcdir instead of VPATH in ldgram/ldlex - rules, since these are used when building a distribution. - * Makefile.in (ldlex.c): Don't re-direct output, since that - leaves a bogus output files if it fails. - - * config/sparc.mh: Fix HOSTING_LIBS so it has a chance of working. - * ldlex.c: Fix some unnecessary flex-specific-isms. - -Fri May 8 11:49:43 1992 Steve Chamberlain (sac@thepub.cygnus.com) - - * ldgram.y: move spurious semicolon - * ldexp.h: fix prototype - -Thu May 7 17:01:12 1992 Roland H. Pesch (pesch@fowanton.cygnus.com) - - * ld.texinfo: references to linker now say "ld" not "gld". - -Wed May 6 13:26:19 1992 Steve Chamberlain (sac@thepub.cygnus.com) - - changed calling convention for Q_enter_global_ref - * ldexp.c, ldlang.c, ldmain.c: reflect this - * ldver.c: bump version to 1.97.1 - * ldindr.c (add_indirect): when an edict declaring an indirect - symbol is found, make sure that any ideas about the symbol being - common are changed if it now known to be defined. - * ldmain.c (linear_library): complain once if archive isn't - ranlibbed. - * ldlang.h, ldlang.c: make room for and initialize the complain - once field. - -Wed May 6 11:07:35 1992 K. Richard Pixley (rich@rtl.cygnus.com) - - * Makefile.in: use flex & bison from ../ if they exist. - -Tue May 5 17:47:33 1992 Steve Chamberlain (sac@thepub.cygnus.com) - - * relax.c (build_it): don't allocate space in the output file for - stuff if -R flag applys to it. - * ldfile.c: merge in VMS filename support - * ldmain.c (main): take out ./ from library path, and close file - before unlinking. Make multiple defs of a symbol create an - unexecable file. - * ldmisc.c: fatal errosrs delete output file - -Tue May 5 14:05:05 1992 Per Bothner (bothner@rtl.cygnus.com) - - * ldver.c: Increase version number to 1.97, for consistency - with ../binutils. - -Tue May 5 12:12:24 1992 K. Richard Pixley (rich@cygnus.com) - - * Makefile.in: FLEX -> LEX. - - * ld.texinfo: {} -> @{@}. - -Mon May 4 17:52:41 1992 Roland H. Pesch (pesch@fowanton.cygnus.com) - - * ld.texinfo: describe alternate, MRI-compatible linker scripts - (and associated change in -c option, now used for these scripts) - -Mon May 4 16:10:10 1992 Steve Chamberlain (sac@thepub.cygnus.com) - - * ldver.c: Bumped version to 1.96 - new release, resync with the - bfd too #. - * ldexp.c, ldlang.c: now build memory shape tree in obstacks - rather than with raw malloc, makes it easier to track where memory - is going. - * ldsym.h, ldsym.c: create obstack for all global symbols too. - * ldwrite.c (ldwrite): moved malloc so only used when needed. - * sa29200-sc.sh: added support for .lit, data1 and data2 sections. - - -Fri May 1 18:17:52 1992 K. Richard Pixley (rich@cygnus.com) - - * config/sparc.mh: use ../gcc/libgcc.a on check if it exists. - - * Makefile.in: use bootstrap for check. - -Fri May 1 13:03:41 1992 Steve Chamberlain (sac@thepub.cygnus.com) - - * ldgram.y, ldlex.c, mri.c: added more compatible words; BASE, ALIAS and - PUBLIC. - * Makefile.in: now use flex, not lex - * ldlex.l, ldlang.c, ldctor.c: lint - -Wed Apr 22 12:48:42 1992 Steve Chamberlain (sac@thepub.cygnus.com) - - * ldlex.l: added CMDFILENAMECHAR state so that you can lex - different sorts of filenames on the command line than in a script. - -Mon Apr 20 22:37:04 1992 K. Richard Pixley (rich@rtl.cygnus.com) - - * Makefile.in: rework CFLAGS so that they can be passed on the - make command line. Remove MINUS_G. Default CFLAGS to -g. - -Fri Apr 17 08:57:17 1992 Steve Chamberlain (sac@thepub.cygnus.com) - - * relax.c: added handling for new "padding" seclet type, used to - fill out gaps between section. - * ldgram.y, ldlex.l: now -defsym on the command line is done - properly. - -Wed Apr 15 21:20:07 1992 K. Richard Pixley (rich@rtl.cygnus.com) - - * Makefile.in: the tooldir copy of ld goes directly in tooldir. - -Wed Apr 15 16:09:33 1992 Steve Chamberlain (sac@thepub.cygnus.com) - - * mri.c, ldgram.y, ldlex.l: added support for minimal strange link - scripts. - -Thu Apr 9 05:52:02 1992 Ken Raeburn (Raeburn@Cygnus.COM) - - * Makefile.in (install): Install second copy in $(tooldir)/bin - without $(program_prefix), since that's what gcc expects. - -Sat Apr 4 17:44:06 1992 Steve Chamberlain (sac@thepub.cygnus.com) - - * ldlex.l, ldgram.y, ldlex.h: Rewrote lexer. Now it's much nicer. - * h8300*: fix bit rot and add support for h8300xray target - * go32.sh: target emulation for go32. - -Mon Mar 16 14:53:29 1992 Steve Chamberlain (sac@rtl.cygnus.com) - - * gld960.em, i960.sc-sh. Fix i960 bit rot - -Fri Mar 13 19:47:22 1992 K. Richard Pixley (rich@cygnus.com) - - * Makefile.in: install man page. - -Fri Mar 13 08:23:59 1992 Steve Chamberlain (sac@thepub.cygnus.com) - - * config/mt-<foo> renamed to <foo>.mt - * config/mh-<foo> renamed to <foo>.mt - * configure.in changed to reflect this - * genscripts.sh now make .xbn files rather than .xN files - -Sat Mar 7 03:40:40 1992 K. Richard Pixley (rich@cygnus.com) - - * ldver.h: fix decl of ldversion. - -Fri Mar 6 22:00:35 1992 K. Richard Pixley (rich@cygnus.com) - - * Makefile.in: added check target. - -Fri Mar 6 06:59:04 1992 Steve Chamberlain (sac@thepub.cygnus.com) - - * ldmain.c (Q_enter_file_symbols): now aliases work again - -Thu Mar 5 21:39:29 1992 K. Richard Pixley (rich@cygnus.com) - - * Makefile.in: added clean-info target. - -Thu Mar 5 16:55:56 1992 Steve Chamberlain (sac@thepub.cygnus.com) - - * ldexp.c (exp_print_tree): don't try and follow null pointers - around. - * ldgram.y: remove 11 shift reduce errors - -Tue Mar 3 15:46:39 1992 K. Richard Pixley (rich@rtl.cygnus.com) - - * Makefile.in: added tooldir and program_prefix. - -Fri Feb 28 08:17:45 1992 Steve Chamberlain (sac at thepub.cygnus.com) - - * ldlang.c (size_input_section): don't move absolute sections - around! - - -Thu Feb 27 09:20:41 1992 Steve Chamberlain (sac at thepub.cygnus.com) - - * cplus-dem.c: yet another copy of this - maybe it should go into - libiberty ? - * ldgram.y: now -V and -v have different actions - * ldver.c: if -V, prints list of emulations compiled in - * ldmisc.c: support for cplus demangling - - -Wed Feb 26 18:04:40 1992 K. Richard Pixley (rich@cygnus.com) - - * Makefile.in, configure.in: removed traces of namesubdir, - -subdirs, $(subdir), $(unsubdir), some rcs triggers. Forced - copyrights to '92, changed some from Cygnus to FSF. - -Thu Feb 20 17:43:46 1992 Per Bothner (bothner at cygnus.com) - - * Makefile.in: Change mkscript rule into one for ./mkscript - (for the sake of makes that don't realize they're the same). - * PORTING: Add more details. - * genscripts.sh: Add more tailorability of DATA_ALIGNMENT. - -Mon Feb 17 12:04:36 1992 Per Bothner (bothner at cygnus.com) - - * Makefile.in, and new files hp300bsd.sh, config/mh-hp300bsd, - config/mt-hp300bsd: New port to hp300 running BSD. - -Sat Feb 15 13:59:54 1992 Per Bothner (bothner at cygnus.com) - - Major rewrite of how ld is configured. The major idea - is to use shell scripts to generate everything. - * generic.em replaces ldtemplate. - * Other *.em files replace various *.c files. - A *.em file is a shell script that generates the corresponding - ld__*.c file that implements an emulation. This is usually - a straight 'cat' of a here-document, possibly with substitutions. - * Script files (*.sc) are places by *.sc-sh scripts. - Again, these are simple shell scripts that 'cat' - here-documents, usually with some substitutions. - The output a *.sc-sh is a script file. - * Each emulation is defined by a short shell script with - extension *.sh that specifies the emulation-specific - parameters (such as the name of the *.sh-sc and *.em - files to use). - * genscript.sh is the master shell script used to generate - an emulation. It is passed various argument, including - the name a the emulation-speciic *.sh file that it - "sources" to set variables to emulation-specifc parameters. - * config/mt-foo: Changed EMUL=GLDFOO_EMULATION_NAME - to EMUL=foo. (The GLDFOO_EMULATION_NAMEs have bee removed.) - * config/mh-foo: Rename LDEMULATION names as appropriate - (usually 'gldfoo' -> plain 'foo'). - * ldwrite.c: Fixed a typo in a comment. - * Makefile.in: Major changes. Removed some the sed - magic to converts scripts, since that is now handled - by genscripts.sh and the *.sc-sh scipt generators. - * config.h: Remove a bunch of macros defining emulations - and targets. This becomes one less file to edit when - adding emulations or targets. - * ldemul.h (struct ld_emulation_xfer_struct): Add - emulation_name and target_name fields. - * ldemul.c, ldemul.h: Define some default functions used - by most emulations (and remove from the *.em scripts). - * ldemul.c (ldemul_choose_target): Search the new - ld_emulations array using a loop (instead of a hardwired - nested if statement). - Define the ld_emulation from the automatically-geenrated - ldemul-list.h. This means you no longer have to edit ldemul.c - to add a new emulation. - * ldmain.c: Replace {GLD,LNK}960_EMULATION_NAME by - their expansions, since the former no longer exist. - * PORTING: A very rough first draft of a porting guide. - - * ldgram.y, ldlex.l, lexsup.c: Changes to allow an assignment - to be terminated by a new-line (instead of requiring a semicolon). - -Mon Feb 10 16:21:02 1992 Steve Chamberlain (sac at rtl.cygnus.com) - - * ldexp.c, ldlang.c: added new idea "abs_output_section", removes - tests for NULL pointers all over the place. - * ldlang.c (lang_process): remember to relocate global symbols - *after* relaxing has done it stuff. - -Thu Feb 6 11:40:15 1992 Steve Chamberlain (sac at rtl.cygnus.com) - - * config/mt-coff-h8300: use EMUL like everything else - * ldlang.c: (print_padding_statement): print the right address. - * Makefile.in, config.h, ldemul.c: renamed h8300hds to h8300hms - - -Tue Feb 4 15:28:01 1992 Steve Chamberlain (sac at rtl.cygnus.com) - - * ldlex.l: Put pack -noinhibit-exec and -sort-common - * ldlang.c (print_data_statement): print the right address. - -Thu Jan 30 17:51:53 1992 Per Bothner (bothner at cygnus.com) - - * Makefile.in: The rule for testing ld by re-linking itself - via an intermediate -r link was moved to the ld1 rule - instead of the ld2 rule. This allows ld2 and ld3 to be identical, - which allows the bootstrap rule to work. - * ldctor.c (find_constructors): Don't create a constructor - list if it is already defined (as would happen if ld is - invoked by collect). - -Wed Jan 29 08:35:39 1992 Steve Chamberlain (sac at rtl.cygnus.com) - - * config/mh-sparc.h: now uses libgcc.a - * ldmain.c: quit using exit - * *sc: use *(COMMON) rather than [COMMON] - * ldlex.l, lexsup.c: much thinking moved from .l and put into .c, - to allow preprocessing of .l file. - * Makefile.in: New ldlex.l mangling - * ldexp.c (fold_binary): perform expressions with % and / in - integer. - * ldfile.c (open_a): open archives on VMS in a special way - - -Tue Jan 28 10:18:16 1992 Steve Chamberlain (sac at rtl.cygnus.com) - - * ldgram.y: map -M behave in the same way as -Map (sets file name - to be "-". - * ldsym.c, ldlang.c: remember that size of a section is dependent on - whether or not relaxing has been done. - * ldmain.c: don't open a map file if it doesn't have a name - * relax.c: all the brains have moved into bfd. - * ldwrite.c: ammend comment - -Fri Jan 24 14:23:46 1992 Steve Chamberlain (sac at rtl.cygnus.com) - - * Makefile.in: added relax, also made three stage go through a - partial link stage. - * relax.c : added - * config.h: if GNU960 defined, then default emulation mode is - GLD960 - * ldexp.h, ldexp.c: map to file hooks - * ldlang.c: map to file hooks - * ldgram.y: added -Map -relax - * ldlex.l: added -relax, -Map - * ldmain.c: open map file - * ldmisc.c: support for map file - * ldwrite.c: new relax magic - -Thu Dec 19 18:49:51 1991 John Gilmore (gnu at cygnus.com) - - * Makefile.in, config/tm-*.h: Clean up make output, only - pass DEFAULT_EMULATION to ldmain.c. - -Wed Dec 18 15:02:47 1991 Per Bothner (bothner at cygnus.com) - - * ldver.c: Bump to version 1.94. - -Tue Dec 10 04:07:23 1991 K. Richard Pixley (rich at rtl.cygnus.com) - - * Makefile.in: infodir belongs in datadir. - -Mon Dec 9 16:26:43 1991 Per Bothner (bothner at cygnus.com) - - * Makefile.in: Pass -y to bison. (Again; - accidentally deleted by Rich.) - * news.sc, ldgld68k.sc: Define __end as well as _end. - -Sat Dec 7 17:19:26 1991 Steve Chamberlain (sac at rtl.cygnus.com) - - * ldindr.h: added to contain prototypes of ldindr.c - * ldfile.c: include ctype.h - * ldmain.c: include the requried prototype headers - * ldwrite.c: get_reloc_upper_bound has been renamed - bfd_get_reloc_upper_bound - -Fri Dec 6 23:29:26 1991 K. Richard Pixley (rich at rtl.cygnus.com) - - * Makefile.in: punt "fundamental" mode because it breaks my emacs - macros. install using INSTALL_PROGRAM and INSTALL_DATA. remove - spaces following hyphens, bsd make can't cope. added - standards.text support and made it look like all the other - makefiles. - - * configure.in: configure now runs entirely in objdir so make file - existence checks against ${srcdir}. Mark this directory as - target dependent. - -Thu Dec 5 22:46:16 1991 K. Richard Pixley (rich at rtl.cygnus.com) - - * Makefile.in: idestdir and ddestdir go away. Added copyrights - and shift gpl to v2. Added ChangeLog if it didn't exist. docdir - and mandir now keyed off datadir by default. - -Wed Dec 4 23:36:55 1991 Per Bothner (bothner at cygnus.com) - - * ldver.c: Bumped version to 1.93. - * Makefile.in: Pass -y to bison. - -Mon Nov 25 18:28:40 1991 Steve Chamberlain (sac at cygnus.com) - - * config.h: h8 is now coff, not ieee - * h8300hds.sc: reflect the same - -Thu Nov 14 19:55:09 1991 Per Bothner (bothner at cygnus.com) - - * ldver.c (ldversion()): Update to 1.92. - * ldctor.c: There are two places constructor sets - can be defined. One of them checked for an existing - duplicate, the other didn't. Unfortunately, the latter - was called after the former ... - So, factor out code for inserting a new element into - constructor_name_list (after checking for a duplicate) - into a new function add_constructor_name, and call - it from both aforementioned places (ldlang_add_constructor - and ldlang_check_for_constructors). - -Wed Nov 13 15:17:43 1991 Per Bothner (bothner at cygnus.com) - - * Makefile.in: Rename .c files generated from ldtemplate - to have names starting with ld__. This helps 'make clean'. - -Tue Nov 12 18:36:50 1991 Steve Chamberlain (sac at cygnus.com) - - * Makefile.in: Take out the version number for install - * m88kbcs.sc: put in contructor blocks. - -Mon Nov 11 18:47:33 1991 Per Bothner (bothner at cygnus.com) - - * ldmisc.c, ldmisc.h: Re-write info() to take a filename - parameter, a format, and an arg pointer, and rename it to - vfinfo(). Write info() in terms of new vfinfo(). - New einfo() is the same as info(), except it writes to stderr. - * ldemul.c, ldexp.c, ldlang.c, ldlnk960.c, ldmain.c, ldwrite.c, - ldmisc.c: Replace "error" calls to info() by new einfo(). - -Mon Nov 11 09:57:32 1991 Steve Chamberlain (steve at cygnus.com) - - * ldlex.l ldgram.y: made -V option do same as -v - * Makefile.in: Added $(MINUS_G) flag so debugging can be - turned off - -Sun Nov 3 16:37:37 1991 Steve Chamberlain (steve at cygnus.com) - i386 aout changes from Bob Kukura - * Makefile.in, config.h: added i386aout support - * configure.in: fixed /h-{myhost} typo - * ldgram.y: -MM now gives more boring map. - * ldlang.c: now does D_PAGED flag the right way. - * ldsym.c: -MM flags does the right thing. - -Sun Nov 3 15:00:03 1991 Per Bothner (bothner at cygnus.com) - - * configure.in: Fixed typo. Also, a fix for hp300bsd. - * ldlang.c (init_os): Compensate for BFD change, - where bfd_make_section now returns NULL for a duplicate - section request, instead of the old section. - -Thu Oct 17 15:27:13 1991 Per Bothner (bothner at cygnus.com) - - * ldver.c: Bump to version 1.91 (consistent with binutils). - -Wed Oct 16 12:27:08 1991 Per Bothner (bothner at cygnus.com) - - * Makefile.in, config.h, ld.h, ldemul.c, ldexp.c, ldexp.h, - ldgram.y, ldlex.l, ldlnk960.c, ldmain.c, ldmisc.c, ldmisc.h, - ldsym.c, ldsym.h, ldtemplate, ldvanilla.c, ldver.c, ldver.h, - ldwarn.c, ldwarn.h, ldwrite.c, ldwrite.h, mkscript.c: - Add or update copyright notices. - -Mon Oct 14 23:55:27 1991 Per Bothner (bothner at cygnus.com) - - * README: New file. - * Makefile.in: Changed installation directory name scheme - to be consistent with gcc. Also changed 'install'. - -Mon Oct 14 17:30:02 1991 Roland H. Pesch (pesch at cygnus.com) - - * Makefile.in: new targets ld.mm, ld.me - -Mon Oct 14 17:27:24 1991 Per Bothner (bothner at cygnus.com) - - * Makefile.in, ldtemplate: Need to use separate scripts - for -n and -N options. Yet more complication. - -Fri Oct 11 22:40:46 1991 John Gilmore (gnu at cygnus.com) - - * Makefile.in: Avoid using $< in explicit Make rules (it doesn't - work). Add some lines to avoid Sun Make VPATH bugs. - -Fri Oct 11 16:42:22 1991 Per Bothner (bothner at cygnus.com) - - * news.sc: Add alignment for data segment. - * ldtemplate: Add (yet another) script to get for -n or -N - options. (These need different alignment than ZMAGIC files.) - * Makefile.in: Add stuff for new foo.xn scripts. - These are generated by replacing "ALIGN(0x...00)" by ".". - -Fri Oct 11 15:43:04 1991 Roland H. Pesch (pesch at cygnus.com) - - * Makefile.in: new targets ld.ms, ld-index.ms - ld.texinfo: remove tabs, other cleanups for texi2roff - -Fri Oct 11 13:51:54 1991 Per Bothner (bothner at cygnus.com) - - * ldmain.c (main): Make config.magic_demand_paged be true - by default. Don't set the WP_TEXT and D_PAGED flags of - output_bfd here; it's too late, so set it when output_bfd - is created (in ldlang.c). Also fix setting of EXEC_P flag - * ldlang.c (ldlang_open_output): Set output_bfd->flags here. - * ldlang.c: Remove some duplicate extern declarations. - * ldgram.y: Fixes to -N and -n options. - * Makefile.in: Recognize upper case letters in sed script - to remove assignments from script files. - * ldtemplate: Don't assukme that -N or -n options - imply use of -r script. - * mkscript.c: Tweaking to correctly handle \n and \\ in input. - -Fri Oct 11 10:29:27 1991 Steve Chamberlain (steve at cygnus.com) - - * ldtemplate: include bfd.h before sysdep.h. - -Fri Oct 11 04:24:45 1991 John Gilmore (gnu at cygnus.com) - - Restructure configuration scheme for bfd, binutils, ld. - - * include/sys/h-*.h: Move to bfd/hosts/h-*.h. - * configure.in: Revise to symlink sysdep.h to ../bfd/hosts/h-xxx.h. - Change some config names to match other dirs. - * *.c: Include bfd.h before sysdep.h, so ansidecl and PROTO() - get defined first. - * config/: Rename some config files to match up h-*.h names. - Remove all the HOST_SYS definitions from the config files. - -Tue Oct 8 16:00:57 1991 Per Bothner (bothner at cygnus.com) - - * ldexp.h, ldlang.h: Change enum boolean -> enum bfd_boolean. - * ldtemplate: Remove ldfile_add_library_path calls; - just use the SEARCH_DIR commands in the script files. - * Makefile.in: Add LIB_PATH macro, which if set is used to replace - the SEARCH_DIR commands in the scripts (using ugly sed magic). - This is primarily intended for cross-linking, where you would - place libaries in a different place than native libraries. - Also, emulations made from ldtemplate now use $(srcdir). - * ldglda29k.sc: Change SEARCH_DIR commands to a conventional - form; people can use the Makefile's LIB_PATH to override. - -Tue Oct 8 14:51:21 1991 Roland H. Pesch (pesch at cygnus.com) - - * Makefile.in: fix target ld.dvi, add target ld.info - ld.texinfo: make info filename ld.info - -Fri Oct 4 21:51:58 1991 John Gilmore (gnu at cygnus.com) - - * Makefile.in: Avoid using $< in non-suffix rules (breaks on Sun - Make). - * ldfile.c, ldlang.c, ldmain.c, ldwrite.c: Cope with renames of a - few BFD types & enums. - +For older changes see ChangeLog-9899 Local Variables: mode: change-log diff --git a/ld/ChangeLog-9197 b/ld/ChangeLog-9197 new file mode 100644 index 0000000..a89a4ca --- /dev/null +++ b/ld/ChangeLog-9197 @@ -0,0 +1,7576 @@ +Sun Dec 21 12:51:49 1997 Ian Lance Taylor <ian@cygnus.com> + + * ldexp.c (fold_name): Don't crash if the symbol is defined in a + section with no output section, such as a shared library section. + +Wed Dec 17 12:14:11 1997 Ian Lance Taylor <ian@cygnus.com> + + * lexsup.c (parse_args): Keep track of where we are in the option + parsing before calling ldemul_parse_args, so that we don't call it + multiple times on the same argument and confuse the getopt + internals. + +Thu Dec 11 09:00:15 1997 Michael Meissner <meissner@cygnus.com> + + * configure.tgt (d30v-elf-*): Rename d30velf_e to d30v_e and + d30velf_o to d30v_o to work in DOS environments. + * Makefile.{am,in}: Ditto. + + * emulparams/d30v_{o,e}: Rename from d30velf_{o,e}. + * emulparams/d30velf_{o,e}: Deleted. + +Wed Dec 10 17:40:08 1997 Nick Clifton <nickc@cygnus.com> + + * scripttempl/armcoff.sc: Add glue sections (code taken from Arm + branch). + + * emulparams/armcoff.sh (TEMPLATE_NAME): Set to armcoff. + + * emultempl/armcoff.em: New file, imported from Arm branch. + +Wed Dec 10 14:10:44 1997 Michael Meissner <meissner@cygnus.com> + + * scripttempl/elfd30v.sc: Add .rel and .rela sections for all + defined sections. Set up __{D,C}TOR_{LIST,END}__. Add onchip and + external memory sections for rodata. Delete .string, .rodata1, + and .data1 sections. + +Tue Dec 9 15:28:17 1997 Michael Meissner <meissner@cygnus.com> + + * Makefile.am: Add Oct 23 changes to Makefile.in here. + + * Makefile.{am,in}: (ALL_EMULATIONS): Add ed10velf.o. + + * Makefile.{am,in}: (ALL_EMULATIONS): Add etic80coff.o. + + * Makefile.{am,in}: (ALL_EMULATIONS): Add ed30velf{,_e,_o}.o. + (ed30velf_e.c): Like d30velf, except .text/.data/etc always go in + external memory. + (ed30velf_o.c): Like d30velf, except .text/.data/etc always go in + onchip memory. + + * emulparams/d30velf.sh (STACK_START_ADDR): Top of default + stack. + ({TEXT,DATA,EMEM}_SIZE): Sizes of the 3 memory areas. + ({TEXT,DATA,BSS}_MEMORY): Which memory region .text, .data, and + .bss should go in. + + * emulparams/d30velf_{e,o}.sh: New files to be explicit whether + .text, .data, etc go in external memory or onchip memory. + + * configure.tgt (d30v-*-*ext*): New configuration to default + .text, .data, etc. in external memory. + (d30v-*-*onchip*): New configuration to default .text, .data, + etc. in onchip memory. + (d30v-*-*): Add d30velf_{e,o} emulations. + + * scripttempl/elfd30v.sc: Allow .text, .data, .bss to be put in + either the onchip text/data areas or the external memory area. + (MEMORY): Get sizes from d30velf.sh. + (.e{data,text,bss}): Put sections in the external memory region. + (.stext): Put section in the onchip text region. + (.s{data,bss}): Put sections in the onchip data region. + (__stack): Assign from ${STACK_START_ADDR}. + (.text): Put in ${TEXT_MEMORY} memory region. + (.data{,1}/.strings/.rodata{,1}): Put in ${DATA_MEMORY} memory + region. + (.bss): Put in ${BSS_MEMORY} memory region. + +Tue Dec 2 10:14:47 1997 Nick Clifton <nickc@cygnus.com> + + * configure.tgt (targ_extra_emuls): Add support for Thumb target. + +Sat Nov 22 15:23:19 1997 Ian Lance Taylor <ian@cygnus.com> + + * ldlex.l: Don't define hex_mode. Correct number regexp to not + accept hex digits without a leading $ or 0x. Handle leading $ + correctly. Pass 0 rather than hex_mode to bfd_scan_vma. + * ldlex.h (hex_mode): Don't declare. + +Sun Nov 16 20:16:45 1997 Michael Meissner <meissner@cygnus.com> + + * emulparams/d30velf.sh ({DATA,EMEM}_START_ADDR): Define as start + of internal data area and external memory on chip. + + * scripttempl/elfd30v.sc: Define a MEMORY region that describes + the 3 regions of memory on the chip. Put .text/.init/.fini into + the text memory region, put other segments into the data memory + region. Add more of the standard elf sections. Default __stack + to be 0x20008000, which is 1 byte beyond end of the internal data + region. + +Thu Nov 13 13:45:00 1997 Andrew Cagney <cagney@b1.cygnus.com> + + * configure.tgt (targ_extra_emuls): Make FreeBSD a i386bsd + variant. + +Sun Nov 2 14:51:36 1997 H.J. Lu <hjl@gnu.ai.mit.edu> + + * configure.host (alpha*-*-linux*): Correct HOSTING_CRT0. Set + HOSTING_LIBS. + +Thu Oct 30 12:25:55 1997 Ian Lance Taylor <ian@cygnus.com> + + * ld.h (args_type): Add warn_mismatch field. + * ldmain.c (main): Initialize warn_mismatch field. + * lexsup.c (parse_args): Handle --no-warn-mismatch option. + * ldlang.c (ignore_bfd_error): New static function. + (lang_check): If warn_mismatch is false, don't warn about + mismatched input files. + * ld.texinfo, ld.1: Document new option. + +Thu Oct 23 14:38:18 1997 Nick Clifton <nickc@cygnus.com> + + * scripttempl/v850.sc: Rename linker symbol '_stack' to '__stack' + to avoid conflicts with C code which is defining a variable called + 'stack'. + +Thu Oct 23 00:57:45 1997 Richard Henderson <rth@dot.cygnus.com> + + * Makefile.in (ALL_EMULATIONS): Move eelf64_sparc.o ... + (ALL_64_EMULATIONS): ... here. + (eelf64_sparc.c): Template should be elf32 not generic. + * emulparams/elf64_sparc.sh (TEMPLATE_NAME): New definition. + +Thu Oct 23 00:44:20 1997 Richard Henderson <rth@dot.cygnus.com> + + * configure.tgt: Add sparc64-*-linux*. + * emulparams/elf64_sparc.sh (GENERATE_SHLIB_SCRIPT, NOP): New. + +Wed Oct 22 11:29:25 1997 Ian Lance Taylor <ian@cygnus.com> + + * scripttempl/pe.sc: Put .eh_frame in .rdata. + +Fri Oct 17 00:00:13 1997 Richard Henderson <rth@cygnus.com> + + * ldlang.c (lang_register_vers_node): Only check globals<=>locals, + since we need to be able to export different versions of the same + symbol. + +Wed Oct 15 14:52:36 1997 Ian Lance Taylor <ian@cygnus.com> + + * scripttempl/pe.sc: Put .stab and .stabstr sections at end. + +Wed Oct 8 12:37:05 1997 Richard Henderson <rth@cygnus.com> + + * configure.tgt, configure.host: Change alpha-*-* to alpha*-*-*; + config.guess now recognizes alphaev5 etc. + +Fri Oct 3 14:23:02 1997 Ian Lance Taylor <ian@cygnus.com> + + * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Don't treat + -s and -u as -static and -unix. + +Thu Oct 2 18:40:28 1997 Ian Lance Taylor <ian@cygnus.com> + + * ldlang.c (wild_doit): Rewrite flag handling for clarity. If we + are not adding the first input section, and SEC_READONLY is clear + on the output section, then don't copy it from the input section. + If SEC_READONLY is not set on the input section, then clear it on + the output section. + + * configure.tgt (mips*-sgi-irix[56]*): Use elf32bsmip rather than + elf32bmip. + (mips*el-*-linux*): Change elf32lmip to elf32lsmip and elf32bmip + to elf32bsmip. + (mips*-*-linux*): Likewise. + * emulparams/elf32bsmip.sh: New file; just like elf32bmip.sh, but + setting ENTRY to __start. + * emulparams/elf32lsmip.sh: New file; just like elf32lmip.sh, but + setting ENTRY to __start. + * scripttempl/elf.sc: Always set ENTRY to _start if it was not + already set. + +Wed Oct 1 16:41:00 1997 Nick Clifton <nickc@cygnus.com> + + * emulparams/v850.sh (ROZDATA_START_ADDR, ROSDATA_START_ADDR): New + Variables. + + * scripttempl/v850.sc: Move read only areas out of zero and small + data sections and into their own sections. + +Wed Sep 24 16:59:15 1997 Joel Sherrill <joel@oarcorp.com> + + * configure.tgt (sh*-*-rtems*): New target, like sh-*-elf*. + +Wed Sep 24 11:33:14 1997 Ian Lance Taylor <ian@cygnus.com> + + * ld.texinfo (Section Options): Improve documentation of NOLOAD + directive. + + * aclocal.m4: Rebuild with new libtool. + * configure: Rebuild. + +Mon Sep 22 17:24:06 1997 Ian Lance Taylor <ian@cygnus.com> + + * ldlang.c (wild_doit): Revert patch of September 3. + +Wed Sep 17 16:45:34 1997 Nick Clifton <nickc@cygnus.com> + + * Makefile.am, Makefile.in: Add rule for ev850.c + * configure.tgt (targ_extra_emuls): Add v850 target. + +Wed Sep 17 16:43:39 1997 Nick Clifton <nickc@cygnus.com> + + * emulparams/v850.sh (CALL_TABLE_START_ADDR): New entry. + * scripttempl/v850.sc: Add call table data area + +Mon Sep 15 11:29:13 1997 Ken Raeburn <raeburn@cygnus.com> + + Merge change from Martin Hunt: + + * scripttempl/elfd30v.sc: Put .rodata in the .text section. + +Tue Sep 9 07:49:56 1997 Fred Fish <fnf@ninemoons.com> + + * ldlang.c (lang_memory_region_lookup): Remove extraneous + initialization of p. + +Thu Sep 4 09:03:33 1997 Ian Lance Taylor <ian@cygnus.com> + + * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): In + expression produced for -bpT and -bpD options, align to a 32 byte + boundary rather than an 8 byte boundary. + * scripttempl/aix.sc: Put .tocbss at start of .bss section. + + * ldmisc.h, ldmisc.c, ldcref.c: Rename finfo to lfinfo, to avoid + function name conflict with AIX 4.2 unistd.h header file. + +Wed Sep 3 15:12:32 1997 Ian Lance Taylor <ian@cygnus.com> + + * ldlang.c (wild_doit): Clear SEC_HAS_CONTENTS from a + noload_section. + +Fri Aug 29 00:32:31 1997 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.am (ld_new_DEPENDENCIES): Remove @LEXLIB@. + * Makefile.in: Rebuild. + +Thu Aug 28 10:12:10 1997 Doug Evans <dje@canuck.cygnus.com> + + * configure.tgt (arc-*-elf*): Recognize. + * Makefile.am (ALL_EMULATIONS): Add earcelf.o. + * Makefile.in: Regenerate. + * emulparams/arcelf.sh: New file. + +Wed Aug 20 11:14:13 1997 Ian Lance Taylor <ian@cygnus.com> + + * ldlang.c (wildcardp): Don't let a backslash by itself cause a + pattern to be treated as a wildcard pattern. + + * ldgram.y (atype): Accept parentheses with no type. + + * ld.texinfo (Section Definition): Clarify use of whitespace. + (Section Placement): Likewise. + +Mon Aug 18 11:12:03 1997 Nick Clifton <nickc@cygnus.com> + + * configure.tgt (targ_extra_emuls): Add support for v850e target. + +Mon Aug 18 11:12:03 1997 Nick Clifton <nickc@cygnus.com> + + * configure.tgt (targ_extra_emuls): Add support for v850e target. + +Sat Aug 9 00:42:27 1997 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.am (ld.info): Change dependency from + $(BFDDIR)/doc/bfdsumm.texi to bfdsumm.texi. + (ld.dvi): Likewise. + (bfdsumm.texi): New target. + (CLEANFILES): Add bfdsumm.texi. + * Makefile.in: Rebuild. + + * Makefile.am: New file, based on old Makefile.in. + * acinclude.m4: New file, from old aclocal.m4. + * configure.in: Call AM_INIT_AUTOMAKE and AM_PROG_LIBTOOL. Remove + shared library handling; now handled by libtool. Replace + AC_CONFIG_HEADER with AM_CONFIG_HEADER. Call AC_PROG_YACC, + AC_PROG_LEX, and AC_DECL_YYTEXT. Call AM_MAINTAINER_MODE, + AM_CYGWIN32, and AM_EXEEXT. Don't call CY_CYGWIN32 or CY_EXEEXT. + * configure.host: Don't set HLDFLAGS, HLDENV, or RPATH_ENVVAR. + * acconfig.h: Mention PACKAGE and VERSION. + * stamp-h.in: New file. + * ldver.c (ld_program_version): Set ld_program_version from + VERSION. + * ldgram.y, ldlex.l: Replace VERSION with VERSIONK. + * Makefile.in: Now built with automake. + * aclocal.m4: Now built with aclocal. + * configure, config.in: Rebuild. + +Mon Jul 28 19:04:50 1997 Rob Savoye <rob@chinadoll.cygnus.com> + + * configure.in: Use CYGWIN and EXEEXT autoconf macro to look for + win32 dependencies. + * configure: Regenerated with autoconf 2.12. + * Makefile.in: Add $(EXEEXT) to executable. + +Tue Jul 22 18:50:38 1997 Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE> + + * emulparams/i386go32.sh (OUTPUT_FORMAT): Set to "coff-go32". + (SEGMENT_SIZE): Set to 0x200. + * scripttempl/i386go32.sc: Rewrite. + * configure.tgt (i[3456]86-*-msdosdjgpp*): New target. + +Mon Jul 7 12:39:42 1997 Ian Lance Taylor <ian@cygnus.com> + + From Manfred Hollstein <manfred@s-direktnet.de>: + * configure.host (i[3456]86-*-linux*libc1*): Renamed from + i[3456]86-*-linux*. + (i[3456]86-*-linux*): New host. + +Thu Jun 26 13:54:03 1997 Ian Lance Taylor <ian@cygnus.com> + + * scripttempl/pe.sc: Put .rsrc after .reloc. Put input .rsrc + sections in the output .rsrc section. + +Wed Jun 25 12:48:41 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * configure.host (m68*-*-linux*libc1*): Renamed from + `m68*-*-linux*'. + (m68*-*-linux*): New configuration for use with GNU libc 2. + +Mon Jun 16 19:18:21 1997 Geoff Keating <geoffk@ozemail.com.au> + + * scripttempl/elfppc.sc: Correct .rela.sdata entries. + + * scripttempl/elfppc.sc: Put the PLT between the small and large + BSS segments. + * emulparams/elf32ppc.sh (TEXT_START_ADDR): The ABI says `A + program base of 0x02000000 is recommended...' because otherwise + shared libraries are less efficient. We use 0x01800000 because + otherwise it's impossible to branch to location 0, for instance if + you have an undefined weak symbol. + +Mon Jun 16 12:49:36 1997 H.J. Lu <hjl@gnu.ai.mit.edu> + + * ldlang.c (lang_place_undefineds): Add \n in einfo call. + (lang_size_sections): Likewise. + * ldlex.l: Likewise. + * emultempl/aix.em (gld${EMULATION_NAME}_read_file): Likewise. + * emultempl/mipsecoff.em (gld${EMULATION_NAME}_after_open): + Likewise. + (check_sections): Likewise. + (gld${EMULATION_NAME}_after_allocation): Likewise. + * emultempl/pe.em (gld_$${EMULATION_NAME}_before_allocation): + Likewise. + * mpw-eppcmac.c (gldppcmacos_read_file): Likewise. + * mpw-idtmips.c (gldmipsidt_after_open): Likewise. + (check_sections): Likewise. + (gldmipsidt_after_allocation): Likewise. + + * ldemul.c (ldemul_choose_mode): Remove unused einfo argument. + +Fri Jun 6 23:47:42 1997 Ian Lance Taylor <ian@cygnus.com> + + * scripttempl/pe.sc: Add zeroes after .idata$3 to mark the end of + the import list. + +Thu May 29 13:13:22 1997 Ian Lance Taylor <ian@cygnus.com> + + * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Don't + crash if an output section has no BFD section. + +Fri May 23 15:23:25 1997 Fred Fish <fnf@cygnus.com> + + * lexsup.c (ld_options): Add entry for the new "task-link" option. + (parse_args): Handle the "task-link" option. + (OPTION_TASK_LINK): Add define. + +Wed May 21 17:44:15 1997 Ian Lance Taylor <ian@cygnus.com> + + * ldmain.c (main): Correct check of fclose return value when + handling --force-exe-suffix. + +Thu May 15 11:35:29 1997 Nick Clifton <nickc@cygnus.com> + + * ldlang.c (lang_check): Add test of the return value from the + call to bfd_merge_private_bfd_data(). + +Mon May 12 23:22:58 1997 Ian Lance Taylor <ian@cygnus.com> + + * scripttempl/elfmips.sc: Remove. + * scripttempl/elf.sc: Set ENTRY based on target. Permit + TEXT_DYNAMIC to control .dynamic segment. Permit + SHLIB_TEXT_START_ADDR to set start of shared object. Support + INITIAL_READONLY_SECTIONS. Put .stub in .text. Only put + .gnu.linkonce.t* in .text when relocating. Support + OTHER_TEXT_SECTIONS. Support SHLIB_DATA_ADDR as well as + DATA_ADDR. Support OTHER_GOT_SYMBOLS and OTHER_GOT_SECTIONS. + * emulparams/elf32b4300.sh (SCRIPT_NAME): Set to elf. + (DATA_ADDR): Don't set. + (INITIAL_READONLY_SECTIONS): Rename from OTHER_READONLY_SECTIONS. + (OTHER_TEXT_SECTIONS): Set. + (OTHER_GOT_SECTIONS): Rename from OTHER_READWRITE_SECTIONS. + (MACHINE): Set to empty string. + * emulparams/elf32l4300.sh: Likewise. + * emulparams/elf32ebmip.sh: Likewise. + * emulparams/elf32elmip.sh: Likewise. + * emulparams/elf32bmip.sh: Likewise. Also: + (TEXT_DYNAMIC): Set. + * emulparams/elf32lmips.sh: Likewise. + * Makefile.in (eelf32bmips.c): Depend upon elf.sc rather than + elfmips.sc. + (eelf32ebmips.c, eelf32elmips.c, eelf32lmip.c): Likewise. + +Mon May 12 11:11:06 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * scripttempl/elf.sc: Don't align the data segment on the next 8 + byte boundary, instead let the linker use whatever the individual + sections require. + +Fri May 9 17:45:46 1997 Ian Lance Taylor <ian@cygnus.com> + + * configure.tgt (i[3456]86-*-gnu*): Don't include Mach support. + +Tue May 6 13:21:19 1997 Ian Lance Taylor <ian@cygnus.com> + + From Sean McNeil <sean@mcneil.com>: + * emultempl/pe.em (sort_by_file_name): Sort by archive name + first. + (sort_sections): Sort all sections, not just sections in the same + archive. + +Mon May 5 18:19:55 1997 Philip Blundell <pjb27@cam.ac.uk> + + * configure.tgt, configure.host: cope with '*-*-linux-gnuaout' + targets. + +Fri May 2 15:54:28 1997 Mike Meissner <meissner@cygnus.com> + + * scripttempl/tic80coff.sc (.text): Add a leading underscore to + __{D,C}TOR_{LIST,END}__ definations. Rearrange the order of items + in the .text section. Move .const, .ctors, .dtors into separate + sections. + +Wed Apr 30 12:23:21 1997 Manfred Hollstein <manfred@s-direktnet.de> + + * scripttempl/m88kbcs.sc (__.initp.end, _etext): Added whitespace + around assignment of current location pointer. + +Thu Apr 17 13:07:18 1997 Ian Lance Taylor <ian@cygnus.com> + + * ldctor.c (ldctor_build_sets): Make sure the set is aligned + appropriately. + +Tue Apr 15 13:19:26 1997 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.in (INSTALL): Set to @INSTALL@. + (INSTALL_XFORM, INSTALL_XFORM1): Remove. + (install): Depend upon ld.new and installdirs. Use + $(program_transform_name) directly, rather than using + $(INSTALL_XFORM) and $(INSTALL_XFORM1). + (installdirs): New target. + (install-info): Run mkinstalldirs. + +Mon Apr 14 12:06:15 1997 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.in (INSTALL): Change install.sh to install-sh. + + From Thomas Graichen <graichen@rzpd.de>: + * configure.in: Use ${CONFIG_SHELL} when running $ac_config_sub. + * configure: Rebuild. + +Fri Apr 4 11:42:41 1997 Ian Lance Taylor <ian@cygnus.com> + + * emultempl/pe.em: Include "libiberty.h". + (sort_sections_1): Use xmalloc rather than alloca. + + * ldlex.l: Recognize SQUAD. + * ldgram.y (length): Add SQUAD. + * ldctor.c (ldctor_build_sets): Use SQUAD for a signed 8 byte + reloc. + * ldlang.c (print_data_statement): Handle SQUAD. + (lang_size_sections, lang_do_assignments): Likewise. + * ldexp.c (exp_print_token): Add SQUAD to table. + * ldwrite.c (build_link_order): Handle SQUAD. + * ld.texinfo (Section Data Expressions): Document SQUAD. + +Thu Apr 3 13:19:40 1997 Ian Lance Taylor <ian@cygnus.com> + + * ldver.c (ld_program_version): Set to 2.8.1. + + * Branched binutils 2.8. + +Wed Apr 2 11:55:27 1997 Ian Lance Taylor <ian@cygnus.com> + + * mpw-idtmips.c: Rename from mpw-emipsidt.c. + * mpw-elfmips.c: Rename from mpw-emipself.c. + * mpw-config.in: Update accordingly. + + * ldlang.c (lang_process): Call lang_check immediately after + opening the input files, rather than at the end of the link. + +Mon Mar 31 23:44:00 1997 Ian Lance Taylor <ian@cygnus.com> + + * emultempl/pe.em (init): Fully bracket initializer. + (set_pe_stack_heap): Remove locals begin_commit and end. + (gld_${EMULATION_NAME}_after_open): Remove unused local i. + (gld${EMULATION_NAME}_place_orphan): Remove unused local ptr. + +Mon Mar 31 16:35:51 1997 Joel Sherrill <joel@oarcorp.com> + + * configure.tgt (hppa*-*-rtems*): New target, like hppa-*-*elf*. + +Fri Mar 28 15:29:23 1997 H.J. Lu <hjl@gnu.ai.mit.edu> + + Contributed by David S. Miller <davem@caip.rutgers.edu>: + * configure.tgt (sparc*-*-linuxaout*): New target. + (sparc*-*-linux*): New target. + * emulparams/sparclinux.sh: New file. + * Makefile.in (ALL_EMULATIONS): Add esparclinux.o. + (esparclinux.c): New target. + +Fri Mar 28 14:30:12 1997 Ian Lance Taylor <ian@cygnus.com> + + From Ralf Baechle <ralf@gnu.ai.mit.edu>: + * configure.tgt: Set targ_extra_emuls for mips*el-*-linux* and + mips*-*-linux*. Use elf32bmip and elf32lmip, not elf32ebmip and + elf32elmip. + +Thu Mar 27 17:14:32 1997 Ian Lance Taylor <ian@cygnus.com> + + * lexsup.c (parse_args): Update copyright date in version + message. + +Fri Mar 21 12:28:41 1997 Philippe De Muyter <phdm@info.ucl.ac.be> + + * emulparams/delta68.sh (OUTPUT_FORMAT): Set to "coff-m68k-sysv". + +Tue Mar 18 11:16:23 1997 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.in: Rebuild dependencies. + + * emultempl/aix.em: Include "obstack.h". + +Mon Mar 17 19:26:06 1997 Ian Lance Taylor <ian@cygnus.com> + + * ldlang.c: Include "obstack.h". + +Sat Mar 15 23:23:46 1997 Fred Fish <fnf@cygnus.com> + + * configure.tgt (powerpc-*-beos*): Use aixppc for targ_emul. + +Sat Mar 15 18:10:38 1997 H.J. Lu <hjl@lucon.org> + + * ldemul.h (ldemul_list_emulations): Use full prototype. + * ldlang.c (print_one_symbol): Add declaration. + * ldlang.h (dprint_statements): Declare. + * ldmain.c (remove_output): Declare. + * ldmisc.c (vfinfo): Declare. + * ldwrite.c (clone_section): Declare. + (split_sections): Make static. Declare. + * mri.c: Include libiberty.h. + (strdup): Don't declare. + (mri_alias): Use xstrdup rather than strdup. + +Fri Mar 14 21:30:06 1997 Ian Lance Taylor <ian@cygnus.com> + + * scripttempl/elfmips.sc: Change handling of data area when + generating a shared library to not skip a large block of memory. + From Per Fogelstrom <pefo@cvs.openbsd.org>. + +Wed Mar 12 21:33:09 1997 Ian Lance Taylor <ian@cygnus.com> + + * ldmain.c (multiple_definition): Only skip the warning if the + output section is absolute when the input section is not + absolute. + + * ldlex.l: Accept whitespace in VERS_START state. Warn about + invalid characters in VERS_* states. + +Tue Mar 11 13:51:31 1997 Ian Lance Taylor <ian@cygnus.com> + + * emultempl/aix.em (gld${EMULATION_NAME}_read_file): Don't let a + trailing space lead us to think that there is a zero address. + +Sun Mar 9 23:06:35 1997 Eric Youngdale <eric@andante.jic.com> + + * ldgram.y (vers_node): Correct typo of '(' for '{'. + +Fri Mar 7 18:40:12 1997 Fred Fish <fnf@cygnus.com> + + * scripttempl/tic80coff.sc (ENTRY): Entry symbol is __start + rather than _start. + (__edata): Define this rather than "edata". + (__end): Define this rather than "end". + +Tue Mar 4 17:18:35 1997 Michael Meissner <meissner@cygnus.com> + + * configure.tgt (tic80-*-*): Allow dropping of -coff. + +Sun Mar 2 22:59:49 1997 Fred Fish <fnf@cygnus.com> + + * Makefile.in (ld.dvi): Set MAKEINFO environment variable as well + as TEXINPUTS. Needed for building in separate build dir. + * ldint.texinfo (SCRIPT_NAME): Fix typo. + * emulparams/tic80coff.sh: Rewrite to include internal documentation + about each shell variable that is set (or not set). + * scripttempl/tic80coff.sc: Complete rewrite. + +Fri Feb 28 17:42:27 1997 Ian Lance Taylor <ian@cygnus.com> + + * ldmain.c (main): Call bfd_set_default_target. + * Makefile.in (ldmain.o): Define TARGET when compiling. + +Thu Feb 27 11:41:03 1997 Ian Lance Taylor <ian@cygnus.com> + + * ldmain.c (main): Don't initialize link_info.lprefix or + link_info.lprefix_len. + * emultempl/hppaelf.em (hppaelf_before_parse): Likewise. + + * emultempl/m88kbcs.em: Remove. + * emulparams/m88kbcs.sh (TEMPLATE_NAME): Don't set. + * Makefile.in (em88kbcs.c): Depend upon generic.em rather than + m88kbcs.em. + + * mri.c (mri_draw_tree): Pass noload_section, not SEC_NEVER_LOAD, + to lang_enter_output_section_statement. From Mark Rasin + <mark.rasin@telrad.co.il>. + +Wed Feb 26 11:51:44 1997 Ian Lance Taylor <ian@cygnus.com> + + * ldlang.c (lang_one_common): Clear SEC_IS_COMMON from common + section. + +Tue Feb 25 20:38:11 1997 Stan Shebs <shebs@andros.cygnus.com> + + * configure.tgt (mips*-*-lnews*): New target. + * Makefile.in (emipslnews.c): New target. + * emulparams/mipslnews.sh: New file. + +Tue Feb 25 16:04:09 1997 Ian Lance Taylor <ian@cygnus.com> + + * emultempl/elf32.em (hold_interp): New static variable. + (gld${EMULATION_NAME}_place_orphan): Put loadable .note sections + after hold_interp. Choose a unique output section name. + (gld${EMULATION_NAME}_place_section): Don't set hold_use if the + SEC_LOAD or SEC_ALLOC flags differ. Set hold_interp. + +Mon Feb 24 18:16:09 1997 Ian Lance Taylor <ian@cygnus.com> + + From Eric Youngdale <eric@andante.jic.com>: + * ldlex.l (V_TAG, V_IDENTIFIER): New macros. + (VERS_START, VERS_SCRIPT, VERS_NODE): New states to parse version + information. + (ldlex_version_script, ldlex_version_file): New functions. + * ldlex.h (enum input_enum): Add input_version_script. + (ldlex_version_script): Declare. + (ldlex_version_file): Declare. + * ldgram.y (%union): Add deflist, versyms, and versnode. + (VERS_TAG, VERS_IDENTIFIER): New terminals. + (GLOBAL, LOCAL, VERSION, INPUT_VERSION_SCRIPT): New terminals. + (file): Accept INPUT_VERSION_SCRIPT. + (ifile_p1): Accept version. + (version_script_file): New nonterminal. + (version, vers_nodes, vers_node): Likewise. + (verdep, vers_tag, ver_defns): Likewise. + * ldlang.c (lang_elf_version_info): New global variable. + (lang_new_vers_regex): New function. + (lang_new_vers_node): New function. + (version_index): New static variable. + (lang_register_vers_node): New function. + (lang_add_vers_depend): New function. + * ldlang.h (lang_elf_version_info): Declare. + (lang_new_vers_regex, lang_new_vers_node): Declare. + (lang_add_vers_depend, lang_register_vers_node): Declare. + * lexsup.c (OPTION_VERSION_SCRIPT): Define. + (ld_options): Add "version-script". + (parse_args): Handle OPTION_VERSION_SCRIPT. + * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): + Pass lang_elf_version_info to size_dynamic_sections. + * scripttempl/elf.sc: Add .gnu.version sections. + * ld.texinfo: Document symbol versioning. + +Fri Feb 21 17:37:51 1997 Martin M. Hunt <hunt@pizza.cygnus.com> + + * Makefile.in (ed30velf.c): New target. + * configure.tgt (d30v-*-*): New target. + * emulparams/d30velf.sh: New file. + * scripttempl/elfd30v.sc: New file. + +Fri Feb 14 18:28:31 1997 Ian Lance Taylor <ian@cygnus.com> + + * ld.texinfo (Option Commands): Document the INCLUDE command. + +Thu Feb 13 20:31:37 1997 Philippe De Muyter <phdm@info.ucl.ac.be> + + * configure.in: Call BFD_NEED_DECLARATION on getenv. + * acconfig.h (NEED_DECLARATION_GETENV): New macro. + * sysdep.h (getenv): Declare if NEED_DECLARATION_GETENV. + * ldemul.c (ld_emul_default_target): Do not cast getenv return + value. + * ldmain.c (get_emulation): Likewise. + * configure, config.in: Rebuild. + +Tue Feb 11 15:34:26 1997 Ian Lance Taylor <ian@cygnus.com> + + * scripttempl/elfmips.sc: When relocating, put .mips16.fn.* and + .mips16.call.* in .text. + +Sun Feb 9 18:09:13 1997 Fred Fish <fnf@cygnus.com> + + * emulparams/tic80coff.sh: New (dummy) file for TIc80. + * scripttempl/tic80coff.sc: New (dummy) file for TIc80. + * Makefile.in (etic80coff.c): Add target and rule to build it. + * configure.tgt (tic80-*-coff): Set targ_emul to tic80coff. + +Fri Jan 31 13:16:53 1997 Ian Lance Taylor <ian@cygnus.com> + + * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Search for + ".so" in the name, not ".so.". + (gld${EMULATION_NAME}_search_dir): Accept a plain .so file. + + * Makefile.in (ld.info): Add -I$(srcdir). From Alan Modra + <alan@spri.levels.unisa.edu.au>. + +Thu Jan 30 11:31:52 1997 Ian Lance Taylor <ian@cygnus.com> + + * emultempl/sunos.em: Include <ctype.h>. + (gld${EMULATION_NAME}_find_so): Skip the directory name when + searching for ".so.". + (gld${EMULATION_NAME}_search_dir): Make sure that the library name + has a version number, and that only version numbers follow .so. + +Wed Jan 29 18:15:00 1997 Geoffrey Noer <noer@cygnus.com> + + * scripttempl/pe.sc: + * scripttempl/ppcpe.sc: add *(.gcc_except_table) to the text + section so Win32 executables are valid. + +Mon Jan 27 12:28:43 1997 Ian Lance Taylor <ian@cygnus.com> + + * scripttempl/elf.sc: Put linkonce reloc section in other + appropriate reloc sections. + * scripttempl/elfmips.sc: Add linkonce support. + * scripttempl/elfppc.sc: Likewise. + +Fri Jan 24 10:44:09 1997 Jeffrey A Law (law@cygnus.com) + + * emulparms/mn10200.sh (OTHER_RELOCATING_SECTIONS): Move the + stack up to 0x80000. + * emulparms/mn10300.sh (OTHER_RELOCATING_SECTIONS): Likewise. + +Tue Jan 21 12:11:10 1997 Doug Evans <dje@seba.cygnus.com> + + * emulparams/m32relf.sh (OTHER_RELOCATING_SECTIONS): Use PROVIDE + to define `_stack'. + +Thu Jan 16 17:07:52 1997 Ian Lance Taylor <ian@cygnus.com> + + * ld.h (args_type): Rename auxiliary_filter_shlib to + auxiliary_filters, and make it char **. + * lexsup.c (parse_args): Handle -f by setting up an array. + * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Use + new name of auxiliary_filters. + + * ld.texinfo (Options): Improve documentation of --filter and + --auxiliary. + +Tue Jan 14 15:44:28 1997 Ian Lance Taylor <ian@cygnus.com> + + * ld.texinfo (Options): Clarify that the normal usage is -T. + (Commands): Likewise. + +Thu Jan 9 11:26:27 1997 Ian Lance Taylor <ian@cygnus.com> + + * scripttempl/armcoff.sc: Correct mask used for .data address. + +Wed Jan 8 15:14:59 1997 Geoffrey Noer <noer@cygnus.com> + + * emultempl/pe.em: make default executable a.exe instead of + a.out + +Fri Jan 3 17:33:34 1997 Richard Henderson <rth@tamu.edu> + + * scripttempl/elf.sc: Move .got closer to .sdata and .sbss by + shifting .plt back. Rumour has it that the NetBSD ld.so depends + on .dynamic being after .got, so we leave that. + +Fri Jan 3 14:04:40 1997 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.in (clean): Don't remove configdoc.texi. + (maintainer-clean): Do remove configdoc.texi. + + * ld.texinfo (Operators): Remove '@' from @smallexmple in comment + to avoid confusing texi2roff. + +Fri Jan 3 11:27:02 1997 Michael Meissner <meissner@tiktok.cygnus.com> + + * scripttempl/v850.sc (.zdata): Add .zcommon section. + (.tdata): Add .tcommon and .tcommon_byte sections. + +Thu Jan 2 18:14:32 1997 Ian Lance Taylor <ian@cygnus.com> + + * configure.tgt (mips*el-*-linux*, mips*-*-linux*): New targets. + * scripttempl/elfmips.sc: Use __start as the entry address for + mips*-*-linux*. + +Tue Dec 31 14:48:30 1996 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE. + + * ld.h (args_type): Add filter_shlib and auxiliary_filter_shlib + fields. + * lexsup.c (parse_args): Recognize --auxiliary/-f and + --filter/-F. + * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): + Pass filter_shlib and auxiliary_filter_shlib to + size_dynamic_sections. + * ld.texinfo, ld.1: Document --filter/-F and --auxiliary/-f. + +Mon Dec 30 13:55:57 1996 Michael Meissner <meissner@tiktok.cygnus.com> + + * scripttempl/v850.sc (.tdata) Add .tbss and .tbyte sections. + +Wed Dec 18 22:57:35 1996 Stan Shebs <shebs@andros.cygnus.com> + + * mpw-make.sed: Use NewFolderRecursive for installation. + +Fri Dec 13 14:08:50 1996 Michael Meissner <meissner@tiktok.cygnus.com> + + * scripttempl/v850.sc: Make sure __{e,g}p start relative to the + {s,t}data sections. Do not emit any linker generated symbols if + -r. Use {TEXT,{Z,S,T}DATA}_START_ADDR variables to initialize + where the different sections go. Change some whitespace. + + * emulparams/v850.sh ({TEXT,{Z,S,T}DATA}_START_ADDR): Define + appropriately. Remove crud not used anymore. + +Fri Dec 13 10:19:57 1996 Jeffrey A Law (law@cygnus.com) + + * Makefile.in (emn10200.c): Add dependencies. + * configure.tgt: Handle mn10200. + * emulparms/mn10200.sh: New file. + +Thu Dec 12 17:04:55 1996 Ian Lance Taylor <ian@cygnus.com> + + * emultempl/gld960c.em: Include <ctype.h>. + (gld960_set_output_arch): Get the machine type from the -A option + if there is one, rather than always using core. + +Sat Dec 7 10:07:51 1996 Jeffrey A Law (law@cygnus.com) + + * emulparms/mn10300.sh: Handle leading underscores. + +Thu Dec 5 13:45:58 1996 Ian Lance Taylor <ian@cygnus.com> + + * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Only + set hold_rel if SEC_ALLOC is set. + +Tue Dec 3 11:29:20 1996 Ian Lance Taylor <ian@cygnus.com> + + * ldlang.c (section_already_linked): Set the output_offset as well + as the output_section when only reading symbols from a file. + +Mon Dec 2 11:43:50 1996 Ian Lance Taylor <ian@cygnus.com> + + * emulparams/*.sh: Make sure that each set of parameters which + uses the elf.sc script sets MACHINE. + +Wed Nov 27 03:22:05 1996 Jason Merrill <jason@yorick.cygnus.com> + + * scripttempl/elf{,mips,ppc}.sc: Add the remaining DWARF sections. + * scripttempl/elfd10v.sc: Likewise. + * scripttempl/v850.sc: Likewise. + +Tue Nov 26 16:58:33 1996 Ian Lance Taylor <ian@cygnus.com> + + * configure: Rebuild with autoconf 2.12. + +Mon Nov 25 12:17:55 1996 Jim Wilson <wilson@cygnus.com> + + * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Add case + for bfd_vma to init loop. + +Mon Nov 25 09:55:07 1996 Jeffrey A Law (law@cygnus.com) + + * emulparms/mn10300.sh: Remove bogus '_' prefix for + entry symbol and ctor/dtor stuff. + +Fri Nov 15 13:00:18 1996 Jeffrey A Law (law@cygnus.com) + + * Makefile.in (emn10300.c): Add dependencies. + * configure.tgt: Handle mn10300. + * emulparms/mn10300.sh: New file. + +Tue Nov 5 10:57:50 1996 Martin M. Hunt <hunt@pizza.cygnus.com> + + * emulparams/d10velf.sh (READONLY_START_ADDR): Changed to 0x2000004. + (EMBEDDED): Define. + +Fri Nov 1 10:01:27 1996 Ian Lance Taylor <ian@cygnus.com> + + * ld.texinfo: Add section on reporting bugs. + + * scripttempl/m68kcoff.sc: Make sure the etext and __CTOR_LIST__ + symbols are correctly aligned. + +Thu Oct 31 09:28:59 1996 Jeffrey A Law (law@cygnus.com) + + * scriptempl/v850.sc (zdata): Handle reszdata, romzdata and + romzbss too. + +Tue Oct 29 12:33:05 1996 Martin M. Hunt <hunt@pizza.cygnus.com> + + * emulparams/d10velf.sh: Changes needed for D10V-EVA board. + Set TEXT_START_ADDR to 0x1000000. Set READONLY_START_ADDR to + 0x2000000. + + * scripttempl/elfd10v.sc: Fix calculation of .text. Change + .stack to start at 0x2007ffe. + +Mon Oct 28 15:37:00 1996 Doug Evans <dje@canuck.cygnus.com> + + * configure.tgt (sparclet*-*-aout*): Delete, use sparc*-*-aout*. + +Wed Oct 23 16:17:22 1996 Jeffrey A Law (law@cygnus.com) + + * scriptempl/v850.sc (zdata): Fix typo "zrodata" -> "rozdata". + + * scriptempl/v850.sc (zdata): Make sure this stays + in lo-memory. + +Tue Oct 22 11:36:47 1996 Jeffrey A Law (law@cygnus.com) + + * scripttempl/v850.sc (__ep): Put it at the start + of the tda section. + + * scriptempl/v850.sc: Move all "normal" sections into + the external memory region (0x100000 - 0x200000). + +Mon Oct 21 17:16:59 1996 Michael Meissner <meissner@wogglebug.tiac.net> + + * scripttempl/elfd10v.sc: Clone from elf.sc, move .text to + 0x10000, so that is more room for data. + + * emulparams/d10velf.sh (TEXT_START_ADDR): Now 0x100000. + (READONLY_START_ADDR): Now 0x0. + (SCRIPT_NAME): Now elfd10v. + + * Makefile.in (ed10velf.c): Depend on elfd10v.sc, not elf.sc. + +Fri Oct 18 22:12:49 1996 Doug Evans <dje@canuck.cygnus.com> + + * emulparams/m32relf.sh (TEXT_START_ADDR): Change from 0 to 0x100. + +Fri Oct 18 15:43:38 1996 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.in (ALL_EMULATIONS): Remove eelf64alpha.o. + (ALL_64_EMULATIONS): New variable. + * configure.in: Accept --enable-64-bit-bfd option. If it is set + with --enable-targets=all, include ALL_64_EMULATIONS in + EMULATION_OFILES. + * configure: Rebuild. + +Fri Oct 18 12:58:35 1996 Jeffrey A Law (law@cygnus.com) + + * scripttempl/v850.sc (__gp, __ep): Define. + +Thu Oct 17 18:14:07 1996 Ian Lance Taylor <ian@cygnus.com> + + * ld.texinfo: Try to consistently use a single or a double dash + for each option. + +Thu Oct 17 10:17:20 1996 Doug Evans <dje@canuck.cygnus.com> + + * emulparams/m32relf.sh (EMBEDDED): Define. + +Thu Oct 17 10:56:49 1996 Jeffrey A Law (law@cygnus.com) + + * scripttempl/v850.sc (.zdata): Add this before .text. + (.sdata): Also include .rosdata as part of the .sdata. + (.tdata): Include this just before .sdata. + + * emulparms/v850.sh (SCRIPT_NAME): Use "v850" not "elf". + * scripttempl/v850.sc: Wrap script with a "cat << EOF". + +Wed Oct 16 23:10:01 1996 Jeffrey A Law (law@cygnus.com) + + * scripttempl/v850.sc: New linker script for the V850. + * Makefile.in: Use it. + +Thu Oct 10 17:57:00 1996 Ian Lance Taylor <ian@cygnus.com> + + * emulparams/elf32b4300.sh: Define _gp in OTHER_GOT_SYMBOLS, not + OTHER_READWRITE_SECTIONS. + * emulparams/elf32l4300.sh: Likewise. + +Wed Oct 9 14:36:18 1996 Ian Lance Taylor <ian@cygnus.com> + + * ld.h (ld_config_type): Add warn_section_align field. + * lexsup.c (OPTION_WARN_SECTION_ALIGN): Define. + (ld_options): Add --warn-section-align. + (parse_args): Handle --warn-section-align. + * ldlang.c (lang_size_sections): If warn_section_align, warn if + the start of a section changes due to alignment. + * ld.texinfo, ld.1: Document --warn-section-align. + * ld.texinfo: Change some single dashes to double dashes. + + * emultempl/pe.em (set_pe_subsystem): Record entry symbol for each + subsystem type. Ifdef out os2 type. Recognize a version number. + +Tue Oct 8 12:07:13 1996 Ian Lance Taylor <ian@cygnus.com> + + * emultempl/pe.em (set_pe_subsystem): When setting the subsystem + to windows, set the entry point. + + * Makefile.in (ldlex.c): Don't pass any options to $(LEX). + +Mon Oct 7 17:29:05 1996 Ian Lance Taylor <ian@cygnus.com> + + * ld.texinfo (Options): Mention .so extensions for shared + libraries. + +Sun Oct 6 22:35:36 1996 Jason Merrill <jason@yorick.cygnus.com> + + * scripttempl/elf{,mips,ppc}.sc: Add DWARF 2 sections. + +Fri Oct 4 18:49:31 1996 Ian Lance Taylor <ian@cygnus.com> + + * scripttempl/m68kcoff.sc: Only set the address of .text if + RELOCATING. + +Fri Oct 4 10:59:52 1996 Doug Evans <dje@canuck.cygnus.com> + + * emulparams/sparcaout.sh ({BIG,LITTLE}_OUTPUT_FORMAT): Define. + * scripttempl/aout.sc ({BIG,LITTLE}_OUTPUT_FORMAT): Provide default. + (OUTPUT_FORMAT): Support bi-endian targets. + +Thu Oct 3 13:52:03 1996 Ian Lance Taylor <ian@cygnus.com> + + * fnmatch.h, fnmatch.c: Remove (now in libiberty). + * Makefile.in: Rebuild dependencies. + (CFILES): Remove fnmatch.c. + (HFILES): Remove fnmatch.h. + (OFILES): Remove fnmatch.o. + +Thu Oct 3 15:41:24 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) + + * Makefile.in (mostlyclean): Move config.log to distclean. + +Wed Oct 2 23:45:25 1996 Geoffrey Noer <noer@cygnus.com> + + * emultmpl/pe.em: increase size of stack reserve to 0x2000000 + (necessary in order to compile parse.c in gcc sources under NT) + +Wed Oct 2 14:49:10 1996 Ian Lance Taylor <ian@cygnus.com> + + * lexsup.c (ld_options): Fix typo in --rpath-link description. + * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Suggest + --rpath if a needed library is not found. + +Tue Oct 1 16:17:33 1996 Joel Sherrill <joel@oarcorp.com> + + * configure.tgt (mips*-*-rtems*): New target, like mips*-*-elf*. + +Tue Oct 1 15:50:34 1996 Ian Lance Taylor <ian@cygnus.com> + + * ld.texinfo (Options): Give more detail on -l option. + + * scripttempl/elfmips.sc: Handle CREATE_SHLIB the same way that + elf.sc does, so that glibc works better. + + * ldver.c (ld_program_version): New variable. + (ldversion): Use it. + * ldver.h (ld_program_version): Declare. + * lexsup.c (ld_options): Handle --dll-verbose like --verbose, not + --version. Change --version handling to match current GNU + standards. + (help): Print bug report address. + +Mon Sep 30 12:14:43 1996 Doug Evans <dje@canuck.cygnus.com> + + * Makefile.in (em32relf.c): Add rule for. + * configure.tgt (m32r-*-*): Recognize. + * emulparams/m32relf.sh: New file. + +Thu Sep 26 13:58:47 1996 Stan Shebs <shebs@andros.cygnus.com> + + * mpw-make.sed: Add symbolic doublequoting to ldmain compile edit. + * mpw-config.in: Add mips-*-* case as mips-elf, and use more + wildcards in matching. + * mpw-emipself.c: New file, pregenerated mips elf emulation. + +Tue Sep 17 12:18:21 1996 Ian Lance Taylor <ian@cygnus.com> + + * ldint.texinfo: Rewrote. + + * configure.tgt: Add cases for MIPS 5000 like MIPS 4300. + +Mon Sep 16 17:55:21 1996 Ian Lance Taylor <ian@cygnus.com> + + * scripttempl/armcoff.sc: Only define symbols if RELOCATING. Fix + syntax error on __end__ line. + + * scripttempl/armcoff.sc: For -N or -n, don't align .data. From + Chris Hadley <Christopher.Hadley@cl.cam.ac.uk> + +Sun Sep 15 22:09:56 1996 Jeffrey A Law (law@cygnus.com) + + * emulparms/v850.sh: Fix OTHER_RELOCATING_SECTIONS. + +Sun Sep 15 10:38:16 1996 Mark Alexander <marka@cygnus.com> + + * emulparms/d10v.sh: Set OTHER_RELOCATING_SECTIONS to put + stack at top of simulator memory. + +Fri Sep 13 15:49:45 1996 Ian Lance Taylor <ian@cygnus.com> + + * ldlex.l (SYMBOLCHARN): Add $, _, and ~. + +Wed Sep 11 23:30:42 1996 Ian Lance Taylor <ian@cygnus.com> + + * ldmain.c (get_emulation): Check for -mips4 like -mips1, et. al. + +Thu Sep 5 15:24:12 1996 Ian Lance Taylor <ian@cygnus.com> + + * ldlang.c (section_already_linked): Accept a lang_input_statement + as the PTR argument. If the file is symbols only, discard all + input sections. + (ldlang_add_file): Pass entry to bfd_map_over_sections. + +Wed Sep 4 15:53:43 1996 Ian Lance Taylor <ian@cygnus.com> + + * configure.tgt (alpha-*-gnu*): New target. From Fila Kolodny + <fila@ibi.com>. + +Tue Sep 3 00:52:54 1996 Jeffrey A Law (law@cygnus.com) + + * emulparms/v850.sh: Set OTHER_RELOCATING_SECTIONS + +Sun Sep 1 21:48:58 1996 Jeffrey A Law (law@cygnus.com) + + * emulparms/v850.sh: Set EMBEDDED. + +Fri Aug 30 22:30:30 1996 Jeffrey A Law (law@cygnus.com) + + * emulparms/v850.sh: Entry symbol is "_start", tweak + ctor/dtor support. + +Fri Aug 30 18:32:31 1996 Ian Lance Taylor <ian@cygnus.com> + + * configure.tgt (sh-*-elf*): New target. + * emulparams/shelf.sh: New file. + * emulparams/shlelf.sh: New file. + * Makefile.in (ALL_EMULATIONS): Add eshelf.o and eshlelf.o. + (eshelf.c, eshlelf.c): New targets. + * scripttempl/elf.sc: If EMBEDDED is defined, then don't add + SIZEOF_HEADERS to TEXT_START_ADDR. Expand CTOR_START and CTOR_END + around .ctors, and DTOR_START and DTOR_END around .dtors. Expand + OTHER_RELOCATING_SECTIONS if RELOCATING. + +Thu Aug 29 16:57:46 1996 Michael Meissner <meissner@tiktok.cygnus.com> + + * configure.{host,tgt} (i[345]86-*-*): Recognize i686 for pentium + pro. + +Mon Aug 26 12:58:11 1996 Ian Lance Taylor <ian@cygnus.com> + + * ldgram.y (section): Add opt_nocrossrefs; pass value to + lang_enter_overlay. + (opt_nocrossrefs): New nonterminal. + * ldlex.l: Recognize NOCROSSREFS keyword in EXPRESSION mode. + * ldlang.c (overlay_nocrossrefs): New static variable. + (lang_enter_overlay): Add nocrossrefs parameter. + (lang_leave_overlay): Only add nocrossrefs if overlay_nocrossrefs + is set. Initialize overlay_nocrossrefs. + * ldlang.h (lang_enter_overlay): Update declaration. + * ld.texinfo (Overlays): Update documentation. + + * ldver.c (ldversion): Print GNU ld in the version message. + +Thu Aug 22 17:10:40 1996 Ian Lance Taylor <ian@cygnus.com> + + * configure.host: Set HLDENV. + * configure.in: Substitute HLDENV. + * configure: Rebuild. + * Makefile.in (HLDENV): New variable. + ($(LD_PROG)): Use $(HLDENV). + +Thu Aug 22 16:29:28 1996 Jeffrey A Law (law@cygnus.com) + + * Makefile.in (ev850.c): New target. + * configure.tgt (v850-*-*): New target. + * emulparams/v850.sh: New file. + +Thu Aug 22 11:16:02 1996 Stan Shebs <shebs@andros.cygnus.com> + + * mpw-make.sed: Add @DASH_C_FLAG@ to compiler edit. + +Wed Aug 21 11:26:37 1996 Ian Lance Taylor <ian@cygnus.com> + + * scripttempl/elf.sc: Put .gnu.linkonce* sections in appropriate + containing sections. + +Mon Aug 19 13:01:42 1996 Ian Lance Taylor <ian@cygnus.com> + + * fnmatch.c: Include sysdep.h. + +Mon Aug 19 11:28:29 1996 Michael Meissner <meissner@tiktok.cygnus.com> + + * genscripts.sh: Undo 8/16 change. + + * emulparams/d10velf.sh (MACHINE): Explicitly set to nothing. + +Fri Aug 16 19:18:08 1996 Michael Meissner <meissner@tiktok.cygnus.com> + + * genscripts.sh: Explicitly reset any shell variables set or used + by the various .sc scripts to allow inadvertant use of these + names as normal environment variables by the person running + configure. + + * Makefile.in (ed10velf.c): Use tdir_d10v, not tdir_arcelf. + +Fri Aug 16 14:15:41 1996 James G. Smith <jsmith@cygnus.co.uk> + + * scripttempl/armcoff.sc (__bss_start__, __bss_end__, + __data_start__, __data_end__): Added to keep in sync. with the + default ARM crt0.s. Added __CTOR_LIST__ and __DTOR_LIST__ support. + +Thu Aug 8 14:24:56 1996 Ian Lance Taylor <ian@cygnus.com> + + * ldcref.c (check_reloc_refs): If info->same, look for any symbol + defined in info->defsec, not just the section symbol. + +Wed Aug 7 14:40:48 1996 Philippe De Muyter <phdm@info.ucl.ac.be> + + * configure.in: Call BFD_NEED_DECLARATION on strstr and sbrk. + * acconfig.h (NEED_DECLARATION_STRSTR): New macro. + (NEED_DECLARATION_SBRK): New macro. + * configure, config.in: Rebuild. + * sysdep.h (strstr): Declare if NEED_DECLARATION_STRSTR. + * ldmain.c (sbrk): Declare if HAVE_SBRK and + NEED_DECLARATION_SBRK. + + * ldlang.c (lang_record_phdrs): Cast xmalloc and xrealloc return. + +Mon Aug 5 16:26:14 1996 Ian Lance Taylor <ian@cygnus.com> + + * ldlex.l: Recognize OVERLAY. + * ldgram.y: Add section_phdr field to %union. + (section): Handle phdr_opt result. Add OVERLAY case. + (opt_exp_without_type): New nonterminal. + (phdr_opt): Return list of phdrs. + (overlay_section): New nonterminal. + * ldlang.c: Include <ctype.h>. + (lang_leave_output_section_statement): Add phdrs parameter. + Change all callers. + (lang_section_in_phdr): Remove. + (overlay_vma, overlay_lmn, overlay_max): New static variables. + (struct overlay_list): Define. + (overlay_list): New static variable. + (lang_enter_overlay, lang_enter_overlay_section): New functions. + (lang_leave_overlay_section, lang_leave_overlay): New functions. + * ldlang.h (lang_leave_output_section_statement): Update + declaration for new parameter. + (lang_section_in_phdr): Don't declare. + (lang_enter_overlay, lang_enter_overlay_section): Declare. + (lang_leave_overlay_section, lang_leave_overlay): Declare. + * ld.texinfo (Overlays): New node under SECTIONS, documenting + overlays. + + * ldlex.l: Recognize MAX and MIN. + * ldgram.y (MAX, MIN): New terminals. + (exp): Recognize MAX and MIN. + * ldexp.c (fold_binary): Handle MAX and MIN. + * ld.texinfo (Arithmetic Functions): Document MAX and MIN. + + * ld.texinfo (PHDRS): Use @cindex, not @kindex, for program header + index entries. + + * ldgram.y (SIZEOF, ADDR): Do not specify type. + + * ldcref.c (check_nocrossref): Skip symbols with no output + sections. + +Fri Aug 2 14:57:49 1996 Ian Lance Taylor <ian@cygnus.com> + + * ldgram.y (LOADADDR): New terminal. + (exp): Handle LOADADDR. + * ldlex.l: Recognize LOADADDR. + * ldexp.c (exp_print_token): Add LOADADDR. + (fold_name): Implement LOADADDR. + * ldlang.c (exp_init_os): Treat LOADADDR like ADDR. + * ld.texinfo (Arithmetic Functions): Document LOADADDR. + +Thu Aug 1 12:52:19 1996 Ian Lance Taylor <ian@cygnus.com> + + * ld.h (check_nocrossrefs): Declare. + * ldlang.h (struct lang_nocrossref): Define. + (struct lang_nocrossrefs): Define. + (nocrossref_list): Declare. + (lang_add_nocrossref): Declare. + * ldlex.l: Recognize NOCROSSREFS keyword. + * ldgram.y (%union): Add nocrossref field. + (NOCROSSREFS): New terminal. + (ifile_p1): Recognize NOCROSSREFS. + (nocrossref_list): New nonterminal. + * ldlang.c (nocrossref_list): Define. + (lang_add_nocrossref): New function. + * ldmain.c (main): If nocrossref_list is not NULL, call + check_nocrossrefs. + (warning_callback): Free symbols if there is no place to store + them. + (notice): Call add_cref if nocrossref_list is not NULL. + * ldcref.c: Include "ldexp.h" and "ldlang.h". + (check_nocrossrefs): New function. + (check_nocrossref): New static function. + (struct check_refs_info): Define. + (check_refs, check_reloc_refs): New static functions. + * Makefile.in: Rebuild dependencies. + * ld.texinfo (Option Commands): Document NOCROSSREFS. + + * ld.texinfo (Section Placement): Improve the wording of the + wildcard documentation. Mention that wildcards are only searched + for on the command line, not in the file system. + + * emultempl/sunos.em (gld${EMULATION_NAME}_after_open): Move + definition of lib_path inside condition where it is used. + +Wed Jul 31 13:17:10 1996 Martin M. Hunt <hunt@pizza.cygnus.com> + + * emulparams/d10velf.sh: Now works with elf.sc. + +Wed Jul 31 11:52:03 1996 Martin M. Hunt <hunt@pizza.cygnus.com> + + * emulparams/d10velf.sh (SCRIPT_NAME): Change to vanilla. + +Tue Jul 30 14:46:42 1996 Ian Lance Taylor <ian@cygnus.com> + + * ldlang.c (lang_size_sections): Add the section VMA to the result + value when computing the address of a section. + + * ld.h (args_type): Add cref field. + * lexsup.c (parse_args): Set command_line.cref. + * ldmain.c (main): Check command_line.cref rather than + link_info.notice_all. + (notice): Likewise. + + * ldcref.c (output_one_cref): Don't crash if a symbol is defined + in a section without an owner. + +Mon Jul 29 17:23:33 1996 Ian Lance Taylor <ian@cygnus.com> + + * fnmatch.h, fnmatch.c: New files. + * ldlex.l: Remove unused definition of FILENAME. Add definition + of WILDCHAR. In SCRIPT mode, accept any sequence of WILDCHAR as a + NAME. + * ldgram.y (file_NAME_list): Accept '*' and '?' specially. + (input_section_spec): Accept '?' specially. + (statement): Change exp to mustbe_exp in length and FILL cases. + (section): Call ldlex_script before section statements, and call + ldlex_popstate after them. + * ldlang.c: Include "fnmatch.h". + (wildcardp): New static function. + (wild_section): Permit the section name to be a wildcard. + (wild_file): New static function, broken out of wild. + (wild): Call wild_file. Permit the file name to be a wildcard. + (open_input_bfds): Don't call lookup_name for a wildcard pattern. + * Makefile.in: Rebuild dependencies. + (CFILES): Add fnmatch.c. + (HFILES): Add fnmatch.h. + (OFILES): Add fnmatch.o. + * ld.texinfo: Document that file and section names can now be + wildcard patterns. + + * ldlang.c (lang_place_orphans): Correct condition: place a common + section if not relocateable or if common definitions are forced. + +Wed Jul 24 12:16:38 1996 Martin M. Hunt <hunt@pizza.cygnus.com> + + * emulparams/d10velf.sh (SCRIPT_NAME): Change to elf. + +Wed Jul 24 13:38:22 1996 Michael Meissner <meissner@wogglebug.tiac.net> + + * configure.tgt (d10v-*-*): Don't require the -elf, allow plain d10v. + +Tue Jul 23 10:36:19 1996 Martin M. Hunt <hunt@pizza.cygnus.com> + + * Makefile.in (ed10velf.c): New target. + * configure.tgt (d10v-*-elf*): New target. + * emulparams/d10velf.sh: New file. + +Thu Jul 18 16:25:39 1996 Ian Lance Taylor <ian@cygnus.com> + + * configure.tgt (sparc*-*-sysv4*): New target. From Andrew Gierth + <ANDREWG@microlise.co.uk>. + + * configure.host: Change irix5 to irix[56]*. + * configure.tgt: Likewise. + +Wed Jul 17 10:52:46 1996 Kim Knuttila <krk@cygnus.com> + + * emultempl/pe.em (sort_sections): Pay attention to return code. + + * ldmisc.c (demangle): Remove all prefix '.'s from a name. + +Mon Jul 15 11:49:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Round + the value of __start_SECNAME to the alignment required by the + section to be placed. + +Tue Jul 9 12:09:02 1996 Ian Lance Taylor <ian@cygnus.com> + + * configure.tgt (mips*el-*-elf*): Use elf32elmip. + (mips*-*-elf*): Use elf32ebmip. + * emulparams/elf32bmip.sh (EMBEDDED): Don't define. + * emulparams/elf32lmip.sh (EMBEDDED): Don't define. + * emulparams/elf32elmip.sh: New file; copy of elf32lmip.sh with + EMBEDDED defined. + * emulparams/elf32ebmip.sh: New file; copy of elf32bmip.sh with + EMBEDDED defined. + * emulparams/elf32b4300.sh (EMBEDDED): Define. + * emulparams/elf32l4300.sh (EMBEDDED): Define. + * Makefile.in (ALL_EMULATIONS): Add eelf32ebmip.o eelf32elmip.o. + (eelf32ebmip.c, eelf32elmip.c): New targets. + +Thu Jul 4 12:01:03 1996 Ian Lance Taylor <ian@cygnus.com> + + * ldver.c (ldversion): Set version to cygnus-2.7.1. + + * Released binutils 2.7. + + * emulparams/pc532macha.sh: Rename from pc532machaout.sh to avoid + System V file name limitations. + * configure.tgt (nc32k-pc532-mach*, ns32k-pc532-ux*): Use + pc532macha rather than pc532machaout. + * Makefile.in (ALL_EMULATIONS): Change epc532machaout.o to + epc532macha.o. + (epc532macha.c): Rename target from epc532machaout.c. + +Wed Jul 3 11:40:10 1996 Ian Lance Taylor <ian@cygnus.com> + + * ldlang.c (print_padding_statement): Use %u, not %x, to print + fill value. + +Sun Jun 30 11:16:43 1996 Stan Shebs <shebs@andros.cygnus.com> + + * mpw-eppcmac.c: Update to reflect May 23 change to aix.em. + +Thu Jun 27 14:03:42 1996 Ian Lance Taylor <ian@cygnus.com> + + * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Put the .sa + file just before the .so file, rather than just after. + + * configure.host: Use -print-file-name=FILE rather than piping + -print-libgcc-file-name through sed. + (i[345]86*-*-sco*, i[345]86-*-isc*): Create crtbegin.o and + crtend.o files, in case gcc doesn't use them. + * Makefile.in (mostlyclean): Remove crtbegin.o and crtend.o. + +Wed Jun 26 15:57:21 1996 Ian Lance Taylor <ian@cygnus.com> + + * configure.tgt (mips*-dec-osf*): New target. + +Tue Jun 25 22:15:29 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) + + * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir, + INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values. + (docdir): Removed. + * configure.in (AC_PREREQ): autoconf 2.5 or higher. + (AC_PROG_INSTALL): Added. + * configure: Rebuilt. + +Mon Jun 24 18:48:16 1996 Michael Meissner <meissner@tiktok.cygnus.com> + + * scripttempl/elfppc.sc (_GLOBAL_OFFSET_TABLE_): Don't do a + PROVIDE of _GLOBAL_OFFSET_TABLE_, since it needs to be at a + non-fixed location. + +Mon Jun 24 17:55:31 1996 Jouke Numan <jnuman@bazis.nl> + + * ldlang.h (enum section_type): Define. + (lang_output_section_statement_type): Remove loadable field. Add + sectype field. + (lang_enter_output_section_statement): Change flags parameter in + prototype to sectype. + * ldgram.y (typebits): Remove. + (sectype): New static variable. + (opt_at): Use sectype rather than typebits. + (type): Set sectype rather than typebits. + (atype): Likewise. + * ldlex.l: Recognize DSECT, COPY, INFO, and OVERLAY in + EXPRESSION mode. + * ldlang.c (lang_output_section_statement_lookup): Set sectype + field rather than loadable field. + (wild_doit): Check sectype rather than loadable. + (lang_record_phdrs): Likewise. + (lang_enter_output_section_statement): Rename flags parameter to + sectype. Set sectype field rather than loadable field. Set flags + field based on sectype. + +Mon Jun 24 12:00:32 1996 Ian Lance Taylor <ian@cygnus.com> + + * scripttempl/elf.sc: Force .stab* and .comment sections to start + at 0. + + * configure.in: On alpha*-*-osf*, link against libbfd.a if not + using shared libraries. + * configure: Rebuild with autoconf 2.10. + +Fri Jun 21 17:40:56 1996 Joel Sherrill <joel@merlin.gcs.redstone.army.mil> + + * configure.tgt: Add support for *-*-rtems* configurations. + +Fri Jun 21 13:05:51 1996 Richard Henderson <rth@tamu.edu> + + * configure.tgt (alpha-*-linuxecoff*): New target. + (alpha-*-linux*): Use elf64alpha. + * emulparams/elf64alpha.sh: New file. + * emultempl/elf32.em: If ELFSIZE is not set, set it to 32. Use + ${ELFSIZE} rather than 32 when calling BFD routines. + (hold_rodata): New static variable. + (gld${EMULATION_NAME}_place_orphan): Use hold_rodata for a + readonly section that is not code. + (gld${EMULATION_NAME}_place_section): Set hold_rodata. Don't use + a .rel section unless its bfd_section field is not NULL. + * Makefile.in (ALL_EMULATIONS): Add eelf64alpha.o. + (eelf64alpha.c): New target. + +Fri Jun 21 12:45:46 1996 Ian Lance Taylor <ian@cygnus.com> + + * ldmisc.c (vfinfo): Correct handling of 0 in %W case. + +Thu Jun 20 13:55:28 1996 Ian Lance Taylor <ian@cygnus.com> + + Add enough support to understand the gcc svr3.ifile script: + * ldlex.l: Recognize BLOCK and GROUP in EXPRESSION context. Add + BIND keyword. + * ldgram.y: Add BIND token. + (section): Recognize GROUP. + (opt_ext_with_type): Recognize a couple of cases of BIND. + * ldlang.c (init_os): Don't do anything if section is already + initialized. Call exp_init_os on addr_tree field. + (exp_init_os): New static function. + (map_input_to_output_sections): Call exp_init_os on assignment + expression. + (lang_place_orphans): Check for common sections by name COMMON + rather than by common_section field. Don't warn about absence of + [COMMON] command. + + * ldlang.h (lang_input_statement_type): Remove useless fields + common_section, common_output_section, and complained, as well as + all references to them. + + * ldexp.c: Reindent a lot of code. + (exp_fold_tree): Call FAIL rather than einfo in default case. + +Wed Jun 19 11:40:14 1996 Ian Lance Taylor <ian@cygnus.com> + + * configure.host (m88*-*-dgux*): Quote HOSTING_CRT0. From + <randall.hron@medaphis.com>. + +Tue Jun 18 15:53:09 1996 Jeffrey A. Law <law@rtl.cygnus.com> + + * scripttempl/h8300s.sc: New file for H8/S. + * emulpararms/h8300s.sh: New file for H8/S. + * Makefile.in (ALL_EMULATIONS): Add H8/S. + (e_h8300s.c): Add dependencies. + * configure.tgt: Add H8/S to targ_extra_emuls. + +Tue Jun 18 17:55:39 1996 Ian Lance Taylor <ian@cygnus.com> + + * configure.tgt (i[345]86*-*-isc*): New target. From + <uddeborg@carmen.se>. + +Wed Jun 12 12:46:21 1996 Ian Lance Taylor <ian@cygnus.com> + + * lexsup.c: Include "libiberty.h". + (parse_args): Copy the -Y argument into memory. + (set_default_dirlist): Don't put the ':' back into the directory + list. + +Fri Jun 7 11:27:42 1996 Ian Lance Taylor <ian@cygnus.com> + + * emultempl/sunos.em: Include libiberty.h. + (gld${EMULATION_NAME}_set_symbols): New static function to add + LD_LIBRARY_PATH to the list of search directories. + (ld_${EMULATION_NAME}_emulation): Add new set_symbols routine. + +Thu Jun 6 11:50:31 1996 Ian Lance Taylor <ian@cygnus.com> + + * emulparams/elf32bmip.sh (OTHER_GOT_SYMBOLS): Use ALIGN(16) + rather than . when computing _gp value. From Per Fogelstrom. + * emulparams/elf32lmip.sh (OTHER_GOT_SYMBOLS): Likewise. + + * ldmain.c (main): Don't close and unlink the file on error, since + remove_output will do it anyhow. + * ldlang.c (open_output): Set boolean variable to true, not 1. + +Wed Jun 5 18:34:14 1996 James G. Smith <jsmith@cygnus.co.uk> + + * emulparams/{elf32b4300.sh,elf32l4300.sh} (SCRIPT_NAME): Use + elfmips instead of elf. + +Tue Jun 4 18:43:07 1996 Ian Lance Taylor <ian@cygnus.com> + + * ldcref.c: New file. + * ld.h (add_cref, output_cref): Declare. + * ldmain.c (main): Initialize notice_all field. If it is set at + end of link, call output_cref. + (notice): Rename from notice_ysym. Check notice_all. + * ldmisc.c (finfo): Make globally visible. + * ldmisc.h (finfo): Declare. + * lexsup.c (OPTION_CREF): Define. + (ld_options): Add "cref". + (parse_args): Handle OPTION_CREF. + * Makefile.in: Rebuild dependencies. + (CFILES): Add ldcref.c. + (OFILES): Add ldcref.o. + * ld.texinfo, ld.1: Document --cref. + +Tue Jun 4 12:12:25 1996 Tom Tromey <tromey@csk3.cygnus.com> + + * Makefile.in (install): Make $(tooldir) and $(tooldir)/bin. + +Fri May 31 12:40:55 1996 Ian Lance Taylor <ian@cygnus.com> + + * emultempl/pe.em (sort_sections): Don't assume that a + wild_statement has a section name. + +Wed May 29 13:13:35 1996 Ian Lance Taylor <ian@cygnus.com> + + * scripttempl/elfmips.sc: Quote test -z argument. + + * ld.texinfo: Clarify the CONSTRUCTORS command. + +Thu May 23 16:07:44 1996 Ian Lance Taylor <ian@cygnus.com> + + * emultempl/aix.em (gld${EMULATION_NAME}_read_file): Initialize + file, not impfile. + +Wed May 22 11:31:30 1996 Doug Evans <dje@seba.cygnus.com> + + * ldlang.c (wild_doit): Don't copy over SEC_LINK_{ONCE,DUPLICATES} + if final link. + * emultempl/pe.em (sfunc): Renamed to sort_by_file_name. + (sort_by_section_name, sort_sections_1): New functions. + (sort_sections): Only sort by file name sections in .idata. + Add "Grouped Sections" support. + (gld${EMULATION_NAME}_place_orphan): Rewrite to support Grouped + Sections. + (gld${EMULATION_NAME}_place_section): Delete. + * scripttempl/pe.sc (.text,.data,.rdata): Add *(.foo\$). + (.CRT,.rsrc): Rewrite to use Grouped Section support. + +Tue May 21 14:31:48 1996 Stan Shebs <shebs@andros.cygnus.com> + + * mpw-eppcmac.c: Update to reflect changes to aix.em. + +Sun May 19 16:59:44 1996 Doug Evans <dje@seba.cygnus.com> + + * ldlang.c (dprint_statement): Stop printing at end of list. + +Sat May 18 13:12:05 1996 Steve Chamberlain <sac@slash.cygnus.com> + + Support for --force-exe-suffix + * ld.h (args_type): Add force_exe_suffix. + * ld.texinfo: Add documentation. + * ldmain.c (main): Add support for option. + * lexsup.c (OPTION_FORCE_EXE_SUFFIX): New. + (ld_options, parse_args): Add support for option. + +Wed May 15 12:50:25 1996 Jim Wilson <wilson@chestnut.cygnus.com> + + * emultempl/pe.em (set_pe_value): Pass 0 not 16 to strtoul call. + +Fri May 10 16:28:44 1996 Michael Meissner <meissner@tiktok.cygnus.com> + + * scripttempl/elfppc.sc (__stack): Make __stack 0 if it was + referenced but not defined. + +Thu May 9 08:52:23 1996 Rob Savoye <rob@chinadoll.cygnus.com> + + * emulparams/{elf32bmip.sh,elf32lmip.sh,mipsidt.sh,mipsidtl.sh}: + Set a new variable to signify if the final target is an embedded + system. + * scripttempl/{mips.sc,elfmips.sc}: Don't add SIZEOF_HEADERS to + .text for an embedded system. + +Tue May 7 10:56:11 1996 Doug Evans <dje@canuck.cygnus.com> + + * scripttempl/pe.em (gld${EMULATION_NAME}_place_orphan): New function. + (gld${EMULATION_NAME}_place_section): New function. + (hold_{section,use,text,rdata,data}): New static locals. + (ld_${EMULATION_NAME}_emulation): Update orphan field. + * scripttempl/pe.sc: Whitespace cleanup. Semicolon usage cleanup. + (INIT,FINI): Delete, unused. + (.text): Document orphan .text.foo sections. + (.rdata): Document orphan .rdata.foo sections. + (.data): Document orphan .data.foo sections. + +Tue May 7 11:35:46 1996 Jeffrey A Law (law@cygnus.com) + + * scripttempl/h8300.sc: Place ".tiny" sections right + after ".data" sections. + * scripttempl/h8300h.sc: Place ".tiny" sections into + the "tiny" memory region, 0xff8000 through 0xffff00. + + * scripttempl/h8300.sc: Set the entry point to the value of + "_start" rather than the start of the text segment. + * scripttempl/h8300h.sc: Likewise. + + * scripttempl/h8300.sc: Place .rodata sections before .text + sections in main ram. + * scripttempl/h8300h.sc: Likewise. + +Mon May 6 23:32:30 1996 Jeffrey A Law (law@cygnus.com) + + * scripttempl/h8300h.sc: Use "eight", not "eightbit" for the + 8-bit region and 8-bit sections. + +Wed May 1 17:50:06 1996 Doug Evans <dje@canuck.cygnus.com> + + * ldlang.c (section_already_linked): Fix typos. + +Mon Apr 29 20:31:06 1996 Doug Evans <dje@canuck.cygnus.com> + + * scripttempl/pe.sc (.endjunk): Define __end__. + +Mon Apr 29 17:05:13 1996 Ian Lance Taylor <ian@cygnus.com> + + * ldlang.c (longest_section_name): Remove. + (SECTION_NAME_MAP_LENGTH): Define. + (print_size, print_alignment, print_fill, print_section): Remove. + (print_flags): Remove. + (lang_map): Rewrite. + (print_output_section_statement): Rewrite. + (print_assignment): Rewrite. + (print_one_symbol): Rewrite. + (print_input_section): Rewrite. + (print_fill_statement): Rewrite. + (print_data_statement): Rewrite. + (print_address_statement): New static function. + (print_reloc_statement): Rewrite. + (print_padding_statement): Rewrite. + (print_wild_statement): Rewrite. + (print_statement_list): Clean up. + (print_statement): Clean up. Some minor output changes. + (print_statements): Clean up. + (load_symbols): Put another - before -whole-archive. + * ldexp.c (exp_print_tree): Change etree_value and etree_rel to + print 0x and to omit leading zeroes. For etree_rel, use %B to + print the BFD. For etree_assign, remove the space after the + destination name. + * ldwrite.c: Include "libiberty.h". + (clone_section): Call xstrdup, not strdup. + (ldwrite): Don't print any map information. + (print_symbol_table, print_file_stuff, print_symbol): Remove. + * ldmain.c (main): Call lang_map when appropriate. + * ldmisc.c (vfinfo): Add support for %W. + (print_address): Remove. + * ldmisc.h (print_address): Don't declare. + * Makefile.in: Rebuild dependencies. + +Mon Apr 29 10:29:07 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * configure.host (m68*-*-linux*): Add -dynamic-linker to + HOSTING_CRT0. Search -lgcc both before and after -lc in + HOSTING_LIBS. Look for crt{begin,end}.o in the compiler directory + at first. + (i[345]86-*-linux*): Look for crt{begin,end}.o in the compiler + directory at first. + +Fri Apr 26 14:42:27 1996 Ian Lance Taylor <ian@cygnus.com> + + * ldmisc.h (demangle): Declare. + * ldmisc.c: Include "libiberty.h". Include demangle.h with "", + not <>. + (demangle): Make non-static. Remove remove_underscore paramter. + Always return an allocated string. + (vfinfo): Free result of demangle. Add case 'G'. Use %T to print + functionname, rather than calling demangle. Print a colon between + the BFD(section+offset) and the line number. + * ldmain.c (add_archive_element): Improve format of archive + information in map file. + (constructor_callback): Don't print anything to the map file. + * ldlang.c (lang_one_common): Improve format of common symbol + information in map file. + * ldctor.c (ldctor_build_sets): If producing a map file, print set + information. + * ldwrite.c (print_symbol_table): Print a newline before the + header in the map file. + * Makefile.in: Rebuild dependencies. + + * ldmisc.c (vfinfo): Reindent. + +Mon Apr 22 12:07:32 1996 Ian Lance Taylor <ian@cygnus.com> + + * ldlang.c (lang_size_sections): If _cooked_size is not 0, then + don't clobber it when not relaxing. + + * ld.h (ld_config_type): Remove traditional_format field. + * ldmain.c (main): Use link_info.traditional_format rather than + config.traditional_format. + * ldlang.c (ldlang_open_output): Likewise. + * lexsup.c (parse_args): Likewise. + * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Likewise. + * mpw-eppcmac.c (gldppcmacos_parse_args): Likewise. + + * ldlang.c (wild_doit): Discard debugging sections if we are + stripping debugging information. + + * emulparams/z8002.sh (ARCH): Set to z8002, not z8k. + +Tue Apr 16 16:38:32 1996 Ian Lance Taylor <ian@cygnus.com> + + * ldexp.c (fold_binary): Correct handling of subtraction with + absolute values. + (fold_name): Permit symbols in lang_allocating_phase_enum. + + * scripttempl/aout.sc: Only PROVIDE __stack when RELOCATING. Undo + accidental changes in last patch. + +Tue Apr 16 10:25:42 1996 Michael Meissner <meissner@tiktok.cygnus.com> + + * configure.tgt (powerpc*-*-{sysv,linux}): Add aliases. + (powerpcle*-*-{sysv,solaris}): Ditto. + +Mon Apr 15 14:50:56 1996 Rob Savoye <rob@chinadoll.cygnus.com> + + * scripttempl/aout.sc: Add PROVIDE (__stack = 0) so I can use it + in m68k/crt0.S without things blowing up. + +Fri Apr 12 16:40:56 1996 Rob Savoye <rob@chinadoll.cygnus.com> + + * scripttempl/m68kcoff.sc: Remove default address for .data so + .text, .data, and .bss are all sequential. + +Thu Apr 11 12:05:35 1996 Ian Lance Taylor <ian@cygnus.com> + + * scripttempl/m68kcoff.sc: Remove regions and simplify. + +Wed Apr 10 14:41:53 1996 Jeffrey A Law (law@cygnus.com) + + * scripttempl/h8300.sc: Add the "8-bit area" in the upper 256 + bytes of the address space. Put data from the ".eight" sections + into the 8-bit area. + * scripttempl/h8300h.sc: Likewise. + +Tue Apr 9 14:10:42 1996 Doug Evans <dje@canuck.cygnus.com> + + * emultempl/generic.em (gld${EMULATION_NAME}_before_parse): + Pass $ARCH to ldfile_set_output_arch instead of setting + ldfile_output_architecture directly. + +Tue Apr 9 14:22:15 1996 Michael Meissner <meissner@tiktok.cygnus.com> + + * scripttempl/elfppc.sc (.init,.fini): Put .init, .fini section + next to .text. Put _etext after .text, .init, .fini, and + .rodata{,2} sections. + +Tue Apr 9 12:18:57 1996 Ian Lance Taylor <ian@cygnus.com> + + * ld.texinfo: Rearrange option documentation. + + * lexsup.c (ld_options): New static array. + (parse_args): Build shortopts and longopts from ld_options array. + (help): New static function. + * ldver.h (help): Don't declare. + * ldver.c (ldversion): Reindent. + (help): Remove. + + * ld.texinfo, ld.1: Mention -E as a synonym for -export-dynamic. + +Mon Apr 8 11:56:23 1996 Ian Lance Taylor <ian@cygnus.com> + + * emultempl/elf32.em: When checking for a native emulation, check + that the current emulation is the default emulation. + * emultempl/sunos.em: Likewise. + + * configure.in: Permit --enable-shared to specify a list of + directories. + * configure: Rebuild. + + * lexsup.c (parse_args): Add -E as a synonym for -export-dynamic, + for HP/UX compatibility. + +Fri Apr 5 14:30:14 1996 Ian Lance Taylor <ian@cygnus.com> + + * emultempl/elf32.em (gld${EMULATION_NAME}_check_ld_so_conf): New + static function, if ${host} = ${target}. + (gld${EMULATION_NAME}_after_open): Call check_ld_so_conf to find a + needed shared library if ${host} = $[target}. + + * configure.host (i[345]86-*-linux*): Add -dynamic-linker to + HOSTING_CRT0. Search -lgcc both before and after -lc in + HOSTING_LIBS. + + * configure.tgt: Add i[345]86-*-freebsdelf* target; from John + Polstra <jdp@polstra.com>. + +Fri Apr 5 18:11:25 1996 James G. Smith <jsmith@cygnus.co.uk> + + * emulparams/elf32{b,l}4300.sh (MACHINE): Add explicit + architecture number. + * scripttempl/elf.sc: Use $MACHINE definition if present. + * configure.tgt (targ_extra_emuls): Force 4100 build to use same + template as 4300. + +Mon Apr 1 17:35:40 1996 Ian Lance Taylor <ian@cygnus.com> + + * ldlang.c (lang_size_sections): Change region check to handle + regions which end at the highest possible address correctly. + From Roland Weber <roweber@ira.uka.de>. + + * ldlang.c (section_already_linked): New static function. + (wild_doit): Discard sections with SEC_EXCLUDE set if not doing a + relocateable link. Don't worry about section being NULL, since it + never should be. Don't call init_os unless the section is going + to be added. + (ldlang_add_file): Call section_already_linked for each section. + * ldmain.c (multiple_definition): Don't warn about multiple + definitions in sections which are being discarded. + +Sun Mar 31 00:30:47 1996 steve chamberlain <sac@slash.cygnus.com> + + * scripttempl/{ppcpe.sc, pe.sc} (.junk): Remove and use /DISCARD/. + * emultempl/pe.em (init): Remove special case PPC code. + +Fri Mar 29 00:01:29 1996 Jeffrey A Law (law@cygnus.com) + + * scripttempl/h8300.sc: Make vectors section 0xc4 bytes long + so as not to overwrite the magic syscall entry at 0xc4. + * scripttempl/h8300h.sc: Likewise. + +Thu Mar 28 11:05:47 1996 Doug Evans <dje@canuck.cygnus.com> + + * configure.tgt (sparc64-*-solaris2*): Delete. + Stick with sparc-*-solaris2*. + +Wed Mar 27 12:33:24 1996 Ian Lance Taylor <ian@cygnus.com> + + * ld.h (DISCARD_SECTION_NAME): Define to "/DISCARD/". + * ldlang.c (init_os): Fail on an attempt to initialize any section + named DISCARD_SECTION_NAME. + (wild_doit): Discard input sections assigned to an output section + named DISCARD_SECTION_NAME. + * ld.texinfo: Document use of /DISCARD/. + + * ldlang.c: Fix some indentation and comments. + +Tue Mar 26 18:14:49 1996 Ian Lance Taylor <ian@cygnus.com> + + * ldmain.c (main): Call bfd_set_error_program_name. + +Thu Mar 21 13:17:34 1996 Ian Lance Taylor <ian@cygnus.com> + + * ld.texinfo: Fix a couple of indexing entries. Mention that + --verbose displays builtin linker scripts. + + * ldmisc.c (vfinfo): case 'I': If the file is not in an archive, + and the local symbol name does not match the filename, print the + filename as well. + + Patches from John Polstra <jdp@polstra.com> for FreeBSD ELF: + * lexsup.c (parse_args): -Bshareable is a synonym for -shared. + * emulparams/elf_i386.sh (NONPAGED_TEXT_START_ADDR): Make the same + as TEXT_START_ADDR. + +Wed Mar 20 18:18:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * ld.texinfo: Fix typos. Use @pxref only inside parentheses. + +Wed Mar 20 16:56:15 1996 Ian Lance Taylor <ian@cygnus.com> + + * ldmain.c (add_wrap): New function. + * ldmain.h (add_wrap): Declare. + * lexsup.c (parse_args): Call add_wrap. + +Tue Mar 19 16:44:20 1996 Doug Evans <dje@canuck.cygnus.com> + + * configure.host (sparc*-*-solaris2* host): Accept any sparc variant. + +Wed Mar 13 17:47:31 1996 Jeffrey A Law (law@cygnus.com) + + * scripttempl/h8300.sc: Change name of page zero memory + from "null" to "vectors". Create an output section for + vectors. Add comments on how to explicitly place items + in the vector table. + * scripttempl/h8300h.sc: Likewise. + +Wed Mar 13 12:40:18 1996 Ian Lance Taylor <ian@cygnus.com> + + * emultempl/lnk960.em (machine_table): Add jx and hx. + + * genscripts.sh: Don't use ${9:-xx}, since Ultrix /bin/sh doesn't + support it. + +Tue Mar 12 12:43:59 1996 David Mosberger-Tang <davidm@koala.azstarnet.com> + + * ld.h (ld_config_type): Add warn_multiple_gp field. + * lexsup.c (parse_args): Handle --warn-multiple-gp. + * ldmain.c (warning_callback): Suppress multiple gp values warning + if --warn_multiple_gp was not used. + * ld.texinfo, ld.1: Document --warn-multiple-gp. + +Tue Mar 12 12:02:21 1996 Ian Lance Taylor <ian@cygnus.com> + + * lexsup.c (parse_args): Handle --wrap. + * ldmain.c (main): Initialize link_info.wrap_hash. + * ldexp.c (fold_name): Use bfd_wrapped_link_hash_lookup in DEFINED + and NAME cases. + * ld.texinfo, ld.1: Document --wrap. + + * configure: Rebuild with autoconf 2.8. + + Don't do SunOS style dynamic linking for sparc-aout: + * configure.tgt (sparc64-*-aout*): Use sparcaout, not sun4. + (sparclite*-fujitsu-*, sparc*-*-aout): Likewise. + (sparc*-wrs-vxworks*): Likewise. + * emulparams/sparcaout.sh: New file. + * Makefile.in (ALL_EMULATIONS): Add esparcaout.o. + (esparcaout.c): New target. + +Wed Mar 6 16:06:52 1996 J.T. Conklin <jtc@rtl.cygnus.com> + + * scripttempl/elfppc.sc (.sdata2, .sbss2): Implement Feb 2 change + in a different manner to work around differences in shell variable + expansion. + +Wed Mar 6 18:08:18 1996 Ian Lance Taylor <ian@cygnus.com> + + * ldemul.h (ldemul_unrecognized_file): Declare. + (ldemulation_xfer_type): Add unrecognized_file field. + * ldemul.c (ldemul_unrecognized_file): New function. + * ldlang.c (load_symbols): If a file can not be recognized, call + ldemul_unrecognized_file before trying it as a linker script. + * aix.em (gld${EMULATION_NAME}_unrecognized_file): New static + function. + (gld${EMULATION_NAME}_read_file): Use FOPEN_RT, not "r". + (ld_${EMULATION_NAME}_emulation): Initialize unrecognized_file. + +Mon Mar 4 14:11:17 1996 Ian Lance Taylor <ian@cygnus.com> + + * ldlang.c (wild): Handle foo.a(.text) by mapping each included + member of foo.a separately. From Jouke Numan <jnuman@bazis.nl>. + +Fri Mar 1 10:24:59 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment): + Search trinary.cond rather than searching trinary.lhs twice. + +Tue Feb 27 15:08:43 1996 Stan Shebs <shebs@andros.cygnus.com> + + * mpw-make.sed: Edit out shared library support. + (@TDIRS@): Edit out, can't use genscripts. + +Tue Feb 27 15:09:21 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * configure.tgt (m68k-*-linuxaout*, m68k-*-linux*): New targets. + * emulparams/m68klinux.sh: New file. + * emultempl/linux.em (gld${EMULATION_NAME}_before_allocation): + Call bfd_${EMULATION_NAME}_size_dynamic_sections instead of + bfd_linux_size_dynamic_sections. + * Makefile.in (ALL_EMULATIONS): Add em68klinux.o. + (em68klinux.c): New target. + * configure.host (m68*-*-linuxaout*, m68*-*-linux*): New hosts. + +Tue Feb 27 12:55:46 1996 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.in (ALL_EMULATIONS): Sort into alphabetical order. + Fill in missing entries. + + * lexsup.c (parse_args): Recognize --no-whole-archive. + * ldlang.h (lang_input_statement_type): Add whole_archive field. + * ldlang.c (new_afile): Set whole_archive field. + (load_symbols): Check input file specific whole_archive field + rather than global variable. + * ld.texinfo, ld.1: Document --no-whole-archive. + +Tue Feb 20 16:07:00 1996 Ian Lance Taylor <ian@cygnus.com> + + * configure.tgt: Correct gldi960 to gld960. + +Mon Feb 19 11:16:44 1996 Ian Lance Taylor <ian@cygnus.com> + + * emultempl/elf32.em (gld${EMULATION_NAME}_check_needed): Check + the SONAME if it is available. + (gld${EMULATION_NAME}_stat_needed): Use the SONAME, not the + filename, when checking for conflicting library versions. Don't + assume that the suffix is only numbers and dots. + + * ld.texinfo: Mention that -R can be used for -rpath. + +Sun Feb 18 15:05:17 1996 Ian Lance Taylor <ian@cygnus.com> + + * configure.host: Check for 'do not mix' from native linker before + trying to use -rpath. + +Thu Feb 15 13:58:06 1996 Ian Lance Taylor <ian@cygnus.com> + + * configure.in: Remove explicit substitution of CFLAGS; autoconf + does it anyhow. + * configure: Rebuild. + * Makefile.in (LDFLAGS): Set to @LDFLAGS@. + + * configure.in: Call AC_PROG_CC before configure.host. + * configure: Rebuild. + * configure.host: Remove go32 host, since it should no longer be + necessary. Don't set CC for romp host. + + * scripttempl/elf.sc: Don't skip a page in virtual memory space if + the text segment ends exactly on a page boundary. + + * configure.in: Substitute RPATH_ENVVAR. + * configure: Rebuild. + * configure.host: Set RPATH_ENVVAR. + * Makefile.in (RPATH_ENVVAR): New variable. + (check): Use $(RPATH_ENVVAR) rather than LD_LIBRARY_PATH. + +Wed Feb 14 18:49:01 1996 Alan Modra <alan@spri.levels.unisa.edu.au> + + * configure.in: Redo emulation handling so that each emulation + searches the correct tool directory, based on the target alias. + For example, "configure --enable-targets=m68k-coff i386-linux" + will search /usr/local/i386-linux/lib for linux and + /usr/local/m68k-coff/lib for m68k-coff. + * configure: Rebuild. + * configure.tgt: Add special tdir settings for Linux. + * Makefile.in: Add @TDIRS@. Pass "$(tdir_EMUL)" to ${GENSCRIPTS} + for each eEMUL.c target. + * genscripts.sh: Accept specific alias as 9th argument, and use it + in LIB_PATH. + +Wed Feb 14 16:38:36 1996 Martin Anantharaman <martin@mail.imech.uni-duisburg.de> + + * ldlang.c (lang_set_startof): Don't do anything for a + relocateable link. + + * ldgram.y (mri_script_file): Call mri_draw_tree. + * mri.c (mri_draw_tree): Make globally visible. Don't bother to + create memory regions. + (mri_load): Don't call mri_draw_tree. + * mri.h (mri_draw_tree): Declare. + + * configure.tgt (m68*-*-psos): New target. + * emulparams/m68kpsos.sh: New file. + * scripttempl/psos.sc: New file. + * Makefile.in (ALL_EMULATIONS): Add em68kpsos.o. + (em68kpsos.c): New target. + +Wed Feb 14 11:09:25 1996 Ian Lance Taylor <ian@cygnus.com> + + * configure.tgt (*-*-ieee*): New target; use vanilla. + + * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Strip + `:foo' from ${ARCH}. + +Tue Feb 13 15:58:58 1996 Bryan Ford <baford@snake.cs.utah.edu> + + * scripttempl/i386msdos.sc: Don't pad the .text section. Put + .rodata in .data. + +Tue Feb 13 14:04:19 1996 Ian Lance Taylor <ian@cygnus.com> + + * configure.host: Set HDLFLAGS for *-*-hpux with --enable-shared. + + * emultempl/elf32.em (gld${EMULATION_NAME}_stat_needed): Warn if + it looks like we might be linking in two different versions of the + same shared library. Based on a patch from H J Lu <hjl@zoom.com>. + +Thu Feb 8 19:25:54 1996 Ian Lance Taylor <ian@cygnus.com> + + * ldlang.c (lang_size_sections): Increment the section size when a + padding statement is encountered. + +Wed Feb 7 14:01:33 1996 Ian Lance Taylor <ian@cygnus.com> + + * configure.in: Look for --enable-shared. Change the value of + BFDLIB when linking against a shared library on SunOS. + * configure: Rebuild. + * configure.host: If using a shared BFD library, try to pass a + reasonable -rpath option when linking. + * Makefile.in (BFDLIB): Set to @BFDLIB@. + +Tue Feb 6 12:29:14 1996 Doug Evans <dje@charmed.cygnus.com> + + * emulparams/elf64_sparc.sh (ARCH): Change to `sparc:v9'. + * emultempl/generic.em: Strip `:foo' from ${ARCH}. + +Mon Feb 5 16:25:30 1996 Ian Lance Taylor <ian@cygnus.com> + + Support for building bfd and opcodes as shared libraries, based on + patches from Alan Modra <alan@spri.levels.unisa.edu.au>: + * configure.in (HLDFLAGS): New substitution. + * configure: Rebuild. + * configure.host: Set HLDFLAGS on SunOS. + * Makefile.in (HLDFLAGS): New variable. + (BFDDEP): New variable. + (BFDLIB): Change to -L../bfd -lbfd. + ($(LD_PROG)): Depend upon $(BFDDEP) rathern than $(BFDLIB). Use + $(HLDFLAGS) in link. + (check): Set LD_LIBRARY_PATH in the environment. + +Fri Feb 2 19:26:25 1996 Michael Meissner <meissner@wogglebug.tiac.net> + + * scripttempl/elfppc.sc (.sdata2, .sbss2): Put .sdata2 and .sbss + in the read-only section, not read/write unless we are making a + shared library. + (.debug*): Add dwarf debug sections. + (.rela.{sdata*,sbss*}): Add sections. + +Fri Feb 2 16:50:21 1996 Ian Lance Taylor <ian@cygnus.com> + + * configure: Regenerate. + +Thu Feb 1 10:50:46 1996 Ian Lance Taylor <ian@cygnus.com> + + * emulparams/elf_i386.sh (TEXT_START_ADDR): Change to 0x8048000, + for SVR4 compatibility. + + * ldexp.c (exp_fold_tree): Correct handling of ABSOLUTE. + +Wed Jan 31 17:30:19 1996 Steve Chamberlain <sac@slash.cygnus.com> + + * configure.tgt (i[345]86-*-cygwin32, powerpcle-*-cygwin32): New. + * emultempl/pe.em (definfo init): Make the default stack reserve + of a PPC larger. + +Wed Jan 31 14:34:23 1996 Richard Henderson <rth@tamu.edu> + + * configure.tgt (m68*-apple-aux*): New target. + * emulparams/m68kaux.sh: New file. + * scripttempl/m68kaux.sc: New file. + * Makefile.in (ALL_EMULATIONS): Add em68kaux.o. + (em68kaux.c): New target. + +Tue Jan 30 13:18:56 1996 Ian Lance Taylor <ian@cygnus.com> + + * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Ignore + -bnoentry, since the right thing tends to happen anyhow. + +Mon Jan 29 12:29:26 1996 Ian Lance Taylor <ian@cygnus.com> + + * ld.texinfo, ld.1: Document -export-dynamic. + +Fri Jan 26 11:11:55 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * emultempl/sunos.em: Check for native compile by comparing + ${target} and ${host}. + +Thu Jan 25 16:46:58 1996 James G. Smith <jsmith@cygnus.co.uk> + + * emulparams/{elf32b4300.sh, elf32l4300.sh}: Changed + TEXT_START_ADDR to allow use on IDT and PMON systems. + +Wed Jan 24 20:59:40 1996 Steve Chamberlain <sac@slash.cygnus.com> + + * emultempl/pe.em (gld_${EMULATION_NAME}_parse_args): + correct spelling. + +Wed Jan 24 16:59:19 1996 Doug Evans <dje@charmed.cygnus.com> + + * configure.tgt (sparc64-*-solaris2*): New configuration. + (sparc64-*-aout*): Renamed from sparc64*. + +Mon Jan 22 13:01:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * Makefile.in (GENSCRIPTS): Pass @host@ @target@ @target_alias@. + * genscripts.sh: Set host, target and target_alias variables. + Check for native compile by comparing ${target} and ${host}. + * emultempl/elf32.em: Likewise. + * scripttempl/elfmips.sc: Test ${target}, not ${target_alias}. + +Mon Jan 22 11:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com> + + * scripttempl/elfppc.sc: Refine eabi support to better support + .sdata, .sdata2, .sbss, etc. sections. + +Tue Jan 16 15:16:58 1996 Ian Lance Taylor <ian@cygnus.com> + + * ldgram.y (%union): Add phdr field. + (phdr): Use phdr_qualifiers rather than opt_hdrs and opt_at. + (phdr_qualifiers): New nonterminal. Add support for FLAGS. + (opt_hdrs, hdr): Remove. + (phdr_val): New nonterminal. + * ldlang.c (lang_new_phdr): Replace hdrs parameter with filehdr + and phdrs parameters. Add flags parameter. + (lang_record_phdrs): Update for changes to lang_phdr. Pass flags + to bfd_record_phdr. + * ldlang.h (struct lang_phdr): Replace hdrs field with filehdr and + phdrs fields. Add flags field. + (LANG_PHDR_FILEHDR, LANG_PHDR_PHDRS): Remove. + (lang_new_phdr): Update declaration. + * ld.texinfo: Document FLAGS. + +Mon Jan 15 15:07:19 1996 Ian Lance Taylor <ian@cygnus.com> + + * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): + Don't make a shared library because of an undefined reference to + __GLOBAL_OFFSET_TABLE_. + + Add some Irix 5 support, mostly from Kazumoto Kojima + <kkojima@info.kanagawa-u.ac.jp>: + * emulparams/elf32bmip.sh (SCRIPT_NAME): Change to elfmips. + (SHLIB_TEXT_START_ADDR): Define. + (OTHER_GOT_SYMBOLS): Define. + (OTHER_READWRITE_SECTIONS): Remove initialization of _gp. + (EXECUTABLE_SYMBOLS): Don't define. + (DYNAMIC_LINK): Don't define. + * emulparams/elf32lmip.sh: Same changes as elf32bmip.sh. + * scripttempl/elfmips.sc: New file. + * configure.host (mips*-dec-bsd*): Change mips to mips*. + (mips*-sgi-irix4*): Likewise. + (mips*-sgi-irix5*): New entry. + * Makefile.in (eelf32bmip.c): Depend upon elfmips.sc rather than + elf.sc. + (eelf32lmip.c): Likewise. + +Sat Jan 13 09:41:43 1996 Michael Meissner <meissner@tiktok.cygnus.com> + + * scripttempl/elfppc.sc: Remove support for .rel.* sections. Add + .rela.got.neg section. + +Fri Jan 12 14:56:19 1996 Ian Lance Taylor <ian@cygnus.com> + + * scripttempl/sh.sc: Only build constructors when CONSTRUCTING. + + * ldmisc.c: Include <stdarg.h> rather than <varargs.h> if + ANSI_PROTOTYPES is defined. Remove special handling of + WINDOWS_NT. Various indendation fixes. + (vfinfo): Change fmt parameter to const char *. + (info_msg): Write <stdarg.h> version. + (einfo, minfo, finfo): Likewise. + (info_assert): Change file parameter to const char *. + * ldmisc.h (einfo, minfo, info_msg): If ANSI_PROTOTYPES is + defined, use a real prototype. + (info_assert): Change first parameter to be const char *. + +Fri Jan 12 13:29:55 1996 Michael Meissner <meissner@tiktok.cygnus.com> + + * scripttempl/elfppc.sc: Add support for .sdata2/.sbss2, etc. Add + in old support that 2.7.2 needs, but the current compiler does + not. + + * Makefile.in (eelf32{,l}ppc.c): Fix up dependencies to use the + correct Linker script template. + + * emulparams/elf32{,l}ppc.sh (TEXT_START_ADDR): Set to 0x40000, + not 0x400000. + (DATA_ADDR,NONPAGED_TEXT_START_ADDR): Delete. + +Tue Jan 9 15:53:02 1996 Ian Lance Taylor <ian@cygnus.com> + + * scripttempl/alpha.sc: Put .rconst right after .rdata. + +Fri Jan 5 14:07:45 1996 Steve Chamberlain <sac@slash.cygnus.com> + + * emultempl/pe.em (gld_${EMULATION_NAME}_before_allocation): + sort using right pointer. + +Fri Jan 5 12:25:47 1996 Michael Meissner <meissner@tiktok.cygnus.com> + + * scripttempl/elfppc.sc: Remove support for creating special + labels for eabi section begin/end here. The compiler now uses + crt{i,n}.o to create these symbols. + +Thu Jan 4 17:08:58 1996 Ian Lance Taylor <ian@cygnus.com> + + * configure.host: Change existing Linux HOSTING_CRT0 to be used + for a.out only, and put in appropriate HOSTING_CRT0 and + HOSTING_LIBS values for Linux ELF. + +Thu Jan 4 12:02:05 1996 Doug Evans <dje@canuck.cygnus.com> + + * scripttempl/h8300.sc: Use all 64K for ram. + * scripttempl/h8300h.sc: Define 256K ram size. + +Thu Dec 21 15:57:18 1995 Ian Lance Taylor <ian@cygnus.com> + + * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Pass + export_defines as true to bfd_xcoff_size_dynamic_sections if -unix + was used, regardless of whether -bE was used. + +Tue Dec 19 17:35:38 1995 Ian Lance Taylor <ian@cygnus.com> + + * emultempl/aix.em (gld${EMULATION_NAME}_after_open): Only set + relocateable before calling ldctor_build_sets if the output file + is in an XCOFF format. + +Fri Dec 15 16:34:36 1995 Ian Lance Taylor <ian@cygnus.com> + + * ldwrite.c (build_link_order): When handling a data statement, if + the endianness of the output file is unknown, use the endianness + of the input file. + +Tue Dec 12 13:55:41 1995 Stan Shebs <shebs@andros.cygnus.com> + + * mpw-config.in: Recognize mips-*-* as equivalent to + mips-idt-ecoff. + * mpw-eppcmacos.c: Rename to shorter mpw-eppcmac.c. + * mpw-ld.r: Add version resources. + (cfrg): Use symbolic instead of literal name for executable. + +Mon Dec 11 15:13:41 1995 Kim Knuttila <krk@cygnus.com> + + * scripttempl/ppcpe.sc (FINI): Moved the .reloc section. + +Wed Dec 6 14:33:50 1995 Doug Evans <dje@canuck.cygnus.com> + + * ldlang.c (print_statement{,s}): Delete duplicate prototype. + (print_statement_list): Renamed from print_statement. All callers + updated. + (print_statement): New function to print just one statement. + (print_{data,reloc,padding}_statement): Don't crash if + output_section == NULL. + (dprint_statement): New function. + + * emultempl/pe.em (gld_${EMULATION_NAME}_before_allocation): Fix + call to sort_sections. + +Wed Dec 6 14:59:06 1995 Ian Lance Taylor <ian@cygnus.com> + + * emultempl/aix.em (unix_ld): New static variable. + (gld${EMULATION_NAME}_parse_args): Handle -unix. + (gld${EMULATION_NAME}_before_allocation): If unix_ld, pass + gc as false and export_defineds as true to size_dynamic_sections. + + * ldexp.c (exp_fold_tree): Permit assignments to dot in the final + phase if the current section is abs_output_section. + + +Tue Dec 5 09:49:39 1995 Doug Evans <dje@canuck.cygnus.com> + + * emultempl/pe.em (gld_${EMULATION_NAME}_before_allocation): Fix call + to sort_sections. + +Fri Dec 1 16:48:36 1995 Ian Lance Taylor <ian@cygnus.com> + + * ldgram.y (PHDRS): New token. + (ifile_p1): Accept phdrs. + (section): Accept phdr_opt at the end of the section definition. + (phdr_op): New nonterminal. + (phdrs, phdr_list, phdr, phdr_type, opt_hdrs, hdr): Likewise. + * ldlex.l: Accept PHDRS. + * ldlang.h (struct lang_output_section_phdr_list): Define. + (lang_output_section_statement_type): Add phdrs field. + (struct lang_phdr): Define. + (LANG_PHDR_FILEHDR, LANG_PHDR_PHDRS): Define. + (lang_new_phdr): Declare. + * ldlang.c (lang_phdr_list): New static variable. + (lang_output_section_statement_lookup): Initialize phdrs field. + (lang_process): Call lang_record_phdrs. + (lang_new_phdr): New function. + (lang_section_in_phdr): New function. + (lang_record_phdrs): New static function. + * ld.texinfo: Document PHDRS. + +Thu Nov 30 13:14:30 1995 Kim Knuttila <krk@cygnus.com> + + * scripttempl/ppcpe.sc: Moved .edata into its own section to + expose it. + +Thu Nov 30 11:32:34 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de> + + * configure.host (m68*-motorola-sysv): Define HOSTING_CRT0 and + HOSTING_LIBS for testing. + (m88*-motorola-sysv3): Define HOSTING_CRT0 and HOSTING_LIBS for + testing. + +Tue Nov 28 12:14:53 1995 Ian Lance Taylor <ian@cygnus.com> + + * lexsup.c (parse_args): Set config.dynamic_link to false for -N + and -n. + +Mon Nov 27 13:12:09 1995 Ian Lance Taylor <ian@cygnus.com> + + * configure: Rebuild with autoconf 2.7. + +Fri Nov 24 18:35:35 1995 Doug Evans <dje@canuck.cygnus.com> + + * scripttempl/pe.sc: Two .junk's is too much junk. + +Tue Nov 21 16:14:32 1995 Ian Lance Taylor <ian@cygnus.com> + + * configure.in: Use BFD_NEED_DECLARATION. + * acconfig.h: Put NEED_DECLARATION_FREE in @TOP@ section. + * configure, config.in: Rebuild with autoconf 2.6. + + * ldmain.c (constructor_callback): Don't warn about BFD_RELOC_CTOR + being unsupported if this is not a relocateable link and the input + BFD supports it, since ldctor_build_sets can cope with that case. + +Fri Nov 17 16:23:15 1995 Stan Shebs <shebs@andros.cygnus.com> + + * configure.tgt (powerpc-*-macos*): New target. + * emulparams/ppcmacos.sh: New file, PowerMac emulation. + * Makefile.in (ALL_EMULATIONS): Add eppcmacos.o. + (eppcmacos.c): New target. + * mpw-eppcmacos.c: Update. + * mpw-make.sed: Edit out attempts to use {GENSCRIPTS}. + +Fri Nov 17 10:37:27 1995 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.in (CC_FOR_TARGET): Use @host@ and @target@, not + $(host_canonical) and $(target_canonical). + (CXX_FOR_TARGET): Likewise. + +Thu Nov 16 11:23:42 1995 Doug Evans <dje@canuck.cygnus.com> + + * scripttempl/pe.sc (.endjunk): Move definition of `end' to here + so the malloc heap begins at a sane place. + +Thu Nov 16 03:09:32 1995 Ken Raeburn <raeburn@cygnus.com> + + Version 2.6 released. + * ldver.c (ldversion): Update to 2.6. + + * Makefile.in (mostlyclean): Delete ldemul-list.h here, but not + $(GENERATED_*FILES), since they need to be retained by distclean. + (maintainer-clean, realclean): Delete them here. + +Tue Nov 14 17:08:06 1995 Ian Lance Taylor <ian@cygnus.com> + + * emultempl/pe.em (gld_${EMULATION_NAME}_parse_args): Open the + base file with FOPEN_WB, not "w". + + * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Use the + environment variable LD_RUN_PATH if neither -rpath nor -rpath-link + were used. + (gld${EMULATION_NAME}_before_allocation): Use the environment + variable LD_RUN_PATH if -rpath was not used. + * ld.texinfo, ld.1: Document LD_RUN_PATH. + +Thu Nov 9 13:09:29 1995 Ian Lance Taylor <ian@cygnus.com> + + * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Recognize + -bl and -bloadmap options. + + * ldfile.c (ldfile_try_open_bfd): If bfd_error_invalid_target, + report a better error. + + * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Add + new local variable special_sections, and pass it to + size_dynamic_sections. Look through the results, and move the + sections around in the mapping so that they are defined correctly. + +Wed Nov 8 11:40:59 1995 Ian Lance Taylor <ian@cygnus.com> + + * ldemul.c (ldemul_default_target): Cast getenv return value. + +Tue Nov 7 11:15:36 1995 Kim Knuttila <krk@cygnus.com> + + * emulparams/ppcpe.sh (ARCH): New file for PowerPC Portable + Executable support. + * scripttempl/ppcpe.sc: New file for PowerPC Portable Executable + support. + + * configure.tgt (targ_extra_emuls): Added powerpcle-pe target. + * Makefile.in (ALL_EMULATIONS): Added eppcpe.o target. + + * emultempl/pe.em (TARGET_IS_ppcpe): file tailoring macro + (gld_$_before_allocation): added hooks for toc construction based + on the above macro. + +Tue Nov 7 11:47:23 1995 Ian Lance Taylor <ian@cygnus.com> + + * ld.texinfo: The linker does not use _main as an entry point. + +Tue Nov 7 11:46:11 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de> + + * scripttempl/m88kbcs.sc (.data): Calculate next boundary modulo + 0x2000 not 0x200. + +Mon Nov 6 10:59:21 1995 Ian Lance Taylor <ian@cygnus.com> + + * configure.in: Add test for whether free must be declared. + * sysdep.h: Declare free if necessary. Include "ansidecl.h". + * acconfig.h: Explain NEED_DECLARATION_FREE. + * configure, config.in: Rebuild. + + * lexsup.c (parse_args): Take B:: out of shortopts. + +Sun Nov 5 03:08:28 1995 Ken Raeburn <raeburn@cygnus.com> + + * emulparams/i386nbsd.sh (EXECUTABLE_SYMBOLS): Set __DYNAMIC to 0 + for now, as with m68k4kbsd, until shared library support gets + done. + + * configure.host: For i386 BSD variants, crt0.o lives in + /usr/lib. (True for NetBSD at least, unconfirmed for others.) + +Wed Nov 1 15:42:45 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de> + + * Makefile.in (ALL_EMULATIONS): Add edelta68.o. + (edelta68.c): New target. + * configure.tgt (m68*-motorola-sysv*): New target. + * emulparams/delta68.sh: New file. + * scripttempl/delta68.sc: New file. + + * scripttempl/m88kbcs.sc: Handle .init and .fini. Change section + addresses. + +Wed Nov 1 11:41:56 1995 Ian Lance Taylor <ian@cygnus.com> + + * ldgram.y (mri_script_command): Accept ',' as well as '=' in + ALIGN and ALIGNMOD statements. + + * emultempl/aix.em: Include ldgram.h. + (gld${EMULATION_NAME}_parse_args): Handle -pD and -pT, as used on + AIX 4.1. + * Makefile.in ($(EMULATION_OFILES)): Depend upon ldgram.h. + +Tue Oct 31 18:22:24 1995 David Mosberger-Tang <davidm@azstarnet.com> + + * configure.host (alpha-*-linux*): New host. + * configure.tgt (alpha-*-linux*): New target. + +Tue Oct 31 12:36:52 1995 Ian Lance Taylor <ian@cygnus.com> + + * emultempl/aix.em (export_files): Remove. + (import_files): Make static. + (struct export_symbol_list): Define. + (export_symbols): New static variable. + (gld${EMULATION_NAME}_parse_args): Handle an initial -b option + correctly. Call read_file for an export file. + (gld${EMULATION_NAME}_before_allocation): Call + bfd_xcoff_export_symbol for each export symbol, rather than + calling read_file for each export file. + (gld${EMULATION_NAME}_read_file): For an export file, make the + exported symbols undefined, and store them on the export_symbols + list. + +Sat Oct 28 00:10:03 1995 steve chamberlain <sac@slash.cygnus.com> + + * emultempl/pe.em (gld_${EMULATION_NAME}_parse_args): + Don't hang if last option is unrecognised. + (gld_${EMULATION_NAME}_set_symbols): Insert created + symbols into ABS output section. + +Fri Oct 27 18:03:17 1995 Niklas Hallqvist <niklas@appli.se> + + * Makefile.in (ALL_EMULATIONS): Added support for the NetBSD + m68k4k arch. + (em68k4knbsd.c): New rule. + + * configure.tgt: Added support for the NetBSD m68k4k arch. + + * genscripts.sh, ldint.texinfo, + emulparams/{a29k,armaoutb,armaoutl,coff_sparc,ebmon29k,gld960, + gld960coff,go32,h8300,h8300h,h8500,h8500b,h8500c,h8500m,h8500s, + hp300bsd,hp3hpux,hppaelf.sh,i386aout,i386bsd,i386coff,i386go32, + i386linux,i386lynx,i386nbsd,lnk960,m68kaout,m68kcoff,m68klynx, + m88kbcs,mipsbig,mipsbsd,mipsidt,mipsidtl,mipslit,news,ns32knbsd, + pc532machaout,riscix,sa29200,sh,shl,sparclynx,sparcnbsd, + st2000,sun3,sun4,vanilla,vax,vsta,w65,z8001,z8002}.sh: Changed + PAGE_SIZE to TARGET_PAGE_SIZE. + + * emulparams/m68knbsd.h: Ditto. + (TEXT_START_ADDR, NONPAGED_TEXT_START_ADDR): We have 8K pagesize. + (EXECUTABLE_SYMBOLS): Hardcode __DYNAMIC to zero for the time + being. + + * emulparams/m68k4knbsd.sh: New file. + + * scripttempl/aout.sc: Expand EXECUTABLE_SYMBOLS if relocating. + +Fri Oct 27 17:59:09 1995 Ian Lance Taylor <ian@cygnus.com> + + * emultempl/aix.em: Include ldctor.h. + (gld${EMULATION_NAME}_after_open): New static function. + (gld${EMULATION_NAME}_before_allocation): Call find_relocs. + (gld${EMULATION_NAME}_find_relocs): New static function. + (gld${EMULATION_NAME}_find_exp_assignment): New static function. + (ld_${EMULATION_NAME}_emulation): Use new after_open function. + * scripttempl/aix.sc: Use CONSTRUCTORS in .data. + * ldctor.c (struct set_info): Move definition into ldctor.h. + (struct set_element): Likewise. + (sets): Make non-static. + (ldctor_add_set_entry): Add name parameter. Save it in the new + set element. + (ldctor_build_sets): Avoid being called twice. Pass set element + name to lang_add_reloc. + * ldctor.h (struct set_info): Move definition here from ldctor.c. + (struct set_element): Likewise. Add new field name. + (sets): Declare. + (ldctor_add_set_entry): Declare new name parameter. + * ldwrite.c (build_link_order): Don't insist that either name or + section be NULL in a lang_reloc_statement. + * ldmain.c (add_to_set): Pass NULL to ldctor_add_new_set_entry for + new name parameter. + (constructor_callback): Pass name to ldctor_add_new_set_entry for + new name parameter. + + * ldmisc.c (demangle): Fix indentation. Remove a leading period. + +Thu Oct 26 22:22:49 1995 Stan Shebs <shebs@andros.cygnus.com> + + * mpw-config.in: Add PowerMac target support, generate config.h. + * mac-ld.r: New file, Mac resources. + * mpw-make.sed: New file, edits Makefile.in into MPW syntax. + * mpw-make.in: Remove. + * mpw-eppcmacos.c: Prebuilt version of PowerMac linking script. + +Thu Oct 26 14:11:26 1995 Ian Lance Taylor <ian@cygnus.com> + + * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Treat + -static as a synonym for -bnso. + + * scripttempl/aix.sc: Move special symbols inside sections. + Always start .data at 0. + +Wed Oct 25 11:52:12 1995 Per Bothner <bothner@kalessin.cygnus.com> + + * Makefile.in (diststuff): Also make info. + (maintainer-clean realclean): Also delete *.info*. + +Wed Oct 25 11:27:25 1995 Ian Lance Taylor <ian@cygnus.com> + + * emultempl/aix.em: Add support for various AIX linker options, + for AIX import and export files, and for AIX shared objects. + * scripttempl/aix.sc: Add .pad. Put .ds just before the TOC. + + * ldmain.c (main): Initialize new field link_info.static_link. + + * ldmain.c (add_keepsyms_file): Add \n at end of einfo calls. + (constructor_callback): Likewise. + * ldmisc.c (vfinfo): Likewise. + * ldwrite.c (build_link_order): Likewise. + + * ld.texinfo: The MRI ALIGN directive is supported. + +Mon Oct 23 11:46:43 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk> + + * emulparams/elf32vr4300.sh: Deleted. + * emulparams/elf32vr4300el.sh: Deleted. + * emulparams/elf32b4300.sh: Added. + * emulparams/elf32l4300.sh: Added. + * configure.tgt, Makefile.in: Updated the build to use the + new 8.3 unique names. + +Thu Oct 19 17:41:46 1995 Ian Lance Taylor <ian@cygnus.com> + + * ldlang.c (entry_symbol): Make non-static. + * ldlang.h (entry_symbol): Declare. + + * ldlex.l: Treat PROVIDE as a keyword in expression state. + +Wed Oct 18 17:34:06 1995 steve chamberlain <sac@slash.cygnus.com> + + * scripttempl/pe.sc (.bss): Move to be after .text + +Tue Oct 17 12:22:05 1995 Ian Lance Taylor <ian@cygnus.com> + + * emultempl/sunos.em (gld${EMULATION_NAME}_find_exp_assignment): + Search trinary.cond rather than searching trinary.lhs twice. From + linli@ihp.PHys.ethz.CH. + + * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Move + directory searching code into gld${EMULATION_NAME}_search_dir. + (gld${EMULATION_NAME}_search_dir): New static function, extracted + from gld${EMULATION_NAME}_find_so. + (global_needed, global_found): New static variables. + (gld${EMULATION_NAME}_after_open): New static function. + (gld${EMULATION_NAME}_search_needed): New static function. + (gld${EMULATION_NAME}_try_needed): New static function. + (gld${EMULATION_NAME}_check_needed): New static function. + (ld_${EMULATION_NAME}_emulation): Use new after_open function. + * ld.texinfo, ld.1: Mention -rpath-link on SunOS. + + * Makefile.in (eelf32ppc.c): Depend upon elf32.em, not generic.em. + (eelf32lppc.c): Likewise. + * emulparams/elf32lppc.sh (TEMPLATE_NAME): Define as elf32. + (GENERATE_SHLIB_SCRIPT): Define as yes. + +Mon Oct 16 19:11:13 1995 Ian Lance Taylor <ian@cygnus.com> + + * emultempl/elf32.em: Struct bfd_elf_link_needed_list is now named + bfd_link_needed-list; make appropriate changes. + + * configure.tgt (powerpc-*-aix*): New target; use aixppc. + (rs6000-*-aix*): New target; use aixrs6. + * emulparams/aixppc.sh, emulparams/aixrs6.sh: New files. + * emultempl/aix.em: New file. + * scripttempl/aix.sc: New file. + * Makefile.in (ALL_EMULATIONS): Add eaixppc.o and eaixrs6.o. + (eaixppc.c, eaixrs6.c): New targets. + +Fri Oct 13 14:00:37 1995 steve chamberlain <sac@slash.cygnus.com> + + * scripttemp/pe.sc (.reloc): Move to the end. + +Tue Oct 10 17:53:22 1995 Ian Lance Taylor <ian@cygnus.com> + + * ldlang.c (lang_finish): Don't try to use an entry_symbol from a + section which was not linked into the final output. + +Tue Oct 10 10:17:22 1995 steve chamberlain <sac@slash.cygnus.com> + + * emultempl/pe.em (gld_${EMULATION_NAME}_parse_args): Fix + fatal typos. + +Tue Oct 10 01:01:51 1995 Ian Lance Taylor <ian@cygnus.com> + + * ld.h (args_type): Add rpath_link field. + * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search for + required dependencies in rpath_link path. Only search + LD_LIBRARY_PATH when configured native. + * lexsup.c (parse_args): Recognize -rpath-link. + * ld.1, ld.texinfo: Document -rpath-link. + +Sat Oct 7 17:07:17 1995 Ian Lance Taylor <ian@cygnus.com> + + * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't + bother searching for needed libraries unless doing a final link. + +Fri Oct 6 16:26:16 1995 Ken Raeburn <raeburn@cygnus.com> + + Mon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * ld/ld.1: Fix formatting bugs. + +Wed Oct 4 17:37:46 1995 Ian Lance Taylor <ian@cygnus.com> + + * ldexp.c (exp_get_abs_int): Return bfd_vma, not int. + * ldexp.h (exp_get_abs_int): Update declaration. + * ldlang.c (print_output_section_statement): Use fprintf_vma to + print return value of exp_get_abs_int. + +Mon Oct 2 13:56:09 1995 Ian Lance Taylor <ian@cygnus.com> + + * emultempl/elf32.em (global_stat): New file static variable. + (gld${EMULATION_NAME}_try_needed): Call stat_needed to make sure + that the file has not already been included under another name. + (gld${EMULATION_NAME}_stat_needed): New static function. + +Fri Sep 29 12:00:18 1995 Doug Evans <dje@deneb.cygnus.com> + + * scripttempl/armcoff.sc: Start .text at 0x8000. + Start .data at 0x40000. + +Fri Sep 29 11:09:46 1995 Ian Lance Taylor <ian@cygnus.com> + + * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): If + command_line.rpath is set, use it, rather than the -L options, to + build the rules section. + * ld.texinfo: Document this use of -rpath. + + * lexsup.c (parse_args): Don't set link_info.shared for -assert + pure-text. Pass true, not 1, to lang_add_entry. + * emultempl/sunos.em (find_assign): New static variable. + (found_assign): New static variable. + (gld${EMULATION_NAME}_before_allocation): Rename local h to hdyn. + If not a relocateable link, and no start symbol was specified on + the command line, and there are any undefined symbols, set + link_info.shared. If link_info.shared is set, set the address of + the .text section to 0x20. + (gld${EMULATION_NAME}_find_assignment): Rename from + gld${EMULATION_NAME}_find_statement_assignment. If find_assign is + set, then just set found_assign based on whether an assignment is + found to find_assign. + (gld${EMULATION_NAME}_get_script): Don't use a special script when + producing a shared library. + * emulparams/sun4.sh (GENERATE_SHLIB_SCRIPT): Remove. + * scripttempl/aout.sc: Remove CREATE_SHLIB tests. + * ldlang.c (entry_from_cmdline): New global variable. + (lang_add_entry): Change cmdline parameter from int to boolean. + Use global entry_from_cmdline rather than function static + from_cmdline. + * ldlang.h (entry_from_cmdline): Declare. + (lang_add_entry): Change declaration of second parameter from int + to boolean. + * ldgram.y: Pass false, not 0, to lang_add_entry. + +Thu Sep 28 12:34:13 1995 Ian Lance Taylor <ian@cygnus.com> + + * ld.h (parsing_defsym): Declare. + * ldlex.h (lex_string): Declare. + * ldlex.l (lex_string): Define. + * lexsup.c (parsing_defsym): Define. + (parse_args): In OPTION_DEFSYM case, set lex_string before calling + lex_redirect, and clear it after calling yyparse. Set + parsing_defsym around call to yyparse. + * ldmain.c (main): Set lex_string before calling lex_redirect, and + clear it after calling yyparse. + * ldmisc.c (vfinfo): For %S, handle --defsym arguments and built + in linker scripts correctly. + + * scripttempl/sparccoff.sc: Add .ctors/.dtors handling like other + COFF targets, allowing for the leading underscore used on SPARC + COFF. + + * lexsup.c (parse_args): Handle -assert. + * emulparams/sun4.sh (GENERATE_SHLIB_SCRIPT): Define. + * emultempl/sunos.em (gld${EMULATION_NAME}_get_script): Use the + shared library script when appropriate. + * scripttempl/aout.sc: If CREATE_SHLIB is set, start the .text + section at SIZEOF_HEADERS. + +Thu Sep 28 01:40:37 1995 Doug Evans <dje@deneb.cygnus.com> + + * Makefile.in (earmcoff.c): Build. + * configure.tgt (arm-*-coff): New target + * emulparms/armcoff.sh: New file. + * scripttempl/armcoff.sc: New file. + +Tue Sep 26 10:59:32 1995 Ian Lance Taylor <ian@cygnus.com> + + * scripttempl/i386coff.sc: Remove .data2; no longer needed. + +Fri Sep 22 18:09:02 1995 Ian Lance Taylor <ian@cygnus.com> + + * ldfile.c (ldfile_set_output_arch): Make arch const. + +Thu Sep 21 17:55:24 1995 Michael Meissner <meissner@tiktok.cygnus.com> + + * scripttempl/elfppc.sc: Correctly locate __bss_start at the + beginning of the .bss area, not at the end of data. Add + __sbss_{start,end} symbols. + +Wed Sep 20 12:29:36 1995 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.in (CC_FOR_TARGET): Quote $(program_transform_name). + (CXX_FOR_TARGET, install): Likewise. + +Mon Sep 18 14:53:22 1995 Ian Lance Taylor <ian@cygnus.com> + + Based on patches by Alan Modra <alan@spri.levels.unisa.edu.au>: + * Makefile.in (CC_FOR_TARGET): Remove brokensed stuff. + (CXX_FOR_TARGET): Likewise. + (install): Likewise. + (GENERATED_HFILES): Remove config.h. + (.dep): Depend upon config.h. + +Mon Sep 18 14:39:38 1995 Arne H. Juul <arnej@pvv.unit.no> + + * configure.tgt (mips*-dec-netbsd*): New target. + +Fri Sep 15 20:01:52 1995 Ken Raeburn <raeburn@cygnus.com> + + * configure.host (m88*-*-dgux*): Fix another shell syntax error. + +Fri Sep 15 23:28:05 1995 Andrew Cagney <cagney@highland.com.au> + + * configure.host (i[345]86-*-bsd*): Fix shell syntax error. + +Thu Sep 12 12:50:49 1995 steve chamberlain <sac@slash.cygnus.com> + + * scripttemp/pe.sc: Allow both spellings of .ctors/.dtors. + Start .text section on the right boundary. Always align + stabs. + +Tue Sep 12 12:24:17 1995 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.in (maintainer-clean): New target. + + * ldmain.c (struct warning_callback_info): Define. + (warning_callback): Add new parameter symbol. Call + warning_find_reloc to try to find the section and VMA. + (warning_find_reloc): New static function. + * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): + Pass NULL as symbol parameter to warning callback. + + * ld.texinfo: Clarify -L option. + + * ldlang.c (lang_one_common): Add cast to avoid warning. + (topower): Likewise. Also, reindent. + * ldwrite.c (clone_section): Change i to unsigned int. + * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): Add + cast to avoid warning. + +Fri Sep 8 16:32:43 1995 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.in (config.status): Depend upon configure.tgt. + + * ldemul.h (ldemul_set_symbols): Declare. + (ldemul_parse_args): Declare. + * ldemul.c (ldemul_parse_args): Fix indentation. + + * configure.in: Call AC_HEADER_DIRENT. + * configure, config.in: Rebuild. + * emultempl/sunos.em: Use autoconf recommend mechanism to define + DIR and struct dirent. + + * configure.tgt (mips*-*-bsd*): New case. + + * configure.host (i[345]86-sequent-ptx* | i[345]86-sequent-sysv*) + New case. + * configure.tgt (i[345]86-*-ptx*): New case. + +Thu Sep 7 10:48:26 1995 Ian Lance Taylor <ian@cygnus.com> + + * config.in: Rename from config.h.in. + * configure.in: Call AC_CONFIG_HEADER with config.h:config.in. + Check for config.h:config.in when creating stamp-h. + * configure: Rebuild. + * Makefile.in (stamp-h): Depend upon config.in rather than + config.h.in. Set CONFIG_HEADERS to config.h:config.in when + calling config.status. + + * Makefile.in (distclean): Remove config.h and stamp-h. + + * configure.host (sparc-*-sunos64*): Remove. + * ldlang.c (lang_map): Check BFD64, not HOST_64_BIT. + + * ldexp.c (exp_fold_tree): Don't warn about moving the location + counter backward in the absolute section. + +Wed Sep 6 14:42:11 1995 Ian Lance Taylor <ian@cygnus.com> + + * configure.in: Rewrite to use autoconf. + * configure.host: New file. + * configure.tgt: New file. + * aclocal.m4: New file. + * configure: New file, built by autoconf. + * acconfig.h: New file. + * config.h.in: New file, built by autoheader. + * sysdep.h: New file. + * ld.h: Incorporate old contents of config.h. + * config.h: Remove. + * Makefile.in: Various changes for new configure script. Also: + (CC_FOR_BUILD): Remove. + (ldmain.o): Don't bother to ensure that EMUL is non-empty. + (dep.sed): Use @SRCDIR@, not @srcdir@. + * dep-in.sed: Use @SRCDIR@, not @srcdir@. + * genscripts.sh: Create ldscripts if it does not exist. + * ldemul.c, lexsup.c, mpw-emipsidt.c: Don't include "config.h". + * mpw-esh.c, emultemp/*.em: Likewise. + * ldmain.c: Likewise. Include <ctype.h>. Don't try to set + HAVE_SBRK here. + * config/*.mt, config/*.mh: Remove. + +Tue Sep 5 14:55:24 1995 Ken Raeburn <raeburn@cygnus.com> + + * configure.in: Treat ns32k-pc532-ux* like ns32k-pc532-mach*, and + ns32k-pc532-lites* like ns32k-pc532-netbsd*. From Ian Dall. + +Fri Sep 1 22:29:52 1995 Doug Evans <dje@canuck.cygnus.com> + + * scripttempl/pe.sc: Fix typo in spelling of .ctors/.dtors. + +Fri Sep 1 13:13:29 1995 Ian Lance Taylor <ian@cygnus.com> + + * ldmain.c (warning_callback): Add abfd, section, and address + parameters. + * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): + Change call to warning accordingly. + + * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): If not + relocateable and not shared, put .gnu.warning.SYMBOL sections into + the .text section. + +Fri Sep 1 08:35:16 1995 James G. Smith <jsmith@beauty.cygnus.com> + + * configure.in: Added mips*vr4300-idt-elf* and + mips*vr4300el-idt-elf* targets. + * Makefile.in: Added eelf32vr4300* targets. + * emulparams/{elf32vr4300.sh, elf32vr4300el.sh}: Added. + * config/{mips-vr4300.mt, mips-vr4300el.mt}: Added. + +Fri Sep 1 10:51:45 1995 Ian Lance Taylor <ian@cygnus.com> + + * scripttempl/a29k.sc: Fix to be reasonable. From Brendan Kehoe + <brendan@cygnus.com>. + +Thu Aug 31 16:37:07 1995 steve chamberlain <sac@slash.cygnus.com> + + * ldemul.c (ldemul_parse_args): New. + * ldemul.h (ld_emulation_xfer_struct): Add parse_args. + * lexsup.c (all pe stuff): Moved into pe.em + (parse_args): Call emulation arg parser. + * emultempl/pe.em (parse_args): handle PE specfic args. + +Thu Aug 31 17:01:37 1995 Ian Lance Taylor <ian@cygnus.com> + + * ldlang.c (lang_memory_region_lookup): Don't use the first region + as the default region. Create a new region instead. + +Tue Aug 29 14:21:41 1995 steve chamberlain <sac@slash.cygnus.com> + + * ldemul.c (ldemul_set_symbols): New function. + * ldemul.h (ld_emulation_xfer_struct): Add set_symbols. + * ldmain.c (main): Add call to ldemul_set_symbols. + * lexsup.c (set_pe_value): New args. + (set_pe_name): New. + (parse_args): Cope with new set_pe_value args. + * emultempl/pe.em (set_symbols): New function. + (ld_emulation_xfer_struct): Add set_symbols. + * scripttempl/pe.sc: Use new symbols. + +Thu Aug 24 18:12:18 1995 Ian Lance Taylor (ian@cygnus.com) + + * lexsup.c (parse_args): Don't call set_default_dirlist for -O. + For -Y, ignore a leading `P,', and only call set_default_dirlist + after processing all the other arguments. + +Tue Aug 22 07:36:58 1995 steve chamberlain <sac@slash.cygnus.com> + + * scripttempl/pe.sc: Keep .edata, don't base stabs at 0. + * emulparams/armpe.sh: Run PE script. + +Mon Aug 21 18:30:42 1995 steve chamberlain <sac@slash.cygnus.com> + + * ldmain.c (main): Remove PE stuff. + * lexsup.c (options): Load more PE options. + (set_pe_value): New function. + +Thu Aug 17 13:35:49 1995 steve chamberlain <sac@slash.cygnus.com> + + + * emultempl/{armpe.sc, i386pe.sc}: Deleted. + * emultempl/pe.sc: New file performs generic PE support and sorts + archive members. + * emulparams/{armpe.sh,i386pe.sh}: Use new file. + * scripttempl/{armpe.sc, i386pe.sc}: Deleted + * scripttempl/pe.sc: New. + * Makefile.in: Use new files. + +Thu Aug 17 14:46:34 1995 Doug Evans <dje@canuck.cygnus.com> + + * scripttempl/h8500s.sc (.rdata): All data must go in data segment. + (.strings,.ctors,.dtors): Likewise. + +Wed Aug 16 11:38:59 1995 steve chamberlain <sac@slash.cygnus.com> + + * scripttempl/armpe.sc: Always start code at 0x401000, even + if -r. + * ldwrite.c (strdup): New extern declaration. + * ldgram.y (atype): New rule to clarify type parsing. + * ldlang.c (init_os): Remove commented out code. + (lang_size_sections): Set SEC_ALLOC and SEC_LOAD bits + unless told not to by the link script. + +Wed Aug 16 11:45:11 1995 Ian Lance Taylor <ian@cygnus.com> + + * ldlang.c (lang_set_startof): New static function. + (lang_process): Call it. + + * ldgram.y: Tweak casesymlist to avoid bison errors. + + * lexsup.c (parse_args): Accept -h as a synonym for --soname, for + Solaris compatibility. + +Tue Aug 15 17:31:16 1995 Ian Lance Taylor <ian@cygnus.com> + + * ldgram.y (YYDEBUG): If not defined, define as 1. + (CASE, EXTERN, START): New tokens. + (mri_script_command): Handle CASE, EXTERN, INCLUDE, START. + (casesymlist): New nonterminal. + (extern_name_list): New nonterminal. + * ldlex.l: Accept lower case trailing base specifiers. Don't + ignore the first digit when the base is a suffix. Accept many + EXPRESSION state tokens in MRI state. Support MRI continuation + lines and MRI semicolon comments. Accept all MRI keywords in + lower case. Add CASE, EXTERN, and START MRI keywords. + +Tue Aug 8 19:14:58 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com> + + * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Use xmalloc + instead of alloca. + +Tue Aug 8 15:24:05 1995 J.T. Conklin <jtc@rtl.cygnus.com> + + * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Don't use + $r/../gcc/xgcc unless it is present. + +Thu Aug 3 11:56:22 1995 Ian Lance Taylor <ian@cygnus.com> + + * scripttempl/m68kcoff.sc: Only put .ctors and .dtors in .text + when CONSTRUCTING. + * scripttempl/m68klynx.sc: Likewise. + * scripttempl/nw.sc: Likewise. + * scripttempl/sa29200.sc: Likewise. + * scripttempl/sparclynx.sc: Likewise. + +Fri Jul 28 12:02:23 1995 steve chamberlain <sac@slash.cygnus.com> + + * emulparams/{z8001.sh, z8002.sh}: Fix typo. + +Thu Jul 27 21:06:21 1995 Ken Raeburn <raeburn@cygnus.com> + + * configure.in (i[345]86-*-linuxoldld): Treat like linuxaout*. + +Thu Jul 27 15:26:28 1995 steve chamberlain <sac@slash.cygnus.com> + + * scripttempl/i386pe.sc: Cope with constructors. + * scripttempl/z8ksim.sc: Deleted. + * scripttempl/z8000.sc: Resurrected as this, but + can handle z8001 and z8002 formats. + * emulparams/z8ksim.sh: Deleted. + * emulparams/{z8001.sh, z8002.sh}: New files. + * config/z8ksim.mt: Deleted + * config/z8k-coff.mt: New, generates both emulations. + +Tue Jul 25 14:53:02 1995 Ian Lance Taylor <ian@cygnus.com> + + * ldmisc.c (vfinfo): In %C and %D case, always print the BFD using + %B, in case it is in an archive. + +Mon Jul 24 15:23:39 1995 Ian Lance Taylor <ian@cygnus.com> + + * ldlang.c (lang_process): Call reset_memory_regions for each + relaxation pass. + +Fri Jul 21 22:49:44 1995 Michael Meissner <meissner@cygnus.com> + + * scripttempl/elfppc.sc: Add support for .sdata, .sbss, and + _SDA_BASE. + +Thu Jul 20 16:26:55 1995 Ken Raeburn <raeburn@cygnus.com> + + * ldmain.c (constructor_callback): Allocate set_name in stack + frame, rather than always calling alloca with a fixed size. + +Wed Jul 19 16:21:43 1995 Doug Evans <dje@canuck.cygnus.com> + + * emulparams/armpe.sh (OUTPUT_FORMAT): Change to pei-arm-little. + (LITTLE_OUTPUT_FORMAT, BIG_OUTPUT_FORMAT): Define. + +Mon Jul 17 13:57:00 1995 Ian Lance Taylor <ian@cygnus.com> + + * ldwrite.c (clone_section): Set the alignment of the clone + section to that of the section being cloned. + + * ldwrite.c (split_sections): Don't split the first input section + into a new output section. + +Sat Jul 15 00:26:35 1995 Michael Meissner <meissner@cygnus.com> + + * emulparams/elf32ppc.sh (TEMPLATE_NAME): Define as elf32. + (GENERATE_SHLIB_SCRIPT): Define as yes. + +Fri Jul 14 12:11:46 1995 Ian Lance Taylor <ian@cygnus.com> + + * emultempl/mipsecoff.em (check_sections): Use %P, not %F. + + * ldver.c (help): Update list of options to match currently + supported list. + +Thu Jul 13 13:52:10 1995 Ian Lance Taylor <ian@cygnus.com> + + * emultempl/lnk960.em (ld_lnk960_emulation): Initialize + after_open field. + + * ldexp.c (exp_intop): Don't cast stat_alloc arg to bfd_size_type; + it takes a size_t anyhow. + (exp_binop): Likewise. + (exp_trinop): Likewise. + (exp_unop): Likewise. + (exp_nameop): Likewise. + (exp_assop): Likewise. + * ldlang.c (lang_memory_region_lookup): Likewise. + (init_os): Likewise. + (ldlang_add_undef): Likewise. + (insert_pad): Likewise. + * ldfile.c (ldfile_add_arch): Don't cast xmalloc arg to + bfd_size_type. + + * Makefile.in (ALL_EMULATIONS): It's earmaoutb.o, not earmoutb.o. + +Wed Jul 12 11:32:22 1995 Ian Lance Taylor <ian@cygnus.com> + + * ldemul.h (ldemul_open_dynamic_archive): Add search parameter to + declaration. + (ld_emulation_xfer_type): Add search parameter to + open_dynamic_archive entry point. + * ldemul.c (ldemul_open_dynamic_archive): Add search parameter. + * ldfile.c (ldfile_try_open_bfd): Rename from try_open_bfd, and + make non-static. Change all callers to use new name. + (ldfile_open_file_search): Make static. If entry is dynamic, call + ldemul_open_dynamic_archive. + (ldfile_open_file): Don't call ldemul_open_dynamic_archive. + * ldfile.h (ldfile_open_file_search): Don't declare. + (ldfile_try_open_bfd): Declare. + * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive): + Accept search parameter. Don't search for a library, just look in + a single place. + * emultempl/linux.em (gld${EMULATION_NAME}_open_dynamic_archive): + Likewise. + +Tue Jul 11 16:44:21 1995 Ian Lance Taylor <ian@cygnus.com> + + * ldmain.c (set_scripts_dir): Don't base script directory on + current directory. + +Tue Jul 11 12:29:02 1995 Rick Sladkey <jrs@world.std.com> + + * ldmisc.c (vfinfo): Don't print the line number if it isn't + meaningful. + +Mon Jul 10 13:38:28 1995 Ian Lance Taylor <ian@cygnus.com> + + * ld.h (ld_config_type): Add field warn_constructors. + * ldmain.c (add_to_set): Warn if config.warn_constructors. + (constructor_callback): Likewise. + * lexsup.c (parse_args): Handle -warn-constructors. + * ld.texinfo, ld.1: Document -warn-constructors. + + * emultempl/elf32.em (gld${EMULATION_NAME}_check_needed): Don't + get confused by directory names if we searched for the file. + + Based on patches from H.J. Lu <hjl@nynexst.com>: + * ldlang.h (lang_input_statement_type): Add new field dynamic. + * ldlang.c (new_afile): Set dynamic from config.dynamic_link. + * ldfile.c: Include bfdlink.h. + (ldfile_open_file): Check dynamic field of entry, not global + dynamic_link field. Don't do a dynamic search when doing a + relocateable link. + * ldmain.c (main): Don't warn about dynamic_link for a + relocateable link. + * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Skip file if + dynamic is false. + (gld${EMULATION_NAME}_create_output_section_statements): Always + loop over input files. + * Makefile.in: Rebuild dependencies. + + * ld.texinfo, ld.1: Document -Bstatic, -Bdynamic, -Bshared, and + -shared. + +Mon Jul 10 13:29:43 1995 Eric Youngdale <eric@aib.com> + + * ldmain.c (main): Set link_info.symbolic to false. + * lexsup.c (parse_args): Handle -Bsymbolic. + +Wed Jul 5 00:12:11 1995 Fred Fish (fnf@cygnus.com) + + * ldmain.c (HAVE_SBRK): Define for everything except + specific systems that are known to not support sbrk. + (main): Use HAVE_SBRK to decide whether or not to use sbrk. + +Tue Jul 4 12:55:48 1995 Ian Lance Taylor <ian@cygnus.com> + + * emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment): + Handle etree_provide. + + * emultempl/elf32.em (global_needed): New static variable. + (global_found): Likewise. + (gld${EMULATION_NAME}_after_open): New static function. + (gld${EMULATION_NAME}_search_needed): Likewise. + (gld${EMULATION_NAME}_try_needed): Likewise. + (gld${EMULATION_NAME}_check_needed): Likewise. + (ld_${EMULATION_NAME}_emulation): Replace after_open_default with + gld${EMULATION_NAME}_after_open. + +Mon Jul 3 14:26:37 1995 Steve Chamberlain <sac@slash.cygnus.com> + + * configure.in (i386-*-win32): New target. + +Mon Jul 3 14:39:22 1995 Ian Lance Taylor <ian@cygnus.com> + + * lexsup.c (parse_args): Let -G either set the small data size or + be equivalent to --shared, depending on the next argument. Accept + and ignore -z for Solaris compatibility. + +Sun Jul 2 17:52:34 1995 Ian Lance Taylor <ian@cygnus.com> + + * lexsup.c (parse_args): Cast fopen result to PTR before storing + it in link_info.base_file. Fix indentation. + +Wed Jun 28 17:11:25 1995 Steve Chamberlain <sac@slash.cygnus.com> + + * ldmain.c (main): Always initialize PE info in link_info. + * lexsup.c (OPTION_BASE_FILE): New option. + (parse_args): Handle new option. + * emulparams/armpe.sh: Output pei. + * emultempl/i386pe.em: Add newline to end. + * scripttempl/armpe.sc: Change output and quote the $s. + * scripttempl/i386pe.sc: Change output and quote the $s. + +Thu Jun 22 19:55:41 1995 Ken Raeburn <raeburn@cujo.cygnus.com> + + Sun May 7 11:53:41 MDT 1995 Bryan Ford <baford@cs.utah.edu> + + * configure.in (i386-*-msdos*, i386-*-moss*): New targets. + * Makefile.in (ALL_EMULATIONS): Added i386msdos.o. + (i386msdos.o): New target. + * config/i386-msdos.mt: Created. + * emulparams/i386msdos.sh: Created. + * scripttempl/i386msdos.sc: Created. + +Thu Jun 22 15:06:35 1995 Michael Meissner <meissner@tiktok.cygnus.com> + + * scripttempl/elfppc.sc (.fixup): Add support for a .fixup section + that contains pointers to be relocated. + +Tue Jun 20 17:47:20 1995 Stan Shebs <shebs@andros.cygnus.com> + + * mpw-esh.c: New file, modified for MPW from esh.c. + * scripttempl/sh.sc: Reformatted to simplify MPWification, + use *() to concat stab sections instead of []. + +Thu Jun 15 08:48:16 1995 Steve Chamberlain <sac@slash.cygnus.com> + + * scripttempl/armpe.sc: Add constructor support. + +Tue Jun 13 09:11:20 1995 Steve Chamberlain <sac@slash.cygnus.com> + + * ldlang.c (lang_size_sections): Any section with a DATA + statement has contents. + +Sun Jun 11 15:20:46 1995 Ken Raeburn <raeburn@cujo.cygnus.com> + + * emulparams/m68kelf.sh (NOP): Define. + (DYNAMIC_LINK): Don't define. + (TEXT_START_ADDR): Set to 0x80000000; the extra 0x100 for headers + will come from the linker script. + +Thu Jun 8 14:17:33 1995 Steve Chamberlain <sac@slash.cygnus.com> + + * emulparams/armpe.sh, scriptempl/armpe.sc: Add end and stack. + +Mon Jun 5 02:16:24 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com> + + * configure.in (i[345]86-*-gnu*): Use GNU elf config. + +Thu May 25 11:49:28 1995 Michael Meissner <meissner@tiktok.cygnus.com> + + From Andrew Cagney <cagney@highland.com.au> + * Makefile.in: Fixup more gotchas from renaming elf32ppcle to + elf32lppc. + +Wed May 24 11:23:21 1995 Steve Chamberlain <sac@slash.cygnus.com> + + Add support for ARM-PE. + * Makefile.in (ALL_EMULATIONS): Add armpe.o + * configure.in: Recognize armpe. + * config/arm-pe.mt: New file. + * emulparams/armpe.sh: New file. + * scripttempl/armpe.sc: New file. + + +Mon May 22 15:19:26 1995 Doug Evans <dje@chestnut.cygnus.com> + + * configure.in (h8300h-*-hms): Deleted + * config/cf-h8300h.mt: Deleted. + +Thu May 18 04:26:10 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com> + + Wed May 10 14:28:16 1995 Richard Earnshaw (rearnsha@armltd.co.uk) + + From David Taylor (dtaylor@armltd.co.uk) + * Makefile.in (ALL_EMULATIONS): Add earmout[lb].o + * configure.in: Recognize arm{,e[lb]-*-aout. + * config/arm[lb]-aout.mt: New files. + * emulparams/armaout[lb].sh: New files. + * scripttempl/armaout.sc: New file. + +Tue May 16 18:27:11 1995 Michael Meissner <meissner@tiktok.cygnus.com> + + * config/ppcle-elf32.mt (EMUL): Use elf32lppc, not elf32ppcle, to + be unique in 8 characters for DOS. + + * emulparams/elf32lppc.sh: New file, renamed from elf32ppcle.sh. + * emulparams/elf32ppcle.sh: Deleted. + +Fri May 12 11:03:55 1995 Steve Chamberlain <sac@slash.cygnus.com> + Tom Griest <griest@cs.yale.edu> + + Initial support for PE executables (eg NT, win32) + + * Makefile.in (configure.in, ei386pe): Add support. + * ldmain.c (main): Initialize PE argument info. + * ldwrite.c (print_file_stuff): Don't print out .drectve + and .debug section info. + * lexsup.c (set_subsystem, set_stack_heap, OPTION_HEAP, + OPTION_SUBSYSTEM, parse_argsm set_subsystem, set_stack_heap): + Handle new arguments. + * config/i386-pe.mt, emultempl/i386pe.em, scripttempl/i386pe.sc: + New files + +Wed May 10 18:37:59 1995 Stu Grossman (grossman@andros.cygnus.com) + + * scripttempl/hppaelf.sc: Remove .PARISC.unwind section from text + segment. This allows ld -r to preserve unwind sections. + +Tue May 9 17:19:57 1995 Michael Meissner <meissner@tiktok.cygnus.com> + + * configure.in: Add little endian PowerPC support. + + * Makefile.in (ALL_EMULATIONS): Add eelf32ppcle.o. + (eelf32ppcle.c): Support for little endian PowerPC. + + * config/ppcle-elf32.mt: New file for little endian PowerPC. + * emulparams/elf32ppcle.sh: Ditto. + +Wed May 3 12:56:32 1995 Ken Raeburn <raeburn@cujo.cygnus.com> + + * ldlang.c (print_output_section_statement): Check + subsection_alignment, instead of checking section_alignment twice. + Noticed by Alan Modra <alan@spri.levels.unisa.edu.au>. + +Tue May 2 16:36:07 1995 Jeff Law (law@snake.cs.utah.edu) + + * configure.in (hppa*-*-lites*): Handle like hppa*-*-*elf*. + +Mon Apr 24 19:21:02 1995 Michael Meissner <meissner@cygnus.com> + + * ldwrite.c (ldwrite): Before doing anything, reset the error + code. If bfd_final_link returns an error, but the error code is + unset, don't issue an extra message. Assume a correct error + message was already set. + +Fri Apr 14 16:31:24 1995 Ken Raeburn <raeburn@cujo.cygnus.com> + + * Makefile.in (ALL_EMULATIONS): Added em68kelf.o. + (em68kelf.o): New target. + * config/m68k-elf.mt, emulparams/m68kelf.sh: New files. + * configure.in: Use them for m68*-*-elf. + +Tue Apr 11 12:02:03 1995 Stan Shebs <shebs@andros.cygnus.com> + + Merge in support for Mac MPW as a host. + (Old change descriptions retained for informational value.) + + * mpw-config.in (i386-unknown-aout): Change to i386-unknown-go32. + (i386-unknown-coff): Remove. + (sh-hitachi-hms): New target. + (emulation_ofiles): Set correctly for each target. + (version, TDEFINES): Add to makefile fragment. + * mpw-make.in (BISON): Use byacc instead of bison. + (em_*.c): Replace with e*.c everywhere. + (ldgram.h): Separate action from ldgram.c generation. + (LD_PROG): Depend on Version.r. + (Version.r): generate from version info. + * mpw-emipsidt.c: New file, modified for MPW from emipsidt.c. + + * mpw-config.in (m68k-apple-macos, ppc-apple-macos, + i386-unknown-aout, i386-unknown-coff): New targets. + (m68k-aout, m68k-coff): Remove targets. + (mk.tmp): Add definition of EMUL. + + * mpw-config.in (emulname): Set based on target. + (ldemul-list.h): Construct. + * mpw-make.in (install-only): New target. + (install): Depend on install-only. + + * mpw-make.in (bindir): Fix pathname. + (install): Move here from mpw-build.in. + + * mpw-config.in: New file, MPW configuration fragment. + * mpw-make.in: New file, MPW makefile fragment. + (This file is semi-automatically generated from Makefile.in.) + * ldfile.c (slash): If MPW, set to `:'. + * ldlex.l (TRUE_FALSE_ALREADY_DEFINED): If MPW, set this to + prevent redefinition errors. + +Tue Apr 4 17:55:18 1995 Steve Chamberlain <sac@bang.hack.com> + + * ldwrite.c (clone_section): Align clone sections on even + boundaries. + +Thu Mar 30 14:32:26 1995 H.J. Lu (hjl@nynexst.com) + + * configure.in: Change linux to default to elf. Using + i[345]86-*-linuxaout will build a linker which defaults to a.out. + * config/i386-laout.mt: Rename from old config/i386-linux.mt. + * config/i386-linux.mt: Rename from old config/i386-lelf.mt. + * config/i386-lelf.mt: Remove. + +Thu Mar 30 13:09:46 1995 Ian Lance Taylor <ian@cygnus.com> + + * ldmain.c (main): If opening the map file fails, call + bfd_set_error before calling einfo. + + * ld.texinfo, ld.1: Document the -no-keep-memory option. + +Mon Mar 27 11:10:08 1995 Ian Lance Taylor <ian@cygnus.com> + + * ldmain.c (main): Revert patch of March 10, since the SVR4 linker + does mark shared libraries as executable. + +Tue Mar 21 15:15:38 1995 Ian Lance Taylor <ian@cygnus.com> + + * ldlang.c (lang_common): Change power to int. Pass larger values + before smaller values. + (lang_one_common): Treat info as int *. Don't bother to check for + last value, since it is now zero. + +Sat Mar 18 01:49:14 1995 Ian Lance Taylor <ian@cygnus.com> + + * ldlang.c (load_symbols): An empty archive is OK. + +Fri Mar 17 16:15:31 1995 Stan Shebs <shebs@andros.cygnus.com> + + * ldmain.c (progress.h): Include. + (main): Call START_PROGRESS and END_PROGRESS. + +Thu Mar 16 17:17:33 1995 Michael Meissner <meissner@cygnus.com> + + * scripttempl/elfppc.sc: Move _GOT2_END_ after the .ctors and + .dtors sections, so that these pointers get relocated also. + Define the symbols __{C,D}TOR_{LIST,END}__ to mark the beginning + and end of the constructors/destructors. + +Thu Mar 16 13:59:14 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * ldlang.c (load_symbols): If whole_archive is true and ENTRY + describes an archive, call bfd_link_add_symbols on each member. + * ldmain.c (whole_archive): New variable. + (main): Initialize it to false. + * ldmain.h: Declare whole_archive. + * lexsup.c (parse_args): Grok --whole-archive switch. + * ld.texinfo, ld.1: Document --whole-archive. + +Thu Mar 16 11:38:48 1995 Ian Lance Taylor <ian@cygnus.com> + + * genscripts.sh (EMULATION_NAME): Set LIB_PATH to empty when not + using the default emulation. + + * config/dgux.mh (HOSTING_EMU): Use -m rather than trying to set + LDEMULATION. + * config/hppaelf.mh (HOSTING_EMU): Likewise. + +Tue Mar 14 12:28:03 1995 Ian Lance Taylor <ian@cygnus.com> + + * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Set force_maj + for -lc.N. From H.J. Lu <hjl@nynexst.com>. + +Fri Mar 10 14:43:48 1995 Ian Lance Taylor <ian@cygnus.com> + + * ldmain.c (main): Don't set EXEC_P if link_info.shared is set. + + * ldlex.l: Return -lFILENAME as the token LNAME. + * ldgram.y: Add token LNAME. + (input_list): Treat LNAME like NAME, but pass it to + lang_add_input_file as lang_input_file_is_l_enum. + * ld.texinfo: Document using -lFILENAME in INPUT. + +Thu Mar 9 12:21:51 1995 Michael Meissner <meissner@tiktok.cygnus.com> + + * ldlang.c (lang_check): If the architectures are compatible call + bfd_merge_private_bfd_data to let the backend do additional + checks. + +Tue Mar 7 00:53:08 1995 Ian Lance Taylor <ian@cygnus.com> + + * ldemul.c (ldemul_choose_mode): If emulation not recognized, list + all supported emulations. + +Mon Mar 6 14:03:50 1995 Ian Lance Taylor <ian@cygnus.com> + + * ldemul.c (ldemul_list_emulations): New function. + * ldemul.h (ldemul_list_emulations): Declare. + * ldver.c (help): List supported targets and emulations. + +Fri Mar 3 15:40:36 1995 Doug Evans <dje@canuck.cygnus.com> + + * scripttempl/elf.sc (.debug): Relocate to address 0. + (.debug_srcinfo, .debug_aranges, .debug_pubnames, + .debug_sfnames, .line): Likewise. + +Fri Mar 3 17:07:14 1995 Ian Lance Taylor <ian@cygnus.com> + + * emultempl/elf32.em (hold_rel): New static variable. + (gld${EMULATION_NAME}_place_orphan): Place readonly sections with + contents whose names begin with ".rel" after hold_rel. Remove the + assertion which checked for unplaced .rel sections. Don't try to + sort the section into place if place->bfd_section is NULL. + (gld${EMULATION_NAME}_place_section): Set hold_rel to the first + section beginning with ".rel". + +Thu Mar 2 14:34:43 1995 Ian Lance Taylor <ian@cygnus.com> + + Doc note from pierre@phi.la.tce.com (Pierre Willard): + * ld.texinfo: -X and -x work even if -s or -S are not specified. + * ld.1: Similar change. + +Wed Mar 1 13:51:16 1995 Ian Lance Taylor <ian@cygnus.com> + + * emulparams/gld960coff.sh (COFF_CTORS): Define. + * scripttempl/i960.sc: Use COFF_CTORS if CONSTRUCTING. + +Tue Feb 28 12:42:56 1995 Ian Lance Taylor <ian@cygnus.com> + + * configure.in (i[345]86-*-linuxelf*): New target. Use i386-lelf. + (i[345]86-*-gnuelf*): New target. Use i386-gelf. + * config/i386-lelf.mt: New file. + * config/i386-gelf.mt: New file. + +Tue Feb 28 10:27:54 1995 Rob Savoye <rob@darkstar.cygnus.com> + + * configure.in: Match on mips-ecoff, and default to the IDT + configuration. + +Fri Feb 17 13:06:47 1995 Michael Meissner <meissner@cygnus.com> + + * scripttempl/elfppc.sc: Add support for .got1 and .got2 sections. + Offset _GLOBAL_OFFSET_TABLE_ 32768 from the start of the GOT area + to double the size of the table. + +Thu Feb 9 18:29:43 1995 Ken Raeburn <raeburn@cujo.cygnus.com> + + * Makefile.in (distclean): Do recursive deletion, since ldscripts + is a directory. + +Thu Feb 9 11:38:22 1995 Ian Lance Taylor <ian@cygnus.com> + + * ldmain.c (main): If trace_file_tries is true, and we are using + an internal linker script, print out the script. + * ldfile.c (try_open): Reindent function. Make the messages about + opening script files more informative. + + * lexsup.c (parse_args): For -V, call ldversion with 1, not 0. + * ld.texinfo, ld.1: Update accordingly. + +Wed Feb 8 17:34:45 1995 Ian Lance Taylor <ian@cygnus.com> + + * ldlang.c (lang_one_common): Adjust references to common symbol + information for new structure. + +Mon Feb 6 12:17:24 1995 Ian Lance Taylor <ian@cygnus.com> + + * ldmain.c (undefined_symbol): Handle section being NULL. + + * ldctor.c (ldctor_build_sets): Handle bfd_link_hash_defweak. + * ldexp.c (fold_name): Likewise. + * ldlang.c (print_one_symbol): Likewise. + (lang_finish): Likewise. + * ldmain.c (multiple_common): Likewise. + * ldwrite.c (print_symbol): Likewise. Also, bfd_link_hash_weak + renamed to bfd_link_hash_undefweak. + + * scripttempl/alpha.sc: Set address of .data section correctly + when -n or -N is used. Patch from Chris G Demetriou + <Chris_G_Demetriou@LAGAVULIN.PDL.CS.CMU.EDU>. + * scripttempl/mips.sc: Similar change. + +Tue Jan 31 16:20:52 1995 Doug Evans <dje@canuck.cygnus.com> + + * ldlang.c (lang_size_sections): Clarify error message when user + specified start addr conflicts with region. Fix resetting of + region pointer. + +Tue Jan 31 12:37:09 1995 Ian Lance Taylor <ian@cygnus.com> + + * ldexp.c (fold_name): In case NAME, permit an absolute symbol + in lang_allocating_phase_enum. + +Mon Jan 30 11:33:25 1995 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.in (distclean): Depend upon clean. Don't bother to + remove files which will be removed by clean. From patch by + alan@SPRI.Levels.UniSA.Edu.Au (Alan Modra). + +Fri Jan 27 16:27:34 1995 Ian Lance Taylor <ian@cygnus.com> + + * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): For + a MIPS target, clobber the size of all but the first input + .reginfo section to be 0, so that lang_size_sections sets the + correct size for the output .reginfo section. + +Thu Jan 26 19:53:37 1995 Ian Lance Taylor <ian@cygnus.com> + + * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): + Remove unused variable is. + +Thu Jan 26 12:33:05 1995 Michael Meissner <meissner@tiktok.cygnus.com> + + * configure.in: Add support for powerpc-*-eabi. + + * scripttempl/elfppc.sc: New file for PowerPC embedded ABI + support. + + * emulparams/elf32ppc.sh (SCRIPT_NAME): Use elfppc.sc instead of + elf.sc, which defines some new symbols PowerPC elf needs. + +Tue Jan 24 10:32:15 1995 Ian Lance Taylor <ian@sanguine.cygnus.com> + + * ldctor.c (ldctor_add_set_entry): Don't dump core if a + constructor entry is in the absolute section. + +Mon Jan 23 13:58:13 1995 Ian Lance Taylor <ian@sanguine.cygnus.com> + + * configure.in (i[345]86-*-gnu*): Set ld_target to i386-gnu. + * config/i386-gnu.mt: New file. Include ELF support. + +Thu Jan 19 16:22:11 1995 Ian Lance Taylor <ian@sanguine.cygnus.com> + + * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): If + there are any input sections named .gnu.warning, treat them as + containing a warning message to be printed by the linker, and + clobber the size so that the message is not copied into the output + file. + * scripttempl/elf.sc: Put .gnu.warning sections into the .text + section. + +Sun Jan 15 16:45:00 1995 Steve Chamberlain <sac@splat> + + * configure.in (w65-*-*): New target. + * Makefile.in: Update. + * scripttempl/w65.sc: New. + * config/coff-w65.mt: New. + +Thu Jan 12 01:32:25 1995 Ian Lance Taylor <ian@tweedledumb.cygnus.com> + + * ldlang.c (lang_place_orphans): Don't ignore files with + just_syms_flag set. Instead, put all their sections in + bfd_abs_section_ptr, using the section VMA as the output_offset. + +Wed Jan 11 22:59:09 1995 Ken Raeburn <raeburn@cujo.cygnus.com> + + * ldctor.c (ldctor_build_sets): Don't use `const' with typedef + name `reloc_howto_type', since it's now defined to be const. + * ldlang.c (lang_add_reloc): Ditto. + * ldlang.h (lang_reloc_statement_type, lang_add_reloc): Ditto. + +Wed Jan 11 11:24:45 1995 Ian Lance Taylor <ian@sanguine.cygnus.com> + + * ldexp.c (fold_binary): Adding or subtracting an absolute value + to a relative value does not require forcing the relative value to + be absolute. Also, reindent function. + +Wed Dec 28 22:05:52 1994 Steve Chamberlain (sac@jonny.cygnus.com) + + * ldwrite.c (clone_section): Create a symbol with the + same name as the section. + +Mon Dec 19 14:02:13 1994 Steve Chamberlain (sac@jonny.cygnus.com) + + * ld.h (split_by_reloc, split_by_file): New flags. + * ldwrite.c (clone_section, split_sections): New functions. + * lexsup.c (parse_args): Understand new split options. + +Fri Dec 9 17:22:55 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> + + * scripttempl/elf.sc: Move .ctors and .dtors from .text segment to + .data segment. They must be writable when creating a shared + library. From H.J. Lu <hjl@nynexst.com>. + +Fri Dec 2 14:09:00 1994 Ian Lance Taylor <ian@rtl.cygnus.com> + + * emultempl/miposecoff.em: New file. + * emulparams/mipsidt.sh (TEMPLATE_NAME): Set to mipsecoff. + * emulparams/mipsidtl.sh (TEMPLATE_NAME): Likewise. + * scripttempl/mips.sc: Put .rel.sdata sections in .text, and + provide __runtime_reloc_start and __runtime_reloc_stop if they are + used. Align _fdata to a 16 byte boundary. + * Makefile.in (emipsidt.c): Depend upon mipsecoff.em rather than + generic.em. + (emipsidtl.c): Likewise. + (check): Pass CC_FOR_HOST and CFLAGS_FOR_HOST to runtest. + + * ld.h (args_type): Add new field embedded_relocs. + * ldemul.h (ldemul_after_open, after_open_default): Declare. + (ld_emulation_xfer_struct): Add new field after_open. + * ldemul.c (ldemul_after_open): New function. + (after_open_default): New function. + * ldlang.c (lang_process): Call ldemul_after_open. + * lexsup.c (parse_args): Handle --embedded-relocs. + * emultempl/elf32.em (ld_${EMULATION_NAME}_emulation): Initialize + new after_open field to after_open_default. + * emultempl/generic.em, emultempl/gld960.em: Likewise. + * emultempl/gld960c.em, emultempl/hppaelf.em: Likewise. + * emultempl/linux.em, emultempl/m88kbcs.em: Likewise. + * emultempl/sunos.em, emultempl/vanilla.em: Likewise. + * ld.texinfo, ld.1: Mention -embedded-relocs. + +Wed Nov 23 22:04:47 1994 Steve Chamberlain (sac@jonny.cygnus.com) + + * Makefile.in: Add eshl.o. + * config/coff-sh.mt: Add shl emulation. + +Tue Nov 22 11:55:37 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> + + * scripttempl/elf.sc: Fill .text section with NOPS. From Eric + Youngdale <eric@aib.com>. + +Thu Nov 17 14:39:48 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> + + Patches from pirker@eiunix.tuwien.ac.at (Martin Pirker). + * config/i386linux.mh: New file; set HOSTING_CRT0. + * genscripts.sh: Don't put ${libdir} in LIB_PATH if it is + /usr/lib, since that is already in LIB_PATH. + +Wed Nov 16 10:03:03 1994 Jeff Law (law@snake.cs.utah.edu) + + * scripttempl/hppaelf.sc (.text): Handle a use rdefined text start + address. + (.data, .bss): If "-N", then place the data/bss just after the end + of the .text section rather than at the default 0x40000000. + + * scripttempl/hppaelf.sc (.text): Place unwind descriptors in the + text segment. + +Sat Nov 12 15:55:56 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + Patches from Eric Youngdale <eric@aib.com>: + * ldlang.c (lang_finish): Don't warn if entry symbol not found + when generating a shared library. + * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Warn if + attempting to place an orphaned relocation section when generating + a dynamically linked object. + + * scripttempl/elf.sc: Add ENTRY(${ENTRY}), and default ${ENTRY} to + _start. + +Fri Nov 11 14:27:23 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> + + * ld.h (args_type): Add field export_dynamic. + * lexsup.c (parse_args): Recognize --export-dynamic. + * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): + Pass export_dynamic argument to bfd_elf32_size_dynamic_sections. + +Wed Nov 9 12:47:11 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> + + * ldlang.c (lang_one_common): Set SEC_ALLOC in any section where + we allocate common symbols. + +Tue Nov 8 17:50:43 1994 Eric Youngdale (eric@aib.com) + + * scripttempl/elf.sc: Add .rel.init, .rela.init, .rel.fini, and + .rela.fini to the list of .rel* sections. + +Tue Nov 8 17:47:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> + + * ldlang.c (load_symbols): Add new argument place. Only accept + linker scripts if place is not NULL. Put commands found in an + assumed linker script into place. + (lookup_name): Pass NULL as place argument to load_symbols. + (open_input_bfds): In lang_input_statement_enum case, pass a place + argument to load_symbols, and store any new statements after the + current one. + +Mon Nov 7 15:53:02 1994 Ken Raeburn <raeburn@cujo.cygnus.com> + + * ldver.c (ldversion): Bump to 2.5.3. + +Fri Nov 4 15:11:26 1994 Ken Raeburn <raeburn@cujo.cygnus.com> + + * Makefile.in (e*nbsd.c): Fix typo in dependencies. + +Thu Nov 3 19:35:44 1994 Ken Raeburn <raeburn@cujo.cygnus.com> + + * Makefile.in (check): Add missing "else true" clause. + + * emulparams/vax.sh (OUTPUT_FORMAT): Use "a.out". + + * scripttempl/go32coff.sc: Changes from DJ Delorie: Change default + entry point to "start". Align at end of each section to 0x200. + Start .text section 0x1000 later. Add _etext, _edata, _end + symbols. + +Wed Nov 2 12:17:49 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> + + * ldctor.c (ldctor_add_set_entry): Don't permit a set to be + composed of different object file formats. + (ldctor_build_sets): If the output format does not support the + reloc, and we are not generating a relocateable link, try getting + the reloc from the input format. + +Tue Nov 1 10:30:19 1994 J.T. Conklin (jtc@rtl.cygnus.com) + + * Makefile.in (ALL_EMULATIONS): Added em68knbsd.o. + (em68knbsd.c): New target. + + * config/m68k-nbsd.mt: New file. + * emulparams/m68knbsd.sh: New file. + * configure.in (m68*-*-netbsd*): Use above configs. + +Mon Oct 31 19:35:17 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> + + * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): If we find an + appropriately named static library, stop the search at that + directory. + +Wed Oct 26 13:59:12 1994 J.T. Conklin (jtc@phishhead.cygnus.com) + + * Makefile.in (ALL_EMULATIONS): Added ei386nbsd.o, ens32knbsd.o + and esparcnbsd.o; sorted entries. + (ei386nbsd.c,ens32knbsd.c,esparcnbsd.c): New targets. + + * config/netbsd532.mt: Removed. + * emulparams/netbsd532.sh: Removed. + + * config/{i386-nbsd.mt,ns32k-nbsd.mt,sparc-nbsd.mt}: New files. + * emulparams/{i386nbsd.sh,ns32knbsd.sh,sparcnbsd.sh}: New files. + * configure.in (i[345]86-*-netbsd*, ns32k-pc532-netbsd*, + sparc*-*-netbsd*): Use above configs. + +Tue Oct 25 11:47:10 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> + + * ldmain.c (multiple_common): One of the types may now be + bfd_link_hash_indirect. The old BFD argument may be NULL. + +Thu Oct 20 22:01:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * configure.in: Add * at the end of m68k-hp-hpux. + +Tue Oct 18 15:58:39 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> + + * ldlex.l: Cast assignment to yy_ch_buf field to char *, not to + YY_CHAR *. + +Mon Oct 17 14:53:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com) + + * scripttempl/nw.sc: Gather constructors and destructors and + define __CTOR__LIST__ and __DTOR_LIST__ appropriately. + +Fri Oct 14 14:35:38 1994 J.T. Conklin (jtc@rtl.cygnus.com) + + * Makefile.in (ALL_EMULATIONS): Add ei386nw.o and eppcnw.o. + (ei386nw.c, eppcnw.c): New targets. + + * config/{i386,ppc}-nw.mt, emulparams/{i386,ppc}nw.sh, + scripttempl/nw.sc: New files, for i386 and powerpc netware. + + * configure.in: Changed netware ld_target name to be {i386,ppc}-nw + instead of {i386,ppc}-elf. + + * configure.in (sparc*-*-netware): Removed. There is no such + thing anymore. + + * ldint.texinfo: Move misplaced `@end iftex'. + +Fri Oct 14 12:02:18 1994 Eric Youngdale (eric@aib.com) + + * scripttempl/elf.sc: Add .rel.ctors, .rela.ctors, .rel.dtors, and + .rela.dtors to the list of .rel* sections. + +Thu Oct 13 14:16:27 1994 Ken Raeburn <raeburn@cujo.cygnus.com> + + * ldver.c (ldversion): Update to version 2.5. + * Version 2.5 released. + + * configure.in (all_targets): Handle i386-linux*. + +Thu Oct 13 11:24:33 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> + + * scripttempl/aout.sc: Set _etext and __etext to ., not + ${DATA_ALIGNMENT}. This is compatible with SunOS, and, with luck, + will not break any other system. From Eric Valette + <ev@chorus.fr>. + +Wed Oct 12 16:22:58 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> + + * lexsup.c (parse_args): Change -V to be a synonym for -v. Add + --verbose to get the old -V behaviour. + * ld.1, ld.texinfo: Document this change. + +Tue Sep 27 14:56:20 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Remove + assertion, since it could fail with a user defined linker script. + + * ldexp.c (fold_name): For DEFINED case, don't try to look up the + name in the hash table during the first phase--the hash table does + not even exist at that point, much less have the right value. + + * Makefile.in (CC): Define. + (CXX): Move definition, change from g++ to gcc. + (EXPECT, RUNTEST): Copy definitions from top level Makefile.in. + (RUNTEST_CC, RUNTEST_CFLAGS): Remove. + (RUNTEST_CXX, RUNTEST_CXXFLAGS): Remove. + (CC_FOR_TARGET, CXX_FOR_TARGET): Copy from top level Makefile.in. + (.cc.o): Comment out. + (testdir): Remove. + (site.exp): Don't create testdir or set tmpdir. + (check): Run checks even if not running native. Use CC_FOR_TARGET + instead of RUNTEST_CC, and likewise for CXX. + (cdtest targets): Comment out. + * config/solaris2.mh (HOSTING_LIBS): Only mention crtend.o once. + * cdtest-bar.cc, cdtest-foo.cc, cdtest-foo.h: Remove. + * cdtest-main.cc, cdtest.exp: Remove. + +Mon Sep 26 11:40:30 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * emulparams/elf32bmip.sh: Rename from elf32mipb.sh to avoid DOS + file naming problems. + * emulparams/elf32lmip.sh: Rename from elf32mipl.sh. + * Makefile.in (ALL_EMULATIONS): Rename eelf32mipb.o to + eelf32bmip.o and eelf32mipl.o to eelf32lmip.o. + (eelf32bmip.c): Rename from eelf32mipb.c. Use elf32bmip.sh. + (eelf32lmip.c): Rename from eelf32mipl.c. Use elf32lmip.sh. + * config/mipsb-elf32.mt (EMUL): Use elf32bmip, not elf32mipb. + * config/mipsl-elf32.mt (EMUL): Use elf32lmip, not elf32mipl. + + * genscripts.sh: Always search /usr/local/TARGET/lib. + + * scripttempl/elf.sc: If -N is set, force DATA_ADDR to be ".". + +Fri Sep 23 15:05:49 1994 Ken Raeburn <raeburn@cujo.cygnus.com> + + * configure.in: Handle i386-bsdi* targets like i386-bsd. + +Fri Sep 23 00:06:59 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * lexsup.c (parse_args): Add support for -a for HP/UX + compatibility. + + * lexsup.c (parse_args): -c takes an argument. + +Tue Sep 20 14:35:27 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * ld.h (args_type): Add new field endian. + * lexsup.c (parse_args): Handle -EB and -EL by setting + command_line.endian. + * ldgram.y (ifile_p1): Accept OUTPUT_FORMAT with three arguments. + * ldlang.c (lang_add_output_format): Add arguments big and little. + If command_line.endian is set, use it to select big or little + rather than the default. Changed all callers. + * ldlang.h (lang_add_output_format): Update declaration. + * emulparams/elf32mipb.sh: Define BIG_OUTPUT_FORMAT and + LITTLE_OUTPUT_FORMAT. + * emulparams/elf32mipl.sh: Likewise. + * emulparams/mipsbig.sh: Likewise. + * emulparams/mipsbsd.sh: Likewise. + * emulparams/mipsidt.sh: Likewise. + * emulparams/mipsidtl.sh: Likewise. + * emulparams/mipslit.sh: Likewise. + * scripttempl/elf.sc: Define BIG_OUTPUT_FORMAT and + LITTLE_OUTPUT_FORMAT if not already defined. Pass them to + OUTPUT_FORMAT. + * scripttempl/mips.sc: Pass BIG_OUTPUT_FORMAT and + LITTLE_OUTPUT_FORMAT to OUTPUT_FORMAT. + * scripttempl/mipsbsd.sc: Likewise. + + * Makefile.in (ldgram.h): Make separate target from ldgram.c, + depending upon ldgram.c, so that a parallel make does not try to + build both at once. + + * configure.in (mips*el-elf*): New target. + * Makefile.in (ALL_EMULATIONS): Add eelf32mipb.o and eelf32mipl.o. + (eelf32mipl.c): New target. + + * config/mipsl-elf32.mt: New file. + * emulparams/elf32mipl.sh: New file. + +Fri Sep 16 12:16:20 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * ldmain.c (main): Rather than prohibiting ld -r -s, treat it as + ld -r -S -x. + +Thu Sep 15 13:05:44 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * ldmisc.c (vfinfo): Print BFD file name as well as file name + returned by find_nearest_line, in case the file name is something + unhelpful such as a .h file. Handle %u. + +Wed Sep 14 12:49:12 1994 Steve Chamberlain (sac@jonny.cygnus.com) + + * ldlang.c (lang_do_assignments): Make sure output statement + has an attached bfd_section before trying to dereference it. + +Wed Sep 14 12:48:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * ld.h (ld_config_type): Add new field warn_once. + * ldmain.c (undefined_symbol): Handle -warn-once. + * lexsup.c (parse_args): Recognize -warn-once. + * ld.texinfo (Options): Document -warn-once. + * ld.1: Likewise. + + * ldmisc.c (vfinfo): Handle %D as %C, but never print the function + name. For %C, print the function name on a separate line, to keep + the length of error messages under control. + * ldmain.c (multiple_definition): Use %D for ``first defined + here.'' + (undefined_symbol): Use %D for ``more undefined references + follow''. + + * ldmisc.c (multiple_warn): Remove; no longer used. + * ldmisc.h (multiple_warn): Don't declare. + +Tue Sep 13 20:47:58 1994 Steve Chamberlain (sac@jonny.cygnus.com) + + * ldlang.c (print_output_section_statement): Print all lines + to the map file. + +Tue Sep 13 16:30:11 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * ldlang.c (load_symbols): Check for archive before object. Use + bfd_check_format_matches, and, if ambiguous, print a list of + matching formats. If file format is not recognized, treat file as + a linker script. + * ldgram.y (yyerror): If assuming an object file is a script, + mention that. Tweak the format of the error messages. + * ldlex.l (lex_warn_invalid): If assuming an object is a script, + guess that this is not actually a script, and just report that the + file format was not recognized. + * ld.texinfo (Options): Admit that -( may be used more than once. + Add note that unrecognized object files are now treated as linker + scripts. + + * ldfile.c (ldfile_input_filename): Make const. + (ldfile_assumed_script): New variable. + (try_open): Change arguments types to const. + (ldfile_find_command_file): Likewise. + (ldfile_open_command_file): Likewise. Also, set lineno to 1. + * ldfile.h: Update declarations for ldfile.c changes. + * ldlex.l: Include <ctype.h>. + (file_name_stack): Change to be const char *. + (lineno_stack): New static variable. + (<<EOF>>): Set lineno as well as ldfile_input_filename. + (lex_push_file): Make name argument const. Initialize + lineno_stack entry. + (lex_redirect): Initialize lineno_stack entry. + (lex_warn_invalid): Handle non printable characters nicely. + * ldlex.h (lex_push_file): Declare second argument as const. + + * ldgram.y (ifile_p1): Recognize GROUP. + * ldlex.l: Recognize GROUP. + * ld.texinfo (Option Commands): Document GROUP. + +Mon Sep 12 17:04:27 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * config/m68klynx.mh: New file. + +Mon Sep 12 01:50:03 1994 Jeff Law (law@snake.cs.utah.edu) + + * emultempl/hppaelf.em: Add newlines to the error messages. + +Sat Sep 10 16:05:38 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * config/i386lynx.mh: New file. + * scripttempl/i386lynx.sc: Don't put .ctors and .dtors in .text + unless CONSTRUCTING. + +Thu Sep 8 13:25:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * emulparams/elf32mipb.sh (TEMPLATE_NAME): Define as elf32. + (GENERATE_SHLIB_SCRIPT): Define as yes. + (DYNAMIC_LINK): Define as false. + * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): + Initialize config.dynamic_link to DYNAMIC_LINK if it is defined. + (gld${EMULATION_NAME}_place_orphan): Reset stat_ptr at end. + * Makefile.in (eelf32mipb.c): Depend upon elf32.em rather than + generic.em. + +Thu Sep 8 16:30:37 1994 Steve Chamberlain (sac@jonny.cygnus.com) + + * scripttempl/h8500b.sc: Put rdata stuff into own segment. + +Thu Sep 8 13:25:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Don't define; + .got section is now explicitly handled in elf.sc. + +Wed Sep 7 13:08:34 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * scripttempl/alpha.sc: Redo script to set . outside of sections + and not bother to explicitly specify section addresses. + Explicitly place .sdata section. + +Tue Sep 6 23:51:45 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * scripttempl/m68kcoff.sc: Put .bss in data segment. + + * scripttempl/h8300.sc: Change .stab and .stabstr to use a VMA of + 0, and to only be marked as NOLOAD if relocating. + * scripttempl/h8500.sc, scripttempl/h8500b.sc: Likewise. + * scripttempl/h8500c.sc, scripttempl/h8500m.sc: Likewise. + * scripttempl/h8500s.sc, scripttempl/i386coff.sc: Likewise. + * scripttempl/i386go32.sc, scripttempl/i386lynx.sc: Likewise. + * scripttempl/m68kcoff.sc, scripttempl/m68klynx.sc: Likewise. + * scripttempl/sh.sc, scripttempl/sparccoff.sc: Likewise. + * scripttempl/sparclynx.sc: Likewise. + +Sun Sep 04 17:58:10 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org) + + * Makefile.in, configure.in: Add support (disabled) the ARM/RISCiX. + * config/riscix.mt, emulparams/riscix.sh, scripttempl/riscix.sc: + New files. + +Tue Aug 30 11:48:08 1994 Eric Youngdale (ericy@cais.cais.com) + + * ld.h (args_type): Add field soname. + * lexsup.c (parse_args): Handle -soname argument. + * emultempl/elf32.em: In call to bfd_elf32_size_dynamic_sections, + pass soname. + * ld.texinfo: Document -soname. + +Mon Aug 29 15:21:50 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * ldlang.c (lang_check): Don't try to set the architecture if the + input and output files are incompatible. Just warn. + +Wed Aug 24 12:52:30 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * configure.in: Change i[34]86 to i[345]86. + +Sun Aug 21 16:17:19 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * emulparams/hp3hpux.sh: Define __DYNAMIC to be 0. + +Thu Aug 18 15:37:45 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + Make the ELF linker handle orphaned sections reasonably. Also, + define __start_SECNAME and __stop_SECNAME around sections whose + names can be represented in C, for the benefit of symbol sets in + glibc. + * ldemul.h (ldemul_place_orphan): Declare. + (ld_emulation_xfer_type): Add place_orphan field. + * ldemul.c (ldemul_place_orphan): New function. + * ldlang.h (wild_doit): Declare. + * ldlang.c (wild_doit): Make nonstatic. + (lang_place_orphans): Call ldemul_place_orphan. + * emultempl/elf32.em: Include <ctype.h> and "ldgram.h". + (hold_section, hold_use, hold_text, hold_data, hold_bss): New + static variables. + (gld${EMULATION_NAME}_place_orphan): New static function. + (gld${EMULATION_NAME}_place_section): New static function. + (ld_${EMULATION_NAME}_emulation): Initialize place_orphan field. + +Tue Aug 16 00:17:20 1994 Eric Youngdale (ericy@cais.cais.com) + + * scripttempl/aout.sc: Add .linux-dynamic after .data. + +Tue Aug 16 00:08:22 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * lexsup.c (parse_args) Treat --dll-verbose as --version, for + Linux compatibility. From hjl@nynexst.com (H.J. Lu). + +Mon Aug 15 17:17:33 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * ldexp.h (exp_get_abs_int): Declare. + +Sat Aug 6 01:45:39 1994 Steve Chamberlain (sac@jonny.cygnus.com) + + * ldlang.c (lang_do_assignments): Handle complex AT's better. + * ldexp.c (exp_get_abs_int): New function. + +Fri Aug 5 20:55:55 1994 Jason Molenda (crash@phydeaux.cygnus.com) + + * configure.in: add i960-nindy-coff support. + +Thu Aug 4 14:45:50 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * ldlex.l (yy_create_string_buffer): Handle change to internal + interface in flex 2.4.7. + +Tue Aug 2 11:52:06 1994 Eric Youngdale (ericy@cais.cais.com) + + * emultempl/linux.em (gld${EMULATION_NAME}_find_address_statement): + New function; add 0x20 to any use of -Ttext. + (gld${EMULATION_NAME}_create_output_section_statements): New + function. + (ld_${EMULATION_NAME}_emulation): Use the new function + gld${EMULATION_NAME}_create_output_section_statements. + +Mon Aug 1 15:50:44 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * scripttempl/mips.sc: Redo script to set . outside of sections + and not bother to explicitly specify section addresses. + +Tue Jul 26 11:02:35 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * scripttempl/elf.sc: Copy several more relocation sections into + the output. Put .got.plt sections into .got. + +Fri Jul 22 12:15:36 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * scripttempl/elf.sc: Use PROVIDE to define etext, edata, and end. + + Add a new script operator, PROVIDE, to define a symbol only if it + is needed. + * ldgram.y (PROVIDE): New token. + (assignment): Accept PROVIDE. + * ldlex.l (PROVIDE): New token. + * ldexp.h (node_type): Add etree_provide to node_class enum. + (exp_provide): Declare. + * ldexp.c (exp_fold_tree): Handle etree_provide. + (exp_provide): New function. + (exp_print_tree): Handle etree_provide. + * ld.texinfo: Document PROVIDE. + + * ldlang.c (lang_common): Pass desired alignment to + lang_one_common as power of two. + (lang_one_common): Get common symbol alignment from linker hash + table entry. Treat desired alignment as a power of two. + + * ldlang.c (wild_section): Attach all section with the given name, + not just the first one. If there is no name, attach all sections + even if the SEC_IS_COMMON flag is set. + +Wed Jul 20 15:49:27 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * ld.h (args_type): Add field rpath. + * lexsup.c (S_ISDIR): Define if not already defined. + (parse_args): Add support for -rpath. If -R is used to name a + directory, treat it as -rpath for Solaris compatibility. + * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): + Pass command_line.rpath to bfd_elf32_size_dynamic_sections. + * ldmain.c (main): Initialize command_line.rpath to NULL. + * ld.texinfo: Document -rpath option. + +Sun Jul 10 00:33:24 1994 Ian Dall (dall@hfrd.dsto.gov.au) + + * emulparams/pc532machaout.sh: New file. Pc532 mach script + parameters. + + * emulparams/netbsd532.sh: New file. Netbsd 532 script parameters. + + * config/pc532mach.mt: New file. Pc532 mach target support. + + * config/pc532mach.mh: New file. Pc532 mach host support. + + * config/netbsd532.mt: New file. Netbsd 532 target support. + + * configure.in: Add ns32k-pc532-mach and ns32k-pc532-netbsd support. + + * Makefile.in: Add epcmachaout.c dependency and enetbsd532.c + dependency. + +Fri Jul 8 10:57:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): Use + bfd_abs_section_ptr, not &bfd_abs_section. + + * lexsup.c (parse_args): Changed "retain-symbols-file" from + no_argument to required_argument. From djm. + +Thu Jul 7 12:29:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * scripttempl/elf.sc: Explicitly mention .stab and .stabstr + sections to force a VMA of 0; needed for ELF backends which have + not been converted to the new linker style. + +Mon Jul 4 19:35:45 1994 Jeff Law (law@snake.cs.utah.edu) + + * scripttempl/hppaelf.sc (__stack_zero): Don't define this name, + it was for the HPUX dynamic loader's use and it creates problems + with ELF GDB. + +Fri Jul 1 12:53:47 1994 Jeff Law (law@snake.cs.utah.edu) + + * ldlang.c (lang_do_assignments): No longer static. Delete decl. + * ldlang.h (lang_do_assignments): Put external decl here. + * emultempl/hppaelf.em: Minor cleanups throughout file. + (hppa_elf_create_output_section_statements): Rewrite. + (hppaelf_finish): Rewrite. + +Wed Jun 29 16:50:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * config/solaris2.mh (NATIVE_LIB_DIRS): Define as /usr/ccs/lib. + + * lexsup.c (parse_args): Accept -Bstatic and -Bdynamic. Do not + accept plain -B. + * ld.texinfo: -Bstatic is not ignored. + +Tue Jun 28 12:13:34 1994 Stan Shebs (shebs@andros.cygnus.com) + + * ldlex.l: Recognize \r the same as \n. + +Thu Jun 23 17:53:04 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + Preliminary support for generating shared libraries, from Eric + Youngdale <ericy@cais.cais.com>. + * genscripts.sh: If the emulation parameter file sets + GENERATE_SHLIB_SCRIPT, generate a .xs script file with + CREATE_SHLIB defined. + * emultempl/elf32.em (gld${EMULATION_NAME}_get_script): If + link_info.shared is set, use the .xs script file. + * scripttempl/elf.sc: If CREATE_SHLIB is set, don't create a + .interp section, and don't include TEXT_START_ADDR in the starting + address of the first section. + * emulparams/elf_i386.sh (GENERATE_SHLIB_SCRIPT): Likewise. + * emulparams/elf32_sparc.sh (GENERATE_SHLIB_SCRIPT): Define. + +Thu Jun 23 12:52:22 1994 David J. Mackenzie (djm@rtl.cygnus.com) + + * configure.in: Change --with-targets to --enable-targets. + +Wed Jun 22 13:42:14 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * lexsup.c (parse_args): Add support for new options -( -) with + synonyms --start-group --end-group. + * ldlang.h (enum statement_enum): Add lang_group_statement_enum. + (lang_group_statement_type): Define new struct. + (lang_statement_union_type): Add group_statement field. + (lang_enter_group, lang_leave_group): Declare. + * ldlang.c (lang_for_each_statement_worker): Handle + lang_group_statement_enum. + (map_input_to_output_sections, print_statement): Likewise. + (lang_size_sections, lang_do_assignments): Likewise. + (open_input_bfds): Completely rewrite. Now does its own looping, + rather than using lang_for_each_statement. Handle groups. + (lang_process): Update call to open_input_bfds. + (print_group): New static function. + (lang_enter_group, lang_leave_group): New static functions. + * ldfile.c (ldfile_open_file): If the file has already been + opened, just return rather than taking an assertion failure. + * ldver.c (help): Mention new options. + * ld.texinfo: Document new options. + + * ldlang.c (end_of_data_section_statement_list): Don't define. + (lang_leave_output_section_statement): Don't set obsolete variable + end_of_data_section_statement_list. + + * scripttempl/go32coff.sc: Don't put ${DATA_ALIGNMENT} inside an + ALIGN. + + * ldlang.c (lang_size_sections): Adjust current region address + even for sections with an explicit address. From + ralphc@pyramid.com (Ralph Campbell). + + * emulparams/i386linux.sh (NONPAGED_TEXT_START_ADDR): Set to 0. + From jrs@world.std.com (Rick Sladkey). + + * scripttempl/mipsbsd.sc: Let sections align to their natural + boundaries. + +Tue Jun 21 11:27:04 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * ldlang.c (lang_init): Use new bfd_abs_section_ptr, not + &bfd_abs_section. + (lang_abs_symbol_at_beginning_of): Likewise. + (lang_abs_symbol_at_end_of): Likewise. + (lang_size_sections): Use bfd_is_abs_section to check for the + absolute section. Don't try to set the VMA or output_offset or + size of the absolute section. + * ldmain.c (notice_ysym): Use bfd_is_und_section to check for the + undefined section. + +Thu Jun 16 22:48:41 1994 Jeff Law (law@snake.cs.utah.edu) + + * scripttempl/hppaelf.sc: Place .data and .bss at 0x40000000 + when generating relocatable objects. + +Thu Jun 16 14:25:22 1994 Eric Youngdale (ericy@cais.cais.com) + + * emultempl/linux.em: New file providing support for linking + against Linux shared libraries. + * config/i386-linux.mt (ei386linux.c): Depend upon linux.em. + * emulparams/i386linux.sh (TEMPLATE_NAME): Define as linux. + +Thu Jun 16 12:22:01 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * lexsup.c (parse_args): Add -shared to longopts, and handle it. + * ldmain.c (main): Initialize link_info.shared to false. Give + error if link_info.relocateable and link_info.shared are both set. + + * configure.in: If EMUL_EXTRA* is defined in a config file, treat + it as naming an emulation to be added to EMULATION_OFILES. + * config/i386-linux.mt (EMUL_EXTRA1): Define as elf_i386. + + * Makefile.in: Rebuilt dependencies. + (ALL_EMULATIONS): Add ei386linux.o, eelf32_sparc.o, + eelf64_sparc.o. Remove $(OTHER_EMULATIONS). + (ei386linux.c, eelf32_sparc.c, eelf64_sparc.c): New targets. + * config/i386-linux.mt (OTHER_EMULATIONS): Don't define. + (ei386linux.c): Remove; now in Makefile.in. + * config/i386-lynx.mt (OTHER_EMULATIONS): Don't define. + * config/m68k-lynx.mt (OTHER_EMULATIONS): Don't define. + * config/sparc-lynx.mt (OTHER_EMULATIONS): Don't define. + * config/sparc64-elf.mt (OTHER_EMULATIONS): Don't define. + (eelf64_sparc.c): Remove; now in Makefile.in. + * config/sun4sol2.mt (OTHER_EMULATIONS): Don't define. + (eelf32_sparc.c): Remove; now in Makefile.in. + + * ldexp.c (exp_print_tree): Don't crash if etree_rel section has + no owner--it might be bfd_abs_section. From Eric Youngdale + <ericy@cais.cais.com>. + + * scripttempl/aout.sc: Let sections align to their natural + boundaries. + +Wed Jun 15 01:54:54 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ldemul.h (ldemul_open_dynamic_archive): Declare. + (ld_emulation_xfer_type): Add new field open_dynamic_archive. + * ldemul.c: Include ldexp.h and ldlang.h. + (ldemul_open_dynamic_archive): New function. + * ldfile.h (ldfile_open_file_search): Declare. + * ldfile.c: Include ldemul.h. + (try_open_bfd): Rename from cache_bfd_openr. Return boolean + argument, not bfd *. Change all callers. + (ldfile_open_file_search): Rename from open_a. Return boolean + argument, not bfd *. Clean up. Change all callers. + (ldfile_open_file): If doing a dynamic link, call + ldemul_open_dynamic_archive rather than assuming the extension of + a dynamic object is ".so". + * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive): + New function. + (ld_${EMULATION_NAME}_emulation): Initialize open_dynamic_archive + field. + * emultempl/sunos.em (ld_${EMULATION_NAME}_emulation): Likewise. + + * ldmain.c (get_emulation): Ignore -m486 for Linux compatibility. + * lexsup.c (parse_args): Ignore -qmagic for Linux compatibility. + Accept -static as a synonym for -non_shared. + + Let the user change the dynamic linker used by ELF code. + * ld.h (args_type): Add new field interpreter. + * lexsup.c (parse_args): Add dynamic-linker to longopts, and + handle it. + * ldmain.c (main): Initialize command_line.interpreter to NULL. + * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Get + the ELF backend to return the .interp section. If + command_line.interpreter is not NULL, set the contents of .interp + to it. + * ld.texinfo: Mention -dynamic-linker. + + * config/sun4sol2.mt (eelf32_sparc.c): Depend upon elf32.em, not + generic.em. + + * lexsup.c (parse_args): Sort out the option macros and change the + definitions to make it easier to add a new option. + + * scripttempl/aout.sc: Define __etext and __edata to go along with + _etext and _edata. + + * ld.h (ld_config_type): Add new field traditional_format. + * lexsup.c (parse_args): Add traditional-format to longopts, and + handle it. + * ldmain.c (main): Initialize config.traditional_format to false. + * ldlang.c (ldlang_open_output): Set BFD_TRADITIONAL_FORMAT in BFD + flags of output_bfd according to config.traditional_format. + * ldver.c (help): Mention -traditional-format. + * ld.texinfo: Document -traditional-format. + +Tue Jun 14 23:10:07 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ldctor.c (ldctor_add_entry): Add entries to a set in the order + they are encountered. + +Tue Jun 14 18:05:09 1994 Eric Youngdale (ericy@cais.cais.com) + + * emulparams/i386linux.sh (TEXT_START_ADDR): Define as 0x1000. + (NONPAGED_TEXT_START_ADDR): Define as 0x20. + +Mon Jun 13 15:46:09 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * scripttempl/alpha.sc: Define _ftext, _etext and _fdata insted of + _FTEXT, _ETEXT and _FDATA. Dont define _END. + + * ldfile.c (open_a): If this is not an archive, try to open it in + the current directory before searching for it. + + * lexsup.c (parse_args): Treat -i as a synonym for -r. + + * ldgram.y (exp): Treat BLOCK as a synonym for ALIGN, so that + BLOCK works in a section address as documented. + + * ldgram.y (YYDEBUG): Don't define. + +Fri Jun 10 16:45:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * emultempl/gld960.em: Pass false for new argument to + ldfile_add_library_path. + * emultempl/gld960c.em, emultempl/lnk960.em: Likewise. + + * emultempl/sunos.em: Only look for .so files if doing a dynamic + link. + +Thu Jun 9 08:35:17 1994 Ian Lance Taylor (ian@cygnus.com) + + * scripttempl/i960.sc: Add CONSTRUCTORS to .data. + +Thu Jun 9 06:52:29 1994 Bill Cox (bill@rtl.cygnus.com) + + * Makefile.in (check): Delete ld.new dependency so that a regression + test doesn't trigger a rebuild of the linker. + +Thu Jun 9 00:17:20 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ldlang.c (map_input_to_output_sections): For lang_address, call + init_os if it hasn't already been called. + +Thu Jun 2 17:24:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + Add support for SunOS shared libraries. + * aout.sc: Don't define __DYNAMIC here. Add new sections used by + shared library support code. + * emultempl/sunos.em: New file. + * emulparams/sun4.sh (TEMPLATE_NAME): Define as sunos. + * emulparams/sun3.sh (TEMPLATE_NAME): Likewise. + * Makefile.in (esun4.c): Depend upon sunos.em, not generic.em. + (esun3.c): Likewise. + + * ldlang.c: Minor formatting cleanups. + (lang_for_each_input_file): New function. + * ldlang.h (lang_for_each_input_file): Declare. + + * ldfile.h (search_dirs_type): Move from ldfile.c, and add cmdline + field. + (search_head): Declare. + (ldfile_add_library_path): Add new cmdline argument in prototype. + * ldfile.c (search_head): Make non-static. + (search_dirs_type): Move to ldfile.h. + (ldfile_add_library_path): Accept cmdline argument, and save it. + * lexsup.c (parse_args): Pass true for new cmdline argument of + ldfile_add_library_path. + (set_default_dirlist): Likewise. + * ldmain.c (check_for_scripts_dir): Pass false for new cmdline + argument of ldfile_add_library_path. + * ldgram.y (ifile_p1): Likewise. + +Wed Jun 1 14:24:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ldlang.h (lang_input_statement_type): Remove fields subfiles, + total_size, superfile and chain. + * ldfile.c (open_a): Don't clear search_dirs_flag. + (ldfile_open_file): Don't try to open superfile. Assert that file + has not already been opened. + * ldlang.c (new_afile): Don't initialize superfile. + * ldmain.c (add_archive_element): Don't initialize subfiles or + chain or superfile. Initialize search_dirs_flag to false. + +Fri May 27 12:25:33 1994 Ken Raeburn (raeburn@cujo.cygnus.com) + + * ldver.c (ldversion): Changed version to "cygnus-2.4.1". + + Changes from binutils-2.4 release: + + * genscripts.sh (RELOCATING, CONSTRUCTING): When setting + variables, use whitespace, so scripts don't break. + + * config/alphaosf.mh (HDEFINES, CFLAGS): Deleted. + + * emultempl/generic.em: Find emultempl/stringify.sed in ${srcdir}. + + * cdtest-bar.cc: Renamed from cdtest-func.cc. + * Makefile.in: Noted change. + + * scripttempl/a29k.sc: Don't include /lab3/u3/..../segments.o; I + don't know where that's supposed to come from, or why it's + necessary. + + Wed May 11 22:32:00 1994 DJ Delorie (dj@ctron.com) + + * configure.bat: update to latest makefile.in + * emulpara/go32.sh: set to coff-go32 not aout + * emultemp/generic.em: strength-reduce the structure of + this shell script, since the only available shell for + DOS can't handle complex syntax. + * emultemp/stringify.sed: for "sed -f" instead of inline. + * makefile.in: depend on stringify.sed as well as genscripts.sh + * scripttemp/go32coff.sc: correct for djgpp 1.11's COFF format + * genscripts.sh: empty variables aren't always considered "set", + so set them to "y" instead. + +Fri May 27 01:08:14 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ldlang.c (entry_symbol): Make static. + (lang_add_entry): Add cmdline argument. + * ldlang.h (lang_add_entry): Change prototype. + * ldgram.y (statement_anywhere): Change lang_add_entry call. + * lexsup.c (parse_args): Likewise. + +Tue May 24 16:13:43 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * emulparams/elf32mipb.sh (OTHER_READONLY_SECTIONS): Don't give + .reginfo an address. + (OTHER_READWRITE_SECTIONS): Don't give .lit4 or .lit8 an address. + (OTHER_SECTIONS): Define for .gptab.sdata and .gptab.sbss. + * scripttempl/elf.sc: Use OTHER_SECTIONS at end of script. + +Thu May 19 13:31:33 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + Add support for ELF shared libraries. + * ld.h (ld_config_type): Add field dynamic_link. + * ldmain.c (main): Initialize config.dynamic_link to false. Warn + on attempts to use -r with -relax, -call_shared or -s. + * lexsup.c (longopts): Separate OPTION_CALL_SHARED from + OPTION_NON_SHARED. Add OPTION_IGNORE. Adjust macro values + accordingly. Add "dy" and "non_shared" options. Change "Qy" to + OPTION_IGNORE for now. Handle OPTION_CALL_SHARED and + OPTION_NON_SHARED by setting dynamic_link field accordingly. + Handle OPTION_IGNORE by ignoring it. Clear dynamic_link field for + -r and -Ur. + * ldfile.c (ldfile_open_file): If config.dynamic_link is true, try + opening a file with a .so extension first. + * emultempl/elf32.em: New file. + * emulparams/elf32_sparc.sh (TEXT_START_ADDR): Change to 0x10000. + (NONPAGED_TEXT_START_ADDR): Likewise. + (TEMPLATE_NAME): Define as elf32. + (DATA_PLT): Define. + * emulparams/elf_i386.sh (TEMPLATE_NAME): Define as elf32. + * scripttempl/elf.sc: Add placement for new dynamic sections. + Don't use CREATE_OBJECT_SYMBOLS. Define _etext, _edata and _end + outside of any section. Don't use ALIGN(8); just let one section + VMA follow another. Put .dynbss in .bss. Don't mention debugging + sections; they'll be handled correctly anyhow. + * Makefile.in (eelf_i386.c): Depend upon elf32.em, not generic.em. + +Wed May 18 10:15:39 1994 Ian Lance Taylor (ian@cygnus.com) + + * Makefile.in (install): Redirect output of ln to /dev/null. + +Mon May 16 13:35:08 1994 Jeff Law (law@snake.cs.utah.edu) + + * emultempl/hppaelf.em: Change all references of + .hppa_linker_stubs to .PARISC.stubs. + * scripttempl/hppaelf.sc: Likewise. + +Fri May 13 13:00:38 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ldlang.c (print_output_section_statement): Change ``no attached + output section'' message slightly. + (lang_do_assignments): Don't recurse down if there is no real + section. + + * config/i386-linux.mt (OTHER_EMULATIONS): Change em_ to e to + match corresponding change in emulation templates. + * config/i386-lynx.mt, config/m68k-lynx.mt: Likewise. + * config/sparc-lynx.mt, config/sun4sol2.mt: Likewise. + +Wed May 11 18:16:46 1994 Ken Raeburn (raeburn@cujo.cygnus.com) + + * ldver.c (ldversion): Updated version number. + + * cdtest-foo.cc: Use explicit "#pragma implementation". + * cdtest-bar.cc: Renamed from cdtest-func.cc. + * Makefile.in: References to cdtest-func.o changed to + cdtest-bar.o. + +Wed May 11 16:24:19 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + Don't create unnecessary output sections. + * ldlang.c (out_bfd_get_section_by_name): Remove. + (wild_section): Call bfd_get_section_by_name rather than + our_bfd_get_section_by_name. Don't call wild_doit if there is no + section. + (lang_create_output_section_statements): Remove. + (map_input_to_output_sections): For several cases, call init_os if + it has not already been called. + (lang_size_sections): If output section was not created, skip it. + (lang_process): Don't call lan_create_output_section_statements. + (lang_place_orphans): Skip files with just_syms_flags set to true. + * ld.texinfo: Document change. + +Tue May 10 14:31:16 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ldlang.c (wild_doit): Don't bother initializing the vma and + section size. Don't special case SEC_SHARED_LIBRARY. + (lang_size_sections): Handle SEC_COFF_SHARED_LIBRARY sections + specially. + +Fri May 6 12:24:27 1994 Steve Chamberlain (sac@cygnus.com) + + * config/go32.mh : New file for Xgo32X. + +Fri May 6 15:15:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ldfile.c (ldfile_open_command_file): Set bfd_error_system_call + before calling einfo, since we are reporting an fopen failure. + From jrs@world.std.com (Rick Sladkey). + + * configure.in: Use "e" rather than "em_" as prefix for + emulations. + +Fri May 6 01:08:14 1994 Ken Raeburn (raeburn@kr-pc.cygnus.com) + + * emultempl/generic.em: Use "e" rather than "em_" as prefix for + filename. + * emultempl/gld960.em, emultempl/gld960c.em, emultempl/lnk960.em, + emultempl/hppaelf.em, emultempl/m88kbcs.em, emultempl/vanilla.em: + Ditto. + * Makefile.in: Changed all generated file names. + (ldemul-list.h): Depend on Makefile, not config.status. Changed + sed patterns to handle new filenames. + + * config/mipsl-idt.mt: Renamed from mips-idtl.mt. + * configure.in: Adjusted. + +Thu May 5 15:07:32 1994 Ken Raeburn (raeburn@cujo.cygnus.com) + + * Makefile.in (install-info): Don't use "$<*", it doesn't always + work. Instead, check build dir and $srcdir explicitly, and use + `echo' to get all the filenames. + + * configure.in (h8300h-*-hms): Changed ld_target name to + cf-h8300h. + * config/cf-h8300h.mt: Renamed from coff-h8300h.mt, to make it + unique in 8.3. + + * config/i960coff.mt: New file. + * emulparams/gld960coff.sh: New file. + * emultempl/gld960c.em: New file. + * configure.in (i960-*-vxworks5* except -vxworks5.0*): Use + i960coff configuration. + * Makefile.in (em_gld960coff.c): Added dependencies, build rule. + + * Makefile.in (ALL_EMULATIONS): Remove em_delta68.o, since the + code isn't included in FSF releases, and it can still be + explicitly selected. + (distclean): Remove site.bak and tmpdir. + (STAGESTUFF): Removed $(GENERATED_CFILES) $(GENERATED_HFILES). + (mostlyclean): Delete them explicitly here. Also remove tmpdir. + + Patches from Ralph Campbell: + * config/mipsbsd.mh: New file. + * Makefile.in (em_mipsbsd.c): Use mipsbsd.sc, not aout.sc. + * scripttempl/mipsbsd.sc: Don't define __DYNAMIC. + * emulparams/mipsbsd.sh (OUTPUT_FORMAT): Fix name to have `a.out' + instead of `aout'. + + * configure.in (i386-*-gnu*): Treat like i386-*-mach*. + +Wed May 4 11:59:40 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * config/m68k.mt (EMUL): Set to m68kaout. + * emulparams/m68kaout.sh: New file. + * Makefile.in (ALL_EMULATIONS): Add em_m68kaout.o. + (em_m68kaout.c): New target. + + * ldlang.c (lang_size_sections): If dot moves because of an + assignment, don't try to insert a pad into the absolute output + section, just change the address of the default memory region + instead. + + * Makefile.in (mostlyclean): Remove cdtest.tmp, cdtest-ur, + cdtest-ur.out, and cdtest-ur.tmp. + +Wed Apr 27 16:03:37 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * scripttempl/sa29200.sc: Align all sections to four byte + boundaries. + +Wed Apr 27 10:48:03 1994 Steve Chamberlain (sac@cygnus.com) + + * Makefile.in, configure.in: Support for go32 coff. + * config/i386-go32.mt: New file + * emulparams/i386go32.sh: New file + * scripttempl/i386go32.sc: New file + +Tue Apr 26 17:20:03 1994 Stan Shebs (shebs@andros.cygnus.com) + + * Makefile.in (em_m68klynx.c, em_i386lynx.c, em_sparclynx.c): Use + Lynx-specific script templates. + * configure.in (sparclite*-*-coff): Use coff-sparc. + * emulparams/i386lynx.sh (SCRIPT_NAME): Set to i386lynx. + * emulparams/sparclynx.sh (SCRIPT_NAME): Set to sparclynx. + (ENTRY): Set to __main. + * scripttempl/i386lynx.sc: New file, script for I386 Lynx. + * scripttempl/m68klynx.sc: Add insertion of ctor/dtor sections. + * scripttempl/sparclynx.sc: New file, script for uSparc Lynx. + +Tue Apr 26 12:41:03 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * scripttempl/mips.sc: Force _gp and .lit8 to be aligned to a 16 + byte boundary, in case the global constructors do not take up an + even 16 bytes. + + * config/i386v4.mh (HOSTING_CRT0): If ../gcc/crtbegin.o does not + exist, get crtbegin based on gcc -print-libgcc-file-name. + (HOSTING_LIBS): Similar change for ../gcc/crtend.o. + +Mon Apr 25 15:27:52 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ldlang.c (lang_size_sections): When no address is given for a + section, align it according to its requirements. + +Thu Apr 21 17:24:24 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * Makefile.in (clean, distclean): Remove configdoc.texi. + +Tue Apr 19 12:12:15 1994 Bill Cox (bill@rtl.cygnus.com) + + * configure.in: Add i[34]86-*-bsd386 to the patterns recognized. + +Fri Apr 15 14:35:42 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ldlang.c (lang_size_sections): When relaxing, adjust the + position of a padding statement, and adjust dot accordingly. + +Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com) + + * Makefile.in (EXPECT, RUNTEST): Set these for the check goal. + +Mon Apr 11 12:32:57 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * scripttempl/i386coff.sc: If relocating, don't put .init and + .fini sections into .text; keep them separate. + * config/i386sco.mh (HOSTING_CRT0): If ../gcc/crtbegin.o does not + exist, get crtbegin based on gcc -print-libgcc-file-name. + (HOSTING_LIBS): Similar change for ../gcc/crtend.o. + +Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com) + + * Makefile.in (check): Set TCL_LIBRARY for runtest. + +Wed Apr 6 00:09:37 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + + * configure.in (hppa*-*-*elf*): Don't require "-hp-" for the + manufacturer. + + * emultempl/hppaelf.em (hppaelf_finish): Only resize sections + if building a final executable. + +Tue Apr 5 12:17:30 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ldmain.c (main): Check the return value of bfd_close. + +Thu Mar 31 18:07:06 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * scripttempl/alpha.sc: Clean up section alignment to ensure that + sections never overlap when using -r. + +Wed Mar 30 15:51:15 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ldmisc.c (vfinfo): Change symbol reading slightly for recent BFD + changes: get_symtab_upper_bound renamed and returns long, + bfd_canonicalize_symtab returns long, check for error indications. + +Fri Mar 25 17:20:01 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ldlang.c (print_input_section): For section size, use + _cooked_size if it is non-zero, size otherwise. + (size_input_section): Likewise. + (lang_do_assignments): Likewise (case lang_input_section_enum). + +Thu Mar 24 15:20:47 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ldlang.c (new_afile): Add new argument add_to_list. Don't set + real to true for lang_input_file_is_marker_enum. Clear the_bfd. + (lang_add_input_file): Pass true to new_afile for add_to_list. + (lookup_name): Remove force_load argument. Changed all callers. + Pass false to new_afile for add_to_list. Split loading of symbols + out into separate function. + (load_symbols): New function split out of lookup_name. Don't load + the symbols if they are already loaded. + (open_input_bfds): For lang_input_statement_enum call load_symbols + rather than lookup_name. + (lang_process): Pass abs_output_section rather than NULL to + lang_size_sections. + (lang_startup): Set real field of first_file to true. + +Wed Mar 23 14:15:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ldlang.c (had_relax): Removed. + (relax_again): New static variable. + (lang_size_sections): Change call to bfd_relax_section to + correspond to BFD changes. Set relax_again appropriately. + (lang_process): Remove #if 0 code. When relaxing, keep calling + lang_do_assignments and lang_size_sections until relax_again + becomes false. + + * emultemp/gld960.em: Include libiberty.h + (gld960_before_parse): Pass NULL as final argument to concat. + +Tue Mar 22 13:08:28 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * scripttempl/aout.sc: Force _end and __end to be aligned to a + four byte boundary. + + * ldwrite.c (build_link_order): Handle lang_data_statement_enum by + building a bfd_data_link_order, rather than by setting the section + contents immediately. + +Mon Mar 21 18:28:37 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + Changes to make -Ur work again. + * ldmain.c (add_to_set): Now takes reloc argument rather than + bitsize. Check config.build_constructors here. If an new hash + table entry is created, mark it as undefined. + (constructor_callback): No longer takes bitsize argument. Pass + BFD_RELOC_CTOR to ldctor_add_set_entry, but first make sure the + BFD backend supports it. + (reloc_overflow): Handle a NULL abfd argument. + (reloc_dangerous, unattached_reloc): Likewise. + * ldctor.c: Include ldmain.h. + (struct set_info): Change bitsize field to reloc. + (ldctor_add_set_entry): Now takes reloc argument rather than + bitsize. Don't bother to check config.build_constructors here. + (ldctor_build_sets): Get the size from the reloc howto. If + generating relocateable output, call lang_add_reloc rather than + lang_add_data. + * ldctor.h (ldctor_add_set_entry): Change declaration to use reloc + instead of bitsize. + * ldlang.h (statement_enum): Add lang_reloc_statement_enum. + (lang_reloc_statement_type): New structure. + (lang_statement_union_type): Add reloc_statement field. + (lang_add_reloc): Declare new function. + * ldlang.c (lang_for_each_statement_worker): Handle + lang_reloc_statement_enum. + (map_input_to_output_sections, print_statement): Likewise. + (lang_size_sections, lang_do_assignments): Likewise. + (print_reloc_statement): New function. + (lang_add_reloc): New function. + * ldwrite.c (build_link_order): Handle lang_reloc_statement_enum. + + * Makefile.in (cdtest.out, cdtest-ur.o): New targets. + (cdtest-ur, cdtest-ur.out): New targets. + (check-cdtest): Now also check that -Ur works correctly. + + * scripttemp/alpha.sc: Align all sections to 16 byte boundaries. + +Thu Mar 17 12:45:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ldlang.c (lang_process): Move lang_common call before + map_input_to_output_sections, to ensure that any alignment + constraints set by common symbols are copied over to the output + sections. + +Fri Mar 11 22:17:34 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * emulparams/elf32ppc.sh (TEMPLATE_NAME): Don't define. + (OTHER_READWRITE_SECTIONS): Rename .toc to .got. + * Makefile.in (em_elf32ppc.c): Depend upon generic.em, not ppc.em. + * emultempl/ppc.em: Remove ugly stub code; turns out not to be + needed for ELF. + +Tue Mar 8 04:22:27 1994 David J. Mackenzie (djm@rtl.cygnus.com) + + * config/i386bsd.mh: New file. + +Mon Mar 7 15:23:24 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * elf.sc: Permit TEXT_START_SYMBOLS and DATA_START_SYMBOLS to be + defined. + * emulparams/elf32mipb.s (TEXT_START_SYMBOLS): Define _ftext. + (DATA_START_SYMBOLS): Define _fdata. + +Mon Feb 28 10:59:14 1994 Stan Shebs (shebs@andros.cygnus.com) + + * ldlang.c (cat): Define using ANSI style if ALMOST_STDC defined. + +Sun Feb 27 16:29:38 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + + * emultempl/hppaelf.em (hppaelf_finish): Update comments. This + works again. Attach some output symbols to the stub file bfd. + + * emultempl/hppaelf.em: Include elf32-hppa.h. + (file_chain): Add decl. + (hppa_look_for_stubs_in_section): Delete decl. + (hppaelf_finish): Reenable code. Do not pass symbols + down to hppa_look_for_stubs_in_section. + +Sat Feb 26 10:58:25 1994 Ian Lance Taylor (ian@cygnus.com) + + * ldmain.c (write_map): Don't define. Removed all references. + Just use map_file or map_filename instead. + (add_archive_element): Use minfo to write map information, not + info_msg. + (constructor_callback): Use fprintf to write map information, not + info_msg. + * ldmain.h (write_map): Don't declare. + * ldgram.y (mri_script_command): Removed reference to write_map. + * ldlang.c (lang_one_common): Likewise. + * lexsup.c (parse_args): Likewise. + +Fri Feb 25 19:12:03 1994 Ian Lance Taylor (ian@cygnus.com) + + * scripttempl/elf.sc: Force all sections to be aligned. + + * ldgram.y (section): Reverse the order of memspec_opt and + fill_opt to avoid an ambiguity when both are used. + * ld.texinfo: Changed accordingly. + + * ldgram.y: Move include of ldlex.h back with other includes. + * ldlex.h (input_type): Don't initialize enum constants to + particular values. + * ldlex.l: Use a switch to return the right token based on + input_type, rather than knowing that input_type has a value based + on a token type. + + * ldgram.y (dirlist_ptr): Removed; not used. + * lexsup.c: Include ldver.h. + * Makefile.in: Rebuilt dependencies. + +Fri Feb 25 18:55:54 1994 Ted Lemon (mellon@pepper.ncd.com) + + * ldlang.c (lookup_name): don't call bfd_set_gp_size. + (ldlang_add_file): call it here instead. + +Fri Feb 25 18:13:46 1994 David J. Mackenzie (djm@rtl.cygnus.com) + + * ldgram.y: Include ldlex.h after %token decls, for byacc. + +Fri Feb 25 10:47:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + + * emultempl/hppaelf.em: First attempt to clean this file up. + Add comments in several functions as to their purpose and + how they function (or my current best guess). Clean up horrible + spacing and indention that never should have been accepted in the + first place. Add FIXMEs for issues which need to be resolved. + Disable linker-stub generation until it gets fixed. This allows + the linker to at least work on simple code for testing purposes. + + * ldlang.c (lang_size_sections): No longer static (PA ELF calls + it via hppaelf_finish). Prototype moved into ldlang.h. + (lang_process): Move problematic extra call to lang_size_sections + into the PA ELF specific code. + * emultempl/hppaelf.em (hppaelf_finish): Extra call to + lang_size_sections moved here. + +Thu Feb 24 16:47:33 1994 Ian Lance Taylor (ian@cygnus.com) + + * configure.in (powerpc-*-elf*): New target; use ppc-elf32. + * config/ppc-elf32.mt: New file. + * emulparams/elf32ppc.sh: New file. + * emultempl/ppc.em: New file. + * Makefile.in (ALL_EMULATIONS): Added em_elf32ppc.o. + (em_elf32ppc.c): New target; uses elf32ppc.sh, ppc.em and elf.sc. + (EMULATION_OFILES): Added dependencies on ldexp.h and ldlang.h. + +Thu Feb 24 12:27:07 1994 David J. Mackenzie (djm@rtl.cygnus.com) + + * lexsup.c (parse_args): Use symbolic numbers for long options. + Fix misunderstanding in -Y and -call_shared et al. + + Use getopt instead of lex and yacc to parse the command line. + + * ld.texinfo (Options): Document changes to option syntax. + * Makefile.in: Update dependencies. + * ldver.c (help): Tweak dashes in usage message. + * ldgram.y (%union): Remove unused members. + Remove %tokens for command line options; add ones for input types. + (command_line): Rules removed. + (file): Instead of command line, recognize an + input type indicator, then use the nonterminal for that type. + (defsym_expr): New nonterminal from code formerly in command_line. + * ldlex.h: Declare parser input type enum and variable. + Don't declare parse_line. + * ldlex.l: Remove unused variables. Make some used ones static + and comment them. + (COMMAND): Start state and its rules removed. + At start of yylex, return input state token if at start of input. + (lex_redirect): Don't need to set yyout. + (ldlex_command): Function removed. + * ldmain.c (main): Instead of calling parse_line, set up the + redirections and call yyparse directly. + * ldmisc.c (vfinfo): If there's no input filename, print nothing, not + "command line". + * lexsup.c: Remove #if 0'd code. + (parse_line): Function removed. + (parse_args): Rewrite to use getopt_long_only. + (set_default_dirlist): New function from code formerly in + ldgram.y:command_line. + (set_section_start): New function. + * emultempl/generic.em, emultempl/gld960.em, emultempl/hppaelf.em, + emultempl/lnk960.em, emultempl/m88kbcs.em: Don't enclose + compiled-in link scripts in "{" and "}", as the grammar no longer + wants them to be. + +Thu Feb 24 08:43:26 1994 Ken Raeburn (raeburn@rtl.cygnus.com) + + * Makefile.in (ld.dvi): Depend on configdoc.texi, but don't + require that it be in $(srcdir). + +Tue Feb 22 09:21:18 1994 Ian Lance Taylor (ian@cygnus.com) + + * ldlang.c (lang_size_sections): Only align section to alignment + required by linker script, not to maximum alignment of input + sections. + + * ldlang.h (largest_section): Don't declare. + * ldlang.c (largest_section): Don't define. + (size_input_section): Don't set largest_section; not used. + +Mon Feb 21 15:15:29 1994 Ian Lance Taylor (ian@cygnus.com) + + * ldlang.c (new_afile): Pass NULL as last argument to concat. + +Thu Feb 17 15:51:23 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ldlang.c, ldmain.c: Include libiberty.h. + + * ldmisc.h (concat): Don't declare. + * ldmisc.c (concat): Don't define; just use the one in libiberty. + + * ld.h (as_output_section_statement): Removed; not used. + +Thu Feb 17 09:32:14 1994 David J. Mackenzie (djm@thepub.cygnus.com) + + * ldlang.c, ldmain.c, ldmisc.c: Use bfd_get_error and + bfd_set_error and new error names. + +Tue Feb 15 20:14:53 1994 Ken Raeburn (raeburn@cujo.cygnus.com) + + * ldwrite.c (build_link_order): If the cooked size of the section + has been set, use it, for determining link_order size. + (ldwrite): In the error message displayed if bfd_final_link fails, + indicate that it was in fact the final link step that failed. + + * ldlang.c (lang_size_sections): Clear bfd_error before calling + bfd_relax_section, in case it returns false but doesn't flag an + error. If an error is returned, indicate which one it is in the + error message. + + * Makefile.in (install-info): Depend on ld.info, and use "$<*" so + it'll get picked up from $(srcdir) if appropriate. + +Tue Feb 15 16:32:04 1994 David J. Mackenzie (djm@rtl.cygnus.com) + + * scripttempl/aout.sc: Only pad .text if PAD_TEXT is set. + * emulparams/i386mach.sh (PAD_TEXT): Set PAD_TEXT. + +Fri Feb 11 17:02:49 1994 David J. Mackenzie (djm@thepub.cygnus.com) + + * ldlex.l (comment): Increment line number when newline is read. + +Fri Feb 11 17:36:20 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ldlang.c (lookup_name): Take new argument, force_load. If true, + reload the file even if it is already loaded. + (wild): Call lookup_name with force_load argument of 0. + (open_input_bfds): Call lookup_name with force_load argument of 1. + (print_symbol): Remove declaration of non-existent function. + (print_one_symbol): Return true rather than falling off end. + +Thu Feb 10 11:52:38 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ldmain.c (main): Use %ld when printing long values. + + * scripttempl/elf.sc: Move _edata after the .sdata section. + Permit OTHER_BSS_SYMBOLS to be defined. + * emulparams/elf32mipb.s (OTHER_BSS_SYMBOLS): Define _fbss. + +Mon Feb 7 16:31:15 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + + * Rename all "hppaosf" files to "hppaelf". + * Change all "osf" references to "elf" in hppaelf files. + * Makefile.in: Likewise. + * configure.in: Likewise. + +Sun Feb 6 20:31:56 1994 David J. Mackenzie (djm@thepub.cygnus.com) + + * ldmain.c (main): Call xatexit, not atexit. + Call xmalloc_set_program_name. + + * ldlang.c (lang_size_sections): Check if bfd_relax_section set + bfd_errno. + +Sat Feb 5 03:54:34 1994 David J. Mackenzie (djm@thepub.cygnus.com) + + * emultempl/lnk960.em (append), emultempl/hppaosf.em + (hppaosf_finish): Call xmalloc, not ldmalloc. + * ldmain.c (preserve_output): Function removed. + (main): Do it here instead. + +Fri Feb 4 23:02:19 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + + * ldlang.h (LANG_FOR_EACH_{INPUT,OUTPUT}_SECTION): Delete (unused) + GNU C specific macros. + + * emultempl/hppaosf.em (hppaosf_finish): Expand the only remaining + call to LANG_FOR_EACH_INPUT_SECTION. + +Fri Feb 4 16:26:08 1994 David J. Mackenzie (djm@thepub.cygnus.com) + + * ldmisc.c (ldmalloc, xmalloc, ldrealloc, xrealloc): Functions + deleted; will use libiberty versions instead. + * ldctor.c ldfile.c ldlang.c ldmain.c ldmisc.c ldmisc.h lexsup.c + mri.c Makefile.in: Change callers. + + * ldmisc.c (vfinfo): Remove cleanup code. + * ldmain.c (remove_output): Put it here (new function). + (preserve_output): New function. + (main): Register remove_output and preserve_output with atexit. + * ldmain.c ldgram.y: Call xexit instead of exit. + * ldmisc.h: Declare xexit. + +Fri Feb 4 15:19:01 1994 Steve Chamberlain (sac@cygnus.com) + + * Makefile.in: Lots of new H8/500 memory models. + +Sun Jan 30 14:33:40 1994 Ken Raeburn (raeburn@cujo.cygnus.com) + + * ldlex.l: Removed duplicate rules. + (yywrap): Provide default definition, needed with some versions of + flex. + +Fri Jan 28 09:12:56 1994 David J. Mackenzie (djm@thepub.cygnus.com) + + * ldmisc.c (vfinfo): For `%I', if the file is in an archive, print + the archive filename too. + + * ldlex.l: Add rule to catch invalid input characters instead of + printing them. Include "ldmain.h" for program_name decl. + (lex_warn_invalid): New function. + * Makefile.in: Add dependency. + +Fri Jan 28 12:58:45 1994 Ken Raeburn (raeburn@cujo.cygnus.com) + + * Makefile.in (check): Don't bother running any tests of + cross-linker until the test suite no longer assumes native mode. + +Thu Jan 27 17:19:54 1994 Steve Chamberlain (sac@jonny.cygnus.com) + + * ldlang.c (print_one_symbol, print_input_section): Print + global symbols in symbol table again. + +Thu Jan 27 12:35:01 1994 David J. Mackenzie (djm@thepub.cygnus.com) + + * ldmain.c ldmain.h ldgram.y: If -v -V or --version was given, + exit successfully instead of complaining if no input files are + given. + +Tue Jan 25 13:19:41 1994 Stan Shebs (shebs@andros.cygnus.com) + + * Makefile.in: Format variable definitions consistently. + (LD_PROG): Remove unnecessary variables from link command, + change variable LOADLIBES to EXTRALIBS. + + * ldmain.c (main): Compute and display total execution time. + * ld.texinfo (-stats): Document the option. + +Mon Jan 24 12:56:37 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ldmain.c (reloc_overflow): Added name, reloc_name and addend + arguments. + + * ldlang.c (lookup_name): Set BFD GP size to -G argument value + after opening BFD. + + * ldlang.c (relaxing): Removed global variable. + (lang_size_sections): If the canonical symbols have not already + been read in, read them in before relaxing. + * ldlang.h (relaxing): Removed declaration. + +Fri Jan 21 00:44:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ldlang.c (new_afile): Initialize loaded field to false. + (lookup_name): If file was already loaded, don't call the + add_symbols entry point again. + +Wed Jan 19 13:57:00 1994 David J. Mackenzie (djm@thepub.cygnus.com) + + * ld.texinfo: Clarify what -T option does. + +Tue Jan 18 16:18:15 1994 Steve Chamberlain (sac@jonny.cygnus.com) + + * scripttempl/m88kbcs.sc: Don't use CREATE_OBJECT_SYMBOLS, that's + for a.out. + +Tue Jan 11 13:22:04 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ldmain.c (add_archive_element): If trace_files or + trace_file_tries, print file name. + * ldlang.c (lookup_name): Likewise. + (ldlang_add_file): Don't put files on input_bfds list in reverse + order. + + * scripttempl/elf.sc: Correct typo. + +Mon Jan 10 19:49:05 1994 David J. Mackenzie (djm@thepub.cygnus.com) + + * ldgram.y, ldlex.l: Make the space between -e, -u, and -y and + their arguments optional, for compatibility with the old GNU ld. + +Fri Jan 7 20:00:24 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * scripttempl/elf.c: Define __bss_start before the .sbss section. + +Thu Jan 6 00:13:10 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ldmain.c (add_to_set): Add bitsize argument. + (constructor_callback): New function. + (link_callbacks): Add constructor_callback. + * ldctor.c (struct set_info): Add bitsize field. + (ldctor_add_set_entry): Add bitsize argument. + (ldctor_build_sets): Base the size of the elements of the set on + the bitsize, rather than always using LONG. + * ldctor.h (ldctor_add_set_entry): Add bitsize to declaration. + + * ld.h (QUAD_SIZE): Define. + * ldgram.y (QUAD): New token. + (length): Handle it. + * ldlex.l: Return QUAD. + * lexsup.c (keywords): Add QUAD. + * ldwrite.c (build_link_order): Handle QUAD. + * ldlang.c (print_data_statement): Handle QUAD. + (lang_size_sections): Likewise. + (lang_do_assignments): Likewise. + * ldexp.c (exp_print_token): Add QUAD to table. + * ld.texinfo: Describe QUAD. + + * scripttempl/alpha.sc: Don't create .lit4 or .sdata sections, + since the Alpha doesn't use them. + +Wed Jan 5 17:42:16 1994 David J. Mackenzie (djm@thepub.cygnus.com) + + * ldemul.h (ld_emulation_xfer_struct): Comment the members. + +Sat Jan 1 13:39:31 1994 Rob Savoye (rob@darkstar.cygnus.com) + + * Makefile.in, configure.in: Add support for VSTa micro-kernel. + * config/vsta.mt, emulparams/vsta.sh: New files for VSTa. + +Sat Jan 1 10:53:35 1994 David J. Mackenzie (djm@thepub.cygnus.com) + + * scripttempl/aout.sc: Pad .text to DATA_ALIGNMENT if relocating; + needed for i386mach. (Should be a no-op on other systems.) + + * emulparams/i386mach.sh (SEGMENT_SIZE): Fix again. + (PAGE_SIZE): Don't define; not used. + +Fri Dec 31 16:12:06 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ldgram.y (yyerror): Make argument const char *, and actually + print it out rather than assuming it is a syntax error. + * ldmisc.h: Change declaration of yyerror. + * ldemul.c, ldwrite.c: Add /*ARGSUSED*/ as appropriate. + +Fri Dec 31 11:37:28 1993 David J. Mackenzie (djm@thepub.cygnus.com) + + * emulparams/i386mach.sh (NONPAGED_TEXT_START_ADDR): Don't include + exec header offset, since the exec header isn't loaded. + (PAGE_SIZE, SEGMENT_SIZE): Agree with bfd/i386mach3.c. + +Thu Dec 30 13:01:43 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + A major rewrite to move the bulk of the linker into BFD so that + more efficient backend code can be written for specific object + files. + * lderror.c, lderror.h, ldindr.c, ldindr.h, ldsym.c, ldsym.h, + ldwarn.c, ldwarn.h, relax.c, relax.h: Removed. + * ldctor.c, ldctor.h: Complete rewrite. + * ldwrite.c, ldwrite.h: Complete rewrite. + * ld.h (strip_symbols_type, strip_symbols): Removed. Use + link_info.strip instead. Changed all uses. + (discard_locals_type, discard_locals): Removed. Use + link_info.discard instead. Changed all uses. + (ld_config_type): Removed relocateable_output field; use + link_info.relocateable instead; changed all uses. Added stats + field. + (set_asymbol_chain, get_asymbol_chain, get_loader_symbol, + set_loader_symbol): Removed. + * ldexp.h (node_class): Added etree_rel. + (etree_type): Added rel field. + * ldexp.c (exp_print_token): Bracketed table initialization. + (exp_relop): New function. + (fold_name): Use linker hash table rather than ldsym functions. + (exp_fold_tree): Likewise. Also, handle etree_rel case. + (exp_print_tree): Handle etree_rel. + * ldgram.y (strip_symbols, discard_locals): Removed. + (OPTION_stats, OPTION_no_keep_memory): New tokens. Handle them. + (REL): New token. Does not appear in grammar, but needed for + expression code. + (file): Don't call lang_final; it's called by main anyhow. + * ldlex.l: Accept -stats and -no-keep-memory options. + * ldlang.h (fill_type): Make unsigned int, not unsigned short. + * ldlang.c: Consistently use fill_type for fill argument. + (lang_init_script_file, script_file): Removed. + (create_object_symbols): Removed. Use + link_info.create_object_symbols_section instead. Changed all + uses. + (lang_add_keepsyms_file): Removed. + (lookup_name): Call bfd_link_add_symbols instead of + ldmain_open_file_read_symbol. + (wild): Don't iterate over script_file. + (open_output): Create link hash table. + (lang_place_undefineds): Rewrote. + (lang_size_sections): Handle relaxing (doesn't work yet). + (lang_relocate_globals): Removed. + (lang_finish): Use link hash table rather than ldsym functions. + (lang_common): Rewrote. + (lang_one_common): New function. + (ldlang_add_file): Add file to link_info.input_bfds list. Set + usrdata. + (create_symbol): Removed. + (lang_process): Don't call lang_init_script_file. Call + ldctor_build_sets rather than find_constructors. Don't call + lang_relocate_globals. + (lang_abs_symbol_at_beginning_of): Rewrote. + (lang_abs_symbol_at_end_of): Rewrote. + * ldmain.c (had_y): Removed. + (lprefix, lprefix_len): Removed; use link_info fields instead. + Changed all uses. + (multiple_def_count, commons_pending, undefined_global_sym_count, + total_symbols_seen, total_files_seen): Removed. + (link_callbacks, link_info): New variables. + (main): Initialize link_info. Don't call init_bfd_error_vector or + ldsym_init. Don't set now unused variables. Handle -stats. + (get_emulation): Removed obsolete and nonfunctional GNU960 code. + (add_ysym): Rewrote. + (read_entry_symbols, refize, enter_global_ref, enter_file_symbols, + search_library, gnu960_check_format, decode_library_subfile, + linear_library, symdef_library, clear_syms, subfile_wanted_p): + Removed. + (add_keepsyms_file, add_archive_element, multiple_definition, + multiple_common, add_to_set, warning_callback, undefined_symbol, + reloc_overflow, reloc_dangerous, unattached_reloc, notice_ysym): + New functions. + * ldmisc.c (vfinfo): Accept a string for %T, not a symbol. Don't + require symbols for %C; look them up instead. + * emultempl/hppaosf.em: Pass link_info to + hppa_look_for_stubs_in_section. + * Makefile.in: Rebuilt dependencies. + (CFILES): Removed lderror.c, ldindr.c, ldsym.c, ldwarn.c, and + relax.c. + (HFILES): Removed lderror.h, ldindr.h, ldsym.h, ldwarn.h, and + relax.h. + (EMULATION_OFILES): Depend on bfdlink.h, ldmain.h, ldexp.h, + ldlang.h and ldctor.h. + + * Makefile.in (ldlex.c): Don't depend on ldgram.h. Remove + declarations of free and malloc from flex output. Change malloc + to ldmalloc in flex output. + +Thu Dec 16 21:19:57 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + + * ldmain.c (lprefix): Change default from a char to a string + with only one character. + (lprefix_len): Set default to one. + + * ldmain.h (lprefix_len): Declare. + + * ldsym.c (write_file_locals): Use strncmp rather than a character + comparison for lprefix. + + * emultmpl/m88kbcs.em (before_parse): Set lprefix and lprefix_len + correctly. + + * emultmpl/hppaosf.em: Include ldexp.h. + (before_parse): Set lprefix and lprefix_len correctly. + +Tue Dec 14 17:19:03 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ldlex.h: Don't declare yywrap if it is a macro. + * ldlex.l: Include sysdep.h. + * ldlang.c (lang_for_each_statement_worker, + lang_for_each_statement): Forgot to use PARAMS. + +Mon Dec 13 14:30:03 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * Makefile.in: Added .PHONY targets where appropriate. Added some + comments. Also: + (gcclibdir, version): Removed unused variables. + (DEP): New variable, set to mkdep. + (ALL_CFLAGS): New variable. Used in .c.o target. + (CFILES, HFILES, GENERATED_CFILES, GENERATED_HFILES): New + variables. + (HEADERS, MANSOURCES, LDCSOURCES, GENERATED_SOURCES, + GENERATED_HEADERS, LDSOURCES, BFD_SOURCES, SOURCES): Removed + mostly obsolete variables. Adjusted remaining uses. + (DEF_EMUL): Removed variable. + (ldmain.o): Handle undefined EMUL error correctly. + (ldemul-list.h): Depend on config.status rather than Makefile. + Create via temporary file. + (ver960.c, roll, make): Removed obsolete targets. + (.dep, .dep1, dep.sed, dep, dep-in): New targets. Used to rebuild + dependencies. + * dep-in.sed: New file, used when rebuilding dependencies. + +Sat Dec 11 14:43:44 1993 Ian Lance Taylor (ian@deneb.cygnus.com) + + Made many changes to eliminate gcc warnings. Made various + cosmetic changes, declared various things in header files, removed + various extern declarations from .c files. No substantive + changes. + + * ldlang.c (lang_process): Ifdef out final call to + lang_size_sections again (reverting change of Nove 2), since it + breaks the Sun4 linker. + +Thu Dec 2 16:31:47 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * configure.in (alpha-*-netware*): New target; use alpha. + +Wed Dec 1 14:04:20 1993 Ken Raeburn (raeburn@cygnus.com) + + * configure.in: Group targets by CPU. Merge some m68k target + entries with different CPU specs that use the same ld_target + values. + + * configure.in: Add sparc*-*-coff. + * config/coff-sparc.mt, emulparams/coff_sparc.sh: New files. + * Makefile.in (ALL_EMULATIONS): Add em_coff_sparc.o. + (em_coff_sparc.c): Add dependencies and build rules. + + * ldmisc.c (errno, sys_nerr, sys_errlist): Don't declare. + +Wed Dec 1 12:19:55 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ldgram.y (OPTION_call_shared, OPTION_non_shared, OPTION_Oval): + New tokens. + (command_line_option): Accept and ignore them (for now). + * ldlex.l (<COMMAND>): Handle -non_shared, -call_shared, and -On + where n is a number. + +Mon Nov 22 14:14:29 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ldmain.c (subfile_wanted_p): If merging a common symbol which is + not in bfd_com_section, create the section in the BFD so that it + can be placed in the right output section. + +Fri Nov 19 14:12:39 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * configure.in (mips*-sgi-irix5*): New target. Use mipsb-elf32. + * emulparams/elf32mipsb.sh (DATA_ADDR): Define. + (OTHER_READONLY_SECTIONS): Define for .reginfo. + (EXECUTABLE_SYMBOLS): Define for _DYNAMIC_LINK. + * scripttempl/elf.sc: Use EXECUTABLE_SYMBOLS when not relocating. + Move OTHER_READONLY_SECTIONS after all the other readonly + sections. Don't use DATA_ADDR twice. + + * ldmain.c (enter_file_symbols): Removed duplicate tests of p. If + p is in a common section, make sure the BFD has a section of that + name. + + * ldlang.c (lang_common): Add newline to error message. + +Thu Nov 11 15:54:41 1993 Stan Shebs (shebs@rtl.cygnus.com) + + * emulparams/m68klynx.sh (SCRIPT_NAME): Define to use a + Lynx-specific script instead of m68kcoff. + (OUTPUT_FORMAT): Define as "coff-m68k-lynx". + (ENTRY): Define as __main. + (TEXT_START_ADDR): Define as 0. + (PAGE_SIZE): Define as 0x1000. + * emulparams/i386lynx.sh, emulparams/sparclynx.sh: Fix comment. + * scripttempl/m68klynx.sc: New file. + +Mon Nov 8 12:00:16 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ldmain.c (get_emulation): Ignore -mips1, -mips2 and -mips3 + arguments rather than treating them as emulation names. + +Fri Nov 5 09:02:52 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com) + + * configure.in: Support x86 unixware and netware plus generic netware. + +Fri Nov 5 21:47:55 1993 David J. Mackenzie (djm@thepub.cygnus.com) + + * emulparams/i386mach.sh (TEXT_START_ADDR, NONPAGED_TEXT_START_ADDR): + Correct values (?). + +Wed Nov 3 15:10:15 1993 Ken Raeburn (raeburn@rover.cygnus.com) + + * Makefile.in (distclean): Don't delete dvi or info files. + (ld.info): Update dependency list. + (ld.dvi): Ditto. Extend TEXINPUTS to get bfdsumm.texi. + +Wed Nov 3 12:07:39 1993 David J. Mackenzie (djm@thepub.cygnus.com) + + * ldlang.c (lang_add_output): Take new arg, FROM_SCRIPT. + Set output_filename instead of creating a new node. + (open_output): Don't set output_filename. + (lang_final): Create the new node here. + * ldlang.c, ldlang.h, ldgram.y, mri.c: pass FROM_SCRIPT. + +Tue Nov 2 15:45:51 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + + From Pete Hoogenboom (hoogen@cs.utah.edu): + + * scripttempl/hppaosf.sc: (___stack_zero, etext, _etext, + edata, _edata, end): Add definitions of these symbols. + (__end): Remove definition of this symbol. + (__data_start): Move definition of this symbol. + + * emultempl/hppaosf.em: Various fixes and support for linker stub + generation. + (hppaosf_finish, hppaosf_search_for_padding_statements, + hppaosf_create_output_section_statements): New functions in + support of linker stub generation. + (ld_hppaosf_emulation): Redefine to include new + emulation-specific routines. + + * ldlang.c (lang_process): Re-enable last call lang_size_sections. + Pass abs_output_section rather than NULL to avoid invalidating + absolute symbols. + +Thu Oct 28 21:16:42 1993 David J. Mackenzie (djm@thepub.cygnus.com) + + * Makefile.in (ALL_EMULATIONS): Add em_i386mach.o. + (em_i386mach.c): New rule. + * configure.in (i[34]86-*-mach*): New case. + * config/i386-mach.mt: New file. + * emulparams/i386mach.sh: New file. + +Fri Oct 29 14:55:05 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ld.h (flag_is_*): Removed macros. + * ldmain.c (enter_global_ref), ldsym.c (write_file_locals): + Consistently check the BFD symbol flags directly, rather than + using file_is_* macros. + +Thu Oct 28 19:08:42 1993 Stan Shebs (shebs@rtl.cygnus.com) + + * configure.in (sparc*-*-lynxos*): New target. + * Makefile.in: Add rule for em_sparclynx.c. + (ALL_EMULATIONS): Add Lynx emulations. + * config/sparc-lynx.mt: New file. + * emulparams/sparclynx.sh: New file. + * scripttempl/sparccoff.sc: New file. + +Thu Oct 28 13:50:25 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * Makefile.in: Add dependency for $(EMULATION_OFILES). + +Mon Oct 25 16:09:24 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * relax.c (write_relax): Check return value of bfd_seclet_link. + +Mon Oct 25 09:31:21 1993 Ken Raeburn (raeburn@cygnus.com) + + * ldlang.c (delete_output_file_on_failure): New variable. + (open_output): Set it after bfd open succeeds. + * ldmisc.c (vfinfo): Test it. + + Changes from Peter Hoogenboom, hoogen@cs.utah.edu: + + * ldsym.c (write_file_locals): Set the BSF_FILE flag for object + symbols. + + * ldemul.c: Support was added to allow emulation-specific + processing to occur. This support was added primarily for linker + stub generation in the elf32-hppa gld. + (ldemul_finish, ldemul_create_output_section_statements): New + functions. + * ldemul.h: Support was added to allow emulation-specific + processing to occur. (As described above.) Added finish and + create_output_section_statements fields to + ld_emulation_xfer_struct structure. + * ldlang.c: Add calls to emulation-specific routines. + (lang_process): Add call to + ldemul_create_output_section_statements function. + (lang_process): Add call to a emulation-specific routine (and + some processing after the call). + +Fri Oct 22 20:54:13 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) + + * configure.in: mips*- instead of mips-, mips*el changes + +Tue Oct 19 15:46:28 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * configure.in (alpha-*-osf*): New target; use alpha.mt. + * Makefile.in (ALL_EMULATIONS): Added em_alpha.o. + (em_alpha.c): New target; use alpha.sh and alpha.sc. + * config/alphaosf.mh (NATIVE_LIB_DIRS, HOSTING_CRT0): Define. + * config/alpha.mt: New file. + * emulparams/alpha.sh: New file. + * scripttempl/alpha.sc: New file. + +Fri Oct 15 02:20:04 1993 Doug Evans (dje@canuck.cygnus.com) + + * ldlang.c (lang_size_sections, lang_common): ALIGN_N can't handle + types of different sizes (eg: 64 and 32 bits), so coerce. + * ld.h (ALIGN_N): Add warning about usage. + +Wed Oct 13 16:02:39 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ldmain.c (enter_global_ref): Just ignore any weak symbol for + which we already have a definition, rather than checking in + several different places whether the symbol is weak. + +Tue Oct 12 17:30:51 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * configure.in (mips-*-elf*): New target; use mipsb-elf32. + * scripttempl/elf.sc: Only use OTHER_READONLY_SECTIONS and + OTHER_READWRITE_SECTIONS if relocating. Shell variables are not + expanded within them. + * config/mipsb-elf32.mt: New file. + * emulparams/elf32mipb.sh: New file. + * Makefile.in (em_elf32mipb.c): New target. + +Thu Sep 30 17:00:36 1993 Rob Savoye (rob@darkstar.cygnus.com) + + * ldgram.y: In input_list, change lang_input_file_is_file_enum to + lang_input_file_is_search_file_enum so objects brought in using + INPUT() do a path lookup. + +Tue Sep 28 13:31:23 1993 Stan Shebs (shebs@rtl.cygnus.com) + + * configure.in: Change Lynx ld_target to be {i386,m68k}-lynx + instead of {i386,m68k}-coff. + * Makefile.in (em_i386lynx.c, em_m68klynx.c): New targets. + * config/i386-lynx.mt: New file. + * config/m68k-lynx.mt: New file. + * emulparams/i386lynx.sh: New file. + * emulparams/m68klynx.sh: New file. + + * scripttempl/i386coff.sc: Make ENTRY get its value from ${ENTRY}, + but defaulting to _start. + + * ldemul.c, ldfile.c, ldlang.c, ldmain.c, ldmisc.c, ldmisc.h, + ldsym.c, ldwarn.c: Rename info to info_msg, to avoid conflict with + LynxOS libc. + +Thu Sep 23 14:51:03 1993 Ian Lance Taylor (ian@cygnus.com) + + * config/solaris2.mh: New file. Define HOSTING_CRT0 and + HOSTING_LIBS for testing. + +Fri Sep 17 17:52:24 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + Finish up support for i386-sysv4 (without shared libraries): + * ld.h (flag_is_weak): Define. + * ldlang.c (print_symbol): Mention whether symbol is weak. + (print_input_section): Print weak symbols as globals. + * ldmain.c (refize): Do not zero out BSF_WEAK flag. + (enter_global_ref): Do not warn if a weak symbol redefines a + global symbol. Do not let a weak symbol redefine a common symbol. + (enter_file_symbols): Treat weak symbols as global symbols. + (subfile_wanted_p): Do not pull in an object file from a archive + just to resolve an undefined weak symbol. + * ldmisc.c (vfinfo): Don't needlessly malloc space after a fatal + error; the error might be that malloc has run out of space. + * ldsym.c (write_file_locals): Treat weak symbols as global. + * configure.in (i[34]86-*-sysv4*, i[34]86-*-elf*): New targets; + use i386-elf. + * config/i386v4.mh: New file; set NATIVE_LIB_DIRS to /usr/ccs/lib. + * config/i386-elf.mt: New file; set EMUL to elf_i386. + * emulparams/elf_i386.sh: New file. + * scripttempl/elf.sc: Use ${NOP} as filler (defaults to 0). + * Makefile.in (NATIVE_LIB_DIRS): Define to be empty. + (ALL_EMULATIONS): Add em_elf_i386.o. + (GENSCRIPTS): Pass NATIVE_LIB_DIRS as sixth argument. + (em_elf_i386.c): New target, like other em_*.c targets. + ($(LD_PROG)): Pass $(CFLAGS) to $(CC). + * genscripts.sh: Accept NATIVE_LIB_DIRS as sixth argument. If + nonempty, and configured for native, add it to LIB_PATH. + +Fri Sep 17 13:07:39 1993 Stan Shebs (shebs@rtl.cygnus.com) + + * scripttempl/{h8300.sc,h8500.sc,i386coff.sc,m68kcoff.sc,sh.sc}: + Added statements to pass stab and stabstr sections through and + mark them as NOLOAD, which makes GDB happier. + +Wed Sep 15 16:02:29 1993 Stan Shebs (shebs@rtl.cygnus.com) + + * configure.in: Accept m68k-lynx-lynxos config. + + * Makefile.in: Use $(SHELL) to run genscripts.sh. + +Sun Sep 12 16:04:40 1993 Doug Evans (dje@cygnus.com) + + * config/coff-h8300.mt: Add EMUL=h8300h. + + * ldmain.c (main): Call set_scripts_dir after argv has been processed. + +Fri Sep 10 09:36:29 1993 Jeffrey Wheat (cassidy@cygnus.com) + + * Makefile.in: Changed CXX back to g++. + +Fri Sep 10 09:34:29 1993 Jeffrey Wheat (cassidy@cygnus.com) + + * Makefile.in: Fixed RUNTEST* CXX CXXFLAGS macros and check rule. + +Fri Sep 10 07:26:57 1993 David J. Mackenzie (djm@thepub.cygnus.com) + + * Makefile.in (TAGS): Use shell wildcards. + +Tue Sep 7 18:04:54 1993 Jeffrey Osier (jeffrey@cygnus.com) + + * Makefile.in: add TEXINPUTS variable and use it in ld.dvi target + +Fri Sep 3 16:46:41 1993 Roland H. Pesch (pesch@fowanton.cygnus.com) + + * ld.texinfo: re-enable included config file; conditionalize doc + for -oformat to interact properly with SingleFormat doc config + var; rename @up/@down to @raisesections/@lowersections. + +Wed Aug 25 16:29:56 1993 K. Richard Pixley (rich@sendai.cygnus.com) + + * configure.in: recognize m88110. + +Tue Aug 24 18:49:40 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) + + From Peter Hoogenboom <hoogen@shafer.cs.utah.edu>: + * emultempl/hppaosf.em (ld_hppaosf_emulation): Correct name for PA + ELF emulation is "elf32-hppa" not "elf-big". + (hppaosf_before_parse): Remove unneeded processing of environment + variables. + * scripttempl/hppaosf.sc: Include .hppa_linker_stubs sections in + .text segment of output file. + * emulparams/hppaosf.sh (OUTPUT_FORMAT): Use elf32-hppa. + +Tue Aug 24 16:17:00 1993 K. Richard Pixley (rich@sendai.cygnus.com) + + * ld.h: define BYTE_SIZE, SHORT_SIZE, and LONG_SIZE which are no + longer in bfd.h. + + * ldlang.c, ld.h: updated copyright. + +Tue Aug 17 15:22:03 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ldlang.c (open_output, lang_check): Check return value of + bfd_set_arch_mach. + +Tue Aug 17 07:02:19 1993 Steve Chamberlain (sac@phydeaux.cygnus.com) + + * scripttempl/h8500.sc: Start all sections in a different segment. + * scripttempl/z8ksim.sc: Handle constructors + +Thu Aug 12 16:05:37 1993 Jeffrey Wheat (cassidy@cygnus.com) + + * Makefile.in: revert earlier changes back to execute runtest + with make check. cdtest and bootstrap now function as they + did within the Makefile. + +Thu Aug 12 10:20:05 1993 David J. Mackenzie (djm@thepub.cygnus.com) + + * Makefile.in: Update dependencies. + + * configure.in: Set EMULATION_OFILES in Makefile based on + --with-targets option. + +Thu Aug 12 08:52:29 1993 Jeffrey Wheat (cassidy@cygnus.com) + + * Makefile.in: check targets reimplemented to old way. + +Wed Aug 11 08:26:11 1993 Ian Lance Taylor (ian@cygnus.com) + + * config/i386v.mh, config/irix4.mh: Use gcc + -print-libgcc-file-name rather than $(libdir)/libgcc.a. + * config/i386sco.mh: New file; copy of i386v.mh to correspond to + bfd/configure.host change. + +Mon Aug 9 14:25:35 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) + + * scripttempl/elf.sc: Handle .line and .debug* sections. + + * ldlex.l: Use bfd_scan_vma, not strtoul. + +Fri Aug 6 08:57:39 1993 David J. Mackenzie (djm@thepub.cygnus.com) + + * ldexp.c, ldfile.c, ldlang.c, lexsup.c, ldmain.c, ldemul.c: + Remove inital caps in some error messages, change "can't" to + "cannot", add missing colons. + * ldmisc.c (vfinfo): Print "%%" as a single %. + For '%' followed by unrecognized character, print them both + verbatim instead of expecting a char * arg. + For '%C', don't put the function name in parens. + + * ldexp.c (invalid): Pass "%%", not "% ". + +Fri Aug 6 14:31:22 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * scripttempl/mips.sc: Always define _ftext, _fdata, _fbss. + (BSS_VAR): Removed; now always define _fbss. + * emulparams/mipsidt.sh, emulparams/mipsidtl.sh (BSS_VAR): + Removed. + +Thu Aug 5 15:55:19 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) + + * configure.in: z8k-coff is the same as z8k-sim + +Wed Aug 4 21:00:18 1993 Jeffrey Wheat (cassidy@cygnus.com) + + * testsuite/lib/ld.exp: new file + * testsuite/config/unix-ld.exp: new file + * testsuite/ld.bootstrap/bootstrap.exp: new file + * Makefile.in: add dejagnu support for make check + +Wed Aug 4 17:52:32 1993 David J. Mackenzie (djm@thepub.cygnus.com) + + * ldlex.l (comment): Add missing newline in message. + * ldindr.c (add_indirect): Ditto. + * ldexp.c (exp_fold_tree): Ditto. + +Tue Aug 3 10:57:41 1993 David J. Mackenzie (djm@thepub.cygnus.com) + + * ldgram.y, ldlex.l, mri.c, ldwrite.c: Change multiple commons + into externs. + + * ldmisc.c (multiple_warn): New function. + * ldmisc.h: Declare it. + * ldmain.c (enter_global_ref): Call it. + * ld.h (ld_config_type): Add warn_common. + * ldlex.l, ldgram.y: Set it with -warn-common option. + * ldver.c (help): Document it. + +Mon Aug 2 12:04:36 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) + + * scripttempl/elf.sc: Add hooks for .sdata, .sbss, and + target-specific sections, and for changing data section vma. + +Mon Jul 26 14:00:02 1993 Ken Raeburn (raeburn@deneb.cygnus.com) + + * ldgram.y (OPTION_Qy, OPTION_Y, OPTION_dn, OPTION_YP): New + terminals, for Solaris. + (dirlist_ptr): New static variable. + (command_line_option): Accept new options. + + * ldlex.l: Accept command-line options "-Qy", "-dn", "-Y", and + "-YP,...". + + * config/sun4sol2.mt: Pass emulation name without ".sh". + + * emulparams/elf32_sparc.c: Renamed from elf32-sparc.c. + * config/sun4sol2.mt (em_elf32_sparc.c): Adjusted accordingly. + +Fri Jul 23 13:51:09 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) + + * scripttempl/elf.sc: Add support for .init, .fini, .ctors, + .dtors, .data1, .rodata1 sections, instead of combining them into + other sections. For `-r', set all section start addresses to + zero. + + * emulparams/elf32-sparc.sh (TEXT_START_ADDR, + NONPAGED_TEXT_START_ADDR): Value should be 0x10100. + (MAXPAGESIZE): Renamed from PAGE_SIZE. + +Wed Jul 21 14:28:42 1993 David J. Mackenzie (djm@thepub.cygnus.com) + + * genscripts.sh: If this is the default emulation, set + COMPILE_IN. + * emultempl/*.em: Use it to determine whether to compile in the + scripts. + + * Makefile.in (GENSCRIPTS): Pass the default emulation name to + genscripts.sh. Pass the current emulation name without ".sh" on + the end. + * genscripts.sh: Take an default emulation arg. + Use the current emulation name as EMULATION_NAME. + Make default lib path for cross-compiling ':', not null. + * emulparams/*.sh: Don't set EMULATION_NAME. + * ldemul.c (ldemul_get_script): Take isfile arg. + Pass it to emulation's get_script function. + * ldemul.h: Adjust get_script prototypes. + * ldfile.c (ldfile_find_command_file): Renamed from find_a_name. + No longer static. + * ldfile.h: Declare it. + * ldgram.y: Accept a script on the command line again, + for parsing compiled-in scripts. + * ldmain.c (main): If ld script is a file, parse it as a -T + option, otherwise parse it directly. + * emultempl/*.em (*get_script): Return the scripts themselves if + this is the default emulation; otherwise return their file names. + * emultempl/m88kbcs.em: New file, to take m88kbcs #ifdef out of + generic.em. + * emulparams/m88kbcs.sh: Use it. + + * ld.h (ld_config_type::unix_relocate): Remove unused element. + +Tue Jul 20 12:01:49 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) + + * Makefile.in (ALL_EMULATIONS): Delete em_i386linux.o (for which + there's no change log entry yet, tsk tsk) from the list of + emulations compiled in until Mark gets around to checking in + emulparams/i386linux.sh. + (ldemul-list.h): Depend on Makefile, so if EMULATION_OFILES is + changed, this file gets updated. + +Fri Jul 16 14:14:32 1993 Ian Lance Taylor (ian@cygnus.com) + + * ldgram.y (OPTION_Lfile): New token. + (command_line_option): Accept OPTION_L NAME (whitespace after -L). + * ldlex.l (<COMMAND>): Accept -L without FILENAME. + +Fri Jul 16 13:44:26 1993 Doug Evans (dje@canuck.cygnus.com) + + * configure.in: h8/300h support needs own .mt file. + config/coff-h8300h.mt: New file. + +Thu Jul 15 12:44:35 1993 David J. Mackenzie (djm@thepub.cygnus.com) + + * ldmain.c: Don't include sys/stat.h; it already got included + somewhere along the way. + +Thu Jul 15 14:43:34 1993 Doug Evans (dje@canuck.cygnus.com) + + * Makefile.in: Add h8300h support. + emulparams/h8300h.sh: New file. + scripttempl/h8300h.sc: New file. + +Thu Jul 15 12:44:35 1993 David J. Mackenzie (djm@thepub.cygnus.com) + + * ldfile.c (ldfile_open_file): In error message, use the name the + user gave (e.g., "-lc"), rather than the base file name. + + * ldexp.c (exp_fold_tree): Don't assign an int to an enum. + + * ldmain.[ch]: Remove initial Q_ from function names. + * ldexp.c, ldindr.c, ldlang.c: Change callers. + + * ldfile.c, ldmain.c, ldgram.y: Rename option_v to trace_file_tries. + + * ldlang.c (lang_process): Move loading of default script from + here to main. Add a "/" to start of script name to prevent + finding it in "." first. + + * ldmain.c (set_scripts_dir): Don't look in "." first. + + * ldgram.y, ldlang.c, ldsym.c: Remove traces of unused var + option_longmap. + +Thu Jul 15 10:55:59 1993 Ian Lance Taylor (ian@cygnus.com) + + * Makefile.in (em_m88kbcs.c): Correct dependency. + * scripttempl/m88kbcs.sc: It's ARCH, not arch. Removed TARGET + statement. Changed OUTPUT_FORMAT to use ${OUTPUT_FORMAT}. + * emulparams/m88kbcs.sh: It's coff-m88kbcs, not m88kbcs. + +Wed Jul 14 21:42:53 1993 David J. Mackenzie (djm@thepub.cygnus.com) + + * ldfile.c (ldlang_open_file, ldfile_open_command_file), + main.c (main): Print the errno string in the error message. + +Tue Jul 13 20:00:30 1993 Doug Evans (dje@canuck.cygnus.com) + + * configure.in: Accept h8300h for target cpu. + + * ldmisc.c (vfinfo): Have demangle remove leading underscore if + present (demangle is smart enough to know whether to do it or not). + +Mon Jul 12 11:45:48 1993 David J. Mackenzie (djm@thepub.cygnus.com) + + * ldmain.c (set_scripts_dir): Check . and <ld bin dir>/../lib for + ldscripts, as well as <ld bin dir> and SCRIPTDIR. + + * ldlang.c (lang_process): Use sizeof instead of magic constant. + + * ldmain.c (get_emulation, check_for_scripts_dir, + set_scripts_dir): New functions. + (main): Call them. + +Mon Jul 12 10:57:03 1993 Ken Raeburn (raeburn@deneb.cygnus.com) + + * scripttempl/elf.sc: Include .init, .fini, .rodata sections. + Create symbol "end" instead of "__end". Comment out some parts + that may not be needed (yet) for elf. + + * configure.in: Accept sparc-elf and sparc-solaris2 configs. + +Thu Jul 8 15:33:32 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) + + * Makefile.in (ALL_EMULATIONS): Include $(OTHER_EMULATIONS). + + * ldmisc.h (einfo, minfo, info): Don't bother with PARAMS macro + when no prototype is being supplied. + (ldmalloc, ldrealloc): Size argument is now size_t. + + * ldmisc.c (finfo): New function, accepts FILE* argument. + (vfinfo, case 'v'): New format character; displays bfd_vma in hex + without leading zeros. + (vfinfo, cases 'R' and 'C'): Use finfo(%v) when displaying a + bfd_vma value, instead of fprintf(%x) which won't hold a long long + value. + (concat, buystring): String lengths are size_t. + (ldmalloc, ldrealloc, xrealloc): Size argument is now size_t. + + * ldlang.c (new_statement): Size argument is now size_t. Added + forward declaration with prototype. + +Thu Jul 8 10:53:47 1993 David J. Mackenzie (djm@thepub.cygnus.com) + + * ldgram.y (OPTION_v): Don't turn on verbose output. + +Wed Jul 7 17:10:45 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) + + * ldlex.l: Get rid of local typedef for bfd_vma! Get it from + bfd.h instead. + +Wed Jul 7 11:33:12 1993 Ian Lance Taylor (ian@cygnus.com) + + * Makefile.in (install): Don't install as $(tooldir)/bin/gld; + collect2 doesn't look for gld any more anyhow. + +Mon Jul 5 14:29:48 1993 Ian Lance Taylor (ian@cygnus.com) + + * ldlang.c (lang_relocate_globals): Skip indirect symbols, which + now have a non NULL srefs_chain. + + * config/hp300hpux.mt: Use emulation hp3hpux rather than + hp300hpux, since the latter does not exist. + +Fri Jul 2 18:06:05 1993 David J. Mackenzie (djm@thepub.cygnus.com) + + * genscripts.sh: Put the scripts in the ldscripts directory, not + emulations. + * configure.in (ldscripts): Make, instead of emulations. + * Makefile.in (scriptdir): Take off the "ld" part. + (install, clean, distclean): Use ldscripts, not emulations. + In tests, don't pass -Lemulations. + Don't pass tooldir/lib to genscripts.sh. + * genscripts.sh: Don't take tooldir/lib arg. + * ldlang.c (lang_process): Add "ldscripts/" to the name of the + default script file. + +Fri Jul 2 17:13:35 1993 Doug Evans (dje@canuck.cygnus.com) + + * scripttempl/h8300.sc: Add .tors section for constructor/destructors. + +Thu Jul 1 16:38:45 1993 Doug Evans (dje@canuck.cygnus.com) + + * config/coff-h8300.mt: EMUL=h8300hms -> h8300. + +Wed Jun 30 15:45:55 1993 K. Richard Pixley (rich@sendai.cygnus.com) + + * Makefile.in (.y.c): skip default .y.c rules. gnu make can now + run in parallel without colliding on yacc's static file names. + Without the stub rule, make will try to start two yacc's + concurrently which fails because of yacc's static file names. + +Tue Jun 29 12:20:36 1993 Ian Lance Taylor (ian@cygnus.com) + + * ldmain.c (subfile_wanted_p): Don't dump core if there are no + symbols. + +Mon Jun 28 12:22:11 1993 David J. Mackenzie (djm@thepub.cygnus.com) + + * genscripts.sh (LIB_PATH): Only add /usr/local/lib if it's + different from libdir. + + * Makefile.in (scriptdir): Base on tooldir, not datadir. + +Sat Jun 26 12:03:57 1993 David J. Mackenzie (djm@thepub.cygnus.com) + + * ldver.c (help): New function. + * ldver.h: Declare it. + * ldlex.l, ldgram.y: Recognize new options --help and --version. + +Mon Jun 21 20:39:48 1993 Ken Raeburn (raeburn@poseidon.cygnus.com) + + * Makefile.in (INCLUDES): Don't need ../include any more. + +Mon Jun 21 16:38:35 1993 David J. Mackenzie (djm@thepub.cygnus.com) + + * ldlex.l, ldgram.y: Support new -oformat option. + Remove attempt at supporting script fragments on the command line. + * ldlang.c (lang_add_output_format): Take new arg, FROM_SCRIPT. + * mri.c (mri_format), ldgram.y: Change callers. + * ldlang.h: Change prototype. + +Thu Jun 17 16:53:56 1993 david d `zoo' zuhn (zoo@cygnus.com) + + * Makefile.in: canonicalize install.sh; for use within + this directory (and subdirs) + +Thu Jun 17 14:33:09 1993 David J. Mackenzie (djm@thepub.cygnus.com) + + * ldgram.y: Tweak grammar to make reporting of invalid options work. + + * Makefile.in (.cc.o): Restore .SUFFIXES entry for .cc + and .cc.o rule. + +Wed Jun 16 11:45:32 1993 David J. Mackenzie (djm@thepub.cygnus.com) + + * ldfile.c (ldfile_open_command): Don't try .ld extension. + It wasn't documented (or likely used) and wastes time. + (try_open): If EXTEN is empty, don't try it. + + * ldctor.c, lderror.c, ldexp.c, ldfile.c, ldindr.c, ldlang.c, + ldlex.l, ldmain.c, ldmisc.c, ldsym.c, ldver.c, ldwarn.c, + ldwrite.c, lexsup.c, mri.c, relax.c: Replace DEFUN macro calls + with normal function declarations. + + * Move *.em to emultempl/*.em. Move *.sh to emulparams/*.sh. + Move *.sc-sh to scripttempl/*.sc. + * {emultempl,emulparams,scripttempl}/README: New files. + * sh.em, st2000.em, z8ksim.em, h8300hms.em, h8500hms.em: Files + removed, replaced with generic.em. + * h8300.sh, h8500.sh, h8300.sc, h8500.sc: Renamed from + h8[35]00hms.s[ch]. Change their contents to omit the "hms". + + * *.em (*_get_script): Return script name instead of script contents. + * ldlang.c (lang_process): Change caller. + + * ldlex.l, ldgram.y: Recognize -m option. + Check for input files after *all* options in grammar. + * ldmain.c (main): Check for -m options. Add default directory + for -m. + + * mkscript.c: File removed. + * genscripts.sh: Take two more parameters, tooldirlib and libdir, + to add to the default LIB_PATH. + Look for input files in the new subdirectories. + Create the scripts in emulations subdirectory and don't filter + them through mkscript. + * configure.in: Make the emulations subdirectory. + + * Makefile.in: Account for all of the above changes. + Remove unused .SUFFIXES. Get libgcc.a path with gcc + -print-libgcc-file-name instead of $(libdir)/libgcc.a. + Put CFLAGS last in the compilation rules. + Add -I../bfd to INCLUDES so sysdep.h is found. + +Tue Jun 15 23:04:46 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) + + * Makefile.in (INCLUDES): Look in ../include, not ../bfd. + + * aout.sc-sh: Add SHLIB_PATH like STACKZERO. Make STACKZERO + dependent on RELOCATING, not RELOCATION. + * hp3hpux.sh (SHLIB_PATH): Define it. + +Mon Jun 14 19:06:15 1993 David J. Mackenzie (djm@thepub.cygnus.com) + + * ldfile.c (try_open): If opening without the extension fails, + try with the extension even if -v or -V was given. + had_script is imported (from ldgram.y), not exported. + +Mon Jun 14 16:26:10 1993 david d `zoo' zuhn (zoo at rtl.cygnus.com) + + * Makefile.in: remove parentdir support, use INSTALL_XFORM + +Thu Jun 10 14:00:06 1993 Ian Lance Taylor (ian@cygnus.com) + + * ldexp.c (exp_fold_tree): Don't lose the old flag bits. + * ldgram.y (statement_list_opt): New nonterminal, either empty or + statement_list. + (section): Use statement_list_opt, not statement_list. + * m68kcoff.sc-sh: Gather constructors and destructors and define + __CTOR_LIST__ and __DTOR_LIST__ appropriately. + * sa29200.sc-sh: Gather constructors and destructors and define + ___CTOR_LIST__ and ___DTOR_LIST__ appropriately. + +Mon Jun 7 12:53:28 1993 Per Bothner (bothner@rtl.cygnus.com) + + * Makefile.in (INCLUDES): Add -I../bfd for sysdep.h and bfd.h. + * configure.in: No longer need to configure to get sysdep.h. + +Fri Jun 4 16:18:24 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) + + * Makefile.in: remove install:all and install-info:info + dependencies (these cause some spurious rebuilds at 'make install' + time) + +Fri Jun 4 08:50:14 1993 Ian Lance Taylor (ian@cygnus.com) + + * configure.in (mips-idt-ecoffl*): New target; use mips-idtl. + (mips-idt-ecoff*): Added trailing '*'. + * config/mips-idtl.mt: New file; use EMUL of mipsidtl. + * mipsidtl.sh: New file; like mipsidt.sh, but little endian. + * Makefile.in (ALL_EMULATIONS): Added em_mipsidtl.o. + + * config/sun3.mh (HOSTING_LIBS, HOSTING_EMU): Removed obsolete and + incorrect definitions. + +Tue Jun 1 14:56:10 1993 Per Bothner (bothner@rtl.cygnus.com) + + * ldsym.c (write_file_locals): Write BSF_CONSTRUCTOR + symbols, unless stripping. + +Tue May 25 15:34:25 1993 Ian Lance Taylor (ian@cygnus.com) + + * Makefile.in: configure looks for ####, so remove lines with many + '#' characters. + * config/irix4.mh, config/i386v.mh: New files; set HOSTING_CRT0 + and HOSTING_LIBS correctly so that ``make check'' will work. + +Thu May 20 13:56:16 1993 Per Bothner (bothner@deneb.cygnus.com) + + * mips.sc-sh: Define _etext, _edata, and _end, in addition + to etext, edata, and end. Needed for IRIX 4.0.5F. + Patch from mwp@iconix.oz.au (Michael Paddon). + + * Version 2.2.1 released. + +Thu May 20 11:42:06 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) + + * mipsbsd.sc-sh: Renamed from aout-mipsbsd.sc-sh. + * mipsbsd.sh (EMULATION_NAME): Use new file name. + +Tue May 18 17:10:24 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) + + * Makefile.in (LDDISTSTUFF): Remove ld.mm since we can't build it + properly right now. + + * Version 2.2 released. + +Mon May 17 15:37:28 1993 Ken Raeburn (raeburn@deneb.cygnus.com) + + * ldver.c (ldversion): Bump version number to 2.2. + +Mon May 17 12:44:31 1993 Per Bothner (bothner@cygnus.com) + + * NEWS: New file. + +Fri May 14 11:26:24 1993 Ian Lance Taylor (ian@cygnus.com) + + * mips.sc-sh: Don't define BSS_VAR unless relocating. + +Wed May 12 13:33:29 1993 Ian Lance Taylor (ian@cygnus.com) + + * Makefile.in (mkscript.o, mkscript): Build mkscript via + mkscript.o, rather than directly from mkscript.c. + +Tue May 4 21:58:56 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) + + * configure.in: Look for ${target_makefile_frag} relative to + ${srcdir}, not relative to build directory. + + * hppaosf.em, hppaosf.sc-sh, hppaosf.sh: New files. + * configure.in: Recognize hppa*-hp-osf. + * Makefile.in (ALL_EMULATIONS): Include hppaosf emulation. + (em_hppaosf.c): Build it. + * config/hppaosf.mh, hppaosf.mt: New files. + + * ld.h (ALIGN_N): Renamed from ALIGN, because that conflicted with + some system header files. All uses changed. + + * configure.in: Recognize i386-aix configurations as i386-coff + targets. + + * configure.in: Recognize m68*-*-hpux. + * aout.sc-sh: If STACKZERO and RELOCATING are both defined, output + the value of STACKZERO. + * Makefile.in (ALL_EMULATIONS): Include hp300-hpux emulation. + (em_hp3hpux.c): Build it. + * hp3hpux.sh, config/hp300hpux.mt: New files. + +Tue May 4 12:37:35 1993 Ian Lance Taylor (ian@cygnus.com) + + * mips.sc-sh: Put constructors in the .data section. + * Makefile.in (cdtest): Added dependency on ld.new. + +Mon May 3 19:43:39 1993 Per Bothner (bothner@cygnus.com) + + * Makefile.in: Change definition of $(tooldir) to match FSF. + * vax.sh, config/vax.mt, configure.in, Makefile.in: + Support VAX Ultrix and BSD. + +Mon Apr 26 18:35:47 1993 Steve Chamberlain (sac@thepub.cygnus.com) + + * sh.em, sh.sh, sh.sc-sh: New files supporting Hitachi SH. + +Wed Apr 14 21:01:51 1993 John Gilmore (gnu@cygnus.com) + + * ldlang.h (struct memory_region): Change `length' and + `old_length' fields to bfd_size_type. Eliminate use of bfd_offset. + * ldlang.c, mri.c: Corresponding changes, plus lint. + +Thu Apr 8 22:08:18 1993 Ian Lance Taylor (ian@cygnus.com) + + * configure.in: For all i386 targets, accept i486 as well. + +Mon Apr 5 17:33:39 1993 Ian Lance Taylor (ian@cygnus.com) + + * ldlang.c (wild_doit): Preserve all flags for a + SEC_SHARED_LIBRARY section. + (size_input_section): Consider any SEC_HAS_CONTENTS section when + computing largest_section. + +Fri Apr 2 14:33:52 1993 Ian Lance Taylor (ian@cygnus.com) + + * ldlang.c (lang_output_section_statement_lookup): Initialize all + fields of newly created structure. + +Wed Mar 31 18:19:15 1993 Ian Lance Taylor (ian@cygnus.com) + + * ldmain.c (g_switch_value): New variable. + * ldgram.y (OPTION_G, OPTION_Gval): New tokens. + (command_line_option): Accept -G and set g_switch_value. + * ldlex.l (COMMAND): Accept -G. + * ldlang.c (open_output): Call bfd_set_gp_size on new BFD. + +Tue Mar 30 09:40:25 1993 Steve Chamberlain (sac@thepub.cygnus.com) + + Support for linking and loading at different places: + + * ldlex.l: Add "AT" keyword. + * ldgram.y: Cleanup, and parse AT. + * ldlang.c (print_output_section_statement): Print output address + of section in map. (lang_size_sections): Fill sections' lma with + load address. + * ldlang.h (lang_output_section_statement_type): Add load_base + information. + + * ldindr.c (add_indirect): Keep more information in the alias + symbol chain. + * ldlang.c (wild_doit): Don't inherit NEVER_LOAD section + attribute from an input section. + * ldmain.c (Q_enter_file_symbols): Common section is NEVER_LOAD by + default. (Q_enter_file_symbos): Indirect symbols now are known by + their section, not a special symbol flag. + * ldsym.c (write_file_locals): Indirect symbols aren't local. + (write_file_globals): Write the mapping for an indirect symbol. + * relax.c (build_it): When forced to write a NEVER_LOAD section, + fill it with zeros. + +Tue Mar 23 13:24:10 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com) + + * ld.texinfo: changes for q1 + +Tue Mar 23 00:13:29 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) + + * Makefile.in: add dvi target, define & use TEXI2DVI, add installcheck + +Mon Mar 8 20:30:35 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) + + * Makefile.in: rename HOST_CC to CC_FOR_BUILD + +Thu Mar 4 12:44:33 1993 Ian Lance Taylor (ian@cygnus.com) + + * mips.sc-sh: Added variables which may be overridden by a + specific emulation. + * mipsidt.sh: New file; emulation for IDT MIPS board. + * Makefile.in (ALL_EMULATIONS): Added em_mipsidt.o. + (em_mipsidt.c): New target. Uses mipsidt.sh and mips.sc-sh. + * config/mips-idt.mt: New file; sets EMUL to mipsidt. + * configure.in (mips-idt-ecoff): New target; uses mips-idt. + +Sat Feb 27 00:00:14 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) + + * aout-mipsbsd.sc-sh, mipsbsd.sh: New files from Ralph Campbell, + ralphc@pyramid.com. + * i386bsd.sh, config/i386bsd.mt: New files. + * configure.in, Makefile.in: Added support for mipsbsd and 386bsd. + +Thu Feb 25 15:33:10 1993 Per Bothner (bothner@rtl.cygnus.com) + + * mri.c: Add extern declaration of strdup. + * ldsym.c (KEEP macro): Add spaces around '=' for the + sake of old (e.g. PCC) compilers. + +Wed Feb 24 19:49:31 1993 Per Bothner (bothner@rtl.cygnus.com) + + * ldver.c: Bump to version 2.1. + +Fri Feb 12 08:09:11 1993 Steve Chamberlain (sac@thepub.cygnus.com) + + * ldgram.y: allow section types without address expressions. + * ldlang.c (lang_relocate_globals): avoid possible hang with + undefined but unreferenced symbols. + * relax.c (relax_section): don't complain if the script file isn't + relaxable but -relax is set + +Thu Feb 18 17:58:45 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) + + * configure.in: go32 is the 3rd part of the triple, not the 2nd + +Wed Feb 3 09:05:56 1993 Ian Lance Taylor (ian@cygnus.com) + + * mipsbig.sh: New file. Big endian MIPS emulation. + * config/mips-big.mt: New file. Use mipsbig emulation. + * configure.in (mips-sgi-irix*): Use target mips-big. + * Makefile.in (ALL_EMULATIONS): Added em_mipsbig.o. + (em_mipsbig.c): New target. Uses mipsbig.sh. + +Tue Feb 2 11:32:27 1993 Ian Lance Taylor (ian@cygnus.com) + + * mips.sc-sh: Put .scommon sections into .sbss section. + + * ldmain.c (subfile_wanted_p): Preserve section of common symbols, + rather than always putting them in bfd_com_section. + * ldlang.c (lang_common): If a common symbol is not in + bfd_com_section, put in a section of the same name, rather than + always putting it in section COMMON. + +Fri Jan 29 09:57:58 1993 Ian Lance Taylor (ian@cygnus.com) + + * ldmain.c (subfile_wanted_p): If we already have a common + definition of a symbol, don't necessarily pull in an object file + that provides a non-common definition. + + * ldlex.l (COMMAND): Accept -EB and -EL command line arguments, + returning OPTION_EB and OPTION_EL. gcc passes these to a MIPS + linker. + * ldgram.y (OPTION_EB, OPTION_EL): New tokens. + (command_line_option): Accept and ignore OPTION_EB and OPTION_EL. + +Thu Jan 28 15:12:04 1993 Ian Lance Taylor (ian@cygnus.com) + + * Makefile.in (install): Remove $(tooldir)/bin/gld before creating + the link to it. + +Tue Jan 26 11:49:50 1993 Ian Lance Taylor (ian@cygnus.com) + + * ldmain.c, ldsym.c: Use new bfd_is_com_section macro rather than + checking for equality to bfd_com_section. + +Fri Jan 22 14:22:44 1993 Ian Lance Taylor (ian@cygnus.com) + + * mips.sc-sh: New file. Ultrix, and hopefully other MIPS ECOFF + targets, linker script. + * mipslit.sh: New file. Little endian MIPS emulation. + * config/mips-lit.mt: New file. Use mipslit emulation. + * configure.in (mips-dec-ultrix*): Use target mips-lit. + * Makefile.in (ALL_EMULATIONS): Added em_mipslit.o. + (em_mipslit.c): New target. Uses mipslit.sh. + +Thu Jan 14 15:30:27 1993 Ian Lance Taylor (ian@cygnus.com) + + * Makefile.in (install): Install ld as both $(tooldir)/bin/ld and + $(tooldir)/bin/gld, so that gcc can find it with or without + collect2. + +Mon Jan 11 18:50:07 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ldwrite.c: Removed perform_relocation, copy_and_relocate, and + write_norel. All linking is now done via write_relax. Call + ldsym_write before calling write_relax. + * relax.c: Added copyright. + (write_relax): Renamed from write_relaxnorel. Added relocateable + argument. seclet_dump renamed to bfd_seclet_link. + * relax.h: Added copyright. + +Mon Jan 11 15:41:56 1993 Steve Chamberlain (sac@thepub.cygnus.com) + + * ldmain.c (decode_library_subfile): Patch from + hoogen@shafer.cs.utah.edu, don't reread library symbol tables. + +Fri Jan 8 18:04:33 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) + + * config/vxworks960.mt renamed to config/i960.mt + + * configure.in: sparc-aout emulates a sun4, as does + sparc*-vxworks, i960-nindy uses gld960 emulation + +Fri Jan 8 14:39:07 1993 Steve Chamberlain (sac@thepub.cygnus.com) + + Fix support for NOLOAD, add INCLUDE + * ldfile.c (ldfile_open_command_file): pass file name to + lex_push_file. + * ldlex.l, ldgram.y: tidy up, parse INCLUDE and NOLOAD + * ldlang.c (wild_doit): make output sections inherit NEVER_LOAD + attribute. + +Thu Jan 7 10:22:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) + + * Makefile.in, config.h: no more default emulation. Make the lack + of emulation a compile time error + +Wed Jan 6 01:08:37 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) + + * configure.in: recognise all sparclite variants, not just 'sparclite' + +Mon Dec 28 11:15:35 1992 Ian Lance Taylor (ian@cygnus.com) + + * m68kcoff.sc-sh: define _end as well as end, for consistency with + aout.sc-sh. + + * configure.in: accept *-ericsson-ose for any m68k CPU. + + * ldwrite.c (write_rel): don't always set SEC_HAS_CONTENTS flag + for each output section. + +Mon Dec 21 16:06:59 1992 Per Bothner (bothner@rtl.cygnus.com) + + * ldexp.c, ldlang.c, ldmain.c, ldsym.c, ldwarn.c: Use new + macro bfd_asymbol_bfd as appropriate. + * Makefile.in: Un-duplicate ldlex.c dependency. + * condigure.in: Replace my_host case table by sourcing + ../bfd/configure.host. Allow std-host as the default. + * ldmisc.c: Change logic for C++ name demangling: There is + no initial '_' to remove from stab-derived function names. + +Sun Dec 13 16:31:26 1992 Steve Chamberlain (sac@thepub.cygnus.com) + + * ldlang.c (lang_init_script_file): don't attach the output file + sections to the script file. + +Wed Dec 9 08:38:05 1992 Steve Chamberlain (sac@thepub.cygnus.com) + * ldlang.c (wild): run expansion loop over command line bfd too. + (lang_ini_script_file): initialize more parts of the command line + bfd. + * ldlex.l: fix DEFINED start states. + +Mon Dec 7 08:43:41 1992 Steve Chamberlain (sac@thepub.cygnus.com) + -y support + * ld.texinfo: new doc. + * ldgram.y, ldlex.l: understand -y<symbol> + * ldmain.c (Q_enter_file_symbols): if had -y, lookup symbol and + print info. (add_ysym): new function. + * ldsym.h: (ldsym_type): new define SYM_Y. + +Sat Nov 21 03:15:27 1992 John Gilmore (gnu@cygnus.com) + + * ldctor.h, lderror.h, ldexp.h, ldfile.h, ldindr.h, ldlang.c, + ldlang.h, ldlex.h, ldmain.h, ldmisc.h, ldsym.h, ldver.h, ldwarn.h, + ldwrite.h, relax.h: Replace all uses of EXFUN and PROTO ansi-glue + macros with PARAMS. Recreational cleanup. Update copyrights. + +Tue Nov 10 00:23:37 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) + + * Makefile.in: pass down the bfd source directory for includes + +Thu Nov 5 15:41:55 1992 Ian Lance Taylor (ian@cygnus.com) + + * ldlang.c (lang_size_sections): don't change size and address for + SEC_SHARED_LIBRARY sections rather than for SEC_NEVER_LOAD + sections. + +Thu Nov 5 11:33:57 1992 Steve Chamberlain (sac@thepub.cygnus.com) + + * relax.c (build_it): re-enable the processing of data_statements + in scripts, makes counted contructor lists work again. + +Thu Nov 5 05:43:01 1992 John Gilmore (gnu@cygnus.com) + + * ldemul.h: Remove uses of SDEF and PROTO macros (use PARAMS). + +Tue Oct 20 10:56:06 1992 Ian Lance Taylor (ian@cygnus.com) + + * m68kcoff.sc-sh: don't use initial underscores for etext, edata + and end. + +Mon Oct 19 09:45:38 1992 Ian Lance Taylor (ian@cygnus.com) + + * Support for i386-sysv. + configure.in: check for i386-*-sysv* and i386-*-sco*. + i386coff.sc-sh: rewrote to support SVR3 by default. + ldctor.c (find_constructors): preserve stat_ptr. + ldlang.c (wild_doit): initialize vma and size of new output + section to corresponding input section. This is required for + shared library support. + (lang_size_sections): don't modify vma and size of sections which + are never loaded (for shared libraries). + ldwrite.c (copy_and_relocate): copy the contents of any section + which has contents, not just sections which are loaded (for shared + libraries). + +Thu Oct 15 15:20:26 1992 Steve Chamberlain (sac@thepub.cygnus.com) + + * ldlang.c (size_input_section): count the sizes of all sections + we allocate. + +Thu Oct 8 09:05:25 1992 Steve Chamberlain (sac@thepub.cygnus.com) + + * ldmisc.c (demangle,vfinfo): use the new underscore in bfd to + to demangle symbols better + +Tue Oct 6 13:08:54 1992 Ian Lance Taylor (ian@cygnus.com) + + * ldlang.c (lang_finish): don't warn if -e start symbol does not + exist when linking with -r. + +Mon Oct 5 14:07:37 1992 Ian Lance Taylor (ian@cygnus.com) + + * aout.sc-sh, m68kcoff.sc-sh: set __bss_start to the start of the + .bss segment. + +Mon Oct 5 08:55:14 1992 Steve Chamberlain (sac@thepub.cygnus.com) + + * ldmain.c (linear_library): don't even think about processing + an object file if it's already been done + +Thu Oct 1 23:14:59 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) + + * configure.in: the hp9000/300 config file is now hp300 + +Wed Sep 30 07:34:09 1992 Steve Chamberlain (sac@thepub.cygnus.com) + + * config/z8ksim.mt: new file + +Fri Sep 25 13:49:52 1992 Ken Raeburn (raeburn@kyriath.cygnus.com) + + * Makefile.in (ldexp.o, ldctor.o, ldlang.o, ldmain.o, ldwrite.o, + lexsup.o, mri.o, relax.o): Indicate dependence on ldgram.h. + + * ld.h (strip_symbols_type): Add value STRIP_SOME. + * ldgram.y (OPTION_RETAIN_SYMBOLS_FILE): New terminal token. + * ldlang.c (lang_add_keepsyms_file): New function. + * ldlex.l: Handle "-retain-symbols-file". + * ldsym.c (keepsyms_file, kept_syms): New vars. + (process_keepsyms): New functihon; reads file, marks symbols for + saving. + (write_file_locals): File symbols should always be kept. + (ldsym_write): Warn about "-retain-symbols-file" overriding "-S" + and "-s". Process retain-symbols file before setting symtab. + * ldsym.h (SYM_KEEP): New flag for ldsym_type flags. + (keepsyms_file, kept_syms): Declare them. + + * ldmain.c (main): Non-fatal errors should still cause non-zero + exit status even with -r. + +Fri Sep 25 11:08:01 1992 Steve Chamberlain (sac@thepub.cygnus.com) + + Added initial support for the z8k + * z8ksim.em, z8ksim.sc-sh, z8ksim.sh: new files + * configure.in, Makefile.in: modified to reflect above + + * ldlang.c (lang_check): when linking conflicting architectures, + make the output file reflect at least one of the bad inputs. + +Tue Sep 15 15:35:38 1992 Ian Lance Taylor (ian@cygnus.com) + + * Makefile.in (install): if $(tooldir) exists, install ld in + $(tooldir)/bin. + +Fri Sep 11 10:24:22 1992 Steve Chamberlain (sac@thepub.cygnus.com) + + * Makefile.in, configure.in: modified to support i386-coff + * i386coff.sh: new file + +Wed Sep 9 11:52:58 1992 Ian Lance Taylor (ian@cygnus.com) + + * Makefile.in, m68kcoff.sh, m68kcoff.sc-sh, config/m68k-coff.mt: + added m68k-coff emulation mode, stolen from a29k emulation. + Almost certainly wrong, but perhaps better than sun3. + +Thu Sep 3 14:19:30 1992 Per Bothner (bothner@rtl.cygnus.com) + + * Makefile.in, Makefile.dos, generic.em, genscripts.sh, + gld960.em, h8300hms.em, h8300xray.em, lnk960.em, st2000.em, + vanilla.em: Rename all (generated) ld__*.c files to em_.c. + This is one character shorter, and lets people build on + SVR3 system. (ld__h8300xray.[co] was the killer there; + h8300xray.sc-sh is also overlong, but seems harmless.) + Based on a patch from Jonathan Ryshpan <hitachi!amito!jon>. + * Makefile.in (clean): Fix typo mostclean -> mostlyclean. + * configure.in: Add host isc. + + * ldver.c: Call it version 2.0. + +Wed Sep 2 00:21:33 1992 Per Bothner (bothner@rtl.cygnus.com) + + * ldver.c: Bump to version 0.98. + * TODO: New file. + + * Makefile.in: Added mostlyclean, distclean, realclean rules. + +Tue Sep 1 23:42:16 1992 Per Bothner (bothner@rtl.cygnus.com) + + * ldmisc.c (xrealloc): New (needed by ../libiberty/cplus.dem.c). + * ldlex.l: Moved comment() to end, since some compilers + otherwise have problems with input() used before it is defined. + +Tue Sep 1 17:45:51 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) + + * configure.in: added Solaris 2 and Irix 4 host support. + +Mon Aug 31 19:27:11 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) + + * Makefile.in: remove -S flag from the FLEX definition + + * configure.in: rewrote, using new style case statement. use + m68k.mt for m68k-aout systems + +Sun Aug 30 21:38:53 1992 Ian Lance Taylor (ian@cygnus.com) + + * Makefile.in: map "ld" through program_transform_name when + installing. + +Sun Aug 30 18:12:13 1992 Per Bothner (bothner@rtl.cygnus.com) + + * cplus-dem.c: Removed. Use the version in libiberty now. + * ldmisc.c: Use new libiberty version of cplus_demangle(). + +Thu Aug 27 16:38:42 1992 Ian Lance Taylor (ian@cygnus.com) + + * gld960.em (gld960_choose_target): default to little endian, not + big endian. + +Wed Aug 26 17:28:51 1992 Steve Chamberlain (sac@thepub.cygnus.com) + + * ldlang.c (lang_process): don't pass null pointers when + abs_output_section is what is required. + * ldwrite.c (ldwrite): use malloc to allocate the largest space + used, and pass that down. + * relax.c,relax.h (write_relaxnorel): use the passed malloc area rather + than alloca. + +Mon Aug 24 14:42:06 1992 Ian Lance Taylor (ian@cygnus.com) + + * configure.in, config/ose68.mt: renamed OSE to ose. + +Thu Aug 20 19:55:22 1992 Ken Raeburn (raeburn@cygnus.com) + + * ldsym.c (write_file_locals): Reorder check for common or + undefined symbols so that it works. + +Tue Aug 18 13:41:36 1992 Ian Lance Taylor (ian@cygnus.com) + + * configure.in: accept all m68K family members. + + * Makefile.in: always create installation directories. + +Thu Aug 13 11:49:34 1992 Steve Chamberlain (sac@thepub.cygnus.com) + + * ldlex.l: now parses comment correctly, added ~ to acceptable + chars in filenames + + * ldexp.c (exp_unop): pass down abs_output_section - now can have + unary -ve constants. + + * ldlang.c (lang_finish): warn when an entry symbol supplied on + the command line can't be found. + +Fri Aug 7 12:31:10 1992 Steve Chamberlain (sac@thepub.cygnus.com) + + * ldlang.h: add new field "loadable" to output_section_statement. + * ldlang.c (lang_output_section_statement_lookup): initilize new + field. (wild_doit): if new field is not set, then stop output + section from being loadable. + (lang_enter_output_section_statement): set the field from the + NOLOAD keyword + * ldgram.y: new synax for NOLOAD. Removes a shift/reduce too. + * h8300hms.sc-sh, h8300hms.em: get -r right. + +Thu Aug 6 18:35:21 1992 Per Bothner (bothner@rtl.cygnus.com) + + * ldint.texinfo: New internals manual (beginnings thereof). + * PORTING: Removed, merged into ldint.texinfo. + +Tue Aug 4 21:12:29 1992 Per Bothner (bothner@rtl.cygnus.com) + + * cdtest-main.cc, cdtest-func.cc, cdtest-foo.h, cdtest-foo.cc, + cdtest.exp: A test program (copied from libg++/test-install) + that tests that constructor and destructors are handled + corrrectly. + +Mon Aug 3 14:58:19 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) + + * Makefile.in (install): install from ld.new, renaming during the + copy, or else the next 'make install' needs to re-link ld. + +Mon Jul 20 03:37:06 1992 D. V. Henkel-Wallace (gumby@cygnus.com) + + * configure.in: generalise hp recognition (from sef). + +Sat Jul 18 14:46:04 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) + + * configure.in: recognize bsd and hpux hppa configurations. + error messages echo to stderr, not stdout + +Fri Jul 17 22:06:11 1992 K. Richard Pixley (rich@rtl.cygnus.com) + + * Makefile.dos, gld.1, ld.texinfo, ldemul.c, ldfile.c, ldlang.c, + ldmisc.c: removed rcsid's. + +Tue Jul 14 08:34:34 1992 Steve Chamberlain (sac@thepub.cygnus.com) + + * ldlang.c (lang_map): print changes in sizes due to relaxing + (size_input_section): maintain the delta information. + * ldlang.h: add new field to struct to contain delta info. + * relax.c (relax_section): complain if input not relaxable. + * ldlex.l : add '_', ',' and '$' to chars which can appear at the + start of a filename + +Mon Jul 13 17:33:00 1992 Steve Chamberlain (sac@thepub.cygnus.com) + + * ldmain.c(main): prevent -r and -relax from being on at the same + time. + +Wed Jul 1 17:51:19 1992 Steve Chamberlain (sac@thepub.cygnus.com) + + * ldmain.c (Q_enter_global_ref), ldindr.c (add_indirect): fix for + aliasing problems + + +Thu Jun 18 09:38:56 1992 Steve Chamberlain (sac@thepub.cygnus.com) + + * h8300hms.em, h8300hms.sc-sh: do the right thing for -r + * ldexp.c: lint + * ldlang.c(open_output): set the target arch and machine as soon + as we can. (lang_size_sections): use new macros for setting vma + * ldwrite.c: lint + +Mon Jun 15 08:47:43 1992 Michael Tiemann (tiemann@rtl.cygnus.com) + + * configure.in (my_target): Accept m680?0 for wrs as vxworks68. + Also deleted an unreachable path to wrs. + +Wed May 27 23:24:19 1992 Michael Tiemann (tiemann@rtl.cygnus.com) + + * Makefile.in (install): use -d test for $tooldir before + installing ld there so that $tooldir can be inherited from + top-level Makefile. + +Wed May 27 16:56:48 1992 Per Bothner (bothner@rtl.cygnus.com) + + * ldlang.c: Two non-substantial changes for the sake of + the old Portable C Compiler. + +Wed May 27 15:15:58 1992 Steve Chamberlain (sac@thepub.cygnus.com) + + * ldgram.y, ldlex.l: parse ABSOLUTE + * ldexp.c: add support for ABSOLUTE + +Wed May 27 13:07:20 1992 Per Bothner (bothner@rtl.cygnus.com) + + * Makefile.in: Added default definitions for HOSTING_CRT0, + HOSTING_LIBS, and HOSTING_EMU, based on those in config/*.mh. + * config/*.mh: Miscellaneous clean-up: Removed definitions + of YACC (since it is not longer used in the Makefile). + Remove HOSTING_* definitions that are subsumed by the + ones added to Makefile.in. Removed most definitions of CC. + * config/{sparc,news,hp300bsd,decstation}.mh: Removed; + These are no longer needed. + +Fri May 22 13:47:19 1992 Per Bothner (bothner@cygnus.com) + + * Makefile.in: Use srcdir instead of VPATH in ldgram/ldlex + rules, since these are used when building a distribution. + * Makefile.in (ldlex.c): Don't re-direct output, since that + leaves a bogus output files if it fails. + + * config/sparc.mh: Fix HOSTING_LIBS so it has a chance of working. + * ldlex.c: Fix some unnecessary flex-specific-isms. + +Fri May 8 11:49:43 1992 Steve Chamberlain (sac@thepub.cygnus.com) + + * ldgram.y: move spurious semicolon + * ldexp.h: fix prototype + +Thu May 7 17:01:12 1992 Roland H. Pesch (pesch@fowanton.cygnus.com) + + * ld.texinfo: references to linker now say "ld" not "gld". + +Wed May 6 13:26:19 1992 Steve Chamberlain (sac@thepub.cygnus.com) + + changed calling convention for Q_enter_global_ref + * ldexp.c, ldlang.c, ldmain.c: reflect this + * ldver.c: bump version to 1.97.1 + * ldindr.c (add_indirect): when an edict declaring an indirect + symbol is found, make sure that any ideas about the symbol being + common are changed if it now known to be defined. + * ldmain.c (linear_library): complain once if archive isn't + ranlibbed. + * ldlang.h, ldlang.c: make room for and initialize the complain + once field. + +Wed May 6 11:07:35 1992 K. Richard Pixley (rich@rtl.cygnus.com) + + * Makefile.in: use flex & bison from ../ if they exist. + +Tue May 5 17:47:33 1992 Steve Chamberlain (sac@thepub.cygnus.com) + + * relax.c (build_it): don't allocate space in the output file for + stuff if -R flag applys to it. + * ldfile.c: merge in VMS filename support + * ldmain.c (main): take out ./ from library path, and close file + before unlinking. Make multiple defs of a symbol create an + unexecable file. + * ldmisc.c: fatal errosrs delete output file + +Tue May 5 14:05:05 1992 Per Bothner (bothner@rtl.cygnus.com) + + * ldver.c: Increase version number to 1.97, for consistency + with ../binutils. + +Tue May 5 12:12:24 1992 K. Richard Pixley (rich@cygnus.com) + + * Makefile.in: FLEX -> LEX. + + * ld.texinfo: {} -> @{@}. + +Mon May 4 17:52:41 1992 Roland H. Pesch (pesch@fowanton.cygnus.com) + + * ld.texinfo: describe alternate, MRI-compatible linker scripts + (and associated change in -c option, now used for these scripts) + +Mon May 4 16:10:10 1992 Steve Chamberlain (sac@thepub.cygnus.com) + + * ldver.c: Bumped version to 1.96 - new release, resync with the + bfd too #. + * ldexp.c, ldlang.c: now build memory shape tree in obstacks + rather than with raw malloc, makes it easier to track where memory + is going. + * ldsym.h, ldsym.c: create obstack for all global symbols too. + * ldwrite.c (ldwrite): moved malloc so only used when needed. + * sa29200-sc.sh: added support for .lit, data1 and data2 sections. + + +Fri May 1 18:17:52 1992 K. Richard Pixley (rich@cygnus.com) + + * config/sparc.mh: use ../gcc/libgcc.a on check if it exists. + + * Makefile.in: use bootstrap for check. + +Fri May 1 13:03:41 1992 Steve Chamberlain (sac@thepub.cygnus.com) + + * ldgram.y, ldlex.c, mri.c: added more compatible words; BASE, ALIAS and + PUBLIC. + * Makefile.in: now use flex, not lex + * ldlex.l, ldlang.c, ldctor.c: lint + +Wed Apr 22 12:48:42 1992 Steve Chamberlain (sac@thepub.cygnus.com) + + * ldlex.l: added CMDFILENAMECHAR state so that you can lex + different sorts of filenames on the command line than in a script. + +Mon Apr 20 22:37:04 1992 K. Richard Pixley (rich@rtl.cygnus.com) + + * Makefile.in: rework CFLAGS so that they can be passed on the + make command line. Remove MINUS_G. Default CFLAGS to -g. + +Fri Apr 17 08:57:17 1992 Steve Chamberlain (sac@thepub.cygnus.com) + + * relax.c: added handling for new "padding" seclet type, used to + fill out gaps between section. + * ldgram.y, ldlex.l: now -defsym on the command line is done + properly. + +Wed Apr 15 21:20:07 1992 K. Richard Pixley (rich@rtl.cygnus.com) + + * Makefile.in: the tooldir copy of ld goes directly in tooldir. + +Wed Apr 15 16:09:33 1992 Steve Chamberlain (sac@thepub.cygnus.com) + + * mri.c, ldgram.y, ldlex.l: added support for minimal strange link + scripts. + +Thu Apr 9 05:52:02 1992 Ken Raeburn (Raeburn@Cygnus.COM) + + * Makefile.in (install): Install second copy in $(tooldir)/bin + without $(program_prefix), since that's what gcc expects. + +Sat Apr 4 17:44:06 1992 Steve Chamberlain (sac@thepub.cygnus.com) + + * ldlex.l, ldgram.y, ldlex.h: Rewrote lexer. Now it's much nicer. + * h8300*: fix bit rot and add support for h8300xray target + * go32.sh: target emulation for go32. + +Mon Mar 16 14:53:29 1992 Steve Chamberlain (sac@rtl.cygnus.com) + + * gld960.em, i960.sc-sh. Fix i960 bit rot + +Fri Mar 13 19:47:22 1992 K. Richard Pixley (rich@cygnus.com) + + * Makefile.in: install man page. + +Fri Mar 13 08:23:59 1992 Steve Chamberlain (sac@thepub.cygnus.com) + + * config/mt-<foo> renamed to <foo>.mt + * config/mh-<foo> renamed to <foo>.mt + * configure.in changed to reflect this + * genscripts.sh now make .xbn files rather than .xN files + +Sat Mar 7 03:40:40 1992 K. Richard Pixley (rich@cygnus.com) + + * ldver.h: fix decl of ldversion. + +Fri Mar 6 22:00:35 1992 K. Richard Pixley (rich@cygnus.com) + + * Makefile.in: added check target. + +Fri Mar 6 06:59:04 1992 Steve Chamberlain (sac@thepub.cygnus.com) + + * ldmain.c (Q_enter_file_symbols): now aliases work again + +Thu Mar 5 21:39:29 1992 K. Richard Pixley (rich@cygnus.com) + + * Makefile.in: added clean-info target. + +Thu Mar 5 16:55:56 1992 Steve Chamberlain (sac@thepub.cygnus.com) + + * ldexp.c (exp_print_tree): don't try and follow null pointers + around. + * ldgram.y: remove 11 shift reduce errors + +Tue Mar 3 15:46:39 1992 K. Richard Pixley (rich@rtl.cygnus.com) + + * Makefile.in: added tooldir and program_prefix. + +Fri Feb 28 08:17:45 1992 Steve Chamberlain (sac at thepub.cygnus.com) + + * ldlang.c (size_input_section): don't move absolute sections + around! + + +Thu Feb 27 09:20:41 1992 Steve Chamberlain (sac at thepub.cygnus.com) + + * cplus-dem.c: yet another copy of this - maybe it should go into + libiberty ? + * ldgram.y: now -V and -v have different actions + * ldver.c: if -V, prints list of emulations compiled in + * ldmisc.c: support for cplus demangling + + +Wed Feb 26 18:04:40 1992 K. Richard Pixley (rich@cygnus.com) + + * Makefile.in, configure.in: removed traces of namesubdir, + -subdirs, $(subdir), $(unsubdir), some rcs triggers. Forced + copyrights to '92, changed some from Cygnus to FSF. + +Thu Feb 20 17:43:46 1992 Per Bothner (bothner at cygnus.com) + + * Makefile.in: Change mkscript rule into one for ./mkscript + (for the sake of makes that don't realize they're the same). + * PORTING: Add more details. + * genscripts.sh: Add more tailorability of DATA_ALIGNMENT. + +Mon Feb 17 12:04:36 1992 Per Bothner (bothner at cygnus.com) + + * Makefile.in, and new files hp300bsd.sh, config/mh-hp300bsd, + config/mt-hp300bsd: New port to hp300 running BSD. + +Sat Feb 15 13:59:54 1992 Per Bothner (bothner at cygnus.com) + + Major rewrite of how ld is configured. The major idea + is to use shell scripts to generate everything. + * generic.em replaces ldtemplate. + * Other *.em files replace various *.c files. + A *.em file is a shell script that generates the corresponding + ld__*.c file that implements an emulation. This is usually + a straight 'cat' of a here-document, possibly with substitutions. + * Script files (*.sc) are places by *.sc-sh scripts. + Again, these are simple shell scripts that 'cat' + here-documents, usually with some substitutions. + The output a *.sc-sh is a script file. + * Each emulation is defined by a short shell script with + extension *.sh that specifies the emulation-specific + parameters (such as the name of the *.sh-sc and *.em + files to use). + * genscript.sh is the master shell script used to generate + an emulation. It is passed various argument, including + the name a the emulation-speciic *.sh file that it + "sources" to set variables to emulation-specifc parameters. + * config/mt-foo: Changed EMUL=GLDFOO_EMULATION_NAME + to EMUL=foo. (The GLDFOO_EMULATION_NAMEs have bee removed.) + * config/mh-foo: Rename LDEMULATION names as appropriate + (usually 'gldfoo' -> plain 'foo'). + * ldwrite.c: Fixed a typo in a comment. + * Makefile.in: Major changes. Removed some the sed + magic to converts scripts, since that is now handled + by genscripts.sh and the *.sc-sh scipt generators. + * config.h: Remove a bunch of macros defining emulations + and targets. This becomes one less file to edit when + adding emulations or targets. + * ldemul.h (struct ld_emulation_xfer_struct): Add + emulation_name and target_name fields. + * ldemul.c, ldemul.h: Define some default functions used + by most emulations (and remove from the *.em scripts). + * ldemul.c (ldemul_choose_target): Search the new + ld_emulations array using a loop (instead of a hardwired + nested if statement). + Define the ld_emulation from the automatically-geenrated + ldemul-list.h. This means you no longer have to edit ldemul.c + to add a new emulation. + * ldmain.c: Replace {GLD,LNK}960_EMULATION_NAME by + their expansions, since the former no longer exist. + * PORTING: A very rough first draft of a porting guide. + + * ldgram.y, ldlex.l, lexsup.c: Changes to allow an assignment + to be terminated by a new-line (instead of requiring a semicolon). + +Mon Feb 10 16:21:02 1992 Steve Chamberlain (sac at rtl.cygnus.com) + + * ldexp.c, ldlang.c: added new idea "abs_output_section", removes + tests for NULL pointers all over the place. + * ldlang.c (lang_process): remember to relocate global symbols + *after* relaxing has done it stuff. + +Thu Feb 6 11:40:15 1992 Steve Chamberlain (sac at rtl.cygnus.com) + + * config/mt-coff-h8300: use EMUL like everything else + * ldlang.c: (print_padding_statement): print the right address. + * Makefile.in, config.h, ldemul.c: renamed h8300hds to h8300hms + + +Tue Feb 4 15:28:01 1992 Steve Chamberlain (sac at rtl.cygnus.com) + + * ldlex.l: Put pack -noinhibit-exec and -sort-common + * ldlang.c (print_data_statement): print the right address. + +Thu Jan 30 17:51:53 1992 Per Bothner (bothner at cygnus.com) + + * Makefile.in: The rule for testing ld by re-linking itself + via an intermediate -r link was moved to the ld1 rule + instead of the ld2 rule. This allows ld2 and ld3 to be identical, + which allows the bootstrap rule to work. + * ldctor.c (find_constructors): Don't create a constructor + list if it is already defined (as would happen if ld is + invoked by collect). + +Wed Jan 29 08:35:39 1992 Steve Chamberlain (sac at rtl.cygnus.com) + + * config/mh-sparc.h: now uses libgcc.a + * ldmain.c: quit using exit + * *sc: use *(COMMON) rather than [COMMON] + * ldlex.l, lexsup.c: much thinking moved from .l and put into .c, + to allow preprocessing of .l file. + * Makefile.in: New ldlex.l mangling + * ldexp.c (fold_binary): perform expressions with % and / in + integer. + * ldfile.c (open_a): open archives on VMS in a special way + + +Tue Jan 28 10:18:16 1992 Steve Chamberlain (sac at rtl.cygnus.com) + + * ldgram.y: map -M behave in the same way as -Map (sets file name + to be "-". + * ldsym.c, ldlang.c: remember that size of a section is dependent on + whether or not relaxing has been done. + * ldmain.c: don't open a map file if it doesn't have a name + * relax.c: all the brains have moved into bfd. + * ldwrite.c: ammend comment + +Fri Jan 24 14:23:46 1992 Steve Chamberlain (sac at rtl.cygnus.com) + + * Makefile.in: added relax, also made three stage go through a + partial link stage. + * relax.c : added + * config.h: if GNU960 defined, then default emulation mode is + GLD960 + * ldexp.h, ldexp.c: map to file hooks + * ldlang.c: map to file hooks + * ldgram.y: added -Map -relax + * ldlex.l: added -relax, -Map + * ldmain.c: open map file + * ldmisc.c: support for map file + * ldwrite.c: new relax magic + +Thu Dec 19 18:49:51 1991 John Gilmore (gnu at cygnus.com) + + * Makefile.in, config/tm-*.h: Clean up make output, only + pass DEFAULT_EMULATION to ldmain.c. + +Wed Dec 18 15:02:47 1991 Per Bothner (bothner at cygnus.com) + + * ldver.c: Bump to version 1.94. + +Tue Dec 10 04:07:23 1991 K. Richard Pixley (rich at rtl.cygnus.com) + + * Makefile.in: infodir belongs in datadir. + +Mon Dec 9 16:26:43 1991 Per Bothner (bothner at cygnus.com) + + * Makefile.in: Pass -y to bison. (Again; + accidentally deleted by Rich.) + * news.sc, ldgld68k.sc: Define __end as well as _end. + +Sat Dec 7 17:19:26 1991 Steve Chamberlain (sac at rtl.cygnus.com) + + * ldindr.h: added to contain prototypes of ldindr.c + * ldfile.c: include ctype.h + * ldmain.c: include the requried prototype headers + * ldwrite.c: get_reloc_upper_bound has been renamed + bfd_get_reloc_upper_bound + +Fri Dec 6 23:29:26 1991 K. Richard Pixley (rich at rtl.cygnus.com) + + * Makefile.in: punt "fundamental" mode because it breaks my emacs + macros. install using INSTALL_PROGRAM and INSTALL_DATA. remove + spaces following hyphens, bsd make can't cope. added + standards.text support and made it look like all the other + makefiles. + + * configure.in: configure now runs entirely in objdir so make file + existence checks against ${srcdir}. Mark this directory as + target dependent. + +Thu Dec 5 22:46:16 1991 K. Richard Pixley (rich at rtl.cygnus.com) + + * Makefile.in: idestdir and ddestdir go away. Added copyrights + and shift gpl to v2. Added ChangeLog if it didn't exist. docdir + and mandir now keyed off datadir by default. + +Wed Dec 4 23:36:55 1991 Per Bothner (bothner at cygnus.com) + + * ldver.c: Bumped version to 1.93. + * Makefile.in: Pass -y to bison. + +Mon Nov 25 18:28:40 1991 Steve Chamberlain (sac at cygnus.com) + + * config.h: h8 is now coff, not ieee + * h8300hds.sc: reflect the same + +Thu Nov 14 19:55:09 1991 Per Bothner (bothner at cygnus.com) + + * ldver.c (ldversion()): Update to 1.92. + * ldctor.c: There are two places constructor sets + can be defined. One of them checked for an existing + duplicate, the other didn't. Unfortunately, the latter + was called after the former ... + So, factor out code for inserting a new element into + constructor_name_list (after checking for a duplicate) + into a new function add_constructor_name, and call + it from both aforementioned places (ldlang_add_constructor + and ldlang_check_for_constructors). + +Wed Nov 13 15:17:43 1991 Per Bothner (bothner at cygnus.com) + + * Makefile.in: Rename .c files generated from ldtemplate + to have names starting with ld__. This helps 'make clean'. + +Tue Nov 12 18:36:50 1991 Steve Chamberlain (sac at cygnus.com) + + * Makefile.in: Take out the version number for install + * m88kbcs.sc: put in contructor blocks. + +Mon Nov 11 18:47:33 1991 Per Bothner (bothner at cygnus.com) + + * ldmisc.c, ldmisc.h: Re-write info() to take a filename + parameter, a format, and an arg pointer, and rename it to + vfinfo(). Write info() in terms of new vfinfo(). + New einfo() is the same as info(), except it writes to stderr. + * ldemul.c, ldexp.c, ldlang.c, ldlnk960.c, ldmain.c, ldwrite.c, + ldmisc.c: Replace "error" calls to info() by new einfo(). + +Mon Nov 11 09:57:32 1991 Steve Chamberlain (steve at cygnus.com) + + * ldlex.l ldgram.y: made -V option do same as -v + * Makefile.in: Added $(MINUS_G) flag so debugging can be + turned off + +Sun Nov 3 16:37:37 1991 Steve Chamberlain (steve at cygnus.com) + i386 aout changes from Bob Kukura + * Makefile.in, config.h: added i386aout support + * configure.in: fixed /h-{myhost} typo + * ldgram.y: -MM now gives more boring map. + * ldlang.c: now does D_PAGED flag the right way. + * ldsym.c: -MM flags does the right thing. + +Sun Nov 3 15:00:03 1991 Per Bothner (bothner at cygnus.com) + + * configure.in: Fixed typo. Also, a fix for hp300bsd. + * ldlang.c (init_os): Compensate for BFD change, + where bfd_make_section now returns NULL for a duplicate + section request, instead of the old section. + +Thu Oct 17 15:27:13 1991 Per Bothner (bothner at cygnus.com) + + * ldver.c: Bump to version 1.91 (consistent with binutils). + +Wed Oct 16 12:27:08 1991 Per Bothner (bothner at cygnus.com) + + * Makefile.in, config.h, ld.h, ldemul.c, ldexp.c, ldexp.h, + ldgram.y, ldlex.l, ldlnk960.c, ldmain.c, ldmisc.c, ldmisc.h, + ldsym.c, ldsym.h, ldtemplate, ldvanilla.c, ldver.c, ldver.h, + ldwarn.c, ldwarn.h, ldwrite.c, ldwrite.h, mkscript.c: + Add or update copyright notices. + +Mon Oct 14 23:55:27 1991 Per Bothner (bothner at cygnus.com) + + * README: New file. + * Makefile.in: Changed installation directory name scheme + to be consistent with gcc. Also changed 'install'. + +Mon Oct 14 17:30:02 1991 Roland H. Pesch (pesch at cygnus.com) + + * Makefile.in: new targets ld.mm, ld.me + +Mon Oct 14 17:27:24 1991 Per Bothner (bothner at cygnus.com) + + * Makefile.in, ldtemplate: Need to use separate scripts + for -n and -N options. Yet more complication. + +Fri Oct 11 22:40:46 1991 John Gilmore (gnu at cygnus.com) + + * Makefile.in: Avoid using $< in explicit Make rules (it doesn't + work). Add some lines to avoid Sun Make VPATH bugs. + +Fri Oct 11 16:42:22 1991 Per Bothner (bothner at cygnus.com) + + * news.sc: Add alignment for data segment. + * ldtemplate: Add (yet another) script to get for -n or -N + options. (These need different alignment than ZMAGIC files.) + * Makefile.in: Add stuff for new foo.xn scripts. + These are generated by replacing "ALIGN(0x...00)" by ".". + +Fri Oct 11 15:43:04 1991 Roland H. Pesch (pesch at cygnus.com) + + * Makefile.in: new targets ld.ms, ld-index.ms + ld.texinfo: remove tabs, other cleanups for texi2roff + +Fri Oct 11 13:51:54 1991 Per Bothner (bothner at cygnus.com) + + * ldmain.c (main): Make config.magic_demand_paged be true + by default. Don't set the WP_TEXT and D_PAGED flags of + output_bfd here; it's too late, so set it when output_bfd + is created (in ldlang.c). Also fix setting of EXEC_P flag + * ldlang.c (ldlang_open_output): Set output_bfd->flags here. + * ldlang.c: Remove some duplicate extern declarations. + * ldgram.y: Fixes to -N and -n options. + * Makefile.in: Recognize upper case letters in sed script + to remove assignments from script files. + * ldtemplate: Don't assukme that -N or -n options + imply use of -r script. + * mkscript.c: Tweaking to correctly handle \n and \\ in input. + +Fri Oct 11 10:29:27 1991 Steve Chamberlain (steve at cygnus.com) + + * ldtemplate: include bfd.h before sysdep.h. + +Fri Oct 11 04:24:45 1991 John Gilmore (gnu at cygnus.com) + + Restructure configuration scheme for bfd, binutils, ld. + + * include/sys/h-*.h: Move to bfd/hosts/h-*.h. + * configure.in: Revise to symlink sysdep.h to ../bfd/hosts/h-xxx.h. + Change some config names to match other dirs. + * *.c: Include bfd.h before sysdep.h, so ansidecl and PROTO() + get defined first. + * config/: Rename some config files to match up h-*.h names. + Remove all the HOST_SYS definitions from the config files. + +Tue Oct 8 16:00:57 1991 Per Bothner (bothner at cygnus.com) + + * ldexp.h, ldlang.h: Change enum boolean -> enum bfd_boolean. + * ldtemplate: Remove ldfile_add_library_path calls; + just use the SEARCH_DIR commands in the script files. + * Makefile.in: Add LIB_PATH macro, which if set is used to replace + the SEARCH_DIR commands in the scripts (using ugly sed magic). + This is primarily intended for cross-linking, where you would + place libaries in a different place than native libraries. + Also, emulations made from ldtemplate now use $(srcdir). + * ldglda29k.sc: Change SEARCH_DIR commands to a conventional + form; people can use the Makefile's LIB_PATH to override. + +Tue Oct 8 14:51:21 1991 Roland H. Pesch (pesch at cygnus.com) + + * Makefile.in: fix target ld.dvi, add target ld.info + ld.texinfo: make info filename ld.info + +Fri Oct 4 21:51:58 1991 John Gilmore (gnu at cygnus.com) + + * Makefile.in: Avoid using $< in non-suffix rules (breaks on Sun + Make). + * ldfile.c, ldlang.c, ldmain.c, ldwrite.c: Cope with renames of a + few BFD types & enums. + + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/ld/ChangeLog-9899 b/ld/ChangeLog-9899 new file mode 100644 index 0000000..1f6533a --- /dev/null +++ b/ld/ChangeLog-9899 @@ -0,0 +1,2108 @@ +1999-12-02 Nick Clifton <nickc@cygnus.com> + + * Makefile.am: Fix arm-epoc-pe dependencies. + * Makefile.in: Regenerate. + + * emulparams/arm_epoc_pe.sh (SCRIPT_NAME): Set to epocpe. + + * scripttempl/epocpe.sc: New file: copy of pe.sc, customised for + EPOC by placing .rdata into .text. + +1999-11-26 Andreas Schwab <schwab@suse.de> + + * configure.in: Put AC_MSG_CHECKING/AC_MSG_RESULT around check for + STRINGIFY. Use yes/no instead of true/false as value for cache + variable. + * configure: Regenerate. + +1999-11-24 Nick Clifton <nickc@cygnus.com> + + * ldlang.c (IGNORE_SECTION): Section must have both ALLOC and LOAD + attributes in order to be checked. + +1999-11-22 Nick Clifton <nickc@cygnus.com> + + * ldlang.c (lang_check_section_addresses): Fix test to determine + if a section should be tested. + (IGNORE_SECTION): New macro. + +Wed Nov 3 23:31:19 1999 Jeffrey A Law (law@cygnus.com) + + * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive): + Clean up code to use EXTRA_SHLIB_EXTENSION. + +1999-11-03 Nick Clifton <nickc@cygnus.com> + + * emulparams/elf32mcore.sh (OUTPUT_FORMAT): Change to little endian. + * emulparams/mcorepe.sh (OUTPUT_FORMAT): Change to little endian. + +1999-11-01 Steve Chamberlain <sac@pobox.com> + + * ldlang.c (section_already_linked): Rework to use hash table. + (already_linked_newfunc): New function. + (already_linked_table_init): New function. + (already_linked_table_free): New function. + (lang_process): Initialize and free the already_linked hash table. + +1999-10-27 Andreas Jaeger <aj@suse.de> + + * ld/configure.host: Added HOSTING_CRT0, HOSTING_LIBS for + target "mips*-*-linux-gnu*". + +1999-10-27 Scott Bambrough <scottb@netwinder.org> + + * emultempl/armelf.em: Include ctype.h to prevent compile time + warnings. + +1999-10-26 Nick Clifton <nickc@cygnus.com> + + * emultempl/armcoff.em (gld{}_finish): Remove extraneous + underscore from prototype. + * emultempl/armelf.em (gld{}_finish): Remove extraneous + underscore from prototype. + +1999-10-07 Geoffrey Keating <geoffk@cygnus.com> + + * scripttempl/elf.sc (.rel.sdata): Combine all the sdata relocs + being .rel.sdata, .rel.sdata.*, .rel.gnu.linkonce.s*. + (.rela.sdata): Likewise for .rela.sdata.* and .rela.gnu.linkonce.s*. + (.rel.sbss): Make like .rel.bss. + (.rela.sbss): Make like .rel.bss. + (.sdata): Don't include .gnu.linkonce.s.* or .sdata.* when + ld -r. + (.sbss): Do the same things as for .bss: include SDATA_START_SYMBOLS, + .dynsbss. + +1999-09-29 Andrew Haley <aph@cygnus.com> + + * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Defer + merging sections when not relocating. + +1999-09-28 Mumit Khan <khan@xraylith.wisc.edu> + + * pe-dll.c (process_def_file): Move the offset lookup from here to + (fill_exported_offsets): here. New static function. + (fill_edata): Use. + +1999-09-28 Mumit Khan <khan@xraylith.wisc.edu> + + * deffilep.y (tokens): Add upper and lower case versions of DATA, + CONSTANT, NONAME and PRIVATE tokens. + (command): Use DATAU. + (expline): Allow for drectve syntax as well. + (exp_opt_list): Likewise. + (exp_opt): Likewise. + * pe-dll.c (make_one): Only generate the idata entries for data + symbols. + +1999-09-28 Geoffrey Keating <geoffk@cygnus.com> + + * scripttempl/elf.sc (.sdata): Include .gnu.linkonce.s.* sections + in .sdata too. + +1999-09-26 Nick Clifton <nickc@cygnus.com> + + * scripttempl/elf.sc (.bss): Accept sections named .bss.* + (.sbss): Accept sections names .sbss.* + +1999-09-22 Nick Clifton <nickc@cygnus.com> + + * Makefile.am: Add earm_epoc_pe.c build target. + +Sat Sep 18 07:57:10 1999 Jeffrey A Law (law@cygnus.com) + + * emulparms/elf64hppa.sh (OTHER_READONLY_SYMBOLS): Remove ".stubs", + they've been renamed to ".stub", which is handled automatically + by elf.sc. + +Fri Sep 17 11:00:33 1999 Jeffrey A Law (law@cygnus.com) + + * emulparms/elf64hppa.sh (TEXT_START_SYMBOLS): Kill completely. + (DATA_START_SYMBOLS): Kill __hp_load_map definition + +Thu Sep 16 10:59:56 1999 Jeffrey A Law (law@cygnus.com) + + * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive): + Use the same filename extension for the bfd_elf_dt_needed_name call + as we did for finding the library. + + * emulparms/elf64hppa.sh (DATA_START_SYMBOLS): Define. + (OTHER_READWRITE_SECTIONS): No longer define __hp_load_map. + + * emulparms/elf64hppa.sh (TEXT_START_SYMBOLS): Define. + +Wed Sep 15 02:47:43 1999 Jeffrey A Law (law@cygnus.com) + + * emulparms/elf64hppa.sh (SHLIB_TEXT_START_ADDR): Define. + (SHLIB_DATA_ADDR): Likewise. + + * emulparms/elf64hppa.sh (TEXT_DYNAMIC): Define. + + * emulparms/elf64hppa.sh (OTHER_READWRITE_SECTIONS): No longer combine + the .plt, .dlt, .opd into a single output section. Provide values + for __gp and __hp_load_map. + +1999-09-14 Michael Meissner <meissner@cygnus.com> + + * configure.in (Canonicalization of target names): Remove adding + ${CONFIG_SHELL} in front of $ac_config_sub, since autoconfig 2.14 + generates $ac_config_sub with a ${CONFIG_SHELL} already. + * configure: Regenerate. + +1999-09-14 Donn Terry <donn@interix.com> + + * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): allow for + terminating null. + +1999-09-14 Ulrich Drepper <drepper@cygnus.com> + + * configure.in: Define EXTRA_SHLIB_EXTENSION to ".sl" for HP target. + * config.in: Add EXTRA_SHLIB_EXTENSION. + + * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive): + Search for second shared lib extension only if EXTRA_SHLIB_EXTENSION + is defined. + +1999-09-14 Nick Clifton <nickc@cygnus.com> + + * Makefile.in: Add earm_epoc_pe.c build target. + +Tue Sep 14 05:26:34 1999 Jeffrey A Law (law@cygnus.com) + + * emulparms/elf64hppa.sh (OTHER_GOT_RELOC_SECTIONS): Add .rela.dlt. + +1999-09-13 Donn Terry <donn@interix.com> + + * emultempl/pe.em: Remove the output file at the start, in case it + is not writable. + +Mon Sep 13 00:17:18 1999 Jeffrey A Law (law@cygnus.com) + + * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive): + Search for file with .sl extension if no file with a .so extension + is found. + + * emulparms/elf64hppa.sh (OTHER_READWRITE_SECTIONS): Put .plt + at the start of the .dlt output section. + +1999-09-12 Ian Lance Taylor <ian@zembu.com> + + * pe.em: Don't include "../bfd/libbfd.h". + (gld_${EMULATION_NAME}_after_open): Use xmalloc rather than + bfd_alloc. + + * pe-dll.h: New file. + * pe-dll.c: Include "pe-dll.h". Mark unused arguments as needed + to avoid warnings. + (edata_sz, reloc_sz): Change from int to size_t. + (pe_details_type): Change type of imagebase_reloc from int to + unsigned int. + (pe_detail_list): Fully initialize last entry. + (pe_dll_id_target): Change parameter to const. + (pe_dll_generate_def_file): Likewise. + (pe_dll_generate_implib): Likewise. + (pe_implied_import_dll): Likewise. Change dll_name to const. + * emultempl/pe.em: Include "pe-dll.h". Remove declarations now in + pe-dll.h. + (init): Fully initialize __dll__ entry. + (gld_${EMULATION_NAME}_after_open): Remove unused variables + sequence, elt, and i. + * deffile.h: Add preprocessor guard. + * deffilep.y (def_debug): Remove. + * Makefile.am: Rebuild dependencies. + (HFILES): Add pe-dll.h. + +1999-09-12 Donn Terry <donn@interix.com> + + * ld.h (ld_abort): Declare. + (abort): Define. + * ldmisc.c (ld_abort): Define. + + * scripttempl/pe.sc: Use ${ENTRY} rather than _mainCRTStartup. + Move .bss section after .rdata. Move .reloc section after .rsrc. + + * lexsup.c (parse_args): Use strtoul for --split-by-reloc + argument. + + * lexsup.c (parse_args): If we get an unrecognized argument, + mention --help. + + * ldlang.c (section_already_linked): Use comdat information if it + is available. + + * emultempl/pe.em (PE_DEF_SECTION_ALIGNMENT): If + OVERRIDE_SECTION_ALIGNMENT is defined, change to that. + (gld_${EMULATION_NAME}_before_parse): Use EXECUTABLE_NAME if it is + defined, rather than a.exe. + (init): Define __subsystem__ as ${SUBSYSTEM}. + (set_pe_subsystem): Add ${INITIAL_SYMBOL_CHAR} before entry symbol + name. + +1999-09-12 Ian Lance Taylor <ian@zembu.com> + + * ldlang.c (open_output): Change local variable desired_endian + from int to enum bfd_endian. + + * emulparams/arm_epoc_pe.sh: Define ENTRY, SUBSYSTEM and + INITIAL_SYMBOL_CHAR. + * emulparams/armpe.sh: Likewise. + * emulparams/morepe.sh: Likewise. + * emulparams/ppcpe.sh: Likewise. + * emulparams/i386pe.sh (ENTRY): Define as _mainCRTStartup. + (SUBSYSTEM): Define as PE_DEF_SUBSYSTEM. + +Fri Sep 10 00:22:50 1999 Jeffrey A Law (law@cygnus.com) + + * emulparms/elf64hppa.sh (LIB_PATH): Define. + + * emulparms/elf64hppa.sh (OTHER_READONLY_SECTIONS): Put stubs before + unwinders so that they are closer to the text section. + (OTHER_BSS_SECTIONS): Define. + (EXECUTABLE_SYMBOLS): Provide __SYSTEM_ID and _FPU_STATUS. + (INIT_START, INIT_END): Define. + (FINI_START, FINI_END): Define. + * scripttempl/elf.sc: Add support for INIT_START, INIT_END, + FINI_START, FINI_END and OTHER_BSS_SECTIONS. + +Thu Sep 9 21:43:58 1999 Jeffrey A Law (law@cygnus.com) + + * emulparms/elf64hppa.sh (TEXT_START_ADDR): Move up one page. + (DATA_ADDR): Define. + +1999-09-09 Stan Shebs <shebs@andros.cygnus.com> + + * emulparams/d10velf.sh (READONLY_START_ADDR): Set to 0x2000004. + +1999-09-09 Andreas Schwab <schwab@suse.de> + + * ld.texinfo: Fix arguments of @var to not contain punctuation. + +Thu Sep 9 05:52:34 1999 Jeffrey A Law (law@cygnus.com) + + * emulparms/elf64hppa.sh (OTHER_READWRITE_SECTIONS): Define. + +1999-09-08 Ulrich Drepper <drepper@cygnus.com> + + * emulparams/elf64hppa.sh (ELFSIZE): New. Set to 64. + +Wed Sep 8 00:07:39 1999 Jeffrey A Law (law@cygnus.com) + + * emulparms/elf64hppa.sh (ENTRY): Define to main. + +1999-09-03 Scott Bambrough <scottb@netwinder.org> + + * ld/configure.host: Added HOSTING_CRT0, HOSTING_LIBS for + target "arm*-*-linux-gnu*" + +1999-09-04 Steve Chamberlain <sac@pobox.com> + + * configure.tgt (pjl-*-*, pj-*-*): New targets. + * emulparams/pjelf.sh: New file. + * emulparams/pjlelf.sh: New file. + * scripttempl/pj.sc: New file. + * Makefile.am (ALL_EMULATIONS): Add epjelf.o and epjlelf.o. + (epjelf.o, epjlelf.o): New targets. + * Makefile.in: Rebuild. + +Fri Sep 3 20:17:08 1999 Jeffrey A Law (law@cygnus.com) + + * emulparams/elf64hppa.sh (MAXPAGESIZE): Define. + (OTHER_READONLY_SECTIONS, DATA_PLT): Likewise. + +Thu Sep 2 14:32:03 1999 Jeffrey A Law (law@cygnus.com) + + * emulparams/elf64hppa.sh: New file. + * configure.tgt (hppa*w-*-*): Use elf64hppa emulation. + * Makefile.am (ALL_64_EMULATIONS): Add eelf64hppa.o + (eelf64hppa.c): Add dependencies. + * Makefile.in: Rebuilt. + +1999-08-25 Philip Blundell <pb@nexus.co.uk> + + * emulparams/armelf.sh (OTHER_BSS_SYMBOLS): Add __end__. + * emulparams/armelf_linux.sh: Likewise. + * emulparams/armelf_linux26.sh: Likewise. + +1999-08-24 Nick Clifton <nickc@cygnus.com> + + From a patch submitted by Roland McGrath <roland@baalperazim.frob.com> + + * configure.tgt (arm-*-netbsd*): New target. + * Makefile.am (ALL_EMULATIONS): Add earmnbsd.o. + (earmnbsd.c): New rule with deps. + * Makefile.on: Regenerate. + * emulparams/armnbsd.sh: New file. + +1999-08-23 Nick Clifton <nickc@cygnus.com> + + * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Define. + Implement --base-file command line switch. + + * emultempl/elf32.em: Add ability for individual targets to have + their own command line switches by defining PARSE_AND_LIST_ARGS. + +1999-08-19 Andreas Schwab <schwab@suse.de> + + * configure.host: Use ${CC} instead of gcc for finding compiler + related files. + +1999-08-11 Nick Clifton <nickc@cygnus.com> + + * scripttempl/mcorepe.sc (OUTPUT_FORMAT): Fix typo. + +1999-08-09 Mark Elbrecht <snowball3@bigfoot.com> + + * scripttempl/i386go32.sc: Handle g++ exception sections. + +1999-08-09 Ian Lance Taylor <ian@zembu.com> + + From Wally Iimura <iimura@microunity.com>: + * ldlang.c (lang_size_sections): When checking whether an address + is within a region, don't get confused by wrapping around at the + end of the address space. + +1999-08-08 Ian Lance Taylor <ian@zembu.com> + + * ldlang.c (wild_doit): Update for renaming of SEC_SHORT to + SEC_SMALL_DATA. + + * Makefile.am: Rename .dep* files to DEP*. Change DEP variable to + MKDEP. Rebuild dependencies. + * Makefile.in: Rebuild. + +1999-08-08 Jakub Jelinek <jj@ultra.linux.cz> + + * configure.host (sparc-*-linux-gnu*): New host. + (sparc64-*-linux-gnu*): New host. + +1999-08-06 Ian Lance Taylor <ian@zembu.com> + + * lexsup.c (is_num): Reindent. + (parse_args): Mention program name in error message. + + * emultempl/ostring.sed: Rename from stringify.sed. + * emultempl/astring.sed: New file. + * Makefile.am (stringify.sed): New target. + (GEN_DEPENDS): Change $(srcdir)/emultempl/stringify.sed to + stringify.sed. + * configure.in: Define and substitute STRINGIFY. + * emultempl/*.em: Use stringify.sed from build directory rather + than source directory. + * emultempl/elf32.em: Use stringify.sed rather than inline sed + script. + * emultempl/gld960.em, emultempl/gld960c.em: Likewise. + * emultempl/hppaelf.em, emultempl/linux.em: Likewise. + * emultempl/lnk960.em, emultempl/sunos.em: Likewise. + * configure, Makefile.in: Rebuild. + +1999-08-05 Donn Terry <donn@interix.com> + + * emulparams/i386pe.sh: Define ENTRY, SUBSYSTEM, and + INITIAL_SYMBOL_CHAR. + * emulparams/i386pe_posix.sh: New file. + * Makefile.am (YACC): If bison is not in the source tree, use + @YACC@ rather than bison -y. + (LEX): If flex is not in the source tree, use @LEX@ rather than + flex. + (ALL_EMULATIONS): Add ei386pe_posix.o. + (ei386pe_posix.c): New target. + * configure.tgt (i[3456]86-*-interix*): New target. + * configure.host (i[3456]86-pc-interix*): New host. + * Makefile.in: Rebuild. + +1999-08-03 Ian Lance Taylor <ian@zembu.com> + + * emulparams/elf32ppc.sh (MAXPAGESIZE): Change to 0x10000. + * emulparams/elf32ppclinux.sh (MAXPAGESIZE): Likewise. + +1999-08-03 H.J. Lu <hjl@gnu.org> + + * Makefile.am (ALL_EMULATIONS): Remove ego32.o. + (ego32.c): Remove. + * Makefile.in: Rebuild. + +1999-07-22 Philip Blundell <pb@nexus.co.uk> + + * emulparams/armelf_linux26.sh (DATA_START_SYMBOLS): Define. + (OTHER_BSS_SYMBOLS, OTHER_BSS_END_SYMBOLS): Likewise. + * emulparams/armelf_linux.sh (DATA_START_SYMBOLS): Define. + + * configure.tgt (arm*-*-uclinux*, thumb-*-uclinux*, + thumb-*-linux-gnu*): New targets. + +1999-07-21 Mark Elbrecht <snowball3@bigfoot.com> + + * scripttempl/i386go32.sc: Add handling of linkonce sections. + + * configure.bat: Remove; obsolete. + * emulparams/go32.sh: Remove; obsolete. + * scripttempl/go32coff.sc: Remove; obsolete. + +1999-07-21 H.J. Lu <hjl@gnu.org> + + * configure.tgt (mips*el-*-vxworks*): New target. + +1999-07-21 Brad M. Garcia <bgarcia@fore.com> + + * configure.tgt (i[3456]86-*-vxworks*): New target. + +Tue Jul 20 15:18:46 1999 Bob Manson <manson@charmed.cygnus.com> + + * ldlang.c (lang_gc_sections): Only handle the start symbol + specially if there is one. + +Mon Jul 19 14:19:14 1999 Mark P. Mitchell <mark@codesourcery.com> + + * emulparams/elf32bmipn32.sh (OTHER_RELOCATING_SECTIONS): Add + .MIPS.events and .MIPS.content handling. + * emulparams/elf64bmip.sh (OTHER_RELOCATING_SECTIONS): Likewise. + +1999-07-17 Nick Clifton <nickc@cygnus.com> + + * ldlang.c (get_target): New function: Return true iff the + given target is the target being sought. + (stricpy): New function: Like strcpy but convert to lower + case as well. + (strcut): New function: Like strstr but remove the located + substring as well. + (name_compare): New function: Compute a compatability rating + for two target names. + (winner): New variable: Best target found by + closest_target_match() so far. + (closest_target_match): New function: Find the target which is + the closest match to the original target. + (get_first_input_target): New function: Find the target format + of the first of the linker's input file. + (open_output): Be more clever about deciding the output target + format. + +1999-07-16 Jakub Jelinek <jj@ultra.linux.cz> + + * emulparams/elf64_sparc.sh: Add 64-bit directories to native LIB_PATH. + +Thu Jul 15 15:55:15 1999 Mark P. Mitchell <mark@codesourcery.com> + + * configure.host: Set up HOSTING_CRT0 and HOSTING_LIBS for IRIX6. + +1999-07-15 Ian Lance Taylor <ian@zembu.com> + + * configure.in: Bump version number to 2.9.5. + * configure: Rebuild. + +1999-07-14 Richard Henderson <rth@cygnus.com> + + * ldlang.c (wild_doit): Copy SEC_SHORT to output section. + + * scripttempl/elf.sc: Re-order .rel[a].foo outputs to the + same order seen for the main sections. Add + OTHER_READONLY_RELOC_SECTIONS and OTHER_GOT_RELOC_SECTIONS. + +1999-07-12 Andreas Schwab <schwab@suse.de> + + * emultempl/linux.em (ld_${EMULATION_NAME}_emulation): Fill in + structure initializations. + + * emultempl/elf32.em (ld_${EMULATION_NAME}_emulation): Add missing + comma in initializer. + +1999-07-11 Ian Lance Taylor <ian@zembu.com> + + * Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSED + as appropriate. Fill in structure initializations. + +1999-07-10 Ian Lance Taylor <ian@zembu.com> + + * ldfile.c: Revert patch of 1999-07-08. + (ldfile_try_open_bfd): If we are searching for the file, skip + files with an incompatible architecture. + +1999-07-09 Nick Clifton <nickc@cygnus.com> + + * scripttempl/armcoff.sc (OUTPUT_FORMAT): Include big endian and + little endian formats. + +1999-07-08 Felix Lee <flee@cygnus.com> + + * scripttempl/mcorepe.sc: fix quoting problem, for bash 2.x + +1999-07-08 Jakub Jelinek <jj@ultra.linux.cz> + + * ldfile.c (ldfile_open_file_search): Skip libraries made for + incompatible architectures in the search path. Let the user know + about any such skips. + +Thu Jul 8 12:32:23 1999 John David Anglin <dave@hiauly1.hia.nrc.ca> + + * configure.tgt (hppa*-linux-gnu*): New target. + +1999-07-07 Mark Mitchell <mark@codesourcery.com> + + * Makefile.am (ALL_64_EMULATIONS): Add eelf64bmip. + (eelf64bmip): New target. + * Makefile.in: Regenerated. + * configure.tgt (mips-sgi-irix6*): Add 64-bit emulation. + * emulparams/elf64bmip.sh: New file. + +1999-07-05 Nick Clifton <nickc@cygnus.com> + + * emultempl/pe.em (after_open): Abort if input format is ARM and + output format is not. + * emultempl/armcoff.em (after_open): Abort if input format is ARM + and output format is not. + * emultempl/armelf.em (after_open): Abort if input format is ARM + and output format is not. + +1999-07-02 Ian Lance Taylor <ian@zembu.com> + + * ldlang.c: Revert change of 1999-06-23. + +1999-06-30 Mark Mitchell <mark@codesourcery.com> + + * Makefile.am (ALL_EMULATIONS): Add eelf32bmipn32.o. + (eelf32bmipn32.c): New target. + * Makefile.in: Regenerated. + * configure.tgt (mips-sgi-irix6*): Make n32 the default + emulation. + * emulparams/elf32bmipn32.sh: New file. + +1999-06-28 Jim Pick <jim@jimpick.com> + + * emultempl/armelf.em: Added code so that .xs linker scripts are + called so that ARM shared libraries are built correctly. + +1999-06-22 Mark Mitchell <mark@codesourcery.com> + + * ldmain.c (main): Initialize link_info.init_function and + link_info.fini_function. + * lexsup.c (OPTION_INIT): New macro. + (OPTION_FINI): Likewise. + (ld_options): Add descriptions for them. + (parse_args): Handle them. + +1999-06-23 Ian Lance Taylor <ian@zembu.com> + + * ldlang.c (section_already_linked): Only discard link once + sections if we are building constructors. + +1999-06-22 Nick Clifton <nickc@cygnus.com> + + * ld.texinfo (Location Counter): Describe behaviour of + location counter inside section statements. + +1999-06-20 Mark Mitchell <mark@codesourcery.com> + + * scripttempl/elf.sc (WRITABLE_RODATA): New variable for + controlling whether or not .rodata is in the data segment or the + text segment. + +1999-06-18 Nick Clifton <nickc@cygnus.com> + + * emultempl/pe.em: Add new command line switch --thumb-entry. + * emultempl/armelf.em: Add new command line switch --thumb-entry. + * emultempl/armcoff.em: Add new command line switch --thumb-entry. + * ld.texinfo: Document new ARM command line switch: --thumb-entry. + +1999-06-20 H.J. Lu <hjl@gnu.org> + + * configure.in (all_libpath): Accumulate across all enabled targets. + +Sun Jun 20 14:10:33 1999 Richard Henderson <rth@cygnus.com> + + * emultempl/armelf.em: Watch EMULATION_LIBPATH instead of + DEFAULT_EMULATION. + * emultempl/elf32.em: Likewise. + * emultempl/sunos.em: Likewise. + +Fri Jun 18 15:24:48 1999 Richard Henderson <rth@cygnus.com> + + * Makefile.am (GENSCRIPTS): Pass EMULATION_LIBPATH, not EMUL. + * configure.in (all_emuls): Add targ_extra_libpath. + (all_libpath, EMULATION_LIBPATH): Define. + * configure.tgt (powerpc-*-linux-gnu*): Define targ_extra_libpath. + * genscripts.sh (LIB_PATH): Define if emulation in EMULATION_LIBPATH. + +Mon Jun 14 10:38:36 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> + + * ld.texinfo: Fix use of @item vs. @itemx. + +1999-06-13 Ian Lance Taylor <ian@zembu.com> + + From Thomas Zenker <thz@lennartz-electronic.de>: + * ldgram.y (attributes_opt): Use attributes_list instead of NAME. + (attributes_list, attributes_string): New nonterminals. + * ldlang.c (lang_set_flags): Add invert parameter. Don't handle + '!'. + * ldlang.c (lang_set_flags): Update declaration. + +1999-06-12 Ian Lance Taylor <ian@zembu.com> + + * emultempl/pe.em (gld_${EMULATION_NAME}_after_parse): Don't add + entry_symbol as an undefined symbol when doing a relocateable + link. From <jeffdb@goodnet.com>. + +1999-06-12 David O'Brien <obrien@freebsd.org> + + * configure.tgt: (i[3456]86-*-freebsd*): Now defaults to ELF. + +1999-06-09 Nick Clifton <nickc@cygnus.com> + + * lexsup.c (help): Restore previous format of output. + +1999-06-04 Nick Clifton <nickc@cygnus.com> + + * emultempl/pe.em: If compiling for arm_epoc_pe rename + interworking functions to avoid a name space clash. + +1999-06-02 Jason Merrill <jason@yorick.cygnus.com> + + * scripttempl/v850.sc: Add initp support. + +1999-06-02 Nick Clifton <nickc@cygnus.com> + + * emultempl/pe.em: Rename global arm interworking functions to + avoid name collision when all targets BFD is built. + +1999-05-30 Cort Dougan <cort@attis.cs.nmt.edu> + + * Makefile.am (ALL_EMULATIONS): Add eelf32ppclinux.o. + * configure.tgt (powerpc-*-linux-gnu): Use it. + * emulparams/elf32ppclinux.sh: New file. + +1999-05-29 Ian Lance Taylor <ian@zembu.com> + + * ld.texinfo (Options): Clarify that options which refer to files + must be properly ordered. + +1999-05-29 Nick Clifton <nickc@cygnus.com> + + * emultempl/armelf.em (..._parse_args): New function: Parse + command line option. Accept arm-elf specific command line option + '-p' or '--no-pipeline-knowledge'. + (..._list_options): New function: Describe the new command line + option. + (..._before_allocation): Pass the value of the new variable + no_pipeline_knowledge to bfd_elf32_arm_process_before_allocation. + + * emultemp/armelf_oabi.em (..._before_allocation): Pass zero as + the third parameter to bfd_elf32_arm_process_before_allocation. + +1999-05-28 Nick Clifton <nickc@cygnus.com> + + * lexsup.c (help): Minor formatting changes. + +1999-05-28 Martin Dorey <mdorey@madge.com> + + * configure.tgt (i960-*-elf*): New target. + * emulparams/elf32_i960.sh: New file. + * Makefile.am (ALL_EMULATIONS): Add eelf32_i960.o. + (eelf32_i960.c): New target. + * Makefile.in: Rebuild. + +1999-05-26 Nick Clifton <nickc@cygnus.com> + + * emulparams/armelf_oabi.sh (TEMPLATE_NAME): Set to armelf_oabi. + +1999-05-24 Philip Blundell <philb@gnu.org> + + * emultempl/armelf.em (before_parse): Set config.dynamic_link and + config.has_shared. + * emulparams/armelf.sh (GENERATE_SHLIB_SCRIPT): Define. + * emulparams/armelf_linux.sh (GENERATE_SHLIB_SCRIPT): Likewise. + +1999-04-13 Philip Blundell <philb@gnu.org> + + * emultempl/armelf.em: Add definitions related to shared objects + (copied from elf32.em). + +Wed May 19 12:44:26 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> + + * Makefile.am (ALL_EMULATIONS): Remove earmlinux.o and + earm26linux.o, add earmelf_linux.o and earmelf_linux26.o. + * Makefile.in: Regenerated. + +1999-05-16 Nick Clifton <nickc@cygnus.com> + + * emulparams/elf32mcore.sh (GENERATE_SHLIB_SCRIPT): Define. + (TEMPLATE_NAME): Define. + +Thu May 13 09:48:09 1999 Joel Sherrill (joel@OARcorp.com) + + * configure.tgt (i386-*-rtemself*, sh-*-rtemself*): New targets. + (mips*el-*-rtems*, powerpcle-*-rtems*): New targets. + +1999-05-10 DJ Delorie <dj@cygnus.com> + + * scripttempl/pe.sc: Specify the output arch, which Ian says is + the Right Thing to do. + + * emultempl/pe.em: various changes to parameterize the + target-specific information. + (gld_i386pe_after_open): Detect and fix MS import libraries + by renaming the member objects (which are all named the same). + + * pe-dll.c: various changes to parameterize the target-specific + information. + (generate_reloc): support relocs more generically to allow for + expansion. + (pe_exe_build_sections): new; used to add .relocs to .exes + (pe_exe_fill_sections): ditto + +1999-05-10 Catherine Moore <clm@cygnus.com> + + * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): + Check for TARGET_IS_arm_epoc_pe. + (gld_${EMULATION_NAME}_before_allocation): Likewise. + +1999-05-12 Anthony Green <green@cygnus.com> + + * ldlang.c (walk_wild, walk_wild_file, walk_wild_section, + output_section_callback, gc_section_callback): New functions for + generic section walks. + (wild, lang_gc_wild): Use walk_wild. + (wild_file, lang_gc_wild_file): Deleted. Common logic moved to + walk_wild_file. + (wild_section, lang_gc_wild_section): Deleted. Common logic moved + to walk_fild_section. Unique logic moved into callbacks + output_section_callback and gc_section_callback. + +1999-04-26 Tom Tromey <tromey@cygnus.com> + + * aclocal.m4, configure: Updated for new version of libtool. + +1999-04-12 Philip Blundell <pb@nexus.co.uk> + + * emulparams/armelf_linux.sh: New file. Support for ARM + GNU/Linux ELF ABI. + * emulparams/armelf_linux26.sh: New file. APCS-26 version of above. + * configure.tgt: For arm*-*-linux-gnu*, set default emulation to + `armelf_linux', and also include `armelf_linux26' and `armelf'. + * Makefile.am: Add rules to make earmlinux.c and earmlinux26.c. + (ALL_EMULATIONS): Add earmlinux.o and earmlinux26.o. + * Makefile.in: Regenerate. + +1999-04-11 Richard Henderson <rth@cygnus.com> + + * Makefile.am (ALL_EMULATIONS): Add elf_i386_be.o. + * configure.tgt (i[3456]86-*-beos*): Use it. + * emulparams/elf_i386_be.sh: New file. + * Makefile.in: Rebuild. + + * configure.in (environ): Detect declaration. + * ldmain.c (main): Don't declare environ. + * sysdep.h (environ): Declare if needed. + * configure, config.in: Rebuild. + +1999-04-11 Richard Henderson <rth@cygnus.com> + + * ldgram.y (ldgram_vers_current_lang): New. + (vers_defns): Accept `extern "lang" { }' syntax. + * ldlex.l (vers_node_nesting): New. + (V_IDENTIFIER): Accept . and $ in symbols. + (VERS_NODE): Accept `extern "lang" { }' tokens. Nest VERS_NODE states. + * ldlang.c (lang_new_vers_regex): New `lang' argument. Update callers. + (lang_vers_match_lang_c): New function. + (lang_vers_match_lang_cplusplus): New function. + (lang_vers_match_lang_java): New function. + (lang_do_version_exports_section): Fix iteration. Don't free + section contents, as it is still in use by the patterns. + +1999-04-10 Richard Henderson <rth@cygnus.com> + + * ldmain.c (main): Init link_info.no_undefined. + * lexsup.c: Add command-line option --no-undefined. + +1999-04-06 Ian Lance Taylor <ian@zembu.com> + + * ld.h (LC_MESSAGES): Never define. + * ldmain.c (main): Don't pass LC_MESSAGES to setlocale if the + system does not define it. + +1999-04-06 H.J. Lu <hjl@gnu.org> + + * ldmain.h (demangling): Declare. + * ldmain.c (demangling): New global variable. + (main): Initialize demangling. + * ldmisc.c (vfinfo): Don't demangle symbol if ! demangling. + * lexsup.c (ld_options, parse_args): Handle --demangle and + --no-demangle. + * ld.texinfo, ld.1: Document --demangle/--no-demangle. + + * ldlex.l (V_IDENTIFIER): Allow '.' in symbol. + +1999-04-05 Chris Torek <torek@BSDI.COM> + + * emultempl/sunos.em (gld${EMULATION_NAME}_search_dir): Check that + a shared library really exists, avoiding broken symlinks. + + * ldfile.c (ldfile_open_file): Generate a better error message if + we can't find a -l file. + +1999-04-05 DJ Delorie <dj@cygnus.com> + + * configure.tgt (i386-*-pe): add targ_extra_ofiles for other PE + targets (i386-pe and i386-winnt) + +1999-04-04 Ian Lance Taylor <ian@zembu.com> + + * deffilep.y: Include "sysdep.h" and "ldmisc.h". + (def_file_add_directive): Change return type to void. Remove + unused locals sh_reserve, sh_commit, and j. + (def_ungetc): Always return a value. + (def_lex): Correct parenthesization of || within &&. + * deffile.h (def_file_add_directive): Update declaration. + * pe-dll.c: Include <time.h>, <ctype.h>, and "ldemul.h". + (generate_edata): Remove unused local i. + (quoteput): Add cast to avoid warning. + (pe_dll_generate_def_file): Fix type in format string. + (quick_symbol): Remove unused local blhe. + (pe_dll_generate_implib): Add cast to avoid warning. + (pe_process_import_defs): Remove unused locals ar_head, ar_tail, + and n. + (pe_as16): Comment out. + +1999-04-04 Don Bowman <don@pixsci.com> + + * configure.tgt: Add mips*-*-vxworks* target. + +1999-03-31 Nick Clifton <nickc@cygnus.com> + + * Makefile.in (ALL_EMULATIONS): Add earm_epoc_pe.o + Add build rule and dependencies for earm_epoc_pe.c. + + * emulparams/arm_epoc_pe.sh: New file. + + * configure.tgt: Add 'targ_extra_ofiles' for ARM based PE + targets. + +1999-03-31 Philip Blundell <pb@nexus.co.uk> + + * configure.tgt: Match `arm*-*-linux-gnu*' not + `armv*-*-linux-gnu'. + +1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> + + * scripttempl/elf.sc: Put the .eh_frame and .gcc_except_table + sections in the data segment. + +Fri Mar 26 12:05:51 1999 Catherine Moore <clm@cygnus.com> + + * ld.h (wildcard_spec): Add exclude_name. + * ldgram.y (EXCLUDE_FILE): New token. + (wildcard_spec): Set exclude_name. + (file_NAME_list): Recognize EXCLUDE_FILE. + * ldlang.c (wild_section): Check for excluded files. + (print_wild_statement): Print excluded files. + (lang_add_wild): New argument exclude_filename. + Set exclude_filename. + * ldlang.h (lang_wild_statement_type): Add exclude_filename. + * ldlex.l: New token EXCLUDE_FILE. + * mri.c (mri_draw_tree): Add argument to lang_add_wild. + * scripttempl/elf.sc (CTOR, DTOR): Exclude crtend.o from ctor wildcard. + Reorder sorted and unsorted ctors. + * scripttempl/elfd10v.sc (CTOR, DTOR): Likewise. + * scripttempl/elfd30v.sc (CTOR, DTOR): Likewise. + * scripttempl/elfppc.sc (CTOR, DTOR): Likewise. + +1999-03-26 Nick Clifton <nickc@cygnus.com> + + * ldlang.c (lang_gc_sections): If entry_symbol is not defined, + default to "start". + +1999-03-03 Nick Clifton <nickc@cygnus.com> + + * scripttempl/elf.sc: Add explicit placements for the .eh_frame + and .gcc_except_table sections. + +Wed Mar 3 09:13:34 1999 Catherine Moore <clm@cygnus.clm> + + * scripttempl/elf.sc: Remove .end.ctors and .end.dtors + sections. Reorder .ctors section entries. + * scripttempl/elfd10v.sc: Likewise. + * scripttempl/elfd30v.sc: Likewise. + * scripttempl/elfppc.sc: Likewise. + +1999-02-26 Jim Lemke <jlemke@cygnus.com> + + * ldmain.c (main): Wrong error msg for -r and --mpc860c0. + +1999-02-25 Nick Clifton <nickc@cygnus.com> + + * ldlang.c (lang_check_section_addresses): Remove extraneous + backslash. + +Thu Feb 25 15:07:24 1999 Catherine Moore <clm@cygnus.com> + + * scripttempl/elf.sc: Don't gather .ctor and .dtor sections + for relocateable links. + * scripttempl/elfd10v.sc: Likewise. + * scripttempl/elfd30v.sc: Likewise. + * scripttempl/elfppc.sc: Likewise. + +1999-02-22 Jim Lemke <jlemke@cygnus.com> + + * ldint.texinfo: remove extraneous right brace. + * ldmain.c (main): initialize and check option "mpc860c0". + * lexsup.c (ld_options, parse_args): add option "mpc860c0". + +Wed Feb 17 12:10:06 1999 Stan Cox <scox@cygnus.com> + + * mpw-elfmips.c (gldelf32ebmip_before_allocation): Remove special + .reginfo section handling. + * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Likewise. + * emulparams/elf32elmip.sh (INITIAL_READONLY_SECTIONS): Removed + * emulparams/elf32ebmip.sh (INITIAL_READONLY_SECTIONS): Removed + +1999-02-17 Nick Clifton <nickc@cygnus.com> + + Patch from: Scott Bambrough <scottb@corelcomputer.com> + + * configure.tgt: Added armv*-*-linux-gnu to $targ_emul + recognition. + +Wed Feb 17 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> + + * emultempl/armelf_oabi.em + (bfd_elf32_arm_allocate_interworking_sections, + bfd_elf32_arm_get_bfd_for_interworking, + bfd_elf32_arm_process_before_allocation): Define them to use the + old ABI versions of the functions. + +Tue Feb 16 16:48:19 1999 Ian Lance Taylor <ian@cygnus.com> + + * configure.in: Change AC_PREREQ to 2.13. Change AM_PROG_INSTALL + to AC_PROG_INSTALL. Change AM_EXEEXT to AC_EXEEXT. + * Makefile.am (earmelf_oabi.c): Changes spaces to tab. + * acconfig.h: Remove. + * aclocal.m4: Rebuild. + * configure: Rebuild. + * Makefile.in: Rebuild. + +Mon Feb 15 18:21:48 1999 Vladimir N. Makarov <vmakarov@cygnus.com> + + * ldexp.h (struct etree_value_type): Change valid onto valid_p. + + * ldexp.c (new_abs): Ditto. + (new_rel, new_rel_from_section, fold_binary, invalid, fold_name, + exp_fold_tree, exp_binop, exp_trinop, stat_alloc, + exp_get_abs_int): Ditto + + * ldlang.c (print_assignment, lang_size_sections, + lang_do_assignments): Ditto. + +1999-02-11 Nick Clifton <nickc@cygnus.com> + + * ldlang.c (lang_check_section_addresses): New function: Check + addresses assigned to section for overlaps. + (lang_process): Call lang_check_section_addresses if suitable. + + * ld.h: Add new boolean field to args_type structure: + 'check_section_addresses'. + + * ldmain.c: Initialise check_section_addresses field to true. + + * lexsup.c: Add new command line options '--no-check-sections' and + '--check-sections'. + + * ld.texinfo: Document new command line options '--check-sections' + and '--no-check-sections'. + +1999-02-08 Nick Clifton <nickc@cygnus.com> + + * configure.tgt: Add support for StrongARM target. + +Wed Feb 3 19:41:01 1999 Ian Lance Taylor <ian@cygnus.com> + + * ldctor.c (ldctor_build_sets): Just set SEC_KEEP once. Check for + an owner of a section before using it to look up a reloc type. + Don't set SEC_KEEP for the absolute section. + +Mon Feb 1 11:39:46 1999 Catherine Moore <clm@cygnus.com> + + * Makefile.am (earmelf_oabi.o): New. + * Makefile.in: Regenerate. + * configure.tgt (arm-*-oabi): New. + (thumb-*-oabi): New. + * emulparams/armelf_oabi.sh: New. + * emultempl/armelf_oabi.em: New. + +1999-01-31 17:57:31 1998 Michael Meissner <meissner@cygnus.com> + + * scripttempl/elfppc.sc: Add support for -fleading-underscores + switch in all linker generated symbols. + + * configure.tgt (powerpc{,le}*-*-vxworks): Add as aliases for + powerpc{,le}-*-eabi. + +Wed Jan 20 17:01:48 1999 Ian Lance Taylor <ian@cygnus.com> + + * configure.tgt (i[3456]86-*-solaris2*): New target. From Pavel + Roskin <pavel_roskin@geocities.com>. + +1999-01-19 Nick Clifton <nickc@cygnus.com> + + * ldlang.c (lang_size_sections): Count loadable sections as + contributing to the size of the current segment. + +1999-01-15 Nick Clifton <nickc@cygnus.com> + + * ldlang.c (lang_size_sections): Only update the current + address of a region if the section just placed into it is an + allocated section. + +1999-01-12 Nick Clifton <nickc@cygnus.com> + + * Makefile.am: Replace efr30.o with eelf32fr30.o. + * Makefile.in: Regenerate. + + * configure.tgt: Replace fr30 with elf32fr30. + + * emulparams/elf32fr30.sh: New file: Replaces fr30.sh, and uses + generic elf.sc script. Also replaces the .stack section with a + user definable symbol __stack. + +1999-01-11 Nick Clifton <nickc@cygnus.com> + + * scripttempl/fr30.sc: Fill .init and .fini sections with NOP + pattern. + +1999-01-03 Ken Raeburn <raeburn@cygnus.com> + + * Makefile.am (check-DEJAGNU): No longer provide HOSTING_EMU, + HOSTING_CRT0, HOSTING_LIBS; the test suite can extract them from + configure.host and configure.tgt now. + * Makefile.in: Rebuild. + +1998-12-27 Ulrich Drepper <drepper@cygnus.com> + + * lexsup.c (parse_args, case OPTION_RPATH): Avoid adding duplicate + elements to rpath. + +Thu Dec 10 11:12:28 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> + + * Makefile.am (ALL_EMULATIONS): Remove pe-dll.o and deffilep.o. + (ALL_EMUL_EXTRA_OFILES): New variable. Put them here instead. + * configure.in: Set EMUL_EXTRA_OFILES to $(ALL_EMUL_EXTRA_OFILES) + if configuring with all targets. + * configure, Makefile.in, aclocal.m4: Rebuild. + + * emultempl/pe.em (pe_enable_stdcall_fixup): Make static. + (pe_dll_do_default_excludes): Removed, unused. + (pe_def_file, pe_dll_export_everything, pe_dll_kill_ats, + pe_dll_stdcall_aliases): Don't initialize them, this file may be + compiled more than once. + * pe-dll.c (pe_def_file, pe_dll_export_everything, + pe_dll_do_default_excludes, pe_dll_kill_ats, + pe_dll_stdcall_aliases): Define and initialize them here instead. + (generate_reloc): Fix allocation of reloc_addresses array to use + bfd_vma instead of unsigned long. Fix element size in qsort call. + (reloc_sort): Compare pointers to bfd_vma instead of unsigned + long. + +Mon Dec 7 21:10:09 1998 J.J. van der Heijden <j.j.vanderheijden@student.utwente.nl> + + * configure.tgt (i[3456]86-*-mingw32*): Add cygwin target specific + files. + +Sun Dec 6 16:33:33 1998 Ian Lance Taylor <ian@cygnus.com> + + * configure.tgt (m68*-*-gnu*): New target. From Aymeric Vincent + <aymeric.vincent@emi.u-bordeaux.fr>. + +1998-12-04 Nick Clifton <nickc@cygnus.com> + + * emulparams/fr30.sh (TEXT_START_ADDR): Change TEXT_START_ADDR + from 0x100000 to 0x10000 so that it fits in 20 bits. + +Sat Nov 28 22:32:20 1998 Ian Lance Taylor <ian@cygnus.com> + + * ldemul.h (ldemul_recognized_file): Declare. + +Sat Nov 28 22:30:55 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> + + * ldlang.c (lang_add_wild): Don't pretend that there is an input + file if the filename is a wildcard pattern. + +1998-11-25 DJ Delorie <dj@cygnus.com> + + * ldemul.h (ld_emulation_xfer_struct): new hook "recognized_file" + * ldemul.c (ldemul_recognized_file): new function, new hook + * ldint.texinfo: document new hook. + * ldlang.c (load_symbols): call recognized_hook for all objects we + do recognize, in case the emulation needs to handle them + specially. PE DLLs use this. + * pe-dll.c (pe_dll_generate_def_file): take out hack and debug + printfs + * emultempl/pe.em (gld_i386_recognized_file): new function + (gld_i486_unrecognized_file): take out hack + +1998-11-23 DJ Delorie <dj@cygnus.com> + + * pe-dll.c (fill_edata): fill in timestamp + (make_head): name object files sequentially to ensure + they link in the right order. + (make_tail): same here + (pe_process_import_defs): use sequential names for bfds to ensure + proper link order. + (pe_implied_import_dll): new function; handles linking directly + against DLLs by simulating IMPORTS directives. * emultempl/pe.em + (gld_i386pe_before_parse): hack bfd to not recognize .dll files + via bfd_pe_dll_not_recognized_hack + +1998-11-23 DJ Delorie <dj@cygnus.com> + + * emultempl/pe.em (gld_i386pe_parse_args): Conditionalize call to + pe_dll_add_excludes + +Mon Nov 23 14:36:18 1998 Nick Clifton <nickc@cygnus.com> + + * emultempl/pe.em (after_parse): Only create an undefined entry + symbol if one has been specified. + +1998-11-23 DJ Delorie <dj@cygnus.com> + + * emultempl/pe.em (gld_i386pe_after_open): call + pe_process_import_defs + * pe-dll.c (pe_dll_generate_def_file): calculate BASE from + pe_data, only print if actually set. Print version only if + set. + (save_relocs): save relocs for both input and output. + (make_one): support internal/external different names. + (pe_dll_generate_implib): support new make_one + (pe_process_import_defs): new function; handles IMPORT + directives in .def files. + +Fri Nov 20 13:06:49 1998 Nick Clifton <nickc@cygnus.com> + + * ldmisc.c (vfinfo): Cope with empty symbol names. + +Thu Nov 19 13:31:15 1998 Nick Clifton <nickc@cygnus.com> + + * scripttempl/pe.sc: Add provision of '_end' symbol. + +Wed Nov 18 18:18:43 1998 Geoffrey Noer <noer@cygnus.com> + + * configure.tgt: change refs from cygwin32* to cygwin*. + * aclocal.m4: regenerate + * configure.in: don't need to call AM_CYGWIN32. + * configure: regenerate + +Mon Nov 16 22:14:07 1998 DJ Delorie <dj@cygnus.com> + + * emultempl/pe.em (gld_i386_finish): generate import library + * deffile.h: add hint member. + * pe-dll.c (pe_dll_generate_implib): New function with helpers; + generates the import library directly from the export table. + (fill_edata): remember the actual hint for the import library. + +Sat Nov 14 14:36:24 1998 Ian Lance Taylor <ian@cygnus.com> + + * ld.1: Some cleanups from NOKUBI Hirotaka <hnokubi@yyy.or.jp>. + +Thu Nov 12 19:21:57 1998 Dave Brolley <brolley@cygnus.com> + + * po/ld.pot: Regenerated. + * po/POTFILES.in: Regenerated. + * configure: Regenerated. + * aclocal.m4: Regenerated. + * Makefile.in: Regenerated. + +Wed Nov 11 18:10:15 1998 DJ Delorie <dj@cygnus.com> + + * pe-dll.c (generate_reloc): don't output PE relocs for sections + that won't be loaded. + +Wed Nov 11 13:44:54 1998 DJ Delorie <dj@cygnus.com> + + * pe-dll.c (fill_edata): don't strip underscores + +Tue Nov 10 21:28:19 1998 DJ Delorie <dj@cygnus.com> + + * ld.texinfo: added i386pe option summary + +Tue Nov 10 17:53:17 1998 DJ Delorie <dj@cygnus.com> + + * pe-dll.c (process_def_file): properly note undefined exported + symbols, clean up old code. + (pe_dll_generate_def_file): don't crash if pe_def_file is NULL + * emultempl/pe.em (gld_i386_parse_args): add + (en/dis)able-stdcall-fixups + (pe_fixup_stdcalls): warn about stdcall fixups + (gld_i386_unrecognized_file): make exported symbols undefs so that + archive members get pulled in + +Tue Nov 10 14:50:51 1998 Catherine Moore <clm@cygnus.com> + + * scripttempl/elfd10v.sc: Add KEEP attribute to .init, + .fini, .dtors and .ctors. Add .data and .text + wildcards to support section garbage collection. + +Mon Nov 9 22:52:50 1998 DJ Delorie <dj@indy.delorie.com> + + * deffilep.y: properly handle relocs with multiple def_files, + cache import module names + +Mon Nov 9 22:44:58 1998 DJ Delorie <dj@cygnus.com> + + * pe-dll.c (process_def_file): don't assume exports won't move + during a realloc + +Mon Nov 9 16:41:30 1998 DJ Delorie <dj@cygnus.com> + + * pe-dll.c: New file; direct support for PE DLLs + * deffile.h: New file; direct support for PE DLLs + * deffilep.y: New file; direct support for PE DLLs + * emultempl/pe.em: add direct support for PE DLLs + * configure.tgt: allow target-specific extra files + * configure.in: allow target-specific extra files + * ldlang.c (lang_add_assignment): return the assignment so that + one can change the value later based on the object files (pe-dll + DEF files do this) + * ldint.texinfo: add section for emulation walkthrough + * Makefile.am: add new files and target-specific extra files + * emultempl/pe.em (gld_i386_list_options): list dll-specific + options. + * pe-dll.c (process_def_file): auto-export everything if + nothing is otherwise exported. + +Wed Nov 4 16:39:18 1998 Nick Clifton <nickc@cygnus.com> + + * Makefile.am: Add support for FR30 target. + * configure.tgt: Add support for FR30 target. + * Makefile.in: Regenerate. + * emulparams/fr30.sh: New file. + * scripttemp/fr30.sc: New file. + +Mon Nov 2 14:47:15 1998 Catherine Moore <clm@cygnus.com> + + * ldmain.c (main): Don't report error for dynamic links and + --gc-sections. + +1998-10-26 16:05 Ulrich Drepper <drepper@cygnus.com> + + * lexsup.c (ld_options): Change text of -O to Optimize output file". + (parse_args): Set link_info.optimize based on -O argument. + * ldmain.c (main): Initialize link_info.optimze to false. + * ld.texinfo: Describe -O option. + * ld.1: Likewise. + +Mon Oct 12 14:29:56 1998 Nick Clifton <nickc@cygnus.com> + + * scripttempl/v850.sc: Move .sbss and .scommon sections into their + own segment, so that they can be next to the .bss section and so + initialised by the same piece of code. + +Fri Oct 9 15:59:52 1998 Catherine Moore <clm@cygnus.com> + + * scripttempl/elf.sc: Merge .sdata.* etc sections. + * ldctor.c (ldctor_build_sets): Set SEC_KEEP for + ctor sections. + +Mon Oct 5 09:40:43 1998 Catherine Moore <clm@cygnus.com> + + * ldmain.c (main): Error if --gc-sections and + dyanmic linking. + * scripttempl/v850.sc: Add KEEP attribute to .init, + .fini, .dtors and .ctors. Add .data and .text + wildcards to support section garbage collection. + +Wed Sep 30 11:19:15 1998 Nick Clifton <nickc@cygnus.com> + + * scripttempl/v850.sc: Rename .call_table section to + .call_table_data and create a new section called + .call_table_text. + +Sun Sep 20 00:43:26 1998 Ian Lance Taylor <ian@cygnus.com> + + * scripttempl/elf.sc: Add alignment at the end of the .bss + section, so that it is included in the memsize of the segment. + +Fri Sep 18 13:42:42 1998 Catherine Moore <clm@cygnus.com> + + * emultempl/elf32.em (gld_place_orphan): Don't process for + sections with SEC_EXCLUDE flag. + +Fri Sep 4 09:24:02 1998 Nick Clifton <nickc@cygnus.com> + + * emulparams/d30velf.sh (TEXT_SIZE): Increased to 2000K. + (DATA_SIZE): Increased to 2000K. + +Thu Sep 3 17:30:58 1998 Richard Henderson <rth@cygnus.com> + + * emulparams/d10velf.sh (TEMPLATE_NAME): Use elf32. + +Mon Aug 31 01:06:00 1998 Catherine Moore <clm@cygnus.com> + + * Makefile.am: Change armelf.sc to elf.sc + * Makefile.in: Regenerate. + +Mon Aug 31 11:12:04 1998 Catherine Moore <clm@cygnus.com> + + * emulparams/armelf.sh: Change SCRIPT_NAME to + elf. Change TEXT_START_ADDR to 0x8000. Define + OTHER_TEXT_SECTIONS, OTHER_BSS_SYMBOLS and + OTHER_BSS_END_SYMBOLS. + * scripttempl/elf.sc: Modify to use + OTHER_BSS_END_SYMBOLS. + * scripttempl/elfarm.sc: Remove file. + +Tue Aug 18 12:05:34 1998 Catherine Moore <clm@cygnus.com> + + * emultempl/armelf.em (gld_armelf_before_allocation): + Add bfd_ prefix to elf32_arm_process_before_allocation + and elf32_arm_allocate_interworking_sections. + (gld_armelf_after_open): Add bfd_ prefix to + elf32_arm_get_bfd_for_interworking. + +Fri Aug 14 15:34:29 1998 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.am: Rebuild dependencies. + * Makefile.in: Rebuild. + + * ldgram.y: Include "ldctor.h". + (statement): Accept SORT around CONSTRUCTORS. + * ldctor.c: Include <ctype.h>. + (constructors_sorted): New global variable. + (ctor_prio, ctor_cmp): New static functions. + (ldctor_build_sets): Sort constructors if requested. + * ldctor.h (constructors_sorted): Declare. + * ldlang.c (print_statement): Print sorted CONSTRUCTORS + correctly. + * scripttempl/elf.sc: Add sort around CONSTRUCTORS. + * ld.texinfo (Output Section Keywords): Document SORT + (CONSTRUCTORS). + +Thu Aug 13 12:20:39 1998 Catherine Moore <clm@cygnus.com> + + * emulparams/armelf.sh: Define TEMPLATE_NAME to armelf. + * scripttempl/elfarm.sc: Include .glue_7t and .glue7 + sections. + * emultempl/armelf.em: New file. + +Thu Aug 13 12:52:45 1998 H.J. Lu <hjl@gnu.org> + + * Makefile.am (ld.dvi): Use " instead of ' for MAKEINFO. + * Makefile.in: Rebuild. + +Tue Aug 11 16:17:01 1998 Catherine Moore <clm@cygnus.com> + + * scripttempl/elfarm.sc: Change text start address + back to zero. + +Tue Aug 11 10:01:12 1998 Jeffrey A Law (law@cygnus.com) + + * emulparms/mn10200.sh (MAX_PAGESIZE): Define to 1. + * emulparms/mn10300.sh (MAX_PAGESIZE): Define to 1. + +Sun Aug 9 20:31:27 1998 Catherine Moore <clm@cygnus.com> + + * scripttempl/elfarm.sc: Set text start address to + 0x8000. Add __bss_end definition. + +Sat Aug 1 11:47:37 1998 Catherine Moore <clm@cygnus.com> + + * scripttempl/elfarm.sc: New file. + * emulparams/armelf.sh: Set SCRIPT_NAME to elfarm. + +Fri Jul 31 15:56:16 1998 Catherine Moore <clm@cygnus.com> + + * emulparams/armelf.sh: New file. + * configure.tgt: Recognize thumb-elf and arm-elf. + * Makefile.am (earmelf.o): New. + * Makefile.in: Rebuild. + +Fri Jul 24 12:00:57 1998 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.am (install-exec-local): Don't remove the file before + checking whether $(bindir) == $(tooldir)/bin. From Maciej + W. Rozycki <macro@ds2.pg.gda.pl>. + * Makefile.in: Rebuild. + + * configure.tgt: Recognize h8[35]00*-coff* as well as -hms*. + +Thu Jul 23 11:15:12 1998 Ian Lance Taylor <ian@cygnus.com> + + * scripttempl/aout.sc: If ALIGNMENT is defined, use it to set + alignment of end symbol. + * scripttempl/elf.sc: Likewise. + * emulparams/sun4.sh (ALIGNMENT): Define. + * emulparams/elf32_sparc.sh (ALIGNMENT): Define. + * ldint.texinfo (emulation parameters): Document ALIGNMENT. + + * lexsup.c (parse_args): Add missing break statement. + + * ldlang.c (lang_gc_sections_1): Add default case to switch to + avoid warnings. + +Tue Jul 14 15:42:17 1998 Richard Henderson <rth@cygnus.com> + + * configure.tgt (i?86-*-beos{pe,elf,}*): Recognize. + * Makefile.am (ei386beos.o): New. + * emulparams/i386beos.sh: New file. + * emultempl/beos.em, scripttempl/i386beos.sc: New file. + +Tue Jul 14 15:35:42 1998 Richard Henderson <rth@cygnus.com> + + * lexsup.c: New option --version-exports-section. + * ld.h (struct args_type): Add version_exports_section. + * ldlang.c (lang_do_version_exports_section): New function. + (lang_process): Call it. + +Mon Jul 13 13:20:23 1998 Steve Chamberlain <sac@transmeta.com> + + * ldlex.l: Accept ASSERT. + * ldgram.y (exp): Add ASSERT_K case. + * ldexp.h (node_type): Add etree_assert to node_class enum. + (etree_type): Add assert_s field. + (exp_assert): Declare. + * ldexp.c (exp_fold_tree): Handle etree_assert. + (exp_assert): New function. + (exp_print_tree): Handle etree_assert. + * ld.texinfo (Miscellaneous Commands): Document ASSERT. + +Wed Jul 8 14:03:12 1998 Ian Lance Taylor <ian@cygnus.com> + + * ldgram.y: Change MAX to MAX_K and MIN to MIN_K, to avoid + conflicts with system header files. Change all uses. + + * Makefile.am (MAINTAINERCLEANFILES): Define. + * Makefile.in: Rebuild. + +Tue Jul 7 18:03:22 1998 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.am (ldver.texi): New target. + (ld.info, ld.dvi): Depend upon ldver.texi. + * ld.texinfo: Include ldver.texi. Mention version number on title + page and in top node. + * Makefile.in: Rebuild. + +Mon Jul 6 14:55:13 1998 Ian Lance Taylor <ian@cygnus.com> + + * configure.tgt (i[3456]86-*-solaris*): New target. + +Fri Jul 3 14:19:06 1998 Ian Lance Taylor <ian@cygnus.com> + + * ldlang.c (wild_section): Don't get an assertion failure if the + section is discarded. + + * scripttempl/pe.sc: Use SORT to sort sections appropriately. + * emultempl/pe.em (sort_by_file_name): Remove. + (sort_by_section_name): Remove. + (sort_sections_1, sort_sections): Remove. + (gld_${EMULATION_NAME}_before_allocation): Don't call + sort_sections. + (hold_section, hold_section_name): New static variables. + (hold_use, hold_text, hold_rdata, hold_data, hold_bss): Likewise. + (gld_${EMULATION_NAME}_place_orphan): Rewrite. Look for a good + place to put the section. Align the section. Sort the input + sections by name. + (gld_${EMULATION_NAME}_place_section): New static function. + + * ldlang.c (wild_sort): When sorting by file name, sort by archive + name first. + + * emultempl/pe.em (set_pe_subsystem): Don't call + ldlang_add_undef. + (gld_${EMULATION_NAME}_after_parse): New static function. + (ld_${EMULATION_NAME}_emulation): Use new after_parse function + rather than after_parse_default. + + * ldgram.y (extern_name_list): Do not require symbols to be + separated by commas. + (ifile_p1): Add EXTERN. + * ldlex.l: Accept EXTERN in BOTH and SCRIPT mode as well as MRI + mode. + * ld.texinfo (Options): Mention that EXTERN is equivalent to -u. + (Miscellaneous Commands): Document EXTERN. + +Wed Jul 1 19:40:34 1998 Richard Henderson <rth@cygnus.com> + + * ld.h (args_type): Add gc_sections. + * ldgram.y (ldgram_had_keep, KEEP): New. + (input_section_spec_no_keep): Rename from old input_section_spec. + (input_section_spec): New. Recognize KEEP. + * ldlang.c (wild_section): Handle keep sections. + (lang_gc_wild_section, lang_gc_wild_file, lang_gc_wild): New. + (lang_gc_sections_1, lang_gc_sections): New. + (lang_process): Invoke lang_gc_sections. + (lang_add_wild): Add keep argument. Update all callers. + * ldlang.h (lang_wild_statement_struct): Add keep_sections. + * ldlex.l (KEEP): Match it. + * ldmain.c (main): Error on -r and --gc-sections. + * lexsup.c: Add --gc-sections. + + * scripttempl/elf.sc: Merge .text.* etc sections appropriately. + Mark startup sections with KEEP. + * scripttempl/elfppc.sc: Likewise. + + * ld.texinfo: Update for --gc-sections and KEEP. + +Wed Jul 1 15:21:20 1998 Ian Lance Taylor <ian@cygnus.com> + + From Peter Jordan <pjordan@chla.usc.edu>: + * scripttempl/i386go32.sc: Correct constructor handling for -u. + +Tue Jun 23 15:17:27 1998 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.am (install-data-local): Make ldscripts subdirectory. + * Makefile.in: Rebuild. + +Tue Jun 23 15:17:04 1998 Mike Stump <mrs@wrs.com> + + * Makefile.am (install-exec-local): Don't let EXEEXT interfere + with the program transform name. + * Makefile.in: Rebuild. + +Sun Jun 21 23:55:16 1998 Jeffrey A Law (law@cygnus.com) + + * ld.texinfo: Note that -relax may make symbolic debugging + impossible on some platforms. + +Tue Jun 16 12:51:13 1998 Geoff Keating <geoffk@ozemail.com.au> + + * Makefile.am (Makefile): Remove target. + (config.status): New target. + * Makefile.in: Rebuild. + + * configure.host (powerpc*-*-linux-gnu*): New host. + +Fri Jun 12 17:38:07 1998 Doug Evans <devans@seba.cygnus.com> + + * scripttempl/elf.sc (INPUT_FILES): Optional INPUT spec. + + * emulparams/m32relf.sh (OTHER_RELOCATING_SECTIONS): Change top of + stack to 8MB. + +Fri Jun 12 19:33:17 1998 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.am (HFILES): Remove config.h. + (EMULATION_OFILES, POTFILES): Move patch of May 14 from + Makefile.in to Makefile.am. + (earmcoff.c): Depend upon armcoff.em, not generic.em. + * po/Make-in (all-yes): Correct misspelling in $(PACKAGE). + ($(srcdir)/$(PACKAGE).pot): Pass -C to $(XGETTEXT). + * Makefile.in, po/POTFILES.in, po/ld.pot: Rebuild. + +Fri Jun 12 13:43:17 1998 Tom Tromey <tromey@cygnus.com> + + * po/Make-in (all-yes): If maintainer mode, depend on .pot file. + ($(PACKAGE).pot): Unconditionally depend on POTFILES. + +Tue Jun 9 09:36:48 1998 Nick Clifton <nickc@cygnus.com> + + * ldlang.c (lang_finish): Add CONST type modifier to declaration + of 'send'. + +Fri Jun 5 18:19:59 1998 Ian Lance Taylor <ian@cygnus.com> + + * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Set + config.has_shared to true. + * emultempl/linux.em (gld${EMULATION_NAME}_before_parse): + Likewise. + * emultempl/sunos.em (gld${EMULATION_NAME}_before_parse): + Likewise. + +Tue Jun 2 12:55:03 1998 Ian Lance Taylor <ian@cygnus.com> + + * ldlang.c (lang_finish): If the entry symbol is not found, try + parsing it as a number. + * ld.texinfo (Options): Document this. + +Mon Jun 1 14:01:20 1998 Ian Lance Taylor <ian@cygnus.com> + + * ld.texinfo (Input Section Wildcards): Document SORT keyword. + +Mon May 18 12:42:53 1998 Doug Evans <devans@canuck.cygnus.com> + + * ld.h (ld_config_type): New member has_shared. + * ldmain.c (main): Initialize it. + * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set it. + * lexsup.c (parse_args): Treat -shared as error if not supported. + +Mon May 18 13:14:43 1998 Ian Lance Taylor <ian@cygnus.com> + + From Jason Merrill <jason@cygnus.com>: + * ldlang.c (wild_sort): Correct order of sort. + * scripttempl/elf.sc: Put *crtbegin.o before other .ctors and + .dtors. + * scripttempl/elfd10v.sc: Likewise. + * scripttempl/elfd30v.sc: Likewise. + * scripttempl/elfppc.sc: Likewise. + +Fri May 15 00:22:35 1998 Ian Lance Taylor <ian@cygnus.com> + + * ldlex.l: Recognize keyword SORT. + * ldgram.y (current_file): Change to struct wildcard_spec. + (%union): Add new fields cname and wildcard. + (wildcard_name, wildcard_spec): New nonterminals. + (file_NAME_list): Use wildcard_spec. + (input_section_spec): Change current_file usage. + * ld.h (struct wildcard_spec): Define. + * ldlang.h (lang_wild_statement_struct): Add new fields + sections_sorted and filenames_sorted. + (lang_add_wild): Update declaration. + * ldlang.c (wild_sort): New static function. + (wild_section): Use wild_sort. + (print_wild_statement): Print sorting information. + (lang_add_wild): Add new parameters sections_sorted and + filenames_sorted. Change all callers. + * mri.c (mri_draw_tree): Update calls to lang_add_wild. + * scripttempl/elf.sc: Sort .ctors.* and .dtors.* by section name. + * scripttempl/elfd10v.sc: Likewise. + * scripttempl/elfd30v.sc: Likewise. + * scripttempl/elfppc.sc: Likewise. + +Thu May 14 18:39:16 1998 Richard Henderson <rth@cygnus.com> + + * emulparams/m32relf.sh (TEMPLATE_NAME): Define. + +Thu May 14 14:51:24 1998 Nick Clifton <nickc@cygnus.com> + + * ldemul.h: Add new prototype: ldemul_list_emulation_options. + (ld_emulation_xfer_struct): Add new field: list_options. + * ldemul.c (ldemul_list_options): New function. Call the + list_options field of the ld_emulation_xfer_struct for each + supported emulation, if such a function is present. + * lexsup.c (help): Call ldemul_list_emulation_options. + * emultempl/pe.em (gld_<>_list_options): New function. Describe + the pe emulation specific command line options. + * emultempl/armcoff.em (gld<>_list_options): New function. + Describe the armcoff emulation specific command line options. + + * emultempl/pe.em: Add a new command line option: + --support-old-code. + * emultempl/armcoff.em: Ditto. + * ld.texinfo: Document the --support-old-code option. + + * Makefile.in: Add emulation files for POTFILES.in target. + * emultempl/pe.em: Internationalise suitable strings. + * emultempl/armcoff.em: Internationalise suitable strings. + * po/POTFILES.in: Rebuilt. + +Sun May 10 22:36:30 1998 Jeffrey A Law (law@cygnus.com) + + * po/Make-in (install-info): New target. + +Tue Apr 28 19:18:30 1998 Tom Tromey <tromey@cygnus.com> + + * ldmain.c (main): Conditionally call setlocale. + * ld.h: Include <locale.h> if HAVE_LOCALE_H. + (LC_MESSAGES): Now can be defined even when ENABLE_NLS. + +Mon Apr 27 11:56:21 1998 Ian Lance Taylor <ian@cygnus.com> + + * configure.in: Change version number to 2.9.4 + * configure: Rebuild. + + * ld.texinfo (Options) [-rpath-link]: Mention ld.so.conf. + + Based on patch from H.J. Lu <hjl@gnu.org>: + * emultempl/elf32.em (global_vercheck_needed): New file static + variable. + (global_vercheck_failed): New file static variable. + (gld${EMULATION_NAME}_after_open): Check for shared libraries + twice, once with force set to 0 and once with it set to 1. + (gld${EMULATION_NAME}_check_ld_so_conf): Add force parameter. + Change all callers. + (gld${EMULATION_NAME}_search_needed): Likewise. + (gld${EMULATION_NAME}_try_needed): Likewise. If not force, check + whether the libraries needs any incompatible versions. + (gld${EMULATION_NAME}_vercheck): New static function. + +Wed Apr 22 16:01:35 1998 Tom Tromey <tromey@cygnus.com> + + * po/Make-in (MKINSTALLDIRS): Don't look in $(top_srcdir). + +Wed Apr 22 12:40:56 1998 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.am (check-DEJAGNU): Add $(INTLLIBS) to LIBIBERTY when + invoking runtest. + * Makefile.in: Rebuild. + + * lexsup.c (parse_args): Change -l options into --library options + to avoid confusion between -li and -library. + + * ld.texinfo (MEMORY): Clarify use of >REGION. + +Tue Apr 21 23:12:40 1998 Tom Tromey <tromey@scribbles.cygnus.com> + + * Many files: Added gettext invocations around user-visible + strings. + * ld.h: Added gettext-related includes and defines. + * ldmain.c: Call setlocale, bindtextdomain, textdomain. + * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY, + HAVE_LC_MESSAGES): Define. + * configure.in: Call CY_GNU_GETTEXT. Create po/Makefile.in and + po/Makefile. Use AM_PROG_LEX. + (TDIRS): AC_SUBST early on, to avoid having value split when it + happens to cross line 90 of the generated sed script. + * Makefile.am (SUBDIRS): New macro. + (POTFILES): Likewise. + (po/POTFILES.in): New target. + (ld_new_LDADD): Added INTLLIBS. + (ld_new_DEPENDENCIES): Added INTLDEPS. + * po/Make-in, po/POTFILES.in, po/gas.pot: New files. + +Tue Apr 21 23:07:07 1998 Ian Lance Taylor <ian@cygnus.com> + + * ld.texinfo (Simple Example): Rewrite a few things as suggested + by Nick Clifton <nickc@cygnus.com>. + (PROVIDE): Likewise. + +Tue Apr 21 09:55:06 1998 Nick Clifton <nickc@cygnus.com> + + * emultempl/pe.em: Rename external arm interworking functions + to conform to BFD naming conventions. Add code to _after_open() + function to obtain a bfd for use by the interworking code. + + * emultempl/armcoff.em: Rename external arm interworking functions + to conform to BFD naming conventions. Add new _after_open() + function to obtain a bfd for use by the interworking code. + +Sun Apr 19 19:23:09 1998 Richard Henderson <rth@cygnus.com> + + * ldlang.c (lang_size_sections) [case lang_assignment_statement_enum]: + Update dot and the default memory section even when relaxing. + +Sat Apr 18 18:41:12 1998 Richard Henderson <rth@cygnus.com> + + * ldlang.c (lang_one_common): Manipulate the section's cooked size + rather than its raw size. + +Tue Apr 7 13:35:29 1998 H.J. Lu <hjl@gnu.org> + + * configure.in (TESTBFDLIB): New. Defined and substituted. + * Makefile.am (TESTBFDLIB): Changed to @TESTBFDLIB@. + * configure, Makefile.in: Rebuild. + +Mon Apr 6 15:33:39 1998 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.am (ld.info): Invoke makeinfo with -I options directly + rather than relying on default rule. Don't depend upon + bfdsumm.texi. + (ld.dvi): Likewise. + (bfdsumm.texi): Remove target. + (CLEANFILES): Take bfdsumm.texi out of value. + * Makefile.in: Rebuild. + +Sun Apr 5 13:07:57 1998 Ian Lance Taylor <ian@cygnus.com> + + * scripttempl/pe.sc: Use shell variables to avoid depending upon + how $ is handled when expanding a shell substitution. + +Fri Apr 3 00:56:50 1998 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.am (MOSTLYCLEANFILES): Add ld.log and ld.sum. + (DISTCLEANFILES): Add site.exp and site.bak. + * Makefile.in: Rebuild. + + * configure.in: Put the tdirs in a file and use AC_SUBST_FILE, + rather than in a shell variable and using AC_SUBST. + * Makefile.am (DISTCLEANFILES): Remove ldscripts. Add tdirs. + (distclean-local): New target. + * configure, Makefile.in: Rebuild. + + * ld.texinfo: Completely rewrite linker script documentation. + +Mon Mar 30 12:47:33 1998 Ian Lance Taylor <ian@cygnus.com> + + * configure.in: Set version to 2.9.1. + * configure: Rebuild. + + * Branched binutils 2.9. + +Sat Mar 28 16:48:19 1998 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.am (MOSTLYCLEANFILES): Remove tmpdir. + (mostlyclean-local): New target to remove tmpdir. + * Makefile.in: Rebuild. + + Fix some gcc -Wall warnings: + * ldcref.c (output_cref): Add casts to avoid warnings. + * ldfile.c (ldfile_add_arch): Likewise. + * ldlang.c (lang_leave_overlay_section): Likewise. + * lexsup.c (OPTION_COUNT): Likewise. + (parse_args): Likewise. + * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): + Likewise. + * emultempl/sunos.em (gld${EMULATION_NAME}_search_dir): Likewise. + * ldlang.c (lang_check): Initialize variables to avoid warnings. + * ldwrite.c (build_link_order): Likewise. + * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Likewise. + * emultempl/armcoff.em (gld${EMULATION_NAME}_before_allocation): + Remove unused variables. + + * Makefile.am (MOSTLYCLEANFILES): Correct name (was + MOSTCLEANFILES). + * Makefile.in: Rebuild. + +Fri Mar 27 16:39:25 1998 Ian Lance Taylor <ian@cygnus.com> + + * emultempl/pe.em (gld_${EMULATION_NAME}_before_allocation): Put + ARM code inside ifdef TARGET_IS_armpe. + +Wed Mar 25 11:34:13 1998 Ian Lance Taylor <ian@cygnus.com> + + Based on patch from H.J. Lu <hjl@gnu.org>: + * Makefile.am (LDDISTSTUFF): New variable. + (diststuff): New target. + * Makefile.in: Rebuild. + + * scripttempl/pe.sc: Only include .idata\$[0-7] in .idata when + relocating. + +Tue Mar 24 15:59:29 1998 Nick Clifton <nickc@cygnus.com> + + * scripttempl/pe.sc (.text): Add .glue_7 and .glue_7t sections to + hold Arm/Thumb stubs. + + * emultempl/pe.em (gld_pe_before_allocation): Call + arm_process_before_allocation (for ARM/Thumb targets) in order to + gather interworking stb information. + +Mon Mar 23 18:54:15 1998 Joel Sherrill <joel@OARcorp.com> + + * configure.tgt: (sh*-*-rtems*): Switched from ELF to COFF. + +Fri Mar 20 19:17:13 1998 Ian Lance Taylor <ian@cygnus.com> + + * aclocal.m4, configure: Rebuild with libtool 1.2. + +Thu Mar 19 14:54:45 1998 Geoffrey Noer <noer@cygnus.com> + + * scripttempl/pe.sc: The Cygwin32 library uses a .data$nocopy + section to avoid copying certain data on fork. The linker used to + include this between __data_start__ and __data_end__, but that + breaks building the cygwin32 dll. The fix is to rename the + section ".data_cygwin_nocopy" and explictly include it after + __data_end__. + +Wed Mar 18 09:42:24 1998 Nick Clifton <nickc@cygnus.com> + + * configure.tgt (targ_extra_emuls): Add thumb-pe target. + +Sun Mar 8 23:34:14 1998 Stan Cox <scox@equinox.cygnus.com> + + * configure.tgt (sparclite*-*-elf): Added. + +Mon Mar 2 19:24:08 1998 Michael Meissner <meissner@cygnus.com> + + * ldlang.c (lang_size_sections): If the default memory region is + *default*, see if there is a memory region that could be used. + +Thu Feb 26 17:09:53 1998 Michael Meissner <meissner@cygnus.com> + + * scripttempl/elfd30v.sc: Add support for .eit_v section and put + it at 0xfffff020. + * emulparams/d30v{elf,_o,_e}.sh: Ditto. + +Mon Feb 23 17:46:51 1998 Ian Lance Taylor <ian@cygnus.com> + + * emultempl/pe.em (sort_sections): Permit the wildcard to include + a trailing '*' when sorting grouped sections. + * scripttempl/pe.sc: Include grouped sections using NAME\$*. Only + include them when relocating. + +Wed Feb 18 23:39:46 1998 Richard Henderson <rth@cygnus.com> + + * Makefile.am (install-exec-local): Install properly when ln + fails or tooldir == prefix. + +Fri Feb 13 15:24:06 1998 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.am (AUTOMAKE_OPTIONS): Define. + * configure, Makefile.in, aclocal.m4: Rebuild with automake 1.2e. + +Thu Feb 12 14:10:44 1998 Ian Lance Taylor <ian@cygnus.com> + + * scripttempl/elf.sc: Align the _end symbol according to the ELF + format size. From Gordon W. Ross <gwr@mc.com>. + + NetBSD patches from Gordon W. Ross <gwr@mc.com>: + * configure.host (alpha*-*-netbsd*): New host. + * configure.tgt (alpha*-*-netbsd*, powerpc-*-netbsd*): New + targets. + + * lexsup.c (help): Update bug-gnu-utils address. + * ld.texinfo (Bug Reporting): Likewise. + +Tue Feb 10 18:05:56 1998 Ian Lance Taylor <ian@cygnus.com> + + * ldlang.c (lang_size_sections): Warn if some memory regions were + defined, but a loadable section is going into the default memory + region. + +Tue Feb 10 16:17:20 1998 H.J. Lu <hjl@gnu.org> + + * ldlex.l (V_IDENTIFIER): Allow '.' as symbol prefix. + +Tue Feb 10 15:09:45 1998 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.am (Makefile): Add target, for dependencies on + configure.host and configure.tgt. + * configure.host, configure.tgt: Change -linux* to -linux-gnu*. + * Makefile.in: Rebuild. + +Mon Feb 9 13:44:40 1998 Andrew Cagney <cagney@b1.cygnus.com> + + * scripttempl/elfd10v.sc (.stack): Move stack to 0x00..7FFE. + + * emulparams/d10velf.sh (READONLY_START_ADDR): Read only section + moved to 0x00.....4. + +Sat Feb 7 15:41:26 1998 Ian Lance Taylor <ian@cygnus.com> + + * configure, aclocal.m4: Rebuild with new libtool. + +Thu Feb 5 12:16:11 1998 Ian Lance Taylor <ian@cygnus.com> + + * scripttempl/pe.sc: Remove ${RELOCATING-0} from all sections. + From Thomas de Lellis <tdel@wrs.com>. + + * configure, Makefile.in, aclocal.m4: Rebuild with new libtool. + +Wed Feb 4 13:02:32 1998 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.am (ld_new_LDADD): Remove @LEXLIB@. + * Makefile.in: Rebuild. + +Mon Feb 2 19:34:54 1998 Steve Haworth <steve@pm.cse.rmit.EDU.AU> + + Add tms320c30 support: + * configure.tgt (tic30-*-*aout*, tic30-*-*coff*): New targets. + * emulparams/tic30aout.sh: New file. + * emulparams/tic30coff.sh: New file. + * scripttempl/tic30aout.sc: New file. + * scripttempl/tic30coff.sc: New file. + * Makefile.am (ALL_EMULATIONS): Add etic30aout.o and + etic30coff.o. + (etic30aout.c, etic30coff.c): New targets. + * Makefile.in: Rebuild. + +Mon Feb 2 14:10:59 1998 Ian Lance Taylor <ian@cygnus.com> + + * configure.host: Correct HOSTING_CRT0 in alpha*-*-linux* case to + accept either ld.so or ld-linux.so. + +Fri Jan 30 19:16:28 1998 Doug Evans <devans@canuck.cygnus.com> + + * Makefile.am ({CC,CXX}_FOR_TARGET): Change program_transform_name + to transform. + * Makefile.in: Regenerate. + +Fri Jan 30 19:15:17 1998 Geoff Keating <geoffk@ozemail.com.au> + + * scripttempl/elfppc.sc: Put .dynsbss in .sbss. + +Fri Jan 30 11:43:49 1998 H.J. Lu <hjl@gnu.ai.mit.edu> + + * Makefile.am (eelf32bsmip.c, eelf32lsmip.c): New targets. + * Makefile.in: Rebuild. + +Thu Jan 29 16:04:21 1998 Mumit Khan <khan@xraylith.wisc.edu> + + * ldfile.c (slash): Set to backslash if _WIN32 but not + __CYGWIN32__. + (ldfile_open_file_search): If __MSDOS__ or _WIN32, accept a + leading backslash or a leading x: as an absolute path. + (ldfile_find_command_file): Use slash rather than / when + generating name to try. + * lexsup.c (PATH_SEPARATOR): Define. + (set_default_dirlist): Use PATH_SEPARATOR rather than ':'. + +Wed Jan 28 14:06:30 1998 Richard Henderson <rth@cygnus.com> + + * emulparams/elf64_sparc.sh (ELFSIZE): 64 + (TEXT_START_ADDR): Round off, since SIZEOF_HEADERS is added later. + (DATA_PLT): Needed by v9 abi. + +Wed Jan 28 16:37:27 1998 J.J. van der Heijden <J.J.vanderHeijden@student.utwente.nl> + + * configure.tgt (i[3456]86-*-mingw32*): New entry. + +Wed Jan 28 15:51:58 1998 Ian Lance Taylor <ian@cygnus.com> + + * scripttempl/elf.sc: Only include linkonce sections in final + sections when relocating. + +Wed Jan 28 14:10:01 1998 Ian Lance Taylor <ian@cygnus.com> + + * ld.texinfo (Options): Add a brief description of the types of + information included in a link map. + + * ld.texinfo (Options): Mention LDEMULATION in description of -m. + (Environment): Mention LDEMULATION. + + * ld.texinfo (Options): Clarify --export-dynamic a bit. + +Thu Jan 22 16:07:23 1998 Richard Henderson <rth@cygnus.com> + + * ldlex.l (<SCRIPT>{WILDCHAR}*): Take care for the comments this + pattern could match. + +Wed Jan 21 22:26:46 1998 Ian Lance Taylor <ian@cygnus.com> + + * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): When doing + a relocateable link, set the image base to 0, and don't define the + various symbols. + * emulparams/i386pe.sh (RELOCATEABLE_OUTPUT_FORMAT): Define. + * scripttempl/pe.sc: Swap the .data and .bss sections so that + .data comes first. If doing a relocateable link, use + RELOCATEABLE_OUTPUT_FORMAT if it is defined, and start the + sections at 0, and don't define any symbols. + + * ldlang.c (lang_memory_default): Correct parenthisization of + expression. + +Wed Jan 21 21:20:32 1998 Manfred Hollstein <manfred@s-direktnet.de> + + * emultempl/sunos.em: Don't include sys/types.h and sys/stat.h + here; they are included already via sysdep.h. + +Tue Jan 6 13:40:02 1998 Richard Henderson <rth@cygnus.com> + + * scripttempl/i960.sc: Don't explicitly set .data and .bss start. + +Fri Jan 2 20:15:37 1998 Michael Meissner <meissner@cygnus.com> + + * ldgram.y (attributes_opt): Pass region pointer to + lang_set_flags, not ®ion->flags. + + * ldlang.c (lang_memory_default): New function to figure out a + default memory region for a section if it was not specified. + (lang_memory_region_lookup): Zero flags, not_flags field. + (lang_map{,_flags}): Print attribute flags in memory map. + (lang_size_sections): Call lang_memory_default to get default + memory region. + (lang_set_flags): Implement attribute flags for real. Take new + argument to give the flags we are to skip for this region. + + * ldlang.h (memory_region_struct): Add not_flags field, make both + flags fields flagword type. + (lang_output_section_state): Make flags field flagword type. + (lang_set_flags): Update prototype to match new calling sequence. + (lang_memory_region_default): Add prototype. + + * emulparams/d30v{_e,_o,elf}.sh ({TEXT,DATA,EMEM}_DEF_SECTION): + Define whether or not the region gets default sections, and if so, + what sections. + + * scripttempl/elfd30v.sc (MEMORY): Set up which of the regions get + default sections. + +Thu Jan 1 22:58:04 1998 Michael Meissner <meissner@cygnus.com> + + * scripttempl/elfd30v.sc (.eh_frame): Link into the data section. + +Thu Jan 1 18:04:51 1998 Jeffrey A Law (law@cygnus.com) + + * scripttempl/h8300h.sc: Fix typo. + * scripttempl/h8300s.sc: Likewise. + +For older changes see ChangeLog-9197 + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 688049c..1d6aaa6 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -934,7 +934,7 @@ Mon Mar 6 19:52:05 2000 J"orn Rennecke <amylaar@cygnus.co.uk> ST2H, STB, STH, STHH, STW and ST2H opcodes to prohibit parallel procedure. -1999-12-30 Andrew Haley <aph@cygnus.com> +2000-02-22 Andrew Haley <aph@cygnus.com> * mips-dis.c (_print_insn_mips): New arg for OPCODE_IS_MEMBER: force gp32 to zero. @@ -1050,5455 +1050,11 @@ Thu Feb 17 00:18:12 2000 J"orn Rennecke <amylaar@cygnus.co.uk> (print_insn_big_arm): Check force_thumb. (print_insn_little_arm): Check force_thumb. -1999-12-27 Alan Modra <alan@spri.levels.unisa.edu.au> - - * i386-dis.c (grps[]): Correct GRP5 FF/3 from "call" to "lcall". - -Wed Dec 1 03:34:53 1999 Jeffrey A Law (law@cygnus.com) - - * m10300-opc.c, m10300-dis.c: Add am33 support. - -Wed Nov 24 20:29:58 1999 Jeffrey A Law (law@cygnus.com) - - * hppa-dis.c (unit_cond_names): Add PA2.0 unit condition names. - (print_insn_hppa): Handle 'B' operand. - -1999-11-22 Nick Clifton <nickc@cygnus.com> - - * d10v-opc.c: Fix pattern for "cpfg,f{0|1},c" instruction. - -1999-11-18 Gavin Romig-Koch <gavin@cygnus.com> - - * mips-opc.c (I5): New. - (abs.ps,add.ps,alnv.ps,c.COND.ps,cvt.s.pl,cvt.s.pu,cvt.ps.s - madd.ps,movf.ps,movt.ps,mul.ps,net.ps,nmadd.ps,nmsub.ps, - pll.ps,plu.ps,pul.ps,puu.ps,sub.ps,suxc1,luxc1): New. - -Mon Nov 15 19:34:58 1999 Donald Lindsay <dlindsay@cygnus.com> - - * arm-dis.c (print_insn_arm): Added general purpose 'X' format. - * arm-opc.h (print_insn_arm): Added comment documenting - the 'X' format just added to arm-dis.c. - -1999-11-15 Gavin Romig-Koch <gavin@cygnus.com> - - * mips-opc.c (la): Create a version that just uses addiu directly. - (dla): Expand to daddiu if possible. - -1999-11-11 Nick Clifton <nickc@cygnus.com> - - * mips-opc.c: Add ssnop pattern. - -1999-11-01 Gavin Romig-Koch <gavin@cygnus.com> - - * mips-dis.c (_print_insn_mips): Use OPCODE_IS_MEMBER. - -1999-10-29 Nick Clifton <nickc@cygnus.com> - - * d30v-opc.c (mvtacc): Use format SHORT_AR not SHORT_AA - (d30v_format_tab): Define the SHORT_AR format. - -1999-10-28 Nick Clifton <nickc@cygnus.com> - - * mcore-dis.c: Remove spurious code introduced in previous delta. - -1999-10-27 Scott Bambrough <scottb@netwinder.org> - - * arm-dis.c: Include sysdep.h to prevent compile time warnings. - -1999-10-18 Michael Meissner <meissner@cygnus.com> - - * alpha-opc.c (alpha_operands): Fill in missing initializer. - (alpha_num_operands): Convert to unsigned. - (alpha_num_opcodes): Ditto. - (insert_rba): Declare unused arguments ATTRIBUTE_UNUSED. - (insert_rca): Ditto. - (insert_za): Ditto. - (insert_zb): Ditto. - (insert_zc): Ditto. - (extract_bdisp): Ditto. - (extract_jhint): Ditto. - (extract_ev6hwjhint): Ditto. - -Sun Oct 10 01:48:01 1999 Jerry Quinn <jerry.quinn.adv91@alum.dartmouth.org> - - * hppa-dis.c (print_insn_hppa): Add new codes 'cc', 'cd', 'cC', - 'co', '@'. - - * hppa-dis.c (print_insn_hppa): Removed unused args. Fix '?W'. - - * hppa-dis.c (print_insn_hppa): Implement codes "?N", "?Q". - -Thu Oct 7 00:12:43 MDT 1999 Diego Novillo <dnovillo@cygnus.com> - - * d10v-opc.c (d10v_operands): Add RESTRICTED_NUM3 flag for - rac/rachi instructions. - (d10v_opcodes): Added seven new instructions ld, ld2w, sac, sachi, - slae, st and st2w. - -1999-10-04 Doug Evans <devans@casey.cygnus.com> - - * fr30-asm.c,fr30-desc.h: Rebuild. - * m32r-asm.c,m32r-desc.c,m32r-desc.h: Rebuild. Add m32rx support. - * m32r-dis.c,m32r-ibld.c,m32r-opc.c,m32r-opc.h,m32r-opinst.c: Ditto. - -1999-09-29 Nick Clifton <nickc@cygnus.com> - - * sh-opc.h: Fix bit patterns for several load and store - instructions. - -Thu Sep 23 08:27:20 1999 Jerry Quinn <jerry.quinn.adv91@alum.dartmouth.org - - * hppa-dis.c (print_insn_hppa): Replace 'B', 'M', 'g' and 'l' with - cleaner code using completer prefixes. Add 'Y'. - -Sun Sep 19 10:41:27 1999 Jeffrey A Law (law@cygnus.com) - - * hppa-dis.c: (print_insn_hppa): Correct 'cJ', 'cc'. - - * hppa-dis.c (extract_22): New function. - - * hppa-dis.c (print_insn_hppa): Handle 'J', 'K', and 'cc'. - - * hppa-dis.c (print_insn_hppa): Handle 'fe' and 'cJ'. - - * hppa-dis.c (print_insn_hppa): Handle '#', 'd', and 'cq'. - - * hppa-dis.c (print_insn_hppa): Handle 'm', 'h', '='. - - * hppa-dis.c (print_insn_hppa): Handle 'X' operand. - - * hppa-dis.c (print_insn_hppa): Handle 'B' operand. - - * hppa-dis.c (print_insn_hppa): Handle 'M' and 'L' operands. - - * hppa-dis.c (print_insn_hppa): Handle 'l' operand. - - * hppa-dis.c (print_insn_hppa): Handle 'g' operand. - -Sat Sep 18 11:36:12 1999 Jeffrey A Law (law@cygnus.com) - - * hppa-dis.c (print_insn_hppa): Output a space after 'X' completer. - - * hppa-dis.c: (print_insn_hppa): Do output a space before a 'v' - operand. - - * hppa-dis.c: (print_insn_hppa): Handle 'fX'. - - * hppa-dis.c: (print_insn_hppa): Add missing break after - FP register case. - - * hppa-dis.c: Finish constifying various completers, register - names, etc etc. - -1999-09-14 Michael Meissner <meissner@cygnus.com> - - * configure.in (Canonicalization of target names): Remove adding - ${CONFIG_SHELL} in front of $ac_config_sub, since autoconfig 2.14 - generates $ac_config_sub with a ${CONFIG_SHELL} already. - * configure: Regenerate. - -Tue Sep 7 13:50:32 1999 Jeffrey A Law (law@cygnus.com) - - * hppa-dis.c (print_insn_hppa): Escape '%' in output strings. - - * hppa-dis.c (print_insn_hppa): Handle 'Z' argument. - -1999-09-07 Nick Clifton <nickc@cygnus.com> - - * sh-opc.h: Add mulu.w and muls.w patterns. These are the correct - names for the mulu and muls patterns. - -1999-09-04 Steve Chamberlain <sac@pobox.com> - - * pj-opc.c: New file. - * pj-dis.c: New file. - * disassemble.c (disassembler): Handle bfd_arch_pj. - * configure.in: Handle bfd_pj_arch. - * Makefile.am: Rebuild dependencies. - (CFILES): Add pj-dis.c and pj-opc.c. - (ALL_MACHINES): Add pj-dis.lo and pj-opc.lo. - * configure, Makefile.in: Rebuild. - -1999-09-04 H.J. Lu <hjl@gnu.org> - - * i386-dis.c (print_insn_i386): Set bytes_per_line to 7. - -Mon Aug 30 18:56:14 1999 Richard Henderson <rth@cygnus.com> - - * alpha-opc.c (fetch, fetch_m, ecb, wh64): RA must be R31. - -1999-08-04 Doug Evans <devans@casey.cygnus.com> - - * fr30-asm.c,fr30-desc.h,fr30-dis.c,fr30-ibld.c,fr30-opc.c: Rebuild. - * m32r-asm.c,m32r-desc.h,m32r-dis.c,m32r-ibld.c,m32r-opc.c: Rebuild. - * m32r-opinst.c: Rebuild. - -Sat Aug 28 00:27:24 1999 Jerry Quinn <jquinn@nortelnetworks.com> - - * hppa-dis.c (print_insn_hppa): Replace 'f' by 'v'. Prefix float - register args by 'f'. - - * hppa-dis.c (print_insn_hppa): Add args q, %, !, and |. - - * hppa-dis.c (MASK_10, read_write_names, add_compl_names, - extract_10U_store): New. - (print_insn_hppa): Add new completers. - - * hppa-dis.c (signed_unsigned_names,mix_half_names, - saturation_names): New. - (print_insn_hppa): Add completer codes 'a', 'ch', 'cH', 'cS', and 'c*'. - - * hppa-dis.c (print_insn_hppa): Place completers behind prefix 'c'. - - * hppa-dis.c (print_insn_hppa): Add cases for '.', '~'. '$'. and '!' - - * hppa-dis.c (print_insn_hppa): Look at next arg instead of bits - to decide to print a space. - -1999-08-21 Alan Modra <alan@spri.levels.unisa.edu.au> - - * i386-dis.c: Add AMD athlon instruction support. - -1999-08-10 Ian Lance Taylor <ian@zembu.com> - - From Wally Iimura <iimura@microunity.com>: - * dis-buf.c (buffer_read_memory): Rewrite expression to avoid - overflow at end of address space. - (generic_print_address): Use sprintf_vma. - -1999-08-08 Ian Lance Taylor <ian@zembu.com> - - * Makefile.am: Rename .dep* files to DEP*. Change DEP variable to - MKDEP. Rebuild dependencies. - * Makefile.in: Rebuild. - -Fri Aug 6 09:46:35 1999 Jerry Quinn <jquinn@nortelnetworks.com> - - * hppa-dis.c (compare_cond_64_names, cmpib_cond_64_names, - add_cond_64_names, wide_add_cond_names, logical_cond_64_names, - unit_cond_64_names, shift_cond_64_names, bb_cond_64_names): New. - (print_insn_hppa): Add 64 bit condition completers. - -Thu Aug 5 16:59:58 1999 Jerry Quinn <jquinn@nortelnetworks.com> - - * hppa-dis.c (print_insn_hppa): Change condition args to use - '?' prefix. - -Wed Jul 28 04:33:58 1999 Jerry Quinn <jquinn@nortelnetworks.com> - - * hppa-dis.c (print_insn_hppa): Remove unnecessary test in 'E' - code. - -1999-07-21 Ian Lance Taylor <ian@zembu.com> - - From Mark Elbrecht: - * configure.bat: Remove; obsolete. - -1999-07-11 Ian Lance Taylor <ian@zembu.com> - - * dis-buf.c: Add ATTRIBUTE_UNUSED as appropriate. - (generic_strcat_address): Add cast to avoid warning. - * i386-dis.c: Initialize all structure fields to avoid warnings. - Add ATTRIBUTE_UNUSED as appropriate. - -1999-07-08 Jakub Jelinek <jj@ultra.linux.cz> - - * sparc-dis.c (print_insn_sparc): Differentiate between - addition and oring when guessing symbol for comment. - -1999-07-05 Nick Clifton <nickc@cygnus.com> - - * arm-dis.c (print_insn_arm): Display hex equivalent of rotated - constant. - -1999-06-23 Alan Modra <alan@spri.levels.unisa.edu.au> - - * i386-dis.c: Mention intel mode specials in macro char comment. - -1999-06-21 Ian Lance Taylor <ian@zembu.com> - - * alpha-dis.c: Don't include <stdlib.h>. - * arm-dis.c: Include "sysdep.h". - * tic30-dis.c: Don't include <stdlib.h> or <string.h>. Include - "sysdep.h". - * Makefile.am: Rebuild dependencies. - * Makefile.in: Rebuild. - -1999-06-16 Nick Clifton <nickc@cygnus.com> - - * arm-dis.c (print_insn_arm): Add detection of IMB and IMBRange - SWIs. - -1999-06-14 Nick Clifton <nickc@cygnus.com> & Drew Mosley <dmoseley@cygnus.com> - - * arm-dis.c (arm_regnames): Turn into a pointer to a register - name set. - (arm_regnames_standard): New variable: Array of ARM register - names according to ARM instruction set nomenclature. - (arm_regnames_apcs): New variable: Array of ARM register names - according to ARM Procedure Call Standard. - (arm_regnames_raw): New variable: Array of ARM register names - using just 'r' and the register number. - (arm_toggle_regnames): New function: Toggle the chosen register set - naming scheme. - (parse_disassembler_options): New function: Parse any target - disassembler command line options. - (print_insn_big_arm): Call parse_disassembler_options if any - are defined. - (print_insn_little_arm): Call parse_disassembler_options if any - are defined. - -1999-06-13 Ian Lance Taylor <ian@zembu.com> - - * i386-dis.c (FWAIT_OPCODE): Define. - (used_prefixes): New static variable. - (fetch_data): Don't print an error message if we have already - fetched some bytes successfully. - (ckprefix): Clear used_prefixes. Use FWAIT_OPCODE, not 0x9b. - (prefix_name): New static function. - (print_insn_i386): If setjmp fails, indicating a data error, but - we have managed to fetch some bytes, print the first one as a - prefix or a .byte pseudo-op. If fwait is followed by a non - floating point instruction, print the first prefix. Set - used_prefixes when prefixes are used. If any prefixes were not - used after disassembling the instruction, print the first prefix - instead of printing the instruction. - (putop): Set used_prefixes when prefixes are used. - (append_seg, OP_E, OP_G, OP_REG, OP_I, OP_sI, OP_J): Likewise. - (OP_DIR, OP_SIMD_Suffix): Likewise. - -1999-06-07 Jakub Jelinek <jj@ultra.linux.cz> - - * sparc-opc.c: Fix up set, setsw, setuw operand kinds. - Support signx %reg, clruw %reg. - -1999-06-07 Jakub Jelinek <jj@ultra.linux.cz> - - * sparc-opc.c: Add aliases Solaris as supports. - -Mon Jun 7 12:04:52 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - - * Makefile.am (CFILES): Add arc-{dis,opc}.c and v850-{dis,opc}.c. - * Makefile.in: Regenerated. - -1999-06-03 Philip Blundell <philb@gnu.org> - - * arm-dis.c (print_insn_arm): Make LDRH/LDRB consistent with LDR - when target is PC-relative. - -1999-05-28 Linus Nordberg <linus.nordberg@canit.se> - - * m68k-opc.c: Rename MACL/MSACL to MAC/MSAC. Add MACM/MSACM. Add - MOVE MACSR,CCR. - - * m68k-dis.c (fetch_arg): Add places `n', `o'. - - * m68k-opc.c: Add MSAC, MACL, MOVE to/from ACC, MACSR, MASK. - Add mcf5206e to appropriate instructions. - Add alias for MAC, MSAC. - - * m68k-dis.c (print_insn_arg): Add formats `E', `G', `H' and place - `N'. - - * m68k-opc.c (m68k_opcodes): Add divsw, divsl, divuw, divul, macl, - macw, remsl, remul for mcf5307. Change mcf5200 --> mcf. - - * m68k-dis.c: Add format `u' and places `h', `m', `M'. - -1999-05-18 Alan Modra <alan@spri.levels.unisa.edu.au> - - * i386-dis.c (Ed): Define. - (dis386_twobyte_att, dis386_twobyte_intel): Use Ed for movd. - (Rw): Remove. - (OP_rm): Rename to OP_Rd. - (ONE): Remove. - (OP_ONE): Remove. - (putop): Add const to template and p. - (print_insn_x86): Delete. - (print_insn_i386): Merge old function print_insn_x86. Add const - to dp. - (struct dis386): Add const to name. - (dis386_att, dis386_intel): Add const. - (dis386_twobyte_att, dis386_twobyte_intel): Add const. - (names32, names16, names8, names_seg, index16): Add const. - (grps, prefix_user_table, float_reg): Add const. - (float_mem_att, float_mem_intel): Add const. - (oappend): Add const to s. - (OP_REG): Add const to s. - (ptr_reg): Add const to s. - (dofloat): Add const to dp. - (OP_C): Don't skip modrm, it's now done in OP_Rd. - (OP_D): Ditto. - (OP_T): Ditto. - (OP_Rd): Check for valid mod. Call Op_E to print. - (OP_E): Handle d_mode arg. Check for bad sfence,lea,lds etc. - (OP_MS): Check for valid mod. Call Op_EM to print. - (OP_3DNowSuffix): Set obufp and use oappend rather than - strcat. Call BadOp() for errors. - (OP_SIMD_Suffix): Likewise. - (BadOp): New function. - -1999-05-12 Alan Modra <alan@spri.levels.unisa.edu.au> - - * i386-dis.c (dis386_intel): Remove macro chars, except for - jEcxz. Change cWtR and cRtd to cW and cR. - (dis386_twobyte_intel): Remove macro chars here too. - (putop): Handle R and W macros for intel mode. - - * i386-dis.c (SIMD_Fixup): New function. - (dis386_twobyte_att): Use it on movlps and movhps, and change - Ev to EX on these insns. Change movmskps Ev, XM to Gv, EX. - (dis386_twobyte_intel): Same here. - - * i386-dis.c (Av): Remove. - (Ap): remove lptr. - (lptr): Remove. - (OPSIMD): Define. - (OP_SIMD_Suffix): New function. - (OP_DIR): Remove dead code. - (eAX_reg..eDI_reg): Renumber. - (onebyte_has_modrm): Table numbering comments. - (INTERNAL_DISASSEMBLER_ERROR): Move to before print_insn_x86. - (print_insn_x86): Move all prefix oappends to after uses_f3_prefix - checks. Print error on invalid dp->bytemode2. Remove simd_cmp, - and handle SIMD cmp insns in OP_SIMD_Suffix. - (info->bytes_per_line): Bump from 5 to 6. - (OP_None): Remove. - (OP_E): Use INTERNAL_DISASSEMBLER_ERROR. Handle sfence. - (OP_3DNowSuffix): Ensure mnemonic index unsigned. - - PIII SIMD support from Doug Ledford <dledford@redhat.com> - * i386-dis.c (XM, EX, None): Define. - (OP_XMM, OP_EX, OP_None): New functions. - (USE_GROUPS, USE_PREFIX_USER_TABLE): Define. - (GRP14): Rename to GRPAMD. - (GRP*): Add USE_GROUPS flag. - (PREGRP*): Define. - (dis386_twobyte_att, dis386_twobyte_intel): Add SIMD insns. - (twobyte_has_modrm): Add SIMD entries. - (twobyte_uses_f3_prefix, simd_cmp_op, prefix_user_table): New. - (grps): Add SIMD insns. - (print_insn_x86): New vars uses_f3_prefix and simd_cmp. Don't - oappend repz if uses_f3_prefix. Add code to handle new groups for - SIMD insns. - - From Maciej W. Rozycki <macro@ds2.pg.gda.pl> - * i386-dis.c (dis386_att, dis386_intel): Change 0xE8 call insn - operand from Av to Jv. - -1999-05-07 Nick Clifton <nickc@cygnus.com> - - * mcore-dis.c (print_insn_mcore): Use .short to display - unidentified instructions, not .word. - -1999-04-26 Tom Tromey <tromey@cygnus.com> - - * aclocal.m4, configure: Updated for new version of libtool. - -1999-04-14 Doug Evans <devans@casey.cygnus.com> - - * fr30-desc.c,fr30-desc.h,fr30-dis.c,fr30-ibld.c,fr30-opc.c: Rebuild. - * m32r-desc.c,m32r-desc.h,m32r-dis.c,m32r-ibld.c,m32r-opc.c: Rebuild. - -Mon Apr 12 23:46:17 1999 Jeffrey A Law (law@cygnus.com) - - * hppa-dis.c (print_insn_hppa, case '3'): New case for PA2.0 - instructions. - -1999-04-10 Doug Evans <devans@casey.cygnus.com> - - * fr30-desc.c,fr30-desc.h,fr30-ibld.c: Rebuild. - * m32r-desc.c,m32r-desc.h,m32r-opinst.c: Rebuild. - -1999-04-06 Ian Lance Taylor <ian@zembu.com> - - * opintl.h (LC_MESSAGES): Never define. - -1999-04-04 Ian Lance Taylor <ian@zembu.com> - - * i386-dis.c (intel_syntax, open_char, close_char): Make static. - (separator_char, scale_char): Likewise. - (print_insn_x86): Likewise. - (print_insn_i386): Likewise. Add declaration. - -1999-03-26 Doug Evans <devans@casey.cygnus.com> - - * fr30-dis.c: Rebuild. - * m32r-dis.c: Rebuild. - -1999-03-23 Ian Lance Taylor <ian@zembu.com> - - * m68k-opc.c: Change compare instructions to use "@s" rather than - ";s" when used with an immediate operand. - -1999-03-22 Doug Evans <devans@casey.cygnus.com> - - * cgen-opc.c (cgen_set_cpu): Delete. - (cgen_lookup_insn): max_insn_size renamed to max_insn_bitsize. - * fr30-desc.c,fr30-desc.h,fr30-dis.c,fr30-ibld.c,fr30-opc.c,fr30-opc.h: - Rebuild. - * m32r-desc.c,m32r-desc.h,m32r-dis.c,m32r-ibld.c,m32r-opc.c,m32r-opc.h: - Rebuild. - * po/opcodes.pot: Rebuild. - -1999-03-16 Martin Hunt <hunt@cygnus.com> - - * d30v-opc.c (mvtsys): Remove FLAG_LKR. - -1999-03-11 Doug Evans <devans@casey.cygnus.com> - - * cgen-opc.c (cgen_set_cpu): New arg `isa'. All callers updated. - (cgen_operand_lookup_by_name,cgen_operand_lookup_by_num): New fns. - (cgen_get_insn_operands): Rewrite test for hardcoded/operand index. - * fr30-asm.c,fr30-desc.c,fr30-desc.h,fr30-dis.c,fr30-ibld.c: Rebuild. - * m32r-asm.c,m32r-desc.c,m32r-desc.h,m32r-dis.c,m32r-ibld.c: Rebuild. - * m32r-opinst.c: Rebuild. - -1999-02-25 Doug Evans <devans@casey.cygnus.com> - - * cgen-opc.c (cgen_hw_lookup_by_name): Rewrite. - (cgen_hw_lookup_by_num): Rewrite. - * fr30-desc.c,fr30-desc.h,fr30-dis.c,fr30-ibld.c,fr30-opc.c: Rebuild. - * m32r-desc.c,m32r-desc.h,m32r-dis.c,m32r-ibld.c,m32r-opc.c: Rebuild. - * m32r-opinst.c: Rebuild. - -Sat Feb 13 14:06:19 1999 Richard Henderson <rth@cygnus.com> - - * alpha-opc.c: Add sqrt+flags patterns. Add EV6 PALcode insns. - (insert_jhint): Fix insertion mask. - * alpha-dis.c (print_insn_alpha): Disassemble EV6 PALcode insns. - -1999-02-10 Doug Evans <devans@casey.cygnus.com> - - * Makefile.in: Rebuild. - -1999-02-09 Doug Evans <devans@casey.cygnus.com> - - * i960c-asm.c,i960c-dis.c,i960c-opc.c,i960c-opc.h: Delete. - * i960-dis.c (print_insn_i960): Rename from print_insn_i960_orig. - * Makefile.am: Remove references to them. - (HFILES): Add fr30-desc.h,m32r-desc.h. - (CFILES): Add fr30-desc.c,fr30-ibld.c,m32r-desc.c,m32r-ibld.c, - m32r-opinst.c. - (ALL_MACHINES): Update. - * configure.in: Redo handling of cgen_files. - (bfd_i960_arch): Delete i960c-*.lo files. - * configure: Regenerate. - * cgen-asm.c (*): CGEN_OPCODE_DESC renamed to CGEN_CPU_DESC. - (hash_insn_array): Rewrite. - * cgen-dis.c (*): CGEN_OPCODE_DESC renamed to CGEN_CPU_DESC. - (hash_insn_array): Rewrite. - * cgen-opc.c (*): CGEN_OPCODE_DESC renamed to CGEN_CPU_DESC. - (cgen_lookup_insn,cgen_get_insn_operands): Define here. - (cgen_lookup_get_insn_operands): Ditto. - * fr30-asm.c,fr30-dis.c,fr30-opc.c,fr30-opc.h: Regenerate. - * m32r-asm.c,m32r-dis.c,m32r-opc.c,m32r-opc.h: Regenerate. - * po/POTFILES.in: Rebuild. - * po/opcodes.pot: Rebuild. - -Fri Feb 5 00:04:24 1999 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.am: Rebuild dependencies. - (HFILES): Add fr30-opc.h. - (CFILES): Add fr30-asm.c, fr30-dis.c, fr30-opc.c. - * Makefile.in: Rebuild. - - * configure.in: Change AC_PREREQ to 2.13. Remove AM_CYGWIN32. - Change AM_EXEEXT to AC_EXEEXT and AM_PROG_INSTALL to - AC_PROG_INSTALL. - * acconfig.h: Remove. - * configure: Rebuild with current autoconf/automake. - * aclocal.m4: Likewise. - * config.in: Likewise. - * Makefile.in: Likewise. - -Thu Feb 4 13:48:52 1999 Ian Lance Taylor <ian@cygnus.com> - - * m68k-opc.c: Correct move (not movew) to status word on 5200. - -Mon Feb 1 20:54:36 1999 Catherine Moore <clm@cygnus.com> - - * disassemble.c (disassembler): Handle bfd_mach_i386_i386_intel_syntax. - * i386-dis.c (x_mode): Define. - (dis386): Remove. - (dis386_att): New. - (dis386_intel): New. - (dis386_twobyte): Remove. - (dis386_twobyte_att): New. - (dis386_twobyte_intel): New. - (print_insn_x86): Use new arrays. - (float_mem): Remove. - (float_mem_intel): New. - (float_mem_att): New. - (dofloat): Use new float_mem arrays. - (print_insn_i386_att): New. - (print_insn_i386_intel): New. - (print_insn_i386): Handle bfd_mach_i386_i386_intel_syntax. - (putop): Handle intel syntax. - (OP_indirE): Handle intel syntax. - (OP_E): Handle intel syntax. - (OP_I): Handle intel syntax. - (OP_sI): Handle intel syntax. - (OP_OFF): Handle intel syntax. - -1999-01-27 Doug Evans <devans@casey.cygnus.com> - - * fr30-opc.h,fr30-opc.c: Rebuild. - * i960c-opc.h,i960c-opc.c: Rebuild. - * m32r-opc.c: Rebuild. - -Tue Jan 19 18:01:54 1999 David Taylor <taylor@texas.cygnus.com> - - * hppa-dis.c: revert HP merge changes until HP gives us - an updated file. - -1999-01-19 Nick Clifton <nickc@cygnus.com> - - * arm-dis.c (print_insn_arm): Display ARM syntax for PC relative - offsets as well as symbloic address. - -Tue Jan 19 10:51:01 1999 David Taylor <taylor@texas.cygnus.com> - - * hppa-dis.c: fix comments and some indentation. - -1999-01-12 Doug Evans <devans@casey.cygnus.com> - - * fr30-opc.c,i960c-opc.c: Regenerate. - -1999-01-11 Doug Evans <devans@casey.cygnus.com> - - * fr30-opc.c: Regenerate. - -1999-01-06 Doug Evans <devans@casey.cygnus.com> - - * m32r-dis.c: Regenerate. - -1999-01-05 Doug Evans <devans@casey.cygnus.com> - - * fr30-asm.c,fr30-dis.c,fr30-opc.h,fr30-opc.c: Regenerate. - * i960c-asm.c,i960c-dis.c,i960c-opc.h,i960c-opc.c: Regenerate. - * m32r-asm.c,m32r-dis.c,m32r-opc.h,m32r-opc.c: Regenerate. - -1999-01-04 Jason Molenda (jsm@bugshack.cygnus.com) - - * configure.in: Require autoconf 2.12.1 or higher. - -1998-12-30 Gavin Romig-Koch <gavin@cygnus.com> - - * mips16-opc.c: Mark branch insns with MIPS16_INSN_BRANCH. - -Wed Dec 16 16:17:49 1998 Dave Brolley <brolley@cygnus.com> - - * fr30-opc.c: Regenerated. - -1998-12-16 Gavin Romig-Koch <gavin@cygnus.com> - - * mips-dis.c (set_mips_isa_type): Handle bfd_mach_mips4111. - -1998-12-15 Dave Brolley <brolley@cygnus.com> - - * fr30-opc.c,fr30-opc.h: Regenerated. - -1998-12-14 Dave Brolley <brolley@cygnus.com> - - * fr30-opc.c,fr30-opc.h: Regenerated. - -Thu Dec 10 18:39:46 1998 Dave Brolley <brolley@cygnus.com> - - * fr30-opc.c,fr30-opc.h: Regenerated. - -Thu Dec 10 12:49:24 1998 Doug Evans <devans@canuck.cygnus.com> - - * m32r-opc.c: Regenerate. - -Tue Dec 8 13:56:18 1998 David Taylor <taylor@texas.cygnus.com> - - * dis-buf.c (generic_strcat_address): reformat to GNU coding - conventions. change sprintf call to an sprintf_vma call. - -Tue Dec 8 13:12:44 1998 Dave Brolley <brolley@cygnus.com> - - * fr30-asm.c,fr30-dis.c,fr30-opc.c,fr30-opc.h: Regenerated. - -Tue Dec 8 10:50:46 1998 David Taylor <taylor@texas.cygnus.com> - - The following changes were made by - Elena Zannoni <ezannoni@kwikemart.cygnus.com>, - David Taylor <taylor@texas.cygnus.com>, and - Edith Epstein <eepstein@sophia.cygnus.com> as part of a project to - merge in changes by HP; HP did not create ChangeLog entries. - - * dis-buf.c (generic_strcat_address): new function. - - * hppa-dis.c: Changes to improve hppa disassembly. - Changed formatting in : reg_names, fp_reg_names,control_reg, - New variables : sign_extension_names, deposit_names, conversion_names - float_test_names, compare_cond_names_double, add_cond_names_double, - logical_cond_names_double, unit_cond_names_double, - branch_push_pop_names, saturation_names, shift_names, mix_names, - New Macros : GET_COMPL_O, GET_PUSH_POP,MERGED_REG - Move some definitions to libhppa.h: GET_FIELD, GET_BIT - (fput_const): renamed as fput_hex_const - (print_insn_hppa): - - use the macros fputs_filtered and - fput_decimal_const whenever possible; calls to sign_extend require - 2 params -- add a missing second param of 0. - - Some new code ifdefed for LOCAL_ONLY, all related to figuring out - architecture version number of current machine. HP folks are - trying to handle situation where the target program was compiled - for PA 1.x (32-bit), but is running on a PA 2.0 machine and - visa versa. - - added new cases : 'g', 'B', 'm' - - added cases specifically for PA 2.0 - - changed the following cases : '"', 'n', 'N', 'p', 'Z', - - calls to fput_const become calls to fput_hex_const - -1998-12-07 James E Wilson <wilson@wilson-pc.cygnus.com> - - * Makefile.am (CFILES): Add i960c-asm, i960c-dis.c, i960c-opc.c. - (ALL_MACHINES): Add i960c-asm.lo, i960c-dis.lo, i960-opc.lo. - (i960-asm.lo, i960c-dis.lo, i960c-opc.lo): New Makefile rules. - * Makefile.in: Rebuilt. - * configure.in (bfd_i960_arch): Add i960c-opc.lo, i960-asm.o, - i960-dis.c to ta. - * i960-dis.c (print_insn_i960): Rename to print_insn_i960_orig. - * i960c-asm.c, i960c-dis.c, i960c-opc.c, i960c-opc.h: New files. - -Mon Dec 7 14:33:44 1998 Dave Brolley <brolley@cygnus.com> - - * fr30-asm.c,fr30-dis.c,fr30-opc.c,fr30-opc.h: Regenerated. - -Sun Dec 6 14:06:48 1998 Ian Lance Taylor <ian@cygnus.com> - - * mips-opc.c (mips_builtin_opcodes): Add dmfc2 and dmtc2. - - * ppc-opc.c (powerpc_opcodes): Add PowerPC403 GC[X] instructions. - From Saitoh Masanobu <msaitoh@spa.is.uec.ac.jp>. - -Fri Dec 4 17:45:51 1998 Doug Evans <devans@canuck.cygnus.com> - - * fr30-opc.c: Regenerate. - -Fri Dec 4 17:08:08 1998 Dave Brolley <brolley@cygnus.com> - - * fr30-asm.c,fr30-dis.c,fr30-opc.c,fr30-opc.h: Regenerated. - -Thu Dec 3 14:26:20 1998 Dave Brolley <brolley@cygnus.com> - - * fr30-asm.c,fr30-dis.c,fr30-opc.c,fr30-opc.h: Regenerated. - -Thu Dec 3 00:09:17 1998 Doug Evans <devans@canuck.cygnus.com> - - * fr30-asm.c,fr30-dis.c,fr30-opc.c,fr30-opc.h: Regenerate. - -1998-11-30 Doug Evans <devans@casey.cygnus.com> - - * cgen-dis.c (hash_insn_array): CGEN_INSN_VALUE -> - CGEN_INSN_BASE_VALUE. - * m32r-opc.c,m32r-opc.h,m32r-asm.c,m32r-dis.c: Regenerate. - * fr30-opc.c,fr30-opc.h,fr30-asm.c,fr30-dis.c: Regenerate. - -Thu Nov 26 11:26:32 1998 Dave Brolley <brolley@cygnus.com> - - * fr30-asm.c,fr30-dis.c,fr30-opc.c: Regenerated. - -Tue Nov 24 11:20:54 1998 Dave Brolley <brolley@cygnus.com> - - * fr30-asm.c,fr30-dis.c: Regenerated. - -Mon Nov 23 18:28:48 1998 Dave Brolley <brolley@cygnus.com> - - * fr30-asm.c,fr30-dis.c,fr30-opc.c,fr30-opc.h: Regenerated. - -1998-11-20 Doug Evans <devans@tobor.to.cygnus.com> - - * fr30-opc.c: Regenerated. - -Thu Nov 19 16:02:46 1998 Dave Brolley <brolley@cygnus.com> - - * fr30-opc.c: Regenerated. - * fr30-opc.h: Regenerated. - * fr30-dis.c: Regenerated. - * fr30-asm.c: Regenerated. - -Thu Nov 19 07:54:15 1998 Doug Evans <devans@charmed.cygnus.com> - - * mips-opc.c (sync.p,sync.l): Swap insn values. - -1998-11-19 Doug Evans <devans@tobor.to.cygnus.com> - - * fr30-opc.c: Regenerate. - -Wed Nov 18 21:36:37 1998 Dave Brolley <brolley@cygnus.com> - - * fr30-opc.c: Regenerated. - * fr30-opc.h: Regenerated. - -1998-11-18 Doug Evans <devans@casey.cygnus.com> - - * m32r-asm.c,m32r-dis.c,m32r-opc.c: Rebuild. - * fr30-asm.c,fr30-dis.c,fr30-opc.c: Rebuild. - -Wed Nov 18 11:30:04 1998 Dave Brolley <brolley@cygnus.com> - - * fr30-opc.c: Regenerated. - -Mon Nov 16 19:21:48 1998 Dave Brolley <brolley@cygnus.com> - - * fr30-opc.c: Regenerated. - * fr30-opc.h: Regenerated. - * fr30-dis.c: Regenerated. - * fr30-asm.c: Regenerated. - -Thu Nov 12 19:24:18 1998 Dave Brolley <brolley@cygnus.com> - - * po/opcodes.pot: Regenerated. - * fr30-opc.c: Regenerated. - * fr30-opc.h: Regenerated. - * fr30-dis.c: Regenerated. - * fr30-asm.c: Regenerated. - -Tue Nov 10 15:26:27 1998 Nick Clifton <nickc@cygnus.com> - - * disassemble.c (disassembler): Add support for FR30 target. - -Tue Nov 10 11:00:04 1998 Doug Evans <devans@canuck.cygnus.com> - - * m32r-dis.c,m32r-opc.c,m32r-opc.h: Rebuild. - * fr30-dis.c,fr30-opc.c,fr30-opc.h: Rebuild. - -Mon Nov 9 18:22:55 1998 Dave Brolley <brolley@cygnus.com> - - * po/opcodes.pot: Regenerate. - * po/POTFILES.in: Regenerate. - * fr30-opc.c: Regenerate. - * fr30-opc.h: Regenerate. - -Fri Nov 6 17:21:38 1998 Doug Evans <devans@canuck.cygnus.com> - - * m32r-asm.c: Regenerate. - -Wed Nov 4 18:46:47 1998 Dave Brolley <brolley@cygnus.com> - - * configure.in: Added case for bfd_fr30_arch. - * Makefile.am (CFILES): Added fr30-asm.c, fr30-dis.c, fr30-opc.c. - (ALL_MACHINES): Added fr30-asm.lo, fr30-dis.lo, fr30-opc.lo. - (CLEANFILES): Added stamp-fr30. - (FR30_DEPS): Added. - * fr30-asm.c: New file. - * fr30-dis.c: New file. - * fr30-opc.c: New file. - * fr30-opc.h: New file. - * po/POTFILES.in: Regenerated - * po/opcodes.pot: Regenerated - -Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com> - - * configure.in: detect cygwin* instead of cygwin32* - * configure: regenerate - -Tue Oct 27 08:58:37 1998 Gavin Romig-Koch <gavin@cygnus.com> - - * mips-opc.c (IS_M): Added. - -Mon Oct 19 13:03:19 1998 Doug Evans <devans@seba.cygnus.com> - - * m32r-opc.c,m32r-opc.h,m32r-asm.c,m32r-dis.c: Regenerate. - -Fri Oct 9 14:01:56 1998 Doug Evans <devans@seba.cygnus.com> - - * m32r-opc.h,m32r-opc.c: Regenerate. - -Sun Oct 4 21:01:44 1998 Alan Modra <alan@spri.levels.unisa.edu.au> - - * i386-dis.c (OP_3DNowSuffix): New static function. - (OPSUF): Define. - (GRP14): Define. - (dis386_twobyte): Add GRP14, femms, and 3DNow entries. - (twobyte_has_modrm): Set entries corresponding to GRP14, 3DNow. - (insn_codep): New static variable. - (print_insn_x86): Init insn_codep after prefixes. - (grps): Add GRP14 entries for prefetch, prefetchw. - (OP_REG): Reformat. - - From Jeff B Epler <jepler@usgs.gov> - * i386-dis.c (Suffix3DNow): New table. - -Wed Sep 30 10:17:50 1998 Nick Clifton <nickc@cygnus.com> - - * d10v-opc.c: Treat TRAP as if it were a branch type instruction. - -Mon Sep 28 14:35:43 1998 Martin M. Hunt <hunt@cygnus.com> - - * d10v-dis.c (print_operand): If num is nonzero, then - add OPERAND_ACC1, not OPERAND_ACC0. - -Thu Sep 24 09:20:03 1998 Nick Clifton <nickc@cygnus.com> - - * d30v-opc.c: Add FLAG_JSR attribute to DBT, REIT, RTD, and TRAP - insns. - -Tue Sep 22 17:55:14 1998 Nick Clifton <nickc@cygnus.com> - - * d30v-opc.c: Add use of EITHER_BUT_PREFER_MU execution unit - class. - -Tue Sep 15 15:14:45 1998 Doug Evans <devans@canuck.cygnus.com> - - * m32r-opc.h,m32r-opc.c: Add bbpc,bbpsw support. - -1998-09-09 Michael Meissner <meissner@cygnus.com> - - * ppc-opc.c (powerpc_opcodes): Add support for PowerPC 750 move - to/from SPRs. - -Fri Sep 4 19:42:59 1998 Nick Clifton <nickc@cygnus.com> - - * arm-dis.c (print_insn_big_arm): Detect Thumb symbols in elf - object files. - (print_insn_little_arm): Detect Thumb symbols in elf object - files. - -Sat Aug 29 22:24:09 1998 Richard Henderson <rth@cygnus.com> - - * alpha-dis.c (print_insn_alpha): Use the machine type to - decide which PALcode set to include. - -Sun Aug 23 02:16:18 1998 Richard Henderson <rth@cygnus.com> - - * sparc-opc.c (FBRX): Fix typo in ",a,pn %fcc3" case. - -Fri Aug 21 16:07:52 1998 Nick Clifton <nickc@cygnus.com> - - * d30v-opc.c (d30v_opcode_table): Add FLAG_MUL32 to MAC, MACS, - MSUB and MSUBS instructions. - -Thu Aug 13 16:23:04 1998 Ian Lance Taylor <ian@cygnus.com> - - * ppc-opc.c (powerpc_operands): Omit parens around additions in - operand name macros. - -Wed Aug 12 14:00:38 1998 Ian Lance Taylor <ian@cygnus.com> - - From Peter Jeremy <peter.jeremy@auss2.alcatel.com.au>: - * m68k-opc.c: Correct mulsl and mulul to use q rather than D, a, - +, -, and d for ColdFire. - - From Peter Thiemann <thiemann@informatik.uni-tuebingen.de>: - * ppc-opc.c (insert_mbe): Handle wrapping bitmasks. - (extract_mbe): Likewise. - -Wed Aug 12 11:11:34 1998 Jeffrey A Law (law@cygnus.com) - - * m10300-opc.c: Fix typo in udf20 .. udf25 instruction opcodes. - - * m10300-opc.c: First cut at UDF instructions. - -Mon Aug 10 14:08:22 1998 Doug Evans <devans@canuck.cygnus.com> - - * m32r-opc.c: Regenerate (remove semantic descriptions). - -Mon Aug 10 12:51:12 1998 Catherine Moore <clm@cygnus.com> - - * arm-dis.c (print_insn_big_arm): Fix indentation. - (print_insn_little_arm): Likewise. - -Sun Aug 9 20:17:28 1998 Catherine Moore <clm@cygnus.com> - - * arm-dis.c (print_insn_big_arm): Check for thumb symbol - attributes. - (print_insn_little_arm): Likewise. - -Mon Aug 3 12:43:16 1998 Doug Evans <devans@seba.cygnus.com> - - Move all global state data into opcode table struct, and treat - opcode table as something that is "opened/closed". - * cgen-asm.c (all fns): New first arg of opcode table descriptor. - (cgen_asm_init): Delete. - (cgen_set_parse_operand_fn): New function. - * cgen-dis.c (all fns): New first arg of opcode table descriptor. - (cgen_dis_init): Delete. - * cgen-opc.c (all fns): New first arg of opcode table descriptor. - (cgen_current_{opcode_table_mach,endian}): Delete. - * m32r-asm.c,m32r-dis.c,m32r-opc.c,m32r-opc.h: Regenerate. - -Thu Jul 30 21:41:10 1998 Frank Ch. Eigler <fche@cygnus.com> - - * d30v-opc.c (d30v_opcode_table): Add new "LKR" flag to some - instructions. - -Tue Jul 28 11:00:09 1998 Jeffrey A Law (law@cygnus.com) - - * m10300-opc.c: Add entries for "no_match_operands" field in - the opcode table. - -Fri Jul 24 11:41:37 1998 Doug Evans <devans@canuck.cygnus.com> - - * m32r-asm.c,m32r-opc.c: Regenerate (-Wall cleanups). - -Tue Jul 21 13:41:07 1998 Doug Evans <devans@seba.cygnus.com> - - * m32r-opc.h,m32r-opc.c,m32r-asm.c,m32r-dis.c: Regenerate. - -Mon Jul 13 14:53:59 1998 Alan Modra <alan@spri.levels.unisa.edu.au> - - * i386-dis.c (ckprefix): Handle fwait specially only when it isn't - the first prefix. - (dofloat): Correct test for fnstsw. Print `fnstsw %ax' rather - than `fnstsw %eax'. - (OP_J): Remove unnecessary subtraction when 16-bit displacement - will be masked later. - -Thu Jul 2 17:11:27 1998 Doug Evans <devans@seba.cygnus.com> - - * m32r-opc.h (CGEN_MIN_INSN_SIZE): New #define. - -Wed Jul 1 16:11:16 1998 Doug Evans <devans@seba.cygnus.com> - - * m32r-asm.c,m32r-dis.c,m32r-opc.c,m32r-opc.h: Regenerate. - -Fri Jun 26 11:08:55 1998 Jeffrey A Law (law@cygnus.com) - - * m10300-dis.c: Only recognize instructions from the currently - selected machine. - * m10300-opc.c: Add field indicating the particular variant of - the mn10300 each instruction is available on. - -Fri Jun 26 12:04:21 1998 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: For bfd_vax_arch, build vax-dis.lo. - * Makefile.am: Rebuild dependencies. - (CFILES): Add vax-dis.c. - (ALL_MACHINES): Add vax-dis.lo. - * aclocal.m4: Rebuild with current libtool. - * configure, Makefile.in: Rebuild. - -Fri Jun 26 12:03:20 1998 Klaus Kaempf <kkaempf@progis.de> - - * vax-dis.c: New file, from work by Pauline Middelink - <middelin@polyware.iaf.nl>. - * disassemble.c (ARCH_vax): Define if ARCH_all. - (disassembler): Add case for ARCH_vax. - * makefile.vms: Support compilation on vms/vax. - -Tue Jun 23 19:42:18 1998 Mark Alexander <marka@cygnus.com> - - * m10200-dis.c (print_insn_mn10200): Fix various non-portabilities - related to sign extension and the size of ints. - -Tue Jun 23 10:59:26 1998 Jeffrey A Law (law@cygnus.com) - - * m10300-opc.c: Support one operand "asr", "lsr" and "asl" - instructions. Support (sp) addressing mode by expanding it into - (0,sp). - -Sat Jun 20 14:46:20 1998 Frank Ch. Eigler <fche@cygnus.com> - - * mips-dis.c (_print_insn_mips): Fix argument interchange typo. - -Fri Jun 19 09:16:42 1998 Mark Alexander <marka@cygnus.com> - - * m10200-dis.c (print_insn_mn10200): Recognize 'break' pseudo-op. - -1998-06-18 Ulrich Drepper <drepper@cygnus.com> - - * i386-dis.c: Add support for fxsave, fxrstor, sysenter and - sysexit. - -Thu Jun 18 10:22:24 1998 John Metzler <jmetzler@cygnus.com> - - * mips-dis.c (print_insn_little_mips): Previously, instruction - printing references the symbol table to determine whether the - instruction resides in a block regular instructions or mips16 - instructions. However, when the disassembler gets used in other - environments where the symbol table is not present, we no longer - rely in the symbol table, rather, use the low bit of the - instructions address to guess. There should be no change for usage - of the disassembler in host based programs, gdb, objdump. - (print_insn_big_mips): ditto. - (print_insn_mips): ditto - -Wed Jun 17 21:19:01 1998 Mark Alexander <marka@cygnus.com> - - * m10200-dis.c (print_insn_mn10200): Don't bomb on unknown opcodes. - -Wed Jun 17 17:49:23 1998 Jeffrey A Law (law@cygnus.com) - - * m10300-opc.c (mn10300_opcodes): Change opcode for "syscall". - -Tue Jun 16 13:10:51 1998 Alan Modra <alan@spri.levels.unisa.edu.au> - - * i386-dis.c (index16): Add '%' to register names. Use ',' - instead of '+'. - -Sat Jun 13 11:33:55 1998 Alan Modra <alan@spri.levels.unisa.edu.au> - - * i386-dis.c: Don't print opcode suffix when we can figure out the - size (and gas can!) by register operands, or from the default - size. - (putop): Handle 'A', 'B', 'L', 'P', 'Q', 'R' macros. Rename 'C' - macro to 'E'. - (dis386, dis386_twobyte, grps): Use new suffix macros. - (dis386): Correct imul Ib to imul sIb. Change jnl to jge to be - consistent. Add suffix for call, jmp, lcall, ljmp, iret. Reverse - order of cmps operands to agree with Intel docs. Correct operand - of aad and aam (Ib -> sIb). Change ud2b from 0fb8 to 0fb9 to - agree with Intel docs. - (print_insn_x86): Print orphan fwait before other prefixes. - Return correct byte count for orphan fwait with prefixes. Don't - print `bound' operands in reverse order. - (ckprefix): Stop accumulating prefixes if we get fwait. - (OP_DIR): Print `$' before Ap operands of ljmp, lcall. - -Fri Jun 12 13:40:38 1998 Tom Tromey <tromey@cygnus.com> - - * po/Make-in (all-yes): If maintainer mode, depend on .pot file. - ($(PACKAGE).pot): Unconditionally depend on POTFILES. - -Fri Jun 12 11:04:06 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - Fix problems when bfd_vma is wider than long. - * i386-dis.c: Make op_address and start_pc unsigned. - (set_op): Make parameter unsigned. - (print_insn_x86): Cast to bfd_vma when passing a value to - print_address_func. - * ns32k-dis.c (CORE_ADDR): Don't define. - (print_insn_ns32k): Change type of addr to bfd_vma. Use - bfd_scan_vma to read back address. - (print_insn_arg): Change type of addr to bfd_vma. Use sprintf_vma - to format it. - * m68k-dis.c (COERCE32): Cast to bfd_signed_vma to avoid overflow. - (NEXTULONG): New definition. - (print_insn_m68k): Avoid overflow when computing third argument of - print_insn_arg. - (print_insn_arg): Use NEXTULONG to fetch 32 bit address values. - Use disp instead of val to store offset values. - (print_indexed): Use base_disp instead of word to store base - displacement, to avoid overflow. - * m10300-dis.c (disassemble): Cast value to long when computing - pc-relative address, to get correct sign extension. - -Wed Jun 10 15:58:37 1998 Doug Evans <devans@canuck.cygnus.com> - - * m32r-opc.c: Regenerate. - -Tue Jun 9 14:27:57 1998 Nick Clifton <nickc@cygnus.com> - - * arm-opc.h (thumb_opcodes): Display 'add rx, rY, #0' insns as - 'mov rX, rY'. Patch courtesy of Tony Thompson <Tony.Thompson@arm.com> - -Mon Jun 8 18:17:21 1998 Nick Clifton <nickc@cygnus.com> - - * d30v-opc.c: Remove FALG_MUL32 attribyte from MULX2H insn. - -Fri Jun 5 23:47:55 1998 Alan Modra <alan@spri.levels.unisa.edu.au> - - * i386-dis.c: Combine aflag and dflag into sizeflag. Change OP_* - functions to void. - (OP_DSreg): Rename from OP_DSSI. - (OP_ESreg): Rename from OP_ESDI. - (Xb, Xv, Yb, Yv): Use index reg code, not b_mode or v_mode. - (DSBX): Define. - (append_seg): Rename from append_prefix. - (ptr_reg): New function. - (dis386): Add S suffix to pushf, popf, ret, lret, enter, leave. - Add DSBX for xlat. - (PREFIX_ADDR): Rename from PREFIX_ADR. - (float_reg): Add non-broken opcodes for people who don't want - UNIXWARE_COMPAT. - -Fri Jun 5 19:15:04 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * m68k-opc.c (tstb, tstw, tstl): Don't allow pcrel on - 68000/68008/68010. - -Wed Jun 3 18:56:22 1998 H.J. Lu <hjl@gnu.org> - - * i386-dis.c (dis386): Change 0x60 to "pushaS", 0x61 to "popaS". - -Tue Jun 2 15:06:46 1998 Geoff Keating <geoffk@ozemail.com.au> - - * ppc-opc.c (powerpc_macros): Support shifts and rotates of size - 0; produce error message for shifts of size 32 (or 64 for 64-bit - shifts), because the hardware doesn't support them. - -Wed May 27 15:29:13 1998 Nick Clifton <nickc@cygnus.com> - - * d30v-opc.c: Add new operand: Ra3. Change SHORT_B3, SHORT_B3b, - LONG_2, LONG_2b formats to use this new operand. - -Tue May 26 20:47:48 1998 Stan Cox <scox@cygnus.com> - - * sparc-dis.c (compute_arch_mask): Added bfd_mach_sparc_sparclite_le. - -Tue May 26 20:45:33 1998 Mark Alexander <marka@cygnus.com> - - * sparc-dis.c (print_insn_sparc): big endian instruction / little - endian data support. - -Tue May 26 16:14:39 1998 Nick Clifton <nickc@cygnus.com> - - * d30v-opc.c (d30v_format_table): Change definition of SHORT_B3 - and SHORT_B3b formats to use Rb instead of Ra. - - Add FLAG_MUL16 to MUL2XH opcode. - - Add FLAG_ADDSUBppp to SRC and SATHp opcodes to implement extension - to existing 1.1.1 parallelisation prohibition procedure. - -Fri May 22 16:00:00 1998 Doug Evans <devans@canuck.cygnus.com> - - * m32r-asm.c,m32r-dis.c: Regenerate. - -Tue May 19 17:36:08 1998 Ian Lance Taylor <ian@cygnus.com> - - * mips-dis.c (print_mips16_insn_arg): Handle type ']' correctly - with a shift count of 0. - -Fri May 15 14:58:31 1998 Doug Evans <devans@seba.cygnus.com> - - * cgen-opc.c (cgen_hw_lookup_by_name): Renamed from cgen_hw_lookup. - (cgen_hw_lookup_by_num): New function. - -Wed May 13 17:03:59 1998 Doug Evans <devans@canuck.cygnus.com> - - * m32r-asm.c: Regenerate (handle uppercase HIGH/SHIGH/LOW/SDA). - -Wed May 13 14:34:31 1998 Mark Alexander <marka@cygnus.com> - - * sparc-dis.c (print_insn_sparc): Always fetch instructions - as big-endian on SPARClite. - -Tue May 12 11:46:31 1998 Richard Henderson <rth@cygnus.com> - - * d30v-opc.c (pre_defined_register): Remove alias for r0. - -Sun May 10 22:37:22 1998 Jeffrey A Law (law@cygnus.com) - - * po/Make-in (install-info): New target. - -Thu May 7 17:15:59 1998 Ian Lance Taylor <ian@cygnus.com> - - * configure.in (WIN32LIBADD): Add -lintl on cygwin32. - * configure: Rebuild. - -Thu May 7 12:49:46 1998 Frank Ch. Eigler <fche@cygnus.com> - - * mips-opc.c (teq,tge,tgeu,tlt,tltu,tne): Added three-operand - variety of ISA2 instructions to set bottom ten bits of trap code. - -Thu May 7 11:54:25 1998 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.am (config.status): Add explicit target so that - config.status depends upon bfd/configure.in. - * Makefile.in: Rebuild. - -Thu May 7 09:33:02 1998 Frank Ch. Eigler <fche@cygnus.com> - - * mips-opc.c (break, sdbbp): Added two-operand variety of ISA1 - instructions to set bottom ten bits of break code. - * mips-dis.c (print_insn_arg): Implement 'q' operand format used - for above optional argument. - -Wed May 6 15:30:06 1998 Klaus Kaempf <kkaempf@progis.de> - - * makefile.vms: Run dec c with /nodebug. - -Mon May 4 10:19:57 1998 Tom Tromey <tromey@cygnus.com> - - * Makefile.in: Rebuilt. - * Makefile.am: Regenerated dependencies with mkdep. - - * opintl.h (_): Define as dgettext. - -Tue Apr 28 14:12:12 1998 Nick Clifton <nickc@cygnus.com> - - * cgen-asm.c: Internationalised. - * m32r-asm.c: Internationalised. - * m32r-dis.c: Internationalised. - * m32r-opc.c: Internationalised. - - * aclocal.m4: Regenerated. - * configure: Regenerated. - * Makefile.am (POTFILES): Remove inclusion of BFD_H. - * Makefile.in: Rebuild. - * po/POTFILES.in: Rebuilt using rule in Makefile.in. - * po/opcodes.pot: Rebuilt after changing POTFILES.in. - -Tue Apr 28 13:13:13 1998 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Call AC_ISC_POSIX near start. Move CY_GNU_GETTEXT - after AC_PROG_CC. - * aclocal.m4, configure: Rebuild with current tools. - -Mon Apr 27 14:31:00 1998 Nick Clifton <nickc@cygnus.com> - - * opintl.h: New file - contains internationalisation macros used - by source files in this directory. - * po/: New subdirectory - contains internationalisation files. - * po/Make-in: New file - Makefile constructor. - * po/POTFILES.in: New file - list of files in opcodes directory - that should be scan for internationalisation macros. - * po/opcodes.pot: New file - list of internationisation strings - found in files mentioned in po/POTFILES.in. - * Makefile.am: Add rule to build po/POTFILES.in. Add SUBDIRS - entry. Add intl directory to include paths. - * acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETEXT, - HAVE_STRCPY, HAVE_LC_MESSAGES - * configure.in: Add rule to build Makefile in po subdirectory. - * Makefile.in: Rebuilt. - * aclocal.m4: Rebuilt. - * config.in: Rebuilt. - * configure: Rebuilt. - * alpha-opc.c: Internationalised. - * arc-dis.c: Internationalised. - * arc-opc.c: Internationalised. - * arm-dis.c: Internationalised. - * cgen-asm.c: Internationalised. - * d30v-dis.c: Internationalised. - * dis-buf.c: Internationalised. - * h8300-dis.c: Internationalised. - * h8500-dis.c: Internationalised. - * i386-dis.c: Internationalised. - * m10200-dis.c: Internationalised. - * m10300-dis.c: Internationalised. - * m68k-dis.c: Internationalised. - * m88k-dis.c: Internationalised. - * mips-dis.c: Internationalised. - * ns32k-dis.c: Internationalised. - * opintl.h: Internationalised. - * ppc-opc.c: Internationalised. - * sparc-dis.c: Internationalised. - * v850-dis.c: Internationalised. - * v850-opc.c: Internationalised. - -Mon Apr 27 10:33:56 1998 Doug Evans <devans@seba.cygnus.com> - - * cgen-asm.c (cgen_current_opcode_table): Renamed from ..._data. - (asm_hash_table_entries): New variable. - (cgen_asm_init): Free asm_hash_table_entries. - (hash_insn_array,hash_insn_list): New functions. - (build_asm_hash_table): Use them. Hash macro insns as well. - (cgen_asm_lookup_insn): Update. - * cgen_dis.c (cgen_current_opcode_table): Renamed from ..._data. - (dis_hash_table_entries): New variable. - (cgen_dis_init): Free dis_hash_table_entries. - (hash_insn_array,hash_insn_list): New functions. - (build_dis_hash_table): Use them. Hash macro insns as well. - (cgen_dis_lookup_insn): Update. - * cgen-opc.c (cgen_current_opcode_table): Renamed from ..._data. - (cgen_set_cpu,cgen_hw_lookup,cgen_insn_count): Update. - (cgen_macro_insn_count): New function. - * m32r-opc.h,m32r-opc.c,m32r-asm.c,m32r-dis.c: Regenerate. - -Fri Apr 24 16:07:57 1998 Alan Modra <alan@spri.levels.unisa.edu.au> - - * i386-dis.c (OP_DSSI): Print segment override. - -Mon Apr 13 16:59:39 1998 Nick Clifton <nickc@cygnus.com> - - * arm-dis.c (print_insn_arm): Add "_all" extension to 'C' - operator. - -Mon Apr 13 16:50:27 1998 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.am (libopcodes_la_LIBADD): Add @WIN32LIBADD@. - (libopcodes_la_LDFLAGS): Add @WIN32LDFLAGS@. - * configure.in: Define and substitute WIN32LDFLAGS and - WIN32LIBADD. - * aclocal.m4: Rebuild with new libtool. - * configure, Makefile.in: Rebuild. - -Fri Apr 10 18:14:31 1998 Doug Evans <devans@canuck.cygnus.com> - - * m32r-opc.c: Regenerate. - -Sun Apr 5 16:04:39 1998 H.J. Lu <hjl@gnu.org> - - * Makefile.am (stamp-lib): Check that .libs/libopcodes.a exists - before trying to copy it. - * Makefile.in: Rebuild. - -Thu Apr 2 17:25:49 1998 Nick Clifton <nickc@cygnus.com> - - * m32r-opc.c: Use signed immediate values for CMPUI instruction. - -Wed Apr 1 16:20:27 1998 Ian Dall <Ian.Dall@dsto.defence.gov.au> - - * ns32k-dis.c (bit_extract_simple): New function to extract bits - from an arbitrary valid buffer instead of fetching them on demand - using fetch_data(). - (invalid_float): use bit_extract_simple() instead of bit_extract(). - -Tue Mar 31 11:09:08 1998 Ian Lance Taylor <ian@cygnus.com> - - From H.J. Lu <hjl@gnu.org>: - * i386-dis.c (dis386): Change 0x8c and 0x8e to movS, and change Ew - to Ev for both. - -Mon Mar 30 17:32:03 1998 Ian Lance Taylor <ian@cygnus.com> - - * Branched binutils 2.9. - -Mon Mar 30 15:18:00 1998 Ken Raeburn <raeburn@cygnus.com> - - * d30v-dis.c (print_insn_d30v): Don't use uninitialized "num" when - disassembling last 4 bytes of a section. - -Fri Mar 27 18:08:13 1998 Ian Lance Taylor <ian@cygnus.com> - - Fix some gcc -Wall warnings: - * arc-dis.c (print_insn): Add casts to avoid warnings. - * cgen-opc.c (cgen_keyword_lookup_name): Likewise. - * d10v-dis.c (dis_long, dis_2_short): Likewise. - * m10200-dis.c (disassemble): Likewise. - * m10300-dis.c (disassemble): Likewise. - * ns32k-dis.c (print_insn_ns32k): Likewise. - * ppc-opc.c (insert_ral, insert_ram): Likewise. - * cgen-dis.c (build_dis_hash_table): Remove used local variables. - * cgen-opc.c (cgen_keyword_search_next): Likewise. - * d10v-dis.c (dis_long, dis_2_short): Likewise. - * d30v-dis.c (print_insn_d30v, lookup_opcode): Likewise. - * ns32k-dis.c (bit_extract, print_insn_ns32k): Likewise. - * tic80-dis.c (print_one_instruction): Likewise. - * w65-dis.c (print_operand): Likewise. - * z8k-dis.c (fetch_data): Likewise. - * a29k-dis.c: Add return type for find_byte_func_type. - * arc-opc.c: Include <stdio.h>. Remove declarations of - insert_multshift and extract_multshift. - * d30v-dis.c (lookup_opcode): Parenthesize assignments in - conditionals. - (extract_value): Fully parenthesize expression. - * h8500-dis.c (print_insn_h8500): Initialize local variables. - * h8500-opc.h (h8500_table): Fully bracket initializer. - * w65-opc.h (optable): Likewise. - * i386-dis.c (print_insn_x86): Declare aflag and flag parameters. - * i386-dis.c (OP_E): Initialize local variables. - * m10200-dis.c (print_insn_mn10200): Likewise. - * mips-dis.c (print_insn_mips16): Likewise. - * sh-dis.c (print_insn_shx): Likewise. - * v850-dis.c (print_insn_v850): Likewise. - * ns32k-dis.c (print_insn_arg): Declare. - (get_displacement, invalid_float): Declare. - (list_search, sign_extend, flip_bytes): Declare return type. - (get_displacement): Likewise. - (print_insn_arg): Likewise. Make d int. Fix sprintf format - string. - (print_insn_ns32k): Make i unsigned. - (invalid_float): Make static. Declare type of val. - * tic30-dis.c (print_par_insn): Make i size_t. Don't check strlen - on each for iteration. - * tic30-dis.c (get_indirect_operand): Likewise. - * z8k-dis.c (print_insn_z8001): Declare return type. - (print_insn_z8002): Likewise. - (unparse_instr): Fix sprintf format strings. - -Fri Mar 27 00:05:23 1998 Jeffrey A Law (law@cygnus.com) - - * mips-opc.c: Add "sync.l" and "sync.p". - -Wed Mar 25 14:32:48 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * m68k-dis.c (print_insn_m68k): Use info->mach to select the - default m68k variant to recognize. - - * i960-dis.c (pinsn): Change type of first argument to bfd_vma. - (ctrl, cobr, mem, ea): Likewise. - (print_addr): Likewise. Remove cast. - (ea): Cast argument of print_addr to bfd_vma. - - * cgen-asm.c (cgen_parse_signed_integer): Fix type of local - variable value. - (cgen_parse_unsigned_integer): Likewise. - (cgen_parse_address): Likewise. - -Wed Mar 25 14:31:31 1998 Ian Lance Taylor <ian@cygnus.com> - - * i960-dis.c (ctrl): Add full braces to structure initialization. - (cobr, mem, reg): Likewise. - (ea): Correct parenthesization in expression. - - * cgen-asm.c: Include <ctype.h>. - (build_asm_hash_table): Remove unused local variable i. - (cgen_parse_keyword): Add casts to avoid warnings. - - * arm-dis.c (print_insn_big_arm): Only call coffsymbol for a COFF - symbol. Fix indentation. - (print_insn_little_arm): Likewise. - -Fri Mar 20 18:55:18 1998 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Use AM_DISABLE_SHARED. - * aclocal.m4, configure: Rebuild with libtool 1.2. - -Thu Mar 19 15:46:53 1998 Nick Clifton <nickc@cygnus.com> - - These patches are courtesy of Jonathan Walton and Tony Thompson - (athompso@cambridge.arm.com). - - * arm-dis.c (print_insn_thumb): Ignore bottom two bits of PC - relative addresses. - - * arm-opc.h (thumb_opcodes): Annotate PC relative addresses with - both the offset and the label closest to the destination. - -Sat Mar 14 23:47:14 1998 Doug Evans <devans@seba.cygnus.com> - - * m32r-opc.h: Regenerate. - -Wed Mar 4 12:08:14 1998 Doug Evans <devans@canuck.cygnus.com> - - * m32r-opc.h,m32r-opc.c,m32r-asm.c,m32r-dis.c: Regenerate. - -Sat Feb 28 16:02:34 1998 Nick Clifton <nickc@cygnus.com> - - * arm-dis.c (print_insn_big_arm, print_insn_little_arm): Do not - assume that info->symbols is non-empty. - -Sat Feb 28 12:19:05 1998 Richard Henderson <rth@cygnus.com> - - * alpha-opc.c (cvtqs) There is no such thing. - (cvttq): Missing most of the /*d variants. - -Thu Feb 26 15:53:09 1998 Michael Meissner <meissner@cygnus.com> - - * d30v-opc.c (d30v_opcode_table): Indicate which instructions are - delayed branches or jumps. - -Tue Feb 24 10:46:44 1998 Doug Evans <devans@canuck.cygnus.com> - - * arm-dis.c (print_insn_{big,little}_arm): info->symbol changed - to *info->symbols. - * mips-dis.c (print_insn_{big,little}_mips): Likewise. - * tic30-dis.c (print_branch): Likewise. - -Tue Feb 24 11:06:18 1998 Nick Clifton <nickc@cygnus.com> - - * arm-dis.c (print_insn_big_arm, print_insn_little_arm): Remove - saved_symbol code as it is no longer needed. - -Mon Feb 23 13:16:17 1998 Doug Evans <devans@seba.cygnus.com> - - * cgen-asm.c: Include symcat.h. - * cgen-dis.c,cgen-opc.c: Ditto. - * m32r-asm.c,m32r-dis.c,m32r-opc.h,m32r-opc.c: Regenerate. - -Mon Feb 23 10:34:58 1998 Jeffrey A Law (law@cygnus.com) - - * mips-dis.c (print_insn_arg): Do not prefix 'P' arguments with '$'. - -Thu Feb 19 16:51:13 1998 Doug Evans <devans@canuck.cygnus.com> - - * m32r-opc.[ch]: Regenerate. - -Tue Feb 17 17:14:50 1998 Doug Evans <devans@seba.cygnus.com> - - * cgen-asm.c (cgen_parse_{signed,unsigned}_integer): Delete min,max - arguments. Don't perform validation here. - * m32r-asm.c,m32r-dis.c,m32r-opc.c: Regenerate. - -Fri Feb 13 14:26:06 1998 Doug Evans <devans@canuck.cygnus.com> - - * m32r-opc.c: Regenerate. - -Fri Feb 13 14:53:02 1998 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.am (AUTOMAKE_OPTIONS): Define. - * configure, Makefile.in, aclocal.m4: Rebuild with automake 1.2e. - -Fri Feb 13 10:21:09 1998 Mark Alexander <marka@cygnus.com> - - * m10300-dis.c (print_insn_mn10300): Recognize break instruction. - -Fri Feb 13 13:12:14 1998 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Get the version number from BFD. - * configure: Rebuild. - - From H.J. Lu <hjl@gnu.org>: - * Makefile.am (libopcodes_la_LDFLAGS): Define. - * Makefile.in: Rebuild. - -Fri Feb 13 09:50:32 1998 Nick Clifton <nickc@cygnus.com> - - * m32r-opc.c: Regenerate. - * m32r-opc.h: Regenerate. - -Thu Feb 12 11:01:40 1998 Doug Evans <devans@canuck.cygnus.com> - - * m32r-opc.c: Regenerate. - -Thu Feb 12 03:41:00 1998 J"orn Rennecke <amylaar@cygnus.co.uk> - - Fix rac to accept only a0: - * d10v-opc.c (d10v_predefined_registers, d10v_operands, d10v_opcodes): - Split OPERAND_ACC into OPERAND_ACC0 and OPERAND_ACC1. - Introduce OPERAND_GPR. - * d10v-dis.c (print_operand): Likewise. - -Wed Feb 11 18:58:34 1998 Doug Evans <devans@seba.cygnus.com> - - * cgen-opc.c (cgen_set_cpu): Delete init of hw list `next' chain. - (cgen_hw_lookup): Make result const. - * m32r-opc.h, m32r-opc.c, m32r-asm.c, m32r-dis.c: Regenerate. - -Sat Feb 7 15:30:27 1998 Ian Lance Taylor <ian@cygnus.com> - - * configure, aclocal.m4: Rebuild with new libtool. - -Thu Feb 5 17:56:10 1998 Michael Meissner <meissner@cygnus.com> - - * d30v-opc.c (repeat{,i} instructions): Repeat/repeati - instructions use a PC relative branch, not absolute. - -Wed Feb 4 19:17:37 1998 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Set libtool_enable_shared rather than - libtool_shared. Remove diversion hack. - * configure, Makefile.in, aclocal.m4: Rebuild with new libtool. - -Tue Feb 3 17:19:40 1998 Doug Evans <devans@seba.cygnus.com> - - * cgen-opc.c (cgen_set_cpu): Initialize hardware table. - * m32r-opc.h, m32r-opc.c, m32r-asm.c, m32r-dis.c: Regenerate. - -Mon Feb 2 19:22:15 1998 Steve Haworth <steve@pm.cse.rmit.EDU.AU> - - * tic30-dis.c: New file. - * disassemble.c (disassembler): Add bfd_arch_tic30 case. - * configure.in: Handle bfd_tic30_arch. - * Makefile.am: Rebuild dependencies. - (CFILES): Add tic30-dis.c - (ALL_MACHINES): Add tic30-dis.lo. - * configure, Makefile.in: Rebuild. - -Thu Jan 29 13:02:56 1998 Doug Evans <devans@canuck.cygnus.com> - - * m32r-opc.h (HAVE_CPU_M32R): Define. - -Wed Jan 28 09:55:03 1998 Nick Clifton <nickc@cygnus.com> - - * v850-opc.c (insertion routines): If both alignment and size is - wrong then report this. - -Tue Jan 27 21:52:59 1998 Jeffrey A Law (law@cygnus.com) - - * mips-dis.c (_print_insn_mips): Set target_processor as appropriate. - Only recognize instructions for the current target_processor. - -Thu Jan 22 16:20:17 1998 Fred Fish <fnf@cygnus.com> - - * d10v-dis.c (PC_MASK): Correct value. - (print_operand): If there's a reloc, don't calculate the - address because they could be in different sections. - -Fri Jan 16 15:29:11 1998 Jim Blandy <jimb@zwingli.cygnus.com> - - * mips-opc.c (mips_builtin_opcodes): Move 4010's "addciu" - instruction after the 4650's "mul" instruction; nobody's using the - 4010 these days. If object files someday indicate which processor - variant they're intended for, we can do a better job at this. - -Mon Jan 12 14:43:54 1998 Doug Evans <devans@seba.cygnus.com> - - * cgen-asm.c (build_asm_hash_table): Traverse compiled in table using - table provided entry size. Use CGEN_INSN_MNEMONIC. - (cgen_parse_keyword): Rewrite. - * cgen-dis.c (build_dis_hash_table): Traverse compiled in table using - table provided entry size. Use CGEN_INSN_MASK_BITSIZE. - * cgen-opc.c: Clean up pass over `struct foo' usage. - (cgen_keyword_lookup_value): Handle "" entry. - (cgen_keyword_add): Likewise. - -Mon Dec 22 12:37:06 1997 Ian Lance Taylor <ian@cygnus.com> - - * mips-opc.c: Add FP_D to s.d instruction flags. - -Wed Dec 17 11:38:29 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * m68k-opc.c (halt, pulse): Enable them on the 68060. - -Tue Dec 16 15:22:53 1997 Fred Fish <fnf@cygnus.com> - - * tic80-opc.c (tic80_opcodes): Revert change that put the 32 bit - PC relative offset forms before the 15 bit forms. An assembler command - line option now chooses the default. - -Tue Dec 16 15:22:51 1997 Michael Meissner <meissner@cygnus.com> - - * d30v-opc.c (d30v_opcode_table): Set new flags bits - FLAG_{2WORD,MUL{16,32},ADDSUBppp}, in appropriate instructions. - -1997-12-15 Brendan Kehoe <brendan@lisa.cygnus.com> - - * configure: Only build libopcodes shared if --enable-shared's value - was `yes', or was set to `*opcodes*'. - * aclocal.m4: Likewise. - * NOTE: this really needs to be fixed in libtool/libtool.m4, the - original source of this bit of code. It's not clear what the best fix - would be, though. - -Fri Dec 12 11:57:04 1997 Fred Fish <fnf@cygnus.com> - - * tic80-opc.c (OFF_SL_PC, OFF_SL_BR): Minor formatting change. - (tic80_opcodes): Reorder table entries to put the 32 bit PC relative - offset forms before the 15 bit forms, to default to the long forms. - -Fri Dec 12 01:32:30 1997 Richard Henderson <rth@cygnus.com> - - * alpha-opc.c (cvttq/*u*): Remove, as that suffix is invalid. - -Wed Dec 10 17:42:35 1997 Nick Clifton <nickc@cygnus.com> - - * arm-dis.c (print_insn_little_arm): Prevent examination of stored - symbol if none is present. - (print_insn_big_arm): Prevent examination of stored symbol if - none is present. - -Thu Oct 23 21:13:37 1997 Fred Fish <fnf@cygnus.com> - - * d10v-opc.c (d10v_opcodes): Correct entry for RTE. - -Mon Dec 8 11:21:07 1997 Nick Clifton <nickc@cygnus.com> - - * disassemble.c: Remove disasm_symaddr() function. - - * arm-dis.c: Use info->symbol instead of info->flags to determine - if disassmbly should be in Thumb or Arm mode. - -Tue Dec 2 09:54:27 1997 Nick Clifton <nickc@cygnus.com> - - * arm-dis.c: Add support for disassembling Thumb opcodes. - (print_insn_thumb): New function. - - * disassemble.c (disasm_symaddr): New function. - - * arm-opc.h: Display nop pseudo ops alongside equivalent disassembly. - (thumb_opcodes): Table of Thumb opcodes. - -Mon Dec 1 12:25:57 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * m68k-opc.c (btst): Change Dd@s to Dd;b. - - * m68k-dis.c (print_insn_arg): Recognize 'm', 'n', 'o', 'p', 'q', - and 'v' as operand types. - -Mon Dec 1 11:56:50 1997 Ian Lance Taylor <ian@cygnus.com> - - * m68k-opc.c: Add argument for lpstop. From Olivier Carmona - <olivier.carmona@di.epfl.ch>. - * m68k-dis.c (print_insn_m68k): Handle special case of lpstop, - which has a two word opcode with a one word argument. - -Sun Nov 23 22:25:21 1997 Michael Meissner <meissner@cygnus.com> - - * d30v-opc.c (d30v_opcode_table, case cmpu): Immediate field is - unsigned, not signed. - (d30v_format_table): Add SHORT_CMPU cases for cmpu. - -Tue Nov 18 23:10:03 1997 J"orn Rennecke <amylaar@cygnus.co.uk> - - * d10v-dis.c (print_operand): - Split OPERAND_FLAG into OPERAND_FFLAG and OPERAND_CFLAG. - -Tue Nov 18 18:45:14 1997 J"orn Rennecke <amylaar@cygnus.co.uk> - - * d10v-opc.c (OPERAND_FLAG): Split into: - (OPERAND_FFLAG, OPERAND_CFLAG) . - (FSRC): Split into: - (FFSRC, CFSRC). - -Thu Nov 13 11:05:33 1997 Gavin Koch <gavin@cygnus.com> - - * mips-opc.c: Move the INSN_MACRO ISA value to the membership - field for all INSN_MACRO's. - * mips16-opc.c: same - -Wed Nov 12 10:16:57 1997 Gavin Koch <gavin@cygnus.com> - - * mips-opc.c (sync,cache): These are 3900 insns. - -Tue Nov 11 23:53:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk> - - sh-opc.h (sh_table): Remove ftst/nan. - -Tue Oct 28 17:59:32 1997 Ken Raeburn <raeburn@cygnus.com> - - * mips-opc.c (ffc, ffs): Fix mask. - -Tue Oct 28 16:34:54 1997 Michael Meissner <meissner@cygnus.com> - - * d30v-opc.c (pre_defined_registers): Add eit_vb, int_s, and int_m - control registers. - -Mon Oct 27 22:34:03 1997 Ken Raeburn <raeburn@cygnus.com> - - * mips-opc.c: Fix bug in mask for "not" pseudo-instruction. - (WR_HILO, RD_HILO, MOD_HILO): New macros. - -Mon Oct 27 22:34:03 1997 Ken Raeburn <raeburn@cygnus.com> - - * mips-opc.c: Fix bug in mask for "not" pseudo-instruction. - (WR_HILO, RD_HILO, MOD_HILO): New macros. - -Thu Oct 23 14:57:58 1997 Nick Clifton <nickc@cygnus.com> - - * v850-dis.c (disassemble): Replace // with /* ... */ - -Wed Oct 22 17:33:21 1997 Richard Henderson <rth@cygnus.com> - - * sparc-opc.c: Add wr & rd for v9a asr's. - * sparc-dis.c (print_insn_sparc): Recognize '_' and '/' for v9a asr's. - (v9a_asr_reg_names): New variable. - Patch from David Miller <davem@vger.rutgers.edu>. - -Wed Oct 22 17:18:02 1997 Richard Henderson <rth@cygnus.com> - - * sparc-opc.c (v9notv9a): New insn type. - (IMPDEP): Move to the end to not conflict with edge8 et al. - Patch from David Miller <davem@vger.rutgers.edu>. - -Fri Oct 17 13:18:53 1997 Gavin Koch <gavin@cygnus.com> - - * mips-opc.c (bnezl,beqzl): Mark these as also tx39. - -Thu Oct 16 11:55:20 1997 Gavin Koch <gavin@cygnus.com> - - * mips-opc.c: Note that 'jalx' is (probably incorrectly) marked I1. - -Tue Oct 14 16:10:31 1997 Nick Clifton <nickc@cygnus.com> - - * v850-dis.c (disassemble): Use new symbol_at_address_func() field - of disassemble_info structure to determine if an overlay address - has a matching symbol in low memory. - - * dis-buf.c (generic_symbol_at_address): New (dummy) function for - new symbol_at_address_func field in disassemble_info structure. - -Fri Oct 10 16:44:52 1997 Nick Clifton <nickc@cygnus.com> - - * v850-opc.c (extract_d22): Use signed arithmatic. - -Tue Oct 7 23:40:43 1997 Gavin Koch <gavin@cygnus.com> - - * mips-opc.c: Three op mult is not an ISA insn. - -Tue Oct 7 23:37:21 1997 Gavin Koch <gavin@cygnus.com> - - * mips-opc.c: Fix formatting. - -Fri Oct 3 17:26:54 1997 Ian Lance Taylor <ian@cygnus.com> - - * i386-dis.c (OP_E): Explicitly sign extend 8 bit values, rather - than assuming that char is signed. Explicitly sign extend 16 bit - values, rather than assuming that short is 16 bits. - (OP_sI, OP_J, OP_DIR): Likewise. - -Thu Oct 2 13:36:45 1997 Nick Clifton <nickc@cygnus.com> - - * v850-dis.c (v850_sreg_names): Use symbolic names for higher - system registers. - -Wed Oct 1 16:58:54 1997 Nick Clifton <nickc@cygnus.com> - - * v850-opc.c: Fix typo in comment. - - * v850-dis.c (disassemble): Add test of processor type when - determining opcodes. - -Wed Oct 1 14:10:20 1997 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Use a diversion to set enable_shared before the - arguments are parsed. - * configure: Rebuild. - -Thu Sep 25 13:04:59 1997 Ian Lance Taylor <ian@cygnus.com> - - * m68k-opc.c (TBL1): Use ! rather than `. - * m68k-dis.c (print_insn_arg): Remove ` operand specifier. - -Wed Sep 24 11:29:35 1997 Ian Lance Taylor <ian@cygnus.com> - - * m68k-opc.c: Correct bchg, bclr, bset, and btst on ColdFire. - - * m68k-opc.c: Accept tst{b,w,l} with immediate operands on cpu32. - - * m68k-opc.c: Correct movew of an immediate operand to %sr or %ccr - for mcf5200. - - * configure.in: Call AC_CHECK_TOOL before AM_PROG_LIBTOOL. - * aclocal.m4: Rebuild with new libtool. - * configure: Rebuild. - -Fri Sep 19 11:45:49 1997 Andrew Cagney <cagney@b1.cygnus.com> - - * v850-opc.c ("cmov"): Order reg param r1, r2 not r2, r2. - -Thu Sep 18 11:21:43 1997 Doug Evans <dje@canuck.cygnus.com> - - * sparc-opc.c (sparclet_cpreg_table): Add %ccsr2, %cccrr, %ccrstr. - -Tue Sep 16 15:18:20 1997 Nick Clifton <nickc@cygnus.com> - - * v850-opc.c (v850_opcodes): Further rearrangements. - -Tue Sep 16 16:12:11 1997 Ken Raeburn <raeburn@cygnus.com> - - * d30v-opc.c (rot2h, sra2h, srl2h insns): Revert last change. - -Tue Sep 16 09:48:50 1997 Nick Clifton <nickc@cygnus.com> - - * v850-opc.c (v850_opcodes): Fields reordered to allow assembler - parser to work. - -Tue Sep 16 10:01:00 1997 Gavin Koch <gavin@cygnus.com> - - * mips-opc.c: Added tx39 insns sdbbp, rfe, and deret. - -Mon Sep 15 18:31:52 1997 Nick Clifton <nickc@cygnus.com> - - * v850-opc.c: Initialise processors field of v850_opcode structure. - -Wed Aug 27 21:42:39 1997 Ken Raeburn <raeburn@cygnus.com> - - Merge changes from Martin Hunt: - - * d30v-opc.c: Change mvfacc to accept 6-bit unsigned values. - - * d30v-opc.c (pre_defined_registers): Add control registers from 0-63. - (d30v_opcode_tabel): Add dbt, rtd, srah, and srlh instructions. Fix - rot2h, sra2h, and srl2h to use new SHORT_A5S format. - - * d30v-dis.c (print_insn): Fix disassembly of SHORT_D2 opcodes. - - * d30v-dis.c (print_insn): First operand of d*i (delayed - branch) instructions is relative. - - * d30v-opc.c (d30v_opcode_table): Change form for repeati. - (d30v_operand_table): Add IMM6S3 type. - (d30v_format_table): Change SHORT_D2. Add LONG_Db. - - * d30v-dis.c: Fix bug with ".s" and ".l" extensions - and cmp instructions. - - * d30v-opc.c: Correct entries for repeat*, and sat*. - Make IMM5 unsigned. Create IMM6U and IMM12S3U operand - types. Correct several formats. - - * d30v-opc.c: (pre_defined_registers): Add dpsw and dpc. - - * d30v-opc.c (pre_defined_registers): Change control registers. - - * d30v-opc.c (d30v_format_table): Correct SHORT_C1 and - SHORT_C2. Manual was incorrect. - - * d30v-dis.c (lookup_opcode): Return value now indicates - if an opcode has a short and a long form. Used for deciding - to append a ".s" or ".l". - (print_insn): Append a ".s" to an instruction if it is - the short form and ".l" if it is a long form. Do not append - anything if the instruction has only one possible size. - - * d30v-opc.c: Change mulx2h to require an even register. - New form: SHORT_A2; a SHORT_A form that needs an even - register as the first operand. - - * d30v-dis.c (print_insn_d30v): Fix problem where the last - instruction was not being disassembled if there were an odd - number of instructions. - - * d30v-opc.c (SHORT_M2, LONG_M2): Two new forms. - -Fri Sep 12 11:43:54 1997 Nick Clifton <nickc@cygnus.com> - - * v850-dis.c (disassemble): Improved display of register lists. - -Thu Sep 11 17:35:10 1997 Doug Evans <dje@canuck.cygnus.com> - - * sparc-opc.c (sparc_opcodes): Fix assembler args to - fzeros, fones, fsrc1, fsrc1s, fsrc2s, fnot1, fnot1s, fnot2s, - fors, fnors, fands, fnands, fxors, fxnors, fornot1s, fornot2s, - fandnot1s, fandnot2s. - -Tue Sep 9 10:03:49 1997 Doug Evans <dje@canuck.cygnus.com> - - * sparc-opc.c (sparc_opcodes): Fix op3 field for fcmpq/fcmpeq. - -Mon Sep 8 14:06:59 1997 Doug Evans <dje@canuck.cygnus.com> - - * cgen-asm.c (cgen_parse_address): New argument resultp. - All callers updated. - * m32r-asm.c (parse_h_hi16): Right shift numbers by 16. - -Tue Sep 2 18:39:08 1997 Jeffrey A Law (law@cygnus.com) - - * mn10200-dis.c (disassemble): PC relative instructions are - relative to the next instruction, not the current instruction. - -Tue Sep 2 15:41:55 1997 Nick Clifton <nickc@cygnus.com> - - * v850-dis.c (disassemble): Only signed extend values that are not - returned by extract functions. - Remove use of V850_OPERAND_ADJUST_SHORT_MEMORY flag. - -Tue Sep 2 15:39:40 1997 Nick Clifton <nickc@cygnus.com> - - * v850-opc.c: Update comments. Remove use of - V850_OPERAND_ADJUST_SHORT_MEMORY. Fix several operand patterns. - -Tue Aug 26 09:42:28 1997 Nick Clifton <nickc@cygnus.com> - - * v850-opc.c (MOVHI): Immediate parameter is unsigned. - -Mon Aug 25 15:58:07 1997 Christopher Provenzano <proven@cygnus.com> - - * configure: Rebuilt with latest devo autoconf for NT support. - -Fri Aug 22 10:35:15 1997 Nick Clifton <nickc@cygnus.com> - - * v850-dis.c (disassemble): Use curly brace syntax for register - lists. - - * v850-opc.c (v850_opcodes[]): Add NOT_R0 flag to decect cases - where r0 is being used as a destination register. - -Thu Aug 21 11:09:09 1997 Nick Clifton <nickc@cygnus.com> - - * v850-opc.c (v850_opcodes[]): Move divh opcodes next to each other. - -Tue Aug 19 10:59:59 1997 Richard Henderson <rth@cygnus.com> - - * alpha-opc.c (alpha_opcodes): Fix hw_rei_stall mungage. - -Mon Aug 18 11:10:03 1997 Nick Clifton <nickc@cygnus.com> - - * v850-opc.c (v850_opcodes[]): Remove use of flag field. - * v850-opc.c (v850_opcodes[]): Add support for reversed short load - opcodes.. - -Mon Aug 18 11:08:25 1997 Nick Clifton <nickc@cygnus.com> - - * configure (cgen_files): Add support for v850e target. - * configure.in (cgen_files): Add support for v850e target. - -Mon Aug 18 11:08:25 1997 Nick Clifton <nickc@cygnus.com> - - * configure (cgen_files): Add support for v850ea target. - * configure.in (cgen_files): Add support for v850ea target. - -Fri Aug 15 05:17:48 1997 Doug Evans <dje@canuck.cygnus.com> - - * configure.in (bfd_arc_arch): Add. - * configure: Rebuild. - * Makefile.am (ALL_MACHINES): Add arc-dis.lo, arc-opc.lo. - * Makefile.in: Rebuild. - * arc-dis.c, arc-opc.c: New files. - * disassemble.c (ARCH_all): Define ARCH_arc. - (disassembler): Add ARC support. - -Wed Aug 13 18:52:11 1997 Nick Clifton <nickc@cygnus.com> - - * v850-dis.c (disassemble): Add support for v850EA instructions. - - * v850-opc.c (insert_i5div, extract_i5div): New Functions. - (v850_opcodes): Add v850EA instructions. - - * v850-dis.c (disassemble): Add support for v850E instructions. - - * v850-opc.c (insert_d5_4, extract_d5_4, insert_d16_16, - extract_d16_16, insert_i9, extract_i9, insert_u9, extract_u9, - insert_spe, extract_spe): New Functions. - (v850_opcodes): Add v850E instructions. - - * v850-opc.c: Reorganised and re-layed out to improve readability - and portability. - -Tue Aug 5 23:09:31 1997 Ian Lance Taylor <ian@cygnus.com> - - * configure: Rebuild with autoconf 2.12.1. - -Mon Aug 4 12:02:16 1997 Ian Lance Taylor <ian@cygnus.com> - - * aclocal.m4, configure: Rebuild with new automake patches. - -Fri Aug 1 13:02:04 1997 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Set enable_shared before AM_PROG_LIBTOOL. - * acinclude.m4: Just include acinclude.m4 from BFD. - * aclocal.m4, configure: Rebuild. - -Thu Jul 31 21:44:42 1997 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.am: New file, based on old Makefile.in. - * acconfig.h: New file. - * acinclude.m4: New file. - * stamp-h.in: New file. - * configure.in: Call AM_INIT_AUTOMAKE and AM_PROG_LIBTOOL. - Removed shared library handling; now handled by libtool. Replace - AC_CONFIG_HEADER with AM_CONFIG_HEADER. Call AM_MAINTAINER_MODE, - AM_CYGWIN32, and AM_EXEEXT. Replace AC_PROG_INSTALL with - AM_PROG_INSTALL. Change all .o files to .lo. Remove stamp-h - handling in AC_OUTPUT. - * dep-in.sed: Change .o to .lo. - * Makefile.in: Now built with automake. - * aclocal.m4: Now built with aclocal. - * config.in, configure: Rebuild. - -Mon Jul 28 21:52:24 1997 Jeffrey A Law (law@cygnus.com) - - * mips-opc.c: Fix typo/thinko in "eret" instruction. - -Thu Jul 24 13:03:26 1997 Doug Evans <dje@canuck.cygnus.com> - - * sparc-opc.c (sparc_opcodes): Fix spelling on fpaddX, fpsubX insns. - Make array const. - * sparc-dis.c (sorted_opcodes): New static local. - (struct opcode_hash): `opcode' is pointer to const element. - (build_hash): First arg is now table of sorted pointers. - (print_insn_sparc): Sort opcodes by sorting table of pointers. - (compare_opcodes): Update. - -Tue Jul 15 12:05:23 1997 Doug Evans <dje@canuck.cygnus.com> - - * cgen-opc.c: #include <ctype.h>. - (hash_keyword_name): New arg `case_sensitive_p'. Callers updated. - Handle case insensitive hashing. - (hash_keyword_value): Change type of `value' to unsigned int. - -Thu Jul 10 12:56:10 1997 Jeffrey A Law (law@cygnus.com) - - * mips-opc.c (mips_builtin_opcodes): If an insn uses single - precision FP, mark it as such. Likewise for double precision - FP. Mark ISA1 insns. Consolidate duplicate opcodes where - possible. - -Wed Jun 25 15:25:57 1997 Felix Lee <flee@cirdan.cygnus.com> - - * ppc-opc.c (extract_nsi): make unsigned expression signed before - negating it. - (UNUSED): remove one level of parens, so MSVC doesn't choke on - nesting depth when all the macros are expanded. - -Tue Jun 17 17:02:17 1997 Ian Lance Taylor <ian@cygnus.com> - - * sparc-opc.c: The fcmp v9a instructions take an integer register - as a destination, not a floating point register. From Christian - Kuehnke <Christian.Kuehnke@arbi.Informatik.Uni-Oldenburg.DE>. - -Mon Jun 16 14:13:18 1997 Ian Lance Taylor <ian@cygnus.com> - - * m68k-dis.c (print_insn_arg): Print case 7.2 using %pc@() - syntax. From Roman Hodek - <rnhodek@faui22c.informatik.uni-erlangen.de>. - - * i386-dis.c (twobyte_has_modrm): Fix pand. - -Mon Jun 16 14:08:38 1997 Michael Taylor <mbt@mit.edu> - - * i386-dis.c (dis386_twobyte): Fix pand and pandn. - -Tue Jun 10 11:26:47 1997 H.J. Lu <hjl@gnu.ai.mit.edu> - - * arm-dis.c: Add prototypes for arm_decode_shift and - print_insn_arm. - -Mon Jun 2 11:39:04 1997 Gavin Koch <gavin@cygnus.com> - - * mips-opc.c: Add r3900 insns. - -Tue May 27 15:55:44 1997 Ian Lance Taylor <ian@cygnus.com> - - * sh-dis.c (print_insn_shx): Change relmask to bfd_vma. Don't - print delay slot instructions on the same line. When using a PC - relative load, add a comment with the value being loaded if it can - be obtained. - -Tue May 27 11:02:08 1997 Alan Modra <alan@spri.levels.unisa.edu.au> - - * i386-dis.c (dis386[], dis386_twobyte[]): change pushl/popl - to pushS/popS for segment regs and byte constant so that - pushw/popw printed when in 16 bit data mode. - - * i386-dis.c (dis386[]): change cwtl, cltd to cWtS, cStd to - print cbtw, cwtd in 16 bit data mode. - * i386-dis.c (putop): extra case W to support above. - - * i386-dis.c (print_insn_x86): print addr32 prefix when given - address size prefix in 16 bit address mode. - -Fri May 23 16:47:23 1997 Ian Lance Taylor <ian@cygnus.com> - - * sh-dis.c: Reindent. Rename local variable fprintf to - fprintf_fn. - -Thu May 22 14:06:02 1997 Doug Evans <dje@canuck.cygnus.com> - - * m32r-opc.c (m32r_cgen_insn_table, cmpui): Undo patch of May 2. - -Tue May 20 11:26:27 1997 Gavin Koch <gavin@cygnus.com> - - * mips-opc.c (mips_builtin_opcodes): Moved INSN_ISA field into new - field membership. - * mips16-opc.c (mip16_opcodes): same. - -Mon May 12 15:10:53 1997 Jim Wilson <wilson@cygnus.com> - - * m68k-opc.c (moveb): Change $d to %d. - -Mon May 5 14:28:41 1997 Ian Lance Taylor <ian@cygnus.com> - - * i386-dis.c: (dis386_twobyte): Add MMX instructions. - (twobyte_has_modrm): Likewise. - (grps): Likewise. - (OP_MMX, OP_EM, OP_MS): New static functions. - - * i386-dis.c: Revert patch of April 4. The output now matches - what gcc generates. - -Fri May 2 12:48:37 1997 Doug Evans <dje@canuck.cygnus.com> - - * m32r-opc.c (m32r_cgen_insn_table, cmpui): Use $uimm16 instead - of $simm16. - -Thu May 1 15:34:15 1997 Doug Evans <dje@canuck.cygnus.com> - - * m32r-opc.h (CGEN_ARCH): Renamed from CGEN_CPU. - -Tue Apr 15 12:40:08 1997 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in (install): Depend upon installdirs. - (installdirs): New target. - -Mon Apr 14 12:13:51 1997 Ian Lance Taylor <ian@cygnus.com> - - From Thomas Graichen <graichen@rzpd.de>: - * configure.in: Use ${CONFIG_SHELL} when running $ac_config_sub. - * configure: Rebuild. - -Sun Apr 13 17:50:41 1997 Doug Evans <dje@canuck.cygnus.com> - - * cgen-*.c, m32r-*.c: #include sysdep.h instead of config.h. - Delete string{,s}.h support. - -Thu Apr 10 14:44:56 1997 Doug Evans <dje@canuck.cygnus.com> - - * cgen-asm.c (cgen_parse_operand_fn): New global. - (cgen_parse_{{,un}signed_integer,address}): Update call to - cgen_parse_operand_fn. - (cgen_init_parse_operand): New function. - * m32r-asm.c (parse_insn_normal): cgen_init_parse_operand renamed - from cgen_asm_init_parse. - (m32r_cgen_assemble_insn): New operand `errmsg'. - Delete call to as_bad, return error message to caller. - (m32r_cgen_asm_hash_keywords): #if 0 out. - -Wed Apr 9 12:05:25 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * m68k-dis.c (print_insn_arg) [case 'd']: Print as address register, - not data register. - [case 'J']: Fix typo in register name. - -Mon Apr 7 16:48:22 1997 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Substitute SHLIB_LIBS. - * configure: Rebuild. - * Makefile.in (SHLIB_LIBS): New variable. - ($(SHLIB)): Use $(SHLIB_LIBS). - -Mon Apr 7 11:45:44 1997 Doug Evans <dje@canuck.cygnus.com> - - * cgen-dis.c (build_dis_hash_table): Fix xmalloc size computation. - - * cgen-opc.c (hash_keyword_name): Improve algorithm. - - * disassemble.c (disassembler): Handle m32r. - -Fri Apr 4 12:29:38 1997 Doug Evans <dje@canuck.cygnus.com> - - * m32r-asm.c, m32r-dis.c, m32r-opc.c, m32r-opc.h: New files. - * cgen-asm.c, cgen-dis.c, cgen-opc.c: New files. - * Makefile.in (CFILES): Add them. - (ALL_MACHINES): Add them. - (dependencies): Regenerate. - * configure.in (cgen_files): New variable. - (bfd_m32r_arch): Add entry. - * configure: Regenerate. - -Fri Apr 4 14:04:16 1997 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Correct file names for bfd_mn10[23]00_arch. - * configure: Rebuild. - - * Makefile.in: Rebuild dependencies. - - * d10v-dis.c: Include "ansidecl.h" before "opcode/d10v.h". - - * i386-dis.c (float_reg): Swap fsubrp and fsubp. Swap fdivrp and - fdivp. - -Thu Apr 3 13:22:45 1997 Ian Lance Taylor <ian@cygnus.com> - - * Branched binutils 2.8. - -Wed Apr 2 12:23:53 1997 Ian Lance Taylor <ian@cygnus.com> - - * m10200-dis.c: Rename from mn10200-dis.c. - * m10200-opc.c: Rename from mn10200-opc.c. - * m10300-dis.c: Rename from mn10300-dis.c - * m10300-opc.c: Rename from mn10300-opc.c. - * Makefile.in: Update accordingly. - - * mips16-opc.c: Add mul and dmul macros. - -Tue Apr 1 16:27:45 1997 Klaus Kaempf <kkaempf@progis.de> - - * makefile.vms: Update CFLAGS, add clean target. - -Fri Mar 28 12:10:09 1997 Ian Lance Taylor <ian@cygnus.com> - - * mips-opc.c: Add "wait". From Ralf Baechle - <ralf@gnu.ai.mit.edu>. - - * configure.in: Add stdlib.h to AC_CHECK_HEADERS list. - * configure, config.in: Rebuild. - * sysdep.h: Include <stdlib.h> if it exists. - * sparc-dis.c: Include <stdio.h> and "sysdep.h". Don't include - <string.h>. - * Makefile.in: Rebuild dependencies. - -Thu Mar 27 14:24:43 1997 Ian Lance Taylor <ian@cygnus.com> - - * ppc-opc.c: Add PPC 403 instructions and extended opcodes. From - Andrew Bray <andy@madhouse.demon.co.uk>. - - * mips-opc.c: Add cast when setting mips_opcodes. - -Tue Mar 25 23:04:00 1997 Stu Grossman (grossman@critters.cygnus.com) - - * v850-dis.c (disassemble): Fix sign extension problem. - * v850-opc.c (extract_d*): Fix sign extension problems to make - disassembly calculate branch offsets correctly. - -Mon Mar 24 13:22:13 1997 Ian Lance Taylor <ian@cygnus.com> - - * sh-opc.h: Add bf/s and bt/s as synonyms for bf.s and bt.s. - - * mips-opc.c: Add dctr and dctw. - -Sun Mar 23 18:08:10 1997 Martin M. Hunt <hunt@pizza.cygnus.com> - - * d30v-dis.c (print_insn): Change the way signed constants - are displayed. - -Fri Mar 21 14:37:52 1997 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in (BFD_H): New variable. - (HFILES): New variable. - (CFILES): Add all C files. - (.dep, .dep1, dep.sed, dep, dep-in): New targets. - Delete old dependencies, and build new ones. - * dep-in.sed: New file. - -Thu Mar 20 19:03:30 1997 Philippe De Muyter <phdm@info.ucl.ac.be> - - * m68k-opc.c (m68k_opcode_aliases): Added blo and blo{s,b,w,l}. - -Tue Mar 18 14:17:03 1997 Jeffrey A Law (law@cygnus.com) - - * mn10200-opc.c: Change "trap" to "syscall". - * mn10300-opc.c: Add new "syscall" instruction. - -Mon Mar 17 08:48:03 1997 J.T. Conklin <jtc@beauty.cygnus.com> - - * m68k-opc.c (m68k_opcodes): Provide correct entries for mulsl and - mulul insns on the coldfire. - -Sat Mar 15 17:13:05 1997 Ian Lance Taylor <ian@cygnus.com> - - * arm-dis.c (print_insn_arm): Don't print instruction bytes. - (print_insn_big_arm): Set bytes_per_chunk and display_endian. - (print_insn_little_arm): Likewise. - -Fri Mar 14 15:08:59 1997 Ian Lance Taylor <ian@cygnus.com> - - Based on patches from H.J. Lu <hjl@lucon.org>: - * i386-dis.c (fetch_data): Add prototype. - * m68k-dis.c (fetch_data): Add prototype. - (dummy_print_address): Add prototype. Make static. - * ppc-opc.c (valid_bo): Add prototype. - * sparc-dis.c (build_hash_table): Add prototype. - (is_delayed_branch, compute_arch_mask): Add prototypes. - (print_insn_sparc): Make several local variables const. - (compare_opcodes): Change arguments to const PTR. Add prototype. - * sparc-opc.c (arg): Change name field to be const. - (lookup_name, lookup_value): Add prototypes. Change table and - name parameters to be const. - (sparc_encode_asi): Change name parameter to be const. - (sparc_encode_membar, sparc_encode_prefetch): Likewise. - (sparc_encode_sparclet_cpreg): Likewise. - (sparc_decode_asi): Change return type to be const. - (sparc_decode_membar, sparc_decode_prefetch): Likewise. - (sparc_decode_sparclet_cpreg): Likewise. - -Fri Mar 7 10:51:49 1997 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in ($(SHLINK)): Just use ln -s, not ln -sf, since - Solaris doesn't like the combined options, and the -f is - unnecessary. - (stamp-tshlink, install): Likewise. - -Thu Mar 6 16:51:11 1997 Jeffrey A Law (law@cygnus.com) - - * mn10300-opc.c (IMM16_PCREL, SD8N_PCREL, D16_SHIFT): Mark these - as relaxable. - -Tue Mar 4 06:10:36 1997 J.T. Conklin <jtc@cygnus.com> - - * m68k-opc.c (m68k_opcodes): Fix last change for the mc68010. - -Mon Mar 3 07:45:20 1997 J.T. Conklin <jtc@cygnus.com> - - * m68k-opc.c (m68k_opcodes): Added entries for the tst insns on - the mc68000. - -Thu Feb 27 14:04:32 1997 Philippe De Muyter <phdm@info.ucl.ac.be> - - * m68k-opc.c (m68k_opcodes): Added swbegl pseudo-instruction. - -Thu Feb 27 11:36:41 1997 Michael Meissner <meissner@cygnus.com> - - * tic80-dis.c (print_insn_tic80): Set info->bytes_per_line to 8. - -Wed Feb 26 15:34:48 1997 Michael Meissner <meissner@cygnus.com> - - * tic80-opc.c (tic80_predefined_symbols): Define r25 properly. - -Wed Feb 26 13:38:30 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * m68k-dis.c (NEXTSINGLE, NEXTDOUBLE, NEXTEXTEND): Use - floatformat_to_double to make portable. - (print_insn_arg): Use NEXTEXTEND macro when extracting extended - precision float. - -Mon Feb 24 19:26:12 1997 Dawn Perchik <dawn@cygnus.com> - - * mips-opc.c: Initialize mips_opcodes to mips_builtin_opcodes, - and bfd_mips_num_opcodes to bfd_mips_num_builtin_opcodes. - -Mon Feb 24 15:19:01 1997 Martin M. Hunt <hunt@pizza.cygnus.com> - - * d10v-dis.c, d10v-opc.c: Change pre_defined_registers to - d10v_predefined_registers and reg_name_cnt to d10v_reg_name_cnt. - -Mon Feb 24 14:33:26 1997 Fred Fish <fnf@cygnus.com> - - * tic80-opc.c (LSI_SCALED): Renamed from this ... - (OFF_SL_BR_SCALED): ... to this, and added the flag - TIC80_OPERAND_BASEREL to the flags word. - (tic80_opcodes): Replace all occurances of LSI_SCALED with - OFF_SL_BR_SCALED. - -Sat Feb 22 21:25:00 1997 Dawn Perchik <dawn@cygnus.com> - - * mips-opc.c: Add macros for cop0, cop1 cop2 and cop3. - Change mips_opcodes from const array to a pointer, - and change bfd_mips_num_opcodes from const int to int, - so that we can increase the size of the mips opcodes table - dynamically. - -Sat Feb 22 21:03:47 1997 Fred Fish <fnf@cygnus.com> - - * tic80-opc.c (tic80_predefined_symbols): Revert change to - store BITNUM values in the table in one's complement form - to match behavior when assembler is given a raw numeric - value for a BITNUM operand. - * tic80-dis.c (print_operand_bitnum): Ditto. - -Fri Feb 21 16:31:18 1997 Martin M. Hunt <hunt@pizza.cygnus.com> - - * d30v-opc.c: Removed references to FLAG_X. - -Wed Feb 19 14:51:20 1997 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in: Add dependencies on ../bfd/bfd.h as required. - -Tue Feb 18 17:43:43 1997 Martin M. Hunt <hunt@pizza.cygnus.com> - - * Makefile.in: Added d30v object files. - * configure: (bfd_d30v_arch) Rebuilt. - * configure.in: (bfd_d30v_arch) Added new case. - * d30v-dis.c: New file. - * d30v-opc.c: New file. - * disassemble.c (disassembler) Add entry for d30v. - -Tue Feb 18 16:32:08 1997 Fred Fish <fnf@cygnus.com> - - * tic80-opc.c (tic80_predefined_symbols): Add symbolic - representations for the floating point BITNUM values. - -Fri Feb 14 12:14:05 1997 Fred Fish <fnf@cygnus.com> - - * tic80-opc.c (tic80_predefined_symbols): Store BITNUM values - in the table in one's complement form, as they appear in the - actual instruction. - (tic80_symbol_to_value): Use macros to access predefined - symbol fields. - (tic80_value_to_symbol): Ditto. - (tic80_next_predefined_symbol): New function. - * tic80-dis.c (print_operand_bitnum): Remove code that did - one's complement for BITNUM values. - -Thu Feb 13 21:56:51 1997 Klaus Kaempf <kkaempf@progis.de> - - * makefile.vms: Remove 8 bit characters. Update to latest - gcc release. - -Thu Feb 13 20:41:22 1997 Philippe De Muyter <phdm@info.ucl.ac.be> - - * m68k-opc.c (m68k_opcodes): Add swbeg pseudo-instruction. - -Thu Feb 13 16:30:02 1997 Jeffrey A Law (law@cygnus.com) - - * mn10200-opc.c (IMM16_PCREL): This is a signed operand. - (IMM24_PCREL): Likewise. - -Thu Feb 13 13:28:43 1997 Ian Lance Taylor <ian@cygnus.com> - - * mips-dis.c (print_mips16_insn_arg): Use memaddr - 2 as the base - address for an extended PC relative instruction that is not a - branch. - -Wed Feb 12 12:27:40 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * m68k-dis.c (print_insn_m68k): Set bytes_per_chunk and - bytes_per_line. - -Tue Feb 11 16:36:31 1997 Fred Fish <fnf@cygnus.com> - - * tic80-opc.c (tic80_operands): Fix typo '+' -> '|'. - (tic80_opcodes): Sort entries so that long immediate forms - come after short immediate forms, making it easier for - assembler to select the right one for a given operand. - -Tue Feb 11 15:26:47 1997 Ian Lance Taylor <ian@cygnus.com> - - * mips-dis.c (_print_insn_mips): Set bytes_per_chunk and - display_endian. - (print_insn_mips16): Likewise. - -Mon Feb 10 10:12:41 1997 Fred Fish <fnf@cygnus.com> - - * tic80-opc.c (tic80_symbol_to_value): Changed to accept - a symbol class that restricts translation to just that - class (general register, condition code, etc). - -Thu Feb 6 17:34:09 1997 Fred Fish <fnf@cygnus.com> - - * tic80-opc.c (tic80_operands): Add REG_0_E, REG_22_E, - and REG_DEST_E for register operands that have to be - an even numbered register. Add REG_FPA for operands that - are one of the floating point accumulator registers. - Add TIC80_OPERAND_MASK to flags for ENDMASK operand. - (tic80_opcodes): Change entries that need even numbered - register operands to use the new operand table entries. - Add "or" entries that are identical to "or.tt" entries. - -Wed Feb 5 11:12:44 1997 Ian Lance Taylor <ian@cygnus.com> - - * mips16-opc.c: Add new cases of exit instruction for - disassembler. - * mips-dis.c (print_mips16_insn_arg): Display floating point - registers in operands of exit instruction. Print `$' before - register names in operands of entry and exit instructions. - -Thu Jan 30 14:09:03 1997 Fred Fish <fnf@cygnus.com> - - * tic80-opc.c (tic80_predefined_symbols): Table of name/value - pairs for all predefined symbols recognized by the assembler. - Also used by the disassembling routines. - (tic80_symbol_to_value): New function. - (tic80_value_to_symbol): New function. - * tic80-dis.c (print_operand_control_register, - print_operand_condition_code, print_operand_bitnum): - Remove private tables and use tic80_value_to_symbol function. - -Thu Jan 30 11:30:45 1997 Martin M. Hunt <hunt@pizza.cygnus.com> - - * d10v-dis.c (print_operand): Change address printing - to correctly handle PC wrapping. Fixes PR11490. - -Wed Jan 29 09:39:17 1997 Jeffrey A Law (law@cygnus.com) - - * mn10200-opc.c (mn10200_operands): Make 8 and 16 bit pc-relative - branches relaxable. - -Tue Jan 28 15:57:34 1997 Ian Lance Taylor <ian@cygnus.com> - - * mips-dis.c (print_insn_mips16): Set insn_info information. - (print_mips16_insn_arg): Likewise. - - * mips-dis.c (print_insn_mips16): Better handling of an extend - opcode followed by an instruction which can not be extended. - -Fri Jan 24 12:08:21 1997 J.T. Conklin <jtc@cygnus.com> - - * m68k-opc.c (m68k_opcodes): Changed operand specifier for the - coldfire moveb instruction to not allow an address register as - destination. Although the documentation does not indicate that - this is invalid, experiments uncovered unexpected behavior. - Added a comment explaining the situation. Thanks to Andreas - Schwab for pointing this out to me. - -Wed Jan 22 20:13:51 1997 Fred Fish <fnf@cygnus.com> - - * tic80-opc.c (tic80_opcodes): Expand comment to note that the - entries are presorted so that entries with the same mnemonic are - adjacent to each other in the table. Sort the entries for each - instruction so that this is true. - -Mon Jan 20 12:48:57 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * m68k-dis.c: Include <libiberty.h>. - (print_insn_m68k): Sort the opcode table on the most significant - nibble of the opcode. - -Sat Jan 18 15:15:05 1997 Fred Fish <fnf@cygnus.com> - - * tic80-dis.c (tic80_opcodes): Add "wrcr", "vmpy", "vrnd", - "vsub", "vst", "xnor", and "xor" instructions. - (V_a1): Renamed from V_a, msb of accumulator reg number. - (V_a0): Add macro, lsb of accumulator reg number. - -Fri Jan 17 18:24:31 1997 Fred Fish <fnf@cygnus.com> - - * tic80-dis.c (print_insn_tic80): Broke excessively long - function up into several smaller ones and arranged for - the instruction printing function to be callable recursively - to print vector instructions that have both a load and a - math instruction packed into a single opcode. - * tic80-opc.c (tic80_opcodes): Expand comment for vld opcode - to explain why it comes after the other vector opcodes. - -Fri Jan 17 16:19:15 1997 J.T. Conklin <jtc@beauty.cygnus.com> - - * m68k-opc.c (m68k_opcodes): add b, w, or l specifier to coldfire - move insns to handle immediate operands. - -Thu Jan 17 16:19:00 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * m68k-opc.c (m68k_opcodes): Delete duplicate entry for "cmpil". - fix operand mask in the "moveml" entries for the coldfire. - -Thu Jan 16 20:54:40 1997 Fred Fish <fnf@cygnus.com> - - * tic80-opc.c (V_a, V_m, V_S, V_Z, V_p, OP_V, MASK_V): - New macros for building vector instruction opcodes. - (tic80_opcodes): Remove all uses of FMT_SI, FMT_REG, and - FMT_LI, which were unused. The field is now a flags field. - Remove some opcodes that are possible, but illegal, such - as long immediate instructions with doubles for immediate - values. Add "vadd" and "vld" instructions. - -Wed Jan 15 18:59:51 1997 Fred Fish <fnf@cygnus.com> - - * tic80-opc.c (tic80_operands): Reorder some table entries to make - the order more logical. Move the shift alias instructions ("rotl", - "shl", "ins", "rotr", "extu", "exts", "srl", and "sra" to be - interspersed with the regular sr.x and sl.x instructions. Add - and test new instruction opcodes for "sl", "sli", "sr", "sri", "st", - "sub", "subu", "swcr", and "trap". - -Tue Jan 14 19:42:50 1997 Fred Fish <fnf@cygnus.com> - - * tic80-opc.c (OFF_SS_PC): Renamed from OFF_SS. - (OFF_SL_PC): Renamed from OFF_SL. - (OFF_SS_BR): New operand type for base relative operand. - (OFF_SL_BR): New operand type for base relative operand. - (REG_BASE): New operand type for base register operand. - (tic80_opcodes): Add and test "fmpy", "frndm", "frndn", "frndp", - "frndz", "fsqrt", "fsub", "illop0", "illopF", "ins", "jsr", - "ld", "ld.u", "lmo", "or", "rdcr", "rmo", "rotl", and "rotr" - instructions. - * tic80-dis.c (print_insn_tic80): Print opcode name with fixed width - 10 char field, padded with spaces on rhs, rather than a string - followed by a tab. Use renamed TIC80_OPERAND_PCREL flag bit rather - than old TIC80_OPERAND_RELATIVE. Add support for new - TIC80_OPERAND_BASEREL flag bit. - -Mon Jan 13 15:58:56 1997 Fred Fish <fnf@cygnus.com> - - * tic80-dis.c (print_insn_tic80): Print floating point operands - as floats. - * tic80-opc.c (SPFI): Add single precision floating point - immediate operand type. - (ROTATE): Add rotate operand type for shifts. - (ENDMASK): Add for shifts. - (n): Macro for the 'n' bit. - (i): Macro for the 'i' bit. - (PD): Macro for the 'PD' field. - (P2): Macro for the 'P2' field. - (P1): Macro for the 'P1' field. - (tic80_opcodes): Add entries for "exts", "extu", "fadd", - "fcmp", and "fdiv". - -Mon Jan 6 15:06:55 1997 Jeffrey A Law (law@cygnus.com) - - * mn10200-dis.c (disassemble): Mask off unwanted bits after - adding in current address for pc-relative operands. - -Mon Jan 6 10:56:25 1997 Fred Fish <fnf@cygnus.com> - - * tic80-dis.c (R_SCALED): Add macro to test for ":s" modifier bit. - (print_insn_tic80): If R_SCALED then print ":s" modifier for operand. - * tic80-opc.c (REG0, REG22, REG27, SSOFF, LSOFF): Names - changed to REG_0, REG_22, REG_DEST, OFF_SS, OFF_SL respectively. - (SICR, LICR, REGM_SI, REGM_LI): Names changed to CR_SI, CR_LI, - REG_BASE_M_SI, REG_BASE_M_LI respectively. - (REG_SCALED, LSI_SCALED): New operand types. - (E): New macro for 'E' bit at bit 27. - (tic80_opcodes): Add and test dld, dld.u, dst, estop, and etrap - opcodes, including the various size flavors (b,h,w,d) for - the direct load and store instructions. - -Sun Jan 5 12:18:14 1997 Fred Fish <fnf@cygnus.com> - - * tic80-dis.c (M_SI, M_LI): Add macros to test for ":m" modifier bit - in an instruction. - * tic80-dis.c (print_insn_tic80): Change comma and paren handling. - Use M_SI and M_LI macros to check for ":m" modifier for GPR operands. - * tic80-opc.c (tic80_operands): Add REGM_SI and REGM_LI operands. - (F, M_REG, M_LI, M_SI, SZ_REG, SZ_LI, SZ_SI, D, S): New bit-twiddlers. - (MASK_LI_M, MASK_SI_M, MASK_REG_M): Remove and replace in opcode - masks with "MASK_* & ~M_*" to get the M bit reset. - (tic80_opcodes): Add bsr, bsr.a, cmnd, cmp, dcachec, and dcachef. - -Sat Jan 4 19:05:05 1997 Fred Fish <fnf@cygnus.com> - - * tic80-dis.c (print_insn_tic80): Print TIC80_OPERAND_RELATIVE - correctly. Add support for printing TIC80_OPERAND_BITNUM and - TIC80_OPERAND_CC, and TIC80_OPERAND_CR operands in symbolic - form. - * tic80-opc.c (tic80_operands): Add SSOFF, LSOFF, BITNUM, - CC, SICR, and LICR table entries. - (tic80_opcodes): Add and test "nop", "br", "bbo", "bbz", - "bcnd", and "brcr" opcodes. - -Fri Jan 3 18:32:11 1997 Fred Fish <fnf@cygnus.com> - - * ppc-opc.c (powerpc_operands): Make comment match the - actual fields (no shift field). - * sparc-opc.c (sparc_opcodes): Document why this cannot be "const". - * tic80-dis.c (print_insn_tic80): Replace abort stub with a - partial implementation, work in progress. - * tic80-opc.c (tic80_operands): Begin construction operands table. - (tic80_opcodes): Continue populating opcodes table and start - filling in the operand indices. - (tic80_num_opcodes): Add this. - -Fri Jan 3 12:13:52 1997 Ian Lance Taylor <ian@cygnus.com> - - * m68k-opc.c: Add #B case for moveq. - -Thu Jan 2 12:14:29 1997 Jeffrey A Law (law@cygnus.com) - - * mn10300-dis.c (disassemble): Make sure all variables are initialized - before they are used. - -Tue Dec 31 12:20:38 1996 Jeffrey A Law (law@cygnus.com) - - * v850-opc.c (v850_opcodes): Put curly-braces around operands - for "breakpoint" instruction. - -Tue Dec 31 15:38:13 1996 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE. - (dep): Use ALL_CFLAGS rather than CFLAGS. - -Tue Dec 31 15:09:16 1996 Michael Meissner <meissner@tiktok.cygnus.com> - - * v850-opc.c (D8_{6,7}): Set V850_OPERAND_ADJUST_SHORT_MEMORY - flag. - -Mon Dec 30 17:02:11 1996 Fred Fish <fnf@cygnus.com> - - * Makefile.in (m68k-opc.o, alpha-opc.o): Remove dis-asm.h dependency. - (tic80-dis.o, tic80-opc.o): Add rules per comment in Makefile.in. - -Mon Dec 30 11:38:01 1996 Ian Lance Taylor <ian@cygnus.com> - - * mips16-opc.c: Add "abs". - -Sun Dec 29 10:58:22 1996 Fred Fish <fnf@cygnus.com> - - * Makefile.in (ALL_MACHINES): Add tic80-dis.o and tic80-opc.o. - * disassemble.c (ARCH_tic80): Define if ARCH_all is defined. - (disassembler): Add bfd_arch_tic80 support to set disassemble - to print_insn_tic80. - * tic80-dis.c (print_insn_tic80): Add stub. - -Fri Dec 27 22:30:57 1996 Fred Fish <fnf@cygnus.com> - - * configure.in (arch in $selarchs): Add bfd_tic80_arch entry. - * configure: Regenerate with autoconf. - * tic80-dis.c: Add file. - * tic80-opc.c: Add file. - -Fri Dec 20 14:30:19 1996 Martin M. Hunt <hunt@pizza.cygnus.com> - - * d10v-opc.c (pre_defined_registers): Add cr[0-15], dpc, dpsw, link. - -Mon Dec 16 13:00:15 1996 Jeffrey A Law (law@cygnus.com) - - * mn10200-opc.c (mn10200_operands): Add SIMM16N. - (mn10200_opcodes): Use it for some logicals and btst insns. - Add "break" and "trap" instructions. - - * mn10300-opc.c (mn10300_opcodes): Add "break" instruction. - - * mn10200-opc.c: Add pseudo-ops for "mov (an),am" and "mov an,(am)". - -Sat Dec 14 22:36:20 1996 Ian Lance Taylor <ian@cygnus.com> - - * mips-dis.c (print_mips16_insn_arg): The base address of a PC - relative load or add now depends upon whether the instruction is - in a delay slot. - -Wed Dec 11 09:23:46 1996 Jeffrey A Law (law@cygnus.com) - - * mn10200-dis.c: Finish writing disassembler. - * mn10200-opc.c (mn10200_opcodes): Fix mask for "mov imm8,dn". - Fix mask for "jmp (an)". - - * mn10300-dis.c (disassemble, print_insn_mn10300): Corrently - handle endianness issues for mn10300. - - * mn10200-opc.c (mn10200_opcodes): Fix operands for "movb dm,(an)". - -Tue Dec 10 12:08:05 1996 Jeffrey A Law (law@cygnus.com) - - * mn10200-opc.c (mn10200_opcodes): "mov imm8,d0" is a format 2 - instruction. Fix opcode field for "movb (imm24),dn". - - * mn10200-opc.c (mn10200_operands): Fix insertion position - for DI operand. - -Mon Dec 9 16:42:43 1996 Jeffrey A Law (law@cygnus.com) - - * mn10200-opc.c: Create mn10200 opcode table. - * mn10200-dis.c: Flesh out mn10200 disassembler. Not ready, - but moving along nicely. - -Sun Dec 8 04:28:31 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) - - * Makefile.in (ALL_MACHINES): Add mips16-opc.o. - -Fri Dec 6 16:47:40 1996 J.T. Conklin <jtc@rhino.cygnus.com> - - * m68k-opc.c (m68k_opcodes): Revert change to use < and > - specifiers for fmovem* instructions. - -Fri Dec 6 14:48:09 1996 Jeffrey A Law (law@cygnus.com) - - * mn10300-dis.c (disassemble): Remove '$' register prefixing. - -Fri Dec 6 17:34:39 1996 Ian Lance Taylor <ian@cygnus.com> - - * mips16-opc.c: Change opcode for entry/exit to avoid conflicting - with dsrl. - -Fri Dec 6 14:48:09 1996 Jeffrey A Law (law@cygnus.com) - - * mn10300-opc.c: Add some comments explaining the various - operands and such. - - * mn10300-dis.c (disassemble): Fix minor gcc -Wall warnings. - -Thu Dec 5 12:09:48 1996 J.T. Conklin <jtc@rtl.cygnus.com> - - * m68k-dis.c (print_insn_arg): Handle new < and > operand - specifiers. - - * m68k-opc.c (m68k_opcodes): Simplify table by using < and > - operand specifiers in fmovm* instructions. - -Wed Dec 4 14:52:18 1996 Ian Lance Taylor <ian@cygnus.com> - - * ppc-opc.c (insert_li): Give an error if the offset has the two - least significant bits set. - -Wed Nov 27 13:09:01 1996 Ian Lance Taylor <ian@cygnus.com> - - * mips-dis.c (print_insn_mips16): Separate the instruction from - the arguments with a tab, not a space. - -Tue Nov 26 13:24:17 1996 Jeffrey A Law (law@cygnus.com) - - * mn10300-dis.c (disasemble): Finish conversion to '$' as - register prefix. - - * mn10300-opc.c (mn10300_opcodes): Fix mask field for - mov am,(imm32,sp). - -Tue Nov 26 10:53:21 1996 Ian Lance Taylor <ian@cygnus.com> - - * configure: Rebuild with autoconf 2.12. - - Add support for mips16 (16 bit MIPS implementation): - * mips16-opc.c: New file. - * mips-dis.c: Include "elf-bfd.h" and "elf/mips.h". - (mips16_reg_names): New static array. - (print_insn_big_mips): Use print_insn_mips16 in 16 bit mode or - after seeing a 16 bit symbol. - (print_insn_little_mips): Likewise. - (print_insn_mips16): New static function. - (print_mips16_insn_arg): New static function. - * mips-opc.c: Add jalx instruction. - * Makefile.in (mips16-opc.o): New target. - * configure.in: Use mips16-opc.o for bfd_mips_arch. - * configure: Rebuild. - -Mon Nov 25 16:15:17 1996 J.T. Conklin <jtc@cygnus.com> - - * m68k-opc.c (m68k_opcodes): Simplify table by using < and > - operand specifiers in *save, *restore and movem* instructions. - - * m68k-opc.c (m68k_opcodes): Fix move and movem instructions for - the coldfire. - - * m68k-opc.c (m68k_opcodes): The coldfire (mcf5200) can only use - register operands for immediate arithmetic, not, neg, negx, and - set according to condition instructions. - - * m68k-opc.c (m68k_opcodes): Consistantly Use "s" as the storage - specifier of the effective-address operand in immediate forms of - arithmetic instructions. The specifier for the immediate operand - notes how and where the constant will be stored. - -Mon Nov 25 11:17:01 1996 Jeffrey A Law (law@cygnus.com) - - * mn10300-opc.c (mn10300_opcodes): Remove redundant "lcc" - opcode. - - * mn10300-dis.c (disassemble): Use '$' instead of '%' for - register prefix. - - * mn10300-dis.c (disassemble): Prefix registers with '%'. - -Wed Nov 20 10:37:13 1996 Jeffrey A Law (law@cygnus.com) - - * mn10300-dis.c (disassemble): Handle register lists. - - * mn10300-opc.c: Fix handling of register list operand for - "call", "ret", and "rets" instructions. - - * mn10300-dis.c (disassemble): Print PC-relative and memory - addresses symbolically if possible. - * mn10300-opc.c: Distinguish between absolute memory addresses, - pc-relative offsets & random immediates. - - * mn10300-dis.c (print_insn_mn10300): Fix fetch of last byte - in 7 byte insns. - (disassemble): Handle SPLIT and EXTENDED operands. - -Tue Nov 19 13:33:01 1996 Jeffrey A Law (law@cygnus.com) - - * mn10300-dis.c: Rough cut at printing some operands. - - * mn10300-dis.c: Start working on disassembler support. - * mn10300-opc.c (mn10300_opcodes): Fix masks on several insns. - - * mn10300-opc.c (mn10300_operands): Add "REGS" for a register - list. - (mn10300_opcodes): Use REGS for register list in "movm" instructions. - -Mon Nov 18 15:20:35 1996 Michael Meissner <meissner@tiktok.cygnus.com> - - * d10v-opc.c (d10v_opcodes): Add3 sets the carry. - -Fri Nov 15 13:43:19 1996 Jeffrey A Law (law@cygnus.com) - - * mn10300-opc.c (mn10300_opcodes): Demand parens around - register argument is calls and jmp instructions. - -Thu Nov 7 00:26:05 1996 Jeffrey A Law (law@cygnus.com) - - * mn10300-opc.c (mn10300_opcodes): Use DN01 for putx and - getx operand. Fix opcode for mulqu imm,dn. - -Wed Nov 6 13:42:32 1996 Jeffrey A Law (law@cygnus.com) - - * mn10300-opc.c (mn10300_operands): Hijack "bits" field - in MN10300_OPERAND_SPLIT operands for how many bits - appear in the basic insn word. Add IMM32_HIGH24, - IMM32_HIGH24_LOWSHIFT8, IMM8E_SHIFT8. - (mn10300_opcodes): Use new operands as needed. - - * mn10300-opc.c (mn10300_operands): Add IMM32_LOWSHIFT8 - for bset, bclr, btst instructions. - (mn10300_opcodes): Use new IMM32_LOWSHIFT8 as needed. - - * mn10300-opc.c (mn10300_operands): Remove many redundant - operands. Update opcode table as appropriate. - (IMM32): Add MN10300_OPERAND_SPLIT flag. - (mn10300_opcodes): Fix single bit error in mov imm32,dn insn. - -Tue Nov 5 13:26:58 1996 Jeffrey A Law (law@cygnus.com) - - * mn10300-opc.c (mn10300_operands): Add DN2, DM2, AN2, AM2 - operands (for indexed load/stores). Fix bitpos for DI - operand. Add SN8N_SHIFT8, IMM8_SHIFT8, and D16_SHIFT for the - few instructions that insert immediates/displacements in the - middle of the instruction. Add IMM8E for 8 bit immediate in - the extended part of an instruction. - (mn10300_operands): Use new opcodes as appropriate. - -Tue Nov 5 10:30:51 1996 Martin M. Hunt <hunt@pizza.cygnus.com> - - * d10v-opc.c (d10v_opcodes): Declare the trap instruction - sequential so the assembler never parallelizes it with - other instructions. - -Mon Nov 4 12:50:40 1996 Jeffrey A Law (law@cygnus.com) - - * mn10300-opc.c (mn10300_operands): Add DN01 and AN01 for - a data/address register that appears in register field 0 - and register field 1. - (mn10300_opcodes): Use DN01 and AN01 for mov/cmp imm8,DN/AN - -Fri Nov 1 10:29:11 1996 Richard Henderson <rth@tamu.edu> - - * alpha-dis.c (print_insn_alpha): Use new NOPAL mask for - standard disassembly. - - * alpha-opc.c (alpha_operands): Rearrange flags slot. - (alpha_opcodes): Add new BWX, CIX, and MAX instructions. - Recategorize PALcode instructions. - -Wed Oct 30 16:46:58 1996 Jeffrey A Law (law@cygnus.com) - - * v850-opc.c (v850_opcodes): Add relaxing "jbr". - -Tue Oct 29 16:30:28 1996 Ian Lance Taylor <ian@cygnus.com> - - * mips-dis.c (_print_insn_mips): Don't print a trailing tab if - there are no operand types. - -Tue Oct 29 12:22:21 1996 Jeffrey A Law (law@cygnus.com) - - * v850-opc.c (D9_RELAX): Renamed from D9, all references - changed. - (v850_operands): Make sure D22 immediately follows D9_RELAX. - -Fri Oct 25 12:12:53 1996 Ian Lance Taylor <ian@cygnus.com> - - * i386-dis.c (print_insn_x86): Set info->bytes_per_line to 5. - -Thu Oct 24 17:53:52 1996 Jeffrey A Law (law@cygnus.com) - - * v850-opc.c (insert_d8_6): Fix operand insertion for sld.w - and sst.w instructions. - - * v850-opc.c (v850_opcodes): Add "jCC" instructions (aliases for - "bCC"instructions). - -Thu Oct 24 17:21:20 1996 Ian Lance Taylor <ian@cygnus.com> - - * mips-dis.c (_print_insn_mips): Use a tab between the instruction - and the arguments. - -Tue Oct 22 23:32:56 1996 Ian Lance Taylor <ian@cygnus.com> - - * ppc-opc.c (PPCPWR2): Define. - (powerpc_opcodes): Use PPCPWR2 for fsqrt, rather than duplicating - it. - -Fri Oct 11 16:03:49 1996 Jeffrey A Law (law@cygnus.com) - - * mn10300-opc.c (mn10300_opcodes): Fix typo in opcode - field for movhu instruction. - - * v850-dis.c (disassemble): For V850_OPERAND_SIGNED operands, - cast value to "long" not "signed long" to keep hpux10 - compiler quiet. - -Thu Oct 10 10:25:58 1996 Jeffrey A Law (law@cygnus.com) - - * mn10300-opc.c (mn10300_opcodes): Fix typo in opcode field - for mov (abs16),DN. - - * mn10300-opc.c (FMT*): Remove definitions. - - * mn10300-opc.c (mn10300_opcodes): Fix destination register - for shift-by-register opcodes. - - * mn10300-opc.c (mn10300_operands): Break DN, DM, AN, AM - into [AD][MN][01] for encoding the position of the register - in the opcode. - -Wed Oct 9 11:19:26 1996 Jeffrey A Law (law@cygnus.com) - - * mn10300-opc.c (mn10300_opcodes): Add "extended" instructions, - "putx", "getx", "mulq", "mulqu", "sat16", "sat24", "bsch". - -Tue Oct 8 11:55:35 1996 Jeffrey A Law (law@cygnus.com) - - * mn10300-opc.c (mn10300_operands): Remove "REGS" operand. - Fix various typos. Add "PAREN" operand. - (MEM, MEM2): Define. - (mn10300_opcodes): Surround all memory addresses with "PAREN" - operands. Fix several typos. - - * mn10300-opc.c (mn10300_opcodes): Fix typos in yesterday's - changes. - -Mon Oct 7 16:48:45 1996 Jeffrey A Law (law@cygnus.com) - - * mn10300-opc.c (FMT_XX): Renumber starting at one. - (mn10300_operands): Rough cut. Enough to parse "mov" instructions - at this time. - (mn10300_opcodes): Break opcode format out into its own field. - Update many operand fields to deal with signed vs unsigned - issues. Fix one or two typos in the "mov" instruction - opcode, mask and/or operand fields. - -Mon Oct 7 11:39:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * m68k-opc.c (plusha): Prefer encoding for m68040up, in case - m68851 wasn't reset. - -Thu Oct 3 17:17:02 1996 Ian Lance Taylor <ian@cygnus.com> - - * mn10300-opc.c (mn10300_opcodes): Add opcode & masks for - all opcodes. Very rough cut at operands for all opcodes. - - * mn10300-opc.c (mn10300_opcodes): Start fleshing out the - opcode table. - -Thu Oct 3 10:06:07 1996 Jeffrey A Law (law@cygnus.com) - - * mn10200-opc.c, mn10300-opc.c: New files. - * mn10200-dis.c, mn10300-dis.c: New files. - * mn10x00-opc.c, mn10x00-dis.c: Deleted. - * disassemble.c: Break mn10x00 support into 10200 and 10300 - support. - * configure.in: Likewise. - * configure: Rebuilt. - -Thu Oct 3 15:59:12 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) - - * Makefile.in (MOSTLYCLEAN): Move config.log to distclean. - -Wed Oct 2 23:28:42 1996 Jeffrey A Law (law@cygnus.com) - - * mn10x00-opc.c, mn10x00-dis.c: New files for Matsushita - MN10x00 processors. - * disassemble (ARCH_mn10x00): Define. - (disassembler): Handle bfd_arch_mn10x00. - * configure.in: Recognize bfd_mn10x00_arch. - * configure: Rebuilt. - -Tue Oct 1 10:49:11 1996 Ian Lance Taylor <ian@cygnus.com> - - * i386-dis.c (op_rtn): Change to be a pointer. Adjust uses - accordingly. Don't declare functions using op_rtn. - -Fri Sep 27 18:28:59 1996 Stu Grossman (grossman@critters.cygnus.com) - - * v850-dis.c (disassemble): Add memaddr argument. Re-arrange - params to be more standard. - * (disassemble): Print absolute addresses and symbolic names for - branch and jump targets. - * v850-opc.c (v850_operand): Add displacement flag to 9 and 22 - bit operands. - * (v850_opcodes): Add breakpoint insn. - -Mon Sep 23 12:32:26 1996 Ian Lance Taylor <ian@cygnus.com> - - * m68k-opc.c: Move the fmovemx data register cases before the - other cases, so that they get recognized before the data register - does gets treated as a degenerate register list. - -Tue Sep 17 12:06:51 1996 Ian Lance Taylor <ian@cygnus.com> - - * mips-opc.c: Add a case for "div" and "divu" with two registers - and a destination of $0. - -Tue Sep 10 16:12:39 1996 Fred Fish <fnf@rtl.cygnus.com> - - * mips-dis.c (print_insn_arg): Add prototype. - (_print_insn_mips): Ditto. - -Mon Sep 9 14:26:26 1996 Ian Lance Taylor <ian@cygnus.com> - - * mips-dis.c (print_insn_arg): Print condition code registers as - $fccN. - -Tue Sep 3 12:09:46 1996 Doug Evans <dje@canuck.cygnus.com> - - * sparc-opc.c (sparc_opcodes): Add setuw, setsw, setx. - -Tue Sep 3 12:05:25 1996 Jeffrey A Law (law@cygnus.com) - - * v850-dis.c (disassemble): Make static. Provide prototype. - -Sun Sep 1 22:30:40 1996 Jeffrey A Law (law@cygnus.com) - - * v850-opc.c (insert_d9, insert_d22): Fix boundary case - in range checks. - -Sat Aug 31 01:27:26 1996 Jeffrey A Law (law@cygnus.com) - - * v850-dis.c (disassemble): Handle insertion of ',', '[' and - ']' characters into the output stream. - * v850-opc.c (v850_opcodes: Remove size field from all opcodes. - Add "memop" field to all opcodes (for the disassembler). - Reorder opcodes so that "nop" comes before "mov" and "jr" - comes before "jarl". - - * v850-dis.c (print_insn_v850): Fix typo in last change. - - * v850-dis.c (print_insn_v850): Properly handle disassembling - a two byte insn at the end of a memory region when the memory - region's size is only two byte aligned. - - * v850-dis.c (v850_cc_names): Fix stupid thinkos. - - * v850-dis.c (v850_reg_names): Define. - (v850_sreg_names, v850_cc_names): Likewise. - (disassemble): Very rough cut at printing operands (unformatted). - - * v850-opc.c (BOP_MASK): Fix. - (v850_opcodes): Fix mask for jarl and jr. - - * v850-dis.c: New file. Skeleton for disassembler support. - * Makefile.in Remove v850 references, they're not needed here. - * configure.in: Add v850-dis.o when building v850 toolchains. - * configure: Rebuilt. - * disassemble.c (disassembler): Call v850 disassembler. - - * v850-opc.c (insert_d8_7, extract_d8_7): New functions. - (insert_d8_6, extract_d8_6): New functions. - (v850_operands): Rename D7S to D7; operand for D7 is unsigned. - Rename D8 to D8_7, use {insert,extract}_d8_7 routines. - Add D8_6. - (IF4A, IF4B): Use "D7" instead of "D7S". - (IF4C, IF4D): Use "D8_7" instead of "D8". - (IF4E, IF4F): New. Use "D8_6". - (v850_opcodes): Use IF4A/IF4B for sld.b/sst.b. Use IF4C/IF4D for - sld.h/sst.h. Use IF4E/IF4F for sld.w/sst.w. - - * v850-opc.c (insert_d16_15, extract_d16_15): New functions. - (v850_operands): Change D16 to D16_15, use special insert/extract - routines. New new D16 that uses the generic insert/extract code. - (IF7A, IF7B): Use D16_15. - (IF7C, IF7D): New. Use D16. - (v850_opcodes): Use IF7C and IF7D for ld.b and st.b. - - * v850-opc.c (insert_d9, insert_d22): Slightly improve error - message. Issue an error if the branch offset is odd. - - * v850-opc.c: Add notes about needing special insert/extract - for all the load/store insns, except "ld.b" and "st.b". - - * v850-opc.c (insert_d22, extract_d22): New functions. - (v850_operands): Use insert_d22 and extract_d22 for - D22 operands. - (insert_d9): Fix range check. - -Fri Aug 30 18:01:02 1996 J.T. Conklin <jtc@hippo.cygnus.com> - - * v850-opc.c (v850_operands): Add V850_OPERAND_SIGNED flag - and set bits field to D9 and D22 operands. - -Thu Aug 29 11:10:46 1996 Jeffrey A Law (law@cygnus.com) - - * v850-opc.c (v850_operands): Define SR2 operand. - (v850_opcodes): "ldsr" uses R1,SR2. - - * v850-opc.c (v850_opcodes): Fix opcode specs for - sld.w, sst.b, sst.h, sst.w, and nop. - -Wed Aug 28 15:55:43 1996 Jeffrey A Law (law@cygnus.com) - - * v850-opc.c (v850_opcodes): Add null opcode to mark the - end of the opcode table. - -Mon Aug 26 13:35:53 1996 Martin M. Hunt <hunt@pizza.cygnus.com> - - * d10v-opc.c (pre_defined_registers): Added register pairs, - "r0-r1", "r2-r3", etc. - -Fri Aug 23 00:27:01 1996 Jeffrey A Law (law@cygnus.com) - - * v850-opc.c (v850_operands): Make I16 be a signed operand. - Create I16U for an unsigned 16bit mmediate operand. - (v850_opcodes): Use I16U for "ori", "andi" and "xori". - - * v850-opc.c (v850_operands): Define EP operand. - (IF4A, IF4B, IF4C, IF4D): Use EP. - - * v850-opc.c (v850_opcodes): Fix opcode numbers for "mov" - with immediate operand, "movhi". Tweak "ldsr". - - * v850-opc.c (v850_opcodes): Get ld.[bhw] and st.[bhw] - correct. Get sld.[bhw] and sst.[bhw] closer. - - * v850-opc.c (v850_operands): "not" is a two byte insn - - * v850-opc.c (v850_opcodes): Correct bit pattern for setf. - - * v850-opc.c (v850_operands): D16 inserts at offset 16! - - * v850-opc.c (two): Get order of words correct. - - * v850-opc.c (v850_operands): I16 inserts at offset 16! - - * v850-opc.c (v850_operands): Add "SR1" and "SR2" for system - register source and destination operands. - (v850_opcodes): Use SR1 and SR2 for "ldsr" and "stsr". - - * v850-opc.c (v850_opcodes): Fix thinko in "jmp" opcode. Fix - same thinko in "trap" opcode. - - * v850-opc.c (v850_opcodes): Add initializer for size field - on all opcodes. - - * v850-opc.c (v850_operands): D6 -> DS7. References changed. - Add D8 for 8-bit unsigned field in short load/store insns. - (IF4A, IF4D): These both need two registers. - (IF4C, IF4D): Define. Use 8-bit unsigned field. - (v850_opcodes): For "sld.h", "sld.w", "sst.h", "sst.w", use - IF4C & IF4D. For "trap" use I5U, not I5. Add IF1 operand - for "ldsr" and "stsr". - * v850-opc.c (v850_operands): 3-bit immediate for bit insns - is unsigned. - - * v850-opc.c (v850_opcodes): Correct short store half (sst.h) and - short store word (sst.w). - -Thu Aug 22 16:57:27 1996 J.T. Conklin <jtc@rtl.cygnus.com> - - * v850-opc.c (v850_operands): Added insert and extract fields, - pointers to functions that handle unusual operand encodings. - -Thu Aug 22 01:05:24 1996 Jeffrey A Law (law@cygnus.com) - - * v850-opc.c (v850_opcodes): Enable "trap". - - * v850-opc.c (v850_opcodes): Fix order of displacement - and register for "set1", "clr1", "not1", and "tst1". - -Wed Aug 21 18:46:26 1996 Jeffrey A Law (law@cygnus.com) - - * v850-opc.c (v850_operands): Add "B3" support. - (v850_opcodes): Fix and enable "set1", "clr1", "not1" - and "tst1". - - * v850-opc.c (v850_opcodes): "jmp" has only an R1 operand. - - * v850-opc.c: Close unterminated comment. - -Wed Aug 21 17:31:26 1996 J.T. Conklin <jtc@hippo.cygnus.com> - - * v850-opc.c (v850_operands): Add flags field. - (v850_opcodes): add move opcodes. - -Tue Aug 20 14:41:03 1996 J.T. Conklin <jtc@hippo.cygnus.com> - - * Makefile.in (ALL_MACHINES): Add v850-opc.o. - * configure: (bfd_v850v_arch) Add new case. - * configure.in: (bfd_v850_arch) Add new case. - * v850-opc.c: New file. - -Mon Aug 19 15:21:38 1996 Doug Evans <dje@canuck.cygnus.com> - - * sparc-dis.c (print_insn_sparc): Handle little endian sparcs. - -Thu Aug 15 13:14:43 1996 Martin M. Hunt <hunt@pizza.cygnus.com> - - * d10v-opc.c: Add additional information to the opcode - table to help determinine which instructions can be done - in parallel. - -Thu Aug 15 13:11:13 1996 Stan Shebs <shebs@andros.cygnus.com> - - * mpw-make.sed: Update editing of include pathnames to be - more general. - -Thu Aug 15 16:28:41 1996 James G. Smith <jsmith@cygnus.co.uk> - - * arm-opc.h: Added "bx" instruction definition. - -Wed Aug 14 17:00:04 1996 Richard Henderson <rth@tamu.edu> - - * alpha-opc.c (EV4EXTHWINDEX): Field width should be 8 not 5. - -Mon Aug 12 14:30:37 1996 Martin M. Hunt <hunt@pizza.cygnus.com> - - * d10v-opc.c (d10v_opcodes): Minor fixes to addi and bl.l. - -Fri Aug 9 13:21:59 1996 Martin M. Hunt <hunt@pizza.cygnus.com> - - * d10v-opc.c (d10v_opcodes): Correct 'mv' unit entry to EITHER. - -Thu Aug 8 12:43:52 1996 Klaus Kaempf <kkaempf@progis.de> - - * makefile.vms: Update for alpha-opc changes. - -Wed Aug 7 11:55:10 1996 Ian Lance Taylor <ian@cygnus.com> - - * i386-dis.c (print_insn_i386): Actually return the correct value. - (ONE, OP_ONE): #ifdef out; not used. - -Fri Aug 2 17:47:03 1996 Martin M. Hunt <hunt@pizza.cygnus.com> - - * d10v-opc.c (d10v_opcodes): Added 2 accumulator sub instructions. - Changed subi operand type to treat 0 as 16. - -Wed Jul 31 16:21:41 1996 Ian Lance Taylor <ian@cygnus.com> - - * m68k-opc.c: Add cpushl for the mcf5200. From Ken Rose - <rose@netcom.com>. - -Wed Jul 31 14:39:27 1996 James G. Smith <jsmith@cygnus.co.uk> - - * arm-opc.h: (arm_opcodes): Added halfword and sign-extension - memory transfer instructions. Add new format string entries %h and %s. - * arm-dis.c: (print_insn_arm): Provide decoding of the new - formats %h and %s. - -Fri Jul 26 11:45:04 1996 Martin M. Hunt <hunt@pizza.cygnus.com> - - * d10v-opc.c (d10v_operands): Added UNUM4S; a 4-bit accumulator shift. - (d10v_opcodes): Modified accumulator shift instructions to use UNUM4S. - -Fri Jul 26 14:01:43 1996 Ian Lance Taylor <ian@cygnus.com> - - * alpha-dis.c (print_insn_alpha_osf): Remove. - (print_insn_alpha_vms): Remove. - (print_insn_alpha): Make globally visible. Chose the register - names based on info->flavour. - * disassemble.c: Always return print_insn_alpha for the alpha. - -Thu Jul 25 15:24:17 1996 Martin M. Hunt <hunt@pizza.cygnus.com> - - * d10v-dis.c (dis_long): Handle unknown opcodes. - -Thu Jul 25 12:08:09 1996 Martin M. Hunt <hunt@pizza.cygnus.com> - - * d10v-opc.c: Changes to support signed and unsigned numbers. - All instructions with the same name that have long and short forms - now end in ".l" or ".s". Divs added. - * d10v-dis.c: Changes to support signed and unsigned numbers. - -Tue Jul 23 11:02:53 1996 Martin M. Hunt <hunt@pizza.cygnus.com> - - * d10v-dis.c: Change all functions to use info->print_address_func. - -Mon Jul 22 15:38:53 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * m68k-opc.c (m68k_opcodes): Make opcode masks for the ColdFire - move ccr/sr insns more strict so that the disassembler only - selects them when the addressing mode is data register. - -Mon Jul 22 11:25:24 1996 Martin M. Hunt <hunt@pizza.cygnus.com> - * d10v-opc.c (pre_defined_registers): Declare. - * d10v-dis.c (print_operand): Now uses pre_defined_registers - to pick a better name for the registers. - -Mon Jul 22 13:47:23 1996 Ian Lance Taylor <ian@cygnus.com> - - * sparc-opc.c: Fix opcode values for fpack16, and fpackfix. Fix - operands for fexpand and fpmerge. From Christian Kuehnke - <Christian.Kuehnke@arbi.informatik.uni-oldenburg.de>. - -Mon Jul 22 13:17:06 1996 Richard Henderson <rth@tamu.edu> - - * alpha-dis.c (print_insn_alpha): No longer the user-visible - print routine. Take new regnames and cpumask arguments. - Kill the environment variable nonsense. - (print_insn_alpha_osf): New function. Do OSF/1 style regnames. - (print_insn_alpha_vms): New function. Do VMS style regnames. - * disassemble.c (disassembler): Test bfd flavour to pick - between OSF and VMS routines. Default to OSF. - -Thu Jul 18 17:19:34 1996 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Call AC_SUBST (INSTALL_SHLIB). - * configure: Rebuild. - * Makefile.in (install): Use @INSTALL_SHLIB@. - -Wed Jul 17 14:39:05 1996 Martin M. Hunt <hunt@pizza.cygnus.com> - - * configure: (bfd_d10v_arch) Add new case. - * configure.in: (bfd_d10v_arch) Add new case. - * d10v-dis.c: New file. - * d10v-opc.c: New file. - * disassemble.c (disassembler) Add entry for d10v. - -Wed Jul 17 10:12:05 1996 J.T. Conklin <jtc@rtl.cygnus.com> - - * m68k-opc.c (m68k_opcodes): Fix bugs in coldfire insns relating - to bcc, trapfl, subxl, and wddata discovered by Andreas Schwab. - -Mon Jul 15 16:59:55 1996 Stu Grossman (grossman@critters.cygnus.com) - - * i386-dis.c: Get rid of print_insn_i8086. Use info.mach to - distinguish between variants of the instruction set. - * sparc-dis.c: Get rid of print_insn_sparclite. Use info.mach to - distinguish between variants of the instruction set. - -Fri Jul 12 10:12:01 1996 Stu Grossman (grossman@critters.cygnus.com) - - * i386-dis.c (print_insn_i8086): New routine to disassemble using - the 8086 instruction set. - * i386-dis.c: General cleanups. Make most things static. Add - prototypes. Get rid of static variables aflags and dflags. Pass - them as args (to almost everything). - -Thu Jul 11 11:58:44 1996 Jeffrey A Law (law@cygnus.com) - - * h8300-dis.c (bfd_h8_disassemble): Handle macregs in ldmac insns. - - * h8300-dis.c (bfd_h8_disassemble): Handle "ldm.l" and "stm.l". - - * h8300-dis.c (bfd_h8_disassemble): "abs" is implicitly two - if the next arg is marked with SRC_IN_DST. Gross. - - * h8300-dis.c (bfd_h8_disassemble): Print "exr" when - we're looking for and find EXR. - - * h8300-dis.c (bfd_h8_disassemble): We don't have a match - if we're looking for KBIT and we don't find it. - - * h8300-dis.c (bfd_h8_disassemble): Mask off unwanted bits - for L_3 and L_2. - - * h8300-dis.c (bfd_h8_disassemble): Don't set plen for - 3bit immediate operands. - -Tue Jul 9 10:55:20 1996 Ian Lance Taylor <ian@cygnus.com> - - * Released binutils 2.7. - - * alpha-opc.c: Add new case of "mov". From Klaus Kaempf - <kkaempf@progis.ac-net.de>. - -Thu Jul 4 11:42:51 1996 Ian Lance Taylor <ian@cygnus.com> - - * alpha-opc.c: Correct second case of "mov" to use OPRL. - -Wed Jul 3 16:03:47 1996 Stu Grossman (grossman@critters.cygnus.com) - - * sparc-dis.c (print_insn_sparclite): New routine to print - sparclite instructions. - -Wed Jul 3 14:21:18 1996 J.T. Conklin <jtc@rtl.cygnus.com> - - * m68k-opc.c (m68k_opcodes): Add coldfire support. - -Fri Jun 28 15:53:51 1996 Doug Evans <dje@canuck.cygnus.com> - - * sparc-opc.c (asi_table): Add #ASI_N, #ASI_N_L, #ASI_NUCLEUS, - #ASI_NUCLEUS_LITTLE. Rename #ASI_AS_IF_USER_{PRIMARY,SECONDARY}_L - to #ASI_AS_IF_USER_{PRIMARY,SECONDARY}_LITTLE. - -Tue Jun 25 22:58:31 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) - - * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir): - Use autoconf-set values. - (docdir, oldincludedir): Removed. - * configure.in (AC_PREREQ): autoconf 2.5 or higher. - -Fri Jun 21 13:53:36 1996 Richard Henderson <rth@tamu.edu> - - * alpha-opc.c: New file. - * alpha-opc.h: Remove. - * alpha-dis.c: Complete rewrite to use new opcode table. - * configure.in: For bfd_alpha_arch, use alpha-opc.o. - * configure: Rebuild with autoconf 2.10. - * Makefile.in (ALL_MACHINES): Add alpha-opc.o. - (alpha-dis.o): Depend upon $(INCDIR)/opcode/alpha.h, not - alpha-opc.h. - (alpha-opc.o): New target. - -Wed Jun 19 15:55:12 1996 Ian Lance Taylor <ian@cygnus.com> - - * sparc-dis.c (print_insn_sparc): Remove unused local variable i. - Set imm_added_to_rs1 even if the source and destination register - are not the same. - - * sparc-opc.c: Add some two operand forms of the wr instruction. - -Tue Jun 18 15:58:27 1996 Jeffrey A. Law <law@rtl.cygnus.com> - - * h8300-dis.c (bfd_h8_disassemble): Rename "hmode" argument - to just "mode". - - * disassemble.c (disassembler): Handle H8/S. - * h8300-dis.c (print_insn_h8300s): New function for H8/S. - -Tue Jun 18 18:06:50 1996 Ian Lance Taylor <ian@cygnus.com> - - * sparc-opc.c: Add beq/teq as aliases for be/te. - - * ppc-opc.c: Fix fcmpo opcode. From Sergei Steshenko - <sergei@msil.sps.mot.com>. - -Tue Jun 18 15:08:54 1996 Klaus Kaempf <kkaempf@progis.de> - - * makefile.vms: New file. - - * alpha-dis.c (print_insn_alpha): Print lda ra,lit(rz) as mov. - -Mon Jun 10 18:50:38 1996 Ian Lance Taylor <ian@cygnus.com> - - * h8300-dis.c (bfd_h8_disassemble): Always print ABS8MEM with :8, - regardless of plen. - -Tue Jun 4 09:15:53 1996 Doug Evans <dje@canuck.cygnus.com> - - * i386-dis.c (OP_OFF): Call append_prefix. - -Thu May 23 15:18:23 1996 Michael Meissner <meissner@tiktok.cygnus.com> - - * ppc-opc.c (instruction encoding macros): Add explicit casts to - unsigned long to silence a warning from the Solaris PowerPC - compiler. - -Thu Apr 25 19:33:32 1996 Doug Evans <dje@canuck.cygnus.com> - - * sparc-opc.c (sparc_opcodes): Add ultrasparc vis extensions. - -Mon Apr 22 17:12:35 1996 Doug Evans <dje@blues.cygnus.com> - - * sparc-dis.c (X_IMM,X_SIMM): New macros. - (X_IMM13): Delete. - (print_insn_sparc): Merge cases i,I,j together. New cases X,Y. - * sparc-opc.c (sparc_opcodes): Use X for 5 bit shift constants, - Y for 6 bit shift constants. Rewrite entries for crdcxt, cwrcxt, - cpush, cpusha, cpull sparclet insns. - -Wed Apr 17 14:20:22 1996 Doug Evans <dje@canuck.cygnus.com> - - * sparc-dis.c (compute_arch_mask): Replace ANSI style def with K&R. - -Thu Apr 11 17:30:02 1996 Ian Lance Taylor <ian@cygnus.com> - - * sparc-opc.c: Set F_FBR on floating point branch instructions. - Set F_FLOAT on other floating point instructions. - -Mon Apr 8 17:02:48 1996 Michael Meissner <meissner@tiktok.cygnus.com> - - * ppc-opc.c (PPC860): Macro for 860/821 specific instructions and - registers. - (powerpc_opcodes): Add 860/821 specific SPRs. - -Mon Apr 8 14:00:44 1996 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Permit --enable-shared to specify a list of - directories. Set and substitute BFD_PICLIST. - * configure: Rebuild. - * Makefile.in (BFD_PICLIST): Rename from BFD_LIST. Change all - uses. Set to @BFD_PICLIST@. - -Fri Apr 5 17:12:27 1996 Jeffrey A Law (law@cygnus.com) - - * h8300-dis.c (bfd_h8_disassemble): Use "bit" for L_3 immediates, - not "abs", which may be needed for the absolute in something - like btst #0,@10:8. Print L_3 immediates separately from other - immediates. Change ABSMOV reference to ABS8MEM. - -Wed Apr 3 10:40:45 1996 Doug Evans <dje@canuck.cygnus.com> - - * sparc-dis.c (opcodes_initialized): Move inside print_insn_sparc. - (current_arch_mask): New static global. - (compute_arch_mask): New static function. - (print_insn_sparc): Delete sparc_v9_p. New static local - current_mach. Resort opcode table if current_mach changes. - Generalize "insn not supported" test. - (compare_opcodes): Prefer supported opcodes to nonsupported ones. - Delete test for v9/!v9. - * sparc-opc.c (MASK_*): Use SPARC_OPCODE_ARCH_MASK. - (v6notlet): Define. - (brfc): Split into CBR and FBR for coprocessor/fp branches. - (brfcx): Renamed to FBRX. - (condfc): Renamed to CONDFC. Pass v6notlet to CBR (standard - coprocessor mnemonics are not supported on the sparclet). - (condf): Renamed to CONDF. - (SLCBCC2): Delete F_ALIAS flag. - -Sat Mar 30 21:45:59 1996 Doug Evans <dje@canuck.cygnus.com> - - * sparc-opc.c (sparc_opcodes): rd must be 0 for - mov foo,{%y,%psr,%wim,%tbr}. Support mov foo,%asrX. - -Fri Mar 29 13:02:40 1996 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in (config.status): Depend upon BFD VERSION file, so - that the shared library version number is set correctly. - -Tue Mar 26 15:47:14 1996 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Use AC_CHECK_TOOL to find ar and ranlib. From - Miles Bader <miles@gnu.ai.mit.edu>. - * configure: Rebuild. - -Sat Mar 16 13:04:07 1996 Fred Fish <fnf@cygnus.com> - - * z8kgen.c (internal, gas): Call xmalloc rather than unchecked - malloc. - -Tue Mar 12 12:14:10 1996 Ian Lance Taylor <ian@cygnus.com> - - * configure: Rebuild with autoconf 2.8. - -Thu Mar 7 15:11:10 1996 Doug Evans <dje@charmed.cygnus.com> - - * sparc-dis.c (print_insn_sparc): Handle 'O' operand char like 'r'. - * sparc-opc.c (sparc_opcodes): Use 'O' operand char for `neg reg'. - -Tue Mar 5 15:51:57 1996 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Don't set SHLIB or SHLINK to an empty string, - since they appear as targets in Makefile.in. - * configure: Rebuild. - -Mon Feb 26 13:03:40 1996 Stan Shebs <shebs@andros.cygnus.com> - - * mpw-make.sed: Edit out shared library support bits. - -Tue Feb 20 20:48:28 1996 Doug Evans <dje@charmed.cygnus.com> - - * sparc-opc.c (v8,v6notv9): Add MASK_SPARCLET. - (sparc_opcode_archs): Add MASK_V8 to sparclet entry. - (sparc_opcodes): Add sparclet insns. - (sparclet_cpreg_table): New static local. - (sparc_{encode,decode}_sparclet_cpreg): New functions. - * sparc-dis.c (print_insn_sparc): Handle sparclet cpregs. - -Tue Feb 20 11:02:44 1996 Alan Modra <alan@mullet.Levels.UniSA.Edu.Au> - - * i386-dis.c (index16): New static variable. - (putop): Print jecxz for 32 bit case, jcxz for 16 bit, not the - other way around. - (OP_indirE): Return result of OP_E. - (OP_E): Check for 16 bit addressing mode, and disassemble - correctly. Optimised 32 bit case a little. Don't print - "(base,index,scale)" when sib specifies only an offset. - -Mon Feb 19 12:32:17 1996 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Set and substitute SHLIB_DEP. - * configure: Rebuild. - * Makefile.in (SHLIB_DEP): New variable. - (LIBIBERTY_LISTS, BFD_LIST): New variables. - (stamp-piclist): Depend upon LIBIBERTY_LISTS and BFD_LIST. If - COMMON_SHLIB, add them to piclist with appropriate modifications. - ($(SHLIB)): Depend upon $(SHLIB_DEP). Don't check COMMON_SHLIB - here: just use piclist. - -Mon Feb 19 02:03:50 1996 Doug Evans <dje@charmed.cygnus.com> - - * sparc-dis.c (MASK_V9,V9_ONLY_P,V9_P): Define. - (print_insn_sparc): Rewrite v9/not-v9 tests. - (compare_opcodes): Likewise. - * sparc-opc.c (MASK_<ARCH>): Define. - (v6,v7,v8,sparclite,v9,v9a): Redefine. - (sparclet,v6notv9): Define. - (sparc_opcode_archs): Delete member `conflicts'. Add `supported'. - (sparc_opcodes): Delete F_NOTV9, use v6notv9 instead. - -Thu Feb 15 14:45:05 1996 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Call AC_PROG_CC before configure.host. - * configure: Rebuild. - - * Makefile.in (SONAME): Remove leading ../bfd/ from $(SHLIB). - -Wed Feb 14 19:01:27 1996 Alan Modra <alan@spri.levels.unisa.edu.au> - - * i386-dis.c (onebyte_has_modrm): New static array. - (twobyte_has_modrm): New static array. - (print_insn_i386): Only fetch the mod/reg/rm byte if it is needed. - -Tue Feb 13 15:15:01 1996 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in ($(SHLINK)): Check ts against $(SHLIB), not - $(SHLINK). - -Mon Feb 12 16:26:06 1996 Michael Meissner <meissner@tiktok.cygnus.com> - - * ppc-opc.c (PPC): Undef, so default defination on Windows NT - doesn't conflict. - -Wed Feb 7 13:59:54 1996 Ian Lance Taylor <ian@cygnus.com> - - * m68k-opc.c (m68k_opcodes): The bkpt instruction is supported on - m68010up, not just m68020up | cpu32. - - * Makefile.in (SONAME): New variable. - ($(SHLINK)): Make a link to the transformed name, as well. - (stamp-tshlink): New target. - (install): Skip stamp-tshlink during install. - -Tue Feb 6 12:28:54 1996 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Call AC_ARG_PROGRAM. - * configure: Rebuild. - * Makefile.in (program_transform_name): New variable. - (install): Transform library name before installing it. - -Mon Feb 5 16:14:42 1996 Ian Lance Taylor <ian@cygnus.com> - - * i960-dis.c (mem): Add HX dcinva instruction. - - Support for building as a shared library, based on patches from - Alan Modra <alan@spri.levels.unisa.edu.au>: - * configure.in: Add AC_ARG_ENABLE for shared and commonbfdlib. - New substitutions: ALLLIBS, PICFLAG, SHLIB, SHLIB_CC, - SHLIB_CFLAGS, COMMON_SHLIB, SHLINK. - * configure: Rebuild. - * Makefile.in (ALLLIBS): New variable. - (PICFLAG, SHLIB, SHLIB_CC, SHLIB_CFLAGS): New variables. - (COMMON_SHLIB, SHLINK): New variables. - (.c.o): If PICFLAG is set, compile twice, once PIC, once normal. - (STAGESTUFF): Remove variable. - (all): Depend upon $(ALLLIBS) rather than $(TARGETLIB). - (stamp-piclist, piclist): New targets. - ($(SHLIB), $(SHLINK)): New targets. - ($(OFILES)): Depend upon stamp-picdir. - (disassemble.o): Build twice if PICFLAG is set. - (MOSTLYCLEAN): Add pic/*.o. - (clean): Remove $(SHLIB), $(SHLINK), piclist, and stamp-piclist. - (distclean): Remove pic and stamp-picdir. - (install): Install shared libraries. - (stamp-picdir): New target. - -Fri Feb 2 17:15:25 1996 Doug Evans <dje@charmed.cygnus.com> - - * sparc-dis.c (print_insn_sparc): Delete DISASM_RAW_INSN support. - Print unknown instruction as "unknown", rather than in hex. - -Tue Jan 30 14:06:08 1996 Ian Lance Taylor <ian@cygnus.com> - - * dis-buf.c: Include "sysdep.h" before "dis-asm.h". - -Thu Jan 25 20:24:07 1996 Doug Evans <dje@charmed.cygnus.com> - - * sparc-opc.c (sparc_opcode_archs): Mark v8/sparclite as conflicting. - -Thu Jan 25 11:56:49 1996 Ian Lance Taylor <ian@cygnus.com> - - * i386-dis.c (print_insn_i386): Only fetch the mod/reg/rm byte - when necessary. From Ulrich Drepper - <drepper@myware.rz.uni-karlsruhe.de>. - -Thu Jan 25 03:39:10 1996 Doug Evans <dje@charmed.cygnus.com> - - * sparc-dis.c (print_insn_sparc): NUMOPCODES replaced with - sparc_num_opcodes. Update architecture enum values. - * sparc-opc.c (sparc_opcode_archs): Replaces architecture_pname. - (sparc_opcode_lookup_arch): New function. - (sparc_num_opcodes): Renamed from bfd_sparc_num_opcodes. - (sparc_opcodes): Add v9a shutdown insn. - -Mon Jan 22 08:29:59 1996 Doug Evans <dje@charmed.cygnus.com> - - * sparc-dis.c (print_insn_sparc): Renamed from print_insn. - If DISASM_RAW_INSN, print insn in hex. Handle v9a as opcode - architecture. - (print_insn_sparc64): Deleted. - * disassemble.c (disassembler, case bfd_arch_sparc): Always use - print_insn_sparc. - - * sparc-opc.c (architecture_pname): Add v9a. - -Fri Jan 12 14:35:58 1996 David Mosberger-Tang <davidm@AZStarNet.com> - - * alpha-opc.h (alpha_insn_set): VAX floating point opcode was - incorrectly defined as 0x16 when it should be 0x15. - (FLOAT_FORMAT_MASK): function code is 11 bits, not just 7 bits! - (alpha_insn_set): added cvtst and cvttq float ops. Also added - excb (exception barrier) which is defined in the Alpha - Architecture Handbook version 2. - * alpha-dis.c (print_insn_alpha): Fixed special-case decoding for - OPERATE_FORMAT_CODE type instructions. The bug caused mulq to be - disassembled as or, for example. - -Wed Jan 10 12:37:22 1996 Ian Lance Taylor <ian@cygnus.com> - - * mips-dis.c (print_insn_arg): Print cases 'i' and 'u' in hex. - (_print_insn_mips): Change i from int to unsigned int. - -Thu Jan 4 17:21:10 1996 David Edelsohn <edelsohn@mhpcc.edu> - - * ppc-opc.c (powerpc_opcodes): tlbi POWER opcode form different - from tlbie PowerPC opcode. Add PPC603 tlbld and tlbli. - -Thu Dec 28 13:29:19 1995 John Hassey <hassey@rtp.dg.com> - - * i386-dis.c: Added Pentium Pro instructions. - -Tue Dec 19 22:56:35 1995 Michael Meissner <meissner@tiktok.cygnus.com> - - * ppc-opc.c (fsqrt{,.}): Duplicate for PowerPC in addition to - being for Power2. - -Fri Dec 15 14:14:15 1995 J.T. Conklin <jtc@rtl.cygnus.com> - - * sh-opc.h (sh_nibble_type): Added REG_B. - (sh_arg_type): Added A_REG_B. - (sh_table): Added pref and bank reg versions of ldc, ldc.l, stc - and stc.l opcodes. - * sh-dis.c (print_insn_shx): Added cases for REG_B and A_REG_B. - -Fri Dec 15 16:44:31 1995 Ian Lance Taylor <ian@cygnus.com> - - * disassemble.c (disassembler): Use new bfd_big_endian macro. - -Tue Dec 12 12:22:24 1995 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in (distclean): Remove stamp-h. From Ronald - F. Guilmette <rfg@monkeys.com>. - -Tue Dec 5 13:42:44 1995 Stan Shebs <shebs@andros.cygnus.com> - - From David Mosberger-Tang <davidm@azstarnet.com>: - * alpha-dis.c (print_insn_alpha): fixed decoding of cpys - instruction. - -Mon Dec 4 12:29:05 1995 J.T. Conklin <jtc@rtl.cygnus.com> - - * sh-opc.h (sh_arg_type): Added A_SSR and A_SPC. - (sh_table): Added many SH3 opcodes. - * sh-dis.c (print_insn_shx): Added cases for A_SSR and A_SPC. - -Fri Dec 1 07:42:18 1995 Michael Meissner <meissner@tiktok.cygnus.com> - - * ppc-opc.c (subfc., subfco): Mark this PPCCOM, not PPC. - (subco,subco.): Mark this PPC, not PPCCOM. - -Mon Nov 27 13:09:52 1995 Ian Lance Taylor <ian@cygnus.com> - - * configure: Rebuild with autoconf 2.7. - -Tue Nov 21 18:28:06 1995 Ian Lance Taylor <ian@cygnus.com> - - * configure: Rebuild with autoconf 2.6. - -Wed Nov 15 19:02:53 1995 Ken Raeburn <raeburn@cygnus.com> - - * configure.in: Sort list of architectures. Accept but do nothing - for alliant, convex, pyramid, romp, and tahoe. - -Wed Nov 8 20:18:59 1995 Ian Lance Taylor <ian@cygnus.com> - - * a29k-dis.c (print_special): Change num to unsigned int. - -Wed Nov 8 20:10:35 1995 Eric Freudenthal <freudenthal@nyu.edu> - - * a29k-dis.c (print_insn): Cast insn24 to unsigned long when - shifting it. - -Tue Nov 7 15:21:06 1995 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Call AC_CHECK_PROG to find and cache AR. - * configure: Rebuilt. - -Mon Nov 6 17:39:47 1995 Harry Dolan <dolan@ssd.intel.com> - - * configure.in: Add case for bfd_i860_arch. - * configure: Rebuild. - -Fri Nov 3 12:45:31 1995 Ian Lance Taylor <ian@cygnus.com> - - * m68k-opc.c (m68k_opcodes): Correct fmoveml operands. - * m68k-dis.c (NEXTSINGLE): Change i to unsigned int. - (NEXTDOUBLE): Likewise. - (print_insn_m68k): Don't match fmoveml if there is more than one - register in the list. - (print_insn_arg): Handle a place of '8' for a type of 'L'. - -Thu Nov 2 23:06:33 1995 Ian Lance Taylor <ian@cygnus.com> - - * m68k-opc.c: Use #W rather than #w. - * m68k-dis.c (print_insn_arg): Handle new 'W' place. - -Wed Nov 1 13:30:24 1995 Ian Lance Taylor <ian@cygnus.com> - - * m68k-opc.c (m68k_opcode_aliases): Add dbfw as an alias for dbf, - and likewise for all the dbxx opcodes. - -Mon Oct 30 20:50:40 1995 Fred Fish <fnf@cygnus.com> - - * arc-dis.c: Include elf-bfd.h rather than libelf.h. - -Mon Oct 23 11:11:34 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk> - - * mips-opc.c: Added shorthand (V1) for INSN_4100 manifest. Added - the VR4100 specific instructions to the mips_opcodes structure. - -Thu Oct 19 11:05:23 1995 Stan Shebs <shebs@andros.cygnus.com> - - * mpw-config.in, mpw-make.sed: Remove ugly workaround for - ugly Metrowerks bug in CW6, is fixed in CW7. - -Mon Oct 16 12:59:01 1995 Michael Meissner <meissner@tiktok.cygnus.com> - - * ppc-opc.c (whole file): Add flags for common/any support. - -Tue Oct 10 11:06:07 1995 Fred Fish <fnf@cygnus.com> - - * Makefile.in (BISON): Remove macro. - (FLAGS_TO_PASS): Remove BISON. - -Fri Oct 6 16:26:45 1995 Ken Raeburn <raeburn@cygnus.com> - - Mon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * m68k-dis.c (print_insn_m68k): Recognize all two-word - instructions that take no args by looking at the match mask. - (print_insn_arg): Always print "%" before register names. - [case 'c']: Use "nc" for the no-cache case, as recognized by gas. - [case '_']: Don't print "@#" before address. - [case 'J']: Use "%s" as format string, not register name. - [case 'B']: Treat place == 'C' like 'l' and 'L'. - -Thu Oct 5 22:16:20 1995 Ken Raeburn <raeburn@cygnus.com> - - * i386-dis.c: Describe cmpxchg8b operand, and spell the opcode - name correctly. - -Tue Oct 3 08:30:20 1995 steve chamberlain <sac@slash.cygnus.com> - - From David Mosberger-Tang <davidm@azstarnet.com> - - * alpha-opc.h (MEMORY_FUNCTION_FORMAT_MASK): added. - (alpha_insn_set): added definitions for VAX floating point - instructions (Unix compilers don't generate these, but handcoded - assembly might still use them). - - * alpha-dis.c (print_insn_alpha): added support for disassembling - the miscellaneous instructions in the Alpha instruction set. - -Tue Sep 26 18:47:20 1995 Stan Shebs <shebs@andros.cygnus.com> - - * mpw-config.in: Add m68k-opc.c.o to BFD_MACHINES for m68k, - no longer create sysdep.h, sed ppc-opc.c to work around a - serious Metrowerks C bug. - * mpw-make.in: Remove. - * mpw-make.sed: New file, used by mpw-configure to edit - Makefile.in into an MPW makefile. - -Wed Sep 20 12:55:28 1995 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in (maintainer-clean): New synonym for realclean. - -Tue Sep 19 15:28:36 1995 Ian Lance Taylor <ian@cygnus.com> - - * m68k-opc.c: Split pmove patterns which use 'P' into patterns - which use '0', '1', and '2' instead. Specify the proper size for - a pmove immediate operand. Correct the pmovefd patterns to be - moves to a register, not from a register. - * m68k-dis.c (print_insn_arg): Replace 'P' with '0', '1', '2'. - -Thu Sep 14 11:58:22 1995 Doug Evans <dje@canuck.cygnus.com> - - * sparc-opc.c (sparc_opcodes): Mark all insns that reference - %psr, %wim, %tbr as F_NOTV9. - -Fri Sep 8 01:07:38 1995 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in (Makefile): Just rebuild Makefile when running - config.status. - (config.h, stamp-h): New targets. - * configure.in: Call AC_CONFIG_HEADER and AC_CANONICAL_SYSTEM - earlier. Don't bother to call AC_ARG_PROGRAM. Touch stamp-h when - rebuilding config.h. - * configure: Rebuild. - - * mips-opc.c: Change unaligned loads and stores with "t,A" - operands to use "t,A(b)". - -Thu Sep 7 19:02:46 1995 Jim Wilson <wilson@chestnut.cygnus.com> - - * sh-dis.c (print_insn_shx): Add F_FR0 support. - -Thu Sep 7 19:02:46 1995 Jim Wilson <wilson@chestnut.cygnus.com> - - * sh-dis.c (print_insn_shx): Change loop over op->arg[n] to iterate - until 3 instead of until 2. - -Wed Sep 6 21:21:33 1995 Ian Lance Taylor <ian@cygnus.com> - - * Makefile.in (ALL_CFLAGS): Define. - (.c.o, disassemble.o): Use $(ALL_CFLAGS). - (MOSTLYCLEAN): Add config.log. - (distclean): Don't remove config.log. - * configure.in: Substitute HDEFINES. - * configure: Rebuild. - -Wed Sep 6 15:08:09 1995 Jim Wilson <wilson@chestnut.cygnus.com> - - * sh-opc.h (sh_arg_type): Add F_FR0. - (sh_table, case fmac): Add F_FR0 as first argument. - -Wed Sep 6 15:08:09 1995 Jim Wilson <wilson@chestnut.cygnus.com> - - * sh-opc.h (sh_opcode_info): Increase arg array size to 4. - -Tue Sep 5 18:28:10 1995 Doug Evans <dje@canuck.cygnus.com> - - * sparc-dis.c: Remove all references to NO_V9. - -Tue Sep 5 20:03:26 1995 Ian Lance Taylor <ian@cygnus.com> - - * aclocal.m4: Just include ../bfd/aclocal.m4. - * configure: Rebuild. - -Tue Sep 5 16:09:59 1995 Doug Evans <dje@canuck.cygnus.com> - - * sparc-dis.c (X_DISP19): Define. - (print_insn, case 'G'): Use it. - (print_insn, case 'L'): Sign extend displacement. - -Mon Sep 4 14:28:46 1995 Ian Lance Taylor <ian@cygnus.com> - - * configure.in: Run ../bfd/configure.host before AC_PROG_CC. - Subsitute CFLAGS and AR. Call AC_PROG_INSTALL. Don't substitute - host_makefile_frag or frags. - * aclocal.m4: New file. - * configure: Rebuild. - * Makefile.in (INSTALL): Set to @INSTALL@. - (INSTALL_PROGRAM): Set to @INSTALL_PROGRAM@. - (INSTALL_DATA): Set to @INSTALL_DATA@. - (AR): Set to @AR@. - (AR_FLAGS): Set to rc rather than qc. - (CC): Define as @CC@. - (CFLAGS): Set to @CFLAGS@. - (@host_makefile_frag@): Remove. - (config.status): Remove dependency upon @frags@. - - * configure.in: ../bfd/config.bfd now just sets shell variables. - Use them rather than looking through target Makefile fragments. - * configure: Rebuild. - -Thu Aug 31 12:35:32 1995 Jim Wilson <wilson@chestnut.cygnus.com> - - * sh-opc.h (ftrc): Change FPUL_N to FPUL_M. - -Wed Aug 30 13:52:28 1995 Doug Evans <dje@canuck.cygnus.com> - - * sparc-opc.c (sparc_opcodes): Delete duplicate wr %y insn. - Add clrx, iprefetch, signx, clruw, cas, casl, casx, casxl synthetic - sparc64 insns. - - * sparc-opc.c (sparc_opcodes): Fix prefetcha insn. - (lookup_{name,value}): New functions. - (prefetch_table): New static local. - (sparc_{encode,decode}_prefetch): New functions. - * sparc-dis.c (print_insn): Handle '*' arg (prefetch function). - -Wed Aug 30 11:11:58 1995 Jim Wilson <wilson@chestnut.cygnus.com> - - * sh-opc.h: Add blank lines to improve readabililty of sh3e - instructions. - -Wed Aug 30 11:09:38 1995 Jim Wilson <wilson@chestnut.cygnus.com> - - * sh-dis.c: Correct comment on first line of file. - -Tue Aug 29 15:37:18 1995 Doug Evans <dje@canuck.cygnus.com> - - * disassemble.c (disassembler): Handle bfd_mach_sparc64. - - * sparc-opc.c (asi, membar): New static locals. - (sparc_{encode,decode}_{asi,membar}): New functions. - (sparc_opcodes, membar insn): Fix. - * sparc-dis.c (print_insn): Call sparc_decode_asi. - Support decoding of membar masks. - (X_MEMBAR): Define. - -Sat Aug 26 21:22:48 1995 Ian Lance Taylor <ian@cygnus.com> - - * m68k-opc.c (m68k_opcode_aliases): Add br, brs, brb, brw, brl. - -Mon Aug 21 17:33:36 1995 Ian Lance Taylor <ian@cygnus.com> - - * m68k-opc.c (m68k_opcode_aliases): Add bhib as an alias for bhis, - and likewise for the other branches. Add bhs as an alias for bcc, - and likewise for the size variants. Add dbhs as an alias for - dbcc. - -Fri Aug 11 13:40:24 1995 Jeff Law (law@snake.cs.utah.edu) - - * sh-opc.h (FP sts instructions): Update to match reality. - -Mon Aug 7 16:12:58 1995 Ian Lance Taylor <ian@cygnus.com> - - * m68k-dis.c: (fpcr_names): Add % before all register names. - (reg_names): Likewise. - (print_insn_arg): Don't explicitly print % before register names. - Add % before register names in static array names. In case 'r', - print data registers as `@(Dn)', not `Dn@'. When printing a - memory address, don't print @# before it. - (print_indexed): Change base_disp and outer_disp from int to - bfd_vma. Print using MIT syntax, not mutant invalid Motorola - syntax. Sign extend 8 byte displacement correctly. - (print_base): Print using MIT syntax. Print zpc when appropriate. - Change parameter disp from int to bfd_vma. - - * m68k-opc.c (m68k_opcode_aliases): Add jsrl and jsrs as aliases - for jsr. - -Mon Aug 7 02:21:40 1995 Jeff Law (law@snake.cs.utah.edu) - - * sh-dis.c (print_insn_shx): Handle new operand types F_REG_N, - F_REG_M, FPSCR_M, FPSCR_N, FPUL_M and FPUL_N. - * sh-opc.h (sh_arg_type): Add new operand types. - (sh_table): Add new opcodes from SH3E Floating Point ISA. - -Sat Aug 5 16:50:14 1995 Fred Fish <fnf@cygnus.com> - - * Makefile.in (distclean): Remove generated file config.h. - -Sat Aug 5 16:50:14 1995 Fred Fish <fnf@cygnus.com> - - * Makefile.in (distclean): Remove generated file config.h. - -Wed Aug 2 18:33:40 1995 Ian Lance Taylor <ian@cygnus.com> - - * m68k-opc.c: New file, holding tables from include/opcode/m68k.h. - Clean up tables. - * m68k-dis.c: Remove BREAK_UP_BIG_DECL stuff. - (opcode): Remove. - (print_insn_m68k): Change d to be const. Use m68k_numopcodes - rather than numopcodes. Use m68k_opcodes rather than removed - opcode function. Don't check F_ALIAS. - (print_insn_arg): Change first parameter to be const char *. - * Makefile.in (ALL_MACHINES): Add m68k-opc.o. - (m68k-opc.o): New target. - * configure.in: Build m68k-opc.o for bfd_m68k_arch. - * configure: Rebuild. - -Wed Aug 2 08:23:38 1995 Doug Evans <dje@canuck.cygnus.com> - - * sparc-dis.c (HASH_SIZE, HASH_INSN): Define. - (opcode_bits, opcode_hash_table): New variables. - (opcodes_initialized): Renamed from opcodes_sorted. - (build_hash_table): New function. - (is_delayed_branch): Use hash table. - (print_insn): Renamed from print_insn_sparc, made static. - Build and use hash table. If !sparc64, ignore sparc64 insns, - and vice-versa if sparc64. - (print_insn_sparc, print_insn_sparc64): New functions. - (compare_opcodes): Move sparc64 opcodes to end. - Print commutative insns with constant second. - * sparc-opc.c (all non-v9 insns): Use flag F_NOTV9 instead of F_ALIAS. - -Tue Aug 1 00:12:49 1995 Ian Lance Taylor <ian@cygnus.com> - - * sh-dis.c (print_insn_shx): Remove unused local dslot. Use - print_address_func for A_BDISP12 and A_BDISP8. Correct test which - avoids printing a delay slot in a delay slot. - * sh-opc.h (sh_table): Fully bracket last entry. - -Mon Jul 31 12:04:47 1995 Doug Evans <dje@canuck.cygnus.com> - - * sparc-opc.c (sllx, srax, srlx): Fix disassembly. - -Wed Jul 12 00:59:34 1995 Ken Raeburn <raeburn@kr-pc.cygnus.com> - - * configure.in: Get host_makefile_frag from ${srcdir}. - - * configure.in: Autoconfiscated. Check for string[s].h. Create - config.h from config.in. Don't set up sysdep.h link. - * sysdep.h: New file. - * configure, config.in: New files, generated from configure.in. - * Makefile.in: Updated to be processed autoconf-style. - (distclean): Keep sysdep.h. Remove config.log and config.cache. - (Makefile): Depend on config.status. - (config.status): New rule. - * configure.bat: Update Makefile substitutions. - -Tue Jul 11 14:23:37 1995 Jeff Spiegel <jeffs@lsil.com> - - * mips-opc.c (L1): Define. - (mips_opcodes): Add R4010 instructions: flushi, flushd, flushid, - addciu, madd, maddu, ffc, ffs, msub, msubu, selsi, selsr, waiti, - and wb. - -Tue Jul 11 11:49:49 1995 Ian Lance Taylor <ian@cygnus.com> - - * mips-opc.c (mips_opcodes): For the move pseudo-op, prefer daddu - if ISA 3 and addu otherwise, replacing or, since some MIPS chips - have multiple add units but only a single logical unit. - - * ppc-opc.c (powerpc_operands): Change CR to use a bitsize of 3, - shifted by 18, without any insertion or extraction function. - (insert_cr, extract_cr): Remove. - -Wed Jun 21 20:05:39 1995 Ken Raeburn <raeburn@cujo.cygnus.com> - - * m68k-dis.c (print_insn_arg, print_indexed): Print "%" before - register names. - -Thu Jun 15 17:23:31 1995 Stan Shebs <shebs@andros.cygnus.com> - - * mpw-config.in: Add sh and i386 configs, remove sparc config. - * sh-opc.h: Add copyright. - -Mon Jun 5 03:30:43 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com> - - * Makefile.in (crunch-m68k): Delete extra target accidentally - checked in a while ago. - -Wed May 24 16:22:13 1995 Jim Wilson <wilson@chestnut.cygnus.com> - - * sh-opc.h (sh_table): Add SH3 support. - -Wed May 24 14:16:08 1995 Steve Chamberlain <sac@slash.cygnus.com> - - * sh-opc.h: Added bsrf and braf. - -Wed May 10 14:28:16 1995 Richard Earnshaw (rearnsha@armltd.co.uk) - - * arm-opc.h (arm_opcodes): Add 64-bit multiply patterns. Delete - bogus [ls]fm{ea,fd} patterns. - - * arm-opc.h (arm_opcodes): Correct typos in stm, ldm, std, and ldc. - * arm-dis.c (print_insn_arm): Make GIVEN a parameter, don't try and - initialize it from memory. Make function static. - (print_insn_{big,little}_arm): New functions. - * disassemble.c (disassembler, case bfd_arch_arm): Disassemble for - the correct endianness. - -Mon Apr 24 14:18:05 1995 Jason Molenda (crash@phydeaux.cygnus.com> - - * sh-opc.h (sh_nibble_type, sh_arg_type): remove trailing , from - enum list. - -Wed Apr 19 14:07:03 1995 Michael Meissner <meissner@tiktok.cygnus.com> - - * m68k-dis.c (opcode): Finish change made by Kung Hsu on April - 17th, so that it builds again using GCC as the compiler. - -Tue Apr 18 12:14:51 1995 Ken Raeburn <raeburn@cujo.cygnus.com> - - * mips-dis.c (print_insn_little_mips): Cast return value from - bfd_getl32 from bfd_vma to unsigned long, because _print_insn_mips - expects an unsigned long, and that might be fewer words of - argument storage (e.g., if bfd_vma is long long on a 32-bit - machine). - (print_insn_big_mips): Likewise with bfd_getb32 value. - (_print_insn_mips): Now static. - -Mon Apr 17 12:23:28 1995 Kung Hsu <kung@rtl.cygnus.com> - - * m68k-dis.c: Take out #define BREAK_UP_BIG_DECL kludge, because - gcc memory hog problem with initializer is fixed. - -Mon Apr 10 15:55:01 1995 Stan Shebs <shebs@andros.cygnus.com> - - Merge in support for Mac MPW as a host. - (Old change descriptions retained for informational value.) - - * mpw-config.in (archname): Compute from the config. - (BFD_MACHINES, ARCHDEFS): Put into mk.tmp. - - * mpw-config.in (target_arch): Compute from canonical target. - (m68k, mips, powerpc, sparc): Add architectures. - * mpw-make.in (disassemble.c.o): Add. - (ALL_CFLAGS): Remove special flags (-mc68020 -mc68881 -model far). - - * mpw-config.in (BFD_MACHINES): Set to a default value. - * mpw-make.in (BFD_MACHINES): Remove wired-in value. - - * mpw-make.in (CSEARCH): Add extra-include to search path. - - * mpw-config.in (varargs.h): Don't create. - (sysdep.h): Create using forward-include. - * mpw-make.in (CSEARCH): Add include/mpw to search path. - - * mpw-config.in: New file, MPW version of configure.in. - * mpw-make.in: New file, MPW version of Makefile.in. - -Fri Mar 31 14:23:38 1995 Ken Raeburn <raeburn@cujo.cygnus.com> - - * alpha-dis.c (print_insn_alpha): Put empty statement after - default label. - -Tue Mar 21 10:51:40 1995 Jeff Law (law@snake.cs.utah.edu) - - * hppa-dis.c (sign_extend): Delete, redundant with libhppa.h version. - (low_sign_extend): Likewise. - (get_field): Delete unused function. - (set_field, deposit_14, deposit_21): Likewise. - -Fri Mar 17 15:55:53 1995 J.T. Conklin <jtc@rtl.cygnus.com> - - * i386-dis.c: Support for more pentium opcodes. From Guy Harris - (guy@netapp.com). - -Tue Mar 14 00:52:57 1995 Ken Raeburn (raeburn@kr-pc.cygnus.com) - - Sat Feb 11 17:22:41 1995 Klaus Kaempf (kkaempf@didymus.rmi.de) - - * alpha-opc.h (OSF_ASMCODE): define - print pal-code names as defined in App C of the - Alpha Architecture Reference Manual - - * alpha-dis.c: cleaned up output - print stylized code forms as defined in App A.4.3 of the - Alpha Architecture Reference Manual - -Wed Mar 8 15:21:14 1995 Ian Lance Taylor <ian@cygnus.com> - - * mips-opc.c: Add new mips4 instructions. Don't set INSN_RFE for - `rfe'. - * mips-dis.c (print_insn_arg): Handle new argument types 'h', 'R', - 'N', and 'M'. - -Wed Mar 8 02:54:05 1995 Ken Raeburn <raeburn@cujo.cygnus.com> - - * m68k-dis.c (opcode): New function. Returns address of opcode - table entry given index, even if the opcode table was split to - work around gcc bugs. - (print_insn_m68k): Call opcode instead of referencing m68k_opcodes - directly. - (BREAK_UP_BIG_DECL): Make secondary array static and const. - (reg_names): Now const. - (print_insn_arg): Arrays cacheFieldName and names now const. - (print_indexed): Array scales now const. - -Tue Mar 7 16:41:21 1995 Ian Lance Taylor <ian@cygnus.com> - - * ppc-opc.c: Sort recently added instructions by minor opcode - number within major opcode number. - -Mon Mar 6 10:04:36 1995 Jeff Law (law@snake.cs.utah.edu) - - * hppa-dis.c: Include libhppa.h. - -Fri Feb 24 19:15:36 1995 Ian Lance Taylor <ian@cygnus.com> - - * mips-opc.c: Change dli to use M_DLI, and add dla. - -Mon Feb 20 23:54:38 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) - - * Makefile.in (ALL_MACHINES): Add w65-dis.o. - -Thu Feb 16 17:34:41 1995 Ian Lance Taylor <ian@cygnus.com> - - * mips-opc.c: Add r4650 mul instruction. - -Wed Feb 15 15:45:20 1995 Ian Lance Taylor <ian@cygnus.com> - - * mips-opc.c: Add uld and usd macros for unaligned double load and - store. - -Tue Feb 14 13:17:37 1995 Michael Meissner <meissner@tiktok.cygnus.com> - - * ppc-opc.c (powerpc_opcodes): Add 403GA opcodes rfci, dccci, - mfdcr, mtdcr, icbt, iccci. - -Thu Feb 9 12:28:13 1995 Stan Shebs <shebs@andros.cygnus.com> - - * i960-dis.c (struct tabent, struct sparse_tabent): Change the - signed char fields to shorts, more portable. - -Wed Feb 8 17:29:29 1995 Stan Shebs <shebs@andros.cygnus.com> - - * i960-dis.c (struct tabent, struct sparse_tabent): Declare the - char fields as signed chars, since they may have negative values. - -Mon Feb 6 10:52:06 1995 J.T. Conklin <jtc@rtl.cygnus.com> - - * i386-dis.c (dis386_twobyte): Add cpuid, From Charles Hannum - (mycroft@netbsd.org). - -Mon Jan 30 12:38:00 1995 Ian Lance Taylor <ian@cygnus.com> - - From "Logg, Ed" <elogg@ea.com>: - * ppc-opc.c (extract_bdm): Correct parenthezisation. - * ppc-dis.c (print_insn_powerpc): Print .long before unrecognized - value. - -Thu Jan 26 18:32:08 1995 Ian Lance Taylor <ian@cygnus.com> - - * ppc-opc.c: Changes based on patch from David Edelsohn - <edelsohn@mhpcc.edu>. - (powerpc_operands): Add operands SPRBAT and SPRG. Split TBR out of - SPR. - (FXM_MASK): Define. - (insert_tbr): New static function. - (extract_tbr): New static function. - (XFXFXM_MASK, XFXM): Define. - (XSPRBAT_MASK, XSPRG_MASK): Define. - (powerpc_opcodes): Add instructions to access special registers by - name. Add mtcr and mftbu. - -Tue Jan 17 10:56:43 1995 Ian Lance Taylor <ian@sanguine.cygnus.com> - - * mips-opc.c (P3): Define. - (mips_opcodes): Add mad and madu. - -Sun Jan 15 16:32:59 1995 Steve Chamberlain <sac@splat> - - * configure.in: Add W65 support. - * disassemble.c: Likewise. - * w65-opc.h, w65-dis.c: New files. - -Wed Dec 28 22:15:33 1994 Steve Chamberlain (sac@jonny.cygnus.com) - - * h8300-dis.c (bfd_h8_disassemble): Add support for 2 bit - immediates. - -Tue Dec 20 11:25:12 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> - - * mips-opc.c: Add dli as a synonym for li. - -Thu Dec 8 18:23:31 1994 Ken Raeburn <raeburn@cujo.cygnus.com> - - * alpha-dis.c (print_insn_alpha): Handle call_pal instruction, and - print something for reserved opcode values, even if it won't - assemble again. - - * mips-dis.c (_print_insn_mips): When initializing, shift right - and mask, to avoid sign extension problems on the Alpha. - - * m68k-dis.c (print_insn_arg, case 'J'): Handle buscr and pcr - control registers. - -Wed Nov 23 22:34:51 1994 Steve Chamberlain (sac@jonny.cygnus.com) - - * sh-opc.h (mov.l gbr): Get direction right. - * sh-dis.c (print_insn_shx): New function. - (print_insn_shl, print_insn_sh): Call print_insn_shx to - print opcodes with right byte order. - -Thu Nov 3 19:32:22 1994 Ken Raeburn <raeburn@cujo.cygnus.com> - - * ns32k-dis.c (struct ns32k_option): Renamed from struct option, - to avoid conflicts with getopt. - -Mon Oct 31 18:48:10 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> - - * hppa-dis.c (print_insn_hppa): Read the instruction using - bfd_getb32, so that it works on a little endian or 64 bit host. - Remove unused local variable op. - -Tue Oct 25 17:07:57 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> - - * mips-opc.c: Use or instead of addu for pseudo-op move, since - addu does not work correctly if -mips3. - -Wed Oct 19 13:40:16 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> - - * a29k-dis.c (print_special): Add special register names defined - on 29030, 29040 and 29050. - (print_insn): Handle new operand type 'I'. - -Wed Oct 12 11:59:55 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> - - * Makefile.in (INSTALL): Use top level install.sh script. - -Wed Oct 5 19:16:29 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> - - * sparc-dis.c: Rewrite to use bitfields, rather than a union, so - that it works on a little endian host. - -Tue Oct 4 12:14:21 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> - - * configure.in: Use ${config_shell} when running config.bfd. - -Wed Sep 21 18:49:12 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * mips-opc.c (mips_opcodes): "dabs" is only available with -mips3. - -Thu Sep 15 16:30:22 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * a29k-dis.c (print_insn): Print the opcode. - -Wed Sep 14 17:52:14 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * mips-opc.c (mips_opcodes): Set WR_t for sc and scd. - -Sun Sep 11 22:32:17 1994 Jeff Law (law@snake.cs.utah.edu) - - * hppa-dis.c (reg_names): Use r26-r23 for arg0-arg3. - -Tue Sep 6 11:37:12 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * mips-opc.c: Set INSN_STORE_MEMORY flag for all instructions - which store a value into memory. - -Sun Sep 04 17:58:10 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org) - - * configure.in, Makefile.in, disassemble.c: Add support for the ARM. - * arm-dis.c, arm-opc.h: New files. - -Fri Aug 5 14:00:05 1994 Stan Shebs (shebs@andros.cygnus.com) - - * Makefile.in (ns32k-dis.o): Add dependency. - * ns32k-dis.c (print_insn_arg): Declare initialized local as - string, not as array of chars. - -Thu Jul 28 18:14:16 1994 Ken Raeburn (raeburn@cujo.cygnus.com) - - * sparc-dis.c (print_insn_sparc): Handle new operand type 'x'. - - * sparc-opc.c: Added sparclite extended FP operations, and - versions of v9 impdep* instructions permitting specification of - the OPF field. - -Tue Jul 26 16:36:03 1994 Ken Raeburn (raeburn@cujo.cygnus.com) - - * i960-dis.c (reg_names): Now const. - (struct sparse_tabent): New type, copied from array type in mem - function. - (ctrl): Local static array ctrl_tab now const. - (cobr): Local static array cobr_tab now const. - (mem): Local variables reg1, reg2, reg3 now point to const. Local - static variable mem_tab no longer explicitly initialized. Changed - mem_init to const array of struct sparse_tabent. - (reg): Local static variable reg_tab no longer explicitly - initialized. Changed reg_init to const array of struct - sparse_tabent. - (ea): Local static array scale_tab now const. - - * i960-dis.c (reg): Added i960JX instructions to reg_init table. - (REG_MAX): Updated. - -Tue Jul 19 21:00:00 1994 DJ Delorie (dj@ctron.com) - - * configure.bat: the disassember needs to be enabled for - "objdump -d" to work in djgpp. - -Wed Jul 13 18:01:58 1994 Ken Raeburn (raeburn@cujo.cygnus.com) - - * ns32k-dis.c: Deleted all code in "#ifdef GDB". - (invalid_float): Enabled general version, doesn't require running - on ns32k host. Changed to take char* argument, and test for - explicitly specified sizes, instead of using sizeof() on host CPU - types. - (INVALID_FLOAT): Cast first argument. - (opt_u, opt_U, opt_O, opt_C, opt_S, list_P532, list_M532, - list_P032, list_M032): Now const. - (optlist, list_search): Made appropriate arguments now point to - const. - (print_insn_arg): Changed static array of one-character-string - pointers into a static const array of characters; fixed sprintf - statement accordingly. - -Sun Jul 10 00:27:47 1994 Ian Dall (dall@hfrd.dsto.gov.au) - - * opcodes/ns32k-dis.c: Semi-new file. Had apparently been dropped - from distribution. A ns32k-dis.c from a previous distribution has - been brought up to date and supports the new interface. - - * disassemble.c: define ARCH_ns32k and add case bfd_arch_ns32k. - - * configure.in: add bfd_ns32k_arch target support. - - * Makefile.in: add ns32k-dis.o to ALL_MACHINES. - Add ns32k-dis.c to CFILES. Add dependencies for ns32k-dis.o. - -Wed Jun 29 22:10:37 1994 Steve Chamberlain (sac@cygnus.com) - - * h8300-dis.c (bfd_h8_disassemble): Get 16bit branch - disassembly right. - -Tue Jun 28 13:22:06 1994 Stan Shebs (shebs@andros.cygnus.com) - - * h8300-dis.c, mips-dis.c: Don't use true and false. - -Thu Jun 23 12:53:19 1994 David J. Mackenzie (djm@rtl.cygnus.com) - - * configure.in: Change --with-targets to --enable-targets. - -Wed Jun 22 13:38:32 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * mips-dis.c (_print_insn_mips): Build a static hash table mapping - opcodes to the first instruction with that opcode, to speed - disassembly of large files. From ralphc@pyramid.com (Ralph - Campbell). - -Tue Jun 7 12:49:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * Makefile.in (mostlyclean): Fix typo (was mostyclean). - -Wed May 11 22:32:00 1994 DJ Delorie (dj@ctron.com) - - * configure.bat: update to latest makefile.in - -Sat May 7 17:13:21 1994 Steve Chamberlain (sac@cygnus.com) - - * a29k-dis.c (print_insn): Print 'x' type operand in hex. - * h8300-dis.c (bfd_h8_disassemble): Print 16bit rels correctly. - * sh-dis.c (print_insn_sh): Don't recur endlessly if delay - slot insn is in a delay slot. - * z8k-opc.h: (resflg): Fix patterns. - * h8500-opc.h Fix CR insn patterns. - -Fri May 6 14:34:46 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * ppc-opc.c (powerpc_opcodes): Put PowerPC versions of "cmp" and - "cmpl" before POWER versions, so that gas -many uses them. - -Thu Apr 28 18:32:36 1994 Ken Raeburn (raeburn@cujo.cygnus.com) - - * disassemble.c: New file. - * Makefile.in (OFILES): Add disassemble.o. - (disassemble.o): Provide dependencies; compile with $(ARCHDEFS). - * configure.in: Define ARCHDEFS in Makefile. Code taken from - binutils/configure.in. - - * m68k-dis.c (print_insn_m68k): If F_ALIAS flag is set, skip the - opcode being examined. - -Thu Apr 21 17:08:40 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * ppc-opc.c (powerpc_operands): Added RAL, RAM and RAS. - (insert_ral, insert_ram, insert_ras): New functions. - (powerpc_opcodes): Use RAL for load with update, RAM for lmw, and - RAS for store with update. - -Sat Apr 16 23:41:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * ppc-opc.c (powerpc_opcodes): Correct fcir. From David Edelsohn - (edelsohn@npac.syr.edu). - -Wed Apr 6 17:11:45 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * mips-opc.c (mips_opcodes): Correct operands of "nor" with an - immediate argument. - -Mon Apr 4 16:30:46 1994 Doug Evans (dje@canuck.cygnus.com) - - * sparc-opc.c (sparc_opcodes): Fix "rd %fprs,%l0". - -Mon Apr 4 13:22:00 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * ppc-opc.c (powerpc_operands): The signedp field has been - removed, so don't initialize it. Set the PPC_OPERAND_SIGNED flag - instead. Add new operand SISIGNOPT. - (powerpc_opcodes): For lis, liu, addis, and cau use SISIGNOPT. - Based on patch from David Edelsohn (edelsohn@npac.syr.edu). - * ppc-dis.c (print_insn_powerpc): Check PPC_OPERAND_SIGNED rather - than signedp field. - -Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) - - * i386-dis.c (struct private): Renamed to dis_private. `private' - is a reserved word for dynix cc. - -Mon Mar 28 13:00:15 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * configure.in: Change error message to refer to bfd/config.bfd - rather than bfd/configure.in. - -Mon Mar 28 12:28:30 1994 David Edelsohn (edelsohn@npac.syr.edu) - - * ppc-opc.c: Define POWER2 as short alias flag. - (powerpc_opcodes): Add POWER/2 opcodes lfq*, stfq*, fcir[z], and - fsqrt. - -Wed Mar 23 12:23:05 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * i960-dis.c (print_insn_i960): Don't read a second word for - opcodes 0, 1, 2 and 3. - -Wed Mar 16 15:37:58 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * configure.in: Don't build m68881-ext.o for bfd_m68k_arch. - -Mon Mar 14 14:53:50 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * m68881-ext.c: Removed; no longer used. - * Makefile.in: Changed accordingly. - - * m68k-dis.c (ext_format_68881): Don't declare. - (print_insn_m68k): If an instruction uses place 'i', it uses at - least four fixed bytes. - (print_insn_arg): Don't bump p by 2 for case 'I', place 'i'. For - extended float, convert to double using floatformat_to_double, not - ieee_extended_to_double, and fetch the data before converting it. - -Tue Mar 8 18:12:25 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * mips-opc.c: It's sqrt.s, not sqrt.w. From - davidj@ICSI.Berkeley.EDU (David Johnson). - -Tue Feb 8 16:55:27 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * ppc-opc.c (powerpc_opcodes): The POWER uses bdn[l][a] where the - PowerPC uses bdnz[l][a]. - -Tue Feb 8 00:32:28 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) - - * dis-buf.c, i386-dis.c: Include sysdep.h. - -Mon Feb 7 19:22:23 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * configure.in (bfd_powerpc_arch): Use ppc-dis.o and ppc-opc.o. - - * ppc-opc.c (powerpc_opcodes): Mark POWER instructions supported - by Motorola PowerPC 601 with PPC_OPCODE_601. - * ppc-dis.c (print_insn_big_powerpc, print_insn_little_powerpc): - Disassemble Motorola PowerPC 601 instructions as well as normal - PowerPC instructions. - -Sun Feb 6 07:45:17 1994 Jim Kingdon (kingdon@lioth.cygnus.com) - - * i960-dis.c (reg, mem): Just use a static array instead of - calling xmalloc. - -Sat Feb 5 00:04:02 1994 Jeffrey A. Law (law@snake.cs.utah.edu) - - * hppa-dis.c (print_insn_hppa): For '?' and '@' only adjust the - condition name index if this is for a negated condition. - - * hppa-dis.c (print_insn_hppa): No space before 'H' operand. - Floating point format for 'H' operand is backwards from normal - case (0 == double, 1 == single). For '4', '6', '7', '9', and '8' - operands (fmpyadd and fmpysub), handle bizarre register - translation correctly for single precision format. - - * hppa-dis.c (print_insn_hppa): Do not emit a space after 'F' - or 'I' operands if the next format specifier is 'M' (fcmp - condition completer). - -Feb 4 23:38:03 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * ppc-opc.c (powerpc_operands): New operand type MBE to handle a - single number giving a bitmask for the MB and ME fields of an M - form instruction. Change NB to accept 32, and turn it into 0; - also turn 0 into 32 when disassembling. Seperated SH from NB. - (insert_mbe, extract_mbe): New functions. - (insert_nb, extract_nb): New functions. - (SC_MASK): Mask out SA and LK bits. - (powerpc_opcodes): Change "cal" to use RT, D, RA rather than RT, - RA, SI. Change "liu" and "cau" to use UI rather than SI. Mark - "bctr" and "bctrl" as accepted by POWER. Change "rlwimi", - "rlimi", "rlwimi.", "rlimi.", "rlwinm", "rlinm", "rlwinm.", - "rlinm.", "rlmi", "rlmi.", "rlwnm", "rlnm", "rlwnm.", "rlnm." to - use MBE rather than MB. Add "mfmq" and "mtmq" POWER instructions. - (powerpc_macros): Define table of macro definitions. - (powerpc_num_macros): Define. - - * ppc-dis.c (print_insn_powerpc): Don't skip optional operands - if PPC_OPERAND_NEXT is set. - -Sat Jan 22 23:10:07 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * i960-dis.c (print_insn_i960): Make buffer bfd_byte instead of - char. Retrieve contents using bfd_getl32 instead of shifting. - -Fri Jan 21 19:01:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * ppc-opc.c: New file. Opcode table for PowerPC, including - opcodes for POWER (RS/6000). - * ppc-dis.c: New file. PowerPC and Power (RS/6000) disassembler. - * Makefile.in (ALL_MACHINES): Add ppc-dis.o and ppc-opc.o. - (CFILES): Add ppc-dis.c. - (ppc-dis.o, ppc-opc.o): New targets. - * configure.in: Build ppc-dis.o and ppc-opc.o for bfd_rs6000_arch. - -Mon Jan 17 20:05:49 1994 Jeffrey A. Law (law@snake.cs.utah.edu) - - * hppa-dis.c (print_insn_hppa): Handle 'N' in assembler template. - No space before 'u', 'f', or 'N'. - -Sun Jan 16 14:20:16 1994 Jim Kingdon (kingdon@deneb.cygnus.com) - - * i386-dis.c (print_insn_i386): Add FIXME comment regarding reading - farther than we should. - - * i386-dis.c (dis386): Use Yb and Yv for scasb and scasS. - -Thu Jan 6 12:38:05 1994 David J. Mackenzie (djm@thepub.cygnus.com) - - * sparc-dis.c m68k-dis.c alpha-dis.c a29k-dis.c: Fix comments. - -Wed Jan 5 11:56:21 1994 David J. Mackenzie (djm@thepub.cygnus.com) - - * i960-dis.c (print_insn_i960): Only read word2 if the instruction - needs it, to prevent reading past the end of a section. - -Wed Nov 17 17:20:12 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * mips-opc.h: Use macro for j instruction, to support SVR4 PIC. - Removed t,A case for la; always use t,A(b) case. - -Mon Nov 8 12:37:36 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - From Ted Lemen <mellon@pepper.ncd.com> - * mips-dis.c (print_insn_arg): Handle 'k'. - * mips-opc.c: Make cache use k, not t. - -Sun Nov 7 23:52:34 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) - - * alpha-opc.h, alpha-dis.c (print_insn_alpha): Add - FLOAT_MEMORY_FORMAT_CODE, FLOAT_BRANCH_FORMAT_CODE, correct - FLOAT_FORMAT_CODE to put out floating point register names. - -Mon Nov 1 18:17:51 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * mips-opc.c: Use macros for jal variants, to support SVR4 PIC. - -Thu Oct 28 17:42:23 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * a29k-dis.c (print_insn): Use 0x%08x, not 0x%8x. - -Wed Oct 27 11:48:01 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * mips-opc.c (dsll, dsra, dsrl): Added '>' cases for shift counts - larger than 32. Moved dsxx32 variants first for disassembler. - -Mon Oct 25 11:33:14 1993 Steve Chamberlain (sac@phydeaux.cygnus.com) - - * z8kgen.c, z8k-opc.h: Add full lda information. - -Tue Oct 19 12:39:25 1993 Jeffrey A Law (law@cs.utah.edu) - - * hppa-dis.c (print_insn_hppa): Do not emit a space after - movb instructions. Any necessary space will be emitted by - the code to handle nullification completers. - -Wed Oct 13 16:19:07 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * mips-opc.c: Moved l.d down so that it disassembles as ldc1. - -Fri Oct 8 02:34:21 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) - - * alpha-opc.h: Add ldl_l, fix typo for ldq_u. - * alpha-dis.c (print_insn_alpha): Add code for PAL_FORMAT_CODE. - -Tue Oct 5 17:47:53 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * mips-opc.c: Correct lwu opcode value (book had it wrong). - -Thu Sep 30 11:26:18 1993 Steve Chamberlain (sac@phydeaux.cygnus.com) - - * z8k-dis.c (FETCH_DATA): get just the right amount of data. - (unpack_instr): Cope with ARG_IMM4M1 type instructions. - -Wed Sep 29 16:24:49 1993 K. Richard Pixley (rich@sendai.cygnus.com) - - * m88k-dis.c (m88kdis): comment change. Remove space after - printing mnemonic. - (printop): handle new arg types DEC and XREG for m88110. - -Tue Sep 28 19:20:16 1993 Jeffrey A Law (law@snake.cs.utah.edu) - - * hppa-dis.c (print_insn_hppa): Handle 'z' operand - type for absolute branch addresses. Delete special - "ble" and "be" code in 'W' operand code. - -Fri Sep 24 14:08:33 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * mips-opc.c: Set hazard information correctly for branch - likely instructions. - -Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) - - * alpha-dis.c (print_insn_alpha), alpha-opc.h: Fix bugs, use - info->fprintf_func for printing and info->print_address_func for - address output. - -Wed Sep 15 12:12:07 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * mips-opc.c: Set INSN_TRAP for tXX instructions. - -Thu Sep 9 10:11:27 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * mips-opc.c: From davidj@ICSI.Berkeley.EDU (David Johnson): - Corrected second case of "b" for disassembler. - -Tue Sep 7 14:25:15 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * mips-dis.c, m88k-dis.c: Don't include libbfd.h. Changed calls - to BFD swapping routines to correspond to BFD name changes. - -Thu Sep 2 10:35:25 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * mips-opc.c: Change div machine instruction to be z,s,t rather - than s,t. Change div macro to be d,v,t rather than d,s,t. - Likewise for divu, ddiv, ddivu. Added z,s,t case for drem, dremu, - rem and remu which generates only the corresponding div - instruction. This is for compatibility with the MIPS assembler, - which only generates the simple machine instruction when an - explicit destination of $0 is used. - * mips-dis.c (print_insn_arg): Handle 'z' (always register zero). - -Thu Aug 26 17:41:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * mips-opc.c: From davidj@ICSI.Berkeley.EDU (David Johnson): Set - WR_31 hazard for bal, bgezal, bltzal. - -Thu Aug 26 17:20:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * hppa-dis.c (print_insn_hppa): Use print function - from within the disassemble_info, not fprintf_filtered. - -Wed Aug 25 13:51:40 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) - - * hppa-dis.c (print_insn_hppa): Handle '|' like '>'. (From Jeff - Law, law@cs.utah.edu.) - -Mon Aug 23 12:44:05 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * mips-opc.c ("absu"): Removed. - ("dabs"): Added. - -Fri Aug 20 10:52:52 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * mips-opc.c: Added r6000 and r4000 instructions and macros. - Changed hazard information to distinguish between memory load - delays and coprocessor load delays. - -Wed Aug 18 15:39:23 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * mips-opc.c: li.d uses "T,L", not "S,F". Added li.s. - -Tue Aug 17 09:44:42 1993 David J. Mackenzie (djm@thepub.cygnus.com) - - * configure.in: Don't pass cpu to config.bfd. - -Tue Aug 17 12:23:52 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * m88k-dis.c (m88kdis): Make class unsigned. - -Thu Aug 12 15:08:18 1993 Ian Lance Taylor (ian@cygnus.com) - - * alpha-dis.c (print_insn_alpha): One branch format case was - missing the instruction name. - -Wed Aug 11 19:29:39 1993 David J. Mackenzie (djm@thepub.cygnus.com) - - * Makefile.in (ALL_MACHINES): Renamed from DIS_LIBS. - Add the arch-specific auxiliary files. - (OFILES): Remove the arch-specific auxiliary files - and use BFD_MACHINES instead of DIS_LIBS. - * configure.in: Set BFD_MACHINES based on --with-targets option. - -Thu Aug 12 12:04:53 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * mips-opc.c: Added lwc1 E,A(b) to go with lwc1 T,A(b). Similarly - for swc1. - -Sun Aug 8 15:09:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * sparc-opc.c: Change CONST to const to deal with gcc - -Dconst=__const -traditional. - -Fri Aug 6 10:58:55 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * mips-opc.c: From davidj@ICSI.Berkeley.EDU (David Johnson): Took - coprocessor instructions out of #if 0, and made them use new - argument type "C". - -Thu Aug 5 17:11:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * sparc-dis.c: Include ansidecl.h before opcodes/sparc.h. - -Fri Jul 30 18:48:15 1993 John Gilmore (gnu@cygnus.com) - - * sparc-opc.c: Add F_JSR, F_UNBR, or F_CONDBR flags to each branch - instruction, for use by the disassembler. - - * sparc-dis.c (SEX): Add sign extension macro. Replace many - hand-coded sign extensions that depended on 32-bit host ints. - FIXME, we still depend on big-endian host bitfield ordering. - (sparc_print_insn): Set the insn_info_valid field, and the - other fields that describe the instruction being printed. - -Tue Jul 27 17:04:58 1993 Jim Wilson (wilson@sphagnum.cygnus.com) - - * sparc-opc.c (call): Accept all 6 addressing modes valid for - `jmp' instead of just one of them. - -Wed Jul 21 11:43:32 1993 Jim Kingdon (kingdon@deneb.cygnus.com) - - * hppa-dis.c: Move floating registers from reg_names to fp_reg_names. - (fput_fp_reg_r): Renamed from fput_reg_r. - (fput_fp_reg): New function. - (print_insn_hppa): Use fput_fp_reg{,_r} where appropriate. - - * hppa-dis.c (print_insn_hppa, cases 'a', 'd'): Print space afterwards. - - * hppa-dis.c (print_insn_hppa, case 'd'): Use GET_COND not GET_FIELD. - -Mon Jul 19 13:52:21 1993 Jim Kingdon (kingdon@deneb.cygnus.com) - - * hppa-dis.c (print_insn_hppa): Use extract_5r_store for 'r'. - - * hppa-dis.c (print_insn_hppa, case '>'): If next character is 'n', - don't output a space. - - * hppa-dis.c (float_format_names): 10 is undefined, and 11 is quad. - -Sun Jul 18 16:30:02 1993 Jim Kingdon (kingdon@rtl.cygnus.com) - - * mips-opc.c: New file, containing opcode table from - ../include/opcode/mips.h. - * Makefile.in: Add it. - -Thu Jul 15 12:37:05 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * m88k-dis.c: New file, moved in from gdb and changed to use the - new dis-asm.h disassembler interface. - * Makefile.in (DIS_LIBS): Added m88k-dis.o. - (m88k-dis.o): New target. - -Tue Jul 13 10:04:16 1993 Ian Lance Taylor (ian@cygnus.com) - - * mips-dis.c (print_insn_arg, _print_insn_mips): Made pointer to - argument string const char * to correspond to opcode/mips.h. - -Tue Jul 6 15:18:37 1993 Ian Lance Taylor (ian@cygnus.com) - - * mips-dis.c: Updated to account for name changes in new version - of opcode/mips.h. - * Makefile.in: Added header file dependencies. - -Sat Jul 3 23:47:56 1993 Doug Evans (dje@canuck.cygnus.com) - - * h8300-dis.c (bfd_h8_disassemble): Correct fetching of instruction. - -Thu Jul 1 12:23:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * m68k-dis.c (NEXTWORD, NEXTLONG): Use ((x) ^ 0x8000) - 0x8000 to sign - extend, rather than shifts. - -Sun Jun 20 20:56:56 1993 Ken Raeburn (raeburn@poseidon.cygnus.com) - - * Makefile.in: Undo 15 June change. - -Fri Jun 18 14:15:15 1993 Per Bothner (bothner@deneb.cygnus.com) - - * m68k-dis.c (print_insn_arg): Change return value to byte count - or error code. - * m68k-dis.c: Re-write to detect invalid operands before - printing anything, so we can handle this the same way we - handle invalid opcodes. - -Thu Jun 17 15:01:36 1993 Steve Chamberlain (sac@phydeaux.cygnus.com) - - * sh-dis.c, sh-opc.h: Understand some more opcodes. - -Wed Jun 16 13:48:05 1993 Ian Lance Taylor (ian@cygnus.com) - - * hppa-dis.c: Include <ansidecl.h> and sysdep.h before other - header files. - -Tue Jun 15 21:45:26 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) - - * sparc-dis.c: Don't declare qsort, since sysdep.h might. - - * configure.in: Do make sysdep.h link. - * Makefile.in: Search ../include. Don't search ../bfd. - -Tue Jun 15 13:36:10 1993 Stu Grossman (grossman@cygnus.com) - - Changes from Jeff Law, law@cs.utah.edu: - * hppa-dis.c: Fix typo. 'a' and 'd' were reversed. - Do not print a space before the completers specified by - 'a' and 'd'. - -Fri Jun 11 18:40:21 1993 Ken Raeburn (raeburn@cygnus.com) - - * mips-dis.c: No longer need to bomb out if HOST_64_BIT is - defined, since gdb has been fixed. - - Changes from Jeff Law, law@cs.utah.edu: - * hppa-dis.c (print_insn_hppa): Last argument to fput_reg, - fput_reg_r, fput_creg, fput_const, and fputs_filtered should - be a *disassemble_info, not a *FILE. - * hppa-dis.c: Support 'd', '!', and 'a'. - * hppa-dis.c: Support 's' to extract a 2 bit space register. - * hppa-dis.c: Delete cases which are no longer needed. - -Fri Jun 11 07:53:48 1993 Jim Kingdon (kingdon@cygnus.com) - - * m68k-dis.c (print_insn_{m68k,arg}): Add MMU codes. - -Tue Jun 8 12:25:01 1993 Steve Chamberlain (sac@phydeaux.cygnus.com) - - * h8300-dis.c: New file, removed from bfd/cpu-h8300.c, with - H8/300-H opcodes. - -Mon Jun 7 12:58:49 1993 Per Bothner (bothner@rtl.cygnus.com) - - * Makefile.in (CSEARCH): Add -I../bfd for sysdep.h and bfd.h. - * configure.in: No longer need to configure to get sysdep.h. - -Thu Jun 3 15:56:49 1993 Stu Grossman (grossman@cygnus.com) - - * Patches from Jeffrey Law <law@cs.utah.edu>. - * hppa-dis.c: Support 'I', 'J', and 'K' in output - templates for 1.1 FP computational instructions. - -Tue May 25 13:05:48 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) - - * h8500-dis.c (print_insn_h8500): Address argument is type - bfd_vma. - * z8k-dis.c (print_insn_z8k, print_insn_z8001, print_insn_z8002): - Ditto. - - * h8500-opc.h (addr_class_type): No comma at end of enumerator. - * sh-opc.h (sh_nibble_type, sh_arg_type): Ditto. - - * sparc-dis.c (compare_opcodes): Move static declaration to - top-level. - -Fri May 21 14:17:37 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) - - * sparc-dis.c (print_insn_sparc): Implement 'n' argument for unimp - instruction, remove unimp hack from 'l' argument. - -Wed May 19 15:35:54 1993 Stu Grossman (grossman@cygnus.com) - - * z8k-dis.c (fetch_data): Use unsigned char to make ancient gcc's - happy. - -Fri May 14 15:22:46 1993 Ian Lance Taylor (ian@cygnus.com) - - * Based on patches from davidj@ICSI.Berkeley.EDU (David Johnson): - * mips-dis.c (print_insn_arg): Handle 'C' for general coprocessor - instructions. - -Fri May 14 00:09:14 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) - - * hppa-dis.c: Include dis-asm.h before sysdep.h. Changed some - arrays of string pointers to 2-d arrays of chars, to save - space. - -Thu May 6 20:51:17 1993 Fred Fish (fnf@cygnus.com) - - * a29k-dis.c, alpha-dis.c, i960-dis.c, sparc-dis.c, z8k-dis.c: - Cast second arg to read_memory_func to "bfd_byte *", as necessary. - -Tue May 4 20:31:10 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) - - * hppa-dis.c: New file from Utah, adapted to new disassembler - calling interface. - * Makefile.in: Include it. - -Mon Apr 26 18:17:42 1993 Steve Chamberlain (sac@thepub.cygnus.com) - - * sh-dis.c, sh-opc.h: New files. - -Fri Apr 23 18:51:22 1993 Steve Chamberlain (sac@thepub.cygnus.com) - - * alpha-dis.c, alpha-opc.h: New files. - -Tue Apr 6 12:54:08 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) - - * mips-dis.c: Sign extend 'j' and 'b' arguments, delta is a signed - value. - -Mon Apr 5 17:37:37 1993 John Gilmore (gnu@cygnus.com) - - * sparc-dis.c: Make "ta" the default trap instruction, "t" the alias. - -Fri Apr 2 07:24:27 1993 Ian Lance Taylor (ian@cygnus.com) - - * a29k-dis.c, sparc-dis.c, sparc-opc.c: Use CONST rather than - const. - -Thu Apr 1 11:20:43 1993 Jim Kingdon (kingdon@cygnus.com) - - * sparc-dis.c: Use fprintf_func a few places where I forgot, - and double percent signs a few places. - - * a29k-dis.c, i960-dis.c: New, merged from gdb and binutils. - - * i386-dis.c, m68k-dis.c, mips-dis.c, sparc-dis.c: - Use info->print_address_func not print_address. - - * dis-buf.c (generic_print_address): New function. - -Wed Mar 31 10:07:04 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * Makefile.in: Add sparc-dis.c. - sparc-dis.c: New file, merges binutils and gdb versions as follows: - From GDB: - Add `add' instruction to the set that get checked - for a preceding `sethi' in order to print an absolute address. - * (print_insn): Disassembly prefers real instructions. - (is_delayed_branch): Speed up. - * sparc-opcode.h: Add ALIAS bit to aliases. Fix up opcode tables. - Still missing some float ops, and needs testing. - * sparc-pinsn.c (print_insn): Eliminate 'set' test, subsumed by - F_ALIAS. Use printf, not fprintf, when not passing a file - pointer... - (compare_opcodes): Check that identical instructions have - identical opcodes, complain otherwise. - From binutils: - * New 'm' arg. - * Include reg_names. - From neither: - Use dis-asm.h/read_memory_func interface. - -Wed Mar 31 20:49:06 1993 K. Richard Pixley (rich@rtl.cygnus.com) - - * h8500-dis.c, i386-dis.c, m68k-dis.c, z8k-dis.c (fetch_data): - deliberately return non-zero to setjmp from longjmp. Otherwise - this code fails to compile. - -Wed Mar 31 17:04:31 1993 Stu Grossman (grossman@cygnus.com) - - * m68k-dis.c: Fix prototype for fetch_arg(). - -Wed Mar 31 10:07:04 1993 Jim Kingdon (kingdon@lioth.cygnus.com) - - * dis-buf.c: New file, for new read_memory_func interface. - Makefile.in (OFILES): Include it. - m68k-dis.c, i386-dis.c, h8500-dis.c, mips-dis.c, z8k-dis.c: - Use new read_memory_func interface. - -Mon Mar 29 14:02:17 1993 Steve Chamberlain (sac@thepub.cygnus.com) - - * h8500-dis.c (print_insn_h8500): Get sign of fp offsets right. - * h8500-opc.h: Fix couple of opcodes. - -Wed Mar 24 02:03:36 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com) - - * Makefile.in: add dvi & installcheck targets - -Mon Mar 22 18:55:04 1993 John Gilmore (gnu@cygnus.com) - - * Makefile.in: Update for h8500-dis.c. - -Fri Mar 19 14:27:17 1993 Steve Chamberlain (sac@thepub.cygnus.com) - - * h8500-dis.c, h8500-opc.h: New files - -Thu Mar 18 14:12:37 1993 Per Bothner (bothner@rtl.cygnus.com) - - * mips-dis.c, z8k-dis.c: Converted to use interface defined in - ../include/dis-asm.h. - * m68k-dis.c: New file (merge of ../binutils/m68k-pinsn.c - and ../gdb/m68k-pinsn.c). - * i386-dis.c: New file (merge of ../binutils/i386-pinsn.c - and ../gdb/i386-pinsn.c). - * m68881-ext.c: New file. Moved definition of - ext_format ext_format_68881 from ../gdb/m68k-tdep.c. - * Makefile.in: Adjust for new files. - * i386-dis.c: Patches from John Hassey (hassey@dg-rtp.dg.com). - * m68k-dis.c: Recognize '9' placement code, so (say) pflush - can be dis-assembled. - -Wed Feb 17 09:19:47 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) - - * mips-dis.c (print_insn_arg): Now returns void. - -Mon Jan 11 16:09:16 1993 Fred Fish (fnf@cygnus.com) - - * mips-dis.c (ansidecl.h): Include for benefit of sysdep.h - files that use the macros. - -Thu Jan 7 13:15:17 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) - - * mips-dis.c: New file, from gdb/mips-pinsn.c. - * Makefile.in (DIS_LIBS): Added mips-dis.o. - (CFILES): Added mips-dis.c. - -Thu Jan 7 07:36:33 1993 Steve Chamberlain (sac@thepub.cygnus.com) - - * z8k-dis.c (print_insn_z8001, print_insn_z8002): new routines - * z8kgen.c, z8k-opc.h: fix sizes of some shifts. - -Tue Dec 22 15:42:44 1992 Per Bothner (bothner@rtl.cygnus.com) - - * Makefile.in: Improve *clean rules. - * configure.in: Allow a default host. - -Tue Nov 17 19:53:54 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * Makefile.in: also use -I$(srcdir)/../bfd, since some sysdep - files include other sysdep files - -Thu Nov 12 16:10:37 1992 Steve Chamberlain (sac@thepub.cygnus.com) - - * z8k-dis.c z8k-opc.h z8kgen.c: checkpoint - -Fri Oct 9 04:56:05 1992 John Gilmore (gnu@cygnus.com) - - * configure.in: For host support, use ../bfd/configure.host - so it stays in sync with the ../bfd/hosts database. - -Thu Oct 1 23:38:54 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - - * configure.in: use cpu-vendor-os triple instead of nested cases - -Wed Sep 30 16:09:20 1992 Michael Werner (mtw@cygnus.com) - - * z8k-dis.c (unparse_instr): fix bug where opcode returned was - *always* the wrong one. - -Wed Sep 30 07:42:17 1992 Steve Chamberlain (sac@thepub.cygnus.com) - - * z8kgen.c: added copyright info - -Tue Sep 29 12:20:21 1992 Steve Chamberlain (sac@thepub.cygnus.com) - - * z8k-dis.c (unparse_instr): prettier tabs - * z8kgen.c -> z8k-opc.h: bug fixes in tables - -Fri Sep 25 12:50:32 1992 Stu Grossman (grossman at cygnus.com) - - * configure.in: Add ncr* configuration. - * z8k-dis.c (struct instr_data_s): Make instr_asmsrc char to make - picayune ANSI compilers happy. - -Sep 20 08:50:55 1992 Fred Fish (fnf@cygnus.com) - - * configure.in (i386): Make i386 and i486 synonymous for now. - * configure.in (i[34]86-*-sysv4): Add my_host definition. - -Fri Sep 18 17:01:23 1992 Ken Raeburn (raeburn@cambridge.cygnus.com) - - * Makefile.in (install): Fix typo. - -Fri Sep 18 02:04:24 1992 John Gilmore (gnu@cygnus.com) - - * Makefile.in (make): Remove obsolete crud. - (sparc-opc.o): Avoid Sun Make VPATH bug. - -Tue Sep 8 17:29:27 1992 K. Richard Pixley (rich@sendai.cygnus.com) - - * Makefile.in: since there are no SUBDIRS, remove rule and - references of subdir_do. - -Tue Sep 8 17:02:58 1992 Ken Raeburn (raeburn@cambridge.cygnus.com) - - * Makefile.in (install): Get the library name right here too. - Don't install bfd.h, since it's unrelated to this library. No - subdirs to recurse into, either. - (CFILES): The source file has a .c suffix, not .o. - - * sparc-opc.c: New file, moved from BFD. - * Makefile.in (OFILES): Build it. - -Thu Sep 3 16:59:20 1992 Michael Werner (mtw@cygnus.com) - - * z8k-dis.c: fixed forward refferences of some declarations. - -Mon Aug 31 16:09:45 1992 Michael Werner (mtw@cygnus.com) - - * Makefile.in: get the name of the library right - -Mon Aug 31 13:47:35 1992 Steve Chamberlain (sac@thepub.cygnus.com) - - * z8k-dis.c: knows how to disassemble z8k stuff - * z8k-opc.h: new file full of z8000 opcodes - +For older changes see ChangeLog-9899 Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 version-control: never End: diff --git a/opcodes/ChangeLog-9297 b/opcodes/ChangeLog-9297 new file mode 100644 index 0000000..5fa3fa0 --- /dev/null +++ b/opcodes/ChangeLog-9297 @@ -0,0 +1,3791 @@ +Mon Dec 22 12:37:06 1997 Ian Lance Taylor <ian@cygnus.com> + + * mips-opc.c: Add FP_D to s.d instruction flags. + +Wed Dec 17 11:38:29 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * m68k-opc.c (halt, pulse): Enable them on the 68060. + +Tue Dec 16 15:22:53 1997 Fred Fish <fnf@cygnus.com> + + * tic80-opc.c (tic80_opcodes): Revert change that put the 32 bit + PC relative offset forms before the 15 bit forms. An assembler command + line option now chooses the default. + +Tue Dec 16 15:22:51 1997 Michael Meissner <meissner@cygnus.com> + + * d30v-opc.c (d30v_opcode_table): Set new flags bits + FLAG_{2WORD,MUL{16,32},ADDSUBppp}, in appropriate instructions. + +1997-12-15 Brendan Kehoe <brendan@lisa.cygnus.com> + + * configure: Only build libopcodes shared if --enable-shared's value + was `yes', or was set to `*opcodes*'. + * aclocal.m4: Likewise. + * NOTE: this really needs to be fixed in libtool/libtool.m4, the + original source of this bit of code. It's not clear what the best fix + would be, though. + +Fri Dec 12 11:57:04 1997 Fred Fish <fnf@cygnus.com> + + * tic80-opc.c (OFF_SL_PC, OFF_SL_BR): Minor formatting change. + (tic80_opcodes): Reorder table entries to put the 32 bit PC relative + offset forms before the 15 bit forms, to default to the long forms. + +Fri Dec 12 01:32:30 1997 Richard Henderson <rth@cygnus.com> + + * alpha-opc.c (cvttq/*u*): Remove, as that suffix is invalid. + +Wed Dec 10 17:42:35 1997 Nick Clifton <nickc@cygnus.com> + + * arm-dis.c (print_insn_little_arm): Prevent examination of stored + symbol if none is present. + (print_insn_big_arm): Prevent examination of stored symbol if + none is present. + +Thu Oct 23 21:13:37 1997 Fred Fish <fnf@cygnus.com> + + * d10v-opc.c (d10v_opcodes): Correct entry for RTE. + +Mon Dec 8 11:21:07 1997 Nick Clifton <nickc@cygnus.com> + + * disassemble.c: Remove disasm_symaddr() function. + + * arm-dis.c: Use info->symbol instead of info->flags to determine + if disassmbly should be in Thumb or Arm mode. + +Tue Dec 2 09:54:27 1997 Nick Clifton <nickc@cygnus.com> + + * arm-dis.c: Add support for disassembling Thumb opcodes. + (print_insn_thumb): New function. + + * disassemble.c (disasm_symaddr): New function. + + * arm-opc.h: Display nop pseudo ops alongside equivalent disassembly. + (thumb_opcodes): Table of Thumb opcodes. + +Mon Dec 1 12:25:57 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * m68k-opc.c (btst): Change Dd@s to Dd;b. + + * m68k-dis.c (print_insn_arg): Recognize 'm', 'n', 'o', 'p', 'q', + and 'v' as operand types. + +Mon Dec 1 11:56:50 1997 Ian Lance Taylor <ian@cygnus.com> + + * m68k-opc.c: Add argument for lpstop. From Olivier Carmona + <olivier.carmona@di.epfl.ch>. + * m68k-dis.c (print_insn_m68k): Handle special case of lpstop, + which has a two word opcode with a one word argument. + +Sun Nov 23 22:25:21 1997 Michael Meissner <meissner@cygnus.com> + + * d30v-opc.c (d30v_opcode_table, case cmpu): Immediate field is + unsigned, not signed. + (d30v_format_table): Add SHORT_CMPU cases for cmpu. + +Tue Nov 18 23:10:03 1997 J"orn Rennecke <amylaar@cygnus.co.uk> + + * d10v-dis.c (print_operand): + Split OPERAND_FLAG into OPERAND_FFLAG and OPERAND_CFLAG. + +Tue Nov 18 18:45:14 1997 J"orn Rennecke <amylaar@cygnus.co.uk> + + * d10v-opc.c (OPERAND_FLAG): Split into: + (OPERAND_FFLAG, OPERAND_CFLAG) . + (FSRC): Split into: + (FFSRC, CFSRC). + +Thu Nov 13 11:05:33 1997 Gavin Koch <gavin@cygnus.com> + + * mips-opc.c: Move the INSN_MACRO ISA value to the membership + field for all INSN_MACRO's. + * mips16-opc.c: same + +Wed Nov 12 10:16:57 1997 Gavin Koch <gavin@cygnus.com> + + * mips-opc.c (sync,cache): These are 3900 insns. + +Tue Nov 11 23:53:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk> + + sh-opc.h (sh_table): Remove ftst/nan. + +Tue Oct 28 17:59:32 1997 Ken Raeburn <raeburn@cygnus.com> + + * mips-opc.c (ffc, ffs): Fix mask. + +Tue Oct 28 16:34:54 1997 Michael Meissner <meissner@cygnus.com> + + * d30v-opc.c (pre_defined_registers): Add eit_vb, int_s, and int_m + control registers. + +Mon Oct 27 22:34:03 1997 Ken Raeburn <raeburn@cygnus.com> + + * mips-opc.c: Fix bug in mask for "not" pseudo-instruction. + (WR_HILO, RD_HILO, MOD_HILO): New macros. + +Mon Oct 27 22:34:03 1997 Ken Raeburn <raeburn@cygnus.com> + + * mips-opc.c: Fix bug in mask for "not" pseudo-instruction. + (WR_HILO, RD_HILO, MOD_HILO): New macros. + +Thu Oct 23 14:57:58 1997 Nick Clifton <nickc@cygnus.com> + + * v850-dis.c (disassemble): Replace // with /* ... */ + +Wed Oct 22 17:33:21 1997 Richard Henderson <rth@cygnus.com> + + * sparc-opc.c: Add wr & rd for v9a asr's. + * sparc-dis.c (print_insn_sparc): Recognize '_' and '/' for v9a asr's. + (v9a_asr_reg_names): New variable. + Patch from David Miller <davem@vger.rutgers.edu>. + +Wed Oct 22 17:18:02 1997 Richard Henderson <rth@cygnus.com> + + * sparc-opc.c (v9notv9a): New insn type. + (IMPDEP): Move to the end to not conflict with edge8 et al. + Patch from David Miller <davem@vger.rutgers.edu>. + +Fri Oct 17 13:18:53 1997 Gavin Koch <gavin@cygnus.com> + + * mips-opc.c (bnezl,beqzl): Mark these as also tx39. + +Thu Oct 16 11:55:20 1997 Gavin Koch <gavin@cygnus.com> + + * mips-opc.c: Note that 'jalx' is (probably incorrectly) marked I1. + +Tue Oct 14 16:10:31 1997 Nick Clifton <nickc@cygnus.com> + + * v850-dis.c (disassemble): Use new symbol_at_address_func() field + of disassemble_info structure to determine if an overlay address + has a matching symbol in low memory. + + * dis-buf.c (generic_symbol_at_address): New (dummy) function for + new symbol_at_address_func field in disassemble_info structure. + +Fri Oct 10 16:44:52 1997 Nick Clifton <nickc@cygnus.com> + + * v850-opc.c (extract_d22): Use signed arithmatic. + +Tue Oct 7 23:40:43 1997 Gavin Koch <gavin@cygnus.com> + + * mips-opc.c: Three op mult is not an ISA insn. + +Tue Oct 7 23:37:21 1997 Gavin Koch <gavin@cygnus.com> + + * mips-opc.c: Fix formatting. + +Fri Oct 3 17:26:54 1997 Ian Lance Taylor <ian@cygnus.com> + + * i386-dis.c (OP_E): Explicitly sign extend 8 bit values, rather + than assuming that char is signed. Explicitly sign extend 16 bit + values, rather than assuming that short is 16 bits. + (OP_sI, OP_J, OP_DIR): Likewise. + +Thu Oct 2 13:36:45 1997 Nick Clifton <nickc@cygnus.com> + + * v850-dis.c (v850_sreg_names): Use symbolic names for higher + system registers. + +Wed Oct 1 16:58:54 1997 Nick Clifton <nickc@cygnus.com> + + * v850-opc.c: Fix typo in comment. + + * v850-dis.c (disassemble): Add test of processor type when + determining opcodes. + +Wed Oct 1 14:10:20 1997 Ian Lance Taylor <ian@cygnus.com> + + * configure.in: Use a diversion to set enable_shared before the + arguments are parsed. + * configure: Rebuild. + +Thu Sep 25 13:04:59 1997 Ian Lance Taylor <ian@cygnus.com> + + * m68k-opc.c (TBL1): Use ! rather than `. + * m68k-dis.c (print_insn_arg): Remove ` operand specifier. + +Wed Sep 24 11:29:35 1997 Ian Lance Taylor <ian@cygnus.com> + + * m68k-opc.c: Correct bchg, bclr, bset, and btst on ColdFire. + + * m68k-opc.c: Accept tst{b,w,l} with immediate operands on cpu32. + + * m68k-opc.c: Correct movew of an immediate operand to %sr or %ccr + for mcf5200. + + * configure.in: Call AC_CHECK_TOOL before AM_PROG_LIBTOOL. + * aclocal.m4: Rebuild with new libtool. + * configure: Rebuild. + +Fri Sep 19 11:45:49 1997 Andrew Cagney <cagney@b1.cygnus.com> + + * v850-opc.c ("cmov"): Order reg param r1, r2 not r2, r2. + +Thu Sep 18 11:21:43 1997 Doug Evans <dje@canuck.cygnus.com> + + * sparc-opc.c (sparclet_cpreg_table): Add %ccsr2, %cccrr, %ccrstr. + +Tue Sep 16 15:18:20 1997 Nick Clifton <nickc@cygnus.com> + + * v850-opc.c (v850_opcodes): Further rearrangements. + +Tue Sep 16 16:12:11 1997 Ken Raeburn <raeburn@cygnus.com> + + * d30v-opc.c (rot2h, sra2h, srl2h insns): Revert last change. + +Tue Sep 16 09:48:50 1997 Nick Clifton <nickc@cygnus.com> + + * v850-opc.c (v850_opcodes): Fields reordered to allow assembler + parser to work. + +Tue Sep 16 10:01:00 1997 Gavin Koch <gavin@cygnus.com> + + * mips-opc.c: Added tx39 insns sdbbp, rfe, and deret. + +Mon Sep 15 18:31:52 1997 Nick Clifton <nickc@cygnus.com> + + * v850-opc.c: Initialise processors field of v850_opcode structure. + +Wed Aug 27 21:42:39 1997 Ken Raeburn <raeburn@cygnus.com> + + Merge changes from Martin Hunt: + + * d30v-opc.c: Change mvfacc to accept 6-bit unsigned values. + + * d30v-opc.c (pre_defined_registers): Add control registers from 0-63. + (d30v_opcode_tabel): Add dbt, rtd, srah, and srlh instructions. Fix + rot2h, sra2h, and srl2h to use new SHORT_A5S format. + + * d30v-dis.c (print_insn): Fix disassembly of SHORT_D2 opcodes. + + * d30v-dis.c (print_insn): First operand of d*i (delayed + branch) instructions is relative. + + * d30v-opc.c (d30v_opcode_table): Change form for repeati. + (d30v_operand_table): Add IMM6S3 type. + (d30v_format_table): Change SHORT_D2. Add LONG_Db. + + * d30v-dis.c: Fix bug with ".s" and ".l" extensions + and cmp instructions. + + * d30v-opc.c: Correct entries for repeat*, and sat*. + Make IMM5 unsigned. Create IMM6U and IMM12S3U operand + types. Correct several formats. + + * d30v-opc.c: (pre_defined_registers): Add dpsw and dpc. + + * d30v-opc.c (pre_defined_registers): Change control registers. + + * d30v-opc.c (d30v_format_table): Correct SHORT_C1 and + SHORT_C2. Manual was incorrect. + + * d30v-dis.c (lookup_opcode): Return value now indicates + if an opcode has a short and a long form. Used for deciding + to append a ".s" or ".l". + (print_insn): Append a ".s" to an instruction if it is + the short form and ".l" if it is a long form. Do not append + anything if the instruction has only one possible size. + + * d30v-opc.c: Change mulx2h to require an even register. + New form: SHORT_A2; a SHORT_A form that needs an even + register as the first operand. + + * d30v-dis.c (print_insn_d30v): Fix problem where the last + instruction was not being disassembled if there were an odd + number of instructions. + + * d30v-opc.c (SHORT_M2, LONG_M2): Two new forms. + +Fri Sep 12 11:43:54 1997 Nick Clifton <nickc@cygnus.com> + + * v850-dis.c (disassemble): Improved display of register lists. + +Thu Sep 11 17:35:10 1997 Doug Evans <dje@canuck.cygnus.com> + + * sparc-opc.c (sparc_opcodes): Fix assembler args to + fzeros, fones, fsrc1, fsrc1s, fsrc2s, fnot1, fnot1s, fnot2s, + fors, fnors, fands, fnands, fxors, fxnors, fornot1s, fornot2s, + fandnot1s, fandnot2s. + +Tue Sep 9 10:03:49 1997 Doug Evans <dje@canuck.cygnus.com> + + * sparc-opc.c (sparc_opcodes): Fix op3 field for fcmpq/fcmpeq. + +Mon Sep 8 14:06:59 1997 Doug Evans <dje@canuck.cygnus.com> + + * cgen-asm.c (cgen_parse_address): New argument resultp. + All callers updated. + * m32r-asm.c (parse_h_hi16): Right shift numbers by 16. + +Tue Sep 2 18:39:08 1997 Jeffrey A Law (law@cygnus.com) + + * mn10200-dis.c (disassemble): PC relative instructions are + relative to the next instruction, not the current instruction. + +Tue Sep 2 15:41:55 1997 Nick Clifton <nickc@cygnus.com> + + * v850-dis.c (disassemble): Only signed extend values that are not + returned by extract functions. + Remove use of V850_OPERAND_ADJUST_SHORT_MEMORY flag. + +Tue Sep 2 15:39:40 1997 Nick Clifton <nickc@cygnus.com> + + * v850-opc.c: Update comments. Remove use of + V850_OPERAND_ADJUST_SHORT_MEMORY. Fix several operand patterns. + +Tue Aug 26 09:42:28 1997 Nick Clifton <nickc@cygnus.com> + + * v850-opc.c (MOVHI): Immediate parameter is unsigned. + +Mon Aug 25 15:58:07 1997 Christopher Provenzano <proven@cygnus.com> + + * configure: Rebuilt with latest devo autoconf for NT support. + +Fri Aug 22 10:35:15 1997 Nick Clifton <nickc@cygnus.com> + + * v850-dis.c (disassemble): Use curly brace syntax for register + lists. + + * v850-opc.c (v850_opcodes[]): Add NOT_R0 flag to decect cases + where r0 is being used as a destination register. + +Thu Aug 21 11:09:09 1997 Nick Clifton <nickc@cygnus.com> + + * v850-opc.c (v850_opcodes[]): Move divh opcodes next to each other. + +Tue Aug 19 10:59:59 1997 Richard Henderson <rth@cygnus.com> + + * alpha-opc.c (alpha_opcodes): Fix hw_rei_stall mungage. + +Mon Aug 18 11:10:03 1997 Nick Clifton <nickc@cygnus.com> + + * v850-opc.c (v850_opcodes[]): Remove use of flag field. + * v850-opc.c (v850_opcodes[]): Add support for reversed short load + opcodes.. + +Mon Aug 18 11:08:25 1997 Nick Clifton <nickc@cygnus.com> + + * configure (cgen_files): Add support for v850e target. + * configure.in (cgen_files): Add support for v850e target. + +Mon Aug 18 11:08:25 1997 Nick Clifton <nickc@cygnus.com> + + * configure (cgen_files): Add support for v850ea target. + * configure.in (cgen_files): Add support for v850ea target. + +Fri Aug 15 05:17:48 1997 Doug Evans <dje@canuck.cygnus.com> + + * configure.in (bfd_arc_arch): Add. + * configure: Rebuild. + * Makefile.am (ALL_MACHINES): Add arc-dis.lo, arc-opc.lo. + * Makefile.in: Rebuild. + * arc-dis.c, arc-opc.c: New files. + * disassemble.c (ARCH_all): Define ARCH_arc. + (disassembler): Add ARC support. + +Wed Aug 13 18:52:11 1997 Nick Clifton <nickc@cygnus.com> + + * v850-dis.c (disassemble): Add support for v850EA instructions. + + * v850-opc.c (insert_i5div, extract_i5div): New Functions. + (v850_opcodes): Add v850EA instructions. + + * v850-dis.c (disassemble): Add support for v850E instructions. + + * v850-opc.c (insert_d5_4, extract_d5_4, insert_d16_16, + extract_d16_16, insert_i9, extract_i9, insert_u9, extract_u9, + insert_spe, extract_spe): New Functions. + (v850_opcodes): Add v850E instructions. + + * v850-opc.c: Reorganised and re-layed out to improve readability + and portability. + +Tue Aug 5 23:09:31 1997 Ian Lance Taylor <ian@cygnus.com> + + * configure: Rebuild with autoconf 2.12.1. + +Mon Aug 4 12:02:16 1997 Ian Lance Taylor <ian@cygnus.com> + + * aclocal.m4, configure: Rebuild with new automake patches. + +Fri Aug 1 13:02:04 1997 Ian Lance Taylor <ian@cygnus.com> + + * configure.in: Set enable_shared before AM_PROG_LIBTOOL. + * acinclude.m4: Just include acinclude.m4 from BFD. + * aclocal.m4, configure: Rebuild. + +Thu Jul 31 21:44:42 1997 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.am: New file, based on old Makefile.in. + * acconfig.h: New file. + * acinclude.m4: New file. + * stamp-h.in: New file. + * configure.in: Call AM_INIT_AUTOMAKE and AM_PROG_LIBTOOL. + Removed shared library handling; now handled by libtool. Replace + AC_CONFIG_HEADER with AM_CONFIG_HEADER. Call AM_MAINTAINER_MODE, + AM_CYGWIN32, and AM_EXEEXT. Replace AC_PROG_INSTALL with + AM_PROG_INSTALL. Change all .o files to .lo. Remove stamp-h + handling in AC_OUTPUT. + * dep-in.sed: Change .o to .lo. + * Makefile.in: Now built with automake. + * aclocal.m4: Now built with aclocal. + * config.in, configure: Rebuild. + +Mon Jul 28 21:52:24 1997 Jeffrey A Law (law@cygnus.com) + + * mips-opc.c: Fix typo/thinko in "eret" instruction. + +Thu Jul 24 13:03:26 1997 Doug Evans <dje@canuck.cygnus.com> + + * sparc-opc.c (sparc_opcodes): Fix spelling on fpaddX, fpsubX insns. + Make array const. + * sparc-dis.c (sorted_opcodes): New static local. + (struct opcode_hash): `opcode' is pointer to const element. + (build_hash): First arg is now table of sorted pointers. + (print_insn_sparc): Sort opcodes by sorting table of pointers. + (compare_opcodes): Update. + +Tue Jul 15 12:05:23 1997 Doug Evans <dje@canuck.cygnus.com> + + * cgen-opc.c: #include <ctype.h>. + (hash_keyword_name): New arg `case_sensitive_p'. Callers updated. + Handle case insensitive hashing. + (hash_keyword_value): Change type of `value' to unsigned int. + +Thu Jul 10 12:56:10 1997 Jeffrey A Law (law@cygnus.com) + + * mips-opc.c (mips_builtin_opcodes): If an insn uses single + precision FP, mark it as such. Likewise for double precision + FP. Mark ISA1 insns. Consolidate duplicate opcodes where + possible. + +Wed Jun 25 15:25:57 1997 Felix Lee <flee@cirdan.cygnus.com> + + * ppc-opc.c (extract_nsi): make unsigned expression signed before + negating it. + (UNUSED): remove one level of parens, so MSVC doesn't choke on + nesting depth when all the macros are expanded. + +Tue Jun 17 17:02:17 1997 Ian Lance Taylor <ian@cygnus.com> + + * sparc-opc.c: The fcmp v9a instructions take an integer register + as a destination, not a floating point register. From Christian + Kuehnke <Christian.Kuehnke@arbi.Informatik.Uni-Oldenburg.DE>. + +Mon Jun 16 14:13:18 1997 Ian Lance Taylor <ian@cygnus.com> + + * m68k-dis.c (print_insn_arg): Print case 7.2 using %pc@() + syntax. From Roman Hodek + <rnhodek@faui22c.informatik.uni-erlangen.de>. + + * i386-dis.c (twobyte_has_modrm): Fix pand. + +Mon Jun 16 14:08:38 1997 Michael Taylor <mbt@mit.edu> + + * i386-dis.c (dis386_twobyte): Fix pand and pandn. + +Tue Jun 10 11:26:47 1997 H.J. Lu <hjl@gnu.ai.mit.edu> + + * arm-dis.c: Add prototypes for arm_decode_shift and + print_insn_arm. + +Mon Jun 2 11:39:04 1997 Gavin Koch <gavin@cygnus.com> + + * mips-opc.c: Add r3900 insns. + +Tue May 27 15:55:44 1997 Ian Lance Taylor <ian@cygnus.com> + + * sh-dis.c (print_insn_shx): Change relmask to bfd_vma. Don't + print delay slot instructions on the same line. When using a PC + relative load, add a comment with the value being loaded if it can + be obtained. + +Tue May 27 11:02:08 1997 Alan Modra <alan@spri.levels.unisa.edu.au> + + * i386-dis.c (dis386[], dis386_twobyte[]): change pushl/popl + to pushS/popS for segment regs and byte constant so that + pushw/popw printed when in 16 bit data mode. + + * i386-dis.c (dis386[]): change cwtl, cltd to cWtS, cStd to + print cbtw, cwtd in 16 bit data mode. + * i386-dis.c (putop): extra case W to support above. + + * i386-dis.c (print_insn_x86): print addr32 prefix when given + address size prefix in 16 bit address mode. + +Fri May 23 16:47:23 1997 Ian Lance Taylor <ian@cygnus.com> + + * sh-dis.c: Reindent. Rename local variable fprintf to + fprintf_fn. + +Thu May 22 14:06:02 1997 Doug Evans <dje@canuck.cygnus.com> + + * m32r-opc.c (m32r_cgen_insn_table, cmpui): Undo patch of May 2. + +Tue May 20 11:26:27 1997 Gavin Koch <gavin@cygnus.com> + + * mips-opc.c (mips_builtin_opcodes): Moved INSN_ISA field into new + field membership. + * mips16-opc.c (mip16_opcodes): same. + +Mon May 12 15:10:53 1997 Jim Wilson <wilson@cygnus.com> + + * m68k-opc.c (moveb): Change $d to %d. + +Mon May 5 14:28:41 1997 Ian Lance Taylor <ian@cygnus.com> + + * i386-dis.c: (dis386_twobyte): Add MMX instructions. + (twobyte_has_modrm): Likewise. + (grps): Likewise. + (OP_MMX, OP_EM, OP_MS): New static functions. + + * i386-dis.c: Revert patch of April 4. The output now matches + what gcc generates. + +Fri May 2 12:48:37 1997 Doug Evans <dje@canuck.cygnus.com> + + * m32r-opc.c (m32r_cgen_insn_table, cmpui): Use $uimm16 instead + of $simm16. + +Thu May 1 15:34:15 1997 Doug Evans <dje@canuck.cygnus.com> + + * m32r-opc.h (CGEN_ARCH): Renamed from CGEN_CPU. + +Tue Apr 15 12:40:08 1997 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.in (install): Depend upon installdirs. + (installdirs): New target. + +Mon Apr 14 12:13:51 1997 Ian Lance Taylor <ian@cygnus.com> + + From Thomas Graichen <graichen@rzpd.de>: + * configure.in: Use ${CONFIG_SHELL} when running $ac_config_sub. + * configure: Rebuild. + +Sun Apr 13 17:50:41 1997 Doug Evans <dje@canuck.cygnus.com> + + * cgen-*.c, m32r-*.c: #include sysdep.h instead of config.h. + Delete string{,s}.h support. + +Thu Apr 10 14:44:56 1997 Doug Evans <dje@canuck.cygnus.com> + + * cgen-asm.c (cgen_parse_operand_fn): New global. + (cgen_parse_{{,un}signed_integer,address}): Update call to + cgen_parse_operand_fn. + (cgen_init_parse_operand): New function. + * m32r-asm.c (parse_insn_normal): cgen_init_parse_operand renamed + from cgen_asm_init_parse. + (m32r_cgen_assemble_insn): New operand `errmsg'. + Delete call to as_bad, return error message to caller. + (m32r_cgen_asm_hash_keywords): #if 0 out. + +Wed Apr 9 12:05:25 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * m68k-dis.c (print_insn_arg) [case 'd']: Print as address register, + not data register. + [case 'J']: Fix typo in register name. + +Mon Apr 7 16:48:22 1997 Ian Lance Taylor <ian@cygnus.com> + + * configure.in: Substitute SHLIB_LIBS. + * configure: Rebuild. + * Makefile.in (SHLIB_LIBS): New variable. + ($(SHLIB)): Use $(SHLIB_LIBS). + +Mon Apr 7 11:45:44 1997 Doug Evans <dje@canuck.cygnus.com> + + * cgen-dis.c (build_dis_hash_table): Fix xmalloc size computation. + + * cgen-opc.c (hash_keyword_name): Improve algorithm. + + * disassemble.c (disassembler): Handle m32r. + +Fri Apr 4 12:29:38 1997 Doug Evans <dje@canuck.cygnus.com> + + * m32r-asm.c, m32r-dis.c, m32r-opc.c, m32r-opc.h: New files. + * cgen-asm.c, cgen-dis.c, cgen-opc.c: New files. + * Makefile.in (CFILES): Add them. + (ALL_MACHINES): Add them. + (dependencies): Regenerate. + * configure.in (cgen_files): New variable. + (bfd_m32r_arch): Add entry. + * configure: Regenerate. + +Fri Apr 4 14:04:16 1997 Ian Lance Taylor <ian@cygnus.com> + + * configure.in: Correct file names for bfd_mn10[23]00_arch. + * configure: Rebuild. + + * Makefile.in: Rebuild dependencies. + + * d10v-dis.c: Include "ansidecl.h" before "opcode/d10v.h". + + * i386-dis.c (float_reg): Swap fsubrp and fsubp. Swap fdivrp and + fdivp. + +Thu Apr 3 13:22:45 1997 Ian Lance Taylor <ian@cygnus.com> + + * Branched binutils 2.8. + +Wed Apr 2 12:23:53 1997 Ian Lance Taylor <ian@cygnus.com> + + * m10200-dis.c: Rename from mn10200-dis.c. + * m10200-opc.c: Rename from mn10200-opc.c. + * m10300-dis.c: Rename from mn10300-dis.c + * m10300-opc.c: Rename from mn10300-opc.c. + * Makefile.in: Update accordingly. + + * mips16-opc.c: Add mul and dmul macros. + +Tue Apr 1 16:27:45 1997 Klaus Kaempf <kkaempf@progis.de> + + * makefile.vms: Update CFLAGS, add clean target. + +Fri Mar 28 12:10:09 1997 Ian Lance Taylor <ian@cygnus.com> + + * mips-opc.c: Add "wait". From Ralf Baechle + <ralf@gnu.ai.mit.edu>. + + * configure.in: Add stdlib.h to AC_CHECK_HEADERS list. + * configure, config.in: Rebuild. + * sysdep.h: Include <stdlib.h> if it exists. + * sparc-dis.c: Include <stdio.h> and "sysdep.h". Don't include + <string.h>. + * Makefile.in: Rebuild dependencies. + +Thu Mar 27 14:24:43 1997 Ian Lance Taylor <ian@cygnus.com> + + * ppc-opc.c: Add PPC 403 instructions and extended opcodes. From + Andrew Bray <andy@madhouse.demon.co.uk>. + + * mips-opc.c: Add cast when setting mips_opcodes. + +Tue Mar 25 23:04:00 1997 Stu Grossman (grossman@critters.cygnus.com) + + * v850-dis.c (disassemble): Fix sign extension problem. + * v850-opc.c (extract_d*): Fix sign extension problems to make + disassembly calculate branch offsets correctly. + +Mon Mar 24 13:22:13 1997 Ian Lance Taylor <ian@cygnus.com> + + * sh-opc.h: Add bf/s and bt/s as synonyms for bf.s and bt.s. + + * mips-opc.c: Add dctr and dctw. + +Sun Mar 23 18:08:10 1997 Martin M. Hunt <hunt@pizza.cygnus.com> + + * d30v-dis.c (print_insn): Change the way signed constants + are displayed. + +Fri Mar 21 14:37:52 1997 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.in (BFD_H): New variable. + (HFILES): New variable. + (CFILES): Add all C files. + (.dep, .dep1, dep.sed, dep, dep-in): New targets. + Delete old dependencies, and build new ones. + * dep-in.sed: New file. + +Thu Mar 20 19:03:30 1997 Philippe De Muyter <phdm@info.ucl.ac.be> + + * m68k-opc.c (m68k_opcode_aliases): Added blo and blo{s,b,w,l}. + +Tue Mar 18 14:17:03 1997 Jeffrey A Law (law@cygnus.com) + + * mn10200-opc.c: Change "trap" to "syscall". + * mn10300-opc.c: Add new "syscall" instruction. + +Mon Mar 17 08:48:03 1997 J.T. Conklin <jtc@beauty.cygnus.com> + + * m68k-opc.c (m68k_opcodes): Provide correct entries for mulsl and + mulul insns on the coldfire. + +Sat Mar 15 17:13:05 1997 Ian Lance Taylor <ian@cygnus.com> + + * arm-dis.c (print_insn_arm): Don't print instruction bytes. + (print_insn_big_arm): Set bytes_per_chunk and display_endian. + (print_insn_little_arm): Likewise. + +Fri Mar 14 15:08:59 1997 Ian Lance Taylor <ian@cygnus.com> + + Based on patches from H.J. Lu <hjl@lucon.org>: + * i386-dis.c (fetch_data): Add prototype. + * m68k-dis.c (fetch_data): Add prototype. + (dummy_print_address): Add prototype. Make static. + * ppc-opc.c (valid_bo): Add prototype. + * sparc-dis.c (build_hash_table): Add prototype. + (is_delayed_branch, compute_arch_mask): Add prototypes. + (print_insn_sparc): Make several local variables const. + (compare_opcodes): Change arguments to const PTR. Add prototype. + * sparc-opc.c (arg): Change name field to be const. + (lookup_name, lookup_value): Add prototypes. Change table and + name parameters to be const. + (sparc_encode_asi): Change name parameter to be const. + (sparc_encode_membar, sparc_encode_prefetch): Likewise. + (sparc_encode_sparclet_cpreg): Likewise. + (sparc_decode_asi): Change return type to be const. + (sparc_decode_membar, sparc_decode_prefetch): Likewise. + (sparc_decode_sparclet_cpreg): Likewise. + +Fri Mar 7 10:51:49 1997 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.in ($(SHLINK)): Just use ln -s, not ln -sf, since + Solaris doesn't like the combined options, and the -f is + unnecessary. + (stamp-tshlink, install): Likewise. + +Thu Mar 6 16:51:11 1997 Jeffrey A Law (law@cygnus.com) + + * mn10300-opc.c (IMM16_PCREL, SD8N_PCREL, D16_SHIFT): Mark these + as relaxable. + +Tue Mar 4 06:10:36 1997 J.T. Conklin <jtc@cygnus.com> + + * m68k-opc.c (m68k_opcodes): Fix last change for the mc68010. + +Mon Mar 3 07:45:20 1997 J.T. Conklin <jtc@cygnus.com> + + * m68k-opc.c (m68k_opcodes): Added entries for the tst insns on + the mc68000. + +Thu Feb 27 14:04:32 1997 Philippe De Muyter <phdm@info.ucl.ac.be> + + * m68k-opc.c (m68k_opcodes): Added swbegl pseudo-instruction. + +Thu Feb 27 11:36:41 1997 Michael Meissner <meissner@cygnus.com> + + * tic80-dis.c (print_insn_tic80): Set info->bytes_per_line to 8. + +Wed Feb 26 15:34:48 1997 Michael Meissner <meissner@cygnus.com> + + * tic80-opc.c (tic80_predefined_symbols): Define r25 properly. + +Wed Feb 26 13:38:30 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * m68k-dis.c (NEXTSINGLE, NEXTDOUBLE, NEXTEXTEND): Use + floatformat_to_double to make portable. + (print_insn_arg): Use NEXTEXTEND macro when extracting extended + precision float. + +Mon Feb 24 19:26:12 1997 Dawn Perchik <dawn@cygnus.com> + + * mips-opc.c: Initialize mips_opcodes to mips_builtin_opcodes, + and bfd_mips_num_opcodes to bfd_mips_num_builtin_opcodes. + +Mon Feb 24 15:19:01 1997 Martin M. Hunt <hunt@pizza.cygnus.com> + + * d10v-dis.c, d10v-opc.c: Change pre_defined_registers to + d10v_predefined_registers and reg_name_cnt to d10v_reg_name_cnt. + +Mon Feb 24 14:33:26 1997 Fred Fish <fnf@cygnus.com> + + * tic80-opc.c (LSI_SCALED): Renamed from this ... + (OFF_SL_BR_SCALED): ... to this, and added the flag + TIC80_OPERAND_BASEREL to the flags word. + (tic80_opcodes): Replace all occurances of LSI_SCALED with + OFF_SL_BR_SCALED. + +Sat Feb 22 21:25:00 1997 Dawn Perchik <dawn@cygnus.com> + + * mips-opc.c: Add macros for cop0, cop1 cop2 and cop3. + Change mips_opcodes from const array to a pointer, + and change bfd_mips_num_opcodes from const int to int, + so that we can increase the size of the mips opcodes table + dynamically. + +Sat Feb 22 21:03:47 1997 Fred Fish <fnf@cygnus.com> + + * tic80-opc.c (tic80_predefined_symbols): Revert change to + store BITNUM values in the table in one's complement form + to match behavior when assembler is given a raw numeric + value for a BITNUM operand. + * tic80-dis.c (print_operand_bitnum): Ditto. + +Fri Feb 21 16:31:18 1997 Martin M. Hunt <hunt@pizza.cygnus.com> + + * d30v-opc.c: Removed references to FLAG_X. + +Wed Feb 19 14:51:20 1997 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.in: Add dependencies on ../bfd/bfd.h as required. + +Tue Feb 18 17:43:43 1997 Martin M. Hunt <hunt@pizza.cygnus.com> + + * Makefile.in: Added d30v object files. + * configure: (bfd_d30v_arch) Rebuilt. + * configure.in: (bfd_d30v_arch) Added new case. + * d30v-dis.c: New file. + * d30v-opc.c: New file. + * disassemble.c (disassembler) Add entry for d30v. + +Tue Feb 18 16:32:08 1997 Fred Fish <fnf@cygnus.com> + + * tic80-opc.c (tic80_predefined_symbols): Add symbolic + representations for the floating point BITNUM values. + +Fri Feb 14 12:14:05 1997 Fred Fish <fnf@cygnus.com> + + * tic80-opc.c (tic80_predefined_symbols): Store BITNUM values + in the table in one's complement form, as they appear in the + actual instruction. + (tic80_symbol_to_value): Use macros to access predefined + symbol fields. + (tic80_value_to_symbol): Ditto. + (tic80_next_predefined_symbol): New function. + * tic80-dis.c (print_operand_bitnum): Remove code that did + one's complement for BITNUM values. + +Thu Feb 13 21:56:51 1997 Klaus Kaempf <kkaempf@progis.de> + + * makefile.vms: Remove 8 bit characters. Update to latest + gcc release. + +Thu Feb 13 20:41:22 1997 Philippe De Muyter <phdm@info.ucl.ac.be> + + * m68k-opc.c (m68k_opcodes): Add swbeg pseudo-instruction. + +Thu Feb 13 16:30:02 1997 Jeffrey A Law (law@cygnus.com) + + * mn10200-opc.c (IMM16_PCREL): This is a signed operand. + (IMM24_PCREL): Likewise. + +Thu Feb 13 13:28:43 1997 Ian Lance Taylor <ian@cygnus.com> + + * mips-dis.c (print_mips16_insn_arg): Use memaddr - 2 as the base + address for an extended PC relative instruction that is not a + branch. + +Wed Feb 12 12:27:40 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * m68k-dis.c (print_insn_m68k): Set bytes_per_chunk and + bytes_per_line. + +Tue Feb 11 16:36:31 1997 Fred Fish <fnf@cygnus.com> + + * tic80-opc.c (tic80_operands): Fix typo '+' -> '|'. + (tic80_opcodes): Sort entries so that long immediate forms + come after short immediate forms, making it easier for + assembler to select the right one for a given operand. + +Tue Feb 11 15:26:47 1997 Ian Lance Taylor <ian@cygnus.com> + + * mips-dis.c (_print_insn_mips): Set bytes_per_chunk and + display_endian. + (print_insn_mips16): Likewise. + +Mon Feb 10 10:12:41 1997 Fred Fish <fnf@cygnus.com> + + * tic80-opc.c (tic80_symbol_to_value): Changed to accept + a symbol class that restricts translation to just that + class (general register, condition code, etc). + +Thu Feb 6 17:34:09 1997 Fred Fish <fnf@cygnus.com> + + * tic80-opc.c (tic80_operands): Add REG_0_E, REG_22_E, + and REG_DEST_E for register operands that have to be + an even numbered register. Add REG_FPA for operands that + are one of the floating point accumulator registers. + Add TIC80_OPERAND_MASK to flags for ENDMASK operand. + (tic80_opcodes): Change entries that need even numbered + register operands to use the new operand table entries. + Add "or" entries that are identical to "or.tt" entries. + +Wed Feb 5 11:12:44 1997 Ian Lance Taylor <ian@cygnus.com> + + * mips16-opc.c: Add new cases of exit instruction for + disassembler. + * mips-dis.c (print_mips16_insn_arg): Display floating point + registers in operands of exit instruction. Print `$' before + register names in operands of entry and exit instructions. + +Thu Jan 30 14:09:03 1997 Fred Fish <fnf@cygnus.com> + + * tic80-opc.c (tic80_predefined_symbols): Table of name/value + pairs for all predefined symbols recognized by the assembler. + Also used by the disassembling routines. + (tic80_symbol_to_value): New function. + (tic80_value_to_symbol): New function. + * tic80-dis.c (print_operand_control_register, + print_operand_condition_code, print_operand_bitnum): + Remove private tables and use tic80_value_to_symbol function. + +Thu Jan 30 11:30:45 1997 Martin M. Hunt <hunt@pizza.cygnus.com> + + * d10v-dis.c (print_operand): Change address printing + to correctly handle PC wrapping. Fixes PR11490. + +Wed Jan 29 09:39:17 1997 Jeffrey A Law (law@cygnus.com) + + * mn10200-opc.c (mn10200_operands): Make 8 and 16 bit pc-relative + branches relaxable. + +Tue Jan 28 15:57:34 1997 Ian Lance Taylor <ian@cygnus.com> + + * mips-dis.c (print_insn_mips16): Set insn_info information. + (print_mips16_insn_arg): Likewise. + + * mips-dis.c (print_insn_mips16): Better handling of an extend + opcode followed by an instruction which can not be extended. + +Fri Jan 24 12:08:21 1997 J.T. Conklin <jtc@cygnus.com> + + * m68k-opc.c (m68k_opcodes): Changed operand specifier for the + coldfire moveb instruction to not allow an address register as + destination. Although the documentation does not indicate that + this is invalid, experiments uncovered unexpected behavior. + Added a comment explaining the situation. Thanks to Andreas + Schwab for pointing this out to me. + +Wed Jan 22 20:13:51 1997 Fred Fish <fnf@cygnus.com> + + * tic80-opc.c (tic80_opcodes): Expand comment to note that the + entries are presorted so that entries with the same mnemonic are + adjacent to each other in the table. Sort the entries for each + instruction so that this is true. + +Mon Jan 20 12:48:57 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * m68k-dis.c: Include <libiberty.h>. + (print_insn_m68k): Sort the opcode table on the most significant + nibble of the opcode. + +Sat Jan 18 15:15:05 1997 Fred Fish <fnf@cygnus.com> + + * tic80-dis.c (tic80_opcodes): Add "wrcr", "vmpy", "vrnd", + "vsub", "vst", "xnor", and "xor" instructions. + (V_a1): Renamed from V_a, msb of accumulator reg number. + (V_a0): Add macro, lsb of accumulator reg number. + +Fri Jan 17 18:24:31 1997 Fred Fish <fnf@cygnus.com> + + * tic80-dis.c (print_insn_tic80): Broke excessively long + function up into several smaller ones and arranged for + the instruction printing function to be callable recursively + to print vector instructions that have both a load and a + math instruction packed into a single opcode. + * tic80-opc.c (tic80_opcodes): Expand comment for vld opcode + to explain why it comes after the other vector opcodes. + +Fri Jan 17 16:19:15 1997 J.T. Conklin <jtc@beauty.cygnus.com> + + * m68k-opc.c (m68k_opcodes): add b, w, or l specifier to coldfire + move insns to handle immediate operands. + +Thu Jan 17 16:19:00 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * m68k-opc.c (m68k_opcodes): Delete duplicate entry for "cmpil". + fix operand mask in the "moveml" entries for the coldfire. + +Thu Jan 16 20:54:40 1997 Fred Fish <fnf@cygnus.com> + + * tic80-opc.c (V_a, V_m, V_S, V_Z, V_p, OP_V, MASK_V): + New macros for building vector instruction opcodes. + (tic80_opcodes): Remove all uses of FMT_SI, FMT_REG, and + FMT_LI, which were unused. The field is now a flags field. + Remove some opcodes that are possible, but illegal, such + as long immediate instructions with doubles for immediate + values. Add "vadd" and "vld" instructions. + +Wed Jan 15 18:59:51 1997 Fred Fish <fnf@cygnus.com> + + * tic80-opc.c (tic80_operands): Reorder some table entries to make + the order more logical. Move the shift alias instructions ("rotl", + "shl", "ins", "rotr", "extu", "exts", "srl", and "sra" to be + interspersed with the regular sr.x and sl.x instructions. Add + and test new instruction opcodes for "sl", "sli", "sr", "sri", "st", + "sub", "subu", "swcr", and "trap". + +Tue Jan 14 19:42:50 1997 Fred Fish <fnf@cygnus.com> + + * tic80-opc.c (OFF_SS_PC): Renamed from OFF_SS. + (OFF_SL_PC): Renamed from OFF_SL. + (OFF_SS_BR): New operand type for base relative operand. + (OFF_SL_BR): New operand type for base relative operand. + (REG_BASE): New operand type for base register operand. + (tic80_opcodes): Add and test "fmpy", "frndm", "frndn", "frndp", + "frndz", "fsqrt", "fsub", "illop0", "illopF", "ins", "jsr", + "ld", "ld.u", "lmo", "or", "rdcr", "rmo", "rotl", and "rotr" + instructions. + * tic80-dis.c (print_insn_tic80): Print opcode name with fixed width + 10 char field, padded with spaces on rhs, rather than a string + followed by a tab. Use renamed TIC80_OPERAND_PCREL flag bit rather + than old TIC80_OPERAND_RELATIVE. Add support for new + TIC80_OPERAND_BASEREL flag bit. + +Mon Jan 13 15:58:56 1997 Fred Fish <fnf@cygnus.com> + + * tic80-dis.c (print_insn_tic80): Print floating point operands + as floats. + * tic80-opc.c (SPFI): Add single precision floating point + immediate operand type. + (ROTATE): Add rotate operand type for shifts. + (ENDMASK): Add for shifts. + (n): Macro for the 'n' bit. + (i): Macro for the 'i' bit. + (PD): Macro for the 'PD' field. + (P2): Macro for the 'P2' field. + (P1): Macro for the 'P1' field. + (tic80_opcodes): Add entries for "exts", "extu", "fadd", + "fcmp", and "fdiv". + +Mon Jan 6 15:06:55 1997 Jeffrey A Law (law@cygnus.com) + + * mn10200-dis.c (disassemble): Mask off unwanted bits after + adding in current address for pc-relative operands. + +Mon Jan 6 10:56:25 1997 Fred Fish <fnf@cygnus.com> + + * tic80-dis.c (R_SCALED): Add macro to test for ":s" modifier bit. + (print_insn_tic80): If R_SCALED then print ":s" modifier for operand. + * tic80-opc.c (REG0, REG22, REG27, SSOFF, LSOFF): Names + changed to REG_0, REG_22, REG_DEST, OFF_SS, OFF_SL respectively. + (SICR, LICR, REGM_SI, REGM_LI): Names changed to CR_SI, CR_LI, + REG_BASE_M_SI, REG_BASE_M_LI respectively. + (REG_SCALED, LSI_SCALED): New operand types. + (E): New macro for 'E' bit at bit 27. + (tic80_opcodes): Add and test dld, dld.u, dst, estop, and etrap + opcodes, including the various size flavors (b,h,w,d) for + the direct load and store instructions. + +Sun Jan 5 12:18:14 1997 Fred Fish <fnf@cygnus.com> + + * tic80-dis.c (M_SI, M_LI): Add macros to test for ":m" modifier bit + in an instruction. + * tic80-dis.c (print_insn_tic80): Change comma and paren handling. + Use M_SI and M_LI macros to check for ":m" modifier for GPR operands. + * tic80-opc.c (tic80_operands): Add REGM_SI and REGM_LI operands. + (F, M_REG, M_LI, M_SI, SZ_REG, SZ_LI, SZ_SI, D, S): New bit-twiddlers. + (MASK_LI_M, MASK_SI_M, MASK_REG_M): Remove and replace in opcode + masks with "MASK_* & ~M_*" to get the M bit reset. + (tic80_opcodes): Add bsr, bsr.a, cmnd, cmp, dcachec, and dcachef. + +Sat Jan 4 19:05:05 1997 Fred Fish <fnf@cygnus.com> + + * tic80-dis.c (print_insn_tic80): Print TIC80_OPERAND_RELATIVE + correctly. Add support for printing TIC80_OPERAND_BITNUM and + TIC80_OPERAND_CC, and TIC80_OPERAND_CR operands in symbolic + form. + * tic80-opc.c (tic80_operands): Add SSOFF, LSOFF, BITNUM, + CC, SICR, and LICR table entries. + (tic80_opcodes): Add and test "nop", "br", "bbo", "bbz", + "bcnd", and "brcr" opcodes. + +Fri Jan 3 18:32:11 1997 Fred Fish <fnf@cygnus.com> + + * ppc-opc.c (powerpc_operands): Make comment match the + actual fields (no shift field). + * sparc-opc.c (sparc_opcodes): Document why this cannot be "const". + * tic80-dis.c (print_insn_tic80): Replace abort stub with a + partial implementation, work in progress. + * tic80-opc.c (tic80_operands): Begin construction operands table. + (tic80_opcodes): Continue populating opcodes table and start + filling in the operand indices. + (tic80_num_opcodes): Add this. + +Fri Jan 3 12:13:52 1997 Ian Lance Taylor <ian@cygnus.com> + + * m68k-opc.c: Add #B case for moveq. + +Thu Jan 2 12:14:29 1997 Jeffrey A Law (law@cygnus.com) + + * mn10300-dis.c (disassemble): Make sure all variables are initialized + before they are used. + +Tue Dec 31 12:20:38 1996 Jeffrey A Law (law@cygnus.com) + + * v850-opc.c (v850_opcodes): Put curly-braces around operands + for "breakpoint" instruction. + +Tue Dec 31 15:38:13 1996 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE. + (dep): Use ALL_CFLAGS rather than CFLAGS. + +Tue Dec 31 15:09:16 1996 Michael Meissner <meissner@tiktok.cygnus.com> + + * v850-opc.c (D8_{6,7}): Set V850_OPERAND_ADJUST_SHORT_MEMORY + flag. + +Mon Dec 30 17:02:11 1996 Fred Fish <fnf@cygnus.com> + + * Makefile.in (m68k-opc.o, alpha-opc.o): Remove dis-asm.h dependency. + (tic80-dis.o, tic80-opc.o): Add rules per comment in Makefile.in. + +Mon Dec 30 11:38:01 1996 Ian Lance Taylor <ian@cygnus.com> + + * mips16-opc.c: Add "abs". + +Sun Dec 29 10:58:22 1996 Fred Fish <fnf@cygnus.com> + + * Makefile.in (ALL_MACHINES): Add tic80-dis.o and tic80-opc.o. + * disassemble.c (ARCH_tic80): Define if ARCH_all is defined. + (disassembler): Add bfd_arch_tic80 support to set disassemble + to print_insn_tic80. + * tic80-dis.c (print_insn_tic80): Add stub. + +Fri Dec 27 22:30:57 1996 Fred Fish <fnf@cygnus.com> + + * configure.in (arch in $selarchs): Add bfd_tic80_arch entry. + * configure: Regenerate with autoconf. + * tic80-dis.c: Add file. + * tic80-opc.c: Add file. + +Fri Dec 20 14:30:19 1996 Martin M. Hunt <hunt@pizza.cygnus.com> + + * d10v-opc.c (pre_defined_registers): Add cr[0-15], dpc, dpsw, link. + +Mon Dec 16 13:00:15 1996 Jeffrey A Law (law@cygnus.com) + + * mn10200-opc.c (mn10200_operands): Add SIMM16N. + (mn10200_opcodes): Use it for some logicals and btst insns. + Add "break" and "trap" instructions. + + * mn10300-opc.c (mn10300_opcodes): Add "break" instruction. + + * mn10200-opc.c: Add pseudo-ops for "mov (an),am" and "mov an,(am)". + +Sat Dec 14 22:36:20 1996 Ian Lance Taylor <ian@cygnus.com> + + * mips-dis.c (print_mips16_insn_arg): The base address of a PC + relative load or add now depends upon whether the instruction is + in a delay slot. + +Wed Dec 11 09:23:46 1996 Jeffrey A Law (law@cygnus.com) + + * mn10200-dis.c: Finish writing disassembler. + * mn10200-opc.c (mn10200_opcodes): Fix mask for "mov imm8,dn". + Fix mask for "jmp (an)". + + * mn10300-dis.c (disassemble, print_insn_mn10300): Corrently + handle endianness issues for mn10300. + + * mn10200-opc.c (mn10200_opcodes): Fix operands for "movb dm,(an)". + +Tue Dec 10 12:08:05 1996 Jeffrey A Law (law@cygnus.com) + + * mn10200-opc.c (mn10200_opcodes): "mov imm8,d0" is a format 2 + instruction. Fix opcode field for "movb (imm24),dn". + + * mn10200-opc.c (mn10200_operands): Fix insertion position + for DI operand. + +Mon Dec 9 16:42:43 1996 Jeffrey A Law (law@cygnus.com) + + * mn10200-opc.c: Create mn10200 opcode table. + * mn10200-dis.c: Flesh out mn10200 disassembler. Not ready, + but moving along nicely. + +Sun Dec 8 04:28:31 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * Makefile.in (ALL_MACHINES): Add mips16-opc.o. + +Fri Dec 6 16:47:40 1996 J.T. Conklin <jtc@rhino.cygnus.com> + + * m68k-opc.c (m68k_opcodes): Revert change to use < and > + specifiers for fmovem* instructions. + +Fri Dec 6 14:48:09 1996 Jeffrey A Law (law@cygnus.com) + + * mn10300-dis.c (disassemble): Remove '$' register prefixing. + +Fri Dec 6 17:34:39 1996 Ian Lance Taylor <ian@cygnus.com> + + * mips16-opc.c: Change opcode for entry/exit to avoid conflicting + with dsrl. + +Fri Dec 6 14:48:09 1996 Jeffrey A Law (law@cygnus.com) + + * mn10300-opc.c: Add some comments explaining the various + operands and such. + + * mn10300-dis.c (disassemble): Fix minor gcc -Wall warnings. + +Thu Dec 5 12:09:48 1996 J.T. Conklin <jtc@rtl.cygnus.com> + + * m68k-dis.c (print_insn_arg): Handle new < and > operand + specifiers. + + * m68k-opc.c (m68k_opcodes): Simplify table by using < and > + operand specifiers in fmovm* instructions. + +Wed Dec 4 14:52:18 1996 Ian Lance Taylor <ian@cygnus.com> + + * ppc-opc.c (insert_li): Give an error if the offset has the two + least significant bits set. + +Wed Nov 27 13:09:01 1996 Ian Lance Taylor <ian@cygnus.com> + + * mips-dis.c (print_insn_mips16): Separate the instruction from + the arguments with a tab, not a space. + +Tue Nov 26 13:24:17 1996 Jeffrey A Law (law@cygnus.com) + + * mn10300-dis.c (disasemble): Finish conversion to '$' as + register prefix. + + * mn10300-opc.c (mn10300_opcodes): Fix mask field for + mov am,(imm32,sp). + +Tue Nov 26 10:53:21 1996 Ian Lance Taylor <ian@cygnus.com> + + * configure: Rebuild with autoconf 2.12. + + Add support for mips16 (16 bit MIPS implementation): + * mips16-opc.c: New file. + * mips-dis.c: Include "elf-bfd.h" and "elf/mips.h". + (mips16_reg_names): New static array. + (print_insn_big_mips): Use print_insn_mips16 in 16 bit mode or + after seeing a 16 bit symbol. + (print_insn_little_mips): Likewise. + (print_insn_mips16): New static function. + (print_mips16_insn_arg): New static function. + * mips-opc.c: Add jalx instruction. + * Makefile.in (mips16-opc.o): New target. + * configure.in: Use mips16-opc.o for bfd_mips_arch. + * configure: Rebuild. + +Mon Nov 25 16:15:17 1996 J.T. Conklin <jtc@cygnus.com> + + * m68k-opc.c (m68k_opcodes): Simplify table by using < and > + operand specifiers in *save, *restore and movem* instructions. + + * m68k-opc.c (m68k_opcodes): Fix move and movem instructions for + the coldfire. + + * m68k-opc.c (m68k_opcodes): The coldfire (mcf5200) can only use + register operands for immediate arithmetic, not, neg, negx, and + set according to condition instructions. + + * m68k-opc.c (m68k_opcodes): Consistantly Use "s" as the storage + specifier of the effective-address operand in immediate forms of + arithmetic instructions. The specifier for the immediate operand + notes how and where the constant will be stored. + +Mon Nov 25 11:17:01 1996 Jeffrey A Law (law@cygnus.com) + + * mn10300-opc.c (mn10300_opcodes): Remove redundant "lcc" + opcode. + + * mn10300-dis.c (disassemble): Use '$' instead of '%' for + register prefix. + + * mn10300-dis.c (disassemble): Prefix registers with '%'. + +Wed Nov 20 10:37:13 1996 Jeffrey A Law (law@cygnus.com) + + * mn10300-dis.c (disassemble): Handle register lists. + + * mn10300-opc.c: Fix handling of register list operand for + "call", "ret", and "rets" instructions. + + * mn10300-dis.c (disassemble): Print PC-relative and memory + addresses symbolically if possible. + * mn10300-opc.c: Distinguish between absolute memory addresses, + pc-relative offsets & random immediates. + + * mn10300-dis.c (print_insn_mn10300): Fix fetch of last byte + in 7 byte insns. + (disassemble): Handle SPLIT and EXTENDED operands. + +Tue Nov 19 13:33:01 1996 Jeffrey A Law (law@cygnus.com) + + * mn10300-dis.c: Rough cut at printing some operands. + + * mn10300-dis.c: Start working on disassembler support. + * mn10300-opc.c (mn10300_opcodes): Fix masks on several insns. + + * mn10300-opc.c (mn10300_operands): Add "REGS" for a register + list. + (mn10300_opcodes): Use REGS for register list in "movm" instructions. + +Mon Nov 18 15:20:35 1996 Michael Meissner <meissner@tiktok.cygnus.com> + + * d10v-opc.c (d10v_opcodes): Add3 sets the carry. + +Fri Nov 15 13:43:19 1996 Jeffrey A Law (law@cygnus.com) + + * mn10300-opc.c (mn10300_opcodes): Demand parens around + register argument is calls and jmp instructions. + +Thu Nov 7 00:26:05 1996 Jeffrey A Law (law@cygnus.com) + + * mn10300-opc.c (mn10300_opcodes): Use DN01 for putx and + getx operand. Fix opcode for mulqu imm,dn. + +Wed Nov 6 13:42:32 1996 Jeffrey A Law (law@cygnus.com) + + * mn10300-opc.c (mn10300_operands): Hijack "bits" field + in MN10300_OPERAND_SPLIT operands for how many bits + appear in the basic insn word. Add IMM32_HIGH24, + IMM32_HIGH24_LOWSHIFT8, IMM8E_SHIFT8. + (mn10300_opcodes): Use new operands as needed. + + * mn10300-opc.c (mn10300_operands): Add IMM32_LOWSHIFT8 + for bset, bclr, btst instructions. + (mn10300_opcodes): Use new IMM32_LOWSHIFT8 as needed. + + * mn10300-opc.c (mn10300_operands): Remove many redundant + operands. Update opcode table as appropriate. + (IMM32): Add MN10300_OPERAND_SPLIT flag. + (mn10300_opcodes): Fix single bit error in mov imm32,dn insn. + +Tue Nov 5 13:26:58 1996 Jeffrey A Law (law@cygnus.com) + + * mn10300-opc.c (mn10300_operands): Add DN2, DM2, AN2, AM2 + operands (for indexed load/stores). Fix bitpos for DI + operand. Add SN8N_SHIFT8, IMM8_SHIFT8, and D16_SHIFT for the + few instructions that insert immediates/displacements in the + middle of the instruction. Add IMM8E for 8 bit immediate in + the extended part of an instruction. + (mn10300_operands): Use new opcodes as appropriate. + +Tue Nov 5 10:30:51 1996 Martin M. Hunt <hunt@pizza.cygnus.com> + + * d10v-opc.c (d10v_opcodes): Declare the trap instruction + sequential so the assembler never parallelizes it with + other instructions. + +Mon Nov 4 12:50:40 1996 Jeffrey A Law (law@cygnus.com) + + * mn10300-opc.c (mn10300_operands): Add DN01 and AN01 for + a data/address register that appears in register field 0 + and register field 1. + (mn10300_opcodes): Use DN01 and AN01 for mov/cmp imm8,DN/AN + +Fri Nov 1 10:29:11 1996 Richard Henderson <rth@tamu.edu> + + * alpha-dis.c (print_insn_alpha): Use new NOPAL mask for + standard disassembly. + + * alpha-opc.c (alpha_operands): Rearrange flags slot. + (alpha_opcodes): Add new BWX, CIX, and MAX instructions. + Recategorize PALcode instructions. + +Wed Oct 30 16:46:58 1996 Jeffrey A Law (law@cygnus.com) + + * v850-opc.c (v850_opcodes): Add relaxing "jbr". + +Tue Oct 29 16:30:28 1996 Ian Lance Taylor <ian@cygnus.com> + + * mips-dis.c (_print_insn_mips): Don't print a trailing tab if + there are no operand types. + +Tue Oct 29 12:22:21 1996 Jeffrey A Law (law@cygnus.com) + + * v850-opc.c (D9_RELAX): Renamed from D9, all references + changed. + (v850_operands): Make sure D22 immediately follows D9_RELAX. + +Fri Oct 25 12:12:53 1996 Ian Lance Taylor <ian@cygnus.com> + + * i386-dis.c (print_insn_x86): Set info->bytes_per_line to 5. + +Thu Oct 24 17:53:52 1996 Jeffrey A Law (law@cygnus.com) + + * v850-opc.c (insert_d8_6): Fix operand insertion for sld.w + and sst.w instructions. + + * v850-opc.c (v850_opcodes): Add "jCC" instructions (aliases for + "bCC"instructions). + +Thu Oct 24 17:21:20 1996 Ian Lance Taylor <ian@cygnus.com> + + * mips-dis.c (_print_insn_mips): Use a tab between the instruction + and the arguments. + +Tue Oct 22 23:32:56 1996 Ian Lance Taylor <ian@cygnus.com> + + * ppc-opc.c (PPCPWR2): Define. + (powerpc_opcodes): Use PPCPWR2 for fsqrt, rather than duplicating + it. + +Fri Oct 11 16:03:49 1996 Jeffrey A Law (law@cygnus.com) + + * mn10300-opc.c (mn10300_opcodes): Fix typo in opcode + field for movhu instruction. + + * v850-dis.c (disassemble): For V850_OPERAND_SIGNED operands, + cast value to "long" not "signed long" to keep hpux10 + compiler quiet. + +Thu Oct 10 10:25:58 1996 Jeffrey A Law (law@cygnus.com) + + * mn10300-opc.c (mn10300_opcodes): Fix typo in opcode field + for mov (abs16),DN. + + * mn10300-opc.c (FMT*): Remove definitions. + + * mn10300-opc.c (mn10300_opcodes): Fix destination register + for shift-by-register opcodes. + + * mn10300-opc.c (mn10300_operands): Break DN, DM, AN, AM + into [AD][MN][01] for encoding the position of the register + in the opcode. + +Wed Oct 9 11:19:26 1996 Jeffrey A Law (law@cygnus.com) + + * mn10300-opc.c (mn10300_opcodes): Add "extended" instructions, + "putx", "getx", "mulq", "mulqu", "sat16", "sat24", "bsch". + +Tue Oct 8 11:55:35 1996 Jeffrey A Law (law@cygnus.com) + + * mn10300-opc.c (mn10300_operands): Remove "REGS" operand. + Fix various typos. Add "PAREN" operand. + (MEM, MEM2): Define. + (mn10300_opcodes): Surround all memory addresses with "PAREN" + operands. Fix several typos. + + * mn10300-opc.c (mn10300_opcodes): Fix typos in yesterday's + changes. + +Mon Oct 7 16:48:45 1996 Jeffrey A Law (law@cygnus.com) + + * mn10300-opc.c (FMT_XX): Renumber starting at one. + (mn10300_operands): Rough cut. Enough to parse "mov" instructions + at this time. + (mn10300_opcodes): Break opcode format out into its own field. + Update many operand fields to deal with signed vs unsigned + issues. Fix one or two typos in the "mov" instruction + opcode, mask and/or operand fields. + +Mon Oct 7 11:39:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * m68k-opc.c (plusha): Prefer encoding for m68040up, in case + m68851 wasn't reset. + +Thu Oct 3 17:17:02 1996 Ian Lance Taylor <ian@cygnus.com> + + * mn10300-opc.c (mn10300_opcodes): Add opcode & masks for + all opcodes. Very rough cut at operands for all opcodes. + + * mn10300-opc.c (mn10300_opcodes): Start fleshing out the + opcode table. + +Thu Oct 3 10:06:07 1996 Jeffrey A Law (law@cygnus.com) + + * mn10200-opc.c, mn10300-opc.c: New files. + * mn10200-dis.c, mn10300-dis.c: New files. + * mn10x00-opc.c, mn10x00-dis.c: Deleted. + * disassemble.c: Break mn10x00 support into 10200 and 10300 + support. + * configure.in: Likewise. + * configure: Rebuilt. + +Thu Oct 3 15:59:12 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) + + * Makefile.in (MOSTLYCLEAN): Move config.log to distclean. + +Wed Oct 2 23:28:42 1996 Jeffrey A Law (law@cygnus.com) + + * mn10x00-opc.c, mn10x00-dis.c: New files for Matsushita + MN10x00 processors. + * disassemble (ARCH_mn10x00): Define. + (disassembler): Handle bfd_arch_mn10x00. + * configure.in: Recognize bfd_mn10x00_arch. + * configure: Rebuilt. + +Tue Oct 1 10:49:11 1996 Ian Lance Taylor <ian@cygnus.com> + + * i386-dis.c (op_rtn): Change to be a pointer. Adjust uses + accordingly. Don't declare functions using op_rtn. + +Fri Sep 27 18:28:59 1996 Stu Grossman (grossman@critters.cygnus.com) + + * v850-dis.c (disassemble): Add memaddr argument. Re-arrange + params to be more standard. + * (disassemble): Print absolute addresses and symbolic names for + branch and jump targets. + * v850-opc.c (v850_operand): Add displacement flag to 9 and 22 + bit operands. + * (v850_opcodes): Add breakpoint insn. + +Mon Sep 23 12:32:26 1996 Ian Lance Taylor <ian@cygnus.com> + + * m68k-opc.c: Move the fmovemx data register cases before the + other cases, so that they get recognized before the data register + does gets treated as a degenerate register list. + +Tue Sep 17 12:06:51 1996 Ian Lance Taylor <ian@cygnus.com> + + * mips-opc.c: Add a case for "div" and "divu" with two registers + and a destination of $0. + +Tue Sep 10 16:12:39 1996 Fred Fish <fnf@rtl.cygnus.com> + + * mips-dis.c (print_insn_arg): Add prototype. + (_print_insn_mips): Ditto. + +Mon Sep 9 14:26:26 1996 Ian Lance Taylor <ian@cygnus.com> + + * mips-dis.c (print_insn_arg): Print condition code registers as + $fccN. + +Tue Sep 3 12:09:46 1996 Doug Evans <dje@canuck.cygnus.com> + + * sparc-opc.c (sparc_opcodes): Add setuw, setsw, setx. + +Tue Sep 3 12:05:25 1996 Jeffrey A Law (law@cygnus.com) + + * v850-dis.c (disassemble): Make static. Provide prototype. + +Sun Sep 1 22:30:40 1996 Jeffrey A Law (law@cygnus.com) + + * v850-opc.c (insert_d9, insert_d22): Fix boundary case + in range checks. + +Sat Aug 31 01:27:26 1996 Jeffrey A Law (law@cygnus.com) + + * v850-dis.c (disassemble): Handle insertion of ',', '[' and + ']' characters into the output stream. + * v850-opc.c (v850_opcodes: Remove size field from all opcodes. + Add "memop" field to all opcodes (for the disassembler). + Reorder opcodes so that "nop" comes before "mov" and "jr" + comes before "jarl". + + * v850-dis.c (print_insn_v850): Fix typo in last change. + + * v850-dis.c (print_insn_v850): Properly handle disassembling + a two byte insn at the end of a memory region when the memory + region's size is only two byte aligned. + + * v850-dis.c (v850_cc_names): Fix stupid thinkos. + + * v850-dis.c (v850_reg_names): Define. + (v850_sreg_names, v850_cc_names): Likewise. + (disassemble): Very rough cut at printing operands (unformatted). + + * v850-opc.c (BOP_MASK): Fix. + (v850_opcodes): Fix mask for jarl and jr. + + * v850-dis.c: New file. Skeleton for disassembler support. + * Makefile.in Remove v850 references, they're not needed here. + * configure.in: Add v850-dis.o when building v850 toolchains. + * configure: Rebuilt. + * disassemble.c (disassembler): Call v850 disassembler. + + * v850-opc.c (insert_d8_7, extract_d8_7): New functions. + (insert_d8_6, extract_d8_6): New functions. + (v850_operands): Rename D7S to D7; operand for D7 is unsigned. + Rename D8 to D8_7, use {insert,extract}_d8_7 routines. + Add D8_6. + (IF4A, IF4B): Use "D7" instead of "D7S". + (IF4C, IF4D): Use "D8_7" instead of "D8". + (IF4E, IF4F): New. Use "D8_6". + (v850_opcodes): Use IF4A/IF4B for sld.b/sst.b. Use IF4C/IF4D for + sld.h/sst.h. Use IF4E/IF4F for sld.w/sst.w. + + * v850-opc.c (insert_d16_15, extract_d16_15): New functions. + (v850_operands): Change D16 to D16_15, use special insert/extract + routines. New new D16 that uses the generic insert/extract code. + (IF7A, IF7B): Use D16_15. + (IF7C, IF7D): New. Use D16. + (v850_opcodes): Use IF7C and IF7D for ld.b and st.b. + + * v850-opc.c (insert_d9, insert_d22): Slightly improve error + message. Issue an error if the branch offset is odd. + + * v850-opc.c: Add notes about needing special insert/extract + for all the load/store insns, except "ld.b" and "st.b". + + * v850-opc.c (insert_d22, extract_d22): New functions. + (v850_operands): Use insert_d22 and extract_d22 for + D22 operands. + (insert_d9): Fix range check. + +Fri Aug 30 18:01:02 1996 J.T. Conklin <jtc@hippo.cygnus.com> + + * v850-opc.c (v850_operands): Add V850_OPERAND_SIGNED flag + and set bits field to D9 and D22 operands. + +Thu Aug 29 11:10:46 1996 Jeffrey A Law (law@cygnus.com) + + * v850-opc.c (v850_operands): Define SR2 operand. + (v850_opcodes): "ldsr" uses R1,SR2. + + * v850-opc.c (v850_opcodes): Fix opcode specs for + sld.w, sst.b, sst.h, sst.w, and nop. + +Wed Aug 28 15:55:43 1996 Jeffrey A Law (law@cygnus.com) + + * v850-opc.c (v850_opcodes): Add null opcode to mark the + end of the opcode table. + +Mon Aug 26 13:35:53 1996 Martin M. Hunt <hunt@pizza.cygnus.com> + + * d10v-opc.c (pre_defined_registers): Added register pairs, + "r0-r1", "r2-r3", etc. + +Fri Aug 23 00:27:01 1996 Jeffrey A Law (law@cygnus.com) + + * v850-opc.c (v850_operands): Make I16 be a signed operand. + Create I16U for an unsigned 16bit mmediate operand. + (v850_opcodes): Use I16U for "ori", "andi" and "xori". + + * v850-opc.c (v850_operands): Define EP operand. + (IF4A, IF4B, IF4C, IF4D): Use EP. + + * v850-opc.c (v850_opcodes): Fix opcode numbers for "mov" + with immediate operand, "movhi". Tweak "ldsr". + + * v850-opc.c (v850_opcodes): Get ld.[bhw] and st.[bhw] + correct. Get sld.[bhw] and sst.[bhw] closer. + + * v850-opc.c (v850_operands): "not" is a two byte insn + + * v850-opc.c (v850_opcodes): Correct bit pattern for setf. + + * v850-opc.c (v850_operands): D16 inserts at offset 16! + + * v850-opc.c (two): Get order of words correct. + + * v850-opc.c (v850_operands): I16 inserts at offset 16! + + * v850-opc.c (v850_operands): Add "SR1" and "SR2" for system + register source and destination operands. + (v850_opcodes): Use SR1 and SR2 for "ldsr" and "stsr". + + * v850-opc.c (v850_opcodes): Fix thinko in "jmp" opcode. Fix + same thinko in "trap" opcode. + + * v850-opc.c (v850_opcodes): Add initializer for size field + on all opcodes. + + * v850-opc.c (v850_operands): D6 -> DS7. References changed. + Add D8 for 8-bit unsigned field in short load/store insns. + (IF4A, IF4D): These both need two registers. + (IF4C, IF4D): Define. Use 8-bit unsigned field. + (v850_opcodes): For "sld.h", "sld.w", "sst.h", "sst.w", use + IF4C & IF4D. For "trap" use I5U, not I5. Add IF1 operand + for "ldsr" and "stsr". + * v850-opc.c (v850_operands): 3-bit immediate for bit insns + is unsigned. + + * v850-opc.c (v850_opcodes): Correct short store half (sst.h) and + short store word (sst.w). + +Thu Aug 22 16:57:27 1996 J.T. Conklin <jtc@rtl.cygnus.com> + + * v850-opc.c (v850_operands): Added insert and extract fields, + pointers to functions that handle unusual operand encodings. + +Thu Aug 22 01:05:24 1996 Jeffrey A Law (law@cygnus.com) + + * v850-opc.c (v850_opcodes): Enable "trap". + + * v850-opc.c (v850_opcodes): Fix order of displacement + and register for "set1", "clr1", "not1", and "tst1". + +Wed Aug 21 18:46:26 1996 Jeffrey A Law (law@cygnus.com) + + * v850-opc.c (v850_operands): Add "B3" support. + (v850_opcodes): Fix and enable "set1", "clr1", "not1" + and "tst1". + + * v850-opc.c (v850_opcodes): "jmp" has only an R1 operand. + + * v850-opc.c: Close unterminated comment. + +Wed Aug 21 17:31:26 1996 J.T. Conklin <jtc@hippo.cygnus.com> + + * v850-opc.c (v850_operands): Add flags field. + (v850_opcodes): add move opcodes. + +Tue Aug 20 14:41:03 1996 J.T. Conklin <jtc@hippo.cygnus.com> + + * Makefile.in (ALL_MACHINES): Add v850-opc.o. + * configure: (bfd_v850v_arch) Add new case. + * configure.in: (bfd_v850_arch) Add new case. + * v850-opc.c: New file. + +Mon Aug 19 15:21:38 1996 Doug Evans <dje@canuck.cygnus.com> + + * sparc-dis.c (print_insn_sparc): Handle little endian sparcs. + +Thu Aug 15 13:14:43 1996 Martin M. Hunt <hunt@pizza.cygnus.com> + + * d10v-opc.c: Add additional information to the opcode + table to help determinine which instructions can be done + in parallel. + +Thu Aug 15 13:11:13 1996 Stan Shebs <shebs@andros.cygnus.com> + + * mpw-make.sed: Update editing of include pathnames to be + more general. + +Thu Aug 15 16:28:41 1996 James G. Smith <jsmith@cygnus.co.uk> + + * arm-opc.h: Added "bx" instruction definition. + +Wed Aug 14 17:00:04 1996 Richard Henderson <rth@tamu.edu> + + * alpha-opc.c (EV4EXTHWINDEX): Field width should be 8 not 5. + +Mon Aug 12 14:30:37 1996 Martin M. Hunt <hunt@pizza.cygnus.com> + + * d10v-opc.c (d10v_opcodes): Minor fixes to addi and bl.l. + +Fri Aug 9 13:21:59 1996 Martin M. Hunt <hunt@pizza.cygnus.com> + + * d10v-opc.c (d10v_opcodes): Correct 'mv' unit entry to EITHER. + +Thu Aug 8 12:43:52 1996 Klaus Kaempf <kkaempf@progis.de> + + * makefile.vms: Update for alpha-opc changes. + +Wed Aug 7 11:55:10 1996 Ian Lance Taylor <ian@cygnus.com> + + * i386-dis.c (print_insn_i386): Actually return the correct value. + (ONE, OP_ONE): #ifdef out; not used. + +Fri Aug 2 17:47:03 1996 Martin M. Hunt <hunt@pizza.cygnus.com> + + * d10v-opc.c (d10v_opcodes): Added 2 accumulator sub instructions. + Changed subi operand type to treat 0 as 16. + +Wed Jul 31 16:21:41 1996 Ian Lance Taylor <ian@cygnus.com> + + * m68k-opc.c: Add cpushl for the mcf5200. From Ken Rose + <rose@netcom.com>. + +Wed Jul 31 14:39:27 1996 James G. Smith <jsmith@cygnus.co.uk> + + * arm-opc.h: (arm_opcodes): Added halfword and sign-extension + memory transfer instructions. Add new format string entries %h and %s. + * arm-dis.c: (print_insn_arm): Provide decoding of the new + formats %h and %s. + +Fri Jul 26 11:45:04 1996 Martin M. Hunt <hunt@pizza.cygnus.com> + + * d10v-opc.c (d10v_operands): Added UNUM4S; a 4-bit accumulator shift. + (d10v_opcodes): Modified accumulator shift instructions to use UNUM4S. + +Fri Jul 26 14:01:43 1996 Ian Lance Taylor <ian@cygnus.com> + + * alpha-dis.c (print_insn_alpha_osf): Remove. + (print_insn_alpha_vms): Remove. + (print_insn_alpha): Make globally visible. Chose the register + names based on info->flavour. + * disassemble.c: Always return print_insn_alpha for the alpha. + +Thu Jul 25 15:24:17 1996 Martin M. Hunt <hunt@pizza.cygnus.com> + + * d10v-dis.c (dis_long): Handle unknown opcodes. + +Thu Jul 25 12:08:09 1996 Martin M. Hunt <hunt@pizza.cygnus.com> + + * d10v-opc.c: Changes to support signed and unsigned numbers. + All instructions with the same name that have long and short forms + now end in ".l" or ".s". Divs added. + * d10v-dis.c: Changes to support signed and unsigned numbers. + +Tue Jul 23 11:02:53 1996 Martin M. Hunt <hunt@pizza.cygnus.com> + + * d10v-dis.c: Change all functions to use info->print_address_func. + +Mon Jul 22 15:38:53 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * m68k-opc.c (m68k_opcodes): Make opcode masks for the ColdFire + move ccr/sr insns more strict so that the disassembler only + selects them when the addressing mode is data register. + +Mon Jul 22 11:25:24 1996 Martin M. Hunt <hunt@pizza.cygnus.com> + * d10v-opc.c (pre_defined_registers): Declare. + * d10v-dis.c (print_operand): Now uses pre_defined_registers + to pick a better name for the registers. + +Mon Jul 22 13:47:23 1996 Ian Lance Taylor <ian@cygnus.com> + + * sparc-opc.c: Fix opcode values for fpack16, and fpackfix. Fix + operands for fexpand and fpmerge. From Christian Kuehnke + <Christian.Kuehnke@arbi.informatik.uni-oldenburg.de>. + +Mon Jul 22 13:17:06 1996 Richard Henderson <rth@tamu.edu> + + * alpha-dis.c (print_insn_alpha): No longer the user-visible + print routine. Take new regnames and cpumask arguments. + Kill the environment variable nonsense. + (print_insn_alpha_osf): New function. Do OSF/1 style regnames. + (print_insn_alpha_vms): New function. Do VMS style regnames. + * disassemble.c (disassembler): Test bfd flavour to pick + between OSF and VMS routines. Default to OSF. + +Thu Jul 18 17:19:34 1996 Ian Lance Taylor <ian@cygnus.com> + + * configure.in: Call AC_SUBST (INSTALL_SHLIB). + * configure: Rebuild. + * Makefile.in (install): Use @INSTALL_SHLIB@. + +Wed Jul 17 14:39:05 1996 Martin M. Hunt <hunt@pizza.cygnus.com> + + * configure: (bfd_d10v_arch) Add new case. + * configure.in: (bfd_d10v_arch) Add new case. + * d10v-dis.c: New file. + * d10v-opc.c: New file. + * disassemble.c (disassembler) Add entry for d10v. + +Wed Jul 17 10:12:05 1996 J.T. Conklin <jtc@rtl.cygnus.com> + + * m68k-opc.c (m68k_opcodes): Fix bugs in coldfire insns relating + to bcc, trapfl, subxl, and wddata discovered by Andreas Schwab. + +Mon Jul 15 16:59:55 1996 Stu Grossman (grossman@critters.cygnus.com) + + * i386-dis.c: Get rid of print_insn_i8086. Use info.mach to + distinguish between variants of the instruction set. + * sparc-dis.c: Get rid of print_insn_sparclite. Use info.mach to + distinguish between variants of the instruction set. + +Fri Jul 12 10:12:01 1996 Stu Grossman (grossman@critters.cygnus.com) + + * i386-dis.c (print_insn_i8086): New routine to disassemble using + the 8086 instruction set. + * i386-dis.c: General cleanups. Make most things static. Add + prototypes. Get rid of static variables aflags and dflags. Pass + them as args (to almost everything). + +Thu Jul 11 11:58:44 1996 Jeffrey A Law (law@cygnus.com) + + * h8300-dis.c (bfd_h8_disassemble): Handle macregs in ldmac insns. + + * h8300-dis.c (bfd_h8_disassemble): Handle "ldm.l" and "stm.l". + + * h8300-dis.c (bfd_h8_disassemble): "abs" is implicitly two + if the next arg is marked with SRC_IN_DST. Gross. + + * h8300-dis.c (bfd_h8_disassemble): Print "exr" when + we're looking for and find EXR. + + * h8300-dis.c (bfd_h8_disassemble): We don't have a match + if we're looking for KBIT and we don't find it. + + * h8300-dis.c (bfd_h8_disassemble): Mask off unwanted bits + for L_3 and L_2. + + * h8300-dis.c (bfd_h8_disassemble): Don't set plen for + 3bit immediate operands. + +Tue Jul 9 10:55:20 1996 Ian Lance Taylor <ian@cygnus.com> + + * Released binutils 2.7. + + * alpha-opc.c: Add new case of "mov". From Klaus Kaempf + <kkaempf@progis.ac-net.de>. + +Thu Jul 4 11:42:51 1996 Ian Lance Taylor <ian@cygnus.com> + + * alpha-opc.c: Correct second case of "mov" to use OPRL. + +Wed Jul 3 16:03:47 1996 Stu Grossman (grossman@critters.cygnus.com) + + * sparc-dis.c (print_insn_sparclite): New routine to print + sparclite instructions. + +Wed Jul 3 14:21:18 1996 J.T. Conklin <jtc@rtl.cygnus.com> + + * m68k-opc.c (m68k_opcodes): Add coldfire support. + +Fri Jun 28 15:53:51 1996 Doug Evans <dje@canuck.cygnus.com> + + * sparc-opc.c (asi_table): Add #ASI_N, #ASI_N_L, #ASI_NUCLEUS, + #ASI_NUCLEUS_LITTLE. Rename #ASI_AS_IF_USER_{PRIMARY,SECONDARY}_L + to #ASI_AS_IF_USER_{PRIMARY,SECONDARY}_LITTLE. + +Tue Jun 25 22:58:31 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) + + * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir): + Use autoconf-set values. + (docdir, oldincludedir): Removed. + * configure.in (AC_PREREQ): autoconf 2.5 or higher. + +Fri Jun 21 13:53:36 1996 Richard Henderson <rth@tamu.edu> + + * alpha-opc.c: New file. + * alpha-opc.h: Remove. + * alpha-dis.c: Complete rewrite to use new opcode table. + * configure.in: For bfd_alpha_arch, use alpha-opc.o. + * configure: Rebuild with autoconf 2.10. + * Makefile.in (ALL_MACHINES): Add alpha-opc.o. + (alpha-dis.o): Depend upon $(INCDIR)/opcode/alpha.h, not + alpha-opc.h. + (alpha-opc.o): New target. + +Wed Jun 19 15:55:12 1996 Ian Lance Taylor <ian@cygnus.com> + + * sparc-dis.c (print_insn_sparc): Remove unused local variable i. + Set imm_added_to_rs1 even if the source and destination register + are not the same. + + * sparc-opc.c: Add some two operand forms of the wr instruction. + +Tue Jun 18 15:58:27 1996 Jeffrey A. Law <law@rtl.cygnus.com> + + * h8300-dis.c (bfd_h8_disassemble): Rename "hmode" argument + to just "mode". + + * disassemble.c (disassembler): Handle H8/S. + * h8300-dis.c (print_insn_h8300s): New function for H8/S. + +Tue Jun 18 18:06:50 1996 Ian Lance Taylor <ian@cygnus.com> + + * sparc-opc.c: Add beq/teq as aliases for be/te. + + * ppc-opc.c: Fix fcmpo opcode. From Sergei Steshenko + <sergei@msil.sps.mot.com>. + +Tue Jun 18 15:08:54 1996 Klaus Kaempf <kkaempf@progis.de> + + * makefile.vms: New file. + + * alpha-dis.c (print_insn_alpha): Print lda ra,lit(rz) as mov. + +Mon Jun 10 18:50:38 1996 Ian Lance Taylor <ian@cygnus.com> + + * h8300-dis.c (bfd_h8_disassemble): Always print ABS8MEM with :8, + regardless of plen. + +Tue Jun 4 09:15:53 1996 Doug Evans <dje@canuck.cygnus.com> + + * i386-dis.c (OP_OFF): Call append_prefix. + +Thu May 23 15:18:23 1996 Michael Meissner <meissner@tiktok.cygnus.com> + + * ppc-opc.c (instruction encoding macros): Add explicit casts to + unsigned long to silence a warning from the Solaris PowerPC + compiler. + +Thu Apr 25 19:33:32 1996 Doug Evans <dje@canuck.cygnus.com> + + * sparc-opc.c (sparc_opcodes): Add ultrasparc vis extensions. + +Mon Apr 22 17:12:35 1996 Doug Evans <dje@blues.cygnus.com> + + * sparc-dis.c (X_IMM,X_SIMM): New macros. + (X_IMM13): Delete. + (print_insn_sparc): Merge cases i,I,j together. New cases X,Y. + * sparc-opc.c (sparc_opcodes): Use X for 5 bit shift constants, + Y for 6 bit shift constants. Rewrite entries for crdcxt, cwrcxt, + cpush, cpusha, cpull sparclet insns. + +Wed Apr 17 14:20:22 1996 Doug Evans <dje@canuck.cygnus.com> + + * sparc-dis.c (compute_arch_mask): Replace ANSI style def with K&R. + +Thu Apr 11 17:30:02 1996 Ian Lance Taylor <ian@cygnus.com> + + * sparc-opc.c: Set F_FBR on floating point branch instructions. + Set F_FLOAT on other floating point instructions. + +Mon Apr 8 17:02:48 1996 Michael Meissner <meissner@tiktok.cygnus.com> + + * ppc-opc.c (PPC860): Macro for 860/821 specific instructions and + registers. + (powerpc_opcodes): Add 860/821 specific SPRs. + +Mon Apr 8 14:00:44 1996 Ian Lance Taylor <ian@cygnus.com> + + * configure.in: Permit --enable-shared to specify a list of + directories. Set and substitute BFD_PICLIST. + * configure: Rebuild. + * Makefile.in (BFD_PICLIST): Rename from BFD_LIST. Change all + uses. Set to @BFD_PICLIST@. + +Fri Apr 5 17:12:27 1996 Jeffrey A Law (law@cygnus.com) + + * h8300-dis.c (bfd_h8_disassemble): Use "bit" for L_3 immediates, + not "abs", which may be needed for the absolute in something + like btst #0,@10:8. Print L_3 immediates separately from other + immediates. Change ABSMOV reference to ABS8MEM. + +Wed Apr 3 10:40:45 1996 Doug Evans <dje@canuck.cygnus.com> + + * sparc-dis.c (opcodes_initialized): Move inside print_insn_sparc. + (current_arch_mask): New static global. + (compute_arch_mask): New static function. + (print_insn_sparc): Delete sparc_v9_p. New static local + current_mach. Resort opcode table if current_mach changes. + Generalize "insn not supported" test. + (compare_opcodes): Prefer supported opcodes to nonsupported ones. + Delete test for v9/!v9. + * sparc-opc.c (MASK_*): Use SPARC_OPCODE_ARCH_MASK. + (v6notlet): Define. + (brfc): Split into CBR and FBR for coprocessor/fp branches. + (brfcx): Renamed to FBRX. + (condfc): Renamed to CONDFC. Pass v6notlet to CBR (standard + coprocessor mnemonics are not supported on the sparclet). + (condf): Renamed to CONDF. + (SLCBCC2): Delete F_ALIAS flag. + +Sat Mar 30 21:45:59 1996 Doug Evans <dje@canuck.cygnus.com> + + * sparc-opc.c (sparc_opcodes): rd must be 0 for + mov foo,{%y,%psr,%wim,%tbr}. Support mov foo,%asrX. + +Fri Mar 29 13:02:40 1996 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.in (config.status): Depend upon BFD VERSION file, so + that the shared library version number is set correctly. + +Tue Mar 26 15:47:14 1996 Ian Lance Taylor <ian@cygnus.com> + + * configure.in: Use AC_CHECK_TOOL to find ar and ranlib. From + Miles Bader <miles@gnu.ai.mit.edu>. + * configure: Rebuild. + +Sat Mar 16 13:04:07 1996 Fred Fish <fnf@cygnus.com> + + * z8kgen.c (internal, gas): Call xmalloc rather than unchecked + malloc. + +Tue Mar 12 12:14:10 1996 Ian Lance Taylor <ian@cygnus.com> + + * configure: Rebuild with autoconf 2.8. + +Thu Mar 7 15:11:10 1996 Doug Evans <dje@charmed.cygnus.com> + + * sparc-dis.c (print_insn_sparc): Handle 'O' operand char like 'r'. + * sparc-opc.c (sparc_opcodes): Use 'O' operand char for `neg reg'. + +Tue Mar 5 15:51:57 1996 Ian Lance Taylor <ian@cygnus.com> + + * configure.in: Don't set SHLIB or SHLINK to an empty string, + since they appear as targets in Makefile.in. + * configure: Rebuild. + +Mon Feb 26 13:03:40 1996 Stan Shebs <shebs@andros.cygnus.com> + + * mpw-make.sed: Edit out shared library support bits. + +Tue Feb 20 20:48:28 1996 Doug Evans <dje@charmed.cygnus.com> + + * sparc-opc.c (v8,v6notv9): Add MASK_SPARCLET. + (sparc_opcode_archs): Add MASK_V8 to sparclet entry. + (sparc_opcodes): Add sparclet insns. + (sparclet_cpreg_table): New static local. + (sparc_{encode,decode}_sparclet_cpreg): New functions. + * sparc-dis.c (print_insn_sparc): Handle sparclet cpregs. + +Tue Feb 20 11:02:44 1996 Alan Modra <alan@mullet.Levels.UniSA.Edu.Au> + + * i386-dis.c (index16): New static variable. + (putop): Print jecxz for 32 bit case, jcxz for 16 bit, not the + other way around. + (OP_indirE): Return result of OP_E. + (OP_E): Check for 16 bit addressing mode, and disassemble + correctly. Optimised 32 bit case a little. Don't print + "(base,index,scale)" when sib specifies only an offset. + +Mon Feb 19 12:32:17 1996 Ian Lance Taylor <ian@cygnus.com> + + * configure.in: Set and substitute SHLIB_DEP. + * configure: Rebuild. + * Makefile.in (SHLIB_DEP): New variable. + (LIBIBERTY_LISTS, BFD_LIST): New variables. + (stamp-piclist): Depend upon LIBIBERTY_LISTS and BFD_LIST. If + COMMON_SHLIB, add them to piclist with appropriate modifications. + ($(SHLIB)): Depend upon $(SHLIB_DEP). Don't check COMMON_SHLIB + here: just use piclist. + +Mon Feb 19 02:03:50 1996 Doug Evans <dje@charmed.cygnus.com> + + * sparc-dis.c (MASK_V9,V9_ONLY_P,V9_P): Define. + (print_insn_sparc): Rewrite v9/not-v9 tests. + (compare_opcodes): Likewise. + * sparc-opc.c (MASK_<ARCH>): Define. + (v6,v7,v8,sparclite,v9,v9a): Redefine. + (sparclet,v6notv9): Define. + (sparc_opcode_archs): Delete member `conflicts'. Add `supported'. + (sparc_opcodes): Delete F_NOTV9, use v6notv9 instead. + +Thu Feb 15 14:45:05 1996 Ian Lance Taylor <ian@cygnus.com> + + * configure.in: Call AC_PROG_CC before configure.host. + * configure: Rebuild. + + * Makefile.in (SONAME): Remove leading ../bfd/ from $(SHLIB). + +Wed Feb 14 19:01:27 1996 Alan Modra <alan@spri.levels.unisa.edu.au> + + * i386-dis.c (onebyte_has_modrm): New static array. + (twobyte_has_modrm): New static array. + (print_insn_i386): Only fetch the mod/reg/rm byte if it is needed. + +Tue Feb 13 15:15:01 1996 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.in ($(SHLINK)): Check ts against $(SHLIB), not + $(SHLINK). + +Mon Feb 12 16:26:06 1996 Michael Meissner <meissner@tiktok.cygnus.com> + + * ppc-opc.c (PPC): Undef, so default defination on Windows NT + doesn't conflict. + +Wed Feb 7 13:59:54 1996 Ian Lance Taylor <ian@cygnus.com> + + * m68k-opc.c (m68k_opcodes): The bkpt instruction is supported on + m68010up, not just m68020up | cpu32. + + * Makefile.in (SONAME): New variable. + ($(SHLINK)): Make a link to the transformed name, as well. + (stamp-tshlink): New target. + (install): Skip stamp-tshlink during install. + +Tue Feb 6 12:28:54 1996 Ian Lance Taylor <ian@cygnus.com> + + * configure.in: Call AC_ARG_PROGRAM. + * configure: Rebuild. + * Makefile.in (program_transform_name): New variable. + (install): Transform library name before installing it. + +Mon Feb 5 16:14:42 1996 Ian Lance Taylor <ian@cygnus.com> + + * i960-dis.c (mem): Add HX dcinva instruction. + + Support for building as a shared library, based on patches from + Alan Modra <alan@spri.levels.unisa.edu.au>: + * configure.in: Add AC_ARG_ENABLE for shared and commonbfdlib. + New substitutions: ALLLIBS, PICFLAG, SHLIB, SHLIB_CC, + SHLIB_CFLAGS, COMMON_SHLIB, SHLINK. + * configure: Rebuild. + * Makefile.in (ALLLIBS): New variable. + (PICFLAG, SHLIB, SHLIB_CC, SHLIB_CFLAGS): New variables. + (COMMON_SHLIB, SHLINK): New variables. + (.c.o): If PICFLAG is set, compile twice, once PIC, once normal. + (STAGESTUFF): Remove variable. + (all): Depend upon $(ALLLIBS) rather than $(TARGETLIB). + (stamp-piclist, piclist): New targets. + ($(SHLIB), $(SHLINK)): New targets. + ($(OFILES)): Depend upon stamp-picdir. + (disassemble.o): Build twice if PICFLAG is set. + (MOSTLYCLEAN): Add pic/*.o. + (clean): Remove $(SHLIB), $(SHLINK), piclist, and stamp-piclist. + (distclean): Remove pic and stamp-picdir. + (install): Install shared libraries. + (stamp-picdir): New target. + +Fri Feb 2 17:15:25 1996 Doug Evans <dje@charmed.cygnus.com> + + * sparc-dis.c (print_insn_sparc): Delete DISASM_RAW_INSN support. + Print unknown instruction as "unknown", rather than in hex. + +Tue Jan 30 14:06:08 1996 Ian Lance Taylor <ian@cygnus.com> + + * dis-buf.c: Include "sysdep.h" before "dis-asm.h". + +Thu Jan 25 20:24:07 1996 Doug Evans <dje@charmed.cygnus.com> + + * sparc-opc.c (sparc_opcode_archs): Mark v8/sparclite as conflicting. + +Thu Jan 25 11:56:49 1996 Ian Lance Taylor <ian@cygnus.com> + + * i386-dis.c (print_insn_i386): Only fetch the mod/reg/rm byte + when necessary. From Ulrich Drepper + <drepper@myware.rz.uni-karlsruhe.de>. + +Thu Jan 25 03:39:10 1996 Doug Evans <dje@charmed.cygnus.com> + + * sparc-dis.c (print_insn_sparc): NUMOPCODES replaced with + sparc_num_opcodes. Update architecture enum values. + * sparc-opc.c (sparc_opcode_archs): Replaces architecture_pname. + (sparc_opcode_lookup_arch): New function. + (sparc_num_opcodes): Renamed from bfd_sparc_num_opcodes. + (sparc_opcodes): Add v9a shutdown insn. + +Mon Jan 22 08:29:59 1996 Doug Evans <dje@charmed.cygnus.com> + + * sparc-dis.c (print_insn_sparc): Renamed from print_insn. + If DISASM_RAW_INSN, print insn in hex. Handle v9a as opcode + architecture. + (print_insn_sparc64): Deleted. + * disassemble.c (disassembler, case bfd_arch_sparc): Always use + print_insn_sparc. + + * sparc-opc.c (architecture_pname): Add v9a. + +Fri Jan 12 14:35:58 1996 David Mosberger-Tang <davidm@AZStarNet.com> + + * alpha-opc.h (alpha_insn_set): VAX floating point opcode was + incorrectly defined as 0x16 when it should be 0x15. + (FLOAT_FORMAT_MASK): function code is 11 bits, not just 7 bits! + (alpha_insn_set): added cvtst and cvttq float ops. Also added + excb (exception barrier) which is defined in the Alpha + Architecture Handbook version 2. + * alpha-dis.c (print_insn_alpha): Fixed special-case decoding for + OPERATE_FORMAT_CODE type instructions. The bug caused mulq to be + disassembled as or, for example. + +Wed Jan 10 12:37:22 1996 Ian Lance Taylor <ian@cygnus.com> + + * mips-dis.c (print_insn_arg): Print cases 'i' and 'u' in hex. + (_print_insn_mips): Change i from int to unsigned int. + +Thu Jan 4 17:21:10 1996 David Edelsohn <edelsohn@mhpcc.edu> + + * ppc-opc.c (powerpc_opcodes): tlbi POWER opcode form different + from tlbie PowerPC opcode. Add PPC603 tlbld and tlbli. + +Thu Dec 28 13:29:19 1995 John Hassey <hassey@rtp.dg.com> + + * i386-dis.c: Added Pentium Pro instructions. + +Tue Dec 19 22:56:35 1995 Michael Meissner <meissner@tiktok.cygnus.com> + + * ppc-opc.c (fsqrt{,.}): Duplicate for PowerPC in addition to + being for Power2. + +Fri Dec 15 14:14:15 1995 J.T. Conklin <jtc@rtl.cygnus.com> + + * sh-opc.h (sh_nibble_type): Added REG_B. + (sh_arg_type): Added A_REG_B. + (sh_table): Added pref and bank reg versions of ldc, ldc.l, stc + and stc.l opcodes. + * sh-dis.c (print_insn_shx): Added cases for REG_B and A_REG_B. + +Fri Dec 15 16:44:31 1995 Ian Lance Taylor <ian@cygnus.com> + + * disassemble.c (disassembler): Use new bfd_big_endian macro. + +Tue Dec 12 12:22:24 1995 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.in (distclean): Remove stamp-h. From Ronald + F. Guilmette <rfg@monkeys.com>. + +Tue Dec 5 13:42:44 1995 Stan Shebs <shebs@andros.cygnus.com> + + From David Mosberger-Tang <davidm@azstarnet.com>: + * alpha-dis.c (print_insn_alpha): fixed decoding of cpys + instruction. + +Mon Dec 4 12:29:05 1995 J.T. Conklin <jtc@rtl.cygnus.com> + + * sh-opc.h (sh_arg_type): Added A_SSR and A_SPC. + (sh_table): Added many SH3 opcodes. + * sh-dis.c (print_insn_shx): Added cases for A_SSR and A_SPC. + +Fri Dec 1 07:42:18 1995 Michael Meissner <meissner@tiktok.cygnus.com> + + * ppc-opc.c (subfc., subfco): Mark this PPCCOM, not PPC. + (subco,subco.): Mark this PPC, not PPCCOM. + +Mon Nov 27 13:09:52 1995 Ian Lance Taylor <ian@cygnus.com> + + * configure: Rebuild with autoconf 2.7. + +Tue Nov 21 18:28:06 1995 Ian Lance Taylor <ian@cygnus.com> + + * configure: Rebuild with autoconf 2.6. + +Wed Nov 15 19:02:53 1995 Ken Raeburn <raeburn@cygnus.com> + + * configure.in: Sort list of architectures. Accept but do nothing + for alliant, convex, pyramid, romp, and tahoe. + +Wed Nov 8 20:18:59 1995 Ian Lance Taylor <ian@cygnus.com> + + * a29k-dis.c (print_special): Change num to unsigned int. + +Wed Nov 8 20:10:35 1995 Eric Freudenthal <freudenthal@nyu.edu> + + * a29k-dis.c (print_insn): Cast insn24 to unsigned long when + shifting it. + +Tue Nov 7 15:21:06 1995 Ian Lance Taylor <ian@cygnus.com> + + * configure.in: Call AC_CHECK_PROG to find and cache AR. + * configure: Rebuilt. + +Mon Nov 6 17:39:47 1995 Harry Dolan <dolan@ssd.intel.com> + + * configure.in: Add case for bfd_i860_arch. + * configure: Rebuild. + +Fri Nov 3 12:45:31 1995 Ian Lance Taylor <ian@cygnus.com> + + * m68k-opc.c (m68k_opcodes): Correct fmoveml operands. + * m68k-dis.c (NEXTSINGLE): Change i to unsigned int. + (NEXTDOUBLE): Likewise. + (print_insn_m68k): Don't match fmoveml if there is more than one + register in the list. + (print_insn_arg): Handle a place of '8' for a type of 'L'. + +Thu Nov 2 23:06:33 1995 Ian Lance Taylor <ian@cygnus.com> + + * m68k-opc.c: Use #W rather than #w. + * m68k-dis.c (print_insn_arg): Handle new 'W' place. + +Wed Nov 1 13:30:24 1995 Ian Lance Taylor <ian@cygnus.com> + + * m68k-opc.c (m68k_opcode_aliases): Add dbfw as an alias for dbf, + and likewise for all the dbxx opcodes. + +Mon Oct 30 20:50:40 1995 Fred Fish <fnf@cygnus.com> + + * arc-dis.c: Include elf-bfd.h rather than libelf.h. + +Mon Oct 23 11:11:34 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk> + + * mips-opc.c: Added shorthand (V1) for INSN_4100 manifest. Added + the VR4100 specific instructions to the mips_opcodes structure. + +Thu Oct 19 11:05:23 1995 Stan Shebs <shebs@andros.cygnus.com> + + * mpw-config.in, mpw-make.sed: Remove ugly workaround for + ugly Metrowerks bug in CW6, is fixed in CW7. + +Mon Oct 16 12:59:01 1995 Michael Meissner <meissner@tiktok.cygnus.com> + + * ppc-opc.c (whole file): Add flags for common/any support. + +Tue Oct 10 11:06:07 1995 Fred Fish <fnf@cygnus.com> + + * Makefile.in (BISON): Remove macro. + (FLAGS_TO_PASS): Remove BISON. + +Fri Oct 6 16:26:45 1995 Ken Raeburn <raeburn@cygnus.com> + + Mon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * m68k-dis.c (print_insn_m68k): Recognize all two-word + instructions that take no args by looking at the match mask. + (print_insn_arg): Always print "%" before register names. + [case 'c']: Use "nc" for the no-cache case, as recognized by gas. + [case '_']: Don't print "@#" before address. + [case 'J']: Use "%s" as format string, not register name. + [case 'B']: Treat place == 'C' like 'l' and 'L'. + +Thu Oct 5 22:16:20 1995 Ken Raeburn <raeburn@cygnus.com> + + * i386-dis.c: Describe cmpxchg8b operand, and spell the opcode + name correctly. + +Tue Oct 3 08:30:20 1995 steve chamberlain <sac@slash.cygnus.com> + + From David Mosberger-Tang <davidm@azstarnet.com> + + * alpha-opc.h (MEMORY_FUNCTION_FORMAT_MASK): added. + (alpha_insn_set): added definitions for VAX floating point + instructions (Unix compilers don't generate these, but handcoded + assembly might still use them). + + * alpha-dis.c (print_insn_alpha): added support for disassembling + the miscellaneous instructions in the Alpha instruction set. + +Tue Sep 26 18:47:20 1995 Stan Shebs <shebs@andros.cygnus.com> + + * mpw-config.in: Add m68k-opc.c.o to BFD_MACHINES for m68k, + no longer create sysdep.h, sed ppc-opc.c to work around a + serious Metrowerks C bug. + * mpw-make.in: Remove. + * mpw-make.sed: New file, used by mpw-configure to edit + Makefile.in into an MPW makefile. + +Wed Sep 20 12:55:28 1995 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.in (maintainer-clean): New synonym for realclean. + +Tue Sep 19 15:28:36 1995 Ian Lance Taylor <ian@cygnus.com> + + * m68k-opc.c: Split pmove patterns which use 'P' into patterns + which use '0', '1', and '2' instead. Specify the proper size for + a pmove immediate operand. Correct the pmovefd patterns to be + moves to a register, not from a register. + * m68k-dis.c (print_insn_arg): Replace 'P' with '0', '1', '2'. + +Thu Sep 14 11:58:22 1995 Doug Evans <dje@canuck.cygnus.com> + + * sparc-opc.c (sparc_opcodes): Mark all insns that reference + %psr, %wim, %tbr as F_NOTV9. + +Fri Sep 8 01:07:38 1995 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.in (Makefile): Just rebuild Makefile when running + config.status. + (config.h, stamp-h): New targets. + * configure.in: Call AC_CONFIG_HEADER and AC_CANONICAL_SYSTEM + earlier. Don't bother to call AC_ARG_PROGRAM. Touch stamp-h when + rebuilding config.h. + * configure: Rebuild. + + * mips-opc.c: Change unaligned loads and stores with "t,A" + operands to use "t,A(b)". + +Thu Sep 7 19:02:46 1995 Jim Wilson <wilson@chestnut.cygnus.com> + + * sh-dis.c (print_insn_shx): Add F_FR0 support. + +Thu Sep 7 19:02:46 1995 Jim Wilson <wilson@chestnut.cygnus.com> + + * sh-dis.c (print_insn_shx): Change loop over op->arg[n] to iterate + until 3 instead of until 2. + +Wed Sep 6 21:21:33 1995 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.in (ALL_CFLAGS): Define. + (.c.o, disassemble.o): Use $(ALL_CFLAGS). + (MOSTLYCLEAN): Add config.log. + (distclean): Don't remove config.log. + * configure.in: Substitute HDEFINES. + * configure: Rebuild. + +Wed Sep 6 15:08:09 1995 Jim Wilson <wilson@chestnut.cygnus.com> + + * sh-opc.h (sh_arg_type): Add F_FR0. + (sh_table, case fmac): Add F_FR0 as first argument. + +Wed Sep 6 15:08:09 1995 Jim Wilson <wilson@chestnut.cygnus.com> + + * sh-opc.h (sh_opcode_info): Increase arg array size to 4. + +Tue Sep 5 18:28:10 1995 Doug Evans <dje@canuck.cygnus.com> + + * sparc-dis.c: Remove all references to NO_V9. + +Tue Sep 5 20:03:26 1995 Ian Lance Taylor <ian@cygnus.com> + + * aclocal.m4: Just include ../bfd/aclocal.m4. + * configure: Rebuild. + +Tue Sep 5 16:09:59 1995 Doug Evans <dje@canuck.cygnus.com> + + * sparc-dis.c (X_DISP19): Define. + (print_insn, case 'G'): Use it. + (print_insn, case 'L'): Sign extend displacement. + +Mon Sep 4 14:28:46 1995 Ian Lance Taylor <ian@cygnus.com> + + * configure.in: Run ../bfd/configure.host before AC_PROG_CC. + Subsitute CFLAGS and AR. Call AC_PROG_INSTALL. Don't substitute + host_makefile_frag or frags. + * aclocal.m4: New file. + * configure: Rebuild. + * Makefile.in (INSTALL): Set to @INSTALL@. + (INSTALL_PROGRAM): Set to @INSTALL_PROGRAM@. + (INSTALL_DATA): Set to @INSTALL_DATA@. + (AR): Set to @AR@. + (AR_FLAGS): Set to rc rather than qc. + (CC): Define as @CC@. + (CFLAGS): Set to @CFLAGS@. + (@host_makefile_frag@): Remove. + (config.status): Remove dependency upon @frags@. + + * configure.in: ../bfd/config.bfd now just sets shell variables. + Use them rather than looking through target Makefile fragments. + * configure: Rebuild. + +Thu Aug 31 12:35:32 1995 Jim Wilson <wilson@chestnut.cygnus.com> + + * sh-opc.h (ftrc): Change FPUL_N to FPUL_M. + +Wed Aug 30 13:52:28 1995 Doug Evans <dje@canuck.cygnus.com> + + * sparc-opc.c (sparc_opcodes): Delete duplicate wr %y insn. + Add clrx, iprefetch, signx, clruw, cas, casl, casx, casxl synthetic + sparc64 insns. + + * sparc-opc.c (sparc_opcodes): Fix prefetcha insn. + (lookup_{name,value}): New functions. + (prefetch_table): New static local. + (sparc_{encode,decode}_prefetch): New functions. + * sparc-dis.c (print_insn): Handle '*' arg (prefetch function). + +Wed Aug 30 11:11:58 1995 Jim Wilson <wilson@chestnut.cygnus.com> + + * sh-opc.h: Add blank lines to improve readabililty of sh3e + instructions. + +Wed Aug 30 11:09:38 1995 Jim Wilson <wilson@chestnut.cygnus.com> + + * sh-dis.c: Correct comment on first line of file. + +Tue Aug 29 15:37:18 1995 Doug Evans <dje@canuck.cygnus.com> + + * disassemble.c (disassembler): Handle bfd_mach_sparc64. + + * sparc-opc.c (asi, membar): New static locals. + (sparc_{encode,decode}_{asi,membar}): New functions. + (sparc_opcodes, membar insn): Fix. + * sparc-dis.c (print_insn): Call sparc_decode_asi. + Support decoding of membar masks. + (X_MEMBAR): Define. + +Sat Aug 26 21:22:48 1995 Ian Lance Taylor <ian@cygnus.com> + + * m68k-opc.c (m68k_opcode_aliases): Add br, brs, brb, brw, brl. + +Mon Aug 21 17:33:36 1995 Ian Lance Taylor <ian@cygnus.com> + + * m68k-opc.c (m68k_opcode_aliases): Add bhib as an alias for bhis, + and likewise for the other branches. Add bhs as an alias for bcc, + and likewise for the size variants. Add dbhs as an alias for + dbcc. + +Fri Aug 11 13:40:24 1995 Jeff Law (law@snake.cs.utah.edu) + + * sh-opc.h (FP sts instructions): Update to match reality. + +Mon Aug 7 16:12:58 1995 Ian Lance Taylor <ian@cygnus.com> + + * m68k-dis.c: (fpcr_names): Add % before all register names. + (reg_names): Likewise. + (print_insn_arg): Don't explicitly print % before register names. + Add % before register names in static array names. In case 'r', + print data registers as `@(Dn)', not `Dn@'. When printing a + memory address, don't print @# before it. + (print_indexed): Change base_disp and outer_disp from int to + bfd_vma. Print using MIT syntax, not mutant invalid Motorola + syntax. Sign extend 8 byte displacement correctly. + (print_base): Print using MIT syntax. Print zpc when appropriate. + Change parameter disp from int to bfd_vma. + + * m68k-opc.c (m68k_opcode_aliases): Add jsrl and jsrs as aliases + for jsr. + +Mon Aug 7 02:21:40 1995 Jeff Law (law@snake.cs.utah.edu) + + * sh-dis.c (print_insn_shx): Handle new operand types F_REG_N, + F_REG_M, FPSCR_M, FPSCR_N, FPUL_M and FPUL_N. + * sh-opc.h (sh_arg_type): Add new operand types. + (sh_table): Add new opcodes from SH3E Floating Point ISA. + +Sat Aug 5 16:50:14 1995 Fred Fish <fnf@cygnus.com> + + * Makefile.in (distclean): Remove generated file config.h. + +Sat Aug 5 16:50:14 1995 Fred Fish <fnf@cygnus.com> + + * Makefile.in (distclean): Remove generated file config.h. + +Wed Aug 2 18:33:40 1995 Ian Lance Taylor <ian@cygnus.com> + + * m68k-opc.c: New file, holding tables from include/opcode/m68k.h. + Clean up tables. + * m68k-dis.c: Remove BREAK_UP_BIG_DECL stuff. + (opcode): Remove. + (print_insn_m68k): Change d to be const. Use m68k_numopcodes + rather than numopcodes. Use m68k_opcodes rather than removed + opcode function. Don't check F_ALIAS. + (print_insn_arg): Change first parameter to be const char *. + * Makefile.in (ALL_MACHINES): Add m68k-opc.o. + (m68k-opc.o): New target. + * configure.in: Build m68k-opc.o for bfd_m68k_arch. + * configure: Rebuild. + +Wed Aug 2 08:23:38 1995 Doug Evans <dje@canuck.cygnus.com> + + * sparc-dis.c (HASH_SIZE, HASH_INSN): Define. + (opcode_bits, opcode_hash_table): New variables. + (opcodes_initialized): Renamed from opcodes_sorted. + (build_hash_table): New function. + (is_delayed_branch): Use hash table. + (print_insn): Renamed from print_insn_sparc, made static. + Build and use hash table. If !sparc64, ignore sparc64 insns, + and vice-versa if sparc64. + (print_insn_sparc, print_insn_sparc64): New functions. + (compare_opcodes): Move sparc64 opcodes to end. + Print commutative insns with constant second. + * sparc-opc.c (all non-v9 insns): Use flag F_NOTV9 instead of F_ALIAS. + +Tue Aug 1 00:12:49 1995 Ian Lance Taylor <ian@cygnus.com> + + * sh-dis.c (print_insn_shx): Remove unused local dslot. Use + print_address_func for A_BDISP12 and A_BDISP8. Correct test which + avoids printing a delay slot in a delay slot. + * sh-opc.h (sh_table): Fully bracket last entry. + +Mon Jul 31 12:04:47 1995 Doug Evans <dje@canuck.cygnus.com> + + * sparc-opc.c (sllx, srax, srlx): Fix disassembly. + +Wed Jul 12 00:59:34 1995 Ken Raeburn <raeburn@kr-pc.cygnus.com> + + * configure.in: Get host_makefile_frag from ${srcdir}. + + * configure.in: Autoconfiscated. Check for string[s].h. Create + config.h from config.in. Don't set up sysdep.h link. + * sysdep.h: New file. + * configure, config.in: New files, generated from configure.in. + * Makefile.in: Updated to be processed autoconf-style. + (distclean): Keep sysdep.h. Remove config.log and config.cache. + (Makefile): Depend on config.status. + (config.status): New rule. + * configure.bat: Update Makefile substitutions. + +Tue Jul 11 14:23:37 1995 Jeff Spiegel <jeffs@lsil.com> + + * mips-opc.c (L1): Define. + (mips_opcodes): Add R4010 instructions: flushi, flushd, flushid, + addciu, madd, maddu, ffc, ffs, msub, msubu, selsi, selsr, waiti, + and wb. + +Tue Jul 11 11:49:49 1995 Ian Lance Taylor <ian@cygnus.com> + + * mips-opc.c (mips_opcodes): For the move pseudo-op, prefer daddu + if ISA 3 and addu otherwise, replacing or, since some MIPS chips + have multiple add units but only a single logical unit. + + * ppc-opc.c (powerpc_operands): Change CR to use a bitsize of 3, + shifted by 18, without any insertion or extraction function. + (insert_cr, extract_cr): Remove. + +Wed Jun 21 20:05:39 1995 Ken Raeburn <raeburn@cujo.cygnus.com> + + * m68k-dis.c (print_insn_arg, print_indexed): Print "%" before + register names. + +Thu Jun 15 17:23:31 1995 Stan Shebs <shebs@andros.cygnus.com> + + * mpw-config.in: Add sh and i386 configs, remove sparc config. + * sh-opc.h: Add copyright. + +Mon Jun 5 03:30:43 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com> + + * Makefile.in (crunch-m68k): Delete extra target accidentally + checked in a while ago. + +Wed May 24 16:22:13 1995 Jim Wilson <wilson@chestnut.cygnus.com> + + * sh-opc.h (sh_table): Add SH3 support. + +Wed May 24 14:16:08 1995 Steve Chamberlain <sac@slash.cygnus.com> + + * sh-opc.h: Added bsrf and braf. + +Wed May 10 14:28:16 1995 Richard Earnshaw (rearnsha@armltd.co.uk) + + * arm-opc.h (arm_opcodes): Add 64-bit multiply patterns. Delete + bogus [ls]fm{ea,fd} patterns. + + * arm-opc.h (arm_opcodes): Correct typos in stm, ldm, std, and ldc. + * arm-dis.c (print_insn_arm): Make GIVEN a parameter, don't try and + initialize it from memory. Make function static. + (print_insn_{big,little}_arm): New functions. + * disassemble.c (disassembler, case bfd_arch_arm): Disassemble for + the correct endianness. + +Mon Apr 24 14:18:05 1995 Jason Molenda (crash@phydeaux.cygnus.com> + + * sh-opc.h (sh_nibble_type, sh_arg_type): remove trailing , from + enum list. + +Wed Apr 19 14:07:03 1995 Michael Meissner <meissner@tiktok.cygnus.com> + + * m68k-dis.c (opcode): Finish change made by Kung Hsu on April + 17th, so that it builds again using GCC as the compiler. + +Tue Apr 18 12:14:51 1995 Ken Raeburn <raeburn@cujo.cygnus.com> + + * mips-dis.c (print_insn_little_mips): Cast return value from + bfd_getl32 from bfd_vma to unsigned long, because _print_insn_mips + expects an unsigned long, and that might be fewer words of + argument storage (e.g., if bfd_vma is long long on a 32-bit + machine). + (print_insn_big_mips): Likewise with bfd_getb32 value. + (_print_insn_mips): Now static. + +Mon Apr 17 12:23:28 1995 Kung Hsu <kung@rtl.cygnus.com> + + * m68k-dis.c: Take out #define BREAK_UP_BIG_DECL kludge, because + gcc memory hog problem with initializer is fixed. + +Mon Apr 10 15:55:01 1995 Stan Shebs <shebs@andros.cygnus.com> + + Merge in support for Mac MPW as a host. + (Old change descriptions retained for informational value.) + + * mpw-config.in (archname): Compute from the config. + (BFD_MACHINES, ARCHDEFS): Put into mk.tmp. + + * mpw-config.in (target_arch): Compute from canonical target. + (m68k, mips, powerpc, sparc): Add architectures. + * mpw-make.in (disassemble.c.o): Add. + (ALL_CFLAGS): Remove special flags (-mc68020 -mc68881 -model far). + + * mpw-config.in (BFD_MACHINES): Set to a default value. + * mpw-make.in (BFD_MACHINES): Remove wired-in value. + + * mpw-make.in (CSEARCH): Add extra-include to search path. + + * mpw-config.in (varargs.h): Don't create. + (sysdep.h): Create using forward-include. + * mpw-make.in (CSEARCH): Add include/mpw to search path. + + * mpw-config.in: New file, MPW version of configure.in. + * mpw-make.in: New file, MPW version of Makefile.in. + +Fri Mar 31 14:23:38 1995 Ken Raeburn <raeburn@cujo.cygnus.com> + + * alpha-dis.c (print_insn_alpha): Put empty statement after + default label. + +Tue Mar 21 10:51:40 1995 Jeff Law (law@snake.cs.utah.edu) + + * hppa-dis.c (sign_extend): Delete, redundant with libhppa.h version. + (low_sign_extend): Likewise. + (get_field): Delete unused function. + (set_field, deposit_14, deposit_21): Likewise. + +Fri Mar 17 15:55:53 1995 J.T. Conklin <jtc@rtl.cygnus.com> + + * i386-dis.c: Support for more pentium opcodes. From Guy Harris + (guy@netapp.com). + +Tue Mar 14 00:52:57 1995 Ken Raeburn (raeburn@kr-pc.cygnus.com) + + Sat Feb 11 17:22:41 1995 Klaus Kaempf (kkaempf@didymus.rmi.de) + + * alpha-opc.h (OSF_ASMCODE): define + print pal-code names as defined in App C of the + Alpha Architecture Reference Manual + + * alpha-dis.c: cleaned up output + print stylized code forms as defined in App A.4.3 of the + Alpha Architecture Reference Manual + +Wed Mar 8 15:21:14 1995 Ian Lance Taylor <ian@cygnus.com> + + * mips-opc.c: Add new mips4 instructions. Don't set INSN_RFE for + `rfe'. + * mips-dis.c (print_insn_arg): Handle new argument types 'h', 'R', + 'N', and 'M'. + +Wed Mar 8 02:54:05 1995 Ken Raeburn <raeburn@cujo.cygnus.com> + + * m68k-dis.c (opcode): New function. Returns address of opcode + table entry given index, even if the opcode table was split to + work around gcc bugs. + (print_insn_m68k): Call opcode instead of referencing m68k_opcodes + directly. + (BREAK_UP_BIG_DECL): Make secondary array static and const. + (reg_names): Now const. + (print_insn_arg): Arrays cacheFieldName and names now const. + (print_indexed): Array scales now const. + +Tue Mar 7 16:41:21 1995 Ian Lance Taylor <ian@cygnus.com> + + * ppc-opc.c: Sort recently added instructions by minor opcode + number within major opcode number. + +Mon Mar 6 10:04:36 1995 Jeff Law (law@snake.cs.utah.edu) + + * hppa-dis.c: Include libhppa.h. + +Fri Feb 24 19:15:36 1995 Ian Lance Taylor <ian@cygnus.com> + + * mips-opc.c: Change dli to use M_DLI, and add dla. + +Mon Feb 20 23:54:38 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * Makefile.in (ALL_MACHINES): Add w65-dis.o. + +Thu Feb 16 17:34:41 1995 Ian Lance Taylor <ian@cygnus.com> + + * mips-opc.c: Add r4650 mul instruction. + +Wed Feb 15 15:45:20 1995 Ian Lance Taylor <ian@cygnus.com> + + * mips-opc.c: Add uld and usd macros for unaligned double load and + store. + +Tue Feb 14 13:17:37 1995 Michael Meissner <meissner@tiktok.cygnus.com> + + * ppc-opc.c (powerpc_opcodes): Add 403GA opcodes rfci, dccci, + mfdcr, mtdcr, icbt, iccci. + +Thu Feb 9 12:28:13 1995 Stan Shebs <shebs@andros.cygnus.com> + + * i960-dis.c (struct tabent, struct sparse_tabent): Change the + signed char fields to shorts, more portable. + +Wed Feb 8 17:29:29 1995 Stan Shebs <shebs@andros.cygnus.com> + + * i960-dis.c (struct tabent, struct sparse_tabent): Declare the + char fields as signed chars, since they may have negative values. + +Mon Feb 6 10:52:06 1995 J.T. Conklin <jtc@rtl.cygnus.com> + + * i386-dis.c (dis386_twobyte): Add cpuid, From Charles Hannum + (mycroft@netbsd.org). + +Mon Jan 30 12:38:00 1995 Ian Lance Taylor <ian@cygnus.com> + + From "Logg, Ed" <elogg@ea.com>: + * ppc-opc.c (extract_bdm): Correct parenthezisation. + * ppc-dis.c (print_insn_powerpc): Print .long before unrecognized + value. + +Thu Jan 26 18:32:08 1995 Ian Lance Taylor <ian@cygnus.com> + + * ppc-opc.c: Changes based on patch from David Edelsohn + <edelsohn@mhpcc.edu>. + (powerpc_operands): Add operands SPRBAT and SPRG. Split TBR out of + SPR. + (FXM_MASK): Define. + (insert_tbr): New static function. + (extract_tbr): New static function. + (XFXFXM_MASK, XFXM): Define. + (XSPRBAT_MASK, XSPRG_MASK): Define. + (powerpc_opcodes): Add instructions to access special registers by + name. Add mtcr and mftbu. + +Tue Jan 17 10:56:43 1995 Ian Lance Taylor <ian@sanguine.cygnus.com> + + * mips-opc.c (P3): Define. + (mips_opcodes): Add mad and madu. + +Sun Jan 15 16:32:59 1995 Steve Chamberlain <sac@splat> + + * configure.in: Add W65 support. + * disassemble.c: Likewise. + * w65-opc.h, w65-dis.c: New files. + +Wed Dec 28 22:15:33 1994 Steve Chamberlain (sac@jonny.cygnus.com) + + * h8300-dis.c (bfd_h8_disassemble): Add support for 2 bit + immediates. + +Tue Dec 20 11:25:12 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> + + * mips-opc.c: Add dli as a synonym for li. + +Thu Dec 8 18:23:31 1994 Ken Raeburn <raeburn@cujo.cygnus.com> + + * alpha-dis.c (print_insn_alpha): Handle call_pal instruction, and + print something for reserved opcode values, even if it won't + assemble again. + + * mips-dis.c (_print_insn_mips): When initializing, shift right + and mask, to avoid sign extension problems on the Alpha. + + * m68k-dis.c (print_insn_arg, case 'J'): Handle buscr and pcr + control registers. + +Wed Nov 23 22:34:51 1994 Steve Chamberlain (sac@jonny.cygnus.com) + + * sh-opc.h (mov.l gbr): Get direction right. + * sh-dis.c (print_insn_shx): New function. + (print_insn_shl, print_insn_sh): Call print_insn_shx to + print opcodes with right byte order. + +Thu Nov 3 19:32:22 1994 Ken Raeburn <raeburn@cujo.cygnus.com> + + * ns32k-dis.c (struct ns32k_option): Renamed from struct option, + to avoid conflicts with getopt. + +Mon Oct 31 18:48:10 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> + + * hppa-dis.c (print_insn_hppa): Read the instruction using + bfd_getb32, so that it works on a little endian or 64 bit host. + Remove unused local variable op. + +Tue Oct 25 17:07:57 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> + + * mips-opc.c: Use or instead of addu for pseudo-op move, since + addu does not work correctly if -mips3. + +Wed Oct 19 13:40:16 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> + + * a29k-dis.c (print_special): Add special register names defined + on 29030, 29040 and 29050. + (print_insn): Handle new operand type 'I'. + +Wed Oct 12 11:59:55 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> + + * Makefile.in (INSTALL): Use top level install.sh script. + +Wed Oct 5 19:16:29 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> + + * sparc-dis.c: Rewrite to use bitfields, rather than a union, so + that it works on a little endian host. + +Tue Oct 4 12:14:21 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> + + * configure.in: Use ${config_shell} when running config.bfd. + +Wed Sep 21 18:49:12 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * mips-opc.c (mips_opcodes): "dabs" is only available with -mips3. + +Thu Sep 15 16:30:22 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * a29k-dis.c (print_insn): Print the opcode. + +Wed Sep 14 17:52:14 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * mips-opc.c (mips_opcodes): Set WR_t for sc and scd. + +Sun Sep 11 22:32:17 1994 Jeff Law (law@snake.cs.utah.edu) + + * hppa-dis.c (reg_names): Use r26-r23 for arg0-arg3. + +Tue Sep 6 11:37:12 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * mips-opc.c: Set INSN_STORE_MEMORY flag for all instructions + which store a value into memory. + +Sun Sep 04 17:58:10 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org) + + * configure.in, Makefile.in, disassemble.c: Add support for the ARM. + * arm-dis.c, arm-opc.h: New files. + +Fri Aug 5 14:00:05 1994 Stan Shebs (shebs@andros.cygnus.com) + + * Makefile.in (ns32k-dis.o): Add dependency. + * ns32k-dis.c (print_insn_arg): Declare initialized local as + string, not as array of chars. + +Thu Jul 28 18:14:16 1994 Ken Raeburn (raeburn@cujo.cygnus.com) + + * sparc-dis.c (print_insn_sparc): Handle new operand type 'x'. + + * sparc-opc.c: Added sparclite extended FP operations, and + versions of v9 impdep* instructions permitting specification of + the OPF field. + +Tue Jul 26 16:36:03 1994 Ken Raeburn (raeburn@cujo.cygnus.com) + + * i960-dis.c (reg_names): Now const. + (struct sparse_tabent): New type, copied from array type in mem + function. + (ctrl): Local static array ctrl_tab now const. + (cobr): Local static array cobr_tab now const. + (mem): Local variables reg1, reg2, reg3 now point to const. Local + static variable mem_tab no longer explicitly initialized. Changed + mem_init to const array of struct sparse_tabent. + (reg): Local static variable reg_tab no longer explicitly + initialized. Changed reg_init to const array of struct + sparse_tabent. + (ea): Local static array scale_tab now const. + + * i960-dis.c (reg): Added i960JX instructions to reg_init table. + (REG_MAX): Updated. + +Tue Jul 19 21:00:00 1994 DJ Delorie (dj@ctron.com) + + * configure.bat: the disassember needs to be enabled for + "objdump -d" to work in djgpp. + +Wed Jul 13 18:01:58 1994 Ken Raeburn (raeburn@cujo.cygnus.com) + + * ns32k-dis.c: Deleted all code in "#ifdef GDB". + (invalid_float): Enabled general version, doesn't require running + on ns32k host. Changed to take char* argument, and test for + explicitly specified sizes, instead of using sizeof() on host CPU + types. + (INVALID_FLOAT): Cast first argument. + (opt_u, opt_U, opt_O, opt_C, opt_S, list_P532, list_M532, + list_P032, list_M032): Now const. + (optlist, list_search): Made appropriate arguments now point to + const. + (print_insn_arg): Changed static array of one-character-string + pointers into a static const array of characters; fixed sprintf + statement accordingly. + +Sun Jul 10 00:27:47 1994 Ian Dall (dall@hfrd.dsto.gov.au) + + * opcodes/ns32k-dis.c: Semi-new file. Had apparently been dropped + from distribution. A ns32k-dis.c from a previous distribution has + been brought up to date and supports the new interface. + + * disassemble.c: define ARCH_ns32k and add case bfd_arch_ns32k. + + * configure.in: add bfd_ns32k_arch target support. + + * Makefile.in: add ns32k-dis.o to ALL_MACHINES. + Add ns32k-dis.c to CFILES. Add dependencies for ns32k-dis.o. + +Wed Jun 29 22:10:37 1994 Steve Chamberlain (sac@cygnus.com) + + * h8300-dis.c (bfd_h8_disassemble): Get 16bit branch + disassembly right. + +Tue Jun 28 13:22:06 1994 Stan Shebs (shebs@andros.cygnus.com) + + * h8300-dis.c, mips-dis.c: Don't use true and false. + +Thu Jun 23 12:53:19 1994 David J. Mackenzie (djm@rtl.cygnus.com) + + * configure.in: Change --with-targets to --enable-targets. + +Wed Jun 22 13:38:32 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * mips-dis.c (_print_insn_mips): Build a static hash table mapping + opcodes to the first instruction with that opcode, to speed + disassembly of large files. From ralphc@pyramid.com (Ralph + Campbell). + +Tue Jun 7 12:49:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * Makefile.in (mostlyclean): Fix typo (was mostyclean). + +Wed May 11 22:32:00 1994 DJ Delorie (dj@ctron.com) + + * configure.bat: update to latest makefile.in + +Sat May 7 17:13:21 1994 Steve Chamberlain (sac@cygnus.com) + + * a29k-dis.c (print_insn): Print 'x' type operand in hex. + * h8300-dis.c (bfd_h8_disassemble): Print 16bit rels correctly. + * sh-dis.c (print_insn_sh): Don't recur endlessly if delay + slot insn is in a delay slot. + * z8k-opc.h: (resflg): Fix patterns. + * h8500-opc.h Fix CR insn patterns. + +Fri May 6 14:34:46 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ppc-opc.c (powerpc_opcodes): Put PowerPC versions of "cmp" and + "cmpl" before POWER versions, so that gas -many uses them. + +Thu Apr 28 18:32:36 1994 Ken Raeburn (raeburn@cujo.cygnus.com) + + * disassemble.c: New file. + * Makefile.in (OFILES): Add disassemble.o. + (disassemble.o): Provide dependencies; compile with $(ARCHDEFS). + * configure.in: Define ARCHDEFS in Makefile. Code taken from + binutils/configure.in. + + * m68k-dis.c (print_insn_m68k): If F_ALIAS flag is set, skip the + opcode being examined. + +Thu Apr 21 17:08:40 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ppc-opc.c (powerpc_operands): Added RAL, RAM and RAS. + (insert_ral, insert_ram, insert_ras): New functions. + (powerpc_opcodes): Use RAL for load with update, RAM for lmw, and + RAS for store with update. + +Sat Apr 16 23:41:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ppc-opc.c (powerpc_opcodes): Correct fcir. From David Edelsohn + (edelsohn@npac.syr.edu). + +Wed Apr 6 17:11:45 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * mips-opc.c (mips_opcodes): Correct operands of "nor" with an + immediate argument. + +Mon Apr 4 16:30:46 1994 Doug Evans (dje@canuck.cygnus.com) + + * sparc-opc.c (sparc_opcodes): Fix "rd %fprs,%l0". + +Mon Apr 4 13:22:00 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ppc-opc.c (powerpc_operands): The signedp field has been + removed, so don't initialize it. Set the PPC_OPERAND_SIGNED flag + instead. Add new operand SISIGNOPT. + (powerpc_opcodes): For lis, liu, addis, and cau use SISIGNOPT. + Based on patch from David Edelsohn (edelsohn@npac.syr.edu). + * ppc-dis.c (print_insn_powerpc): Check PPC_OPERAND_SIGNED rather + than signedp field. + +Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * i386-dis.c (struct private): Renamed to dis_private. `private' + is a reserved word for dynix cc. + +Mon Mar 28 13:00:15 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * configure.in: Change error message to refer to bfd/config.bfd + rather than bfd/configure.in. + +Mon Mar 28 12:28:30 1994 David Edelsohn (edelsohn@npac.syr.edu) + + * ppc-opc.c: Define POWER2 as short alias flag. + (powerpc_opcodes): Add POWER/2 opcodes lfq*, stfq*, fcir[z], and + fsqrt. + +Wed Mar 23 12:23:05 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * i960-dis.c (print_insn_i960): Don't read a second word for + opcodes 0, 1, 2 and 3. + +Wed Mar 16 15:37:58 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * configure.in: Don't build m68881-ext.o for bfd_m68k_arch. + +Mon Mar 14 14:53:50 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * m68881-ext.c: Removed; no longer used. + * Makefile.in: Changed accordingly. + + * m68k-dis.c (ext_format_68881): Don't declare. + (print_insn_m68k): If an instruction uses place 'i', it uses at + least four fixed bytes. + (print_insn_arg): Don't bump p by 2 for case 'I', place 'i'. For + extended float, convert to double using floatformat_to_double, not + ieee_extended_to_double, and fetch the data before converting it. + +Tue Mar 8 18:12:25 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * mips-opc.c: It's sqrt.s, not sqrt.w. From + davidj@ICSI.Berkeley.EDU (David Johnson). + +Tue Feb 8 16:55:27 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ppc-opc.c (powerpc_opcodes): The POWER uses bdn[l][a] where the + PowerPC uses bdnz[l][a]. + +Tue Feb 8 00:32:28 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * dis-buf.c, i386-dis.c: Include sysdep.h. + +Mon Feb 7 19:22:23 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * configure.in (bfd_powerpc_arch): Use ppc-dis.o and ppc-opc.o. + + * ppc-opc.c (powerpc_opcodes): Mark POWER instructions supported + by Motorola PowerPC 601 with PPC_OPCODE_601. + * ppc-dis.c (print_insn_big_powerpc, print_insn_little_powerpc): + Disassemble Motorola PowerPC 601 instructions as well as normal + PowerPC instructions. + +Sun Feb 6 07:45:17 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + + * i960-dis.c (reg, mem): Just use a static array instead of + calling xmalloc. + +Sat Feb 5 00:04:02 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + + * hppa-dis.c (print_insn_hppa): For '?' and '@' only adjust the + condition name index if this is for a negated condition. + + * hppa-dis.c (print_insn_hppa): No space before 'H' operand. + Floating point format for 'H' operand is backwards from normal + case (0 == double, 1 == single). For '4', '6', '7', '9', and '8' + operands (fmpyadd and fmpysub), handle bizarre register + translation correctly for single precision format. + + * hppa-dis.c (print_insn_hppa): Do not emit a space after 'F' + or 'I' operands if the next format specifier is 'M' (fcmp + condition completer). + +Feb 4 23:38:03 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ppc-opc.c (powerpc_operands): New operand type MBE to handle a + single number giving a bitmask for the MB and ME fields of an M + form instruction. Change NB to accept 32, and turn it into 0; + also turn 0 into 32 when disassembling. Seperated SH from NB. + (insert_mbe, extract_mbe): New functions. + (insert_nb, extract_nb): New functions. + (SC_MASK): Mask out SA and LK bits. + (powerpc_opcodes): Change "cal" to use RT, D, RA rather than RT, + RA, SI. Change "liu" and "cau" to use UI rather than SI. Mark + "bctr" and "bctrl" as accepted by POWER. Change "rlwimi", + "rlimi", "rlwimi.", "rlimi.", "rlwinm", "rlinm", "rlwinm.", + "rlinm.", "rlmi", "rlmi.", "rlwnm", "rlnm", "rlwnm.", "rlnm." to + use MBE rather than MB. Add "mfmq" and "mtmq" POWER instructions. + (powerpc_macros): Define table of macro definitions. + (powerpc_num_macros): Define. + + * ppc-dis.c (print_insn_powerpc): Don't skip optional operands + if PPC_OPERAND_NEXT is set. + +Sat Jan 22 23:10:07 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * i960-dis.c (print_insn_i960): Make buffer bfd_byte instead of + char. Retrieve contents using bfd_getl32 instead of shifting. + +Fri Jan 21 19:01:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ppc-opc.c: New file. Opcode table for PowerPC, including + opcodes for POWER (RS/6000). + * ppc-dis.c: New file. PowerPC and Power (RS/6000) disassembler. + * Makefile.in (ALL_MACHINES): Add ppc-dis.o and ppc-opc.o. + (CFILES): Add ppc-dis.c. + (ppc-dis.o, ppc-opc.o): New targets. + * configure.in: Build ppc-dis.o and ppc-opc.o for bfd_rs6000_arch. + +Mon Jan 17 20:05:49 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + + * hppa-dis.c (print_insn_hppa): Handle 'N' in assembler template. + No space before 'u', 'f', or 'N'. + +Sun Jan 16 14:20:16 1994 Jim Kingdon (kingdon@deneb.cygnus.com) + + * i386-dis.c (print_insn_i386): Add FIXME comment regarding reading + farther than we should. + + * i386-dis.c (dis386): Use Yb and Yv for scasb and scasS. + +Thu Jan 6 12:38:05 1994 David J. Mackenzie (djm@thepub.cygnus.com) + + * sparc-dis.c m68k-dis.c alpha-dis.c a29k-dis.c: Fix comments. + +Wed Jan 5 11:56:21 1994 David J. Mackenzie (djm@thepub.cygnus.com) + + * i960-dis.c (print_insn_i960): Only read word2 if the instruction + needs it, to prevent reading past the end of a section. + +Wed Nov 17 17:20:12 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * mips-opc.h: Use macro for j instruction, to support SVR4 PIC. + Removed t,A case for la; always use t,A(b) case. + +Mon Nov 8 12:37:36 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + From Ted Lemen <mellon@pepper.ncd.com> + * mips-dis.c (print_insn_arg): Handle 'k'. + * mips-opc.c: Make cache use k, not t. + +Sun Nov 7 23:52:34 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * alpha-opc.h, alpha-dis.c (print_insn_alpha): Add + FLOAT_MEMORY_FORMAT_CODE, FLOAT_BRANCH_FORMAT_CODE, correct + FLOAT_FORMAT_CODE to put out floating point register names. + +Mon Nov 1 18:17:51 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * mips-opc.c: Use macros for jal variants, to support SVR4 PIC. + +Thu Oct 28 17:42:23 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * a29k-dis.c (print_insn): Use 0x%08x, not 0x%8x. + +Wed Oct 27 11:48:01 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * mips-opc.c (dsll, dsra, dsrl): Added '>' cases for shift counts + larger than 32. Moved dsxx32 variants first for disassembler. + +Mon Oct 25 11:33:14 1993 Steve Chamberlain (sac@phydeaux.cygnus.com) + + * z8kgen.c, z8k-opc.h: Add full lda information. + +Tue Oct 19 12:39:25 1993 Jeffrey A Law (law@cs.utah.edu) + + * hppa-dis.c (print_insn_hppa): Do not emit a space after + movb instructions. Any necessary space will be emitted by + the code to handle nullification completers. + +Wed Oct 13 16:19:07 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * mips-opc.c: Moved l.d down so that it disassembles as ldc1. + +Fri Oct 8 02:34:21 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * alpha-opc.h: Add ldl_l, fix typo for ldq_u. + * alpha-dis.c (print_insn_alpha): Add code for PAL_FORMAT_CODE. + +Tue Oct 5 17:47:53 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * mips-opc.c: Correct lwu opcode value (book had it wrong). + +Thu Sep 30 11:26:18 1993 Steve Chamberlain (sac@phydeaux.cygnus.com) + + * z8k-dis.c (FETCH_DATA): get just the right amount of data. + (unpack_instr): Cope with ARG_IMM4M1 type instructions. + +Wed Sep 29 16:24:49 1993 K. Richard Pixley (rich@sendai.cygnus.com) + + * m88k-dis.c (m88kdis): comment change. Remove space after + printing mnemonic. + (printop): handle new arg types DEC and XREG for m88110. + +Tue Sep 28 19:20:16 1993 Jeffrey A Law (law@snake.cs.utah.edu) + + * hppa-dis.c (print_insn_hppa): Handle 'z' operand + type for absolute branch addresses. Delete special + "ble" and "be" code in 'W' operand code. + +Fri Sep 24 14:08:33 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * mips-opc.c: Set hazard information correctly for branch + likely instructions. + +Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * alpha-dis.c (print_insn_alpha), alpha-opc.h: Fix bugs, use + info->fprintf_func for printing and info->print_address_func for + address output. + +Wed Sep 15 12:12:07 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * mips-opc.c: Set INSN_TRAP for tXX instructions. + +Thu Sep 9 10:11:27 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * mips-opc.c: From davidj@ICSI.Berkeley.EDU (David Johnson): + Corrected second case of "b" for disassembler. + +Tue Sep 7 14:25:15 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * mips-dis.c, m88k-dis.c: Don't include libbfd.h. Changed calls + to BFD swapping routines to correspond to BFD name changes. + +Thu Sep 2 10:35:25 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * mips-opc.c: Change div machine instruction to be z,s,t rather + than s,t. Change div macro to be d,v,t rather than d,s,t. + Likewise for divu, ddiv, ddivu. Added z,s,t case for drem, dremu, + rem and remu which generates only the corresponding div + instruction. This is for compatibility with the MIPS assembler, + which only generates the simple machine instruction when an + explicit destination of $0 is used. + * mips-dis.c (print_insn_arg): Handle 'z' (always register zero). + +Thu Aug 26 17:41:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * mips-opc.c: From davidj@ICSI.Berkeley.EDU (David Johnson): Set + WR_31 hazard for bal, bgezal, bltzal. + +Thu Aug 26 17:20:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * hppa-dis.c (print_insn_hppa): Use print function + from within the disassemble_info, not fprintf_filtered. + +Wed Aug 25 13:51:40 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) + + * hppa-dis.c (print_insn_hppa): Handle '|' like '>'. (From Jeff + Law, law@cs.utah.edu.) + +Mon Aug 23 12:44:05 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * mips-opc.c ("absu"): Removed. + ("dabs"): Added. + +Fri Aug 20 10:52:52 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * mips-opc.c: Added r6000 and r4000 instructions and macros. + Changed hazard information to distinguish between memory load + delays and coprocessor load delays. + +Wed Aug 18 15:39:23 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * mips-opc.c: li.d uses "T,L", not "S,F". Added li.s. + +Tue Aug 17 09:44:42 1993 David J. Mackenzie (djm@thepub.cygnus.com) + + * configure.in: Don't pass cpu to config.bfd. + +Tue Aug 17 12:23:52 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * m88k-dis.c (m88kdis): Make class unsigned. + +Thu Aug 12 15:08:18 1993 Ian Lance Taylor (ian@cygnus.com) + + * alpha-dis.c (print_insn_alpha): One branch format case was + missing the instruction name. + +Wed Aug 11 19:29:39 1993 David J. Mackenzie (djm@thepub.cygnus.com) + + * Makefile.in (ALL_MACHINES): Renamed from DIS_LIBS. + Add the arch-specific auxiliary files. + (OFILES): Remove the arch-specific auxiliary files + and use BFD_MACHINES instead of DIS_LIBS. + * configure.in: Set BFD_MACHINES based on --with-targets option. + +Thu Aug 12 12:04:53 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * mips-opc.c: Added lwc1 E,A(b) to go with lwc1 T,A(b). Similarly + for swc1. + +Sun Aug 8 15:09:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * sparc-opc.c: Change CONST to const to deal with gcc + -Dconst=__const -traditional. + +Fri Aug 6 10:58:55 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * mips-opc.c: From davidj@ICSI.Berkeley.EDU (David Johnson): Took + coprocessor instructions out of #if 0, and made them use new + argument type "C". + +Thu Aug 5 17:11:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * sparc-dis.c: Include ansidecl.h before opcodes/sparc.h. + +Fri Jul 30 18:48:15 1993 John Gilmore (gnu@cygnus.com) + + * sparc-opc.c: Add F_JSR, F_UNBR, or F_CONDBR flags to each branch + instruction, for use by the disassembler. + + * sparc-dis.c (SEX): Add sign extension macro. Replace many + hand-coded sign extensions that depended on 32-bit host ints. + FIXME, we still depend on big-endian host bitfield ordering. + (sparc_print_insn): Set the insn_info_valid field, and the + other fields that describe the instruction being printed. + +Tue Jul 27 17:04:58 1993 Jim Wilson (wilson@sphagnum.cygnus.com) + + * sparc-opc.c (call): Accept all 6 addressing modes valid for + `jmp' instead of just one of them. + +Wed Jul 21 11:43:32 1993 Jim Kingdon (kingdon@deneb.cygnus.com) + + * hppa-dis.c: Move floating registers from reg_names to fp_reg_names. + (fput_fp_reg_r): Renamed from fput_reg_r. + (fput_fp_reg): New function. + (print_insn_hppa): Use fput_fp_reg{,_r} where appropriate. + + * hppa-dis.c (print_insn_hppa, cases 'a', 'd'): Print space afterwards. + + * hppa-dis.c (print_insn_hppa, case 'd'): Use GET_COND not GET_FIELD. + +Mon Jul 19 13:52:21 1993 Jim Kingdon (kingdon@deneb.cygnus.com) + + * hppa-dis.c (print_insn_hppa): Use extract_5r_store for 'r'. + + * hppa-dis.c (print_insn_hppa, case '>'): If next character is 'n', + don't output a space. + + * hppa-dis.c (float_format_names): 10 is undefined, and 11 is quad. + +Sun Jul 18 16:30:02 1993 Jim Kingdon (kingdon@rtl.cygnus.com) + + * mips-opc.c: New file, containing opcode table from + ../include/opcode/mips.h. + * Makefile.in: Add it. + +Thu Jul 15 12:37:05 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * m88k-dis.c: New file, moved in from gdb and changed to use the + new dis-asm.h disassembler interface. + * Makefile.in (DIS_LIBS): Added m88k-dis.o. + (m88k-dis.o): New target. + +Tue Jul 13 10:04:16 1993 Ian Lance Taylor (ian@cygnus.com) + + * mips-dis.c (print_insn_arg, _print_insn_mips): Made pointer to + argument string const char * to correspond to opcode/mips.h. + +Tue Jul 6 15:18:37 1993 Ian Lance Taylor (ian@cygnus.com) + + * mips-dis.c: Updated to account for name changes in new version + of opcode/mips.h. + * Makefile.in: Added header file dependencies. + +Sat Jul 3 23:47:56 1993 Doug Evans (dje@canuck.cygnus.com) + + * h8300-dis.c (bfd_h8_disassemble): Correct fetching of instruction. + +Thu Jul 1 12:23:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * m68k-dis.c (NEXTWORD, NEXTLONG): Use ((x) ^ 0x8000) - 0x8000 to sign + extend, rather than shifts. + +Sun Jun 20 20:56:56 1993 Ken Raeburn (raeburn@poseidon.cygnus.com) + + * Makefile.in: Undo 15 June change. + +Fri Jun 18 14:15:15 1993 Per Bothner (bothner@deneb.cygnus.com) + + * m68k-dis.c (print_insn_arg): Change return value to byte count + or error code. + * m68k-dis.c: Re-write to detect invalid operands before + printing anything, so we can handle this the same way we + handle invalid opcodes. + +Thu Jun 17 15:01:36 1993 Steve Chamberlain (sac@phydeaux.cygnus.com) + + * sh-dis.c, sh-opc.h: Understand some more opcodes. + +Wed Jun 16 13:48:05 1993 Ian Lance Taylor (ian@cygnus.com) + + * hppa-dis.c: Include <ansidecl.h> and sysdep.h before other + header files. + +Tue Jun 15 21:45:26 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) + + * sparc-dis.c: Don't declare qsort, since sysdep.h might. + + * configure.in: Do make sysdep.h link. + * Makefile.in: Search ../include. Don't search ../bfd. + +Tue Jun 15 13:36:10 1993 Stu Grossman (grossman@cygnus.com) + + Changes from Jeff Law, law@cs.utah.edu: + * hppa-dis.c: Fix typo. 'a' and 'd' were reversed. + Do not print a space before the completers specified by + 'a' and 'd'. + +Fri Jun 11 18:40:21 1993 Ken Raeburn (raeburn@cygnus.com) + + * mips-dis.c: No longer need to bomb out if HOST_64_BIT is + defined, since gdb has been fixed. + + Changes from Jeff Law, law@cs.utah.edu: + * hppa-dis.c (print_insn_hppa): Last argument to fput_reg, + fput_reg_r, fput_creg, fput_const, and fputs_filtered should + be a *disassemble_info, not a *FILE. + * hppa-dis.c: Support 'd', '!', and 'a'. + * hppa-dis.c: Support 's' to extract a 2 bit space register. + * hppa-dis.c: Delete cases which are no longer needed. + +Fri Jun 11 07:53:48 1993 Jim Kingdon (kingdon@cygnus.com) + + * m68k-dis.c (print_insn_{m68k,arg}): Add MMU codes. + +Tue Jun 8 12:25:01 1993 Steve Chamberlain (sac@phydeaux.cygnus.com) + + * h8300-dis.c: New file, removed from bfd/cpu-h8300.c, with + H8/300-H opcodes. + +Mon Jun 7 12:58:49 1993 Per Bothner (bothner@rtl.cygnus.com) + + * Makefile.in (CSEARCH): Add -I../bfd for sysdep.h and bfd.h. + * configure.in: No longer need to configure to get sysdep.h. + +Thu Jun 3 15:56:49 1993 Stu Grossman (grossman@cygnus.com) + + * Patches from Jeffrey Law <law@cs.utah.edu>. + * hppa-dis.c: Support 'I', 'J', and 'K' in output + templates for 1.1 FP computational instructions. + +Tue May 25 13:05:48 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) + + * h8500-dis.c (print_insn_h8500): Address argument is type + bfd_vma. + * z8k-dis.c (print_insn_z8k, print_insn_z8001, print_insn_z8002): + Ditto. + + * h8500-opc.h (addr_class_type): No comma at end of enumerator. + * sh-opc.h (sh_nibble_type, sh_arg_type): Ditto. + + * sparc-dis.c (compare_opcodes): Move static declaration to + top-level. + +Fri May 21 14:17:37 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * sparc-dis.c (print_insn_sparc): Implement 'n' argument for unimp + instruction, remove unimp hack from 'l' argument. + +Wed May 19 15:35:54 1993 Stu Grossman (grossman@cygnus.com) + + * z8k-dis.c (fetch_data): Use unsigned char to make ancient gcc's + happy. + +Fri May 14 15:22:46 1993 Ian Lance Taylor (ian@cygnus.com) + + * Based on patches from davidj@ICSI.Berkeley.EDU (David Johnson): + * mips-dis.c (print_insn_arg): Handle 'C' for general coprocessor + instructions. + +Fri May 14 00:09:14 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) + + * hppa-dis.c: Include dis-asm.h before sysdep.h. Changed some + arrays of string pointers to 2-d arrays of chars, to save + space. + +Thu May 6 20:51:17 1993 Fred Fish (fnf@cygnus.com) + + * a29k-dis.c, alpha-dis.c, i960-dis.c, sparc-dis.c, z8k-dis.c: + Cast second arg to read_memory_func to "bfd_byte *", as necessary. + +Tue May 4 20:31:10 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) + + * hppa-dis.c: New file from Utah, adapted to new disassembler + calling interface. + * Makefile.in: Include it. + +Mon Apr 26 18:17:42 1993 Steve Chamberlain (sac@thepub.cygnus.com) + + * sh-dis.c, sh-opc.h: New files. + +Fri Apr 23 18:51:22 1993 Steve Chamberlain (sac@thepub.cygnus.com) + + * alpha-dis.c, alpha-opc.h: New files. + +Tue Apr 6 12:54:08 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * mips-dis.c: Sign extend 'j' and 'b' arguments, delta is a signed + value. + +Mon Apr 5 17:37:37 1993 John Gilmore (gnu@cygnus.com) + + * sparc-dis.c: Make "ta" the default trap instruction, "t" the alias. + +Fri Apr 2 07:24:27 1993 Ian Lance Taylor (ian@cygnus.com) + + * a29k-dis.c, sparc-dis.c, sparc-opc.c: Use CONST rather than + const. + +Thu Apr 1 11:20:43 1993 Jim Kingdon (kingdon@cygnus.com) + + * sparc-dis.c: Use fprintf_func a few places where I forgot, + and double percent signs a few places. + + * a29k-dis.c, i960-dis.c: New, merged from gdb and binutils. + + * i386-dis.c, m68k-dis.c, mips-dis.c, sparc-dis.c: + Use info->print_address_func not print_address. + + * dis-buf.c (generic_print_address): New function. + +Wed Mar 31 10:07:04 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * Makefile.in: Add sparc-dis.c. + sparc-dis.c: New file, merges binutils and gdb versions as follows: + From GDB: + Add `add' instruction to the set that get checked + for a preceding `sethi' in order to print an absolute address. + * (print_insn): Disassembly prefers real instructions. + (is_delayed_branch): Speed up. + * sparc-opcode.h: Add ALIAS bit to aliases. Fix up opcode tables. + Still missing some float ops, and needs testing. + * sparc-pinsn.c (print_insn): Eliminate 'set' test, subsumed by + F_ALIAS. Use printf, not fprintf, when not passing a file + pointer... + (compare_opcodes): Check that identical instructions have + identical opcodes, complain otherwise. + From binutils: + * New 'm' arg. + * Include reg_names. + From neither: + Use dis-asm.h/read_memory_func interface. + +Wed Mar 31 20:49:06 1993 K. Richard Pixley (rich@rtl.cygnus.com) + + * h8500-dis.c, i386-dis.c, m68k-dis.c, z8k-dis.c (fetch_data): + deliberately return non-zero to setjmp from longjmp. Otherwise + this code fails to compile. + +Wed Mar 31 17:04:31 1993 Stu Grossman (grossman@cygnus.com) + + * m68k-dis.c: Fix prototype for fetch_arg(). + +Wed Mar 31 10:07:04 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * dis-buf.c: New file, for new read_memory_func interface. + Makefile.in (OFILES): Include it. + m68k-dis.c, i386-dis.c, h8500-dis.c, mips-dis.c, z8k-dis.c: + Use new read_memory_func interface. + +Mon Mar 29 14:02:17 1993 Steve Chamberlain (sac@thepub.cygnus.com) + + * h8500-dis.c (print_insn_h8500): Get sign of fp offsets right. + * h8500-opc.h: Fix couple of opcodes. + +Wed Mar 24 02:03:36 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com) + + * Makefile.in: add dvi & installcheck targets + +Mon Mar 22 18:55:04 1993 John Gilmore (gnu@cygnus.com) + + * Makefile.in: Update for h8500-dis.c. + +Fri Mar 19 14:27:17 1993 Steve Chamberlain (sac@thepub.cygnus.com) + + * h8500-dis.c, h8500-opc.h: New files + +Thu Mar 18 14:12:37 1993 Per Bothner (bothner@rtl.cygnus.com) + + * mips-dis.c, z8k-dis.c: Converted to use interface defined in + ../include/dis-asm.h. + * m68k-dis.c: New file (merge of ../binutils/m68k-pinsn.c + and ../gdb/m68k-pinsn.c). + * i386-dis.c: New file (merge of ../binutils/i386-pinsn.c + and ../gdb/i386-pinsn.c). + * m68881-ext.c: New file. Moved definition of + ext_format ext_format_68881 from ../gdb/m68k-tdep.c. + * Makefile.in: Adjust for new files. + * i386-dis.c: Patches from John Hassey (hassey@dg-rtp.dg.com). + * m68k-dis.c: Recognize '9' placement code, so (say) pflush + can be dis-assembled. + +Wed Feb 17 09:19:47 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) + + * mips-dis.c (print_insn_arg): Now returns void. + +Mon Jan 11 16:09:16 1993 Fred Fish (fnf@cygnus.com) + + * mips-dis.c (ansidecl.h): Include for benefit of sysdep.h + files that use the macros. + +Thu Jan 7 13:15:17 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * mips-dis.c: New file, from gdb/mips-pinsn.c. + * Makefile.in (DIS_LIBS): Added mips-dis.o. + (CFILES): Added mips-dis.c. + +Thu Jan 7 07:36:33 1993 Steve Chamberlain (sac@thepub.cygnus.com) + + * z8k-dis.c (print_insn_z8001, print_insn_z8002): new routines + * z8kgen.c, z8k-opc.h: fix sizes of some shifts. + +Tue Dec 22 15:42:44 1992 Per Bothner (bothner@rtl.cygnus.com) + + * Makefile.in: Improve *clean rules. + * configure.in: Allow a default host. + +Tue Nov 17 19:53:54 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) + + * Makefile.in: also use -I$(srcdir)/../bfd, since some sysdep + files include other sysdep files + +Thu Nov 12 16:10:37 1992 Steve Chamberlain (sac@thepub.cygnus.com) + + * z8k-dis.c z8k-opc.h z8kgen.c: checkpoint + +Fri Oct 9 04:56:05 1992 John Gilmore (gnu@cygnus.com) + + * configure.in: For host support, use ../bfd/configure.host + so it stays in sync with the ../bfd/hosts database. + +Thu Oct 1 23:38:54 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) + + * configure.in: use cpu-vendor-os triple instead of nested cases + +Wed Sep 30 16:09:20 1992 Michael Werner (mtw@cygnus.com) + + * z8k-dis.c (unparse_instr): fix bug where opcode returned was + *always* the wrong one. + +Wed Sep 30 07:42:17 1992 Steve Chamberlain (sac@thepub.cygnus.com) + + * z8kgen.c: added copyright info + +Tue Sep 29 12:20:21 1992 Steve Chamberlain (sac@thepub.cygnus.com) + + * z8k-dis.c (unparse_instr): prettier tabs + * z8kgen.c -> z8k-opc.h: bug fixes in tables + +Fri Sep 25 12:50:32 1992 Stu Grossman (grossman at cygnus.com) + + * configure.in: Add ncr* configuration. + * z8k-dis.c (struct instr_data_s): Make instr_asmsrc char to make + picayune ANSI compilers happy. + +Sep 20 08:50:55 1992 Fred Fish (fnf@cygnus.com) + + * configure.in (i386): Make i386 and i486 synonymous for now. + * configure.in (i[34]86-*-sysv4): Add my_host definition. + +Fri Sep 18 17:01:23 1992 Ken Raeburn (raeburn@cambridge.cygnus.com) + + * Makefile.in (install): Fix typo. + +Fri Sep 18 02:04:24 1992 John Gilmore (gnu@cygnus.com) + + * Makefile.in (make): Remove obsolete crud. + (sparc-opc.o): Avoid Sun Make VPATH bug. + +Tue Sep 8 17:29:27 1992 K. Richard Pixley (rich@sendai.cygnus.com) + + * Makefile.in: since there are no SUBDIRS, remove rule and + references of subdir_do. + +Tue Sep 8 17:02:58 1992 Ken Raeburn (raeburn@cambridge.cygnus.com) + + * Makefile.in (install): Get the library name right here too. + Don't install bfd.h, since it's unrelated to this library. No + subdirs to recurse into, either. + (CFILES): The source file has a .c suffix, not .o. + + * sparc-opc.c: New file, moved from BFD. + * Makefile.in (OFILES): Build it. + +Thu Sep 3 16:59:20 1992 Michael Werner (mtw@cygnus.com) + + * z8k-dis.c: fixed forward refferences of some declarations. + +Mon Aug 31 16:09:45 1992 Michael Werner (mtw@cygnus.com) + + * Makefile.in: get the name of the library right + +Mon Aug 31 13:47:35 1992 Steve Chamberlain (sac@thepub.cygnus.com) + + * z8k-dis.c: knows how to disassemble z8k stuff + * z8k-opc.h: new file full of z8000 opcodes + + +Local Variables: +version-control: never +End: diff --git a/opcodes/ChangeLog-9899 b/opcodes/ChangeLog-9899 new file mode 100644 index 0000000..8588f0a --- /dev/null +++ b/opcodes/ChangeLog-9899 @@ -0,0 +1,1669 @@ +1999-12-27 Alan Modra <alan@spri.levels.unisa.edu.au> + + * i386-dis.c (grps[]): Correct GRP5 FF/3 from "call" to "lcall". + +Wed Dec 1 03:34:53 1999 Jeffrey A Law (law@cygnus.com) + + * m10300-opc.c, m10300-dis.c: Add am33 support. + +Wed Nov 24 20:29:58 1999 Jeffrey A Law (law@cygnus.com) + + * hppa-dis.c (unit_cond_names): Add PA2.0 unit condition names. + (print_insn_hppa): Handle 'B' operand. + +1999-11-22 Nick Clifton <nickc@cygnus.com> + + * d10v-opc.c: Fix pattern for "cpfg,f{0|1},c" instruction. + +1999-11-18 Gavin Romig-Koch <gavin@cygnus.com> + + * mips-opc.c (I5): New. + (abs.ps,add.ps,alnv.ps,c.COND.ps,cvt.s.pl,cvt.s.pu,cvt.ps.s + madd.ps,movf.ps,movt.ps,mul.ps,net.ps,nmadd.ps,nmsub.ps, + pll.ps,plu.ps,pul.ps,puu.ps,sub.ps,suxc1,luxc1): New. + +Mon Nov 15 19:34:58 1999 Donald Lindsay <dlindsay@cygnus.com> + + * arm-dis.c (print_insn_arm): Added general purpose 'X' format. + * arm-opc.h (print_insn_arm): Added comment documenting + the 'X' format just added to arm-dis.c. + +1999-11-15 Gavin Romig-Koch <gavin@cygnus.com> + + * mips-opc.c (la): Create a version that just uses addiu directly. + (dla): Expand to daddiu if possible. + +1999-11-11 Nick Clifton <nickc@cygnus.com> + + * mips-opc.c: Add ssnop pattern. + +1999-11-01 Gavin Romig-Koch <gavin@cygnus.com> + + * mips-dis.c (_print_insn_mips): Use OPCODE_IS_MEMBER. + +1999-10-29 Nick Clifton <nickc@cygnus.com> + + * d30v-opc.c (mvtacc): Use format SHORT_AR not SHORT_AA + (d30v_format_tab): Define the SHORT_AR format. + +1999-10-28 Nick Clifton <nickc@cygnus.com> + + * mcore-dis.c: Remove spurious code introduced in previous delta. + +1999-10-27 Scott Bambrough <scottb@netwinder.org> + + * arm-dis.c: Include sysdep.h to prevent compile time warnings. + +1999-10-18 Michael Meissner <meissner@cygnus.com> + + * alpha-opc.c (alpha_operands): Fill in missing initializer. + (alpha_num_operands): Convert to unsigned. + (alpha_num_opcodes): Ditto. + (insert_rba): Declare unused arguments ATTRIBUTE_UNUSED. + (insert_rca): Ditto. + (insert_za): Ditto. + (insert_zb): Ditto. + (insert_zc): Ditto. + (extract_bdisp): Ditto. + (extract_jhint): Ditto. + (extract_ev6hwjhint): Ditto. + +Sun Oct 10 01:48:01 1999 Jerry Quinn <jerry.quinn.adv91@alum.dartmouth.org> + + * hppa-dis.c (print_insn_hppa): Add new codes 'cc', 'cd', 'cC', + 'co', '@'. + + * hppa-dis.c (print_insn_hppa): Removed unused args. Fix '?W'. + + * hppa-dis.c (print_insn_hppa): Implement codes "?N", "?Q". + +Thu Oct 7 00:12:43 MDT 1999 Diego Novillo <dnovillo@cygnus.com> + + * d10v-opc.c (d10v_operands): Add RESTRICTED_NUM3 flag for + rac/rachi instructions. + (d10v_opcodes): Added seven new instructions ld, ld2w, sac, sachi, + slae, st and st2w. + +1999-10-04 Doug Evans <devans@casey.cygnus.com> + + * fr30-asm.c,fr30-desc.h: Rebuild. + * m32r-asm.c,m32r-desc.c,m32r-desc.h: Rebuild. Add m32rx support. + * m32r-dis.c,m32r-ibld.c,m32r-opc.c,m32r-opc.h,m32r-opinst.c: Ditto. + +1999-09-29 Nick Clifton <nickc@cygnus.com> + + * sh-opc.h: Fix bit patterns for several load and store + instructions. + +Thu Sep 23 08:27:20 1999 Jerry Quinn <jerry.quinn.adv91@alum.dartmouth.org + + * hppa-dis.c (print_insn_hppa): Replace 'B', 'M', 'g' and 'l' with + cleaner code using completer prefixes. Add 'Y'. + +Sun Sep 19 10:41:27 1999 Jeffrey A Law (law@cygnus.com) + + * hppa-dis.c: (print_insn_hppa): Correct 'cJ', 'cc'. + + * hppa-dis.c (extract_22): New function. + + * hppa-dis.c (print_insn_hppa): Handle 'J', 'K', and 'cc'. + + * hppa-dis.c (print_insn_hppa): Handle 'fe' and 'cJ'. + + * hppa-dis.c (print_insn_hppa): Handle '#', 'd', and 'cq'. + + * hppa-dis.c (print_insn_hppa): Handle 'm', 'h', '='. + + * hppa-dis.c (print_insn_hppa): Handle 'X' operand. + + * hppa-dis.c (print_insn_hppa): Handle 'B' operand. + + * hppa-dis.c (print_insn_hppa): Handle 'M' and 'L' operands. + + * hppa-dis.c (print_insn_hppa): Handle 'l' operand. + + * hppa-dis.c (print_insn_hppa): Handle 'g' operand. + +Sat Sep 18 11:36:12 1999 Jeffrey A Law (law@cygnus.com) + + * hppa-dis.c (print_insn_hppa): Output a space after 'X' completer. + + * hppa-dis.c: (print_insn_hppa): Do output a space before a 'v' + operand. + + * hppa-dis.c: (print_insn_hppa): Handle 'fX'. + + * hppa-dis.c: (print_insn_hppa): Add missing break after + FP register case. + + * hppa-dis.c: Finish constifying various completers, register + names, etc etc. + +1999-09-14 Michael Meissner <meissner@cygnus.com> + + * configure.in (Canonicalization of target names): Remove adding + ${CONFIG_SHELL} in front of $ac_config_sub, since autoconfig 2.14 + generates $ac_config_sub with a ${CONFIG_SHELL} already. + * configure: Regenerate. + +Tue Sep 7 13:50:32 1999 Jeffrey A Law (law@cygnus.com) + + * hppa-dis.c (print_insn_hppa): Escape '%' in output strings. + + * hppa-dis.c (print_insn_hppa): Handle 'Z' argument. + +1999-09-07 Nick Clifton <nickc@cygnus.com> + + * sh-opc.h: Add mulu.w and muls.w patterns. These are the correct + names for the mulu and muls patterns. + +1999-09-04 Steve Chamberlain <sac@pobox.com> + + * pj-opc.c: New file. + * pj-dis.c: New file. + * disassemble.c (disassembler): Handle bfd_arch_pj. + * configure.in: Handle bfd_pj_arch. + * Makefile.am: Rebuild dependencies. + (CFILES): Add pj-dis.c and pj-opc.c. + (ALL_MACHINES): Add pj-dis.lo and pj-opc.lo. + * configure, Makefile.in: Rebuild. + +1999-09-04 H.J. Lu <hjl@gnu.org> + + * i386-dis.c (print_insn_i386): Set bytes_per_line to 7. + +Mon Aug 30 18:56:14 1999 Richard Henderson <rth@cygnus.com> + + * alpha-opc.c (fetch, fetch_m, ecb, wh64): RA must be R31. + +1999-08-04 Doug Evans <devans@casey.cygnus.com> + + * fr30-asm.c,fr30-desc.h,fr30-dis.c,fr30-ibld.c,fr30-opc.c: Rebuild. + * m32r-asm.c,m32r-desc.h,m32r-dis.c,m32r-ibld.c,m32r-opc.c: Rebuild. + * m32r-opinst.c: Rebuild. + +Sat Aug 28 00:27:24 1999 Jerry Quinn <jquinn@nortelnetworks.com> + + * hppa-dis.c (print_insn_hppa): Replace 'f' by 'v'. Prefix float + register args by 'f'. + + * hppa-dis.c (print_insn_hppa): Add args q, %, !, and |. + + * hppa-dis.c (MASK_10, read_write_names, add_compl_names, + extract_10U_store): New. + (print_insn_hppa): Add new completers. + + * hppa-dis.c (signed_unsigned_names,mix_half_names, + saturation_names): New. + (print_insn_hppa): Add completer codes 'a', 'ch', 'cH', 'cS', and 'c*'. + + * hppa-dis.c (print_insn_hppa): Place completers behind prefix 'c'. + + * hppa-dis.c (print_insn_hppa): Add cases for '.', '~'. '$'. and '!' + + * hppa-dis.c (print_insn_hppa): Look at next arg instead of bits + to decide to print a space. + +1999-08-21 Alan Modra <alan@spri.levels.unisa.edu.au> + + * i386-dis.c: Add AMD athlon instruction support. + +1999-08-10 Ian Lance Taylor <ian@zembu.com> + + From Wally Iimura <iimura@microunity.com>: + * dis-buf.c (buffer_read_memory): Rewrite expression to avoid + overflow at end of address space. + (generic_print_address): Use sprintf_vma. + +1999-08-08 Ian Lance Taylor <ian@zembu.com> + + * Makefile.am: Rename .dep* files to DEP*. Change DEP variable to + MKDEP. Rebuild dependencies. + * Makefile.in: Rebuild. + +Fri Aug 6 09:46:35 1999 Jerry Quinn <jquinn@nortelnetworks.com> + + * hppa-dis.c (compare_cond_64_names, cmpib_cond_64_names, + add_cond_64_names, wide_add_cond_names, logical_cond_64_names, + unit_cond_64_names, shift_cond_64_names, bb_cond_64_names): New. + (print_insn_hppa): Add 64 bit condition completers. + +Thu Aug 5 16:59:58 1999 Jerry Quinn <jquinn@nortelnetworks.com> + + * hppa-dis.c (print_insn_hppa): Change condition args to use + '?' prefix. + +Wed Jul 28 04:33:58 1999 Jerry Quinn <jquinn@nortelnetworks.com> + + * hppa-dis.c (print_insn_hppa): Remove unnecessary test in 'E' + code. + +1999-07-21 Ian Lance Taylor <ian@zembu.com> + + From Mark Elbrecht: + * configure.bat: Remove; obsolete. + +1999-07-11 Ian Lance Taylor <ian@zembu.com> + + * dis-buf.c: Add ATTRIBUTE_UNUSED as appropriate. + (generic_strcat_address): Add cast to avoid warning. + * i386-dis.c: Initialize all structure fields to avoid warnings. + Add ATTRIBUTE_UNUSED as appropriate. + +1999-07-08 Jakub Jelinek <jj@ultra.linux.cz> + + * sparc-dis.c (print_insn_sparc): Differentiate between + addition and oring when guessing symbol for comment. + +1999-07-05 Nick Clifton <nickc@cygnus.com> + + * arm-dis.c (print_insn_arm): Display hex equivalent of rotated + constant. + +1999-06-23 Alan Modra <alan@spri.levels.unisa.edu.au> + + * i386-dis.c: Mention intel mode specials in macro char comment. + +1999-06-21 Ian Lance Taylor <ian@zembu.com> + + * alpha-dis.c: Don't include <stdlib.h>. + * arm-dis.c: Include "sysdep.h". + * tic30-dis.c: Don't include <stdlib.h> or <string.h>. Include + "sysdep.h". + * Makefile.am: Rebuild dependencies. + * Makefile.in: Rebuild. + +1999-06-16 Nick Clifton <nickc@cygnus.com> + + * arm-dis.c (print_insn_arm): Add detection of IMB and IMBRange + SWIs. + +1999-06-14 Nick Clifton <nickc@cygnus.com> & Drew Mosley <dmoseley@cygnus.com> + + * arm-dis.c (arm_regnames): Turn into a pointer to a register + name set. + (arm_regnames_standard): New variable: Array of ARM register + names according to ARM instruction set nomenclature. + (arm_regnames_apcs): New variable: Array of ARM register names + according to ARM Procedure Call Standard. + (arm_regnames_raw): New variable: Array of ARM register names + using just 'r' and the register number. + (arm_toggle_regnames): New function: Toggle the chosen register set + naming scheme. + (parse_disassembler_options): New function: Parse any target + disassembler command line options. + (print_insn_big_arm): Call parse_disassembler_options if any + are defined. + (print_insn_little_arm): Call parse_disassembler_options if any + are defined. + +1999-06-13 Ian Lance Taylor <ian@zembu.com> + + * i386-dis.c (FWAIT_OPCODE): Define. + (used_prefixes): New static variable. + (fetch_data): Don't print an error message if we have already + fetched some bytes successfully. + (ckprefix): Clear used_prefixes. Use FWAIT_OPCODE, not 0x9b. + (prefix_name): New static function. + (print_insn_i386): If setjmp fails, indicating a data error, but + we have managed to fetch some bytes, print the first one as a + prefix or a .byte pseudo-op. If fwait is followed by a non + floating point instruction, print the first prefix. Set + used_prefixes when prefixes are used. If any prefixes were not + used after disassembling the instruction, print the first prefix + instead of printing the instruction. + (putop): Set used_prefixes when prefixes are used. + (append_seg, OP_E, OP_G, OP_REG, OP_I, OP_sI, OP_J): Likewise. + (OP_DIR, OP_SIMD_Suffix): Likewise. + +1999-06-07 Jakub Jelinek <jj@ultra.linux.cz> + + * sparc-opc.c: Fix up set, setsw, setuw operand kinds. + Support signx %reg, clruw %reg. + +1999-06-07 Jakub Jelinek <jj@ultra.linux.cz> + + * sparc-opc.c: Add aliases Solaris as supports. + +Mon Jun 7 12:04:52 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> + + * Makefile.am (CFILES): Add arc-{dis,opc}.c and v850-{dis,opc}.c. + * Makefile.in: Regenerated. + +1999-06-03 Philip Blundell <philb@gnu.org> + + * arm-dis.c (print_insn_arm): Make LDRH/LDRB consistent with LDR + when target is PC-relative. + +1999-05-28 Linus Nordberg <linus.nordberg@canit.se> + + * m68k-opc.c: Rename MACL/MSACL to MAC/MSAC. Add MACM/MSACM. Add + MOVE MACSR,CCR. + + * m68k-dis.c (fetch_arg): Add places `n', `o'. + + * m68k-opc.c: Add MSAC, MACL, MOVE to/from ACC, MACSR, MASK. + Add mcf5206e to appropriate instructions. + Add alias for MAC, MSAC. + + * m68k-dis.c (print_insn_arg): Add formats `E', `G', `H' and place + `N'. + + * m68k-opc.c (m68k_opcodes): Add divsw, divsl, divuw, divul, macl, + macw, remsl, remul for mcf5307. Change mcf5200 --> mcf. + + * m68k-dis.c: Add format `u' and places `h', `m', `M'. + +1999-05-18 Alan Modra <alan@spri.levels.unisa.edu.au> + + * i386-dis.c (Ed): Define. + (dis386_twobyte_att, dis386_twobyte_intel): Use Ed for movd. + (Rw): Remove. + (OP_rm): Rename to OP_Rd. + (ONE): Remove. + (OP_ONE): Remove. + (putop): Add const to template and p. + (print_insn_x86): Delete. + (print_insn_i386): Merge old function print_insn_x86. Add const + to dp. + (struct dis386): Add const to name. + (dis386_att, dis386_intel): Add const. + (dis386_twobyte_att, dis386_twobyte_intel): Add const. + (names32, names16, names8, names_seg, index16): Add const. + (grps, prefix_user_table, float_reg): Add const. + (float_mem_att, float_mem_intel): Add const. + (oappend): Add const to s. + (OP_REG): Add const to s. + (ptr_reg): Add const to s. + (dofloat): Add const to dp. + (OP_C): Don't skip modrm, it's now done in OP_Rd. + (OP_D): Ditto. + (OP_T): Ditto. + (OP_Rd): Check for valid mod. Call Op_E to print. + (OP_E): Handle d_mode arg. Check for bad sfence,lea,lds etc. + (OP_MS): Check for valid mod. Call Op_EM to print. + (OP_3DNowSuffix): Set obufp and use oappend rather than + strcat. Call BadOp() for errors. + (OP_SIMD_Suffix): Likewise. + (BadOp): New function. + +1999-05-12 Alan Modra <alan@spri.levels.unisa.edu.au> + + * i386-dis.c (dis386_intel): Remove macro chars, except for + jEcxz. Change cWtR and cRtd to cW and cR. + (dis386_twobyte_intel): Remove macro chars here too. + (putop): Handle R and W macros for intel mode. + + * i386-dis.c (SIMD_Fixup): New function. + (dis386_twobyte_att): Use it on movlps and movhps, and change + Ev to EX on these insns. Change movmskps Ev, XM to Gv, EX. + (dis386_twobyte_intel): Same here. + + * i386-dis.c (Av): Remove. + (Ap): remove lptr. + (lptr): Remove. + (OPSIMD): Define. + (OP_SIMD_Suffix): New function. + (OP_DIR): Remove dead code. + (eAX_reg..eDI_reg): Renumber. + (onebyte_has_modrm): Table numbering comments. + (INTERNAL_DISASSEMBLER_ERROR): Move to before print_insn_x86. + (print_insn_x86): Move all prefix oappends to after uses_f3_prefix + checks. Print error on invalid dp->bytemode2. Remove simd_cmp, + and handle SIMD cmp insns in OP_SIMD_Suffix. + (info->bytes_per_line): Bump from 5 to 6. + (OP_None): Remove. + (OP_E): Use INTERNAL_DISASSEMBLER_ERROR. Handle sfence. + (OP_3DNowSuffix): Ensure mnemonic index unsigned. + + PIII SIMD support from Doug Ledford <dledford@redhat.com> + * i386-dis.c (XM, EX, None): Define. + (OP_XMM, OP_EX, OP_None): New functions. + (USE_GROUPS, USE_PREFIX_USER_TABLE): Define. + (GRP14): Rename to GRPAMD. + (GRP*): Add USE_GROUPS flag. + (PREGRP*): Define. + (dis386_twobyte_att, dis386_twobyte_intel): Add SIMD insns. + (twobyte_has_modrm): Add SIMD entries. + (twobyte_uses_f3_prefix, simd_cmp_op, prefix_user_table): New. + (grps): Add SIMD insns. + (print_insn_x86): New vars uses_f3_prefix and simd_cmp. Don't + oappend repz if uses_f3_prefix. Add code to handle new groups for + SIMD insns. + + From Maciej W. Rozycki <macro@ds2.pg.gda.pl> + * i386-dis.c (dis386_att, dis386_intel): Change 0xE8 call insn + operand from Av to Jv. + +1999-05-07 Nick Clifton <nickc@cygnus.com> + + * mcore-dis.c (print_insn_mcore): Use .short to display + unidentified instructions, not .word. + +1999-04-26 Tom Tromey <tromey@cygnus.com> + + * aclocal.m4, configure: Updated for new version of libtool. + +1999-04-14 Doug Evans <devans@casey.cygnus.com> + + * fr30-desc.c,fr30-desc.h,fr30-dis.c,fr30-ibld.c,fr30-opc.c: Rebuild. + * m32r-desc.c,m32r-desc.h,m32r-dis.c,m32r-ibld.c,m32r-opc.c: Rebuild. + +Mon Apr 12 23:46:17 1999 Jeffrey A Law (law@cygnus.com) + + * hppa-dis.c (print_insn_hppa, case '3'): New case for PA2.0 + instructions. + +1999-04-10 Doug Evans <devans@casey.cygnus.com> + + * fr30-desc.c,fr30-desc.h,fr30-ibld.c: Rebuild. + * m32r-desc.c,m32r-desc.h,m32r-opinst.c: Rebuild. + +1999-04-06 Ian Lance Taylor <ian@zembu.com> + + * opintl.h (LC_MESSAGES): Never define. + +1999-04-04 Ian Lance Taylor <ian@zembu.com> + + * i386-dis.c (intel_syntax, open_char, close_char): Make static. + (separator_char, scale_char): Likewise. + (print_insn_x86): Likewise. + (print_insn_i386): Likewise. Add declaration. + +1999-03-26 Doug Evans <devans@casey.cygnus.com> + + * fr30-dis.c: Rebuild. + * m32r-dis.c: Rebuild. + +1999-03-23 Ian Lance Taylor <ian@zembu.com> + + * m68k-opc.c: Change compare instructions to use "@s" rather than + ";s" when used with an immediate operand. + +1999-03-22 Doug Evans <devans@casey.cygnus.com> + + * cgen-opc.c (cgen_set_cpu): Delete. + (cgen_lookup_insn): max_insn_size renamed to max_insn_bitsize. + * fr30-desc.c,fr30-desc.h,fr30-dis.c,fr30-ibld.c,fr30-opc.c,fr30-opc.h: + Rebuild. + * m32r-desc.c,m32r-desc.h,m32r-dis.c,m32r-ibld.c,m32r-opc.c,m32r-opc.h: + Rebuild. + * po/opcodes.pot: Rebuild. + +1999-03-16 Martin Hunt <hunt@cygnus.com> + + * d30v-opc.c (mvtsys): Remove FLAG_LKR. + +1999-03-11 Doug Evans <devans@casey.cygnus.com> + + * cgen-opc.c (cgen_set_cpu): New arg `isa'. All callers updated. + (cgen_operand_lookup_by_name,cgen_operand_lookup_by_num): New fns. + (cgen_get_insn_operands): Rewrite test for hardcoded/operand index. + * fr30-asm.c,fr30-desc.c,fr30-desc.h,fr30-dis.c,fr30-ibld.c: Rebuild. + * m32r-asm.c,m32r-desc.c,m32r-desc.h,m32r-dis.c,m32r-ibld.c: Rebuild. + * m32r-opinst.c: Rebuild. + +1999-02-25 Doug Evans <devans@casey.cygnus.com> + + * cgen-opc.c (cgen_hw_lookup_by_name): Rewrite. + (cgen_hw_lookup_by_num): Rewrite. + * fr30-desc.c,fr30-desc.h,fr30-dis.c,fr30-ibld.c,fr30-opc.c: Rebuild. + * m32r-desc.c,m32r-desc.h,m32r-dis.c,m32r-ibld.c,m32r-opc.c: Rebuild. + * m32r-opinst.c: Rebuild. + +Sat Feb 13 14:06:19 1999 Richard Henderson <rth@cygnus.com> + + * alpha-opc.c: Add sqrt+flags patterns. Add EV6 PALcode insns. + (insert_jhint): Fix insertion mask. + * alpha-dis.c (print_insn_alpha): Disassemble EV6 PALcode insns. + +1999-02-10 Doug Evans <devans@casey.cygnus.com> + + * Makefile.in: Rebuild. + +1999-02-09 Doug Evans <devans@casey.cygnus.com> + + * i960c-asm.c,i960c-dis.c,i960c-opc.c,i960c-opc.h: Delete. + * i960-dis.c (print_insn_i960): Rename from print_insn_i960_orig. + * Makefile.am: Remove references to them. + (HFILES): Add fr30-desc.h,m32r-desc.h. + (CFILES): Add fr30-desc.c,fr30-ibld.c,m32r-desc.c,m32r-ibld.c, + m32r-opinst.c. + (ALL_MACHINES): Update. + * configure.in: Redo handling of cgen_files. + (bfd_i960_arch): Delete i960c-*.lo files. + * configure: Regenerate. + * cgen-asm.c (*): CGEN_OPCODE_DESC renamed to CGEN_CPU_DESC. + (hash_insn_array): Rewrite. + * cgen-dis.c (*): CGEN_OPCODE_DESC renamed to CGEN_CPU_DESC. + (hash_insn_array): Rewrite. + * cgen-opc.c (*): CGEN_OPCODE_DESC renamed to CGEN_CPU_DESC. + (cgen_lookup_insn,cgen_get_insn_operands): Define here. + (cgen_lookup_get_insn_operands): Ditto. + * fr30-asm.c,fr30-dis.c,fr30-opc.c,fr30-opc.h: Regenerate. + * m32r-asm.c,m32r-dis.c,m32r-opc.c,m32r-opc.h: Regenerate. + * po/POTFILES.in: Rebuild. + * po/opcodes.pot: Rebuild. + +Fri Feb 5 00:04:24 1999 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.am: Rebuild dependencies. + (HFILES): Add fr30-opc.h. + (CFILES): Add fr30-asm.c, fr30-dis.c, fr30-opc.c. + * Makefile.in: Rebuild. + + * configure.in: Change AC_PREREQ to 2.13. Remove AM_CYGWIN32. + Change AM_EXEEXT to AC_EXEEXT and AM_PROG_INSTALL to + AC_PROG_INSTALL. + * acconfig.h: Remove. + * configure: Rebuild with current autoconf/automake. + * aclocal.m4: Likewise. + * config.in: Likewise. + * Makefile.in: Likewise. + +Thu Feb 4 13:48:52 1999 Ian Lance Taylor <ian@cygnus.com> + + * m68k-opc.c: Correct move (not movew) to status word on 5200. + +Mon Feb 1 20:54:36 1999 Catherine Moore <clm@cygnus.com> + + * disassemble.c (disassembler): Handle bfd_mach_i386_i386_intel_syntax. + * i386-dis.c (x_mode): Define. + (dis386): Remove. + (dis386_att): New. + (dis386_intel): New. + (dis386_twobyte): Remove. + (dis386_twobyte_att): New. + (dis386_twobyte_intel): New. + (print_insn_x86): Use new arrays. + (float_mem): Remove. + (float_mem_intel): New. + (float_mem_att): New. + (dofloat): Use new float_mem arrays. + (print_insn_i386_att): New. + (print_insn_i386_intel): New. + (print_insn_i386): Handle bfd_mach_i386_i386_intel_syntax. + (putop): Handle intel syntax. + (OP_indirE): Handle intel syntax. + (OP_E): Handle intel syntax. + (OP_I): Handle intel syntax. + (OP_sI): Handle intel syntax. + (OP_OFF): Handle intel syntax. + +1999-01-27 Doug Evans <devans@casey.cygnus.com> + + * fr30-opc.h,fr30-opc.c: Rebuild. + * i960c-opc.h,i960c-opc.c: Rebuild. + * m32r-opc.c: Rebuild. + +Tue Jan 19 18:01:54 1999 David Taylor <taylor@texas.cygnus.com> + + * hppa-dis.c: revert HP merge changes until HP gives us + an updated file. + +1999-01-19 Nick Clifton <nickc@cygnus.com> + + * arm-dis.c (print_insn_arm): Display ARM syntax for PC relative + offsets as well as symbloic address. + +Tue Jan 19 10:51:01 1999 David Taylor <taylor@texas.cygnus.com> + + * hppa-dis.c: fix comments and some indentation. + +1999-01-12 Doug Evans <devans@casey.cygnus.com> + + * fr30-opc.c,i960c-opc.c: Regenerate. + +1999-01-11 Doug Evans <devans@casey.cygnus.com> + + * fr30-opc.c: Regenerate. + +1999-01-06 Doug Evans <devans@casey.cygnus.com> + + * m32r-dis.c: Regenerate. + +1999-01-05 Doug Evans <devans@casey.cygnus.com> + + * fr30-asm.c,fr30-dis.c,fr30-opc.h,fr30-opc.c: Regenerate. + * i960c-asm.c,i960c-dis.c,i960c-opc.h,i960c-opc.c: Regenerate. + * m32r-asm.c,m32r-dis.c,m32r-opc.h,m32r-opc.c: Regenerate. + +1999-01-04 Jason Molenda (jsm@bugshack.cygnus.com) + + * configure.in: Require autoconf 2.12.1 or higher. + +1998-12-30 Gavin Romig-Koch <gavin@cygnus.com> + + * mips16-opc.c: Mark branch insns with MIPS16_INSN_BRANCH. + +Wed Dec 16 16:17:49 1998 Dave Brolley <brolley@cygnus.com> + + * fr30-opc.c: Regenerated. + +1998-12-16 Gavin Romig-Koch <gavin@cygnus.com> + + * mips-dis.c (set_mips_isa_type): Handle bfd_mach_mips4111. + +1998-12-15 Dave Brolley <brolley@cygnus.com> + + * fr30-opc.c,fr30-opc.h: Regenerated. + +1998-12-14 Dave Brolley <brolley@cygnus.com> + + * fr30-opc.c,fr30-opc.h: Regenerated. + +Thu Dec 10 18:39:46 1998 Dave Brolley <brolley@cygnus.com> + + * fr30-opc.c,fr30-opc.h: Regenerated. + +Thu Dec 10 12:49:24 1998 Doug Evans <devans@canuck.cygnus.com> + + * m32r-opc.c: Regenerate. + +Tue Dec 8 13:56:18 1998 David Taylor <taylor@texas.cygnus.com> + + * dis-buf.c (generic_strcat_address): reformat to GNU coding + conventions. change sprintf call to an sprintf_vma call. + +Tue Dec 8 13:12:44 1998 Dave Brolley <brolley@cygnus.com> + + * fr30-asm.c,fr30-dis.c,fr30-opc.c,fr30-opc.h: Regenerated. + +Tue Dec 8 10:50:46 1998 David Taylor <taylor@texas.cygnus.com> + + The following changes were made by + Elena Zannoni <ezannoni@kwikemart.cygnus.com>, + David Taylor <taylor@texas.cygnus.com>, and + Edith Epstein <eepstein@sophia.cygnus.com> as part of a project to + merge in changes by HP; HP did not create ChangeLog entries. + + * dis-buf.c (generic_strcat_address): new function. + + * hppa-dis.c: Changes to improve hppa disassembly. + Changed formatting in : reg_names, fp_reg_names,control_reg, + New variables : sign_extension_names, deposit_names, conversion_names + float_test_names, compare_cond_names_double, add_cond_names_double, + logical_cond_names_double, unit_cond_names_double, + branch_push_pop_names, saturation_names, shift_names, mix_names, + New Macros : GET_COMPL_O, GET_PUSH_POP,MERGED_REG + Move some definitions to libhppa.h: GET_FIELD, GET_BIT + (fput_const): renamed as fput_hex_const + (print_insn_hppa): + - use the macros fputs_filtered and + fput_decimal_const whenever possible; calls to sign_extend require + 2 params -- add a missing second param of 0. + - Some new code ifdefed for LOCAL_ONLY, all related to figuring out + architecture version number of current machine. HP folks are + trying to handle situation where the target program was compiled + for PA 1.x (32-bit), but is running on a PA 2.0 machine and + visa versa. + - added new cases : 'g', 'B', 'm' + - added cases specifically for PA 2.0 + - changed the following cases : '"', 'n', 'N', 'p', 'Z', + - calls to fput_const become calls to fput_hex_const + +1998-12-07 James E Wilson <wilson@wilson-pc.cygnus.com> + + * Makefile.am (CFILES): Add i960c-asm, i960c-dis.c, i960c-opc.c. + (ALL_MACHINES): Add i960c-asm.lo, i960c-dis.lo, i960-opc.lo. + (i960-asm.lo, i960c-dis.lo, i960c-opc.lo): New Makefile rules. + * Makefile.in: Rebuilt. + * configure.in (bfd_i960_arch): Add i960c-opc.lo, i960-asm.o, + i960-dis.c to ta. + * i960-dis.c (print_insn_i960): Rename to print_insn_i960_orig. + * i960c-asm.c, i960c-dis.c, i960c-opc.c, i960c-opc.h: New files. + +Mon Dec 7 14:33:44 1998 Dave Brolley <brolley@cygnus.com> + + * fr30-asm.c,fr30-dis.c,fr30-opc.c,fr30-opc.h: Regenerated. + +Sun Dec 6 14:06:48 1998 Ian Lance Taylor <ian@cygnus.com> + + * mips-opc.c (mips_builtin_opcodes): Add dmfc2 and dmtc2. + + * ppc-opc.c (powerpc_opcodes): Add PowerPC403 GC[X] instructions. + From Saitoh Masanobu <msaitoh@spa.is.uec.ac.jp>. + +Fri Dec 4 17:45:51 1998 Doug Evans <devans@canuck.cygnus.com> + + * fr30-opc.c: Regenerate. + +Fri Dec 4 17:08:08 1998 Dave Brolley <brolley@cygnus.com> + + * fr30-asm.c,fr30-dis.c,fr30-opc.c,fr30-opc.h: Regenerated. + +Thu Dec 3 14:26:20 1998 Dave Brolley <brolley@cygnus.com> + + * fr30-asm.c,fr30-dis.c,fr30-opc.c,fr30-opc.h: Regenerated. + +Thu Dec 3 00:09:17 1998 Doug Evans <devans@canuck.cygnus.com> + + * fr30-asm.c,fr30-dis.c,fr30-opc.c,fr30-opc.h: Regenerate. + +1998-11-30 Doug Evans <devans@casey.cygnus.com> + + * cgen-dis.c (hash_insn_array): CGEN_INSN_VALUE -> + CGEN_INSN_BASE_VALUE. + * m32r-opc.c,m32r-opc.h,m32r-asm.c,m32r-dis.c: Regenerate. + * fr30-opc.c,fr30-opc.h,fr30-asm.c,fr30-dis.c: Regenerate. + +Thu Nov 26 11:26:32 1998 Dave Brolley <brolley@cygnus.com> + + * fr30-asm.c,fr30-dis.c,fr30-opc.c: Regenerated. + +Tue Nov 24 11:20:54 1998 Dave Brolley <brolley@cygnus.com> + + * fr30-asm.c,fr30-dis.c: Regenerated. + +Mon Nov 23 18:28:48 1998 Dave Brolley <brolley@cygnus.com> + + * fr30-asm.c,fr30-dis.c,fr30-opc.c,fr30-opc.h: Regenerated. + +1998-11-20 Doug Evans <devans@tobor.to.cygnus.com> + + * fr30-opc.c: Regenerated. + +Thu Nov 19 16:02:46 1998 Dave Brolley <brolley@cygnus.com> + + * fr30-opc.c: Regenerated. + * fr30-opc.h: Regenerated. + * fr30-dis.c: Regenerated. + * fr30-asm.c: Regenerated. + +Thu Nov 19 07:54:15 1998 Doug Evans <devans@charmed.cygnus.com> + + * mips-opc.c (sync.p,sync.l): Swap insn values. + +1998-11-19 Doug Evans <devans@tobor.to.cygnus.com> + + * fr30-opc.c: Regenerate. + +Wed Nov 18 21:36:37 1998 Dave Brolley <brolley@cygnus.com> + + * fr30-opc.c: Regenerated. + * fr30-opc.h: Regenerated. + +1998-11-18 Doug Evans <devans@casey.cygnus.com> + + * m32r-asm.c,m32r-dis.c,m32r-opc.c: Rebuild. + * fr30-asm.c,fr30-dis.c,fr30-opc.c: Rebuild. + +Wed Nov 18 11:30:04 1998 Dave Brolley <brolley@cygnus.com> + + * fr30-opc.c: Regenerated. + +Mon Nov 16 19:21:48 1998 Dave Brolley <brolley@cygnus.com> + + * fr30-opc.c: Regenerated. + * fr30-opc.h: Regenerated. + * fr30-dis.c: Regenerated. + * fr30-asm.c: Regenerated. + +Thu Nov 12 19:24:18 1998 Dave Brolley <brolley@cygnus.com> + + * po/opcodes.pot: Regenerated. + * fr30-opc.c: Regenerated. + * fr30-opc.h: Regenerated. + * fr30-dis.c: Regenerated. + * fr30-asm.c: Regenerated. + +Tue Nov 10 15:26:27 1998 Nick Clifton <nickc@cygnus.com> + + * disassemble.c (disassembler): Add support for FR30 target. + +Tue Nov 10 11:00:04 1998 Doug Evans <devans@canuck.cygnus.com> + + * m32r-dis.c,m32r-opc.c,m32r-opc.h: Rebuild. + * fr30-dis.c,fr30-opc.c,fr30-opc.h: Rebuild. + +Mon Nov 9 18:22:55 1998 Dave Brolley <brolley@cygnus.com> + + * po/opcodes.pot: Regenerate. + * po/POTFILES.in: Regenerate. + * fr30-opc.c: Regenerate. + * fr30-opc.h: Regenerate. + +Fri Nov 6 17:21:38 1998 Doug Evans <devans@canuck.cygnus.com> + + * m32r-asm.c: Regenerate. + +Wed Nov 4 18:46:47 1998 Dave Brolley <brolley@cygnus.com> + + * configure.in: Added case for bfd_fr30_arch. + * Makefile.am (CFILES): Added fr30-asm.c, fr30-dis.c, fr30-opc.c. + (ALL_MACHINES): Added fr30-asm.lo, fr30-dis.lo, fr30-opc.lo. + (CLEANFILES): Added stamp-fr30. + (FR30_DEPS): Added. + * fr30-asm.c: New file. + * fr30-dis.c: New file. + * fr30-opc.c: New file. + * fr30-opc.h: New file. + * po/POTFILES.in: Regenerated + * po/opcodes.pot: Regenerated + +Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com> + + * configure.in: detect cygwin* instead of cygwin32* + * configure: regenerate + +Tue Oct 27 08:58:37 1998 Gavin Romig-Koch <gavin@cygnus.com> + + * mips-opc.c (IS_M): Added. + +Mon Oct 19 13:03:19 1998 Doug Evans <devans@seba.cygnus.com> + + * m32r-opc.c,m32r-opc.h,m32r-asm.c,m32r-dis.c: Regenerate. + +Fri Oct 9 14:01:56 1998 Doug Evans <devans@seba.cygnus.com> + + * m32r-opc.h,m32r-opc.c: Regenerate. + +Sun Oct 4 21:01:44 1998 Alan Modra <alan@spri.levels.unisa.edu.au> + + * i386-dis.c (OP_3DNowSuffix): New static function. + (OPSUF): Define. + (GRP14): Define. + (dis386_twobyte): Add GRP14, femms, and 3DNow entries. + (twobyte_has_modrm): Set entries corresponding to GRP14, 3DNow. + (insn_codep): New static variable. + (print_insn_x86): Init insn_codep after prefixes. + (grps): Add GRP14 entries for prefetch, prefetchw. + (OP_REG): Reformat. + + From Jeff B Epler <jepler@usgs.gov> + * i386-dis.c (Suffix3DNow): New table. + +Wed Sep 30 10:17:50 1998 Nick Clifton <nickc@cygnus.com> + + * d10v-opc.c: Treat TRAP as if it were a branch type instruction. + +Mon Sep 28 14:35:43 1998 Martin M. Hunt <hunt@cygnus.com> + + * d10v-dis.c (print_operand): If num is nonzero, then + add OPERAND_ACC1, not OPERAND_ACC0. + +Thu Sep 24 09:20:03 1998 Nick Clifton <nickc@cygnus.com> + + * d30v-opc.c: Add FLAG_JSR attribute to DBT, REIT, RTD, and TRAP + insns. + +Tue Sep 22 17:55:14 1998 Nick Clifton <nickc@cygnus.com> + + * d30v-opc.c: Add use of EITHER_BUT_PREFER_MU execution unit + class. + +Tue Sep 15 15:14:45 1998 Doug Evans <devans@canuck.cygnus.com> + + * m32r-opc.h,m32r-opc.c: Add bbpc,bbpsw support. + +1998-09-09 Michael Meissner <meissner@cygnus.com> + + * ppc-opc.c (powerpc_opcodes): Add support for PowerPC 750 move + to/from SPRs. + +Fri Sep 4 19:42:59 1998 Nick Clifton <nickc@cygnus.com> + + * arm-dis.c (print_insn_big_arm): Detect Thumb symbols in elf + object files. + (print_insn_little_arm): Detect Thumb symbols in elf object + files. + +Sat Aug 29 22:24:09 1998 Richard Henderson <rth@cygnus.com> + + * alpha-dis.c (print_insn_alpha): Use the machine type to + decide which PALcode set to include. + +Sun Aug 23 02:16:18 1998 Richard Henderson <rth@cygnus.com> + + * sparc-opc.c (FBRX): Fix typo in ",a,pn %fcc3" case. + +Fri Aug 21 16:07:52 1998 Nick Clifton <nickc@cygnus.com> + + * d30v-opc.c (d30v_opcode_table): Add FLAG_MUL32 to MAC, MACS, + MSUB and MSUBS instructions. + +Thu Aug 13 16:23:04 1998 Ian Lance Taylor <ian@cygnus.com> + + * ppc-opc.c (powerpc_operands): Omit parens around additions in + operand name macros. + +Wed Aug 12 14:00:38 1998 Ian Lance Taylor <ian@cygnus.com> + + From Peter Jeremy <peter.jeremy@auss2.alcatel.com.au>: + * m68k-opc.c: Correct mulsl and mulul to use q rather than D, a, + +, -, and d for ColdFire. + + From Peter Thiemann <thiemann@informatik.uni-tuebingen.de>: + * ppc-opc.c (insert_mbe): Handle wrapping bitmasks. + (extract_mbe): Likewise. + +Wed Aug 12 11:11:34 1998 Jeffrey A Law (law@cygnus.com) + + * m10300-opc.c: Fix typo in udf20 .. udf25 instruction opcodes. + + * m10300-opc.c: First cut at UDF instructions. + +Mon Aug 10 14:08:22 1998 Doug Evans <devans@canuck.cygnus.com> + + * m32r-opc.c: Regenerate (remove semantic descriptions). + +Mon Aug 10 12:51:12 1998 Catherine Moore <clm@cygnus.com> + + * arm-dis.c (print_insn_big_arm): Fix indentation. + (print_insn_little_arm): Likewise. + +Sun Aug 9 20:17:28 1998 Catherine Moore <clm@cygnus.com> + + * arm-dis.c (print_insn_big_arm): Check for thumb symbol + attributes. + (print_insn_little_arm): Likewise. + +Mon Aug 3 12:43:16 1998 Doug Evans <devans@seba.cygnus.com> + + Move all global state data into opcode table struct, and treat + opcode table as something that is "opened/closed". + * cgen-asm.c (all fns): New first arg of opcode table descriptor. + (cgen_asm_init): Delete. + (cgen_set_parse_operand_fn): New function. + * cgen-dis.c (all fns): New first arg of opcode table descriptor. + (cgen_dis_init): Delete. + * cgen-opc.c (all fns): New first arg of opcode table descriptor. + (cgen_current_{opcode_table_mach,endian}): Delete. + * m32r-asm.c,m32r-dis.c,m32r-opc.c,m32r-opc.h: Regenerate. + +Thu Jul 30 21:41:10 1998 Frank Ch. Eigler <fche@cygnus.com> + + * d30v-opc.c (d30v_opcode_table): Add new "LKR" flag to some + instructions. + +Tue Jul 28 11:00:09 1998 Jeffrey A Law (law@cygnus.com) + + * m10300-opc.c: Add entries for "no_match_operands" field in + the opcode table. + +Fri Jul 24 11:41:37 1998 Doug Evans <devans@canuck.cygnus.com> + + * m32r-asm.c,m32r-opc.c: Regenerate (-Wall cleanups). + +Tue Jul 21 13:41:07 1998 Doug Evans <devans@seba.cygnus.com> + + * m32r-opc.h,m32r-opc.c,m32r-asm.c,m32r-dis.c: Regenerate. + +Mon Jul 13 14:53:59 1998 Alan Modra <alan@spri.levels.unisa.edu.au> + + * i386-dis.c (ckprefix): Handle fwait specially only when it isn't + the first prefix. + (dofloat): Correct test for fnstsw. Print `fnstsw %ax' rather + than `fnstsw %eax'. + (OP_J): Remove unnecessary subtraction when 16-bit displacement + will be masked later. + +Thu Jul 2 17:11:27 1998 Doug Evans <devans@seba.cygnus.com> + + * m32r-opc.h (CGEN_MIN_INSN_SIZE): New #define. + +Wed Jul 1 16:11:16 1998 Doug Evans <devans@seba.cygnus.com> + + * m32r-asm.c,m32r-dis.c,m32r-opc.c,m32r-opc.h: Regenerate. + +Fri Jun 26 11:08:55 1998 Jeffrey A Law (law@cygnus.com) + + * m10300-dis.c: Only recognize instructions from the currently + selected machine. + * m10300-opc.c: Add field indicating the particular variant of + the mn10300 each instruction is available on. + +Fri Jun 26 12:04:21 1998 Ian Lance Taylor <ian@cygnus.com> + + * configure.in: For bfd_vax_arch, build vax-dis.lo. + * Makefile.am: Rebuild dependencies. + (CFILES): Add vax-dis.c. + (ALL_MACHINES): Add vax-dis.lo. + * aclocal.m4: Rebuild with current libtool. + * configure, Makefile.in: Rebuild. + +Fri Jun 26 12:03:20 1998 Klaus Kaempf <kkaempf@progis.de> + + * vax-dis.c: New file, from work by Pauline Middelink + <middelin@polyware.iaf.nl>. + * disassemble.c (ARCH_vax): Define if ARCH_all. + (disassembler): Add case for ARCH_vax. + * makefile.vms: Support compilation on vms/vax. + +Tue Jun 23 19:42:18 1998 Mark Alexander <marka@cygnus.com> + + * m10200-dis.c (print_insn_mn10200): Fix various non-portabilities + related to sign extension and the size of ints. + +Tue Jun 23 10:59:26 1998 Jeffrey A Law (law@cygnus.com) + + * m10300-opc.c: Support one operand "asr", "lsr" and "asl" + instructions. Support (sp) addressing mode by expanding it into + (0,sp). + +Sat Jun 20 14:46:20 1998 Frank Ch. Eigler <fche@cygnus.com> + + * mips-dis.c (_print_insn_mips): Fix argument interchange typo. + +Fri Jun 19 09:16:42 1998 Mark Alexander <marka@cygnus.com> + + * m10200-dis.c (print_insn_mn10200): Recognize 'break' pseudo-op. + +1998-06-18 Ulrich Drepper <drepper@cygnus.com> + + * i386-dis.c: Add support for fxsave, fxrstor, sysenter and + sysexit. + +Thu Jun 18 10:22:24 1998 John Metzler <jmetzler@cygnus.com> + + * mips-dis.c (print_insn_little_mips): Previously, instruction + printing references the symbol table to determine whether the + instruction resides in a block regular instructions or mips16 + instructions. However, when the disassembler gets used in other + environments where the symbol table is not present, we no longer + rely in the symbol table, rather, use the low bit of the + instructions address to guess. There should be no change for usage + of the disassembler in host based programs, gdb, objdump. + (print_insn_big_mips): ditto. + (print_insn_mips): ditto + +Wed Jun 17 21:19:01 1998 Mark Alexander <marka@cygnus.com> + + * m10200-dis.c (print_insn_mn10200): Don't bomb on unknown opcodes. + +Wed Jun 17 17:49:23 1998 Jeffrey A Law (law@cygnus.com) + + * m10300-opc.c (mn10300_opcodes): Change opcode for "syscall". + +Tue Jun 16 13:10:51 1998 Alan Modra <alan@spri.levels.unisa.edu.au> + + * i386-dis.c (index16): Add '%' to register names. Use ',' + instead of '+'. + +Sat Jun 13 11:33:55 1998 Alan Modra <alan@spri.levels.unisa.edu.au> + + * i386-dis.c: Don't print opcode suffix when we can figure out the + size (and gas can!) by register operands, or from the default + size. + (putop): Handle 'A', 'B', 'L', 'P', 'Q', 'R' macros. Rename 'C' + macro to 'E'. + (dis386, dis386_twobyte, grps): Use new suffix macros. + (dis386): Correct imul Ib to imul sIb. Change jnl to jge to be + consistent. Add suffix for call, jmp, lcall, ljmp, iret. Reverse + order of cmps operands to agree with Intel docs. Correct operand + of aad and aam (Ib -> sIb). Change ud2b from 0fb8 to 0fb9 to + agree with Intel docs. + (print_insn_x86): Print orphan fwait before other prefixes. + Return correct byte count for orphan fwait with prefixes. Don't + print `bound' operands in reverse order. + (ckprefix): Stop accumulating prefixes if we get fwait. + (OP_DIR): Print `$' before Ap operands of ljmp, lcall. + +Fri Jun 12 13:40:38 1998 Tom Tromey <tromey@cygnus.com> + + * po/Make-in (all-yes): If maintainer mode, depend on .pot file. + ($(PACKAGE).pot): Unconditionally depend on POTFILES. + +Fri Jun 12 11:04:06 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + Fix problems when bfd_vma is wider than long. + * i386-dis.c: Make op_address and start_pc unsigned. + (set_op): Make parameter unsigned. + (print_insn_x86): Cast to bfd_vma when passing a value to + print_address_func. + * ns32k-dis.c (CORE_ADDR): Don't define. + (print_insn_ns32k): Change type of addr to bfd_vma. Use + bfd_scan_vma to read back address. + (print_insn_arg): Change type of addr to bfd_vma. Use sprintf_vma + to format it. + * m68k-dis.c (COERCE32): Cast to bfd_signed_vma to avoid overflow. + (NEXTULONG): New definition. + (print_insn_m68k): Avoid overflow when computing third argument of + print_insn_arg. + (print_insn_arg): Use NEXTULONG to fetch 32 bit address values. + Use disp instead of val to store offset values. + (print_indexed): Use base_disp instead of word to store base + displacement, to avoid overflow. + * m10300-dis.c (disassemble): Cast value to long when computing + pc-relative address, to get correct sign extension. + +Wed Jun 10 15:58:37 1998 Doug Evans <devans@canuck.cygnus.com> + + * m32r-opc.c: Regenerate. + +Tue Jun 9 14:27:57 1998 Nick Clifton <nickc@cygnus.com> + + * arm-opc.h (thumb_opcodes): Display 'add rx, rY, #0' insns as + 'mov rX, rY'. Patch courtesy of Tony Thompson <Tony.Thompson@arm.com> + +Mon Jun 8 18:17:21 1998 Nick Clifton <nickc@cygnus.com> + + * d30v-opc.c: Remove FALG_MUL32 attribyte from MULX2H insn. + +Fri Jun 5 23:47:55 1998 Alan Modra <alan@spri.levels.unisa.edu.au> + + * i386-dis.c: Combine aflag and dflag into sizeflag. Change OP_* + functions to void. + (OP_DSreg): Rename from OP_DSSI. + (OP_ESreg): Rename from OP_ESDI. + (Xb, Xv, Yb, Yv): Use index reg code, not b_mode or v_mode. + (DSBX): Define. + (append_seg): Rename from append_prefix. + (ptr_reg): New function. + (dis386): Add S suffix to pushf, popf, ret, lret, enter, leave. + Add DSBX for xlat. + (PREFIX_ADDR): Rename from PREFIX_ADR. + (float_reg): Add non-broken opcodes for people who don't want + UNIXWARE_COMPAT. + +Fri Jun 5 19:15:04 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * m68k-opc.c (tstb, tstw, tstl): Don't allow pcrel on + 68000/68008/68010. + +Wed Jun 3 18:56:22 1998 H.J. Lu <hjl@gnu.org> + + * i386-dis.c (dis386): Change 0x60 to "pushaS", 0x61 to "popaS". + +Tue Jun 2 15:06:46 1998 Geoff Keating <geoffk@ozemail.com.au> + + * ppc-opc.c (powerpc_macros): Support shifts and rotates of size + 0; produce error message for shifts of size 32 (or 64 for 64-bit + shifts), because the hardware doesn't support them. + +Wed May 27 15:29:13 1998 Nick Clifton <nickc@cygnus.com> + + * d30v-opc.c: Add new operand: Ra3. Change SHORT_B3, SHORT_B3b, + LONG_2, LONG_2b formats to use this new operand. + +Tue May 26 20:47:48 1998 Stan Cox <scox@cygnus.com> + + * sparc-dis.c (compute_arch_mask): Added bfd_mach_sparc_sparclite_le. + +Tue May 26 20:45:33 1998 Mark Alexander <marka@cygnus.com> + + * sparc-dis.c (print_insn_sparc): big endian instruction / little + endian data support. + +Tue May 26 16:14:39 1998 Nick Clifton <nickc@cygnus.com> + + * d30v-opc.c (d30v_format_table): Change definition of SHORT_B3 + and SHORT_B3b formats to use Rb instead of Ra. + + Add FLAG_MUL16 to MUL2XH opcode. + + Add FLAG_ADDSUBppp to SRC and SATHp opcodes to implement extension + to existing 1.1.1 parallelisation prohibition procedure. + +Fri May 22 16:00:00 1998 Doug Evans <devans@canuck.cygnus.com> + + * m32r-asm.c,m32r-dis.c: Regenerate. + +Tue May 19 17:36:08 1998 Ian Lance Taylor <ian@cygnus.com> + + * mips-dis.c (print_mips16_insn_arg): Handle type ']' correctly + with a shift count of 0. + +Fri May 15 14:58:31 1998 Doug Evans <devans@seba.cygnus.com> + + * cgen-opc.c (cgen_hw_lookup_by_name): Renamed from cgen_hw_lookup. + (cgen_hw_lookup_by_num): New function. + +Wed May 13 17:03:59 1998 Doug Evans <devans@canuck.cygnus.com> + + * m32r-asm.c: Regenerate (handle uppercase HIGH/SHIGH/LOW/SDA). + +Wed May 13 14:34:31 1998 Mark Alexander <marka@cygnus.com> + + * sparc-dis.c (print_insn_sparc): Always fetch instructions + as big-endian on SPARClite. + +Tue May 12 11:46:31 1998 Richard Henderson <rth@cygnus.com> + + * d30v-opc.c (pre_defined_register): Remove alias for r0. + +Sun May 10 22:37:22 1998 Jeffrey A Law (law@cygnus.com) + + * po/Make-in (install-info): New target. + +Thu May 7 17:15:59 1998 Ian Lance Taylor <ian@cygnus.com> + + * configure.in (WIN32LIBADD): Add -lintl on cygwin32. + * configure: Rebuild. + +Thu May 7 12:49:46 1998 Frank Ch. Eigler <fche@cygnus.com> + + * mips-opc.c (teq,tge,tgeu,tlt,tltu,tne): Added three-operand + variety of ISA2 instructions to set bottom ten bits of trap code. + +Thu May 7 11:54:25 1998 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.am (config.status): Add explicit target so that + config.status depends upon bfd/configure.in. + * Makefile.in: Rebuild. + +Thu May 7 09:33:02 1998 Frank Ch. Eigler <fche@cygnus.com> + + * mips-opc.c (break, sdbbp): Added two-operand variety of ISA1 + instructions to set bottom ten bits of break code. + * mips-dis.c (print_insn_arg): Implement 'q' operand format used + for above optional argument. + +Wed May 6 15:30:06 1998 Klaus Kaempf <kkaempf@progis.de> + + * makefile.vms: Run dec c with /nodebug. + +Mon May 4 10:19:57 1998 Tom Tromey <tromey@cygnus.com> + + * Makefile.in: Rebuilt. + * Makefile.am: Regenerated dependencies with mkdep. + + * opintl.h (_): Define as dgettext. + +Tue Apr 28 14:12:12 1998 Nick Clifton <nickc@cygnus.com> + + * cgen-asm.c: Internationalised. + * m32r-asm.c: Internationalised. + * m32r-dis.c: Internationalised. + * m32r-opc.c: Internationalised. + + * aclocal.m4: Regenerated. + * configure: Regenerated. + * Makefile.am (POTFILES): Remove inclusion of BFD_H. + * Makefile.in: Rebuild. + * po/POTFILES.in: Rebuilt using rule in Makefile.in. + * po/opcodes.pot: Rebuilt after changing POTFILES.in. + +Tue Apr 28 13:13:13 1998 Ian Lance Taylor <ian@cygnus.com> + + * configure.in: Call AC_ISC_POSIX near start. Move CY_GNU_GETTEXT + after AC_PROG_CC. + * aclocal.m4, configure: Rebuild with current tools. + +Mon Apr 27 14:31:00 1998 Nick Clifton <nickc@cygnus.com> + + * opintl.h: New file - contains internationalisation macros used + by source files in this directory. + * po/: New subdirectory - contains internationalisation files. + * po/Make-in: New file - Makefile constructor. + * po/POTFILES.in: New file - list of files in opcodes directory + that should be scan for internationalisation macros. + * po/opcodes.pot: New file - list of internationisation strings + found in files mentioned in po/POTFILES.in. + * Makefile.am: Add rule to build po/POTFILES.in. Add SUBDIRS + entry. Add intl directory to include paths. + * acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETEXT, + HAVE_STRCPY, HAVE_LC_MESSAGES + * configure.in: Add rule to build Makefile in po subdirectory. + * Makefile.in: Rebuilt. + * aclocal.m4: Rebuilt. + * config.in: Rebuilt. + * configure: Rebuilt. + * alpha-opc.c: Internationalised. + * arc-dis.c: Internationalised. + * arc-opc.c: Internationalised. + * arm-dis.c: Internationalised. + * cgen-asm.c: Internationalised. + * d30v-dis.c: Internationalised. + * dis-buf.c: Internationalised. + * h8300-dis.c: Internationalised. + * h8500-dis.c: Internationalised. + * i386-dis.c: Internationalised. + * m10200-dis.c: Internationalised. + * m10300-dis.c: Internationalised. + * m68k-dis.c: Internationalised. + * m88k-dis.c: Internationalised. + * mips-dis.c: Internationalised. + * ns32k-dis.c: Internationalised. + * opintl.h: Internationalised. + * ppc-opc.c: Internationalised. + * sparc-dis.c: Internationalised. + * v850-dis.c: Internationalised. + * v850-opc.c: Internationalised. + +Mon Apr 27 10:33:56 1998 Doug Evans <devans@seba.cygnus.com> + + * cgen-asm.c (cgen_current_opcode_table): Renamed from ..._data. + (asm_hash_table_entries): New variable. + (cgen_asm_init): Free asm_hash_table_entries. + (hash_insn_array,hash_insn_list): New functions. + (build_asm_hash_table): Use them. Hash macro insns as well. + (cgen_asm_lookup_insn): Update. + * cgen_dis.c (cgen_current_opcode_table): Renamed from ..._data. + (dis_hash_table_entries): New variable. + (cgen_dis_init): Free dis_hash_table_entries. + (hash_insn_array,hash_insn_list): New functions. + (build_dis_hash_table): Use them. Hash macro insns as well. + (cgen_dis_lookup_insn): Update. + * cgen-opc.c (cgen_current_opcode_table): Renamed from ..._data. + (cgen_set_cpu,cgen_hw_lookup,cgen_insn_count): Update. + (cgen_macro_insn_count): New function. + * m32r-opc.h,m32r-opc.c,m32r-asm.c,m32r-dis.c: Regenerate. + +Fri Apr 24 16:07:57 1998 Alan Modra <alan@spri.levels.unisa.edu.au> + + * i386-dis.c (OP_DSSI): Print segment override. + +Mon Apr 13 16:59:39 1998 Nick Clifton <nickc@cygnus.com> + + * arm-dis.c (print_insn_arm): Add "_all" extension to 'C' + operator. + +Mon Apr 13 16:50:27 1998 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.am (libopcodes_la_LIBADD): Add @WIN32LIBADD@. + (libopcodes_la_LDFLAGS): Add @WIN32LDFLAGS@. + * configure.in: Define and substitute WIN32LDFLAGS and + WIN32LIBADD. + * aclocal.m4: Rebuild with new libtool. + * configure, Makefile.in: Rebuild. + +Fri Apr 10 18:14:31 1998 Doug Evans <devans@canuck.cygnus.com> + + * m32r-opc.c: Regenerate. + +Sun Apr 5 16:04:39 1998 H.J. Lu <hjl@gnu.org> + + * Makefile.am (stamp-lib): Check that .libs/libopcodes.a exists + before trying to copy it. + * Makefile.in: Rebuild. + +Thu Apr 2 17:25:49 1998 Nick Clifton <nickc@cygnus.com> + + * m32r-opc.c: Use signed immediate values for CMPUI instruction. + +Wed Apr 1 16:20:27 1998 Ian Dall <Ian.Dall@dsto.defence.gov.au> + + * ns32k-dis.c (bit_extract_simple): New function to extract bits + from an arbitrary valid buffer instead of fetching them on demand + using fetch_data(). + (invalid_float): use bit_extract_simple() instead of bit_extract(). + +Tue Mar 31 11:09:08 1998 Ian Lance Taylor <ian@cygnus.com> + + From H.J. Lu <hjl@gnu.org>: + * i386-dis.c (dis386): Change 0x8c and 0x8e to movS, and change Ew + to Ev for both. + +Mon Mar 30 17:32:03 1998 Ian Lance Taylor <ian@cygnus.com> + + * Branched binutils 2.9. + +Mon Mar 30 15:18:00 1998 Ken Raeburn <raeburn@cygnus.com> + + * d30v-dis.c (print_insn_d30v): Don't use uninitialized "num" when + disassembling last 4 bytes of a section. + +Fri Mar 27 18:08:13 1998 Ian Lance Taylor <ian@cygnus.com> + + Fix some gcc -Wall warnings: + * arc-dis.c (print_insn): Add casts to avoid warnings. + * cgen-opc.c (cgen_keyword_lookup_name): Likewise. + * d10v-dis.c (dis_long, dis_2_short): Likewise. + * m10200-dis.c (disassemble): Likewise. + * m10300-dis.c (disassemble): Likewise. + * ns32k-dis.c (print_insn_ns32k): Likewise. + * ppc-opc.c (insert_ral, insert_ram): Likewise. + * cgen-dis.c (build_dis_hash_table): Remove used local variables. + * cgen-opc.c (cgen_keyword_search_next): Likewise. + * d10v-dis.c (dis_long, dis_2_short): Likewise. + * d30v-dis.c (print_insn_d30v, lookup_opcode): Likewise. + * ns32k-dis.c (bit_extract, print_insn_ns32k): Likewise. + * tic80-dis.c (print_one_instruction): Likewise. + * w65-dis.c (print_operand): Likewise. + * z8k-dis.c (fetch_data): Likewise. + * a29k-dis.c: Add return type for find_byte_func_type. + * arc-opc.c: Include <stdio.h>. Remove declarations of + insert_multshift and extract_multshift. + * d30v-dis.c (lookup_opcode): Parenthesize assignments in + conditionals. + (extract_value): Fully parenthesize expression. + * h8500-dis.c (print_insn_h8500): Initialize local variables. + * h8500-opc.h (h8500_table): Fully bracket initializer. + * w65-opc.h (optable): Likewise. + * i386-dis.c (print_insn_x86): Declare aflag and flag parameters. + * i386-dis.c (OP_E): Initialize local variables. + * m10200-dis.c (print_insn_mn10200): Likewise. + * mips-dis.c (print_insn_mips16): Likewise. + * sh-dis.c (print_insn_shx): Likewise. + * v850-dis.c (print_insn_v850): Likewise. + * ns32k-dis.c (print_insn_arg): Declare. + (get_displacement, invalid_float): Declare. + (list_search, sign_extend, flip_bytes): Declare return type. + (get_displacement): Likewise. + (print_insn_arg): Likewise. Make d int. Fix sprintf format + string. + (print_insn_ns32k): Make i unsigned. + (invalid_float): Make static. Declare type of val. + * tic30-dis.c (print_par_insn): Make i size_t. Don't check strlen + on each for iteration. + * tic30-dis.c (get_indirect_operand): Likewise. + * z8k-dis.c (print_insn_z8001): Declare return type. + (print_insn_z8002): Likewise. + (unparse_instr): Fix sprintf format strings. + +Fri Mar 27 00:05:23 1998 Jeffrey A Law (law@cygnus.com) + + * mips-opc.c: Add "sync.l" and "sync.p". + +Wed Mar 25 14:32:48 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * m68k-dis.c (print_insn_m68k): Use info->mach to select the + default m68k variant to recognize. + + * i960-dis.c (pinsn): Change type of first argument to bfd_vma. + (ctrl, cobr, mem, ea): Likewise. + (print_addr): Likewise. Remove cast. + (ea): Cast argument of print_addr to bfd_vma. + + * cgen-asm.c (cgen_parse_signed_integer): Fix type of local + variable value. + (cgen_parse_unsigned_integer): Likewise. + (cgen_parse_address): Likewise. + +Wed Mar 25 14:31:31 1998 Ian Lance Taylor <ian@cygnus.com> + + * i960-dis.c (ctrl): Add full braces to structure initialization. + (cobr, mem, reg): Likewise. + (ea): Correct parenthesization in expression. + + * cgen-asm.c: Include <ctype.h>. + (build_asm_hash_table): Remove unused local variable i. + (cgen_parse_keyword): Add casts to avoid warnings. + + * arm-dis.c (print_insn_big_arm): Only call coffsymbol for a COFF + symbol. Fix indentation. + (print_insn_little_arm): Likewise. + +Fri Mar 20 18:55:18 1998 Ian Lance Taylor <ian@cygnus.com> + + * configure.in: Use AM_DISABLE_SHARED. + * aclocal.m4, configure: Rebuild with libtool 1.2. + +Thu Mar 19 15:46:53 1998 Nick Clifton <nickc@cygnus.com> + + These patches are courtesy of Jonathan Walton and Tony Thompson + (athompso@cambridge.arm.com). + + * arm-dis.c (print_insn_thumb): Ignore bottom two bits of PC + relative addresses. + + * arm-opc.h (thumb_opcodes): Annotate PC relative addresses with + both the offset and the label closest to the destination. + +Sat Mar 14 23:47:14 1998 Doug Evans <devans@seba.cygnus.com> + + * m32r-opc.h: Regenerate. + +Wed Mar 4 12:08:14 1998 Doug Evans <devans@canuck.cygnus.com> + + * m32r-opc.h,m32r-opc.c,m32r-asm.c,m32r-dis.c: Regenerate. + +Sat Feb 28 16:02:34 1998 Nick Clifton <nickc@cygnus.com> + + * arm-dis.c (print_insn_big_arm, print_insn_little_arm): Do not + assume that info->symbols is non-empty. + +Sat Feb 28 12:19:05 1998 Richard Henderson <rth@cygnus.com> + + * alpha-opc.c (cvtqs) There is no such thing. + (cvttq): Missing most of the /*d variants. + +Thu Feb 26 15:53:09 1998 Michael Meissner <meissner@cygnus.com> + + * d30v-opc.c (d30v_opcode_table): Indicate which instructions are + delayed branches or jumps. + +Tue Feb 24 10:46:44 1998 Doug Evans <devans@canuck.cygnus.com> + + * arm-dis.c (print_insn_{big,little}_arm): info->symbol changed + to *info->symbols. + * mips-dis.c (print_insn_{big,little}_mips): Likewise. + * tic30-dis.c (print_branch): Likewise. + +Tue Feb 24 11:06:18 1998 Nick Clifton <nickc@cygnus.com> + + * arm-dis.c (print_insn_big_arm, print_insn_little_arm): Remove + saved_symbol code as it is no longer needed. + +Mon Feb 23 13:16:17 1998 Doug Evans <devans@seba.cygnus.com> + + * cgen-asm.c: Include symcat.h. + * cgen-dis.c,cgen-opc.c: Ditto. + * m32r-asm.c,m32r-dis.c,m32r-opc.h,m32r-opc.c: Regenerate. + +Mon Feb 23 10:34:58 1998 Jeffrey A Law (law@cygnus.com) + + * mips-dis.c (print_insn_arg): Do not prefix 'P' arguments with '$'. + +Thu Feb 19 16:51:13 1998 Doug Evans <devans@canuck.cygnus.com> + + * m32r-opc.[ch]: Regenerate. + +Tue Feb 17 17:14:50 1998 Doug Evans <devans@seba.cygnus.com> + + * cgen-asm.c (cgen_parse_{signed,unsigned}_integer): Delete min,max + arguments. Don't perform validation here. + * m32r-asm.c,m32r-dis.c,m32r-opc.c: Regenerate. + +Fri Feb 13 14:26:06 1998 Doug Evans <devans@canuck.cygnus.com> + + * m32r-opc.c: Regenerate. + +Fri Feb 13 14:53:02 1998 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.am (AUTOMAKE_OPTIONS): Define. + * configure, Makefile.in, aclocal.m4: Rebuild with automake 1.2e. + +Fri Feb 13 10:21:09 1998 Mark Alexander <marka@cygnus.com> + + * m10300-dis.c (print_insn_mn10300): Recognize break instruction. + +Fri Feb 13 13:12:14 1998 Ian Lance Taylor <ian@cygnus.com> + + * configure.in: Get the version number from BFD. + * configure: Rebuild. + + From H.J. Lu <hjl@gnu.org>: + * Makefile.am (libopcodes_la_LDFLAGS): Define. + * Makefile.in: Rebuild. + +Fri Feb 13 09:50:32 1998 Nick Clifton <nickc@cygnus.com> + + * m32r-opc.c: Regenerate. + * m32r-opc.h: Regenerate. + +Thu Feb 12 11:01:40 1998 Doug Evans <devans@canuck.cygnus.com> + + * m32r-opc.c: Regenerate. + +Thu Feb 12 03:41:00 1998 J"orn Rennecke <amylaar@cygnus.co.uk> + + Fix rac to accept only a0: + * d10v-opc.c (d10v_predefined_registers, d10v_operands, d10v_opcodes): + Split OPERAND_ACC into OPERAND_ACC0 and OPERAND_ACC1. + Introduce OPERAND_GPR. + * d10v-dis.c (print_operand): Likewise. + +Wed Feb 11 18:58:34 1998 Doug Evans <devans@seba.cygnus.com> + + * cgen-opc.c (cgen_set_cpu): Delete init of hw list `next' chain. + (cgen_hw_lookup): Make result const. + * m32r-opc.h, m32r-opc.c, m32r-asm.c, m32r-dis.c: Regenerate. + +Sat Feb 7 15:30:27 1998 Ian Lance Taylor <ian@cygnus.com> + + * configure, aclocal.m4: Rebuild with new libtool. + +Thu Feb 5 17:56:10 1998 Michael Meissner <meissner@cygnus.com> + + * d30v-opc.c (repeat{,i} instructions): Repeat/repeati + instructions use a PC relative branch, not absolute. + +Wed Feb 4 19:17:37 1998 Ian Lance Taylor <ian@cygnus.com> + + * configure.in: Set libtool_enable_shared rather than + libtool_shared. Remove diversion hack. + * configure, Makefile.in, aclocal.m4: Rebuild with new libtool. + +Tue Feb 3 17:19:40 1998 Doug Evans <devans@seba.cygnus.com> + + * cgen-opc.c (cgen_set_cpu): Initialize hardware table. + * m32r-opc.h, m32r-opc.c, m32r-asm.c, m32r-dis.c: Regenerate. + +Mon Feb 2 19:22:15 1998 Steve Haworth <steve@pm.cse.rmit.EDU.AU> + + * tic30-dis.c: New file. + * disassemble.c (disassembler): Add bfd_arch_tic30 case. + * configure.in: Handle bfd_tic30_arch. + * Makefile.am: Rebuild dependencies. + (CFILES): Add tic30-dis.c + (ALL_MACHINES): Add tic30-dis.lo. + * configure, Makefile.in: Rebuild. + +Thu Jan 29 13:02:56 1998 Doug Evans <devans@canuck.cygnus.com> + + * m32r-opc.h (HAVE_CPU_M32R): Define. + +Wed Jan 28 09:55:03 1998 Nick Clifton <nickc@cygnus.com> + + * v850-opc.c (insertion routines): If both alignment and size is + wrong then report this. + +Tue Jan 27 21:52:59 1998 Jeffrey A Law (law@cygnus.com) + + * mips-dis.c (_print_insn_mips): Set target_processor as appropriate. + Only recognize instructions for the current target_processor. + +Thu Jan 22 16:20:17 1998 Fred Fish <fnf@cygnus.com> + + * d10v-dis.c (PC_MASK): Correct value. + (print_operand): If there's a reloc, don't calculate the + address because they could be in different sections. + +Fri Jan 16 15:29:11 1998 Jim Blandy <jimb@zwingli.cygnus.com> + + * mips-opc.c (mips_builtin_opcodes): Move 4010's "addciu" + instruction after the 4650's "mul" instruction; nobody's using the + 4010 these days. If object files someday indicate which processor + variant they're intended for, we can do a better job at this. + +Mon Jan 12 14:43:54 1998 Doug Evans <devans@seba.cygnus.com> + + * cgen-asm.c (build_asm_hash_table): Traverse compiled in table using + table provided entry size. Use CGEN_INSN_MNEMONIC. + (cgen_parse_keyword): Rewrite. + * cgen-dis.c (build_dis_hash_table): Traverse compiled in table using + table provided entry size. Use CGEN_INSN_MASK_BITSIZE. + * cgen-opc.c: Clean up pass over `struct foo' usage. + (cgen_keyword_lookup_value): Handle "" entry. + (cgen_keyword_add): Likewise. + +For older changes see ChangeLog-9297 + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: |