diff options
author | Alan Modra <amodra@gmail.com> | 2006-01-16 23:15:07 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2006-01-16 23:15:07 +0000 |
commit | e88d958a4fc35cc37c9a26edefed424fce2785eb (patch) | |
tree | 13edae90fd6e16d45cd07e346946e71dbe10ceed | |
parent | 00164b66e9ff0f5f7edbe8b52a443d9d98bc1120 (diff) | |
download | gdb-e88d958a4fc35cc37c9a26edefed424fce2785eb.zip gdb-e88d958a4fc35cc37c9a26edefed424fce2785eb.tar.gz gdb-e88d958a4fc35cc37c9a26edefed424fce2785eb.tar.bz2 |
split changelogs
-rw-r--r-- | bfd/ChangeLog | 10318 | ||||
-rw-r--r-- | bfd/ChangeLog-2004 | 5063 | ||||
-rw-r--r-- | bfd/ChangeLog-2005 | 5269 | ||||
-rw-r--r-- | binutils/ChangeLog | 2129 | ||||
-rw-r--r-- | binutils/ChangeLog-2004 | 793 | ||||
-rw-r--r-- | binutils/ChangeLog-2005 | 1350 | ||||
-rw-r--r-- | gas/ChangeLog | 6965 | ||||
-rw-r--r-- | gas/ChangeLog-2004 | 2687 | ||||
-rw-r--r-- | gas/ChangeLog-2005 | 4292 | ||||
-rw-r--r-- | gas/testsuite/ChangeLog | 2821 | ||||
-rw-r--r-- | gas/testsuite/ChangeLog-2004 | 1156 | ||||
-rw-r--r-- | gas/testsuite/ChangeLog-2005 | 1679 | ||||
-rw-r--r-- | gprof/ChangeLog | 246 | ||||
-rw-r--r-- | gprof/ChangeLog-2004 | 98 | ||||
-rw-r--r-- | gprof/ChangeLog-2005 | 162 | ||||
-rw-r--r-- | ld/ChangeLog | 3270 | ||||
-rw-r--r-- | ld/ChangeLog-2004 | 1442 | ||||
-rw-r--r-- | ld/ChangeLog-2005 | 1842 | ||||
-rw-r--r-- | ld/testsuite/ChangeLog | 2260 | ||||
-rw-r--r-- | ld/testsuite/ChangeLog-2004 | 1085 | ||||
-rw-r--r-- | ld/testsuite/ChangeLog-2005 | 1189 | ||||
-rw-r--r-- | opcodes/ChangeLog | 1982 | ||||
-rw-r--r-- | opcodes/ChangeLog-2004 | 741 | ||||
-rw-r--r-- | opcodes/ChangeLog-2005 | 1253 |
24 files changed, 30110 insertions, 29982 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index aa828d8..700bbb9 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -12,10323 +12,7 @@ * elf64-ppc.c (ppc64_elf_action_discarded): Return 0 for .toc1 section. -2005-12-31 Valeriy E. Ushakov <uwe@NetBSD.org> - Kaz Kojima <kkojima@rr.iij4u.or.jp> - - * elf32-sh.c (sh_elf_relocate_section): Don't reset relocation - for R_SH_REL32 in shared objects if the symbol is locally called. - -2005-12-31 Alan Modra <amodra@bigpond.net.au> - - * elf64-ppc.c (ppc64_elf_relocate_section): Adjust relocs against - opd section sym when opd has been edited. Use correct addend - when determining branch 'y' bit and branch overflow. Adjust and - save opd relocs for ld -r too. - -2005-12-30 Eric Christopher <echristo@apple.com> - - * elfxx-mips.c (mips_elf_record_global_got_symbol): Add assert - to verify we have a got. - (_bfd_mips_elf_check_relocs): Add R_MIPS_TLS_GOTTPREL to relocs - needing a GOT. - -2005-12-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - * configure.host (hppa*64*-*-hpux*): Set host64 to true. - -2005-12-29 Nick Clifton <nickc@redhat.com> - - * hash.c (bfd_hash_set_default_size): Add more entries to the - hash_size_primes table. - - * stabs.c (_bfd_link_section_stabs): Use bfd_hash_table_init - rather than bfd_hash_table_init_n(...,251) so that the size of the - hash table can be controlled by the user. - -2005-12-27 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - * elf32-hppa.c (elf32_hppa_size_dynamic_sections): Use info->executable - instead of !info->shared. - -2005-12-27 Jan-Benedict Glaw <jbglaw@lug-owl.de> - - * vaxlinux.h: New file. (TRAD_CORE_EXTRA_SIZE_ALLOWED): Define. - (HOST_MACHINE_ARCH): Define. This allows cross-building vax-linux - hosted binutils. - -2005-12-27 Nathan Sidwell <nathan@codesourcery.com> - - * elf32-mt.c (mt_elf_merge_private_bfd_data): Do not allow mixing - object files from different mt variants. - -2005-12-27 Leif Ekblad <leif@rdos.net> - - * config.bfd: Add support for RDOS targets. - -2005-12-27 Marty Leisner <leisner@rochester.rr.com> - - * dwarf2.c (lookup_symbol_in_function_table): Check for a function - name before passing it to strcmp. - -2005-12-27 Alan Modra <amodra@bigpond.net.au> - - * elf.c (elf_find_function): Don't ignore section syms. - Simplify filename logic. - -2005-12-27 Alan Modra <amodra@bigpond.net.au> - - * elf32-ppc.c (add_stub_sym): Pass info rather than htab. - Use different names for pic vs non-pic, '.' instead of '_'. - (allocate_dynrelocs): Adjust add_stub_sym call. - -2005-12-27 Alan Modra <amodra@bigpond.net.au> - - * elf.c (bfd_section_from_shdr): Treat invalid reloc sections as - normal sections rather than returning false. - -2005-12-27 Alan Modra <amodra@bigpond.net.au> - - * coff-h8300.c (h8300_reloc16_extra_cases): Use input section - "output_offset" instead of link order "offset". - * coff-h8500.c (extra_case): Likewise. - * coff-w65.c (w65_reloc16_extra_cases): Likewise. - * coff-z80.c (extra_case): Likewise. - * coff-z8k.c (extra_case): Likewise. - * linker.c (default_indirect_link_order): Likewise, "size" too. - * ecoff.c (ecoff_indirect_link_order): Likewise. - -2005-12-27 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - * po/SRC-POTFILES.in: Regenerate. - -2005-12-24 Alan Modra <amodra@bigpond.net.au> - - * aix5ppc-core.c: Remove duplicate prototypes. - (xcoff64_core_file_matches_executable_p): Provide implementation - for !AIX_5_CORE. - * corefile.c (generic_core_file_matches_executable_p): Correct - syntax error in prototype. - * libbfd-in.h (generic_core_file_matches_executable_p): Delete. - * libbfd.h: Regenerate. - * bfd-in2.h: Regenerate. - -2005-12-23 Michael Weiser <michael@weiser.dinsnail.net> - - PR 1150 - * elf-bfd.h (struct elf_backend_data): New field - 'elf_backend_ignore_undef_symbol'. - * elfxx-target.h (elf_backend_ignore_undef_symbol): Define to NULL - if not already defined. - (elfNN_bed): Initialise the elf_backend_ignore_undef_symbol field. - * elfxx-mips.c (_bfd_mips_elf_ignore_undef_symbol): New function. - * elfxx-mips.h (elf_backend_ignore_undef_symbol): Define and - prototype. - * elflink.c (elf_link_output_extsym): Check - elf_backend_ignore_undef_symbol before reporting an undefined - symbol in a shared library. - -2005-12-23 Joel Brobecker <brobecker@adacore.com> - - * corefile.c (generic_core_file_matches_executable_p): New function. - * libbfd-in.h (generic_core_file_matches_executable_p): Add - declaration. - * libbfd.h: Regenerate. - * hpux-core.c: ANSIfy function declarations and prototypes. - (thread_section_p): Manually expand bfd_section_name macro - to make it clear that parameter ABFD is not used. - (hpux_core_core_file_matches_executable_p): Delete, replaced - by macro pointing to generic_core_file_matches_executable_p. - - * aix386-core.c: Replace core_file_matches_executable_p null - implementation by generic_core_file_matches_executable_p by - using a macro. - * aix5ppc-core.c: Likewise. - * cisco-core.c: Likewise. - * hppabsd-core.c: Likewise. - * irix-core.c: Likewise. - * lynx-core.c: Likewise. - * mach-o.c: Likewise. - * netbsd-core.c: Likewise. - * osf-core.c: Likewise. - * ptrace-core.c: Likewise. - * sco5-core.c: Likewise. - * trad-core.c: Likewise. - -2005-12-19 David Heine <dlheine@tensilica.com> - - * elf32-xtensa.c (action_list_count, xlate_map_entry, xlate_map, - xlate_offset_with_removed_text, build_xlate_map, free_xlate_map): New. - (check_section_ebb_pcrels_fit): Build new xlate_map, use it and free it - when finished. - -2005-12-16 Nathan Sidwell <nathan@codesourcery.com> - - Second part of ms1 to mt renaming. - * archures.c (bfd_arch_mt): Renamed. - (bfd_mt_arch): Renamed. - (bfd_archures_list): Adjusted. - * bfd-in2.h: Rebuilt. - * config.bfd (mt): Remove special case targ_archs. - (mt-*-elf): Rename bfd_elf32_mt_vec. - * configure: Rebuilt. - * configure.in (bfd_elf32_mt_vec): Renamed. - (selarchs) Remove mt special case. - * cpu-mt.c (arch_info_struct): Adjust. - (bfd_mt_arch): Renamed, adjust. - * elf32-mt.c (mt_reloc_type_lookup, mt_info_to_howto_rela, - mt_elf_relocate_hi16, mt_final_link_relocate, mt_relocate_section, - mt_elf_howto_table): Renamed, adjusted. - (mt_elf_gc_mark_hook, mt_elf_gc_sweep_hook, mt_elf_check_relocs, - elf32_mt_machine, mt_elf_object_p, mt_elf_set_private_flags, - mt_elf_copy_private_bfd_data, mt_elf_merge_private_bfd_data, - mt_elf_print_private_bfd_data): Renamed, adjusted. - (TARGET_BIG_SYM, TARGET_BIG_NAME, ELF_ARCH, ELF_MACHINE_CODE, - ELF_MAXPAGESIZE, elf_info_to_howto, elf_backend_relocate_section, - bfd_elf32_bfd_reloc_type_lookup, elf_backend_gc_mark_hook, - elf_backend_gc_sweep_hook, elf_backend_check_relocs, - eld_backend_object_p, bfd_elf32_bfd_set_private_flags, - bfd_elf32_bfd_copy_private_bfd_data, - bfd_elf32_bfd_merge_private_bfd_data, - bfd_elf32_bfd_print_private_bfd_data): Adjusted. - * libbfd.h: Regenerated. - * reloc.c (BFD_RELOC_MT_PC16, BFD_RELOC_MT_HI16, - BFD_RELOC_MT_LO16, BFD_RELOC_MT_GNU_VTINHERIT, - BFD_RELOC_MT_GNU_VTENTRY, BFD_RELOC_MT_PCINSN8): Renamed. - * targets.c (bfd_elf32_mt_vec): Renamed. - (_bfd_target_vector): Adjusted. - -2005-12-13 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/2008 - * elf.c (_bfd_elf_setup_sections): Return FALSE if - elf_linked_to_section will be set to NULL. - - * format.c (bfd_check_format_matches): Don't check the default - target twice. - -2005-12-13 Alan Modra <amodra@bigpond.net.au> - - * elf64-ppc.c (ppc64_elf_relocate_section): Force tail calls in - shared libs to resolve locally. - -2005-12-12 Paul Brook <paul@codesourcery.com> - - * bfd-in2.h: Regenerate. - * elf32-arm.c (elf32_arm_reloc_map): Add BFD_RELOC_ARM_PCREL_CALL and - BFD_RELOC_ARM_PCREL_JUMP. - (check_use_blx): New function. - (bfd_elf32_arm_process_before_allocation): Don't allocate glue if - using BLX. - (elf32_arm_final_link_relocate): Perform bl<->blx conversion for - R_ARM_CALL and R_ARM_THM. - (elf32_arm_get_eabi_attr_int): New function. - (elf32_arm_size_dynamic_sections): Call check_use_blx. - * libbfd.h: Regenerate. - * reloc.c: Add BFD_RELOC_ARM_PCREL_CALL and BFD_RELOC_ARM_PCREL_JUMP. - -2005-12-12 Nathan Sidwell <nathan@codesourcery.com> - - * Makefile.am (ALL_MACHINES, ALL_MACHINES_CFILES, - BFD32_BACKENDS, BFD32_BACKENDS_CFILES): Replace ms1 with mt. - (cpu_mt.lo, elf32-mt.lo): Update target and dependency names. - * Makefile.in: Rebuilt. - * config.bfd: Replace ms1 arch with mt. - * configure.in: Replace ms1 files with mt files. - * configure: Rebuilt. - * elf32-mt.c: Renamed from elf32-ms1.c. Update include files. - * cpu-mt.c: Renamed from cpu-ms1.c. - -2005-12-12 Alan Modra <amodra@bigpond.net.au> - - * elf64-ppc.c (ppc64_elf_size_stubs): Don't consider non-ppc64 input. - -2005-12-10 Alan Modra <amodra@bigpond.net.au> - - * elflink.c (elf_gc_mark_dynamic_ref_symbol): Use !info-executable - to test for linking shared libs, not info->shared. - -2005-12-08 Alan Modra <amodra@bigpond.net.au> - - * elf32-ppc.c (struct ppc_elf_link_hash_table): Add emit_stub_syms. - (ppc_elf_select_plt_layout): Add emit_stub_syms param, save to htab. - (add_stub_sym): New function. - (allocate_dynrelocs): Call add_stub_sym. - (ppc_elf_size_dynamic_sections): Emit __glink and __glink_PLTresolve - when emit_stub_syms. - * elf32-ppc.h (ppc_elf_select_plt_layout): Update prototype. - -2005-12-08 Alan Modra <amodra@bigpond.net.au> - - * reloc.c (enum complain_overflow): Correct comments. - (bfd_check_overflow): Combine complain_overflow_bitfield and - complain_overflow_signed code. - (_bfd_relocate_contents): Likewise. - (bfd_howto_32): Use complain_overflow_dont. - * elf32-d10v.c (elf_d10v_howto_table): Revert 2002-06-17 change. - * bfd-in2.h: Regenerate. - -2005-12-07 H.J. Lu <hongjiu.lu@intel.com> - - * elf.c (assign_section_numbers): Remove extra code in the last - change. - -2005-12-07 H.J. Lu <hongjiu.lu@intel.com> - Andreas Schwab <schwab@suse.de> - - PR binutils/1991 - * elf.c (assign_section_numbers): Always use the output section - when setting up sh_link for SHF_LINK_ORDER. - -2005-12-07 Thiemo Seufer <ths@networkno.de> - H.J. Lu <hongjiu.lu@intel.com> - - PR ld/1932 - * bfd-in.h (bfd_elf_record_link_assignment): Add output_bfd - and hidden arguments. - - * bfd.c (bfd_hide_symbol): Removed. - - * bfd-in2.h: Regenerated. - - * elflink.c (bfd_elf_record_link_assignment): Handle hidden - symbols which were provided by a linker script. - -2005-12-06 Paul Gilliam <pgilliam@us.ibm.com> - - * cpu-powerpc.c (bfd_powerpc_archs): Add ppc 750. - -2005-11-18 Mark Kettenis <kettenis@gnu.org> - - * elf64-hppa.c (elf64_hppa_section_from_phdr): Create .kernel - pseudo-section. Make sure .reg section comes after the proc - section it's generated from. - -2005-12-01 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> - - * elf32-m32r.c (m32r_elf_sweep_hook): Fix an illegal duplicate check. - (m32r_elf_relocate_section): Fix R_M32R_10_PCREL_RELA linkage bug. - (m32r_elf_gc_sweep_hook): Likewise. - (m32r_elf_check_relocs): Likewise. - -2005-11-24 Alan Modra <amodra@bigpond.net.au> - - * elf-bfd.h (_bfd_generic_match_sections_by_type): Don't define. - * libbfd-in.h (_bfd_generic_match_sections_by_type): Delete. - * libbfd.c (_bfd_generic_match_sections_by_type): Delete. - * targets.c (bfd_match_sections_by_type): Don't define. - (BFD_JUMP_TABLE_LINK): Remove _bfd_generic_match_sections_by_type. - * coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Likewise. - * coff64-rs6000.c (rs6000coff64_vec, aix5coff64_vec): Likewise. - * bfd-in2.h: Regenerate. - * libbfd.h: Regenerate. - -2005-11-23 Daniel Jacobowitz <dan@codesourcery.com> - Thiemo Seufer <ths@networkno.de> - - * elf32-mips.c (elf_mips_howto_table_rel): Use rightshift 2 for - R_MIPS_PC16. - (mips_reloc_map): Map BFD_RELOC_16_PCREL_S2 to R_MIPS_PC16. - (bfd_elf32_bfd_reloc_type_lookup): Don't handle - BFD_RELOC_16_PCREL_S2. - * elf64-mips.c (mips_elf64_howto_table_rel): Use rightshift 2 for - R_MIPS_PC16. - (mips_elf64_howto_table_rela): Likewise. - (mips_reloc_map): Map BFD_RELOC_16_PCREL_S2 to R_MIPS_PC16. - (bfd_elf64_bfd_reloc_type_lookup): Don't handle - BFD_RELOC_16_PCREL_S2. - * elfn32-mips.c (elf_mips_howto_table_rel): Use rightshift 2 for - R_MIPS_PC16. - (elf_mips_howto_table_rela): Likewise. - (mips_reloc_map): Map BFD_RELOC_16_PCREL_S2 to R_MIPS_PC16. - (bfd_elf32_bfd_reloc_type_lookup): Don't handle - BFD_RELOC_16_PCREL_S2. - * elfxx-mips.c: Formatting fixes. - (mips_elf_calculate_relocation): Handle R_MIPS_GNU_REL16_S2 - and R_MIPS_PC16 identically. - -2005-11-23 Frederic Riss <frederic.riss@st.com> - - * elfcode.h (elf_object_p): Delay the setting of start_address - until we're sure the backend matches the binary. - -2005-11-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - * som.c (som_decode_symclass): Decode BSF_WEAK symbols in the same - manner as bfd_decode_symclass. - -2005-11-18 Alan Modra <amodra@bigpond.net.au> - - * elf64-ppc.c (ppc64_elf_check_relocs): Don't set has_14bit_branch - on branches to same section. - -2005-11-17 Randolph Chung <tausq@debian.org> - - * elf64-hppa.c (elf64_hppa_object_p): Recognize corefiles under - hppa64-hp-hpux11.11. - (elf64_hppa_section_from_phdr): New function. - (elf_backend_section_from_phdr): Define. - -2005-11-11 Nick Clifton <nickc@redhat.com> - - PR 1150 - * elfxx-mips.c (mips_elf_calculate_relocation): Ignore an - undefined symbol if it is optional. - (_bfd_mips_elf_merge_symbol_attribute): Make sure that the - optional flag is merged as well as the visibility. - * elfxx-mips.h (_bfd_mips_elf_merge_symbol_attribute): Prototype. - (elf_backend_merge_symbol_attribute): Define. - -2005-11-08 Nathan Sidwell <nathan@codesourcery.com> - - Add ms2 support - * archures.c (bfd_mach_ms2): Define. - * cpu-ms1.c (arch_info_struct): Add ms2 stanza. - * elf32-ms1.c (elf32_ms1_machine): Add ms2 case. - (ms1_elf_merge_private_bfd_data): Remove unused variables. Add - correct merging logic, with workaround. - (ms1_elf_print_private_bfd_data): Add ms2 case. - * reloc.c (BFD_RELOC_MS1_PCINSN8): Add ms2 specific reloc. - * libbfd.h: Regenerated. - * bfd-in2.h: Regenerated. - -2005-11-07 Steve Ellcey <sje@cup.hp.com> - - * warning.m4 (AM_BINUTILS_WARNINGS): Default to empty string - if compiler is not GCC. - * configure: Regenerate - -2005-11-07 Steve Ellcey <sje@cup.hp.com> - - * configure: Regenerate after modifying bfd/warning.m4. - -2005-11-07 Steve Ellcey <sje@cup.hp.com> - - * configure.host (ia64-*-hpux*): Set _LARGEFILE64_SOURCE. - -2005-11-03 Daniel Jacobowitz <dan@codesourcery.com> - - * configure.in: Check for fopen64. - * libbfd-in.h (real_fopen): New prototype. - * configure, config.in, libbfd.h: Regenerated. - * bfdio.c (real_fopen): New function. - * opncls.c (bfd_fopen, bfd_fill_in_gnu_debuglink_section): Use it. - * cache.c (bfd_open_file): Likewise. - -2005-11-03 Thiemo Seufer <ths@networkno.de> - - * elfxx-mips.c (mips_elf_calculate_relocation): Handle only - forced local symbols here. - (mips_elf_create_dynamic_relocation): Likewise. - (_bfd_mips_elf_finish_dynamic_symbol): Fix typo in comment. - -2005-11-03 Alan Modra <amodra@bigpond.net.au> - - * elf.c (elf_fake_sections): When calculating tbss size, just use - the last link_order. - (assign_file_positions_for_segments): Likewise. - * elflink.c (bfd_elf_final_link): Likewise. - (elf_reloc_link_order): Correct comment. - -2005-11-02 Alan Modra <amodra@bigpond.net.au> - - PR ld/1775 - * elf32-m68k.c (elf_m68k_finish_dynamic_symbol): Add required - parentheses. - -2005-10-29 H.J. Lu <hongjiu.lu@intel.com> - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerated. - - * dep-in.sed: Replace " ./" with " ". - -2005-10-29 H.J. Lu <hongjiu.lu@intel.com> - - * hpux-core.c: Include <machine/reg.h> only if HPUX_CORE is - define. - * osf-core.c: Include <sys/core.h> only if OSF_CORE is defined. - * sco5-core.c: Include <sys/paccess.h> and <sys/region.h> only - if SCO5_CORE is defined. - -2005-10-29 Mark Kettenis <kettenis@gnu.org> - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - -2005-10-28 Joel Brobecker <brobecker@adacore.com> - - From Eric Botcazou <botcazou@adacore.com> - * coffcode.h (coff_compute_section_file_positions): Fix small - error in preprocessor directives. - -2005-10-28 Joel Brobecker <brobecker@adacore.com> - - Mostly from Eric Botcazou <botcazou@adacore.com> - * rs6000-core.c: ANSIfy all function definitions. - Add missing function prototypes. - (ptr_to_uint): New type. - (rs6000coff_core_p): Use it as intermediate step in casts. - (rs6000coff_core_file_matches_executable_p): Likewise. - * xcoff-target.h (rs6000coff_core_p): Fix prototype. - (rs6000coff_core_file_matches_executable_p): Likewise. - -2005-10-28 H.J. Lu <hongjiu.lu@intel.com> - - PR binutils/1472 - * aoutx.h (NAME (aout, machine_type)): Handle - bfd_mach_sparc_v8plus, bfd_mach_sparc_v8plusa, - bfd_mach_sparc_v8plusb, bfd_mach_sparc_v9, bfd_mach_sparc_v9a - and bfd_mach_sparc_v9b. - -2005-10-28 Hans-Peter Nilsson <hp@axis.com> - - PR ld/1567 - * elf32-cris.c (cris_elf_howto_table) <R_CRIS_32>: Set - complain_on_overflow field to complain_overflow_dont. - -2005-10-27 Alan Modra <amodra@bigpond.net.au> - - PR 973 - * cache.c (enum cache_flag): New. - (close_one): Save file mtime. - (bfd_cache_lookup): Add flag arg, adjust all users. - (bfd_cache_lookup_worker): Likewise. - (cache_btell): Use CACHE_NO_OPEN and return abfd->where if file - not open. - (cache_bflush): Similarly, and return success of file not open. - (cache_bseek): Use CACHE_NO_SEEK if SEEK_SET or SEEK_END. - (cache_bstat): Use CACHE_NO_SEEK_ERROR. - - * bfdwin.c (bfd_get_file_window): Seek into file in place of - using bfd_cache_lookup. - - * cache.c (BFD_CACHE_MAX_OPEN): Make private to this file. - (bfd_last_cache, bfd_cache_lookup, bfd_cache_lookup_worker): Likewise. - * libbfd-in.h (bfd_cache_lookup_worker, bfd_last_cache): Delete. - * libbfd.h: Regenerate. - - * hppabsd-core.c (hppabsd_core_core_file_p): Use bfd_stat, not fstat. - * sco5-core.c (sco5_core_file_p): Likewise. - * trad-core.c (trad_unix_core_file_p): Likewise. - - * cache.c: Reorganize file to avoid forward reference. - -2005-10-26 Alan Modra <amodra@bigpond.net.au> - - * cache.c (bfd_cache_lookup_worker): Don't abort on failing to - reopen file. - (cache_btell, cache_bseek, cache_bflush, cache_bstat): Return -1 on - bfd_cache_lookup failure. - (cache_bread, cache_bwrite): Return 0 on the same. - * bfdwin.c (bfd_get_file_window): Likewise. - * hppabsd-core.c (hppabsd_core_core_file_p): Likewise. - * sco5-core.c (sco5_core_file_p): Likewise. - * trad-core.c (trad_unix_core_file_p): Likewise. - -2005-10-26 Alan Modra <amodra@bigpond.net.au> - - * cache.c (bfd_cache_lookup_worker): Use bfd_error_handler - rather than bfd_perror. Print file name. Internationalise. - -2005-10-26 Alan Modra <amodra@bigpond.net.au> - - * cache.c (bfd_open_file): Set bfd_error_system_call on failure - to open file. - (bfd_cache_lookup_worker): Remove check that file pos is in - unsigned long range. Print system error before aborting. - -2005-10-25 Arnold Metselaar <arnold.metselaar@planet.nl> - - * Makefile.am: Add rules for coff-z80 and cpu-z80. - * Makefile.in: Regenerated. - * archures.c: Add bfd_arch_z80 and support for it. - * coffcode.h(coff_set_arch_mach_hook): Add case Z80MAGIC. - (coff_set_flags): Add case bfd_arch_z80. - * config.bfd: Add z80coff_vec. - * configure.in: Add z80coff_vec. - * reloc.c: Add BFD_RELOC_Z80_DISP8 - * targets.c: Add z80coff_vec. - * coff-z80.c: New file - * cpu-z80.c: New file - * configure: Regenerated. - * libbfd.h: Regenerated. - * bfd-in2.h: Regenerated. - -2005-10-26 Alan Modra <amodra@bigpond.net.au> - - PR ld/1540 - * elf-bfd.h (elf_backend_copy_indirect_symbol): Replace pointer to - elf_backend_data with pointer to bfd_link_info. - (_bfd_elf_link_hash_copy_indirect): Likewise. - * elf.c (_bfd_elf_link_hash_copy_indirect): Likewise. Handle - direct and indirect symbols both having dynamic link info. - * elf32-arm.c (elf32_arm_copy_indirect_symbol): Likewise. - * elf32-hppa.c (elf32_hppa_copy_indirect_symbol): Likewise. - * elf32-i386.c (elf_i386_copy_indirect_symbol): Likewise. - * elf32-m32r.c (m32r_elf_copy_indirect_symbol): Likewise. - * elf32-ppc.c (ppc_elf_copy_indirect_symbol): Likewise. - * elf32-s390.c (elf_s390_copy_indirect_symbol): Likewise. - * elf32-sh.c (sh_elf_copy_indirect_symbol): Likewise. - * elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Likewise. - * elf64-s390.c (elf_s390_copy_indirect_symbol): Likewise. - * elf64-x86-64.c (elf64_x86_64_copy_indirect_symbol): Likewise. - * elfxx-ia64.c (elfNN_ia64_hash_copy_indirect): Likewise. - * elfxx-mips.c (_bfd_mips_elf_copy_indirect_symbol): Likewise. - * elfxx-sparc.c (_bfd_sparc_elf_copy_indirect_symbol): Likewise. - * elflink.c: Adjust all calls to bed->elf_backend_copy_indirect_symbol. - * elfxx-mips.h (_bfd_mips_elf_copy_indirect_symbol): Update prototype. - * elfxx-sparc.h (_bfd_sparc_elf_copy_indirect_symbol): Likewise. - -2005-10-25 Alan Modra <amodra@bigpond.net.au> - - * po/SRC-POTFILES.in: Regenerate. - * po/bfd.pot: Regenerate. - -2005-10-24 Jie Zhang <jie.zhang@analog.com> - - * elf32-bfin.c (bfd_bfin_elf32_create_embedded_relocs): Fix signedness - warning. - -2005-10-24 Bernd Schmidt <bernd.schmidt@analog.com> - - * elf32-bfin.c (bfin_howto_table): Set src_mask to 0 for all relocs. - (bfin_imm16_reloc): Always add in the addend. Don't fetch existing - contents from section. - (bfin_relocate_section): Rework so as to not call special_functions. - Handle the relocation stack here. Treat pcrel24 relocs specially. - -2005-10-24 Alan Modra <amodra@bigpond.net.au> - - * elflink.c (elf_link_input_bfd): Don't use linker_mark and - SEC_EXCLUDE to test for sections dropped from output. Instead, - use bfd_section_removed_from_list on normal sections. Don't - attempt to handle symbols with unknown reserved section indices. - * linker.c (_bfd_generic_link_output_symbols): Don't use - linker_mark to test for symbols belonging to dropped sections. - Do allow absolute symbols. - -2005-10-24 Alan Modra <amodra@bigpond.net.au> - - * elf32-i370.c (i370_elf_fake_sections): Don't set SHF_EXCLUDE on - group sections. - -2005-10-24 Jan Beulich <jbeulich@novell.com> - - * cpu-ia64-opc.c (elf64_ia64_operands): Move memory operand out of - set of indirect operands. - -2005-10-24 Alan Modra <amodra@bigpond.net.au> - - * elf32-ppc.c (ppc_elf_fake_sections): Don't set SHF_EXCLUDE on - group sections. - -2005-10-23 H.J. Lu <hongjiu.lu@intel.com> - - * coff-rs6000.c (rs6000coff_vec): Initialize - _bfd_init_private_section_data with - _bfd_generic_init_private_section_data. - (pmac_xcoff_vec): Likewise. - * coff64-rs6000.c (rs6000coff64_vec): Likewise. - (aix5coff64_vec): Likewise. - -2005-10-23 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/1487 - * elf-bfd.h (_bfd_generic_init_private_section_data): New. - (_bfd_elf_init_private_section_data): New. - - * elf.c (elf_fake_sections): Don't set SHF_GROUP for - relocatable link. - (bfd_elf_set_group_contents): Don't handle relocatable link - specially. - (assign_section_numbers): If it isn't called by assembler, - use the output section of elf_linked_to_section for - SHF_LINK_ORDER. - (_bfd_elf_init_private_section_data): New. - (_bfd_elf_copy_private_section_data): Call it. - - * libbfd-in.h (_bfd_generic_init_private_section_data): New. - - * libbfd.c (_bfd_generic_init_private_section_data): New. - - * targets.c (BFD_JUMP_TABLE_COPY): Add - _bfd_generic_init_private_section_data. - (bfd_init_private_section_data): Likewise. - - * bfd-in2.h: Regenerated. - * libbfd.h: Likewise. - -2005-10-23 Alan Modra <amodra@bigpond.net.au> - - * elf64-ppc.c (dec_dynrel_count): Don't report errors for local - syms in gc'd sections. - (ppc64_elf_edit_opd): Don't adjust reloc counts when NO_OPD_RELOCS. - (elf_backend_action_discarded): Define. - (ppc64_elf_action_discarded): New function. - -2005-10-19 Paul Brook <paul@codesourcery.com> - - * elf32-arm.c (find_arm_elf_section_entry): New function. - (get_arm_elf_section_data): Use it. - (unrecord_section_with_arm_elf_section_data): Use it. - -2005-10-15 H.J. Lu <hongjiu.lu@intel.com> - - * coff-rs6000.c (rs6000coff_vec): Initialize - _bfd_match_sections_by_type with - _bfd_generic_match_sections_by_type. - (pmac_xcoff_vec): Likewise. - * coff64-rs6000.c (rs6000coff64_vec): Likewise. - (aix5coff64_vec): Likewise. - -2005-10-15 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/1467 - * elf-bfd.h (_bfd_elf_match_sections_by_type): New. - (_bfd_generic_match_sections_by_type): New. Defined. - - * elf.c (_bfd_elf_match_sections_by_type): New. - - * libbfd-in.h (_bfd_generic_match_sections_by_type): New. - - * bfd-in2.h: Regenerated. - * libbfd.h: Likewise. - - * libbfd.c (_bfd_generic_match_sections_by_type): New. - - * targets.c (BFD_JUMP_TABLE_LINK): Initialize - _bfd_match_sections_by_type with - _bfd_generic_match_sections_by_type. - (bfd_target): Add _bfd_match_sections_by_type. - -2005-10-08 Paul Brook <paul@codesourcery.com> - - * elf32-arm.c: Move #include "elf/arm.h" after libbfd.h. - (NUM_KNOWN_ATTRIBUTES): Define. - (aeabi_attribute, aeabi_attribute_list): Define. - (elf32_arm_obj_tdata): Add known_eabi_attributes and - other_eabi_attributes. - (uleb128_size, is_default_attr, eabi_attr_size, - elf32_arm_eabi_attr_size, write_uleb128, write_eabi_attribute, - elf32_arm_set_eabi_attr_contents, elf32_arm_bfd_final_link, - elf32_arm_new_eabi_attr, attr_strdup, elf32_arm_add_eabi_attr_int, - elf32_arm_add_eabi_attr_compat, copy_eabi_attributes, - elf32_arm_merge_eabi_attributes): New functions. - (elf32_arm_copy_private_bfd_data): Copy EABI object attributes. - (elf32_arm_fake_sections): Handle .ARM.attributes. - (elf32_arm_parse_attributes): New function. - (elf32_arm_section_from_shdr): Use it. - (bfd_elf32_bfd_final_link): Define. - -2005-10-06 Daniel Jacobowitz <dan@codesourcery.com> - - * elf32-arm.c (elf32_arm_check_relocs): Avoid aliasing warnings from - GCC. - (elf32_arm_size_dynamic_sections): Likewise. - * ecofflink.c (bfd_ecoff_debug_one_external): Likewise. - * elf32-hppa.c (elf32_hppa_check_relocs): Likewise. - * elf32-m32r.c (m32r_elf_check_relocs): Likewise. - * elf32-m68k.c (elf_m68k_check_relocs): Likewise. - * elf32-ppc.c (ppc_elf_check_relocs): Likewise. - * elf32-s390.c (elf_s390_check_relocs): Likewise. - (elf_s390_size_dynamic_sections): Likewise. - * elf32-sh.c (sh_elf_check_relocs): Likewise. - * elf64-ppc.c (ppc64_elf_check_relocs, dec_dynrel_count) - (ppc64_elf_size_dynamic_sections): Likewise. - * elf64-s390.c (elf_s390_check_relocs): Likewise. - (elf_s390_size_dynamic_sections): Likewise. - * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_sections): Likewise. - * elfxx-sparc.c (_bfd_sparc_elf_check_relocs): Likewise. - (_bfd_sparc_elf_size_dynamic_sections): Likewise. - * ieee.c (ieee_slurp_section_data): Likewise. - * oasys.c (oasys_slurp_section_data): Likewise. - -2005-10-04 Bob Wilson <bob.wilson@acm.org> - - * archive.c: Add missing SUBSECTION for documentation. - * bfd.c: Likewise. - * cache.c: Likewise. - * corefile.c: Likewise. - * format.c: Likewise. - * init.c: Likewise. - * libbfd.c: Likewise. - * opncls.c: Likewise. - * elf.c: Remove blank line after SECTION heading. - * reloc.c: Change "howto manager" SECTION to a SUBSECTION. - -2005-10-04 Nick Clifton <nickc@redhat.com> - - * elf32-arm.c (get_arm_elf_section_data): Cache the last pointer - matched so that the typical case of scanning for the previous - section to last one can be handled quickly. - -2005-10-03 David Heine <dlheine@tensilica.com> - - * elf32-xtensa.c (relocations_reach): Skip range check for - absolute literals. - -2005-10-03 Alan Modra <amodra@bigpond.net.au> - - * elf.c (_bfd_elf_get_synthetic_symtab): Set BSF_GLOBAL on - synthetic syms. - -2005-09-30 H.J. Lu <hongjiu.lu@intel.com> - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerated. - * aclocal.m4: Likewise. - -2005-09-30 Catherine Moore <clm@cm00re.com> - - * Makefile.am: Bfin support. - * Makefile.in: Regenerated. - * aclocal.m4: Regenerated. - * archures.c (bfd_mach_bfin): New. - (bfd_arch_bfin): New. - bfd-in.h (bfd_bfin_elf32_create_embedded_relocs): New. - * bfd-in2.h: Regenerated. - * config.bfd: Bfin support. - * configure: Regenerated. - * configure.in: Bfin support. - * libbfd.h: Regenerated. - * reloc.c: Add BFD relocations for Bfin. - * targets.c (bfd_elf32_bfin_vec): New. - * cpu-bfin.c: New file. - * elf32-bfin.c: New file. - -2005-09-30 Alan Modra <amodra@bigpond.net.au> - - * elf64-ppc.c (ppc_type_of_stub): Check both func desc and func - entry sym before deciding no stub is needed. - (ppc64_elf_size_stubs): When calculating branch destination, - don't use func desc sym for old ABI objects unless func entry - is undefined. - -2005-09-28 H.J. Lu <hongjiu.lu@intel.com> - - PR binutils/1321 - * elf-bfd.h (_bfd_elf_setup_group_pointers): Renamed to ... - (_bfd_elf_setup_sections): This. - * elf.c: Likewise. - * elfcode.h (elf_object_p): Likewise. - - * elf.c (_bfd_elf_setup_sections): Process SHF_LINK_ORDER. - (_bfd_elf_copy_private_section_data): Likewise. - -2005-09-28 H.J. Lu <hongjiu.lu@intel.com> - - * elflink.c (elf_fixup_link_order): Report locations for mixed - ordered and unordered input sections. - -2005-09-22 James E. Wilson <wilson@specifix.com> - - * dwarf2.c (struct funcinfo): Delete nesting_level field. - (lookup_address_in_function_table): Delete code to set funcinfo - caller_func field. Delete local curr_func. - (scan_unit_for_symbols): New locals nested_funcs, nested_funcs_size. - Delete code setting funcinfo nesting_level field. Add code to set - funcinfo caller_func field. - -2005-09-20 James E. Wilson <wilson@specifix.com> - - * dwarf2.c (find_abstract_instance_name): Don't early exit when name - set. For DW_AT_name case, only set name if not already set. Handle - DW_AT_MIPS_linkage_name. - -2005-09-20 Alan Modra <amodra@bigpond.net.au> - - * elflink.c (_bfd_elf_merge_symbol): Simplify. - -2005-09-19 Alan Modra <amodra@bigpond.net.au> - - * elf64-ppc.c (ppc_build_one_stub): Replace assertion that long - branch offset is in range with an error. Print full stub name on - errors. - (ppc_size_one_stub): Print full stub name on errors. - (group_sections): Warn if section size exceeds group size. - (ppc64_elf_size_stubs): Continue relaxing when stub types change. - -2005-09-09 Kevin Buettner <kevinb@redhat.com> - - * elf32-am33lin.c (bfd.h, sysdep.h, elf-bfd.h, elf/mn10300.h): - Include. - (elf32_am33lin_grok_prstatus, elf32_am33lin_grok_psinfo): New - functions. - (elf_backend_grok_prstatus, elf_backend_grok_psinfo): Define. - -2005-09-09 Richard Earnshaw <richard.earnshaw@arm.com> - - * elf32-arm.c (elf32_arm_section_from_shdr): Accept SHT_ARM_PREEMPTMAP - and SHT_ARM_ATTRIBUTES. - -2005-09-08 H.J. Lu <hongjiu.lu@intel.com> - - * elflink.c (elf_get_linked_section_vma): Fix a typo in comment. - * elfxx-ia64.c (elf_backend_link_order_error_handler): Likewise. - -2005-09-08 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/1263 - * elflink.c (elf_link_add_object_symbols): Abort for - --just-symbols on DSO. - -2005-09-08 Paul Brook <paul@codesourcery.com> - - * reloc.c: Rename BFD_RELOC_ARM_SMI to BFD_RELOC_ARM_SMC. - * bfd-in2.h: Regenerate. - * libbfd.h: Regenerate. - -2005-09-06 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/1301 - * elflink.c (_bfd_elf_merge_symbol): Don't check undefined - symbol introduced by "ld -u" for TLS. - -2005-09-02 Paul Brook <paul@codesourcery.com> - - * libbdf.h: Regenerate. - * bfd-in2.h: Regenerate. - * reloc.c: Add BFD_RELOC_ARM_T32_CP_OFF_IMM and - BFD_RELOC_ARM_T32_CP_OFF_IMM_S2. - -2005-09-01 Dmitry Diky <diwil@spec.ru> - - * elf32-msp430.c (msp430_elf_relax_delete_bytes): Do not adjust - local symbols and move it to - (msp430_elf_relax_adjust_locals): New function - walk over the - sections in the bfd and adjust relocations as necessary. - -2005-08-31 DJ Delorie <dj@redhat.com> - - * elf32-i386.c (elf_i386_check_relocs): Don't cast a unary & - address operator, as that breaks GCC's strict aliasing rules. - (elf_i386_size_dynamic_sections): Avoid the need for type - punning. - * elf64-x86-64.c (elf_x86_64_check_relocs): Don't cast a unary - & address operator, as that breaks GCC's strict aliasing - rules. - (elf_x86_64_size_dynamic_sections): Avoid the need for type - punning. - -2005-08-30 Phil Edwards <phil@codesourcery.com> - - * config.bfd (i[3-7]86-*-vxworks): Match vxworks* instead. - -2005-08-29 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/1247 - * elfxx-ia64.c (allocate_fptr): Check undefined symbol. - -2005-08-29 Steven J. Hill <sjhill@realitydiluted.com> - - * elfxx-mips.c (_bfd_mips_elf_relocate_section): Initialise - 'value' to avoid compile time warning message. - -2005-08-26 Christian Groessler <chris@groessler.org> - - * coff-z8k.c: (r_jr, r_disp7, r_callr): Fix src_mask and dst_mask - of HOWTO. - (coff_z8k_select_reloc): Remove. - (SELECT_RELOC): Remove. - (coff_z8k_reloc_type_lookup): New function. - (coff_bfd_reloc_type_lookup): Define. - * configure.in: Add cofflink.lo to z8kcoff_vec. - * configure: Regenerate. - * reloc.c: (bfd_reloc_code_type): Add z8k relocations. - (bfd_install_relocation): Don't clear reloc_entry->addend for - coff-z8k target. - * bfd-in2.h: Regenerate. - * libbfd.h: Regenerate. - -2005-08-25 Kaz Kojima <kkojima@rr.iij4u.or.jp> - - * elf32-sh.c (sh_elf_get_flags_from_mach): Fix off-by-one error. - -2005-08-24 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/1208 - * elf-hppa.h (elf_hppa_relocate_section): Print out the name - of unresolvable relocation. - * elf-m10300.c (mn10300_elf_relocate_section): Likewise. - * elf32-arm.c (elf32_arm_relocate_section): Likewise. - * elf32-i386.c (elf_i386_relocate_section): Likewise. - * elf32-m32r.c (m32r_elf_relocate_section): Likewise. - * elf32-m68k.c (elf_m68k_relocate_section): Likewise. - * elf32-s390.c (elf_s390_relocate_section): Likewise. - * elf32-sh.c (sh_elf_relocate_section): Likewise. - * elf32-xtensa.c (elf_xtensa_relocate_section): Likewise. - * elf64-s390.c (elf_s390_relocate_section): Likewise. - * elf64-sh64.c (sh_elf64_relocate_section): Likewise. - * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. - * elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Likewise. - -2005-08-18 Kaz Kojima <kkojima@rr.iij4u.or.jp> - - * config.bfd: Add bfd_elf32_shnbsd_vec and bfd_elf32_shlnbsd_vec - to targ_selvecs for sh5*-*-netbsd* and sh64*-*-netbsd*. - -2005-08-18 Alan Modra <amodra@bigpond.net.au> - - * coff-a29k.c: Delete. - * cpu-a29k.c: Delete. - * Makefile.am: Remove mention of a29k files. - * aoutf1.h: Remove a29k support. - * aoutx.h: Likewise. - * archures.c: Likewise. - * coffcode.h: Likewise. - * config.bfd: Likewise. - * configure.in: Likewise. - * ieee.c: Likewise. - * mipsbsd.c: Likewise. - * pdp11.c: Likewise. - * sparclynx.c: Likewise. - * targets.c: Likewise. - * Makefile.in: Regenerate. - * configure: Regenerate. - * bfd-in2.h: Regenerate. - * po/SRC-POTFILES.in: Regenerate. - -2005-08-18 Alan Modra <amodra@bigpond.net.au> - - * elf-m10300.c (_bfd_mn10300_elf_adjust_dynamic_symbol): Warn on - zero size dynamic variables. - * elf32-arm.c (elf32_arm_adjust_dynamic_symbol): Likewise. - * elf32-cris.c (elf_cris_adjust_dynamic_symbol): Likewise. - * elf32-hppa.c (elf32_hppa_adjust_dynamic_symbol): Likewise. - * elf32-i370.c (i370_elf_adjust_dynamic_symbol): Likewise. - * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Likewise. - * elf32-m32r.c (m32r_elf_adjust_dynamic_symbol): Likewise. - * elf32-m68k.c (elf_m68k_adjust_dynamic_symbol): Likewise. - * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Likewise. - * elf32-s390.c (elf_s390_adjust_dynamic_symbol): Likewise. - * elf32-sh.c (sh_elf_adjust_dynamic_symbol): Likewise. - * elf32-vax.c (elf_vax_adjust_dynamic_symbol): Likewise. - * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Likewise. - * elf64-s390.c (elf_s390_adjust_dynamic_symbol): Likewise. - * elf64-sh64.c (sh64_elf64_adjust_dynamic_symbol): Likewise. - * elf64-x86-64.c (elf64_x86_64_adjust_dynamic_symbol): Likewise. - * elfxx-sparc.c (_bfd_sparc_elf_adjust_dynamic_symbol): Likewise. - -2005-08-17 H.J. Lu <hongjiu.lu@intel.com> - - PR binutils/1179 - * dwarf2.c (_bfd_dwarf2_find_nearest_line): Use section lma - instead of vma. - (_bfd_dwarf2_find_line): Likewise. - -2005-08-17 Alan Modra <amodra@bigpond.net.au> - - * elf64-mmix.c (mmix_elf_add_symbol_hook): Mark reg section - SEC_LINKER_CREATED. - (mmix_elf_final_link): Check that section hasn't already been - removed before removing. - * mmo.c (mmo_scan): Mark reg contents section SEC_LINKER_CREATED. - (mmo_canonicalize_symtab): Likewise for reg section. - -2005-08-17 Alan Modra <amodra@bigpond.net.au> - - * elf32-cris.c (elf_cris_adjust_gotplt_to_got): Move assert later. - * elfxx-mips.c (_bfd_mips_elf_hide_symbol): Cope with being called - without any got section. - -2005-08-17 Danny Smith <dannysmith@users.sourceforge.net> - - * cofflink.c (_bfd_coff_generic_relocate_section): Correct - comment. - -2005-08-17 Alan Modra <amodra@bigpond.net.au> - - * elflink.c (_bfd_elf_define_linkage_sym): Don't call - bfd_elf_link_record_dynamic_symbol. Call elf_backend_hide_symbol. - (_bfd_elf_link_renumber_dynsyms): Formatting. - (struct elf_gc_sweep_symbol_info): New. - (elf_gc_sweep_symbol): Rewrite. - (elf_gc_sweep): Adjust params and elf_gc_sweep_symbol call. - Call _bfd_elf_link_renumber_dynsyms. - (bfd_elf_gc_sections): Adjust elf_gc_sweep call. - -2005-08-16 Alan Modra <amodra@bigpond.net.au> - - * elf64-ppc.c (ppc64_elf_edit_opd): Don't call dec_dynrel_count - when relocatable. - -2005-08-15 Bob Wilson <bob.wilson@acm.org> - - * elf32-xtensa.c (ELF_MACHINE_CODE, ELF_MACHINE_ALT1): Swap values - of EM_XTENSA and EM_XTENSA_OLD. - -2005-08-16 Alan Modra <amodra@bigpond.net.au> - - * elf-bfd.h (_bfd_elf_define_linkage_sym): Declare. - * elflink.c (_bfd_elf_define_linkage_sym): New function, extracted - from.. - (_bfd_elf_create_got_section): ..here. - (_bfd_elf_link_create_dynamic_sections): Call it for _DYNAMIC. - (_bfd_elf_create_dynamic_sections): ..and _PROCEDURE_LINKAGE_TABLE_. - * elf-m10300.c (_bfd_mn10300_elf_create_got_section): Use - _bfd_elf_define_linkage_sym. - * elf32-frv.c (_frv_create_got_section): Likewise. - * elf64-alpha.c (elf64_alpha_create_dynamic_sections): Likewise. - -2005-08-15 Paul Brook <paul@codesourcery.com> - - * elf32-arm.c (elf32_arm_howto_table_1): Make R_ARM_PLT32 the same as - R_ARM_PC24. - -2005-08-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - PR ld/1135 - * elf64-hppa.c (elf64_hppa_special_sections): Add flag definitions for - .plt, .dlt, .sdata, .sbss and .tbss. - -2005-08-12 Dmitry Diky <diwil@spec.ru> - - * elf32-msp430.c (msp430_elf_relax_delete_bytes): Adjust relocations - referenced by .section + DISPLACEMENT. - -2005-08-10 James E. Wilson <wilson@specifix.com> - - * dwarf2.c (scan_unit_for_symbols, case DT_AT_location): Verify that - DW_OP_addr is only opcode in location before using it. - -2005-08-09 H.J. Lu <hongjiu.lu@intel.com> - - * elfxx-ia64.c (elfNN_ia64_final_link): Reset gp. - -2005-08-09 Rodney Brown <rbrown@bravurasolutions.com.au> - Nick Clifton <nickc@redhat.com> - - * aix5ppc-core.c (xcoff64_core_p): Constify return_value - variable. Also, do not use core_hdr macro as it evaluates to a - cast of an lvalue which is no longer supported by GCC 4.0. - -2005-08-08 Eric Dönges <Eric.Doenges@betty-tv.com> - - * archures.c (bfd_mach_msp21): New MSP430 machine number. - * bfd-in2.h: Regenerate. - * cpu-msp430.c (arch_info_struct): Add support for msp430x21xx - variants. - -2005-08-07 Nick Clifton <nickc@redhat.com> - Paul Brook <paul@codesourcery.com> - - PR 1147 - * elf32-arm.c (bfd_elf32_close_and_cleanup): Define. - (elf32_arm_close_and_cleanup): New function - walk over the - sections in the bfd that is being closed removing them from the - list of recorded sections. - (unrecord_section_via_map_over_sections): New helper function. - (record_section_with_arm_elf_section_data): Call bfd_malloc - instead of bfd_alloc. Remove unneeded abfd parameter. - (elf32_arm_new_section_hook): Do not pass bfd to - record_section_with_arm_elf_section_data. - - * elfxx-target.h (bfd_elfNN_close_and_cleanup): Only define if not - already defined by the target. - -2005-08-05 Fred Fish <fnf@specifix.com> - - * dwarf2.c (read_rangelist): Use addr_size instead of offset_size - to determine how many bytes to read from each rangelist entry. - -2005-08-05 H.J. Lu <hongjiu.lu@intel.com> - - * bfd.c (bfd_hide_symbol): New. - * bfd-in2.h: Regenerated. - -2005-08-04 H.J. Lu <hongjiu.lu@intel.com> - - * elf64-x86-64.c (elf64_x86_64_merge_symbol): When mixing a - large common symbol and a normal common symbol, always turn - the large common symbol into a normal one. - -2005-08-04 Alan Modra <amodra@bigpond.net.au> - - * elf32-ppc.c (struct elf_linker_section): Replace sym_val field - with sym. - (ppc_elf_relocate_section): Adjust for above. - (create_sdata_sym): New function. - (ppc_elf_create_linker_section): Call it. - (ppc_elf_check_relocs): Correct has_sda_refs and non_got_refs. - Create sdata syms for all SDA relocs. - (ppc_elf_adjust_dynamic_symbol): Don't special case _SDA_BASE_ - and _SDA2_BASE_. - (ppc_elf_set_sdata_syms): Delete. - * elflink.c (bfd_elf_size_dynamic_sections): Don't create DT_INIT - and DT_FINI tags unless associated section has input. - (bfd_elf_set_symbol, _bfd_elf_provide_symbol): Delete. - (_bfd_elf_provide_section_bound_symbols): Delete. - * bfd-in.h (_bfd_elf_provide_symbol): Delete. - (_bfd_elf_provide_section_bound_symbols): Delete. - * bfd-in2.h: Regenerate. - -2005-08-04 Alan Modra <amodra@bigpond.net.au> - - * elflink.c (fix_syms, _bfd_elf_fix_excluded_sec_syms): Move to.. - * linker.c (fix_syms, _bfd_fix_excluded_sec_syms): ..here. - * bfd-in.h (_bfd_fix_excluded_sec_syms): Rename. - * bfd-in2.h: Regenerate. - -2005-08-03 H.J. Lu <hongjiu.lu@intel.com> - - * elfxx-ia64.c (elfNN_ia64_relax_section): Resize .rela.got - only if it isn't NULL. - -2005-08-03 H.J. Lu <hongjiu.lu@intel.com> - - * elf32-i386.c (elf_howto_table): Undo the overflow change for - R_386_PC16 made on 2005-07-18. - - * elf64-x86-64.c (x86_64_elf_howto_table): Undo the overflow - change for R_X86_64_PC16 made on 2005-07-18. - -2005-08-03 Alan Modra <amodra@bigpond.net.au> - - * elf32-ppc.c (struct ppc_elf_link_hash_table): Remove hgot. Use - elf.hgot throughout file. - -2005-08-03 Alan Modra <amodra@bigpond.net.au> - - * elf32-ppc.c (ppc_elf_size_dynamic_sections): Correct value of - _GLOBAL_OFFSET_TABLE_ for > 32k GOT. - -2005-08-02 Andreas Schwab <schwab@suse.de> - - * elfxx-ia64.c (struct elfNN_ia64_allocate_data): Add only_got. - (elfNN_ia64_relax_section): Reallocate .rela.got when .got has - changed. - (allocate_dynrel_entries): Look only at GOT relocations when - only_got is true. - (elfNN_ia64_size_dynamic_sections): Set only_got to false before - calling allocate_dynrel_entries. - -2005-08-02 Nick Clifton <nickc@redhat.com> - - PR 1147 - * elf32-arm.c (struct _arm_elf_section_data): Turn into a typedef - and make the mapcount field unsigned. - (struct section_list): New: Used to keep track of which sections - have an _arm_elf_section_data structure. - (record_section_with_arm_elf_section_data): New function. - (get_arm_elf_section_data): New function. - (unrecord_section_with_arm_elf_section_data): New function. - (elf32_arm_output_symbol_hook): Use get_arm_elf_section_data. - (elf32_arm_new_section_hook): Call - record_section_with_arm_elf_section_data. - (elf32_arm_write_section): Use get_arm_elf_section_data and - unrecord_section_with_arm_elf_section_data. - -2005-08-01 Richard Sandiford <richard@codesourcery.com> - - * elfxx-mips.c (mips_mach_extends_p): Treat MIPS64 as an extension - of MIPS32 and MIPS64r2 as an extension of MIPS32r2. - -2005-07-30 David Daney <ddaney@avtrex.com> - - * elflink.c (elf_gc_sweep): Set dynsymcount to correct value. - -2005-07-29 David Daney <ddaney@avtrex.com> - - * elfxx-mips.c (_bfd_mips_elf_add_symbol_hook): Ignore _gp_disp - if it is in the *ABS* section. - -2005-07-29 Paul Brook <paul@codesourcery.com> - - * reloc.c: Add BFD_RELOC_ARM_T32_ADD_PC12. - * bfd-in2.h: Regenerate. - * libbfd.h: Regenerate. - -2005-07-29 Paul Brook <paul@codesourcery.com> - - * reloc.c (BFD_RELOC_ARM_T32_IMM12): Add. - * bfd-in2.h: Regeenrate. - * libbfd.h: Regenerate. - -2005-07-29 Pavel Kankovsky <peak@argo.troja.mff.cuni.cz> - - * peXXigen.c (pe_print_edata): Compute the size of the export - table from the size field in the DataDictionary and not the size - of the section. Some linkers embed the export table inside a - larger section. - -2005-07-29 Alan Modra <amodra@bigpond.net.au> - - * elf-bfd.h (struct elf_backend_data): Add action_discarded. - (enum action_discarded): Move from.. - * elflink.c (enum action_discarded): ..here. - (_bfd_elf_default_action_discarded): Rename from elf_action_discarded. - Remove target specific section checks. - (elf_link_input_bfd): Adjust. - * elfxx-target.h (elf_backend_action_discarded): Define. - (elfNN_bed): Init new field. - * bfd-in.h (_bfd_elf_default_action_discarded): Declare. - * bfd-in2.h: Regenerate. - * elf-hppa.h (elf_hppa_action_discarded): New function. - * elf32-hppa.c (elf_backend_action_discarded): Define. - * elf64-hppa.c (elf_backend_action_discarded): Define. - * elf32-ppc.c (ppc_elf_action_discarded): New function. - (elf_backend_action_discarded): Define. - -2005-07-27 Alan Modra <amodra@bigpond.net.au> - - * elflink.c (fix_syms): Handle symbols defined in input sections. - -2005-07-27 Jan Beulich <jbeulich@novell.com> - - * elf64-x86-64.c (R_X86_64_standard, R_X86_64_vt_offset): New. - (elf64_x86_64_info_to_howto): Use them. - -2005-07-27 Alan Modra <amodra@bigpond.net.au> - - * elflink.c (_bfd_elf_merge_symbol): Skip weak redefinition - regardless of strength of previous definition. - -2005-07-26 Alan Modra <amodra@bigpond.net.au> - - * elflink.c (elf_gc_mark_dynamic_ref_symbol): Handle -shared. - (bfd_elf_gc_sections): Allow -gc-sections when -shared. - * elf32-ppc.c (ppc_elf_gc_sweep_hook): Correct for -shared. - -2005-07-26 Alan Modra <amodra@bigpond.net.au> - - * elflink.c (elf_gc_sweep): Move gcc_except_table code.. - (bfd_elf_gc_sections): ..to here. - -2005-07-25 DJ Delorie <dj@redhat.com> - - * reloc.c: Remove unused M32C relocs, add BFD_RELOC_M32C_HI8. - * libbfd.h: Regenerate. - * bfd-in2.h: Regenerate. - - * elf32-m32c.c (m32c_elf_howto_table): Add R_M32C_8, R_M32C_LO16, - R_M32C_HI8, R_M32C_HI16. - (m32c_reloc_map): Likewise. - (m32c_elf_relocate_section): Add R_M32C_HI8 and R_M32C_HI16. - -2005-07-25 Jan Hubicka <jh@suse.cz> - H.J. Lu <hongjiu.lu@intel.com> - - * elf-bfd.h (_bfd_elf_large_com_section): New. - * elf.c (_bfd_elf_large_com_section): New. Defined. - - * elf64-x86-64.c (elf64_x86_64_add_symbol_hook): New. - (elf64_x86_64_elf_section_from_bfd_section): New. - (elf64_x86_64_symbol_processing): New. - (elf64_x86_64_common_definition): New. - (elf64_x86_64_common_section_index): New. - (elf64_x86_64_common_section): New. - (elf64_x86_64_merge_symbol): New. - (elf64_x86_64_additional_program_headers): New. - (elf64_x86_64_special_sections): New. - (elf_backend_section_from_bfd_section): New. Defined. - (elf_backend_add_symbol_hook): Likewise. - (elf_backend_common_section_index): Likewise. - (elf_backend_common_section): Likewise. - (elf_backend_common_definition): Likewise. - (elf_backend_merge_symbol): Likewise. - (elf_backend_special_sections): Likewise. - (elf_backend_additional_program_headers): Likewise. - -2005-07-25 H.J. Lu <hongjiu.lu@intel.com> - - * elf-bfd.h (elf_backend_data): Add common_definition, - common_section_index, common_section, and merge_symbol. - (_bfd_elf_common_definition): New. - (_bfd_elf_common_section_index): New. - (_bfd_elf_common_section): New. - - * elf.c (elf_fake_sections): Don't clear sh_flags. - - * elflink.c (_bfd_elf_merge_symbol): Call backend merge_symbol - if it is available. - (is_global_data_symbol_definition): Call backend - common_definition instead of checking SHN_COMMON. - (elf_link_add_object_symbols): Likewise. - (elf_link_output_extsym): Call backend common_section_index - for common section index. - (_bfd_elf_common_definition): New. - (_bfd_elf_common_section_index): New. - (_bfd_elf_common_section): New. - - * elfxx-target.h (elf_backend_common_definition): New. - (elf_backend_common_section_index): New. - (elf_backend_common_section): New. - (elf_backend_merge_symbol): New. - (elfNN_bed): Initialize common_definition, common_section_index, - common_section, and merge_symbol. - - * section.c (BFD_FAKE_SECTION): New. - (STD_SECTION): Use it. - * bfd-in2.h: Regenerated. - -2005-07-23 Olaf Hering <olh@suse.de> - - * elflink.c (elf_link_input_bfd): Add '\n' for linker einfo - callback. - -2005-07-21 Ralf Corsepius <ralf.corsepius@rtems.org> - - * config.bfd: Remove i[3-7]86-*-rtemself*. - Remove sparc-*-rtemself*. - -2005-07-22 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> - - * elf32-m32r.c (m32r_elf_check_relocs): Fix pc count for - R_M32R_REL32. - -2005-07-21 Ben Elliston <bje@gnu.org> - - * Makefile.am (BFD32_BACKENDS): Remove cf-m68klynx.lo. - (BFD32_BACKENDS): Likewise, remove m68klynx.lo. - (BFD32_BACKENDS_CFILES): Remove cf-m68klynx.c, m68klynx.c. - (cf-m68klynx.lo, m68klynx.lo): Remove targets. - * Makefile.in: Regenerate. - * cf-m68klynx.c: Remove. - * m68klynx.c: Likewise. - * configure.in (m68klynx_aout_vec): Remove vector. - (m68klynx_coff_vec): Likewise. - * configure: Regenerate. - * targets.c (m68klynx_aout_vec): Remove extern. - (m68klynx_coff_vec): Likewise. - (_bfd_target_vector): Remove m68klynx_{aout,coff}_vec. - * po/SRC-POTFILES.in: Remove cf-m68klynx.c, m68klynx.c. - -2005-07-20 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> - - * elf32-m32r.c (m32r_elf_howto_table): Support R_M32R_REL32. - (m32r_reloc_map): Likewise. - (m32r_elf_relocate_section): Likewise. - (m32r_elf_gc_sweep_hook): Likewise. - (m32r_elf_check_relocs): Likewise. - -2005-07-18 Nick Clifton <nickc@redhat.com> - - * reloc.c: Add M32C and MS1 relocs. - * bfd-in2.h: Regenerate. - * libbfd.h: Regenerate. - -2005-07-18 Nick Clifton <nickc@redhat.com> - - * config.bfd: Move m32c entry to correct location. - * archures.c: Likewise. - * configure.in: Likewise. - * configure: Regenerate. - * targets.c: Move ms1 vector to correct location. - -2005-07-18 Jan Beulich <jbeulich@novell.com> - - * elf32-i386.c (elf_howto_table): Adjust overflow complaint handler - for R_386_PC16. - * elf64-x86-64.c (x86_64_elf_howto_table): Adjust overflow complaint - handler for R_X86_64_PC16, R_X86_64_8, and R_X86_64_DTPOFF. - -2005-07-16 Eric Botcazou <ebotcazou@libertysurf.fr> - - PR ld/1021 - PR ld/1031 - * elflink.c (elf_link_add_object_symbols): Also append the version - name to non-hidden absolute symbols that are functions. - -2005-07-16 Alan Modra <amodra@bigpond.net.au> - - * elf32-ppc.c (ppc_elf_set_sdata_syms): Return void. Remove hack - for zero size sections. Don't set .sbss syms here. - * elf32-ppc.h (ppc_elf_set_sdata_syms): Adjust prototype. - -2005-07-16 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - -2005-07-15 Bob Wilson <bob.wilson@acm.org> - - * elf32-xtensa.c (vsprint_msg): Add prototype. - (build_encoding_error_message): Delete. Code moved into.... - (elf_xtensa_do_reloc): ....here, and changed to give better - error messages for out of range literals. - -2005-07-15 Alan Modra <amodra@bigpond.net.au> - - * elflink.c (bfd_elf_record_link_assignment): Remove output_bfd param. - (_bfd_elf_provide_symbol): Allow redefinition of weak syms and those - defined in output sections. Call bfd_elf_record_link_assignment. - * bfd-in.h (bfd_elf_record_link_assignment): Update prototype. - * bfd-in2.h: Regenerate. - -2005-07-14 Jim Blandy <jimb@redhat.com> - - Add support for m32c-*-elf (Renesas m32c and m16c). - * Makefile.am (ALL_MACHINES): Add cpu-m32c.lo. - (ALL_MACHINES_CFILES): Add cpu-m32c.c. - (BFD32_BACKENDS): Add elf32-m32c.lo. - (BFD32_BACKENDS_CFILES): Add elf32-m32c.c. - (cpu-m32c.lo, elf32-m32c.lo): New rules, generated by 'make dep-am'. - * Makefile.in: Regenerated. - * archures.c (bfd_arch_m32c, bfd_mach_m16c, bfd_mach_m32c): New - arch and mach codes. - (bfd_m32c_arch): New arch info object. - (bfd_archures_list): List bfd_m32c_arch. - * bfd-in2.h: Regenerated. - * config.bfd: Add case for the m32c. - * configure.in: Add case for the m32c. - * configure: Regenerated. - * cpu-m32c.c, elf32-m32c.c: New files. - * libbfd.h: Regenerated. - * targets.c (bfd_elf32_m32c_vec): Declare. - (_bfd_target_vector): List bfd_elf32_m32c_vec. - -2005-07-14 Alan Modra <amodra@bigpond.net.au> - - * bfd-in.h (_bfd_elf_fix_excluded_sec_syms): Declare. - (_bfd_elf_provide_section_bound_symbols): Remove param name. - Formatting. - * bfd-in2.h: Regenerate. - * elflink.c (bfd_elf_gc_sections): Don't call generic function. - (_bfd_elf_provide_symbol): Formatting. - (_bfd_elf_provide_section_bound_symbols): Remove all hacks, just - create section relative syms. - (fix_syms, _bfd_elf_fix_excluded_sec_syms): New functions. - * elf32-ppc.c (ppc_elf_set_sdata_syms): Use - _bfd_elf_provide_section_bound_symbols. - * reloc.c (bfd_mark_used_section): Delete. - (bfd_generic_gc_sections): Don't call the above. - -2005-07-14 Paul Woegerer <paul.woegerer@nsc.com> - - PR 1063 - * cache.c (bfd_last_cache): Initialise to NULL. - -2005-07-14 Daniel Marques <marques@cs.cornell.edu> - Nick Clifton <nickc@redhat.com> - - * coff-alpha.c (alpha_ecoff_bad_format_hook): Detect compressed - Alpha binaries and issue a helpful error message. - (alpha_ecoff_swap_reloc_out): Increase maximum allowed internal - symbol index to 15 to allow for binaries produced by DEC - compilers. - -2005-07-13 Steve Ellcey <sje@cup.hp.com> - - * bfd.m4 (BFD_NEED_DECLARATION): Remove. - -2005-07-12 Alan Modra <amodra@bigpond.net.au> - - * elf64-ppc.c (ppc64_elf_relocate_section): Don't use a plt stub - when !can_plt_call. - -2005-07-12 Alan Modra <amodra@bigpond.net.au> - - * elf32-xtensa.c (bfd_elf_xtensa_reloc): Warning fix. - -2005-07-12 Alan Modra <amodra@bigpond.net.au> - - * elf32-ppc.c (ppc_elf_set_sdata_syms): Correct __sbss_start value. - -2005-07-11 H.J. Lu <hongjiu.lu@intel.com> - - * elflink.c (_bfd_elf_symbol_refs_local_p): Revert the last - change. - -2005-07-08 Paul Koning <pkoning@equallogic.com> - - * dwarf2.c (read_address): Check sign_extend_vma to handle targets - where addresses are sign extended. - -2005-07-08 Ralf Corsepius <ralf.corsepius@rtems.org> - - * config.bfd: Mark i960-*-rtems*, or32-*-rtems* as obsolete. - Mark a29k-*rtems*, hppa*-*-rtems*, *-go32-rtems*, - i[3-7]86*-*-rtemscoff*, mips*el-*-rtems*, powerpcle-*-rtems*, - sparc*-*-rtemsaout* as removed - -2005-07-08 Alan Modra <amodra@bigpond.net.au> - - * elf-hppa.h (elf_hppa_final_link): Use gp val of zero when none - of the usual sections are found. - * elf-m10300.c (_bfd_mn10300_elf_size_dynamic_sections): Tidy. - Strip .dynbss if it is zero size. - * elf32-arm.c (elf32_arm_size_dynamic_sections): Likewise. - * elf32-cris.c (elf_cris_size_dynamic_sections): Likewise. - * elf32-hppa.c (elf32_hppa_size_dynamic_sections): Likewise. - * elf32-i370.c (i370_elf_size_dynamic_sections): Likewise, and - .dynsbss. - (i370_elf_finish_dynamic_sections): Don't attempt to write .got - when it is zero size. - * elf32-i386.c (elf_i386_size_dynamic_sections): Correct handling - of .dynbss and zero size sections. - * elf32-m32r.c (m32r_elf_size_dynamic_sections): Strip .dynbss if - it is zero size. - * elf32-m68k.c (elf_m68k_size_dynamic_sections): Tidy. Strip - .dynbss if zero size. - * elf32-ppc.c (ppc_elf_size_dynamic_sections): Likewise, .dynsbss - too. - * elf32-s390.c (elf_s390_size_dynamic_sections): Likewise. - * elf32-sh.c (sh_elf_size_dynamic_sections): Likewise. - * elf32-vax.c (elf_vax_size_dynamic_sections): Likewise. - * elf32-xtensa.c (elf_xtensa_size_dynamic_sections): Tidy. Strip - .plt.* and .got.plt.* if zero size. - * elf64-alpha.c (elf64_alpha_size_dynamic_sections): Tidy. Strip - .got* and .dynbss if zero size. - * elf64-hppa.c (elf64_hppa_size_dynamic_sections): Tidy. Strip - * elf64-ppc.c (create_linkage_sections): Create branch lookup table - in .data.rel.ro.brlt or .rodata.brlt, and similarly for associated - reloc section. - (create_got_section): Always create new .got and .rela.got sections. - (ppc64_elf_size_dynamic_sections): Tidy. Strip .dynbss if zero size. - * elf64-s390.c (elf_s390_size_dynamic_sections): Likewise. - * elf64-sh64.c (sh64_elf64_size_dynamic_sections): Likewise. - * elf64-x86-64.c (elf64_x86_64_size_dynamic_sections): Handle - dynamic bss sections correctly. - * elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Tidy. - * elfxx-sparc.c (_bfd_sparc_elf_size_dynamic_sections): Tidy. Strip - .dynbss if zero size. - -2005-07-08 Ben Elliston <bje@au.ibm.com> - - * elf32-xtensa.c: Include <stdarg.h> unconditionally, not only - when ANSI_PROTOTYPES is defined. Remove #ifdef logic. - -2005-07-07 H.J. Lu <hongjiu.lu@intel.com> - - * elf-bfd.h (elf_backend_data): Add special_sections. - - * elf.c (_bfd_elf_get_sec_type_attr): Check special_sections - first. - - * elf32-arm.c (elf_backend_get_sec_type_attr): Removed. - (elf_backend_special_sections): New. Defined. - * elf32-m32r.c: Likewise. - * elf32-m68hc11.c: Likewise. - * elf32-m68hc12.c: Likewise. - * elf32-mcore.c: Likewise. - * elf32-sh64.c: Likewise. - * elf32-v850.c: Likewise. - * elf32-xtensa.c: Likewise. - * elf64-alpha.c: Likewise. - * elf64-hppa.c: Likewise. - * elf64-ppc.c: Likewise. - * elf64-sh64.c: Likewise. - * elfxx-ia64.c: Likewise. - * elfxx-mips.c: Likewise. - * elfxx-mips.h: Likewise. - - * elfxx-target.h (elf_backend_special_sections): New. - (elfNN_bed): Initialize special_sections. - -2005-07-07 Bob Wilson <bob.wilson@acm.org> - - * xtensa-modules.c: Update tables with Xtensa MMU features. - -2005-07-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> - - * elf32-xtensa.c (vsprint_msg): Add format attribute. Fix - format bugs. - * vms.h (_bfd_vms_debug): Add format attribute. - (_bfd_vms_debug, _bfd_hexdump): Fix typos. - -2005-07-07 H.J. Lu <hongjiu.lu@intel.com> - - PR 975 - * elflink.c (_bfd_elf_symbol_refs_local_p): Only undefined - symbol with default visibility is local. - -2005-07-07 Ben Elliston <bje@gnu.org> - - * config.bfd: Mark m68*-*-rtemscoff as obsolete. - -2005-07-06 H.J. Lu <hongjiu.lu@intel.com> - - * dwarf2.c (varinfo): Add addr. - (lookup_symbol_in_variable_table): Also check addr. - (scan_unit_for_symbols): Set addr for variable. - (comp_unit_find_line): Updated. - -2005-07-06 Nick Clifton <nickc@redhat.com> - - * coff-alpha.c (alpha_adjust_reloc_in): Issue an informative error - message if an unknown reloc is encountered. - (alpha_relocate_section): Likewise. - - * ecoff.c (_bfd_ecoff_write_object_contents): Cope with a reloc - with a missing howto field. - -2005-07-06 Alan Modra <amodra@bigpond.net.au> - - * po/SRC-POTFILES.in: Add cpu-ms1.c, elf32-ms1.c, elf-vxworks.c, - elfxx-sparc.c. - -2005-07-05 Paul Brook <paul@codesourcery.com> - - * elf32-ppc.c (ppc_elf_vxworks_special_sections): Remove. - (ppc_elf_vxworks_get_sec_type_attr): New function. - (elf_backend_special_sections): Remove vxwords definition. - (elf_backend_get_sec_type_attr): Define for vxworks. - -2005-07-05 Nick Clifton <nickc@redhat.com> - - * elf64-ppc.c (ppc64_elf_info_to_howto): Fix typo. - -2005-07-05 Paul Brook <paul@codesourcery.com> - - * config.bfd: Add separate case for ppc-vxworks. - * configure: Regenerate. - * configure.in: Include elf-vxworks.lo on ppc targets. - * elf-vxworks.c (elf_vxworks_final_write_processing): Handle - .rela.plt.unloaded. - * elf32-ppc.c: Add VxWorks target vec. Include elf-vxworks.h. - (PLT_ENTRY_SIZE, PLT_INITIAL_ENTRY_SIZE, PLT_SLOT_SIZE): Remove. - (VXWORKS_PLT_ENTRY_SIZE, ppc_elf_vxworks_plt_entry, - ppc_elf_vxworks_pic_plt_entry, VXWORKS_PLT_INITIAL_ENTRY_SIZE, - ppc_elf_vxworks_plt0_entry, ppc_elf_vxworks_pic_plt0_entry, - VXWORKS_PLT_NON_JMP_SLOT_RELOCS, VXWORKS_PLTRESOLVE_RELOCS, - VXWORKS_PLTRESOLVE_RELOCS_SHLIB): New. - (ppc_elf_link_hash_table): Add srelplt2, sgotplt, hgot, hplt, - is_vxworks, plt_entry_size, plt_slot_size, plt_initial_entry_size. - (ppc_elf_link_hash_table_create): Initialize hadtab plt fields. - (ppc_elf_create_got): Create .got.plt for VxWorks. - (ppc_elf_create_dynamic_sections): Create unloaded plt relocation - section for VxWorks. - (ppc_elf_select_plt_layout): Handle VxWorks plt format. - (allocate_got): VxWorks does not need a got header. - (allocate_dynrelocs): Handle VxWorks plt format. - (ppc_elf_size_dynamic_sections): Save _G_O_T_ and _P_L_T_ symbols for - VxWorks. Handle VxWorks plt/got. - (ppc_elf_finish_dynamic_sections): Fill in VxWorks plt. - (ppc_elf_vxworks_special_sections): New. - (ppc_elf_vxworks_link_hash_table_create, - ppc_elf_vxworks_add_symbol_hook, - elf_i386_vxworks_link_output_symbol_hook, - ppc_elf_vxworks_final_write_processing): New functions. - * targets.c (bfd_elf32_powerpc_vxworks_vec): Declare. - (_bfd_target_vector): Use it. - -2005-07-05 Jakub Jelinek <jakub@redhat.com> - - * libbfd-in.h (struct artdata): Add extended_names_size field. - * libbfd.h: Rebuilt. - * coff-rs600.c (_bfd_xcoff_archive_p): Don't clear fields in freshly - allocated object by bfd_zalloc. - * coff64-rs6000.c (xcoff64_archive_p): Likewise. - * ecoff.c (_bfd_ecoff_archive_p): Likewise. - * archive.c (_bfd_generic_mkarchive, bfd_generic_archive_p): Likewise. - (get_extended_arelt_filename): Fail if index is bigger or equal to - extended_names_size. - (_bfd_generic_read_ar_hdr_mag): Don't set bfd_error_malformed_archive, - get_extended_arelt_filename already did that. - (_bfd_slurp_extended_name_table): Initialize extended_names_size field. - Allocate one extra byte and clear it, in case extended names table - is not terminated. - - * libbfd-in.h (bfd_malloc2, bfd_realloc2, bfd_zmalloc2, bfd_alloc2, - bfd_zalloc2): New prototypes. - * bfd-in.h (HALF_BFD_SIZE_TYPE): Define. - * libbfd.c (bfd_malloc2, bfd_realloc2, bfd_zmalloc2): New functions. - * opncls.c (bfd_alloc2, bfd_zalloc2): New functions. - * elf.c (bfd_elf_get_elf_syms, setup_group, assign_section_numbers, - elf_map_symbols, map_sections_to_segments, - assign_file_positions_for_segments, copy_private_bfd_data, - swap_out_syms, _bfd_elf_slurp_version_tables): Use bfd_*alloc2 - where appropriate. - * bfd-in2.h: Rebuilt. - * libbfd.h: Rebuilt. - - * elf.c (_bfd_elf_print_private_bfd_data): Don't crash on bogus - verdef or verneed section. - (_bfd_elf_slurp_version_tables): Handle corrupt verdef and/or - verneed sections gracefully. - * elfxx-sparc.c (_bfd_sparc_elf_info_to_howto_ptr): Don't crash on - bogus relocation values. - * elf64-ppc.c (ppc64_elf_info_to_howto): Likewise. - * elf64-s390.c (elf_s390_info_to_howto): Likewise. - * elf32-s390.c (elf_s390_info_to_howto): Likewise. - * elf64-x86-64.c (elf64_x86_64_info_to_howto): Likewise. - * elfxx-ia64.c (lookup_howto): Likewise. - - * elf.c (bfd_elf_get_str_section): Allocate an extra byte after - the end of strtab and clear it. - (elf_read): Remove. - -2005-07-05 Nick Clifton <nickc@redhat.com> - - * po/vi.po: New Vietnamese translation. - * configure.in (ALL_LINGUAS): Add vi. - * configure: Regenerate. - -2005-07-05 Peter S. Mazinger <ps.m@gmx.net> - - * elf32-arm.c (elf32_arm_size_dynamic_sections): Fix a typo and - touchup logic like i386/ppc. - -2005-07-05 Alan Modra <amodra@bigpond.net.au> - - * elf.c (special_sections): Move const qualifier. - (special_sections_b..special_sections_t): Likewise. - * elf32-arm.c (elf32_arm_symbian_get_sec_type_attr): Remove duplicate - const. - (elf32_arm_symbian_special_sections): Move const qualifier. - * elf32-m32r.c: Similarly. - * elf32-m68hc11.c: Similarly. - * elf32-m68hc12.c: Similarly. - * elf32-mcore.c: Similarly. - * elf32-ppc.c: Similarly. - * elf32-sh64.c: Similarly. - * elf32-v850.c: Similarly. - * elf32-xtensa.c: Similarly. - * elf64-alpha.c: Similarly. - * elf64-hppa.c: Similarly. - * elf64-ppc.c: Similarly. - * elf64-sh64.c: Similarly. - * elfxx-ia64.c: Similarly. - * elfxx-mips.c: Similarly. - -2005-07-04 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> - - * elf32-m32r.c (m32r_elf_size_dynamic_sections): Use - info->executable instead of !info->shared where appropriate. - -2005-07-04 Alan Modra <amodra@bigpond.net.au> - - PR 1042 - * elf.c (assign_file_positions_for_segments): Remove excluded - sections from the segment map. - -2005-07-04 Alan Modra <amodra@bigpond.net.au> - - PR 1004 - * elf-bfd.h (struct elf_backend_data): Add get_sec_type_attr. Delete - special_sections. - (_bfd_elf_get_special_section): Declare. - (bfd_elf_special_section): Update prototype. - * elf.c (special_sections): Remove unused outer entries. - (get_special_section): Delete. - (_bfd_elf_get_special_section): New function. - (_bfd_elf_get_sec_type_attr): Replace "name" arg with "sec". Update - special_sections indexing. - (_bfd_elf_new_section_hook): Call backend get_sec_type_attr. - * elf32-arm.c (symbian_special_sections_d): Delete. - (symbian_special_sections_g, symbian_special_sections_h): Delete. - (symbian_special_sections_i, symbian_special_sections_f): Delete. - (symbian_special_sections_p): Delete. - (elf32_arm_symbian_special_sections): Merge above to here. - (elf32_arm_symbian_get_sec_type_attr): New function. - (elf_backend_special_sections): Don't define. - (elf_backend_get_sec_type_attr): Define. - * elf32-m32r.c: Similarly to elf32-arm.c. - * elf32-m68hc11.c: Likewise. - * elf32-m68hc12.c: Likewise. - * elf32-mcore.c: Likewise. - * elf32-sh64.c: Likewise. - * elf32-v850.c: Likewise. - * elf32-xtensa.c: Likewise. - * elf64-alpha.c: Likewise. - * elf64-hppa.c: Likewise. - * elf64-ppc.c: Likewise. - * elf64-sh64.c: Likewise. - * elfxx-ia64.c: Likewise. - * elfxx-mips.c: Likewise. - * elf32-ppc.c: Likewise. - (bfd_elf_special_section ppc_alt_plt): New. Use it if .plt loadable. - * elfxx-mips.h (_bfd_mips_elf_get_sec_type_attr): Declare. - (_bfd_mips_elf_special_sections, elf_backend_special_sections): Delete. - (elf_backend_get_sec_type_attr): Define. - * elfxx-target.h (elf_backend_get_sec_type_attr): Define. - (elf_backend_special_sections): Don't define. - (elfNN_bed): Update. - -2005-07-01 Nick Clifton <nickc@redhat.com> - - * cpu-d10v.c: Update to ISO C90 style function declarations and - fix formatting. - * cpu-d30v.c: Likewsie. - * cpu-i370.c: Likewsie. - * cpu-xstormy16.c: Likewsie. - * elf32-arc.c: Likewsie. - * elf32-d10v.c: Likewsie. - * elf32-d30v.c: Likewsie. - * elf32-dlx.c: Likewsie. - * elf32-i370.c: Likewsie. - * elf32-i960.c: Likewsie. - * elf32-ip2k.c: Likewsie. - * elf32-m32r.c: Likewsie. - * elf32-mcore.c: Likewsie. - * elf32-openrisc.c: Likewsie. - * elf32-or32.c: Likewsie. - * elf32-pj.c: Likewsie. - * elf32-v850.c: Likewsie. - * elf32-xstormy16.c: Likewsie. - -2005-07-01 Alan Modra <amodra@bigpond.net.au> - - * elf64-alpha.c (elf64_alpha_create_got_section): Always create - a new .got section. - (elf64_alpha_create_dynamic_sections): Always make new sections - by using bfd_make_section_anyway_with_flags. Check that .got not - already created. - (elf64_alpha_check_relocs): Delete "got_created". Use tdata->gotobj - instead. - -2005-06-30 Alan Modra <amodra@bigpond.net.au> - - * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Ignore dynamic - _SDA_BASE_ and _SDA2_BASE_ symbols. - * elflink.c (_bfd_elf_provide_symbol): Correct comment. Define - sym if not def_regular. - (_bfd_elf_provide_section_bound_symbols): Similarly. - -2005-06-30 Ben Elliston <bje@gnu.org> - - * config.bfd: Mark as obsolete: - m68*-apollo-* - m68*-apple-aux* - m68*-bull-sysv* - -2005-06-29 Alan Modra <amodra@bigpond.net.au> - - * elflink.c (_bfd_elf_gc_mark): Mark sections referenced by - .eh_frame specially.. - (bfd_elf_gc_sections): ..rather than totally ignoring .eh_frame. - Don't recheck sections we have already marked. - (elf_gc_sweep): Keep non-code sections referenced from .eh_frame. - * section.c (struct bfd_section): Add gc_mark_from_eh. - (STD_SECTION): Adjust. - * ecoff.c (bfd_debug_section): Adjust. - * bfd-in2.h: Regenerate. - -2005-06-29 Alan Modra <amodra@bigpond.net.au> - - * elflink.c (elf_gc_sweep): Do not refcount on sections that have - not been processed by check_relocs. - -2005-06-29 Paul Brook <paul@codesourcery.com> - - * bfd-in.h (_bfd_elf_provide_symbol): Update prototype. - * bfd-in2.h: Regenerate. - * elf32-ppc.c (ppc_elf_set_sdata_syms): Make sdata symbols section - relative. - * elflink.c (bfd_elf_set_symbol): Add section argument. - (_bfd_elf_provide_symbol): Ditto. - (_bfd_elf_provide_section_bound_symbols): Pass NULL section argument. - -2005-06-27 Carlos O'Donell <carlos@systemhalted.org> - - * bfd/elf32-hppa.c (struct elf32_hppa_stub_hash_entry): - Use bh_root, and hh. - (struct elf32_hppa_link_hash_entry): Use eh, and hsh_cache. - (struct elf32_hppa_dyn_reloc_entry): Use hdh_next. - (struct elf32_hppa_link_hash_table): Use etab and bstab. - (stub_hash_newfunc): Use hh. - (hppa_link_hash_newfunc): Use hsh_cache. - (elf32_hppa_link_hash_table_create): Use etab, and bstab. - (elf32_hppa_link_hash_table_free): Use bstab. - (hppa_stub_name): Use eh. - (hppa_get_stub_entry): Use hh, hsh_entry, and hsh_cache. - (hppa_add_stub): Use bstab. - (hppa_type_of_stub): Use eh. - (hppa_build_one_stub): Use hh and bh_root. - (elf32_hppa_copy_indirect_symbol): Use hdh_next. - (elf32_hppa_check_relocs): Use eh, etab, and hdh_next. - (elf32_hppa_gc_sweep_hook): Use hdh_next. - (elf32_hppa_adjust_dynamic_symbol): Use hdh_next, and etab. - (allocate_plt_static): Use etab. - (allocate_dynrelocs): Use etab, and hdh_next. - (readonly_dynrelocs): Use hdh_next. - (elf32_hppa_size_dynamic_sections): Use etab, and hdh_next. - (get_local_syms): Use eh, bstab, and hh. - (elf32_hppa_size_stubs): Use eh, bstab, and hh. - (elf32_hppa_set_gp): Use etab. - (elf32_hppa_build_stubs): Use bstab. - (final_link_relocate): Use eh, bh_root. - (elf32_hppa_relocate_section): Use elf, etab. - (elf32_hppa_finish_dynamic_sections): Use etab. - -2005-06-27 H.J. Lu <hongjiu.lu@intel.com> - - * elfxx-ia64.c (elfNN_hpux_backend_symbol_processing): Remove - the extra `;'. - -2005-06-21 Carlos O'Donell <carlos@systemhalted.org> - - * bfd/elf32-hppa.c (hppa_elf_hash_entry): Define. - (hppa_stub_hash_entry): Define. - (stub_hash_newfunc): Rename variables. - (hppa_link_hash_newfunc): Likewise. - (elf32_hppa_link_hash_table_free): Likewise. - (hppa_stub_name): Likewise. - (hppa_get_stub_entry): Likewise. - (hppa_add_stub): Likewise. - (hppa_type_of_stub): Likewise. - (hppa_build_one_stub): Likewise. - (hppa_size_one_stub): Likewise. - (elf32_hppa_create_dynamic_sections): Likewise. - (elf32_hppa_copy_indirect_symbol): Likewise. - (elf32_hppa_check_relocs): Likewise. - (elf32_hppa_gc_mark_hook): Likewise. - (elf32_hppa_gc_sweep_hook): Likewise. - (elf32_hppa_grok_psinfo): Likewise. - (elf32_hppa_hide_symbol): Likewise. - (elf32_hppa_adjust_dynamic_symbol): Likewise. - (allocate_dynrelocs): Likewise. - (clobber_millicode_symbols): Likewise. - (readonly_dynrelocs): Likewise. - (elf32_hppa_size_dynamic_sections): Likewise. - (get_local_syms): Likewise. - (elf32_hppa_size_stubs): Likewise. - (hppa_record_segment_addr): Likewise. - (final_link_relocate): Likewise. - (elf32_hppa_relocate_section): Likewise. - (elf32_hppa_finish_dynamic_symbol): Likewise. - -2005-06-20 H.J. Lu <hongjiu.lu@intel.com> - - PR 1025 - * elf-m10300.c (mn10300_elf_check_relocs): Handle indirect - symbol. - * elf32-arm.c (elf32_arm_check_relocs): Likewise. - * elf32-avr.c (elf32_avr_check_relocs): Likewise. - * elf32-cris.c (cris_elf_check_relocs): Likewise. - * elf32-d10v.c (elf32_d10v_check_relocs): Likewise. - * elf32-dlx.c (elf32_dlx_check_relocs): Likewise. - * elf32-fr30.c (fr30_elf_check_relocs): Likewise. - * elf32-frv.c (elf32_frv_check_relocs): Likewise. - * elf32-i370.c (i370_elf_check_relocs): Likewise. - * elf32-iq2000.c (iq2000_elf_check_relocs): Likewise. - * elf32-m32r.c (m32r_elf_check_relocs): Likewise. - * elf32-m68hc1x.c (elf32_m68hc11_check_relocs): Likewise. - * elf32-m68k.c (elf_m68k_check_relocs): Likewise. - * elf32-mcore.c (mcore_elf_check_relocs): Likewise. - * elf32-ms1.c (ms1_elf_check_relocs): Likewise. - * elf32-msp430.c (elf32_msp430_check_relocs): Likewise. - * elf32-openrisc.c (openrisc_elf_check_relocs): Likewise. - * elf32-ppc.c (ppc_elf_check_relocs): Likewise. - * elf32-s390.c (elf_s390_check_relocs): Likewise. - * elf32-sh.c (sh_elf_check_relocs): Likewise. - * elf32-v850.c (v850_elf_check_relocs): Likewise. - * elf32-vax.c (elf_vax_check_relocs): Likewise. - * elf64-mmix.c (mmix_elf_check_relocs): Likewise. - * elf64-ppc.c (ppc64_elf_check_relocs): Likewise. - * elf64-s390.c (elf_s390_check_relocs): Likewise. - * elf64-sh64.c (sh_elf64_check_relocs): Likewise. - * elfxx-mips.c (_bfd_mips_elf_check_relocs): Likewise. - * elfxx-sparc.c (_bfd_sparc_elf_check_relocs): Likewise. - -2005-06-20 H.J. Lu <hongjiu.lu@intel.com> - - PR 1022 - * elf32-hppa.c (elf32_hppa_check_relocs): Handle indirect - symbol. - -2005-06-20 H.J. Lu <hongjiu.lu@intel.com> - - PR 1025 - * elf32-i386.c (elf_i386_check_relocs): Handle indirect symbol. - * elf64-x86-64.c (elf64_x86_64_check_relocs): Likewise. - -2005-06-18 H.J. Lu <hongjiu.lu@intel.com> - - * reloc.c: Add BFD_RELOC_X86_64_GOTOFF64 and - BFD_RELOC_X86_64_GOTPC32. - * bfd-in2.h: Regenerated. - -2005-06-17 Jakub Jelinek <jakub@redhat.com> - - * elf.c (bfd_section_from_shdr): Kill bogus warning. - - * elf.c (bfd_section_from_shdr): Fail if sh_entsize is bogus for - symbol, relocation, group or versym sections. - - * coffcode.h (coff_slurp_reloc_table): Don't crash if native_relocs - is NULL. - * peXXigen.c (pe_print_idata): Don't crash if dll_name or start_address - doesn't point into the section. - -2005-06-17 Jan Beulich <jbeulich@novell.com> - - * bfd-in2.h (elf_x86_64_reloc_type): Add BFD_RELOC_X86_64_GOTOFF64 - and BFD_RELOC_X86_64_GOTPC32. - * libbfd.h (bfd_reloc_code_real_names): Likewise. - * elf64-x86-64.c (x86_64_elf_howto_table): Add entries for - R_X86_64_PC64, R_X86_64_GOTOFF64, and R_X86_64_GOTPC32. - (x86_64_reloc_map): Add entries for R_X86_64_PC64, R_X86_64_GOTOFF64, - and R_X86_64_GOTPC32. - (elf64_x86_64_info_to_howto): Adjust bounding relocation type. - (elf64_x86_64_check_relocs): Also handle R_X86_64_PC64, - R_X86_64_GOTOFF64, and R_X86_64_GOTPC32. - (elf64_x86_64_relocate_section): Likewise. - (elf64_x86_64_gc_sweep_hook): Also handle R_X86_64_PC64. - -2005-06-15 Mark Kettenis <kettenis@gnu.org> - - * archive.c: Include "libiberty.h". - -2005-06-15 Nick Clifton <nickc@redhat.com> - - * elf32-v850.c (ELF_MACHINE_ALT2): Define so that binaries - produced by the GreenHills toolchain can be assimilated. - -2005-06-14 Steve Ellcey <sje@cup.hp.com> - - * som.c (som_find_inliner_info): New. - -2005-06-14 H.J. Lu <hongjiu.lu@intel.com> - - * elflink.c (_bfd_elf_merge_symbol): Fix a typo in comment. - -2005-06-14 Jakub Jelinek <jakub@redhat.com> - - * elf.c (bfd_section_from_shdr): Fail if name is NULL. - Prevent endless recursion on broken objects. - - * archive.c (do_slurp_coff_armap): Check for overflows. - -2005-06-10 Daniel Jacobowitz <dan@codesourcery.com> - - * elfcode.h (elf_write_relocs): Do nothing if there are no - relocations. - -2005-06-10 Alan Modra <amodra@bigpond.net.au> - - * dwarf2.c (decode_line_info): Revert last change. Instead set - initial low_pc to -1 to avoid need to test whether loc_pc has - been set. - -2005-06-09 Christopher Faylor <cgf@timesys.com> - - * coffcode.h (sec_to_styp_flags): Set appropriate section flags when - either SEC_ALLOC OR SEC_LOAD. - -2005-06-09 Christopher Faylor <cgf@timesys.com> - - * coffcode.h (sec_to_styp_flags): Remove read/write flags from noload - section header. Do not add STYP_NOLOAD since it does not appear to be - a valid PE flag. - -2005-06-09 H.J. Lu <hongjiu.lu@intel.com> - - PR 1000 - * dwarf2.c (lookup_address_in_line_info_table): Restore code - handling NULL function info, removed with 2005-04-03 change. - -2005-06-08 Mark Mitchell <mark@codesourcery.com> - - * opncls.c (bfd_fopen): Mark returned BFD as cacheable if FD == -1. - -2005-06-09 Alan Modra <amodra@bigpond.net.au> - - * elflink.c (elf_mark_used_section): Delete. - (bfd_elf_gc_sections): Call bfd_generic_gc_sections. - * reloc.c (bfd_mark_used_section): New function. - (bfd_generic_gc_sections): Call bfd_mark_used_section. - -2005-06-08 Alan Modra <amodra@bigpond.net.au> - - * opncls.c (bfd_fopen): Don't set bfd_error unconditionally. - (bfd_fdopenr): Same. - -2005-06-07 Mark Mitchell <mark@codesourcery.com> - - * opncls.c (bfd_fdopenr): Add missing break statements. - -2005-06-07 Mark Mitchell <mark@codesourcery.com> - - * opncls.c (bfd_fopen): New API. - (bfd_openr): Use it. - (bfd_fdopenr): Likewise. - * bfd-in2.h: Regenerated. - -2005-06-07 Aldy Hernandez <aldyh@redhat.com> - Michael Snyder <msnyder@redhat.com> - Stan Cox <scox@redhat.com> - - * Makefile.am (ALL_MACHINES): Add ms1 support. - (ALL_MACHINES_CFILES): Same. - (BFD32_BACKENDS): Same. - (BFD32_BACKENDS_CFILES): Same. - - * Makefile.in: Regenerate. - - * archures.c (bfd_architecture): Add ms1 entries. - Externalize bfd_ms1_arch. - (bfd_archures_list): Add bfd_ms1_arch. - - * bfd-in2.h: Regenerate. - - * cpu-ms1.c: New file. - - * elf32-ms1.c: New file. - - * targets.c: Define extern of bfd_elf32_ms1_vec. - Add bfd_elf32_ms1_vec to _bfd_target_vector. - - * configure.in: Add bfd_elf32_ms1_vec case. - - * configure: Regenerate. - - * config.bfd: Add ms1-*-elf to table. - -2005-06-07 Zack Weinberg <zack@codesourcery.com> - - * coff-i386.c: Change md_apply_fix3 to md_apply_fix in comment. - -2005-06-07 Alan Modra <amodra@bigpond.net.au> - - * coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Init _bfd_find_line. - * coff64-rs6000.c (rs6000coff64_vec, aix5coff64_vec): Likewise. - -2005-06-06 H.J. Lu <hongjiu.lu@intel.com> - - PR 990 - * bfd.c (bfd_find_line): New. - - * dwarf2.c (comp_unit): Add variable_table. - (funcinfo): Add file, line, and sec. - (varinfo): New. - (lookup_symbol_in_function_table): New. - (lookup_symbol_in_variable_table): New. - (scan_unit_for_functions): Renamed to ... - (scan_unit_for_symbols): This. Handle DW_TAG_entry_point and - DW_TAG_variable. - (comp_unit_find_nearest_line): Updated. - (comp_unit_find_line): New. - (_bfd_dwarf2_find_line): New. - - * elf-bfd.h (_bfd_elf_find_line): New. - (_bfd_generic_find_line): New. Defined. - - * elf.c (_bfd_elf_find_line): New. - - * libbfd-in.h (_bfd_dwarf2_find_line): New. - (_bfd_generic_find_line): New. - - * bfd-in2.h: Regenerated. - * libbfd.h: Likewise. - - * libbfd.c (_bfd_generic_find_line): New. - - * targets.c (BFD_JUMP_TABLE_SYMBOLS): Initialize _bfd_find_line - with _bfd_generic_find_line. - (bfd_target): Add _bfd_find_line. - -2005-06-06 H.J. Lu <hongjiu.lu@intel.com> - - * dwarf2.c (decode_line_info): Properly set low_pc. - -2005-06-06 Alan Modra <amodra@bigpond.net.au> - - * elf64-pcc.c (ppc64_elf_gc_mark_hook): For the local sym in .opd - case, include addend when indexing .opd section map. - (ppc64_elf_edit_opd): Add no_opd_opt param. Do nothing besides - clear opd_adjust array if no_opd_opt set. Tidy code. - Ignore zero size .opd. Check bfd_alloc return value. - (ppc_stub_name): Return immediately on bfd_malloc fail. - * elf64-ppc.h (ppc64_elf_edit_opd): Update prototype. - -2005-06-04 H.J. Lu <hongjiu.lu@intel.com> - - * dwarf2.c (comp_unit): Fix a typo in comment. - -2005-06-03 Jan-Benedict Glaw <jbglaw@lug-owl.de> - - * elf32-vax.c (rtype_to_howto): Remove PARAMS. - (reloc_type_lookup): Dito. - (elf_vax_discard_copies): Dito. - (elf_vax_instantiate_got_entries): Dito. - (elf_vax_link_hash_traverse): Dito. - (elf_vax_link_hash_newfunc): Dito. - (elf_vax_link_hash_table_create): Dito. - (elf32_vax_set_private_flags): Dito. - (elf32_vax_merge_private_bfd_data): Dito. - (elf32_vax_print_private_bfd_data): Dito. - (elf_vax_check_relocs): Dito. - (elf_vax_gc_mark_hook): Dito. - (elf_vax_gc_sweep_hook): Dito. - (elf_vax_size_dynamic_sections): Dito. - (elf_vax_discard_copies): Dito. - (elf_vax_instantiate_got_entries): Dito. - (elf_vax_relocate_section): Dito. - (elf_vax_finish_dynamic_symbol): Dito. - (elf_vax_finish_dynamic_sections): Dito. - (elf_vax_hash_table): Break-up of line isn't needed. - (elf_vax_check_relocs): Remove leading whitespace - (elf_vax_relocate_section): Remove redundant whitespace - (elf_vax_link_hash_newfunc): Don't cast NULL. - (elf_vax_link_hash_table_create): Dito. - * cpu-vax.c (bfd_vax_arch) Remove a trailing space. - -2005-06-03 Alan Modra <amodra@bigpond.net.au> - - PR 568 - * configure.in: Bump version - * configure: Regenerate. - * elflink.c (elf_link_input_bfd): Use einfo linker callback to print - discarded section sym refs and kill linker output. - * simple.c (simple_dummy_einfo): New function. - (bfd_simple_get_relocated_section_contents): Init callbacks.einfo. - - * elf32-i386.c (elf_i386_relocate_section): Handle zero symndx - for all reloc types. - -2005-06-02 Alan Modra <amodra@bigpond.net.au> - - * elf64-ppc.c (add_symbol_adjust): Set sym visibility to most - restrictive of func code and func descr for undefined syms as well - as defined. - -2005-05-31 Jim Blandy <jimb@redhat.com> - - * Makefile.am: Regenerate dependencies with 'make dep-am'. - * Makefile.in: Regenerate. - -2005-05-31 Richard Henderson <rth@redhat.com> - - * elf64-alpha.c (ALPHA_ELF_LINK_HASH_LU_JSRDIRECT): New. - (ALPHA_ELF_LINK_HASH_TLS_IE): Renumber to 0x80. - (ALPHA_ELF_LINK_HASH_LU_PLT): Rename from ALPHA_ELF_LINK_HASH_LU_FUNC. - (elf64_alpha_want_plt): Update to match. - (elf64_alpha_check_relocs): Collect JSRDIRECT in gotent_flags. - (elf64_alpha_relax_with_lituse): Likewise. Handle JSRDIRECT. - -2005-05-31 Zack Weinberg <zack@codesourcery.com> - - * elf32-arm.c (elf32_arm_reloc_type_lookup) - (elf32_arm_nabi_grok_prstatus, elf32_arm_nabi_grok_psinfo): - Use ISO C90 function declaration style. - -2005-05-31 James E Wilson <wilson@specifixinc.com> - - * elfcode.h (NAME(bfd_elf,bfd_from_remote_memory)): Check for program - header PF_R flag on PT_LOAD segments. - -2005-05-30 Richard Henderson <rth@redhat.com> - - * elf64-alpha.c (elf64_alpha_relocate_section): Use dtp_base for - the zero index relocs produced by elf64_alpha_relax_tls_get_addr. - -2005-05-29 Richard Henderson <rth@redhat.com> - - * configure.in (--enable-secureplt): New. - * elf64-alpha.c (INSN_LDA, INSN_LDAH, INSN_LDQ, INSN_BR): New. - (INSN_SUBQ, INSN_S4SUBQ, INSN_JMP): New. - (INSN_A, INSN_AB, INSN_ABC, INSN_ABO, INSN_AD): New. - (elf64_alpha_use_secureplt): New. - (OLD_PLT_HEADER_SIZE, OLD_PLT_ENTRY_SIZE): New. - (NEW_PLT_HEADER_SIZE, NEW_PLT_ENTRY_SIZE): New. - (PLT_HEADER_SIZE, PLT_ENTRY_SIZE): Conditionalize on secureplt. - (ALPHA_ELF_LINK_HASH_PLT_LOC): Remove. - (struct alpha_elf_link_hash_entry): Add plt_offset. - (PLT_HEADER_WORD1, PLT_HEADER_WORD2, PLT_HEADER_WORD3): Remove. - (PLT_HEADER_WORD4, PLT_ENTRY_WORD1, PLT_ENTRY_WORD2): Remove. - (PLT_ENTRY_WORD3): Remove. - (elf64_alpha_create_dynamic_sections): If secureplt, set SEC_READONLY - on .plt and create .got.plt. - (elf64_alpha_output_extsym): Remove .plt frobbing for symbol values. - (get_got_entry): Initialize plt_offset. - (elf64_alpha_want_plt): New. - (elf64_alpha_check_relocs): Use it. - (elf64_alpha_adjust_dynamic_symbol): Likewise. Don't allocate - plt entries here. - (elf64_alpha_calc_got_offsets_for_symbol): Don't report internal - error as user error. - (elf64_alpha_size_plt_section_1): Allocate one plt entry per - got subsection. - (elf64_alpha_size_plt_section): Size .got.plt section. - (elf64_alpha_size_rela_got_1): Don't allocate relocations if - plt entries used. - (elf64_alpha_size_dynamic_sections): Call elf64_alpha_size_plt_section. - Add PLTRO DYNAMIC entry. - (elf64_alpha_finish_dynamic_symbol): Generate secureplt format. - (elf64_alpha_finish_dynamic_sections): Likewise. - -2005-05-28 David Daney <ddaney@avtrex.com> - - * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_sections): Move - calculation of DT_RELSZ to occur after all dynamic relocations - are created. - -2005-05-28 Eli Zaretskii <eliz@gnu.org> - - * configure.in: Add snprintf and vsnprintf to AC_CHECK_DECLS. - * config.in, configure: Regenerate. - -2005-05-26 Mark Kettenis <kettenis@gnu.org> - Maciej W. Rozycki <macro@linux-mips.org> - - * elfxx-mips.c (_bfd_mips_elf_section_processing): Warn and - stop processing of options if one of invalid size is - encountered. - (_bfd_mips_elf_section_from_shdr): Likewise. - (_bfd_mips_elf_fake_sections): Reset the type of empty special - sections. - -2005-05-26 Richard Henderson <rth@redhat.com> - - * elf64-alpha.c (struct alpha_elf_link_hash_entry): Remove - plt_old_section, plt_old_value. - (elf64_alpha_adjust_dynamic_symbol): Don't set it. - (elf64_alpha_size_plt_section_1): Don't use it. - -2005-05-26 Jakub Jelinek <jakub@redhat.com> - - * elfcode.h (elf_object_p): Fail if e_shoff != 0, e_shnum == 0 and - first shdr has sh_size == 0. Fail if e_shnum is large to cause - arithmetic overflow when allocating the i_shdr array. - Sanity check sh_link and sh_info fields. Fix e_shstrndx sanity check. - -2005-05-25 Richard Henderson <rth@redhat.com> - - * elf64-alpha.c: Update all function definitions to ISO C. Remove - all function prototypes; rearrange functions into def-use order. - -2005-05-25 Richard Henderson <rth@redhat.com> - - * elf64-alpha.c (elf64_alpha_merge_gots): Fix gotent iteration - in the presence of deleting elements. - (elf64_alpha_size_got_sections): Zero dead got section size. - -2005-05-23 Fred Fish <fnf@specifixinc.com> - - * dwarf2.c (struct dwarf2_debug): Add inliner_chain member. - (struct funcinfo): Add caller_func, caller_file, caller_line. - tag, and nesting_level members. - (lookup_address_in_function_table): Change first passed parameter - from "struct funcinfo *" to "struct comp_unit *". - (lookup_address_in_function_table): Dereference unit to find function - table. - (lookup_address_in_function_table): Traverse the function list to - create a chain of inlined functions back to the first non inlined - function. - (scan_unit_for_functions): Remember tag and nesting level. Handle - DW_AT_call_file and DW_AT_call_line. - (comp_unit_find_nearest_line): Adjust lookup_address_in_function_table - call to pass unit pointer instead of function table pointer. For - inlined functions, save pointer to the inliner chain. - (_bfd_dwarf2_find_nearest_line): Initialize inliner_chain to NULL. - (_bfd_dwarf2_find_inliner_info): New function that returns information - from the inliner chain after a call to bfd_find_nearest_line. - - * bfd.c (bfd_find_inliner_info): Define using BFD_SEND. - * targets.c (BFD_JUMP_TABLE_SYMBOLS): Add entry for - NAME##_find_inliner_info. - (bfd_target): Add _bfd_find_inliner_info. - * bfd-in2.h: Regenerate. - - * libbfd-in.h (_bfd_nosymbols_find_inliner_info): Define as - macro that always returns bfd_false. - (_bfd_dwarf2_find_inliner_info): Declare. - * libbfd.h: Regenerate. - - * elf32-arm.c (elf32_arm_find_inliner_info): New function - that calls _bfd_dwarf2_find_inliner_info. - (bfd_elf32_find_inliner_info): Define to elf32_arm_find_inliner_info. - - * elfxx-mips.c (_bfd_mips_elf_find_inliner_info): New function - that calls _bfd_dwarf2_find_inliner_info. - * elfxx-mips.h (_bfd_mips_elf_find_inliner_info): Declare. - * elfn32-mips.c (bfd_elf32_find_inliner_info): Define to - _bfd_mips_elf_find_inliner_info. - * elf64-mips.c (bfd_elf64_find_inliner_info): Ditto. - * elf32-mips.c (bfd_elf32_find_inliner_info): Ditto. - - * elf.c (_bfd_elf_find_inliner_info): New function that calls - _bfd_dwarf2_find_inliner_info. - * elf-bfd.h (_bfd_elf_find_inliner_info): Declare. - * elfxx-target.h (bfd_elfNN_find_inliner_info): Define to - _bfd_elf_find_inliner_info. - - * coffgen.c (coff_find_inliner_info): New function that - calls _bfd_dwarf2_find_inliner_info. - * libcoff-in.h (coff_find_inliner_info): Declare. - * libcoff.h: Regenerate. - * coff-rs6000.c (rs6000coff_vec): Add coff_find_inliner_info. - (pmac_xcoff_vec) Ditto. - * coff64-rs6000.c (rs6000coff64_vec): Ditto. - (aix5coff64_vec): Ditto. - - * aout-target.h (MY_find_inliner_info): Define as - _bfd_nosymbols_find_inliner_info. - * aout-tic30.c (MY_find_inliner_info): Ditto. - * binary.c (binary_find_inliner_info): Ditto. - * i386msdos.c (msdos_find_inliner_info): Ditto. - * ihex.c (ihex_find_inliner_info): Ditto. - * libaout.h (aout_32_find_inliner_info): Ditto. - * libecoff.h (_bfd_ecoff_find_inliner_info): Ditto. - * mach-o.c (bfd_mach_o_find_inliner_info): Ditto. - * mmo.c (mmo_find_inliner_info): Ditto. - * nlm-target.h (nlm_find_inliner_info): Ditto. - * pef.c (bfd_pef_find_inliner_info): Ditto. - * ppcboot.c (ppcboot_find_inliner_info): Ditto. - * srec.c (srec_find_inliner_info): Ditto. - * tekhex.c (tekhex_find_inliner_info): Ditto. - * versados.c (versados_find_inliner_info): Ditto. - * xsym.c (bfd_sym_find_inliner_info): Ditto. - - * ieee.c (ieee_find_inliner_info): New function that always - returns FALSE. - * oasys.c (oasys_find_inliner_info): Ditto. - * vms.c (vms_find_inliner_info): Ditto. - -2005-05-24 Alan Modra <amodra@bigpond.net.au> - - * elf32-ppc.c (ppc_elf_check_relocs): For old gcc -fPIC code - force old plt layout. - -2005-05-22 Richard Henderson <rth@redhat.com> - - * elf64-alpha.c (elf64_alpha_relax_section): Ignore non-allocated - sections. - (elf64_alpha_check_relocs): Likewise. - (elf64_alpha_relocate_section): Don't emit dynamic relocations to - non-allocated sections. - -2005-05-22 Richard Henderson <rth@redhat.com> - - * elf64-alpha.c (elf64_alpha_relax_with_lituse): Relax jsr to - undefweak to use zero register. Call elf64_alpha_relax_got_load - if not all uses removed. - (elf64_alpha_relax_got_load): Relax undefweak to lda zero. - (elf64_alpha_relax_section): Handle undefweak symbols. - (elf64_alpha_calc_dynrel_sizes): Don't add relocs for undefweak. - (elf64_alpha_size_rela_got_1): Likewise. - (elf64_alpha_relocate_section): Likewise. - -2005-05-22 Richard Henderson <rth@redhat.com> - - * elf64-alpha.c (elf64_alpha_relax_section): Only operate - on SEC_CODE sections. - -2005-05-22 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - * som.c (try_prev_fixup): Changed type of subspace_reloc_sizep to - unsigned int *. - (som_write_space_strings): Change type of tmp_space and p to char *. - (som_write_symbol_strings): Likewise. Also change type of comp to - char *comp[4]. - (som_begin_writing): Change type of strings_size to unsigned int. - (som_finish_writing): Likewise. - (som_slurp_reloc_table): Change type of external_relocs to unsigned - char *. - * som.h (struct som_section_data_struct): Change type of reloc_stream - field to unsigned char *. - -2005-05-20 Daniel Jacobowitz <dan@codesourcery.com> - - * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Don't eliminate - copy relocations for VxWorks. - -2005-05-20 Daniel Jacobowitz <dan@codesourcery.com> - - * bfd/elf32-ppc.c (struct ppc_elf_link_hash_entry): Add new field - has_sda_refs. - (ppc_elf_copy_indirect_symbol): Copy has_sda_refs. - (ppc_elf_check_relocs): Set has_sda_refs. - (ppc_elf_adjust_dynamic_symbol): Check has_sda_refs before eliminating - copy relocations. Use has_sda_refs to place variables in .sbss. - (ppc_elf_finish_dynamic_symbol): Use has_sda_refs to place variables in - .sbss. - -2005-05-20 Bob Wilson <bob.wilson@acm.org> - - * elf32-xtensa.c (bfd_elf_xtensa_reloc): Make sure that - xtensa_default_isa is initialized. - -2005-05-20 Alan Modra <amodra@bigpond.net.au> - - * elf32-ppc.c (allocate_dynrelocs): Correct plt offset assigned - for second and subsequent list entries. Only allocate multiple - glink stubs when shared or pie. - (ppc_elf_finish_dynamic_symbol): Break out early when only one - glink stub is needed. - -2005-05-19 Zack Weinberg <zack@codesourcery.com> - - * Makefile.am: Have 'all' depend on 'info'. - * Makefile.in: Regenerate. - -2005-05-19 Alan Modra <amodra@bigpond.net.au> - - * elf-bfd.h (struct elf_link_hash_table): Delete init_refcount and - init_offset. Add init_got_refcount, init_plt_refcount, - init_got_offset and init_plt_offset. - * elf.c (_bfd_elf_link_hash_newfunc): Adjust for above change. - (_bfd_elf_link_hash_hide_symbol): Likewise. - (_bfd_elf_link_hash_table_init): Likewise. - * elf32-hppa.c (elf32_hppa_hide_symbol): Likewise. - * elf64-ppc.c (ppc64_elf_link_hash_table_create): Likewise. - * elflink.c (_bfd_elf_adjust_dynamic_symbol): Likewise. - (bfd_elf_size_dynamic_sections): Likewise. - * elf32-ppc.c (GLINK_PLTRESOLVE): Now 16 insns. - (LWZU_0_X_12, LWZ_0_4_30, LWZ_0_X_12, LWZ_11_X_11, LWZ_11_X_30, - LWZ_12_4_12, LWZ_12_8_30, LWZ_12_X_12, SUB_11_11_30): Delete. - (ADDIS_12_12, BCL_20_31, LWZU_0_12, LWZ_0_12, LWZ_11_11, LWZ_11_30, - LWZ_12_12, MFLR_0, MFLR_12, MTLR_0, SUB_11_11_12): Define. - (struct plt_entry): New. - (ppc_elf_link_hash_table_create): Set new init_plt fields. - (ppc_elf_copy_indirect_symbol): Handle merge of plt plist. Don't - use _bfd_elf_link_hash_copy_indirect. - (update_plt_info, find_plt_ent): New functions. - (ppc_elf_check_relocs): Handle R_PPC_PLTREL24 with non-zero addend - and adjust for use of plt list rather than refcount. - (ppc_elf_gc_sweep_hook): Likewise. - (ppc_elf_tls_optimize): Likewise. - (ppc_elf_adjust_dynamic_symbol): Likewise. - (allocate_dynrelocs): Likewise. - (ppc_elf_relax_section): Likewise. - (ppc_elf_relocate_section): Likewise. Adjust R_PPC_PLTREL24 addends - when performing a relocatable link. - (ppc_elf_finish_dynamic_symbol): Likewise. Write .glink stubs here.. - (ppc_elf_finish_dynamic_sections): ..rather than here. Use new - pic resolver stub. - -2005-05-19 Alan Modra <amodra@bigpond.net.au> - - * elf.c (assign_file_positions_for_segments): Use maximum of - maxpagesize and section alignment when adjusting initial - segment offset and section offsets. - -2005-05-18 Zack Weinberg <zack@codesourcery.com> - - * elf32-arm.c: Make all #ifndef OLD_ARM_ABI blocks - unconditional. - -2005-05-18 H.J. Lu <hongjiu.lu@intel.com> - - * elf.c (group_signature): Undo the last change. Check if the - symbol table section is correct. - -2005-05-17 Zack Weinberg <zack@codesourcery.com> - - * elf32-arm.c: Wherever possible, use official reloc names - from AAELF. - (elf32_arm_howto_table, elf32_arm_tls_gd32_howto) - (elf32_arm_tls_ldo32_howto, elf32_arm_tls_ldm32_howto) - (elf32_arm_tls_le32_howto, elf32_arm_tls_ie32_howto) - (elf32_arm_vtinherit_howto, elf32_arm_vtentry_howto) - (elf32_arm_pc11_howto, elf32_arm_thm_pc9_howto, elf32_arm_got_prel) - (elf32_arm_r_howto): Replace with elf32_arm_howto_table_1, - elf32_arm_howto_table_2, and elf32_arm_howto_table_3. - Add many new relocations from AAELF. - (elf32_arm_howto_from_type): Update to match. - (elf32_arm_reloc_map): Add entries for R_ARM_THM_JUMP24, - R_ARM_THM_JUMP11, R_ARM_THM_JUMP19, R_ARM_THM_JUMP8, - R_ARM_THM_JUMP6, R_ARM_GNU_VTINHERIT, and R_ARM_GNU_VTENTRY. - (elf32_arm_reloc_type_lookup): Use elf32_arm_howto_from_type. - (elf32_arm_final_link_relocate): Add support for - R_ARM_THM_JUMP24, R_ARM_THM_JUMP19, R_ARM_THM_JUMP6. Remove - case entries redundant with default. - - * reloc.c: Reorganize ARM relocations. Add Thumb - assembler-internal relocations BFD_RELOC_ARM_T32_OFFSET_U8, - BFD_RELOC_ARM_T32_OFFSET_IMM, BFD_RELOC_ARM_T32_IMMEDIATE. - Add visible relocations BFD_RELOC_THUMB_PCREL_BRANCH7, - BFD_RELOC_THUMB_BRANCH20, BFD_RELOC_THUMB_BRANCH25. - Delete unused relocations BFD_RELOC_ARM_GOT12, BFD_RELOC_ARM_COPY. - * bfd-in2.h, libbfd.h: Regenerate. - -2005-05-17 Daniel Jacobowitz <dan@codesourcery.com> - - * elf.c (_bfd_elf_write_object_contents): Check for non-NULL - elf_shstrtab. - * format.c (bfd_check_format_matches): Set output_has_begun - for both_direction. - * section.c (bfd_set_section_contents): Use bfd_write_p. Remove - special case for both_direction. - -2005-05-17 Nick Clifton <nickc@redhat.com> - - * elf.c (group_signature): Check for a group section which is - actually a (corrupt) symbol table section in disguise and prevent - an infinite loop from occurring. - -2005-05-17 H.J. Lu <hongjiu.lu@intel.com> - - * elfxx-ia64.c (elfNN_ia64_relax_brl): Undo the change made on - 2005-02-16. - -2005-05-17 H.J. Lu <hongjiu.lu@intel.com> - - * elfxx-ia64.c (elfNN_ia64_relax_br): Keep the original - predicate on slot 0 only if slot 0 isn't br. - -2005-05-17 H.J. Lu <hongjiu.lu@intel.com> - - PR 797 - * elf32-i386.c (elf_i386_size_dynamic_sections): Also remove - empty sdynbss section. - * elf64-x86-64.c (elf64_x86_64_size_dynamic_sections): Likewise. - -2005-05-17 Tavis Ormandy <taviso@gentoo.org> - - * elf.c (bfd_section_from_shdr): Add sanity check when parsing - dynamic sections. - -2005-05-17 Alan Modra <amodra@bigpond.net.au> - - * elf32-ppc.c (LIS_11. LIS_12): Define. - (LWZU_0_X_12, LWZ_0_X_12, LWZ_12_4_12, LWZ_12_X_12): Define. - (ppc_elf_finish_dynamic_sections): Provide non-pic plt call stub - for --data-plt when building non-pie executables. - -2005-05-17 Nick Clifton <nickc@redhat.com> - - * elf32-arm.c (elf32_arm_final_link_relocate): Gracefully handle - the situation where a symbols's section is not known but a section - relative R_ARM_RELATIVE reloc has to be generated for the Symbian - OS. - - * elf32-v850.c (v850_elf_relocate_section): Move code to test for - the presence of a symbol table to just before the symbol table is - actually used. - -2005-05-16 H.J. Lu <hongjiu.lu@intel.com> - - PR 834 - * elfxx-ia64.c (elfNN_ia64_relax_br): New. - (elfNN_ia64_relax_section): Use it. - -2005-05-14 Mark Kettenis <kettenis@gnu.org> - - * elflink.c (bfd_elf_size_dynamic_sections): Use lbasename instead - of basename. - -2005-05-14 Alan Modra <amodra@bigpond.net.au> - - * elf32-ppc.c (ppc_elf_size_dynamic_sections): Set DT_PPC_GOT, - not DT_PPC_GLINK. - (ppc_elf_finish_dynamic_sections): Likewise. - -2005-05-13 Fred Fish <fnf@specifixinc.com> - - * libbfd-in.h: Fix a comment typo, 'neaderst' -> 'nearest' - * libbfd.h: Rebuilt. - -2005-05-13 Bob Wilson <bob.wilson@acm.org> - - * elf32-xtensa.c (xtensa_get_property_section_name): Add missing - periods in linkonce_kind values. - -2005-05-12 H.J. Lu <hongjiu.lu@intel.com> - - * elf32-i386.c (elf_i386_relocate_section): Allow R_386_GOTOFF - against protected function when building executable. - -2005-05-12 Alan Modra <amodra@bigpond.net.au> - - * elf32-ppc.c (LWZU_0_X_11): Delete. - (B, LWZ_11_X_11, LWZ_11_X_30, MTCTR_11): Define. - (ppc_elf_select_plt_layout): Set .got flags too. Formatting. - (ppc_elf_size_dynamic_sections): Allocate space for .glink branch - table. - (ppc_elf_finish_dynamic_symbol): Point .plt entries into the branch - table. - (ppc_elf_finish_dynamic_sections): Adjust DT_PPC_GLINK value. - Generate .glink branch table and updated stubs. - -2005-05-11 Alan Modra <amodra@bigpond.net.au> - - * reloc.c (BFD_RELOC_HI16_PCREL): Define. - (BFD_RELOC_HI16_S_PCREL, BFD_RELOC_LO16_PCREL): Define. - * elf32-ppc.c (GLINK_PLTRESOLVE, GLINK_ENTRY_SIZE): Define. - (CROR_151515, CROR_313131): Delete. - (ADDIS_11_11, ADDI_11_11, SUB_11_11_30, ADD_0_11_11, ADD_11_0_11, - LWZ_0_4_30, MTCTR_0, LWZ_12_8_30, BCTR, ADDIS_11_30, - LWZU_0_X_11): Define. - (ppc_elf_howto_raw): Add R_PPC_REL16, R_PPC_REL16_LO, R_PPC_REL16_HI - and R_PPC_REL16_HA entries. - (ppc_elf_reloc_type_lookup): Convert new bfd reloc types. - (ppc_elf_addr16_ha_reloc): Also handle R_PPC_REL16_HA. - (struct ppc_elf_link_hash_table): Add glink, glink_pltresolve, - new_plt, and old_plt. - (ppc_elf_create_dynamic_sections): Create .glink section. - (ppc_elf_check_relocs): Set new_plt and old_plt. - (ppc_elf_select_plt_layout): New function. - (ppc_elf_tls_setup): Set plt output section elf type and flags. - (allocate_got): Handle differences between old and new got layout. - (allocate_dynrelocs): Likewise for plt. - (ppc_elf_size_dynamic_sections): Likewise. Allocate memory for - .glink. Don't allocate memory for old bss .plt. Emit DT_PPC_GLINK. - (ppc_elf_relax_section): Rename ppc_info to htab. Handle .glink - destination of R_PPC_PLTREL24 relocs. - (ppc_elf_relocate_section): Handle new relocs and changed destination - of R_PPC_PLTREL24. - (ppc_elf_finish_dynamic_symbol): Init new style plt and handle - differences in layout. - (ppc_elf_finish_dynamic_sections): Set DT_PPC_GLINK value. Don't - put a blrl in new got. Write glink contents. - * elf32-ppc.h (ppc_elf_select_plt_layout): Declare. - * libbfd.h: Regenerate. - * bfd-in2.h: Regenerate. - -2005-05-11 Andreas Schwab <schwab@suse.de> - - * elf32-i386.c (elf_i386_finish_dynamic_sections): Fix signedness - warning. - -2005-05-10 H.J. Lu <hongjiu.lu@intel.com> - - * elf.c (_bfd_elf_make_section_from_shdr): Only check debug - section if SEC_ALLOC isn't set. - -2005-05-09 Kelley Cook <kcook@gcc.gnu.org> - - * configure.in: Replace AC_COMPILE_CHECK_SIZEOF with AC_CHECK_SIZEOF. - * acinclude.m4: Don't sinclude accross.m4. - * config.in, configure, Makefile.in, doc/Makefile.in: Regenerate. - -2005-05-09 Alan Modra <amodra@bigpond.net.au> - - * elf64-ppc.c (struct ppc64_elf_obj_tdata): Add has_dotsym. - (ppc64_elf_add_symbol_hook): Set has_dotsym. - (ppc64_elf_check_directives): Only process syms when has_dotsym. - (func_desc_adjust): Hide fake function descriptors when function - code entry is defined. - (adjust_opd_syms): Adjust for deleted_section becoming union field. - -2005-05-09 Alan Modra <amodra@bigpond.net.au> - - * elfcode.h (elf_object_p): Add more sanity checks on elf header. - -2005-05-08 Dave Korn <dave.korn@artimi.com> - - * coff-tic80.c: Undefine _CONST after system headers to prevent - clash with tic80-specific definition in include/coff/tic80.h - -2005-05-08 H.J. Lu <hongjiu.lu@intel.com> - - PR 939 - * elflink.c (elf_link_output_extsym): Use output_bfd if - h->root.u.def.section is bfd_abs_section_ptr when reporting - error. - -2005-05-07 H.J. Lu <hongjiu.lu@intel.com> - - * elf-bfd.h (elf_backend_data): Update special_sections to - array of pointer to bfd_elf_special_section. - * elf.c (special_sections): Likewise. - * elf32-arm.c (elf32_arm_symbian_special_sections): Likewise. - * elf32-m32r.c (m32r_elf_special_sections): Likewise. - * elf32-m68hc11.c (elf32_m68hc11_special_sections): Likewise. - * elf32-m68hc12.c (elf32_m68hc12_special_sections): Likewise. - * elf32-mcore.c (mcore_elf_special_sections): Likewise. - * elf32-ppc.c (ppc_elf_special_sections): Likewise. - * elf32-sh64.c (sh64_elf_special_sections): Likewise. - * elf32-v850.c (v850_elf_special_sections): Likewise. - * elf32-xtensa.c (elf_xtensa_special_sections): Likewise. - * elf64-alpha.c (elf64_alpha_special_sections): Likewise. - * elf64-hppa.c (elf64_hppa_special_sections): Likewise. - * elf64-ppc.c (ppc64_elf_special_sections): Likewise. - * elf64-sh64.c (sh64_elf64_special_sections): Likewise. - * elfxx-ia64.c (elfNN_ia64_special_sections): Likewise. - * elfxx-mips.c (_bfd_mips_elf_special_sections): Likewise. - * elfxx-mips.h (_bfd_mips_elf_special_sections): Likewise. - - * elf.c (get_special_section): Updated. - -2005-05-07 Alan Modra <amodra@bigpond.net.au> - - * elf-bfd.h (struct elf_backend_data): Remove got_symbol_offset. - * elfxx-target.h (elf_backend_got_symbol_offset): Delete. - * elflink.c (_bfd_elf_create_got_section): Use zero in place of - got_symbol_offset. - * elf-m10300.c (_bfd_mn10300_elf_create_got_section): Likewise. - * elf32-frv.c (_frv_create_got_section): Likewise. - * elf32-i370.c (i370_elf_finish_dynamic_sections): Delete ppc code. - (elf_backend_got_symbol_offset): Don't define. - * elf64-ppc.c (elf_backend_got_symbol_offset): Don't define. - * elf32-ppc.c (struct ppc_elf_link_hash_table): Add got_header_size - and got_gap. - (ppc_elf_create_got): Tidy. - (ppc_elf_create_dynamic_sections): Don't set SEC_IN_MEMORY for .plt. - (ppc_elf_check_relocs): Reduce string comparisons by using elf.hgot. - (ppc_elf_gc_sweep_hook): Likewise. - (ppc_elf_relocate_section): Likewise. - (ppc_elf_finish_dynamic_symbol): Likewise. - (allocate_got): New function. - (allocate_dynrelocs): Use allocate_got. - (ppc_elf_size_dynamic_sections): Likewise. Delay tlsld_got allocation - so that local got can refcount it. Set got_header_size. - (ppc_elf_relocate_section): Use value of elf.hgot rather than hard- - coded 4. - (ppc_elf_finish_dynamic_sections): Likewise. - (elf_backend_got_symbol_offset): Don't define. - (elf_backend_got_header_size): Ditto. - -2005-05-05 Steve Ellcey <sje@cup.hp.com> - - * configure.in (ACX_HEADER_STRING): New. - * configure: Regenerate. - * config.in: Regenerate. - * sysdep.h (STRING_WITH_STRINGS): Use. - -2005-05-05 H.J. Lu <hongjiu.lu@intel.com> - - * elf.c (_bfd_elf_close_and_cleanup): Only call - _bfd_dwarf2_cleanup_debug_info on bfd_object. - -2005-05-05 H.J. Lu <hongjiu.lu@intel.com> - - * elflink.c (_bfd_elf_provide_section_bound_symbols): Use - "__bss_start" instead of "_edata" as fallback. - -2005-05-05 H.J. Lu <hongjiu.lu@intel.com> - - * bfd-in2.h: Regenerated. - -2005-05-05 Paul Brook <paul@codesourcery.com> - - * config.bfd: Use bfd_elf32_i386_vxworks_vec for i?86-*-vxworks. - * configure.in: Add bfd_elf32_i386_vxworks_vec. i386 targets need - elf-vxworks.lo. - * configure: Regenerate. - * Makefile.am (BFD32_BACKENDS): Add elf-vxworks.lo. - (BFD32_BACKENDS_CFILES): Add elf-vxworks.c. - (elf32-i386.lo): Depend on elf-vxworks.h. - (elf-vxworks.lo): New rule. - * Makefile.in: Regenerate. - * elf-bfd.h (elf_backend_data): Update type of - elf_backend_emit_relocs. - (_bfd_elf_link_output_relocs): Update prototype. - * elflink.c (_bfd_elf_link_output_relocs): Always use - bed->elf_backend_emit_relocs when outputting relocations. - * elfxx-target.h (elf_backend_emit_relocs): Default to - _bfd_elf_link_output_relocs. - * targets.c (bfd_elf32_i386_vxworks_vec): Declare. - (_bfd_target_vector): Add bfd_elf32_i386_vxworks_vec. - * elf32-i386.c: Add elf32-i386-vxworks target BFD. - (elf_i386_plt0_entry): Remove padding. - (elf_i386_pic_plt0_entry): Ditto. - (PLTRESOLVE_RELOCS_SHLIB, PLTRESOLVE_RELOCS): Define. - (PLT_NON_JUMP_SLOT_RELOCS): Define. - (elf_i386_link_hash_table): Add srelplt2, hgot, hplt, is_vxworks and - plt0_pad_byte fields. - (elf_i386_link_hash_table_create): Zero them. - (elf_i386_create_dynamic_sections): Create static relocation section. - (allocate_dynrelocs): Allocate space for static PLT relocations. - (elf_i386_size_dynamic_sections): Save shortcuts to PLT and GOT - symbols. Give PLT symbols function type. Don't strip PLT sections - if we have exported symbols from them. - (elf_i386_finish_dynamic_symbol): Fill in VxWorks PLT static - relocation section. Don't mark _GLOBAL_OFFSET_TABLE_ as absolute on - VxWorks. - (elf_i386_finish_dynamic_sections): Allow different pad bytes. - Add relocation for GOT location. Fill in PLT static relocations. - (elf_i386_vxworks_link_hash_table_create): New function. - (elf_i386_vxworks_link_output_symbol_hook): New function. - * elf-vxworks.h: New file. - -2005-05-05 H.J. Lu <hongjiu.lu@intel.com> - - * section.c (bfd_make_section_anyway_with_flags): New. - (bfd_make_section_anyway): Call bfd_make_section_anyway_with_flags, - (bfd_make_section_with_flags): New. - (bfd_make_section): Call bfd_make_section_with_flags. - - * elf-m10300.c (_bfd_mn10300_elf_create_got_section): Call - bfd_make_section_with_flags/bfd_make_section_anyway_with_flags - instead of bfd_make_section/bfd_make_section and don't call - bfd_set_section_flags. - (mn10300_elf_check_relocs): Likewise. - (_bfd_mn10300_elf_create_dynamic_sections): Likewise. - * elf32-arm.c (create_got_section): Likewise. - (bfd_elf32_arm_add_glue_sections_to_bfd): Likewise. - (elf32_arm_check_relocs): Likewise. - * elf32-cris.c (cris_elf_check_relocs): Likewise. - * elf32-frv.c (elf32_frv_add_symbol_hook): Likewise. - (_frv_create_got_section): Likewise. - (elf32_frvfdpic_create_dynamic_sections): Likewise. - * elf32-hppa.c (elf32_hppa_create_dynamic_sections): Likewise. - (elf32_hppa_check_relocs): Likewise. - * elf32-i370.c (i370_elf_create_dynamic_sections): Likewise. - (i370_elf_check_relocs): Likewise. - * elf32-i386.c (create_got_section): Likewise. - (elf_i386_check_relocs): Likewise. - * elf32-m32r.c (m32r_elf_add_symbol_hook): Likewise. - (create_got_section): Likewise. - (m32r_elf_create_dynamic_sections): Likewise. - (m32r_elf_check_relocs): Likewise. - * elf32-m68k.c (elf_m68k_check_relocs): Likewise. - * elf32-ppc.c (ppc_elf_create_got): Likewise. - (ppc_elf_create_dynamic_sections): Likewise. - (ppc_elf_add_symbol_hook): Likewise. - (ppc_elf_check_relocs): Likewise. - * elf32-s390.c (create_got_section): Likewise. - (elf_s390_check_relocs): Likewise. - * elf32-sh.c (create_got_section): Likewise. - (sh_elf_create_dynamic_sections): Likewise. - (sh_elf_check_relocs): Likewise. - * elf32-vax.c (elf_vax_check_relocs): Likewise. - * elf32-xstormy16.c (xstormy16_elf_check_relocs): Likewise. - * elf32-xtensa.c (elf_xtensa_create_dynamic_sections): Likewise. - (add_extra_plt_sections): Likewise. - * elf64-alpha.c (elf64_alpha_add_symbol_hook): Likewise. - (elf64_alpha_create_got_section): Likewise. - (elf64_alpha_create_dynamic_sections): Likewise. - (elf64_alpha_check_relocs): Likewise. - * elf64-hppa.c (get_reloc_section): Likewise. - (get_opd): Likewise. - (get_plt): Likewise. - (get_dlt): Likewise. - (get_stub): Likewise. - (elf64_hppa_create_dynamic_sectionso): Likewise. - * elf64-mmix.c (mmix_elf_check_common_relocs): Likewise. - * elf64-ppc.c (create_linkage_sections): Likewise. - (ppc64_elf_check_relocs): Likewise. - * elf64-s390.c (create_got_section): Likewise. - (elf_s390_check_relocs): Likewise. - * elf64-sh64.c (sh_elf64_check_relocs): Likewise. - (sh64_elf64_create_dynamic_sections): Likewise. - * elf64-x86-64.c (create_got_section): Likewise. - (elf64_x86_64_check_relocs): Likewise. - * elflink.c (_bfd_elf_create_got_section): Likewise. - (_bfd_elf_link_create_dynamic_sections): Likewise. - (elf_link_add_object_symbols): Likewise. - * elfxx-ia64.c (elfNN_ia64_add_symbol_hook): Likewise. - (elfNN_ia64_create_dynamic_sections): Likewise. - (get_fptr): Likewise. - (get_pltoff): Likewise. - (get_reloc_section): Likewise. - (elfNN_ia64_object_p): Likewise. - * elfxx-mips.c (mips_elf_rel_dyn_section): Likewise. - (mips_elf_create_compact_rel_section): Likewise. - (mips_elf_create_got_section): Likewise. - (_bfd_mips_elf_create_dynamic_sections): Likewise. - * elfxx-sparc.c (create_got_section): Likewise. - (_bfd_sparc_elf_check_relocs): Likewise. - - * elf.c (_bfd_elf_new_section_hook): Call _bfd_elf_get_sec_type_attr - on linker created sections. - -2005-05-05 H.J. Lu <hongjiu.lu@intel.com> - - PR 882 - * elflink.c (_bfd_elf_link_assign_sym_version): Allow version - script on executable. - -2005-05-05 John Levon <levon@movementarian.org> - - * dwarf2.c (read_abbrevs): If bfd_realloc fails, free currently - allocated memory before returning. - (decode_line_info): Likewise. - (_bfd_dwarf2_cleanup_debug_info): New function: Frees memory - allocated by functions in this file. - * elf-bfd.h (_bfd_dwarf2_cleanup_debug_info): Prototype. - * elf.c (_bfd_elf_close_and_cleanup): Call - _bfd_dwarf2_cleanup_debug_info. - -2005-05-05 Hans-Peter Nilsson <hp@axis.com> - - * Makefile.am (INCLUDES): Don't -D_GNU_SOURCE here. - * configure.in: Call AC_GNU_SOURCE here, after AC_PROG_CC. - * configure, config.in, Makefile.in: Regenerate. - * sysdep.h (stpcpy): Revert last change. - -2005-05-05 Hans-Peter Nilsson <hp@axis.com> - - * sysdep.h (stpcpy): Wrap declaration in parentheses. - -2005-05-04 H.J. Lu <hongjiu.lu@intel.com> - - * elfxx-ia64.c (ARCH_SIZE): New. - (LOG_SECTION_ALIGN): Likewise. - (elfNN_ia64_create_dynamic_sections): Use LOG_SECTION_ALIGN to - align relocation sections. - (get_fptr): Likewise. - (get_reloc_section): Likewise. - (elfNN_ia64_tprel_base): Likewise. - (elfNN_ia64_check_relocs): Support 32bit relocations. - (allocate_global_fptr_got): Likewise. - (allocate_dynrel_entries): Likewise. - (set_got_entry): Likewise. - (set_pltoff_entry): Likewise. - (elfNN_ia64_relocate_section): Likewise. - -2005-05-04 H.J. Lu <hongjiu.lu@intel.com> - - * configure.in: Add AC_CHECK_DECLS(stpcpy). - * configure: Regenerate. - * config.in: Likewise. - - * sysdep.h (stpcpy): New. - -2005-05-04 Nick Clifton <nickc@redhat.com> - - * Update the address and phone number of the FSF organization in - the GPL notices in the following files: - aix386-core.c, aix5ppc-core.c, aout-adobe.c, aout-arm.c, - aout-cris.c, aout-ns32k.c, aout-sparcle.c, aout-target.h, - aout-tic30.c, aout0.c, aout32.c, aout64.c, aoutf1.h, aoutx.h, - archive.c, archive64.c, archures.c, armnetbsd.c, bfd-in.h, - bfd-in2.h, bfd.c, bfdio.c, bfdwin.c, binary.c, bout.c, cache.c, - cf-i386lynx.c, cf-m68klynx.c, cf-sparclynx.c, cisco-core.c, - coff-a29k.c, coff-alpha.c, coff-apollo.c, coff-arm.c, coff-aux.c, - coff-go32.c, coff-h8300.c, coff-h8500.c, coff-i386.c, coff-i860.c, - coff-i960.c, coff-ia64.c, coff-m68k.c, coff-m88k.c, coff-maxq.c, - coff-mcore.c, coff-mips.c, coff-or32.c, coff-pmac.c, coff-ppc.c, - coff-rs6000.c, coff-sh.c, coff-sparc.c, coff-stgo32.c, - coff-svm68k.c, coff-tic30.c, coff-tic4x.c, coff-tic54x.c, - coff-tic80.c, coff-u68k.c, coff-w65.c, coff-we32k.c, coff-z8k.c, - coff64-rs6000.c, coffcode.h, coffgen.c, cofflink.c, coffswap.h, - corefile.c, cpu-a29k.c, cpu-alpha.c, cpu-arc.c, cpu-arm.c, - cpu-avr.c, cpu-cr16c.c, cpu-cris.c, cpu-crx.c, cpu-d10v.c, - cpu-d30v.c, cpu-dlx.c, cpu-fr30.c, cpu-frv.c, cpu-h8300.c, - cpu-h8500.c, cpu-hppa.c, cpu-i370.c, cpu-i386.c, cpu-i860.c, - cpu-i960.c, cpu-ia64-opc.c, cpu-ia64.c, cpu-ip2k.c, cpu-iq2000.c, - cpu-m10200.c, cpu-m10300.c, cpu-m32r.c, cpu-m68hc11.c, - cpu-m68hc12.c, cpu-m68k.c, cpu-m88k.c, cpu-maxq.c, cpu-mcore.c, - cpu-mips.c, cpu-mmix.c, cpu-msp430.c, cpu-ns32k.c, cpu-openrisc.c, - cpu-or32.c, cpu-pdp11.c, cpu-pj.c, cpu-powerpc.c, cpu-rs6000.c, - cpu-s390.c, cpu-sh.c, cpu-sparc.c, cpu-tic30.c, cpu-tic4x.c, - cpu-tic54x.c, cpu-tic80.c, cpu-v850.c, cpu-vax.c, cpu-w65.c, - cpu-we32k.c, cpu-xstormy16.c, cpu-xtensa.c, cpu-z8k.c, demo64.c, - dwarf1.c, dwarf2.c, ecoff.c, ecofflink.c, ecoffswap.h, - efi-app-ia32.c, efi-app-ia64.c, elf-bfd.h, elf-eh-frame.c, - elf-hppa.h, elf-m10200.c, elf-m10300.c, elf-strtab.c, elf.c, - elf32-am33lin.c, elf32-arc.c, elf32-arm.c, elf32-avr.c, - elf32-cr16c.c, elf32-cris.c, elf32-crx.c, elf32-d10v.c, - elf32-d30v.c, elf32-dlx.c, elf32-fr30.c, elf32-frv.c, elf32-gen.c, - elf32-h8300.c, elf32-hppa.c, elf32-hppa.h, elf32-i370.c, - elf32-i386.c, elf32-i860.c, elf32-i960.c, elf32-ip2k.c, - elf32-iq2000.c, elf32-m32r.c, elf32-m68hc11.c, elf32-m68hc12.c, - elf32-m68hc1x.c, elf32-m68hc1x.h, elf32-m68k.c, elf32-m88k.c, - elf32-mcore.c, elf32-mips.c, elf32-msp430.c, elf32-openrisc.c, - elf32-or32.c, elf32-pj.c, elf32-ppc.c, elf32-ppc.h, elf32-s390.c, - elf32-sh-symbian.c, elf32-sh.c, elf32-sh64-com.c, elf32-sh64.c, - elf32-sh64.h, elf32-sparc.c, elf32-v850.c, elf32-vax.c, - elf32-xstormy16.c, elf32-xtensa.c, elf32.c, elf64-alpha.c, - elf64-gen.c, elf64-hppa.c, elf64-hppa.h, elf64-mips.c, - elf64-mmix.c, elf64-ppc.c, elf64-ppc.h, elf64-s390.c, - elf64-sh64.c, elf64-sparc.c, elf64-x86-64.c, elf64.c, elfcode.h, - elfcore.h, elflink.c, elfn32-mips.c, elfxx-ia64.c, elfxx-mips.c, - elfxx-mips.h, elfxx-sparc.c, elfxx-sparc.h, elfxx-target.h, - epoc-pe-arm.c, epoc-pei-arm.c, format.c, freebsd.h, gen-aout.c, - genlink.h, hash.c, host-aout.c, hp300bsd.c, hp300hpux.c, - hppabsd-core.c, hpux-core.c, i386aout.c, i386bsd.c, i386dynix.c, - i386freebsd.c, i386linux.c, i386lynx.c, i386mach3.c, i386msdos.c, - i386netbsd.c, i386os9k.c, ieee.c, ihex.c, init.c, irix-core.c, - libaout.h, libbfd-in.h, libbfd.c, libbfd.h, libcoff-in.h, - libcoff.h, libecoff.h, libhppa.h, libieee.h, libnlm.h, liboasys.h, - libpei.h, libxcoff.h, linker.c, lynx-core.c, m68k4knetbsd.c, - m68klinux.c, m68klynx.c, m68knetbsd.c, m88kmach3.c, m88kopenbsd.c, - mach-o-target.c, mach-o.c, mach-o.h, merge.c, mipsbsd.c, mmo.c, - netbsd-core.c, netbsd.h, newsos3.c, nlm-target.h, nlm.c, - nlm32-alpha.c, nlm32-i386.c, nlm32-ppc.c, nlm32-sparc.c, nlm32.c, - nlm64.c, nlmcode.h, nlmswap.h, ns32k.h, ns32knetbsd.c, oasys.c, - opncls.c, osf-core.c, pc532-mach.c, pdp11.c, pe-arm.c, pe-i386.c, - pe-mcore.c, pe-mips.c, pe-ppc.c, pe-sh.c, peXXigen.c, - pef-traceback.h, pef.c, pef.h, pei-arm.c, pei-i386.c, pei-mcore.c, - pei-mips.c, pei-ppc.c, pei-sh.c, peicode.h, ppcboot.c, - ptrace-core.c, reloc.c, reloc16.c, riscix.c, rs6000-core.c, - sco5-core.c, section.c, simple.c, som.c, som.h, sparclinux.c, - sparclynx.c, sparcnetbsd.c, srec.c, stab-syms.c, stabs.c, sunos.c, - syms.c, sysdep.h, targets.c, tekhex.c, ticoff.h, trad-core.c, - vax1knetbsd.c, vaxbsd.c, vaxnetbsd.c, versados.c, vms-gsd.c, - vms-hdr.c, vms-misc.c, vms-tir.c, vms.c, vms.h, xcoff-target.h, - xcofflink.c, xsym.c, xsym.h, xtensa-isa.c, xtensa-modules.c, - hosts/alphavms.h - -2005-05-04 H.J. Lu <hongjiu.lu@intel.com> - - * bfd-in.h (_bfd_elf_provide_section_bound_symbols): New. - * bfd-in2.h: Regenerated. - - * elflink.c (bfd_elf_set_symbol): New. - (_bfd_elf_provide_symbol): Call it. - (_bfd_elf_provide_section_bound_symbols): New. - -2005-05-04 H.J. Lu <hongjiu.lu@intel.com> - - * elflink.c (_bfd_elf_merge_symbol): Only skip weak definitions - at the end, if a strong definition has already been seen. - -2005-05-04 Alan Modra <amodra@bigpond.net.au> - - * section.c (struct bfd_section): Replace link_order_head and - link_order_tail with map_head and map_tail union. - (STD_SECTION): Update. - (_bfd_strip_section_from_output): Delete. - * aoutx.h: Update throughout for above changes. - * coff-ppc.c: Likewise. - * cofflink.c: Likewise. - * ecoff.c: Likewise. - * elf-eh-frame.c: Likewise. - * elf-m10300.c: Likewise. - * elf.c: Likewise. - * elf32-arm.c: Likewise. - * elf32-cris.c: Likewise. - * elf32-hppa.c: Likewise. - * elf32-i386.c: Likewise. - * elf32-m32r.c: Likewise. - * elf32-m68hc1x.c: Likewise. - * elf32-m68k.c: Likewise. - * elf32-ppc.c: Likewise. - * elf32-s390.c: Likewise. - * elf32-sh.c: Likewise. - * elf32-vax.c: Likewise. - * elf32-xtensa.c: Likewise. - * elf64-alpha.c: Likewise. - * elf64-hppa.c: Likewise. - * elf64-ppc.c: Likewise. - * elf64-s390.c: Likewise. - * elf64-sh64.c: Likewise. - * elf64-x86-64.c: Likewise. - * elflink.c: Likewise. - * elfxx-ia64.c: Likewise. - * elfxx-mips.c: Likewise. - * elfxx-sparc.c: Likewise. - * linker.c: Likewise. - * merge.c: Likewise. - * pdp11.c: Likewise. - * xcofflink.c: Likewise. - * elflink.c (bfd_boolean bfd_elf_size_dynsym_hash_dynstr): Split - out from bfd_elf_size_dynamic_sections. - * bfd-in.h (bfd_boolean bfd_elf_size_dynsym_hash_dynstr): Declare. - * bfd-in2.h: Regenerate. - -2005-05-04 Alan Modra <amodra@bigpond.net.au> - - * section.c (bfd_section_list_remove): Don't clear s->next. - (bfd_section_list_append): Always init s->prev. - (bfd_section_list_prepend): Define. - (bfd_section_list_insert_after): Minor optimization. - (bfd_section_removed_from_list): Rewrite. - * elf.c (assign_section_numbers): Simplify list traversal now that - bfd_section_list_remove doesn't destroy removed section next ptr. - * sunos.c (sunos_add_dynamic_symbols): Likewise. - * elfxx-ia64.c (elfNN_ia64_object_p): Use bfd_section_list_prepend. - * xcofflink.c (_bfd_xcoff_bfd_final_link): Simplify list traversal. - * bfd-in2.h: Regenerate. - -2005-05-02 H.J. Lu <hongjiu.lu@intel.com> - - * bfd.c (bfd): Remove section_tail and add section_last. - (bfd_preserve): Likewise. - (bfd_preserve_save): Likewise. - (bfd_preserve_restore): Likewise. - * opncls.c (_bfd_new_bfd): Likewise. - - * coffcode.h (coff_compute_section_file_positions): Updated. - (coff_compute_section_file_positions): Likewise. - * elf.c (assign_section_numbers): Likewise. - * elf32-i370.c (i370_elf_size_dynamic_sections): Likewise. - * elf64-mmix.c (mmix_elf_final_link): Likewise. - * elfxx-ia64.c (elfNN_ia64_object_p): Likewise. - * elfxx-mips.c (_bfd_mips_elf_link_hash_table_create): Likewise. - * sunos.c (sunos_add_dynamic_symbols): Likewise. - * xcofflink.c (_bfd_xcoff_bfd_final_link): Likewise. - - * ecoff.c (bfd_debug_section): Initialize prev. - - * section.c (bfd_section): Add prev. - (bfd_section_list_remove): Updated. - (bfd_section_list_append): New. - (bfd_section_list_insert_after): New. - (bfd_section_list_insert_before): New. - (bfd_section_list_insert): Removed. - (bfd_section_removed_from_list): Updated. - (STD_SECTION): Initialize prev. - (bfd_section_init): Updated. - (bfd_section_list_clear): Updated. - - * bfd-in2.h: Regenerated. - -2005-05-02 H.J. Lu <hongjiu.lu@intel.com> - - * elf.c (_bfd_elf_new_section_hook): Don't call - _bfd_elf_get_sec_type_attr on sections from input files. - -2005-05-02 H.J. Lu <hongjiu.lu@intel.com> - - * merge.c (sec_merge_init): Call bfd_hash_table_init_n with - hash table size 16699 instead of bfd_hash_table_init. - -2005-05-01 Paul Brook <paul@codesourcery.com> - - * elflink.c (_bfd_elf_merge_symbol): Skip weak definitions if a strong - definition has already been seen. - -2005-05-01 Paul Brook <paul@codesourcery.com> - - * elf32-arm.c (bfd_elf32_arm_process_before_allocation): Treat - R_ARM_PLT32 the same as R_ARM_PC24. - (arm_add_to_rel): Ditto. - -2005-04-29 Ralf Corsepius <ralf.corsepius@rtems.org> - - * config.bfd: Add h8300*-*-rtemscoff. - Switch h8300*-*-rtems* to elf. - -2005-04-29 Daniel Jacobowitz <dan@codesourcery.com> - - * aclocal.m4, Makefile.in: Regnerated. - -2005-04-28 Paul Brook <paul@codesourcery.com> - - Merge changes only applied to Makefile.in. - * Makefile.am (BFD32_BACKENDS): Add elfxx-sparc.lo - (BFD32_BACKENDS_CFILES): Add elfxx-sparc.c - (elfxx-sparc.lo): New rule. - (elf32-sparc.lo): Add elfxx-sparc.h dependency. - (elf64-sparc.lo): Likewise. - -2005-04-28 Julian Brown <julian@codesourcery.com> - - * elflink.c (_bfd_elf_provide_symbol): Provide symbol for weak - import. - -2005-04-27 H.J. Lu <hongjiu.lu@intel.com> - - * elf-bfd.h (bfd_elf_sym_name): Also take "asection *". - - * elf.c (bfd_elf_sym_name): Updated. - (group_signature): Likewise. - * elf32-ppc.c (ppc_elf_relocate_section): Likewise. - * elf64-ppc.c (ppc64_elf_edit_opd): Likewise. - (ppc64_elf_edit_toc): Likewise. - (ppc64_elf_relocate_section): Likewise. - * elfcode.h (elf_slurp_symbol_table): Likewise. - * elflink.c (elf_link_input_bfd): Likewise. - - * elfxx-ia64.c (elfNN_ia64_relocate_section): Call - bfd_elf_sym_name to get local symbol name when reporting errors. - -2005-04-27 Nick Clifton <nickc@redhat.com> - - * elflink.c (elf_link_input_bfd): Handle the case where a badly - formatted input file results in a reloc which has no associated - global symbol. - -2005-04-26 Jerome Guitton <guitton@gnat.com> - - * bfd.m4 (BFD_NEED_DECLARATION): Restore. - -2005-04-25 David S. Miller <davem@davemloft.net> - - * elfxx-sparc.c (sparc_elf_append_rela_64): Add BFD64 protection. - (sparc_elf_r_info_64, _bfd_sparc_elf_finish_dynamic_symbol, - sparc64_finish_dyn, _bfd_sparc_elf_finish_dynamic_sections): - Likewise. - -2005-04-25 H.J. Lu <hongjiu.lu@intel.com> - - PR 858 - * elflink.c (elf_link_input_bfd): Make non-debugging reference - to discarded section an error. - -2005-04-21 Jerome Guitton <guitton@gnat.com> - - * configure.in: Replace BFD_NEED_DECLARATION checks by the - corresponding AC_CHECK_DECLS. - * sysdep.h: Replace NEED_DECLARATION_* checks by the corresponding - HAVE_DECL_*. - * bfd.m4 (BFD_NEED_DECLARATION): Remove, obsolete. - * configure: Regenerate. - * config.in: Ditto. - -2005-04-21 Andreas Schwab <schwab@suse.de> - - * elfxx-sparc.h (struct _bfd_sparc_elf_link_hash_table): Remove - unsigned from type of dynamic_interpreter. - * elfxx-sparc.c (_bfd_sparc_elf_link_hash_table_create): Remove - casts again. - - * elf.c (assign_section_numbers): Fix comment. - -2005-04-21 Jerome Guitton <guitton@gnat.com> - - * som.c (som_bfd_print_private_bfd_data): Add explicit cast to long - for struct som_exec_auxhdr fields. - -2005-04-21 Nick Clifton <nickc@redhat.com> - - * aout-adobe.c: Convert to ISO C and fix formatting. - * aout-arm.c: Convert to ISO C and fix formatting. - * aout-cris.c: Convert to ISO C and fix formatting. - * aout-ns32k.c: Convert to ISO C and fix formatting. - * aout-tic30.c: Convert to ISO C and fix formatting. - * coffcode.h: Convert to ISO C and fix formatting. - * coffswap.h: Convert to ISO C and fix formatting. - * i386aout.c: Convert to ISO C and fix formatting. - * libaout.h: Convert to ISO C and fix formatting. - * libcoff-in.h: Convert to ISO C and fix formatting. - * libcoff.h: Convert to ISO C and fix formatting. - * libecoff.h: Convert to ISO C and fix formatting. - * libnlm.h: Convert to ISO C and fix formatting. - * libpei.h: Convert to ISO C and fix formatting. - * libxcoff.h: Convert to ISO C and fix formatting. - * nlm-target.h: Convert to ISO C and fix formatting. - * nlm.c: Convert to ISO C and fix formatting. - * nlm32-alpha.c: Convert to ISO C and fix formatting. - * nlm32-i386.c: Convert to ISO C and fix formatting. - * nlm32-ppc.c: Convert to ISO C and fix formatting. - * nlm32-sparc.c: Convert to ISO C and fix formatting. - * nlmcode.h: Convert to ISO C and fix formatting. - * nlmswap.h: Convert to ISO C and fix formatting. - * pe-mips.c: Convert to ISO C and fix formatting. - * peXXigen.c: Convert to ISO C and fix formatting. - * peicode.h: Convert to ISO C and fix formatting. - * vms-gsd.c: Convert to ISO C and fix formatting. - * vms-hdr.c: Convert to ISO C and fix formatting. - * vms-misc.c: Convert to ISO C and fix formatting. - * vms-tir.c: Convert to ISO C and fix formatting. - * vms.c: Convert to ISO C and fix formatting. - * vms.h: Convert to ISO C and fix formatting. - - * coffgen.c (coff_print_symbol): Restore correct formatting of - output. - -2005-04-20 David S. Miller <davem@davemloft.net> - - * elfxx-sparc.c (sparc_elf_r_symndx_64): Fix compiler warning. - (_bfd_sparc_elf_link_hash_table_create): Likewise. - (allocate_dynrelocs): Likewise. - -2005-04-20 Jerome Guitton <guitton@gnat.com> - - * configure.in: Fix the check for basename declaration. Add check - for declarations of ftello, ftello64, fseeko, fseeko64. - * configure: Regenerate. - * config.in: Ditto. - * sysdep.h: If needed, declare ftello, ftello64, fseeko, fseeko64. - -2005-04-19 David S. Miller <davem@davemloft.net> - - * elfxx-sparc.c: New file. - * elfxx-sparc.h: New file. - * Makefile.in (BFD32_BACKENDS): Add elfxx-sparc.lo - (BFD32_BACKENDS_CFILES): Add elfxx-sparc.c - (elfxx-sparc.lo): New rule. - (elf32-sparc.lo): Add elfxx-sparc.h dependency. - (elf64-sparc.lo): Likewise. - * configure.in (bfd_elf32_sparc_vec): Add elfxx-sparc.lo - (bfd_elf64_sparc_vec): Likewise. - * configure: Regenerate. - * elf32-sparc.c: Remove common code now in elfxx-sparc.c - * elf64-sparc.c: Likewise, also use elf64_sparc_*() naming - which is more consistent with elf32-sparc.c - -2005-04-19 Daniel Jacobowitz <dan@codesourcery.com> - - * elfxx-mips.c (struct mips_elf_link_hash_entry): Update comment. - (mips_elf_create_local_got_entry): Check h->root.forced_local. - -2005-04-19 Alan Modra <amodra@bigpond.net.au> - - * elf32-ppc.c (ppc_elf_check_relocs): Don't bother with - dynamic relocs in non-SEC_ALLOC sections. - (ppc_elf_gc_sweep_hook): Likewise. - (ppc_elf_relax_section): Likewise. - (ppc_elf_relocate_section): Likewise. - -2005-04-18 Nick Clifton <nickc@redhat.com> - - * aix5ppc-core.c (xcoff64_core_p): Fix compile time warning - assigning a value to return_value. - -2005-04-17 H.J. Lu <hongjiu.lu@intel.com> - - PR 855 - * elf.c (_bfd_elf_copy_private_section_data): Don't copy linker - created group data. - -2005-04-17 H.J. Lu <hongjiu.lu@intel.com> - - PR 855 - * elf.c (setup_group): Properly handle zero group count. - -2005-04-17 Mark Kettenis <kettenis@gnu.org> - - * som.c (hppa_som_reloc, som_mkobject, som_is_space) - (som_is_subspace, compare_subspaces, som_compute_checksum) - (som_build_and_write_symbol_table, som_slurp_symbol_table): New - protoypes. - (hppa_som_reloc, compare_syms, compare_subspaces) - (som_print_symbol, som_get_section_contents) - (som_set_section_contents): Remove space after 'void *'. - (som_bfd_print_private_bfd_data): Use %lx to print longs. - (som_bfd_merge_private_bfd_data) - (som_bfd_copy_private_header_data, som_bfd_set_private_flags): New - defines. - -2004-04-15 Julian Brown <julian@codesourcery.com> - - * bfd-in.h (bfd_elf32_arm_set_target_relocs): Update prototype. - * bfd-in2.h: Regenerate. - * elf32-arm.c (elf32_arm_link_hash_table): New field, 'use_blx'. - (elf32_arm_link_hash_table_create): Initialise fix_v4bx, use_blx. - (bfd_elf32_arm_set_target_relocs): Handle use_blx. - (elf32_arm_final_link_relocate): Use Thumb BLX for R_ARM_THM_PC22 - relocations if requested to. - (allocate_dynrelocs): Don't count size of omitted Thumb stubs based on - use_blx rather than symbian_p. - (elf32_arm_finish_dynamic_symbol): Don't output Thumb PLT stubs if - use_blx is in effect. - (elf32_arm_symbian_link_hash_table_create): Enable use_blx by default - for SymbianOS. - -2005-04-15 Nick Clifton <nickc@redhat.com> - - * coffgen.c (coff_print_symbol): Use fprintf_vma to print vma - values. - -2005-04-15 Alan Modra <amodra@bigpond.net.au> - - PR ld/815 - * elflink.c (elf_smash_syms): Clear undef.next if it's not being - used as a list pointer. - -2005-04-14 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am (NO_WERROR): Define. - * warning.m4: New file - * acinclude.m4: Include warning.m4. - * configure.in: Invoke AM_BINUTILS_WARNINGS. - * Makefile.in: Regenerate. - * configure: Regenerate. - -2005-04-14 Alan Modra <amodra@bigpond.net.au> - - * merge.c (sec_merge_emit): Tidy. Check for bfd_zmalloc errors. - Write trailing padding. - - * merge.c (merge_strings): Round up section size for alignment. - -2005-04-14 David S. Miller <davem@davemloft.net> - - Add TLS support for 64-bit Sparc ELF. - * elf64-sparc.c (sparc64_elf_dyn_relocs, - sparc64_elf_link_hash_entry, sparc64_elf_obj_tdata): New structs. - (GOT_UNKNOWN, GOT_NORMAL, GOT_TLD_GD, GOT_TLD_IE, - sparc64_elf_hash_entry, sparc64_elf_tdata, - sparc64_elf_local_got_tls_type): New defines. - (sparc64_elf_mkobject): New function. - (sparc64_elf_link_hash_table): Add members for dynamic linker - sections PLT, RELPLT, DYNBSS, and RELBSS. Add tls_ldm_got - uion to track TLS GOT references. Add sym_sec to cache - mappings from local sym to section. - (link_hash_newfunc): New function. - (sparc64_elf_bfd_link_hash_table_create): Rename to - sparc64_elf_link_hash_table_create for consistency. - Pass link_hash_newfunc to _bfd_elf_link_hash_table_init. - (sparc64_elf_create_dynamic_sections): Initialize new section - members of sparc64_elf_link_hash_table. Only init srelbss - if not-shared. - (sparc64_elf_copy_indirect_symbol, sparc64_elf_tls_transition): - New functions. - (SPARC_NOP): Define. - (sparc64_elf_build_plt, sparc64_elf_plt_entry_offset, - sparc64_elf_plt_ptr_offset): Delete. - (sparc64_plt_entry_build): New function to build PLT entries - gradually instread of all at once at the end of linking. - (sparc64_elf_check_relocs): Delete dynobj, sgot, and srelgot - local vars. Get them from sparc64_elf_hash_table instead. - Check early on if r_symndx is in bounds. Handle TLS transitions. - Account for TLS GOT references and DF_STATIC_TLS, as needed. - For TLS relocs, record the tls_type in either - sparc64_elf_local_got_tls_type or sparc64_elf_hash_entry as - appropriate. For R_SPARC_TLS_{GD,LDM}_CALL, emit a reference - to the __tls_get_addr symbol. For PLT relocs, track references - via h->plt.refcount. When R_SPARC_{PC10,PC22,PC_HH22,PC_HM10, - PC_LM22} and h not-NULL, set h->non_got_ref. For global data - symbol references, count the number of relocations needed for - that symbol. For default switch case, don't error, this lets - the TLS relocs not explicitly handled by this function get - accepted. - (sparc64_elf_gc_mark_hook, sparc64_gc_sweep_hook): New functions. - (sparc64_elf_adjust_dynamic_symbol): Remove dynobj local var, get - it from sparc64_elf_hash_table. Store the real PLT offset - in h->plt.offset, and build PLT entries one at a time. Also - get .dynbss section pointer from htab. - (allocate_dynrelocs, readonly_dynrelocs, - sparc64_omit_section_dynsym): New functions. - (sparc64_elf_omit_section_dynsym): Use these new functions as - helpers. - (dtpoff_base, tpoff): New functions. - (sparc64_elf_relocate_section): Kill dynobj, sgot, and splt - locals, get them from sparc64_elf_hash_table. Handle TLS - relocations and refcounting in main relocation loop. - (sparc64_elf_finish_dynamic_symbol): Use - sparc64_elf_link_hash_table. Build PLT entries as we see - them. Handle TLS GOT relocations. - (sparc64_elf_finish_dynamic_sections): Get sgot and dynobj - from sparc64_elf_hash_table. Initialize only PLT header - not all entries since we not build PLT entries one by one. - (elf_backend_copy_indirect_symbol, bfd_elf64_mkobject, - elf_backend_gc_mark_hook, elf_backend_gc_sweep_hook, - elf_backend_can_gc_sections, elf_backend_can_refcount): Define. - -2005-04-13 Daniel Jacobowitz <dan@codesourcery.com> - - * elflink.c (elf_link_input_bfd): Update check for removed - sections. - -2005-04-12 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - * aclocal.m4: Regenerate. - * libcoff.h: Regenerate. - -2005-04-11 H.J. Lu <hongjiu.lu@intel.com> - - * linker.c (_bfd_generic_link_output_symbols): Also check if - the output section of an input section has been removed from - the output file. - - * section.c (bfd_section_list_remove): Clear the next field - of the removed section. - (bfd_section_removed_from_list): New. - * bfd-in2.h: Regenerated. - -2005-04-11 David S. Miller <davem@davemloft.net> - - * elf32-sparc.c (elf32_sparc_relocate_section, - R_SPARC_TLS_LDO_{HIX22,LOX10}): When not shared, transition to - R_SPARC_TLS_LE_{HIX22,LOX10}. - (elf32_sparc_relocate_section, R_SPARC_TLS_{LDO,LE}_HIX22): Only - xor relocation with 0xffffffff if R_SPARC_TLS_LE_HIX22. - (elf32_sparc_relocate_section, R_SPARC_TLS_{LDO,LE}_LOX10): Only - or 0x1c00 into relocation if R_SPARC_TLS_LE_HIX22. - -2005-04-11 H.J. Lu <hongjiu.lu@intel.com> - - * coffcode.h (STRING_SIZE_SIZE): Updated to match libcoff-in.h. - -2005-04-11 Nick Clifton <nickc@redhat.com> - - * aout-target.h: Convert to ISO C. - * aoutf1.h: Convert to ISO C. - * aoutx.h: Convert to ISO C. - * bout.c: Convert to ISO C. - * dwarf1.c: Convert to ISO C. - * ecoffswap.h: Convert to ISO C. - * freebsd.h: Convert to ISO C. - * genlink.h: Convert to ISO C. - * ieee.c: Convert to ISO C. - * ihex.c: Convert to ISO C. - * libcoff-in.h: Convert to ISO C. - * mach-o.c: Convert to ISO C. - * mach-o.h: Convert to ISO C. - * netbsd.h: Convert to ISO C. - * ns32k.h: Convert to ISO C. - * ns32knetbsd.c: Convert to ISO C. - * oasys.c: Convert to ISO C. - * pdp11.c: Convert to ISO C. - * pef-traceback.h: Convert to ISO C. - * pef.c: Convert to ISO C. - * pef.h: Convert to ISO C. - * riscix.c: Convert to ISO C. - * som.c: Convert to ISO C. - * som.h: Convert to ISO C. - * srec.c: Convert to ISO C. - * stabs.c: Convert to ISO C. - * sunos.c: Convert to ISO C. - * tekhex.c: Convert to ISO C. - * versados.c: Convert to ISO C. - * version.h: Convert to ISO C. - * xcoff-target.h: Convert to ISO C. - * xcofflink.c: Convert to ISO C. - * xsym.c: Convert to ISO C. - * xsym.h: Convert to ISO C. - -2005-04-08 Paul Brook <paul@codesourcery.com> - - * elf32-arm.c (ARM2THUMB_GLUE_SIZE): Rename... - (ARM2THUMB_STATIC_GLUE_SIZE): ... to this. - (ARM2THUMB_PIC_GLUE_SIZE): Define. - (a2t1p_ldr_insn, a2t2p_add_pc_insn, a2t3p_bx_r12_insn): Add. - (elf32_arm_to_thumb_stub): Create PIC stubs. - (record_arm_to_thumb_glue): Use different stub size for relocatable - images. - -2005-04-05 Alan Modra <amodra@bigpond.net.au> - - * elf64-ppc.c (dec_dynrel_count): New function split out from - ppc64_elf_edit_toc, with additional code from ppc64_elf_edit_opd. - (ppc64_elf_edit_toc, ppc64_elf_edit_opd): Use it. - (ppc64_elf_tls_optimize): Likewise. - -2005-04-05 Mark Kettenis <kettenis@gnu.org> - - * netbsd-core.c (SPARC_WCOOKIE_OFFSET): Renamed from - CORE_WCOOKIE_OFFSET. - (SPARC64_WCOOKIE_OFFSET): New. - (netbsd_core_file_p): Provide .wcookie section for OpenBSD/sparc64. - -2005-04-05 Nick Clifton <nickc@redhat.com> - - * po/rw.po: New translation: Kinyarwanda - * configure.in (ALL_LINGUAS): Add rw - * configure: Regenerate. - -2005-04-05 Richard Sandiford <rsandifo@redhat.com> - - * elfxx-mips.c (MIPS_ELF_OPTIONS_SECTION_NAME_P): New macro. - (_bfd_mips_elf_section_from_shdr): Use it to check for recognized - SHT_MIPS_OPTIONS names. Allow all sections with unrecognised - section flags. - (_bfd_mips_elf_fake_sections): Use MIPS_ELF_OPTIONS_SECTION_NAME_P - to check for SHT_MIPS_OPTIONS sections. - (_bfd_mips_elf_set_section_contents): Likewise. - -2005-04-04 Eric Christopher <echristo@redhat.com> - - * elfxx-mips.c (_bfd_elf_mips_get_relocated_section_contents): - Clean up gp handling code. - -2005-04-04 H.J. Lu <hongjiu.lu@intel.com> - - * elf.c (bfd_elf_set_group_contents): Ignore linker created - group section. - (assign_section_numbers): Accept link_info. Check SHT_GROUP - sections for relocatable files only. Remove the linker created - group sections. - (_bfd_elf_compute_section_file_positions): Pass link_info to - assign_section_numbers. - - * elfxx-ia64.c (elfNN_ia64_object_p): New. - (elf_backend_object_p): Defined. - -2005-04-04 H.J. Lu <hongjiu.lu@intel.com> - - * elf-bfd.h (elf_section_data): Use (sec) instead of sec. - -2005-04-03 Fred Fish <fnf@specifixinc.com> - - * dwarf2.c (struct dwarf2_debug): Add dwarf_ranges_buffer and - dwarf_ranges_size members. - (struct comp_unit): Add base_address member. - (struct funcinfo): Replace low/high members with an arange. - (arange_add): Replace incoming "unit" parameter with "abfd" and - "first_arange" pointers. Reorganize/rewrite function body. - (decode_line_info): Change arange_add call to pass bfd and arange - pointers. - (lookup_address_in_line_info_table): Use arange list instead of - individual low/high members. Walk function's arange list to find - lowest PC in list, to test for overlapping functions. - (read_debug_ranges): New function, reads the debug_ranges section. - (lookup_address_in_function_table): Use arange list instead of - individual low/high members. Rewrite to find smallest range that - matches. - (read_rangelist): Read a given rangelist from debug_ranges. - (scan_unit_for_functions): Use arange list instead of individual - low/high members. Handle a DW_AT_ranges attribute. - (parse_comp_unit): Use arange list instead of individual low/high - members. Save comp unit base address. Handle a DW_AT_ranges - attribute. - -2005-04-01 H.J. Lu <hongjiu.lu@intel.com> - - * elf.c (assign_section_numbers): Really use the kept section. - -2005-03-31 H.J. Lu <hongjiu.lu@intel.com> - - * elf-bfd.h (_bfd_elf_check_kept_section): New. - - * elf.c (assign_section_numbers): When sh_link points to a - discarded section, call _bfd_elf_check_kept_section to see if - the kept section can be used. Otherwise reject sh_link - pointing to discarded section. - - * elflink.c (_bfd_elf_check_kept_section): New. - (elf_link_input_bfd): Use it. - -2005-04-01 Alan Modra <amodra@bigpond.net.au> - - * elf64-ppc.c (ppc64_elf_edit_toc): Account for dynamic relocs - that we no longer need. - -2005-04-01 Alan Modra <amodra@bigpond.net.au> - - * elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Return -1 on errors - rather than 0. - (ppc64_elf_check_relocs): Remove unnecessary SEC_ALLOC check. - -2005-03-31 H.J. Lu <hongjiu.lu@intel.com> - - * elf.c (assign_section_numbers): Fix a typo. - -2005-03-31 H.J. Lu <hongjiu.lu@intel.com> - - * elflink.c (elf_link_input_bfd): Remove the extra `\n' in - error message. - (_bfd_elf_section_already_linked): Likewise. - -2005-03-31 Jerome Guitton <guitton@gnat.com> - - * config.in: Regenerate. - -2005-03-31 Jerome Guitton <guitton@gnat.com> - - * config.in (HAVE_DECL_BASENAME): New configure macro. - * configure.in: Check for basename. - * configure: Regenerate. - -2005-03-30 Julian Brown <julian@codesourcery.com> - - * bfd-in.h (bfd_is_arm_mapping_symbol_name): Rename from - bfd_elf32_is_arm_mapping_symbol_name. - * bfd-in2.h: Regenerate. - * cpu-arm.c (bfd_is_arm_mapping_symbol_name): Rename from - bfd_elf32_is_arm_mapping_symbol_name. - * elf32-arm.c (elf32_arm_is_target_special_symbol): Rename - bfd_elf32_is_arm_mapping_symbol_name to bfd_is_arm_mapping_symbol_name. - (arm_elf_find_function): Likewise. - (elf32_arm_output_symbol_hook): Likewise. - -2005-03-30 Julian Brown <julian@codesourcery.com> - - * bfd-in.h (bfd_elf32_is_arm_mapping_symbol_name): Add prototype. - * bfd-in2.h: Regenerate. - * elf32-arm.c (elf32_arm_is_target_special_symbol): Rename call to - bfd_elf32_is_arm_mapping_symbol_name. - (elf32_arm_output_symbol_hook): Likewise. - (arm_elf_find_function): Likewise, and include STT_NOTYPE in test for - mapping symbols. - (is_arm_mapping_symbol_name): Function moved from here... - * cpu-arm.c (bfd_elf32_is_arm_mapping_symbol_name): ...to here, renamed - and made global. - -2005-03-29 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> - - * configure.in: Check for ffs decl and alphabetize. - * config.in: Regenerate. - * configure: Regenerate. - * sysdep.h [NEED_DECLARATION_FFS] (ffs): Prototype and alphabetize. - -2005-03-29 Fred Fish <fnf@specifixinc.com> - - * dwarf2.c (struct comp_unit): Fix typo. - (scan_unit_for_functions): Remove unused local variable "name" - and dead code that set it. - -2005-03-29 Daniel Jacobowitz <dan@codesourcery.com> - Phil Blundell <philb@gnu.org> - - * bfd-in2.h, libbfd.h: Regenerated. - * reloc.c: Add ARM TLS relocations. - * elf32-arm.c (elf32_arm_howto_table): Add dynamic TLS - relocations. - (elf32_arm_tls_gd32_howto, elf32_arm_tls_ldo32_howto) - (elf32_arm_tls_ldm32_howto, elf32_arm_tls_le32_howto) - (elf32_arm_tls_ie32_howto): New. - (elf32_arm_howto_from_type): Support TLS relocations. - (elf32_arm_reloc_map): Likewise. - (elf32_arm_reloc_type_lookup): Likewise. - (TCB_SIZE): Define. - (struct elf32_arm_obj_tdata): New. - (elf32_arm_tdata, elf32_arm_local_got_tls_type): Define. - (elf32_arm_mkobject): New function. - (struct elf32_arm_relocs_copied): Add pc_count. - (elf32_arm_hash_entry, GOT_UNKNOWN, GOT_NORMAL, GOT_TLS_GD) - (GOT_TLS_IE): Define. - (struct elf32_arm_link_hash_table): Add tls_ldm_got. - (elf32_arm_link_hash_newfunc): Initialize tls_type. - (elf32_arm_copy_indirect_symbol): Copy pc_count and tls_type. - (elf32_arm_link_hash_table_create): Initialize tls_ldm_got. - (dtpoff_base, tpoff): New functions. - (elf32_arm_final_link_relocate): Handle TLS relocations. - (IS_ARM_TLS_RELOC): Define. - (elf32_arm_relocate_section): Warn about TLS mismatches. - (elf32_arm_gc_sweep_hook): Handle TLS relocations and pc_count. - (elf32_arm_check_relocs): Detect invalid symbol indexes. Handle - TLS relocations and pc_count. - (elf32_arm_adjust_dynamic_symbol): Check non_got_ref. - (allocate_dynrelocs): Handle TLS. Bind REL32 relocs to local - calls. - (elf32_arm_size_dynamic_sections): Handle TLS. - (elf32_arm_finish_dynamic_symbol): Likewise. - (bfd_elf32_mkobject): Define. - -2005-03-29 Daniel Jacobowitz <dan@codesourcery.com> - - * elf32-arm.c (elf32_arm_check_relocs): Increment count for all - relocation types. Don't count relocations which will use a PLT. - -2005-03-29 Joel Brobecker <brobecker@gnat.com> - - * elf.c (elfcore_grok_nto_status): Print tid as long. - (elfcore_grok_nto_regs): Likewise. - -2005-03-29 Joel Brobecker <brobecker@gnat.com> - - * irix-core.c: Remove some unnecessary prototypes. - -2005-03-28 Joel Brobecker <brobecker@adacore.com> - - * irix-core.c: Convert to ISO C. - -2005-03-28 Joel Brobecker <brobecker@adacore.com> - - * irix-core.c (do_sections): Replace + by | in expression. - (irix_core_core_file_matches_executable_p): Add ATTRIBUTE_UNUSED - to unused parameters to avoid a compiler warning. - -2005-03-28 Mark Kettenis <kettenis@gnu.org> - - * netbsd-core.c: Convert to ISO C. Fix formatting. - -2005-03-24 Eric Christopher <echristo@redhat.com> - - * elfxx-mips.c: Revert previous patch. - -2005-03-24 Nick Clifton <nickc@redhat.com> - - * targets.c (_bfd_target_vector): Only include the - bfd_elf32_ia64_hpux_big_vec vector when building a 64-bit BFD with - all targets enabled. - -2005-03-24 James E Wilson <wilson@specifixinc.com> - - * Makefile.am (BFD32_BACKENDS): Delete elf32-ia64.lo. - (BFD64_BACKENDS): Add elf32-ia64.lo. - * Makefile.in: Regenerate. - -2005-03-23 Eric Christopher <echristo@redhat.com> - - * elfxx-mips.c (MIPS_ELF_READONLY_SECTION): New. - (mips_elf_calculate_relocation): Use. Define DF_TEXTREL - after emitting relocation. - (_bfd_mips_elf_adjust_dynamic_symbol): Ditto. - (_bfd_mips_elf_check_relocs): Remove code to set DF_TEXTREL - and readonly_reloc. - -2005-03-23 Mike Frysinger <vapier@gentoo.org> - Nick Clifton <nickc@redhat.com> - - * config.bfd: Accept any C library to accompany a GNU Linux - implementation, not just the GNU C library. - * configure.in: Likewise. - * configure: Regenerate. - -2005-03-22 H.J. Lu <hongjiu.lu@intel.com> - - * bfd-in.h (_bfd_elf_provide_symbol): New. - * bfd-in2.h: Regenerated. - - * elf32-ppc.c (set_linker_sym): Moved to elflink.c. - (ppc_elf_set_sdata_syms): Call _bfd_elf_provide_symbol instead - of set_linker_sym. - - * elflink.c (_bfd_elf_provide_symbol): New. Moved and renamed - from elf32-ppc.c. - -2005-03-22 Hans-Peter Nilsson <hp@axis.com> - - * hash.c (strtab_hash_newfunc): Fix typo in allocated size. - -2005-03-22 Bob Wilson <bob.wilson@acm.org> - - * xtensa-isa.c (xtensa_opcode_lookup, xtensa_state_lookup, - xtensa_sysreg_lookup_name, xtensa_interface_lookup, - xtensa_funcUnit_lookup): Skip bsearch call if count is zero. - (xtensa_opcode_decode): Rearrange code. - -2005-03-22 Nick Clifton <nickc@redhat.com> - - * binary.c: Convert to ISO C90 formatting. - * coff-arm.c: Convert to ISO C90 formatting. - * coffgen.c: Convert to ISO C90 formatting. - * elf32-gen.c: Convert to ISO C90 formatting. - * elf64-gen.c: Convert to ISO C90 formatting. - * hash.c: Convert to ISO C90 formatting. - * ieee.c: Convert to ISO C90 formatting. - -2005-03-22 Daniel Jacobowitz <dan@codesourcery.com> - - * elf32-arm.c (elf32_arm_final_link_relocate): Don't fail for - unresolved symbols in R_ARM_NONE relocations. - -2005-03-22 Daniel Jacobowitz <dan@codesourcery.com> - - * elf32-arm.c (elf32_arm_final_link_relocate): Add - UNRESOLVED_RELOC_P argument. Set it appropriately. - (elf32_arm_relocate_section): Update call to - elf32_arm_final_link_relocate. Don't clobber RELOCATION; use - unresolved_reloc instead. - -2005-03-23 Alan Modra <amodra@bigpond.net.au> - - * elflink.c (elf_link_add_object_symbols): Set SEC_EXCLUDE on - .gnu.warning.* sections. - -2005-03-22 Alan Modra <amodra@bigpond.net.au> - - * elf32-ppc.c (elf_linker_section_pointers_t): Remove - written_address_p. - (ppc_elf_create_linker_section): Don't try to reuse existing section. - (elf_create_pointer_linker_section): Delete info parm. Don't make - h dynamic. Don't set written_address_p. - (ppc_elf_check_relocs): Adjust ppc_elf_create_linker_section calls. - (bfd_put_ptr): Delete. - (elf_finish_pointer_linker_section): Remove output_bfd and info parms. - Always write section contents. Assert global sym is def_regular. - Use offset bottom bit as a written flag. - (ppc_elf_relocate_section): Adjust elf_finish_pointer_linker_section - calls. - -2005-03-22 Alan Modra <amodra@bigpond.net.au> - - * elf32-ppc.c (ppc_elf_set_sdata_syms): New function, extracted from.. - (ppc_elf_set_sdata_syms): ..here. Expand comment. Set .sbss start - and end syms. - -2005-03-21 Nick Clifton <nickc@redhat.com> - - * coff-arm.c (coff_link_hash_entry): Only define for non WINCE - targets. - (t2a1_bx_pc_insn): Likewise. - (t2a2_noop_insn): Likewise. - (t2a3_b_insn): Likewise. - (t2a1_push_insn): Likewise. - (t2a2_ldr_insn): Likewise. - (t2a3_mov_insn): Likewise. - (t2a4_bx_insn): Likewise. - (t2a5_pop_insn): Likewise. - (t2a6_bx_insn): Likewise. - (coff_arm_relocate_section): Only declare the high_address - variable for non WINCE targets. - -2005-03-22 Alan Modra <amodra@bigpond.net.au> - - * elf32-ppc.c (ppc_elf_add_symbol_hook): Make htab->sbss - SEC_LINKER_CREATED. Attach to dynobj. - (ppc_elf_size_dynamic_sections): Strip htab->sbss if zero size. - -2005-03-21 Alan Modra <amodra@bigpond.net.au> - - * elf32-ppc.c (struct elf_linker_section): Remove sym_hash and - sym_offset. Add name, bss_name, sym_name, sym_val. - (struct ppc_elf_link_hash_table): Remove sdata and sdata2 pointers. - Add sdata array of elf_linker_section_t. - (ppc_elf_link_hash_table_create): Set name, sym_name, and bss_name. - (enum elf_linker_section_enum): Delete. - (ppc_elf_create_linker_section): Rewrite. Don't create syms here. - (ppc_elf_check_relocs): Delay ppc_elf_create_linker_section until - the special sections are needed. Adjust htab->sdata refs. - Ensure dynobj is set in sreloc code. - (ppc_elf_size_dynamic_sections): Strip sdata sections. - (ppc_elf_set_sdata_syms): New function. - (elf_finish_pointer_linker_section): Use 0x8000 for sym_offset. - (ppc_elf_relocate_section): Adjust references to htab->sdata. Use - sym_val instead of sym_hash. - * elf32-ppc.h (ppc_elf_set_sdata_syms): Declare. - -2005-03-21 Alan Modra <amodra@bigpond.net.au> - - * elf32-ppc.c (is_ppc_elf_target): Move to linker part of file. - (ppc_elf_merge_private_bfd_data): Likewise. - -2005-03-21 Alan Modra <amodra@bigpond.net.au> - - * elf32-ppc.c (struct elf_linker_section): Remove rel_section. - (ppc_elf_create_linker_section): Don't create rel_section. - (elf_create_pointer_linker_section): Don't size relocs. - (elf_finish_pointer_linker_section): Remove relative_reloc parm. - Don't generate relocs. - (ppc_elf_relocate_section): Adjust calls to - elf_finish_pointer_linker_section. - -2005-03-21 Alan Modra <amodra@bigpond.net.au> - - * elf32-ppc.c (is_ppc_elf_target): New function. - (ppc_elf_merge_private_bfd_data): Use it rather than just testing - for bfd_target_elf_flavour. Do this test before endian check. - (ppc_elf_add_symbol_hook): Use is_pcc_elf_target. - (ppc_elf_size_dynamic_sections): Likewise. - -2005-03-20 H.J. Lu <hongjiu.lu@intel.com> - - * elf-bfd.h (elf_backend_data): Add int to - elf_backend_section_from_shdr. - (bfd_elf_section_data): Update comment for this_idx. - (_bfd_elf_make_section_from_shdr): Add int. - * elfxx-mips.h (_bfd_mips_elf_section_from_shdr): Likewise. - - * elf.c (_bfd_elf_make_section_from_shdr): Take section index - and use it to set this_idx in bfd_elf_section_data. - (bfd_section_from_shdr): Pass shindex to - _bfd_elf_make_section_from_shdr. - (_bfd_elf_section_from_bfd_section): Use this_idx in - bfd_elf_section_data to find section index. - - * elf32-arm.c (elf32_arm_section_from_shdr): Take section - index and pass it to _bfd_elf_make_section_from_shdr. - * elf32-i370.c(i370_elf_section_from_shdr): Likewise. - * elf32-ppc.c (ppc_elf_section_from_shdr): Likewise. - * elf32-sh64.c (sh64_backend_section_from_shdr): Likewise. - * elf32-v850.c (v850_elf_section_from_shdr): Likewise. - * elf64-alpha.c (elf64_alpha_section_from_shdr): Likewise. - * elf64-hppa.c (elf64_hppa_section_from_shdr): Likewise. - * elf64-x86-64.c (elf64_x86_64_section_from_shdr): Likewise. - * elfxx-ia64.c (elfNN_ia64_section_from_shdr): Likewise. - * elfxx-mips.c (_bfd_mips_elf_section_from_shdr): Likewise. - -2005-03-19 Danny Smith <dannysmith@users.sourceforge.net> - Ross Ridge <rridge@csclub.uwaterloo.ca> - - * peicode.h (pe_ILF_build_a_bfd): Strip only one prefix - character in IMPORT_NAME_UNDECORATE and IMPORT_NAME_NOPREFIX - cases. Add comment. - -2005-03-18 H.J. Lu <hongjiu.lu@intel.com> - - * elflink.c (elf_mark_used_section): Remove check for special - sections. - -2005-03-18 Andreas Schwab <schwab@suse.de> - - * elfxx-ia64.c (elfNN_ia64_install_value): Change type of insn - from bfd_vma to ia64_insn, remove broken cast. - -2005-03-18 C Jaiprakash <cjaiprakash@noida.hcltech.com> - - * elf32-m68k.c (elf_cfv4e_plt0_entry): plt entry for coldfire v4e. - (elf_m68k_adjust_dynamic_symbol,elf_m68k_finish_dynamic_symbol, - elf_m68k_finish_dynamic_sections): Use it. - -2005-03-17 Paul Brook <paul@codesourcery.com> - Dan Jacobowitz <dan@codesourcery.com> - Mark Mitchell <mark@codesourcery.com> - - * elf32-arm.c (elf32_arm_modify_segment_map): New function. - (elf32_arm_additional_program_headers): Likewise. - (elf_backend_modify_segment_map): Define. - (elf_backend_additional_program_headers): Likewise. - (elf32_arm_symbian_modify_segment_map): Use - elf32_arm_modify_segment_map. - -2005-03-18 H.J. Lu <hongjiu.lu@intel.com> - - * elflink.c (elf_mark_used_section): Check bfd_is_const_section - for special sections. - -2005-03-18 Alan Modra <amodra@bigpond.net.au> - - * elf-bfd.h (_bfd_elf_link_renumber_dynsyms): Delete. - * elflink.c (_bfd_elf_link_renumber_dynsyms): Make static, add - section_sym_count param, and return number of section symbols. - (bfd_elf_size_dynamic_sections): Clear section symbol area of - .dynsym contents. Don't bother calling swap_symbol_out on the - first all-zero dynsym. - (elf_mark_used_section): Formatting. Avoid twiddling flags in - special sections like bfd_abs_section. - (bfd_elf_gc_sections): Spelling fix. - -2005-03-16 Fred Fish <fnf@specifixinc.com> - - PR binutils/790 - * dwarf2.c (read_indirect_string): Fix apparent typo, check - dwarf_str_buffer allocation, not dwarf_abbrev_buffer. - -2005-03-16 H.J. Lu <hongjiu.lu@intel.com> - - * elflink.c (elf_mark_used_section): New. - (bfd_elf_gc_sections): Call elf_gc_mark_section for - non-relocatable link if we don't do GC. - -2005-03-16 Nick Clifton <nickc@redhat.com> - Ben Elliston <bje@au.ibm.com> - - * configure.in (werror): New switch: Add -Werror to the - compiler command line. Enabled by default. Disable via - --disable-werror. - * configure: Regenerate. - -2005-03-16 Nick Clifton <nickc@redhat.com> - - * ecoff.c: Convert to ISO C90 formatting. - -2005-03-16 Alan Modra <amodra@bigpond.net.au> - - * elf32-ppc.c: Divide file into general and linker specific - functions. Sort linker functions into roughly the order in which - they are called by the ELF linker code. - -2005-03-16 Alan Modra <amodra@bigpond.net.au> - - * elf32-ppc.c (ppc_elf_create_linker_section): Set SEC_LINKER_CREATED - on section. Correct comment, and add FIXME. - (ppc_elf_additional_program_headers): Don't bump header count for - interp. Test SEC_ALLOC, not SEC_LOAD, and don't test size. - (ppc_elf_size_dynamic_sections): Don't strip sdata and sdata2, but - do allocate memory if they need it. - -2005-03-15 Mikkel Krautz <krautz@gmail.com> - - * config.bfd (x86_64-elf): Add target. - -2005-03-15 Alan Modra <amodra@bigpond.net.au> - - * po/es.po: Commit new Spanish translation. - -2005-03-14 H.J. Lu <hongjiu.lu@intel.com> - - * elfxx-ia64.c (elfNN_ia64_relocate_section): Set symbo name - for global symbol when reporting overflow. - -2005-03-11 Jakub Jelinek <jakub@redhat.com> - - * libbfd-in.h (_bfd_ar_spacepad): New prototype. - * libbfd.h: Rebuilt. - * archive.c (_bfd_ar_spacepad): New function. - (_bfd_construct_extended_name_table, _bfd_write_archive_contents, - bsd_write_armap, _bfd_archive_bsd_update_armap_timestamp, - coff_write_armap): Use it. - (bfd_ar_hdr_from_filesystem): Likewise. Fix HP-UX large - uid/gid support. - * archive64.c (bfd_elf64_archive_write_armap): Use _bfd_ar_spacepad. - -2005-03-10 Mark Kettenis <kettenis@gnu.org> - - * archive.c (_bfd_look_for_bfd_in_cache): Move declaration of - has_table to the start of the function. - -2005-03-10 Ben Elliston <bje@au.ibm.com> - - * archive.c: Include hashtab.h. - (struct ar_cache): Rename `arelt' to `arbfd' and remove `next'. - (_bfd_look_for_bfd_in_cache): Reimplement using htab_find. - (hash_file_ptr): New function. - (eq_file_ptr): Likewise. - (_bfd_add_bfd_to_archive_cache): Reimplement using a hash table. - * libbfd-in.h: Include hashtab.h. - (struct artdata): Change `cache' member type to htab_t. - * libbfd.h: Rebuild. - -2005-03-08 Daniel Jacobowitz <dan@codesourcery.com> - - * configure.in: Bump version to 2.16.90. - * configure: Regenerated. - -2005-03-07 Jakub Jelinek <jakub@redhat.com> - - * opncls.c (opncls_bread, opncls_bclose): Fix if pread resp. - close is a function like macro in system headers. - -2005-03-07 Alan Modra <amodra@bigpond.net.au> - - PR ld/778 - * elf32-hppa.c (elf32_hppa_create_dynamic_sections): Reinstate - _GLOBAL_OFFSET_TABLE_ as a normal dynamic symbol. - -2005-03-06 Alan Modra <amodra@bigpond.net.au> - - * elf.c (elfcore_grok_win32pstatus): Warning fixes. - -2005-03-05 Alan Modra <amodra@bigpond.net.au> - - * po/bfd.pot: Regenerate. - -2005-03-05 Alan Modra <amodra@bigpond.net.au> - - * elf64-ppc.c (update_plt_info): Don't mark new ABI call syms - with is_func. - (func_desc_adjust): Force dot-syms local in executables as well - as shared libs. - -2005-03-04 David Daney <ddaney@avtrex.com> - - * elfxx-mips.c (mips_elf_calculate_relocation): Handle special - '__gnu_local_gp' symbol used by gas -mno-shared. - -2005-03-03 H.J. Lu <hongjiu.lu@intel.com> - - * elf-bfd.h (elf_backend_data): Add "const char *" to - elf_backend_section_from_phdr. - - * elf.c (bfd_section_from_phdr): Pass "proc" to the - elf_backend_section_from_phdr hook. - -2005-03-02 Daniel Jacobowitz <dan@codesourcery.com> - Joseph Myers <joseph@codesourcery.com> - - * elfxx-mips.c (struct mips_got_entry): Add tls_type. - (struct mips_got_info): Add tls_gotno, tls_assigned_gotno, - and tls_ldm_offset. - (struct mips_elf_got_per_bfd_arg): Add global_count. - (struct mips_elf_count_tls_arg): New. - (struct mips_elf_hash_sort_data): Update comment for min_got_dynindx. - (struct mips_elf_link_hash_entry): Add tls_type and tls_got_offset. - (GOT_NORMAL, GOT_TLS_GD, GOT_TLS_LDM, GOT_TLS_IE) - (GOT_TLS_OFFSET_DONE, GOT_TLS_DONE): Define. - (TLS_RELOC_P): Define. - (TP_OFFSET, DTP_OFFSET): Define. - (dtprel_base, tprel_base): New functions. - (mips_elf_link_hash_newfunc): Initialize tls_type. - (mips_elf_got_entry_hash, mips_elf_got_entry_eq) - (mips_elf_multi_got_entry_hash, mips_elf_multi_got_entry_eq): Handle - TLS entries. - (mips_tls_got_relocs, mips_elf_count_local_tls_relocs) - (mips_elf_count_global_tls_entries, mips_elf_count_global_tls_relocs) - (mips_elf_output_dynamic_relocation, mips_elf_initialize_tls_slots) - (mips_tls_got_index): New functions. - (mips_elf_local_got_index): Add new R_SYMNDX, H, and R_TYPE - arguments. Pass them to mips_elf_create_local_got_entry. Use - mips_tls_got_index. - (mips_elf_global_got_index): Add new R_TYPE and INFO arguments. - Handle TLS entries. - (mips_elf_got_page, mips_elf_got16_entry): Update calls to - mips_elf_create_local_got_entry. - (mips_elf_create_local_got_entry): Add new R_SYMNDX, H, and R_TYPE - arguments. Handle TLS entries. - (mips_elf_sort_hash_table_f): Add non-TLS assertions. - (mips_elf_record_local_got_symbol): Add new TLS_FLAG argument. Handle - TLS entries. - (mips_elf_record_global_got_symbol): Likewise. - (mips_elf_make_got_per_bfd): Initialize new mips_got_info members. - Count TLS entries. - (mips_elf_merge_gots): Handle TLS entries when merging. - (mips_elf_initialize_tls_index): New function. - (mips_elf_set_global_got_offset): Handle TLS entries. - (mips_elf_adjust_gp): Handle TLS. - (mips_elf_multi_got): Remove redundant call to - mips_elf_resolve_final_got_entries. Initialize global_count. - Correct a comment. Initialize new TLS members of mips_got_info. - Assign TLS GOT indexes for new GOTs. - (mips_elf_create_got_section): Initialize new TLS members of - mips_got_info. - (mips_elf_calculate_relocation): Handle TLS relocs. - (_bfd_mips_elf_check_relocs): Likewise. Update calls to changed - functions. - (_bfd_mips_elf_always_size_sections): Handle TLS. - (_bfd_mips_elf_size_dynamic_sections): Likewise. - (_bfd_mips_elf_finish_dynamic_symbol): Likewise. Update calls to - changed functions. - (_bfd_mips_elf_copy_indirect_symbol): Copy tls_type. - (_bfd_mips_elf_hide_symbol): Handle TLS. - * elfn32-mips.c (elf_mips_howto_table_rel, elf_mips_howto_table_rela) - (mips_reloc_map): Add TLS relocs. - * elf32-mips.c (elf_mips_howto_table_rel, mips_reloc_map): Likewise. - * elf64-mips.c (mips_elf64_howto_table_rel) - (mips_elf64_howto_table_rela, mips_reloc_map): Likewise. - * reloc.c: Define new MIPS TLS relocations. - * libbfd.h, bfd-in2.h: Regenerated. - -2005-03-02 Jan Beulich <jbeulich@novell.com> - - * Makefile.am: Add dependency of cache.o on libiberty.h. - * cache.c: Include libiberty.h. - (bfd_open_file): Use unlink_if_ordinary instead of unlink. - -2005-03-01 Zack Weinberg <zack@codesourcery.com> - - * elf.c (bfd_section_from_shdr <default case>): Call - elf_backend_section_from_shdr hook unconditionally, and return - what it returns. - (bfd_section_from_phdr): Similarly, for elf_backend_section_from_phdr. - * elfxx-target.h (elf_backend_section_from_shdr) - (elf_backend_section_from_phdr): Default to - _bfd_elf_make_section_from_shdr and _bfd_elf_make_section_from_phdr - respectively. - -2005-03-01 Alan Modra <amodra@bigpond.net.au> - - * targets.h: Typo fix. - * bfd-in2.h: Regenerate. - - * bout.c (b_out_write_object_contents): Don't use sizeof on host - structs to size on-disk structures. - (b_out_set_section_contents): Size the external struct, not the - internal one for on-disk size. - (b_out_sizeof_headers): Likewise. - -2005-03-01 Alan Modra <amodra@bigpond.net.au> - - * elf64-ppc.c (ppc64_elf_size_stubs): Override defined dot-sym - entry points with the func descriptor as well as undefweak. - -2005-02-28 Ross Ridge <rridge@csclub.uwaterloo.ca> - - * peicode.h (pe_ILF_build_a_bfd): Do not assume that an @ will be - present when IMPORT_NAME_UNDOECRATE is used. - -2005-02-28 H.J. Lu <hongjiu.lu@intel.com> - - PR 757 - * elf-bfd.h (_bfd_elf_merge_symbol): Add a pointer to unsigned - int. - - * elf32-sh-symbian.c (sh_symbian_relocate_section): Pass NULL - to _bfd_elf_merge_symbol. - - * elflink.c (_bfd_elf_merge_symbol): Use the pointer to - unsigned int to return the alignment of the old common symbol - in the dynamic object. - (_bfd_elf_add_default_symbol): Pass NULL to - _bfd_elf_merge_symbol. - (elf_link_add_object_symbols): Pass &old_alignment to - _bfd_elf_merge_symbol. Get the alignment of the new common - symbol in the dynamic object. - -2005-02-24 Ben Elliston <bje@au.ibm.com> - - * coffcode.h (coff_sym_filepos): Remove GNU960 conditional code. - * format.c (bfd_check_format_matches): Likewise. - * archive.c (BFD_GNU960_ARMAG): Likewise. - (bfd_generic_archive_p): Likewise. - (_bfd_write_archive_contents): Likewise. - -2005-02-24 H.J. Lu <hongjiu.lu@intel.com> - - * configure.in: (AM_INIT_AUTOMAKE): Set version to 2.15.95. - * configure: Regenerate. - -2005-02-24 Julian Brown <julian@sirius.codesourcery.com> - - * elflink.c (elf_link_add_object_symbols): Force symbols in discarded - COMDAT group sections to have default visibility. - -2005-02-24 Alan Modra <amodra@bigpond.net.au> - - * coffcode.h (coff_print_aux): Warning fix. - * elf-m10300.c (mn10300_elf_relax_section): Use section->id - instead of section pointer to identify. - * coff-h8300.c (h8300_reloc16_extra_cases): Likewise. Allocate - the correct size buffer for local sym mangling too. - (h8300_bfd_link_add_symbols): Likewise. - * elf32-sh-symbian.c (sh_symbian_process_embedded_commands): Fix - warning. - * elf32-sh64.c (shmedia_prepare_reloc): Use %B and %p in error message - * elf32-xtensa.c (literal_value_hash): Warning fix. - * versados.c (process_otr): Warning fix. - (versados_canonicalize_reloc): Likewise. - * vms-gsd.c (_bfd_vms_slurp_gsd): Warning fix. - * vms.c (fill_section_ptr): Warning fix. - -2005-02-23 H.J. Lu <hongjiu.lu@intel.com> - - * coff-tic54x.c (SWAP_OUT_RELOC_EXTRA): Defined. - * coff-tic80.c (SWAP_OUT_RELOC_EXTRA): Likewise. - -2005-02-23 Nick Clifton <nickc@redhat.com> - - * elfxx-mips.c (mips_elf_create_dynamic_relocation): Initialise - the relvaddr field of the Elf32_crinfo structure. - - * elf32-m68hc1x.c (elf32_m68hc11_relocate_section): Initialise - variables that are passed by reference to - m68hc11_get_relocation_value in case that function does not - initialise them. - - * elf32-cr16c.c (cr16c_elf_final_link_relocate): Remove duplicated - return statements and replace with a single return at the end of - the function. This helps pacify the flow analysis code in gcc 4.0. - - * elf.c (_bfd_elf_compute_section_file_positions): Initialise - strtab to avoid compile time warning. - -2005-02-23 Ben Elliston <bje@au.ibm.com> - - * opncls.c (bfd_zalloc): Document this function. - -2005-02-21 H.J. Lu <hongjiu.lu@intel.com> - - * coffcode.h (sec_to_styp_flags): Replaced SEC_CLINK with - SEC_TIC54X_CLINK. Replace SEC_BLOCK with SEC_TIC54X_BLOCK. - Replace SEC_SHARED with SEC_COFF_SHARED. - (styp_to_sec_flags): Likewise. - - * elfxx-target.h (TARGET_BIG_SYM): Remove SEC_ARCH_BIT_0. - (TARGET_LITTLE_SYM): Likewise. - - * section.c (SEC_ARCH_BIT_0): Removed. - (SEC_LINK_DUPLICATES_SAME_CONTENTS): Defined with - SEC_LINK_DUPLICATES_ONE_ONLY and SEC_LINK_DUPLICATES_SAME_SIZE. - (SEC_SHARED): Renamed to ... - (SEC_COFF_SHARED): This. - (SEC_BLOCK): Renamed to ... - (SEC_TIC54X_BLOCK): This. - (SEC_CLINK): Renamed to ... - (SEC_TIC54X_CLINK): This. - (SEC_XXX): Rearranged. Move SEC_COFF_SHARED_LIBRARY, - SEC_COFF_SHARED, SEC_TIC54X_BLOCK and SEC_TIC54X_CLINK to the - end. - * bfd-in2.h: Regenerated. - -2005-02-21 Fred Fish <fnf@specifixinc.com> - - * dwarf2.c (find_abstract_instance_name): Call recursively - to handle a DW_AT_specification. - -2005-02-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> - - * elfxx-mips.c (ecoff_swap_rpdr_out, mips_elf_output_extsym, - mips_elf_create_dynamic_relocation, - _bfd_mips_elf_size_dynamic_sections, _bfd_mips_elf_final_link): - Remove #if 0'd code. - -2005-02-21 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am: Run "make dep-am" - * Makefile.in: Regenerate. - -2005-02-21 Alan Modra <amodra@bigpond.net.au> - - * coffgen.c (bfd_coff_get_comdat_section): Check that - coff_section_data isn't NULL. - -2005-02-21 Alan Modra <amodra@bigpond.net.au> - - * bfd-in.h (bfd_elf_bfd_from_remote_memory): Warning fix. - * coff-m68k.c (bfd_m68k_coff_create_embedded_relocs): Likewise. - * coff-rs6000.c (xcoff_write_armap_big): Warning fixes. Remove - useless assignments. - (xcoff_write_archive_contents_big): Likewise. - (_bfd_xcoff_put_ldsymbol_name): Likewise. - * coff64-rs6000.c (_bfd_xcoff64_put_ldsymbol_name): Likewise. - * coffgen.c (coff_write_symbols): Make "written" a bfd_vma. - * cofflink.c (process_embedded_commands): Warning fixes. - * cpu-arm.c: Delete unnecessary prototypes. Convert to C90. - Warning fixes. - * dwarf2.c: Warning fixes. - * elf-bfd.h: Likewise. - * elf-eh-frame.c: Likewise. - * elf-strtab.c: Likewise. - * elf.c: Likewise. - * elf32-m68k.c: Likewise. - * elf32-ppc.c: Likewise. - * elf32-sh-symbian.c: Likewise. - * elf32-sh.c: Delete unnecessary prototypes. Warning fixes. - * elf64-sh64.c: Likewise. - * peicode.h: Likewise. - * elf64-mmix.c: Warning fixes. - * elfcode.h: Likewise. - * elfxx-mips.c: Likewise. - * libbfd-in.h: Likewise. - * libbfd.c: Likewise. - * mach-o.c: Likewise. - * merge.c: Likewise. - * mmo.c: Likewise. - * opncls.c: Likewise. - * pef.c: Likewise. - * srec.c: Likewise. - * vms-hdr.c: Likewise. - * vms-tir.c: Likewise. - * xtensa-isa.c: Likewise. - * xtensa-modules.c: Likewise. - * xsym.c: Likewise. - (pstrcmp): Use correct choice of string lengths. Fix return value. - (bfd_sym_module_name): Correct string length. - * bfd-in2.h: Regenerate. - * libbfd.h: Regenerate. - -2005-02-17 Alexandre Oliva <aoliva@redhat.com> - - * elf32-frv.c (elf32_frv_relocate_section): Remove warning from - uninitialized check_segment[1] in TLSMOFF case. - Reported by Alan Modra. - (elf32_frv_relocate_section): Improve errors and warnings. - -2005-02-17 Alan Modra <amodra@bigpond.net.au> - - * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Fix warning. - -2005-02-16 Alan Modra <amodra@bigpond.net.au> - - * coff-arm.c (coff_arm_is_local_label_name): Warning fix. - * elf32-frv.c (frvfdpic_relocs_info_hash): Likewise. - * pef.c (bfd_pef_scan): Don't ignore return value of - bfd_pef_scan_start_address. - * mach-o.c (bfd_mach_o_scan): Don't ignore return value of - bfd_mach_o_scan_start_address. - * elfxx-ia64.c (elfNN_ia64_relax_brl): Rewrite for 32-bit bfd_vma. - * elfxx-mips.c: Remove unnecessary prototypes. - (sort_dynamic_relocs_64): Abort if not BFD64. - -2005-02-16 Alan Modra <amodra@bigpond.net.au> - - * elf64-ppc.c (ppc64_elf_edit_toc): Skip toc if size is zero. - Skip toc reloc adjust if reloc_count is zero. - -2005-02-15 Nigel Stephens <nigel@mips.com> - Maciej W. Rozycki <macro@mips.com> - - * elf32-mips.c (elf_mips16_howto_table_rel): New array for MIPS16 - reloc howtos. Add R_MIPS16_HI16 and R_MIPS16_LO16 relocs and - R_MIPS16_GOT16 and R_MIPS16_CALL16 placeholders. - (elf_mips16_jump_howto): Move into elf_mips16_howto_table_rel. - (elf_mips16_gprel_howto): Likewise. Redefine src_mask and - dst_mask. - (mips16_gprel_reloc): Remove bit shuffling; call - _bfd_mips16_elf_reloc_unshuffle(), _bfd_mips_elf_gprel16_with_gp() - and _bfd_mips16_elf_reloc_shuffle() instead. - (mips16_reloc_map): New reloc map for MIPS16 relocs. - (bfd_elf32_bfd_reloc_type_lookup): Use mips16_reloc_map for MIPS16 - relocs. - (mips_elf32_rtype_to_howto): Fetch MIPS16 howtos from - elf_mips16_howto_table_rel. - * elf64-mips.c (mips16_elf64_howto_table_rel): New array for - MIPS16 REL reloc howtos. Add R_MIPS16_HI16 and R_MIPS16_LO16 - relocs and R_MIPS16_GOT16 and R_MIPS16_CALL16 placeholders. - (elf_mips16_jump_howto): Move into mips16_elf64_howto_table_rel. - (elf_mips16_gprel_howto): Likewise. Redefine src_mask and - dst_mask. - (mips16_elf64_howto_table_rela): New array for MIPS16 RELA - reloc howtos. Add R_MIPS16_26, R_MIPS16_GPREL, R_MIPS16_HI16 and - R_MIPS16_LO16 relocs and R_MIPS16_GOT16 and R_MIPS16_CALL16 - placeholders. - (mips16_gprel_reloc): Remove bit shuffling; call - _bfd_mips16_elf_reloc_unshuffle(), _bfd_mips_elf_gprel16_with_gp() - and _bfd_mips16_elf_reloc_shuffle() instead. - (mips16_reloc_map): New reloc map for MIPS16 relocs. - (bfd_elf64_bfd_reloc_type_lookup): Use mips16_reloc_map for MIPS16 - relocs. - (mips_elf64_rtype_to_howto): Fetch MIPS16 howtos from - mips16_elf64_howto_table_rela or mips16_elf64_howto_table_rel. - * elfn32-mips.c (elf_mips16_howto_table_rel): New array for MIPS16 - REL reloc howtos. Add R_MIPS16_HI16 and R_MIPS16_LO16 relocs and - R_MIPS16_GOT16 and R_MIPS16_CALL16 placeholders. - (elf_mips16_jump_howto): Move into elf_mips16_howto_table_rel. - (elf_mips16_gprel_howto): Likewise. Redefine src_mask and - dst_mask. - (mips16_gprel_reloc): Remove bit shuffling; call - _bfd_mips16_elf_reloc_unshuffle(), _bfd_mips_elf_gprel16_with_gp() - and _bfd_mips16_elf_reloc_shuffle() instead. - (mips16_reloc_map): New reloc map for MIPS16 relocs. - (bfd_elf32_bfd_reloc_type_lookup): Use mips16_reloc_map for MIPS16 - relocs. - (mips_elf_n32_rtype_to_howto): Fetch MIPS16 howtos from - elf_mips16_howto_table_rela or elf_mips16_howto_table_rel. - * elfxx-mips.c (_bfd_mips16_elf_reloc_unshuffle): New function to - handle bit shuffling for MIPS16 relocs. - (_bfd_mips16_elf_reloc_shuffle): Likewise. - (_bfd_mips_elf_lo16_reloc): Use _bfd_mips16_elf_reloc_unshuffle() - and _bfd_mips16_elf_reloc_shuffle(). - (_bfd_mips_elf_generic_reloc): Likewise. - (mips_elf_calculate_relocation): Likewise. Handle R_MIPS16_HI16 - and R_MIPS16_LO16. - (mips_elf_obtain_contents): Remove bit shuffling. - (mips_elf_perform_relocation): Likewise; call - _bfd_mips16_elf_reloc_unshuffle() and _bfd_mips16_elf_reloc_shuffle() - instead. - (_bfd_mips_elf_relocate_section): Likewise. Handle R_MIPS16_HI16 - and R_MIPS16_LO16. - * elfxx-mips.h (_bfd_mips16_elf_reloc_unshuffle): Declare. - (_bfd_mips16_elf_reloc_shuffle): Likewise. - * reloc.c (BFD_RELOC_MIPS16_HI16): New reloc. - (BFD_RELOC_MIPS16_HI16_S): Likewise. - (BFD_RELOC_MIPS16_LO16): Likewise. - * bfd-in2.h: Regenerate. - * libbfd.h: Regenerate. - -2005-02-15 Jan Beulich <jbeulich@novell.com> - - * elfxx-ia64.c (ia64_howto_table): Correct strings for - R_IA64_DTPMOD64[LM]SB. - -2005-02-14 H.J. Lu <hongjiu.lu@intel.com> - - * elfxx-ia64.c (elfNN_ia64_relax_section): Allow relax - backward branch in the same section. - (elfNN_ia64_relocate_section): Inform users that the input - section is too big to relax br instruction when overflow - happens to R_IA64_PCREL21B, R_IA64_PCREL21BI, R_IA64_PCREL21M - and R_IA64_PCREL21F. - -2005-02-14 Orjan Friberg <orjanf@axis.com> - - * elfcore.h (elf_core_file_p): Move the call to - elf_backend_object_p to allow the correct machine to be set before - processing the program headers. - -2005-02-14 Nick Clifton <nickc@redhat.com> - - PR binutils/716 - * peicode.h (pe_bfd_copy_private_bfd_data): Copy the large address - aware flag from the input bfd to the output bfd. - -2005-02-11 Maciej W. Rozycki <macro@mips.com> - - * elf32-mips.c (_bfd_mips_elf32_gprel16_reloc): Reject - R_MIPS_LITERAL relocations for external symbols. - * elf64-mips.c (mips_elf64_literal_reloc): Likewise. - * elfn32-mips.c (mips_elf_literal_reloc): Likewise. - -2005-02-11 H.J. Lu <hongjiu.lu@intel.com> - - * bfd-in2.h: Rebuilt. - -2005-02-11 Paul Brook <paul@codesourcery.com> - - * elf-bfd.h (struct elf_link_hash_table): Add - is_relocatable_executable. - * elf.c (_bfd_elf_link_hash_table_init): Initialize it. - * elflink.c (bfd_elf_link_record_dynamic_symbol): Create local dynamic - symbols in relocatable executables. - (bfd_elf_record_link_assignment): Create dynamic section symbols in - relocatable executables. - (_bfd_elf_link_renumber_dynsyms): Ditto. - (bfd_elf_final_link): Ditto. - * elf32-arm.c (elf32_arm_final_link_relocate): Copy absolute - relocations into relocatable executables. - (elf32_arm_check_relocs): Crate dynamic sections for relocatable - executables. Also copy absolute relocations. - (elf32_arm_adjust_dynamic_symbol): Don't create copy relocations - in relocatable executables. - (allocate_dynrelocs): Copy relocations for relocatable executables. - Output dynamic symbols for symbols defined in linker scripts. - -2005-02-11 Nick Clifton <nickc@redhat.com> - - * libbfd.c (read_signed_leb128): Use an unsigned type for 'shift' - to avoid a compile time warning. - - * coff-alpha.c (alpha_adjust_reloc_in): Remove redundant test from - BFD_ASSERT. - - * coff-tic4x.c (coff_rtype_to_howto): Move definition before - inclusion of coffcode.h so that it is actually picked up. - - * coffcode.h (coff_std_swap_table): Add an unused attribute in - case it is not used. - - * elf32-ip2k.c (ip2k_call_opcode, IS_CALL_OPCODE): Remove unused - structure and macro. - - * elf32-iq2000.c (iq2000_reloc_map): Remove unused structure and - array. - - * elf32-m32r.c (m32r_reloc_map_old): Use #ifdef USE_M32R_OLD_RELOC - to protect the declaration of this array. - - * xsym.c (bfd_sym_parse_contained_variables_table_entry_v32): - Avoid call to memcpy with a size of 0. - -2005-02-12 Alan Modra <amodra@bigpond.net.au> - - * elf64-ppc.c (toc_adjusting_stub_needed): Return true for - old-style branches to undefined dot-symbols which will be - satisfied by a plt call. - -2005-02-11 Alan Modra <amodra@bigpond.net.au> - - * elf64-ppc.c (move_plt_plist): New function, extracted from.. - (ppc64_elf_copy_indirect_symbol): ..here. - (func_desc_adjust): Use move_plt_plist. - -2005-02-10 Paul Brook <paul@codesourcery.com> - - * elf32-arm.c (elf32_arm_final_link_relocate): Handle R_ARM_THM_PC9. - -2005-02-10 Paul Brook <paul@codesourcery.com> - - * elflink.c (bfd_elf_record_link_assignment): Make hidden and internal - symbols local. - (elf_link_renumber_hash_table_dynsyms): Ignore local symbols. - (elf_link_renumber_local_hash_table_dynsyms): New function. - (_bfd_elf_link_renumber_dynsyms): Number local dynamic symbols. - -2005-02-10 Jakub Jelinek <jakub@redhat.com> - - * bfd-in.h (BFD_LINKER_CREATED): Define. - * bfd-in2.h: Rebuilt. - * elflink.c (bfd_elf_size_dynamic_sections): Disregard - BFD_LINKER_CREATED bfds when determining input bfds without - .note.GNU-stack section. - -2005-02-10 Maciej W. Rozycki <macro@mips.com> - - * elf64-mips.c (mips16_gprel_reloc): Update a comment. - * elfn32-mips.c (mips16_gprel_reloc): Keep R_MIPS16_GPREL - relocations against external symbols unchanged. - -2005-02-08 Paul Brook <paul@codesourcery.com> - - * elflink.c (elf_link_input_bfd): Ignore symbols from null input - sections. - -2005-02-08 Hans-Peter Nilsson <hp@axis.com> - - * elflink.c (elf_link_add_object_symbols): Don't add "warning: " - prefix here. - -2005-02-07 Maciej W. Rozycki <macro@mips.com> - - * elf64-mips.c: Fix formatting throughout. - -2005-02-07 Maciej W. Rozycki <macro@mips.com> - - * elfn32-mips.c (elf_mips_howto_table_rela): Fix a comment typo. - -2005-02-07 Alexandre Oliva <aoliva@redhat.com> - - * elf32-frv.c (FRVFDPIC_SYM_LOCAL): Remove special handling for - *ABS*/*UND* sections. - (elf32_frv_relocate_section): Move zero-addend-required error... - (_frv_emit_got_relocs_plt_entries): ... here. Report error for - missing needed TLS section. - -2005-02-07 Hans-Peter Nilsson <hp@axis.com> - - * aoutx.h (NAME(aout,find_nearest_line)): Correct case for N_SO - being the last symbol. - (aout_link_add_symbols): Just return TRUE if a warning - symbol was last. - -2005-02-07 Maciej W. Rozycki <macro@mips.com> - - * elf32-mips.c (mips_elf_gprel32_reloc): Reject - R_MIPS_GPREL32 relocations against external symbols. - * elf64-mips.c (mips_elf64_gprel32_reloc): Replace an incorrect - comment. - -2005-02-07 Alan Modra <amodra@bigpond.net.au> - - * elf-bfd.h (elf_string_from_elf_strtab): Delete macro. - * elf.c (bfd_elf_string_from_elf_section): Expand occurrence of - elf_string_from_elf_strtab. - (_bfd_elf_setup_group_pointers, bfd_section_from_shdr): Likewise. - (bfd_section_from_shdr): For SHT_SYMTAB, load SHT_SYMTAB_SHNDX too - if it exists. Don't do the reverse for SHT_SYMTAB_SHNDX. For - SHT_STRTAB, check whether the strtab is for symtab or dynsymtab by - looking at cached symtab info first, before iterating over headers. - For SHT_REL and SHT_RELA, load dynsymtab if needed. - * elfcode.h (elf_object_p): Don't load section header stringtab - specially. - -2005-02-06 H.J. Lu <hongjiu.lu@intel.com> - - * elf32-i386.c (elf_i386_relocate_section): Disallow R_386_GOTOFF - against protected function when building shared library. - - PR 584 - * elf64-x86-64.c (is_32bit_relative_branch): New. - (elf64_x86_64_relocate_section): Alllow R_X86_64_PC32 on a - protected function symbol when building shared library for - 32bit relative branch instruction. - -2005-02-06 Alan Modra <amodra@bigpond.net.au> - - * elf64-ppc.c (add_symbol_adjust): Don't create fake descriptor - syms when doing a relocatable link. - (ppc64_elf_gc_mark_hook): Check that syms are defined before looking - at u.def.section. - (ppc64_elf_tls_setup): Likewise. - (ppc64_elf_edit_opd): Don't use an undefined func desc sym. - -2005-02-04 Alan Modra <amodra@bigpond.net.au> - - * elf64-ppc.c (struct ppc_link_hash_entry): Add "fake". - (link_hash_newfunc): Clear all locals using memset. - (make_fdh): Remove flags param. Always create fake func desc - weak. Link the descriptor with the code entry sym. - (ppc64_elf_archive_symbol_lookup): Don't return fake syms. - (add_symbol_adjust): Adjust make_fdh call. - (func_desc_adjust): Likewise. Twiddle any pre-existing fake - descriptor to strong undefined if code entry is strong. - -2005-02-04 Alan Modra <amodra@bigpond.net.au> - - * elflink.c (bfd_elf_record_link_assignment): Do "provide" symbol - lookup here. Set to new before calling bfd_link_repair_undef_list. - (elf_smash_syms): Check that u.undef.weak isn't the not_needed bfd. - -2005-02-03 Alan Modra <amodra@bigpond.net.au> - - * linker.c (_bfd_link_hash_newfunc): Set all local fields. - -2005-02-03 Alan Modra <amodra@bigpond.net.au> - - * linker.c (_bfd_generic_link_add_one_symbol): Set u.undef.weak. - * elflink.c (elf_smash_syms): Restore symbols that were undefweak - before the as-needed lib was loaded. Abort on unexpected refs. - -2005-02-02 Alan Modra <amodra@bigpond.net.au> - - * elflink.c (elf_smash_syms): Expand comments. - (elf_link_add_object_symbols): Only call elf_smash_syms for - as-needed dynamic objects. - - * elfxx-ia64.c (elfNN_ia64_new_elf_hash_entry): Don't clear - everything, just the field specific to ia64. - * elf64-hppa.c (elf64_hppa_new_dyn_hash_entry): Likewise. - -2005-02-01 Alan Modra <amodra@bigpond.net.au> - - * elf64-ppc.c (func_desc_adjust): Move code creating func desc sym to.. - (make_fdh): ..here. New function. Don't set BSF_OBJECT for - undefined syms. - (struct add_symbol_adjust_data): New. - (add_symbol_adjust): Make an undefweak func desc for old ABI - objects to link with --as-needed shared libs. Return fail status. - Don't adjust old ABI func entry sym to weak if func desc syms - isn't defined. - (ppc64_elf_check_directives): Adjust call to add_symbol_adjust, - and return status. - -2005-02-01 Hans-Peter Nilsson <hp@axis.com> - - * cpu-cris.c (get_compatible): Rearrange disabled code and comment - for clarity. - -2005-02-01 Alan Modra <amodra@bigpond.net.au> - - * elf64-ppc.c (ppc64_elf_check_directives): Move undefs list fixup.. - * linker.c (bfd_link_repair_undef_list): ..to new function, but don't - remove anything but new and undefweak. - * elflink.c (_bfd_elf_link_create_dynamic_sections): Override any - existing _DYNAMIC. - (_bfd_elf_create_dynamic_sections): Formatting. - (bfd_elf_record_link_assignment): Call bfd_link_repair_undef_list. - (_bfd_elf_merge_symbol): Don't handle as-needed syms here. - (struct elf_smash_data): New. - (elf_smash_syms): New function. - (elf_link_add_object_symbols): Call elf_smash_syms. Don't add - unneeded dynamic objects to loaded list. - (elf_link_output_extsym): Don't handle as-needed here. Strip - bfd_link_hash_new symbols. - * elf32-cris.c (elf_cris_discard_excess_program_dynamics): Don't - delref when dynindx is already -1. - * elf64-alpha.c (elf64_alpha_output_extsym): Strip bfd_link_hash_new - symbols. - * elfxx-mips.c (mips_elf_output_extsym): Likewise. - -2005-02-01 Ben Elliston <bje@au.ibm.com> - - * elfxx-target.h (bfd_elfNN_bfd_discard_group): Redefine. - -2005-02-01 Ben Elliston <bje@au.ibm.com> - - * aout-arm.c, aout-target.h, aoutx.h, archive.c, armnetbsd.c, - bfd-in.h, bfdio.c, coff-alpha.c, coff-arm.c, coff-h8300.c, - coff-i860.c, coff-mcore.c, coff-or32.c, coff-ppc.c, coff-sh.c, - coff-sparc.c, coffcode.h, coffgen.c, cofflink.c, cpu-cris.c, - cpu-h8500.c, cpu-ns32k.c, ecoff.c, ecofflink.c, elf.c, - elf32-dlx.c, elf32-fr30.c, elf32-frv.c, elf32-hppa.c, - elf32-i860.c, elf32-ip2k.c, elf32-m32r.c, elf32-sh.c, - elf32-v850.c, elf64-mips.c, elf64-sparc.c, elflink.c, - i386aout.c, i386msdos.c, i386os9k.c, ieee.c, mach-o.c, - nlm32-sparc.c, oasys.c, opncls.c, pdp11.c, pe-mips.c, peXXigen.c, - pef.c, peicode.h, reloc.c, riscix.c, section.c, simple.c, som.c, - sparclynx.c, targets.c, vms-misc.c, vms-tir.c, xsym.c, - hosts/delta68.h, hosts/vaxbsd.h: Remove #if 0'd code - throughout. Similarly, collapse #if 1'd code. - -2005-02-01 Ben Elliston <bje@au.ibm.com> - - * elf-bfd.h (bfd_elf_discard_group): Remove. - * elf.c (bfd_elf_discard_group): Likewise. - * elfxx-target.h (bfd_elfNN_bfd_discard_group): Remove macro. - -2005-01-31 Richard Sandiford <rsandifo@redhat.com> - - * elf-bfd.h (elf_backend_data): Add elf_backend_eh_frame_address_size. - (_bfd_elf_eh_frame_address_size): Declare. - * elfxx-target.h (elf_backend_eh_frame_address_size): Define a default. - (elfNN_bed): Initialize elf_backend_eh_frame_address_size. - * elfxx-mips.h (_bfd_mips_elf_eh_frame_address_size): Declare. - (elf_backend_eh_frame_address_size): Define. - * elfxx-mips.c (_bfd_mips_elf_eh_frame_address_size): New function. - * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Get the address - size from the new backend hook. - (_bfd_elf_write_section_eh_frame): Likewise. - (_bfd_elf_eh_frame_address_size): New function. - -2005-01-31 Andrew Cagney <cagney@gnu.org> - - * configure: Regenerate to track ../gettext.m4. - -2005-01-31 Mark Mitchell <mark@codesourcery.com> - - * elf32-arm.c (elf32_arm_symbian_special_sections): Do not set - SHF_WRITE for .init_array, .fini_array, and .preinit_array. - -2005-01-31 Nick Clifton <nickc@redhat.com> - - * confg.bfd: Make targets scheduled for obsoletion (m68k-lynxos, - sparc-lynxos, vax-vms) be obsolete. - -2005-01-28 Daniel Jacobowitz <dan@codesourcery.com> - - * elf-bfd.h (struct elf_backend_data): Add minpagesize. - * elf32-arm.c (ELF_MINPAGESIZE): Define. - * elf32-ppc.c (ELF_MINPAGESIZE): Define. - * elfcode.h (elf_object_p): Use minpagesize instead of - maxpagesize. - * elfxx-target.h (ELF_MINPAGESIZE): Default to ELF_MAXPAGESIZE. - (elfNN_bed): Include ELF_MINPAGESIZE. - -2005-01-28 Julian Brown <julian@codesourcery.com> - - * bin-in.h (bfd_elf32_arm_set_target_relocs): Update prototype. - * bin-in2.h (bfd_elf32_arm_set_target_relocs): Update prototype. - * elf32-arm.c (elf32_arm_link_hash_table): Add fix_v4bx flag. - (bfd_elf32_arm_set_target_relocs): Add formal parameter fix_v4bx for - passing flag value from ld. Set flag value in global hash table entry. - (elf32_arm_final_link_relocate): Add code to implement R_ARM_V4BX - relocation. - -2005-01-27 Andrew Cagney <cagney@gnu.org> - - * configure: Regenerate to track ../gettext.m4 change. - -2005-01-25 Mark Mitchell <mark@codesourcery.com> - - * elf32-arm.c (elf_backend_default_use_rela_p): Define to zero for - SymbianOS. - -2005-01-25 Alexandre Oliva <aoliva@redhat.com> - - 2004-12-10 Alexandre Oliva <aoliva@redhat.com> - * elf32-frv.c (elf32_frv_relocate_section): Force local binding - for TLSMOFF. - * reloc.c: Add R_FRV_TLSMOFF. - * elf32-frv.c (elf32_frv_howto_table): Likewise. - (frv_reloc_map, frv_reloc_type_lookup): Map it. - (elf32_frv_relocate_section): Handle it. - (elf32_frv_check_relocs): Likewise. - * libbfd.h, bfd-in2.h: Rebuilt. - 2004-11-26 Alexandre Oliva <aoliva@redhat.com> - * elf32-frv.c (_frvfdpic_emit_got_relocs_plt_entries): Don't crash - when given an undefweak TLS symbol. Fix constant TLS PLT entries - such that they return the constant in gr9. - (_frvfdpic_relax_tls_entries): Don't crash for undefweak TLS - symbols. - (_frvfdpic_size_got_plt): Set _cooked_size of dynamic sections. - too, such that they shrink on relaxation. - (elf32_frvfdpic_finish_dynamic_sections): Check __ROFIXUP_END__ as - marking the position right past the _GLOBAL_OFFSET_TABLE_ value. - (_frvfdpic_assign_plt_entries): Shrink constant TLS PLT entries - if we can guarantee the use of 16-bit constants. - 2004-11-10 Alexandre Oliva <aoliva@redhat.com> - Introduce TLS support for FR-V FDPIC. - * reloc.c: Add TLS relocations. - * elf32-frv.c (elf32_frv_howto_table): Add TLS relocations. - (elf32_frv_rel_tlsdesc_value_howto): New. - (elf32_frv_rel_tlsoff_howto): New. - (frv_reloc_map): Add new mappings. - (struct frvfdpic_elf_link_hash_table): Add pointer to summary - reloc information. - (frvfdpic_dynamic_got_plt_info): New. - (frvfdpic_plt_tls_ret_offset): New. - (ELF_DYNAMIC_INTERPRETER, DEFAULT_STACK_SIZE): Move earlier. - (struct _frvfdpic_dynamic_got_info): Likewise. Add TLS members. - (struct _frvfdpic_dynamic_got_plt_info): Likewise. - (FRVFDPIC_SYM_LOCAL): Regard symbols defined in the absolute - section as local. - (struct frvfdpic_relocs_info): Add TLS fields. - (frvfdpic_relocs_info_hash): Warning clean up. - (frvfdpic_relocs_info_find): Initialize tlsplt_entry. - (frvfdpic_pic_merge_early_relocs_info): Merge TLS fields. - (FRVFDPIC_TLS_BIAS): Define. - (tls_biased_base): New. - (_frvfdpic_emit_got_relocs_plt_entries): Deal with TLS - relocations. - (frv_reloc_type_lookup): Likewise. - (frvfdpic_info_to_howto_rel): Likewise. - (elf32_frv_relocate_section): Likewise. - (_frv_create_got_section): Create the PLT section here. - (elf32_frvfdpic_create_dynamic_sections): Not here. - (_frvfdpic_count_nontls_entries): Move out of... - (_frvfdpic_count_got_plt_entries): ... here. - (_frvfdpic_count_tls_entries): Likewise. Add TLS support. - (_frvfdpic_count_relocs_fixups): Likewise. Add relaxation - support. - (_frvfdpic_relax_tls_entries): New. - (_frvfdpic_compute_got_alloc_data): Add TLS support. - (_frvfdpic_get_tlsdesc_entry): New. - (_frvfdpic_assign_got_entries): Add TLS support. - (_frvfdpic_assign_plt_entries): Likewise. - (_frvfdpic_reset_got_plt_entries): New. - (_frvfdpic_size_got_plt): Move out of... - (elf32_frvfdpic_size_dynamic_sections): ... here. - (_frvfdpic_relax_got_plt_entries): New. - (elf32_frvfdpic_relax_section): New. - (elf32_frvfdpic_finish_dynamic_sections): Add TLS sanity check. - (elf32_frv_check_relocs): Add TLS support. - (bfd_elf32_bfd_relax_section): Define for FDPIC. - * libbfd.h, bfd-in2.h: Rebuilt. - -2005-01-25 Alan Modra <amodra@bigpond.net.au> - - * elf.c (_bfd_elf_get_dynamic_reloc_upper_bound): Only include - loadable reloc sections. - (_bfd_elf_canonicalize_dynamic_reloc): Likewise. - (_bfd_elf_get_synthetic_symtab): Return 0 if no dynamic syms. - -2005-01-25 Alan Modra <amodra@bigpond.net.au> - - * elflink.c (elf_link_add_object_symbols): Don't create link dynamic - sections immediately when linking shared libs. Instead, wait until - we know a lib is needed. - (_bfd_elf_link_create_dynstrtab): Extract from.. - (_bfd_elf_link_create_dynamic_sections_): ..here. - (elf_add_dt_needed_tag): Call _bfd_elf_link_create_dynstrtab and - _bfd_elf_link_create_dynamic_sections. Add abfd param. Allow - for non-existent .dynamic. - (elf_link_output_extsym): Don't complain about undefined symbols - in as-needed dynamic libs that aren't actually linked. - -2005-01-24 Andrew Cagney <cagney@gnu.org> - - * configure: Regenerate, ../gettext.m4 was updated. - -2005-01-21 Ben Elliston <bje@au.ibm.com> - - * aout-encap.c: Remove unused file. - -2005-01-19 H.J. Lu <hongjiu.lu@intel.com> - - PR 679 - * elflink.c (_bfd_elf_dynamic_symbol_p): Only protected - non-function symbols are local. - (_bfd_elf_symbol_refs_local_p): Likewise. - -2005-01-18 Alan Modra <amodra@bigpond.net.au> - - * bfd.c (bfd_link_just_syms): Add abfd param. - * bfd-in2.h: Regenerate. - -2005-01-17 Richard Sandiford <rsandifo@redhat.com> - - * elf-eh-frame.c (skip_cfa_op, skip_non_nops): New functions. - (_bfd_elf_discard_section_eh_frame): Use them to interpret the CFA - instructions. If the amount of padding is known, reduce the size - of the CIE or FDE by that amount. - -2005-01-17 Richard Sandiford <rsandifo@redhat.com> - - * elf-bfd.h (struct cie): Use bfd_vmas for code_align, ra_column and - augmentation_size. Use bfd_signed_vmas for data_align. - * elf-eh-frame.c (read_uleb128, read_sleb128): Delete in favor of... - (read_byte, skip_leb128, read_uleb128, read_sleb128): ...these new - functions. Don't read past the end of the enclosing CIE or FDE. - (skip_bytes): New utility function. - (_bfd_elf_discard_section_eh_frame): Use new functions, adding more - sanity checking. - (_bfd_elf_write_section_eh_frame): Use new functions. - -2005-01-17 Richard Sandiford <rsandifo@redhat.com> - - * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Use an - assert-style REQUIRE() macro to handle sanity checks. - -2005-01-17 H.J. Lu <hongjiu.lu@intel.com> - - * dwarf2.c (dwarf2_debug): Move info_ptr_unit to ... - (comp_unit): Here. - (read_unsigned_leb128): Removed. - (read_signed_leb128): Removed. - (find_abstract_instance_name): Updated. - (parse_comp_unit): Accept info_ptr_unit. - (_bfd_dwarf2_find_nearest_line): Set info_ptr_unit for each - comp unit and pass it to parse_comp_unit. - - * elf-eh-frame.c (read_unsigned_leb128): Moved to ... - (read_signed_leb128): Moved to ... - * libbfd.c: Here. - - * libbfd-in.h (read_unsigned_leb128): New prototype. - (read_signed_leb128): Likewise. - * libbfd.h: Regenerated. - -2005-01-17 Andrew Stubbs <andrew.stubbs@st.com> - Nick Clifton <nickc@redhat.com> - - * cpu-sh.c (bfd_to_arch_table): Change arch_sh1_up to arch_sh_up, - arch__sh4_nofp_up to arch_sh4_nofpu_up and arch_sh4a_nofp_up to - arch_sh4a_nofpu_up in order to match the external names and make the - testsuite's job easier. - * archuires.c: Rename bfd_mach_sh2a_fake? to more meaningful - names. - * bfd-in2.h: Regenerate. - -2005-01-15 Andrew Cagney <cagney@gnu.org> - - * bfd.m4: New file. - * acinclude.m4: Move BFD_NEED_DECLARATION, - BFD_HAVE_SYS_PROCFS_TYPE and BFD_HAVE_SYS_PROCFS_TYPE_MEMBER to - the new file bfd.m4. Include ../bfd/bfd.m4. - * configure: Re-generate. - -2005-01-12 Alan Modra <amodra@bigpond.net.au> - - * elf32-ppc.c (ppc_elf_howto_raw): Delete RELAX32* entries. - (ppc_elf_relax_section): Use PLT variants of RELAX32 relocs for - reaching PLT. - (ppc_elf_relocate_section): Handle R_PPC_RELAX32_PLT and - R_PPC_RELAX32PC_PLT. - -2005-01-11 Alan Modra <amodra@bigpond.net.au> - - * elf64-ppc.c (ppc64_elf_gc_sweep_hook): Follow indirect and warning - symbols. - * elf32-arm.c (elf32_arm_gc_sweep_hook): Likewise. - * elf32-cris.c (cris_elf_gc_sweep_hook): Likewise. - * elf32-hppa.c (elf32_hppa_gc_sweep_hook): Likewise. - * elf32-i386.c (elf_i386_gc_sweep_hook): Likewise. - * elf32-m32r.c (m32r_elf_gc_sweep_hook): Likewise. - * elf32-m68k.c (elf_m68k_gc_sweep_hook): Likewise. - * elf32-ppc.c (ppc_elf_gc_sweep_hook): Likewise. - * elf32-s390.c (elf_s390_gc_sweep_hook): Likewise. - * elf32-sh.c (sh_elf_gc_sweep_hook): Likewise. - * elf32-sparc.c (elf32_sparc_gc_sweep_hook): Likewise. - * elf32-vax.c (elf_vax_gc_sweep_hook): Likewise. - * elf32-xtensa.c (elf_xtensa_gc_sweep_hook): Likewise. - * elf64-s390.c (elf_s390_gc_sweep_hook): Likewise. - * elf64-x86-64.c (elf64_x86_64_gc_sweep_hook): Likewise. - -2005-01-11 Alan Modra <amodra@bigpond.net.au> - - * elf32-ppc.c (ppc_elf_create_dynamic_sections): Correct - .dynsbss flags. - -2005-01-10 Inderpreet Singh <inderpreetb@noida.hcltech.com> - - * archures.c: Define bfd_mach_maxq10 and bfd_mach_maxq20. - * bfd-in2.h: Regenerate. - * coffcode.h (coff_set_arch_mach_hook, coff_set_flags): Add code - to support these new machine values. - * cpu-maxq.c (bfd_maxq10_arch): New architecture definition for - the maxq10. - (bfd_maxq_arch): Update values for the maxq20. - -2005-01-10 Eric Botcazou <ebotcazou@libertysurf.fr> - - * elf64-sparc.c (sparc64_elf_adjust_dynamic_symbol): When linking a - non-shared object, do not reserve space in .plt and .rela.plt for - regular symbols neither defined nor referenced in shared objects. - -2005-01-09 Eric Botcazou <ebotcazou@libertysurf.fr> - - * elf32-sparc.c (elf32_sparc_link_hash_table_create): Use bfd_zmalloc - to zero the structure. - (create_got_section): Use BFD_ASSERT instead of abort. - * elf64-sparc.c (struct sparc64_elf_link_hash_table): New 'sgot' and - 'srelgot' fields. - (create_got_section): New function. - (sparc64_elf_create_dynamic_sections): Likewise. - (sparc64_elf_check_relocs): Invoke create_got_section instead of - _bfd_elf_create_got_section. Use the sgot and srelgot shortcuts. - (sparc64_elf_size_dynamic_sections): Use the srelgot shortcut. - (sparc64_elf_relocate_section): Use the sgot and srelgot shortcuts. - (sparc64_elf_finish_dynamic_symbol): Likewise. - (sparc64_elf_finish_dynamic_sections): Use the sgot shortcut. - (elf_backend_create_dynamic_sections): Define to - sparc64_elf_create_dynamic_sections. - -2005-01-09 Eric Botcazou <ebotcazou@libertysurf.fr> - - * elf32-sparc.c (elf32_sparc_omit_section_dynsym): New function. - (elf_backend_omit_section_dynsym): Define to it. - * elf64-sparc.c (sparc64_elf_omit_section_dynsym): New function. - (elf_backend_omit_section_dynsym): Define to it. - -2005-01-07 Jakub Jelinek <jakub@redhat.com> - - * bfd/elf.c (INCLUDE_SECTION_IN_SEGMENT): Don't put empty sections into - PT_DYNAMIC segment, unless .dynamic. - -2005-01-06 Paul Brook <paul@codesourcery.com> - - * config.bfd: Add entry for arm-*-vxworks and arm-*-windiss. - * configure.in: Add bfd_elf32_{big,little}arm_vxworks_vec. - * configure: Regenerate. - * elf32-arm.c: Add VxWorks target bfd. - (USE_REL): Remove. - (elf32_arm_link_hash_table): Add use_rel. - (elf32_arm_link_hash_table_create, elf32_arm_final_link_relocate, - elf32_arm_relocate_section): Replace USE_REL with runtime check. - Correct offset calculation for RELA case. - (elf_backend_may_use_rel_p, elf_backend_may_use_rela_p, - elf_backend_default_use_rela_p, elf_backend_rela_normal): Define. - (elf32_arm_vxworks_link_hash_table_create): New function. - * targets.c (bfd_elf32_bigarm_vxworks_vec): Add declaration. - (bfd_elf32_littlearm_vxworks_vec): Ditto. - (_bfd_target_vector): Add bfd_elf32_{big,little}arm_vxworks_vec. - -2005-01-06 Alan Modra <amodra@bigpond.net.au> - - * elf64-ppc.c (struct ppc_link_hash_table): Add no_multi_toc and - multi_toc_needed. - (has_toc_reloc, makes_toc_func_call, call_check_in_progress): Define. - (ppc64_elf_check_relocs): Update references to has_gp_reloc. - (ppc64_elf_setup_section_lists): Add no_multi_toc parm, set htab bit. - (ppc64_elf_next_toc_section): Heed no_multi_toc. - (ppc64_elf_reinit_toc): Set multi_toc_needed. - (toc_adjusting_stub_needed): Rewrite. - (ppc64_elf_next_input_section): Use multi_toc_needed to shortcut - toc tests. Adjust for toc_adjusting_stub_needed changes. - (ppc64_elf_size_stubs): Update references to has_gp_reloc. - * elf64-ppc.h (ppc64_elf_setup_section_lists): Update prototype. - * section.c: Expand comment on backend bits. - * bfd-in2.h: Regenerate. - * libbfd.h: Regenerate. - -2005-01-06 Alan Modra <amodra@bigpond.net.au> - - * elf64-ppc.c (ppc64_elf_size_stubs): When determining need for - toc adjusting stub, do not test source section flags. - -2005-01-05 Eric Botcazou <ebotcazou@libertysurf.fr> - - * elf64-sparc.c (sparc64_elf_relocate_section): Ignore overflows - from STABS debugging sections again. - -2005-01-05 Fred Fish <fnf@specifixinc.com> - - * dwarf2.c (struct dwarf2_debug): Add info_ptr_unit member. - (find_abstract_instance_name): New function. - (scan_unit_for_functions): Handle DW_TAG_inlined_subroutine. - (scan_unit_for_functions): Handle DW_AT_abstract_origin. - (_bfd_dwarf2_find_nearest_line): Initialize info_ptr_unit. - -2004-12-31 Paul Brook <paul@copdesourcery.com> - - * elf32-arm.c (elf32_arm_symbian_plt_entry): Fix comment typo. - -2004-12-31 Alan Modra <amodra@bigpond.net.au> - - * reloc.c (BFD_RELOC_AVR_LDI, BFD_RELOC_AVR_6, BFD_RELOC_AVR_6_ADIW): - Commit missing changes from 2004-12-22. - * bfd-in2.h: Regenerate. - -2004-12-23 Tomer Levi <Tomer.Levi@nsc.com> - - * elf32-crx.c (elf32_crx_relax_section): Support 'bcop' relaxation. - -2004-12-21 Kris Warkentin <kewarken@qnx.com> - - * elf.c (elfcore_grok_nto_gregs): Change name to elfcore_grok_nto_regs. - Add 'base' argument for constructing register sections. Reformat. - (elfcore_grok_nto_note): Call elfcore_grok_nto_regs for both - gp and fp regs. Reformat. - -2004-12-22 Klaus Rudolph <lts-rudolph@gmx.de> - - * reloc.c: Add new relocs R_AVR_LDI, R_AVR_6, R_AVR_6_ADIW. - * bfd-in2.h: Regenerate. - * elf32-avr.c (elf_avr_nowto_table): Add the new relocs. - (avr_reloc_map): Likewise. - (avr_final_link_relocate): Likewise. - -2004-12-22 Alan Modra <amodra@bigpond.net.au> - - * elflink.c (_bfd_elf_merge_symbol): Treat old definitions from - as-needed dynamic libs as undefined. - (elf_link_add_object_symbols): Remove DYN_AS_NEEDED from as-needed - libs when finding they are needed. - -2004-12-20 Alan Modra <amodra@bigpond.net.au> - - * elf64-ppc.c (struct ppc64_elf_obj_tdata): Add opd_relocs. - (opd_entry_value): Use opd_relocs if available. - (ppc64_elf_relocate_section): Don't set reloc_done. Instead - copy .opd relocations to opd_relocs. - (ppc64_elf_edit_toc): Set rel_hdr.sh_size after editing relocs. - -2004-12-16 Richard Sandiford <rsandifo@redhat.com> - - * reloc.c (BFD_RELOC_V850_LO16_SPLIT_OFFSET): New bfd_reloc_code_type. - * elf32-v850.c (v850_elf_howto_table): Add entry for - R_V850_LO16_SPLIT_OFFSET. - (v850_elf_reloc_map): Map it to BFD_RELOC_V850_LO16_SPLIT_OFFSET. - (v850_elf_perform_lo16_relocation): New function, extracted from... - (v850_elf_perform_relocation): ...here. Use it to handle - R_V850_LO16_SPLIT_OFFSET. - (v850_elf_check_relocs, v850_elf_final_link_relocate): Handle - R_V850_LO16_SPLIT_OFFSET. - * libbfd.h, bfd-in2.h: Regenerate. - -2004-12-14 P.J. Darcy <darcypj@us.ibm.com> - - * config.bfd: Add s390x-ibm-tpf support. - -2004-12-14 Tomer Levi <Tomer.Levi@nsc.com> - - * elf32-crx.c (elf32_crx_relax_delete_bytes): Add 'struct bfd_link_info *' - to prototype, to make hash info available. - Prevent wrapped symbols from being adjusted twice. - -2004-12-14 Richard Sandiford <rsandifo@redhat.com> - - * elfxx-mips.c (mips_elf_calculate_relocation): Don't report an - overflow for calls to undefined weak symbols. - -2004-12-11 Alan Modra <amodra@bigpond.net.au> - - * elfcode.h (elf_slurp_symbol_table): Use bfd_elf_sym_name so that - canonical sections syms have a name. - -2004-12-11 Alan Modra <amodra@bigpond.net.au> - - * elf64-ppc.c (opd_entry_value): Don't use cached relocs if they - have been adjusted for output. - (ppc64_elf_relocate_section): Mark sections with reloc_done. - -2004-12-10 Alan Modra <amodra@bigpond.net.au> - - * elf.c (bfd_elf_sym_name): Rename from bfd_elf_local_sym_name and - add symtab_hdr param. - (group_signature): Update calls. - * elf-bfd.h (bfd_elf_sym_name): Update. - * elf32-ppc.c (ppc_elf_relocate_section): Update. - * elf64-ppc.c (ppc64_elf_edit_opd, ppc64_elf_edit_toc): Update. - (ppc64_elf_relocate_section): Update. - * elflink.c (elf_link_input_bfd): Update. - -2004-12-10 Jakub Jelinek <jakub@redhat.com> - - * elf.c (bfd_elf_local_sym_name): Avoid crashes with invalid - st_shndx on STT_SECTION sections. - -2004-12-09 Daniel Jacobowitz <dan@codesourcery.com> - - * elfcode.h (elf_slurp_reloc_table_from_section): Don't canonicalize - ELF section symbols. - -2004-12-09 Ian Lance Taylor <ian@wasabisystems.com> - - * elfxx-mips.c (mips_elf_calculate_relocation): For R_MIPS_JALR, - return a real value, unless it is a PLT symbol. - (mips_elf_perform_relocation): On the RM9000, turn a jal into a - bal if possible. - - * elfn32-mips.c (elf_mips_howto_table_rela): Change dst_mask of - R_MIPS_JALR entry to 0. - - * archures.c: Define bfd_mach_mips9000. - * elfxx-mips.c (_bfd_elf_mips_mach): Handle E_MIPS_MACH_9000. - (mips_set_isa_flags): Handle bfd_mach_mips9000. - * cpu-mips.c (I_mips9000): Define. - (arch_info_struct): Add case for bfd_mach_mips9000. - * aoutx.h (NAME(aout,machine_type)): Handle bfd_mach_mips9000. - * bfd-in2.h: Regenerate. - -2004-12-08 Ian Lance Taylor <ian@wasabisystems.com> - - * elfxx-mips.c (mips_elf_calculate_relocation): Test for R_MIPS_26 - overflow. - -2004-12-07 Ben Elliston <bje@gnu.org> - - * netbsd-core.c (netbsd_core_file_p): Make `i' unsigned. - -2004-12-06 Daniel Jacobowitz <dan@debian.org> - - Suggested by Fergal Daly <fergal@esatclear.ie>: - * simple.c (simple_dummy_multiple_definition): New function. - (bfd_simple_get_relocated_section_contents): Use it. - -2004-12-03 Jan Beulich <jbeulich@novell.com> - - * elf.c (elf_find_function): Don't use the last file symbol ever, - seen, but the last one seen prior to the symbol being reported. - Don't report a filename at all for global symbols when that might - be ambiguous/wrong. - -2004-12-01 Paul Brook <paul@codesourcery.com> - - * elf32-arm.c (elf32_arm_copy_private_bfd_data): Set EI_OSABI. - (elf32_arm_post_process_headers): Set EI_OSABI depending on ABI - version. - -2004-12-01 Paul Brook <paul@codesourcery.com> - - * elflink.c (elf_link_add_object_symbols): Make symbols from discarded - sections undefined. - -2004-11-30 Paul Brook <paul@codesourcery.com> - - * elf32-arm.c (struct elf32_arm_link_hash_table): Remove - no_pipeline_knowledge - (elf32_arm_link_hash_table_create): Ditto. - (bfd_elf32_arm_process_before_allocation): Ditto. - (elf32_arm_final_link_relocate): Ditto. Remove oabi relocation - handling. - * bfd-in.h (bfd_elf32_arm_process_before_allocation): Update - prototype. - * bfd-in2.h: Regenerate. - -2004-11-30 Randolph Chung <tausq@debian.org> - - * elf32-hppa.c (elf32_hppa_grok_prstatus): New function. - (elf32_hppa_grok_psinfo): New function. - (elf_backend_grok_prstatus): Define. - (elf_backend_grok_psinfo): Define. - -2004-11-24 H.J. Lu <hongjiu.lu@intel.com> - - PR 574: - * elfcode.h (elf_slurp_symbol_table): Handle STT_TLS. - -2004-11-24 Paul Brook <paul@codesourcery.com> - - * elf.c (assign_section_numbers): Number SHT_GROUP sections first. - -2004-11-24 Paul Brook <paul@codesourcery.com> - - * elf32-arm.c (elf32_arm_swap_symbol_in): New function. - (elf32_arm_swap_symbol_out): New function. - (elf32_arm_size_info): Add. - (elf_backend_size_info): Define. - -2004-11-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - * hpux-core.c (hpux_core_core_file_p): Use offsetof macro in calls to - make_bfd_asection. - -2004-11-19 Alan Modra <amodra@bigpond.net.au> - - * elf32-arm.c (elf32_arm_finish_dynamic_sections): Warning fix. - * elf32-iq2000.c (iq2000_reloc_type_lookup): C90 function decl. - * nlmcode.h (nlm_write_object_contents): Warning fix. - -2004-11-18 Bob Wilson <bob.wilson@acm.org> - - * elf32-xtensa.c (ebb_propose_action): Fix argument order. - -2004-11-17 Daniel Jacobowitz <dan@codesourcery.com> - - * elf32-arm.c (PLT_THUMB_STUB_SIZE): Define. - (elf32_arm_plt_thumb_stub): New. - (struct elf32_arm_link_hash_entry): Add plt_thumb_refcount - and plt_got_offset. - (elf32_arm_link_hash_traverse): Fix typo. - (elf32_arm_link_hash_table): Add obfd. - (elf32_arm_link_hash_newfunc): Initialize new fields. - (elf32_arm_copy_indirect_symbol): Copy plt_thumb_refcount. - (elf32_arm_link_hash_table_create): Initialize obfd. - (record_arm_to_thumb_glue): Mark the glue as a local ARM function. - (record_thumb_to_arm_glue): Mark the glue as a local Thumb function. - (bfd_elf32_arm_get_bfd_for_interworking): Verify that the - interworking BFD is not dynamic. - (bfd_elf32_arm_process_before_allocation): Handle R_ARM_PLT32. Do - not emit glue for PLT references. - (elf32_arm_final_link_relocate): Handle Thumb functions. Do not - emit glue for PLT references. Support the Thumb PLT prefix. - (elf32_arm_gc_sweep_hook): Handle R_ARM_THM_PC22 and - plt_thumb_refcount. - (elf32_arm_check_relocs): Likewise. - (elf32_arm_adjust_dynamic_symbol): Handle Thumb functions and - plt_thumb_refcount. - (allocate_dynrelocs): Handle Thumb PLT references. - (elf32_arm_finish_dynamic_symbol): Likewise. - (elf32_arm_symbol_processing): New function. - (elf_backend_symbol_processing): Define. - -2004-11-16 Richard Sandiford <rsandifo@redhat.com> - - * elf-bfd.h (eh_cie_fde): Add new fields: add_augmentation_size and - add_fde_encoding. Remove need_relative. - * elf-eh-frame.c (extra_augmentation_string_bytes) - (extra_augmentation_data_bytes, size_of_output_cie_fde): New functions. - (_bfd_elf_discard_section_eh_frame): Consider changing the FDE encoding - in cases where the CIE has no existing 'R' augmentation. Use - size_of_output_cie_fde when assigning offsets. Use the final offset - as the new section size. - (_bfd_elf_eh_frame_section_offset): Remove need_relative handling. - Account for any extra augmentation bytes in the returned offset. - (_bfd_elf_write_section_eh_frame): Rework so that the entries are - moved before being modified. Pad growing entries with DW_CFA_nops. - Add 'z' and 'R' augmentations as directed by add_augmentation_size - and add_fde_encoding. - -2004-11-15 Mark Mitchell <mark@codesourcery.com> - - * elf32-arm.c (elf32_arm_relocate_section): Use - arm_real_reloc_type. - -2004-11-16 Richard Sandiford <rsandifo@redhat.com> - - * elfxx-mips.c (mips_elf_create_dynamic_relocation): Return early - for discard relocations; don't add an R_MIPS_NONE to the main body - of .rel.dyn. - -2004-11-04 Paul Brook <paul@codesourcery.com> - - * elf-bfd.h (_bfd_elf_slurp_version_tables): Update prototype. - * elf.c (_bfd_elf_print_private_bfd_data): Pass extra argument. - (_bfd_elf_slurp_version_tables): Add extra argument. Create extra - default version definition for unversioned symbols. - * elfcode.h (elf_slurp_symbol_table): Pass extra argument. - * elflink.c (elf_link_add_object_symbols): Pass extra argument to - _bfd_elf_slurp_version_tables. Set default version for unversioned - imported symbols. - -2004-11-15 Paul Brook <paul@codesourcery.com> - - * elflink.c (elf_link_add_object_symbols): Don't assume version - indices are consecutive. - -2004-11-14 Richard Sandiford <rsandifo@redhat.com> - - * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Deal with - composite relocations against the personality data. - -2004-11-13 Paul Brook <paul@codesourcery.com> - - * bfd/elf32-arm.c (elf32_arm_final_link_relocate): Resolve - R_ARM_PREL31 relocations to PLT entries. - (elf32_arm_relocate_section, elf32_arm_gc_sweep_hook): Ditto. - (elf32_arm_check_relocs): Ditto. - -2004-11-12 Bob Wilson <bob.wilson@acm.org> - - * xtensa-isa.c (xtensa_interface_class_id): New. - -2004-11-11 Bob Wilson <bob.wilson@acm.org> - - * elf32-xtensa.c (property_table_compare): Remove assertion about - entries with the same address and non-zero size. - (xtensa_read_table_entries): Report such entries as errors. - -2004-11-11 Mark Mitchell <mark@codesourcery.com> - - * elf32-arm.c (elf32_arm_final_link_relocate): Correct logic for - R_ARM_RELATIVE on Symbian OS. - -2004-11-09 Mark Mitchell <mark@codesourcery.com> - - * som.c (som_bfd_print_private_bfd_data): New function. - (som_object_setup): Save the auxiliary header. Don't assume that - zero is an invalid entry point for a shared library. - (som_object_p): Allocate the auxiliary header on the heap. - - * elf32-arm.c (elf32_arm_begin_write_processing): Do not use a K&R - declaration. - (elf32_arm_symbian_modify_segment_map): Likewise. - -2004-11-09 Daniel Jacobowitz <dan@debian.org> - - From David Poole <daveml@mbuf.com>: - * elf32-arm.c (elf32_arm_readonly_dynrelocs): New function. - (elf32_arm_size_dynamic_sections): Call it. - -2004-11-09 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am (SOURCE_HFILES): Remove elf32-arm.h. - (ALL_MACHINES_CFILES): Fix typo. - * Makefile.in: Regenerate. - * po/SRC-POTFILES.in: Regenerate. - -2004-11-08 Mark Mitchell <mark@codesourcery.com> - - * elf32-arm.c (elf32_arm_final_link_relocate): When generating an - R_ARM_RELATIVE relocation for Symbian OS, mention the section - symbol in the relocation. - -2004-11-08 Inderpreet Singh <inderpreetb@nioda.hcltech.com> - Vineet Sharma <vineets@noida.hcltech.com> - - * coff-maxq.c: New File. - * cpu-maxq.c: New File. - * coffcode.h: Likewise. - * config.bfd: Likewise. - * configure.in (maxqcoff_vec): New target vector. - * Makefile.am: Add support for maxq target. - * configure.in: Likewise. - * archures.c:. Likewise. - * targets.c: Likewise. - * bfd_in2.h : Regenerated. - * Makefile.in: Regenerated. - * configure: Regenerated. - * doc/Makefile.in: Regenerated. - -2004-11-08 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> - - * coff-i386.c (coff_i386_reloc): Fix weak symbols. - * cofflink.c (_bfd_coff_link_input_bfd): Don't process - C_NT_WEAK aux entries. - (_bfd_coff_generic_relocate_section): Handle undefined - aliases. - -2004-11-07 Andreas Schwab <schwab@suse.de> - - * elf32-m68k.c (elf_m68k_adjust_dynamic_symbol): Use - SYMBOL_CALLS_LOCAL and check for undefweak symbols with - non-default visibility. - -2004-11-01 Mark Mitchell <mark@codesourcery.com> - - * elf32-arm.c (elf32_arm_symbian_begin_write_processing): Clear - D_PAGED. - (elf32_arm_symbian_modify_segment_map): Don't - reset includes_filehdr and includes_phdrs here. - -2004-11-04 Daniel Jacobowitz <dan@debian.org> - - * Makefile.am (BFD32_BACKENDS, BFD32_BACKENDS_CFILES): Replace - elfarm-nabi with elf32-arm. Remove elfarm-oabi. - (elf32-arm.lo): Replace elfarm-nabi.lo rule. Remove elf32-arm.h - dependency. - * config.bfd: Move arm-*-oabi* and thumb-*-oabi* from obsolete list - to a new removed list. Remove normal configuration stanzas. - * configure.in: (bfd_elf32_bigarm_vec, bfd_elf32_bigarm_symbian_vec) - (bfd_elf32_littlearm_symbian_vec, bfd_elf32_littlearm_vec): Replace - elfarm-nabi.lo with elf32-arm.lo. - (bfd_elf32_bigarm_oabi_vec, bfd_elf32_littlearm_oabi_vec): Remove. - * elf32-arm.c: Renamed from elfarm-nabi.c. Inline elf32-arm.h. - * elf32-arm.h: Remove. - * elfarm-oabi.c: Remove. - * targets.c (_bfd_target_vector): Remove bfd_elf32_bigarm_oabi_vec - and bfd_elf32_littlearm_oabi_vec. - * aclocal.m4, Makefile.in, configure, doc/Makefile.in: Regenerated. - -2004-11-04 Hans-Peter Nilsson <hp@axis.com> - - * config.bfd: Support crisv32-*-* like cris-*-*. - * archures.c (bfd_mach_cris_v0_v10, bfd_mach_cris_v32) - (bfd_mach_cris_v10_v32): New macros. - * cpu-cris.c: Tweak formatting. - (get_compatible): New function. - (N): New macro. - (bfd_cris_arch_compat_v10_v32, bfd_cris_arch_v32): New - bfd_arch_info_type:s. - (bfd_cris_arch): Use bfd_mach_cris_v0_v10 for member mach, - get_compatible for member compatible and link bfd_cris_arch_v32 as - next. - * elf32-cris.c (cris_elf_pcrel_reloc) - (cris_elf_set_mach_from_flags): New functions. - (cris_elf_howto_table) <R_CRIS_8_PCREL, R_CRIS_16_PCREL> - <R_CRIS_32_PCREL>: Use cris_elf_pcrel_reloc. - (cris_elf_grok_prstatus, cris_elf_grok_psinfo): Give correct - numbers for bfd_mach_cris_v32. - (PLT_ENTRY_SIZE_V32): New macro. - (elf_cris_plt0_entry): Drop last comma in initializer. - (elf_cris_plt0_entry_v32, elf_cris_plt_entry_v32) - (elf_cris_pic_plt0_entry_v32, elf_cris_pic_plt_entry_v32): New - PLT initializers. - (cris_elf_relocate_section): Change all "%B(%A)" messages to - "%B, section %A". - (elf_cris_finish_dynamic_symbol): Do V32-specific PLT entries. - (elf_cris_finish_dynamic_sections): Similar. - (elf_cris_adjust_dynamic_symbol): Similar. - (cris_elf_check_relocs): Change all "%B(%A)" messages to "%B, - section %A". - <switch with PIC relocs>: Emit error and return FALSE for - bfd_mach_cris_v10_v32. - <case R_CRIS_8_PCREL, case R_CRIS_16_PCREL, case R_CRIS_32_PCREL>: - Emit warning when generating textrel reloc. - (cris_elf_object_p): Call cris_elf_set_mach_from_flags. - (cris_elf_final_write_processing): Set flags according to mach. - (cris_elf_print_private_bfd_data): Display - EF_CRIS_VARIANT_COMMON_V10_V32 and EF_CRIS_VARIANT_V32. - (cris_elf_merge_private_bfd_data): Drop variables old_flags, - new_flags. Don't call cris_elf_final_write_processing. Don't - look at the actual elf header flags at all; use - bfd_get_symbol_leading_char to check ibfd, obfd. Trap difference - in bfd_get_mach for ibfd and obfd and handle merging of compatible - objects. - (bfd_elf32_bfd_copy_private_bfd_data): Define. - * reloc.c (BFD_RELOC_CRIS_SIGNED_8, BFD_RELOC_CRIS_UNSIGNED_8) - (BFD_RELOC_CRIS_SIGNED_16, BFD_RELOC_CRIS_UNSIGNED_16) - (BFD_RELOC_CRIS_LAPCQ_OFFSET): New relocs. - * bfd-in2.h, libbfd.h: Regenerate. - -2004-11-04 Alan Modra <amodra@bigpond.net.au> - - * elf64-ppc.h (ppc64_elf_edit_toc): Declare. - * elf64-ppc.c (struct ppc_link_hash_entry <adjust_done>): Update - comment. - (struct adjust_toc_info): New. - (adjust_toc_syms, ppc64_elf_edit_toc): New functions. - -2004-11-03 Bob Wilson <bob.wilson@acm.org> - - * elf.c (assign_file_positions_for_segments): Set next_file_pos even - if there are no segments. - -2004-11-02 Daniel Jacobowitz <dan@debian.org> - - * config.bfd: Mark arm-*-oabi and thumb-*-oabi as obsolete. - -2004-11-02 Nick Clifton <nickc@redhat.com> - - * elf32-iq2000.c: Convert to ISO C90 formatting. - -2004-11-02 Hans-Peter Nilsson <hp@axis.com> - - * elflink.c (_bfd_elf_create_got_section): Hide _GLOBAL_OFFSET_TABLE_. - -2004-10-28 H.J. Lu <hongjiu.lu@intel.com> - - * elfxx-ia64.c (elfNN_ia64_relocate_section): Handle weak - undefined symbols for R_IA64_SECREL32MSB, R_IA64_SECREL32LSB, - R_IA64_SECREL64MSB and R_IA64_SECREL64LSB. - -2004-10-28 Kaz Kojima <kkojima@rr.iij4u.or.jp> - - * elf32-sh.c (tpoff): Take alignment into account. - -2004-10-28 Nick Clifton <nickc@redhat.com> - - * elf32-iq2000.c (iq2000_elf_relocate_section): Do nothing when - performing a relocatable link. - (iq2000_elf_object_p): Do not set elf_bad_symtab. This is only - for MIPS ports under Irix. - -2004-10-27 Richard Earnshaw <rearnsha@arm.com> - - * elf32-arm.h (bfd_elf32_arm_process_before_allocation): Handle - R_ARM_CALL and R_ARM_JUMP24 as aliases of R_ARM_PC24. - (elf32_arm_final_link_relocate): Ditto. - (arm_add_to_rel, elf32_arm_relocate_section): Ditto. - (elf32_arm_gc_sweep_hook, elf32_arm_check_relocs): Ditto - (elf32_arm_adjust_dynamic_symbol): Ditto. - * elfarm-nabi.c (elf32_arm_howto_table): Add R_ARM_CALL and - R_ARM_JUMP32. Move R_ARM_R{REL32,ABS32,PC24,BASE}... - (elf32_arm_r_howto): ... To here. - (elf32_arm_howto_from_type): Use elf32_arm_r_howto. - -2004-10-26 H.J. Lu <hongjiu.lu@intel.com> - - PR 475 - * elfxx-ia64.c (elfNN_ia64_relocate_section): Correct - R_IA64_SECREL32MSB, R_IA64_SECREL32LSB, R_IA64_SECREL64MSB - and R_IA64_SECREL64LSB. - -2004-10-26 Paul Brook <paul@codesourcery.com> - - * elflink.c (elf_finalize_dynstr): Skip shared aux structure. - (bfd_elf_size_dynamic_sections): Create default version definition. - (elf_link_output_extsym): Adjust for default symbol version. - -2004-10-24 Hans-Peter Nilsson <hp@bitrange.com> - - * mmo.c: Adjust to ISO C. - - * mmo.c (mmo_write_section_description): New function broken out - of mmo_internal_write_section. - (mmo_internal_write_section): For each of .text and .data, call - mmo_write_section_description before outputting contents if it has - nontrivially deducible vma or contents. - (mmo_has_leading_or_trailing_zero_tetra_p): New function. - (mmo_canonicalize_symtab): Adjust absolute symbols to .data - symbols if found within the .data address range. - -2004-10-24 Daniel Jacobowitz <dan@debian.org> - - * opncls.c (bfd_close): Return TRUE for BFD_IN_MEMORY. - -2004-10-24 Hans-Peter Nilsson <hp@bitrange.com> - - * mmo.c (File Layout): Correct place of misplaced blurb about - special data. - -2004-10-22 Mark Kettenis <kettenis@gnu.org> - - * config.bfd: Add mips64*-*-openbsd. - -2004-10-21 Bob Wilson <bob.wilson@acm.org> - - * elf32-xtensa.c (ebb_propose_action): Put declarations before - statements. - -2004-10-21 H.J. Lu <hongjiu.lu@intel.com> - - * configure.in: (AM_INIT_AUTOMAKE): Set version to 2.15.94. - * configure: Regenerate. - -2004-10-21 H.J. Lu <hongjiu.lu@intel.com> - - PR 463 - * aoutx.h (aout_link_input_section_std): Pass proper hash entry - to linker reloc_overflow callback. - (aout_link_input_section_ext): Likewise. - (aout_link_reloc_link_order): Likewise. - * coff-a29k.c (coff_a29k_relocate_section): Likewise. - * coff-alpha.c (alpha_ecoff_get_relocated_section_contents): - Likewise. - (alpha_relocate_section): Likewise. - * coff-arm.c (coff_arm_relocate_section): Likewise. - * coff-h8300.c (h8300_reloc16_extra_cases): Likewise. - * coff-h8500.c (extra_case): Likewise. - * coff-i960.c (coff_i960_relocate_section): Likewise. - * coff-mcore.c (coff_mcore_relocate_section): Likewise. - * coff-mips.c (mips_relocate_section): Likewise. - * coff-or32.c (coff_or32_relocate_section): Likewise. - * coff-ppc.c (coff_ppc_relocate_section): Likewise. - * coff-rs6000.c (xcoff_ppc_relocate_section): Likewise. - * coff-sh.c (sh_relocate_section): Likewise. - * coff-tic80.c (coff_tic80_relocate_section): Likewise. - * coff-w65.c (w65_reloc16_extra_cases): Likewise. - * coff-z8k.c (extra_case): Likewise. - * coff64-rs6000.c (xcoff64_ppc_relocate_section): Likewise. - * cofflink.c (_bfd_coff_reloc_link_order): Likewise. - (_bfd_coff_generic_relocate_section): Likewise. - * ecoff.c (ecoff_reloc_link_order): Likewise. - * elf-hppa.h (elf_hppa_relocate_section): Likewise. - * elf-m10200.c (mn10200_elf_relocate_section): Likewise. - * elf-m10300.c (mn10300_elf_relocate_section): Likewise. - * elf32-arm.h (elf32_arm_relocate_section): Likewise. - * elf32-avr.c (elf32_avr_relocate_section): Likewise. - * elf32-cr16c.c (elf32_cr16c_relocate_section): Likewise. - * elf32-cris.c (cris_elf_relocate_section): Likewise. - * elf32-crx.c (elf32_crx_relocate_section): Likewise. - * elf32-d10v.c (elf32_d10v_relocate_section): Likewise. - * elf32-fr30.c (fr30_elf_relocate_section): Likewise. - * elf32-frv.c (elf32_frv_relocate_section): Likewise. - * elf32-h8300.c (elf32_h8_relocate_section): Likewise. - * elf32-hppa.c (elf32_hppa_relocate_section): Likewise. - * elf32-i370.c (i370_elf_relocate_section): Likewise. - * elf32-i386.c (elf_i386_relocate_section): Likewise. - * elf32-i860.c (elf32_i860_relocate_section): Likewise. - * elf32-ip2k.c (ip2k_elf_relocate_section): Likewise. - * elf32-iq2000.c (iq2000_elf_relocate_section): Likewise. - * elf32-m32r.c (m32r_elf_relocate_section): Likewise. - * elf32-m68hc1x.c (elf32_m68hc11_relocate_section): Likewise. - * elf32-m68k.c (elf_m68k_relocate_section): Likewise. - * elf32-mcore.c (mcore_elf_relocate_section): Likewise. - * elf32-msp430.c (elf32_msp430_relocate_section): Likewise. - * elf32-openrisc.c (openrisc_elf_relocate_section): Likewise. - * elf32-ppc.c (ppc_elf_relocate_section): Likewise. - * elf32-s390.c (elf_s390_relocate_section): Likewise. - * elf32-sh.c (sh_elf_relocate_section): Likewise. - * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. - * elf32-v850.c (v850_elf_relocate_section): Likewise. - * elf32-vax.c (elf_vax_relocate_section): Likewise. - * elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise. - * elf64-alpha.c (elf64_alpha_relocate_section): Likewise. - * elf64-mmix.c (mmix_elf_relocate_section): Likewise. - * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. - * elf64-s390.c (elf_s390_relocate_section): Likewise. - * elf64-sh64.c (sh_elf64_relocate_section): Likewise. - * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. - * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. - * elflink.c (elf_reloc_link_order): Likewise. - * elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise. - * elfxx-mips.c (_bfd_mips_elf_relocate_section): Likewise. - (_bfd_elf_mips_get_relocated_section_contents): Likewise. - * linker.c (_bfd_generic_reloc_link_order): Likewise. - * pdp11.c (pdp11_aout_link_input_section): Likewise. - (aout_link_reloc_link_order): Likewise. - * reloc.c (bfd_generic_get_relocated_section_contents): - Likewise. - * xcofflink.c (xcoff_reloc_link_order): Likewise. - * simple.c (simple_dummy_reloc_overflow): Updated. - -2004-10-20 Andreas Schwab <schwab@suse.de> - - * elf32-m68k.c (elf_m68k_plt_sym_val): New function. - (elf_backend_plt_sym_val): Define. - -2004-10-19 Danny Smith <dannysmith@users.sourceforege.net> - - * config.bfd: Set targ_underscore=yes for PE COFF targets - -2004-10-19 Alan Modra <amodra@bigpond.net.au> - - * elf64-ppc.c (opd_entry_value): Handle --just-symbols objects. - (ppc64_elf_edit_opd): Likewise. - -2004-10-18 Mark Mitchell <mark@codesourcery.com> - - * elfarm-nabi.c (ELF_DYNAMIC_SEC_FLAGS): Add comment. - * elflink.c (_bfd_elf_create_dynamic_sections): For a loaded PLT, - set SEC_ALLOC and SEC_LOAD. - -2004-10-18 Nick Clifton <nickc@redhat.com> - - * elf32-xstormy16.c (xstormy16_elf_relocate_section): Compute - 'name' for relocs against both local and global symbols. - -2004-10-16 Daniel Jacobowitz <dan@debian.org> - - * bfd-in2.h: Regenerate. - * bfd.c (struct bfd): Add no_export. - * elflink.c (elf_link_add_object_symbols): Handle no_export. - -2004-10-15 Alan Modra <amodra@bigpond.net.au> - - * config.bfd: Whitespace cleanup. - * Makefile.am: Run "make dep-am" - * Makefile.in: Regenerate. - -2004-10-15 Jakub Jelinek <jakub@redhat.com> - - * elflink.c (struct already_linked_section): Removed. - (try_match_symbols_in_sections, already_linked): Removed. - (_bfd_elf_section_already_linked): Skip ^\.gnu\.linkonce\.[^.]*\. - prefix of section names when finding already_linked_table - chain. Compare section names. Instead of calling already_linked, - do it inline and only for sections in the same already_linked_list. - -2004-10-15 Alan Modra <amodra@bigpond.net.au> - - * elf-eh-frame.c (_bfd_elf_eh_frame_section_offset): Add "info" - parameter. If called after _bfd_elf_write_section_eh_frame, - don't allow a -2 return unless need_* bit is already set, and - handle offsets adjusted for output_offset. - * elf-bfd.h (_bfd_elf_eh_frame_section_offset): Update prototype. - * elf.c (_bfd_elf_section_offset): Update call. - -2004-10-13 H.J. Lu <hongjiu.lu@intel.com> - - PR 440 - * coffcode.h (coff_compute_section_file_positions): Cast to - bfd_vma when computing page alignment. - -2004-10-13 Mark Mitchell <mark@codesourcery.com> - - * elf32-arm.h (elf32_arm_finish_dynamic_sections): Use file - offsets, not VMAs, for DT_VERSYM, DT_VERDEF, DT_VERNEED. - -2004-10-12 Mark Mitchell <mark@codesourcery.com> - - * elf32-arm.h (elf32_arm_finish_dynamic_symbol): Make .rel.plt - relocations use a virtual address, not a section offset. - -2004-10-12 Bob Wilson <bob.wilson@acm.org> - - * elf32-xtensa.c (elf_xtensa_get_private_bfd_flags): Delete. - (narrow_instruction, widen_instruction): Remove unnecessary calls to - xtensa_format_encode. - (ebb_propose_action): Inline call to ebb_add_proposed_action. - (ebb_add_proposed_action): Delete. - -2004-10-12 Bob Wilson <bob.wilson@acm.org> - - * elf32-xtensa.c: Use ISO C90 formatting. - -2004-10-12 Paul Brook <paul@codesourcery.com> - - * elf32-arm.h (elf32_arm_merge_private_bfd_data): Rephrase error - message. - -2004-10-12 Paul Brook <paul@codesourcery.com> - - * elf32-arm.h: Support EABI version 4 objects. - -2004-10-12 Alan Modra <amodra@bigpond.net.au> - - PR 325 - * cpu-i386.c (bfd_x86_64_arch_intel_syntax): Place last in chain. - Don't mark as default. - (bfd_x86_64_arch): Don't mark as default. - -2004-10-12 Alan Modra <amodra@bigpond.net.au> - - * elflink.c (enum action_discarded): New. - (elf_section_complain_discarded): Delete. - (elf_action_discarded): New function subsuming the above and also - controlling reloc behaviour. - (elf_link_input_bfd): Use it. - -2004-10-11 Jakub Jelinek <jakub@redhat.com> - - * elf.c (bfd_section_from_shdr): Handle SHT_GNU_LIBLIST. - (special_sections): Add .gnu.liblist and .gnu.conflict. - (assign_section_numbers): Handle SHT_GNU_LIBLIST. - -2004-10-11 Alan Modra <amodra@bigpond.net.au> - - PR 233 - * elflink.c (elf_link_input_bfd): Try harder to support - relocations against symbols in removed linkonce sections. - -2004-10-11 Alan Modra <amodra@bigpond.net.au> - - * elflink.c (elf_link_input_bfd): Revert PR 354 change. - - PR 354 - * elflink.c (elf_link_input_bfd): Check that relocs in SEC_ALLOC - sections do not reference symbols in non-SEC_ALLOC sections. - -2004-10-11 Alan Modra <amodra@bigpond.net.au> - - PR 437 - * elflink.c (elf_link_sort_relocs): Don't bomb on unusual sections. - (_bfd_elf_link_omit_section_dynsym): Formatting. - -2004-10-10 Alan Modra <amodra@bigpond.net.au> - - * libbfd-in.h (BFD_ASSERT, BFD_FAIL): Wrap macro body in do while. - * libbfd.h: Regnerate. - * elf32-cris.c: Add missing semicolon to BFD_ASSERTs. - * elf32-frv.c: Likewise. - * elf32-m32r.c: Likewise. - * elf32-ppc.c: Likewise. - * elf64-hppa.c: Likewise. - * elfxx-ia64.c: Likewise. - * opncls.c: Likewise. - -2004-10-10 Alan Modra <amodra@bigpond.net.au> - - * elf-bfd.h (struct eh_frame_hdr_info): Add offsets_adjusted. - * elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Adjust - offsets stored in struct eh_cie_fde entries before doing other - work. - - * elf-bfd.h (struct eh_cie_fde): Add cie_inf, remove sec. - (struct eh_frame_hdr_info): Add last_cie_inf, remove last_cie_offset. - * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Delete code - setting offsets for removed CIEs. Don't set "sec", instead set - cie_inf for FDEs. Keep a pointer to last struct eh_cie_fde for a - CIE in hdr_info. Only set make_relative and make_lsda_relative - for CIEs. Use pointers rather than array indices. - (_bfd_elf_eh_frame_section_offset): Test/set make_relative, - make_lsda_relative, need_* on cie_inf for FDEs. - (_bfd_elf_write_section_eh_frame): Adjust offset and new_offset for - section output_offset. Delete cie_offset, instead use cie_inf - pointer to CIE entry. Use need_relative and need_lsda_relative on - CIE entry for FDEs. Use pointers rather than array indices. - -2004-10-09 Alan Modra <amodra@bigpond.net.au> - - * coff-rs6000.c (rs6000coff_vec): Add initializer for - bfd_is_target_special_symbol. - * coff64-rs6000.c (rs6000coff64_vec): Likewise. - * som.c (som_bfd_is_target_special_symbol): Define. - -2004-10-08 Nick Clifton <nickc@redhat.com> - - * configure.in: (AM_INIT_AUTOMAKE): Set version to 2.15.93. - * configure: Regenerate. - * bfd-in2.h: Regenerate. - * syms.c (bfd_is_target_special_symbol): New interface function. - Returns true when a symbol should be considered to be special. - * targets.c (bfd_target): Include bfd_is_target_special_symbol in - the symbol jump table. - * elf32-arm.h (elf32_arm_is_target_special_symbol): New function. - Return true iff the symbol is a mapping symbol. - (bfd_elf32_bfd_is_target_special_symbol): Define. - * elfxx-target.h: Provide a default definition for - bfd_is_target_special_symbol. - * aout-target.h: Likewise. - * aout-tic30.c: Likewise. - * binary.c: Likewise. - * coffcode.h: Likewise. - * i386msdos.c: Likewise. - * ieee.c: Likewise. - * ihex.c: Likewise. - * libaout.h: Likewise. - * libbfd-in.h: Likewise - * libecoff.h: Likewise. - * mach-o.c: Likewise. - * mmo.c: Likewise. - * nlm-target.h: Likewise. - * oasys.c: Likewise. - * pef.c: Likewise. - * ppcboot.c: Likewise. - * srec.c: Likewise. - * tekhex.c: Likewise. - * versados.c: Likewise. - * vms.c: Likewise. - * xcoff-target.h: Likewise. - * xsym.c: Likewise. - * libbfd.h: Regenerate. - -2004-10-08 Daniel Jacobowitz <dan@debian.org> - - * config.bfd: Include 64-bit support for i[3-7]86-*-solaris2*. - * elf64-x86-64.c (elf64_x86_64_section_from_shdr): New function. - (elf_backend_section_from_shdr): Define. - -2004-10-08 Alan Modra <amodra@bigpond.net.au> - - * syms.c (bfd_is_local_label): Return false for file symbols. - -2004-10-07 Bob Wilson <bob.wilson@acm.org> - David Heine <dlheine@tensilica.com> - - * elf32-xtensa.c (elf32xtensa_size_opt): New global variable. - (xtensa_default_isa): Global variable moved here from xtensa-isa.c. - (elf32xtensa_no_literal_movement): New global variable. - (elf_howto_table): Add entries for new relocations. - (elf_xtensa_reloc_type_lookup): Handle new relocations. - (property_table_compare): When addresses are equal, compare sizes and - various property flags. - (property_table_matches): New. - (xtensa_read_table_entries): Extend to read new property tables. Add - output_addr parameter to indicate that output addresses should be used. - Use bfd_get_section_limit. - (elf_xtensa_find_property_entry): New. - (elf_xtensa_in_literal_pool): Use elf_xtensa_find_property_entry. - (elf_xtensa_check_relocs): Handle new relocations. - (elf_xtensa_do_reloc): Use bfd_get_section_limit. Handle new - relocations. Use new xtensa-isa.h functions. - (build_encoding_error_message): Remove encode_result parameter. Add - new target_address parameter used to detect alignment errors. - (elf_xtensa_relocate_section): Use bfd_get_section_limit. Clean up - error handling. Use new is_operand_relocation function. - (elf_xtensa_combine_prop_entries, elf_xtensa_merge_private_bfd_data): - Use underbar macro for error messages. Formatting. - (get_const16_opcode): New. - (get_l32r_opcode): Add a separate flag for initialization. - (get_relocation_opnd): Operand number is no longer explicit in the - relocation. Change to decode the opcode and analyze its operands. - (get_relocation_slot): New. - (get_relocation_opcode): Add bfd parameter. Use bfd_get_section_limit. - Use new xtensa-isa.h functions to handle multislot instructions. - (is_l32r_relocation): Add bfd parameter. Use is_operand_relocation. - (get_asm_simplify_size, is_alt_relocation, is_operand_relocation, - insn_decode_len, insn_decode_opcode, check_branch_target_aligned, - check_loop_aligned, check_branch_target_aligned_address, narrowable, - widenable, narrow_instruction, widen_instruction, op_single_fmt_table, - get_single_format, init_op_single_format_table): New. - (elf_xtensa_do_asm_simplify): Add error_message parameter and use it - instead of calling _bfd_error_handler. Use new xtensa-isa.h functions. - (contract_asm_expansion): Add error_message parameter and pass it to - elf_xtensa_do_asm_simplify. Replace use of R_XTENSA_OP0 relocation - with R_XTENSA_SLOT0_OP. - (get_expanded_call_opcode): Extend to handle either L32R or CONST16 - instructions. Use new xtensa-isa.h functions. - (r_reloc struct): Add new virtual_offset field. - (r_reloc_init): Add contents and content_length parameters. Set - virtual_offset field to zero. Add contents to target_offset field for - partial_inplace relocations. - (r_reloc_is_defined): Check for null. - (print_r_reloc): New debug function. - (source_reloc struct): Replace xtensa_operand field with pair of the - opcode and the operand position. Add is_abs_literal field. - (init_source_reloc): Specify operand by opcode/position pair. Set - is_abs_literal field. - (source_reloc_compare): When target_offsets are equal, compare other - fields to make sorting predictable. - (literal_value struct): Add is_abs_literal field. - (value_map_hash_table struct): Add has_last_loc and last_loc fields. - (init_literal_value): New. - (is_same_value): Replace with ... - (literal_value_equal): ... this function. Add comparisons of - virtual_offset and is_abs_literal fields. - (value_map_hash_table_init): Use bfd_zmalloc. Check for allocation - failure. Initialize has_last_loc field. - (value_map_hash_table_delete): New. - (hash_literal_value): Rename to ... - (literal_value_hash): ... this. Include is_abs_literal flag and - virtual_offset field in the hash value. - (get_cached_value): Rename to ... - (value_map_get_cached_value): ... this. Update calls to - literal_value_hash and literal_value_equal. - (add_value_map): Check for allocation failure. Update calls to - value_map_get_cached_value and literal_value_hash. - (text_action, text_action_list, text_action_t): New types. - (find_fill_action, compute_removed_action_diff, adjust_fill_action, - text_action_add, text_action_add_literal, offset_with_removed_text, - offset_with_removed_text_before_fill, find_insn_action, - print_action_list, print_removed_literals): New. - (offset_with_removed_literals): Delete. - (xtensa_relax_info struct): Add is_relaxable_asm_section, action_list, - fix_array, fix_array_count, allocated_relocs, relocs_count, and - allocated_relocs_count fields. - (init_xtensa_relax_info): Initialize new fields. - (reloc_bfd_fix struct): Add new translated field. - (reloc_bfd_fix_init): Add translated parameter and use it to set the - translated field. - (fix_compare, cache_fix_array): New. - (get_bfd_fix): Remove fix_list parameter and get all relax_info for the - section via get_xtensa_relax_info. Use cache_fix_array to set up - sorted fix_array and use bsearch instead of linear search. - (section_cache_t): New struct. - (init_section_cache, section_cache_section, clear_section_cache): New. - (ebb_t, ebb_target_enum, proposed_action, ebb_constraint): New types. - (init_ebb_constraint, free_ebb_constraint, init_ebb, extend_ebb_bounds, - extend_ebb_bounds_forward, extend_ebb_bounds_backward, - insn_block_decodable_len, ebb_propose_action, ebb_add_proposed_action): - New. - (retrieve_contents): Use bfd_get_section_limit. - (elf_xtensa_relax_section): Add relocations_analyzed flag. Update call - to compute_removed_literals. Free value_map_hash_table when no longer - needed. - (analyze_relocations): Check is_relaxable_asm_section flag. Call - compute_text_actions for all sections. - (find_relaxable_sections): Mark sections as relaxable if they contain - ASM_EXPAND relocations that can be optimized. Adjust r_reloc_init - call. Increment relax_info src_count field only for appropriate - relocation types. Remove is_literal_section check. - (collect_source_relocs): Use bfd_get_section_limit. Adjust calls to - r_reloc_init and find_associated_l32r_irel. Check - is_relaxable_asm_section flag. Handle L32R instructions with absolute - literals. Pass is_abs_literal flag to init_source_reloc. - (is_resolvable_asm_expansion): Use bfd_get_section_limit. Check for - CONST16 instructions. Adjust calls to r_reloc_init and - pcrel_reloc_fits. Handle weak symbols conservatively. - (find_associated_l32r_irel): Add bfd parameter and pass it to - is_l32r_relocation. - (compute_text_actions, compute_ebb_proposed_actions, - compute_ebb_actions, check_section_ebb_pcrels_fit, - check_section_ebb_reduces, text_action_add_proposed, - compute_fill_extra_space): New. - (remove_literals): Replace with ... - (compute_removed_literals): ... this function. Call - init_section_cache. Use bfd_get_section_limit. Sort internal_relocs. - Call xtensa_read_table_entries to get the property table. Skip - relocations other than R_XTENSA_32 and R_XTENSA_PLT. Use new - is_removable_literal, remove_dead_literal, and - identify_literal_placement functions. - (get_irel_at_offset): Rewrite to use bsearch on sorted relocations - instead of linear search. - (is_removable_literal, remove_dead_literal, - identify_literal_placement): New. - (relocations_reach): Update check for literal not referenced by any - PC-relative relocations. Adjust call to pcrel_reloc_fits. - (coalesce_shared_literal, move_shared_literal): New. - (relax_section): Use bfd_get_section_limit. Call - translate_section_fixes. Update calls to r_reloc_init and - offset_with_removed_text. Check new is_relaxable_asm_section flag. - Add call to pin_internal_relocs. Add special handling for - R_XTENSA_ASM_SIMPLIFY and R_XTENSA_DIFF* relocs. Use virtual_offset - info to calculate new addend_displacement variable. Replace code for - deleting literals with more general code to perform the actions - determined by the action_list for the section. - (translate_section_fixes, translate_reloc_bfd_fix): New. - (translate_reloc): Check new is_relaxable_asm_section flag. Call - find_removed_literal only if is_operand_relocation. Update call to - offset_with_removed_text. Use new target_offset and removed_bytes - variables. - (move_literal): New. - (relax_property_section): Use bfd_get_section_limit. Set new - is_full_prop_section flag and handle new property tables. Update calls - to r_reloc_init and offset_with_removed_text. Check - is_relaxable_asm_section flag. Handle expansion of zero-sized - unreachable entries, with use of offset_with_removed_text_before_fill. - For relocatable links, combine entries only for literal tables. - (relax_section_symbols): Check is_relaxable_asm_section flag. Update - calls to offset_with_removed_text. Translate st_size field for - function symbols. - (do_fix_for_relocatable_link): Change to return bfd_boolean to indicate - failure. Add contents parameter. Update call to get_bfd_fix. Update - call to r_reloc_init. Call _bfd_error_handler and return FALSE for - R_XTENSA_ASM_EXPAND relocs. - (do_fix_for_final_link): Add input_bfd and contents parameters. Update - call to get_bfd_fix. Include offset from contents for partial_inplace - relocations. - (is_reloc_sym_weak): New. - (pcrel_reloc_fits): Use new xtensa-isa.h functions. - (prop_sec_len): New. - (xtensa_is_property_section): Handle new property sections. - (is_literal_section): Delete. - (internal_reloc_compare): When r_offset matches, compare r_info and - r_addend to make sorting predictable. - (internal_reloc_matches): New. - (xtensa_get_property_section_name): Handle new property sections. - (xtensa_get_property_predef_flags): New. - (xtensa_callback_required_dependence): Use bfd_get_section_limit. - Update calls to xtensa_isa_init, is_l32r_relocation, and r_reloc_init. - * xtensa-isa.c (xtensa_default_isa): Moved to elf32-xtensa.c. - (xtisa_errno, xtisa_error_msg): New variables. - (xtensa_isa_errno, xtensa_isa_error_msg): New. - (xtensa_insnbuf_alloc): Add error handling. - (xtensa_insnbuf_to_chars): Add num_chars parameter. Update to - use xtensa_format_decode. Add error handling. - (xtensa_insnbuf_from_chars): Add num_chars parameter. Decode the - instruction length to find the number of bytes to copy. - (xtensa_isa_init): Add error handling. Replace calls to - xtensa_load_isa and xtensa_extend_isa with code to initialize lookup - tables in the xtensa_modules structure. - (xtensa_check_isa_config, xtensa_add_isa, xtensa_load_isa, - xtensa_extend_isa): Delete. - (xtensa_isa_free): Change to only free lookup tables. - (opname_lookup_compare): Replace with ... - (xtensa_isa_name_compare): ... this function. Use strcasecmp. - (xtensa_insn_maxlength): Rename to ... - (xtensa_isa_maxlength): ... this. - (xtensa_insn_length): Delete. - (xtensa_insn_length_from_first_byte): Replace with ... - (xtensa_isa_length_from_chars): ... this function. - (xtensa_num_opcodes): Rename to ... - (xtensa_isa_num_opcodes): ... this. - (xtensa_isa_num_pipe_stages, xtensa_isa_num_formats, - xtensa_isa_num_regfiles, xtensa_isa_num_stages, - xtensa_isa_num_sysregs, xtensa_isa_num_interfaces, - xtensa_isa_num_funcUnits, xtensa_format_name, xtensa_format_lookup, - xtensa_format_decode, xtensa_format_encode, xtensa_format_length, - xtensa_format_num_slots, xtensa_format_slot_nop_opcode, - xtensa_format_get_slot, xtensa_format_set_slot): New functions. - (xtensa_opcode_lookup): Add error handling. - (xtensa_decode_insn): Replace with ... - (xtensa_opcode_decode): ... this function, with new format and - slot parameters. Add error handling. - (xtensa_encode_insn): Replace with ... - (xtensa_opcode_encode): ... this function, which does the encoding via - one of the entries in the "encode_fns" array. Add error handling. - (xtensa_opcode_name): Add error handling. - (xtensa_opcode_is_branch, xtensa_opcode_is_jump, xtensa_opcode_is_loop, - xtensa_opcode_is_call): New. - (xtensa_num_operands): Replace with ... - (xtensa_opcode_num_operands): ... this function. Add error handling. - (xtensa_opcode_num_stateOperands, - xtensa_opcode_num_interfaceOperands, xtensa_opcode_num_funcUnit_uses, - xtensa_opcode_funcUnit_use, xtensa_operand_name, - xtensa_operand_is_visible): New. - (xtensa_get_operand, xtensa_operand_kind): Delete. - (xtensa_operand_inout): Add error handling and special-case for - "sout" operands. - (xtensa_operand_get_field, xtensa_operand_set_field): Rewritten to - operate on one slot of an instruction. Added error handling. - (xtensa_operand_encode): Handle default operands with no encoding - functions. Check for success by comparing against decoded value. - Add error handling. - (xtensa_operand_decode): Handle default operands. Return decoded value - through argument pointer. Add error handling. - (xtensa_operand_is_register, xtensa_operand_regfile, - xtensa_operand_num_regs, xtensa_operand_is_known_reg): New. - (xtensa_operand_isPCRelative): Rename to ... - (xtensa_operand_is_PCrelative): ... this. Add error handling. - (xtensa_operand_do_reloc, xtensa_operand_undo_reloc): Return value - through argument pointer. Add error handling. - (xtensa_stateOperand_state, xtensa_stateOperand_inout, - xtensa_interfaceOperand_interface, xtensa_regfile_lookup, - xtensa_regfile_lookup_shortname, xtensa_regfile_name, - xtensa_regfile_shortname, xtensa_regfile_view_parent, - xtensa_regfile_num_bits, xtensa_regfile_num_entries, - xtensa_state_lookup, xtensa_state_name, xtensa_state_num_bits, - xtensa_state_is_exported, xtensa_sysreg_lookup, - xtensa_sysreg_lookup_name, xtensa_sysreg_name, xtensa_sysreg_number, - xtensa_sysreg_is_user, xtensa_interface_lookup, xtensa_interface_name, - xtensa_interface_num_bits, xtensa_interface_inout, - xtensa_interface_has_side_effect, xtensa_funcUnit_lookup, - xtensa_funcUnit_name, xtensa_funcUnit_num_copies): New. - * xtensa-modules.c: Rewrite to use new data structures. - * reloc.c (BFD_RELOC_XTENSA_DIFF8, BFD_RELOC_XTENSA_DIFF16, - BFD_RELOC_XTENSA_DIFF32, BFD_RELOC_XTENSA_SLOT0_OP, - BFD_RELOC_XTENSA_SLOT1_OP, BFD_RELOC_XTENSA_SLOT2_OP, - BFD_RELOC_XTENSA_SLOT3_OP, BFD_RELOC_XTENSA_SLOT4_OP, - BFD_RELOC_XTENSA_SLOT5_OP, BFD_RELOC_XTENSA_SLOT6_OP, - BFD_RELOC_XTENSA_SLOT7_OP, BFD_RELOC_XTENSA_SLOT8_OP, - BFD_RELOC_XTENSA_SLOT9_OP, BFD_RELOC_XTENSA_SLOT10_OP, - BFD_RELOC_XTENSA_SLOT11_OP, BFD_RELOC_XTENSA_SLOT12_OP, - BFD_RELOC_XTENSA_SLOT13_OP, BFD_RELOC_XTENSA_SLOT14_OP, - BFD_RELOC_XTENSA_SLOT0_ALT, BFD_RELOC_XTENSA_SLOT1_ALT, - BFD_RELOC_XTENSA_SLOT2_ALT, BFD_RELOC_XTENSA_SLOT3_ALT, - BFD_RELOC_XTENSA_SLOT4_ALT, BFD_RELOC_XTENSA_SLOT5_ALT, - BFD_RELOC_XTENSA_SLOT6_ALT, BFD_RELOC_XTENSA_SLOT7_ALT, - BFD_RELOC_XTENSA_SLOT8_ALT, BFD_RELOC_XTENSA_SLOT9_ALT, - BFD_RELOC_XTENSA_SLOT10_ALT, BFD_RELOC_XTENSA_SLOT11_ALT, - BFD_RELOC_XTENSA_SLOT12_ALT, BFD_RELOC_XTENSA_SLOT13_ALT, - BFD_RELOC_XTENSA_SLOT14_ALT): Add new relocations. - * Makefile.am (xtensa-isa.lo, xtensa-modules.lo): Update dependencies. - * Makefile.in: Regenerate. - * bfd-in2.h: Likewise. - * libbfd.h: Likewise. - -2004-10-07 Richard Sandiford <rsandifo@redhat.com> - - * elf64-mips.c (mips_elf64_write_rel): Use STN_UNDEF for relocs - against the absolute section. - (mips_elf64_write_rela): Likewise. - -2004-10-07 Jan Beulich <jbeulich@novell.com> - - * elf.c (elf_find_function): Don't generally check for matching - section, just for non-file symbols. Remove redunant comparison - for the latter. - * elf32-arm.h (arm_elf_find_function): Likewise. - -2004-10-07 Jeff Baker <jbaker@qnx.com> - - * elflink.c (_bfd_elf_add_dynamic_entry): Add code to warn if - adding a DT_TEXTREL to a shared object and --warn-shared-textrel - was specified. - -2004-10-04 Roland McGrath <roland@redhat.com> - - * hash.c (bfd_hash_set_default_size): Use const for table. - Use size_t instead of int for variable compared to sizeof results. - -2004-10-05 Alan Modra <amodra@bigpond.net.au> - - PR 425 - * syms.c (_bfd_stab_section_find_nearest_line): Ignore R_*_NONE relocs. - -2004-10-01 Paul Brook <paul@codesourcery.com> - - * elf32-arm.h (elf32_arm_fake_sections, - is_arm_elf_unwind_section_name, elf32_arm_section_from_shdr): New - functions. - (elf_backend_fake_sections, elf_backend_section_from_shdr): Define. - -2004-10-01 Alan Modra <amodra@bigpond.net.au> - - * elf-bfd.h (struct eh_cie_fde): Add need_relative and - need_lsda_relative. - * elf-eh-frame.c (_bfd_elf_eh_frame_section_offset): Set - need_relative or need_lsda_relative if we are processing an - offset for a reloc on a FDE initial loc or LSDA field - respectively. - (_bfd_elf_write_section_eh_frame): Test need_relative and - need_lsda_relative in place of corresponding make_* field - when deciding to use pc-relative encodings. - -2004-09-30 Paul Brook <paul@codesourcery.com> - - * elf32-arm.h (bfd_elf32_arm_set_target_relocs): Handle "abs" - target2 relocation type. - -2004-09-30 H.J. Lu <hongjiu.lu@intel.com> - - PR 414 - * elflink.c (_bfd_elf_merge_symbol): Check TLS symbol. - -2004-09-30 Paul Brook <paul@codesourcery.com> - - * reloc.c: Add BFD_RELOC_ARM_SMI. - * bfd-in2.h: Regenerate. - * libbfd.h: Ditto. - -2004-09-24 Alan Modra <amodra@bigpond.net.au> - - * dwarf2.c (_bfd_dwarf2_find_nearest_line): Add output section - vma and output offset to address. - * simple.c (simple_save_output_info): Only set output section - and offset for debug sections, or those not already set up by - the linker. - (bfd_simple_get_relocated_section_contents): Update comment. - -2004-09-24 Alan Modra <amodra@bigpond.net.au> - - * elf.c (IS_LOADED): Delete. - (assign_file_positions_for_segments): Just test SEC_LOAD instead. - Restore SEC_HAS_CONTENTS test to the one place it was used prior - to 2004-09-22. - -2004-09-23 Alan Modra <amodra@bigpond.net.au> - - PR gas/396 - * elf32-sparc.c (elf32_sparc_final_write_processing): Handle - bfd_mach_sparc_sparclet and bfd_mach_sparc_sparclite. Remove - redundant assignment of EM_SPARC. - -2004-09-22 Brian Ford <ford@vss.fsi.com> - - * pei-i386.c (COFF_SECTION_ALIGNMENT_ENTRIES): Enable 16 byte - alignment for .rdata sections so sse[2] code works with gcc >= 3.3.3 - constants. - * pe-i386.c (COFF_SECTION_ALIGNMENT_ENTRIES): Likewise. - -2004-09-22 Alan Modra <amodra@bigpond.net.au> - - * elf32-ppc.c (ppc_elf_modify_segment_map): Delete. - (elf_backend_modify_segment_map): Don't define. - -2004-09-22 Alan Modra <amodra@bigpond.net.au> - - * elf.c (IS_LOADED): Define. - (assign_file_positions_for_segments): Don't round up file offset of - PT_LOAD segments containing no SEC_LOAD sections, instead round down. - Delete code handling link script adjustment of lma. Do the adjust - in later code handling similar ajustments. Remove dead code error - check. Warn if section lma would require a negative offset - adjustment. Tweak lma adjustment to use p_filesz rather than p_memsz. - Use p_vaddr + p_memsz inside section loop in place of voff. Don't - update voff in section loop. Change voff in segment loop to be an - adjustment on top of "off". Set sec->filepos and update "off" later. - Test for loadable sections consistently using IS_LOADED. Similarly, - test for alloc-only sections other than .tbss consistently. - Don't bother checking SEC_ALLOC in PT_LOAD segments. Remove FIXME. - Tidy PT_NOTE handling. Use %B and %A in error messages. - (assign_file_positions_except_relocs): Use %B in error message. - -2004-09-17 H.J. Lu <hongjiu.lu@intel.com> - - * Makefile.am (AUTOMAKE_OPTIONS): Require 1.9. - (CONFIG_STATUS_DEPENDENCIES): New. - (Makefile): Removed. - (config.status): Likewise. - * Makefile.in: Regenerated. - -2004-09-17 Paul Brook <paul@codesourcery.com> - - * bfd-in.h (bfd_elf32_arm_set_target_relocs): Add prototype. - (bfd_elf32_arm_process_before_allocation): Update prototype. - * bfd-in2.h: Regenerate. - * bfd/elf32-arm.h (elf32_arm_link_hash_table): Add target2_reloc. - (elf32_arm_link_hash_table_create): Set it. - (bfd_elf32_arm_process_before_allocation): Remove target1_is_rel. - (bfd_elf32_arm_set_target_relocs): New function. - (arm_real_reloc_type): New function. - (elf32_arm_final_link_relocate): Use it. Handle R_ARM_PREL31 and - R_ARM_GOT_PREL. Remove R_ARM_TARGET1. - (elf32_arm_gc_sweep_hook): Ditto. - (elf32_arm_check_relocs): Ditto. - (elf32_arm_relocate_section): Handle R_ARM_GOT_PREL. - * elfarm-nabi.c (elf32_arm_howto_table): Add R_ARM_PREL31 and - R_ARM_GOT_TARGET2. - (elf32_arm_got_prel): New variable. - (elf32_arm_howto_from_type): New function. - (elf32_arm_info_to_howto): Use it. - (elf32_arm_reloc_map): Add BFD_RELOC_ARM_PREL31 and - BFD_RELOC_ARM_TARGET2. - * libbfd.h: Regenerate. - * reloc.c: Add BFD_RELOC_ARM_TARGET2 and BFD_RELOC_ARM_PREL31. - -2004-09-17 Alan Modra <amodra@bigpond.net.au> - - * ecoff.c: Update u.undef.next refs. - * elf64-ppc.c: Likewise. - * elflink.c: Likewise. - * linker.c: Likewise. - * xcofflink.c: Likewise. - - * elf-bfd.h (struct elf_link_hash_entry): Rearrange. Add FIXME to - dynamic_def. Combine weakdef and elf_hash_value. Move vtable - fields to indirect struct. - * elf-m10300.c: Update u.weakdef refs. - * elf32-arm.h: Likewise. - * elf32-cris.c: Likewise. - * elf32-frv.c: Likewise. - * elf32-hppa.c: Likewise. - * elf32-i370.c: Likewise. - * elf32-i386.c: Likewise. - * elf32-m32r.c: Likewise. - * elf32-m68k.c: Likewise. - * elf32-ppc.c: Likewise. - * elf32-s390.c: Likewise. - * elf32-sh.c: Likewise. - * elf32-sparc.c: Likewise. - * elf32-vax.c: Likewise. - * elf32-xtensa.c: Likewise. - * elf64-alpha.c: Likewise. - * elf64-hppa.c: Likewise. - * elf64-ppc.c: Likewise. - * elf64-s390.c: Likewise. - * elf64-sh64.c: Likewise. - * elf64-sparc.c: Likewise. - * elf64-x86-64.c: Likewise. - * elfxx-ia64.c: Likewise. - * elfxx-mips.c: Likewise. - * elflink.c: Likewise. Also u.elf_hash_value. - (elf_gc_propagate_vtable_entries_used): Update for h->vtable - indirection. - (elf_gc_smash_unused_vtentry_relocs): Likewise. - (bfd_elf_gc_record_vtinherit): Alloc vtable. - (bfd_elf_gc_record_vtentry): Likewise. - * elf.c (_bfd_elf_link_hash_newfunc): Use memset. - -2004-09-17 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - * bfd-in2.h: Regenerate. - * po/SRC-POTFILES.in: Regenerate. - * po/bfd.pot: Regenerate. - -2004-09-16 Alan Modra <amodra@bigpond.net.au> - - * elf-bfd.h (struct elf_link_hash_entry): Replace elf_link_hash_flags - with bitfields. Make "type" and "other" bitfields too. - (ELF_LINK_HASH_REF_REGULAR, ELF_LINK_HASH_DEF_REGULAR, - ELF_LINK_HASH_REF_DYNAMIC, ELF_LINK_HASH_DEF_DYNAMIC, - ELF_LINK_HASH_REF_REGULAR_NONWEAK, ELF_LINK_HASH_DYNAMIC_ADJUSTED, - ELF_LINK_HASH_NEEDS_COPY, ELF_LINK_HASH_NEEDS_PLT, ELF_LINK_NON_ELF, - ELF_LINK_HIDDEN, ELF_LINK_FORCED_LOCAL, ELF_LINK_HASH_MARK, - ELF_LINK_NON_GOT_REF, ELF_LINK_DYNAMIC_DEF, ELF_LINK_DYNAMIC_WEAK, - ELF_LINK_POINTER_EQUALITY_NEEDED): Delete. - (ELF_COMMON_DEF_P, WILL_CALL_FINISH_DYNAMIC_SYMBOL): Update. - * elf-hppa.h: Update all uses of elf_link_hash_flags. - * elf-m10300.c: Likewise. - * elf.c: Likewise. - * elf32-arm.h: Likewise. - * elf32-cris.c: Likewise. - * elf32-frv.c: Likewise. - * elf32-hppa.c: Likewise. - * elf32-i370.c: Likewise. - * elf32-i386.c: Likewise. - * elf32-m32r.c: Likewise. - * elf32-m68k.c: Likewise. - * elf32-ppc.c: Likewise. - * elf32-s390.c: Likewise. - * elf32-sh-symbian.c: Likewise. - * elf32-sh.c: Likewise. - * elf32-sh64.c: Likewise. - * elf32-sparc.c: Likewise. - * elf32-vax.c: Likewise. - * elf32-xtensa.c: Likewise. - * elf64-alpha.c: Likewise. - * elf64-hppa.c: Likewise. - * elf64-ppc.c: Likewise. - * elf64-s390.c: Likewise. - * elf64-sh64.c: Likewise. - * elf64-sparc.c: Likewise. - * elf64-x86-64.c: Likewise. - * elflink.c: Likewise. - * elfxx-ia64.c: Likewise. - * elfxx-mips.c: Likewise. - * configure.in (AM_INIT_AUTOMAKE): Set version to 2.15.92. - * configure: Regenerate. - * aclocal.m4: Regenerate. - -2004-09-16 Alan Modra <amodra@bigpond.net.au> - - * elf32-arm.h (elf32_arm_gc_sweep_hook): Add #ifndef OLD_ARM_ABI - around uses of R_ARM_TARGET1. - (elf32_arm_check_relocs): Likewise. - -2004-09-13 Paul Brook <paul@codesourcery.com> - - * bfd-in.h (bfd_elf32_arm_process_before_allocation): Update - prototype. - * bfd-in2.h: Regenerate. - * libbfd.h: Regenerate. - * elf32-arm.h (elf32_arm_link_hash_table): Add target1_is_rel. - (elf32_arm_link_hash_table_create): Set target1_is_rel. - (bfd_elf32_arm_process_before_allocation): Ditto. - (elf32_arm_final_link_relocate): Handle R_ARM_TARGET1. - (elf32_arm_gc_sweep_hook, elf32_arm_check_relocs): Ditto. - * elfarm-nabi.c (elf32_arm_howto_table): Rename RELABS to TARGET1. - * reloc.c: Ditto. - -2004-09-10 Joel Brobecker <brobecker@gnat.com> - - * hpux-core.c (thread_section_p): New function. - (hpux_core_core_file_p): Fix computation of offset in call - to bfd_seek. Create a ".reg" section from an arbitrary - ".reg/<id>" section if none was created after having read - all sections. - -2004-09-11 Andreas Schwab <schwab@suse.de> - - * acinclude.m4: Fix spelling of ACX_NONCANONICAL_*. - * aclocal.m4: Rebuild. - * configure: Rebuild. - -2004-09-10 Joel Brobecker <brobecker@gnat.com> - - * section.c (bfd_sections_find_if): Fix parameter name in - comment to match code. - -2004-09-10 Alan Modra <amodra@bigpond.net.au> - - * elf.c (assign_file_positions_except_relocs): Assign relocs - stored in a bfd section. - -2004-09-08 Hans-Peter Nilsson <hp@axis.com> - - * elf32-cris.c (elf_cris_adjust_gotplt_to_got): Reset - h->gotplt_refcount to 0, not -1. - -2004-09-07 Hans-Peter Nilsson <hp@axis.com> - - * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_16_GOTPLT, - case R_CRIS_32_GOTPLT>: For internal error message, handle NULL - symname. - (cris_elf_check_relocs) <case R_CRIS_32_PLT_PCREL>: Don't try to - handle symbol visibility here. - -2004-09-07 Alan Modra <amodra@bigpond.net.au> - - * elf64-ppc.c (struct ppc_link_hash_table): Add stub_globals. - (is_ppc64_elf_target): Rename from is_ppc64_target. Update all - callers. - (ppc_stub_name): Remove trailing "+0" on stub name. - (create_linkage_sections): Create relocations for - branch lookup table when --emit-relocs as well as when --shared. - (ppc_build_one_stub): Emit relocs for long branch stubs. Adjust - relbrlt test. For --emit-stub-syms, always output a sym even when - one already exists on a plt call stub. Put stub type in the stub - symbol name. - (ppc_size_one_stub): Size long branch stub relocs. Adjust relbrlt - test. - (ppc64_elf_size_stubs): Count global sym stubs added. Zero - reloc_count in stub sections. Adjust relbrlt test. - (ppc64_elf_build_stubs): Adjust relbrlt test. Tweak stats output. - * elflink.c (bfd_elf_size_dynamic_sections): Fix comment typo. - (elf_link_input_bfd): Ignore symbol index zero relocs when checking - for relocs against discarded symbols. Fix comments. - -2004-09-06 Mark Mitchell <mark@codesourcery.com> - - * elf-bfd.h (_bfd_elf_make_dynamic_segment): Declare it. - * elf.c (_bfd_elf_make_dynamic_segment): New function, split out - from ... - (map_sections_to_segments): ... here. Use it. Assign a file - position to the .dynamic section if it is not loadable, but part - of the PT_DYNAMIC segment. - * elf32-arm.h (elf32_arm_finish_dynamic_sections): Use file - offsets, not VMAs, for the BPABI. Do not fill in the header in - the .got.plt section for the BPABI. - * elfarm-nabi.c (elf32_arm_symbian_modify_segment_map): Add a - PT_DYNAMIC segment. - (elf_backend_want_got_plt): Define to zero for Symbian OS. - -2004-09-06 Nick Clifton <nickc@redhat.com> - - * elflink.c (elf_link_add_object_symbols): Set the error code to - bfd_error_wrong_format when the input format does not match the - output format. - -2004-09-06 Alan Modra <amodra@bigpond.net.au> - - * elf64-ppc.c (is_ppc64_target): New function, extracted from.. - (ppc64_elf_check_directives): ..here. - (ppc64_elf_size_dynamic_sections): Use it here to check bfd type - before accessing ppc64_elf_tdata. - (ppc64_elf_finish_dynamic_sections): And here too. - -2004-09-04 Alan Modra <amodra@bigpond.net.au> - - * bfd.c (_bfd_default_error_handler): Correct loop exit. - -2004-09-03 Mark Mitchell <mark@codesourcery.com> - - * config.bfd (arm*-*-symbianelf*): Use OS-specific target vectors. - * configure.in (bfd_elf32_bigarm_symbian_vec): Add it. - (bfd_elf32_littlearm_symbian_vec): Likewise. - * configure: Regenerated. - * elf-bfd.h (elf_backend_data): Add dynamic_sec_flags. - * elf32-arm.h (PLT_HEADER_SIZE): Do not define. - (PLT_ENTRY_SIZE): Likewise. - (bfd_vma_elf32_arm_symbian_plt_entry): New - variable. - (elf32_arm_link_hash_table): Add plt_header_size, plt_entry_size, - and symbian_p. - (create_got_section): Don't create sections when generating BPABI - objects. - (elf32_arm_create_dynamic_sections): Tidy. - (elf32_arm_link_hash_table_create): Set plt_header_size, - plt_entry_size, and symbian_p. - (elf32_arm_check_relocs): Do not mark .rel.dyn as loadable when - generating BPABI objects. - (allocate_dynrelocs): Use htab->plt_header_size, not - PLT_HEADER_SIZE. Do not add to .got.plt when - generating BPABI objects. - (elf32_arm_finish_dynamic_symbol): Generate Symbian OS PLTs. - * elfarm-nabi.c: Add SymbianOS target vectors. - * elflink.c (_bfd_elf_create_got_section): Use dynamic_sec_flags. - (_bfd_elf_link_create_dynamic_sections): Likewise. - * elfxx-target.h (ELF_DYNAMIC_SEC_FLAGS): New macro. - (elfNN_bed): Use it. - * targets.c (bfd_elf32_bigarm_symbian_vec): New variable. - (bfd_elf32_littlearm_symbian_vec): Likewise. - (_bfd_target_vector): Add them. - -2004-09-03 Nick Clifton <nickc@redhat.com> - - PR 360 - * coffcode.h (handle_COMDAT): Replace abort with an warning - message and allow the scan to continue. - -2004-09-02 Alan Modra <amodra@bigpond.net.au> - - * elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Use static_syms passed - in when reading relocs, not our sorted syms. Remove unnecessary - var. - -2004-08-31 Eric Botcazou <ebotcazou@libertysurf.fr> - - * elf.c (special_sections): Add .gnu.linkonce.b modelled on .bss. - -2004-08-30 Nathanael Nerode <neroden@gcc.gnu.org> - - * acinclude.m4: Require AC_CANONICAL_TARGET, not AC_CANONICAL_SYSTEM. - Include ../config/acx.m4 and use ACX_NONCANONICAL_* where appropriate; - replace uses of *_alias with *_noncanonical. - * aclocal.m4: Rebuild with aclocal 1.4p6. - * Makefile.in: Rebuild with automake 1.4p6. - * doc/Makefile.in: Rebuild with automake 1.4p6. - * configure.in: Autoupdate with autoupdate 2.59. - * config.in: Regenerate with autoheader 2.59. - * configure: Regnerate with autoconf 2.59. - -2004-08-28 Alan Modra <amodra@bigpond.net.au> - - * elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Copy input - symbol pointer arrays before modifying. - -2004-08-28 Alan Modra <amodra@bigpond.net.au> - - * bfd.c (bfd_get_synthetic_symtab): Pass counts and both symbol tables. - * elf-bfd.h (_bfd_elf_get_synthetic_symtab): Adjust. - * elf.c (_bfd_elf_get_synthetic_symtab): Adjust. - * libbfd-in.h (_bfd_nodynamic_get_synthetic_symtab): Adjust. - * targets.c (struct bfd_target <_bfd_get_synthetic_symtab>): Adjust. - * elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Don't read symbols. - Use both symbol tables on non-relocatable objects. Use a common - error exit. Fix "mid" warning. - * libbfd.h: Regenerate. - * bfd-in2.h: Regenerate. - -2004-08-28 Alan Modra <amodra@bigpond.net.au> - - * elf64-ppc.c (ppc64_elf_branch_reloc): Check .opd is in a regular - object file. - (struct sfpr_def_parms): Save some space. - (sfpr_define): Here too. - - * elf64-ppc.c (compare_symbols): Put section syms first. - (sym_exists_at): New function. - (ppc64_elf_get_synthetic_symtab): Use relocs to find code entry - points only for relocatable files. Use .opd section contents - otherwise. Generally clean up the code. - -2004-08-27 Alan Modra <amodra@bigpond.net.au> - - * elf64-ppc.c (STD_R0_0R1, STD_R0_0R12, LD_R0_0R1, LD_R0_0R12, - LI_R12_0, STVX_VR0_R12_R0, LVX_VR0_R12_R0, MTLR_R0, SFPR_MAX): Define. - (struct sfpr_def_parms): New. - (sfpr_define): New function. - (savegpr0, savegpr0_tail, restgpr0, restgpr0_tail): New functions. - (savegpr1, savegpr1_tail, restgpr1, restgpr1_tail): New functions. - (savefpr, savefpr0_tail, restfpr, restfpr0_tail): New functions. - (savefpr1_tail, restfpr1_tail): New functions. - (savevr, savevr_tail, restvr, restvr_tail): New functions. - (MIN_SAVE_FPR, MAX_SAVE_FPR): Don't define. - (ppc64_elf_func_desc_adjust): Use sfpr_define in place of existing - code. Define all ABI mandated _save and _rest functions. - -2004-08-26 Paul Brook <paul@codesourcery.com> - - * elf32-arm.h (INTERWORK_FLAG): Return true for EABIv3 objects. - -2004-08-26 Alan Modra <amodra@bigpond.net.au> - - * elf32-m32r.c (m32r_elf_relocate_section): Don't compare with - TRUE or FALSE. - -2004-08-26 Alan Modra <amodra@bigpond.net.au> - - * elf32-i386.c (elf_i386_relocate_section): Tweak last change so - that pcrel correction is applied for R_386_PC32. - -2004-08-25 Alan Modra <amodra@bigpond.net.au> - - * elf32-i386.c (elf_i386_relocate_section): Zero section contents - for R_386_32 and R_386_PC32 relocs against symbols defined in - discarded sections. - -2004-08-25 Dmitry Diky <diwil@spec.ru> - - * reloc.c (BFD_RELOC_MSP430_2X_PCREL,BFD_RELOC_MSP430_RL_PCREL): - Add new relocations. - * bfd-in2.h: Regenerate. - * libbfd.h: Regenerate. - * elf32-msp430.c: Clean-up code. - (elf_msp430_howto_table): Add new relocation entries. - (bfd_elf32_bfd_reloc_type_lookup): New relocation handlers. - (msp430_elf_relax_section): New function. - (msp430_elf_relax_delete_bytes): New function. - (msp430_elf_symbol_address_p): New function. - -2004-08-24 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> - - * elf32-m32r.c (m32r_elf_relocate_section): Handle - R_M32R_SDA16_RELA in the same way as R_M32R_SDA16. - -2004-08-20 Daniel Jacobowitz <dan@debian.org> - - * elflink.c (_bfd_elf_section_already_linked): Handle - SEC_LINK_DUPLICATES_SAME_CONTENTS. - -2004-08-19 Mark Mitchell <mark@codesourcery.com> - - * config.bfd (arm*-*-symbianelf*): New target. - (arm*-*-eabi*): Likewise. - -2004-08-19 Alan Modra <amodra@bigpond.net.au> - - * elf64-ppc.c (ppc_get_stub_entry): Change third param to a - "struct ppc_link_hash_entry *". - (ppc64_elf_relocate_section): Ditto for type of h. Introduce h_elf - to satisfy RELOC_FOR_GLOBAL_SYMBOL. - -2004-08-19 Jakub Jelinek <jakub@redhat.com> - - * elf64-ppc.c (ppc64_elf_edit_opd): Support 16 byte long .opd - entries (where fd_aux overlaps next entry's fd_func). - Add non_overlapping argument, use it. - (ppc64_elf_check_relocs, ppc64_elf_gc_mark_hook, adjust_opd_syms, - ppc64_elf_size_stubs, ppc64_elf_relocate_section, - ppc64_elf_output_symbol_hook): Use address / 8 instead of address / 24 - as indexes into opd_sym_map/opd_adjust array. - * elf64-ppc.h (ppc64_elf_edit_opd): Adjust prototype. - -2004-08-18 Alan Modra <amodra@bigpond.net.au> - - * elf64-ppc.c (func_desc_adjust): Give undefined dot-symbols a value - if we can look up their function descriptor in a regular file. - -2004-08-18 Nick Clifton <nickc@redhat.com> - - PR 324 - * cofflink.c (coff_link_add_symbols): Check that the comdat - pointer in the coff_section_data structure has been initialised - before using it. - -2004-08-18 Alan Modra <amodra@bigpond.net.au> - - PR 338 - * elflink.c (bfd_elf_record_link_assignment): Add comment about - changing bfd_link_hash_undefined to bfd_link_hash_new. - -2004-08-17 Jakub Jelinek <jakub@redhat.com> - - * elfxx-target.h (bfd_elfNN_get_synthetic_symtab): Only define - if not yet defined. - * elf64-ppc.c (bfd_elf64_get_synthetic_symtab): Define. - (synthetic_opd, synthetic_relocatable): New variables. - (compare_symbols, compare_relocs): New helper routines. - (ppc64_elf_get_synthetic_symtab): New function. - * bfd.c (bfd_get_synthetic_symtab): Rename dynsyms argument - to relsyms. - * bfd-in2.h: Regenerated. - * elf.c (_bfd_elf_get_synthetic_symtab): Rename dynsyms argument - to relsyms. Return 0 if abfd is relocatable. - -2004-08-17 Alan Modra <amodra@bigpond.net.au> - - * elflink.h (elf_gc_sweep): Keep non-alloc, non-load sections. - -2004-08-17 Nick Clifton <nickc@redhat.com> - - * (is_arm_mapping_symbol_name): New function - return true - when a symbol name matches the requirements for an ARM mapping - symbol name. - (arm_elf_find_function): New function based on - elf_find_function in elf.c but skipping ARM mapping symbols - and including thumb function symbols. - (elf32_arm_find_nearest_line): Use arm_elf_find_function. - (elf32_arm_output_symbol_hook): Use is_arm_mapping_symbol_name. - -2004-08-17 Alan Modra <amodra@bigpond.net.au> - - * elf64-ppc.c (ppc64_elf_branch_reloc): New function. - (ppc64_elf_howto_raw): Use ppc64_elf_branch_reloc. - (ppc64_elf_brtaken_reloc): Here too. - -2004-08-17 Alan Modra <amodra@bigpond.net.au> - - * elf64-ppc.c (add_symbol_adjust): Correct mismatched function - symbol visibility. - (ppc64_elf_check_directives): Check that we have the right hash - table before proceeding. - -2004-08-17 Alan Modra <amodra@bigpond.net.au> - - * elf64-ppc.c (struct ppc64_elf_obj_tdata): Add "deleted_section". - (adjust_opd_syms): Attach opd syms for deleted entries to one of - the sections that will be discarded. - -2004-08-16 Alan Modra <amodra@bigpond.net.au> - - * elflink.c (elf_section_complain_discarded): Ignore .fixup. - -2004-08-16 Alan Modra <amodra@bigpond.net.au> - - * bfd.c (_bfd_default_error_handler): Account for doubled '%' in - free space available. - -2004-08-16 Alan Modra <amodra@bigpond.net.au> - - * pdp11.c (struct pdp11_aout_reloc_external): Delete. Replace - occurrences with bfd_byte * thoughout file. - - * coff-rs6000.c (do_shared_object_padding): Warning fix. - (xcoff_write_armap_big): Likewise. - (xcoff_write_archive_contents_old): Likewise. - (xcoff_write_archive_contents_big): Likewise. - - * elf64-mmix.c (mmix_elf_get_section_contents): Delete declaration. - -2004-08-13 Nick Clifton <nickc@redhat.com> - - * elf32-arm.h: Convert to ISO C90. - -2004-08-13 Alan Modra <amodra@bigpond.net.au> - - PR 293 - * elf32-hppa.c (elf32_hppa_hide_symbol): Use init_refcount to - zero the plt field. - -2004-08-13 Alan Modra <amodra@bigpond.net.au> - - * bfd.c (_bfd_default_error_handler): Handle %A and %B. - (bfd_archive_filename, bfd_get_section_ident): Delete. - * ecofflink.c (bfd_ecoff_debug_accumulate_other): Don't call - bfd_archive_filename. - * elflink.c (elf_link_input_bfd): Don't use callbacks->error_handler - to warn about symbols in discarded sections. Use _bfd_error_handler. - * aout-adobe.c (aout_adobe_callback): See below. - * aout-cris.c (swap_ext_reloc_in): .. - * coff-arm.c (find_thumb_glue, find_arm_glue, - coff_arm_relocate_section, bfd_arm_process_before_allocation, - coff_arm_merge_private_bfd_data, _bfd_coff_arm_set_private_flags, - coff_arm_copy_private_bfd_data): .. - * coff-i860.c (i860_reloc_processing): .. - * coff-mcore.c (mcore_coff_unsupported_reloc, - coff_mcore_relocate_section): .. - * coff-ppc.c (coff_ppc_relocate_section): .. - * coff-rs6000.c (xcoff_create_csect_from_smclas - * coff-sh.c (sh_relax_section, sh_relax_delete_bytes, - sh_swap_insns, sh_relocate_section): .. - * coff-tic54x.c (tic54x_reloc_processing): .. - * coff-tic80.c (coff_tic80_relocate_section): .. - * coff64-rs6000.c (xcoff64_create_csect_from_smclas): .. - * coffcode.h (styp_to_sec_flags, coff_slurp_line_table, - coff_slurp_symbol_table, coff_classify_symbol, - coff_slurp_reloc_table): .. - * coffgen.c (_bfd_coff_read_string_table): .. - * cofflink.c (coff_link_add_symbols, _bfd_coff_link_input_bfd, - _bfd_coff_generic_relocate_section): .. - * cpu-arm.c (bfd_arm_merge_machines): .. - * cpu-sh.c (sh_merge_bfd_arch): .. - * elf-hppa.h (elf_hppa_relocate_section): .. - * elf.c (bfd_elf_string_from_elf_section, setup_group, - _bfd_elf_setup_group_pointers, bfd_section_from_shdr, - assign_section_numbers, _bfd_elf_symbol_from_bfd_symbol, - copy_private_bfd_data, _bfd_elf_validate_reloc): .. - * elf32-arm.h (find_thumb_glue, find_arm_glue, - bfd_elf32_arm_process_before_allocation, elf32_thumb_to_arm_stub, - elf32_arm_to_thumb_stub, elf32_arm_final_link_relocate, - elf32_arm_relocate_section, elf32_arm_set_private_flags, - elf32_arm_copy_private_bfd_data, elf32_arm_merge_private_bfd_data): .. - * elf32-cris.c (cris_elf_relocate_section, cris_elf_check_relocs, - cris_elf_merge_private_bfd_data - * elf32-frv.c (elf32_frv_relocate_section, elf32_frv_check_relocs): .. - * elf32-gen.c (elf32_generic_link_add_symbols): .. - * elf32-hppa.c (hppa_add_stub, hppa_build_one_stub, - elf32_hppa_check_relocs, get_local_syms, final_link_relocate, - elf32_hppa_relocate_section): .. - * elf32-i370.c (i370_elf_merge_private_bfd_data, - i370_elf_check_relocs, i370_elf_relocate_section): .. - * elf32-i386.c (elf_i386_info_to_howto_rel, elf_i386_check_relocs, - elf_i386_relocate_section): .. - * elf32-m32r.c (m32r_elf_relocate_section, - m32r_elf_merge_private_bfd_data): .. - * elf32-m68hc1x.c (m68hc12_add_stub, - _bfd_m68hc11_elf_merge_private_bfd_data): .. - * elf32-m68k.c (elf_m68k_relocate_section): .. - * elf32-mcore.c (mcore_elf_unsupported_reloc, - mcore_elf_relocate_section): .. - * elf32-ppc.c (ppc_elf_merge_private_bfd_data, bad_shared_reloc, - ppc_elf_check_relocs, ppc_elf_relocate_section, - ppc_elf_begin_write_processing): .. - * elf32-s390.c (elf_s390_check_relocs, invalid_tls_insn, - elf_s390_relocate_section): .. - * elf32-sh-symbian.c (sh_symbian_import_as, - sh_symbian_process_embedded_commands, - sh_symbian_relocate_section): .. - * elf32-sh.c (sh_elf_relax_section, sh_elf_relax_delete_bytes, - sh_elf_swap_insns, sh_elf_relocate_section, sh_elf_check_relocs, - sh_elf_merge_private_data): .. - * elf32-sparc.c (elf32_sparc_check_relocs, - elf32_sparc_relocate_section, - elf32_sparc_merge_private_bfd_data): .. - * elf32-v850.c (v850_elf_check_relocs, - v850_elf_merge_private_bfd_data): .. - * elf32-xtensa.c (elf_xtensa_check_relocs, - elf_xtensa_relocate_section, elf_xtensa_merge_private_bfd_data): .. - * elf64-alpha.c (elf64_alpha_relax_with_lituse, - elf64_alpha_relax_got_load, elf64_alpha_size_got_sections, - elf64_alpha_relocate_section_r, elf64_alpha_relocate_section): .. - * elf64-gen.c (elf64_generic_link_add_symbols): .. - * elf64-ppc.c (ppc64_elf_merge_private_bfd_data, ppc_add_stub, - ppc64_elf_check_relocs, ppc64_elf_edit_opd, - ppc64_elf_relocate_section): .. - * elf64-s390.c (elf_s390_check_relocs, invalid_tls_insn, - elf_s390_relocate_section): .. - * elf64-sh64.c (sh_elf64_relocate_section): .. - * elf64-sparc.c (sparc64_elf_check_relocs, - sparc64_elf_add_symbol_hook, sparc64_elf_relocate_section, - sparc64_elf_merge_private_bfd_data): .. - * elf64-x86-64.c (elf64_x86_64_check_relocs, - elf64_x86_64_relocate_section): .. - * elflink.c (_bfd_elf_add_default_symbol, - _bfd_elf_link_assign_sym_version, elf_link_read_relocs_from_section, - _bfd_elf_link_output_relocs, elf_link_add_object_symbols, - bfd_elf_size_dynamic_sections, elf_link_output_extsym, - elf_get_linked_section_vma, elf_fixup_link_order, - bfd_elf_final_link, bfd_elf_gc_record_vtinherit, - bfd_elf_gc_record_vtinherit, _bfd_elf_section_already_linked): .. - * elfxx-ia64.c (elfNN_ia64_relax_section, - elfNN_ia64_relocate_section, elfNN_ia64_merge_private_bfd_data): .. - * elfxx-mips.c (mips_elf_perform_relocation, - _bfd_mips_elf_check_relocs, - _bfd_mips_elf_merge_private_bfd_data): .. - * ieee.c (ieee_slurp_external_symbols): .. - * ihex.c (ihex_bad_byte, ihex_scan, ihex_read_section): .. - * libbfd.c (_bfd_generic_verify_endian_match): .. - * linker.c (_bfd_generic_link_add_one_symbol, - _bfd_generic_section_already_linked): .. - * pdp11.c (translate_to_native_sym_flags): .. - * pe-mips.c (coff_pe_mips_relocate_section): .. - * peicode.h (pe_ILF_build_a_bfd): .. - * srec.c (srec_bad_byte): .. - * stabs.c (_bfd_link_section_stabs): .. - * xcofflink.c (xcoff_link_add_symbols, xcoff_link_input_bfd): .. - Replace all uses of bfd_archive_filename and bfd_get_section_ident - with corresponding %B and %A in _bfd_error_handler format string. - Replace occurrences of "fprintf (stderr," with _bfd_error_handler - calls to use %A and %B. Fix "against symbol .. from section" and - similar error messages. Combine multiple _bfd_error_handler calls - where they were separated due to bfd_archive_filename deficiencies. - * bfd-in2.h: Regenerate. - -2004-08-12 H.J. Lu <hongjiu.lu@intel.com> - - * elf32-i386.c (elf_i386_relocate_section): Report unrecognized - relocation. - -2004-08-10 Alan Modra <amodra@bigpond.net.au> - - * elf64-ppc.c (struct ppc_link_hash_entry): Add was_undefined. - (struct ppc_link_hash_table): Remove no_multi_toc, multi_toc_needed. - Make emit_stub_syms, stub_error and has_14bit_branch bit-fields. - Add twiddled_syms. - (link_hash_newfunc): Init was_undefined. - (add_symbol_adjust): Don't set undefined dot symbols to defweak; - Use undefweak instead. - (ppc64_elf_check_directives): Fix undefs chain. - (ppc64_elf_next_toc_section): Remove no_multi_toc and multi_toc_needed - references. - (ppc64_elf_size_stubs): Adjust for add_symbol_adjust change. - (undo_symbol_twiddle, ppc64_elf_restore_symbols): New functions. - * elf64-ppc.h (ppc64_elf_restore_symbols): Declare. - -2004-08-09 Jakub Jelinek <jakub@redhat.com> - - * elf64-x86-64.c (elf64_x86_64_relocate_section): For -fno-pic - error, test input_section flags rather than sec. - -2004-08-09 Alan Modra <amodra@bigpond.net.au> - - * elf-bfd.h (struct elf_backend_data): Add - elf_backend_archive_symbol_lookup. - (_bfd_elf_archive_symbol_lookup): Declare. - * elflink.c (_bfd_elf_archive_symbol_lookup): New function.. - (elf_link_add_archive_symbols): ..extracted from here. Call the - backend version. - * elfxx-target.h (elf_backend_archive_symbol_lookup): Provide default. - (elfNN_bed): Init new field. - * elf64-ppc.c (elf_backend_check_directives): Define. - (elf_backend_archive_symbol_lookup): Define. - (struct ppc_link_hash_table): Add tls_get_add_fd. Make tls_get_add - a ppc_link_hash_entry pointer. - (get_fdh): Move. - (ppc64_elf_archive_symbol_lookup, opd_entry_value): New functions. - (add_symbol_adjust, ppc64_elf_check_directives): New functions. - (ppc64_elf_check_relocs, ppc64_elf_gc_mark_hook, func_desc_adjust, - ppc64_elf_adjust_dynamic_symbol, ppc64_elf_tls_setup, - ppc64_elf_tls_optimize, allocate_dynrelocs, ppc_type_of_stub, - ppc_build_one_stub, ppc64_elf_size_stubs, ppc64_elf_relocate_section, - ppc64_elf_finish_dynamic_symbol): Handle branch relocs to function - descriptor symbols. - -2004-08-09 Alan Modra <amodra@bigpond.net.au> - - * elf64-ppc.c (struct ppc_link_hash_entry): Expand adjust_done comment. - (ppc64_elf_add_symbol_hook): Test for NULL section. - (get_sym_h): Formatting. - (ppc64_elf_size_stubs): Include reloc addend in value stored as - stub target_value. - - * elf64-ppc.c (ppc64_elf_relocate_section): Combine handling of - long branch stubs with code handling plt and r2off branch stubs. - -2004-08-09 Alan Modra <amodra@bigpond.net.au> - - * elf-bfd.h (_bfd_elf_gc_mark): Declare. - * elflink.c (elf_link_input_bfd): Formatting. - (_bfd_elf_gc_mark): Rename from elf_gc_mark and make global. Adjust - all callers. - * elf64-ppc.c (struct ppc_link_hash_entry): Remove is_entry. - (link_hash_newfunc): Don't set it. - (ppc64_elf_copy_indirect_symbol): Nor copy it. - (ppc64_elf_mark_entry_syms): Delete. - (ppc64_elf_gc_mark_hook): Mark entry syms here. Also mark opd - sections. Use get_opd_info. - * elf64-ppc.h (ppc64_elf_mark_entry_syms): Delete. - -2004-08-09 Alan Modra <amodra@bigpond.net.au> - - * elf64-ppc.c (adjust_opd_syms): Fix merge error. - - * elf64-ppc.c (struct ppc_link_hash_table): Remove have_undefweak. - (func_desc_adjust): Don't set have_undefweak. - (ppc64_elf_func_desc_adjust): Don't add an extr nop to sfpr. - (ppc64_elf_relocate_section): NOP out calls to undefweak functions. - - * elf64-ppc.c (struct ppc_link_hash_entry): Make "oh" a - "struct ppc_link_hash_entry *". Adjust all references. - (ppc64_elf_hide_symbol): Correct a comment. - - * elf64-ppc.c (get_opd_info): New function. - (adjust_opd_syms): Use get_opd_info. Define removed symbols as zero. - (ppc64_elf_edit_opd): Use get_opd_info. Check that sym has a dot - before calling get_fdh. Test fdh rather than h before dereferencing - fdh. Mark removed symbols in opd_adjust. - (ppc64_elf_tls_optimize): Don't bother with opd adjustment here. - (ppc64_elf_relocate_section): Use get_opd_info, and handle removed - opd symbols. - (ppc64_elf_output_symbol_hook): Likewise. - -2004-08-06 Paul Brook <paul@codesourcery.com> - - * elfarm-nabi.c (elf32_arm_howto_table): Add new EABI relocations. - (elf32_arm_reloc_map): Add BFD_RELOC_ARM_RELABS32, - BFD_RELOC_ARM_ROSEGREL32 and BFD_RELOC_ARM_SBREL32. - * reloc.c: Add BFD_RELOC_ARM_RELABS32, BFD_RELOC_ARM_ROSEGREL32 - and BFD_RELOC_ARM_SBREL32. - * bfd-in2.h, bbfd.h: Regenerate. - -2004-08-01 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> - - * elfxx-mips.c (mips_elf_calculate_relocation): Test only for - the dynamic link symbol actually in use. - -2004-08-01 Stephane Carrez <stcarrez@nerim.fr> - - * elf32-m68hc1x.c (elf32_m68hc11_size_stubs): Handle bfd_link_hash_new - -2004-07-31 Joel Brobecker <brobecker@gnat.com> - Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> - - * elfxx-mips.c (_bfd_mips_elf_symbol_processing): Handle - SHN_MIPS_TEXT and SHN_MIPS_DATA. - -2004-07-30 H.J. Lu <hongjiu.lu@intel.com> - Nick Clifton <nickc@redhat.com> - - PR 290 - * bfd.c (_bfd_default_error_handler): Make it global. - - * elf-bfd.h (elf_backend_data): Add link_order_error_handler. - - * elf.c (assign_section_numbers): Cope gracefully with sections - which have SHF_LINK_ORDER set but no sh_link set up. - * elflink.c (elf_get_linked_section_vma): Likewise. - - * elfxx-ia64.c (elf_backend_link_order_error_handler): New. Set - it to NULL. - - * elfxx-target.h (elf_backend_link_order_error_handler): New. - Set it to _bfd_default_error_handler. - (elfNN_bed): Add elf_backend_link_order_error_handler. - - * libbfd-in.h (_bfd_default_error_handler): New. - - * libbfd.h: Regenerated. - -2004-07-30 Jakub Jelinek <jakub@redhat.com> - - * archures.c (bfd_mach_sparc_64bit_p): Define. - * elf32-sparc.c (elf32_sparc_merge_private_bfd_data): Use it. - * bfd-in2.h: Rebuilt. - -2004-07-29 Alexandre Oliva <aoliva@redhat.com> - - Introduce SH2a support. - 2004-02-18 Corinna Vinschen <vinschen@redhat.com> - * archures.c (bfd_mach_sh2a_nofpu): New. - * bfd-in2.h: Rebuilt. - * cpu-sh.c (SH2A_NOFPU_NEXT): New. - (arch_info_struct): Add sh2a_nofpu. - * elf32-sh.c (sh_elf_set_mach_from_flags): Handle sh2a_nofpu. - 2003-12-29 DJ Delorie <dj@redhat.com> - * reloc.c: Add relocs for sh2a. - * bfd-in2.h: Regenerate. - * libbfd.hh: Regenerate. - 2003-12-01 Michael Snyder <msnyder@redhat.com> - * archures.c (bfd_mach_sh2a): New. - * bfd-in2.h: Rebuilt. - * cpu-sh.c (SH_NEXT, SH2_NEXT, etc.): Change defines to enums. - (SH2A_NEXT): New. - (arch_info_struct): Add sh2a. - * elf32-sh.c (sh_elf_set_mach_from_flags): Handle sh2a. - -2004-07-28 Nick Clifton <nickc@redhat.com> - John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - PR 273 - * som.c (setup_sections): Improve estimation of space sizes in - relocatable objects. - -2004-07-27 Jason Thorpe <thorpej@wasabisystems.com> - * config.bfd (hppa*-*-netbsd*): Set targ_defvec to - bfd_elf32_hppa_nbsd_vec. Add bfd_elf32_hppa_linux_vec - to targ_selvecs. - * configure.in (bfd_elf32_hppa_nbsd_vec): Add case. - * configure: Regenerate. - * elf32-hppa.c (elf32_hppa_object_p): Add "elf32-hppa-netbsd" - case that accepts OSABI=NetBSD and OSABI=SysV. - (elf32_hppa_set_gp): For "elf32-hppa-netbsd", set the GP to - the base of .got or .data (if .got does not exist). - (elf32_hppa_post_process_headers): For elf32-hppa-netbsd, - set OSABI=NetBSD. - (TARGET_BIG_SYM): Add bfd_elf32_hppa_nbsd_vec case. - (TARGET_BIG_NAME): Add "elf32-hppa-netbsd" case. - * targets.c (bfd_elf32_hppa_nbsd_vec): Add extern declaration. - (_bfd_target_vector): Add bfd_elf32_hppa_nbsd_vec. - -2004-07-27 H.J. Lu <hongjiu.lu@intel.com> - - PR 161/251 - * elf-bfd.h (bfd_elf_section_data): Add sec_group. - (elf_sec_group): Defined. - (bfd_elf_match_symbols_in_sections): New prototype. - (_bfd_elf_setup_group_pointers): Likewise. - - * elf.c (bfd_elf_discard_group): Abort. - (bfd_elf_set_group_contents): Also include relocation sections. - Remove zero-fill for ld -r. - (_bfd_elf_setup_group_pointers): New function. - (elf_sort_elf_symbol): Likewise. - (elf_sym_name_compare): Likewise. - (bfd_elf_match_symbols_in_sections): Likewise. - - * elfcode.h (elf_object_p): Call _bfd_elf_setup_group_pointers. - - * elflink.c (match_group_member): New. - (elf_link_input_bfd): Check group member for discarded section. - (try_match_symbols_in_sections): New function. - (already_linked): Likewise. - (_bfd_elf_section_already_linked): Support mixing comdat group - and linkonce section. - - * libbfd-in.h (bfd_section_already_linked_table_traverse): New. - * linker.c (bfd_section_already_linked_table_traverse): New. - - * libbfd.h: Regenerated. - -2004-07-27 Tomer Levi <Tomer.Levi@nsc.com> - - * reloc.c: Add BFD_RELOC_CRX_SWITCH8, BFD_RELOC_CRX_SWITCH16, - BFD_RELOC_CRX_SWITCH32. - * bfd-in2.h: Regenerate. - * libbfd.h: Regenerate. - * elf32-crx.c: Support relocation/relaxation of - BFD_RELOC_CRX_SWITCH* types. - -2004-07-27 Alan Modra <amodra@bigpond.net.au> - - * elf64-ppc.c: Correct "Linker stubs" comment. - -2004-07-26 H.J. Lu <hongjiu.lu@intel.com> - - * elf-bfd.h (bfd_elf_section_data): Add a pointer for the - linked-to section. - (elf_linked_to_section): New. - - * elf.c (assign_section_numbers): Set up sh_link for - SHF_LINK_ORDER. - - * elfxx-ia64.c (elfNN_ia64_final_write_processing): Set sh_info - to sh_link for SHT_IA_64_UNWIND sections. - -2004-07-22 H.J. Lu <hongjiu.lu@intel.com> - - * elflink.c (elf_fixup_link_order): Add _() to error message. - -2004-07-22 H.J. Lu <hongjiu.lu@intel.com> - - * elflink.c (elf_fixup_link_order): Issue a warning and flag - an error if failed. - -2004-07-21 H.J. Lu <hongjiu.lu@intel.com> - - * aout-adobe.c (aout_32_section_already_linked): Defined. - * aout-target.h (MY_section_already_linked): Likewise. - * aout-tic30.c (MY_section_already_linked): Likewise. - * binary.c (binary_section_already_linked): Likewise. - * bout.c (b_out_section_already_linked): Likewise. - * coff-alpha.c (_bfd_ecoff_section_already_linked): Likewise. - * coff-mips.c (_bfd_ecoff_section_already_linked): Likewise. - * coffcode.h (coff_section_already_linked): Likewise. - * i386msdos.c (msdos_section_already_linked): Likewise. - * i386os9k.c (os9k_section_already_linked): Likewise. - * ieee.c (ieee_section_already_linked): Likewise. - * ihex.c (ihex_section_already_linked): Likewise. - * mach-o.c (bfd_mach_o_section_already_linked): Likewise. - * mmo.c (mmo_section_already_linked): Likewise. - * nlm-target.h (nlm_section_already_linked): Likewise. - * oasys.c (oasys_section_already_linked): Likewise. - * pef.c (bfd_pef_section_already_linked): Likewise. - * ppcboot.c (ppcboot_section_already_linked): Likewise. - * som.c (som_bfd_discard_group): Likewise. - * srec.c (srec_section_already_linked): Likewise. - * tekhex.c (tekhex_section_already_linked): Likewise. - * versados.c (versados_section_already_linked): Likewise. - * vms.c (vms_section_already_linked): Likewise. - * coff-target.h (_bfd_xcoff_section_already_linked): Likewise. - * xsym.c (bfd_sym_section_already_linked): Likewise. - - * bfd-in.h (bfd_section_already_linked_table_init): New. - (bfd_section_already_linked_table_free): Likewise. - - * coff-rs6000.c (rs6000coff_vec): Add - _bfd_generic_section_already_linked. - (pmac_xcoff_vec): Likewise. - * coff64-rs6000.c (rs6000coff64_vec): Likewise. - (aix5coff64_vec): Likewise. - - * elf-bfd.h (_bfd_elf_section_already_linked): New prototype. - * elflink.c (_bfd_elf_section_already_linked): New function. - - * elfxx-target.h (bfd_elfNN_section_already_linked): Defined. - - * libbfd-in.h (_bfd_nolink_section_already_linked): Defined. - (_bfd_generic_section_already_linked): New. - (bfd_section_already_linked_hash_entry): Likewise. - (bfd_section_already_linked): Likewise. - (bfd_section_already_linked_table_lookup): Likewise. - (bfd_section_already_linked_table_insert): Likewise. - - * linker.c (bfd_section_already_linked): New. - (_bfd_section_already_linked_table): Likewise. - (bfd_section_already_linked_table_lookup): Likewise. - (bfd_section_already_linked_table_insert): Likewise. - (already_linked_newfunc): Likewise. - (bfd_section_already_linked_table_init): Likewise. - (bfd_section_already_linked_table_free): Likewise. - (_bfd_generic_section_already_linked): Likewise. - - * section.c (bfd_section): Remove comdat. - (bfd_comdat_info): Moved to ... - * bfd-in.h (coff_comdat_info): Here. - (bfd_coff_get_comdat_section): New. - * coffgen.c (bfd_coff_get_comdat_section): Likewise. - * libcoff-in.h (coff_section_tdata): Add comdat. - * coffcode.h (handle_COMDAT): Updated. - * cofflink.c (coff_link_add_symbols): Likewise. - * ecoff.c (bfd_debug_section): Likewise. - - * targets.c (bfd_target): Add _section_already_linked. - (BFD_JUMP_TABLE_LINK): Updated. - - * bfd-in2.h: Regenerated. - * libbfd.h: Likewise. - * libcoff.h: Likewise. - -2003-07-21 Paul Brook <paul@codesourcery.com> - - * elflink.c (elf_get_linked_section_vma, compare_link_order, - elf_fixup_link_order): New functions. - (bfd_elf_final_link): Call elf_fixup_link_order. - -2004-07-21 Alexandre Oliva <aoliva@redhat.com> - - * elf-bfd.h (ELF_COMMON_DEF_P): New. - * elflink.c (_bfd_elf_symbol_refs_local_p): Use it to handle - common definitions. - * elf-m10300.c: Use SYMBOL_REFERENCES_LOCAL instead of - _bfd_elf_symbol_refs_local_p. - * elf32-frv.c (FRVFDPIC_SYM_LOCAL): Remove hack for common - symbols. - -2004-07-19 H.J. Lu <hongjiu.lu@intel.com> - - * bfd-in.h (dynamic_lib_link_class): Add DYN_NO_ADD_NEEDED and - DYN_NO_NEEDED. - (bfd_elf_get_dyn_lib_class): New prototype. - * elf.c (bfd_elf_get_dyn_lib_class): New function. - - * elflink.c (elf_link_add_object_symbols): Check DYN_AS_NEEDED, - DYN_DT_NEEDED and DYN_NO_NEEDED bits to see if a DT_NEEDED - entry is needed. Issue an error if a DT_NEEDED entry is needed - for a file marked DYN_NO_NEEDED. - (elf_link_check_versioned_symbol): Check the DYN_DT_NEEDED bit - for DT_NEEDED tags. - - * bfd-in2.h: Regenerated. - -2004-07-14 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - * elflink.c (elf_section_complain_discarded): Don't complain in - .PARISC.unwind. - -2004-07-10 James E Wilson <wilson@specifixinc.com> - - * elfxx-ia64.c (elfNN_ia64_relax_ldxmov): Remove abfd parameter. - (elfNN_ia64_install_value, elfNN_ia64_relax_brl): Likewise. - (elfNN_ia64_relax_section, elfNN_ia64_relocate_section, - elfNN_ia64_finish_dynamic_symbol, elfNN_ia64_finish_dynamic_sections): - Fix callers. - (elfNN_ia64_relax_brl): Change bfd_get_64 to bfd_getl64. Change - bfd_put_64 to bfd_putl64. - (elfNN_ia64_relax_ldxmov, elfNN_ia64_install_value): Likewise. - -2004-07-09 H.J. Lu <hongjiu.lu@intel.com> - - PR 240 - * elfxx-ia64.c (elfNN_ia64_relax_section): Only warn br in - .init/.fini sections when trying to relax it. - -2004-07-09 Jie Zhang <zhangjie@magima.com.cn> - - * elf.c (assign_file_positions_for_segments): Make sure the - .dynamic section is the first section in the PT_DYNAMIC segment. - -2004-07-09 Nick Clifton <nickc@redhat.com> - - * config.bfd: Change sh-sybmian-elf to sh-*-symbianelf. - * elf32-sh-symbian.c: Rename the sh_find_elf_flags and - sh_elf_get_flags_from_mach functions so that they do not conflict - when this target is built with other sh-elf targets. - * elf32-sh.c (sh_elf_get_flags_from_mach): Remove bogus - suppression of this function. - (sh_elf_find_flags): Likewise. - -2004-07-07 Tomer Levi <Tomer.Levi@nsc.com> - - * Makefile.am (ALL_MACHINES): Add cpu-crx.lo. - (ALL_MACHINES_CFILES): Add cpu-crx.c. - (BFD32_BACKENDS): Add elf32-crx.lo. - (BFD32_BACKENDS_CFILES): Add elf32-crx.c. - (cpu-crx.lo): New target. - (elf32-crx.lo): New target. - * Makefile.in: Regenerate. - * archures.c (bfd_architecture): Add bfd_{arch,mach}_crx. - (bfd_archures_list): Add bfd_crx_arch. - * bfd-in2.h: Regenerate. - * config.bfd: Handle crx-*-elf*, crx*. - * configure.in: Handle bfd_elf32_crx_vec. - * configure: Regenerate. - * cpu-crx.c: New file. - * elf32-crx.c: Likewise. - * libbfd.h: Regenerate. - * reloc.c: Add BFD_RELOC_CRX_REL4, BFD_RELOC_CRX_REL8, - BFD_RELOC_CRX_REL8_CMP, BFD_RELOC_CRX_REL16, BFD_RELOC_CRX_REL24, - BFD_RELOC_CRX_REL32, BFD_RELOC_CRX_REGREL12, BFD_RELOC_CRX_REGREL22, - BFD_RELOC_CRX_REGREL28, BFD_RELOC_CRX_REGREL32, BFD_RELOC_CRX_ABS16, - BFD_RELOC_CRX_ABS32, BFD_RELOC_CRX_NUM8, BFD_RELOC_CRX_NUM16, - BFD_RELOC_CRX_NUM32, BFD_RELOC_CRX_IMM16 and BFD_RELOC_CRX_IMM32 - * targets.c (bfd_elf32_crx_vec): Declare. - (bfd_target_vector): Add bfd_elf32_crx_vec. - -2004-07-06 Nick Clifton <nickc@redhat.com> - - * config.bfd: Add sh-symbian-elf target. - * configure.in: Add bfd_elf32_shl_symbian_vec. - * configure: Regenerate. - * elf-bfd.h (struct elf_backend_data): Add new field - 'check_directives'. - * elflink.c (elf_link_add_object_symbols): Invoke the - check_directives function, if defined. - * elfxx-target.h: Provide a default, NULL definition for - check_directives. - * targets.c: Add bfd_elf32_shl_symbian_vec. - * elf32-sh.c (sh_elf_swap_insns): Protect against unnecessary - definition. - (elf32_shlin_grok_prstatus, elf32_shlib_grok_psinfo, - * sh_elf_get_flags_from_mach, sh_elf_find_flags): Likewise. - (TARGET_BIG_SYM, TARGET_LITTLE_SYM): Only define if they have - not already been defined. - * elf32-sh64.c: Use SH_TARGET_ALREADY_DEFINED. - * sh-symbian.c: New file. Provide functions to support the - * sh-symbian-elf target. - * Makefile.am: Add elf32-sh-symbian.c - * Makefile.in: Regenerate. - -2004-07-05 Andrew Stubbs <andrew.stubbs@superh.com> - - * elf32-sh.c: Include ../opcodes/sh-opc.h. - * Makefile.am: Ran make dep-am. - * Makefile.in: Ran make dep-in. - -2004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> - - * cofflink.c (_bfd_coff_generic_relocate_section): Resolve PE weak - externals properly. - -2004-07-02 Martin Schwidefsky <schwidefsky@de.ibm.com> - - * config.bfd: Add want64 to configuration target s390-*-linux*. - -2004-07-01 H.J. Lu <hongjiu.lu@intel.com> - - * bfd.c (bfd_get_section_ident): New. - - * elflink.c (elf_link_read_relocs_from_section): Call - bfd_get_section_ident to identify the section when reporting - error. - (_bfd_elf_link_output_relocs): Likewise. - (elf_link_output_extsym): Likewise. - (elf_link_input_bfd): Likewise. - (bfd_elf_gc_record_vtinherit): Likewise. - - * bfd-in2.h: Regenerated. - -2004-07-01 Jie Zhang <zhangjie@magima.com.cn> - Nick Clifton <nickc@redhat.com> - - PR 204 - * elfxx-mips.c (_bfd_mips_elf_final_link): Pass the correct number - of section symbols to mips_elf_sort_hash_table (). - -2004-07-01 Alan Modra <amodra@bigpond.net.au> - - * elflink.c (elf_section_ignore_discarded_relocs): Revert last - change. Comment. - (elf_section_complain_discarded): New function. Handle - .gcc_except_table too. - (elf_link_input_bfd): Rewrite handling of relocs against symbols - in discarded sections. - * elf-bfd.h (elf_discarded_section): Protect macro arg. - -2004-06-30 James E Wilson <wilson@specifixinc.com> - - * elfxx-ia64.c (elfNN_ia64_check_relocs): New local pltoff. Initialize - to NULL. Call get_pltoff if NULL and NEED_PLTOFF is true. - -2004-06-30 H.J. Lu <hongjiu.lu@intel.com> - - PR 233 - * elflink.c (elf_link_input_bfd): Issue an error for non-debug - local references to discarded sections and report their - locations. - -2004-06-30 Alan Modra <amodra@bigpond.net.au> - - * elflink.c (elf_section_ignore_discarded_relocs): Don't test - sec_info_type, test section name instead. - -2004-06-29 H.J. Lu <hongjiu.lu@intel.com> - - PR 240 - * elfxx-ia64.c (elfNN_ia64_relax_section): Don't relax branch - in .init/.fini sections. - -2004-06-29 Bob Wilson <bob.wilson@acm.org> - - * elf32-xtensa.c (elf_xtensa_relocate_section): Use - bfd_get_section_limit. - -2004-06-29 Bob Wilson <bob.wilson@acm.org> - - * elf32-xtensa.c (elf_xtensa_combine_prop_entries): Don't change the - output section size. - -2004-06-29 Alan Modra <amodra@bigpond.net.au> - - * elf64-mmix.c (mmix_set_relaxable_size): Save original size in - rawsize. - (mmix_elf_perform_relocation): Adjust for above change. - (mmix_elf_relocate_section): Likewise. - (mmix_elf_relax_section): Likewise. Use output_section->rawsize. - (mmix_elf_get_section_contents): Delete. - (bfd_elf64_get_section_contents): Delete. - (mmix_elf_relocate_section): Zero stub area. - * linker.c (default_indirect_link_order): Alloc max of section size - and rawsize. - * simple.c (bfd_simple_get_relocated_section_contents): Likewise. - * section.c (bfd_malloc_and_get_section): Likewise. - (struct bfd_section): Update rawsize comment. - * bfd-in2.h: Regenerate. - - * reloc16.c (bfd_coff_reloc16_relax_section): Set rawsize. - -2004-06-29 Alan Modra <amodra@bigpond.net.au> - - * bfd-in.h (bfd_get_section_limit): Define. - * reloc.c (bfd_perform_relocation, bfd_install_relocation) - (_bfd_final_link_relocate): Use bfd_get_section_limit. - * aout-tic30.c (tic30_aout_final_link_relocate): Likewise. - * coff-arm.c (coff_arm_relocate_section): Likewise. - * coff-mips.c (mips_refhi_reloc, mips_gprel_reloc): Likewise. - * cpu-ns32k.c (do_ns32k_reloc): Likewise. - (bfd_ns32k_final_link_relocate): Likewise. - * elf32-d30v.c (bfd_elf_d30v_reloc, bfd_elf_d30v_reloc_21): Likwise. - * elf32-dlx.c (_bfd_dlx_elf_hi16_reloc): Likewise. - * elf32-i860.c (i860_howto_pc26_reloc, i860_howto_pc16_reloc) - (i860_howto_highadj_reloc, i860_howto_splitn_reloc): Likewise. - * elf32-m32r.c (m32r_elf_do_10_pcrel_reloc, m32r_elf_hi16_reloc) - (m32r_elf_generic_reloc, m32r_elf_relocate_section): Likewise. - * elf32-m68hc1x.c (m68hc11_elf_special_reloc): Likewise. - * elf32-mips.c (gprel32_with_gp, mips16_gprel_reloc): Likewise. - * elf32-or32.c (or32_elf_consth_reloc): Likewise. - * elf32-ppc.c (ppc_elf_addr16_ha_reloc): Likewise. - * elf32-s390.c (s390_elf_ldisp_reloc): Likewise. - * elf32-sh.c (sh_elf_reloc_loop): Likewise. - * elf32-sparc.c (sparc_elf_wdisp16_reloc): Likewise. - (sparc_elf_hix22_reloc, sparc_elf_lox10_reloc): Likwise. - * elf32-v850.c (v850_elf_reloc): Likewise. - * elf32-xstormy16.c (xstormy16_elf_24_reloc): Likewise. - * elf32-xtensa.c (bfd_elf_xtensa_reloc): Likewise. - * elf64-alpha.c (elf64_alpha_reloc_gpdisp): Likewise. - * elf64-mips.c (mips_elf64_gprel32_reloc) - (mips16_gprel_reloc): Likewise. - * elf64-mmix.c (mmix_elf_reloc): Likewise. - * elf64-s390.c (s390_elf_ldisp_reloc): Likewise. - * elf64-sparc.c (init_insn_reloc): Likewise. - * elfn32-mips.c (gprel32_with_gp, mips16_gprel_reloc): Likewise. - * elfxx-mips.c (_bfd_mips_elf_gprel16_with_gp) - (_bfd_mips_elf_hi16_reloc, _bfd_mips_elf_lo16_reloc) - (_bfd_mips_elf_generic_reloc): Likewise. - * bfd-in2.h: Regenerate. - -2004-06-28 Alan Modra <amodra@bigpond.net.au> - - * bfd-in.h (struct stab_info): Move from stabs.c. - * stabs.c (struct stab_link_includes_table): Delete. - (stab_link_includes_lookup): Delete. - (_bfd_write_section_stabs, _bfd_write_stab_strings): Remove one - level of indirection from sinfo parm. - (_bfd_link_section_stabs): Likewise. Set SEC_LINKER_CREATED on - stabstr section. Adjust hash table accesses. - * coff-ppc.c (ppc_bfd_coff_final_link): Do include rawsize in contents - alloc. Adjust stab_info test. - * cofflink.c (_bfd_coff_link_hash_table_init): Clear stab_info. - (_bfd_coff_final_link): Adjust stab_info test. - (_bfd_coff_link_input_bfd): Ignore SEC_LINKER_CREATED sections. - * elf-bfd.h (struct elf_link_hash_table): Include struct stab_info - in place. - * libcoff-in.h (struct coff_link_hash_table): Likewise. - * elf.c (_bfd_elf_link_hash_table_init): Clear stab_info. - * elflink.c (bfd_elf_final_link): Don't attempt to link linker created - stabstr section. Adjust stab_info test. - * libbfd-in.h (_bfd_link_section_stabs, _bfd_write_section_stabs) - (_bfd_write_stab_strings): Adjust prototypes. - * libbfd.h: Regenerate. - * libcoff.h: Regenerate. - * bfd-in2.h: Regenerate. - -2004-06-27 Mark Kettenis <kettenis@gnu.org> - - From Miod Vallat <miod@online.fr>: - * aoutx.h (NAME(aout,machine_type)): Handle bfd_arch_m88k. - -2004-06-26 Alexandre Oliva <aoliva@redhat.com> - - * elf-m10300.c (struct elf_mn10300_pcrel_relocs_copied): Delete. - (struct elf32_mn10300_link_hash_entry): Remove - pcrel_relocs_copied. - (mn10300_elf_check_relocs): Only reserve dynamic relocations for - R_MN10300_32. Don't adjust pcrel_relocs_copied. - (mn10300_elf_final_link_relocate): Fail for direct, pc-relative - and gotoff relocations if the symbol doesn't bind locally. Use - _bfd_elf_symbol_refs_local_p to test. Don't create dynamic - relocation for PCREL32. - (mn10300_elf_relocate_section): Use _bfd_elf_symbol_refs_local_p - to test whether a symbol binds locally. - (elf32_mn10300_link_hash_newfunc): Don't initialize - pcrel_relocs_copied. - (_bfd_mn10300_elf_discard_copies): Delete. - (_bfd_mn10300_elf_size_dynamic_sections): Don't call it. - -2004-06-26 Mark Kettenis <kettenis@gnu.org> - - * config.bfd: Replace m88k-*-openbsd* with m88*-*-openbsd*. - -2004-06-25 Joel Brobecker <brobecker@gnat.com> - - * som.c (som_set_reloc_info): Correct small typo. - -2004-06-25 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> - - * elf32-m32r.c (m32r_elf_howto_table): Support R_M32R_GOTOFF. - (m32r_elf_relocate_section): Changed for R_M32R_GOTOFF. - (m32r_elf_gcsweep_hook): Likewise. - (m32r_elf_check_relocs): Likewise. - (m32r_elf_howto_table): Added R_M32R_GOTOFF_HI_ULO, - R_M32R_GOTOFF_HI_SLO and R_M32R_GOTOFF_LO. - * reloc.c: Added BFD_RELOC_M32R_GOTOFF_HI_ULO, - BFD_RELOC_M32R_GOTOFF_HI_SLO and BFD_RELOC_M32R_GOTOFF_LO. - * bfd-in2.h: Regenerated. - * libbfd.h: Regenerated. - -2004-06-24 H.J. Lu <hongjiu.lu@intel.com> - - * elf64-x86-64.c (elf64_x86_64_check_relocs): Warn overflow - relocation symbol. - (elf64_x86_64_relocate_section): Issue an error for - R_X86_64_PC8, R_X86_64_PC16 and R_X86_64_PC32 relocations - against global symbols when building shared library. - -2004-06-24 Alan Modra <amodra@bigpond.net.au> - - * section.c (struct sec): Rename "_cooked_size" to "size". - Rename "_raw_size" to "rawsize". - (STD_SECTION): Adjust comments. - (bfd_set_section_size, bfd_get_section_contents): Use size. - (bfd_malloc_and_get_section): New function. - * bfd-in.h (bfd_section_size, bfd_get_section_size): Use size. - * coff-sh.c (sh_relax_section): Alloc coff_section_data struct early. - Correctly free reloc and contents memory. - * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Delete FIXME - and fake CIE now that we can shink section size to zero. - (_bfd_elf_write_section_eh_frame): Likewise.. - * elf32-ppc.c (ppc_elf_relax_section): Delay reading section contents. - * elf-m10300.c (mn10300_elf_final_link_relocate): Don't use - _bfd_stab_section_offset. Use _bfd_elf_section_offset. - * stabs.c (_bfd_stab_section_offset_): Remove unused args and - unneeded indirection. - * elf.c (_bfd_elf_section_offset): .. and update call. - * libbfd-in.h (_bfd_stab_section_offset): Update prototype. - * libbfd.h: Regenerate. - * bfd-in2.h: Regenerate. - - Replace occurrences of "_raw_size" and "_cooked_size" in most places - with "size". Set new "rawsize" for stabs, eh_frame, and SEC_MERGE - sections. Use "rawsize", if non-zero, for bfd_get_section_contents - calls if the section might be a stabs, eh_frame, or SEC_MERGE section. - Similarly use "rawsize", if non-zero, in reloc functions to validate - reloc addresses. Use new bfd_malloc_and_get_section in most places - where bfd_get_section_contents was called. Expand all occurrences of - bfd_section_size and bfd_get_section_size. Rename "raw_size" var in - grok_prstatus and similar functions to "size". - * aix386-core.c (aix386_core_file_p): .. - * aix5ppc-core.c (xcoff64_core_p): .. - * aout-adobe.c (aout_adobe_callback, aout_adobe_write_object_contents, - aout_adobe_set_section_contents): .. - * aout-target.h (callback): .. - * aout-tic30.c (tic30_aout_callback, tic30_aout_final_link_relocate, - MY_bfd_final_link): .. - * aoutf1.h (sunos4_core_file_p): .. - * aoutx.h (some_aout_object_p, adjust_o_magic, adjust_z_magic, - adjust_n_magic, adjust_sizes_and_vmas, translate_from_native_sym_flags, - final_link, aout_link_input_section): .. - * binary.c (binary_object_p, binary_canonicalize_symtab, - binary_set_section_contents): .. - * bout.c (b_out_callback, b_out_write_object_contents, - b_out_set_section_contents, b_out_bfd_relax_section, - b_out_bfd_get_relocated_section_contents): .. - * cisco-core.c (cisco_core_file_validate): .. - * coff-alpha.c (alpha_ecoff_object_p, - alpha_ecoff_get_relocated_section_conten, alpha_relocate_section): .. - * coff-arm.c (coff_arm_relocate_section, - bfd_arm_allocate_interworking_sections): .. - * coff-h8300.c (h8300_reloc16_extra_cases, - h8300_bfd_link_add_symbols): .. - * coff-mips.c (mips_refhi_reloc, mips_gprel_reloc): .. - * coff-ppc.c (coff_ppc_relocate_section, ppc_allocate_toc_section, - ppc_bfd_coff_final_link): .. - * coff-rs6000.c (xcoff_reloc_type_br, xcoff_ppc_relocate_section): .. - * coff-sh.c (sh_relax_section, sh_relax_delete_bytes, - sh_align_loads, sh_coff_get_relocated_section_contents): .. - * coff64-rs6000.c (xcoff64_write_object_contents, - xcoff64_reloc_type_br, xcoff64_ppc_relocate_section): .. - * coffcode.h (coff_compute_section_file_positions, - coff_write_object_contents): .. - * coffgen.c (make_a_section_from_file, coff_write_symbols, - coff_section_symbol, build_debug_section): .. - * cofflink.c (coff_link_add_symbols, _bfd_coff_final_link, - process_embedded_commands, _bfd_coff_link_input_bfd, - _bfd_coff_write_global_sym): .. - * cpu-arm.c (bfd_arm_update_notes, bfd_arm_get_mach_from_notes): .. - * cpu-ns32k.c (do_ns32k_reloc, _bfd_ns32k_final_link_relocate): .. - * dwarf1.c (parse_line_table, _bfd_dwarf1_find_nearest_line): .. - * dwarf2.c (read_indirect_string, read_abbrevs, decode_line_info, - _bfd_dwarf2_find_nearest_line): .. - * ecoff.c (bfd_debug_section, ecoff_set_symbol_info, - ecoff_compute_section_file_positions, - _bfd_ecoff_write_object_contents, ecoff_indirect_link_order): .. - * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame, - _bfd_elf_discard_section_eh_frame_hdr, - _bfd_elf_maybe_strip_eh_frame_hdr, _bfd_elf_eh_frame_section_offset, - _bfd_elf_write_section_eh_frame, - _bfd_elf_write_section_eh_frame_hdr): .. - * elf-hppa.h (elf_hppa_sort_unwind): .. - * elf-m10200.c (mn10200_elf_relax_section, - mn10200_elf_relax_delete_bytes, - mn10200_elf_get_relocated_section_contents): .. - * elf-m10300.c (_bfd_mn10300_elf_create_got_section, - mn10300_elf_check_relocs, mn10300_elf_relax_section, - mn10300_elf_relax_delete_bytes, - mn10300_elf_get_relocated_section_contents, - _bfd_mn10300_elf_adjust_dynamic_symbol, - _bfd_mn10300_elf_discard_copies, - _bfd_mn10300_elf_size_dynamic_sections, - _bfd_mn10300_elf_finish_dynamic_sections): .. - * elf.c (_bfd_elf_print_private_bfd_data, bfd_elf_get_bfd_needed_list, - _bfd_elf_make_section_from_phdr, elf_fake_sections, - bfd_elf_set_group_contents, map_sections_to_segments, - elf_sort_sections, assign_file_positions_for_segments, - SECTION_SIZE, copy_private_bfd_data, - _bfd_elf_get_dynamic_reloc_upper_bound, - _bfd_elf_canonicalize_dynamic_reloc, elfcore_maybe_make_sect, - _bfd_elfcore_make_pseudosection, elfcore_grok_prstatus, - elfcore_grok_lwpstatus, elfcore_grok_win32pstatus, - elfcore_grok_note, elfcore_grok_nto_status, elfcore_grok_nto_gregs, - _bfd_elf_rel_local_sym, _bfd_elf_get_synthetic_symtab): .. - * elf32-arm.h (bfd_elf32_arm_allocate_interworking_sect, - bfd_elf32_arm_process_before_allocation, - elf32_arm_adjust_dynamic_symbol, allocate_dynrelocs, - elf32_arm_size_dynamic_sections, elf32_arm_finish_dynamic_sections, - elf32_arm_write_section): .. - * elf32-cris.c (cris_elf_grok_prstatus, - elf_cris_finish_dynamic_sections, cris_elf_gc_sweep_hook, - elf_cris_adjust_gotplt_to_got, elf_cris_adjust_dynamic_symbol, - cris_elf_check_relocs, elf_cris_size_dynamic_sections, - elf_cris_discard_excess_dso_dynamics, - elf_cris_discard_excess_program_dynamics): .. - * elf32-d30v.c (bfd_elf_d30v_reloc, bfd_elf_d30v_reloc_21): .. - * elf32-dlx.c (_bfd_dlx_elf_hi16_reloc): .. - * elf32-frv.c (_frvfdpic_add_dyn_reloc, _frvfdpic_add_rofixup, - _frv_create_got_section, _frvfdpic_assign_plt_entries, - elf32_frvfdpic_size_dynamic_sections, - elf32_frvfdpic_modify_segment_map, - elf32_frvfdpic_finish_dynamic_sections): .. - * elf32-h8300.c (elf32_h8_relax_section, elf32_h8_relax_delete_bytes, - elf32_h8_get_relocated_section_contents): .. - * elf32-hppa.c (hppa_build_one_stub, hppa_size_one_stub, - elf32_hppa_adjust_dynamic_symbol, allocate_plt_static, - allocate_dynrelocs, elf32_hppa_size_dynamic_sections, group_sections, - elf32_hppa_size_stubs, elf32_hppa_set_gp, elf32_hppa_build_stubs, - elf32_hppa_finish_dynamic_sections): .. - * elf32-i370.c (i370_elf_adjust_dynamic_symbol, - i370_elf_size_dynamic_sections, i370_elf_check_relocs, - i370_elf_finish_dynamic_sections): .. - * elf32-i386.c (elf_i386_grok_prstatus, elf_i386_adjust_dynamic_symbol, - allocate_dynrelocs, elf_i386_size_dynamic_sections, - elf_i386_relocate_section, elf_i386_finish_dynamic_sections): .. - * elf32-i860.c (i860_howto_pc26_reloc, i860_howto_pc16_reloc, - i860_howto_highadj_reloc, i860_howto_splitn_reloc): .. - * elf32-ip2k.c (ip2k_is_switch_table_128, - ip2k_relax_switch_table_128, ip2k_is_switch_table_256, - ip2k_relax_switch_table_256, ip2k_elf_relax_section, - adjust_all_relocations, ip2k_elf_relax_delete_bytes): .. - * elf32-m32r.c (m32r_elf_do_10_pcrel_reloc, m32r_elf_hi16_reloc, - m32r_elf_generic_reloc, m32r_elf_adjust_dynamic_symbol, - allocate_dynrelocs, m32r_elf_size_dynamic_sections, - m32r_elf_relocate_section, m32r_elf_finish_dynamic_sections, - m32r_elf_relax_section, m32r_elf_relax_delete_bytes, - m32r_elf_get_relocated_section_contents): .. - * elf32-m68hc11.c (m68hc11_elf_build_one_stub, - m68hc11_elf_size_one_stub, m68hc11_elf_relax_section, - m68hc11_elf_relax_delete_bytes): .. - * elf32-m68hc12.c (m68hc12_elf_build_one_stub, - m68hc12_elf_size_one_stub): .. - * elf32-m68hc1x.c (elf32_m68hc11_size_stubs, - elf32_m68hc11_build_stubs, m68hc11_elf_special_reloc): .. - * elf32-m68k.c (elf_m68k_check_relocs, elf_m68k_gc_sweep_hook, - elf_m68k_adjust_dynamic_symbol, elf_m68k_size_dynamic_sections, - elf_m68k_discard_copies, elf_m68k_finish_dynamic_sections): .. - * elf32-mips.c (gprel32_with_gp, mips16_gprel_reloc, - elf32_mips_grok_prstatus): .. - * elf32-or32.c (or32_elf_consth_reloc): .. - * elf32-ppc.c (ppc_elf_relax_section, ppc_elf_addr16_ha_reloc, - elf_create_pointer_linker_section, ppc_elf_create_linker_section, - ppc_elf_additional_program_headers, ppc_elf_adjust_dynamic_symbol, - allocate_dynrelocs, ppc_elf_size_dynamic_sections, - ppc_elf_finish_dynamic_sections, ppc_elf_grok_prstatus, - ppc_elf_final_write_processing): .. - * elf32-s390.c (s390_elf_ldisp_reloc, elf_s390_adjust_dynamic_symbol, - allocate_dynrelocs, elf_s390_size_dynamic_sections, - elf_s390_finish_dynamic_sections, elf_s390_grok_prstatus): .. - * elf32-sh.c (sh_elf_reloc_loop, sh_elf_relax_section, - sh_elf_relax_delete_bytes, sh_elf_align_loads, - sh_elf_adjust_dynamic_symbol, allocate_dynrelocs, - sh_elf_size_dynamic_sections, sh_elf_get_relocated_section_contents, - sh_elf_finish_dynamic_sections, elf32_shlin_grok_prstatus): .. - * elf32-sh64-com.c (sh64_address_in_cranges, - sh64_get_contents_type): .. - * elf32-sh64.c (sh64_find_section_for_address, - sh64_elf_final_write_processing): .. - * elf32-sparc.c (sparc_elf_wdisp16_reloc, sparc_elf_hix22_reloc, - sparc_elf_lox10_reloc, elf32_sparc_adjust_dynamic_symbol, - allocate_dynrelocs, elf32_sparc_size_dynamic_sections, - elf32_sparc_relocate_section, elf32_sparc_finish_dynamic_sections): .. - * elf32-v850.c (v850_elf_reloc, v850_elf_relax_section): .. - * elf32-vax.c (elf_vax_check_relocs, elf_vax_adjust_dynamic_symbol, - elf_vax_size_dynamic_sections, elf_vax_discard_copies, - elf_vax_instantiate_got_entries, elf_vax_relocate_section, - elf_vax_finish_dynamic_sections): .. - * elf32-xstormy16.c (xstormy16_elf_24_reloc, - xstormy16_elf_check_relocs, xstormy16_relax_plt_check, - xstormy16_elf_relax_section, xstormy16_elf_always_size_sections, - xstormy16_elf_finish_dynamic_sections): .. - * elf32-xtensa.c (xtensa_read_table_entries, - elf_xtensa_allocate_got_size, elf_xtensa_allocate_local_got_size, - elf_xtensa_size_dynamic_sections, elf_xtensa_do_reloc, - bfd_elf_xtensa_reloc, elf_xtensa_relocate_section, - elf_xtensa_combine_prop_entries, elf_xtensa_finish_dynamic_sections, - elf_xtensa_discard_info_for_section, elf_xtensa_grok_prstatus, - get_relocation_opcode, retrieve_contents, find_relaxable_sections, - collect_source_relocs, is_resolvable_asm_expansion, remove_literals, - relax_section, shrink_dynamic_reloc_sections, relax_property_section, - xtensa_callback_required_dependence): .. - * elf64-alpha.c (elf64_alpha_reloc_gpdisp, elf64_alpha_relax_section, - elf64_alpha_check_relocs, elf64_alpha_adjust_dynamic_symbol, - elf64_alpha_calc_got_offsets_for_symbol, elf64_alpha_calc_got_offsets, - elf64_alpha_size_plt_section, elf64_alpha_size_plt_section_1, - elf64_alpha_always_size_sections, elf64_alpha_calc_dynrel_sizes, - elf64_alpha_size_rela_got_section, elf64_alpha_size_rela_got_1, - elf64_alpha_size_dynamic_sections, elf64_alpha_emit_dynrel, - elf64_alpha_finish_dynamic_sections, elf64_alpha_final_link): .. - * elf64-hppa.c (allocate_dynrel_entries, - elf64_hppa_size_dynamic_sections, - elf64_hppa_finish_dynamic_sections): .. - * elf64-mips.c (mips_elf64_gprel32_reloc, mips16_gprel_reloc, - mips_elf64_canonicalize_dynamic_reloc, mips_elf64_slurp_reloc_table, - elf64_mips_grok_prstatus): .. - * elf64-mmix.c (mmix_elf_perform_relocation, mmix_elf_reloc, - mmix_elf_relocate_section, mmix_elf_final_link, - mmix_set_relaxable_size, _bfd_mmix_after_linker_allocation, - mmix_elf_relax_section, mmix_elf_get_section_contents): .. - * elf64-ppc.c (ppc64_elf_object_p, ppc64_elf_grok_prstatus, - ppc64_elf_check_relocs, ppc64_elf_func_desc_adjust, - ppc64_elf_adjust_dynamic_symbol, ppc64_elf_edit_opd, - allocate_dynrelocs, ppc64_elf_size_dynamic_sections, - ppc_build_one_stub, ppc_size_one_stub, ppc64_elf_next_toc_section, - toc_adjusting_stub_needed, group_sections, ppc64_elf_size_stubs, - ppc64_elf_build_stubs, ppc64_elf_relocate_section, - ppc64_elf_finish_dynamic_sections): .. - * elf64-s390.c (s390_elf_ldisp_reloc, elf_s390_adjust_dynamic_symbol, - allocate_dynrelocs, elf_s390_size_dynamic_sections, - elf_s390_finish_dynamic_sections): .. - * elf64-sh64.c (sh_elf64_get_relocated_section_contents, - sh_elf64_check_relocs, sh64_elf64_adjust_dynamic_symbol, - sh64_elf64_discard_copies, sh64_elf64_size_dynamic_sections, - sh64_elf64_finish_dynamic_sections): .. - * elf64-sparc.c (sparc64_elf_slurp_reloc_table, init_insn_reloc, - sparc64_elf_check_relocs, sparc64_elf_adjust_dynamic_symbol, - sparc64_elf_size_dynamic_sections, sparc64_elf_relocate_section, - sparc64_elf_finish_dynamic_symbol, - sparc64_elf_finish_dynamic_sections): .. - * elf64-x86-64.c (elf64_x86_64_grok_prstatus, - elf64_x86_64_adjust_dynamic_symbol, allocate_dynrelocs, - elf64_x86_64_size_dynamic_sections, elf64_x86_64_relocate_section, - elf64_x86_64_finish_dynamic_sections): .. - * elfarm-nabi.c (elf32_arm_nabi_grok_prstatus): .. - * elfcode.h (elf_slurp_reloc_table): .. - * elflink.c (_bfd_elf_create_got_section, elf_add_dt_needed_tag, - elf_finalize_dynstr, elf_link_add_object_symbols, - bfd_elf_size_dynamic_sections, elf_link_sort_relocs, - elf_link_input_bfd, bfd_elf_final_link, bfd_elf_discard_info): .. - * elfn32-mips.c (gprel32_with_gp, mips16_gprel_reloc, - elf32_mips_grok_prstatus): .. - * elfxx-ia64.c (elfNN_ia64_relax_section, allocate_dynrel_entries, - elfNN_ia64_size_dynamic_sections, elfNN_ia64_install_dyn_reloc, - elfNN_ia64_choose_gp, elfNN_ia64_final_link, - elfNN_ia64_finish_dynamic_sections): .. - * elfxx-mips.c (mips_elf_create_procedure_table, - mips_elf_check_mips16_stubs, _bfd_mips_elf_gprel16_with_gp, - _bfd_mips_elf_hi16_reloc, _bfd_mips_elf_generic_reloc, - mips_elf_global_got_index, mips_elf_multi_got, - mips_elf_create_compact_rel_section, mips_elf_calculate_relocation, - mips_elf_allocate_dynamic_relocations, - mips_elf_create_dynamic_relocation, _bfd_mips_elf_fake_sections, - _bfd_mips_relax_section, _bfd_mips_elf_adjust_dynamic_symbol, - _bfd_mips_elf_always_size_sections, - _bfd_mips_elf_size_dynamic_sections, - _bfd_mips_elf_finish_dynamic_symbol, - _bfd_mips_elf_finish_dynamic_sections, - _bfd_mips_elf_modify_segment_map, _bfd_mips_elf_discard_info, - _bfd_mips_elf_write_section, _bfd_mips_elf_set_section_contents, - _bfd_elf_mips_get_relocated_section_contents, - _bfd_mips_elf_final_link, _bfd_mips_elf_merge_private_bfd_data): .. - * hp300hpux.c (callback): .. - * hppabsd-core.c (make_bfd_asection): .. - * hpux-core.c (make_bfd_asection): .. - * i386linux.c (linux_link_create_dynamic_sections, - bfd_i386linux_size_dynamic_sections, linux_finish_dynamic_link): .. - * i386msdos.c (msdos_write_object_contents): .. - * i386os9k.c (os9k_callback, os9k_write_object_contents, - os9k_set_section_contents): .. - * ieee.c (parse_expression, ieee_slurp_external_symbols, - ieee_slurp_sections, ieee_slurp_debug, ieee_slurp_section_data, - ieee_write_section_part, do_with_relocs, do_as_repeat, - do_without_relocs, ieee_write_debug_part, init_for_output, - ieee_set_section_contents): .. - * ihex.c (ihex_scan, ihex_read_section, ihex_get_section_contents): .. - * irix-core.c (do_sections, make_bfd_asection): .. - * libaout.h (aout_section_merge_with_text_p): .. - * libbfd.c (_bfd_generic_get_section_contents, - _bfd_generic_get_section_contents_in_window): .. - * linker.c (default_indirect_link_order): .. - * lynx-core.c (make_bfd_asection): .. - * m68klinux.c (linux_link_create_dynamic_sections, - bfd_m68klinux_size_dynamic_sections, linux_finish_dynamic_link): .. - * mach-o.c (bfd_mach_o_make_bfd_section, - bfd_mach_o_scan_read_dylinker, bfd_mach_o_scan_read_dylib, - bfd_mach_o_scan_read_thread, bfd_mach_o_scan_read_symtab, - bfd_mach_o_scan_read_segment): .. - * merge.c (_bfd_add_merge_section, record_section, merge_strings, - _bfd_merge_sections): .. - * mmo.c (mmo_find_sec_w_addr, mmo_get_spec_section, mmo_get_loc, - mmo_map_set_sizes, mmo_canonicalize_symtab, - mmo_internal_write_section, mmo_write_object_contents): .. - * netbsd-core.c (netbsd_core_file_p): .. - * nlm32-alpha.c (nlm_alpha_read_reloc, nlm_alpha_write_import, - nlm_alpha_set_public_section): .. - * nlm32-ppc.c (nlm_powerpc_read_reloc, nlm_powerpc_write_reloc): .. - * nlm32-sparc.c (nlm_sparc_write_import): .. - * nlmcode.h (add_bfd_section, nlm_swap_auxiliary_headers_in, - nlm_compute_section_file_positions): .. - * oasys.c (oasys_object_p, oasys_slurp_section_data, - oasys_write_sections, oasys_write_data, oasys_set_section_contents): .. - * opncls.c (get_debug_link_info): .. - * osf-core.c (make_bfd_asection): .. - * pdp11.c (some_aout_object_p, adjust_o_magic, adjust_z_magic, - adjust_n_magic, adjust_sizes_and_vmas, squirt_out_relocs, - final_link, aout_link_input_section): .. - * peXXigen.c (_bfd_XXi_swap_sym_in, _bfd_XXi_swap_aouthdr_out, - pe_print_idata, pe_print_edata, pe_print_pdata, pe_print_reloc): .. - * pef.c (bfd_pef_make_bfd_section, bfd_pef_print_loader_section, - bfd_pef_scan_start_address, bfd_pef_parse_symbols): .. - * ppcboot.c (ppcboot_object_p, ppcboot_canonicalize_symtab): .. - * ptrace-core.c (ptrace_unix_core_file_p): .. - * reloc.c (bfd_perform_relocation, bfd_install_relocation, - _bfd_final_link_relocate, bfd_generic_relax_section, - bfd_generic_get_relocated_section_contents): .. - * reloc16.c (bfd_coff_reloc16_relax_section, - bfd_coff_reloc16_get_relocated_section_c): .. - * riscix.c (riscix_some_aout_object_p): .. - * rs6000-core.c (read_hdr, make_bfd_asection): .. - * sco5-core.c (make_bfd_asection): .. - * simple.c (bfd_simple_get_relocated_section_contents): .. - * som.c (som_object_setup, setup_sections, som_prep_headers, - som_write_fixups, som_begin_writing, bfd_section_from_som_symbol, - som_set_reloc_info, som_get_section_contents, - som_bfd_link_split_section): .. - * sparclinux.c (linux_link_create_dynamic_sections, - bfd_sparclinux_size_dynamic_sections, linux_finish_dynamic_link): .. - * srec.c (srec_scan, srec_read_section, srec_get_section_contents): .. - * stabs.c (_bfd_link_section_stabs, _bfd_discard_section_stabs, - _bfd_write_stab_strings, _bfd_stab_section_offset): .. - * sunos.c (sunos_read_dynamic_info, sunos_create_dynamic_sections, - bfd_sunos_size_dynamic_sections, sunos_scan_std_relocs, - sunos_scan_ext_relocs, sunos_scan_dynamic_symbol, - sunos_write_dynamic_symbol, sunos_check_dynamic_reloc, - sunos_finish_dynamic_link): .. - * syms.c (_bfd_stab_section_find_nearest_line): .. - * tekhex.c (first_phase, tekhex_set_section_contents, - tekhex_write_object_contents): .. - * trad-core.c (trad_unix_core_file_p): .. - * versados.c (process_esd, process_otr, process_otr): .. - * vms-gsd.c (_bfd_vms_slurp_gsd, _bfd_vms_write_gsd): .. - * vms-misc.c (add_new_contents): .. - * vms-tir.c (check_section, new_section, _bfd_vms_write_tir): .. - * vms.c (vms_set_section_contents): .. - * xcofflink.c (xcoff_get_section_contents, xcoff_link_add_symbols, - xcoff_sweep, bfd_xcoff_size_dynamic_sections, xcoff_build_ldsyms, - _bfd_xcoff_bfd_final_link, xcoff_link_input_bfd): .. - * xsym.c (bfd_sym_scan): .. See above. - -2004-06-21 H.J. Lu <hongjiu.lu@intel.com> - - * elfxx-ia64.c (elfNN_ia64_relax_section): Add addend when - calling _bfd_merged_section_offset only for section symbols. - -2004-06-22 Alan Modra <amodra@bigpond.net.au> - - * elf32-ppc.c (ppc_elf_relax_section): Implement reference code - for handling SEC_MERGE symbols in relax_section. - -2004-06-21 Alexandre Oliva <aoliva@redhat.com> - - 2003-05-15 Richard Sandiford <rsandifo@redhat.com> - * cpu-h8300.c (compatible): Allow h8300s and h8300sx code to be - linked together. Mark the result as h8300sx code. - -2004-06-21 Alexandre Oliva <aoliva@redhat.com> - - * elf-bfd.h (struct elf_backend_data): Added - elf_backend_omit_section_dynsym. - (_bfd_elf_link_omit_section_dynsym): Declare. - * elf32-frv.c (_frvfdpic_link_omit_section_dynsym): New. - (elf_backend_omit_section_dynsym): Use it for frvfdpic. - * elflink.c (_bfd_elf_link_omit_section_dynsym): Split out of... - (_bfd_elf_link_renumber_dynsyms): ... this function. - * elfxx-target.h (elf_backend_omit_section_dynsym): Default to - _bfd_elf_link_omit_section_dynsym). - (elfNN_bed): Added elf_backend_omit_section_dynsym. - -2004-06-21 Nick Clifton <nickc@redhat.com> - - * coffcode.h (styp_to_sec_flags): Ignore IMAGE_SCN_MEM_NOT_PAGED - flags. - -2004-06-17 Jerome Guitton <guitton@gnat.com> - - * bfd-in.h (bfd_cache_close_all): New function declaration. - * bfd-in2.h: Regenerate. - * cache.c (bfd_cache_close_all): New function definition. - -2004-06-16 Mark Kettenis <kettenis@gnu.org> - - * configure.in: Don't set COREFILE to trad-core.lo for FreeBSD - 4.10 and beyond. - * configure: Regenerate. - -2004-06-16 Daniel Jacobowitz <dan@debian.org> - - * elf32-ppc.c (ppc_elf_create_linker_section): Create symbols in - the pre-existing section. - -2004-06-15 Alan Modra <amodra@bigpond.net.au> - - * section.c (struct sec): Remove usused flags. Reorganize a little. - (bfd_get_section_size_before_reloc): Delete. - (bfd_get_section_size_after_reloc): Delete. - (STD_SECTION): Update. - (bfd_get_section_size_now): Delete. - (bfd_set_section_contents): Don't referece reloc_done. - (bfd_get_section_contents): Remove reloc_done comment. - * bout.c (b_out_bfd_get_relocated_section_contents): Don't set - reloc_done. - * coff-alpha.c (alpha_ecoff_get_relocated_section_contents): Likewise. - * ecoff.c (bfd_debug_section): Update initializer. - * elfxx-mips.c (_bfd_elf_mips_get_relocated_section_contents): Ditto. - * reloc.c (bfd_generic_get_relocated_section_contents): Likewise. - * bfd-in.h (bfd_section_size): Expand. - (bfd_get_section_size): New macro. - * bfd-in2.h: Regenerate. - * coff64-rs6000.c (xcoff64_write_object_contents): Replace - bfd_get_section_size_before_reloc with bfd_get_section_size. - * coffcode.h (coff_write_object_contents): Likewise. - * coffgen.c (build_debug_section): Likewise. - * dwarf1.c (parse_line_table): Likewise. - (_bfd_dwarf1_find_nearest_line): Likewise. - * ecoff.c (_bfd_ecoff_write_object_contents): Likewise. - * i386msdos.c (msdos_write_object_contents): Likewise. - * pdp11.c (squirt_out_relocs): Likewise. - * elf32-sh64.c (sh64_find_section_for_address): Remove comment. - * elf64-mmix.c (mmix_elf_final_link): Update comment. - -2004-06-14 Chris Demetriou <cgd@broadcom.com> - - * elf32-mips.c (elf_mips_gnu_pcrel32): Add (undoing 2004-04-24 - removal) with updated comment. - (bfd_elf32_bfd_reloc_type_lookup): Add back case for - BFD_RELOC_32_PCREL. - (mips_elf32_rtype_to_howto): Add back case for R_MIPS_PC32. - * elfxx-mips.c (mips_elf_calculate_relocation): Likewise. - -2004-06-12 Alan Modra <amodra@bigpond.net.au> - - * elf64-x86-64.c (elf64_x86_64_relocate_section): Ignore reloc - overflow on branches to undefweaks. - -2004-06-11 Maciej W. Rozycki <macro@ds2.pg.gda.pl> - - * coff-alpha.c (alpha_relocate_section): Set used_by_bfd directly - as ecoff_section_data() does not return a valid lvalue. - -2004-06-09 Alexandre Oliva <aoliva@redhat.com> - - * elflink.c (elf_sort_symbol): Compare section id, not pointers. - (elf_link_add_object_symbols): Likewise. - - * elf-m10300.c (_bfd_mn10300_elf_reloc_type_class): New. - (elf_backend_reloc_type_class): New. - -2004-06-08 Mark Kettenis <kettenis@gnu.org> - - * configure.in (hppa*-*-netbsd*, hppa*-*-openbsd): Set COREFILE to - netbsd-core.lo. - * configure: Regenerate. - -2004-06-07 Daniel Jacobowitz <dan@debian.org> - - From: Albert Chin-A-Young <china@thewrittenword.com> - * bfd/elf-bfd.h (struct eh_cie_fde): Convert unsigned char bitfields - to unsigned int. - -2004-05-29 H.J. Lu <hongjiu.lu@intel.com> - - * elfxx-ia64.c (elfNN_ia64_relax_section): Undo the last - change. - -2004-05-28 DJ Delorie <dj@redhat.com> - - * elf-m10300.c (mn10300_elf_relax_section): Preserve reloc addend - for linking, but otherwise adjust reloc for merged sections. - -2004-05-28 H.J. Lu <hongjiu.lu@intel.com> - - * elfxx-ia64.c (elfNN_ia64_relax_section): Properly call - _bfd_merged_section_offset for local symbols. - -2004-05-28 Andrew Stubbs <andrew.stubbs@superh.com> - - * Makefile.am: Regenerate dependencies. - * Makefile.in: Regenerate. - * archures.c: Add bfd_mach_sh3_nommu . - * bfd-in2.h: Regenerate. - * cpu-sh.c: Add sh3-nommu architecture. - (bfd_to_arch_table): Create new table. - (sh_get_arch_from_bfd_mach): Create new function. - (sh_get_arch_up_from_bfd_mach): Create new function. - (sh_merge_bfd_arch): Create new function. - * elf32-sh.c (sh_ef_bfd_table): Add table. - (sh_elf_check_relocs): Replace switch statement with - use of sh_ef_bfd_table . - (sh_elf_get_flags_from_mach): Add new function. - (sh_find_elf_flags): Likewise. - (sh_elf_copy_private_data): Replace most of non-elf contents - with a call to sh_merge_bfd_arch() . - -2004-05-27 Michael Chastain <mec.gnu@mindspring.com> - - * Makefile.am (bfdver.h): Use explicit filename, not $< . - * Makefile.in: Regenerate. - -2004-05-27 Alexandre Oliva <aoliva@redhat.com> - - * elf-m10300.c (elf32_mn10300_finish_hash_table_entry): Avoid - custom calling conventions for dynamic symbols. - (mn10300_elf_relax_section): Avoid relaxing a function as a local - symbol if it's an alias to a global one. - -2004-05-26 H.J. Lu <hongjiu.lu@intel.com> - - * elf.c (_bfd_elf_make_section_from_shdr): Undo the last - change. - -2004-05-27 Alexandre Oliva <aoliva@redhat.com> - - * elf-m10300.c (mn10300_elf_relax_section): Don't test isym within - loop over hashes. - -2004-05-26 Alan Modra <amodra@bigpond.net.au> - - * elf.c (_bfd_elf_make_section_from_shdr): Don't set SEC_EXCLUDE - for SHT_GROUP sections. - -2004-05-25 Alan Modra <amodra@bigpond.net.au> - - * elflink.c (elf_link_add_object_symbols): Don't set up merge - section data here.. - * elf.c (_bfd_elf_merge_sections): .. Do it here instead. - * merge.c: Formatting. Remove unnecessary casts. Expand - bfd_get_section_alignment macro. - (struct sec_merge_sec_info): Rename "first" to "first_str". Update - use throughout file. - (_bfd_add_merge_section): Rename from _bfd_merge_section. Update - comment. Abort on dynamic or non-SEC_MERGE input. Don't test - section name to determine sinfo group, instead test output section - and alignment. - (_bfd_merge_sections): Add struct bfd_link_info param. Call - _bfd_strip_section_from_output rather than just twiddling flags. - * libbfd-in.h (_bfd_add_merge_section): Rename, update comment. - (_bfd_merge_sections): Update prototype. - * libbfd.h: Regenerate. - -2004-05-24 Mark Kettenis <kettenis@gnu.org> - - * netbsd-core.c: Correctly indent section that sets architecture - from machine ID. - - From Miod Vallat <miod@online.fr>: - * m88kopenbsd.c: New file. - * targets.c (m88k_openbsd_vec): New. - * config.bfd: Add m88k-*-openbsd*. - * configure.in (m88k-*-openbsd*): Set COREFILE to netbsd-core.lo. - (m88kopenbsd_vec): New. - * configure: Regenerate. - * Makefile.am (BFD32_BACKENDS): Add m88kopenbsd.lo. - (BFD32_BACKENDS_CFILES): Add m88kopenbsd.c. - Run "make dep-am". - * Makefile.in: Regenerate. - * po/SRC-POTFILES.in: Regenerate. - -2004-05-24 Nick Clifton <nickc@redhat.com> - - * hash.c: Remove bogus node "Changing the default Hash Table Size" - introduced by hash table size patch. - -2004-05-22 Ben Elliston <bje@au.ibm.com> - - * configure.in (is_release): Remove. - (bfd_version_date, bfd_version, bfd_version_string): Likewise. - (AC_OUTPUT): Don't output bfdver.h from version.h. - * configure: Regenerate. - * Makefile.am (RELEASE): New variable. - (bfdver.h): New target. - * Makefile.in: Regenerate. - * doc/Makefile.in: Likewise. - -2004-05-22 Ben Elliston <bje@au.ibm.com> - - * Makefile.am (config.status): Don't depend on version.h. - * Makefile.in: Regenerate. - -2004-05-22 Alan Modra <amodra@bigpond.net.au> - - * merge.c (_bfd_merged_section_offset): Remove "addend" param. - * libbfd-in.h (_bfd_merged_section_offset): Adjust prototype. - * libbfd.h: Regenerate. - * elf.c (_bfd_elf_rela_local_sym): Adjust call. - (_bfd_elf_rel_local_sym): Likewise. - * elflink.c (_bfd_elf_link_sec_merge_syms): Likewise. - (elf_link_input_bfd): Likewise. - * elf32-ppc.c (ppc_elf_relax_section): Likewise. - * elf64-alpha.c (elf64_alpha_relocate_section): Likewise. - * elfxx-ia64.c (elfNN_ia64_relax_section): Likewise. - (elfNN_ia64_relocate_section): Likewise. - -2004-05-21 Andy Chittenden <achittenden@bluearc.com> - - * hash.c (bfd_default_hash_table_size): New variable. - (bfd_hash_table_init): Use new variable instead of DEFAULT_SIZE. - (bfd_hash_set_default_size): New function. Set the default size - to a selected prime number close to the argument. Document new - function. - * bfd-in.h: Add prototype for bfd_hash_set_default_size. - * bfd-in2.h: Regenerate. - * Makefile.am (hash.lo): Add dependency upon libiberty.h. - * Makefile.in: Regenerate. - -2004-05-21 Mark Kettenis <kettenis@gnu.org> - - * libaout.h (machine_type): Add M_88K_OPENBSD and M_HPPA_OPENBSD. - * netbsd-core.c (netbsd_core_file_p): Set architecture for alpha, - arm, m68k, m88k and hppa core files. - -2004-05-21 Nick Clifton <nickc@redhat.com> - - * bfdio.c (bfd_bread): Do not use iovec if it is NULL. - (bfd_bwrite): Likewise. - (bfd_tell): Likewise. - (bfd_flush): Likewise. - (bfd_stat): Likewise. - (bfd_seek): Likewise. - (bfd_get_mtime): Likewise. - (bfd_get_size): Likewise. - -2004-05-19 Ben Elliston <bje@au.ibm.com> - - * dwarf2.c (_bfd_dwarf2_find_nearest_line): Comment correction. - -2004-05-19 Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz> - - * archive.c (_bfd_get_elt_at_filepos): Cope with a nested archives. - (bfd_generic_openr_next_archived_file): Likewise. - -2004-05-17 Bob Wilson <bob.wilson@acm.org> - - * elf32-xtensa.c (xtensa_get_property_section_name): Determine linkonce - section names by inserting a new substring after .gnu.linkonce, except - for .gnu.linkonce.t.* where the "t." is replaced. - -2004-05-17 Adam Nemet <anemet@lnxw.com> - - * config.bfd (sparc-*-lynxos* case): Add to obsolete list. - (m68-*-lynxos* case): Likewise. - (powerpc-*-lyxnos* case): New case. - (i[3-7]86-*-lynxos* case): Update to LynxOS 4.0 ELF. - -2004-05-17 David Heine <dlheine@tensilica.com> - - * aout-target.h (MY_bfd_copy_private_header_data): Define. - * aout-tic30.c (MY_bfd_copy_private_header_data): Define. - * bfd.c (bfd_copy_private_header_data): Define. - * coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Add entries for new - interface. - * coff64-rs6000.c (rs6000coff64_vec, aix5coff64_vec): Likewise. - * coffcode.h (coff_bfd_copy_private_header_data): Define. - * elf-bfd.h (_bfd_elf_copy_private_header_data): Declare. - * elf.c (_bfd_elf_copy_private_section_data): Remove code to set up - segments by calling copy_private_bfd_data. - (_bfd_elf_copy_private_header_data): Define. - * elfxx-target.h (bfd_elfNN_bfd_copy_private_header_data): Define. - * libbfd-in.h (_bfd_generic_bfd_copy_private_header_data): Define. - * libecoff.h (_bfd_ecoff_bfd_copy_private_header_data): Define. - * mach-o.c (bfd_mach_o_bfd_copy_private_header_data): Define. - * mmo.c (mmo_bfd_copy_private_header_data): Define. - * ppcboot.c (ppcboot_bfd_copy_private_header_data): Define. - * som.c (som_bfd_copy_private_header_data): Define. - * targets.c (BFD_JUMP_TABLE_COPY): Add _bfd_copy_private_header_data. - * vms.c (vms_bfd_copy_private_header_data): Define. - * bfd-in2.h: Regenerate. - * libbfd.h: Regenerate. - -2004-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> - - * elfxx-mips.c (MINUS_TWO): Define. - (mips_elf_higher, mips_elf_highest, - mips_elf_create_dynamic_relocation): Use MINUS_ONE and MINUS_TWO for - some bfd_vma values. - (_bfd_mips_elf_finish_dynamic_symbol): Likewise. Code cleanup. - -2004-05-14 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - * som.c (log2): Rename to exact_log2. Adjust all callers. - -2004-05-13 Paul Brook <paul@codesourcery.com> - - * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Handle - dwarf3 format CIE entries. Remove comment about the size of the - ra_column field. It is now correctly deduced. - -2004-05-13 Joel Sherrill <joel@oarcorp.com> - - * config.bfd (or32-*-rtems*): Switch to elf. - -2004-05-13 Nick Clifton <nickc@redhat.com> - - * po/fr.po: Updated French translation. - -2004-05-11 Jakub Jelinek <jakub@redhat.com> - - * elflink.c (bfd_elf_final_link): Don't output STT_SECTION symbol - into .dynsym if elf_section_data (sec)->dynindx <= 0. - Adjust counting of last_local. - (_bfd_elf_link_renumber_dynsyms): Don't assign dynindx to sections - other than SHT_PROGBITS/SHT_NOBITS and neither for .got/.got.plt/.plt - created by the linker nor !SHF_ALLOC. - - * elf32-i386.c (elf_i386_finish_dynamic_sections): Point - DT_PLTGOT to the start of the .got.plt section instead of the - .got output section. Set sh_entsize for .got section in addition - to .got.plt. - (elf_i386_relocate_section): Don't assume _GLOBAL_OFFSET_TABLE_ - is at sgot->output_section->vma. - * elf64-x86-64.c (elf64_x86_64_finish_dynamic_sections): Point - DT_PLTGOT to the start of the .got.plt section instead of the - .got output section. - (elf64_x86_64_relocate_section): Don't assume _GLOBAL_OFFSET_TABLE_ - is at sgot->output_section->vma. Set sh_entsize for .got section - in addition to .got.plt. - * elf.c (_bfd_elf_print_private_bfd_data): Handle PT_GNU_RELRO. - (bfd_section_from_phdr): Likewise. - (map_sections_to_segments): Likewise. - (assign_file_positions_for_segments): Likewise. - (get_program_header_size): Likewise. - * elflink.c (bfd_elf_size_dynamic_sections): Set - elf_tdata (output_bfd)->relro from info->relro. - * elf-bfd.h (struct elf_obj_tdata): Add relro field. - -2004-05-08 Alexandre Oliva <aoliva@redhat.com> - - * elf32-frv.c (_frvfdpic_add_dyn_reloc): Don't warn when we get - a zero symndx for which we hadn't accounted a dynamic relocation. - (_frvfdpic_add_rofixup): Likewise. - -2004-05-07 Brian Ford <ford@vss.fsi.com> - DJ Delorie <dj@redhat.com> - - * coffcode.h (coff_write_object_contents) [COFF_IMAGE_WITH_PE]: - Propagate IMAGE_FILE_LARGE_ADDRESS_AWARE. - * peXXigen.c (_bfd_XX_print_private_bfd_data_common): Recognize - IMAGE_FILE_LARGE_ADDRESS_AWARE. Use PE defines. - -2004-05-07 Alexandre Oliva <aoliva@redhat.com> - - * elf32-frv.c (elf32_frvfdpic_modify_segment_map): Return - immediately if there's no link info. - (elf32_frvfdpic_copy_private_bfd_data): New. - (bfd_elf32_bfd_copy_private_bfd_data): Use it for frvfdpic. - -2004-05-06 Zack Weinberg <zack@codesourcery.com> - - * dwarf2.c (add_line_info): Also set info->filename to NULL if - filename argument is null; do not call strlen on a null pointer. - -2004-05-06 Daniel Jacobowitz <drow@mvista.com> - - * elf32-arm.h (elf32_arm_relocate_section): Remove R_ARM_PLT32 - special case. - -2004-05-05 Alexandre Oliva <aoliva@redhat.com> - - * configure.in (bfd_elf32_frvfdpic_vec): New. - * configure: Rebuilt. - * targets.c (bfd_elf32_frvfdpic_vec): New. - * config.bfd: Enable it on frv-*-elf and frv-*-*linux*, as default - on the latter. - * elf32-frv.c: Prefix all identifiers added for FDPIC support with - frvfdpic instead of frv. Rearrange elf-target macros such that - the FDPIC-specific ones are only defined for this new target - vector. - (bfd_elf32_frvfdpic_vec): Declare. - (IS_FDPIC): New. - (elf32_frv_relocate_section): Use it to enable segment checking - and to control rofixup emission. Add output section vma to - applied relocation in non-LOAD non-ALLOC sections. Use - _bfd_error_handler for errors. - (_frv_create_got_section): Create .rel.got and .rofixup only in - FDPIC. Create non-dynamic _gp at .got+2048 in non-FDPIC, like the - linker script. - (elf32_frvfdpic_size_dynamic_sections): Assume FDPIC. - (elf32_frvfdpic_modify_segment_map): Likewise. - (elf32_frv_finish_dynamic_sections): New, do-nothing. - (elf32_frvfdpic_finish_dynamic_sections): Assume FDPIC. Improve - error message if we miscompute the rofixup size. - (frvfdpic_elf_use_relative_eh_frame): Assume FDPIC. - (frvfdpic_elf_encode_eh_address): Likewise. - (elf32_frv_check_relocs): Reject FDPIC-only relocs in non-FDPIC. - Record relocs only in FDPIC. Make sure _gp is defined for GPREL - relocs. Reject unknown relocation types. - (elf32_frv_object_p): Make sure target vector matches FDPIC bits. - (frv_elf_merge_private_bfd_data): Likewise. - (ELF_MAXPAGESIZE): Revert to 0x1000 for elf32-frv; keep it as - 0x4000 for newly-added elf32-frvfdpic. - -2004-05-05 Nick Clifton <nickc@redhat.com> - - PR/136 - * cache.c (bfd_cache_lookup_worker): Call abort() rather than - returning NULL as most users of this function do not check its - return value. - * hppabsd-core.c (hppabsd_core_core_file_p): Do not check result - of bfd_cache_lookup(). - * sco5-core.c (sco5_core_file_p): Likewise. - * trad-core.c (trad_unix_core_file_p): Likewise. - -2004-05-05 Nick Clifton <nickc@redhat.com> - - * cache.c (bfd_cache_lookup): Improve formatting. - * archive.c: Fix formatting. - -2004-05-05 Peter Barada <peter@the-baradas.com> - - * bfd_archures.c(bfd_architecture): Add 521x,5249,547x,548x. - * cpu-m68k.c(bfd_m68k_arch): Likewise. - * bfd-in2.h(bfd_architecture): Regenerate. - -2004-05-03 Alan Modra <amodra@bigpond.net.au> - - * elf.c (_bfd_elf_rela_local_sym): Set kept_section for excluded - SEC_MERGE sections. - * elflink.c (elf_link_input_bfd): Adjust output reloc index for - those against discarded link-once and SEC_MERGE section symbols. - -2004-05-02 H.J. Lu <hongjiu.lu@intel.com> - - * section.c (bfd_get_section_by_name_if): New. - * bfd-in2.h: Regenerated. - -2004-05-02 Alan Modra <amodra@bigpond.net.au> - - * som.c (som_bfd_is_group_section): Define. - -2004-05-01 Alan Modra <amodra@bigpond.net.au> - - * section.c (bfd_make_section_anyway): Copy the whole - bfd_hash_entry, not just "next" from existing entry. - -2004-04-30 H.J. Lu <hongjiu.lu@intel.com> - - * elf.c (bfd_section_from_shdr): Maintain the section order in - a section group. - (special_sections): Add ".note.GNU-stack". - (elf_fake_sections): Handle section group for relocatable - link.. - -2004-04-30 H.J. Lu <hongjiu.lu@intel.com> - - * section.c (bfd_sections_find_if): New. - * bfd-in2.h: Regenerated. - -2004-04-30 Alan Modra <amodra@bigpond.net.au> - - * section.c (bfd_make_section_anyway): Add all sections to hash tab. - - * elf-bfd.h (bfd_elf_is_group_section): Declare. - * elf.c (bfd_elf_is_group_section): New function. - * elfxx-target.h (bfd_elfNN_bfd_is_group_section - * section.c (bfd_generic_is_group_section): New function. - * targets.c (struct bfd_target): Add _bfd_is_group_section field. - (BFD_JUMP_TABLE_LINK): Adjust. - * aout-adobe.c (aout_32_bfd_is_group_section): Define. - * aout-target.h (MY_bfd_is_group_section): Define. - * aout-tic30.c (MY_bfd_is_group_section): Define. - * bfd.c (bfd_is_group_section): Define. - * binary.c (binary_bfd_is_group_section): Define. - * bout.c (b_out_bfd_is_group_section): Define. - * coff-alpha.c (_bfd_ecoff_bfd_is_group_section): Define. - * coff-mips.c (_bfd_ecoff_bfd_is_group_section): Define. - * coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Adjust. - * coff64-rs6000.c (rs6000coff64_vec, aix5coff64_vec): Adjust. - * coffcode.h (coff_bfd_is_group_section): Define. - * i386msdos.c (msdos_bfd_is_group_section): Define. - * i386os9k.c (os9k_bfd_is_group_section): Define. - * ieee.c (ieee_bfd_is_group_section): Define. - * ihex.c (ihex_bfd_is_group_section): Define. - * libbfd-in.h (_bfd_nolink_bfd_is_group_section): Define. - * mach-o.c (bfd_mach_o_bfd_is_group_section): Define. - * mmo.c (mmo_bfd_is_group_section): Define. - * nlm-target.h (nlm_bfd_is_group_section): Define. - * oasys.c (oasys_bfd_is_group_section): Define. - * pef.c (bfd_pef_bfd_is_group_section): Define. - * ppcboot.c (ppcboot_bfd_is_group_section): Define. - * srec.c (srec_bfd_is_group_section): Define. - * tekhex.c (tekhex_bfd_is_group_section): Define. - * versados.c (versados_bfd_is_group_section): Define. - * vms.c (vms_bfd_is_group_section): Define. - * xsym.c (bfd_sym_bfd_is_group_section): Define. - * bfd-in2.h: Regenerate. - * libbfd.h: Regenerate. - -2004-04-30 Alan Modra <amodra@bigpond.net.au> - - * elflink.c (elf_gc_mark): Follow indirect and warning syms. - -2004-04-30 Hans-Peter Nilsson <hp@axis.com> - - * configure.in: Update version to 2.15.91. - * configure: Regenerate. - -2004-04-29 Brian Ford <ford@vss.fsi.com> - - * bfd.c (bfd_get_sign_extend_vma): Add pe[i]-i386 case to DJGPP hack. - * coffcode.h (DOT_DEBUG, GNU_LINKONCE_WI): Define. - [!COFF_WITH_PE] (sec_to_styp_flags, styp_to_sec_flags): Use them. - (coff_compute_section_file_positions) [RS6000COFF_C]: Likewise. - [COFF_WITH_PE] (sec_to_styp_flags): Handle DWARF 2/3 .debug* and - .gnu.linkonce.wi. sections. - * pe-i386.c (COFF_SUPPORT_GNU_LINKONCE): Define. - (COFF_SECTION_ALIGNMENT_ENTRIES): Add entries for .debug and - .gnu.linkonce.wi.. - * pei-i386.c (COFF_SUPPORT_GNU_LINKONCE): Likewise. - (COFF_SECTION_ALIGNMENT_ENTRIES): Likewise. - -2004-04-28 Chris Demetriou <cgd@broadcom.com> - - * reloc.c: Remove BFD_RELOC_PCREL_HI16_S and BFD_RELOC_PCREL_LO16. - * bfd-in2.h: Regenerate. - * libbfd.h: Likewise. - -2004-04-28 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - * som.c (struct som_misc_symbol_info): Add is_comdat, is_common and - dup_common fields. - (setup_sections): Use som_subspace_dictionary_record struct instead - subspace_dictionary_record. Set SEC_LINK_ONCE if subspace is - is_comdat, is_common or dup_common. - (som_prep_headers): Use som_subspace_dictionary_record struct. Set - is_comdat, is_common and dup_common in section subspace_dict from - copy_data. - (som_begin_writing): Use som_subspace_dictionary_record struct. - (som_finish_writing): Likewise. - (som_bfd_derive_misc_symbol_info): Add support to set is_comdat, - is_common and dup_common flags in info for symbol. Add comment - regarding linker support for these fields. Slightly reorganize - function. - (som_build_and_write_symbol_table): Set is_comdat, is_common and - dup_common fields in symbol table from symbol info. - (bfd_som_set_subsection_attributes): Add comdat, common and dup_common - arguments. Set corresponding fields in copy_data. Change all callers. - (som_bfd_ar_write_symbol_stuff): Set dup_common flag in library - symbol table. - (som_vec): Add SEC_LINK_ONCE to applicable section flags. - * som.h (som_subspace_dictionary_record): Define. - (som_copyable_section_data_struct): Add is_comdat, is_common and - dup_common fields. - (som_section_data_struct): Use som_subspace_dictionary_record struct - instead of subspace_dictionary_record. - (bfd_boolean bfd_som_set_subsection_attributes): Adjust prototype. - -2004-04-27 Bob Wilson <bob.wilson@acm.org> - - * elf32-xtensa.c (xtensa_read_table_entries): Use section _cooked_size - if set. Check reloc_done flag before applying relocations. Use - output addresses, both when applying relocations and when comparing - against the specified section. - (elf_xtensa_relocate_section): Use output address to check if dynamic - reloc is in a literal pool. Set section's reloc_done flag. - -2004-04-27 H.J. Lu <hongjiu.lu@intel.com> - - * elf32-sh64.c (elf_backend_section_flags): New. Defined. - (sh64_elf_set_mach_from_flags): Remove the kludge for .cranges - section. - (sh64_elf_section_flags): New. Set SEC_DEBUGGING for .cranges - section. - -2004-04-27 Alan Modra <amodra@bigpond.net.au> - - * elf64-alpha.c (elf64_alpha_read_ecoff_info): Don't assign - structure field removed in 2004-04-24 patch. - * elf64-sparc.c (sparc64_elf_plt_sym_val): Warning fix. - - * elf-bfd.h (struct elf_backend_data <elf_backend_section_flags>): - Constify hdr arg. - * elf32-arm.h (elf32_arm_section_flags): Likewise. - * elf64-alpha.c (elf64_alpha_section_flags): Likewise. - * elfxx-ia64.c (elfNN_ia64_section_flags): Likewise. - * elf.c (_bfd_elf_make_section_from_shdr): Set the bfd_section - field before calling elf_backend_section_flags. - -2004-04-24 Chris Demetriou <cgd@broadcom.com> - - * elf32-mips.c (elf_mips_gnu_rel_hi16, elf_mips_gnu_rel_lo16) - (elf_mips_gnu_pcrel64, elf_mips_gnu_pcrel32): Remove. - (bfd_elf32_bfd_reloc_type_lookup): Remove cases for - BFD_RELOC_PCREL_HI16_S, BFD_RELOC_PCREL_LO16, BFD_RELOC_64_PCREL, - and BFD_RELOC_32_PCREL. - (mips_elf32_rtype_to_howto): Remove cases for R_MIPS_GNU_REL_HI16, - R_MIPS_GNU_REL_LO16, R_MIPS_PC64, R_MIPS_PC32. - * elfxx-mips.c (mips_elf_calculate_relocation): Likewise. - (_bfd_mips_elf_lo16_reloc): Remove handling for R_MIPS_GNU_REL_HI16. - (mips_elf_next_relocation): Move comment about matching HI/LO - relocations to... - (_bfd_mips_elf_relocate_section): Here. Remove handling for - R_MIPS_GNU_REL_HI16. - -2004-04-23 Chris Demetriou <cgd@broadcom.com> - - * coff-mips.c (mips_relhi_reloc, mips_rello_reloc) - (mips_switch_reloc, mips_read_relocs, mips_relax_section) - (mips_relax_pcrel16, PCREL16_EXPANSION_ADJUSTMENT): Remove. - (mips_relocate_hi): Remove now-unused 'adjust' and 'pcrel' arguments, - and update comments to reflect current usage. - (mips_howto_table): Remove entries for MIPS_R_RELHI, MIPS_R_RELLO, - and MIPS_R_SWITCH, as well as several empty entries. Update comment - for MIPS_R_PCREL16. - (mips_ecoff_swap_reloc_in, mips_ecoff_swap_reloc_out) - (mips_adjust_reloc_out, mips_bfd_reloc_type_lookup): Remove support - for MIPS_R_SWITCH, MIPS_R_RELLO, and MIPS_R_RELHI relocations. - (mips_adjust_reloc_in): Likewise, adjust maximum accepted relocation - type number to be MIPS_R_PCREL16. - (mips_relocate_section): Remove support for link-time relaxation - of branches used by embedded-PIC. Remove support for MIPS_R_SWITCH, - MIPS_R_RELLO, and MIPS_R_RELHI relocations. - (_bfd_ecoff_bfd_relax_section): Redefine to bfd_generic_relax_section. - * ecoff.c (ecoff_indirect_link_order): Remove support for link-time - relaxation of branches used by embedded-PIC. - * ecofflink.c (bfd_ecoff_debug_accumulate): Likewise. - * libecoff.h (struct ecoff_section_tdata): Remove embedded-PIC - related members, update comment. - * pe-mips.c: Remove disabled (commented-out and #if 0'd) - code related to embedded-PIC. - * elfxx-mips.c (_bfd_mips_elf_read_ecoff_info): Remove - initialization of now-removed 'adjust' member of - 'struct ecoff_debug_info'. - -2004-04-23 Chris Demetriou <cgd@broadcom.com> - - * elfxx-mips.c (mips_elf_get_global_gotsym_index): Remove. - -2004-04-21 Philip Blundell <pb@nexus.co.uk> - - * elf32-arm.h (elf32_arm_check_relocs): Don't output REL32 - relocs for locally defined symbols during -shared final link. - (elf32_arm_final_link_relocate): Likewise. - -2004-04-22 Jakub Jelinek <jakub@redhat.com> - - * elf64-x86-64.c (elf64_x86_64_copy_indirect_symbol): Copy also - ELF_LINK_POINTER_EQUALITY_NEEDED. - (elf64_x86_64_check_relocs): Set ELF_LINK_POINTER_EQUALITY_NEEDED - if r_type is not R_X86_64_PC32. - (elf64_x86_64_finish_dynamic_symbol): If - ELF_LINK_POINTER_EQUALITY_NEEDED is not set, clear st_value of - SHN_UNDEF symbols. - -2004-04-22 Kaz Kojima <kkojima@rr.iij4u.or.jp> - - * elf32-sh.c (sh_elf_plt_sym_val): New function. - (elf_backend_plt_sym_val): Define. - -2004-04-22 Andrew Cagney <cagney@redhat.com> - - * opncls.c (bfd_alloc): Fix type of "wanted" in doco. - -2004-04-22 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - * hpux-core.c (hpux_core_core_file_p): Add cast in call to - make_bfd_asection. - * som.c (som_set_section_contents): Constantify second argument. - (hppa_som_gen_reloc_type): Abort for unsupported selectors. - (som_object_setup): Rework to avoid warning. - (setup_sections, som_write_fixups, bfd_section_from_som_symbol): - Likewise. - -2004-04-22 Andrew Cagney <cagney@redhat.com> - - * cache.c (bfd_cache_close): Check for a previously closed file. - -2004-04-22 Jakub Jelinek <jakub@redhat.com> - - * bfd.c (bfd_get_synthetic_symtab): Define. - * targets.c (BFD_JUMP_TABLE_DYNAMIC): Add - NAME##_get_synthetic_symtab. - (struct bfd_target): Add _bfd_get_synthetic_symtab. - * libbfd-in.h (_bfd_nodynamic_get_synthetic_symtab): Define. - * elf-bfd.h (struct elf_backend_data): Add plt_sym_val and - relplt_name fields. - (_bfd_elf_get_synthetic_symtab): New prototype. - * elfcode.h (elf_get_synthetic_symtab): Define. - * elf.c (_bfd_elf_get_synthetic_symtab): New function. - * elfxx-target.h (bfd_elfNN_get_synthetic_symtab): Define. - (elf_backend_plt_sym_val, elf_backend_relplt_name): Define. - (elfNN_bed): Add elf_backend_plt_sym_val and elf_backend_relplt_name. - * bfd-in2.h: Rebuilt. - * libbfd.h: Rebuilt. - * elf32-i386.c (elf_i386_plt_sym_val): New function. - (elf_backend_plt_sym_val): Define. - * elf64-x86-64.c (elf64_x86_64_plt_sym_val): New function. - (elf_backend_plt_sym_val): Define. - * elf32-s390.c (elf_s390_plt_sym_val): New function. - (elf_backend_plt_sym_val): Define. - * elf64-s390.c (elf_s390_plt_sym_val): New function. - (elf_backend_plt_sym_val): Define. - * elf32-sparc (elf32_sparc_plt_sym_val): New function. - (elf_backend_plt_sym_val): Define. - * elf64-sparc.c (sparc64_elf_plt_sym_val): New function. - (elf_backend_plt_sym_val): Define. - * elf32-ppc.c (ppc_elf_plt_sym_val): New function. - (elf_backend_plt_sym_val): Define. - * aout-target.h (MY_get_synthetic_symtab): Define. - * aout-tic30.c (MY_get_synthetic_symtab): Define. - * coff-rs6000.c (rs6000coff_vec): Add - _bfd_nodynamic_get_synthetic_symtab. - (pmac_xcoff_vec): Likewise. - * coff64-rs6000.c (rs6000coff64_vec): Add - _bfd_nodynamic_get_synthetic_symtab. - (aix5coff64_vec): Likewise. - * sunos.c (MY_get_synthetic_symtab): Define. - * vms.c (vms_get_synthetic_symtab): Define. - -2004-04-22 Nick Clifton <nickc@redhat.com> - - * bfd.c (bfd_archive_filename): Return NULL on NULL input. - -2004-04-22 Peter Barada <peter@the-baradas.com> - - * archures.c: Add bfd_mach_mcfv4e to bfd_architecture. - * bfd2-in.h: Regenerate. - * cpu-m68k.c: Add 'm68k:mcfv4e' to arch_info_struct[]. - -2004-04-21 Chris Demetriou <cgd@broadcom.com> - - * coff-mips.c (bfd_mips_ecoff_create_embedded_relocs): Remove. - * elf32-mips.c (bfd_mips_elf32_create_embedded_relocs): Remove. - * bfd-in.h (bfd_mips_ecoff_create_embedded_relocs) - (bfd_mips_elf32_create_embedded_relocs): Remove prototypes - * bfd-in2.h: Regenerate. - -2004-04-21 Bob Wilson <bob.wilson@acm.org> - - * elf32-xtensa.c (is_same_value): Add final_static_link argument and - require relocations against a weak symbol to reference the same - symbol hash entry if not a final, static link. - (get_cached_value, add_value_map): Add final_static_link argument. - (remove_literals): Pass final_static_link argument as needed. - -2004-04-21 Andrew Cagney <cagney@redhat.com> - - * opncls.c (_bfd_new_bfd_contained_in): Copy "iovec". - (struct opncls, opncls_btell, opncls_bseek, opncls_bread) - (opncls_bwrite, opncls_bclose, opncls_bflush) - (opncls_bstat, opncls_iovec, bfd_openr_iovec): Implement a - bfd iovec that uses function callbacks. - (bfd_close): Use the iovec's bclose. - * cache.c (cache_btell, cache_bseek, cache_bread, cache_bwrite) - (cache_bclose, cache_bflush, cache_bstat) - (cache_iovec): New functions and global variable, implement a - cache "iovec", where applicable set bfd_error. - (bfd_cache_init, bfd_cache_close): Set/test the bfd's iovec. - * bfdio.c (struct bfd_iovec): Define. - (real_read): Delete function. - (bfd_bread, bfd_bread, bfd_bwrite, bfd_tell, bfd_flush, bfd_stat) - (bfd_seek, bfd_get_mtime, bfd_get_size): Use the bfd's "iovec", - assume that bread and bwrite set bfd_error. - * bfd.c (struct bfd): Add "iovec", update comments. - * bfd-in2.h, libbfd.h: Re-generate. - -2004-04-21 Andrew Cagney <cagney@redhat.com> - - * libaout.h (enum machine_type): Add M_POWERPC_NETBSD. - -2004-04-21 Eric Botcazou <ebotcazou@act-europe.fr> - - * elflink.c (elf_gc_mark_dynamic_ref_symbol): New function. - (bfd_elf_gc_sections): Fail if a shared object is being created. - Do not fail if dynamic sections have been created. Instead call - elf_gc_mark_dynamic_ref_symbol to mark sections that contain - dynamically referenced symbols. Do not mark the whole graph - rooted at .eh_frame, only the section proper. - -2004-04-20 DJ Delorie <dj@redhat.com> - - * reloc.c: Add BFD_RELOC_32_SECREL. - * bfd-in2.h: Regenerate. - * libbfd.h: Likewise. - * coff-i386.c (howto_table) [COFF_WITH_PE]: Add R_SECREL32. - (coff_i386_rtype_to_howto) [COFF_WITH_PE]: Handle it. - (coff_i386_reloc_type_lookup) [COFF_WITH_PE]: Likewise. - -2004-04-19 Jakub Jelinek <jakub@redhat.com> - - * elf32-sparc.c (elf32_sparc_relocate_section): Handle - relocs against hidden/protected undefweak symbols properly. - * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. - -2004-04-18 Mark Kettenis <kettenis@gnu.org> - - * libaout.h (enum machine_type): Add M_POWERPC_NETBSD. - * netbsd-core.c (netbsd_core_file_p): Set architecture for PowerPC - core files. - -2004-04-17 Brian Ford <ford@vss.fsi.com> - - * peXXigen.c (_bfd_XXi_swap_aouthdr_out): Use the first non-zero - filepos for the SizeOfHeaders field. - (_bfd_XXi_swap_scnhdr_out): Correct section flags lossage on reloc - overflow. - (_bfd_XXi_swap_sym_in): Remove redundant section flags assignment. - -2004-04-16 Alan Modra <amodra@bigpond.net.au> - - * simple.c (bfd_simple_get_relocated_section_contents): Don't - change reloc_done. Set and restore _cooked_size. - (RETURN): Delete. - -2004-04-15 Mark Kettenis <kettenis@gnu.org> - - * netbsd-core.c (netbsd_core_file_p): Set architecture for VAX - core files. - -2004-04-15 Nick Clifton <nickc@redhat.com> - - * bfd.c (bfd_archive_filename): Catch NULL bfd pointers. - -2004-04-15 Alan Modra <amodra@bigpond.net.au> - - * elf64-sparc.c (sparc64_elf_check_relocs): Fix thinko last change. - -2004-04-15 H.J. Lu <hongjiu.lu@intel.com> - - * elflink.c (_bfd_elf_merge_symbol): Treat weak as strong only - when it is a definition. - -2004-04-14 Alan Modra <amodra@bigpond.net.au> - - * elf32-sparc.c (elf32_sparc_relocate_section): Don't abort - when statically linking PIC code. - * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. - -2004-04-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> - - * config.bfd: Remove mips*-*-mach3* and mips*-dec-mach3* targets. - * configure.in: Remove mips-dec-bsd*, mips-dec-mach3*, mips-*-mach3* - targets amd aout_mips_big_vec, aout_mips_little_vec target vectors. - * configure: Regenerate. - -2004-04-08 Richard Sandiford <rsandifo@redhat.com> - - * elflink.c: Include libiberty.h. - * Makefile.am (elflink.lo): Depend on libiberty.h. - * Makefile.in: Regenerate. - -2004-04-06 Daniel Jacobowitz <drow@mvista.com> - - * elfxx-mips.c (MIPS_ELF_STUB_SECTION_NAME): Always use - ".MIPS.stubs". - -2004-04-05 H.J. Lu <hongjiu.lu@intel.com> - - * elfxx-ia64.c (elfNN_ia64_size_dynamic_sections): Always - reserve the memory for dynamic linker - -2004-04-05 Mark Kettenis <kettenis@gnu.org> - - * netbsd-core.c (CORE_WCOOKIE_OFFSET): New define. - (netbsd_core_file_p): Create a .wcookie section for OpenBSD/sparc. - -2004-04-02 H.J. Lu <hongjiu.lu@intel.com> - - * elf32-cr16c.c (elf32_cr16c_relocate_section): Use - RELOC_FOR_GLOBAL_SYMBOL. - (elf32_cr16c_add_symbol_hook): Remove const from Elf_Internal_Sym. - -2004-04-02 H.J. Lu <hongjiu.lu@intel.com> - - * elf32-arm.h (elf32_arm_final_link_relocate): Handle - R_ARM_ALU* only if OLD_ARM_ABI is not defined. - -2004-04-01 Paul Brook <paul@codesourcery.com> - - * bfd-in.h (bfd_elf32_arm_process_before_allocation): Update. - * elf32-arm.h (struct elf32_elf_section_map): New. - (struct _arm_elf_section_data): New. - (elf32_arm_section_data): Define. - (struct elf32_arm_link_hash_table): Add byteswap_code. - (elf32_arm_link_hash_table_create): Initialize byteswap_code. - (bfd_elf32_arm_process_before_allocation): Add byteswap_code. - (elf32_arm_post_process_headers): Set EF_ARM_BE8. - (elf32_arm_output_symbol_hook, elf32_arm_new_section_hook, - elf32_arm_compare_mapping, elf32_arm_write_section): New functions. - (bfd_elf32_new_section_hook, elf_backend_write_section, - elf_backend_link_output_symbol_hook): Define. - -2004-04-01 Andy Chittenden <achittenden@bluearc.com> - - * stabs.c (struct stab_link_includes_totals): Add field 'symb' - that keeps the characters in a B_INCL..B_EINCL range. - (_bfd_link_section_stabs): When computing the sum of the - characters in a B_INCL..B_EINCL range also keep a copy of those - characters. Use this information to distinguish between - include sections that have the same sum and the same length - but which are nevertheless unique. - -2004-03-31 Paul Brook <paul@codesourcery.com> - - * elf32-arm.h (elf32_arm_final_link_relocate): Add R_ARM_ALU*. - * elfarm-nabi.c (elf32_arm_howto_table): Ditto. - -2004-03-31 Andy Chittenden <achittenden@bluearc.com> - - * stabs.c (struct stab_link_includes_totals): Rename field 'total' - to 'sum_chars' and add field 'num_chars'. - (_bfd_link_section_stabs): When computing the sum of the - characters in a B_INCL..B_EINCL range also keep a count of the - number of characters. Use this information to help distinguish - between include sections when have the same sum but which - nevertheless are still unique. - -2004-03-31 Mattias Engdegård <mattias@virtutech.se> - - * stabs.c (_bfd_link_section_stabs): Do not skip N_EXCL stabs. - -2004-03-30 Galit Heller <Galit.Heller@nsc.com> - Tomer Levi <Tomer.Levi@nsc.com> - - * Makefile.am (ALL_MACHINES): Add cpu-cr16c.lo. - (ALL_MACHINES_CFILES): Add cpu-cr16c.c. - (BFD32_BACKENDS): Add elf32-cr16c.lo. - (BFD32_BACKENDS_CFILES): Add elf32-cr16c.c. - (cpu-cr16c.lo): New target. - (elf32-cr16c.lo): Likewise. - * Makefile.in: Regenerate. - * archures.c (bfd_architecture): Add bfd_{arch,mach}_cr16c. - (bfd_archures_list): Add bfd_cr16c_arch. - * config.bfd: Handle cr16c-*-elf*. - * configure.in: Handle bfd_elf32_cr16c_vec. - * configure: Regenerate. - * reloc.c: Add BFD_RELOC_16C_NUM08, BFD_RELOC_16C_NUM08_C, - BFD_RELOC_16C_NUM16, BFD_RELOC_16C_NUM16_C, - BFD_RELOC_16C_NUM32, BFD_RELOC_16C_NUM32_C, - BFD_RELOC_16C_DISP04, BFD_RELOC_16C_DISP04_C, - BFD_RELOC_16C_DISP08, BFD_RELOC_16C_DISP08_C, - BFD_RELOC_16C_DISP16, BFD_RELOC_16C_DISP16_C, - BFD_RELOC_16C_DISP24, BFD_RELOC_16C_DISP24_C, - BFD_RELOC_16C_DISP24a, BFD_RELOC_16C_DISP24a_C, - BFD_RELOC_16C_REG04, BFD_RELOC_16C_REG04_C, - BFD_RELOC_16C_REG04a, BFD_RELOC_16C_REG04a_C, - BFD_RELOC_16C_REG14, BFD_RELOC_16C_REG14_C, - BFD_RELOC_16C_REG16, BFD_RELOC_16C_REG16_C, - BFD_RELOC_16C_REG20, BFD_RELOC_16C_REG20_C, - BFD_RELOC_16C_ABS20, BFD_RELOC_16C_ABS20_C, - BFD_RELOC_16C_ABS24, BFD_RELOC_16C_ABS24_C, - BFD_RELOC_16C_IMM04, BFD_RELOC_16C_IMM04_C, - BFD_RELOC_16C_IMM16, BFD_RELOC_16C_IMM16_C, - BFD_RELOC_16C_IMM20, BFD_RELOC_16C_IMM20_C, - BFD_RELOC_16C_IMM24, BFD_RELOC_16C_IMM24_C, - BFD_RELOC_16C_IMM32, BFD_RELOC_16C_IMM32_C. - * targets.c (bfd_elf32_cr16c_vec): Declare. - (bfd_target_vector): Add bfd_elf32_cr16c_vec. - * cpu-cr16c.c: New file. - * elf32-cr16c.c: Likewise. - * libbfd.h: Regenerate. - * bfd-in2.h: Likewise. - -2004-03-30 Jakub Jelinek <jakub@redhat.com> - - * elf.c (map_sections_to_segments): Fix handling of .tbss. - -2004-03-27 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am: Remove all mention of elflink.h. - * Makefile.in: Regenerate. - * bfd-in.h (bfd_elf_discard_info): Declare. - (bfd_elf32_discard_info, bfd_elf64_discard_info): Delete. - * bfd-in2.h: Regenerate. - * elf-bfd.h (bfd_elf32_print_symbol, bfd_elf64_print_symbol, - bfd_elf32_link_record_dynamic_symbol, - bfd_elf64_link_record_dynamic_symbol, - _bfd_elf_link_record_dynamic_symbol, bfd_elf32_bfd_final_link, - bfd_elf64_bfd_final_link, elf_link_record_local_dynamic_symbol, - _bfd_elf32_link_record_local_dynamic_symbol, - _bfd_elf64_link_record_local_dynamic_symbol, - _bfd_elf32_gc_sections, _bfd_elf32_gc_common_finalize_got_offsets, - _bfd_elf32_gc_common_final_link, _bfd_elf64_gc_common_final_link, - _bfd_elf32_gc_record_vtinherit, _bfd_elf32_gc_record_vtentry, - _bfd_elf64_gc_sections, _bfd_elf64_gc_common_finalize_got_offsets, - _bfd_elf64_gc_record_vtinherit, _bfd_elf64_gc_record_vtentry, - _bfd_elf32_reloc_symbol_deleted_p, - _bfd_elf64_reloc_symbol_deleted_p): Delete. - (bfd_elf_link_record_dynamic_symbol, - bfd_elf_link_record_local_dynamic_symbol, - bfd_elf_final_link, bfd_elf_gc_sections, - bfd_elf_gc_record_vtinherit, bfd_elf_gc_record_vtentry, - bfd_elf_gc_common_finalize_got_offsets, bfd_elf_gc_common_final_link, - bfd_elf_reloc_symbol_deleted_p): Declare. - (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Define. - * elf32-arm.h: Update for changed function names. Remove local - WILL_CALL_FINISH_DYNAMIC_SECTION define. - * elf-hppa.h, elf-m10300.c, elf32-cris.c, elf32-d10v.c, elf32-dlx.c, - * elf32-fr30.c, elf32-frv.c, elf32-h8300.c, elf32-hppa.c, elf32-i386.c, - * elf32-iq2000.c, elf32-m32r.c, elf32-m68hc1x.c, elf32-m68k.c, - * elf32-mcore.c, elf32-openrisc.c, elf32-ppc.c, elf32-s390.c, - * elf32-sh.c, elf32-sparc.c, elf32-v850.c, elf32-vax.c, - * elf32-xstormy16.c, elf32-xtensa.c, elf64-alpha.c, elf64-hppa.c, - * elf64-mmix.c, elf64-ppc.c, elf64-s390.c, elf64-sh64.c, elf64-sparc.c, - * elf64-x86-64.c, elfxx-ia64.c, elfxx-mips.c, elfxx-target.h: Likewise. - * elfxx-target.h (bfd_elfNN_bfd_final_link): Define. - (bfd_elfNN_print_symbol): Define. - * elfcode.h: Don't include elflink.h. - (elf_bfd_discard_info, elf_reloc_symbol_deleted_p, - elf_link_record_dynamic_symbol, elf_bfd_final_link, elf_gc_sections, - elf_gc_common_finalize_got_offsets, elf_gc_common_final_link, - elf_gc_record_vtinherit, elf_gc_record_vtentry, - elf_link_record_local_dynamic_symbol): Don't define. - * elflink.c: Update for changed function names. Move elflink.h - code here. - * elflink.h: Delete file. - * po/SRC-POTFILES.in: Regenerate. - * po/bfd.pot: Regenerate. - -2004-03-27 Alan Modra <amodra@bigpond.net.au> - - * elf64-mmix.c (mmix_elf_relocate_section): Restore code setting - "name" for global syms accidentally removed in 2004-03-20 change. - -2004-03-27 Alan Modra <amodra@bigpond.net.au> - - * elf-bfd.h (struct elf_reloc_cookie): Add r_sym_shift field. - * elflink.h: Replace all occurrences of sizeof (Elf_External_*) - where Elf_External_* is different for 64 and 32 bit, with - corresponding elf_size_info field. - (struct elf_final_link_info): Use "bfd_byte *" instead - of "Elf_External_Sym *" for external_syms and symbuf. - (elf_link_adjust_relocs): Set up r_type_mask and r_sym_shift local - vars and use instead of ELF_R_INFO and ELF_R_TYPE macros. - (struct elf_link_sort_rela): Add "sym_mask" alias for "offset". - (elf_link_sort_cmp1): Use sym_mask field instead of ELF_R_SYM. - (elf_link_sort_cmp2): Adjust. - (elf_link_sort_relocs): Set up r_sym_mask local var instead of - using ELF_R_SYM macro. Set u.sym_mask. - (elf_bfd_final_link): Call _bfd_elf_stringtab_init instead of macro - version, elf_stringtab_init. Ditto for bfd_section_from_elf_index - vs. section_from_elf_index. Adjust Elf_External_Sym pointer - arithmetic. Pass bed to elf_link_flush_output_syms. Adjust - Elf_External_Dyn pointer arithmentic. Use bed swap_dyn_in and - swap_syn_out functions. Rearrange dyn swap in/out switch. - (elf_link_output_sym): Adjust Elf_External_Sym pointer arithmentic. - Pass bed to elf_link_flush_output_syms. Use bed swap_symbol_out. - (elf_link_flush_output_syms): Add elf_backend_data arg. - (elf_link_check_versioned_symbol): Likewise. - (elf_link_output_extsym): Pass bed to elf_link_check_versioned_symbol. - Adjust Elf_External_Sym pointer arithmetic. Use bed swap_symbol_out. - (elf_link_input_bfd): Use bfd_section_from_elf_index. Set up - r_type_mask and r_sym_shift local vars and use instead of ELF_R_SYM, - ELF_R_TYPE and ELF_R_INFO macros. - (elf_reloc_link_order): Select ELF32_R_INFO or ELF64_R_INFO invocation - based on size rather than using ELF_R_INFO. - (elf_gc_mark): Set up r_sym_shift local var and use instead of - ELF_R_SYM macro. - (struct alloc_got_off_arg): New. - (elf_gc_common_finalize_got_offsets): Use elf_size_info instead of - ARCH_SIZE. Pass get entry size down to elf_gc_allocate_got_offsets. - (elf_gc_allocate_got_offsets): Adjust. - (elf_reloc_symbol_deleted_p): Usee cookie.r_sym_shift instead of - ELF_R_SYM. Use bfd_section_from_elf_index. - (elf_bfd_discard_info): Set cookie.r_sym_shift. - * elfcode.h (elf_stringtab_init, section_from_elf_index): Delete. - (elf_slurp_symbol_table): Use bfd_section_from_elf_index. - -2004-03-26 Stan Shebs <shebs@apple.com> - - Remove MPW support, no longer used. - * config.bfd (powerpc-*-mpw*): Remove configuration. - * mpw-config.in, mpw-make.sed: Remove files. - * ecoffswap.h [MPW_C]: Remove MPW-C-friendly version of code. - -2004-03-26 Alan Modra <amodra@bigpond.net.au> - - * elf64-ppc.c (elf_backend_add_symbol_hook): Define. - (ppc64_elf_add_symbol_hook): New function. - * elf-bfd.h (struct elf_backend_data <elf_add_symbol_hook>): Remove - const from Elf_Internal_Sym param. - * elflink.c (elf_link_add_object_symbols): Adjust. - * elf-hppa.h (elf_hppa_add_symbol_hook): Adjust. - * elf32-frv.c (elf32_frv_add_symbol_hook): Adjust. - * elf32-i370.c (elf_backend_add_symbol_hook): Adjust. - * elf32-m32r.c (m32r_elf_add_symbol_hook): Adjust. - * elf32-m68hc1x.c (elf32_m68hc11_add_symbol_hook): Adjust. - * elf32-m68hc1x.h (elf32_m68hc11_add_symbol_hook): Adjust. - * elf32-ppc.c (ppc_elf_add_symbol_hook): Adjust. - * elf32-sh64.c (sh64_elf_add_symbol_hook): Adjust. - * elf32-v850.c (v850_elf_add_symbol_hook): Adjust. - * elf64-alpha.c (elf64_alpha_add_symbol_hook): Adjust. - * elf64-mmix.c (mmix_elf_add_symbol_hook): Adjust. - * elf64-sh64.c (sh64_elf64_add_symbol_hook): Adjust. - * elf64-sparc.c (sparc64_elf_add_symbol_hook): Adjust. - * elfxx-ia64.c (elfNN_ia64_add_symbol_hook): Adjust. - * elfxx-mips.c (_bfd_mips_elf_add_symbol_hook): Adjust. - * elfxx-mips.h (_bfd_mips_elf_add_symbol_hook): Adjust. - -2004-03-26 Alan Modra <amodra@bigpond.net.au> - - * elfxx-target.h (bfd_elfNN_bfd_link_add_symbols): Define. - * elf-bfd.h (_bfd_elf_link_add_archive_symbols): Delete. - (_bfd_elf_sort_symbol, _bfd_elf_add_dt_needed_tag): Delete. - (_bfd_elf_finalize_dynstr, bfd_elf32_bfd_link_add_symbols): Delete. - (bfd_elf64_bfd_link_add_symbols): Delete. - (bfd_elf_link_add_symbols): Declare. - * elfcode.h (elf_bfd_link_add_symbols): Delete. - * elflink.c: Include safe-ctype.h. - (elf_add_dt_needed_tag): Rename from _bfd_elf_add_dt_needed_tag, - make static. - (elf_sort_symbol): Rename from _bfd_elf_sort_symbol, make static. - (elf_finalize_dynstr): Rename from _bfd_elf_finalize_dynstr, make - static. - (elf_link_add_archive_symbols): Rename from - _bfd_elf_link_add_archive_symbols, make static. - (elf_link_add_object_symbols): New function. Corresponding - elflink.h function converted to use elf_size_info. - (bfd_elf_link_add_symbols): Likewise. - (bfd_elf_size_dynamic_sections): Adjust. - * elflink.h (elf_bfd_link_add_symbols): Delete. - (elf_link_add_object_symbols): Delete. - * elf32-gen.c (elf32_generic_link_add_symbols): Call - bfd_elf_link_add_symbols. - * elf64-gen.c (elf64_generic_link_add_symbols): Likewise. - -2004-03-25 Alan Modra <amodra@bigpond.net.au> - - * elflink.h (elf_link_add_object_symbols): Add DT_NEEDED for as-needed - and chained shared libs only if dynsym. Clear dynsym on forced-local. - - * elf-bfd.h (_bfd_elf_add_dynamic_entry): Declare. - (bfd_elf32_add_dynamic_entry, bfd_elf64_add_dynamic_entry): Delete. - (_bfd_elf_add_dt_needed_tag): Declare. - (_bfd_elf_sort_symbol): Declare. - (_bfd_elf_finalize_dynstr): Declare. - (RELOC_FOR_GLOBAL_SYM): Formatting. - * elfcode.h (elf_add_dynamic_entry): Delete. - * elflink.c (_bfd_elf_add_dynamic_entry): New function. Corresponding - elflink.h function converted to use elf_size_info. - (_bfd_elf_add_dt_needed_tag): Likewise. - (_bfd_elf_sort_symbol): Likewise. - (_bfd_elf_finalize_dynstr): Likewise. - (compute_bucket_count): Likewise. - (bfd_elf_size_dynamic_sections): Likewise. Check result of - _bfd_elf_strtab_add before calling _bfd_elf_strtab_addref. - (elf_adjust_dynstr_offsets, elf_collect_hash_codes): Moved from.. - * elflink.h: ..here. - (sort_symbol, add_dt_needed_tag): Delete. - (elf_add_dynamic_entry, elf_finalize_dynstr): Delete. - (compute_bucket_count, NAME(bfd_elf,size_dynamic_sections)): Delete. - Update all users. - * elf32-arm.h (add_dynamic_entry): Update. Remove casts. - * elf32-cris.c (add_dynamic_entry): Likewise. - * elf32-hppa.c (add_dynamic_entry): Likewise. - * elf32-i370.c (add_dynamic_entry): Likewise. - * elf32-i386.c (add_dynamic_entry): Likewise. - * elf32-m32r.c (add_dynamic_entry): Likewise. - * elf32-m68k.c (add_dynamic_entry): Likewise. - * elf32-ppc.c (add_dynamic_entry): Likewise. - * elf32-s390.c (add_dynamic_entry): Likewise. - * elf32-sh.c (add_dynamic_entry): Likewise. - * elf32-sparc.c (add_dynamic_entry): Likewise. - * elf32-vax.c (add_dynamic_entry): Likewise. - * elf32-xtensa.c (add_dynamic_entry): Likewise. - * elf64-alpha.c (add_dynamic_entry): Likewise. - * elf64-hppa.c (add_dynamic_entry): Likewise. - * elf64-ppc.c (add_dynamic_entry): Likewise. - * elf64-s390.c (add_dynamic_entry): Likewise. - * elf64-sparc.c (add_dynamic_entry): Likewise. - * elf64-x86-64.c (add_dynamic_entry): Likewise. - * elfxx-ia64.c (add_dynamic_entry): Likewise. - * elfxx-mips.c (MIPS_ELF_ADD_DYNAMIC_ENTRY): Likewise. - * elf-m10300.c (_bfd_mn10300_elf_size_dynamic_sections): Likewise. - * elf32-frv.c (elf32_frv_size_dynamic_sections): Likewise. - * elf64-sh64.c (sh64_elf64_size_dynamic_sections): Likewise. - -2004-03-23 Paul Brook <paul@codesourcery.com> - - * elf32-arm.h (arm_print_private_bfd_data): Add EABI v3. - -2004-03-22 Bob Wilson <bob.wilson@acm.org> - - * elf32-xtensa.c (elf_xtensa_check_relocs): Remove code to read - literal tables and check for relocs outside of literal pools. - (elf_xtensa_make_sym_local): Don't clear ELF_LINK_NON_GOT_REF flag. - (elf_xtensa_fix_refcounts): Don't check ELF_LINK_NON_GOT_REF or - set DF_TEXTREL. - (elf_xtensa_size_dynamic_sections): Don't add DT_TEXTREL entry. - (elf_xtensa_relocate_section): Read literal tables and check for - dynamic relocations in read-only sections and not in literal pools. - -2004-03-23 Alan Modra <amodra@bigpond.net.au> - - PR 51. - * linker.c (bfd_wrapped_link_hash_lookup): Handle info->wrap_char. - -2004-03-22 Hans-Peter Nilsson <hp@axis.com> - - * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_16_GOTPLT, - R_CRIS_16_GOTPLT>: Also error if there's no PLT for a symbol - not defined by the executable, or defined in a DSO. - <eliding run-time relocation of .got>: Initialize GOT entry for a - function symbol or ELF_LINK_HASH_NEEDS_PLT statically in an - executable. - (cris_elf_gc_sweep_hook): Improve fallthrough marking. - (elf_cris_try_fold_plt_to_got): Improve head comment. Do not fold - a PLT reloc to GOT for an executable. - (elf_cris_adjust_dynamic_symbol): Only fold a .got.plt entry with - .got for a DSO and explain why. - (elf_cris_discard_excess_program_dynamics): Also lose GOT-relocs - and unreferenced symbols for which a PLT is defined. Adjust - dynamic-symbol pruning correspondingly, to make sure we don't lose - a dynamic symbol also defined by a DSO. - -2004-03-22 Alan Modra <amodra@bigpond.net.au> - - * elf-bfd.h (RELOC_FOR_GLOBAL_SYMBOL): Add input_bfd, input_section - and rel args. Group input and output args. Wrap to 80 columns. - * elf-m10200.c, elf-m10300.c, elf32-arm.h, elf32-avr.c, - elf32-cris.c, elf32-d10v.c, elf32-fr30.c, elf32-h8300.c, - elf32-hppa.c, elf32-i386.c, elf32-i860.c, elf32-ip2k.c, - elf32-iq2000.c, elf32-m68hc1x.c, elf32-m68k.c, elf32-mcore.c, - elf32-msp430.c, elf32-openrisc.c, elf32-ppc.c, elf32-s390.c, - elf32-sparc.c, elf32-v850.c, elf32-vax.c, elf32-xstormy16.c, - elf32-xtensa.c, elf64-alpha.c, elf64-mmix.c, elf64-ppc.c, - elf64-s390.c, elf64-sparc.c, elf64-x86-64.c, elfxx-ia64.c: Update - RELOC_FOR_GLOBAL_SYMBOL invocation. - -2004-03-20 H.J. Lu <hongjiu.lu@intel.com> - - * elf-bfd.h (RELOC_FOR_GLOBAL_SYMBOL): Report error if - unresolved symbols in objects aren't allowed. - - * elf-hppa.h (elf_hppa_relocate_section): Properly handle - unresolved symbols. - (elf_hppa_remark_useless_dynamic_symbols): Likewise. - (elf_hppa_unmark_useless_dynamic_symbols): - * elf32-frv.c (elf32_frv_relocate_section): Likewise. - * elf32-hppa.c (elf32_hppa_size_stubs): Likewise. - (elf32_hppa_relocate_section): Likewise. - * elf32-i370.c (i370_elf_relocate_section): Likewise. - * elf32-m32r.c (m32r_elf_relocate_section): Likewise. - * elf32-sh.c (sh_elf_relocate_section): Likewise. - * elf64-sh64.c (sh_elf64_relocate_section): Likewise. - * elfxx-mips.c (mips_elf_calculate_relocation): Likewise. - - * elf-m10200.c (mn10200_elf_relocate_section): Use - RELOC_FOR_GLOBAL_SYMBOL. - * elf32-avr.c (elf32_avr_relocate_section): Likewise. - * elf32-d10v.c (elf32_d10v_relocate_section): Likewise. - * elf32-fr30.c (fr30_elf_relocate_section): Likewise. - * elf32-h8300.c (elf32_h8_relocate_section): Likewise. - * elf32-i860.c (elf32_i860_relocate_section): Likewise. - * elf32-m68hc1x.c (m68hc11_get_relocation_value): Likewise. - * elf32-mcore.c (mcore_elf_relocate_section): Likewise. - * elf32-msp430.c (elf32_msp430_relocate_section): Likewise. - * elf32-openrisc.c (openrisc_elf_relocate_section): Likewise. - * elf32-v850.c (v850_elf_relocate_section): Likewise. - * elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise. - * elf64-mmix.c (mmix_elf_relocate_section): Likewise. - -2004-03-19 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - * elf32-hppa.c (elf32_hppa_check_relocs): Handle R_PARISC_PCREL32. - (final_link_relocate): Likewise. - * elf-hppa.h (elf_hppa_reloc_final_type): Handle selectors for - R_PARISC_PCREL32 and R_PARISC_PCREL64 relocations. - -2004-03-19 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - * aclocal.m4: Regenerate. - * config.in: Regenerate. - * po/bfd.pot: Regenerate. - -2004-03-19 Alan Modra <amodra@bigpond.net.au> - H.J. Lu <hongjiu.lu@intel.com> - - * elflink.c (_bfd_elf_merge_symbol): Revert last change. Move - type and size change code to where it was previously. Remove - dt_needed param. Treat old weak syms as strong if new sym is - from a shared lib, even when old sym is from another shared - lib. Remove unnecessary tests of oldweak and newweak. Correct - comments. - (_bfd_elf_add_default_symbol): Remove dt_needed param. Update - _bfd_elf_merge_symbol calls. - * elflink.h (elf_link_add_object_symbols): Update calls. Remove - dt_needed local var. Update comments. - * elf-bfd.h (_bfd_elf_merge_symbol): Update prototype. - (_bfd_elf_add_default_symbol): Likewise. - - * elflink.c (_bfd_elf_merge_symbol): Reinstate code to handle - strong syms in one shared object overriding weak syms in another. - -2004-03-18 Alan Modra <amodra@bigpond.net.au> - - * elf-bfd.h (struct elf_obj_tdata): Delete dt_soname field. Add - dyn_lib_class field. Rearrange for better packing. - (elf_dt_soname): Delete. - (elf_dyn_lib_class): Define. - * elf.c (bfd_elf_set_dt_needed_name): Update comment. - (bfd_elf_set_dt_needed_soname): Delete. - (bfd_elf_set_dyn_lib_class): New function. - * elflink.h (add_dt_needed_tag): New function. Split out from.. - (elf_link_add_object_symbols): ..here. Rename "name" to "soname". - Use elf_dyn_lib_class to set dt_needed and add_needed. Move fallback - initialization of soname. - (elf_link_check_versioned_symbol): Test elf_dyn_lib_class instead of - elf_dt_soname. - * bfd-in.h (enum dynamic_lib_link_class): New. - (bfd_elf_set_dt_needed_soname): Delete. - (bfd_elf_set_dyn_lib_class): Declare. - * bfd-in2.h: Regenerate. - - * elflink.c (_bfd_elf_merge_symbol): Rewrite weak symbol handling. - (_bfd_elf_add_default_symbol): Remove indirect BFD_ASSERTs. - * elflink.h (elf_link_add_object_symbols): Don't clear dt_needed in - symbol loop. Instead use add_needed to flag tag as written. - -2004-03-17 Nathan Sidwell <nathan@codesourcery.com> - - * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Correct - logic for null_input_bfd detection. - -2004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de> - - * config.bfd: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*. - -2004-03-16 Mark Kettenis <kettenis@gnu.org> - - * netbsd-core.c (netbsd_core_file_p) [CORE_FPU_OFFSET]: Remove - code. - -2004-03-16 Alan Modra <amodra@bigpond.net.au> - - * elflink.c (elf_link_read_relocs_from_section): Don't use - NUM_SHDR_ENTRIES in end of reloc calc. Move NULL shdr check.. - (_bfd_elf_link_read_relocs): ..to here. - * elf32-ppc.c (ppc_elf_relax_section): Formatting. - -2004-03-16 Alan Modra <amodra@bigpond.net.au> - - * configure.in (HOST_64BIT_TYPE, HOST_U_64BIT_TYPE): Don't override - values selected in configure.host. Require both to be defined - before setting BFD_HOST_64_BIT_DEFINED. Protect assignment to - corresponding BFD_HOST vars with quotes. - <${host64}-${target64}-${want64} in *true*>: Don't exempt gcc; - Always require BFD_HOST_64_BIT_DEFINED. - <file_ptr type>: Find off_t size before emitting message. Combine - off_t and ftello64 conditional. - * configure: Regenerate. - -2004-03-16 Alan Modra <amodra@bigpond.net.au> - - * elf32-m32r.c (m32r_elf_create_dynamic_sections): Fix pointer - aliasing warning. Remove trailing whitespace throughout file. - -2004-03-15 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - * elf-hppa.h (elf_hppa_relocate_section): Pass input_bfd instead of - input_section in calls to get_dyn_name. - * elf64-hppa.c (get_dyn_name): Change type of first argument to "bfd *". Use section id of first section in input BFD to build dynamic name for - local symbols. - (elf64_hppa_check_relocs): Pass abfd in call to get_dyn_name. - -2004-03-15 Alan Modra <amodra@bigpond.net.au> - - * bfd-in.h (bfd_int64_t, bfd_uint64_t): New types. - (BFD_HOST_64_BIT, BFD_HOST_U_64_BIT): Don't define here. - (bfd_getb64, bfd_getl64, bfd_get_bits): Return bfd_uint64_t. - (bfd_getb_signed_64, bfd_getl_signed_64): Return bfd_int64_t. - (bfd_putb64, bfd_putl64, bfd_put_bits): Accept bfd_uint64_t. - * configure.in (HOST_U_64BIT_TYPE): Set when sizeof long is 8. - (BFD_HOST_64_BIT_DEFINED, BFD_HOST_64_BIT, BFD_HOST_U_64_BIT): Set - when using long. - * libbfd.c (EIGHT_GAZILLION, COERCE64): Use bfd_int64_t. - (bfd_getb64): Return bfd_uint64_t. Enable when BFD_HOST_64_BIT. - (bfd_getl64, bfd_getb_signed_64, bfd_getl_signed_64): Likewise. - (bfd_putb64): Accept bfd_uint64_t. Enable when BFD_HOST_64_BIT. - (bfd_putl64, bfd_put_bits, bfd_get_bits): Likewise. - * dwarf2.c (struct attribute): Use bfd_int64_t and bfd_uint64_t. - (read_8_bytes, read_indirect_string, read_address): Likewise. - (read_abbrevs, parse_comp_unit): Likewise. - * targets.c (struct bfd_target): Likewise. - * aix386-core.c (NO_GET64, NO_PUT64, NO_GETS64): Define and use. - * hppabsd-core.c: Likewise. Formatting. - * hpux-core.c: Likewise. - * irix-core.c: Likewise. - * netbsd-core.c: Likewise. - * osf-core.c: Likewise. - * ptrace-core.c: Likewise. - * sco5-core.c: Likewise. - * trad-core.c: Likewise. - * configure: Regenerate. - * bfd-in2.h: Regenerate. - -2004-03-15 Alan Modra <amodra@bigpond.net.au> - - * bfd-in.h (bfd_getb64, bfd_getl64): Replace bfd_byte* with void*. - (bfd_getb32, bfd_getl32, bfd_getb16, bfd_getl16): Likewise. - (bfd_getb_signed_64, bfd_getl_signed_64): Likewise. - (bfd_getb_signed_32, bfd_getl_signed_32): Likewise. - (bfd_getb_signed_16, bfd_getl_signed_16): Likewise. - (bfd_putb64, bfd_putl64, bfd_putb32, bfd_putl32): Likewise. - (bfd_putb16, bfd_putl16, bfd_get_bits, bfd_put_bits): Likewise. - * libbfd.c: Likewise in function definitions. - (bfd_put_8): Mask with 0xff rather than casting to char. - (bfd_putb16, bfd_putl16, bfd_putb32, bfd_putl32): Likewise. - (bfd_putb64, bfd_putl64, bfd_put_bits): Likewise. - (H_PUT_64, H_PUT_32, H_PUT_16, H_PUT_8): Remove casts, simplify. - (H_PUT_S64, H_PUT_S32, H_PUT_S16, H_PUT_S8): Likewise. - (H_GET_64, H_GET_32, H_GET_16, H_GET_8): Likewise. - (H_GET_S64, H_GET_S32, H_GET_S16, H_GET_S8): Likewise. - * libaout.h (H_PUT_64 H_PUT_32, H_PUT_16): Remove casts, simplify. - (H_PUT_S64, H_PUT_S32, H_PUT_S16): Likewise. - (H_GET_64, H_GET_32, H_GET_16): Likewise. - (H_GET_S64, H_GET_S32, H_GET_S16): Likewise. - * archive.c (do_slurp_coff_armap): Update swap prototype. - * coff-tic54x.c (tic54x_getl32): Replace bfd_byte* with void*. - (tic54x_getl_signed_32): Likewise. - (tic54x_putl32): Likewise. Mask with 0xff rather than casting to char. - * mach-o.c (bfd_mach_o_read_header): Update get32 prototype. - * pdp11.c (bfd_getp32): Make static, replace bfd_byte* with void*. - (bfd_getp_signed_32, bfd_putp32): Likewise. - * targets.c (struct bfd_target): Use void* in place of bfd_byte* for - bfd_getx64, bfd_getx_signed_64, bfd_putx64, bfd_getx32, - bfd_getx_signed_32, bfd_putx32, bfd_getx16, bfd_getx_signed_16, - bfd_putx16, bfd_h_getx64, bfd_h_getx_signed_64, bfd_h_putx64, - bfd_h_getx32, bfd_h_getx_signed_32, bfd_h_putx32, bfd_h_getx16, - bfd_h_getx_signed_16, bfd_h_putx16. - * aix386-core.c (NO_GET, NO_GETS, NO_PUT): Update prototypes. - * hppabsd-core.c: Similarly. Rename NO_SIGNED_GET to NO_GETS. - * hpux-core.c: Likewise. - * irix-core.c: Likewise. - * netbsd-core.c: Likewise. - * osf-core.c: Likewise. - * ptrace-core.c: Likewise. - * sco5-core.c: Likewise. - * trad-core.c: Likewise. - * bfd-in2.h: Regenerate. - -2004-03-15 Matt Thomas <matt@3am-software.com> - - * config.bfd: Add x86-64 vector to NetBSD/i386 if 64bit BFD is - selected. - -2004-03-13 Mark Kettenis <kettenis@gnu.org> - - * config.bfd: Add x86_64-*-openbsd*. - * configure.in (x86_64-*-openbsd*): Set COREFILE to - netbsd-core.lo. - * configure: Regenerate. - -2004-03-12 Nick Clifton <nickc@redhat.com> - Dave Murphy <wintermute2k4@ntlworld.com> - - * elf32-arm.h (elf32_arm_merge_private_bfd_data): Skip most checks - if the input bfd does not contain any code. - -2004-03-09 Steve Ellcey <sje@cup.hp.com> - - * elfxx-ia64.c (plt_full_entry): Change ld8 to ld8.acq. - -2004-03-05 Fred Fish <fnf@redhat.com> - - * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_symbol): Just force - mips16 symbols to be even rather than testing first for even/odd. - (_bfd_mips_elf_link_output_symbol_hook): Ditto. - -2004-03-05 Nathan Sidwell <nathan@codesourcery.com> - - * elf.c (map_sections_to_segments): Ignore .tbss sections for - layout purposes. - -2004-03-03 Alexandre Oliva <aoliva@redhat.com> - - * elflink.c (bfd_elf_record_link_assignment): Mark undefweak and - undefined symbols as hash_new. - -2003-03-03 Andrew Stubbs <andrew.stubbs@superh.com> - - * archures.c: Add bfd_mach_sh4_nommu_nofpu. - * cpu-sh.c: Ditto. - * elf32-sh.c: Ditto. - * bfd-in2.h: Regenerate. - -2004-03-02 Alexandre Oliva <aoliva@redhat.com> - - * elf32-frv.c (struct frv_pic_relocs_info): Added fixups and - dynrelocs. - (_frv_count_got_plt_entries): Initialize them. - (frv_pic_relocs_info_find): Add insert argument. Adjust all - callers. - (frv_pic_relocs_info_for_global): Likewise. - (frv_pic_relocs_info_for_local): Likewise. - (frv_pic_merge_early_relocs_info): New. - (_frv_resolve_final_relocs_info): Use it in case one entry maps to - another. - (_frv_add_dyn_reloc): Add entry argument. Adjust all callers. - Check that we don't exceed the allocated count for entry. - (_frv_add_rofixup): Likewise. - (_frv_emit_got_relocs_plt_entries): Adjust for coding standards. - (elf32_frv_finish_dynamic_sections): Improve error message in case - we emit too few rofixup entries. - -2004-03-01 Richard Sandiford <rsandifo@redhat.com> - - * archures.c (bfd_mach_fr450): New. - * bfd-in2.h: Regenerate. - * cpu-frv.c (arch_info_450): New bfd_arch_info_type. - (arch_info_500): Link to it. - * elf32-frv.c (elf32_frv_machine, frv_elf_merge_private_bfd_data) - (frv_elf_print_private_bfd_data): Handle fr405 and fr450 header flags. - (frv_elf_arch_extension_p): New function. - (frv_elf_merge_private_bfd_data): Use it. - -2004-02-28 H.J. Lu <hongjiu.lu@intel.com> - - * elf-bfd.h (_bfd_elf_link_add_archive_symbols): New prototype. - - * elflink.h (is_global_data_symbol_definition): Moved to - elflink.c. - (elf_link_is_defined_archive_symbol): Likewise. - (elf_link_add_archive_symbols): Likewise. Renamed to - _bfd_elf_link_add_archive_symbols. - - * elflink.c (elf_link_is_defined_archive_symbol): Get the size - of ELF symbol table entry from backend. - (_bfd_elf_link_add_archive_symbols): Call bfd_link_add_symbols - instead of elf_link_add_object_symbols. - -2004-02-27 Alexandre Oliva <aoliva@redhat.com> - - * elf-bfd.h (struct elf_backend_data): Added - elf_backend_can_make_relative_eh_frame, - elf_backend_can_make_lsda_relative_eh_frame and - elf_backend_encode_eh_address. - (_bfd_elf_encode_eh_address): Declare. - (_bfd_elf_can_make_relative): Declare. - * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Use new - hooks to decide whether to attempt to make_relative and - make_lsda_relative. - (_bfd_elf_write_section_eh_frame_hdr): Call encode_eh_address. - (_bfd_elf_can_make_relative): New. - (_bfd_elf_encode_eh_address): New. - * elf32-frv.c (frv_elf_use_relative_eh_frame): New. - (frv_elf_encode_eh_address): New. - (elf_backend_can_make_relative_eh_frame): Define. - (elf_backend_can_make_lsda_relative_eh_frame): Define. - (elf_backend_encode_eh_address): Define. - * elfxx-target.h - (elf_backend_can_make_relative_eh_frame): Define. - (elf_backend_can_make_lsda_relative_eh_frame): Define. - (elf_backend_encode_eh_address): Define. - (elfNN_bed): Add them. - -2004-02-27 Alexandre Oliva <aoliva@redhat.com> - - * elf32-frv.c (elf32_frv_howto_table) <R_FRV_LABEL16>: Set - complain_on_overflow to signed. - -2004-02-27 H.J. Lu <hongjiu.lu@intel.com> - - * elflink.h (sort_symbol): New. - (elf_link_add_object_symbols): Use a sorted symbol array for - weakdef. - -2004-02-27 Jakub Jelinek <jakub@redhat.com> - - * elf32-s390.c (allocate_dynrelocs): Use SYMBOL_REFERENCES_LOCAL - for pc relative relocs. - (elf_s390_relocate_section): Likewise. - * elf64-s390.c (allocate_dynrelocs): Use SYMBOL_REFERENCES_LOCAL - for pc relative relocs. - (elf_s390_relocate_section): Likewise. - -2004-02-26 H.J. Lu <hongjiu.lu@intel.com> - - * elfxx-ia64.c (elfNN_ia64_check_relocs): Fix call to - count_dyn_reloc. - -2004-02-25 H.J. Lu <hongjiu.lu@intel.com> - - * elfxx-ia64.c (elfNN_ia64_dyn_reloc_entry): Add the reltext. - field to track if a relocation is against readonly section. - (count_dyn_reloc): Take a new argument for rent->reltext. - (elfNN_ia64_check_relocs): Adjust call to count_dyn_reloc. - (get_reloc_section): Don't set ia64_info->reltext here. - (allocate_dynrel_entries): Set ia64_info->reltext here. - -2004-02-24 Alexandre Oliva <aoliva@redhat.com> - - * elf32-frv.c (FRV_SYM_LOCAL): Weak undefined doesn't imply local. - (_frv_emit_got_relocs_plt_entries): Decay relocation to protected - function's descriptor to symbol+offset, and map local undefweak - symbol to NULL function descriptor. - (elf32_frv_relocate_section): Likewise. - -2004-02-23 Mark Kettenis <kettenis@gnu.org> - - * libaout.h (enum machine_type): Add M_SPARC64_NETBSD and - M_X86_64_NETBSD. - * netbsd-core.c (M_SPARC64_OPENBSD): Define. - (netbsd_core_file_p): Set architecture from machine ID for - selected machines. - -2004-02-23 Jakub Jelinek <jakub@redhat.com> - - * elflink.h (size_dynamic_sections): If not adding DT_FLAGS and - DF_BIND_NOW is set in info->flags, create DT_BIND_NOW dynamic entry. - -2004-02-21 H.J. Lu <hongjiu.lu@intel.com> - - * elflink.c (_bfd_elf_merge_symbol): Properly handle undefined - symbols with non-default visibility. - -2004-02-21 Danny Smith <daanysmith@users.sourceforge.net> - - * peXXigen.c (_bfd_XXi_swap_scnhdr_out): Clear - IMAGE_SCN_MEM_WRITE on known sections only. - -2004-02-20 Jakub Jelinek <jakub@redhat.com> - - * elf32-ppc.c (allocate_dynrelocs): Create dynsym for undef weak - symbols used in PIE relocs. - -2004-02-19 Jakub Jelinek <jakub@redhat.com> - - * elf32-sparc.c (elf32_sparc_finish_dynamic_sections): Clear - .plt sh_entsize. - -2004-02-18 Daniel Jacobowitz <drow@mvista.com> - - * configure.in: Update version to 2.15.90. - * configure: Regenerate. - -2004-02-17 Daniel Jacobowitz <drow@mvista.com> - Richard Sandiford <rsandifo@redhat.com> - - * elfxx-mips.c (mips_elf_calculate_relocation): Use - _bfd_elf_symbol_refs_local_p to decide whether to decay - a GOT_PAGE/GOT_OFST pair to GOT_DISP/addend. - (_bfd_mips_elf_check_relocs): Add a global GOT entry for GOT_PAGE - relocs if the symbol wasn't defined by a regular object file. - Don't check the symbol's dynindx. - -2004-02-16 Andrew Cagney <cagney@redhat.com> - - * bfd-in.h (file_ptr, ufile_ptr): Configure type using - @bfd_file_ptr@. - * bfd-in2.h: Re-generate. - -2004-02-14 Andrew Cagney <cagney@redhat.com> - - * configure.host (HDEFINES): When hppa*-*-hpux*, define - _LARGEFILE64_SOURCE. - -2004-02-13 Andrew Cagney <cagney@redhat.com> - - * elf.c (vma_page_aligned_bias): New function. - (assign_file_positions_except_relocs) - (assign_file_positions_for_segments): Replace broken modulo - arithmetic with call to vma_page_aligned_bias. - -2004-02-11 Andrew Cagney <cagney@redhat.com> - - * bfd-in.h: Update copyright. - (bfd_tell): Change return type to file_ptr. - * bfd-in2.h: Re-generate. - * cache.c: Update copyright. - (bfd_cache_lookup_worker): Use real_fseek, do not cast offset - parameter. - (close_one): Use real_ftell. - * bfdio.c: Update copyright. - (real_ftell, real_fseek): New functions. - (bfd_tell): Use real_fseek and real_ftell, change return type to - file_ptr. - (bfd_seek): Use real_ftell and real_fseek, change type of - file_position to a file_ptr. - * libbfd-in.h: Update copyright. - (real_ftell, real_fseek): Declare. - * libbfd.h: Re-generate. - - * configure.in (AC_CHECK_FUNCS): Check for ftello, ftello64, - fseeko and fseeko64. Determine bfd_file_ptr. - * configure: Re-generate. - * config.in: Re-generate. - -2004-02-09 Anil Paranjpe <anilp1@KPITCummins.com> - - * coff-h8300.c: Added comments about relaxation for ldc.w and stc.w. - * elf32-h8300.c: Likewise. - -2004-02-09 Christian Vogel <vogelchr@vogel.cx> - Nick Clifton <nickc@redhat.com> - - * elf64-alpha.c (elf64_alpha_calc_got_offsets_for_symbol): Catch - GOT entries with no associated GOT subsection. - -2004-02-09 Richard Sandiford <rsandifo@redhat.com> - - * bfd-elf.h (elf_backend_name_local_section_symbols): New hook. - * elf.c (swap_out_syms): Use it to decide whether local section - symbols should be named. - * elfxx-target.h (elf_backend_name_local_section_symbols): New macro. - * elfxx-mips.h (_bfd_mips_elf_name_local_section_symbols): Declare. - (elf_backend_name_local_section_symbols): Define. - * elfxx-mips.c (_bfd_mips_elf_name_local_section_symbols): New. - -2004-01-30 H.J. Lu <hongjiu.lu@intel.com> - - * elfxx-ia64.c (elfNN_ia64_relax_brl): New function. - (elfNN_ia64_relax_section): Optimize brl to br during the relax - finalize pass. - -2004-01-30 Alexandre Oliva <aoliva@redhat.com> - - * elf32-frv.c (elf32_frv_always_size_sections): Initialize pointer - to bfd_link_hash_entry passed by reference to - _bfd_generic_link_add_one_symbol. - -2004-01-25 H.J. Lu <hongjiu.lu@intel.com> - - * elfxx-ia64.c (elfNN_ia64_relocate_section): Disallow imm - relocations against dynamic symbols. - -2004-01-23 Daniel Jacobowitz <drow@mvista.com> - - * elf32-arm.h (elf32_arm_check_relocs): Revert part of 2004-01-13 - change. - -2004-01-21 Tom Rix <tcrix@worldnet.att.net> - - * reloc.c: New 5 bit reloc, BFD_RELOC_M68HC12_5B, for m68hc12 movb/movw. - * bfd-in2.h, libbfd.h: Rebuilt. - -2004-01-20 Danny Smith <dannysmith@users.sourceforge.net> - - * peXXigen.c (_bfd_XXi_swap_scnhdr_out): Don't remove - IMAGE_SCN_MEM_WRITE flag from .text section if WP_TEXT - flag has been cleared. - -2004-01-19 Kazu Hirata <kazu@cs.umass.edu> - - * coff-h8300.c: Add and adjust comments about relaxation. - * elf32-h8300.c: Likewise. - -2004-01-16 Kazu Hirata <kazu@cs.umass.edu> - - * coff-h8300.c: Fix comment typos. - * elf32-h8300.c: Likewise. - -2004-01-16 Kazu Hirata <kazu@cs.umass.edu> - - * coff-h8300.c: Add comments about relaxation. - * elf32-h8300.c: Likewise. - -2004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl> - - * acinclude.m4: Quote names of macros to be defined by AC_DEFUN - throughout. - * aclocal.m4: Regenerate. - * configure: Regenerate. - -2004-01-13 Ian Lance Taylor <ian@wasabisystems.com> - - * elf64-mips.c (mips_elf64_slurp_one_reloc_table): Call - mips_elf64_rtype_to_howto instead of using howto_table. - -2004-01-13 Daniel Jacobowitz <drow@mvista.com> - - * elf32-arm.h (elf32_arm_final_link_relocate): Check that we created - the .plt section. - (elf32_arm_check_relocs): Don't increment the PLT refcount for - relocs which would not use the PLT. - -2004-01-13 Alan Modra <amodra@bigpond.net.au> - - * elf64-ppc.c (ppc64_elf_check_relocs): Ignore !SEC_ALLOC relocs. - (ppc64_elf_gc_sweep_hook): Likewise. - (ppc64_elf_size_dynamic_sections): Test for .plt directly. - -2004-01-12 Anil Paranjpe <anilp1@KPITCummins.com> - - Adds linker relaxation support for bit manipulation insns like - band, bclr, biand, bild, bior, bist, bixor, bld, bnot, bor, bset, - bst, btst, bxor. - * elf32-h8300.c: Opcode for bit manipulation insn is checked in - elf32_h8_relax_section function while relxation for aa:16 and aa:32. - * coff-h8300.c: Opcode for bit manipulation insn is checked in - h8300_reloc16_extra_cases function while relxation for aa:16 and aa:32. - -2004-01-12 Alan Modra <amodra@bigpond.net.au> - - * dwarf2.c: Convert to C90, remove unneeded casts and prototypes. - -2004-01-11 Kazu Hirata <kazu@cs.umass.edu> - - * elf32-h8300.c: Fix formatting. - -2004-01-11 Kazu Hirata <kazu@cs.umass.edu> - - * elf32-cris.c (cris_elf_gc_sweep_hook): Return early if no - dynamic object is present. Declare r_symndx and h in an inner - scope. - * elf32-vax.c (elf_vax_gc_sweep_hook): Likewise. - -2004-01-09 Daniel Jacobowitz <drow@mvista.com> - - * elf32-arm.h (struct elf32_arm_relocs_copied): Remove pc_count. - (elf32_arm_copy_indirect_symbol): Don't copy pc_count. - (elf32_arm_final_link_relocate): Handle PLT32 and PC24 relocs - identically. Do not emit PC24 relocations for shared libraries. - (elf32_arm_gc_sweep_hook): Handle PLT32 and PC24 relocs - identically. Don't adjust pc_count. - (elf32_arm_check_relocs): Handle PLT32 and PC24 relocs identically. - Set ELF_LINK_HASH_NEEDS_PLT for both. Don't adjust pc_count; don't - adjust count for branch relocations. - (allocate_dynrelocs): Correct typo in call to - WILL_CALL_FINISH_DYNAMIC_SYMBOL. Never allocate space for - PC24 or PLT32 relocs when linking. - -2004-01-09 Dmitry Semyonov <Dmitry.Semyonov@oktet.ru> - - * coff-arm.c (aoutarm_std_reloc_howto): [ARM_WINCE] Synchronize ARM_26D - relocation howto with ARM_26 one for consistency. - (coff_arm_relocate_section): Set partial_inplace for ARM_26 relocations - that will be converted to ARM_26D ones, since we always want 'done' - relocations to be reflected in section's data. - (coff_arm_relocate_section): [ARM_WINCE] Quick fix for BL instruction - offset. - (_bfd_final_link_relocate): Do not modify "inplace" data, if not - requested. - -2004-01-08 Dmitry Semyonov <Dmitry.Semyonov@oktet.ru> - - * coff-arm.c (coff_arm_relocate_section): Do not alter relocs that - are not partial_inplace during a relocatable link. - -2004-01-08 Kazu Hirata <kazu@cs.umass.edu> - - * elf32-m68k.c (elf_m68k_gc_sweep_hook): Return early - if no dynamic object is present. Declare r_symndx and h in an - inner scope. - -2004-01-07 H.J. Lu <hongjiu.lu@intel.com> - - * elfxx-ia64.c (elfNN_ia64_relax_section): Don't install - trampoline if it is known out of range. - -2004-01-06 Alexandre Oliva <aoliva@redhat.com> - - 2003-12-17 Alexandre Oliva <aoliva@redhat.com> - * elf32-frv.c (_frv_osec_readonly_p): New. - (_frv_emit_got_relocs_plt_entries): Don't emit rofixup for - undefweak symbol. - (_frv_count_got_plt_entries): Adjust expected count accordingly. - (elf32_frv_relocate_section): Likewise. Error out if attempting - to emit rofixups or dynamic relocs in read-only segments. Use - _bfd_elf_section_offset to adjust r_offsets in rofixups and - dynamic relocations. - 2003-12-12 Alexandre Oliva <aoliva@redhat.com> - * elf32-frv.c (elf32_frv_relocate_section): Compute dynamic - relocations or fixups involving merged sections correctly. Avoid - crash when undefined symbol is referenced by R_FRV_32 or - R_FRV_FUNCDESC_VALUE. - 2003-12-02 Alexandre Oliva <aoliva@redhat.com> - * elf32-frv.c (elf32_frv_relocate_section): Add output_offset of - input section holding local symbol to addend of R_FRV_32 or - R_FRV_FUNCDESC_VALUE dynamic relocation. - 2003-11-27 Alexandre Oliva <aoliva@redhat.com> - * elf32-frv.c (elf32_frv_modify_segment_map): Add link info arg. - (elf32_frv_always_size_sections): Don't store pointer to - __stacksize symbol in sec_info. - (elf32_frv_modify_segment_map): Look it up here. - 2003-11-26 Alexandre Oliva <aoliva@redhat.com> - * elf32-frv.c (_frv_emit_got_relocs_plt_entries): Emit the address - of the lazy PLT entry, not only its offset, as the low word of a - function descriptor. - 2003-11-10 Alexandre Oliva <aoliva@redhat.com> - * elf32-frv.c (elf32_frv_always_size_sections): Define __stacksize - if a hash table entry already exists but is not a definition. - 2003-11-05 Alexandre Oliva <aoliva@redhat.com> - * elf32-frv.c (frv_elf_link_hash_table_create): Use bfd_zalloc. - (_frv_add_rofixup): Don't inline. - (_frv_emit_got_relocs_plt_entries): Use NULL as funcdesc address - for undefweak symbols. - (elf32_frv_relocate_section): Avoid crash while computing - relocation when linking with shared library. Only emit rofixups - and dynamic relocations for alloc&load sections. Mark binaries - with inter-segment relocations for relocation as a unit. - (_frv_create_got_section): Rename .rofixup.got to .rofixup. - (DEFAULT_STACK_SIZE): New. - (_frv_count_got_plt_entries): Fix thinko in deciding whether to - emit rofixups or dynamic relocs when linking dynamic non-PIE - executables. - (elf32_frv_size_dynamic_sections): Generate rofixup on PIEs and - shared libs too. Reserve the last entry for the GOT pointer. - (elf32_frv_finish_dynamic_sections): Emit it. - (elf32_frv_always_size_sections): New. - (elf32_frv_modify_segment_map): New. - (elf32_frv_check_relocs): Reserve relocs32 space only in ALLOC - sections. - (frv_elf_merge_private_bfd_data): Clear PIC bit if FDPIC is set. - (frv_elf_print_private_bfd_data): Handle FDPIC and LIBPIC. - (elf_backend_always_size_sections): New. - (elf_backend_modify_segment_map): New. - 2003-10-31 Alexandre Oliva <aoliva@redhat.com> - * config.bfd: Added frv-*-*linux*. - * elf32-frv.c (_frv_emit_got_relocs_plt_entries): Use idx 0 for - ABS section, instead of crashing. - (elf32_frv_relocate_section): Don't crash before warning about - different segments in non-PIC relocation. - 2003-10-17 Alexandre Oliva <aoliva@redhat.com> - * elf32-frv.c (elf32_frv_relocate_section): Don't warn on LABEL24 - relocs to undefweak symbols. - (elf32_frv_relocate_section): Ditto for undefined symbols. - 2003-10-06 Alexandre Oliva <aoliva@redhat.com> - * elf32-frv.c (elf32_frv_create_dynamic_sections): Make sure - gotfixup section was created. - 2003-09-30 Alexandre Oliva <aoliva@redhat.com> - * elf32-frv.c (elf32_frv_howto_table): Change GOT12, - FUNCDESC_GOT12, GOTOFF12 and FUNCDESC_GOTOFF12 to - complain_overflow_signed. - * elf32-frv.c (_frv_add_rofixup): Do not error out if contents - have not been allocated. - (_frv_emit_got_relocs_plt_entries): Return non-void. Assert - privfd only if dynamic sections were created. - (elf32_frv_relocate_section): Compute gprel_segment, and use it - for GPREL relocs. When linking relocatable FDPIC executables, - emit warnings for relocations that would be illegal on PIE or - shared libraries. Emit rofixup for R_FRV_32 only if input object - is not FDPIC. - (_frv_create_got_section): Define _gp symbol in the rofixup - section. - (elf32_frv_finish_dynamic_sections): If rofixups needed but - dynamic sections missing, error out requesting -melf32frvfd. - 2003-09-19 Alexandre Oliva <aoliva@redhat.com> - * elf32-frv.c (_frv_emit_got_relocs_plt_entries): Rearrange - computation of addends from section and global or local symbol - value. Change return type to bfd_boolean, and return a failure if - a dynamic FUNCDESC or FUNCDESC_VALUE relocation that requires a - nonzero addend is required. - (elf32_frv_relocate_section): Likewise. Print error for - unsupported nonzero addends. - 2003-09-18 Alexandre Oliva <aoliva@redhat.com> - * elf32-frv.c (FRV_SYM_LOCAL): In the absence of dynamic sections, - force everything local. - (_frv_emit_got_relocs_plt_entries): Cope with NULL sec. - * elf32-frv.c (struct frv_elf_link_hash_table): Added sgotfixup. - (frv_gotfixup_section): New. - (FRV_SYM_LOCAL): Accept undefweak and local common symbols. - (struct frv_pic_relocs_info): Split relocs into relocs32, relocsfd - and relocsfdv. - (_frv_add_rofixup): New. - (_frv_emit_got_relocs_plt_entries): Generate fixups for non-PIE - fdpic executables. Use FRV_SYM_LOCAL more widely to simplify and - improve some ugly conditions. - (elf32_frv_relocate_section): Likewise. Reject inter-segment - relocations in fdpic. - (_frv_create_got_section): Create .rofixup.got section. - (struct _frv_dynamic_got_info): Added fixups. - (_frv_count_got_plt_entries): Account in-GOT relocations into - relocs32, relocsfd and relocsfdv. Account them into relocs or - fixups, as appropriate. - (elf32_frv_size_dynamic_sections): Size rofixup section. Simplify - sizing of gotrel. - (elf32_frv_finish_dynamic_sections): Verify that the right number - of relocations and fixups was generated. - (elf32_frv_check_relocs): Compute relocs32, relocsfd and - relocsfdv. - * elf32-frv.c (FRV_SYM_LOCAL): New macro, used instead of - SYMBOL_CALLS_LOCAL and SYMBOL_REFERENCES_LOCAL. - (FRV_FUNCDESC_LOCAL): New macro, used to decide whether a function - descriptor of a (formerly-)global symbol is local. - (struct frv_pic_relocs_info): Adjust comments. - (_frv_emit_got_relocs_plt_entries): Adjust. - (elf32_frv_relocate_section): Likewise. - (_frv_count_got_plt_entries): Likewise. - * elf32-frv.c (_frv_emit_got_relocs_plt_entries): Don't add global - symbol's value to addend in the common preamble. Decay dynamic - symbols to section+offset if they bind or call locally, for GOT - and FUNCDESC_VALUE, respectively. - (elf32_frv_relocate_section): Likewise. - (elf32_frv_check_relocs): Don't register as dynamic symbols of - internal or hidden visibility. - 2003-09-17 Alexandre Oliva <aoliva@redhat.com> - * elf32-frv.c (_frv_emit_got_relocs_plt_entries): Get addend as - argument, so as to not call _bfd_elf_rel_local_sym to compute it. - (elf32_frv_relocate_section): Pass relocation addend in. Use - original relocation addend to look up the got relocs/plt entries - table. Do not call _bfd_elf_rel_local_sym. Don't error out when - processing relocations that reference .scommon symbols. - 2003-09-15 Alexandre Oliva <aoliva@redhat.com> - Introduce support for dynamic linking. - * elf32-frv.c (R_FRV_FUNCDESC_VALUE): Mark it as 64 bits. - (elf32_frv_rel_32_howto, elf32_frv_rel_funcdesc_howto, - elf32_frv_rel_funcdesc_value_howto): New REL descriptors. - (frv_reloc_type_lookup): Return REL howtos for executables and - dynamic libraries. - (frv_info_to_howto_rel): New. - (struct frv_elf_link_hash_table): New. - (frv_hash_table, frv_got_section, frv_gotrel_section, - frv_plt_section, frv_pltrel_section, frv_relocs_info, - frv_got_initial_offset, frv_plt_initial_offset): New macros. - (frv_elf_link_hash_table_create): New. - (struct frv_pic_relocs_info): New. - (frv_pic_relocs_info_hash, frv_pic_relocs_info_eq): New. - (frv_pic_relocs_info_find): New. - (frv_pic_relocs_info_for_global, frv_pic_relocs_info_for_local): - New. - (FRV_LZPLT_BLOCK_SIZE, FRV_LZPLT_RESOLVE_LOC): New. - (_frv_add_dyn_reloc, _frv_osec_to_segment): New. - (_frv_emit_got_relocs_plt_entries): New. - (elf32_frv_relocate_section): Add support for dynamic linking. - Handle new relocations. - (_frv_create_got_section): New. - (elf32_frv_create_dynamic_sections): New. - (ELF_DYNAMIC_INTERPRETER): New. - (struct _frv_dynamic_got_info): New. - (_frv_count_got_plt_entries): New. - (struct _frv_dynamic_got_plt_info): New. - (_frv_compute_got_alloc_data): New. - (_frv_get_got_entry, _frv_get_fd_entry): New. - (_frv_assign_got_entries, _frv_assign_plt_entries): New. - (_frv_resolve_final_relocs_info): New. - (elf32_frv_size_dynamic_sections): New. - (elf32_frv_finish_dynamic_sections): New. - (elf32_frv_adjust_dynamic_symbol): New. - (elf32_frv_finish_dynamic_symbol): New. - (elf32_frv_check_relocs): Handle new relocs. Explain how the - whole thing works. - (elf_info_to_howto_rel): Define. - (bfd_elf32_bfd_link_hash_table_create): Define. - (elf_backend_create_dynamic_sections): Define. - (elf_backend_adjust_dynamic_symbol): Define. - (elf_backend_size_dynamic_sections): Define. - (elf_backend_finish_dynamic_symbol): Define. - (elf_backend_finish_dynamic_sections): Define. - (elf_backend_want_got_sym): Define. - (elf_backend_got_header_size): Define. - (elf_backend_want_got_plt): Define. - (elf_backend_plt_readonly): Define. - (elf_backend_want_plt_sym): Define. - (elf_backend_plt_header_size): Define. - (elf_backend_may_use_rel_p): Define. - (elf_backend_may_use_rela_p): Define. - (elf_backend_default_use_rela_p): Define. - 2003-08-08 Alexandre Oliva <aoliva@redhat.com> - * elf32-frv.c (R_FRV_FUNCDESC_VALUE, R_FRV_FUNCDESC_GOTOFF12, - R_FRV_FUNCDESC_GOTOFFHI, R_FRV_FUNCDESC_GOTOFFLO, R_FRV_GOTOFF12, - R_FRV_GOTOFFHI, R_FRV_GOTOFFLO): New. - (frv_reloc_map): Map the corresponding BFD relocs to them. - (frv_reloc_type_lookup): ... and back to BFD relocs. - * reloc.c: New relocs. - * bfd-in2.h, libbfd.h: Rebuilt. - 2003-08-04 Alexandre Oliva <aoliva@redhat.com> - * elf32-frv.c (R_FRV_GOT12, R_FRV_GOTHI, R_FRV_GOTLO, - R_FRV_FUNCDESC, R_FRV_FUNCDESC_GOT12, R_FRV_FUNCDESC_GOTHI, - R_FRV_FUNCDESC_GOTLO): New. - (frv_reloc_map): Map the corresponding BFD relocs to them. - (frv_reloc_type_lookup): ... and back to BFD relocs. - * reloc.c: New relocs. - * bfd-in2.h, libbfd.h: Rebuilt. - -2004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl> - - * elf32-mips.c (ELF_MAXPAGESIZE): Redefine for traditional - targets to support pages of up to 64kB. - (elf32_bed): Redefine to get a separate backend data structure for - traditional targets. - * elf64-mips.c (ELF_MAXPAGESIZE): Redefine for traditional - targets to support pages of up to 64kB. - (elf64_bed): Redefine to get a separate backend data structure for - traditional targets. - * elfn32-mips.c (ELF_MAXPAGESIZE): Redefine for traditional - targets to support pages of up to 64kB. - (elf32_bed): Redefine to get a separate backend data structure for - traditional targets. - -2004-01-04 Mark Kettenis <kettenis@gnu.org> - - * elf32-sparc.c (elf32_sparc_grok_psinfo): New function. - -2004-01-02 Mark Kettenis <kettenis@gnu.org> - - * elf32-i386.c (elf_i386_grok_prstatus): Add support for FreeBSD. - (elf_i386_grok_psinfo): Likewise. - -2004-01-02 Bernardo Innocenti <bernie@develer.com> - - * config.bfd: Add m68k-uClinux target. - -2004-01-01 Grant Edwards <grante@visi.com> - - * elflink.h (elf_gc_sections): Warn when gc-sections option is ignored. - * elf32-h8300.c (elf32_h8_gc_mark_hook): New function. - (elf32_h8_gc_sweep_hook): New function. - (elf_backend_gc_mark_hook): Define. - (elf_backend_gc_sweep_hook): Define. - (elf_backend_can_gc_sections): Define. - -For older changes see ChangeLog-0203 +For older changes see ChangeLog-2005 Local Variables: mode: change-log diff --git a/bfd/ChangeLog-2004 b/bfd/ChangeLog-2004 new file mode 100644 index 0000000..fa2f1ad --- /dev/null +++ b/bfd/ChangeLog-2004 @@ -0,0 +1,5063 @@ +2004-12-31 Paul Brook <paul@copdesourcery.com> + + * elf32-arm.c (elf32_arm_symbian_plt_entry): Fix comment typo. + +2004-12-31 Alan Modra <amodra@bigpond.net.au> + + * reloc.c (BFD_RELOC_AVR_LDI, BFD_RELOC_AVR_6, BFD_RELOC_AVR_6_ADIW): + Commit missing changes from 2004-12-22. + * bfd-in2.h: Regenerate. + +2004-12-23 Tomer Levi <Tomer.Levi@nsc.com> + + * elf32-crx.c (elf32_crx_relax_section): Support 'bcop' relaxation. + +2004-12-21 Kris Warkentin <kewarken@qnx.com> + + * elf.c (elfcore_grok_nto_gregs): Change name to elfcore_grok_nto_regs. + Add 'base' argument for constructing register sections. Reformat. + (elfcore_grok_nto_note): Call elfcore_grok_nto_regs for both + gp and fp regs. Reformat. + +2004-12-22 Klaus Rudolph <lts-rudolph@gmx.de> + + * reloc.c: Add new relocs R_AVR_LDI, R_AVR_6, R_AVR_6_ADIW. + * bfd-in2.h: Regenerate. + * elf32-avr.c (elf_avr_nowto_table): Add the new relocs. + (avr_reloc_map): Likewise. + (avr_final_link_relocate): Likewise. + +2004-12-22 Alan Modra <amodra@bigpond.net.au> + + * elflink.c (_bfd_elf_merge_symbol): Treat old definitions from + as-needed dynamic libs as undefined. + (elf_link_add_object_symbols): Remove DYN_AS_NEEDED from as-needed + libs when finding they are needed. + +2004-12-20 Alan Modra <amodra@bigpond.net.au> + + * elf64-ppc.c (struct ppc64_elf_obj_tdata): Add opd_relocs. + (opd_entry_value): Use opd_relocs if available. + (ppc64_elf_relocate_section): Don't set reloc_done. Instead + copy .opd relocations to opd_relocs. + (ppc64_elf_edit_toc): Set rel_hdr.sh_size after editing relocs. + +2004-12-16 Richard Sandiford <rsandifo@redhat.com> + + * reloc.c (BFD_RELOC_V850_LO16_SPLIT_OFFSET): New bfd_reloc_code_type. + * elf32-v850.c (v850_elf_howto_table): Add entry for + R_V850_LO16_SPLIT_OFFSET. + (v850_elf_reloc_map): Map it to BFD_RELOC_V850_LO16_SPLIT_OFFSET. + (v850_elf_perform_lo16_relocation): New function, extracted from... + (v850_elf_perform_relocation): ...here. Use it to handle + R_V850_LO16_SPLIT_OFFSET. + (v850_elf_check_relocs, v850_elf_final_link_relocate): Handle + R_V850_LO16_SPLIT_OFFSET. + * libbfd.h, bfd-in2.h: Regenerate. + +2004-12-14 P.J. Darcy <darcypj@us.ibm.com> + + * config.bfd: Add s390x-ibm-tpf support. + +2004-12-14 Tomer Levi <Tomer.Levi@nsc.com> + + * elf32-crx.c (elf32_crx_relax_delete_bytes): Add 'struct bfd_link_info *' + to prototype, to make hash info available. + Prevent wrapped symbols from being adjusted twice. + +2004-12-14 Richard Sandiford <rsandifo@redhat.com> + + * elfxx-mips.c (mips_elf_calculate_relocation): Don't report an + overflow for calls to undefined weak symbols. + +2004-12-11 Alan Modra <amodra@bigpond.net.au> + + * elfcode.h (elf_slurp_symbol_table): Use bfd_elf_sym_name so that + canonical sections syms have a name. + +2004-12-11 Alan Modra <amodra@bigpond.net.au> + + * elf64-ppc.c (opd_entry_value): Don't use cached relocs if they + have been adjusted for output. + (ppc64_elf_relocate_section): Mark sections with reloc_done. + +2004-12-10 Alan Modra <amodra@bigpond.net.au> + + * elf.c (bfd_elf_sym_name): Rename from bfd_elf_local_sym_name and + add symtab_hdr param. + (group_signature): Update calls. + * elf-bfd.h (bfd_elf_sym_name): Update. + * elf32-ppc.c (ppc_elf_relocate_section): Update. + * elf64-ppc.c (ppc64_elf_edit_opd, ppc64_elf_edit_toc): Update. + (ppc64_elf_relocate_section): Update. + * elflink.c (elf_link_input_bfd): Update. + +2004-12-10 Jakub Jelinek <jakub@redhat.com> + + * elf.c (bfd_elf_local_sym_name): Avoid crashes with invalid + st_shndx on STT_SECTION sections. + +2004-12-09 Daniel Jacobowitz <dan@codesourcery.com> + + * elfcode.h (elf_slurp_reloc_table_from_section): Don't canonicalize + ELF section symbols. + +2004-12-09 Ian Lance Taylor <ian@wasabisystems.com> + + * elfxx-mips.c (mips_elf_calculate_relocation): For R_MIPS_JALR, + return a real value, unless it is a PLT symbol. + (mips_elf_perform_relocation): On the RM9000, turn a jal into a + bal if possible. + + * elfn32-mips.c (elf_mips_howto_table_rela): Change dst_mask of + R_MIPS_JALR entry to 0. + + * archures.c: Define bfd_mach_mips9000. + * elfxx-mips.c (_bfd_elf_mips_mach): Handle E_MIPS_MACH_9000. + (mips_set_isa_flags): Handle bfd_mach_mips9000. + * cpu-mips.c (I_mips9000): Define. + (arch_info_struct): Add case for bfd_mach_mips9000. + * aoutx.h (NAME(aout,machine_type)): Handle bfd_mach_mips9000. + * bfd-in2.h: Regenerate. + +2004-12-08 Ian Lance Taylor <ian@wasabisystems.com> + + * elfxx-mips.c (mips_elf_calculate_relocation): Test for R_MIPS_26 + overflow. + +2004-12-07 Ben Elliston <bje@gnu.org> + + * netbsd-core.c (netbsd_core_file_p): Make `i' unsigned. + +2004-12-06 Daniel Jacobowitz <dan@debian.org> + + Suggested by Fergal Daly <fergal@esatclear.ie>: + * simple.c (simple_dummy_multiple_definition): New function. + (bfd_simple_get_relocated_section_contents): Use it. + +2004-12-03 Jan Beulich <jbeulich@novell.com> + + * elf.c (elf_find_function): Don't use the last file symbol ever, + seen, but the last one seen prior to the symbol being reported. + Don't report a filename at all for global symbols when that might + be ambiguous/wrong. + +2004-12-01 Paul Brook <paul@codesourcery.com> + + * elf32-arm.c (elf32_arm_copy_private_bfd_data): Set EI_OSABI. + (elf32_arm_post_process_headers): Set EI_OSABI depending on ABI + version. + +2004-12-01 Paul Brook <paul@codesourcery.com> + + * elflink.c (elf_link_add_object_symbols): Make symbols from discarded + sections undefined. + +2004-11-30 Paul Brook <paul@codesourcery.com> + + * elf32-arm.c (struct elf32_arm_link_hash_table): Remove + no_pipeline_knowledge + (elf32_arm_link_hash_table_create): Ditto. + (bfd_elf32_arm_process_before_allocation): Ditto. + (elf32_arm_final_link_relocate): Ditto. Remove oabi relocation + handling. + * bfd-in.h (bfd_elf32_arm_process_before_allocation): Update + prototype. + * bfd-in2.h: Regenerate. + +2004-11-30 Randolph Chung <tausq@debian.org> + + * elf32-hppa.c (elf32_hppa_grok_prstatus): New function. + (elf32_hppa_grok_psinfo): New function. + (elf_backend_grok_prstatus): Define. + (elf_backend_grok_psinfo): Define. + +2004-11-24 H.J. Lu <hongjiu.lu@intel.com> + + PR 574: + * elfcode.h (elf_slurp_symbol_table): Handle STT_TLS. + +2004-11-24 Paul Brook <paul@codesourcery.com> + + * elf.c (assign_section_numbers): Number SHT_GROUP sections first. + +2004-11-24 Paul Brook <paul@codesourcery.com> + + * elf32-arm.c (elf32_arm_swap_symbol_in): New function. + (elf32_arm_swap_symbol_out): New function. + (elf32_arm_size_info): Add. + (elf_backend_size_info): Define. + +2004-11-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + * hpux-core.c (hpux_core_core_file_p): Use offsetof macro in calls to + make_bfd_asection. + +2004-11-19 Alan Modra <amodra@bigpond.net.au> + + * elf32-arm.c (elf32_arm_finish_dynamic_sections): Warning fix. + * elf32-iq2000.c (iq2000_reloc_type_lookup): C90 function decl. + * nlmcode.h (nlm_write_object_contents): Warning fix. + +2004-11-18 Bob Wilson <bob.wilson@acm.org> + + * elf32-xtensa.c (ebb_propose_action): Fix argument order. + +2004-11-17 Daniel Jacobowitz <dan@codesourcery.com> + + * elf32-arm.c (PLT_THUMB_STUB_SIZE): Define. + (elf32_arm_plt_thumb_stub): New. + (struct elf32_arm_link_hash_entry): Add plt_thumb_refcount + and plt_got_offset. + (elf32_arm_link_hash_traverse): Fix typo. + (elf32_arm_link_hash_table): Add obfd. + (elf32_arm_link_hash_newfunc): Initialize new fields. + (elf32_arm_copy_indirect_symbol): Copy plt_thumb_refcount. + (elf32_arm_link_hash_table_create): Initialize obfd. + (record_arm_to_thumb_glue): Mark the glue as a local ARM function. + (record_thumb_to_arm_glue): Mark the glue as a local Thumb function. + (bfd_elf32_arm_get_bfd_for_interworking): Verify that the + interworking BFD is not dynamic. + (bfd_elf32_arm_process_before_allocation): Handle R_ARM_PLT32. Do + not emit glue for PLT references. + (elf32_arm_final_link_relocate): Handle Thumb functions. Do not + emit glue for PLT references. Support the Thumb PLT prefix. + (elf32_arm_gc_sweep_hook): Handle R_ARM_THM_PC22 and + plt_thumb_refcount. + (elf32_arm_check_relocs): Likewise. + (elf32_arm_adjust_dynamic_symbol): Handle Thumb functions and + plt_thumb_refcount. + (allocate_dynrelocs): Handle Thumb PLT references. + (elf32_arm_finish_dynamic_symbol): Likewise. + (elf32_arm_symbol_processing): New function. + (elf_backend_symbol_processing): Define. + +2004-11-16 Richard Sandiford <rsandifo@redhat.com> + + * elf-bfd.h (eh_cie_fde): Add new fields: add_augmentation_size and + add_fde_encoding. Remove need_relative. + * elf-eh-frame.c (extra_augmentation_string_bytes) + (extra_augmentation_data_bytes, size_of_output_cie_fde): New functions. + (_bfd_elf_discard_section_eh_frame): Consider changing the FDE encoding + in cases where the CIE has no existing 'R' augmentation. Use + size_of_output_cie_fde when assigning offsets. Use the final offset + as the new section size. + (_bfd_elf_eh_frame_section_offset): Remove need_relative handling. + Account for any extra augmentation bytes in the returned offset. + (_bfd_elf_write_section_eh_frame): Rework so that the entries are + moved before being modified. Pad growing entries with DW_CFA_nops. + Add 'z' and 'R' augmentations as directed by add_augmentation_size + and add_fde_encoding. + +2004-11-15 Mark Mitchell <mark@codesourcery.com> + + * elf32-arm.c (elf32_arm_relocate_section): Use + arm_real_reloc_type. + +2004-11-16 Richard Sandiford <rsandifo@redhat.com> + + * elfxx-mips.c (mips_elf_create_dynamic_relocation): Return early + for discard relocations; don't add an R_MIPS_NONE to the main body + of .rel.dyn. + +2004-11-04 Paul Brook <paul@codesourcery.com> + + * elf-bfd.h (_bfd_elf_slurp_version_tables): Update prototype. + * elf.c (_bfd_elf_print_private_bfd_data): Pass extra argument. + (_bfd_elf_slurp_version_tables): Add extra argument. Create extra + default version definition for unversioned symbols. + * elfcode.h (elf_slurp_symbol_table): Pass extra argument. + * elflink.c (elf_link_add_object_symbols): Pass extra argument to + _bfd_elf_slurp_version_tables. Set default version for unversioned + imported symbols. + +2004-11-15 Paul Brook <paul@codesourcery.com> + + * elflink.c (elf_link_add_object_symbols): Don't assume version + indices are consecutive. + +2004-11-14 Richard Sandiford <rsandifo@redhat.com> + + * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Deal with + composite relocations against the personality data. + +2004-11-13 Paul Brook <paul@codesourcery.com> + + * bfd/elf32-arm.c (elf32_arm_final_link_relocate): Resolve + R_ARM_PREL31 relocations to PLT entries. + (elf32_arm_relocate_section, elf32_arm_gc_sweep_hook): Ditto. + (elf32_arm_check_relocs): Ditto. + +2004-11-12 Bob Wilson <bob.wilson@acm.org> + + * xtensa-isa.c (xtensa_interface_class_id): New. + +2004-11-11 Bob Wilson <bob.wilson@acm.org> + + * elf32-xtensa.c (property_table_compare): Remove assertion about + entries with the same address and non-zero size. + (xtensa_read_table_entries): Report such entries as errors. + +2004-11-11 Mark Mitchell <mark@codesourcery.com> + + * elf32-arm.c (elf32_arm_final_link_relocate): Correct logic for + R_ARM_RELATIVE on Symbian OS. + +2004-11-09 Mark Mitchell <mark@codesourcery.com> + + * som.c (som_bfd_print_private_bfd_data): New function. + (som_object_setup): Save the auxiliary header. Don't assume that + zero is an invalid entry point for a shared library. + (som_object_p): Allocate the auxiliary header on the heap. + + * elf32-arm.c (elf32_arm_begin_write_processing): Do not use a K&R + declaration. + (elf32_arm_symbian_modify_segment_map): Likewise. + +2004-11-09 Daniel Jacobowitz <dan@debian.org> + + From David Poole <daveml@mbuf.com>: + * elf32-arm.c (elf32_arm_readonly_dynrelocs): New function. + (elf32_arm_size_dynamic_sections): Call it. + +2004-11-09 Alan Modra <amodra@bigpond.net.au> + + * Makefile.am (SOURCE_HFILES): Remove elf32-arm.h. + (ALL_MACHINES_CFILES): Fix typo. + * Makefile.in: Regenerate. + * po/SRC-POTFILES.in: Regenerate. + +2004-11-08 Mark Mitchell <mark@codesourcery.com> + + * elf32-arm.c (elf32_arm_final_link_relocate): When generating an + R_ARM_RELATIVE relocation for Symbian OS, mention the section + symbol in the relocation. + +2004-11-08 Inderpreet Singh <inderpreetb@nioda.hcltech.com> + Vineet Sharma <vineets@noida.hcltech.com> + + * coff-maxq.c: New File. + * cpu-maxq.c: New File. + * coffcode.h: Likewise. + * config.bfd: Likewise. + * configure.in (maxqcoff_vec): New target vector. + * Makefile.am: Add support for maxq target. + * configure.in: Likewise. + * archures.c:. Likewise. + * targets.c: Likewise. + * bfd_in2.h : Regenerated. + * Makefile.in: Regenerated. + * configure: Regenerated. + * doc/Makefile.in: Regenerated. + +2004-11-08 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> + + * coff-i386.c (coff_i386_reloc): Fix weak symbols. + * cofflink.c (_bfd_coff_link_input_bfd): Don't process + C_NT_WEAK aux entries. + (_bfd_coff_generic_relocate_section): Handle undefined + aliases. + +2004-11-07 Andreas Schwab <schwab@suse.de> + + * elf32-m68k.c (elf_m68k_adjust_dynamic_symbol): Use + SYMBOL_CALLS_LOCAL and check for undefweak symbols with + non-default visibility. + +2004-11-01 Mark Mitchell <mark@codesourcery.com> + + * elf32-arm.c (elf32_arm_symbian_begin_write_processing): Clear + D_PAGED. + (elf32_arm_symbian_modify_segment_map): Don't + reset includes_filehdr and includes_phdrs here. + +2004-11-04 Daniel Jacobowitz <dan@debian.org> + + * Makefile.am (BFD32_BACKENDS, BFD32_BACKENDS_CFILES): Replace + elfarm-nabi with elf32-arm. Remove elfarm-oabi. + (elf32-arm.lo): Replace elfarm-nabi.lo rule. Remove elf32-arm.h + dependency. + * config.bfd: Move arm-*-oabi* and thumb-*-oabi* from obsolete list + to a new removed list. Remove normal configuration stanzas. + * configure.in: (bfd_elf32_bigarm_vec, bfd_elf32_bigarm_symbian_vec) + (bfd_elf32_littlearm_symbian_vec, bfd_elf32_littlearm_vec): Replace + elfarm-nabi.lo with elf32-arm.lo. + (bfd_elf32_bigarm_oabi_vec, bfd_elf32_littlearm_oabi_vec): Remove. + * elf32-arm.c: Renamed from elfarm-nabi.c. Inline elf32-arm.h. + * elf32-arm.h: Remove. + * elfarm-oabi.c: Remove. + * targets.c (_bfd_target_vector): Remove bfd_elf32_bigarm_oabi_vec + and bfd_elf32_littlearm_oabi_vec. + * aclocal.m4, Makefile.in, configure, doc/Makefile.in: Regenerated. + +2004-11-04 Hans-Peter Nilsson <hp@axis.com> + + * config.bfd: Support crisv32-*-* like cris-*-*. + * archures.c (bfd_mach_cris_v0_v10, bfd_mach_cris_v32) + (bfd_mach_cris_v10_v32): New macros. + * cpu-cris.c: Tweak formatting. + (get_compatible): New function. + (N): New macro. + (bfd_cris_arch_compat_v10_v32, bfd_cris_arch_v32): New + bfd_arch_info_type:s. + (bfd_cris_arch): Use bfd_mach_cris_v0_v10 for member mach, + get_compatible for member compatible and link bfd_cris_arch_v32 as + next. + * elf32-cris.c (cris_elf_pcrel_reloc) + (cris_elf_set_mach_from_flags): New functions. + (cris_elf_howto_table) <R_CRIS_8_PCREL, R_CRIS_16_PCREL> + <R_CRIS_32_PCREL>: Use cris_elf_pcrel_reloc. + (cris_elf_grok_prstatus, cris_elf_grok_psinfo): Give correct + numbers for bfd_mach_cris_v32. + (PLT_ENTRY_SIZE_V32): New macro. + (elf_cris_plt0_entry): Drop last comma in initializer. + (elf_cris_plt0_entry_v32, elf_cris_plt_entry_v32) + (elf_cris_pic_plt0_entry_v32, elf_cris_pic_plt_entry_v32): New + PLT initializers. + (cris_elf_relocate_section): Change all "%B(%A)" messages to + "%B, section %A". + (elf_cris_finish_dynamic_symbol): Do V32-specific PLT entries. + (elf_cris_finish_dynamic_sections): Similar. + (elf_cris_adjust_dynamic_symbol): Similar. + (cris_elf_check_relocs): Change all "%B(%A)" messages to "%B, + section %A". + <switch with PIC relocs>: Emit error and return FALSE for + bfd_mach_cris_v10_v32. + <case R_CRIS_8_PCREL, case R_CRIS_16_PCREL, case R_CRIS_32_PCREL>: + Emit warning when generating textrel reloc. + (cris_elf_object_p): Call cris_elf_set_mach_from_flags. + (cris_elf_final_write_processing): Set flags according to mach. + (cris_elf_print_private_bfd_data): Display + EF_CRIS_VARIANT_COMMON_V10_V32 and EF_CRIS_VARIANT_V32. + (cris_elf_merge_private_bfd_data): Drop variables old_flags, + new_flags. Don't call cris_elf_final_write_processing. Don't + look at the actual elf header flags at all; use + bfd_get_symbol_leading_char to check ibfd, obfd. Trap difference + in bfd_get_mach for ibfd and obfd and handle merging of compatible + objects. + (bfd_elf32_bfd_copy_private_bfd_data): Define. + * reloc.c (BFD_RELOC_CRIS_SIGNED_8, BFD_RELOC_CRIS_UNSIGNED_8) + (BFD_RELOC_CRIS_SIGNED_16, BFD_RELOC_CRIS_UNSIGNED_16) + (BFD_RELOC_CRIS_LAPCQ_OFFSET): New relocs. + * bfd-in2.h, libbfd.h: Regenerate. + +2004-11-04 Alan Modra <amodra@bigpond.net.au> + + * elf64-ppc.h (ppc64_elf_edit_toc): Declare. + * elf64-ppc.c (struct ppc_link_hash_entry <adjust_done>): Update + comment. + (struct adjust_toc_info): New. + (adjust_toc_syms, ppc64_elf_edit_toc): New functions. + +2004-11-03 Bob Wilson <bob.wilson@acm.org> + + * elf.c (assign_file_positions_for_segments): Set next_file_pos even + if there are no segments. + +2004-11-02 Daniel Jacobowitz <dan@debian.org> + + * config.bfd: Mark arm-*-oabi and thumb-*-oabi as obsolete. + +2004-11-02 Nick Clifton <nickc@redhat.com> + + * elf32-iq2000.c: Convert to ISO C90 formatting. + +2004-11-02 Hans-Peter Nilsson <hp@axis.com> + + * elflink.c (_bfd_elf_create_got_section): Hide _GLOBAL_OFFSET_TABLE_. + +2004-10-28 H.J. Lu <hongjiu.lu@intel.com> + + * elfxx-ia64.c (elfNN_ia64_relocate_section): Handle weak + undefined symbols for R_IA64_SECREL32MSB, R_IA64_SECREL32LSB, + R_IA64_SECREL64MSB and R_IA64_SECREL64LSB. + +2004-10-28 Kaz Kojima <kkojima@rr.iij4u.or.jp> + + * elf32-sh.c (tpoff): Take alignment into account. + +2004-10-28 Nick Clifton <nickc@redhat.com> + + * elf32-iq2000.c (iq2000_elf_relocate_section): Do nothing when + performing a relocatable link. + (iq2000_elf_object_p): Do not set elf_bad_symtab. This is only + for MIPS ports under Irix. + +2004-10-27 Richard Earnshaw <rearnsha@arm.com> + + * elf32-arm.h (bfd_elf32_arm_process_before_allocation): Handle + R_ARM_CALL and R_ARM_JUMP24 as aliases of R_ARM_PC24. + (elf32_arm_final_link_relocate): Ditto. + (arm_add_to_rel, elf32_arm_relocate_section): Ditto. + (elf32_arm_gc_sweep_hook, elf32_arm_check_relocs): Ditto + (elf32_arm_adjust_dynamic_symbol): Ditto. + * elfarm-nabi.c (elf32_arm_howto_table): Add R_ARM_CALL and + R_ARM_JUMP32. Move R_ARM_R{REL32,ABS32,PC24,BASE}... + (elf32_arm_r_howto): ... To here. + (elf32_arm_howto_from_type): Use elf32_arm_r_howto. + +2004-10-26 H.J. Lu <hongjiu.lu@intel.com> + + PR 475 + * elfxx-ia64.c (elfNN_ia64_relocate_section): Correct + R_IA64_SECREL32MSB, R_IA64_SECREL32LSB, R_IA64_SECREL64MSB + and R_IA64_SECREL64LSB. + +2004-10-26 Paul Brook <paul@codesourcery.com> + + * elflink.c (elf_finalize_dynstr): Skip shared aux structure. + (bfd_elf_size_dynamic_sections): Create default version definition. + (elf_link_output_extsym): Adjust for default symbol version. + +2004-10-24 Hans-Peter Nilsson <hp@bitrange.com> + + * mmo.c: Adjust to ISO C. + + * mmo.c (mmo_write_section_description): New function broken out + of mmo_internal_write_section. + (mmo_internal_write_section): For each of .text and .data, call + mmo_write_section_description before outputting contents if it has + nontrivially deducible vma or contents. + (mmo_has_leading_or_trailing_zero_tetra_p): New function. + (mmo_canonicalize_symtab): Adjust absolute symbols to .data + symbols if found within the .data address range. + +2004-10-24 Daniel Jacobowitz <dan@debian.org> + + * opncls.c (bfd_close): Return TRUE for BFD_IN_MEMORY. + +2004-10-24 Hans-Peter Nilsson <hp@bitrange.com> + + * mmo.c (File Layout): Correct place of misplaced blurb about + special data. + +2004-10-22 Mark Kettenis <kettenis@gnu.org> + + * config.bfd: Add mips64*-*-openbsd. + +2004-10-21 Bob Wilson <bob.wilson@acm.org> + + * elf32-xtensa.c (ebb_propose_action): Put declarations before + statements. + +2004-10-21 H.J. Lu <hongjiu.lu@intel.com> + + * configure.in: (AM_INIT_AUTOMAKE): Set version to 2.15.94. + * configure: Regenerate. + +2004-10-21 H.J. Lu <hongjiu.lu@intel.com> + + PR 463 + * aoutx.h (aout_link_input_section_std): Pass proper hash entry + to linker reloc_overflow callback. + (aout_link_input_section_ext): Likewise. + (aout_link_reloc_link_order): Likewise. + * coff-a29k.c (coff_a29k_relocate_section): Likewise. + * coff-alpha.c (alpha_ecoff_get_relocated_section_contents): + Likewise. + (alpha_relocate_section): Likewise. + * coff-arm.c (coff_arm_relocate_section): Likewise. + * coff-h8300.c (h8300_reloc16_extra_cases): Likewise. + * coff-h8500.c (extra_case): Likewise. + * coff-i960.c (coff_i960_relocate_section): Likewise. + * coff-mcore.c (coff_mcore_relocate_section): Likewise. + * coff-mips.c (mips_relocate_section): Likewise. + * coff-or32.c (coff_or32_relocate_section): Likewise. + * coff-ppc.c (coff_ppc_relocate_section): Likewise. + * coff-rs6000.c (xcoff_ppc_relocate_section): Likewise. + * coff-sh.c (sh_relocate_section): Likewise. + * coff-tic80.c (coff_tic80_relocate_section): Likewise. + * coff-w65.c (w65_reloc16_extra_cases): Likewise. + * coff-z8k.c (extra_case): Likewise. + * coff64-rs6000.c (xcoff64_ppc_relocate_section): Likewise. + * cofflink.c (_bfd_coff_reloc_link_order): Likewise. + (_bfd_coff_generic_relocate_section): Likewise. + * ecoff.c (ecoff_reloc_link_order): Likewise. + * elf-hppa.h (elf_hppa_relocate_section): Likewise. + * elf-m10200.c (mn10200_elf_relocate_section): Likewise. + * elf-m10300.c (mn10300_elf_relocate_section): Likewise. + * elf32-arm.h (elf32_arm_relocate_section): Likewise. + * elf32-avr.c (elf32_avr_relocate_section): Likewise. + * elf32-cr16c.c (elf32_cr16c_relocate_section): Likewise. + * elf32-cris.c (cris_elf_relocate_section): Likewise. + * elf32-crx.c (elf32_crx_relocate_section): Likewise. + * elf32-d10v.c (elf32_d10v_relocate_section): Likewise. + * elf32-fr30.c (fr30_elf_relocate_section): Likewise. + * elf32-frv.c (elf32_frv_relocate_section): Likewise. + * elf32-h8300.c (elf32_h8_relocate_section): Likewise. + * elf32-hppa.c (elf32_hppa_relocate_section): Likewise. + * elf32-i370.c (i370_elf_relocate_section): Likewise. + * elf32-i386.c (elf_i386_relocate_section): Likewise. + * elf32-i860.c (elf32_i860_relocate_section): Likewise. + * elf32-ip2k.c (ip2k_elf_relocate_section): Likewise. + * elf32-iq2000.c (iq2000_elf_relocate_section): Likewise. + * elf32-m32r.c (m32r_elf_relocate_section): Likewise. + * elf32-m68hc1x.c (elf32_m68hc11_relocate_section): Likewise. + * elf32-m68k.c (elf_m68k_relocate_section): Likewise. + * elf32-mcore.c (mcore_elf_relocate_section): Likewise. + * elf32-msp430.c (elf32_msp430_relocate_section): Likewise. + * elf32-openrisc.c (openrisc_elf_relocate_section): Likewise. + * elf32-ppc.c (ppc_elf_relocate_section): Likewise. + * elf32-s390.c (elf_s390_relocate_section): Likewise. + * elf32-sh.c (sh_elf_relocate_section): Likewise. + * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. + * elf32-v850.c (v850_elf_relocate_section): Likewise. + * elf32-vax.c (elf_vax_relocate_section): Likewise. + * elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise. + * elf64-alpha.c (elf64_alpha_relocate_section): Likewise. + * elf64-mmix.c (mmix_elf_relocate_section): Likewise. + * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. + * elf64-s390.c (elf_s390_relocate_section): Likewise. + * elf64-sh64.c (sh_elf64_relocate_section): Likewise. + * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. + * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. + * elflink.c (elf_reloc_link_order): Likewise. + * elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise. + * elfxx-mips.c (_bfd_mips_elf_relocate_section): Likewise. + (_bfd_elf_mips_get_relocated_section_contents): Likewise. + * linker.c (_bfd_generic_reloc_link_order): Likewise. + * pdp11.c (pdp11_aout_link_input_section): Likewise. + (aout_link_reloc_link_order): Likewise. + * reloc.c (bfd_generic_get_relocated_section_contents): + Likewise. + * xcofflink.c (xcoff_reloc_link_order): Likewise. + * simple.c (simple_dummy_reloc_overflow): Updated. + +2004-10-20 Andreas Schwab <schwab@suse.de> + + * elf32-m68k.c (elf_m68k_plt_sym_val): New function. + (elf_backend_plt_sym_val): Define. + +2004-10-19 Danny Smith <dannysmith@users.sourceforege.net> + + * config.bfd: Set targ_underscore=yes for PE COFF targets + +2004-10-19 Alan Modra <amodra@bigpond.net.au> + + * elf64-ppc.c (opd_entry_value): Handle --just-symbols objects. + (ppc64_elf_edit_opd): Likewise. + +2004-10-18 Mark Mitchell <mark@codesourcery.com> + + * elfarm-nabi.c (ELF_DYNAMIC_SEC_FLAGS): Add comment. + * elflink.c (_bfd_elf_create_dynamic_sections): For a loaded PLT, + set SEC_ALLOC and SEC_LOAD. + +2004-10-18 Nick Clifton <nickc@redhat.com> + + * elf32-xstormy16.c (xstormy16_elf_relocate_section): Compute + 'name' for relocs against both local and global symbols. + +2004-10-16 Daniel Jacobowitz <dan@debian.org> + + * bfd-in2.h: Regenerate. + * bfd.c (struct bfd): Add no_export. + * elflink.c (elf_link_add_object_symbols): Handle no_export. + +2004-10-15 Alan Modra <amodra@bigpond.net.au> + + * config.bfd: Whitespace cleanup. + * Makefile.am: Run "make dep-am" + * Makefile.in: Regenerate. + +2004-10-15 Jakub Jelinek <jakub@redhat.com> + + * elflink.c (struct already_linked_section): Removed. + (try_match_symbols_in_sections, already_linked): Removed. + (_bfd_elf_section_already_linked): Skip ^\.gnu\.linkonce\.[^.]*\. + prefix of section names when finding already_linked_table + chain. Compare section names. Instead of calling already_linked, + do it inline and only for sections in the same already_linked_list. + +2004-10-15 Alan Modra <amodra@bigpond.net.au> + + * elf-eh-frame.c (_bfd_elf_eh_frame_section_offset): Add "info" + parameter. If called after _bfd_elf_write_section_eh_frame, + don't allow a -2 return unless need_* bit is already set, and + handle offsets adjusted for output_offset. + * elf-bfd.h (_bfd_elf_eh_frame_section_offset): Update prototype. + * elf.c (_bfd_elf_section_offset): Update call. + +2004-10-13 H.J. Lu <hongjiu.lu@intel.com> + + PR 440 + * coffcode.h (coff_compute_section_file_positions): Cast to + bfd_vma when computing page alignment. + +2004-10-13 Mark Mitchell <mark@codesourcery.com> + + * elf32-arm.h (elf32_arm_finish_dynamic_sections): Use file + offsets, not VMAs, for DT_VERSYM, DT_VERDEF, DT_VERNEED. + +2004-10-12 Mark Mitchell <mark@codesourcery.com> + + * elf32-arm.h (elf32_arm_finish_dynamic_symbol): Make .rel.plt + relocations use a virtual address, not a section offset. + +2004-10-12 Bob Wilson <bob.wilson@acm.org> + + * elf32-xtensa.c (elf_xtensa_get_private_bfd_flags): Delete. + (narrow_instruction, widen_instruction): Remove unnecessary calls to + xtensa_format_encode. + (ebb_propose_action): Inline call to ebb_add_proposed_action. + (ebb_add_proposed_action): Delete. + +2004-10-12 Bob Wilson <bob.wilson@acm.org> + + * elf32-xtensa.c: Use ISO C90 formatting. + +2004-10-12 Paul Brook <paul@codesourcery.com> + + * elf32-arm.h (elf32_arm_merge_private_bfd_data): Rephrase error + message. + +2004-10-12 Paul Brook <paul@codesourcery.com> + + * elf32-arm.h: Support EABI version 4 objects. + +2004-10-12 Alan Modra <amodra@bigpond.net.au> + + PR 325 + * cpu-i386.c (bfd_x86_64_arch_intel_syntax): Place last in chain. + Don't mark as default. + (bfd_x86_64_arch): Don't mark as default. + +2004-10-12 Alan Modra <amodra@bigpond.net.au> + + * elflink.c (enum action_discarded): New. + (elf_section_complain_discarded): Delete. + (elf_action_discarded): New function subsuming the above and also + controlling reloc behaviour. + (elf_link_input_bfd): Use it. + +2004-10-11 Jakub Jelinek <jakub@redhat.com> + + * elf.c (bfd_section_from_shdr): Handle SHT_GNU_LIBLIST. + (special_sections): Add .gnu.liblist and .gnu.conflict. + (assign_section_numbers): Handle SHT_GNU_LIBLIST. + +2004-10-11 Alan Modra <amodra@bigpond.net.au> + + PR 233 + * elflink.c (elf_link_input_bfd): Try harder to support + relocations against symbols in removed linkonce sections. + +2004-10-11 Alan Modra <amodra@bigpond.net.au> + + * elflink.c (elf_link_input_bfd): Revert PR 354 change. + + PR 354 + * elflink.c (elf_link_input_bfd): Check that relocs in SEC_ALLOC + sections do not reference symbols in non-SEC_ALLOC sections. + +2004-10-11 Alan Modra <amodra@bigpond.net.au> + + PR 437 + * elflink.c (elf_link_sort_relocs): Don't bomb on unusual sections. + (_bfd_elf_link_omit_section_dynsym): Formatting. + +2004-10-10 Alan Modra <amodra@bigpond.net.au> + + * libbfd-in.h (BFD_ASSERT, BFD_FAIL): Wrap macro body in do while. + * libbfd.h: Regnerate. + * elf32-cris.c: Add missing semicolon to BFD_ASSERTs. + * elf32-frv.c: Likewise. + * elf32-m32r.c: Likewise. + * elf32-ppc.c: Likewise. + * elf64-hppa.c: Likewise. + * elfxx-ia64.c: Likewise. + * opncls.c: Likewise. + +2004-10-10 Alan Modra <amodra@bigpond.net.au> + + * elf-bfd.h (struct eh_frame_hdr_info): Add offsets_adjusted. + * elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Adjust + offsets stored in struct eh_cie_fde entries before doing other + work. + + * elf-bfd.h (struct eh_cie_fde): Add cie_inf, remove sec. + (struct eh_frame_hdr_info): Add last_cie_inf, remove last_cie_offset. + * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Delete code + setting offsets for removed CIEs. Don't set "sec", instead set + cie_inf for FDEs. Keep a pointer to last struct eh_cie_fde for a + CIE in hdr_info. Only set make_relative and make_lsda_relative + for CIEs. Use pointers rather than array indices. + (_bfd_elf_eh_frame_section_offset): Test/set make_relative, + make_lsda_relative, need_* on cie_inf for FDEs. + (_bfd_elf_write_section_eh_frame): Adjust offset and new_offset for + section output_offset. Delete cie_offset, instead use cie_inf + pointer to CIE entry. Use need_relative and need_lsda_relative on + CIE entry for FDEs. Use pointers rather than array indices. + +2004-10-09 Alan Modra <amodra@bigpond.net.au> + + * coff-rs6000.c (rs6000coff_vec): Add initializer for + bfd_is_target_special_symbol. + * coff64-rs6000.c (rs6000coff64_vec): Likewise. + * som.c (som_bfd_is_target_special_symbol): Define. + +2004-10-08 Nick Clifton <nickc@redhat.com> + + * configure.in: (AM_INIT_AUTOMAKE): Set version to 2.15.93. + * configure: Regenerate. + * bfd-in2.h: Regenerate. + * syms.c (bfd_is_target_special_symbol): New interface function. + Returns true when a symbol should be considered to be special. + * targets.c (bfd_target): Include bfd_is_target_special_symbol in + the symbol jump table. + * elf32-arm.h (elf32_arm_is_target_special_symbol): New function. + Return true iff the symbol is a mapping symbol. + (bfd_elf32_bfd_is_target_special_symbol): Define. + * elfxx-target.h: Provide a default definition for + bfd_is_target_special_symbol. + * aout-target.h: Likewise. + * aout-tic30.c: Likewise. + * binary.c: Likewise. + * coffcode.h: Likewise. + * i386msdos.c: Likewise. + * ieee.c: Likewise. + * ihex.c: Likewise. + * libaout.h: Likewise. + * libbfd-in.h: Likewise + * libecoff.h: Likewise. + * mach-o.c: Likewise. + * mmo.c: Likewise. + * nlm-target.h: Likewise. + * oasys.c: Likewise. + * pef.c: Likewise. + * ppcboot.c: Likewise. + * srec.c: Likewise. + * tekhex.c: Likewise. + * versados.c: Likewise. + * vms.c: Likewise. + * xcoff-target.h: Likewise. + * xsym.c: Likewise. + * libbfd.h: Regenerate. + +2004-10-08 Daniel Jacobowitz <dan@debian.org> + + * config.bfd: Include 64-bit support for i[3-7]86-*-solaris2*. + * elf64-x86-64.c (elf64_x86_64_section_from_shdr): New function. + (elf_backend_section_from_shdr): Define. + +2004-10-08 Alan Modra <amodra@bigpond.net.au> + + * syms.c (bfd_is_local_label): Return false for file symbols. + +2004-10-07 Bob Wilson <bob.wilson@acm.org> + David Heine <dlheine@tensilica.com> + + * elf32-xtensa.c (elf32xtensa_size_opt): New global variable. + (xtensa_default_isa): Global variable moved here from xtensa-isa.c. + (elf32xtensa_no_literal_movement): New global variable. + (elf_howto_table): Add entries for new relocations. + (elf_xtensa_reloc_type_lookup): Handle new relocations. + (property_table_compare): When addresses are equal, compare sizes and + various property flags. + (property_table_matches): New. + (xtensa_read_table_entries): Extend to read new property tables. Add + output_addr parameter to indicate that output addresses should be used. + Use bfd_get_section_limit. + (elf_xtensa_find_property_entry): New. + (elf_xtensa_in_literal_pool): Use elf_xtensa_find_property_entry. + (elf_xtensa_check_relocs): Handle new relocations. + (elf_xtensa_do_reloc): Use bfd_get_section_limit. Handle new + relocations. Use new xtensa-isa.h functions. + (build_encoding_error_message): Remove encode_result parameter. Add + new target_address parameter used to detect alignment errors. + (elf_xtensa_relocate_section): Use bfd_get_section_limit. Clean up + error handling. Use new is_operand_relocation function. + (elf_xtensa_combine_prop_entries, elf_xtensa_merge_private_bfd_data): + Use underbar macro for error messages. Formatting. + (get_const16_opcode): New. + (get_l32r_opcode): Add a separate flag for initialization. + (get_relocation_opnd): Operand number is no longer explicit in the + relocation. Change to decode the opcode and analyze its operands. + (get_relocation_slot): New. + (get_relocation_opcode): Add bfd parameter. Use bfd_get_section_limit. + Use new xtensa-isa.h functions to handle multislot instructions. + (is_l32r_relocation): Add bfd parameter. Use is_operand_relocation. + (get_asm_simplify_size, is_alt_relocation, is_operand_relocation, + insn_decode_len, insn_decode_opcode, check_branch_target_aligned, + check_loop_aligned, check_branch_target_aligned_address, narrowable, + widenable, narrow_instruction, widen_instruction, op_single_fmt_table, + get_single_format, init_op_single_format_table): New. + (elf_xtensa_do_asm_simplify): Add error_message parameter and use it + instead of calling _bfd_error_handler. Use new xtensa-isa.h functions. + (contract_asm_expansion): Add error_message parameter and pass it to + elf_xtensa_do_asm_simplify. Replace use of R_XTENSA_OP0 relocation + with R_XTENSA_SLOT0_OP. + (get_expanded_call_opcode): Extend to handle either L32R or CONST16 + instructions. Use new xtensa-isa.h functions. + (r_reloc struct): Add new virtual_offset field. + (r_reloc_init): Add contents and content_length parameters. Set + virtual_offset field to zero. Add contents to target_offset field for + partial_inplace relocations. + (r_reloc_is_defined): Check for null. + (print_r_reloc): New debug function. + (source_reloc struct): Replace xtensa_operand field with pair of the + opcode and the operand position. Add is_abs_literal field. + (init_source_reloc): Specify operand by opcode/position pair. Set + is_abs_literal field. + (source_reloc_compare): When target_offsets are equal, compare other + fields to make sorting predictable. + (literal_value struct): Add is_abs_literal field. + (value_map_hash_table struct): Add has_last_loc and last_loc fields. + (init_literal_value): New. + (is_same_value): Replace with ... + (literal_value_equal): ... this function. Add comparisons of + virtual_offset and is_abs_literal fields. + (value_map_hash_table_init): Use bfd_zmalloc. Check for allocation + failure. Initialize has_last_loc field. + (value_map_hash_table_delete): New. + (hash_literal_value): Rename to ... + (literal_value_hash): ... this. Include is_abs_literal flag and + virtual_offset field in the hash value. + (get_cached_value): Rename to ... + (value_map_get_cached_value): ... this. Update calls to + literal_value_hash and literal_value_equal. + (add_value_map): Check for allocation failure. Update calls to + value_map_get_cached_value and literal_value_hash. + (text_action, text_action_list, text_action_t): New types. + (find_fill_action, compute_removed_action_diff, adjust_fill_action, + text_action_add, text_action_add_literal, offset_with_removed_text, + offset_with_removed_text_before_fill, find_insn_action, + print_action_list, print_removed_literals): New. + (offset_with_removed_literals): Delete. + (xtensa_relax_info struct): Add is_relaxable_asm_section, action_list, + fix_array, fix_array_count, allocated_relocs, relocs_count, and + allocated_relocs_count fields. + (init_xtensa_relax_info): Initialize new fields. + (reloc_bfd_fix struct): Add new translated field. + (reloc_bfd_fix_init): Add translated parameter and use it to set the + translated field. + (fix_compare, cache_fix_array): New. + (get_bfd_fix): Remove fix_list parameter and get all relax_info for the + section via get_xtensa_relax_info. Use cache_fix_array to set up + sorted fix_array and use bsearch instead of linear search. + (section_cache_t): New struct. + (init_section_cache, section_cache_section, clear_section_cache): New. + (ebb_t, ebb_target_enum, proposed_action, ebb_constraint): New types. + (init_ebb_constraint, free_ebb_constraint, init_ebb, extend_ebb_bounds, + extend_ebb_bounds_forward, extend_ebb_bounds_backward, + insn_block_decodable_len, ebb_propose_action, ebb_add_proposed_action): + New. + (retrieve_contents): Use bfd_get_section_limit. + (elf_xtensa_relax_section): Add relocations_analyzed flag. Update call + to compute_removed_literals. Free value_map_hash_table when no longer + needed. + (analyze_relocations): Check is_relaxable_asm_section flag. Call + compute_text_actions for all sections. + (find_relaxable_sections): Mark sections as relaxable if they contain + ASM_EXPAND relocations that can be optimized. Adjust r_reloc_init + call. Increment relax_info src_count field only for appropriate + relocation types. Remove is_literal_section check. + (collect_source_relocs): Use bfd_get_section_limit. Adjust calls to + r_reloc_init and find_associated_l32r_irel. Check + is_relaxable_asm_section flag. Handle L32R instructions with absolute + literals. Pass is_abs_literal flag to init_source_reloc. + (is_resolvable_asm_expansion): Use bfd_get_section_limit. Check for + CONST16 instructions. Adjust calls to r_reloc_init and + pcrel_reloc_fits. Handle weak symbols conservatively. + (find_associated_l32r_irel): Add bfd parameter and pass it to + is_l32r_relocation. + (compute_text_actions, compute_ebb_proposed_actions, + compute_ebb_actions, check_section_ebb_pcrels_fit, + check_section_ebb_reduces, text_action_add_proposed, + compute_fill_extra_space): New. + (remove_literals): Replace with ... + (compute_removed_literals): ... this function. Call + init_section_cache. Use bfd_get_section_limit. Sort internal_relocs. + Call xtensa_read_table_entries to get the property table. Skip + relocations other than R_XTENSA_32 and R_XTENSA_PLT. Use new + is_removable_literal, remove_dead_literal, and + identify_literal_placement functions. + (get_irel_at_offset): Rewrite to use bsearch on sorted relocations + instead of linear search. + (is_removable_literal, remove_dead_literal, + identify_literal_placement): New. + (relocations_reach): Update check for literal not referenced by any + PC-relative relocations. Adjust call to pcrel_reloc_fits. + (coalesce_shared_literal, move_shared_literal): New. + (relax_section): Use bfd_get_section_limit. Call + translate_section_fixes. Update calls to r_reloc_init and + offset_with_removed_text. Check new is_relaxable_asm_section flag. + Add call to pin_internal_relocs. Add special handling for + R_XTENSA_ASM_SIMPLIFY and R_XTENSA_DIFF* relocs. Use virtual_offset + info to calculate new addend_displacement variable. Replace code for + deleting literals with more general code to perform the actions + determined by the action_list for the section. + (translate_section_fixes, translate_reloc_bfd_fix): New. + (translate_reloc): Check new is_relaxable_asm_section flag. Call + find_removed_literal only if is_operand_relocation. Update call to + offset_with_removed_text. Use new target_offset and removed_bytes + variables. + (move_literal): New. + (relax_property_section): Use bfd_get_section_limit. Set new + is_full_prop_section flag and handle new property tables. Update calls + to r_reloc_init and offset_with_removed_text. Check + is_relaxable_asm_section flag. Handle expansion of zero-sized + unreachable entries, with use of offset_with_removed_text_before_fill. + For relocatable links, combine entries only for literal tables. + (relax_section_symbols): Check is_relaxable_asm_section flag. Update + calls to offset_with_removed_text. Translate st_size field for + function symbols. + (do_fix_for_relocatable_link): Change to return bfd_boolean to indicate + failure. Add contents parameter. Update call to get_bfd_fix. Update + call to r_reloc_init. Call _bfd_error_handler and return FALSE for + R_XTENSA_ASM_EXPAND relocs. + (do_fix_for_final_link): Add input_bfd and contents parameters. Update + call to get_bfd_fix. Include offset from contents for partial_inplace + relocations. + (is_reloc_sym_weak): New. + (pcrel_reloc_fits): Use new xtensa-isa.h functions. + (prop_sec_len): New. + (xtensa_is_property_section): Handle new property sections. + (is_literal_section): Delete. + (internal_reloc_compare): When r_offset matches, compare r_info and + r_addend to make sorting predictable. + (internal_reloc_matches): New. + (xtensa_get_property_section_name): Handle new property sections. + (xtensa_get_property_predef_flags): New. + (xtensa_callback_required_dependence): Use bfd_get_section_limit. + Update calls to xtensa_isa_init, is_l32r_relocation, and r_reloc_init. + * xtensa-isa.c (xtensa_default_isa): Moved to elf32-xtensa.c. + (xtisa_errno, xtisa_error_msg): New variables. + (xtensa_isa_errno, xtensa_isa_error_msg): New. + (xtensa_insnbuf_alloc): Add error handling. + (xtensa_insnbuf_to_chars): Add num_chars parameter. Update to + use xtensa_format_decode. Add error handling. + (xtensa_insnbuf_from_chars): Add num_chars parameter. Decode the + instruction length to find the number of bytes to copy. + (xtensa_isa_init): Add error handling. Replace calls to + xtensa_load_isa and xtensa_extend_isa with code to initialize lookup + tables in the xtensa_modules structure. + (xtensa_check_isa_config, xtensa_add_isa, xtensa_load_isa, + xtensa_extend_isa): Delete. + (xtensa_isa_free): Change to only free lookup tables. + (opname_lookup_compare): Replace with ... + (xtensa_isa_name_compare): ... this function. Use strcasecmp. + (xtensa_insn_maxlength): Rename to ... + (xtensa_isa_maxlength): ... this. + (xtensa_insn_length): Delete. + (xtensa_insn_length_from_first_byte): Replace with ... + (xtensa_isa_length_from_chars): ... this function. + (xtensa_num_opcodes): Rename to ... + (xtensa_isa_num_opcodes): ... this. + (xtensa_isa_num_pipe_stages, xtensa_isa_num_formats, + xtensa_isa_num_regfiles, xtensa_isa_num_stages, + xtensa_isa_num_sysregs, xtensa_isa_num_interfaces, + xtensa_isa_num_funcUnits, xtensa_format_name, xtensa_format_lookup, + xtensa_format_decode, xtensa_format_encode, xtensa_format_length, + xtensa_format_num_slots, xtensa_format_slot_nop_opcode, + xtensa_format_get_slot, xtensa_format_set_slot): New functions. + (xtensa_opcode_lookup): Add error handling. + (xtensa_decode_insn): Replace with ... + (xtensa_opcode_decode): ... this function, with new format and + slot parameters. Add error handling. + (xtensa_encode_insn): Replace with ... + (xtensa_opcode_encode): ... this function, which does the encoding via + one of the entries in the "encode_fns" array. Add error handling. + (xtensa_opcode_name): Add error handling. + (xtensa_opcode_is_branch, xtensa_opcode_is_jump, xtensa_opcode_is_loop, + xtensa_opcode_is_call): New. + (xtensa_num_operands): Replace with ... + (xtensa_opcode_num_operands): ... this function. Add error handling. + (xtensa_opcode_num_stateOperands, + xtensa_opcode_num_interfaceOperands, xtensa_opcode_num_funcUnit_uses, + xtensa_opcode_funcUnit_use, xtensa_operand_name, + xtensa_operand_is_visible): New. + (xtensa_get_operand, xtensa_operand_kind): Delete. + (xtensa_operand_inout): Add error handling and special-case for + "sout" operands. + (xtensa_operand_get_field, xtensa_operand_set_field): Rewritten to + operate on one slot of an instruction. Added error handling. + (xtensa_operand_encode): Handle default operands with no encoding + functions. Check for success by comparing against decoded value. + Add error handling. + (xtensa_operand_decode): Handle default operands. Return decoded value + through argument pointer. Add error handling. + (xtensa_operand_is_register, xtensa_operand_regfile, + xtensa_operand_num_regs, xtensa_operand_is_known_reg): New. + (xtensa_operand_isPCRelative): Rename to ... + (xtensa_operand_is_PCrelative): ... this. Add error handling. + (xtensa_operand_do_reloc, xtensa_operand_undo_reloc): Return value + through argument pointer. Add error handling. + (xtensa_stateOperand_state, xtensa_stateOperand_inout, + xtensa_interfaceOperand_interface, xtensa_regfile_lookup, + xtensa_regfile_lookup_shortname, xtensa_regfile_name, + xtensa_regfile_shortname, xtensa_regfile_view_parent, + xtensa_regfile_num_bits, xtensa_regfile_num_entries, + xtensa_state_lookup, xtensa_state_name, xtensa_state_num_bits, + xtensa_state_is_exported, xtensa_sysreg_lookup, + xtensa_sysreg_lookup_name, xtensa_sysreg_name, xtensa_sysreg_number, + xtensa_sysreg_is_user, xtensa_interface_lookup, xtensa_interface_name, + xtensa_interface_num_bits, xtensa_interface_inout, + xtensa_interface_has_side_effect, xtensa_funcUnit_lookup, + xtensa_funcUnit_name, xtensa_funcUnit_num_copies): New. + * xtensa-modules.c: Rewrite to use new data structures. + * reloc.c (BFD_RELOC_XTENSA_DIFF8, BFD_RELOC_XTENSA_DIFF16, + BFD_RELOC_XTENSA_DIFF32, BFD_RELOC_XTENSA_SLOT0_OP, + BFD_RELOC_XTENSA_SLOT1_OP, BFD_RELOC_XTENSA_SLOT2_OP, + BFD_RELOC_XTENSA_SLOT3_OP, BFD_RELOC_XTENSA_SLOT4_OP, + BFD_RELOC_XTENSA_SLOT5_OP, BFD_RELOC_XTENSA_SLOT6_OP, + BFD_RELOC_XTENSA_SLOT7_OP, BFD_RELOC_XTENSA_SLOT8_OP, + BFD_RELOC_XTENSA_SLOT9_OP, BFD_RELOC_XTENSA_SLOT10_OP, + BFD_RELOC_XTENSA_SLOT11_OP, BFD_RELOC_XTENSA_SLOT12_OP, + BFD_RELOC_XTENSA_SLOT13_OP, BFD_RELOC_XTENSA_SLOT14_OP, + BFD_RELOC_XTENSA_SLOT0_ALT, BFD_RELOC_XTENSA_SLOT1_ALT, + BFD_RELOC_XTENSA_SLOT2_ALT, BFD_RELOC_XTENSA_SLOT3_ALT, + BFD_RELOC_XTENSA_SLOT4_ALT, BFD_RELOC_XTENSA_SLOT5_ALT, + BFD_RELOC_XTENSA_SLOT6_ALT, BFD_RELOC_XTENSA_SLOT7_ALT, + BFD_RELOC_XTENSA_SLOT8_ALT, BFD_RELOC_XTENSA_SLOT9_ALT, + BFD_RELOC_XTENSA_SLOT10_ALT, BFD_RELOC_XTENSA_SLOT11_ALT, + BFD_RELOC_XTENSA_SLOT12_ALT, BFD_RELOC_XTENSA_SLOT13_ALT, + BFD_RELOC_XTENSA_SLOT14_ALT): Add new relocations. + * Makefile.am (xtensa-isa.lo, xtensa-modules.lo): Update dependencies. + * Makefile.in: Regenerate. + * bfd-in2.h: Likewise. + * libbfd.h: Likewise. + +2004-10-07 Richard Sandiford <rsandifo@redhat.com> + + * elf64-mips.c (mips_elf64_write_rel): Use STN_UNDEF for relocs + against the absolute section. + (mips_elf64_write_rela): Likewise. + +2004-10-07 Jan Beulich <jbeulich@novell.com> + + * elf.c (elf_find_function): Don't generally check for matching + section, just for non-file symbols. Remove redunant comparison + for the latter. + * elf32-arm.h (arm_elf_find_function): Likewise. + +2004-10-07 Jeff Baker <jbaker@qnx.com> + + * elflink.c (_bfd_elf_add_dynamic_entry): Add code to warn if + adding a DT_TEXTREL to a shared object and --warn-shared-textrel + was specified. + +2004-10-04 Roland McGrath <roland@redhat.com> + + * hash.c (bfd_hash_set_default_size): Use const for table. + Use size_t instead of int for variable compared to sizeof results. + +2004-10-05 Alan Modra <amodra@bigpond.net.au> + + PR 425 + * syms.c (_bfd_stab_section_find_nearest_line): Ignore R_*_NONE relocs. + +2004-10-01 Paul Brook <paul@codesourcery.com> + + * elf32-arm.h (elf32_arm_fake_sections, + is_arm_elf_unwind_section_name, elf32_arm_section_from_shdr): New + functions. + (elf_backend_fake_sections, elf_backend_section_from_shdr): Define. + +2004-10-01 Alan Modra <amodra@bigpond.net.au> + + * elf-bfd.h (struct eh_cie_fde): Add need_relative and + need_lsda_relative. + * elf-eh-frame.c (_bfd_elf_eh_frame_section_offset): Set + need_relative or need_lsda_relative if we are processing an + offset for a reloc on a FDE initial loc or LSDA field + respectively. + (_bfd_elf_write_section_eh_frame): Test need_relative and + need_lsda_relative in place of corresponding make_* field + when deciding to use pc-relative encodings. + +2004-09-30 Paul Brook <paul@codesourcery.com> + + * elf32-arm.h (bfd_elf32_arm_set_target_relocs): Handle "abs" + target2 relocation type. + +2004-09-30 H.J. Lu <hongjiu.lu@intel.com> + + PR 414 + * elflink.c (_bfd_elf_merge_symbol): Check TLS symbol. + +2004-09-30 Paul Brook <paul@codesourcery.com> + + * reloc.c: Add BFD_RELOC_ARM_SMI. + * bfd-in2.h: Regenerate. + * libbfd.h: Ditto. + +2004-09-24 Alan Modra <amodra@bigpond.net.au> + + * dwarf2.c (_bfd_dwarf2_find_nearest_line): Add output section + vma and output offset to address. + * simple.c (simple_save_output_info): Only set output section + and offset for debug sections, or those not already set up by + the linker. + (bfd_simple_get_relocated_section_contents): Update comment. + +2004-09-24 Alan Modra <amodra@bigpond.net.au> + + * elf.c (IS_LOADED): Delete. + (assign_file_positions_for_segments): Just test SEC_LOAD instead. + Restore SEC_HAS_CONTENTS test to the one place it was used prior + to 2004-09-22. + +2004-09-23 Alan Modra <amodra@bigpond.net.au> + + PR gas/396 + * elf32-sparc.c (elf32_sparc_final_write_processing): Handle + bfd_mach_sparc_sparclet and bfd_mach_sparc_sparclite. Remove + redundant assignment of EM_SPARC. + +2004-09-22 Brian Ford <ford@vss.fsi.com> + + * pei-i386.c (COFF_SECTION_ALIGNMENT_ENTRIES): Enable 16 byte + alignment for .rdata sections so sse[2] code works with gcc >= 3.3.3 + constants. + * pe-i386.c (COFF_SECTION_ALIGNMENT_ENTRIES): Likewise. + +2004-09-22 Alan Modra <amodra@bigpond.net.au> + + * elf32-ppc.c (ppc_elf_modify_segment_map): Delete. + (elf_backend_modify_segment_map): Don't define. + +2004-09-22 Alan Modra <amodra@bigpond.net.au> + + * elf.c (IS_LOADED): Define. + (assign_file_positions_for_segments): Don't round up file offset of + PT_LOAD segments containing no SEC_LOAD sections, instead round down. + Delete code handling link script adjustment of lma. Do the adjust + in later code handling similar ajustments. Remove dead code error + check. Warn if section lma would require a negative offset + adjustment. Tweak lma adjustment to use p_filesz rather than p_memsz. + Use p_vaddr + p_memsz inside section loop in place of voff. Don't + update voff in section loop. Change voff in segment loop to be an + adjustment on top of "off". Set sec->filepos and update "off" later. + Test for loadable sections consistently using IS_LOADED. Similarly, + test for alloc-only sections other than .tbss consistently. + Don't bother checking SEC_ALLOC in PT_LOAD segments. Remove FIXME. + Tidy PT_NOTE handling. Use %B and %A in error messages. + (assign_file_positions_except_relocs): Use %B in error message. + +2004-09-17 H.J. Lu <hongjiu.lu@intel.com> + + * Makefile.am (AUTOMAKE_OPTIONS): Require 1.9. + (CONFIG_STATUS_DEPENDENCIES): New. + (Makefile): Removed. + (config.status): Likewise. + * Makefile.in: Regenerated. + +2004-09-17 Paul Brook <paul@codesourcery.com> + + * bfd-in.h (bfd_elf32_arm_set_target_relocs): Add prototype. + (bfd_elf32_arm_process_before_allocation): Update prototype. + * bfd-in2.h: Regenerate. + * bfd/elf32-arm.h (elf32_arm_link_hash_table): Add target2_reloc. + (elf32_arm_link_hash_table_create): Set it. + (bfd_elf32_arm_process_before_allocation): Remove target1_is_rel. + (bfd_elf32_arm_set_target_relocs): New function. + (arm_real_reloc_type): New function. + (elf32_arm_final_link_relocate): Use it. Handle R_ARM_PREL31 and + R_ARM_GOT_PREL. Remove R_ARM_TARGET1. + (elf32_arm_gc_sweep_hook): Ditto. + (elf32_arm_check_relocs): Ditto. + (elf32_arm_relocate_section): Handle R_ARM_GOT_PREL. + * elfarm-nabi.c (elf32_arm_howto_table): Add R_ARM_PREL31 and + R_ARM_GOT_TARGET2. + (elf32_arm_got_prel): New variable. + (elf32_arm_howto_from_type): New function. + (elf32_arm_info_to_howto): Use it. + (elf32_arm_reloc_map): Add BFD_RELOC_ARM_PREL31 and + BFD_RELOC_ARM_TARGET2. + * libbfd.h: Regenerate. + * reloc.c: Add BFD_RELOC_ARM_TARGET2 and BFD_RELOC_ARM_PREL31. + +2004-09-17 Alan Modra <amodra@bigpond.net.au> + + * ecoff.c: Update u.undef.next refs. + * elf64-ppc.c: Likewise. + * elflink.c: Likewise. + * linker.c: Likewise. + * xcofflink.c: Likewise. + + * elf-bfd.h (struct elf_link_hash_entry): Rearrange. Add FIXME to + dynamic_def. Combine weakdef and elf_hash_value. Move vtable + fields to indirect struct. + * elf-m10300.c: Update u.weakdef refs. + * elf32-arm.h: Likewise. + * elf32-cris.c: Likewise. + * elf32-frv.c: Likewise. + * elf32-hppa.c: Likewise. + * elf32-i370.c: Likewise. + * elf32-i386.c: Likewise. + * elf32-m32r.c: Likewise. + * elf32-m68k.c: Likewise. + * elf32-ppc.c: Likewise. + * elf32-s390.c: Likewise. + * elf32-sh.c: Likewise. + * elf32-sparc.c: Likewise. + * elf32-vax.c: Likewise. + * elf32-xtensa.c: Likewise. + * elf64-alpha.c: Likewise. + * elf64-hppa.c: Likewise. + * elf64-ppc.c: Likewise. + * elf64-s390.c: Likewise. + * elf64-sh64.c: Likewise. + * elf64-sparc.c: Likewise. + * elf64-x86-64.c: Likewise. + * elfxx-ia64.c: Likewise. + * elfxx-mips.c: Likewise. + * elflink.c: Likewise. Also u.elf_hash_value. + (elf_gc_propagate_vtable_entries_used): Update for h->vtable + indirection. + (elf_gc_smash_unused_vtentry_relocs): Likewise. + (bfd_elf_gc_record_vtinherit): Alloc vtable. + (bfd_elf_gc_record_vtentry): Likewise. + * elf.c (_bfd_elf_link_hash_newfunc): Use memset. + +2004-09-17 Alan Modra <amodra@bigpond.net.au> + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + * bfd-in2.h: Regenerate. + * po/SRC-POTFILES.in: Regenerate. + * po/bfd.pot: Regenerate. + +2004-09-16 Alan Modra <amodra@bigpond.net.au> + + * elf-bfd.h (struct elf_link_hash_entry): Replace elf_link_hash_flags + with bitfields. Make "type" and "other" bitfields too. + (ELF_LINK_HASH_REF_REGULAR, ELF_LINK_HASH_DEF_REGULAR, + ELF_LINK_HASH_REF_DYNAMIC, ELF_LINK_HASH_DEF_DYNAMIC, + ELF_LINK_HASH_REF_REGULAR_NONWEAK, ELF_LINK_HASH_DYNAMIC_ADJUSTED, + ELF_LINK_HASH_NEEDS_COPY, ELF_LINK_HASH_NEEDS_PLT, ELF_LINK_NON_ELF, + ELF_LINK_HIDDEN, ELF_LINK_FORCED_LOCAL, ELF_LINK_HASH_MARK, + ELF_LINK_NON_GOT_REF, ELF_LINK_DYNAMIC_DEF, ELF_LINK_DYNAMIC_WEAK, + ELF_LINK_POINTER_EQUALITY_NEEDED): Delete. + (ELF_COMMON_DEF_P, WILL_CALL_FINISH_DYNAMIC_SYMBOL): Update. + * elf-hppa.h: Update all uses of elf_link_hash_flags. + * elf-m10300.c: Likewise. + * elf.c: Likewise. + * elf32-arm.h: Likewise. + * elf32-cris.c: Likewise. + * elf32-frv.c: Likewise. + * elf32-hppa.c: Likewise. + * elf32-i370.c: Likewise. + * elf32-i386.c: Likewise. + * elf32-m32r.c: Likewise. + * elf32-m68k.c: Likewise. + * elf32-ppc.c: Likewise. + * elf32-s390.c: Likewise. + * elf32-sh-symbian.c: Likewise. + * elf32-sh.c: Likewise. + * elf32-sh64.c: Likewise. + * elf32-sparc.c: Likewise. + * elf32-vax.c: Likewise. + * elf32-xtensa.c: Likewise. + * elf64-alpha.c: Likewise. + * elf64-hppa.c: Likewise. + * elf64-ppc.c: Likewise. + * elf64-s390.c: Likewise. + * elf64-sh64.c: Likewise. + * elf64-sparc.c: Likewise. + * elf64-x86-64.c: Likewise. + * elflink.c: Likewise. + * elfxx-ia64.c: Likewise. + * elfxx-mips.c: Likewise. + * configure.in (AM_INIT_AUTOMAKE): Set version to 2.15.92. + * configure: Regenerate. + * aclocal.m4: Regenerate. + +2004-09-16 Alan Modra <amodra@bigpond.net.au> + + * elf32-arm.h (elf32_arm_gc_sweep_hook): Add #ifndef OLD_ARM_ABI + around uses of R_ARM_TARGET1. + (elf32_arm_check_relocs): Likewise. + +2004-09-13 Paul Brook <paul@codesourcery.com> + + * bfd-in.h (bfd_elf32_arm_process_before_allocation): Update + prototype. + * bfd-in2.h: Regenerate. + * libbfd.h: Regenerate. + * elf32-arm.h (elf32_arm_link_hash_table): Add target1_is_rel. + (elf32_arm_link_hash_table_create): Set target1_is_rel. + (bfd_elf32_arm_process_before_allocation): Ditto. + (elf32_arm_final_link_relocate): Handle R_ARM_TARGET1. + (elf32_arm_gc_sweep_hook, elf32_arm_check_relocs): Ditto. + * elfarm-nabi.c (elf32_arm_howto_table): Rename RELABS to TARGET1. + * reloc.c: Ditto. + +2004-09-10 Joel Brobecker <brobecker@gnat.com> + + * hpux-core.c (thread_section_p): New function. + (hpux_core_core_file_p): Fix computation of offset in call + to bfd_seek. Create a ".reg" section from an arbitrary + ".reg/<id>" section if none was created after having read + all sections. + +2004-09-11 Andreas Schwab <schwab@suse.de> + + * acinclude.m4: Fix spelling of ACX_NONCANONICAL_*. + * aclocal.m4: Rebuild. + * configure: Rebuild. + +2004-09-10 Joel Brobecker <brobecker@gnat.com> + + * section.c (bfd_sections_find_if): Fix parameter name in + comment to match code. + +2004-09-10 Alan Modra <amodra@bigpond.net.au> + + * elf.c (assign_file_positions_except_relocs): Assign relocs + stored in a bfd section. + +2004-09-08 Hans-Peter Nilsson <hp@axis.com> + + * elf32-cris.c (elf_cris_adjust_gotplt_to_got): Reset + h->gotplt_refcount to 0, not -1. + +2004-09-07 Hans-Peter Nilsson <hp@axis.com> + + * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_16_GOTPLT, + case R_CRIS_32_GOTPLT>: For internal error message, handle NULL + symname. + (cris_elf_check_relocs) <case R_CRIS_32_PLT_PCREL>: Don't try to + handle symbol visibility here. + +2004-09-07 Alan Modra <amodra@bigpond.net.au> + + * elf64-ppc.c (struct ppc_link_hash_table): Add stub_globals. + (is_ppc64_elf_target): Rename from is_ppc64_target. Update all + callers. + (ppc_stub_name): Remove trailing "+0" on stub name. + (create_linkage_sections): Create relocations for + branch lookup table when --emit-relocs as well as when --shared. + (ppc_build_one_stub): Emit relocs for long branch stubs. Adjust + relbrlt test. For --emit-stub-syms, always output a sym even when + one already exists on a plt call stub. Put stub type in the stub + symbol name. + (ppc_size_one_stub): Size long branch stub relocs. Adjust relbrlt + test. + (ppc64_elf_size_stubs): Count global sym stubs added. Zero + reloc_count in stub sections. Adjust relbrlt test. + (ppc64_elf_build_stubs): Adjust relbrlt test. Tweak stats output. + * elflink.c (bfd_elf_size_dynamic_sections): Fix comment typo. + (elf_link_input_bfd): Ignore symbol index zero relocs when checking + for relocs against discarded symbols. Fix comments. + +2004-09-06 Mark Mitchell <mark@codesourcery.com> + + * elf-bfd.h (_bfd_elf_make_dynamic_segment): Declare it. + * elf.c (_bfd_elf_make_dynamic_segment): New function, split out + from ... + (map_sections_to_segments): ... here. Use it. Assign a file + position to the .dynamic section if it is not loadable, but part + of the PT_DYNAMIC segment. + * elf32-arm.h (elf32_arm_finish_dynamic_sections): Use file + offsets, not VMAs, for the BPABI. Do not fill in the header in + the .got.plt section for the BPABI. + * elfarm-nabi.c (elf32_arm_symbian_modify_segment_map): Add a + PT_DYNAMIC segment. + (elf_backend_want_got_plt): Define to zero for Symbian OS. + +2004-09-06 Nick Clifton <nickc@redhat.com> + + * elflink.c (elf_link_add_object_symbols): Set the error code to + bfd_error_wrong_format when the input format does not match the + output format. + +2004-09-06 Alan Modra <amodra@bigpond.net.au> + + * elf64-ppc.c (is_ppc64_target): New function, extracted from.. + (ppc64_elf_check_directives): ..here. + (ppc64_elf_size_dynamic_sections): Use it here to check bfd type + before accessing ppc64_elf_tdata. + (ppc64_elf_finish_dynamic_sections): And here too. + +2004-09-04 Alan Modra <amodra@bigpond.net.au> + + * bfd.c (_bfd_default_error_handler): Correct loop exit. + +2004-09-03 Mark Mitchell <mark@codesourcery.com> + + * config.bfd (arm*-*-symbianelf*): Use OS-specific target vectors. + * configure.in (bfd_elf32_bigarm_symbian_vec): Add it. + (bfd_elf32_littlearm_symbian_vec): Likewise. + * configure: Regenerated. + * elf-bfd.h (elf_backend_data): Add dynamic_sec_flags. + * elf32-arm.h (PLT_HEADER_SIZE): Do not define. + (PLT_ENTRY_SIZE): Likewise. + (bfd_vma_elf32_arm_symbian_plt_entry): New + variable. + (elf32_arm_link_hash_table): Add plt_header_size, plt_entry_size, + and symbian_p. + (create_got_section): Don't create sections when generating BPABI + objects. + (elf32_arm_create_dynamic_sections): Tidy. + (elf32_arm_link_hash_table_create): Set plt_header_size, + plt_entry_size, and symbian_p. + (elf32_arm_check_relocs): Do not mark .rel.dyn as loadable when + generating BPABI objects. + (allocate_dynrelocs): Use htab->plt_header_size, not + PLT_HEADER_SIZE. Do not add to .got.plt when + generating BPABI objects. + (elf32_arm_finish_dynamic_symbol): Generate Symbian OS PLTs. + * elfarm-nabi.c: Add SymbianOS target vectors. + * elflink.c (_bfd_elf_create_got_section): Use dynamic_sec_flags. + (_bfd_elf_link_create_dynamic_sections): Likewise. + * elfxx-target.h (ELF_DYNAMIC_SEC_FLAGS): New macro. + (elfNN_bed): Use it. + * targets.c (bfd_elf32_bigarm_symbian_vec): New variable. + (bfd_elf32_littlearm_symbian_vec): Likewise. + (_bfd_target_vector): Add them. + +2004-09-03 Nick Clifton <nickc@redhat.com> + + PR 360 + * coffcode.h (handle_COMDAT): Replace abort with an warning + message and allow the scan to continue. + +2004-09-02 Alan Modra <amodra@bigpond.net.au> + + * elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Use static_syms passed + in when reading relocs, not our sorted syms. Remove unnecessary + var. + +2004-08-31 Eric Botcazou <ebotcazou@libertysurf.fr> + + * elf.c (special_sections): Add .gnu.linkonce.b modelled on .bss. + +2004-08-30 Nathanael Nerode <neroden@gcc.gnu.org> + + * acinclude.m4: Require AC_CANONICAL_TARGET, not AC_CANONICAL_SYSTEM. + Include ../config/acx.m4 and use ACX_NONCANONICAL_* where appropriate; + replace uses of *_alias with *_noncanonical. + * aclocal.m4: Rebuild with aclocal 1.4p6. + * Makefile.in: Rebuild with automake 1.4p6. + * doc/Makefile.in: Rebuild with automake 1.4p6. + * configure.in: Autoupdate with autoupdate 2.59. + * config.in: Regenerate with autoheader 2.59. + * configure: Regnerate with autoconf 2.59. + +2004-08-28 Alan Modra <amodra@bigpond.net.au> + + * elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Copy input + symbol pointer arrays before modifying. + +2004-08-28 Alan Modra <amodra@bigpond.net.au> + + * bfd.c (bfd_get_synthetic_symtab): Pass counts and both symbol tables. + * elf-bfd.h (_bfd_elf_get_synthetic_symtab): Adjust. + * elf.c (_bfd_elf_get_synthetic_symtab): Adjust. + * libbfd-in.h (_bfd_nodynamic_get_synthetic_symtab): Adjust. + * targets.c (struct bfd_target <_bfd_get_synthetic_symtab>): Adjust. + * elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Don't read symbols. + Use both symbol tables on non-relocatable objects. Use a common + error exit. Fix "mid" warning. + * libbfd.h: Regenerate. + * bfd-in2.h: Regenerate. + +2004-08-28 Alan Modra <amodra@bigpond.net.au> + + * elf64-ppc.c (ppc64_elf_branch_reloc): Check .opd is in a regular + object file. + (struct sfpr_def_parms): Save some space. + (sfpr_define): Here too. + + * elf64-ppc.c (compare_symbols): Put section syms first. + (sym_exists_at): New function. + (ppc64_elf_get_synthetic_symtab): Use relocs to find code entry + points only for relocatable files. Use .opd section contents + otherwise. Generally clean up the code. + +2004-08-27 Alan Modra <amodra@bigpond.net.au> + + * elf64-ppc.c (STD_R0_0R1, STD_R0_0R12, LD_R0_0R1, LD_R0_0R12, + LI_R12_0, STVX_VR0_R12_R0, LVX_VR0_R12_R0, MTLR_R0, SFPR_MAX): Define. + (struct sfpr_def_parms): New. + (sfpr_define): New function. + (savegpr0, savegpr0_tail, restgpr0, restgpr0_tail): New functions. + (savegpr1, savegpr1_tail, restgpr1, restgpr1_tail): New functions. + (savefpr, savefpr0_tail, restfpr, restfpr0_tail): New functions. + (savefpr1_tail, restfpr1_tail): New functions. + (savevr, savevr_tail, restvr, restvr_tail): New functions. + (MIN_SAVE_FPR, MAX_SAVE_FPR): Don't define. + (ppc64_elf_func_desc_adjust): Use sfpr_define in place of existing + code. Define all ABI mandated _save and _rest functions. + +2004-08-26 Paul Brook <paul@codesourcery.com> + + * elf32-arm.h (INTERWORK_FLAG): Return true for EABIv3 objects. + +2004-08-26 Alan Modra <amodra@bigpond.net.au> + + * elf32-m32r.c (m32r_elf_relocate_section): Don't compare with + TRUE or FALSE. + +2004-08-26 Alan Modra <amodra@bigpond.net.au> + + * elf32-i386.c (elf_i386_relocate_section): Tweak last change so + that pcrel correction is applied for R_386_PC32. + +2004-08-25 Alan Modra <amodra@bigpond.net.au> + + * elf32-i386.c (elf_i386_relocate_section): Zero section contents + for R_386_32 and R_386_PC32 relocs against symbols defined in + discarded sections. + +2004-08-25 Dmitry Diky <diwil@spec.ru> + + * reloc.c (BFD_RELOC_MSP430_2X_PCREL,BFD_RELOC_MSP430_RL_PCREL): + Add new relocations. + * bfd-in2.h: Regenerate. + * libbfd.h: Regenerate. + * elf32-msp430.c: Clean-up code. + (elf_msp430_howto_table): Add new relocation entries. + (bfd_elf32_bfd_reloc_type_lookup): New relocation handlers. + (msp430_elf_relax_section): New function. + (msp430_elf_relax_delete_bytes): New function. + (msp430_elf_symbol_address_p): New function. + +2004-08-24 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> + + * elf32-m32r.c (m32r_elf_relocate_section): Handle + R_M32R_SDA16_RELA in the same way as R_M32R_SDA16. + +2004-08-20 Daniel Jacobowitz <dan@debian.org> + + * elflink.c (_bfd_elf_section_already_linked): Handle + SEC_LINK_DUPLICATES_SAME_CONTENTS. + +2004-08-19 Mark Mitchell <mark@codesourcery.com> + + * config.bfd (arm*-*-symbianelf*): New target. + (arm*-*-eabi*): Likewise. + +2004-08-19 Alan Modra <amodra@bigpond.net.au> + + * elf64-ppc.c (ppc_get_stub_entry): Change third param to a + "struct ppc_link_hash_entry *". + (ppc64_elf_relocate_section): Ditto for type of h. Introduce h_elf + to satisfy RELOC_FOR_GLOBAL_SYMBOL. + +2004-08-19 Jakub Jelinek <jakub@redhat.com> + + * elf64-ppc.c (ppc64_elf_edit_opd): Support 16 byte long .opd + entries (where fd_aux overlaps next entry's fd_func). + Add non_overlapping argument, use it. + (ppc64_elf_check_relocs, ppc64_elf_gc_mark_hook, adjust_opd_syms, + ppc64_elf_size_stubs, ppc64_elf_relocate_section, + ppc64_elf_output_symbol_hook): Use address / 8 instead of address / 24 + as indexes into opd_sym_map/opd_adjust array. + * elf64-ppc.h (ppc64_elf_edit_opd): Adjust prototype. + +2004-08-18 Alan Modra <amodra@bigpond.net.au> + + * elf64-ppc.c (func_desc_adjust): Give undefined dot-symbols a value + if we can look up their function descriptor in a regular file. + +2004-08-18 Nick Clifton <nickc@redhat.com> + + PR 324 + * cofflink.c (coff_link_add_symbols): Check that the comdat + pointer in the coff_section_data structure has been initialised + before using it. + +2004-08-18 Alan Modra <amodra@bigpond.net.au> + + PR 338 + * elflink.c (bfd_elf_record_link_assignment): Add comment about + changing bfd_link_hash_undefined to bfd_link_hash_new. + +2004-08-17 Jakub Jelinek <jakub@redhat.com> + + * elfxx-target.h (bfd_elfNN_get_synthetic_symtab): Only define + if not yet defined. + * elf64-ppc.c (bfd_elf64_get_synthetic_symtab): Define. + (synthetic_opd, synthetic_relocatable): New variables. + (compare_symbols, compare_relocs): New helper routines. + (ppc64_elf_get_synthetic_symtab): New function. + * bfd.c (bfd_get_synthetic_symtab): Rename dynsyms argument + to relsyms. + * bfd-in2.h: Regenerated. + * elf.c (_bfd_elf_get_synthetic_symtab): Rename dynsyms argument + to relsyms. Return 0 if abfd is relocatable. + +2004-08-17 Alan Modra <amodra@bigpond.net.au> + + * elflink.h (elf_gc_sweep): Keep non-alloc, non-load sections. + +2004-08-17 Nick Clifton <nickc@redhat.com> + + * (is_arm_mapping_symbol_name): New function - return true + when a symbol name matches the requirements for an ARM mapping + symbol name. + (arm_elf_find_function): New function based on + elf_find_function in elf.c but skipping ARM mapping symbols + and including thumb function symbols. + (elf32_arm_find_nearest_line): Use arm_elf_find_function. + (elf32_arm_output_symbol_hook): Use is_arm_mapping_symbol_name. + +2004-08-17 Alan Modra <amodra@bigpond.net.au> + + * elf64-ppc.c (ppc64_elf_branch_reloc): New function. + (ppc64_elf_howto_raw): Use ppc64_elf_branch_reloc. + (ppc64_elf_brtaken_reloc): Here too. + +2004-08-17 Alan Modra <amodra@bigpond.net.au> + + * elf64-ppc.c (add_symbol_adjust): Correct mismatched function + symbol visibility. + (ppc64_elf_check_directives): Check that we have the right hash + table before proceeding. + +2004-08-17 Alan Modra <amodra@bigpond.net.au> + + * elf64-ppc.c (struct ppc64_elf_obj_tdata): Add "deleted_section". + (adjust_opd_syms): Attach opd syms for deleted entries to one of + the sections that will be discarded. + +2004-08-16 Alan Modra <amodra@bigpond.net.au> + + * elflink.c (elf_section_complain_discarded): Ignore .fixup. + +2004-08-16 Alan Modra <amodra@bigpond.net.au> + + * bfd.c (_bfd_default_error_handler): Account for doubled '%' in + free space available. + +2004-08-16 Alan Modra <amodra@bigpond.net.au> + + * pdp11.c (struct pdp11_aout_reloc_external): Delete. Replace + occurrences with bfd_byte * thoughout file. + + * coff-rs6000.c (do_shared_object_padding): Warning fix. + (xcoff_write_armap_big): Likewise. + (xcoff_write_archive_contents_old): Likewise. + (xcoff_write_archive_contents_big): Likewise. + + * elf64-mmix.c (mmix_elf_get_section_contents): Delete declaration. + +2004-08-13 Nick Clifton <nickc@redhat.com> + + * elf32-arm.h: Convert to ISO C90. + +2004-08-13 Alan Modra <amodra@bigpond.net.au> + + PR 293 + * elf32-hppa.c (elf32_hppa_hide_symbol): Use init_refcount to + zero the plt field. + +2004-08-13 Alan Modra <amodra@bigpond.net.au> + + * bfd.c (_bfd_default_error_handler): Handle %A and %B. + (bfd_archive_filename, bfd_get_section_ident): Delete. + * ecofflink.c (bfd_ecoff_debug_accumulate_other): Don't call + bfd_archive_filename. + * elflink.c (elf_link_input_bfd): Don't use callbacks->error_handler + to warn about symbols in discarded sections. Use _bfd_error_handler. + * aout-adobe.c (aout_adobe_callback): See below. + * aout-cris.c (swap_ext_reloc_in): .. + * coff-arm.c (find_thumb_glue, find_arm_glue, + coff_arm_relocate_section, bfd_arm_process_before_allocation, + coff_arm_merge_private_bfd_data, _bfd_coff_arm_set_private_flags, + coff_arm_copy_private_bfd_data): .. + * coff-i860.c (i860_reloc_processing): .. + * coff-mcore.c (mcore_coff_unsupported_reloc, + coff_mcore_relocate_section): .. + * coff-ppc.c (coff_ppc_relocate_section): .. + * coff-rs6000.c (xcoff_create_csect_from_smclas + * coff-sh.c (sh_relax_section, sh_relax_delete_bytes, + sh_swap_insns, sh_relocate_section): .. + * coff-tic54x.c (tic54x_reloc_processing): .. + * coff-tic80.c (coff_tic80_relocate_section): .. + * coff64-rs6000.c (xcoff64_create_csect_from_smclas): .. + * coffcode.h (styp_to_sec_flags, coff_slurp_line_table, + coff_slurp_symbol_table, coff_classify_symbol, + coff_slurp_reloc_table): .. + * coffgen.c (_bfd_coff_read_string_table): .. + * cofflink.c (coff_link_add_symbols, _bfd_coff_link_input_bfd, + _bfd_coff_generic_relocate_section): .. + * cpu-arm.c (bfd_arm_merge_machines): .. + * cpu-sh.c (sh_merge_bfd_arch): .. + * elf-hppa.h (elf_hppa_relocate_section): .. + * elf.c (bfd_elf_string_from_elf_section, setup_group, + _bfd_elf_setup_group_pointers, bfd_section_from_shdr, + assign_section_numbers, _bfd_elf_symbol_from_bfd_symbol, + copy_private_bfd_data, _bfd_elf_validate_reloc): .. + * elf32-arm.h (find_thumb_glue, find_arm_glue, + bfd_elf32_arm_process_before_allocation, elf32_thumb_to_arm_stub, + elf32_arm_to_thumb_stub, elf32_arm_final_link_relocate, + elf32_arm_relocate_section, elf32_arm_set_private_flags, + elf32_arm_copy_private_bfd_data, elf32_arm_merge_private_bfd_data): .. + * elf32-cris.c (cris_elf_relocate_section, cris_elf_check_relocs, + cris_elf_merge_private_bfd_data + * elf32-frv.c (elf32_frv_relocate_section, elf32_frv_check_relocs): .. + * elf32-gen.c (elf32_generic_link_add_symbols): .. + * elf32-hppa.c (hppa_add_stub, hppa_build_one_stub, + elf32_hppa_check_relocs, get_local_syms, final_link_relocate, + elf32_hppa_relocate_section): .. + * elf32-i370.c (i370_elf_merge_private_bfd_data, + i370_elf_check_relocs, i370_elf_relocate_section): .. + * elf32-i386.c (elf_i386_info_to_howto_rel, elf_i386_check_relocs, + elf_i386_relocate_section): .. + * elf32-m32r.c (m32r_elf_relocate_section, + m32r_elf_merge_private_bfd_data): .. + * elf32-m68hc1x.c (m68hc12_add_stub, + _bfd_m68hc11_elf_merge_private_bfd_data): .. + * elf32-m68k.c (elf_m68k_relocate_section): .. + * elf32-mcore.c (mcore_elf_unsupported_reloc, + mcore_elf_relocate_section): .. + * elf32-ppc.c (ppc_elf_merge_private_bfd_data, bad_shared_reloc, + ppc_elf_check_relocs, ppc_elf_relocate_section, + ppc_elf_begin_write_processing): .. + * elf32-s390.c (elf_s390_check_relocs, invalid_tls_insn, + elf_s390_relocate_section): .. + * elf32-sh-symbian.c (sh_symbian_import_as, + sh_symbian_process_embedded_commands, + sh_symbian_relocate_section): .. + * elf32-sh.c (sh_elf_relax_section, sh_elf_relax_delete_bytes, + sh_elf_swap_insns, sh_elf_relocate_section, sh_elf_check_relocs, + sh_elf_merge_private_data): .. + * elf32-sparc.c (elf32_sparc_check_relocs, + elf32_sparc_relocate_section, + elf32_sparc_merge_private_bfd_data): .. + * elf32-v850.c (v850_elf_check_relocs, + v850_elf_merge_private_bfd_data): .. + * elf32-xtensa.c (elf_xtensa_check_relocs, + elf_xtensa_relocate_section, elf_xtensa_merge_private_bfd_data): .. + * elf64-alpha.c (elf64_alpha_relax_with_lituse, + elf64_alpha_relax_got_load, elf64_alpha_size_got_sections, + elf64_alpha_relocate_section_r, elf64_alpha_relocate_section): .. + * elf64-gen.c (elf64_generic_link_add_symbols): .. + * elf64-ppc.c (ppc64_elf_merge_private_bfd_data, ppc_add_stub, + ppc64_elf_check_relocs, ppc64_elf_edit_opd, + ppc64_elf_relocate_section): .. + * elf64-s390.c (elf_s390_check_relocs, invalid_tls_insn, + elf_s390_relocate_section): .. + * elf64-sh64.c (sh_elf64_relocate_section): .. + * elf64-sparc.c (sparc64_elf_check_relocs, + sparc64_elf_add_symbol_hook, sparc64_elf_relocate_section, + sparc64_elf_merge_private_bfd_data): .. + * elf64-x86-64.c (elf64_x86_64_check_relocs, + elf64_x86_64_relocate_section): .. + * elflink.c (_bfd_elf_add_default_symbol, + _bfd_elf_link_assign_sym_version, elf_link_read_relocs_from_section, + _bfd_elf_link_output_relocs, elf_link_add_object_symbols, + bfd_elf_size_dynamic_sections, elf_link_output_extsym, + elf_get_linked_section_vma, elf_fixup_link_order, + bfd_elf_final_link, bfd_elf_gc_record_vtinherit, + bfd_elf_gc_record_vtinherit, _bfd_elf_section_already_linked): .. + * elfxx-ia64.c (elfNN_ia64_relax_section, + elfNN_ia64_relocate_section, elfNN_ia64_merge_private_bfd_data): .. + * elfxx-mips.c (mips_elf_perform_relocation, + _bfd_mips_elf_check_relocs, + _bfd_mips_elf_merge_private_bfd_data): .. + * ieee.c (ieee_slurp_external_symbols): .. + * ihex.c (ihex_bad_byte, ihex_scan, ihex_read_section): .. + * libbfd.c (_bfd_generic_verify_endian_match): .. + * linker.c (_bfd_generic_link_add_one_symbol, + _bfd_generic_section_already_linked): .. + * pdp11.c (translate_to_native_sym_flags): .. + * pe-mips.c (coff_pe_mips_relocate_section): .. + * peicode.h (pe_ILF_build_a_bfd): .. + * srec.c (srec_bad_byte): .. + * stabs.c (_bfd_link_section_stabs): .. + * xcofflink.c (xcoff_link_add_symbols, xcoff_link_input_bfd): .. + Replace all uses of bfd_archive_filename and bfd_get_section_ident + with corresponding %B and %A in _bfd_error_handler format string. + Replace occurrences of "fprintf (stderr," with _bfd_error_handler + calls to use %A and %B. Fix "against symbol .. from section" and + similar error messages. Combine multiple _bfd_error_handler calls + where they were separated due to bfd_archive_filename deficiencies. + * bfd-in2.h: Regenerate. + +2004-08-12 H.J. Lu <hongjiu.lu@intel.com> + + * elf32-i386.c (elf_i386_relocate_section): Report unrecognized + relocation. + +2004-08-10 Alan Modra <amodra@bigpond.net.au> + + * elf64-ppc.c (struct ppc_link_hash_entry): Add was_undefined. + (struct ppc_link_hash_table): Remove no_multi_toc, multi_toc_needed. + Make emit_stub_syms, stub_error and has_14bit_branch bit-fields. + Add twiddled_syms. + (link_hash_newfunc): Init was_undefined. + (add_symbol_adjust): Don't set undefined dot symbols to defweak; + Use undefweak instead. + (ppc64_elf_check_directives): Fix undefs chain. + (ppc64_elf_next_toc_section): Remove no_multi_toc and multi_toc_needed + references. + (ppc64_elf_size_stubs): Adjust for add_symbol_adjust change. + (undo_symbol_twiddle, ppc64_elf_restore_symbols): New functions. + * elf64-ppc.h (ppc64_elf_restore_symbols): Declare. + +2004-08-09 Jakub Jelinek <jakub@redhat.com> + + * elf64-x86-64.c (elf64_x86_64_relocate_section): For -fno-pic + error, test input_section flags rather than sec. + +2004-08-09 Alan Modra <amodra@bigpond.net.au> + + * elf-bfd.h (struct elf_backend_data): Add + elf_backend_archive_symbol_lookup. + (_bfd_elf_archive_symbol_lookup): Declare. + * elflink.c (_bfd_elf_archive_symbol_lookup): New function.. + (elf_link_add_archive_symbols): ..extracted from here. Call the + backend version. + * elfxx-target.h (elf_backend_archive_symbol_lookup): Provide default. + (elfNN_bed): Init new field. + * elf64-ppc.c (elf_backend_check_directives): Define. + (elf_backend_archive_symbol_lookup): Define. + (struct ppc_link_hash_table): Add tls_get_add_fd. Make tls_get_add + a ppc_link_hash_entry pointer. + (get_fdh): Move. + (ppc64_elf_archive_symbol_lookup, opd_entry_value): New functions. + (add_symbol_adjust, ppc64_elf_check_directives): New functions. + (ppc64_elf_check_relocs, ppc64_elf_gc_mark_hook, func_desc_adjust, + ppc64_elf_adjust_dynamic_symbol, ppc64_elf_tls_setup, + ppc64_elf_tls_optimize, allocate_dynrelocs, ppc_type_of_stub, + ppc_build_one_stub, ppc64_elf_size_stubs, ppc64_elf_relocate_section, + ppc64_elf_finish_dynamic_symbol): Handle branch relocs to function + descriptor symbols. + +2004-08-09 Alan Modra <amodra@bigpond.net.au> + + * elf64-ppc.c (struct ppc_link_hash_entry): Expand adjust_done comment. + (ppc64_elf_add_symbol_hook): Test for NULL section. + (get_sym_h): Formatting. + (ppc64_elf_size_stubs): Include reloc addend in value stored as + stub target_value. + + * elf64-ppc.c (ppc64_elf_relocate_section): Combine handling of + long branch stubs with code handling plt and r2off branch stubs. + +2004-08-09 Alan Modra <amodra@bigpond.net.au> + + * elf-bfd.h (_bfd_elf_gc_mark): Declare. + * elflink.c (elf_link_input_bfd): Formatting. + (_bfd_elf_gc_mark): Rename from elf_gc_mark and make global. Adjust + all callers. + * elf64-ppc.c (struct ppc_link_hash_entry): Remove is_entry. + (link_hash_newfunc): Don't set it. + (ppc64_elf_copy_indirect_symbol): Nor copy it. + (ppc64_elf_mark_entry_syms): Delete. + (ppc64_elf_gc_mark_hook): Mark entry syms here. Also mark opd + sections. Use get_opd_info. + * elf64-ppc.h (ppc64_elf_mark_entry_syms): Delete. + +2004-08-09 Alan Modra <amodra@bigpond.net.au> + + * elf64-ppc.c (adjust_opd_syms): Fix merge error. + + * elf64-ppc.c (struct ppc_link_hash_table): Remove have_undefweak. + (func_desc_adjust): Don't set have_undefweak. + (ppc64_elf_func_desc_adjust): Don't add an extr nop to sfpr. + (ppc64_elf_relocate_section): NOP out calls to undefweak functions. + + * elf64-ppc.c (struct ppc_link_hash_entry): Make "oh" a + "struct ppc_link_hash_entry *". Adjust all references. + (ppc64_elf_hide_symbol): Correct a comment. + + * elf64-ppc.c (get_opd_info): New function. + (adjust_opd_syms): Use get_opd_info. Define removed symbols as zero. + (ppc64_elf_edit_opd): Use get_opd_info. Check that sym has a dot + before calling get_fdh. Test fdh rather than h before dereferencing + fdh. Mark removed symbols in opd_adjust. + (ppc64_elf_tls_optimize): Don't bother with opd adjustment here. + (ppc64_elf_relocate_section): Use get_opd_info, and handle removed + opd symbols. + (ppc64_elf_output_symbol_hook): Likewise. + +2004-08-06 Paul Brook <paul@codesourcery.com> + + * elfarm-nabi.c (elf32_arm_howto_table): Add new EABI relocations. + (elf32_arm_reloc_map): Add BFD_RELOC_ARM_RELABS32, + BFD_RELOC_ARM_ROSEGREL32 and BFD_RELOC_ARM_SBREL32. + * reloc.c: Add BFD_RELOC_ARM_RELABS32, BFD_RELOC_ARM_ROSEGREL32 + and BFD_RELOC_ARM_SBREL32. + * bfd-in2.h, bbfd.h: Regenerate. + +2004-08-01 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> + + * elfxx-mips.c (mips_elf_calculate_relocation): Test only for + the dynamic link symbol actually in use. + +2004-08-01 Stephane Carrez <stcarrez@nerim.fr> + + * elf32-m68hc1x.c (elf32_m68hc11_size_stubs): Handle bfd_link_hash_new + +2004-07-31 Joel Brobecker <brobecker@gnat.com> + Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> + + * elfxx-mips.c (_bfd_mips_elf_symbol_processing): Handle + SHN_MIPS_TEXT and SHN_MIPS_DATA. + +2004-07-30 H.J. Lu <hongjiu.lu@intel.com> + Nick Clifton <nickc@redhat.com> + + PR 290 + * bfd.c (_bfd_default_error_handler): Make it global. + + * elf-bfd.h (elf_backend_data): Add link_order_error_handler. + + * elf.c (assign_section_numbers): Cope gracefully with sections + which have SHF_LINK_ORDER set but no sh_link set up. + * elflink.c (elf_get_linked_section_vma): Likewise. + + * elfxx-ia64.c (elf_backend_link_order_error_handler): New. Set + it to NULL. + + * elfxx-target.h (elf_backend_link_order_error_handler): New. + Set it to _bfd_default_error_handler. + (elfNN_bed): Add elf_backend_link_order_error_handler. + + * libbfd-in.h (_bfd_default_error_handler): New. + + * libbfd.h: Regenerated. + +2004-07-30 Jakub Jelinek <jakub@redhat.com> + + * archures.c (bfd_mach_sparc_64bit_p): Define. + * elf32-sparc.c (elf32_sparc_merge_private_bfd_data): Use it. + * bfd-in2.h: Rebuilt. + +2004-07-29 Alexandre Oliva <aoliva@redhat.com> + + Introduce SH2a support. + 2004-02-18 Corinna Vinschen <vinschen@redhat.com> + * archures.c (bfd_mach_sh2a_nofpu): New. + * bfd-in2.h: Rebuilt. + * cpu-sh.c (SH2A_NOFPU_NEXT): New. + (arch_info_struct): Add sh2a_nofpu. + * elf32-sh.c (sh_elf_set_mach_from_flags): Handle sh2a_nofpu. + 2003-12-29 DJ Delorie <dj@redhat.com> + * reloc.c: Add relocs for sh2a. + * bfd-in2.h: Regenerate. + * libbfd.hh: Regenerate. + 2003-12-01 Michael Snyder <msnyder@redhat.com> + * archures.c (bfd_mach_sh2a): New. + * bfd-in2.h: Rebuilt. + * cpu-sh.c (SH_NEXT, SH2_NEXT, etc.): Change defines to enums. + (SH2A_NEXT): New. + (arch_info_struct): Add sh2a. + * elf32-sh.c (sh_elf_set_mach_from_flags): Handle sh2a. + +2004-07-28 Nick Clifton <nickc@redhat.com> + John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + PR 273 + * som.c (setup_sections): Improve estimation of space sizes in + relocatable objects. + +2004-07-27 Jason Thorpe <thorpej@wasabisystems.com> + * config.bfd (hppa*-*-netbsd*): Set targ_defvec to + bfd_elf32_hppa_nbsd_vec. Add bfd_elf32_hppa_linux_vec + to targ_selvecs. + * configure.in (bfd_elf32_hppa_nbsd_vec): Add case. + * configure: Regenerate. + * elf32-hppa.c (elf32_hppa_object_p): Add "elf32-hppa-netbsd" + case that accepts OSABI=NetBSD and OSABI=SysV. + (elf32_hppa_set_gp): For "elf32-hppa-netbsd", set the GP to + the base of .got or .data (if .got does not exist). + (elf32_hppa_post_process_headers): For elf32-hppa-netbsd, + set OSABI=NetBSD. + (TARGET_BIG_SYM): Add bfd_elf32_hppa_nbsd_vec case. + (TARGET_BIG_NAME): Add "elf32-hppa-netbsd" case. + * targets.c (bfd_elf32_hppa_nbsd_vec): Add extern declaration. + (_bfd_target_vector): Add bfd_elf32_hppa_nbsd_vec. + +2004-07-27 H.J. Lu <hongjiu.lu@intel.com> + + PR 161/251 + * elf-bfd.h (bfd_elf_section_data): Add sec_group. + (elf_sec_group): Defined. + (bfd_elf_match_symbols_in_sections): New prototype. + (_bfd_elf_setup_group_pointers): Likewise. + + * elf.c (bfd_elf_discard_group): Abort. + (bfd_elf_set_group_contents): Also include relocation sections. + Remove zero-fill for ld -r. + (_bfd_elf_setup_group_pointers): New function. + (elf_sort_elf_symbol): Likewise. + (elf_sym_name_compare): Likewise. + (bfd_elf_match_symbols_in_sections): Likewise. + + * elfcode.h (elf_object_p): Call _bfd_elf_setup_group_pointers. + + * elflink.c (match_group_member): New. + (elf_link_input_bfd): Check group member for discarded section. + (try_match_symbols_in_sections): New function. + (already_linked): Likewise. + (_bfd_elf_section_already_linked): Support mixing comdat group + and linkonce section. + + * libbfd-in.h (bfd_section_already_linked_table_traverse): New. + * linker.c (bfd_section_already_linked_table_traverse): New. + + * libbfd.h: Regenerated. + +2004-07-27 Tomer Levi <Tomer.Levi@nsc.com> + + * reloc.c: Add BFD_RELOC_CRX_SWITCH8, BFD_RELOC_CRX_SWITCH16, + BFD_RELOC_CRX_SWITCH32. + * bfd-in2.h: Regenerate. + * libbfd.h: Regenerate. + * elf32-crx.c: Support relocation/relaxation of + BFD_RELOC_CRX_SWITCH* types. + +2004-07-27 Alan Modra <amodra@bigpond.net.au> + + * elf64-ppc.c: Correct "Linker stubs" comment. + +2004-07-26 H.J. Lu <hongjiu.lu@intel.com> + + * elf-bfd.h (bfd_elf_section_data): Add a pointer for the + linked-to section. + (elf_linked_to_section): New. + + * elf.c (assign_section_numbers): Set up sh_link for + SHF_LINK_ORDER. + + * elfxx-ia64.c (elfNN_ia64_final_write_processing): Set sh_info + to sh_link for SHT_IA_64_UNWIND sections. + +2004-07-22 H.J. Lu <hongjiu.lu@intel.com> + + * elflink.c (elf_fixup_link_order): Add _() to error message. + +2004-07-22 H.J. Lu <hongjiu.lu@intel.com> + + * elflink.c (elf_fixup_link_order): Issue a warning and flag + an error if failed. + +2004-07-21 H.J. Lu <hongjiu.lu@intel.com> + + * aout-adobe.c (aout_32_section_already_linked): Defined. + * aout-target.h (MY_section_already_linked): Likewise. + * aout-tic30.c (MY_section_already_linked): Likewise. + * binary.c (binary_section_already_linked): Likewise. + * bout.c (b_out_section_already_linked): Likewise. + * coff-alpha.c (_bfd_ecoff_section_already_linked): Likewise. + * coff-mips.c (_bfd_ecoff_section_already_linked): Likewise. + * coffcode.h (coff_section_already_linked): Likewise. + * i386msdos.c (msdos_section_already_linked): Likewise. + * i386os9k.c (os9k_section_already_linked): Likewise. + * ieee.c (ieee_section_already_linked): Likewise. + * ihex.c (ihex_section_already_linked): Likewise. + * mach-o.c (bfd_mach_o_section_already_linked): Likewise. + * mmo.c (mmo_section_already_linked): Likewise. + * nlm-target.h (nlm_section_already_linked): Likewise. + * oasys.c (oasys_section_already_linked): Likewise. + * pef.c (bfd_pef_section_already_linked): Likewise. + * ppcboot.c (ppcboot_section_already_linked): Likewise. + * som.c (som_bfd_discard_group): Likewise. + * srec.c (srec_section_already_linked): Likewise. + * tekhex.c (tekhex_section_already_linked): Likewise. + * versados.c (versados_section_already_linked): Likewise. + * vms.c (vms_section_already_linked): Likewise. + * coff-target.h (_bfd_xcoff_section_already_linked): Likewise. + * xsym.c (bfd_sym_section_already_linked): Likewise. + + * bfd-in.h (bfd_section_already_linked_table_init): New. + (bfd_section_already_linked_table_free): Likewise. + + * coff-rs6000.c (rs6000coff_vec): Add + _bfd_generic_section_already_linked. + (pmac_xcoff_vec): Likewise. + * coff64-rs6000.c (rs6000coff64_vec): Likewise. + (aix5coff64_vec): Likewise. + + * elf-bfd.h (_bfd_elf_section_already_linked): New prototype. + * elflink.c (_bfd_elf_section_already_linked): New function. + + * elfxx-target.h (bfd_elfNN_section_already_linked): Defined. + + * libbfd-in.h (_bfd_nolink_section_already_linked): Defined. + (_bfd_generic_section_already_linked): New. + (bfd_section_already_linked_hash_entry): Likewise. + (bfd_section_already_linked): Likewise. + (bfd_section_already_linked_table_lookup): Likewise. + (bfd_section_already_linked_table_insert): Likewise. + + * linker.c (bfd_section_already_linked): New. + (_bfd_section_already_linked_table): Likewise. + (bfd_section_already_linked_table_lookup): Likewise. + (bfd_section_already_linked_table_insert): Likewise. + (already_linked_newfunc): Likewise. + (bfd_section_already_linked_table_init): Likewise. + (bfd_section_already_linked_table_free): Likewise. + (_bfd_generic_section_already_linked): Likewise. + + * section.c (bfd_section): Remove comdat. + (bfd_comdat_info): Moved to ... + * bfd-in.h (coff_comdat_info): Here. + (bfd_coff_get_comdat_section): New. + * coffgen.c (bfd_coff_get_comdat_section): Likewise. + * libcoff-in.h (coff_section_tdata): Add comdat. + * coffcode.h (handle_COMDAT): Updated. + * cofflink.c (coff_link_add_symbols): Likewise. + * ecoff.c (bfd_debug_section): Likewise. + + * targets.c (bfd_target): Add _section_already_linked. + (BFD_JUMP_TABLE_LINK): Updated. + + * bfd-in2.h: Regenerated. + * libbfd.h: Likewise. + * libcoff.h: Likewise. + +2003-07-21 Paul Brook <paul@codesourcery.com> + + * elflink.c (elf_get_linked_section_vma, compare_link_order, + elf_fixup_link_order): New functions. + (bfd_elf_final_link): Call elf_fixup_link_order. + +2004-07-21 Alexandre Oliva <aoliva@redhat.com> + + * elf-bfd.h (ELF_COMMON_DEF_P): New. + * elflink.c (_bfd_elf_symbol_refs_local_p): Use it to handle + common definitions. + * elf-m10300.c: Use SYMBOL_REFERENCES_LOCAL instead of + _bfd_elf_symbol_refs_local_p. + * elf32-frv.c (FRVFDPIC_SYM_LOCAL): Remove hack for common + symbols. + +2004-07-19 H.J. Lu <hongjiu.lu@intel.com> + + * bfd-in.h (dynamic_lib_link_class): Add DYN_NO_ADD_NEEDED and + DYN_NO_NEEDED. + (bfd_elf_get_dyn_lib_class): New prototype. + * elf.c (bfd_elf_get_dyn_lib_class): New function. + + * elflink.c (elf_link_add_object_symbols): Check DYN_AS_NEEDED, + DYN_DT_NEEDED and DYN_NO_NEEDED bits to see if a DT_NEEDED + entry is needed. Issue an error if a DT_NEEDED entry is needed + for a file marked DYN_NO_NEEDED. + (elf_link_check_versioned_symbol): Check the DYN_DT_NEEDED bit + for DT_NEEDED tags. + + * bfd-in2.h: Regenerated. + +2004-07-14 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + * elflink.c (elf_section_complain_discarded): Don't complain in + .PARISC.unwind. + +2004-07-10 James E Wilson <wilson@specifixinc.com> + + * elfxx-ia64.c (elfNN_ia64_relax_ldxmov): Remove abfd parameter. + (elfNN_ia64_install_value, elfNN_ia64_relax_brl): Likewise. + (elfNN_ia64_relax_section, elfNN_ia64_relocate_section, + elfNN_ia64_finish_dynamic_symbol, elfNN_ia64_finish_dynamic_sections): + Fix callers. + (elfNN_ia64_relax_brl): Change bfd_get_64 to bfd_getl64. Change + bfd_put_64 to bfd_putl64. + (elfNN_ia64_relax_ldxmov, elfNN_ia64_install_value): Likewise. + +2004-07-09 H.J. Lu <hongjiu.lu@intel.com> + + PR 240 + * elfxx-ia64.c (elfNN_ia64_relax_section): Only warn br in + .init/.fini sections when trying to relax it. + +2004-07-09 Jie Zhang <zhangjie@magima.com.cn> + + * elf.c (assign_file_positions_for_segments): Make sure the + .dynamic section is the first section in the PT_DYNAMIC segment. + +2004-07-09 Nick Clifton <nickc@redhat.com> + + * config.bfd: Change sh-sybmian-elf to sh-*-symbianelf. + * elf32-sh-symbian.c: Rename the sh_find_elf_flags and + sh_elf_get_flags_from_mach functions so that they do not conflict + when this target is built with other sh-elf targets. + * elf32-sh.c (sh_elf_get_flags_from_mach): Remove bogus + suppression of this function. + (sh_elf_find_flags): Likewise. + +2004-07-07 Tomer Levi <Tomer.Levi@nsc.com> + + * Makefile.am (ALL_MACHINES): Add cpu-crx.lo. + (ALL_MACHINES_CFILES): Add cpu-crx.c. + (BFD32_BACKENDS): Add elf32-crx.lo. + (BFD32_BACKENDS_CFILES): Add elf32-crx.c. + (cpu-crx.lo): New target. + (elf32-crx.lo): New target. + * Makefile.in: Regenerate. + * archures.c (bfd_architecture): Add bfd_{arch,mach}_crx. + (bfd_archures_list): Add bfd_crx_arch. + * bfd-in2.h: Regenerate. + * config.bfd: Handle crx-*-elf*, crx*. + * configure.in: Handle bfd_elf32_crx_vec. + * configure: Regenerate. + * cpu-crx.c: New file. + * elf32-crx.c: Likewise. + * libbfd.h: Regenerate. + * reloc.c: Add BFD_RELOC_CRX_REL4, BFD_RELOC_CRX_REL8, + BFD_RELOC_CRX_REL8_CMP, BFD_RELOC_CRX_REL16, BFD_RELOC_CRX_REL24, + BFD_RELOC_CRX_REL32, BFD_RELOC_CRX_REGREL12, BFD_RELOC_CRX_REGREL22, + BFD_RELOC_CRX_REGREL28, BFD_RELOC_CRX_REGREL32, BFD_RELOC_CRX_ABS16, + BFD_RELOC_CRX_ABS32, BFD_RELOC_CRX_NUM8, BFD_RELOC_CRX_NUM16, + BFD_RELOC_CRX_NUM32, BFD_RELOC_CRX_IMM16 and BFD_RELOC_CRX_IMM32 + * targets.c (bfd_elf32_crx_vec): Declare. + (bfd_target_vector): Add bfd_elf32_crx_vec. + +2004-07-06 Nick Clifton <nickc@redhat.com> + + * config.bfd: Add sh-symbian-elf target. + * configure.in: Add bfd_elf32_shl_symbian_vec. + * configure: Regenerate. + * elf-bfd.h (struct elf_backend_data): Add new field + 'check_directives'. + * elflink.c (elf_link_add_object_symbols): Invoke the + check_directives function, if defined. + * elfxx-target.h: Provide a default, NULL definition for + check_directives. + * targets.c: Add bfd_elf32_shl_symbian_vec. + * elf32-sh.c (sh_elf_swap_insns): Protect against unnecessary + definition. + (elf32_shlin_grok_prstatus, elf32_shlib_grok_psinfo, + * sh_elf_get_flags_from_mach, sh_elf_find_flags): Likewise. + (TARGET_BIG_SYM, TARGET_LITTLE_SYM): Only define if they have + not already been defined. + * elf32-sh64.c: Use SH_TARGET_ALREADY_DEFINED. + * sh-symbian.c: New file. Provide functions to support the + * sh-symbian-elf target. + * Makefile.am: Add elf32-sh-symbian.c + * Makefile.in: Regenerate. + +2004-07-05 Andrew Stubbs <andrew.stubbs@superh.com> + + * elf32-sh.c: Include ../opcodes/sh-opc.h. + * Makefile.am: Ran make dep-am. + * Makefile.in: Ran make dep-in. + +2004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> + + * cofflink.c (_bfd_coff_generic_relocate_section): Resolve PE weak + externals properly. + +2004-07-02 Martin Schwidefsky <schwidefsky@de.ibm.com> + + * config.bfd: Add want64 to configuration target s390-*-linux*. + +2004-07-01 H.J. Lu <hongjiu.lu@intel.com> + + * bfd.c (bfd_get_section_ident): New. + + * elflink.c (elf_link_read_relocs_from_section): Call + bfd_get_section_ident to identify the section when reporting + error. + (_bfd_elf_link_output_relocs): Likewise. + (elf_link_output_extsym): Likewise. + (elf_link_input_bfd): Likewise. + (bfd_elf_gc_record_vtinherit): Likewise. + + * bfd-in2.h: Regenerated. + +2004-07-01 Jie Zhang <zhangjie@magima.com.cn> + Nick Clifton <nickc@redhat.com> + + PR 204 + * elfxx-mips.c (_bfd_mips_elf_final_link): Pass the correct number + of section symbols to mips_elf_sort_hash_table (). + +2004-07-01 Alan Modra <amodra@bigpond.net.au> + + * elflink.c (elf_section_ignore_discarded_relocs): Revert last + change. Comment. + (elf_section_complain_discarded): New function. Handle + .gcc_except_table too. + (elf_link_input_bfd): Rewrite handling of relocs against symbols + in discarded sections. + * elf-bfd.h (elf_discarded_section): Protect macro arg. + +2004-06-30 James E Wilson <wilson@specifixinc.com> + + * elfxx-ia64.c (elfNN_ia64_check_relocs): New local pltoff. Initialize + to NULL. Call get_pltoff if NULL and NEED_PLTOFF is true. + +2004-06-30 H.J. Lu <hongjiu.lu@intel.com> + + PR 233 + * elflink.c (elf_link_input_bfd): Issue an error for non-debug + local references to discarded sections and report their + locations. + +2004-06-30 Alan Modra <amodra@bigpond.net.au> + + * elflink.c (elf_section_ignore_discarded_relocs): Don't test + sec_info_type, test section name instead. + +2004-06-29 H.J. Lu <hongjiu.lu@intel.com> + + PR 240 + * elfxx-ia64.c (elfNN_ia64_relax_section): Don't relax branch + in .init/.fini sections. + +2004-06-29 Bob Wilson <bob.wilson@acm.org> + + * elf32-xtensa.c (elf_xtensa_relocate_section): Use + bfd_get_section_limit. + +2004-06-29 Bob Wilson <bob.wilson@acm.org> + + * elf32-xtensa.c (elf_xtensa_combine_prop_entries): Don't change the + output section size. + +2004-06-29 Alan Modra <amodra@bigpond.net.au> + + * elf64-mmix.c (mmix_set_relaxable_size): Save original size in + rawsize. + (mmix_elf_perform_relocation): Adjust for above change. + (mmix_elf_relocate_section): Likewise. + (mmix_elf_relax_section): Likewise. Use output_section->rawsize. + (mmix_elf_get_section_contents): Delete. + (bfd_elf64_get_section_contents): Delete. + (mmix_elf_relocate_section): Zero stub area. + * linker.c (default_indirect_link_order): Alloc max of section size + and rawsize. + * simple.c (bfd_simple_get_relocated_section_contents): Likewise. + * section.c (bfd_malloc_and_get_section): Likewise. + (struct bfd_section): Update rawsize comment. + * bfd-in2.h: Regenerate. + + * reloc16.c (bfd_coff_reloc16_relax_section): Set rawsize. + +2004-06-29 Alan Modra <amodra@bigpond.net.au> + + * bfd-in.h (bfd_get_section_limit): Define. + * reloc.c (bfd_perform_relocation, bfd_install_relocation) + (_bfd_final_link_relocate): Use bfd_get_section_limit. + * aout-tic30.c (tic30_aout_final_link_relocate): Likewise. + * coff-arm.c (coff_arm_relocate_section): Likewise. + * coff-mips.c (mips_refhi_reloc, mips_gprel_reloc): Likewise. + * cpu-ns32k.c (do_ns32k_reloc): Likewise. + (bfd_ns32k_final_link_relocate): Likewise. + * elf32-d30v.c (bfd_elf_d30v_reloc, bfd_elf_d30v_reloc_21): Likwise. + * elf32-dlx.c (_bfd_dlx_elf_hi16_reloc): Likewise. + * elf32-i860.c (i860_howto_pc26_reloc, i860_howto_pc16_reloc) + (i860_howto_highadj_reloc, i860_howto_splitn_reloc): Likewise. + * elf32-m32r.c (m32r_elf_do_10_pcrel_reloc, m32r_elf_hi16_reloc) + (m32r_elf_generic_reloc, m32r_elf_relocate_section): Likewise. + * elf32-m68hc1x.c (m68hc11_elf_special_reloc): Likewise. + * elf32-mips.c (gprel32_with_gp, mips16_gprel_reloc): Likewise. + * elf32-or32.c (or32_elf_consth_reloc): Likewise. + * elf32-ppc.c (ppc_elf_addr16_ha_reloc): Likewise. + * elf32-s390.c (s390_elf_ldisp_reloc): Likewise. + * elf32-sh.c (sh_elf_reloc_loop): Likewise. + * elf32-sparc.c (sparc_elf_wdisp16_reloc): Likewise. + (sparc_elf_hix22_reloc, sparc_elf_lox10_reloc): Likwise. + * elf32-v850.c (v850_elf_reloc): Likewise. + * elf32-xstormy16.c (xstormy16_elf_24_reloc): Likewise. + * elf32-xtensa.c (bfd_elf_xtensa_reloc): Likewise. + * elf64-alpha.c (elf64_alpha_reloc_gpdisp): Likewise. + * elf64-mips.c (mips_elf64_gprel32_reloc) + (mips16_gprel_reloc): Likewise. + * elf64-mmix.c (mmix_elf_reloc): Likewise. + * elf64-s390.c (s390_elf_ldisp_reloc): Likewise. + * elf64-sparc.c (init_insn_reloc): Likewise. + * elfn32-mips.c (gprel32_with_gp, mips16_gprel_reloc): Likewise. + * elfxx-mips.c (_bfd_mips_elf_gprel16_with_gp) + (_bfd_mips_elf_hi16_reloc, _bfd_mips_elf_lo16_reloc) + (_bfd_mips_elf_generic_reloc): Likewise. + * bfd-in2.h: Regenerate. + +2004-06-28 Alan Modra <amodra@bigpond.net.au> + + * bfd-in.h (struct stab_info): Move from stabs.c. + * stabs.c (struct stab_link_includes_table): Delete. + (stab_link_includes_lookup): Delete. + (_bfd_write_section_stabs, _bfd_write_stab_strings): Remove one + level of indirection from sinfo parm. + (_bfd_link_section_stabs): Likewise. Set SEC_LINKER_CREATED on + stabstr section. Adjust hash table accesses. + * coff-ppc.c (ppc_bfd_coff_final_link): Do include rawsize in contents + alloc. Adjust stab_info test. + * cofflink.c (_bfd_coff_link_hash_table_init): Clear stab_info. + (_bfd_coff_final_link): Adjust stab_info test. + (_bfd_coff_link_input_bfd): Ignore SEC_LINKER_CREATED sections. + * elf-bfd.h (struct elf_link_hash_table): Include struct stab_info + in place. + * libcoff-in.h (struct coff_link_hash_table): Likewise. + * elf.c (_bfd_elf_link_hash_table_init): Clear stab_info. + * elflink.c (bfd_elf_final_link): Don't attempt to link linker created + stabstr section. Adjust stab_info test. + * libbfd-in.h (_bfd_link_section_stabs, _bfd_write_section_stabs) + (_bfd_write_stab_strings): Adjust prototypes. + * libbfd.h: Regenerate. + * libcoff.h: Regenerate. + * bfd-in2.h: Regenerate. + +2004-06-27 Mark Kettenis <kettenis@gnu.org> + + From Miod Vallat <miod@online.fr>: + * aoutx.h (NAME(aout,machine_type)): Handle bfd_arch_m88k. + +2004-06-26 Alexandre Oliva <aoliva@redhat.com> + + * elf-m10300.c (struct elf_mn10300_pcrel_relocs_copied): Delete. + (struct elf32_mn10300_link_hash_entry): Remove + pcrel_relocs_copied. + (mn10300_elf_check_relocs): Only reserve dynamic relocations for + R_MN10300_32. Don't adjust pcrel_relocs_copied. + (mn10300_elf_final_link_relocate): Fail for direct, pc-relative + and gotoff relocations if the symbol doesn't bind locally. Use + _bfd_elf_symbol_refs_local_p to test. Don't create dynamic + relocation for PCREL32. + (mn10300_elf_relocate_section): Use _bfd_elf_symbol_refs_local_p + to test whether a symbol binds locally. + (elf32_mn10300_link_hash_newfunc): Don't initialize + pcrel_relocs_copied. + (_bfd_mn10300_elf_discard_copies): Delete. + (_bfd_mn10300_elf_size_dynamic_sections): Don't call it. + +2004-06-26 Mark Kettenis <kettenis@gnu.org> + + * config.bfd: Replace m88k-*-openbsd* with m88*-*-openbsd*. + +2004-06-25 Joel Brobecker <brobecker@gnat.com> + + * som.c (som_set_reloc_info): Correct small typo. + +2004-06-25 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> + + * elf32-m32r.c (m32r_elf_howto_table): Support R_M32R_GOTOFF. + (m32r_elf_relocate_section): Changed for R_M32R_GOTOFF. + (m32r_elf_gcsweep_hook): Likewise. + (m32r_elf_check_relocs): Likewise. + (m32r_elf_howto_table): Added R_M32R_GOTOFF_HI_ULO, + R_M32R_GOTOFF_HI_SLO and R_M32R_GOTOFF_LO. + * reloc.c: Added BFD_RELOC_M32R_GOTOFF_HI_ULO, + BFD_RELOC_M32R_GOTOFF_HI_SLO and BFD_RELOC_M32R_GOTOFF_LO. + * bfd-in2.h: Regenerated. + * libbfd.h: Regenerated. + +2004-06-24 H.J. Lu <hongjiu.lu@intel.com> + + * elf64-x86-64.c (elf64_x86_64_check_relocs): Warn overflow + relocation symbol. + (elf64_x86_64_relocate_section): Issue an error for + R_X86_64_PC8, R_X86_64_PC16 and R_X86_64_PC32 relocations + against global symbols when building shared library. + +2004-06-24 Alan Modra <amodra@bigpond.net.au> + + * section.c (struct sec): Rename "_cooked_size" to "size". + Rename "_raw_size" to "rawsize". + (STD_SECTION): Adjust comments. + (bfd_set_section_size, bfd_get_section_contents): Use size. + (bfd_malloc_and_get_section): New function. + * bfd-in.h (bfd_section_size, bfd_get_section_size): Use size. + * coff-sh.c (sh_relax_section): Alloc coff_section_data struct early. + Correctly free reloc and contents memory. + * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Delete FIXME + and fake CIE now that we can shink section size to zero. + (_bfd_elf_write_section_eh_frame): Likewise.. + * elf32-ppc.c (ppc_elf_relax_section): Delay reading section contents. + * elf-m10300.c (mn10300_elf_final_link_relocate): Don't use + _bfd_stab_section_offset. Use _bfd_elf_section_offset. + * stabs.c (_bfd_stab_section_offset_): Remove unused args and + unneeded indirection. + * elf.c (_bfd_elf_section_offset): .. and update call. + * libbfd-in.h (_bfd_stab_section_offset): Update prototype. + * libbfd.h: Regenerate. + * bfd-in2.h: Regenerate. + + Replace occurrences of "_raw_size" and "_cooked_size" in most places + with "size". Set new "rawsize" for stabs, eh_frame, and SEC_MERGE + sections. Use "rawsize", if non-zero, for bfd_get_section_contents + calls if the section might be a stabs, eh_frame, or SEC_MERGE section. + Similarly use "rawsize", if non-zero, in reloc functions to validate + reloc addresses. Use new bfd_malloc_and_get_section in most places + where bfd_get_section_contents was called. Expand all occurrences of + bfd_section_size and bfd_get_section_size. Rename "raw_size" var in + grok_prstatus and similar functions to "size". + * aix386-core.c (aix386_core_file_p): .. + * aix5ppc-core.c (xcoff64_core_p): .. + * aout-adobe.c (aout_adobe_callback, aout_adobe_write_object_contents, + aout_adobe_set_section_contents): .. + * aout-target.h (callback): .. + * aout-tic30.c (tic30_aout_callback, tic30_aout_final_link_relocate, + MY_bfd_final_link): .. + * aoutf1.h (sunos4_core_file_p): .. + * aoutx.h (some_aout_object_p, adjust_o_magic, adjust_z_magic, + adjust_n_magic, adjust_sizes_and_vmas, translate_from_native_sym_flags, + final_link, aout_link_input_section): .. + * binary.c (binary_object_p, binary_canonicalize_symtab, + binary_set_section_contents): .. + * bout.c (b_out_callback, b_out_write_object_contents, + b_out_set_section_contents, b_out_bfd_relax_section, + b_out_bfd_get_relocated_section_contents): .. + * cisco-core.c (cisco_core_file_validate): .. + * coff-alpha.c (alpha_ecoff_object_p, + alpha_ecoff_get_relocated_section_conten, alpha_relocate_section): .. + * coff-arm.c (coff_arm_relocate_section, + bfd_arm_allocate_interworking_sections): .. + * coff-h8300.c (h8300_reloc16_extra_cases, + h8300_bfd_link_add_symbols): .. + * coff-mips.c (mips_refhi_reloc, mips_gprel_reloc): .. + * coff-ppc.c (coff_ppc_relocate_section, ppc_allocate_toc_section, + ppc_bfd_coff_final_link): .. + * coff-rs6000.c (xcoff_reloc_type_br, xcoff_ppc_relocate_section): .. + * coff-sh.c (sh_relax_section, sh_relax_delete_bytes, + sh_align_loads, sh_coff_get_relocated_section_contents): .. + * coff64-rs6000.c (xcoff64_write_object_contents, + xcoff64_reloc_type_br, xcoff64_ppc_relocate_section): .. + * coffcode.h (coff_compute_section_file_positions, + coff_write_object_contents): .. + * coffgen.c (make_a_section_from_file, coff_write_symbols, + coff_section_symbol, build_debug_section): .. + * cofflink.c (coff_link_add_symbols, _bfd_coff_final_link, + process_embedded_commands, _bfd_coff_link_input_bfd, + _bfd_coff_write_global_sym): .. + * cpu-arm.c (bfd_arm_update_notes, bfd_arm_get_mach_from_notes): .. + * cpu-ns32k.c (do_ns32k_reloc, _bfd_ns32k_final_link_relocate): .. + * dwarf1.c (parse_line_table, _bfd_dwarf1_find_nearest_line): .. + * dwarf2.c (read_indirect_string, read_abbrevs, decode_line_info, + _bfd_dwarf2_find_nearest_line): .. + * ecoff.c (bfd_debug_section, ecoff_set_symbol_info, + ecoff_compute_section_file_positions, + _bfd_ecoff_write_object_contents, ecoff_indirect_link_order): .. + * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame, + _bfd_elf_discard_section_eh_frame_hdr, + _bfd_elf_maybe_strip_eh_frame_hdr, _bfd_elf_eh_frame_section_offset, + _bfd_elf_write_section_eh_frame, + _bfd_elf_write_section_eh_frame_hdr): .. + * elf-hppa.h (elf_hppa_sort_unwind): .. + * elf-m10200.c (mn10200_elf_relax_section, + mn10200_elf_relax_delete_bytes, + mn10200_elf_get_relocated_section_contents): .. + * elf-m10300.c (_bfd_mn10300_elf_create_got_section, + mn10300_elf_check_relocs, mn10300_elf_relax_section, + mn10300_elf_relax_delete_bytes, + mn10300_elf_get_relocated_section_contents, + _bfd_mn10300_elf_adjust_dynamic_symbol, + _bfd_mn10300_elf_discard_copies, + _bfd_mn10300_elf_size_dynamic_sections, + _bfd_mn10300_elf_finish_dynamic_sections): .. + * elf.c (_bfd_elf_print_private_bfd_data, bfd_elf_get_bfd_needed_list, + _bfd_elf_make_section_from_phdr, elf_fake_sections, + bfd_elf_set_group_contents, map_sections_to_segments, + elf_sort_sections, assign_file_positions_for_segments, + SECTION_SIZE, copy_private_bfd_data, + _bfd_elf_get_dynamic_reloc_upper_bound, + _bfd_elf_canonicalize_dynamic_reloc, elfcore_maybe_make_sect, + _bfd_elfcore_make_pseudosection, elfcore_grok_prstatus, + elfcore_grok_lwpstatus, elfcore_grok_win32pstatus, + elfcore_grok_note, elfcore_grok_nto_status, elfcore_grok_nto_gregs, + _bfd_elf_rel_local_sym, _bfd_elf_get_synthetic_symtab): .. + * elf32-arm.h (bfd_elf32_arm_allocate_interworking_sect, + bfd_elf32_arm_process_before_allocation, + elf32_arm_adjust_dynamic_symbol, allocate_dynrelocs, + elf32_arm_size_dynamic_sections, elf32_arm_finish_dynamic_sections, + elf32_arm_write_section): .. + * elf32-cris.c (cris_elf_grok_prstatus, + elf_cris_finish_dynamic_sections, cris_elf_gc_sweep_hook, + elf_cris_adjust_gotplt_to_got, elf_cris_adjust_dynamic_symbol, + cris_elf_check_relocs, elf_cris_size_dynamic_sections, + elf_cris_discard_excess_dso_dynamics, + elf_cris_discard_excess_program_dynamics): .. + * elf32-d30v.c (bfd_elf_d30v_reloc, bfd_elf_d30v_reloc_21): .. + * elf32-dlx.c (_bfd_dlx_elf_hi16_reloc): .. + * elf32-frv.c (_frvfdpic_add_dyn_reloc, _frvfdpic_add_rofixup, + _frv_create_got_section, _frvfdpic_assign_plt_entries, + elf32_frvfdpic_size_dynamic_sections, + elf32_frvfdpic_modify_segment_map, + elf32_frvfdpic_finish_dynamic_sections): .. + * elf32-h8300.c (elf32_h8_relax_section, elf32_h8_relax_delete_bytes, + elf32_h8_get_relocated_section_contents): .. + * elf32-hppa.c (hppa_build_one_stub, hppa_size_one_stub, + elf32_hppa_adjust_dynamic_symbol, allocate_plt_static, + allocate_dynrelocs, elf32_hppa_size_dynamic_sections, group_sections, + elf32_hppa_size_stubs, elf32_hppa_set_gp, elf32_hppa_build_stubs, + elf32_hppa_finish_dynamic_sections): .. + * elf32-i370.c (i370_elf_adjust_dynamic_symbol, + i370_elf_size_dynamic_sections, i370_elf_check_relocs, + i370_elf_finish_dynamic_sections): .. + * elf32-i386.c (elf_i386_grok_prstatus, elf_i386_adjust_dynamic_symbol, + allocate_dynrelocs, elf_i386_size_dynamic_sections, + elf_i386_relocate_section, elf_i386_finish_dynamic_sections): .. + * elf32-i860.c (i860_howto_pc26_reloc, i860_howto_pc16_reloc, + i860_howto_highadj_reloc, i860_howto_splitn_reloc): .. + * elf32-ip2k.c (ip2k_is_switch_table_128, + ip2k_relax_switch_table_128, ip2k_is_switch_table_256, + ip2k_relax_switch_table_256, ip2k_elf_relax_section, + adjust_all_relocations, ip2k_elf_relax_delete_bytes): .. + * elf32-m32r.c (m32r_elf_do_10_pcrel_reloc, m32r_elf_hi16_reloc, + m32r_elf_generic_reloc, m32r_elf_adjust_dynamic_symbol, + allocate_dynrelocs, m32r_elf_size_dynamic_sections, + m32r_elf_relocate_section, m32r_elf_finish_dynamic_sections, + m32r_elf_relax_section, m32r_elf_relax_delete_bytes, + m32r_elf_get_relocated_section_contents): .. + * elf32-m68hc11.c (m68hc11_elf_build_one_stub, + m68hc11_elf_size_one_stub, m68hc11_elf_relax_section, + m68hc11_elf_relax_delete_bytes): .. + * elf32-m68hc12.c (m68hc12_elf_build_one_stub, + m68hc12_elf_size_one_stub): .. + * elf32-m68hc1x.c (elf32_m68hc11_size_stubs, + elf32_m68hc11_build_stubs, m68hc11_elf_special_reloc): .. + * elf32-m68k.c (elf_m68k_check_relocs, elf_m68k_gc_sweep_hook, + elf_m68k_adjust_dynamic_symbol, elf_m68k_size_dynamic_sections, + elf_m68k_discard_copies, elf_m68k_finish_dynamic_sections): .. + * elf32-mips.c (gprel32_with_gp, mips16_gprel_reloc, + elf32_mips_grok_prstatus): .. + * elf32-or32.c (or32_elf_consth_reloc): .. + * elf32-ppc.c (ppc_elf_relax_section, ppc_elf_addr16_ha_reloc, + elf_create_pointer_linker_section, ppc_elf_create_linker_section, + ppc_elf_additional_program_headers, ppc_elf_adjust_dynamic_symbol, + allocate_dynrelocs, ppc_elf_size_dynamic_sections, + ppc_elf_finish_dynamic_sections, ppc_elf_grok_prstatus, + ppc_elf_final_write_processing): .. + * elf32-s390.c (s390_elf_ldisp_reloc, elf_s390_adjust_dynamic_symbol, + allocate_dynrelocs, elf_s390_size_dynamic_sections, + elf_s390_finish_dynamic_sections, elf_s390_grok_prstatus): .. + * elf32-sh.c (sh_elf_reloc_loop, sh_elf_relax_section, + sh_elf_relax_delete_bytes, sh_elf_align_loads, + sh_elf_adjust_dynamic_symbol, allocate_dynrelocs, + sh_elf_size_dynamic_sections, sh_elf_get_relocated_section_contents, + sh_elf_finish_dynamic_sections, elf32_shlin_grok_prstatus): .. + * elf32-sh64-com.c (sh64_address_in_cranges, + sh64_get_contents_type): .. + * elf32-sh64.c (sh64_find_section_for_address, + sh64_elf_final_write_processing): .. + * elf32-sparc.c (sparc_elf_wdisp16_reloc, sparc_elf_hix22_reloc, + sparc_elf_lox10_reloc, elf32_sparc_adjust_dynamic_symbol, + allocate_dynrelocs, elf32_sparc_size_dynamic_sections, + elf32_sparc_relocate_section, elf32_sparc_finish_dynamic_sections): .. + * elf32-v850.c (v850_elf_reloc, v850_elf_relax_section): .. + * elf32-vax.c (elf_vax_check_relocs, elf_vax_adjust_dynamic_symbol, + elf_vax_size_dynamic_sections, elf_vax_discard_copies, + elf_vax_instantiate_got_entries, elf_vax_relocate_section, + elf_vax_finish_dynamic_sections): .. + * elf32-xstormy16.c (xstormy16_elf_24_reloc, + xstormy16_elf_check_relocs, xstormy16_relax_plt_check, + xstormy16_elf_relax_section, xstormy16_elf_always_size_sections, + xstormy16_elf_finish_dynamic_sections): .. + * elf32-xtensa.c (xtensa_read_table_entries, + elf_xtensa_allocate_got_size, elf_xtensa_allocate_local_got_size, + elf_xtensa_size_dynamic_sections, elf_xtensa_do_reloc, + bfd_elf_xtensa_reloc, elf_xtensa_relocate_section, + elf_xtensa_combine_prop_entries, elf_xtensa_finish_dynamic_sections, + elf_xtensa_discard_info_for_section, elf_xtensa_grok_prstatus, + get_relocation_opcode, retrieve_contents, find_relaxable_sections, + collect_source_relocs, is_resolvable_asm_expansion, remove_literals, + relax_section, shrink_dynamic_reloc_sections, relax_property_section, + xtensa_callback_required_dependence): .. + * elf64-alpha.c (elf64_alpha_reloc_gpdisp, elf64_alpha_relax_section, + elf64_alpha_check_relocs, elf64_alpha_adjust_dynamic_symbol, + elf64_alpha_calc_got_offsets_for_symbol, elf64_alpha_calc_got_offsets, + elf64_alpha_size_plt_section, elf64_alpha_size_plt_section_1, + elf64_alpha_always_size_sections, elf64_alpha_calc_dynrel_sizes, + elf64_alpha_size_rela_got_section, elf64_alpha_size_rela_got_1, + elf64_alpha_size_dynamic_sections, elf64_alpha_emit_dynrel, + elf64_alpha_finish_dynamic_sections, elf64_alpha_final_link): .. + * elf64-hppa.c (allocate_dynrel_entries, + elf64_hppa_size_dynamic_sections, + elf64_hppa_finish_dynamic_sections): .. + * elf64-mips.c (mips_elf64_gprel32_reloc, mips16_gprel_reloc, + mips_elf64_canonicalize_dynamic_reloc, mips_elf64_slurp_reloc_table, + elf64_mips_grok_prstatus): .. + * elf64-mmix.c (mmix_elf_perform_relocation, mmix_elf_reloc, + mmix_elf_relocate_section, mmix_elf_final_link, + mmix_set_relaxable_size, _bfd_mmix_after_linker_allocation, + mmix_elf_relax_section, mmix_elf_get_section_contents): .. + * elf64-ppc.c (ppc64_elf_object_p, ppc64_elf_grok_prstatus, + ppc64_elf_check_relocs, ppc64_elf_func_desc_adjust, + ppc64_elf_adjust_dynamic_symbol, ppc64_elf_edit_opd, + allocate_dynrelocs, ppc64_elf_size_dynamic_sections, + ppc_build_one_stub, ppc_size_one_stub, ppc64_elf_next_toc_section, + toc_adjusting_stub_needed, group_sections, ppc64_elf_size_stubs, + ppc64_elf_build_stubs, ppc64_elf_relocate_section, + ppc64_elf_finish_dynamic_sections): .. + * elf64-s390.c (s390_elf_ldisp_reloc, elf_s390_adjust_dynamic_symbol, + allocate_dynrelocs, elf_s390_size_dynamic_sections, + elf_s390_finish_dynamic_sections): .. + * elf64-sh64.c (sh_elf64_get_relocated_section_contents, + sh_elf64_check_relocs, sh64_elf64_adjust_dynamic_symbol, + sh64_elf64_discard_copies, sh64_elf64_size_dynamic_sections, + sh64_elf64_finish_dynamic_sections): .. + * elf64-sparc.c (sparc64_elf_slurp_reloc_table, init_insn_reloc, + sparc64_elf_check_relocs, sparc64_elf_adjust_dynamic_symbol, + sparc64_elf_size_dynamic_sections, sparc64_elf_relocate_section, + sparc64_elf_finish_dynamic_symbol, + sparc64_elf_finish_dynamic_sections): .. + * elf64-x86-64.c (elf64_x86_64_grok_prstatus, + elf64_x86_64_adjust_dynamic_symbol, allocate_dynrelocs, + elf64_x86_64_size_dynamic_sections, elf64_x86_64_relocate_section, + elf64_x86_64_finish_dynamic_sections): .. + * elfarm-nabi.c (elf32_arm_nabi_grok_prstatus): .. + * elfcode.h (elf_slurp_reloc_table): .. + * elflink.c (_bfd_elf_create_got_section, elf_add_dt_needed_tag, + elf_finalize_dynstr, elf_link_add_object_symbols, + bfd_elf_size_dynamic_sections, elf_link_sort_relocs, + elf_link_input_bfd, bfd_elf_final_link, bfd_elf_discard_info): .. + * elfn32-mips.c (gprel32_with_gp, mips16_gprel_reloc, + elf32_mips_grok_prstatus): .. + * elfxx-ia64.c (elfNN_ia64_relax_section, allocate_dynrel_entries, + elfNN_ia64_size_dynamic_sections, elfNN_ia64_install_dyn_reloc, + elfNN_ia64_choose_gp, elfNN_ia64_final_link, + elfNN_ia64_finish_dynamic_sections): .. + * elfxx-mips.c (mips_elf_create_procedure_table, + mips_elf_check_mips16_stubs, _bfd_mips_elf_gprel16_with_gp, + _bfd_mips_elf_hi16_reloc, _bfd_mips_elf_generic_reloc, + mips_elf_global_got_index, mips_elf_multi_got, + mips_elf_create_compact_rel_section, mips_elf_calculate_relocation, + mips_elf_allocate_dynamic_relocations, + mips_elf_create_dynamic_relocation, _bfd_mips_elf_fake_sections, + _bfd_mips_relax_section, _bfd_mips_elf_adjust_dynamic_symbol, + _bfd_mips_elf_always_size_sections, + _bfd_mips_elf_size_dynamic_sections, + _bfd_mips_elf_finish_dynamic_symbol, + _bfd_mips_elf_finish_dynamic_sections, + _bfd_mips_elf_modify_segment_map, _bfd_mips_elf_discard_info, + _bfd_mips_elf_write_section, _bfd_mips_elf_set_section_contents, + _bfd_elf_mips_get_relocated_section_contents, + _bfd_mips_elf_final_link, _bfd_mips_elf_merge_private_bfd_data): .. + * hp300hpux.c (callback): .. + * hppabsd-core.c (make_bfd_asection): .. + * hpux-core.c (make_bfd_asection): .. + * i386linux.c (linux_link_create_dynamic_sections, + bfd_i386linux_size_dynamic_sections, linux_finish_dynamic_link): .. + * i386msdos.c (msdos_write_object_contents): .. + * i386os9k.c (os9k_callback, os9k_write_object_contents, + os9k_set_section_contents): .. + * ieee.c (parse_expression, ieee_slurp_external_symbols, + ieee_slurp_sections, ieee_slurp_debug, ieee_slurp_section_data, + ieee_write_section_part, do_with_relocs, do_as_repeat, + do_without_relocs, ieee_write_debug_part, init_for_output, + ieee_set_section_contents): .. + * ihex.c (ihex_scan, ihex_read_section, ihex_get_section_contents): .. + * irix-core.c (do_sections, make_bfd_asection): .. + * libaout.h (aout_section_merge_with_text_p): .. + * libbfd.c (_bfd_generic_get_section_contents, + _bfd_generic_get_section_contents_in_window): .. + * linker.c (default_indirect_link_order): .. + * lynx-core.c (make_bfd_asection): .. + * m68klinux.c (linux_link_create_dynamic_sections, + bfd_m68klinux_size_dynamic_sections, linux_finish_dynamic_link): .. + * mach-o.c (bfd_mach_o_make_bfd_section, + bfd_mach_o_scan_read_dylinker, bfd_mach_o_scan_read_dylib, + bfd_mach_o_scan_read_thread, bfd_mach_o_scan_read_symtab, + bfd_mach_o_scan_read_segment): .. + * merge.c (_bfd_add_merge_section, record_section, merge_strings, + _bfd_merge_sections): .. + * mmo.c (mmo_find_sec_w_addr, mmo_get_spec_section, mmo_get_loc, + mmo_map_set_sizes, mmo_canonicalize_symtab, + mmo_internal_write_section, mmo_write_object_contents): .. + * netbsd-core.c (netbsd_core_file_p): .. + * nlm32-alpha.c (nlm_alpha_read_reloc, nlm_alpha_write_import, + nlm_alpha_set_public_section): .. + * nlm32-ppc.c (nlm_powerpc_read_reloc, nlm_powerpc_write_reloc): .. + * nlm32-sparc.c (nlm_sparc_write_import): .. + * nlmcode.h (add_bfd_section, nlm_swap_auxiliary_headers_in, + nlm_compute_section_file_positions): .. + * oasys.c (oasys_object_p, oasys_slurp_section_data, + oasys_write_sections, oasys_write_data, oasys_set_section_contents): .. + * opncls.c (get_debug_link_info): .. + * osf-core.c (make_bfd_asection): .. + * pdp11.c (some_aout_object_p, adjust_o_magic, adjust_z_magic, + adjust_n_magic, adjust_sizes_and_vmas, squirt_out_relocs, + final_link, aout_link_input_section): .. + * peXXigen.c (_bfd_XXi_swap_sym_in, _bfd_XXi_swap_aouthdr_out, + pe_print_idata, pe_print_edata, pe_print_pdata, pe_print_reloc): .. + * pef.c (bfd_pef_make_bfd_section, bfd_pef_print_loader_section, + bfd_pef_scan_start_address, bfd_pef_parse_symbols): .. + * ppcboot.c (ppcboot_object_p, ppcboot_canonicalize_symtab): .. + * ptrace-core.c (ptrace_unix_core_file_p): .. + * reloc.c (bfd_perform_relocation, bfd_install_relocation, + _bfd_final_link_relocate, bfd_generic_relax_section, + bfd_generic_get_relocated_section_contents): .. + * reloc16.c (bfd_coff_reloc16_relax_section, + bfd_coff_reloc16_get_relocated_section_c): .. + * riscix.c (riscix_some_aout_object_p): .. + * rs6000-core.c (read_hdr, make_bfd_asection): .. + * sco5-core.c (make_bfd_asection): .. + * simple.c (bfd_simple_get_relocated_section_contents): .. + * som.c (som_object_setup, setup_sections, som_prep_headers, + som_write_fixups, som_begin_writing, bfd_section_from_som_symbol, + som_set_reloc_info, som_get_section_contents, + som_bfd_link_split_section): .. + * sparclinux.c (linux_link_create_dynamic_sections, + bfd_sparclinux_size_dynamic_sections, linux_finish_dynamic_link): .. + * srec.c (srec_scan, srec_read_section, srec_get_section_contents): .. + * stabs.c (_bfd_link_section_stabs, _bfd_discard_section_stabs, + _bfd_write_stab_strings, _bfd_stab_section_offset): .. + * sunos.c (sunos_read_dynamic_info, sunos_create_dynamic_sections, + bfd_sunos_size_dynamic_sections, sunos_scan_std_relocs, + sunos_scan_ext_relocs, sunos_scan_dynamic_symbol, + sunos_write_dynamic_symbol, sunos_check_dynamic_reloc, + sunos_finish_dynamic_link): .. + * syms.c (_bfd_stab_section_find_nearest_line): .. + * tekhex.c (first_phase, tekhex_set_section_contents, + tekhex_write_object_contents): .. + * trad-core.c (trad_unix_core_file_p): .. + * versados.c (process_esd, process_otr, process_otr): .. + * vms-gsd.c (_bfd_vms_slurp_gsd, _bfd_vms_write_gsd): .. + * vms-misc.c (add_new_contents): .. + * vms-tir.c (check_section, new_section, _bfd_vms_write_tir): .. + * vms.c (vms_set_section_contents): .. + * xcofflink.c (xcoff_get_section_contents, xcoff_link_add_symbols, + xcoff_sweep, bfd_xcoff_size_dynamic_sections, xcoff_build_ldsyms, + _bfd_xcoff_bfd_final_link, xcoff_link_input_bfd): .. + * xsym.c (bfd_sym_scan): .. See above. + +2004-06-21 H.J. Lu <hongjiu.lu@intel.com> + + * elfxx-ia64.c (elfNN_ia64_relax_section): Add addend when + calling _bfd_merged_section_offset only for section symbols. + +2004-06-22 Alan Modra <amodra@bigpond.net.au> + + * elf32-ppc.c (ppc_elf_relax_section): Implement reference code + for handling SEC_MERGE symbols in relax_section. + +2004-06-21 Alexandre Oliva <aoliva@redhat.com> + + 2003-05-15 Richard Sandiford <rsandifo@redhat.com> + * cpu-h8300.c (compatible): Allow h8300s and h8300sx code to be + linked together. Mark the result as h8300sx code. + +2004-06-21 Alexandre Oliva <aoliva@redhat.com> + + * elf-bfd.h (struct elf_backend_data): Added + elf_backend_omit_section_dynsym. + (_bfd_elf_link_omit_section_dynsym): Declare. + * elf32-frv.c (_frvfdpic_link_omit_section_dynsym): New. + (elf_backend_omit_section_dynsym): Use it for frvfdpic. + * elflink.c (_bfd_elf_link_omit_section_dynsym): Split out of... + (_bfd_elf_link_renumber_dynsyms): ... this function. + * elfxx-target.h (elf_backend_omit_section_dynsym): Default to + _bfd_elf_link_omit_section_dynsym). + (elfNN_bed): Added elf_backend_omit_section_dynsym. + +2004-06-21 Nick Clifton <nickc@redhat.com> + + * coffcode.h (styp_to_sec_flags): Ignore IMAGE_SCN_MEM_NOT_PAGED + flags. + +2004-06-17 Jerome Guitton <guitton@gnat.com> + + * bfd-in.h (bfd_cache_close_all): New function declaration. + * bfd-in2.h: Regenerate. + * cache.c (bfd_cache_close_all): New function definition. + +2004-06-16 Mark Kettenis <kettenis@gnu.org> + + * configure.in: Don't set COREFILE to trad-core.lo for FreeBSD + 4.10 and beyond. + * configure: Regenerate. + +2004-06-16 Daniel Jacobowitz <dan@debian.org> + + * elf32-ppc.c (ppc_elf_create_linker_section): Create symbols in + the pre-existing section. + +2004-06-15 Alan Modra <amodra@bigpond.net.au> + + * section.c (struct sec): Remove usused flags. Reorganize a little. + (bfd_get_section_size_before_reloc): Delete. + (bfd_get_section_size_after_reloc): Delete. + (STD_SECTION): Update. + (bfd_get_section_size_now): Delete. + (bfd_set_section_contents): Don't referece reloc_done. + (bfd_get_section_contents): Remove reloc_done comment. + * bout.c (b_out_bfd_get_relocated_section_contents): Don't set + reloc_done. + * coff-alpha.c (alpha_ecoff_get_relocated_section_contents): Likewise. + * ecoff.c (bfd_debug_section): Update initializer. + * elfxx-mips.c (_bfd_elf_mips_get_relocated_section_contents): Ditto. + * reloc.c (bfd_generic_get_relocated_section_contents): Likewise. + * bfd-in.h (bfd_section_size): Expand. + (bfd_get_section_size): New macro. + * bfd-in2.h: Regenerate. + * coff64-rs6000.c (xcoff64_write_object_contents): Replace + bfd_get_section_size_before_reloc with bfd_get_section_size. + * coffcode.h (coff_write_object_contents): Likewise. + * coffgen.c (build_debug_section): Likewise. + * dwarf1.c (parse_line_table): Likewise. + (_bfd_dwarf1_find_nearest_line): Likewise. + * ecoff.c (_bfd_ecoff_write_object_contents): Likewise. + * i386msdos.c (msdos_write_object_contents): Likewise. + * pdp11.c (squirt_out_relocs): Likewise. + * elf32-sh64.c (sh64_find_section_for_address): Remove comment. + * elf64-mmix.c (mmix_elf_final_link): Update comment. + +2004-06-14 Chris Demetriou <cgd@broadcom.com> + + * elf32-mips.c (elf_mips_gnu_pcrel32): Add (undoing 2004-04-24 + removal) with updated comment. + (bfd_elf32_bfd_reloc_type_lookup): Add back case for + BFD_RELOC_32_PCREL. + (mips_elf32_rtype_to_howto): Add back case for R_MIPS_PC32. + * elfxx-mips.c (mips_elf_calculate_relocation): Likewise. + +2004-06-12 Alan Modra <amodra@bigpond.net.au> + + * elf64-x86-64.c (elf64_x86_64_relocate_section): Ignore reloc + overflow on branches to undefweaks. + +2004-06-11 Maciej W. Rozycki <macro@ds2.pg.gda.pl> + + * coff-alpha.c (alpha_relocate_section): Set used_by_bfd directly + as ecoff_section_data() does not return a valid lvalue. + +2004-06-09 Alexandre Oliva <aoliva@redhat.com> + + * elflink.c (elf_sort_symbol): Compare section id, not pointers. + (elf_link_add_object_symbols): Likewise. + + * elf-m10300.c (_bfd_mn10300_elf_reloc_type_class): New. + (elf_backend_reloc_type_class): New. + +2004-06-08 Mark Kettenis <kettenis@gnu.org> + + * configure.in (hppa*-*-netbsd*, hppa*-*-openbsd): Set COREFILE to + netbsd-core.lo. + * configure: Regenerate. + +2004-06-07 Daniel Jacobowitz <dan@debian.org> + + From: Albert Chin-A-Young <china@thewrittenword.com> + * bfd/elf-bfd.h (struct eh_cie_fde): Convert unsigned char bitfields + to unsigned int. + +2004-05-29 H.J. Lu <hongjiu.lu@intel.com> + + * elfxx-ia64.c (elfNN_ia64_relax_section): Undo the last + change. + +2004-05-28 DJ Delorie <dj@redhat.com> + + * elf-m10300.c (mn10300_elf_relax_section): Preserve reloc addend + for linking, but otherwise adjust reloc for merged sections. + +2004-05-28 H.J. Lu <hongjiu.lu@intel.com> + + * elfxx-ia64.c (elfNN_ia64_relax_section): Properly call + _bfd_merged_section_offset for local symbols. + +2004-05-28 Andrew Stubbs <andrew.stubbs@superh.com> + + * Makefile.am: Regenerate dependencies. + * Makefile.in: Regenerate. + * archures.c: Add bfd_mach_sh3_nommu . + * bfd-in2.h: Regenerate. + * cpu-sh.c: Add sh3-nommu architecture. + (bfd_to_arch_table): Create new table. + (sh_get_arch_from_bfd_mach): Create new function. + (sh_get_arch_up_from_bfd_mach): Create new function. + (sh_merge_bfd_arch): Create new function. + * elf32-sh.c (sh_ef_bfd_table): Add table. + (sh_elf_check_relocs): Replace switch statement with + use of sh_ef_bfd_table . + (sh_elf_get_flags_from_mach): Add new function. + (sh_find_elf_flags): Likewise. + (sh_elf_copy_private_data): Replace most of non-elf contents + with a call to sh_merge_bfd_arch() . + +2004-05-27 Michael Chastain <mec.gnu@mindspring.com> + + * Makefile.am (bfdver.h): Use explicit filename, not $< . + * Makefile.in: Regenerate. + +2004-05-27 Alexandre Oliva <aoliva@redhat.com> + + * elf-m10300.c (elf32_mn10300_finish_hash_table_entry): Avoid + custom calling conventions for dynamic symbols. + (mn10300_elf_relax_section): Avoid relaxing a function as a local + symbol if it's an alias to a global one. + +2004-05-26 H.J. Lu <hongjiu.lu@intel.com> + + * elf.c (_bfd_elf_make_section_from_shdr): Undo the last + change. + +2004-05-27 Alexandre Oliva <aoliva@redhat.com> + + * elf-m10300.c (mn10300_elf_relax_section): Don't test isym within + loop over hashes. + +2004-05-26 Alan Modra <amodra@bigpond.net.au> + + * elf.c (_bfd_elf_make_section_from_shdr): Don't set SEC_EXCLUDE + for SHT_GROUP sections. + +2004-05-25 Alan Modra <amodra@bigpond.net.au> + + * elflink.c (elf_link_add_object_symbols): Don't set up merge + section data here.. + * elf.c (_bfd_elf_merge_sections): .. Do it here instead. + * merge.c: Formatting. Remove unnecessary casts. Expand + bfd_get_section_alignment macro. + (struct sec_merge_sec_info): Rename "first" to "first_str". Update + use throughout file. + (_bfd_add_merge_section): Rename from _bfd_merge_section. Update + comment. Abort on dynamic or non-SEC_MERGE input. Don't test + section name to determine sinfo group, instead test output section + and alignment. + (_bfd_merge_sections): Add struct bfd_link_info param. Call + _bfd_strip_section_from_output rather than just twiddling flags. + * libbfd-in.h (_bfd_add_merge_section): Rename, update comment. + (_bfd_merge_sections): Update prototype. + * libbfd.h: Regenerate. + +2004-05-24 Mark Kettenis <kettenis@gnu.org> + + * netbsd-core.c: Correctly indent section that sets architecture + from machine ID. + + From Miod Vallat <miod@online.fr>: + * m88kopenbsd.c: New file. + * targets.c (m88k_openbsd_vec): New. + * config.bfd: Add m88k-*-openbsd*. + * configure.in (m88k-*-openbsd*): Set COREFILE to netbsd-core.lo. + (m88kopenbsd_vec): New. + * configure: Regenerate. + * Makefile.am (BFD32_BACKENDS): Add m88kopenbsd.lo. + (BFD32_BACKENDS_CFILES): Add m88kopenbsd.c. + Run "make dep-am". + * Makefile.in: Regenerate. + * po/SRC-POTFILES.in: Regenerate. + +2004-05-24 Nick Clifton <nickc@redhat.com> + + * hash.c: Remove bogus node "Changing the default Hash Table Size" + introduced by hash table size patch. + +2004-05-22 Ben Elliston <bje@au.ibm.com> + + * configure.in (is_release): Remove. + (bfd_version_date, bfd_version, bfd_version_string): Likewise. + (AC_OUTPUT): Don't output bfdver.h from version.h. + * configure: Regenerate. + * Makefile.am (RELEASE): New variable. + (bfdver.h): New target. + * Makefile.in: Regenerate. + * doc/Makefile.in: Likewise. + +2004-05-22 Ben Elliston <bje@au.ibm.com> + + * Makefile.am (config.status): Don't depend on version.h. + * Makefile.in: Regenerate. + +2004-05-22 Alan Modra <amodra@bigpond.net.au> + + * merge.c (_bfd_merged_section_offset): Remove "addend" param. + * libbfd-in.h (_bfd_merged_section_offset): Adjust prototype. + * libbfd.h: Regenerate. + * elf.c (_bfd_elf_rela_local_sym): Adjust call. + (_bfd_elf_rel_local_sym): Likewise. + * elflink.c (_bfd_elf_link_sec_merge_syms): Likewise. + (elf_link_input_bfd): Likewise. + * elf32-ppc.c (ppc_elf_relax_section): Likewise. + * elf64-alpha.c (elf64_alpha_relocate_section): Likewise. + * elfxx-ia64.c (elfNN_ia64_relax_section): Likewise. + (elfNN_ia64_relocate_section): Likewise. + +2004-05-21 Andy Chittenden <achittenden@bluearc.com> + + * hash.c (bfd_default_hash_table_size): New variable. + (bfd_hash_table_init): Use new variable instead of DEFAULT_SIZE. + (bfd_hash_set_default_size): New function. Set the default size + to a selected prime number close to the argument. Document new + function. + * bfd-in.h: Add prototype for bfd_hash_set_default_size. + * bfd-in2.h: Regenerate. + * Makefile.am (hash.lo): Add dependency upon libiberty.h. + * Makefile.in: Regenerate. + +2004-05-21 Mark Kettenis <kettenis@gnu.org> + + * libaout.h (machine_type): Add M_88K_OPENBSD and M_HPPA_OPENBSD. + * netbsd-core.c (netbsd_core_file_p): Set architecture for alpha, + arm, m68k, m88k and hppa core files. + +2004-05-21 Nick Clifton <nickc@redhat.com> + + * bfdio.c (bfd_bread): Do not use iovec if it is NULL. + (bfd_bwrite): Likewise. + (bfd_tell): Likewise. + (bfd_flush): Likewise. + (bfd_stat): Likewise. + (bfd_seek): Likewise. + (bfd_get_mtime): Likewise. + (bfd_get_size): Likewise. + +2004-05-19 Ben Elliston <bje@au.ibm.com> + + * dwarf2.c (_bfd_dwarf2_find_nearest_line): Comment correction. + +2004-05-19 Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz> + + * archive.c (_bfd_get_elt_at_filepos): Cope with a nested archives. + (bfd_generic_openr_next_archived_file): Likewise. + +2004-05-17 Bob Wilson <bob.wilson@acm.org> + + * elf32-xtensa.c (xtensa_get_property_section_name): Determine linkonce + section names by inserting a new substring after .gnu.linkonce, except + for .gnu.linkonce.t.* where the "t." is replaced. + +2004-05-17 Adam Nemet <anemet@lnxw.com> + + * config.bfd (sparc-*-lynxos* case): Add to obsolete list. + (m68-*-lynxos* case): Likewise. + (powerpc-*-lyxnos* case): New case. + (i[3-7]86-*-lynxos* case): Update to LynxOS 4.0 ELF. + +2004-05-17 David Heine <dlheine@tensilica.com> + + * aout-target.h (MY_bfd_copy_private_header_data): Define. + * aout-tic30.c (MY_bfd_copy_private_header_data): Define. + * bfd.c (bfd_copy_private_header_data): Define. + * coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Add entries for new + interface. + * coff64-rs6000.c (rs6000coff64_vec, aix5coff64_vec): Likewise. + * coffcode.h (coff_bfd_copy_private_header_data): Define. + * elf-bfd.h (_bfd_elf_copy_private_header_data): Declare. + * elf.c (_bfd_elf_copy_private_section_data): Remove code to set up + segments by calling copy_private_bfd_data. + (_bfd_elf_copy_private_header_data): Define. + * elfxx-target.h (bfd_elfNN_bfd_copy_private_header_data): Define. + * libbfd-in.h (_bfd_generic_bfd_copy_private_header_data): Define. + * libecoff.h (_bfd_ecoff_bfd_copy_private_header_data): Define. + * mach-o.c (bfd_mach_o_bfd_copy_private_header_data): Define. + * mmo.c (mmo_bfd_copy_private_header_data): Define. + * ppcboot.c (ppcboot_bfd_copy_private_header_data): Define. + * som.c (som_bfd_copy_private_header_data): Define. + * targets.c (BFD_JUMP_TABLE_COPY): Add _bfd_copy_private_header_data. + * vms.c (vms_bfd_copy_private_header_data): Define. + * bfd-in2.h: Regenerate. + * libbfd.h: Regenerate. + +2004-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> + + * elfxx-mips.c (MINUS_TWO): Define. + (mips_elf_higher, mips_elf_highest, + mips_elf_create_dynamic_relocation): Use MINUS_ONE and MINUS_TWO for + some bfd_vma values. + (_bfd_mips_elf_finish_dynamic_symbol): Likewise. Code cleanup. + +2004-05-14 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + * som.c (log2): Rename to exact_log2. Adjust all callers. + +2004-05-13 Paul Brook <paul@codesourcery.com> + + * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Handle + dwarf3 format CIE entries. Remove comment about the size of the + ra_column field. It is now correctly deduced. + +2004-05-13 Joel Sherrill <joel@oarcorp.com> + + * config.bfd (or32-*-rtems*): Switch to elf. + +2004-05-13 Nick Clifton <nickc@redhat.com> + + * po/fr.po: Updated French translation. + +2004-05-11 Jakub Jelinek <jakub@redhat.com> + + * elflink.c (bfd_elf_final_link): Don't output STT_SECTION symbol + into .dynsym if elf_section_data (sec)->dynindx <= 0. + Adjust counting of last_local. + (_bfd_elf_link_renumber_dynsyms): Don't assign dynindx to sections + other than SHT_PROGBITS/SHT_NOBITS and neither for .got/.got.plt/.plt + created by the linker nor !SHF_ALLOC. + + * elf32-i386.c (elf_i386_finish_dynamic_sections): Point + DT_PLTGOT to the start of the .got.plt section instead of the + .got output section. Set sh_entsize for .got section in addition + to .got.plt. + (elf_i386_relocate_section): Don't assume _GLOBAL_OFFSET_TABLE_ + is at sgot->output_section->vma. + * elf64-x86-64.c (elf64_x86_64_finish_dynamic_sections): Point + DT_PLTGOT to the start of the .got.plt section instead of the + .got output section. + (elf64_x86_64_relocate_section): Don't assume _GLOBAL_OFFSET_TABLE_ + is at sgot->output_section->vma. Set sh_entsize for .got section + in addition to .got.plt. + * elf.c (_bfd_elf_print_private_bfd_data): Handle PT_GNU_RELRO. + (bfd_section_from_phdr): Likewise. + (map_sections_to_segments): Likewise. + (assign_file_positions_for_segments): Likewise. + (get_program_header_size): Likewise. + * elflink.c (bfd_elf_size_dynamic_sections): Set + elf_tdata (output_bfd)->relro from info->relro. + * elf-bfd.h (struct elf_obj_tdata): Add relro field. + +2004-05-08 Alexandre Oliva <aoliva@redhat.com> + + * elf32-frv.c (_frvfdpic_add_dyn_reloc): Don't warn when we get + a zero symndx for which we hadn't accounted a dynamic relocation. + (_frvfdpic_add_rofixup): Likewise. + +2004-05-07 Brian Ford <ford@vss.fsi.com> + DJ Delorie <dj@redhat.com> + + * coffcode.h (coff_write_object_contents) [COFF_IMAGE_WITH_PE]: + Propagate IMAGE_FILE_LARGE_ADDRESS_AWARE. + * peXXigen.c (_bfd_XX_print_private_bfd_data_common): Recognize + IMAGE_FILE_LARGE_ADDRESS_AWARE. Use PE defines. + +2004-05-07 Alexandre Oliva <aoliva@redhat.com> + + * elf32-frv.c (elf32_frvfdpic_modify_segment_map): Return + immediately if there's no link info. + (elf32_frvfdpic_copy_private_bfd_data): New. + (bfd_elf32_bfd_copy_private_bfd_data): Use it for frvfdpic. + +2004-05-06 Zack Weinberg <zack@codesourcery.com> + + * dwarf2.c (add_line_info): Also set info->filename to NULL if + filename argument is null; do not call strlen on a null pointer. + +2004-05-06 Daniel Jacobowitz <drow@mvista.com> + + * elf32-arm.h (elf32_arm_relocate_section): Remove R_ARM_PLT32 + special case. + +2004-05-05 Alexandre Oliva <aoliva@redhat.com> + + * configure.in (bfd_elf32_frvfdpic_vec): New. + * configure: Rebuilt. + * targets.c (bfd_elf32_frvfdpic_vec): New. + * config.bfd: Enable it on frv-*-elf and frv-*-*linux*, as default + on the latter. + * elf32-frv.c: Prefix all identifiers added for FDPIC support with + frvfdpic instead of frv. Rearrange elf-target macros such that + the FDPIC-specific ones are only defined for this new target + vector. + (bfd_elf32_frvfdpic_vec): Declare. + (IS_FDPIC): New. + (elf32_frv_relocate_section): Use it to enable segment checking + and to control rofixup emission. Add output section vma to + applied relocation in non-LOAD non-ALLOC sections. Use + _bfd_error_handler for errors. + (_frv_create_got_section): Create .rel.got and .rofixup only in + FDPIC. Create non-dynamic _gp at .got+2048 in non-FDPIC, like the + linker script. + (elf32_frvfdpic_size_dynamic_sections): Assume FDPIC. + (elf32_frvfdpic_modify_segment_map): Likewise. + (elf32_frv_finish_dynamic_sections): New, do-nothing. + (elf32_frvfdpic_finish_dynamic_sections): Assume FDPIC. Improve + error message if we miscompute the rofixup size. + (frvfdpic_elf_use_relative_eh_frame): Assume FDPIC. + (frvfdpic_elf_encode_eh_address): Likewise. + (elf32_frv_check_relocs): Reject FDPIC-only relocs in non-FDPIC. + Record relocs only in FDPIC. Make sure _gp is defined for GPREL + relocs. Reject unknown relocation types. + (elf32_frv_object_p): Make sure target vector matches FDPIC bits. + (frv_elf_merge_private_bfd_data): Likewise. + (ELF_MAXPAGESIZE): Revert to 0x1000 for elf32-frv; keep it as + 0x4000 for newly-added elf32-frvfdpic. + +2004-05-05 Nick Clifton <nickc@redhat.com> + + PR/136 + * cache.c (bfd_cache_lookup_worker): Call abort() rather than + returning NULL as most users of this function do not check its + return value. + * hppabsd-core.c (hppabsd_core_core_file_p): Do not check result + of bfd_cache_lookup(). + * sco5-core.c (sco5_core_file_p): Likewise. + * trad-core.c (trad_unix_core_file_p): Likewise. + +2004-05-05 Nick Clifton <nickc@redhat.com> + + * cache.c (bfd_cache_lookup): Improve formatting. + * archive.c: Fix formatting. + +2004-05-05 Peter Barada <peter@the-baradas.com> + + * bfd_archures.c(bfd_architecture): Add 521x,5249,547x,548x. + * cpu-m68k.c(bfd_m68k_arch): Likewise. + * bfd-in2.h(bfd_architecture): Regenerate. + +2004-05-03 Alan Modra <amodra@bigpond.net.au> + + * elf.c (_bfd_elf_rela_local_sym): Set kept_section for excluded + SEC_MERGE sections. + * elflink.c (elf_link_input_bfd): Adjust output reloc index for + those against discarded link-once and SEC_MERGE section symbols. + +2004-05-02 H.J. Lu <hongjiu.lu@intel.com> + + * section.c (bfd_get_section_by_name_if): New. + * bfd-in2.h: Regenerated. + +2004-05-02 Alan Modra <amodra@bigpond.net.au> + + * som.c (som_bfd_is_group_section): Define. + +2004-05-01 Alan Modra <amodra@bigpond.net.au> + + * section.c (bfd_make_section_anyway): Copy the whole + bfd_hash_entry, not just "next" from existing entry. + +2004-04-30 H.J. Lu <hongjiu.lu@intel.com> + + * elf.c (bfd_section_from_shdr): Maintain the section order in + a section group. + (special_sections): Add ".note.GNU-stack". + (elf_fake_sections): Handle section group for relocatable + link.. + +2004-04-30 H.J. Lu <hongjiu.lu@intel.com> + + * section.c (bfd_sections_find_if): New. + * bfd-in2.h: Regenerated. + +2004-04-30 Alan Modra <amodra@bigpond.net.au> + + * section.c (bfd_make_section_anyway): Add all sections to hash tab. + + * elf-bfd.h (bfd_elf_is_group_section): Declare. + * elf.c (bfd_elf_is_group_section): New function. + * elfxx-target.h (bfd_elfNN_bfd_is_group_section + * section.c (bfd_generic_is_group_section): New function. + * targets.c (struct bfd_target): Add _bfd_is_group_section field. + (BFD_JUMP_TABLE_LINK): Adjust. + * aout-adobe.c (aout_32_bfd_is_group_section): Define. + * aout-target.h (MY_bfd_is_group_section): Define. + * aout-tic30.c (MY_bfd_is_group_section): Define. + * bfd.c (bfd_is_group_section): Define. + * binary.c (binary_bfd_is_group_section): Define. + * bout.c (b_out_bfd_is_group_section): Define. + * coff-alpha.c (_bfd_ecoff_bfd_is_group_section): Define. + * coff-mips.c (_bfd_ecoff_bfd_is_group_section): Define. + * coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Adjust. + * coff64-rs6000.c (rs6000coff64_vec, aix5coff64_vec): Adjust. + * coffcode.h (coff_bfd_is_group_section): Define. + * i386msdos.c (msdos_bfd_is_group_section): Define. + * i386os9k.c (os9k_bfd_is_group_section): Define. + * ieee.c (ieee_bfd_is_group_section): Define. + * ihex.c (ihex_bfd_is_group_section): Define. + * libbfd-in.h (_bfd_nolink_bfd_is_group_section): Define. + * mach-o.c (bfd_mach_o_bfd_is_group_section): Define. + * mmo.c (mmo_bfd_is_group_section): Define. + * nlm-target.h (nlm_bfd_is_group_section): Define. + * oasys.c (oasys_bfd_is_group_section): Define. + * pef.c (bfd_pef_bfd_is_group_section): Define. + * ppcboot.c (ppcboot_bfd_is_group_section): Define. + * srec.c (srec_bfd_is_group_section): Define. + * tekhex.c (tekhex_bfd_is_group_section): Define. + * versados.c (versados_bfd_is_group_section): Define. + * vms.c (vms_bfd_is_group_section): Define. + * xsym.c (bfd_sym_bfd_is_group_section): Define. + * bfd-in2.h: Regenerate. + * libbfd.h: Regenerate. + +2004-04-30 Alan Modra <amodra@bigpond.net.au> + + * elflink.c (elf_gc_mark): Follow indirect and warning syms. + +2004-04-30 Hans-Peter Nilsson <hp@axis.com> + + * configure.in: Update version to 2.15.91. + * configure: Regenerate. + +2004-04-29 Brian Ford <ford@vss.fsi.com> + + * bfd.c (bfd_get_sign_extend_vma): Add pe[i]-i386 case to DJGPP hack. + * coffcode.h (DOT_DEBUG, GNU_LINKONCE_WI): Define. + [!COFF_WITH_PE] (sec_to_styp_flags, styp_to_sec_flags): Use them. + (coff_compute_section_file_positions) [RS6000COFF_C]: Likewise. + [COFF_WITH_PE] (sec_to_styp_flags): Handle DWARF 2/3 .debug* and + .gnu.linkonce.wi. sections. + * pe-i386.c (COFF_SUPPORT_GNU_LINKONCE): Define. + (COFF_SECTION_ALIGNMENT_ENTRIES): Add entries for .debug and + .gnu.linkonce.wi.. + * pei-i386.c (COFF_SUPPORT_GNU_LINKONCE): Likewise. + (COFF_SECTION_ALIGNMENT_ENTRIES): Likewise. + +2004-04-28 Chris Demetriou <cgd@broadcom.com> + + * reloc.c: Remove BFD_RELOC_PCREL_HI16_S and BFD_RELOC_PCREL_LO16. + * bfd-in2.h: Regenerate. + * libbfd.h: Likewise. + +2004-04-28 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + * som.c (struct som_misc_symbol_info): Add is_comdat, is_common and + dup_common fields. + (setup_sections): Use som_subspace_dictionary_record struct instead + subspace_dictionary_record. Set SEC_LINK_ONCE if subspace is + is_comdat, is_common or dup_common. + (som_prep_headers): Use som_subspace_dictionary_record struct. Set + is_comdat, is_common and dup_common in section subspace_dict from + copy_data. + (som_begin_writing): Use som_subspace_dictionary_record struct. + (som_finish_writing): Likewise. + (som_bfd_derive_misc_symbol_info): Add support to set is_comdat, + is_common and dup_common flags in info for symbol. Add comment + regarding linker support for these fields. Slightly reorganize + function. + (som_build_and_write_symbol_table): Set is_comdat, is_common and + dup_common fields in symbol table from symbol info. + (bfd_som_set_subsection_attributes): Add comdat, common and dup_common + arguments. Set corresponding fields in copy_data. Change all callers. + (som_bfd_ar_write_symbol_stuff): Set dup_common flag in library + symbol table. + (som_vec): Add SEC_LINK_ONCE to applicable section flags. + * som.h (som_subspace_dictionary_record): Define. + (som_copyable_section_data_struct): Add is_comdat, is_common and + dup_common fields. + (som_section_data_struct): Use som_subspace_dictionary_record struct + instead of subspace_dictionary_record. + (bfd_boolean bfd_som_set_subsection_attributes): Adjust prototype. + +2004-04-27 Bob Wilson <bob.wilson@acm.org> + + * elf32-xtensa.c (xtensa_read_table_entries): Use section _cooked_size + if set. Check reloc_done flag before applying relocations. Use + output addresses, both when applying relocations and when comparing + against the specified section. + (elf_xtensa_relocate_section): Use output address to check if dynamic + reloc is in a literal pool. Set section's reloc_done flag. + +2004-04-27 H.J. Lu <hongjiu.lu@intel.com> + + * elf32-sh64.c (elf_backend_section_flags): New. Defined. + (sh64_elf_set_mach_from_flags): Remove the kludge for .cranges + section. + (sh64_elf_section_flags): New. Set SEC_DEBUGGING for .cranges + section. + +2004-04-27 Alan Modra <amodra@bigpond.net.au> + + * elf64-alpha.c (elf64_alpha_read_ecoff_info): Don't assign + structure field removed in 2004-04-24 patch. + * elf64-sparc.c (sparc64_elf_plt_sym_val): Warning fix. + + * elf-bfd.h (struct elf_backend_data <elf_backend_section_flags>): + Constify hdr arg. + * elf32-arm.h (elf32_arm_section_flags): Likewise. + * elf64-alpha.c (elf64_alpha_section_flags): Likewise. + * elfxx-ia64.c (elfNN_ia64_section_flags): Likewise. + * elf.c (_bfd_elf_make_section_from_shdr): Set the bfd_section + field before calling elf_backend_section_flags. + +2004-04-24 Chris Demetriou <cgd@broadcom.com> + + * elf32-mips.c (elf_mips_gnu_rel_hi16, elf_mips_gnu_rel_lo16) + (elf_mips_gnu_pcrel64, elf_mips_gnu_pcrel32): Remove. + (bfd_elf32_bfd_reloc_type_lookup): Remove cases for + BFD_RELOC_PCREL_HI16_S, BFD_RELOC_PCREL_LO16, BFD_RELOC_64_PCREL, + and BFD_RELOC_32_PCREL. + (mips_elf32_rtype_to_howto): Remove cases for R_MIPS_GNU_REL_HI16, + R_MIPS_GNU_REL_LO16, R_MIPS_PC64, R_MIPS_PC32. + * elfxx-mips.c (mips_elf_calculate_relocation): Likewise. + (_bfd_mips_elf_lo16_reloc): Remove handling for R_MIPS_GNU_REL_HI16. + (mips_elf_next_relocation): Move comment about matching HI/LO + relocations to... + (_bfd_mips_elf_relocate_section): Here. Remove handling for + R_MIPS_GNU_REL_HI16. + +2004-04-23 Chris Demetriou <cgd@broadcom.com> + + * coff-mips.c (mips_relhi_reloc, mips_rello_reloc) + (mips_switch_reloc, mips_read_relocs, mips_relax_section) + (mips_relax_pcrel16, PCREL16_EXPANSION_ADJUSTMENT): Remove. + (mips_relocate_hi): Remove now-unused 'adjust' and 'pcrel' arguments, + and update comments to reflect current usage. + (mips_howto_table): Remove entries for MIPS_R_RELHI, MIPS_R_RELLO, + and MIPS_R_SWITCH, as well as several empty entries. Update comment + for MIPS_R_PCREL16. + (mips_ecoff_swap_reloc_in, mips_ecoff_swap_reloc_out) + (mips_adjust_reloc_out, mips_bfd_reloc_type_lookup): Remove support + for MIPS_R_SWITCH, MIPS_R_RELLO, and MIPS_R_RELHI relocations. + (mips_adjust_reloc_in): Likewise, adjust maximum accepted relocation + type number to be MIPS_R_PCREL16. + (mips_relocate_section): Remove support for link-time relaxation + of branches used by embedded-PIC. Remove support for MIPS_R_SWITCH, + MIPS_R_RELLO, and MIPS_R_RELHI relocations. + (_bfd_ecoff_bfd_relax_section): Redefine to bfd_generic_relax_section. + * ecoff.c (ecoff_indirect_link_order): Remove support for link-time + relaxation of branches used by embedded-PIC. + * ecofflink.c (bfd_ecoff_debug_accumulate): Likewise. + * libecoff.h (struct ecoff_section_tdata): Remove embedded-PIC + related members, update comment. + * pe-mips.c: Remove disabled (commented-out and #if 0'd) + code related to embedded-PIC. + * elfxx-mips.c (_bfd_mips_elf_read_ecoff_info): Remove + initialization of now-removed 'adjust' member of + 'struct ecoff_debug_info'. + +2004-04-23 Chris Demetriou <cgd@broadcom.com> + + * elfxx-mips.c (mips_elf_get_global_gotsym_index): Remove. + +2004-04-21 Philip Blundell <pb@nexus.co.uk> + + * elf32-arm.h (elf32_arm_check_relocs): Don't output REL32 + relocs for locally defined symbols during -shared final link. + (elf32_arm_final_link_relocate): Likewise. + +2004-04-22 Jakub Jelinek <jakub@redhat.com> + + * elf64-x86-64.c (elf64_x86_64_copy_indirect_symbol): Copy also + ELF_LINK_POINTER_EQUALITY_NEEDED. + (elf64_x86_64_check_relocs): Set ELF_LINK_POINTER_EQUALITY_NEEDED + if r_type is not R_X86_64_PC32. + (elf64_x86_64_finish_dynamic_symbol): If + ELF_LINK_POINTER_EQUALITY_NEEDED is not set, clear st_value of + SHN_UNDEF symbols. + +2004-04-22 Kaz Kojima <kkojima@rr.iij4u.or.jp> + + * elf32-sh.c (sh_elf_plt_sym_val): New function. + (elf_backend_plt_sym_val): Define. + +2004-04-22 Andrew Cagney <cagney@redhat.com> + + * opncls.c (bfd_alloc): Fix type of "wanted" in doco. + +2004-04-22 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + * hpux-core.c (hpux_core_core_file_p): Add cast in call to + make_bfd_asection. + * som.c (som_set_section_contents): Constantify second argument. + (hppa_som_gen_reloc_type): Abort for unsupported selectors. + (som_object_setup): Rework to avoid warning. + (setup_sections, som_write_fixups, bfd_section_from_som_symbol): + Likewise. + +2004-04-22 Andrew Cagney <cagney@redhat.com> + + * cache.c (bfd_cache_close): Check for a previously closed file. + +2004-04-22 Jakub Jelinek <jakub@redhat.com> + + * bfd.c (bfd_get_synthetic_symtab): Define. + * targets.c (BFD_JUMP_TABLE_DYNAMIC): Add + NAME##_get_synthetic_symtab. + (struct bfd_target): Add _bfd_get_synthetic_symtab. + * libbfd-in.h (_bfd_nodynamic_get_synthetic_symtab): Define. + * elf-bfd.h (struct elf_backend_data): Add plt_sym_val and + relplt_name fields. + (_bfd_elf_get_synthetic_symtab): New prototype. + * elfcode.h (elf_get_synthetic_symtab): Define. + * elf.c (_bfd_elf_get_synthetic_symtab): New function. + * elfxx-target.h (bfd_elfNN_get_synthetic_symtab): Define. + (elf_backend_plt_sym_val, elf_backend_relplt_name): Define. + (elfNN_bed): Add elf_backend_plt_sym_val and elf_backend_relplt_name. + * bfd-in2.h: Rebuilt. + * libbfd.h: Rebuilt. + * elf32-i386.c (elf_i386_plt_sym_val): New function. + (elf_backend_plt_sym_val): Define. + * elf64-x86-64.c (elf64_x86_64_plt_sym_val): New function. + (elf_backend_plt_sym_val): Define. + * elf32-s390.c (elf_s390_plt_sym_val): New function. + (elf_backend_plt_sym_val): Define. + * elf64-s390.c (elf_s390_plt_sym_val): New function. + (elf_backend_plt_sym_val): Define. + * elf32-sparc (elf32_sparc_plt_sym_val): New function. + (elf_backend_plt_sym_val): Define. + * elf64-sparc.c (sparc64_elf_plt_sym_val): New function. + (elf_backend_plt_sym_val): Define. + * elf32-ppc.c (ppc_elf_plt_sym_val): New function. + (elf_backend_plt_sym_val): Define. + * aout-target.h (MY_get_synthetic_symtab): Define. + * aout-tic30.c (MY_get_synthetic_symtab): Define. + * coff-rs6000.c (rs6000coff_vec): Add + _bfd_nodynamic_get_synthetic_symtab. + (pmac_xcoff_vec): Likewise. + * coff64-rs6000.c (rs6000coff64_vec): Add + _bfd_nodynamic_get_synthetic_symtab. + (aix5coff64_vec): Likewise. + * sunos.c (MY_get_synthetic_symtab): Define. + * vms.c (vms_get_synthetic_symtab): Define. + +2004-04-22 Nick Clifton <nickc@redhat.com> + + * bfd.c (bfd_archive_filename): Return NULL on NULL input. + +2004-04-22 Peter Barada <peter@the-baradas.com> + + * archures.c: Add bfd_mach_mcfv4e to bfd_architecture. + * bfd2-in.h: Regenerate. + * cpu-m68k.c: Add 'm68k:mcfv4e' to arch_info_struct[]. + +2004-04-21 Chris Demetriou <cgd@broadcom.com> + + * coff-mips.c (bfd_mips_ecoff_create_embedded_relocs): Remove. + * elf32-mips.c (bfd_mips_elf32_create_embedded_relocs): Remove. + * bfd-in.h (bfd_mips_ecoff_create_embedded_relocs) + (bfd_mips_elf32_create_embedded_relocs): Remove prototypes + * bfd-in2.h: Regenerate. + +2004-04-21 Bob Wilson <bob.wilson@acm.org> + + * elf32-xtensa.c (is_same_value): Add final_static_link argument and + require relocations against a weak symbol to reference the same + symbol hash entry if not a final, static link. + (get_cached_value, add_value_map): Add final_static_link argument. + (remove_literals): Pass final_static_link argument as needed. + +2004-04-21 Andrew Cagney <cagney@redhat.com> + + * opncls.c (_bfd_new_bfd_contained_in): Copy "iovec". + (struct opncls, opncls_btell, opncls_bseek, opncls_bread) + (opncls_bwrite, opncls_bclose, opncls_bflush) + (opncls_bstat, opncls_iovec, bfd_openr_iovec): Implement a + bfd iovec that uses function callbacks. + (bfd_close): Use the iovec's bclose. + * cache.c (cache_btell, cache_bseek, cache_bread, cache_bwrite) + (cache_bclose, cache_bflush, cache_bstat) + (cache_iovec): New functions and global variable, implement a + cache "iovec", where applicable set bfd_error. + (bfd_cache_init, bfd_cache_close): Set/test the bfd's iovec. + * bfdio.c (struct bfd_iovec): Define. + (real_read): Delete function. + (bfd_bread, bfd_bread, bfd_bwrite, bfd_tell, bfd_flush, bfd_stat) + (bfd_seek, bfd_get_mtime, bfd_get_size): Use the bfd's "iovec", + assume that bread and bwrite set bfd_error. + * bfd.c (struct bfd): Add "iovec", update comments. + * bfd-in2.h, libbfd.h: Re-generate. + +2004-04-21 Andrew Cagney <cagney@redhat.com> + + * libaout.h (enum machine_type): Add M_POWERPC_NETBSD. + +2004-04-21 Eric Botcazou <ebotcazou@act-europe.fr> + + * elflink.c (elf_gc_mark_dynamic_ref_symbol): New function. + (bfd_elf_gc_sections): Fail if a shared object is being created. + Do not fail if dynamic sections have been created. Instead call + elf_gc_mark_dynamic_ref_symbol to mark sections that contain + dynamically referenced symbols. Do not mark the whole graph + rooted at .eh_frame, only the section proper. + +2004-04-20 DJ Delorie <dj@redhat.com> + + * reloc.c: Add BFD_RELOC_32_SECREL. + * bfd-in2.h: Regenerate. + * libbfd.h: Likewise. + * coff-i386.c (howto_table) [COFF_WITH_PE]: Add R_SECREL32. + (coff_i386_rtype_to_howto) [COFF_WITH_PE]: Handle it. + (coff_i386_reloc_type_lookup) [COFF_WITH_PE]: Likewise. + +2004-04-19 Jakub Jelinek <jakub@redhat.com> + + * elf32-sparc.c (elf32_sparc_relocate_section): Handle + relocs against hidden/protected undefweak symbols properly. + * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. + +2004-04-18 Mark Kettenis <kettenis@gnu.org> + + * libaout.h (enum machine_type): Add M_POWERPC_NETBSD. + * netbsd-core.c (netbsd_core_file_p): Set architecture for PowerPC + core files. + +2004-04-17 Brian Ford <ford@vss.fsi.com> + + * peXXigen.c (_bfd_XXi_swap_aouthdr_out): Use the first non-zero + filepos for the SizeOfHeaders field. + (_bfd_XXi_swap_scnhdr_out): Correct section flags lossage on reloc + overflow. + (_bfd_XXi_swap_sym_in): Remove redundant section flags assignment. + +2004-04-16 Alan Modra <amodra@bigpond.net.au> + + * simple.c (bfd_simple_get_relocated_section_contents): Don't + change reloc_done. Set and restore _cooked_size. + (RETURN): Delete. + +2004-04-15 Mark Kettenis <kettenis@gnu.org> + + * netbsd-core.c (netbsd_core_file_p): Set architecture for VAX + core files. + +2004-04-15 Nick Clifton <nickc@redhat.com> + + * bfd.c (bfd_archive_filename): Catch NULL bfd pointers. + +2004-04-15 Alan Modra <amodra@bigpond.net.au> + + * elf64-sparc.c (sparc64_elf_check_relocs): Fix thinko last change. + +2004-04-15 H.J. Lu <hongjiu.lu@intel.com> + + * elflink.c (_bfd_elf_merge_symbol): Treat weak as strong only + when it is a definition. + +2004-04-14 Alan Modra <amodra@bigpond.net.au> + + * elf32-sparc.c (elf32_sparc_relocate_section): Don't abort + when statically linking PIC code. + * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. + +2004-04-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> + + * config.bfd: Remove mips*-*-mach3* and mips*-dec-mach3* targets. + * configure.in: Remove mips-dec-bsd*, mips-dec-mach3*, mips-*-mach3* + targets amd aout_mips_big_vec, aout_mips_little_vec target vectors. + * configure: Regenerate. + +2004-04-08 Richard Sandiford <rsandifo@redhat.com> + + * elflink.c: Include libiberty.h. + * Makefile.am (elflink.lo): Depend on libiberty.h. + * Makefile.in: Regenerate. + +2004-04-06 Daniel Jacobowitz <drow@mvista.com> + + * elfxx-mips.c (MIPS_ELF_STUB_SECTION_NAME): Always use + ".MIPS.stubs". + +2004-04-05 H.J. Lu <hongjiu.lu@intel.com> + + * elfxx-ia64.c (elfNN_ia64_size_dynamic_sections): Always + reserve the memory for dynamic linker + +2004-04-05 Mark Kettenis <kettenis@gnu.org> + + * netbsd-core.c (CORE_WCOOKIE_OFFSET): New define. + (netbsd_core_file_p): Create a .wcookie section for OpenBSD/sparc. + +2004-04-02 H.J. Lu <hongjiu.lu@intel.com> + + * elf32-cr16c.c (elf32_cr16c_relocate_section): Use + RELOC_FOR_GLOBAL_SYMBOL. + (elf32_cr16c_add_symbol_hook): Remove const from Elf_Internal_Sym. + +2004-04-02 H.J. Lu <hongjiu.lu@intel.com> + + * elf32-arm.h (elf32_arm_final_link_relocate): Handle + R_ARM_ALU* only if OLD_ARM_ABI is not defined. + +2004-04-01 Paul Brook <paul@codesourcery.com> + + * bfd-in.h (bfd_elf32_arm_process_before_allocation): Update. + * elf32-arm.h (struct elf32_elf_section_map): New. + (struct _arm_elf_section_data): New. + (elf32_arm_section_data): Define. + (struct elf32_arm_link_hash_table): Add byteswap_code. + (elf32_arm_link_hash_table_create): Initialize byteswap_code. + (bfd_elf32_arm_process_before_allocation): Add byteswap_code. + (elf32_arm_post_process_headers): Set EF_ARM_BE8. + (elf32_arm_output_symbol_hook, elf32_arm_new_section_hook, + elf32_arm_compare_mapping, elf32_arm_write_section): New functions. + (bfd_elf32_new_section_hook, elf_backend_write_section, + elf_backend_link_output_symbol_hook): Define. + +2004-04-01 Andy Chittenden <achittenden@bluearc.com> + + * stabs.c (struct stab_link_includes_totals): Add field 'symb' + that keeps the characters in a B_INCL..B_EINCL range. + (_bfd_link_section_stabs): When computing the sum of the + characters in a B_INCL..B_EINCL range also keep a copy of those + characters. Use this information to distinguish between + include sections that have the same sum and the same length + but which are nevertheless unique. + +2004-03-31 Paul Brook <paul@codesourcery.com> + + * elf32-arm.h (elf32_arm_final_link_relocate): Add R_ARM_ALU*. + * elfarm-nabi.c (elf32_arm_howto_table): Ditto. + +2004-03-31 Andy Chittenden <achittenden@bluearc.com> + + * stabs.c (struct stab_link_includes_totals): Rename field 'total' + to 'sum_chars' and add field 'num_chars'. + (_bfd_link_section_stabs): When computing the sum of the + characters in a B_INCL..B_EINCL range also keep a count of the + number of characters. Use this information to help distinguish + between include sections when have the same sum but which + nevertheless are still unique. + +2004-03-31 Mattias Engdegård <mattias@virtutech.se> + + * stabs.c (_bfd_link_section_stabs): Do not skip N_EXCL stabs. + +2004-03-30 Galit Heller <Galit.Heller@nsc.com> + Tomer Levi <Tomer.Levi@nsc.com> + + * Makefile.am (ALL_MACHINES): Add cpu-cr16c.lo. + (ALL_MACHINES_CFILES): Add cpu-cr16c.c. + (BFD32_BACKENDS): Add elf32-cr16c.lo. + (BFD32_BACKENDS_CFILES): Add elf32-cr16c.c. + (cpu-cr16c.lo): New target. + (elf32-cr16c.lo): Likewise. + * Makefile.in: Regenerate. + * archures.c (bfd_architecture): Add bfd_{arch,mach}_cr16c. + (bfd_archures_list): Add bfd_cr16c_arch. + * config.bfd: Handle cr16c-*-elf*. + * configure.in: Handle bfd_elf32_cr16c_vec. + * configure: Regenerate. + * reloc.c: Add BFD_RELOC_16C_NUM08, BFD_RELOC_16C_NUM08_C, + BFD_RELOC_16C_NUM16, BFD_RELOC_16C_NUM16_C, + BFD_RELOC_16C_NUM32, BFD_RELOC_16C_NUM32_C, + BFD_RELOC_16C_DISP04, BFD_RELOC_16C_DISP04_C, + BFD_RELOC_16C_DISP08, BFD_RELOC_16C_DISP08_C, + BFD_RELOC_16C_DISP16, BFD_RELOC_16C_DISP16_C, + BFD_RELOC_16C_DISP24, BFD_RELOC_16C_DISP24_C, + BFD_RELOC_16C_DISP24a, BFD_RELOC_16C_DISP24a_C, + BFD_RELOC_16C_REG04, BFD_RELOC_16C_REG04_C, + BFD_RELOC_16C_REG04a, BFD_RELOC_16C_REG04a_C, + BFD_RELOC_16C_REG14, BFD_RELOC_16C_REG14_C, + BFD_RELOC_16C_REG16, BFD_RELOC_16C_REG16_C, + BFD_RELOC_16C_REG20, BFD_RELOC_16C_REG20_C, + BFD_RELOC_16C_ABS20, BFD_RELOC_16C_ABS20_C, + BFD_RELOC_16C_ABS24, BFD_RELOC_16C_ABS24_C, + BFD_RELOC_16C_IMM04, BFD_RELOC_16C_IMM04_C, + BFD_RELOC_16C_IMM16, BFD_RELOC_16C_IMM16_C, + BFD_RELOC_16C_IMM20, BFD_RELOC_16C_IMM20_C, + BFD_RELOC_16C_IMM24, BFD_RELOC_16C_IMM24_C, + BFD_RELOC_16C_IMM32, BFD_RELOC_16C_IMM32_C. + * targets.c (bfd_elf32_cr16c_vec): Declare. + (bfd_target_vector): Add bfd_elf32_cr16c_vec. + * cpu-cr16c.c: New file. + * elf32-cr16c.c: Likewise. + * libbfd.h: Regenerate. + * bfd-in2.h: Likewise. + +2004-03-30 Jakub Jelinek <jakub@redhat.com> + + * elf.c (map_sections_to_segments): Fix handling of .tbss. + +2004-03-27 Alan Modra <amodra@bigpond.net.au> + + * Makefile.am: Remove all mention of elflink.h. + * Makefile.in: Regenerate. + * bfd-in.h (bfd_elf_discard_info): Declare. + (bfd_elf32_discard_info, bfd_elf64_discard_info): Delete. + * bfd-in2.h: Regenerate. + * elf-bfd.h (bfd_elf32_print_symbol, bfd_elf64_print_symbol, + bfd_elf32_link_record_dynamic_symbol, + bfd_elf64_link_record_dynamic_symbol, + _bfd_elf_link_record_dynamic_symbol, bfd_elf32_bfd_final_link, + bfd_elf64_bfd_final_link, elf_link_record_local_dynamic_symbol, + _bfd_elf32_link_record_local_dynamic_symbol, + _bfd_elf64_link_record_local_dynamic_symbol, + _bfd_elf32_gc_sections, _bfd_elf32_gc_common_finalize_got_offsets, + _bfd_elf32_gc_common_final_link, _bfd_elf64_gc_common_final_link, + _bfd_elf32_gc_record_vtinherit, _bfd_elf32_gc_record_vtentry, + _bfd_elf64_gc_sections, _bfd_elf64_gc_common_finalize_got_offsets, + _bfd_elf64_gc_record_vtinherit, _bfd_elf64_gc_record_vtentry, + _bfd_elf32_reloc_symbol_deleted_p, + _bfd_elf64_reloc_symbol_deleted_p): Delete. + (bfd_elf_link_record_dynamic_symbol, + bfd_elf_link_record_local_dynamic_symbol, + bfd_elf_final_link, bfd_elf_gc_sections, + bfd_elf_gc_record_vtinherit, bfd_elf_gc_record_vtentry, + bfd_elf_gc_common_finalize_got_offsets, bfd_elf_gc_common_final_link, + bfd_elf_reloc_symbol_deleted_p): Declare. + (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Define. + * elf32-arm.h: Update for changed function names. Remove local + WILL_CALL_FINISH_DYNAMIC_SECTION define. + * elf-hppa.h, elf-m10300.c, elf32-cris.c, elf32-d10v.c, elf32-dlx.c, + * elf32-fr30.c, elf32-frv.c, elf32-h8300.c, elf32-hppa.c, elf32-i386.c, + * elf32-iq2000.c, elf32-m32r.c, elf32-m68hc1x.c, elf32-m68k.c, + * elf32-mcore.c, elf32-openrisc.c, elf32-ppc.c, elf32-s390.c, + * elf32-sh.c, elf32-sparc.c, elf32-v850.c, elf32-vax.c, + * elf32-xstormy16.c, elf32-xtensa.c, elf64-alpha.c, elf64-hppa.c, + * elf64-mmix.c, elf64-ppc.c, elf64-s390.c, elf64-sh64.c, elf64-sparc.c, + * elf64-x86-64.c, elfxx-ia64.c, elfxx-mips.c, elfxx-target.h: Likewise. + * elfxx-target.h (bfd_elfNN_bfd_final_link): Define. + (bfd_elfNN_print_symbol): Define. + * elfcode.h: Don't include elflink.h. + (elf_bfd_discard_info, elf_reloc_symbol_deleted_p, + elf_link_record_dynamic_symbol, elf_bfd_final_link, elf_gc_sections, + elf_gc_common_finalize_got_offsets, elf_gc_common_final_link, + elf_gc_record_vtinherit, elf_gc_record_vtentry, + elf_link_record_local_dynamic_symbol): Don't define. + * elflink.c: Update for changed function names. Move elflink.h + code here. + * elflink.h: Delete file. + * po/SRC-POTFILES.in: Regenerate. + * po/bfd.pot: Regenerate. + +2004-03-27 Alan Modra <amodra@bigpond.net.au> + + * elf64-mmix.c (mmix_elf_relocate_section): Restore code setting + "name" for global syms accidentally removed in 2004-03-20 change. + +2004-03-27 Alan Modra <amodra@bigpond.net.au> + + * elf-bfd.h (struct elf_reloc_cookie): Add r_sym_shift field. + * elflink.h: Replace all occurrences of sizeof (Elf_External_*) + where Elf_External_* is different for 64 and 32 bit, with + corresponding elf_size_info field. + (struct elf_final_link_info): Use "bfd_byte *" instead + of "Elf_External_Sym *" for external_syms and symbuf. + (elf_link_adjust_relocs): Set up r_type_mask and r_sym_shift local + vars and use instead of ELF_R_INFO and ELF_R_TYPE macros. + (struct elf_link_sort_rela): Add "sym_mask" alias for "offset". + (elf_link_sort_cmp1): Use sym_mask field instead of ELF_R_SYM. + (elf_link_sort_cmp2): Adjust. + (elf_link_sort_relocs): Set up r_sym_mask local var instead of + using ELF_R_SYM macro. Set u.sym_mask. + (elf_bfd_final_link): Call _bfd_elf_stringtab_init instead of macro + version, elf_stringtab_init. Ditto for bfd_section_from_elf_index + vs. section_from_elf_index. Adjust Elf_External_Sym pointer + arithmetic. Pass bed to elf_link_flush_output_syms. Adjust + Elf_External_Dyn pointer arithmentic. Use bed swap_dyn_in and + swap_syn_out functions. Rearrange dyn swap in/out switch. + (elf_link_output_sym): Adjust Elf_External_Sym pointer arithmentic. + Pass bed to elf_link_flush_output_syms. Use bed swap_symbol_out. + (elf_link_flush_output_syms): Add elf_backend_data arg. + (elf_link_check_versioned_symbol): Likewise. + (elf_link_output_extsym): Pass bed to elf_link_check_versioned_symbol. + Adjust Elf_External_Sym pointer arithmetic. Use bed swap_symbol_out. + (elf_link_input_bfd): Use bfd_section_from_elf_index. Set up + r_type_mask and r_sym_shift local vars and use instead of ELF_R_SYM, + ELF_R_TYPE and ELF_R_INFO macros. + (elf_reloc_link_order): Select ELF32_R_INFO or ELF64_R_INFO invocation + based on size rather than using ELF_R_INFO. + (elf_gc_mark): Set up r_sym_shift local var and use instead of + ELF_R_SYM macro. + (struct alloc_got_off_arg): New. + (elf_gc_common_finalize_got_offsets): Use elf_size_info instead of + ARCH_SIZE. Pass get entry size down to elf_gc_allocate_got_offsets. + (elf_gc_allocate_got_offsets): Adjust. + (elf_reloc_symbol_deleted_p): Usee cookie.r_sym_shift instead of + ELF_R_SYM. Use bfd_section_from_elf_index. + (elf_bfd_discard_info): Set cookie.r_sym_shift. + * elfcode.h (elf_stringtab_init, section_from_elf_index): Delete. + (elf_slurp_symbol_table): Use bfd_section_from_elf_index. + +2004-03-26 Stan Shebs <shebs@apple.com> + + Remove MPW support, no longer used. + * config.bfd (powerpc-*-mpw*): Remove configuration. + * mpw-config.in, mpw-make.sed: Remove files. + * ecoffswap.h [MPW_C]: Remove MPW-C-friendly version of code. + +2004-03-26 Alan Modra <amodra@bigpond.net.au> + + * elf64-ppc.c (elf_backend_add_symbol_hook): Define. + (ppc64_elf_add_symbol_hook): New function. + * elf-bfd.h (struct elf_backend_data <elf_add_symbol_hook>): Remove + const from Elf_Internal_Sym param. + * elflink.c (elf_link_add_object_symbols): Adjust. + * elf-hppa.h (elf_hppa_add_symbol_hook): Adjust. + * elf32-frv.c (elf32_frv_add_symbol_hook): Adjust. + * elf32-i370.c (elf_backend_add_symbol_hook): Adjust. + * elf32-m32r.c (m32r_elf_add_symbol_hook): Adjust. + * elf32-m68hc1x.c (elf32_m68hc11_add_symbol_hook): Adjust. + * elf32-m68hc1x.h (elf32_m68hc11_add_symbol_hook): Adjust. + * elf32-ppc.c (ppc_elf_add_symbol_hook): Adjust. + * elf32-sh64.c (sh64_elf_add_symbol_hook): Adjust. + * elf32-v850.c (v850_elf_add_symbol_hook): Adjust. + * elf64-alpha.c (elf64_alpha_add_symbol_hook): Adjust. + * elf64-mmix.c (mmix_elf_add_symbol_hook): Adjust. + * elf64-sh64.c (sh64_elf64_add_symbol_hook): Adjust. + * elf64-sparc.c (sparc64_elf_add_symbol_hook): Adjust. + * elfxx-ia64.c (elfNN_ia64_add_symbol_hook): Adjust. + * elfxx-mips.c (_bfd_mips_elf_add_symbol_hook): Adjust. + * elfxx-mips.h (_bfd_mips_elf_add_symbol_hook): Adjust. + +2004-03-26 Alan Modra <amodra@bigpond.net.au> + + * elfxx-target.h (bfd_elfNN_bfd_link_add_symbols): Define. + * elf-bfd.h (_bfd_elf_link_add_archive_symbols): Delete. + (_bfd_elf_sort_symbol, _bfd_elf_add_dt_needed_tag): Delete. + (_bfd_elf_finalize_dynstr, bfd_elf32_bfd_link_add_symbols): Delete. + (bfd_elf64_bfd_link_add_symbols): Delete. + (bfd_elf_link_add_symbols): Declare. + * elfcode.h (elf_bfd_link_add_symbols): Delete. + * elflink.c: Include safe-ctype.h. + (elf_add_dt_needed_tag): Rename from _bfd_elf_add_dt_needed_tag, + make static. + (elf_sort_symbol): Rename from _bfd_elf_sort_symbol, make static. + (elf_finalize_dynstr): Rename from _bfd_elf_finalize_dynstr, make + static. + (elf_link_add_archive_symbols): Rename from + _bfd_elf_link_add_archive_symbols, make static. + (elf_link_add_object_symbols): New function. Corresponding + elflink.h function converted to use elf_size_info. + (bfd_elf_link_add_symbols): Likewise. + (bfd_elf_size_dynamic_sections): Adjust. + * elflink.h (elf_bfd_link_add_symbols): Delete. + (elf_link_add_object_symbols): Delete. + * elf32-gen.c (elf32_generic_link_add_symbols): Call + bfd_elf_link_add_symbols. + * elf64-gen.c (elf64_generic_link_add_symbols): Likewise. + +2004-03-25 Alan Modra <amodra@bigpond.net.au> + + * elflink.h (elf_link_add_object_symbols): Add DT_NEEDED for as-needed + and chained shared libs only if dynsym. Clear dynsym on forced-local. + + * elf-bfd.h (_bfd_elf_add_dynamic_entry): Declare. + (bfd_elf32_add_dynamic_entry, bfd_elf64_add_dynamic_entry): Delete. + (_bfd_elf_add_dt_needed_tag): Declare. + (_bfd_elf_sort_symbol): Declare. + (_bfd_elf_finalize_dynstr): Declare. + (RELOC_FOR_GLOBAL_SYM): Formatting. + * elfcode.h (elf_add_dynamic_entry): Delete. + * elflink.c (_bfd_elf_add_dynamic_entry): New function. Corresponding + elflink.h function converted to use elf_size_info. + (_bfd_elf_add_dt_needed_tag): Likewise. + (_bfd_elf_sort_symbol): Likewise. + (_bfd_elf_finalize_dynstr): Likewise. + (compute_bucket_count): Likewise. + (bfd_elf_size_dynamic_sections): Likewise. Check result of + _bfd_elf_strtab_add before calling _bfd_elf_strtab_addref. + (elf_adjust_dynstr_offsets, elf_collect_hash_codes): Moved from.. + * elflink.h: ..here. + (sort_symbol, add_dt_needed_tag): Delete. + (elf_add_dynamic_entry, elf_finalize_dynstr): Delete. + (compute_bucket_count, NAME(bfd_elf,size_dynamic_sections)): Delete. + Update all users. + * elf32-arm.h (add_dynamic_entry): Update. Remove casts. + * elf32-cris.c (add_dynamic_entry): Likewise. + * elf32-hppa.c (add_dynamic_entry): Likewise. + * elf32-i370.c (add_dynamic_entry): Likewise. + * elf32-i386.c (add_dynamic_entry): Likewise. + * elf32-m32r.c (add_dynamic_entry): Likewise. + * elf32-m68k.c (add_dynamic_entry): Likewise. + * elf32-ppc.c (add_dynamic_entry): Likewise. + * elf32-s390.c (add_dynamic_entry): Likewise. + * elf32-sh.c (add_dynamic_entry): Likewise. + * elf32-sparc.c (add_dynamic_entry): Likewise. + * elf32-vax.c (add_dynamic_entry): Likewise. + * elf32-xtensa.c (add_dynamic_entry): Likewise. + * elf64-alpha.c (add_dynamic_entry): Likewise. + * elf64-hppa.c (add_dynamic_entry): Likewise. + * elf64-ppc.c (add_dynamic_entry): Likewise. + * elf64-s390.c (add_dynamic_entry): Likewise. + * elf64-sparc.c (add_dynamic_entry): Likewise. + * elf64-x86-64.c (add_dynamic_entry): Likewise. + * elfxx-ia64.c (add_dynamic_entry): Likewise. + * elfxx-mips.c (MIPS_ELF_ADD_DYNAMIC_ENTRY): Likewise. + * elf-m10300.c (_bfd_mn10300_elf_size_dynamic_sections): Likewise. + * elf32-frv.c (elf32_frv_size_dynamic_sections): Likewise. + * elf64-sh64.c (sh64_elf64_size_dynamic_sections): Likewise. + +2004-03-23 Paul Brook <paul@codesourcery.com> + + * elf32-arm.h (arm_print_private_bfd_data): Add EABI v3. + +2004-03-22 Bob Wilson <bob.wilson@acm.org> + + * elf32-xtensa.c (elf_xtensa_check_relocs): Remove code to read + literal tables and check for relocs outside of literal pools. + (elf_xtensa_make_sym_local): Don't clear ELF_LINK_NON_GOT_REF flag. + (elf_xtensa_fix_refcounts): Don't check ELF_LINK_NON_GOT_REF or + set DF_TEXTREL. + (elf_xtensa_size_dynamic_sections): Don't add DT_TEXTREL entry. + (elf_xtensa_relocate_section): Read literal tables and check for + dynamic relocations in read-only sections and not in literal pools. + +2004-03-23 Alan Modra <amodra@bigpond.net.au> + + PR 51. + * linker.c (bfd_wrapped_link_hash_lookup): Handle info->wrap_char. + +2004-03-22 Hans-Peter Nilsson <hp@axis.com> + + * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_16_GOTPLT, + R_CRIS_16_GOTPLT>: Also error if there's no PLT for a symbol + not defined by the executable, or defined in a DSO. + <eliding run-time relocation of .got>: Initialize GOT entry for a + function symbol or ELF_LINK_HASH_NEEDS_PLT statically in an + executable. + (cris_elf_gc_sweep_hook): Improve fallthrough marking. + (elf_cris_try_fold_plt_to_got): Improve head comment. Do not fold + a PLT reloc to GOT for an executable. + (elf_cris_adjust_dynamic_symbol): Only fold a .got.plt entry with + .got for a DSO and explain why. + (elf_cris_discard_excess_program_dynamics): Also lose GOT-relocs + and unreferenced symbols for which a PLT is defined. Adjust + dynamic-symbol pruning correspondingly, to make sure we don't lose + a dynamic symbol also defined by a DSO. + +2004-03-22 Alan Modra <amodra@bigpond.net.au> + + * elf-bfd.h (RELOC_FOR_GLOBAL_SYMBOL): Add input_bfd, input_section + and rel args. Group input and output args. Wrap to 80 columns. + * elf-m10200.c, elf-m10300.c, elf32-arm.h, elf32-avr.c, + elf32-cris.c, elf32-d10v.c, elf32-fr30.c, elf32-h8300.c, + elf32-hppa.c, elf32-i386.c, elf32-i860.c, elf32-ip2k.c, + elf32-iq2000.c, elf32-m68hc1x.c, elf32-m68k.c, elf32-mcore.c, + elf32-msp430.c, elf32-openrisc.c, elf32-ppc.c, elf32-s390.c, + elf32-sparc.c, elf32-v850.c, elf32-vax.c, elf32-xstormy16.c, + elf32-xtensa.c, elf64-alpha.c, elf64-mmix.c, elf64-ppc.c, + elf64-s390.c, elf64-sparc.c, elf64-x86-64.c, elfxx-ia64.c: Update + RELOC_FOR_GLOBAL_SYMBOL invocation. + +2004-03-20 H.J. Lu <hongjiu.lu@intel.com> + + * elf-bfd.h (RELOC_FOR_GLOBAL_SYMBOL): Report error if + unresolved symbols in objects aren't allowed. + + * elf-hppa.h (elf_hppa_relocate_section): Properly handle + unresolved symbols. + (elf_hppa_remark_useless_dynamic_symbols): Likewise. + (elf_hppa_unmark_useless_dynamic_symbols): + * elf32-frv.c (elf32_frv_relocate_section): Likewise. + * elf32-hppa.c (elf32_hppa_size_stubs): Likewise. + (elf32_hppa_relocate_section): Likewise. + * elf32-i370.c (i370_elf_relocate_section): Likewise. + * elf32-m32r.c (m32r_elf_relocate_section): Likewise. + * elf32-sh.c (sh_elf_relocate_section): Likewise. + * elf64-sh64.c (sh_elf64_relocate_section): Likewise. + * elfxx-mips.c (mips_elf_calculate_relocation): Likewise. + + * elf-m10200.c (mn10200_elf_relocate_section): Use + RELOC_FOR_GLOBAL_SYMBOL. + * elf32-avr.c (elf32_avr_relocate_section): Likewise. + * elf32-d10v.c (elf32_d10v_relocate_section): Likewise. + * elf32-fr30.c (fr30_elf_relocate_section): Likewise. + * elf32-h8300.c (elf32_h8_relocate_section): Likewise. + * elf32-i860.c (elf32_i860_relocate_section): Likewise. + * elf32-m68hc1x.c (m68hc11_get_relocation_value): Likewise. + * elf32-mcore.c (mcore_elf_relocate_section): Likewise. + * elf32-msp430.c (elf32_msp430_relocate_section): Likewise. + * elf32-openrisc.c (openrisc_elf_relocate_section): Likewise. + * elf32-v850.c (v850_elf_relocate_section): Likewise. + * elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise. + * elf64-mmix.c (mmix_elf_relocate_section): Likewise. + +2004-03-19 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + * elf32-hppa.c (elf32_hppa_check_relocs): Handle R_PARISC_PCREL32. + (final_link_relocate): Likewise. + * elf-hppa.h (elf_hppa_reloc_final_type): Handle selectors for + R_PARISC_PCREL32 and R_PARISC_PCREL64 relocations. + +2004-03-19 Alan Modra <amodra@bigpond.net.au> + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + * aclocal.m4: Regenerate. + * config.in: Regenerate. + * po/bfd.pot: Regenerate. + +2004-03-19 Alan Modra <amodra@bigpond.net.au> + H.J. Lu <hongjiu.lu@intel.com> + + * elflink.c (_bfd_elf_merge_symbol): Revert last change. Move + type and size change code to where it was previously. Remove + dt_needed param. Treat old weak syms as strong if new sym is + from a shared lib, even when old sym is from another shared + lib. Remove unnecessary tests of oldweak and newweak. Correct + comments. + (_bfd_elf_add_default_symbol): Remove dt_needed param. Update + _bfd_elf_merge_symbol calls. + * elflink.h (elf_link_add_object_symbols): Update calls. Remove + dt_needed local var. Update comments. + * elf-bfd.h (_bfd_elf_merge_symbol): Update prototype. + (_bfd_elf_add_default_symbol): Likewise. + + * elflink.c (_bfd_elf_merge_symbol): Reinstate code to handle + strong syms in one shared object overriding weak syms in another. + +2004-03-18 Alan Modra <amodra@bigpond.net.au> + + * elf-bfd.h (struct elf_obj_tdata): Delete dt_soname field. Add + dyn_lib_class field. Rearrange for better packing. + (elf_dt_soname): Delete. + (elf_dyn_lib_class): Define. + * elf.c (bfd_elf_set_dt_needed_name): Update comment. + (bfd_elf_set_dt_needed_soname): Delete. + (bfd_elf_set_dyn_lib_class): New function. + * elflink.h (add_dt_needed_tag): New function. Split out from.. + (elf_link_add_object_symbols): ..here. Rename "name" to "soname". + Use elf_dyn_lib_class to set dt_needed and add_needed. Move fallback + initialization of soname. + (elf_link_check_versioned_symbol): Test elf_dyn_lib_class instead of + elf_dt_soname. + * bfd-in.h (enum dynamic_lib_link_class): New. + (bfd_elf_set_dt_needed_soname): Delete. + (bfd_elf_set_dyn_lib_class): Declare. + * bfd-in2.h: Regenerate. + + * elflink.c (_bfd_elf_merge_symbol): Rewrite weak symbol handling. + (_bfd_elf_add_default_symbol): Remove indirect BFD_ASSERTs. + * elflink.h (elf_link_add_object_symbols): Don't clear dt_needed in + symbol loop. Instead use add_needed to flag tag as written. + +2004-03-17 Nathan Sidwell <nathan@codesourcery.com> + + * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Correct + logic for null_input_bfd detection. + +2004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de> + + * config.bfd: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*. + +2004-03-16 Mark Kettenis <kettenis@gnu.org> + + * netbsd-core.c (netbsd_core_file_p) [CORE_FPU_OFFSET]: Remove + code. + +2004-03-16 Alan Modra <amodra@bigpond.net.au> + + * elflink.c (elf_link_read_relocs_from_section): Don't use + NUM_SHDR_ENTRIES in end of reloc calc. Move NULL shdr check.. + (_bfd_elf_link_read_relocs): ..to here. + * elf32-ppc.c (ppc_elf_relax_section): Formatting. + +2004-03-16 Alan Modra <amodra@bigpond.net.au> + + * configure.in (HOST_64BIT_TYPE, HOST_U_64BIT_TYPE): Don't override + values selected in configure.host. Require both to be defined + before setting BFD_HOST_64_BIT_DEFINED. Protect assignment to + corresponding BFD_HOST vars with quotes. + <${host64}-${target64}-${want64} in *true*>: Don't exempt gcc; + Always require BFD_HOST_64_BIT_DEFINED. + <file_ptr type>: Find off_t size before emitting message. Combine + off_t and ftello64 conditional. + * configure: Regenerate. + +2004-03-16 Alan Modra <amodra@bigpond.net.au> + + * elf32-m32r.c (m32r_elf_create_dynamic_sections): Fix pointer + aliasing warning. Remove trailing whitespace throughout file. + +2004-03-15 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + * elf-hppa.h (elf_hppa_relocate_section): Pass input_bfd instead of + input_section in calls to get_dyn_name. + * elf64-hppa.c (get_dyn_name): Change type of first argument to "bfd *". Use section id of first section in input BFD to build dynamic name for + local symbols. + (elf64_hppa_check_relocs): Pass abfd in call to get_dyn_name. + +2004-03-15 Alan Modra <amodra@bigpond.net.au> + + * bfd-in.h (bfd_int64_t, bfd_uint64_t): New types. + (BFD_HOST_64_BIT, BFD_HOST_U_64_BIT): Don't define here. + (bfd_getb64, bfd_getl64, bfd_get_bits): Return bfd_uint64_t. + (bfd_getb_signed_64, bfd_getl_signed_64): Return bfd_int64_t. + (bfd_putb64, bfd_putl64, bfd_put_bits): Accept bfd_uint64_t. + * configure.in (HOST_U_64BIT_TYPE): Set when sizeof long is 8. + (BFD_HOST_64_BIT_DEFINED, BFD_HOST_64_BIT, BFD_HOST_U_64_BIT): Set + when using long. + * libbfd.c (EIGHT_GAZILLION, COERCE64): Use bfd_int64_t. + (bfd_getb64): Return bfd_uint64_t. Enable when BFD_HOST_64_BIT. + (bfd_getl64, bfd_getb_signed_64, bfd_getl_signed_64): Likewise. + (bfd_putb64): Accept bfd_uint64_t. Enable when BFD_HOST_64_BIT. + (bfd_putl64, bfd_put_bits, bfd_get_bits): Likewise. + * dwarf2.c (struct attribute): Use bfd_int64_t and bfd_uint64_t. + (read_8_bytes, read_indirect_string, read_address): Likewise. + (read_abbrevs, parse_comp_unit): Likewise. + * targets.c (struct bfd_target): Likewise. + * aix386-core.c (NO_GET64, NO_PUT64, NO_GETS64): Define and use. + * hppabsd-core.c: Likewise. Formatting. + * hpux-core.c: Likewise. + * irix-core.c: Likewise. + * netbsd-core.c: Likewise. + * osf-core.c: Likewise. + * ptrace-core.c: Likewise. + * sco5-core.c: Likewise. + * trad-core.c: Likewise. + * configure: Regenerate. + * bfd-in2.h: Regenerate. + +2004-03-15 Alan Modra <amodra@bigpond.net.au> + + * bfd-in.h (bfd_getb64, bfd_getl64): Replace bfd_byte* with void*. + (bfd_getb32, bfd_getl32, bfd_getb16, bfd_getl16): Likewise. + (bfd_getb_signed_64, bfd_getl_signed_64): Likewise. + (bfd_getb_signed_32, bfd_getl_signed_32): Likewise. + (bfd_getb_signed_16, bfd_getl_signed_16): Likewise. + (bfd_putb64, bfd_putl64, bfd_putb32, bfd_putl32): Likewise. + (bfd_putb16, bfd_putl16, bfd_get_bits, bfd_put_bits): Likewise. + * libbfd.c: Likewise in function definitions. + (bfd_put_8): Mask with 0xff rather than casting to char. + (bfd_putb16, bfd_putl16, bfd_putb32, bfd_putl32): Likewise. + (bfd_putb64, bfd_putl64, bfd_put_bits): Likewise. + (H_PUT_64, H_PUT_32, H_PUT_16, H_PUT_8): Remove casts, simplify. + (H_PUT_S64, H_PUT_S32, H_PUT_S16, H_PUT_S8): Likewise. + (H_GET_64, H_GET_32, H_GET_16, H_GET_8): Likewise. + (H_GET_S64, H_GET_S32, H_GET_S16, H_GET_S8): Likewise. + * libaout.h (H_PUT_64 H_PUT_32, H_PUT_16): Remove casts, simplify. + (H_PUT_S64, H_PUT_S32, H_PUT_S16): Likewise. + (H_GET_64, H_GET_32, H_GET_16): Likewise. + (H_GET_S64, H_GET_S32, H_GET_S16): Likewise. + * archive.c (do_slurp_coff_armap): Update swap prototype. + * coff-tic54x.c (tic54x_getl32): Replace bfd_byte* with void*. + (tic54x_getl_signed_32): Likewise. + (tic54x_putl32): Likewise. Mask with 0xff rather than casting to char. + * mach-o.c (bfd_mach_o_read_header): Update get32 prototype. + * pdp11.c (bfd_getp32): Make static, replace bfd_byte* with void*. + (bfd_getp_signed_32, bfd_putp32): Likewise. + * targets.c (struct bfd_target): Use void* in place of bfd_byte* for + bfd_getx64, bfd_getx_signed_64, bfd_putx64, bfd_getx32, + bfd_getx_signed_32, bfd_putx32, bfd_getx16, bfd_getx_signed_16, + bfd_putx16, bfd_h_getx64, bfd_h_getx_signed_64, bfd_h_putx64, + bfd_h_getx32, bfd_h_getx_signed_32, bfd_h_putx32, bfd_h_getx16, + bfd_h_getx_signed_16, bfd_h_putx16. + * aix386-core.c (NO_GET, NO_GETS, NO_PUT): Update prototypes. + * hppabsd-core.c: Similarly. Rename NO_SIGNED_GET to NO_GETS. + * hpux-core.c: Likewise. + * irix-core.c: Likewise. + * netbsd-core.c: Likewise. + * osf-core.c: Likewise. + * ptrace-core.c: Likewise. + * sco5-core.c: Likewise. + * trad-core.c: Likewise. + * bfd-in2.h: Regenerate. + +2004-03-15 Matt Thomas <matt@3am-software.com> + + * config.bfd: Add x86-64 vector to NetBSD/i386 if 64bit BFD is + selected. + +2004-03-13 Mark Kettenis <kettenis@gnu.org> + + * config.bfd: Add x86_64-*-openbsd*. + * configure.in (x86_64-*-openbsd*): Set COREFILE to + netbsd-core.lo. + * configure: Regenerate. + +2004-03-12 Nick Clifton <nickc@redhat.com> + Dave Murphy <wintermute2k4@ntlworld.com> + + * elf32-arm.h (elf32_arm_merge_private_bfd_data): Skip most checks + if the input bfd does not contain any code. + +2004-03-09 Steve Ellcey <sje@cup.hp.com> + + * elfxx-ia64.c (plt_full_entry): Change ld8 to ld8.acq. + +2004-03-05 Fred Fish <fnf@redhat.com> + + * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_symbol): Just force + mips16 symbols to be even rather than testing first for even/odd. + (_bfd_mips_elf_link_output_symbol_hook): Ditto. + +2004-03-05 Nathan Sidwell <nathan@codesourcery.com> + + * elf.c (map_sections_to_segments): Ignore .tbss sections for + layout purposes. + +2004-03-03 Alexandre Oliva <aoliva@redhat.com> + + * elflink.c (bfd_elf_record_link_assignment): Mark undefweak and + undefined symbols as hash_new. + +2003-03-03 Andrew Stubbs <andrew.stubbs@superh.com> + + * archures.c: Add bfd_mach_sh4_nommu_nofpu. + * cpu-sh.c: Ditto. + * elf32-sh.c: Ditto. + * bfd-in2.h: Regenerate. + +2004-03-02 Alexandre Oliva <aoliva@redhat.com> + + * elf32-frv.c (struct frv_pic_relocs_info): Added fixups and + dynrelocs. + (_frv_count_got_plt_entries): Initialize them. + (frv_pic_relocs_info_find): Add insert argument. Adjust all + callers. + (frv_pic_relocs_info_for_global): Likewise. + (frv_pic_relocs_info_for_local): Likewise. + (frv_pic_merge_early_relocs_info): New. + (_frv_resolve_final_relocs_info): Use it in case one entry maps to + another. + (_frv_add_dyn_reloc): Add entry argument. Adjust all callers. + Check that we don't exceed the allocated count for entry. + (_frv_add_rofixup): Likewise. + (_frv_emit_got_relocs_plt_entries): Adjust for coding standards. + (elf32_frv_finish_dynamic_sections): Improve error message in case + we emit too few rofixup entries. + +2004-03-01 Richard Sandiford <rsandifo@redhat.com> + + * archures.c (bfd_mach_fr450): New. + * bfd-in2.h: Regenerate. + * cpu-frv.c (arch_info_450): New bfd_arch_info_type. + (arch_info_500): Link to it. + * elf32-frv.c (elf32_frv_machine, frv_elf_merge_private_bfd_data) + (frv_elf_print_private_bfd_data): Handle fr405 and fr450 header flags. + (frv_elf_arch_extension_p): New function. + (frv_elf_merge_private_bfd_data): Use it. + +2004-02-28 H.J. Lu <hongjiu.lu@intel.com> + + * elf-bfd.h (_bfd_elf_link_add_archive_symbols): New prototype. + + * elflink.h (is_global_data_symbol_definition): Moved to + elflink.c. + (elf_link_is_defined_archive_symbol): Likewise. + (elf_link_add_archive_symbols): Likewise. Renamed to + _bfd_elf_link_add_archive_symbols. + + * elflink.c (elf_link_is_defined_archive_symbol): Get the size + of ELF symbol table entry from backend. + (_bfd_elf_link_add_archive_symbols): Call bfd_link_add_symbols + instead of elf_link_add_object_symbols. + +2004-02-27 Alexandre Oliva <aoliva@redhat.com> + + * elf-bfd.h (struct elf_backend_data): Added + elf_backend_can_make_relative_eh_frame, + elf_backend_can_make_lsda_relative_eh_frame and + elf_backend_encode_eh_address. + (_bfd_elf_encode_eh_address): Declare. + (_bfd_elf_can_make_relative): Declare. + * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Use new + hooks to decide whether to attempt to make_relative and + make_lsda_relative. + (_bfd_elf_write_section_eh_frame_hdr): Call encode_eh_address. + (_bfd_elf_can_make_relative): New. + (_bfd_elf_encode_eh_address): New. + * elf32-frv.c (frv_elf_use_relative_eh_frame): New. + (frv_elf_encode_eh_address): New. + (elf_backend_can_make_relative_eh_frame): Define. + (elf_backend_can_make_lsda_relative_eh_frame): Define. + (elf_backend_encode_eh_address): Define. + * elfxx-target.h + (elf_backend_can_make_relative_eh_frame): Define. + (elf_backend_can_make_lsda_relative_eh_frame): Define. + (elf_backend_encode_eh_address): Define. + (elfNN_bed): Add them. + +2004-02-27 Alexandre Oliva <aoliva@redhat.com> + + * elf32-frv.c (elf32_frv_howto_table) <R_FRV_LABEL16>: Set + complain_on_overflow to signed. + +2004-02-27 H.J. Lu <hongjiu.lu@intel.com> + + * elflink.h (sort_symbol): New. + (elf_link_add_object_symbols): Use a sorted symbol array for + weakdef. + +2004-02-27 Jakub Jelinek <jakub@redhat.com> + + * elf32-s390.c (allocate_dynrelocs): Use SYMBOL_REFERENCES_LOCAL + for pc relative relocs. + (elf_s390_relocate_section): Likewise. + * elf64-s390.c (allocate_dynrelocs): Use SYMBOL_REFERENCES_LOCAL + for pc relative relocs. + (elf_s390_relocate_section): Likewise. + +2004-02-26 H.J. Lu <hongjiu.lu@intel.com> + + * elfxx-ia64.c (elfNN_ia64_check_relocs): Fix call to + count_dyn_reloc. + +2004-02-25 H.J. Lu <hongjiu.lu@intel.com> + + * elfxx-ia64.c (elfNN_ia64_dyn_reloc_entry): Add the reltext. + field to track if a relocation is against readonly section. + (count_dyn_reloc): Take a new argument for rent->reltext. + (elfNN_ia64_check_relocs): Adjust call to count_dyn_reloc. + (get_reloc_section): Don't set ia64_info->reltext here. + (allocate_dynrel_entries): Set ia64_info->reltext here. + +2004-02-24 Alexandre Oliva <aoliva@redhat.com> + + * elf32-frv.c (FRV_SYM_LOCAL): Weak undefined doesn't imply local. + (_frv_emit_got_relocs_plt_entries): Decay relocation to protected + function's descriptor to symbol+offset, and map local undefweak + symbol to NULL function descriptor. + (elf32_frv_relocate_section): Likewise. + +2004-02-23 Mark Kettenis <kettenis@gnu.org> + + * libaout.h (enum machine_type): Add M_SPARC64_NETBSD and + M_X86_64_NETBSD. + * netbsd-core.c (M_SPARC64_OPENBSD): Define. + (netbsd_core_file_p): Set architecture from machine ID for + selected machines. + +2004-02-23 Jakub Jelinek <jakub@redhat.com> + + * elflink.h (size_dynamic_sections): If not adding DT_FLAGS and + DF_BIND_NOW is set in info->flags, create DT_BIND_NOW dynamic entry. + +2004-02-21 H.J. Lu <hongjiu.lu@intel.com> + + * elflink.c (_bfd_elf_merge_symbol): Properly handle undefined + symbols with non-default visibility. + +2004-02-21 Danny Smith <daanysmith@users.sourceforge.net> + + * peXXigen.c (_bfd_XXi_swap_scnhdr_out): Clear + IMAGE_SCN_MEM_WRITE on known sections only. + +2004-02-20 Jakub Jelinek <jakub@redhat.com> + + * elf32-ppc.c (allocate_dynrelocs): Create dynsym for undef weak + symbols used in PIE relocs. + +2004-02-19 Jakub Jelinek <jakub@redhat.com> + + * elf32-sparc.c (elf32_sparc_finish_dynamic_sections): Clear + .plt sh_entsize. + +2004-02-18 Daniel Jacobowitz <drow@mvista.com> + + * configure.in: Update version to 2.15.90. + * configure: Regenerate. + +2004-02-17 Daniel Jacobowitz <drow@mvista.com> + Richard Sandiford <rsandifo@redhat.com> + + * elfxx-mips.c (mips_elf_calculate_relocation): Use + _bfd_elf_symbol_refs_local_p to decide whether to decay + a GOT_PAGE/GOT_OFST pair to GOT_DISP/addend. + (_bfd_mips_elf_check_relocs): Add a global GOT entry for GOT_PAGE + relocs if the symbol wasn't defined by a regular object file. + Don't check the symbol's dynindx. + +2004-02-16 Andrew Cagney <cagney@redhat.com> + + * bfd-in.h (file_ptr, ufile_ptr): Configure type using + @bfd_file_ptr@. + * bfd-in2.h: Re-generate. + +2004-02-14 Andrew Cagney <cagney@redhat.com> + + * configure.host (HDEFINES): When hppa*-*-hpux*, define + _LARGEFILE64_SOURCE. + +2004-02-13 Andrew Cagney <cagney@redhat.com> + + * elf.c (vma_page_aligned_bias): New function. + (assign_file_positions_except_relocs) + (assign_file_positions_for_segments): Replace broken modulo + arithmetic with call to vma_page_aligned_bias. + +2004-02-11 Andrew Cagney <cagney@redhat.com> + + * bfd-in.h: Update copyright. + (bfd_tell): Change return type to file_ptr. + * bfd-in2.h: Re-generate. + * cache.c: Update copyright. + (bfd_cache_lookup_worker): Use real_fseek, do not cast offset + parameter. + (close_one): Use real_ftell. + * bfdio.c: Update copyright. + (real_ftell, real_fseek): New functions. + (bfd_tell): Use real_fseek and real_ftell, change return type to + file_ptr. + (bfd_seek): Use real_ftell and real_fseek, change type of + file_position to a file_ptr. + * libbfd-in.h: Update copyright. + (real_ftell, real_fseek): Declare. + * libbfd.h: Re-generate. + + * configure.in (AC_CHECK_FUNCS): Check for ftello, ftello64, + fseeko and fseeko64. Determine bfd_file_ptr. + * configure: Re-generate. + * config.in: Re-generate. + +2004-02-09 Anil Paranjpe <anilp1@KPITCummins.com> + + * coff-h8300.c: Added comments about relaxation for ldc.w and stc.w. + * elf32-h8300.c: Likewise. + +2004-02-09 Christian Vogel <vogelchr@vogel.cx> + Nick Clifton <nickc@redhat.com> + + * elf64-alpha.c (elf64_alpha_calc_got_offsets_for_symbol): Catch + GOT entries with no associated GOT subsection. + +2004-02-09 Richard Sandiford <rsandifo@redhat.com> + + * bfd-elf.h (elf_backend_name_local_section_symbols): New hook. + * elf.c (swap_out_syms): Use it to decide whether local section + symbols should be named. + * elfxx-target.h (elf_backend_name_local_section_symbols): New macro. + * elfxx-mips.h (_bfd_mips_elf_name_local_section_symbols): Declare. + (elf_backend_name_local_section_symbols): Define. + * elfxx-mips.c (_bfd_mips_elf_name_local_section_symbols): New. + +2004-01-30 H.J. Lu <hongjiu.lu@intel.com> + + * elfxx-ia64.c (elfNN_ia64_relax_brl): New function. + (elfNN_ia64_relax_section): Optimize brl to br during the relax + finalize pass. + +2004-01-30 Alexandre Oliva <aoliva@redhat.com> + + * elf32-frv.c (elf32_frv_always_size_sections): Initialize pointer + to bfd_link_hash_entry passed by reference to + _bfd_generic_link_add_one_symbol. + +2004-01-25 H.J. Lu <hongjiu.lu@intel.com> + + * elfxx-ia64.c (elfNN_ia64_relocate_section): Disallow imm + relocations against dynamic symbols. + +2004-01-23 Daniel Jacobowitz <drow@mvista.com> + + * elf32-arm.h (elf32_arm_check_relocs): Revert part of 2004-01-13 + change. + +2004-01-21 Tom Rix <tcrix@worldnet.att.net> + + * reloc.c: New 5 bit reloc, BFD_RELOC_M68HC12_5B, for m68hc12 movb/movw. + * bfd-in2.h, libbfd.h: Rebuilt. + +2004-01-20 Danny Smith <dannysmith@users.sourceforge.net> + + * peXXigen.c (_bfd_XXi_swap_scnhdr_out): Don't remove + IMAGE_SCN_MEM_WRITE flag from .text section if WP_TEXT + flag has been cleared. + +2004-01-19 Kazu Hirata <kazu@cs.umass.edu> + + * coff-h8300.c: Add and adjust comments about relaxation. + * elf32-h8300.c: Likewise. + +2004-01-16 Kazu Hirata <kazu@cs.umass.edu> + + * coff-h8300.c: Fix comment typos. + * elf32-h8300.c: Likewise. + +2004-01-16 Kazu Hirata <kazu@cs.umass.edu> + + * coff-h8300.c: Add comments about relaxation. + * elf32-h8300.c: Likewise. + +2004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl> + + * acinclude.m4: Quote names of macros to be defined by AC_DEFUN + throughout. + * aclocal.m4: Regenerate. + * configure: Regenerate. + +2004-01-13 Ian Lance Taylor <ian@wasabisystems.com> + + * elf64-mips.c (mips_elf64_slurp_one_reloc_table): Call + mips_elf64_rtype_to_howto instead of using howto_table. + +2004-01-13 Daniel Jacobowitz <drow@mvista.com> + + * elf32-arm.h (elf32_arm_final_link_relocate): Check that we created + the .plt section. + (elf32_arm_check_relocs): Don't increment the PLT refcount for + relocs which would not use the PLT. + +2004-01-13 Alan Modra <amodra@bigpond.net.au> + + * elf64-ppc.c (ppc64_elf_check_relocs): Ignore !SEC_ALLOC relocs. + (ppc64_elf_gc_sweep_hook): Likewise. + (ppc64_elf_size_dynamic_sections): Test for .plt directly. + +2004-01-12 Anil Paranjpe <anilp1@KPITCummins.com> + + Adds linker relaxation support for bit manipulation insns like + band, bclr, biand, bild, bior, bist, bixor, bld, bnot, bor, bset, + bst, btst, bxor. + * elf32-h8300.c: Opcode for bit manipulation insn is checked in + elf32_h8_relax_section function while relxation for aa:16 and aa:32. + * coff-h8300.c: Opcode for bit manipulation insn is checked in + h8300_reloc16_extra_cases function while relxation for aa:16 and aa:32. + +2004-01-12 Alan Modra <amodra@bigpond.net.au> + + * dwarf2.c: Convert to C90, remove unneeded casts and prototypes. + +2004-01-11 Kazu Hirata <kazu@cs.umass.edu> + + * elf32-h8300.c: Fix formatting. + +2004-01-11 Kazu Hirata <kazu@cs.umass.edu> + + * elf32-cris.c (cris_elf_gc_sweep_hook): Return early if no + dynamic object is present. Declare r_symndx and h in an inner + scope. + * elf32-vax.c (elf_vax_gc_sweep_hook): Likewise. + +2004-01-09 Daniel Jacobowitz <drow@mvista.com> + + * elf32-arm.h (struct elf32_arm_relocs_copied): Remove pc_count. + (elf32_arm_copy_indirect_symbol): Don't copy pc_count. + (elf32_arm_final_link_relocate): Handle PLT32 and PC24 relocs + identically. Do not emit PC24 relocations for shared libraries. + (elf32_arm_gc_sweep_hook): Handle PLT32 and PC24 relocs + identically. Don't adjust pc_count. + (elf32_arm_check_relocs): Handle PLT32 and PC24 relocs identically. + Set ELF_LINK_HASH_NEEDS_PLT for both. Don't adjust pc_count; don't + adjust count for branch relocations. + (allocate_dynrelocs): Correct typo in call to + WILL_CALL_FINISH_DYNAMIC_SYMBOL. Never allocate space for + PC24 or PLT32 relocs when linking. + +2004-01-09 Dmitry Semyonov <Dmitry.Semyonov@oktet.ru> + + * coff-arm.c (aoutarm_std_reloc_howto): [ARM_WINCE] Synchronize ARM_26D + relocation howto with ARM_26 one for consistency. + (coff_arm_relocate_section): Set partial_inplace for ARM_26 relocations + that will be converted to ARM_26D ones, since we always want 'done' + relocations to be reflected in section's data. + (coff_arm_relocate_section): [ARM_WINCE] Quick fix for BL instruction + offset. + (_bfd_final_link_relocate): Do not modify "inplace" data, if not + requested. + +2004-01-08 Dmitry Semyonov <Dmitry.Semyonov@oktet.ru> + + * coff-arm.c (coff_arm_relocate_section): Do not alter relocs that + are not partial_inplace during a relocatable link. + +2004-01-08 Kazu Hirata <kazu@cs.umass.edu> + + * elf32-m68k.c (elf_m68k_gc_sweep_hook): Return early + if no dynamic object is present. Declare r_symndx and h in an + inner scope. + +2004-01-07 H.J. Lu <hongjiu.lu@intel.com> + + * elfxx-ia64.c (elfNN_ia64_relax_section): Don't install + trampoline if it is known out of range. + +2004-01-06 Alexandre Oliva <aoliva@redhat.com> + + 2003-12-17 Alexandre Oliva <aoliva@redhat.com> + * elf32-frv.c (_frv_osec_readonly_p): New. + (_frv_emit_got_relocs_plt_entries): Don't emit rofixup for + undefweak symbol. + (_frv_count_got_plt_entries): Adjust expected count accordingly. + (elf32_frv_relocate_section): Likewise. Error out if attempting + to emit rofixups or dynamic relocs in read-only segments. Use + _bfd_elf_section_offset to adjust r_offsets in rofixups and + dynamic relocations. + 2003-12-12 Alexandre Oliva <aoliva@redhat.com> + * elf32-frv.c (elf32_frv_relocate_section): Compute dynamic + relocations or fixups involving merged sections correctly. Avoid + crash when undefined symbol is referenced by R_FRV_32 or + R_FRV_FUNCDESC_VALUE. + 2003-12-02 Alexandre Oliva <aoliva@redhat.com> + * elf32-frv.c (elf32_frv_relocate_section): Add output_offset of + input section holding local symbol to addend of R_FRV_32 or + R_FRV_FUNCDESC_VALUE dynamic relocation. + 2003-11-27 Alexandre Oliva <aoliva@redhat.com> + * elf32-frv.c (elf32_frv_modify_segment_map): Add link info arg. + (elf32_frv_always_size_sections): Don't store pointer to + __stacksize symbol in sec_info. + (elf32_frv_modify_segment_map): Look it up here. + 2003-11-26 Alexandre Oliva <aoliva@redhat.com> + * elf32-frv.c (_frv_emit_got_relocs_plt_entries): Emit the address + of the lazy PLT entry, not only its offset, as the low word of a + function descriptor. + 2003-11-10 Alexandre Oliva <aoliva@redhat.com> + * elf32-frv.c (elf32_frv_always_size_sections): Define __stacksize + if a hash table entry already exists but is not a definition. + 2003-11-05 Alexandre Oliva <aoliva@redhat.com> + * elf32-frv.c (frv_elf_link_hash_table_create): Use bfd_zalloc. + (_frv_add_rofixup): Don't inline. + (_frv_emit_got_relocs_plt_entries): Use NULL as funcdesc address + for undefweak symbols. + (elf32_frv_relocate_section): Avoid crash while computing + relocation when linking with shared library. Only emit rofixups + and dynamic relocations for alloc&load sections. Mark binaries + with inter-segment relocations for relocation as a unit. + (_frv_create_got_section): Rename .rofixup.got to .rofixup. + (DEFAULT_STACK_SIZE): New. + (_frv_count_got_plt_entries): Fix thinko in deciding whether to + emit rofixups or dynamic relocs when linking dynamic non-PIE + executables. + (elf32_frv_size_dynamic_sections): Generate rofixup on PIEs and + shared libs too. Reserve the last entry for the GOT pointer. + (elf32_frv_finish_dynamic_sections): Emit it. + (elf32_frv_always_size_sections): New. + (elf32_frv_modify_segment_map): New. + (elf32_frv_check_relocs): Reserve relocs32 space only in ALLOC + sections. + (frv_elf_merge_private_bfd_data): Clear PIC bit if FDPIC is set. + (frv_elf_print_private_bfd_data): Handle FDPIC and LIBPIC. + (elf_backend_always_size_sections): New. + (elf_backend_modify_segment_map): New. + 2003-10-31 Alexandre Oliva <aoliva@redhat.com> + * config.bfd: Added frv-*-*linux*. + * elf32-frv.c (_frv_emit_got_relocs_plt_entries): Use idx 0 for + ABS section, instead of crashing. + (elf32_frv_relocate_section): Don't crash before warning about + different segments in non-PIC relocation. + 2003-10-17 Alexandre Oliva <aoliva@redhat.com> + * elf32-frv.c (elf32_frv_relocate_section): Don't warn on LABEL24 + relocs to undefweak symbols. + (elf32_frv_relocate_section): Ditto for undefined symbols. + 2003-10-06 Alexandre Oliva <aoliva@redhat.com> + * elf32-frv.c (elf32_frv_create_dynamic_sections): Make sure + gotfixup section was created. + 2003-09-30 Alexandre Oliva <aoliva@redhat.com> + * elf32-frv.c (elf32_frv_howto_table): Change GOT12, + FUNCDESC_GOT12, GOTOFF12 and FUNCDESC_GOTOFF12 to + complain_overflow_signed. + * elf32-frv.c (_frv_add_rofixup): Do not error out if contents + have not been allocated. + (_frv_emit_got_relocs_plt_entries): Return non-void. Assert + privfd only if dynamic sections were created. + (elf32_frv_relocate_section): Compute gprel_segment, and use it + for GPREL relocs. When linking relocatable FDPIC executables, + emit warnings for relocations that would be illegal on PIE or + shared libraries. Emit rofixup for R_FRV_32 only if input object + is not FDPIC. + (_frv_create_got_section): Define _gp symbol in the rofixup + section. + (elf32_frv_finish_dynamic_sections): If rofixups needed but + dynamic sections missing, error out requesting -melf32frvfd. + 2003-09-19 Alexandre Oliva <aoliva@redhat.com> + * elf32-frv.c (_frv_emit_got_relocs_plt_entries): Rearrange + computation of addends from section and global or local symbol + value. Change return type to bfd_boolean, and return a failure if + a dynamic FUNCDESC or FUNCDESC_VALUE relocation that requires a + nonzero addend is required. + (elf32_frv_relocate_section): Likewise. Print error for + unsupported nonzero addends. + 2003-09-18 Alexandre Oliva <aoliva@redhat.com> + * elf32-frv.c (FRV_SYM_LOCAL): In the absence of dynamic sections, + force everything local. + (_frv_emit_got_relocs_plt_entries): Cope with NULL sec. + * elf32-frv.c (struct frv_elf_link_hash_table): Added sgotfixup. + (frv_gotfixup_section): New. + (FRV_SYM_LOCAL): Accept undefweak and local common symbols. + (struct frv_pic_relocs_info): Split relocs into relocs32, relocsfd + and relocsfdv. + (_frv_add_rofixup): New. + (_frv_emit_got_relocs_plt_entries): Generate fixups for non-PIE + fdpic executables. Use FRV_SYM_LOCAL more widely to simplify and + improve some ugly conditions. + (elf32_frv_relocate_section): Likewise. Reject inter-segment + relocations in fdpic. + (_frv_create_got_section): Create .rofixup.got section. + (struct _frv_dynamic_got_info): Added fixups. + (_frv_count_got_plt_entries): Account in-GOT relocations into + relocs32, relocsfd and relocsfdv. Account them into relocs or + fixups, as appropriate. + (elf32_frv_size_dynamic_sections): Size rofixup section. Simplify + sizing of gotrel. + (elf32_frv_finish_dynamic_sections): Verify that the right number + of relocations and fixups was generated. + (elf32_frv_check_relocs): Compute relocs32, relocsfd and + relocsfdv. + * elf32-frv.c (FRV_SYM_LOCAL): New macro, used instead of + SYMBOL_CALLS_LOCAL and SYMBOL_REFERENCES_LOCAL. + (FRV_FUNCDESC_LOCAL): New macro, used to decide whether a function + descriptor of a (formerly-)global symbol is local. + (struct frv_pic_relocs_info): Adjust comments. + (_frv_emit_got_relocs_plt_entries): Adjust. + (elf32_frv_relocate_section): Likewise. + (_frv_count_got_plt_entries): Likewise. + * elf32-frv.c (_frv_emit_got_relocs_plt_entries): Don't add global + symbol's value to addend in the common preamble. Decay dynamic + symbols to section+offset if they bind or call locally, for GOT + and FUNCDESC_VALUE, respectively. + (elf32_frv_relocate_section): Likewise. + (elf32_frv_check_relocs): Don't register as dynamic symbols of + internal or hidden visibility. + 2003-09-17 Alexandre Oliva <aoliva@redhat.com> + * elf32-frv.c (_frv_emit_got_relocs_plt_entries): Get addend as + argument, so as to not call _bfd_elf_rel_local_sym to compute it. + (elf32_frv_relocate_section): Pass relocation addend in. Use + original relocation addend to look up the got relocs/plt entries + table. Do not call _bfd_elf_rel_local_sym. Don't error out when + processing relocations that reference .scommon symbols. + 2003-09-15 Alexandre Oliva <aoliva@redhat.com> + Introduce support for dynamic linking. + * elf32-frv.c (R_FRV_FUNCDESC_VALUE): Mark it as 64 bits. + (elf32_frv_rel_32_howto, elf32_frv_rel_funcdesc_howto, + elf32_frv_rel_funcdesc_value_howto): New REL descriptors. + (frv_reloc_type_lookup): Return REL howtos for executables and + dynamic libraries. + (frv_info_to_howto_rel): New. + (struct frv_elf_link_hash_table): New. + (frv_hash_table, frv_got_section, frv_gotrel_section, + frv_plt_section, frv_pltrel_section, frv_relocs_info, + frv_got_initial_offset, frv_plt_initial_offset): New macros. + (frv_elf_link_hash_table_create): New. + (struct frv_pic_relocs_info): New. + (frv_pic_relocs_info_hash, frv_pic_relocs_info_eq): New. + (frv_pic_relocs_info_find): New. + (frv_pic_relocs_info_for_global, frv_pic_relocs_info_for_local): + New. + (FRV_LZPLT_BLOCK_SIZE, FRV_LZPLT_RESOLVE_LOC): New. + (_frv_add_dyn_reloc, _frv_osec_to_segment): New. + (_frv_emit_got_relocs_plt_entries): New. + (elf32_frv_relocate_section): Add support for dynamic linking. + Handle new relocations. + (_frv_create_got_section): New. + (elf32_frv_create_dynamic_sections): New. + (ELF_DYNAMIC_INTERPRETER): New. + (struct _frv_dynamic_got_info): New. + (_frv_count_got_plt_entries): New. + (struct _frv_dynamic_got_plt_info): New. + (_frv_compute_got_alloc_data): New. + (_frv_get_got_entry, _frv_get_fd_entry): New. + (_frv_assign_got_entries, _frv_assign_plt_entries): New. + (_frv_resolve_final_relocs_info): New. + (elf32_frv_size_dynamic_sections): New. + (elf32_frv_finish_dynamic_sections): New. + (elf32_frv_adjust_dynamic_symbol): New. + (elf32_frv_finish_dynamic_symbol): New. + (elf32_frv_check_relocs): Handle new relocs. Explain how the + whole thing works. + (elf_info_to_howto_rel): Define. + (bfd_elf32_bfd_link_hash_table_create): Define. + (elf_backend_create_dynamic_sections): Define. + (elf_backend_adjust_dynamic_symbol): Define. + (elf_backend_size_dynamic_sections): Define. + (elf_backend_finish_dynamic_symbol): Define. + (elf_backend_finish_dynamic_sections): Define. + (elf_backend_want_got_sym): Define. + (elf_backend_got_header_size): Define. + (elf_backend_want_got_plt): Define. + (elf_backend_plt_readonly): Define. + (elf_backend_want_plt_sym): Define. + (elf_backend_plt_header_size): Define. + (elf_backend_may_use_rel_p): Define. + (elf_backend_may_use_rela_p): Define. + (elf_backend_default_use_rela_p): Define. + 2003-08-08 Alexandre Oliva <aoliva@redhat.com> + * elf32-frv.c (R_FRV_FUNCDESC_VALUE, R_FRV_FUNCDESC_GOTOFF12, + R_FRV_FUNCDESC_GOTOFFHI, R_FRV_FUNCDESC_GOTOFFLO, R_FRV_GOTOFF12, + R_FRV_GOTOFFHI, R_FRV_GOTOFFLO): New. + (frv_reloc_map): Map the corresponding BFD relocs to them. + (frv_reloc_type_lookup): ... and back to BFD relocs. + * reloc.c: New relocs. + * bfd-in2.h, libbfd.h: Rebuilt. + 2003-08-04 Alexandre Oliva <aoliva@redhat.com> + * elf32-frv.c (R_FRV_GOT12, R_FRV_GOTHI, R_FRV_GOTLO, + R_FRV_FUNCDESC, R_FRV_FUNCDESC_GOT12, R_FRV_FUNCDESC_GOTHI, + R_FRV_FUNCDESC_GOTLO): New. + (frv_reloc_map): Map the corresponding BFD relocs to them. + (frv_reloc_type_lookup): ... and back to BFD relocs. + * reloc.c: New relocs. + * bfd-in2.h, libbfd.h: Rebuilt. + +2004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl> + + * elf32-mips.c (ELF_MAXPAGESIZE): Redefine for traditional + targets to support pages of up to 64kB. + (elf32_bed): Redefine to get a separate backend data structure for + traditional targets. + * elf64-mips.c (ELF_MAXPAGESIZE): Redefine for traditional + targets to support pages of up to 64kB. + (elf64_bed): Redefine to get a separate backend data structure for + traditional targets. + * elfn32-mips.c (ELF_MAXPAGESIZE): Redefine for traditional + targets to support pages of up to 64kB. + (elf32_bed): Redefine to get a separate backend data structure for + traditional targets. + +2004-01-04 Mark Kettenis <kettenis@gnu.org> + + * elf32-sparc.c (elf32_sparc_grok_psinfo): New function. + +2004-01-02 Mark Kettenis <kettenis@gnu.org> + + * elf32-i386.c (elf_i386_grok_prstatus): Add support for FreeBSD. + (elf_i386_grok_psinfo): Likewise. + +2004-01-02 Bernardo Innocenti <bernie@develer.com> + + * config.bfd: Add m68k-uClinux target. + +2004-01-01 Grant Edwards <grante@visi.com> + + * elflink.h (elf_gc_sections): Warn when gc-sections option is ignored. + * elf32-h8300.c (elf32_h8_gc_mark_hook): New function. + (elf32_h8_gc_sweep_hook): New function. + (elf_backend_gc_mark_hook): Define. + (elf_backend_gc_sweep_hook): Define. + (elf_backend_can_gc_sections): Define. + +For older changes see ChangeLog-0203 + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/bfd/ChangeLog-2005 b/bfd/ChangeLog-2005 new file mode 100644 index 0000000..f237278 --- /dev/null +++ b/bfd/ChangeLog-2005 @@ -0,0 +1,5269 @@ +2005-12-31 Valeriy E. Ushakov <uwe@NetBSD.org> + Kaz Kojima <kkojima@rr.iij4u.or.jp> + + * elf32-sh.c (sh_elf_relocate_section): Don't reset relocation + for R_SH_REL32 in shared objects if the symbol is locally called. + +2005-12-31 Alan Modra <amodra@bigpond.net.au> + + * elf64-ppc.c (ppc64_elf_relocate_section): Adjust relocs against + opd section sym when opd has been edited. Use correct addend + when determining branch 'y' bit and branch overflow. Adjust and + save opd relocs for ld -r too. + +2005-12-30 Eric Christopher <echristo@apple.com> + + * elfxx-mips.c (mips_elf_record_global_got_symbol): Add assert + to verify we have a got. + (_bfd_mips_elf_check_relocs): Add R_MIPS_TLS_GOTTPREL to relocs + needing a GOT. + +2005-12-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + * configure.host (hppa*64*-*-hpux*): Set host64 to true. + +2005-12-29 Nick Clifton <nickc@redhat.com> + + * hash.c (bfd_hash_set_default_size): Add more entries to the + hash_size_primes table. + + * stabs.c (_bfd_link_section_stabs): Use bfd_hash_table_init + rather than bfd_hash_table_init_n(...,251) so that the size of the + hash table can be controlled by the user. + +2005-12-27 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + * elf32-hppa.c (elf32_hppa_size_dynamic_sections): Use info->executable + instead of !info->shared. + +2005-12-27 Jan-Benedict Glaw <jbglaw@lug-owl.de> + + * vaxlinux.h: New file. (TRAD_CORE_EXTRA_SIZE_ALLOWED): Define. + (HOST_MACHINE_ARCH): Define. This allows cross-building vax-linux + hosted binutils. + +2005-12-27 Nathan Sidwell <nathan@codesourcery.com> + + * elf32-mt.c (mt_elf_merge_private_bfd_data): Do not allow mixing + object files from different mt variants. + +2005-12-27 Leif Ekblad <leif@rdos.net> + + * config.bfd: Add support for RDOS targets. + +2005-12-27 Marty Leisner <leisner@rochester.rr.com> + + * dwarf2.c (lookup_symbol_in_function_table): Check for a function + name before passing it to strcmp. + +2005-12-27 Alan Modra <amodra@bigpond.net.au> + + * elf.c (elf_find_function): Don't ignore section syms. + Simplify filename logic. + +2005-12-27 Alan Modra <amodra@bigpond.net.au> + + * elf32-ppc.c (add_stub_sym): Pass info rather than htab. + Use different names for pic vs non-pic, '.' instead of '_'. + (allocate_dynrelocs): Adjust add_stub_sym call. + +2005-12-27 Alan Modra <amodra@bigpond.net.au> + + * elf.c (bfd_section_from_shdr): Treat invalid reloc sections as + normal sections rather than returning false. + +2005-12-27 Alan Modra <amodra@bigpond.net.au> + + * coff-h8300.c (h8300_reloc16_extra_cases): Use input section + "output_offset" instead of link order "offset". + * coff-h8500.c (extra_case): Likewise. + * coff-w65.c (w65_reloc16_extra_cases): Likewise. + * coff-z80.c (extra_case): Likewise. + * coff-z8k.c (extra_case): Likewise. + * linker.c (default_indirect_link_order): Likewise, "size" too. + * ecoff.c (ecoff_indirect_link_order): Likewise. + +2005-12-27 Alan Modra <amodra@bigpond.net.au> + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + * po/SRC-POTFILES.in: Regenerate. + +2005-12-24 Alan Modra <amodra@bigpond.net.au> + + * aix5ppc-core.c: Remove duplicate prototypes. + (xcoff64_core_file_matches_executable_p): Provide implementation + for !AIX_5_CORE. + * corefile.c (generic_core_file_matches_executable_p): Correct + syntax error in prototype. + * libbfd-in.h (generic_core_file_matches_executable_p): Delete. + * libbfd.h: Regenerate. + * bfd-in2.h: Regenerate. + +2005-12-23 Michael Weiser <michael@weiser.dinsnail.net> + + PR 1150 + * elf-bfd.h (struct elf_backend_data): New field + 'elf_backend_ignore_undef_symbol'. + * elfxx-target.h (elf_backend_ignore_undef_symbol): Define to NULL + if not already defined. + (elfNN_bed): Initialise the elf_backend_ignore_undef_symbol field. + * elfxx-mips.c (_bfd_mips_elf_ignore_undef_symbol): New function. + * elfxx-mips.h (elf_backend_ignore_undef_symbol): Define and + prototype. + * elflink.c (elf_link_output_extsym): Check + elf_backend_ignore_undef_symbol before reporting an undefined + symbol in a shared library. + +2005-12-23 Joel Brobecker <brobecker@adacore.com> + + * corefile.c (generic_core_file_matches_executable_p): New function. + * libbfd-in.h (generic_core_file_matches_executable_p): Add + declaration. + * libbfd.h: Regenerate. + * hpux-core.c: ANSIfy function declarations and prototypes. + (thread_section_p): Manually expand bfd_section_name macro + to make it clear that parameter ABFD is not used. + (hpux_core_core_file_matches_executable_p): Delete, replaced + by macro pointing to generic_core_file_matches_executable_p. + + * aix386-core.c: Replace core_file_matches_executable_p null + implementation by generic_core_file_matches_executable_p by + using a macro. + * aix5ppc-core.c: Likewise. + * cisco-core.c: Likewise. + * hppabsd-core.c: Likewise. + * irix-core.c: Likewise. + * lynx-core.c: Likewise. + * mach-o.c: Likewise. + * netbsd-core.c: Likewise. + * osf-core.c: Likewise. + * ptrace-core.c: Likewise. + * sco5-core.c: Likewise. + * trad-core.c: Likewise. + +2005-12-19 David Heine <dlheine@tensilica.com> + + * elf32-xtensa.c (action_list_count, xlate_map_entry, xlate_map, + xlate_offset_with_removed_text, build_xlate_map, free_xlate_map): New. + (check_section_ebb_pcrels_fit): Build new xlate_map, use it and free it + when finished. + +2005-12-16 Nathan Sidwell <nathan@codesourcery.com> + + Second part of ms1 to mt renaming. + * archures.c (bfd_arch_mt): Renamed. + (bfd_mt_arch): Renamed. + (bfd_archures_list): Adjusted. + * bfd-in2.h: Rebuilt. + * config.bfd (mt): Remove special case targ_archs. + (mt-*-elf): Rename bfd_elf32_mt_vec. + * configure: Rebuilt. + * configure.in (bfd_elf32_mt_vec): Renamed. + (selarchs) Remove mt special case. + * cpu-mt.c (arch_info_struct): Adjust. + (bfd_mt_arch): Renamed, adjust. + * elf32-mt.c (mt_reloc_type_lookup, mt_info_to_howto_rela, + mt_elf_relocate_hi16, mt_final_link_relocate, mt_relocate_section, + mt_elf_howto_table): Renamed, adjusted. + (mt_elf_gc_mark_hook, mt_elf_gc_sweep_hook, mt_elf_check_relocs, + elf32_mt_machine, mt_elf_object_p, mt_elf_set_private_flags, + mt_elf_copy_private_bfd_data, mt_elf_merge_private_bfd_data, + mt_elf_print_private_bfd_data): Renamed, adjusted. + (TARGET_BIG_SYM, TARGET_BIG_NAME, ELF_ARCH, ELF_MACHINE_CODE, + ELF_MAXPAGESIZE, elf_info_to_howto, elf_backend_relocate_section, + bfd_elf32_bfd_reloc_type_lookup, elf_backend_gc_mark_hook, + elf_backend_gc_sweep_hook, elf_backend_check_relocs, + eld_backend_object_p, bfd_elf32_bfd_set_private_flags, + bfd_elf32_bfd_copy_private_bfd_data, + bfd_elf32_bfd_merge_private_bfd_data, + bfd_elf32_bfd_print_private_bfd_data): Adjusted. + * libbfd.h: Regenerated. + * reloc.c (BFD_RELOC_MT_PC16, BFD_RELOC_MT_HI16, + BFD_RELOC_MT_LO16, BFD_RELOC_MT_GNU_VTINHERIT, + BFD_RELOC_MT_GNU_VTENTRY, BFD_RELOC_MT_PCINSN8): Renamed. + * targets.c (bfd_elf32_mt_vec): Renamed. + (_bfd_target_vector): Adjusted. + +2005-12-13 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/2008 + * elf.c (_bfd_elf_setup_sections): Return FALSE if + elf_linked_to_section will be set to NULL. + + * format.c (bfd_check_format_matches): Don't check the default + target twice. + +2005-12-13 Alan Modra <amodra@bigpond.net.au> + + * elf64-ppc.c (ppc64_elf_relocate_section): Force tail calls in + shared libs to resolve locally. + +2005-12-12 Paul Brook <paul@codesourcery.com> + + * bfd-in2.h: Regenerate. + * elf32-arm.c (elf32_arm_reloc_map): Add BFD_RELOC_ARM_PCREL_CALL and + BFD_RELOC_ARM_PCREL_JUMP. + (check_use_blx): New function. + (bfd_elf32_arm_process_before_allocation): Don't allocate glue if + using BLX. + (elf32_arm_final_link_relocate): Perform bl<->blx conversion for + R_ARM_CALL and R_ARM_THM. + (elf32_arm_get_eabi_attr_int): New function. + (elf32_arm_size_dynamic_sections): Call check_use_blx. + * libbfd.h: Regenerate. + * reloc.c: Add BFD_RELOC_ARM_PCREL_CALL and BFD_RELOC_ARM_PCREL_JUMP. + +2005-12-12 Nathan Sidwell <nathan@codesourcery.com> + + * Makefile.am (ALL_MACHINES, ALL_MACHINES_CFILES, + BFD32_BACKENDS, BFD32_BACKENDS_CFILES): Replace ms1 with mt. + (cpu_mt.lo, elf32-mt.lo): Update target and dependency names. + * Makefile.in: Rebuilt. + * config.bfd: Replace ms1 arch with mt. + * configure.in: Replace ms1 files with mt files. + * configure: Rebuilt. + * elf32-mt.c: Renamed from elf32-ms1.c. Update include files. + * cpu-mt.c: Renamed from cpu-ms1.c. + +2005-12-12 Alan Modra <amodra@bigpond.net.au> + + * elf64-ppc.c (ppc64_elf_size_stubs): Don't consider non-ppc64 input. + +2005-12-10 Alan Modra <amodra@bigpond.net.au> + + * elflink.c (elf_gc_mark_dynamic_ref_symbol): Use !info-executable + to test for linking shared libs, not info->shared. + +2005-12-08 Alan Modra <amodra@bigpond.net.au> + + * elf32-ppc.c (struct ppc_elf_link_hash_table): Add emit_stub_syms. + (ppc_elf_select_plt_layout): Add emit_stub_syms param, save to htab. + (add_stub_sym): New function. + (allocate_dynrelocs): Call add_stub_sym. + (ppc_elf_size_dynamic_sections): Emit __glink and __glink_PLTresolve + when emit_stub_syms. + * elf32-ppc.h (ppc_elf_select_plt_layout): Update prototype. + +2005-12-08 Alan Modra <amodra@bigpond.net.au> + + * reloc.c (enum complain_overflow): Correct comments. + (bfd_check_overflow): Combine complain_overflow_bitfield and + complain_overflow_signed code. + (_bfd_relocate_contents): Likewise. + (bfd_howto_32): Use complain_overflow_dont. + * elf32-d10v.c (elf_d10v_howto_table): Revert 2002-06-17 change. + * bfd-in2.h: Regenerate. + +2005-12-07 H.J. Lu <hongjiu.lu@intel.com> + + * elf.c (assign_section_numbers): Remove extra code in the last + change. + +2005-12-07 H.J. Lu <hongjiu.lu@intel.com> + Andreas Schwab <schwab@suse.de> + + PR binutils/1991 + * elf.c (assign_section_numbers): Always use the output section + when setting up sh_link for SHF_LINK_ORDER. + +2005-12-07 Thiemo Seufer <ths@networkno.de> + H.J. Lu <hongjiu.lu@intel.com> + + PR ld/1932 + * bfd-in.h (bfd_elf_record_link_assignment): Add output_bfd + and hidden arguments. + + * bfd.c (bfd_hide_symbol): Removed. + + * bfd-in2.h: Regenerated. + + * elflink.c (bfd_elf_record_link_assignment): Handle hidden + symbols which were provided by a linker script. + +2005-12-06 Paul Gilliam <pgilliam@us.ibm.com> + + * cpu-powerpc.c (bfd_powerpc_archs): Add ppc 750. + +2005-11-18 Mark Kettenis <kettenis@gnu.org> + + * elf64-hppa.c (elf64_hppa_section_from_phdr): Create .kernel + pseudo-section. Make sure .reg section comes after the proc + section it's generated from. + +2005-12-01 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> + + * elf32-m32r.c (m32r_elf_sweep_hook): Fix an illegal duplicate check. + (m32r_elf_relocate_section): Fix R_M32R_10_PCREL_RELA linkage bug. + (m32r_elf_gc_sweep_hook): Likewise. + (m32r_elf_check_relocs): Likewise. + +2005-11-24 Alan Modra <amodra@bigpond.net.au> + + * elf-bfd.h (_bfd_generic_match_sections_by_type): Don't define. + * libbfd-in.h (_bfd_generic_match_sections_by_type): Delete. + * libbfd.c (_bfd_generic_match_sections_by_type): Delete. + * targets.c (bfd_match_sections_by_type): Don't define. + (BFD_JUMP_TABLE_LINK): Remove _bfd_generic_match_sections_by_type. + * coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Likewise. + * coff64-rs6000.c (rs6000coff64_vec, aix5coff64_vec): Likewise. + * bfd-in2.h: Regenerate. + * libbfd.h: Regenerate. + +2005-11-23 Daniel Jacobowitz <dan@codesourcery.com> + Thiemo Seufer <ths@networkno.de> + + * elf32-mips.c (elf_mips_howto_table_rel): Use rightshift 2 for + R_MIPS_PC16. + (mips_reloc_map): Map BFD_RELOC_16_PCREL_S2 to R_MIPS_PC16. + (bfd_elf32_bfd_reloc_type_lookup): Don't handle + BFD_RELOC_16_PCREL_S2. + * elf64-mips.c (mips_elf64_howto_table_rel): Use rightshift 2 for + R_MIPS_PC16. + (mips_elf64_howto_table_rela): Likewise. + (mips_reloc_map): Map BFD_RELOC_16_PCREL_S2 to R_MIPS_PC16. + (bfd_elf64_bfd_reloc_type_lookup): Don't handle + BFD_RELOC_16_PCREL_S2. + * elfn32-mips.c (elf_mips_howto_table_rel): Use rightshift 2 for + R_MIPS_PC16. + (elf_mips_howto_table_rela): Likewise. + (mips_reloc_map): Map BFD_RELOC_16_PCREL_S2 to R_MIPS_PC16. + (bfd_elf32_bfd_reloc_type_lookup): Don't handle + BFD_RELOC_16_PCREL_S2. + * elfxx-mips.c: Formatting fixes. + (mips_elf_calculate_relocation): Handle R_MIPS_GNU_REL16_S2 + and R_MIPS_PC16 identically. + +2005-11-23 Frederic Riss <frederic.riss@st.com> + + * elfcode.h (elf_object_p): Delay the setting of start_address + until we're sure the backend matches the binary. + +2005-11-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + * som.c (som_decode_symclass): Decode BSF_WEAK symbols in the same + manner as bfd_decode_symclass. + +2005-11-18 Alan Modra <amodra@bigpond.net.au> + + * elf64-ppc.c (ppc64_elf_check_relocs): Don't set has_14bit_branch + on branches to same section. + +2005-11-17 Randolph Chung <tausq@debian.org> + + * elf64-hppa.c (elf64_hppa_object_p): Recognize corefiles under + hppa64-hp-hpux11.11. + (elf64_hppa_section_from_phdr): New function. + (elf_backend_section_from_phdr): Define. + +2005-11-11 Nick Clifton <nickc@redhat.com> + + PR 1150 + * elfxx-mips.c (mips_elf_calculate_relocation): Ignore an + undefined symbol if it is optional. + (_bfd_mips_elf_merge_symbol_attribute): Make sure that the + optional flag is merged as well as the visibility. + * elfxx-mips.h (_bfd_mips_elf_merge_symbol_attribute): Prototype. + (elf_backend_merge_symbol_attribute): Define. + +2005-11-08 Nathan Sidwell <nathan@codesourcery.com> + + Add ms2 support + * archures.c (bfd_mach_ms2): Define. + * cpu-ms1.c (arch_info_struct): Add ms2 stanza. + * elf32-ms1.c (elf32_ms1_machine): Add ms2 case. + (ms1_elf_merge_private_bfd_data): Remove unused variables. Add + correct merging logic, with workaround. + (ms1_elf_print_private_bfd_data): Add ms2 case. + * reloc.c (BFD_RELOC_MS1_PCINSN8): Add ms2 specific reloc. + * libbfd.h: Regenerated. + * bfd-in2.h: Regenerated. + +2005-11-07 Steve Ellcey <sje@cup.hp.com> + + * warning.m4 (AM_BINUTILS_WARNINGS): Default to empty string + if compiler is not GCC. + * configure: Regenerate + +2005-11-07 Steve Ellcey <sje@cup.hp.com> + + * configure: Regenerate after modifying bfd/warning.m4. + +2005-11-07 Steve Ellcey <sje@cup.hp.com> + + * configure.host (ia64-*-hpux*): Set _LARGEFILE64_SOURCE. + +2005-11-03 Daniel Jacobowitz <dan@codesourcery.com> + + * configure.in: Check for fopen64. + * libbfd-in.h (real_fopen): New prototype. + * configure, config.in, libbfd.h: Regenerated. + * bfdio.c (real_fopen): New function. + * opncls.c (bfd_fopen, bfd_fill_in_gnu_debuglink_section): Use it. + * cache.c (bfd_open_file): Likewise. + +2005-11-03 Thiemo Seufer <ths@networkno.de> + + * elfxx-mips.c (mips_elf_calculate_relocation): Handle only + forced local symbols here. + (mips_elf_create_dynamic_relocation): Likewise. + (_bfd_mips_elf_finish_dynamic_symbol): Fix typo in comment. + +2005-11-03 Alan Modra <amodra@bigpond.net.au> + + * elf.c (elf_fake_sections): When calculating tbss size, just use + the last link_order. + (assign_file_positions_for_segments): Likewise. + * elflink.c (bfd_elf_final_link): Likewise. + (elf_reloc_link_order): Correct comment. + +2005-11-02 Alan Modra <amodra@bigpond.net.au> + + PR ld/1775 + * elf32-m68k.c (elf_m68k_finish_dynamic_symbol): Add required + parentheses. + +2005-10-29 H.J. Lu <hongjiu.lu@intel.com> + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerated. + + * dep-in.sed: Replace " ./" with " ". + +2005-10-29 H.J. Lu <hongjiu.lu@intel.com> + + * hpux-core.c: Include <machine/reg.h> only if HPUX_CORE is + define. + * osf-core.c: Include <sys/core.h> only if OSF_CORE is defined. + * sco5-core.c: Include <sys/paccess.h> and <sys/region.h> only + if SCO5_CORE is defined. + +2005-10-29 Mark Kettenis <kettenis@gnu.org> + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + +2005-10-28 Joel Brobecker <brobecker@adacore.com> + + From Eric Botcazou <botcazou@adacore.com> + * coffcode.h (coff_compute_section_file_positions): Fix small + error in preprocessor directives. + +2005-10-28 Joel Brobecker <brobecker@adacore.com> + + Mostly from Eric Botcazou <botcazou@adacore.com> + * rs6000-core.c: ANSIfy all function definitions. + Add missing function prototypes. + (ptr_to_uint): New type. + (rs6000coff_core_p): Use it as intermediate step in casts. + (rs6000coff_core_file_matches_executable_p): Likewise. + * xcoff-target.h (rs6000coff_core_p): Fix prototype. + (rs6000coff_core_file_matches_executable_p): Likewise. + +2005-10-28 H.J. Lu <hongjiu.lu@intel.com> + + PR binutils/1472 + * aoutx.h (NAME (aout, machine_type)): Handle + bfd_mach_sparc_v8plus, bfd_mach_sparc_v8plusa, + bfd_mach_sparc_v8plusb, bfd_mach_sparc_v9, bfd_mach_sparc_v9a + and bfd_mach_sparc_v9b. + +2005-10-28 Hans-Peter Nilsson <hp@axis.com> + + PR ld/1567 + * elf32-cris.c (cris_elf_howto_table) <R_CRIS_32>: Set + complain_on_overflow field to complain_overflow_dont. + +2005-10-27 Alan Modra <amodra@bigpond.net.au> + + PR 973 + * cache.c (enum cache_flag): New. + (close_one): Save file mtime. + (bfd_cache_lookup): Add flag arg, adjust all users. + (bfd_cache_lookup_worker): Likewise. + (cache_btell): Use CACHE_NO_OPEN and return abfd->where if file + not open. + (cache_bflush): Similarly, and return success of file not open. + (cache_bseek): Use CACHE_NO_SEEK if SEEK_SET or SEEK_END. + (cache_bstat): Use CACHE_NO_SEEK_ERROR. + + * bfdwin.c (bfd_get_file_window): Seek into file in place of + using bfd_cache_lookup. + + * cache.c (BFD_CACHE_MAX_OPEN): Make private to this file. + (bfd_last_cache, bfd_cache_lookup, bfd_cache_lookup_worker): Likewise. + * libbfd-in.h (bfd_cache_lookup_worker, bfd_last_cache): Delete. + * libbfd.h: Regenerate. + + * hppabsd-core.c (hppabsd_core_core_file_p): Use bfd_stat, not fstat. + * sco5-core.c (sco5_core_file_p): Likewise. + * trad-core.c (trad_unix_core_file_p): Likewise. + + * cache.c: Reorganize file to avoid forward reference. + +2005-10-26 Alan Modra <amodra@bigpond.net.au> + + * cache.c (bfd_cache_lookup_worker): Don't abort on failing to + reopen file. + (cache_btell, cache_bseek, cache_bflush, cache_bstat): Return -1 on + bfd_cache_lookup failure. + (cache_bread, cache_bwrite): Return 0 on the same. + * bfdwin.c (bfd_get_file_window): Likewise. + * hppabsd-core.c (hppabsd_core_core_file_p): Likewise. + * sco5-core.c (sco5_core_file_p): Likewise. + * trad-core.c (trad_unix_core_file_p): Likewise. + +2005-10-26 Alan Modra <amodra@bigpond.net.au> + + * cache.c (bfd_cache_lookup_worker): Use bfd_error_handler + rather than bfd_perror. Print file name. Internationalise. + +2005-10-26 Alan Modra <amodra@bigpond.net.au> + + * cache.c (bfd_open_file): Set bfd_error_system_call on failure + to open file. + (bfd_cache_lookup_worker): Remove check that file pos is in + unsigned long range. Print system error before aborting. + +2005-10-25 Arnold Metselaar <arnold.metselaar@planet.nl> + + * Makefile.am: Add rules for coff-z80 and cpu-z80. + * Makefile.in: Regenerated. + * archures.c: Add bfd_arch_z80 and support for it. + * coffcode.h(coff_set_arch_mach_hook): Add case Z80MAGIC. + (coff_set_flags): Add case bfd_arch_z80. + * config.bfd: Add z80coff_vec. + * configure.in: Add z80coff_vec. + * reloc.c: Add BFD_RELOC_Z80_DISP8 + * targets.c: Add z80coff_vec. + * coff-z80.c: New file + * cpu-z80.c: New file + * configure: Regenerated. + * libbfd.h: Regenerated. + * bfd-in2.h: Regenerated. + +2005-10-26 Alan Modra <amodra@bigpond.net.au> + + PR ld/1540 + * elf-bfd.h (elf_backend_copy_indirect_symbol): Replace pointer to + elf_backend_data with pointer to bfd_link_info. + (_bfd_elf_link_hash_copy_indirect): Likewise. + * elf.c (_bfd_elf_link_hash_copy_indirect): Likewise. Handle + direct and indirect symbols both having dynamic link info. + * elf32-arm.c (elf32_arm_copy_indirect_symbol): Likewise. + * elf32-hppa.c (elf32_hppa_copy_indirect_symbol): Likewise. + * elf32-i386.c (elf_i386_copy_indirect_symbol): Likewise. + * elf32-m32r.c (m32r_elf_copy_indirect_symbol): Likewise. + * elf32-ppc.c (ppc_elf_copy_indirect_symbol): Likewise. + * elf32-s390.c (elf_s390_copy_indirect_symbol): Likewise. + * elf32-sh.c (sh_elf_copy_indirect_symbol): Likewise. + * elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Likewise. + * elf64-s390.c (elf_s390_copy_indirect_symbol): Likewise. + * elf64-x86-64.c (elf64_x86_64_copy_indirect_symbol): Likewise. + * elfxx-ia64.c (elfNN_ia64_hash_copy_indirect): Likewise. + * elfxx-mips.c (_bfd_mips_elf_copy_indirect_symbol): Likewise. + * elfxx-sparc.c (_bfd_sparc_elf_copy_indirect_symbol): Likewise. + * elflink.c: Adjust all calls to bed->elf_backend_copy_indirect_symbol. + * elfxx-mips.h (_bfd_mips_elf_copy_indirect_symbol): Update prototype. + * elfxx-sparc.h (_bfd_sparc_elf_copy_indirect_symbol): Likewise. + +2005-10-25 Alan Modra <amodra@bigpond.net.au> + + * po/SRC-POTFILES.in: Regenerate. + * po/bfd.pot: Regenerate. + +2005-10-24 Jie Zhang <jie.zhang@analog.com> + + * elf32-bfin.c (bfd_bfin_elf32_create_embedded_relocs): Fix signedness + warning. + +2005-10-24 Bernd Schmidt <bernd.schmidt@analog.com> + + * elf32-bfin.c (bfin_howto_table): Set src_mask to 0 for all relocs. + (bfin_imm16_reloc): Always add in the addend. Don't fetch existing + contents from section. + (bfin_relocate_section): Rework so as to not call special_functions. + Handle the relocation stack here. Treat pcrel24 relocs specially. + +2005-10-24 Alan Modra <amodra@bigpond.net.au> + + * elflink.c (elf_link_input_bfd): Don't use linker_mark and + SEC_EXCLUDE to test for sections dropped from output. Instead, + use bfd_section_removed_from_list on normal sections. Don't + attempt to handle symbols with unknown reserved section indices. + * linker.c (_bfd_generic_link_output_symbols): Don't use + linker_mark to test for symbols belonging to dropped sections. + Do allow absolute symbols. + +2005-10-24 Alan Modra <amodra@bigpond.net.au> + + * elf32-i370.c (i370_elf_fake_sections): Don't set SHF_EXCLUDE on + group sections. + +2005-10-24 Jan Beulich <jbeulich@novell.com> + + * cpu-ia64-opc.c (elf64_ia64_operands): Move memory operand out of + set of indirect operands. + +2005-10-24 Alan Modra <amodra@bigpond.net.au> + + * elf32-ppc.c (ppc_elf_fake_sections): Don't set SHF_EXCLUDE on + group sections. + +2005-10-23 H.J. Lu <hongjiu.lu@intel.com> + + * coff-rs6000.c (rs6000coff_vec): Initialize + _bfd_init_private_section_data with + _bfd_generic_init_private_section_data. + (pmac_xcoff_vec): Likewise. + * coff64-rs6000.c (rs6000coff64_vec): Likewise. + (aix5coff64_vec): Likewise. + +2005-10-23 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/1487 + * elf-bfd.h (_bfd_generic_init_private_section_data): New. + (_bfd_elf_init_private_section_data): New. + + * elf.c (elf_fake_sections): Don't set SHF_GROUP for + relocatable link. + (bfd_elf_set_group_contents): Don't handle relocatable link + specially. + (assign_section_numbers): If it isn't called by assembler, + use the output section of elf_linked_to_section for + SHF_LINK_ORDER. + (_bfd_elf_init_private_section_data): New. + (_bfd_elf_copy_private_section_data): Call it. + + * libbfd-in.h (_bfd_generic_init_private_section_data): New. + + * libbfd.c (_bfd_generic_init_private_section_data): New. + + * targets.c (BFD_JUMP_TABLE_COPY): Add + _bfd_generic_init_private_section_data. + (bfd_init_private_section_data): Likewise. + + * bfd-in2.h: Regenerated. + * libbfd.h: Likewise. + +2005-10-23 Alan Modra <amodra@bigpond.net.au> + + * elf64-ppc.c (dec_dynrel_count): Don't report errors for local + syms in gc'd sections. + (ppc64_elf_edit_opd): Don't adjust reloc counts when NO_OPD_RELOCS. + (elf_backend_action_discarded): Define. + (ppc64_elf_action_discarded): New function. + +2005-10-19 Paul Brook <paul@codesourcery.com> + + * elf32-arm.c (find_arm_elf_section_entry): New function. + (get_arm_elf_section_data): Use it. + (unrecord_section_with_arm_elf_section_data): Use it. + +2005-10-15 H.J. Lu <hongjiu.lu@intel.com> + + * coff-rs6000.c (rs6000coff_vec): Initialize + _bfd_match_sections_by_type with + _bfd_generic_match_sections_by_type. + (pmac_xcoff_vec): Likewise. + * coff64-rs6000.c (rs6000coff64_vec): Likewise. + (aix5coff64_vec): Likewise. + +2005-10-15 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/1467 + * elf-bfd.h (_bfd_elf_match_sections_by_type): New. + (_bfd_generic_match_sections_by_type): New. Defined. + + * elf.c (_bfd_elf_match_sections_by_type): New. + + * libbfd-in.h (_bfd_generic_match_sections_by_type): New. + + * bfd-in2.h: Regenerated. + * libbfd.h: Likewise. + + * libbfd.c (_bfd_generic_match_sections_by_type): New. + + * targets.c (BFD_JUMP_TABLE_LINK): Initialize + _bfd_match_sections_by_type with + _bfd_generic_match_sections_by_type. + (bfd_target): Add _bfd_match_sections_by_type. + +2005-10-08 Paul Brook <paul@codesourcery.com> + + * elf32-arm.c: Move #include "elf/arm.h" after libbfd.h. + (NUM_KNOWN_ATTRIBUTES): Define. + (aeabi_attribute, aeabi_attribute_list): Define. + (elf32_arm_obj_tdata): Add known_eabi_attributes and + other_eabi_attributes. + (uleb128_size, is_default_attr, eabi_attr_size, + elf32_arm_eabi_attr_size, write_uleb128, write_eabi_attribute, + elf32_arm_set_eabi_attr_contents, elf32_arm_bfd_final_link, + elf32_arm_new_eabi_attr, attr_strdup, elf32_arm_add_eabi_attr_int, + elf32_arm_add_eabi_attr_compat, copy_eabi_attributes, + elf32_arm_merge_eabi_attributes): New functions. + (elf32_arm_copy_private_bfd_data): Copy EABI object attributes. + (elf32_arm_fake_sections): Handle .ARM.attributes. + (elf32_arm_parse_attributes): New function. + (elf32_arm_section_from_shdr): Use it. + (bfd_elf32_bfd_final_link): Define. + +2005-10-06 Daniel Jacobowitz <dan@codesourcery.com> + + * elf32-arm.c (elf32_arm_check_relocs): Avoid aliasing warnings from + GCC. + (elf32_arm_size_dynamic_sections): Likewise. + * ecofflink.c (bfd_ecoff_debug_one_external): Likewise. + * elf32-hppa.c (elf32_hppa_check_relocs): Likewise. + * elf32-m32r.c (m32r_elf_check_relocs): Likewise. + * elf32-m68k.c (elf_m68k_check_relocs): Likewise. + * elf32-ppc.c (ppc_elf_check_relocs): Likewise. + * elf32-s390.c (elf_s390_check_relocs): Likewise. + (elf_s390_size_dynamic_sections): Likewise. + * elf32-sh.c (sh_elf_check_relocs): Likewise. + * elf64-ppc.c (ppc64_elf_check_relocs, dec_dynrel_count) + (ppc64_elf_size_dynamic_sections): Likewise. + * elf64-s390.c (elf_s390_check_relocs): Likewise. + (elf_s390_size_dynamic_sections): Likewise. + * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_sections): Likewise. + * elfxx-sparc.c (_bfd_sparc_elf_check_relocs): Likewise. + (_bfd_sparc_elf_size_dynamic_sections): Likewise. + * ieee.c (ieee_slurp_section_data): Likewise. + * oasys.c (oasys_slurp_section_data): Likewise. + +2005-10-04 Bob Wilson <bob.wilson@acm.org> + + * archive.c: Add missing SUBSECTION for documentation. + * bfd.c: Likewise. + * cache.c: Likewise. + * corefile.c: Likewise. + * format.c: Likewise. + * init.c: Likewise. + * libbfd.c: Likewise. + * opncls.c: Likewise. + * elf.c: Remove blank line after SECTION heading. + * reloc.c: Change "howto manager" SECTION to a SUBSECTION. + +2005-10-04 Nick Clifton <nickc@redhat.com> + + * elf32-arm.c (get_arm_elf_section_data): Cache the last pointer + matched so that the typical case of scanning for the previous + section to last one can be handled quickly. + +2005-10-03 David Heine <dlheine@tensilica.com> + + * elf32-xtensa.c (relocations_reach): Skip range check for + absolute literals. + +2005-10-03 Alan Modra <amodra@bigpond.net.au> + + * elf.c (_bfd_elf_get_synthetic_symtab): Set BSF_GLOBAL on + synthetic syms. + +2005-09-30 H.J. Lu <hongjiu.lu@intel.com> + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerated. + * aclocal.m4: Likewise. + +2005-09-30 Catherine Moore <clm@cm00re.com> + + * Makefile.am: Bfin support. + * Makefile.in: Regenerated. + * aclocal.m4: Regenerated. + * archures.c (bfd_mach_bfin): New. + (bfd_arch_bfin): New. + bfd-in.h (bfd_bfin_elf32_create_embedded_relocs): New. + * bfd-in2.h: Regenerated. + * config.bfd: Bfin support. + * configure: Regenerated. + * configure.in: Bfin support. + * libbfd.h: Regenerated. + * reloc.c: Add BFD relocations for Bfin. + * targets.c (bfd_elf32_bfin_vec): New. + * cpu-bfin.c: New file. + * elf32-bfin.c: New file. + +2005-09-30 Alan Modra <amodra@bigpond.net.au> + + * elf64-ppc.c (ppc_type_of_stub): Check both func desc and func + entry sym before deciding no stub is needed. + (ppc64_elf_size_stubs): When calculating branch destination, + don't use func desc sym for old ABI objects unless func entry + is undefined. + +2005-09-28 H.J. Lu <hongjiu.lu@intel.com> + + PR binutils/1321 + * elf-bfd.h (_bfd_elf_setup_group_pointers): Renamed to ... + (_bfd_elf_setup_sections): This. + * elf.c: Likewise. + * elfcode.h (elf_object_p): Likewise. + + * elf.c (_bfd_elf_setup_sections): Process SHF_LINK_ORDER. + (_bfd_elf_copy_private_section_data): Likewise. + +2005-09-28 H.J. Lu <hongjiu.lu@intel.com> + + * elflink.c (elf_fixup_link_order): Report locations for mixed + ordered and unordered input sections. + +2005-09-22 James E. Wilson <wilson@specifix.com> + + * dwarf2.c (struct funcinfo): Delete nesting_level field. + (lookup_address_in_function_table): Delete code to set funcinfo + caller_func field. Delete local curr_func. + (scan_unit_for_symbols): New locals nested_funcs, nested_funcs_size. + Delete code setting funcinfo nesting_level field. Add code to set + funcinfo caller_func field. + +2005-09-20 James E. Wilson <wilson@specifix.com> + + * dwarf2.c (find_abstract_instance_name): Don't early exit when name + set. For DW_AT_name case, only set name if not already set. Handle + DW_AT_MIPS_linkage_name. + +2005-09-20 Alan Modra <amodra@bigpond.net.au> + + * elflink.c (_bfd_elf_merge_symbol): Simplify. + +2005-09-19 Alan Modra <amodra@bigpond.net.au> + + * elf64-ppc.c (ppc_build_one_stub): Replace assertion that long + branch offset is in range with an error. Print full stub name on + errors. + (ppc_size_one_stub): Print full stub name on errors. + (group_sections): Warn if section size exceeds group size. + (ppc64_elf_size_stubs): Continue relaxing when stub types change. + +2005-09-09 Kevin Buettner <kevinb@redhat.com> + + * elf32-am33lin.c (bfd.h, sysdep.h, elf-bfd.h, elf/mn10300.h): + Include. + (elf32_am33lin_grok_prstatus, elf32_am33lin_grok_psinfo): New + functions. + (elf_backend_grok_prstatus, elf_backend_grok_psinfo): Define. + +2005-09-09 Richard Earnshaw <richard.earnshaw@arm.com> + + * elf32-arm.c (elf32_arm_section_from_shdr): Accept SHT_ARM_PREEMPTMAP + and SHT_ARM_ATTRIBUTES. + +2005-09-08 H.J. Lu <hongjiu.lu@intel.com> + + * elflink.c (elf_get_linked_section_vma): Fix a typo in comment. + * elfxx-ia64.c (elf_backend_link_order_error_handler): Likewise. + +2005-09-08 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/1263 + * elflink.c (elf_link_add_object_symbols): Abort for + --just-symbols on DSO. + +2005-09-08 Paul Brook <paul@codesourcery.com> + + * reloc.c: Rename BFD_RELOC_ARM_SMI to BFD_RELOC_ARM_SMC. + * bfd-in2.h: Regenerate. + * libbfd.h: Regenerate. + +2005-09-06 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/1301 + * elflink.c (_bfd_elf_merge_symbol): Don't check undefined + symbol introduced by "ld -u" for TLS. + +2005-09-02 Paul Brook <paul@codesourcery.com> + + * libbdf.h: Regenerate. + * bfd-in2.h: Regenerate. + * reloc.c: Add BFD_RELOC_ARM_T32_CP_OFF_IMM and + BFD_RELOC_ARM_T32_CP_OFF_IMM_S2. + +2005-09-01 Dmitry Diky <diwil@spec.ru> + + * elf32-msp430.c (msp430_elf_relax_delete_bytes): Do not adjust + local symbols and move it to + (msp430_elf_relax_adjust_locals): New function - walk over the + sections in the bfd and adjust relocations as necessary. + +2005-08-31 DJ Delorie <dj@redhat.com> + + * elf32-i386.c (elf_i386_check_relocs): Don't cast a unary & + address operator, as that breaks GCC's strict aliasing rules. + (elf_i386_size_dynamic_sections): Avoid the need for type + punning. + * elf64-x86-64.c (elf_x86_64_check_relocs): Don't cast a unary + & address operator, as that breaks GCC's strict aliasing + rules. + (elf_x86_64_size_dynamic_sections): Avoid the need for type + punning. + +2005-08-30 Phil Edwards <phil@codesourcery.com> + + * config.bfd (i[3-7]86-*-vxworks): Match vxworks* instead. + +2005-08-29 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/1247 + * elfxx-ia64.c (allocate_fptr): Check undefined symbol. + +2005-08-29 Steven J. Hill <sjhill@realitydiluted.com> + + * elfxx-mips.c (_bfd_mips_elf_relocate_section): Initialise + 'value' to avoid compile time warning message. + +2005-08-26 Christian Groessler <chris@groessler.org> + + * coff-z8k.c: (r_jr, r_disp7, r_callr): Fix src_mask and dst_mask + of HOWTO. + (coff_z8k_select_reloc): Remove. + (SELECT_RELOC): Remove. + (coff_z8k_reloc_type_lookup): New function. + (coff_bfd_reloc_type_lookup): Define. + * configure.in: Add cofflink.lo to z8kcoff_vec. + * configure: Regenerate. + * reloc.c: (bfd_reloc_code_type): Add z8k relocations. + (bfd_install_relocation): Don't clear reloc_entry->addend for + coff-z8k target. + * bfd-in2.h: Regenerate. + * libbfd.h: Regenerate. + +2005-08-25 Kaz Kojima <kkojima@rr.iij4u.or.jp> + + * elf32-sh.c (sh_elf_get_flags_from_mach): Fix off-by-one error. + +2005-08-24 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/1208 + * elf-hppa.h (elf_hppa_relocate_section): Print out the name + of unresolvable relocation. + * elf-m10300.c (mn10300_elf_relocate_section): Likewise. + * elf32-arm.c (elf32_arm_relocate_section): Likewise. + * elf32-i386.c (elf_i386_relocate_section): Likewise. + * elf32-m32r.c (m32r_elf_relocate_section): Likewise. + * elf32-m68k.c (elf_m68k_relocate_section): Likewise. + * elf32-s390.c (elf_s390_relocate_section): Likewise. + * elf32-sh.c (sh_elf_relocate_section): Likewise. + * elf32-xtensa.c (elf_xtensa_relocate_section): Likewise. + * elf64-s390.c (elf_s390_relocate_section): Likewise. + * elf64-sh64.c (sh_elf64_relocate_section): Likewise. + * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. + * elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Likewise. + +2005-08-18 Kaz Kojima <kkojima@rr.iij4u.or.jp> + + * config.bfd: Add bfd_elf32_shnbsd_vec and bfd_elf32_shlnbsd_vec + to targ_selvecs for sh5*-*-netbsd* and sh64*-*-netbsd*. + +2005-08-18 Alan Modra <amodra@bigpond.net.au> + + * coff-a29k.c: Delete. + * cpu-a29k.c: Delete. + * Makefile.am: Remove mention of a29k files. + * aoutf1.h: Remove a29k support. + * aoutx.h: Likewise. + * archures.c: Likewise. + * coffcode.h: Likewise. + * config.bfd: Likewise. + * configure.in: Likewise. + * ieee.c: Likewise. + * mipsbsd.c: Likewise. + * pdp11.c: Likewise. + * sparclynx.c: Likewise. + * targets.c: Likewise. + * Makefile.in: Regenerate. + * configure: Regenerate. + * bfd-in2.h: Regenerate. + * po/SRC-POTFILES.in: Regenerate. + +2005-08-18 Alan Modra <amodra@bigpond.net.au> + + * elf-m10300.c (_bfd_mn10300_elf_adjust_dynamic_symbol): Warn on + zero size dynamic variables. + * elf32-arm.c (elf32_arm_adjust_dynamic_symbol): Likewise. + * elf32-cris.c (elf_cris_adjust_dynamic_symbol): Likewise. + * elf32-hppa.c (elf32_hppa_adjust_dynamic_symbol): Likewise. + * elf32-i370.c (i370_elf_adjust_dynamic_symbol): Likewise. + * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Likewise. + * elf32-m32r.c (m32r_elf_adjust_dynamic_symbol): Likewise. + * elf32-m68k.c (elf_m68k_adjust_dynamic_symbol): Likewise. + * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Likewise. + * elf32-s390.c (elf_s390_adjust_dynamic_symbol): Likewise. + * elf32-sh.c (sh_elf_adjust_dynamic_symbol): Likewise. + * elf32-vax.c (elf_vax_adjust_dynamic_symbol): Likewise. + * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Likewise. + * elf64-s390.c (elf_s390_adjust_dynamic_symbol): Likewise. + * elf64-sh64.c (sh64_elf64_adjust_dynamic_symbol): Likewise. + * elf64-x86-64.c (elf64_x86_64_adjust_dynamic_symbol): Likewise. + * elfxx-sparc.c (_bfd_sparc_elf_adjust_dynamic_symbol): Likewise. + +2005-08-17 H.J. Lu <hongjiu.lu@intel.com> + + PR binutils/1179 + * dwarf2.c (_bfd_dwarf2_find_nearest_line): Use section lma + instead of vma. + (_bfd_dwarf2_find_line): Likewise. + +2005-08-17 Alan Modra <amodra@bigpond.net.au> + + * elf64-mmix.c (mmix_elf_add_symbol_hook): Mark reg section + SEC_LINKER_CREATED. + (mmix_elf_final_link): Check that section hasn't already been + removed before removing. + * mmo.c (mmo_scan): Mark reg contents section SEC_LINKER_CREATED. + (mmo_canonicalize_symtab): Likewise for reg section. + +2005-08-17 Alan Modra <amodra@bigpond.net.au> + + * elf32-cris.c (elf_cris_adjust_gotplt_to_got): Move assert later. + * elfxx-mips.c (_bfd_mips_elf_hide_symbol): Cope with being called + without any got section. + +2005-08-17 Danny Smith <dannysmith@users.sourceforge.net> + + * cofflink.c (_bfd_coff_generic_relocate_section): Correct + comment. + +2005-08-17 Alan Modra <amodra@bigpond.net.au> + + * elflink.c (_bfd_elf_define_linkage_sym): Don't call + bfd_elf_link_record_dynamic_symbol. Call elf_backend_hide_symbol. + (_bfd_elf_link_renumber_dynsyms): Formatting. + (struct elf_gc_sweep_symbol_info): New. + (elf_gc_sweep_symbol): Rewrite. + (elf_gc_sweep): Adjust params and elf_gc_sweep_symbol call. + Call _bfd_elf_link_renumber_dynsyms. + (bfd_elf_gc_sections): Adjust elf_gc_sweep call. + +2005-08-16 Alan Modra <amodra@bigpond.net.au> + + * elf64-ppc.c (ppc64_elf_edit_opd): Don't call dec_dynrel_count + when relocatable. + +2005-08-15 Bob Wilson <bob.wilson@acm.org> + + * elf32-xtensa.c (ELF_MACHINE_CODE, ELF_MACHINE_ALT1): Swap values + of EM_XTENSA and EM_XTENSA_OLD. + +2005-08-16 Alan Modra <amodra@bigpond.net.au> + + * elf-bfd.h (_bfd_elf_define_linkage_sym): Declare. + * elflink.c (_bfd_elf_define_linkage_sym): New function, extracted + from.. + (_bfd_elf_create_got_section): ..here. + (_bfd_elf_link_create_dynamic_sections): Call it for _DYNAMIC. + (_bfd_elf_create_dynamic_sections): ..and _PROCEDURE_LINKAGE_TABLE_. + * elf-m10300.c (_bfd_mn10300_elf_create_got_section): Use + _bfd_elf_define_linkage_sym. + * elf32-frv.c (_frv_create_got_section): Likewise. + * elf64-alpha.c (elf64_alpha_create_dynamic_sections): Likewise. + +2005-08-15 Paul Brook <paul@codesourcery.com> + + * elf32-arm.c (elf32_arm_howto_table_1): Make R_ARM_PLT32 the same as + R_ARM_PC24. + +2005-08-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + PR ld/1135 + * elf64-hppa.c (elf64_hppa_special_sections): Add flag definitions for + .plt, .dlt, .sdata, .sbss and .tbss. + +2005-08-12 Dmitry Diky <diwil@spec.ru> + + * elf32-msp430.c (msp430_elf_relax_delete_bytes): Adjust relocations + referenced by .section + DISPLACEMENT. + +2005-08-10 James E. Wilson <wilson@specifix.com> + + * dwarf2.c (scan_unit_for_symbols, case DT_AT_location): Verify that + DW_OP_addr is only opcode in location before using it. + +2005-08-09 H.J. Lu <hongjiu.lu@intel.com> + + * elfxx-ia64.c (elfNN_ia64_final_link): Reset gp. + +2005-08-09 Rodney Brown <rbrown@bravurasolutions.com.au> + Nick Clifton <nickc@redhat.com> + + * aix5ppc-core.c (xcoff64_core_p): Constify return_value + variable. Also, do not use core_hdr macro as it evaluates to a + cast of an lvalue which is no longer supported by GCC 4.0. + +2005-08-08 Eric Dönges <Eric.Doenges@betty-tv.com> + + * archures.c (bfd_mach_msp21): New MSP430 machine number. + * bfd-in2.h: Regenerate. + * cpu-msp430.c (arch_info_struct): Add support for msp430x21xx + variants. + +2005-08-07 Nick Clifton <nickc@redhat.com> + Paul Brook <paul@codesourcery.com> + + PR 1147 + * elf32-arm.c (bfd_elf32_close_and_cleanup): Define. + (elf32_arm_close_and_cleanup): New function - walk over the + sections in the bfd that is being closed removing them from the + list of recorded sections. + (unrecord_section_via_map_over_sections): New helper function. + (record_section_with_arm_elf_section_data): Call bfd_malloc + instead of bfd_alloc. Remove unneeded abfd parameter. + (elf32_arm_new_section_hook): Do not pass bfd to + record_section_with_arm_elf_section_data. + + * elfxx-target.h (bfd_elfNN_close_and_cleanup): Only define if not + already defined by the target. + +2005-08-05 Fred Fish <fnf@specifix.com> + + * dwarf2.c (read_rangelist): Use addr_size instead of offset_size + to determine how many bytes to read from each rangelist entry. + +2005-08-05 H.J. Lu <hongjiu.lu@intel.com> + + * bfd.c (bfd_hide_symbol): New. + * bfd-in2.h: Regenerated. + +2005-08-04 H.J. Lu <hongjiu.lu@intel.com> + + * elf64-x86-64.c (elf64_x86_64_merge_symbol): When mixing a + large common symbol and a normal common symbol, always turn + the large common symbol into a normal one. + +2005-08-04 Alan Modra <amodra@bigpond.net.au> + + * elf32-ppc.c (struct elf_linker_section): Replace sym_val field + with sym. + (ppc_elf_relocate_section): Adjust for above. + (create_sdata_sym): New function. + (ppc_elf_create_linker_section): Call it. + (ppc_elf_check_relocs): Correct has_sda_refs and non_got_refs. + Create sdata syms for all SDA relocs. + (ppc_elf_adjust_dynamic_symbol): Don't special case _SDA_BASE_ + and _SDA2_BASE_. + (ppc_elf_set_sdata_syms): Delete. + * elflink.c (bfd_elf_size_dynamic_sections): Don't create DT_INIT + and DT_FINI tags unless associated section has input. + (bfd_elf_set_symbol, _bfd_elf_provide_symbol): Delete. + (_bfd_elf_provide_section_bound_symbols): Delete. + * bfd-in.h (_bfd_elf_provide_symbol): Delete. + (_bfd_elf_provide_section_bound_symbols): Delete. + * bfd-in2.h: Regenerate. + +2005-08-04 Alan Modra <amodra@bigpond.net.au> + + * elflink.c (fix_syms, _bfd_elf_fix_excluded_sec_syms): Move to.. + * linker.c (fix_syms, _bfd_fix_excluded_sec_syms): ..here. + * bfd-in.h (_bfd_fix_excluded_sec_syms): Rename. + * bfd-in2.h: Regenerate. + +2005-08-03 H.J. Lu <hongjiu.lu@intel.com> + + * elfxx-ia64.c (elfNN_ia64_relax_section): Resize .rela.got + only if it isn't NULL. + +2005-08-03 H.J. Lu <hongjiu.lu@intel.com> + + * elf32-i386.c (elf_howto_table): Undo the overflow change for + R_386_PC16 made on 2005-07-18. + + * elf64-x86-64.c (x86_64_elf_howto_table): Undo the overflow + change for R_X86_64_PC16 made on 2005-07-18. + +2005-08-03 Alan Modra <amodra@bigpond.net.au> + + * elf32-ppc.c (struct ppc_elf_link_hash_table): Remove hgot. Use + elf.hgot throughout file. + +2005-08-03 Alan Modra <amodra@bigpond.net.au> + + * elf32-ppc.c (ppc_elf_size_dynamic_sections): Correct value of + _GLOBAL_OFFSET_TABLE_ for > 32k GOT. + +2005-08-02 Andreas Schwab <schwab@suse.de> + + * elfxx-ia64.c (struct elfNN_ia64_allocate_data): Add only_got. + (elfNN_ia64_relax_section): Reallocate .rela.got when .got has + changed. + (allocate_dynrel_entries): Look only at GOT relocations when + only_got is true. + (elfNN_ia64_size_dynamic_sections): Set only_got to false before + calling allocate_dynrel_entries. + +2005-08-02 Nick Clifton <nickc@redhat.com> + + PR 1147 + * elf32-arm.c (struct _arm_elf_section_data): Turn into a typedef + and make the mapcount field unsigned. + (struct section_list): New: Used to keep track of which sections + have an _arm_elf_section_data structure. + (record_section_with_arm_elf_section_data): New function. + (get_arm_elf_section_data): New function. + (unrecord_section_with_arm_elf_section_data): New function. + (elf32_arm_output_symbol_hook): Use get_arm_elf_section_data. + (elf32_arm_new_section_hook): Call + record_section_with_arm_elf_section_data. + (elf32_arm_write_section): Use get_arm_elf_section_data and + unrecord_section_with_arm_elf_section_data. + +2005-08-01 Richard Sandiford <richard@codesourcery.com> + + * elfxx-mips.c (mips_mach_extends_p): Treat MIPS64 as an extension + of MIPS32 and MIPS64r2 as an extension of MIPS32r2. + +2005-07-30 David Daney <ddaney@avtrex.com> + + * elflink.c (elf_gc_sweep): Set dynsymcount to correct value. + +2005-07-29 David Daney <ddaney@avtrex.com> + + * elfxx-mips.c (_bfd_mips_elf_add_symbol_hook): Ignore _gp_disp + if it is in the *ABS* section. + +2005-07-29 Paul Brook <paul@codesourcery.com> + + * reloc.c: Add BFD_RELOC_ARM_T32_ADD_PC12. + * bfd-in2.h: Regenerate. + * libbfd.h: Regenerate. + +2005-07-29 Paul Brook <paul@codesourcery.com> + + * reloc.c (BFD_RELOC_ARM_T32_IMM12): Add. + * bfd-in2.h: Regeenrate. + * libbfd.h: Regenerate. + +2005-07-29 Pavel Kankovsky <peak@argo.troja.mff.cuni.cz> + + * peXXigen.c (pe_print_edata): Compute the size of the export + table from the size field in the DataDictionary and not the size + of the section. Some linkers embed the export table inside a + larger section. + +2005-07-29 Alan Modra <amodra@bigpond.net.au> + + * elf-bfd.h (struct elf_backend_data): Add action_discarded. + (enum action_discarded): Move from.. + * elflink.c (enum action_discarded): ..here. + (_bfd_elf_default_action_discarded): Rename from elf_action_discarded. + Remove target specific section checks. + (elf_link_input_bfd): Adjust. + * elfxx-target.h (elf_backend_action_discarded): Define. + (elfNN_bed): Init new field. + * bfd-in.h (_bfd_elf_default_action_discarded): Declare. + * bfd-in2.h: Regenerate. + * elf-hppa.h (elf_hppa_action_discarded): New function. + * elf32-hppa.c (elf_backend_action_discarded): Define. + * elf64-hppa.c (elf_backend_action_discarded): Define. + * elf32-ppc.c (ppc_elf_action_discarded): New function. + (elf_backend_action_discarded): Define. + +2005-07-27 Alan Modra <amodra@bigpond.net.au> + + * elflink.c (fix_syms): Handle symbols defined in input sections. + +2005-07-27 Jan Beulich <jbeulich@novell.com> + + * elf64-x86-64.c (R_X86_64_standard, R_X86_64_vt_offset): New. + (elf64_x86_64_info_to_howto): Use them. + +2005-07-27 Alan Modra <amodra@bigpond.net.au> + + * elflink.c (_bfd_elf_merge_symbol): Skip weak redefinition + regardless of strength of previous definition. + +2005-07-26 Alan Modra <amodra@bigpond.net.au> + + * elflink.c (elf_gc_mark_dynamic_ref_symbol): Handle -shared. + (bfd_elf_gc_sections): Allow -gc-sections when -shared. + * elf32-ppc.c (ppc_elf_gc_sweep_hook): Correct for -shared. + +2005-07-26 Alan Modra <amodra@bigpond.net.au> + + * elflink.c (elf_gc_sweep): Move gcc_except_table code.. + (bfd_elf_gc_sections): ..to here. + +2005-07-25 DJ Delorie <dj@redhat.com> + + * reloc.c: Remove unused M32C relocs, add BFD_RELOC_M32C_HI8. + * libbfd.h: Regenerate. + * bfd-in2.h: Regenerate. + + * elf32-m32c.c (m32c_elf_howto_table): Add R_M32C_8, R_M32C_LO16, + R_M32C_HI8, R_M32C_HI16. + (m32c_reloc_map): Likewise. + (m32c_elf_relocate_section): Add R_M32C_HI8 and R_M32C_HI16. + +2005-07-25 Jan Hubicka <jh@suse.cz> + H.J. Lu <hongjiu.lu@intel.com> + + * elf-bfd.h (_bfd_elf_large_com_section): New. + * elf.c (_bfd_elf_large_com_section): New. Defined. + + * elf64-x86-64.c (elf64_x86_64_add_symbol_hook): New. + (elf64_x86_64_elf_section_from_bfd_section): New. + (elf64_x86_64_symbol_processing): New. + (elf64_x86_64_common_definition): New. + (elf64_x86_64_common_section_index): New. + (elf64_x86_64_common_section): New. + (elf64_x86_64_merge_symbol): New. + (elf64_x86_64_additional_program_headers): New. + (elf64_x86_64_special_sections): New. + (elf_backend_section_from_bfd_section): New. Defined. + (elf_backend_add_symbol_hook): Likewise. + (elf_backend_common_section_index): Likewise. + (elf_backend_common_section): Likewise. + (elf_backend_common_definition): Likewise. + (elf_backend_merge_symbol): Likewise. + (elf_backend_special_sections): Likewise. + (elf_backend_additional_program_headers): Likewise. + +2005-07-25 H.J. Lu <hongjiu.lu@intel.com> + + * elf-bfd.h (elf_backend_data): Add common_definition, + common_section_index, common_section, and merge_symbol. + (_bfd_elf_common_definition): New. + (_bfd_elf_common_section_index): New. + (_bfd_elf_common_section): New. + + * elf.c (elf_fake_sections): Don't clear sh_flags. + + * elflink.c (_bfd_elf_merge_symbol): Call backend merge_symbol + if it is available. + (is_global_data_symbol_definition): Call backend + common_definition instead of checking SHN_COMMON. + (elf_link_add_object_symbols): Likewise. + (elf_link_output_extsym): Call backend common_section_index + for common section index. + (_bfd_elf_common_definition): New. + (_bfd_elf_common_section_index): New. + (_bfd_elf_common_section): New. + + * elfxx-target.h (elf_backend_common_definition): New. + (elf_backend_common_section_index): New. + (elf_backend_common_section): New. + (elf_backend_merge_symbol): New. + (elfNN_bed): Initialize common_definition, common_section_index, + common_section, and merge_symbol. + + * section.c (BFD_FAKE_SECTION): New. + (STD_SECTION): Use it. + * bfd-in2.h: Regenerated. + +2005-07-23 Olaf Hering <olh@suse.de> + + * elflink.c (elf_link_input_bfd): Add '\n' for linker einfo + callback. + +2005-07-21 Ralf Corsepius <ralf.corsepius@rtems.org> + + * config.bfd: Remove i[3-7]86-*-rtemself*. + Remove sparc-*-rtemself*. + +2005-07-22 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> + + * elf32-m32r.c (m32r_elf_check_relocs): Fix pc count for + R_M32R_REL32. + +2005-07-21 Ben Elliston <bje@gnu.org> + + * Makefile.am (BFD32_BACKENDS): Remove cf-m68klynx.lo. + (BFD32_BACKENDS): Likewise, remove m68klynx.lo. + (BFD32_BACKENDS_CFILES): Remove cf-m68klynx.c, m68klynx.c. + (cf-m68klynx.lo, m68klynx.lo): Remove targets. + * Makefile.in: Regenerate. + * cf-m68klynx.c: Remove. + * m68klynx.c: Likewise. + * configure.in (m68klynx_aout_vec): Remove vector. + (m68klynx_coff_vec): Likewise. + * configure: Regenerate. + * targets.c (m68klynx_aout_vec): Remove extern. + (m68klynx_coff_vec): Likewise. + (_bfd_target_vector): Remove m68klynx_{aout,coff}_vec. + * po/SRC-POTFILES.in: Remove cf-m68klynx.c, m68klynx.c. + +2005-07-20 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> + + * elf32-m32r.c (m32r_elf_howto_table): Support R_M32R_REL32. + (m32r_reloc_map): Likewise. + (m32r_elf_relocate_section): Likewise. + (m32r_elf_gc_sweep_hook): Likewise. + (m32r_elf_check_relocs): Likewise. + +2005-07-18 Nick Clifton <nickc@redhat.com> + + * reloc.c: Add M32C and MS1 relocs. + * bfd-in2.h: Regenerate. + * libbfd.h: Regenerate. + +2005-07-18 Nick Clifton <nickc@redhat.com> + + * config.bfd: Move m32c entry to correct location. + * archures.c: Likewise. + * configure.in: Likewise. + * configure: Regenerate. + * targets.c: Move ms1 vector to correct location. + +2005-07-18 Jan Beulich <jbeulich@novell.com> + + * elf32-i386.c (elf_howto_table): Adjust overflow complaint handler + for R_386_PC16. + * elf64-x86-64.c (x86_64_elf_howto_table): Adjust overflow complaint + handler for R_X86_64_PC16, R_X86_64_8, and R_X86_64_DTPOFF. + +2005-07-16 Eric Botcazou <ebotcazou@libertysurf.fr> + + PR ld/1021 + PR ld/1031 + * elflink.c (elf_link_add_object_symbols): Also append the version + name to non-hidden absolute symbols that are functions. + +2005-07-16 Alan Modra <amodra@bigpond.net.au> + + * elf32-ppc.c (ppc_elf_set_sdata_syms): Return void. Remove hack + for zero size sections. Don't set .sbss syms here. + * elf32-ppc.h (ppc_elf_set_sdata_syms): Adjust prototype. + +2005-07-16 Alan Modra <amodra@bigpond.net.au> + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + +2005-07-15 Bob Wilson <bob.wilson@acm.org> + + * elf32-xtensa.c (vsprint_msg): Add prototype. + (build_encoding_error_message): Delete. Code moved into.... + (elf_xtensa_do_reloc): ....here, and changed to give better + error messages for out of range literals. + +2005-07-15 Alan Modra <amodra@bigpond.net.au> + + * elflink.c (bfd_elf_record_link_assignment): Remove output_bfd param. + (_bfd_elf_provide_symbol): Allow redefinition of weak syms and those + defined in output sections. Call bfd_elf_record_link_assignment. + * bfd-in.h (bfd_elf_record_link_assignment): Update prototype. + * bfd-in2.h: Regenerate. + +2005-07-14 Jim Blandy <jimb@redhat.com> + + Add support for m32c-*-elf (Renesas m32c and m16c). + * Makefile.am (ALL_MACHINES): Add cpu-m32c.lo. + (ALL_MACHINES_CFILES): Add cpu-m32c.c. + (BFD32_BACKENDS): Add elf32-m32c.lo. + (BFD32_BACKENDS_CFILES): Add elf32-m32c.c. + (cpu-m32c.lo, elf32-m32c.lo): New rules, generated by 'make dep-am'. + * Makefile.in: Regenerated. + * archures.c (bfd_arch_m32c, bfd_mach_m16c, bfd_mach_m32c): New + arch and mach codes. + (bfd_m32c_arch): New arch info object. + (bfd_archures_list): List bfd_m32c_arch. + * bfd-in2.h: Regenerated. + * config.bfd: Add case for the m32c. + * configure.in: Add case for the m32c. + * configure: Regenerated. + * cpu-m32c.c, elf32-m32c.c: New files. + * libbfd.h: Regenerated. + * targets.c (bfd_elf32_m32c_vec): Declare. + (_bfd_target_vector): List bfd_elf32_m32c_vec. + +2005-07-14 Alan Modra <amodra@bigpond.net.au> + + * bfd-in.h (_bfd_elf_fix_excluded_sec_syms): Declare. + (_bfd_elf_provide_section_bound_symbols): Remove param name. + Formatting. + * bfd-in2.h: Regenerate. + * elflink.c (bfd_elf_gc_sections): Don't call generic function. + (_bfd_elf_provide_symbol): Formatting. + (_bfd_elf_provide_section_bound_symbols): Remove all hacks, just + create section relative syms. + (fix_syms, _bfd_elf_fix_excluded_sec_syms): New functions. + * elf32-ppc.c (ppc_elf_set_sdata_syms): Use + _bfd_elf_provide_section_bound_symbols. + * reloc.c (bfd_mark_used_section): Delete. + (bfd_generic_gc_sections): Don't call the above. + +2005-07-14 Paul Woegerer <paul.woegerer@nsc.com> + + PR 1063 + * cache.c (bfd_last_cache): Initialise to NULL. + +2005-07-14 Daniel Marques <marques@cs.cornell.edu> + Nick Clifton <nickc@redhat.com> + + * coff-alpha.c (alpha_ecoff_bad_format_hook): Detect compressed + Alpha binaries and issue a helpful error message. + (alpha_ecoff_swap_reloc_out): Increase maximum allowed internal + symbol index to 15 to allow for binaries produced by DEC + compilers. + +2005-07-13 Steve Ellcey <sje@cup.hp.com> + + * bfd.m4 (BFD_NEED_DECLARATION): Remove. + +2005-07-12 Alan Modra <amodra@bigpond.net.au> + + * elf64-ppc.c (ppc64_elf_relocate_section): Don't use a plt stub + when !can_plt_call. + +2005-07-12 Alan Modra <amodra@bigpond.net.au> + + * elf32-xtensa.c (bfd_elf_xtensa_reloc): Warning fix. + +2005-07-12 Alan Modra <amodra@bigpond.net.au> + + * elf32-ppc.c (ppc_elf_set_sdata_syms): Correct __sbss_start value. + +2005-07-11 H.J. Lu <hongjiu.lu@intel.com> + + * elflink.c (_bfd_elf_symbol_refs_local_p): Revert the last + change. + +2005-07-08 Paul Koning <pkoning@equallogic.com> + + * dwarf2.c (read_address): Check sign_extend_vma to handle targets + where addresses are sign extended. + +2005-07-08 Ralf Corsepius <ralf.corsepius@rtems.org> + + * config.bfd: Mark i960-*-rtems*, or32-*-rtems* as obsolete. + Mark a29k-*rtems*, hppa*-*-rtems*, *-go32-rtems*, + i[3-7]86*-*-rtemscoff*, mips*el-*-rtems*, powerpcle-*-rtems*, + sparc*-*-rtemsaout* as removed + +2005-07-08 Alan Modra <amodra@bigpond.net.au> + + * elf-hppa.h (elf_hppa_final_link): Use gp val of zero when none + of the usual sections are found. + * elf-m10300.c (_bfd_mn10300_elf_size_dynamic_sections): Tidy. + Strip .dynbss if it is zero size. + * elf32-arm.c (elf32_arm_size_dynamic_sections): Likewise. + * elf32-cris.c (elf_cris_size_dynamic_sections): Likewise. + * elf32-hppa.c (elf32_hppa_size_dynamic_sections): Likewise. + * elf32-i370.c (i370_elf_size_dynamic_sections): Likewise, and + .dynsbss. + (i370_elf_finish_dynamic_sections): Don't attempt to write .got + when it is zero size. + * elf32-i386.c (elf_i386_size_dynamic_sections): Correct handling + of .dynbss and zero size sections. + * elf32-m32r.c (m32r_elf_size_dynamic_sections): Strip .dynbss if + it is zero size. + * elf32-m68k.c (elf_m68k_size_dynamic_sections): Tidy. Strip + .dynbss if zero size. + * elf32-ppc.c (ppc_elf_size_dynamic_sections): Likewise, .dynsbss + too. + * elf32-s390.c (elf_s390_size_dynamic_sections): Likewise. + * elf32-sh.c (sh_elf_size_dynamic_sections): Likewise. + * elf32-vax.c (elf_vax_size_dynamic_sections): Likewise. + * elf32-xtensa.c (elf_xtensa_size_dynamic_sections): Tidy. Strip + .plt.* and .got.plt.* if zero size. + * elf64-alpha.c (elf64_alpha_size_dynamic_sections): Tidy. Strip + .got* and .dynbss if zero size. + * elf64-hppa.c (elf64_hppa_size_dynamic_sections): Tidy. Strip + * elf64-ppc.c (create_linkage_sections): Create branch lookup table + in .data.rel.ro.brlt or .rodata.brlt, and similarly for associated + reloc section. + (create_got_section): Always create new .got and .rela.got sections. + (ppc64_elf_size_dynamic_sections): Tidy. Strip .dynbss if zero size. + * elf64-s390.c (elf_s390_size_dynamic_sections): Likewise. + * elf64-sh64.c (sh64_elf64_size_dynamic_sections): Likewise. + * elf64-x86-64.c (elf64_x86_64_size_dynamic_sections): Handle + dynamic bss sections correctly. + * elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Tidy. + * elfxx-sparc.c (_bfd_sparc_elf_size_dynamic_sections): Tidy. Strip + .dynbss if zero size. + +2005-07-08 Ben Elliston <bje@au.ibm.com> + + * elf32-xtensa.c: Include <stdarg.h> unconditionally, not only + when ANSI_PROTOTYPES is defined. Remove #ifdef logic. + +2005-07-07 H.J. Lu <hongjiu.lu@intel.com> + + * elf-bfd.h (elf_backend_data): Add special_sections. + + * elf.c (_bfd_elf_get_sec_type_attr): Check special_sections + first. + + * elf32-arm.c (elf_backend_get_sec_type_attr): Removed. + (elf_backend_special_sections): New. Defined. + * elf32-m32r.c: Likewise. + * elf32-m68hc11.c: Likewise. + * elf32-m68hc12.c: Likewise. + * elf32-mcore.c: Likewise. + * elf32-sh64.c: Likewise. + * elf32-v850.c: Likewise. + * elf32-xtensa.c: Likewise. + * elf64-alpha.c: Likewise. + * elf64-hppa.c: Likewise. + * elf64-ppc.c: Likewise. + * elf64-sh64.c: Likewise. + * elfxx-ia64.c: Likewise. + * elfxx-mips.c: Likewise. + * elfxx-mips.h: Likewise. + + * elfxx-target.h (elf_backend_special_sections): New. + (elfNN_bed): Initialize special_sections. + +2005-07-07 Bob Wilson <bob.wilson@acm.org> + + * xtensa-modules.c: Update tables with Xtensa MMU features. + +2005-07-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * elf32-xtensa.c (vsprint_msg): Add format attribute. Fix + format bugs. + * vms.h (_bfd_vms_debug): Add format attribute. + (_bfd_vms_debug, _bfd_hexdump): Fix typos. + +2005-07-07 H.J. Lu <hongjiu.lu@intel.com> + + PR 975 + * elflink.c (_bfd_elf_symbol_refs_local_p): Only undefined + symbol with default visibility is local. + +2005-07-07 Ben Elliston <bje@gnu.org> + + * config.bfd: Mark m68*-*-rtemscoff as obsolete. + +2005-07-06 H.J. Lu <hongjiu.lu@intel.com> + + * dwarf2.c (varinfo): Add addr. + (lookup_symbol_in_variable_table): Also check addr. + (scan_unit_for_symbols): Set addr for variable. + (comp_unit_find_line): Updated. + +2005-07-06 Nick Clifton <nickc@redhat.com> + + * coff-alpha.c (alpha_adjust_reloc_in): Issue an informative error + message if an unknown reloc is encountered. + (alpha_relocate_section): Likewise. + + * ecoff.c (_bfd_ecoff_write_object_contents): Cope with a reloc + with a missing howto field. + +2005-07-06 Alan Modra <amodra@bigpond.net.au> + + * po/SRC-POTFILES.in: Add cpu-ms1.c, elf32-ms1.c, elf-vxworks.c, + elfxx-sparc.c. + +2005-07-05 Paul Brook <paul@codesourcery.com> + + * elf32-ppc.c (ppc_elf_vxworks_special_sections): Remove. + (ppc_elf_vxworks_get_sec_type_attr): New function. + (elf_backend_special_sections): Remove vxwords definition. + (elf_backend_get_sec_type_attr): Define for vxworks. + +2005-07-05 Nick Clifton <nickc@redhat.com> + + * elf64-ppc.c (ppc64_elf_info_to_howto): Fix typo. + +2005-07-05 Paul Brook <paul@codesourcery.com> + + * config.bfd: Add separate case for ppc-vxworks. + * configure: Regenerate. + * configure.in: Include elf-vxworks.lo on ppc targets. + * elf-vxworks.c (elf_vxworks_final_write_processing): Handle + .rela.plt.unloaded. + * elf32-ppc.c: Add VxWorks target vec. Include elf-vxworks.h. + (PLT_ENTRY_SIZE, PLT_INITIAL_ENTRY_SIZE, PLT_SLOT_SIZE): Remove. + (VXWORKS_PLT_ENTRY_SIZE, ppc_elf_vxworks_plt_entry, + ppc_elf_vxworks_pic_plt_entry, VXWORKS_PLT_INITIAL_ENTRY_SIZE, + ppc_elf_vxworks_plt0_entry, ppc_elf_vxworks_pic_plt0_entry, + VXWORKS_PLT_NON_JMP_SLOT_RELOCS, VXWORKS_PLTRESOLVE_RELOCS, + VXWORKS_PLTRESOLVE_RELOCS_SHLIB): New. + (ppc_elf_link_hash_table): Add srelplt2, sgotplt, hgot, hplt, + is_vxworks, plt_entry_size, plt_slot_size, plt_initial_entry_size. + (ppc_elf_link_hash_table_create): Initialize hadtab plt fields. + (ppc_elf_create_got): Create .got.plt for VxWorks. + (ppc_elf_create_dynamic_sections): Create unloaded plt relocation + section for VxWorks. + (ppc_elf_select_plt_layout): Handle VxWorks plt format. + (allocate_got): VxWorks does not need a got header. + (allocate_dynrelocs): Handle VxWorks plt format. + (ppc_elf_size_dynamic_sections): Save _G_O_T_ and _P_L_T_ symbols for + VxWorks. Handle VxWorks plt/got. + (ppc_elf_finish_dynamic_sections): Fill in VxWorks plt. + (ppc_elf_vxworks_special_sections): New. + (ppc_elf_vxworks_link_hash_table_create, + ppc_elf_vxworks_add_symbol_hook, + elf_i386_vxworks_link_output_symbol_hook, + ppc_elf_vxworks_final_write_processing): New functions. + * targets.c (bfd_elf32_powerpc_vxworks_vec): Declare. + (_bfd_target_vector): Use it. + +2005-07-05 Jakub Jelinek <jakub@redhat.com> + + * libbfd-in.h (struct artdata): Add extended_names_size field. + * libbfd.h: Rebuilt. + * coff-rs600.c (_bfd_xcoff_archive_p): Don't clear fields in freshly + allocated object by bfd_zalloc. + * coff64-rs6000.c (xcoff64_archive_p): Likewise. + * ecoff.c (_bfd_ecoff_archive_p): Likewise. + * archive.c (_bfd_generic_mkarchive, bfd_generic_archive_p): Likewise. + (get_extended_arelt_filename): Fail if index is bigger or equal to + extended_names_size. + (_bfd_generic_read_ar_hdr_mag): Don't set bfd_error_malformed_archive, + get_extended_arelt_filename already did that. + (_bfd_slurp_extended_name_table): Initialize extended_names_size field. + Allocate one extra byte and clear it, in case extended names table + is not terminated. + + * libbfd-in.h (bfd_malloc2, bfd_realloc2, bfd_zmalloc2, bfd_alloc2, + bfd_zalloc2): New prototypes. + * bfd-in.h (HALF_BFD_SIZE_TYPE): Define. + * libbfd.c (bfd_malloc2, bfd_realloc2, bfd_zmalloc2): New functions. + * opncls.c (bfd_alloc2, bfd_zalloc2): New functions. + * elf.c (bfd_elf_get_elf_syms, setup_group, assign_section_numbers, + elf_map_symbols, map_sections_to_segments, + assign_file_positions_for_segments, copy_private_bfd_data, + swap_out_syms, _bfd_elf_slurp_version_tables): Use bfd_*alloc2 + where appropriate. + * bfd-in2.h: Rebuilt. + * libbfd.h: Rebuilt. + + * elf.c (_bfd_elf_print_private_bfd_data): Don't crash on bogus + verdef or verneed section. + (_bfd_elf_slurp_version_tables): Handle corrupt verdef and/or + verneed sections gracefully. + * elfxx-sparc.c (_bfd_sparc_elf_info_to_howto_ptr): Don't crash on + bogus relocation values. + * elf64-ppc.c (ppc64_elf_info_to_howto): Likewise. + * elf64-s390.c (elf_s390_info_to_howto): Likewise. + * elf32-s390.c (elf_s390_info_to_howto): Likewise. + * elf64-x86-64.c (elf64_x86_64_info_to_howto): Likewise. + * elfxx-ia64.c (lookup_howto): Likewise. + + * elf.c (bfd_elf_get_str_section): Allocate an extra byte after + the end of strtab and clear it. + (elf_read): Remove. + +2005-07-05 Nick Clifton <nickc@redhat.com> + + * po/vi.po: New Vietnamese translation. + * configure.in (ALL_LINGUAS): Add vi. + * configure: Regenerate. + +2005-07-05 Peter S. Mazinger <ps.m@gmx.net> + + * elf32-arm.c (elf32_arm_size_dynamic_sections): Fix a typo and + touchup logic like i386/ppc. + +2005-07-05 Alan Modra <amodra@bigpond.net.au> + + * elf.c (special_sections): Move const qualifier. + (special_sections_b..special_sections_t): Likewise. + * elf32-arm.c (elf32_arm_symbian_get_sec_type_attr): Remove duplicate + const. + (elf32_arm_symbian_special_sections): Move const qualifier. + * elf32-m32r.c: Similarly. + * elf32-m68hc11.c: Similarly. + * elf32-m68hc12.c: Similarly. + * elf32-mcore.c: Similarly. + * elf32-ppc.c: Similarly. + * elf32-sh64.c: Similarly. + * elf32-v850.c: Similarly. + * elf32-xtensa.c: Similarly. + * elf64-alpha.c: Similarly. + * elf64-hppa.c: Similarly. + * elf64-ppc.c: Similarly. + * elf64-sh64.c: Similarly. + * elfxx-ia64.c: Similarly. + * elfxx-mips.c: Similarly. + +2005-07-04 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> + + * elf32-m32r.c (m32r_elf_size_dynamic_sections): Use + info->executable instead of !info->shared where appropriate. + +2005-07-04 Alan Modra <amodra@bigpond.net.au> + + PR 1042 + * elf.c (assign_file_positions_for_segments): Remove excluded + sections from the segment map. + +2005-07-04 Alan Modra <amodra@bigpond.net.au> + + PR 1004 + * elf-bfd.h (struct elf_backend_data): Add get_sec_type_attr. Delete + special_sections. + (_bfd_elf_get_special_section): Declare. + (bfd_elf_special_section): Update prototype. + * elf.c (special_sections): Remove unused outer entries. + (get_special_section): Delete. + (_bfd_elf_get_special_section): New function. + (_bfd_elf_get_sec_type_attr): Replace "name" arg with "sec". Update + special_sections indexing. + (_bfd_elf_new_section_hook): Call backend get_sec_type_attr. + * elf32-arm.c (symbian_special_sections_d): Delete. + (symbian_special_sections_g, symbian_special_sections_h): Delete. + (symbian_special_sections_i, symbian_special_sections_f): Delete. + (symbian_special_sections_p): Delete. + (elf32_arm_symbian_special_sections): Merge above to here. + (elf32_arm_symbian_get_sec_type_attr): New function. + (elf_backend_special_sections): Don't define. + (elf_backend_get_sec_type_attr): Define. + * elf32-m32r.c: Similarly to elf32-arm.c. + * elf32-m68hc11.c: Likewise. + * elf32-m68hc12.c: Likewise. + * elf32-mcore.c: Likewise. + * elf32-sh64.c: Likewise. + * elf32-v850.c: Likewise. + * elf32-xtensa.c: Likewise. + * elf64-alpha.c: Likewise. + * elf64-hppa.c: Likewise. + * elf64-ppc.c: Likewise. + * elf64-sh64.c: Likewise. + * elfxx-ia64.c: Likewise. + * elfxx-mips.c: Likewise. + * elf32-ppc.c: Likewise. + (bfd_elf_special_section ppc_alt_plt): New. Use it if .plt loadable. + * elfxx-mips.h (_bfd_mips_elf_get_sec_type_attr): Declare. + (_bfd_mips_elf_special_sections, elf_backend_special_sections): Delete. + (elf_backend_get_sec_type_attr): Define. + * elfxx-target.h (elf_backend_get_sec_type_attr): Define. + (elf_backend_special_sections): Don't define. + (elfNN_bed): Update. + +2005-07-01 Nick Clifton <nickc@redhat.com> + + * cpu-d10v.c: Update to ISO C90 style function declarations and + fix formatting. + * cpu-d30v.c: Likewsie. + * cpu-i370.c: Likewsie. + * cpu-xstormy16.c: Likewsie. + * elf32-arc.c: Likewsie. + * elf32-d10v.c: Likewsie. + * elf32-d30v.c: Likewsie. + * elf32-dlx.c: Likewsie. + * elf32-i370.c: Likewsie. + * elf32-i960.c: Likewsie. + * elf32-ip2k.c: Likewsie. + * elf32-m32r.c: Likewsie. + * elf32-mcore.c: Likewsie. + * elf32-openrisc.c: Likewsie. + * elf32-or32.c: Likewsie. + * elf32-pj.c: Likewsie. + * elf32-v850.c: Likewsie. + * elf32-xstormy16.c: Likewsie. + +2005-07-01 Alan Modra <amodra@bigpond.net.au> + + * elf64-alpha.c (elf64_alpha_create_got_section): Always create + a new .got section. + (elf64_alpha_create_dynamic_sections): Always make new sections + by using bfd_make_section_anyway_with_flags. Check that .got not + already created. + (elf64_alpha_check_relocs): Delete "got_created". Use tdata->gotobj + instead. + +2005-06-30 Alan Modra <amodra@bigpond.net.au> + + * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Ignore dynamic + _SDA_BASE_ and _SDA2_BASE_ symbols. + * elflink.c (_bfd_elf_provide_symbol): Correct comment. Define + sym if not def_regular. + (_bfd_elf_provide_section_bound_symbols): Similarly. + +2005-06-30 Ben Elliston <bje@gnu.org> + + * config.bfd: Mark as obsolete: + m68*-apollo-* + m68*-apple-aux* + m68*-bull-sysv* + +2005-06-29 Alan Modra <amodra@bigpond.net.au> + + * elflink.c (_bfd_elf_gc_mark): Mark sections referenced by + .eh_frame specially.. + (bfd_elf_gc_sections): ..rather than totally ignoring .eh_frame. + Don't recheck sections we have already marked. + (elf_gc_sweep): Keep non-code sections referenced from .eh_frame. + * section.c (struct bfd_section): Add gc_mark_from_eh. + (STD_SECTION): Adjust. + * ecoff.c (bfd_debug_section): Adjust. + * bfd-in2.h: Regenerate. + +2005-06-29 Alan Modra <amodra@bigpond.net.au> + + * elflink.c (elf_gc_sweep): Do not refcount on sections that have + not been processed by check_relocs. + +2005-06-29 Paul Brook <paul@codesourcery.com> + + * bfd-in.h (_bfd_elf_provide_symbol): Update prototype. + * bfd-in2.h: Regenerate. + * elf32-ppc.c (ppc_elf_set_sdata_syms): Make sdata symbols section + relative. + * elflink.c (bfd_elf_set_symbol): Add section argument. + (_bfd_elf_provide_symbol): Ditto. + (_bfd_elf_provide_section_bound_symbols): Pass NULL section argument. + +2005-06-27 Carlos O'Donell <carlos@systemhalted.org> + + * bfd/elf32-hppa.c (struct elf32_hppa_stub_hash_entry): + Use bh_root, and hh. + (struct elf32_hppa_link_hash_entry): Use eh, and hsh_cache. + (struct elf32_hppa_dyn_reloc_entry): Use hdh_next. + (struct elf32_hppa_link_hash_table): Use etab and bstab. + (stub_hash_newfunc): Use hh. + (hppa_link_hash_newfunc): Use hsh_cache. + (elf32_hppa_link_hash_table_create): Use etab, and bstab. + (elf32_hppa_link_hash_table_free): Use bstab. + (hppa_stub_name): Use eh. + (hppa_get_stub_entry): Use hh, hsh_entry, and hsh_cache. + (hppa_add_stub): Use bstab. + (hppa_type_of_stub): Use eh. + (hppa_build_one_stub): Use hh and bh_root. + (elf32_hppa_copy_indirect_symbol): Use hdh_next. + (elf32_hppa_check_relocs): Use eh, etab, and hdh_next. + (elf32_hppa_gc_sweep_hook): Use hdh_next. + (elf32_hppa_adjust_dynamic_symbol): Use hdh_next, and etab. + (allocate_plt_static): Use etab. + (allocate_dynrelocs): Use etab, and hdh_next. + (readonly_dynrelocs): Use hdh_next. + (elf32_hppa_size_dynamic_sections): Use etab, and hdh_next. + (get_local_syms): Use eh, bstab, and hh. + (elf32_hppa_size_stubs): Use eh, bstab, and hh. + (elf32_hppa_set_gp): Use etab. + (elf32_hppa_build_stubs): Use bstab. + (final_link_relocate): Use eh, bh_root. + (elf32_hppa_relocate_section): Use elf, etab. + (elf32_hppa_finish_dynamic_sections): Use etab. + +2005-06-27 H.J. Lu <hongjiu.lu@intel.com> + + * elfxx-ia64.c (elfNN_hpux_backend_symbol_processing): Remove + the extra `;'. + +2005-06-21 Carlos O'Donell <carlos@systemhalted.org> + + * bfd/elf32-hppa.c (hppa_elf_hash_entry): Define. + (hppa_stub_hash_entry): Define. + (stub_hash_newfunc): Rename variables. + (hppa_link_hash_newfunc): Likewise. + (elf32_hppa_link_hash_table_free): Likewise. + (hppa_stub_name): Likewise. + (hppa_get_stub_entry): Likewise. + (hppa_add_stub): Likewise. + (hppa_type_of_stub): Likewise. + (hppa_build_one_stub): Likewise. + (hppa_size_one_stub): Likewise. + (elf32_hppa_create_dynamic_sections): Likewise. + (elf32_hppa_copy_indirect_symbol): Likewise. + (elf32_hppa_check_relocs): Likewise. + (elf32_hppa_gc_mark_hook): Likewise. + (elf32_hppa_gc_sweep_hook): Likewise. + (elf32_hppa_grok_psinfo): Likewise. + (elf32_hppa_hide_symbol): Likewise. + (elf32_hppa_adjust_dynamic_symbol): Likewise. + (allocate_dynrelocs): Likewise. + (clobber_millicode_symbols): Likewise. + (readonly_dynrelocs): Likewise. + (elf32_hppa_size_dynamic_sections): Likewise. + (get_local_syms): Likewise. + (elf32_hppa_size_stubs): Likewise. + (hppa_record_segment_addr): Likewise. + (final_link_relocate): Likewise. + (elf32_hppa_relocate_section): Likewise. + (elf32_hppa_finish_dynamic_symbol): Likewise. + +2005-06-20 H.J. Lu <hongjiu.lu@intel.com> + + PR 1025 + * elf-m10300.c (mn10300_elf_check_relocs): Handle indirect + symbol. + * elf32-arm.c (elf32_arm_check_relocs): Likewise. + * elf32-avr.c (elf32_avr_check_relocs): Likewise. + * elf32-cris.c (cris_elf_check_relocs): Likewise. + * elf32-d10v.c (elf32_d10v_check_relocs): Likewise. + * elf32-dlx.c (elf32_dlx_check_relocs): Likewise. + * elf32-fr30.c (fr30_elf_check_relocs): Likewise. + * elf32-frv.c (elf32_frv_check_relocs): Likewise. + * elf32-i370.c (i370_elf_check_relocs): Likewise. + * elf32-iq2000.c (iq2000_elf_check_relocs): Likewise. + * elf32-m32r.c (m32r_elf_check_relocs): Likewise. + * elf32-m68hc1x.c (elf32_m68hc11_check_relocs): Likewise. + * elf32-m68k.c (elf_m68k_check_relocs): Likewise. + * elf32-mcore.c (mcore_elf_check_relocs): Likewise. + * elf32-ms1.c (ms1_elf_check_relocs): Likewise. + * elf32-msp430.c (elf32_msp430_check_relocs): Likewise. + * elf32-openrisc.c (openrisc_elf_check_relocs): Likewise. + * elf32-ppc.c (ppc_elf_check_relocs): Likewise. + * elf32-s390.c (elf_s390_check_relocs): Likewise. + * elf32-sh.c (sh_elf_check_relocs): Likewise. + * elf32-v850.c (v850_elf_check_relocs): Likewise. + * elf32-vax.c (elf_vax_check_relocs): Likewise. + * elf64-mmix.c (mmix_elf_check_relocs): Likewise. + * elf64-ppc.c (ppc64_elf_check_relocs): Likewise. + * elf64-s390.c (elf_s390_check_relocs): Likewise. + * elf64-sh64.c (sh_elf64_check_relocs): Likewise. + * elfxx-mips.c (_bfd_mips_elf_check_relocs): Likewise. + * elfxx-sparc.c (_bfd_sparc_elf_check_relocs): Likewise. + +2005-06-20 H.J. Lu <hongjiu.lu@intel.com> + + PR 1022 + * elf32-hppa.c (elf32_hppa_check_relocs): Handle indirect + symbol. + +2005-06-20 H.J. Lu <hongjiu.lu@intel.com> + + PR 1025 + * elf32-i386.c (elf_i386_check_relocs): Handle indirect symbol. + * elf64-x86-64.c (elf64_x86_64_check_relocs): Likewise. + +2005-06-18 H.J. Lu <hongjiu.lu@intel.com> + + * reloc.c: Add BFD_RELOC_X86_64_GOTOFF64 and + BFD_RELOC_X86_64_GOTPC32. + * bfd-in2.h: Regenerated. + +2005-06-17 Jakub Jelinek <jakub@redhat.com> + + * elf.c (bfd_section_from_shdr): Kill bogus warning. + + * elf.c (bfd_section_from_shdr): Fail if sh_entsize is bogus for + symbol, relocation, group or versym sections. + + * coffcode.h (coff_slurp_reloc_table): Don't crash if native_relocs + is NULL. + * peXXigen.c (pe_print_idata): Don't crash if dll_name or start_address + doesn't point into the section. + +2005-06-17 Jan Beulich <jbeulich@novell.com> + + * bfd-in2.h (elf_x86_64_reloc_type): Add BFD_RELOC_X86_64_GOTOFF64 + and BFD_RELOC_X86_64_GOTPC32. + * libbfd.h (bfd_reloc_code_real_names): Likewise. + * elf64-x86-64.c (x86_64_elf_howto_table): Add entries for + R_X86_64_PC64, R_X86_64_GOTOFF64, and R_X86_64_GOTPC32. + (x86_64_reloc_map): Add entries for R_X86_64_PC64, R_X86_64_GOTOFF64, + and R_X86_64_GOTPC32. + (elf64_x86_64_info_to_howto): Adjust bounding relocation type. + (elf64_x86_64_check_relocs): Also handle R_X86_64_PC64, + R_X86_64_GOTOFF64, and R_X86_64_GOTPC32. + (elf64_x86_64_relocate_section): Likewise. + (elf64_x86_64_gc_sweep_hook): Also handle R_X86_64_PC64. + +2005-06-15 Mark Kettenis <kettenis@gnu.org> + + * archive.c: Include "libiberty.h". + +2005-06-15 Nick Clifton <nickc@redhat.com> + + * elf32-v850.c (ELF_MACHINE_ALT2): Define so that binaries + produced by the GreenHills toolchain can be assimilated. + +2005-06-14 Steve Ellcey <sje@cup.hp.com> + + * som.c (som_find_inliner_info): New. + +2005-06-14 H.J. Lu <hongjiu.lu@intel.com> + + * elflink.c (_bfd_elf_merge_symbol): Fix a typo in comment. + +2005-06-14 Jakub Jelinek <jakub@redhat.com> + + * elf.c (bfd_section_from_shdr): Fail if name is NULL. + Prevent endless recursion on broken objects. + + * archive.c (do_slurp_coff_armap): Check for overflows. + +2005-06-10 Daniel Jacobowitz <dan@codesourcery.com> + + * elfcode.h (elf_write_relocs): Do nothing if there are no + relocations. + +2005-06-10 Alan Modra <amodra@bigpond.net.au> + + * dwarf2.c (decode_line_info): Revert last change. Instead set + initial low_pc to -1 to avoid need to test whether loc_pc has + been set. + +2005-06-09 Christopher Faylor <cgf@timesys.com> + + * coffcode.h (sec_to_styp_flags): Set appropriate section flags when + either SEC_ALLOC OR SEC_LOAD. + +2005-06-09 Christopher Faylor <cgf@timesys.com> + + * coffcode.h (sec_to_styp_flags): Remove read/write flags from noload + section header. Do not add STYP_NOLOAD since it does not appear to be + a valid PE flag. + +2005-06-09 H.J. Lu <hongjiu.lu@intel.com> + + PR 1000 + * dwarf2.c (lookup_address_in_line_info_table): Restore code + handling NULL function info, removed with 2005-04-03 change. + +2005-06-08 Mark Mitchell <mark@codesourcery.com> + + * opncls.c (bfd_fopen): Mark returned BFD as cacheable if FD == -1. + +2005-06-09 Alan Modra <amodra@bigpond.net.au> + + * elflink.c (elf_mark_used_section): Delete. + (bfd_elf_gc_sections): Call bfd_generic_gc_sections. + * reloc.c (bfd_mark_used_section): New function. + (bfd_generic_gc_sections): Call bfd_mark_used_section. + +2005-06-08 Alan Modra <amodra@bigpond.net.au> + + * opncls.c (bfd_fopen): Don't set bfd_error unconditionally. + (bfd_fdopenr): Same. + +2005-06-07 Mark Mitchell <mark@codesourcery.com> + + * opncls.c (bfd_fdopenr): Add missing break statements. + +2005-06-07 Mark Mitchell <mark@codesourcery.com> + + * opncls.c (bfd_fopen): New API. + (bfd_openr): Use it. + (bfd_fdopenr): Likewise. + * bfd-in2.h: Regenerated. + +2005-06-07 Aldy Hernandez <aldyh@redhat.com> + Michael Snyder <msnyder@redhat.com> + Stan Cox <scox@redhat.com> + + * Makefile.am (ALL_MACHINES): Add ms1 support. + (ALL_MACHINES_CFILES): Same. + (BFD32_BACKENDS): Same. + (BFD32_BACKENDS_CFILES): Same. + + * Makefile.in: Regenerate. + + * archures.c (bfd_architecture): Add ms1 entries. + Externalize bfd_ms1_arch. + (bfd_archures_list): Add bfd_ms1_arch. + + * bfd-in2.h: Regenerate. + + * cpu-ms1.c: New file. + + * elf32-ms1.c: New file. + + * targets.c: Define extern of bfd_elf32_ms1_vec. + Add bfd_elf32_ms1_vec to _bfd_target_vector. + + * configure.in: Add bfd_elf32_ms1_vec case. + + * configure: Regenerate. + + * config.bfd: Add ms1-*-elf to table. + +2005-06-07 Zack Weinberg <zack@codesourcery.com> + + * coff-i386.c: Change md_apply_fix3 to md_apply_fix in comment. + +2005-06-07 Alan Modra <amodra@bigpond.net.au> + + * coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Init _bfd_find_line. + * coff64-rs6000.c (rs6000coff64_vec, aix5coff64_vec): Likewise. + +2005-06-06 H.J. Lu <hongjiu.lu@intel.com> + + PR 990 + * bfd.c (bfd_find_line): New. + + * dwarf2.c (comp_unit): Add variable_table. + (funcinfo): Add file, line, and sec. + (varinfo): New. + (lookup_symbol_in_function_table): New. + (lookup_symbol_in_variable_table): New. + (scan_unit_for_functions): Renamed to ... + (scan_unit_for_symbols): This. Handle DW_TAG_entry_point and + DW_TAG_variable. + (comp_unit_find_nearest_line): Updated. + (comp_unit_find_line): New. + (_bfd_dwarf2_find_line): New. + + * elf-bfd.h (_bfd_elf_find_line): New. + (_bfd_generic_find_line): New. Defined. + + * elf.c (_bfd_elf_find_line): New. + + * libbfd-in.h (_bfd_dwarf2_find_line): New. + (_bfd_generic_find_line): New. + + * bfd-in2.h: Regenerated. + * libbfd.h: Likewise. + + * libbfd.c (_bfd_generic_find_line): New. + + * targets.c (BFD_JUMP_TABLE_SYMBOLS): Initialize _bfd_find_line + with _bfd_generic_find_line. + (bfd_target): Add _bfd_find_line. + +2005-06-06 H.J. Lu <hongjiu.lu@intel.com> + + * dwarf2.c (decode_line_info): Properly set low_pc. + +2005-06-06 Alan Modra <amodra@bigpond.net.au> + + * elf64-pcc.c (ppc64_elf_gc_mark_hook): For the local sym in .opd + case, include addend when indexing .opd section map. + (ppc64_elf_edit_opd): Add no_opd_opt param. Do nothing besides + clear opd_adjust array if no_opd_opt set. Tidy code. + Ignore zero size .opd. Check bfd_alloc return value. + (ppc_stub_name): Return immediately on bfd_malloc fail. + * elf64-ppc.h (ppc64_elf_edit_opd): Update prototype. + +2005-06-04 H.J. Lu <hongjiu.lu@intel.com> + + * dwarf2.c (comp_unit): Fix a typo in comment. + +2005-06-03 Jan-Benedict Glaw <jbglaw@lug-owl.de> + + * elf32-vax.c (rtype_to_howto): Remove PARAMS. + (reloc_type_lookup): Dito. + (elf_vax_discard_copies): Dito. + (elf_vax_instantiate_got_entries): Dito. + (elf_vax_link_hash_traverse): Dito. + (elf_vax_link_hash_newfunc): Dito. + (elf_vax_link_hash_table_create): Dito. + (elf32_vax_set_private_flags): Dito. + (elf32_vax_merge_private_bfd_data): Dito. + (elf32_vax_print_private_bfd_data): Dito. + (elf_vax_check_relocs): Dito. + (elf_vax_gc_mark_hook): Dito. + (elf_vax_gc_sweep_hook): Dito. + (elf_vax_size_dynamic_sections): Dito. + (elf_vax_discard_copies): Dito. + (elf_vax_instantiate_got_entries): Dito. + (elf_vax_relocate_section): Dito. + (elf_vax_finish_dynamic_symbol): Dito. + (elf_vax_finish_dynamic_sections): Dito. + (elf_vax_hash_table): Break-up of line isn't needed. + (elf_vax_check_relocs): Remove leading whitespace + (elf_vax_relocate_section): Remove redundant whitespace + (elf_vax_link_hash_newfunc): Don't cast NULL. + (elf_vax_link_hash_table_create): Dito. + * cpu-vax.c (bfd_vax_arch) Remove a trailing space. + +2005-06-03 Alan Modra <amodra@bigpond.net.au> + + PR 568 + * configure.in: Bump version + * configure: Regenerate. + * elflink.c (elf_link_input_bfd): Use einfo linker callback to print + discarded section sym refs and kill linker output. + * simple.c (simple_dummy_einfo): New function. + (bfd_simple_get_relocated_section_contents): Init callbacks.einfo. + + * elf32-i386.c (elf_i386_relocate_section): Handle zero symndx + for all reloc types. + +2005-06-02 Alan Modra <amodra@bigpond.net.au> + + * elf64-ppc.c (add_symbol_adjust): Set sym visibility to most + restrictive of func code and func descr for undefined syms as well + as defined. + +2005-05-31 Jim Blandy <jimb@redhat.com> + + * Makefile.am: Regenerate dependencies with 'make dep-am'. + * Makefile.in: Regenerate. + +2005-05-31 Richard Henderson <rth@redhat.com> + + * elf64-alpha.c (ALPHA_ELF_LINK_HASH_LU_JSRDIRECT): New. + (ALPHA_ELF_LINK_HASH_TLS_IE): Renumber to 0x80. + (ALPHA_ELF_LINK_HASH_LU_PLT): Rename from ALPHA_ELF_LINK_HASH_LU_FUNC. + (elf64_alpha_want_plt): Update to match. + (elf64_alpha_check_relocs): Collect JSRDIRECT in gotent_flags. + (elf64_alpha_relax_with_lituse): Likewise. Handle JSRDIRECT. + +2005-05-31 Zack Weinberg <zack@codesourcery.com> + + * elf32-arm.c (elf32_arm_reloc_type_lookup) + (elf32_arm_nabi_grok_prstatus, elf32_arm_nabi_grok_psinfo): + Use ISO C90 function declaration style. + +2005-05-31 James E Wilson <wilson@specifixinc.com> + + * elfcode.h (NAME(bfd_elf,bfd_from_remote_memory)): Check for program + header PF_R flag on PT_LOAD segments. + +2005-05-30 Richard Henderson <rth@redhat.com> + + * elf64-alpha.c (elf64_alpha_relocate_section): Use dtp_base for + the zero index relocs produced by elf64_alpha_relax_tls_get_addr. + +2005-05-29 Richard Henderson <rth@redhat.com> + + * configure.in (--enable-secureplt): New. + * elf64-alpha.c (INSN_LDA, INSN_LDAH, INSN_LDQ, INSN_BR): New. + (INSN_SUBQ, INSN_S4SUBQ, INSN_JMP): New. + (INSN_A, INSN_AB, INSN_ABC, INSN_ABO, INSN_AD): New. + (elf64_alpha_use_secureplt): New. + (OLD_PLT_HEADER_SIZE, OLD_PLT_ENTRY_SIZE): New. + (NEW_PLT_HEADER_SIZE, NEW_PLT_ENTRY_SIZE): New. + (PLT_HEADER_SIZE, PLT_ENTRY_SIZE): Conditionalize on secureplt. + (ALPHA_ELF_LINK_HASH_PLT_LOC): Remove. + (struct alpha_elf_link_hash_entry): Add plt_offset. + (PLT_HEADER_WORD1, PLT_HEADER_WORD2, PLT_HEADER_WORD3): Remove. + (PLT_HEADER_WORD4, PLT_ENTRY_WORD1, PLT_ENTRY_WORD2): Remove. + (PLT_ENTRY_WORD3): Remove. + (elf64_alpha_create_dynamic_sections): If secureplt, set SEC_READONLY + on .plt and create .got.plt. + (elf64_alpha_output_extsym): Remove .plt frobbing for symbol values. + (get_got_entry): Initialize plt_offset. + (elf64_alpha_want_plt): New. + (elf64_alpha_check_relocs): Use it. + (elf64_alpha_adjust_dynamic_symbol): Likewise. Don't allocate + plt entries here. + (elf64_alpha_calc_got_offsets_for_symbol): Don't report internal + error as user error. + (elf64_alpha_size_plt_section_1): Allocate one plt entry per + got subsection. + (elf64_alpha_size_plt_section): Size .got.plt section. + (elf64_alpha_size_rela_got_1): Don't allocate relocations if + plt entries used. + (elf64_alpha_size_dynamic_sections): Call elf64_alpha_size_plt_section. + Add PLTRO DYNAMIC entry. + (elf64_alpha_finish_dynamic_symbol): Generate secureplt format. + (elf64_alpha_finish_dynamic_sections): Likewise. + +2005-05-28 David Daney <ddaney@avtrex.com> + + * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_sections): Move + calculation of DT_RELSZ to occur after all dynamic relocations + are created. + +2005-05-28 Eli Zaretskii <eliz@gnu.org> + + * configure.in: Add snprintf and vsnprintf to AC_CHECK_DECLS. + * config.in, configure: Regenerate. + +2005-05-26 Mark Kettenis <kettenis@gnu.org> + Maciej W. Rozycki <macro@linux-mips.org> + + * elfxx-mips.c (_bfd_mips_elf_section_processing): Warn and + stop processing of options if one of invalid size is + encountered. + (_bfd_mips_elf_section_from_shdr): Likewise. + (_bfd_mips_elf_fake_sections): Reset the type of empty special + sections. + +2005-05-26 Richard Henderson <rth@redhat.com> + + * elf64-alpha.c (struct alpha_elf_link_hash_entry): Remove + plt_old_section, plt_old_value. + (elf64_alpha_adjust_dynamic_symbol): Don't set it. + (elf64_alpha_size_plt_section_1): Don't use it. + +2005-05-26 Jakub Jelinek <jakub@redhat.com> + + * elfcode.h (elf_object_p): Fail if e_shoff != 0, e_shnum == 0 and + first shdr has sh_size == 0. Fail if e_shnum is large to cause + arithmetic overflow when allocating the i_shdr array. + Sanity check sh_link and sh_info fields. Fix e_shstrndx sanity check. + +2005-05-25 Richard Henderson <rth@redhat.com> + + * elf64-alpha.c: Update all function definitions to ISO C. Remove + all function prototypes; rearrange functions into def-use order. + +2005-05-25 Richard Henderson <rth@redhat.com> + + * elf64-alpha.c (elf64_alpha_merge_gots): Fix gotent iteration + in the presence of deleting elements. + (elf64_alpha_size_got_sections): Zero dead got section size. + +2005-05-23 Fred Fish <fnf@specifixinc.com> + + * dwarf2.c (struct dwarf2_debug): Add inliner_chain member. + (struct funcinfo): Add caller_func, caller_file, caller_line. + tag, and nesting_level members. + (lookup_address_in_function_table): Change first passed parameter + from "struct funcinfo *" to "struct comp_unit *". + (lookup_address_in_function_table): Dereference unit to find function + table. + (lookup_address_in_function_table): Traverse the function list to + create a chain of inlined functions back to the first non inlined + function. + (scan_unit_for_functions): Remember tag and nesting level. Handle + DW_AT_call_file and DW_AT_call_line. + (comp_unit_find_nearest_line): Adjust lookup_address_in_function_table + call to pass unit pointer instead of function table pointer. For + inlined functions, save pointer to the inliner chain. + (_bfd_dwarf2_find_nearest_line): Initialize inliner_chain to NULL. + (_bfd_dwarf2_find_inliner_info): New function that returns information + from the inliner chain after a call to bfd_find_nearest_line. + + * bfd.c (bfd_find_inliner_info): Define using BFD_SEND. + * targets.c (BFD_JUMP_TABLE_SYMBOLS): Add entry for + NAME##_find_inliner_info. + (bfd_target): Add _bfd_find_inliner_info. + * bfd-in2.h: Regenerate. + + * libbfd-in.h (_bfd_nosymbols_find_inliner_info): Define as + macro that always returns bfd_false. + (_bfd_dwarf2_find_inliner_info): Declare. + * libbfd.h: Regenerate. + + * elf32-arm.c (elf32_arm_find_inliner_info): New function + that calls _bfd_dwarf2_find_inliner_info. + (bfd_elf32_find_inliner_info): Define to elf32_arm_find_inliner_info. + + * elfxx-mips.c (_bfd_mips_elf_find_inliner_info): New function + that calls _bfd_dwarf2_find_inliner_info. + * elfxx-mips.h (_bfd_mips_elf_find_inliner_info): Declare. + * elfn32-mips.c (bfd_elf32_find_inliner_info): Define to + _bfd_mips_elf_find_inliner_info. + * elf64-mips.c (bfd_elf64_find_inliner_info): Ditto. + * elf32-mips.c (bfd_elf32_find_inliner_info): Ditto. + + * elf.c (_bfd_elf_find_inliner_info): New function that calls + _bfd_dwarf2_find_inliner_info. + * elf-bfd.h (_bfd_elf_find_inliner_info): Declare. + * elfxx-target.h (bfd_elfNN_find_inliner_info): Define to + _bfd_elf_find_inliner_info. + + * coffgen.c (coff_find_inliner_info): New function that + calls _bfd_dwarf2_find_inliner_info. + * libcoff-in.h (coff_find_inliner_info): Declare. + * libcoff.h: Regenerate. + * coff-rs6000.c (rs6000coff_vec): Add coff_find_inliner_info. + (pmac_xcoff_vec) Ditto. + * coff64-rs6000.c (rs6000coff64_vec): Ditto. + (aix5coff64_vec): Ditto. + + * aout-target.h (MY_find_inliner_info): Define as + _bfd_nosymbols_find_inliner_info. + * aout-tic30.c (MY_find_inliner_info): Ditto. + * binary.c (binary_find_inliner_info): Ditto. + * i386msdos.c (msdos_find_inliner_info): Ditto. + * ihex.c (ihex_find_inliner_info): Ditto. + * libaout.h (aout_32_find_inliner_info): Ditto. + * libecoff.h (_bfd_ecoff_find_inliner_info): Ditto. + * mach-o.c (bfd_mach_o_find_inliner_info): Ditto. + * mmo.c (mmo_find_inliner_info): Ditto. + * nlm-target.h (nlm_find_inliner_info): Ditto. + * pef.c (bfd_pef_find_inliner_info): Ditto. + * ppcboot.c (ppcboot_find_inliner_info): Ditto. + * srec.c (srec_find_inliner_info): Ditto. + * tekhex.c (tekhex_find_inliner_info): Ditto. + * versados.c (versados_find_inliner_info): Ditto. + * xsym.c (bfd_sym_find_inliner_info): Ditto. + + * ieee.c (ieee_find_inliner_info): New function that always + returns FALSE. + * oasys.c (oasys_find_inliner_info): Ditto. + * vms.c (vms_find_inliner_info): Ditto. + +2005-05-24 Alan Modra <amodra@bigpond.net.au> + + * elf32-ppc.c (ppc_elf_check_relocs): For old gcc -fPIC code + force old plt layout. + +2005-05-22 Richard Henderson <rth@redhat.com> + + * elf64-alpha.c (elf64_alpha_relax_section): Ignore non-allocated + sections. + (elf64_alpha_check_relocs): Likewise. + (elf64_alpha_relocate_section): Don't emit dynamic relocations to + non-allocated sections. + +2005-05-22 Richard Henderson <rth@redhat.com> + + * elf64-alpha.c (elf64_alpha_relax_with_lituse): Relax jsr to + undefweak to use zero register. Call elf64_alpha_relax_got_load + if not all uses removed. + (elf64_alpha_relax_got_load): Relax undefweak to lda zero. + (elf64_alpha_relax_section): Handle undefweak symbols. + (elf64_alpha_calc_dynrel_sizes): Don't add relocs for undefweak. + (elf64_alpha_size_rela_got_1): Likewise. + (elf64_alpha_relocate_section): Likewise. + +2005-05-22 Richard Henderson <rth@redhat.com> + + * elf64-alpha.c (elf64_alpha_relax_section): Only operate + on SEC_CODE sections. + +2005-05-22 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + * som.c (try_prev_fixup): Changed type of subspace_reloc_sizep to + unsigned int *. + (som_write_space_strings): Change type of tmp_space and p to char *. + (som_write_symbol_strings): Likewise. Also change type of comp to + char *comp[4]. + (som_begin_writing): Change type of strings_size to unsigned int. + (som_finish_writing): Likewise. + (som_slurp_reloc_table): Change type of external_relocs to unsigned + char *. + * som.h (struct som_section_data_struct): Change type of reloc_stream + field to unsigned char *. + +2005-05-20 Daniel Jacobowitz <dan@codesourcery.com> + + * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Don't eliminate + copy relocations for VxWorks. + +2005-05-20 Daniel Jacobowitz <dan@codesourcery.com> + + * bfd/elf32-ppc.c (struct ppc_elf_link_hash_entry): Add new field + has_sda_refs. + (ppc_elf_copy_indirect_symbol): Copy has_sda_refs. + (ppc_elf_check_relocs): Set has_sda_refs. + (ppc_elf_adjust_dynamic_symbol): Check has_sda_refs before eliminating + copy relocations. Use has_sda_refs to place variables in .sbss. + (ppc_elf_finish_dynamic_symbol): Use has_sda_refs to place variables in + .sbss. + +2005-05-20 Bob Wilson <bob.wilson@acm.org> + + * elf32-xtensa.c (bfd_elf_xtensa_reloc): Make sure that + xtensa_default_isa is initialized. + +2005-05-20 Alan Modra <amodra@bigpond.net.au> + + * elf32-ppc.c (allocate_dynrelocs): Correct plt offset assigned + for second and subsequent list entries. Only allocate multiple + glink stubs when shared or pie. + (ppc_elf_finish_dynamic_symbol): Break out early when only one + glink stub is needed. + +2005-05-19 Zack Weinberg <zack@codesourcery.com> + + * Makefile.am: Have 'all' depend on 'info'. + * Makefile.in: Regenerate. + +2005-05-19 Alan Modra <amodra@bigpond.net.au> + + * elf-bfd.h (struct elf_link_hash_table): Delete init_refcount and + init_offset. Add init_got_refcount, init_plt_refcount, + init_got_offset and init_plt_offset. + * elf.c (_bfd_elf_link_hash_newfunc): Adjust for above change. + (_bfd_elf_link_hash_hide_symbol): Likewise. + (_bfd_elf_link_hash_table_init): Likewise. + * elf32-hppa.c (elf32_hppa_hide_symbol): Likewise. + * elf64-ppc.c (ppc64_elf_link_hash_table_create): Likewise. + * elflink.c (_bfd_elf_adjust_dynamic_symbol): Likewise. + (bfd_elf_size_dynamic_sections): Likewise. + * elf32-ppc.c (GLINK_PLTRESOLVE): Now 16 insns. + (LWZU_0_X_12, LWZ_0_4_30, LWZ_0_X_12, LWZ_11_X_11, LWZ_11_X_30, + LWZ_12_4_12, LWZ_12_8_30, LWZ_12_X_12, SUB_11_11_30): Delete. + (ADDIS_12_12, BCL_20_31, LWZU_0_12, LWZ_0_12, LWZ_11_11, LWZ_11_30, + LWZ_12_12, MFLR_0, MFLR_12, MTLR_0, SUB_11_11_12): Define. + (struct plt_entry): New. + (ppc_elf_link_hash_table_create): Set new init_plt fields. + (ppc_elf_copy_indirect_symbol): Handle merge of plt plist. Don't + use _bfd_elf_link_hash_copy_indirect. + (update_plt_info, find_plt_ent): New functions. + (ppc_elf_check_relocs): Handle R_PPC_PLTREL24 with non-zero addend + and adjust for use of plt list rather than refcount. + (ppc_elf_gc_sweep_hook): Likewise. + (ppc_elf_tls_optimize): Likewise. + (ppc_elf_adjust_dynamic_symbol): Likewise. + (allocate_dynrelocs): Likewise. + (ppc_elf_relax_section): Likewise. + (ppc_elf_relocate_section): Likewise. Adjust R_PPC_PLTREL24 addends + when performing a relocatable link. + (ppc_elf_finish_dynamic_symbol): Likewise. Write .glink stubs here.. + (ppc_elf_finish_dynamic_sections): ..rather than here. Use new + pic resolver stub. + +2005-05-19 Alan Modra <amodra@bigpond.net.au> + + * elf.c (assign_file_positions_for_segments): Use maximum of + maxpagesize and section alignment when adjusting initial + segment offset and section offsets. + +2005-05-18 Zack Weinberg <zack@codesourcery.com> + + * elf32-arm.c: Make all #ifndef OLD_ARM_ABI blocks + unconditional. + +2005-05-18 H.J. Lu <hongjiu.lu@intel.com> + + * elf.c (group_signature): Undo the last change. Check if the + symbol table section is correct. + +2005-05-17 Zack Weinberg <zack@codesourcery.com> + + * elf32-arm.c: Wherever possible, use official reloc names + from AAELF. + (elf32_arm_howto_table, elf32_arm_tls_gd32_howto) + (elf32_arm_tls_ldo32_howto, elf32_arm_tls_ldm32_howto) + (elf32_arm_tls_le32_howto, elf32_arm_tls_ie32_howto) + (elf32_arm_vtinherit_howto, elf32_arm_vtentry_howto) + (elf32_arm_pc11_howto, elf32_arm_thm_pc9_howto, elf32_arm_got_prel) + (elf32_arm_r_howto): Replace with elf32_arm_howto_table_1, + elf32_arm_howto_table_2, and elf32_arm_howto_table_3. + Add many new relocations from AAELF. + (elf32_arm_howto_from_type): Update to match. + (elf32_arm_reloc_map): Add entries for R_ARM_THM_JUMP24, + R_ARM_THM_JUMP11, R_ARM_THM_JUMP19, R_ARM_THM_JUMP8, + R_ARM_THM_JUMP6, R_ARM_GNU_VTINHERIT, and R_ARM_GNU_VTENTRY. + (elf32_arm_reloc_type_lookup): Use elf32_arm_howto_from_type. + (elf32_arm_final_link_relocate): Add support for + R_ARM_THM_JUMP24, R_ARM_THM_JUMP19, R_ARM_THM_JUMP6. Remove + case entries redundant with default. + + * reloc.c: Reorganize ARM relocations. Add Thumb + assembler-internal relocations BFD_RELOC_ARM_T32_OFFSET_U8, + BFD_RELOC_ARM_T32_OFFSET_IMM, BFD_RELOC_ARM_T32_IMMEDIATE. + Add visible relocations BFD_RELOC_THUMB_PCREL_BRANCH7, + BFD_RELOC_THUMB_BRANCH20, BFD_RELOC_THUMB_BRANCH25. + Delete unused relocations BFD_RELOC_ARM_GOT12, BFD_RELOC_ARM_COPY. + * bfd-in2.h, libbfd.h: Regenerate. + +2005-05-17 Daniel Jacobowitz <dan@codesourcery.com> + + * elf.c (_bfd_elf_write_object_contents): Check for non-NULL + elf_shstrtab. + * format.c (bfd_check_format_matches): Set output_has_begun + for both_direction. + * section.c (bfd_set_section_contents): Use bfd_write_p. Remove + special case for both_direction. + +2005-05-17 Nick Clifton <nickc@redhat.com> + + * elf.c (group_signature): Check for a group section which is + actually a (corrupt) symbol table section in disguise and prevent + an infinite loop from occurring. + +2005-05-17 H.J. Lu <hongjiu.lu@intel.com> + + * elfxx-ia64.c (elfNN_ia64_relax_brl): Undo the change made on + 2005-02-16. + +2005-05-17 H.J. Lu <hongjiu.lu@intel.com> + + * elfxx-ia64.c (elfNN_ia64_relax_br): Keep the original + predicate on slot 0 only if slot 0 isn't br. + +2005-05-17 H.J. Lu <hongjiu.lu@intel.com> + + PR 797 + * elf32-i386.c (elf_i386_size_dynamic_sections): Also remove + empty sdynbss section. + * elf64-x86-64.c (elf64_x86_64_size_dynamic_sections): Likewise. + +2005-05-17 Tavis Ormandy <taviso@gentoo.org> + + * elf.c (bfd_section_from_shdr): Add sanity check when parsing + dynamic sections. + +2005-05-17 Alan Modra <amodra@bigpond.net.au> + + * elf32-ppc.c (LIS_11. LIS_12): Define. + (LWZU_0_X_12, LWZ_0_X_12, LWZ_12_4_12, LWZ_12_X_12): Define. + (ppc_elf_finish_dynamic_sections): Provide non-pic plt call stub + for --data-plt when building non-pie executables. + +2005-05-17 Nick Clifton <nickc@redhat.com> + + * elf32-arm.c (elf32_arm_final_link_relocate): Gracefully handle + the situation where a symbols's section is not known but a section + relative R_ARM_RELATIVE reloc has to be generated for the Symbian + OS. + + * elf32-v850.c (v850_elf_relocate_section): Move code to test for + the presence of a symbol table to just before the symbol table is + actually used. + +2005-05-16 H.J. Lu <hongjiu.lu@intel.com> + + PR 834 + * elfxx-ia64.c (elfNN_ia64_relax_br): New. + (elfNN_ia64_relax_section): Use it. + +2005-05-14 Mark Kettenis <kettenis@gnu.org> + + * elflink.c (bfd_elf_size_dynamic_sections): Use lbasename instead + of basename. + +2005-05-14 Alan Modra <amodra@bigpond.net.au> + + * elf32-ppc.c (ppc_elf_size_dynamic_sections): Set DT_PPC_GOT, + not DT_PPC_GLINK. + (ppc_elf_finish_dynamic_sections): Likewise. + +2005-05-13 Fred Fish <fnf@specifixinc.com> + + * libbfd-in.h: Fix a comment typo, 'neaderst' -> 'nearest' + * libbfd.h: Rebuilt. + +2005-05-13 Bob Wilson <bob.wilson@acm.org> + + * elf32-xtensa.c (xtensa_get_property_section_name): Add missing + periods in linkonce_kind values. + +2005-05-12 H.J. Lu <hongjiu.lu@intel.com> + + * elf32-i386.c (elf_i386_relocate_section): Allow R_386_GOTOFF + against protected function when building executable. + +2005-05-12 Alan Modra <amodra@bigpond.net.au> + + * elf32-ppc.c (LWZU_0_X_11): Delete. + (B, LWZ_11_X_11, LWZ_11_X_30, MTCTR_11): Define. + (ppc_elf_select_plt_layout): Set .got flags too. Formatting. + (ppc_elf_size_dynamic_sections): Allocate space for .glink branch + table. + (ppc_elf_finish_dynamic_symbol): Point .plt entries into the branch + table. + (ppc_elf_finish_dynamic_sections): Adjust DT_PPC_GLINK value. + Generate .glink branch table and updated stubs. + +2005-05-11 Alan Modra <amodra@bigpond.net.au> + + * reloc.c (BFD_RELOC_HI16_PCREL): Define. + (BFD_RELOC_HI16_S_PCREL, BFD_RELOC_LO16_PCREL): Define. + * elf32-ppc.c (GLINK_PLTRESOLVE, GLINK_ENTRY_SIZE): Define. + (CROR_151515, CROR_313131): Delete. + (ADDIS_11_11, ADDI_11_11, SUB_11_11_30, ADD_0_11_11, ADD_11_0_11, + LWZ_0_4_30, MTCTR_0, LWZ_12_8_30, BCTR, ADDIS_11_30, + LWZU_0_X_11): Define. + (ppc_elf_howto_raw): Add R_PPC_REL16, R_PPC_REL16_LO, R_PPC_REL16_HI + and R_PPC_REL16_HA entries. + (ppc_elf_reloc_type_lookup): Convert new bfd reloc types. + (ppc_elf_addr16_ha_reloc): Also handle R_PPC_REL16_HA. + (struct ppc_elf_link_hash_table): Add glink, glink_pltresolve, + new_plt, and old_plt. + (ppc_elf_create_dynamic_sections): Create .glink section. + (ppc_elf_check_relocs): Set new_plt and old_plt. + (ppc_elf_select_plt_layout): New function. + (ppc_elf_tls_setup): Set plt output section elf type and flags. + (allocate_got): Handle differences between old and new got layout. + (allocate_dynrelocs): Likewise for plt. + (ppc_elf_size_dynamic_sections): Likewise. Allocate memory for + .glink. Don't allocate memory for old bss .plt. Emit DT_PPC_GLINK. + (ppc_elf_relax_section): Rename ppc_info to htab. Handle .glink + destination of R_PPC_PLTREL24 relocs. + (ppc_elf_relocate_section): Handle new relocs and changed destination + of R_PPC_PLTREL24. + (ppc_elf_finish_dynamic_symbol): Init new style plt and handle + differences in layout. + (ppc_elf_finish_dynamic_sections): Set DT_PPC_GLINK value. Don't + put a blrl in new got. Write glink contents. + * elf32-ppc.h (ppc_elf_select_plt_layout): Declare. + * libbfd.h: Regenerate. + * bfd-in2.h: Regenerate. + +2005-05-11 Andreas Schwab <schwab@suse.de> + + * elf32-i386.c (elf_i386_finish_dynamic_sections): Fix signedness + warning. + +2005-05-10 H.J. Lu <hongjiu.lu@intel.com> + + * elf.c (_bfd_elf_make_section_from_shdr): Only check debug + section if SEC_ALLOC isn't set. + +2005-05-09 Kelley Cook <kcook@gcc.gnu.org> + + * configure.in: Replace AC_COMPILE_CHECK_SIZEOF with AC_CHECK_SIZEOF. + * acinclude.m4: Don't sinclude accross.m4. + * config.in, configure, Makefile.in, doc/Makefile.in: Regenerate. + +2005-05-09 Alan Modra <amodra@bigpond.net.au> + + * elf64-ppc.c (struct ppc64_elf_obj_tdata): Add has_dotsym. + (ppc64_elf_add_symbol_hook): Set has_dotsym. + (ppc64_elf_check_directives): Only process syms when has_dotsym. + (func_desc_adjust): Hide fake function descriptors when function + code entry is defined. + (adjust_opd_syms): Adjust for deleted_section becoming union field. + +2005-05-09 Alan Modra <amodra@bigpond.net.au> + + * elfcode.h (elf_object_p): Add more sanity checks on elf header. + +2005-05-08 Dave Korn <dave.korn@artimi.com> + + * coff-tic80.c: Undefine _CONST after system headers to prevent + clash with tic80-specific definition in include/coff/tic80.h + +2005-05-08 H.J. Lu <hongjiu.lu@intel.com> + + PR 939 + * elflink.c (elf_link_output_extsym): Use output_bfd if + h->root.u.def.section is bfd_abs_section_ptr when reporting + error. + +2005-05-07 H.J. Lu <hongjiu.lu@intel.com> + + * elf-bfd.h (elf_backend_data): Update special_sections to + array of pointer to bfd_elf_special_section. + * elf.c (special_sections): Likewise. + * elf32-arm.c (elf32_arm_symbian_special_sections): Likewise. + * elf32-m32r.c (m32r_elf_special_sections): Likewise. + * elf32-m68hc11.c (elf32_m68hc11_special_sections): Likewise. + * elf32-m68hc12.c (elf32_m68hc12_special_sections): Likewise. + * elf32-mcore.c (mcore_elf_special_sections): Likewise. + * elf32-ppc.c (ppc_elf_special_sections): Likewise. + * elf32-sh64.c (sh64_elf_special_sections): Likewise. + * elf32-v850.c (v850_elf_special_sections): Likewise. + * elf32-xtensa.c (elf_xtensa_special_sections): Likewise. + * elf64-alpha.c (elf64_alpha_special_sections): Likewise. + * elf64-hppa.c (elf64_hppa_special_sections): Likewise. + * elf64-ppc.c (ppc64_elf_special_sections): Likewise. + * elf64-sh64.c (sh64_elf64_special_sections): Likewise. + * elfxx-ia64.c (elfNN_ia64_special_sections): Likewise. + * elfxx-mips.c (_bfd_mips_elf_special_sections): Likewise. + * elfxx-mips.h (_bfd_mips_elf_special_sections): Likewise. + + * elf.c (get_special_section): Updated. + +2005-05-07 Alan Modra <amodra@bigpond.net.au> + + * elf-bfd.h (struct elf_backend_data): Remove got_symbol_offset. + * elfxx-target.h (elf_backend_got_symbol_offset): Delete. + * elflink.c (_bfd_elf_create_got_section): Use zero in place of + got_symbol_offset. + * elf-m10300.c (_bfd_mn10300_elf_create_got_section): Likewise. + * elf32-frv.c (_frv_create_got_section): Likewise. + * elf32-i370.c (i370_elf_finish_dynamic_sections): Delete ppc code. + (elf_backend_got_symbol_offset): Don't define. + * elf64-ppc.c (elf_backend_got_symbol_offset): Don't define. + * elf32-ppc.c (struct ppc_elf_link_hash_table): Add got_header_size + and got_gap. + (ppc_elf_create_got): Tidy. + (ppc_elf_create_dynamic_sections): Don't set SEC_IN_MEMORY for .plt. + (ppc_elf_check_relocs): Reduce string comparisons by using elf.hgot. + (ppc_elf_gc_sweep_hook): Likewise. + (ppc_elf_relocate_section): Likewise. + (ppc_elf_finish_dynamic_symbol): Likewise. + (allocate_got): New function. + (allocate_dynrelocs): Use allocate_got. + (ppc_elf_size_dynamic_sections): Likewise. Delay tlsld_got allocation + so that local got can refcount it. Set got_header_size. + (ppc_elf_relocate_section): Use value of elf.hgot rather than hard- + coded 4. + (ppc_elf_finish_dynamic_sections): Likewise. + (elf_backend_got_symbol_offset): Don't define. + (elf_backend_got_header_size): Ditto. + +2005-05-05 Steve Ellcey <sje@cup.hp.com> + + * configure.in (ACX_HEADER_STRING): New. + * configure: Regenerate. + * config.in: Regenerate. + * sysdep.h (STRING_WITH_STRINGS): Use. + +2005-05-05 H.J. Lu <hongjiu.lu@intel.com> + + * elf.c (_bfd_elf_close_and_cleanup): Only call + _bfd_dwarf2_cleanup_debug_info on bfd_object. + +2005-05-05 H.J. Lu <hongjiu.lu@intel.com> + + * elflink.c (_bfd_elf_provide_section_bound_symbols): Use + "__bss_start" instead of "_edata" as fallback. + +2005-05-05 H.J. Lu <hongjiu.lu@intel.com> + + * bfd-in2.h: Regenerated. + +2005-05-05 Paul Brook <paul@codesourcery.com> + + * config.bfd: Use bfd_elf32_i386_vxworks_vec for i?86-*-vxworks. + * configure.in: Add bfd_elf32_i386_vxworks_vec. i386 targets need + elf-vxworks.lo. + * configure: Regenerate. + * Makefile.am (BFD32_BACKENDS): Add elf-vxworks.lo. + (BFD32_BACKENDS_CFILES): Add elf-vxworks.c. + (elf32-i386.lo): Depend on elf-vxworks.h. + (elf-vxworks.lo): New rule. + * Makefile.in: Regenerate. + * elf-bfd.h (elf_backend_data): Update type of + elf_backend_emit_relocs. + (_bfd_elf_link_output_relocs): Update prototype. + * elflink.c (_bfd_elf_link_output_relocs): Always use + bed->elf_backend_emit_relocs when outputting relocations. + * elfxx-target.h (elf_backend_emit_relocs): Default to + _bfd_elf_link_output_relocs. + * targets.c (bfd_elf32_i386_vxworks_vec): Declare. + (_bfd_target_vector): Add bfd_elf32_i386_vxworks_vec. + * elf32-i386.c: Add elf32-i386-vxworks target BFD. + (elf_i386_plt0_entry): Remove padding. + (elf_i386_pic_plt0_entry): Ditto. + (PLTRESOLVE_RELOCS_SHLIB, PLTRESOLVE_RELOCS): Define. + (PLT_NON_JUMP_SLOT_RELOCS): Define. + (elf_i386_link_hash_table): Add srelplt2, hgot, hplt, is_vxworks and + plt0_pad_byte fields. + (elf_i386_link_hash_table_create): Zero them. + (elf_i386_create_dynamic_sections): Create static relocation section. + (allocate_dynrelocs): Allocate space for static PLT relocations. + (elf_i386_size_dynamic_sections): Save shortcuts to PLT and GOT + symbols. Give PLT symbols function type. Don't strip PLT sections + if we have exported symbols from them. + (elf_i386_finish_dynamic_symbol): Fill in VxWorks PLT static + relocation section. Don't mark _GLOBAL_OFFSET_TABLE_ as absolute on + VxWorks. + (elf_i386_finish_dynamic_sections): Allow different pad bytes. + Add relocation for GOT location. Fill in PLT static relocations. + (elf_i386_vxworks_link_hash_table_create): New function. + (elf_i386_vxworks_link_output_symbol_hook): New function. + * elf-vxworks.h: New file. + +2005-05-05 H.J. Lu <hongjiu.lu@intel.com> + + * section.c (bfd_make_section_anyway_with_flags): New. + (bfd_make_section_anyway): Call bfd_make_section_anyway_with_flags, + (bfd_make_section_with_flags): New. + (bfd_make_section): Call bfd_make_section_with_flags. + + * elf-m10300.c (_bfd_mn10300_elf_create_got_section): Call + bfd_make_section_with_flags/bfd_make_section_anyway_with_flags + instead of bfd_make_section/bfd_make_section and don't call + bfd_set_section_flags. + (mn10300_elf_check_relocs): Likewise. + (_bfd_mn10300_elf_create_dynamic_sections): Likewise. + * elf32-arm.c (create_got_section): Likewise. + (bfd_elf32_arm_add_glue_sections_to_bfd): Likewise. + (elf32_arm_check_relocs): Likewise. + * elf32-cris.c (cris_elf_check_relocs): Likewise. + * elf32-frv.c (elf32_frv_add_symbol_hook): Likewise. + (_frv_create_got_section): Likewise. + (elf32_frvfdpic_create_dynamic_sections): Likewise. + * elf32-hppa.c (elf32_hppa_create_dynamic_sections): Likewise. + (elf32_hppa_check_relocs): Likewise. + * elf32-i370.c (i370_elf_create_dynamic_sections): Likewise. + (i370_elf_check_relocs): Likewise. + * elf32-i386.c (create_got_section): Likewise. + (elf_i386_check_relocs): Likewise. + * elf32-m32r.c (m32r_elf_add_symbol_hook): Likewise. + (create_got_section): Likewise. + (m32r_elf_create_dynamic_sections): Likewise. + (m32r_elf_check_relocs): Likewise. + * elf32-m68k.c (elf_m68k_check_relocs): Likewise. + * elf32-ppc.c (ppc_elf_create_got): Likewise. + (ppc_elf_create_dynamic_sections): Likewise. + (ppc_elf_add_symbol_hook): Likewise. + (ppc_elf_check_relocs): Likewise. + * elf32-s390.c (create_got_section): Likewise. + (elf_s390_check_relocs): Likewise. + * elf32-sh.c (create_got_section): Likewise. + (sh_elf_create_dynamic_sections): Likewise. + (sh_elf_check_relocs): Likewise. + * elf32-vax.c (elf_vax_check_relocs): Likewise. + * elf32-xstormy16.c (xstormy16_elf_check_relocs): Likewise. + * elf32-xtensa.c (elf_xtensa_create_dynamic_sections): Likewise. + (add_extra_plt_sections): Likewise. + * elf64-alpha.c (elf64_alpha_add_symbol_hook): Likewise. + (elf64_alpha_create_got_section): Likewise. + (elf64_alpha_create_dynamic_sections): Likewise. + (elf64_alpha_check_relocs): Likewise. + * elf64-hppa.c (get_reloc_section): Likewise. + (get_opd): Likewise. + (get_plt): Likewise. + (get_dlt): Likewise. + (get_stub): Likewise. + (elf64_hppa_create_dynamic_sectionso): Likewise. + * elf64-mmix.c (mmix_elf_check_common_relocs): Likewise. + * elf64-ppc.c (create_linkage_sections): Likewise. + (ppc64_elf_check_relocs): Likewise. + * elf64-s390.c (create_got_section): Likewise. + (elf_s390_check_relocs): Likewise. + * elf64-sh64.c (sh_elf64_check_relocs): Likewise. + (sh64_elf64_create_dynamic_sections): Likewise. + * elf64-x86-64.c (create_got_section): Likewise. + (elf64_x86_64_check_relocs): Likewise. + * elflink.c (_bfd_elf_create_got_section): Likewise. + (_bfd_elf_link_create_dynamic_sections): Likewise. + (elf_link_add_object_symbols): Likewise. + * elfxx-ia64.c (elfNN_ia64_add_symbol_hook): Likewise. + (elfNN_ia64_create_dynamic_sections): Likewise. + (get_fptr): Likewise. + (get_pltoff): Likewise. + (get_reloc_section): Likewise. + (elfNN_ia64_object_p): Likewise. + * elfxx-mips.c (mips_elf_rel_dyn_section): Likewise. + (mips_elf_create_compact_rel_section): Likewise. + (mips_elf_create_got_section): Likewise. + (_bfd_mips_elf_create_dynamic_sections): Likewise. + * elfxx-sparc.c (create_got_section): Likewise. + (_bfd_sparc_elf_check_relocs): Likewise. + + * elf.c (_bfd_elf_new_section_hook): Call _bfd_elf_get_sec_type_attr + on linker created sections. + +2005-05-05 H.J. Lu <hongjiu.lu@intel.com> + + PR 882 + * elflink.c (_bfd_elf_link_assign_sym_version): Allow version + script on executable. + +2005-05-05 John Levon <levon@movementarian.org> + + * dwarf2.c (read_abbrevs): If bfd_realloc fails, free currently + allocated memory before returning. + (decode_line_info): Likewise. + (_bfd_dwarf2_cleanup_debug_info): New function: Frees memory + allocated by functions in this file. + * elf-bfd.h (_bfd_dwarf2_cleanup_debug_info): Prototype. + * elf.c (_bfd_elf_close_and_cleanup): Call + _bfd_dwarf2_cleanup_debug_info. + +2005-05-05 Hans-Peter Nilsson <hp@axis.com> + + * Makefile.am (INCLUDES): Don't -D_GNU_SOURCE here. + * configure.in: Call AC_GNU_SOURCE here, after AC_PROG_CC. + * configure, config.in, Makefile.in: Regenerate. + * sysdep.h (stpcpy): Revert last change. + +2005-05-05 Hans-Peter Nilsson <hp@axis.com> + + * sysdep.h (stpcpy): Wrap declaration in parentheses. + +2005-05-04 H.J. Lu <hongjiu.lu@intel.com> + + * elfxx-ia64.c (ARCH_SIZE): New. + (LOG_SECTION_ALIGN): Likewise. + (elfNN_ia64_create_dynamic_sections): Use LOG_SECTION_ALIGN to + align relocation sections. + (get_fptr): Likewise. + (get_reloc_section): Likewise. + (elfNN_ia64_tprel_base): Likewise. + (elfNN_ia64_check_relocs): Support 32bit relocations. + (allocate_global_fptr_got): Likewise. + (allocate_dynrel_entries): Likewise. + (set_got_entry): Likewise. + (set_pltoff_entry): Likewise. + (elfNN_ia64_relocate_section): Likewise. + +2005-05-04 H.J. Lu <hongjiu.lu@intel.com> + + * configure.in: Add AC_CHECK_DECLS(stpcpy). + * configure: Regenerate. + * config.in: Likewise. + + * sysdep.h (stpcpy): New. + +2005-05-04 Nick Clifton <nickc@redhat.com> + + * Update the address and phone number of the FSF organization in + the GPL notices in the following files: + aix386-core.c, aix5ppc-core.c, aout-adobe.c, aout-arm.c, + aout-cris.c, aout-ns32k.c, aout-sparcle.c, aout-target.h, + aout-tic30.c, aout0.c, aout32.c, aout64.c, aoutf1.h, aoutx.h, + archive.c, archive64.c, archures.c, armnetbsd.c, bfd-in.h, + bfd-in2.h, bfd.c, bfdio.c, bfdwin.c, binary.c, bout.c, cache.c, + cf-i386lynx.c, cf-m68klynx.c, cf-sparclynx.c, cisco-core.c, + coff-a29k.c, coff-alpha.c, coff-apollo.c, coff-arm.c, coff-aux.c, + coff-go32.c, coff-h8300.c, coff-h8500.c, coff-i386.c, coff-i860.c, + coff-i960.c, coff-ia64.c, coff-m68k.c, coff-m88k.c, coff-maxq.c, + coff-mcore.c, coff-mips.c, coff-or32.c, coff-pmac.c, coff-ppc.c, + coff-rs6000.c, coff-sh.c, coff-sparc.c, coff-stgo32.c, + coff-svm68k.c, coff-tic30.c, coff-tic4x.c, coff-tic54x.c, + coff-tic80.c, coff-u68k.c, coff-w65.c, coff-we32k.c, coff-z8k.c, + coff64-rs6000.c, coffcode.h, coffgen.c, cofflink.c, coffswap.h, + corefile.c, cpu-a29k.c, cpu-alpha.c, cpu-arc.c, cpu-arm.c, + cpu-avr.c, cpu-cr16c.c, cpu-cris.c, cpu-crx.c, cpu-d10v.c, + cpu-d30v.c, cpu-dlx.c, cpu-fr30.c, cpu-frv.c, cpu-h8300.c, + cpu-h8500.c, cpu-hppa.c, cpu-i370.c, cpu-i386.c, cpu-i860.c, + cpu-i960.c, cpu-ia64-opc.c, cpu-ia64.c, cpu-ip2k.c, cpu-iq2000.c, + cpu-m10200.c, cpu-m10300.c, cpu-m32r.c, cpu-m68hc11.c, + cpu-m68hc12.c, cpu-m68k.c, cpu-m88k.c, cpu-maxq.c, cpu-mcore.c, + cpu-mips.c, cpu-mmix.c, cpu-msp430.c, cpu-ns32k.c, cpu-openrisc.c, + cpu-or32.c, cpu-pdp11.c, cpu-pj.c, cpu-powerpc.c, cpu-rs6000.c, + cpu-s390.c, cpu-sh.c, cpu-sparc.c, cpu-tic30.c, cpu-tic4x.c, + cpu-tic54x.c, cpu-tic80.c, cpu-v850.c, cpu-vax.c, cpu-w65.c, + cpu-we32k.c, cpu-xstormy16.c, cpu-xtensa.c, cpu-z8k.c, demo64.c, + dwarf1.c, dwarf2.c, ecoff.c, ecofflink.c, ecoffswap.h, + efi-app-ia32.c, efi-app-ia64.c, elf-bfd.h, elf-eh-frame.c, + elf-hppa.h, elf-m10200.c, elf-m10300.c, elf-strtab.c, elf.c, + elf32-am33lin.c, elf32-arc.c, elf32-arm.c, elf32-avr.c, + elf32-cr16c.c, elf32-cris.c, elf32-crx.c, elf32-d10v.c, + elf32-d30v.c, elf32-dlx.c, elf32-fr30.c, elf32-frv.c, elf32-gen.c, + elf32-h8300.c, elf32-hppa.c, elf32-hppa.h, elf32-i370.c, + elf32-i386.c, elf32-i860.c, elf32-i960.c, elf32-ip2k.c, + elf32-iq2000.c, elf32-m32r.c, elf32-m68hc11.c, elf32-m68hc12.c, + elf32-m68hc1x.c, elf32-m68hc1x.h, elf32-m68k.c, elf32-m88k.c, + elf32-mcore.c, elf32-mips.c, elf32-msp430.c, elf32-openrisc.c, + elf32-or32.c, elf32-pj.c, elf32-ppc.c, elf32-ppc.h, elf32-s390.c, + elf32-sh-symbian.c, elf32-sh.c, elf32-sh64-com.c, elf32-sh64.c, + elf32-sh64.h, elf32-sparc.c, elf32-v850.c, elf32-vax.c, + elf32-xstormy16.c, elf32-xtensa.c, elf32.c, elf64-alpha.c, + elf64-gen.c, elf64-hppa.c, elf64-hppa.h, elf64-mips.c, + elf64-mmix.c, elf64-ppc.c, elf64-ppc.h, elf64-s390.c, + elf64-sh64.c, elf64-sparc.c, elf64-x86-64.c, elf64.c, elfcode.h, + elfcore.h, elflink.c, elfn32-mips.c, elfxx-ia64.c, elfxx-mips.c, + elfxx-mips.h, elfxx-sparc.c, elfxx-sparc.h, elfxx-target.h, + epoc-pe-arm.c, epoc-pei-arm.c, format.c, freebsd.h, gen-aout.c, + genlink.h, hash.c, host-aout.c, hp300bsd.c, hp300hpux.c, + hppabsd-core.c, hpux-core.c, i386aout.c, i386bsd.c, i386dynix.c, + i386freebsd.c, i386linux.c, i386lynx.c, i386mach3.c, i386msdos.c, + i386netbsd.c, i386os9k.c, ieee.c, ihex.c, init.c, irix-core.c, + libaout.h, libbfd-in.h, libbfd.c, libbfd.h, libcoff-in.h, + libcoff.h, libecoff.h, libhppa.h, libieee.h, libnlm.h, liboasys.h, + libpei.h, libxcoff.h, linker.c, lynx-core.c, m68k4knetbsd.c, + m68klinux.c, m68klynx.c, m68knetbsd.c, m88kmach3.c, m88kopenbsd.c, + mach-o-target.c, mach-o.c, mach-o.h, merge.c, mipsbsd.c, mmo.c, + netbsd-core.c, netbsd.h, newsos3.c, nlm-target.h, nlm.c, + nlm32-alpha.c, nlm32-i386.c, nlm32-ppc.c, nlm32-sparc.c, nlm32.c, + nlm64.c, nlmcode.h, nlmswap.h, ns32k.h, ns32knetbsd.c, oasys.c, + opncls.c, osf-core.c, pc532-mach.c, pdp11.c, pe-arm.c, pe-i386.c, + pe-mcore.c, pe-mips.c, pe-ppc.c, pe-sh.c, peXXigen.c, + pef-traceback.h, pef.c, pef.h, pei-arm.c, pei-i386.c, pei-mcore.c, + pei-mips.c, pei-ppc.c, pei-sh.c, peicode.h, ppcboot.c, + ptrace-core.c, reloc.c, reloc16.c, riscix.c, rs6000-core.c, + sco5-core.c, section.c, simple.c, som.c, som.h, sparclinux.c, + sparclynx.c, sparcnetbsd.c, srec.c, stab-syms.c, stabs.c, sunos.c, + syms.c, sysdep.h, targets.c, tekhex.c, ticoff.h, trad-core.c, + vax1knetbsd.c, vaxbsd.c, vaxnetbsd.c, versados.c, vms-gsd.c, + vms-hdr.c, vms-misc.c, vms-tir.c, vms.c, vms.h, xcoff-target.h, + xcofflink.c, xsym.c, xsym.h, xtensa-isa.c, xtensa-modules.c, + hosts/alphavms.h + +2005-05-04 H.J. Lu <hongjiu.lu@intel.com> + + * bfd-in.h (_bfd_elf_provide_section_bound_symbols): New. + * bfd-in2.h: Regenerated. + + * elflink.c (bfd_elf_set_symbol): New. + (_bfd_elf_provide_symbol): Call it. + (_bfd_elf_provide_section_bound_symbols): New. + +2005-05-04 H.J. Lu <hongjiu.lu@intel.com> + + * elflink.c (_bfd_elf_merge_symbol): Only skip weak definitions + at the end, if a strong definition has already been seen. + +2005-05-04 Alan Modra <amodra@bigpond.net.au> + + * section.c (struct bfd_section): Replace link_order_head and + link_order_tail with map_head and map_tail union. + (STD_SECTION): Update. + (_bfd_strip_section_from_output): Delete. + * aoutx.h: Update throughout for above changes. + * coff-ppc.c: Likewise. + * cofflink.c: Likewise. + * ecoff.c: Likewise. + * elf-eh-frame.c: Likewise. + * elf-m10300.c: Likewise. + * elf.c: Likewise. + * elf32-arm.c: Likewise. + * elf32-cris.c: Likewise. + * elf32-hppa.c: Likewise. + * elf32-i386.c: Likewise. + * elf32-m32r.c: Likewise. + * elf32-m68hc1x.c: Likewise. + * elf32-m68k.c: Likewise. + * elf32-ppc.c: Likewise. + * elf32-s390.c: Likewise. + * elf32-sh.c: Likewise. + * elf32-vax.c: Likewise. + * elf32-xtensa.c: Likewise. + * elf64-alpha.c: Likewise. + * elf64-hppa.c: Likewise. + * elf64-ppc.c: Likewise. + * elf64-s390.c: Likewise. + * elf64-sh64.c: Likewise. + * elf64-x86-64.c: Likewise. + * elflink.c: Likewise. + * elfxx-ia64.c: Likewise. + * elfxx-mips.c: Likewise. + * elfxx-sparc.c: Likewise. + * linker.c: Likewise. + * merge.c: Likewise. + * pdp11.c: Likewise. + * xcofflink.c: Likewise. + * elflink.c (bfd_boolean bfd_elf_size_dynsym_hash_dynstr): Split + out from bfd_elf_size_dynamic_sections. + * bfd-in.h (bfd_boolean bfd_elf_size_dynsym_hash_dynstr): Declare. + * bfd-in2.h: Regenerate. + +2005-05-04 Alan Modra <amodra@bigpond.net.au> + + * section.c (bfd_section_list_remove): Don't clear s->next. + (bfd_section_list_append): Always init s->prev. + (bfd_section_list_prepend): Define. + (bfd_section_list_insert_after): Minor optimization. + (bfd_section_removed_from_list): Rewrite. + * elf.c (assign_section_numbers): Simplify list traversal now that + bfd_section_list_remove doesn't destroy removed section next ptr. + * sunos.c (sunos_add_dynamic_symbols): Likewise. + * elfxx-ia64.c (elfNN_ia64_object_p): Use bfd_section_list_prepend. + * xcofflink.c (_bfd_xcoff_bfd_final_link): Simplify list traversal. + * bfd-in2.h: Regenerate. + +2005-05-02 H.J. Lu <hongjiu.lu@intel.com> + + * bfd.c (bfd): Remove section_tail and add section_last. + (bfd_preserve): Likewise. + (bfd_preserve_save): Likewise. + (bfd_preserve_restore): Likewise. + * opncls.c (_bfd_new_bfd): Likewise. + + * coffcode.h (coff_compute_section_file_positions): Updated. + (coff_compute_section_file_positions): Likewise. + * elf.c (assign_section_numbers): Likewise. + * elf32-i370.c (i370_elf_size_dynamic_sections): Likewise. + * elf64-mmix.c (mmix_elf_final_link): Likewise. + * elfxx-ia64.c (elfNN_ia64_object_p): Likewise. + * elfxx-mips.c (_bfd_mips_elf_link_hash_table_create): Likewise. + * sunos.c (sunos_add_dynamic_symbols): Likewise. + * xcofflink.c (_bfd_xcoff_bfd_final_link): Likewise. + + * ecoff.c (bfd_debug_section): Initialize prev. + + * section.c (bfd_section): Add prev. + (bfd_section_list_remove): Updated. + (bfd_section_list_append): New. + (bfd_section_list_insert_after): New. + (bfd_section_list_insert_before): New. + (bfd_section_list_insert): Removed. + (bfd_section_removed_from_list): Updated. + (STD_SECTION): Initialize prev. + (bfd_section_init): Updated. + (bfd_section_list_clear): Updated. + + * bfd-in2.h: Regenerated. + +2005-05-02 H.J. Lu <hongjiu.lu@intel.com> + + * elf.c (_bfd_elf_new_section_hook): Don't call + _bfd_elf_get_sec_type_attr on sections from input files. + +2005-05-02 H.J. Lu <hongjiu.lu@intel.com> + + * merge.c (sec_merge_init): Call bfd_hash_table_init_n with + hash table size 16699 instead of bfd_hash_table_init. + +2005-05-01 Paul Brook <paul@codesourcery.com> + + * elflink.c (_bfd_elf_merge_symbol): Skip weak definitions if a strong + definition has already been seen. + +2005-05-01 Paul Brook <paul@codesourcery.com> + + * elf32-arm.c (bfd_elf32_arm_process_before_allocation): Treat + R_ARM_PLT32 the same as R_ARM_PC24. + (arm_add_to_rel): Ditto. + +2005-04-29 Ralf Corsepius <ralf.corsepius@rtems.org> + + * config.bfd: Add h8300*-*-rtemscoff. + Switch h8300*-*-rtems* to elf. + +2005-04-29 Daniel Jacobowitz <dan@codesourcery.com> + + * aclocal.m4, Makefile.in: Regnerated. + +2005-04-28 Paul Brook <paul@codesourcery.com> + + Merge changes only applied to Makefile.in. + * Makefile.am (BFD32_BACKENDS): Add elfxx-sparc.lo + (BFD32_BACKENDS_CFILES): Add elfxx-sparc.c + (elfxx-sparc.lo): New rule. + (elf32-sparc.lo): Add elfxx-sparc.h dependency. + (elf64-sparc.lo): Likewise. + +2005-04-28 Julian Brown <julian@codesourcery.com> + + * elflink.c (_bfd_elf_provide_symbol): Provide symbol for weak + import. + +2005-04-27 H.J. Lu <hongjiu.lu@intel.com> + + * elf-bfd.h (bfd_elf_sym_name): Also take "asection *". + + * elf.c (bfd_elf_sym_name): Updated. + (group_signature): Likewise. + * elf32-ppc.c (ppc_elf_relocate_section): Likewise. + * elf64-ppc.c (ppc64_elf_edit_opd): Likewise. + (ppc64_elf_edit_toc): Likewise. + (ppc64_elf_relocate_section): Likewise. + * elfcode.h (elf_slurp_symbol_table): Likewise. + * elflink.c (elf_link_input_bfd): Likewise. + + * elfxx-ia64.c (elfNN_ia64_relocate_section): Call + bfd_elf_sym_name to get local symbol name when reporting errors. + +2005-04-27 Nick Clifton <nickc@redhat.com> + + * elflink.c (elf_link_input_bfd): Handle the case where a badly + formatted input file results in a reloc which has no associated + global symbol. + +2005-04-26 Jerome Guitton <guitton@gnat.com> + + * bfd.m4 (BFD_NEED_DECLARATION): Restore. + +2005-04-25 David S. Miller <davem@davemloft.net> + + * elfxx-sparc.c (sparc_elf_append_rela_64): Add BFD64 protection. + (sparc_elf_r_info_64, _bfd_sparc_elf_finish_dynamic_symbol, + sparc64_finish_dyn, _bfd_sparc_elf_finish_dynamic_sections): + Likewise. + +2005-04-25 H.J. Lu <hongjiu.lu@intel.com> + + PR 858 + * elflink.c (elf_link_input_bfd): Make non-debugging reference + to discarded section an error. + +2005-04-21 Jerome Guitton <guitton@gnat.com> + + * configure.in: Replace BFD_NEED_DECLARATION checks by the + corresponding AC_CHECK_DECLS. + * sysdep.h: Replace NEED_DECLARATION_* checks by the corresponding + HAVE_DECL_*. + * bfd.m4 (BFD_NEED_DECLARATION): Remove, obsolete. + * configure: Regenerate. + * config.in: Ditto. + +2005-04-21 Andreas Schwab <schwab@suse.de> + + * elfxx-sparc.h (struct _bfd_sparc_elf_link_hash_table): Remove + unsigned from type of dynamic_interpreter. + * elfxx-sparc.c (_bfd_sparc_elf_link_hash_table_create): Remove + casts again. + + * elf.c (assign_section_numbers): Fix comment. + +2005-04-21 Jerome Guitton <guitton@gnat.com> + + * som.c (som_bfd_print_private_bfd_data): Add explicit cast to long + for struct som_exec_auxhdr fields. + +2005-04-21 Nick Clifton <nickc@redhat.com> + + * aout-adobe.c: Convert to ISO C and fix formatting. + * aout-arm.c: Convert to ISO C and fix formatting. + * aout-cris.c: Convert to ISO C and fix formatting. + * aout-ns32k.c: Convert to ISO C and fix formatting. + * aout-tic30.c: Convert to ISO C and fix formatting. + * coffcode.h: Convert to ISO C and fix formatting. + * coffswap.h: Convert to ISO C and fix formatting. + * i386aout.c: Convert to ISO C and fix formatting. + * libaout.h: Convert to ISO C and fix formatting. + * libcoff-in.h: Convert to ISO C and fix formatting. + * libcoff.h: Convert to ISO C and fix formatting. + * libecoff.h: Convert to ISO C and fix formatting. + * libnlm.h: Convert to ISO C and fix formatting. + * libpei.h: Convert to ISO C and fix formatting. + * libxcoff.h: Convert to ISO C and fix formatting. + * nlm-target.h: Convert to ISO C and fix formatting. + * nlm.c: Convert to ISO C and fix formatting. + * nlm32-alpha.c: Convert to ISO C and fix formatting. + * nlm32-i386.c: Convert to ISO C and fix formatting. + * nlm32-ppc.c: Convert to ISO C and fix formatting. + * nlm32-sparc.c: Convert to ISO C and fix formatting. + * nlmcode.h: Convert to ISO C and fix formatting. + * nlmswap.h: Convert to ISO C and fix formatting. + * pe-mips.c: Convert to ISO C and fix formatting. + * peXXigen.c: Convert to ISO C and fix formatting. + * peicode.h: Convert to ISO C and fix formatting. + * vms-gsd.c: Convert to ISO C and fix formatting. + * vms-hdr.c: Convert to ISO C and fix formatting. + * vms-misc.c: Convert to ISO C and fix formatting. + * vms-tir.c: Convert to ISO C and fix formatting. + * vms.c: Convert to ISO C and fix formatting. + * vms.h: Convert to ISO C and fix formatting. + + * coffgen.c (coff_print_symbol): Restore correct formatting of + output. + +2005-04-20 David S. Miller <davem@davemloft.net> + + * elfxx-sparc.c (sparc_elf_r_symndx_64): Fix compiler warning. + (_bfd_sparc_elf_link_hash_table_create): Likewise. + (allocate_dynrelocs): Likewise. + +2005-04-20 Jerome Guitton <guitton@gnat.com> + + * configure.in: Fix the check for basename declaration. Add check + for declarations of ftello, ftello64, fseeko, fseeko64. + * configure: Regenerate. + * config.in: Ditto. + * sysdep.h: If needed, declare ftello, ftello64, fseeko, fseeko64. + +2005-04-19 David S. Miller <davem@davemloft.net> + + * elfxx-sparc.c: New file. + * elfxx-sparc.h: New file. + * Makefile.in (BFD32_BACKENDS): Add elfxx-sparc.lo + (BFD32_BACKENDS_CFILES): Add elfxx-sparc.c + (elfxx-sparc.lo): New rule. + (elf32-sparc.lo): Add elfxx-sparc.h dependency. + (elf64-sparc.lo): Likewise. + * configure.in (bfd_elf32_sparc_vec): Add elfxx-sparc.lo + (bfd_elf64_sparc_vec): Likewise. + * configure: Regenerate. + * elf32-sparc.c: Remove common code now in elfxx-sparc.c + * elf64-sparc.c: Likewise, also use elf64_sparc_*() naming + which is more consistent with elf32-sparc.c + +2005-04-19 Daniel Jacobowitz <dan@codesourcery.com> + + * elfxx-mips.c (struct mips_elf_link_hash_entry): Update comment. + (mips_elf_create_local_got_entry): Check h->root.forced_local. + +2005-04-19 Alan Modra <amodra@bigpond.net.au> + + * elf32-ppc.c (ppc_elf_check_relocs): Don't bother with + dynamic relocs in non-SEC_ALLOC sections. + (ppc_elf_gc_sweep_hook): Likewise. + (ppc_elf_relax_section): Likewise. + (ppc_elf_relocate_section): Likewise. + +2005-04-18 Nick Clifton <nickc@redhat.com> + + * aix5ppc-core.c (xcoff64_core_p): Fix compile time warning + assigning a value to return_value. + +2005-04-17 H.J. Lu <hongjiu.lu@intel.com> + + PR 855 + * elf.c (_bfd_elf_copy_private_section_data): Don't copy linker + created group data. + +2005-04-17 H.J. Lu <hongjiu.lu@intel.com> + + PR 855 + * elf.c (setup_group): Properly handle zero group count. + +2005-04-17 Mark Kettenis <kettenis@gnu.org> + + * som.c (hppa_som_reloc, som_mkobject, som_is_space) + (som_is_subspace, compare_subspaces, som_compute_checksum) + (som_build_and_write_symbol_table, som_slurp_symbol_table): New + protoypes. + (hppa_som_reloc, compare_syms, compare_subspaces) + (som_print_symbol, som_get_section_contents) + (som_set_section_contents): Remove space after 'void *'. + (som_bfd_print_private_bfd_data): Use %lx to print longs. + (som_bfd_merge_private_bfd_data) + (som_bfd_copy_private_header_data, som_bfd_set_private_flags): New + defines. + +2005-04-15 Julian Brown <julian@codesourcery.com> + + * bfd-in.h (bfd_elf32_arm_set_target_relocs): Update prototype. + * bfd-in2.h: Regenerate. + * elf32-arm.c (elf32_arm_link_hash_table): New field, 'use_blx'. + (elf32_arm_link_hash_table_create): Initialise fix_v4bx, use_blx. + (bfd_elf32_arm_set_target_relocs): Handle use_blx. + (elf32_arm_final_link_relocate): Use Thumb BLX for R_ARM_THM_PC22 + relocations if requested to. + (allocate_dynrelocs): Don't count size of omitted Thumb stubs based on + use_blx rather than symbian_p. + (elf32_arm_finish_dynamic_symbol): Don't output Thumb PLT stubs if + use_blx is in effect. + (elf32_arm_symbian_link_hash_table_create): Enable use_blx by default + for SymbianOS. + +2005-04-15 Nick Clifton <nickc@redhat.com> + + * coffgen.c (coff_print_symbol): Use fprintf_vma to print vma + values. + +2005-04-15 Alan Modra <amodra@bigpond.net.au> + + PR ld/815 + * elflink.c (elf_smash_syms): Clear undef.next if it's not being + used as a list pointer. + +2005-04-14 Alan Modra <amodra@bigpond.net.au> + + * Makefile.am (NO_WERROR): Define. + * warning.m4: New file + * acinclude.m4: Include warning.m4. + * configure.in: Invoke AM_BINUTILS_WARNINGS. + * Makefile.in: Regenerate. + * configure: Regenerate. + +2005-04-14 Alan Modra <amodra@bigpond.net.au> + + * merge.c (sec_merge_emit): Tidy. Check for bfd_zmalloc errors. + Write trailing padding. + + * merge.c (merge_strings): Round up section size for alignment. + +2005-04-14 David S. Miller <davem@davemloft.net> + + Add TLS support for 64-bit Sparc ELF. + * elf64-sparc.c (sparc64_elf_dyn_relocs, + sparc64_elf_link_hash_entry, sparc64_elf_obj_tdata): New structs. + (GOT_UNKNOWN, GOT_NORMAL, GOT_TLD_GD, GOT_TLD_IE, + sparc64_elf_hash_entry, sparc64_elf_tdata, + sparc64_elf_local_got_tls_type): New defines. + (sparc64_elf_mkobject): New function. + (sparc64_elf_link_hash_table): Add members for dynamic linker + sections PLT, RELPLT, DYNBSS, and RELBSS. Add tls_ldm_got + uion to track TLS GOT references. Add sym_sec to cache + mappings from local sym to section. + (link_hash_newfunc): New function. + (sparc64_elf_bfd_link_hash_table_create): Rename to + sparc64_elf_link_hash_table_create for consistency. + Pass link_hash_newfunc to _bfd_elf_link_hash_table_init. + (sparc64_elf_create_dynamic_sections): Initialize new section + members of sparc64_elf_link_hash_table. Only init srelbss + if not-shared. + (sparc64_elf_copy_indirect_symbol, sparc64_elf_tls_transition): + New functions. + (SPARC_NOP): Define. + (sparc64_elf_build_plt, sparc64_elf_plt_entry_offset, + sparc64_elf_plt_ptr_offset): Delete. + (sparc64_plt_entry_build): New function to build PLT entries + gradually instread of all at once at the end of linking. + (sparc64_elf_check_relocs): Delete dynobj, sgot, and srelgot + local vars. Get them from sparc64_elf_hash_table instead. + Check early on if r_symndx is in bounds. Handle TLS transitions. + Account for TLS GOT references and DF_STATIC_TLS, as needed. + For TLS relocs, record the tls_type in either + sparc64_elf_local_got_tls_type or sparc64_elf_hash_entry as + appropriate. For R_SPARC_TLS_{GD,LDM}_CALL, emit a reference + to the __tls_get_addr symbol. For PLT relocs, track references + via h->plt.refcount. When R_SPARC_{PC10,PC22,PC_HH22,PC_HM10, + PC_LM22} and h not-NULL, set h->non_got_ref. For global data + symbol references, count the number of relocations needed for + that symbol. For default switch case, don't error, this lets + the TLS relocs not explicitly handled by this function get + accepted. + (sparc64_elf_gc_mark_hook, sparc64_gc_sweep_hook): New functions. + (sparc64_elf_adjust_dynamic_symbol): Remove dynobj local var, get + it from sparc64_elf_hash_table. Store the real PLT offset + in h->plt.offset, and build PLT entries one at a time. Also + get .dynbss section pointer from htab. + (allocate_dynrelocs, readonly_dynrelocs, + sparc64_omit_section_dynsym): New functions. + (sparc64_elf_omit_section_dynsym): Use these new functions as + helpers. + (dtpoff_base, tpoff): New functions. + (sparc64_elf_relocate_section): Kill dynobj, sgot, and splt + locals, get them from sparc64_elf_hash_table. Handle TLS + relocations and refcounting in main relocation loop. + (sparc64_elf_finish_dynamic_symbol): Use + sparc64_elf_link_hash_table. Build PLT entries as we see + them. Handle TLS GOT relocations. + (sparc64_elf_finish_dynamic_sections): Get sgot and dynobj + from sparc64_elf_hash_table. Initialize only PLT header + not all entries since we not build PLT entries one by one. + (elf_backend_copy_indirect_symbol, bfd_elf64_mkobject, + elf_backend_gc_mark_hook, elf_backend_gc_sweep_hook, + elf_backend_can_gc_sections, elf_backend_can_refcount): Define. + +2005-04-13 Daniel Jacobowitz <dan@codesourcery.com> + + * elflink.c (elf_link_input_bfd): Update check for removed + sections. + +2005-04-12 Alan Modra <amodra@bigpond.net.au> + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + * aclocal.m4: Regenerate. + * libcoff.h: Regenerate. + +2005-04-11 H.J. Lu <hongjiu.lu@intel.com> + + * linker.c (_bfd_generic_link_output_symbols): Also check if + the output section of an input section has been removed from + the output file. + + * section.c (bfd_section_list_remove): Clear the next field + of the removed section. + (bfd_section_removed_from_list): New. + * bfd-in2.h: Regenerated. + +2005-04-11 David S. Miller <davem@davemloft.net> + + * elf32-sparc.c (elf32_sparc_relocate_section, + R_SPARC_TLS_LDO_{HIX22,LOX10}): When not shared, transition to + R_SPARC_TLS_LE_{HIX22,LOX10}. + (elf32_sparc_relocate_section, R_SPARC_TLS_{LDO,LE}_HIX22): Only + xor relocation with 0xffffffff if R_SPARC_TLS_LE_HIX22. + (elf32_sparc_relocate_section, R_SPARC_TLS_{LDO,LE}_LOX10): Only + or 0x1c00 into relocation if R_SPARC_TLS_LE_HIX22. + +2005-04-11 H.J. Lu <hongjiu.lu@intel.com> + + * coffcode.h (STRING_SIZE_SIZE): Updated to match libcoff-in.h. + +2005-04-11 Nick Clifton <nickc@redhat.com> + + * aout-target.h: Convert to ISO C. + * aoutf1.h: Convert to ISO C. + * aoutx.h: Convert to ISO C. + * bout.c: Convert to ISO C. + * dwarf1.c: Convert to ISO C. + * ecoffswap.h: Convert to ISO C. + * freebsd.h: Convert to ISO C. + * genlink.h: Convert to ISO C. + * ieee.c: Convert to ISO C. + * ihex.c: Convert to ISO C. + * libcoff-in.h: Convert to ISO C. + * mach-o.c: Convert to ISO C. + * mach-o.h: Convert to ISO C. + * netbsd.h: Convert to ISO C. + * ns32k.h: Convert to ISO C. + * ns32knetbsd.c: Convert to ISO C. + * oasys.c: Convert to ISO C. + * pdp11.c: Convert to ISO C. + * pef-traceback.h: Convert to ISO C. + * pef.c: Convert to ISO C. + * pef.h: Convert to ISO C. + * riscix.c: Convert to ISO C. + * som.c: Convert to ISO C. + * som.h: Convert to ISO C. + * srec.c: Convert to ISO C. + * stabs.c: Convert to ISO C. + * sunos.c: Convert to ISO C. + * tekhex.c: Convert to ISO C. + * versados.c: Convert to ISO C. + * version.h: Convert to ISO C. + * xcoff-target.h: Convert to ISO C. + * xcofflink.c: Convert to ISO C. + * xsym.c: Convert to ISO C. + * xsym.h: Convert to ISO C. + +2005-04-08 Paul Brook <paul@codesourcery.com> + + * elf32-arm.c (ARM2THUMB_GLUE_SIZE): Rename... + (ARM2THUMB_STATIC_GLUE_SIZE): ... to this. + (ARM2THUMB_PIC_GLUE_SIZE): Define. + (a2t1p_ldr_insn, a2t2p_add_pc_insn, a2t3p_bx_r12_insn): Add. + (elf32_arm_to_thumb_stub): Create PIC stubs. + (record_arm_to_thumb_glue): Use different stub size for relocatable + images. + +2005-04-05 Alan Modra <amodra@bigpond.net.au> + + * elf64-ppc.c (dec_dynrel_count): New function split out from + ppc64_elf_edit_toc, with additional code from ppc64_elf_edit_opd. + (ppc64_elf_edit_toc, ppc64_elf_edit_opd): Use it. + (ppc64_elf_tls_optimize): Likewise. + +2005-04-05 Mark Kettenis <kettenis@gnu.org> + + * netbsd-core.c (SPARC_WCOOKIE_OFFSET): Renamed from + CORE_WCOOKIE_OFFSET. + (SPARC64_WCOOKIE_OFFSET): New. + (netbsd_core_file_p): Provide .wcookie section for OpenBSD/sparc64. + +2005-04-05 Nick Clifton <nickc@redhat.com> + + * po/rw.po: New translation: Kinyarwanda + * configure.in (ALL_LINGUAS): Add rw + * configure: Regenerate. + +2005-04-05 Richard Sandiford <rsandifo@redhat.com> + + * elfxx-mips.c (MIPS_ELF_OPTIONS_SECTION_NAME_P): New macro. + (_bfd_mips_elf_section_from_shdr): Use it to check for recognized + SHT_MIPS_OPTIONS names. Allow all sections with unrecognised + section flags. + (_bfd_mips_elf_fake_sections): Use MIPS_ELF_OPTIONS_SECTION_NAME_P + to check for SHT_MIPS_OPTIONS sections. + (_bfd_mips_elf_set_section_contents): Likewise. + +2005-04-04 Eric Christopher <echristo@redhat.com> + + * elfxx-mips.c (_bfd_elf_mips_get_relocated_section_contents): + Clean up gp handling code. + +2005-04-04 H.J. Lu <hongjiu.lu@intel.com> + + * elf.c (bfd_elf_set_group_contents): Ignore linker created + group section. + (assign_section_numbers): Accept link_info. Check SHT_GROUP + sections for relocatable files only. Remove the linker created + group sections. + (_bfd_elf_compute_section_file_positions): Pass link_info to + assign_section_numbers. + + * elfxx-ia64.c (elfNN_ia64_object_p): New. + (elf_backend_object_p): Defined. + +2005-04-04 H.J. Lu <hongjiu.lu@intel.com> + + * elf-bfd.h (elf_section_data): Use (sec) instead of sec. + +2005-04-03 Fred Fish <fnf@specifixinc.com> + + * dwarf2.c (struct dwarf2_debug): Add dwarf_ranges_buffer and + dwarf_ranges_size members. + (struct comp_unit): Add base_address member. + (struct funcinfo): Replace low/high members with an arange. + (arange_add): Replace incoming "unit" parameter with "abfd" and + "first_arange" pointers. Reorganize/rewrite function body. + (decode_line_info): Change arange_add call to pass bfd and arange + pointers. + (lookup_address_in_line_info_table): Use arange list instead of + individual low/high members. Walk function's arange list to find + lowest PC in list, to test for overlapping functions. + (read_debug_ranges): New function, reads the debug_ranges section. + (lookup_address_in_function_table): Use arange list instead of + individual low/high members. Rewrite to find smallest range that + matches. + (read_rangelist): Read a given rangelist from debug_ranges. + (scan_unit_for_functions): Use arange list instead of individual + low/high members. Handle a DW_AT_ranges attribute. + (parse_comp_unit): Use arange list instead of individual low/high + members. Save comp unit base address. Handle a DW_AT_ranges + attribute. + +2005-04-01 H.J. Lu <hongjiu.lu@intel.com> + + * elf.c (assign_section_numbers): Really use the kept section. + +2005-03-31 H.J. Lu <hongjiu.lu@intel.com> + + * elf-bfd.h (_bfd_elf_check_kept_section): New. + + * elf.c (assign_section_numbers): When sh_link points to a + discarded section, call _bfd_elf_check_kept_section to see if + the kept section can be used. Otherwise reject sh_link + pointing to discarded section. + + * elflink.c (_bfd_elf_check_kept_section): New. + (elf_link_input_bfd): Use it. + +2005-04-01 Alan Modra <amodra@bigpond.net.au> + + * elf64-ppc.c (ppc64_elf_edit_toc): Account for dynamic relocs + that we no longer need. + +2005-04-01 Alan Modra <amodra@bigpond.net.au> + + * elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Return -1 on errors + rather than 0. + (ppc64_elf_check_relocs): Remove unnecessary SEC_ALLOC check. + +2005-03-31 H.J. Lu <hongjiu.lu@intel.com> + + * elf.c (assign_section_numbers): Fix a typo. + +2005-03-31 H.J. Lu <hongjiu.lu@intel.com> + + * elflink.c (elf_link_input_bfd): Remove the extra `\n' in + error message. + (_bfd_elf_section_already_linked): Likewise. + +2005-03-31 Jerome Guitton <guitton@gnat.com> + + * config.in: Regenerate. + +2005-03-31 Jerome Guitton <guitton@gnat.com> + + * config.in (HAVE_DECL_BASENAME): New configure macro. + * configure.in: Check for basename. + * configure: Regenerate. + +2005-03-30 Julian Brown <julian@codesourcery.com> + + * bfd-in.h (bfd_is_arm_mapping_symbol_name): Rename from + bfd_elf32_is_arm_mapping_symbol_name. + * bfd-in2.h: Regenerate. + * cpu-arm.c (bfd_is_arm_mapping_symbol_name): Rename from + bfd_elf32_is_arm_mapping_symbol_name. + * elf32-arm.c (elf32_arm_is_target_special_symbol): Rename + bfd_elf32_is_arm_mapping_symbol_name to bfd_is_arm_mapping_symbol_name. + (arm_elf_find_function): Likewise. + (elf32_arm_output_symbol_hook): Likewise. + +2005-03-30 Julian Brown <julian@codesourcery.com> + + * bfd-in.h (bfd_elf32_is_arm_mapping_symbol_name): Add prototype. + * bfd-in2.h: Regenerate. + * elf32-arm.c (elf32_arm_is_target_special_symbol): Rename call to + bfd_elf32_is_arm_mapping_symbol_name. + (elf32_arm_output_symbol_hook): Likewise. + (arm_elf_find_function): Likewise, and include STT_NOTYPE in test for + mapping symbols. + (is_arm_mapping_symbol_name): Function moved from here... + * cpu-arm.c (bfd_elf32_is_arm_mapping_symbol_name): ...to here, renamed + and made global. + +2005-03-29 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> + + * configure.in: Check for ffs decl and alphabetize. + * config.in: Regenerate. + * configure: Regenerate. + * sysdep.h [NEED_DECLARATION_FFS] (ffs): Prototype and alphabetize. + +2005-03-29 Fred Fish <fnf@specifixinc.com> + + * dwarf2.c (struct comp_unit): Fix typo. + (scan_unit_for_functions): Remove unused local variable "name" + and dead code that set it. + +2005-03-29 Daniel Jacobowitz <dan@codesourcery.com> + Phil Blundell <philb@gnu.org> + + * bfd-in2.h, libbfd.h: Regenerated. + * reloc.c: Add ARM TLS relocations. + * elf32-arm.c (elf32_arm_howto_table): Add dynamic TLS + relocations. + (elf32_arm_tls_gd32_howto, elf32_arm_tls_ldo32_howto) + (elf32_arm_tls_ldm32_howto, elf32_arm_tls_le32_howto) + (elf32_arm_tls_ie32_howto): New. + (elf32_arm_howto_from_type): Support TLS relocations. + (elf32_arm_reloc_map): Likewise. + (elf32_arm_reloc_type_lookup): Likewise. + (TCB_SIZE): Define. + (struct elf32_arm_obj_tdata): New. + (elf32_arm_tdata, elf32_arm_local_got_tls_type): Define. + (elf32_arm_mkobject): New function. + (struct elf32_arm_relocs_copied): Add pc_count. + (elf32_arm_hash_entry, GOT_UNKNOWN, GOT_NORMAL, GOT_TLS_GD) + (GOT_TLS_IE): Define. + (struct elf32_arm_link_hash_table): Add tls_ldm_got. + (elf32_arm_link_hash_newfunc): Initialize tls_type. + (elf32_arm_copy_indirect_symbol): Copy pc_count and tls_type. + (elf32_arm_link_hash_table_create): Initialize tls_ldm_got. + (dtpoff_base, tpoff): New functions. + (elf32_arm_final_link_relocate): Handle TLS relocations. + (IS_ARM_TLS_RELOC): Define. + (elf32_arm_relocate_section): Warn about TLS mismatches. + (elf32_arm_gc_sweep_hook): Handle TLS relocations and pc_count. + (elf32_arm_check_relocs): Detect invalid symbol indexes. Handle + TLS relocations and pc_count. + (elf32_arm_adjust_dynamic_symbol): Check non_got_ref. + (allocate_dynrelocs): Handle TLS. Bind REL32 relocs to local + calls. + (elf32_arm_size_dynamic_sections): Handle TLS. + (elf32_arm_finish_dynamic_symbol): Likewise. + (bfd_elf32_mkobject): Define. + +2005-03-29 Daniel Jacobowitz <dan@codesourcery.com> + + * elf32-arm.c (elf32_arm_check_relocs): Increment count for all + relocation types. Don't count relocations which will use a PLT. + +2005-03-29 Joel Brobecker <brobecker@gnat.com> + + * elf.c (elfcore_grok_nto_status): Print tid as long. + (elfcore_grok_nto_regs): Likewise. + +2005-03-29 Joel Brobecker <brobecker@gnat.com> + + * irix-core.c: Remove some unnecessary prototypes. + +2005-03-28 Joel Brobecker <brobecker@adacore.com> + + * irix-core.c: Convert to ISO C. + +2005-03-28 Joel Brobecker <brobecker@adacore.com> + + * irix-core.c (do_sections): Replace + by | in expression. + (irix_core_core_file_matches_executable_p): Add ATTRIBUTE_UNUSED + to unused parameters to avoid a compiler warning. + +2005-03-28 Mark Kettenis <kettenis@gnu.org> + + * netbsd-core.c: Convert to ISO C. Fix formatting. + +2005-03-24 Eric Christopher <echristo@redhat.com> + + * elfxx-mips.c: Revert previous patch. + +2005-03-24 Nick Clifton <nickc@redhat.com> + + * targets.c (_bfd_target_vector): Only include the + bfd_elf32_ia64_hpux_big_vec vector when building a 64-bit BFD with + all targets enabled. + +2005-03-24 James E Wilson <wilson@specifixinc.com> + + * Makefile.am (BFD32_BACKENDS): Delete elf32-ia64.lo. + (BFD64_BACKENDS): Add elf32-ia64.lo. + * Makefile.in: Regenerate. + +2005-03-23 Eric Christopher <echristo@redhat.com> + + * elfxx-mips.c (MIPS_ELF_READONLY_SECTION): New. + (mips_elf_calculate_relocation): Use. Define DF_TEXTREL + after emitting relocation. + (_bfd_mips_elf_adjust_dynamic_symbol): Ditto. + (_bfd_mips_elf_check_relocs): Remove code to set DF_TEXTREL + and readonly_reloc. + +2005-03-23 Mike Frysinger <vapier@gentoo.org> + Nick Clifton <nickc@redhat.com> + + * config.bfd: Accept any C library to accompany a GNU Linux + implementation, not just the GNU C library. + * configure.in: Likewise. + * configure: Regenerate. + +2005-03-22 H.J. Lu <hongjiu.lu@intel.com> + + * bfd-in.h (_bfd_elf_provide_symbol): New. + * bfd-in2.h: Regenerated. + + * elf32-ppc.c (set_linker_sym): Moved to elflink.c. + (ppc_elf_set_sdata_syms): Call _bfd_elf_provide_symbol instead + of set_linker_sym. + + * elflink.c (_bfd_elf_provide_symbol): New. Moved and renamed + from elf32-ppc.c. + +2005-03-22 Hans-Peter Nilsson <hp@axis.com> + + * hash.c (strtab_hash_newfunc): Fix typo in allocated size. + +2005-03-22 Bob Wilson <bob.wilson@acm.org> + + * xtensa-isa.c (xtensa_opcode_lookup, xtensa_state_lookup, + xtensa_sysreg_lookup_name, xtensa_interface_lookup, + xtensa_funcUnit_lookup): Skip bsearch call if count is zero. + (xtensa_opcode_decode): Rearrange code. + +2005-03-22 Nick Clifton <nickc@redhat.com> + + * binary.c: Convert to ISO C90 formatting. + * coff-arm.c: Convert to ISO C90 formatting. + * coffgen.c: Convert to ISO C90 formatting. + * elf32-gen.c: Convert to ISO C90 formatting. + * elf64-gen.c: Convert to ISO C90 formatting. + * hash.c: Convert to ISO C90 formatting. + * ieee.c: Convert to ISO C90 formatting. + +2005-03-22 Daniel Jacobowitz <dan@codesourcery.com> + + * elf32-arm.c (elf32_arm_final_link_relocate): Don't fail for + unresolved symbols in R_ARM_NONE relocations. + +2005-03-22 Daniel Jacobowitz <dan@codesourcery.com> + + * elf32-arm.c (elf32_arm_final_link_relocate): Add + UNRESOLVED_RELOC_P argument. Set it appropriately. + (elf32_arm_relocate_section): Update call to + elf32_arm_final_link_relocate. Don't clobber RELOCATION; use + unresolved_reloc instead. + +2005-03-23 Alan Modra <amodra@bigpond.net.au> + + * elflink.c (elf_link_add_object_symbols): Set SEC_EXCLUDE on + .gnu.warning.* sections. + +2005-03-22 Alan Modra <amodra@bigpond.net.au> + + * elf32-ppc.c (elf_linker_section_pointers_t): Remove + written_address_p. + (ppc_elf_create_linker_section): Don't try to reuse existing section. + (elf_create_pointer_linker_section): Delete info parm. Don't make + h dynamic. Don't set written_address_p. + (ppc_elf_check_relocs): Adjust ppc_elf_create_linker_section calls. + (bfd_put_ptr): Delete. + (elf_finish_pointer_linker_section): Remove output_bfd and info parms. + Always write section contents. Assert global sym is def_regular. + Use offset bottom bit as a written flag. + (ppc_elf_relocate_section): Adjust elf_finish_pointer_linker_section + calls. + +2005-03-22 Alan Modra <amodra@bigpond.net.au> + + * elf32-ppc.c (ppc_elf_set_sdata_syms): New function, extracted from.. + (ppc_elf_set_sdata_syms): ..here. Expand comment. Set .sbss start + and end syms. + +2005-03-21 Nick Clifton <nickc@redhat.com> + + * coff-arm.c (coff_link_hash_entry): Only define for non WINCE + targets. + (t2a1_bx_pc_insn): Likewise. + (t2a2_noop_insn): Likewise. + (t2a3_b_insn): Likewise. + (t2a1_push_insn): Likewise. + (t2a2_ldr_insn): Likewise. + (t2a3_mov_insn): Likewise. + (t2a4_bx_insn): Likewise. + (t2a5_pop_insn): Likewise. + (t2a6_bx_insn): Likewise. + (coff_arm_relocate_section): Only declare the high_address + variable for non WINCE targets. + +2005-03-22 Alan Modra <amodra@bigpond.net.au> + + * elf32-ppc.c (ppc_elf_add_symbol_hook): Make htab->sbss + SEC_LINKER_CREATED. Attach to dynobj. + (ppc_elf_size_dynamic_sections): Strip htab->sbss if zero size. + +2005-03-21 Alan Modra <amodra@bigpond.net.au> + + * elf32-ppc.c (struct elf_linker_section): Remove sym_hash and + sym_offset. Add name, bss_name, sym_name, sym_val. + (struct ppc_elf_link_hash_table): Remove sdata and sdata2 pointers. + Add sdata array of elf_linker_section_t. + (ppc_elf_link_hash_table_create): Set name, sym_name, and bss_name. + (enum elf_linker_section_enum): Delete. + (ppc_elf_create_linker_section): Rewrite. Don't create syms here. + (ppc_elf_check_relocs): Delay ppc_elf_create_linker_section until + the special sections are needed. Adjust htab->sdata refs. + Ensure dynobj is set in sreloc code. + (ppc_elf_size_dynamic_sections): Strip sdata sections. + (ppc_elf_set_sdata_syms): New function. + (elf_finish_pointer_linker_section): Use 0x8000 for sym_offset. + (ppc_elf_relocate_section): Adjust references to htab->sdata. Use + sym_val instead of sym_hash. + * elf32-ppc.h (ppc_elf_set_sdata_syms): Declare. + +2005-03-21 Alan Modra <amodra@bigpond.net.au> + + * elf32-ppc.c (is_ppc_elf_target): Move to linker part of file. + (ppc_elf_merge_private_bfd_data): Likewise. + +2005-03-21 Alan Modra <amodra@bigpond.net.au> + + * elf32-ppc.c (struct elf_linker_section): Remove rel_section. + (ppc_elf_create_linker_section): Don't create rel_section. + (elf_create_pointer_linker_section): Don't size relocs. + (elf_finish_pointer_linker_section): Remove relative_reloc parm. + Don't generate relocs. + (ppc_elf_relocate_section): Adjust calls to + elf_finish_pointer_linker_section. + +2005-03-21 Alan Modra <amodra@bigpond.net.au> + + * elf32-ppc.c (is_ppc_elf_target): New function. + (ppc_elf_merge_private_bfd_data): Use it rather than just testing + for bfd_target_elf_flavour. Do this test before endian check. + (ppc_elf_add_symbol_hook): Use is_pcc_elf_target. + (ppc_elf_size_dynamic_sections): Likewise. + +2005-03-20 H.J. Lu <hongjiu.lu@intel.com> + + * elf-bfd.h (elf_backend_data): Add int to + elf_backend_section_from_shdr. + (bfd_elf_section_data): Update comment for this_idx. + (_bfd_elf_make_section_from_shdr): Add int. + * elfxx-mips.h (_bfd_mips_elf_section_from_shdr): Likewise. + + * elf.c (_bfd_elf_make_section_from_shdr): Take section index + and use it to set this_idx in bfd_elf_section_data. + (bfd_section_from_shdr): Pass shindex to + _bfd_elf_make_section_from_shdr. + (_bfd_elf_section_from_bfd_section): Use this_idx in + bfd_elf_section_data to find section index. + + * elf32-arm.c (elf32_arm_section_from_shdr): Take section + index and pass it to _bfd_elf_make_section_from_shdr. + * elf32-i370.c(i370_elf_section_from_shdr): Likewise. + * elf32-ppc.c (ppc_elf_section_from_shdr): Likewise. + * elf32-sh64.c (sh64_backend_section_from_shdr): Likewise. + * elf32-v850.c (v850_elf_section_from_shdr): Likewise. + * elf64-alpha.c (elf64_alpha_section_from_shdr): Likewise. + * elf64-hppa.c (elf64_hppa_section_from_shdr): Likewise. + * elf64-x86-64.c (elf64_x86_64_section_from_shdr): Likewise. + * elfxx-ia64.c (elfNN_ia64_section_from_shdr): Likewise. + * elfxx-mips.c (_bfd_mips_elf_section_from_shdr): Likewise. + +2005-03-19 Danny Smith <dannysmith@users.sourceforge.net> + Ross Ridge <rridge@csclub.uwaterloo.ca> + + * peicode.h (pe_ILF_build_a_bfd): Strip only one prefix + character in IMPORT_NAME_UNDECORATE and IMPORT_NAME_NOPREFIX + cases. Add comment. + +2005-03-18 H.J. Lu <hongjiu.lu@intel.com> + + * elflink.c (elf_mark_used_section): Remove check for special + sections. + +2005-03-18 Andreas Schwab <schwab@suse.de> + + * elfxx-ia64.c (elfNN_ia64_install_value): Change type of insn + from bfd_vma to ia64_insn, remove broken cast. + +2005-03-18 C Jaiprakash <cjaiprakash@noida.hcltech.com> + + * elf32-m68k.c (elf_cfv4e_plt0_entry): plt entry for coldfire v4e. + (elf_m68k_adjust_dynamic_symbol,elf_m68k_finish_dynamic_symbol, + elf_m68k_finish_dynamic_sections): Use it. + +2005-03-17 Paul Brook <paul@codesourcery.com> + Dan Jacobowitz <dan@codesourcery.com> + Mark Mitchell <mark@codesourcery.com> + + * elf32-arm.c (elf32_arm_modify_segment_map): New function. + (elf32_arm_additional_program_headers): Likewise. + (elf_backend_modify_segment_map): Define. + (elf_backend_additional_program_headers): Likewise. + (elf32_arm_symbian_modify_segment_map): Use + elf32_arm_modify_segment_map. + +2005-03-18 H.J. Lu <hongjiu.lu@intel.com> + + * elflink.c (elf_mark_used_section): Check bfd_is_const_section + for special sections. + +2005-03-18 Alan Modra <amodra@bigpond.net.au> + + * elf-bfd.h (_bfd_elf_link_renumber_dynsyms): Delete. + * elflink.c (_bfd_elf_link_renumber_dynsyms): Make static, add + section_sym_count param, and return number of section symbols. + (bfd_elf_size_dynamic_sections): Clear section symbol area of + .dynsym contents. Don't bother calling swap_symbol_out on the + first all-zero dynsym. + (elf_mark_used_section): Formatting. Avoid twiddling flags in + special sections like bfd_abs_section. + (bfd_elf_gc_sections): Spelling fix. + +2005-03-16 Fred Fish <fnf@specifixinc.com> + + PR binutils/790 + * dwarf2.c (read_indirect_string): Fix apparent typo, check + dwarf_str_buffer allocation, not dwarf_abbrev_buffer. + +2005-03-16 H.J. Lu <hongjiu.lu@intel.com> + + * elflink.c (elf_mark_used_section): New. + (bfd_elf_gc_sections): Call elf_gc_mark_section for + non-relocatable link if we don't do GC. + +2005-03-16 Nick Clifton <nickc@redhat.com> + Ben Elliston <bje@au.ibm.com> + + * configure.in (werror): New switch: Add -Werror to the + compiler command line. Enabled by default. Disable via + --disable-werror. + * configure: Regenerate. + +2005-03-16 Nick Clifton <nickc@redhat.com> + + * ecoff.c: Convert to ISO C90 formatting. + +2005-03-16 Alan Modra <amodra@bigpond.net.au> + + * elf32-ppc.c: Divide file into general and linker specific + functions. Sort linker functions into roughly the order in which + they are called by the ELF linker code. + +2005-03-16 Alan Modra <amodra@bigpond.net.au> + + * elf32-ppc.c (ppc_elf_create_linker_section): Set SEC_LINKER_CREATED + on section. Correct comment, and add FIXME. + (ppc_elf_additional_program_headers): Don't bump header count for + interp. Test SEC_ALLOC, not SEC_LOAD, and don't test size. + (ppc_elf_size_dynamic_sections): Don't strip sdata and sdata2, but + do allocate memory if they need it. + +2005-03-15 Mikkel Krautz <krautz@gmail.com> + + * config.bfd (x86_64-elf): Add target. + +2005-03-15 Alan Modra <amodra@bigpond.net.au> + + * po/es.po: Commit new Spanish translation. + +2005-03-14 H.J. Lu <hongjiu.lu@intel.com> + + * elfxx-ia64.c (elfNN_ia64_relocate_section): Set symbo name + for global symbol when reporting overflow. + +2005-03-11 Jakub Jelinek <jakub@redhat.com> + + * libbfd-in.h (_bfd_ar_spacepad): New prototype. + * libbfd.h: Rebuilt. + * archive.c (_bfd_ar_spacepad): New function. + (_bfd_construct_extended_name_table, _bfd_write_archive_contents, + bsd_write_armap, _bfd_archive_bsd_update_armap_timestamp, + coff_write_armap): Use it. + (bfd_ar_hdr_from_filesystem): Likewise. Fix HP-UX large + uid/gid support. + * archive64.c (bfd_elf64_archive_write_armap): Use _bfd_ar_spacepad. + +2005-03-10 Mark Kettenis <kettenis@gnu.org> + + * archive.c (_bfd_look_for_bfd_in_cache): Move declaration of + has_table to the start of the function. + +2005-03-10 Ben Elliston <bje@au.ibm.com> + + * archive.c: Include hashtab.h. + (struct ar_cache): Rename `arelt' to `arbfd' and remove `next'. + (_bfd_look_for_bfd_in_cache): Reimplement using htab_find. + (hash_file_ptr): New function. + (eq_file_ptr): Likewise. + (_bfd_add_bfd_to_archive_cache): Reimplement using a hash table. + * libbfd-in.h: Include hashtab.h. + (struct artdata): Change `cache' member type to htab_t. + * libbfd.h: Rebuild. + +2005-03-08 Daniel Jacobowitz <dan@codesourcery.com> + + * configure.in: Bump version to 2.16.90. + * configure: Regenerated. + +2005-03-07 Jakub Jelinek <jakub@redhat.com> + + * opncls.c (opncls_bread, opncls_bclose): Fix if pread resp. + close is a function like macro in system headers. + +2005-03-07 Alan Modra <amodra@bigpond.net.au> + + PR ld/778 + * elf32-hppa.c (elf32_hppa_create_dynamic_sections): Reinstate + _GLOBAL_OFFSET_TABLE_ as a normal dynamic symbol. + +2005-03-06 Alan Modra <amodra@bigpond.net.au> + + * elf.c (elfcore_grok_win32pstatus): Warning fixes. + +2005-03-05 Alan Modra <amodra@bigpond.net.au> + + * po/bfd.pot: Regenerate. + +2005-03-05 Alan Modra <amodra@bigpond.net.au> + + * elf64-ppc.c (update_plt_info): Don't mark new ABI call syms + with is_func. + (func_desc_adjust): Force dot-syms local in executables as well + as shared libs. + +2005-03-04 David Daney <ddaney@avtrex.com> + + * elfxx-mips.c (mips_elf_calculate_relocation): Handle special + '__gnu_local_gp' symbol used by gas -mno-shared. + +2005-03-03 H.J. Lu <hongjiu.lu@intel.com> + + * elf-bfd.h (elf_backend_data): Add "const char *" to + elf_backend_section_from_phdr. + + * elf.c (bfd_section_from_phdr): Pass "proc" to the + elf_backend_section_from_phdr hook. + +2005-03-02 Daniel Jacobowitz <dan@codesourcery.com> + Joseph Myers <joseph@codesourcery.com> + + * elfxx-mips.c (struct mips_got_entry): Add tls_type. + (struct mips_got_info): Add tls_gotno, tls_assigned_gotno, + and tls_ldm_offset. + (struct mips_elf_got_per_bfd_arg): Add global_count. + (struct mips_elf_count_tls_arg): New. + (struct mips_elf_hash_sort_data): Update comment for min_got_dynindx. + (struct mips_elf_link_hash_entry): Add tls_type and tls_got_offset. + (GOT_NORMAL, GOT_TLS_GD, GOT_TLS_LDM, GOT_TLS_IE) + (GOT_TLS_OFFSET_DONE, GOT_TLS_DONE): Define. + (TLS_RELOC_P): Define. + (TP_OFFSET, DTP_OFFSET): Define. + (dtprel_base, tprel_base): New functions. + (mips_elf_link_hash_newfunc): Initialize tls_type. + (mips_elf_got_entry_hash, mips_elf_got_entry_eq) + (mips_elf_multi_got_entry_hash, mips_elf_multi_got_entry_eq): Handle + TLS entries. + (mips_tls_got_relocs, mips_elf_count_local_tls_relocs) + (mips_elf_count_global_tls_entries, mips_elf_count_global_tls_relocs) + (mips_elf_output_dynamic_relocation, mips_elf_initialize_tls_slots) + (mips_tls_got_index): New functions. + (mips_elf_local_got_index): Add new R_SYMNDX, H, and R_TYPE + arguments. Pass them to mips_elf_create_local_got_entry. Use + mips_tls_got_index. + (mips_elf_global_got_index): Add new R_TYPE and INFO arguments. + Handle TLS entries. + (mips_elf_got_page, mips_elf_got16_entry): Update calls to + mips_elf_create_local_got_entry. + (mips_elf_create_local_got_entry): Add new R_SYMNDX, H, and R_TYPE + arguments. Handle TLS entries. + (mips_elf_sort_hash_table_f): Add non-TLS assertions. + (mips_elf_record_local_got_symbol): Add new TLS_FLAG argument. Handle + TLS entries. + (mips_elf_record_global_got_symbol): Likewise. + (mips_elf_make_got_per_bfd): Initialize new mips_got_info members. + Count TLS entries. + (mips_elf_merge_gots): Handle TLS entries when merging. + (mips_elf_initialize_tls_index): New function. + (mips_elf_set_global_got_offset): Handle TLS entries. + (mips_elf_adjust_gp): Handle TLS. + (mips_elf_multi_got): Remove redundant call to + mips_elf_resolve_final_got_entries. Initialize global_count. + Correct a comment. Initialize new TLS members of mips_got_info. + Assign TLS GOT indexes for new GOTs. + (mips_elf_create_got_section): Initialize new TLS members of + mips_got_info. + (mips_elf_calculate_relocation): Handle TLS relocs. + (_bfd_mips_elf_check_relocs): Likewise. Update calls to changed + functions. + (_bfd_mips_elf_always_size_sections): Handle TLS. + (_bfd_mips_elf_size_dynamic_sections): Likewise. + (_bfd_mips_elf_finish_dynamic_symbol): Likewise. Update calls to + changed functions. + (_bfd_mips_elf_copy_indirect_symbol): Copy tls_type. + (_bfd_mips_elf_hide_symbol): Handle TLS. + * elfn32-mips.c (elf_mips_howto_table_rel, elf_mips_howto_table_rela) + (mips_reloc_map): Add TLS relocs. + * elf32-mips.c (elf_mips_howto_table_rel, mips_reloc_map): Likewise. + * elf64-mips.c (mips_elf64_howto_table_rel) + (mips_elf64_howto_table_rela, mips_reloc_map): Likewise. + * reloc.c: Define new MIPS TLS relocations. + * libbfd.h, bfd-in2.h: Regenerated. + +2005-03-02 Jan Beulich <jbeulich@novell.com> + + * Makefile.am: Add dependency of cache.o on libiberty.h. + * cache.c: Include libiberty.h. + (bfd_open_file): Use unlink_if_ordinary instead of unlink. + +2005-03-01 Zack Weinberg <zack@codesourcery.com> + + * elf.c (bfd_section_from_shdr <default case>): Call + elf_backend_section_from_shdr hook unconditionally, and return + what it returns. + (bfd_section_from_phdr): Similarly, for elf_backend_section_from_phdr. + * elfxx-target.h (elf_backend_section_from_shdr) + (elf_backend_section_from_phdr): Default to + _bfd_elf_make_section_from_shdr and _bfd_elf_make_section_from_phdr + respectively. + +2005-03-01 Alan Modra <amodra@bigpond.net.au> + + * targets.h: Typo fix. + * bfd-in2.h: Regenerate. + + * bout.c (b_out_write_object_contents): Don't use sizeof on host + structs to size on-disk structures. + (b_out_set_section_contents): Size the external struct, not the + internal one for on-disk size. + (b_out_sizeof_headers): Likewise. + +2005-03-01 Alan Modra <amodra@bigpond.net.au> + + * elf64-ppc.c (ppc64_elf_size_stubs): Override defined dot-sym + entry points with the func descriptor as well as undefweak. + +2005-02-28 Ross Ridge <rridge@csclub.uwaterloo.ca> + + * peicode.h (pe_ILF_build_a_bfd): Do not assume that an @ will be + present when IMPORT_NAME_UNDOECRATE is used. + +2005-02-28 H.J. Lu <hongjiu.lu@intel.com> + + PR 757 + * elf-bfd.h (_bfd_elf_merge_symbol): Add a pointer to unsigned + int. + + * elf32-sh-symbian.c (sh_symbian_relocate_section): Pass NULL + to _bfd_elf_merge_symbol. + + * elflink.c (_bfd_elf_merge_symbol): Use the pointer to + unsigned int to return the alignment of the old common symbol + in the dynamic object. + (_bfd_elf_add_default_symbol): Pass NULL to + _bfd_elf_merge_symbol. + (elf_link_add_object_symbols): Pass &old_alignment to + _bfd_elf_merge_symbol. Get the alignment of the new common + symbol in the dynamic object. + +2005-02-24 Ben Elliston <bje@au.ibm.com> + + * coffcode.h (coff_sym_filepos): Remove GNU960 conditional code. + * format.c (bfd_check_format_matches): Likewise. + * archive.c (BFD_GNU960_ARMAG): Likewise. + (bfd_generic_archive_p): Likewise. + (_bfd_write_archive_contents): Likewise. + +2005-02-24 H.J. Lu <hongjiu.lu@intel.com> + + * configure.in: (AM_INIT_AUTOMAKE): Set version to 2.15.95. + * configure: Regenerate. + +2005-02-24 Julian Brown <julian@sirius.codesourcery.com> + + * elflink.c (elf_link_add_object_symbols): Force symbols in discarded + COMDAT group sections to have default visibility. + +2005-02-24 Alan Modra <amodra@bigpond.net.au> + + * coffcode.h (coff_print_aux): Warning fix. + * elf-m10300.c (mn10300_elf_relax_section): Use section->id + instead of section pointer to identify. + * coff-h8300.c (h8300_reloc16_extra_cases): Likewise. Allocate + the correct size buffer for local sym mangling too. + (h8300_bfd_link_add_symbols): Likewise. + * elf32-sh-symbian.c (sh_symbian_process_embedded_commands): Fix + warning. + * elf32-sh64.c (shmedia_prepare_reloc): Use %B and %p in error message + * elf32-xtensa.c (literal_value_hash): Warning fix. + * versados.c (process_otr): Warning fix. + (versados_canonicalize_reloc): Likewise. + * vms-gsd.c (_bfd_vms_slurp_gsd): Warning fix. + * vms.c (fill_section_ptr): Warning fix. + +2005-02-23 H.J. Lu <hongjiu.lu@intel.com> + + * coff-tic54x.c (SWAP_OUT_RELOC_EXTRA): Defined. + * coff-tic80.c (SWAP_OUT_RELOC_EXTRA): Likewise. + +2005-02-23 Nick Clifton <nickc@redhat.com> + + * elfxx-mips.c (mips_elf_create_dynamic_relocation): Initialise + the relvaddr field of the Elf32_crinfo structure. + + * elf32-m68hc1x.c (elf32_m68hc11_relocate_section): Initialise + variables that are passed by reference to + m68hc11_get_relocation_value in case that function does not + initialise them. + + * elf32-cr16c.c (cr16c_elf_final_link_relocate): Remove duplicated + return statements and replace with a single return at the end of + the function. This helps pacify the flow analysis code in gcc 4.0. + + * elf.c (_bfd_elf_compute_section_file_positions): Initialise + strtab to avoid compile time warning. + +2005-02-23 Ben Elliston <bje@au.ibm.com> + + * opncls.c (bfd_zalloc): Document this function. + +2005-02-21 H.J. Lu <hongjiu.lu@intel.com> + + * coffcode.h (sec_to_styp_flags): Replaced SEC_CLINK with + SEC_TIC54X_CLINK. Replace SEC_BLOCK with SEC_TIC54X_BLOCK. + Replace SEC_SHARED with SEC_COFF_SHARED. + (styp_to_sec_flags): Likewise. + + * elfxx-target.h (TARGET_BIG_SYM): Remove SEC_ARCH_BIT_0. + (TARGET_LITTLE_SYM): Likewise. + + * section.c (SEC_ARCH_BIT_0): Removed. + (SEC_LINK_DUPLICATES_SAME_CONTENTS): Defined with + SEC_LINK_DUPLICATES_ONE_ONLY and SEC_LINK_DUPLICATES_SAME_SIZE. + (SEC_SHARED): Renamed to ... + (SEC_COFF_SHARED): This. + (SEC_BLOCK): Renamed to ... + (SEC_TIC54X_BLOCK): This. + (SEC_CLINK): Renamed to ... + (SEC_TIC54X_CLINK): This. + (SEC_XXX): Rearranged. Move SEC_COFF_SHARED_LIBRARY, + SEC_COFF_SHARED, SEC_TIC54X_BLOCK and SEC_TIC54X_CLINK to the + end. + * bfd-in2.h: Regenerated. + +2005-02-21 Fred Fish <fnf@specifixinc.com> + + * dwarf2.c (find_abstract_instance_name): Call recursively + to handle a DW_AT_specification. + +2005-02-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> + + * elfxx-mips.c (ecoff_swap_rpdr_out, mips_elf_output_extsym, + mips_elf_create_dynamic_relocation, + _bfd_mips_elf_size_dynamic_sections, _bfd_mips_elf_final_link): + Remove #if 0'd code. + +2005-02-21 Alan Modra <amodra@bigpond.net.au> + + * Makefile.am: Run "make dep-am" + * Makefile.in: Regenerate. + +2005-02-21 Alan Modra <amodra@bigpond.net.au> + + * coffgen.c (bfd_coff_get_comdat_section): Check that + coff_section_data isn't NULL. + +2005-02-21 Alan Modra <amodra@bigpond.net.au> + + * bfd-in.h (bfd_elf_bfd_from_remote_memory): Warning fix. + * coff-m68k.c (bfd_m68k_coff_create_embedded_relocs): Likewise. + * coff-rs6000.c (xcoff_write_armap_big): Warning fixes. Remove + useless assignments. + (xcoff_write_archive_contents_big): Likewise. + (_bfd_xcoff_put_ldsymbol_name): Likewise. + * coff64-rs6000.c (_bfd_xcoff64_put_ldsymbol_name): Likewise. + * coffgen.c (coff_write_symbols): Make "written" a bfd_vma. + * cofflink.c (process_embedded_commands): Warning fixes. + * cpu-arm.c: Delete unnecessary prototypes. Convert to C90. + Warning fixes. + * dwarf2.c: Warning fixes. + * elf-bfd.h: Likewise. + * elf-eh-frame.c: Likewise. + * elf-strtab.c: Likewise. + * elf.c: Likewise. + * elf32-m68k.c: Likewise. + * elf32-ppc.c: Likewise. + * elf32-sh-symbian.c: Likewise. + * elf32-sh.c: Delete unnecessary prototypes. Warning fixes. + * elf64-sh64.c: Likewise. + * peicode.h: Likewise. + * elf64-mmix.c: Warning fixes. + * elfcode.h: Likewise. + * elfxx-mips.c: Likewise. + * libbfd-in.h: Likewise. + * libbfd.c: Likewise. + * mach-o.c: Likewise. + * merge.c: Likewise. + * mmo.c: Likewise. + * opncls.c: Likewise. + * pef.c: Likewise. + * srec.c: Likewise. + * vms-hdr.c: Likewise. + * vms-tir.c: Likewise. + * xtensa-isa.c: Likewise. + * xtensa-modules.c: Likewise. + * xsym.c: Likewise. + (pstrcmp): Use correct choice of string lengths. Fix return value. + (bfd_sym_module_name): Correct string length. + * bfd-in2.h: Regenerate. + * libbfd.h: Regenerate. + +2005-02-17 Alexandre Oliva <aoliva@redhat.com> + + * elf32-frv.c (elf32_frv_relocate_section): Remove warning from + uninitialized check_segment[1] in TLSMOFF case. + Reported by Alan Modra. + (elf32_frv_relocate_section): Improve errors and warnings. + +2005-02-17 Alan Modra <amodra@bigpond.net.au> + + * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Fix warning. + +2005-02-16 Alan Modra <amodra@bigpond.net.au> + + * coff-arm.c (coff_arm_is_local_label_name): Warning fix. + * elf32-frv.c (frvfdpic_relocs_info_hash): Likewise. + * pef.c (bfd_pef_scan): Don't ignore return value of + bfd_pef_scan_start_address. + * mach-o.c (bfd_mach_o_scan): Don't ignore return value of + bfd_mach_o_scan_start_address. + * elfxx-ia64.c (elfNN_ia64_relax_brl): Rewrite for 32-bit bfd_vma. + * elfxx-mips.c: Remove unnecessary prototypes. + (sort_dynamic_relocs_64): Abort if not BFD64. + +2005-02-16 Alan Modra <amodra@bigpond.net.au> + + * elf64-ppc.c (ppc64_elf_edit_toc): Skip toc if size is zero. + Skip toc reloc adjust if reloc_count is zero. + +2005-02-15 Nigel Stephens <nigel@mips.com> + Maciej W. Rozycki <macro@mips.com> + + * elf32-mips.c (elf_mips16_howto_table_rel): New array for MIPS16 + reloc howtos. Add R_MIPS16_HI16 and R_MIPS16_LO16 relocs and + R_MIPS16_GOT16 and R_MIPS16_CALL16 placeholders. + (elf_mips16_jump_howto): Move into elf_mips16_howto_table_rel. + (elf_mips16_gprel_howto): Likewise. Redefine src_mask and + dst_mask. + (mips16_gprel_reloc): Remove bit shuffling; call + _bfd_mips16_elf_reloc_unshuffle(), _bfd_mips_elf_gprel16_with_gp() + and _bfd_mips16_elf_reloc_shuffle() instead. + (mips16_reloc_map): New reloc map for MIPS16 relocs. + (bfd_elf32_bfd_reloc_type_lookup): Use mips16_reloc_map for MIPS16 + relocs. + (mips_elf32_rtype_to_howto): Fetch MIPS16 howtos from + elf_mips16_howto_table_rel. + * elf64-mips.c (mips16_elf64_howto_table_rel): New array for + MIPS16 REL reloc howtos. Add R_MIPS16_HI16 and R_MIPS16_LO16 + relocs and R_MIPS16_GOT16 and R_MIPS16_CALL16 placeholders. + (elf_mips16_jump_howto): Move into mips16_elf64_howto_table_rel. + (elf_mips16_gprel_howto): Likewise. Redefine src_mask and + dst_mask. + (mips16_elf64_howto_table_rela): New array for MIPS16 RELA + reloc howtos. Add R_MIPS16_26, R_MIPS16_GPREL, R_MIPS16_HI16 and + R_MIPS16_LO16 relocs and R_MIPS16_GOT16 and R_MIPS16_CALL16 + placeholders. + (mips16_gprel_reloc): Remove bit shuffling; call + _bfd_mips16_elf_reloc_unshuffle(), _bfd_mips_elf_gprel16_with_gp() + and _bfd_mips16_elf_reloc_shuffle() instead. + (mips16_reloc_map): New reloc map for MIPS16 relocs. + (bfd_elf64_bfd_reloc_type_lookup): Use mips16_reloc_map for MIPS16 + relocs. + (mips_elf64_rtype_to_howto): Fetch MIPS16 howtos from + mips16_elf64_howto_table_rela or mips16_elf64_howto_table_rel. + * elfn32-mips.c (elf_mips16_howto_table_rel): New array for MIPS16 + REL reloc howtos. Add R_MIPS16_HI16 and R_MIPS16_LO16 relocs and + R_MIPS16_GOT16 and R_MIPS16_CALL16 placeholders. + (elf_mips16_jump_howto): Move into elf_mips16_howto_table_rel. + (elf_mips16_gprel_howto): Likewise. Redefine src_mask and + dst_mask. + (mips16_gprel_reloc): Remove bit shuffling; call + _bfd_mips16_elf_reloc_unshuffle(), _bfd_mips_elf_gprel16_with_gp() + and _bfd_mips16_elf_reloc_shuffle() instead. + (mips16_reloc_map): New reloc map for MIPS16 relocs. + (bfd_elf32_bfd_reloc_type_lookup): Use mips16_reloc_map for MIPS16 + relocs. + (mips_elf_n32_rtype_to_howto): Fetch MIPS16 howtos from + elf_mips16_howto_table_rela or elf_mips16_howto_table_rel. + * elfxx-mips.c (_bfd_mips16_elf_reloc_unshuffle): New function to + handle bit shuffling for MIPS16 relocs. + (_bfd_mips16_elf_reloc_shuffle): Likewise. + (_bfd_mips_elf_lo16_reloc): Use _bfd_mips16_elf_reloc_unshuffle() + and _bfd_mips16_elf_reloc_shuffle(). + (_bfd_mips_elf_generic_reloc): Likewise. + (mips_elf_calculate_relocation): Likewise. Handle R_MIPS16_HI16 + and R_MIPS16_LO16. + (mips_elf_obtain_contents): Remove bit shuffling. + (mips_elf_perform_relocation): Likewise; call + _bfd_mips16_elf_reloc_unshuffle() and _bfd_mips16_elf_reloc_shuffle() + instead. + (_bfd_mips_elf_relocate_section): Likewise. Handle R_MIPS16_HI16 + and R_MIPS16_LO16. + * elfxx-mips.h (_bfd_mips16_elf_reloc_unshuffle): Declare. + (_bfd_mips16_elf_reloc_shuffle): Likewise. + * reloc.c (BFD_RELOC_MIPS16_HI16): New reloc. + (BFD_RELOC_MIPS16_HI16_S): Likewise. + (BFD_RELOC_MIPS16_LO16): Likewise. + * bfd-in2.h: Regenerate. + * libbfd.h: Regenerate. + +2005-02-15 Jan Beulich <jbeulich@novell.com> + + * elfxx-ia64.c (ia64_howto_table): Correct strings for + R_IA64_DTPMOD64[LM]SB. + +2005-02-14 H.J. Lu <hongjiu.lu@intel.com> + + * elfxx-ia64.c (elfNN_ia64_relax_section): Allow relax + backward branch in the same section. + (elfNN_ia64_relocate_section): Inform users that the input + section is too big to relax br instruction when overflow + happens to R_IA64_PCREL21B, R_IA64_PCREL21BI, R_IA64_PCREL21M + and R_IA64_PCREL21F. + +2005-02-14 Orjan Friberg <orjanf@axis.com> + + * elfcore.h (elf_core_file_p): Move the call to + elf_backend_object_p to allow the correct machine to be set before + processing the program headers. + +2005-02-14 Nick Clifton <nickc@redhat.com> + + PR binutils/716 + * peicode.h (pe_bfd_copy_private_bfd_data): Copy the large address + aware flag from the input bfd to the output bfd. + +2005-02-11 Maciej W. Rozycki <macro@mips.com> + + * elf32-mips.c (_bfd_mips_elf32_gprel16_reloc): Reject + R_MIPS_LITERAL relocations for external symbols. + * elf64-mips.c (mips_elf64_literal_reloc): Likewise. + * elfn32-mips.c (mips_elf_literal_reloc): Likewise. + +2005-02-11 H.J. Lu <hongjiu.lu@intel.com> + + * bfd-in2.h: Rebuilt. + +2005-02-11 Paul Brook <paul@codesourcery.com> + + * elf-bfd.h (struct elf_link_hash_table): Add + is_relocatable_executable. + * elf.c (_bfd_elf_link_hash_table_init): Initialize it. + * elflink.c (bfd_elf_link_record_dynamic_symbol): Create local dynamic + symbols in relocatable executables. + (bfd_elf_record_link_assignment): Create dynamic section symbols in + relocatable executables. + (_bfd_elf_link_renumber_dynsyms): Ditto. + (bfd_elf_final_link): Ditto. + * elf32-arm.c (elf32_arm_final_link_relocate): Copy absolute + relocations into relocatable executables. + (elf32_arm_check_relocs): Crate dynamic sections for relocatable + executables. Also copy absolute relocations. + (elf32_arm_adjust_dynamic_symbol): Don't create copy relocations + in relocatable executables. + (allocate_dynrelocs): Copy relocations for relocatable executables. + Output dynamic symbols for symbols defined in linker scripts. + +2005-02-11 Nick Clifton <nickc@redhat.com> + + * libbfd.c (read_signed_leb128): Use an unsigned type for 'shift' + to avoid a compile time warning. + + * coff-alpha.c (alpha_adjust_reloc_in): Remove redundant test from + BFD_ASSERT. + + * coff-tic4x.c (coff_rtype_to_howto): Move definition before + inclusion of coffcode.h so that it is actually picked up. + + * coffcode.h (coff_std_swap_table): Add an unused attribute in + case it is not used. + + * elf32-ip2k.c (ip2k_call_opcode, IS_CALL_OPCODE): Remove unused + structure and macro. + + * elf32-iq2000.c (iq2000_reloc_map): Remove unused structure and + array. + + * elf32-m32r.c (m32r_reloc_map_old): Use #ifdef USE_M32R_OLD_RELOC + to protect the declaration of this array. + + * xsym.c (bfd_sym_parse_contained_variables_table_entry_v32): + Avoid call to memcpy with a size of 0. + +2005-02-12 Alan Modra <amodra@bigpond.net.au> + + * elf64-ppc.c (toc_adjusting_stub_needed): Return true for + old-style branches to undefined dot-symbols which will be + satisfied by a plt call. + +2005-02-11 Alan Modra <amodra@bigpond.net.au> + + * elf64-ppc.c (move_plt_plist): New function, extracted from.. + (ppc64_elf_copy_indirect_symbol): ..here. + (func_desc_adjust): Use move_plt_plist. + +2005-02-10 Paul Brook <paul@codesourcery.com> + + * elf32-arm.c (elf32_arm_final_link_relocate): Handle R_ARM_THM_PC9. + +2005-02-10 Paul Brook <paul@codesourcery.com> + + * elflink.c (bfd_elf_record_link_assignment): Make hidden and internal + symbols local. + (elf_link_renumber_hash_table_dynsyms): Ignore local symbols. + (elf_link_renumber_local_hash_table_dynsyms): New function. + (_bfd_elf_link_renumber_dynsyms): Number local dynamic symbols. + +2005-02-10 Jakub Jelinek <jakub@redhat.com> + + * bfd-in.h (BFD_LINKER_CREATED): Define. + * bfd-in2.h: Rebuilt. + * elflink.c (bfd_elf_size_dynamic_sections): Disregard + BFD_LINKER_CREATED bfds when determining input bfds without + .note.GNU-stack section. + +2005-02-10 Maciej W. Rozycki <macro@mips.com> + + * elf64-mips.c (mips16_gprel_reloc): Update a comment. + * elfn32-mips.c (mips16_gprel_reloc): Keep R_MIPS16_GPREL + relocations against external symbols unchanged. + +2005-02-08 Paul Brook <paul@codesourcery.com> + + * elflink.c (elf_link_input_bfd): Ignore symbols from null input + sections. + +2005-02-08 Hans-Peter Nilsson <hp@axis.com> + + * elflink.c (elf_link_add_object_symbols): Don't add "warning: " + prefix here. + +2005-02-07 Maciej W. Rozycki <macro@mips.com> + + * elf64-mips.c: Fix formatting throughout. + +2005-02-07 Maciej W. Rozycki <macro@mips.com> + + * elfn32-mips.c (elf_mips_howto_table_rela): Fix a comment typo. + +2005-02-07 Alexandre Oliva <aoliva@redhat.com> + + * elf32-frv.c (FRVFDPIC_SYM_LOCAL): Remove special handling for + *ABS*/*UND* sections. + (elf32_frv_relocate_section): Move zero-addend-required error... + (_frv_emit_got_relocs_plt_entries): ... here. Report error for + missing needed TLS section. + +2005-02-07 Hans-Peter Nilsson <hp@axis.com> + + * aoutx.h (NAME(aout,find_nearest_line)): Correct case for N_SO + being the last symbol. + (aout_link_add_symbols): Just return TRUE if a warning + symbol was last. + +2005-02-07 Maciej W. Rozycki <macro@mips.com> + + * elf32-mips.c (mips_elf_gprel32_reloc): Reject + R_MIPS_GPREL32 relocations against external symbols. + * elf64-mips.c (mips_elf64_gprel32_reloc): Replace an incorrect + comment. + +2005-02-07 Alan Modra <amodra@bigpond.net.au> + + * elf-bfd.h (elf_string_from_elf_strtab): Delete macro. + * elf.c (bfd_elf_string_from_elf_section): Expand occurrence of + elf_string_from_elf_strtab. + (_bfd_elf_setup_group_pointers, bfd_section_from_shdr): Likewise. + (bfd_section_from_shdr): For SHT_SYMTAB, load SHT_SYMTAB_SHNDX too + if it exists. Don't do the reverse for SHT_SYMTAB_SHNDX. For + SHT_STRTAB, check whether the strtab is for symtab or dynsymtab by + looking at cached symtab info first, before iterating over headers. + For SHT_REL and SHT_RELA, load dynsymtab if needed. + * elfcode.h (elf_object_p): Don't load section header stringtab + specially. + +2005-02-06 H.J. Lu <hongjiu.lu@intel.com> + + * elf32-i386.c (elf_i386_relocate_section): Disallow R_386_GOTOFF + against protected function when building shared library. + + PR 584 + * elf64-x86-64.c (is_32bit_relative_branch): New. + (elf64_x86_64_relocate_section): Alllow R_X86_64_PC32 on a + protected function symbol when building shared library for + 32bit relative branch instruction. + +2005-02-06 Alan Modra <amodra@bigpond.net.au> + + * elf64-ppc.c (add_symbol_adjust): Don't create fake descriptor + syms when doing a relocatable link. + (ppc64_elf_gc_mark_hook): Check that syms are defined before looking + at u.def.section. + (ppc64_elf_tls_setup): Likewise. + (ppc64_elf_edit_opd): Don't use an undefined func desc sym. + +2005-02-04 Alan Modra <amodra@bigpond.net.au> + + * elf64-ppc.c (struct ppc_link_hash_entry): Add "fake". + (link_hash_newfunc): Clear all locals using memset. + (make_fdh): Remove flags param. Always create fake func desc + weak. Link the descriptor with the code entry sym. + (ppc64_elf_archive_symbol_lookup): Don't return fake syms. + (add_symbol_adjust): Adjust make_fdh call. + (func_desc_adjust): Likewise. Twiddle any pre-existing fake + descriptor to strong undefined if code entry is strong. + +2005-02-04 Alan Modra <amodra@bigpond.net.au> + + * elflink.c (bfd_elf_record_link_assignment): Do "provide" symbol + lookup here. Set to new before calling bfd_link_repair_undef_list. + (elf_smash_syms): Check that u.undef.weak isn't the not_needed bfd. + +2005-02-03 Alan Modra <amodra@bigpond.net.au> + + * linker.c (_bfd_link_hash_newfunc): Set all local fields. + +2005-02-03 Alan Modra <amodra@bigpond.net.au> + + * linker.c (_bfd_generic_link_add_one_symbol): Set u.undef.weak. + * elflink.c (elf_smash_syms): Restore symbols that were undefweak + before the as-needed lib was loaded. Abort on unexpected refs. + +2005-02-02 Alan Modra <amodra@bigpond.net.au> + + * elflink.c (elf_smash_syms): Expand comments. + (elf_link_add_object_symbols): Only call elf_smash_syms for + as-needed dynamic objects. + + * elfxx-ia64.c (elfNN_ia64_new_elf_hash_entry): Don't clear + everything, just the field specific to ia64. + * elf64-hppa.c (elf64_hppa_new_dyn_hash_entry): Likewise. + +2005-02-01 Alan Modra <amodra@bigpond.net.au> + + * elf64-ppc.c (func_desc_adjust): Move code creating func desc sym to.. + (make_fdh): ..here. New function. Don't set BSF_OBJECT for + undefined syms. + (struct add_symbol_adjust_data): New. + (add_symbol_adjust): Make an undefweak func desc for old ABI + objects to link with --as-needed shared libs. Return fail status. + Don't adjust old ABI func entry sym to weak if func desc syms + isn't defined. + (ppc64_elf_check_directives): Adjust call to add_symbol_adjust, + and return status. + +2005-02-01 Hans-Peter Nilsson <hp@axis.com> + + * cpu-cris.c (get_compatible): Rearrange disabled code and comment + for clarity. + +2005-02-01 Alan Modra <amodra@bigpond.net.au> + + * elf64-ppc.c (ppc64_elf_check_directives): Move undefs list fixup.. + * linker.c (bfd_link_repair_undef_list): ..to new function, but don't + remove anything but new and undefweak. + * elflink.c (_bfd_elf_link_create_dynamic_sections): Override any + existing _DYNAMIC. + (_bfd_elf_create_dynamic_sections): Formatting. + (bfd_elf_record_link_assignment): Call bfd_link_repair_undef_list. + (_bfd_elf_merge_symbol): Don't handle as-needed syms here. + (struct elf_smash_data): New. + (elf_smash_syms): New function. + (elf_link_add_object_symbols): Call elf_smash_syms. Don't add + unneeded dynamic objects to loaded list. + (elf_link_output_extsym): Don't handle as-needed here. Strip + bfd_link_hash_new symbols. + * elf32-cris.c (elf_cris_discard_excess_program_dynamics): Don't + delref when dynindx is already -1. + * elf64-alpha.c (elf64_alpha_output_extsym): Strip bfd_link_hash_new + symbols. + * elfxx-mips.c (mips_elf_output_extsym): Likewise. + +2005-02-01 Ben Elliston <bje@au.ibm.com> + + * elfxx-target.h (bfd_elfNN_bfd_discard_group): Redefine. + +2005-02-01 Ben Elliston <bje@au.ibm.com> + + * aout-arm.c, aout-target.h, aoutx.h, archive.c, armnetbsd.c, + bfd-in.h, bfdio.c, coff-alpha.c, coff-arm.c, coff-h8300.c, + coff-i860.c, coff-mcore.c, coff-or32.c, coff-ppc.c, coff-sh.c, + coff-sparc.c, coffcode.h, coffgen.c, cofflink.c, cpu-cris.c, + cpu-h8500.c, cpu-ns32k.c, ecoff.c, ecofflink.c, elf.c, + elf32-dlx.c, elf32-fr30.c, elf32-frv.c, elf32-hppa.c, + elf32-i860.c, elf32-ip2k.c, elf32-m32r.c, elf32-sh.c, + elf32-v850.c, elf64-mips.c, elf64-sparc.c, elflink.c, + i386aout.c, i386msdos.c, i386os9k.c, ieee.c, mach-o.c, + nlm32-sparc.c, oasys.c, opncls.c, pdp11.c, pe-mips.c, peXXigen.c, + pef.c, peicode.h, reloc.c, riscix.c, section.c, simple.c, som.c, + sparclynx.c, targets.c, vms-misc.c, vms-tir.c, xsym.c, + hosts/delta68.h, hosts/vaxbsd.h: Remove #if 0'd code + throughout. Similarly, collapse #if 1'd code. + +2005-02-01 Ben Elliston <bje@au.ibm.com> + + * elf-bfd.h (bfd_elf_discard_group): Remove. + * elf.c (bfd_elf_discard_group): Likewise. + * elfxx-target.h (bfd_elfNN_bfd_discard_group): Remove macro. + +2005-01-31 Richard Sandiford <rsandifo@redhat.com> + + * elf-bfd.h (elf_backend_data): Add elf_backend_eh_frame_address_size. + (_bfd_elf_eh_frame_address_size): Declare. + * elfxx-target.h (elf_backend_eh_frame_address_size): Define a default. + (elfNN_bed): Initialize elf_backend_eh_frame_address_size. + * elfxx-mips.h (_bfd_mips_elf_eh_frame_address_size): Declare. + (elf_backend_eh_frame_address_size): Define. + * elfxx-mips.c (_bfd_mips_elf_eh_frame_address_size): New function. + * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Get the address + size from the new backend hook. + (_bfd_elf_write_section_eh_frame): Likewise. + (_bfd_elf_eh_frame_address_size): New function. + +2005-01-31 Andrew Cagney <cagney@gnu.org> + + * configure: Regenerate to track ../gettext.m4. + +2005-01-31 Mark Mitchell <mark@codesourcery.com> + + * elf32-arm.c (elf32_arm_symbian_special_sections): Do not set + SHF_WRITE for .init_array, .fini_array, and .preinit_array. + +2005-01-31 Nick Clifton <nickc@redhat.com> + + * confg.bfd: Make targets scheduled for obsoletion (m68k-lynxos, + sparc-lynxos, vax-vms) be obsolete. + +2005-01-28 Daniel Jacobowitz <dan@codesourcery.com> + + * elf-bfd.h (struct elf_backend_data): Add minpagesize. + * elf32-arm.c (ELF_MINPAGESIZE): Define. + * elf32-ppc.c (ELF_MINPAGESIZE): Define. + * elfcode.h (elf_object_p): Use minpagesize instead of + maxpagesize. + * elfxx-target.h (ELF_MINPAGESIZE): Default to ELF_MAXPAGESIZE. + (elfNN_bed): Include ELF_MINPAGESIZE. + +2005-01-28 Julian Brown <julian@codesourcery.com> + + * bin-in.h (bfd_elf32_arm_set_target_relocs): Update prototype. + * bin-in2.h (bfd_elf32_arm_set_target_relocs): Update prototype. + * elf32-arm.c (elf32_arm_link_hash_table): Add fix_v4bx flag. + (bfd_elf32_arm_set_target_relocs): Add formal parameter fix_v4bx for + passing flag value from ld. Set flag value in global hash table entry. + (elf32_arm_final_link_relocate): Add code to implement R_ARM_V4BX + relocation. + +2005-01-27 Andrew Cagney <cagney@gnu.org> + + * configure: Regenerate to track ../gettext.m4 change. + +2005-01-25 Mark Mitchell <mark@codesourcery.com> + + * elf32-arm.c (elf_backend_default_use_rela_p): Define to zero for + SymbianOS. + +2005-01-25 Alexandre Oliva <aoliva@redhat.com> + + 2004-12-10 Alexandre Oliva <aoliva@redhat.com> + * elf32-frv.c (elf32_frv_relocate_section): Force local binding + for TLSMOFF. + * reloc.c: Add R_FRV_TLSMOFF. + * elf32-frv.c (elf32_frv_howto_table): Likewise. + (frv_reloc_map, frv_reloc_type_lookup): Map it. + (elf32_frv_relocate_section): Handle it. + (elf32_frv_check_relocs): Likewise. + * libbfd.h, bfd-in2.h: Rebuilt. + 2004-11-26 Alexandre Oliva <aoliva@redhat.com> + * elf32-frv.c (_frvfdpic_emit_got_relocs_plt_entries): Don't crash + when given an undefweak TLS symbol. Fix constant TLS PLT entries + such that they return the constant in gr9. + (_frvfdpic_relax_tls_entries): Don't crash for undefweak TLS + symbols. + (_frvfdpic_size_got_plt): Set _cooked_size of dynamic sections. + too, such that they shrink on relaxation. + (elf32_frvfdpic_finish_dynamic_sections): Check __ROFIXUP_END__ as + marking the position right past the _GLOBAL_OFFSET_TABLE_ value. + (_frvfdpic_assign_plt_entries): Shrink constant TLS PLT entries + if we can guarantee the use of 16-bit constants. + 2004-11-10 Alexandre Oliva <aoliva@redhat.com> + Introduce TLS support for FR-V FDPIC. + * reloc.c: Add TLS relocations. + * elf32-frv.c (elf32_frv_howto_table): Add TLS relocations. + (elf32_frv_rel_tlsdesc_value_howto): New. + (elf32_frv_rel_tlsoff_howto): New. + (frv_reloc_map): Add new mappings. + (struct frvfdpic_elf_link_hash_table): Add pointer to summary + reloc information. + (frvfdpic_dynamic_got_plt_info): New. + (frvfdpic_plt_tls_ret_offset): New. + (ELF_DYNAMIC_INTERPRETER, DEFAULT_STACK_SIZE): Move earlier. + (struct _frvfdpic_dynamic_got_info): Likewise. Add TLS members. + (struct _frvfdpic_dynamic_got_plt_info): Likewise. + (FRVFDPIC_SYM_LOCAL): Regard symbols defined in the absolute + section as local. + (struct frvfdpic_relocs_info): Add TLS fields. + (frvfdpic_relocs_info_hash): Warning clean up. + (frvfdpic_relocs_info_find): Initialize tlsplt_entry. + (frvfdpic_pic_merge_early_relocs_info): Merge TLS fields. + (FRVFDPIC_TLS_BIAS): Define. + (tls_biased_base): New. + (_frvfdpic_emit_got_relocs_plt_entries): Deal with TLS + relocations. + (frv_reloc_type_lookup): Likewise. + (frvfdpic_info_to_howto_rel): Likewise. + (elf32_frv_relocate_section): Likewise. + (_frv_create_got_section): Create the PLT section here. + (elf32_frvfdpic_create_dynamic_sections): Not here. + (_frvfdpic_count_nontls_entries): Move out of... + (_frvfdpic_count_got_plt_entries): ... here. + (_frvfdpic_count_tls_entries): Likewise. Add TLS support. + (_frvfdpic_count_relocs_fixups): Likewise. Add relaxation + support. + (_frvfdpic_relax_tls_entries): New. + (_frvfdpic_compute_got_alloc_data): Add TLS support. + (_frvfdpic_get_tlsdesc_entry): New. + (_frvfdpic_assign_got_entries): Add TLS support. + (_frvfdpic_assign_plt_entries): Likewise. + (_frvfdpic_reset_got_plt_entries): New. + (_frvfdpic_size_got_plt): Move out of... + (elf32_frvfdpic_size_dynamic_sections): ... here. + (_frvfdpic_relax_got_plt_entries): New. + (elf32_frvfdpic_relax_section): New. + (elf32_frvfdpic_finish_dynamic_sections): Add TLS sanity check. + (elf32_frv_check_relocs): Add TLS support. + (bfd_elf32_bfd_relax_section): Define for FDPIC. + * libbfd.h, bfd-in2.h: Rebuilt. + +2005-01-25 Alan Modra <amodra@bigpond.net.au> + + * elf.c (_bfd_elf_get_dynamic_reloc_upper_bound): Only include + loadable reloc sections. + (_bfd_elf_canonicalize_dynamic_reloc): Likewise. + (_bfd_elf_get_synthetic_symtab): Return 0 if no dynamic syms. + +2005-01-25 Alan Modra <amodra@bigpond.net.au> + + * elflink.c (elf_link_add_object_symbols): Don't create link dynamic + sections immediately when linking shared libs. Instead, wait until + we know a lib is needed. + (_bfd_elf_link_create_dynstrtab): Extract from.. + (_bfd_elf_link_create_dynamic_sections_): ..here. + (elf_add_dt_needed_tag): Call _bfd_elf_link_create_dynstrtab and + _bfd_elf_link_create_dynamic_sections. Add abfd param. Allow + for non-existent .dynamic. + (elf_link_output_extsym): Don't complain about undefined symbols + in as-needed dynamic libs that aren't actually linked. + +2005-01-24 Andrew Cagney <cagney@gnu.org> + + * configure: Regenerate, ../gettext.m4 was updated. + +2005-01-21 Ben Elliston <bje@au.ibm.com> + + * aout-encap.c: Remove unused file. + +2005-01-19 H.J. Lu <hongjiu.lu@intel.com> + + PR 679 + * elflink.c (_bfd_elf_dynamic_symbol_p): Only protected + non-function symbols are local. + (_bfd_elf_symbol_refs_local_p): Likewise. + +2005-01-18 Alan Modra <amodra@bigpond.net.au> + + * bfd.c (bfd_link_just_syms): Add abfd param. + * bfd-in2.h: Regenerate. + +2005-01-17 Richard Sandiford <rsandifo@redhat.com> + + * elf-eh-frame.c (skip_cfa_op, skip_non_nops): New functions. + (_bfd_elf_discard_section_eh_frame): Use them to interpret the CFA + instructions. If the amount of padding is known, reduce the size + of the CIE or FDE by that amount. + +2005-01-17 Richard Sandiford <rsandifo@redhat.com> + + * elf-bfd.h (struct cie): Use bfd_vmas for code_align, ra_column and + augmentation_size. Use bfd_signed_vmas for data_align. + * elf-eh-frame.c (read_uleb128, read_sleb128): Delete in favor of... + (read_byte, skip_leb128, read_uleb128, read_sleb128): ...these new + functions. Don't read past the end of the enclosing CIE or FDE. + (skip_bytes): New utility function. + (_bfd_elf_discard_section_eh_frame): Use new functions, adding more + sanity checking. + (_bfd_elf_write_section_eh_frame): Use new functions. + +2005-01-17 Richard Sandiford <rsandifo@redhat.com> + + * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Use an + assert-style REQUIRE() macro to handle sanity checks. + +2005-01-17 H.J. Lu <hongjiu.lu@intel.com> + + * dwarf2.c (dwarf2_debug): Move info_ptr_unit to ... + (comp_unit): Here. + (read_unsigned_leb128): Removed. + (read_signed_leb128): Removed. + (find_abstract_instance_name): Updated. + (parse_comp_unit): Accept info_ptr_unit. + (_bfd_dwarf2_find_nearest_line): Set info_ptr_unit for each + comp unit and pass it to parse_comp_unit. + + * elf-eh-frame.c (read_unsigned_leb128): Moved to ... + (read_signed_leb128): Moved to ... + * libbfd.c: Here. + + * libbfd-in.h (read_unsigned_leb128): New prototype. + (read_signed_leb128): Likewise. + * libbfd.h: Regenerated. + +2005-01-17 Andrew Stubbs <andrew.stubbs@st.com> + Nick Clifton <nickc@redhat.com> + + * cpu-sh.c (bfd_to_arch_table): Change arch_sh1_up to arch_sh_up, + arch__sh4_nofp_up to arch_sh4_nofpu_up and arch_sh4a_nofp_up to + arch_sh4a_nofpu_up in order to match the external names and make the + testsuite's job easier. + * archuires.c: Rename bfd_mach_sh2a_fake? to more meaningful + names. + * bfd-in2.h: Regenerate. + +2005-01-15 Andrew Cagney <cagney@gnu.org> + + * bfd.m4: New file. + * acinclude.m4: Move BFD_NEED_DECLARATION, + BFD_HAVE_SYS_PROCFS_TYPE and BFD_HAVE_SYS_PROCFS_TYPE_MEMBER to + the new file bfd.m4. Include ../bfd/bfd.m4. + * configure: Re-generate. + +2005-01-12 Alan Modra <amodra@bigpond.net.au> + + * elf32-ppc.c (ppc_elf_howto_raw): Delete RELAX32* entries. + (ppc_elf_relax_section): Use PLT variants of RELAX32 relocs for + reaching PLT. + (ppc_elf_relocate_section): Handle R_PPC_RELAX32_PLT and + R_PPC_RELAX32PC_PLT. + +2005-01-11 Alan Modra <amodra@bigpond.net.au> + + * elf64-ppc.c (ppc64_elf_gc_sweep_hook): Follow indirect and warning + symbols. + * elf32-arm.c (elf32_arm_gc_sweep_hook): Likewise. + * elf32-cris.c (cris_elf_gc_sweep_hook): Likewise. + * elf32-hppa.c (elf32_hppa_gc_sweep_hook): Likewise. + * elf32-i386.c (elf_i386_gc_sweep_hook): Likewise. + * elf32-m32r.c (m32r_elf_gc_sweep_hook): Likewise. + * elf32-m68k.c (elf_m68k_gc_sweep_hook): Likewise. + * elf32-ppc.c (ppc_elf_gc_sweep_hook): Likewise. + * elf32-s390.c (elf_s390_gc_sweep_hook): Likewise. + * elf32-sh.c (sh_elf_gc_sweep_hook): Likewise. + * elf32-sparc.c (elf32_sparc_gc_sweep_hook): Likewise. + * elf32-vax.c (elf_vax_gc_sweep_hook): Likewise. + * elf32-xtensa.c (elf_xtensa_gc_sweep_hook): Likewise. + * elf64-s390.c (elf_s390_gc_sweep_hook): Likewise. + * elf64-x86-64.c (elf64_x86_64_gc_sweep_hook): Likewise. + +2005-01-11 Alan Modra <amodra@bigpond.net.au> + + * elf32-ppc.c (ppc_elf_create_dynamic_sections): Correct + .dynsbss flags. + +2005-01-10 Inderpreet Singh <inderpreetb@noida.hcltech.com> + + * archures.c: Define bfd_mach_maxq10 and bfd_mach_maxq20. + * bfd-in2.h: Regenerate. + * coffcode.h (coff_set_arch_mach_hook, coff_set_flags): Add code + to support these new machine values. + * cpu-maxq.c (bfd_maxq10_arch): New architecture definition for + the maxq10. + (bfd_maxq_arch): Update values for the maxq20. + +2005-01-10 Eric Botcazou <ebotcazou@libertysurf.fr> + + * elf64-sparc.c (sparc64_elf_adjust_dynamic_symbol): When linking a + non-shared object, do not reserve space in .plt and .rela.plt for + regular symbols neither defined nor referenced in shared objects. + +2005-01-09 Eric Botcazou <ebotcazou@libertysurf.fr> + + * elf32-sparc.c (elf32_sparc_link_hash_table_create): Use bfd_zmalloc + to zero the structure. + (create_got_section): Use BFD_ASSERT instead of abort. + * elf64-sparc.c (struct sparc64_elf_link_hash_table): New 'sgot' and + 'srelgot' fields. + (create_got_section): New function. + (sparc64_elf_create_dynamic_sections): Likewise. + (sparc64_elf_check_relocs): Invoke create_got_section instead of + _bfd_elf_create_got_section. Use the sgot and srelgot shortcuts. + (sparc64_elf_size_dynamic_sections): Use the srelgot shortcut. + (sparc64_elf_relocate_section): Use the sgot and srelgot shortcuts. + (sparc64_elf_finish_dynamic_symbol): Likewise. + (sparc64_elf_finish_dynamic_sections): Use the sgot shortcut. + (elf_backend_create_dynamic_sections): Define to + sparc64_elf_create_dynamic_sections. + +2005-01-09 Eric Botcazou <ebotcazou@libertysurf.fr> + + * elf32-sparc.c (elf32_sparc_omit_section_dynsym): New function. + (elf_backend_omit_section_dynsym): Define to it. + * elf64-sparc.c (sparc64_elf_omit_section_dynsym): New function. + (elf_backend_omit_section_dynsym): Define to it. + +2005-01-07 Jakub Jelinek <jakub@redhat.com> + + * bfd/elf.c (INCLUDE_SECTION_IN_SEGMENT): Don't put empty sections into + PT_DYNAMIC segment, unless .dynamic. + +2005-01-06 Paul Brook <paul@codesourcery.com> + + * config.bfd: Add entry for arm-*-vxworks and arm-*-windiss. + * configure.in: Add bfd_elf32_{big,little}arm_vxworks_vec. + * configure: Regenerate. + * elf32-arm.c: Add VxWorks target bfd. + (USE_REL): Remove. + (elf32_arm_link_hash_table): Add use_rel. + (elf32_arm_link_hash_table_create, elf32_arm_final_link_relocate, + elf32_arm_relocate_section): Replace USE_REL with runtime check. + Correct offset calculation for RELA case. + (elf_backend_may_use_rel_p, elf_backend_may_use_rela_p, + elf_backend_default_use_rela_p, elf_backend_rela_normal): Define. + (elf32_arm_vxworks_link_hash_table_create): New function. + * targets.c (bfd_elf32_bigarm_vxworks_vec): Add declaration. + (bfd_elf32_littlearm_vxworks_vec): Ditto. + (_bfd_target_vector): Add bfd_elf32_{big,little}arm_vxworks_vec. + +2005-01-06 Alan Modra <amodra@bigpond.net.au> + + * elf64-ppc.c (struct ppc_link_hash_table): Add no_multi_toc and + multi_toc_needed. + (has_toc_reloc, makes_toc_func_call, call_check_in_progress): Define. + (ppc64_elf_check_relocs): Update references to has_gp_reloc. + (ppc64_elf_setup_section_lists): Add no_multi_toc parm, set htab bit. + (ppc64_elf_next_toc_section): Heed no_multi_toc. + (ppc64_elf_reinit_toc): Set multi_toc_needed. + (toc_adjusting_stub_needed): Rewrite. + (ppc64_elf_next_input_section): Use multi_toc_needed to shortcut + toc tests. Adjust for toc_adjusting_stub_needed changes. + (ppc64_elf_size_stubs): Update references to has_gp_reloc. + * elf64-ppc.h (ppc64_elf_setup_section_lists): Update prototype. + * section.c: Expand comment on backend bits. + * bfd-in2.h: Regenerate. + * libbfd.h: Regenerate. + +2005-01-06 Alan Modra <amodra@bigpond.net.au> + + * elf64-ppc.c (ppc64_elf_size_stubs): When determining need for + toc adjusting stub, do not test source section flags. + +2005-01-05 Eric Botcazou <ebotcazou@libertysurf.fr> + + * elf64-sparc.c (sparc64_elf_relocate_section): Ignore overflows + from STABS debugging sections again. + +2005-01-05 Fred Fish <fnf@specifixinc.com> + + * dwarf2.c (struct dwarf2_debug): Add info_ptr_unit member. + (find_abstract_instance_name): New function. + (scan_unit_for_functions): Handle DW_TAG_inlined_subroutine. + (scan_unit_for_functions): Handle DW_AT_abstract_origin. + (_bfd_dwarf2_find_nearest_line): Initialize info_ptr_unit. + +For older changes see ChangeLog-2004 + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 1804208..a5b7c15 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -9,2134 +9,7 @@ * readelf.c (guess_is_rela): Add case for Nios/Nios II. (get_machine_name): Likewise. -2005-12-30 Jie Zhang <jie.zhang@analog.com> - - * readelf.c (get_machine_name): Add case for Blackfin. - -2005-12-27 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am: Run "make dep-am". - (Makefile): Remove dependency. - * Makefile.in: Regenerate. - -2005-12-26 Jan-Benedict Glaw <jbglaw@lug-owl.de> - - * MAINTAINERS: Add myself as VAX maintainer. - -2005-12-22 Randolph Chung <tausq@debian.org> - - * rddbg.c (read_section_stabs_debugging_info): Add $GDB_SYMBOLS$ - entry to names[] array for SOM binaries. - -2005-12-21 H.J. Lu <hjl@gnu.org> - - * MAINTAINERS: Add myself as x86_64 maintainer. - -2005-12-16 Nathan Sidwell <nathan@codesourcery.com> - - Second part of ms1 to mt renaming. - * readelf.c (guess_is_rela): Use EM_MT. - (dump_relocations, get_machine_name): Adjust. - -2005-12-12 Nathan Sidwell <nathan@codesourcery.com> - - * Makefile.am: Replace ms1 files with mt files. - * Makefile.in: Rebuilt. - * readelf.c (elf/mt.h): Adjust #include. - -2005-11-30 Nick Clifton <nickc@redhat.com> - - * configure.in (ALL_LINGUAS): Add fi. - * configure: Regenerate. - * po/fi.po: New file: Finnish translation. - -2005-11-21 Arnold Metselaar <arnoldm@sourceware.org> - - * MAINTAINERS: add myself as Z80 maintainer - -2005-11-17 Andrew Haley <aph@redhat.com> - - * cxxfilt.c (main): Flush output at newline. - -2005-11-16 Mark Mitchell <mark@codesourcery.com> - - * doc/binutils.texi: Include config.texi and @file documentation - for manual pages. - -2005-11-15 Jan Beulich <jbeulich@novell.com> - - * objcopy.c (keep_file_symbols): New. - (enum command_line_switch): Add OPTION_KEEP_FILE_SYMBOLS. - (strip_options): Add --keep-file-symbols. - (copy_options): Likewise. - (copy_usage): Likewise. - (strip_usage): Likewise. - (filter_symbols): Act upon keep_file_symbols. - (strip_main): Handle OPTION_KEEP_FILE_SYMBOLS. - (copy_main): Likewise. - * doc/binutils.texi: Document --keep-file-symbols for objcopy - and strip. - -2005-11-14 Daniel Jacobowitz <dan@codesourcery.com> - - * readelf.c (struct dump_list_entry, request_dump_byname) - (initialise_dumps_byname): New. - (parse_args): Call request_dump_byname. - (process_section_contents): Call initialise_dumps_byname. - * doc/binutils.texi (readelf): Mention -x NAME. - * NEWS: Likewise. - -2005-11-11 Nick Clifton <nickc@redhat.com> - - PR 1150 - * readelf.c (get_mips_symbol_other): New function. - (get_symbol_other): New function. - (process_symbol_table): Call get_symbol_other() to get a - description of the st_other field if it contains more information - than just the visibility. - -2005-11-07 Steve Ellcey <sje@cup.hp.com> - - * configure: Regenerate after modifying bfd/warning.m4. - -2005-10-30 H.J. Lu <hongjiu.lu@intel.com> - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerated. - - * dep-in.sed: Replace " ./" with " ". - -2005-10-25 Alan Modra <amodra@bigpond.net.au> - - * po/POTFILES.in: Regenerate. - * po/binutils.pot: Regenerate. - -2005-10-24 Bernd Schmidt <bernd.schmidt@analog.com> - - * MAINTAINERS: Add self as BFIN maintainer. - -2005-10-18 Jie Zhang <jie.zhang@analog.com> - - * MAINTAINERS: Add self as BFIN maintainer. - -2005-10-11 Danny Smith <dannysmith@users.sourceforge.net> - - * rclex.l (handle quotes): Stop parsing hex notation escaped - chars after the first two digits, - -2005-10-11 Nick Clifton <nickc@redhat.com> - - PR binutils/1437 - * cxxfilt.c (flags): Remove DMGL_TYPES; - (long_options): Rename --no-types to --types. - (usage): Likewise. - (demangle_it): Add a comment describing why _ and $ prefixes are - skipped. Use printf rather than puts to emit the demangled output - in order to avoid emitting a new line character. - (main): Have the -t flag enable type demangling. - Emit a newline after every demangled command line argument. - Copy whitespace from stdin to stdout. - * doc/binutils.texi (c++filt): Document the change to the -t - switch. - Document why demangling names on the command line is slightly - different to demangling names read from the standard input. - -2005-10-10 Mark Mitchell <mark@codesourcery.com> - - * doc/Makefile.am (config.texi): Set top_srcdir. - * doc/Makefile.in: Regenerated. - * doc/binutils.texi: Use at-file.texi from libiberty. - -2005-10-10 H.J. Lu <hongjiu.lu@intel.com> - - PR binutils/1436 - * readelf.c (ABSADDR): New. - (dump_ia64_unwind): Use ABSADDR to get the unwind info address. - -2005-10-10 Thomas Weidenmueller <w3seek@reactos.com> - - * resbin.c (res_to_bin_accelerator): Place the terminating NUL at - the correct location in the bindata structure. - -2005-10-10 Bryce Schober <bryce.schober@dynonavionics.com> - - * doc/binutils.texi (objdump): Fix typo: -reg-name-std should be - -reg-names-std. - -2005-10-04 Nick Clifton <nickc@redhat.com> - - * cxxfilt.c: Treat mangled names specified on the command line in - the same way as mangled names read from stdin. - Add -i switch to disable the display of implementation details. - Add -t switch to disable the demangling of types. - * NEWS: Mention the new switches. - * doc/binutils.texi (cxxfilt): Document the -i and -t switches. - -2005-10-03 Mark Mitchell <mark@codesourcery.com> - - * addr2line.c (usage): Document @file. - * ar.c (usage): Likewise. - * coffdump (usage): Likewise. - * cxxfilt.c (usage): Likewise. - * dlltool.c (usage): Likewise. - * dllwrap.c (usage): Likewise. - * nlmconv.c (usage): Likewise. - * nm.c (usage): Likewise. - * objcopy.c (usage): Likewise. - * objdump.c (usage): Likewise. - * readelf.c (usage): Likewise. - * size.c (usage): Likeise. - * srconv.c (usage): Likewise. - * strings.c (usage): Likewise. - * windres.c (usage): Likewise. - * doc/binutils.texi: Add section on common options. - -2005-10-03 H.J. Lu <hongjiu.lu@intel.com> - - * NEWS: Mention -W/--dwarf. - - * doc/binutils.texi: Document -W/--dwarf for objdump. - -2005-10-01 Paul Brook <paul@codesourcery.com> - - * readelf.c (arm_attr_tag_CPU_arch, arm_attr_tag_ARM_ISA_use, - arm_attr_tag_THUMB_ISA_use, arm_attr_tag_VFP_arch, - arm_attr_tag_WMMX_arch, arm_attr_tag_NEON_arch, - arm_attr_tag_ABI_PCS_config, arm_attr_tag_ABI_PCS_R9_use, - arm_attr_tag_ABI_PCS_RW_data, arm_attr_tag_ABI_PCS_RO_DATA, - arm_attr_tag_ABI_PCS_GOT_use, arm_attr_tag_ABI_PCS_wchar_t, - arm_attr_tag_ABI_FP_rounding, arm_attr_tag_ABI_FP_denormal, - arm_attr_tag_ABI_FP_exceptions, arm_attr_tag_ABI_FP_user_exceptions, - arm_attr_tag_ABI_FP_number_model, arm_attr_tag_ABI_align8_needed, - arm_attr_tag_ABI_align8_preserved, arm_attr_tag_ABI_enum_size, - arm_attr_tag_ABI_HardFP_use, arm_attr_tag_ABI_VFP_args, - arm_attr_tag_ABI_WMMX_args, arm_attr_tag_ABI_optimization_goals, - arm_attr_tag_ABI_FP_optimization_goals, arm_attr_public_tags): New. - (display_arm_attribute, process_arm_specific): New functions. - (process_arch_specific): Add EM_ARM. - -2005-09-30 Mark Mitchell <mark@codesourcery.com> - - * dlltool.c (main): Fix typo. - * windres.c (main): Likewise. - -2005-09-30 H.J. Lu <hongjiu.lu@intel.com> - - * Makefile.in: Regenerated. - -2005-09-30 H.J. Lu <hongjiu.lu@intel.com> - - * sysinfo.y (main): Undo last change. - -2005-08-30 Mark Mitchell <mark@codesourcery.com> - - * addr2line.c (main): Use expandargv. - * ar.c (main): Likewise. - * coffdump.c (main): Likewise. - * cxxfilt.c (main): Likewise. - * dlltool.c (main): Likewise. - * dllwrap.c (main): Likewise. - * nlmconv.c (main): Likewise. - * nm.c (main): Likewise. - * objcopy.c (main): Likewise. - * objdump.c (main): Likewise. - * readelf.c (main): Likewise. - * size.c (main): Likeiwse. - * srcconv.c (main): Likewise. - * strings.c (main): Likewise. - * sysdump.c (main): Likewise. - * sysinfo.y (main): Likewise. - * windres.c (main): Likewise. - -2005-09-30 H.J. Lu <hongjiu.lu@intel.com> - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerated. - * aclocal.m4: Likewise. - -2005-09-30 Catherine Moore <clm@cm00re.com> - - * Makefile.am: Bfin support. - * Makefile.in: Regenerated. - * aclocal.m4: Regenerated. - * readelf.c (elf/bfin.h): Include. - (guess_is_rela): EM_BLACKFIN support. - (dump_relocations): Likewise. - -2005-09-30 H.J. Lu <hongjiu.lu@intel.com> - - * dwarf.c (fetch_indirect_string): Adjust for section address. - (process_debug_info): Likewise. - (display_debug_loc): Likewise. - (display_debug_ranges): Likewise. - - * objdump.c (mach_o_dwarf_sections): New. - (generic_dwarf_sections): Likewise. - (check_mach_o_dwarf): Likewise. - (dump_dwarf): Call check_mach_o_dwarf. - -2005-09-30 H.J. Lu <hongjiu.lu@intel.com> - - * Makefile.am (objdump_SOURCES): Add dwarf.c. - * Makefile.in: Regenerated. - - * objdump.c: Include "dwarf.h". - (usage): Add -W/--dwarf. - (long_options): Likewise. - (dump_dwarf_section_info): New. - (load_debug_section): Likewise. - (free_debug_section): Likewise. - (dump_dwarf_section): Likewise. - (dump_dwarf): Likewise. - (dump_bfd): Load symbol table and call dump_dwarf if - dump_dwarf_section_info isn't zero. - (main): Handle -W/--dwarf. - -2005-09-30 H.J. Lu <hongjiu.lu@intel.com> - - * readelf.c: Reordered. - (is_relocatable): New. - (dwarf_section): New structure for DWARF section. - (load_debug_section): New. - (free_debug_section): Likewise. - (debug_str_section): Likewise. - (debug_abbrev_section): Likewise. - (debug_str_contents): Removed. - (debug_str_size): Likewise. - (debug_loc_contents): Likewise. - (debug_loc_size): Likewise. - (debug_range_contents): Likewise. - (debug_range_size): Likewise. - (load_debug_str): Likewise. - (free_debug_str): Likewise. - (load_debug_loc): Likewise. - (free_debug_loc): Likewise. - (load_debug_arange): Likewise. - (free_debug_arange): Likewise. - (load_debug_abbrev): Likewise. - (free_debug_abbrev): Likewise. - (fetch_indirect_string): Updated. - (debug_apply_rela_addends): Likewise. - (process_debug_info): Likewise. - (get_debug_info): Likewise. - (display_debug_lines): Likewise. - (display_debug_pubnames): Likewise. - (display_debug_macinfo): Likewise. - (display_debug_abbrev): Likewise. - (display_debug_loc): Likewise. - (display_debug_str): Likewise. - (display_debug_info): Likewise. - (display_debug_aranges): Likewise. - (display_debug_ranges): Likewise. - (display_debug_frames): Likewise. - (display_debug_not_supported): Likewise. - (debug_displays): Likewise. - (display_debug_section): Likewise. - (get_file_header): Set is_relocatable. - -2005-09-30 H.J. Lu <hongjiu.lu@intel.com> - - * readelf.c (debug_apply_rela_addends): Relocate the whole - section. - (process_debug_info): Don't call debug_apply_rela_addends. - (display_debug_frames): Likewise. - (get_debug_info): Call debug_apply_rela_addends. - (debug_displays): Add the "relocate" field. - (display_debug_section): Call debug_apply_rela_addends if - needed. - -2005-09-30 Matthias Kurz <mk@baerlap.north.de> - - * bucomm.h: Prevent the inclusion of <libintl.h> from the Solaris - version of <locale.h> when ENABLE_NLS is not defined. - -2005-09-26 Mark Mitchell <mark@codesourcery.com> - - * BRANCHES: Mention binutils-csl-gxxpro-3_4-branch. - -2005-09-20 Richard Henderson <rth@redhat.com> - - * readelf.c (display_debug_lines): Use unsigned long for address - increments. Use 0x prefix for all hex numbers. - -2005-09-09 Richard Earnshaw <richard.earnshaw@arm.com> - - * readelf.c (get_arm_section_type_name): Add SHT_ARM_PREEMPTMAP and - SHT_ARM_ATTRIBUTES. - -2005-09-07 H.J. Lu <hongjiu.lu@intel.com> - - * readelf.c (get_elf_section_flags): Handle 64bit sh_flags. - -2005-09-02 H.J. Lu <hongjiu.lu@intel.com> - - * readelf.c (debug_abbrev_contents): New. - (debug_abbrev_size): Likewise. - (load_debug_abbrev): Likewise. - (free_debug_abbrev): Likewise. - (process_debug_info): Use them. - -2005-08-17 H.J. Lu <hongjiu.lu@intel.com> - - PR binutils/1179 - * objdump.c (disassemble_bytes): Don't adjust - adjust_section_vma. - (adjust_addresses): Don't adjust vma for debugging section. - Adjust lma only for relocatable files. - (dump_bfd): Tell adjust_addresses if it is a relocatable file. - -2005-08-16 H.J. Lu <hongjiu.lu@intel.com> - - * bucomm.h (stpcpy): Declare if HAVE_DECL_STPCPY isn't defined. - - * configure.in (AC_GNU_SOURCE): Added. - (AC_CHECK_DECLS): Add stpcpy. - * configure: Regenerated. - * config.in: Likewise. - -2005-08-16 Jakub Jelinek <jakub@redhat.com> - - * unwind-ia64.c (UNW_DEC_SPILL_SPREL, UNW_DEC_SPILL_PSPREL, - UNW_DEC_RESTORE, UNW_DEC_SPILL_REG): Increase {,ab,t}regname - buffer sizes. - -2005-08-15 Daniel Jacobowitz <dan@codesourcery.com> - - * doc/binutils.texi (objdump): Document -M e300. - -2005-08-14 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - * readelf.c (slurp_hppa_unwind_table): Fix entry size on hppa64-hpux. - Don't access table entries past the end of the table. - -2005-08-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - * readelf.c (get_parisc_segment_type): Handle PT_PARISC_WEAKORDER. - (get_parisc_section_type_name): Handle SHT_PARISC_DLKM. - -2005-08-11 H.J. Lu <hongjiu.lu@intel.com> - - * NEWS: Mention "-t/--section-details" and - "-N/--full-section-name". - - * doc/binutils.texi: Document "-t/--section-details". Remove - "-N/--full-section-name". - - * readelf.c (do_full_section_name): Renamed to ... - (do_section_details): This. - (option): Rename "-N/--full-section-name" to - "-t/--section-details". - (usage): Likewise. - (parse_args): Likewise. - (get_elf_section_flags): Support do_section_details. - (process_section_headers): Updated for do_section_details. - -2005-08-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - * readelf.c (get_parisc_dynamic_type): Add new dynamic types. - (get_dynamic_type): Use old values for DT_LOOS and DT_HIOS when - e_machine is EM_PARISC. - (get_parisc_segment_type): Add new segment types. - (get_parisc_section_type_name): Add new section names. - (dynamic_section_parisc_val): Add new table entries. - -2005-08-01 Filip Navara <navaraf@reactos.com> - - * dlltool.c (alphafunc): Remove and replace usage with nfunc. - (nfunc): Fix sorting of fastcall symbols when --kill-at is used. - -2005-07-25 H.J. Lu <hongjiu.lu@intel.com> - - * readelf.c (dump_relocations): Handle SHN_X86_64_LCOMMON. - (get_symbol_index_type): Likewise. - (get_elf_section_flags): Handle SHF_X86_64_LARGE. - -2005-07-21 Eric Christopher <echristo@apple.com> - - * MAINTAINERS: Change affiliation. - -2005-07-19 Ben Elliston <bje@au.ibm.com> - - * readelf.c (read_and_display_attr_value): Remove comment adjacent - to DW_ATE_decimal_float about it being a GNU extension. - -2005-07-18 Nick Clifton <nickc@redhat.com> - - * binemul.c: Fix name of Red Hat. - * binemul.h: Likewise. - * emul_aix.c: Likewise. - * emul_vanilla: Likewise. - -2005-07-18 Ben Elliston <bje@au.ibm.com> - - * readelf.c (read_and_display_attr_value): Handle a DW_AT_encoding - value of DW_ATE_decimal_float instead of DW_ATE_GNU_decimal_float. - -2005-07-16 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - -2005-07-15 Eric Christopher <echristo@redhat.com> - - * MAINTAINERS: Change affiliation. - -2005-07-14 Jim Blandy <jimb@redhat.com> - - * readelf.c: #include "elf/m32c.h" - (guess_is_rela, dump_relocations, get_machine_name): Add cases for - EM_M32C. - * Makefile.am (readelf.o): Update dependencies. - * Makefile.in: Regenerated. - -2005-07-08 Ben Elliston <bje@au.ibm.com> - - * bucomm.h: Include <stdarg.h> unconditionally, not only when - ANSI_PROTOTYPES is defined. Remove #ifdef logic. - * dlltool.c: Likewise. - * dllwrap.c: Likewise. - -2005-07-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> - - * bucomm.h (report): Add format attribute. - * dlltool.c (inform): Likewise. - * dllwrap.c (display, inform, warn): Likewise. - * objdump.c (objdump_sprintf): Likewise. - * readelf.c (error, warn): Likewise. Fix format bugs. - -2005-07-05 Dmitry V. Levin <ldv@altlinux.org> - Nick Clifton <nickc@redhat.com> - - * strings.c (filename_and_size_t): New typedef. - (strings_a_section): Skip sections with size greater or equal to - the file size. Cache the file size to avoid repeated stat()s. - (strings_object_file): Pass filename_and_size_t argument to - strings_a_section() via bfd_map_over_sections(). - -2005-07-04 Alan Modra <amodra@bigpond.net.au> - - PR 1004 - * objcopy.c (copy_object): Use bfd_make_section_with_flags. - (write_debugging_info): Likewise. - (setup_section): Use bfd_make_section_anyway_with_flags. - -2005-07-01 Steve Ellcey <sje@cup.hp.com> - - * configure.in (AM_BINUTILS_WARNINGS): Add. - (BFD_NEED_DECLARATION): Replace with AC_CHECK_DECLS. - * configure: Regenerate. - * config.in: Regenerate. - * objdump.c (NEED_DECLARATION_*): Replace with !HAVE_DECL_*. - * bucomm.h: (NEED_DECLARATION_*): Ditto. - -2005-06-30 Ben Elliston <bje@gnu.org> - - * Makefile.am (check-DEJAGNU): Don't search for expect. - * Makefile.in: Regenerate. - -2005-06-30 Ben Elliston <bje@gnu.org> - - * Makefile.am (EXPECT): Set to expect. - (RUNTEST): Likewise, set to runtest. - * Makefile.in: Regenerate. - -2005-06-17 Jakub Jelinek <jakub@redhat.com> - - * readelf.c (CHECK_ENTSIZE_VALUES, CHECK_ENTSIZE): Define. - (process_section_headers): Use it. - (process_relocs): Don't crash if symsec is not SHT_SYMTAB - or SHT_DYNSYM. - (process_version_sections): Use sizeof (Elf_External_Versym) - instead of sh_entsize. - -2005-06-16 Nick Clifton <nickc@redhat.com> - - * rename.c (simple_copy): Only define if it is going to be used. - (smart_rename): Mark the preserve_dates parameter as possibly - being unused. - - * resres.c (write_res_data): Prevent a potential compile time - warning by casting the return value from fwrite. - -2005-06-14 H.J. Lu <hongjiu.lu@intel.com> - - PR 995 - * ar.c (BUFSIZE): Moved to ... - * bucomm.h (BUFSIZE): Here. - - * bucomm.c: Include <assert.h>. - (bfd_get_archive_filename): New. - * bucomm.h (bfd_get_archive_filename): New. - - * objcopy.c (copy_unknown_object): New. - (copy_object): Use bfd_get_archive_filename when reporting input - error. Don't call fatal on unknown arch. - (copy_archive): Call copy_unknown_object on unknown format or - arch. - -2005-06-14 Jakub Jelinek <jakub@redhat.com> - - * readelf.c (cmalloc, xcmalloc, xcrealloc): New functions. - (get_data): Add nmemb argument. Return NULL if nmemb * size - overflows. If var == NULL, allocate one extra byte and - clear it. - (slurp_rela_relocs, slurp_rel_relocs, get_32bit_program_headers, - get_64bit_program_headers, get_program_headers, - get_32bit_section_headers, get_64bit_section_headers, - get_32bit_elf_symbols, get_64bit_elf_symbols, process_section_headers, - process_section_groups, process_relocs, slurp_ia64_unwind_table, - ia64_process_unwind, slurp_hppa_unwind_table, hppa_process_unwind, - get_32bit_dynamic_section, get_64bit_dynamic_section, - process_dynamic_section, process_version_sections, get_dynamic_data, - process_symbol_table, dump_section, load_debug_str, load_debug_loc, - load_debug_range, read_and_display_attr_value, process_debug_info, - get_debug_info, frame_need_space, display_debug_frames, - display_debug_section, process_mips_specific, process_gnu_liblist, - process_corefile_note_segment): Adjust get_data callers. Use - cmalloc, xcmalloc and xcrealloc instead of {m,xm,xre}alloc where - passed size is a product of 2 numbers. - - * readelf.c (print_mode): Fix comment typo. - (slurp_rela_relocs, slurp_rel_relocs): Fix memory leaks. - (dump_relocations): Fix a thinko in check for invalid st_name. - (process_program_headers): Don't crash if string_table is NULL. - (process_section_headers): Don't crash if e_shstrndx is invalid. - Ensure string_table_length is 0 if string_table == NULL. - Don't return just because string_table is NULL. - (process_section_groups): Don't crash if symtab's sh_link or - symbol's st_name is invalid. Fix a memory leak. Fix check for - invalid section number entry. - (process_relocs): Don't crash if relocation or symbol section's - sh_link is invalid. - (slurp_ia64_unwind_table, slurp_hppa_unwind_table): Don't crash if - relocation section's sh_info is invalid. - (ia64_process_unwind, hppa_process_unwind): Don't crash if symbol - table's sh_link is invalid. - (process_version_sections): Don't crash on version or symbol - section's sh_link is invalid. Don't crash if symbol's st_shndx - is invalid. - (process_symbol_table): Don't crash if string table is corrupt - or symbol's st_name, st_shndx, vna_name or vda_name is invalid. - (debug_apply_rela_addends): Don't crash if relocation section's - sh_info or sh_link is invalid. - (display_debug_loc): Warn for unterminated .debug_loc section - or start offsets not within .debug_loc section boundaries. - (process_gnu_liblist): Don't crash if liblist section's sh_link - or entry's l_name is invalid. - -2005-06-09 Jakub Jelinek <jakub@redhat.com> - - * objdump.c (disassemble_bytes): Don't crash if q->howto == NULL. - If q->howto->name == NULL, print q->howto->type as number instead. - (dump_reloc_set): Likewise. - -2005-06-07 Eric Christopher <echristo@redhat.com> - - * readelf.c (guess_is_rela): Support ms1. - (dump_relocations): Ditto. - (get_machine_name): Ditto. - -2005-06-07 Aldy Hernandez <aldyh@redhat.com> - Michael Snyder <msnyder@redhat.com> - Stan Cox <scox@redhat.com> - - * Makefile.am (readelf.o): Depend on ms1.h. - - * Makefile.in: Regenerate. - - * readelf.c: Include ms1.h. - -2005-06-06 H.J. Lu <hongjiu.lu@intel.com> - - PR 990 - * nm.c (print_symbol): Call bfd_find_line before - bfd_find_nearest_line. - -2005-06-06 Alan Modra <amodra@bigpond.net.au> - - * NEWS: Mention new powerpc ld support. - -2005-06-03 Steve Ellcey <sje@cup.hp.com> - - * configure.in: Check for getc_unlocked prototype. - * configure: Regenerate. - * config.in: Regenerate. - * strings.c (get_char): Only call getc_unlocked if we have seen a - prototype. - -2005-06-03 Nick Clifton <nickc@redhat.com> - - * configure.in (ALL_LINGUAS): Add zh_TW - * configure: Regenerate. - * po/zh_TW.po: New Chinese (traditional) translation. - -2005-05-31 Richard Henderson <rth@redhat.com> - - * readelf.c (dump_relocations): Special case R_ALPHA_LITUSE. - -2005-05-29 Richard Henderson <rth@redhat.com> - - * readelf.c (get_alpha_dynamic_type): New. - (get_dynamic_type): Call it. - -2005-05-24 H.J. Lu <hongjiu.lu@intel.com> - - * readelf.c (process_section_groups): Report group section - index. Check if the section member index is valid. - -2005-05-23 Fred Fish <fnf@specifixinc.com> - - * addr2line.c (unwind_inlines): New flag for 'i' option. - (usage): Document '-i' option. - (long_options): Recognize '--inlines'. - (translate_addresses): Loop, calling bfd_find_inliner_info as - necessary and printing multiple output lines. - (main): Handle 'i' option. - * doc/binutils.texi (addr2line): Document '-i' option. - * NEWS: Mention new addr2line '-i' option. - -2005-05-23 Nick Clifton <nickc@redhat.com> - - * readelf.c (fetch_indirect_string): Display a warning message - when a corrupt DW_FORM_strp value is encountered. - - (process_debug_info): Mention that the compilation unit offset is - being displayed in hexadecimal. - - (display_debug_lines): Fix typo in name of .debug_line section. - -2005-05-19 Zack Weinberg <zack@codesourcery.com> - - * Makefile.am: Have 'all' depend on 'info'. - * Makefile.in: Regenerate. - -2005-05-19 Ben Elliston <bje@au.ibm.com> - - * readelf.c (read_and_display_attr_value): Handle a DW_AT_encoding - value of DW_ATE_GNU_decimal_float. - -2005-05-17 Daniel Jacobowitz <dan@codesourcery.com> - - * doc/Makefile.am (config.texi): Don't use $<. - * doc/Makefile.in: Regenerated. - -2005-05-15 Yitzchak Scott-Thoennes <sthoenna@efn.org> - - * deflex.l: Ignore CRs - -2005-05-15 Daniel Jacobowitz <dan@codesourcery.com> - - * acinclude.m4: Remove obsolete code. - * configure.in: Update AC_PREREQ. - * doc/Makefile.am (binutils_TEXINFOS): Define. - (config.texi): Depend on distributed files instead of built - files. - (binutils.dvi, binutils.info): Remove unnecessary rules. - (DISTCLEANFILES): Remove. - (install-data-local): Renamed from install. - (info-local): Renamed from info. - * Makefile.in, aclocal.m4, config.in, configure, - doc/Makefile.in: Regenerated. - -2005-05-14 Alan Modra <amodra@bigpond.net.au> - - * readelf.c (get_ppc_dynamic_type): Display DT_PPC_GOT, not - DT_PPC_GLINK. - -2005-05-13 Fred Fish <fnf@specifixinc.com> - - * readelf.c: Fix a couple of obvious comment typos, - 'debug_str' -> 'debug_ranges' and proecess' -> 'process'. - -2005-05-13 H.J. Lu <hongjiu.lu@intel.com> - - * readelf.c (dump_ia64_unwind): Get stamp with proper size. - -2005-05-12 Nick Clifton <nickc@redhat.com> - - * readelf.c (display_debug_lines): If pointer_size has not been - found then assume that it is 4 in order to prevent a seg fault - when process_extend_line_op attempts to read the line data. - -2005-05-11 Alan Modra <amodra@bigpond.net.au> - - * readelf.c (get_ppc_dynamic_type): New function for DT_PPC_GLINK. - (get_dynamic_type): Call the above. - -2005-05-07 Nick Clifton <nickc@redhat.com> - - * Update the address and phone number of the FSF organization in - the GPL notices in the following files: - aclocal.m4, addr2line.c, ar.c, arlex.l, arparse.y, arsup.c, - arsup.h, binemul.c, binemul.h, bucomm.c, bucomm.h, budbg.h, - budemang.c, budemang.h, coffdump.c, coffgrok.c, coffgrok.h, - cxxfilt.c, debug.c, debug.h, deflex.l, defparse.y, dlltool.c, - dlltool.h, dllwrap.c, emul_aix.c, emul_vanilla.c, filemode.c, - ieee.c, nlmconv.c, nlmconv.h, nlmheader.y, nm.c, objcopy.c, - objdump.c, prdbg.c, rclex.l, rcparse.y, rdcoff.c, rddbg.c, - readelf.c, rename.c, resbin.c, rescoff.c, resrc.c, resres.c, - size.c, srconv.c, stabs.c, strings.c, sysdump.c, sysinfo.y, - syslex.l, unwind-ia64.c, unwind-ia64.h, version.c, windres.c, - windres.h, winduni.c, winduni.h wrstabs.c, doc/fdl.texi - -2005-05-06 Jan Beulich <jbeulich@novell.com> - - * objcopy.c (copy_file): Don't delete output upon error here. - (copy_main): Delete output upon error. - -2005-05-02 Ben Elliston <bje@au.ibm.com> - - * dlltool.c (dtab): Remove empty function. - (process_duplicates): Remove calls to dtab(). - -2005-05-01 Maciej W. Rozycki <macro@linux-mips.org> - - * doc/binutils.texi (strip, objcopy): Clarify the description of - the "--strip-debug" option. Fix a typo. - -2005-04-29 H.J. Lu <hongjiu.lu@intel.com> - - * bucomm.c: Undo the last change. - * bucomm.h: Likewise. - -2005-04-29 Ben Elliston <bje@au.ibm.com> - - * syslex.l (word, number, unit): Remove unused variables. - * nlmheader.y (keyword_tokens): Make static. - * coffdump.c (dump_coff_symbol, coff_dump): Make static. - * coffgrok.c (lofile, last_function_symbol, last_function_type, - last_struct, last_enum, cur_sfile): Make variables static. - * sysdump.c (getCHARS, fillup, getBARRAY, getINT, getBITS, - sysroff_swap_tr_in, sysroff_print_tr_out): Make static. - * sysinfo.y (writecode, it, code, repeat, oldrepeat, name, rdepth, - names, pnames): Likewise. - -2005-04-29 Ben Elliston <bje@au.ibm.com> - - * ar.c (mri_mode): Make static. - * arsup.c (obfd, real_name, outfile): Likewise. - * binemul.c (ar_emul_create): Remove unused function. - (ar_emul_default_create): Likewise. - * binemul.h (ar_emul_create): Remove declaration. - (ar_emul_default_create): Likewise. - (struct bin_emulation_xfer_struct): Remove ar_create member. - * bucomm.c (report): Make static. - * bucomm.h (report): Remove declaration. - * cxxfilt.c (mbuffer): Make static. - (main): Use unsigned ints for some loop control variables. - * readelf.c: Make many global variables static. - * size.c (berkeley_format): Make static. - (long_options): Likewise. - * emul_aix.c (bin_aix_emulation): Remove ar_emul_default_create - structure initialiser. - (bin_aix5_emulation): Likewise. - * emul_vanilla.c (bin_vanilla_emulation): Likewise. - -2005-04-27 Ben Elliston <bje@au.ibm.com> - - * syslex.l: Adjust top-of-file comment: this file is part of GNU - binutils, not GNU ld. - -2005-04-25 Nick Clifton <nickc@redhat.com> - - PR872 - * objcopy.c (copy_archive): Initialise 'obfd' field of new - name_list structure. - - * objcopy.c (copy_usage): Fix description of -K switch. - - * doc/binutils.texi (strip, objcopy): Fix description of -K - switch. - -2005-04-20 Daniel Jacobowitz <dan@codesourcery.com> - - * readelf.c (display_debug_frames): Use data factor for - DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf. - -2005-04-19 H.J. Lu <hongjiu.lu@intel.com> - - * objdump.c (dump_section_header): Skip linker created section. - -2005-04-17 H.J. Lu <hongjiu.lu@intel.com> - - * objdump.c (dump_section_header): Support SEC_GROUP. - -2005-04-16 Nick Clifton <nickc@redhat.com> - - * readelf.c (debug_apply_rela_addends): Remove redundant %s from - printf string. - -2005-04-15 Nick Clifton <nickc@redhat.com> - - * objcopy.c (copy_file): Issue an error message when attmepting to - copy an empty input file. - -2005-04-14 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am (NO_WERROR): Define. Use instead of -Wno-error. - * configure.in: Include ../bfd/warning.m4 contents. - * Makefile.in: Regenerate. - * configure: Regenerate. - * doc/Makefile.in: Regenerate. - -2005-04-12 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am: Run "make dep-am". - (syslex.o, sysinfo.o, arparse.o, arlex.o): Add -Wno-error to command. - (sysroff.o, defparse.o, deflex.o): Likewise. - (nlmheader.o, rcparse.o, rclex.o): Likewise. - * Makefile.in: Regenerate. - * aclocal.m4: Regenerate. - * config.in: Regenerate. - * configure: Regenerate. - -2005-04-11 Jan Beulich <jbeulich@novell.com> - - * MAINTAINERS: Add myself as ix86 Intel mode maintainer. - -2005-04-06 Nick Clifton <nickc@redhat.com> - H.J. Lu <hongjiu.lu@intel.com> - - * po/rw.po: New translation: Kinyarwanda. - * configure.in (ALL_LINGUAS): Add rw. - * configure: Regenerate. - -2005-04-04 Maciej W. Rozycki <macro@linux-mips.org> - - * readelf.c (debug_apply_rela_addends): Reorder r_info as - necessary for 64-bit MIPS. - -2005-04-04 Maciej W. Rozycki <macro@linux-mips.org> - - * doc/binutils.texi (readelf): Remove a duplicate paragraph. - -2005-04-04 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com> - - PR binutils/813 - * objdump.c (dump_symbols): Add a check to see if the section for - the symbol is chosen using process_section_p. - -2005-04-01 H.J. Lu <hongjiu.lu@intel.com> - - * NEWS: Mention new readelf options, "-N/--full-section-name" - and "-g/--section-groups". - - * doc/binutils.texi: Document new readelf options, - "-N/--full-section-name" and "-g/--section-groups". - -2005-03-31 H.J. Lu <hongjiu.lu@intel.com> - - * readelf.c (do_full_section_name): New. - (options): Add "--full-section-name"/'N'. - (usage): Add -N/--full-section-name. - (parse_args): Handle 'N'. - (process_section_headers): Print out the full section name if - do_full_section_name isn't 0. - -2005-03-31 Nick Clifton <nickc@redhat.com> - - * configure.in: Add a check for <unistd.h> providing a prototype - for getopt() which is compatible with the one in - include/getopt.h. If so then define HAVE_DECL_GETOPT. - * configure: Regenerate. - * config.in (HAVE_DECL_GETOPT): Add. - * aclocal.m4: Regenerate. - * addr2line.c: Include "config.h" before "bfd.h" so that - HAVE_DECL_GETOPT is defined before getopt.h is included. - -2005-03-21 Jan-Benedict Glaw <jbglaw@lug-owl.de> - - * doc/binutils.texi: Document new VAX disassembler-specific option - -M entry:0xfooba8. - * NEWS: Mention the new option. - -2005-03-29 Anil Paranjpe <anilp1@kpitcummins.com> - - * MAINTAINERS: Add myself as H8300 maintainer. - -2005-03-28 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> - - * objdump.c (disassemble_bytes): Remove cast. - -2005-03-25 Daniel Jacobowitz <dan@codesourcery.com> - - * BRANCHES: Add binutils-csl-arm-2005q1-branch and - binutils-2_16-branch. - -2005-03-25 Mark Kettenis <kettenis@gnu.org> - - * MAINTAINERS: Add myself as M88k maintainer. - -2005-03-24 Danny Smith <dannysmith@users.sourceforge.net> - - * winduni.c (unicode_from_ascii): Don't declare variables - 's' and 'w' if _WIN32. Use MultiByteToWideChar to set the unicode - string len. - -2005-03-24 Dmitry Diky <diwil@spec.ru> - - * MAINTAINERS: Add myself as MSP430 maintainer. - -2005-03-23 Nick Clifton <nickc@redhat.com> - - * po/fr.po: Updated translation. - -2005-03-22 Nick Clifton <nickc@redhat.com> - - * MAINTAINERS: Add Daniel Jacobwitz to the blanket write - privileges list. - -2005-03-17 Paul Brook <paul@codesourcery.com> - Dan Jacobowitz <dan@codesourcery.com> - Mark Mitchell <mark@codesourcery.com> - - * binutils/readelf.c (get_arm_segment_type): New function. - (get_segment_type): Use it. - -2005-03-18 Paul Brook <paul@codesourcery.com> - - * objdump.c (objdump_print_addr): Avoid uninitialized warning. - -2005-03-17 Diego Novillo <dnovillo@redhat.com> - - * MAINTAINERS: Remove self as maintainer of x86 intel - mode. - -2005-03-16 Nick Clifton <nickc@redhat.com> - Ben Elliston <bje@au.ibm.com> - - * configure.in (werror): New switch: Add -Werror to the - compiler command line. Enabled by default. Disable via - --disable-werror. - * configure: Regenerate. - -2005-03-15 Daniel Marques <marques@cs.cornell.edu> - Nick Clifton <nickc@redhat.com> - - * objcopy.c (globalize_specific_list): New linked list of symbols - to convert from local binding into global binding. - (command_line_switch): Add OPTION_GLOBALIZE_SYMBOL and - OPTION_GLOBALIZE_SYMBOLS. - (copy_options): Add "globalize-symbol" and "globalize-symbols". - (copy_usage): Document the new switches. - (filter_symbols): Convert defined local symbols mentioned on the - globalize_specific_list into global symbols. - (copy_object): Perform actions if the globalize_specific_list is - not empty. - (copy_main): Handle new switches. - * NEWS: Mention new feature. - * doc/binutils.texi: Document new switches. - -2005-03-15 Alan Modra <amodra@bigpond.net.au> - - * po/es.po: Commit new Spanish translation. - - * po/fr.po: Commit new French translation. - -2005-03-14 Alan Modra <amodra@bigpond.net.au> - - * po/tr.po: Commit new Turkish translation. - -2005-03-11 Nick Clifton <nickc@redhat.com> - - * po/fr.po: Updated French translation. - -2005-03-10 Nick Clifton <nickc@redhat.com> - - * configure.in (ALL_LINGUAS): Add Romanian lingua "ro". - * configure: Regenerate. - * po/ro.po: New file. - - * po/ru.po: Updated file. - -2005-03-05 Alan Modra <amodra@bigpond.net.au> - - * po/binutils.pot: Regenerate. - -2005-03-02 Jan Beulich <jbeulich@novell.com> - - * ar.c (remove_output): Use unlink_if_ordinary instead of unlink. - * objcopy.c (copy_file): Likewise. - (strip_main): Likewise. - -2005-03-01 Stig Petter Olsroed <stigpo@users.sourceforge.net> - Nick Clifton <nickc@redhat.com> - - * objdump.c: Fix coding for DISASSEMBLER_NEEDS_RELOC: - (struct objdump_disasm_info): Add 'reloc' field. - (disassemble_bytes): Fix check for when an insn has a reloc - associated with it. Improve comment explaining why the use of - octets is wrong. Set the 'reloc' field in objdump_disasm_info - structure. - (objdump_print_addr): Use new 'reloc' field to lookup the correct - address for the symbol associated with the current instruction's - relocation. - (disassemble_info): Initialise 'reloc' field. - -2005-02-28 Jakub Jelinek <jakub@redhat.com> - - * readelf.c (get_file_type, get_machine_name, get_osabi_name, - get_segment_type, get_section_type_name, get_elf_class, - get_data_encoding, get_group_flags, dynamic_section_mips_val, - get_symbol_binding, get_symbol_type, get_TAG_name, get_FORM_name, - get_AT_name, process_mips_specific, process_gnu_liblist, - get_note_type, get_netbsd_elfcore_note_type): Use snprintf instead of - sprintf where needed. - (get_dynamic_type): Likewise. Increase buff to 64 bytes. - (get_elf_section_flags): Increase buff to 33 bytes. Avoid - using strcat. - (get_dynamic_flags): Renamed to... - (print_dynamic_flags): ... this. Print the flags to stdout instead - of returning them as string. - (process_dynamic_section): Adjust caller. - -2005-02-25 H.J. Lu <hongjiu.lu@intel.com> - - * readelf.c (display_debug_ranges): Print out offset for end of - list. - -2005-02-23 Alan Modra <amodra@bigpond.net.au> - - * dlltool.c: Warning fixes. - * objdump.c: Likewise. - -2005-02-22 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am (syslex.o, sysinfo.o): Pass AM_CFLAGS to compiler. - (syslex.o, sysinfo.o, dlltool.o, rescoff.o): Remove duplicate - dependencies. Run "make dep-am". - * nlmconv.c: Warning fixes. - * readelf.c: Likewise. - * srconv.c: Likewise. - * sysdump.c: Likewise. - * sysinfo.y: Likewise. - * syslex.l: Likewise. Use yyleng instead of strlen, memcpy instead - of strcpy. - * Makefile.in: Regenerate. - -2005-02-21 H.J. Lu <hongjiu.lu@intel.com> - - * objcopy.c (parse_flags): Replace SEC_SHARED with - SEC_COFF_SHARED. - - * objdump.c (dump_section_header): Dump SEC_TIC54X_BLOCK and - SEC_TIC54X_CLINK for TI c54x only. Remove SEC_ARCH_BIT_0. Dump - SEC_COFF_SHARED for COFF only. - -2005-02-21 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am: Run "make dep-am" - * Makefile.in: Regenerate. - * doc/Makefile.in: Regenerate. - -2005-02-21 Alan Modra <amodra@bigpond.net.au> - - * readelf.c (BYTE_GET8): Delete. Replace uses with BYTE_GET. - (byte_get_little_endian): Don't handle size of -8. - (byte_get_signed, byte_get_big_endian): Likewise. - (print_dec_vma, print_hex_vma): New functions. - (print_vma): Use them. Return chars output. - (get_dynamic_data): Return a bfd_vma array. Add ent_size parm. - (process_symbol_table): Handle alpha and s390 .hash. - -2005-02-18 H.J. Lu <hongjiu.lu@intel.com> - - * readelf.c (display_debug_loc): Print out offset for end of - list. - -2005-02-18 Joseph S. Myers <joseph@codesourcery.com> - - * Makefile.am (TOOL_PROGS): Add objdump. - * Makefile.in: Regenerate. - -2005-02-17 Alan Modra <amodra@bigpond.net.au> - - * deflex.l (YY_NO_UNPUT): Define. - * rclex.l (YY_NO_UNPUT): Define. - * rcparse.y (null_unichar): New static var. - (res_null_text): Use it rather than attempting to init from wchar_t. - * windres.c: Include assert.h and time.h before getopt.h. - Include config.h and unistd.h too. - -2005-02-15 Nick Clifton <nickc@redhat.com> - - * nlmconv.c: Provide a full prototype for the localtime() function - in order to avoid a compile time warning. - -2005-02-11 H.J. Lu <hongjiu.lu@intel.com> - - * readelf.c (group_count): Don't initialize it. - (process_section_groups): Reurn 1 if we won't do unwind nor - section groups. Set group_count to 0 before counting group - sections and return 1 if there are no group sections. Reread - SHT_SYMTAB/SHT_STRTAB sections only when needed. Don't skip - section 0. - (process_object): Only set do_unwind to 0 if - process_section_groups return 0. - -2005-02-10 Ian Lance Taylor <ian@airs.com> - - * MAINTAINERS: Update my e-mail address. - -2005-02-10 Mark Mitchell <mark@codesourcery.com> - - * MAINTAINERS: Add Paul Brook and Mark Mitchell as ARM (Symbian) - maintainers. - -2005-02-07 Inderpreet Singh <inderpreetb@noida.hcltech.com> - - * MAINTAINERS: Add self as maintainer of MAXQ. - -2005-01-31 Richard Sandiford <rsandifo@redhat.com> - - * readelf.c (eh_addr_size): New variable. - (find_section): Move earlier in file. Return empty sections too. - (process_program_headers): Use find_section to find .dynamic. - (process_section_headers): Initialize eh_addr_size. - (dump_ia64_unwind, slurp_ia64_unwind_table, ia64_process_unwind) - (dump_hppa_unwind, slurp_hppa_unwind_table, hppa_process_unwind) - (display_debug_frames): Use it instead of local addr_size variable. - (size_of_encoded_value): Get pointer size from eh_addr_size rather - than is_32bit_elf. - -2005-01-31 Andrew Cagney <cagney@gnu.org> - - * configure: Regenerate to track ../gettext.m4. - -2005-01-31 Nick Clifton <nickc@redhat.com> - - * version.c (print_version): Bump the copyright date to 2005. - -2005-01-25 Alan Modra <amodra@bigpond.net.au> - - * nm.c (display_rel_file): Read dynamic syms before calling - bfd_get_synthetic_symtab. - -2005-01-21 Ben Elliston <bje@au.ibm.com> - - * dlltool.c (dump_iat): Remove unused function. - (gen_exp_file): Remove #if 0'd code. - (make_one_lib_file): Likewise. - * srconv.c: Remove #if 0'd code throughout. - * size.c (lprint_number): Remove. - (print_berkeley_format): Remove #if 0'd code. - * ar.c (do_quick_append): Remove declaration and definiton. - (main): Remove #if 0'd code. - * filemode.c (filemodestring): Remove #if 0'd function. - * sysdump.c (unit_info_list): Remove function. - (object_body_list): Likewise. - (program_structure): Likewise. - (debug_list): Likewise. - (module): Remove #if 0'd code. - -2005-01-20 Mark Mitchell <mark@codesourcery.com> - - * BRANCHES: Add binutils-2_15-branch. - - * MAINTAINERS: Document branch policy. - * BRANCHES: New file. - -2005-01-19 Fred Fish <fnf@specifixinc.com> - - * NEWS: Make note of the new MIPS disassembly option "no-aliases". - * doc/binutils.texi (objdump): Document the "no-aliases" - disassembly option. - -2005-01-17 Eugene Kotlyarov <ekot@narod.ru> - - PR binutils/647 - * rcparse.y (RCDATA): Allow a filename to be supplied as the - parameter. Parse it with define_rcdata_file(). - * resrc.c (define_rcdata_file): New function. - * windres.h: Provide a prototype for the new function. - - * resrc.c (define_user_file): Fix typo by replacing "font file" - with "file". - -2005-01-16 Jason Thorpe <thorpej@netbsd.org> - - * MAINTAINERS: Update my email address. - -2005-01-16 Danny Smith <dannysmith@users.sourceforge.net> - - * dlltool.c (set_dll_name_from_def): New function. Strip name - to basename, with warning. - (def_name): Use it. - (def_library): Likwise. - (main): Strip arg of --dllname to basename, with warning. - Only use basename of exp_name when inferring dll_name. - -2005-01-11 Nick Clifton <nickc@redhat.com> - - PR binutils/637 - * doc/binutils.texi (c++filt): Use uppercase CXXFILT in the - footnote in order to prevent the sed script in the Makefile from - converting it into c++filt. - -2005-01-10 H.J. Lu <hongjiu.lu@intel.com> - - BZ 635 - readelf.c (saved_base_address): Removed. - (decode_64bit_range): Likewise. - (decode_range): Likewise. - (display_64bit_debug_ranges): Likewise. - (debug_info): Add range_lists, num_range_lists and - max_range_lists. - (read_and_display_attr_value): Handle do_debug_ranges. - (process_debug_info): Likewise. - (display_debug_ranges): Rewrite. - (process_object): Free range_lists. - -2005-01-10 Andreas Schwab <schwab@suse.de> - - * configure.in: Don't define SKIP_ZEROES. - * configure: Regenerate. - * objdump.c (disassemble_data): Set skip_zeroes and - skip_zeroes_at_end in disasm_info to defaults. - (DEFAULT_SKIP_ZEROES): Rename from SKIP_ZEROES and always define. - (DEFAULT_SKIP_ZEROES_AT_END): Rename from SKIP_ZEROES_AT_END and - always define. - (disassemble_bytes): Use skip_zeroes and skip_zeroes_at_end from - objdump_disasm_info. - -2005-01-05 H.J. Lu <hongjiu.lu@intel.com> - - * readelf.c (display_debug_loc): Display base address - specifiers. Always output <End of list>. - -2005-01-05 H.J. Lu <hongjiu.lu@intel.com> - - * readelf.c (have_frame_base): New. - (need_base_address): Likewise. - (saved_base_address): Likewise. - (decode_location_expression): Return 1 if DW_AT_frame_base is - needed. - (debug_info): Add base_address and a have_frame_base pointer. - (read_and_display_attr_value): Replace saved_DW_AT_low_pc with - saved_base_address. Record base address. Set have_frame_base. - Record if a location list has DW_AT_frame_base. Display if a - location expression has no DW_AT_frame_base but needs one. Set - saved_base_address only if needed. - (process_debug_info): Clear have_frame_base, saved_base_address - and set need_base_address. - (display_debug_loc): Display if a location expression has no - DW_AT_frame_base but needs one. Display if start >= end. Don't - adjust for section address. Properly handle base address. - (process_object): Free the have_frame_base pointer in - debug_info. - -2005-01-04 H.J. Lu <hongjiu.lu@intel.com> - - * readelf.c (display_debug_loc): Display offsets for hole and - overlap. - (display_debug_str): Add a newline at the end. - -2005-01-04 Armin Diehl <diehl@nordrhein.de> - - PR binutils/630 - * nlmconv.c (main): Only store the basename of the output filename - in the module table. - -2005-01-04 H.J. Lu <hongjiu.lu@intel.com> - - BZ 615 - * readelf.c (process_debug_info): New. - (debug_info): Add num_loc_offsets, loc_offsets and - last_loc_offset_p. - (get_debug_info): Use process_debug_info. - (display_debug_loc): Properly handle location list. Warn if bad - location lists are encoutnered. - (read_and_process_attr_value): New. - (read_and_display_attr_value): Use "%lx" for DW_FORM_data4. - (display_debug_info): Use process_debug_info. - (process_object): Also free loc_offsets in debug_information. - -2004-12-31 Alan Modra <amodra@bigpond.net.au> - - * objdump.c (remove_useless_symbols): Discard section symbols. - -2004-12-27 H.J. Lu <hongjiu.lu@intel.com> - - * readelf.c (read_leb128): Support 64bit host. - -2004-12-23 Nick Clifton <nickc@redhat.com> - - PR binutils/616 - * readelf.c (debug_info): Add 'cu_offset' field. - (get+pointer_size_of_comp_unit): Rename to - 'get_pointer_size_and_offset_of_comp_unit'. Add code to return - the offset of the comp_unit if requested. - (get_debug_info): Record comp_unit offsets as well. - (display_debug_lines): Call get_pointer_size_of_comp_unit. - (decode_location_expression): Add an extra parameter - the offset - of the current comp-unit. Use this when decoding the DW_OP_call2 - and DW_OP_call4 operators. - (display_debug_loc): Call get_pointer_size_of_comp_unit, pass the - comp_unit offset on the decode_location_expression. - (read_and_display_attr_value): Pass the comp_unit offset on the - decode_location_expression. - (display_debug_frames): Pass 0 as the comp_unit offset to - decode_location_expression. - -2004-12-22 Nick Clifton <nickc@redhat.com> - - * readelf.c (last_pointer_size, warned_about_missing_comp_units): - New variables associated with obtaining the pointer size for a - comp_unit. - (get_pointer_size_of_comp_unit): Add an extra parameter - the name - of the section requesting the pointer size. Use this name in - error messages. If there are not enough comp_units available - produce a warning message, but return the last known pointer size - so that section dumping can continue. - (get_debug_info): Reset the new variables. - (display_debug_lines): Add extra parameter to invocation of - get_pointer_size_of_comp_unit and remove error message when it - returns 0. - (display_debug_loc): Likewise. - -2004-12-15 Jan Beulich <jbeulich@novell.com> - - * doc/binutils.texi: Document --strip-unneeded-symbol and - --strip-unneeded-symbols. - * objcopy.c (strip_unneeded_list): New. - (enum command_line_switch): Add OPTION_STRIP_UNNEEDED_SYMBOL - and OPTION_STRIP_UNNEEDED_SYMBOLS. - (copy_options): Add --strip-unneeded-symbol and - --strip-unneeded-symbols. - (copy_usage): Likewise. - (filter_symbols): Suppress copying of symbol if in strip_unneeded_list - and the symbol is not needed. - (copy_main): Handle OPTION_STRIP_UNNEEDED_SYMBOL and - OPTION_STRIP_UNNEEDED_SYMBOLS. - -2004-12-09 Ian Lance Taylor <ian@wasabisystems.com> - - * readelf.c (get_machine_flags): Handle E_MIPS_MACH_9000. - -2004-12-08 Ben Elliston <bje@au.ibm.com> - - * arlex.l: Fix formatting. - -2004-12-08 Ben Elliston <bje@au.ibm.com> - - * doc/Makefile.am (config.texi): Emit a @set UPDATED command to - config.texi whose value is the current month and year. - * doc/Makefile.in: Rebuild. - * doc/binutils.texi: Set the document subtitle to be the value of - the Texinfo UPDATED variable (obtained from config.texi). - -2004-12-07 Ben Elliston <bje@au.ibm.com> - - PR binutils/249 - * doc/binutils.texi (def file format): New node. - (dlltool): Use the tool name as the @chapter name, like all the - other binutils. Use @file{.def} throughout for consistency. - -2004-12-06 Ben Elliston <bje@au.ibm.com> - - * dlltool.c: Comment fix. - -2004-12-06 Ben Elliston <bje@au.ibm.com> - - * doc/binutils.texi: Update copyright years. - -2004-12-03 Richard Sandiford <rsandifo@redhat.com> - - * MAINTAINERS: Remove mention of config.if. - -2004-11-30 Tero Niemela <tero_niemela@yahoo.com> - - * Makefile.am: Change LOCALEDIR to $(datadir)/share. - * Makefile.in: Regenerate. - -2004-11-10 Ian Lance Taylor <ian@wasabisystems.com> - - PR binutils/536 - * stabs.c (stab_demangle_template): Call stab_demangle_count - rather than stab_demangle_get_count to get the length of a pointer - target. - -2004-11-10 Danny Smith <dannysmith@users.sourceforge.net> - - * defparse.y: Remove unnecessary commas from token list. - -2004-11-08 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> - - * doc/binutils.texi (nm): Update description of weak symbols. - -2004-11-03 Nick Clifton <nickc@redhat.com> - - * readelf.c (do_debug_ranges): New variable. - (usage): Document new switch: -wR or --debug-dump=Ranges. - (parse_args): Handle new switch. Replace switch statement for the - long options with a more compact table structure. - (process_section_headers): Allow the dumping of .debug_ranges - sections if so requested. - (debug_displays): Likewise. - (load_debug_range): New function: Grabs the contents of a - .debug_ranges section. - (free_debug_range): New function: Releases the grabbed - .debug_ranges section. - (decode_64bit_range): New function: Displays a 64-bit range in a - .debug_ranges section. - (decode_range): New function: Displays a 32-bit range in a - .debug_ranges section. - (read_and_display_attr_value): Record the value of DW_AT_low_pc - attributes. Use decode_ranges() to display a DW_AT_ranges - attribute. - (display_debug_info): Use load_debug_range() and - free_debug_range(). - (display_64bit_debug_ranges): New function. Displays the contents - of a 64-bit format .debug_ranges section. - (display_debug_ranges): New function: Displays the contents of a - 32-bit .debug_ranges section. - - (main): Move cmdline_dump_sects and num_cmdline_dump_sects into the - global scope. - (process_object): Initialise the dump_sects array from the - cmdline_dump_sects array before processing each object file. - - (streq, strneq): New macros. Use them to replace occurrences of - strcmp() and strncmp(). - - (debug_information): New structure array to replace - debug_line_pointer_sizes array. - (num_debug_info_entries): New variable to replace - num_debug_line_pointers. - (get_pointer_size_of_comp_unit): New function: Returns the pointer - size of a given compilation unit. - (get_debug_info): New function to replace - get_debug_line_pointer_sizes. - (display_debug_lines): Use the new functions. - (display_debug_loc): Likewise. - - (disassemble_section): Change return type to int. - (display_debug_lines): Move local variables to their - innermost scope. - (display_debug_section): Likewise. Also record the return value - of functions called and pass this back to the parent. Also only - warn about undumped sections when the user explicitly requested - their dumping. - - (debug_apply_rela_addends): Allow relocations against STT_OBJECT - types as well. - - * NEWS: Mention the support for decoding .debug_ranges sections. - * doc/binutils.texi: Document the new command line switch to - readelf. - -2004-11-03 Randolph Chung <tausq@debian.org> - - * readelf.c (ia64_unw_aux_info, ia64_unw_table_entry): Rename from - unw_aux_info and unw_table_entry. - (find_symbol_for_address): Pass symtab and strtab info explicitly. - (dump_ia64_unwind): Rename unw_{aux_info,table_entry} with ia64_ - prefix. - (slurp_ia64_unwind_table): Likewise. - (ia64_process_unwind): Rename from old process_unwind. - (hppa_unw_aux_info): New. - (dump_hppa_unwind): New. - (slurp_hppa_unwind_table): New. - (hppa_process_unwind): New. - (process_unwind): Factor out common unwinding checks; dispatch to - unwind handler based on machine type. - -2004-11-02 Nick Clifton <nickc@redhat.com> - - * readelf.c (display_debug_lines): Fix typo in error message. - -2004-10-26 Mark Mitchell <mark@codesourcery.com> - - * readelf.c (get_note_type): Handle notes not in core files. - (process_note_sections): New function. - (process_corefile_contents): Rename to ... - (process_notes): ... this. - (process_object): Call process_notes, not - process_corefile_contents. - * doc/binutils.texi: Update readelf -n documentation. - -2004-10-26 Jakub Jelinek <jakub@redhat.com> - - * ar.c (extract_file): Set atime to mtime for ar xo. - -2004-10-25 Ian Lance Taylor <ian@wasabisystems.com> - - * stabs.c (stab_demangle_v3_arglist): New static function, broken - out of stab_demangle_v3_argtypes. - (stab_demangle_v3_argtypes): Call it. - (stab_demangle_v3_arg): Handle DEMANGLE_COMPONENT_FUNCTION_TYPE. - If we find an unrecognized component, print out its number. - -2004-10-25 David Mosberger <davidm@hpl.hp.com> - - * readelf.c (slurp_ia64_unwind_table): Support relocations against - non-section symbols by adding in the symbol value. - -2004-10-25 Nick Clifton <nickc@redhat.com> - - PR 465 - * readelf.c (dynamic_strings_length): New global variable. - (VALID_DYNAMIC_NAME, GET_DYNAMIC_NAME): New macros for accessing - strings in the dynamic string table. - (process_section_headers): Initialise dynamic_strings_length. - (process_dynamic_section): Likewise. - (process_object): Reset dynamic_string_length when the buffer is freed. - (dynamic_sections_mips_val): Use the new macros. - (process_dynamic_section): Likewise. - (process_version_sections): Likewise. - (process_symbol_table): Likewise. - (process_syminfo): Likewise. - (process_mips_specific): Likewise. - (dump_relocations): Add a new parameter 'strtablen' and use this - to verify that string offset in a given reloc is valid. Print a - suitable error message otherwise. - (process_relocs): Pass the new argument to dump_relocations. - -2004-10-23 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> - - * dlltool.c: Include <assert.h>. - (PREFIX_ALIAS_BASE): Define. - (struct export): Add member import_name; - (def_exports): Set import_name. - (make_one_lib_file): Remove prefix alias code, use import_name - in .idata$6. - (gen_lib_file): Create and delete aliases. - -2004-10-19 H.J. Lu <hongjiu.lu@intel.com> - - * readelf.c (process_section_groups): Free symtab after use. - -2004-10-18 Tommy Pettersson <ptp@lysator.liu.se> - Nick Clifton <nickc@redhat.com> - - * strings.c (usage): Place radix values for -t option into the - correct order. - - * objcopy.c (add_redefine_syms_file): Change error messages to use - <filename>:<linenumber>: format for easier parsing by automatic - tools. - - * srconv.c (show_usage): Fix spelling typo. - - * windres.c (format_from_filename): Suggest the use of -J instead - of -I if the file type cannot be determined. - -2004-10-18 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> - - * strings.c: Include <sys/stat.h>. - -2004-10-18 Alan Modra <amodra@bigpond.net.au> - - * budemang.c (demangle): Fix thinko. - - * budemang.c (demangle): Handle "@plt" suffix. - -2004-10-14 Nick Clifton <nickc@redhat.com> - - * nm.c (usage): Fix description of --special-syms switch. - -2004-10-13 Jakub Jelinek <jakub@redhat.com> - - * strings.c (statbuf): New typedef. - (file_stat): Define. - (strings_object_file): Avoid using get_file_size, instead do the - checks here, using file_stat. - * configure.in (HAVE_STAT64): New test. - * configure: Rebuilt. - * config.in: Rebuilt. - -2004-10-12 Paul Brook <paul@codesourcery.com> - - * readelf.c (decode_ARM_machine_flags): Support EABI version 4. - -2004-10-11 Alan Modra <amodra@bigpond.net.au> - - * objdump.c (dump_symbols): Fix thinko last change. Improve error - messages. - -2004-10-08 Nick Clifton <nickc@redhat.com> - - * nm.c: Add a new switch --special-syms which, if enabled, will - include the ARM Mapping symbols in nm's output. - (usage): Mention the switch. - (filter_symbols): Handle the switch. - * objdump.c: Add a similar switch. - (usage): Mention the switch. - (dump_symbols): Handle the switch. - * doc/binutils.texi: Document the new switches. - * NEWS: Mention the new switches. - -2004-10-08 Daniel Jacobowitz <dan@debian.org> - - * readelf.c (get_x86_64_section_type_name): New function. - (get_section_type_name): Use it. - -2004-10-08 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> - - * dlltool.c (make_one_lib_file): Revert 2004-09-02 and 2004-09-04 - patches. - * doc/binutils.texi (dlltool): Revert 2004-09-06 patch. - -2004-10-07 Alexandre Oliva <aoliva@redhat.com> - - * readelf.c (get_machine_flags): Don't fall through into m68k cpu - types. - -2004-10-01 Paul Brook <paul@codesourcery.com> - - * readelf.c (get_arm_section_type_name): New function. - (get_section_type_name): Use it. - -2004-09-28 Nick Clifton <nickc@redhat.com> - - * nm.c: Reorder functions to eliminate most of the static function - prototypes. - -2004-09-22 Alan Modra <amodra@bigpond.net.au> - - * readelf.c (process_program_headers): Don't include .tbss in non-TLS - segments. - -2004-09-17 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - * config.in: Regenerate. - * configure: Regenerate. - * doc/Makefile.in: Regenerate. - * po/binutils.pot: Regenerate. - -2004-09-12 Alan Modra <amodra@bigpond.net.au> - - * readelf.c (decode_location_expression): Sign extend value for - DW_OP_const1s, DW_OP_const2s, DW_OP_const4s, DW_OP_bra, DW_OP_skip. - -2004-09-09 Nick Clifton <nickc@redhat.com> - - PR 363 - * ar.c (replace_members): Do not use get_file_size as - ar_emul_append correctly handles missing files. - -2004-09-07 H.J. Lu <hongjiu.lu@intel.com> - - * configure: Regenerated with autconfig 2.13. - -2004-09-06 Danny Smith <dannysmith@users.sourceforge.net> - - * doc/binutils.texi (dlltool): Update --add-underscore, --kill-at - documentation. - -2004-09-06 Michael Wardle <mbw@endbracket.net> - - * doc/binutils.texi (objdump): Document that the -x switch includes - the effect of the -p switch. - -2004-09-04 Danny Smith <dannysmith@users.sourceforge.net> - - * dlltool.c (make_one_lib_file): Test if internal_name was - specified by user before using it. - -2004-09-02 Carlo Wood <carlo@alinoe.com> - - PR binutils/351 - * dlltool.c (make_one_lib_file): For IDATA6 take the name from - exp->internal_name if it is present. - -2004-09-02 Alexandre Oliva <aoliva@redhat.com> - - * MAINTAINERS: Add self as co-maintainer of FR-V. - * readelf.c (get_machine_flags): Print FR-V cpu types. - -2004-08-28 Alan Modra <amodra@bigpond.net.au> - - * nm.c (show_synthetic): New var. - (long_options): Add "synthetic". - (usage): Here too. - (display_rel_file): Handle show_synthetic. - -2004-08-28 Alan Modra <amodra@bigpond.net.au> - - * objdump.c (dump_bfd): Pass both symbol tables to - bfd_get_synthetic_symtab. - -2004-08-17 Jakub Jelinek <jakub@redhat.com> - - * objdump.c (dump_bfd): For relocatable objects, pass syms instead - of dynsyms to bfd_get_synthetic_symtab. - -2004-08-16 Alan Modra <amodra@bigpond.net.au> - - * readelf.c (debug_apply_rela_addends): New function, extracted from.. - (display_debug_info): ..here. - (display_debug_frames): Call debug_apply_rela_addends. Don't do - DW_EH_PE_pcrel adjustment for ET_REL. - -2004-08-06 Andreas Schwab <schwab@suse.de> - - * readelf.c (dump_relocations): Fix typo when calculating - sec_index. - -2004-08-02 Jakub Bogusz <qboosh@pld-linux.org> - - * dllwrap.c (deduce_name): Fix typos introduced when program_name - was renamed to prog_name. - -2004-07-29 Alexandre Oliva <aoliva@redhat.com> - - * readelf.c (get_machine_flags <EM_SH>): Handle EF_SH2A and - EF_SH2A_NOFPU. - -2004-07-28 Alexandre Oliva <aoliva@redhat.com> - - 2003-07-08 Alexandre Oliva <aoliva@redhat.com> - * readelf.c (get_machine_flags <EM_SH)): Handle EF_SH4_NOFPU and - EF_SH4A_NOFPU. - 2003-06-12 Alexandre Oliva <aoliva@redhat.com> - * readelf.c (get_machine_flags <EM_SH>): Print SH ISA name. - -2004-07-21 H.J. Lu <hongjiu.lu@intel.com> - - * objcopy.c (filter_symbols): Use bfd_coff_get_comdat_section - to access comdat. - * objdump.c (dump_section_header): Likewise. - -2004-07-15 Aravinda PR <aravindapr@rediffmail.com> - - * nlmconv.c (main): Pass map_file argument to link_inputs. - (link_inputs): Use map_file argument if it is defined. - -2004-07-13 Nick Clifton <nickc@redhat.com> - - * dllwrap.c: Replace 'program_name' with 'prog_name' to avoid - conflicts with exported global defined in bucomm.h. - (deduce_name): Rename parameter 'program_name' to 'name' to avoid - shadowing the global defined in bucomm.h. - -2004-07-12 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> - - * dlltool.c (ext_prefix_alias): New global variable. - (make_one_lib_file): Add aliases with prefixes for external - and import definitions. - (usage): Document -p option. - (long_options): Add --ext-prefix-alias option. - (main): Handle -p. - * doc/binutils.texi: Document new switch. - * NEWS: Mention new switch. - -2004-07-09 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> - - * binutils/dlltool.c (asm_prefix): Add parameter: name. - No underscore for symbols beginning with ?. - (ASM_PREFIX): Add parameter: NAME. - (gen_exp_file): Use new parameter. - (make_label): Likewise. - (make_imp_label): Likewise. - (make_one_lib_file): Likewise. - -2004-07-07 Tomer Levi <Tomer.Levi@nsc.com> - - * MAINTAINERS: Added myself to the list. - * readelf.c: Include "elf/crx.h". - (guess_is_rela): Handle EM_CRX. - (get_machine_name): Likewise. - (dump_relocations): Likewise. - -2004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> - - * doc/binutils.texi (nm): Clarify weak symbol description. - -2004-06-24 Ben Elliston <bje@au.ibm.com> - - * readelf.c (get_segment_type): Display "GNU_STACK", not just - "STACK", when a PT_GNU_STACK segment is encountered. - -2004-06-24 Alan Modra <amodra@bigpond.net.au> - - * objcopy.c (copy_section): Don't set _cooked_size. - -2004-06-22 Alan Modra <amodra@bigpond.net.au> - - * readelf.c (Elf32_Word): Delete. - (get_32bit_dynamic_section): Handle SGI ELF dynamic segment. - (get_64bit_dynamic_section): Likewise. - - * readelf.c (get_32bit_dynamic_section): Stop at first DT_NULL entry. - (get_64bit_dynamic_section): Likewise. - - * readelf.c (dynamic_nent): New variable. - (get_32bit_dynamic_section): Set it. - (get_64bit_dynamic_section): Here too. - (process_dynamic_section): Use it instead of dynamic_size. - (process_syminfo): Likewise. - - * readelf.c (get_32bit_dynamic_section): Correct number of entries - translated from external to internal form. - (get_64bit_dynamic_section): Likewise. - -2004-06-18 Jie Zhang <zhangjie@magima.com.cn> - - * readelf.c (process_program_headers): When locating the dynamic - section use the section table if it is present. - (dynamic_segment): Renamed to dynamic_section. - Replace references to dynamic segment with references to dynamic - section, except where appropriate. - (dynamic_segment_mips_val): Rename to dynamic_section_mips_val. - (dynamic_segment_parisc_val): Rename to dynamic_section_parisc_val. - (dynamic_segment_ia64_val): Rename to dynamic_section_ia64_val. - (get_32bit_dynamic_segment): Rename to get_32bit_dynamic_section. - Remove tag counting code as it is no longer needed. - (get_64bit_dynamic_segment): Rename to get_64bit_dynamic_section. - Remove tag counting code as it is no longer needed. - (process_dynamic_segment): Rename to process_dynamic_section. - -2004-06-15 Alan Modra <amodra@bigpond.net.au> - - * objcopy.c (copy_section): Use bfd_get_section_size instead of - _raw_size or bfd_get_section_size_before_reloc. Don't set reloc_done. - (compare_section_lma): Likewise. - * addr2line.c (find_address_in_section): Likewise. - * coffgrok.c (do_sections_p1): Likewise. - * dlltool.c (scan_drectve_symbols): Likewise. - * nlmconv.c (main): Likewise. - (copy_sections): Likewise. - (powerpc_mangle_relocs): Likewise. - * objdump.c (disassemble_section): Likewise. - * prdbg.c (find_address_in_section): Likewise. - * size.c (berkeley_sum): Likewise. - * srconv.c (wr_ob): Likewise. - * strings.c (strings_a_section): Likewise. - -2004-05-28 Ian Lance Taylor <ian@wasabisystems.com> - - * readelf.c (decode_ARM_machine_flags): Add EF_ARM_VFP_FLOAT. - -2004-05-17 David Heine <dlheine@tensilica.com> - - * objcopy.c (setup_bfd_headers): New function. - (copy_object): Call setup_bfd_headers. - -2004-05-13 Paul Brook <paul@codesourcery.com> - - * readelf.c (display_debug_frames): Handle dwarf3 format CIE - entries. - -2004-05-13 Nick Clifton <nickc@redhat.com> - - * po/fr.po: Updated French translation. - -2004-05-11 Jakub Jelinek <jakub@redhat.com> - - * readelf.c (get_segment_type): Handle PT_GNU_RELRO. - -2004-05-07 H.J. Lu <hongjiu.lu@intel.com> - - * readelf.c (section_groups): New. - (group_count): New. - (section_headers_groups): New. - (process_section_groups): Populate group_count, section_groups - and section_headers_groups. - (process_unwind): Support section group. - (process_object): Always call process_section_groups. Free - section_groups and section_headers_groups. - -2004-04-30 H.J. Lu <hongjiu.lu@intel.com> - - * readelf.c (process_section_headers): Use %3lu on sh_info. - -2004-04-30 Michael Deutschmann <michael@talamasca.ocis.net> - - * ranlib.sh: Quote $1 argument in case it contains spaces. - -2004-04-27 John Paul Wallington <jpw@gnu.org> - - * objcopy.c (copy_usage, strip_usage): Fix spelling. - -2004-04-26 H.J. Lu <hongjiu.lu@intel.com> - - * readelf.c (do_section_groups): New. - (options): Add --section-groups/-g. - (usage): Mention --section-groups/-g. - (parse_args): Support --section-groups/-g. - (get_group_flags): New. - (process_section_groups): New. - (process_object): Call process_section_groups. - -2004-04-24 Alan Modra <amodra@bigpond.net.au> - - * objdump.c (disassemble_section): Don't disassemble sections - without SEC_HAS_CONTENTS. - -2004-04-22 Jakub Jelinek <jakub@redhat.com> - - * objdump.c (synthsyms, synthcount): New variables. - (disassemble_data): Use dynsyms for stripped binaries or libraries. - Add synthetized symbols. - (dump_bfd): For disassemble, initialize dynsyms always and - also synthsyms. Free synthsyms and clear {sym,dynsym,synth}count - before returning. - -2004-04-14 Alan Modra <amodra@bigpond.net.au> - - * strings.c (print_strings): Cast file_off to unsigned long in - printf arg list. - -2004-04-07 Benjamin Monate <benjamin.monate@cea.fr> - - PR 86 - * arsup.c (ar_save): Use smart_rename. - -2004-04-01 Dean Luick <luick@cray.com> - - * readelf.c (display_debug_pubnames): Align offset and data - columns. - (read_and_display_attr_value): Add missing break; - (debug_displays): Enable the display of the .debug_pubtypes - section. - -2004-03-30 Stan Shebs <shebs@apple.com> - - * mpw-config.in, mpw-make.sed, mac-binutils.r: Remove MPW - support files, no longer used. - -2004-03-23 Paul Brook <paul@codesourcery.com> - - * readelf.c (decode_ARM_machine_flags): Add EABI v3. - -2004-03-21 Richard Henderson <rth@redhat.com> - - * readelf.c (display_debug_frames): Don't crash for mismatched - DW_CFA_restore_state. - -2004-03-19 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - * aclocal.m4: Regenerate. - * config.in: Regenerate. - * configure: Regenerate. - * po/binutils.pot: Regenerate. - -2004-03-15 Nathan Sidwell <nathan@codesourcery.com> - - * objdump.c (struct SFILE): Replace current pointer with pos - offset, rename size to alloc. - (objdump_sprintf): Avoid unnecessary copies in the common case - (disassemble_bytes): Keep sfile live throughout the - function. Adjust usage appropriately. - -2004-03-10 Ben Elliston <bje@gnu.org> - - * MAINTAINERS: Update my mail address. - -2004-03-08 Danny Smith <dannysmith@users.sourceforge.net> - - * deflex.l: Handle "PRIVATE" string. - * defparse.y (%token): Add PRIVATE. - (%type): Add opt_PRIVATE. - (expline): Pass opt_PRIVATE to def_exports. - (opt_PRIVATE): Handle PRIVATE token. - * dlltool.h (def_exports): Add 7th param for private flag to - declaration. - * dlltool.c: Add PRIVATE to comment on EXPORTS syntax. - (struct export): Add 'private' field. - (def_exports): Set 'private' field of struct exports. - (scan_drectve_symbols): Adjust calls to def_exports. - (scan_filtered_symbols): Likewise. - (dump_def_info): Print 'private' field. - (gen_def_file): Likewise. - (gen_lib_file): Skip generation of lib object if private. - Delete tmp object files in same order as they were generated. - Don't delete non-existent private object files. - -2004-02-27 Andreas Schwab <schwab@suse.de> - - * ar.c (main): Support POSIX-compatible argument parsing. - -2004-02-23 Daniel Lucq <daniel@lucq.org> - - * readelf.c (process_mips_specific): Print conflictsno as an - unsigned long. - -2004-02-21 Dmitry Timoshkov <dmitry@baikal.ru> - - * dlltool.c (gen_exp_file): Always output names for forwarded symbols. - -2004-02-19 Jakub Jelinek <jakub@redhat.com> - - * objcopy.c (copy_section): Avoid warnings. - -2004-02-14 Andrew Cagney <cagney@redhat.com> - - * ar.c (remove_output): Use bfd_cache_close. - * arsup.c (ar_end): Ditto. - -2004-01-21 Roland McGrath <roland@redhat.com> - - * readelf.c (get_note_type): Match NT_AUXV. - -2004-01-20 Nick Clifton <nickc@redhat.com> - - * version.c (print_version): Update copyright year to 2004. - -2004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl> - - * acinclude.m4: Quote names of macros to be defined by AC_DEFUN - throughout. - * aclocal.m4: Regenerate. - * configure: Regenerate. - -2004-01-12 Jakub Jelinek <jakub@redhat.com> - - * objcopy.c: Include elf-bfd.h. - (is_strip_section): Don't strip debugging sections if - STRIP_NONDEBUG. - (setup_section): If STRIP_NONDEBUG make SEC_ALLOC sections - ~(SEC_LOAD | SEC_HAS_CONTENTS) and on ELF targets also SHT_NOBITS. - - * objcopy.c (copy_section): Free relpp if relcount == 0. - -2004-01-12 Ian Lance Taylor <ian@wasabisystems.com> - - * stabs.c (parse_stab_argtypes): Handle g++ ABI version 3 names. - (stab_demangle_argtypes): Likewise. - (stab_demangle_v3_argtypes): New static function. - (stab_demangle_v3_arg): New static function. - -2004-01-12 Nick Clifton <nickc@redhat.com> - - * objcopy.c (copy_object): Make the function boolean, returning - FALSE upon failure. - (copy_archive): Handle the return value from copy_object. - (copy_file): Likewise. - -2004-01-07 Nick Clifton <nickc@redhat.com> - - * readelf.c (find_section): New function. Locates a named - section. - (get_debug_line_pointer_sizes): New function: Initialises the - debug_line_pointer_sizes array. - (display_debug_lines): Call get_debug_line_pointer_sizes. - (display_debug_loc): Likewise. - (load_debug_loc): Use find_section. - (load_debug_str): Likewise. - (display_debug_info): Likewise. - (prescan_debug_info): Delete. - (debug_displays): Remove prescan field. - (process_section_contents): Do not perform prescans. - -2004-01-03 Alan Modra <amodra@bigpond.net.au> - - * objcopy.c (filter_bytes): Delete. Move code to.. - (copy_section): ..here. Simplify size adjustment. Divide - section lma by interleave. - -2004-01-02 Nick Clifton <nickc@redhat.com> - - * po/ru.po: New file: Russian translation. - * configure.in (ALL_LINGUAS): Add ru - * configure: Regenerate. - -For older changes see ChangeLog-0203 +For older changes see ChangeLog-2005 Local Variables: mode: change-log diff --git a/binutils/ChangeLog-2004 b/binutils/ChangeLog-2004 new file mode 100644 index 0000000..c5ad00e --- /dev/null +++ b/binutils/ChangeLog-2004 @@ -0,0 +1,793 @@ +2004-12-31 Alan Modra <amodra@bigpond.net.au> + + * objdump.c (remove_useless_symbols): Discard section symbols. + +2004-12-27 H.J. Lu <hongjiu.lu@intel.com> + + * readelf.c (read_leb128): Support 64bit host. + +2004-12-23 Nick Clifton <nickc@redhat.com> + + PR binutils/616 + * readelf.c (debug_info): Add 'cu_offset' field. + (get+pointer_size_of_comp_unit): Rename to + 'get_pointer_size_and_offset_of_comp_unit'. Add code to return + the offset of the comp_unit if requested. + (get_debug_info): Record comp_unit offsets as well. + (display_debug_lines): Call get_pointer_size_of_comp_unit. + (decode_location_expression): Add an extra parameter - the offset + of the current comp-unit. Use this when decoding the DW_OP_call2 + and DW_OP_call4 operators. + (display_debug_loc): Call get_pointer_size_of_comp_unit, pass the + comp_unit offset on the decode_location_expression. + (read_and_display_attr_value): Pass the comp_unit offset on the + decode_location_expression. + (display_debug_frames): Pass 0 as the comp_unit offset to + decode_location_expression. + +2004-12-22 Nick Clifton <nickc@redhat.com> + + * readelf.c (last_pointer_size, warned_about_missing_comp_units): + New variables associated with obtaining the pointer size for a + comp_unit. + (get_pointer_size_of_comp_unit): Add an extra parameter - the name + of the section requesting the pointer size. Use this name in + error messages. If there are not enough comp_units available + produce a warning message, but return the last known pointer size + so that section dumping can continue. + (get_debug_info): Reset the new variables. + (display_debug_lines): Add extra parameter to invocation of + get_pointer_size_of_comp_unit and remove error message when it + returns 0. + (display_debug_loc): Likewise. + +2004-12-15 Jan Beulich <jbeulich@novell.com> + + * doc/binutils.texi: Document --strip-unneeded-symbol and + --strip-unneeded-symbols. + * objcopy.c (strip_unneeded_list): New. + (enum command_line_switch): Add OPTION_STRIP_UNNEEDED_SYMBOL + and OPTION_STRIP_UNNEEDED_SYMBOLS. + (copy_options): Add --strip-unneeded-symbol and + --strip-unneeded-symbols. + (copy_usage): Likewise. + (filter_symbols): Suppress copying of symbol if in strip_unneeded_list + and the symbol is not needed. + (copy_main): Handle OPTION_STRIP_UNNEEDED_SYMBOL and + OPTION_STRIP_UNNEEDED_SYMBOLS. + +2004-12-09 Ian Lance Taylor <ian@wasabisystems.com> + + * readelf.c (get_machine_flags): Handle E_MIPS_MACH_9000. + +2004-12-08 Ben Elliston <bje@au.ibm.com> + + * arlex.l: Fix formatting. + +2004-12-08 Ben Elliston <bje@au.ibm.com> + + * doc/Makefile.am (config.texi): Emit a @set UPDATED command to + config.texi whose value is the current month and year. + * doc/Makefile.in: Rebuild. + * doc/binutils.texi: Set the document subtitle to be the value of + the Texinfo UPDATED variable (obtained from config.texi). + +2004-12-07 Ben Elliston <bje@au.ibm.com> + + PR binutils/249 + * doc/binutils.texi (def file format): New node. + (dlltool): Use the tool name as the @chapter name, like all the + other binutils. Use @file{.def} throughout for consistency. + +2004-12-06 Ben Elliston <bje@au.ibm.com> + + * dlltool.c: Comment fix. + +2004-12-06 Ben Elliston <bje@au.ibm.com> + + * doc/binutils.texi: Update copyright years. + +2004-12-03 Richard Sandiford <rsandifo@redhat.com> + + * MAINTAINERS: Remove mention of config.if. + +2004-11-30 Tero Niemela <tero_niemela@yahoo.com> + + * Makefile.am: Change LOCALEDIR to $(datadir)/share. + * Makefile.in: Regenerate. + +2004-11-10 Ian Lance Taylor <ian@wasabisystems.com> + + PR binutils/536 + * stabs.c (stab_demangle_template): Call stab_demangle_count + rather than stab_demangle_get_count to get the length of a pointer + target. + +2004-11-10 Danny Smith <dannysmith@users.sourceforge.net> + + * defparse.y: Remove unnecessary commas from token list. + +2004-11-08 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> + + * doc/binutils.texi (nm): Update description of weak symbols. + +2004-11-03 Nick Clifton <nickc@redhat.com> + + * readelf.c (do_debug_ranges): New variable. + (usage): Document new switch: -wR or --debug-dump=Ranges. + (parse_args): Handle new switch. Replace switch statement for the + long options with a more compact table structure. + (process_section_headers): Allow the dumping of .debug_ranges + sections if so requested. + (debug_displays): Likewise. + (load_debug_range): New function: Grabs the contents of a + .debug_ranges section. + (free_debug_range): New function: Releases the grabbed + .debug_ranges section. + (decode_64bit_range): New function: Displays a 64-bit range in a + .debug_ranges section. + (decode_range): New function: Displays a 32-bit range in a + .debug_ranges section. + (read_and_display_attr_value): Record the value of DW_AT_low_pc + attributes. Use decode_ranges() to display a DW_AT_ranges + attribute. + (display_debug_info): Use load_debug_range() and + free_debug_range(). + (display_64bit_debug_ranges): New function. Displays the contents + of a 64-bit format .debug_ranges section. + (display_debug_ranges): New function: Displays the contents of a + 32-bit .debug_ranges section. + + (main): Move cmdline_dump_sects and num_cmdline_dump_sects into the + global scope. + (process_object): Initialise the dump_sects array from the + cmdline_dump_sects array before processing each object file. + + (streq, strneq): New macros. Use them to replace occurrences of + strcmp() and strncmp(). + + (debug_information): New structure array to replace + debug_line_pointer_sizes array. + (num_debug_info_entries): New variable to replace + num_debug_line_pointers. + (get_pointer_size_of_comp_unit): New function: Returns the pointer + size of a given compilation unit. + (get_debug_info): New function to replace + get_debug_line_pointer_sizes. + (display_debug_lines): Use the new functions. + (display_debug_loc): Likewise. + + (disassemble_section): Change return type to int. + (display_debug_lines): Move local variables to their + innermost scope. + (display_debug_section): Likewise. Also record the return value + of functions called and pass this back to the parent. Also only + warn about undumped sections when the user explicitly requested + their dumping. + + (debug_apply_rela_addends): Allow relocations against STT_OBJECT + types as well. + + * NEWS: Mention the support for decoding .debug_ranges sections. + * doc/binutils.texi: Document the new command line switch to + readelf. + +2004-11-03 Randolph Chung <tausq@debian.org> + + * readelf.c (ia64_unw_aux_info, ia64_unw_table_entry): Rename from + unw_aux_info and unw_table_entry. + (find_symbol_for_address): Pass symtab and strtab info explicitly. + (dump_ia64_unwind): Rename unw_{aux_info,table_entry} with ia64_ + prefix. + (slurp_ia64_unwind_table): Likewise. + (ia64_process_unwind): Rename from old process_unwind. + (hppa_unw_aux_info): New. + (dump_hppa_unwind): New. + (slurp_hppa_unwind_table): New. + (hppa_process_unwind): New. + (process_unwind): Factor out common unwinding checks; dispatch to + unwind handler based on machine type. + +2004-11-02 Nick Clifton <nickc@redhat.com> + + * readelf.c (display_debug_lines): Fix typo in error message. + +2004-10-26 Mark Mitchell <mark@codesourcery.com> + + * readelf.c (get_note_type): Handle notes not in core files. + (process_note_sections): New function. + (process_corefile_contents): Rename to ... + (process_notes): ... this. + (process_object): Call process_notes, not + process_corefile_contents. + * doc/binutils.texi: Update readelf -n documentation. + +2004-10-26 Jakub Jelinek <jakub@redhat.com> + + * ar.c (extract_file): Set atime to mtime for ar xo. + +2004-10-25 Ian Lance Taylor <ian@wasabisystems.com> + + * stabs.c (stab_demangle_v3_arglist): New static function, broken + out of stab_demangle_v3_argtypes. + (stab_demangle_v3_argtypes): Call it. + (stab_demangle_v3_arg): Handle DEMANGLE_COMPONENT_FUNCTION_TYPE. + If we find an unrecognized component, print out its number. + +2004-10-25 David Mosberger <davidm@hpl.hp.com> + + * readelf.c (slurp_ia64_unwind_table): Support relocations against + non-section symbols by adding in the symbol value. + +2004-10-25 Nick Clifton <nickc@redhat.com> + + PR 465 + * readelf.c (dynamic_strings_length): New global variable. + (VALID_DYNAMIC_NAME, GET_DYNAMIC_NAME): New macros for accessing + strings in the dynamic string table. + (process_section_headers): Initialise dynamic_strings_length. + (process_dynamic_section): Likewise. + (process_object): Reset dynamic_string_length when the buffer is freed. + (dynamic_sections_mips_val): Use the new macros. + (process_dynamic_section): Likewise. + (process_version_sections): Likewise. + (process_symbol_table): Likewise. + (process_syminfo): Likewise. + (process_mips_specific): Likewise. + (dump_relocations): Add a new parameter 'strtablen' and use this + to verify that string offset in a given reloc is valid. Print a + suitable error message otherwise. + (process_relocs): Pass the new argument to dump_relocations. + +2004-10-23 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> + + * dlltool.c: Include <assert.h>. + (PREFIX_ALIAS_BASE): Define. + (struct export): Add member import_name; + (def_exports): Set import_name. + (make_one_lib_file): Remove prefix alias code, use import_name + in .idata$6. + (gen_lib_file): Create and delete aliases. + +2004-10-19 H.J. Lu <hongjiu.lu@intel.com> + + * readelf.c (process_section_groups): Free symtab after use. + +2004-10-18 Tommy Pettersson <ptp@lysator.liu.se> + Nick Clifton <nickc@redhat.com> + + * strings.c (usage): Place radix values for -t option into the + correct order. + + * objcopy.c (add_redefine_syms_file): Change error messages to use + <filename>:<linenumber>: format for easier parsing by automatic + tools. + + * srconv.c (show_usage): Fix spelling typo. + + * windres.c (format_from_filename): Suggest the use of -J instead + of -I if the file type cannot be determined. + +2004-10-18 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> + + * strings.c: Include <sys/stat.h>. + +2004-10-18 Alan Modra <amodra@bigpond.net.au> + + * budemang.c (demangle): Fix thinko. + + * budemang.c (demangle): Handle "@plt" suffix. + +2004-10-14 Nick Clifton <nickc@redhat.com> + + * nm.c (usage): Fix description of --special-syms switch. + +2004-10-13 Jakub Jelinek <jakub@redhat.com> + + * strings.c (statbuf): New typedef. + (file_stat): Define. + (strings_object_file): Avoid using get_file_size, instead do the + checks here, using file_stat. + * configure.in (HAVE_STAT64): New test. + * configure: Rebuilt. + * config.in: Rebuilt. + +2004-10-12 Paul Brook <paul@codesourcery.com> + + * readelf.c (decode_ARM_machine_flags): Support EABI version 4. + +2004-10-11 Alan Modra <amodra@bigpond.net.au> + + * objdump.c (dump_symbols): Fix thinko last change. Improve error + messages. + +2004-10-08 Nick Clifton <nickc@redhat.com> + + * nm.c: Add a new switch --special-syms which, if enabled, will + include the ARM Mapping symbols in nm's output. + (usage): Mention the switch. + (filter_symbols): Handle the switch. + * objdump.c: Add a similar switch. + (usage): Mention the switch. + (dump_symbols): Handle the switch. + * doc/binutils.texi: Document the new switches. + * NEWS: Mention the new switches. + +2004-10-08 Daniel Jacobowitz <dan@debian.org> + + * readelf.c (get_x86_64_section_type_name): New function. + (get_section_type_name): Use it. + +2004-10-08 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> + + * dlltool.c (make_one_lib_file): Revert 2004-09-02 and 2004-09-04 + patches. + * doc/binutils.texi (dlltool): Revert 2004-09-06 patch. + +2004-10-07 Alexandre Oliva <aoliva@redhat.com> + + * readelf.c (get_machine_flags): Don't fall through into m68k cpu + types. + +2004-10-01 Paul Brook <paul@codesourcery.com> + + * readelf.c (get_arm_section_type_name): New function. + (get_section_type_name): Use it. + +2004-09-28 Nick Clifton <nickc@redhat.com> + + * nm.c: Reorder functions to eliminate most of the static function + prototypes. + +2004-09-22 Alan Modra <amodra@bigpond.net.au> + + * readelf.c (process_program_headers): Don't include .tbss in non-TLS + segments. + +2004-09-17 Alan Modra <amodra@bigpond.net.au> + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + * config.in: Regenerate. + * configure: Regenerate. + * doc/Makefile.in: Regenerate. + * po/binutils.pot: Regenerate. + +2004-09-12 Alan Modra <amodra@bigpond.net.au> + + * readelf.c (decode_location_expression): Sign extend value for + DW_OP_const1s, DW_OP_const2s, DW_OP_const4s, DW_OP_bra, DW_OP_skip. + +2004-09-09 Nick Clifton <nickc@redhat.com> + + PR 363 + * ar.c (replace_members): Do not use get_file_size as + ar_emul_append correctly handles missing files. + +2004-09-07 H.J. Lu <hongjiu.lu@intel.com> + + * configure: Regenerated with autconfig 2.13. + +2004-09-06 Danny Smith <dannysmith@users.sourceforge.net> + + * doc/binutils.texi (dlltool): Update --add-underscore, --kill-at + documentation. + +2004-09-06 Michael Wardle <mbw@endbracket.net> + + * doc/binutils.texi (objdump): Document that the -x switch includes + the effect of the -p switch. + +2004-09-04 Danny Smith <dannysmith@users.sourceforge.net> + + * dlltool.c (make_one_lib_file): Test if internal_name was + specified by user before using it. + +2004-09-02 Carlo Wood <carlo@alinoe.com> + + PR binutils/351 + * dlltool.c (make_one_lib_file): For IDATA6 take the name from + exp->internal_name if it is present. + +2004-09-02 Alexandre Oliva <aoliva@redhat.com> + + * MAINTAINERS: Add self as co-maintainer of FR-V. + * readelf.c (get_machine_flags): Print FR-V cpu types. + +2004-08-28 Alan Modra <amodra@bigpond.net.au> + + * nm.c (show_synthetic): New var. + (long_options): Add "synthetic". + (usage): Here too. + (display_rel_file): Handle show_synthetic. + +2004-08-28 Alan Modra <amodra@bigpond.net.au> + + * objdump.c (dump_bfd): Pass both symbol tables to + bfd_get_synthetic_symtab. + +2004-08-17 Jakub Jelinek <jakub@redhat.com> + + * objdump.c (dump_bfd): For relocatable objects, pass syms instead + of dynsyms to bfd_get_synthetic_symtab. + +2004-08-16 Alan Modra <amodra@bigpond.net.au> + + * readelf.c (debug_apply_rela_addends): New function, extracted from.. + (display_debug_info): ..here. + (display_debug_frames): Call debug_apply_rela_addends. Don't do + DW_EH_PE_pcrel adjustment for ET_REL. + +2004-08-06 Andreas Schwab <schwab@suse.de> + + * readelf.c (dump_relocations): Fix typo when calculating + sec_index. + +2004-08-02 Jakub Bogusz <qboosh@pld-linux.org> + + * dllwrap.c (deduce_name): Fix typos introduced when program_name + was renamed to prog_name. + +2004-07-29 Alexandre Oliva <aoliva@redhat.com> + + * readelf.c (get_machine_flags <EM_SH>): Handle EF_SH2A and + EF_SH2A_NOFPU. + +2004-07-28 Alexandre Oliva <aoliva@redhat.com> + + 2003-07-08 Alexandre Oliva <aoliva@redhat.com> + * readelf.c (get_machine_flags <EM_SH)): Handle EF_SH4_NOFPU and + EF_SH4A_NOFPU. + 2003-06-12 Alexandre Oliva <aoliva@redhat.com> + * readelf.c (get_machine_flags <EM_SH>): Print SH ISA name. + +2004-07-21 H.J. Lu <hongjiu.lu@intel.com> + + * objcopy.c (filter_symbols): Use bfd_coff_get_comdat_section + to access comdat. + * objdump.c (dump_section_header): Likewise. + +2004-07-15 Aravinda PR <aravindapr@rediffmail.com> + + * nlmconv.c (main): Pass map_file argument to link_inputs. + (link_inputs): Use map_file argument if it is defined. + +2004-07-13 Nick Clifton <nickc@redhat.com> + + * dllwrap.c: Replace 'program_name' with 'prog_name' to avoid + conflicts with exported global defined in bucomm.h. + (deduce_name): Rename parameter 'program_name' to 'name' to avoid + shadowing the global defined in bucomm.h. + +2004-07-12 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> + + * dlltool.c (ext_prefix_alias): New global variable. + (make_one_lib_file): Add aliases with prefixes for external + and import definitions. + (usage): Document -p option. + (long_options): Add --ext-prefix-alias option. + (main): Handle -p. + * doc/binutils.texi: Document new switch. + * NEWS: Mention new switch. + +2004-07-09 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> + + * binutils/dlltool.c (asm_prefix): Add parameter: name. + No underscore for symbols beginning with ?. + (ASM_PREFIX): Add parameter: NAME. + (gen_exp_file): Use new parameter. + (make_label): Likewise. + (make_imp_label): Likewise. + (make_one_lib_file): Likewise. + +2004-07-07 Tomer Levi <Tomer.Levi@nsc.com> + + * MAINTAINERS: Added myself to the list. + * readelf.c: Include "elf/crx.h". + (guess_is_rela): Handle EM_CRX. + (get_machine_name): Likewise. + (dump_relocations): Likewise. + +2004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> + + * doc/binutils.texi (nm): Clarify weak symbol description. + +2004-06-24 Ben Elliston <bje@au.ibm.com> + + * readelf.c (get_segment_type): Display "GNU_STACK", not just + "STACK", when a PT_GNU_STACK segment is encountered. + +2004-06-24 Alan Modra <amodra@bigpond.net.au> + + * objcopy.c (copy_section): Don't set _cooked_size. + +2004-06-22 Alan Modra <amodra@bigpond.net.au> + + * readelf.c (Elf32_Word): Delete. + (get_32bit_dynamic_section): Handle SGI ELF dynamic segment. + (get_64bit_dynamic_section): Likewise. + + * readelf.c (get_32bit_dynamic_section): Stop at first DT_NULL entry. + (get_64bit_dynamic_section): Likewise. + + * readelf.c (dynamic_nent): New variable. + (get_32bit_dynamic_section): Set it. + (get_64bit_dynamic_section): Here too. + (process_dynamic_section): Use it instead of dynamic_size. + (process_syminfo): Likewise. + + * readelf.c (get_32bit_dynamic_section): Correct number of entries + translated from external to internal form. + (get_64bit_dynamic_section): Likewise. + +2004-06-18 Jie Zhang <zhangjie@magima.com.cn> + + * readelf.c (process_program_headers): When locating the dynamic + section use the section table if it is present. + (dynamic_segment): Renamed to dynamic_section. + Replace references to dynamic segment with references to dynamic + section, except where appropriate. + (dynamic_segment_mips_val): Rename to dynamic_section_mips_val. + (dynamic_segment_parisc_val): Rename to dynamic_section_parisc_val. + (dynamic_segment_ia64_val): Rename to dynamic_section_ia64_val. + (get_32bit_dynamic_segment): Rename to get_32bit_dynamic_section. + Remove tag counting code as it is no longer needed. + (get_64bit_dynamic_segment): Rename to get_64bit_dynamic_section. + Remove tag counting code as it is no longer needed. + (process_dynamic_segment): Rename to process_dynamic_section. + +2004-06-15 Alan Modra <amodra@bigpond.net.au> + + * objcopy.c (copy_section): Use bfd_get_section_size instead of + _raw_size or bfd_get_section_size_before_reloc. Don't set reloc_done. + (compare_section_lma): Likewise. + * addr2line.c (find_address_in_section): Likewise. + * coffgrok.c (do_sections_p1): Likewise. + * dlltool.c (scan_drectve_symbols): Likewise. + * nlmconv.c (main): Likewise. + (copy_sections): Likewise. + (powerpc_mangle_relocs): Likewise. + * objdump.c (disassemble_section): Likewise. + * prdbg.c (find_address_in_section): Likewise. + * size.c (berkeley_sum): Likewise. + * srconv.c (wr_ob): Likewise. + * strings.c (strings_a_section): Likewise. + +2004-05-28 Ian Lance Taylor <ian@wasabisystems.com> + + * readelf.c (decode_ARM_machine_flags): Add EF_ARM_VFP_FLOAT. + +2004-05-17 David Heine <dlheine@tensilica.com> + + * objcopy.c (setup_bfd_headers): New function. + (copy_object): Call setup_bfd_headers. + +2004-05-13 Paul Brook <paul@codesourcery.com> + + * readelf.c (display_debug_frames): Handle dwarf3 format CIE + entries. + +2004-05-13 Nick Clifton <nickc@redhat.com> + + * po/fr.po: Updated French translation. + +2004-05-11 Jakub Jelinek <jakub@redhat.com> + + * readelf.c (get_segment_type): Handle PT_GNU_RELRO. + +2004-05-07 H.J. Lu <hongjiu.lu@intel.com> + + * readelf.c (section_groups): New. + (group_count): New. + (section_headers_groups): New. + (process_section_groups): Populate group_count, section_groups + and section_headers_groups. + (process_unwind): Support section group. + (process_object): Always call process_section_groups. Free + section_groups and section_headers_groups. + +2004-04-30 H.J. Lu <hongjiu.lu@intel.com> + + * readelf.c (process_section_headers): Use %3lu on sh_info. + +2004-04-30 Michael Deutschmann <michael@talamasca.ocis.net> + + * ranlib.sh: Quote $1 argument in case it contains spaces. + +2004-04-27 John Paul Wallington <jpw@gnu.org> + + * objcopy.c (copy_usage, strip_usage): Fix spelling. + +2004-04-26 H.J. Lu <hongjiu.lu@intel.com> + + * readelf.c (do_section_groups): New. + (options): Add --section-groups/-g. + (usage): Mention --section-groups/-g. + (parse_args): Support --section-groups/-g. + (get_group_flags): New. + (process_section_groups): New. + (process_object): Call process_section_groups. + +2004-04-24 Alan Modra <amodra@bigpond.net.au> + + * objdump.c (disassemble_section): Don't disassemble sections + without SEC_HAS_CONTENTS. + +2004-04-22 Jakub Jelinek <jakub@redhat.com> + + * objdump.c (synthsyms, synthcount): New variables. + (disassemble_data): Use dynsyms for stripped binaries or libraries. + Add synthetized symbols. + (dump_bfd): For disassemble, initialize dynsyms always and + also synthsyms. Free synthsyms and clear {sym,dynsym,synth}count + before returning. + +2004-04-14 Alan Modra <amodra@bigpond.net.au> + + * strings.c (print_strings): Cast file_off to unsigned long in + printf arg list. + +2004-04-07 Benjamin Monate <benjamin.monate@cea.fr> + + PR 86 + * arsup.c (ar_save): Use smart_rename. + +2004-04-01 Dean Luick <luick@cray.com> + + * readelf.c (display_debug_pubnames): Align offset and data + columns. + (read_and_display_attr_value): Add missing break; + (debug_displays): Enable the display of the .debug_pubtypes + section. + +2004-03-30 Stan Shebs <shebs@apple.com> + + * mpw-config.in, mpw-make.sed, mac-binutils.r: Remove MPW + support files, no longer used. + +2004-03-23 Paul Brook <paul@codesourcery.com> + + * readelf.c (decode_ARM_machine_flags): Add EABI v3. + +2004-03-21 Richard Henderson <rth@redhat.com> + + * readelf.c (display_debug_frames): Don't crash for mismatched + DW_CFA_restore_state. + +2004-03-19 Alan Modra <amodra@bigpond.net.au> + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + * aclocal.m4: Regenerate. + * config.in: Regenerate. + * configure: Regenerate. + * po/binutils.pot: Regenerate. + +2004-03-15 Nathan Sidwell <nathan@codesourcery.com> + + * objdump.c (struct SFILE): Replace current pointer with pos + offset, rename size to alloc. + (objdump_sprintf): Avoid unnecessary copies in the common case + (disassemble_bytes): Keep sfile live throughout the + function. Adjust usage appropriately. + +2004-03-10 Ben Elliston <bje@gnu.org> + + * MAINTAINERS: Update my mail address. + +2004-03-08 Danny Smith <dannysmith@users.sourceforge.net> + + * deflex.l: Handle "PRIVATE" string. + * defparse.y (%token): Add PRIVATE. + (%type): Add opt_PRIVATE. + (expline): Pass opt_PRIVATE to def_exports. + (opt_PRIVATE): Handle PRIVATE token. + * dlltool.h (def_exports): Add 7th param for private flag to + declaration. + * dlltool.c: Add PRIVATE to comment on EXPORTS syntax. + (struct export): Add 'private' field. + (def_exports): Set 'private' field of struct exports. + (scan_drectve_symbols): Adjust calls to def_exports. + (scan_filtered_symbols): Likewise. + (dump_def_info): Print 'private' field. + (gen_def_file): Likewise. + (gen_lib_file): Skip generation of lib object if private. + Delete tmp object files in same order as they were generated. + Don't delete non-existent private object files. + +2004-02-27 Andreas Schwab <schwab@suse.de> + + * ar.c (main): Support POSIX-compatible argument parsing. + +2004-02-23 Daniel Lucq <daniel@lucq.org> + + * readelf.c (process_mips_specific): Print conflictsno as an + unsigned long. + +2004-02-21 Dmitry Timoshkov <dmitry@baikal.ru> + + * dlltool.c (gen_exp_file): Always output names for forwarded symbols. + +2004-02-19 Jakub Jelinek <jakub@redhat.com> + + * objcopy.c (copy_section): Avoid warnings. + +2004-02-14 Andrew Cagney <cagney@redhat.com> + + * ar.c (remove_output): Use bfd_cache_close. + * arsup.c (ar_end): Ditto. + +2004-01-21 Roland McGrath <roland@redhat.com> + + * readelf.c (get_note_type): Match NT_AUXV. + +2004-01-20 Nick Clifton <nickc@redhat.com> + + * version.c (print_version): Update copyright year to 2004. + +2004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl> + + * acinclude.m4: Quote names of macros to be defined by AC_DEFUN + throughout. + * aclocal.m4: Regenerate. + * configure: Regenerate. + +2004-01-12 Jakub Jelinek <jakub@redhat.com> + + * objcopy.c: Include elf-bfd.h. + (is_strip_section): Don't strip debugging sections if + STRIP_NONDEBUG. + (setup_section): If STRIP_NONDEBUG make SEC_ALLOC sections + ~(SEC_LOAD | SEC_HAS_CONTENTS) and on ELF targets also SHT_NOBITS. + + * objcopy.c (copy_section): Free relpp if relcount == 0. + +2004-01-12 Ian Lance Taylor <ian@wasabisystems.com> + + * stabs.c (parse_stab_argtypes): Handle g++ ABI version 3 names. + (stab_demangle_argtypes): Likewise. + (stab_demangle_v3_argtypes): New static function. + (stab_demangle_v3_arg): New static function. + +2004-01-12 Nick Clifton <nickc@redhat.com> + + * objcopy.c (copy_object): Make the function boolean, returning + FALSE upon failure. + (copy_archive): Handle the return value from copy_object. + (copy_file): Likewise. + +2004-01-07 Nick Clifton <nickc@redhat.com> + + * readelf.c (find_section): New function. Locates a named + section. + (get_debug_line_pointer_sizes): New function: Initialises the + debug_line_pointer_sizes array. + (display_debug_lines): Call get_debug_line_pointer_sizes. + (display_debug_loc): Likewise. + (load_debug_loc): Use find_section. + (load_debug_str): Likewise. + (display_debug_info): Likewise. + (prescan_debug_info): Delete. + (debug_displays): Remove prescan field. + (process_section_contents): Do not perform prescans. + +2004-01-03 Alan Modra <amodra@bigpond.net.au> + + * objcopy.c (filter_bytes): Delete. Move code to.. + (copy_section): ..here. Simplify size adjustment. Divide + section lma by interleave. + +2004-01-02 Nick Clifton <nickc@redhat.com> + + * po/ru.po: New file: Russian translation. + * configure.in (ALL_LINGUAS): Add ru + * configure: Regenerate. + +For older changes see ChangeLog-0203 + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/binutils/ChangeLog-2005 b/binutils/ChangeLog-2005 new file mode 100644 index 0000000..38b7fd0 --- /dev/null +++ b/binutils/ChangeLog-2005 @@ -0,0 +1,1350 @@ +2005-12-30 Jie Zhang <jie.zhang@analog.com> + + * readelf.c (get_machine_name): Add case for Blackfin. + +2005-12-27 Alan Modra <amodra@bigpond.net.au> + + * Makefile.am: Run "make dep-am". + (Makefile): Remove dependency. + * Makefile.in: Regenerate. + +2005-12-26 Jan-Benedict Glaw <jbglaw@lug-owl.de> + + * MAINTAINERS: Add myself as VAX maintainer. + +2005-12-22 Randolph Chung <tausq@debian.org> + + * rddbg.c (read_section_stabs_debugging_info): Add $GDB_SYMBOLS$ + entry to names[] array for SOM binaries. + +2005-12-21 H.J. Lu <hjl@gnu.org> + + * MAINTAINERS: Add myself as x86_64 maintainer. + +2005-12-16 Nathan Sidwell <nathan@codesourcery.com> + + Second part of ms1 to mt renaming. + * readelf.c (guess_is_rela): Use EM_MT. + (dump_relocations, get_machine_name): Adjust. + +2005-12-12 Nathan Sidwell <nathan@codesourcery.com> + + * Makefile.am: Replace ms1 files with mt files. + * Makefile.in: Rebuilt. + * readelf.c (elf/mt.h): Adjust #include. + +2005-11-30 Nick Clifton <nickc@redhat.com> + + * configure.in (ALL_LINGUAS): Add fi. + * configure: Regenerate. + * po/fi.po: New file: Finnish translation. + +2005-11-21 Arnold Metselaar <arnoldm@sourceware.org> + + * MAINTAINERS: add myself as Z80 maintainer + +2005-11-17 Andrew Haley <aph@redhat.com> + + * cxxfilt.c (main): Flush output at newline. + +2005-11-16 Mark Mitchell <mark@codesourcery.com> + + * doc/binutils.texi: Include config.texi and @file documentation + for manual pages. + +2005-11-15 Jan Beulich <jbeulich@novell.com> + + * objcopy.c (keep_file_symbols): New. + (enum command_line_switch): Add OPTION_KEEP_FILE_SYMBOLS. + (strip_options): Add --keep-file-symbols. + (copy_options): Likewise. + (copy_usage): Likewise. + (strip_usage): Likewise. + (filter_symbols): Act upon keep_file_symbols. + (strip_main): Handle OPTION_KEEP_FILE_SYMBOLS. + (copy_main): Likewise. + * doc/binutils.texi: Document --keep-file-symbols for objcopy + and strip. + +2005-11-14 Daniel Jacobowitz <dan@codesourcery.com> + + * readelf.c (struct dump_list_entry, request_dump_byname) + (initialise_dumps_byname): New. + (parse_args): Call request_dump_byname. + (process_section_contents): Call initialise_dumps_byname. + * doc/binutils.texi (readelf): Mention -x NAME. + * NEWS: Likewise. + +2005-11-11 Nick Clifton <nickc@redhat.com> + + PR 1150 + * readelf.c (get_mips_symbol_other): New function. + (get_symbol_other): New function. + (process_symbol_table): Call get_symbol_other() to get a + description of the st_other field if it contains more information + than just the visibility. + +2005-11-07 Steve Ellcey <sje@cup.hp.com> + + * configure: Regenerate after modifying bfd/warning.m4. + +2005-10-30 H.J. Lu <hongjiu.lu@intel.com> + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerated. + + * dep-in.sed: Replace " ./" with " ". + +2005-10-25 Alan Modra <amodra@bigpond.net.au> + + * po/POTFILES.in: Regenerate. + * po/binutils.pot: Regenerate. + +2005-10-24 Bernd Schmidt <bernd.schmidt@analog.com> + + * MAINTAINERS: Add self as BFIN maintainer. + +2005-10-18 Jie Zhang <jie.zhang@analog.com> + + * MAINTAINERS: Add self as BFIN maintainer. + +2005-10-11 Danny Smith <dannysmith@users.sourceforge.net> + + * rclex.l (handle quotes): Stop parsing hex notation escaped + chars after the first two digits, + +2005-10-11 Nick Clifton <nickc@redhat.com> + + PR binutils/1437 + * cxxfilt.c (flags): Remove DMGL_TYPES; + (long_options): Rename --no-types to --types. + (usage): Likewise. + (demangle_it): Add a comment describing why _ and $ prefixes are + skipped. Use printf rather than puts to emit the demangled output + in order to avoid emitting a new line character. + (main): Have the -t flag enable type demangling. + Emit a newline after every demangled command line argument. + Copy whitespace from stdin to stdout. + * doc/binutils.texi (c++filt): Document the change to the -t + switch. + Document why demangling names on the command line is slightly + different to demangling names read from the standard input. + +2005-10-10 Mark Mitchell <mark@codesourcery.com> + + * doc/Makefile.am (config.texi): Set top_srcdir. + * doc/Makefile.in: Regenerated. + * doc/binutils.texi: Use at-file.texi from libiberty. + +2005-10-10 H.J. Lu <hongjiu.lu@intel.com> + + PR binutils/1436 + * readelf.c (ABSADDR): New. + (dump_ia64_unwind): Use ABSADDR to get the unwind info address. + +2005-10-10 Thomas Weidenmueller <w3seek@reactos.com> + + * resbin.c (res_to_bin_accelerator): Place the terminating NUL at + the correct location in the bindata structure. + +2005-10-10 Bryce Schober <bryce.schober@dynonavionics.com> + + * doc/binutils.texi (objdump): Fix typo: -reg-name-std should be + -reg-names-std. + +2005-10-04 Nick Clifton <nickc@redhat.com> + + * cxxfilt.c: Treat mangled names specified on the command line in + the same way as mangled names read from stdin. + Add -i switch to disable the display of implementation details. + Add -t switch to disable the demangling of types. + * NEWS: Mention the new switches. + * doc/binutils.texi (cxxfilt): Document the -i and -t switches. + +2005-10-03 Mark Mitchell <mark@codesourcery.com> + + * addr2line.c (usage): Document @file. + * ar.c (usage): Likewise. + * coffdump (usage): Likewise. + * cxxfilt.c (usage): Likewise. + * dlltool.c (usage): Likewise. + * dllwrap.c (usage): Likewise. + * nlmconv.c (usage): Likewise. + * nm.c (usage): Likewise. + * objcopy.c (usage): Likewise. + * objdump.c (usage): Likewise. + * readelf.c (usage): Likewise. + * size.c (usage): Likeise. + * srconv.c (usage): Likewise. + * strings.c (usage): Likewise. + * windres.c (usage): Likewise. + * doc/binutils.texi: Add section on common options. + +2005-10-03 H.J. Lu <hongjiu.lu@intel.com> + + * NEWS: Mention -W/--dwarf. + + * doc/binutils.texi: Document -W/--dwarf for objdump. + +2005-10-01 Paul Brook <paul@codesourcery.com> + + * readelf.c (arm_attr_tag_CPU_arch, arm_attr_tag_ARM_ISA_use, + arm_attr_tag_THUMB_ISA_use, arm_attr_tag_VFP_arch, + arm_attr_tag_WMMX_arch, arm_attr_tag_NEON_arch, + arm_attr_tag_ABI_PCS_config, arm_attr_tag_ABI_PCS_R9_use, + arm_attr_tag_ABI_PCS_RW_data, arm_attr_tag_ABI_PCS_RO_DATA, + arm_attr_tag_ABI_PCS_GOT_use, arm_attr_tag_ABI_PCS_wchar_t, + arm_attr_tag_ABI_FP_rounding, arm_attr_tag_ABI_FP_denormal, + arm_attr_tag_ABI_FP_exceptions, arm_attr_tag_ABI_FP_user_exceptions, + arm_attr_tag_ABI_FP_number_model, arm_attr_tag_ABI_align8_needed, + arm_attr_tag_ABI_align8_preserved, arm_attr_tag_ABI_enum_size, + arm_attr_tag_ABI_HardFP_use, arm_attr_tag_ABI_VFP_args, + arm_attr_tag_ABI_WMMX_args, arm_attr_tag_ABI_optimization_goals, + arm_attr_tag_ABI_FP_optimization_goals, arm_attr_public_tags): New. + (display_arm_attribute, process_arm_specific): New functions. + (process_arch_specific): Add EM_ARM. + +2005-09-30 Mark Mitchell <mark@codesourcery.com> + + * dlltool.c (main): Fix typo. + * windres.c (main): Likewise. + +2005-09-30 H.J. Lu <hongjiu.lu@intel.com> + + * Makefile.in: Regenerated. + +2005-09-30 H.J. Lu <hongjiu.lu@intel.com> + + * sysinfo.y (main): Undo last change. + +2005-08-30 Mark Mitchell <mark@codesourcery.com> + + * addr2line.c (main): Use expandargv. + * ar.c (main): Likewise. + * coffdump.c (main): Likewise. + * cxxfilt.c (main): Likewise. + * dlltool.c (main): Likewise. + * dllwrap.c (main): Likewise. + * nlmconv.c (main): Likewise. + * nm.c (main): Likewise. + * objcopy.c (main): Likewise. + * objdump.c (main): Likewise. + * readelf.c (main): Likewise. + * size.c (main): Likeiwse. + * srcconv.c (main): Likewise. + * strings.c (main): Likewise. + * sysdump.c (main): Likewise. + * sysinfo.y (main): Likewise. + * windres.c (main): Likewise. + +2005-09-30 H.J. Lu <hongjiu.lu@intel.com> + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerated. + * aclocal.m4: Likewise. + +2005-09-30 Catherine Moore <clm@cm00re.com> + + * Makefile.am: Bfin support. + * Makefile.in: Regenerated. + * aclocal.m4: Regenerated. + * readelf.c (elf/bfin.h): Include. + (guess_is_rela): EM_BLACKFIN support. + (dump_relocations): Likewise. + +2005-09-30 H.J. Lu <hongjiu.lu@intel.com> + + * dwarf.c (fetch_indirect_string): Adjust for section address. + (process_debug_info): Likewise. + (display_debug_loc): Likewise. + (display_debug_ranges): Likewise. + + * objdump.c (mach_o_dwarf_sections): New. + (generic_dwarf_sections): Likewise. + (check_mach_o_dwarf): Likewise. + (dump_dwarf): Call check_mach_o_dwarf. + +2005-09-30 H.J. Lu <hongjiu.lu@intel.com> + + * Makefile.am (objdump_SOURCES): Add dwarf.c. + * Makefile.in: Regenerated. + + * objdump.c: Include "dwarf.h". + (usage): Add -W/--dwarf. + (long_options): Likewise. + (dump_dwarf_section_info): New. + (load_debug_section): Likewise. + (free_debug_section): Likewise. + (dump_dwarf_section): Likewise. + (dump_dwarf): Likewise. + (dump_bfd): Load symbol table and call dump_dwarf if + dump_dwarf_section_info isn't zero. + (main): Handle -W/--dwarf. + +2005-09-30 H.J. Lu <hongjiu.lu@intel.com> + + * readelf.c: Reordered. + (is_relocatable): New. + (dwarf_section): New structure for DWARF section. + (load_debug_section): New. + (free_debug_section): Likewise. + (debug_str_section): Likewise. + (debug_abbrev_section): Likewise. + (debug_str_contents): Removed. + (debug_str_size): Likewise. + (debug_loc_contents): Likewise. + (debug_loc_size): Likewise. + (debug_range_contents): Likewise. + (debug_range_size): Likewise. + (load_debug_str): Likewise. + (free_debug_str): Likewise. + (load_debug_loc): Likewise. + (free_debug_loc): Likewise. + (load_debug_arange): Likewise. + (free_debug_arange): Likewise. + (load_debug_abbrev): Likewise. + (free_debug_abbrev): Likewise. + (fetch_indirect_string): Updated. + (debug_apply_rela_addends): Likewise. + (process_debug_info): Likewise. + (get_debug_info): Likewise. + (display_debug_lines): Likewise. + (display_debug_pubnames): Likewise. + (display_debug_macinfo): Likewise. + (display_debug_abbrev): Likewise. + (display_debug_loc): Likewise. + (display_debug_str): Likewise. + (display_debug_info): Likewise. + (display_debug_aranges): Likewise. + (display_debug_ranges): Likewise. + (display_debug_frames): Likewise. + (display_debug_not_supported): Likewise. + (debug_displays): Likewise. + (display_debug_section): Likewise. + (get_file_header): Set is_relocatable. + +2005-09-30 H.J. Lu <hongjiu.lu@intel.com> + + * readelf.c (debug_apply_rela_addends): Relocate the whole + section. + (process_debug_info): Don't call debug_apply_rela_addends. + (display_debug_frames): Likewise. + (get_debug_info): Call debug_apply_rela_addends. + (debug_displays): Add the "relocate" field. + (display_debug_section): Call debug_apply_rela_addends if + needed. + +2005-09-30 Matthias Kurz <mk@baerlap.north.de> + + * bucomm.h: Prevent the inclusion of <libintl.h> from the Solaris + version of <locale.h> when ENABLE_NLS is not defined. + +2005-09-26 Mark Mitchell <mark@codesourcery.com> + + * BRANCHES: Mention binutils-csl-gxxpro-3_4-branch. + +2005-09-20 Richard Henderson <rth@redhat.com> + + * readelf.c (display_debug_lines): Use unsigned long for address + increments. Use 0x prefix for all hex numbers. + +2005-09-09 Richard Earnshaw <richard.earnshaw@arm.com> + + * readelf.c (get_arm_section_type_name): Add SHT_ARM_PREEMPTMAP and + SHT_ARM_ATTRIBUTES. + +2005-09-07 H.J. Lu <hongjiu.lu@intel.com> + + * readelf.c (get_elf_section_flags): Handle 64bit sh_flags. + +2005-09-02 H.J. Lu <hongjiu.lu@intel.com> + + * readelf.c (debug_abbrev_contents): New. + (debug_abbrev_size): Likewise. + (load_debug_abbrev): Likewise. + (free_debug_abbrev): Likewise. + (process_debug_info): Use them. + +2005-08-17 H.J. Lu <hongjiu.lu@intel.com> + + PR binutils/1179 + * objdump.c (disassemble_bytes): Don't adjust + adjust_section_vma. + (adjust_addresses): Don't adjust vma for debugging section. + Adjust lma only for relocatable files. + (dump_bfd): Tell adjust_addresses if it is a relocatable file. + +2005-08-16 H.J. Lu <hongjiu.lu@intel.com> + + * bucomm.h (stpcpy): Declare if HAVE_DECL_STPCPY isn't defined. + + * configure.in (AC_GNU_SOURCE): Added. + (AC_CHECK_DECLS): Add stpcpy. + * configure: Regenerated. + * config.in: Likewise. + +2005-08-16 Jakub Jelinek <jakub@redhat.com> + + * unwind-ia64.c (UNW_DEC_SPILL_SPREL, UNW_DEC_SPILL_PSPREL, + UNW_DEC_RESTORE, UNW_DEC_SPILL_REG): Increase {,ab,t}regname + buffer sizes. + +2005-08-15 Daniel Jacobowitz <dan@codesourcery.com> + + * doc/binutils.texi (objdump): Document -M e300. + +2005-08-14 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + * readelf.c (slurp_hppa_unwind_table): Fix entry size on hppa64-hpux. + Don't access table entries past the end of the table. + +2005-08-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + * readelf.c (get_parisc_segment_type): Handle PT_PARISC_WEAKORDER. + (get_parisc_section_type_name): Handle SHT_PARISC_DLKM. + +2005-08-11 H.J. Lu <hongjiu.lu@intel.com> + + * NEWS: Mention "-t/--section-details" and + "-N/--full-section-name". + + * doc/binutils.texi: Document "-t/--section-details". Remove + "-N/--full-section-name". + + * readelf.c (do_full_section_name): Renamed to ... + (do_section_details): This. + (option): Rename "-N/--full-section-name" to + "-t/--section-details". + (usage): Likewise. + (parse_args): Likewise. + (get_elf_section_flags): Support do_section_details. + (process_section_headers): Updated for do_section_details. + +2005-08-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + * readelf.c (get_parisc_dynamic_type): Add new dynamic types. + (get_dynamic_type): Use old values for DT_LOOS and DT_HIOS when + e_machine is EM_PARISC. + (get_parisc_segment_type): Add new segment types. + (get_parisc_section_type_name): Add new section names. + (dynamic_section_parisc_val): Add new table entries. + +2005-08-01 Filip Navara <navaraf@reactos.com> + + * dlltool.c (alphafunc): Remove and replace usage with nfunc. + (nfunc): Fix sorting of fastcall symbols when --kill-at is used. + +2005-07-25 H.J. Lu <hongjiu.lu@intel.com> + + * readelf.c (dump_relocations): Handle SHN_X86_64_LCOMMON. + (get_symbol_index_type): Likewise. + (get_elf_section_flags): Handle SHF_X86_64_LARGE. + +2005-07-21 Eric Christopher <echristo@apple.com> + + * MAINTAINERS: Change affiliation. + +2005-07-19 Ben Elliston <bje@au.ibm.com> + + * readelf.c (read_and_display_attr_value): Remove comment adjacent + to DW_ATE_decimal_float about it being a GNU extension. + +2005-07-18 Nick Clifton <nickc@redhat.com> + + * binemul.c: Fix name of Red Hat. + * binemul.h: Likewise. + * emul_aix.c: Likewise. + * emul_vanilla: Likewise. + +2005-07-18 Ben Elliston <bje@au.ibm.com> + + * readelf.c (read_and_display_attr_value): Handle a DW_AT_encoding + value of DW_ATE_decimal_float instead of DW_ATE_GNU_decimal_float. + +2005-07-16 Alan Modra <amodra@bigpond.net.au> + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + +2005-07-15 Eric Christopher <echristo@redhat.com> + + * MAINTAINERS: Change affiliation. + +2005-07-14 Jim Blandy <jimb@redhat.com> + + * readelf.c: #include "elf/m32c.h" + (guess_is_rela, dump_relocations, get_machine_name): Add cases for + EM_M32C. + * Makefile.am (readelf.o): Update dependencies. + * Makefile.in: Regenerated. + +2005-07-08 Ben Elliston <bje@au.ibm.com> + + * bucomm.h: Include <stdarg.h> unconditionally, not only when + ANSI_PROTOTYPES is defined. Remove #ifdef logic. + * dlltool.c: Likewise. + * dllwrap.c: Likewise. + +2005-07-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * bucomm.h (report): Add format attribute. + * dlltool.c (inform): Likewise. + * dllwrap.c (display, inform, warn): Likewise. + * objdump.c (objdump_sprintf): Likewise. + * readelf.c (error, warn): Likewise. Fix format bugs. + +2005-07-05 Dmitry V. Levin <ldv@altlinux.org> + Nick Clifton <nickc@redhat.com> + + * strings.c (filename_and_size_t): New typedef. + (strings_a_section): Skip sections with size greater or equal to + the file size. Cache the file size to avoid repeated stat()s. + (strings_object_file): Pass filename_and_size_t argument to + strings_a_section() via bfd_map_over_sections(). + +2005-07-04 Alan Modra <amodra@bigpond.net.au> + + PR 1004 + * objcopy.c (copy_object): Use bfd_make_section_with_flags. + (write_debugging_info): Likewise. + (setup_section): Use bfd_make_section_anyway_with_flags. + +2005-07-01 Steve Ellcey <sje@cup.hp.com> + + * configure.in (AM_BINUTILS_WARNINGS): Add. + (BFD_NEED_DECLARATION): Replace with AC_CHECK_DECLS. + * configure: Regenerate. + * config.in: Regenerate. + * objdump.c (NEED_DECLARATION_*): Replace with !HAVE_DECL_*. + * bucomm.h: (NEED_DECLARATION_*): Ditto. + +2005-06-30 Ben Elliston <bje@gnu.org> + + * Makefile.am (check-DEJAGNU): Don't search for expect. + * Makefile.in: Regenerate. + +2005-06-30 Ben Elliston <bje@gnu.org> + + * Makefile.am (EXPECT): Set to expect. + (RUNTEST): Likewise, set to runtest. + * Makefile.in: Regenerate. + +2005-06-17 Jakub Jelinek <jakub@redhat.com> + + * readelf.c (CHECK_ENTSIZE_VALUES, CHECK_ENTSIZE): Define. + (process_section_headers): Use it. + (process_relocs): Don't crash if symsec is not SHT_SYMTAB + or SHT_DYNSYM. + (process_version_sections): Use sizeof (Elf_External_Versym) + instead of sh_entsize. + +2005-06-16 Nick Clifton <nickc@redhat.com> + + * rename.c (simple_copy): Only define if it is going to be used. + (smart_rename): Mark the preserve_dates parameter as possibly + being unused. + + * resres.c (write_res_data): Prevent a potential compile time + warning by casting the return value from fwrite. + +2005-06-14 H.J. Lu <hongjiu.lu@intel.com> + + PR 995 + * ar.c (BUFSIZE): Moved to ... + * bucomm.h (BUFSIZE): Here. + + * bucomm.c: Include <assert.h>. + (bfd_get_archive_filename): New. + * bucomm.h (bfd_get_archive_filename): New. + + * objcopy.c (copy_unknown_object): New. + (copy_object): Use bfd_get_archive_filename when reporting input + error. Don't call fatal on unknown arch. + (copy_archive): Call copy_unknown_object on unknown format or + arch. + +2005-06-14 Jakub Jelinek <jakub@redhat.com> + + * readelf.c (cmalloc, xcmalloc, xcrealloc): New functions. + (get_data): Add nmemb argument. Return NULL if nmemb * size + overflows. If var == NULL, allocate one extra byte and + clear it. + (slurp_rela_relocs, slurp_rel_relocs, get_32bit_program_headers, + get_64bit_program_headers, get_program_headers, + get_32bit_section_headers, get_64bit_section_headers, + get_32bit_elf_symbols, get_64bit_elf_symbols, process_section_headers, + process_section_groups, process_relocs, slurp_ia64_unwind_table, + ia64_process_unwind, slurp_hppa_unwind_table, hppa_process_unwind, + get_32bit_dynamic_section, get_64bit_dynamic_section, + process_dynamic_section, process_version_sections, get_dynamic_data, + process_symbol_table, dump_section, load_debug_str, load_debug_loc, + load_debug_range, read_and_display_attr_value, process_debug_info, + get_debug_info, frame_need_space, display_debug_frames, + display_debug_section, process_mips_specific, process_gnu_liblist, + process_corefile_note_segment): Adjust get_data callers. Use + cmalloc, xcmalloc and xcrealloc instead of {m,xm,xre}alloc where + passed size is a product of 2 numbers. + + * readelf.c (print_mode): Fix comment typo. + (slurp_rela_relocs, slurp_rel_relocs): Fix memory leaks. + (dump_relocations): Fix a thinko in check for invalid st_name. + (process_program_headers): Don't crash if string_table is NULL. + (process_section_headers): Don't crash if e_shstrndx is invalid. + Ensure string_table_length is 0 if string_table == NULL. + Don't return just because string_table is NULL. + (process_section_groups): Don't crash if symtab's sh_link or + symbol's st_name is invalid. Fix a memory leak. Fix check for + invalid section number entry. + (process_relocs): Don't crash if relocation or symbol section's + sh_link is invalid. + (slurp_ia64_unwind_table, slurp_hppa_unwind_table): Don't crash if + relocation section's sh_info is invalid. + (ia64_process_unwind, hppa_process_unwind): Don't crash if symbol + table's sh_link is invalid. + (process_version_sections): Don't crash on version or symbol + section's sh_link is invalid. Don't crash if symbol's st_shndx + is invalid. + (process_symbol_table): Don't crash if string table is corrupt + or symbol's st_name, st_shndx, vna_name or vda_name is invalid. + (debug_apply_rela_addends): Don't crash if relocation section's + sh_info or sh_link is invalid. + (display_debug_loc): Warn for unterminated .debug_loc section + or start offsets not within .debug_loc section boundaries. + (process_gnu_liblist): Don't crash if liblist section's sh_link + or entry's l_name is invalid. + +2005-06-09 Jakub Jelinek <jakub@redhat.com> + + * objdump.c (disassemble_bytes): Don't crash if q->howto == NULL. + If q->howto->name == NULL, print q->howto->type as number instead. + (dump_reloc_set): Likewise. + +2005-06-07 Eric Christopher <echristo@redhat.com> + + * readelf.c (guess_is_rela): Support ms1. + (dump_relocations): Ditto. + (get_machine_name): Ditto. + +2005-06-07 Aldy Hernandez <aldyh@redhat.com> + Michael Snyder <msnyder@redhat.com> + Stan Cox <scox@redhat.com> + + * Makefile.am (readelf.o): Depend on ms1.h. + + * Makefile.in: Regenerate. + + * readelf.c: Include ms1.h. + +2005-06-06 H.J. Lu <hongjiu.lu@intel.com> + + PR 990 + * nm.c (print_symbol): Call bfd_find_line before + bfd_find_nearest_line. + +2005-06-06 Alan Modra <amodra@bigpond.net.au> + + * NEWS: Mention new powerpc ld support. + +2005-06-03 Steve Ellcey <sje@cup.hp.com> + + * configure.in: Check for getc_unlocked prototype. + * configure: Regenerate. + * config.in: Regenerate. + * strings.c (get_char): Only call getc_unlocked if we have seen a + prototype. + +2005-06-03 Nick Clifton <nickc@redhat.com> + + * configure.in (ALL_LINGUAS): Add zh_TW + * configure: Regenerate. + * po/zh_TW.po: New Chinese (traditional) translation. + +2005-05-31 Richard Henderson <rth@redhat.com> + + * readelf.c (dump_relocations): Special case R_ALPHA_LITUSE. + +2005-05-29 Richard Henderson <rth@redhat.com> + + * readelf.c (get_alpha_dynamic_type): New. + (get_dynamic_type): Call it. + +2005-05-24 H.J. Lu <hongjiu.lu@intel.com> + + * readelf.c (process_section_groups): Report group section + index. Check if the section member index is valid. + +2005-05-23 Fred Fish <fnf@specifixinc.com> + + * addr2line.c (unwind_inlines): New flag for 'i' option. + (usage): Document '-i' option. + (long_options): Recognize '--inlines'. + (translate_addresses): Loop, calling bfd_find_inliner_info as + necessary and printing multiple output lines. + (main): Handle 'i' option. + * doc/binutils.texi (addr2line): Document '-i' option. + * NEWS: Mention new addr2line '-i' option. + +2005-05-23 Nick Clifton <nickc@redhat.com> + + * readelf.c (fetch_indirect_string): Display a warning message + when a corrupt DW_FORM_strp value is encountered. + + (process_debug_info): Mention that the compilation unit offset is + being displayed in hexadecimal. + + (display_debug_lines): Fix typo in name of .debug_line section. + +2005-05-19 Zack Weinberg <zack@codesourcery.com> + + * Makefile.am: Have 'all' depend on 'info'. + * Makefile.in: Regenerate. + +2005-05-19 Ben Elliston <bje@au.ibm.com> + + * readelf.c (read_and_display_attr_value): Handle a DW_AT_encoding + value of DW_ATE_GNU_decimal_float. + +2005-05-17 Daniel Jacobowitz <dan@codesourcery.com> + + * doc/Makefile.am (config.texi): Don't use $<. + * doc/Makefile.in: Regenerated. + +2005-05-15 Yitzchak Scott-Thoennes <sthoenna@efn.org> + + * deflex.l: Ignore CRs + +2005-05-15 Daniel Jacobowitz <dan@codesourcery.com> + + * acinclude.m4: Remove obsolete code. + * configure.in: Update AC_PREREQ. + * doc/Makefile.am (binutils_TEXINFOS): Define. + (config.texi): Depend on distributed files instead of built + files. + (binutils.dvi, binutils.info): Remove unnecessary rules. + (DISTCLEANFILES): Remove. + (install-data-local): Renamed from install. + (info-local): Renamed from info. + * Makefile.in, aclocal.m4, config.in, configure, + doc/Makefile.in: Regenerated. + +2005-05-14 Alan Modra <amodra@bigpond.net.au> + + * readelf.c (get_ppc_dynamic_type): Display DT_PPC_GOT, not + DT_PPC_GLINK. + +2005-05-13 Fred Fish <fnf@specifixinc.com> + + * readelf.c: Fix a couple of obvious comment typos, + 'debug_str' -> 'debug_ranges' and proecess' -> 'process'. + +2005-05-13 H.J. Lu <hongjiu.lu@intel.com> + + * readelf.c (dump_ia64_unwind): Get stamp with proper size. + +2005-05-12 Nick Clifton <nickc@redhat.com> + + * readelf.c (display_debug_lines): If pointer_size has not been + found then assume that it is 4 in order to prevent a seg fault + when process_extend_line_op attempts to read the line data. + +2005-05-11 Alan Modra <amodra@bigpond.net.au> + + * readelf.c (get_ppc_dynamic_type): New function for DT_PPC_GLINK. + (get_dynamic_type): Call the above. + +2005-05-07 Nick Clifton <nickc@redhat.com> + + * Update the address and phone number of the FSF organization in + the GPL notices in the following files: + aclocal.m4, addr2line.c, ar.c, arlex.l, arparse.y, arsup.c, + arsup.h, binemul.c, binemul.h, bucomm.c, bucomm.h, budbg.h, + budemang.c, budemang.h, coffdump.c, coffgrok.c, coffgrok.h, + cxxfilt.c, debug.c, debug.h, deflex.l, defparse.y, dlltool.c, + dlltool.h, dllwrap.c, emul_aix.c, emul_vanilla.c, filemode.c, + ieee.c, nlmconv.c, nlmconv.h, nlmheader.y, nm.c, objcopy.c, + objdump.c, prdbg.c, rclex.l, rcparse.y, rdcoff.c, rddbg.c, + readelf.c, rename.c, resbin.c, rescoff.c, resrc.c, resres.c, + size.c, srconv.c, stabs.c, strings.c, sysdump.c, sysinfo.y, + syslex.l, unwind-ia64.c, unwind-ia64.h, version.c, windres.c, + windres.h, winduni.c, winduni.h wrstabs.c, doc/fdl.texi + +2005-05-06 Jan Beulich <jbeulich@novell.com> + + * objcopy.c (copy_file): Don't delete output upon error here. + (copy_main): Delete output upon error. + +2005-05-02 Ben Elliston <bje@au.ibm.com> + + * dlltool.c (dtab): Remove empty function. + (process_duplicates): Remove calls to dtab(). + +2005-05-01 Maciej W. Rozycki <macro@linux-mips.org> + + * doc/binutils.texi (strip, objcopy): Clarify the description of + the "--strip-debug" option. Fix a typo. + +2005-04-29 H.J. Lu <hongjiu.lu@intel.com> + + * bucomm.c: Undo the last change. + * bucomm.h: Likewise. + +2005-04-29 Ben Elliston <bje@au.ibm.com> + + * syslex.l (word, number, unit): Remove unused variables. + * nlmheader.y (keyword_tokens): Make static. + * coffdump.c (dump_coff_symbol, coff_dump): Make static. + * coffgrok.c (lofile, last_function_symbol, last_function_type, + last_struct, last_enum, cur_sfile): Make variables static. + * sysdump.c (getCHARS, fillup, getBARRAY, getINT, getBITS, + sysroff_swap_tr_in, sysroff_print_tr_out): Make static. + * sysinfo.y (writecode, it, code, repeat, oldrepeat, name, rdepth, + names, pnames): Likewise. + +2005-04-29 Ben Elliston <bje@au.ibm.com> + + * ar.c (mri_mode): Make static. + * arsup.c (obfd, real_name, outfile): Likewise. + * binemul.c (ar_emul_create): Remove unused function. + (ar_emul_default_create): Likewise. + * binemul.h (ar_emul_create): Remove declaration. + (ar_emul_default_create): Likewise. + (struct bin_emulation_xfer_struct): Remove ar_create member. + * bucomm.c (report): Make static. + * bucomm.h (report): Remove declaration. + * cxxfilt.c (mbuffer): Make static. + (main): Use unsigned ints for some loop control variables. + * readelf.c: Make many global variables static. + * size.c (berkeley_format): Make static. + (long_options): Likewise. + * emul_aix.c (bin_aix_emulation): Remove ar_emul_default_create + structure initialiser. + (bin_aix5_emulation): Likewise. + * emul_vanilla.c (bin_vanilla_emulation): Likewise. + +2005-04-27 Ben Elliston <bje@au.ibm.com> + + * syslex.l: Adjust top-of-file comment: this file is part of GNU + binutils, not GNU ld. + +2005-04-25 Nick Clifton <nickc@redhat.com> + + PR872 + * objcopy.c (copy_archive): Initialise 'obfd' field of new + name_list structure. + + * objcopy.c (copy_usage): Fix description of -K switch. + + * doc/binutils.texi (strip, objcopy): Fix description of -K + switch. + +2005-04-20 Daniel Jacobowitz <dan@codesourcery.com> + + * readelf.c (display_debug_frames): Use data factor for + DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf. + +2005-04-19 H.J. Lu <hongjiu.lu@intel.com> + + * objdump.c (dump_section_header): Skip linker created section. + +2005-04-17 H.J. Lu <hongjiu.lu@intel.com> + + * objdump.c (dump_section_header): Support SEC_GROUP. + +2005-04-16 Nick Clifton <nickc@redhat.com> + + * readelf.c (debug_apply_rela_addends): Remove redundant %s from + printf string. + +2005-04-15 Nick Clifton <nickc@redhat.com> + + * objcopy.c (copy_file): Issue an error message when attmepting to + copy an empty input file. + +2005-04-14 Alan Modra <amodra@bigpond.net.au> + + * Makefile.am (NO_WERROR): Define. Use instead of -Wno-error. + * configure.in: Include ../bfd/warning.m4 contents. + * Makefile.in: Regenerate. + * configure: Regenerate. + * doc/Makefile.in: Regenerate. + +2005-04-12 Alan Modra <amodra@bigpond.net.au> + + * Makefile.am: Run "make dep-am". + (syslex.o, sysinfo.o, arparse.o, arlex.o): Add -Wno-error to command. + (sysroff.o, defparse.o, deflex.o): Likewise. + (nlmheader.o, rcparse.o, rclex.o): Likewise. + * Makefile.in: Regenerate. + * aclocal.m4: Regenerate. + * config.in: Regenerate. + * configure: Regenerate. + +2005-04-11 Jan Beulich <jbeulich@novell.com> + + * MAINTAINERS: Add myself as ix86 Intel mode maintainer. + +2005-04-06 Nick Clifton <nickc@redhat.com> + H.J. Lu <hongjiu.lu@intel.com> + + * po/rw.po: New translation: Kinyarwanda. + * configure.in (ALL_LINGUAS): Add rw. + * configure: Regenerate. + +2005-04-04 Maciej W. Rozycki <macro@linux-mips.org> + + * readelf.c (debug_apply_rela_addends): Reorder r_info as + necessary for 64-bit MIPS. + +2005-04-04 Maciej W. Rozycki <macro@linux-mips.org> + + * doc/binutils.texi (readelf): Remove a duplicate paragraph. + +2005-04-04 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com> + + PR binutils/813 + * objdump.c (dump_symbols): Add a check to see if the section for + the symbol is chosen using process_section_p. + +2005-04-01 H.J. Lu <hongjiu.lu@intel.com> + + * NEWS: Mention new readelf options, "-N/--full-section-name" + and "-g/--section-groups". + + * doc/binutils.texi: Document new readelf options, + "-N/--full-section-name" and "-g/--section-groups". + +2005-03-31 H.J. Lu <hongjiu.lu@intel.com> + + * readelf.c (do_full_section_name): New. + (options): Add "--full-section-name"/'N'. + (usage): Add -N/--full-section-name. + (parse_args): Handle 'N'. + (process_section_headers): Print out the full section name if + do_full_section_name isn't 0. + +2005-03-31 Nick Clifton <nickc@redhat.com> + + * configure.in: Add a check for <unistd.h> providing a prototype + for getopt() which is compatible with the one in + include/getopt.h. If so then define HAVE_DECL_GETOPT. + * configure: Regenerate. + * config.in (HAVE_DECL_GETOPT): Add. + * aclocal.m4: Regenerate. + * addr2line.c: Include "config.h" before "bfd.h" so that + HAVE_DECL_GETOPT is defined before getopt.h is included. + +2005-03-21 Jan-Benedict Glaw <jbglaw@lug-owl.de> + + * doc/binutils.texi: Document new VAX disassembler-specific option + -M entry:0xfooba8. + * NEWS: Mention the new option. + +2005-03-29 Anil Paranjpe <anilp1@kpitcummins.com> + + * MAINTAINERS: Add myself as H8300 maintainer. + +2005-03-28 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> + + * objdump.c (disassemble_bytes): Remove cast. + +2005-03-25 Daniel Jacobowitz <dan@codesourcery.com> + + * BRANCHES: Add binutils-csl-arm-2005q1-branch and + binutils-2_16-branch. + +2005-03-25 Mark Kettenis <kettenis@gnu.org> + + * MAINTAINERS: Add myself as M88k maintainer. + +2005-03-24 Danny Smith <dannysmith@users.sourceforge.net> + + * winduni.c (unicode_from_ascii): Don't declare variables + 's' and 'w' if _WIN32. Use MultiByteToWideChar to set the unicode + string len. + +2005-03-24 Dmitry Diky <diwil@spec.ru> + + * MAINTAINERS: Add myself as MSP430 maintainer. + +2005-03-23 Nick Clifton <nickc@redhat.com> + + * po/fr.po: Updated translation. + +2005-03-22 Nick Clifton <nickc@redhat.com> + + * MAINTAINERS: Add Daniel Jacobwitz to the blanket write + privileges list. + +2005-03-17 Paul Brook <paul@codesourcery.com> + Dan Jacobowitz <dan@codesourcery.com> + Mark Mitchell <mark@codesourcery.com> + + * binutils/readelf.c (get_arm_segment_type): New function. + (get_segment_type): Use it. + +2005-03-18 Paul Brook <paul@codesourcery.com> + + * objdump.c (objdump_print_addr): Avoid uninitialized warning. + +2005-03-17 Diego Novillo <dnovillo@redhat.com> + + * MAINTAINERS: Remove self as maintainer of x86 intel + mode. + +2005-03-16 Nick Clifton <nickc@redhat.com> + Ben Elliston <bje@au.ibm.com> + + * configure.in (werror): New switch: Add -Werror to the + compiler command line. Enabled by default. Disable via + --disable-werror. + * configure: Regenerate. + +2005-03-15 Daniel Marques <marques@cs.cornell.edu> + Nick Clifton <nickc@redhat.com> + + * objcopy.c (globalize_specific_list): New linked list of symbols + to convert from local binding into global binding. + (command_line_switch): Add OPTION_GLOBALIZE_SYMBOL and + OPTION_GLOBALIZE_SYMBOLS. + (copy_options): Add "globalize-symbol" and "globalize-symbols". + (copy_usage): Document the new switches. + (filter_symbols): Convert defined local symbols mentioned on the + globalize_specific_list into global symbols. + (copy_object): Perform actions if the globalize_specific_list is + not empty. + (copy_main): Handle new switches. + * NEWS: Mention new feature. + * doc/binutils.texi: Document new switches. + +2005-03-15 Alan Modra <amodra@bigpond.net.au> + + * po/es.po: Commit new Spanish translation. + + * po/fr.po: Commit new French translation. + +2005-03-14 Alan Modra <amodra@bigpond.net.au> + + * po/tr.po: Commit new Turkish translation. + +2005-03-11 Nick Clifton <nickc@redhat.com> + + * po/fr.po: Updated French translation. + +2005-03-10 Nick Clifton <nickc@redhat.com> + + * configure.in (ALL_LINGUAS): Add Romanian lingua "ro". + * configure: Regenerate. + * po/ro.po: New file. + + * po/ru.po: Updated file. + +2005-03-05 Alan Modra <amodra@bigpond.net.au> + + * po/binutils.pot: Regenerate. + +2005-03-02 Jan Beulich <jbeulich@novell.com> + + * ar.c (remove_output): Use unlink_if_ordinary instead of unlink. + * objcopy.c (copy_file): Likewise. + (strip_main): Likewise. + +2005-03-01 Stig Petter Olsroed <stigpo@users.sourceforge.net> + Nick Clifton <nickc@redhat.com> + + * objdump.c: Fix coding for DISASSEMBLER_NEEDS_RELOC: + (struct objdump_disasm_info): Add 'reloc' field. + (disassemble_bytes): Fix check for when an insn has a reloc + associated with it. Improve comment explaining why the use of + octets is wrong. Set the 'reloc' field in objdump_disasm_info + structure. + (objdump_print_addr): Use new 'reloc' field to lookup the correct + address for the symbol associated with the current instruction's + relocation. + (disassemble_info): Initialise 'reloc' field. + +2005-02-28 Jakub Jelinek <jakub@redhat.com> + + * readelf.c (get_file_type, get_machine_name, get_osabi_name, + get_segment_type, get_section_type_name, get_elf_class, + get_data_encoding, get_group_flags, dynamic_section_mips_val, + get_symbol_binding, get_symbol_type, get_TAG_name, get_FORM_name, + get_AT_name, process_mips_specific, process_gnu_liblist, + get_note_type, get_netbsd_elfcore_note_type): Use snprintf instead of + sprintf where needed. + (get_dynamic_type): Likewise. Increase buff to 64 bytes. + (get_elf_section_flags): Increase buff to 33 bytes. Avoid + using strcat. + (get_dynamic_flags): Renamed to... + (print_dynamic_flags): ... this. Print the flags to stdout instead + of returning them as string. + (process_dynamic_section): Adjust caller. + +2005-02-25 H.J. Lu <hongjiu.lu@intel.com> + + * readelf.c (display_debug_ranges): Print out offset for end of + list. + +2005-02-23 Alan Modra <amodra@bigpond.net.au> + + * dlltool.c: Warning fixes. + * objdump.c: Likewise. + +2005-02-22 Alan Modra <amodra@bigpond.net.au> + + * Makefile.am (syslex.o, sysinfo.o): Pass AM_CFLAGS to compiler. + (syslex.o, sysinfo.o, dlltool.o, rescoff.o): Remove duplicate + dependencies. Run "make dep-am". + * nlmconv.c: Warning fixes. + * readelf.c: Likewise. + * srconv.c: Likewise. + * sysdump.c: Likewise. + * sysinfo.y: Likewise. + * syslex.l: Likewise. Use yyleng instead of strlen, memcpy instead + of strcpy. + * Makefile.in: Regenerate. + +2005-02-21 H.J. Lu <hongjiu.lu@intel.com> + + * objcopy.c (parse_flags): Replace SEC_SHARED with + SEC_COFF_SHARED. + + * objdump.c (dump_section_header): Dump SEC_TIC54X_BLOCK and + SEC_TIC54X_CLINK for TI c54x only. Remove SEC_ARCH_BIT_0. Dump + SEC_COFF_SHARED for COFF only. + +2005-02-21 Alan Modra <amodra@bigpond.net.au> + + * Makefile.am: Run "make dep-am" + * Makefile.in: Regenerate. + * doc/Makefile.in: Regenerate. + +2005-02-21 Alan Modra <amodra@bigpond.net.au> + + * readelf.c (BYTE_GET8): Delete. Replace uses with BYTE_GET. + (byte_get_little_endian): Don't handle size of -8. + (byte_get_signed, byte_get_big_endian): Likewise. + (print_dec_vma, print_hex_vma): New functions. + (print_vma): Use them. Return chars output. + (get_dynamic_data): Return a bfd_vma array. Add ent_size parm. + (process_symbol_table): Handle alpha and s390 .hash. + +2005-02-18 H.J. Lu <hongjiu.lu@intel.com> + + * readelf.c (display_debug_loc): Print out offset for end of + list. + +2005-02-18 Joseph S. Myers <joseph@codesourcery.com> + + * Makefile.am (TOOL_PROGS): Add objdump. + * Makefile.in: Regenerate. + +2005-02-17 Alan Modra <amodra@bigpond.net.au> + + * deflex.l (YY_NO_UNPUT): Define. + * rclex.l (YY_NO_UNPUT): Define. + * rcparse.y (null_unichar): New static var. + (res_null_text): Use it rather than attempting to init from wchar_t. + * windres.c: Include assert.h and time.h before getopt.h. + Include config.h and unistd.h too. + +2005-02-15 Nick Clifton <nickc@redhat.com> + + * nlmconv.c: Provide a full prototype for the localtime() function + in order to avoid a compile time warning. + +2005-02-11 H.J. Lu <hongjiu.lu@intel.com> + + * readelf.c (group_count): Don't initialize it. + (process_section_groups): Reurn 1 if we won't do unwind nor + section groups. Set group_count to 0 before counting group + sections and return 1 if there are no group sections. Reread + SHT_SYMTAB/SHT_STRTAB sections only when needed. Don't skip + section 0. + (process_object): Only set do_unwind to 0 if + process_section_groups return 0. + +2005-02-10 Ian Lance Taylor <ian@airs.com> + + * MAINTAINERS: Update my e-mail address. + +2005-02-10 Mark Mitchell <mark@codesourcery.com> + + * MAINTAINERS: Add Paul Brook and Mark Mitchell as ARM (Symbian) + maintainers. + +2005-02-07 Inderpreet Singh <inderpreetb@noida.hcltech.com> + + * MAINTAINERS: Add self as maintainer of MAXQ. + +2005-01-31 Richard Sandiford <rsandifo@redhat.com> + + * readelf.c (eh_addr_size): New variable. + (find_section): Move earlier in file. Return empty sections too. + (process_program_headers): Use find_section to find .dynamic. + (process_section_headers): Initialize eh_addr_size. + (dump_ia64_unwind, slurp_ia64_unwind_table, ia64_process_unwind) + (dump_hppa_unwind, slurp_hppa_unwind_table, hppa_process_unwind) + (display_debug_frames): Use it instead of local addr_size variable. + (size_of_encoded_value): Get pointer size from eh_addr_size rather + than is_32bit_elf. + +2005-01-31 Andrew Cagney <cagney@gnu.org> + + * configure: Regenerate to track ../gettext.m4. + +2005-01-31 Nick Clifton <nickc@redhat.com> + + * version.c (print_version): Bump the copyright date to 2005. + +2005-01-25 Alan Modra <amodra@bigpond.net.au> + + * nm.c (display_rel_file): Read dynamic syms before calling + bfd_get_synthetic_symtab. + +2005-01-21 Ben Elliston <bje@au.ibm.com> + + * dlltool.c (dump_iat): Remove unused function. + (gen_exp_file): Remove #if 0'd code. + (make_one_lib_file): Likewise. + * srconv.c: Remove #if 0'd code throughout. + * size.c (lprint_number): Remove. + (print_berkeley_format): Remove #if 0'd code. + * ar.c (do_quick_append): Remove declaration and definiton. + (main): Remove #if 0'd code. + * filemode.c (filemodestring): Remove #if 0'd function. + * sysdump.c (unit_info_list): Remove function. + (object_body_list): Likewise. + (program_structure): Likewise. + (debug_list): Likewise. + (module): Remove #if 0'd code. + +2005-01-20 Mark Mitchell <mark@codesourcery.com> + + * BRANCHES: Add binutils-2_15-branch. + + * MAINTAINERS: Document branch policy. + * BRANCHES: New file. + +2005-01-19 Fred Fish <fnf@specifixinc.com> + + * NEWS: Make note of the new MIPS disassembly option "no-aliases". + * doc/binutils.texi (objdump): Document the "no-aliases" + disassembly option. + +2005-01-17 Eugene Kotlyarov <ekot@narod.ru> + + PR binutils/647 + * rcparse.y (RCDATA): Allow a filename to be supplied as the + parameter. Parse it with define_rcdata_file(). + * resrc.c (define_rcdata_file): New function. + * windres.h: Provide a prototype for the new function. + + * resrc.c (define_user_file): Fix typo by replacing "font file" + with "file". + +2005-01-16 Jason Thorpe <thorpej@netbsd.org> + + * MAINTAINERS: Update my email address. + +2005-01-16 Danny Smith <dannysmith@users.sourceforge.net> + + * dlltool.c (set_dll_name_from_def): New function. Strip name + to basename, with warning. + (def_name): Use it. + (def_library): Likwise. + (main): Strip arg of --dllname to basename, with warning. + Only use basename of exp_name when inferring dll_name. + +2005-01-11 Nick Clifton <nickc@redhat.com> + + PR binutils/637 + * doc/binutils.texi (c++filt): Use uppercase CXXFILT in the + footnote in order to prevent the sed script in the Makefile from + converting it into c++filt. + +2005-01-10 H.J. Lu <hongjiu.lu@intel.com> + + BZ 635 + readelf.c (saved_base_address): Removed. + (decode_64bit_range): Likewise. + (decode_range): Likewise. + (display_64bit_debug_ranges): Likewise. + (debug_info): Add range_lists, num_range_lists and + max_range_lists. + (read_and_display_attr_value): Handle do_debug_ranges. + (process_debug_info): Likewise. + (display_debug_ranges): Rewrite. + (process_object): Free range_lists. + +2005-01-10 Andreas Schwab <schwab@suse.de> + + * configure.in: Don't define SKIP_ZEROES. + * configure: Regenerate. + * objdump.c (disassemble_data): Set skip_zeroes and + skip_zeroes_at_end in disasm_info to defaults. + (DEFAULT_SKIP_ZEROES): Rename from SKIP_ZEROES and always define. + (DEFAULT_SKIP_ZEROES_AT_END): Rename from SKIP_ZEROES_AT_END and + always define. + (disassemble_bytes): Use skip_zeroes and skip_zeroes_at_end from + objdump_disasm_info. + +2005-01-05 H.J. Lu <hongjiu.lu@intel.com> + + * readelf.c (display_debug_loc): Display base address + specifiers. Always output <End of list>. + +2005-01-05 H.J. Lu <hongjiu.lu@intel.com> + + * readelf.c (have_frame_base): New. + (need_base_address): Likewise. + (saved_base_address): Likewise. + (decode_location_expression): Return 1 if DW_AT_frame_base is + needed. + (debug_info): Add base_address and a have_frame_base pointer. + (read_and_display_attr_value): Replace saved_DW_AT_low_pc with + saved_base_address. Record base address. Set have_frame_base. + Record if a location list has DW_AT_frame_base. Display if a + location expression has no DW_AT_frame_base but needs one. Set + saved_base_address only if needed. + (process_debug_info): Clear have_frame_base, saved_base_address + and set need_base_address. + (display_debug_loc): Display if a location expression has no + DW_AT_frame_base but needs one. Display if start >= end. Don't + adjust for section address. Properly handle base address. + (process_object): Free the have_frame_base pointer in + debug_info. + +2005-01-04 H.J. Lu <hongjiu.lu@intel.com> + + * readelf.c (display_debug_loc): Display offsets for hole and + overlap. + (display_debug_str): Add a newline at the end. + +2005-01-04 Armin Diehl <diehl@nordrhein.de> + + PR binutils/630 + * nlmconv.c (main): Only store the basename of the output filename + in the module table. + +2005-01-04 H.J. Lu <hongjiu.lu@intel.com> + + BZ 615 + * readelf.c (process_debug_info): New. + (debug_info): Add num_loc_offsets, loc_offsets and + last_loc_offset_p. + (get_debug_info): Use process_debug_info. + (display_debug_loc): Properly handle location list. Warn if bad + location lists are encoutnered. + (read_and_process_attr_value): New. + (read_and_display_attr_value): Use "%lx" for DW_FORM_data4. + (display_debug_info): Use process_debug_info. + (process_object): Also free loc_offsets in debug_information. + +For older changes see ChangeLog-2004 + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/gas/ChangeLog b/gas/ChangeLog index 96a12ad..977f5a1 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -27,6970 +27,7 @@ * config/tc-mmix.c (mmix_handle_mmixal): Don't treat #[0-9][FB] as a local-label reference. -2005-12-30 Sterling Augustine <sterling@tensilica.com> - Bob Wilson <bob.wilson@acm.org> - - * config/tc-xtensa.c (op_placement_info_struct): Delete single, - single_size, widest, and widest_size fields. Add narrowest_slot. - (xg_emit_insn_to_buf): Remove fmt parameter and compute it here. - Use xg_get_single_slot to find the slot. - (finish_vinsn): Use emit_single_op instead of bundle_single_op. - (bundle_single_op): Rename this to.... - (bundle_tinsn): ...this function, which builds a vliw_insn but does - not call finish_vinsn. - (emit_single_op): Use bundle_tinsn instead of bundle_single_op. - (relax_frag_immed): Get num_slots from cur_vinsn. - (convert_frag_narrow): Update call to xg_emit_insn_to_buf. - (convert_frag_immed): Likewise. Also, get num_slots from cur_vinsn. - (init_op_placement_info_table): Set narrowest_slot field. Remove - code for deleted fields. - (xg_get_single_size): Return narrowest_size field, not single_size. - (xg_get_single_format): Return narrowest field, not single. - (xg_get_single_slot): New. - (tinsn_to_insnbuf): Rewrite to use tinsn_to_slotbuf. - * config/xtensa-relax.c (widen_spec_list): Add wide branch relaxations. - (transition_applies): Check wide branch option availability. - -2005-12-29 Sterling Augustine <sterling@tensilica.com> - - * config/tc-xtensa.h (MAX_MEM_FOR_RS_ALIGN_CODE): Define. - -2005-12-29 Sterling Augustine <sterling@tensilica.com> - - * config/tc-xtensa.c (tinsn_to_slotbuf): Do not zero slotbuf. - -2005-12-27 Nathan Sidwell <nathan@codesourcery.com> - - * config/tc-mt.c (mt_arch): Default to ms1_16_002. - (md_parse_options): Only allow lowercase. - (md_show_usage): Update. - -2005-12-27 Leif Ekblad <leif@rdos.net> - - * configure.tgt: Add support for RDOS targets. - -2005-12-27 James Troup <james@nocrew.org> - - PR 1300 - * config/tc-arm.c (md_apply_fix): Fix casts to match type in - printf format. - -2005-12-27 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - * po/POTFILES.in: Regenerate. - -2005-12-22 Jan Beulich <jbeulich@novell.com> - - * symbols.h (snapshot_symbol): First parameter is now pointer - to pointer to symbolS. - * symbols.c (snapshot_symbol): Likewise. Store resulting symbol - there. Use symbol_equated_p. - * expr.c (resolve_expression): Change first argument to - snapshot_symbol. Track possibly changed add_symbol consistently - across function. Resolve more special cases with known result. - Also update final_val when replacing add_symbol. - -2005-12-13 Jan-Benedict Glaw <jbglaw@lug-owl.de> - - * config/tc-vax.c: Convert to ISO C90 format. Fix formatting and - white space usage as well. - -2005-12-20 Sterling Augustine <sterling@tensilica.com> - - * config/tc-xtensa.c (xtensa_mark_narrow_branches): Set - is_aligning_branch flag. - (find_address_of_next_align_frag): Limit by xtensa_fetch_width. - (future_alignment_required): Except for frags with is_aligning_branch - flag set, call frag_wane for frags that do not need to be reexamined - for aligning. - (relax_frag_immed): Replace orig_vinsn with cur_vinsn to fix a leak. - (convert_frag_immed): Likewise. - (convert_frag_narrow): Check is_aligning_branch flag. - * config/tc-xtensa.h (xtensa_frag_type): Add is_aligning_branch flag. - -2005-12-20 Sterling Augustine <sterling@tensilica.com> - - * config/tc-xtensa.c (xg_find_narrowest_format): Optimize 1 slot case. - (xg_init_vinsn): Remove redundant initialization. - (xg_clear_vinsn): Zero all the slots with a single memset. - * config/xtensa-istack.h (vliw_insn): Move insnbuf field after slots. - -2005-12-20 Nathan Sidwell <nathan@codesourcery.com> - - * doc/t-mt.texi: Update MS1 to MT. - -2005-12-16 Nathan Sidwell <nathan@codesourcery.com> - - Second part of ms1 to mt renaming. - * configure: Rebuilt. - * configure.in (mt): Remove special case. - * config/tc-mt.c (opcodes/mt-desc.h, opcodes/mt-opc.h): Change - #includes. - (mt_insn, mt_mach, mt_mach_bitmask, mt_flags, mt_architectures): - Rename, adjust. - (md_parse_option, md_show_usage, md_begin, md_assemble, - md_cgen_lookup_reloc, md_atof): Adjust. - (mt_force_relocation, mt_apply_fix, mt_fix_adjustable): Rename, adjust. - * config/tc-mt.h (TC_MT): Rename. - (LISTING_HEADER, TARGET_ARCH, TARGET_FORMAT): Adjust. - (md_apply_fix): Adjust. - (mt_apply_fix, mt_fix_adjustable, mt_force_relocation): Rename. - (TC_FORCE_RELOCATION, tc_fix_adjustable): Adjust. - -2005-12-14 Jan Beulich <jbeulich@novell.com> - - * config/tc-i386.c (add_prefix): More fine-grained handling of - REX prefixes. Or new prefix value into i.prefix instead of - assigning. - -2005-12-13 DJ Delorie <dj@redhat.com> - - * config/tc-m32c.c (m32c_md_end): Only pad code sections. - -2005-12-12 Paul Brook <paul@codesourcery.com> - - * config/tc-arm.c (do_branch): Generate EABI branch relocations. - (do_bl): New function. - (do_blx): Generate BFD_RELOC_ARM_PCREL_CALL relocation. - (do_t_blx): Generate BFD_RELOC_THUMB_PCREL_BRANCH23. - (insns): Use do_bl. - (md_pcrel_from_section): Add BFD_RELOC_ARM_PCREL_CALL and - BFD_RELOC_ARM_PCREL_JUMP. - (md_apply_fix): Merge BFD_RELOC_ARM_PCREL_BRANCH and - BFD_RELOC_ARM_PCREL_BLX cases. Handle BFD_RELOC_ARM_PCREL_CALL and - BFD_RELOC_ARM_PCREL_JUMP. - (tc_gen_reloc): Handle BFD_RELOC_ARM_PCREL_CALL and - BFD_RELOC_ARM_PCREL_JUMP. - gas/testsuite/ - * gas/arm/pic.d: Allow R_ARM_CALL relocations. - -2005-12-12 Nathan Sidwell <nathan@codesourcery.com> - - * configure.in: Replace ms1 arch with mt arch. - * configure: Rebuilt. - * configure.tgt: Replace ms1 arch with mt arch. - * config/tc-mt.c: Renamed from tc-ms1.c: Update include files. - * doc/Makefile.am (CPU_DOCS): Replace ms1 files with mt files. - * doc/Makefile.in: Rebuilt. - -2005-12-07 Hans-Peter Nilsson <hp@axis.com> - - Change 32-bit-branch expansion for --pic. - * config/tc-cris.c (STATE_COND_BRANCH_PIC): New relaxation state. - (md_cris_relax_table): Add entry for STATE_COND_BRANCH_PIC. - (cris_any_v0_v10_long_jump_size_pic): New macro. - (md_estimate_size_before_relax): Handle STATE_COND_BRANCH_PIC. - (md_convert_frag): Similar. - (md_create_long_jump): Change 32-bit-branch expansion for --pic. - (md_assemble, gen_cond_branch_32): Adjust similarly. - (md_parse_option) <case OPTION_PIC>: Adjust md_long_jump_size. - <case OPTION_ARCH>: Similar, if --pic. - -2005-12-06 H.J. Lu <hongjiu.lu@intel.com> - - PR gas/1874 - * config/tc-i386.c (match_template): Handle monitor. - (process_suffix): Likewise. - -2005-12-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - Bug gas/1948 - * symbols.c (colon): Also check if now_seg is bss_section when a symbol - is being redefined. - -2005-12-02 Arnold Metselaar <arnoldm@sourceware.org> - - * config/tc-z80.c (emit_ldreg): fix bug in ld rr,<xx> - -2005-11-26 Arnold Metselaar <arnoldm@sourceware.org> - - * config/tc-z80.c (z80_start_line_hook): issue an error when - redefining a symbol with equ - * doc/as.texinfo(equ<z80>): mention difference with .equiv - * doc/as.texinfo(err): fix typo - * doc/c-z80.texi(equ): redefining a symbol with equ is no longer - allowed - -2005-11-24 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - Bug gas/1896 - * config/tc-hppa.c (hppa_fix_adjustable): Don't reject for reduction - R_HPPA relocations that are 32-bits wide. - -2005-11-23 Daniel Jacobowitz <dan@codesourcery.com> - Thiemo Seufer <ths@networkno.de> - - * config/tc-mips.c (append_insn): Handle BFD_RELOC_16_PCREL_S2. - (macro_build): Complain for invalid branch displacements. - (mips_validate_fix): Delete. - (md_apply_fix): Re-add pcrel support for branches. Use consistent - text for misaligned branch targets. - (tc_gen_reloc: Re-add pcrel support for branches. Handle strange - BFD pcrel processing. Remove error for unresolved branches. - * config/tc-mips.h (TC_VALIDATE_FIX, mips_validate_fix): Delete. - -2005-11-22 James E Wilson <wilson@specifix.com> - - * config/tc-ia64.c (emit_one_bundle): Perform last_slot < 0 check - even when manual_bundling isn't set. - - * config/tc-ia64.c (slot_index): Emit an error instead of a warning - when the frag chain is broken by section switching. - -2005-11-18 Jie Zhang <jie.zhang@analog.com> - - * config/bfin-defs.h (IS_BREG, IS_LREG): New macros. - * config/bfin-parse.y (asm_1): Check register type for load immediate - instruction. - -2005-11-17 Alexandre Oliva <aoliva@redhat.com> - - * config/tc-ppc.c (ppc_frob_file_before_adjust): Do not reference - dotname. - * write.c (write_object_file): Do not remove used weakrefd. - -2005-11-17 Jan Beulich <jbeulich@novell.com> - - * dw2gencfi.c (dot_cfi): Put argument parsing for cases - DW_CFA_restore and DW_CFA_undefined in a loop. - -2005-11-17 Jan Beulich <jbeulich@novell.com> - - - * symbols.h (S_CLEAR_VOLATILE): Declare. - * symbols.c (colon): Also accept redefinable symbols for - redefinition. Clone them before modifying. - (S_CLEAR_VOLATILE): Define. - * cond.c (s_ifdef): Also test for equated symbols. - * read.c (s_comm_internal): Also exclude non-redefinable - equated symbols. Clone redefinable ones before modifying. - (s_weakref): Clone redefinable symbols before modifying. - * doc/internals.texi: Document sy_volatile, sy_forward_ref, - S_IS_VOLATILE, S_SET_VOLATILE, S_CLEAR_VOLATILE, - S_IS_FORWARD_REF, and S_SET_FORWARD_REF. - -2005-11-16 Alan Modra <amodra@bigpond.net.au> - - * config/tc-hppa.c (pa_comm): Set bfd_com_section segment. - -2005-11-16 Alan Modra <amodra@bigpond.net.au> - - * configure.tgt (i386-*-gnu*): Set em=gnu. - * config/te-gnu.h: New file. - * config/tc-i386.c: Don't use '/' as comment char for TE_GNU. - -2005-11-16 Alan Modra <amodra@bigpond.net.au> - - * config/tc-ppc.c (ppc_pe_comm): Set bfd_com_section segment. - * config/tc-alpha.c (s_alpha_comm): Likewise. Also, remove - redundant check. - * read.c (s_lsym): Remove non-BFD assembler sym handling. - -2005-11-16 Alan Modra <amodra@bigpond.net.au> - - * read.c (s_comm_internal): Set bfd_com_section segment. - (s_mri_common): Likewise. - * write.c (write_object_file): Remove non-BFD assembler common - sym handling. - -2005-11-15 Daniel Jacobowitz <dan@codesourcery.com> - - * config/tc-arm.c (s_arm_unwind_save_core): Don't emit an extra - opcode if r4-r15 are not saved. - -2005-11-15 Alan Modra <amodra@bigpond.net.au> - - * symbols.c (S_GET_VALUE): Remove non-BFD assembler recursion guard. - -2005-11-14 Jan Beulich <jbeulich@novell.com> - - * config/tc-ia64.c (AR_FCR, AR_EFLAG, AR_CSD, AR_SSD, AR_CFLG, - AR_FSR, AR_FIR, AR_FDR, AR_CCV, AR_EC): Define. - (ar): Use AR_* instead of literals. - (CR_DCR, CR_ITM, CR_IVA, CR_PTA, CR_GPTA, CR_LID, CR_ITV, - CR_PMV, CR_CMCV): Define. - (cr): Use CR_* instead of literals. - -2005-11-14 Jan Beulich <jbeulich@novell.com> - - * config/tc-ia64.c (md): Rename regsym to indregsym and move - it to the end of the structure. - (ar): Field regnum is unsigned. - (cr): Likewise: - (indirect_reg): Likewise. - (declare_register_set): Parameter regnum is unsigned. - (declare_register): Parameter numregs and base_regnum are - unsigned. So is the local loop variable. - (md_begin): Restrict scope of local variable regnum, which - also is unsigned. Replace loops with function calls where - possible. Re-order things so that register groups are kept - together. Remove all uses of regsym except for indirect - registers. Replace use of regsym by indregsym for indirect - registers. - (ia64_optimize_expr): Replace use of regsym by indregsym for - indirect registers, with appropriate bias. - -2005-11-14 David Ung <davidu@mips.com> - - * config/tc-mips.c (mips16_ip): Add handling of 'm' and 'M' codes - for the MIPS16e save/restore instructions. - -2005-11-11 Jan Beulich <jbeulich@novell.com> - - * doc/Makefile.am: Make asconfig.texi writeable before trying - to write to it. - * doc/Makefile.in: Refresh. - -2005-11-10 Jan Beulich <jbeulich@novell.com> - - * config/tc-i386.c (intel_e11): Don't special-case segment - registers in brackets. - -2005-11-10 Nick Clifton <nickc@redhat.com> - - * config/tc-arm.c (BAD_ADDR_MODE): Define. - (arm_reg_parse_multi): Return NULL rather than FAIL. - (arm_reg_parse): Fix comment, the function returns FAIL rather - than NULL if it is unable to parse the register name. - (do_ldrex): Use BAD_ADDR_MODE. - Change error message for PC-relative addressing. - (do_strex): Likewise. - (do_t_ldrex): Use BAD_ADDR_MODE. - (do_t_strex): Likewise. - -2005-11-08 Jean-Jacques Metayer <jean-jacques.metayer@thomson.net> - - * config/tc-sparc.c (isoctal): Fix thinko. - -2005-11-08 Arnold Metselaar <arnold.metselaar@planet.nl> - - * expr.c (operand <case '$'>): Use DOLLAR_AMBIGU rather than - flag_mri_m68k as condition for parsing the '$' as a prefix. - * as.h (DOLLAR_AMBIGU): Define if needed. - -2005-11-08 Nathan Sidwell <nathan@codesourcery.com> - - Add ms2 support. - * config/tc-ms1.c (ms1_mach_bitmask): Initialize to MS1. - (ms1_architectures): Add ms2. - (md_parse_option): Add ms2. - (md_show_usage): Add ms2. - (md_assemble): Add JAL_HAZARD detection logic. - (md_cgen_lookup_reloc): Add MS1_OPERAND_LOOPSIZE case. - * doc/c-ms1.texi: New. - * doc/all.texi: Add MS1. - * doc/Makefile.am (CPU_DOCS): Add c-ms1.texi. - * doc/Makefile.in: Rebuilt. - * doc/Makefile: Rebuilt. - -2005-11-07 Steve Ellcey <sje@cup.hp.com> - - * configure: Regenerate after modifying bfd/warning.m4. - -2005-11-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - PR gas/1804 - * config/tc-hppa.c (md_apply_fix): Use number_to_chars_bigendian to - output constant data. - -2005-11-07 Mark Mitchell <mark@codesourcery.com> - - * doc/Makefile.am (asconfig.texi): Set top_srcdir. - * doc/Makefile.in: Regenerated. - * doc/as.texinfo: Document "@FILE". - -2005-11-07 Nick Clifton <nickc@redhat.com> - - PR binutils/1568 - * config/obj-coff.c (obj_coff_section): Set readonly flag with the - 'x' attribute. Remember the actions of the 'w' and 'n' attributes - and do not allow the 'x','s' or 'd' attributes to change them. - -2005-11-07 John Levon <levon@movementarian.org> - - * config/tc-i386.h (tc_comment_chars): Define. - * config/tc-i386.c (line_comment_chars): Use '/' unconditionally. - (i386_comment_chars): Add. - (md_parse_options): Process OPTION_DIVIDE. - (md_show_usage): Describe --divide option. - * doc/c-i386.texi: Document --divide option. - -2005-11-07 Arnold Metselaar <arnold.metselaar@planet.nl> - - * expr.c (op_encoding): Map '=' to O_SINGLE_EQ, if defined. - * config/tc-z80.h: Define O_SINGLE_EQ as O_eq. - -2005-11-07 Alan Modra <amodra@bigpond.net.au> - - * macro.c (buffer_and_nest): Skip labels regardless of - NO_PSEUDO_DOT and flag_m68k_mri. - -2005-11-07 Arnold Metselaar <arnold.metselaar@planet.nl> - - * expr.c (integer_constant): Match only 'B' as binary suffix if - NUMBERS_WITH_SUFFIX and LOCAL_LABELS_FB. Allow both 'b' and 'B' - otherwise. - -2005-11-04 Alexandre Oliva <aoliva@redhat.com> - - * read.c (s_weakref): Do not permit redefinitions. - * symbols.c (colon): Do not permit redefinitions of equated - symbols. - -2005-11-01 Thiemo Seufer <ths@networkno.de> - - PR gas/1299 - * Makefile.am: Disable -Werror for the itbl-lex.o rule. - * Makefile.in: Regenerate. - -2005-11-01 Thiemo Seufer <ths@networkno.de> - - * config/tc-mips.c (md_parse_option): Fix typo in comment. - -2005-10-30 Mark Mitchell <mark@codesourcery.com> - - * as.c (show_usage): Document "@FILE". - -2005-10-30 H.J. Lu <hongjiu.lu@intel.com> - - * Makefile.am (OBJ_FORMATS): Remove vms. - Run "make dep-am". - * Makefile.in: Regenerated. - - * dep-in.sed: Replace " ./" with " ". - -2005-10-28 Dave Brolley <brolley@redhat.com> - - Contribute the following change: - 2005-09-19 Dave Brolley <brolley@redhat.com> - - * config/tc-m32c.c (default_isa): New static variable. - (m32c_isa): Now of type CGEN_BITSET. - (md_begin): Pass &m32c_isa to m32c_cgen_cpu_open. - -2005-10-28 Paul Brook <paul@codesourcery.com> - - * config/tc-arm.c (aeabi_set_public_attributes): Use selected_cpu - instead of mcpu_cpu_opt. - -2005-10-27 Sterling Augustine <sterling@tensilica.com> - - * config/tc-xtensa.c (find_vinsn_conflicts): Change error messages to - refer to "ports" instead of "queues". - (check_t1_t2_reads_and_writes): Pass correct interface values to - xtensa_interface_inout. - -2005-10-27 Jan Beulich <jbeulich@novell.com> - - * read.c (assign_symbol): Also consider equates already defined. - * symbols.c (symbol_clone): Also clone the underlying BFD symbol. - * config/obj-coff.h (obj_symbol_clone_hook): New. - (coff_obj_symbol_clone_hook): Declare. - * config/obj-coff.c (coff_obj_symbol_clone_hook): New. - -2005-10-26 DJ Delorie <dj@redhat.com> - - * config/tc-m32c.c (md_relax_table, subtype_mappings, - md_convert_frag): Add jsr.w support. - - * config/tc-m32c.c (md_assemble): Don't use errmsg as the format - itself. - (md_cgen_lookup_reloc): Add m32c bitbase operands. Add 8-s24 - and imm-8-HI operands. - -2005-10-26 Paul Brook <paul@codesourcery.com> - - * config/tc-arm.c (insns): Correct "sel" entry. - -2005-10-26 Jan Beulich <jbeulich@novell.com> - - * config/tc-i386.c (i386_operand): Don't check register prefix here. - (parse_real_register): Rename from parse_register. - (parse_register): New. - (i386_parse_name): New. - (md_operand): New. - (intel_e11): Don't tolerate registers in offset expressions anymore. - (intel_get_token): Don't check register prefix here. Copy the actual - register token, not the canonical register name. - * config/tc-i386.h (md_operand): Delete. - (i386_parse_name): Declare. - (md_parse_name): Define. - -2005-10-25 Arnold Metselaar <arnold.metselaar@planet.nl> - - * Makefile.am: Add Z80 cpu. - * Makefile.in: Regenerated. - * app.c (do_scrub_chars)<TC_Z80>: Correctly scrub "ex af,af'" - and disallow newlines in quoted strings. - * configure.tgt: Add z80-*-coff. - * config/obj-coff.h: Add format "coff-z80". - * doc/Makefile.am: Add c-z80.texi. - * doc/Makefile.in: Regenerated. - * doc/all.texi: Add Z80. - * doc/c-z80.texi: New file - * doc/as.texinfo: Add z80 options and some z80-related remarks. - * config/tc-z80.c: New file - * config/tc-z80.h: New file - * NEWS: Mention new support. - -2005-10-25 H.J. Lu <hongjiu.lu@intel.com> - - * write.c (adjust_reloc_syms): Undo the change made on - 2005-04-26 to allow local symbol set to undefined symbol. - -2005-10-24 H.J. Lu <hongjiu.lu@intel.com> - - * Makefile.am (bfin-parse.tab.h): Removed. - (bfin-parse.h): Added. - * Makefile.in: Regenerated. - -2005-10-25 Alan Modra <amodra@bigpond.net.au> - - * po/POTFILES.in: Regenerate. - * po/gas.pot: Regenerate. - -2005-10-24 Bernd Schmidt <bernd.schmidt@analog.com> - - * config/tc-bfin.c (Expr_Node_Gen_Reloc): If have symbol + constant, - make a single reloc with an offset rather than a stack. - * config/tc-bfin.h (MD_APPLY_SYM_VALUE): Define to 0. - -2005-10-24 Alexandre Oliva <aoliva@redhat.com> - - * read.c (potable): Add weakref. - (s_weakref): New. - * read.h (s_weakref): Declare. - * struc-symbol.h (struct symbol): Add sy_weakrefr and sy_weakrefd. - * symbols.c (colon): Clear weakrefr. - (symbol_find_exact): Rename to, and reimplement in terms of... - (symbol_find_exact_noref): ... new function. - (symbol_find): Likewise... - (symbol_find_noref): ... ditto. - (resolve_symbol_value): Resolve weakrefr without setting their - values. - (S_SET_WEAK): Call hook. - (S_GET_VALUE): Follow weakref link. - (S_SET_VALUE): Clear weakrefr. - (S_IS_WEAK): Follow weakref link. - (S_IS_WEAKREFR, S_SET_WEAKREFR, S_CLEAR_WEAKREFR): New. - (S_IS_WEAKREFD, S_SET_WEAKREFD, S_CLEAR_WEAKREFD): New. - (symbol_set_value_expression, symbol_set_frag): Clear weakrefr. - (symbol_mark_used): Follow weakref link. - (print_symbol_value_1): Print weak, weakrefr and weakrefd. - * symbols.h (symbol_find_noref, symbol_find_exact_noref): Declare. - (S_IS_WEAKREFR, S_SET_WEAKREFR, S_CLEAR_WEAKREFR): Declare. - (S_IS_WEAKREFD, S_SET_WEAKREFD, S_CLEAR_WEAKREFD): Declare. - * write.c (adust_reloc_syms): Follow weakref link. Do not - complain if target is undefined. - (write_object_file): Likewise. Remove weakrefr symbols. Drop - unreferenced weakrefd symbols. - * config/obj-coff.c (obj_frob_symbol): Do not force WEAKREFD - symbols EXTERNAL. - (pecoff_obj_set_weak_hook, pecoff_obj_clear_weak_hook): New. - * config/obj-coff.h (obj_set_weak_hook, obj_clear_weak_hook): Define. - * doc/as.texinfo: Document weakref. - * doc/internals.texi: Document new struct members, internal - functions and hooks. - -2005-10-24 Jie Zhang <jie.zhang@analog.com> - - * Makefile.am (bfin-parse.h): Renamed from bfin-parse.tab.h. - (EXTRA_DIST): Add bfin-parse.h and bfin-lex.c. - * Makefile.in: Regenerate. - * config/bfin-lex.l: Include bfin-parse.h instead of bfin-parse.tab.h. - * config/tc-bfin.c (md_chars_to_number): Change the type of first - argument from unsigned char * to char * to remove signedness warnings. - -2005-10-24 Jan Beulich <jbeulich@novell.com> - - * config/tc-ia64.c (enum reg_symbol): Delete IND_MEM. - (dot_rot): Change type of num_* variables. Check for positive count. - (ia64_optimize_expr): Re-structure. - (md_operand): Check for general register. - -2005-10-24 Jan Beulich <jbeulich@novell.com> - - * config/tc-ia64.c (declare_register): Call symbol_create. - (md_begin): Remove local variables total, ar_base, and cr_base. - Start loops for registers at their respective first one. Don't - update md.regsym for alias names. Generate alias name tp for r13. - -2005-10-21 DJ Delorie <dj@redhat.com> - - * config/tc-m32c.c (md_cgen_lookup_reloc): Add more relocs. Print - names unstead of numbers. - -2005-10-19 David Ung <davidu@mips.com> - - * config/tc-mips.c (append_insn): Convert MIPS16 jr/jalr jumps - into jrc/jalrc versions if ISA_MIPS32+ and not doing the swap, - hence avoiding to emit a nop. - -2005-10-19 Jie Zhang <jie.zhang@analog.com> - - * config/tc-bfin.c (md_begin): Let the lex_type of '(' be - LEX_BEGIN_NAME. - (bfin_start_line_hook): Remove the workaround for LSETUP(. - (bfin_name_is_register): Remove the workarounds for LSETUP( - and SAA(. - (bfin_start_label): Ditto. - -2005-10-18 Bob Wilson <bob.wilson@acm.org> - - * config/tc-xtensa.c (xtensa_end_directive): Restore - default_lit_sections regardless of use_literal_section. - -2005-10-18 Jie Zhang <jie.zhang@analog.com> - - * Makefile.am (bfin-lex.c): Update ylwrap invocation. - * Makefile.in: Regenerated. - -2005-10-18 Arnold Metselaar <arnold.metselaar@planet.nl> - - * doc/as.texinfo (.loc) Fix placement of '@end table'. - -2005-10-17 Bob Wilson <bob.wilson@acm.org> - - * config/xtensa-istack.h (TInsn): Replace dwarf2_line_info with an - unsigned line number. Do not include "dwarf2dbg.h". - * config/tc-xtensa.c (md_pseudo_table): Remove entry for "loc". - (xtensa_dwarf2_directive_loc, xtensa_dwarf2_emit_insn): Delete. - (xg_build_to_insn, xg_build_token_insn): Update TInsn uses. - (md_assemble): Use as_where instead of dwarf2_where. - (xg_assemble_vliw_tokens): Use unsigned line numbers instead of - dwarf2_line_infos. Change to call new_logical_line followed by - dwarf2_emit_insn. - -2005-10-14 Mike Frysinger <vapier@gentoo.org> - - * doc/as.texinfo (Section): Add missing ']' to .section example. - -2005-10-12 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - PR binutils/941 - * config/tc-hppa.c (pa_ip): Use as_bad instead of as_fatal when an - unknown opcode is found. - -2005-10-12 Mark Mitchell <mark@codesourcery.com> - - * NEWS: Mention @file. - -2005-10-12 Nick Clifton <nickc@redhat.com> - - * config/tc-avr.c: Convert to ISO C90 format. Fix formatting and - generally tidy up the code. - * config/tc-avr.h: Likewise. - -2005-10-12 Jan Beulich <jbeulich@novell.com> - - * config/tc-ia64.c (dot_reg_val): Use expression_and_evaluate. - (dot_pred_rel): Likewise. - (parse_operand): Likewise. - (ia64_unrecognized_line): Likewise. - (md_operand): Likewise. - -2005-10-11 Jan Beulich <jbeulich@novell.com> - - * expr.h (enum expr_mode): New. - (expression): Pass third argument to expr. - (expression_and_evaluate): New. - (deferred_expression): New. - (expr): Add third parameter. - (resolve_expression): New. - * struc-symbol.h (struct symbol): New members sy_volatile and - sy_forward_ref. - * symbols.c, symbols.h (symbol_clone): New. - (symbol_clone_if_forward_ref): New. - (snapshot_symbol): New. - (S_IS_VOLATILE): New. - (S_IS_FORWARD_REF): New. - (S_SET_VOLATILE): New. - (S_SET_FORWARD_REF): New. - * as.c (macro_expr): Use expression_and_evaluate. - * cond.c (s_if): Likewise. - (s_elseif): Likewise. - * dw2gencfi.c (cfi_parse_reg): Likewise. - * expr.c (operand): Add second parameter. Optionally call - deferred_expression. Pass mode argument to itself and md_parse_name. - Check mode before trying to evaluate symbol. Call - symbol_clone_if_forward_ref for both operands. - (expr): Add third parameter. Pass mode to operand and itself. - Optionally call resolve_expression. - (resolve_expression): New. - (get_single_number): Pass second argument to operand. - * read.c (potable): New entry for .eqv. - (read_a_source_file): Handle new == operator. - (get_absolute_expr): Use expression_and_evaluate. - (s_lsym): Likewise. - (assign_symbol): Rename second parameter. Call symbol_clone on - legal and illegal redefinition. Call S_SET_VOLATILE and - S_SET_FORWARD_REF depending on mode. - (s_set): Update description. - (s_space): Call resolve_expression. - (pseudo_set): Optionally call deferred_expression. Check - S_IS_FORWARD_REF before trying to simplify/resolve an expression. - (equals): Handle ==. - * config/tc-ia64.h (md_parse_name): Add mode parameter. - * config/tc-arc.c (arc_parse_cons_expression): Likewise. - * config/tc-m32r.h (md_parse_name): Likewise. - (m32r_parse_name): Likewise. - * config/tc-mmix.h (md_parse_name): Likewise. - * config/tc-mn10300.h (md_parse_name): Likewise. - (mn10300_parse_name): Likewise. - * config/tc-ppc.h (md_parse_name): Likewise. - * config/tc-sh.h (md_parse_name): Likewise. - (sh_parse_name): Likewise. - * config/tc-sh64.h (md_parse_name): Likewise. - (sh64_consume_datalabel): Likewise. - * config/tc-tic54x.h (md_parse_name): Likewise. - * config/tc-m32r.c (m32r_parse_name): Add mode parameter. Check it - before trying to evaluate symbol. - * config/tc-mn10300.c (mn10300_parse_name): Likewise. - * config/tc-sh.c (sh_parse_name): Likewise. - * config/tc-sh64.c (sh64_consume_datalabel): Add mode parameter. Pass - second argument to operandf. Pass mode parameter to sh_parse_name. - * doc/as.texinfo: Document .eqv and the == assignment operator. - -2005-10-10 Ian Lance Taylor <ian@airs.com> - - * Makefile.am (EXTRA_DIST): Remove bfin-lex.l and bfin-defs.h. - * Makefile.in: Regenerate. - -2005-10-10 Arnold Metselaar <arnold.metselaar@planet.nl> - - * expr.c (operator): Allow "!=" as a synonym for "<>". - * doc/as.texinfo (Infix Op): Mention "!=". - -2005-10-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - * config/tc-hppa.c (strict): Don't initialize. Update comment. - (pa_ip): Promote from PA 1.0 to 1.1 immediately when 1.1 match is - found. Simplify handling of "ma" and "mb" completers. - -2005-10-08 Paul Brook <paul@codesourcery.com> - - * config/tc-arm.c: Don't provide fallback default for CPU_DEFAULT. - (arm_arch_used, thumb_arch_used, selected_cpu, selected_cpu_name): - New variables. - (arm_cpu_option_table): Add canonical_name. - (arm_cpus): Populate canonical_name field. - (s_arm_eabi_attribute, s_arm_arch, s_arm_cpu, s_arm_fpu, - aeabi_set_public_attributes, arm_md_end): New functions. - (md_pseudo_table): Add "cpu", "arch", "fpu" and "eabi_attribute". - (md_assemble): Set thumb_arch_used and arm_arch_used. - (md_begin): Set defaut cpu if CPU_DEFAULT not defined. - * config/tc-arm.h (md_end): Define. - * doc/c-arm.texi: Document .cpu, .arch, .fpu and .eabi_attribute. - -2005-10-06 Khem Raj <kraj@mvista.com> - NIIBE Yutaka <gniibe@m17n.org> - - * config/tc-sh.c (allow_dollar_register_prefix): New variable. - (parse_reg_without_prefix): New function. - (parse_reg): Check for '$' register prefix if --allow-reg-prefix is - set. - (option md_longopts): Add allow-reg-prefix option. - * doc/c-sh.texi: Document --allow-reg-prefix option. - * NEWS: Mention the new switch. - -2005-10-03 Arnold Metselaar <arnold.metselaar@planet.nl> - - * doc/as.texinfo (Infix Ops): '<' and '>' are not shift - operators. - -2005-09-30 Sterling Augustine <sterling@tensilica.com> - Bob Wilson <bob.wilson@acm.org> - - * config/tc-xtensa.c (xtensa_frob_label): Disallow labels in bundles. - -2005-09-30 H.J. Lu <hongjiu.lu@intel.com> - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerated. - * aclocal.m4: Likewise. - -2005-09-30 Mark Mitchell <mark@codesourcery.com> - - * as.c (main): Use expandargv. - -2005-09-30 Jan Beulich <jbeulich@novell.com> - - * config/tc-tic4x.c (tic4x_set): Advance input_line_pointer past - (removed) comma. - -2005-09-30 Catherine Moore <clm@cm00re.com> - - * Makefile.am: Bfin support. - * Makefile.in: Regenerated. - * aclocal.m4: Regenerated. - * configure: Regenerated. - * configure.in: Bfin support. - * configure.tgt: Bfin support. - * config/bfin-aux.h: New file. - * config/bfin-defs.h: New file. - * config/bfin-lex.l: New file. - * config/bfin-parse.y: New file. - * config/tc-bfin.c: New file. - * config/tc-bfin.h: New file. - * doc/Makefile.am: Recognize c-bfin.texi. - * doc/Makefile.in: Regenerated. - * doc/all.texi: Bfin support. - * doc/as.texinfo: Likewise. - * doc/c-bfin.texi: Document bfin-specific syntax and - directives. - -2005-09-30 Paul Brook <paul@codesourcery.com> - - * config/tc-arm.c (opcode_tag): Add OT_cinfix3_legacy. - (opcode_lookup): Handle OT_cinfix3_legacy. Revert earlier change for - normal infix conditions. - (C3E): Include Thumb-2 definition. - (CL, cCL): Define. - (insns): Use them for legacy mnemonics. - -2005-09-30 Matthias Kurz <mk@baerlap.north.de> - - * asintl.h: Prevent the inclusion of <libintl.h> from the Solaris - version of <locale.h> when ENABLE_NLS is not defined. - -2005-09-29 Jan Beulich <jbeulich@novell.com> - - * config/tc-ia64.c (parse_operands): Always parse first operand of - alloc. - -2005-09-29 Arnold Metselaar <arnold.metselaar@planet.nl> - Alan Modra <amodra@bigpond.net.au> - - * app.c (do_scrub_chars): Match open and close quote of strings. - Remove redundant EOF test in case 7. - -2005-09-28 Jan Beulich <jbeulich@novell.com> - - * config/tc-i386.c (reloc): Disable signedness check for 4-byte - relocations in 16- and 32-bit modes. - (i386_displacement): Make pc-relative branch handling dependent - upon operand (rather than address) size. - -2005-09-28 Jan Beulich <jbeulich@novell.com> - - * dw2gencfi.c (dot_cfi): Call ignore_rest_of_line when not fully - parsing the input. - (dot_cfi_startproc): Likewise. - (dot_cfi_endproc): Likewise. Also check no extra input was given. - (dot_cfi_escape): Likewise. - -2005-09-28 Jan Beulich <jbeulich@novell.com> - - * config/tc-i386.h (x86_cons_fix_new): Declare unconditionally. - (TC_CONS_FIX_NEW): Define unconditionally. - (x86_pe_cons_fix_new): Remove. - * config/tc-i386.c (signed_cons): New. - (md_pseudo_table): Add slong. - (x86_cons_fix_new): Declare unconditionally. - (x86_pe_cons_fix_new): Merge into x86_cons_fix_new. - (tc_gen_reloc): Also consider BFD_RELOC_X86_64_32S for gotpc - conversion. - -2005-09-28 Arnold Metselaar <arnold.metselaar@planet.nl> - - * app.c (do_scrub_chars <LEX_IS_SYMBOL_COMPONENT>): Check for full - buffer after copying string. - -2005-09-27 Paul Brook <paul@codesourcery.com> - - * config/arm.c (arm_cpus): Add more cpu names. - * doc/c-arm.texi: Document them. - -2005-09-21 Alan Modra <amodra@bigpond.net.au> - - * read.c (pseudo_set): Don't set undefined symbols to expr_section. - -2005-09-20 Richard Henderson <rth@redhat.com> - - * dwarf2dbg.c (process_entries): Fix uninitialized variable warning. - -2005-09-20 Richard Henderson <rth@redhat.com> - - * dwarf2dbg.c (struct line_entry): Replace frag and frag_ofs - with label. - (dwarf2_loc_mark_labels): New. - (dwarf2_gen_line_info_1): Split out of ... - (dwarf2_gen_line_info): ... here. Create the temp symbol here. - (dwarf2_emit_label): New. - (dwarf2_directive_loc_mark_labels): New. - (out_set_addr): Take a symbol instead of frag+ofs. - (relax_inc_line_addr): Likewise. - (emit_inc_line_addr): Assert delta non-negative. - (process_entries): Remove dead code. Update to work with temp - symbols instead of frag+ofs. - * dwarf2dbg.h (dwarf2_directive_loc_mark_labels): Declare. - (dwarf2_emit_label, dwarf2_loc_mark_labels): Declare. - * config/obj-elf.c (elf_pseudo_tab): Add loc_mark_labels. - * config/obj-elf.h (obj_frob_label): New. - * config/tc-alpha.c (alpha_define_label): Call dwarf2_emit_label. - * config/tc-arm.c, config/tc-hppa.c, config/tc-m68k.c, - config/tc-mips.c, config/tc-ppc.c, config/tc-sh.c, config/tc-xtensa.c: - Similarly in the respective tc_frob_label implementation functions. - * config/tc-i386.c (md_pseudo_table): Move file and loc to - non-elf section; add loc_mark_labels. - * config/tc-ia64.c (struct label_fix): Add dw2_mark_labels. - (ia64_flush_insns): Check for marked labels; emit line entry if so. - (emit_one_bundle): Similarly. - (ia64_frob_label): Record marked labels. - * config/tc-m68hc11.h (tc_frob_label): Remove. - * config/tc-ms1.c (md_pseudo_table): Remove file and loc. - * config/tc-sh.h (tc_frob_label): Pass sym to sh_frob_label. - * config/tc-sh64.h (tc_frob_label): Likewise. - * doc/as.texinfo (LNS directives): Docuement .loc_mark_blocks. - -2005-09-20 Alan Modra <amodra@bigpond.net.au> - - * read.c (pseudo_set): Set segment of expression syms to expr_section. - -2005-09-14 Jan Beulich <jbeulich@novell.com> - - * config/tc-i386.c (tc_x86_regname_to_dw2regnum): Add selector - registers, floating point control and status words, and mxcsr as - well as (for 64-bit code) segment base registers and rflags. - -2005-09-09 Dmitry Diky <diwil@spec.ru> - - * config/tc-msp430.c (msp430_operands): Undo last changes. Instead... - (msp430_relax_frag): add a guard check to ensure that final fr_subtype - has been reached. - -2005-09-08 Chao-ying Fu <fu@mips.com> - - * doc/as.texinfo: Document -mdsp and -mno-dsp options. - * doc/c-mips.texi: Likewise, and document ".set dsp" and ".set nodsp" - directives. - -2005-09-08 Paul Brook <paul@codesourcery.com> - - * config/tc-arm.c (do_smi, do_t_smi): Rename ... - (do_smc, do_t_smc): ... to this. - (insns): Remane smi to smc. - (md_apply_fix, tc_gen_reloc): Rename BFD_RELOC_ARM_SMI to - BFD_RELOC_ARM_SMC. - -2005-09-07 Richard Henderson <rth@redhat.com> - - * dwarf2dbg.c (dwarf2_where): Set line->isa. - (dwarf2_set_isa): New. - (dwarf2_directive_loc): Rearrange to allow all options on one line. - * dwarf2dbg.h (dwarf2_set_isa): Declare. - * doc/as.texinfo: Update .loc documentation. - -2005-09-07 Richard Henderson <rth@redhat.com> - - * dwarf2dbg.c: Include safe-ctype.h. - (DWARF2_LINE_OPCODE_BASE): Bump to 13. - (current): Initialize. - (dwarf2_emit_insn): Clear DWARF2_FLAG_BASIC_BLOCK, - DWARF2_FLAG_PROLOGUE_END, DWARF2_FLAG_EPILOGUE_BEGIN. - (dwarf2_directive_file): Cope with invalid filename. - (dwarf2_directive_loc): Add handling for basic_block, prologue_end, - epilogue_begin, is_stmt, isa. - (emit_inc_line_addr): Move line_delta == 0, addr_delta == 0 special - case down lower. - (process_entries): Handle isa, DWARF2_FLAG_PROLOGUE_END, - and DWARF2_FLAG_EPILOGUE_BEGIN. - (out_debug_line): Emit sizes for DW_LNS_set_prologue_end, - DW_LNS_set_epilogue_begin, DW_LNS_set_isa. - * dwarf2dbg.h (DWARF2_FLAG_IS_STMT): Rename from DWARF2_FLAG_BEGIN_STMT. - (DWARF2_FLAG_BASIC_BLOCK): Rename from DWARF2_FLAG_BEGIN_BLOCK. - (DWARF2_FLAG_PROLOGUE_END, DWARF2_FLAG_EPILOGUE_BEGIN): New. - (struct dwarf2_line_info): Add isa member. - * doc/as.texinfo (LNS directives): New node. - -2005-09-07 David Ung <davidu@mips.com> - - * config/tc-mips.c (append_insn): Undo last change. Instead add - guard to suppress calling frag_grow if the current instruction is - one that allows a delay slot. - -2005-09-06 Chao-ying Fu <fu@mips.com> - - * config/tc-mips.c (mips_set_options): Add ase_mt for MT instructions. - (mips_opts): Add -1 to initialize ase_mt. - (file_ase_mt): New variable for -mmt. - (CPU_HAS_MT): New define. - (validate_mips_insn): Add supports for +t, +T, !, $, *, &, g operand - formats. - (mips_ip): Check ase_mt to enable MT instructions. - Handle !, $, *, &, +T, +t, g operand formats. - For "mftc1", "mfthc1", "cftc1", "mttc1", "mtthc1", "cttc1", we allow - odd float registers. - (OPTION_MT, OPTION_NO_MT): New define. - (OPTION_COMPAT_ARCH_BASE): Change because of inserting MT define. - (md_parse_option): Parse OPTION_MT and OPTION_NO_MT. - (mips_after_parse_args): Set ase_mt based on CPU. - (s_mipsset): Handle ".set mt" and ".set nomt". - (mips_elf_final_processing): Remind of adding new flag for MT ASE. - (md_show_usage): Show usage of -mmt and -mno-mt. - * doc/as.texinfo: Document -mmt and -mno-mt options. - * doc/c-mips.texi: Likewise, and document ".set mt" and ".set nomt" - directives. - -2005-09-06 Paul Brook <paul@codesourcery.com> - - * config/tc-arm.c (arm_it): Add relax field. - (T16_32_TAB): Add addi, addis, add_pc, add_sp, dec_sp, inc_sp, - b, bcond, ldr_pc, ldr_pc2, ldr_sp, str_sp, subi, subis. - (do_t_add_sub, do_t_addr, do_t_branch, do_t_ldst, - do_t_mov_cmp): Allow relaxation. - (output_relax_insn): New function. - (put_thumb32_insn): New function. - (output_inst): Use new functions. - (md_assemble): Don't throw error on relaxable instructions. - (insns): Change "b" entry from TCE(...) to tCE(...). - (md_estimate_size_before_relax): Return 2. - (md_convert_frag, relax_immediate, relax_adr, relax_addsub, - relax_branch, arm_relax_frag): New functions. - (arm_force_relocation): Return 0 for Thumb-2 immediate operand - relocations. - * config/tc-arm.h (md_convert_frag): Remove definition. - (md_relax_frag): Define. - (arm_relax_frag): Add prototype. - -2005-09-02 Paul Brook <paul@codesourcery.com> - - * config/tc-arm.c (do_rn_rd): Enforce SWP operand constraints. - -2005-09-02 Paul Brook <paul@codesourcery.com> - - * config/tc-arm.c (encode_arm_cp_address): Use - BFD_RELOC_ARM_T32_CP_OFF_IMM in thumb mode. - (do_iwmmxt_wldstbh): Use BFD_RELOC_ARM_T32_CP_OFF_IMM_S2 in thumb - mode. - (md_assemble): Only allow coprocessor instructions when Thumb-2 is - available. - (cCE, cC3): Define. - (insns): Use them for coprocessor instructions. - (md_pcrel_from_section): Handle BFD_RELOC_ARM_T32_CP_OFF_IMM. - (get_thumb32_insn): New function. - (put_thumb32_insn): New function. - (md_apply_fix): Handle BFD_RELOC_ARM_T32_CP_OFF_IMM and - BFD_RELOC_ARM_T32_CP_OFF_IMM_S2. - -2005-09-02 Paul Brook <paul@codesourcery.com> - - * config/tc-arm.c (opcode_lookup): Look for infix opcode when - incorrect suffix matches. - -2005-09-01 David Ung <davidu@mips.com> - - * config/tc-mips.c (append_insn): Correctly handle mips16 case - when the frags are different for the 2 instructions we want to - swap. If the lengths of the 2 instructions are not the same, we - won't do the swap but emit an nop. - -2005-09-01 Dmitry Diky <diwil@spec.ru> - - * config/tc-msp430.c (msp430_operands): Emit dwarf2_emit_insn() - as appropriate. Change frag_variant() to frag_var() for relaxes. - -2005-08-29 Nick Clifton <nickc@redhat.com> - - * write.c (generic_force_reloc): Do not call S_FORCE_RELOC if - there is no symbol. - -2005-08-26 Jan Beulich <jbeulich@novell.com> - - * config/tc-i386.c (intel_e09): Set JumpAbsolute when seeing a PTR- - qualified operand of a branch. - (intel_bracket_expr): Set JumpAbsolute here... - (intel_e11): ... rather than here. - -2005-08-26 Christian Groessler <chris@groessler.org> - - * configure.tgt: Set bfd_gas also for z8k cpu. - * config/tc-z8k.c (s_segm): Use bfd_set_arch_mach to set machine - type. - (newfix): Adapt to bfd reloc types. - (build_bytes): Adapt to bfd reloc types. Ensure that enough space - is available in the current frag. - (md_convert_frag): Adapt function parameters. - (tc_gen_reloc): New function. - (md_section_align): Use bfd_get_section_alignment. - (md_apply_fix): Adapt to bfd reloc types. Fix handling of - BFD_RELOC_Z8K_IMM4L, BFD_RELOC_8, BFD_RELOC_16, and BFD_RELOC_32 - relocations. - * config/tc-z8k.h (TARGET_ARCH): Define. - (tc_fix_adjustable): Define. - -2005-08-25 Chao-ying Fu <fu@mips.com> - - * config/tc-mips.c (mips_set_options): Add ase_dsp for DSP instructions. - (mips_opts): Add -1 to initialize ase_dsp. - (file_ase_dsp): New variable for -mdsp. - (CPU_HAS_DSP): New define. - (validate_mips_insn): Add supports for 3, 4, 5, 6, 7, 8, 9, 0, ', :, @ - operand formats. - (mips_ip): Add min_range and max_range for checking singed numbers. - Check ase_dsp to enable DSP instructions. - Handle 3, 4, 5, 6, 7, 8, 9, 0, ', :, @ operand formats. - (OPTION_DSP, OPTION_NO_DSP): New define. - (OPTION_COMPAT_ARCH_BASE): Change because of inserting DSP define. - (md_parse_option): Parse OPTION_DSP and OPTION_NO_DSP. - (mips_after_parse_args): Set ase_dsp based on CPU. - (s_mipsset): Handle ".set dsp" and ".set nodsp". - (mips_elf_final_processing): Remind of adding new flag for DSP ASE. - (md_show_usage): Show usage of -mdsp and -mno-dsp. - -2005-08-23 David Ung <davidu@mips.com> - - * config/tc-mips.c (mips_cpu_info_table): Add 5kf to the table of - cpu names. - -2005-08-23 Alan Modra <amodra@bigpond.net.au> - - PR 1036 - * config/tc-ppc.c (ppc_symbol_chars): Add '%' and '['. - -2005-08-23 Phil Edwards <phil@codesourcery.com> - - * configure.tgt (*-*-vxworks): Match vxworks* instead. - -2005-08-22 Jan Beulich <jbeulich@novell.com> - - * config/tc-i386.c (object_64bit): New. - (i386_target_format): Initialize it. - (output_disp): Use object_64bit for relocation type determination. - (output_imm): Likewise. - (i386_validate_fix): Likewise. - (tc_gen_reloc): Likewise. - (lex_got): Likewise. Remove static mode_name. Change array size - of gotrel's rel field, and adjust its initializer. Adjust diagnostic. - (x86_cons): Use object_64bit for deciding whether quad fields can - have relocations. - -2005-08-18 Christian Groessler <chris@groessler.org> - - * config/tc-h8300.h: Remove TC_RELOC_MANGLE/tc_reloc_mangle. - * config/tc-mcore.h: Likewise. - * config/tc-z8k.h: Likewise. - * config/tc-z8k.c: Likewise. - * config/tc-sh.h: Remove TC_RELOC_MANGLE and - sh_coff_reloc_mangle declaration. - * config/tc-sh.c: (md_apply_fix): Fix comment for case - BFD_RELOC_SH_USES. - -2005-08-18 Kaz Kojima <kkojima@rr.iij4u.or.jp> - - * config/tc-sh64.c (sh64_target_format): Check preset_target_arch - to confirm that no ISA is specified. - -2005-08-18 Nick Clifton <nickc@redhat.com> - - * write.c (relax_segment): Count the number of frags being - processed and use this to compute a maximum limit on the number of - iterations that will be allowed when attempting to relax the - segment. - -2005-08-17 Danny Smith <dannysmith@users.sourceforge.net> - - * config/obj-coff.c (obj_coff_weak): Set auxiliary record - of NT weak externals to IMAGE_WEAK_EXTERN_SEARCH_NOLIBRARY. - -2005-08-16 Alan Modra <amodra@bigpond.net.au> - - * config/tc-ppc.c (ppc_set_cpu): Don't select 64-bit based on - default cpu. - -2005-08-15 Paul Brook <paul@codesourcery.com> - - * config/tc-arm.c (do_t_mov_cmp): Fix encoding of i16-bit conditional - instructions. - (do_t_mvn_tst, do_t_neg, do_t_shift): Ditto. - -2005-08-15 Daniel Jacobowitz <dan@codesourcery.com> - - * config/tc-ppc.c (parse_cpu): Add -me300 support. - (md_show_usage): Likewise. - * doc/c-ppc.texi (PowerPC-Opts): Document it. - -2005-08-12 Martin Schwidefsky <schwidefsky@de.ibm.com> - - * config/tc-s390.c (md_parse_option): Add cpu type z9-109. - (md_gather_operands): Add support for optional operands. - -2005-08-12 Dmitry Diky <diwil@spec.ru> - * config/tc-msp430.c (msp430_enable_relax): New flag. - (msp430_enable_polys): Likewise. - (OPTION_RELAX): New option. - (OPTION_POLYMORPHS): Likewise. - (md_longopts): New long options. - (md_show_usage): Updated. - (md_parse_option): Add new options handler. - (msp430_operands): Add check if polymorph insns are enabled. - (msp430_force_relocation_local): New function. - (md_apply_fix): Now delete relocs according to new flags combination. - (msp430_relax_frag): Convert long branches to short branches only if - flag msp430_enable_relax is set. - * config/tc-msp430.h (TC_FORCE_RELOCATION_LOCAL): Defined. - (msp430_force_relocation_local): Likewise. - * doc/c-msp430.texi: Describe new options. - -2005-08-11 Ian Lance Taylor <ian@airs.com> - - * Makefile.am ($(srcdir)/make-gas.com): Remove target. - (stamp-mk.com): Likewise. - (EXTRA_DIST): Remove make-gas.com from list. - (MOSTLYCLEANFILES): Remove stamp-mk.com from list. - * Makefile.in: Regenerate. - -2005-08-11 Hans-Peter Nilsson <hp@axis.com> - - * subsegs.c (subseg_change): Move declaration of seginfo to before - first statement. - -2005-08-11 Alan Modra <amodra@bigpond.net.au> - - * README-vms: Delete. - * config-gas.com: Delete. - * makefile.vms: Delete. - * vmsconf.sh: Delete. - * config/atof-tahoe.c: Delete. - * config/m88k-opcode.h: Delete. - * config/obj-bout.c: Delete. - * config/obj-bout.h: Delete. - * config/obj-hp300.c: Delete. - * config/obj-hp300.h: Delete. - * config/tc-a29k.c: Delete. - * config/tc-a29k.h: Delete. - * config/tc-h8500.c: Delete. - * config/tc-h8500.h: Delete. - * config/tc-m88k.c: Delete. - * config/tc-m88k.h: Delete. - * config/tc-tahoe.c: Delete. - * config/tc-tahoe.h: Delete. - * config/tc-tic80.c: Delete. - * config/tc-tic80.h: Delete. - * config/tc-w65.c: Delete. - * config/tc-w65.h: Delete. - * config/te-aux.h: Delete. - * config/te-delt88.h: Delete. - * config/te-delta.h: Delete. - * config/te-dpx2.h: Delete. - * config/te-hp300.h: Delete. - * config/te-ic960.h: Delete. - * config/vms-a-conf.h: Delete. - * doc/c-a29k.texi: Delete. - * doc/c-h8500.texi: Delete. - * doc/c-m88k.texi: Delete. - * README: Remove obsolete examples, and list of supported targets. - * Makefile.am: Remove a29k, h8500, m88k, tahoe, tic80, w65, - bout and hp300 support. - (DEP_FLAGS): Don't define BFD_ASSEMBLER. - * configure.in: Remove --enable-bfd-assembler, need_bfd, - primary_bfd_gas. - * configure.tgt: Remove a29k, h8300-coff, h8500-*, i960 non-elf, - m68k non bfd, m88k, or32-coff, tic80-*, vax non-bfd, w65k-*, *-nindy. - * as.c: Remove all non-BFD_ASSEMBLER code, support for above targets. - * as.h: Likewise. - * dw2gencfi.c: Likewise. - * dwarf2dbg.c: Likewise. - * ehopt.c: Likewise. - * input-file.c: Likewise. - * listing.c: Likewise. - * literal.c: Likewise. - * messages.c: Likewise. - * obj.h: Likewise. - * output-file.c: Likewise. - * read.c: Likewise. - * stabs.c: Likewise. - * struc-symbol.h: Likewise. - * subsegs.c: Likewise. - * subsegs.h: Likewise. - * symbols.c: Likewise. - * symbols.h: Likewise. - * tc.h: Likewise. - * write.c: Likewise. - * write.h: Likewise. - * config/aout_gnu.h: Likewise. - * config/obj-aout.c: Likewise. - * config/obj-aout.h: Likewise. - * config/obj-coff.c: Likewise. - * config/obj-coff.h: Likewise. - * config/obj-evax.h: Likewise. - * config/obj-ieee.h: Likewise. - * config/tc-arm.c: Likewise. - * config/tc-arm.h: Likewise. - * config/tc-avr.c: Likewise. - * config/tc-avr.h: Likewise. - * config/tc-crx.h: Likewise. - * config/tc-d10v.h: Likewise. - * config/tc-d30v.h: Likewise. - * config/tc-dlx.h: Likewise. - * config/tc-fr30.h: Likewise. - * config/tc-frv.h: Likewise. - * config/tc-h8300.c: Likewise. - * config/tc-h8300.h: Likewise. - * config/tc-hppa.h: Likewise. - * config/tc-i370.h: Likewise. - * config/tc-i386.c: Likewise. - * config/tc-i386.h: Likewise. - * config/tc-i860.h: Likewise. - * config/tc-i960.c: Likewise. - * config/tc-i960.h: Likewise. - * config/tc-ip2k.h: Likewise. - * config/tc-iq2000.h: Likewise. - * config/tc-m32c.h: Likewise. - * config/tc-m32r.h: Likewise. - * config/tc-m68hc11.h: Likewise. - * config/tc-m68k.c: Likewise. - * config/tc-m68k.h: Likewise. - * config/tc-maxq.c: Likewise. - * config/tc-maxq.h: Likewise. - * config/tc-mcore.c: Likewise. - * config/tc-mcore.h: Likewise. - * config/tc-mn10200.h: Likewise. - * config/tc-mn10300.c: Likewise. - * config/tc-mn10300.h: Likewise. - * config/tc-ms1.h: Likewise. - * config/tc-msp430.c: Likewise. - * config/tc-msp430.h: Likewise. - * config/tc-ns32k.c: Likewise. - * config/tc-ns32k.h: Likewise. - * config/tc-openrisc.h: Likewise. - * config/tc-or32.c: Likewise. - * config/tc-or32.h: Likewise. - * config/tc-ppc.c: Likewise. - * config/tc-ppc.h: Likewise. - * config/tc-s390.h: Likewise. - * config/tc-sh.c: Likewise. - * config/tc-sh.h: Likewise. - * config/tc-sparc.c: Likewise. - * config/tc-tic30.c: Likewise. - * config/tc-tic30.h: Likewise. - * config/tc-tic4x.c: Likewise. - * config/tc-tic4x.h: Likewise. - * config/tc-tic54x.c: Likewise. - * config/tc-tic54x.h: Likewise. - * config/tc-v850.h: Likewise. - * config/tc-vax.c: Likewise. - * config/tc-vax.h: Likewise. - * config/tc-xstormy16.h: Likewise. - * config/tc-xtensa.h: Likewise. - * config/tc-z8k.c: Likewise. - * config/tc-z8k.h: Likewise. - * config/vms-a-conf.h - * doc/Makefile.am: Likewise. - * doc/all.texi: Likewise. - * doc/as.texinfo: Likewise. - * doc/internals.texi: Likewise. - * doc/Makefile.in: Regenerate. - * Makefile.in: Regenerate. - * configure: Regenerate. - * config.in: Regenerate. - * po/POTFILES.in: Regenerate. - -2005-08-09 Nick Clifton <nickc@redhat.com> - - PR 1070 - * macro.c (getstring): Do not treat round parentheses exactly the - same as angle brackets - the parentheses need to be preserved and - passed on to the macro processing code. - -2005-08-08 Nick Clifton <nickc@redhat.com> - - * config/tc-msp430.c (MSP430_ISA_21): Define. - (mcu_types): Add entries for msp430x21xx variants. - -2005-08-08 Nick Clifton <nickc@redhat.com> - - PR 1070 - * macro.c (getstring): Treat round parentheses in the same way as - angle brackets. - (get_any_string): Likewise. - -2005-08-07 H.J. Lu <hongjiu.lu@intel.com> - - PR gas/1118 - * as.c (parse_args): Handle -al=<FILE>. - -2005-08-07 Nick Clifton <nickc@redhat.com> - - * read.c (s_app_line): Accept a line number of 0 for compatibility - with gcc's output for assembler-with-cpp files. - -2005-08-05 Paul Brook <paul@codesourcery.com> - - * config/tc-arm.c (current_it_mask, current_cc): New variables. - (do_t_add_sub): Use correct encodings inside IT block. - (do_t_arit3c): Ditto. - (do_t_it): Simplify logic. Set current_it_mask and current_cc. - (md_assemble): Verify conditional suffixes agains IT blocks. - -2005-08-05 Paul Brook <paul@codesourcery.com> - - * config/tc-arm.c (encode_thumb32_immediate): Only accept shifted - constants. - (encode_thumb32_shifted_operand): Prohibit register shifts. - (encode_thumb32_addr_mode): Fix typo. - (insns): Correct thumb2 ldm and stm opcodes. - -2005-08-02 Khem Raj <kraj@mvista.com> - - * config/tc-arm.c (do_iwmmxt_wldstd): Correct the offset range for - WLDRD/WSTRD instruction. - -2005-08-02 Alan Modra <amodra@bigpond.net.au> - - * config/tc-ppc.c (md_apply_fix <ELF>): Don't warn on overflow - if emitting a reloc. - -2005-07-29 Thiemo Seufer <ths@networkno.de> - - * config/tc-mips.c (s_mips_globl): Allow multiple symbols per .globl. - -2005-07-29 Paul Brook <paul@codesourcery.com> - - * config/tc-arm.c (T16_32_TAB): Add "addr". Fix encoding of push and - pop. - (do_t_addr): Implement 32-bit variant. - (do_t_push_pop): Make some errors warnings. Handle single register - 32-bit case. - (insns): Use tCE for adr. - (md_pcrel_from_section): Handle BFD_RELOC_ARM_T32_ADD_PC12. - (md_apply_fix): Ditto. - -2005-07-29 Paul Brook <paul@codesourcery.com> - - * config/tc-arm.c (parse_tb): New function. - (enum operand_parse_code): Add OP_TB. - (parse_operands): Handle OP_TB. - (do_t_add_sub_w, do_t_tb): New functions. - (insns): Add entries for addw, subw, tbb and tbh. - (md_apply_fix): Handle BFD_RELOC_ARM_T32_IMM12. - -2005-07-29 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> - - * config/tc-m32r.c (m32r_check_fixup): Fixed X_op check. - -2007-07-27 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-i386.c (handle_large_common): Declare only for ELF. - -2005-07-27 Jan Beulich <jbeulich@novell.com> - - * config/tc-ia64.h (unw_r_record): Change type of fr_mem to unsigned - int. - (unw_p_record): Remove unused/redundant fields imask and rmask. - Combine spoff and pspoff into a union. Combine gr and br into a - union. Change type of grmask and brmask to unsigned char. Change type - of frmask to unsigned int. - (unw_x_record): Combine spoff, pspoff, and treg into a union. - * config/tc-ia64.c (unwind): New field 'pending_saves'. - (check_pending_save): New. - (alloc_record): Clear out entire record. - (output_psp_gr): Use renamed structure fields. - (output_psp_sprel): Likewise. - (output_rp_gr): Likewise. - (output_rp_br): Likewise. - (output_rp_psprel): Likewise. - (output_rp_sprel): Likewise. - (output_pfs_gr): Likewise. - (output_pfs_psprel): Likewise. - (output_pfs_sprel): Likewise. - (output_preds_gr): Likewise. - (output_preds_psprel): Likewise. - (output_preds_sprel): Likewise. - (output_spill_base): Likewise. - (output_unat_gr): Likewise. - (output_unat_psprel): Likewise. - (output_unat_sprel): Likewise. - (output_lc_gr): Likewise. - (output_lc_psprel): Likewise. - (output_lc_sprel): Likewise. - (output_fpsr_gr): Likewise. - (output_fpsr_psprel): Likewise. - (output_fpsr_sprel): Likewise. - (output_priunat_gr): Likewise. - (output_priunat_psprel): Likewise. - (output_priunat_sprel): Likewise. - (output_bsp_gr): Likewise. - (output_bsp_psprel): Likewise. - (output_bsp_sprel): Likewise. - (output_bspstore_gr): Likewise. - (output_bspstore_psprel): Likewise. - (output_bspstore_sprel): Likewise. - (output_rnat_gr): Likewise. - (output_rnat_psprel): Likewise. - (output_rnat_sprel): Likewise. - (output_spill_psprel): Likewise. - (output_spill_sprel): Likewise. - (output_spill_reg): Likewise. - (output_fr_mem): Likewise. Allocate one unwind record per set mask - bit. - (output_frgr_mem): Likewise. - (output_gr_mem): Likewise. - (output_br_mem): Likewise. - (output_gr_gr): Likewise. - (output_br_gr): Likewise. - (fixup_unw_records): Likewise. - (process_one_record): Use renamed structure fields. For gr_gr and - br_gr, collect mask from chain of records before output. - (in_prologue): Simplify and eliminate early returns. Call - check_pending_save. - (in_body): Simplify and eliminate early returns. - (dot_body): Call check_pending_save. - (md_assemble): Update comment. Deal with pending saves. - -2005-07-26 Jan Beulich <jbeulich@novell.com> - - * config/tc-i386.c (optimize_imm): Calculate candidate immediates - mask from guessed suffix, but mask out other immediate types only - if at least on candidate is valid for the insn. - -2005-07-25 DJ Delorie <dj@redhat.com> - - * config/tc-m32c.c (md_cgen_lookup_reloc): Add 8 bit operands. - Support %mod() modifiers from opcodes. - * doc/c-m32c.texi (M32C-Modifiers): New section. - -2005-07-25 Jan Hubicka <jh@suse.cz> - H.J. Lu <hongjiu.lu@intel.com> - - * config/obj-elf.c: Include "elf/x86-64.h" if TC_I386 is - defined. - (elf_com_section_ptr): New. - (elf_begin): Set elf_com_section_ptr to bfd_com_section_ptr. - (elf_common_parse): Make it global. Use elf_com_section_ptr - instead of bfd_com_section_ptr. - (obj_elf_change_section): Handle x86-64 large bss sections. - - * config/obj-elf.h (elf_com_section_ptr): New. - (elf_common_parse): New. - - * config/tc-i386.c (handle_large_common): New. - (md_pseudo_table): Add "largecomm". - (x86_64_section_letter): New. - (x86_64_section_word): New. - - * config/tc-i386.h (x86_64_section_word): New. - (x86_64_section_letter): New. - (md_elf_section_letter): New. Defined. - (md_elf_section_word): Likewise. - -2005-07-21 Ralf Corsepius <ralf.corsepius@rtems.org> - - * configure.tgt: Remove i386-*-rtemself*. - Remove sparc-*-rtemself*. - -2005-07-21 Ben Elliston <bje@gnu.org> - - * config/tc-m68k.h: Remove TE_LYNX conditional code. - -2005-07-21 Paul Brook <paul@codesourcery.com> - - * config/tc-arm.c (encode_thumb32_addr_mode): Don't set - inst.reloc.pc_rel. - -2005-07-20 Tavis Ormandy <taviso@gentoo.org> - - * messages.c: Use vsnprintf instead of vsprintf. - -2005-07-20 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> - - * config/tc-m32r.c (tc_gen_reloc): Check BFD_RELOC_32_PCREL and - BFD_RELOC_16_PCREL to Support R_M32R_REL32. - -2005-07-18 Nick Clifton <nickc@redhat.com> - - * configure.tgt: Restore alpha ordering to list of arches. - -2005-07-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - * tc-hppa.c (pa_ip): Reject match for '#' immediate if not pa20. - -2005-07-18 Jan Beulich <jbeulich@novell.com> - - * config/tc-i386.c (md_begin): Use IS_ELF. - (tc_i386_fix_adjustable): Likewise. - (md_estimate_size_before_relax): Likewise. - (md_apply_fix): Likewise. - (i386_target_format): Likewise. - (lex_got): Define to NULL when not ELF or when LEX_AT. Check IS_ELF. - (i386_immediate): Remove #ifdef LEX_AT. - (i386_displacement): Likewise. - * config/tc-i386.h (x86_cons): Prototype only when ELF and when not - LEX_AT. - -2005-07-18 Jan Beulich <jbeulich@novell.com> - - * config/tc-i386.c (reloc): Convert to ISO C90. Change first - parameter to unsigned. Parameter sign now is tristate - zero/ - positive mean unsigned/signed, negative means signedness doesn't - matter. Check field size, - signedness, and pcrel-ness are in agreement between relocated field - and relocation type. Adjust diagnostics. - (optimize_imm): And type mask of operand instead of overwriting it. - (lex_got): Convert to ISO C90. Add third parameter. Add new field to - local structure and initialize gotrel accordingly. Pass caller as - mask of types that the operator can match. - (x86_cons_fix_new): Let reloc know that signedness of relocation - doesn't matter. - (x86_pe_cons_fix_new): Likewise. - (x86_cons): Pass additional argument to lex_got. - (i386_immediate): New local variable 'types'. Pass its address as - additional argument to lex_got. Mask out operand types not supported - befoe returning. - (i386_displacement): Likewise. Set bigdisp to all types supported in - 64-bit mode, combining the previously split initialization. - -2005-07-18 Jan Beulich <jbeulich@novell.com> - - * config/tc-i386.c (parse_insn): Reject prefix if unavailable in - current mode. - -2005-07-16 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - * config/tc-hppa.c (pa_ip): Search entire mnemonic before considering - promoted match. - -2005-07-16 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - -2007-07-15 H.J. Lu <hongjiu.lu@intel.com> - - * gas/config/tc-i386.h (CpuVMX): New. - (CpuUnknownFlags): Add CpuVMX. - -2005-07-14 Jim Blandy <jimb@redhat.com> - - Add support for the Renesas M32C. - * Makefile.am (CPU_TYPES): List m32c. - (TARGET_CPU_CFILES): List config/tc-m32c.c. - (TARGET_CPU_HFILES): List config/tc-m32c.h. - * configure.in: Add case for m32c. - * configure.tgt: Add cases for m32c and m32c-*-elf. - * configure: Regenerated. - * config/tc-m32c.c, config/tc-m32c.h: New files. - * doc/Makefile.am (CPU_DOCS): Add c-m32c.texi. - * doc/Makefile.in: Regenerated. - * doc/all.texi: Set M32C. - * doc/as.texinfo: Add text for the M32C-specific options and line - comment characters, and refer to c-m32c.texi. - * doc/c-m32c.texi: New file. - -2005-07-14 Nick Clifton <nickc@redhat.com> - - PR 1069 - * config/tc-crx.c (reset_vars): Use strncpy to prevent overflowing - the ins_parse buffer. - -2005-07-10 Ralf Corsepius <ralf.corsepius@rtems.org> - - * configure.tgt: Remove a29k-*-rtems*, hppa*-*-rtems*,i386-go32-rtems*, - i386-*-rtemscoff*, sparc-*-rtemsaout*. - -2005-07-10 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-i386.c (optimize_disp): Optimize signed 32bit - displacements. - -2005-07-08 Ben Elliston <bje@au.ibm.com> - - * frags.h: Remove ANSI_PROTOTYPES conditional code. - * config/obj-elf.h: Likewise. - * config/tc-h8300.h: Likewise. - * config/tc-h8500.h: Likewise. - * config/tc-i370.h: Likewise. - * config/tc-i386.h: Likewise. - * config/tc-m68hc11.h: Likewise. - * config/tc-m68k.h: Likewise. - * config/tc-ppc.h: Likewise. - * config/tc-s390.h: Likewise. - * config/tc-sh.h: Likewise. - * config/tc-sparc.h: Likewise. - * config/tc-tic30.c: Likewise. - * config/tc-w65.h: Likewise. - * config/tc-xtensa.h: Likewise. - -2005-07-08 Hans-Peter Nilsson <hp@axis.com> - - PR gas/1049 - * config/tc-cris.h (MD_APPLY_SYM_VALUE): Define. - -2005-07-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> - - * config/tc-tic30.c (debug): Add format attribute. Fix format - bugs. - -2005-07-06 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-i386.c (cpu_arch): Add sse3. - - * config/tc-i386.h (CpuSSE3): Renamed from ... - (CpuPNI): This. Defined as CpuSSE3. - - * doc/c-i386.texi: Document .sse3. - -2005-07-06 Jan Beulich <jbeulich@novell.com> - - * config/tc-ia64.c (nop): Use zero for L-unit pseudo-nop. - -2005-07-05 Nick Clifton <nickc@redhat.com> - - * config/tc-pdp11.c (md_apply_fix): Cast first argument to - md_chars_to_numbers to an unsigned pointer in order to avoid a - compile time warning. - -2005-07-05 Paul Brook <paul@codesourcery.com> - - * config/tc-ppc.c (ppc_target_format): Add VxWorks. - -2005-07-05 Aldy Hernandez <aldyh@redhat.com> - - * config/tc-ms1.c: New. - * config/tc-ms1.h: New. - * testsuite/gas/ms1/allinsn.d: New. - * testsuite/gas/ms1/allinsn.s: New. - * testsuite/gas/ms1/badinsn.s: New. - * testsuite/gas/ms1/badinsn1.s: New. - * testsuite/gas/ms1/badoffsethigh.s: New. - * testsuite/gas/ms1/badoffsetlow.s: New. - * testsuite/gas/ms1/badorder.s: New. - * testsuite/gas/ms1/badreg.s: New. - * testsuite/gas/ms1/badsignedimmhigh.s: New. - * testsuite/gas/ms1/badsignedimmlow.s: New. - * testsuite/gas/ms1/badsyntax.s: New. - * testsuite/gas/ms1/badsyntax1.s: New. - * testsuite/gas/ms1/badunsignedimmhigh.s: New. - * testsuite/gas/ms1/badunsignedimmlow.s: New. - * testsuite/gas/ms1/errors.exp: New. - * testsuite/gas/ms1/ldst.s: New. - * testsuite/gas/ms1/misc.d: New. - * testsuite/gas/ms1/misc.s: New. - * testsuite/gas/ms1/ms1-16-003.d: New. - * testsuite/gas/ms1/ms1-16-003.s: New. - * testsuite/gas/ms1/ms1.exp: New. - * testsuite/gas/ms1/msys.d: New. - * testsuite/gas/ms1/msys.s: New. - * testsuite/gas/ms1/relocs.d: New. - * testsuite/gas/ms1/relocs.exp: New. - * testsuite/gas/ms1/relocs1.s: New. - * testsuite/gas/ms1/relocs2.s: New. - -2005-07-05 Jan Beulich <jbeulich@novell.com> - - * config/tc-i386.h (CpuSVME): New. - (CpuUnknownFlags): Include CpuSVME. - * config/tc-i386.c (cpu_arch): Add .pacifica and .svme. Add opteron - as alias of sledgehammer. - (md_assemble): Include invlpga in the check for insns with two source - operands. - (process_operands): Include SVME insns in the check for ignored - segment overrides. Adjust diagnostic. - (i386_index_check): Special-case SVME insns with memory operands. - -2005-07-04 Khem Raj <kraj@mvista.com> - Nick Clifton <nickc@redhat.com> - - * tc-arm.c (struct arm_it): Make operands.imm signed to match its - use an immediate value. - (parse_vfp_reg_list): Make the 2nd parameter an unsigned pointer - since the register field of the operands structure is unsigned. - (s_arm_unwind_save_vfp): Make "reg" unsigned. - (parse_operands): Make the 2ns parameter an unsigned pointer to - match its use. - (do_ldrd): When using the imm field of the operands structure as a - second register field, treat it as unsigned. - -2005-07-04 Alan Modra <amodra@bigpond.net.au> - - PR 1004 - * config/obj-elf.c (obj_elf_change_section): Use backend - get_sec_type_attr. - -2005-07-01 Jan Beulich <jbeulich@novell.com> - - * config/tc-ia64.c (line_separator_chars): Add '{' and '}'. - (output_spill_psprel, output_spill_psprel_p): Combine. - (output_spill_sprel, output_spill_sprel_p): Combine. - (output_spill_reg, output_spill_regp_p): Combine. - (process_one_record): Handle psp_psprel. - (parse_predicate_and_operand): New. - (convert_expr_to_ab_reg): Two new parameters. Return void. Always - initialize output values. Emit diagnostic case here. - (convert_expr_to_xy_reg): Likewise. Don't allow r0, f0, and f1. - (add_unwind_entry): New second parameter. Allow first parameter to - be NULL. Parse optional tag, emit warning about further support for - it otherwise being missing. Check end-of-line when requested. - (dot_fframe): Clear operand when wrong. Allow tag. - (dot_vframe): Likewise. - (dot_vframesp): Likewise. Rename parameter, issue warning when psp - relative. - (dot_vframepsp): Remove. - (dot_altrp): Clear operand when wrong. Allow tag. - (dot_save): Likewise. Let default case also go through - add_unwind_entry. - (dot_savemem): Likewise. - (dot_restore): Don't return when wrong operand. Allow tag. - (dot_spillreg, dot_spillreg_p): Combine. Simplify by using - parse_predicate_and_operand and the new arguments to - convert_expr_to_ab_reg and convert_expr_to_xy_reg. Don't return - when wrong operand. Allow tag. - (dot_restorereg, dot_restorereg_p): Likewise. - (dot_spillmem, dot_spillmem_p): Likewise. - (dot_saveg): Clear operand when wrong. Perform tighter operand - checks. Allow tag. - (dot_savef): Likewise. - (dot_saveb): Likewise. - (dot_savegf): Likewise. - (dot_spill): Remove end-of-line check. Combine. Simplify by using - parse_predicate_and_operand and the new arguments to - convert_expr_to_ab_reg and convert_expr_to_xy_reg. Don't return - when wrong operand. Allow tag. - (popcount): New. - (dot_label_state): Don't return when wrong operand. - (dot_copy_state): Likewise. - (dot_unwabi): Likewise. Check if in prologue. - (dot_body): Don't call demand_empty_rest_of_line. - (dot_prologue): Type of mask and grsave is unsigned. Perform tighter - operand checks. - (md_pseudo_table): Also use dot_restorereg for .restorereg.p. Also - use dot_spillreg for .spillreg.p. Also use dot_spillmem for - .spillpsp.p and .spillsp.p. Also use dot_vframesp for .vframepsp. - (parse_operand): New second parameter. Don't deal with '}' here - anymore. Don't advance past end-of-line. - (parse_operands): Pass second argument to parse_operand. - (ia64_start_line): Prevent out-of-bounds access through - input_line_pointer. Deal with '}' here. - (ia64_unrecognized_line): Don't deal with '}' here. - (dot_alias): Use ignore_rest_of_line not its deprecated alias - discard_rest_of_line. - -2005-06-30 Zack Weinberg <zack@codesourcery.com> - - * config/tc-arm.c (T_OPCODE_BRANCH, encode_arm_addr_mode_2) - (encode_arm_addr_mode_3, encode_arm_cp_address, do_blx, do_t_blx) - (do_t_branch, insns [b, bl]): Don't encode pipeline offset. - (do_branch): Always set inst.reloc.pc_rel. - (s_arm_elf_cons): Disallow use of (plt) suffix. - (do_adrl): Adjust X_add_number unconditionally. - (md_pcrel_from): Rename md_pcrel_from_section, add second segT - argument. Handle all adjustment for pipeline offset here. - (md_apply_fix): No need to undo work of md_pcrel_from. No - need to extract pre-encoded pipeline adjustments from various - branch instructions. Generally, assume instructions are already - all-bits-zero in the field being fixed up. Remove all OBJ_ELF - special cases. Handle BFD_RELOC_ARM_PLT32 like - BFD_RELOC_ARM_PCREL_BRANCH. - (tc_gen_reloc): Remove OBJ_ELF special case. - * config/tc-arm.c: Define MD_PCREL_FROM_SECTION. - -2005-06-30 Ben Elliston <bje@gnu.org> - - * Makefile.am (check-DEJAGNU): Don't search for expect. - * Makefile.in: Regenerate. - -2005-06-30 Ben Elliston <bje@gnu.org> - - * Makefile.am (EXPECT): Set to expect. - (RUNTEST): Likewise, set to runtest. - * Makefile.in: Regenerate. - -2005-06-23 Ben Elliston <bje@gnu.org> - - * config/m68k-parse.h: Use ISO C90. - * config/m68k-parse.y: Likewise. - * config/tc-m68k.h: Likewise. - -2005-06-20 H.J. Lu <hongjiu.lu@intel.com> - - PR 1013 - * config/tc-i386.c (md_assemble): Don't call optimize_disp on - movabs. - (optimize_disp): Optimize only if possible. Don't use 64bit - displacement on non-constants and do same on constants if - possible. - -2005-06-17 Jan Beulich <jbeulich@novell.com> - - * config/tc-i386.c (reloc): Also handle BFD_RELOC_64_PCREL. - (tc_i386_fix_adjustable): Include BFD_RELOC_X86_64_GOTOFF64, - BFD_RELOC_X86_64_DTPOFF64, and BFD_RELOC_X86_64_TPOFF64. - (output_disp): Do GOTPC conversion also for BFD_RELOC_X86_64_32S - and BFD_RELOC_32_PCREL. Use BFD_RELOC_X86_64_GOTPC32 instead of - aborting. - (output_imm): Do GOTPC conversion also for BFD_RELOC_X86_64_32S. - Use BFD_RELOC_X86_64_GOTPC32 instead of aborting. - (tc_gen_reloc): Do GOTPC conversion also for BFD_RELOC_32_PCREL. - Use BFD_RELOC_X86_64_GOTPC32 instead of aborting. Also handle - BFD_RELOC_X86_64_GOTOFF64, BFD_RELOC_X86_64_GOTPC32, - BFD_RELOC_X86_64_DTPOFF64, and BFD_RELOC_X86_64_TPOFF64. Also - convert 8-byte pc-relative relocations. - (lex_got): Use BFD_RELOC_X86_64_GOTOFF64 for 64-bit @gotoff. - (i386_validate_fix): Likewise. - (x86_cons): Also handle quad values in 64-bit mode. - (i386_displacement): Also handle BFD_RELOC_X86_64_GOTOFF64. - (md_apply_fix): Include BFD_RELOC_X86_64_DTPOFF64 and - BFD_RELOC_X86_64_TPOFF64 in the TLS check. Also convert BFD_RELOC_64 - to pc-relative variant. Also check for BFD_RELOC_64_PCREL. - -2005-06-13 Zack Weinberg <zack@codesourcery.com> - - * config/tc-arm.c (find_real_start): Check S_IS_LOCAL on - symbolP as well as for names with a leading dot. Use ACONCAT. - (md_apply_fix): For branch relocations, only replace value - with fixP->fx_offset (under #ifdef OBJ_ELF) when !fixP->fx_done. - (arm_force_relocation): Remove #ifdef OBJ_ELF case. - * config/tc-arm.h (LOCAL_LABEL): Remove unnecessary parentheses. - (LOCAL_LABEL_PREFIX): Don't define. - -2005-06-10 Alan Modra <amodra@bigpond.net.au> - - * config/tc-hppa.c (pa_block): Allocate just one byte for the - fill pattern. - -2005-06-08 James E Wilson <wilson@specifixinc.com> - - PR 994 - * config/tc-ia64.c (slot_index): Revert last change. If first_frag - is NULL, then emit a warning, and return the current index. - -2005-06-08 Tomas Hurka <tom@hukatronic.cz> - - PR 991 - * config/tc-m68k.c (m68k_ip): Test for insn compatiblity using a - temporary copy of the operands array so that changes can be safely - backed out if the insn does not match. - (m68k_compare_opcode): Shortcut the test when the parameters are - the same. Return 1 if the names match but the second opcode is - further on in the array than the first. - -2005-06-08 Nick Clifton <nickc@redhat.com> - - PR 994 - * config/tc-ia64.c (slot_index): Check for a NULL first_frag. - -2005-06-08 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> - - * config/tc-m32r.c (use_parallel): Change default value from 1 to 0. - -2005-06-07 Aldy Hernandez <aldyh@redhat.com> - Michael Snyder <msnyder@redhat.com> - Stan Cox <scox@redhat.com> - - * configure.in: Add ms1 case. - - * configure: Regenerate. - - * configure.tgt: Add ms1 case. - -2005-06-07 Bob Wilson <bob.wilson@acm.org> - - * config/tc-xtensa.h (resource_table): Change units to unsigned chars. - * config/tc-xtensa.c (new_resource_table): Likewise. - (resize_resource_table): Likewise. - (release_resources): Fix assertion for unsigned values. - -2005-06-07 Zack Weinberg <zack@codesourcery.com> - - * cgen.c, cgen.h, tc.h, write.c, config/obj-coff.c - * config/tc-a29k.c, config/tc-alpha.c, config/tc-alpha.h - * config/tc-arc.c, config/tc-arc.h, config/tc-arm.c - * config/tc-arm.h, config/tc-avr.c, config/tc-avr.h - * config/tc-cris.c, config/tc-crx.c, config/tc-d10v.c - * config/tc-d10v.h, config/tc-d30v.c, config/tc-d30v.h - * config/tc-dlx.c, config/tc-dlx.h, config/tc-fr30.h - * config/tc-frv.c, config/tc-frv.h, config/tc-h8300.c - * config/tc-h8500.c, config/tc-hppa.c, config/tc-hppa.h - * config/tc-i370.c, config/tc-i370.h, config/tc-i386.c - * config/tc-i386.h, config/tc-i860.c, config/tc-i860.h - * config/tc-i960.c, config/tc-i960.h, config/tc-ia64.c - * config/tc-ip2k.c, config/tc-ip2k.h, config/tc-iq2000.c - * config/tc-iq2000.h, config/tc-m32r.c, config/tc-m32r.h - * config/tc-m68hc11.c, config/tc-m68hc11.h, config/tc-m68k.c - * config/tc-m68k.h, config/tc-m88k.c, config/tc-maxq.c - * config/tc-mcore.c, config/tc-mcore.h, config/tc-mips.c - * config/tc-mips.h, config/tc-mmix.c, config/tc-mn10200.c - * config/tc-mn10300.c, config/tc-msp430.c, config/tc-ns32k.c - * config/tc-openrisc.h, config/tc-or32.c, config/tc-or32.h - * config/tc-pdp11.c, config/tc-pj.c, config/tc-pj.h - * config/tc-ppc.c, config/tc-ppc.h, config/tc-s390.c - * config/tc-s390.h, config/tc-sh64.c, config/tc-sh.c - * config/tc-sh.h, config/tc-sparc.c, config/tc-sparc.h - * config/tc-tahoe.c, config/tc-tic30.c, config/tc-tic4x.c - * config/tc-tic54x.c, config/tc-tic80.c, config/tc-v850.c - * config/tc-v850.h, config/tc-vax.c, config/tc-vax.h - * config/tc-w65.c, config/tc-xstormy16.c, config/tc-xstormy16.h - * config/tc-xtensa.c, config/tc-z8k.c: - Replace all instances of the string "_apply_fix3" with - "_apply_fix". - * po/POTFILES.in, po/gas.pot: Regenerate. - -2005-06-08 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am: Run "make dep-am". - (POTFILES): Remove GAS_CFILES. - * Makefile.in: Regenerate. - -2005-06-07 David Ung <davidu@mips.com> - - * config/tc-mips.c (mips_cpu_info_table): Add cpu names m4k, 24k, - 24kc, 24kf and 24kfx under MIPS32 release 2. - -2005-06-04 Nick Clifton <nickc@redhat.com> - - * config/tc-arm.c (CE, C3, CM, UE, UF): Redefine without reference - to their Thumb-enabled equivalents. - -2005-06-01 Maciej W. Rozycki <macro@linux-mips.org> - - * config/tc-mips.c (load_register): Add leading "0x" to the - output of sprintf_vma(). - (macro): Likewise. - -2005-06-01 Nick Clifton <nickc@redhat.com> - - * config/tc-arm.c (TxCE, TxC3, TxCM, TUE, TUF): Remove redundant - test for the presence of thumb version of the parsing functions - since they must always exist and the test generates a compile time - warning message. - -2005-05-31 Richard Henderson <rth@redhat.com> - - * config/tc-alpha.c (O_lituse_jsrdirect): New. - (alpha_reloc_op): Add it. - (debug_exp): Handle it. - (DUMMY_RELOC_LITUSE_JSRDIRECT): New. - (emit_insn): Handle it. - * doc/c-alpha.texi (Alpha-Relocs): Document lituse_jsrdirect. - -2005-05-31 Christian Groessler <chris@groessler.org> - - * write.c (dump_section_relocs): Convert to ISO-C. - (write_relocs): Avoid signed/unsigned and fprintf argument - warnings in debug code. - -2005-05-26 Zack Weinberg <zack@codesourcery.com> - - * config/tc-arm.h (TC_FIX_TYPE): Change to int. - (TC_INIT_FIX_DATA): Initialize to 0, not NULL. - * config/tc-arm.c (fix_new_arm): Remove now-unnecessary cast. - (md_apply_fix3): Delete fix_is_thumb variable; refer to - fixP->tc_fix_data directly in the sole place it was used. - Explicitly truncate value, *valP, fixP->fx_addnumber, and - fixP->fx_offset to 32 bits, for consistent behavior between 32- - and 64-bit hosts. - -2005-05-27 Jan Beulich <jbeulich@novell.com> - - * config/tc-ia64.c (struct proc_pending): New. - (unwind): Replace proc_start with proc_pending. - (unwind_diagnostic): Check unwind.proc_pending.sym. - (dot_proc): Replace unwind.proc_start with unwind.proc_pending.sym. - Check if previous proc not closed. Record all entry points. - (dot_endp): Replace unwind.proc_start with unwind.proc_pending.sym. - Set symbol sizes for entry points recorded in dot_proc. Check - arguments for consistency with respective .proc's. - (md_assemble): Replace unwind.proc_start with - unwind.proc_pending.sym. - -2005-05-27 Jan Beulich <jbeulich@novell.com> - - * config/tc-ia64.c (emit_one_bundle): Restrict scope of ptr, end_ptr, - and last_ptr. Check all in-use slots for first one with non-NULL - unwind_record. Don't reload end_ptr before second update round. - -2005-05-26 James E Wilson <wilson@specifixinc.com> - - * config/tc-ia64.c (extra_goodness): Update comment. - (md_begin): Add debugging code to print best_template table. - -2005-05-25 Jan Beulich <jbeulich@novell.com> - - * config/tc-ia64.c (md_begin): Don't try to match slot 2 of an MLX - template. - -2005-05-25 Jan Beulich <jbeulich@novell.com> - - * config/tc-ia64.c (ia64_gen_real_reloc_type): Also handle - BFD_RELOC_UNUSED when determining the width of the reloc. - -2005-05-25 Jan Beulich <jbeulich@novell.com> - - * config/tc-ia64.c (dot_endp): Clear out all three pointers in unwind - section entry. - -2005-05-25 Jan Beulich <jbeulich@novell.com> - - * config/tc-ia64.c (dot_radix): Rewrite. - -2005-05-25 Jan Beulich <jbeulich@novell.com> - - * config/tc-ia64.c (struct unw_rec_list): Remove next_slot_number - and next_slot_frag. - (alloc_record): Remove references to next_slot_number and - next_slot_frag. - (emit_one_bundle): Likewise. - -2005-05-22 Nick Clifton <nickc@redhat.com> - - * config/tc-v850.c (md_apply_fix3): Pass the address of the - message buffer when invoking the insert function. - -2005-05-21 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - * config/tc-hppa.c (pa_ip): Promote architecture from PA 1.0 to 1.1 - only if an instruction match is found. - -2005-05-20 Bob Wilson <bob.wilson@acm.org> - - * config/tc-xtensa.c (xg_assemble_vliw_tokens): Change subtraction - to addition in argument to xtensa_dwarf2_emit_insn. - -2005-05-19 Zack Weinberg <zack@codesourcery.com> - - * Makefile.am: Have 'all' depend on 'info'. - * Makefile.in: Regenerate. - -2005-05-19 Alan Modra <amodra@bigpond.net.au> - - * config/tc-ppc.c (ppc_force_relocation): Add BFD_RELOC_24_PLT_PCREL. - -2005-05-19 Anton Blanchard <anton@samba.org> - - * config/tc-ppc.c (parse_cpu): Handle "-mpower5". - (md_show_usage): Document it. - (ppc_setup_opcodes): Insert POWER5 mnemonics. - * doc/c-ppc.texi (PowerPC-Opts): Document "-mpower5". - -2005-05-19 Jan Beulich <jbeulich@novell.com> - - * config/tc-ia64.c (dot_endp): Don't use global symbol for unwind - relocations in unwind section. - -2005-05-18 Nick Clifton <nickc@redhat.com> - - * config/tc-v850.c (md_apply_fix3): Only use the insertion routine - if one exists. Ignore any error messages it may produce, just - allow it to perform the insertion. - -2005-05-17 Zack Weinberg <zack@codesourcery.com> - - * hash.c (hash_lookup): Add len parameter. All callers changed. - (hash_find_n): New interface. - * hash.h: Prototype hash_find_n. - * sb.c: Include as.h. - (scrub_from_sb, sb_to_scrub, scrub_position): New statics. - (sb_scrub_and_add_sb): New interface. - * sb.h: Prototype sb_scrub_and_add_sb. - * input-scrub.c (input_scrub_include_sb): Use sb_scrub_and_add_sb. - - * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Remove - reference to BFD_RELOC_ARM_GOT12 which is never generated. - * config/tc-arm.c: Rewrite, adding Thumb-2 support. - -2005-05-17 Daniel Jacobowitz <dan@codesourcery.com> - - * doc/Makefile.am (gasver.texi): Don't use $<. - * doc/Makefile.in: Regenerated. - -2005-05-17 Nick Clifton <nickc@redhat.com> - - PR 876 - * symbols.c (resolve_symbol_value): Do not move symbols whose - value expression has not been resolved or finalized into the - absolute section as this will confuse other parts of the assembler - into thinking that their value is zero. - -2005-05-17 Jan Beulich <jbeulich@novell.com> - - * read.c (_find_end_of_line): New. - (find_end_of_line): New. - (HANDLE_CONDITIONAL_ASSEMBLY): Use it. - (read_a_source_file): Use it. - (s_globl): Use it. - (s_macro): Use it. - (get_line_sb): Use it. - (s_errwarn): Replace discard_rest_of_line by ignore_rest_of_line. - (s_comm_internal): Likewise. - (s_lsym): Likewise. - (s_macro): Likewise. - (s_ignore): Use ignore_rest_of_line. - * read.h (find_end_of_line): Prototype. - (discard_rest_of_line): Remove prototype. #define to - ignore_rest_of_line. - -2005-05-17 Nick Clifton <nickc@redhat.com> - - * config/tc-v850,h (TC_FIX_TYPE): Define. - (TC_INIT_FIX_TYPE): Define. - * config/tc-v850.c (md_assemble): When creating a fix record the - operand in the tc_fix_data field. - (md_apply_fix3): When applying a resolved fix use the operand's - insertion procedure to store the value, if the operand has been - recorded. - -2005-05-15 Daniel Jacobowitz <dan@codesourcery.com> - - * Makefile.am (m68k-parse.c, itbl-parse.c): Update ylwrap - invocation. - * Makefile.in: Regenerated. - -2005-05-13 Sterling Augustine <sterling@tensilica.com> - Bob Wilson <bob.wilson@acm.org> - - * config/tc-xtensa.c (xtensa_insnbuf_set_operand): Clarify error - message. - (xtensa_mark_zcl_first_insns): Fix incorrect nesting of conditional - for handling RELAX_CHECK_ALIGN_NEXT_OPCODE. - -2005-05-11 Alan Modra <amodra@bigpond.net.au> - - * config/tc-ppc.c (md_apply_fix3): Allow pcrel forms of BFD_RELOC_16, - BFD_RELOC_LO16, BFD_RELOC_HI16 and BFD_RELOC_HI16_S. - -2005-05-10 Michael Matz <matz@suse.de> - - * frags.c (frag_grow): Don't be too greedy in allocating memory. - - * config/tc-hppa.c (pa_block): Check arguments to .block[z]. - -2005-05-10 Hans-Peter Nilsson <hp@bitrange.com> - - PR binutils/886 - * config/tc-mmix.c (mmix_handle_mmixal): Rearrange slightly. - Handle label-without-colon before ordinary dot-pseudo as an - ordinary label. Don't leak memory for label-without-colon alone - on a line. Don't mmixal-munge operands for dot-pseudos. - -2005-05-10 Jan Beulich <jbeulich@novell.com> - - * macro.c (get_any_string): Remove the two last parameters. Replace - references to the former expand parameter by using macro_alternate. - Simplify loop condition for checking for end-of-string. - (get_string): Remove redunant call to sb_skip_white. - (do_formals): Remove two last arguments to get_any_string. - (macro_expand): Likewise. - (expand_irp): Likewise. - -2005-05-10 Jan Beulich <jbeulich@novell.com> - - * read.c (s_macro): Move local variable 'local' to smaller scope. - Call sb_kill on it when done. - -2005-05-09 Jan Beulich <jbeulich@novell.com> - - * config/tc-i386.c (optimize_disp): Discard displacement entirely - when zero and not required by encoding constraints. - -2005-05-09 H.J. Lu <hongjiu.lu@intel.com> - - PR 936 - * config/tc-sh64.c (sh64_fake_label): New. - - * config/tc-sh64.h (TC_FAKE_LABEL): New. - - * doc/internals.texi (TC_FAKE_LABEL): Document. - - * write.c (TC_FAKE_LABEL): New. - (adjust_reloc_syms): Use it. - (write_object_file): Likewise. - -2005-05-09 Jan Beulich <jbeulich@novell.com> - - * config/tc-i386.c (parse_insn): Disallow use of prefix separator - and comma in Intel mode. - -2005-05-09 Jan Beulich <jbeulich@novell.com> - - * config/tc-i386.c (tc_x86_regname_to_dw2regnum): Correct 64-bit mode - names to match ABI. Add more registers for 32-bit and 64-bit modes. - Make name array static and const. Adjust lookup to account for NULL - entries (standing for unused register numbers). - -2005-05-09 Jan Beulich <jbeulich@novell.com> - - * config/tc-i386.c (parse_insn): Consider all matching instructions - when checking for string instruction after string-only prefix. - -2005-05-07 H.J. Lu <hongjiu.lu@intel.com> - - PR 940 - * config/tc-ia64.c (start_unwind_section): Properly check - comdat group with SHF_GROUP. - -2005-05-06 Bob Wilson <bob.wilson@acm.org> - - * doc/c-xtensa.texi (Literal Directive): Spelling correction. - -2005-05-06 Bob Wilson <bob.wilson@acm.org> - - * config/tc-xtensa.c: Remove excess whitespace. - * config/tc-xtensa.h: Likewise. - * config/xtensa-istack.h: Likewise. - * config/xtensa-relax.c: Likewise. - * config/xtensa-relax.h: Likewise. - -2005-05-06 Nick Clifton <nickc@redhat.com> - - * sb.h: Fix formatting of comments. - * sb.c: Fix formatting of comments. - -2005-05-06 Jan Beulich <jbeulich@novell.com> - - * sb.h (sb_add_buffer): Reintroduce. - * sb.c (sb_add_buffer): Likewise. - -2005-05-06 Jan Beulich <jbeulich@novell.com> - - * macro.c (new_formal, del_formal): New. - (do_formals): Use new_formal. Check for and parse qualifier. Warn if - required argument has default value. Stop looking for more formal - when there was a vararg one. - (macro_expand_body): Use new_formal and del_formal. - (macro_expand): Likewise. Initialize local variable err. Don't - return immediately when encountering an error. Warn when keyword - argument already had a value assigned. Eliminate duplicate clearing - of argument value. When current positional argument matches parameter - of vararg type, assign to it all the remaining arguments. Issue error - when required parameter does not have value. - (free_macro): Use del_formal. - (expand_irp): Initialize formal type. Free buffers associated with - formal prior to returning. - * macro.h (struct formal_struct): Add new field 'type' with new - enumeration type 'formal_type'. - * doc/as.texinfo: Document macro parameter qualifiers. - * NEWS: Mention new functionality. - -2005-05-06 Jan Beulich <jbeulich@novell.com> - - * cond.c (s_ifb): New. - * read.c (potable): Add s_ifb as handler for .ifb and .ifnb. - * read.h (s_ifb): Prototype. - * doc/as.texinfo: Document .ifb and .ifnb. - -2005-05-05 Steve Ellcey <sje@cup.hp.com> - - * config/tc-ia64.c (MIN): Undef. - -2005-05-05 Paul Brook <paul@codesourcery.com> - - * config/tc-i386.h (ELF_TARGET_FORMAT): Define for TE_VXWORKS. - -2005-05-05 Matt Thomas <matt@3am-software.com> - - * config/tc-vax.c (md_assemble): Don't assume a valueT is 4 - bytes. - -2005-05-05 Nick Clifton <nickc@redhat.com> - - * Update the address and phone number of the FSF organization in - the GPL notices in the following files: - COPYING, app.c, as.c, as.h, asintl.h, atof-generic.c, bignum.h, - bit_fix.h, cgen.c, cgen.h, cond.c, debug.c, depend.c, dw2gencfi.c, - dw2gencfi.h, dwarf2dbg.c, dwarf2dbg.h, ecoff.c, ecoff.h, ehopt.c, - emul-target.h, emul.h, expr.c, expr.h, flonum-copy.c, - flonum-konst.c, flonum.h, frags.c, frags.h, hash.c, hash.h, - input-file.c, input-file.h, input-scrub.c, itbl-lex.h, itbl-lex.l, - itbl-ops.c, itbl-ops.h, itbl-parse.y, listing.c, listing.h, - literal.c, macro.c, macro.h, messages.c, obj.h, output-file.c, - output-file.h, read.c, read.h, sb.c, sb.h, stabs.c, - struc-symbol.h, subsegs.c, subsegs.h, symbols.c, symbols.h, tc.h, - write.c, write.h, config/aout_gnu.h, config/atof-ieee.c, - config/atof-vax.c, config/itbl-mips.h, config/m68k-parse.h, - config/m68k-parse.y, config/m88k-opcode.h, config/obj-aout.c, - config/obj-aout.h, config/obj-bout.c, config/obj-bout.h, - config/obj-coff.c, config/obj-coff.h, config/obj-ecoff.c, - config/obj-ecoff.h, config/obj-elf.c, config/obj-elf.h, - config/obj-evax.c, config/obj-evax.h, config/obj-hp300.c, - config/obj-hp300.h, config/obj-ieee.c, config/obj-ieee.h, - config/obj-multi.h, config/obj-som.c, config/obj-som.h, - config/tc-a29k.c, config/tc-a29k.h, config/tc-alpha.c, - config/tc-alpha.h, config/tc-arc.c, config/tc-arc.h, - config/tc-arm.h, config/tc-avr.c, config/tc-avr.h, - config/tc-cris.c, config/tc-cris.h, config/tc-crx.c, - config/tc-crx.h, config/tc-d10v.c, config/tc-d10v.h, - config/tc-d30v.c, config/tc-d30v.h, config/tc-dlx.c, - config/tc-dlx.h, config/tc-fr30.c, config/tc-fr30.h, - config/tc-frv.c, config/tc-frv.h, config/tc-generic.c, - config/tc-generic.h, config/tc-h8300.c, config/tc-h8300.h, - config/tc-h8500.c, config/tc-h8500.h, config/tc-hppa.c, - config/tc-hppa.h, config/tc-i370.c, config/tc-i370.h, - config/tc-i386.c, config/tc-i386.h, config/tc-i860.c, - config/tc-i860.h, config/tc-i960.c, config/tc-i960.h, - config/tc-ia64.c, config/tc-ia64.h, config/tc-ip2k.c, - config/tc-ip2k.h, config/tc-iq2000.c, config/tc-iq2000.h, - config/tc-m32r.c, config/tc-m32r.h, config/tc-m68851.h, - config/tc-m68hc11.c, config/tc-m68hc11.h, config/tc-m68k.c, - config/tc-m68k.h, config/tc-m88k.c, config/tc-m88k.h, - config/tc-maxq.c, config/tc-maxq.h, config/tc-mcore.c, - config/tc-mcore.h, config/tc-mips.c, config/tc-mips.h, - config/tc-mmix.c, config/tc-mmix.h, config/tc-mn10200.c, - config/tc-mn10200.h, config/tc-mn10300.c, config/tc-mn10300.h, - config/tc-msp430.c, config/tc-msp430.h, config/tc-ns32k.c, - config/tc-ns32k.h, config/tc-openrisc.c, config/tc-openrisc.h, - config/tc-or32.c, config/tc-or32.h, config/tc-pdp11.c, - config/tc-pdp11.h, config/tc-pj.c, config/tc-pj.h, - config/tc-ppc.c, config/tc-ppc.h, config/tc-s390.c, - config/tc-s390.h, config/tc-sh.c, config/tc-sh.h, - config/tc-sh64.c, config/tc-sh64.h, config/tc-sparc.c, - config/tc-sparc.h, config/tc-tahoe.c, config/tc-tahoe.h, - config/tc-tic30.c, config/tc-tic30.h, config/tc-tic4x.c, - config/tc-tic4x.h, config/tc-tic54x.c, config/tc-tic54x.h, - config/tc-tic80.c, config/tc-tic80.h, config/tc-v850.c, - config/tc-v850.h, config/tc-vax.c, config/tc-vax.h, - config/tc-w65.c, config/tc-w65.h, config/tc-xstormy16.c, - config/tc-xstormy16.h, config/tc-xtensa.c, config/tc-xtensa.h, - config/tc-z8k.c, config/tc-z8k.h, config/te-386bsd.h, - config/te-freebsd.h, config/te-hp300.h, config/te-hppa.h, - config/te-ic960.h, config/te-irix.h, config/te-nbsd.h, - config/te-netware.h, config/te-sparcaout.h, config/te-sun3.h, - config/te-tmips.h, config/te-vxworks.h, config/vax-inst.h, - config/xtensa-istack.h, config/xtensa-relax.c, - config/xtensa-relax.h, doc/fdl.texi - -2005-05-05 Nick Clifton <nickc@redhat.com> - - * config/tc-arm.c (arm_opts): Make -mlittle-endian switch set - the target_big_endian variable to false. - -2005-05-04 Alan Modra <amodra@bigpond.net.au> - - * config/obj-ecoff.c (ecoff_frob_file_before_fix): Correct section - list traversal. Use bfd_section_list_prepend. - * config/tc-mmix.c (mmix_frob_file): Don't needlessly iterate - over the section list. - * config/tc-xtensa.c (xtensa_remove_section): Delete. - (xtensa_insert_section): Delete. - (xtensa_move_seg_list_to_beginning): Use bfd_section_list_remove - and bfd_section_list_prepend. - (xtensa_reorder_seg_list): Use bfd_section_list_remove and - bfd_section_list_insert_after. - -2005-05-03 Nick Clifton <nickc@redhat.com> - - * config/obj-ecoff.c (ecoff_frob_file_before_fix): Fix invocations - of bfd_section_list... macros. - * config/tc-mmix.c (mmix_frob_file): Likewise. - * config/tc-xtensa.c (xtensa_remove_section): Likewise. - (xtensa_insert_section): Likewise. - - * macro.c (macro_hash): Remove static. - * macro.h (macro_hash): Provide an external declaration. - -2005-05-02 H.J. Lu <hongjiu.lu@intel.com> - - * write.c (write_object_file): Use bfd_section_double_list_remove - to remove sections. - -2005-05-02 Daniel Jacobowitz <dan@codesourcery.com> - - * doc/Makefile.am (gasver.texi): Correct quoting. - * doc/Makefile.in: Regenerated. - -2005-04-29 Ralf Corsepius <ralf.corsepius@rtems.org> - - * configure.tgt: Add h8300*-*-rtemscoff. - Switch h8300*-*-rtems* to elf. - -2005-04-29 H.J. Lu <hongjiu.lu@intel.com> - - * hash.c: Undo the last change. - * hash.h: Likewise. - -2005-04-29 Daniel Jacobowitz <dan@codesourcery.com> - - * doc/Makefile.am (gasver.texi): Depend on bfd/configure instead - of Makefile. - (DISTCLEANFILES): Remove. - (MAINTAINERCLEANFILES): Add asconfig.texi. - * aclocal.m4, Makefile.in, doc/Makefile.in: Regenerated. - -2005-04-29 Ben Elliston <bje@au.ibm.com> - - * Makefile.am (GAS_CFILES): Remove bignum-copy.c. - (GENERIC_OBJS): Likewise, remove bignum-copy.o. - (bignum-copy.o): Remove. - * Makefile.in: Regenerate. - * makefile.vms (OBJS): Remove bignum-copy.obj. - * symbols.h (local_symbol_make): Remove declaration. - (verify_symbol_chain_2): Likewise. - * symbols.c (local_symbol_make): Make static. - (max_indent_level): Likewise. - (verify_symbol_chain_2): Remove. - * macro.c (macro_hash): Make static. - * messages.c (fprint_value): Remove. - * read.h (get_absolute_expr): Remove. - (emit_leb128_expr): Likewise. - (do_s_func): Likewise. - * read.c (do_s_func): Make static. - (emit_leb128_expr): Likewise. - (get_absolute_expr): Likewise. - * as.h (as_howmuch): Remove declaration. - (fprint_value): Likewise. - * as.c (myname): Make static. - * input-scrub.c (as_howmuch): Remove. - (as_1_char): Likewise. - * input-file.h (input_file_is_open): Remove. - * input-file.c (input_file_is_open): Likewise. - * expr.h (expr_build_unary): Remove declaration. - (expr_build_binary): Likewise. - * expr.c (expr_build_unary): Remove. - (expr_build_binary): Likewise. - * hash.h (hash_replace): Remove declaration. - (hash_delete): Likewise. - * hash.c (hash_replace): Remove. - (hash_delete): Likewise. - * bignum-copy.c (bignum_copy): Move from here .. - * config/tc-vax.c (bignum_copy): .. to here. - * bignum.h (LOG_TO_BASE_2_OF_10): Remove. - (bignum_copy): Remove extern declaration. - * sb.h (string_count): Remove extern declaration. - (sb_build, sb_add_buffer, sb_print, sb_print_at): Likewise. - (sb_name): Likewise. - * sb.c (dsize): Replace preprocessor macro with static int. - (string_count): Make static. - (sb_build, sb_add_buffer, sb_print, sb_print_at): Likewise. - (sb_name): Likewise. - * config/obj-coff.c (dim_index): Make static. - * config/tc-i386.c (GOT_symbol): Likewise. - (output_invalid_buf): Likewise. - * doc/internals.texi (Warning and error messages): Remove the - prototype for fprint_value. - -2005-04-27 Ben Elliston <bje@au.ibm.com> - - * link.cmd: Remove. - -2005-04-26 H.J. Lu <hongjiu.lu@intel.com> - - * config/obj-multi.h (FAKE_LABEL_NAME): Defined. - - * read.c (pseudo_set): Disallow symbol set to common symbol. - - PR 857 - * write.c (write_object_file): Report common symbol name when - disallowing local symbol set to common symbol. - (adjust_reloc_syms): Disallow local symbol set to undefined - symbol. - -2005-04-25 Jan Beulich <jbeulich@novell.com> - - * macro.c (macro_expand_body): Replace locals indicator parameters - with actual macro_entry. New local variables macro_line and err. - Don't return when encountering an error, just record the fact. - Detect local symbol name colliding with parameter. Track line number - inside of macro expansion. - (do_formals): Move local variable name to wider scope. Check - parameter of the same name doesn't already exist. In MRI mode, also - check it doesn't collide with the argument count pseudo-parameter). - (define_macro): Add file and line number parameters. Remove local - variable namestr. New local variable error. Initialize macro_entry - members file, line, and name. Don't return when encountering an - error, just record the fact. Use %s in some diagnostics for read.c - to insert the macro name. Free macro_entry on error. - (macro_expand): Pass macro_entry to macro_epand_body. Don't return - when encountering an error, just record the fact. - (expand_irp): Don't return when encountering an error, just record - the fact. - * macro.h (macro_struct): New members name, file, and line. - (define_macro): Add file and line number parameters. - * read.c (s_macro): Pass file and line to define_macro. Tag warning - regarding pseudo-op redefinition with the file/line that macro - definition started at. - -2005-04-22 Bob Wilson <bob.wilson@acm.org> - - * config/tc-xtensa.c (LOOKAHEAD_ALIGNER): Delete macro. - (future_alignment_required): Remove ifdefs that use it. - -2005-04-22 Bob Wilson <bob.wilson@acm.org> - - * config/tc-xtensa.c (xg_get_build_instr_size): Remove. - (xg_is_narrow_insn, xg_expand_narrow): Remove. Merge into... - (xg_is_single_relaxable_insn): ...here. Add "targ" and "narrow_only" - parameters. - (xg_assembly_relax, xg_find_narrowest_format, relaxation_requirements, - convert_frag_narrow): Use new version of xg_is_single_relaxable_insn. - -2005-04-21 Christian Groessler <chris@groessler.org> - - * config/tc-z8k.c (md_assemble): Fix buffer overrun in operand[] - array. - -2005-04-20 H.J. Lu <hongjiu.lu@intel.com> - - * config/obj-aout.h (S_IS_EXTERN): Removed. - * config/obj-bout.h (S_IS_EXTERN): Likewise. - * config/obj-coff.h (S_IS_EXTERN): Likewise. - * symbols.c (S_IS_EXTERN): Likewise. - * symbols.h (S_IS_EXTERN): Likewise. - - * config/tc-alpha.c (tc_gen_reloc): Replace S_IS_EXTERN with - S_IS_EXTERNAL. - * config/tc-d10v.c (md_apply_fix3): Likewise. - * config/tc-ia64.c (ia64_fix_adjustable): Likewise. - * config/tc-iq2000.c (iq2000_fix_adjustable): Likewise. - * config/tc-m32r.c (m32r_fix_adjustable): Likewise. - * config/tc-mmix.c (mmix_adjust_symtab): Likewise. - * config/tc-sh64.c (shmedia_frob_file_before_adjust): Likewise. - (shmedia_md_convert_frag): Likewise. - * symbols.c (print_symbol_value_1): Likewise. - * write.c (write_object_file): Likewise. - -2005-04-20 Nick Clifton <nickc@redhat.com> - - * config/tc-xtensa.c (get_aligned_diff): Change type of - branch_align to offsetT so that its signedness matches that of - target_size. - - * config/tc-mips.c (macro): Use sprintf_vma to convert a > 32 bit - number into a readable string. - (load_register): Likewise. - -2005-04-20 Andreas Schwab <schwab@suse.de> - - * config/tc-ia64.c (specify_resource): Initialize all of tmpl. - -2005-04-19 David S. Miller <davem@davemloft.net> - - * config/tc-sparc.c (md_assemble): If sparc_ip gives us a - NULL insn, exit early. Remove now spurious NULL checks. - (sparc_ip): Use as_bad for unknown opcode errors, set *pinsn - to NULL and exit. - -2005-04-19 Jan Beulich <jbeulich@novell.com> - - * symbols.h (symbol_find_base): Remove prototype. - * symbols.c (save_symbol_name): Remove code section conditional upon - STRIP_UNDERSCORE. - (symbol_find): Remove. - (symbol_find_base): Rename to symbol_find. - * subsegs.c (section_symbol): Replace use of symbol_find_base with - symbol_find. - * config/obj-coff.c (tag_insert): Remove code section conditional - upon STRIP_UNDERSCORE. - (obj_coff_def): Likewise. - (obj_coff_endef): Replace use of symbol_find_base with symbol_find. - (coff_frob_symbol): Likewise. - (yank_symbols): Likewise. - (c_section_symbol): Likewise. - * config/obj-coff.h (DO_NOT_STRIP): Remove. - * config/tc-arm.c (symbol_locate): Remove code section conditional - upon STRIP_UNDERSCORE. - * config/tc-h8300.h (DO_NOT_STRIP): Remove. - * config/tc-h8500.h (DO_NOT_STRIP): Remove. - * config/tc-sh.h (DO_NOT_STRIP): Remove. - * config/tc-w65.h (DO_NOT_STRIP): Remove. - * config/tc-z8k.h (DO_NOT_STRIP): Remove. - -2005-04-19 Andreas Schwab <schwab@suse.de> - - * config/tc-ia64.c (md_assemble): Fix error message for wrong - access to application registers. - -2005-04-19 Jan Beulich <jbeulich@novell.com> - - * config/te-sysv32.h: Remove. - * Makefile.am (TARG_ENV_HFILES): Remove reference to - config/te-sysv32.h. - * Makefile.in (TARG_ENV_HFILES): Likewise. - -2005-04-19 Jan Beulich <jbeulich@novell.com> - - PR/847 - * config/tc-ia64.c (ia64_canonicalize_symbol_name): Re-allow zero- - length symbols. - -2005-04-18 Mark Kettenis <kettenis@gnu.org> - - * config/tc-i386.c (md_begin): Allow hyphens in mnemonics. - -2005-04-18 Maciej W. Rozycki <macro@linux-mips.org> - - * config/tc-mips.c (normalize_constant_expr): Don't check for - HAVE_32BIT_GPRS. - (check_absolute_expr): Only call normalize_constant_expr() if - HAVE_32BIT_GPRS. - (mips_ip): Likewise. - - * config/tc-mips.c (check_absolute_expr): Fix formatting. - -2005-04-18 Jan Beulich <jbeulich@novell.com> - - * macro.c (free_token): New, freeing all the memory associated with a - macro. - (do_formals): Move initializers to ... - (define_macro): ... here. - (delete_macro): Convert passed in name to lower case. Warn when - purging macro that doesn't exist. Use hash_jam instead of hash_delete. - -2005-04-15 Maciej W. Rozycki <macro@linux-mips.org> - - * config/tc-mips.c (normalize_constant_expr): Fix formatting. - -2005-04-15 Jan Beulich <jbeulich@novell.com> - - * config/obj-elf.c (obj_elf_struct): New. - (elf_pseudo_table). Use it for .offset and .struct. - -2005-04-14 Bob Wilson <bob.wilson@acm.org> - Sterling Augustine <sterling@tensilica.com> - - * config/tc-xtensa.c (get_aligned_diff): Handle target_size larger - than the section alignment. - -2005-04-14 Bob Wilson <bob.wilson@acm.org> - H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-xtensa.h (struct xtensa_frag_type): Add lit_frchain field. - * config/tc-xtensa.c (xg_translate_sysreg_op, - xtensa_translate_old_userregs_ops, - xtensa_find_unaligned_branch_targets, - xtensa_find_unaligned_loops, xtensa_fix_close_loop_end_frags, - relax_frag_add_nop): Support 64-bit host. - (xtensa_mark_literal_pool_location, xtensa_move_literals): Use - tc_frag_data lit_frchain and lit_seg fields instead of fr_var. - -2005-04-14 Mark Kettenis <kettenis@gnu.org> - - * configure.tgt: Add support for OpenBSD/sparc ELF. - - * configure.tgt: Set emulation for mips-*-openbsd*. - Remove broken mips-dec-openbsd* config. - * configure.in: Set default ABI for mips64-*-openbsd*. - * configure: Regenerate. - -2005-04-14 Maciej W. Rozycki <macro@linux-mips.org> - - * config/tc-mips.c (macro) [ldd_std]: Don't attempt the GP - optimization for constant addresses. - -2005-04-14 Nick Clifton <nickc@redhat.com> - - * as.c (main): Move parse_args before symbol_begin and frag_init - so that the hash table size can be set before it is used. - * hash.c: Use an unsigned long type for the size of the hash - tables. - * hash.h (set_gas_hash_table_size): Update the prototype. - -2005-04-14 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am (NO_WERROR): Define. Use instead of -Wno-error. - * acinclude.m4: Include ../bfd/warning.m4. - * configure.in: Invoke AM_BINUTILS_WARNINGS. - * Makefile.in: Regenerate. - * configure: Regenerate. - * doc/Makefile.in: Regenerate. - -2005-04-13 Maciej W. Rozycki <macro@linux-mips.org> - - * config/tc-mips.c (IS_ZEXT_32BIT_NUM): New macro. - (normalize_address_expr): New function to sign-extend address - offsets that fit into 32 bits in 32-bit mode. - (macro_build_ldst_constoffset): Use normalize_address_expr() - instead of a handcoded sequence. - (load_register): Likewise. Report oversized numbers in a useful - way. - (macro) [ld_st, ldd_std]: Reject all oversized offsets, not only - for constant addresses. Report oversized numbers in a useful way. - (mips_ip): Use normalize_address_expr() for addresses. - -2005-04-12 Mark Kettenis <kettenis@gnu.org> - - * config/tc-i386.c (output_insn): Handle VIA PadLock instructions - similar to other instructions now that they're marked as ImmExt. - -2005-04-12 Nick Clifton <nickc@redhat.com> - - * hash.c (DEFAULT_SIZE): Delete. Replace with: - (gas_hash_table_size): New static variable. - (set_gas_hash_table_size): New function: Records a requested size - for the hash tables. - (get_gas_hash_table_size): New function: Return a prime number - near the requested size of the hash table. - (hash_new): Use get_gas_hash_table_size. - * hash.h: Add a prototype for set_gas_hash_table_size. - * as.c (show_usage): Add description of new switches: --hash-size - and --reduce-memory-overheads. - (option_values): Add OPTION_HASH_TABLE_SIZE and - OPTION_REDUCE_MEMORY_OVERHEADS. - (std_longpopts): Add entries for the new options. - (parse_args): Handle the new options. - * Makefile.am: Add a dependency of as.c on hash.h. - * Makefile.in: Regenerate. - * doc/as.texinfo: Document the new switches. - * NEWS: Mention the new switches. - -2005-04-12 Nick Clifton <nickc@redhat.com> - - PR gas/818 - * config/tc-hppa.c (pre_defined_registers): Fix %farg[0-3] - synonyms. - -2005-04-12 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - -2005-04-11 Sterling Augustine <sterling@tensilica.com> - Bob Wilson <bob.wilson@acm.org> - - * config/tc-xtensa.c (check_t1_t2_reads_and_writes): Fix typo. - -2005-04-11 Mark Kettenis <kettenis@gnu.org> - - * configure.tgt (generic_target): Add support for OpenBSD/i386 ELF. - -2005-04-11 Jan Beulich <jbeulich@novell.com> - - * NEWS: Mention these changes and their effects. - * macro.c (get_token): Use is_name_beginner/is_part_of_name/ - is_name_ender. - (check_macro): Likewise. - (buffer_and_nest): Likewise. Permit multiple labels. Don't discard - labels together with the closing pseudo-op. - (macro_expand_body): Adjust comment. Range-check input before use. - Adjust mis-spelled diagnostic. Use is_name_beginner. - * read.c (try_macro): New. - (read_a_source_file): New static variable last_eol. Don't list - macro expansion lines more than once. Call try_macro. - (s_macro): Set section of line_label to absolute instead of undefined. - * doc/as.texinfo: Add information on the caveats of these changes. - -2005-04-11 Alan Modra <amodra@bigpond.net.au> - - * symbols.c (symbol_X_add_number): Change return type to "offsetT *". - * symbols.h (symbol_X_add_number): Update prototype. - -2005-04-10 Eric Christopher <echristo@redhat.com> - - * symbols.c (symbol_X_add_number): Fix warning. - -2005-04-10 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-m68k.c (md_begin): Support 64bit host. - (get_num): Support 64bit BFD on 32bit host. - -2005-04-10 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-mips.c (md_apply_fix3): Fix typos in BFD_RELOC_64. - -2005-04-09 Alan Modra <amodra@bigpond.net.au> - - * read.c (assign_symbol): Remove const from parm. Fix xcalloc - call. Don't do the COFF hacks for multi-emulation gas. Move - demand_empty_rest_of_line back to caller. - (s_set, equals): demand_empty_rest_of_line here. - - PR gas/827 - * as.h (rs_dummy): Define. - * symbols.c (symbol_X_add_number): New function. - * symbols.h (symbol_X_add_number): Declare. - * stabs.c (aout_process_stab): Tidy symbol frag setting. - * read.c (assign_symbol): New function, split out from s_set. - Use symbol_find_or_make. Leave fr_type of dummy frag as rs_dummy. - Fix COFF hacks for multi-emulation gas. - (s_set): Call assign_symbol. Remove "register" keyword. - (set_zero_frag): New function. - (pseudo_set): Always check for assignment to section syms. - Always set segment and frag of symbol, and likewise extern for - aout/bout. Handle assignment of sym=sym+/-const specially. Don't - special case exp.X_add_number non-zero for O_symbol expressions. - (equals): Use assign_symbol. - -2005-04-08 Bob Wilson <bob.wilson@acm.org> - - * config/tc-xtensa.c (xtensa_create_xproperty_segments): Skip - SEC_MERGE sections. - -2005-04-06 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-i386.c (tc_gen_reloc): Don't turn - BFD_RELOC_X86_64_32S into BFD_RELOC_32. - -2005-04-06 Nick Clifton <nickc@redhat.com> - - * po/rw.po: New translation: Kinyarwanda - * configure.in (ALL_LINGUAS): Add rw - * configure: Regenerate. - -2005-04-05 Sterling Augustine <sterling@tensilica.com> - Bob Wilson <bob.wilson@acm.org> - - * config/tc-xtensa.c (branch_align_power): New. - (xtensa_find_unaligned_branch_targets, get_aligned_diff, - future_alignment_required): Use branch_align_power to check section - alignment as well as xtensa_fetch_width when aligning branch targets. - -2005-04-05 Bob Wilson <bob.wilson@acm.org> - - * config/tc-xtensa.c: Warning fixes throughout. - (xtensa_fetch_width): Change to unsigned. - (assemble_nop, xtensa_find_unaligned_branch_targets, - xtensa_find_unaligned_loops, xg_assemble_vliw_tokens, - is_narrow_branch_guaranteed_in_range, xtensa_fix_close_loop_end_frags, - min_bytes_to_other_loop_end, unrelaxed_frag_min_size, - unrelaxed_frag_max_size, xtensa_fix_short_loop_frags, - count_insns_to_loop_end, unrelaxed_frag_min_insn_count, - get_text_align_max_fill_size, get_text_align_nop_count, - get_text_align_nth_nop_size, get_noop_aligned_address, - get_aligned_diff, convert_frag_align_next_opcode, - convert_frag_immed_finish_loop, xtensa_create_property_segments, - xtensa_create_xproperty_segments, xt_block_aligned_size): Clean up - types, avoiding size_t and using offsetT and addressT appropriately. - (get_text_align_power): Clean up types. Avoid incorrect bound. - (get_text_align_fill_size): Clean up types. Restructure for clarity. - -2005-04-04 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-ia64.c (start_unwind_section): Undo the change - of 2004-08-18. - (generate_unwind_image, dot_endp): Likewise. - -2005-04-01 David Mosberger <davidm@hpl.hp.com> - - * config/tc-ia64.c (ia64_handle_align): Move le_nop and - le_nop_stop arrays and initializers to file scope. - (md_begin): When generating code for anything other than - Itanium 1, use MMI instead of MFI NOP bundles as a filler. - -2005-04-01 Jan Beulich <jbeulich@novell.com> - - * config/tc-i386.c (output_imm): Also set sign flag for 64-bit push - immediates. - -2005-04-01 Jan-Benedict Glaw <jbglaw@lug-owl.de> - - * NEWS: Mention [fdgh]_floating. - * config/atof-vax.c: Fix some whitespace. - * config/tc-vax.c (md_pseudo_table): Add "[fdgh]_floating". - -2005-04-01 Nick Clifton <nickc@redhat.com> - - * configure.in: Add a check for <unistd.h> providing a prototype - for getopt() which is compatible with the one in - include/getopt.h. If so then define HAVE_DECL_GETOPT. - * configure: Regenerate. - * config.in (HAVE_DECL_GETOPT): Add. - -2005-04-01 Jan Beulich <jbeulich@novell.com> - - * config/tc-i386.c (s_bss): Call obj_elf_section_change_hook. - -2005-04-01 Jan Beulich <jbeulich@novell.com> - - * config/tc-i386.c (md_apply_fix3): Also handle BFD_RELOC_X86_64_32S. - (tc_gen_reloc): Handle BFD_RELOC_X86_64_32S in the default case. - -2005-03-30 Julian Brown <julian@codesourcery.com> - - * config/tc-arm.c (arm_adjust_symtab): Rename - bfd_elf32_is_arm_mapping_symbol_name to bfd_is_arm_mapping_symbol_name. - -2005-03-30 Julian Brown <julian@codesourcery.com> - - * config/tc-arm.c (mapping_state): Change documentation in function - comment to cross-reference spec instead. Change type of mapping symbols - to BSF_NO_TYPE. - (arm_adjust_symtab): Don't change type of mapping symbols here. - -2005-03-30 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> - - * as.h [NEED_DECLARATION_FFS] (ffs): Prototype and alphabetize. - * config.in: Regenerate. - * configure: Regenerate. - * configure.in: Check for ffs decl and alphabetize. - -2005-03-29 Daniel Jacobowitz <dan@codesourcery.com> - Phil Blundell <philb@gnu.org> - - * config/tc-arm.c (arm_parse_reloc): Add TLS relocations. - (md_apply_fix3): Mark TLS symbols. - (tc_gen_reloc): Handle TLS relocations. - (arm_fix_adjustable): Ignore TLS relocations. - (s_arm_elf_cons): Support expressions after decorated symbols. - -2005-03-29 Julian Brown <julian@codesourcery.com> - - * config/tc-arm.c (marked_pr_dependency): New bitmap, bit N indicates - whether personality routine index N has been output for this section. - (mapping_state): tc_segment_info_data now struct not enum. - (arm_elf_change_section): Likewise, and marked_pr_dependency is now - handled on section change. - (create_unwind_entry): Previous code to output dependency removed. - (s_arm_unwind_fnend): Output dependency if it hasn't been done already - for this section. - * config/tc-arm.h (TC_SEGMENT_INFO_TYPE): Redefined as struct - arm_segment_info_type. - (arm_segment_info_type): New struct. - -2005-03-28 Sterling Augustine <sterling@tensilica.com> - Bob Wilson <bob.wilson@acm.org> - - * config/tc-xtensa.c (do_align_targets): Update comment. - (xtensa_frob_label): Compute "freq" before possibly switching frags. - Insert a LOOP_END frag before every loop target, and do not overload - DESIRE_ALIGN_IF_TARGET frags with loop end information. - (xg_assemble_vliw_tokens): Use do_align_targets. - (xtensa_fix_target_frags): Remove code to convert a - DESIRE_ALIGN_IF_TARGET frag to a LOOP_END frag when there is a - negatable branch at the end of a loop. - (frag_can_negate_branch): Delete. - -2005-03-28 David Mosberger <davidm@hpl.hp.com> - H.J. Lu <hongjiu.lu@intel.com> - - PR 803 - NEWS: Mention "-mtune=[itanium1|itanium2]". - - * config/tc-ia64.c (md): Add tune. - (md_parse_option): Accepted "-mtune=[itanium1|itanium2]". - (md_show_usage): Add "-mtune=[itanium1|itanium2]". - (extra_goodness): Prefer M- and I-unit NOPs for itanium2. F and - B unit NOPs are discouraged for McKinley-derived cores. - (md_begin): Don't hardcode the "extra_goodness()" function in - the comment... - (ia64_init): Set md.tune to itanium2. - - * doc/as.texinfo: Add -mtune=[itanium1|itanium2]". - * doc/c-ia64.texi: Likewise. - -2005-03-27 Ian Lance Taylor <ian@airs.com> - - * config/obj-coff.c (coff_frob_symbol): When crashing because of a - bad C_EFCN symbol, print its name. - -2005-03-25 Bob Wilson <bob.wilson@acm.org> - - * config/tc-xtensa.c (use_longcalls): Delete. - (xg_symbolic_immeds_fit): Check for direct calls and return TRUE if - the use_longcalls flag is set. Do this before checking the segment. - (xg_expand_assembly_insn): Rearrange to use new do_expand flag. Never - expand direct calls at this point. - (xtensa_set_frag_assembly_state): Set use_longcalls flag. - (xtensa_find_unmarked_state_frags): Likewise. - (md_assemble): Do not disable longcalls by setting is_specific_opcode. - (xg_assemble_vliw_tokens): Switch frags when use_longcalls changes. - (convert_frag_immed): Remove unnecessary check of is_specific_opcode. - * config/tc-xtensa.h (xtensa_frag_type): Add use_longcalls flag. - -2005-03-25 Hans-Peter Nilsson <hp@bitrange.com> - - * config/tc-mmix.c, config/tc-mmix.h: Convert to ISO C90. - -2005-03-25 Hans-Peter Nilsson <hp@axis.com> - - * config/tc-cris.h: Convert to ISO C90. - * config/tc-cris.c: Ditto. - (md_estimate_size_before_relax): Remove obsolete comment for - parameter "segment_type". - (md_begin): Document reason for cast of hash_insert argument. - (md_atof): Correct type of parameter "type". - -2005-03-24 Nick Clifton <nickc@redhat.com> - - * write.h (bit_fix_new): Remove redundant prototype. - * config/atof-ieee.c: Convert to ISO-C90 and fix formatting. - * config/obj-aout.c: Convert to ISO-C90 and fix formatting. - * config/obj-aout.h: Convert to ISO-C90 and fix formatting. - * config/obj-bout.c: Convert to ISO-C90 and fix formatting. - * config/obj-bout.h: Convert to ISO-C90 and fix formatting. - * config/obj-ecoff.c: Convert to ISO-C90 and fix formatting. - * config/obj-ecoff.h: Convert to ISO-C90 and fix formatting. - * config/obj-som.c: Convert to ISO-C90 and fix formatting. - * config/obj-som.h: Convert to ISO-C90 and fix formatting. - * config/tc-a29k.c: Convert to ISO-C90 and fix formatting. - * config/tc-a29k.h: Convert to ISO-C90 and fix formatting. - * config/tc-alpha.c: Convert to ISO-C90 and fix formatting. - * config/tc-alpha.h: Convert to ISO-C90 and fix formatting. - * config/tc-arc.c: Convert to ISO-C90 and fix formatting. - * config/tc-arc.h: Convert to ISO-C90 and fix formatting. - * config/tc-d10v.c: Convert to ISO-C90 and fix formatting. - * config/tc-d10v.h: Convert to ISO-C90 and fix formatting. - * config/tc-d30v.c: Convert to ISO-C90 and fix formatting. - * config/tc-d30v.h: Convert to ISO-C90 and fix formatting. - * config/tc-dlx.c: Convert to ISO-C90 and fix formatting. - * config/tc-dlx.h: Convert to ISO-C90 and fix formatting. - * config/tc-fr30.c: Convert to ISO-C90 and fix formatting. - * config/tc-fr30.h: Convert to ISO-C90 and fix formatting. - * config/tc-h8500.c: Convert to ISO-C90 and fix formatting. - * config/tc-h8500.h: Convert to ISO-C90 and fix formatting. - * config/tc-i370.c: Convert to ISO-C90 and fix formatting. - * config/tc-i370.h: Convert to ISO-C90 and fix formatting. - * config/tc-i960.c: Convert to ISO-C90 and fix formatting. - * config/tc-ip2k.c: Convert to ISO-C90 and fix formatting. - * config/tc-ip2k.h: Convert to ISO-C90 and fix formatting. - * config/tc-m32r.c: Convert to ISO-C90 and fix formatting. - * config/tc-m32r.h: Convert to ISO-C90 and fix formatting. - * config/tc-m88k.c: Convert to ISO-C90 and fix formatting. - * config/tc-m88k.h: Convert to ISO-C90 and fix formatting. - * config/tc-mcore.c: Convert to ISO-C90 and fix formatting. - * config/tc-mcore.h: Convert to ISO-C90 and fix formatting. - * config/tc-mn10200.c: Convert to ISO-C90 and fix formatting. - * config/tc-ns32k.c: Convert to ISO-C90 and fix formatting. - * config/tc-ns32k.h: Convert to ISO-C90 and fix formatting. - * config/tc-openrisc.c: Convert to ISO-C90 and fix formatting. - * config/tc-openrisc.h: Convert to ISO-C90 and fix formatting. - * config/tc-or32.c: Convert to ISO-C90 and fix formatting. - * config/tc-or32.h: Convert to ISO-C90 and fix formatting. - * config/tc-pdp11.h: Convert to ISO-C90 and fix formatting. - * config/tc-pj.c: Convert to ISO-C90 and fix formatting. - * config/tc-pj.h: Convert to ISO-C90 and fix formatting. - * config/tc-tahoe.c: Convert to ISO-C90 and fix formatting. - * config/tc-tic80.c: Convert to ISO-C90 and fix formatting. - * config/tc-tic80.h: Convert to ISO-C90 and fix formatting. - * config/tc-v850.c: Convert to ISO-C90 and fix formatting. - * config/tc-v850.h: Convert to ISO-C90 and fix formatting. - * config/tc-w65.c: Convert to ISO-C90 and fix formatting. - * config/tc-w65.h: Convert to ISO-C90 and fix formatting. - * config/tc-xstormy16.c: Convert to ISO-C90 and fix formatting. - * config/tc-xstormy16.h: Convert to ISO-C90 and fix formatting. - -2005-03-23 Jim Blandy <jimb@redhat.com> - - * config/tc-arm.c (arm_adjust_symtab): Fetch elf_sym's binding - attributes properly. - -2005-03-23 Mike Frysinger <vapier@gentoo.org> - Nick Clifton <nickc@redhat.com> - - * configure.tgt: Accept any C library to accompany a GNU Linux - implementation, not just the GNU C library. - * configure.in: Likewise. - * configure: Regenerate. - -2005-03-23 Nick Clifton <nickc@redhat.com> - - * config/tc-tic30.c: Convert to ISO C90 formatting. - * config/tc-tic30.h: Convert to ISO C90 formatting. - * config/tc-pdp11.c: Convert to ISO C90 formatting. - * config/atof-vax.c: Convert to ISO C90 formatting. - -2005-03-21 Maciej W. Rozycki <macro@mips.com> - - * config/tc-mips.c (mips_frob_file): Sort BFD_RELOC_MIPS16_LO16 - relocations correctly as well. - (mips_fix_adjustable): Don't make BFD_RELOC_MIPS16_LO16 - relocations in mergeable sections section-relative either. - -2005-03-21 Bob Wilson <bob.wilson@acm.org> - - * config/tc-xtensa.c (md_apply_fix3): Recognize XTENSA_PLT relocations. - -2005-03-21 Nick Clifton <nickc@redhat.com> - - * config/tc-sh.c (sh_elf_final_processing): Fix compile time - warning by providing a prototype for sh_symbian_find_elf_flags. - - * cgen.c (gas_cgen_parse_operand): Fix typo introduced by - previous delta. - -2005-03-21 Alan Modra <amodra@bigpond.net.au> - - * configure.tgt: Handle setting of bfd_gas for fmt=multi targets - along with other formats that set bfd_gas. Remove unnecessary - setting of bfd_gas. Delete strongarm cases in generic_target - switch. - -2005-03-21 Alan Modra <amodra@bigpond.net.au> - - PR gas/780 - * config/tc-m68k.c (TRUNC, SEXT): Define. - (issbyte, isubyte, issword, isuword, isbyte, isword): Use the above. - (m68k_ip): Truncate or sign extend expressions as appropriate. - (get_num): Likewise. - (md_apply_fix3): Use SEXT. - -2005-03-21 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am (OBJ_FORMAT_CFILES): Prune config/obj-vms.c. - (OBJ_FORMAT_HFILES): Prune config/obj-vms.h. - (obj-vms.o): Delete rule. - Run "make dep-am". - * Makefile.in: Regenerate. - * aclocal.m4: Regenerate. - * doc/Makefile.in: Regenerate. - * po/POTFILES.in: Regenerate. - -2005-03-18 C Jaiprakash <cjaiprakash@noida.hcltech.com> - - * config/tc-m68k.c (m68k_elf_final_processing): Set file specific - flag for coldfire v4e. - -2005-03-17 Bob Wilson <bob.wilson@acm.org> - - * config/tc-xtensa.c (xg_apply_tentative_value): Rename to - xg_apply_fix_value and return a value to indicate success. - (md_pcrel_from): Skip check of fx_done. Return 0 if not PC-relative. - (xtensa_force_relocation): Remove checks for VTABLE relocs. - (xtensa_validate_fix_sub): New. - (xtensa_fix_adjustable): Remove check for external or weak symbols. - (tc_gen_reloc): Move code to handle difference of symbols and code to - apply tentative fix values to ... - (md_apply_fix3): ...here. Enable standard overflow checks for simple - 8, 16, and 32 bit relocations. Apply fixes for slot-specific - relocations when linkrelax flag is not set. - * config/tc-xtensa.h (xtensa_validate_fix_sub): Add prototype. - (TC_FORCE_RELOCATION_SUB_SAME, TC_VALIDATE_FIX_SUB): Define. - -2005-03-17 Jan Beulich <jbeulich@novell.com> - - * config/tc-i386.c (i386_scale): Beautify error message. - (Intel syntax comments): Update. - (struct intel_parser_s): Add fields in_offset, in_bracket, and - next_operand. - (intel_e04_1, intel_e05_1, intel_e05_1, intel_e09_1, intel_e10_1): - Remove declarations. - (intel_bracket_expr): Declare. - (i386_intel_operand): Initialize new intel_parser fields. Wrap most - of the function body in a loop allowing to split an operand into two. - Replace calls to malloc and checks of it returning non-NULL with - calls to xmalloc/xstrdup. - (intel_expr): SHORT no longer handled here. Add comment indicating - comparison ops need implementation. - (intel_e04, intel_e04_1): Combine, replace recursion with loop. - Check right operand of - does not specify a register when parsing - the address of a memory reference. - (intel_e05, intel_e05_1): Combine, replace recursion with loop. - Check operands do not specify a register when parsing the address of - a memory reference. - (intel_e06, intel_e06_1): Likewise. - (intel_e09, intel_e09_1): Combine, replace recursion with loop. Also - handle SHORT as well as unary + and -. Don't accept : except for - segment overrides or in direct far jump/call insns. - (intel_brack_expr): New. - (intel_e10, intel_e10_1): Combine, replace recursion with loop. Use - intel_brack_expr. - (intel_e11): Replace chain of if/else-if by switch, alloing fall- - through in certain cases. Use intel_brack_expr. Add new diagnostics. - Allow symbolic constants as register scale value. - (intel_get_token): Replace call to malloc and check of return value - with call to xmalloc. Change handling for FLAT to match MASM's. - (intel_putback_token): Don't try to back up/free current token if - that is T_NIL. - -2005-03-16 Daniel Jacobowitz <dan@codesourcery.com> - - * configure.tgt: Set emulation for arm-*-eabi*. - * config/tc-arm.c (meabi_flags): Check EABI_DEFAULT. - * config/te-armeabi.h: New file. - * config/te-armlinuxeabi.h (EABI_DEFAULT): Define. - * config/te-symbian.h: Include "te-armeabi.h". - -2005-03-16 Nick Clifton <nickc@redhat.com> - - * cgen.c (gas_cgen_parse_operand): Copy opinfo parameter into a - local variable in case it is clobbered by the setjmp. - -2005-03-16 Nick Clifton <nickc@redhat.com> - Ben Elliston <bje@au.ibm.com> - - * configure.in (werror): New switch: Add -Werror to the - compiler command line. Enabled by default. Disable via - --disable-werror. - * configure: Regenerate. - -2005-03-16 Nick Clifton <nickc@redhat.com> - - * config/obj-coff.h: Convert to ISO C90 formatting. - * config/obj-coff.c: Convert to ISO C90 formatting. - -2005-03-15 Zack Weinberg <zack@codesourcery.com> - - * config/tc-arm.c (do_mla): Rename to do_mlas, take second - is_mls parameter; do not diagnose Rm==Rd when is_mls. - (do_mla, do_mls, five_bit_unsigned_immediate, bfci_lsb_and_width) - (do_bfc, do_bfi, do_bfx, do_rbit, do_mov16, do_ldsttv4): New functions. - (insns): Add ARMv6T2 instructions: - bfc bfi mls movw movt rbit sbfx ubfx ldrht ldrsht ldrsbt strht. - (arm_archs): Add V6T2 variants. - -2005-03-15 Nick Clifton <nickc@redhat.com> - - * NEWS: Add cutoff for changes in 2.16 release. - -2005-03-15 Jan Beulich <jbeulich@novell.com> - - * expr.c (operand): Merge handling of unary + into that for unary - -, !, and ~. - -2005-03-14 Eric Christopher <echristo@redhat.com> - - * config/tc-mips.c: Include dw2gencfi.h. - (mips_cfi_frame_initial_instructions): New. - * config/tc-mips.h (TARGET_USE_CFIPOP): Define. - (tc_cfi_frame_initial_instructions): Ditto. - (DWARF2_DEFAULT_RETURN_COLUMN): Ditto. - (DWARF2_CIE_DATA_ALIGNMENT): Ditto. - * Makefile.am: Update dependencies. - * Makefile.in: Regenerate. - -2005-03-15 Alan Modra <amodra@bigpond.net.au> - - * po/es.po: Commit new Spanish translation. - -2005-03-14 Alan Modra <amodra@bigpond.net.au> - - * po/tr.po: Commit new Turkish translation. - -2005-03-12 Zack Weinberg <zack@codesourcery.com> - - * config/tc-arm.c (tinsns): Add ARMv6K instructions sev, wfe, - wfi, yield. - -2005-03-11 Daniel Jacobowitz <dan@codesourcery.com> - - * config-gas.com: Mark vax-vms as obsolete. - * configure.in: Remove fmt=vms support. - * config.in: Regenerate. - * configure: Regenerate. - * config/obj-vms.h, config/obj-vms.c, config/vms-conf.h: Remove. - -2005-03-10 Sterling Augustine <sterling@tensilica.com> - Bob Wilson <bob.wilson@acm.org> - - * config/tc-xtensa.c (finish_vinsn): Include the last instruction slot - when checking if xg_resolve_literals needs to be called. - * config/tc-xtensa.h: Fix spelling typo in a comment. - -2005-03-10 Jan Beulich <jbeulich@novell.com> - - * config/tc-tic54x.h (tic54x_macro_info): Change parameter type. - * config/tc-tic54x.c (tic54x_macro_info): Likewise. Replace hand- - crafted structure declarations with the types from macro.h. - -2005-03-09 Richard Sandiford <rsandifo@redhat.com> - - * config/tc-mips.c (s_cpsetup): Use '__gnu_local_gp' instead of '_gp' - for -mno-shared optimization. - -2005-03-09 Richard Sandiford <rsandifo@redhat.com> - - * config/tc-mips.c (MAX_VR4130_NOPS, MAX_DELAY_NOPS): New macros. - (MAX_NOPS): Bump to 4. - (mips_fix_vr4130): New variable. - (nops_for_vr4130): New function. - (nops_for_insn): Use MAX_DELAY_NOPS rather than MAX_NOPS. Use - nops_for_vr4130 if working around VR4130 errata. - (OPTION_FIX_VR4130, OPTION_NO_FIX_VR4130): New macros. - (md_longopts): Add -mfix-vr4130 and -mno-fix-vr4130. - (md_parse_option): Handle them. - (md_show_usage): Print them. - * doc/c-mips.texi: Document -mfix-vr4130 and -mno-fix-vr4130. - -2005-03-09 Richard Sandiford <rsandifo@redhat.com> - - * config/tc-mips.c (append_insn): Remove cop_interlocks test from - branch delay code. - -2005-03-09 Richard Sandiford <rsandifo@redhat.com> - - * config/tc-mips.h (mips_flush_pending_output): Delete. - (mips_emit_delays): Declare. - (md_flush_pending_output): Use mips_emit_delays. - * config/tc-mips.c (mips_no_prev_insn): Remove parameter; always forget - the previous instructions. - (md_begin, append_insn, md_parse_option): Update callers. - (mips_emit_delay): Remove parameter. Move INSNS != 0 code to - start_noreorder. - (mips_align, s_change_sec, s_cons, s_float_cons, s_gpword) - (s_gpdword): Update callers. - (start_noreorder, end_noreorder): New functions. - (macro, macro2, mips16_macro, s_mipsset): Use them instead of - manipulating mips_opts or prev_nop_frag directly. - (mips_flush_pending_output): Delete. - -2005-03-09 Richard Sandiford <rsandifo@redhat.com> - - * config/tc-mips.c (mips_move_labels): New function, taken from... - (append_insn, mips_emit_delays): ...here. - -2005-03-09 Richard Sandiford <rsandifo@redhat.com> - - * config/tc-mips.c (MAX_NOPS): New macro. - (history): Resize to 1 + MAX_NOPS. - (fix_vr4120_class): New enumeration. - (vr4120_conflicts): New variable. - (init_vr4120_conflicts): New function. - (md_begin): Call it. - (insn_uses_reg): Constify first argument. - (classify_vr4120_insn, insns_between, nops_for_insn, nops_for_sequence) - (nops_for_insn_or_target): New functions. - (append_insn): Use the new nops_for_* functions instead of inline - delay checks. Generalize prev_nop_frag handling to handle an - arbitrary history length. Insert nops into the history buffer - once the number of nops in prev_nop_frag is fixed. - (emit_delays): Use nops_for_insn instead of inline delay checks. - -2005-03-09 Richard Sandiford <rsandifo@redhat.com> - - * config/tc-mips.c (append_insn): Remove now-redundant nops != 0 - check from branch delay code. Remove unnecessary check for branches. - -2005-03-09 Richard Sandiford <rsandifo@redhat.com> - - * config/tc-mips.c (dummy_opcode): Delete. - (nop_insn, mips16_nop_insn): New variables. - (NOP_INSN): New macro. - (insn_length, create_insn, install_insn, move_insn, add_fixed_insn) - (add_relaxed_insn, insert_into_history, emit_nop): New functions. - (md_begin): Initialize nop_insn and mips16_nop_insn. - (append_insn): Use the new emit_nop function to add nops, recording - them in the history buffer. Use add_fixed_insn or add_relaxed_insn - to reserve room for the instruction and install_insn to install the - final form. Use insert_into_history to record the instruction in - the history buffer. Use move_insn to do delay slot filling. - (mips_emit_delays): Use add_fixed_insn instead of the emit_nop macro. - (macro_build, mips16_macro_build, macro_build_lui, mips_ip) - (mips16_ip): Use create_insn to initialize mips_cl_insns. - -2005-03-09 Richard Sandiford <rsandifo@redhat.com> - - * config/tc-mips.c (INSERT_BITS, EXTRACT_BITS, INSERT_OPERAND) - (EXTRACT_OPERAND, MIPS16_INSERT_OPERAND, MIPS16_EXTRACT_OPERAND): New. - (insn_uses_reg, reg_needs_delay, append_insn, macro_build) - (mips16_macro_build, macro_build_lui, mips16_macro, mips_ip) - (mips16_ip): Use the new macros instead of explicit masks and shifts. - -2005-03-09 Richard Sandiford <rsandifo@redhat.com> - - * config/tc-mips.c (mips_cl_insn): Replace the valid_p, delay_slot_p - and extended_p fields with a single fixed_p field. - (append_insn, mips_no_prev_insn): Adjust accordingly. - -2005-03-09 Richard Sandiford <rsandifo@redhat.com> - - * config/tc-mips.c (mips_cl_insn): Replace reloc_type array with - a single mips16_absolute_jump_p bit. - (append_insn): Adjust accordingly. - -2005-03-09 Richard Sandiford <rsandifo@redhat.com> - - * config/tc-mips.h (mips_cl_insn): Move definition to... - * config/tc-mips.c (mips_cl_insn): ...here. Add new fields: - frag, where, fixp, reloc_type, valid_p, noreorder_p, delay_slot_p - and extended_p. - (history): New variable. - (prev_insn, prev_prev_insn, prev_insn_valid, prev_insn_frag) - (prev_insn_where, prev_insn_reloc_type, prev_insn_fixp) - (prev_insn_is_delay_slot, prev_insn_unreordered, prev_insn_extended) - (prev_prev_insn_unreordered): Delete. - (reg_needs_delay, append_insn, mips_no_prev_insn, mips_emit_delays) - (macro_start): Replace uses of prev_insn* with the equivalent history[] - field. - -2005-03-08 Daniel Jacobowitz <dan@codesourcery.com> - - * doc/Makefile.am: Update as.info dependencies. - * aclocal.m4, Makefile.in, doc/Makefile.in: Regenerated. - -2005-03-08 Jan Beulich <jbeulich@novell.com> - - * doc/as.texinfo: Add sentence to indicate redefining a macro is an - error, and point to .purgem documentation if someone really needs - re-definitions. - * NEWS: Mention macro redefinition is now an error. - -2005-03-08 Jan Beulich <jbeulich@novell.com> - - * config/tc-ia64.c (emit_one_bundle): Track last slot user insn was - emitted to. Add more precise diagnostics for non-fitting insns based - on that. Eliminate now superfluous special casing of MLX. Clear out - slot information when dropping an insn. - -2005-03-08 Jan Beulich <jbeulich@novell.com> - - * config/tc-ia64.c (parse_section_name): Rename to... - (cross_section): In addition to separating the name from the rest of - the arguments, also carry out the operation. - (dot_xdata): Use cross_section. - (dot_float_cons): Likewise. - (dot_xstringer): Likewise. - (dot_xdata_ua): Likewise. - (dot_float_cons_ua): Likewise. Pass float_cons, not stmt_float_cons. - -2005-03-05 Alan Modra <amodra@bigpond.net.au> - - * po/gas.pot: Regenerate. - -2005-03-04 David Daney <ddaney@avtrex.com> - - * config/tc-mips.c (macro_build_lui): Use '__gnu_local_gp' - instead of '_gp' for -mno-shared optimization. - (s_cpload): Ditto. - (s_abicalls): Document it in the comment. - (md_show_usage): Document the -mno-shared option. - -2005-03-04 Richard Sandiford <rsandifo@redhat.com> - - * config/tc-mips.c (mips_set_options): Add sym32 field. - (mips_opts): Initialize it. - (HAVE_32BIT_ADDRESSES): Set to true if pointers are 32 bits wide. - (HAVE_64BIT_ADDRESSES): Redefine as !HAVE_32BIT_ADDRESSES. - (HAVE_32BIT_SYMBOLS, HAVE_64BIT_SYMBOLS): New macros. - (load_address): Use HAVE_64BIT_SYMBOLS instead of HAVE_64BIT_ADDRESSES - when deciding whether to use a symbolic %highest/%higher expansion. - (macro): Likewise. Remove o64/n32 linux hack. Always use - ADDRESS_ADD*_INSN for address addition in the expansion of "dla" - and "la". Handle constants separately from symbolic expressions in - the "ld_st:" case, using 64-bit arithmetic if HAVE_64BIT_ADDRESSES - and using load_register to load the high part of the address. - (OPTION_MSYM32, OPTION_NO_MSYM32): New macros. - (OPTION_ELF_BASE): Bump by 2. - (md_longopts): Add entries for -msym32 and -mno-sym32. - (md_parse_option): Handle them. - (usage): Document them. - (s_mipsset): Handle ".set sym32" and ".set nosym32". - (s_cpload, s_cpsetup): Use HAVE_64BIT_SYMBOLS instead of - HAVE_64BIT_ADDRESSES to detect 64-bit values of "_gp". - * doc/c-mips.texi: Document ".set sym32", ".set nosym32", - -msym32 and -mno-sym32. - -2005-03-03 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> - - * config/tc-mips.c (load_address): Implement GP optimization - for 64bit address space non-PIC. Fix formatting. - (macro): Likewise. Simplify code. - (md_parse_option): Don't bail out if -G 0 is set for PIC code. - (mips_after_parse_args): Simplify code. - -2005-03-03 Nick Clifton <nickc@redhat.com> - - * expr.c (operand): Remove redundant code enclosed by #ifdef - RELAX_PAREN_GROUPING....#endif. - - * config/tc-mn10200.c (tc_gen_reloc): Handle the case where the - reloc is the difference of two symbols defined in the same - section. - - * config/tc-iq2000.c (line_comment_chars): Include the # character - as otherwise this breaks #APP/#NO_APP processing. - -2005-03-03 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com> - - * config/tc-arc.c(md_assemble): Remove dead code for handling - immediate indexing of ld and st . - -2005-03-02 Daniel Jacobowitz <dan@codesourcery.com> - Joseph Myers <joseph@codesourcery.com> - - * config/tc-mips.c (percent_op): Add %tlsgd, %tlsldm, %dtprel_hi, - %dtprel_lo, %tprel_hi, %tprel_lo, and %gottprel. - (parse_relocation): Check for a word break after a relocation - operator. - (md_apply_fix3): Handle TLS relocations, and mark thread-local - symbols. - -2005-03-02 Alan Modra <amodra@bigpond.net.au> - - * config/tc-ppc.c (ppc_fix_adjustable <ELF>): Remove bogus checks. - -2005-03-02 Jan Beulich <jbeulich@novell.com> - - * as.c (main): Use unlink_if_ordinary instead of unlink. - * messages.c (as_fatal): Likewise. - -2005-03-02 Jan Beulich <jbeulich@novell.com> - - * config/tc-i386.c (build_modrm_byte): Add lock prefix for cr8...15 - accesses. - (parse_register): Allow cr8...15 in all modes. - -2005-03-02 Jan Beulich <jbeulich@novell.com> - - * config/tc-i386.c (intel_e11): If not followed by T_PTR, treat T_BYTE - etc. like normal symbol references (T_ID). - -2005-03-02 Alan Modra <amodra@bigpond.net.au> - - * symbols.c (fb_label_name): Fix silly thinko in last change. - -2005-03-02 Alan Modra <amodra@bigpond.net.au> - - * expr.c (integer_constant): Remove TARGET_WORD_SIZE hack. - * config/tc-m68k.h (TARGET_WORD_SIZE): Delete. - - * symbols.c (fb_label_name): Allow an augend of 2 for mmix. - -2005-03-01 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com> - - PR gas/708 - * config/tc-arc.c (md_assemble): Initialize suffix for extension - suffixes also. - -2005-03-01 Alan Modra <amodra@bigpond.net.au> - - * config/obj-coff.c (fixup_segment): Delete sy_mri_common assertion. - - * as.h (assert): Warning fix. - * expr.c (expr): Correct assertion. - * read.c (s_comm_internal): Remove assertion. - * write.c (relax_segment): Enable vma assertion only for BFD_ASSEMBLER. - (fixup_segment): Remove assertion. - * config/tc-dlx.c (machine_ip): Remove untrue assertions. - (md_apply_fix3): Likewise. - * config/tc-i370.c (md_begin): Correct assertion. - (i370_macro): Warning fix for assertion. - -2005-03-01 Alan Modra <amodra@bigpond.net.au> - - * configure.in (AC_C_BIGENDIAN): Invoke. - * configure: Regenerate. - * write.c (write_object_file <!BFD_ASSEMBLER>): Don't use sizeof - host variable to set string header size. - * config/obj-aout.c (obj_header_append): Don't use host structs. - (obj_symbol_to_chars): Likewise. - (obj_emit_strings): Likewise. Use the passed in output pointer. - * config/obj-aout.h (H_GET_FILE_SIZE): Include H_GET_LINENO_SIZE. - * config/obj-bout.c (obj_emit_relocations): Use md_reloc_size, - not sizeof host struct. - (obj_header_append, obj_symbol_to_chars): Don't use host structs. - (obj_emit_strings): Likewise. - * config/obj-bout.h (EXEC_BYTES_SIZE): Define. - (N_TXTOFF, H_GET_FILE_SIZE, H_GET_HEADER_SIZE): Use instead of - sizeof host struct. - (H_SET_SYMBOL_TABLE_SIZE): Hard code sym size rather than using - sizeof host struct. - (host_number_to_chars): Define. - * config/obj-hp300.c (hp300_header_append): Don't use sizeof - host internal struct to set header sizes. - * config/tc-i960.c (md_number_to_field): Warning fix. - (md_ri_to_chars): Use host byte order. - (get_cdisp, md_apply_fix3): Warning fix. - * config/tc-m68k.c (md_assemble): Don't use sizeof host short. - -2005-02-28 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com> - - * doc/c-arc.texi: Update documentation about ARC's extension - instructions. - -2005-02-27 Svein E. Seldal <svein@dev.seldal.com> - - * config/tc-tic4x.c (tic4x_gen_to_words): Changed mail - address for myself. - -2005-02-23 Alan Modra <amodra@bigpond.net.au> - - * cgen.c: Warning fixes. - * config/tc-arc.c: Likewise. - * config/tc-arm.c: Likewise. - * config/tc-avr.c: Likewise. - * config/tc-d10v.c: Likewise. - * config/tc-d30v.c: Likewise. - * config/tc-frv.c: Likewise. - * config/tc-frv.h: Likewise. - * config/tc-h8300.c: Likewise. - * config/tc-h8500.c: Likewise. - * config/tc-i370.c: Likewise. - * config/tc-i960.c: Likewise. - * config/tc-ia64.c: Likewise. - * config/tc-ip2k.c: Likewise. - * config/tc-m68hc11.c: Likewise. - * config/tc-maxq.c: Likewise. - * config/tc-mcore.c: Likewise. - * config/tc-mips.c: Likewise. - * config/tc-msp430.c: Likewise. - * config/tc-pj.c: Likewise. - * config/tc-ppc.c: Likewise. - * config/tc-ppc.h: Likewise. - * config/tc-s390.c: Likewise. - * config/tc-sh.c: Likewise. - * config/tc-sh64.c: Likewise. - * config/tc-tic4x.c: Likewise. - * config/tc-tic80.c: Likewise. - * config/tc-v850.c: Likewise. - * config/tc-vax.c: Likewise. - * config/tc-w65.c: Likewise. - * config/tc-xstormy16.c: Likewise. - * config/tc-z8k.c: Likewise. - -2005-02-22 Catherine Moore <clm@cm00re.com> - - * read.c (read_a_source_file): Reinstate TC_EQUAL_IN_INSN test. - * doc/internals.texi (TC_EQUAL_IN_INSN): Reinstate. - -2005-02-22 Eric Christopher <echristo@redhat.com> - - * config/tc-mips.c (struct proc): Change isym to - func_sym. New member func_end_sym. - (s_mips_ent): Update. - (s_mips_end): Ditto. Add code to compute function size. - -2005-02-22 Alan Modra <amodra@bigpond.net.au> - - * read.c: Warning fixes. - * config/obj-elf.c: Likewise. - -2005-02-22 Maciej W. Rozycki <macro@mips.com> - - * config/tc-mips.c (append_insn): Call dwarf2_emit_insn() before - emitting insn. - -2005-02-21 H.J. Lu <hongjiu.lu@intel.com> - - * config/obj-coff.c (obj_coff_section): Replace SEC_SHARED with - SEC_COFF_SHARED. - - * config/tc-tic54x.c (tic54x_bss): Replace SEC_BLOCK with - SEC_TIC54X_BLOCK. - (demand_empty_rest_of_line): Likewise. - (tic54x_sblock): Likewise. - (tic54x_clink): Replace with SEC_CLINK with SEC_TIC54X_CLINK. - -2005-02-21 Alan Modra <amodra@bigpond.net.au> - - * read.c (address_bytes): New function. - (TC_ADDRESS_BYTES): Default for BSD_ASSEMBLER to address_bytes. - (potable): Add "dc.a". - (cons_worker): Handle "dc.a". - * doc/internals.texi (TC_ADDRESS_BYTES): Document. - -2005-02-21 Alan Modra <amodra@bigpond.net.au> - - * input-file.c (input_file_open): Rearrange to avoid warning. - -2005-02-19 Alan Modra <amodra@bigpond.net.au> - - * config/tc-hppa.h (TC_EQUAL_IN_INSN): Delete. - * read.c (read_a_source_file): Remove TC_EQUAL_IN_INSN test. - * doc/internals.texi (TC_EQUAL_IN_INSN): Delete. - -2005-02-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> - - * config/tc-mips.c (macro_build_ldst_constoffset): Fail on $at - uses after .set noat. - (load_address): Likewise. - (macro): Likewise. Don't try to avoid $at use by sacrificing - the target register before it is stored, it won't work. - -2005-02-17 James E Wilson <wilson@specifixinc.com> - - * config/tc-ia64.c (emit_one_bundle): Stop filling a bundle if we - see an instruction that specifies a template. - -2005-02-18 Alan Modra <amodra@bigpond.net.au> - - * config/tc-openrisc.c (openrisc_relax_frag): Delete unused function. - * config/tc-sparc.c (sparc_ip): Make op_exp static to silence warnings. - * config/tc-tic80.c (build_insn): Init insn[1] to silence warning. - -2005-02-17 H.J. Lu <hongjiu.lu@intel.com> - - * NEWS: Mention "-mhint.b=[ok|warning|error]". - - * config/tc-ia64.c (md): Add hint_b. - (emit_one_bundle): Handle md.hint_b for "hint". - (md_parse_option): Accepted "-mhint.b=[ok|warning|error]". - (md_show_usage): Add "-mhint.b=[ok|warning|error]". - (ia64_init): Set md.hint_b to error. - (md_assemble): Handle md.hint_b for "hint.b". - - * doc/as.texinfo: Add "-mhint.b=[ok|warning|error]". - * doc/c-ia64.texi: Likewise. - -2005-02-17 Alan Modra <amodra@bigpond.net.au> - - * tc.h (struct relax_type, relax_typeS): Move from here.. - * as.h: ..to here. Make rlx_forward and rlx_backward an offsetT. - * ecoff.c (ecoff_new_file): Add appfile param. - * ecoff.h (ecoff_new_file): Likewise. - * itbl-lex.h: New file. - * itbl-lex.l: Include itbl-lex.h. - * itbl-parse.y: Likewise. - (insntbl_line, yyparse, yylex): Move to itbl-lex.h. - * read.c (s_app_file_string): Mark appfile possibly unused. - * subsegs.c (seg_not_empty_p): Make sec possibly unused. - * subsegs.h (struct seg_info_trash): Delete. - (seg_info): Use segment_info_type instead. - * config/obj-coff.c (struct filename_list): Make filename const char *. - * config/obj-ecoff.h (obj_app_file): Pass app to ecoff_new_file. - * config/obj-elf.c (elf_file_symbol): Similarly. - * config/tc-a29k.c (md_apply_fix3): Make val a valueT. Don't use - signed right shift. - * config/tc-arc.c (md_operand): Warning fix. - * config/tc-arm.c (arm_parse_reloc): Only define when OBJ_ELF. - (md_begin): Rearrange #if defined OBJ_COFF || defined OBJ_ELF. - * config/tc-cris.h (TC_IMPLICIT_LCOMM_ALIGNMENT): Use do while. - * config/tc-frv.c (frv_force_relocation): Warning fix. - * config/tc-m68k.c (md_parse_option): Delete unused var. - * config/tc-mcore.c (mylog2): Rename from log2 throughout. - * config/tc-sparc.c: Likewise. - (s_common): Warning fix. - * config/tc-mips.c (append_insn): Use unsigned long long expressions. - * config/tc-mmix.c (PUSHJSTUB_MAX, PUSHJSTUB_MIN): Define from - addressT. - * config/tc-s390.c (s390_insn): Delete test of unsigned >= 0. - * config/tc-sh.c (sh_cfi_frame_initial_instructions, - sh_regname_to_dw2regnum): Only define for OBJ_ELF. - * config/tc-tic4x.c (tic4x_insert_reg): Use ISLOWER. - (tic4x_do_align): Use TIC_NOP_OPCODE. - * config/tc-tic4x.h (TIC_NOP_OPCODE): Rename from NOP_OPCODE. - * config/tc-vax.c: Include netinet/in.h. - (tc_headers_hook): Formatting. - * config/tc-xstormy16.c (md_pcrel_from_section): Correct parens. - -2005-02-17 Jan Beulich <jbeulich@novell.com> - - * config/tc-ia64.c (ia64_parse_name): Don't advance 'name' when - parsing inN, locN, outN. Set 'idx' to offset register number starts - at. Don't handle numbers with leading zeroes or beyond 95. Remove - pointless cast. - -2005-02-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> - - * config/tc-mips.c (load_address): Fix formatting. - (macro): Don't use AT if .set noat is in effect. Fix formatting. - Catch macros which are unexpandable without AT. Remove duplicate - zeroing of used_at. - (macro2): Remove duplicate zeroing of used_at. - -2005-02-16 Alan Modra <amodra@bigpond.net.au> - - * dw2gencfi.c (output_cie, output_fde): Use DW_CFA_nop rather - than zero. - -2005-02-15 Nigel Stephens <nigel@mips.com> - Maciej W. Rozycki <macro@mips.com> - - * config/tc-mips.c (reloc_needs_lo_p): Handle - BFD_RELOC_MIPS16_HI16_S. - (fixup_has_matching_lo_p): Handle BFD_RELOC_MIPS16_LO16. - (append_insn): Add BFD_RELOC_MIPS16_GPREL, BFD_RELOC_MIPS16_HI16_S - and BFD_RELOC_MIPS16_LO16 to relocs to suppress overflow - complaints on. - (mips16_ip): Resolve BFD_RELOC_MIPS16_HI16_S, - BFD_RELOC_MIPS16_HI16 and BFD_RELOC_MIPS16_LO16 for constants. - Call my_getSmallExpression() to parse percent operators. - (percent_op_match, mips_percent_op): Separate definitions. - (mips16_percent_op): Define percent operators for the MIPS16 mode. - (parse_relocation): Handle the MIPS16 mode using - mips16_percent_op. - (md_apply_fix3): Handle BFD_RELOC_MIPS16_HI16, - BFD_RELOC_MIPS16_HI16_S and BFD_RELOC_MIPS16_LO16. - -2005-02-15 Jan Beulich <jbeulich@novell.com> - - * config/tc-ia64.c (md_apply_fix3): Call ia64_gen_real_reloc_type - instead of explicitly dealing with the translation; exclude - relocations that are already pcrel, however. - -2005-02-15 Jan Beulich <jbeulich@novell.com> - - * config/tc-ia64.c: Include limits.h (if available). - (gr_values[0]): Set path to INT_MAX. - (dot_reg_val): Don't allow changing value of r0. Limit range of - general registers at r127. - (specify_resource): Default resource index is -1. Don't set resource - index (in case IA64_RS_RSE) without setting the specific flag. - (note_register_values): Check operand is O_constant before tracking - input value of moves. Add tracking for dep.z with constant inputs. - (print_dependency): Resource index of specific resource may be zero. - (check_dependencies): Likewise. - -2005-02-15 Jan Beulich <jbeulich@novell.com> - - * config/tc-ia64.c (parse_operands): New local variables reg1, reg2, - reg_class. Check operands and emit diagnostics for illegal use of - registers. - -2005-02-15 Jan Beulich <jbeulich@novell.com> - - * config/tc-ia64.c (ia64_gen_real_reloc_type): Define and initialize - new variables type, suffix, and width. Handle - BFD_RELOC_IA64_DIR(32|64)[LM]SB in FUNC_LT_FPTR_RELATIVE case. - Handle BFD_RELOC_IA64_DIR64[LM]SB in FUNC_TP_RELATIVE case. Add - FUNC_DTP_MODULE case. Handle BFD_RELOC_IA64_DIR32[LM]SB in - FUNC_DTP_RELATIVE case. Return incoming relocation type if - BFD_RELOC_IA64_IPLT[LM]SB in FUNC_IPLT_RELOC case. Generate warning - if unable to translate relocation type, using the new variables. - -2005-02-15 Jan Beulich <jbeulich@novell.com> - - * config/tc-ia64.h (ia64_symbol_chars): Declare. - (ty_symbol_chars): Define. - * config/tc-ia64.c (ia64_symbol_chars): Define. - -2005-02-15 Jan Beulich <jbeulich@novell.com> - - * config/tc-ia64.c (ia64_parse_name): Only update next character if - input_line_pointer was advanced. - -2005-02-14 Kaz Kojima <kkojima@rr.iij4u.or.jp> - - * config/tc-sh.c (md_apply_fix3): Add parentheses around & - within |. - -2005-02-13 Jan Beulich <jbeulich@novell.com> - - * config/tc-ia64.c (md_parse_option): Handle -xnone and -xdebugn. - (md_show_usage): Add -xnone, -xdebugn, and -xdebugx. Relocate default - indicator. - (ia64_init): Set md.detect_dv. - (ia64_start_line): New static variable warned. Warn only once when - encountering explicit stops in automatic mode. - * doc/c-ia64.texi: Describe -xnone, -xdebugn, and -xdebugx. - * NEWS: Mention new default mode. - -2005-02-13 Jan Beulich <jbeulich@novell.com> - - * config/tc-ia64.c (dot_rot): Add comment that name strings should - be freed when wiping out previous state. Canonicalize names before - use. Free name string when detecting redefinition. - (dot_pred_rel): Call generic expression parser to process arguments. - Handle O_register case for individual predicates and O_subtract for - ranges. - (ia64_parse_name): Canonicalize name before looking it up in dynamic - register hash. - (ia64_canonicalize_symbol_name): Strip off all trailing # characters. - Warn if multiple found, issue error if resulting symbol name has zero - length. - (dot_alias): Canonicalize name before use. - -2005-02-11 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-ia64.c (unwind_diagnostic): Return -1 for warning - and 0 for error. - (in_procedure): Return -1 for warning. - (in_prologue): Likewise. - (in_body): Likewise. - -2005-02-11 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-ia64.c (dot_xdata): Undo the last change. - (dot_float_cons): Likewise. - (dot_xstringer): Likewise. - (dot_xdata_ua): Likewise. - (dot_float_cons_ua): Likewise. - -2005-02-11 H.J. Lu <hongjiu.lu@intel.com> - - * NEWS: Mention "-munwind-check=[warning|error]". - - * config/tc-ia64.c (md): Add unwind_check. - (unwind_diagnostic): New. - (in_procedure): Call unwind_diagnostic when a directive isn't - in procedure. - (in_prologue): Call unwind_diagnostic when a directive isn't in - prologue. - (in_body): Call unwind_diagnostic when a directive isn't in - body region. - (dot_endp): Set md.unwind_check to error before calling - in_procedure and restore it after. When the name is missing or - couldn't be found, use the one from the last .proc if - md.unwind_check isn't error. Warn if md.unwind_check is - warning. - (md_parse_option): Handle "-munwind-check=[warning|error]". - (md_show_usage): Add "-munwind-check=[warning|error]". - (ia64_init): Set md.unwind_check to warning. - - * doc/as.texinfo: Add "-munwind-check=[none|warning|error]". - * doc/c-ia64.texi: Likewise. - -2005-02-11 Jan Beulich <jbeulich@novell.com> - - * config/tc-ia64.h (LEX_AT): Include LEX_BEGIN_NAME. - (LEX_QM): Likewise. - (ia64_parse_name): New third parameter. - (md_parse_name): Pass third argument. - * config/tc-ia64.c (pseudo_func): Placeholders use NULL as name. - (md_operand): Handling of '@'-prefixed symbols moved from here... - (ia64_parse_name): ...to here. - -2005-02-11 Jan Beulich <jbeulich@novell.com> - - * config/tc-ia64.c (md): Remove last_groups and group_idx. - (errata_nop_necessary_p): Remove declaraction and definition. - (emit_one_bundle): Don't call errata_nop_necessary_p. Don't - update md.group_idx. Don't reset md.last_groups. - -2005-02-11 Jan Beulich <jbeulich@novell.com> - - * config/tc-ia64.c (parse_section_name): Handle non-quoted first - argument. - (dot_xdata): Free section name after use. - (dot_float_cons): Likewise. - (dot_xstringer): Likewise. - (dot_xdata_ua): Likewise. - (dot_float_cons_ua): Likewise. - (md_pseudo_table): Add xdata16 and xdata16.ua. - -2005-02-10 H.J. Lu <hongjiu.lu@intel.com> - - * doc/all.texi: Add IA64. - * doc/as.texinfo: Likewise. - - * doc/c-ia64.texi: Fix typos. - -2005-02-10 Julian Brown <julian@codesourcery.com> - - * config/tc-arm.c (do_t_ldmstm): Change BFD_RELOC_NONE to - BFD_RELOC_UNUSED. - (do_t_push_pop): Likewise. - (md_assemble): Likewise. - (md_apply_fix3): Handle BFD_RELOC_NONE correctly, make - BFD_RELOC_UNUSED same as previous meaning of BFD_RELOC_NONE. - (create_unwind_entry): Output dependency on the required personality - routines. - -2005-02-07 Nathan Sidwell <nathan@codesourcery.com> - - * as.h (seg_not_empty_p): Return int, not bfd_boolean. - * subsegs.c (seg_not_empty_p): Likewise. - -2005-02-07 Inderpreet Singh <inderpreetb@noida.hcltech.com> - - * config/tc-maxq.c (md_estimate_size_before_relax): Correct the - relative jump calculation. - <md_convert_frag) : Likewise. - <output_disp): Likewise. - -2005-02-07 Hans-Peter Nilsson <hp@axis.com> - - * write.c (write_object_file): Recognize warning-symbol construct - and skip object- and target- handling for the second symbol. - -2005-02-02 Jan Beulich <jbeulich@novell.com> - - * config/tc-ia64.c (dot_pred_rel): Update comment. Handle @-prefixed - designators along with quoted ones. Free copy of quoted designator - when done. - -2005-02-01 Ben Elliston <bje@au.ibm.com> - - * config/atof-ieee.c, config/obj-coff.c, config/obj-elf.c, - config/obj-ieee.c, config/obj-som.c, config/obj-vms.c, - config/tc-a29k.c, config/tc-alpha.c, config/tc-arc.c, - config/tc-arm.c, config/tc-d30v.c, config/tc-dlx.c, - config/tc-fr30.c, config/tc-h8300.c, config/tc-h8500.c, - config/tc-i370.c, config/tc-i386.c, config/tc-i960.c, - config/tc-ia64.c, config/tc-m32r.c, config/tc-m32r.h, - config/tc-m68hc11.c, config/tc-m68hc11.h, config/tc-mips.c, - config/tc-mn10200.c, config/tc-msp430.c, config/tc-ns32k.c, - config/tc-openrisc.c, config/tc-or32.c, config/tc-pdp11.c, - config/tc-pj.c, config/tc-sparc.h, config/tc-tic54x.c, - config/tc-tic80.c, config/tc-v850.c, config/tc-w65.c, - config/tc-xtensa.c, config/tc-z8k.c, config/xtensa-relax.c: Remove - #if 0'd code throughout. - -2005-01-31 Nick Clifton <nickc@redhat.com> - - * as.c (parse_args): Bump copyright date reported by --version to - 2005. - -2005-01-31 Nick Clifton <nickc@redhat.com> - - * configure.tgt: Remove obsolete targets m68k-lynxos, sparc-lynxos - and vax-vms. - -2005-01-31 Jan Beulich <jbeulich@novell.com> - - * macro.c (buffer_and_nest): Allow 'from' being NULL; handle anything - that can end with .endr in that case. Make requiring/permitting - pseudo-ops without leading dot closer to the logic in read.c serving - the same purpose. - (expand_irp): Don't pass a mnemonic to buffer_and_nest as it will be - ignored. - -2005-01-31 Jan Beulich <jbeulich@novell.com> - - * macro.c (do_formals): Adjust to no longer accept empty parameter - names. - (define_macro): Adjust to no longer accept empty macro name, garbage - following the parameters, or macros that were previously defined. - * read.c (s_bad_end): Declare. - (potable): Add endm. Handler for endr and endm is s_bad_end. - (s_bad_end): Rename from s_bad_endr. Adjust to handle both .endm - and .endr. - * read.h (s_bad_endr): Remove. - -2005-01-31 Jan Beulich <jbeulich@novell.com> - - * config/tc-ia64.c (parse_operands): Parse all specified operands, - immediately discarding (but counting) those exceeding the maximum - possible amount. Track whether output and input operand counts ever - matched, and use this to better indicate which of the operands/ - operand types was wrong; specifically don't default to pointing to - the first operand. - -2005-01-31 Jan Beulich <jbeulich@novell.com> - - * config/tc-ia64.c (unwind): Remove proc_end (now an automatic - variable in dot_endp). Add body and insn. Make prologue, - prologue_mask, body, and insn bitfields. - (fixup_unw_records): Remove spurious new-lines from end of diagnostic - messages. - (in_procedure, in_prologue, in_body): New. - (dot_fframe, dot_vframe, dot_vframesp, dot_vframepsp, dot_save, - dot_restore, dot_restorereg, dot_restorereg_p, dot_handlerdata, - dot_unwentry, dot_altrp, dot_savemem, dot_saveg, dot_savef, dot_saveb, - dot_savegf, dot_spill, dot_spillreg, dot_spillmem, dot_spillreg_p, - dot_spillmem_p, dot_label_state, dot_copy_state, dot_unwabi, - dot_personality): Use the appropriate one of the above. - (dot_proc): Clear unwind.proc_start; set to current location only if - none of the entry points were valid. Check for non-zero-length entry - point names. Check that entry points aren't defined, yet. Clear - unwind.prologue, unwind.body, and unwind.insn. - (dot_body): Call in_procedure. Check that first directive in procedure - had no insns emitted before. Set unwind.body. - (dot_prologue): Call in_procedure. Check that not already in prologue. - Check that first directive in procedure had no insns emitted before. - Clear unwind.body. - (dot_endp): Call in_procedure. Declare proc_end. Check for non-zero- - length entry point names. Check that entry points became defined. - (md_assemble): Set unwind.insn once unwind.proc_start is defined. - -2005-01-31 Jan Beulich <jbeulich@novell.com> - - * config/tc-ia64.c (emit_one_bundle): Snapshot manual bundling state - before actually using it. Don't generate an error in manual bundling - mode when looking at an insn requiring slot 2 but not yet at slot 2. - Don't generate an error in manual bundling mode when looking at an - insn required to be last in its group but the required slot hasn't - been reached, yet. Allow conversion from MII to MI;I for bundle - consisting of only 2 insns with the stop between them. Suppress - various meaningless errors resulting from detecting earlier ones. - -2005-01-31 Jan Beulich <jbeulich@novell.com> - - * config/tc-ia64.c (parse_operands): Also handle alloc without first - input being ar.pfs. - -2005-01-28 Christian Groessler <chris@groessler.org> - - * config/tc-z8k.c (md_assemble): Improve error detection. - -2005-01-28 Jan Beulich <jbeulich@novell.com> - - * config/tc-ia64.c (ia64_estimate_size_before_relax): Allocate space - for personality routine pointer only if there is one. - (ia64_convert_frag): Likewise. - (generate_unwind_image): Likewise. - -2005-01-27 Christian Groessler <chris@groessler.org> - - * config/tc-z8k.c (INSERT): Remove, not used anywhere. - (md_apply_fix3): Make relative branches out of range an error - instead of a warning. Display correct line number for out of - range branches/calls/memory accesses. - -2005-01-27 Nathan Sidwell <nathan@codesourcery.com> - - * dwarf2dbg.c (dwarf2_finish): Correct logic for determining when - to emit .debug_line and other debug sections. - * as.h (seg_not_empty_p): Declare. - * subsegs.c (seg_not_empty_p): New predicate. - -2005-01-27 Andrew Cagney <cagney@gnu.org> - - * configure: Regenerate to track ../gettext.m4 change. - -2005-01-27 Jan Beulich <jbeulich@novell.com> - - * config/tc-ia64.c (emit_one_bundle): Change "?imbf??" to "?ibmfxx". - -2005-01-27 Jan Beulich <jbeulich@novell.com> - - * config/tc-ia64.c (emit_one_bundle): Add late resolution of move - to/from application registers dynamic insns. - (md_assemble): Defer resolution of move to/from application registers - dynamic insns when they can be issued on either the I- or M-units. - -2005-01-25 Alexandre Oliva <aoliva@redhat.com> - - * config/tc-frv.c (md_apply_fix3): Mark TLS symbols as such. - 2004-12-10 Alexandre Oliva <aoliva@redhat.com> - * config/tc-frv.c (frv_pic_ptr): Add tlsmoff support. - 2004-11-10 Alexandre Oliva <aoliva@redhat.com> - * cgen.c (gas_cgen_parse_operand): Handle - CGEN_PARSE_OPERAND_SYMBOLIC. - * config/tc-frv.c (md_cgen_lookup_reloc): Handle TLS relocations. - (frv_force_relocation): Likewise. Fix handling of PIC - relocations. - (md_apply_fix3): Likewise. - -2005-01-21 Ben Elliston <bje@au.ibm.com> - - * as.h: Remove #if 0'd code. - * atof-generic.c (atof_generic): Likewise. - * ecoff.c (ecoff_directive_frame): Likewise. - * frags.h (FRAG_APPEND_1_CHAR): Likewise. - * itbl-ops.c (itbl_add_reg): Likewise. - * listing.c (calc_hex): Likewise. - * read.c (MASK_CHAR): Likewise. - * subsegs.c (subsegs_print_statistics): Likewise. - * symbols.c (indent): Likewise. - * write.c (write_relocs): Likewise. - (write_object_file): Likewise. - (relax_frag): Likewise. - -2005-01-20 Nick Clifton <nickc@redhat.com> - - * as.c (std_longopts): Add an entry for "--a" in order to prevent - getopt_long_only() from considering -a as an abbreviation for - --alternate. - (parse_args): Fix the parsing of -a=<file>. - -2005-01-20 Alan Modra <amodra@bigpond.net.au> - - PR gas/684 - * read.c (s_incbin): Adjust default count for skip. Check validity - of count and skip rigorously. - -2005-01-19 Fred Fish <fnf@specifixinc.com> - - * config/tc-mips.c (dummy_opcode): Add init for new struct member. - -2005-01-19 Richard Sandiford <rsandifo@redhat.com> - - * read.c (convert_to_bignum): New function, split out from... - (emit_expr): ...here. Handle the case where X_add_number is - positive and the input value is negative. - (output_big_sleb128): Fix setting of continuation bit. Check whether - the final byte needs to be sign-extended. Fix size-shrinking loop. - (emit_leb128_expr): When generating a signed leb128, see whether the - sign of an O_constant's X_add_number matches the sign of the input - value. Use a bignum if not. - -2005-01-17 Andrew Stubbs <andrew.stubbs@st.com> - - * tc-sh.c (md_begin,md_parse_option): Change arch_sh1_up to - arch_sh_up in order to match the external name and make the - testsuite's job easier. - -2005-01-14 H.J. Lu <hongjiu.lu@intel.com> - - PR 659 - * config/tc-i386.c (i386_scale): Disallow 0 scale. - -2005-01-12 Nick Clifton <nickc@redhat.com> - - * config/tc-iq2000.c (s_iq2000_set): Fix thinko parsing - ignored_arguments array. - -2005-01-10 H.J. Lu <hongjiu.lu@intel.com> - - * write.c (write_object_file): Disallow a symbol equated to - common symbol. - -2005-01-10 Inderpreet Singh <inderpreetb@noida.hcltech.com> - - * tc-maxq.c: Replace constants 10 and 20 with bfd_mach_maxq10 and - bfd_mach_maxq20. - (md_pseudo_table): Add new pseudo ops for maxq10 and maxq20. - (maxq_target): New function: Set the machine type. - -2005-01-06 Paul Brook <paul@codesourcery.com> - - * config/tc-arm.c (FPU_DEFAULT): Define for TE_VXWORKS. - (md_begin): Handle TE_VXWORKS for FP defaults. - (md_apply_fix3): Correct rela offsets. - (elf32_arm_target_format): Add VxWorks targets. - -2005-01-06 Paul Brook <paul@codesourcery.com> - - * configure.tgt: Set em=vxworks for *-*-vxworks. - * config/te-vxworks.h: New File. - -2005-01-06 Paul Brook <paul@codesourcery.com> - - * config/tc-arm.c (arm_cpus): Correct arch field for arm1026ej-s. - -2005-01-04 Dmitry Diky <diwil@spec.ru> - - * config/tc-msp430.c (md_apply_fix3): Fix offset calculation for - global label. - -2005-01-03 David Mosberger <davidm@hpl.hp.com> - - * config/tc-ia64.c (md): Add member "loc_directive_seen". - (dot_loc): New function. - (md_pseudo_table): Add entry to map .loc to dot_loc(). - (emit_one_bundle): Only call dwarf2_gen_line_info() if we have - seen a .loc directive or we're generating DWARF2 debug info for - assembly source. - -2004-12-29 Alan Modra <amodra@bigpond.net.au> - - PR gas/619 - * read.c (s_comm_internal): Don't zero end of name until size - expression has been parsed. - -2004-12-25 Marek Michalkiewicz <marekm@amelek.gda.pl> - - * config/tc-avr.c (mcu_types): Move attiny{13,2313} from avr4 to avr2. - -2004-12-23 Tomer Levi <Tomer.Levi@nsc.com> - - * config/tc-crx.c: Support 'bcop' relaxation (dealt as in 'cmp&branch' - case). - -2004-12-22 Ian Lance Taylor <ian@airs.com> - - * configure.tgt: New. - * configure.in: Move setting of cpu_type, fmt, etc., to - configure.tgt. - * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Add - $(srcdir)/configure.tgt. - * configure, Makefile.in: Rebuild. - -2004-12-22 Klaus Rudolph <lts-rudolph@gmx.de> - - * config/tc-avr.c: Add support for the new R_AVR_LDI, R_AVR_6 and - R_AVR_6_ADIW relocs for the LDI, ADIW/SBIW and LDD/STD - instructions. - (avr_offset_expression): New function to parse offsets for LDI - instructions. - (avr_operand): Use it. - (md_apply_fix3): Generate the relocs. - -2004-12-16 Andrew Stubbs <andrew.stubbs@st.com> - - * config/tc-sh64.c (shmedia_md_apply_fix3): Add missing - BFD_RELOC_SH_IMMS10BY8 relocation. - - * config/tc-sh64.c (shmedia_build_Mytes): Emit an error message rather - than just ignoring bad code. - -2004-12-16 Richard Sandiford <rsandifo@redhat.com> - - * config/tc-v850.c (handle_lo16): New function. - (v850_reloc_prefix): Use it to check lo(). - (md_assemble, md_apply_fix3): Handle BFD_RELOC_V850_LO16_SPLIT_OFFSET. - -2004-12-14 P.J. Darcy <darcypj@us.ibm.com> - - * configure.in: Add s390x-ibm-tpf support. - * configure: Regenerate. - -2004-12-15 Jan Beulich <jbeulich@novell.com> - - * config/obj-elf.c (obj_elf_change_section): Only set type and - attributes on new sections. Emit warning when type of re-declared - section doesn't match. - -2004-12-15 Jan Beulich <jbeulich@novell.com> - - * dw2gencfi.c (dot.cfi.startproc): Clear cur_cfa_offset so - '.cfi_startproc simple' doesn't inherit the old value. - -2004-12-15 Jan Beulich <jbeulich@novell.com> - - * dw2gencfi.c (output_cfi_insn): Adjust DW_CFA_def_cfa_sf generation - to emit a signed and factored offset. Adjust DW_CFA_def_cfa_offset_sf - generation to emit a factored offset. - -2004-12-10 Ian Lance Taylor <ian@wasabisystems.com> - - * config/tc-mips.c (macro) [M_LA_AB]: Give an error for a offset - which is too large in the case of NO_PIC without 64-bit - addresses. - - * config/tc-mips.c (mips_in_shared): New static variable. - (macro_build_lui): Permit "_gp" if !mips_in_shared. - (md_longopts): Add -mshared and -mno-shared. - (md_parse_option): Handle OPTION_MSHARED and OPTION_MNO_SHARED. - (s_cpload): Implement !mips_in_shared case. - (s_cpsetup): Likewise. - * doc/c-mips.texi (MIPS Opts): Document -mno-shared. - * NEWS: Mention -mno-shared. - -2004-12-09 Paul Brook <paul@codesourcery.com> - - * config/tc-arm.c (s_arm_unwind_fnend): Use R_ARM_PREL31 relocation - for function start. - -2004-12-09 Ian Lance Taylor <ian@wasabisystems.com> - - * config/tc-mips.c (append_insn): If we emit a nop during a relax - sequence, increase the size of the sequence. - - * config/tc-mips.c (mips_cpu_info_table): Change "9000" entry to - use CPU_RM9000. - -2004-12-07 Ben Elliston <bje@gnu.org> - - * read.c (s_align): Use an align_limit temporary to allay a GCC - signed/unsigned comparison warning. - -2004-12-01 Mark Mitchell <mark@codesourcery.com> - - * Makefile.am (TARG_ENV_HFILES): Add te-armlinuxeabi.h. - * configure.in: Use it for arm*-*-linux-gnueabi*. - * config/tc-arm.c: Allow emulation file to set FPU_DEFAULT. - * config/te-armlinuxeabi.h: New file. - * Makefile.in: Regenerated. - * aclocal.m4: Likewise. - * configure: Likewise. - * doc/Makefile.in: Regenerated. - -2004-12-02 Bob Wilson <bob.wilson@acm.org> - - * config/tc-xtensa.c (xtensa_switch_section_emit_state): Use subseg_set. - (xtensa_restore_emit_state): Likewise. - -2004-12-02 Alan Modra <amodra@bigpond.net.au> - - * read.c (ALIGN_LIMIT): Define, increasing limit for BFD_ASSEMBLER. - (s_align): Use it. - -2004-11-30 Tero Niemela <tero_niemela@yahoo.com> - - * Makefile.am: Change LOCALEDIR to $(datadir)/share. - * Makefile.in: Regenerate. - -2004-11-29 Tomer Levi <Tomer.Levi@nsc.com> - - * config/tc-crx.c: Major code cleanup. Remove unused variables and - functions, give functions a meaningful name, add comments. - (check_range): New function - Replace operand size calculation - with range checking. - (assemble_insn): Update Algorithm, improve error issuing. - (enum op_err): New. - (process_label_constant): Bug fix regarding COP_BRANCH_INS relocation - handling. - -2004-11-29 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> - - * config/tc-m32r.c (md_pcrel_from_section): Fixed a pcrel relocte - miss between different section in the same module. - (tc_gen_reloc): Likewise. - -2004-11-25 Theodore A. Roth <troth@openavr.org> - - * gas/config/tc-avr.c (mcu_types): Add support for atmega165, - atmega325, atmega3250, atmega645 and atmega6450. - -2004-11-25 Jan Beulich <jbeulich@novell.com> - - * config/tc-i386.c (optimize_imm): Adjust immediates to only those - permissible for the selected instruction suffix. - (process_suffix): For DefaultSize instructions, suppressing the - guessing of a 'q' suffix if the instruction doesn't support it is - pointless, because only an 'l' suffix can be guessed in this place. - -2004-11-24 Nick Clifton <nickc@redhat.com> - - * config/tc-iq2000.c: Remove support for IQ10 processor. - Convert to ISO C90 formatting. - * config/tc-iq2000.h: Likewise. - -2004-11-23 Nick Clifton <nickc@redhat.com> - - * config/tc-mn10300.c (md_relax_table): More fixes to the offsets - in this table. They should be correct now. - -2004-11-23 Jan Beulich <jbeulich@novell.com> - - * config/tc-i386.h (CpuMMX2): Declare. Artificial classifier to - indicate the MMX extensions added by both SSE and 3DNow!A. - (Cpu3dnowA): Declare. - (CpuUnknownFlags): Update. - * config/tc-i386.c (cpu_sub_arch_name): Declare. - (cpu_arch): i586 and pentium do not imply MMX. i686 and pentiumpro do - neither imply SSE nor MMX. k6 implies MMX. k6_2 additionally implies - 3DNow!. Athlon additionally implies 3DNow!A. Several new - entries (those starting with a dot are for sub-arch specification). - (set_cpu_arch): Handle sub-arch specifications. - (parse_insn): Distinguish between instructions not supported because - of insufficient CPU features and because of 64-bit mode. - * doc/c-i386.texi: Describe enhanced .arch directive. - -2004-11-22 Bob Wilson <bob.wilson@acm.org> - - * config/tc-xtensa.c (xg_add_opcode_fix): Set fx_no_overflow. - -2004-11-22 Bob Wilson <bob.wilson@acm.org> - - * dwarf2dbg.c (dwarf2_finish): Don't write a .debug_line section - without a corresponding .debug_info section. - -2004-11-22 Hans-Peter Nilsson <hp@axis.com> - - * read.c (potable): Add "error" and "warning". - (s_errwarn): New function. - * read.h (s_errwarn): Declare. - * doc/as.texinfo (Error, Warning): Document .error and .warning. - -2004-11-22 Nick Clifton <nickc@redhat.com> - - * config/tc-tic54x.c (tic54x_adjust_symtab): Adjust call to - c_dot_file_symbol. - -2004-11-19 Alan Modra <amodra@bigpond.net.au> - - * config/tc-msp430.c (struct rcodes_s, MSP430_RLC, msp430_rcodes, - struct hcodes_s, msp430_hcodes): From include/opcode/msp430.h. - -2004-11-19 Alan Modra <amodra@bigpond.net.au> - - * config/obj-coff.c (c_dot_file_symbol): Add "app" param. - (coff_adjust_symtab): Adjust call. - (crawl_symbols): Likewise. - * config/obj-coff.h (c_dot_file_symbol): Add "app" param. - (obj_app_file): Adjust. - -2004-11-18 Inderpreet Singh <inderpreetb@nioda.hcltech.com> - - * configure.in: Enable bfd_assember for the MAXQ port. - * configure: Regenerate. - -2004-11-12 Bob Wilson <bob.wilson@acm.org> - Sterling Augustine <sterling@tensilica.com> - - * config/tc-xtensa.c (finish_vinsn): Clear pending instruction if - there is a conflict. - (check_t1_t2_reads_and_writes): Check for both reads and writes to - interfaces that are related as determined by xtensa_interface_class_id. - -2004-11-12 Nick Clifton <nickc@redhat.com> - - * config/tc-mn10300.c (md_relax_table): Fix off by one negative - offsets for conditional branches. - -2004-11-11 Bob Wilson <bob.wilson@acm.org> - - * config/tc-xtensa.c (MAX_IMMED6): Change value to 65. - -2004-11-10 Bob Wilson <bob.wilson@acm.org> - - * config/tc-xtensa.c (update_next_frag_state): Always add a NOP if - relaxing at the end of a loop. Don't mark frags as UNREACHABLE or - MAYBE_UNREACHABLE. - (relax_frag_immed): Update call to update_next_frag_state. - -2004-11-10 Alan Modra <amodra@bigpond.net.au> - - * obj.h (struct format_ops <app_file>): Add int param. - * read.h (s_app_file_string): Likewise. - * read.c (s_app_file_string): Likewise. - (s_app_file): Adjust s_app_file_string call. - * config/tc-mips.c (s_mips_file): Likewise. - * config/obj-coff.h (obj_app_file): Add app param. - * config/obj-ecoff.h (obj_app_file): Likewise. - * config/obj-multi.h (obj_app_file): Likewise. - * config/obj-elf.h (elf_file_symbol): Likewise. - * config/obj-elf.c (elf_file_symbol): Only emit one file symbol - if called for # preprocessor lines. - -2004-11-08 H.J. Lu <hongjiu.lu@intel.com> - - PR 528 - * symbols.c (resolve_symbol_value): Convert weak symbols only - for Windows PECOFF. - (symbol_equated_reloc_p): Don't equate weaks when relocating - only for Windows PECOFF. - -2004-11-08 Tomer Levi <Tomer.Levi@nsc.com> - - * config/tc-crx.c (print_insn): Check and set insn_addr. - * config/tc-crx.h (md_frag_check): Define. - -2004-11-08 Inderpreet Singh <inderpreetb@nioda.hcltech.com> - Vineet Sharma <vineets@noida.hcltech.com> - - * configure.in: Add support for new target maxq-coff. - * configure: Regenerate. - * NEWS: Mention new support. - * config/tc-maxq.c: New file. - * config/tc-maxq.h: New file. - * config/obj-coff.h: Add support for maxq-coff. - -2004-11-08 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> - - * symbols.c (any_external_name): Define. - (resolve_symbol_value): Convert weak symbols. - (S_SET_EXTERNAL): Support any_external_name. - (S_SET_NAME): Qualify parameter const. - (symbol_equated_reloc_p): Equate to weaks when relocating. - * symbols.h (S_SET_NAME): Qualfiy parameter const. - * tc.h (any_external_name): Declare. - * config/obj-coff.c ("coff/pe.h"): Include for BFD - assemblers also. - (weak_is_altname): Declare and define. - (weak_name2altname): Same. - (weak_altname2name): Same. - (weak_uniquify): Same. - (weak_altprefix): Define. - (obj_coff_weak): Change .weak syntax and handling. - (coff_frob_symbol): Fix PE weak symbol alternates. - * config/obj-coff.h (USE_UNIQUE): Define. - * config/tc-i386.c (md_apply_fix3): Assume weak symbols - are in another segment. - (tc_gen_reloc): Remove broken addend hack. - doc/as.texinfo: Update. - -2004-11-05 Sterling Augustine <sterling@tensilica.com> - - * config/tc-xtensa.c (total_frag_text_expansion): New. - (md_estimate_size_before_relax): Use it. - (find_address_of_next_align_frag): Likewise. - -2004-11-05 Tomer Levi <Tomer.Levi@nsc.com> - - * config/tc-crx.c: Rename argument types. - (processing_arg_number): Rename to 'cur_arg_num'. - (get_number_of_bits): Rename to 'set_operand_size'. - (get_operandtype): Rename to 'parse_operand', totally rewrite. - (set_cons_rparams): Rename to 'set_operand', totally rewrite. - (set_indexmode_parameters): Remove function, integrate its code into - 'set_operand'. - (set_operand_size): Get rid of 'Operand Number' function parameter - - use global variable 'cur_arg_num' instead. - Use a local 'argument' pointer to reference the current argument. - (parse_operand): Likewise. - (set_operand): Likewise. - (process_label_constant): Likewise. - -2004-11-04 Bob Wilson <bob.wilson@acm.org> - - * config/tc-xtensa.c: Remove XTENSA_SECTION_RENAME ifdefs. - (add_section_rename): Delete. Inlined into... - (build_section_rename): ...here. Use xstrdup instead of strdup. - (xtensa_section_rename): Drop "const" from argument and return types. - (md_show_usage): Indent to match show_usage(). - * config/tc-xtensa.h: Remove XTENSA_SECTION_RENAME ifdefs. - (tc_canonicalize_section_name): Define. - (md_elf_section_rename): Remove unused macro. - * doc/as.texinfo (Overview): Document Xtensa --rename-section option. - * doc/c-xtensa.texi (Xtensa Options): Likewise. - (Frame Directive): Delete. - -2004-11-04 Daniel Jacobowitz <dan@debian.org> - - * configure.in: Remove arm-*-oabi and thumb-*-oabi. - * config/tc-arm.c (target_oabi): Delete. - (md_apply_fix3, elf32_arm_target_format): Remove target_oabi checks. - (arm_opts): Remove moabi. - * doc/as.texinfo (Overview): Remove documentation of -moabi. - * doc/c-arm.texi (ARM Options): Likewise. - * configure: Regenerated. - -2004-11-04 Hans-Peter Nilsson <hp@axis.com> - - * configure.in (crisv32): Recognize. AC_DEFINE_UNQUOTED - DEFAULT_CRIS_ARCH. Handle crisv32-*-linux-gnu* like - cris-*-linux-gnu* and crisv32-*-* like cris-*-*. - * configure: Regenerate. - * config/tc-cris.c (enum cris_archs): New. - (cris_mach, cris_arch_from_string, s_cris_arch, get_sup_reg) - (cris_insn_ver_valid_for_arch): New functions. - (DEFAULT_CRIS_ARCH): New macro, default to cris_any_v0_v10. - (cris_arch): New variable. - (md_pseudo_table): New pseudo .arch. - (err_for_dangerous_mul_placement): Initialize according to - DEFAULT_CRIS_ARCH. - (STATE_COND_BRANCH): Renamed from STATE_CONDITIONAL_BRANCH. - All users changed. - (STATE_COND_BRANCH_V32, STATE_COND_BRANCH_COMMON) - (STATE_ABS_BRANCH_V32, STATE_LAPC, BRANCH_BF_V32, BRANCH_BB_V32) - (BRANCH_WF_V32, BRANCH_WB_V32): New. - (BRANCH_BF, BRANCH_BB, BRANCH_WF, BRANCH_WB): Don't undef after - use in md_cris_relax_table. - (md_cris_relax_table): Add entries for STATE_COND_BRANCH_V32, - STATE_COND_BRANCH_COMMON, STATE_ABS_BRANCH_V32, STATE_LAPC. - Update and improve head comment. - (OPTION_PIC): Define in terms of previous option, OPTION_US. - (OPTION_MULBUG_ABORT_ON, OPTION_MULBUG_ABORT_OFF): Similar. - (OPTION_ARCH): New. - (md_longopts): New option --march=... - (cris_any_v0_v10_long_jump_size, crisv32_long_jump_size): New - macros. - (md_long_jump_size): Initialize in terms of DEFAULT_CRIS_ARCH. - (HANDLE_RELAXABLE): New macro. - (md_estimate_size_before_relax): Use HANDLE_RELAXABLE for common - cases. Check for weak symbols and assume not relaxable. Handle - STATE_COND_BRANCH_V32, STATE_COND_BRANCH_COMMON, - STATE_ABS_BRANCH_V32, STATE_LAPC. Use new variable symbolP, not - fragP->fr_symbol. - (md_convert_frag): Handle STATE_COND_BRANCH_V32, - STATE_COND_BRANCH_COMMON, STATE_ABS_BRANCH_V32, STATE_LAPC. - (cris_create_short_jump): Adjust for CRISv32. - (cris_relax_frag): Handle new states. - (md_create_long_jump): Ditto. Emit error for common_v10_v32. - (md_begin): Define symbols "..asm.arch.cris.v32", - "..asm.arch.cris.v10", "..asm.arch.cris.common_v10_v32" and - "..asm.arch.cris.any_v0_v10". Use cris_insn_ver_valid_for_arch - when entering opcode table entry points. - (md_assemble): Adjust branch handling for CRISv32. Handle LAPC - relaxation. In fix_new_exp call for main insn, pass 1 for pcrel - parameter for 8, 16 and 32-bit pc-relative insns and LAPC. - (cris_process_instruction): Initialize out_insnp->insn_type to - CRIS_INSN_NONE, not CRIS_INSN_NORMAL. - <case ']', '[', 'A', 'd', 'Q', 'N', 'n', 'Y', 'U', 'u', 'T'>: New - cases. - <case 'm'>: Check that modified_char == '.'. - <invalid operands>: Consume the rest of the line. - When operands don't match, skip over subsequent insns with - non-matching version specifier but same mnemonic. - <immediate constant, case SIZE_SPEC_REG>: Immediate operands for - special registers in CRISv32 are always 32 bit long. - <immediate constant, case SIZE_FIELD_SIGNED, SIZE_FIELD_UNSIGNED>: - New cases. - (get_gen_reg): Only recognize "PC" when followed by "+]" for v32 - and compatible. Recognize "ACR" for v32, unless followed by "+". - (get_spec_reg): Consider cris_arch when looking up register. - (get_autoinc_prefix_or_indir_op): Don't recognize assignment for - v32 or compatible. - (get_3op_or_dip_prefix_op): Check for ']' after seeing '[rN+'. - (cris_get_expression): Restore input_line_pointer if failing "early". - (get_flags): Consider cris_arch and recognize flags accordingly. - (branch_disp): Adjust for CRISv32. - (gen_cond_branch_32): Similar. Emit error for common_v10_v32. - (cris_number_to_imm): Use as_bad_where, not as_bad. Remove - related FIXME. Don't insist on BFD_RELOC_32_PCREL fixup to be - resolved. Don't enter zeros in object file for - BFD_RELOC_32_PCREL. - <case BFD_RELOC_CRIS_LAPCQ_OFFSET, BFD_RELOC_CRIS_SIGNED_16> - <case BFD_RELOC_CRIS_SIGNED_8>: New case. - (md_parse_option): Break out "return 1". - <OPTION_ARCH> New case. - (tc_gen_reloc): <case BFD_RELOC_CRIS_LAPCQ_OFFSET> - <case BFD_RELOC_CRIS_SIGNED_16, BFD_RELOC_CRIS_SIGNED_8> - <case BFD_RELOC_CRIS_UNSIGNED_8, BFD_RELOC_CRIS_UNSIGNED_16> - <case BFD_RELOC_32_PCREL>: New cases. - Addends for non-zero fx_pcrel are too in fx_offset. - (md_show_usage): Show --march=<arch>. - (md_apply_fix3): Adjust val for BFD_RELOC_CRIS_LAPCQ_OFFSET. - (md_pcrel_from): BFD_RELOC_CRIS_LAPCQ_OFFSET is PC-relative too. - (s_syntax) <struct syntaxes>: Properly constify member operand. - * config/tc-cris.h (TARGET_MACH): Define. - (cris_mach): Declare. - * doc/as.texinfo (Overview) <CRIS>: Add --march=... - * doc/c-cris.texi (CRIS-Symbols): New node for built-in symbols. - (CRIS-Opts): Document --march=... - (CRIS-Pseudos): Document .arch. - -2004-11-04 Jan Beulich <jbeulich@novell.com> - - * config/tc-i386.c (set_intel_syntax): Allow % in symbol names when - intel syntax and no register prefix, allow $ in symbol names when - intel syntax. - (set_16bit_gcc_code_flag): Replace literal 'l' by LONG_MNEM_SUFFIX. - (intel_float_operand): Add fourth return value indicating math control - operations. Make classification more precise. - (md_assemble): Complain if memory operand of mov[sz]x has no size - specified. - (parse_insn): Translate word operands to floating point instructions - operating on integers as well as control instructions to short ones - as expected by AT&T syntax. Translate 'd' suffix to short one only for - floating point instructions operating on non-integer operands. - (match_template): Remove fldcw special case. Adjust q-suffix handling - to permit it on fild/fistp/fisttp in AT&T mode. - (process_suffix): Don't guess DefaultSize insns' suffix from - stackop_size for certain floating point control instructions. Guess - suffix for branch and [ls][gi]dt based on flag_code. Split error - messages for Intel and AT&T syntax, and make the condition more strict - for the former. Adjust suppressing of generation of operand size - overrides. - (intel parser): Allow the full set of MASM operators. Add FWORD, TBYTE, - OWORD, and XMMWORD operand size specifiers (TBYTE replaces XWORD). Add - more error checking. - * config/tc-i386.h (BYTE_PTR WORD_PTR DWORD_PTR QWORD_PTR XWORD_PTR - SHORT OFFSET_FLAT FLAT NONE_FOUND): Remove unused defines. - -2004-11-03 Hans-Peter Nilsson <hp@axis.com> - - * symbols.c (colon) [!WORKING_DOT_WORD]: Don't declare - md_short_jump_size, md_long_jump_size. - * write.c [!WORKING_DOT_WORD]: Ditto. - * tc.h [!WORKING_DOT_WORD]: Declare them here. Drop const - qualifier. - * config/tc-cris.h (md_short_jump_size, md_long_jump_size): Don't - declare. - * config/tc-cris.c (md_short_jump_size, md_long_jump_size): Drop - const qualifier in these definitions. - * config/tc-i370.c, config/tc-m68k.c, config/tc-pdp11.c, - config/tc-s390.c, config/tc-tahoe.c, config/tc-vax.c: Ditto. - -2004-11-02 Nick Clifton <nickc@redhat.com> - - * dwarf2dbg.c (dwarf2_finish): Check for the existence of a file - table before deciding to produce a .debug_line section to match up - with a user provided .debug_info section. - -2004-10-28 Tomer Levi <Tomer.Levi@nsc.com> - - * config/tc-crx.c (getreg_image): Bug fix, a return value was - mistakenly omitted from CRX_C_REGTYPE and CRX_CS_REGTYPE cases. - -2004-10-27 Tomer Levi <Tomer.Levi@nsc.com> - - * config/tc-crx.c: Remove global variable 'post_inc_mode'. - (get_flags): New function. - (get_number_of_bits): Edit comments, update numeric values to - supported sizes. - (process_label_constant): Don't support the colon - format (SYMBOL:[s|m|l]). - (set_cons_rparams): Support argument type 'arg_rbase'. - (get_operandtype): Bug fix in 'rbase' operand type parsing. - (handle_LoadStor): Bug fix, first handle post-increment mode. - (getreg_image): Remove redundant code, update according to latest - CRX spec. - (print_constant): Bug fix relate to 3-word instructions. - (assemble_insn): Bug fix, when matching instructions, verify also - instruction type (not only mnemonic). - Add various error checking. - (preprocess_reglist): Support HI/LO and user registers. - -2004-10-25 David Mosberger-Tang <davidm@hpl.hp.com> - - * config/tc-ia64.c (fixup_unw_records): Don't let the "t" value - in an epilogue directive go negative. - -2004-10-25 H.J. Lu <hongjiu.lu@intel.com> - - PR 474 - * config/tc-ia64.c (emit_one_bundle): Decrement md.num_slots_in_use - after reporting template error during manual bundling. Reported - by Michael Dupont, michaelx.dupont@intel.com. - -2004-10-25 Daniel Jacobowitz <dan@debian.org> - - * Makefile.am: Run dep-am. - * aclocal.m4: Regenerate with automake 1.9.2. - * Makefile.in: Regenerate with automake 1.9.2. - * doc/Makefile.in: Likewise. - - * config/tc-arm.c: Include "dw2gencfi.h". - (tc_arm_regname_to_dw2regnum, tc_arm_frame_initial_instructions): - New functions. - * config/tc-arm.h (TARGET_USE_CFIPOP, DWARF2_DEFAULT_RETURN_COLUMN) - (DWARF2_CIE_DATA_ALIGNMENT, tc_regname_to_dw2regnum) - (tc_cfi_frame_initial_instructions): Define. - (tc_arm_regname_to_dw2regnum, tc_arm_frame_initial_instructions): - Add prototypes. - -2004-10-21 Tomer Levi <Tomer.Levi@nsc.com> - - * config/tc-crx.c (assemble_insn): Check unsigned immediate - operands validity. - Update coprocessor id to be unsigned immediate. - -2004-10-18 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> - - * config/tc-i386.c (O_secrel): Delete. - (tc_pe_dwarf2_emit_offset): New function. - * config/tc-i386.h (O_secrel): Define as O_md1. - (TC_DWARF2_EMIT_OFFSET): Define. - -2004-10-18 Nick Clifton <nickc@redhat.com> - - * config/tc-xstormy16.c (xstormy16_cons_fix_new): Accept and - ignore @fptr() directives for 4-byte fixups. - -2004-10-15 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am: Run "make dep-am" - * Makefile.in: Regenerate. - -2004-10-14 Bob Wilson <bob.wilson@acm.org> - - * doc/c-xtensa.texi (Xtensa Options, Absolute Literals Directive): - Remove comments about placement of literal pools. - (Literal Directive): Update description of literal placement. - (Literal Prefix Directive): Remove statement that this does not apply - to absolute-mode literals. Describe new section naming scheme. - -2004-10-12 Bob Wilson <bob.wilson@acm.org> - - * config/tc-xtensa.c (xtensa_frequency_pseudo): Use set_subseg_freq. - (is_entry_opcode, is_movi_opcode, is_the_loop_opcode, is_jx_opcode, - is_windowed_return_opcode): Delete. - (xtensa_frob_label): Use get_subseg_target_freq. - (md_assemble): Inline call to is_entry_opcode. - (xtensa_handle_align): Inline call to get_frag_is_literal. - (relaxation_requirements): Inline call to is_jx_opcode. - (emit_single_op): Inline call to is_movi_opcode. - (xg_assemble_vliw_tokens): Inline calls to get_frag_is_insn, - get_frag_is_no_transform, is_entry_opcode, and - set_frag_is_specific_opcode. Use get_subseg_total_freq. - (xtensa_fix_a0_b_retw_frags, xtensa_fix_b_j_loop_end_frags, - xtensa_fix_close_loop_end_frags, relax_frag_immed, convert_frag_immed): - Inline calls to get_frag_is_no_transform. - (next_instrs_are_b_retw): Inline call to is_windowed_return_opcode. - (xtensa_fix_short_loop_frags): Inline calls to is_the_loop_opcode and - get_frag_is_no_transform. - (convert_frag_immed_finish_loop): Inline calls to get_expression_value - and set_frag_is_no_transform. - (get_expression_value): Delete. - (subseg_map struct): Rename cur_total_freq to total_freq. Rename - cur_target_freq to target_freq. - (get_subseg_info): Split out code to create a new map entry into ... - (add_subseg_info): ... this new function. - (get_last_insn_flags): Check if get_subseg_info succeeded. - (set_last_insn_flags): Call add_subseg_info if needed. - (get_subseg_total_freq, get_subseg_target_freq, set_subseg_freq): New. - (xtensa_reorder_segments): Compute last_sec while counting sections. - Remove call to get_last_sec. - (get_last_sec): Delete. - (cache_literal_section): Inline call to retrieve_literal_seg and its - callees, seg_present and add_seg_list. - (retrieve_literal_seg, seg_present, add_seg_list): Delete. - (get_frag_is_insn, get_frag_is_no_transform, - set_frag_is_specific_opcode, set_frag_is_no_transform): Delete. - * config/tc-xtensa.h (MAX_SLOTS): Reduce from 31 to 15. - -2004-10-12 Bob Wilson <bob.wilson@acm.org> - - * config/tc-xtensa.c: Use ISO C90 formatting. - * config/tc-xtensa.h: Likewise. - * config/xtensa-istack.h: Likewise. - * config/xtensa-relax.c: Likewise. - * config/xtensa-relax.h: Likewise. - -2004-10-12 Paul Brook <paul@codesourcery.com> - - * config/tc-arm.c (md_begin): Change EF_ARM_EABI_VER3 to - EF_ARM_EABI_VER4. - (arm_eabis): Ditto. - * doc/c-arm.texi: Document that we actually support -meabi=4, not - -meabi=3. - -2004-10-08 Bob Wilson <bob.wilson@acm.org> - - * doc/as.texinfo (VTableEntry, VTableInherit): Add "directive" to index - entries. - (Acknowledgements): Use "GAS" instead of AS variable. - -2004-10-08 Daniel Jacobowitz <dan@debian.org> - - * config/tc-i386.c: Include "elf/x86-64.h". - (i386_elf_section_type): New function. - * config/tc-i386.h (md_elf_section_type): Define. - (i386_elf_section_type): New prototype. - -2004-10-08 Linus Nielsen Feltzing <linus@haxx.se> - - * config/m68k-parse.h (enum m68k_register): New control register, - MBAR2 (for MCF5249) - * config/tc-m68k.c: Correct control register set for MCF5249. - -2004-10-07 Bob Wilson <bob.wilson@acm.org> - Sterling Augustine <sterling@tensilica.com> - - * config/tc-xtensa.c (absolute_literals_supported): New global flag. - (UNREACHABLE_MAX_WIDTH): Define. - (XTENSA_FETCH_WIDTH): Delete. - (cur_vinsn, xtensa_fetch_width, xt_saved_debug_type, past_xtensa_end, - prefer_const16, prefer_l32r): New global variables. - (LIT4_SECTION_NAME): Define. - (lit4_state struct): Add lit4_seg_name and lit4_seg fields. - (XTENSA_PROP_*, GET_XTENSA_PROP_*, SET_XTENSA_PROP_*): Define. - (frag_flags struct): New. - (xtensa_block_info struct): Move from tc-xtensa.h. Add flags field. - (subseg_map struct): Add cur_total_freq and cur_target_freq fields. - (bitfield, bit_is_set, set_bit, clear_bit): Define. - (MAX_FORMATS): Define. - (op_placement_info struct, op_placement_table): New. - (O_pltrel, O_hi16, O_lo16): Define. - (directiveE enum): Rename directive_generics to directive_transform. - Delete directive_relax. Add directive_schedule, - directive_absolute_literals, and directive_last_directive. - (directive_info): Rename "generics" to "transform". Delete "relax". - Add "schedule" and "absolute-literals". - (directive_state): Adjust entries to match changes in directive_info. - (xtensa_relax_statesE, RELAX_IMMED_MAXSTEPS): Move to tc-xtensa.h. - (xtensa_const16_opcode, xtensa_movi_opcode, xtensa_movi_n_opcode, - xtensa_l32r_opcode, xtensa_nop_opcode, xtensa_rsr_lcount_opcode): New. - (xtensa_j_opcode, xtensa_rsr_opcode): Delete. - (align_only_targets, software_a0_b_retw_interlock, - software_avoid_b_j_loop_end, maybe_has_b_j_loop_end, - software_avoid_short_loop, software_avoid_close_loop_end, - software_avoid_all_short_loops, specific_opcode): Delete. - (warn_unaligned_branch_targets): New. - (workaround_a0_b_retw, workaround_b_j_loop_end, workaround_short_loop, - workaround_close_loop_end, workaround_all_short_loops): Default FALSE. - (option_[no_]link_relax, option_[no_]transform, - option_[no_]absolute_literals, option_warn_unaligned_targets, - option_prefer_l32r, option_prefer_const16, option_target_hardware): - New enum values. - (option_[no_]align_only_targets, option_literal_section_name, - option_text_section_name, option_data_section_name, - option_bss_section_name, option_eb, option_el): Delete. - (md_longopts): Add entries for: [no-]transform, [no-]absolute-literals, - warn-unaligned-targets, prefer-l32r, prefer-const16, [no-]link-relax, - and target-hardware. Delete entries for [no-]target-align-only, - literal-section-name, text-section-name, data-section-name, and - bss-section-name. - (md_parse_option): Handle new options and remove old ones. Accept but - ignore [no-]density options. Warn for [no-]generics and [no-]relax - and treat them as [no-]transform. - (md_show_usage): Add new options and remove old ones. - (xtensa_setup_hw_workarounds): New. - (md_pseudo_table): Change "word" entry to use xtensa_elf_cons. Add - "long", "short", "loc" and "frequency" entries. - (use_generics): Rename to ... - (use_transform): ... this function. Add past_xtensa_end check. - (use_longcalls): Add past_xtensa_end check. - (code_density_available, can_relax): Delete. - (do_align_targets): New. - (get_directive): Accept dashes in directive names. Warn about - [no-]generics and [no-]relax directives and treat them as - [no-]transform. - (xtensa_begin_directive): Call md_flush_pending_output only for some - directives. Check for directives inside instruction bundles. Warn - about deprecated ".begin literal" usage. Warn and ignore [no-]density - directives. Handle new directives. Check generating_literals flag - for literal_prefix. - (xtensa_end_directive): Check for directives inside instruction - bundles. Warn and ignore [no-]density directives. Handle new - directives. Call xtensa_set_frag_assembly_state. - (xtensa_loc_directive_seen, xtensa_dwarf2_directive_loc, - xtensa_dwarf2_emit_insn): New. - (xtensa_literal_position): Call md_flush_pending_output. Do not check - use_literal_section flag. - (xtensa_literal_pseudo): Call md_flush_pending_output. Handle absolute - literals. Use xtensa_elf_cons to parse the expression. - (xtensa_literal_prefix): Do not check use_literal_section. Support - ".lit4" sections for absolute literals. Change prefix convention to - replace ".text" (or ".t" in a linkonce section). No need to call - subseg_set. - (xtensa_frequency_pseudo, xtensa_elf_cons, xtensa_elf_suffix): New. - (expression_end): Handle closing braces and colons. - (PLT_SUFFIX, plt_suffix): Delete. - (expression_maybe_register): Use new xtensa-isa.h functions. Use - xtensa_elf_suffix instead of checking for plt suffix, and handle O_lo16 - and O_hi16 expressions as well. - (tokenize_arguments): Handle closing braces and colons. - (parse_arguments): Use new xtensa-isa.h functions. Handle "invisible" - operands and paired register syntax. - (get_invisible_operands): New. - (xg_translate_sysreg_op): Handle new Xtensa LX RSR/WSR/XSR syntax. Use - new xtensa-isa.h functions. - (xtensa_translate_old_userreg_ops, xtensa_translate_zero_immed): New. - (xg_translate_idioms): Check if inside bundle. Use use_transform. - Handle new Xtensa LX RSR/WSR/XSR syntax. Remove code to widen density - instructions. Use xtensa_translate_zero_immed. - (operand_is_immed, operand_is_pcrel_label): Delete. - (get_relaxable_immed): Use new xtensa-isa.h functions. - (get_opcode_from_buf): Add slot parameter. Use new xtensa-isa.h - functions. - (xtensa_print_insn_table, print_vliw_insn): New. - (is_direct_call_opcode): Use new xtensa-isa.h functions. - (is_call_opcode, is_loop_opcode, is_conditional_branch_opcode, - is_branch_or_jump_opcode): Delete. - (is_movi_opcode, decode_reloc, encode_reloc, encode_alt_reloc): New. - (opnum_to_reloc, reloc_to_opnum): Delete. - (xtensa_insnbuf_set_operand, xtensa_insnbuf_get_operand): Use new - xtensa-isa.h functions. Operate on one slot of an instruction. - (xtensa_insnbuf_set_immediate_field, is_negatable_branch, - xg_get_insn_size): Delete. - (xg_get_build_instr_size): Use xg_get_single_size. - (xg_is_narrow_insn, xg_is_single_relaxable_insn): Update calls to - xg_build_widen_table. Use xg_get_single_size. - (xg_get_max_narrow_insn_size): Delete. - (xg_get_max_insn_widen_size, xg_get_max_insn_widen_literal_size, - xg_is_relaxable_insn): Update calls to xg_build_widen_table. Use - xg_get_single_size. - (xg_build_to_insn): Record the loc field. Handle OP_OPERAND_HI16U and - OP_OPERAND_LOW16U. Check xg_valid_literal_expression. - (xg_expand_to_stack, xg_expand_narrow): Update calls to - xg_build_widen_table. Use xg_get_single_size. - (xg_immeds_fit): Use new xtensa-isa.h functions. Update call to - xg_check_operand. - (xg_symbolic_immeds_fit): Likewise. Also handle O_lo16 and O_hi16, and - treat weak symbols conservatively. - (xg_check_operand): Use new xtensa-isa.h functions. - (is_dnrange): Delete. - (xg_assembly_relax): Inline previous calls to tinsn_copy. - (xg_finish_frag): Specify separate relax states for the frag and slot0. - (is_branch_jmp_to_next, xg_add_branch_and_loop_targets): Use new - xtensa-isa.h functions. - (xg_instruction_matches_option_term, xg_instruction_matches_or_options, - xg_instruction_matches_options): New. - (xg_instruction_matches_rule): Handle O_register expressions. Call - xg_instruction_matches_options. - (transition_rule_cmp): New. - (xg_instruction_match): Update call to xg_build_simplify_table. - (xg_build_token_insn): Record loc fields. - (xg_simplify_insn): Check is_specific_opcode field and - density_supported flag. - (xg_expand_assembly_insn): Skip checking code_density_available. Use - new xtensa-isa.h functions. Call use_transform instead of can_relax. - (xg_assemble_literal): Add error handling for O_big. Call - record_alignment. Handle O_pltrel. - (xg_valid_literal_expression): New. - (xg_assemble_literal_space): Add slot parameter. Remove call to - set_expr_symbol_offset. Add call to record_alignment. Update call to - xg_finish_frag. - (xg_emit_insn): Delete. - (xg_emit_insn_to_buf): Add format parameter. Update calls to - xg_add_opcode_fix and xtensa_insnbuf_to_chars. - (xg_add_opcode_fix): Change opcode parameter to tinsn and add format - and slot parameters. Handle new "alternate" relocations for absolute - literals and CONST16 instructions. Check for bad uses of O_lo16 and - O_hi16. Use new xtensa-isa.h functions. - (xg_assemble_tokens): Delete. - (is_register_writer): Use new xtensa-isa.h functions. - (is_bad_loopend_opcode): Check for xtensa_rsr_lcount_opcode instead of - old-style RSR from LCOUNT. - (next_frag_opcode): Delete. - (next_frag_opcode_is_loop, next_frag_format_size, frag_format_size, - update_next_frag_state): New. - (update_next_frag_nop_state): Delete. - (next_frag_pre_opcode_bytes): Use next_frag_opcode_is_loop. - (xtensa_mark_literal_pool_location): Check use_literal_section flag and - the state of the absolute-literals directive. Add calls to - record_alignment and xtensa_set_frag_assembly_state. Call - xtensa_switch_to_non_abs_literal_fragment instead of - xtensa_switch_to_literal_fragment. - (build_nop): New. - (assemble_nop): Use build_nop. Update call to xtensa_insnbuf_to_chars. - (get_expanded_loop_offset): Change check for undefined opcode to an - assertion. - (xtensa_set_frag_assembly_state, relaxable_section, - xtensa_find_unmarked_state_frags, xtensa_find_unaligned_branch_targets, - xtensa_find_unaligned_loops, xg_apply_tentative_value): New. - (md_begin): Update call to xtensa_isa_init. Initialize linkrelax to 1. - Set lit4_seg_name. Call xg_init_vinsn. Initialize new global opcodes. - Call init_op_placement_info_table and xtensa_set_frag_assembly_state. - (xtensa_init_fix_data): New. - (xtensa_frob_label): Reset label symbol to the current frag. Check - do_align_targets and generating_literals flag. Propagate frequency - info to new alignment frag. Call xtensa_set_frag_assembly_state. - (xtensa_unrecognized_line): New. - (xtensa_flush_pending_output): Check if inside a bundle. Add a call - to xtensa_set_frag_assembly_state. - (error_reset_cur_vinsn): New. - (md_assemble): Remove check for literal frag. Remove call to - istack_init. Call use_transform instead of use_generics. Parse - explicit instruction format specifiers. Move code for - a0_b_retw_interlock workaround to xg_assemble_vliw_tokens. Call - error_reset_cur_vinsn on errors. Add call to get_invisible_operands. - Add dwarf2_where call. Remote automatic alignment for ENTRY - instructions. Move call to xtensa_clear_insn_labels to the end. - Rearrange to handle bundles. - (xtensa_cons_fix_new): Delete. - (xtensa_handle_align): New. - (xtensa_frag_init): Call xtensa_set_frag_assembly_state. Remove - assignment to is_no_density field. - (md_pcrel_from): Use new xtensa-isa.h functions. Use decode_reloc - instead of reloc_to_opnum. Handle "alternate" relocations. - (xtensa_force_relocation, xtensa_check_inside_bundle, - xtensa_elf_section_change_hook): New. - (xtensa_symbol_new_hook): Delete. - (xtensa_fix_adjustable): Check for difference of symbols with an - offset. Check for external and weak symbols. - (md_apply_fix3): Remove cases for XTENSA_OP{0,1,2} relocs. - (md_estimate_size_before_relax): Return expansion for the first slot. - (tc_gen_reloc): Handle difference of symbols by producing - XTENSA_DIFF{8,16,32} relocs and by writing the value of the difference - into the output. Handle new XTENSA_SLOT*_OP relocs by storing the - tentative values into the output when linkrelax is set. - (XTENSA_PROP_SEC_NAME): Define. - (xtensa_post_relax_hook): Call xtensa_find_unmarked_state_frags. - Create literal tables only if using literal sections. Create new - property tables instead of old instruction tables. Check for unaligned - branch targets and loops. - (finish_vinsn, find_vinsn_conflicts, check_t1_t2_reads_and_writes, - new_resource_table, clear_resource_table, resize_resource_table, - resources_available, reserve_resources, release_resources, - opcode_funcUnit_use_unit, opcode_funcUnit_use_stage, - resources_conflict, xg_find_narrowest_format, relaxation_requirements, - bundle_single_op, emit_single_op, xg_assemble_vliw_tokens): New. - (xtensa_end): Call xtensa_flush_pending_output. Set past_xtensa_end - flag. Update checks for workaround options. Call - xtensa_mark_narrow_branches and xtensa_mark_zcl_first_insns. - (xtensa_cleanup_align_frags): Add special case for branch targets. - Check for and mark unreachable frags. - (xtensa_fix_target_frags): Remove use of align_only_targets flag. - Use RELAX_LOOP_END_BYTES in special case for negatable branch at the - end of a zero-overhead loop body. - (frag_can_negate_branch): Handle instructions with multiple slots. - Use new xtensa-isa.h functions - (xtensa_mark_narrow_branches, is_narrow_branch_guaranteed_in_range, - xtensa_mark_zcl_first_insns): New. - (xtensa_fix_a0_b_retw_frags, xtensa_fix_b_j_loop_end_frags): Error if - transformations are disabled. - (next_instrs_are_b_retw): Use new xtensa-isa.h functions. Handle - multislot instructions. - (xtensa_fix_close_loop_end_frags, xtensa_fix_short_loop_frags): - Likewise. Also error if transformations are disabled. - (unrelaxed_frag_max_size): New. - (unrelaxed_frag_min_insn_count, unrelax_frag_has_b_j): Use new - xtensa-isa.h functions. - (xtensa_sanity_check, is_empty_loop, is_local_forward_loop): Use - xtensa_opcode_is_loop instead of is_loop_opcode. - (get_text_align_power): Replace as_fatal with assertion. - (get_text_align_fill_size): Iterate instead of using modulus when - use_nops is false. - (get_noop_aligned_address): Assert that this is for a machine-dependent - RELAX_ALIGN_NEXT_OPCODE frag. Use next_frag_opcode_is_loop, - xg_get_single_size, and frag_format_size. - (get_widen_aligned_address): Rename to ... - (get_aligned_diff): ... this function. Add max_diff parameter. - Remove handling of rs_align/rs_align_code frags. Use - next_frag_format_size, get_text_align_power, get_text_align_fill_size, - next_frag_opcode_is_loop, and xg_get_single_size. Compute max_diff - and pass it back to caller. - (xtensa_relax_frag): Use relax_frag_loop_align. Add code for new - RELAX_SLOTS, RELAX_MAYBE_UNREACHABLE, RELAX_MAYBE_DESIRE_ALIGN, - RELAX_FILL_NOP, and RELAX_UNREACHABLE frag types. Check relax_seen. - (relax_frag_text_align): Rename to ... - (relax_frag_loop_align): ... this function. Assume loops can only be - in the first slot of an instruction. - (relax_frag_add_nop): Use assemble_nop instead of constructing an OR - instruction. Remove call to frag_wane. - (relax_frag_narrow): Rename to ... - (relax_frag_for_align): ... this function. Extend to handle - RELAX_FILL_NOP and RELAX_UNREACHABLE, as well as RELAX_SLOTS with - RELAX_NARROW for the first slot. - (find_address_of_next_align_frag, bytes_to_stretch): New. - (future_alignment_required): Use find_address_of_next_align_frag and - bytes_to_stretch. Look ahead to subsequent frags to make smarter - alignment decisions. - (relax_frag_immed): Add format, slot, and estimate_only parameters. - Check if transformations are enabled for b_j_loop_end workaround. - Use new xtensa-isa.h functions and handle multislot instructions. - Update call to xg_assembly_relax. - (md_convert_frag): Handle new RELAX_SLOTS, RELAX_UNREACHABLE, - RELAX_MAYBE_UNREACHABLE, RELAX_MAYBE_DESIRE_ALIGN, and RELAX_FILL_NOP - frag types. - (convert_frag_narrow): Add segP, format and slot parameters. Call - convert_frag_immed for branch instructions. Adjust calls to - tinsn_from_chars, tinsn_immed_from_frag, and xg_emit_insn_to_buf. Use - xg_get_single_size and xg_get_single_format. - (convert_frag_fill_nop): New. - (convert_frag_immed): Add format and slot parameters. Handle multislot - instructions and use new xtensa-isa.h functions. Update calls to - tinsn_immed_from_frag and xg_assembly_relax. Check if transformations - enabled for b_j_loop_end workaround. Use build_nop instead of - assemble_nop. Check is_specific_opcode flag. Check for unreachable - frags. Use xg_get_single_size. Handle O_pltrel. - (fix_new_exp_in_seg): Remove check for old plt flag. - (convert_frag_immed_finish_loop): Update calls to tinsn_from_chars and - xtensa_insnbuf_to_chars. Call tinsn_immed_from_frag. Change check - for loop opcode to an assertion. Mark all frags up to the end of the - loop as not transformable. - (get_last_insn_flags, set_last_insn_flags): Use get_subseg_info. - (get_subseg_info): New. - (xtensa_move_literals): Call xtensa_set_frag_assembly_state. Add null - check for dest_seg. - (xtensa_switch_to_literal_fragment): Rewrite to handle absolute - literals and use xtensa_switch_to_non_abs_literal_fragment otherwise. - (xtensa_switch_to_non_abs_literal_fragment): New. - (cache_literal_section): Add is_code parameter and pass it through to - retrieve_literal_seg. - (retrieve_literal_seg): Add is_code parameter and use it to set the - flags on the literal section. Handle case where head parameter is 0. - (get_frag_is_no_transform, set_frag_is_specific_opcode, - set_frag_is_no_transform): New. - (xtensa_create_property_segments): Add end_property_function parameter - and pass it through to add_xt_block_frags. Call bfd_get_section_flags - and skip SEC_DEBUGGING and !SEC_ALLOC sections. - (xtensa_create_xproperty_segments, section_has_xproperty): New. - (add_xt_block_frags): Add end_property_function parameter and call it - if it is non-zero. Call xtensa_frag_flags_init. - (xtensa_frag_flags_is_empty, xtensa_frag_flags_init, - get_frag_property_flags, frag_flags_to_number, - xtensa_frag_flags_combinable, xt_block_aligned_size, - xtensa_xt_block_combine, add_xt_prop_frags, - init_op_placement_info_table, opcode_fits_format_slot, - xg_get_single_size, xg_get_single_format): New. - (istack_push): Inline call to tinsn_copy. - (tinsn_copy): Delete. - (tinsn_has_invalid_symbolic_operands): Handle O_hi16 and O_lo16 and - CONST16 opcodes. Handle O_big, O_illegal, and O_absent. - (tinsn_has_complex_operands): Handle O_hi16 and O_lo16. - (tinsn_to_insnbuf): Use xg_get_single_format and new xtensa-isa.h - functions. Handle invisible operands. - (tinsn_to_slotbuf): New. - (tinsn_check_arguments): Use new xtensa-isa.h functions. - (tinsn_from_chars): Add slot parameter. Rewrite using xg_init_vinsn, - vinsn_from_chars, and xg_free_vinsn. - (tinsn_from_insnbuf): New. - (tinsn_immed_from_frag): Add slot parameter and handle multislot - instructions. Handle symbol differences. - (get_num_stack_text_bytes): Use xg_get_single_size. - (xg_init_vinsn, xg_clear_vinsn, vinsn_has_specific_opcodes, - xg_free_vinsn, vinsn_to_insnbuf, vinsn_from_chars, expr_is_register, - get_expr_register, set_expr_symbol_offset_diff): New. - * config/tc-xtensa.h (MAX_SLOTS): Define. - (xtensa_relax_statesE): Move from tc-xtensa.c. Add - RELAX_CHECK_ALIGN_NEXT_OPCODE, RELAX_MAYBE_DESIRE_ALIGN, RELAX_SLOTS, - RELAX_FILL_NOP, RELAX_UNREACHABLE, RELAX_MAYBE_UNREACHABLE, and - RELAX_NONE types. - (RELAX_IMMED_MAXSTEPS): Move from tc-xtensa.c. - (xtensa_frag_type struct): Add is_assembly_state_set, - use_absolute_literals, relax_seen, is_unreachable, is_specific_opcode, - is_align, is_text_align, alignment, and is_first_loop_insn fields. - Replace is_generics and is_relax fields by is_no_transform field. - Delete is_text and is_longcalls fields. Change text_expansion and - literal_expansion to arrays of MAX_SLOTS entries. Add arrays of - per-slot information: literal_frags, slot_subtypes, slot_symbols, - slot_sub_symbols, and slot_offsets. Add fr_prev field. - (xtensa_fix_data struct): New. - (xtensa_symfield_type struct): Delete plt field. - (xtensa_block_info struct): Move definition to tc-xtensa.h. Add - forward declaration here. - (xt_section_type enum): Delete xt_insn_sec. Add xt_prop_sec. - (XTENSA_SECTION_RENAME): Undefine. - (TC_FIX_TYPE, TC_INIT_FIX_DATA, TC_FORCE_RELOCATION, NO_PSEUDO_DOT, - tc_unrecognized_line, md_do_align, md_elf_section_change_hook, - HANDLE_ALIGN, TC_LINKRELAX_FIXUP, SUB_SEGMENT_ALIGN): Define. - (TC_CONS_FIX_NEW, tc_symbol_new_hook): Delete. - (unit_num_copies_func, opcode_num_units_func, - opcode_funcUnit_use_unit_func, opcode_funcUnit_use_stage_func): New. - (resource_table struct): New. - * config/xtensa-istack.h (MAX_INSN_ARGS): Increase from 6 to 10. - (TInsn struct): Add keep_wide, loc, fixup, record_fix, subtype, - literal_space, symbol, sub_symbol, offset, and literal_frag fields. - (tinsn_copy): Delete prototype. - (vliw_insn struct): New. - * config/xtensa-relax.c (insn_pattern_struct): Add options field. - (widen_spec_list): Add option conditions for density and boolean - instructions. Add expansions using CONST16 and conditions for using - CONST16 vs. L32R. Use new Xtensa LX RSR/WSR syntax. Add entries for - predicted branches. - (simplify_spec_list): Add option conditions for density instructions. - Add entry for NOP instruction. - (append_transition): Add cmp function pointer parameter and use it to - insert the new entry in order. - (operand_function_LOW16U, operand_function_HI16U): New. - (xg_has_userdef_op_fn, xg_apply_userdef_op_fn): Handle - OP_OPERAND_LOW16U and OP_OPERAND_HI16U. - (enter_opname, split_string): Use xstrdup instead of strdup. - (init_insn_pattern): Initialize new options field. - (clear_req_or_option_list, clear_req_option_list, - clone_req_or_option_list, clone_req_option_list, parse_option_cond): - New. - (parse_insn_pattern): Parse option conditions. - (transition_applies): New. - (build_transition): Use new xtensa-isa.h functions. Fix incorrectly - swapped last arguments in calls to append_constant_value_condition. - Call clone_req_option_list. Add warning about invalid opcode. - Handle LOW16U and HI16U function names. - (build_transition_table): Add cmp parameter and use it in calls to - append_transition. Use new xtensa-isa.h functions. Check - transition_applies before adding entries. - (xg_build_widen_table, xg_build_simplify_table): Add cmp parameter and - pass it through to build_transition_table. - * config/xtensa-relax.h (ReqOrOptionList, ReqOrOption, ReqOptionList, - ReqOption, transition_cmp_fn): New types. - (OpType enum): Add OP_OPERAND_LOW16U and OP_OPERAND_HI16U. - (transition_rule struct): Add options field. - * doc/as.texinfo (Overview): Update Xtensa options. - * doc/c-xtensa.texi (Xtensa Options): Delete --[no-]density, - --[no-]relax, and --[no-]generics options. Update descriptions of - --text-section-literals and --[no-]longcalls. Add - --[no-]absolute-literals and --[no-]transform. - (Xtensa Syntax): Add description of syntax for FLIX instructions. - Remove use of "generic" and "specific" terminology for opcodes. - (Xtensa Registers): Generalize the syntax description to include - user-defined register files. - (Xtensa Automatic Alignment): Update. - (Xtensa Branch Relaxation): Mention limitation of unconditional jumps. - (Xtensa Call Relaxation): Linker can now remove most of the overhead. - (Xtensa Directives): Remove confusing rules about precedence. - (Density Directive, Relax Directive): Delete. - (Schedule Directive): New. - (Generics Directive): Rename to ... - (Transform Directive): ... this node. - (Literal Directive): Update for absolute literals. Missing - literal_position directive is now an error. - (Literal Position Directive): Update for absolute literals. - (Freeregs Directive): Delete. - (Absolute Literals Directive): New. - (Frame Directive): Minor editing. - * Makefile.am (DEPTC_xtensa_elf, DEPOBJ_xtensa_elf, DEP_xtensa_elf): - Update dependencies. - * Makefile.in: Regenerate. - -2004-10-07 Richard Sandiford <rsandifo@redhat.com> - - * config/tc-mips.c (append_insn): Use fix_new rather than fix_new_exp - to build the second and third fixups for a composite relocation. - (macro_read_relocs): New function. - (macro_build): Use it. - (s_cpsetup): Pass all three composite relocation codes to macro_build. - Simplify fragging code accordingly. - (s_gpdword): Use fix_new rather than fix_new_exp for the second part - of the composite relocation. Set fx_tcbit in both fixups. - -2004-10-07 Richard Sandiford <rsandifo@redhat.com> - - * config/tc-mips.c (append_insn): Set fx_tcbit for composite relocs. - (md_apply_fix3): Don't treat composite relocs as done. - -2004-10-07 Jan Beulich <jbeulich@novell.com> - - * macro.c (macro_expand_body): When ELF, use .LL rather than LL as - prefix for symbol names generated from the LOCAL macro directive. - - * dw2gencfi.c (select_cie_for_fde): When separating CIE out from - FDE, treat a DW_CFA_remember_state as we do a DW_CFA_advance_loc. - -2004-10-07 Tomer Levi <Tomer.Levi@nsc.com> - - * config/tc-crx.c (preprocess_reglist): Handle Co-processor - Special registers. - (md_assemble): Add error checking for Co-Processor instructions. - (get_cinv_parameters): Add 'b' option to invalidate the - branch-target cache. - -2004-10-05 Paul Brook <paul@codesourcery.com> - - * config/tc-arm.c (unwind): New variable. - (vfp_sp_encode_reg): New function. - (vfp_sp_reg_required_here): Use it. - (vfp_sp_reg_list, vfp_dp_reg_list): Remove. - (vfp_parse_reg_list): New function. - (s_arm_unwind_fnstart, s_arm_unwind_fnend, s_arm_unwind_cantunwind, - s_arm_unwind_personality, s_arm_unwind_personalityindex, - s_arm_unwind_handlerdata, s_arm_unwind_save, s_arm_unwind_movsp, - s_arm_unwind_pad, s_arm_unwind_setfp, s_arm_unwind_raw): New - functions. - (md_pseudo_table): Add them. - (do_vfp_reg2_from_sp2): Use vfp_parse_reg_list and vfp_sp_encode_reg. - (do_vfp_sp2_from_reg2, vfp_sp_ldstm, vfp_dp_ldstm): Ditto. - (set_section, add_unwind_adjustsp, flush_pending_unwind, - finish_unwind_opcodes, start_unwind_section, create_unwind_entry, - require_hashconst, add_unwind_opcode): New functions. - * doc/c-arm.texi: Document unwinding opcodes. - * NEWS: Mention the new feature. - -2004-10-04 Eric Christopher <echristo@redhat.com> - - * config/tc-mips.c (md_apply_fix3): Remove erroneous assert. - -2004-10-01 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-ppc.c (md_apply_fix3): Call S_SET_THREAD_LOCAL for - TLS relocations. - * config/tc-s390.c (md_apply_fix3): Likewise. - * config/tc-sparc.c (md_apply_fix3): Likewise. - -2004-10-01 Paul Brook <paul@codesourcery.com> - - * config/tc-arm.c (arm_elf_section_type): New function. - (arm_elf_change_section): Set section link for exidx sections. - * config/tc-arm.h (arm_elf_section_type): Add prototype. - (md_elf_section_type): Define. - -2004-10-01 Bill Farmer <Bill@the-farmers.freeserve.co.uk> - - * config/tc-pdp11.c (md_apply_fix3): Change to sign of the SOB - instruction's offset. - -2004-10-01 Adam Nemet <anemet@lnxw.com> - - * (TARGET_FORMAT): Remove LynxOS COFF definition. - -2004-10-01 Ravi Ramaseshan <ravi.ramaseshan@codito.com> - - * config/tc-arc.c (tc_gen_reloc): Don't assume fixP->fx_addsy is an - asymbol *, instead use symbol_get_bfdsym. - -2004-09-30 Linus Nielsen Feltzing <linus@haxx.se> - - * config/tc-m68k.c (select_control_regs): Add mcf5249. - -2004-09-30 Paul Brook <paul@codesourcery.com> - - * config/tc-arm.c (do_smi, do_nop): New functions. - (insns): Add ARMv6ZK instructions. - (md_apply_fix3): Handle BFD_RELOC_ARM_SMI. - (tc_gen_reloc): Ditto. - (arm_cpus): Add mpcore and arm1176. - (arm_archs): Add armv6{k,z,zk}. - * doc/c-arm.texi: Document new cores and architectures. - -2004-09-30 Nick Clifton <nickc@redhat.com> - - * config/tc-arm.c: Use ISO C90 formatting. - -2004-09-30 Vladimir Ivanov <vladitx@nucleusys.com> - - * config/tc-arm.c (mav_reg_required_here): Allow REG_TYPE_CN - as alternative when REG_TYPE_MVF, REG_TYPE_MVD, REG_TYPE_MVFX or - REG_TYPE_MVDX is expected. - -2004-09-29 Marc Bevand <m.bevand@gmail.com> - - * doc/c-i386.texi (i386-Mnemonics): Fix typo. - -2004-09-21 James E Wilson <wilson@specifixinc.com> - - * config/tc-ia64.c (ENCODED_PSP_OFFSET): New. - (output_rp_psprel, output_pfs_psprel, output_preds_psprel, - output_spill_base, output_unat_psprel, output_lc_psprel, - output_fpsr_psprel, output_priunat_psprel, output_bsp_psprel, - output_bsprestore_psprel, output_rnat_psprel, output_spill_psprel, - output_spill_psprel_p): Use it. - -2004-09-20 Tomer Levi <Tomer.Levi@nsc.com> - - * config/tc-crx.c (handle_LoadStor): New function. - Handle load/stor unique instructions before parsing. - -2004-09-17 Paul Brook <paul@codesourcery.com> - - * config/tc-arm.c (s_arm_rel31): New funciton. - (md_pseudo_table): Add .rel31. - (md_apply_fix3): Handle BFD_RELOC_ARM_TARGET2, - BFD_RELOC_32_PCREL and BFD_RELOC_ARM_PREL31. - (tc_gen_reloc): Handle BFD_RELOC_ARM_PREL31 and BFD_RELOC_ARM_TARGET2. - (arm_fix_adjustable): Return 0 for BFD_RELOC_ARM_TARGET2. - (arm_parse_reloc): Add (target2). - -2004-09-17 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - * aclocal.m4: Regenerate. - * configure: Regenerate. - * doc/Makefile.in: Regenerate. - * po/POTFILES.in: Regenerate. - * po/gas.pot: Regenerate. - -2004-09-14 Hideki IWAMOTO <h-iwamoto@kit.hi-ho.ne.jp> - - * config/tc-mmix.c [!LLONG_MIN]: Correct #elsif to #elif. - [!LLONG_MAX]: Ditto. - -2004-09-13 Paul Brook <paul@codesourcery.com> - - * config/tc-arm.c: Rename RELABS to TARGET1. - -2004-09-13 Alan Modra <amodra@bigpond.net.au> - - * messages.c (as_internal_value_out_of_range): Cast values passed - to as_bad_where or as_warn_where to proper type. - -2004-09-11 Theodore A. Roth <troth@openavr.org> - - * config/tc-avr.c: Add support for - atmega48, atmega88, atmega168, attiny13, attiny2313, at90can128. - -2004-09-09 Alan Modra <amodra@bigpond.net.au> - - * dw2gencfi.c (select_cie_for_fde): When separating CIE out - from FDE, treat a CFI_escape as we do a DW_CFA_advance_loc. - -2004-09-08 Paul Brook <paul@codesourcery.com> - - * config/obj-elf.c (obj_elf_section_type): Handle init_array, - fini_array and preinit_array section types. - * config/tc-ia64.c (ia64_elf_section_type): Remove init_array - and fini_array. - * doc/as.texinfo: Document extra section types. - -2004-09-02 Mark Mitchell <mark@codesourcery.com> - - * Makefile.am (TARG_ENV_HFILES): Add te-symbian.h. - * Makefile.in: Regenerated. - * configure.in: Set em for arm*-*-symbianelf*. - * configure: Regenerated. - * config/tc-arm.c (elf32_arm_target_format): Use Symbian target - vectors when appropriate. - * config/te-symbian.h: New file. - -2004-09-03 Tomer Levi <Tomer.Levi@nsc.com> - - * config/tc-crx.c (gettrap): Exception vector can be case - insensitive. - (process_label_constant): Fix a 32-bit displacement bug in branch - instructions. - (get_operandtype) : Bug fix, wrong operand was used. - (process_label_constant): Initialize relocation type to - BFD_RELOC_NONE - -2004-09-01 Richard Earnshaw < reanrsha@arm.com> - - * tc-arm.c (arm_cpus, arm_fpus): Allow <cpu>-s as well as <cpu>s - for synthesizable cores. - - * doc/c-arm.texi (ARM Options): Document canonical names of CPUs. - -2004-08-25 Dmitry Diky <diwil@spec.ru> - - * config/tc-msp430.c: Clean-up the code. - (md_relax_table): New relax table. - (mcu_types): Sort MCU types. - (md_pseudo_table): Add .profiler pseudo handler. - (pow2value): New function. - (msp430_profiler): New function. - (msp430_operands): Add new insns handlers. - (msp430_srcoperand): Add register operand handler, allow complex - expressions. - (md_estimate_size_before_relax): Rewritten. - (md_convert_frag): Rewritten. - (msp430_relax_frag): New function. - * config/tc-msp430.h (md_relax_frag): define macro - * doc/c-msp430.texi: Update information. - -2004-08-24 Nick Clifton <nickc@redhat.com> - - * as.c (std_shortopts): Allow -g to take an optional argument. - (parse_args): Pass any switch starting with -g on to the backend - for parsing. - -2004-08-18 Mark Mitchell <mark@codesourcery.com> - - * configure.in (arm*-*-symbianelf*): New target. - (arm*-*-eabi*): Likewise. - * configure: Regenerated. - -2004-08-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> - * config/tc-mips.c (append_insn): Handle delay slots in branch likely - correctly. - -2004-08-18 Jakub Jelinek <jakub@redhat.com> - - * config/tc-ia64.c (start_unwind_section): Add linkonce_empty - argument, don't do anything if current section is not - .gnu.linkonce.t.* and linkonce_empty is set. - (generate_unwind_image, dot_endp): Adjust callers, call - start_unwind_section (*, 1) if nothing will be put into the - section. - -2004-08-17 Nick Clifton <nickc@redhat.com> - - * as.c (MD_DEBUG_FORMAT_SELECTOR): Provide default definition. - (show_usage): Add -g. - (std_longopts): Add --gen-debug. Alpha sort the table. - (parse_args): Print an error message if a switch is not handled. - Handle the -g switch, calling md_debug_format_selector() if - necessary. - * NEWS: Mention new feature. - * doc/as.texinfo: Document new switch. - * doc/internals.texi: Document behaviour of md_parse_option. - - * config/tc-arm.c (md_parse_option): Do not issue an error message - if the switch is not recognised. - * config/tc-m68k.c (md_parse_option): Likewise. - * config/tc-pdp11.c (md_parse_option): Likewise. - * config/tc-v850.c (md_parse_option): Likewise. - - * as.h: Fix up formatting. - * tc.h: Likewise. - -2004-08-16 Nick Clifton <nickc@redhat.com> - - * macro.c (macro_set_alternate): Use ISO C90 formatting. - - * configure.in: Sort architecture based tables alphabetically. - * configure: Regenerate. - -2004-08-16 Alan Modra <amodra@bigpond.net.au> - - * config/tc-ppc.c (tc_ppc_regname_to_dw2regnum <regnames>): Replace - { "cc", 68 }, with { "cr", 70 }. - -2004-08-13 Jan Beulich <jbeulich@novell.com> - Nick Clifton <nickc@redhat.com> - - * as.c: Add and handle new --alternate command line option. - * macro.c (macro_set_alternate): New. - * macro.h (macro_set_alternate): Declare. - * read.c: Add and handle new .altmacro and .noaltmacro directives. - * doc/as.texinfo: Document new command line option and pseudo-ops - as well as insert documentation originating from gasp about - alternate macro syntax. - * NEWS: Mention new command line option and pseudo-ops. - -2004-08-10 Mark Mitchell <mark@codesourcery.com> - - * expr.c (operand): Handle the "~", "-", and "!" operators applied - to bignums. - -2004-08-06 Paul Brook <paul@codesourcery.com> - - * config/tc-arm.c (md_apply_fix3, tc_gen_reloc, arm_parse_reloc): - Handle new relocations. - * include/elf/arm.h (elf_arm_reloc_type): Add new EABI relocations. - -2004-08-05 Bob Wilson <bob.wilson@acm.org> - - * write.c (relax_segment): Use was_address instead of address when - setting fr_fix field for align frag due to backwards .org. - -2004-07-29 Alexandre Oliva <aoliva@redhat.com> - - Introduce SH2a support. - 2004-02-24 Corinna Vinschen <vinschen@redhat.com> - * config/tc-sh.c (get_specific): Change arch_sh2a_up to - arch_sh2a_nofpu_up. - 2004-02-24 Corinna Vinschen <vinschen@redhat.com> - * config/tc-sh.c (md_parse_option): Add sh2a-nofpu ISA handling. - 2004-02-20 Corinna Vinschen <vinschen@redhat.com> - * config/tc-sh.c (sh_elf_final_processing): Move sh2a recognition - to end of conditional expression. - 2004-02-20 Corinna Vinschen <vinschen@redhat.com> - * config/tc-sh.c: Add sh2a-nofpu support. - 2003-12-29 DJ Delorie <dj@redhat.com> - * tc-sh.c: Add sh2a support. - (parse_reg): Add tbr. - (parse_at): Support @@(disp,tbr). - (get_specific): Support sh2a opcodes. - (insert4): New, for 4 byte relocs. - (build_Mytes): Support sh2a opcodes. - (md_apply_fix3_Mytes): Support sh2a opcodes. - 2003-12-02 Michael Snyder <msnyder@redhat.com> - * config/tc-sh.c (md_parse_option): Handle sh2a. - (sh_elf_final_processing): Ditto. - -2004-07-27 Jason Thorpe <thorpej@wasabisystems.com> - - * config/tc-hppa.h (TARGET_FORMAT): Set to "elf32-hppa-netbsd" - for TE_NetBSD. - -2004-07-27 Alan Modra <amodra@bigpond.net.au> - - * config/tc-ppc.c (ppc_frob_file_before_adjust): Warn if .toc too big. - (ppc_arch): Expand comment. - -2004-07-27 Tomer Levi <Tomer.Levi@nsc.com> - - * config/tc-crx.c: Support evaluating the difference between two - symbols. - * config/tc-crx.h: Likewise. - -2004-07-26 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-ia64.c (start_unwind_section): Set the linked-to - section. - (ia64_elf_section_change_hook): Set the linked-to section for - SHT_IA_64_UNWIND. - -2004-07-26 Dmitry Diky <diwil@spec.ru> - - * config/tc-msp430.c: Add new subtargets: msp430x1610, - msp430x1611, msp430x1612, msp430x415, msp430x417, msp430xG437, - msp430xG438, msp430xG439. - -2004-07-25 Daniel Jacobowitz <dan@debian.org> - - * doc/as.texinfo (Section, PushSection): Correct documentation - for ELF. - -2004-07-21 Jan Beulich <jbeulich@novell.com> - - * config/tc-i386.c (optimize_imm): Adjust immediates to only those - permissible for the selected instruction suffix. - (match_template): Don't permit 64-bit general purpose operands in - 32-bit mode. - (finalize_imm): Permit 64-bit immediates. - (build_modrm_byte): Don't treat 32-bit addressing in 64-bit mode - specially except for the width of the used base and/or index - registers. For 32-bit displacements, use sign-extended - relocations only when using 64-bit addressing. - Force zero displacement on rip-relative addressing when there is - no other displacement. - (i386_index_check): Don't treat 32-bit addressing in 64-bit mode - specially except for the width of the used base and/or index - registers. - (parse_register): Disallow Reg64 registers in 32-bit mode. - - * config/tc-i386.c: For DefaultSize instructions, don't guess a 'q' - suffix if the instruction doesn't support it. - -2004-07-20 Maciej W. Rozycki <macro@linux-mips.org> - - * config/tc-mips.c (append_insn): Handle constant expressions with - no associated relocation. - (mips_ip): Cancel the expression after use for the Q format - specifier. - (parse_relocation): Return no relocation for unsupported - operators. - (my_getSmallExpression): Return no relocation if no relocation - operators are used. - -2004-07-19 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - * config/obj-som.c (adjust_stab_sections): Add prototype. - (obj_som_compiler, obj_som_version, obj_som_copyright, - adjust_stab_sections): Add ATTRIBUTE_UNUSED to unused arguments. - * config/tc-hppa.c (update_subspace): Likewise. - (is_defined_subspace): Amplify comment. - * config/obj-som.h (som_frob_file): Add prototype. - -2004-07-19 Christopher Faylor <cgf@timesys.com> - H.J. Lu <hongjiu.lu@intel.com> - - * subsegs.c (section_symbol): Don't create a new segment when - existing segment is undefined. - -2004-07-16 Richard Earnshaw <rearnsha@arm.com> - - * config/tc-arm.c: Include include/opcode/arm.h. - (ARM_EXT_*, ARM_ARCH_*, ARM_ANY, ARM_ALL, COPROC_ANY): Delete. - (FPU_FPA_EXT_* FPU_VFP_EXT_*, FPU_ANY, FPU_NONE, FPU_MAVERICK): Delete. - (FPU_ARCH_*): Delete. - * Makefile.am: Update dependencies. - * Makefile.in: Regenerate. - -2004-07-15 Nick Clifton <nickc@redhat.com> - - * configure.in: Accept armbe as a big-endian arm configuration. - * configure: Regenerate. - -2004-07-13 Thomas Nystrom <thn@saeab.se> - - * config/tc-i386.c (T_SHIFTOP): New constant. - (intel_e05_1): Handle '&', '|' and T_SHIFTOP. - (intel_el1): Handle '~'. - (intel_get_token): Handle '<>', '&', '|' and '~'. - -2004-07-13 Nick Clifton <nickc@redhat.com> - - (md_assemble): Remove spurious newline from end of as_bad error - message. - (intel_e05_1): Likewise. - (intel_e11): Likewise. - (intel_match_token): Likewise. - -2004-07-11 Andreas Schwab <schwab@suse.de> - - * config/tc-m68k.c: Convert to C90. Remove redundant - declarations. Indentation fixup. - [M68KCOFF]: Include "obj-coff.h" instead of declaring - obj_coff_section ourselves. - -2004-07-09 James E Wilson <wilson@specifixinc.com> - - * config/tc-ia64.c (default_big_endian): New. - (dot_byteorder, md_begin): Use it. - (md_parse_option): Set it. - -2004-07-09 Nick Clifton <nickc@redhat.com> - - * configure.in: Change sh-sybmian-elf to sh-*-symbianelf. - * configure: Regenerate. - * NEWS: Change sh-sybmian-elf to sh-*-symbianelf. - * config/tc-sh.c (sh_elf_final_processing): Use renamed version of - sh_find_elf_flags if necessary. - -2004-07-08 Richard Sandiford <rsandifo@redhat.com> - - * config/tc-mips.c (mips_fix_adjustable): If the full addend is - going to be split into more than one in-place addend, return 0 - for relocations against mergeable sections. Associate comments - with code. - -2004-07-07 Tomer Levi <Tomer.Levi@nsc.com> - - * Makefile.am (CPU_TYPES): Add crx. - (TARGET_CPU_CFILES): Add config/tc-crx.c. - (TARGET_CPU_HFILES): Add config/tc-crx.h. - (DEPTC_crx_elf): New target. - (DEPOBJ_crx_elf): Likewise. - (DEP_crx_elf): Likewise. - * Makefile.in: Regenerate. - * configure.in: Add crx* target. - * configure: Regenerate. - * config/tc-crx.c: New file. - * config/tc-crx.h: New file. - * NEWS: Mention new target. - -2004-07-06 Nick Clifton <nickc@redhat.com> - - * config.in: Undefine TARGET_SYMBIAN by default. - * configure.in: - * configure: Regenerate. Add sh-symbian-elf target. If - selected define TARGET_SYMBIAN. - * config/tc-sh.h (TARGET_FORMAT): Select a Symbian target - format if TARGET_SYMBIAN has been defined. - - * output-file.c (output_file_create): Report the target format - chosen when bfd_openw reports that it is invalid. - - * config/obj-coff.c (coff_pseudo_table): Only define the weak - pseudo for BFD based assemblers. - -2004-07-05 Andrew Stubbs <andrew.stubbs@superh.com> - - gas: - * config/tc-sh.c (md_assemble): Change isspace to ISSPACE. - (md_parse_option): Remove redundant -isa testing. - Make bfd_arch variable const. - (md_show_usage): Make bfd_arch variable const. - -2004-07-03 James E Wilson <wilson@specifixinc.com> - - * config/tc-ia64.c (emit_one_bundle): Check and set insn_addr. - * config/tc-ia64.h (md_frag_check): Define. - -2004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> - - * config/obj-coff.c (obj_coff_weak): New .weak syntax for PE weak - externals. - * doc/as.texinfo (Weak): Document PE weak symbols. - -2004-07-03 Richard Sandiford <rsandifo@redhat.com> - - * config/tc-mips.c (HAVE_IN_PLACE_ADDENDS): New macro. - (reloc_needs_lo_p): Only return true if HAVE_IN_PLACE_ADDENDS. - (mips_frob_file): Rework so that only a single pass through the - relocs is needed. Allow %lo()s to have higher offsets than their - corresponding %hi()s or %got()s. - -2004-07-02 Nick Clifton <nickc@redhat.com> - - * config/tc-arm.c (md_apply_fix3:BFD_RELOC_ARM_IMMEDIATE): Do not - allow values which have come from undefined symbols. - Always consider this fixup to have been processed as a reloc - cannot be generated for it. - -2004-07-02 Alan Modra <amodra@bigpond.net.au> - - * frags.h (struct frag): Add has_code and insn_addr fields. - * write.c (cvt_frag_to_fill): Invoke md_frag_check. - * config/tc-ppc.c (md_assemble): Check and set insn_addr. - * config/tc-ppc.h (md_frag_check): Define. - -2004-06-28 Maciej W. Rozycki <macro@linux-mips.org> - - * doc/Makefile.am (info): Rename goal to... - (info-local): ... this, to preserve implicit dependencies. - * doc/Makefile.in: Regenerate with automake 1.8.5. - -2004-06-25 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> - - * config/tc-m32r.c (md_convert_frag): Changed for @PLT. - (m32r_cgen_record_fixup_exp): Changed for @GOTOFF, @GOT. - (m32r_fix_adjustable): Changed for @GOTOFF, @GOT, @PLT. - (tc_gen_reloc): Likewise. - (m32r_end_of_match): Add for @GOTOFF, @GOT, @PLT. - (m32r_parse_name): Likewise. - (m32r_cgen_parse_fix_exp): Likewise. - * config/tc-m32r.h (md_parse_name): Define for @GOTOFF, @GOT, @PLT. - (O_PIC_reloc): Likewise. - (TC_CGEN_PARSE_FIX_EXP): Likewise.. - * cgen.c (gas_cgen_parse_operand): Add TC_CGEN_PARSE_FIX_EXP - for @GOTOFF, @GOT, @PLT. - -2004-06-21 Jan Beulich <jbeulich@novell.com> - - * gas/symbols.c: While discarding ordinary local absolute symbols - when --strip-local-absolute is in effect, retain file symbols. - -2004-06-20 Andreas Schwab <schwab@suse.de> - - * config/tc-m68k.c (mri_chip): Replace current_chip, not augment. - (md_parse_option): Likewise. - -2004-06-17 Jan Beulich <jbeulich@novell.com> - - * config/tc-i386.c: Deal with LEX_QM the same way as with LEX_AT. - * config/te-netware.h: New file. - * config/te-ppcnw.h: Delete: Obsolete. - * configure.in: Eliminate ill NetWare targets. Make generic - NetWare target use proper emulation. - * Makefile.am: Eliminate reference to obsolete te-ppcnw.h, add - reference to new te-netware.h. - * configure: Regenerate. - * Makefile.in: Regenerate. - -2004-06-15 Martin Schwidefsky <schwidefsky@de.ibm.com> - - * config/tc-s390.c (s390_insn): Avoid incorrect signed/unsigned - comparison in .insn pseudo operation. - -2004-06-15 Alan Modra <amodra@bigpond.net.au> - - * config/obj-coff.c (coff_adjust_section_syms): Use - bfd_get_section_size instead of bfd_get_section_size_before_reloc. - (coff_frob_section): Likewise. - * config/tc-mips.c (md_apply_fix3): Likewise. - * config/obj-elf.c (elf_frob_file): Use bfd_set_section_size. - (elf_frob_file_after_relocs): Likewise. - -2004-06-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - * config/tc-hppa.c (log2): Rename to exact_log2. - (pa_next_subseg): Delete unused function. - (create_new_space): Mark unused arguments with ATTRIBUTE_UNUSED. - (create_new_subspace): Likewise. - - Bug gas/213 - * config/tc-hppa.c (hppa_fix_adjustable): Allow reduction of fake - labels. Fix warning. - -2004-05-28 DJ Delorie <dj@redhat.com> - - * config/tc-mn10300.h (tc_fix_adjustable): Define. - * config/tc-mn10300.c (mn10300_fix_adjustable): Don't adjust debug - or non-merged symbols. - -2004-05-28 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-ia64.c (remove_marked_resource): Save, clear and - restore the old slot when inserting srlz.i/srlz.d. - -2004-05-28 Andrew Stubbs <andrew.stubbs@superh.com> - - * Makefile.am: Regenerate dependecies. - * Makefile.in: Regenerate. - * config/tc-sh.c (valid_arch): Make unsigned. - (preset_target_arch): Likewise. - (md_begin): Use new architecture flags system. - (get_specific): Likewise. - (assemble_ppi): Likewise. - (md_assemble): Likewise. Also fix error check for bad opcodes. - (md_parse_option): Likewise. Also generate -isa values according - to the table in bfd/cpu-sh.c instead of just constants. Also - allow <arch>-up ISA variants. - (sh_elf_final_processing): Replace if-else chain with a call to - sh_find_elf_flags(). - -2004-05-28 Peter Barada <peter@the-baradas.com> - - * config/gc-m68k.c(m68k_ip): Convert mode 5 addressing - with zero offset into mode 2 addressing to save a word. - -2004-05-27 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-ia64.c (ar_is_in_integer_unit): Removed. - (ar_is_only_in_integer_unit): New. - (ar_is_only_in_memory_unit): New. - (generate_unwind_image): Silence gcc on 32bit host. - (md_assemble): Use ar_is_only_in_integer_unit instead of - ar_is_in_integer_unit. Check AR access. - -2004-05-27 Peter Barada <peter@the-baradas.com> - - * config/tc-m68k.c (md_begin): Sort the opcode table into - alphabetical order. - (m68k_compare_opcode): New function to do the sorting. - -2004-05-24 Peter Barada <peter@the-baradas.com> - - * config/m68k-parse.y(operand): Allow for MAC/EMAC mask - addressing on MIT style operands. - * config/m68k-parse.y(yylex): Allow '-&' for predecrement - w/mask addressing. - * config/tc-m68k.c(install_operand): Comment 'G' and 'H' type - operands. - -2004-05-23 Alan Modra <amodra@bigpond.net.au> - - * expr.c (operand, operator): Don't reject '++' and '--'. - -2004-05-20 Richard Sandiford <rsandifo@redhat.com> - - * config/tc-mips.c (append_insn): Use ISA-encoded addresses in MIPS16 - dwarf tables. - -2004-05-17 Adam Nemet <anemet@lnxw.com> - - * configure.in: Add ppc-*-lynxos*. Update i386-*-lynxos* to ELF. - * configure: Regenerate. - -2004-05-13 Paul Brook <paul@codesourcery.com> - - * dw2gencfi.c (output_cie): Handle dwarf3 format CIE entries. - -2004-05-13 Joel Sherrill <joel@oarcorp.com> - - * configure.in (or32-*-rtems*): Switch to elf. - * configure: Regenerate. - -2004-05-13 Nick Clifton <nickc@redhat.com> - - * po/fr.po: Updated French translation. - -2004-05-11 Nick Clifton <nickc@redhat.com> - - * doc/as.texinfo (Section): Document G and T flags to .section - directive. Document the extra arguments that the G flag - requires. Document the #tls flag. - -2004-05-11 H.J. Lu <hongjiu.lu@intel.com> - - * subsegs.c (section_symbol): Create a new section symbol if - the existing one doesn't match. - * symbols.c (symbol_set_bfdsym): Don't reset BFD section symbol. - -2004-05-07 Richard Sandiford <rsandifo@redhat.com> - - * config/tc-mips.c (append_insn, mips_emit_delays): Extend -mfix-vr4120 - to cope with VR4181A errata MD(1) and MD(4). - -2004-05-07 Brian Ford <ford@vss.fsi.com> - - * NEWS: Mention .secrel32 for pe[i]-i386. - -2004-05-07 Alexandre Oliva <aoliva@redhat.com> - - * config/tc-frv.h (MAX_MEM_FOR_RS_ALIGN_CODE): New. - (HANDLE_ALIGN): New. - -2004-05-06 Daniel Jacobowitz <dan@debian.org> - - * Makefile.am (DIST_SUBDIRS): Define. - * aclocal.m4: Regenerate with automake 1.8.4. - * Makefile.in: Likewise. - * doc/Makefile.in: Likewise. - -2004-05-06 David Mosberger-Tang <davidm@hpl.hp.com> - - * config/tc-ia64.c (dot_serialize): Declare. - (dot_serialize): New function. - (md_pseudo_table): Add ".serialize.data" and - ".serialize.instruction" directives. - -2004-05-06 Nick Clifton <nickc@redhat.com> - - * messages (as_internal_value_out_of_range): Print a message about - a value being out of range. Be consistent about whether the - values are printed in decimal or hexadecimal. - (as_warn_value_out_of_range): Generate a warning message about an - out of range value. - (as_bad_value_out_of_range): Generate an error message about an - out of range value. - * as.h: Prototype the new functions. - * config/tc-alpha.c (insert_operand): Use new function. - * config/tc-arc.c (arc_insert_operand): Likewise. - * config/tc-mn10200.c (mn10200_insert_operand): Likewise. - * config/tc-mn10300.c (mn10300_insert_operand): Likewise. - * config/tc-ppc.c (ppc_insert_operand): Likewise. - * config/tc-s390.c (s390_insert_operand): Likewise. - * config/tc-v850.c (v850_insert_operand): Likewise. - -2004-05-05 Alexandre Oliva <aoliva@redhat.com> - - * configure.in: Set em=linux for frv-*-*linux*. - * configure: Rebuilt. - * config/tc-frv.h (TARGET_FORMAT): Use elf32-frvfdpic if... - (frv_md_fdpic_enabled): New. - * config/tc-frv.c (frv_md_fdpic_enabled): New. - (DEFAULT_FDPIC): New. - (frv_flags): Use DEFAULT_FDPIC. - (frv_pic_flag): Likewise. - (OPTION_NOPIC): New. - (md_longopts): Add -mnopic. - (md_parse_option): Handle it. - (md_show_usage): Add -mfdpic and -mnopic. - -2004-05-05 Peter Barada <peter@the-baradas.com> - - * config/tc-m68k.c: Add find_cf_chip to print list of valid - chips for invalid coldfire instructions, rename selectors - for ColdFire sub-variants, add 521x,5249,547x,548x and aliases, - add current_chip to track which chip is referred to(including save/restore), - use current_chip to select control registers, not current_arch. - (md_show_usage): Add new chips. - * doc/c-m68k.texi: Document new command line switches. - -2004-05-05 Jakub Jelinek <jakub@redhat.com> - - * tc-s390.h (md_do_align, HANDLE_ALIGN): Remove. - (NOP_OPCODE): Define. - (s390_align_code): Remove prototype. - * tc-s390.c (s390_align_code): Remove. - -2004-05-04 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-ia64.c (make_unw_section_name): Removed. - (start_unwind_section): New function. - (generate_unwind_image): Take const segT instead of const - char *. - (dot_handlerdata): Adjusted. - (dot_endp): Likewise. - -2004-05-02 H.J. Lu <hongjiu.lu@intel.com> - - * config/obj-elf.c (obj_elf_change_section): Allow the - ".note.GNU-stack" section has SHF_EXECINSTR. - -2004-05-02 H.J. Lu <hongjiu.lu@intel.com> - - * config/obj-elf.c (get_section): Return bfd_boolean. - (obj_elf_change_section): Call bfd_get_section_by_name_if - instead of bfd_map_over_sections. - -2004-04-30 H.J. Lu <hongjiu.lu@intel.com> - - * config/obj-elf.c (get_section): New function. - (obj_elf_change_section): Support multiple sections with same - name. - -2004-04-30 Nick Clifton <nickc@redhat.com> - - * config/tc-arm.c (create_register_alias): Fix typo checking for - case sensitive register aliases. - (co_proc_number): Use error message string in all_reg_maps[] - array. - (cp_reg_required_here): Likewise. - (fp_reg_required_here): Likewise. - -2004-04-29 Brian Ford <ford@vss.fsi.com> - - * dwarf2dbg.c (dwarf2_finish): Add SEC_DEBUGGING to section flags. - -2004-04-28 Chris Demetriou <cgd@broadcom.com> - - * config/tc-mips.c (HAVE_32BIT_ADDRESSES, append_insn, macro_build) - (load_address, macro, mips_ip, md_parse_option) - (mips_force_relocation, mips_validate_fix, md_apply_fix3) - (s_change_sec, pic_need_relax, tc_gen_reloc): Remove all - embedded-PIC handling, and update comments. - (SWITCH_TABLE): Remove. - * config/tc-mips.h (DIFF_EXPR_OK): Delete. - (enum mips_pic_level): Remove EMBEDDED_PIC. - (EXTERN_FORCE_RELOC): Remove embedded-PIC handling. - (TC_FORCE_RELOCATION): Update comment. - * ecoff.c (ecoff_build_lineno): Add comment about some code that - might be safe to remove now that MIPS embedded-PIC is gone. - -2004-04-28 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - * config/obj-som.c (obj_som_init_stab_section): Add new arguments in - call to obj_set_subsection_attributes. - (obj_som_init_stab_section): Likewise. - * config/tc-hppa.c (default_subspace_dict): Add comdat field. - (pa_def_subspaces): Provide comdat default. - (pa_subspace): Handle new "comdat" parameter. Set SEC_LINK_ONCE and - not SEC_IS_COMMON if section is comdat, common or dup_common. Update - calls to create_new_subspace and update_subspace to pass comdat flag. - (create_new_subspace, update_subspace): Add new comdat argument. Use - it in calls to obj_set_subsection_attributes. - * doc/c-hppa.texi (.subspa, .nsubspa): Document new comdat parameter - and use of comdat, common and dup_comm parameters. - -2004-04-26 H.J. Lu <hongjiu.lu@intel.com> - - * config/obj-elf.c (obj_elf_change_section): Check if the old - group name is NULL before comparison. - -2004-04-23 Chris Demetriou <cgd@broadcom.com> - - * config/tc-mips.h (mips_dwarf2_addr_size): Prototype. - -2004-04-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> - - * config/tc-mips.c (s_mipsset): Set default CPU type for .set mipsN. - -2004-04-23 Chris Demetriou <cgd@broadcom.com> - - * config/tc-mips.c (md_longopts): Remove -membedded-pic option. - (OPTION_MEMBEDDED_PIC): Remove. - (OPTION_TRAP, OPTION_BREAK, OPTION_EB, OPTION_EL) - (OPTION_FP32, OPTION_GP32, OPTION_CONSTRUCT_FLOATS) - (OPTION_NO_CONSTRUCT_FLOATS, OPTIONS_FP64, OPTION_GP64) - (OPTION_RELAX_BRANCH, OPTION_NO_RELAX_BRANCH) - (OPTION_ELF_BASE): Renumber. - (md_parse_option): Remove OPTION_MEMBEDDED_PIC handling. - (md_show_usage): Remove mention of -membedded-pic. - * doc/as.texinfo: Remove mention of -membedded-pic. - -2004-04-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> - - * config/tc-mips.h (USE_GLOBAL_POINTER_OPT): Remove. - * config/tc-mips.c (RDATA_SECTION_NAME, mips_target_format): Remove - a.out support. - (md_begin, mips_ip, md_parse_option, s_change_sec, s_option, - s_abicalls, nopic_need_relax, tc_gen_reloc): Remove uses of - USE_GLOBAL_POINTER_OPT. - -2004-04-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> - - * config/tc-mips.c (macro): One more use of load_delay_nop. - -2004-04-22 Atsushi Nemoto <anemo@mba.ocn.ne.jp> - - * config/tc-mips.c (load_delay_nop): New function. - (load_address, macro): Use load_delay_nop() to build a nop - which can be omitted with gpr_interlocks. - -2004-04-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> - - * config/tc-mips.c (hilo_interlocks, gpr_interlocks, - cop_interlocks): Remove superfluous CPU entries. - -2004-04-22 Paul Brook <paul@codesourcery.com> - - * config/tc-arm.c (mav_parse_offset): Value must be multiple of 4. - -2004-04-22 Peter Barada <peter@the-baradas.com> - - * NEWS: Added support for EMAC instructions and MAC/EMAC - Motorola syntax. - * config/m68k-parse.h: Add ACC[123], ACCEXT{01,23}, MAC/EMAC - scale factor tokens, trailing_ampersand to mark mask addressing - for MAC/EMAC instructions. - * config/m68k-parse.y: Add options_ampersand clause, '<<', - '>>'. - (yylex): Handle '>', '<', and '&' following '+'. - * config/tc-m68k.c: Set mcfmac/mcfemac on appropriate ColdFire - architectures in archs[]. - (m68k-ip): Add '4', 'e', 'g', 'i', cases to handle mask addressing - for MAC/EMAC instructions, ACC[0123], ACCEXT{01,23}, and '<<'/'>>' - respectively. - (m68k_ip): Handle trailing '&' on MAC/EMAC insns. - (install_operand): Fix 'n' case, Add 'F', 'f', 'G', 'H', 'I', ']' - cases. - Add EMAC operands to init_table[]. - -2004-04-22 Bruno De Bus <bdebus@elis.ugent.be> - - * config/tc-arm.h (enum mstate): Move here, add MAP_UNDEFINED - state. - (TC_SEGMENT_INFO_TYPE): Define to enum mstate. - * config/tc-arm.c (enum mstate): Delete from here. - (mapping_state): Remove the static mapstate variable and instead - store the state in the segment. This allows a per-section mapping - state. Handle and ignore MAP_UNDEFINED states. - (arm_elf_change_section): Get the current mapping state from the - new section. - (s_ltorg): Set the mapping state to MAP_DATA. - (arm_cleanup): Use arm_elf_change_section to get the mapping state - for each pool as it is emitted. - -2004-04-22 Nick Clifton <nickc@redhat.com> - - * config/tc-arm.h: Formatting tidy ups. - -2004-04-20 Chris Demetriou <cgd@broadcom.com> - - * NEWS: Note that MIPS -membedded-pic option is deprecated. - -2004-04-20 DJ Delorie <dj@redhat.com> - - * config/tc-i386.h [TE_PE] (TC_CONS_FIX_NEW): Define. - * config/tc-i386.c (md_pseudo_table) [TE_PE]: Add "secrel32". - [TE_PE] (O_secrel): Define. - [TE_PE] (x86_pe_cons_fix_new): New. - [TE_PE] (pe_directive_secrel): Likewise. - (tc_gen_reloc) [TE_PE]: Support BFD_RELOC_32_SECREL. - -2004-04-19 Eric Christopher <echristo@redhat.com> - - * config/tc-mips.c (mips_dwarf2_addr_size): Revert part - of previous patch for fix in gcc. - -2004-04-19 Jakub Jelinek <jakub@redhat.com> - - * config/tc-xtensa.c (xg_assembler_literal): Fix a typo. - -2004-04-19 Nathan Sidwell <nathan@codesourcery.com> - - * read.c (do_align): Call md_flush_pending_output, if defined. - -2004-04-16 Alan Modra <amodra@bigpond.net.au> - - * expr.c (operand): Correct checks for ++ and --. - -2004-04-14 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-generic.c: Add some comments. - -2004-04-14 Richard Sandiford <rsandifo@redhat.com> - - * doc/c-mips.texi (-m{no-,}fix-vr4120): Renamed from - -{no-}mfix-vr4122-bugs. - * config/tc-mips.c (mips_fix_vr4120): Renamed from mips_fix_4122_bugs. - (append_insn, mips_emit_delays): Update accordingly. - (OPTION_FIX_VR4120, OPTION_NO_FIX_VR4120): Renamed from *VR4122. - (md_longopts): Change -{no-,}mfix-vr4122-bugs to -m{no-,}fix-vr4120. - (md_parse_option): Update after above changes. - (md_show_usage): Add -mfix-vr4120. - -2004-04-13 Bob Wilson <bob.wilson@acm.org> - - * doc/as.texinfo (Sub-Sections): Conditionalize COFF-specific use - of .section directive; add a reference to the ELF .subsection - directive. - -2004-04-13 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> - - * config/tc-m32r.c (md_assemble): Fixed infinite loop bug - in parallel. - -2004-04-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> - - * Makefile.am: Remove mips from aout targets. - * Makefile.in: Regenerate. - * configure.in: Remove mips-dec-bsd* target. - * configure: Regenerate. - -2004-04-07 Alan Modra <amodra@bigpond.net.au> - - PR 96 - * config/tc-ppc.c (ppc_elf_suffix): Add valid32 and valid64 fields - to struct map_bfd. Adjust MAP macro, and define MAP32, MAP64. - Update "mapping". Restrict some @ modifiers to 32 bit. - -2004-04-01 Asgari Jinia <asgarij@kpitcummins.com> - Dhananjay Deshpande <dhananjayd@kpitcummins.com> - - * config/tc-sh.c (dont_adjust_reloc_32): New variable. - (sh_fix_adjustable): Avoid adjusting BFD_RELOC_32 when - dont_adjust_reloc_32 is set. - (md_longopts): Add option -renesas. - (md_parse_option, md_show_usage): Likewise. - * doc/c-sh.texi: Likewise. - -2004-04-01 Dave Korn <dk@artimi.com> - - * config/tc-dlx.c (md_assemble): set fx_no_overflow flag for - hi16 and lo16 fixS structs. - (md_assemble): generate bit_fixS for RELOC_DLX_LO16 in - exactly the same way as for RELOC_DLX_REL16. - (machine_ip): properly respect LO flag in the_insn and - output RELOC_DLX_LO16 rather than RELOC_DLX_16. - (md_apply_fix3): apply RELOC_DLX_LO16. - -2004-03-30 Stan Shebs <shebs@apple.com> - - Remove long-obsolete MPW support. - * mpw-config.in, mpw-make.sed, mac-as.r: Remove files. - * configure.in: Remove mention of ppc-*-mpw* config. - * configure.in: Likewise. - -2004-03-30 Nick Clifton <nickc@redhat.com> - - * config/tc-arm.c (meabi_flags): Make its use conditional upon - OBJ_ELF being defined. - -2004-03-27 Alan Modra <amodra@bigpond.net.au> - - * config/obj-aout.c (obj_aout_type): Remove #ifdef BFD_ASSEMBLER code. - -2004-03-23 Paul Brook <paul@codesourcery.com> - - * config/tc-arm.c (meabi_flags): New variable. - (arm_parse_eabi): New function. - (md_begin): Set flags for EABI v3. - (arm_eabis): Add. - (arm_long_opts): Add meabi. - * doc/as.texinfo <ARM>: Document -meabi. - * doc/c-arm.texi: Ditto. - -2004-03-22 Bob Wilson <bob.wilson@acm.org> - - * config/tc-xtensa.c (xtensa_post_relax_hook): Create literal - tables even when use_literal_section flag is not set. - -2004-03-22 Alan Modra <amodra@bigpond.net.au> - - * config/tc-sh.c: Remove trailing whitespace. - -2004-03-22 Hans-Peter Nilsson <hp@axis.com> - - * doc/c-cris.texi (CRIS-Opts): Document --no-mul-bug-abort, - --mul-bug-abort and the default behavior. - * config/tc-cris.c (cris_insn_kind): New member CRIS_INSN_MUL. - (err_for_dangerous_mul_placement): New variable. - (STATE_MUL, OPTION_MULBUG_ABORT_ON, OPTION_MULBUG_ABORT_OFF): New - macros. - (md_cris_relax_table): Have placeholder for STATE_MUL. - (md_longopts): New options --mul-bug-abort and --no-mul-bug-abort. - (cris_relax_frag) <case ENCODE_RELAX (STATE_MUL, STATE_BYTE)>: New - case doing nothing. - (md_estimate_size_before_relax) <case ENCODE_RELAX (STATE_MUL, - STATE_BYTE)>: Ditto. - (md_convert_frag) <ENCODE_RELAX (STATE_MUL, STATE_BYTE)>: Check - alignment and position of this frag, emit error message if - suspicious. - (md_assemble): For a multiply insn and when checking it, - transform the current frag into a special frag for that purpose. - (md_parse_option) <case OPTION_MULBUG_ABORT_OFF, case - OPTION_MULBUG_ABORT_ON>: Handle new options. - -2004-03-19 Bob Wilson <bob.wilson@acm.org> - - * config/tc-xtensa.c (mark_literal_frags): New function. - (xtensa_move_literals): Call mark_literal_frags for all literal - segments, including init and fini literal segments. - (xtensa_post_relax_hook): Swap use of xt_insn_sec and xt_literal_sec. - -2004-03-19 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - * tc-hppa.c (cons_fix_new_hppa): Check for PC relative base type. - (pa_comm): Set BSF_OBJECT in symbol flags. - -2004-03-19 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - * doc/Makefile.in: Regenerate. - * config.in: Regenerate. - * po/gas.pot: Regenerate. - -2004-03-18 Nathan Sidwell <nathan@codesourcery.com> - - * read.c (read_a_source_file): Use demand_empty_rest_of_line. - (demand_empty_rest_of_line): Issue an error here. - (ignore_rest_of_line): Silently skip to end. - (demand_copy_string): Issue an error, not warning. - (equals): Likewise. - * config/obj-elf.c (obj_elf_section_name): Likewise. - (obj_elf_section): Likewise. - * config/tc-arc.c (arc_extoper): Remove bogus NULL checks. - (arc_extinst): Likewise. - * config/tc-ia64.c (dot_saveb): Use demand_empty_rest_of_line. - (dot_spill): Likewise. - (dot_unwabi): Likewise. - (dot_prologue): Likewise. - - * expr.c (operand): Reject ++ and --. - (operator): Likewise. - -2004-03-17 Kaz Kojima <kkojima@rr.iij4u.or.jp> - - * config/tc-sh.c: Include dw2gencfi.h. - (sh_cfi_frame_initial_instructions): New function. - (sh_regname_to_dw2regnum): Likewise. - * config/tc-sh.h (DWARF2_LINE_MIN_INSN_LENGTH): Move to the end of - file. - (TARGET_USE_CFIPOP): Define. - (tc_cfi_frame_initial_instructions): Likewise. - (tc_regname_to_dw2regnum): Likewise. - (DWARF2_DEFAULT_RETURN_COLUMN, DWARF2_CIE_DATA_ALIGNMENT): Likewise. - * Makefile.am: Update dependencies. - * Makefile.in: Regenerate. - -2004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de> - - * configure.in: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*. - * configure: Regenerate. - -2004-03-12 Bob Wilson <bob.wilson@acm.org> - - * read.c (s_leb128): Call md_flush_pending_output. - -2004-03-12 Michal Ludvig <mludvig@suse.cz> - - * config/tc-i386.c (output_insn): Handle PadLock instructions. - * config/tc-i386.h (CpuPadLock): New define. - (CpuUnknownFlags): Added CpuPadLock. - -2004-03-07 Andreas Schwab <schwab@suse.de> - - * doc/c-hppa.texi (HPPA Directives): Fix typo. - -2004-03-07 Richard Henderson <rth@redhat.com> - - * dw2gencfi.c (output_cie): Align length to 4 byte boundary. - (cfi_finish): Likewise for fde. - -2004-03-05 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-ia64.c (md_assemble): Properly handle NULL - align_frag. - (ia64_handle_align): Don't abort if failed to add a stop bit. - -2004-03-04 H.J. Lu <hongjiu.lu@intel.com> - - * Makefile.in: Regenerated. - * aclocal.m4: Likewise. - * configure: Likewise. - * doc/Makefile.in: Likewise. - -2004-03-03 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-ia64.c (dot_align): New. - (ia64_do_align): Make it static. - (md_pseudo_table): Use "dot_align" for "align". - (ia64_md_do_align): Don't set align_frag here. - (ia64_handle_align): Add a stop bit to the previous bundle if - needed. - - * config/tc-ia64.h (ia64_do_align): Removed. - -2003-03-03 Andrew Stubbs <andrew.stubbs@superh.com> - - * config/tc-sh.c (md_parse_option): Add -isa=sh4-nofpu and - -isa=sh4-nommu-nofpu options. Adjust help messages accordingly. - (sh_elf_final_processing): Output BFD type sh4_nofpu if that is - the most general type or the user specifically requested it. - (md_assemble): Add a new error message for when an instruction - is understood, but is not allowed due to an -isa option. - -2004-03-02 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-ia64.c (align_frag): New. - (md_assemble): Set the tc_frag_data field in align_frag for - IA64_OPCODE_FIRST instructions. - (ia64_md_do_align): Set align_frag. - (ia64_handle_align): Add a stop bit if needed. - - * config/tc-ia64.h (TC_FRAG_TYPE): New. - (TC_FRAG_INIT): New. - -2004-03-01 Richard Sandiford <rsandifo@redhat.com> - - * config/tc-frv.c (fr400_audio): New variable. - (md_parse_option, md_show_usage): Add -mcpu=fr405 and -mcpu=fr450. - (md_parse_option): Set fr400_audio for -mcpu=fr400 and -mcpu=fr405. - (target_implements_insn_p): New function. - (md_assemble): Report an error if the processor doesn't implement - the instruction. - -2004-02-27 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> - - * config/tc-m32r.c (md_longopts): Added -no-bitinst option. - (md_parse_option): Ditto. - (OPTION_NO_SPECIAL_M32R): Added. - (md_show_usage): Document it. - (enable_speial_m32r): Changed a default value from 0 to 1. - * doc/c-m32r.texi: Document the -no-bitinst option. - -2004-02-27 Nick Clifton <nickc@redhat.com> - - * config/tc-sh.c (get_operand): Revert previous delta. - (tc_gen_reloc): Check for an unknown reloc type before processing - the addend. - -2004-02-27 Hannes Reinecke <hare@suse.de> - - * config/tc-s390.c (s390_insn): Correct range check for opcode in - .insn pseudo operation. - -2004-02-27 Anil Paranjpe <anilp1@kpitcummins.com> - - * config/tc-sh.c (get_operand): In case of #Imm, check has been - added for wrong syntax. - -2004-02-26 Eric Christopher <echristo@redhat.com> - - * config/tc-mips.c (mips_dwarf2_addr_size): New. - * config/tc-mips.h (DWARF2_ADDR_SIZE): Use. - -2004-02-26 Andrew Stubbs <andrew.stubbs@superh.com> - - * config/tc-sh.c (build_Mytes): Add REG_N_D and REG_N_B01 - nibble types to assembler. - -2004-02-25 Fred Fish <fnf@redhat.com> - - * config/tc-iq2000.c: Add missing \n\ in multiline string literal. - -2004-02-20 James E Wilson <wilson@specifixinc.com> - - * config/tc-ia64.c (slot_index): New arg before_relax. Use instead of - finalize_syms. - (fixup_unw_records): New arg before_relax. Pass to slot_index. - (ia64_estimate_size_before_relax): New. - (ia64_convert_frag): Pass 0 to fixup_unw_records. Add comment. - (generate_unwind_image): Pass 1 to fixup_unw_records. - * config/tc-ia64.h (ia64_estimate_size_before_relax): Declare. - (md_estimate_size_before_relax): Call ia64_estimate_size_before_relax. - -2004-02-19 Jakub Jelinek <jakub@redhat.com> - - * stabs.c (generate_asm_file): Avoid warning about use of - uninitialized variable. - -2004-02-18 David Mosberger <davidm@hpl.hp.com> - - * config/tc-ia64.c (ia64_flush_insns): In addition to prologue, - body, and endp, allow unwind records which do not have a "t" - (time/instruction) field. - -2004-02-17 Petko Manolov <petkan@nucleusys.com> - - * config/tc-arm.c (do_mav_dspsc_1): Correct offset of CRn. - (do_mav_dspsc_2): Likewise. - Fix accumulator registers move opcodes. - -2004-02-13 Hannes Reinecke <hare@suse.de> - Jakub Jelinek <jakub@redhat.com> - - * dwarf2dbg.c (get_filenum): Do not read beyond allocated memory. - -2004-02-10 Steve Ellcey <sje@cup.hp.com> - - * config/tc-ia64.h (ia64_frob_symbol): New declaration. - (tc_frob_symbol): New macro definition. - * config/tc-ia64.c (ia64_frob_symbol): New routine. - -2004-02-09 Daniel Jacobowitz <drow@mvista.com> - - * config/tc-arm.c (md_begin): Mark .note.gnu.arm.ident as - read-only. - -2004-02-09 Nathan Sidwell <nathan@codesourcery.com> - - * read.h (IGNORE_OPCODE_CASE): Do not define. Replace with ... - (TC_CASE_SENSITIVE): ... this. - * read.c: Replace IGNORE_OPCODE_CASE with TC_CASE_SENSITIVE. - * doc/internals.texi (TC_CASE_SENSITIVE): Document. - -2004-02-06 James E Wilson <wilson@specifixinc.com> - - * config/tc-ia64.c (dot_endp): Delete call to output_endp. - (generate_unwind_image): Re-add it here. - -2004-02-06 Nathan Sidwell <nathan@codesourcery.com> - - * dwarf2dbg.c (DWARF2_ADDR_SIZE): Remove trailing ';' - * read.h (SKIP_WHITESPACE): Turn into an expression. - * read.c (read_a_source_file): A pseudo is removed by having a - NULL handler. - -2004-02-05 James E Wilson <wilson@specifixinc.com> - - * config/tc-ia64.c (output_endp): New. - (count_bits): Delete. - (ia64_flush_insns, process_one_record, optimize_unw_records): Handle - endp unwind records. - (fixup_unw_records): Handle endp unwind records. Delete code for - shortening prologue regions not followed by a body record. - (dot_endp): Call add_unwind_entry to emit endp unwind record. - * config/tc-ia64.h (unw_record_type): Add endp. - -2004-02-03 James E Wilson <wilson@specifixinc.com> - - * config/tc-ia64.c (ia64_convert_frag): Call md_number_to_chars to - fill padding bytes with zeroes. - (emit_one_bundle): New locals last_ptr, end_ptr. Rewrite code that - sets unwind_record slot_number and slot_frag fields. - -2004-02-02 Maciej W. Rozycki <macro@ds2.pg.gda.pl> - - * config/tc-mips.c (add_got_offset_hilo): New function. - (macro): Use load_register() and add_got_offset_hilo() to load - constants instead of hardcoding code sequences throughout. - -2004-01-28 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-ia64.c (emit_one_bundle): Add proper indentation. - -2004-01-26 Bernardo Innocenti <bernie@develer.com> - - * config/tc-m68k.h (EXTERN_FORCE_RELOC): Handle m68k-uclinux specially, - like m68k-elf. - * config/tc-m68k.c (RELAXABLE_SYMBOL): Use EXTERN_FORCE_RELOC instead - of hard-coded test for TARGET_OS=elf. - -2004-01-24 Chris Demetriou <cgd@broadcom.com> - - * config/tc-mips.c (hilo_interlocks): Change definition - so that MIPS32, MIPS64 and later ISAs are included, along with - the already-included machines. Update comments. - -2004-01-23 Daniel Jacobowitz <drow@mvista.com> - - * config/tc-arm.c (tc_gen_reloc): Improve error message for - undefined local labels. - -2004-01-23 Richard Sandiford <rsandifo@redhat.com> - - * config/tc-mips.c (load_address, macro): Update comments about - NewABI GP relaxation. - -2004-01-23 Richard Sandiford <rsandifo@redhat.com> - - * config/tc-mips.c (macro_build): Remove place and counter arguments. - (mips_build_lui, macro_build_ldst_constoffset): Likewise. - (mips16_macro_build, macro_build_jalr): Remove counter argument. - (set_at, load_register, load_address, move_register): Likewise. - (load_got_offset, add_got_offset): Likewise. - Update all calls and tidy accordingly. - -2004-01-23 Richard Sandiford <rsandifo@redhat.com> - - * config/tc-mips.c (RELAX_ENCODE): Remove WARN argument. - (RELAX_FIRST, RELAX_SECOND): Turn into 8-bit quantities. - (RELAX_USE_SECOND): Bump to 0x10000. - (RELAX_SECOND_LONGER, RELAX_NOMACRO, RELAX_DELAY_SLOT): New flags. - (mips_macro_warning): New variable. - (md_assemble): Wrap macro expansion in macro_start() and macro_end(). - (s_cpload, s_cpsetup, s_cprestore, s_cpreturn): Likewise. - (relax_close_frag): Set mips_macro_warning.first_frag. Adjust use - of RELAX_ENCODE. - (append_insn): Update mips_macro_warning.sizes. - (macro_start, macro_warning, macro_end): New functions. - (macro_build): Don't emit warnings here. - (macro_build_lui, md_estimate_size_before_relax): ...or here. - (md_convert_frag): Check for cases where one macro alternative - needs a warning and the other doesn't. Emit a warning if the - longer sequence was chosen. - -2004-01-23 Richard Sandiford <rsandifo@redhat.com> - - * config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): Remove. - * config/tc-mips.c (RELAX_ENCODE): Take three arguments: the size of - the first sequence, the size of the second sequence, and a flag - that says whether we should warn. - (RELAX_OLD, RELAX_NEW, RELAX_RELOC[123]): Delete. - (RELAX_FIRST, RELAX_SECOND): New. - (mips_relax): New variable. - (relax_close_frag, relax_start, relax_switch, relax_end): New fns. - (append_insn): Remove "place" argument. Use mips_relax.sequence - rather than "place" to check whether we're expanding the second - alternative of a relaxable macro. Remove redundant check for - branch relaxation. If generating a normal insn, and there - is not enough room in the current frag, call relax_close_frag() - to close it. Update mips_relax.sizes[]. Emit fixups for the - second version of a relaxable macro. Record the first relaxable - fixup in mips_relax. Remove tc_gen_reloc workaround. - (macro_build): Remove all uses of "place". Use mips_relax.sequence - in the same way as in append_insn. - (mips16_macro_build): Remove "place" argument. - (macro_build_lui): As for macro_build. Don't drop the add_symbol - when generating the second version of a relaxable macro. - (load_got_offset, add_got_offset): New functions. - (load_address, macro): Use new relaxation machinery. Remove - tc_gen_reloc workarounds. - (md_estimate_size_before_relax): Set RELAX_USE_SECOND if the second - version of a relaxable macro is needed. Return -RELAX_SECOND if the - first version is needed. - (tc_gen_reloc): Remove relaxation handling. - (md_convert_frag): Go through the fixups for a relaxable macro and - mark those that belong to the unneeded alternative as done. If the - second alternative is needed, adjust the fixup addresses to account - for the deleted first alternative. - -2004-01-23 Richard Sandiford <rsandifo@redhat.com> - - * frags.h (frag_room): Declare. - * frags.c (frag_room): New function. - * doc/internals.texi: Document it. - -2004-01-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> - - * config/tc-mips.c (append_insn): Don't do r3900 interlock - optimization for -mtune=r3900, as this will break on other CPUs. - -2004-01-11 Tom Rix <tcrix@worldnet.att.net> - - * config/tc-m68hc11.c (build_indexed_byte): movb and movw cannot - be relaxed, use fixup. - (md_apply_fix3): Use 5 bit reloc from movb and movw fixup. - -2004-01-19 Jakub Jelinek <jakub@redhat.com> - - * config/tc-sparc.c (sparc_ip): Disallow %f32-%f63 for single - precision operands. - -2004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl> - - * config/tc-mips.c (append_insn): Properly detect variant frags - that preclude swapping of relaxed branches. Correctly swap - instructions between frags when dealing with relaxed branches. - -2004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl> - - * acinclude.m4: Quote names of macros to be defined by AC_DEFUN - throughout. - * aclocal.m4: Regenerate. - * configure: Regenerate. - -2004-01-12 Anil Paranjpe <anilp1@KPITCummins.com> - - * config/tc-h8300.c (build_bytes): Apply relaxation to bit - manipulation insns. - -2004-01-12 Richard Sandiford <rsandifo@redhat.com> - - * config/tc-mips.c (macro_build_jalr): When adding an R_MIPS_JALR - reloc, reserve space for the delay slot as well as the jalr itself. - -2004-01-09 Paul Brook <paul@codesourcery.com> - - * config/tc-arm.c (do_vfp_reg2_from_sp2): Rename from do_vfp_sp_reg2. - (do_vfp_sp2_from_reg2): New function. - (insns): Use them. - (do_vfp_dp_from_reg2): Check return values properly. - -2004-01-08 Ian Lance Taylor <ian@wasabisystems.com> - - * config/tc-mips.c (warn_nops): Remove static variable. - (macro): Remove test of warn_nops. - (md_shortops): Remove 'n'. - (md_parse_option): Remove 'n' case. - (md_show_usage): Remove -n. - * doc/as.texinfo (Overview): Remove MIPS -n option. - * doc/c-mips.texi (MIPS Opts): Remove mention -n. - * NEWS: Mention removal of MIPS -n option. - - * config/tc-mips.c (ISA_HAS_COPROC_DELAYS): Remove. - (cop_interlocks): Check ISA level. - (cop_mem_interlocks): Define. - (reg_needs_delay): Check cop_interlocks rather than - ISA_HAS_COPROC_DELAYS. - (append_insn): Likewise. Use cop_mem_interlocks rather than - directly checking mips_opts.isa. - (mips_emit_delays): Likewise. - -2004-01-07 H.J. Lu <hongjiu.lu@intel.com> - - * config/tc-ia64.c (unwind): Move next_slot_number and - next_slot_frag to ... - (unw_rec_list): Here. - (free_list_records): Removed. - (output_unw_records): Likewise. - (generate_unwind_image): Make it void. - (alloc_record): Initialize next_slot_number and next_slot_frag. - (slot_index): Take .org, .space and .align into account. - (fixup_unw_records): Don't set slot_number to 0. Use - list->next_slot_number and list->next_slot_frag instead of - unwind.next_slot_number and unwind.next_slot_frag. - (ia64_convert_frag): New. - (generate_unwind_image): Generate a rs_machine_dependent frag - for unwind record. - (emit_one_bundle): Use list->next_slot_number and - list->next_slot_frag instead of unwind.next_slot_number and - unwind.next_slot_frag. - - * config/tc-ia64.h (md_convert_frag): Defined as - ia64_convert_frag. - (md_estimate_size_before_relax): Defined as (f)->fr_var. - -2004-01-06 Alexandre Oliva <aoliva@redhat.com> - - 2003-12-19 Alexandre Oliva <aoliva@redhat.com> - * config/tc-frv.h (md_apply_fix3): Don't define. - * config/tc-frv.c (md_apply_fix3): New. Shift/truncate %hi/%lo - operands. - * config/tc-frv.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define. - 2003-10-07 Alexandre Oliva <aoliva@redhat.com> - * config/tc-frv.c (line_separator_chars): Add `!'. - 2003-09-19 Alexandre Oliva <aoliva@redhat.com> - * config/tc-frv.c (md_assemble): Clear insn upfront. - 2003-09-18 Alexandre Oliva <aoliva@redhat.com> - * config/tc-frv.c (OPTION_FDPIC): New macro. - (md_longopts): Add mfdpic. - (md_parse_option): Handle it. - 2003-08-04 Alexandre Oliva <aoliva@redhat.com> - * config/tc-frv.c (md_cgen_lookup_reloc) <FRV_OPERAND_D12, - FRV_OPERAND_S12>: Use reloc type encoded in fix-up. - (frv_pic_ptr): Parse funcdesc. - -2004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl> - - * doc/as.texinfo: Let texi2pod parse asconfig.texi and - gasver.texi. Remove duplicate symbol definitions for texi2pod. - -2004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl> - - * Makefile.am (Makefile): Move the dependency on - $(BFDDIR)/configure.in to... - (CONFIG_STATUS_DEPENDENCIES): ... here. - (AUTOMAKE_OPTIONS): Require automake 1.8. - * Makefile.in: Regenerate. - * doc/Makefile.am (BASEDIR, BFDDIR): Define. - (CONFIG_STATUS_DEPENDENCIES): Add a dependency on - $(BFDDIR)/configure.in here as well. - * doc/Makefile.in: Regenerate. - -2004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl> - - * Makefile.am (install, install-info, RECURSIVE_TARGETS): Remove. - * Makefile.in: Regenerate. - * aclocal.m4: Regenerate. - * doc/Makefile.am (install, install-info): Remove. - (install-data-local): A new hook for install-info. - (AUTOMAKE_OPTIONS): Require automake 1.8. - * doc/Makefile.in: Regenerate. - -2004-01-02 Nutan Singh <nutan@kpitcummins.com> - - * doc/c-sh.texi: Update description about floating point behavior - of SH family. - -2004-01-02 Bernardo Innocenti <bernie@develer.com> - - * configure.in: Add m68k-uClinux target. - * configure: Regenerate. - -For older changes see ChangeLog-0203 +For older changes see ChangeLog-2005 Local Variables: mode: change-log diff --git a/gas/ChangeLog-2004 b/gas/ChangeLog-2004 new file mode 100644 index 0000000..f4592ca --- /dev/null +++ b/gas/ChangeLog-2004 @@ -0,0 +1,2687 @@ +2004-12-29 Alan Modra <amodra@bigpond.net.au> + + PR gas/619 + * read.c (s_comm_internal): Don't zero end of name until size + expression has been parsed. + +2004-12-25 Marek Michalkiewicz <marekm@amelek.gda.pl> + + * config/tc-avr.c (mcu_types): Move attiny{13,2313} from avr4 to avr2. + +2004-12-23 Tomer Levi <Tomer.Levi@nsc.com> + + * config/tc-crx.c: Support 'bcop' relaxation (dealt as in 'cmp&branch' + case). + +2004-12-22 Ian Lance Taylor <ian@airs.com> + + * configure.tgt: New. + * configure.in: Move setting of cpu_type, fmt, etc., to + configure.tgt. + * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Add + $(srcdir)/configure.tgt. + * configure, Makefile.in: Rebuild. + +2004-12-22 Klaus Rudolph <lts-rudolph@gmx.de> + + * config/tc-avr.c: Add support for the new R_AVR_LDI, R_AVR_6 and + R_AVR_6_ADIW relocs for the LDI, ADIW/SBIW and LDD/STD + instructions. + (avr_offset_expression): New function to parse offsets for LDI + instructions. + (avr_operand): Use it. + (md_apply_fix3): Generate the relocs. + +2004-12-16 Andrew Stubbs <andrew.stubbs@st.com> + + * config/tc-sh64.c (shmedia_md_apply_fix3): Add missing + BFD_RELOC_SH_IMMS10BY8 relocation. + + * config/tc-sh64.c (shmedia_build_Mytes): Emit an error message rather + than just ignoring bad code. + +2004-12-16 Richard Sandiford <rsandifo@redhat.com> + + * config/tc-v850.c (handle_lo16): New function. + (v850_reloc_prefix): Use it to check lo(). + (md_assemble, md_apply_fix3): Handle BFD_RELOC_V850_LO16_SPLIT_OFFSET. + +2004-12-14 P.J. Darcy <darcypj@us.ibm.com> + + * configure.in: Add s390x-ibm-tpf support. + * configure: Regenerate. + +2004-12-15 Jan Beulich <jbeulich@novell.com> + + * config/obj-elf.c (obj_elf_change_section): Only set type and + attributes on new sections. Emit warning when type of re-declared + section doesn't match. + +2004-12-15 Jan Beulich <jbeulich@novell.com> + + * dw2gencfi.c (dot.cfi.startproc): Clear cur_cfa_offset so + '.cfi_startproc simple' doesn't inherit the old value. + +2004-12-15 Jan Beulich <jbeulich@novell.com> + + * dw2gencfi.c (output_cfi_insn): Adjust DW_CFA_def_cfa_sf generation + to emit a signed and factored offset. Adjust DW_CFA_def_cfa_offset_sf + generation to emit a factored offset. + +2004-12-10 Ian Lance Taylor <ian@wasabisystems.com> + + * config/tc-mips.c (macro) [M_LA_AB]: Give an error for a offset + which is too large in the case of NO_PIC without 64-bit + addresses. + + * config/tc-mips.c (mips_in_shared): New static variable. + (macro_build_lui): Permit "_gp" if !mips_in_shared. + (md_longopts): Add -mshared and -mno-shared. + (md_parse_option): Handle OPTION_MSHARED and OPTION_MNO_SHARED. + (s_cpload): Implement !mips_in_shared case. + (s_cpsetup): Likewise. + * doc/c-mips.texi (MIPS Opts): Document -mno-shared. + * NEWS: Mention -mno-shared. + +2004-12-09 Paul Brook <paul@codesourcery.com> + + * config/tc-arm.c (s_arm_unwind_fnend): Use R_ARM_PREL31 relocation + for function start. + +2004-12-09 Ian Lance Taylor <ian@wasabisystems.com> + + * config/tc-mips.c (append_insn): If we emit a nop during a relax + sequence, increase the size of the sequence. + + * config/tc-mips.c (mips_cpu_info_table): Change "9000" entry to + use CPU_RM9000. + +2004-12-07 Ben Elliston <bje@gnu.org> + + * read.c (s_align): Use an align_limit temporary to allay a GCC + signed/unsigned comparison warning. + +2004-12-01 Mark Mitchell <mark@codesourcery.com> + + * Makefile.am (TARG_ENV_HFILES): Add te-armlinuxeabi.h. + * configure.in: Use it for arm*-*-linux-gnueabi*. + * config/tc-arm.c: Allow emulation file to set FPU_DEFAULT. + * config/te-armlinuxeabi.h: New file. + * Makefile.in: Regenerated. + * aclocal.m4: Likewise. + * configure: Likewise. + * doc/Makefile.in: Regenerated. + +2004-12-02 Bob Wilson <bob.wilson@acm.org> + + * config/tc-xtensa.c (xtensa_switch_section_emit_state): Use subseg_set. + (xtensa_restore_emit_state): Likewise. + +2004-12-02 Alan Modra <amodra@bigpond.net.au> + + * read.c (ALIGN_LIMIT): Define, increasing limit for BFD_ASSEMBLER. + (s_align): Use it. + +2004-11-30 Tero Niemela <tero_niemela@yahoo.com> + + * Makefile.am: Change LOCALEDIR to $(datadir)/share. + * Makefile.in: Regenerate. + +2004-11-29 Tomer Levi <Tomer.Levi@nsc.com> + + * config/tc-crx.c: Major code cleanup. Remove unused variables and + functions, give functions a meaningful name, add comments. + (check_range): New function - Replace operand size calculation + with range checking. + (assemble_insn): Update Algorithm, improve error issuing. + (enum op_err): New. + (process_label_constant): Bug fix regarding COP_BRANCH_INS relocation + handling. + +2004-11-29 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> + + * config/tc-m32r.c (md_pcrel_from_section): Fixed a pcrel relocte + miss between different section in the same module. + (tc_gen_reloc): Likewise. + +2004-11-25 Theodore A. Roth <troth@openavr.org> + + * gas/config/tc-avr.c (mcu_types): Add support for atmega165, + atmega325, atmega3250, atmega645 and atmega6450. + +2004-11-25 Jan Beulich <jbeulich@novell.com> + + * config/tc-i386.c (optimize_imm): Adjust immediates to only those + permissible for the selected instruction suffix. + (process_suffix): For DefaultSize instructions, suppressing the + guessing of a 'q' suffix if the instruction doesn't support it is + pointless, because only an 'l' suffix can be guessed in this place. + +2004-11-24 Nick Clifton <nickc@redhat.com> + + * config/tc-iq2000.c: Remove support for IQ10 processor. + Convert to ISO C90 formatting. + * config/tc-iq2000.h: Likewise. + +2004-11-23 Nick Clifton <nickc@redhat.com> + + * config/tc-mn10300.c (md_relax_table): More fixes to the offsets + in this table. They should be correct now. + +2004-11-23 Jan Beulich <jbeulich@novell.com> + + * config/tc-i386.h (CpuMMX2): Declare. Artificial classifier to + indicate the MMX extensions added by both SSE and 3DNow!A. + (Cpu3dnowA): Declare. + (CpuUnknownFlags): Update. + * config/tc-i386.c (cpu_sub_arch_name): Declare. + (cpu_arch): i586 and pentium do not imply MMX. i686 and pentiumpro do + neither imply SSE nor MMX. k6 implies MMX. k6_2 additionally implies + 3DNow!. Athlon additionally implies 3DNow!A. Several new + entries (those starting with a dot are for sub-arch specification). + (set_cpu_arch): Handle sub-arch specifications. + (parse_insn): Distinguish between instructions not supported because + of insufficient CPU features and because of 64-bit mode. + * doc/c-i386.texi: Describe enhanced .arch directive. + +2004-11-22 Bob Wilson <bob.wilson@acm.org> + + * config/tc-xtensa.c (xg_add_opcode_fix): Set fx_no_overflow. + +2004-11-22 Bob Wilson <bob.wilson@acm.org> + + * dwarf2dbg.c (dwarf2_finish): Don't write a .debug_line section + without a corresponding .debug_info section. + +2004-11-22 Hans-Peter Nilsson <hp@axis.com> + + * read.c (potable): Add "error" and "warning". + (s_errwarn): New function. + * read.h (s_errwarn): Declare. + * doc/as.texinfo (Error, Warning): Document .error and .warning. + +2004-11-22 Nick Clifton <nickc@redhat.com> + + * config/tc-tic54x.c (tic54x_adjust_symtab): Adjust call to + c_dot_file_symbol. + +2004-11-19 Alan Modra <amodra@bigpond.net.au> + + * config/tc-msp430.c (struct rcodes_s, MSP430_RLC, msp430_rcodes, + struct hcodes_s, msp430_hcodes): From include/opcode/msp430.h. + +2004-11-19 Alan Modra <amodra@bigpond.net.au> + + * config/obj-coff.c (c_dot_file_symbol): Add "app" param. + (coff_adjust_symtab): Adjust call. + (crawl_symbols): Likewise. + * config/obj-coff.h (c_dot_file_symbol): Add "app" param. + (obj_app_file): Adjust. + +2004-11-18 Inderpreet Singh <inderpreetb@nioda.hcltech.com> + + * configure.in: Enable bfd_assember for the MAXQ port. + * configure: Regenerate. + +2004-11-12 Bob Wilson <bob.wilson@acm.org> + Sterling Augustine <sterling@tensilica.com> + + * config/tc-xtensa.c (finish_vinsn): Clear pending instruction if + there is a conflict. + (check_t1_t2_reads_and_writes): Check for both reads and writes to + interfaces that are related as determined by xtensa_interface_class_id. + +2004-11-12 Nick Clifton <nickc@redhat.com> + + * config/tc-mn10300.c (md_relax_table): Fix off by one negative + offsets for conditional branches. + +2004-11-11 Bob Wilson <bob.wilson@acm.org> + + * config/tc-xtensa.c (MAX_IMMED6): Change value to 65. + +2004-11-10 Bob Wilson <bob.wilson@acm.org> + + * config/tc-xtensa.c (update_next_frag_state): Always add a NOP if + relaxing at the end of a loop. Don't mark frags as UNREACHABLE or + MAYBE_UNREACHABLE. + (relax_frag_immed): Update call to update_next_frag_state. + +2004-11-10 Alan Modra <amodra@bigpond.net.au> + + * obj.h (struct format_ops <app_file>): Add int param. + * read.h (s_app_file_string): Likewise. + * read.c (s_app_file_string): Likewise. + (s_app_file): Adjust s_app_file_string call. + * config/tc-mips.c (s_mips_file): Likewise. + * config/obj-coff.h (obj_app_file): Add app param. + * config/obj-ecoff.h (obj_app_file): Likewise. + * config/obj-multi.h (obj_app_file): Likewise. + * config/obj-elf.h (elf_file_symbol): Likewise. + * config/obj-elf.c (elf_file_symbol): Only emit one file symbol + if called for # preprocessor lines. + +2004-11-08 H.J. Lu <hongjiu.lu@intel.com> + + PR 528 + * symbols.c (resolve_symbol_value): Convert weak symbols only + for Windows PECOFF. + (symbol_equated_reloc_p): Don't equate weaks when relocating + only for Windows PECOFF. + +2004-11-08 Tomer Levi <Tomer.Levi@nsc.com> + + * config/tc-crx.c (print_insn): Check and set insn_addr. + * config/tc-crx.h (md_frag_check): Define. + +2004-11-08 Inderpreet Singh <inderpreetb@nioda.hcltech.com> + Vineet Sharma <vineets@noida.hcltech.com> + + * configure.in: Add support for new target maxq-coff. + * configure: Regenerate. + * NEWS: Mention new support. + * config/tc-maxq.c: New file. + * config/tc-maxq.h: New file. + * config/obj-coff.h: Add support for maxq-coff. + +2004-11-08 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> + + * symbols.c (any_external_name): Define. + (resolve_symbol_value): Convert weak symbols. + (S_SET_EXTERNAL): Support any_external_name. + (S_SET_NAME): Qualify parameter const. + (symbol_equated_reloc_p): Equate to weaks when relocating. + * symbols.h (S_SET_NAME): Qualfiy parameter const. + * tc.h (any_external_name): Declare. + * config/obj-coff.c ("coff/pe.h"): Include for BFD + assemblers also. + (weak_is_altname): Declare and define. + (weak_name2altname): Same. + (weak_altname2name): Same. + (weak_uniquify): Same. + (weak_altprefix): Define. + (obj_coff_weak): Change .weak syntax and handling. + (coff_frob_symbol): Fix PE weak symbol alternates. + * config/obj-coff.h (USE_UNIQUE): Define. + * config/tc-i386.c (md_apply_fix3): Assume weak symbols + are in another segment. + (tc_gen_reloc): Remove broken addend hack. + doc/as.texinfo: Update. + +2004-11-05 Sterling Augustine <sterling@tensilica.com> + + * config/tc-xtensa.c (total_frag_text_expansion): New. + (md_estimate_size_before_relax): Use it. + (find_address_of_next_align_frag): Likewise. + +2004-11-05 Tomer Levi <Tomer.Levi@nsc.com> + + * config/tc-crx.c: Rename argument types. + (processing_arg_number): Rename to 'cur_arg_num'. + (get_number_of_bits): Rename to 'set_operand_size'. + (get_operandtype): Rename to 'parse_operand', totally rewrite. + (set_cons_rparams): Rename to 'set_operand', totally rewrite. + (set_indexmode_parameters): Remove function, integrate its code into + 'set_operand'. + (set_operand_size): Get rid of 'Operand Number' function parameter - + use global variable 'cur_arg_num' instead. + Use a local 'argument' pointer to reference the current argument. + (parse_operand): Likewise. + (set_operand): Likewise. + (process_label_constant): Likewise. + +2004-11-04 Bob Wilson <bob.wilson@acm.org> + + * config/tc-xtensa.c: Remove XTENSA_SECTION_RENAME ifdefs. + (add_section_rename): Delete. Inlined into... + (build_section_rename): ...here. Use xstrdup instead of strdup. + (xtensa_section_rename): Drop "const" from argument and return types. + (md_show_usage): Indent to match show_usage(). + * config/tc-xtensa.h: Remove XTENSA_SECTION_RENAME ifdefs. + (tc_canonicalize_section_name): Define. + (md_elf_section_rename): Remove unused macro. + * doc/as.texinfo (Overview): Document Xtensa --rename-section option. + * doc/c-xtensa.texi (Xtensa Options): Likewise. + (Frame Directive): Delete. + +2004-11-04 Daniel Jacobowitz <dan@debian.org> + + * configure.in: Remove arm-*-oabi and thumb-*-oabi. + * config/tc-arm.c (target_oabi): Delete. + (md_apply_fix3, elf32_arm_target_format): Remove target_oabi checks. + (arm_opts): Remove moabi. + * doc/as.texinfo (Overview): Remove documentation of -moabi. + * doc/c-arm.texi (ARM Options): Likewise. + * configure: Regenerated. + +2004-11-04 Hans-Peter Nilsson <hp@axis.com> + + * configure.in (crisv32): Recognize. AC_DEFINE_UNQUOTED + DEFAULT_CRIS_ARCH. Handle crisv32-*-linux-gnu* like + cris-*-linux-gnu* and crisv32-*-* like cris-*-*. + * configure: Regenerate. + * config/tc-cris.c (enum cris_archs): New. + (cris_mach, cris_arch_from_string, s_cris_arch, get_sup_reg) + (cris_insn_ver_valid_for_arch): New functions. + (DEFAULT_CRIS_ARCH): New macro, default to cris_any_v0_v10. + (cris_arch): New variable. + (md_pseudo_table): New pseudo .arch. + (err_for_dangerous_mul_placement): Initialize according to + DEFAULT_CRIS_ARCH. + (STATE_COND_BRANCH): Renamed from STATE_CONDITIONAL_BRANCH. + All users changed. + (STATE_COND_BRANCH_V32, STATE_COND_BRANCH_COMMON) + (STATE_ABS_BRANCH_V32, STATE_LAPC, BRANCH_BF_V32, BRANCH_BB_V32) + (BRANCH_WF_V32, BRANCH_WB_V32): New. + (BRANCH_BF, BRANCH_BB, BRANCH_WF, BRANCH_WB): Don't undef after + use in md_cris_relax_table. + (md_cris_relax_table): Add entries for STATE_COND_BRANCH_V32, + STATE_COND_BRANCH_COMMON, STATE_ABS_BRANCH_V32, STATE_LAPC. + Update and improve head comment. + (OPTION_PIC): Define in terms of previous option, OPTION_US. + (OPTION_MULBUG_ABORT_ON, OPTION_MULBUG_ABORT_OFF): Similar. + (OPTION_ARCH): New. + (md_longopts): New option --march=... + (cris_any_v0_v10_long_jump_size, crisv32_long_jump_size): New + macros. + (md_long_jump_size): Initialize in terms of DEFAULT_CRIS_ARCH. + (HANDLE_RELAXABLE): New macro. + (md_estimate_size_before_relax): Use HANDLE_RELAXABLE for common + cases. Check for weak symbols and assume not relaxable. Handle + STATE_COND_BRANCH_V32, STATE_COND_BRANCH_COMMON, + STATE_ABS_BRANCH_V32, STATE_LAPC. Use new variable symbolP, not + fragP->fr_symbol. + (md_convert_frag): Handle STATE_COND_BRANCH_V32, + STATE_COND_BRANCH_COMMON, STATE_ABS_BRANCH_V32, STATE_LAPC. + (cris_create_short_jump): Adjust for CRISv32. + (cris_relax_frag): Handle new states. + (md_create_long_jump): Ditto. Emit error for common_v10_v32. + (md_begin): Define symbols "..asm.arch.cris.v32", + "..asm.arch.cris.v10", "..asm.arch.cris.common_v10_v32" and + "..asm.arch.cris.any_v0_v10". Use cris_insn_ver_valid_for_arch + when entering opcode table entry points. + (md_assemble): Adjust branch handling for CRISv32. Handle LAPC + relaxation. In fix_new_exp call for main insn, pass 1 for pcrel + parameter for 8, 16 and 32-bit pc-relative insns and LAPC. + (cris_process_instruction): Initialize out_insnp->insn_type to + CRIS_INSN_NONE, not CRIS_INSN_NORMAL. + <case ']', '[', 'A', 'd', 'Q', 'N', 'n', 'Y', 'U', 'u', 'T'>: New + cases. + <case 'm'>: Check that modified_char == '.'. + <invalid operands>: Consume the rest of the line. + When operands don't match, skip over subsequent insns with + non-matching version specifier but same mnemonic. + <immediate constant, case SIZE_SPEC_REG>: Immediate operands for + special registers in CRISv32 are always 32 bit long. + <immediate constant, case SIZE_FIELD_SIGNED, SIZE_FIELD_UNSIGNED>: + New cases. + (get_gen_reg): Only recognize "PC" when followed by "+]" for v32 + and compatible. Recognize "ACR" for v32, unless followed by "+". + (get_spec_reg): Consider cris_arch when looking up register. + (get_autoinc_prefix_or_indir_op): Don't recognize assignment for + v32 or compatible. + (get_3op_or_dip_prefix_op): Check for ']' after seeing '[rN+'. + (cris_get_expression): Restore input_line_pointer if failing "early". + (get_flags): Consider cris_arch and recognize flags accordingly. + (branch_disp): Adjust for CRISv32. + (gen_cond_branch_32): Similar. Emit error for common_v10_v32. + (cris_number_to_imm): Use as_bad_where, not as_bad. Remove + related FIXME. Don't insist on BFD_RELOC_32_PCREL fixup to be + resolved. Don't enter zeros in object file for + BFD_RELOC_32_PCREL. + <case BFD_RELOC_CRIS_LAPCQ_OFFSET, BFD_RELOC_CRIS_SIGNED_16> + <case BFD_RELOC_CRIS_SIGNED_8>: New case. + (md_parse_option): Break out "return 1". + <OPTION_ARCH> New case. + (tc_gen_reloc): <case BFD_RELOC_CRIS_LAPCQ_OFFSET> + <case BFD_RELOC_CRIS_SIGNED_16, BFD_RELOC_CRIS_SIGNED_8> + <case BFD_RELOC_CRIS_UNSIGNED_8, BFD_RELOC_CRIS_UNSIGNED_16> + <case BFD_RELOC_32_PCREL>: New cases. + Addends for non-zero fx_pcrel are too in fx_offset. + (md_show_usage): Show --march=<arch>. + (md_apply_fix3): Adjust val for BFD_RELOC_CRIS_LAPCQ_OFFSET. + (md_pcrel_from): BFD_RELOC_CRIS_LAPCQ_OFFSET is PC-relative too. + (s_syntax) <struct syntaxes>: Properly constify member operand. + * config/tc-cris.h (TARGET_MACH): Define. + (cris_mach): Declare. + * doc/as.texinfo (Overview) <CRIS>: Add --march=... + * doc/c-cris.texi (CRIS-Symbols): New node for built-in symbols. + (CRIS-Opts): Document --march=... + (CRIS-Pseudos): Document .arch. + +2004-11-04 Jan Beulich <jbeulich@novell.com> + + * config/tc-i386.c (set_intel_syntax): Allow % in symbol names when + intel syntax and no register prefix, allow $ in symbol names when + intel syntax. + (set_16bit_gcc_code_flag): Replace literal 'l' by LONG_MNEM_SUFFIX. + (intel_float_operand): Add fourth return value indicating math control + operations. Make classification more precise. + (md_assemble): Complain if memory operand of mov[sz]x has no size + specified. + (parse_insn): Translate word operands to floating point instructions + operating on integers as well as control instructions to short ones + as expected by AT&T syntax. Translate 'd' suffix to short one only for + floating point instructions operating on non-integer operands. + (match_template): Remove fldcw special case. Adjust q-suffix handling + to permit it on fild/fistp/fisttp in AT&T mode. + (process_suffix): Don't guess DefaultSize insns' suffix from + stackop_size for certain floating point control instructions. Guess + suffix for branch and [ls][gi]dt based on flag_code. Split error + messages for Intel and AT&T syntax, and make the condition more strict + for the former. Adjust suppressing of generation of operand size + overrides. + (intel parser): Allow the full set of MASM operators. Add FWORD, TBYTE, + OWORD, and XMMWORD operand size specifiers (TBYTE replaces XWORD). Add + more error checking. + * config/tc-i386.h (BYTE_PTR WORD_PTR DWORD_PTR QWORD_PTR XWORD_PTR + SHORT OFFSET_FLAT FLAT NONE_FOUND): Remove unused defines. + +2004-11-03 Hans-Peter Nilsson <hp@axis.com> + + * symbols.c (colon) [!WORKING_DOT_WORD]: Don't declare + md_short_jump_size, md_long_jump_size. + * write.c [!WORKING_DOT_WORD]: Ditto. + * tc.h [!WORKING_DOT_WORD]: Declare them here. Drop const + qualifier. + * config/tc-cris.h (md_short_jump_size, md_long_jump_size): Don't + declare. + * config/tc-cris.c (md_short_jump_size, md_long_jump_size): Drop + const qualifier in these definitions. + * config/tc-i370.c, config/tc-m68k.c, config/tc-pdp11.c, + config/tc-s390.c, config/tc-tahoe.c, config/tc-vax.c: Ditto. + +2004-11-02 Nick Clifton <nickc@redhat.com> + + * dwarf2dbg.c (dwarf2_finish): Check for the existence of a file + table before deciding to produce a .debug_line section to match up + with a user provided .debug_info section. + +2004-10-28 Tomer Levi <Tomer.Levi@nsc.com> + + * config/tc-crx.c (getreg_image): Bug fix, a return value was + mistakenly omitted from CRX_C_REGTYPE and CRX_CS_REGTYPE cases. + +2004-10-27 Tomer Levi <Tomer.Levi@nsc.com> + + * config/tc-crx.c: Remove global variable 'post_inc_mode'. + (get_flags): New function. + (get_number_of_bits): Edit comments, update numeric values to + supported sizes. + (process_label_constant): Don't support the colon + format (SYMBOL:[s|m|l]). + (set_cons_rparams): Support argument type 'arg_rbase'. + (get_operandtype): Bug fix in 'rbase' operand type parsing. + (handle_LoadStor): Bug fix, first handle post-increment mode. + (getreg_image): Remove redundant code, update according to latest + CRX spec. + (print_constant): Bug fix relate to 3-word instructions. + (assemble_insn): Bug fix, when matching instructions, verify also + instruction type (not only mnemonic). + Add various error checking. + (preprocess_reglist): Support HI/LO and user registers. + +2004-10-25 David Mosberger-Tang <davidm@hpl.hp.com> + + * config/tc-ia64.c (fixup_unw_records): Don't let the "t" value + in an epilogue directive go negative. + +2004-10-25 H.J. Lu <hongjiu.lu@intel.com> + + PR 474 + * config/tc-ia64.c (emit_one_bundle): Decrement md.num_slots_in_use + after reporting template error during manual bundling. Reported + by Michael Dupont, michaelx.dupont@intel.com. + +2004-10-25 Daniel Jacobowitz <dan@debian.org> + + * Makefile.am: Run dep-am. + * aclocal.m4: Regenerate with automake 1.9.2. + * Makefile.in: Regenerate with automake 1.9.2. + * doc/Makefile.in: Likewise. + + * config/tc-arm.c: Include "dw2gencfi.h". + (tc_arm_regname_to_dw2regnum, tc_arm_frame_initial_instructions): + New functions. + * config/tc-arm.h (TARGET_USE_CFIPOP, DWARF2_DEFAULT_RETURN_COLUMN) + (DWARF2_CIE_DATA_ALIGNMENT, tc_regname_to_dw2regnum) + (tc_cfi_frame_initial_instructions): Define. + (tc_arm_regname_to_dw2regnum, tc_arm_frame_initial_instructions): + Add prototypes. + +2004-10-21 Tomer Levi <Tomer.Levi@nsc.com> + + * config/tc-crx.c (assemble_insn): Check unsigned immediate + operands validity. + Update coprocessor id to be unsigned immediate. + +2004-10-18 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> + + * config/tc-i386.c (O_secrel): Delete. + (tc_pe_dwarf2_emit_offset): New function. + * config/tc-i386.h (O_secrel): Define as O_md1. + (TC_DWARF2_EMIT_OFFSET): Define. + +2004-10-18 Nick Clifton <nickc@redhat.com> + + * config/tc-xstormy16.c (xstormy16_cons_fix_new): Accept and + ignore @fptr() directives for 4-byte fixups. + +2004-10-15 Alan Modra <amodra@bigpond.net.au> + + * Makefile.am: Run "make dep-am" + * Makefile.in: Regenerate. + +2004-10-14 Bob Wilson <bob.wilson@acm.org> + + * doc/c-xtensa.texi (Xtensa Options, Absolute Literals Directive): + Remove comments about placement of literal pools. + (Literal Directive): Update description of literal placement. + (Literal Prefix Directive): Remove statement that this does not apply + to absolute-mode literals. Describe new section naming scheme. + +2004-10-12 Bob Wilson <bob.wilson@acm.org> + + * config/tc-xtensa.c (xtensa_frequency_pseudo): Use set_subseg_freq. + (is_entry_opcode, is_movi_opcode, is_the_loop_opcode, is_jx_opcode, + is_windowed_return_opcode): Delete. + (xtensa_frob_label): Use get_subseg_target_freq. + (md_assemble): Inline call to is_entry_opcode. + (xtensa_handle_align): Inline call to get_frag_is_literal. + (relaxation_requirements): Inline call to is_jx_opcode. + (emit_single_op): Inline call to is_movi_opcode. + (xg_assemble_vliw_tokens): Inline calls to get_frag_is_insn, + get_frag_is_no_transform, is_entry_opcode, and + set_frag_is_specific_opcode. Use get_subseg_total_freq. + (xtensa_fix_a0_b_retw_frags, xtensa_fix_b_j_loop_end_frags, + xtensa_fix_close_loop_end_frags, relax_frag_immed, convert_frag_immed): + Inline calls to get_frag_is_no_transform. + (next_instrs_are_b_retw): Inline call to is_windowed_return_opcode. + (xtensa_fix_short_loop_frags): Inline calls to is_the_loop_opcode and + get_frag_is_no_transform. + (convert_frag_immed_finish_loop): Inline calls to get_expression_value + and set_frag_is_no_transform. + (get_expression_value): Delete. + (subseg_map struct): Rename cur_total_freq to total_freq. Rename + cur_target_freq to target_freq. + (get_subseg_info): Split out code to create a new map entry into ... + (add_subseg_info): ... this new function. + (get_last_insn_flags): Check if get_subseg_info succeeded. + (set_last_insn_flags): Call add_subseg_info if needed. + (get_subseg_total_freq, get_subseg_target_freq, set_subseg_freq): New. + (xtensa_reorder_segments): Compute last_sec while counting sections. + Remove call to get_last_sec. + (get_last_sec): Delete. + (cache_literal_section): Inline call to retrieve_literal_seg and its + callees, seg_present and add_seg_list. + (retrieve_literal_seg, seg_present, add_seg_list): Delete. + (get_frag_is_insn, get_frag_is_no_transform, + set_frag_is_specific_opcode, set_frag_is_no_transform): Delete. + * config/tc-xtensa.h (MAX_SLOTS): Reduce from 31 to 15. + +2004-10-12 Bob Wilson <bob.wilson@acm.org> + + * config/tc-xtensa.c: Use ISO C90 formatting. + * config/tc-xtensa.h: Likewise. + * config/xtensa-istack.h: Likewise. + * config/xtensa-relax.c: Likewise. + * config/xtensa-relax.h: Likewise. + +2004-10-12 Paul Brook <paul@codesourcery.com> + + * config/tc-arm.c (md_begin): Change EF_ARM_EABI_VER3 to + EF_ARM_EABI_VER4. + (arm_eabis): Ditto. + * doc/c-arm.texi: Document that we actually support -meabi=4, not + -meabi=3. + +2004-10-08 Bob Wilson <bob.wilson@acm.org> + + * doc/as.texinfo (VTableEntry, VTableInherit): Add "directive" to index + entries. + (Acknowledgements): Use "GAS" instead of AS variable. + +2004-10-08 Daniel Jacobowitz <dan@debian.org> + + * config/tc-i386.c: Include "elf/x86-64.h". + (i386_elf_section_type): New function. + * config/tc-i386.h (md_elf_section_type): Define. + (i386_elf_section_type): New prototype. + +2004-10-08 Linus Nielsen Feltzing <linus@haxx.se> + + * config/m68k-parse.h (enum m68k_register): New control register, + MBAR2 (for MCF5249) + * config/tc-m68k.c: Correct control register set for MCF5249. + +2004-10-07 Bob Wilson <bob.wilson@acm.org> + Sterling Augustine <sterling@tensilica.com> + + * config/tc-xtensa.c (absolute_literals_supported): New global flag. + (UNREACHABLE_MAX_WIDTH): Define. + (XTENSA_FETCH_WIDTH): Delete. + (cur_vinsn, xtensa_fetch_width, xt_saved_debug_type, past_xtensa_end, + prefer_const16, prefer_l32r): New global variables. + (LIT4_SECTION_NAME): Define. + (lit4_state struct): Add lit4_seg_name and lit4_seg fields. + (XTENSA_PROP_*, GET_XTENSA_PROP_*, SET_XTENSA_PROP_*): Define. + (frag_flags struct): New. + (xtensa_block_info struct): Move from tc-xtensa.h. Add flags field. + (subseg_map struct): Add cur_total_freq and cur_target_freq fields. + (bitfield, bit_is_set, set_bit, clear_bit): Define. + (MAX_FORMATS): Define. + (op_placement_info struct, op_placement_table): New. + (O_pltrel, O_hi16, O_lo16): Define. + (directiveE enum): Rename directive_generics to directive_transform. + Delete directive_relax. Add directive_schedule, + directive_absolute_literals, and directive_last_directive. + (directive_info): Rename "generics" to "transform". Delete "relax". + Add "schedule" and "absolute-literals". + (directive_state): Adjust entries to match changes in directive_info. + (xtensa_relax_statesE, RELAX_IMMED_MAXSTEPS): Move to tc-xtensa.h. + (xtensa_const16_opcode, xtensa_movi_opcode, xtensa_movi_n_opcode, + xtensa_l32r_opcode, xtensa_nop_opcode, xtensa_rsr_lcount_opcode): New. + (xtensa_j_opcode, xtensa_rsr_opcode): Delete. + (align_only_targets, software_a0_b_retw_interlock, + software_avoid_b_j_loop_end, maybe_has_b_j_loop_end, + software_avoid_short_loop, software_avoid_close_loop_end, + software_avoid_all_short_loops, specific_opcode): Delete. + (warn_unaligned_branch_targets): New. + (workaround_a0_b_retw, workaround_b_j_loop_end, workaround_short_loop, + workaround_close_loop_end, workaround_all_short_loops): Default FALSE. + (option_[no_]link_relax, option_[no_]transform, + option_[no_]absolute_literals, option_warn_unaligned_targets, + option_prefer_l32r, option_prefer_const16, option_target_hardware): + New enum values. + (option_[no_]align_only_targets, option_literal_section_name, + option_text_section_name, option_data_section_name, + option_bss_section_name, option_eb, option_el): Delete. + (md_longopts): Add entries for: [no-]transform, [no-]absolute-literals, + warn-unaligned-targets, prefer-l32r, prefer-const16, [no-]link-relax, + and target-hardware. Delete entries for [no-]target-align-only, + literal-section-name, text-section-name, data-section-name, and + bss-section-name. + (md_parse_option): Handle new options and remove old ones. Accept but + ignore [no-]density options. Warn for [no-]generics and [no-]relax + and treat them as [no-]transform. + (md_show_usage): Add new options and remove old ones. + (xtensa_setup_hw_workarounds): New. + (md_pseudo_table): Change "word" entry to use xtensa_elf_cons. Add + "long", "short", "loc" and "frequency" entries. + (use_generics): Rename to ... + (use_transform): ... this function. Add past_xtensa_end check. + (use_longcalls): Add past_xtensa_end check. + (code_density_available, can_relax): Delete. + (do_align_targets): New. + (get_directive): Accept dashes in directive names. Warn about + [no-]generics and [no-]relax directives and treat them as + [no-]transform. + (xtensa_begin_directive): Call md_flush_pending_output only for some + directives. Check for directives inside instruction bundles. Warn + about deprecated ".begin literal" usage. Warn and ignore [no-]density + directives. Handle new directives. Check generating_literals flag + for literal_prefix. + (xtensa_end_directive): Check for directives inside instruction + bundles. Warn and ignore [no-]density directives. Handle new + directives. Call xtensa_set_frag_assembly_state. + (xtensa_loc_directive_seen, xtensa_dwarf2_directive_loc, + xtensa_dwarf2_emit_insn): New. + (xtensa_literal_position): Call md_flush_pending_output. Do not check + use_literal_section flag. + (xtensa_literal_pseudo): Call md_flush_pending_output. Handle absolute + literals. Use xtensa_elf_cons to parse the expression. + (xtensa_literal_prefix): Do not check use_literal_section. Support + ".lit4" sections for absolute literals. Change prefix convention to + replace ".text" (or ".t" in a linkonce section). No need to call + subseg_set. + (xtensa_frequency_pseudo, xtensa_elf_cons, xtensa_elf_suffix): New. + (expression_end): Handle closing braces and colons. + (PLT_SUFFIX, plt_suffix): Delete. + (expression_maybe_register): Use new xtensa-isa.h functions. Use + xtensa_elf_suffix instead of checking for plt suffix, and handle O_lo16 + and O_hi16 expressions as well. + (tokenize_arguments): Handle closing braces and colons. + (parse_arguments): Use new xtensa-isa.h functions. Handle "invisible" + operands and paired register syntax. + (get_invisible_operands): New. + (xg_translate_sysreg_op): Handle new Xtensa LX RSR/WSR/XSR syntax. Use + new xtensa-isa.h functions. + (xtensa_translate_old_userreg_ops, xtensa_translate_zero_immed): New. + (xg_translate_idioms): Check if inside bundle. Use use_transform. + Handle new Xtensa LX RSR/WSR/XSR syntax. Remove code to widen density + instructions. Use xtensa_translate_zero_immed. + (operand_is_immed, operand_is_pcrel_label): Delete. + (get_relaxable_immed): Use new xtensa-isa.h functions. + (get_opcode_from_buf): Add slot parameter. Use new xtensa-isa.h + functions. + (xtensa_print_insn_table, print_vliw_insn): New. + (is_direct_call_opcode): Use new xtensa-isa.h functions. + (is_call_opcode, is_loop_opcode, is_conditional_branch_opcode, + is_branch_or_jump_opcode): Delete. + (is_movi_opcode, decode_reloc, encode_reloc, encode_alt_reloc): New. + (opnum_to_reloc, reloc_to_opnum): Delete. + (xtensa_insnbuf_set_operand, xtensa_insnbuf_get_operand): Use new + xtensa-isa.h functions. Operate on one slot of an instruction. + (xtensa_insnbuf_set_immediate_field, is_negatable_branch, + xg_get_insn_size): Delete. + (xg_get_build_instr_size): Use xg_get_single_size. + (xg_is_narrow_insn, xg_is_single_relaxable_insn): Update calls to + xg_build_widen_table. Use xg_get_single_size. + (xg_get_max_narrow_insn_size): Delete. + (xg_get_max_insn_widen_size, xg_get_max_insn_widen_literal_size, + xg_is_relaxable_insn): Update calls to xg_build_widen_table. Use + xg_get_single_size. + (xg_build_to_insn): Record the loc field. Handle OP_OPERAND_HI16U and + OP_OPERAND_LOW16U. Check xg_valid_literal_expression. + (xg_expand_to_stack, xg_expand_narrow): Update calls to + xg_build_widen_table. Use xg_get_single_size. + (xg_immeds_fit): Use new xtensa-isa.h functions. Update call to + xg_check_operand. + (xg_symbolic_immeds_fit): Likewise. Also handle O_lo16 and O_hi16, and + treat weak symbols conservatively. + (xg_check_operand): Use new xtensa-isa.h functions. + (is_dnrange): Delete. + (xg_assembly_relax): Inline previous calls to tinsn_copy. + (xg_finish_frag): Specify separate relax states for the frag and slot0. + (is_branch_jmp_to_next, xg_add_branch_and_loop_targets): Use new + xtensa-isa.h functions. + (xg_instruction_matches_option_term, xg_instruction_matches_or_options, + xg_instruction_matches_options): New. + (xg_instruction_matches_rule): Handle O_register expressions. Call + xg_instruction_matches_options. + (transition_rule_cmp): New. + (xg_instruction_match): Update call to xg_build_simplify_table. + (xg_build_token_insn): Record loc fields. + (xg_simplify_insn): Check is_specific_opcode field and + density_supported flag. + (xg_expand_assembly_insn): Skip checking code_density_available. Use + new xtensa-isa.h functions. Call use_transform instead of can_relax. + (xg_assemble_literal): Add error handling for O_big. Call + record_alignment. Handle O_pltrel. + (xg_valid_literal_expression): New. + (xg_assemble_literal_space): Add slot parameter. Remove call to + set_expr_symbol_offset. Add call to record_alignment. Update call to + xg_finish_frag. + (xg_emit_insn): Delete. + (xg_emit_insn_to_buf): Add format parameter. Update calls to + xg_add_opcode_fix and xtensa_insnbuf_to_chars. + (xg_add_opcode_fix): Change opcode parameter to tinsn and add format + and slot parameters. Handle new "alternate" relocations for absolute + literals and CONST16 instructions. Check for bad uses of O_lo16 and + O_hi16. Use new xtensa-isa.h functions. + (xg_assemble_tokens): Delete. + (is_register_writer): Use new xtensa-isa.h functions. + (is_bad_loopend_opcode): Check for xtensa_rsr_lcount_opcode instead of + old-style RSR from LCOUNT. + (next_frag_opcode): Delete. + (next_frag_opcode_is_loop, next_frag_format_size, frag_format_size, + update_next_frag_state): New. + (update_next_frag_nop_state): Delete. + (next_frag_pre_opcode_bytes): Use next_frag_opcode_is_loop. + (xtensa_mark_literal_pool_location): Check use_literal_section flag and + the state of the absolute-literals directive. Add calls to + record_alignment and xtensa_set_frag_assembly_state. Call + xtensa_switch_to_non_abs_literal_fragment instead of + xtensa_switch_to_literal_fragment. + (build_nop): New. + (assemble_nop): Use build_nop. Update call to xtensa_insnbuf_to_chars. + (get_expanded_loop_offset): Change check for undefined opcode to an + assertion. + (xtensa_set_frag_assembly_state, relaxable_section, + xtensa_find_unmarked_state_frags, xtensa_find_unaligned_branch_targets, + xtensa_find_unaligned_loops, xg_apply_tentative_value): New. + (md_begin): Update call to xtensa_isa_init. Initialize linkrelax to 1. + Set lit4_seg_name. Call xg_init_vinsn. Initialize new global opcodes. + Call init_op_placement_info_table and xtensa_set_frag_assembly_state. + (xtensa_init_fix_data): New. + (xtensa_frob_label): Reset label symbol to the current frag. Check + do_align_targets and generating_literals flag. Propagate frequency + info to new alignment frag. Call xtensa_set_frag_assembly_state. + (xtensa_unrecognized_line): New. + (xtensa_flush_pending_output): Check if inside a bundle. Add a call + to xtensa_set_frag_assembly_state. + (error_reset_cur_vinsn): New. + (md_assemble): Remove check for literal frag. Remove call to + istack_init. Call use_transform instead of use_generics. Parse + explicit instruction format specifiers. Move code for + a0_b_retw_interlock workaround to xg_assemble_vliw_tokens. Call + error_reset_cur_vinsn on errors. Add call to get_invisible_operands. + Add dwarf2_where call. Remote automatic alignment for ENTRY + instructions. Move call to xtensa_clear_insn_labels to the end. + Rearrange to handle bundles. + (xtensa_cons_fix_new): Delete. + (xtensa_handle_align): New. + (xtensa_frag_init): Call xtensa_set_frag_assembly_state. Remove + assignment to is_no_density field. + (md_pcrel_from): Use new xtensa-isa.h functions. Use decode_reloc + instead of reloc_to_opnum. Handle "alternate" relocations. + (xtensa_force_relocation, xtensa_check_inside_bundle, + xtensa_elf_section_change_hook): New. + (xtensa_symbol_new_hook): Delete. + (xtensa_fix_adjustable): Check for difference of symbols with an + offset. Check for external and weak symbols. + (md_apply_fix3): Remove cases for XTENSA_OP{0,1,2} relocs. + (md_estimate_size_before_relax): Return expansion for the first slot. + (tc_gen_reloc): Handle difference of symbols by producing + XTENSA_DIFF{8,16,32} relocs and by writing the value of the difference + into the output. Handle new XTENSA_SLOT*_OP relocs by storing the + tentative values into the output when linkrelax is set. + (XTENSA_PROP_SEC_NAME): Define. + (xtensa_post_relax_hook): Call xtensa_find_unmarked_state_frags. + Create literal tables only if using literal sections. Create new + property tables instead of old instruction tables. Check for unaligned + branch targets and loops. + (finish_vinsn, find_vinsn_conflicts, check_t1_t2_reads_and_writes, + new_resource_table, clear_resource_table, resize_resource_table, + resources_available, reserve_resources, release_resources, + opcode_funcUnit_use_unit, opcode_funcUnit_use_stage, + resources_conflict, xg_find_narrowest_format, relaxation_requirements, + bundle_single_op, emit_single_op, xg_assemble_vliw_tokens): New. + (xtensa_end): Call xtensa_flush_pending_output. Set past_xtensa_end + flag. Update checks for workaround options. Call + xtensa_mark_narrow_branches and xtensa_mark_zcl_first_insns. + (xtensa_cleanup_align_frags): Add special case for branch targets. + Check for and mark unreachable frags. + (xtensa_fix_target_frags): Remove use of align_only_targets flag. + Use RELAX_LOOP_END_BYTES in special case for negatable branch at the + end of a zero-overhead loop body. + (frag_can_negate_branch): Handle instructions with multiple slots. + Use new xtensa-isa.h functions + (xtensa_mark_narrow_branches, is_narrow_branch_guaranteed_in_range, + xtensa_mark_zcl_first_insns): New. + (xtensa_fix_a0_b_retw_frags, xtensa_fix_b_j_loop_end_frags): Error if + transformations are disabled. + (next_instrs_are_b_retw): Use new xtensa-isa.h functions. Handle + multislot instructions. + (xtensa_fix_close_loop_end_frags, xtensa_fix_short_loop_frags): + Likewise. Also error if transformations are disabled. + (unrelaxed_frag_max_size): New. + (unrelaxed_frag_min_insn_count, unrelax_frag_has_b_j): Use new + xtensa-isa.h functions. + (xtensa_sanity_check, is_empty_loop, is_local_forward_loop): Use + xtensa_opcode_is_loop instead of is_loop_opcode. + (get_text_align_power): Replace as_fatal with assertion. + (get_text_align_fill_size): Iterate instead of using modulus when + use_nops is false. + (get_noop_aligned_address): Assert that this is for a machine-dependent + RELAX_ALIGN_NEXT_OPCODE frag. Use next_frag_opcode_is_loop, + xg_get_single_size, and frag_format_size. + (get_widen_aligned_address): Rename to ... + (get_aligned_diff): ... this function. Add max_diff parameter. + Remove handling of rs_align/rs_align_code frags. Use + next_frag_format_size, get_text_align_power, get_text_align_fill_size, + next_frag_opcode_is_loop, and xg_get_single_size. Compute max_diff + and pass it back to caller. + (xtensa_relax_frag): Use relax_frag_loop_align. Add code for new + RELAX_SLOTS, RELAX_MAYBE_UNREACHABLE, RELAX_MAYBE_DESIRE_ALIGN, + RELAX_FILL_NOP, and RELAX_UNREACHABLE frag types. Check relax_seen. + (relax_frag_text_align): Rename to ... + (relax_frag_loop_align): ... this function. Assume loops can only be + in the first slot of an instruction. + (relax_frag_add_nop): Use assemble_nop instead of constructing an OR + instruction. Remove call to frag_wane. + (relax_frag_narrow): Rename to ... + (relax_frag_for_align): ... this function. Extend to handle + RELAX_FILL_NOP and RELAX_UNREACHABLE, as well as RELAX_SLOTS with + RELAX_NARROW for the first slot. + (find_address_of_next_align_frag, bytes_to_stretch): New. + (future_alignment_required): Use find_address_of_next_align_frag and + bytes_to_stretch. Look ahead to subsequent frags to make smarter + alignment decisions. + (relax_frag_immed): Add format, slot, and estimate_only parameters. + Check if transformations are enabled for b_j_loop_end workaround. + Use new xtensa-isa.h functions and handle multislot instructions. + Update call to xg_assembly_relax. + (md_convert_frag): Handle new RELAX_SLOTS, RELAX_UNREACHABLE, + RELAX_MAYBE_UNREACHABLE, RELAX_MAYBE_DESIRE_ALIGN, and RELAX_FILL_NOP + frag types. + (convert_frag_narrow): Add segP, format and slot parameters. Call + convert_frag_immed for branch instructions. Adjust calls to + tinsn_from_chars, tinsn_immed_from_frag, and xg_emit_insn_to_buf. Use + xg_get_single_size and xg_get_single_format. + (convert_frag_fill_nop): New. + (convert_frag_immed): Add format and slot parameters. Handle multislot + instructions and use new xtensa-isa.h functions. Update calls to + tinsn_immed_from_frag and xg_assembly_relax. Check if transformations + enabled for b_j_loop_end workaround. Use build_nop instead of + assemble_nop. Check is_specific_opcode flag. Check for unreachable + frags. Use xg_get_single_size. Handle O_pltrel. + (fix_new_exp_in_seg): Remove check for old plt flag. + (convert_frag_immed_finish_loop): Update calls to tinsn_from_chars and + xtensa_insnbuf_to_chars. Call tinsn_immed_from_frag. Change check + for loop opcode to an assertion. Mark all frags up to the end of the + loop as not transformable. + (get_last_insn_flags, set_last_insn_flags): Use get_subseg_info. + (get_subseg_info): New. + (xtensa_move_literals): Call xtensa_set_frag_assembly_state. Add null + check for dest_seg. + (xtensa_switch_to_literal_fragment): Rewrite to handle absolute + literals and use xtensa_switch_to_non_abs_literal_fragment otherwise. + (xtensa_switch_to_non_abs_literal_fragment): New. + (cache_literal_section): Add is_code parameter and pass it through to + retrieve_literal_seg. + (retrieve_literal_seg): Add is_code parameter and use it to set the + flags on the literal section. Handle case where head parameter is 0. + (get_frag_is_no_transform, set_frag_is_specific_opcode, + set_frag_is_no_transform): New. + (xtensa_create_property_segments): Add end_property_function parameter + and pass it through to add_xt_block_frags. Call bfd_get_section_flags + and skip SEC_DEBUGGING and !SEC_ALLOC sections. + (xtensa_create_xproperty_segments, section_has_xproperty): New. + (add_xt_block_frags): Add end_property_function parameter and call it + if it is non-zero. Call xtensa_frag_flags_init. + (xtensa_frag_flags_is_empty, xtensa_frag_flags_init, + get_frag_property_flags, frag_flags_to_number, + xtensa_frag_flags_combinable, xt_block_aligned_size, + xtensa_xt_block_combine, add_xt_prop_frags, + init_op_placement_info_table, opcode_fits_format_slot, + xg_get_single_size, xg_get_single_format): New. + (istack_push): Inline call to tinsn_copy. + (tinsn_copy): Delete. + (tinsn_has_invalid_symbolic_operands): Handle O_hi16 and O_lo16 and + CONST16 opcodes. Handle O_big, O_illegal, and O_absent. + (tinsn_has_complex_operands): Handle O_hi16 and O_lo16. + (tinsn_to_insnbuf): Use xg_get_single_format and new xtensa-isa.h + functions. Handle invisible operands. + (tinsn_to_slotbuf): New. + (tinsn_check_arguments): Use new xtensa-isa.h functions. + (tinsn_from_chars): Add slot parameter. Rewrite using xg_init_vinsn, + vinsn_from_chars, and xg_free_vinsn. + (tinsn_from_insnbuf): New. + (tinsn_immed_from_frag): Add slot parameter and handle multislot + instructions. Handle symbol differences. + (get_num_stack_text_bytes): Use xg_get_single_size. + (xg_init_vinsn, xg_clear_vinsn, vinsn_has_specific_opcodes, + xg_free_vinsn, vinsn_to_insnbuf, vinsn_from_chars, expr_is_register, + get_expr_register, set_expr_symbol_offset_diff): New. + * config/tc-xtensa.h (MAX_SLOTS): Define. + (xtensa_relax_statesE): Move from tc-xtensa.c. Add + RELAX_CHECK_ALIGN_NEXT_OPCODE, RELAX_MAYBE_DESIRE_ALIGN, RELAX_SLOTS, + RELAX_FILL_NOP, RELAX_UNREACHABLE, RELAX_MAYBE_UNREACHABLE, and + RELAX_NONE types. + (RELAX_IMMED_MAXSTEPS): Move from tc-xtensa.c. + (xtensa_frag_type struct): Add is_assembly_state_set, + use_absolute_literals, relax_seen, is_unreachable, is_specific_opcode, + is_align, is_text_align, alignment, and is_first_loop_insn fields. + Replace is_generics and is_relax fields by is_no_transform field. + Delete is_text and is_longcalls fields. Change text_expansion and + literal_expansion to arrays of MAX_SLOTS entries. Add arrays of + per-slot information: literal_frags, slot_subtypes, slot_symbols, + slot_sub_symbols, and slot_offsets. Add fr_prev field. + (xtensa_fix_data struct): New. + (xtensa_symfield_type struct): Delete plt field. + (xtensa_block_info struct): Move definition to tc-xtensa.h. Add + forward declaration here. + (xt_section_type enum): Delete xt_insn_sec. Add xt_prop_sec. + (XTENSA_SECTION_RENAME): Undefine. + (TC_FIX_TYPE, TC_INIT_FIX_DATA, TC_FORCE_RELOCATION, NO_PSEUDO_DOT, + tc_unrecognized_line, md_do_align, md_elf_section_change_hook, + HANDLE_ALIGN, TC_LINKRELAX_FIXUP, SUB_SEGMENT_ALIGN): Define. + (TC_CONS_FIX_NEW, tc_symbol_new_hook): Delete. + (unit_num_copies_func, opcode_num_units_func, + opcode_funcUnit_use_unit_func, opcode_funcUnit_use_stage_func): New. + (resource_table struct): New. + * config/xtensa-istack.h (MAX_INSN_ARGS): Increase from 6 to 10. + (TInsn struct): Add keep_wide, loc, fixup, record_fix, subtype, + literal_space, symbol, sub_symbol, offset, and literal_frag fields. + (tinsn_copy): Delete prototype. + (vliw_insn struct): New. + * config/xtensa-relax.c (insn_pattern_struct): Add options field. + (widen_spec_list): Add option conditions for density and boolean + instructions. Add expansions using CONST16 and conditions for using + CONST16 vs. L32R. Use new Xtensa LX RSR/WSR syntax. Add entries for + predicted branches. + (simplify_spec_list): Add option conditions for density instructions. + Add entry for NOP instruction. + (append_transition): Add cmp function pointer parameter and use it to + insert the new entry in order. + (operand_function_LOW16U, operand_function_HI16U): New. + (xg_has_userdef_op_fn, xg_apply_userdef_op_fn): Handle + OP_OPERAND_LOW16U and OP_OPERAND_HI16U. + (enter_opname, split_string): Use xstrdup instead of strdup. + (init_insn_pattern): Initialize new options field. + (clear_req_or_option_list, clear_req_option_list, + clone_req_or_option_list, clone_req_option_list, parse_option_cond): + New. + (parse_insn_pattern): Parse option conditions. + (transition_applies): New. + (build_transition): Use new xtensa-isa.h functions. Fix incorrectly + swapped last arguments in calls to append_constant_value_condition. + Call clone_req_option_list. Add warning about invalid opcode. + Handle LOW16U and HI16U function names. + (build_transition_table): Add cmp parameter and use it in calls to + append_transition. Use new xtensa-isa.h functions. Check + transition_applies before adding entries. + (xg_build_widen_table, xg_build_simplify_table): Add cmp parameter and + pass it through to build_transition_table. + * config/xtensa-relax.h (ReqOrOptionList, ReqOrOption, ReqOptionList, + ReqOption, transition_cmp_fn): New types. + (OpType enum): Add OP_OPERAND_LOW16U and OP_OPERAND_HI16U. + (transition_rule struct): Add options field. + * doc/as.texinfo (Overview): Update Xtensa options. + * doc/c-xtensa.texi (Xtensa Options): Delete --[no-]density, + --[no-]relax, and --[no-]generics options. Update descriptions of + --text-section-literals and --[no-]longcalls. Add + --[no-]absolute-literals and --[no-]transform. + (Xtensa Syntax): Add description of syntax for FLIX instructions. + Remove use of "generic" and "specific" terminology for opcodes. + (Xtensa Registers): Generalize the syntax description to include + user-defined register files. + (Xtensa Automatic Alignment): Update. + (Xtensa Branch Relaxation): Mention limitation of unconditional jumps. + (Xtensa Call Relaxation): Linker can now remove most of the overhead. + (Xtensa Directives): Remove confusing rules about precedence. + (Density Directive, Relax Directive): Delete. + (Schedule Directive): New. + (Generics Directive): Rename to ... + (Transform Directive): ... this node. + (Literal Directive): Update for absolute literals. Missing + literal_position directive is now an error. + (Literal Position Directive): Update for absolute literals. + (Freeregs Directive): Delete. + (Absolute Literals Directive): New. + (Frame Directive): Minor editing. + * Makefile.am (DEPTC_xtensa_elf, DEPOBJ_xtensa_elf, DEP_xtensa_elf): + Update dependencies. + * Makefile.in: Regenerate. + +2004-10-07 Richard Sandiford <rsandifo@redhat.com> + + * config/tc-mips.c (append_insn): Use fix_new rather than fix_new_exp + to build the second and third fixups for a composite relocation. + (macro_read_relocs): New function. + (macro_build): Use it. + (s_cpsetup): Pass all three composite relocation codes to macro_build. + Simplify fragging code accordingly. + (s_gpdword): Use fix_new rather than fix_new_exp for the second part + of the composite relocation. Set fx_tcbit in both fixups. + +2004-10-07 Richard Sandiford <rsandifo@redhat.com> + + * config/tc-mips.c (append_insn): Set fx_tcbit for composite relocs. + (md_apply_fix3): Don't treat composite relocs as done. + +2004-10-07 Jan Beulich <jbeulich@novell.com> + + * macro.c (macro_expand_body): When ELF, use .LL rather than LL as + prefix for symbol names generated from the LOCAL macro directive. + + * dw2gencfi.c (select_cie_for_fde): When separating CIE out from + FDE, treat a DW_CFA_remember_state as we do a DW_CFA_advance_loc. + +2004-10-07 Tomer Levi <Tomer.Levi@nsc.com> + + * config/tc-crx.c (preprocess_reglist): Handle Co-processor + Special registers. + (md_assemble): Add error checking for Co-Processor instructions. + (get_cinv_parameters): Add 'b' option to invalidate the + branch-target cache. + +2004-10-05 Paul Brook <paul@codesourcery.com> + + * config/tc-arm.c (unwind): New variable. + (vfp_sp_encode_reg): New function. + (vfp_sp_reg_required_here): Use it. + (vfp_sp_reg_list, vfp_dp_reg_list): Remove. + (vfp_parse_reg_list): New function. + (s_arm_unwind_fnstart, s_arm_unwind_fnend, s_arm_unwind_cantunwind, + s_arm_unwind_personality, s_arm_unwind_personalityindex, + s_arm_unwind_handlerdata, s_arm_unwind_save, s_arm_unwind_movsp, + s_arm_unwind_pad, s_arm_unwind_setfp, s_arm_unwind_raw): New + functions. + (md_pseudo_table): Add them. + (do_vfp_reg2_from_sp2): Use vfp_parse_reg_list and vfp_sp_encode_reg. + (do_vfp_sp2_from_reg2, vfp_sp_ldstm, vfp_dp_ldstm): Ditto. + (set_section, add_unwind_adjustsp, flush_pending_unwind, + finish_unwind_opcodes, start_unwind_section, create_unwind_entry, + require_hashconst, add_unwind_opcode): New functions. + * doc/c-arm.texi: Document unwinding opcodes. + * NEWS: Mention the new feature. + +2004-10-04 Eric Christopher <echristo@redhat.com> + + * config/tc-mips.c (md_apply_fix3): Remove erroneous assert. + +2004-10-01 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-ppc.c (md_apply_fix3): Call S_SET_THREAD_LOCAL for + TLS relocations. + * config/tc-s390.c (md_apply_fix3): Likewise. + * config/tc-sparc.c (md_apply_fix3): Likewise. + +2004-10-01 Paul Brook <paul@codesourcery.com> + + * config/tc-arm.c (arm_elf_section_type): New function. + (arm_elf_change_section): Set section link for exidx sections. + * config/tc-arm.h (arm_elf_section_type): Add prototype. + (md_elf_section_type): Define. + +2004-10-01 Bill Farmer <Bill@the-farmers.freeserve.co.uk> + + * config/tc-pdp11.c (md_apply_fix3): Change to sign of the SOB + instruction's offset. + +2004-10-01 Adam Nemet <anemet@lnxw.com> + + * (TARGET_FORMAT): Remove LynxOS COFF definition. + +2004-10-01 Ravi Ramaseshan <ravi.ramaseshan@codito.com> + + * config/tc-arc.c (tc_gen_reloc): Don't assume fixP->fx_addsy is an + asymbol *, instead use symbol_get_bfdsym. + +2004-09-30 Linus Nielsen Feltzing <linus@haxx.se> + + * config/tc-m68k.c (select_control_regs): Add mcf5249. + +2004-09-30 Paul Brook <paul@codesourcery.com> + + * config/tc-arm.c (do_smi, do_nop): New functions. + (insns): Add ARMv6ZK instructions. + (md_apply_fix3): Handle BFD_RELOC_ARM_SMI. + (tc_gen_reloc): Ditto. + (arm_cpus): Add mpcore and arm1176. + (arm_archs): Add armv6{k,z,zk}. + * doc/c-arm.texi: Document new cores and architectures. + +2004-09-30 Nick Clifton <nickc@redhat.com> + + * config/tc-arm.c: Use ISO C90 formatting. + +2004-09-30 Vladimir Ivanov <vladitx@nucleusys.com> + + * config/tc-arm.c (mav_reg_required_here): Allow REG_TYPE_CN + as alternative when REG_TYPE_MVF, REG_TYPE_MVD, REG_TYPE_MVFX or + REG_TYPE_MVDX is expected. + +2004-09-29 Marc Bevand <m.bevand@gmail.com> + + * doc/c-i386.texi (i386-Mnemonics): Fix typo. + +2004-09-21 James E Wilson <wilson@specifixinc.com> + + * config/tc-ia64.c (ENCODED_PSP_OFFSET): New. + (output_rp_psprel, output_pfs_psprel, output_preds_psprel, + output_spill_base, output_unat_psprel, output_lc_psprel, + output_fpsr_psprel, output_priunat_psprel, output_bsp_psprel, + output_bsprestore_psprel, output_rnat_psprel, output_spill_psprel, + output_spill_psprel_p): Use it. + +2004-09-20 Tomer Levi <Tomer.Levi@nsc.com> + + * config/tc-crx.c (handle_LoadStor): New function. + Handle load/stor unique instructions before parsing. + +2004-09-17 Paul Brook <paul@codesourcery.com> + + * config/tc-arm.c (s_arm_rel31): New funciton. + (md_pseudo_table): Add .rel31. + (md_apply_fix3): Handle BFD_RELOC_ARM_TARGET2, + BFD_RELOC_32_PCREL and BFD_RELOC_ARM_PREL31. + (tc_gen_reloc): Handle BFD_RELOC_ARM_PREL31 and BFD_RELOC_ARM_TARGET2. + (arm_fix_adjustable): Return 0 for BFD_RELOC_ARM_TARGET2. + (arm_parse_reloc): Add (target2). + +2004-09-17 Alan Modra <amodra@bigpond.net.au> + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + * aclocal.m4: Regenerate. + * configure: Regenerate. + * doc/Makefile.in: Regenerate. + * po/POTFILES.in: Regenerate. + * po/gas.pot: Regenerate. + +2004-09-14 Hideki IWAMOTO <h-iwamoto@kit.hi-ho.ne.jp> + + * config/tc-mmix.c [!LLONG_MIN]: Correct #elsif to #elif. + [!LLONG_MAX]: Ditto. + +2004-09-13 Paul Brook <paul@codesourcery.com> + + * config/tc-arm.c: Rename RELABS to TARGET1. + +2004-09-13 Alan Modra <amodra@bigpond.net.au> + + * messages.c (as_internal_value_out_of_range): Cast values passed + to as_bad_where or as_warn_where to proper type. + +2004-09-11 Theodore A. Roth <troth@openavr.org> + + * config/tc-avr.c: Add support for + atmega48, atmega88, atmega168, attiny13, attiny2313, at90can128. + +2004-09-09 Alan Modra <amodra@bigpond.net.au> + + * dw2gencfi.c (select_cie_for_fde): When separating CIE out + from FDE, treat a CFI_escape as we do a DW_CFA_advance_loc. + +2004-09-08 Paul Brook <paul@codesourcery.com> + + * config/obj-elf.c (obj_elf_section_type): Handle init_array, + fini_array and preinit_array section types. + * config/tc-ia64.c (ia64_elf_section_type): Remove init_array + and fini_array. + * doc/as.texinfo: Document extra section types. + +2004-09-02 Mark Mitchell <mark@codesourcery.com> + + * Makefile.am (TARG_ENV_HFILES): Add te-symbian.h. + * Makefile.in: Regenerated. + * configure.in: Set em for arm*-*-symbianelf*. + * configure: Regenerated. + * config/tc-arm.c (elf32_arm_target_format): Use Symbian target + vectors when appropriate. + * config/te-symbian.h: New file. + +2004-09-03 Tomer Levi <Tomer.Levi@nsc.com> + + * config/tc-crx.c (gettrap): Exception vector can be case + insensitive. + (process_label_constant): Fix a 32-bit displacement bug in branch + instructions. + (get_operandtype) : Bug fix, wrong operand was used. + (process_label_constant): Initialize relocation type to + BFD_RELOC_NONE + +2004-09-01 Richard Earnshaw < reanrsha@arm.com> + + * tc-arm.c (arm_cpus, arm_fpus): Allow <cpu>-s as well as <cpu>s + for synthesizable cores. + + * doc/c-arm.texi (ARM Options): Document canonical names of CPUs. + +2004-08-25 Dmitry Diky <diwil@spec.ru> + + * config/tc-msp430.c: Clean-up the code. + (md_relax_table): New relax table. + (mcu_types): Sort MCU types. + (md_pseudo_table): Add .profiler pseudo handler. + (pow2value): New function. + (msp430_profiler): New function. + (msp430_operands): Add new insns handlers. + (msp430_srcoperand): Add register operand handler, allow complex + expressions. + (md_estimate_size_before_relax): Rewritten. + (md_convert_frag): Rewritten. + (msp430_relax_frag): New function. + * config/tc-msp430.h (md_relax_frag): define macro + * doc/c-msp430.texi: Update information. + +2004-08-24 Nick Clifton <nickc@redhat.com> + + * as.c (std_shortopts): Allow -g to take an optional argument. + (parse_args): Pass any switch starting with -g on to the backend + for parsing. + +2004-08-18 Mark Mitchell <mark@codesourcery.com> + + * configure.in (arm*-*-symbianelf*): New target. + (arm*-*-eabi*): Likewise. + * configure: Regenerated. + +2004-08-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> + * config/tc-mips.c (append_insn): Handle delay slots in branch likely + correctly. + +2004-08-18 Jakub Jelinek <jakub@redhat.com> + + * config/tc-ia64.c (start_unwind_section): Add linkonce_empty + argument, don't do anything if current section is not + .gnu.linkonce.t.* and linkonce_empty is set. + (generate_unwind_image, dot_endp): Adjust callers, call + start_unwind_section (*, 1) if nothing will be put into the + section. + +2004-08-17 Nick Clifton <nickc@redhat.com> + + * as.c (MD_DEBUG_FORMAT_SELECTOR): Provide default definition. + (show_usage): Add -g. + (std_longopts): Add --gen-debug. Alpha sort the table. + (parse_args): Print an error message if a switch is not handled. + Handle the -g switch, calling md_debug_format_selector() if + necessary. + * NEWS: Mention new feature. + * doc/as.texinfo: Document new switch. + * doc/internals.texi: Document behaviour of md_parse_option. + + * config/tc-arm.c (md_parse_option): Do not issue an error message + if the switch is not recognised. + * config/tc-m68k.c (md_parse_option): Likewise. + * config/tc-pdp11.c (md_parse_option): Likewise. + * config/tc-v850.c (md_parse_option): Likewise. + + * as.h: Fix up formatting. + * tc.h: Likewise. + +2004-08-16 Nick Clifton <nickc@redhat.com> + + * macro.c (macro_set_alternate): Use ISO C90 formatting. + + * configure.in: Sort architecture based tables alphabetically. + * configure: Regenerate. + +2004-08-16 Alan Modra <amodra@bigpond.net.au> + + * config/tc-ppc.c (tc_ppc_regname_to_dw2regnum <regnames>): Replace + { "cc", 68 }, with { "cr", 70 }. + +2004-08-13 Jan Beulich <jbeulich@novell.com> + Nick Clifton <nickc@redhat.com> + + * as.c: Add and handle new --alternate command line option. + * macro.c (macro_set_alternate): New. + * macro.h (macro_set_alternate): Declare. + * read.c: Add and handle new .altmacro and .noaltmacro directives. + * doc/as.texinfo: Document new command line option and pseudo-ops + as well as insert documentation originating from gasp about + alternate macro syntax. + * NEWS: Mention new command line option and pseudo-ops. + +2004-08-10 Mark Mitchell <mark@codesourcery.com> + + * expr.c (operand): Handle the "~", "-", and "!" operators applied + to bignums. + +2004-08-06 Paul Brook <paul@codesourcery.com> + + * config/tc-arm.c (md_apply_fix3, tc_gen_reloc, arm_parse_reloc): + Handle new relocations. + * include/elf/arm.h (elf_arm_reloc_type): Add new EABI relocations. + +2004-08-05 Bob Wilson <bob.wilson@acm.org> + + * write.c (relax_segment): Use was_address instead of address when + setting fr_fix field for align frag due to backwards .org. + +2004-07-29 Alexandre Oliva <aoliva@redhat.com> + + Introduce SH2a support. + 2004-02-24 Corinna Vinschen <vinschen@redhat.com> + * config/tc-sh.c (get_specific): Change arch_sh2a_up to + arch_sh2a_nofpu_up. + 2004-02-24 Corinna Vinschen <vinschen@redhat.com> + * config/tc-sh.c (md_parse_option): Add sh2a-nofpu ISA handling. + 2004-02-20 Corinna Vinschen <vinschen@redhat.com> + * config/tc-sh.c (sh_elf_final_processing): Move sh2a recognition + to end of conditional expression. + 2004-02-20 Corinna Vinschen <vinschen@redhat.com> + * config/tc-sh.c: Add sh2a-nofpu support. + 2003-12-29 DJ Delorie <dj@redhat.com> + * tc-sh.c: Add sh2a support. + (parse_reg): Add tbr. + (parse_at): Support @@(disp,tbr). + (get_specific): Support sh2a opcodes. + (insert4): New, for 4 byte relocs. + (build_Mytes): Support sh2a opcodes. + (md_apply_fix3_Mytes): Support sh2a opcodes. + 2003-12-02 Michael Snyder <msnyder@redhat.com> + * config/tc-sh.c (md_parse_option): Handle sh2a. + (sh_elf_final_processing): Ditto. + +2004-07-27 Jason Thorpe <thorpej@wasabisystems.com> + + * config/tc-hppa.h (TARGET_FORMAT): Set to "elf32-hppa-netbsd" + for TE_NetBSD. + +2004-07-27 Alan Modra <amodra@bigpond.net.au> + + * config/tc-ppc.c (ppc_frob_file_before_adjust): Warn if .toc too big. + (ppc_arch): Expand comment. + +2004-07-27 Tomer Levi <Tomer.Levi@nsc.com> + + * config/tc-crx.c: Support evaluating the difference between two + symbols. + * config/tc-crx.h: Likewise. + +2004-07-26 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-ia64.c (start_unwind_section): Set the linked-to + section. + (ia64_elf_section_change_hook): Set the linked-to section for + SHT_IA_64_UNWIND. + +2004-07-26 Dmitry Diky <diwil@spec.ru> + + * config/tc-msp430.c: Add new subtargets: msp430x1610, + msp430x1611, msp430x1612, msp430x415, msp430x417, msp430xG437, + msp430xG438, msp430xG439. + +2004-07-25 Daniel Jacobowitz <dan@debian.org> + + * doc/as.texinfo (Section, PushSection): Correct documentation + for ELF. + +2004-07-21 Jan Beulich <jbeulich@novell.com> + + * config/tc-i386.c (optimize_imm): Adjust immediates to only those + permissible for the selected instruction suffix. + (match_template): Don't permit 64-bit general purpose operands in + 32-bit mode. + (finalize_imm): Permit 64-bit immediates. + (build_modrm_byte): Don't treat 32-bit addressing in 64-bit mode + specially except for the width of the used base and/or index + registers. For 32-bit displacements, use sign-extended + relocations only when using 64-bit addressing. + Force zero displacement on rip-relative addressing when there is + no other displacement. + (i386_index_check): Don't treat 32-bit addressing in 64-bit mode + specially except for the width of the used base and/or index + registers. + (parse_register): Disallow Reg64 registers in 32-bit mode. + + * config/tc-i386.c: For DefaultSize instructions, don't guess a 'q' + suffix if the instruction doesn't support it. + +2004-07-20 Maciej W. Rozycki <macro@linux-mips.org> + + * config/tc-mips.c (append_insn): Handle constant expressions with + no associated relocation. + (mips_ip): Cancel the expression after use for the Q format + specifier. + (parse_relocation): Return no relocation for unsupported + operators. + (my_getSmallExpression): Return no relocation if no relocation + operators are used. + +2004-07-19 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + * config/obj-som.c (adjust_stab_sections): Add prototype. + (obj_som_compiler, obj_som_version, obj_som_copyright, + adjust_stab_sections): Add ATTRIBUTE_UNUSED to unused arguments. + * config/tc-hppa.c (update_subspace): Likewise. + (is_defined_subspace): Amplify comment. + * config/obj-som.h (som_frob_file): Add prototype. + +2004-07-19 Christopher Faylor <cgf@timesys.com> + H.J. Lu <hongjiu.lu@intel.com> + + * subsegs.c (section_symbol): Don't create a new segment when + existing segment is undefined. + +2004-07-16 Richard Earnshaw <rearnsha@arm.com> + + * config/tc-arm.c: Include include/opcode/arm.h. + (ARM_EXT_*, ARM_ARCH_*, ARM_ANY, ARM_ALL, COPROC_ANY): Delete. + (FPU_FPA_EXT_* FPU_VFP_EXT_*, FPU_ANY, FPU_NONE, FPU_MAVERICK): Delete. + (FPU_ARCH_*): Delete. + * Makefile.am: Update dependencies. + * Makefile.in: Regenerate. + +2004-07-15 Nick Clifton <nickc@redhat.com> + + * configure.in: Accept armbe as a big-endian arm configuration. + * configure: Regenerate. + +2004-07-13 Thomas Nystrom <thn@saeab.se> + + * config/tc-i386.c (T_SHIFTOP): New constant. + (intel_e05_1): Handle '&', '|' and T_SHIFTOP. + (intel_el1): Handle '~'. + (intel_get_token): Handle '<>', '&', '|' and '~'. + +2004-07-13 Nick Clifton <nickc@redhat.com> + + (md_assemble): Remove spurious newline from end of as_bad error + message. + (intel_e05_1): Likewise. + (intel_e11): Likewise. + (intel_match_token): Likewise. + +2004-07-11 Andreas Schwab <schwab@suse.de> + + * config/tc-m68k.c: Convert to C90. Remove redundant + declarations. Indentation fixup. + [M68KCOFF]: Include "obj-coff.h" instead of declaring + obj_coff_section ourselves. + +2004-07-09 James E Wilson <wilson@specifixinc.com> + + * config/tc-ia64.c (default_big_endian): New. + (dot_byteorder, md_begin): Use it. + (md_parse_option): Set it. + +2004-07-09 Nick Clifton <nickc@redhat.com> + + * configure.in: Change sh-sybmian-elf to sh-*-symbianelf. + * configure: Regenerate. + * NEWS: Change sh-sybmian-elf to sh-*-symbianelf. + * config/tc-sh.c (sh_elf_final_processing): Use renamed version of + sh_find_elf_flags if necessary. + +2004-07-08 Richard Sandiford <rsandifo@redhat.com> + + * config/tc-mips.c (mips_fix_adjustable): If the full addend is + going to be split into more than one in-place addend, return 0 + for relocations against mergeable sections. Associate comments + with code. + +2004-07-07 Tomer Levi <Tomer.Levi@nsc.com> + + * Makefile.am (CPU_TYPES): Add crx. + (TARGET_CPU_CFILES): Add config/tc-crx.c. + (TARGET_CPU_HFILES): Add config/tc-crx.h. + (DEPTC_crx_elf): New target. + (DEPOBJ_crx_elf): Likewise. + (DEP_crx_elf): Likewise. + * Makefile.in: Regenerate. + * configure.in: Add crx* target. + * configure: Regenerate. + * config/tc-crx.c: New file. + * config/tc-crx.h: New file. + * NEWS: Mention new target. + +2004-07-06 Nick Clifton <nickc@redhat.com> + + * config.in: Undefine TARGET_SYMBIAN by default. + * configure.in: + * configure: Regenerate. Add sh-symbian-elf target. If + selected define TARGET_SYMBIAN. + * config/tc-sh.h (TARGET_FORMAT): Select a Symbian target + format if TARGET_SYMBIAN has been defined. + + * output-file.c (output_file_create): Report the target format + chosen when bfd_openw reports that it is invalid. + + * config/obj-coff.c (coff_pseudo_table): Only define the weak + pseudo for BFD based assemblers. + +2004-07-05 Andrew Stubbs <andrew.stubbs@superh.com> + + gas: + * config/tc-sh.c (md_assemble): Change isspace to ISSPACE. + (md_parse_option): Remove redundant -isa testing. + Make bfd_arch variable const. + (md_show_usage): Make bfd_arch variable const. + +2004-07-03 James E Wilson <wilson@specifixinc.com> + + * config/tc-ia64.c (emit_one_bundle): Check and set insn_addr. + * config/tc-ia64.h (md_frag_check): Define. + +2004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> + + * config/obj-coff.c (obj_coff_weak): New .weak syntax for PE weak + externals. + * doc/as.texinfo (Weak): Document PE weak symbols. + +2004-07-03 Richard Sandiford <rsandifo@redhat.com> + + * config/tc-mips.c (HAVE_IN_PLACE_ADDENDS): New macro. + (reloc_needs_lo_p): Only return true if HAVE_IN_PLACE_ADDENDS. + (mips_frob_file): Rework so that only a single pass through the + relocs is needed. Allow %lo()s to have higher offsets than their + corresponding %hi()s or %got()s. + +2004-07-02 Nick Clifton <nickc@redhat.com> + + * config/tc-arm.c (md_apply_fix3:BFD_RELOC_ARM_IMMEDIATE): Do not + allow values which have come from undefined symbols. + Always consider this fixup to have been processed as a reloc + cannot be generated for it. + +2004-07-02 Alan Modra <amodra@bigpond.net.au> + + * frags.h (struct frag): Add has_code and insn_addr fields. + * write.c (cvt_frag_to_fill): Invoke md_frag_check. + * config/tc-ppc.c (md_assemble): Check and set insn_addr. + * config/tc-ppc.h (md_frag_check): Define. + +2004-06-28 Maciej W. Rozycki <macro@linux-mips.org> + + * doc/Makefile.am (info): Rename goal to... + (info-local): ... this, to preserve implicit dependencies. + * doc/Makefile.in: Regenerate with automake 1.8.5. + +2004-06-25 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> + + * config/tc-m32r.c (md_convert_frag): Changed for @PLT. + (m32r_cgen_record_fixup_exp): Changed for @GOTOFF, @GOT. + (m32r_fix_adjustable): Changed for @GOTOFF, @GOT, @PLT. + (tc_gen_reloc): Likewise. + (m32r_end_of_match): Add for @GOTOFF, @GOT, @PLT. + (m32r_parse_name): Likewise. + (m32r_cgen_parse_fix_exp): Likewise. + * config/tc-m32r.h (md_parse_name): Define for @GOTOFF, @GOT, @PLT. + (O_PIC_reloc): Likewise. + (TC_CGEN_PARSE_FIX_EXP): Likewise.. + * cgen.c (gas_cgen_parse_operand): Add TC_CGEN_PARSE_FIX_EXP + for @GOTOFF, @GOT, @PLT. + +2004-06-21 Jan Beulich <jbeulich@novell.com> + + * gas/symbols.c: While discarding ordinary local absolute symbols + when --strip-local-absolute is in effect, retain file symbols. + +2004-06-20 Andreas Schwab <schwab@suse.de> + + * config/tc-m68k.c (mri_chip): Replace current_chip, not augment. + (md_parse_option): Likewise. + +2004-06-17 Jan Beulich <jbeulich@novell.com> + + * config/tc-i386.c: Deal with LEX_QM the same way as with LEX_AT. + * config/te-netware.h: New file. + * config/te-ppcnw.h: Delete: Obsolete. + * configure.in: Eliminate ill NetWare targets. Make generic + NetWare target use proper emulation. + * Makefile.am: Eliminate reference to obsolete te-ppcnw.h, add + reference to new te-netware.h. + * configure: Regenerate. + * Makefile.in: Regenerate. + +2004-06-15 Martin Schwidefsky <schwidefsky@de.ibm.com> + + * config/tc-s390.c (s390_insn): Avoid incorrect signed/unsigned + comparison in .insn pseudo operation. + +2004-06-15 Alan Modra <amodra@bigpond.net.au> + + * config/obj-coff.c (coff_adjust_section_syms): Use + bfd_get_section_size instead of bfd_get_section_size_before_reloc. + (coff_frob_section): Likewise. + * config/tc-mips.c (md_apply_fix3): Likewise. + * config/obj-elf.c (elf_frob_file): Use bfd_set_section_size. + (elf_frob_file_after_relocs): Likewise. + +2004-06-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + * config/tc-hppa.c (log2): Rename to exact_log2. + (pa_next_subseg): Delete unused function. + (create_new_space): Mark unused arguments with ATTRIBUTE_UNUSED. + (create_new_subspace): Likewise. + + Bug gas/213 + * config/tc-hppa.c (hppa_fix_adjustable): Allow reduction of fake + labels. Fix warning. + +2004-05-28 DJ Delorie <dj@redhat.com> + + * config/tc-mn10300.h (tc_fix_adjustable): Define. + * config/tc-mn10300.c (mn10300_fix_adjustable): Don't adjust debug + or non-merged symbols. + +2004-05-28 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-ia64.c (remove_marked_resource): Save, clear and + restore the old slot when inserting srlz.i/srlz.d. + +2004-05-28 Andrew Stubbs <andrew.stubbs@superh.com> + + * Makefile.am: Regenerate dependecies. + * Makefile.in: Regenerate. + * config/tc-sh.c (valid_arch): Make unsigned. + (preset_target_arch): Likewise. + (md_begin): Use new architecture flags system. + (get_specific): Likewise. + (assemble_ppi): Likewise. + (md_assemble): Likewise. Also fix error check for bad opcodes. + (md_parse_option): Likewise. Also generate -isa values according + to the table in bfd/cpu-sh.c instead of just constants. Also + allow <arch>-up ISA variants. + (sh_elf_final_processing): Replace if-else chain with a call to + sh_find_elf_flags(). + +2004-05-28 Peter Barada <peter@the-baradas.com> + + * config/gc-m68k.c(m68k_ip): Convert mode 5 addressing + with zero offset into mode 2 addressing to save a word. + +2004-05-27 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-ia64.c (ar_is_in_integer_unit): Removed. + (ar_is_only_in_integer_unit): New. + (ar_is_only_in_memory_unit): New. + (generate_unwind_image): Silence gcc on 32bit host. + (md_assemble): Use ar_is_only_in_integer_unit instead of + ar_is_in_integer_unit. Check AR access. + +2004-05-27 Peter Barada <peter@the-baradas.com> + + * config/tc-m68k.c (md_begin): Sort the opcode table into + alphabetical order. + (m68k_compare_opcode): New function to do the sorting. + +2004-05-24 Peter Barada <peter@the-baradas.com> + + * config/m68k-parse.y(operand): Allow for MAC/EMAC mask + addressing on MIT style operands. + * config/m68k-parse.y(yylex): Allow '-&' for predecrement + w/mask addressing. + * config/tc-m68k.c(install_operand): Comment 'G' and 'H' type + operands. + +2004-05-23 Alan Modra <amodra@bigpond.net.au> + + * expr.c (operand, operator): Don't reject '++' and '--'. + +2004-05-20 Richard Sandiford <rsandifo@redhat.com> + + * config/tc-mips.c (append_insn): Use ISA-encoded addresses in MIPS16 + dwarf tables. + +2004-05-17 Adam Nemet <anemet@lnxw.com> + + * configure.in: Add ppc-*-lynxos*. Update i386-*-lynxos* to ELF. + * configure: Regenerate. + +2004-05-13 Paul Brook <paul@codesourcery.com> + + * dw2gencfi.c (output_cie): Handle dwarf3 format CIE entries. + +2004-05-13 Joel Sherrill <joel@oarcorp.com> + + * configure.in (or32-*-rtems*): Switch to elf. + * configure: Regenerate. + +2004-05-13 Nick Clifton <nickc@redhat.com> + + * po/fr.po: Updated French translation. + +2004-05-11 Nick Clifton <nickc@redhat.com> + + * doc/as.texinfo (Section): Document G and T flags to .section + directive. Document the extra arguments that the G flag + requires. Document the #tls flag. + +2004-05-11 H.J. Lu <hongjiu.lu@intel.com> + + * subsegs.c (section_symbol): Create a new section symbol if + the existing one doesn't match. + * symbols.c (symbol_set_bfdsym): Don't reset BFD section symbol. + +2004-05-07 Richard Sandiford <rsandifo@redhat.com> + + * config/tc-mips.c (append_insn, mips_emit_delays): Extend -mfix-vr4120 + to cope with VR4181A errata MD(1) and MD(4). + +2004-05-07 Brian Ford <ford@vss.fsi.com> + + * NEWS: Mention .secrel32 for pe[i]-i386. + +2004-05-07 Alexandre Oliva <aoliva@redhat.com> + + * config/tc-frv.h (MAX_MEM_FOR_RS_ALIGN_CODE): New. + (HANDLE_ALIGN): New. + +2004-05-06 Daniel Jacobowitz <dan@debian.org> + + * Makefile.am (DIST_SUBDIRS): Define. + * aclocal.m4: Regenerate with automake 1.8.4. + * Makefile.in: Likewise. + * doc/Makefile.in: Likewise. + +2004-05-06 David Mosberger-Tang <davidm@hpl.hp.com> + + * config/tc-ia64.c (dot_serialize): Declare. + (dot_serialize): New function. + (md_pseudo_table): Add ".serialize.data" and + ".serialize.instruction" directives. + +2004-05-06 Nick Clifton <nickc@redhat.com> + + * messages (as_internal_value_out_of_range): Print a message about + a value being out of range. Be consistent about whether the + values are printed in decimal or hexadecimal. + (as_warn_value_out_of_range): Generate a warning message about an + out of range value. + (as_bad_value_out_of_range): Generate an error message about an + out of range value. + * as.h: Prototype the new functions. + * config/tc-alpha.c (insert_operand): Use new function. + * config/tc-arc.c (arc_insert_operand): Likewise. + * config/tc-mn10200.c (mn10200_insert_operand): Likewise. + * config/tc-mn10300.c (mn10300_insert_operand): Likewise. + * config/tc-ppc.c (ppc_insert_operand): Likewise. + * config/tc-s390.c (s390_insert_operand): Likewise. + * config/tc-v850.c (v850_insert_operand): Likewise. + +2004-05-05 Alexandre Oliva <aoliva@redhat.com> + + * configure.in: Set em=linux for frv-*-*linux*. + * configure: Rebuilt. + * config/tc-frv.h (TARGET_FORMAT): Use elf32-frvfdpic if... + (frv_md_fdpic_enabled): New. + * config/tc-frv.c (frv_md_fdpic_enabled): New. + (DEFAULT_FDPIC): New. + (frv_flags): Use DEFAULT_FDPIC. + (frv_pic_flag): Likewise. + (OPTION_NOPIC): New. + (md_longopts): Add -mnopic. + (md_parse_option): Handle it. + (md_show_usage): Add -mfdpic and -mnopic. + +2004-05-05 Peter Barada <peter@the-baradas.com> + + * config/tc-m68k.c: Add find_cf_chip to print list of valid + chips for invalid coldfire instructions, rename selectors + for ColdFire sub-variants, add 521x,5249,547x,548x and aliases, + add current_chip to track which chip is referred to(including save/restore), + use current_chip to select control registers, not current_arch. + (md_show_usage): Add new chips. + * doc/c-m68k.texi: Document new command line switches. + +2004-05-05 Jakub Jelinek <jakub@redhat.com> + + * tc-s390.h (md_do_align, HANDLE_ALIGN): Remove. + (NOP_OPCODE): Define. + (s390_align_code): Remove prototype. + * tc-s390.c (s390_align_code): Remove. + +2004-05-04 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-ia64.c (make_unw_section_name): Removed. + (start_unwind_section): New function. + (generate_unwind_image): Take const segT instead of const + char *. + (dot_handlerdata): Adjusted. + (dot_endp): Likewise. + +2004-05-02 H.J. Lu <hongjiu.lu@intel.com> + + * config/obj-elf.c (obj_elf_change_section): Allow the + ".note.GNU-stack" section has SHF_EXECINSTR. + +2004-05-02 H.J. Lu <hongjiu.lu@intel.com> + + * config/obj-elf.c (get_section): Return bfd_boolean. + (obj_elf_change_section): Call bfd_get_section_by_name_if + instead of bfd_map_over_sections. + +2004-04-30 H.J. Lu <hongjiu.lu@intel.com> + + * config/obj-elf.c (get_section): New function. + (obj_elf_change_section): Support multiple sections with same + name. + +2004-04-30 Nick Clifton <nickc@redhat.com> + + * config/tc-arm.c (create_register_alias): Fix typo checking for + case sensitive register aliases. + (co_proc_number): Use error message string in all_reg_maps[] + array. + (cp_reg_required_here): Likewise. + (fp_reg_required_here): Likewise. + +2004-04-29 Brian Ford <ford@vss.fsi.com> + + * dwarf2dbg.c (dwarf2_finish): Add SEC_DEBUGGING to section flags. + +2004-04-28 Chris Demetriou <cgd@broadcom.com> + + * config/tc-mips.c (HAVE_32BIT_ADDRESSES, append_insn, macro_build) + (load_address, macro, mips_ip, md_parse_option) + (mips_force_relocation, mips_validate_fix, md_apply_fix3) + (s_change_sec, pic_need_relax, tc_gen_reloc): Remove all + embedded-PIC handling, and update comments. + (SWITCH_TABLE): Remove. + * config/tc-mips.h (DIFF_EXPR_OK): Delete. + (enum mips_pic_level): Remove EMBEDDED_PIC. + (EXTERN_FORCE_RELOC): Remove embedded-PIC handling. + (TC_FORCE_RELOCATION): Update comment. + * ecoff.c (ecoff_build_lineno): Add comment about some code that + might be safe to remove now that MIPS embedded-PIC is gone. + +2004-04-28 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + * config/obj-som.c (obj_som_init_stab_section): Add new arguments in + call to obj_set_subsection_attributes. + (obj_som_init_stab_section): Likewise. + * config/tc-hppa.c (default_subspace_dict): Add comdat field. + (pa_def_subspaces): Provide comdat default. + (pa_subspace): Handle new "comdat" parameter. Set SEC_LINK_ONCE and + not SEC_IS_COMMON if section is comdat, common or dup_common. Update + calls to create_new_subspace and update_subspace to pass comdat flag. + (create_new_subspace, update_subspace): Add new comdat argument. Use + it in calls to obj_set_subsection_attributes. + * doc/c-hppa.texi (.subspa, .nsubspa): Document new comdat parameter + and use of comdat, common and dup_comm parameters. + +2004-04-26 H.J. Lu <hongjiu.lu@intel.com> + + * config/obj-elf.c (obj_elf_change_section): Check if the old + group name is NULL before comparison. + +2004-04-23 Chris Demetriou <cgd@broadcom.com> + + * config/tc-mips.h (mips_dwarf2_addr_size): Prototype. + +2004-04-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> + + * config/tc-mips.c (s_mipsset): Set default CPU type for .set mipsN. + +2004-04-23 Chris Demetriou <cgd@broadcom.com> + + * config/tc-mips.c (md_longopts): Remove -membedded-pic option. + (OPTION_MEMBEDDED_PIC): Remove. + (OPTION_TRAP, OPTION_BREAK, OPTION_EB, OPTION_EL) + (OPTION_FP32, OPTION_GP32, OPTION_CONSTRUCT_FLOATS) + (OPTION_NO_CONSTRUCT_FLOATS, OPTIONS_FP64, OPTION_GP64) + (OPTION_RELAX_BRANCH, OPTION_NO_RELAX_BRANCH) + (OPTION_ELF_BASE): Renumber. + (md_parse_option): Remove OPTION_MEMBEDDED_PIC handling. + (md_show_usage): Remove mention of -membedded-pic. + * doc/as.texinfo: Remove mention of -membedded-pic. + +2004-04-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> + + * config/tc-mips.h (USE_GLOBAL_POINTER_OPT): Remove. + * config/tc-mips.c (RDATA_SECTION_NAME, mips_target_format): Remove + a.out support. + (md_begin, mips_ip, md_parse_option, s_change_sec, s_option, + s_abicalls, nopic_need_relax, tc_gen_reloc): Remove uses of + USE_GLOBAL_POINTER_OPT. + +2004-04-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> + + * config/tc-mips.c (macro): One more use of load_delay_nop. + +2004-04-22 Atsushi Nemoto <anemo@mba.ocn.ne.jp> + + * config/tc-mips.c (load_delay_nop): New function. + (load_address, macro): Use load_delay_nop() to build a nop + which can be omitted with gpr_interlocks. + +2004-04-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> + + * config/tc-mips.c (hilo_interlocks, gpr_interlocks, + cop_interlocks): Remove superfluous CPU entries. + +2004-04-22 Paul Brook <paul@codesourcery.com> + + * config/tc-arm.c (mav_parse_offset): Value must be multiple of 4. + +2004-04-22 Peter Barada <peter@the-baradas.com> + + * NEWS: Added support for EMAC instructions and MAC/EMAC + Motorola syntax. + * config/m68k-parse.h: Add ACC[123], ACCEXT{01,23}, MAC/EMAC + scale factor tokens, trailing_ampersand to mark mask addressing + for MAC/EMAC instructions. + * config/m68k-parse.y: Add options_ampersand clause, '<<', + '>>'. + (yylex): Handle '>', '<', and '&' following '+'. + * config/tc-m68k.c: Set mcfmac/mcfemac on appropriate ColdFire + architectures in archs[]. + (m68k-ip): Add '4', 'e', 'g', 'i', cases to handle mask addressing + for MAC/EMAC instructions, ACC[0123], ACCEXT{01,23}, and '<<'/'>>' + respectively. + (m68k_ip): Handle trailing '&' on MAC/EMAC insns. + (install_operand): Fix 'n' case, Add 'F', 'f', 'G', 'H', 'I', ']' + cases. + Add EMAC operands to init_table[]. + +2004-04-22 Bruno De Bus <bdebus@elis.ugent.be> + + * config/tc-arm.h (enum mstate): Move here, add MAP_UNDEFINED + state. + (TC_SEGMENT_INFO_TYPE): Define to enum mstate. + * config/tc-arm.c (enum mstate): Delete from here. + (mapping_state): Remove the static mapstate variable and instead + store the state in the segment. This allows a per-section mapping + state. Handle and ignore MAP_UNDEFINED states. + (arm_elf_change_section): Get the current mapping state from the + new section. + (s_ltorg): Set the mapping state to MAP_DATA. + (arm_cleanup): Use arm_elf_change_section to get the mapping state + for each pool as it is emitted. + +2004-04-22 Nick Clifton <nickc@redhat.com> + + * config/tc-arm.h: Formatting tidy ups. + +2004-04-20 Chris Demetriou <cgd@broadcom.com> + + * NEWS: Note that MIPS -membedded-pic option is deprecated. + +2004-04-20 DJ Delorie <dj@redhat.com> + + * config/tc-i386.h [TE_PE] (TC_CONS_FIX_NEW): Define. + * config/tc-i386.c (md_pseudo_table) [TE_PE]: Add "secrel32". + [TE_PE] (O_secrel): Define. + [TE_PE] (x86_pe_cons_fix_new): New. + [TE_PE] (pe_directive_secrel): Likewise. + (tc_gen_reloc) [TE_PE]: Support BFD_RELOC_32_SECREL. + +2004-04-19 Eric Christopher <echristo@redhat.com> + + * config/tc-mips.c (mips_dwarf2_addr_size): Revert part + of previous patch for fix in gcc. + +2004-04-19 Jakub Jelinek <jakub@redhat.com> + + * config/tc-xtensa.c (xg_assembler_literal): Fix a typo. + +2004-04-19 Nathan Sidwell <nathan@codesourcery.com> + + * read.c (do_align): Call md_flush_pending_output, if defined. + +2004-04-16 Alan Modra <amodra@bigpond.net.au> + + * expr.c (operand): Correct checks for ++ and --. + +2004-04-14 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-generic.c: Add some comments. + +2004-04-14 Richard Sandiford <rsandifo@redhat.com> + + * doc/c-mips.texi (-m{no-,}fix-vr4120): Renamed from + -{no-}mfix-vr4122-bugs. + * config/tc-mips.c (mips_fix_vr4120): Renamed from mips_fix_4122_bugs. + (append_insn, mips_emit_delays): Update accordingly. + (OPTION_FIX_VR4120, OPTION_NO_FIX_VR4120): Renamed from *VR4122. + (md_longopts): Change -{no-,}mfix-vr4122-bugs to -m{no-,}fix-vr4120. + (md_parse_option): Update after above changes. + (md_show_usage): Add -mfix-vr4120. + +2004-04-13 Bob Wilson <bob.wilson@acm.org> + + * doc/as.texinfo (Sub-Sections): Conditionalize COFF-specific use + of .section directive; add a reference to the ELF .subsection + directive. + +2004-04-13 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> + + * config/tc-m32r.c (md_assemble): Fixed infinite loop bug + in parallel. + +2004-04-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> + + * Makefile.am: Remove mips from aout targets. + * Makefile.in: Regenerate. + * configure.in: Remove mips-dec-bsd* target. + * configure: Regenerate. + +2004-04-07 Alan Modra <amodra@bigpond.net.au> + + PR 96 + * config/tc-ppc.c (ppc_elf_suffix): Add valid32 and valid64 fields + to struct map_bfd. Adjust MAP macro, and define MAP32, MAP64. + Update "mapping". Restrict some @ modifiers to 32 bit. + +2004-04-01 Asgari Jinia <asgarij@kpitcummins.com> + Dhananjay Deshpande <dhananjayd@kpitcummins.com> + + * config/tc-sh.c (dont_adjust_reloc_32): New variable. + (sh_fix_adjustable): Avoid adjusting BFD_RELOC_32 when + dont_adjust_reloc_32 is set. + (md_longopts): Add option -renesas. + (md_parse_option, md_show_usage): Likewise. + * doc/c-sh.texi: Likewise. + +2004-04-01 Dave Korn <dk@artimi.com> + + * config/tc-dlx.c (md_assemble): set fx_no_overflow flag for + hi16 and lo16 fixS structs. + (md_assemble): generate bit_fixS for RELOC_DLX_LO16 in + exactly the same way as for RELOC_DLX_REL16. + (machine_ip): properly respect LO flag in the_insn and + output RELOC_DLX_LO16 rather than RELOC_DLX_16. + (md_apply_fix3): apply RELOC_DLX_LO16. + +2004-03-30 Stan Shebs <shebs@apple.com> + + Remove long-obsolete MPW support. + * mpw-config.in, mpw-make.sed, mac-as.r: Remove files. + * configure.in: Remove mention of ppc-*-mpw* config. + * configure.in: Likewise. + +2004-03-30 Nick Clifton <nickc@redhat.com> + + * config/tc-arm.c (meabi_flags): Make its use conditional upon + OBJ_ELF being defined. + +2004-03-27 Alan Modra <amodra@bigpond.net.au> + + * config/obj-aout.c (obj_aout_type): Remove #ifdef BFD_ASSEMBLER code. + +2004-03-23 Paul Brook <paul@codesourcery.com> + + * config/tc-arm.c (meabi_flags): New variable. + (arm_parse_eabi): New function. + (md_begin): Set flags for EABI v3. + (arm_eabis): Add. + (arm_long_opts): Add meabi. + * doc/as.texinfo <ARM>: Document -meabi. + * doc/c-arm.texi: Ditto. + +2004-03-22 Bob Wilson <bob.wilson@acm.org> + + * config/tc-xtensa.c (xtensa_post_relax_hook): Create literal + tables even when use_literal_section flag is not set. + +2004-03-22 Alan Modra <amodra@bigpond.net.au> + + * config/tc-sh.c: Remove trailing whitespace. + +2004-03-22 Hans-Peter Nilsson <hp@axis.com> + + * doc/c-cris.texi (CRIS-Opts): Document --no-mul-bug-abort, + --mul-bug-abort and the default behavior. + * config/tc-cris.c (cris_insn_kind): New member CRIS_INSN_MUL. + (err_for_dangerous_mul_placement): New variable. + (STATE_MUL, OPTION_MULBUG_ABORT_ON, OPTION_MULBUG_ABORT_OFF): New + macros. + (md_cris_relax_table): Have placeholder for STATE_MUL. + (md_longopts): New options --mul-bug-abort and --no-mul-bug-abort. + (cris_relax_frag) <case ENCODE_RELAX (STATE_MUL, STATE_BYTE)>: New + case doing nothing. + (md_estimate_size_before_relax) <case ENCODE_RELAX (STATE_MUL, + STATE_BYTE)>: Ditto. + (md_convert_frag) <ENCODE_RELAX (STATE_MUL, STATE_BYTE)>: Check + alignment and position of this frag, emit error message if + suspicious. + (md_assemble): For a multiply insn and when checking it, + transform the current frag into a special frag for that purpose. + (md_parse_option) <case OPTION_MULBUG_ABORT_OFF, case + OPTION_MULBUG_ABORT_ON>: Handle new options. + +2004-03-19 Bob Wilson <bob.wilson@acm.org> + + * config/tc-xtensa.c (mark_literal_frags): New function. + (xtensa_move_literals): Call mark_literal_frags for all literal + segments, including init and fini literal segments. + (xtensa_post_relax_hook): Swap use of xt_insn_sec and xt_literal_sec. + +2004-03-19 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + * tc-hppa.c (cons_fix_new_hppa): Check for PC relative base type. + (pa_comm): Set BSF_OBJECT in symbol flags. + +2004-03-19 Alan Modra <amodra@bigpond.net.au> + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + * doc/Makefile.in: Regenerate. + * config.in: Regenerate. + * po/gas.pot: Regenerate. + +2004-03-18 Nathan Sidwell <nathan@codesourcery.com> + + * read.c (read_a_source_file): Use demand_empty_rest_of_line. + (demand_empty_rest_of_line): Issue an error here. + (ignore_rest_of_line): Silently skip to end. + (demand_copy_string): Issue an error, not warning. + (equals): Likewise. + * config/obj-elf.c (obj_elf_section_name): Likewise. + (obj_elf_section): Likewise. + * config/tc-arc.c (arc_extoper): Remove bogus NULL checks. + (arc_extinst): Likewise. + * config/tc-ia64.c (dot_saveb): Use demand_empty_rest_of_line. + (dot_spill): Likewise. + (dot_unwabi): Likewise. + (dot_prologue): Likewise. + + * expr.c (operand): Reject ++ and --. + (operator): Likewise. + +2004-03-17 Kaz Kojima <kkojima@rr.iij4u.or.jp> + + * config/tc-sh.c: Include dw2gencfi.h. + (sh_cfi_frame_initial_instructions): New function. + (sh_regname_to_dw2regnum): Likewise. + * config/tc-sh.h (DWARF2_LINE_MIN_INSN_LENGTH): Move to the end of + file. + (TARGET_USE_CFIPOP): Define. + (tc_cfi_frame_initial_instructions): Likewise. + (tc_regname_to_dw2regnum): Likewise. + (DWARF2_DEFAULT_RETURN_COLUMN, DWARF2_CIE_DATA_ALIGNMENT): Likewise. + * Makefile.am: Update dependencies. + * Makefile.in: Regenerate. + +2004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de> + + * configure.in: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*. + * configure: Regenerate. + +2004-03-12 Bob Wilson <bob.wilson@acm.org> + + * read.c (s_leb128): Call md_flush_pending_output. + +2004-03-12 Michal Ludvig <mludvig@suse.cz> + + * config/tc-i386.c (output_insn): Handle PadLock instructions. + * config/tc-i386.h (CpuPadLock): New define. + (CpuUnknownFlags): Added CpuPadLock. + +2004-03-07 Andreas Schwab <schwab@suse.de> + + * doc/c-hppa.texi (HPPA Directives): Fix typo. + +2004-03-07 Richard Henderson <rth@redhat.com> + + * dw2gencfi.c (output_cie): Align length to 4 byte boundary. + (cfi_finish): Likewise for fde. + +2004-03-05 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-ia64.c (md_assemble): Properly handle NULL + align_frag. + (ia64_handle_align): Don't abort if failed to add a stop bit. + +2004-03-04 H.J. Lu <hongjiu.lu@intel.com> + + * Makefile.in: Regenerated. + * aclocal.m4: Likewise. + * configure: Likewise. + * doc/Makefile.in: Likewise. + +2004-03-03 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-ia64.c (dot_align): New. + (ia64_do_align): Make it static. + (md_pseudo_table): Use "dot_align" for "align". + (ia64_md_do_align): Don't set align_frag here. + (ia64_handle_align): Add a stop bit to the previous bundle if + needed. + + * config/tc-ia64.h (ia64_do_align): Removed. + +2003-03-03 Andrew Stubbs <andrew.stubbs@superh.com> + + * config/tc-sh.c (md_parse_option): Add -isa=sh4-nofpu and + -isa=sh4-nommu-nofpu options. Adjust help messages accordingly. + (sh_elf_final_processing): Output BFD type sh4_nofpu if that is + the most general type or the user specifically requested it. + (md_assemble): Add a new error message for when an instruction + is understood, but is not allowed due to an -isa option. + +2004-03-02 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-ia64.c (align_frag): New. + (md_assemble): Set the tc_frag_data field in align_frag for + IA64_OPCODE_FIRST instructions. + (ia64_md_do_align): Set align_frag. + (ia64_handle_align): Add a stop bit if needed. + + * config/tc-ia64.h (TC_FRAG_TYPE): New. + (TC_FRAG_INIT): New. + +2004-03-01 Richard Sandiford <rsandifo@redhat.com> + + * config/tc-frv.c (fr400_audio): New variable. + (md_parse_option, md_show_usage): Add -mcpu=fr405 and -mcpu=fr450. + (md_parse_option): Set fr400_audio for -mcpu=fr400 and -mcpu=fr405. + (target_implements_insn_p): New function. + (md_assemble): Report an error if the processor doesn't implement + the instruction. + +2004-02-27 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> + + * config/tc-m32r.c (md_longopts): Added -no-bitinst option. + (md_parse_option): Ditto. + (OPTION_NO_SPECIAL_M32R): Added. + (md_show_usage): Document it. + (enable_speial_m32r): Changed a default value from 0 to 1. + * doc/c-m32r.texi: Document the -no-bitinst option. + +2004-02-27 Nick Clifton <nickc@redhat.com> + + * config/tc-sh.c (get_operand): Revert previous delta. + (tc_gen_reloc): Check for an unknown reloc type before processing + the addend. + +2004-02-27 Hannes Reinecke <hare@suse.de> + + * config/tc-s390.c (s390_insn): Correct range check for opcode in + .insn pseudo operation. + +2004-02-27 Anil Paranjpe <anilp1@kpitcummins.com> + + * config/tc-sh.c (get_operand): In case of #Imm, check has been + added for wrong syntax. + +2004-02-26 Eric Christopher <echristo@redhat.com> + + * config/tc-mips.c (mips_dwarf2_addr_size): New. + * config/tc-mips.h (DWARF2_ADDR_SIZE): Use. + +2004-02-26 Andrew Stubbs <andrew.stubbs@superh.com> + + * config/tc-sh.c (build_Mytes): Add REG_N_D and REG_N_B01 + nibble types to assembler. + +2004-02-25 Fred Fish <fnf@redhat.com> + + * config/tc-iq2000.c: Add missing \n\ in multiline string literal. + +2004-02-20 James E Wilson <wilson@specifixinc.com> + + * config/tc-ia64.c (slot_index): New arg before_relax. Use instead of + finalize_syms. + (fixup_unw_records): New arg before_relax. Pass to slot_index. + (ia64_estimate_size_before_relax): New. + (ia64_convert_frag): Pass 0 to fixup_unw_records. Add comment. + (generate_unwind_image): Pass 1 to fixup_unw_records. + * config/tc-ia64.h (ia64_estimate_size_before_relax): Declare. + (md_estimate_size_before_relax): Call ia64_estimate_size_before_relax. + +2004-02-19 Jakub Jelinek <jakub@redhat.com> + + * stabs.c (generate_asm_file): Avoid warning about use of + uninitialized variable. + +2004-02-18 David Mosberger <davidm@hpl.hp.com> + + * config/tc-ia64.c (ia64_flush_insns): In addition to prologue, + body, and endp, allow unwind records which do not have a "t" + (time/instruction) field. + +2004-02-17 Petko Manolov <petkan@nucleusys.com> + + * config/tc-arm.c (do_mav_dspsc_1): Correct offset of CRn. + (do_mav_dspsc_2): Likewise. + Fix accumulator registers move opcodes. + +2004-02-13 Hannes Reinecke <hare@suse.de> + Jakub Jelinek <jakub@redhat.com> + + * dwarf2dbg.c (get_filenum): Do not read beyond allocated memory. + +2004-02-10 Steve Ellcey <sje@cup.hp.com> + + * config/tc-ia64.h (ia64_frob_symbol): New declaration. + (tc_frob_symbol): New macro definition. + * config/tc-ia64.c (ia64_frob_symbol): New routine. + +2004-02-09 Daniel Jacobowitz <drow@mvista.com> + + * config/tc-arm.c (md_begin): Mark .note.gnu.arm.ident as + read-only. + +2004-02-09 Nathan Sidwell <nathan@codesourcery.com> + + * read.h (IGNORE_OPCODE_CASE): Do not define. Replace with ... + (TC_CASE_SENSITIVE): ... this. + * read.c: Replace IGNORE_OPCODE_CASE with TC_CASE_SENSITIVE. + * doc/internals.texi (TC_CASE_SENSITIVE): Document. + +2004-02-06 James E Wilson <wilson@specifixinc.com> + + * config/tc-ia64.c (dot_endp): Delete call to output_endp. + (generate_unwind_image): Re-add it here. + +2004-02-06 Nathan Sidwell <nathan@codesourcery.com> + + * dwarf2dbg.c (DWARF2_ADDR_SIZE): Remove trailing ';' + * read.h (SKIP_WHITESPACE): Turn into an expression. + * read.c (read_a_source_file): A pseudo is removed by having a + NULL handler. + +2004-02-05 James E Wilson <wilson@specifixinc.com> + + * config/tc-ia64.c (output_endp): New. + (count_bits): Delete. + (ia64_flush_insns, process_one_record, optimize_unw_records): Handle + endp unwind records. + (fixup_unw_records): Handle endp unwind records. Delete code for + shortening prologue regions not followed by a body record. + (dot_endp): Call add_unwind_entry to emit endp unwind record. + * config/tc-ia64.h (unw_record_type): Add endp. + +2004-02-03 James E Wilson <wilson@specifixinc.com> + + * config/tc-ia64.c (ia64_convert_frag): Call md_number_to_chars to + fill padding bytes with zeroes. + (emit_one_bundle): New locals last_ptr, end_ptr. Rewrite code that + sets unwind_record slot_number and slot_frag fields. + +2004-02-02 Maciej W. Rozycki <macro@ds2.pg.gda.pl> + + * config/tc-mips.c (add_got_offset_hilo): New function. + (macro): Use load_register() and add_got_offset_hilo() to load + constants instead of hardcoding code sequences throughout. + +2004-01-28 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-ia64.c (emit_one_bundle): Add proper indentation. + +2004-01-26 Bernardo Innocenti <bernie@develer.com> + + * config/tc-m68k.h (EXTERN_FORCE_RELOC): Handle m68k-uclinux specially, + like m68k-elf. + * config/tc-m68k.c (RELAXABLE_SYMBOL): Use EXTERN_FORCE_RELOC instead + of hard-coded test for TARGET_OS=elf. + +2004-01-24 Chris Demetriou <cgd@broadcom.com> + + * config/tc-mips.c (hilo_interlocks): Change definition + so that MIPS32, MIPS64 and later ISAs are included, along with + the already-included machines. Update comments. + +2004-01-23 Daniel Jacobowitz <drow@mvista.com> + + * config/tc-arm.c (tc_gen_reloc): Improve error message for + undefined local labels. + +2004-01-23 Richard Sandiford <rsandifo@redhat.com> + + * config/tc-mips.c (load_address, macro): Update comments about + NewABI GP relaxation. + +2004-01-23 Richard Sandiford <rsandifo@redhat.com> + + * config/tc-mips.c (macro_build): Remove place and counter arguments. + (mips_build_lui, macro_build_ldst_constoffset): Likewise. + (mips16_macro_build, macro_build_jalr): Remove counter argument. + (set_at, load_register, load_address, move_register): Likewise. + (load_got_offset, add_got_offset): Likewise. + Update all calls and tidy accordingly. + +2004-01-23 Richard Sandiford <rsandifo@redhat.com> + + * config/tc-mips.c (RELAX_ENCODE): Remove WARN argument. + (RELAX_FIRST, RELAX_SECOND): Turn into 8-bit quantities. + (RELAX_USE_SECOND): Bump to 0x10000. + (RELAX_SECOND_LONGER, RELAX_NOMACRO, RELAX_DELAY_SLOT): New flags. + (mips_macro_warning): New variable. + (md_assemble): Wrap macro expansion in macro_start() and macro_end(). + (s_cpload, s_cpsetup, s_cprestore, s_cpreturn): Likewise. + (relax_close_frag): Set mips_macro_warning.first_frag. Adjust use + of RELAX_ENCODE. + (append_insn): Update mips_macro_warning.sizes. + (macro_start, macro_warning, macro_end): New functions. + (macro_build): Don't emit warnings here. + (macro_build_lui, md_estimate_size_before_relax): ...or here. + (md_convert_frag): Check for cases where one macro alternative + needs a warning and the other doesn't. Emit a warning if the + longer sequence was chosen. + +2004-01-23 Richard Sandiford <rsandifo@redhat.com> + + * config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): Remove. + * config/tc-mips.c (RELAX_ENCODE): Take three arguments: the size of + the first sequence, the size of the second sequence, and a flag + that says whether we should warn. + (RELAX_OLD, RELAX_NEW, RELAX_RELOC[123]): Delete. + (RELAX_FIRST, RELAX_SECOND): New. + (mips_relax): New variable. + (relax_close_frag, relax_start, relax_switch, relax_end): New fns. + (append_insn): Remove "place" argument. Use mips_relax.sequence + rather than "place" to check whether we're expanding the second + alternative of a relaxable macro. Remove redundant check for + branch relaxation. If generating a normal insn, and there + is not enough room in the current frag, call relax_close_frag() + to close it. Update mips_relax.sizes[]. Emit fixups for the + second version of a relaxable macro. Record the first relaxable + fixup in mips_relax. Remove tc_gen_reloc workaround. + (macro_build): Remove all uses of "place". Use mips_relax.sequence + in the same way as in append_insn. + (mips16_macro_build): Remove "place" argument. + (macro_build_lui): As for macro_build. Don't drop the add_symbol + when generating the second version of a relaxable macro. + (load_got_offset, add_got_offset): New functions. + (load_address, macro): Use new relaxation machinery. Remove + tc_gen_reloc workarounds. + (md_estimate_size_before_relax): Set RELAX_USE_SECOND if the second + version of a relaxable macro is needed. Return -RELAX_SECOND if the + first version is needed. + (tc_gen_reloc): Remove relaxation handling. + (md_convert_frag): Go through the fixups for a relaxable macro and + mark those that belong to the unneeded alternative as done. If the + second alternative is needed, adjust the fixup addresses to account + for the deleted first alternative. + +2004-01-23 Richard Sandiford <rsandifo@redhat.com> + + * frags.h (frag_room): Declare. + * frags.c (frag_room): New function. + * doc/internals.texi: Document it. + +2004-01-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> + + * config/tc-mips.c (append_insn): Don't do r3900 interlock + optimization for -mtune=r3900, as this will break on other CPUs. + +2004-01-11 Tom Rix <tcrix@worldnet.att.net> + + * config/tc-m68hc11.c (build_indexed_byte): movb and movw cannot + be relaxed, use fixup. + (md_apply_fix3): Use 5 bit reloc from movb and movw fixup. + +2004-01-19 Jakub Jelinek <jakub@redhat.com> + + * config/tc-sparc.c (sparc_ip): Disallow %f32-%f63 for single + precision operands. + +2004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl> + + * config/tc-mips.c (append_insn): Properly detect variant frags + that preclude swapping of relaxed branches. Correctly swap + instructions between frags when dealing with relaxed branches. + +2004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl> + + * acinclude.m4: Quote names of macros to be defined by AC_DEFUN + throughout. + * aclocal.m4: Regenerate. + * configure: Regenerate. + +2004-01-12 Anil Paranjpe <anilp1@KPITCummins.com> + + * config/tc-h8300.c (build_bytes): Apply relaxation to bit + manipulation insns. + +2004-01-12 Richard Sandiford <rsandifo@redhat.com> + + * config/tc-mips.c (macro_build_jalr): When adding an R_MIPS_JALR + reloc, reserve space for the delay slot as well as the jalr itself. + +2004-01-09 Paul Brook <paul@codesourcery.com> + + * config/tc-arm.c (do_vfp_reg2_from_sp2): Rename from do_vfp_sp_reg2. + (do_vfp_sp2_from_reg2): New function. + (insns): Use them. + (do_vfp_dp_from_reg2): Check return values properly. + +2004-01-08 Ian Lance Taylor <ian@wasabisystems.com> + + * config/tc-mips.c (warn_nops): Remove static variable. + (macro): Remove test of warn_nops. + (md_shortops): Remove 'n'. + (md_parse_option): Remove 'n' case. + (md_show_usage): Remove -n. + * doc/as.texinfo (Overview): Remove MIPS -n option. + * doc/c-mips.texi (MIPS Opts): Remove mention -n. + * NEWS: Mention removal of MIPS -n option. + + * config/tc-mips.c (ISA_HAS_COPROC_DELAYS): Remove. + (cop_interlocks): Check ISA level. + (cop_mem_interlocks): Define. + (reg_needs_delay): Check cop_interlocks rather than + ISA_HAS_COPROC_DELAYS. + (append_insn): Likewise. Use cop_mem_interlocks rather than + directly checking mips_opts.isa. + (mips_emit_delays): Likewise. + +2004-01-07 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-ia64.c (unwind): Move next_slot_number and + next_slot_frag to ... + (unw_rec_list): Here. + (free_list_records): Removed. + (output_unw_records): Likewise. + (generate_unwind_image): Make it void. + (alloc_record): Initialize next_slot_number and next_slot_frag. + (slot_index): Take .org, .space and .align into account. + (fixup_unw_records): Don't set slot_number to 0. Use + list->next_slot_number and list->next_slot_frag instead of + unwind.next_slot_number and unwind.next_slot_frag. + (ia64_convert_frag): New. + (generate_unwind_image): Generate a rs_machine_dependent frag + for unwind record. + (emit_one_bundle): Use list->next_slot_number and + list->next_slot_frag instead of unwind.next_slot_number and + unwind.next_slot_frag. + + * config/tc-ia64.h (md_convert_frag): Defined as + ia64_convert_frag. + (md_estimate_size_before_relax): Defined as (f)->fr_var. + +2004-01-06 Alexandre Oliva <aoliva@redhat.com> + + 2003-12-19 Alexandre Oliva <aoliva@redhat.com> + * config/tc-frv.h (md_apply_fix3): Don't define. + * config/tc-frv.c (md_apply_fix3): New. Shift/truncate %hi/%lo + operands. + * config/tc-frv.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define. + 2003-10-07 Alexandre Oliva <aoliva@redhat.com> + * config/tc-frv.c (line_separator_chars): Add `!'. + 2003-09-19 Alexandre Oliva <aoliva@redhat.com> + * config/tc-frv.c (md_assemble): Clear insn upfront. + 2003-09-18 Alexandre Oliva <aoliva@redhat.com> + * config/tc-frv.c (OPTION_FDPIC): New macro. + (md_longopts): Add mfdpic. + (md_parse_option): Handle it. + 2003-08-04 Alexandre Oliva <aoliva@redhat.com> + * config/tc-frv.c (md_cgen_lookup_reloc) <FRV_OPERAND_D12, + FRV_OPERAND_S12>: Use reloc type encoded in fix-up. + (frv_pic_ptr): Parse funcdesc. + +2004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl> + + * doc/as.texinfo: Let texi2pod parse asconfig.texi and + gasver.texi. Remove duplicate symbol definitions for texi2pod. + +2004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl> + + * Makefile.am (Makefile): Move the dependency on + $(BFDDIR)/configure.in to... + (CONFIG_STATUS_DEPENDENCIES): ... here. + (AUTOMAKE_OPTIONS): Require automake 1.8. + * Makefile.in: Regenerate. + * doc/Makefile.am (BASEDIR, BFDDIR): Define. + (CONFIG_STATUS_DEPENDENCIES): Add a dependency on + $(BFDDIR)/configure.in here as well. + * doc/Makefile.in: Regenerate. + +2004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl> + + * Makefile.am (install, install-info, RECURSIVE_TARGETS): Remove. + * Makefile.in: Regenerate. + * aclocal.m4: Regenerate. + * doc/Makefile.am (install, install-info): Remove. + (install-data-local): A new hook for install-info. + (AUTOMAKE_OPTIONS): Require automake 1.8. + * doc/Makefile.in: Regenerate. + +2004-01-02 Nutan Singh <nutan@kpitcummins.com> + + * doc/c-sh.texi: Update description about floating point behavior + of SH family. + +2004-01-02 Bernardo Innocenti <bernie@develer.com> + + * configure.in: Add m68k-uClinux target. + * configure: Regenerate. + +For older changes see ChangeLog-0203 + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/gas/ChangeLog-2005 b/gas/ChangeLog-2005 new file mode 100644 index 0000000..42ae089 --- /dev/null +++ b/gas/ChangeLog-2005 @@ -0,0 +1,4292 @@ +2005-12-30 Sterling Augustine <sterling@tensilica.com> + Bob Wilson <bob.wilson@acm.org> + + * config/tc-xtensa.c (op_placement_info_struct): Delete single, + single_size, widest, and widest_size fields. Add narrowest_slot. + (xg_emit_insn_to_buf): Remove fmt parameter and compute it here. + Use xg_get_single_slot to find the slot. + (finish_vinsn): Use emit_single_op instead of bundle_single_op. + (bundle_single_op): Rename this to.... + (bundle_tinsn): ...this function, which builds a vliw_insn but does + not call finish_vinsn. + (emit_single_op): Use bundle_tinsn instead of bundle_single_op. + (relax_frag_immed): Get num_slots from cur_vinsn. + (convert_frag_narrow): Update call to xg_emit_insn_to_buf. + (convert_frag_immed): Likewise. Also, get num_slots from cur_vinsn. + (init_op_placement_info_table): Set narrowest_slot field. Remove + code for deleted fields. + (xg_get_single_size): Return narrowest_size field, not single_size. + (xg_get_single_format): Return narrowest field, not single. + (xg_get_single_slot): New. + (tinsn_to_insnbuf): Rewrite to use tinsn_to_slotbuf. + * config/xtensa-relax.c (widen_spec_list): Add wide branch relaxations. + (transition_applies): Check wide branch option availability. + +2005-12-29 Sterling Augustine <sterling@tensilica.com> + + * config/tc-xtensa.h (MAX_MEM_FOR_RS_ALIGN_CODE): Define. + +2005-12-29 Sterling Augustine <sterling@tensilica.com> + + * config/tc-xtensa.c (tinsn_to_slotbuf): Do not zero slotbuf. + +2005-12-27 Nathan Sidwell <nathan@codesourcery.com> + + * config/tc-mt.c (mt_arch): Default to ms1_16_002. + (md_parse_options): Only allow lowercase. + (md_show_usage): Update. + +2005-12-27 Leif Ekblad <leif@rdos.net> + + * configure.tgt: Add support for RDOS targets. + +2005-12-27 James Troup <james@nocrew.org> + + PR 1300 + * config/tc-arm.c (md_apply_fix): Fix casts to match type in + printf format. + +2005-12-27 Alan Modra <amodra@bigpond.net.au> + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + * po/POTFILES.in: Regenerate. + +2005-12-22 Jan Beulich <jbeulich@novell.com> + + * symbols.h (snapshot_symbol): First parameter is now pointer + to pointer to symbolS. + * symbols.c (snapshot_symbol): Likewise. Store resulting symbol + there. Use symbol_equated_p. + * expr.c (resolve_expression): Change first argument to + snapshot_symbol. Track possibly changed add_symbol consistently + across function. Resolve more special cases with known result. + Also update final_val when replacing add_symbol. + +2005-12-13 Jan-Benedict Glaw <jbglaw@lug-owl.de> + + * config/tc-vax.c: Convert to ISO C90 format. Fix formatting and + white space usage as well. + +2005-12-20 Sterling Augustine <sterling@tensilica.com> + + * config/tc-xtensa.c (xtensa_mark_narrow_branches): Set + is_aligning_branch flag. + (find_address_of_next_align_frag): Limit by xtensa_fetch_width. + (future_alignment_required): Except for frags with is_aligning_branch + flag set, call frag_wane for frags that do not need to be reexamined + for aligning. + (relax_frag_immed): Replace orig_vinsn with cur_vinsn to fix a leak. + (convert_frag_immed): Likewise. + (convert_frag_narrow): Check is_aligning_branch flag. + * config/tc-xtensa.h (xtensa_frag_type): Add is_aligning_branch flag. + +2005-12-20 Sterling Augustine <sterling@tensilica.com> + + * config/tc-xtensa.c (xg_find_narrowest_format): Optimize 1 slot case. + (xg_init_vinsn): Remove redundant initialization. + (xg_clear_vinsn): Zero all the slots with a single memset. + * config/xtensa-istack.h (vliw_insn): Move insnbuf field after slots. + +2005-12-20 Nathan Sidwell <nathan@codesourcery.com> + + * doc/t-mt.texi: Update MS1 to MT. + +2005-12-16 Nathan Sidwell <nathan@codesourcery.com> + + Second part of ms1 to mt renaming. + * configure: Rebuilt. + * configure.in (mt): Remove special case. + * config/tc-mt.c (opcodes/mt-desc.h, opcodes/mt-opc.h): Change + #includes. + (mt_insn, mt_mach, mt_mach_bitmask, mt_flags, mt_architectures): + Rename, adjust. + (md_parse_option, md_show_usage, md_begin, md_assemble, + md_cgen_lookup_reloc, md_atof): Adjust. + (mt_force_relocation, mt_apply_fix, mt_fix_adjustable): Rename, adjust. + * config/tc-mt.h (TC_MT): Rename. + (LISTING_HEADER, TARGET_ARCH, TARGET_FORMAT): Adjust. + (md_apply_fix): Adjust. + (mt_apply_fix, mt_fix_adjustable, mt_force_relocation): Rename. + (TC_FORCE_RELOCATION, tc_fix_adjustable): Adjust. + +2005-12-14 Jan Beulich <jbeulich@novell.com> + + * config/tc-i386.c (add_prefix): More fine-grained handling of + REX prefixes. Or new prefix value into i.prefix instead of + assigning. + +2005-12-13 DJ Delorie <dj@redhat.com> + + * config/tc-m32c.c (m32c_md_end): Only pad code sections. + +2005-12-12 Paul Brook <paul@codesourcery.com> + + * config/tc-arm.c (do_branch): Generate EABI branch relocations. + (do_bl): New function. + (do_blx): Generate BFD_RELOC_ARM_PCREL_CALL relocation. + (do_t_blx): Generate BFD_RELOC_THUMB_PCREL_BRANCH23. + (insns): Use do_bl. + (md_pcrel_from_section): Add BFD_RELOC_ARM_PCREL_CALL and + BFD_RELOC_ARM_PCREL_JUMP. + (md_apply_fix): Merge BFD_RELOC_ARM_PCREL_BRANCH and + BFD_RELOC_ARM_PCREL_BLX cases. Handle BFD_RELOC_ARM_PCREL_CALL and + BFD_RELOC_ARM_PCREL_JUMP. + (tc_gen_reloc): Handle BFD_RELOC_ARM_PCREL_CALL and + BFD_RELOC_ARM_PCREL_JUMP. + gas/testsuite/ + * gas/arm/pic.d: Allow R_ARM_CALL relocations. + +2005-12-12 Nathan Sidwell <nathan@codesourcery.com> + + * configure.in: Replace ms1 arch with mt arch. + * configure: Rebuilt. + * configure.tgt: Replace ms1 arch with mt arch. + * config/tc-mt.c: Renamed from tc-ms1.c: Update include files. + * doc/Makefile.am (CPU_DOCS): Replace ms1 files with mt files. + * doc/Makefile.in: Rebuilt. + +2005-12-07 Hans-Peter Nilsson <hp@axis.com> + + Change 32-bit-branch expansion for --pic. + * config/tc-cris.c (STATE_COND_BRANCH_PIC): New relaxation state. + (md_cris_relax_table): Add entry for STATE_COND_BRANCH_PIC. + (cris_any_v0_v10_long_jump_size_pic): New macro. + (md_estimate_size_before_relax): Handle STATE_COND_BRANCH_PIC. + (md_convert_frag): Similar. + (md_create_long_jump): Change 32-bit-branch expansion for --pic. + (md_assemble, gen_cond_branch_32): Adjust similarly. + (md_parse_option) <case OPTION_PIC>: Adjust md_long_jump_size. + <case OPTION_ARCH>: Similar, if --pic. + +2005-12-06 H.J. Lu <hongjiu.lu@intel.com> + + PR gas/1874 + * config/tc-i386.c (match_template): Handle monitor. + (process_suffix): Likewise. + +2005-12-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + Bug gas/1948 + * symbols.c (colon): Also check if now_seg is bss_section when a symbol + is being redefined. + +2005-12-02 Arnold Metselaar <arnoldm@sourceware.org> + + * config/tc-z80.c (emit_ldreg): fix bug in ld rr,<xx> + +2005-11-26 Arnold Metselaar <arnoldm@sourceware.org> + + * config/tc-z80.c (z80_start_line_hook): issue an error when + redefining a symbol with equ + * doc/as.texinfo(equ<z80>): mention difference with .equiv + * doc/as.texinfo(err): fix typo + * doc/c-z80.texi(equ): redefining a symbol with equ is no longer + allowed + +2005-11-24 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + Bug gas/1896 + * config/tc-hppa.c (hppa_fix_adjustable): Don't reject for reduction + R_HPPA relocations that are 32-bits wide. + +2005-11-23 Daniel Jacobowitz <dan@codesourcery.com> + Thiemo Seufer <ths@networkno.de> + + * config/tc-mips.c (append_insn): Handle BFD_RELOC_16_PCREL_S2. + (macro_build): Complain for invalid branch displacements. + (mips_validate_fix): Delete. + (md_apply_fix): Re-add pcrel support for branches. Use consistent + text for misaligned branch targets. + (tc_gen_reloc: Re-add pcrel support for branches. Handle strange + BFD pcrel processing. Remove error for unresolved branches. + * config/tc-mips.h (TC_VALIDATE_FIX, mips_validate_fix): Delete. + +2005-11-22 James E Wilson <wilson@specifix.com> + + * config/tc-ia64.c (emit_one_bundle): Perform last_slot < 0 check + even when manual_bundling isn't set. + + * config/tc-ia64.c (slot_index): Emit an error instead of a warning + when the frag chain is broken by section switching. + +2005-11-18 Jie Zhang <jie.zhang@analog.com> + + * config/bfin-defs.h (IS_BREG, IS_LREG): New macros. + * config/bfin-parse.y (asm_1): Check register type for load immediate + instruction. + +2005-11-17 Alexandre Oliva <aoliva@redhat.com> + + * config/tc-ppc.c (ppc_frob_file_before_adjust): Do not reference + dotname. + * write.c (write_object_file): Do not remove used weakrefd. + +2005-11-17 Jan Beulich <jbeulich@novell.com> + + * dw2gencfi.c (dot_cfi): Put argument parsing for cases + DW_CFA_restore and DW_CFA_undefined in a loop. + +2005-11-17 Jan Beulich <jbeulich@novell.com> + + + * symbols.h (S_CLEAR_VOLATILE): Declare. + * symbols.c (colon): Also accept redefinable symbols for + redefinition. Clone them before modifying. + (S_CLEAR_VOLATILE): Define. + * cond.c (s_ifdef): Also test for equated symbols. + * read.c (s_comm_internal): Also exclude non-redefinable + equated symbols. Clone redefinable ones before modifying. + (s_weakref): Clone redefinable symbols before modifying. + * doc/internals.texi: Document sy_volatile, sy_forward_ref, + S_IS_VOLATILE, S_SET_VOLATILE, S_CLEAR_VOLATILE, + S_IS_FORWARD_REF, and S_SET_FORWARD_REF. + +2005-11-16 Alan Modra <amodra@bigpond.net.au> + + * config/tc-hppa.c (pa_comm): Set bfd_com_section segment. + +2005-11-16 Alan Modra <amodra@bigpond.net.au> + + * configure.tgt (i386-*-gnu*): Set em=gnu. + * config/te-gnu.h: New file. + * config/tc-i386.c: Don't use '/' as comment char for TE_GNU. + +2005-11-16 Alan Modra <amodra@bigpond.net.au> + + * config/tc-ppc.c (ppc_pe_comm): Set bfd_com_section segment. + * config/tc-alpha.c (s_alpha_comm): Likewise. Also, remove + redundant check. + * read.c (s_lsym): Remove non-BFD assembler sym handling. + +2005-11-16 Alan Modra <amodra@bigpond.net.au> + + * read.c (s_comm_internal): Set bfd_com_section segment. + (s_mri_common): Likewise. + * write.c (write_object_file): Remove non-BFD assembler common + sym handling. + +2005-11-15 Daniel Jacobowitz <dan@codesourcery.com> + + * config/tc-arm.c (s_arm_unwind_save_core): Don't emit an extra + opcode if r4-r15 are not saved. + +2005-11-15 Alan Modra <amodra@bigpond.net.au> + + * symbols.c (S_GET_VALUE): Remove non-BFD assembler recursion guard. + +2005-11-14 Jan Beulich <jbeulich@novell.com> + + * config/tc-ia64.c (AR_FCR, AR_EFLAG, AR_CSD, AR_SSD, AR_CFLG, + AR_FSR, AR_FIR, AR_FDR, AR_CCV, AR_EC): Define. + (ar): Use AR_* instead of literals. + (CR_DCR, CR_ITM, CR_IVA, CR_PTA, CR_GPTA, CR_LID, CR_ITV, + CR_PMV, CR_CMCV): Define. + (cr): Use CR_* instead of literals. + +2005-11-14 Jan Beulich <jbeulich@novell.com> + + * config/tc-ia64.c (md): Rename regsym to indregsym and move + it to the end of the structure. + (ar): Field regnum is unsigned. + (cr): Likewise: + (indirect_reg): Likewise. + (declare_register_set): Parameter regnum is unsigned. + (declare_register): Parameter numregs and base_regnum are + unsigned. So is the local loop variable. + (md_begin): Restrict scope of local variable regnum, which + also is unsigned. Replace loops with function calls where + possible. Re-order things so that register groups are kept + together. Remove all uses of regsym except for indirect + registers. Replace use of regsym by indregsym for indirect + registers. + (ia64_optimize_expr): Replace use of regsym by indregsym for + indirect registers, with appropriate bias. + +2005-11-14 David Ung <davidu@mips.com> + + * config/tc-mips.c (mips16_ip): Add handling of 'm' and 'M' codes + for the MIPS16e save/restore instructions. + +2005-11-11 Jan Beulich <jbeulich@novell.com> + + * doc/Makefile.am: Make asconfig.texi writeable before trying + to write to it. + * doc/Makefile.in: Refresh. + +2005-11-10 Jan Beulich <jbeulich@novell.com> + + * config/tc-i386.c (intel_e11): Don't special-case segment + registers in brackets. + +2005-11-10 Nick Clifton <nickc@redhat.com> + + * config/tc-arm.c (BAD_ADDR_MODE): Define. + (arm_reg_parse_multi): Return NULL rather than FAIL. + (arm_reg_parse): Fix comment, the function returns FAIL rather + than NULL if it is unable to parse the register name. + (do_ldrex): Use BAD_ADDR_MODE. + Change error message for PC-relative addressing. + (do_strex): Likewise. + (do_t_ldrex): Use BAD_ADDR_MODE. + (do_t_strex): Likewise. + +2005-11-08 Jean-Jacques Metayer <jean-jacques.metayer@thomson.net> + + * config/tc-sparc.c (isoctal): Fix thinko. + +2005-11-08 Arnold Metselaar <arnold.metselaar@planet.nl> + + * expr.c (operand <case '$'>): Use DOLLAR_AMBIGU rather than + flag_mri_m68k as condition for parsing the '$' as a prefix. + * as.h (DOLLAR_AMBIGU): Define if needed. + +2005-11-08 Nathan Sidwell <nathan@codesourcery.com> + + Add ms2 support. + * config/tc-ms1.c (ms1_mach_bitmask): Initialize to MS1. + (ms1_architectures): Add ms2. + (md_parse_option): Add ms2. + (md_show_usage): Add ms2. + (md_assemble): Add JAL_HAZARD detection logic. + (md_cgen_lookup_reloc): Add MS1_OPERAND_LOOPSIZE case. + * doc/c-ms1.texi: New. + * doc/all.texi: Add MS1. + * doc/Makefile.am (CPU_DOCS): Add c-ms1.texi. + * doc/Makefile.in: Rebuilt. + * doc/Makefile: Rebuilt. + +2005-11-07 Steve Ellcey <sje@cup.hp.com> + + * configure: Regenerate after modifying bfd/warning.m4. + +2005-11-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + PR gas/1804 + * config/tc-hppa.c (md_apply_fix): Use number_to_chars_bigendian to + output constant data. + +2005-11-07 Mark Mitchell <mark@codesourcery.com> + + * doc/Makefile.am (asconfig.texi): Set top_srcdir. + * doc/Makefile.in: Regenerated. + * doc/as.texinfo: Document "@FILE". + +2005-11-07 Nick Clifton <nickc@redhat.com> + + PR binutils/1568 + * config/obj-coff.c (obj_coff_section): Set readonly flag with the + 'x' attribute. Remember the actions of the 'w' and 'n' attributes + and do not allow the 'x','s' or 'd' attributes to change them. + +2005-11-07 John Levon <levon@movementarian.org> + + * config/tc-i386.h (tc_comment_chars): Define. + * config/tc-i386.c (line_comment_chars): Use '/' unconditionally. + (i386_comment_chars): Add. + (md_parse_options): Process OPTION_DIVIDE. + (md_show_usage): Describe --divide option. + * doc/c-i386.texi: Document --divide option. + +2005-11-07 Arnold Metselaar <arnold.metselaar@planet.nl> + + * expr.c (op_encoding): Map '=' to O_SINGLE_EQ, if defined. + * config/tc-z80.h: Define O_SINGLE_EQ as O_eq. + +2005-11-07 Alan Modra <amodra@bigpond.net.au> + + * macro.c (buffer_and_nest): Skip labels regardless of + NO_PSEUDO_DOT and flag_m68k_mri. + +2005-11-07 Arnold Metselaar <arnold.metselaar@planet.nl> + + * expr.c (integer_constant): Match only 'B' as binary suffix if + NUMBERS_WITH_SUFFIX and LOCAL_LABELS_FB. Allow both 'b' and 'B' + otherwise. + +2005-11-04 Alexandre Oliva <aoliva@redhat.com> + + * read.c (s_weakref): Do not permit redefinitions. + * symbols.c (colon): Do not permit redefinitions of equated + symbols. + +2005-11-01 Thiemo Seufer <ths@networkno.de> + + PR gas/1299 + * Makefile.am: Disable -Werror for the itbl-lex.o rule. + * Makefile.in: Regenerate. + +2005-11-01 Thiemo Seufer <ths@networkno.de> + + * config/tc-mips.c (md_parse_option): Fix typo in comment. + +2005-10-30 Mark Mitchell <mark@codesourcery.com> + + * as.c (show_usage): Document "@FILE". + +2005-10-30 H.J. Lu <hongjiu.lu@intel.com> + + * Makefile.am (OBJ_FORMATS): Remove vms. + Run "make dep-am". + * Makefile.in: Regenerated. + + * dep-in.sed: Replace " ./" with " ". + +2005-10-28 Dave Brolley <brolley@redhat.com> + + Contribute the following change: + 2005-09-19 Dave Brolley <brolley@redhat.com> + + * config/tc-m32c.c (default_isa): New static variable. + (m32c_isa): Now of type CGEN_BITSET. + (md_begin): Pass &m32c_isa to m32c_cgen_cpu_open. + +2005-10-28 Paul Brook <paul@codesourcery.com> + + * config/tc-arm.c (aeabi_set_public_attributes): Use selected_cpu + instead of mcpu_cpu_opt. + +2005-10-27 Sterling Augustine <sterling@tensilica.com> + + * config/tc-xtensa.c (find_vinsn_conflicts): Change error messages to + refer to "ports" instead of "queues". + (check_t1_t2_reads_and_writes): Pass correct interface values to + xtensa_interface_inout. + +2005-10-27 Jan Beulich <jbeulich@novell.com> + + * read.c (assign_symbol): Also consider equates already defined. + * symbols.c (symbol_clone): Also clone the underlying BFD symbol. + * config/obj-coff.h (obj_symbol_clone_hook): New. + (coff_obj_symbol_clone_hook): Declare. + * config/obj-coff.c (coff_obj_symbol_clone_hook): New. + +2005-10-26 DJ Delorie <dj@redhat.com> + + * config/tc-m32c.c (md_relax_table, subtype_mappings, + md_convert_frag): Add jsr.w support. + + * config/tc-m32c.c (md_assemble): Don't use errmsg as the format + itself. + (md_cgen_lookup_reloc): Add m32c bitbase operands. Add 8-s24 + and imm-8-HI operands. + +2005-10-26 Paul Brook <paul@codesourcery.com> + + * config/tc-arm.c (insns): Correct "sel" entry. + +2005-10-26 Jan Beulich <jbeulich@novell.com> + + * config/tc-i386.c (i386_operand): Don't check register prefix here. + (parse_real_register): Rename from parse_register. + (parse_register): New. + (i386_parse_name): New. + (md_operand): New. + (intel_e11): Don't tolerate registers in offset expressions anymore. + (intel_get_token): Don't check register prefix here. Copy the actual + register token, not the canonical register name. + * config/tc-i386.h (md_operand): Delete. + (i386_parse_name): Declare. + (md_parse_name): Define. + +2005-10-25 Arnold Metselaar <arnold.metselaar@planet.nl> + + * Makefile.am: Add Z80 cpu. + * Makefile.in: Regenerated. + * app.c (do_scrub_chars)<TC_Z80>: Correctly scrub "ex af,af'" + and disallow newlines in quoted strings. + * configure.tgt: Add z80-*-coff. + * config/obj-coff.h: Add format "coff-z80". + * doc/Makefile.am: Add c-z80.texi. + * doc/Makefile.in: Regenerated. + * doc/all.texi: Add Z80. + * doc/c-z80.texi: New file + * doc/as.texinfo: Add z80 options and some z80-related remarks. + * config/tc-z80.c: New file + * config/tc-z80.h: New file + * NEWS: Mention new support. + +2005-10-25 H.J. Lu <hongjiu.lu@intel.com> + + * write.c (adjust_reloc_syms): Undo the change made on + 2005-04-26 to allow local symbol set to undefined symbol. + +2005-10-24 H.J. Lu <hongjiu.lu@intel.com> + + * Makefile.am (bfin-parse.tab.h): Removed. + (bfin-parse.h): Added. + * Makefile.in: Regenerated. + +2005-10-25 Alan Modra <amodra@bigpond.net.au> + + * po/POTFILES.in: Regenerate. + * po/gas.pot: Regenerate. + +2005-10-24 Bernd Schmidt <bernd.schmidt@analog.com> + + * config/tc-bfin.c (Expr_Node_Gen_Reloc): If have symbol + constant, + make a single reloc with an offset rather than a stack. + * config/tc-bfin.h (MD_APPLY_SYM_VALUE): Define to 0. + +2005-10-24 Alexandre Oliva <aoliva@redhat.com> + + * read.c (potable): Add weakref. + (s_weakref): New. + * read.h (s_weakref): Declare. + * struc-symbol.h (struct symbol): Add sy_weakrefr and sy_weakrefd. + * symbols.c (colon): Clear weakrefr. + (symbol_find_exact): Rename to, and reimplement in terms of... + (symbol_find_exact_noref): ... new function. + (symbol_find): Likewise... + (symbol_find_noref): ... ditto. + (resolve_symbol_value): Resolve weakrefr without setting their + values. + (S_SET_WEAK): Call hook. + (S_GET_VALUE): Follow weakref link. + (S_SET_VALUE): Clear weakrefr. + (S_IS_WEAK): Follow weakref link. + (S_IS_WEAKREFR, S_SET_WEAKREFR, S_CLEAR_WEAKREFR): New. + (S_IS_WEAKREFD, S_SET_WEAKREFD, S_CLEAR_WEAKREFD): New. + (symbol_set_value_expression, symbol_set_frag): Clear weakrefr. + (symbol_mark_used): Follow weakref link. + (print_symbol_value_1): Print weak, weakrefr and weakrefd. + * symbols.h (symbol_find_noref, symbol_find_exact_noref): Declare. + (S_IS_WEAKREFR, S_SET_WEAKREFR, S_CLEAR_WEAKREFR): Declare. + (S_IS_WEAKREFD, S_SET_WEAKREFD, S_CLEAR_WEAKREFD): Declare. + * write.c (adust_reloc_syms): Follow weakref link. Do not + complain if target is undefined. + (write_object_file): Likewise. Remove weakrefr symbols. Drop + unreferenced weakrefd symbols. + * config/obj-coff.c (obj_frob_symbol): Do not force WEAKREFD + symbols EXTERNAL. + (pecoff_obj_set_weak_hook, pecoff_obj_clear_weak_hook): New. + * config/obj-coff.h (obj_set_weak_hook, obj_clear_weak_hook): Define. + * doc/as.texinfo: Document weakref. + * doc/internals.texi: Document new struct members, internal + functions and hooks. + +2005-10-24 Jie Zhang <jie.zhang@analog.com> + + * Makefile.am (bfin-parse.h): Renamed from bfin-parse.tab.h. + (EXTRA_DIST): Add bfin-parse.h and bfin-lex.c. + * Makefile.in: Regenerate. + * config/bfin-lex.l: Include bfin-parse.h instead of bfin-parse.tab.h. + * config/tc-bfin.c (md_chars_to_number): Change the type of first + argument from unsigned char * to char * to remove signedness warnings. + +2005-10-24 Jan Beulich <jbeulich@novell.com> + + * config/tc-ia64.c (enum reg_symbol): Delete IND_MEM. + (dot_rot): Change type of num_* variables. Check for positive count. + (ia64_optimize_expr): Re-structure. + (md_operand): Check for general register. + +2005-10-24 Jan Beulich <jbeulich@novell.com> + + * config/tc-ia64.c (declare_register): Call symbol_create. + (md_begin): Remove local variables total, ar_base, and cr_base. + Start loops for registers at their respective first one. Don't + update md.regsym for alias names. Generate alias name tp for r13. + +2005-10-21 DJ Delorie <dj@redhat.com> + + * config/tc-m32c.c (md_cgen_lookup_reloc): Add more relocs. Print + names unstead of numbers. + +2005-10-19 David Ung <davidu@mips.com> + + * config/tc-mips.c (append_insn): Convert MIPS16 jr/jalr jumps + into jrc/jalrc versions if ISA_MIPS32+ and not doing the swap, + hence avoiding to emit a nop. + +2005-10-19 Jie Zhang <jie.zhang@analog.com> + + * config/tc-bfin.c (md_begin): Let the lex_type of '(' be + LEX_BEGIN_NAME. + (bfin_start_line_hook): Remove the workaround for LSETUP(. + (bfin_name_is_register): Remove the workarounds for LSETUP( + and SAA(. + (bfin_start_label): Ditto. + +2005-10-18 Bob Wilson <bob.wilson@acm.org> + + * config/tc-xtensa.c (xtensa_end_directive): Restore + default_lit_sections regardless of use_literal_section. + +2005-10-18 Jie Zhang <jie.zhang@analog.com> + + * Makefile.am (bfin-lex.c): Update ylwrap invocation. + * Makefile.in: Regenerated. + +2005-10-18 Arnold Metselaar <arnold.metselaar@planet.nl> + + * doc/as.texinfo (.loc) Fix placement of '@end table'. + +2005-10-17 Bob Wilson <bob.wilson@acm.org> + + * config/xtensa-istack.h (TInsn): Replace dwarf2_line_info with an + unsigned line number. Do not include "dwarf2dbg.h". + * config/tc-xtensa.c (md_pseudo_table): Remove entry for "loc". + (xtensa_dwarf2_directive_loc, xtensa_dwarf2_emit_insn): Delete. + (xg_build_to_insn, xg_build_token_insn): Update TInsn uses. + (md_assemble): Use as_where instead of dwarf2_where. + (xg_assemble_vliw_tokens): Use unsigned line numbers instead of + dwarf2_line_infos. Change to call new_logical_line followed by + dwarf2_emit_insn. + +2005-10-14 Mike Frysinger <vapier@gentoo.org> + + * doc/as.texinfo (Section): Add missing ']' to .section example. + +2005-10-12 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + PR binutils/941 + * config/tc-hppa.c (pa_ip): Use as_bad instead of as_fatal when an + unknown opcode is found. + +2005-10-12 Mark Mitchell <mark@codesourcery.com> + + * NEWS: Mention @file. + +2005-10-12 Nick Clifton <nickc@redhat.com> + + * config/tc-avr.c: Convert to ISO C90 format. Fix formatting and + generally tidy up the code. + * config/tc-avr.h: Likewise. + +2005-10-12 Jan Beulich <jbeulich@novell.com> + + * config/tc-ia64.c (dot_reg_val): Use expression_and_evaluate. + (dot_pred_rel): Likewise. + (parse_operand): Likewise. + (ia64_unrecognized_line): Likewise. + (md_operand): Likewise. + +2005-10-11 Jan Beulich <jbeulich@novell.com> + + * expr.h (enum expr_mode): New. + (expression): Pass third argument to expr. + (expression_and_evaluate): New. + (deferred_expression): New. + (expr): Add third parameter. + (resolve_expression): New. + * struc-symbol.h (struct symbol): New members sy_volatile and + sy_forward_ref. + * symbols.c, symbols.h (symbol_clone): New. + (symbol_clone_if_forward_ref): New. + (snapshot_symbol): New. + (S_IS_VOLATILE): New. + (S_IS_FORWARD_REF): New. + (S_SET_VOLATILE): New. + (S_SET_FORWARD_REF): New. + * as.c (macro_expr): Use expression_and_evaluate. + * cond.c (s_if): Likewise. + (s_elseif): Likewise. + * dw2gencfi.c (cfi_parse_reg): Likewise. + * expr.c (operand): Add second parameter. Optionally call + deferred_expression. Pass mode argument to itself and md_parse_name. + Check mode before trying to evaluate symbol. Call + symbol_clone_if_forward_ref for both operands. + (expr): Add third parameter. Pass mode to operand and itself. + Optionally call resolve_expression. + (resolve_expression): New. + (get_single_number): Pass second argument to operand. + * read.c (potable): New entry for .eqv. + (read_a_source_file): Handle new == operator. + (get_absolute_expr): Use expression_and_evaluate. + (s_lsym): Likewise. + (assign_symbol): Rename second parameter. Call symbol_clone on + legal and illegal redefinition. Call S_SET_VOLATILE and + S_SET_FORWARD_REF depending on mode. + (s_set): Update description. + (s_space): Call resolve_expression. + (pseudo_set): Optionally call deferred_expression. Check + S_IS_FORWARD_REF before trying to simplify/resolve an expression. + (equals): Handle ==. + * config/tc-ia64.h (md_parse_name): Add mode parameter. + * config/tc-arc.c (arc_parse_cons_expression): Likewise. + * config/tc-m32r.h (md_parse_name): Likewise. + (m32r_parse_name): Likewise. + * config/tc-mmix.h (md_parse_name): Likewise. + * config/tc-mn10300.h (md_parse_name): Likewise. + (mn10300_parse_name): Likewise. + * config/tc-ppc.h (md_parse_name): Likewise. + * config/tc-sh.h (md_parse_name): Likewise. + (sh_parse_name): Likewise. + * config/tc-sh64.h (md_parse_name): Likewise. + (sh64_consume_datalabel): Likewise. + * config/tc-tic54x.h (md_parse_name): Likewise. + * config/tc-m32r.c (m32r_parse_name): Add mode parameter. Check it + before trying to evaluate symbol. + * config/tc-mn10300.c (mn10300_parse_name): Likewise. + * config/tc-sh.c (sh_parse_name): Likewise. + * config/tc-sh64.c (sh64_consume_datalabel): Add mode parameter. Pass + second argument to operandf. Pass mode parameter to sh_parse_name. + * doc/as.texinfo: Document .eqv and the == assignment operator. + +2005-10-10 Ian Lance Taylor <ian@airs.com> + + * Makefile.am (EXTRA_DIST): Remove bfin-lex.l and bfin-defs.h. + * Makefile.in: Regenerate. + +2005-10-10 Arnold Metselaar <arnold.metselaar@planet.nl> + + * expr.c (operator): Allow "!=" as a synonym for "<>". + * doc/as.texinfo (Infix Op): Mention "!=". + +2005-10-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + * config/tc-hppa.c (strict): Don't initialize. Update comment. + (pa_ip): Promote from PA 1.0 to 1.1 immediately when 1.1 match is + found. Simplify handling of "ma" and "mb" completers. + +2005-10-08 Paul Brook <paul@codesourcery.com> + + * config/tc-arm.c: Don't provide fallback default for CPU_DEFAULT. + (arm_arch_used, thumb_arch_used, selected_cpu, selected_cpu_name): + New variables. + (arm_cpu_option_table): Add canonical_name. + (arm_cpus): Populate canonical_name field. + (s_arm_eabi_attribute, s_arm_arch, s_arm_cpu, s_arm_fpu, + aeabi_set_public_attributes, arm_md_end): New functions. + (md_pseudo_table): Add "cpu", "arch", "fpu" and "eabi_attribute". + (md_assemble): Set thumb_arch_used and arm_arch_used. + (md_begin): Set defaut cpu if CPU_DEFAULT not defined. + * config/tc-arm.h (md_end): Define. + * doc/c-arm.texi: Document .cpu, .arch, .fpu and .eabi_attribute. + +2005-10-06 Khem Raj <kraj@mvista.com> + NIIBE Yutaka <gniibe@m17n.org> + + * config/tc-sh.c (allow_dollar_register_prefix): New variable. + (parse_reg_without_prefix): New function. + (parse_reg): Check for '$' register prefix if --allow-reg-prefix is + set. + (option md_longopts): Add allow-reg-prefix option. + * doc/c-sh.texi: Document --allow-reg-prefix option. + * NEWS: Mention the new switch. + +2005-10-03 Arnold Metselaar <arnold.metselaar@planet.nl> + + * doc/as.texinfo (Infix Ops): '<' and '>' are not shift + operators. + +2005-09-30 Sterling Augustine <sterling@tensilica.com> + Bob Wilson <bob.wilson@acm.org> + + * config/tc-xtensa.c (xtensa_frob_label): Disallow labels in bundles. + +2005-09-30 H.J. Lu <hongjiu.lu@intel.com> + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerated. + * aclocal.m4: Likewise. + +2005-09-30 Mark Mitchell <mark@codesourcery.com> + + * as.c (main): Use expandargv. + +2005-09-30 Jan Beulich <jbeulich@novell.com> + + * config/tc-tic4x.c (tic4x_set): Advance input_line_pointer past + (removed) comma. + +2005-09-30 Catherine Moore <clm@cm00re.com> + + * Makefile.am: Bfin support. + * Makefile.in: Regenerated. + * aclocal.m4: Regenerated. + * configure: Regenerated. + * configure.in: Bfin support. + * configure.tgt: Bfin support. + * config/bfin-aux.h: New file. + * config/bfin-defs.h: New file. + * config/bfin-lex.l: New file. + * config/bfin-parse.y: New file. + * config/tc-bfin.c: New file. + * config/tc-bfin.h: New file. + * doc/Makefile.am: Recognize c-bfin.texi. + * doc/Makefile.in: Regenerated. + * doc/all.texi: Bfin support. + * doc/as.texinfo: Likewise. + * doc/c-bfin.texi: Document bfin-specific syntax and + directives. + +2005-09-30 Paul Brook <paul@codesourcery.com> + + * config/tc-arm.c (opcode_tag): Add OT_cinfix3_legacy. + (opcode_lookup): Handle OT_cinfix3_legacy. Revert earlier change for + normal infix conditions. + (C3E): Include Thumb-2 definition. + (CL, cCL): Define. + (insns): Use them for legacy mnemonics. + +2005-09-30 Matthias Kurz <mk@baerlap.north.de> + + * asintl.h: Prevent the inclusion of <libintl.h> from the Solaris + version of <locale.h> when ENABLE_NLS is not defined. + +2005-09-29 Jan Beulich <jbeulich@novell.com> + + * config/tc-ia64.c (parse_operands): Always parse first operand of + alloc. + +2005-09-29 Arnold Metselaar <arnold.metselaar@planet.nl> + Alan Modra <amodra@bigpond.net.au> + + * app.c (do_scrub_chars): Match open and close quote of strings. + Remove redundant EOF test in case 7. + +2005-09-28 Jan Beulich <jbeulich@novell.com> + + * config/tc-i386.c (reloc): Disable signedness check for 4-byte + relocations in 16- and 32-bit modes. + (i386_displacement): Make pc-relative branch handling dependent + upon operand (rather than address) size. + +2005-09-28 Jan Beulich <jbeulich@novell.com> + + * dw2gencfi.c (dot_cfi): Call ignore_rest_of_line when not fully + parsing the input. + (dot_cfi_startproc): Likewise. + (dot_cfi_endproc): Likewise. Also check no extra input was given. + (dot_cfi_escape): Likewise. + +2005-09-28 Jan Beulich <jbeulich@novell.com> + + * config/tc-i386.h (x86_cons_fix_new): Declare unconditionally. + (TC_CONS_FIX_NEW): Define unconditionally. + (x86_pe_cons_fix_new): Remove. + * config/tc-i386.c (signed_cons): New. + (md_pseudo_table): Add slong. + (x86_cons_fix_new): Declare unconditionally. + (x86_pe_cons_fix_new): Merge into x86_cons_fix_new. + (tc_gen_reloc): Also consider BFD_RELOC_X86_64_32S for gotpc + conversion. + +2005-09-28 Arnold Metselaar <arnold.metselaar@planet.nl> + + * app.c (do_scrub_chars <LEX_IS_SYMBOL_COMPONENT>): Check for full + buffer after copying string. + +2005-09-27 Paul Brook <paul@codesourcery.com> + + * config/arm.c (arm_cpus): Add more cpu names. + * doc/c-arm.texi: Document them. + +2005-09-21 Alan Modra <amodra@bigpond.net.au> + + * read.c (pseudo_set): Don't set undefined symbols to expr_section. + +2005-09-20 Richard Henderson <rth@redhat.com> + + * dwarf2dbg.c (process_entries): Fix uninitialized variable warning. + +2005-09-20 Richard Henderson <rth@redhat.com> + + * dwarf2dbg.c (struct line_entry): Replace frag and frag_ofs + with label. + (dwarf2_loc_mark_labels): New. + (dwarf2_gen_line_info_1): Split out of ... + (dwarf2_gen_line_info): ... here. Create the temp symbol here. + (dwarf2_emit_label): New. + (dwarf2_directive_loc_mark_labels): New. + (out_set_addr): Take a symbol instead of frag+ofs. + (relax_inc_line_addr): Likewise. + (emit_inc_line_addr): Assert delta non-negative. + (process_entries): Remove dead code. Update to work with temp + symbols instead of frag+ofs. + * dwarf2dbg.h (dwarf2_directive_loc_mark_labels): Declare. + (dwarf2_emit_label, dwarf2_loc_mark_labels): Declare. + * config/obj-elf.c (elf_pseudo_tab): Add loc_mark_labels. + * config/obj-elf.h (obj_frob_label): New. + * config/tc-alpha.c (alpha_define_label): Call dwarf2_emit_label. + * config/tc-arm.c, config/tc-hppa.c, config/tc-m68k.c, + config/tc-mips.c, config/tc-ppc.c, config/tc-sh.c, config/tc-xtensa.c: + Similarly in the respective tc_frob_label implementation functions. + * config/tc-i386.c (md_pseudo_table): Move file and loc to + non-elf section; add loc_mark_labels. + * config/tc-ia64.c (struct label_fix): Add dw2_mark_labels. + (ia64_flush_insns): Check for marked labels; emit line entry if so. + (emit_one_bundle): Similarly. + (ia64_frob_label): Record marked labels. + * config/tc-m68hc11.h (tc_frob_label): Remove. + * config/tc-ms1.c (md_pseudo_table): Remove file and loc. + * config/tc-sh.h (tc_frob_label): Pass sym to sh_frob_label. + * config/tc-sh64.h (tc_frob_label): Likewise. + * doc/as.texinfo (LNS directives): Docuement .loc_mark_blocks. + +2005-09-20 Alan Modra <amodra@bigpond.net.au> + + * read.c (pseudo_set): Set segment of expression syms to expr_section. + +2005-09-14 Jan Beulich <jbeulich@novell.com> + + * config/tc-i386.c (tc_x86_regname_to_dw2regnum): Add selector + registers, floating point control and status words, and mxcsr as + well as (for 64-bit code) segment base registers and rflags. + +2005-09-09 Dmitry Diky <diwil@spec.ru> + + * config/tc-msp430.c (msp430_operands): Undo last changes. Instead... + (msp430_relax_frag): add a guard check to ensure that final fr_subtype + has been reached. + +2005-09-08 Chao-ying Fu <fu@mips.com> + + * doc/as.texinfo: Document -mdsp and -mno-dsp options. + * doc/c-mips.texi: Likewise, and document ".set dsp" and ".set nodsp" + directives. + +2005-09-08 Paul Brook <paul@codesourcery.com> + + * config/tc-arm.c (do_smi, do_t_smi): Rename ... + (do_smc, do_t_smc): ... to this. + (insns): Remane smi to smc. + (md_apply_fix, tc_gen_reloc): Rename BFD_RELOC_ARM_SMI to + BFD_RELOC_ARM_SMC. + +2005-09-07 Richard Henderson <rth@redhat.com> + + * dwarf2dbg.c (dwarf2_where): Set line->isa. + (dwarf2_set_isa): New. + (dwarf2_directive_loc): Rearrange to allow all options on one line. + * dwarf2dbg.h (dwarf2_set_isa): Declare. + * doc/as.texinfo: Update .loc documentation. + +2005-09-07 Richard Henderson <rth@redhat.com> + + * dwarf2dbg.c: Include safe-ctype.h. + (DWARF2_LINE_OPCODE_BASE): Bump to 13. + (current): Initialize. + (dwarf2_emit_insn): Clear DWARF2_FLAG_BASIC_BLOCK, + DWARF2_FLAG_PROLOGUE_END, DWARF2_FLAG_EPILOGUE_BEGIN. + (dwarf2_directive_file): Cope with invalid filename. + (dwarf2_directive_loc): Add handling for basic_block, prologue_end, + epilogue_begin, is_stmt, isa. + (emit_inc_line_addr): Move line_delta == 0, addr_delta == 0 special + case down lower. + (process_entries): Handle isa, DWARF2_FLAG_PROLOGUE_END, + and DWARF2_FLAG_EPILOGUE_BEGIN. + (out_debug_line): Emit sizes for DW_LNS_set_prologue_end, + DW_LNS_set_epilogue_begin, DW_LNS_set_isa. + * dwarf2dbg.h (DWARF2_FLAG_IS_STMT): Rename from DWARF2_FLAG_BEGIN_STMT. + (DWARF2_FLAG_BASIC_BLOCK): Rename from DWARF2_FLAG_BEGIN_BLOCK. + (DWARF2_FLAG_PROLOGUE_END, DWARF2_FLAG_EPILOGUE_BEGIN): New. + (struct dwarf2_line_info): Add isa member. + * doc/as.texinfo (LNS directives): New node. + +2005-09-07 David Ung <davidu@mips.com> + + * config/tc-mips.c (append_insn): Undo last change. Instead add + guard to suppress calling frag_grow if the current instruction is + one that allows a delay slot. + +2005-09-06 Chao-ying Fu <fu@mips.com> + + * config/tc-mips.c (mips_set_options): Add ase_mt for MT instructions. + (mips_opts): Add -1 to initialize ase_mt. + (file_ase_mt): New variable for -mmt. + (CPU_HAS_MT): New define. + (validate_mips_insn): Add supports for +t, +T, !, $, *, &, g operand + formats. + (mips_ip): Check ase_mt to enable MT instructions. + Handle !, $, *, &, +T, +t, g operand formats. + For "mftc1", "mfthc1", "cftc1", "mttc1", "mtthc1", "cttc1", we allow + odd float registers. + (OPTION_MT, OPTION_NO_MT): New define. + (OPTION_COMPAT_ARCH_BASE): Change because of inserting MT define. + (md_parse_option): Parse OPTION_MT and OPTION_NO_MT. + (mips_after_parse_args): Set ase_mt based on CPU. + (s_mipsset): Handle ".set mt" and ".set nomt". + (mips_elf_final_processing): Remind of adding new flag for MT ASE. + (md_show_usage): Show usage of -mmt and -mno-mt. + * doc/as.texinfo: Document -mmt and -mno-mt options. + * doc/c-mips.texi: Likewise, and document ".set mt" and ".set nomt" + directives. + +2005-09-06 Paul Brook <paul@codesourcery.com> + + * config/tc-arm.c (arm_it): Add relax field. + (T16_32_TAB): Add addi, addis, add_pc, add_sp, dec_sp, inc_sp, + b, bcond, ldr_pc, ldr_pc2, ldr_sp, str_sp, subi, subis. + (do_t_add_sub, do_t_addr, do_t_branch, do_t_ldst, + do_t_mov_cmp): Allow relaxation. + (output_relax_insn): New function. + (put_thumb32_insn): New function. + (output_inst): Use new functions. + (md_assemble): Don't throw error on relaxable instructions. + (insns): Change "b" entry from TCE(...) to tCE(...). + (md_estimate_size_before_relax): Return 2. + (md_convert_frag, relax_immediate, relax_adr, relax_addsub, + relax_branch, arm_relax_frag): New functions. + (arm_force_relocation): Return 0 for Thumb-2 immediate operand + relocations. + * config/tc-arm.h (md_convert_frag): Remove definition. + (md_relax_frag): Define. + (arm_relax_frag): Add prototype. + +2005-09-02 Paul Brook <paul@codesourcery.com> + + * config/tc-arm.c (do_rn_rd): Enforce SWP operand constraints. + +2005-09-02 Paul Brook <paul@codesourcery.com> + + * config/tc-arm.c (encode_arm_cp_address): Use + BFD_RELOC_ARM_T32_CP_OFF_IMM in thumb mode. + (do_iwmmxt_wldstbh): Use BFD_RELOC_ARM_T32_CP_OFF_IMM_S2 in thumb + mode. + (md_assemble): Only allow coprocessor instructions when Thumb-2 is + available. + (cCE, cC3): Define. + (insns): Use them for coprocessor instructions. + (md_pcrel_from_section): Handle BFD_RELOC_ARM_T32_CP_OFF_IMM. + (get_thumb32_insn): New function. + (put_thumb32_insn): New function. + (md_apply_fix): Handle BFD_RELOC_ARM_T32_CP_OFF_IMM and + BFD_RELOC_ARM_T32_CP_OFF_IMM_S2. + +2005-09-02 Paul Brook <paul@codesourcery.com> + + * config/tc-arm.c (opcode_lookup): Look for infix opcode when + incorrect suffix matches. + +2005-09-01 David Ung <davidu@mips.com> + + * config/tc-mips.c (append_insn): Correctly handle mips16 case + when the frags are different for the 2 instructions we want to + swap. If the lengths of the 2 instructions are not the same, we + won't do the swap but emit an nop. + +2005-09-01 Dmitry Diky <diwil@spec.ru> + + * config/tc-msp430.c (msp430_operands): Emit dwarf2_emit_insn() + as appropriate. Change frag_variant() to frag_var() for relaxes. + +2005-08-29 Nick Clifton <nickc@redhat.com> + + * write.c (generic_force_reloc): Do not call S_FORCE_RELOC if + there is no symbol. + +2005-08-26 Jan Beulich <jbeulich@novell.com> + + * config/tc-i386.c (intel_e09): Set JumpAbsolute when seeing a PTR- + qualified operand of a branch. + (intel_bracket_expr): Set JumpAbsolute here... + (intel_e11): ... rather than here. + +2005-08-26 Christian Groessler <chris@groessler.org> + + * configure.tgt: Set bfd_gas also for z8k cpu. + * config/tc-z8k.c (s_segm): Use bfd_set_arch_mach to set machine + type. + (newfix): Adapt to bfd reloc types. + (build_bytes): Adapt to bfd reloc types. Ensure that enough space + is available in the current frag. + (md_convert_frag): Adapt function parameters. + (tc_gen_reloc): New function. + (md_section_align): Use bfd_get_section_alignment. + (md_apply_fix): Adapt to bfd reloc types. Fix handling of + BFD_RELOC_Z8K_IMM4L, BFD_RELOC_8, BFD_RELOC_16, and BFD_RELOC_32 + relocations. + * config/tc-z8k.h (TARGET_ARCH): Define. + (tc_fix_adjustable): Define. + +2005-08-25 Chao-ying Fu <fu@mips.com> + + * config/tc-mips.c (mips_set_options): Add ase_dsp for DSP instructions. + (mips_opts): Add -1 to initialize ase_dsp. + (file_ase_dsp): New variable for -mdsp. + (CPU_HAS_DSP): New define. + (validate_mips_insn): Add supports for 3, 4, 5, 6, 7, 8, 9, 0, ', :, @ + operand formats. + (mips_ip): Add min_range and max_range for checking singed numbers. + Check ase_dsp to enable DSP instructions. + Handle 3, 4, 5, 6, 7, 8, 9, 0, ', :, @ operand formats. + (OPTION_DSP, OPTION_NO_DSP): New define. + (OPTION_COMPAT_ARCH_BASE): Change because of inserting DSP define. + (md_parse_option): Parse OPTION_DSP and OPTION_NO_DSP. + (mips_after_parse_args): Set ase_dsp based on CPU. + (s_mipsset): Handle ".set dsp" and ".set nodsp". + (mips_elf_final_processing): Remind of adding new flag for DSP ASE. + (md_show_usage): Show usage of -mdsp and -mno-dsp. + +2005-08-23 David Ung <davidu@mips.com> + + * config/tc-mips.c (mips_cpu_info_table): Add 5kf to the table of + cpu names. + +2005-08-23 Alan Modra <amodra@bigpond.net.au> + + PR 1036 + * config/tc-ppc.c (ppc_symbol_chars): Add '%' and '['. + +2005-08-23 Phil Edwards <phil@codesourcery.com> + + * configure.tgt (*-*-vxworks): Match vxworks* instead. + +2005-08-22 Jan Beulich <jbeulich@novell.com> + + * config/tc-i386.c (object_64bit): New. + (i386_target_format): Initialize it. + (output_disp): Use object_64bit for relocation type determination. + (output_imm): Likewise. + (i386_validate_fix): Likewise. + (tc_gen_reloc): Likewise. + (lex_got): Likewise. Remove static mode_name. Change array size + of gotrel's rel field, and adjust its initializer. Adjust diagnostic. + (x86_cons): Use object_64bit for deciding whether quad fields can + have relocations. + +2005-08-18 Christian Groessler <chris@groessler.org> + + * config/tc-h8300.h: Remove TC_RELOC_MANGLE/tc_reloc_mangle. + * config/tc-mcore.h: Likewise. + * config/tc-z8k.h: Likewise. + * config/tc-z8k.c: Likewise. + * config/tc-sh.h: Remove TC_RELOC_MANGLE and + sh_coff_reloc_mangle declaration. + * config/tc-sh.c: (md_apply_fix): Fix comment for case + BFD_RELOC_SH_USES. + +2005-08-18 Kaz Kojima <kkojima@rr.iij4u.or.jp> + + * config/tc-sh64.c (sh64_target_format): Check preset_target_arch + to confirm that no ISA is specified. + +2005-08-18 Nick Clifton <nickc@redhat.com> + + * write.c (relax_segment): Count the number of frags being + processed and use this to compute a maximum limit on the number of + iterations that will be allowed when attempting to relax the + segment. + +2005-08-17 Danny Smith <dannysmith@users.sourceforge.net> + + * config/obj-coff.c (obj_coff_weak): Set auxiliary record + of NT weak externals to IMAGE_WEAK_EXTERN_SEARCH_NOLIBRARY. + +2005-08-16 Alan Modra <amodra@bigpond.net.au> + + * config/tc-ppc.c (ppc_set_cpu): Don't select 64-bit based on + default cpu. + +2005-08-15 Paul Brook <paul@codesourcery.com> + + * config/tc-arm.c (do_t_mov_cmp): Fix encoding of i16-bit conditional + instructions. + (do_t_mvn_tst, do_t_neg, do_t_shift): Ditto. + +2005-08-15 Daniel Jacobowitz <dan@codesourcery.com> + + * config/tc-ppc.c (parse_cpu): Add -me300 support. + (md_show_usage): Likewise. + * doc/c-ppc.texi (PowerPC-Opts): Document it. + +2005-08-12 Martin Schwidefsky <schwidefsky@de.ibm.com> + + * config/tc-s390.c (md_parse_option): Add cpu type z9-109. + (md_gather_operands): Add support for optional operands. + +2005-08-12 Dmitry Diky <diwil@spec.ru> + * config/tc-msp430.c (msp430_enable_relax): New flag. + (msp430_enable_polys): Likewise. + (OPTION_RELAX): New option. + (OPTION_POLYMORPHS): Likewise. + (md_longopts): New long options. + (md_show_usage): Updated. + (md_parse_option): Add new options handler. + (msp430_operands): Add check if polymorph insns are enabled. + (msp430_force_relocation_local): New function. + (md_apply_fix): Now delete relocs according to new flags combination. + (msp430_relax_frag): Convert long branches to short branches only if + flag msp430_enable_relax is set. + * config/tc-msp430.h (TC_FORCE_RELOCATION_LOCAL): Defined. + (msp430_force_relocation_local): Likewise. + * doc/c-msp430.texi: Describe new options. + +2005-08-11 Ian Lance Taylor <ian@airs.com> + + * Makefile.am ($(srcdir)/make-gas.com): Remove target. + (stamp-mk.com): Likewise. + (EXTRA_DIST): Remove make-gas.com from list. + (MOSTLYCLEANFILES): Remove stamp-mk.com from list. + * Makefile.in: Regenerate. + +2005-08-11 Hans-Peter Nilsson <hp@axis.com> + + * subsegs.c (subseg_change): Move declaration of seginfo to before + first statement. + +2005-08-11 Alan Modra <amodra@bigpond.net.au> + + * README-vms: Delete. + * config-gas.com: Delete. + * makefile.vms: Delete. + * vmsconf.sh: Delete. + * config/atof-tahoe.c: Delete. + * config/m88k-opcode.h: Delete. + * config/obj-bout.c: Delete. + * config/obj-bout.h: Delete. + * config/obj-hp300.c: Delete. + * config/obj-hp300.h: Delete. + * config/tc-a29k.c: Delete. + * config/tc-a29k.h: Delete. + * config/tc-h8500.c: Delete. + * config/tc-h8500.h: Delete. + * config/tc-m88k.c: Delete. + * config/tc-m88k.h: Delete. + * config/tc-tahoe.c: Delete. + * config/tc-tahoe.h: Delete. + * config/tc-tic80.c: Delete. + * config/tc-tic80.h: Delete. + * config/tc-w65.c: Delete. + * config/tc-w65.h: Delete. + * config/te-aux.h: Delete. + * config/te-delt88.h: Delete. + * config/te-delta.h: Delete. + * config/te-dpx2.h: Delete. + * config/te-hp300.h: Delete. + * config/te-ic960.h: Delete. + * config/vms-a-conf.h: Delete. + * doc/c-a29k.texi: Delete. + * doc/c-h8500.texi: Delete. + * doc/c-m88k.texi: Delete. + * README: Remove obsolete examples, and list of supported targets. + * Makefile.am: Remove a29k, h8500, m88k, tahoe, tic80, w65, + bout and hp300 support. + (DEP_FLAGS): Don't define BFD_ASSEMBLER. + * configure.in: Remove --enable-bfd-assembler, need_bfd, + primary_bfd_gas. + * configure.tgt: Remove a29k, h8300-coff, h8500-*, i960 non-elf, + m68k non bfd, m88k, or32-coff, tic80-*, vax non-bfd, w65k-*, *-nindy. + * as.c: Remove all non-BFD_ASSEMBLER code, support for above targets. + * as.h: Likewise. + * dw2gencfi.c: Likewise. + * dwarf2dbg.c: Likewise. + * ehopt.c: Likewise. + * input-file.c: Likewise. + * listing.c: Likewise. + * literal.c: Likewise. + * messages.c: Likewise. + * obj.h: Likewise. + * output-file.c: Likewise. + * read.c: Likewise. + * stabs.c: Likewise. + * struc-symbol.h: Likewise. + * subsegs.c: Likewise. + * subsegs.h: Likewise. + * symbols.c: Likewise. + * symbols.h: Likewise. + * tc.h: Likewise. + * write.c: Likewise. + * write.h: Likewise. + * config/aout_gnu.h: Likewise. + * config/obj-aout.c: Likewise. + * config/obj-aout.h: Likewise. + * config/obj-coff.c: Likewise. + * config/obj-coff.h: Likewise. + * config/obj-evax.h: Likewise. + * config/obj-ieee.h: Likewise. + * config/tc-arm.c: Likewise. + * config/tc-arm.h: Likewise. + * config/tc-avr.c: Likewise. + * config/tc-avr.h: Likewise. + * config/tc-crx.h: Likewise. + * config/tc-d10v.h: Likewise. + * config/tc-d30v.h: Likewise. + * config/tc-dlx.h: Likewise. + * config/tc-fr30.h: Likewise. + * config/tc-frv.h: Likewise. + * config/tc-h8300.c: Likewise. + * config/tc-h8300.h: Likewise. + * config/tc-hppa.h: Likewise. + * config/tc-i370.h: Likewise. + * config/tc-i386.c: Likewise. + * config/tc-i386.h: Likewise. + * config/tc-i860.h: Likewise. + * config/tc-i960.c: Likewise. + * config/tc-i960.h: Likewise. + * config/tc-ip2k.h: Likewise. + * config/tc-iq2000.h: Likewise. + * config/tc-m32c.h: Likewise. + * config/tc-m32r.h: Likewise. + * config/tc-m68hc11.h: Likewise. + * config/tc-m68k.c: Likewise. + * config/tc-m68k.h: Likewise. + * config/tc-maxq.c: Likewise. + * config/tc-maxq.h: Likewise. + * config/tc-mcore.c: Likewise. + * config/tc-mcore.h: Likewise. + * config/tc-mn10200.h: Likewise. + * config/tc-mn10300.c: Likewise. + * config/tc-mn10300.h: Likewise. + * config/tc-ms1.h: Likewise. + * config/tc-msp430.c: Likewise. + * config/tc-msp430.h: Likewise. + * config/tc-ns32k.c: Likewise. + * config/tc-ns32k.h: Likewise. + * config/tc-openrisc.h: Likewise. + * config/tc-or32.c: Likewise. + * config/tc-or32.h: Likewise. + * config/tc-ppc.c: Likewise. + * config/tc-ppc.h: Likewise. + * config/tc-s390.h: Likewise. + * config/tc-sh.c: Likewise. + * config/tc-sh.h: Likewise. + * config/tc-sparc.c: Likewise. + * config/tc-tic30.c: Likewise. + * config/tc-tic30.h: Likewise. + * config/tc-tic4x.c: Likewise. + * config/tc-tic4x.h: Likewise. + * config/tc-tic54x.c: Likewise. + * config/tc-tic54x.h: Likewise. + * config/tc-v850.h: Likewise. + * config/tc-vax.c: Likewise. + * config/tc-vax.h: Likewise. + * config/tc-xstormy16.h: Likewise. + * config/tc-xtensa.h: Likewise. + * config/tc-z8k.c: Likewise. + * config/tc-z8k.h: Likewise. + * config/vms-a-conf.h + * doc/Makefile.am: Likewise. + * doc/all.texi: Likewise. + * doc/as.texinfo: Likewise. + * doc/internals.texi: Likewise. + * doc/Makefile.in: Regenerate. + * Makefile.in: Regenerate. + * configure: Regenerate. + * config.in: Regenerate. + * po/POTFILES.in: Regenerate. + +2005-08-09 Nick Clifton <nickc@redhat.com> + + PR 1070 + * macro.c (getstring): Do not treat round parentheses exactly the + same as angle brackets - the parentheses need to be preserved and + passed on to the macro processing code. + +2005-08-08 Nick Clifton <nickc@redhat.com> + + * config/tc-msp430.c (MSP430_ISA_21): Define. + (mcu_types): Add entries for msp430x21xx variants. + +2005-08-08 Nick Clifton <nickc@redhat.com> + + PR 1070 + * macro.c (getstring): Treat round parentheses in the same way as + angle brackets. + (get_any_string): Likewise. + +2005-08-07 H.J. Lu <hongjiu.lu@intel.com> + + PR gas/1118 + * as.c (parse_args): Handle -al=<FILE>. + +2005-08-07 Nick Clifton <nickc@redhat.com> + + * read.c (s_app_line): Accept a line number of 0 for compatibility + with gcc's output for assembler-with-cpp files. + +2005-08-05 Paul Brook <paul@codesourcery.com> + + * config/tc-arm.c (current_it_mask, current_cc): New variables. + (do_t_add_sub): Use correct encodings inside IT block. + (do_t_arit3c): Ditto. + (do_t_it): Simplify logic. Set current_it_mask and current_cc. + (md_assemble): Verify conditional suffixes agains IT blocks. + +2005-08-05 Paul Brook <paul@codesourcery.com> + + * config/tc-arm.c (encode_thumb32_immediate): Only accept shifted + constants. + (encode_thumb32_shifted_operand): Prohibit register shifts. + (encode_thumb32_addr_mode): Fix typo. + (insns): Correct thumb2 ldm and stm opcodes. + +2005-08-02 Khem Raj <kraj@mvista.com> + + * config/tc-arm.c (do_iwmmxt_wldstd): Correct the offset range for + WLDRD/WSTRD instruction. + +2005-08-02 Alan Modra <amodra@bigpond.net.au> + + * config/tc-ppc.c (md_apply_fix <ELF>): Don't warn on overflow + if emitting a reloc. + +2005-07-29 Thiemo Seufer <ths@networkno.de> + + * config/tc-mips.c (s_mips_globl): Allow multiple symbols per .globl. + +2005-07-29 Paul Brook <paul@codesourcery.com> + + * config/tc-arm.c (T16_32_TAB): Add "addr". Fix encoding of push and + pop. + (do_t_addr): Implement 32-bit variant. + (do_t_push_pop): Make some errors warnings. Handle single register + 32-bit case. + (insns): Use tCE for adr. + (md_pcrel_from_section): Handle BFD_RELOC_ARM_T32_ADD_PC12. + (md_apply_fix): Ditto. + +2005-07-29 Paul Brook <paul@codesourcery.com> + + * config/tc-arm.c (parse_tb): New function. + (enum operand_parse_code): Add OP_TB. + (parse_operands): Handle OP_TB. + (do_t_add_sub_w, do_t_tb): New functions. + (insns): Add entries for addw, subw, tbb and tbh. + (md_apply_fix): Handle BFD_RELOC_ARM_T32_IMM12. + +2005-07-29 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> + + * config/tc-m32r.c (m32r_check_fixup): Fixed X_op check. + +2007-07-27 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-i386.c (handle_large_common): Declare only for ELF. + +2005-07-27 Jan Beulich <jbeulich@novell.com> + + * config/tc-ia64.h (unw_r_record): Change type of fr_mem to unsigned + int. + (unw_p_record): Remove unused/redundant fields imask and rmask. + Combine spoff and pspoff into a union. Combine gr and br into a + union. Change type of grmask and brmask to unsigned char. Change type + of frmask to unsigned int. + (unw_x_record): Combine spoff, pspoff, and treg into a union. + * config/tc-ia64.c (unwind): New field 'pending_saves'. + (check_pending_save): New. + (alloc_record): Clear out entire record. + (output_psp_gr): Use renamed structure fields. + (output_psp_sprel): Likewise. + (output_rp_gr): Likewise. + (output_rp_br): Likewise. + (output_rp_psprel): Likewise. + (output_rp_sprel): Likewise. + (output_pfs_gr): Likewise. + (output_pfs_psprel): Likewise. + (output_pfs_sprel): Likewise. + (output_preds_gr): Likewise. + (output_preds_psprel): Likewise. + (output_preds_sprel): Likewise. + (output_spill_base): Likewise. + (output_unat_gr): Likewise. + (output_unat_psprel): Likewise. + (output_unat_sprel): Likewise. + (output_lc_gr): Likewise. + (output_lc_psprel): Likewise. + (output_lc_sprel): Likewise. + (output_fpsr_gr): Likewise. + (output_fpsr_psprel): Likewise. + (output_fpsr_sprel): Likewise. + (output_priunat_gr): Likewise. + (output_priunat_psprel): Likewise. + (output_priunat_sprel): Likewise. + (output_bsp_gr): Likewise. + (output_bsp_psprel): Likewise. + (output_bsp_sprel): Likewise. + (output_bspstore_gr): Likewise. + (output_bspstore_psprel): Likewise. + (output_bspstore_sprel): Likewise. + (output_rnat_gr): Likewise. + (output_rnat_psprel): Likewise. + (output_rnat_sprel): Likewise. + (output_spill_psprel): Likewise. + (output_spill_sprel): Likewise. + (output_spill_reg): Likewise. + (output_fr_mem): Likewise. Allocate one unwind record per set mask + bit. + (output_frgr_mem): Likewise. + (output_gr_mem): Likewise. + (output_br_mem): Likewise. + (output_gr_gr): Likewise. + (output_br_gr): Likewise. + (fixup_unw_records): Likewise. + (process_one_record): Use renamed structure fields. For gr_gr and + br_gr, collect mask from chain of records before output. + (in_prologue): Simplify and eliminate early returns. Call + check_pending_save. + (in_body): Simplify and eliminate early returns. + (dot_body): Call check_pending_save. + (md_assemble): Update comment. Deal with pending saves. + +2005-07-26 Jan Beulich <jbeulich@novell.com> + + * config/tc-i386.c (optimize_imm): Calculate candidate immediates + mask from guessed suffix, but mask out other immediate types only + if at least on candidate is valid for the insn. + +2005-07-25 DJ Delorie <dj@redhat.com> + + * config/tc-m32c.c (md_cgen_lookup_reloc): Add 8 bit operands. + Support %mod() modifiers from opcodes. + * doc/c-m32c.texi (M32C-Modifiers): New section. + +2005-07-25 Jan Hubicka <jh@suse.cz> + H.J. Lu <hongjiu.lu@intel.com> + + * config/obj-elf.c: Include "elf/x86-64.h" if TC_I386 is + defined. + (elf_com_section_ptr): New. + (elf_begin): Set elf_com_section_ptr to bfd_com_section_ptr. + (elf_common_parse): Make it global. Use elf_com_section_ptr + instead of bfd_com_section_ptr. + (obj_elf_change_section): Handle x86-64 large bss sections. + + * config/obj-elf.h (elf_com_section_ptr): New. + (elf_common_parse): New. + + * config/tc-i386.c (handle_large_common): New. + (md_pseudo_table): Add "largecomm". + (x86_64_section_letter): New. + (x86_64_section_word): New. + + * config/tc-i386.h (x86_64_section_word): New. + (x86_64_section_letter): New. + (md_elf_section_letter): New. Defined. + (md_elf_section_word): Likewise. + +2005-07-21 Ralf Corsepius <ralf.corsepius@rtems.org> + + * configure.tgt: Remove i386-*-rtemself*. + Remove sparc-*-rtemself*. + +2005-07-21 Ben Elliston <bje@gnu.org> + + * config/tc-m68k.h: Remove TE_LYNX conditional code. + +2005-07-21 Paul Brook <paul@codesourcery.com> + + * config/tc-arm.c (encode_thumb32_addr_mode): Don't set + inst.reloc.pc_rel. + +2005-07-20 Tavis Ormandy <taviso@gentoo.org> + + * messages.c: Use vsnprintf instead of vsprintf. + +2005-07-20 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> + + * config/tc-m32r.c (tc_gen_reloc): Check BFD_RELOC_32_PCREL and + BFD_RELOC_16_PCREL to Support R_M32R_REL32. + +2005-07-18 Nick Clifton <nickc@redhat.com> + + * configure.tgt: Restore alpha ordering to list of arches. + +2005-07-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + * tc-hppa.c (pa_ip): Reject match for '#' immediate if not pa20. + +2005-07-18 Jan Beulich <jbeulich@novell.com> + + * config/tc-i386.c (md_begin): Use IS_ELF. + (tc_i386_fix_adjustable): Likewise. + (md_estimate_size_before_relax): Likewise. + (md_apply_fix): Likewise. + (i386_target_format): Likewise. + (lex_got): Define to NULL when not ELF or when LEX_AT. Check IS_ELF. + (i386_immediate): Remove #ifdef LEX_AT. + (i386_displacement): Likewise. + * config/tc-i386.h (x86_cons): Prototype only when ELF and when not + LEX_AT. + +2005-07-18 Jan Beulich <jbeulich@novell.com> + + * config/tc-i386.c (reloc): Convert to ISO C90. Change first + parameter to unsigned. Parameter sign now is tristate - zero/ + positive mean unsigned/signed, negative means signedness doesn't + matter. Check field size, + signedness, and pcrel-ness are in agreement between relocated field + and relocation type. Adjust diagnostics. + (optimize_imm): And type mask of operand instead of overwriting it. + (lex_got): Convert to ISO C90. Add third parameter. Add new field to + local structure and initialize gotrel accordingly. Pass caller as + mask of types that the operator can match. + (x86_cons_fix_new): Let reloc know that signedness of relocation + doesn't matter. + (x86_pe_cons_fix_new): Likewise. + (x86_cons): Pass additional argument to lex_got. + (i386_immediate): New local variable 'types'. Pass its address as + additional argument to lex_got. Mask out operand types not supported + befoe returning. + (i386_displacement): Likewise. Set bigdisp to all types supported in + 64-bit mode, combining the previously split initialization. + +2005-07-18 Jan Beulich <jbeulich@novell.com> + + * config/tc-i386.c (parse_insn): Reject prefix if unavailable in + current mode. + +2005-07-16 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + * config/tc-hppa.c (pa_ip): Search entire mnemonic before considering + promoted match. + +2005-07-16 Alan Modra <amodra@bigpond.net.au> + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + +2007-07-15 H.J. Lu <hongjiu.lu@intel.com> + + * gas/config/tc-i386.h (CpuVMX): New. + (CpuUnknownFlags): Add CpuVMX. + +2005-07-14 Jim Blandy <jimb@redhat.com> + + Add support for the Renesas M32C. + * Makefile.am (CPU_TYPES): List m32c. + (TARGET_CPU_CFILES): List config/tc-m32c.c. + (TARGET_CPU_HFILES): List config/tc-m32c.h. + * configure.in: Add case for m32c. + * configure.tgt: Add cases for m32c and m32c-*-elf. + * configure: Regenerated. + * config/tc-m32c.c, config/tc-m32c.h: New files. + * doc/Makefile.am (CPU_DOCS): Add c-m32c.texi. + * doc/Makefile.in: Regenerated. + * doc/all.texi: Set M32C. + * doc/as.texinfo: Add text for the M32C-specific options and line + comment characters, and refer to c-m32c.texi. + * doc/c-m32c.texi: New file. + +2005-07-14 Nick Clifton <nickc@redhat.com> + + PR 1069 + * config/tc-crx.c (reset_vars): Use strncpy to prevent overflowing + the ins_parse buffer. + +2005-07-10 Ralf Corsepius <ralf.corsepius@rtems.org> + + * configure.tgt: Remove a29k-*-rtems*, hppa*-*-rtems*,i386-go32-rtems*, + i386-*-rtemscoff*, sparc-*-rtemsaout*. + +2005-07-10 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-i386.c (optimize_disp): Optimize signed 32bit + displacements. + +2005-07-08 Ben Elliston <bje@au.ibm.com> + + * frags.h: Remove ANSI_PROTOTYPES conditional code. + * config/obj-elf.h: Likewise. + * config/tc-h8300.h: Likewise. + * config/tc-h8500.h: Likewise. + * config/tc-i370.h: Likewise. + * config/tc-i386.h: Likewise. + * config/tc-m68hc11.h: Likewise. + * config/tc-m68k.h: Likewise. + * config/tc-ppc.h: Likewise. + * config/tc-s390.h: Likewise. + * config/tc-sh.h: Likewise. + * config/tc-sparc.h: Likewise. + * config/tc-tic30.c: Likewise. + * config/tc-w65.h: Likewise. + * config/tc-xtensa.h: Likewise. + +2005-07-08 Hans-Peter Nilsson <hp@axis.com> + + PR gas/1049 + * config/tc-cris.h (MD_APPLY_SYM_VALUE): Define. + +2005-07-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * config/tc-tic30.c (debug): Add format attribute. Fix format + bugs. + +2005-07-06 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-i386.c (cpu_arch): Add sse3. + + * config/tc-i386.h (CpuSSE3): Renamed from ... + (CpuPNI): This. Defined as CpuSSE3. + + * doc/c-i386.texi: Document .sse3. + +2005-07-06 Jan Beulich <jbeulich@novell.com> + + * config/tc-ia64.c (nop): Use zero for L-unit pseudo-nop. + +2005-07-05 Nick Clifton <nickc@redhat.com> + + * config/tc-pdp11.c (md_apply_fix): Cast first argument to + md_chars_to_numbers to an unsigned pointer in order to avoid a + compile time warning. + +2005-07-05 Paul Brook <paul@codesourcery.com> + + * config/tc-ppc.c (ppc_target_format): Add VxWorks. + +2005-07-05 Aldy Hernandez <aldyh@redhat.com> + + * config/tc-ms1.c: New. + * config/tc-ms1.h: New. + * testsuite/gas/ms1/allinsn.d: New. + * testsuite/gas/ms1/allinsn.s: New. + * testsuite/gas/ms1/badinsn.s: New. + * testsuite/gas/ms1/badinsn1.s: New. + * testsuite/gas/ms1/badoffsethigh.s: New. + * testsuite/gas/ms1/badoffsetlow.s: New. + * testsuite/gas/ms1/badorder.s: New. + * testsuite/gas/ms1/badreg.s: New. + * testsuite/gas/ms1/badsignedimmhigh.s: New. + * testsuite/gas/ms1/badsignedimmlow.s: New. + * testsuite/gas/ms1/badsyntax.s: New. + * testsuite/gas/ms1/badsyntax1.s: New. + * testsuite/gas/ms1/badunsignedimmhigh.s: New. + * testsuite/gas/ms1/badunsignedimmlow.s: New. + * testsuite/gas/ms1/errors.exp: New. + * testsuite/gas/ms1/ldst.s: New. + * testsuite/gas/ms1/misc.d: New. + * testsuite/gas/ms1/misc.s: New. + * testsuite/gas/ms1/ms1-16-003.d: New. + * testsuite/gas/ms1/ms1-16-003.s: New. + * testsuite/gas/ms1/ms1.exp: New. + * testsuite/gas/ms1/msys.d: New. + * testsuite/gas/ms1/msys.s: New. + * testsuite/gas/ms1/relocs.d: New. + * testsuite/gas/ms1/relocs.exp: New. + * testsuite/gas/ms1/relocs1.s: New. + * testsuite/gas/ms1/relocs2.s: New. + +2005-07-05 Jan Beulich <jbeulich@novell.com> + + * config/tc-i386.h (CpuSVME): New. + (CpuUnknownFlags): Include CpuSVME. + * config/tc-i386.c (cpu_arch): Add .pacifica and .svme. Add opteron + as alias of sledgehammer. + (md_assemble): Include invlpga in the check for insns with two source + operands. + (process_operands): Include SVME insns in the check for ignored + segment overrides. Adjust diagnostic. + (i386_index_check): Special-case SVME insns with memory operands. + +2005-07-04 Khem Raj <kraj@mvista.com> + Nick Clifton <nickc@redhat.com> + + * tc-arm.c (struct arm_it): Make operands.imm signed to match its + use an immediate value. + (parse_vfp_reg_list): Make the 2nd parameter an unsigned pointer + since the register field of the operands structure is unsigned. + (s_arm_unwind_save_vfp): Make "reg" unsigned. + (parse_operands): Make the 2ns parameter an unsigned pointer to + match its use. + (do_ldrd): When using the imm field of the operands structure as a + second register field, treat it as unsigned. + +2005-07-04 Alan Modra <amodra@bigpond.net.au> + + PR 1004 + * config/obj-elf.c (obj_elf_change_section): Use backend + get_sec_type_attr. + +2005-07-01 Jan Beulich <jbeulich@novell.com> + + * config/tc-ia64.c (line_separator_chars): Add '{' and '}'. + (output_spill_psprel, output_spill_psprel_p): Combine. + (output_spill_sprel, output_spill_sprel_p): Combine. + (output_spill_reg, output_spill_regp_p): Combine. + (process_one_record): Handle psp_psprel. + (parse_predicate_and_operand): New. + (convert_expr_to_ab_reg): Two new parameters. Return void. Always + initialize output values. Emit diagnostic case here. + (convert_expr_to_xy_reg): Likewise. Don't allow r0, f0, and f1. + (add_unwind_entry): New second parameter. Allow first parameter to + be NULL. Parse optional tag, emit warning about further support for + it otherwise being missing. Check end-of-line when requested. + (dot_fframe): Clear operand when wrong. Allow tag. + (dot_vframe): Likewise. + (dot_vframesp): Likewise. Rename parameter, issue warning when psp + relative. + (dot_vframepsp): Remove. + (dot_altrp): Clear operand when wrong. Allow tag. + (dot_save): Likewise. Let default case also go through + add_unwind_entry. + (dot_savemem): Likewise. + (dot_restore): Don't return when wrong operand. Allow tag. + (dot_spillreg, dot_spillreg_p): Combine. Simplify by using + parse_predicate_and_operand and the new arguments to + convert_expr_to_ab_reg and convert_expr_to_xy_reg. Don't return + when wrong operand. Allow tag. + (dot_restorereg, dot_restorereg_p): Likewise. + (dot_spillmem, dot_spillmem_p): Likewise. + (dot_saveg): Clear operand when wrong. Perform tighter operand + checks. Allow tag. + (dot_savef): Likewise. + (dot_saveb): Likewise. + (dot_savegf): Likewise. + (dot_spill): Remove end-of-line check. Combine. Simplify by using + parse_predicate_and_operand and the new arguments to + convert_expr_to_ab_reg and convert_expr_to_xy_reg. Don't return + when wrong operand. Allow tag. + (popcount): New. + (dot_label_state): Don't return when wrong operand. + (dot_copy_state): Likewise. + (dot_unwabi): Likewise. Check if in prologue. + (dot_body): Don't call demand_empty_rest_of_line. + (dot_prologue): Type of mask and grsave is unsigned. Perform tighter + operand checks. + (md_pseudo_table): Also use dot_restorereg for .restorereg.p. Also + use dot_spillreg for .spillreg.p. Also use dot_spillmem for + .spillpsp.p and .spillsp.p. Also use dot_vframesp for .vframepsp. + (parse_operand): New second parameter. Don't deal with '}' here + anymore. Don't advance past end-of-line. + (parse_operands): Pass second argument to parse_operand. + (ia64_start_line): Prevent out-of-bounds access through + input_line_pointer. Deal with '}' here. + (ia64_unrecognized_line): Don't deal with '}' here. + (dot_alias): Use ignore_rest_of_line not its deprecated alias + discard_rest_of_line. + +2005-06-30 Zack Weinberg <zack@codesourcery.com> + + * config/tc-arm.c (T_OPCODE_BRANCH, encode_arm_addr_mode_2) + (encode_arm_addr_mode_3, encode_arm_cp_address, do_blx, do_t_blx) + (do_t_branch, insns [b, bl]): Don't encode pipeline offset. + (do_branch): Always set inst.reloc.pc_rel. + (s_arm_elf_cons): Disallow use of (plt) suffix. + (do_adrl): Adjust X_add_number unconditionally. + (md_pcrel_from): Rename md_pcrel_from_section, add second segT + argument. Handle all adjustment for pipeline offset here. + (md_apply_fix): No need to undo work of md_pcrel_from. No + need to extract pre-encoded pipeline adjustments from various + branch instructions. Generally, assume instructions are already + all-bits-zero in the field being fixed up. Remove all OBJ_ELF + special cases. Handle BFD_RELOC_ARM_PLT32 like + BFD_RELOC_ARM_PCREL_BRANCH. + (tc_gen_reloc): Remove OBJ_ELF special case. + * config/tc-arm.c: Define MD_PCREL_FROM_SECTION. + +2005-06-30 Ben Elliston <bje@gnu.org> + + * Makefile.am (check-DEJAGNU): Don't search for expect. + * Makefile.in: Regenerate. + +2005-06-30 Ben Elliston <bje@gnu.org> + + * Makefile.am (EXPECT): Set to expect. + (RUNTEST): Likewise, set to runtest. + * Makefile.in: Regenerate. + +2005-06-23 Ben Elliston <bje@gnu.org> + + * config/m68k-parse.h: Use ISO C90. + * config/m68k-parse.y: Likewise. + * config/tc-m68k.h: Likewise. + +2005-06-20 H.J. Lu <hongjiu.lu@intel.com> + + PR 1013 + * config/tc-i386.c (md_assemble): Don't call optimize_disp on + movabs. + (optimize_disp): Optimize only if possible. Don't use 64bit + displacement on non-constants and do same on constants if + possible. + +2005-06-17 Jan Beulich <jbeulich@novell.com> + + * config/tc-i386.c (reloc): Also handle BFD_RELOC_64_PCREL. + (tc_i386_fix_adjustable): Include BFD_RELOC_X86_64_GOTOFF64, + BFD_RELOC_X86_64_DTPOFF64, and BFD_RELOC_X86_64_TPOFF64. + (output_disp): Do GOTPC conversion also for BFD_RELOC_X86_64_32S + and BFD_RELOC_32_PCREL. Use BFD_RELOC_X86_64_GOTPC32 instead of + aborting. + (output_imm): Do GOTPC conversion also for BFD_RELOC_X86_64_32S. + Use BFD_RELOC_X86_64_GOTPC32 instead of aborting. + (tc_gen_reloc): Do GOTPC conversion also for BFD_RELOC_32_PCREL. + Use BFD_RELOC_X86_64_GOTPC32 instead of aborting. Also handle + BFD_RELOC_X86_64_GOTOFF64, BFD_RELOC_X86_64_GOTPC32, + BFD_RELOC_X86_64_DTPOFF64, and BFD_RELOC_X86_64_TPOFF64. Also + convert 8-byte pc-relative relocations. + (lex_got): Use BFD_RELOC_X86_64_GOTOFF64 for 64-bit @gotoff. + (i386_validate_fix): Likewise. + (x86_cons): Also handle quad values in 64-bit mode. + (i386_displacement): Also handle BFD_RELOC_X86_64_GOTOFF64. + (md_apply_fix): Include BFD_RELOC_X86_64_DTPOFF64 and + BFD_RELOC_X86_64_TPOFF64 in the TLS check. Also convert BFD_RELOC_64 + to pc-relative variant. Also check for BFD_RELOC_64_PCREL. + +2005-06-13 Zack Weinberg <zack@codesourcery.com> + + * config/tc-arm.c (find_real_start): Check S_IS_LOCAL on + symbolP as well as for names with a leading dot. Use ACONCAT. + (md_apply_fix): For branch relocations, only replace value + with fixP->fx_offset (under #ifdef OBJ_ELF) when !fixP->fx_done. + (arm_force_relocation): Remove #ifdef OBJ_ELF case. + * config/tc-arm.h (LOCAL_LABEL): Remove unnecessary parentheses. + (LOCAL_LABEL_PREFIX): Don't define. + +2005-06-10 Alan Modra <amodra@bigpond.net.au> + + * config/tc-hppa.c (pa_block): Allocate just one byte for the + fill pattern. + +2005-06-08 James E Wilson <wilson@specifixinc.com> + + PR 994 + * config/tc-ia64.c (slot_index): Revert last change. If first_frag + is NULL, then emit a warning, and return the current index. + +2005-06-08 Tomas Hurka <tom@hukatronic.cz> + + PR 991 + * config/tc-m68k.c (m68k_ip): Test for insn compatiblity using a + temporary copy of the operands array so that changes can be safely + backed out if the insn does not match. + (m68k_compare_opcode): Shortcut the test when the parameters are + the same. Return 1 if the names match but the second opcode is + further on in the array than the first. + +2005-06-08 Nick Clifton <nickc@redhat.com> + + PR 994 + * config/tc-ia64.c (slot_index): Check for a NULL first_frag. + +2005-06-08 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> + + * config/tc-m32r.c (use_parallel): Change default value from 1 to 0. + +2005-06-07 Aldy Hernandez <aldyh@redhat.com> + Michael Snyder <msnyder@redhat.com> + Stan Cox <scox@redhat.com> + + * configure.in: Add ms1 case. + + * configure: Regenerate. + + * configure.tgt: Add ms1 case. + +2005-06-07 Bob Wilson <bob.wilson@acm.org> + + * config/tc-xtensa.h (resource_table): Change units to unsigned chars. + * config/tc-xtensa.c (new_resource_table): Likewise. + (resize_resource_table): Likewise. + (release_resources): Fix assertion for unsigned values. + +2005-06-07 Zack Weinberg <zack@codesourcery.com> + + * cgen.c, cgen.h, tc.h, write.c, config/obj-coff.c + * config/tc-a29k.c, config/tc-alpha.c, config/tc-alpha.h + * config/tc-arc.c, config/tc-arc.h, config/tc-arm.c + * config/tc-arm.h, config/tc-avr.c, config/tc-avr.h + * config/tc-cris.c, config/tc-crx.c, config/tc-d10v.c + * config/tc-d10v.h, config/tc-d30v.c, config/tc-d30v.h + * config/tc-dlx.c, config/tc-dlx.h, config/tc-fr30.h + * config/tc-frv.c, config/tc-frv.h, config/tc-h8300.c + * config/tc-h8500.c, config/tc-hppa.c, config/tc-hppa.h + * config/tc-i370.c, config/tc-i370.h, config/tc-i386.c + * config/tc-i386.h, config/tc-i860.c, config/tc-i860.h + * config/tc-i960.c, config/tc-i960.h, config/tc-ia64.c + * config/tc-ip2k.c, config/tc-ip2k.h, config/tc-iq2000.c + * config/tc-iq2000.h, config/tc-m32r.c, config/tc-m32r.h + * config/tc-m68hc11.c, config/tc-m68hc11.h, config/tc-m68k.c + * config/tc-m68k.h, config/tc-m88k.c, config/tc-maxq.c + * config/tc-mcore.c, config/tc-mcore.h, config/tc-mips.c + * config/tc-mips.h, config/tc-mmix.c, config/tc-mn10200.c + * config/tc-mn10300.c, config/tc-msp430.c, config/tc-ns32k.c + * config/tc-openrisc.h, config/tc-or32.c, config/tc-or32.h + * config/tc-pdp11.c, config/tc-pj.c, config/tc-pj.h + * config/tc-ppc.c, config/tc-ppc.h, config/tc-s390.c + * config/tc-s390.h, config/tc-sh64.c, config/tc-sh.c + * config/tc-sh.h, config/tc-sparc.c, config/tc-sparc.h + * config/tc-tahoe.c, config/tc-tic30.c, config/tc-tic4x.c + * config/tc-tic54x.c, config/tc-tic80.c, config/tc-v850.c + * config/tc-v850.h, config/tc-vax.c, config/tc-vax.h + * config/tc-w65.c, config/tc-xstormy16.c, config/tc-xstormy16.h + * config/tc-xtensa.c, config/tc-z8k.c: + Replace all instances of the string "_apply_fix3" with + "_apply_fix". + * po/POTFILES.in, po/gas.pot: Regenerate. + +2005-06-08 Alan Modra <amodra@bigpond.net.au> + + * Makefile.am: Run "make dep-am". + (POTFILES): Remove GAS_CFILES. + * Makefile.in: Regenerate. + +2005-06-07 David Ung <davidu@mips.com> + + * config/tc-mips.c (mips_cpu_info_table): Add cpu names m4k, 24k, + 24kc, 24kf and 24kfx under MIPS32 release 2. + +2005-06-04 Nick Clifton <nickc@redhat.com> + + * config/tc-arm.c (CE, C3, CM, UE, UF): Redefine without reference + to their Thumb-enabled equivalents. + +2005-06-01 Maciej W. Rozycki <macro@linux-mips.org> + + * config/tc-mips.c (load_register): Add leading "0x" to the + output of sprintf_vma(). + (macro): Likewise. + +2005-06-01 Nick Clifton <nickc@redhat.com> + + * config/tc-arm.c (TxCE, TxC3, TxCM, TUE, TUF): Remove redundant + test for the presence of thumb version of the parsing functions + since they must always exist and the test generates a compile time + warning message. + +2005-05-31 Richard Henderson <rth@redhat.com> + + * config/tc-alpha.c (O_lituse_jsrdirect): New. + (alpha_reloc_op): Add it. + (debug_exp): Handle it. + (DUMMY_RELOC_LITUSE_JSRDIRECT): New. + (emit_insn): Handle it. + * doc/c-alpha.texi (Alpha-Relocs): Document lituse_jsrdirect. + +2005-05-31 Christian Groessler <chris@groessler.org> + + * write.c (dump_section_relocs): Convert to ISO-C. + (write_relocs): Avoid signed/unsigned and fprintf argument + warnings in debug code. + +2005-05-26 Zack Weinberg <zack@codesourcery.com> + + * config/tc-arm.h (TC_FIX_TYPE): Change to int. + (TC_INIT_FIX_DATA): Initialize to 0, not NULL. + * config/tc-arm.c (fix_new_arm): Remove now-unnecessary cast. + (md_apply_fix3): Delete fix_is_thumb variable; refer to + fixP->tc_fix_data directly in the sole place it was used. + Explicitly truncate value, *valP, fixP->fx_addnumber, and + fixP->fx_offset to 32 bits, for consistent behavior between 32- + and 64-bit hosts. + +2005-05-27 Jan Beulich <jbeulich@novell.com> + + * config/tc-ia64.c (struct proc_pending): New. + (unwind): Replace proc_start with proc_pending. + (unwind_diagnostic): Check unwind.proc_pending.sym. + (dot_proc): Replace unwind.proc_start with unwind.proc_pending.sym. + Check if previous proc not closed. Record all entry points. + (dot_endp): Replace unwind.proc_start with unwind.proc_pending.sym. + Set symbol sizes for entry points recorded in dot_proc. Check + arguments for consistency with respective .proc's. + (md_assemble): Replace unwind.proc_start with + unwind.proc_pending.sym. + +2005-05-27 Jan Beulich <jbeulich@novell.com> + + * config/tc-ia64.c (emit_one_bundle): Restrict scope of ptr, end_ptr, + and last_ptr. Check all in-use slots for first one with non-NULL + unwind_record. Don't reload end_ptr before second update round. + +2005-05-26 James E Wilson <wilson@specifixinc.com> + + * config/tc-ia64.c (extra_goodness): Update comment. + (md_begin): Add debugging code to print best_template table. + +2005-05-25 Jan Beulich <jbeulich@novell.com> + + * config/tc-ia64.c (md_begin): Don't try to match slot 2 of an MLX + template. + +2005-05-25 Jan Beulich <jbeulich@novell.com> + + * config/tc-ia64.c (ia64_gen_real_reloc_type): Also handle + BFD_RELOC_UNUSED when determining the width of the reloc. + +2005-05-25 Jan Beulich <jbeulich@novell.com> + + * config/tc-ia64.c (dot_endp): Clear out all three pointers in unwind + section entry. + +2005-05-25 Jan Beulich <jbeulich@novell.com> + + * config/tc-ia64.c (dot_radix): Rewrite. + +2005-05-25 Jan Beulich <jbeulich@novell.com> + + * config/tc-ia64.c (struct unw_rec_list): Remove next_slot_number + and next_slot_frag. + (alloc_record): Remove references to next_slot_number and + next_slot_frag. + (emit_one_bundle): Likewise. + +2005-05-22 Nick Clifton <nickc@redhat.com> + + * config/tc-v850.c (md_apply_fix3): Pass the address of the + message buffer when invoking the insert function. + +2005-05-21 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + * config/tc-hppa.c (pa_ip): Promote architecture from PA 1.0 to 1.1 + only if an instruction match is found. + +2005-05-20 Bob Wilson <bob.wilson@acm.org> + + * config/tc-xtensa.c (xg_assemble_vliw_tokens): Change subtraction + to addition in argument to xtensa_dwarf2_emit_insn. + +2005-05-19 Zack Weinberg <zack@codesourcery.com> + + * Makefile.am: Have 'all' depend on 'info'. + * Makefile.in: Regenerate. + +2005-05-19 Alan Modra <amodra@bigpond.net.au> + + * config/tc-ppc.c (ppc_force_relocation): Add BFD_RELOC_24_PLT_PCREL. + +2005-05-19 Anton Blanchard <anton@samba.org> + + * config/tc-ppc.c (parse_cpu): Handle "-mpower5". + (md_show_usage): Document it. + (ppc_setup_opcodes): Insert POWER5 mnemonics. + * doc/c-ppc.texi (PowerPC-Opts): Document "-mpower5". + +2005-05-19 Jan Beulich <jbeulich@novell.com> + + * config/tc-ia64.c (dot_endp): Don't use global symbol for unwind + relocations in unwind section. + +2005-05-18 Nick Clifton <nickc@redhat.com> + + * config/tc-v850.c (md_apply_fix3): Only use the insertion routine + if one exists. Ignore any error messages it may produce, just + allow it to perform the insertion. + +2005-05-17 Zack Weinberg <zack@codesourcery.com> + + * hash.c (hash_lookup): Add len parameter. All callers changed. + (hash_find_n): New interface. + * hash.h: Prototype hash_find_n. + * sb.c: Include as.h. + (scrub_from_sb, sb_to_scrub, scrub_position): New statics. + (sb_scrub_and_add_sb): New interface. + * sb.h: Prototype sb_scrub_and_add_sb. + * input-scrub.c (input_scrub_include_sb): Use sb_scrub_and_add_sb. + + * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Remove + reference to BFD_RELOC_ARM_GOT12 which is never generated. + * config/tc-arm.c: Rewrite, adding Thumb-2 support. + +2005-05-17 Daniel Jacobowitz <dan@codesourcery.com> + + * doc/Makefile.am (gasver.texi): Don't use $<. + * doc/Makefile.in: Regenerated. + +2005-05-17 Nick Clifton <nickc@redhat.com> + + PR 876 + * symbols.c (resolve_symbol_value): Do not move symbols whose + value expression has not been resolved or finalized into the + absolute section as this will confuse other parts of the assembler + into thinking that their value is zero. + +2005-05-17 Jan Beulich <jbeulich@novell.com> + + * read.c (_find_end_of_line): New. + (find_end_of_line): New. + (HANDLE_CONDITIONAL_ASSEMBLY): Use it. + (read_a_source_file): Use it. + (s_globl): Use it. + (s_macro): Use it. + (get_line_sb): Use it. + (s_errwarn): Replace discard_rest_of_line by ignore_rest_of_line. + (s_comm_internal): Likewise. + (s_lsym): Likewise. + (s_macro): Likewise. + (s_ignore): Use ignore_rest_of_line. + * read.h (find_end_of_line): Prototype. + (discard_rest_of_line): Remove prototype. #define to + ignore_rest_of_line. + +2005-05-17 Nick Clifton <nickc@redhat.com> + + * config/tc-v850,h (TC_FIX_TYPE): Define. + (TC_INIT_FIX_TYPE): Define. + * config/tc-v850.c (md_assemble): When creating a fix record the + operand in the tc_fix_data field. + (md_apply_fix3): When applying a resolved fix use the operand's + insertion procedure to store the value, if the operand has been + recorded. + +2005-05-15 Daniel Jacobowitz <dan@codesourcery.com> + + * Makefile.am (m68k-parse.c, itbl-parse.c): Update ylwrap + invocation. + * Makefile.in: Regenerated. + +2005-05-13 Sterling Augustine <sterling@tensilica.com> + Bob Wilson <bob.wilson@acm.org> + + * config/tc-xtensa.c (xtensa_insnbuf_set_operand): Clarify error + message. + (xtensa_mark_zcl_first_insns): Fix incorrect nesting of conditional + for handling RELAX_CHECK_ALIGN_NEXT_OPCODE. + +2005-05-11 Alan Modra <amodra@bigpond.net.au> + + * config/tc-ppc.c (md_apply_fix3): Allow pcrel forms of BFD_RELOC_16, + BFD_RELOC_LO16, BFD_RELOC_HI16 and BFD_RELOC_HI16_S. + +2005-05-10 Michael Matz <matz@suse.de> + + * frags.c (frag_grow): Don't be too greedy in allocating memory. + + * config/tc-hppa.c (pa_block): Check arguments to .block[z]. + +2005-05-10 Hans-Peter Nilsson <hp@bitrange.com> + + PR binutils/886 + * config/tc-mmix.c (mmix_handle_mmixal): Rearrange slightly. + Handle label-without-colon before ordinary dot-pseudo as an + ordinary label. Don't leak memory for label-without-colon alone + on a line. Don't mmixal-munge operands for dot-pseudos. + +2005-05-10 Jan Beulich <jbeulich@novell.com> + + * macro.c (get_any_string): Remove the two last parameters. Replace + references to the former expand parameter by using macro_alternate. + Simplify loop condition for checking for end-of-string. + (get_string): Remove redunant call to sb_skip_white. + (do_formals): Remove two last arguments to get_any_string. + (macro_expand): Likewise. + (expand_irp): Likewise. + +2005-05-10 Jan Beulich <jbeulich@novell.com> + + * read.c (s_macro): Move local variable 'local' to smaller scope. + Call sb_kill on it when done. + +2005-05-09 Jan Beulich <jbeulich@novell.com> + + * config/tc-i386.c (optimize_disp): Discard displacement entirely + when zero and not required by encoding constraints. + +2005-05-09 H.J. Lu <hongjiu.lu@intel.com> + + PR 936 + * config/tc-sh64.c (sh64_fake_label): New. + + * config/tc-sh64.h (TC_FAKE_LABEL): New. + + * doc/internals.texi (TC_FAKE_LABEL): Document. + + * write.c (TC_FAKE_LABEL): New. + (adjust_reloc_syms): Use it. + (write_object_file): Likewise. + +2005-05-09 Jan Beulich <jbeulich@novell.com> + + * config/tc-i386.c (parse_insn): Disallow use of prefix separator + and comma in Intel mode. + +2005-05-09 Jan Beulich <jbeulich@novell.com> + + * config/tc-i386.c (tc_x86_regname_to_dw2regnum): Correct 64-bit mode + names to match ABI. Add more registers for 32-bit and 64-bit modes. + Make name array static and const. Adjust lookup to account for NULL + entries (standing for unused register numbers). + +2005-05-09 Jan Beulich <jbeulich@novell.com> + + * config/tc-i386.c (parse_insn): Consider all matching instructions + when checking for string instruction after string-only prefix. + +2005-05-07 H.J. Lu <hongjiu.lu@intel.com> + + PR 940 + * config/tc-ia64.c (start_unwind_section): Properly check + comdat group with SHF_GROUP. + +2005-05-06 Bob Wilson <bob.wilson@acm.org> + + * doc/c-xtensa.texi (Literal Directive): Spelling correction. + +2005-05-06 Bob Wilson <bob.wilson@acm.org> + + * config/tc-xtensa.c: Remove excess whitespace. + * config/tc-xtensa.h: Likewise. + * config/xtensa-istack.h: Likewise. + * config/xtensa-relax.c: Likewise. + * config/xtensa-relax.h: Likewise. + +2005-05-06 Nick Clifton <nickc@redhat.com> + + * sb.h: Fix formatting of comments. + * sb.c: Fix formatting of comments. + +2005-05-06 Jan Beulich <jbeulich@novell.com> + + * sb.h (sb_add_buffer): Reintroduce. + * sb.c (sb_add_buffer): Likewise. + +2005-05-06 Jan Beulich <jbeulich@novell.com> + + * macro.c (new_formal, del_formal): New. + (do_formals): Use new_formal. Check for and parse qualifier. Warn if + required argument has default value. Stop looking for more formal + when there was a vararg one. + (macro_expand_body): Use new_formal and del_formal. + (macro_expand): Likewise. Initialize local variable err. Don't + return immediately when encountering an error. Warn when keyword + argument already had a value assigned. Eliminate duplicate clearing + of argument value. When current positional argument matches parameter + of vararg type, assign to it all the remaining arguments. Issue error + when required parameter does not have value. + (free_macro): Use del_formal. + (expand_irp): Initialize formal type. Free buffers associated with + formal prior to returning. + * macro.h (struct formal_struct): Add new field 'type' with new + enumeration type 'formal_type'. + * doc/as.texinfo: Document macro parameter qualifiers. + * NEWS: Mention new functionality. + +2005-05-06 Jan Beulich <jbeulich@novell.com> + + * cond.c (s_ifb): New. + * read.c (potable): Add s_ifb as handler for .ifb and .ifnb. + * read.h (s_ifb): Prototype. + * doc/as.texinfo: Document .ifb and .ifnb. + +2005-05-05 Steve Ellcey <sje@cup.hp.com> + + * config/tc-ia64.c (MIN): Undef. + +2005-05-05 Paul Brook <paul@codesourcery.com> + + * config/tc-i386.h (ELF_TARGET_FORMAT): Define for TE_VXWORKS. + +2005-05-05 Matt Thomas <matt@3am-software.com> + + * config/tc-vax.c (md_assemble): Don't assume a valueT is 4 + bytes. + +2005-05-05 Nick Clifton <nickc@redhat.com> + + * Update the address and phone number of the FSF organization in + the GPL notices in the following files: + COPYING, app.c, as.c, as.h, asintl.h, atof-generic.c, bignum.h, + bit_fix.h, cgen.c, cgen.h, cond.c, debug.c, depend.c, dw2gencfi.c, + dw2gencfi.h, dwarf2dbg.c, dwarf2dbg.h, ecoff.c, ecoff.h, ehopt.c, + emul-target.h, emul.h, expr.c, expr.h, flonum-copy.c, + flonum-konst.c, flonum.h, frags.c, frags.h, hash.c, hash.h, + input-file.c, input-file.h, input-scrub.c, itbl-lex.h, itbl-lex.l, + itbl-ops.c, itbl-ops.h, itbl-parse.y, listing.c, listing.h, + literal.c, macro.c, macro.h, messages.c, obj.h, output-file.c, + output-file.h, read.c, read.h, sb.c, sb.h, stabs.c, + struc-symbol.h, subsegs.c, subsegs.h, symbols.c, symbols.h, tc.h, + write.c, write.h, config/aout_gnu.h, config/atof-ieee.c, + config/atof-vax.c, config/itbl-mips.h, config/m68k-parse.h, + config/m68k-parse.y, config/m88k-opcode.h, config/obj-aout.c, + config/obj-aout.h, config/obj-bout.c, config/obj-bout.h, + config/obj-coff.c, config/obj-coff.h, config/obj-ecoff.c, + config/obj-ecoff.h, config/obj-elf.c, config/obj-elf.h, + config/obj-evax.c, config/obj-evax.h, config/obj-hp300.c, + config/obj-hp300.h, config/obj-ieee.c, config/obj-ieee.h, + config/obj-multi.h, config/obj-som.c, config/obj-som.h, + config/tc-a29k.c, config/tc-a29k.h, config/tc-alpha.c, + config/tc-alpha.h, config/tc-arc.c, config/tc-arc.h, + config/tc-arm.h, config/tc-avr.c, config/tc-avr.h, + config/tc-cris.c, config/tc-cris.h, config/tc-crx.c, + config/tc-crx.h, config/tc-d10v.c, config/tc-d10v.h, + config/tc-d30v.c, config/tc-d30v.h, config/tc-dlx.c, + config/tc-dlx.h, config/tc-fr30.c, config/tc-fr30.h, + config/tc-frv.c, config/tc-frv.h, config/tc-generic.c, + config/tc-generic.h, config/tc-h8300.c, config/tc-h8300.h, + config/tc-h8500.c, config/tc-h8500.h, config/tc-hppa.c, + config/tc-hppa.h, config/tc-i370.c, config/tc-i370.h, + config/tc-i386.c, config/tc-i386.h, config/tc-i860.c, + config/tc-i860.h, config/tc-i960.c, config/tc-i960.h, + config/tc-ia64.c, config/tc-ia64.h, config/tc-ip2k.c, + config/tc-ip2k.h, config/tc-iq2000.c, config/tc-iq2000.h, + config/tc-m32r.c, config/tc-m32r.h, config/tc-m68851.h, + config/tc-m68hc11.c, config/tc-m68hc11.h, config/tc-m68k.c, + config/tc-m68k.h, config/tc-m88k.c, config/tc-m88k.h, + config/tc-maxq.c, config/tc-maxq.h, config/tc-mcore.c, + config/tc-mcore.h, config/tc-mips.c, config/tc-mips.h, + config/tc-mmix.c, config/tc-mmix.h, config/tc-mn10200.c, + config/tc-mn10200.h, config/tc-mn10300.c, config/tc-mn10300.h, + config/tc-msp430.c, config/tc-msp430.h, config/tc-ns32k.c, + config/tc-ns32k.h, config/tc-openrisc.c, config/tc-openrisc.h, + config/tc-or32.c, config/tc-or32.h, config/tc-pdp11.c, + config/tc-pdp11.h, config/tc-pj.c, config/tc-pj.h, + config/tc-ppc.c, config/tc-ppc.h, config/tc-s390.c, + config/tc-s390.h, config/tc-sh.c, config/tc-sh.h, + config/tc-sh64.c, config/tc-sh64.h, config/tc-sparc.c, + config/tc-sparc.h, config/tc-tahoe.c, config/tc-tahoe.h, + config/tc-tic30.c, config/tc-tic30.h, config/tc-tic4x.c, + config/tc-tic4x.h, config/tc-tic54x.c, config/tc-tic54x.h, + config/tc-tic80.c, config/tc-tic80.h, config/tc-v850.c, + config/tc-v850.h, config/tc-vax.c, config/tc-vax.h, + config/tc-w65.c, config/tc-w65.h, config/tc-xstormy16.c, + config/tc-xstormy16.h, config/tc-xtensa.c, config/tc-xtensa.h, + config/tc-z8k.c, config/tc-z8k.h, config/te-386bsd.h, + config/te-freebsd.h, config/te-hp300.h, config/te-hppa.h, + config/te-ic960.h, config/te-irix.h, config/te-nbsd.h, + config/te-netware.h, config/te-sparcaout.h, config/te-sun3.h, + config/te-tmips.h, config/te-vxworks.h, config/vax-inst.h, + config/xtensa-istack.h, config/xtensa-relax.c, + config/xtensa-relax.h, doc/fdl.texi + +2005-05-05 Nick Clifton <nickc@redhat.com> + + * config/tc-arm.c (arm_opts): Make -mlittle-endian switch set + the target_big_endian variable to false. + +2005-05-04 Alan Modra <amodra@bigpond.net.au> + + * config/obj-ecoff.c (ecoff_frob_file_before_fix): Correct section + list traversal. Use bfd_section_list_prepend. + * config/tc-mmix.c (mmix_frob_file): Don't needlessly iterate + over the section list. + * config/tc-xtensa.c (xtensa_remove_section): Delete. + (xtensa_insert_section): Delete. + (xtensa_move_seg_list_to_beginning): Use bfd_section_list_remove + and bfd_section_list_prepend. + (xtensa_reorder_seg_list): Use bfd_section_list_remove and + bfd_section_list_insert_after. + +2005-05-03 Nick Clifton <nickc@redhat.com> + + * config/obj-ecoff.c (ecoff_frob_file_before_fix): Fix invocations + of bfd_section_list... macros. + * config/tc-mmix.c (mmix_frob_file): Likewise. + * config/tc-xtensa.c (xtensa_remove_section): Likewise. + (xtensa_insert_section): Likewise. + + * macro.c (macro_hash): Remove static. + * macro.h (macro_hash): Provide an external declaration. + +2005-05-02 H.J. Lu <hongjiu.lu@intel.com> + + * write.c (write_object_file): Use bfd_section_double_list_remove + to remove sections. + +2005-05-02 Daniel Jacobowitz <dan@codesourcery.com> + + * doc/Makefile.am (gasver.texi): Correct quoting. + * doc/Makefile.in: Regenerated. + +2005-04-29 Ralf Corsepius <ralf.corsepius@rtems.org> + + * configure.tgt: Add h8300*-*-rtemscoff. + Switch h8300*-*-rtems* to elf. + +2005-04-29 H.J. Lu <hongjiu.lu@intel.com> + + * hash.c: Undo the last change. + * hash.h: Likewise. + +2005-04-29 Daniel Jacobowitz <dan@codesourcery.com> + + * doc/Makefile.am (gasver.texi): Depend on bfd/configure instead + of Makefile. + (DISTCLEANFILES): Remove. + (MAINTAINERCLEANFILES): Add asconfig.texi. + * aclocal.m4, Makefile.in, doc/Makefile.in: Regenerated. + +2005-04-29 Ben Elliston <bje@au.ibm.com> + + * Makefile.am (GAS_CFILES): Remove bignum-copy.c. + (GENERIC_OBJS): Likewise, remove bignum-copy.o. + (bignum-copy.o): Remove. + * Makefile.in: Regenerate. + * makefile.vms (OBJS): Remove bignum-copy.obj. + * symbols.h (local_symbol_make): Remove declaration. + (verify_symbol_chain_2): Likewise. + * symbols.c (local_symbol_make): Make static. + (max_indent_level): Likewise. + (verify_symbol_chain_2): Remove. + * macro.c (macro_hash): Make static. + * messages.c (fprint_value): Remove. + * read.h (get_absolute_expr): Remove. + (emit_leb128_expr): Likewise. + (do_s_func): Likewise. + * read.c (do_s_func): Make static. + (emit_leb128_expr): Likewise. + (get_absolute_expr): Likewise. + * as.h (as_howmuch): Remove declaration. + (fprint_value): Likewise. + * as.c (myname): Make static. + * input-scrub.c (as_howmuch): Remove. + (as_1_char): Likewise. + * input-file.h (input_file_is_open): Remove. + * input-file.c (input_file_is_open): Likewise. + * expr.h (expr_build_unary): Remove declaration. + (expr_build_binary): Likewise. + * expr.c (expr_build_unary): Remove. + (expr_build_binary): Likewise. + * hash.h (hash_replace): Remove declaration. + (hash_delete): Likewise. + * hash.c (hash_replace): Remove. + (hash_delete): Likewise. + * bignum-copy.c (bignum_copy): Move from here .. + * config/tc-vax.c (bignum_copy): .. to here. + * bignum.h (LOG_TO_BASE_2_OF_10): Remove. + (bignum_copy): Remove extern declaration. + * sb.h (string_count): Remove extern declaration. + (sb_build, sb_add_buffer, sb_print, sb_print_at): Likewise. + (sb_name): Likewise. + * sb.c (dsize): Replace preprocessor macro with static int. + (string_count): Make static. + (sb_build, sb_add_buffer, sb_print, sb_print_at): Likewise. + (sb_name): Likewise. + * config/obj-coff.c (dim_index): Make static. + * config/tc-i386.c (GOT_symbol): Likewise. + (output_invalid_buf): Likewise. + * doc/internals.texi (Warning and error messages): Remove the + prototype for fprint_value. + +2005-04-27 Ben Elliston <bje@au.ibm.com> + + * link.cmd: Remove. + +2005-04-26 H.J. Lu <hongjiu.lu@intel.com> + + * config/obj-multi.h (FAKE_LABEL_NAME): Defined. + + * read.c (pseudo_set): Disallow symbol set to common symbol. + + PR 857 + * write.c (write_object_file): Report common symbol name when + disallowing local symbol set to common symbol. + (adjust_reloc_syms): Disallow local symbol set to undefined + symbol. + +2005-04-25 Jan Beulich <jbeulich@novell.com> + + * macro.c (macro_expand_body): Replace locals indicator parameters + with actual macro_entry. New local variables macro_line and err. + Don't return when encountering an error, just record the fact. + Detect local symbol name colliding with parameter. Track line number + inside of macro expansion. + (do_formals): Move local variable name to wider scope. Check + parameter of the same name doesn't already exist. In MRI mode, also + check it doesn't collide with the argument count pseudo-parameter). + (define_macro): Add file and line number parameters. Remove local + variable namestr. New local variable error. Initialize macro_entry + members file, line, and name. Don't return when encountering an + error, just record the fact. Use %s in some diagnostics for read.c + to insert the macro name. Free macro_entry on error. + (macro_expand): Pass macro_entry to macro_epand_body. Don't return + when encountering an error, just record the fact. + (expand_irp): Don't return when encountering an error, just record + the fact. + * macro.h (macro_struct): New members name, file, and line. + (define_macro): Add file and line number parameters. + * read.c (s_macro): Pass file and line to define_macro. Tag warning + regarding pseudo-op redefinition with the file/line that macro + definition started at. + +2005-04-22 Bob Wilson <bob.wilson@acm.org> + + * config/tc-xtensa.c (LOOKAHEAD_ALIGNER): Delete macro. + (future_alignment_required): Remove ifdefs that use it. + +2005-04-22 Bob Wilson <bob.wilson@acm.org> + + * config/tc-xtensa.c (xg_get_build_instr_size): Remove. + (xg_is_narrow_insn, xg_expand_narrow): Remove. Merge into... + (xg_is_single_relaxable_insn): ...here. Add "targ" and "narrow_only" + parameters. + (xg_assembly_relax, xg_find_narrowest_format, relaxation_requirements, + convert_frag_narrow): Use new version of xg_is_single_relaxable_insn. + +2005-04-21 Christian Groessler <chris@groessler.org> + + * config/tc-z8k.c (md_assemble): Fix buffer overrun in operand[] + array. + +2005-04-20 H.J. Lu <hongjiu.lu@intel.com> + + * config/obj-aout.h (S_IS_EXTERN): Removed. + * config/obj-bout.h (S_IS_EXTERN): Likewise. + * config/obj-coff.h (S_IS_EXTERN): Likewise. + * symbols.c (S_IS_EXTERN): Likewise. + * symbols.h (S_IS_EXTERN): Likewise. + + * config/tc-alpha.c (tc_gen_reloc): Replace S_IS_EXTERN with + S_IS_EXTERNAL. + * config/tc-d10v.c (md_apply_fix3): Likewise. + * config/tc-ia64.c (ia64_fix_adjustable): Likewise. + * config/tc-iq2000.c (iq2000_fix_adjustable): Likewise. + * config/tc-m32r.c (m32r_fix_adjustable): Likewise. + * config/tc-mmix.c (mmix_adjust_symtab): Likewise. + * config/tc-sh64.c (shmedia_frob_file_before_adjust): Likewise. + (shmedia_md_convert_frag): Likewise. + * symbols.c (print_symbol_value_1): Likewise. + * write.c (write_object_file): Likewise. + +2005-04-20 Nick Clifton <nickc@redhat.com> + + * config/tc-xtensa.c (get_aligned_diff): Change type of + branch_align to offsetT so that its signedness matches that of + target_size. + + * config/tc-mips.c (macro): Use sprintf_vma to convert a > 32 bit + number into a readable string. + (load_register): Likewise. + +2005-04-20 Andreas Schwab <schwab@suse.de> + + * config/tc-ia64.c (specify_resource): Initialize all of tmpl. + +2005-04-19 David S. Miller <davem@davemloft.net> + + * config/tc-sparc.c (md_assemble): If sparc_ip gives us a + NULL insn, exit early. Remove now spurious NULL checks. + (sparc_ip): Use as_bad for unknown opcode errors, set *pinsn + to NULL and exit. + +2005-04-19 Jan Beulich <jbeulich@novell.com> + + * symbols.h (symbol_find_base): Remove prototype. + * symbols.c (save_symbol_name): Remove code section conditional upon + STRIP_UNDERSCORE. + (symbol_find): Remove. + (symbol_find_base): Rename to symbol_find. + * subsegs.c (section_symbol): Replace use of symbol_find_base with + symbol_find. + * config/obj-coff.c (tag_insert): Remove code section conditional + upon STRIP_UNDERSCORE. + (obj_coff_def): Likewise. + (obj_coff_endef): Replace use of symbol_find_base with symbol_find. + (coff_frob_symbol): Likewise. + (yank_symbols): Likewise. + (c_section_symbol): Likewise. + * config/obj-coff.h (DO_NOT_STRIP): Remove. + * config/tc-arm.c (symbol_locate): Remove code section conditional + upon STRIP_UNDERSCORE. + * config/tc-h8300.h (DO_NOT_STRIP): Remove. + * config/tc-h8500.h (DO_NOT_STRIP): Remove. + * config/tc-sh.h (DO_NOT_STRIP): Remove. + * config/tc-w65.h (DO_NOT_STRIP): Remove. + * config/tc-z8k.h (DO_NOT_STRIP): Remove. + +2005-04-19 Andreas Schwab <schwab@suse.de> + + * config/tc-ia64.c (md_assemble): Fix error message for wrong + access to application registers. + +2005-04-19 Jan Beulich <jbeulich@novell.com> + + * config/te-sysv32.h: Remove. + * Makefile.am (TARG_ENV_HFILES): Remove reference to + config/te-sysv32.h. + * Makefile.in (TARG_ENV_HFILES): Likewise. + +2005-04-19 Jan Beulich <jbeulich@novell.com> + + PR/847 + * config/tc-ia64.c (ia64_canonicalize_symbol_name): Re-allow zero- + length symbols. + +2005-04-18 Mark Kettenis <kettenis@gnu.org> + + * config/tc-i386.c (md_begin): Allow hyphens in mnemonics. + +2005-04-18 Maciej W. Rozycki <macro@linux-mips.org> + + * config/tc-mips.c (normalize_constant_expr): Don't check for + HAVE_32BIT_GPRS. + (check_absolute_expr): Only call normalize_constant_expr() if + HAVE_32BIT_GPRS. + (mips_ip): Likewise. + + * config/tc-mips.c (check_absolute_expr): Fix formatting. + +2005-04-18 Jan Beulich <jbeulich@novell.com> + + * macro.c (free_token): New, freeing all the memory associated with a + macro. + (do_formals): Move initializers to ... + (define_macro): ... here. + (delete_macro): Convert passed in name to lower case. Warn when + purging macro that doesn't exist. Use hash_jam instead of hash_delete. + +2005-04-15 Maciej W. Rozycki <macro@linux-mips.org> + + * config/tc-mips.c (normalize_constant_expr): Fix formatting. + +2005-04-15 Jan Beulich <jbeulich@novell.com> + + * config/obj-elf.c (obj_elf_struct): New. + (elf_pseudo_table). Use it for .offset and .struct. + +2005-04-14 Bob Wilson <bob.wilson@acm.org> + Sterling Augustine <sterling@tensilica.com> + + * config/tc-xtensa.c (get_aligned_diff): Handle target_size larger + than the section alignment. + +2005-04-14 Bob Wilson <bob.wilson@acm.org> + H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-xtensa.h (struct xtensa_frag_type): Add lit_frchain field. + * config/tc-xtensa.c (xg_translate_sysreg_op, + xtensa_translate_old_userregs_ops, + xtensa_find_unaligned_branch_targets, + xtensa_find_unaligned_loops, xtensa_fix_close_loop_end_frags, + relax_frag_add_nop): Support 64-bit host. + (xtensa_mark_literal_pool_location, xtensa_move_literals): Use + tc_frag_data lit_frchain and lit_seg fields instead of fr_var. + +2005-04-14 Mark Kettenis <kettenis@gnu.org> + + * configure.tgt: Add support for OpenBSD/sparc ELF. + + * configure.tgt: Set emulation for mips-*-openbsd*. + Remove broken mips-dec-openbsd* config. + * configure.in: Set default ABI for mips64-*-openbsd*. + * configure: Regenerate. + +2005-04-14 Maciej W. Rozycki <macro@linux-mips.org> + + * config/tc-mips.c (macro) [ldd_std]: Don't attempt the GP + optimization for constant addresses. + +2005-04-14 Nick Clifton <nickc@redhat.com> + + * as.c (main): Move parse_args before symbol_begin and frag_init + so that the hash table size can be set before it is used. + * hash.c: Use an unsigned long type for the size of the hash + tables. + * hash.h (set_gas_hash_table_size): Update the prototype. + +2005-04-14 Alan Modra <amodra@bigpond.net.au> + + * Makefile.am (NO_WERROR): Define. Use instead of -Wno-error. + * acinclude.m4: Include ../bfd/warning.m4. + * configure.in: Invoke AM_BINUTILS_WARNINGS. + * Makefile.in: Regenerate. + * configure: Regenerate. + * doc/Makefile.in: Regenerate. + +2005-04-13 Maciej W. Rozycki <macro@linux-mips.org> + + * config/tc-mips.c (IS_ZEXT_32BIT_NUM): New macro. + (normalize_address_expr): New function to sign-extend address + offsets that fit into 32 bits in 32-bit mode. + (macro_build_ldst_constoffset): Use normalize_address_expr() + instead of a handcoded sequence. + (load_register): Likewise. Report oversized numbers in a useful + way. + (macro) [ld_st, ldd_std]: Reject all oversized offsets, not only + for constant addresses. Report oversized numbers in a useful way. + (mips_ip): Use normalize_address_expr() for addresses. + +2005-04-12 Mark Kettenis <kettenis@gnu.org> + + * config/tc-i386.c (output_insn): Handle VIA PadLock instructions + similar to other instructions now that they're marked as ImmExt. + +2005-04-12 Nick Clifton <nickc@redhat.com> + + * hash.c (DEFAULT_SIZE): Delete. Replace with: + (gas_hash_table_size): New static variable. + (set_gas_hash_table_size): New function: Records a requested size + for the hash tables. + (get_gas_hash_table_size): New function: Return a prime number + near the requested size of the hash table. + (hash_new): Use get_gas_hash_table_size. + * hash.h: Add a prototype for set_gas_hash_table_size. + * as.c (show_usage): Add description of new switches: --hash-size + and --reduce-memory-overheads. + (option_values): Add OPTION_HASH_TABLE_SIZE and + OPTION_REDUCE_MEMORY_OVERHEADS. + (std_longpopts): Add entries for the new options. + (parse_args): Handle the new options. + * Makefile.am: Add a dependency of as.c on hash.h. + * Makefile.in: Regenerate. + * doc/as.texinfo: Document the new switches. + * NEWS: Mention the new switches. + +2005-04-12 Nick Clifton <nickc@redhat.com> + + PR gas/818 + * config/tc-hppa.c (pre_defined_registers): Fix %farg[0-3] + synonyms. + +2005-04-12 Alan Modra <amodra@bigpond.net.au> + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + +2005-04-11 Sterling Augustine <sterling@tensilica.com> + Bob Wilson <bob.wilson@acm.org> + + * config/tc-xtensa.c (check_t1_t2_reads_and_writes): Fix typo. + +2005-04-11 Mark Kettenis <kettenis@gnu.org> + + * configure.tgt (generic_target): Add support for OpenBSD/i386 ELF. + +2005-04-11 Jan Beulich <jbeulich@novell.com> + + * NEWS: Mention these changes and their effects. + * macro.c (get_token): Use is_name_beginner/is_part_of_name/ + is_name_ender. + (check_macro): Likewise. + (buffer_and_nest): Likewise. Permit multiple labels. Don't discard + labels together with the closing pseudo-op. + (macro_expand_body): Adjust comment. Range-check input before use. + Adjust mis-spelled diagnostic. Use is_name_beginner. + * read.c (try_macro): New. + (read_a_source_file): New static variable last_eol. Don't list + macro expansion lines more than once. Call try_macro. + (s_macro): Set section of line_label to absolute instead of undefined. + * doc/as.texinfo: Add information on the caveats of these changes. + +2005-04-11 Alan Modra <amodra@bigpond.net.au> + + * symbols.c (symbol_X_add_number): Change return type to "offsetT *". + * symbols.h (symbol_X_add_number): Update prototype. + +2005-04-10 Eric Christopher <echristo@redhat.com> + + * symbols.c (symbol_X_add_number): Fix warning. + +2005-04-10 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-m68k.c (md_begin): Support 64bit host. + (get_num): Support 64bit BFD on 32bit host. + +2005-04-10 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-mips.c (md_apply_fix3): Fix typos in BFD_RELOC_64. + +2005-04-09 Alan Modra <amodra@bigpond.net.au> + + * read.c (assign_symbol): Remove const from parm. Fix xcalloc + call. Don't do the COFF hacks for multi-emulation gas. Move + demand_empty_rest_of_line back to caller. + (s_set, equals): demand_empty_rest_of_line here. + + PR gas/827 + * as.h (rs_dummy): Define. + * symbols.c (symbol_X_add_number): New function. + * symbols.h (symbol_X_add_number): Declare. + * stabs.c (aout_process_stab): Tidy symbol frag setting. + * read.c (assign_symbol): New function, split out from s_set. + Use symbol_find_or_make. Leave fr_type of dummy frag as rs_dummy. + Fix COFF hacks for multi-emulation gas. + (s_set): Call assign_symbol. Remove "register" keyword. + (set_zero_frag): New function. + (pseudo_set): Always check for assignment to section syms. + Always set segment and frag of symbol, and likewise extern for + aout/bout. Handle assignment of sym=sym+/-const specially. Don't + special case exp.X_add_number non-zero for O_symbol expressions. + (equals): Use assign_symbol. + +2005-04-08 Bob Wilson <bob.wilson@acm.org> + + * config/tc-xtensa.c (xtensa_create_xproperty_segments): Skip + SEC_MERGE sections. + +2005-04-06 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-i386.c (tc_gen_reloc): Don't turn + BFD_RELOC_X86_64_32S into BFD_RELOC_32. + +2005-04-06 Nick Clifton <nickc@redhat.com> + + * po/rw.po: New translation: Kinyarwanda + * configure.in (ALL_LINGUAS): Add rw + * configure: Regenerate. + +2005-04-05 Sterling Augustine <sterling@tensilica.com> + Bob Wilson <bob.wilson@acm.org> + + * config/tc-xtensa.c (branch_align_power): New. + (xtensa_find_unaligned_branch_targets, get_aligned_diff, + future_alignment_required): Use branch_align_power to check section + alignment as well as xtensa_fetch_width when aligning branch targets. + +2005-04-05 Bob Wilson <bob.wilson@acm.org> + + * config/tc-xtensa.c: Warning fixes throughout. + (xtensa_fetch_width): Change to unsigned. + (assemble_nop, xtensa_find_unaligned_branch_targets, + xtensa_find_unaligned_loops, xg_assemble_vliw_tokens, + is_narrow_branch_guaranteed_in_range, xtensa_fix_close_loop_end_frags, + min_bytes_to_other_loop_end, unrelaxed_frag_min_size, + unrelaxed_frag_max_size, xtensa_fix_short_loop_frags, + count_insns_to_loop_end, unrelaxed_frag_min_insn_count, + get_text_align_max_fill_size, get_text_align_nop_count, + get_text_align_nth_nop_size, get_noop_aligned_address, + get_aligned_diff, convert_frag_align_next_opcode, + convert_frag_immed_finish_loop, xtensa_create_property_segments, + xtensa_create_xproperty_segments, xt_block_aligned_size): Clean up + types, avoiding size_t and using offsetT and addressT appropriately. + (get_text_align_power): Clean up types. Avoid incorrect bound. + (get_text_align_fill_size): Clean up types. Restructure for clarity. + +2005-04-04 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-ia64.c (start_unwind_section): Undo the change + of 2004-08-18. + (generate_unwind_image, dot_endp): Likewise. + +2005-04-01 David Mosberger <davidm@hpl.hp.com> + + * config/tc-ia64.c (ia64_handle_align): Move le_nop and + le_nop_stop arrays and initializers to file scope. + (md_begin): When generating code for anything other than + Itanium 1, use MMI instead of MFI NOP bundles as a filler. + +2005-04-01 Jan Beulich <jbeulich@novell.com> + + * config/tc-i386.c (output_imm): Also set sign flag for 64-bit push + immediates. + +2005-04-01 Jan-Benedict Glaw <jbglaw@lug-owl.de> + + * NEWS: Mention [fdgh]_floating. + * config/atof-vax.c: Fix some whitespace. + * config/tc-vax.c (md_pseudo_table): Add "[fdgh]_floating". + +2005-04-01 Nick Clifton <nickc@redhat.com> + + * configure.in: Add a check for <unistd.h> providing a prototype + for getopt() which is compatible with the one in + include/getopt.h. If so then define HAVE_DECL_GETOPT. + * configure: Regenerate. + * config.in (HAVE_DECL_GETOPT): Add. + +2005-04-01 Jan Beulich <jbeulich@novell.com> + + * config/tc-i386.c (s_bss): Call obj_elf_section_change_hook. + +2005-04-01 Jan Beulich <jbeulich@novell.com> + + * config/tc-i386.c (md_apply_fix3): Also handle BFD_RELOC_X86_64_32S. + (tc_gen_reloc): Handle BFD_RELOC_X86_64_32S in the default case. + +2005-03-30 Julian Brown <julian@codesourcery.com> + + * config/tc-arm.c (arm_adjust_symtab): Rename + bfd_elf32_is_arm_mapping_symbol_name to bfd_is_arm_mapping_symbol_name. + +2005-03-30 Julian Brown <julian@codesourcery.com> + + * config/tc-arm.c (mapping_state): Change documentation in function + comment to cross-reference spec instead. Change type of mapping symbols + to BSF_NO_TYPE. + (arm_adjust_symtab): Don't change type of mapping symbols here. + +2005-03-30 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> + + * as.h [NEED_DECLARATION_FFS] (ffs): Prototype and alphabetize. + * config.in: Regenerate. + * configure: Regenerate. + * configure.in: Check for ffs decl and alphabetize. + +2005-03-29 Daniel Jacobowitz <dan@codesourcery.com> + Phil Blundell <philb@gnu.org> + + * config/tc-arm.c (arm_parse_reloc): Add TLS relocations. + (md_apply_fix3): Mark TLS symbols. + (tc_gen_reloc): Handle TLS relocations. + (arm_fix_adjustable): Ignore TLS relocations. + (s_arm_elf_cons): Support expressions after decorated symbols. + +2005-03-29 Julian Brown <julian@codesourcery.com> + + * config/tc-arm.c (marked_pr_dependency): New bitmap, bit N indicates + whether personality routine index N has been output for this section. + (mapping_state): tc_segment_info_data now struct not enum. + (arm_elf_change_section): Likewise, and marked_pr_dependency is now + handled on section change. + (create_unwind_entry): Previous code to output dependency removed. + (s_arm_unwind_fnend): Output dependency if it hasn't been done already + for this section. + * config/tc-arm.h (TC_SEGMENT_INFO_TYPE): Redefined as struct + arm_segment_info_type. + (arm_segment_info_type): New struct. + +2005-03-28 Sterling Augustine <sterling@tensilica.com> + Bob Wilson <bob.wilson@acm.org> + + * config/tc-xtensa.c (do_align_targets): Update comment. + (xtensa_frob_label): Compute "freq" before possibly switching frags. + Insert a LOOP_END frag before every loop target, and do not overload + DESIRE_ALIGN_IF_TARGET frags with loop end information. + (xg_assemble_vliw_tokens): Use do_align_targets. + (xtensa_fix_target_frags): Remove code to convert a + DESIRE_ALIGN_IF_TARGET frag to a LOOP_END frag when there is a + negatable branch at the end of a loop. + (frag_can_negate_branch): Delete. + +2005-03-28 David Mosberger <davidm@hpl.hp.com> + H.J. Lu <hongjiu.lu@intel.com> + + PR 803 + NEWS: Mention "-mtune=[itanium1|itanium2]". + + * config/tc-ia64.c (md): Add tune. + (md_parse_option): Accepted "-mtune=[itanium1|itanium2]". + (md_show_usage): Add "-mtune=[itanium1|itanium2]". + (extra_goodness): Prefer M- and I-unit NOPs for itanium2. F and + B unit NOPs are discouraged for McKinley-derived cores. + (md_begin): Don't hardcode the "extra_goodness()" function in + the comment... + (ia64_init): Set md.tune to itanium2. + + * doc/as.texinfo: Add -mtune=[itanium1|itanium2]". + * doc/c-ia64.texi: Likewise. + +2005-03-27 Ian Lance Taylor <ian@airs.com> + + * config/obj-coff.c (coff_frob_symbol): When crashing because of a + bad C_EFCN symbol, print its name. + +2005-03-25 Bob Wilson <bob.wilson@acm.org> + + * config/tc-xtensa.c (use_longcalls): Delete. + (xg_symbolic_immeds_fit): Check for direct calls and return TRUE if + the use_longcalls flag is set. Do this before checking the segment. + (xg_expand_assembly_insn): Rearrange to use new do_expand flag. Never + expand direct calls at this point. + (xtensa_set_frag_assembly_state): Set use_longcalls flag. + (xtensa_find_unmarked_state_frags): Likewise. + (md_assemble): Do not disable longcalls by setting is_specific_opcode. + (xg_assemble_vliw_tokens): Switch frags when use_longcalls changes. + (convert_frag_immed): Remove unnecessary check of is_specific_opcode. + * config/tc-xtensa.h (xtensa_frag_type): Add use_longcalls flag. + +2005-03-25 Hans-Peter Nilsson <hp@bitrange.com> + + * config/tc-mmix.c, config/tc-mmix.h: Convert to ISO C90. + +2005-03-25 Hans-Peter Nilsson <hp@axis.com> + + * config/tc-cris.h: Convert to ISO C90. + * config/tc-cris.c: Ditto. + (md_estimate_size_before_relax): Remove obsolete comment for + parameter "segment_type". + (md_begin): Document reason for cast of hash_insert argument. + (md_atof): Correct type of parameter "type". + +2005-03-24 Nick Clifton <nickc@redhat.com> + + * write.h (bit_fix_new): Remove redundant prototype. + * config/atof-ieee.c: Convert to ISO-C90 and fix formatting. + * config/obj-aout.c: Convert to ISO-C90 and fix formatting. + * config/obj-aout.h: Convert to ISO-C90 and fix formatting. + * config/obj-bout.c: Convert to ISO-C90 and fix formatting. + * config/obj-bout.h: Convert to ISO-C90 and fix formatting. + * config/obj-ecoff.c: Convert to ISO-C90 and fix formatting. + * config/obj-ecoff.h: Convert to ISO-C90 and fix formatting. + * config/obj-som.c: Convert to ISO-C90 and fix formatting. + * config/obj-som.h: Convert to ISO-C90 and fix formatting. + * config/tc-a29k.c: Convert to ISO-C90 and fix formatting. + * config/tc-a29k.h: Convert to ISO-C90 and fix formatting. + * config/tc-alpha.c: Convert to ISO-C90 and fix formatting. + * config/tc-alpha.h: Convert to ISO-C90 and fix formatting. + * config/tc-arc.c: Convert to ISO-C90 and fix formatting. + * config/tc-arc.h: Convert to ISO-C90 and fix formatting. + * config/tc-d10v.c: Convert to ISO-C90 and fix formatting. + * config/tc-d10v.h: Convert to ISO-C90 and fix formatting. + * config/tc-d30v.c: Convert to ISO-C90 and fix formatting. + * config/tc-d30v.h: Convert to ISO-C90 and fix formatting. + * config/tc-dlx.c: Convert to ISO-C90 and fix formatting. + * config/tc-dlx.h: Convert to ISO-C90 and fix formatting. + * config/tc-fr30.c: Convert to ISO-C90 and fix formatting. + * config/tc-fr30.h: Convert to ISO-C90 and fix formatting. + * config/tc-h8500.c: Convert to ISO-C90 and fix formatting. + * config/tc-h8500.h: Convert to ISO-C90 and fix formatting. + * config/tc-i370.c: Convert to ISO-C90 and fix formatting. + * config/tc-i370.h: Convert to ISO-C90 and fix formatting. + * config/tc-i960.c: Convert to ISO-C90 and fix formatting. + * config/tc-ip2k.c: Convert to ISO-C90 and fix formatting. + * config/tc-ip2k.h: Convert to ISO-C90 and fix formatting. + * config/tc-m32r.c: Convert to ISO-C90 and fix formatting. + * config/tc-m32r.h: Convert to ISO-C90 and fix formatting. + * config/tc-m88k.c: Convert to ISO-C90 and fix formatting. + * config/tc-m88k.h: Convert to ISO-C90 and fix formatting. + * config/tc-mcore.c: Convert to ISO-C90 and fix formatting. + * config/tc-mcore.h: Convert to ISO-C90 and fix formatting. + * config/tc-mn10200.c: Convert to ISO-C90 and fix formatting. + * config/tc-ns32k.c: Convert to ISO-C90 and fix formatting. + * config/tc-ns32k.h: Convert to ISO-C90 and fix formatting. + * config/tc-openrisc.c: Convert to ISO-C90 and fix formatting. + * config/tc-openrisc.h: Convert to ISO-C90 and fix formatting. + * config/tc-or32.c: Convert to ISO-C90 and fix formatting. + * config/tc-or32.h: Convert to ISO-C90 and fix formatting. + * config/tc-pdp11.h: Convert to ISO-C90 and fix formatting. + * config/tc-pj.c: Convert to ISO-C90 and fix formatting. + * config/tc-pj.h: Convert to ISO-C90 and fix formatting. + * config/tc-tahoe.c: Convert to ISO-C90 and fix formatting. + * config/tc-tic80.c: Convert to ISO-C90 and fix formatting. + * config/tc-tic80.h: Convert to ISO-C90 and fix formatting. + * config/tc-v850.c: Convert to ISO-C90 and fix formatting. + * config/tc-v850.h: Convert to ISO-C90 and fix formatting. + * config/tc-w65.c: Convert to ISO-C90 and fix formatting. + * config/tc-w65.h: Convert to ISO-C90 and fix formatting. + * config/tc-xstormy16.c: Convert to ISO-C90 and fix formatting. + * config/tc-xstormy16.h: Convert to ISO-C90 and fix formatting. + +2005-03-23 Jim Blandy <jimb@redhat.com> + + * config/tc-arm.c (arm_adjust_symtab): Fetch elf_sym's binding + attributes properly. + +2005-03-23 Mike Frysinger <vapier@gentoo.org> + Nick Clifton <nickc@redhat.com> + + * configure.tgt: Accept any C library to accompany a GNU Linux + implementation, not just the GNU C library. + * configure.in: Likewise. + * configure: Regenerate. + +2005-03-23 Nick Clifton <nickc@redhat.com> + + * config/tc-tic30.c: Convert to ISO C90 formatting. + * config/tc-tic30.h: Convert to ISO C90 formatting. + * config/tc-pdp11.c: Convert to ISO C90 formatting. + * config/atof-vax.c: Convert to ISO C90 formatting. + +2005-03-21 Maciej W. Rozycki <macro@mips.com> + + * config/tc-mips.c (mips_frob_file): Sort BFD_RELOC_MIPS16_LO16 + relocations correctly as well. + (mips_fix_adjustable): Don't make BFD_RELOC_MIPS16_LO16 + relocations in mergeable sections section-relative either. + +2005-03-21 Bob Wilson <bob.wilson@acm.org> + + * config/tc-xtensa.c (md_apply_fix3): Recognize XTENSA_PLT relocations. + +2005-03-21 Nick Clifton <nickc@redhat.com> + + * config/tc-sh.c (sh_elf_final_processing): Fix compile time + warning by providing a prototype for sh_symbian_find_elf_flags. + + * cgen.c (gas_cgen_parse_operand): Fix typo introduced by + previous delta. + +2005-03-21 Alan Modra <amodra@bigpond.net.au> + + * configure.tgt: Handle setting of bfd_gas for fmt=multi targets + along with other formats that set bfd_gas. Remove unnecessary + setting of bfd_gas. Delete strongarm cases in generic_target + switch. + +2005-03-21 Alan Modra <amodra@bigpond.net.au> + + PR gas/780 + * config/tc-m68k.c (TRUNC, SEXT): Define. + (issbyte, isubyte, issword, isuword, isbyte, isword): Use the above. + (m68k_ip): Truncate or sign extend expressions as appropriate. + (get_num): Likewise. + (md_apply_fix3): Use SEXT. + +2005-03-21 Alan Modra <amodra@bigpond.net.au> + + * Makefile.am (OBJ_FORMAT_CFILES): Prune config/obj-vms.c. + (OBJ_FORMAT_HFILES): Prune config/obj-vms.h. + (obj-vms.o): Delete rule. + Run "make dep-am". + * Makefile.in: Regenerate. + * aclocal.m4: Regenerate. + * doc/Makefile.in: Regenerate. + * po/POTFILES.in: Regenerate. + +2005-03-18 C Jaiprakash <cjaiprakash@noida.hcltech.com> + + * config/tc-m68k.c (m68k_elf_final_processing): Set file specific + flag for coldfire v4e. + +2005-03-17 Bob Wilson <bob.wilson@acm.org> + + * config/tc-xtensa.c (xg_apply_tentative_value): Rename to + xg_apply_fix_value and return a value to indicate success. + (md_pcrel_from): Skip check of fx_done. Return 0 if not PC-relative. + (xtensa_force_relocation): Remove checks for VTABLE relocs. + (xtensa_validate_fix_sub): New. + (xtensa_fix_adjustable): Remove check for external or weak symbols. + (tc_gen_reloc): Move code to handle difference of symbols and code to + apply tentative fix values to ... + (md_apply_fix3): ...here. Enable standard overflow checks for simple + 8, 16, and 32 bit relocations. Apply fixes for slot-specific + relocations when linkrelax flag is not set. + * config/tc-xtensa.h (xtensa_validate_fix_sub): Add prototype. + (TC_FORCE_RELOCATION_SUB_SAME, TC_VALIDATE_FIX_SUB): Define. + +2005-03-17 Jan Beulich <jbeulich@novell.com> + + * config/tc-i386.c (i386_scale): Beautify error message. + (Intel syntax comments): Update. + (struct intel_parser_s): Add fields in_offset, in_bracket, and + next_operand. + (intel_e04_1, intel_e05_1, intel_e05_1, intel_e09_1, intel_e10_1): + Remove declarations. + (intel_bracket_expr): Declare. + (i386_intel_operand): Initialize new intel_parser fields. Wrap most + of the function body in a loop allowing to split an operand into two. + Replace calls to malloc and checks of it returning non-NULL with + calls to xmalloc/xstrdup. + (intel_expr): SHORT no longer handled here. Add comment indicating + comparison ops need implementation. + (intel_e04, intel_e04_1): Combine, replace recursion with loop. + Check right operand of - does not specify a register when parsing + the address of a memory reference. + (intel_e05, intel_e05_1): Combine, replace recursion with loop. + Check operands do not specify a register when parsing the address of + a memory reference. + (intel_e06, intel_e06_1): Likewise. + (intel_e09, intel_e09_1): Combine, replace recursion with loop. Also + handle SHORT as well as unary + and -. Don't accept : except for + segment overrides or in direct far jump/call insns. + (intel_brack_expr): New. + (intel_e10, intel_e10_1): Combine, replace recursion with loop. Use + intel_brack_expr. + (intel_e11): Replace chain of if/else-if by switch, alloing fall- + through in certain cases. Use intel_brack_expr. Add new diagnostics. + Allow symbolic constants as register scale value. + (intel_get_token): Replace call to malloc and check of return value + with call to xmalloc. Change handling for FLAT to match MASM's. + (intel_putback_token): Don't try to back up/free current token if + that is T_NIL. + +2005-03-16 Daniel Jacobowitz <dan@codesourcery.com> + + * configure.tgt: Set emulation for arm-*-eabi*. + * config/tc-arm.c (meabi_flags): Check EABI_DEFAULT. + * config/te-armeabi.h: New file. + * config/te-armlinuxeabi.h (EABI_DEFAULT): Define. + * config/te-symbian.h: Include "te-armeabi.h". + +2005-03-16 Nick Clifton <nickc@redhat.com> + + * cgen.c (gas_cgen_parse_operand): Copy opinfo parameter into a + local variable in case it is clobbered by the setjmp. + +2005-03-16 Nick Clifton <nickc@redhat.com> + Ben Elliston <bje@au.ibm.com> + + * configure.in (werror): New switch: Add -Werror to the + compiler command line. Enabled by default. Disable via + --disable-werror. + * configure: Regenerate. + +2005-03-16 Nick Clifton <nickc@redhat.com> + + * config/obj-coff.h: Convert to ISO C90 formatting. + * config/obj-coff.c: Convert to ISO C90 formatting. + +2005-03-15 Zack Weinberg <zack@codesourcery.com> + + * config/tc-arm.c (do_mla): Rename to do_mlas, take second + is_mls parameter; do not diagnose Rm==Rd when is_mls. + (do_mla, do_mls, five_bit_unsigned_immediate, bfci_lsb_and_width) + (do_bfc, do_bfi, do_bfx, do_rbit, do_mov16, do_ldsttv4): New functions. + (insns): Add ARMv6T2 instructions: + bfc bfi mls movw movt rbit sbfx ubfx ldrht ldrsht ldrsbt strht. + (arm_archs): Add V6T2 variants. + +2005-03-15 Nick Clifton <nickc@redhat.com> + + * NEWS: Add cutoff for changes in 2.16 release. + +2005-03-15 Jan Beulich <jbeulich@novell.com> + + * expr.c (operand): Merge handling of unary + into that for unary + -, !, and ~. + +2005-03-14 Eric Christopher <echristo@redhat.com> + + * config/tc-mips.c: Include dw2gencfi.h. + (mips_cfi_frame_initial_instructions): New. + * config/tc-mips.h (TARGET_USE_CFIPOP): Define. + (tc_cfi_frame_initial_instructions): Ditto. + (DWARF2_DEFAULT_RETURN_COLUMN): Ditto. + (DWARF2_CIE_DATA_ALIGNMENT): Ditto. + * Makefile.am: Update dependencies. + * Makefile.in: Regenerate. + +2005-03-15 Alan Modra <amodra@bigpond.net.au> + + * po/es.po: Commit new Spanish translation. + +2005-03-14 Alan Modra <amodra@bigpond.net.au> + + * po/tr.po: Commit new Turkish translation. + +2005-03-12 Zack Weinberg <zack@codesourcery.com> + + * config/tc-arm.c (tinsns): Add ARMv6K instructions sev, wfe, + wfi, yield. + +2005-03-11 Daniel Jacobowitz <dan@codesourcery.com> + + * config-gas.com: Mark vax-vms as obsolete. + * configure.in: Remove fmt=vms support. + * config.in: Regenerate. + * configure: Regenerate. + * config/obj-vms.h, config/obj-vms.c, config/vms-conf.h: Remove. + +2005-03-10 Sterling Augustine <sterling@tensilica.com> + Bob Wilson <bob.wilson@acm.org> + + * config/tc-xtensa.c (finish_vinsn): Include the last instruction slot + when checking if xg_resolve_literals needs to be called. + * config/tc-xtensa.h: Fix spelling typo in a comment. + +2005-03-10 Jan Beulich <jbeulich@novell.com> + + * config/tc-tic54x.h (tic54x_macro_info): Change parameter type. + * config/tc-tic54x.c (tic54x_macro_info): Likewise. Replace hand- + crafted structure declarations with the types from macro.h. + +2005-03-09 Richard Sandiford <rsandifo@redhat.com> + + * config/tc-mips.c (s_cpsetup): Use '__gnu_local_gp' instead of '_gp' + for -mno-shared optimization. + +2005-03-09 Richard Sandiford <rsandifo@redhat.com> + + * config/tc-mips.c (MAX_VR4130_NOPS, MAX_DELAY_NOPS): New macros. + (MAX_NOPS): Bump to 4. + (mips_fix_vr4130): New variable. + (nops_for_vr4130): New function. + (nops_for_insn): Use MAX_DELAY_NOPS rather than MAX_NOPS. Use + nops_for_vr4130 if working around VR4130 errata. + (OPTION_FIX_VR4130, OPTION_NO_FIX_VR4130): New macros. + (md_longopts): Add -mfix-vr4130 and -mno-fix-vr4130. + (md_parse_option): Handle them. + (md_show_usage): Print them. + * doc/c-mips.texi: Document -mfix-vr4130 and -mno-fix-vr4130. + +2005-03-09 Richard Sandiford <rsandifo@redhat.com> + + * config/tc-mips.c (append_insn): Remove cop_interlocks test from + branch delay code. + +2005-03-09 Richard Sandiford <rsandifo@redhat.com> + + * config/tc-mips.h (mips_flush_pending_output): Delete. + (mips_emit_delays): Declare. + (md_flush_pending_output): Use mips_emit_delays. + * config/tc-mips.c (mips_no_prev_insn): Remove parameter; always forget + the previous instructions. + (md_begin, append_insn, md_parse_option): Update callers. + (mips_emit_delay): Remove parameter. Move INSNS != 0 code to + start_noreorder. + (mips_align, s_change_sec, s_cons, s_float_cons, s_gpword) + (s_gpdword): Update callers. + (start_noreorder, end_noreorder): New functions. + (macro, macro2, mips16_macro, s_mipsset): Use them instead of + manipulating mips_opts or prev_nop_frag directly. + (mips_flush_pending_output): Delete. + +2005-03-09 Richard Sandiford <rsandifo@redhat.com> + + * config/tc-mips.c (mips_move_labels): New function, taken from... + (append_insn, mips_emit_delays): ...here. + +2005-03-09 Richard Sandiford <rsandifo@redhat.com> + + * config/tc-mips.c (MAX_NOPS): New macro. + (history): Resize to 1 + MAX_NOPS. + (fix_vr4120_class): New enumeration. + (vr4120_conflicts): New variable. + (init_vr4120_conflicts): New function. + (md_begin): Call it. + (insn_uses_reg): Constify first argument. + (classify_vr4120_insn, insns_between, nops_for_insn, nops_for_sequence) + (nops_for_insn_or_target): New functions. + (append_insn): Use the new nops_for_* functions instead of inline + delay checks. Generalize prev_nop_frag handling to handle an + arbitrary history length. Insert nops into the history buffer + once the number of nops in prev_nop_frag is fixed. + (emit_delays): Use nops_for_insn instead of inline delay checks. + +2005-03-09 Richard Sandiford <rsandifo@redhat.com> + + * config/tc-mips.c (append_insn): Remove now-redundant nops != 0 + check from branch delay code. Remove unnecessary check for branches. + +2005-03-09 Richard Sandiford <rsandifo@redhat.com> + + * config/tc-mips.c (dummy_opcode): Delete. + (nop_insn, mips16_nop_insn): New variables. + (NOP_INSN): New macro. + (insn_length, create_insn, install_insn, move_insn, add_fixed_insn) + (add_relaxed_insn, insert_into_history, emit_nop): New functions. + (md_begin): Initialize nop_insn and mips16_nop_insn. + (append_insn): Use the new emit_nop function to add nops, recording + them in the history buffer. Use add_fixed_insn or add_relaxed_insn + to reserve room for the instruction and install_insn to install the + final form. Use insert_into_history to record the instruction in + the history buffer. Use move_insn to do delay slot filling. + (mips_emit_delays): Use add_fixed_insn instead of the emit_nop macro. + (macro_build, mips16_macro_build, macro_build_lui, mips_ip) + (mips16_ip): Use create_insn to initialize mips_cl_insns. + +2005-03-09 Richard Sandiford <rsandifo@redhat.com> + + * config/tc-mips.c (INSERT_BITS, EXTRACT_BITS, INSERT_OPERAND) + (EXTRACT_OPERAND, MIPS16_INSERT_OPERAND, MIPS16_EXTRACT_OPERAND): New. + (insn_uses_reg, reg_needs_delay, append_insn, macro_build) + (mips16_macro_build, macro_build_lui, mips16_macro, mips_ip) + (mips16_ip): Use the new macros instead of explicit masks and shifts. + +2005-03-09 Richard Sandiford <rsandifo@redhat.com> + + * config/tc-mips.c (mips_cl_insn): Replace the valid_p, delay_slot_p + and extended_p fields with a single fixed_p field. + (append_insn, mips_no_prev_insn): Adjust accordingly. + +2005-03-09 Richard Sandiford <rsandifo@redhat.com> + + * config/tc-mips.c (mips_cl_insn): Replace reloc_type array with + a single mips16_absolute_jump_p bit. + (append_insn): Adjust accordingly. + +2005-03-09 Richard Sandiford <rsandifo@redhat.com> + + * config/tc-mips.h (mips_cl_insn): Move definition to... + * config/tc-mips.c (mips_cl_insn): ...here. Add new fields: + frag, where, fixp, reloc_type, valid_p, noreorder_p, delay_slot_p + and extended_p. + (history): New variable. + (prev_insn, prev_prev_insn, prev_insn_valid, prev_insn_frag) + (prev_insn_where, prev_insn_reloc_type, prev_insn_fixp) + (prev_insn_is_delay_slot, prev_insn_unreordered, prev_insn_extended) + (prev_prev_insn_unreordered): Delete. + (reg_needs_delay, append_insn, mips_no_prev_insn, mips_emit_delays) + (macro_start): Replace uses of prev_insn* with the equivalent history[] + field. + +2005-03-08 Daniel Jacobowitz <dan@codesourcery.com> + + * doc/Makefile.am: Update as.info dependencies. + * aclocal.m4, Makefile.in, doc/Makefile.in: Regenerated. + +2005-03-08 Jan Beulich <jbeulich@novell.com> + + * doc/as.texinfo: Add sentence to indicate redefining a macro is an + error, and point to .purgem documentation if someone really needs + re-definitions. + * NEWS: Mention macro redefinition is now an error. + +2005-03-08 Jan Beulich <jbeulich@novell.com> + + * config/tc-ia64.c (emit_one_bundle): Track last slot user insn was + emitted to. Add more precise diagnostics for non-fitting insns based + on that. Eliminate now superfluous special casing of MLX. Clear out + slot information when dropping an insn. + +2005-03-08 Jan Beulich <jbeulich@novell.com> + + * config/tc-ia64.c (parse_section_name): Rename to... + (cross_section): In addition to separating the name from the rest of + the arguments, also carry out the operation. + (dot_xdata): Use cross_section. + (dot_float_cons): Likewise. + (dot_xstringer): Likewise. + (dot_xdata_ua): Likewise. + (dot_float_cons_ua): Likewise. Pass float_cons, not stmt_float_cons. + +2005-03-05 Alan Modra <amodra@bigpond.net.au> + + * po/gas.pot: Regenerate. + +2005-03-04 David Daney <ddaney@avtrex.com> + + * config/tc-mips.c (macro_build_lui): Use '__gnu_local_gp' + instead of '_gp' for -mno-shared optimization. + (s_cpload): Ditto. + (s_abicalls): Document it in the comment. + (md_show_usage): Document the -mno-shared option. + +2005-03-04 Richard Sandiford <rsandifo@redhat.com> + + * config/tc-mips.c (mips_set_options): Add sym32 field. + (mips_opts): Initialize it. + (HAVE_32BIT_ADDRESSES): Set to true if pointers are 32 bits wide. + (HAVE_64BIT_ADDRESSES): Redefine as !HAVE_32BIT_ADDRESSES. + (HAVE_32BIT_SYMBOLS, HAVE_64BIT_SYMBOLS): New macros. + (load_address): Use HAVE_64BIT_SYMBOLS instead of HAVE_64BIT_ADDRESSES + when deciding whether to use a symbolic %highest/%higher expansion. + (macro): Likewise. Remove o64/n32 linux hack. Always use + ADDRESS_ADD*_INSN for address addition in the expansion of "dla" + and "la". Handle constants separately from symbolic expressions in + the "ld_st:" case, using 64-bit arithmetic if HAVE_64BIT_ADDRESSES + and using load_register to load the high part of the address. + (OPTION_MSYM32, OPTION_NO_MSYM32): New macros. + (OPTION_ELF_BASE): Bump by 2. + (md_longopts): Add entries for -msym32 and -mno-sym32. + (md_parse_option): Handle them. + (usage): Document them. + (s_mipsset): Handle ".set sym32" and ".set nosym32". + (s_cpload, s_cpsetup): Use HAVE_64BIT_SYMBOLS instead of + HAVE_64BIT_ADDRESSES to detect 64-bit values of "_gp". + * doc/c-mips.texi: Document ".set sym32", ".set nosym32", + -msym32 and -mno-sym32. + +2005-03-03 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> + + * config/tc-mips.c (load_address): Implement GP optimization + for 64bit address space non-PIC. Fix formatting. + (macro): Likewise. Simplify code. + (md_parse_option): Don't bail out if -G 0 is set for PIC code. + (mips_after_parse_args): Simplify code. + +2005-03-03 Nick Clifton <nickc@redhat.com> + + * expr.c (operand): Remove redundant code enclosed by #ifdef + RELAX_PAREN_GROUPING....#endif. + + * config/tc-mn10200.c (tc_gen_reloc): Handle the case where the + reloc is the difference of two symbols defined in the same + section. + + * config/tc-iq2000.c (line_comment_chars): Include the # character + as otherwise this breaks #APP/#NO_APP processing. + +2005-03-03 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com> + + * config/tc-arc.c(md_assemble): Remove dead code for handling + immediate indexing of ld and st . + +2005-03-02 Daniel Jacobowitz <dan@codesourcery.com> + Joseph Myers <joseph@codesourcery.com> + + * config/tc-mips.c (percent_op): Add %tlsgd, %tlsldm, %dtprel_hi, + %dtprel_lo, %tprel_hi, %tprel_lo, and %gottprel. + (parse_relocation): Check for a word break after a relocation + operator. + (md_apply_fix3): Handle TLS relocations, and mark thread-local + symbols. + +2005-03-02 Alan Modra <amodra@bigpond.net.au> + + * config/tc-ppc.c (ppc_fix_adjustable <ELF>): Remove bogus checks. + +2005-03-02 Jan Beulich <jbeulich@novell.com> + + * as.c (main): Use unlink_if_ordinary instead of unlink. + * messages.c (as_fatal): Likewise. + +2005-03-02 Jan Beulich <jbeulich@novell.com> + + * config/tc-i386.c (build_modrm_byte): Add lock prefix for cr8...15 + accesses. + (parse_register): Allow cr8...15 in all modes. + +2005-03-02 Jan Beulich <jbeulich@novell.com> + + * config/tc-i386.c (intel_e11): If not followed by T_PTR, treat T_BYTE + etc. like normal symbol references (T_ID). + +2005-03-02 Alan Modra <amodra@bigpond.net.au> + + * symbols.c (fb_label_name): Fix silly thinko in last change. + +2005-03-02 Alan Modra <amodra@bigpond.net.au> + + * expr.c (integer_constant): Remove TARGET_WORD_SIZE hack. + * config/tc-m68k.h (TARGET_WORD_SIZE): Delete. + + * symbols.c (fb_label_name): Allow an augend of 2 for mmix. + +2005-03-01 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com> + + PR gas/708 + * config/tc-arc.c (md_assemble): Initialize suffix for extension + suffixes also. + +2005-03-01 Alan Modra <amodra@bigpond.net.au> + + * config/obj-coff.c (fixup_segment): Delete sy_mri_common assertion. + + * as.h (assert): Warning fix. + * expr.c (expr): Correct assertion. + * read.c (s_comm_internal): Remove assertion. + * write.c (relax_segment): Enable vma assertion only for BFD_ASSEMBLER. + (fixup_segment): Remove assertion. + * config/tc-dlx.c (machine_ip): Remove untrue assertions. + (md_apply_fix3): Likewise. + * config/tc-i370.c (md_begin): Correct assertion. + (i370_macro): Warning fix for assertion. + +2005-03-01 Alan Modra <amodra@bigpond.net.au> + + * configure.in (AC_C_BIGENDIAN): Invoke. + * configure: Regenerate. + * write.c (write_object_file <!BFD_ASSEMBLER>): Don't use sizeof + host variable to set string header size. + * config/obj-aout.c (obj_header_append): Don't use host structs. + (obj_symbol_to_chars): Likewise. + (obj_emit_strings): Likewise. Use the passed in output pointer. + * config/obj-aout.h (H_GET_FILE_SIZE): Include H_GET_LINENO_SIZE. + * config/obj-bout.c (obj_emit_relocations): Use md_reloc_size, + not sizeof host struct. + (obj_header_append, obj_symbol_to_chars): Don't use host structs. + (obj_emit_strings): Likewise. + * config/obj-bout.h (EXEC_BYTES_SIZE): Define. + (N_TXTOFF, H_GET_FILE_SIZE, H_GET_HEADER_SIZE): Use instead of + sizeof host struct. + (H_SET_SYMBOL_TABLE_SIZE): Hard code sym size rather than using + sizeof host struct. + (host_number_to_chars): Define. + * config/obj-hp300.c (hp300_header_append): Don't use sizeof + host internal struct to set header sizes. + * config/tc-i960.c (md_number_to_field): Warning fix. + (md_ri_to_chars): Use host byte order. + (get_cdisp, md_apply_fix3): Warning fix. + * config/tc-m68k.c (md_assemble): Don't use sizeof host short. + +2005-02-28 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com> + + * doc/c-arc.texi: Update documentation about ARC's extension + instructions. + +2005-02-27 Svein E. Seldal <svein@dev.seldal.com> + + * config/tc-tic4x.c (tic4x_gen_to_words): Changed mail + address for myself. + +2005-02-23 Alan Modra <amodra@bigpond.net.au> + + * cgen.c: Warning fixes. + * config/tc-arc.c: Likewise. + * config/tc-arm.c: Likewise. + * config/tc-avr.c: Likewise. + * config/tc-d10v.c: Likewise. + * config/tc-d30v.c: Likewise. + * config/tc-frv.c: Likewise. + * config/tc-frv.h: Likewise. + * config/tc-h8300.c: Likewise. + * config/tc-h8500.c: Likewise. + * config/tc-i370.c: Likewise. + * config/tc-i960.c: Likewise. + * config/tc-ia64.c: Likewise. + * config/tc-ip2k.c: Likewise. + * config/tc-m68hc11.c: Likewise. + * config/tc-maxq.c: Likewise. + * config/tc-mcore.c: Likewise. + * config/tc-mips.c: Likewise. + * config/tc-msp430.c: Likewise. + * config/tc-pj.c: Likewise. + * config/tc-ppc.c: Likewise. + * config/tc-ppc.h: Likewise. + * config/tc-s390.c: Likewise. + * config/tc-sh.c: Likewise. + * config/tc-sh64.c: Likewise. + * config/tc-tic4x.c: Likewise. + * config/tc-tic80.c: Likewise. + * config/tc-v850.c: Likewise. + * config/tc-vax.c: Likewise. + * config/tc-w65.c: Likewise. + * config/tc-xstormy16.c: Likewise. + * config/tc-z8k.c: Likewise. + +2005-02-22 Catherine Moore <clm@cm00re.com> + + * read.c (read_a_source_file): Reinstate TC_EQUAL_IN_INSN test. + * doc/internals.texi (TC_EQUAL_IN_INSN): Reinstate. + +2005-02-22 Eric Christopher <echristo@redhat.com> + + * config/tc-mips.c (struct proc): Change isym to + func_sym. New member func_end_sym. + (s_mips_ent): Update. + (s_mips_end): Ditto. Add code to compute function size. + +2005-02-22 Alan Modra <amodra@bigpond.net.au> + + * read.c: Warning fixes. + * config/obj-elf.c: Likewise. + +2005-02-22 Maciej W. Rozycki <macro@mips.com> + + * config/tc-mips.c (append_insn): Call dwarf2_emit_insn() before + emitting insn. + +2005-02-21 H.J. Lu <hongjiu.lu@intel.com> + + * config/obj-coff.c (obj_coff_section): Replace SEC_SHARED with + SEC_COFF_SHARED. + + * config/tc-tic54x.c (tic54x_bss): Replace SEC_BLOCK with + SEC_TIC54X_BLOCK. + (demand_empty_rest_of_line): Likewise. + (tic54x_sblock): Likewise. + (tic54x_clink): Replace with SEC_CLINK with SEC_TIC54X_CLINK. + +2005-02-21 Alan Modra <amodra@bigpond.net.au> + + * read.c (address_bytes): New function. + (TC_ADDRESS_BYTES): Default for BSD_ASSEMBLER to address_bytes. + (potable): Add "dc.a". + (cons_worker): Handle "dc.a". + * doc/internals.texi (TC_ADDRESS_BYTES): Document. + +2005-02-21 Alan Modra <amodra@bigpond.net.au> + + * input-file.c (input_file_open): Rearrange to avoid warning. + +2005-02-19 Alan Modra <amodra@bigpond.net.au> + + * config/tc-hppa.h (TC_EQUAL_IN_INSN): Delete. + * read.c (read_a_source_file): Remove TC_EQUAL_IN_INSN test. + * doc/internals.texi (TC_EQUAL_IN_INSN): Delete. + +2005-02-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> + + * config/tc-mips.c (macro_build_ldst_constoffset): Fail on $at + uses after .set noat. + (load_address): Likewise. + (macro): Likewise. Don't try to avoid $at use by sacrificing + the target register before it is stored, it won't work. + +2005-02-17 James E Wilson <wilson@specifixinc.com> + + * config/tc-ia64.c (emit_one_bundle): Stop filling a bundle if we + see an instruction that specifies a template. + +2005-02-18 Alan Modra <amodra@bigpond.net.au> + + * config/tc-openrisc.c (openrisc_relax_frag): Delete unused function. + * config/tc-sparc.c (sparc_ip): Make op_exp static to silence warnings. + * config/tc-tic80.c (build_insn): Init insn[1] to silence warning. + +2005-02-17 H.J. Lu <hongjiu.lu@intel.com> + + * NEWS: Mention "-mhint.b=[ok|warning|error]". + + * config/tc-ia64.c (md): Add hint_b. + (emit_one_bundle): Handle md.hint_b for "hint". + (md_parse_option): Accepted "-mhint.b=[ok|warning|error]". + (md_show_usage): Add "-mhint.b=[ok|warning|error]". + (ia64_init): Set md.hint_b to error. + (md_assemble): Handle md.hint_b for "hint.b". + + * doc/as.texinfo: Add "-mhint.b=[ok|warning|error]". + * doc/c-ia64.texi: Likewise. + +2005-02-17 Alan Modra <amodra@bigpond.net.au> + + * tc.h (struct relax_type, relax_typeS): Move from here.. + * as.h: ..to here. Make rlx_forward and rlx_backward an offsetT. + * ecoff.c (ecoff_new_file): Add appfile param. + * ecoff.h (ecoff_new_file): Likewise. + * itbl-lex.h: New file. + * itbl-lex.l: Include itbl-lex.h. + * itbl-parse.y: Likewise. + (insntbl_line, yyparse, yylex): Move to itbl-lex.h. + * read.c (s_app_file_string): Mark appfile possibly unused. + * subsegs.c (seg_not_empty_p): Make sec possibly unused. + * subsegs.h (struct seg_info_trash): Delete. + (seg_info): Use segment_info_type instead. + * config/obj-coff.c (struct filename_list): Make filename const char *. + * config/obj-ecoff.h (obj_app_file): Pass app to ecoff_new_file. + * config/obj-elf.c (elf_file_symbol): Similarly. + * config/tc-a29k.c (md_apply_fix3): Make val a valueT. Don't use + signed right shift. + * config/tc-arc.c (md_operand): Warning fix. + * config/tc-arm.c (arm_parse_reloc): Only define when OBJ_ELF. + (md_begin): Rearrange #if defined OBJ_COFF || defined OBJ_ELF. + * config/tc-cris.h (TC_IMPLICIT_LCOMM_ALIGNMENT): Use do while. + * config/tc-frv.c (frv_force_relocation): Warning fix. + * config/tc-m68k.c (md_parse_option): Delete unused var. + * config/tc-mcore.c (mylog2): Rename from log2 throughout. + * config/tc-sparc.c: Likewise. + (s_common): Warning fix. + * config/tc-mips.c (append_insn): Use unsigned long long expressions. + * config/tc-mmix.c (PUSHJSTUB_MAX, PUSHJSTUB_MIN): Define from + addressT. + * config/tc-s390.c (s390_insn): Delete test of unsigned >= 0. + * config/tc-sh.c (sh_cfi_frame_initial_instructions, + sh_regname_to_dw2regnum): Only define for OBJ_ELF. + * config/tc-tic4x.c (tic4x_insert_reg): Use ISLOWER. + (tic4x_do_align): Use TIC_NOP_OPCODE. + * config/tc-tic4x.h (TIC_NOP_OPCODE): Rename from NOP_OPCODE. + * config/tc-vax.c: Include netinet/in.h. + (tc_headers_hook): Formatting. + * config/tc-xstormy16.c (md_pcrel_from_section): Correct parens. + +2005-02-17 Jan Beulich <jbeulich@novell.com> + + * config/tc-ia64.c (ia64_parse_name): Don't advance 'name' when + parsing inN, locN, outN. Set 'idx' to offset register number starts + at. Don't handle numbers with leading zeroes or beyond 95. Remove + pointless cast. + +2005-02-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> + + * config/tc-mips.c (load_address): Fix formatting. + (macro): Don't use AT if .set noat is in effect. Fix formatting. + Catch macros which are unexpandable without AT. Remove duplicate + zeroing of used_at. + (macro2): Remove duplicate zeroing of used_at. + +2005-02-16 Alan Modra <amodra@bigpond.net.au> + + * dw2gencfi.c (output_cie, output_fde): Use DW_CFA_nop rather + than zero. + +2005-02-15 Nigel Stephens <nigel@mips.com> + Maciej W. Rozycki <macro@mips.com> + + * config/tc-mips.c (reloc_needs_lo_p): Handle + BFD_RELOC_MIPS16_HI16_S. + (fixup_has_matching_lo_p): Handle BFD_RELOC_MIPS16_LO16. + (append_insn): Add BFD_RELOC_MIPS16_GPREL, BFD_RELOC_MIPS16_HI16_S + and BFD_RELOC_MIPS16_LO16 to relocs to suppress overflow + complaints on. + (mips16_ip): Resolve BFD_RELOC_MIPS16_HI16_S, + BFD_RELOC_MIPS16_HI16 and BFD_RELOC_MIPS16_LO16 for constants. + Call my_getSmallExpression() to parse percent operators. + (percent_op_match, mips_percent_op): Separate definitions. + (mips16_percent_op): Define percent operators for the MIPS16 mode. + (parse_relocation): Handle the MIPS16 mode using + mips16_percent_op. + (md_apply_fix3): Handle BFD_RELOC_MIPS16_HI16, + BFD_RELOC_MIPS16_HI16_S and BFD_RELOC_MIPS16_LO16. + +2005-02-15 Jan Beulich <jbeulich@novell.com> + + * config/tc-ia64.c (md_apply_fix3): Call ia64_gen_real_reloc_type + instead of explicitly dealing with the translation; exclude + relocations that are already pcrel, however. + +2005-02-15 Jan Beulich <jbeulich@novell.com> + + * config/tc-ia64.c: Include limits.h (if available). + (gr_values[0]): Set path to INT_MAX. + (dot_reg_val): Don't allow changing value of r0. Limit range of + general registers at r127. + (specify_resource): Default resource index is -1. Don't set resource + index (in case IA64_RS_RSE) without setting the specific flag. + (note_register_values): Check operand is O_constant before tracking + input value of moves. Add tracking for dep.z with constant inputs. + (print_dependency): Resource index of specific resource may be zero. + (check_dependencies): Likewise. + +2005-02-15 Jan Beulich <jbeulich@novell.com> + + * config/tc-ia64.c (parse_operands): New local variables reg1, reg2, + reg_class. Check operands and emit diagnostics for illegal use of + registers. + +2005-02-15 Jan Beulich <jbeulich@novell.com> + + * config/tc-ia64.c (ia64_gen_real_reloc_type): Define and initialize + new variables type, suffix, and width. Handle + BFD_RELOC_IA64_DIR(32|64)[LM]SB in FUNC_LT_FPTR_RELATIVE case. + Handle BFD_RELOC_IA64_DIR64[LM]SB in FUNC_TP_RELATIVE case. Add + FUNC_DTP_MODULE case. Handle BFD_RELOC_IA64_DIR32[LM]SB in + FUNC_DTP_RELATIVE case. Return incoming relocation type if + BFD_RELOC_IA64_IPLT[LM]SB in FUNC_IPLT_RELOC case. Generate warning + if unable to translate relocation type, using the new variables. + +2005-02-15 Jan Beulich <jbeulich@novell.com> + + * config/tc-ia64.h (ia64_symbol_chars): Declare. + (ty_symbol_chars): Define. + * config/tc-ia64.c (ia64_symbol_chars): Define. + +2005-02-15 Jan Beulich <jbeulich@novell.com> + + * config/tc-ia64.c (ia64_parse_name): Only update next character if + input_line_pointer was advanced. + +2005-02-14 Kaz Kojima <kkojima@rr.iij4u.or.jp> + + * config/tc-sh.c (md_apply_fix3): Add parentheses around & + within |. + +2005-02-13 Jan Beulich <jbeulich@novell.com> + + * config/tc-ia64.c (md_parse_option): Handle -xnone and -xdebugn. + (md_show_usage): Add -xnone, -xdebugn, and -xdebugx. Relocate default + indicator. + (ia64_init): Set md.detect_dv. + (ia64_start_line): New static variable warned. Warn only once when + encountering explicit stops in automatic mode. + * doc/c-ia64.texi: Describe -xnone, -xdebugn, and -xdebugx. + * NEWS: Mention new default mode. + +2005-02-13 Jan Beulich <jbeulich@novell.com> + + * config/tc-ia64.c (dot_rot): Add comment that name strings should + be freed when wiping out previous state. Canonicalize names before + use. Free name string when detecting redefinition. + (dot_pred_rel): Call generic expression parser to process arguments. + Handle O_register case for individual predicates and O_subtract for + ranges. + (ia64_parse_name): Canonicalize name before looking it up in dynamic + register hash. + (ia64_canonicalize_symbol_name): Strip off all trailing # characters. + Warn if multiple found, issue error if resulting symbol name has zero + length. + (dot_alias): Canonicalize name before use. + +2005-02-11 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-ia64.c (unwind_diagnostic): Return -1 for warning + and 0 for error. + (in_procedure): Return -1 for warning. + (in_prologue): Likewise. + (in_body): Likewise. + +2005-02-11 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-ia64.c (dot_xdata): Undo the last change. + (dot_float_cons): Likewise. + (dot_xstringer): Likewise. + (dot_xdata_ua): Likewise. + (dot_float_cons_ua): Likewise. + +2005-02-11 H.J. Lu <hongjiu.lu@intel.com> + + * NEWS: Mention "-munwind-check=[warning|error]". + + * config/tc-ia64.c (md): Add unwind_check. + (unwind_diagnostic): New. + (in_procedure): Call unwind_diagnostic when a directive isn't + in procedure. + (in_prologue): Call unwind_diagnostic when a directive isn't in + prologue. + (in_body): Call unwind_diagnostic when a directive isn't in + body region. + (dot_endp): Set md.unwind_check to error before calling + in_procedure and restore it after. When the name is missing or + couldn't be found, use the one from the last .proc if + md.unwind_check isn't error. Warn if md.unwind_check is + warning. + (md_parse_option): Handle "-munwind-check=[warning|error]". + (md_show_usage): Add "-munwind-check=[warning|error]". + (ia64_init): Set md.unwind_check to warning. + + * doc/as.texinfo: Add "-munwind-check=[none|warning|error]". + * doc/c-ia64.texi: Likewise. + +2005-02-11 Jan Beulich <jbeulich@novell.com> + + * config/tc-ia64.h (LEX_AT): Include LEX_BEGIN_NAME. + (LEX_QM): Likewise. + (ia64_parse_name): New third parameter. + (md_parse_name): Pass third argument. + * config/tc-ia64.c (pseudo_func): Placeholders use NULL as name. + (md_operand): Handling of '@'-prefixed symbols moved from here... + (ia64_parse_name): ...to here. + +2005-02-11 Jan Beulich <jbeulich@novell.com> + + * config/tc-ia64.c (md): Remove last_groups and group_idx. + (errata_nop_necessary_p): Remove declaraction and definition. + (emit_one_bundle): Don't call errata_nop_necessary_p. Don't + update md.group_idx. Don't reset md.last_groups. + +2005-02-11 Jan Beulich <jbeulich@novell.com> + + * config/tc-ia64.c (parse_section_name): Handle non-quoted first + argument. + (dot_xdata): Free section name after use. + (dot_float_cons): Likewise. + (dot_xstringer): Likewise. + (dot_xdata_ua): Likewise. + (dot_float_cons_ua): Likewise. + (md_pseudo_table): Add xdata16 and xdata16.ua. + +2005-02-10 H.J. Lu <hongjiu.lu@intel.com> + + * doc/all.texi: Add IA64. + * doc/as.texinfo: Likewise. + + * doc/c-ia64.texi: Fix typos. + +2005-02-10 Julian Brown <julian@codesourcery.com> + + * config/tc-arm.c (do_t_ldmstm): Change BFD_RELOC_NONE to + BFD_RELOC_UNUSED. + (do_t_push_pop): Likewise. + (md_assemble): Likewise. + (md_apply_fix3): Handle BFD_RELOC_NONE correctly, make + BFD_RELOC_UNUSED same as previous meaning of BFD_RELOC_NONE. + (create_unwind_entry): Output dependency on the required personality + routines. + +2005-02-07 Nathan Sidwell <nathan@codesourcery.com> + + * as.h (seg_not_empty_p): Return int, not bfd_boolean. + * subsegs.c (seg_not_empty_p): Likewise. + +2005-02-07 Inderpreet Singh <inderpreetb@noida.hcltech.com> + + * config/tc-maxq.c (md_estimate_size_before_relax): Correct the + relative jump calculation. + <md_convert_frag) : Likewise. + <output_disp): Likewise. + +2005-02-07 Hans-Peter Nilsson <hp@axis.com> + + * write.c (write_object_file): Recognize warning-symbol construct + and skip object- and target- handling for the second symbol. + +2005-02-02 Jan Beulich <jbeulich@novell.com> + + * config/tc-ia64.c (dot_pred_rel): Update comment. Handle @-prefixed + designators along with quoted ones. Free copy of quoted designator + when done. + +2005-02-01 Ben Elliston <bje@au.ibm.com> + + * config/atof-ieee.c, config/obj-coff.c, config/obj-elf.c, + config/obj-ieee.c, config/obj-som.c, config/obj-vms.c, + config/tc-a29k.c, config/tc-alpha.c, config/tc-arc.c, + config/tc-arm.c, config/tc-d30v.c, config/tc-dlx.c, + config/tc-fr30.c, config/tc-h8300.c, config/tc-h8500.c, + config/tc-i370.c, config/tc-i386.c, config/tc-i960.c, + config/tc-ia64.c, config/tc-m32r.c, config/tc-m32r.h, + config/tc-m68hc11.c, config/tc-m68hc11.h, config/tc-mips.c, + config/tc-mn10200.c, config/tc-msp430.c, config/tc-ns32k.c, + config/tc-openrisc.c, config/tc-or32.c, config/tc-pdp11.c, + config/tc-pj.c, config/tc-sparc.h, config/tc-tic54x.c, + config/tc-tic80.c, config/tc-v850.c, config/tc-w65.c, + config/tc-xtensa.c, config/tc-z8k.c, config/xtensa-relax.c: Remove + #if 0'd code throughout. + +2005-01-31 Nick Clifton <nickc@redhat.com> + + * as.c (parse_args): Bump copyright date reported by --version to + 2005. + +2005-01-31 Nick Clifton <nickc@redhat.com> + + * configure.tgt: Remove obsolete targets m68k-lynxos, sparc-lynxos + and vax-vms. + +2005-01-31 Jan Beulich <jbeulich@novell.com> + + * macro.c (buffer_and_nest): Allow 'from' being NULL; handle anything + that can end with .endr in that case. Make requiring/permitting + pseudo-ops without leading dot closer to the logic in read.c serving + the same purpose. + (expand_irp): Don't pass a mnemonic to buffer_and_nest as it will be + ignored. + +2005-01-31 Jan Beulich <jbeulich@novell.com> + + * macro.c (do_formals): Adjust to no longer accept empty parameter + names. + (define_macro): Adjust to no longer accept empty macro name, garbage + following the parameters, or macros that were previously defined. + * read.c (s_bad_end): Declare. + (potable): Add endm. Handler for endr and endm is s_bad_end. + (s_bad_end): Rename from s_bad_endr. Adjust to handle both .endm + and .endr. + * read.h (s_bad_endr): Remove. + +2005-01-31 Jan Beulich <jbeulich@novell.com> + + * config/tc-ia64.c (parse_operands): Parse all specified operands, + immediately discarding (but counting) those exceeding the maximum + possible amount. Track whether output and input operand counts ever + matched, and use this to better indicate which of the operands/ + operand types was wrong; specifically don't default to pointing to + the first operand. + +2005-01-31 Jan Beulich <jbeulich@novell.com> + + * config/tc-ia64.c (unwind): Remove proc_end (now an automatic + variable in dot_endp). Add body and insn. Make prologue, + prologue_mask, body, and insn bitfields. + (fixup_unw_records): Remove spurious new-lines from end of diagnostic + messages. + (in_procedure, in_prologue, in_body): New. + (dot_fframe, dot_vframe, dot_vframesp, dot_vframepsp, dot_save, + dot_restore, dot_restorereg, dot_restorereg_p, dot_handlerdata, + dot_unwentry, dot_altrp, dot_savemem, dot_saveg, dot_savef, dot_saveb, + dot_savegf, dot_spill, dot_spillreg, dot_spillmem, dot_spillreg_p, + dot_spillmem_p, dot_label_state, dot_copy_state, dot_unwabi, + dot_personality): Use the appropriate one of the above. + (dot_proc): Clear unwind.proc_start; set to current location only if + none of the entry points were valid. Check for non-zero-length entry + point names. Check that entry points aren't defined, yet. Clear + unwind.prologue, unwind.body, and unwind.insn. + (dot_body): Call in_procedure. Check that first directive in procedure + had no insns emitted before. Set unwind.body. + (dot_prologue): Call in_procedure. Check that not already in prologue. + Check that first directive in procedure had no insns emitted before. + Clear unwind.body. + (dot_endp): Call in_procedure. Declare proc_end. Check for non-zero- + length entry point names. Check that entry points became defined. + (md_assemble): Set unwind.insn once unwind.proc_start is defined. + +2005-01-31 Jan Beulich <jbeulich@novell.com> + + * config/tc-ia64.c (emit_one_bundle): Snapshot manual bundling state + before actually using it. Don't generate an error in manual bundling + mode when looking at an insn requiring slot 2 but not yet at slot 2. + Don't generate an error in manual bundling mode when looking at an + insn required to be last in its group but the required slot hasn't + been reached, yet. Allow conversion from MII to MI;I for bundle + consisting of only 2 insns with the stop between them. Suppress + various meaningless errors resulting from detecting earlier ones. + +2005-01-31 Jan Beulich <jbeulich@novell.com> + + * config/tc-ia64.c (parse_operands): Also handle alloc without first + input being ar.pfs. + +2005-01-28 Christian Groessler <chris@groessler.org> + + * config/tc-z8k.c (md_assemble): Improve error detection. + +2005-01-28 Jan Beulich <jbeulich@novell.com> + + * config/tc-ia64.c (ia64_estimate_size_before_relax): Allocate space + for personality routine pointer only if there is one. + (ia64_convert_frag): Likewise. + (generate_unwind_image): Likewise. + +2005-01-27 Christian Groessler <chris@groessler.org> + + * config/tc-z8k.c (INSERT): Remove, not used anywhere. + (md_apply_fix3): Make relative branches out of range an error + instead of a warning. Display correct line number for out of + range branches/calls/memory accesses. + +2005-01-27 Nathan Sidwell <nathan@codesourcery.com> + + * dwarf2dbg.c (dwarf2_finish): Correct logic for determining when + to emit .debug_line and other debug sections. + * as.h (seg_not_empty_p): Declare. + * subsegs.c (seg_not_empty_p): New predicate. + +2005-01-27 Andrew Cagney <cagney@gnu.org> + + * configure: Regenerate to track ../gettext.m4 change. + +2005-01-27 Jan Beulich <jbeulich@novell.com> + + * config/tc-ia64.c (emit_one_bundle): Change "?imbf??" to "?ibmfxx". + +2005-01-27 Jan Beulich <jbeulich@novell.com> + + * config/tc-ia64.c (emit_one_bundle): Add late resolution of move + to/from application registers dynamic insns. + (md_assemble): Defer resolution of move to/from application registers + dynamic insns when they can be issued on either the I- or M-units. + +2005-01-25 Alexandre Oliva <aoliva@redhat.com> + + * config/tc-frv.c (md_apply_fix3): Mark TLS symbols as such. + 2004-12-10 Alexandre Oliva <aoliva@redhat.com> + * config/tc-frv.c (frv_pic_ptr): Add tlsmoff support. + 2004-11-10 Alexandre Oliva <aoliva@redhat.com> + * cgen.c (gas_cgen_parse_operand): Handle + CGEN_PARSE_OPERAND_SYMBOLIC. + * config/tc-frv.c (md_cgen_lookup_reloc): Handle TLS relocations. + (frv_force_relocation): Likewise. Fix handling of PIC + relocations. + (md_apply_fix3): Likewise. + +2005-01-21 Ben Elliston <bje@au.ibm.com> + + * as.h: Remove #if 0'd code. + * atof-generic.c (atof_generic): Likewise. + * ecoff.c (ecoff_directive_frame): Likewise. + * frags.h (FRAG_APPEND_1_CHAR): Likewise. + * itbl-ops.c (itbl_add_reg): Likewise. + * listing.c (calc_hex): Likewise. + * read.c (MASK_CHAR): Likewise. + * subsegs.c (subsegs_print_statistics): Likewise. + * symbols.c (indent): Likewise. + * write.c (write_relocs): Likewise. + (write_object_file): Likewise. + (relax_frag): Likewise. + +2005-01-20 Nick Clifton <nickc@redhat.com> + + * as.c (std_longopts): Add an entry for "--a" in order to prevent + getopt_long_only() from considering -a as an abbreviation for + --alternate. + (parse_args): Fix the parsing of -a=<file>. + +2005-01-20 Alan Modra <amodra@bigpond.net.au> + + PR gas/684 + * read.c (s_incbin): Adjust default count for skip. Check validity + of count and skip rigorously. + +2005-01-19 Fred Fish <fnf@specifixinc.com> + + * config/tc-mips.c (dummy_opcode): Add init for new struct member. + +2005-01-19 Richard Sandiford <rsandifo@redhat.com> + + * read.c (convert_to_bignum): New function, split out from... + (emit_expr): ...here. Handle the case where X_add_number is + positive and the input value is negative. + (output_big_sleb128): Fix setting of continuation bit. Check whether + the final byte needs to be sign-extended. Fix size-shrinking loop. + (emit_leb128_expr): When generating a signed leb128, see whether the + sign of an O_constant's X_add_number matches the sign of the input + value. Use a bignum if not. + +2005-01-17 Andrew Stubbs <andrew.stubbs@st.com> + + * tc-sh.c (md_begin,md_parse_option): Change arch_sh1_up to + arch_sh_up in order to match the external name and make the + testsuite's job easier. + +2005-01-14 H.J. Lu <hongjiu.lu@intel.com> + + PR 659 + * config/tc-i386.c (i386_scale): Disallow 0 scale. + +2005-01-12 Nick Clifton <nickc@redhat.com> + + * config/tc-iq2000.c (s_iq2000_set): Fix thinko parsing + ignored_arguments array. + +2005-01-10 H.J. Lu <hongjiu.lu@intel.com> + + * write.c (write_object_file): Disallow a symbol equated to + common symbol. + +2005-01-10 Inderpreet Singh <inderpreetb@noida.hcltech.com> + + * tc-maxq.c: Replace constants 10 and 20 with bfd_mach_maxq10 and + bfd_mach_maxq20. + (md_pseudo_table): Add new pseudo ops for maxq10 and maxq20. + (maxq_target): New function: Set the machine type. + +2005-01-06 Paul Brook <paul@codesourcery.com> + + * config/tc-arm.c (FPU_DEFAULT): Define for TE_VXWORKS. + (md_begin): Handle TE_VXWORKS for FP defaults. + (md_apply_fix3): Correct rela offsets. + (elf32_arm_target_format): Add VxWorks targets. + +2005-01-06 Paul Brook <paul@codesourcery.com> + + * configure.tgt: Set em=vxworks for *-*-vxworks. + * config/te-vxworks.h: New File. + +2005-01-06 Paul Brook <paul@codesourcery.com> + + * config/tc-arm.c (arm_cpus): Correct arch field for arm1026ej-s. + +2005-01-04 Dmitry Diky <diwil@spec.ru> + + * config/tc-msp430.c (md_apply_fix3): Fix offset calculation for + global label. + +2005-01-03 David Mosberger <davidm@hpl.hp.com> + + * config/tc-ia64.c (md): Add member "loc_directive_seen". + (dot_loc): New function. + (md_pseudo_table): Add entry to map .loc to dot_loc(). + (emit_one_bundle): Only call dwarf2_gen_line_info() if we have + seen a .loc directive or we're generating DWARF2 debug info for + assembly source. + +For older changes see ChangeLog-2004 + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 1caba64..ee720a0 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -46,2826 +46,7 @@ PR gas/2101 * gas/mmix/hex2.s, gas/mmix/hex2.d: New test. -2005-12-22 Jan Beulich <jbeulich@novell.com> - - * gas/all/cond.s: Also check .if works on equates to undefined - when the expression value can be known without knowing the - value of the symbol. - * gas/all/cond.l: Adjust. - * gas/i386/equ.s: Also check .if works on (equates to) - registers when the expression value can be known without - knowing the value of the register. - * gas/i386/equ.e: Adjust. - -2005-12-14 Jan Beulich <jbeulich@novell.com> - - * gas/i386/rex.[sd]: New. - * gas/i386/i386.exp: Run new test. - -2005-12-12 Nathan Sidwell <nathan@codesourcery.com> - - * gas/mt: Renamed from ms1 dir. Update file names as needed. - * gas/mt/errors.exp: Replace ms1 arch with mt arch. - * gas/mt/mt.exp: Replace ms1 arch with mt arch. - * gas/mt/relocs.exp: Replace ms1 arch with mt arch. - -2005-12-07 Hans-Peter Nilsson <hp@axis.com> - - * gas/cris/rd-bcnst-pic.d, gas/cris/rd-branch-pic.d, - gas/cris/rd-brokw-pic-1.d, gas/cris/rd-brokw-pic-2.d, - gas/cris/rd-brokw-pic-3.d, gas/cris/rd-fragtest-pic.d: New tests. - -2005-12-06 H.J. Lu <hongjiu.lu@intel.com> - - PR gas/1874 - * gas/i386/i386.exp: Add x86-64-prescott for 64bit. - - * gas/i386/prescott.s: Test address size override for monitor. - * gas/i386/prescott.d: Updated. - - * gas/i386/x86-64-prescott.d: New file. - * gas/i386/x86-64-prescott.s: Likewise. - -2005-12-06 Hans-Peter Nilsson <hp@axis.com> - - * gas/cris/rd-pcplus.s, gas/cris/rd-pcplus.d: New test. - -2005-11-24 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - * gas/macros/purge.l: Increment line numbers. - * gas/macros/purge.s: Add ".data" line. - - Bug gas/1896 - * gas/all/redef2.d: Allow "$DATA$" as well as ".data" in matches. - * gas/all/weakref1.d: Allow "$CODE$" as well as ".text" in matches. - * gas/hppa/reloc/reloc.exp: Adjust regexp for new output. - -2005-11-23 Daniel Jacobowitz <dan@codesourcery.com> - Thiemo Seufer <ths@networkno.de> - - * gas/mips/bge.d, gas/mips/bge.s, gas/mips/bgeu.d, gas/mips/bgeu.s, - gas/mips/blt.d, gas/mips/blt.s, gas/mips/bltu.d, - gas/mips/bltu.s: Reactivate external branch tests. - * gas/mips/branch-misc-2.d, gas/mips/branch-misc-2pic.d, - gas/mips/branch-misc-2-64.d, gas/mips/branch-misc-2pic-64.d: New - tests. - * gas/mips/branch-misc-2.l, gas/mips/branch-misc-2pic.l, - gas/testsuite/gas/mips/branch-misc-2pic.s: Remove. - * gas/mips/mips.exp: Adjust branch-misc-2 tests. Add 64-bit - variants. - -2005-11-22 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - * gas/all/quad.d: Add -j "\$DATA\$". Modify regexp to check for - "$DATA$" as well as ".data". - * gas/all/sleb128.d: Likewise. - -2005-11-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - Bug gas/1894 Bug gas/1895 - * gas/all/gas.exp (redef3): xfail on hppa*-*-hpux*. - * gas/all/redef.d: Add -j "\$DATA\$". Modify regexp to check for - "$DATA$" as well as ".data". - * gas/all/redef2.d: Likewise. - - Bug gas/1879 - * gas/all/weakref1.d: Check for "$CODE$" as well as ".text". - * gas/all/weakref1.s: Indent "-ld1 = l". - * gas/all/weakref1g.d: Remove --no-sort option. - * gas/all/weakref1l.d: Likewise. - * gas/all/weakref1u.d: Likewise. Sort expected results. - * gas/all/weakref1w.d: Likewise. - * gas/all/weakref2.s: Indent directives. - * gas/all/weakref3.s: Likewise. - -2005-11-17 Jan Beulich <jbeulich@novell.com> - - * gas/all/cond.s: Also check ifdef works on equates and - commons. - * gas/all/cond.l: Adjust. - * gas/all/redef2.s: Also test redefining equate to label. - * gas/all/redef2.d: Adjust. - * gas/all/redef3.[sd]: New. - * gas/all/redef4.s: New. - * gas/all/redef5.s: New. - * gas/elf/redef.s: New, copied from original gas/all/redef2.s. - * gas/elf/redef.d: Remove #source. - * gas/all/gas.exp: Remove exclusion of iq2000-*-* from and - adjust xfails for redefinition tests. Run new tests. Exclude - alpha*-*-*, mips*-*-*, *c54x*-*-* from weakref tests. - -2005-11-16 Richard Henderson <rth@redhat.com> - - * gas/all/weakref1.s: Use "=" instead of ".set" for equivalence. - -2005-11-15 Daniel Jacobowitz <dan@codesourcery.com> - - * gas/arm/unwind.s, gas/arm/unwind.d, gas/arm/unwind_vxworks.d: Add - a test for saving only the low registers. - -2005-11-14 Thiemo Seufer <ths@networkno.de> - - * gas/testsuite/gas/mips/mips16e-jrc.d: Tighten file format - check, relax whitespace checking. - -2005-11-14 David Ung <davidu@mips.com> - - * gas/mips/mips.exp: Run new save/restore tests. - * gas/testsuite/gas/mips/mips16e-save.s: New test for generating - different styles of save/restore instructions. - * gas/testsuite/gas/mips/mips16e-save.d: New. - -2005-11-10 Jan Beulich <jbeulich@novell.com> - - * gas/i386/intelbad.d: Add tests for ill registers in brackets. - * gas/i386/intelbad.l: Adjust. - -2005-11-10 Nick Clifton <nickc@redhat.com> - - * gas/arm/archv6t2-bad.s: Add tests of badly composed ldrex and - strex instructions. - * gas/arm/archv6t2-bad.l: Add expected error messages. - * gas/arm/r15-bad.l: Adjust error messages for r15 usage in ldrex - and strex instructions. - -2005-11-08 Arnold Metselaar <arnold.metselaar@planet.nl> - - * gas/all/cofftag.s: Convert numbers in .type - directives to decimal. - * gas/all/gas.exp: enable cofftag-test for z80-*-coff. - -2005-11-08 Nathan Sidwell <nathan@codesourcery.com> - - Add ms2. - * gas/ms1/allinsn.d: Adjust pcrel disassembly. - * gas/ms1/errors.exp: Fix target triplet. - * gas/ms1/ms1-16-003.d: Adjust pcrel disassembly. - * gas/ms1/ms1-16-003.s: Tweak label. - * gas/ms1/ms1.exp: Adjust target triplet. Add ms2 test. - * gas/ms1/ms2.d, gas/ms1/ms2.s: New. - * gas/ms1/relocs.d: Adjust expected machine name and pcrel - disassembly. - * gas/ms1/relocs.exp: Adjust target triplet. - -2005-11-07 Jan Beulich <jbeulich@novell.com> - - * gas/all/redef2.[sd]: New. - * gas/all/gas.exp: Run new test. - * gas/elf/redef.d: New. - * gas/elf/elf.exp: Run new test. - -2005-11-07 Alan Modra <amodra@bigpond.net.au> - - * gas/i386/divide.s: Test line comment starting with '/'. - * gas/i386/divide.d: Pass --divide to gas. - * gas/i386/intelok.d: Likewise. - * gas/i386/i386.exp (divide): Run for all targets. - -2005-11-07 Arnold Metselaar <arnold.metselaar@planet.nl> - - * gas/z80/z80.exp: Added "suffix" test. - * gas/z80/suffix.s: New file. - * gas/z80/suffix.d: New file. - -2005-11-04 H.J. Lu <hongjiu.lu@intel.com> - - * gas/i386/padlock.d: Support 64bit BFD. - -2005-11-04 Alexandre Oliva <aoliva@redhat.com> - - * gas/all/gas.exp: Remove weakref xfail. Run weakref4.s. - * gas/all/weakref1.s: Move redefinition bits to... - * gas/all/weakref4.s: ... new file. - * gas/all/weakref1.d: Remove command moved to weakref1u. Adjust - remaining command for leading tabs. Regenerate. - * gas/all/weakref1l.d: Regenerate. - * gas/all/weakref1u.d: Likewise. - * gas/all/wealref1w.d: Likewise. - -2005-11-04 Jan Beulich <jbeulich@novell.com> - - * gas/all/gas.exp: xfail weakref dump tests for all targets. - -2005-10-29 Hans-Peter Nilsson <hp@axis.com> - - PR gas/1630 - * gas/all/gas.exp <weakref1, weakref1g, weakref1l, weakref1u, - weakref1w>: Xfail for cris-*-* and mmix-*-*. - -2005-10-27 Jan Beulich <jbeulich@novell.com> - - * gas/i386/equ.d: Fix typo. - * gas/i386/equ.s: Don't globalize r. - -2005-10-27 Jan Beulich <jbeulich@novell.com> - - * gas/all/gas.exp: Don't xfail equiv1 test anymore. - -2005-10-26 Paul Brook <paul@codesourcery.com> - - * gas/arm/archv6.d: Adjust expected output. - -2005-10-26 Jan Beulich <jbeulich@novell.com> - - * gas/i386/intel.s: Replace register used in offset expression. - * gas/i386/intel.e: Adjust. - * gas/i386/intelbad.l: Adjust. - * gas/i386/equ.[sed]: New. - * gas/i386/i386.exp: Run new test. - -2005-10-26 Hans-Peter Nilsson <hp@bitrange.com> - - * gas/z80/z80.exp: Fix misplaced-open-brace typo. - -2005-10-25 Arnold Metselaar <arnold.metselaar@planet.nl> - - * gas/all/gas.exp: Exclude Z80-*-* from floating point, string, - and cofftag test. - * gas/macros/macros.exp: Expect z80-*-* to fail the strings test - because it has no string escapes. - * gas/z80/quotes.d: New file - * gas/z80/quotes.d: New file - * gas/z80/quotes.s: New file - * gas/z80/redef.d: New file - * gas/z80/redef.s: New file - * gas/z80/z80.exp: New file - -2005-10-24 Bernd Schmidt <bernd.schmidt@analog.com> - - * gas/bfin/flow2.d: Match changed assembler behaviour. - * gas/bfin/reloc.d: Likewise. - -2005-10-24 Alexandre Oliva <aoliva@redhat.com> - - * gas/all/weakref1.s, gas/all/weakref1.d: New test. - * gas/all/weakref1g.d, gas/all/weakref1l.d: New tests. - * gas/all/weakref1u.d, gas/all/weakref1w.d: New tests. - * gas/all/weakref2.s, gas/all/weakref3.s: New tests. - * gas/all/gas.exp: Run new tests. - -2005-10-24 Jan Beulich <jbeulich@novell.com> - - * gas/ia64/index.[sl]: New. - * gas/ia64/rotX.[sl]: New. - * gas/ia64/ia64.exp: Run new tests. - -2005-10-24 Jan Beulich <jbeulich@novell.com> - - * gas/ia64/regs.pl: Also check tp alias of r13. - * gas/ia64/regs.s: Regenerate. - * gas/ia64/regs.d: Adjust. - -2005-10-19 David Ung <davidu@mips.com> - - * gas/mips/mips.exp: Run new test. - * gas/testsuite/gas/mips/mips16e-jrc.s: New test for converting - jalr/jr to the compact jalrc/jrc instructions. - * gas/testsuite/gas/mips/mips16e-jrc.d: New. - -2005-10-19 Martin Schwidefsky <schwidefsky@de.ibm.com> - - * gas/s390/zarch-z9-109.s: Add tests for unnormalized hfp multiply - and multiply-and-add instructions. - * gas/s390/zarch-z9-109.d: Update expected result. - -2005-10-17 Richard Earnshaw <richard.earnshaw@arm.com> - - * gas/arm/copro.d: 'mcrlt' instruction should not be disassembled as - 'cfsh64lt'. - -2005-10-12 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - * gas/hppa/basic/basic.exp (do_system): Adjust for removal of lha - instructions from system.s. - * gas/hppa/basic/system.s (lha): Remove. - -2005-10-12 Jan Beulich <jbeulich@novell.com> - - * gas/ia64/forward.[sd]: New. - * gas/ia64/ia64.exp: Run new test. - -2005-10-11 Jan Beulich <jbeulich@novell.com> - - * gas/all/cond.s: Add test for resolution of fully resolvable - forward references in .if/.endif. - * gas/all/cond.d: Rename to: - * gas/all/cond.l: New. - * gas/all/assign-bad.s: New. - * gas/all/assign-ok.s: New. - * gas/all/equ-bad.s: New. - * gas/all/equ-ok.s: New. - * gas/all/equiv1.s: New. - * gas/all/equiv2.s: New. - * gas/all/eqv-bad.s: New. - * gas/all/eqv-ok.s: New. - * gas/all/eval.[sd]: New. - * gas/all/forward.[sd]: New. - * gas/all/redef.[sd]: New. - * gas/all/gas.exp: Run new tests, but xfail equiv1 (PR/1387). - -2005-10-10 Nick Clifton <nickc@redhat.com> - - * gas/sh/reg-prefix.s: Use mov.l instruction in preference to - movli.l. - * gas/sh/reg-prefix.d: Force little endian assembly. - -2005-10-08 Paul Brook <paul@codesourcery.com> - - * gas/arm/eabi_attr_1.s: New test. - * gas/arm/eabi_attr_1.d: New test. - * gas/arm/arm7t.d: Only disassemble code sections. - * gas/arm/bignum1.d: Ignore Arm object attribute sections. - * gas/arm/mapping.d: Ditto. - * gas/arm/unwind.d: Ditto. - * gas/elf/section0.d: Ditto. - * gas/elf/section1.d: Ditto. - * gas/elf/elf.exp: Set target_machine for Arm EABI based targets. - * gas/elf/section2.e-armeabi: New file. - -2005-10-06 Khem Raj <kraj@mvista.com> - NIIBE Yutaka <gniibe@m17n.org> - - * gas/sh/basic.exp: Run reg-prefix test. - * gas/sh/reg-prefix.s: New - * gas/sh/reg-prefix.d: New - -2005-09-30 Catherine Moore <clm@cm00re.com> - - * gas/bfin: New testsuite for bfin. - * gas/all/gas.exp (bfin-*-*): Expected failure for alternate - macro syntax. - -2005-09-30 Paul Brook <paul@codesourcery.com> - - * gas/arm/fpa-mem.s: Remove incorrect comments. - * gas/arm/fpa-mem.d: Update expected results. - -2005-09-29 Jan Beulich <jbeulich@novell.com> - - * gas/ia64/alloc.[sl]: New. - * gas/ia64/ia64.exp: Run new test. - -2005-09-28 Jan Beulich <jbeulich@novell.com> - - * gas/i386/x86-64-stack.s, gas/i386/x86-64-stack.d, - gas/i386/x86-64-stack-suffix.d, gas/i386/x86-64-stack-intel.d: New. - * gas/i386/i386.exp: Run new tests. - -2005-09-28 Jan Beulich <jbeulich@novell.com> - - * gas/i386/mixed-mode-reloc.s: Enable all insns. - * gas/i386/mixed-mode-reloc32.d: Adjust. - * gas/i386/mixed-mode-reloc64.d: Adjust. - -2005-09-28 Jan Beulich <jbeulich@novell.com> - - * gas/i386/reloc64.s: Also test .slong. - * gas/i386/reloc64.l: Adjust. - * gas/i386/reloc64.d: Adjust. - -2005-09-21 Alan Modra <amodra@bigpond.net.au> - - * gas/lns/lns.exp (lns-common-1): Don't run on targets without - a bare nop insn. - -2005-09-20 Richard Henderson <rth@redhat.com> - - * gas/cris/rd-dw2-1.d, gas/cris/rd-dw2-10.d, gas/cris/rd-dw2-11.d, - gas/cris/rd-dw2-12.d, gas/cris/rd-dw2-13.d, gas/cris/rd-dw2-14.d, - gas/cris/rd-dw2-15.d, gas/cris/rd-dw2-2.d, gas/cris/rd-dw2-3.d, - gas/cris/rd-dw2-4.d, gas/cris/rd-dw2-5.d, gas/cris/rd-dw2-6.d, - gas/cris/rd-dw2-7.d, gas/cris/rd-dw2-8.d, gas/cris/rd-dw2-9.d, - gas/mips/mips16-dwarf2-n32.d, gas/mips/mips16-dwarf2.d: Add 0x - prefix in "Advance PC" lines. - -2005-09-08 Paul Brook <paul@codesourcery.com> - - * gas/arm/arch6zk.d: Rename smi to smc. - * gas/arm/arch6zk.s: Ditto. - * gas/arm/thumb32.d: Ditto. - * gas/arm/thumb32.s: Ditto. - -2005-09-07 Richard Henderson <rth@redhat.com> - - * gas/lns/lns-common-1.d: Don't match header or special opcode numbers. - * gas/lns/lns-common-1.s: Update for syntax change. - * gas/lns/lns-diag-1.[sl]: Likewise. - -2005-09-07 Richard Henderson <rth@redhat.com> - - * gas/mips/mips16-dwarf2.d: Don't match anything but address and line - number increments. Adjust relocation address. - * gas/mips/mips16-dwarf2-n32.d: Likewise. Add "N32" to test name. - -2005-09-07 Richard Henderson <rth@redhat.com> - - * gas/cris/rd-dw2-1.d: Don't match anything but address and line - number increments. - * gas/cris/rd-dw2-10.d, gas/cris/rd-dw2-11.d, gas/cris/rd-dw2-12.d, - gas/cris/rd-dw2-13.d, gas/cris/rd-dw2-14.d, gas/cris/rd-dw2-15.d, - gas/cris/rd-dw2-2.d, gas/cris/rd-dw2-3.d, gas/cris/rd-dw2-4.d, - gas/cris/rd-dw2-5.d, gas/cris/rd-dw2-6.d, gas/cris/rd-dw2-7.d, - gas/cris/rd-dw2-8.d, gas/cris/rd-dw2-9.d: Likewise. - -2005-09-07 Richard Henderson <rth@redhat.com> - - * gas/lns/lns.exp: New file. - * gas/lns/lns-common-1.[sd]: New test. - * gas/lns/lns-diag-1.[sl]: New test. - -2005-09-06 Chao-ying Fu <fu@mips.com> - - * gas/mips/mips.exp: Run MT test for mips32r2 only. - * gas/mips/mips32-mt.[sdl]: New test. - -2005-09-06 Paul Brook <paul@codesourcery.com> - - * gas/arm/thumb2_relax.d: New test. - * gas/arm/thumb2_relax.s: New test. - * gas/arm/thumb32.d: Adjust expected results to include relaxation. - * gas/arm/thumb32.s: Tweak for better coverage of relaxable - instructions. Remove load/store tests. - -2005-09-02 Paul Brook <paul@codesourcery.com> - - * gas/arm/arm3-bad.s: New test. - * gas/arm/arm3-bad.d: New test. - * gas/arm/arm3.s: Avoid illegal instructions. - * gas/arm/arm3.d: Ditto. - -2005-09-02 Paul Brook <paul@codesourcery.com> - - * gas/arm/vfp-bad_t2.d, gas/arm/vfp-bad_t2.l, arm/vfp-bad_t2.s, - gas/arm/vfp1_t2.d, gas/arm/vfp1_t2.s, gas/arm/vfp1xD_t2.d, - gas/arm/vfp1xD_t2.s, gas/arm/vfp2_t2.d, gas/arm/vfp2_t2.s): New files. - -2005-09-02 Paul Brook <paul@codesourcery.com> - - * gas/arm/fpa-mem.d: Test "stfpls". - * gas/arm/fpa-mem.s: Ditto. - -2005-09-01 Hans-Peter Nilsson <hp@axis.com> - - * gas/cris: Adjust all files for testing target - cris-axis-linux-gnu. - -2005-08-30 Paul Brook <paul@codesourcery.com> - - * gas/arm/thumb.d: Change "sub rn, rn, rn" to "subs rn, rn, rn". - * gas/arm/thumb32.d: Ditto. - -2005-08-26 Jan Beulich <jbeulich@novell.com> - - * gas/i386/intel.s: Adjust. - * gas/i386/intelok.s: Add two more insns. - * gas/i386/intelok.d: Adjust. - -2005-08-26 Jan Beulich <jbeulich@novell.com> - - * gas/i386/intelok.d: Adjust. - -2005-08-25 Chao-ying Fu <fu@mips.com> - - * gas/mips/mips.exp: Run DSP test. - * gas/mips/mips32-dsp.[sdl]: New test. - -2005-08-22 Jan Beulich <jbeulich@novell.com> - - * gas/i386/mixed-mode-reloc.s, gas/i386/mixed-mode-reloc32.d, - gas/i386/mixed-mode-reloc64.d: New. - * gas/i386/i386.exp: Run new tests. - -2005-08-15 Paul Brook <paul@codesourcery.com> - - * gas/arm/thumb2_it.s: Add more instruction variants. - * gas/arm/thumb2_it.d: Ditto. - -2005-08-12 Martin Schwidefsky <schwidefsky@de.ibm.com> - - * gas/testsuite/gas/s390/s390.exp: Reorganize gas testsuite for s390 - and add tests for new cpu type z9-109. - * gas/testsuite/gas/s390/esa-g5.d: New. - * gas/testsuite/gas/s390/esa-g5.s: New. - * gas/testsuite/gas/s390/esa-operands.d: New. - * gas/testsuite/gas/s390/esa-operands.s: New. - * gas/testsuite/gas/s390/esa-reloc.d: New. - * gas/testsuite/gas/s390/esa-reloc.s: New. - * gas/testsuite/gas/s390/esa-z9-109.d: New. - * gas/testsuite/gas/s390/esa-z9-109.s: New. - * gas/testsuite/gas/s390/esa-z900.d: New. - * gas/testsuite/gas/s390/esa-z900.s: New. - * gas/testsuite/gas/s390/esa-z990.d: New. - * gas/testsuite/gas/s390/esa-z990.s: New. - * gas/testsuite/gas/s390/zarch-operands.d: New. - * gas/testsuite/gas/s390/zarch-operands.s: New. - * gas/testsuite/gas/s390/zarch-reloc.d: New. - * gas/testsuite/gas/s390/zarch-reloc.s: New. - * gas/testsuite/gas/s390/zarch-z9-109.d: New. - * gas/testsuite/gas/s390/zarch-z9-109.s: New. - * gas/testsuite/gas/s390/zarch-z900.d: New. - * gas/testsuite/gas/s390/zarch-z900.s: New. - * gas/testsuite/gas/s390/zarch-z990.d: New. - * gas/testsuite/gas/s390/zarch-z990.s: New. - * gas/testsuite/gas/s390/opcode.d: Delete. - * gas/testsuite/gas/s390/opcode.s: Delete. - * gas/testsuite/gas/s390/opcode64.d: Delete. - * gas/testsuite/gas/s390/opcode64.s: Delete. - * gas/testsuite/gas/s390/operands.d: Delete. - * gas/testsuite/gas/s390/operands.s: Delete. - * gas/testsuite/gas/s390/operands64.d: Delete. - * gas/testsuite/gas/s390/operands64.s: Delete. - * gas/testsuite/gas/s390/reloc.d: Likewise. - * gas/testsuite/gas/s390/reloc.s: Likewise. - * gas/testsuite/gas/s390/reloc64.d: Likewise. - * gas/testsuite/gas/s390/reloc64.s: Likewise. - -2005-08-11 Alan Modra <amodra@bigpond.net.au> - - * gas/all/gas.exp: Remove a29k and m88k support. - * gas/m88k/allinsn.d: Delete. - * gas/m88k/allinsn.s: Delete. - * gas/m88k/init.d: Delete. - * gas/m88k/init.s: Delete. - * gas/m88k/m88k.exp: Delete. - * gas/tic80/add.d: Delete. - * gas/tic80/add.lst: Delete. - * gas/tic80/add.s: Delete. - * gas/tic80/align.d: Delete. - * gas/tic80/align.lst: Delete. - * gas/tic80/align.s: Delete. - * gas/tic80/bitnum.d: Delete. - * gas/tic80/bitnum.lst: Delete. - * gas/tic80/bitnum.s: Delete. - * gas/tic80/ccode.d: Delete. - * gas/tic80/ccode.lst: Delete. - * gas/tic80/ccode.s: Delete. - * gas/tic80/cregops.d: Delete. - * gas/tic80/cregops.lst: Delete. - * gas/tic80/cregops.s: Delete. - * gas/tic80/endmask.d: Delete. - * gas/tic80/endmask.lst: Delete. - * gas/tic80/endmask.s: Delete. - * gas/tic80/float.d: Delete. - * gas/tic80/float.lst: Delete. - * gas/tic80/float.s: Delete. - * gas/tic80/regops.d: Delete. - * gas/tic80/regops.lst: Delete. - * gas/tic80/regops.s: Delete. - * gas/tic80/regops2.d: Delete. - * gas/tic80/regops2.lst: Delete. - * gas/tic80/regops2.s: Delete. - * gas/tic80/regops3.d: Delete. - * gas/tic80/regops3.lst: Delete. - * gas/tic80/regops3.s: Delete. - * gas/tic80/regops4.d: Delete. - * gas/tic80/regops4.lst: Delete. - * gas/tic80/regops4.s: Delete. - * gas/tic80/relocs1.c: Delete. - * gas/tic80/relocs1.d: Delete. - * gas/tic80/relocs1.lst: Delete. - * gas/tic80/relocs1.s: Delete. - * gas/tic80/relocs1b.d: Delete. - * gas/tic80/relocs2.c: Delete. - * gas/tic80/relocs2.d: Delete. - * gas/tic80/relocs2.lst: Delete. - * gas/tic80/relocs2.s: Delete. - * gas/tic80/relocs2b.d: Delete. - * gas/tic80/tic80.exp: Delete. - -2005-08-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - * gas/hppa/reloc/reloc.exp (do_function_reloc_bug): Add "L%" to regexp. - -2005-08-05 Paul Brook <paul@codesourcery.com> - - * gas/arm/thumb32.s: Use correct conditional suffixes inside IT - blocks. - * gas/arm/thumb2_it.d, gas/arm/thumb2_it.s: New test. - -2005-08-05 Paul Brook <paul@codesourcery.com> - - * gas/arm/thumb32.d: Update ldm/stm dests. - * gas/arm/thumb32.s: Ditto. - -2005-08-03 Nick Clifton <nickc@redhat.com> - - * gas/arm/iwmmxt-bad2.s: New file: Check for error messages about - erroneous offsets in iwmmxt instructions. Cannot be part of - iwmmxt-bad.s because the errors there stop the assembler before it - gets to check the offsets in instructions. - * gas/arm/iwmmxt-bad2.d: New file. - * gas/arm/iwmmxt-bad2.l: New file: Expected error messages. - -2005-08-02 Khem Raj <kraj@mvista.com> - - * gas/arm/iwmmxt.s: Change the offset values of the WLDRD, WSTRD - and WSTRW instructions to be larger than +/-255. - * gas/arm/iwmmxt.d: Fix the expected results for these - instructions. - -2005-07-29 Paul Brook <paul@codesourcery.com> - - * gas/arm/thumb32.d: Fix expected output for writeback addressing - modes. Add single high reg push/pop test. - * gas/asm/thumb32.s: Add single high reg push/pop test. - -2005-07-29 Paul Brook <paul@codesourcery.com> - - * gas/arm/thumb32.s: Add tests for addw, subw, tbb and tbh. - * gas/arm/thumb32.d: Ditto. - -2005-07-27 Jan Beulich <jbeulich@novell.com> - - * gas/ia64/unwind-bad.l: Uncomment patterns matching new warnings. - * gas/ia64/unwind-ok.d: Correct expectations. - -2005-07-26 Jan Beulich <jbeulich@novell.com> - - * gas/i386/immed32.[sd]: New. - * gas/i386/immed64.[sd]: New. - * gas/i386/i386.exp: Run new tests. - -2005-07-21 Paul Brook <paul@codesourcery.com> - - * gas/arm/thumb32.s: Add tests for [pc, #imm] addressing modes. - * gas/arm/thumb32.d: Ditto. - -2005-07-20 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> - - * gas/m32r/rel32.exp: New file. - * gas/m32r/rel32.s: New file. - * gas/m32r/rel32.d: New file. - * gas/m32r/rel32-pic.s: New file. - * gas/m32r/rel32-pic.d: New file. - * gas/m32r/rel32-err.s: New file. - * gas/m32r/error.exp: Added rel32-err. - -2005-07-18 H.J. Lu <hongjiu.lu@intel.com> - - * gas/i386/i386.exp: Add suffix. - - * gas/i386/suffix.d: New file. - * gas/i386/suffix.s: Likewise. - -2005-07-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - * gas/hppa/basic/fp_comp.s: Add level 1.1 directive. - * gas/hppa/basic/special.s, gas/hppa/basic/system.s: Likewise. - -2005-07-18 Jan Beulich <jbeulich@novell.com> - - * gas/i386/reloc32.[sdl]: New. - * gas/i386/reloc64.[sdl]: New. - * gas/i386/i386.exp: Run new tests. - -2007-07-15 H.J. Lu <hongjiu.lu@intel.com> - - * gas/i386/i386.exp: Add vmx and x86-64-vmx. - - * gas/i386/vmx.d: New file. - * gas/i386/vmx.s: Likewise. - * gas/i386/x86-64-vmx.d: Likewise. - * gas/i386/x86-64-vmx.s: Likewise. - -2005-07-14 Nick Clifton <nickc@redhat.com> - - PR 1063 - * gas/crx/gas-segfault.d: New file. - * gas/crx/gas-segfault.s: New file. - -2005-07-12 Hans-Peter Nilsson <hp@bitrange.com> - - * gas/mmix/relax1-n.d, gas/mmix/relax1-rn.d: Avoid "# FIXME: " - first on a line, adjusting for testsuite framework change. - -2005-07-10 H.J. Lu <hongjiu.lu@intel.com> - - * i386/x86_64.s: Add absolute siged 32bit addressing tests for - mov. - * i386/x86_64.d: Updated. - -2005-07-08 Hans-Peter Nilsson <hp@axis.com> - - PR gas/1049 - * gas/cris/rd-pic-2.d, gas/cris/rd-pic-2.s: New test. - * gas/cris/rd-abs32-1.d: Tweak for not emitting reloc-related - garbage for global symbols. - -2005-07-07 Nick Clifton <nickc@redhat.com> - - * gas/arm/vfp1xD.d: Adjust expected fadds disassemblies now that - the dissassembler has been fixed. - -2005-05-07 Paul Brook <paul@codesourcery.com> - - * gas/ppc/altivec.d: Match all powerpc target vecs. - * gas/ppc/booke.d: Ditto. - * gas/ppc/e500.d: Ditto. - -2005-07-05 Aldy Hernandez <aldyh@redhat.com> - - * gas/ms1: New directory. - * gas/ms1/allinsn.d: New. - * gas/ms1/allinsn.s: New. - * gas/ms1/badinsn.s: New. - * gas/ms1/badinsn1.s: New. - * gas/ms1/badoffsethigh.s: New. - * gas/ms1/badoffsetlow.s: New. - * gas/ms1/badorder.s: New. - * gas/ms1/badreg.s: New. - * gas/ms1/badsignedimmhigh.s: New. - * gas/ms1/badsignedimmlow.s: New. - * gas/ms1/badsyntax.s: New. - * gas/ms1/badsyntax1.s: New. - * gas/ms1/badunsignedimmhigh.s: New. - * gas/ms1/badunsignedimmlow.s: New. - * gas/ms1/errors.exp: New. - * gas/ms1/ldst.s: New. - * gas/ms1/misc.d: New. - * gas/ms1/misc.s: New. - * gas/ms1/ms1-16-003.d: New. - * gas/ms1/ms1-16-003.s: New. - * gas/ms1/ms1.exp: New. - * gas/ms1/msys.d: New. - * gas/ms1/msys.s: New. - * gas/ms1/relocs.d: New. - * gas/ms1/relocs.exp: New. - * testsuite/gas/ms1/relocs1.s: New. - * testsuite/gas/ms1/relocs2.s: New. - -2005-07-05 Jan Beulich <jbeulich@novell.com> - - * gas/i386/svme.d: New. - * gas/i386/svme.s: New. - * gas/i386/svme64.d: New. - * gas/i386/i386.exp: Run new tests. - -2005-07-04 Zack Weinberg <zack@codesourcery.com> - - * lib/gas-defs.exp (run_dump_tests): New proc. - (run_dump_test): Add support for new options: target, not-target, - skip, not-skip, error-output. Document stderr. Tidy a - little. - (slurp_options): If a line doesn't match the option regexp, but - does begin with #, ignore it; don't stop parsing options. - * gas/arm/arm.exp: Remove most code. Use run_dump_tests. - - * gas/arm/archv6t2-bad.d, gas/arm/armv1.d, gas/arm/iwmmxt-bad.d - * gas/arm/r15-bad.d, gas/arm/req.d, gas/arm/t16-bad.d - * gas/arm/undefined.d, gas/arm/undefined_coff.d, gas/arm/vfp-bad.d: - New files. - * gas/arm/bignum1.d, gas/arm/mapping.d, gas/arm/pic.d: - Only run on ELF targets. - * gas/arm/tls.d, gas/arm/unwind.d: Only run on ELF targets. - Skip on VxWorks. - * gas/arm/tls_vxworks.d, gas/arm/unwind_vxworks.d: New files. - * gas/arm/thumb.d, gas/arm/thumb32.d: Don't run on aout or pe. - * gas/arm/le-fpconst.d: Only run on *-*-pe. - * gas/arm/inst.d: Skip on WinCE. - * gas/arm/wince_inst.d: Skip unless WinCE. - * gas/arm/el_segundo.d: Mark up for actual use; adjust - expectations. - * gas/arm/el_segundo.s: Remove irrelevant junk. Add padding - for a.out's sake. - -2005-07-01 Jan Beulich <jbeulich@novell.com> - - * gas/ia64/group-2.s: Use register as second operand of .prologue. - * gas/ia64/unwind-err.s: Add check for .vframesp. - * gas/ia64/unwind-err.l: Adjust. - * gas/ia64/strange.[sd]: New. - * gas/ia64/unwind-bad.[sl]: New. - * gas/ia64/unwind-ok.[sd]: New. - * gas/ia64/ia64.exp: Run new tests. - -2005-06-30 Zack Weinberg <zack@codesourcery.com> - - * gas/arm/arm.exp: Don't special case ldconst, arm7t, or copro - for *-wince-*. - * gas/arm/wince_arm7t.d, gas/arm/wince_copro.d - * gas/arm/wince_ldconst.d: Delete. - -2005-06-20 H.J. Lu <hongjiu.lu@intel.com> - - PR 1013 - * i386/x86_64.s: Add absolute 64bit addressing tests for mov. - * i386/x86_64.d: Updated. - -2005-06-17 Jan Beulich <jbeulich@novell.com> - - * gas/i386/x86-64-pcrel.s: Add insn requiring 64-bit pc-relative - relocation. Add insns for all widths of non-pc-relative relocations. - * gas/i386/x86-64-pcrel.d: Adjust. - -2005-06-13 Zack Weinberg <zack@codesourcery.com> - - * gas/arm/thumb.s: Only branch to labels defined in this file. - * gas/arm/thumb.d, gas/arm/thumb32.d: Adjust expected output. - -2005-06-01 Maciej W. Rozycki <macro@linux-mips.org> - - * gas/mips/ldstla-32-1.l: Update to handle leading zeroes. - * gas/mips/ldstla-32-mips3-1.l: Likewise. - -2005-05-27 Jan Beulich <jbeulich@novell.com> - - * gas/ia64/proc.l: Adjust. - -2005-05-25 Steve Ellcey <sje@cup.hp.com> - - * gas/ia64/global.d: Change --sym to --syms. - -2005-05-25 H.J. Lu <hongjiu.lu@intel.com> - - * gas/ia64/group-1.d: Updated. - * gas/ia64/group-2.d: Likewise. - -2005-05-25 Jan Beulich <jbeulich@novell.com> - - * gas/ia64/radix.s: New. - * gas/ia64/radix.l: New. - * gas/ia64/ia64.exp: Run new test. - -2005-05-25 Jan Beulich <jbeulich@novell.com> - - * gas/i386/intelok.d: Account for 32-bit displacements being shown - in hex. - -2005-05-24 H.J. Lu <hongjiu.lu@intel.com> - - * gas/elf/group0b.d: Updated. - * gas/elf/group1b.d: Likewise. - -2005-05-19 Jan Beulich <jbeulich@novell.com> - - * gas/ia64/reloc-uw.s: New. - * gas/ia64/reloc-uw.d: New. - * gas/ia64/reloc-uw-ilp32.d: New. - * gas/ia64/ia64.exp: Run new test. - -2005-05-18 Jan Beulich <jbeulich@novell.com> - - * gas/all/altmacro.s: Parenthesize operand of %. - -2005-05-17 Zack Weinberg <zack@codesourcery.com> - - * gas/arm/arm.exp: Convert all existing "gas_test" tests to - "run_dump_test" tests. Run more tests unconditionally. Run new tests. - * gas/arm/arch4t.s, gas/arm/arch6zk.s, gas/arm/arm3.s, gas/arm/arm6.s - * gas/arm/arm7dm.s, gas/arm/bignum1.s, gas/arm/float.s - * gas/arm/immed.s, gas/arm/iwmmxt.s, gas/arm/offset.s, gas/arm/thumb.s: - Adjust to work as a dump test. - * gas/arm/arch4t.d, gas/arm/arch6zk.d, gas/arm/arm3.d, gas/arm/arm6.d - * gas/arm/arm7dm.d, gas/arm/bignum1.d, gas/arm/float.d - * gas/arm/immed.d, gas/arm/iwmmxt.d, gas/arm/offset.d, gas/arm/thumb.d: - New files. - - * gas/arm/armv1-bad.l, gas/arm/armv1-bad.s: Remove tests for - diagnostics that don't happen in the first pass anymore. - - * gas/arm/iwmmxt-bad.l, gas/arm/r15-bad.l, gas/arm/req.l - * gas/arm/vfp-bad.l: - Update expected diagnostics. - * gas/arm/pic.d: Update expected reloc name. - * gas/arm/thumbv6.d: CPY no longer appears in disassembly. - * gas/arm/r15-bad.s: Avoid two-argument mul. - * gas/arm/req.s: Adjust comments. - * gas/arm/maverick.d, gas/arm/maverick.s: Avoid inappropriate - use of PC. - - * gas/arm/macro-1.d, gas/arm/macro1.s - * gas/arm/t16-bad.l, gas/arm/t16-bad.s - * gas/arm/tcompat.d, gas/arm/tcompat.s - * gas/arm/tcompat2.d, gas/arm/tcompat2.s - * gas/arm/thumb32.d, gas/arm/thumb32.s - New test pair. - -2005-05-17 Jan Beulich <jbeulich@novell.com> - - * gas/mmix/err-byte1.s: Adjust expected error text on line 10. - -2005-05-17 Nick Clifton <nickc@redhat.com> - - * gas/v850/split-lo16.s: Add test for a lo() pseudo reloc - corrupting an ld.w instruction. - * gas/v850/split-lo16.d: Add expected, correct (ie not corrupt) - output. - -2005-05-10 Michael Matz <matz@suse.de> - - * gas/hppa/parse/block1.s: Use official limit (0x3fffffff) for - .block. - -2005-05-10 Hans-Peter Nilsson <hp@bitrange.com> - - * gas/mmix/relax2.s: Drop ":" off label definitions. - -2005-05-09 Jan Beulich <jbeulich@novell.com> - - * gas/i386/tlsd.[sd]: Adjust to not assume zero displacement will - actually be present in memory addressing. - * gas/i386/tlspic.[sd]: Likewise. - -2005-05-07 H.J. Lu <hongjiu.lu@intel.com> - - PR 940 - * gas/ia64/group-2.d: New. - * gas/ia64/group-2.s: New. - - * gas/ia64/ia64.exp: Add "group-2". - -2005-05-07 H.J. Lu <hongjiu.lu@intel.com> - - PR 843 - * gas/i386/i386.exp: Add x86-64-branch. - - * gas/i386/x86-64-branch.d: New. - * gas/i386/x86-64-branch.s: New. - -2005-05-06 Jan Beulich <jbeulich@novell.com> - - * gas/macros/badarg.s: Add check for bad qualifier specification. - * gas/macros/badarg.l: Adjust. - * gas/macros/vararg.[sd]: New. - * gas/macros/macros.exp: Run new test. - -2005-05-06 Jan Beulich <jbeulich@novell.com> - - * gas/all/cond.s: Also test .ifb/.ifnb. - * gas/all/cond.d: Adjust. - -2005-05-06 Jan Beulich <jbeulich@novell.com> - - * gas/macros/dot.s: Don't use pseudo-ops in first column. - * gas/macros/dot.l: Match broader range of possible outputs. - * gas/macros/purge.l: Likewise. - * gas/macros/purge.s: Start generated macro names with an underscore. - -2005-05-05 Paul Brook <paul@codesourcery.com> - - * gas/i386/i386.exp: Don't run divide test on vxworks. - -2005-05-05 Nick Clifton <nickc@redhat.com> - - * Update the address and phone number of the FSF organization in - the GPL notices in the following files: - gas/all/itbl-test.c, gas/all/test-example.c, gas/all/test-gen.c, - gas/arm/maverick.c, gas/cris/cris.exp, gas/hppa/basic/basic.exp, - gas/hppa/parse/parse.exp, gas/hppa/reloc/reloc.exp, - gas/hppa/unsorted/unsorted.exp, gas/m88k/m88k.exp, - gas/mmix/mmix-err.exp, gas/mmix/mmix-list.exp, gas/mmix/mmix.exp, - gas/mn10200/basic.exp, gas/mn10300/am33-2.c, - gas/mn10300/basic.exp, gas/pdp11/opcode.s, gas/ppc/aix.exp, - gas/sh/basic.exp, gas/sh/err.exp, gas/sh/arch/arch.exp, - gas/sh/sh64/sh64.exp, gas/v850/basic.exp, lib/gas-defs.exp - -2005-05-05 Mike Frysinger <vapier@gentoo.org> - - * gas/sh/basic.exp: Replace linux-gnu with linux-* to allow for - versions of Linux which do not use glibc. - * gas/vax/vax.exp: Likewise. - -2005-05-05 Paul Brook <paul@codesourcery.com> - - * lib/gas-defs.exp (regexp_diff): Pass test if last line is "#...". - -2005-04-26 H.J. Lu <hongjiu.lu@intel.com> - - * gas/all/assign.s: Make `x' and `y' global. - -2005-04-25 Jan Beulich <jbeulich@novell.com> - - * gas/macros/badarg.s: Add tests for collisions between/among macro - parameters and local symbols. - * gas/macros/badarg.l: Adjust. - -2005-04-20 Jan Beulich <jbeulich@novell.com> - - * gas/elf/struct.s: Adjust to not get into alignment issues. - * gas/elf/struct.d: Adjust for the above and the test's name. - -2005-04-19 H.J. Lu <hongjiu.lu@intel.com> - - * gas/i386/padlock.d: Updated. - -2005-04-19 Andreas Schwab <schwab@suse.de> - - * gas/ia64/invalid-ar.l: Adapt to changed error message. - -2005-04-18 Jan Beulich <jbeulich@novell.com> - - * gas/macros/purge.[ls]: New. - * gas/macros/macros.exp: Run new test. - -2005-04-15 Jan Beulich <jbeulich@novell.com> - - * gas/elf/struct.[sd]: New. - * gas/elf/elf.exp: Run new test. - -2005-04-15 Alan Modra <amodra@bigpond.net.au> - - * gas/all/assign.s: New. - * gas/all/assign.d: New. - * gas/all/gas.exp: Run it. - -2005-04-13 Maciej W. Rozycki <macro@linux-mips.org> - - * gas/mips/ldstla-32.s: Exclude offsets that are now meant to fail - and include more instructions/offsets that are meant to succeed. - Use $4 instead $3 to avoid register dependencies. - * gas/mips/ldstla-32.d: Update accordingly. - * gas/mips/ldstla-32-shared.d: Likewise. - * gas/mips/ldstla-32-mips3.d: New test based on the above, except - for mips3. - * gas/mips/ldstla-32-mips3-shared.d: Similarly, for PIC. - * gas/mips/ldstla-32-mips3.s: Source for the new tests. - * gas/mips/ldstla-32-1.s: New test for offsets that are meant to - fail. - * gas/mips/ldstla-32-mips3-1.s: Likewise, for mips3. - * gas/mips/ldstla-32-1.l: Stderr output for the new test. - * gas/mips/ldstla-32-mips3-1.l: Likewise. - * gas/mips/mips.exp: Run the new tests. - -2005-04-11 Mark Kettenis <kettenis@gnu.org> - - * gas/all/gas.exp: Don't run fastcall labels test on - i*86-*-openbsd*. - -2005-04-11 Jan Beulich <jbeulich@novell.com> - - * gas/macros/dot.[ls]: New. - * gas/macros/macros.exp: Run new test. - -2005-04-06 H.J. Lu <hongjiu.lu@intel.com> - - * gas/i386/x86-64-pcrel.s: Test R_X86_64_32S. - * gas/i386/x86-64-pcrel.d: Updated. - -2005-04-01 Jan-Benedict Glaw <jbglaw@lug-owl.de> - - * gas/vax/flonum.s: New testcase: Encode some flonums. - * gas/vax/flonum.d: Expected result of new testcase. - * gas/vax/vax.exp: Call the new testcase. - - * gas/vax/elf-rel.d: Call gas with -k. Thanks to Matt Thomas for - figuring out. - * gas/vax/vax.exp: Run elf-rel.[sd] for NetBSD-ELF and Linux. - -2005-04-01 Jan Beulich <jbeulich@novell.com> - - * gas/i386/bss.[sd]: New. - * gas/i386/i386.exp: Run new test. - -2005-04-01 Jan Beulich <jbeulich@novell.com> - - * gas/i386/x86-64-pcrel.[sd]: New. - * gas/i386/i386.exp: Run new test. - -2005-03-30 Julian Brown <julian@codesourcery.com> - - * gas/arm/mapping.d: Update expected output due to mapping symbols - being untyped. - -2005-03-29 H.J. Lu <hongjiu.lu@intel.com> - - * gas/i386/i386.exp: Run segment and inval-seg for i386. Run - x86-64-segment and x86-64-inval-seg for x86-64. - - * gas/i386/intel.d: Expect movw for moving between memory and - segment register. - * gas/i386/naked.d: Likewise. - * gas/i386/opcode.d: Likewise. - * gas/i386/x86-64-opcode.d: Likewise. - - * gas/i386/opcode.s: Use movw for moving between memory and - segment register. - * gas/i386/x86-64-opcode.s: Likewise. - - * : Likewise. - - * gas/i386/inval-seg.l: New. - * gas/i386/inval-seg.s: New. - * gas/i386/segment.l: New. - * gas/i386/segment.s: New. - * gas/i386/x86-64-inval-seg.l: New. - * gas/i386/x86-64-inval-seg.s: New. - * gas/i386/x86-64-segment.l: New. - * gas/i386/x86-64-segment.s: New. - -2005-03-29 Daniel Jacobowitz <dan@codesourcery.com> - - * gas/arm/tls.s, gas/arm/tls.d: New files. - * gas/arm/arm.exp: Run TLS test. - -2005-03-29 Julian Brown <julian@codesourcery.com> - - * gas/arm/unwind.d: Update expected output. - -2005-03-28 H.J. Lu <hongjiu.lu@intel.com> - - PR 803 - * gas/ia64/dv-imply.d: Pass -mtune=itanium1 to as. - * gas/ia64/dv-mutex.d : Likewise. - * gas/ia64/dv-safe.d: Likewise. - * gas/ia64/dv-srlz.d.nop: Likewise. - * gas/ia64/ldxmov-1.d: Likewise. - * gas/ia64/opc-b.d: Likewise. - * gas/ia64/opc-f.d: Likewise. - * gas/ia64/opc-i.d: Likewise. - * gas/ia64/opc-m.d: Likewise. - * gas/ia64/operand-or.d: Likewise. - * gas/ia64/pcrel.d: Likewise. - * gas/ia64/pseudo.d: Likewise. - * gas/ia64/tls.d: Likewise. - -2005-03-24 Hans-Peter Nilsson <hp@axis.com> - - * gas/cris/range-err-1.s: Adjust expected messages for hosts with - 64-bit longs. - -2005-03-23 Alan Modra <amodra@bigpond.net.au> - - * gas/elf/section5.s: Don't start directives in first column. - -2005-03-21 Nick Clifton <nickc@redhat.com> - - * gas/arm/iwmmxt.s: Update instructions that use the "never" value - in the conditional field to use "le" instead. This is so that the - disassembler will disassemble them. - * gas/arm/iwmmxt.d: Update expected disassemblies. - -2005-03-17 Jan Beulich <jbeulich@novell.com> - - * gas/i386/intel.d: Add stderr directive. - * gas/i386/intel.e: New. - * gas/i386/intel16.d: Add stderr directive. Adjust for changed - source. - * gas/i386/intel16.e: New. - * gas/i386/intel16.s: Add instances of addressing forms with base - and index specified in reverse order. - * gas/i386/intelbad.l: Adjust for changed source. - * gas/i386/intelbad.s: Add more operand forms to check. - * gas/i386/intelok.d: Remove -r from objdump options. Add stderr - directive. Adjust for changed source. - * gas/i386/intelok.e: New. - * gas/i386/intelok.s: Define MASM constants byte, word, etc. Add - more operand forms to check. - * gas/i386/x86_64.d: Add stderr directive. - * gas/i386/x86_64.e: New. - * gas/i386/x86_64.s: Adjust for parser changes. - -2005-03-15 Zack Weinberg <zack@codesourcery.com> - - * gas/arm/archv6t2.d, gas/arm/archv6t2.s: New dump test. - * gas/arm/archv6t2-bad.l, gas/arm/archv6t2-bad.l: New errors test. - * gas/arm/arm.exp: Run them. - -2005-03-14 Eric Christopher <echristo@redhat.com> - - * gas/cfi/cfi-mips-1.d, gas/cfi/cfi-mips-1.s: New dump test. - * gas/cfi/cfi.exp: Run it. - * gas/cfi/cfi-common-1.d: Update. - * gas/cfi/cfi-common-2.d: Ditto. - * gas/cfi/cfi-common-3.d: Ditto. - * gas/cfi/cfi-common-4.d: Ditto. - -2005-03-12 Zack Weinberg <zack@codesourcery.com> - - * gas/arm/thumbv6k.d, gas/arm/thumbv6k.s: New dump test. - * gas/arm/arm.exp: Run it. - -2005-03-10 Aldy Hernandez <aldyh@redhat.com> - - * gas/ppc/e500.d: Fix encoding of efscfd. - -2005-03-10 Jeff Baker <jbaker@qnx.com> - Alan Modra <amodra@bigpond.net.au> - - * gas/ppc/booke.s: Add new m[t,f]sprg testcases. - * gas/ppc/booke.d: Likewise. - -2005-03-09 Richard Sandiford <rsandifo@redhat.com> - - * gas/mips/vr4130.[sd]: New test. - * gas/mips/mips.exp: Run it. - -2005-03-09 Richard Sandiford <rsandifo@redhat.com> - - * gas/mips/relax-swap1-mips[12].d: Expect the delay slots of - bc1f and bc1t to be filled. - * gas/mips/branch-misc-3.[sd]: New test. - * gas/mips/mips.exp: Run it. - -2005-03-09 Ben Elliston <bje@au.ibm.com> - - * gas/maxq10/maxq10.exp: Remove stray semicolons. - * gas/maxq20/maxq20.exp: Likewise. - -2005-03-08 Jan Beulich <jbeulich@novell.com> - - * gas/ia64/no-fit.[ls]: New. - * gas/ia64/ia64.exp: Run new test. - -2005-03-08 Jan Beulich <jbeulich@novell.com> - - * gas/ia64/xdata.[sd], gas/ia64/xdata-ilp32.d: New. - * gas/ia64/ia64.exp: Run new tests. - -2005-03-08 Jan Beulich <jbeulich@novell.com> - - * gas/ia64/pcrel.d: Account for big endian target. - * gas/ia64/reloc-bad.s: Enforce 64-bit ABI. - -2005-03-08 Hans-Peter Nilsson <hp@axis.com> - - Adjust testsuite for cris-axis-aout. - * gas/cris/rd-bcnst.d, gas/cris/rd-usp-1.d: Adjust regexps for a.out output. - * gas/cris/mulbug-err-1.s, gas/cris/rd-arch-1.d, - gas/cris/rd-arch-2.d, gas/cris/rd-arch-3.d, gas/cris/rd-break32.d, - gas/cris/rd-pcrel2.d, gas/cris/rd-ppv1032.d, gas/cris/rd-ppv32.d, - gas/cris/rd-usp-1b.d, gas/cris/v32-err-7.s: Pass --em=criself. - -2005-03-04 David Daney <ddaney@avtrex.com> - - * gas/mips/elf-rel23b.d: Use '__gnu_local_gp' instead of '_gp' - for -mno-shared optimization. - * gas/mips/elf-rel25a.d: Ditto. - -2005-03-04 Nick Clifton <nickc@redhat.com> - - * gas/arm/arm.exp: Fix test for running the "undefined" to catch - more non-ELF cases. - * gas/arm/pic.d: Fix for vxworks target. - * gas/arm/basic.d: Likewise. - * gas/arm/unwind.d: Likewise. - -2005-03-04 Richard Sandiford <rsandifo@redhat.com> - - * gas/mips/ldstla-{n32.s, n32.d, n32-shared.d}: Delete. - * gas/mips/ldstla-{n64.d, n64-shared.d}: Adjust expected output - for loads and stores from constant addresses. - * gas/mips/ldstla-{sym32.s, eabi64.d, n64-sym32.d}: New tests. - * gas/mips/mips.exp: Run them. - -2005-03-03 Richard Sandiford <rsandifo@redhat.com> - - * gas/mips/mips.exp: Move tls tests to main $elf block. - -2005-03-03 Nick Clifton <nickc@redhat.com> - - * gas/macros/macros.exp (and.s): Expect this test to fail for the - tic4x-coff target because it uses the '&' character as a line - separator. - - * gas/sh/basic.exp: Add an sh-hms version of the pcrel test. - * gas/sh/pcrel-hms.d: New file. Adjusted form of pcrel-coff.d for - the sh-hms target. - * gas/sh/arch/arch.exp: Expect the same failures for sh-hms port - as for the sh-coff port. - - * gas/macros/macros.exp (run_list_test): Also expect the msp430 - port to fail the strings test because it defines - ONLY_STANDARD_ESCAPES. - - * gas/arm/arch6zk.s: Add three nop instructions in order to pad - the .text section out to a 32-byte boundary as will automatically - be done by the arm-aout target. - * gas/arm/arch6zk.d: Add expected nop disassemblies. - - * gas/d30v/serial.l: Remove listing lines that are no longer - emitted and fix up expected binary encoding. - * gas/d30v/serial2.l: Likewise. - * gas/d30v/serial2O.l: Likewise. - -2005-03-03 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com> - - * gas/arc/extensions.s: Add tests for extcoreregister. - * gas/arc/extensions.d: Likewise. - * gas/arc/warn.s: Warnings for readonly core registers accessed. - * gas/arc/warn.d: Likewise. - * gas/arc/arc.exp: Run extensions testcase. - -2005-03-03 Richard Sandiford <rsandifo@redhat.com> - - * gas/mips/noat-1.d: Add -mips1 to assembler options. - -2005-03-03 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com> - - * gas/arc/ld.s: Add checks for short immediates with ld. - * gas/arc/ld.d: Likewise. - -2005-03-02 Daniel Jacobowitz <dan@codesourcery.com> - - * gas/mips/tls-o32.d, gas/mips/tls-o32.s, gas/mips/tls-ill.l, - gas/mips/tls-ill.s: New files. - * gas/mips/mips.exp: Run TLS tests. - -2005-03-02 Alan Modra <amodra@bigpond.net.au> - - * gas/ppc/astest.d: Adjust for relocs reduced to section sym. - * gas/ppc/astest2.d: Likewise. - * gas/ppc/astest2_64.d: Likewise. - * ppc/astest64.d: Likewise. - * ppc/booke.d: Likewise. - * ppc/power4.d: Likewise. - * ppc/test1elf32.d: Likewise. - * ppc/test1elf64.d: Likewise. - -2005-03-02 Jan Beulich <jbeulich@novell.com> - - * gas/i386/cr-err.[ls]: New. - * gas/i386/crx.[ds]: New. - * gas/i386/i386.exp: Run new tests. - -2005-03-02 Jan Beulich <jbeulich@novell.com> - - * gas/i386/intelok.d: Add -r to objdump options. Adjust expectations. - * gas/i386/intelok.s: Add checks for various special memory operands. - -2005-03-01 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com> - - * gas/arc/extensions.s: New file. - * gas/arc/extensions.d: New file. - -2005-03-01 Nick Clifton <nickc@redhat.com> - - * gas/arm/arm.exp (undefined): Run a COFF variant of this test for - COFF based ports. - * gas/arm/undefined_coff.s: New file: Variant of undefined.s but - with a COFF formated local label name. - * gas/arm/undefined_coff.l: New file. Variant of undefined.l. - -2005-03-01 Stig Petter Olsroed <stigpo@users.sourceforge.net> - Nick Clifton <nickc@redhat.com> - - * gas/arm/inst.d: Allow for ARM ports which decode the reloc - associated with branches and so show the exact symbolic - destination address rather than an offset from the start of the - section. - * gas/arm/pic.d: Likewise. - -2005-03-01 Alan Modra <amodra@bigpond.net.au> - - * gas/m68k/mcf-emac.d: Allow for 64-bit addresses. - * gas/m68k/mcf-mac.d: Likewise. - * gas/m68k/mcf-mov3q.d: Likewise. - * gas/m68k/mode5.d: Likewise. - -2005-02-22 Eric Christopher <echristo@redhat.com> - - * gas/mips/elf-rel10.d: Update for label change. - -2005-02-22 Maciej W. Rozycki <macro@mips.com> - - * gas/mips/mips16-dwarf2.d: Pass -mabi=32. Include relocation - information. - * gas/mips/mips16-dwarf2-n32.d: New test to check DWARF2 line - information for MIPS16 for the n32 ABI. - * gas/mips/mips.exp. Run the new test. - -2005-02-22 Eric Christopher <echristo@redhat.com> - - * gas/mips/elf-rel10.s: Add label for frob. - -2005-02-22 Maciej W. Rozycki <macro@mips.com> - - * gas/mips/mips16-dwarf2.d: New test to check DWARF2 line - information for MIPS16. - * gas/mips/mips16-dwarf2.s: Source for the new test. - * gas/mips/mips.exp: Run the new test. - -2005-02-21 Alan Modra <amodra@bigpond.net.au> - - * gas/d10v/instruction_packing-005.d: Adjust. - * gas/d10v/instruction_packing-008.d: Ignore disassembled stabs. - * gas/d10v/instruction_packing-009.d: Likewise. - * gas/d10v/instruction_packing-010.d: Likewise. - * gas/d10v/warning-001.d: Use #warning instead of #error. - * gas/d10v/warning-002.d: Likewise. - * gas/d10v/warning-003.d: Likewise. - * gas/d10v/warning-004.d: Likewise. - * gas/d10v/warning-005.d: Likewise. - * gas/d10v/warning-006.d: Likewise. - * gas/d10v/warning-007.d: Likewise. - * gas/d10v/warning-008.d: Likewise. - * gas/d10v/warning-009.d: Likewise. - * gas/d10v/warning-010.d: Likewise. - * gas/d10v/warning-011.d: Likewise. - * gas/d10v/warning-012.d: Likewise. - * gas/d10v/warning-013.d: Likewise. - * gas/d10v/warning-015.d: Likewise. - * gas/d10v/warning-016.d: Likewise. - * gas/d10v/warning-017.d: Likewise. - * gas/d10v/warning-018.d: Likewise. - * gas/d10v/warning-019.d: Likewise. - * lib/gas-defs.exp (run_dump_test): Don't require a dump program if - #warning given. Rearrange to allow $program to remain unset. - Fail the test if warning not found when expected. Conversely fail - the test if assembler errors or warnings given when not expected. - -2005-02-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> - - * gas/mips/noat-1.s, gas/mips/noat-1.d, gas/mips/noat-2.s, - gas/mips/noat2.l, gas/mips/noat-3.s, gas/mips/noat-3.l, - gas/mips/noat-4.s, gas/mips/noat-4.l, gas/mips/noat-5.s, - gas/mips/noat-5.l, gas/mips/noat-6.s, gas/mips/noat-6.l, - gas/mips/noat-7.s, gas/mips/noat-7.l: New files, testcases for - .set noat in macro expansions. - * gas/mips/mips.exp: Run new testcases. - * gas/mips/rol-hw.d, gas/mips/rol-hw.l, gas/mips/rol.d, - gas/mips/rol.l, gas/mips/rol.s, gas/mips/rol64-hw.d, - gas/mips/rol64-hw.l, gas/mips/rol64.d, gas/mips/rol64.l, - gas/mips/rol64.s, gas/mips/uld2-eb.d, gas/mips/uld2-el.d, - gas/mips/uld2.l, gas/mips/uld2.s, gas/mips/ulh2-eb.d, - gas/mips/ulh2-el.d, gas/mips/ulh2.l, gas/mips/ulh2.s, - gas/mips/ulw2-eb-ilocks.d, gas/mips/ulw2-eb.d, - gas/mips/ulw2-el-ilocks.d, gas/mips/ulw2-el.d, gas/mips/ulw2.l, - gas/mips/ulw2.s: Don't try to test .set noat. - -2005-02-17 H.J. Lu <hongjiu.lu@intel.com> - - * gas/ia64/hint.b-err.l: New file. - * gas/ia64/hint.b-err.s: Likewise. - * gas/ia64/hint.b-warn.l: Likewise. - * gas/ia64/hint.b-warn.s: Likewise. - - * gas/ia64/ia64.exp: Run hint.b-err and hint.b-warn. - - * gas/ia64/opc-b.d: Pass -mhint.b=ok to as. - -2005-02-17 Jan Beulich <jbeulich@novell.com> - - * gas/ia64/nostkreg.[ds]: New. - * gas/ia64/ia64.exp: Run new test. - -2005-02-16 Alan Modra <amodra@bigpond.net.au> - - * gas/all/gas.exp (quad): Don't run on i960. - -2005-02-15 Nigel Stephens <nigel@mips.com> - Maciej W. Rozycki <macro@mips.com> - - * gas/mips/mips16-hilo.d: New test for the R_MIPS16_HI16 and - R_MIPS16_LO16 relocs. - * gas/mips/mips16-hilo-n32.d: Likewise, for the n32 ABI. - * gas/mips/mips16-hilo.s: Source for the new tests. - * gas/mips/mips.exp: Run the new tests. - -2005-02-15 Jan Beulich <jbeulich@novell.com> - - * gas/ia64/pcrel.[ds]: New. - * gas/ia64/ia64.exp: Run new test. - -2005-02-15 Jan Beulich <jbeulich@novell.com> - - * gas/ia64/dv-raw-err.l: Expect specific resource for RAW - violation on b0. - * gas/ia64/regval.[ls]: New. - * gas/ia64/ia64.exp: Run new test. - -2005-02-15 Jan Beulich <jbeulich@novell.com> - - * gas/ia64/dv-raw-err.s: Don't use r0 or f0 as output operand. - * gas/ia64/dv-waw-err.s: Likewise. - * gas/ia64/reg-err.[ls]: New. - * gas/ia64/ia64.exp: Run new test. - -2005-02-15 Jan Beulich <jbeulich@novell.com> - - * gas/ia64/reloc.[ds]: New. - * gas/ia64/reloc-bad.[ls]: New. - * gas/ia64/ia64.exp: Run new tests. - -2005-02-15 Jan Beulich <jbeulich@novell.com> - - * gas/ia64/operand-or.d: Pass -xnone to assembler. - -2005-02-13 Jan Beulich <jbeulich@novell.com> - - * gas/ia64/label.l: Adjust line numbers. - * gas/ia64/label.s: Add .explicit. - * gas/ia64/nop_x.s: Likewise. - * gas/ia64/opc-a.d: Add assembler option -xnone. - * gas/ia64/opc-b.d: Likewise. - * gas/ia64/opc-f.d: Likewise. - * gas/ia64/opc-i.d: Likewise. - * gas/ia64/opc-m.d: Likewise. - * gas/ia64/opc-x.d: Likewise. - * gas/ia64/pseudo.d: Likewise. - * gas/ia64/regs.d: Likewise. - * gas/ia64/tls.d: Likewise. - * gas/ia64/unwind-err.l: Adjust line numbers. - * gas/ia64/unwind-err.s: Remove explicit stops. - -2005-02-13 Jan Beulich <jbeulich@novell.com> - - * gas/ia64/pound.[ls]: New. - * gas/ia64/ia64.exp: Run new test. - -2005-02-13 H.J. Lu <hongjiu.lu@intel.com> - - * gas/ia64/ia64.exp: Add "operand-or". - - * gas/ia64/operand-or.d: New file. - * gas/ia64/operand-or.s: Likewise. - -2005-02-11 H.J. Lu <hongjiu.lu@intel.com> - - * gas/ia64/ia64.exp: Pass -munwind-check=error for unwind-err - and proc. - -2005-02-10 Julian Brown <julian@codesourcery.com> - - * gas/arm/unwind.d: Alter expected output to include dependency on - __aeabi_unwind_cpp_pr[01]. - -2005-02-09 Jan Beulich <jbeulich@novell.com> - - * gas/i386/intelok.s: Remove comments disabling alternative forms of - fbld, fbstp, and fldcw. - * gas/i386/intelok.d: Expect two instances of fbld, fbstp, and fldcw. - -2005-02-07 Inderpreet Singh <inderpreetb@noida.hcltech.com> - - * gas/maxq10/jump.d: Fixed relative jump offset. - * gas/maxq10/call.d: Likewise. - * gas/maxq20/jump.d: Likewise. - * gas/maxq20/call.d: Likewise. - -2005-02-07 Hans-Peter Nilsson <hp@axis.com> - - * lib/gas-defs.exp: Support new directive "warning". - -2005-02-02 Jan Beulich <jbeulich@novell.com> - - * gas/ia64/pred-rel.s: New. - * gas/ia64/ia64.exp: Run new test. - -2005-01-31 Daniel Jacobowitz <dan@codesourcery.com> - - * gas/mips/elf-rel23.d, gas/mips/elf-rel23a.d: Accept little-endian. - * gas/mips/tmipsel16-e.d, gas/mips/tmipsel16-f.d: Accept section - symbol names. - -2005-01-31 Jan Beulich <jbeulich@novell.com> - - * gas/macros/repeat.[ds]: New. - * gas/macros/macros.exp: Run new test. - -2005-01-31 Jan Beulich <jbeulich@novell.com> - - * gas/macros/badarg.[ls]: New. - * gas/macros/end.[ls]: New. - * gas/macros/redef.[ls]: New. - * gas/macros/macros.exp (run_list_test): Copy from elsewhere. - Run new tests. - -2005-01-31 Jan Beulich <jbeulich@novell.com> - - * gas/ia64/operands.[ls]: New. - * gas/ia64/ia64.exp: Run new test. - -2005-01-31 Jan Beulich <jbeulich@novell.com> - - * gas/ia64/proc.[ls]: New. - * gas/ia64/unwind-err.[ls]: New. - * gas/ia64/ia64.exp: Run new tests. - -2005-01-31 Jan Beulich <jbeulich@novell.com> - - * gas/ia64/bundling.[ds]: New. - * gas/ia64/label.[ls]: New. - * gas/ia64/last.[ls]: New. - * gas/ia64/slot2.[ls]: New. - * gas/ia64/ia64.exp: Run new tests. - -2005-01-31 Jan Beulich <jbeulich@novell.com> - - * gas/ia64/pseudo.[ds]: New. - * gas/ia64/ia64.exp: Run new test. - -2005-01-27 Jan Beulich <jbeulich@novell.com> - - * gas/ia64/nop_x.[ds]: New. - * gas/ia64/ia64.exp: Run new test. - -2005-01-27 Jan Beulich <jbeulich@novell.com> - - * gas/ia64/dv-waw-err.l: Don't expect ar112 move warning to refer to - M-unit. - * gas/ia64/mov-ar.[ds]: New. - * gas/ia64/ia64.exp: Run new test. - -2005-01-24 Nick Clifton <nickc@redhat.com> - - * gas/all/sleb128.d: Do not assume an 8-bit byte. - * gas/all/quad.d: Likewise. Also allow for ports which order - bytes within words in other than simple big-endian or - little-endian fashions. - -2005-01-19 Richard Sandiford <rsandifo@redhat.com> - - * gas/all/sleb128.[sd]: New test. - * gas/all/quad.[sd]: New test. - * gas/all/gas.exp: Run them. - -2005-01-17 Andrew Stubbs <andrew.stubbs@st.com> - - * gas/sh/arch/arch.exp: Correct the email address. - Correct a few comment typos. - Add new tests to ensure that the assembler will only accept - instructions valid in each architecture and vice-versa. - * gas/sh/arch/arch_expected.txt: Update/Correct the test results. - * gas/sh/arch/sh2a-nofpu-or-sh3-nommu.s: Regenerate. - * gas/sh/arch/sh2a-nofpu-or-sh4-nommu-nofpu.s: Regenerate. - * gas/sh/arch/sh2a-nofpu.s: Generate new file. - * gas/sh/arch/sh2a-or-sh3e.s: Regenerate. - * gas/sh/arch/sh2a-or-sh4.s: Regenerate. - * gas/sh/arch/sh2a.s: Generate new file. - * gas/sh/arch/sh2e.s: Regenerate. - * gas/sh/arch/sh2.s: Regenerate. - * gas/sh/arch/sh3-dsp.s: Regenerate. - * gas/sh/arch/sh3e.s: Regenerate. - * gas/sh/arch/sh3-nommu.s: Regenerate. - * gas/sh/arch/sh3.s: Regenerate. - * gas/sh/arch/sh4al-dsp.s: Regenerate. - * gas/sh/arch/sh4a-nofpu.s: Regenerate. - * gas/sh/arch/sh4a.s: Regenerate. - * gas/sh/arch/sh4-nofpu.s: Regenerate. - * gas/sh/arch/sh4-nommu-nofpu.s: Regenerate. - * gas/sh/arch/sh4.s: Regenerate. - * gas/sh/arch/sh-dsp.s: Regenerate. - * gas/sh/arch/sh.s: Regenerate. - -2005-01-12 H.J. Lu <hongjiu.lu@intel.com> - - * i386/i386.exp: Run "sib". - - * gas/i386/sib.d: New file. - * gas/i386/sib.s: Likewise. - -2005-01-09 Andreas Schwab <schwab@suse.de> - - * gas/i386/intel16.d: Ignore trailing text with #pass. - * gas/i386/intelok.d: Likewise. - * gas/i386/prefix.d: Likewise. - * gas/i386/sub.d: Likewise. - * gas/i386/padlock.d: Likewise. - * gas/i386/x86_64.d: Likewise. - -2005-01-05 Eric Botcazou <ebotcazou@libertysurf.fr> - - * gas/elf/elf.exp (section5): Use 0-9 instead of [:digit:]. - -2004-12-31 Alan Modra <amodra@bigpond.net.au> - - * gas/elf/elf.exp: Don't list reloc sections. - * gas/elf/section5.e: Remove reloc sections. - -2004-12-21 Tomer Levi <Tomer.Levi@nsc.com> - - * gas/crx/beq_insn.d: Update reference file according to - disassembler printing method. - * gas/crx/bit_insn.d: Likewise. - * gas/crx/br_insn.d: Likewise. - * gas/crx/cmpbr_insn.d: Likewise. - * gas/crx/cop_insn.d: Likewise. - * gas/crx/load_stor_insn.d: Likewise. - -2004-12-21 Hans-Peter Nilsson <hp@axis.com> - - * gas/elf/section5.e, gas/elf/section5.l: Replace [:digit:], - [:xdigit:] and {N} in regexps with [0-9], [0-9a-fA-F] and N - copies, to cater to tcl versions before Tcl 8.2.3. - -2004-12-20 Nick Clifton <nickc@redhat.com> - - * gas/elf/section5.[ls]: Use % instead of @ in .section - directives. - -2004-12-16 Richard Sandiford <rsandifo@redhat.com> - - * gas/v850/split-lo16.{s,d}: New test. - * gas/v850/v850.exp: Run it. - -2004-12-15 Jan Beulich <jbeulich@novell.com> - - * gas/elf/section5.[els]: New. - -2004-12-13 Richard Sandiford <rsandifo@redhat.com> - - * gas/mips/elf-rel25.d, gas/mips/elf-rel25a.d: Cope with different - .text alignments. - -2004-12-11 Alan Modra <amodra@bigpond.net.au> - - * gas/alpha/elf-usepv-1.d: Update for changed section syms. - * gas/arm/mapping.d: Likewise. - * gas/mips/tmips16-e.d: Likewise. - * gas/mips/tmips16-f.d: Likewise. - * gas/mmix/align-1.d: Likewise. - * gas/mmix/basep-10.d: Likewise. - * gas/mmix/basep-11.d: Likewise. - * gas/mmix/basep-7.d: Likewise. - * gas/mmix/basep-8.d: Likewise. - * gas/mmix/basep-9.d: Likewise. - * gas/mmix/builtin1.d: Likewise. - * gas/mmix/builtin2.d: Likewise. - * gas/mmix/builtin3.d: Likewise. - * gas/mmix/bz-c.d: Likewise. - * gas/mmix/comment-2.d: Likewise. - * gas/mmix/comment-3.d: Likewise. - * gas/mmix/cons-2.d: Likewise. - * gas/mmix/fb-1.d: Likewise. - * gas/mmix/fb-2.d: Likewise. - * gas/mmix/geta-c.d: Likewise. - * gas/mmix/greg1.d: Likewise. - * gas/mmix/greg1a.d: Likewise. - * gas/mmix/greg2.d: Likewise. - * gas/mmix/greg2a.d: Likewise. - * gas/mmix/greg3.d: Likewise. - * gas/mmix/greg4.d: Likewise. - * gas/mmix/greg5.d: Likewise. - * gas/mmix/greg6.d: Likewise. - * gas/mmix/greg7.d: Likewise. - * gas/mmix/greg8.d: Likewise. - * gas/mmix/is-1.d: Likewise. - * gas/mmix/jump-c.d: Likewise. - * gas/mmix/local-1.d: Likewise. - * gas/mmix/locall1.d: Likewise. - * gas/mmix/odd-1.d: Likewise. - * gas/mmix/op-0-1.d: Likewise. - * gas/mmix/op-0-1s.d: Likewise. - * gas/mmix/op-0-2.d: Likewise. - * gas/mmix/prefix1.d: Likewise. - * gas/mmix/prefix2.d: Likewise. - * gas/mmix/prefix3.d: Likewise. - * gas/mmix/pseudo-1.d: Likewise. - * gas/mmix/pushj-c.d: Likewise. - * gas/mmix/pushj-cs.d: Likewise. - * gas/mmix/sym-1.d: Likewise. - * gas/mmix/weak1-s.d: Likewise. - * gas/mmix/weak1.d: Likewise. - * gas/mmix/zerop-1.d: Likewise. - * gas/ppc/power4.d: Likewise. - * gas/ppc/test1elf32.d: Likewise. - * gas/ppc/test1elf64.d: Likewise. - * gas/sh/sh64/datal32-3.d: Likewise. - * gas/sh/sh64/datal64-3.d: Likewise. - * gas/sh/sh64/localcom-1.d: Likewise. - -2004-12-10 Ian Lance Taylor <ian@wasabisystems.com> - - * gas/mips/elf-rel23a.d: New test. - * gas/mips/elf-rel23b.d: New test. - * gas/mips/elf-rel25.s: New test. - * gas/mips/elf-rel25.d: New test. - * gas/mips/elf-rel25a.d: New test. - * gas/mips/mips.exp: Run new tests. - -2004-12-09 Paul Brook <paul@codesourcery.com> - - * gas/arm/unwind.d: Expect R_ARM_PREL31 relocations. - -2004-12-09 Ian Lance Taylor <ian@wasabisystems.com> - - * gas/mips/branch-swap.d: Pass -32 to as. - -2004-11-29 Tomer Levi <Tomer.Levi@nsc.com> - - * gas/crx/br_insn.d: Fix error in expected disassembly. - -2004-11-29 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> - - * gas/m32r/rela-1.s: New test. - * gas/m32r/rela-1.d: Expected disassembly. - * gas/m32r/m32r.exp: Run the new test. - * gas/m32r/relax-1.d: Update for fixed pcrel reloc - generation. - -2004-11-27 Richard Earnshaw <rearnsha@arm.com> - - * gas/arm/thumbv6.d (setend): Remove stray tab at end - of dump pattern. - -2004-11-25 H.J. Lu <hongjiu.lu@intel.com> - - * gas/ia64/group-1.d: Adjust expected secion ordering. - -2004-11-25 Jan Beulich <jbeulich@novell.com> - - * gas/i386/x86-64-inval.[sl]: Remove sahf/lahf. - -2004-11-24 Paul Brook <paul@codesourcery.com> - - * gas/elf/group0a.d: Adjust expected secion ordering. - * gas/elf/group1a.d: Ditto. - * gas/elf/section4.d: Ditto. - -2004-11-24 Nick Clifton <nickc@redhat.com> - - * gas/iq2000/allinsn.exp: Remove IQ10 tests. - * gas/iq2000/q10allinsn.d: Delete. - * gas/iq2000/q10allinsn.s: Delete. - * gas/iq2000/q10hazard4.s: Delete. - * gas/iq2000/q10hazard5.s: Delete. - * gas/iq2000/q10load-hazards.exp: Delete. - * gas/iq2000/q10nohazard.s: Delete. - * gas/iq2000/q10noyield.s: Delete. - * gas/iq2000/q10test0.d: Delete. - * gas/iq2000/q10test0.s: Delete. - * gas/iq2000/q10test1.d: Delete. - * gas/iq2000/q10test1.s: Delete. - * gas/iq2000/q10test10.d: Delete. - * gas/iq2000/q10test10.s: Delete. - * gas/iq2000/q10test11.d: Delete. - * gas/iq2000/q10test11.s: Delete. - * gas/iq2000/q10test12.d: Delete. - * gas/iq2000/q10test12.s: Delete. - * gas/iq2000/q10test2.d: Delete. - * gas/iq2000/q10test2.s: Delete. - * gas/iq2000/q10test3.d: Delete. - * gas/iq2000/q10test3.s: Delete. - * gas/iq2000/q10test4.d: Delete. - * gas/iq2000/q10test4.s: Delete. - * gas/iq2000/q10test5.d: Delete. - * gas/iq2000/q10test5.s: Delete. - * gas/iq2000/q10test6.d: Delete. - * gas/iq2000/q10test6.s: Delete. - * gas/iq2000/q10test7.d: Delete. - * gas/iq2000/q10test7.s: Delete. - * gas/iq2000/q10test8.d: Delete. - * gas/iq2000/q10test8.s: Delete. - * gas/iq2000/q10test9.d: Delete. - * gas/iq2000/q10test9.s: Delete. - * gas/iq2000/q10yield.exp: Delete. - * gas/iq2000/test.exp: Delete. - -2004-11-24 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com> - - * gas/arc/st.s: Add checks for other variants of the sr and st - instruction. - * gas/arc/st.d: Update the expected disassembly. - -2004-11-23 Nick Clifton <nickc@redhat.com> - - * gas/mn10300/relax.s: Add further tests of the relaxing of branch - instructions. - * gas/mn10300/relax.d: Add expected relocations. - -2004-11-22 Ravi Ramaseshan <ravi.ramaseshan@codito.com> - - * gas/arc/ld.s: Add check of load of a long immediate. - * gas/arc/ld.d: Add expected disassembly. - -2004-11-22 Hans-Peter Nilsson <hp@axis.com> - - * gas/all/gas.exp: Run dg-runtest for all err-*.s and warn-*.s. - * gas/all/err-1.s, gas/all/warn-1.s: New tests. - -2004-11-18 Inderpreet Singh <inderpreetb@nioda.hcltech.com> - - * gas/maxq10/call.d: Fix expected results now that bfd assembler - support is enabled by default. - * gas/maxq10/range.d: Likewise. - * gas/maxq20/call.d: Likewise. - -2004-11-17 Daniel Jacobowitz <dan@codesourcery.com> - - * gas/arm/mapping.d: Expect F markers for Thumb code. - * gas/arm/unwind.d: Update big-endian pattern. - -2004-11-12 Nick Clifton <nickc@redhat.com> - - * gas/mn10300/basic.exp: Add relax test. - * gas/mn10300/relax.s: New test. - * gas/mn10300/relax.d: Expected results. Make sure that the - correct size of instruction has been selected. - -2004-11-11 Bob Wilson <bob.wilson@acm.org> - - * gas/xtensa/short_branch_offset.s: New. - * gas/xtensa/short_branch_offset.d: New. - * gas/xtensa/all.exp: Run new test. - -2004-11-10 Alan Modra <amodra@bigpond.net.au> - - * gas/i386/opcode.s: Pad section. - * gas/i386/intelok.s: Likewise. - * gas/i386/opcode.d: Update. - * gas/i386/intelok.d: Update. - -2004-11-08 Inderpreet Singh <inderpreetb@nioda.hcltech.com> - Vineet Sharma <vineets@noida.hcltech.com> - - * gas/maxq10: New directory. Contains tests for maxq port. - * gas/maxq20: Likewise. - -2004-11-05 H.J. Lu <hongjiu.lu@intel.com> - - * gas/i386/general.s: Add movzb. - * gas/i386/general.l: Updated. - -2004-11-04 Hans-Peter Nilsson <hp@axis.com> - - * gas/all/gas.exp: Exclude float.s for crisv32-*-*. - * gas/cris/operand-err-1.s (test.m constant): Remove xfail marker - and update rationale. Mark "ba [external_symbol]" and "ba [r3]" - as invalid. - * gas/ieee-fp/x930509a.exp: setup_xfail for crisv32-*-*. - * gas/macros/macros.exp: setup_xfail strings for crisv32-*-*. - * gas/cris/abs32-1.s, gas/cris/arch-err-1.s, - gas/cris/arch-err-2.s, gas/cris/arch-err-3.s, - gas/cris/arch-err-4.s, gas/cris/arch-err-5.s, - gas/cris/bound-err-1.s, gas/cris/brokw-3b.s, - gas/cris/march-err-1.s, gas/cris/march-err-2.s, - gas/cris/push-err-1.s, gas/cris/push-err-2.s, - gas/cris/pushpopv32.s, gas/cris/rd-abs32-1.d, - gas/cris/rd-abs32-2.d, gas/cris/rd-arch-1.d, gas/cris/rd-arch-2.d, - gas/cris/rd-arch-3.d, gas/cris/rd-bkw1b.d, gas/cris/rd-bkw2b.d, - gas/cris/rd-bkw3b.d, gas/cris/rd-bound1.d, gas/cris/rd-bound1.s, - gas/cris/rd-bound2.d, gas/cris/rd-bound3.d, gas/cris/rd-bound4.d, - gas/cris/rd-break32.d, gas/cris/rd-ppv1032.d, gas/cris/rd-ppv32.d, - gas/cris/rd-spr-1.d, gas/cris/rd-spr-1.s, gas/cris/rd-usp-1.d, - gas/cris/rd-usp-1b.d, gas/cris/rd-v10_32o-1.d, - gas/cris/rd-v10_32o-2.d, gas/cris/rd-v10_32o-2.s, - gas/cris/rd-v32-b1.d, gas/cris/rd-v32-b1.s, gas/cris/rd-v32-b2.d, - gas/cris/rd-v32-b2.s, gas/cris/rd-v32-b3.d, gas/cris/rd-v32-b3.s, - gas/cris/rd-v32-f1.d, gas/cris/rd-v32-f1.s, gas/cris/rd-v32-i1.d, - gas/cris/rd-v32-i1.s, gas/cris/rd-v32-l1.d, gas/cris/rd-v32-l1.s, - gas/cris/rd-v32-l3.d, gas/cris/rd-v32-l3.s, gas/cris/rd-v32-l4.d, - gas/cris/rd-v32-l4.s, gas/cris/rd-v32o-1.d, gas/cris/rd-v32s-1.d, - gas/cris/rd-v32s-2.d, gas/cris/rd-v32s-2.s, gas/cris/rd-v32s-3.d, - gas/cris/rd-v32s-3.s, gas/cris/rd-v32s-4.d, gas/cris/rd-v32s-4.s, - gas/cris/rd-vao-1.d, gas/cris/v32-err-1.s, gas/cris/v32-err-10.s, - gas/cris/v32-err-11.s, gas/cris/v32-err-2.s, gas/cris/v32-err-3.s, - gas/cris/v32-err-4.s, gas/cris/v32-err-5.s, gas/cris/v32-err-6.s, - gas/cris/v32-err-7.s, gas/cris/v32-err-8.s, gas/cris/v32-err-9.s: - New tests. - -2004-11-04 Jan Beulich <jbeulich@novell.com> - - * gas/i386/i386.exp: Execute new tests intelbad and intelok. - * gas/i386/intelbad.[sl]: New test to check for various things not - permitted in Intel mode. - * gas/i386/intel.d, gas/i386/opcode.d, gas/i386/x86-64-opcode.d: - Adjust for change to segment register store. - * gas/i386/intelok.[sd]: New test to check various Intel mode specific - things get handled correctly. - * gas/i386/x86_64.[sd]: Remove unsupported constructs referring to - 'high' and 'low' parts of an operand, which the parser previously - accepted while neither telling that it's not supported nor that it - ignored the remainder of the line following these supposed keywords. - -2004-10-28 Tomer Levi <Tomer.Levi@nsc.com> - - * gas/crx/cop_insn.d: Regenerate (after a bug fix in Assembler). - -2004-10-27 Tomer Levi <Tomer.Levi@nsc.com> - - * gas/crx/cop_insn.s: Test new Co-Processor instruction 'cpi'. - * gas/crx/list_insn.s: Add hi/lo/u<N> registers tests, fix test bugs. - * gas/crx/cop_insn.d: Regenerate. - * gas/crx/list_insn.d: Likewise. - -2004-10-23 Daniel Jacobowitz <dan@debian.org> - - * gas/cfi/cfi-arm-1.d, gas/cfi/cfi-arm-1.s: New files. - * gas/cfi/cfi.exp: Run cfi-arm-1 test. - -2004-10-21 Tomer Levi <Tomer.Levi@nsc.com> - - * gas/crx/cop_insn.s: Reverse operands order in store co-processor - instructions. - * gas/crx/list_insn.s: Remove test for unsupported 'popa' instruction. - * gas/crx/cop_insn.d: Regenerate. - * gas/crx/list_insn.d: Likewise. - -2004-10-14 Paul Brook <paul@codesourcery.com> - - * gas/arm/mapping.d: Pass --special-syms to objdump. - -2004-10-08 Daniel Jacobowitz <dan@debian.org> - - * gas/i386/i386.exp: Don't run divide test for targets where '/' - is a comment. Run x86-64-unwind for 64-bit ELF targets. - * gas/i386/x86-64-unwind.d, gas/i386/x86-64-unwind.s: New. - -2004-10-08 Alan Modra <amodra@bigpond.net.au> - - * gas/cfi/cfi-common-4.d: Correct for 64 bit targets. - -2004-10-07 Bob Wilson <bob.wilson@acm.org> - - * gas/xtensa/all.exp: Adjust expected error message for j_too_far. - Change entry_align test to expect an error. - * gas/xtensa/entry_misalign2.s: Use no-transform instead of - no-generics directives. - -2004-10-07 Richard Sandiford <rsandifo@redhat.com> - - * gas/mips/elf-rel{23,24}.[sd]: New tests. - * gas/mips/mips.exp: New test. - -2004-10-07 Richard Sandiford <rsandifo@redhat.com> - - * gas/mips/elf-rel22.[sd]: New test. - * gas/mips/mips.exp: Run it. - -2004-10-07 Richard Sandiford <rsandifo@redhat.com> - - * gas/mips/elf-rel21.[sd]: New test. - * gas/mips/mips.exp: Run it. - -2004-10-07 Jan Beulich <jbeulich@novell.com> - - * gas/cfi/cfi-common-4.[ds]: New. - * gas/cfi/cfi.exp: Run new test. - -2004-10-07 Tomer Levi <Tomer.Levi@nsc.com> - - * gas/crx/cop_insn.s: New file. - * gas/crx/cop_insn.d: Likewise. - * gas/crx/load_stor_insn.s: Move Co-processor insns to a separate - test. - * gas/crx/misc_insn.s: Likewise. - * gas/crx/load_stor_insn.d: Regenerate. - * gas/crx/misc_insn.d: Likewise. - -2004-10-06 Aldy Hernandez <aldyh@redhat.com> - - * gas/ppc/e500.s: Add double-precision instructions. - * gas/ppc/e500.d: Same. - -2004-10-05 Paul Brook <paul@codesourcery.com> - - * gas/arm/arm.exp: Add unwind table test. Recognise - arm-symbian-symbianelf and arm-none-eabi. - * gas/arm/unwind.s: New file. - * gas/arm/unwind.d: New file. - -2004-10-01 Bill Farmer <Bill@the-farmers.freeserve.co.uk> - - * gas/pdp11/opcode.d: Fix sob opcode value. - -2004-09-30 Paul Brook <paul@codesourcery.com> - - * gas/arm/arch6zk.d: New file. - * gas/arm/arch6zk.s: New file. - * gas/arm/arm.exp: Add them. - -2004-09-29 Alan Modra <amodra@bigpond.net.au> - - * gas/i386/secrel.s: Pad .rdata out to 16 byte boundary. - * gas/i386/secrel.d: Adjust to suit. - -2004-09-19 Paul Brook <paul@codesourcery.com> - - * gas/elf/elf.exp: Recognise additional arm elf targets. - -2004-09-17 Paul Brook <paul@codesourcery.com> - - * gas/arm/pic.s: Add (target2). - * gas/arm/pic.d: Ditto. - -2004-09-13 Paul Brook <paul@codesourcery.com> - - * gas/arm/pic.d: Rename RELABS to TARGET1. - * gas/arm/pic.s: Ditto. - -2004-09-03 Tomer Levi <Tomer.Levi@nsc.com> - - * gas/crx: New directory. - * gas/crx/allinsn.exp: New test script. - * gas/crx/arith_insn.s: New file. - * gas/crx/arith_insn.d: Likewise. - * gas/crx/beq_insn.s: Likewise. - * gas/crx/beq_insn.d: Likewise. - * gas/crx/bit_insn.s: Likewise. - * gas/crx/bit_insn.d: Likewise. - * gas/crx/br_insn.s: Likewise. - * gas/crx/br_insn.d: Likewise. - * gas/crx/cmov_insn.s: Likewise. - * gas/crx/cmov_insn.d: Likewise. - * gas/crx/cmpbr_insn.s: Likewise. - * gas/crx/cmpbr_insn.d: Likewise. - * gas/crx/jscond_insn.s: Likewise. - * gas/crx/jscond_insn.d: Likewise. - * gas/crx/list_insn.s: Likewise. - * gas/crx/list_insn.d: Likewise. - * gas/crx/load_stor_insn.s: Likewise. - * gas/crx/load_stor_insn.d: Likewise. - * gas/crx/misc_insn.s: Likewise. - * gas/crx/misc_insn.d: Likewise. - * gas/crx/no_op_insn.s: Likewise. - * gas/crx/no_op_insn.d: Likewise. - * gas/crx/shift_insn.s: Likewise. - * gas/crx/shift_insn.d: Likewise. - -2004-08-27 Richard Sandiford <rsandifo@redhat.com> - - * gas/frv/fr550-pack1.[sd]: New test. - * gas/frv/allinsn.exp: Run it. - -2004-08-27 Nick Clifton <nickc@redhat.com> - - * gas/i386/i386.exp: Allow pcrel test for COFF targets as well, - but not for PE targets. Similarly for the absrel test. - -2004-08-26 Nick Clifton <nickc@redhat.com> - - * gas/i386/i386.exp: Group ELF specific tests together. Move the - pcrel test into the ELF only section. Use is_elf_format to test - for ELF based toolchains. - -2004-08-25 H.J. Lu <hongjiu.lu@intel.com> - - * gas/all/gas.exp: Use `string match ""' instead of `eq ""'. - -2004-08-24 Jan Beulich <jbeulich@novell.com> - - * gas/all/altmacro.[sd]: Split out part from here... - * gas/all/altmac2.[sd]: ... to here. - * gas/all/excl.s: New. - * gas/all/gas.exp: Suppress both tests for a few targets known to - break. Run the new (split out) test only when the target doesn't - use '!' as a comment character. - -2004-08-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> - - * gas/mips/branch-swap.s: New testcase. - * gas/mips/branch-swap.d: New testcase. - * gas/mips/mips.exp: Run the testcase. - -2004-08-18 Nick Clifton <nickc@redhat.com> - - * gas/macros/strings.s: Remove #NO_APP, accidentally committed as - part of another patch. - -2004-08-15 Nick Clifton <nickc@redhat.com> - - * gas/all/altmacro.d: Allow for rest of frag being padded to an - alignment boundary. - - * gas/arm/arm.exp: Run bignum test for ELF based targets only. - -2004-08-16 Alan Modra <amodra@bigpond.net.au> - - * gas/cfi/cfi-alpha-1.d: Adjust for readelf fix. - * gas/cfi/cfi-alpha-3.d: Likewise. - * gas/cfi/cfi-i386.d: Likewise. - * gas/cfi/cfi-m68k.d: Likewise. - * gas/cfi/cfi-ppc-1.d: Likewise. - * gas/cfi/cfi-s390-1.d: Likewise. - * gas/cfi/cfi-s390x-1.d: Likewise. - * gas/cfi/cfi-sh-1.d: Likewise. - * gas/cfi/cfi-sparc-1.d: Likewise. - * gas/cfi/cfi-sparc64-1.d: Likewise. - * gas/cfi/cfi-x86_64.d: Likewise. - -2004-08-13 Jan Beulich <jbeulich@novell.com> - - * gas/all/altmacro.[sd]: New test. - * gas/all/gas.exp: Run the new test. - -2004-08-10 Mark Mitchell <mark@codesourcery.com> - - * gas/arm/bignum1.s: New test. - * gas/arm/arm.exp: Run it. - -2004-08-06 Paul Brook <paul@codesourcery.com> - - * gas/arm/pic.s,d: Test RELABS and SBREL relocations. - -2004-08-05 Nitin Yewale <nitiny@kpitcummins.com> - - * h8300/h8300.exp: Addition of new test case to check rx - generation with adds and subs instruction for plain H8/300 target. - * h8300/addsubrxcheck.s: New test source file. - -2004-08-01 Stephane Carrez <stcarrez@nerim.fr> - - * gas/m68hc11/m68hc11.exp: Fix tests for 2.15 - * gas/elf/elf.exp: Test obj-elf for m6811-* and m6812-* - * gas/symver/symver.exp: Likewise for symver tests. - -2004-07-30 Michal Ludvig <mludvig@suse.cz> - - * gas/i386/padlock.s, gas/i386/padlock.d: New tests for - VIA PadLock instructions. - -2004-07-29 Kaz Kojima <kkojima@rr.iij4u.or.jp> - - * gas/sh/basic.exp: Don't do sh2a test for sh5. - * gas/sh/sh2a.d: Match elf32-sh* format too. - -2004-07-29 Alexandre Oliva <aoliva@redhat.com> - - 2003-12-30 DJ Delorie <dj@redhat.com> - * gas/sh/sh2a.s: New. - * gas/sh/sh2a.d: New. - * gas/sh/basic.exp: Add it. - -2004-07-27 Tomer Levi <Tomer.Levi@nsc.com> - - * gas/all/gas.exp (do_930509a): Disable test for crx. - -2004-07-22 H.J. Lu <hongjiu.lu@intel.com> - - * gas/i386/x86-64-inval.l: Remove the leading `+'. - -2004-07-22 Nick Clifton <nickc@redhat.com> - - PR/280 - * gas/h8300/ffxx1-coff.d: Remove duplicated raw insn values. - * gas/h8300/ffxx1-elf.d: Likewise. - * gas/h8300/h8sx_disp2.d: Likewise. - * gas/h8300/h8sx_mov_imm.d: Likewise. - * gas/h8300/h8sx_rtsl.d: Likewise. - * gas/h8300/ffxx1-coff.s: Remove inappropriate insn width specifier. - * gas/h8300/ffxx1-elf.s: Likewise. - -2004-07-21 Jan Beulich <jbeulich@novell.com> - - * gas/i386/x86-64-addr32.[ds]: New test for x86-64 32-bit - addressing in 64-bit mode. - * gas/i386/x86-64-rip.[ds]: New test for x86-64 rip-relative - addressing. - * gas/i386/i386.exp: Run the two new tests. - - * gas/cfi/cfi-x86_64.d: Adjust expectation for leave to not have a - rex prefix. - * gas/i386/x86-64-inval.[ls]: Add a bunch of instructions illegal - in 64-bit mode. - -2004-07-20 Maciej W. Rozycki <macro@linux-mips.org> - - * gas/mips/elf-rel19.d: Pass -march=mips1 to gas as the test - expects load delay slots. - -2004-07-20 Maciej W. Rozycki <macro@linux-mips.org> - - * gas/mips/vr5400.d: Update for a correct disassembly of - "racm.ob". - -2004-07-20 Maciej W. Rozycki <macro@linux-mips.org> - - * gas/mips/mips32.s: Adjust for the unified "break" syntax. Add - another "break" case. Update the comment accordingly. - * gas/mips/set-arch.s: Likewise. - * gas/mips/mips32.d: Adjust for the new output. - * gas/mips/set-arch.d: Likewise. - -2004-07-15 Nitin Yewale <nitiny@kpitcummins.com> - - * gas/h8300/h8300.exp (do_h8300hn_addressgen): Addition of - new test case for H8300H normal target to check symbol - address generation. - * gas/h8300/symaddgen.s: New test. - -2004-07-13 Nick Clifton <nickc@redhat.com> - - * gas/i386/intel.s: Add test of newly expand arithmetic support - for Intel mode assembler. - * gas/i386/intel.d: Add expected disassmbly. - -2004-07-13 Nick Clifton <nickc@redhat.com> - - * gas/vtable: Delete directory. These tests are no longer needed - as the VTABLE_ reloc support is obsolete. - -2004-07-08 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> - - * gas/m32r/pic.exp: Add New Test case for @GOTOFF, @GOT, @PLT. - * gas/m32r/pic2.s: New file: Test case for @GOTOFF, @GOT, @PLT. - * gas/m32r/pic2.d: New file: Expected results. - -2004-07-08 Richard Sandiford <rsandifo@redhat.com> - - * gas/mips/elf-rel7.d: Expect relocations against bar to refer to bar. - * gas/mips/elf-refl19.d: Likewise L2. - -2004-07-03 Richard Sandiford <rsandifo@redhat.com> - - * gas/mips/elf{,el}-rel.d: Adjust so that the earliest %hi() matches - the earliest %lo(). - * gas/mips/elf-rel11.d: Don't expect the relocs to be reordered. - * gas/mips/elf-rel20.[sd]: New test. - * gas/mips/mips.exp: Run it. - -2004-07-03 Maciej W. Rozycki <macro@linux-mips.org> - - * gas/mips/elf-rel9.[sd]: Fix typo in %lo() expression. - -2004-07-01 H.J. Lu <hongjiu.lu@intel.com> - - * gas/ia64/group-1.d: New. - * gas/ia64/group-1.s: Likewise. - - * gas/ia64/ia64.exp: Add group-1 to test comdat group. - -2004-06-30 James E Wilson <wilson@specifixinc.com> - - * gas/ia64/dv-imply.d: Update. - * gas/ia64/dv-mutex.d: Likewise. - * gas/ia64/dv-safe.d: Likewise. - -2004-06-29 Alan Modra <amodra@bigpond.net.au> - - * gas/m68k/mode5.s: Pad section. - * gas/m68k/mode5.d: Update. - -2004-06-28 Alan Modra <amodra@bigpond.net.au> - - * gas/ppc/power4.d: Update. - -2004-06-24 Alan Modra <amodra@bigpond.net.au> - - * gas/i386/prescott.s: Remove fisttpd and fisttpq. - * gas/i386/prescott.d: Update. - -2004-06-08 Jakub Jelinek <jakub@redhat.com> - - * gas/ia64/dv-raw-err.s: Add some new postinc tests. - * gas/ia64/dv-raw-err.l: Updated. - -2004-05-28 Peter Barada <peter@the-baradas.com> - - * gas/m68k/mode5.s: New test file. Checks conversion of mode 5 - addressing with zero offset into mode 2 addressing. - * gas/m68k/mode5.d: New file: Expected disassmbly. - * gas/m68k/all.exp: Run new test. - -2004-05-28 Andrew Stubbs <andrew.stubbs@superh.com> - - * gas/sh/arch: New directory. - * gas/sh/arch/arch.exp: New test script. - * gas/sh/arch/arch_expected.txt: New file. - * gas/sh/arch/sh.s: New file. - * gas/sh/arch/sh2.s: New file. - * gas/sh/arch/sh-dsp.s: New file. - * gas/sh/arch/sh2e.s: New file. - * gas/sh/arch/sh3-nommu.s: New file. - * gas/sh/arch/sh3.s: New file. - * gas/sh/arch/sh3-dsp.s: New file. - * gas/sh/arch/sh3e.s: New file. - * gas/sh/arch/sh4-nommu-nofpu.s: New file. - * gas/sh/arch/sh4-nofpu.s: New file. - * gas/sh/arch/sh4.s: New file. - * gas/sh/arch/sh4a-nofpu.s: New file. - * gas/sh/arch/sh4al-dsp.s: New file. - * gas/sh/arch/sh4a.s: New file. - -2004-05-27 H.J. Lu <hongjiu.lu@intel.com> - - * gas/ia64/regs.d: Updated. - -2004-05-26 H.J. Lu <hongjiu.lu@intel.com> - - * gas/ia64/ia64.exp: Run invalid-ar. - - * gas/ia64/invalid-ar.l: New file. Test invalid AR access. - * gas/ia64/invalid-ar.s: Likewise. - -2004-05-24 Peter Barada <peter@the-baradas.com> - - * gas/m68k/mcf-emac.d: Provide correct disassembler results. - * gas/m68k/mcf-mac.d: Provide correct disassembler results. - -2004-05-20 H.J. Lu <hongjiu.lu@intel.com> - - * gas/ia64/dv-srlz.d: Fix a typo. - -2004-05-12 Ben Elliston <bje@au.ibm.com> - - * gas/h8300/t03_add.exp: Remove stray semicolons. - * gas/h8300/t04_sub.exp: Likewise. - * gas/h8300/t05_cmp.exp: Likewise. - * gas/h8300/t08_or.exp: Likewise. - * gas/h8300/t09_xor.exp: Likewise. - * gas/h8300/t10_and.exp: Likewise. - * gas/hppa/reloc/reloc.exp: Likewise. - * gas/hppa/unsorted/unsorted.exp: Likewise. - * gas/i386/i386.exp: Likewise. - * gas/m68hc11/m68hc11.exp: Likewise. - * gas/mips/mips.exp: Likewise. - * gas/sparc/sparc.exp: Likewise. - * lib/gas-defs.exp: Likewise. - -2004-05-11 Nick Clifton <nickc@redhat.com> - - * gas/elf/section4.s: New test. Checks label arithmetic when - multiple same-name sections exist. - * gas/elf/section4.d: New file: Expected section list - * gas/elf/elf.exp: Run the new test. - * gas/elf/group0.s: Use % instead of @ for type argument to - .section directive (for compatability with ARM port). - * gas/elf/group1.s: Likewise. - -2004-05-07 Richard Sandiford <rsandifo@redhat.com> - - * gas/mips/vr4122.[sd]: Rename to... - * gas/mips/vr4120-2.[sd]: ...and add tests for VR4181A errata - MD(1) and MD(4). - * gas/mips/mips.exp: Update accordingly. - -2004-05-05 Alexandre Oliva <aoliva@redhat.com> - - * gas/frv/reloc1.d: Match elf32-frvfdpic as well. - * gas/frv/fr405-insn.d: Likewise. - * gas/frv/fr450-insn.d: Likewise. - -2004-04-30 H.J. Lu <hongjiu.lu@intel.com> - - * gas/elf/elf.exp: Remove group1, add group1a and group1b for - section group. - - * gas/elf/group1a.d: New file. - * gas/elf/group1b.d: Likewise. - - * gas/elf/group1.e: Removed. - -2004-04-30 Nick Clifton <nickc@redhat.com> - - * gas/arm/reg-alias.s: New file: Test case sensitive register - aliases. - * gas/arm/reg-alias.d: New file: Expected test output. - * gas/arm/arm.exp: Run reg-alias test. - Arrange tests in a more orderly fashion. - -2004-04-30 Ben Elliston <bje@au.ibm.com> - - * gas/ppc/power4.s: Add dcbz and dcbzl test cases. - * gas/ppc/power4.d: Update accordingly. - -2004-04-26 H.J. Lu <hongjiu.lu@intel.com> - - * gas/elf/elf.exp: Add group0a, group0b and group1 for section - group. - - * gas/elf/group0.s: New file. - * gas/elf/group0a.d: Likewise. - * gas/elf/group0b.d: Likewise. - * gas/elf/group1.e: Likewise. - * gas/elf/group1.s: Likewise. - -2004-04-23 Nick Clifton <nickc@redhat.com> - - * gas/symver/symver1.d: Cope with extra symbols inserted by - arm-elf toolchains. - * gas/symver/symver0.d: Likewise - * gas/elf/symver.d: Likewise. - -2004-04-22 Kaz Kojima <kkojima@rr.iij4u.or.jp> - - * gas/sh/pcrel2.d: Update. - * gas/sh/tlsd.d: Update. - * gas/sh/tlsnopic.d: Update. - * gas/sh/tlspic.d: Update. - -2004-04-22 Mark Kettenis <kettenis@gnu.org> - - * lib/gas-defs.exp (is_elf_format): Add OpenBSD support. - -2004-04-22 Atsushi Nemoto <anemo@mba.ocn.ne.jp> - - * gas/mips/lb-xgot-ilocks.d: Remove nops in load delay slot. - * gas/mips/mips-abi32-pic.d: Likewise. - * gas/mips/mips-abi32-pic2.d: Likewise. - * gas/mips/mips-gp32-fp32-pic.d: Likewise. - * gas/mips/mips-gp32-fp64-pic.d: Likewise. - * gas/mips/mips-gp64-fp32-pic.d: Likewise. - * gas/mips/mips-gp64-fp64-pic.d: Likewise. - * gas/mips/relax-swap1-mips2.d: Likewise. - * gas/mips/lb-svr4pic-ilocks.d: New test. - * gas/mips/mips.exp: Run it. - -2004-04-22 Paul Brook <paul@codesourcery.com> - - * maverick.c (off8s): Test full shifted operand range. - (MCC2): Define. - (MVDSPACC, MVACCDSP): Use it. - * maverick.d, maverick.s: Regenerate. - -2004-04-22 Peter Barada <peter@the-baradas.com> - - * gas/m68k/mcf-mac.s: New test: Check ColdFire MAC instructions. - * gas/m68k/mcf-emac.s: New test: Similar checks. - * gas/m68k/mcf-mac.d: New test: Expected output. - * gas/m68k/mcf-emac.d: New test: Likewise. - * gas/m68k/all.exp: Run new tests. - -2004-04-21 Chris Demetriou <cgd@broadcom.com> - - * gas/mips/elempic.d: File removed as part of -membedded-pic removal. - * gas/mips/empic.d: Likewise. - * gas/mips/empic.l: Likewise. - * gas/mips/empic.s: Likewise. - * gas/mips/empic2.d: Likewise. - * gas/mips/empic2.s: Likewise. - * gas/mips/empic3_e.d: Likewise. - * gas/mips/empic3_e.s: Likewise. - * gas/mips/empic3_g1.d: Likewise. - * gas/mips/empic3_g1.s: Likewise. - * gas/mips/empic3_g2.d: Likewise. - * gas/mips/empic3_g2.s: Likewise. - * gas/mips/jal-empic-elf-2.d: Likewise. - * gas/mips/jal-empic-elf-2.s: Likewise. - * gas/mips/jal-empic-elf-3.d: Likewise. - * gas/mips/jal-empic-elf-3.s: Likewise. - * gas/mips/jal-empic-elf.d: Likewise. - * gas/mips/jal-empic.d: Likewise. - * gas/mips/la-empic.d: Likewise. - * gas/mips/la-empic.s: Likewise. - * gas/mips/lb-empic.d: Likewise. - * gas/mips/ld-empic.d: Likewise. - * gas/mips/lif-empic.d: Likewise. - * gas/mips/telempic.d: Likewise. - * gas/mips/tempic.d: Likewise. - * gas/mips/ulh-empic.d: Likewise. - * gas/mips/ld-pic.s: Remove code conditional on EMPIC. - * gas/mips/lifloat.s: Likewise. - * gas/mips/mips.exp: Remove -membedded-pic tests and related comments. - -2004-04-20 Brian Ford <ford@vss.fsi.com> - DJ Delorie <dj@redhat.com> - - * gas/i386/secrel.s: New test for .secrel32. - * gas/i386/secrel.d: Likewise. - * gas/i386/i386.exp: Call it for PE targets. - -2004-04-19 Jakub Jelinek <jakub@redhat.com> - - * gas/cfi/cfi-sparc64-1.d: Update. - -2004-04-14 Richard Sandiford <rsandifo@redhat.com> - - * gas/mips/vr4122.[sd]: Change option to -mfix-vr4120. - -2004-04-14 Richard Sandiford <rsandifo@redhat.com> - - * gas/elf/section2.e-mips: Allow named section symbols. - * gas/mips/{,el}empic.d, gas/mips/mips{,el}16-[ef].d: Likewise. - -2004-04-13 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> - - * gas/m32r/parallel-2.s: New file: Test case for parallel code. - * gas/m32r/parallel-2.d: New file: Expected results. - * gas/m32r/m32r2.exp: Run the test. - - * gas/m32r/seth.s: New file: Test for seth. - * gas/m32r/seth.d: New file: Expected results. - * gas/m32r/m32r.exp: Run the new test. - -2004-04-01 Asgari Jinia <asgarij@kpitcummins.com> - - * gas/sh/renesas-1.s, gas/sh/renesas-1.d: New test for -renesas - option. - * gas/sh/basic.exp: Run the new test. - -2004-04-01 Dave Korn <dk@artimi.com> - - * gas/dlx/alltests.exp: Execute new lohi test. - * gas/dlx/lohi.s: New test for spurious lo16/hi16 - reloc overflow checking. - * gas/dlx/lohi.d: New file: expected output. - * gas/dlx/lhi.d: Updated to properly expect lo16 - relocations where asked for. - * gas/dlx/itype.d: Likewise. - * gas/dlx/lhi.d: Corrected cut+paste error in test name. - -2004-03-30 Stan Shebs <shebs@apple.com> - - * gas/macros/macros.exp: Remove mention of MPW config. - -2004-03-27 Alan Modra <amodra@bigpond.net.au> - - * gas/i860/dir-intel03-err.l: Update for junk at end line becoming - an error. - * gas/m68hc11/m68hc11.exp: Likewise. - -2004-03-23 Andreas Schwab <schwab@suse.de> - - * gas/cfi/cfi-m68k.d: Adjust offsets. - -2004-03-22 Hans-Peter Nilsson <hp@axis.com> - - * gas/cris/regreg.d: Assemble with --no-mul-bug-abort. - * gas/cris/mulbug-err-1.s, gas/cris/rd-mulbug-1.d: New tests. - -2004-03-17 Kaz Kojima <kkojima@rr.iij4u.or.jp> - - * gas/cfi/cfi-sh-1.d: New file. - * gas/cfi/cfi-sh-1.s: Likewise. - * gas/cfi/cfi.exp: Add SH case. - -2004-03-16 Alan Modra <amodra@bigpond.net.au> - - * gas/ppc/altivec.d: Update. - * gas/ppc/altivec_xcoff.d: Update. - * gas/ppc/altivec_xcoff64.d: Update. - * gas/ppc/astest.d: Update. - * gas/ppc/astest2.d: Update. - * gas/ppc/astest2_64.d: Update. - * gas/ppc/astest64.d: Update. - * gas/ppc/booke.d: Update. - * gas/ppc/booke_xcoff.d: Update. - * gas/ppc/booke_xcoff64.d: Update. - * gas/ppc/e500.d: Update. - * gas/ppc/power4.d: Update. - * gas/ppc/test1elf32.d: Update. - * gas/ppc/test1elf64.d: Update. - * gas/ppc/test1xcoff32.d: Update. - -2004-03-15 Alan Modra <amodra@bigpond.net.au> - - * gas/i386/padlock.s: Pad with .p2align. - * gas/i386/padlock.d: Adjust. - -2004-03-12 Michal Ludvig <mludvig@suse.cz> - - * gas/i386/padlock.s, gas/i386/padlock.d: New tests for - VIA PadLock instructions. - * gas/i386/i386.exp: Run padlock tests. - -2004-03-12 Alan Modra <amodra@bigpond.net.au> - - * gas/i386/katmai.d: Revert last change. - - * gas/i386/katmai.d: Adjust for clflush change. - -2004-03-08 Andreas Jaeger <aj@suse.de> - - * gas/cfi/cfi-s390x-1.d: Adjust offsets. - -2004-03-07 Richard Henderson <rth@redhat.com> - - * gas/cfi/cfi-common-2.d, gas/cfi/cfi-i386.d: Adjust offsets. - -2004-03-07 Andreas Jaeger <aj@suse.de> - - * gas/cfi/cfi-x86_64.d: Adjust offsets. - -2004-03-07 Richard Henderson <rth@redhat.com> - - * gas/alpha/elf-reloc-8.d, gas/cfi/cfi-alpha-1.d, - gas/cfi/cfi-alpha-2.d, gas/cfi/cfi-alpha-3.d, gas/cfi/cfi-common-1.d, - gas/cfi/cfi-common-2.d, gas/cfi/cfi-common-3.d: Adjust offsets. - -2004-03-03 Kaz Kojima <kkojima@rr.iij4u.or.jp> - - * gas/sh/sh64/err-dsp.s: Fix expected error message. - -2004-03-01 Richard Sandiford <rsandifo@redhat.com> - - * gas/frv/fr405-insn.[sdl]: New test. - * gas/frv/fr450-spr.[sd]: New test. - * gas/frv/fr450-insn.[sdl]: New test. - * gas/frv/fr450-media-issue.[sl]: New test. - * gas/frv/allinsn.exp: Run new tests. Ensure fr405 instructions - aren't accepted for -mcpu=fr400 or -mcpu=fr500. Ensure fr450 - instructions aren't accepted for -mcpu=fr400, -mcpu=fr405 or - -mcpu=fr500. - -2004-03-01 Richard Sandiford <rsandifo@redhat.com> - - * gas/frv/allinsn.s (rstb, rsth, rst, rstd, rstq): Replace with nops. - (rstbf, rsthf, rstf, rstdf, rstqf): Likewise. - * gas/frv/allinsn.d: Update accordingly. - -2004-02-17 Petko Manolov <petkan@nucleusys.com> - - * gas/arm/maverick.c: DSPSC to/from opcode fixes. - * gas/arm/maverick.d: Likewise. - * gas/arm/maverick.s: Likewise. - -2004-02-09 Kaz Kojima <kkojima@rr.iij4u.or.jp> - - * gas/sh/basic.exp: Don't do sh4a tests for sh5. - -2004-02-06 Nathan Sidwell <nathan@codesourcery.com> - - * gas/macros/test2.s: Lowercase it. - -2004-02-02 Maciej W. Rozycki <macro@ds2.pg.gda.pl> - - * gas/mips/div.d: Update to accomodate changes in macro - expansions. - gas/mips/elf-rel-got-n32.d: Likewise. - gas/mips/elf-rel-got-n64.d: Likewise. - gas/mips/elf-rel-xgot-n32.d: Likewise. - gas/mips/elf-rel-xgot-n64.d: Likewise. - gas/mips/la-svr4pic.d: Likewise. - gas/mips/la-xgot.d: Likewise. - gas/mips/lca-svr4pic.d: Likewise. - gas/mips/lca-xgot.d: Likewise. - -2004-02-01 Kaz Kojima <kkojima@rr.iij4u.or.jp> - - * gas/sh/sh4a-fp.d: Fix opcode name fssra to fsrra. - * gas/sh/sh4a-fp.s: Likewise. - * gas/sh/err-sh4a-fp.s: Likewise. - -2004-01-24 Chris Demetriou <cgd@broadcom.com> - - * gas/mips/relax-swap1.s: Add extra space at end, so the - disassembly will consistently have "..." at its end. - * gas/mips/relax-swap2.s: Likewise. - * gas/mips/relax-swap1-mips2.d: Expect "..." at end of disassembly. - -2004-01-23 Daniel Jacobowitz <drow@mvista.com> - - * gas/arm/arm.exp: Add "undefined" test. - * gas/arm/undefined.s, gas/arm/undefined.l: New files. - -2004-01-23 Richard Sandiford <rsandifo@redhat.com> - - * gas/mips/macro-warn-[1234].[sdl]: New tests. - * gas/mips/macro-warn-[12]-n32.[dl]: New tests. - * gas/mips/mips.exp: Run them. - -2004-01-23 Richard Sandiford <rsandifo@redhat.com> - - * gas/mips/elf-rel19.[sd]: New test. - * gas/mips/mips.exp: Run it. - -2004-01-11 Tom Rix <tcrix@worldnet.att.net> - - * gas/m68hc11/movb.s: Add m68hc12 movb and movw dump test. - * gas/m68hc11/movb.d: Likewise. - * gas/m68hc11/m68hc11.exp: Likewise. Add more movb failure tests. - -2004-01-19 Alan Modra <amodra@bigpond.net.au> - - * gas/i386/katmai.d: Adjust for changed sib printing. - * gas/i386/prescott.d: Likewise. - * gas/i386/sse2.d: Likewise. - * gas/i386/ssemmx2.d: Likewise. - -2004-01-16 Alexandre Oliva <aoliva@redhat.com> - - * gas/mn10300/mov5.s: New. - * gas/mn10300/basic.exp (do_mov5): New. - -2004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl> - - * gas/mips/relax-swap1-mips1.d: New test for branch relaxation - with swapping for MIPS1. - * gas/mips/relax-swap1-mips2.d: New test for branch relaxation - with swapping for MIPS2. - * gas/mips/relax-swap1.l: Stderr output for the new tests. - * gas/mips/relax-swap1.s: Source for the new tests. - * gas/mips/relax-swap2.d: New test for branch likely relaxation - with swapping. - * gas/mips/relax-swap2.l: Stderr output for the new test. - * gas/mips/relax-swap2.s: Source for the new test. - * gas/mips/mips.exp: Run the new tests. - -2004-01-13 Ian Lance Taylor <ian@wasabisystems.com> - - * gas/mips/mips16-64.d: New test. - * gas/mips/mips.exp: Run it. - -2004-01-12 Richard Sandiford <rsandifo@redhat.com> - - * gas/mips/elf-rel18.[sd]: New test. - * gas/mips/mips.exp: Run it. - -2004-01-09 Paul Brook <paul@codesourcery.com> - - * gas/arm/vfp2.s, gas/arm/vfp2.d: New test. - * gas/arm/arm.exp: Add them. - -2004-01-08 Ian Lance Taylor <ian@wasabisystems.com> - - * gas/mips/ldstla-n64.d: Pass -64 to assembler, not -n64. - * gas/mips/ldstla-n64-shared.d: Likewise. - -2004-01-07 Nick Clifton <nickc@redhat.com> - - * gas/cris/rd-dw2-1.d: Expect a pointer size from readelf. - -2004-01-06 Alexandre Oliva <aoliva@redhat.com> - - 2003-11-05 Alexandre Oliva <aoliva@redhat.com> - * lib/gas-defs.exp (is_elf_format): Match frv-uclinux. - 2003-09-18 Alexandre Oliva <aoliva@redhat.com> - * gas/frv/fdpic.s, gas/frv/fdpic.d: Renamed from ucpic*. - 2003-09-15 Alexandre Oliva <aoliva@redhat.com> - * gas/frv/ucpic.s, gas/frv/ucpic.d: Use gr15 as PIC register. Use - gprel12 for rodata symbol and gotoff12 for sdata symbol. - 2003-08-08 Alexandre Oliva <aoliva@redhat.com> - * gas/frv/ucpic.d: Test gotoff and gotofffuncdesc. - 2003-08-04 Alexandre Oliva <aoliva@redhat.com> - * gas/frv/ucpic.d, gas/frv/ucpic.s: New. - * gas/frv/allinsns.exp: Run it. - -2004-01-02 Albert Bartoszko <albar@nt.kegel.com.pl> - - * gas/msp430/opcode.s: Add test for an 'add' instruction which - looks similar to an 'rla' instruction. - -For older changes see ChangeLog-9303 +For older changes see ChangeLog-2005 Local Variables: mode: change-log diff --git a/gas/testsuite/ChangeLog-2004 b/gas/testsuite/ChangeLog-2004 new file mode 100644 index 0000000..122809b --- /dev/null +++ b/gas/testsuite/ChangeLog-2004 @@ -0,0 +1,1156 @@ +2004-12-31 Alan Modra <amodra@bigpond.net.au> + + * gas/elf/elf.exp: Don't list reloc sections. + * gas/elf/section5.e: Remove reloc sections. + +2004-12-21 Tomer Levi <Tomer.Levi@nsc.com> + + * gas/crx/beq_insn.d: Update reference file according to + disassembler printing method. + * gas/crx/bit_insn.d: Likewise. + * gas/crx/br_insn.d: Likewise. + * gas/crx/cmpbr_insn.d: Likewise. + * gas/crx/cop_insn.d: Likewise. + * gas/crx/load_stor_insn.d: Likewise. + +2004-12-21 Hans-Peter Nilsson <hp@axis.com> + + * gas/elf/section5.e, gas/elf/section5.l: Replace [:digit:], + [:xdigit:] and {N} in regexps with [0-9], [0-9a-fA-F] and N + copies, to cater to tcl versions before Tcl 8.2.3. + +2004-12-20 Nick Clifton <nickc@redhat.com> + + * gas/elf/section5.[ls]: Use % instead of @ in .section + directives. + +2004-12-16 Richard Sandiford <rsandifo@redhat.com> + + * gas/v850/split-lo16.{s,d}: New test. + * gas/v850/v850.exp: Run it. + +2004-12-15 Jan Beulich <jbeulich@novell.com> + + * gas/elf/section5.[els]: New. + +2004-12-13 Richard Sandiford <rsandifo@redhat.com> + + * gas/mips/elf-rel25.d, gas/mips/elf-rel25a.d: Cope with different + .text alignments. + +2004-12-11 Alan Modra <amodra@bigpond.net.au> + + * gas/alpha/elf-usepv-1.d: Update for changed section syms. + * gas/arm/mapping.d: Likewise. + * gas/mips/tmips16-e.d: Likewise. + * gas/mips/tmips16-f.d: Likewise. + * gas/mmix/align-1.d: Likewise. + * gas/mmix/basep-10.d: Likewise. + * gas/mmix/basep-11.d: Likewise. + * gas/mmix/basep-7.d: Likewise. + * gas/mmix/basep-8.d: Likewise. + * gas/mmix/basep-9.d: Likewise. + * gas/mmix/builtin1.d: Likewise. + * gas/mmix/builtin2.d: Likewise. + * gas/mmix/builtin3.d: Likewise. + * gas/mmix/bz-c.d: Likewise. + * gas/mmix/comment-2.d: Likewise. + * gas/mmix/comment-3.d: Likewise. + * gas/mmix/cons-2.d: Likewise. + * gas/mmix/fb-1.d: Likewise. + * gas/mmix/fb-2.d: Likewise. + * gas/mmix/geta-c.d: Likewise. + * gas/mmix/greg1.d: Likewise. + * gas/mmix/greg1a.d: Likewise. + * gas/mmix/greg2.d: Likewise. + * gas/mmix/greg2a.d: Likewise. + * gas/mmix/greg3.d: Likewise. + * gas/mmix/greg4.d: Likewise. + * gas/mmix/greg5.d: Likewise. + * gas/mmix/greg6.d: Likewise. + * gas/mmix/greg7.d: Likewise. + * gas/mmix/greg8.d: Likewise. + * gas/mmix/is-1.d: Likewise. + * gas/mmix/jump-c.d: Likewise. + * gas/mmix/local-1.d: Likewise. + * gas/mmix/locall1.d: Likewise. + * gas/mmix/odd-1.d: Likewise. + * gas/mmix/op-0-1.d: Likewise. + * gas/mmix/op-0-1s.d: Likewise. + * gas/mmix/op-0-2.d: Likewise. + * gas/mmix/prefix1.d: Likewise. + * gas/mmix/prefix2.d: Likewise. + * gas/mmix/prefix3.d: Likewise. + * gas/mmix/pseudo-1.d: Likewise. + * gas/mmix/pushj-c.d: Likewise. + * gas/mmix/pushj-cs.d: Likewise. + * gas/mmix/sym-1.d: Likewise. + * gas/mmix/weak1-s.d: Likewise. + * gas/mmix/weak1.d: Likewise. + * gas/mmix/zerop-1.d: Likewise. + * gas/ppc/power4.d: Likewise. + * gas/ppc/test1elf32.d: Likewise. + * gas/ppc/test1elf64.d: Likewise. + * gas/sh/sh64/datal32-3.d: Likewise. + * gas/sh/sh64/datal64-3.d: Likewise. + * gas/sh/sh64/localcom-1.d: Likewise. + +2004-12-10 Ian Lance Taylor <ian@wasabisystems.com> + + * gas/mips/elf-rel23a.d: New test. + * gas/mips/elf-rel23b.d: New test. + * gas/mips/elf-rel25.s: New test. + * gas/mips/elf-rel25.d: New test. + * gas/mips/elf-rel25a.d: New test. + * gas/mips/mips.exp: Run new tests. + +2004-12-09 Paul Brook <paul@codesourcery.com> + + * gas/arm/unwind.d: Expect R_ARM_PREL31 relocations. + +2004-12-09 Ian Lance Taylor <ian@wasabisystems.com> + + * gas/mips/branch-swap.d: Pass -32 to as. + +2004-11-29 Tomer Levi <Tomer.Levi@nsc.com> + + * gas/crx/br_insn.d: Fix error in expected disassembly. + +2004-11-29 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> + + * gas/m32r/rela-1.s: New test. + * gas/m32r/rela-1.d: Expected disassembly. + * gas/m32r/m32r.exp: Run the new test. + * gas/m32r/relax-1.d: Update for fixed pcrel reloc + generation. + +2004-11-27 Richard Earnshaw <rearnsha@arm.com> + + * gas/arm/thumbv6.d (setend): Remove stray tab at end + of dump pattern. + +2004-11-25 H.J. Lu <hongjiu.lu@intel.com> + + * gas/ia64/group-1.d: Adjust expected secion ordering. + +2004-11-25 Jan Beulich <jbeulich@novell.com> + + * gas/i386/x86-64-inval.[sl]: Remove sahf/lahf. + +2004-11-24 Paul Brook <paul@codesourcery.com> + + * gas/elf/group0a.d: Adjust expected secion ordering. + * gas/elf/group1a.d: Ditto. + * gas/elf/section4.d: Ditto. + +2004-11-24 Nick Clifton <nickc@redhat.com> + + * gas/iq2000/allinsn.exp: Remove IQ10 tests. + * gas/iq2000/q10allinsn.d: Delete. + * gas/iq2000/q10allinsn.s: Delete. + * gas/iq2000/q10hazard4.s: Delete. + * gas/iq2000/q10hazard5.s: Delete. + * gas/iq2000/q10load-hazards.exp: Delete. + * gas/iq2000/q10nohazard.s: Delete. + * gas/iq2000/q10noyield.s: Delete. + * gas/iq2000/q10test0.d: Delete. + * gas/iq2000/q10test0.s: Delete. + * gas/iq2000/q10test1.d: Delete. + * gas/iq2000/q10test1.s: Delete. + * gas/iq2000/q10test10.d: Delete. + * gas/iq2000/q10test10.s: Delete. + * gas/iq2000/q10test11.d: Delete. + * gas/iq2000/q10test11.s: Delete. + * gas/iq2000/q10test12.d: Delete. + * gas/iq2000/q10test12.s: Delete. + * gas/iq2000/q10test2.d: Delete. + * gas/iq2000/q10test2.s: Delete. + * gas/iq2000/q10test3.d: Delete. + * gas/iq2000/q10test3.s: Delete. + * gas/iq2000/q10test4.d: Delete. + * gas/iq2000/q10test4.s: Delete. + * gas/iq2000/q10test5.d: Delete. + * gas/iq2000/q10test5.s: Delete. + * gas/iq2000/q10test6.d: Delete. + * gas/iq2000/q10test6.s: Delete. + * gas/iq2000/q10test7.d: Delete. + * gas/iq2000/q10test7.s: Delete. + * gas/iq2000/q10test8.d: Delete. + * gas/iq2000/q10test8.s: Delete. + * gas/iq2000/q10test9.d: Delete. + * gas/iq2000/q10test9.s: Delete. + * gas/iq2000/q10yield.exp: Delete. + * gas/iq2000/test.exp: Delete. + +2004-11-24 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com> + + * gas/arc/st.s: Add checks for other variants of the sr and st + instruction. + * gas/arc/st.d: Update the expected disassembly. + +2004-11-23 Nick Clifton <nickc@redhat.com> + + * gas/mn10300/relax.s: Add further tests of the relaxing of branch + instructions. + * gas/mn10300/relax.d: Add expected relocations. + +2004-11-22 Ravi Ramaseshan <ravi.ramaseshan@codito.com> + + * gas/arc/ld.s: Add check of load of a long immediate. + * gas/arc/ld.d: Add expected disassembly. + +2004-11-22 Hans-Peter Nilsson <hp@axis.com> + + * gas/all/gas.exp: Run dg-runtest for all err-*.s and warn-*.s. + * gas/all/err-1.s, gas/all/warn-1.s: New tests. + +2004-11-18 Inderpreet Singh <inderpreetb@nioda.hcltech.com> + + * gas/maxq10/call.d: Fix expected results now that bfd assembler + support is enabled by default. + * gas/maxq10/range.d: Likewise. + * gas/maxq20/call.d: Likewise. + +2004-11-17 Daniel Jacobowitz <dan@codesourcery.com> + + * gas/arm/mapping.d: Expect F markers for Thumb code. + * gas/arm/unwind.d: Update big-endian pattern. + +2004-11-12 Nick Clifton <nickc@redhat.com> + + * gas/mn10300/basic.exp: Add relax test. + * gas/mn10300/relax.s: New test. + * gas/mn10300/relax.d: Expected results. Make sure that the + correct size of instruction has been selected. + +2004-11-11 Bob Wilson <bob.wilson@acm.org> + + * gas/xtensa/short_branch_offset.s: New. + * gas/xtensa/short_branch_offset.d: New. + * gas/xtensa/all.exp: Run new test. + +2004-11-10 Alan Modra <amodra@bigpond.net.au> + + * gas/i386/opcode.s: Pad section. + * gas/i386/intelok.s: Likewise. + * gas/i386/opcode.d: Update. + * gas/i386/intelok.d: Update. + +2004-11-08 Inderpreet Singh <inderpreetb@nioda.hcltech.com> + Vineet Sharma <vineets@noida.hcltech.com> + + * gas/maxq10: New directory. Contains tests for maxq port. + * gas/maxq20: Likewise. + +2004-11-05 H.J. Lu <hongjiu.lu@intel.com> + + * gas/i386/general.s: Add movzb. + * gas/i386/general.l: Updated. + +2004-11-04 Hans-Peter Nilsson <hp@axis.com> + + * gas/all/gas.exp: Exclude float.s for crisv32-*-*. + * gas/cris/operand-err-1.s (test.m constant): Remove xfail marker + and update rationale. Mark "ba [external_symbol]" and "ba [r3]" + as invalid. + * gas/ieee-fp/x930509a.exp: setup_xfail for crisv32-*-*. + * gas/macros/macros.exp: setup_xfail strings for crisv32-*-*. + * gas/cris/abs32-1.s, gas/cris/arch-err-1.s, + gas/cris/arch-err-2.s, gas/cris/arch-err-3.s, + gas/cris/arch-err-4.s, gas/cris/arch-err-5.s, + gas/cris/bound-err-1.s, gas/cris/brokw-3b.s, + gas/cris/march-err-1.s, gas/cris/march-err-2.s, + gas/cris/push-err-1.s, gas/cris/push-err-2.s, + gas/cris/pushpopv32.s, gas/cris/rd-abs32-1.d, + gas/cris/rd-abs32-2.d, gas/cris/rd-arch-1.d, gas/cris/rd-arch-2.d, + gas/cris/rd-arch-3.d, gas/cris/rd-bkw1b.d, gas/cris/rd-bkw2b.d, + gas/cris/rd-bkw3b.d, gas/cris/rd-bound1.d, gas/cris/rd-bound1.s, + gas/cris/rd-bound2.d, gas/cris/rd-bound3.d, gas/cris/rd-bound4.d, + gas/cris/rd-break32.d, gas/cris/rd-ppv1032.d, gas/cris/rd-ppv32.d, + gas/cris/rd-spr-1.d, gas/cris/rd-spr-1.s, gas/cris/rd-usp-1.d, + gas/cris/rd-usp-1b.d, gas/cris/rd-v10_32o-1.d, + gas/cris/rd-v10_32o-2.d, gas/cris/rd-v10_32o-2.s, + gas/cris/rd-v32-b1.d, gas/cris/rd-v32-b1.s, gas/cris/rd-v32-b2.d, + gas/cris/rd-v32-b2.s, gas/cris/rd-v32-b3.d, gas/cris/rd-v32-b3.s, + gas/cris/rd-v32-f1.d, gas/cris/rd-v32-f1.s, gas/cris/rd-v32-i1.d, + gas/cris/rd-v32-i1.s, gas/cris/rd-v32-l1.d, gas/cris/rd-v32-l1.s, + gas/cris/rd-v32-l3.d, gas/cris/rd-v32-l3.s, gas/cris/rd-v32-l4.d, + gas/cris/rd-v32-l4.s, gas/cris/rd-v32o-1.d, gas/cris/rd-v32s-1.d, + gas/cris/rd-v32s-2.d, gas/cris/rd-v32s-2.s, gas/cris/rd-v32s-3.d, + gas/cris/rd-v32s-3.s, gas/cris/rd-v32s-4.d, gas/cris/rd-v32s-4.s, + gas/cris/rd-vao-1.d, gas/cris/v32-err-1.s, gas/cris/v32-err-10.s, + gas/cris/v32-err-11.s, gas/cris/v32-err-2.s, gas/cris/v32-err-3.s, + gas/cris/v32-err-4.s, gas/cris/v32-err-5.s, gas/cris/v32-err-6.s, + gas/cris/v32-err-7.s, gas/cris/v32-err-8.s, gas/cris/v32-err-9.s: + New tests. + +2004-11-04 Jan Beulich <jbeulich@novell.com> + + * gas/i386/i386.exp: Execute new tests intelbad and intelok. + * gas/i386/intelbad.[sl]: New test to check for various things not + permitted in Intel mode. + * gas/i386/intel.d, gas/i386/opcode.d, gas/i386/x86-64-opcode.d: + Adjust for change to segment register store. + * gas/i386/intelok.[sd]: New test to check various Intel mode specific + things get handled correctly. + * gas/i386/x86_64.[sd]: Remove unsupported constructs referring to + 'high' and 'low' parts of an operand, which the parser previously + accepted while neither telling that it's not supported nor that it + ignored the remainder of the line following these supposed keywords. + +2004-10-28 Tomer Levi <Tomer.Levi@nsc.com> + + * gas/crx/cop_insn.d: Regenerate (after a bug fix in Assembler). + +2004-10-27 Tomer Levi <Tomer.Levi@nsc.com> + + * gas/crx/cop_insn.s: Test new Co-Processor instruction 'cpi'. + * gas/crx/list_insn.s: Add hi/lo/u<N> registers tests, fix test bugs. + * gas/crx/cop_insn.d: Regenerate. + * gas/crx/list_insn.d: Likewise. + +2004-10-23 Daniel Jacobowitz <dan@debian.org> + + * gas/cfi/cfi-arm-1.d, gas/cfi/cfi-arm-1.s: New files. + * gas/cfi/cfi.exp: Run cfi-arm-1 test. + +2004-10-21 Tomer Levi <Tomer.Levi@nsc.com> + + * gas/crx/cop_insn.s: Reverse operands order in store co-processor + instructions. + * gas/crx/list_insn.s: Remove test for unsupported 'popa' instruction. + * gas/crx/cop_insn.d: Regenerate. + * gas/crx/list_insn.d: Likewise. + +2004-10-14 Paul Brook <paul@codesourcery.com> + + * gas/arm/mapping.d: Pass --special-syms to objdump. + +2004-10-08 Daniel Jacobowitz <dan@debian.org> + + * gas/i386/i386.exp: Don't run divide test for targets where '/' + is a comment. Run x86-64-unwind for 64-bit ELF targets. + * gas/i386/x86-64-unwind.d, gas/i386/x86-64-unwind.s: New. + +2004-10-08 Alan Modra <amodra@bigpond.net.au> + + * gas/cfi/cfi-common-4.d: Correct for 64 bit targets. + +2004-10-07 Bob Wilson <bob.wilson@acm.org> + + * gas/xtensa/all.exp: Adjust expected error message for j_too_far. + Change entry_align test to expect an error. + * gas/xtensa/entry_misalign2.s: Use no-transform instead of + no-generics directives. + +2004-10-07 Richard Sandiford <rsandifo@redhat.com> + + * gas/mips/elf-rel{23,24}.[sd]: New tests. + * gas/mips/mips.exp: New test. + +2004-10-07 Richard Sandiford <rsandifo@redhat.com> + + * gas/mips/elf-rel22.[sd]: New test. + * gas/mips/mips.exp: Run it. + +2004-10-07 Richard Sandiford <rsandifo@redhat.com> + + * gas/mips/elf-rel21.[sd]: New test. + * gas/mips/mips.exp: Run it. + +2004-10-07 Jan Beulich <jbeulich@novell.com> + + * gas/cfi/cfi-common-4.[ds]: New. + * gas/cfi/cfi.exp: Run new test. + +2004-10-07 Tomer Levi <Tomer.Levi@nsc.com> + + * gas/crx/cop_insn.s: New file. + * gas/crx/cop_insn.d: Likewise. + * gas/crx/load_stor_insn.s: Move Co-processor insns to a separate + test. + * gas/crx/misc_insn.s: Likewise. + * gas/crx/load_stor_insn.d: Regenerate. + * gas/crx/misc_insn.d: Likewise. + +2004-10-06 Aldy Hernandez <aldyh@redhat.com> + + * gas/ppc/e500.s: Add double-precision instructions. + * gas/ppc/e500.d: Same. + +2004-10-05 Paul Brook <paul@codesourcery.com> + + * gas/arm/arm.exp: Add unwind table test. Recognise + arm-symbian-symbianelf and arm-none-eabi. + * gas/arm/unwind.s: New file. + * gas/arm/unwind.d: New file. + +2004-10-01 Bill Farmer <Bill@the-farmers.freeserve.co.uk> + + * gas/pdp11/opcode.d: Fix sob opcode value. + +2004-09-30 Paul Brook <paul@codesourcery.com> + + * gas/arm/arch6zk.d: New file. + * gas/arm/arch6zk.s: New file. + * gas/arm/arm.exp: Add them. + +2004-09-29 Alan Modra <amodra@bigpond.net.au> + + * gas/i386/secrel.s: Pad .rdata out to 16 byte boundary. + * gas/i386/secrel.d: Adjust to suit. + +2004-09-19 Paul Brook <paul@codesourcery.com> + + * gas/elf/elf.exp: Recognise additional arm elf targets. + +2004-09-17 Paul Brook <paul@codesourcery.com> + + * gas/arm/pic.s: Add (target2). + * gas/arm/pic.d: Ditto. + +2004-09-13 Paul Brook <paul@codesourcery.com> + + * gas/arm/pic.d: Rename RELABS to TARGET1. + * gas/arm/pic.s: Ditto. + +2004-09-03 Tomer Levi <Tomer.Levi@nsc.com> + + * gas/crx: New directory. + * gas/crx/allinsn.exp: New test script. + * gas/crx/arith_insn.s: New file. + * gas/crx/arith_insn.d: Likewise. + * gas/crx/beq_insn.s: Likewise. + * gas/crx/beq_insn.d: Likewise. + * gas/crx/bit_insn.s: Likewise. + * gas/crx/bit_insn.d: Likewise. + * gas/crx/br_insn.s: Likewise. + * gas/crx/br_insn.d: Likewise. + * gas/crx/cmov_insn.s: Likewise. + * gas/crx/cmov_insn.d: Likewise. + * gas/crx/cmpbr_insn.s: Likewise. + * gas/crx/cmpbr_insn.d: Likewise. + * gas/crx/jscond_insn.s: Likewise. + * gas/crx/jscond_insn.d: Likewise. + * gas/crx/list_insn.s: Likewise. + * gas/crx/list_insn.d: Likewise. + * gas/crx/load_stor_insn.s: Likewise. + * gas/crx/load_stor_insn.d: Likewise. + * gas/crx/misc_insn.s: Likewise. + * gas/crx/misc_insn.d: Likewise. + * gas/crx/no_op_insn.s: Likewise. + * gas/crx/no_op_insn.d: Likewise. + * gas/crx/shift_insn.s: Likewise. + * gas/crx/shift_insn.d: Likewise. + +2004-08-27 Richard Sandiford <rsandifo@redhat.com> + + * gas/frv/fr550-pack1.[sd]: New test. + * gas/frv/allinsn.exp: Run it. + +2004-08-27 Nick Clifton <nickc@redhat.com> + + * gas/i386/i386.exp: Allow pcrel test for COFF targets as well, + but not for PE targets. Similarly for the absrel test. + +2004-08-26 Nick Clifton <nickc@redhat.com> + + * gas/i386/i386.exp: Group ELF specific tests together. Move the + pcrel test into the ELF only section. Use is_elf_format to test + for ELF based toolchains. + +2004-08-25 H.J. Lu <hongjiu.lu@intel.com> + + * gas/all/gas.exp: Use `string match ""' instead of `eq ""'. + +2004-08-24 Jan Beulich <jbeulich@novell.com> + + * gas/all/altmacro.[sd]: Split out part from here... + * gas/all/altmac2.[sd]: ... to here. + * gas/all/excl.s: New. + * gas/all/gas.exp: Suppress both tests for a few targets known to + break. Run the new (split out) test only when the target doesn't + use '!' as a comment character. + +2004-08-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> + + * gas/mips/branch-swap.s: New testcase. + * gas/mips/branch-swap.d: New testcase. + * gas/mips/mips.exp: Run the testcase. + +2004-08-18 Nick Clifton <nickc@redhat.com> + + * gas/macros/strings.s: Remove #NO_APP, accidentally committed as + part of another patch. + +2004-08-15 Nick Clifton <nickc@redhat.com> + + * gas/all/altmacro.d: Allow for rest of frag being padded to an + alignment boundary. + + * gas/arm/arm.exp: Run bignum test for ELF based targets only. + +2004-08-16 Alan Modra <amodra@bigpond.net.au> + + * gas/cfi/cfi-alpha-1.d: Adjust for readelf fix. + * gas/cfi/cfi-alpha-3.d: Likewise. + * gas/cfi/cfi-i386.d: Likewise. + * gas/cfi/cfi-m68k.d: Likewise. + * gas/cfi/cfi-ppc-1.d: Likewise. + * gas/cfi/cfi-s390-1.d: Likewise. + * gas/cfi/cfi-s390x-1.d: Likewise. + * gas/cfi/cfi-sh-1.d: Likewise. + * gas/cfi/cfi-sparc-1.d: Likewise. + * gas/cfi/cfi-sparc64-1.d: Likewise. + * gas/cfi/cfi-x86_64.d: Likewise. + +2004-08-13 Jan Beulich <jbeulich@novell.com> + + * gas/all/altmacro.[sd]: New test. + * gas/all/gas.exp: Run the new test. + +2004-08-10 Mark Mitchell <mark@codesourcery.com> + + * gas/arm/bignum1.s: New test. + * gas/arm/arm.exp: Run it. + +2004-08-06 Paul Brook <paul@codesourcery.com> + + * gas/arm/pic.s,d: Test RELABS and SBREL relocations. + +2004-08-05 Nitin Yewale <nitiny@kpitcummins.com> + + * h8300/h8300.exp: Addition of new test case to check rx + generation with adds and subs instruction for plain H8/300 target. + * h8300/addsubrxcheck.s: New test source file. + +2004-08-01 Stephane Carrez <stcarrez@nerim.fr> + + * gas/m68hc11/m68hc11.exp: Fix tests for 2.15 + * gas/elf/elf.exp: Test obj-elf for m6811-* and m6812-* + * gas/symver/symver.exp: Likewise for symver tests. + +2004-07-30 Michal Ludvig <mludvig@suse.cz> + + * gas/i386/padlock.s, gas/i386/padlock.d: New tests for + VIA PadLock instructions. + +2004-07-29 Kaz Kojima <kkojima@rr.iij4u.or.jp> + + * gas/sh/basic.exp: Don't do sh2a test for sh5. + * gas/sh/sh2a.d: Match elf32-sh* format too. + +2004-07-29 Alexandre Oliva <aoliva@redhat.com> + + 2003-12-30 DJ Delorie <dj@redhat.com> + * gas/sh/sh2a.s: New. + * gas/sh/sh2a.d: New. + * gas/sh/basic.exp: Add it. + +2004-07-27 Tomer Levi <Tomer.Levi@nsc.com> + + * gas/all/gas.exp (do_930509a): Disable test for crx. + +2004-07-22 H.J. Lu <hongjiu.lu@intel.com> + + * gas/i386/x86-64-inval.l: Remove the leading `+'. + +2004-07-22 Nick Clifton <nickc@redhat.com> + + PR/280 + * gas/h8300/ffxx1-coff.d: Remove duplicated raw insn values. + * gas/h8300/ffxx1-elf.d: Likewise. + * gas/h8300/h8sx_disp2.d: Likewise. + * gas/h8300/h8sx_mov_imm.d: Likewise. + * gas/h8300/h8sx_rtsl.d: Likewise. + * gas/h8300/ffxx1-coff.s: Remove inappropriate insn width specifier. + * gas/h8300/ffxx1-elf.s: Likewise. + +2004-07-21 Jan Beulich <jbeulich@novell.com> + + * gas/i386/x86-64-addr32.[ds]: New test for x86-64 32-bit + addressing in 64-bit mode. + * gas/i386/x86-64-rip.[ds]: New test for x86-64 rip-relative + addressing. + * gas/i386/i386.exp: Run the two new tests. + + * gas/cfi/cfi-x86_64.d: Adjust expectation for leave to not have a + rex prefix. + * gas/i386/x86-64-inval.[ls]: Add a bunch of instructions illegal + in 64-bit mode. + +2004-07-20 Maciej W. Rozycki <macro@linux-mips.org> + + * gas/mips/elf-rel19.d: Pass -march=mips1 to gas as the test + expects load delay slots. + +2004-07-20 Maciej W. Rozycki <macro@linux-mips.org> + + * gas/mips/vr5400.d: Update for a correct disassembly of + "racm.ob". + +2004-07-20 Maciej W. Rozycki <macro@linux-mips.org> + + * gas/mips/mips32.s: Adjust for the unified "break" syntax. Add + another "break" case. Update the comment accordingly. + * gas/mips/set-arch.s: Likewise. + * gas/mips/mips32.d: Adjust for the new output. + * gas/mips/set-arch.d: Likewise. + +2004-07-15 Nitin Yewale <nitiny@kpitcummins.com> + + * gas/h8300/h8300.exp (do_h8300hn_addressgen): Addition of + new test case for H8300H normal target to check symbol + address generation. + * gas/h8300/symaddgen.s: New test. + +2004-07-13 Nick Clifton <nickc@redhat.com> + + * gas/i386/intel.s: Add test of newly expand arithmetic support + for Intel mode assembler. + * gas/i386/intel.d: Add expected disassmbly. + +2004-07-13 Nick Clifton <nickc@redhat.com> + + * gas/vtable: Delete directory. These tests are no longer needed + as the VTABLE_ reloc support is obsolete. + +2004-07-08 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> + + * gas/m32r/pic.exp: Add New Test case for @GOTOFF, @GOT, @PLT. + * gas/m32r/pic2.s: New file: Test case for @GOTOFF, @GOT, @PLT. + * gas/m32r/pic2.d: New file: Expected results. + +2004-07-08 Richard Sandiford <rsandifo@redhat.com> + + * gas/mips/elf-rel7.d: Expect relocations against bar to refer to bar. + * gas/mips/elf-refl19.d: Likewise L2. + +2004-07-03 Richard Sandiford <rsandifo@redhat.com> + + * gas/mips/elf{,el}-rel.d: Adjust so that the earliest %hi() matches + the earliest %lo(). + * gas/mips/elf-rel11.d: Don't expect the relocs to be reordered. + * gas/mips/elf-rel20.[sd]: New test. + * gas/mips/mips.exp: Run it. + +2004-07-03 Maciej W. Rozycki <macro@linux-mips.org> + + * gas/mips/elf-rel9.[sd]: Fix typo in %lo() expression. + +2004-07-01 H.J. Lu <hongjiu.lu@intel.com> + + * gas/ia64/group-1.d: New. + * gas/ia64/group-1.s: Likewise. + + * gas/ia64/ia64.exp: Add group-1 to test comdat group. + +2004-06-30 James E Wilson <wilson@specifixinc.com> + + * gas/ia64/dv-imply.d: Update. + * gas/ia64/dv-mutex.d: Likewise. + * gas/ia64/dv-safe.d: Likewise. + +2004-06-29 Alan Modra <amodra@bigpond.net.au> + + * gas/m68k/mode5.s: Pad section. + * gas/m68k/mode5.d: Update. + +2004-06-28 Alan Modra <amodra@bigpond.net.au> + + * gas/ppc/power4.d: Update. + +2004-06-24 Alan Modra <amodra@bigpond.net.au> + + * gas/i386/prescott.s: Remove fisttpd and fisttpq. + * gas/i386/prescott.d: Update. + +2004-06-08 Jakub Jelinek <jakub@redhat.com> + + * gas/ia64/dv-raw-err.s: Add some new postinc tests. + * gas/ia64/dv-raw-err.l: Updated. + +2004-05-28 Peter Barada <peter@the-baradas.com> + + * gas/m68k/mode5.s: New test file. Checks conversion of mode 5 + addressing with zero offset into mode 2 addressing. + * gas/m68k/mode5.d: New file: Expected disassmbly. + * gas/m68k/all.exp: Run new test. + +2004-05-28 Andrew Stubbs <andrew.stubbs@superh.com> + + * gas/sh/arch: New directory. + * gas/sh/arch/arch.exp: New test script. + * gas/sh/arch/arch_expected.txt: New file. + * gas/sh/arch/sh.s: New file. + * gas/sh/arch/sh2.s: New file. + * gas/sh/arch/sh-dsp.s: New file. + * gas/sh/arch/sh2e.s: New file. + * gas/sh/arch/sh3-nommu.s: New file. + * gas/sh/arch/sh3.s: New file. + * gas/sh/arch/sh3-dsp.s: New file. + * gas/sh/arch/sh3e.s: New file. + * gas/sh/arch/sh4-nommu-nofpu.s: New file. + * gas/sh/arch/sh4-nofpu.s: New file. + * gas/sh/arch/sh4.s: New file. + * gas/sh/arch/sh4a-nofpu.s: New file. + * gas/sh/arch/sh4al-dsp.s: New file. + * gas/sh/arch/sh4a.s: New file. + +2004-05-27 H.J. Lu <hongjiu.lu@intel.com> + + * gas/ia64/regs.d: Updated. + +2004-05-26 H.J. Lu <hongjiu.lu@intel.com> + + * gas/ia64/ia64.exp: Run invalid-ar. + + * gas/ia64/invalid-ar.l: New file. Test invalid AR access. + * gas/ia64/invalid-ar.s: Likewise. + +2004-05-24 Peter Barada <peter@the-baradas.com> + + * gas/m68k/mcf-emac.d: Provide correct disassembler results. + * gas/m68k/mcf-mac.d: Provide correct disassembler results. + +2004-05-20 H.J. Lu <hongjiu.lu@intel.com> + + * gas/ia64/dv-srlz.d: Fix a typo. + +2004-05-12 Ben Elliston <bje@au.ibm.com> + + * gas/h8300/t03_add.exp: Remove stray semicolons. + * gas/h8300/t04_sub.exp: Likewise. + * gas/h8300/t05_cmp.exp: Likewise. + * gas/h8300/t08_or.exp: Likewise. + * gas/h8300/t09_xor.exp: Likewise. + * gas/h8300/t10_and.exp: Likewise. + * gas/hppa/reloc/reloc.exp: Likewise. + * gas/hppa/unsorted/unsorted.exp: Likewise. + * gas/i386/i386.exp: Likewise. + * gas/m68hc11/m68hc11.exp: Likewise. + * gas/mips/mips.exp: Likewise. + * gas/sparc/sparc.exp: Likewise. + * lib/gas-defs.exp: Likewise. + +2004-05-11 Nick Clifton <nickc@redhat.com> + + * gas/elf/section4.s: New test. Checks label arithmetic when + multiple same-name sections exist. + * gas/elf/section4.d: New file: Expected section list + * gas/elf/elf.exp: Run the new test. + * gas/elf/group0.s: Use % instead of @ for type argument to + .section directive (for compatability with ARM port). + * gas/elf/group1.s: Likewise. + +2004-05-07 Richard Sandiford <rsandifo@redhat.com> + + * gas/mips/vr4122.[sd]: Rename to... + * gas/mips/vr4120-2.[sd]: ...and add tests for VR4181A errata + MD(1) and MD(4). + * gas/mips/mips.exp: Update accordingly. + +2004-05-05 Alexandre Oliva <aoliva@redhat.com> + + * gas/frv/reloc1.d: Match elf32-frvfdpic as well. + * gas/frv/fr405-insn.d: Likewise. + * gas/frv/fr450-insn.d: Likewise. + +2004-04-30 H.J. Lu <hongjiu.lu@intel.com> + + * gas/elf/elf.exp: Remove group1, add group1a and group1b for + section group. + + * gas/elf/group1a.d: New file. + * gas/elf/group1b.d: Likewise. + + * gas/elf/group1.e: Removed. + +2004-04-30 Nick Clifton <nickc@redhat.com> + + * gas/arm/reg-alias.s: New file: Test case sensitive register + aliases. + * gas/arm/reg-alias.d: New file: Expected test output. + * gas/arm/arm.exp: Run reg-alias test. + Arrange tests in a more orderly fashion. + +2004-04-30 Ben Elliston <bje@au.ibm.com> + + * gas/ppc/power4.s: Add dcbz and dcbzl test cases. + * gas/ppc/power4.d: Update accordingly. + +2004-04-26 H.J. Lu <hongjiu.lu@intel.com> + + * gas/elf/elf.exp: Add group0a, group0b and group1 for section + group. + + * gas/elf/group0.s: New file. + * gas/elf/group0a.d: Likewise. + * gas/elf/group0b.d: Likewise. + * gas/elf/group1.e: Likewise. + * gas/elf/group1.s: Likewise. + +2004-04-23 Nick Clifton <nickc@redhat.com> + + * gas/symver/symver1.d: Cope with extra symbols inserted by + arm-elf toolchains. + * gas/symver/symver0.d: Likewise + * gas/elf/symver.d: Likewise. + +2004-04-22 Kaz Kojima <kkojima@rr.iij4u.or.jp> + + * gas/sh/pcrel2.d: Update. + * gas/sh/tlsd.d: Update. + * gas/sh/tlsnopic.d: Update. + * gas/sh/tlspic.d: Update. + +2004-04-22 Mark Kettenis <kettenis@gnu.org> + + * lib/gas-defs.exp (is_elf_format): Add OpenBSD support. + +2004-04-22 Atsushi Nemoto <anemo@mba.ocn.ne.jp> + + * gas/mips/lb-xgot-ilocks.d: Remove nops in load delay slot. + * gas/mips/mips-abi32-pic.d: Likewise. + * gas/mips/mips-abi32-pic2.d: Likewise. + * gas/mips/mips-gp32-fp32-pic.d: Likewise. + * gas/mips/mips-gp32-fp64-pic.d: Likewise. + * gas/mips/mips-gp64-fp32-pic.d: Likewise. + * gas/mips/mips-gp64-fp64-pic.d: Likewise. + * gas/mips/relax-swap1-mips2.d: Likewise. + * gas/mips/lb-svr4pic-ilocks.d: New test. + * gas/mips/mips.exp: Run it. + +2004-04-22 Paul Brook <paul@codesourcery.com> + + * maverick.c (off8s): Test full shifted operand range. + (MCC2): Define. + (MVDSPACC, MVACCDSP): Use it. + * maverick.d, maverick.s: Regenerate. + +2004-04-22 Peter Barada <peter@the-baradas.com> + + * gas/m68k/mcf-mac.s: New test: Check ColdFire MAC instructions. + * gas/m68k/mcf-emac.s: New test: Similar checks. + * gas/m68k/mcf-mac.d: New test: Expected output. + * gas/m68k/mcf-emac.d: New test: Likewise. + * gas/m68k/all.exp: Run new tests. + +2004-04-21 Chris Demetriou <cgd@broadcom.com> + + * gas/mips/elempic.d: File removed as part of -membedded-pic removal. + * gas/mips/empic.d: Likewise. + * gas/mips/empic.l: Likewise. + * gas/mips/empic.s: Likewise. + * gas/mips/empic2.d: Likewise. + * gas/mips/empic2.s: Likewise. + * gas/mips/empic3_e.d: Likewise. + * gas/mips/empic3_e.s: Likewise. + * gas/mips/empic3_g1.d: Likewise. + * gas/mips/empic3_g1.s: Likewise. + * gas/mips/empic3_g2.d: Likewise. + * gas/mips/empic3_g2.s: Likewise. + * gas/mips/jal-empic-elf-2.d: Likewise. + * gas/mips/jal-empic-elf-2.s: Likewise. + * gas/mips/jal-empic-elf-3.d: Likewise. + * gas/mips/jal-empic-elf-3.s: Likewise. + * gas/mips/jal-empic-elf.d: Likewise. + * gas/mips/jal-empic.d: Likewise. + * gas/mips/la-empic.d: Likewise. + * gas/mips/la-empic.s: Likewise. + * gas/mips/lb-empic.d: Likewise. + * gas/mips/ld-empic.d: Likewise. + * gas/mips/lif-empic.d: Likewise. + * gas/mips/telempic.d: Likewise. + * gas/mips/tempic.d: Likewise. + * gas/mips/ulh-empic.d: Likewise. + * gas/mips/ld-pic.s: Remove code conditional on EMPIC. + * gas/mips/lifloat.s: Likewise. + * gas/mips/mips.exp: Remove -membedded-pic tests and related comments. + +2004-04-20 Brian Ford <ford@vss.fsi.com> + DJ Delorie <dj@redhat.com> + + * gas/i386/secrel.s: New test for .secrel32. + * gas/i386/secrel.d: Likewise. + * gas/i386/i386.exp: Call it for PE targets. + +2004-04-19 Jakub Jelinek <jakub@redhat.com> + + * gas/cfi/cfi-sparc64-1.d: Update. + +2004-04-14 Richard Sandiford <rsandifo@redhat.com> + + * gas/mips/vr4122.[sd]: Change option to -mfix-vr4120. + +2004-04-14 Richard Sandiford <rsandifo@redhat.com> + + * gas/elf/section2.e-mips: Allow named section symbols. + * gas/mips/{,el}empic.d, gas/mips/mips{,el}16-[ef].d: Likewise. + +2004-04-13 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> + + * gas/m32r/parallel-2.s: New file: Test case for parallel code. + * gas/m32r/parallel-2.d: New file: Expected results. + * gas/m32r/m32r2.exp: Run the test. + + * gas/m32r/seth.s: New file: Test for seth. + * gas/m32r/seth.d: New file: Expected results. + * gas/m32r/m32r.exp: Run the new test. + +2004-04-01 Asgari Jinia <asgarij@kpitcummins.com> + + * gas/sh/renesas-1.s, gas/sh/renesas-1.d: New test for -renesas + option. + * gas/sh/basic.exp: Run the new test. + +2004-04-01 Dave Korn <dk@artimi.com> + + * gas/dlx/alltests.exp: Execute new lohi test. + * gas/dlx/lohi.s: New test for spurious lo16/hi16 + reloc overflow checking. + * gas/dlx/lohi.d: New file: expected output. + * gas/dlx/lhi.d: Updated to properly expect lo16 + relocations where asked for. + * gas/dlx/itype.d: Likewise. + * gas/dlx/lhi.d: Corrected cut+paste error in test name. + +2004-03-30 Stan Shebs <shebs@apple.com> + + * gas/macros/macros.exp: Remove mention of MPW config. + +2004-03-27 Alan Modra <amodra@bigpond.net.au> + + * gas/i860/dir-intel03-err.l: Update for junk at end line becoming + an error. + * gas/m68hc11/m68hc11.exp: Likewise. + +2004-03-23 Andreas Schwab <schwab@suse.de> + + * gas/cfi/cfi-m68k.d: Adjust offsets. + +2004-03-22 Hans-Peter Nilsson <hp@axis.com> + + * gas/cris/regreg.d: Assemble with --no-mul-bug-abort. + * gas/cris/mulbug-err-1.s, gas/cris/rd-mulbug-1.d: New tests. + +2004-03-17 Kaz Kojima <kkojima@rr.iij4u.or.jp> + + * gas/cfi/cfi-sh-1.d: New file. + * gas/cfi/cfi-sh-1.s: Likewise. + * gas/cfi/cfi.exp: Add SH case. + +2004-03-16 Alan Modra <amodra@bigpond.net.au> + + * gas/ppc/altivec.d: Update. + * gas/ppc/altivec_xcoff.d: Update. + * gas/ppc/altivec_xcoff64.d: Update. + * gas/ppc/astest.d: Update. + * gas/ppc/astest2.d: Update. + * gas/ppc/astest2_64.d: Update. + * gas/ppc/astest64.d: Update. + * gas/ppc/booke.d: Update. + * gas/ppc/booke_xcoff.d: Update. + * gas/ppc/booke_xcoff64.d: Update. + * gas/ppc/e500.d: Update. + * gas/ppc/power4.d: Update. + * gas/ppc/test1elf32.d: Update. + * gas/ppc/test1elf64.d: Update. + * gas/ppc/test1xcoff32.d: Update. + +2004-03-15 Alan Modra <amodra@bigpond.net.au> + + * gas/i386/padlock.s: Pad with .p2align. + * gas/i386/padlock.d: Adjust. + +2004-03-12 Michal Ludvig <mludvig@suse.cz> + + * gas/i386/padlock.s, gas/i386/padlock.d: New tests for + VIA PadLock instructions. + * gas/i386/i386.exp: Run padlock tests. + +2004-03-12 Alan Modra <amodra@bigpond.net.au> + + * gas/i386/katmai.d: Revert last change. + + * gas/i386/katmai.d: Adjust for clflush change. + +2004-03-08 Andreas Jaeger <aj@suse.de> + + * gas/cfi/cfi-s390x-1.d: Adjust offsets. + +2004-03-07 Richard Henderson <rth@redhat.com> + + * gas/cfi/cfi-common-2.d, gas/cfi/cfi-i386.d: Adjust offsets. + +2004-03-07 Andreas Jaeger <aj@suse.de> + + * gas/cfi/cfi-x86_64.d: Adjust offsets. + +2004-03-07 Richard Henderson <rth@redhat.com> + + * gas/alpha/elf-reloc-8.d, gas/cfi/cfi-alpha-1.d, + gas/cfi/cfi-alpha-2.d, gas/cfi/cfi-alpha-3.d, gas/cfi/cfi-common-1.d, + gas/cfi/cfi-common-2.d, gas/cfi/cfi-common-3.d: Adjust offsets. + +2004-03-03 Kaz Kojima <kkojima@rr.iij4u.or.jp> + + * gas/sh/sh64/err-dsp.s: Fix expected error message. + +2004-03-01 Richard Sandiford <rsandifo@redhat.com> + + * gas/frv/fr405-insn.[sdl]: New test. + * gas/frv/fr450-spr.[sd]: New test. + * gas/frv/fr450-insn.[sdl]: New test. + * gas/frv/fr450-media-issue.[sl]: New test. + * gas/frv/allinsn.exp: Run new tests. Ensure fr405 instructions + aren't accepted for -mcpu=fr400 or -mcpu=fr500. Ensure fr450 + instructions aren't accepted for -mcpu=fr400, -mcpu=fr405 or + -mcpu=fr500. + +2004-03-01 Richard Sandiford <rsandifo@redhat.com> + + * gas/frv/allinsn.s (rstb, rsth, rst, rstd, rstq): Replace with nops. + (rstbf, rsthf, rstf, rstdf, rstqf): Likewise. + * gas/frv/allinsn.d: Update accordingly. + +2004-02-17 Petko Manolov <petkan@nucleusys.com> + + * gas/arm/maverick.c: DSPSC to/from opcode fixes. + * gas/arm/maverick.d: Likewise. + * gas/arm/maverick.s: Likewise. + +2004-02-09 Kaz Kojima <kkojima@rr.iij4u.or.jp> + + * gas/sh/basic.exp: Don't do sh4a tests for sh5. + +2004-02-06 Nathan Sidwell <nathan@codesourcery.com> + + * gas/macros/test2.s: Lowercase it. + +2004-02-02 Maciej W. Rozycki <macro@ds2.pg.gda.pl> + + * gas/mips/div.d: Update to accomodate changes in macro + expansions. + gas/mips/elf-rel-got-n32.d: Likewise. + gas/mips/elf-rel-got-n64.d: Likewise. + gas/mips/elf-rel-xgot-n32.d: Likewise. + gas/mips/elf-rel-xgot-n64.d: Likewise. + gas/mips/la-svr4pic.d: Likewise. + gas/mips/la-xgot.d: Likewise. + gas/mips/lca-svr4pic.d: Likewise. + gas/mips/lca-xgot.d: Likewise. + +2004-02-01 Kaz Kojima <kkojima@rr.iij4u.or.jp> + + * gas/sh/sh4a-fp.d: Fix opcode name fssra to fsrra. + * gas/sh/sh4a-fp.s: Likewise. + * gas/sh/err-sh4a-fp.s: Likewise. + +2004-01-24 Chris Demetriou <cgd@broadcom.com> + + * gas/mips/relax-swap1.s: Add extra space at end, so the + disassembly will consistently have "..." at its end. + * gas/mips/relax-swap2.s: Likewise. + * gas/mips/relax-swap1-mips2.d: Expect "..." at end of disassembly. + +2004-01-23 Daniel Jacobowitz <drow@mvista.com> + + * gas/arm/arm.exp: Add "undefined" test. + * gas/arm/undefined.s, gas/arm/undefined.l: New files. + +2004-01-23 Richard Sandiford <rsandifo@redhat.com> + + * gas/mips/macro-warn-[1234].[sdl]: New tests. + * gas/mips/macro-warn-[12]-n32.[dl]: New tests. + * gas/mips/mips.exp: Run them. + +2004-01-23 Richard Sandiford <rsandifo@redhat.com> + + * gas/mips/elf-rel19.[sd]: New test. + * gas/mips/mips.exp: Run it. + +2004-01-11 Tom Rix <tcrix@worldnet.att.net> + + * gas/m68hc11/movb.s: Add m68hc12 movb and movw dump test. + * gas/m68hc11/movb.d: Likewise. + * gas/m68hc11/m68hc11.exp: Likewise. Add more movb failure tests. + +2004-01-19 Alan Modra <amodra@bigpond.net.au> + + * gas/i386/katmai.d: Adjust for changed sib printing. + * gas/i386/prescott.d: Likewise. + * gas/i386/sse2.d: Likewise. + * gas/i386/ssemmx2.d: Likewise. + +2004-01-16 Alexandre Oliva <aoliva@redhat.com> + + * gas/mn10300/mov5.s: New. + * gas/mn10300/basic.exp (do_mov5): New. + +2004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl> + + * gas/mips/relax-swap1-mips1.d: New test for branch relaxation + with swapping for MIPS1. + * gas/mips/relax-swap1-mips2.d: New test for branch relaxation + with swapping for MIPS2. + * gas/mips/relax-swap1.l: Stderr output for the new tests. + * gas/mips/relax-swap1.s: Source for the new tests. + * gas/mips/relax-swap2.d: New test for branch likely relaxation + with swapping. + * gas/mips/relax-swap2.l: Stderr output for the new test. + * gas/mips/relax-swap2.s: Source for the new test. + * gas/mips/mips.exp: Run the new tests. + +2004-01-13 Ian Lance Taylor <ian@wasabisystems.com> + + * gas/mips/mips16-64.d: New test. + * gas/mips/mips.exp: Run it. + +2004-01-12 Richard Sandiford <rsandifo@redhat.com> + + * gas/mips/elf-rel18.[sd]: New test. + * gas/mips/mips.exp: Run it. + +2004-01-09 Paul Brook <paul@codesourcery.com> + + * gas/arm/vfp2.s, gas/arm/vfp2.d: New test. + * gas/arm/arm.exp: Add them. + +2004-01-08 Ian Lance Taylor <ian@wasabisystems.com> + + * gas/mips/ldstla-n64.d: Pass -64 to assembler, not -n64. + * gas/mips/ldstla-n64-shared.d: Likewise. + +2004-01-07 Nick Clifton <nickc@redhat.com> + + * gas/cris/rd-dw2-1.d: Expect a pointer size from readelf. + +2004-01-06 Alexandre Oliva <aoliva@redhat.com> + + 2003-11-05 Alexandre Oliva <aoliva@redhat.com> + * lib/gas-defs.exp (is_elf_format): Match frv-uclinux. + 2003-09-18 Alexandre Oliva <aoliva@redhat.com> + * gas/frv/fdpic.s, gas/frv/fdpic.d: Renamed from ucpic*. + 2003-09-15 Alexandre Oliva <aoliva@redhat.com> + * gas/frv/ucpic.s, gas/frv/ucpic.d: Use gr15 as PIC register. Use + gprel12 for rodata symbol and gotoff12 for sdata symbol. + 2003-08-08 Alexandre Oliva <aoliva@redhat.com> + * gas/frv/ucpic.d: Test gotoff and gotofffuncdesc. + 2003-08-04 Alexandre Oliva <aoliva@redhat.com> + * gas/frv/ucpic.d, gas/frv/ucpic.s: New. + * gas/frv/allinsns.exp: Run it. + +2004-01-02 Albert Bartoszko <albar@nt.kegel.com.pl> + + * gas/msp430/opcode.s: Add test for an 'add' instruction which + looks similar to an 'rla' instruction. + +For older changes see ChangeLog-9303 + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/gas/testsuite/ChangeLog-2005 b/gas/testsuite/ChangeLog-2005 new file mode 100644 index 0000000..838222e --- /dev/null +++ b/gas/testsuite/ChangeLog-2005 @@ -0,0 +1,1679 @@ +2005-12-22 Jan Beulich <jbeulich@novell.com> + + * gas/all/cond.s: Also check .if works on equates to undefined + when the expression value can be known without knowing the + value of the symbol. + * gas/all/cond.l: Adjust. + * gas/i386/equ.s: Also check .if works on (equates to) + registers when the expression value can be known without + knowing the value of the register. + * gas/i386/equ.e: Adjust. + +2005-12-14 Jan Beulich <jbeulich@novell.com> + + * gas/i386/rex.[sd]: New. + * gas/i386/i386.exp: Run new test. + +2005-12-12 Nathan Sidwell <nathan@codesourcery.com> + + * gas/mt: Renamed from ms1 dir. Update file names as needed. + * gas/mt/errors.exp: Replace ms1 arch with mt arch. + * gas/mt/mt.exp: Replace ms1 arch with mt arch. + * gas/mt/relocs.exp: Replace ms1 arch with mt arch. + +2005-12-07 Hans-Peter Nilsson <hp@axis.com> + + * gas/cris/rd-bcnst-pic.d, gas/cris/rd-branch-pic.d, + gas/cris/rd-brokw-pic-1.d, gas/cris/rd-brokw-pic-2.d, + gas/cris/rd-brokw-pic-3.d, gas/cris/rd-fragtest-pic.d: New tests. + +2005-12-06 H.J. Lu <hongjiu.lu@intel.com> + + PR gas/1874 + * gas/i386/i386.exp: Add x86-64-prescott for 64bit. + + * gas/i386/prescott.s: Test address size override for monitor. + * gas/i386/prescott.d: Updated. + + * gas/i386/x86-64-prescott.d: New file. + * gas/i386/x86-64-prescott.s: Likewise. + +2005-12-06 Hans-Peter Nilsson <hp@axis.com> + + * gas/cris/rd-pcplus.s, gas/cris/rd-pcplus.d: New test. + +2005-11-24 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + * gas/macros/purge.l: Increment line numbers. + * gas/macros/purge.s: Add ".data" line. + + Bug gas/1896 + * gas/all/redef2.d: Allow "$DATA$" as well as ".data" in matches. + * gas/all/weakref1.d: Allow "$CODE$" as well as ".text" in matches. + * gas/hppa/reloc/reloc.exp: Adjust regexp for new output. + +2005-11-23 Daniel Jacobowitz <dan@codesourcery.com> + Thiemo Seufer <ths@networkno.de> + + * gas/mips/bge.d, gas/mips/bge.s, gas/mips/bgeu.d, gas/mips/bgeu.s, + gas/mips/blt.d, gas/mips/blt.s, gas/mips/bltu.d, + gas/mips/bltu.s: Reactivate external branch tests. + * gas/mips/branch-misc-2.d, gas/mips/branch-misc-2pic.d, + gas/mips/branch-misc-2-64.d, gas/mips/branch-misc-2pic-64.d: New + tests. + * gas/mips/branch-misc-2.l, gas/mips/branch-misc-2pic.l, + gas/testsuite/gas/mips/branch-misc-2pic.s: Remove. + * gas/mips/mips.exp: Adjust branch-misc-2 tests. Add 64-bit + variants. + +2005-11-22 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + * gas/all/quad.d: Add -j "\$DATA\$". Modify regexp to check for + "$DATA$" as well as ".data". + * gas/all/sleb128.d: Likewise. + +2005-11-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + Bug gas/1894 Bug gas/1895 + * gas/all/gas.exp (redef3): xfail on hppa*-*-hpux*. + * gas/all/redef.d: Add -j "\$DATA\$". Modify regexp to check for + "$DATA$" as well as ".data". + * gas/all/redef2.d: Likewise. + + Bug gas/1879 + * gas/all/weakref1.d: Check for "$CODE$" as well as ".text". + * gas/all/weakref1.s: Indent "-ld1 = l". + * gas/all/weakref1g.d: Remove --no-sort option. + * gas/all/weakref1l.d: Likewise. + * gas/all/weakref1u.d: Likewise. Sort expected results. + * gas/all/weakref1w.d: Likewise. + * gas/all/weakref2.s: Indent directives. + * gas/all/weakref3.s: Likewise. + +2005-11-17 Jan Beulich <jbeulich@novell.com> + + * gas/all/cond.s: Also check ifdef works on equates and + commons. + * gas/all/cond.l: Adjust. + * gas/all/redef2.s: Also test redefining equate to label. + * gas/all/redef2.d: Adjust. + * gas/all/redef3.[sd]: New. + * gas/all/redef4.s: New. + * gas/all/redef5.s: New. + * gas/elf/redef.s: New, copied from original gas/all/redef2.s. + * gas/elf/redef.d: Remove #source. + * gas/all/gas.exp: Remove exclusion of iq2000-*-* from and + adjust xfails for redefinition tests. Run new tests. Exclude + alpha*-*-*, mips*-*-*, *c54x*-*-* from weakref tests. + +2005-11-16 Richard Henderson <rth@redhat.com> + + * gas/all/weakref1.s: Use "=" instead of ".set" for equivalence. + +2005-11-15 Daniel Jacobowitz <dan@codesourcery.com> + + * gas/arm/unwind.s, gas/arm/unwind.d, gas/arm/unwind_vxworks.d: Add + a test for saving only the low registers. + +2005-11-14 Thiemo Seufer <ths@networkno.de> + + * gas/testsuite/gas/mips/mips16e-jrc.d: Tighten file format + check, relax whitespace checking. + +2005-11-14 David Ung <davidu@mips.com> + + * gas/mips/mips.exp: Run new save/restore tests. + * gas/testsuite/gas/mips/mips16e-save.s: New test for generating + different styles of save/restore instructions. + * gas/testsuite/gas/mips/mips16e-save.d: New. + +2005-11-10 Jan Beulich <jbeulich@novell.com> + + * gas/i386/intelbad.d: Add tests for ill registers in brackets. + * gas/i386/intelbad.l: Adjust. + +2005-11-10 Nick Clifton <nickc@redhat.com> + + * gas/arm/archv6t2-bad.s: Add tests of badly composed ldrex and + strex instructions. + * gas/arm/archv6t2-bad.l: Add expected error messages. + * gas/arm/r15-bad.l: Adjust error messages for r15 usage in ldrex + and strex instructions. + +2005-11-08 Arnold Metselaar <arnold.metselaar@planet.nl> + + * gas/all/cofftag.s: Convert numbers in .type + directives to decimal. + * gas/all/gas.exp: enable cofftag-test for z80-*-coff. + +2005-11-08 Nathan Sidwell <nathan@codesourcery.com> + + Add ms2. + * gas/ms1/allinsn.d: Adjust pcrel disassembly. + * gas/ms1/errors.exp: Fix target triplet. + * gas/ms1/ms1-16-003.d: Adjust pcrel disassembly. + * gas/ms1/ms1-16-003.s: Tweak label. + * gas/ms1/ms1.exp: Adjust target triplet. Add ms2 test. + * gas/ms1/ms2.d, gas/ms1/ms2.s: New. + * gas/ms1/relocs.d: Adjust expected machine name and pcrel + disassembly. + * gas/ms1/relocs.exp: Adjust target triplet. + +2005-11-07 Jan Beulich <jbeulich@novell.com> + + * gas/all/redef2.[sd]: New. + * gas/all/gas.exp: Run new test. + * gas/elf/redef.d: New. + * gas/elf/elf.exp: Run new test. + +2005-11-07 Alan Modra <amodra@bigpond.net.au> + + * gas/i386/divide.s: Test line comment starting with '/'. + * gas/i386/divide.d: Pass --divide to gas. + * gas/i386/intelok.d: Likewise. + * gas/i386/i386.exp (divide): Run for all targets. + +2005-11-07 Arnold Metselaar <arnold.metselaar@planet.nl> + + * gas/z80/z80.exp: Added "suffix" test. + * gas/z80/suffix.s: New file. + * gas/z80/suffix.d: New file. + +2005-11-04 H.J. Lu <hongjiu.lu@intel.com> + + * gas/i386/padlock.d: Support 64bit BFD. + +2005-11-04 Alexandre Oliva <aoliva@redhat.com> + + * gas/all/gas.exp: Remove weakref xfail. Run weakref4.s. + * gas/all/weakref1.s: Move redefinition bits to... + * gas/all/weakref4.s: ... new file. + * gas/all/weakref1.d: Remove command moved to weakref1u. Adjust + remaining command for leading tabs. Regenerate. + * gas/all/weakref1l.d: Regenerate. + * gas/all/weakref1u.d: Likewise. + * gas/all/wealref1w.d: Likewise. + +2005-11-04 Jan Beulich <jbeulich@novell.com> + + * gas/all/gas.exp: xfail weakref dump tests for all targets. + +2005-10-29 Hans-Peter Nilsson <hp@axis.com> + + PR gas/1630 + * gas/all/gas.exp <weakref1, weakref1g, weakref1l, weakref1u, + weakref1w>: Xfail for cris-*-* and mmix-*-*. + +2005-10-27 Jan Beulich <jbeulich@novell.com> + + * gas/i386/equ.d: Fix typo. + * gas/i386/equ.s: Don't globalize r. + +2005-10-27 Jan Beulich <jbeulich@novell.com> + + * gas/all/gas.exp: Don't xfail equiv1 test anymore. + +2005-10-26 Paul Brook <paul@codesourcery.com> + + * gas/arm/archv6.d: Adjust expected output. + +2005-10-26 Jan Beulich <jbeulich@novell.com> + + * gas/i386/intel.s: Replace register used in offset expression. + * gas/i386/intel.e: Adjust. + * gas/i386/intelbad.l: Adjust. + * gas/i386/equ.[sed]: New. + * gas/i386/i386.exp: Run new test. + +2005-10-26 Hans-Peter Nilsson <hp@bitrange.com> + + * gas/z80/z80.exp: Fix misplaced-open-brace typo. + +2005-10-25 Arnold Metselaar <arnold.metselaar@planet.nl> + + * gas/all/gas.exp: Exclude Z80-*-* from floating point, string, + and cofftag test. + * gas/macros/macros.exp: Expect z80-*-* to fail the strings test + because it has no string escapes. + * gas/z80/quotes.d: New file + * gas/z80/quotes.d: New file + * gas/z80/quotes.s: New file + * gas/z80/redef.d: New file + * gas/z80/redef.s: New file + * gas/z80/z80.exp: New file + +2005-10-24 Bernd Schmidt <bernd.schmidt@analog.com> + + * gas/bfin/flow2.d: Match changed assembler behaviour. + * gas/bfin/reloc.d: Likewise. + +2005-10-24 Alexandre Oliva <aoliva@redhat.com> + + * gas/all/weakref1.s, gas/all/weakref1.d: New test. + * gas/all/weakref1g.d, gas/all/weakref1l.d: New tests. + * gas/all/weakref1u.d, gas/all/weakref1w.d: New tests. + * gas/all/weakref2.s, gas/all/weakref3.s: New tests. + * gas/all/gas.exp: Run new tests. + +2005-10-24 Jan Beulich <jbeulich@novell.com> + + * gas/ia64/index.[sl]: New. + * gas/ia64/rotX.[sl]: New. + * gas/ia64/ia64.exp: Run new tests. + +2005-10-24 Jan Beulich <jbeulich@novell.com> + + * gas/ia64/regs.pl: Also check tp alias of r13. + * gas/ia64/regs.s: Regenerate. + * gas/ia64/regs.d: Adjust. + +2005-10-19 David Ung <davidu@mips.com> + + * gas/mips/mips.exp: Run new test. + * gas/testsuite/gas/mips/mips16e-jrc.s: New test for converting + jalr/jr to the compact jalrc/jrc instructions. + * gas/testsuite/gas/mips/mips16e-jrc.d: New. + +2005-10-19 Martin Schwidefsky <schwidefsky@de.ibm.com> + + * gas/s390/zarch-z9-109.s: Add tests for unnormalized hfp multiply + and multiply-and-add instructions. + * gas/s390/zarch-z9-109.d: Update expected result. + +2005-10-17 Richard Earnshaw <richard.earnshaw@arm.com> + + * gas/arm/copro.d: 'mcrlt' instruction should not be disassembled as + 'cfsh64lt'. + +2005-10-12 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + * gas/hppa/basic/basic.exp (do_system): Adjust for removal of lha + instructions from system.s. + * gas/hppa/basic/system.s (lha): Remove. + +2005-10-12 Jan Beulich <jbeulich@novell.com> + + * gas/ia64/forward.[sd]: New. + * gas/ia64/ia64.exp: Run new test. + +2005-10-11 Jan Beulich <jbeulich@novell.com> + + * gas/all/cond.s: Add test for resolution of fully resolvable + forward references in .if/.endif. + * gas/all/cond.d: Rename to: + * gas/all/cond.l: New. + * gas/all/assign-bad.s: New. + * gas/all/assign-ok.s: New. + * gas/all/equ-bad.s: New. + * gas/all/equ-ok.s: New. + * gas/all/equiv1.s: New. + * gas/all/equiv2.s: New. + * gas/all/eqv-bad.s: New. + * gas/all/eqv-ok.s: New. + * gas/all/eval.[sd]: New. + * gas/all/forward.[sd]: New. + * gas/all/redef.[sd]: New. + * gas/all/gas.exp: Run new tests, but xfail equiv1 (PR/1387). + +2005-10-10 Nick Clifton <nickc@redhat.com> + + * gas/sh/reg-prefix.s: Use mov.l instruction in preference to + movli.l. + * gas/sh/reg-prefix.d: Force little endian assembly. + +2005-10-08 Paul Brook <paul@codesourcery.com> + + * gas/arm/eabi_attr_1.s: New test. + * gas/arm/eabi_attr_1.d: New test. + * gas/arm/arm7t.d: Only disassemble code sections. + * gas/arm/bignum1.d: Ignore Arm object attribute sections. + * gas/arm/mapping.d: Ditto. + * gas/arm/unwind.d: Ditto. + * gas/elf/section0.d: Ditto. + * gas/elf/section1.d: Ditto. + * gas/elf/elf.exp: Set target_machine for Arm EABI based targets. + * gas/elf/section2.e-armeabi: New file. + +2005-10-06 Khem Raj <kraj@mvista.com> + NIIBE Yutaka <gniibe@m17n.org> + + * gas/sh/basic.exp: Run reg-prefix test. + * gas/sh/reg-prefix.s: New + * gas/sh/reg-prefix.d: New + +2005-09-30 Catherine Moore <clm@cm00re.com> + + * gas/bfin: New testsuite for bfin. + * gas/all/gas.exp (bfin-*-*): Expected failure for alternate + macro syntax. + +2005-09-30 Paul Brook <paul@codesourcery.com> + + * gas/arm/fpa-mem.s: Remove incorrect comments. + * gas/arm/fpa-mem.d: Update expected results. + +2005-09-29 Jan Beulich <jbeulich@novell.com> + + * gas/ia64/alloc.[sl]: New. + * gas/ia64/ia64.exp: Run new test. + +2005-09-28 Jan Beulich <jbeulich@novell.com> + + * gas/i386/x86-64-stack.s, gas/i386/x86-64-stack.d, + gas/i386/x86-64-stack-suffix.d, gas/i386/x86-64-stack-intel.d: New. + * gas/i386/i386.exp: Run new tests. + +2005-09-28 Jan Beulich <jbeulich@novell.com> + + * gas/i386/mixed-mode-reloc.s: Enable all insns. + * gas/i386/mixed-mode-reloc32.d: Adjust. + * gas/i386/mixed-mode-reloc64.d: Adjust. + +2005-09-28 Jan Beulich <jbeulich@novell.com> + + * gas/i386/reloc64.s: Also test .slong. + * gas/i386/reloc64.l: Adjust. + * gas/i386/reloc64.d: Adjust. + +2005-09-21 Alan Modra <amodra@bigpond.net.au> + + * gas/lns/lns.exp (lns-common-1): Don't run on targets without + a bare nop insn. + +2005-09-20 Richard Henderson <rth@redhat.com> + + * gas/cris/rd-dw2-1.d, gas/cris/rd-dw2-10.d, gas/cris/rd-dw2-11.d, + gas/cris/rd-dw2-12.d, gas/cris/rd-dw2-13.d, gas/cris/rd-dw2-14.d, + gas/cris/rd-dw2-15.d, gas/cris/rd-dw2-2.d, gas/cris/rd-dw2-3.d, + gas/cris/rd-dw2-4.d, gas/cris/rd-dw2-5.d, gas/cris/rd-dw2-6.d, + gas/cris/rd-dw2-7.d, gas/cris/rd-dw2-8.d, gas/cris/rd-dw2-9.d, + gas/mips/mips16-dwarf2-n32.d, gas/mips/mips16-dwarf2.d: Add 0x + prefix in "Advance PC" lines. + +2005-09-08 Paul Brook <paul@codesourcery.com> + + * gas/arm/arch6zk.d: Rename smi to smc. + * gas/arm/arch6zk.s: Ditto. + * gas/arm/thumb32.d: Ditto. + * gas/arm/thumb32.s: Ditto. + +2005-09-07 Richard Henderson <rth@redhat.com> + + * gas/lns/lns-common-1.d: Don't match header or special opcode numbers. + * gas/lns/lns-common-1.s: Update for syntax change. + * gas/lns/lns-diag-1.[sl]: Likewise. + +2005-09-07 Richard Henderson <rth@redhat.com> + + * gas/mips/mips16-dwarf2.d: Don't match anything but address and line + number increments. Adjust relocation address. + * gas/mips/mips16-dwarf2-n32.d: Likewise. Add "N32" to test name. + +2005-09-07 Richard Henderson <rth@redhat.com> + + * gas/cris/rd-dw2-1.d: Don't match anything but address and line + number increments. + * gas/cris/rd-dw2-10.d, gas/cris/rd-dw2-11.d, gas/cris/rd-dw2-12.d, + gas/cris/rd-dw2-13.d, gas/cris/rd-dw2-14.d, gas/cris/rd-dw2-15.d, + gas/cris/rd-dw2-2.d, gas/cris/rd-dw2-3.d, gas/cris/rd-dw2-4.d, + gas/cris/rd-dw2-5.d, gas/cris/rd-dw2-6.d, gas/cris/rd-dw2-7.d, + gas/cris/rd-dw2-8.d, gas/cris/rd-dw2-9.d: Likewise. + +2005-09-07 Richard Henderson <rth@redhat.com> + + * gas/lns/lns.exp: New file. + * gas/lns/lns-common-1.[sd]: New test. + * gas/lns/lns-diag-1.[sl]: New test. + +2005-09-06 Chao-ying Fu <fu@mips.com> + + * gas/mips/mips.exp: Run MT test for mips32r2 only. + * gas/mips/mips32-mt.[sdl]: New test. + +2005-09-06 Paul Brook <paul@codesourcery.com> + + * gas/arm/thumb2_relax.d: New test. + * gas/arm/thumb2_relax.s: New test. + * gas/arm/thumb32.d: Adjust expected results to include relaxation. + * gas/arm/thumb32.s: Tweak for better coverage of relaxable + instructions. Remove load/store tests. + +2005-09-02 Paul Brook <paul@codesourcery.com> + + * gas/arm/arm3-bad.s: New test. + * gas/arm/arm3-bad.d: New test. + * gas/arm/arm3.s: Avoid illegal instructions. + * gas/arm/arm3.d: Ditto. + +2005-09-02 Paul Brook <paul@codesourcery.com> + + * gas/arm/vfp-bad_t2.d, gas/arm/vfp-bad_t2.l, arm/vfp-bad_t2.s, + gas/arm/vfp1_t2.d, gas/arm/vfp1_t2.s, gas/arm/vfp1xD_t2.d, + gas/arm/vfp1xD_t2.s, gas/arm/vfp2_t2.d, gas/arm/vfp2_t2.s): New files. + +2005-09-02 Paul Brook <paul@codesourcery.com> + + * gas/arm/fpa-mem.d: Test "stfpls". + * gas/arm/fpa-mem.s: Ditto. + +2005-09-01 Hans-Peter Nilsson <hp@axis.com> + + * gas/cris: Adjust all files for testing target + cris-axis-linux-gnu. + +2005-08-30 Paul Brook <paul@codesourcery.com> + + * gas/arm/thumb.d: Change "sub rn, rn, rn" to "subs rn, rn, rn". + * gas/arm/thumb32.d: Ditto. + +2005-08-26 Jan Beulich <jbeulich@novell.com> + + * gas/i386/intel.s: Adjust. + * gas/i386/intelok.s: Add two more insns. + * gas/i386/intelok.d: Adjust. + +2005-08-26 Jan Beulich <jbeulich@novell.com> + + * gas/i386/intelok.d: Adjust. + +2005-08-25 Chao-ying Fu <fu@mips.com> + + * gas/mips/mips.exp: Run DSP test. + * gas/mips/mips32-dsp.[sdl]: New test. + +2005-08-22 Jan Beulich <jbeulich@novell.com> + + * gas/i386/mixed-mode-reloc.s, gas/i386/mixed-mode-reloc32.d, + gas/i386/mixed-mode-reloc64.d: New. + * gas/i386/i386.exp: Run new tests. + +2005-08-15 Paul Brook <paul@codesourcery.com> + + * gas/arm/thumb2_it.s: Add more instruction variants. + * gas/arm/thumb2_it.d: Ditto. + +2005-08-12 Martin Schwidefsky <schwidefsky@de.ibm.com> + + * gas/testsuite/gas/s390/s390.exp: Reorganize gas testsuite for s390 + and add tests for new cpu type z9-109. + * gas/testsuite/gas/s390/esa-g5.d: New. + * gas/testsuite/gas/s390/esa-g5.s: New. + * gas/testsuite/gas/s390/esa-operands.d: New. + * gas/testsuite/gas/s390/esa-operands.s: New. + * gas/testsuite/gas/s390/esa-reloc.d: New. + * gas/testsuite/gas/s390/esa-reloc.s: New. + * gas/testsuite/gas/s390/esa-z9-109.d: New. + * gas/testsuite/gas/s390/esa-z9-109.s: New. + * gas/testsuite/gas/s390/esa-z900.d: New. + * gas/testsuite/gas/s390/esa-z900.s: New. + * gas/testsuite/gas/s390/esa-z990.d: New. + * gas/testsuite/gas/s390/esa-z990.s: New. + * gas/testsuite/gas/s390/zarch-operands.d: New. + * gas/testsuite/gas/s390/zarch-operands.s: New. + * gas/testsuite/gas/s390/zarch-reloc.d: New. + * gas/testsuite/gas/s390/zarch-reloc.s: New. + * gas/testsuite/gas/s390/zarch-z9-109.d: New. + * gas/testsuite/gas/s390/zarch-z9-109.s: New. + * gas/testsuite/gas/s390/zarch-z900.d: New. + * gas/testsuite/gas/s390/zarch-z900.s: New. + * gas/testsuite/gas/s390/zarch-z990.d: New. + * gas/testsuite/gas/s390/zarch-z990.s: New. + * gas/testsuite/gas/s390/opcode.d: Delete. + * gas/testsuite/gas/s390/opcode.s: Delete. + * gas/testsuite/gas/s390/opcode64.d: Delete. + * gas/testsuite/gas/s390/opcode64.s: Delete. + * gas/testsuite/gas/s390/operands.d: Delete. + * gas/testsuite/gas/s390/operands.s: Delete. + * gas/testsuite/gas/s390/operands64.d: Delete. + * gas/testsuite/gas/s390/operands64.s: Delete. + * gas/testsuite/gas/s390/reloc.d: Likewise. + * gas/testsuite/gas/s390/reloc.s: Likewise. + * gas/testsuite/gas/s390/reloc64.d: Likewise. + * gas/testsuite/gas/s390/reloc64.s: Likewise. + +2005-08-11 Alan Modra <amodra@bigpond.net.au> + + * gas/all/gas.exp: Remove a29k and m88k support. + * gas/m88k/allinsn.d: Delete. + * gas/m88k/allinsn.s: Delete. + * gas/m88k/init.d: Delete. + * gas/m88k/init.s: Delete. + * gas/m88k/m88k.exp: Delete. + * gas/tic80/add.d: Delete. + * gas/tic80/add.lst: Delete. + * gas/tic80/add.s: Delete. + * gas/tic80/align.d: Delete. + * gas/tic80/align.lst: Delete. + * gas/tic80/align.s: Delete. + * gas/tic80/bitnum.d: Delete. + * gas/tic80/bitnum.lst: Delete. + * gas/tic80/bitnum.s: Delete. + * gas/tic80/ccode.d: Delete. + * gas/tic80/ccode.lst: Delete. + * gas/tic80/ccode.s: Delete. + * gas/tic80/cregops.d: Delete. + * gas/tic80/cregops.lst: Delete. + * gas/tic80/cregops.s: Delete. + * gas/tic80/endmask.d: Delete. + * gas/tic80/endmask.lst: Delete. + * gas/tic80/endmask.s: Delete. + * gas/tic80/float.d: Delete. + * gas/tic80/float.lst: Delete. + * gas/tic80/float.s: Delete. + * gas/tic80/regops.d: Delete. + * gas/tic80/regops.lst: Delete. + * gas/tic80/regops.s: Delete. + * gas/tic80/regops2.d: Delete. + * gas/tic80/regops2.lst: Delete. + * gas/tic80/regops2.s: Delete. + * gas/tic80/regops3.d: Delete. + * gas/tic80/regops3.lst: Delete. + * gas/tic80/regops3.s: Delete. + * gas/tic80/regops4.d: Delete. + * gas/tic80/regops4.lst: Delete. + * gas/tic80/regops4.s: Delete. + * gas/tic80/relocs1.c: Delete. + * gas/tic80/relocs1.d: Delete. + * gas/tic80/relocs1.lst: Delete. + * gas/tic80/relocs1.s: Delete. + * gas/tic80/relocs1b.d: Delete. + * gas/tic80/relocs2.c: Delete. + * gas/tic80/relocs2.d: Delete. + * gas/tic80/relocs2.lst: Delete. + * gas/tic80/relocs2.s: Delete. + * gas/tic80/relocs2b.d: Delete. + * gas/tic80/tic80.exp: Delete. + +2005-08-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + * gas/hppa/reloc/reloc.exp (do_function_reloc_bug): Add "L%" to regexp. + +2005-08-05 Paul Brook <paul@codesourcery.com> + + * gas/arm/thumb32.s: Use correct conditional suffixes inside IT + blocks. + * gas/arm/thumb2_it.d, gas/arm/thumb2_it.s: New test. + +2005-08-05 Paul Brook <paul@codesourcery.com> + + * gas/arm/thumb32.d: Update ldm/stm dests. + * gas/arm/thumb32.s: Ditto. + +2005-08-03 Nick Clifton <nickc@redhat.com> + + * gas/arm/iwmmxt-bad2.s: New file: Check for error messages about + erroneous offsets in iwmmxt instructions. Cannot be part of + iwmmxt-bad.s because the errors there stop the assembler before it + gets to check the offsets in instructions. + * gas/arm/iwmmxt-bad2.d: New file. + * gas/arm/iwmmxt-bad2.l: New file: Expected error messages. + +2005-08-02 Khem Raj <kraj@mvista.com> + + * gas/arm/iwmmxt.s: Change the offset values of the WLDRD, WSTRD + and WSTRW instructions to be larger than +/-255. + * gas/arm/iwmmxt.d: Fix the expected results for these + instructions. + +2005-07-29 Paul Brook <paul@codesourcery.com> + + * gas/arm/thumb32.d: Fix expected output for writeback addressing + modes. Add single high reg push/pop test. + * gas/asm/thumb32.s: Add single high reg push/pop test. + +2005-07-29 Paul Brook <paul@codesourcery.com> + + * gas/arm/thumb32.s: Add tests for addw, subw, tbb and tbh. + * gas/arm/thumb32.d: Ditto. + +2005-07-27 Jan Beulich <jbeulich@novell.com> + + * gas/ia64/unwind-bad.l: Uncomment patterns matching new warnings. + * gas/ia64/unwind-ok.d: Correct expectations. + +2005-07-26 Jan Beulich <jbeulich@novell.com> + + * gas/i386/immed32.[sd]: New. + * gas/i386/immed64.[sd]: New. + * gas/i386/i386.exp: Run new tests. + +2005-07-21 Paul Brook <paul@codesourcery.com> + + * gas/arm/thumb32.s: Add tests for [pc, #imm] addressing modes. + * gas/arm/thumb32.d: Ditto. + +2005-07-20 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> + + * gas/m32r/rel32.exp: New file. + * gas/m32r/rel32.s: New file. + * gas/m32r/rel32.d: New file. + * gas/m32r/rel32-pic.s: New file. + * gas/m32r/rel32-pic.d: New file. + * gas/m32r/rel32-err.s: New file. + * gas/m32r/error.exp: Added rel32-err. + +2005-07-18 H.J. Lu <hongjiu.lu@intel.com> + + * gas/i386/i386.exp: Add suffix. + + * gas/i386/suffix.d: New file. + * gas/i386/suffix.s: Likewise. + +2005-07-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + * gas/hppa/basic/fp_comp.s: Add level 1.1 directive. + * gas/hppa/basic/special.s, gas/hppa/basic/system.s: Likewise. + +2005-07-18 Jan Beulich <jbeulich@novell.com> + + * gas/i386/reloc32.[sdl]: New. + * gas/i386/reloc64.[sdl]: New. + * gas/i386/i386.exp: Run new tests. + +2007-07-15 H.J. Lu <hongjiu.lu@intel.com> + + * gas/i386/i386.exp: Add vmx and x86-64-vmx. + + * gas/i386/vmx.d: New file. + * gas/i386/vmx.s: Likewise. + * gas/i386/x86-64-vmx.d: Likewise. + * gas/i386/x86-64-vmx.s: Likewise. + +2005-07-14 Nick Clifton <nickc@redhat.com> + + PR 1063 + * gas/crx/gas-segfault.d: New file. + * gas/crx/gas-segfault.s: New file. + +2005-07-12 Hans-Peter Nilsson <hp@bitrange.com> + + * gas/mmix/relax1-n.d, gas/mmix/relax1-rn.d: Avoid "# FIXME: " + first on a line, adjusting for testsuite framework change. + +2005-07-10 H.J. Lu <hongjiu.lu@intel.com> + + * i386/x86_64.s: Add absolute siged 32bit addressing tests for + mov. + * i386/x86_64.d: Updated. + +2005-07-08 Hans-Peter Nilsson <hp@axis.com> + + PR gas/1049 + * gas/cris/rd-pic-2.d, gas/cris/rd-pic-2.s: New test. + * gas/cris/rd-abs32-1.d: Tweak for not emitting reloc-related + garbage for global symbols. + +2005-07-07 Nick Clifton <nickc@redhat.com> + + * gas/arm/vfp1xD.d: Adjust expected fadds disassemblies now that + the dissassembler has been fixed. + +2005-05-07 Paul Brook <paul@codesourcery.com> + + * gas/ppc/altivec.d: Match all powerpc target vecs. + * gas/ppc/booke.d: Ditto. + * gas/ppc/e500.d: Ditto. + +2005-07-05 Aldy Hernandez <aldyh@redhat.com> + + * gas/ms1: New directory. + * gas/ms1/allinsn.d: New. + * gas/ms1/allinsn.s: New. + * gas/ms1/badinsn.s: New. + * gas/ms1/badinsn1.s: New. + * gas/ms1/badoffsethigh.s: New. + * gas/ms1/badoffsetlow.s: New. + * gas/ms1/badorder.s: New. + * gas/ms1/badreg.s: New. + * gas/ms1/badsignedimmhigh.s: New. + * gas/ms1/badsignedimmlow.s: New. + * gas/ms1/badsyntax.s: New. + * gas/ms1/badsyntax1.s: New. + * gas/ms1/badunsignedimmhigh.s: New. + * gas/ms1/badunsignedimmlow.s: New. + * gas/ms1/errors.exp: New. + * gas/ms1/ldst.s: New. + * gas/ms1/misc.d: New. + * gas/ms1/misc.s: New. + * gas/ms1/ms1-16-003.d: New. + * gas/ms1/ms1-16-003.s: New. + * gas/ms1/ms1.exp: New. + * gas/ms1/msys.d: New. + * gas/ms1/msys.s: New. + * gas/ms1/relocs.d: New. + * gas/ms1/relocs.exp: New. + * testsuite/gas/ms1/relocs1.s: New. + * testsuite/gas/ms1/relocs2.s: New. + +2005-07-05 Jan Beulich <jbeulich@novell.com> + + * gas/i386/svme.d: New. + * gas/i386/svme.s: New. + * gas/i386/svme64.d: New. + * gas/i386/i386.exp: Run new tests. + +2005-07-04 Zack Weinberg <zack@codesourcery.com> + + * lib/gas-defs.exp (run_dump_tests): New proc. + (run_dump_test): Add support for new options: target, not-target, + skip, not-skip, error-output. Document stderr. Tidy a + little. + (slurp_options): If a line doesn't match the option regexp, but + does begin with #, ignore it; don't stop parsing options. + * gas/arm/arm.exp: Remove most code. Use run_dump_tests. + + * gas/arm/archv6t2-bad.d, gas/arm/armv1.d, gas/arm/iwmmxt-bad.d + * gas/arm/r15-bad.d, gas/arm/req.d, gas/arm/t16-bad.d + * gas/arm/undefined.d, gas/arm/undefined_coff.d, gas/arm/vfp-bad.d: + New files. + * gas/arm/bignum1.d, gas/arm/mapping.d, gas/arm/pic.d: + Only run on ELF targets. + * gas/arm/tls.d, gas/arm/unwind.d: Only run on ELF targets. + Skip on VxWorks. + * gas/arm/tls_vxworks.d, gas/arm/unwind_vxworks.d: New files. + * gas/arm/thumb.d, gas/arm/thumb32.d: Don't run on aout or pe. + * gas/arm/le-fpconst.d: Only run on *-*-pe. + * gas/arm/inst.d: Skip on WinCE. + * gas/arm/wince_inst.d: Skip unless WinCE. + * gas/arm/el_segundo.d: Mark up for actual use; adjust + expectations. + * gas/arm/el_segundo.s: Remove irrelevant junk. Add padding + for a.out's sake. + +2005-07-01 Jan Beulich <jbeulich@novell.com> + + * gas/ia64/group-2.s: Use register as second operand of .prologue. + * gas/ia64/unwind-err.s: Add check for .vframesp. + * gas/ia64/unwind-err.l: Adjust. + * gas/ia64/strange.[sd]: New. + * gas/ia64/unwind-bad.[sl]: New. + * gas/ia64/unwind-ok.[sd]: New. + * gas/ia64/ia64.exp: Run new tests. + +2005-06-30 Zack Weinberg <zack@codesourcery.com> + + * gas/arm/arm.exp: Don't special case ldconst, arm7t, or copro + for *-wince-*. + * gas/arm/wince_arm7t.d, gas/arm/wince_copro.d + * gas/arm/wince_ldconst.d: Delete. + +2005-06-20 H.J. Lu <hongjiu.lu@intel.com> + + PR 1013 + * i386/x86_64.s: Add absolute 64bit addressing tests for mov. + * i386/x86_64.d: Updated. + +2005-06-17 Jan Beulich <jbeulich@novell.com> + + * gas/i386/x86-64-pcrel.s: Add insn requiring 64-bit pc-relative + relocation. Add insns for all widths of non-pc-relative relocations. + * gas/i386/x86-64-pcrel.d: Adjust. + +2005-06-13 Zack Weinberg <zack@codesourcery.com> + + * gas/arm/thumb.s: Only branch to labels defined in this file. + * gas/arm/thumb.d, gas/arm/thumb32.d: Adjust expected output. + +2005-06-01 Maciej W. Rozycki <macro@linux-mips.org> + + * gas/mips/ldstla-32-1.l: Update to handle leading zeroes. + * gas/mips/ldstla-32-mips3-1.l: Likewise. + +2005-05-27 Jan Beulich <jbeulich@novell.com> + + * gas/ia64/proc.l: Adjust. + +2005-05-25 Steve Ellcey <sje@cup.hp.com> + + * gas/ia64/global.d: Change --sym to --syms. + +2005-05-25 H.J. Lu <hongjiu.lu@intel.com> + + * gas/ia64/group-1.d: Updated. + * gas/ia64/group-2.d: Likewise. + +2005-05-25 Jan Beulich <jbeulich@novell.com> + + * gas/ia64/radix.s: New. + * gas/ia64/radix.l: New. + * gas/ia64/ia64.exp: Run new test. + +2005-05-25 Jan Beulich <jbeulich@novell.com> + + * gas/i386/intelok.d: Account for 32-bit displacements being shown + in hex. + +2005-05-24 H.J. Lu <hongjiu.lu@intel.com> + + * gas/elf/group0b.d: Updated. + * gas/elf/group1b.d: Likewise. + +2005-05-19 Jan Beulich <jbeulich@novell.com> + + * gas/ia64/reloc-uw.s: New. + * gas/ia64/reloc-uw.d: New. + * gas/ia64/reloc-uw-ilp32.d: New. + * gas/ia64/ia64.exp: Run new test. + +2005-05-18 Jan Beulich <jbeulich@novell.com> + + * gas/all/altmacro.s: Parenthesize operand of %. + +2005-05-17 Zack Weinberg <zack@codesourcery.com> + + * gas/arm/arm.exp: Convert all existing "gas_test" tests to + "run_dump_test" tests. Run more tests unconditionally. Run new tests. + * gas/arm/arch4t.s, gas/arm/arch6zk.s, gas/arm/arm3.s, gas/arm/arm6.s + * gas/arm/arm7dm.s, gas/arm/bignum1.s, gas/arm/float.s + * gas/arm/immed.s, gas/arm/iwmmxt.s, gas/arm/offset.s, gas/arm/thumb.s: + Adjust to work as a dump test. + * gas/arm/arch4t.d, gas/arm/arch6zk.d, gas/arm/arm3.d, gas/arm/arm6.d + * gas/arm/arm7dm.d, gas/arm/bignum1.d, gas/arm/float.d + * gas/arm/immed.d, gas/arm/iwmmxt.d, gas/arm/offset.d, gas/arm/thumb.d: + New files. + + * gas/arm/armv1-bad.l, gas/arm/armv1-bad.s: Remove tests for + diagnostics that don't happen in the first pass anymore. + + * gas/arm/iwmmxt-bad.l, gas/arm/r15-bad.l, gas/arm/req.l + * gas/arm/vfp-bad.l: + Update expected diagnostics. + * gas/arm/pic.d: Update expected reloc name. + * gas/arm/thumbv6.d: CPY no longer appears in disassembly. + * gas/arm/r15-bad.s: Avoid two-argument mul. + * gas/arm/req.s: Adjust comments. + * gas/arm/maverick.d, gas/arm/maverick.s: Avoid inappropriate + use of PC. + + * gas/arm/macro-1.d, gas/arm/macro1.s + * gas/arm/t16-bad.l, gas/arm/t16-bad.s + * gas/arm/tcompat.d, gas/arm/tcompat.s + * gas/arm/tcompat2.d, gas/arm/tcompat2.s + * gas/arm/thumb32.d, gas/arm/thumb32.s + New test pair. + +2005-05-17 Jan Beulich <jbeulich@novell.com> + + * gas/mmix/err-byte1.s: Adjust expected error text on line 10. + +2005-05-17 Nick Clifton <nickc@redhat.com> + + * gas/v850/split-lo16.s: Add test for a lo() pseudo reloc + corrupting an ld.w instruction. + * gas/v850/split-lo16.d: Add expected, correct (ie not corrupt) + output. + +2005-05-10 Michael Matz <matz@suse.de> + + * gas/hppa/parse/block1.s: Use official limit (0x3fffffff) for + .block. + +2005-05-10 Hans-Peter Nilsson <hp@bitrange.com> + + * gas/mmix/relax2.s: Drop ":" off label definitions. + +2005-05-09 Jan Beulich <jbeulich@novell.com> + + * gas/i386/tlsd.[sd]: Adjust to not assume zero displacement will + actually be present in memory addressing. + * gas/i386/tlspic.[sd]: Likewise. + +2005-05-07 H.J. Lu <hongjiu.lu@intel.com> + + PR 940 + * gas/ia64/group-2.d: New. + * gas/ia64/group-2.s: New. + + * gas/ia64/ia64.exp: Add "group-2". + +2005-05-07 H.J. Lu <hongjiu.lu@intel.com> + + PR 843 + * gas/i386/i386.exp: Add x86-64-branch. + + * gas/i386/x86-64-branch.d: New. + * gas/i386/x86-64-branch.s: New. + +2005-05-06 Jan Beulich <jbeulich@novell.com> + + * gas/macros/badarg.s: Add check for bad qualifier specification. + * gas/macros/badarg.l: Adjust. + * gas/macros/vararg.[sd]: New. + * gas/macros/macros.exp: Run new test. + +2005-05-06 Jan Beulich <jbeulich@novell.com> + + * gas/all/cond.s: Also test .ifb/.ifnb. + * gas/all/cond.d: Adjust. + +2005-05-06 Jan Beulich <jbeulich@novell.com> + + * gas/macros/dot.s: Don't use pseudo-ops in first column. + * gas/macros/dot.l: Match broader range of possible outputs. + * gas/macros/purge.l: Likewise. + * gas/macros/purge.s: Start generated macro names with an underscore. + +2005-05-05 Paul Brook <paul@codesourcery.com> + + * gas/i386/i386.exp: Don't run divide test on vxworks. + +2005-05-05 Nick Clifton <nickc@redhat.com> + + * Update the address and phone number of the FSF organization in + the GPL notices in the following files: + gas/all/itbl-test.c, gas/all/test-example.c, gas/all/test-gen.c, + gas/arm/maverick.c, gas/cris/cris.exp, gas/hppa/basic/basic.exp, + gas/hppa/parse/parse.exp, gas/hppa/reloc/reloc.exp, + gas/hppa/unsorted/unsorted.exp, gas/m88k/m88k.exp, + gas/mmix/mmix-err.exp, gas/mmix/mmix-list.exp, gas/mmix/mmix.exp, + gas/mn10200/basic.exp, gas/mn10300/am33-2.c, + gas/mn10300/basic.exp, gas/pdp11/opcode.s, gas/ppc/aix.exp, + gas/sh/basic.exp, gas/sh/err.exp, gas/sh/arch/arch.exp, + gas/sh/sh64/sh64.exp, gas/v850/basic.exp, lib/gas-defs.exp + +2005-05-05 Mike Frysinger <vapier@gentoo.org> + + * gas/sh/basic.exp: Replace linux-gnu with linux-* to allow for + versions of Linux which do not use glibc. + * gas/vax/vax.exp: Likewise. + +2005-05-05 Paul Brook <paul@codesourcery.com> + + * lib/gas-defs.exp (regexp_diff): Pass test if last line is "#...". + +2005-04-26 H.J. Lu <hongjiu.lu@intel.com> + + * gas/all/assign.s: Make `x' and `y' global. + +2005-04-25 Jan Beulich <jbeulich@novell.com> + + * gas/macros/badarg.s: Add tests for collisions between/among macro + parameters and local symbols. + * gas/macros/badarg.l: Adjust. + +2005-04-20 Jan Beulich <jbeulich@novell.com> + + * gas/elf/struct.s: Adjust to not get into alignment issues. + * gas/elf/struct.d: Adjust for the above and the test's name. + +2005-04-19 H.J. Lu <hongjiu.lu@intel.com> + + * gas/i386/padlock.d: Updated. + +2005-04-19 Andreas Schwab <schwab@suse.de> + + * gas/ia64/invalid-ar.l: Adapt to changed error message. + +2005-04-18 Jan Beulich <jbeulich@novell.com> + + * gas/macros/purge.[ls]: New. + * gas/macros/macros.exp: Run new test. + +2005-04-15 Jan Beulich <jbeulich@novell.com> + + * gas/elf/struct.[sd]: New. + * gas/elf/elf.exp: Run new test. + +2005-04-15 Alan Modra <amodra@bigpond.net.au> + + * gas/all/assign.s: New. + * gas/all/assign.d: New. + * gas/all/gas.exp: Run it. + +2005-04-13 Maciej W. Rozycki <macro@linux-mips.org> + + * gas/mips/ldstla-32.s: Exclude offsets that are now meant to fail + and include more instructions/offsets that are meant to succeed. + Use $4 instead $3 to avoid register dependencies. + * gas/mips/ldstla-32.d: Update accordingly. + * gas/mips/ldstla-32-shared.d: Likewise. + * gas/mips/ldstla-32-mips3.d: New test based on the above, except + for mips3. + * gas/mips/ldstla-32-mips3-shared.d: Similarly, for PIC. + * gas/mips/ldstla-32-mips3.s: Source for the new tests. + * gas/mips/ldstla-32-1.s: New test for offsets that are meant to + fail. + * gas/mips/ldstla-32-mips3-1.s: Likewise, for mips3. + * gas/mips/ldstla-32-1.l: Stderr output for the new test. + * gas/mips/ldstla-32-mips3-1.l: Likewise. + * gas/mips/mips.exp: Run the new tests. + +2005-04-11 Mark Kettenis <kettenis@gnu.org> + + * gas/all/gas.exp: Don't run fastcall labels test on + i*86-*-openbsd*. + +2005-04-11 Jan Beulich <jbeulich@novell.com> + + * gas/macros/dot.[ls]: New. + * gas/macros/macros.exp: Run new test. + +2005-04-06 H.J. Lu <hongjiu.lu@intel.com> + + * gas/i386/x86-64-pcrel.s: Test R_X86_64_32S. + * gas/i386/x86-64-pcrel.d: Updated. + +2005-04-01 Jan-Benedict Glaw <jbglaw@lug-owl.de> + + * gas/vax/flonum.s: New testcase: Encode some flonums. + * gas/vax/flonum.d: Expected result of new testcase. + * gas/vax/vax.exp: Call the new testcase. + + * gas/vax/elf-rel.d: Call gas with -k. Thanks to Matt Thomas for + figuring out. + * gas/vax/vax.exp: Run elf-rel.[sd] for NetBSD-ELF and Linux. + +2005-04-01 Jan Beulich <jbeulich@novell.com> + + * gas/i386/bss.[sd]: New. + * gas/i386/i386.exp: Run new test. + +2005-04-01 Jan Beulich <jbeulich@novell.com> + + * gas/i386/x86-64-pcrel.[sd]: New. + * gas/i386/i386.exp: Run new test. + +2005-03-30 Julian Brown <julian@codesourcery.com> + + * gas/arm/mapping.d: Update expected output due to mapping symbols + being untyped. + +2005-03-29 H.J. Lu <hongjiu.lu@intel.com> + + * gas/i386/i386.exp: Run segment and inval-seg for i386. Run + x86-64-segment and x86-64-inval-seg for x86-64. + + * gas/i386/intel.d: Expect movw for moving between memory and + segment register. + * gas/i386/naked.d: Likewise. + * gas/i386/opcode.d: Likewise. + * gas/i386/x86-64-opcode.d: Likewise. + + * gas/i386/opcode.s: Use movw for moving between memory and + segment register. + * gas/i386/x86-64-opcode.s: Likewise. + + * : Likewise. + + * gas/i386/inval-seg.l: New. + * gas/i386/inval-seg.s: New. + * gas/i386/segment.l: New. + * gas/i386/segment.s: New. + * gas/i386/x86-64-inval-seg.l: New. + * gas/i386/x86-64-inval-seg.s: New. + * gas/i386/x86-64-segment.l: New. + * gas/i386/x86-64-segment.s: New. + +2005-03-29 Daniel Jacobowitz <dan@codesourcery.com> + + * gas/arm/tls.s, gas/arm/tls.d: New files. + * gas/arm/arm.exp: Run TLS test. + +2005-03-29 Julian Brown <julian@codesourcery.com> + + * gas/arm/unwind.d: Update expected output. + +2005-03-28 H.J. Lu <hongjiu.lu@intel.com> + + PR 803 + * gas/ia64/dv-imply.d: Pass -mtune=itanium1 to as. + * gas/ia64/dv-mutex.d : Likewise. + * gas/ia64/dv-safe.d: Likewise. + * gas/ia64/dv-srlz.d.nop: Likewise. + * gas/ia64/ldxmov-1.d: Likewise. + * gas/ia64/opc-b.d: Likewise. + * gas/ia64/opc-f.d: Likewise. + * gas/ia64/opc-i.d: Likewise. + * gas/ia64/opc-m.d: Likewise. + * gas/ia64/operand-or.d: Likewise. + * gas/ia64/pcrel.d: Likewise. + * gas/ia64/pseudo.d: Likewise. + * gas/ia64/tls.d: Likewise. + +2005-03-24 Hans-Peter Nilsson <hp@axis.com> + + * gas/cris/range-err-1.s: Adjust expected messages for hosts with + 64-bit longs. + +2005-03-23 Alan Modra <amodra@bigpond.net.au> + + * gas/elf/section5.s: Don't start directives in first column. + +2005-03-21 Nick Clifton <nickc@redhat.com> + + * gas/arm/iwmmxt.s: Update instructions that use the "never" value + in the conditional field to use "le" instead. This is so that the + disassembler will disassemble them. + * gas/arm/iwmmxt.d: Update expected disassemblies. + +2005-03-17 Jan Beulich <jbeulich@novell.com> + + * gas/i386/intel.d: Add stderr directive. + * gas/i386/intel.e: New. + * gas/i386/intel16.d: Add stderr directive. Adjust for changed + source. + * gas/i386/intel16.e: New. + * gas/i386/intel16.s: Add instances of addressing forms with base + and index specified in reverse order. + * gas/i386/intelbad.l: Adjust for changed source. + * gas/i386/intelbad.s: Add more operand forms to check. + * gas/i386/intelok.d: Remove -r from objdump options. Add stderr + directive. Adjust for changed source. + * gas/i386/intelok.e: New. + * gas/i386/intelok.s: Define MASM constants byte, word, etc. Add + more operand forms to check. + * gas/i386/x86_64.d: Add stderr directive. + * gas/i386/x86_64.e: New. + * gas/i386/x86_64.s: Adjust for parser changes. + +2005-03-15 Zack Weinberg <zack@codesourcery.com> + + * gas/arm/archv6t2.d, gas/arm/archv6t2.s: New dump test. + * gas/arm/archv6t2-bad.l, gas/arm/archv6t2-bad.l: New errors test. + * gas/arm/arm.exp: Run them. + +2005-03-14 Eric Christopher <echristo@redhat.com> + + * gas/cfi/cfi-mips-1.d, gas/cfi/cfi-mips-1.s: New dump test. + * gas/cfi/cfi.exp: Run it. + * gas/cfi/cfi-common-1.d: Update. + * gas/cfi/cfi-common-2.d: Ditto. + * gas/cfi/cfi-common-3.d: Ditto. + * gas/cfi/cfi-common-4.d: Ditto. + +2005-03-12 Zack Weinberg <zack@codesourcery.com> + + * gas/arm/thumbv6k.d, gas/arm/thumbv6k.s: New dump test. + * gas/arm/arm.exp: Run it. + +2005-03-10 Aldy Hernandez <aldyh@redhat.com> + + * gas/ppc/e500.d: Fix encoding of efscfd. + +2005-03-10 Jeff Baker <jbaker@qnx.com> + Alan Modra <amodra@bigpond.net.au> + + * gas/ppc/booke.s: Add new m[t,f]sprg testcases. + * gas/ppc/booke.d: Likewise. + +2005-03-09 Richard Sandiford <rsandifo@redhat.com> + + * gas/mips/vr4130.[sd]: New test. + * gas/mips/mips.exp: Run it. + +2005-03-09 Richard Sandiford <rsandifo@redhat.com> + + * gas/mips/relax-swap1-mips[12].d: Expect the delay slots of + bc1f and bc1t to be filled. + * gas/mips/branch-misc-3.[sd]: New test. + * gas/mips/mips.exp: Run it. + +2005-03-09 Ben Elliston <bje@au.ibm.com> + + * gas/maxq10/maxq10.exp: Remove stray semicolons. + * gas/maxq20/maxq20.exp: Likewise. + +2005-03-08 Jan Beulich <jbeulich@novell.com> + + * gas/ia64/no-fit.[ls]: New. + * gas/ia64/ia64.exp: Run new test. + +2005-03-08 Jan Beulich <jbeulich@novell.com> + + * gas/ia64/xdata.[sd], gas/ia64/xdata-ilp32.d: New. + * gas/ia64/ia64.exp: Run new tests. + +2005-03-08 Jan Beulich <jbeulich@novell.com> + + * gas/ia64/pcrel.d: Account for big endian target. + * gas/ia64/reloc-bad.s: Enforce 64-bit ABI. + +2005-03-08 Hans-Peter Nilsson <hp@axis.com> + + Adjust testsuite for cris-axis-aout. + * gas/cris/rd-bcnst.d, gas/cris/rd-usp-1.d: Adjust regexps for a.out output. + * gas/cris/mulbug-err-1.s, gas/cris/rd-arch-1.d, + gas/cris/rd-arch-2.d, gas/cris/rd-arch-3.d, gas/cris/rd-break32.d, + gas/cris/rd-pcrel2.d, gas/cris/rd-ppv1032.d, gas/cris/rd-ppv32.d, + gas/cris/rd-usp-1b.d, gas/cris/v32-err-7.s: Pass --em=criself. + +2005-03-04 David Daney <ddaney@avtrex.com> + + * gas/mips/elf-rel23b.d: Use '__gnu_local_gp' instead of '_gp' + for -mno-shared optimization. + * gas/mips/elf-rel25a.d: Ditto. + +2005-03-04 Nick Clifton <nickc@redhat.com> + + * gas/arm/arm.exp: Fix test for running the "undefined" to catch + more non-ELF cases. + * gas/arm/pic.d: Fix for vxworks target. + * gas/arm/basic.d: Likewise. + * gas/arm/unwind.d: Likewise. + +2005-03-04 Richard Sandiford <rsandifo@redhat.com> + + * gas/mips/ldstla-{n32.s, n32.d, n32-shared.d}: Delete. + * gas/mips/ldstla-{n64.d, n64-shared.d}: Adjust expected output + for loads and stores from constant addresses. + * gas/mips/ldstla-{sym32.s, eabi64.d, n64-sym32.d}: New tests. + * gas/mips/mips.exp: Run them. + +2005-03-03 Richard Sandiford <rsandifo@redhat.com> + + * gas/mips/mips.exp: Move tls tests to main $elf block. + +2005-03-03 Nick Clifton <nickc@redhat.com> + + * gas/macros/macros.exp (and.s): Expect this test to fail for the + tic4x-coff target because it uses the '&' character as a line + separator. + + * gas/sh/basic.exp: Add an sh-hms version of the pcrel test. + * gas/sh/pcrel-hms.d: New file. Adjusted form of pcrel-coff.d for + the sh-hms target. + * gas/sh/arch/arch.exp: Expect the same failures for sh-hms port + as for the sh-coff port. + + * gas/macros/macros.exp (run_list_test): Also expect the msp430 + port to fail the strings test because it defines + ONLY_STANDARD_ESCAPES. + + * gas/arm/arch6zk.s: Add three nop instructions in order to pad + the .text section out to a 32-byte boundary as will automatically + be done by the arm-aout target. + * gas/arm/arch6zk.d: Add expected nop disassemblies. + + * gas/d30v/serial.l: Remove listing lines that are no longer + emitted and fix up expected binary encoding. + * gas/d30v/serial2.l: Likewise. + * gas/d30v/serial2O.l: Likewise. + +2005-03-03 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com> + + * gas/arc/extensions.s: Add tests for extcoreregister. + * gas/arc/extensions.d: Likewise. + * gas/arc/warn.s: Warnings for readonly core registers accessed. + * gas/arc/warn.d: Likewise. + * gas/arc/arc.exp: Run extensions testcase. + +2005-03-03 Richard Sandiford <rsandifo@redhat.com> + + * gas/mips/noat-1.d: Add -mips1 to assembler options. + +2005-03-03 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com> + + * gas/arc/ld.s: Add checks for short immediates with ld. + * gas/arc/ld.d: Likewise. + +2005-03-02 Daniel Jacobowitz <dan@codesourcery.com> + + * gas/mips/tls-o32.d, gas/mips/tls-o32.s, gas/mips/tls-ill.l, + gas/mips/tls-ill.s: New files. + * gas/mips/mips.exp: Run TLS tests. + +2005-03-02 Alan Modra <amodra@bigpond.net.au> + + * gas/ppc/astest.d: Adjust for relocs reduced to section sym. + * gas/ppc/astest2.d: Likewise. + * gas/ppc/astest2_64.d: Likewise. + * ppc/astest64.d: Likewise. + * ppc/booke.d: Likewise. + * ppc/power4.d: Likewise. + * ppc/test1elf32.d: Likewise. + * ppc/test1elf64.d: Likewise. + +2005-03-02 Jan Beulich <jbeulich@novell.com> + + * gas/i386/cr-err.[ls]: New. + * gas/i386/crx.[ds]: New. + * gas/i386/i386.exp: Run new tests. + +2005-03-02 Jan Beulich <jbeulich@novell.com> + + * gas/i386/intelok.d: Add -r to objdump options. Adjust expectations. + * gas/i386/intelok.s: Add checks for various special memory operands. + +2005-03-01 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com> + + * gas/arc/extensions.s: New file. + * gas/arc/extensions.d: New file. + +2005-03-01 Nick Clifton <nickc@redhat.com> + + * gas/arm/arm.exp (undefined): Run a COFF variant of this test for + COFF based ports. + * gas/arm/undefined_coff.s: New file: Variant of undefined.s but + with a COFF formated local label name. + * gas/arm/undefined_coff.l: New file. Variant of undefined.l. + +2005-03-01 Stig Petter Olsroed <stigpo@users.sourceforge.net> + Nick Clifton <nickc@redhat.com> + + * gas/arm/inst.d: Allow for ARM ports which decode the reloc + associated with branches and so show the exact symbolic + destination address rather than an offset from the start of the + section. + * gas/arm/pic.d: Likewise. + +2005-03-01 Alan Modra <amodra@bigpond.net.au> + + * gas/m68k/mcf-emac.d: Allow for 64-bit addresses. + * gas/m68k/mcf-mac.d: Likewise. + * gas/m68k/mcf-mov3q.d: Likewise. + * gas/m68k/mode5.d: Likewise. + +2005-02-22 Eric Christopher <echristo@redhat.com> + + * gas/mips/elf-rel10.d: Update for label change. + +2005-02-22 Maciej W. Rozycki <macro@mips.com> + + * gas/mips/mips16-dwarf2.d: Pass -mabi=32. Include relocation + information. + * gas/mips/mips16-dwarf2-n32.d: New test to check DWARF2 line + information for MIPS16 for the n32 ABI. + * gas/mips/mips.exp. Run the new test. + +2005-02-22 Eric Christopher <echristo@redhat.com> + + * gas/mips/elf-rel10.s: Add label for frob. + +2005-02-22 Maciej W. Rozycki <macro@mips.com> + + * gas/mips/mips16-dwarf2.d: New test to check DWARF2 line + information for MIPS16. + * gas/mips/mips16-dwarf2.s: Source for the new test. + * gas/mips/mips.exp: Run the new test. + +2005-02-21 Alan Modra <amodra@bigpond.net.au> + + * gas/d10v/instruction_packing-005.d: Adjust. + * gas/d10v/instruction_packing-008.d: Ignore disassembled stabs. + * gas/d10v/instruction_packing-009.d: Likewise. + * gas/d10v/instruction_packing-010.d: Likewise. + * gas/d10v/warning-001.d: Use #warning instead of #error. + * gas/d10v/warning-002.d: Likewise. + * gas/d10v/warning-003.d: Likewise. + * gas/d10v/warning-004.d: Likewise. + * gas/d10v/warning-005.d: Likewise. + * gas/d10v/warning-006.d: Likewise. + * gas/d10v/warning-007.d: Likewise. + * gas/d10v/warning-008.d: Likewise. + * gas/d10v/warning-009.d: Likewise. + * gas/d10v/warning-010.d: Likewise. + * gas/d10v/warning-011.d: Likewise. + * gas/d10v/warning-012.d: Likewise. + * gas/d10v/warning-013.d: Likewise. + * gas/d10v/warning-015.d: Likewise. + * gas/d10v/warning-016.d: Likewise. + * gas/d10v/warning-017.d: Likewise. + * gas/d10v/warning-018.d: Likewise. + * gas/d10v/warning-019.d: Likewise. + * lib/gas-defs.exp (run_dump_test): Don't require a dump program if + #warning given. Rearrange to allow $program to remain unset. + Fail the test if warning not found when expected. Conversely fail + the test if assembler errors or warnings given when not expected. + +2005-02-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> + + * gas/mips/noat-1.s, gas/mips/noat-1.d, gas/mips/noat-2.s, + gas/mips/noat2.l, gas/mips/noat-3.s, gas/mips/noat-3.l, + gas/mips/noat-4.s, gas/mips/noat-4.l, gas/mips/noat-5.s, + gas/mips/noat-5.l, gas/mips/noat-6.s, gas/mips/noat-6.l, + gas/mips/noat-7.s, gas/mips/noat-7.l: New files, testcases for + .set noat in macro expansions. + * gas/mips/mips.exp: Run new testcases. + * gas/mips/rol-hw.d, gas/mips/rol-hw.l, gas/mips/rol.d, + gas/mips/rol.l, gas/mips/rol.s, gas/mips/rol64-hw.d, + gas/mips/rol64-hw.l, gas/mips/rol64.d, gas/mips/rol64.l, + gas/mips/rol64.s, gas/mips/uld2-eb.d, gas/mips/uld2-el.d, + gas/mips/uld2.l, gas/mips/uld2.s, gas/mips/ulh2-eb.d, + gas/mips/ulh2-el.d, gas/mips/ulh2.l, gas/mips/ulh2.s, + gas/mips/ulw2-eb-ilocks.d, gas/mips/ulw2-eb.d, + gas/mips/ulw2-el-ilocks.d, gas/mips/ulw2-el.d, gas/mips/ulw2.l, + gas/mips/ulw2.s: Don't try to test .set noat. + +2005-02-17 H.J. Lu <hongjiu.lu@intel.com> + + * gas/ia64/hint.b-err.l: New file. + * gas/ia64/hint.b-err.s: Likewise. + * gas/ia64/hint.b-warn.l: Likewise. + * gas/ia64/hint.b-warn.s: Likewise. + + * gas/ia64/ia64.exp: Run hint.b-err and hint.b-warn. + + * gas/ia64/opc-b.d: Pass -mhint.b=ok to as. + +2005-02-17 Jan Beulich <jbeulich@novell.com> + + * gas/ia64/nostkreg.[ds]: New. + * gas/ia64/ia64.exp: Run new test. + +2005-02-16 Alan Modra <amodra@bigpond.net.au> + + * gas/all/gas.exp (quad): Don't run on i960. + +2005-02-15 Nigel Stephens <nigel@mips.com> + Maciej W. Rozycki <macro@mips.com> + + * gas/mips/mips16-hilo.d: New test for the R_MIPS16_HI16 and + R_MIPS16_LO16 relocs. + * gas/mips/mips16-hilo-n32.d: Likewise, for the n32 ABI. + * gas/mips/mips16-hilo.s: Source for the new tests. + * gas/mips/mips.exp: Run the new tests. + +2005-02-15 Jan Beulich <jbeulich@novell.com> + + * gas/ia64/pcrel.[ds]: New. + * gas/ia64/ia64.exp: Run new test. + +2005-02-15 Jan Beulich <jbeulich@novell.com> + + * gas/ia64/dv-raw-err.l: Expect specific resource for RAW + violation on b0. + * gas/ia64/regval.[ls]: New. + * gas/ia64/ia64.exp: Run new test. + +2005-02-15 Jan Beulich <jbeulich@novell.com> + + * gas/ia64/dv-raw-err.s: Don't use r0 or f0 as output operand. + * gas/ia64/dv-waw-err.s: Likewise. + * gas/ia64/reg-err.[ls]: New. + * gas/ia64/ia64.exp: Run new test. + +2005-02-15 Jan Beulich <jbeulich@novell.com> + + * gas/ia64/reloc.[ds]: New. + * gas/ia64/reloc-bad.[ls]: New. + * gas/ia64/ia64.exp: Run new tests. + +2005-02-15 Jan Beulich <jbeulich@novell.com> + + * gas/ia64/operand-or.d: Pass -xnone to assembler. + +2005-02-13 Jan Beulich <jbeulich@novell.com> + + * gas/ia64/label.l: Adjust line numbers. + * gas/ia64/label.s: Add .explicit. + * gas/ia64/nop_x.s: Likewise. + * gas/ia64/opc-a.d: Add assembler option -xnone. + * gas/ia64/opc-b.d: Likewise. + * gas/ia64/opc-f.d: Likewise. + * gas/ia64/opc-i.d: Likewise. + * gas/ia64/opc-m.d: Likewise. + * gas/ia64/opc-x.d: Likewise. + * gas/ia64/pseudo.d: Likewise. + * gas/ia64/regs.d: Likewise. + * gas/ia64/tls.d: Likewise. + * gas/ia64/unwind-err.l: Adjust line numbers. + * gas/ia64/unwind-err.s: Remove explicit stops. + +2005-02-13 Jan Beulich <jbeulich@novell.com> + + * gas/ia64/pound.[ls]: New. + * gas/ia64/ia64.exp: Run new test. + +2005-02-13 H.J. Lu <hongjiu.lu@intel.com> + + * gas/ia64/ia64.exp: Add "operand-or". + + * gas/ia64/operand-or.d: New file. + * gas/ia64/operand-or.s: Likewise. + +2005-02-11 H.J. Lu <hongjiu.lu@intel.com> + + * gas/ia64/ia64.exp: Pass -munwind-check=error for unwind-err + and proc. + +2005-02-10 Julian Brown <julian@codesourcery.com> + + * gas/arm/unwind.d: Alter expected output to include dependency on + __aeabi_unwind_cpp_pr[01]. + +2005-02-09 Jan Beulich <jbeulich@novell.com> + + * gas/i386/intelok.s: Remove comments disabling alternative forms of + fbld, fbstp, and fldcw. + * gas/i386/intelok.d: Expect two instances of fbld, fbstp, and fldcw. + +2005-02-07 Inderpreet Singh <inderpreetb@noida.hcltech.com> + + * gas/maxq10/jump.d: Fixed relative jump offset. + * gas/maxq10/call.d: Likewise. + * gas/maxq20/jump.d: Likewise. + * gas/maxq20/call.d: Likewise. + +2005-02-07 Hans-Peter Nilsson <hp@axis.com> + + * lib/gas-defs.exp: Support new directive "warning". + +2005-02-02 Jan Beulich <jbeulich@novell.com> + + * gas/ia64/pred-rel.s: New. + * gas/ia64/ia64.exp: Run new test. + +2005-01-31 Daniel Jacobowitz <dan@codesourcery.com> + + * gas/mips/elf-rel23.d, gas/mips/elf-rel23a.d: Accept little-endian. + * gas/mips/tmipsel16-e.d, gas/mips/tmipsel16-f.d: Accept section + symbol names. + +2005-01-31 Jan Beulich <jbeulich@novell.com> + + * gas/macros/repeat.[ds]: New. + * gas/macros/macros.exp: Run new test. + +2005-01-31 Jan Beulich <jbeulich@novell.com> + + * gas/macros/badarg.[ls]: New. + * gas/macros/end.[ls]: New. + * gas/macros/redef.[ls]: New. + * gas/macros/macros.exp (run_list_test): Copy from elsewhere. + Run new tests. + +2005-01-31 Jan Beulich <jbeulich@novell.com> + + * gas/ia64/operands.[ls]: New. + * gas/ia64/ia64.exp: Run new test. + +2005-01-31 Jan Beulich <jbeulich@novell.com> + + * gas/ia64/proc.[ls]: New. + * gas/ia64/unwind-err.[ls]: New. + * gas/ia64/ia64.exp: Run new tests. + +2005-01-31 Jan Beulich <jbeulich@novell.com> + + * gas/ia64/bundling.[ds]: New. + * gas/ia64/label.[ls]: New. + * gas/ia64/last.[ls]: New. + * gas/ia64/slot2.[ls]: New. + * gas/ia64/ia64.exp: Run new tests. + +2005-01-31 Jan Beulich <jbeulich@novell.com> + + * gas/ia64/pseudo.[ds]: New. + * gas/ia64/ia64.exp: Run new test. + +2005-01-27 Jan Beulich <jbeulich@novell.com> + + * gas/ia64/nop_x.[ds]: New. + * gas/ia64/ia64.exp: Run new test. + +2005-01-27 Jan Beulich <jbeulich@novell.com> + + * gas/ia64/dv-waw-err.l: Don't expect ar112 move warning to refer to + M-unit. + * gas/ia64/mov-ar.[ds]: New. + * gas/ia64/ia64.exp: Run new test. + +2005-01-24 Nick Clifton <nickc@redhat.com> + + * gas/all/sleb128.d: Do not assume an 8-bit byte. + * gas/all/quad.d: Likewise. Also allow for ports which order + bytes within words in other than simple big-endian or + little-endian fashions. + +2005-01-19 Richard Sandiford <rsandifo@redhat.com> + + * gas/all/sleb128.[sd]: New test. + * gas/all/quad.[sd]: New test. + * gas/all/gas.exp: Run them. + +2005-01-17 Andrew Stubbs <andrew.stubbs@st.com> + + * gas/sh/arch/arch.exp: Correct the email address. + Correct a few comment typos. + Add new tests to ensure that the assembler will only accept + instructions valid in each architecture and vice-versa. + * gas/sh/arch/arch_expected.txt: Update/Correct the test results. + * gas/sh/arch/sh2a-nofpu-or-sh3-nommu.s: Regenerate. + * gas/sh/arch/sh2a-nofpu-or-sh4-nommu-nofpu.s: Regenerate. + * gas/sh/arch/sh2a-nofpu.s: Generate new file. + * gas/sh/arch/sh2a-or-sh3e.s: Regenerate. + * gas/sh/arch/sh2a-or-sh4.s: Regenerate. + * gas/sh/arch/sh2a.s: Generate new file. + * gas/sh/arch/sh2e.s: Regenerate. + * gas/sh/arch/sh2.s: Regenerate. + * gas/sh/arch/sh3-dsp.s: Regenerate. + * gas/sh/arch/sh3e.s: Regenerate. + * gas/sh/arch/sh3-nommu.s: Regenerate. + * gas/sh/arch/sh3.s: Regenerate. + * gas/sh/arch/sh4al-dsp.s: Regenerate. + * gas/sh/arch/sh4a-nofpu.s: Regenerate. + * gas/sh/arch/sh4a.s: Regenerate. + * gas/sh/arch/sh4-nofpu.s: Regenerate. + * gas/sh/arch/sh4-nommu-nofpu.s: Regenerate. + * gas/sh/arch/sh4.s: Regenerate. + * gas/sh/arch/sh-dsp.s: Regenerate. + * gas/sh/arch/sh.s: Regenerate. + +2005-01-12 H.J. Lu <hongjiu.lu@intel.com> + + * i386/i386.exp: Run "sib". + + * gas/i386/sib.d: New file. + * gas/i386/sib.s: Likewise. + +2005-01-09 Andreas Schwab <schwab@suse.de> + + * gas/i386/intel16.d: Ignore trailing text with #pass. + * gas/i386/intelok.d: Likewise. + * gas/i386/prefix.d: Likewise. + * gas/i386/sub.d: Likewise. + * gas/i386/padlock.d: Likewise. + * gas/i386/x86_64.d: Likewise. + +2005-01-05 Eric Botcazou <ebotcazou@libertysurf.fr> + + * gas/elf/elf.exp (section5): Use 0-9 instead of [:digit:]. + +For older changes see ChangeLog-2004 + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/gprof/ChangeLog b/gprof/ChangeLog index ddf2ef3..5ec05a6 100644 --- a/gprof/ChangeLog +++ b/gprof/ChangeLog @@ -1,248 +1,4 @@ -2005-12-27 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am (Makefile): Remove dependency. - * Makefile.in: Regenerate. - * aclocal.m4: Regenerate. - * gconfig.in: Regenerate. - -2005-11-16 Mark Mitchell <mark@codesourcery.com> - - * Makefile.am (gprof.info, gprof.1): Depend on config.texi. - (config.texi): New file. - * Makefile.in: Regenerated. - -2005-11-07 Steve Ellcey <sje@cup.hp.com> - - * configure: Regenerate after modifying bfd/warning.m4. - -2005-10-30 Mark Mitchell <mark@codesourcery.com> - - * gprof.c (usage): Document "@FILE". - -2005-09-30 Nick Clifton <nickc@redhat.com> - - * po/ga.po: New Irish translation. - * configure.in (ALL_LINGUAS): Add "ga". - * configure: Regenerate. - -2005-09-30 Mark Mitchell <mark@codesourcery.com> - - * gprof.c (main): Use expandargv. - -2005-09-30 Matthias Kurz <mk@baerlap.north.de> - - * gprof.c (main):Only invoke bindtextdomain() and textdomain() if - ENABLE_NLS is defined. - -2005-05-09 Nick Clifton <nickc@redhat.com> - - * Update the address and phone number of the FSF organization in - the GPL notices in the following files: - aclocal.m4, basic_blocks.c, basic_blocks.h, bb_exit_func.c, - bbconv.pl, call_graph.c, call_graph.h, cg_print.c, cg_print.h, - corefile.c, corefile.h, gmon_io.c, gmon_io.h, gmon_out.h, - gprof.texi, hist.c, hist.h, search_list.c, search_list.h, - source.c, source.h, sym_ids.c, sym_ids.h, symtab.c, symtab.h - -2005-04-25 Ben Elliston <bje@au.ibm.com> - - * corefile.h (core_num_syms): Remove unused extern declaration. - (core_syms): Likewise. - (min_insn_size): Likewise. - -2005-04-24 Ben Elliston <bje@au.ibm.com> - - * corefile.c (core_num_syms): Make static. - (core_syms): Likewise. - (min_insn_size): Likewise. - * gprof.c (abfd): Remove unused variable. - * hist.c (hist_dimension): Make static. - (hist_dimension_abbrev): Likewise. - * sym_ids.c (id_list): Likewise. - (table_name): Likewise. - -2005-04-14 Alan Modra <amodra@bigpond.net.au> - - * corefile.c (core_init): Call bfd_get_synthetic_symtab. - -2005-04-14 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am (NO_WERROR): Define. - * acinclude.m4: Include ../bfd/warning.m4. - * configure.in: Invoke AM_BINUTILS_WARNINGS. - * Makefile.in: Regenerate. - * aclocal.m4: Regenerate. - * configure: Regenerate. - -2005-04-06 Nick Clifton <nickc@redhat.com> - - * po/rw.po: New translation: Kinyarwanda - * configure.in (ALL_LINGUAS): Add rw - * configure: Regenerate. - -2005-04-04 Nick Clifton <nickc@redhat.com> - - * configure.in: Add a check for <unistd.h> providing a prototype - for getopt() which is compatible with the one in - include/getopt.h. If so then define HAVE_DECL_GETOPT. - * configure: Regenerate. - * gconfig.in (HAVE_DECL_GETOPT): Add. - -2005-03-29 Nick Clifton <nickc@redhat.com> - - * po/de.po: Updated German translation. - -2005-03-17 Nick Clifton <nickc@redhat.com> - - * po/vi.po: Updated Vietnamese translation. - -2005-03-16 Nick Clifton <nickc@redhat.com> - Ben Elliston <bje@au.ibm.com> - - * configure.in (werror): New switch: Add -Werror to the - compiler command line. Enabled by default. Disable via - --disable-werror. - * configure: Regenerate. - -2005-03-15 Nick Clifton <nickc@redhat.com> - - * basic_blocks.c (print_exec_counts): Step through sorted array of - basic blocks. - -2005-03-15 Alan Modra <amodra@bigpond.net.au> - - * po/es.po: Commit new Spanish translation. - - * po/fr.po: Commit new French translation. - -2005-03-14 Alan Modra <amodra@bigpond.net.au> - - * gmon_io.c (gmon_write_raw_arc): Return 1 for invalid size. - -2005-03-14 Alan Modra <amodra@bigpond.net.au> - - * po/tr.po: Commit new Turkish translation. - -2005-03-05 Alan Modra <amodra@bigpond.net.au> - - * po/gprof.pot: Regenerate. - -2005-02-22 Alan Modra <amodra@bigpond.net.au> - - * basic_blocks.c: Warning fixes. - * gmon_io.c: Likewise. - * hist.c: Likewise. - * hist.h: Likewise. - -2005-01-31 Andrew Cagney <cagney@gnu.org> - - * configure: Regenerate to track ../gettext.m4. - -2005-01-31 Nick Clifton <nickc@redhat.com> - - * po/vi/po: New file: Vietnamese translation. - * configure.in: (ALL_LINGUAS): Add vi. - * configure: Regenerate. - -2005-01-27 Andrew Cagney <cagney@gnu.org> - - * configure: Regenerate to track ../gettext.m4 change. - -2005-01-21 Ben Elliston <bje@au.ibm.com> - - * gmon.h, alpha.c, vax.c: Remove #if 0'd chunks. - -2004-11-30 Tero Niemela <tero_niemela@yahoo.com> - - * Makefile.am: Change LOCALEDIR to $(datadir)/share. - * Makefile.in: Regenerate. - -2004-09-17 Alan Modra <amodra@bigpond.net.au> - - * Makefile.in: Regenerate. - * aclocal.m4: Regenerate. - * configure: Regenerate. - * po/gprof.pot: Regenerate. - -2004-07-13 Ben Elliston <bje@au.ibm.com> - - * gprof.c (main): For line-by-line profiling, there is no need to - specially exclude the default function set from the flat profile. - -2004-06-28 Maciej W. Rozycki <macro@linux-mips.org> - - * Makefile.in: Regenerate to clean up breakage. - -2004-06-15 Ben Elliston <bje@au.ibm.com> - - * configure.in: Run through autoupdate. - * configure: Regenerate with autoconf 2.59. - * Makefile.am (install-local): Rename from this .. - (install-data-local): .. to this. - * Makefile.in: Regenerate with automake 1.8.5. - * aclocal.m4: Regenerate with aclocal 1.8.5. - -2004-06-15 Alan Modra <amodra@bigpond.net.au> - - * corefile.c (core_init): Use bfd_get_section_size - instead of bfd_get_section_size_before_reloc or _raw_size. - * symtab.c (symtab_finalize): Likewise. - -2004-05-26 Andrew Cagney <cagney@gnu.org> - - * corefile.c (core_create_line_syms): Per ISO C '90, move - vma_high's declaration to the function's start. - -2004-05-26 Ben Elliston <bje@au.ibm.com> - - * gprof.c (main): Clean up some more. - - * alpha.c, basic_blocks.c, basic_blocks.h, bb_exit_func.c, - call_graph.c, call_graph.h, cg_arcs.c, cg_arcs.h, cg_dfn.c, - cg_dfn.h, cg_print.c, cg_print.h, corefile.c, corefile.h, - gmon_io.c, gmon_io.h, gprof.c, gprof.h, hertz.h, hist.c, hist.h, - i386.c, mips.c, search_list.c, search_list.h, source.c, source.h, - sparc.c, sym_ids.c, sym_ids.h, symtab.c, symtab.h, tahoe.c, - utils.c, utils.h, vax.c, gen-c-prog.awk: Convert K&R C to ANSI C. - -2004-05-26 Ben Elliston <bje@au.ibm.com> - - * corefile.c (core_init): Use a separate local variable, - core_sym_bytes, to make the units from bfd_get_symtab_upper_bound - more obvious. - (core_create_function_syms): Discard cbfd argument. Eliminate - `offset' variable and calculate VMA directly. Update all users. - * corefile.h (core_create_function_syms): Update prototype. - (core_create_line_syms): Likewise. - * gprof.c (main): Remove #ifdef PROF_SUPPORT_IMPLEMENTED code. - Tidy. - -2004-05-17 Ben Elliston <bje@au.ibm.com> - - * gprof.texi (Output Options): Correct last patch to use @itemx, not - @item, for options with long option alternatives. - -2004-05-17 Ben Elliston <bje@au.ibm.com> - - * gprof.texi (Introduction): Update synopsis. - (Output Options): Document -r and -R. - (Analysis Options): Document -t, --table-length. - (Miscellaneous Options): Document -h, --help. - -2004-05-13 Nick Clifton <nickc@redhat.com> - - * po/fr.po: Updated French translation. - -2004-03-19 Alan Modra <amodra@bigpond.net.au> - - * po/sv.po: Updated. - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - * gconfig.in: Regenerate. - * po/gprof.pot: Regenerate. - -For older changes see ChangeLog-9203 +For older changes see ChangeLog-2005 Local Variables: mode: change-log diff --git a/gprof/ChangeLog-2004 b/gprof/ChangeLog-2004 new file mode 100644 index 0000000..df25358 --- /dev/null +++ b/gprof/ChangeLog-2004 @@ -0,0 +1,98 @@ +2004-11-30 Tero Niemela <tero_niemela@yahoo.com> + + * Makefile.am: Change LOCALEDIR to $(datadir)/share. + * Makefile.in: Regenerate. + +2004-09-17 Alan Modra <amodra@bigpond.net.au> + + * Makefile.in: Regenerate. + * aclocal.m4: Regenerate. + * configure: Regenerate. + * po/gprof.pot: Regenerate. + +2004-07-13 Ben Elliston <bje@au.ibm.com> + + * gprof.c (main): For line-by-line profiling, there is no need to + specially exclude the default function set from the flat profile. + +2004-06-28 Maciej W. Rozycki <macro@linux-mips.org> + + * Makefile.in: Regenerate to clean up breakage. + +2004-06-15 Ben Elliston <bje@au.ibm.com> + + * configure.in: Run through autoupdate. + * configure: Regenerate with autoconf 2.59. + * Makefile.am (install-local): Rename from this .. + (install-data-local): .. to this. + * Makefile.in: Regenerate with automake 1.8.5. + * aclocal.m4: Regenerate with aclocal 1.8.5. + +2004-06-15 Alan Modra <amodra@bigpond.net.au> + + * corefile.c (core_init): Use bfd_get_section_size + instead of bfd_get_section_size_before_reloc or _raw_size. + * symtab.c (symtab_finalize): Likewise. + +2004-05-26 Andrew Cagney <cagney@gnu.org> + + * corefile.c (core_create_line_syms): Per ISO C '90, move + vma_high's declaration to the function's start. + +2004-05-26 Ben Elliston <bje@au.ibm.com> + + * gprof.c (main): Clean up some more. + + * alpha.c, basic_blocks.c, basic_blocks.h, bb_exit_func.c, + call_graph.c, call_graph.h, cg_arcs.c, cg_arcs.h, cg_dfn.c, + cg_dfn.h, cg_print.c, cg_print.h, corefile.c, corefile.h, + gmon_io.c, gmon_io.h, gprof.c, gprof.h, hertz.h, hist.c, hist.h, + i386.c, mips.c, search_list.c, search_list.h, source.c, source.h, + sparc.c, sym_ids.c, sym_ids.h, symtab.c, symtab.h, tahoe.c, + utils.c, utils.h, vax.c, gen-c-prog.awk: Convert K&R C to ANSI C. + +2004-05-26 Ben Elliston <bje@au.ibm.com> + + * corefile.c (core_init): Use a separate local variable, + core_sym_bytes, to make the units from bfd_get_symtab_upper_bound + more obvious. + (core_create_function_syms): Discard cbfd argument. Eliminate + `offset' variable and calculate VMA directly. Update all users. + * corefile.h (core_create_function_syms): Update prototype. + (core_create_line_syms): Likewise. + * gprof.c (main): Remove #ifdef PROF_SUPPORT_IMPLEMENTED code. + Tidy. + +2004-05-17 Ben Elliston <bje@au.ibm.com> + + * gprof.texi (Output Options): Correct last patch to use @itemx, not + @item, for options with long option alternatives. + +2004-05-17 Ben Elliston <bje@au.ibm.com> + + * gprof.texi (Introduction): Update synopsis. + (Output Options): Document -r and -R. + (Analysis Options): Document -t, --table-length. + (Miscellaneous Options): Document -h, --help. + +2004-05-13 Nick Clifton <nickc@redhat.com> + + * po/fr.po: Updated French translation. + +2004-03-19 Alan Modra <amodra@bigpond.net.au> + + * po/sv.po: Updated. + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + * gconfig.in: Regenerate. + * po/gprof.pot: Regenerate. + +For older changes see ChangeLog-9203 + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/gprof/ChangeLog-2005 b/gprof/ChangeLog-2005 new file mode 100644 index 0000000..389fdae --- /dev/null +++ b/gprof/ChangeLog-2005 @@ -0,0 +1,162 @@ +2005-12-27 Alan Modra <amodra@bigpond.net.au> + + * Makefile.am (Makefile): Remove dependency. + * Makefile.in: Regenerate. + * aclocal.m4: Regenerate. + * gconfig.in: Regenerate. + +2005-11-16 Mark Mitchell <mark@codesourcery.com> + + * Makefile.am (gprof.info, gprof.1): Depend on config.texi. + (config.texi): New file. + * Makefile.in: Regenerated. + +2005-11-07 Steve Ellcey <sje@cup.hp.com> + + * configure: Regenerate after modifying bfd/warning.m4. + +2005-10-30 Mark Mitchell <mark@codesourcery.com> + + * gprof.c (usage): Document "@FILE". + +2005-09-30 Nick Clifton <nickc@redhat.com> + + * po/ga.po: New Irish translation. + * configure.in (ALL_LINGUAS): Add "ga". + * configure: Regenerate. + +2005-09-30 Mark Mitchell <mark@codesourcery.com> + + * gprof.c (main): Use expandargv. + +2005-09-30 Matthias Kurz <mk@baerlap.north.de> + + * gprof.c (main):Only invoke bindtextdomain() and textdomain() if + ENABLE_NLS is defined. + +2005-05-09 Nick Clifton <nickc@redhat.com> + + * Update the address and phone number of the FSF organization in + the GPL notices in the following files: + aclocal.m4, basic_blocks.c, basic_blocks.h, bb_exit_func.c, + bbconv.pl, call_graph.c, call_graph.h, cg_print.c, cg_print.h, + corefile.c, corefile.h, gmon_io.c, gmon_io.h, gmon_out.h, + gprof.texi, hist.c, hist.h, search_list.c, search_list.h, + source.c, source.h, sym_ids.c, sym_ids.h, symtab.c, symtab.h + +2005-04-25 Ben Elliston <bje@au.ibm.com> + + * corefile.h (core_num_syms): Remove unused extern declaration. + (core_syms): Likewise. + (min_insn_size): Likewise. + +2005-04-24 Ben Elliston <bje@au.ibm.com> + + * corefile.c (core_num_syms): Make static. + (core_syms): Likewise. + (min_insn_size): Likewise. + * gprof.c (abfd): Remove unused variable. + * hist.c (hist_dimension): Make static. + (hist_dimension_abbrev): Likewise. + * sym_ids.c (id_list): Likewise. + (table_name): Likewise. + +2005-04-14 Alan Modra <amodra@bigpond.net.au> + + * corefile.c (core_init): Call bfd_get_synthetic_symtab. + +2005-04-14 Alan Modra <amodra@bigpond.net.au> + + * Makefile.am (NO_WERROR): Define. + * acinclude.m4: Include ../bfd/warning.m4. + * configure.in: Invoke AM_BINUTILS_WARNINGS. + * Makefile.in: Regenerate. + * aclocal.m4: Regenerate. + * configure: Regenerate. + +2005-04-06 Nick Clifton <nickc@redhat.com> + + * po/rw.po: New translation: Kinyarwanda + * configure.in (ALL_LINGUAS): Add rw + * configure: Regenerate. + +2005-04-04 Nick Clifton <nickc@redhat.com> + + * configure.in: Add a check for <unistd.h> providing a prototype + for getopt() which is compatible with the one in + include/getopt.h. If so then define HAVE_DECL_GETOPT. + * configure: Regenerate. + * gconfig.in (HAVE_DECL_GETOPT): Add. + +2005-03-29 Nick Clifton <nickc@redhat.com> + + * po/de.po: Updated German translation. + +2005-03-17 Nick Clifton <nickc@redhat.com> + + * po/vi.po: Updated Vietnamese translation. + +2005-03-16 Nick Clifton <nickc@redhat.com> + Ben Elliston <bje@au.ibm.com> + + * configure.in (werror): New switch: Add -Werror to the + compiler command line. Enabled by default. Disable via + --disable-werror. + * configure: Regenerate. + +2005-03-15 Nick Clifton <nickc@redhat.com> + + * basic_blocks.c (print_exec_counts): Step through sorted array of + basic blocks. + +2005-03-15 Alan Modra <amodra@bigpond.net.au> + + * po/es.po: Commit new Spanish translation. + + * po/fr.po: Commit new French translation. + +2005-03-14 Alan Modra <amodra@bigpond.net.au> + + * gmon_io.c (gmon_write_raw_arc): Return 1 for invalid size. + +2005-03-14 Alan Modra <amodra@bigpond.net.au> + + * po/tr.po: Commit new Turkish translation. + +2005-03-05 Alan Modra <amodra@bigpond.net.au> + + * po/gprof.pot: Regenerate. + +2005-02-22 Alan Modra <amodra@bigpond.net.au> + + * basic_blocks.c: Warning fixes. + * gmon_io.c: Likewise. + * hist.c: Likewise. + * hist.h: Likewise. + +2005-01-31 Andrew Cagney <cagney@gnu.org> + + * configure: Regenerate to track ../gettext.m4. + +2005-01-31 Nick Clifton <nickc@redhat.com> + + * po/vi/po: New file: Vietnamese translation. + * configure.in: (ALL_LINGUAS): Add vi. + * configure: Regenerate. + +2005-01-27 Andrew Cagney <cagney@gnu.org> + + * configure: Regenerate to track ../gettext.m4 change. + +2005-01-21 Ben Elliston <bje@au.ibm.com> + + * gmon.h, alpha.c, vax.c: Remove #if 0'd chunks. + +For older changes see ChangeLog-2004 + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/ld/ChangeLog b/ld/ChangeLog index 5bdba2d..c93310d 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -8,3275 +8,7 @@ * ld.texinfo (Options): Fix typo. -2005-12-28 Jie Zhang <jie.zhang@analog.com> - - * emulparams/bfin.sh: Define DATA_END_SYMBOLS and END_SYMBOLS. - And add a prefix '_' to ENTRY. - * scripttempl/elf.sc: Add END_SYMBOLS. - -2005-12-27 H.J. Lu <hongjiu.lu@intel.com> - - * emultempl/xtensaelf.em (elf_xtensa_place_orphan): Delete. - (LDEMUL_PLACE_ORPHAN): Delete. - -2005-12-27 Leif Ekblad <leif@rdos.net> - - * configure.tgt: Add support for RDOS targets. - -2005-12-27 Nick Clifton <nickc@redhat.com> - - * po/vi.po: New Vietnamese translation. - * configure.in (ALL_LINGUAS): Add vi. - * configure: Regenerate. - -2005-12-27 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - -2005-12-24 Alan Modra <amodra@bigpond.net.au> - - * ldlang.h (lang_output_section_statement_type): Add prev. - * ldlang.c (output_statement_newfunc): Set os.prev. - (lang_insert_orphan): Likewise. - (output_prev_sec_find): Use os.prev. - -2005-12-22 Santosh Raktawan <santoshr2@kpitcummins.com> - - * ld/emulparms/h8300helf.sh (TINY_READONLY_SECTION, - TINY_DATA_SECTION, TINY_BSS_SECTION): Define. - * ld/emulparms/h8300self.sh: Likewise. - * ld/emulparms/h8300sxelf.sh: Likewise. - * ld/scripttempl/elf.sc: Add TINY_READONLY_SECTION, - TINY_DATA_SECTION, TINY_BSS_SECTION. - -2005-12-19 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/2065 - * ldlang.c (output_statement_newfunc): Revert the change made on - 2005-11-16. - (output_prev_sec_find): Likewise. - * ldlang.h (lang_statement_list_type): Likewise. - -2005-12-16 Nathan Sidwell <nathan@codesourcery.com> - - Second part of ms1 to mt renaming. - * emulparams/elf32mt.sh (ARCH, OUTPUT_FORMAT): Adjust. - -2005-12-14 Jakub Jelinek <jakub@redhat.com> - - * scripttempl/elf.sc: Put .gnu.linkonce.d.rel.ro.* sections into - .data.rel.ro output section. Fix a pasto for -z nocombreloc - .rela.data.rel.ro section content. - -2005-12-12 Nathan Sidwell <nathan@codesourcery.com> - - * Makefile.am (ALL_EMULATIONS): Replace ms1 files with mt files. - (eelf32mt.c): Update target name and dependencies. - * Makefile.in: Rebuilt. - * configure.tgt: Replace ms1 arch with mt arch. - * emulparams/elf32mt.sh: Renamed from elf32ms1.sh. Update - comment. - -2005-12-11 Bernhard Fischer <aldot@gcc.gnu.org> - - * scripttempl/armbpabi.sc: Fix typo in comment for .ctors. - * scripttempl/elf.sc: Ditto. - * scripttempl/elf32sh-symbian.sc: Ditto. - * scripttempl/elf_chaos.sc: Ditto. - * scripttempl/elfd10v.sc: Ditto. - * scripttempl/elfd30v.sc: Ditto. - * scripttempl/elfxtensa.sc: Ditto. - * scripttempl/iq2000.sc: Ditto. - * scripttempl/xstormy16.sc: Ditto. - -2005-12-08 Alan Modra <amodra@bigpond.net.au> - - * emultempl/ppc32elf.em (emit_stub_syms): New var. - (ppc_after_open): Pass it to ppc_elf_select_plt_layout. - (PARSE_AND_LIST_PROLOGUE <OPTION_STUBSYMS>): Define. - (PARSE_AND_LIST_LONGOPTS): Add emit-stub-syms. - (PARSE_AND_LIST_OPTIONS): Describe emit-stub-syms. - (PARSE_AND_LIST_OPTIONS): Handle it. - -2005-12-08 Alan Modra <amodra@bigpond.net.au> - - * pe-dll.c (build_filler_bfd): Conform error message to standard. - (pe_dll_generate_implib): Use %E in error message. - (add_bfd_to_link): Likewise. - (pe_implied_import_dll): Likewise. - -2005-12-07 Thiemo Seufer <ths@networkno.de> - H.J. Lu <hongjiu.lu@intel.com> - - PR ld/1932 - * emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment): - Adjust bfd_elf_record_link_assignment call. - - * ldexp.c (exp_fold_tree_1): Remove call to bfd_hide_symbol. - -2005-11-25 Jan Beulich <jbeulich@novell.com> - - * Makefile.am: Make configdoc.texi writeable before trying - to write to it. - * Makefile.in: Refresh. - -2005-11-24 Alan Modra <amodra@bigpond.net.au> - - * ldlang.c (lang_output_section_find_by_flags): Add match_type param. - Run two passes, first using match_type, second without. - * ldlang.h (lang_match_sec_type_func): New typedef. - (lang_output_section_find_by_flags): Update prototype. - bfd_match_sections_by_type and lang_output_section_find_by_flags. - * emultempl/pe.em (place_orphan): Likewise. - -2005-11-24 Alan Modra <amodra@bigpond.net.au> - - * ldlang.c (lang_insert_orphan): Skip first assignment to dot - in script when looking for place to insert orphan statements. - -2005-11-18 Alan Modra <amodra@bigpond.net.au> - - * emulparams/elf64ppc.sh (.tocbss): Use new section alignment scheme. - (.got, .toc1, .opd): Likewise. - -2005-11-18 Alan Modra <amodra@bigpond.net.au> - - * ldlang.c (lang_size_sections_1): Revert 2005-11-16 functional - changes to section alignment. - * ldmisc.c (vfinfo): Handle %ld and %lu. - -2005-11-16 Mark Mitchell <mark@codesourcery.com> - - * Makefile.am (configdoc.texi): Set top_srcdir in configdoc.texi.. - * Makefile.in: Regenerated. - * ld.texinfo: Include configdoc.texi and ldver.texi in man pages. - Add @file documentation. - -2005-11-17 Alan Modra <amodra@bigpond.net.au> - - * ldlang.h (lang_input_section_type): Remove "ifile" field. - (lang_insert_orphan, lang_add_section): Update prototypes. - * ldlang.c (lang_insert_orphan): Remove "file" param. - (lang_add_section): Likewise. Update all callers. - (wild_sort): Get an input section's bfd via "section->owner". - (size_input_section): Access just_syms_flag via bfd usrdata. - (lang_place_orphans): Update ldemul_place_orphan call. - * ldemul.h (ldemul_place_orphan): Remove input_statement param. - (struct ld_emulation_xfer_struct <place_orphan>): Likewise. - * ldemul.c (ldemul_place_orphan): Likewise. - * ldwrite.c (build_link_order): Access just_syms_flag via bfd usrdata. - * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Likewise. - * emultempl/beos.em (sort_by_file_name): Access bfd by section->owner. - (sort_sections): Likewise. - (place_orphan): Remove "file" param. Adjust lang_add_section call. - * emultempl/elf32.em (place_orphan): Remove "file" param. Adjust - lang_add_section and lang_insert_orphan calls. - * emultempl/hppaelf.em (hppaelf_add_stub_section): Adjust - lang_add_section call. - (build_section_lists): Access just_syms_flag via bfd usrdata. - * emultempl/m68hc1xelf.em (m68hc11elf_add_stub_section): Adjust - lang_add_section call. - * emultempl/mmo.em (mmo_place_orphan): Remove "file" param. Adjust - lang_add_section and lang_insert_orphan calls. - * emultempl/pe.em (place_orphan): Likewise. Access bfd via section - owner. - * emultempl/ppc64elf.em (ppc_add_stub_section): Adjust - lang_add_section call. - (build_toc_list): Access just_syms_flag via bfd usrdata. - (build_section_lists): Likewise. - * emultempl/xtensaelf.em (elf_xtensa_place_orphan): Remove "file" - param. Adjust place_orphan call. - (ld_build_required_section_dependence): Access bfd via section owner. - -2005-11-16 Alan Modra <amodra@bigpond.net.au> - - * ldlang.h (lang_output_section_statement_type): Add prev. - * ldlang.c (new_afile): Always init header.type. - (output_statement_newfunc): Set os.prev. - (output_prev_sec_find): Use os.prev. - (lang_enter_output_section_statement): Formatting. - (lang_final, lang_add_target, lang_add_fill): Likewise. - (lang_add_data, lang_add_reloc): Likewise. - (lang_add_attribute): Only alloc the header. - -2005-11-16 Alan Modra <amodra@bigpond.net.au> - - * ld.texinfo (Forced Output Alignment): Specify that this is an - alignment increase, not an override. - * ldlang.c (init_os): Set output section alignment here.. - (lang_add_section): ..rather than here. - (lang_size_sections_1): Consolidate alignment code. Warn if section - alignment affects start address when explicit address given. - -2005-11-07 Steve Ellcey <sje@cup.hp.com> - - * configure: Regenerate after modifying bfd/warning.m4. - -2005-11-07 Olaf Hering <olh@suse.de> - - * ldmain.c (main): Add \n to error message. - -2005-11-04 Alan Modra <amodra@bigpond.net.au> - - * ldlang.c (struct output_statement_hash_entry): Don't indirect to os. - (output_statement_newfunc): Rewrite. - (lang_output_section_find_1): Merge into.. - (lang_output_section_find): ..here. - (lang_output_section_statement_lookup_1): Rewrite to handle - multiple sections with the same name. - (output_statement_table_init): Commonise error message. - (lang_init, open_output): Likewise. - -2005-11-03 Paul Brook <paul@codesourcery.com> - - * scripttempl/elf.sc: Add .init_array.* and .fini_array.*. - * scripttempl/armbpabi.sc: Make init/fini array consistent with - elf.sc. - * scripttempl/elf32sh-symbian.sc: Ditto. - * scripttempl/elfxtensa.sc: Ditto. - -2005-11-03 Alan Modra <amodra@bigpond.net.au> - - * ldlang.h (lang_output_section_statement_type): Rearrange. Remove - memspec. Make "processed" a bitfield. - (lang_data_statement_type, lang_reloc_statement_type): Rename - output_vma to output_offset. - * ldlang.c (lang_output_section_statement_lookup_1): Init - all_input_readonly. Don't init memspec. - (init_os): Remove incorrect comment. - (print_data_statement, print_reloc_statement): Adjust for - lang_data_statement_type and lang_reloc_statement_type change. - (lang_size_sections_1, lang_add_reloc): Likewise. - * ldwrite.c (build_link_order): Likewise. - -2005-10-30 Mark Mitchell <mark@codesourcery.com> - - * lexsup.c (help): Document "@FILE". - -2005-10-30 H.J. Lu <hongjiu.lu@intel.com> - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerated. - - * dep-in.sed: Replace " ./" with " ". - -2005-10-25 Arnold Metselaar <arnold.metselaar@planet.nl> - - * Makefile.am: Add support for Z80 - * Makefile.in: Regenerated - * configure.tgt: Add z80-*-coff - * emulparams/z80.sh: New file. - * emultempl/z80.em: New file. - * scripttempl/z80.sc New file. - * NEWS: Mention this new support. - -2005-10-25 Alan Modra <amodra@bigpond.net.au> - - * po/ld.pot: Regenerate. - -2005-10-25 Chris Metcalf <cdmetcalf@comcast.net> - - * ld.texinfo (--reduce-memory-overheads): Fix typo. - -2005-10-23 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/1487 - * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call - bfd_match_sections_by_type to match section types. - - * ldlang.c (init_os): Take the input section. Call - bfd_init_private_section_data if the input section isn't NULL. - (exp_init_os): Pass NULL to init_os. - (map_input_to_output_sections): Likewise. - (lang_add_section): Pass the input section to init_os. - -2005-10-19 Paul Brook <paul@codesourcery.com> - - * emulparams/armelf.sh: Add .ARM.attributes to OTHER_SECTIONS. - -2005-10-15 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/1467 - * emultempl/elf32.em: Include "elf-bfd.h". - (gld${EMULATION_NAME}_place_orphan): Check section type and - don't use section name for ELF input sections. - - * ld.texinfo: Document orphan section processing. - - * ldlang.c (lang_output_section_find_by_flags): Match section - types by calling bfd_match_sections_by_type. - -2005-10-13 Mark Mitchell <mark@codesourcery.com> - - * ld.texino: Describe double-quoted string syntax for version - nodes. - * ldlang.h (lang_new_vers_pattern): Add literal_p parameter. - * ldgram.y (vers_defns): Allow NAME as well as VERS_IDENTIFIER. - Adjust calls to lang_new_vers_pattern to pass literal_p argument. - * ldlang.c (lang_vers_match): Fix indentation. Do not glob-match - version nodes without a pattern. - (lang_new_vers_pattern): Add literal_p parameter. - (lang_do_version_exports_section): Pass it. - -2005-10-12 Mark Mitchell <mark@codesourcery.com> - - * NEWS: Mention @file. - -2005-10-05 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/1396 - * ldcref.c (check_refs): Accept bfd_boolean. - (check_local_sym_xref): Pass FALSE to check_refs. - (check_nocrossref): Pass TRUE to check_refs. - (check_refs_info): Add bfd_boolean. - (check_refs): Add bfd_boolean to check_refs_info. - (check_reloc_refs): Match relocations with proper symbols. - - * ldmisc.c (vfinfo): Don't add extra ":\n". - -2005-10-05 Danny Smith <dannysmith@users.sourceforge.net> - - * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Set - default entry symbol to ENTRY here. - * scripttempl/pe.sc: Not here. - -2005-09-30 James E Wilson <wilson@specifix.com> - - * ldlang.c (lang_startup): Add missing ": " to einfo call. - -2005-09-30 H.J. Lu <hongjiu.lu@intel.com> - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerated. - * aclocal.m4: Likewise. - -2005-09-30 H.J. Lu <hongjiu.lu@intel.com> - - * ldlang.c (output_statement_hash_entry): New type. - (output_statement_table): New variable for hash table. - (output_statement_newfunc): New function. - (output_statement_table_init): Likewise. - (output_statement_table_free): Likewise. - (lang_init): Call output_statement_table_init. - (lang_finish): Renamed to ... - (lang_end): This. - (lang_process): Updated. - (lang_finish): New function. - (lang_output_section_find_1): Use hash table. - (lang_output_section_statement_lookup_1): Likewise. - - * ldlang.h (lang_finish): New. - - * ldmain.c (main): Call lang_finish. - -2005-09-30 Mark Mitchell <mark@codesourcery.com> - - * ldmain.c (main): Use expandargv. - -2005-09-30 Catherine Moore <clm@cm00re.com> - - * Makefile.am: Bfin support. - * Makefile.in: Regenerated. - * aclocal.m4: Regenerated. - * configure.tgt: Bfin support. - * emulparams/bfin.sh: New file. - * emultempl/bfin.em: New file. - -2005-09-30 Matthias Kurz <mk@baerlap.north.de> - - * ld.h: Prevent the inclusion of <libintl.h> from the Solaris - version of <locale.h> when ENABLE_NLS is not defined. - -2005-09-27 H.J. Lu <hongjiu.lu@intel.com> - - * ld.texinfo (ALIGN): Document it as forcing output section - alignment. - - * ldgram.y (ALIGN): Support it for forcing output section - alignment. - -2005-09-20 Alan Modra <amodra@bigpond.net.au> - - * ldlang.h (lang_output_section_statement_struct): Change type of - "processed" to bfd_boolean. - * ldexp.c (fold_name): Update references to os->processed. - * ldlang.c (lang_output_section_statement_lookup_1): Likewise. - (lang_size_sections_1): Likewise. - (lang_reset_memory_regions): Likewise. - - PR ld/1353 - * ldlang.c (lang_size_sections_1): Process addr_tree earlier, - so that unused output section statements affect dot. - -2005-09-08 Jakub Jelinek <jakub@redhat.com> - - * ld.texinfo: Document -z {no,}execstack, -z {no,}relro - and --eh-frame-hdr options. - -2005-09-07 Alan Modra <amodra@bigpond.net.au> - - * ldexp.c (fold_name <SIZEOF>): Return 0 for non-existent section. - (exp_fold_tree_1): Print assert message only in final stage of - linking. Trigger assertion failure if expression cannot be - evaluated. - -2005-09-06 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/1263 - * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): Check - --just-symbols on DSO. - -2005-08-18 Alan Modra <amodra@bigpond.net.au> - - * scripttempl/elf.sc: Remove commented out defines. - -2005-08-18 Alan Modra <amodra@bigpond.net.au> - - * emulparams/a29k.sh: Delete. - * emulparams/ebmon29k.sh: Delete. - * emulparams/sa29200.sh: Delete. - * Makefile.am: Remove a29k support. - * configure.tgt: Likewise. - * ld.texinfo: Likewise. - * Makefile.in: Regenerate. - -2005-08-17 Jakub Jelinek <jakub@redhat.com> - - * ldgram.y (vers_defns): Don't lose pattern list before - extern NAME {}. Handle global, local and extern symbol names. - -2005-08-17 Kaz Kojima <kkojima@rr.iij4u.or.jp> - - * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation): - Don't increment rel_count of .cranges here. Set rawsize of .cranges. - -2005-08-10 Nick Clifton <nickc@redhat.com> - - * pe-dll.c (pe_exe_fill_sections): Call lang_reset_memory_regions - before lang_size_sections. - -2005-08-09 Alan Modra <amodra@bigpond.net.au> - - * emulparams/hppa64linux.sh (LARGE_SECTIONS): Remove .tbss. - -2005-08-08 Eric Doenges <Eric.Doenges@betty-tv.com> - - * Makefile.am (ALL_EMULATIONS): Add msp430x21xx variants. - Add rules to build these emulations. - * Makefile.in: Regenerate. - * configure.tgt (msp430): Add the new variants to the - targ_extra_emuls list. - * emulparams/msp430all.sh: Add entries for the msp430x21xx - variants. - -2005-08-05 H.J. Lu <hongjiu.lu@intel.com> - - * ld.texinfo: Document PROVIDE_HIDDEN. - - * ldexp.c (exp_fold_tree_1): Hide a provided symbol if asked. - (exp_provide): Add and set hidden. - - * ldexp.h (etree_type): Add hidden to assign. - - * ldgram.y (PROVIDE_HIDDEN): New. - * ldlex.l (PROVIDE_HIDDEN): Likewise. - - * scripttempl/elf.sc: Use PROVIDE_HIDDEN on array bound - symbols. - -2005-08-05 Alan Modra <amodra@bigpond.net.au> - - * emulparams/elf_x86_64.sh: Revert last change. - * scripttempl/elf.sc (REL_LARGE, LARGE_SECTIONS): Define here. - -2005-08-05 Alan Modra <amodra@bigpond.net.au> - - * emulparams/armelf.sh (OTHER_BSS_END_SYMBOLS): Split out from - OTHER_END_SYMBOLS. - * emulparams/armelf_linux.sh: Likewise. - * emulparams/armnto.sh: Likewise. - * emulparams/criself.sh: Likewise. - * emulparams/elf32mcore.sh: Likewise. - * emulparams/criself.sh (OTHER_SYMBOLS): Define. - * emulparams/crislinux.sh (OTHER_SYMBOLS): Define. - (OTHER_END_SYMBOLS): Don't define. - * emulparams/elf32fr30.sh: Likewise. - * emulparams/elf64mmix.sh: Likewise. - * emulparams/hppa64linux.sh: Likewise. - * emulparams/m32relf.sh: Likewise. - * emulparams/vxworks.sh: Likewise. - * scripttempl/armbpabi.sc (OTHER_BSS_SECTIONS): Delete. - (OTHER_BSS_END_SYMBOLS): Add. - (OTHER_END_SYMBOLS): Move before current end sym definitions. - (OTHER_SYMBOLS): Replace OTHER_END_SYMBOLS near end of script. - * scripttempl/elf.sc: Likewise. - * scripttempl/elf32sh-symbian.sc: Likewise. - * scripttempl/elf_chaos.sc: Likewise. - * scripttempl/elfxtensa.sc: Likewise. - * scripttempl/iq2000.sc: Likewise. - * scripttempl/xstormy16.sc: Likewise. - - * scripttempl/elf.sc (LBSS, LARGE_SECTIONS): Delete. - (REL_LDATA, REL_LBSS, REL_LRODATA): Delete. - (REL_LARGE, LARGE_SECTIONS): Add. - * emulparams/elf_x86_64.sh (LARGE_SECTIONS): Define as script text. - (REL_LARGE): Define. - * emulparams/hppa64linux.sh (OTHER_BSS_SECTIONS): Don't define. - (LARGE_SECTIONS): Define. - * emulparams/hppa64linux.sh (OTHER_BSS_SECTIONS): Don't define. - (LARGE_SECTIONS): Define. - -2005-08-04 Alan Modra <amodra@bigpond.net.au> - - * ldemul.c (ldemul_do_assignments, do_assignments_default): Delete. - * ldemul.h (ldemul_do_assignments, do_assignments_default): Delete. - (struct ld_emulation_xfer_struct): Remove do_assignments field. - * ldlang.c (lang_do_assignments): Don't call ldemul_do_assignments. - * emulparams/elf32ppc.sh (SDATA_START_SYMBOLS): New. - (SDATA2_START_SYMBOLS, SBSS_START_SYMBOLS, SBSS_END_SYMBOLS): New. - * emultempl/aix.em (ld_*_emulation): Delete do_assignments init. - * emultempl/armcoff.em: Likewise. - * emultempl/beos.em: Likewise. - * emultempl/generic.em: Likewise. - * emultempl/gld960.em: Likewise. - * emultempl/gld960c.em: Likewise. - * emultempl/linux.em: Likewise. - * emultempl/lnk960.em: Likewise. - * emultempl/m68kcoff.em: Likewise. - * emultempl/pe.em: Likewise. - * emultempl/sunos.em: Likewise. - * emultempl/ticoff.em: Likewise. - * emultempl/vanilla.em: Likewise. - * emultempl/elf32.em: Likewise. - (gld*_provide_bound_symbols): Delete. - (gld*_provide_init_fini_syms): Delete. - (gld*_before_allocation): Don't call ldemul_do_assignments. - * emultempl/ppc32elf.em (ppc_do_assignments): Delete. - (LDEMUL_DO_ASSIGNMENTS): Delete. - * scripttempl/elf.sc: Provide init/fini syms. Add SBSS_START_SYMBOLS, - SBSS_END_SYMBOLS, SDATA2_START_SYMBOLS. - -2005-08-04 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am (eelf32m32c.c): Fix dependencies. - * Makefile.in: Regenerate. - -2005-08-04 Alan Modra <amodra@bigpond.net.au> - - * ldemul.c (ldemul_finish): Call ld_emulation->finish unconditionally. - (finish_default): New function. - * ldemul.h (finish_default): Declare. - * emultempl/aix.em (gld*_before_allocation): Call - before_allocation_default rather than strip_excluded_output_sections. - (ld_*_emulation): Init finish field to finish_default. - * emultempl/armcoff.em: Likewise. - * emultempl/beos.em: Likewise. - * emultempl/elf32.em: Likewise. - * emultempl/generic.em: Likewise. - * emultempl/gld960.em: Likewise. - * emultempl/gld960c.em: Likewise. - * emultempl/hppaelf.em: Likewise. - * emultempl/linux.em: Likewise. - * emultempl/lnk960.em: Likewise. - * emultempl/m68kcoff.em: Likewise. - * emultempl/mmo.em: Likewise. - * emultempl/pe.em: Likewise. - * emultempl/ppc64elf.em: Likewise. - * emultempl/sunos.em: Likewise. - * emultempl/ticoff.em: Likewise. - * emultempl/vanilla.em: Likewise. - -2005-08-03 Alan Modra <amodra@bigpond.net.au> - - * ldlang.c (exp_init_os): Handle etree_provide. - * emulparams/armelf.sh (OTHER_END_SYMBOLS): Rename from.. - (OTHER_BSS_END_SYMBOLS): ..this. - * emulparams/armelf_linux.sh: Likewise. - * emulparams/armnto.sh: Likewise. - * emulparams/criself.sh: Likewise. - * emulparams/crislinux.sh: Likewise. - * emulparams/elf32frv.sh: Likewise. - * emulparams/elf32mcore.sh: Likewise. - * emulparams/elf32ppc.sh: Likewise. - * emulparams/elf32ppclinux.sh: Likewise. - * emulparams/hppa64linux.sh: Likewise. - * scripttempl/armbpabi.sc: Substitute $OTHER_END_SYMBOLS, not - $OTHER_BSS_END_SYMBOLS. - * scripttempl/elf32sh-symbian.sc: Likewise. - * scripttempl/elf_chaos.sc: Likewise. - * scripttempl/iq2000.sc: Likewise. - * scripttempl/xstormy16.sc: Likewise. - * scripttempl/elf.sc: Likewise. Delete __bss_start comment. - * scripttempl/elfxtensa.sc: Likewise. - -2005-07-29 Nick Clifton <nickc@redhat.com> - - * ldmain.c (main): Allow -shared and -static to be used together. - * ld.texinfo (-static): Mention that it is allowed with -shared. - -2005-07-28 DJ Delorie <dj@redhat.com> - - * ldlang.c (lang_output_section_statement_lookup_1): Don't cast a - unary & address operator, as that breaks GCC's strict aliasing - rules. - -2005-07-25 Jan Hubicka <jh@suse.cz> - H.J. Lu <hongjiu.lu@intel.com> - - * emulparams/elf_x86_64.sh (LARGE_SECTIONS): New. - - * scripttempl/elf.sc: Updated for large section support. - -2005-07-21 Ralf Corsepius <ralf.corsepius@rtems.org> - - * configure.tgt: Remove i[3-7]86-*-rtemself*. - Remove sparc-*-rtemself*. - -2005-07-21 Ben Elliston <bje@gnu.org> - - * ldgram.y (ldgram_want_filename): Remove unused static. - -2005-07-20 DJ Delorie <dj@redhat.com> - - * emulparams/elf32m32c.sh (TEMPLATE_NAME): New. - (EXTRA_EM_FILE): New. - -2005-07-19 H.J. Lu <hongjiu.lu@intel.com> - - * ldmain.c (main): Reindent. - -2005-07-19 Paul Brook <paul@codesourcery.com> - - * configure.host (HOSTING_CRT0): Parse output of gcc --help --verbose - to determine dynamic linker name. - -2005-07-18 Nick Clifton <nickc@redhat.com> - - * configure.tgt: Restore alpha ordering to list of arches. - -2005-07-16 Alan Modra <amodra@bigpond.net.au> - - * emultempl/elf32.em (gld*_provide_init_fini_syms): Prototype. - (gld*_before_allocation): Call ldemul_do_assignments rather than - gld*_provide_init_fini_syms directly. - * emultempl/ppc32elf.em (gld*_after_allocation): Delete. - (ppc_do_assignments): New function. - (LDEMUL_AFTER_ALLOCATION): Don't define. - (LDEMUL_DO_ASSIGNMENTS): Define. - -2005-07-16 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am: Run "make dep-am". - (emipsidt.c, emipsidtl.c): Depend on generic.em. - * Makefile.in: Regenerate. - -2005-07-15 Alan Modra <amodra@bigpond.net.au> - - * ldemul.c (ldemul_do_assignments): New function. - (do_assignments_default): New function. - * ldemul.h (ldemul_do_assignments): Declare. - (do_assignments_default): Declare. - (struct ld_emulation_xfer_struct): Add do_assignments. - * ldlang.c (lang_do_assignments) Call ldemul_do_assignments. - * emultempl/aix.em (ld_*_emulation): Init do_assignments field. - * emultempl/armcoff.em: Likewise. - * emultempl/beos.em: Likewise. - * emultempl/generic.em: Likewise. - * emultempl/gld960.em: Likewise. - * emultempl/gld960c.em: Likewise. - * emultempl/linux.em: Likewise. - * emultempl/lnk960.em: Likewise. - * emultempl/m68kcoff.em: Likewise. - * emultempl/pe.em: Likewise. - * emultempl/sunos.em: Likewise. - * emultempl/ticoff.em: Likewise. - * emultempl/vanilla.em: Likewise. - * emultempl/elf32.em: Likewise, to call gld*_provide_init_fini_syms. - (gld*_find_exp_assignment): Adjust bfd_elf_record_link_assignment call. - -2005-07-14 Jim Blandy <jimb@redhat.com> - - Add support for the Renesas M32C and M16C. - * Makefile.am (ALL_EMULATIONS): Add eelf32m32c.o. - (eelf32m32c.c): New target. - * Makefile.in: Regenerated. - * configure.tgt: Add case for m32c-*-elf. - * emulparams/elf32m32c.sh: New file. - -2005-07-14 Alan Modra <amodra@bigpond.net.au> - - * ldlang.c (strip_excluded_output_sections): Don't call - bfd_gc_sections. - * emultempl/elf32.em (gld*_provide_bound_symbols): Move. - (gld*_provide_init_fini_syms): Move. - (gld*_before_allocation): Call the above from here.. - (gld*_finish): ..not here. Call _bfd_elf_fix_excluded_sec_syms. - * emultempl/hppaelf.em (hppaelf_finish): Likewise. - * emultempl/ppc64elf.em (ppc_finish): Likewise. - -2005-07-10 Ralf Corsepius <ralf.corsepius@rtems.org> - - * configure.tgt: Remove sparc*-*-rtemsaout*, i[3-7]86-go32-rtems*, - i[3-7]86-*-rtemscoff*, hppa*-*-rtems*, mips*el-*-rtems*, - powerpcle-*-rtems*. - -2005-07-09 Christopher Faylor <cgf@timesys.com> - - * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Enable runtime - relocation by default. - (compute_dll_image_base): Avoid linking into cygwin dll address space. - -2005-07-08 Alan Modra <amodra@bigpond.net.au> - - * ldlang.c (wild_sort): Formatting. - (strip_excluded_output_sections): Strip zero size sections here. - * emultempl/elf32.em (gld*_strip_empty_sections): Delete. - (gld*_finish): Don't call the above. - * emultempl/hppaelf.em (hppaelf_finish): Likewise. - * emultempl/ppc64elf.em (ppc_finish): Likewise. - -2005-07-05 Paul Brook <paul@codesourcery.com> - - * Makefile.am (ALL_EMULATIONS): Add eelf32ppcvxworks.o. - (eelf32ppcvxworks.o): Add dependencies. - * Makefile.in: Regenerate. - * configure.tgt: Add entry for powerpc-vxworks. - * emulparams/elf32-ppc.c: Mention elf32ppcvxworks.sh in comment. - * emulparams/elf32ppcvxworks.sh: New file. - * emultempl/ppc32elf.em (bfd_elf32_powerpc_vxworks_vec): Declare. - (is_ppc_elf32_vec): New function. - (ppc_after_open, ppc_before_allocation, - gld${EMULATION_NAME}_after_allocation): Use it. - -2005-07-05 Peter S. Mazinger" <ps.m@gmx.net> - - * emulparams/elf32bmip.sh (GENERATE_PIE_SCRIPT): Define as "yes". - * emulparams/elf32bmipn32-defs.sh (GENERATE_PIE_SCRIPT): Define as "yes". - -2005-07-04 Mike Frysinger <vapier@gentoo.org> - - * emulparams/hppalinux.sh (GENERATE_PIE_SCRIPT): Fix typo in - name. - -2005-07-04 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> - - * emulparams/m32relf_linux.sh (GENERATE_PIE_SCRIPT): Set to yes. - -2005-07-04 Aurelien Jarno <aurel32@debian.org> - - * emultempl/elf32.em: Enable use of ld.so.conf for *-*-k*bsd-*. - -2005-07-01 Alan Modra <amodra@bigpond.net.au> - - * scripttempl/elf.sc (.gcc_except_table): Don't KEEP. - -2005-06-30 Ben Elliston <bje@gnu.org> - - * Makefile.am (check-DEJAGNU): Don't search for expect. - * Makefile.in: Regenerate. - -2005-06-30 Ben Elliston <bje@gnu.org> - - * Makefile.am (EXPECT): Set to expect. - (RUNTEST): Likewise, set to runtest. - * Makefile.in: Regenerate. - -2005-06-16 Alexander Klimov <alserkli@inbox.ru> - - * emultempl/armelf.em: Add quotes to avoid a null test - expression. - -2005-06-12 Daniel Jacobowitz <dan@codesourcery.com> - - * ld.texinfo (Command Line Options): Add @item for --hash-size. - -2005-06-10 Alan Modra <amodra@bigpond.net.au> - - * scripttempt/elf.sc (.bss): Align tail in a way that allows - empty section pruning. - -2005-06-09 Steve Ellcey <sje@cup.hp.com> - - * configure.in (AM_BINUTILS_WARNINGS): Add. - (BFD_NEED_DECLARATION) Replace with AC_CHECK_DECLS. - * config.in: Regenerate. - * configure: Regenerate. - * sysdep.h (NEED_DECLARATION_*): Replace with HAVE_DECL_* - * ldmain.c: Ditto. - -2005-06-09 Alan Modra <amodra@bigpond.net.au> - - * ldexp.c (fold_unary <ALIGN_K>): Revert last change. - -2005-06-09 Alan Modra <amodra@bigpond.net.au> - - * ld.h (lang_phase_type): Move to.. - * ldexp.h: ..here. Add lang_mark_phase_enum. - (node_type): Remove etree_undef and etree_unspec. - (exp_data_seg): Delete. - (struct ldexp_control, expld): New. - (invalid, exp_mark_used_section): Delete. - (exp_fold_tree, exp_get_vma, exp_get_value_int, exp_get_fill, - exp_get_abs_int): Update prototypes. - * ldexp.c (assigning_to_dot): Delete. - (expld): Define. - (make_abs): Operate directly on expld.result. Update all callers. - (new_abs): Likewise. Return void. - (new_rel_from_abs): Rename from new_rel_from_section. - (new_rel, new_rel_from_abs): Operate on expld.result and return void. - Update all callers. - (fold_unary): Operate on expld.result and return void. Remove - "current_section", "allocation_done", "dot", "dotp" and "mark_used" - params. Update all callers. - (fold_binary, fold_trinary, fold_name, exp_fold_tree_1): Likewise. - (fold_unary <ALIGN_K>): Ensure alignment is absolute. - (fold_unary <ABSOLUTE>): Use make_abs. - (fold_unary <DATA_SEGMENT_END>): Evaluate mark_phase as for - allocating_phase. - (fold_binary <DATA_SEGMENT_ALIGN, DATA_SEGMENT_RELRO_END, >): Ditto. - (fold_binary <'%','/'>): Don't error if marking. - (fold_name <SIZEOF_HEADERS>): Don't call bfd_sizeof_headers when - marking. - (fold_name <NAME>): Remove FIXME; -R is handled correctly. Don't - error when marking. - (fold_name <ADDR, LOADADDR, SIZEOF>): Don't set SEC_KEEP. - (exp_fold_tree_1): Don't error when marking. - (exp_fold_tree_1 <etree_rel>): Evaluate in all phases except first. - (exp_fold_tree_1 <etree_assign to dot>): Don't check for NULL - current section, instead check for NULL dotp. - (exp_fold_tree_1 <etree_provide>): Don't evaluate the assignment - source unless the symbol is referenced and undefined. - (exp_fold_tree): Remove "allocation_done" and "dot" params. Save - params to expld. - (exp_fold_tree_no_dot): Remove "current_section", "allocation_done - and "mark_used" params. Save params to expld. Update all callers. - (exp_assop): Do without temp var. - (exp_print_tree <etree_undef>): Delete code. - (exp_get_vma): Remove "allocation_done" param. Correct error return. - (exp_get_fill, exp_get_abs_int): Likewise. - (exp_get_value_int): Remove "allocation_done" param. - (exp_mark_used_section): Delete. - * ldgram.y (fill_exp): Update exp_get_fill call. - (origin_spec, length_spec): Update exp_get_vma call. - * ldlang.c (lang_init): Don't bother clearing lang_statement_iteration. - (lang_mark_used_section_1, lang_mark_used_section): Delete. - (strip_excluded_output_sections): Call one_lang_size_sections_pass in - marking mode. Merge old lang_mark_used_section code. Correct handling - of output sections with excluded input sections and data statements. - Don't drop non-zero sized sections. Don't zap os->bfd_section. - Do set SEC_EXCLUDE when appropriate. - (print_output_section_statement): Update for changed ldexp.c - interface. - (print_assignment, lang_size_sections_1): Likewise. - (lang_do_assignments_1, lang_enter_output_section_statement): Likewise. - (lang_new_phdr, lang_record_phdrs): Likewise. - (lang_size_sections): Likewise. - (insert_pad): Use following statement if it is a pad, rather than - creating a new one. - (lang_size_sections_1 <lang_output_section_statement_enum>): Do - process ignored output section to set vma and lma, but don't - update dot for these sections. Don't error if marking. - (lang_size_sections_1 <lang_assignment_statement_enum>): Don't - update dot for ignored sections. - (lang_size_sections_1 <lang_data_statement_enum>): Don't mark absolute - section with SEC_ALLOC. - (one_lang_size_sections_pass): New function. - (lang_size_sections): Remove first five params. Set expld.phase on - entry and exit. Use one_lang_size_sections_pass. - (lang_do_assignments): Remove all params. Update all callers. - (lang_reset_memory_regions): Clear os->processed for all output - section statements. - * ldlang.h (lang_do_assignments): Update prototype. - (lang_size_sections): Likewise. - (one_lang_size_sections_pass): Declare. - * pe-dll.c (pe_dll_fill_sections, pe_exe_fill_sections): Update - lang_size_sections and lang_do_assignments calls. - * emultempl/elf32.em (layout_sections_again): Likewise. - * emultempl/ppc64elf.em (ppc_before_allocation): Use - one_lang_size_sections_pass. - -2005-06-08 Aldy Hernandez <aldyh@redhat.com> - - * emulparams/elf32ms1.sh: New. - -2005-06-07 Eric Christopher <echristo@redhat.com> - - * Makefile.am (eelf32ms1.c): Use tab. - * Makefile.in: Regenerate. - -2005-06-07 Aldy Hernandez <aldyh@redhat.com> - Michael Snyder <msnyder@redhat.com> - Stan Cox <scox@redhat.com> - - * configure.tgt: Same. - - * Makefile.am (ALL_EMULATIONS): Depend on eelf32ms1.o. - (eelf32ms1.c): Add eelf32ms1.c rule. - - * Makefile.in: Regenerate. - -2005-06-06 Alan Modra <amodra@bigpond.net.au> - - * emultempl/ppc64elf.em (ppc_before_allocation): Always run - ppc64_elf_edit_opd. - -2005-06-05 H.J. Lu <hongjiu.lu@intel.com> - - * ldexp.c (exp_mark_used_section): Set SEC_KEEP on current - section only if the symbol will be defined. - -2005-06-04 H.J. Lu <hongjiu.lu@intel.com> - - PR 992 - * ldexp.c (exp_mark_used_section): Set SEC_KEEP on current - section for etree_assign, etree_provide and etree_provided. - Call fold_binary on etree_binary. - - * ldlang.c (lang_mark_used_section_1): Handle load base. - -2005-06-03 Alan Modra <amodra@bigpond.net.au> - - * ldmain.c (link_callbacks): Add einfo. - (add_archive_element): Use passed info, not link_info. - (constructor_callback): Likewise. - (reloc_overflow): Don't handle null bfd specially. - (reloc_dangerous, unattached_reloc): Likewise. - * ldmisc.c (vfinfo <B>): Print "ld generated" for null bfd. - (vfinfo <C, D, G>): Handle null bfd. Wrap comments. - -2005-06-02 Alan Modra <amodra@bigpond.net.au> - - * ldexp.h (etree_value_type): Use "asection *" in place of - "struct lang_output_section_statement_struct *" for "section". - (exp_fold_tree): Likewise. - (exp_mark_used_section): Likewise. - * ldexp.c (new_rel, new_rel_from_section, fold_unary, fold_binary, - fold_trinary, fold_name, exp_fold_tree_1, exp_fold_tree, - exp_mark_used_section): Likewise for "current_section" param. - (make_abs, new_abs, exp_binop, exp_unop, exp_get_vma, exp_get_fill, - exp_get_abs_int): Adjust for above changes. - * ldlang.c (lang_mark_used_section_1, print_assignment, - lang_size_sections_1, lang_do_assignments_1): Likewise. - * ldexp.c (fold_name): Init entire result struct. - -2005-06-01 Maciej W. Rozycki <macro@linux-mips.org> - - * emulparams/elf32btsmip.sh: Unset DATA_ADDR. - -2005-05-31 Zack Weinberg <zack@codesourcery.com> - - * ldlang.c (entry_symbol_default): New file-scope global. - (lang_finish): Use it, not a hardwired "start". - (lang_default_entry): Set it. - * ldlang.h: Declare lang_default_entry. - * emultempl/beos.em, emultempl/pe.em: Use lang_default_entry, - not lang_add_entry, to override default entry point symbol. - -2005-05-29 Richard Henderson <rth@redhat.com> - - * emulparams/elf64alpha.sh (PLT): New. - (TEXT_PLT): New. - * emultempl/alphaelf.em (disable_relaxation): New. - (limit_32bit): Rename from elf64alpha_32bit; update all users. - (elf64_alpha_use_secureplt): Declare. - (bfd_elf64_alpha_vec, bfd_elf64_alpha_freebsd_vec): Declare. - (alpha_after_open): New. - (alpha_before_allocation): New. - (OPTION_NO_RELAX, OPTION_SECUREPLT, OPTION_NO_SECUREPLT): New. - (PARSE_AND_LIST_LONGOPTS): Include them. - (PARSE_AND_LIST_OPTIONS): Likewise. - (PARSE_AND_LIST_ARGS_CASES): Likewise. - (LDEMUL_AFTER_OPEN, LDEMUL_BEFORE_ALLOCATION): New. - * scripttempl/elf.sc (TEXT_PLT): New. - (PLT): Use it. - -2005-05-27 Andreas Schwab <schwab@suse.de> - - * configure.host (HOSTING_LIBS): Add libunwind.a if it exists. - -2005-05-24 Alan Modra <amodra@bigpond.net.au> - - * emultempl/ppc32elf.em (after_allocation): Don't call - ppc_elf_set_sdata_syms when relocatable. - -2005-05-21 H.J. Lu <hongjiu.lu@intel.com> - - * Makefile.am (ld.1): Revert the last 2 changes. - (info-recursive): Depend on ld.1. - * Makefile.in: Regenerated. - -2005-05-21 H.J. Lu <hongjiu.lu@intel.com> - - * Makefile.am (ld.1): Depend on "info" instead of - "configdoc.texi ldver.texi". - * Makefile.in: Regenerated. - -2005-05-21 H.J. Lu <hongjiu.lu@intel.com> - - * Makefile.am (ld.1): Depend on "info". - * Makefile.in: Regenerated. - -2005-05-19 Zack Weinberg <zack@codesourcery.com> - - * Makefile.am: Have 'all' depend on 'info' and 'ld.1'. - * Makefile.in: Regenerate. - -2005-05-17 Zack Weinberg <zack@codesourcery.com> - - * ld-arm/mixed-app.d: Adjust expected disassembly a little. - -2005-05-17 Daniel Jacobowitz <dan@codesourcery.com> - - * Makefile.am (ldver.texi): Don't use $<. - * Makefile.in: Regenerated. - -2005-05-17 Daniel Jacobowitz <dan@codesourcery.com> - - * Makefile.am (AM_MAKEINFOFLAGS, TEXI2DVI): Explicitly include - $(srcdir) before $(BFDDIR)/doc. - * Makefile.in: Regenerated. - -2005-05-17 H.J. Lu <hongjiu.lu@intel.com> - - PR 797 - * ldexp.c (exp_fold_tree_1): Renamed from exp_fold_tree and - take take a bfd_boolean, mark_used. Ignore assert failure if - mark_used is TRUE. - (exp_fold_tree) Call exp_fold_tree_1 with mark_used == FALSE. - (exp_fold_tree_no_dot): Updated to take a bfd_boolean, - mark_used and pass down. - (fold_unary): Likewise. - (fold_binary): Likewise. - (fold_trinary): Likewise. - (exp_binop): Add FALSE to call to exp_fold_tree_no_dot. - (exp_trinop): Likewise. - (exp_unop): Likewise. - (exp_nameop): Likewise. - (exp_get_vma): Likewise. - (exp_get_fill): Likewise. - (exp_get_abs_int): Likewise. - (fold_name): Likewise. Set SEC_KEEP in output section flags. - (exp_mark_used_section): New. - - * ldexp.h (exp_mark_used_section): New. - - * ldlang.c (lang_output_section_statement_lookup_1): Set the - ignored field to FALSE. - (lang_mark_used_section_1): New. - (lang_mark_used_section): Call lang_mark_used_section_1. - (strip_excluded_output_sections): Call lang_mark_used_section - and check for unused sections. - (lang_size_sections_1): Skip an output section if it should - be ignored. - (lang_do_assignments_1): Likewise. - (lang_process): Don't call lang_mark_used_section here. - - * ldlang.h (lang_output_section_statement_type): Change - all_input_readonly to bitfield. Add ignored. - -2005-05-17 Lennert Buytenhek <buytenh@wantstofly.org> - Peter S. Mazinger" <ps.m@gmx.net> - - * emulparams/armelf_linux.sh (GENERATE_PIE_SCRIPT): Define as "yes". - * emulparams/hppalinux.sh (GENERATE_PIE_SCRIPT): Define as "yes". - -2005-05-17 Julian Brown <julian@codesourcery.com> - - * ldlang.c (print_assignment): Do not rely upon a valid result - having a section associated with it. - -2005-05-17 Nick Clifton <nickc@redhat.com> - - * ldlang.c (Scan_for_self_assignment): Check an assignment tree to - see if the same value is being used on the rhs as on the lhs. - (print_assignment): Call scan_for_self_assignment and if it - returns true, do no display the result of the computation but - instead just the final value of the symbol on the lhs. - * ld.texinfo: Document this behaviour and provide an example of - when it will happen. - -2005-05-15 Daniel Jacobowitz <dan@codesourcery.com> - - * Makefile.am (AM_MAKEINFOFLAGS): Define. - (TEXI2DVI): Define. - (ldver.texi): Depend on distributed files instead of built files. - (ld.info): Include $(srcdir) in the rule target. Remove actions. - (ld.dvi): Remove actions. - (MAINTAINERCLEANFILES): Add configdoc.texi. - (CONFIG_STATUS_DEPENDENCIES): Add bfd/configure.in. - (install-data-local): Renamed from install. - (Makefile): Remove explicit dependency. - * acinclude.m4: Remove obsolete code. - * configure.in: Update AC_PREREQ. Remove extra $CONFIG_SHELL. - * Makefile.in, aclocal.m4, config.in, configure: Regenerated. - -2005-05-11 Bob Wilson <bob.wilson@acm.org> - - * scripttempl/elfxtensa.sc: Sync up with elf.sc. - * emulparams/elf32xtensa.sh (PLT, GOT): Define. - -2005-05-11 Alan Modra <amodra@bigpond.net.au> - - * ldgram.y: Add SPECIAL token. - (sect_constraint): Handle SPECIAL. - * ldlang.c (lang_output_section_find_1): Don't match SPECIAL. - (map_input_to_output_sections): Likewise. - * ldlex.l (SPECIAL): Define. - * emulparams/elf32ppc.sh (DATA_GOT, SDATA_GOT, SEPARATE_GOTPLT, - GOT, PLT, GOTPLT): Define. - * emultempl/ppc32elf.em (old_plt, old_got): New static vars. - (ppc_after_open): New function. - (PARSE_AND_LIST_PROLOGUE): Define OPTION_OLD_LPT and OPTION_OLD_GOT. - (PARSE_AND_LIST_LONGOPTS): Add "bss-plt" and "sdata-got". - (PARSE_AND_LIST_OPTIONS): Document them. - (PARSE_AND_LIST_ARGS_CASES): Handle them. - (LDEMUL_AFTER_OPEN): Define. - * scripttempl/elf.sc (PLT): Don't override existing define. - (DATA_GOT, SDATA_GOT): Define and use to enable alternate got - placement rather than using NO_SMALL_DATA. Emit GOTPLT for RELRO_NOW. - -2005-05-10 Alan Modra <amodra@bigpond.net.au> - - * scripttempl/elf.sc (DATA_SEGMENT_RELRO_GOTPLT_END): Delete. - (DATA_SEGMENT_RELRO_END): Use SEPARATE_GOTPLT value. - (GOTPLT): Remove DATA_SEGMENT_RELRO_GOTPLT_END. Place after - DATA_SEGMENT_RELRO_END in script. - -2005-05-09 H.J. Lu <hongjiu.lu@intel.com> - - * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols): - Don't use a removed section. - -2005-05-09 H.J. Lu <hongjiu.lu@intel.com> - - * ldmain.c (reloc_overflow): Use output_bfd if the symbol - is defined in the ABS section. - -2005-05-06 H.J. Lu <hongjiu.lu@intel.com> - - * emultempl/elf32.em (gld${EMULATION_NAME}_provide_init_fini_syms): - Put back !link_info.relocatable. - -2005-05-06 H.J. Lu <hongjiu.lu@intel.com> - - PR 878 - * emultempl/elf32.em (gld${EMULATION_NAME}_provide_init_fini_syms): - Just check link_info.executable. - -2005-05-06 Nick Clifton <nickc@redhat.com> - - * Update the address and phone number of the FSF organization in - the GPL notices in the following files: - aclocal.m4, deffile.h, deffilep.y, fdl.texi, ld.h, ldcref.c, - ldctor.c, ldctor.h, ldemul.c, ldexp.c, ldexp.h, ldfile.c, - ldfile.h, 20ldgram.y, ldint.texinfo, ldlang.c, ldlang.h, ldlex.h, - ldlex.l, ldmain.c, ldmain.h, ldmisc.c, ldmisc.h, ldver.c, ldver.h, - ldwrite.c, ldwrite.h, lexsup.c, mri.c, mri.h, pe-dll.c, pe-dll.h, - sysdep.h, emultempl/aix.em, emultempl/alphaelf.em, - emultempl/armcoff.em, emultempl/armelf.em, emultempl/beos.em, - emultempl/crxelf.em, emultempl/elf32.em, emultempl/generic.em, - emultempl/gld960.em, emultempl/gld960c.em, emultempl/hppaelf.em, - emultempl/ia64elf.em, emultempl/irix.em, emultempl/linux.em, - emultempl/lnk960.em, emultempl/m68hc1xelf.em, - emultempl/m68kcoff.em, emultempl/m68kelf.em, - emultempl/mipsecoff.em, emultempl/mmix-elfnmmo.em, - emultempl/mmixelf.em, emultempl/mmo.em, emultempl/needrelax.em, - emultempl/pe.em, emultempl/ppc32elf.em, emultempl/ppc64elf.em, - emultempl/sh64elf.em, emultempl/sunos.em, emultempl/ticoff.em, - emultempl/vanilla.em, emultempl/xtensaelf.em - -2005-05-05 H.J. Lu <hongjiu.lu@intel.com> - - * scripttempl/elf.sc: Document the usage of __bss_start. - -2005-05-05 Paul Brook <paul@codesourcery.com> - - * Makefile.am: Add eelf_i386_vxworks. - * Makefile.in: Regenerate. - * configure.tgt: Make i?86-*-vxworks use targ_emul=elf_i386_vxworks. - * emulparams/elf_i386_vxworks.sh: New file. - * emulparams/vxworks.sh: New file. - * scripttempl/elf.sc: Add DATA_END_SYMBOLS and ETEXT_NAME. - -2005-05-04 H.J. Lu <hongjiu.lu@intel.com> - - * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols): - Call _bfd_elf_provide_section_bound_symbols. - -2005-05-04 Alan Modra <amodra@bigpond.net.au> - - * ldemul.c: Include bfdlink.h. - (ldemul_before_allocation): Assume before_allocation is non-zero. - (before_allocation_default): Call strip_excluded_output_sections. - * ldlang.c (stripped_excluded_sections): New variable. - (lang_add_section): Build input section list for each output - section, attached via map_head and map_tail pointers. - (strip_excluded_output_sections): Make global. Traverse the - input section lists to find which output sections can go. Clear - link_order pointers and set stripped_excluded_sections. - (lang_process): Call strip_excluded_output_sections. - * ldlang.h (strip_excluded_output_sections): Declare. - * ldwrite.c: Update throuhout for link_order_head -> map_head change. - * emultempl/aix.em (before_allocation): Call - strip_excluded_output_sections. - * emultempl/armcoff.em (before_allocation): Likewise. - * emultempl/beos.em (before_allocation): Likewise. - * emultempl/linux.em (before_allocation): Likewise. - * emultempl/pe.em (before_allocation): Likewise. - * emultempl/sunos.em (before_allocation): Likewise. - * emultempl/elf32.em (before_allocation): Likewise. Call - bfd_elf_size_dynsym_hash_dynstr too. - * emultempl/lnk960.em (lnk960_before_allocation): Delete. - (ld_lnk960): Use before_allocation_default. - -2005-05-02 H.J. Lu <hongjiu.lu@intel.com> - - * emultempl/elf32.em (gld${EMULATION_NAME}_strip_empty_section): - Updated for bfd_section_list_remove change. - * ldlang.c (lang_insert_orphan): Likewise. - (strip_excluded_output_sections): Likewise. - (sort_sections_by_lma): New. - (lang_check_section_addresses): Sort the sections before - checking addresses. - -2005-04-29 Ralf Corsepius <ralf.corsepius@rtems.org> - - * configure.tgt: Add h8300*-*-rtemscoff. - Switch h8300*-*-rtems* to elf. - -2005-04-29 Ben Elliston <bje@au.ibm.com> - - * ldgram.y (lang_memory_region_type): Make static. - (ldgram_want_filename): Likewise. - * ldemul.c (ld_emulation): Make static. - * ldfile.h (ldfile_find_command_file): Remove extern. - * ldfile.c (ldfile_find_command_file): Make static. - * ldlang.h (unique_section_list): Remove extern declaration. - * ldlang.c (unique_section_list): Make static. - * mri.h (symbol_truncate): Remove extern declaration. - * mri.c (symbol_truncate): Make static. - (order, only_load, address, alias): Likewise. - (alignment, subalignment): Likewise. - -2005-04-27 H.J. Lu <hongjiu.lu@intel.com> - - * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols): - Use the first SEC_ALLOC section which isn't SEC_READONLY or the - last SEC_ALLOC section if such a section doesn't exist. - -2005-04-24 Mark Kettenis <kettenis@gnu.org> - - * configure.host: Add *-*-openbsd support. - -2005-04-15 Julian Brown <julian@codesourcery.com> - - * ld.texinfo: Document --use-blx. - * emultempl/armelf.em (use_blx): New variable. - (arm_elf_create_output_section_statements): Communicate value of - use_blx to bfd. - (PARSE_AND_LIST_PROLOGUE): Add OPTION_USE_BLX. - (PARSE_AND_LIST_OPTIONS): Add --use-blx option. - (PARSE_AND_LIST_ARGS_CASES): Add OPTION_USE_BLX case. - -2005-04-14 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am (NO_WERROR): Define. Use instead of -Wno-error. - * configure.in: Include ../bfd/warning.m4 contents. - * Makefile.in: Regenerate. - * configure: Regenerate. - -2005-04-12 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am: Run "make dep-am". - (ldgram.o, ldlex.o, deffilep.o): Add -Wno-error to command. - * Makefile.in: Regenerate. - * config.in: Regenerate. - -2005-04-11 Alan Modra <amodra@bigpond.net.au> - - * emultempl/elf32.em (gld${EMULATION_NAME}_stat_needed): Ignore - as_needed libs that were not needed. - (gld${EMULATION_NAME}_check_needed): Likewise. - -2005-04-07 Nick Clifton <nickc@redhat.com> - - * emultempl/m68kcoff.em: Include ldexp.h and ldlang.h so that - ldfile.h can use the lang_input_statement type. - -2005-04-06 Jakub Jelinek <jakub@redhat.com> - - * ldlang.c: Formatting. - (walk_wild_consider_section): Remember return value from wildcardp. - (is_simple_wild): Use strcspn instead of 2 strpbrk calls and strlen. - (wild_spec_can_overlap): Use strcspn instead of strpbrk and strlen. - -2005-04-06 Robert O'Callahan <rocallahan@novell.com> - - * ld.h (lean_section_userdata_type): Remove. - (fat_section_userdata_type): Remove file field. - (SECTION_USERDATA_SIZE): Remove. - * ldlang.c (init_os): Eliminate initialization of unused - lean_section_userdata_type. - - * ldlang.h (callback_t, walk_wild_section_handler_t): New - typedefs. - (struct lang_wild_statement_struct): Add walk_wild_section_handler - and handler_data fields. - * ldlang.c (callback_t): Removed. - (walk_wild_consider_section, walk_wild_section_general, - section_iterator_callback, find_section, is_simple_wild, - match_simple_wild, walk_wild_section_specs1_wild0, - walk_wild_section_specs1_wild1, walk_wild_section_specs2_wild1, - walk_wild_section_specs3_wild2, walk_wild_section_specs4_wild2, - wild_spec_can_overlap, analyze_walk_wild_section_handler): New - functions. - (lang_add_wild): Call analyze_walk_wild_section_handler. - (walk_wild_section): Renamed to walk_wild_section_general and - created a wrapper function. - (section_iterator_callback_data): New typedef. - -2005-04-04 Nick Clifton <nickc@redhat.com> - - * configure.in: Add a check for <unistd.h> providing a prototype - for getopt() which is compatible with the one in - include/getopt.h. If so then define HAVE_DECL_GETOPT. - * configure: Regenerate. - * config.in (HAVE_DECL_GETOPT): Add. - * ldemul.c: Include config.h - * lexsup.c: Likewise. - * emultempl/elf32.sc: Likewise. - -2005-03-29 Alan Modra <amodra@bigpond.net.au> - - * emultempl/elf32.em (gld${EMULATION_NAME}_layout_sections_again): - New function, extracted from static void gld${EMULATION_NAME}_finish. - (gld${EMULATION_NAME}_strip_empty_sections): Likewise. - (gld${EMULATION_NAME}_provide_init_fini_syms): Likewise. - * emultempl/ppc64elf.em: Revert last change. - (ppc_layout_sections_again): Use - gld${EMULATION_NAME}_layout_sections_again. - (ppc_finish): Don't call gld${EMULATION_NAME}_finish. Instead call - gld${EMULATION_NAME}_strip_empty_sections and - gld${EMULATION_NAME}_provide_init_fini_syms. - * emultempl/hppaelf.em: Similarly. - -2005-03-29 Alan Modra <amodra@bigpond.net.au> - - * emultempl/ppc64elf.em (need_laying_out): Delete. Remove all refs. - (ppc_finish): Don't call bfd_elf_discard_info. - * emultempl/hppaelf.em: Similarly. - -2005-03-24 Nick Clifton <nickc@redhat.com> - - * po/fr.po: Updated French translation. - -2005-03-23 Mike Frysinger <vapier@gentoo.org> - Nick Clifton <nickc@redhat.com> - - * configure.host: Accept any C library to accompany a GNU Linux - implementation, not just the GNU C library. - * configure.tgt: Likewise. - * emultempl/elf32.em: Likewise. - -2005-03-22 H.J. Lu <hongjiu.lu@intel.com> - - * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols): New - (gld${EMULATION_NAME}_finish): Call - gld${EMULATION_NAME}_provide_bound_symbols to provide - __preinit_array_start, __preinit_array_end, __init_array_start, - __init_array_end, __fini_array_start and __fini_array_end. - - * scripttempl/elf.sc: Don't provide __preinit_array_start, - __preinit_array_end, __init_array_start, __init_array_end, - __fini_array_start nor __fini_array_end. - -2005-03-23 Alan Modra <amodra@bigpond.net.au> - - * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Set - SEC_EXCLUDE on .gnu.warning sections. - -2005-03-22 Alan Modra <amodra@bigpond.net.au> - - * scripttempl/elf.sc (SBSS): Don't provide sbss start and end syms. - -2005-03-21 Alan Modra <amodra@bigpond.net.au> - - * emultempl/ppc32elf.em (gld${EMULATION_NAME}_after_allocation): New - function. - (LDEMUL_AFTER_ALLOCATION): Define. - -2005-03-21 Alan Modra <amodra@bigpond.net.au> - - * emultempl/ppc64elf.em (ppc_finish): Rename from - gld${EMULATION_NAME}_finish. Call gld${EMULATION_NAME}_finish. - (LDEMUL_FINISH): Update. - * emultempl/hppaelf.em (hppaelf_finish, LDEMUL_FINISH): Likewise. - * emultempl/m68hc1xelf.em (m68hc11elf_finish, LDEMUL_FINISH): Likewise. - -2005-03-18 Julian Brown <julian@codesourcery.com> - - * scripttempl/armbpapi.sc (.rel.dyn): Add .rel.init_array, - .rel.fini_array. - (.rela.dyn): Add .rela.init_array, .rela.fini_array. - (SECTIONS): Add .rel.other, .rela.other, .reli.other after PLT relocs. - -2005-03-18 H.J. Lu <hongjiu.lu@intel.com> - - * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Don't set - bfd_section when removing unused empty output sections for - non-relocatable link. - -2005-03-19 Alan Modra <amodra@bigpond.net.au> - - * ldlang.c (lang_insert_orphan): Use old section_tail rather than - traversing the bfd section list to find pointer to new section. - -2005-03-18 Alan Modra <amodra@bigpond.net.au> - - * scripttempl/elf.sc: When CREATE_SHLIB, put .sdata2 and .sbss2 - input sections into .sdata and .sbss output respectively. - -2005-03-16 David Heine <dlheine@tensilica.com> - Bob Wilson <bob.wilson@acm.org> - - * ldlang.c (IGNORE_SECTION): Remove check for zero size. - (lang_check_section_addresses): Ignore zero size sections here. - -2005-03-16 H.J. Lu <hongjiu.lu@intel.com> - - * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Remove - unused empty output sections for non-relocatable link. - - * ld.h (args_type): Remove gc_sections. - - * ldlang.c (lang_mark_used_section): New. - (lang_gc_sections): Use link_info.gc_sections instead of - command_line.gc_sections. - * ldmain.c (main): Likewise. - * lexsup.c (parse_args): Likewise. - * ldlang.c (lang_process): Call lang_mark_used_section. - - * ldmain.c (main): Initialize link_info.gc_sections to FALSE. - -2005-03-16 Nick Clifton <nickc@redhat.com> - Ben Elliston <bje@au.ibm.com> - - * configure.in (werror): New switch: Add -Werror to the - compiler command line. Enabled by default. Disable via - --disable-werror. - * configure: Regenerate. - -2005-03-16 Alan Modra <amodra@bigpond.net.au> - - * emulparams/elf32ppclinux.sh (OTHER_READWRITE_SECTION): Delete. - (OTHER_RELRO_SECTIONS): Set this instead. - -2005-03-15 Nick Clifton <nickc@redhat.com> - - * NEWS: Add cutoff for changes in 2.16 release. - -2005-03-15 Mikkel Krautz <krautz@gmail.com> - - * configure.tgt (x86_64-elf): Add target. - -2005-03-15 Alan Modra <amodra@bigpond.net.au> - - * po/es.po: Commit new Spanish translation. - -2005-03-14 Alan Modra <amodra@bigpond.net.au> - - * ldexp.c (exp_fold_tree): Ensure return value is initialized. - Tidy etree_assert case. - -2005-03-14 Alan Modra <amodra@bigpond.net.au> - - * po/tr.po: Commit new Turkish translation. - -2005-03-11 Daniel Jacobowitz <dan@codesourcery.com> - - * Makefile.am: Remove references to em68klynx.o and esparclynx.o. - * Makefile.in: Regenerated. - * emulparams/m68klynx.sh, emulparams/sparclynx.sh: Remove. - -2005-03-07 Nick Clifton <nickc@redhat.com> - - * po/fr.po: Updated translation. - -2005-03-05 Alan Modra <amodra@bigpond.net.au> - - * po/ld.pot: Regenerate. - -2005-03-02 Jan Beulich <jbeulich@novell.com> - - * ldmain.c (remove_output): Use unlink_if_ordinary instead of unlink. - * pe-dll.c (pe_dll_generate_implib): Likewise. - -2005-02-24 Ben Elliston <bje@au.ibm.com> - - * ldfile.c: Remove GNU960 conditional code. - * emultempl/gld960.em: Likewise. - * emultempl/gld960c.em: Likewise. - * emultempl/lnk960.em: Likewise. - -2005-02-24 Nick Clifton <nickc@redhat.com> - - * emultempl/lnk960.em (lnk960_before_parse): Remove redundant - empty string from calls to concat. - -2005-02-23 Nick Clifton <nickc@redhat.com> - - * emultempl/lnk960.em (lnk960_before_parse): Terminate list of - arguments passed to concat() with a NULL. - - * emultempl/m68kcoff.em: Include ldexp.h and ldlang.h because they - define types needed by ldfile.h - -2005-02-23 Alan Modra <amodra@bigpond.net.au> - - * pe-dll.c: Warning fixes. - * emultempl/sunos.em: Likewise. - -2005-02-22 Daniel Jacobowitz <dan@codesourcery.com> - - * ldlang.c (section_already_linked): Don't call - bfd_section_already_linked for dynamic objects. - -2005-02-22 Alan Modra <amodra@bigpond.net.au> - - * ldexp.c: Warning fixes. - * ldwrite.c: Likewise. - * emultempl/elf32.em: Likewise. - -2005-02-21 H.J. Lu <hongjiu.lu@intel.com> - - * ldlang.c (lang_add_section): Check SEC_TIC54X_BLOCK for TI - tic54x input only. - (lang_size_sections_1): Check SEC_COFF_SHARED_LIBRARY for COFF - and ECOFF output only. - -2005-02-21 Alan Modra <amodra@bigpond.net.au> - - * config.in: Regenerate. - * configure: Regenerate. - -2005-02-17 Zack Weinberg <zack@codesourcery.com> - - * ldexp.c (assigning_to_dot): New global flag. - (fold_name): If assigning_to_dot is true, object immediately to - an undefined symbol. - (exp_fold_tree): Set and clear assigning_to_dot around the - recursive call to exp_fold_tree to process the right-hand side - of an assignment to the location counter. - -2005-02-17 Paul Brook <paul@codesourcery.com> - - * scripttempl/armbpabi.sc: Add dummy name to version block. - -2005-02-17 Alan Modra <amodra@bigpond.net.au> - - * ldexp.c (new_abs): Init new.str. - -2005-02-15 Mark Mitchell <mark@codesourcery.com> - - * configure.in (AC_CHECK_FUNCS): Add glob. - * configure: Regenerated. - * emultempl/elf32.em (<glob.h>): Do not include if HAVE_GLOB is - not defined. - (gld${EMULATION_NAME}_parse_ld_so_conf_include): Do not use glob - if HAVE_GLOB is not defined. - -2005-02-16 Kaz Kojima <kkojima@rr.iij4u.or.jp> - - * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Define - lib_path if NATIVE is yes. - -2005-02-16 Alan Modra <amodra@bigpond.net.au> - - * emultempl/ppc64elf.em (ppc_create_output_section_statements): Make - an error creating fake bfd fatal. - (ppc_before_allocation): Continue on after errors. - (gld${EMULATION_NAME}_finish): Likewise. - -2005-02-15 Nick Clifton <nickc@redhat.com> - - * ldlex.l (YY_NO_UNPUT): Define so that the yy_unput function is - not declared. It is not used and its presence causes a compile - time warning. - -2005-02-11 Zack Weinberg <zack@codesourcery.com> - - * emultempl/elf32.em (gld${EMULATION_NAME}_stat_needed): - If st.st_ino is zero, do not treat the library as a duplicate. - -2005-02-10 Jakub Jelinek <jakub@redhat.com> - - * emultempl/hppaelf.em (hppaelf_create_output_section_statements): - Set BFD_LINKER_CREATED on the stubs bfd. - * emultempl/ppc64elf.em (ppc_create_output_section_statements): - Likewise. - -2005-02-08 Mark Mitchell <mark@codesourcery.com> - - * scripttempl/armbpabi.sc (VERSION): Make special section symbols - local. - (Image$$ER_RO$$Base): Define whenever RELOCATING. - (Image$$ER_RO$$Limit): Likewise. - (SHT$$INIT_ARRAY$$Base): Likewise. - (SHT$$INIT_ARRAY$$Limit): Likeise. - -2005-02-10 Ben Elliston <bje@au.ibm.com> - - * emultempl/beos.em: Remove #if 0 and #if 1 blocks. - -2005-02-08 Richard Sandiford <rsandifo@redhat.com> - - * configure.tgt (mips64*el-*-linux-gnu*): Define targ_extra_libpath - to include o32 and n64 emulations. - (mips64*-*-linux-gnu*): Likewise. - -2005-02-08 Hans-Peter Nilsson <hp@axis.com> - - * ldmain.c (warning_callback, warning_find_reloc): Prepend - "warning: " to warning messages. - -2005-02-04 Alan Modra <amodra@bigpond.net.au> - - * emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment): Don't - look up symbol for etree_provide here. - -2005-02-02 Daniel Jacobowitz <dan@codesourcery.com> - - * emulparams/elf32bmip.sh (TEXT_DYNAMIC): Always set. - -2005-02-01 Edward Welbourne <eddy@opera.com> - Nick Clifton <nickc@redhat.com> - - * ld.texinfo (Source Code Reference): New node describing how to - access linker script defined variables from source code. - -2005-02-01 Alan Modra <amodra@bigpond.net.au> - - * ld.texinfo: Clarify --as-needed operation. - -2005-01-31 Andrew Cagney <cagney@gnu.org> - - * configure: Regenerate to track ../gettext.m4. - -2005-01-31 Nick Clifton <nickc@redhat.com> - - * ldver.c (ldversion): Bump reported copyright date to 2005. - -2005-01-31 Nick Clifton <nickc@redhat.com> - - * configure.tgt: Remove obsolete targets m68k-lynxos and - sparc-lynxos. - -2005-01-28 Julian Brown <julian@codesourcery.com> - - * emultempl/armelf.em (fix_v4bx): New variable. - (arm_elf_create_output_section_statements): Communicate fix_v4bx flag - value to bfd. - (PARSE_AND_LIST_PROLOGUE): Add option token OPTION_FIX_V4BX. - (PARSE_AND_LIST_LONGOPTS): Add option --fix-v4bx. - (PARSE_AND_LIST_OPTIONS): Add option --fix-v4bx. - (PARSE_AND_LIST_ARGS_CASES): Add option OPTION_FIX_V4BX. - * NEWS: Mention --fix-v4bx. - * ld.texinfo: Document --fix-v4bx. - -2005-01-25 Mark Mitchell <mark@codesourcery.com> - - * emulparams/armsymbian.sh (OTHER_READONLY_SECTIONS): Define, so - as to include .ARM.exidx$${Base,Limit}. - * ld/scripttempl/armbpabi.sc: Move .plt to end of text segment. - Define IMAGE$$ER_RO$${Base,Limit} and SHT$$INIT_ARRAY$${Base,Limit}. - Put .init_array, .fini_array, etc. into the read-only data - segment. - -2005-01-25 Alan Modra <amodra@bigpond.net.au> - - * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Formatting. - (gld${EMULATION_NAME}_after_open): Ignore needed libs if they were - only needed by an as-needed lib that didn't get linked. - -2005-01-23 Alan Modra <amodra@bigpond.net.au> - - * ld.texinfo (Output Section Keywords <CONSTRUCTORS>): Correct - __DTOR_LIST__ description. - -2005-01-23 Alan Modra <amodra@bigpond.net.au> - - * ld.texinfo (Location Counter <dot outside sections>): Document - effects of orphan section placement, and ". = ." workaround. - * Makefile.in: Regenerate. - -2005-01-22 Richard Sandiford <rsandifo@redhat.com> - - * emulparams/elf32bmip.sh (OTHER_GOT_SECTIONS): Add ". = .;". - * emulparams/elf32bmipn32-defs.sh (OTHER_GOT_SECTIONS): Likewise. - -2005-01-21 Jakub Jelinek <jakub@redhat.com> - - * ldgram.y (AS_NEEDED): New token. - (input_list): Handle AS_NEEDED ( input_list ). - * ldlex.l (AS_NEEDED): Add. - * ld.texinfo: Document AS_NEEDED (). - * NEWS: Mention AS_NEEDED (). - -2005-01-21 Ben Elliston <bje@au.ibm.com> - - * ldlang.c (lang_reasonable_defaults): Remove. - (lang_process): Don't call lang_reasonable_defaults. - - * ldexp.c (exp_assop): Remove #if 0'd code. - (exp_print_tree): Likewise. - * ldlang.c (lang_memory_region_lookup): Likewise. - (open_output): Likewise. - (lang_do_assignments_1): Likewise. - (lang_place_orphans): Likewise. - (lang_enter_output_section_statement): Likewise. - (lang_reasonable_defaults): Likewise. - * ldlang.h (struct lang_input_statement_struct): Likewise. - * mri.c (mri_draw_tree): Likewise. - (mri_load): Likewise. - * pe-dll.c (generate_reloc): Likewise. - (make_import_fixup_entry): Likewise. - (pe_as16): Likewise. - * emultempl/beos.em (set_pe_subsystem): Likewise. - * emultempl/hppaelf.em (hppaelf_after_parse): Likewise. - * emultempl/pe.em: Likewise. - * emultempl/xtensaelf.em (xtensa_colocate_literals): Likewise. - -2005-01-20 Daniel Jacobowitz <dan@codesourcery.com> - - * Makefile.am (ALL_EMULATIONS): Add earmelfb_linux_eabi.o. - (earmelfb_linux_eabi.c): New target. - * Makefile.in: Regenerated. - * configure.tgt (arm*b-*-linux-gnueabi): New target. - * emulparams/armelfb_linux_eabi.sh: New file. - -2005-01-20 Nick Hudson <skrll@netbsd.org> - - PR ld/676 - * emultempl/hppaelf.em (hppaelf_create_output_section_statements): - Handle bfd_elf32_hppa_nbsd_vec. - -2005-01-19 Richard Sandiford <rsandifo@redhat.com> - - * ldmain.h (ld_sysroot): Change type to a constant string. - * ldmain.c (ld_sysroot): Likewise. - (get_relative_sysroot, get_sysroot): New functions, adding command-line - support for changing the sysroot. - (main): Call the new functions. - * lexsup.c (OPTION_SYSROOT): New. - (ld_options): Add --sysroot. - (parse_args): Add a dummy handler for it. - * ld.texinfo (--sysroot): Document. - * NEWS: Mention the new --sysroot option. - -2005-01-18 Alan Modra <amodra@bigpond.net.au> - - * ldlang.c (section_already_linked): Adjust bfd_link_just_syms call. - (lang_place_orphans): Don't abort on just_syms_flag, instead call - bfd_link_just_syms. - -2005-01-16 Danny Smith <dannysmith@users.sourceforge.net> - - * defilep.y (def_name, def_library): Combine into... - (def_image_name): New function. Strip name to basename, - with warning. - -2005-01-12 Mark Kettenis <kettenis@gnu.org> - - * configure.in: Be sure to invoke config.sub using the shell. - * configure: Regenerate. - -2005-01-11 Alan Modra <amodra@bigpond.net.au> - - * configure.host: Correct sed patterns for last change. - -2005-01-10 Nick Clifton <nickc@redhat.com> - - PR binutils/609 - * ldmisc.c (vfinfo): Add an extra argument: is_warning. Use this - to determine whether config.make_executable should be set to FALSE in - conjunction with config.fatal_warnings. - (info_msg, minfo, lfinof): Pass FALSE as the extra argument. - (einfo): Pass TRUE as the extra argument. - -2005-01-10 Greg Schaffer <gschafer@zip.com.au> - - * configure.host (linux targets): Use "${CC} -dumpspecs" instead - of "${CC} --print-file-name=specs" to appease GCC versions >= 4.0. - (ia64-*-aix): Delete - this target is obsolete, and would be - broken by this patch. - -2005-01-06 Eric Botcazou <ebotcazou@libertysurf.fr> - - * configure.host (sparc*-*-solaris2*): Rename into sparc-*-solaris2*. - (sparc64-sun-solaris2*): New host. - -2005-01-06 Paul Brook <paul@codesourcery.com> - - * Makefie.am: Add earmelf_vxworks. - * Makefile.in: Regenerate. - * configure.tgt: Make arm-*-vxworks a separate case. - * emulparams/armelf_vxworks.sh: New function. - -2005-01-06 Alan Modra <amodra@bigpond.net.au> - - * emultempl/ppc64elf.em (no_multi_toc): New var. - (gld${EMULATION_NAME}_finish): Pass to ppc64_elf_setup_section_lists. - (OPTION_NO_MULTI_TOC): Define. - (PARSE_AND_LIST_LONGOPTS): Add --no-multi-toc support. - (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise. - -2005-01-05 Nick Clifton <nickc@redhat.com> - - PR binutils/614 - * ldmisc.c (vfinfo): Alter output to conform to the GNU Coding - Standard's specification for parsable error messages. - -2005-01-04 Paul Brook <paul@codesourcery.com> - - * Makefile.am: Correct dependency for earmsymbian.c. - * Makefile.in: Regenerate. - -2004-12-28 Danny Smith <dannysmith@users.sourceforge.net> - - * emultempl/pe.em (set_pe_subsystem): Change second arg to - lang_add_entry to FALSE. - -2004-12-23 Nick Clifton <nickc@redhat.com> - - PR 600 - * emulparams/shelf.sh (.stack): Increase stack start address to - 0x300000. - -2004-12-20 Nick Clifton <nickc@redhat.com> - - * ldmain.c (main): Issue an error message if -static and -shared - are used together. - -2004-12-17 Jakub Jelinek <jakub@redhat.com> - - * ldexp.h (exp_data_seg): Add min_base and maxpagesize fields. - * ldexp.c (fold_binary) <case DATA_SEGMENT_ALIGN>: Initialize them. - * ldlang.c (lang_size_sections): Use them to avoid wasting virtual - address space at DATA_SEGMENT_ALIGN. Fix computation of expected - PT_GNU_RELRO segment end. - -2004-12-14 P.J. Darcy <darcypj@us.ibm.com> - - * configure.tgt: Add s390x-ibm-tpf support. - -2004-12-16 Martin Kögler <mkoegler@auto.tuwien.ac.at> - - * ldmisc.c (vfinfo): Handle the case where %B is passed a NULL - BFD. - -2004-12-07 Ben Elliston <bje@gnu.org> - - * ldemul.h: Forward declare struct option. - -2004-12-01 Danny Smith <dannysmith@users.sourceforge.net> - - * scripttempl/pe.sc (.data): Add .jcr subsection. - -2004-11-30 Paul Brook <paul@codesourcery.com> - - * emultempl/armelf.em: Ignore -p and -no-pipeline-knowledge. - -2004-11-30 Tero Niemela <tero_niemela@yahoo.com> - - * Makefile.am: Change LOCALEDIR to $(datadir)/share. - * Makefile.in: Regenerate. - -2004-11-26 Melissa Mears <asterisk@graces.dricas.com> - - * emultempl/pe.em: Add --subsystem:xbox as well as - --subsystem:%d. - * ld.texinfo: (ld_options): Document acceptance of subsystem xbox - and numeric subsystems. - -2004-11-24 Alan Modra <amodra@bigpond.net.au> - - * ldexp.c (fold_name): Correct PR 338 fix. - -2004-11-19 Mark Mitchell <mark@codesourcery.com> - - * Makefile.am (ALL_EMULATIONS): Add earmelf_linux_eabi.o. - (earmelf_linux_eabi.c): New target. - * configure.tgt (arm*-*-linux-gnueabi): Handle it. - * emulparams/armelf_linux_eabi.sh: New file. - * Makefile.in: Regenerated. - -2004-11-19 Nick Clifton <nickc@redhat.com> - - PR 518 - * ld.texinfo (MEMORY): Update the descriptions of the ORIGIN and - LENGTH fields in the MEMORY command, to explicitly state that - symbols cannot be used in their expressions. - -2004-11-19 Jon Beniston <jon@beniston.com> - - * ld/ldlex.l: Allow ORIGIN and LENGTH in EXPRESSION. - * ld/ldgram.y: Add ORIGIN and LENGTH expressions. - * ld/ldexp.c (fold_name): Implement LENGTH() and ORIGIN() functions - which return the length and origin of a memory. - * ld/ld.texinfo: Document LENGTH() and ORIGIN() functions. - * NEWS: Mention support for ORIGIN and LENGTH operators. - -2004-11-17 Daniel Jacobowitz <dan@codesourcery.com> - - * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Don't use - a dynamic object for stubs. - -2004-11-04 Paul Brook <paul@codesourcery.com> - - * ld.texinfo: Document --default-imported-symver. - * ldmain.c (main): Set link_info.default_imported_symver. - * lexsup.c (option_values): Add OPTION_DEFAULT_IMPORTED_SYMVER. - (ld_options): Add --default-imported-symver. - (parse_args): Handle OPTION_DEFAULT_IMPORTED_SYMVER. - -2004-11-08 Inderpreet Singh <inderpreetb@nioda.hcltech.com> - Vineet Sharma <vineets@noida.hcltech.com> - - * Makefile.am: Add entries for new maxq-coff target. - * Makefile.in: Regenerate. - * configure.tgt: Add support for maxq. - * emulparams/maxqcoff.sh: New File. - * scripttempl/maxqcoff.sc: New linker script for target maxq. - * NEWS: Mention the new target. - -2004-11-04 Daniel Jacobowitz <dan@debian.org> - - * Makefile.am (ALL_EMULATIONS): Remove earmelf_oabi.o. - (earmelf_oabi.c): Remove rule. - * configure.tgt: Remove arm-*-oabi and thumb-*-oabi. - * emulparams/armelf_oabi.sh, emultempl/armelf_oabi.em: Delete files. - * Makefile.in: Regenerated. - -2004-11-04 Hans-Peter Nilsson <hp@axis.com> - - * configure.tgt (crisv32-*-*): Handle like cris-*-* for non-aout. - * emulparams/criself.sh (INIT_START): Remove emitted "push srp". - (FINI_START): Ditto. - (INIT_END): Remove emitted "jump [sp+]". - (FINI_END): Ditto. - -2004-11-04 Alan Modra <amodra@bigpond.net.au> - - * emultempl/ppc64elf.em (no_tls_opt): Rename from notlsopt. - (no_opd_opt, no_toc_opt): New static vars. - (ppc_before_allocation): Don't edit opt if no_opd_opt. Call - ppc64_elf_edit_toc. - (OPTION_NO_OPD_OPT, OPTION_NO_TOC_OPT): Define. - (PARSE_AND_LIST_LONGOPTS): Add no-opd-optimize and no-toc-optimize. - (PARSE_AND_LIST_OPTIONS): Describe new options. - (PARSE_AND_LIST_ARGS_CASES): Handle them. - -2004-10-27 Nick Clifton <nickc@redhat.com> - - * emultempl/alphaelf.em (alpha_after_parse): Add extra, NULL, - parameter to invocation of lang_section_start. - * emultempl/aix.em (_handle_option): Likewise. - - * Makefile.am (eelf64alpha.c, eelf64alpha_fbsd.c, - eelf64alpha_nbsd.c): Add dependency upon emultempl/alphaelf.em. - * Makefile.in: Regenerate. - -2004-10-26 Mark Mitchell <mark@codesourcery.com> - - * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Do not emit - __exidx_{start,end} when not relocating. - -2004-10-25 Mark Mitchell <mark@codesourcery.com> - - * Makefile.in (earmsymbian.c): Depend on armbpabi.sc, not elf.sc. - * ldexp.h (segment_type): New type. - (segments): New variable. - * ldexp.c (segments): New variable. - (exp_print_token): Handle SEGMENT_START. - (fold_binary): Likewise. - * ldgram.y (SEGMENT_START): Declare it as a token. - (exp): Handle SEGMENT_START. - * ldlang.h (lang_address_statement_type): Add segment field. - (lang_section_start): Change prototype. - * ldlang.c (map_input_to_output_sections): Do not process section - assignments if a corresponding SEGMENT_START has already been - seen. - (lang_section_start): Add segment parameter. - * ldlex.l (SEGMENT_START): Add it. - * lexsup.c (seg_segment_start): New function. - (parse_args): Use it for -Tbss, -Tdata, and -Ttext. - * ld.texinfo (SEGMENT_START): Document it. - * emulparams/armsymbian.sh (EMBEDDED): Set it. - * scripttempl/armbpabi.sc: Use SEGMENT_START to control segment - base addresses. Do not map relocations. - * NEWS: Mention SEGMENT_START. - -2004-10-26 Paul Brook <paul@codesourcery.com> - - * ld.texinfo: Document --default-symver. - * ldmain.c (main): Set link_info.create_default_symver. - * lexsup.c (enum option_values): Add OPTION_DEFAULT_SYMVER. - (ld_options): Add default-symver. - (parse_args): Handle OPTION_DEFAULT_SYMVER. - -2004-10-24 Danny Smith <dannysmith@users.sourceforge.net> - - * pe-dll.c (process_def_file): Don't export all symbols by default if - building a position-independent executable. - -2004-10-21 H.J. Lu <hongjiu.lu@intel.com> - - PR 463 - * ldmain.c (reloc_overflow): Accept a pointer to struct - bfd_link_hash_entry. Report symbol location for relocation - overflow. - -2004-10-21 H.J. Lu <hongjiu.lu@intel.com> - - * genscripts.sh (libpath.exp): Really generate for first - emulation only. - -2004-10-19 Danny Smith <dannysmith@users.sourceforge.net> - - * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Simplify - comparison and replacement of filenames. - -2004-10-19 H.J. Lu <hongjiu.lu@intel.com> - - PR 459 - * ldlang.c (load_symbols): Use the same -Bdynamic/-Bstatic - option on linker script as the one for linker script. - -2004-10-16 Daniel Jacobowitz <dan@debian.org> - - * ldlang.c (struct excluded_lib, excluded_libs, add_excluded_libs) - (check_excluded_libs): New. - (load_symbols): Call check_excluded_libs. - * ldlang.h (add_excluded_libs): New prototype. - * emultempl/elf32.em (OPTION_EXCLUDED_LIBS): Define. - (gld${EMULATION_NAME}_add_options): Add --exclude-libs. - (gld${EMULATION_NAME}_handle_option): Handle --exclude-libs. - * ld.texinfo (Command Line Variables): Document --exclude-libs. - (Options Specific to i386 PE Targets): Remove --exclude-libs. - -2004-10-15 Alan Modra <amodra@bigpond.net.au> - - * ldexp.c (exp_fold_tree): Don't immediately exit ld on a - failing link script assert. - - * ldctor.c (ldctor_add_set_entry): Fix comment typo. - -2004-10-14 H.J. Lu <hongjiu.lu@intel.com> - - PR 445 - * emulparams/elf64_ia64.sh (SMALL_DATA_CTOR): Set. - (SMALL_DATA_DTOR): Set. - * emulparams/elf64_ia64_fbsd.sh (SMALL_DATA_CTOR): Unset. - (SMALL_DATA_DTOR): Unset. - * scripttempl/elf.sc: If SMALL_DATA_CTOR is set, move .ctors - after .data. If SMALL_DATA_DTOR is set, move .dtors after - .data. - -2004-10-14 Alan Modra <amodra@bigpond.net.au> - - PR 63 - * ldlang.h (lang_output_section_statement_type): Make "next" a - struct lang_output_section_statement_struct *. - (struct orphan_save): Move from elf32.em. Add "name" and "flags". - (lang_output_section_find_by_flags, lang_insert_orphan): Declare. - * ldlang.c (lang_output_section_find_1): Adjust for changed - output_section_statement "next". - (strip_excluded_output_sections): Likewise. - (lang_record_phdrs): Likewise. - (lang_output_section_find_by_flags): New function. - (output_prev_sec_find): Move from pe.em. Adjust iterator. - (lang_insert_orphan): New function. Tail end of elf32.em's - place_orphan merged with that from pe.em. Allow bfd_section to - be placed first. New heuristic for placing new output section - statement in existing script, and accompanying split of __start - symbol alignment into a separate assignment to dot. - (lang_add_section): Consistently use output->bfd_section rather than - an alias, section->output_section. - (map_input_to_output_sections): Rename overly long arg. Move - initialization of data_statement output section to here.. - (lang_check_section_addresses): ..from here. - (print_assignment): Correct printing of etree_assert. - (print_all_symbols): Don't bomb if userdata is NULL. - (IGNORE_SECTION): Rearrange. - * emultempl/elf32.em (output_rel_find): Adjust interator. - (output_prev_sec_find): Delete. - (struct orphan_save): Delete. - (gld${EMULATION_NAME}_place_orphan): Cater for zero bfd_section - flags without creating a duplicate output section statement. - Revise code holding history of various orphan section placements. - Allow orphan sections to place before script specified output - sections. Call lang_output_section_find_by_flags when placement - by name fails. Use lang_insert_orphan. - * emultempl/mmo.em (output_prev_sec_find): Delete. - (struct orphan_save): Delete. - (mmo_place_orphan): Revise code holding history of orphan placement. - Allow orphans to place before existing output sections. Use - lang_insert_orphan. - * emultempl/pe.em (output_prev_sec_find): Delete. - (struct orphan_save): Delete. - (gld_${EMULATION_NAME}_place_orphan): Revise to suit use of - lang_insert_orphan. - -2004-10-13 Mark Mitchell <mark@codesourcery.com> - - * scripttempl/armbpabi.sc: Do not put .gnu.version.* into a - loadable segment. - -2004-10-13 Alan Modra <amodra@bigpond.net.au> - - PR 44 - * ldcref.c (check_section_sym_xref): Delete. - (check_local_sym_xref): New function. - (check_nocrossrefs): Adjust call. - * emultempl/pe.em (struct orphan_save): Add os_tail. - (place_orphan): Backport assorted fixes from elf32.em. - -2004-10-12 Bob Wilson <bob.wilson@acm.org> - - * emultempl/xtensaelf.em: Use ISO C90 formatting. - -2004-10-11 Jakub Jelinek <jakub@redhat.com> - - * emultempl/elf32.em (gld${EMULATION_NAME}_parse_ld_so_conf): Avoid - getline for portability. - - * emultempl/elf32.em (gld${EMULATION_NAME}_ld_so_conf): New structure. - (gld${EMULATION_NAME}_parse_ld_so_conf, - gld${EMULATION_NAME}_parse_ld_so_conf_include): New functions. - (gld${EMULATION_NAME}_check_ld_so_conf): Use them. - -2004-10-11 Alan Modra <amodra@bigpond.net.au> - - PR 423 - * ldfile.c (ldfile_try_open_bfd): Ensure dynamic objects are - rejected when linking statically. - -2004-10-08 Daniel Jacobowitz <dan@debian.org> - - * configure.tgt: Include elf_x86_64 for i[3-7]86-*-solaris2*. - -2004-10-07 Bob Wilson <bob.wilson@acm.org> - - * ld.texinfo (Xtensa): Describe new linker relaxation to optimize - assembler-generated longcall sequences. Describe new --size-opt - option. - * emulparams/elf32xtensa.sh (OTHER_SECTIONS): Add .xt.prop section. - * emultempl/xtensaelf.em (remove_section, - replace_insn_sec_with_prop_sec, replace_instruction_table_sections, - elf_xtensa_after_open): New. - (OPTION_OPT_SIZEOPT, OPTION_LITERAL_MOVEMENT, - OPTION_NO_LITERAL_MOVEMENT): Define. - (elf32xtensa_size_opt, elf32xtensa_no_literal_movement): New globals. - (PARSE_AND_LIST_LONGOPTS): Add size-opt and [no-]literal-movement. - (PARSE_AND_LIST_OPTIONS): Add --size-opt. - (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_OPT_SIZEOPT, - OPTION_LITERAL_MOVEMENT, and OPTION_NO_LITERAL_MOVEMENT. - (LDEMUL_AFTER_OPEN): Set to elf_xtensa_after_open. - * scripttempl/elfxtensa.sc: Update with changes from elf.sc. - * Makefile.am (eelf32xtensa.c): Update dependencies. - * Makefile.in: Regenerate. - -2004-10-07 Jeff Baker <jbaker@qnx.com> - - * lexsup.c: Handle --warn-shared-textrel option. - (ld_options): Restore alpha sorting of options. - * ldmain.c (main): Initialise warn_shared_info field to FALSE. - * ld.texinfo: Add documentation for --warn-shared-textrel. - * NEWS: Added mention of --warn-shared-textrel option. - -2004-10-05 Tomer Levi <Tomer.Levi@nsc.com> - - * emultempl/crxelf.em (disable_relaxation): Add. - (crxelf_before_allocation): Enable --relax option by default. - (PARSE_AND_LIST_PROLOGUE): Add OPTION_NO_RELAX. - (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --no-relax. - (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_NO_RELAX. - -2004-10-04 H.J. Lu <hongjiu.lu@intel.com> - - * NEWS: Mention SORT_BY_NAME, SORT_BY_ALIGNMENT and - --sort-section name|alignment. - - * ld.texinfo: Document SORT_BY_NAME, SORT_BY_ALIGNMENT and - --sort-section name|alignment. - - * ld.h (sort_type): New enum. - (wildcard_spec): Change the type of `sorted' to sort_type. - - * ldgram.y (SORT): Removed. - (SORT_BY_NAME): Added. - (SORT_BY_ALIGNMENT): Added. - (wildcard_spec): Updated `sorted'. Handle SORT_BY_NAME and - SORT_BY_ALIGNMENT. - (input_section_spec_no_keep): Updated `sorted'. - (statement): Replace SORT with SORT_BY_NAME. - - * ldlang.c (compare_section): New function to compare 2 - sections with different sorting schemes. - (wild_sort): Updated. Use compare_section. - (update_wild_statements): New function. - (lang_process): Call update_wild_statements before - map_input_to_output_sections. - - * ldlex.l (SORT_BY_NAME): New. - (SORT_BY_ALIGNMENT): New. - (SORT): Return SORT_BY_NAME. - - * ldmain.c (sort_section): New. Defined. - (main): Initialize it to none. - - * lexsup.c (option_values): Add OPTION_SORT_SECTION. - (ld_options): Add an entry for OPTION_SORT_SECTION. - (parse_args): Handle OPTION_SORT_SECTION. - - * mri.c (mri_draw_tree): Updated `sorted'. - -2004-10-04 Jakub Jelinek <jakub@redhat.com> - - * ldgram.y (DATA_SEGMENT_RELRO_END): Add one argument. - * scripttempl/elf.sc (DATA_SEGMENT_RELRO_END): Add 0 as first - argument. - (DATA_SEGMENT_RELRO_GOTPLT_END): Pass $SEPARATE_GOTPLT as first - and . as second argument. - (GOTPLT): Move $DATA_SEGMENT_RELRO_GOTPLT_END before the section. - * ldexp.c (fold_unary): Remove DATA_SEGMENT_RELRO_END handling here. - (fold_binary): Add it here. Insert padding to make relro_end - COMMONPAGESIZE bytes aligned. For DATA_SEGMENT_ALIGN in - exp_dataseg_relro_adjust phase just use previously computed - exp_data_seg.base. - * ldlang.c (lang_size_sections): Set exp_data_seg.base for - relro_adjust here. Call lang_size_sections_1 once more if there - was too big padding at DATA_SEGMENT_RELRO_END. - * ld.texinfo (DATA_SEGMENT_RELRO_END): Add documentation. - -2004-10-01 Paul Brook <paul@codesourcery.com> - - * emulparams/armelf.sh: Add unwinding table sections. - -2004-09-30 Filip Navara <navaraf@reactos.com> - - * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Generate - correct base address for position independant executables. - * pe-dll.c (pe_dll_fill_sections): Don't mark position independant - executables as DLLs. - -2004-09-30 Paul Brook <paul@codesourcery.com> - - * ld.texinfo: Document --target2=abs. - * emulparms/armsymbian.sh (TARGET2_TYPE): Set. - -2004-09-29 Nick Clifton <nickc@redhat.com> - - * scripttempl/xstormy16.sc: Only perform the assignments to the - ROM region when not performing a relocatable link. The ROM region - does not start at address 0, but the sections will. - * Makefile.am: Fix linker script dependency for the generation of - eelf32xstormy16.c. - * Makefile.in: Regenerate. - -2004-09-18 Filip Navara <navaraf@reactos.com> - - * emulparams/arm_epoc_pe.sh, emulparams/armpe.sh, emulparams/i386pe.sh, - emulparams/i386pe_posix.sh, emulparams/mcorepe.sh, - emulparams/mipspe.sh, emulparams/ppcpe.sh, scripttempl/pe.sc: Define - TARGET_PAGE_SIZE. - * scripttempl/pe.sc: Make the virtual address and file offset synced if - the alignment is lower than the target page size. - -2004-09-27 Filip Navara <navaraf@reactos.com> - - * emultempl/pe.em (gld_${EMULATION_NAME}_unrecognized_file): Allow - def_file_parse to handle pe_def_file if NULL and prevent crash with - invalid .def files. - -2004-09-27 Alan Modra <amodra@bigpond.net.au> - - * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Enable - --emit-stub-syms automatically when --emit-relocs. - -2004-09-24 Paul Brook <paul@codeosurcery.com> - - * scripttempl/elf.sc: Keep .preinit_array, .init_array and - .fini_array sections. - -2004-09-19 Andreas Schwab <schwab@suse.de> - - * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Adjust data segment - base so that relro end is suitably aligned. - -2004-09-17 Paul Brook <paul@codesourcery.com> - - * ld.texinfo: Rename arm-specific section. Document --target* - * emulparams/armelf_fbsd.sh: Set TARGET2_TYPE. - * emulparams/armelf_linux.sh: Ditto. - * emulparams/armelf_nbsd.sh: Ditto. - * emultempl/armelf.em: Set default for TARGET2_TYPE. - (target2_type): New variable. - (arm_elf_before_allocation): Don't pass target1_type. - (arm_elf_create_output_section_statements): New function. - (PARSE_AND_LIST_PROLOGUE): Add OPTION_TARGET2. - (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --target=. - (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_TARGET2. - (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Set. - * emultempl/armelf_oabi.em (_before_allocation): Remove extra - argument to bfd_elf32_arm_process_before_allocation. - -2004-09-17 Alan Modra <amodra@bigpond.net.au> - - * ldexp.c (fold_name): Update u.undef.next refs. - * emultempl/pe.em: Likewise. - * emultempl/sunos.em: Likewise. - -2004-09-17 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - * config.in: Regenerate. - * configure: Regenerate. - * aclocal.m4: Regenerate. - * po/ld.pot: Regenerate. - -2004-09-16 Tomer Levi <Tomer.Levi@nsc.com> - - * scripttempl/elf32crx.sc (.init): Add KEEP for section's *personality*. - (.fini): Likewise. - (.jcr): Likewise. - -2004-09-16 Alan Modra <amodra@bigpond.net.au> - - * emultempl/armelf_oabi.em (before_allocation): Add extra zero param - to bfd_elf32_arm_process_before_allocation call. - -2004-09-13 Paul Brook <paul@codesourcery.com> - - * emulparams/armsymbian.sh: Set TARGET1_IS_REL. - * emultempl/armelf.em: Use TARGET1_IS_REL. Add --target1-{rel,abs}. - -2004-09-07 H.J. Lu <hongjiu.lu@intel.com> - - * configure: Regenerated with autconfig 2.13. - -2004-09-07 Andreas Schwab <schwab@suse.de> - - * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Apply data segment - alignment before adjusting DATA_SEGMENT_RELRO_END. - -2004-09-06 Mark Mitchell <mark@codesourcery.com> - - * emulparams/armsymbian.sh: Use armbpabi script. - * scripttempl/armbpabi.sc: New script. - -2004-09-02 Mark Mitchell <mark@codesourcery.com> - - * Makefile.am (ALL_EMULATIONS): Add earmsymbian.o. - (earmsymbian.c): New target. - * configure.tgt: Use armsymbian emulation for arm*-*-symbianelf*. - * Makefile.in: Regenerated. - * aclocal.m4: Likewise. - * configure: Likewise. - * emulparams/armsymbian.sh: New file. - -2004-09-03 Tomer Levi <Tomer.Levi@nsc.com> - - * scripttempl/elf32crx.sc: Edit file with comments. - (.init): Add new section. - (.fini): Likewise. - (.ctor): Control the linkage order. - (.dtor): Likewise. - -2004-08-27 Nick Clifton <nickc@redhat.com> - - * emultempl/pe.em (after_open): Do not assume that either bfd is - an archive. - -2004-08-26 Alan Modra <amodra@bigpond.net.au> - - * ldlang.c (lang_init): Don't compare with TRUE. - -2004-08-25 Dmitry Diky <diwil@spec.ru> - - * emulparams/msp430all.sh: Fix RAM sizes for all targets. - * scripttempl/elf32msp430.sc: Add .profiler section definition. - -2004-08-24 H.J. Lu <hongjiu.lu@intel.com> - - * ldlang.c (wildcardp): Defined as a macro with strpbrk. - -2004-08-19 Mark Mitchell <mark@codesourcery.com> - - * configure.tgt (arm*-*-symbianelf*): New target. - (arm*-*-eabi*): Likewise. - -2004-08-19 Jakub Jelinek <jakub@redhat.com> - - * emultempl/ppc64elf.em (non_overlapping_opd): New variable. - (ppc_before_allocation): Pass it to ppc64_elf_edit_opd). - (OPTION_NON_OVERLAPPING_OPD): Define. - (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Add - --non-overlapping-opd option. - -2004-08-18 Alan Modra <amodra@bigpond.net.au> - - PR 338 - * ldexp.c (fold_name): Don't call bfd_link_add_undef if the symbol - was already on the undefs list. - -2004-08-17 Alan Modra <amodra@bigpond.net.au> - - * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Dot - prefix the symbol field too. - -2004-08-13 Alan Modra <amodra@bigpond.net.au> - - * ldmain.c (link_callbacks): Remove "error_handler". - * ldmisc.c: Include elf-bfd.h. - (vfinfo): Sort comment. Handle %A. Use %A instead of - bfd_get_section_indent. - (error_handler): Delete. - * ldmisc.h (error_handler): Delete declaration. - -2004-08-10 Alan Modra <amodra@bigpond.net.au> - - * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Call - ppc64_elf_restore_symbols. - -2004-08-09 Alan Modra <amodra@bigpond.net.au> - - * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Error if - .toc is too large on relocatable linking. - -2004-08-09 Alan Modra <amodra@bigpond.net.au> - - * emultempl/ppc64elf.em (ppc_after_open): Delete. - (LDEMUL_AFTER_OPEN): Don't define. - -2004-08-02 Stephane Carrez <stcarrez@nerim.fr> - - * ld.texinfo (Top): Document specific options of 68HC11 and 68HC12. - -2004-08-01 Stephane Carrez <stcarrez@nerim.fr> - - * scripttempl/elfm68hc12.sc: Align text, rodata and data section - on power of 2. - -2004-07-27 Jason Thorpe <thorpej@wasabisystems.com> - - * emulparams/hppanbsd.sh (OUTPUT_FORMAT): Set to "elf32-hppa-netbsd". - -2004-07-26 Dmitry Diky <diwil@spec.ru> - - * Makefile.am: Add new subtargets: msp430x1610, msp430x1611, - msp430x1612, msp430x415, msp430x417, msp430xG437, msp430xG438, - msp430xG439. - * configure.tgt: Likewise. - * emulparams/msp430all.sh: Likewise. - * Makefile.in: Regenerate. - -2004-07-23 Nick Clifton <nickc@redhat.com> - - * emultempl/elf32.em (_place_orphan): Use an already existing - section name if that section does not have any flags set. - -2004-07-21 H.J. Lu <hongjiu.lu@intel.com> - - * ldlang.c (already_linked_hash_entry): Removed. - (already_linked): Likewise. - (already_linked_table): Likewise. - (section_already_linked): Call bfd_section_already_linked. - (lang_process): Replace already_linked_table_init with - bfd_section_already_linked_table_init and check return. Replace - already_linked_table_free with bfd_section_already_linked_table_free. - -2004-07-21 Nick Clifton <nickc@redhat.com> - - * ldlang.c (init_os): Make sure that the newly allocated userdata - structure is zeroed out. - -2004-07-19 H.J. Lu <hongjiu.lu@intel.com> - - * NEWS: Mention the new --add-needed/--no-add-needed and - --as-needed/--no-as-needed options. - -2004-07-19 H.J. Lu <hongjiu.lu@intel.com> - - * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): Also - check the add_needed field. - (dt_needed): New struct. - (gld${EMULATION_NAME}_try_needed): Change the first argument - to a pointer to struct dt_needed. Check the DYN_NO_ADD_NEEDED - bit in the file where the DT_NEEDED entry comes from. - (gld${EMULATION_NAME}_search_needed): Change the second - argument to a pointer to struct dt_needed. - (gld${EMULATION_NAME}_check_ld_so_conf): Updated. - (gld${EMULATION_NAME}_after_open): Likewise. - - * ld.texinfo: Add --add-needed document. - * ldlang.c (new_afile): Set p->add_needed. - * ldlang.h (lang_input_statement_type): Add add_needed field. - * ldmain.h (add_needed): Declare. - * ldmain.c (add_needed): New global var. - * lexsup.c (option_values): Add OPTION_ADD_NEEDED and - OPTION_NO_ADD_NEEDED. - (ld_options): Likewise. - (parse_args): Handle them. - -2004-07-13 Christof Petig <christof@petig-baender.de> - - * emultempl/pe.em (make_import_fixup): Use bfd_get_32 to correct - for endian-ness of extracted addend. - -2004-07-13 Danny Smith <dannysmith@usesr.sourceforge.net> - - * pe-dll.c (auto_export): Filter on just the import prefix, - "_imp_", not "_imp__". - -2004-07-09 Nick Clifton <nickc@redhat.com> - - * configure.tgt: Change sh-sybmian-elf to sh-*-symbianelf. - -2004-07-06 Tomer Levi <Tomer.Levi@nsc.com> - - * Makefile.am (ALL_EMULATIONS): Add eelf32crx.o. - (eelf32crx.c): New target. - * Makefile.in: Regenerate. - * configure.tgt: Handle crx-*-elf*. - * emulparams/elf32crx.sh: New file. - * emultempl/crxelf.em: New file. - * scripttempl/elf32crx.sc: New file. - * NEWS: Mention new target. - -2004-07-06 Nick Clifton <nickc@redhat.com> - - * Makefile.am: Add eshlsymbian.c. - * Makefile.in: Regenerate. - * configure.tgt: Add sh*-symbian-elf target. - * emulparams/shlsymbian.sh: New file. Configure the - sh-symbian-elf linker scripts. - * scripttemp/elf32sh-symbian.sc: New file. Linker script - template for the sh-symbian-elf target. - -2004-07-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - * emulparams/hppa64linux.sh: Define PLT_BEFORE_GOT. - * emulparams/hppalinux.sh: Likewise. - * scripttempl/elf.sc: Place .plt just before .got when .plt is in - data segment and PLT_BEFORE_GOT is defined. - -2004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> - - * ld.texinfo (WIN32): Document PE weak symbols. - -2004-07-02 Kaz Kojima <kkojima@rr.iij4u.or.jp> - - * emulparams/shlelf32_linux.sh (COMMONPAGESIZE): Set to 4KB. - -2004-07-01 H.J. Lu <hongjiu.lu@intel.com> - - * ldmisc.c (vfinfo): Call bfd_get_section_ident to identify - the section. - -2004-06-29 Alan Modra <amodra@bigpond.net.au> - - * ldlang.c (lang_reset_memory_regions): Save last relax pass section - size in rawsize. - -2004-06-24 Alan Modra <amodra@bigpond.net.au> - - * ldlang.c (print_output_section_statement): Don't print size before - relaxation. - (IGNORE_SECTION): Remove bfd arg. Update all callers. - - * ldexp.c (fold_name): .. See below. - * ldlang.c (section_already_linked, print_output_section_statement, - print_input_section, insert_pad, size_input_section, - lang_check_section_addresses, lang_size_sections_1, - lang_size_sections, lang_do_assignments_1, lang_set_startof, - lang_one_common, lang_reset_memory_regions, lang_process, - lang_abs_symbol_at_end_of, lang_do_version_exports_section): .. - * ldwrite.c (build_link_order, clone_section, ds, split_sections): .. - * pe-dll.c (process_def_file, generate_reloc): .. - * emultempl/elf32.em (gld${EMULATION_NAME}_find_statement_assignment, - gld${EMULATION_NAME}_before_allocation): .. - * emultempl/mmix-elfnmmo.em (mmix_after_allocation): .. - * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_before_allocation, - sh64_elf_${EMULATION_NAME}_after_allocation): .. - * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): .. - * emultempl/xtensaelf.em (ld_assign_relative_paged_dot, - ld_local_file_relocations_fit, ld_xtensa_insert_page_offsets): Use - "size" instead of "_raw_size" and "_cooked_size". Expand - bfd_section_size macro invocations. - -2004-06-22 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> - - * ld/scripttemp/pe.sc (.CRT): Define ___crt_xc_start__, - ___crt_xc_end__, ___crt_xi_start__, ___crt_xi_end__, ___crt_xl_start__, - ___crt_xp_start__, ___crt_xp_end__, ___crt_xt_start__ and - ___crt_xt_end__. - (.tls): Define ___tls_start__ and ___tls_end__. - -2004-06-21 Alexandre Oliva <aoliva@redhat.com> - - * emulparams/elf32frvfd.sh (GENERATE_PIE_SCRIPT): Set to yes. - -2004-06-18 Adam Nemet <anemet@lnxw.com> - - * configure.in: Set EXTRA_SHLIB_EXTENSION to .a for LynxOS. - * configure: Regenerate. - -2004-06-15 Jakub Jelinek <jakub@redhat.com> - - * scripttempl/elf.sc: Readd KEEP and .gcc_except_table.* to - .gcc_except_table output sections lost accidentally with - -z relro patch. - -2004-06-15 Alan Modra <amodra@bigpond.net.au> - - * ldwrite.c (build_link_order): Use bfd_get_section_size - instead of bfd_get_section_size_before_reloc or _raw_size. - * pe-dll.c (process_def_file): Likewise. - -2004-06-14 Alan Modra <amodra@bigpond.net.au> - - From Richard Wirth <r.wirth@wirthware.de> - * ldlang.c (lang_finish): Don't free lang_definedness_table. - -2004-05-29 Alan Modra <amodra@bigpond.net.au> - - * ldlang.c (gc_section_callback): Move SEC_EXCLUDE twiddles.. - (lang_gc_sections): .. to a LANG_FOR_EACH_INPUT_STATEMENT loop here. - -2004-05-28 Alan Modra <amodra@bigpond.net.au> - - * ldlang.c: Formatting. Wrap long lines, expand bfd_get_section_flags - throughout file. - * lexsup.c: Formatting. Wrap long lines. - * ldwrite.c: Update copyright date. - - * ldlang.c (lang_add_section): Don't twidlle SEC_EXCLUDE here. - (output_section_callback): Nor SEC_KEEP here. - (gc_section_callback): Twiddle SEC_EXCLUDE here. - (lang_gc_wild): Delete. Fold into.. - (lang_gc_sections_1): ..here. Only call bfd_gc_sections when garbage - collecting. - (lang_process): Always call lang_gc_sections. - (lang_place_orphans): Handle SEC_EXCLUDE sections. - * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Remove - SEC_EXCLUDE code. - -2004-05-26 H.J. Lu <hongjiu.lu@intel.com> - - * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Clear - SEC_EXCLUDE on non-SEC_DEBUGGING sections for relocatable link. - * ldlang.c (lang_add_section): Likewise. - -2004-05-26 Alan Modra <amodra@bigpond.net.au> - - * ldlang.c (lang_add_section): Set SEC_EXCLUDE for SEC_GROUP - sections when doing a final link. Clear SEC_EXCLUDE when doing - a relocable link, except for SEC_DEBUGGING sections. - * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Use the - same condition here to drop SEC_EXCLUDE orphan sections. - -2004-05-25 Alan Modra <amodra@bigpond.net.au> - - * ldlang.c (lang_process): Call bfd_merge_sections later, and - only when not a relocatable link. - (print_input_section): Handle SEC_EXCLUDE sections. - (size_input_section): Don't update dot on SEC_EXCLUDE sections. - (lang_do_assignments_1): Likewise. - * ldwrite.c (build_link_order): Ignore SEC_EXCLUDE input sections. - * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Likewise. - * emultempl/hppaelf.em (build_section_lists): Likewise. - * emultempl/ppc64elf.em (build_toc_list): Likewise. - (build_section_lists): Likewise. - -2004-05-23 Andreas Schwab <schwab@suse.de> - - * ld.texinfo (Options): Fix typo in last change. - -2004-05-21 Andy Chittenden <achittenden@bluearc.com> - - * ld.h (ld_config_type): Add new field: hash_table_size. - * ldmain.c: Initialise the new field to zero. If it is non-zero - after parsing the linker's command line call - bfd_hash_set_default_size. - * lexsup.c (option_values): Add OPTION_HASH_SIZE. - (ld_options): Add hash-size. - (parse_args): Parse --hash-size option. Allow - --reduce-memory-overheads to set the default hash table size as - well. - * ld.texinfo: Document the new switch. Also mention that - --reduce-memory-overheads can affect the hash table size. - * NEWS: Mention the new feature. - -2004-05-19 J"orn Rennecke <joern.rennecke@superh.com> - - * NEWS: Mention new linker map file generation and the - --reduce-memory-overheads option. - * ld.texinfo: Document --reduce-memory-overheads option. - * ld.h (map_symbol_def): New struct. - (struct user_section_struct, section_userdata_type): Rename to: - (struct lean_user_section_struct, lean_section_userdata_type). - (struct fat_user_section_struct, fat_section_userdata_type): New. - (SECTION_USERDATA_SIZE): Define. - (args_type): New member reduce_memory_overheads. - * ldlang.c (map_obstack): New static variable. - (init_map_userdata, print_all_symbols, sort_def_symbol): New functions. - (lang_map): Unless command_line.reduce_memory_overheads is set, - initialize lists of defined symbols for each section. - (print_input_section): Unless command_line.reduce_memory_overheads - is set, use print_all_symbols. - (init_os): Use lean_section_userdata_type / SECTION_USERDATA_SIZE. - * ldmain.c (main): Initialize command_line.reduce_memory_overheads. - * lexsup.c (enum option_values): Add OPTION_REDUCE_MEMORY_OVERHEADS. - (ld_options): Add entry for --reduce-memory-overheads. - (parse_args): Handle OPTION_REDUCE_MEMORY_OVERHEADS. - -2004-05-19 Jakub Jelinek <jakub@redhat.com> - - * ldgram.y (sect_constraint): New. - (ONLY_IF_RO, ONLY_IF_RW): New tokens. - (section): Add sect_constraint. Pass additional argument - to lang_enter_output_section_statement. - * mri.c (mri_draw_tree): Pass additional argument to - lang_enter_output_section_statement. - * emultempl/pe.em (place_orphan): Likewise. - (output_prev_sec_find): Disregard output section statements with - constraint == -1. - * emultempl/mmo.em (output_prev_sec_find): Likewise. - (mmo_place_orphan): Pass additional argument to - lang_enter_output_section_statement. - * emultempl/elf32.em (output_prev_sec_find): Disregard output section - statements with constraint == -1. - (place_orphan): Pass additional argument to - lang_enter_output_section_statement. - * ldlang.c (lang_enter_overlay_section): Likewise. - (lang_output_section_find_1): New. - (lang_output_section_find): Use it. - (lang_output_section_statement_lookup_1): New. - (lang_output_section_statement_lookup): Use it. - (check_section_callback, check_input_sections): New. - (map_input_to_output_sections): Check if all input sections - are readonly if ONLY_IF_RO or ONLY_IF_RW was seen. - (strip_excluded_output_sections): Disregard output section statements - with constraint == -1. - (lang_record_phdrs): Likewise. - (lang_enter_output_section_statement): Add constraint argument. - Use lang_output_section_statement_lookup_1. - * ldlang.h (lang_output_section_statement_type): Add constraint - and all_input_readonly fields. - (lang_enter_output_section_statement): Adjust prototype. - * ldlex.l (ONLY_IF_RO, ONLY_IF_RW): New tokens. - * scripttempl/elf.sc (.eh_frame, .gcc_except_table): Move into text - segment if all input sections are readonly. - -2004-05-19 Adam Nemet <anemet@lnxw.com> - - * scripttempl/i386lynx.sc: Remove file. - -2004-05-17 Bob Wilson <bob.wilson@acm.org> - - * ld.texinfo (Output Section Address): Correct subsection name. - -2004-05-17 Adam Nemet <anemet@lnxw.com> - - * configure.tgt (powerpc-*-lynxos* case): New case. - * configure.host (i[3-7]86-*-lynxos* case): Remove case. - * emulparams/ppclynx.sh: New file. - * emulparams/i386lynx.sh (SCRIPT_NAME): Update to LynxOS 4.0. - * Makefile.am (ALL_EMULATIONS): Add eppclynx.o - (ei386lynx.c): Update rule to LynxOS 4.0 ELF. - (eppclynx.c): New rule. - * Makefile.in: Regenerate. - -2004-05-13 Joel Sherrill <joel@oarcorp.com> - - * configure.tgt (or32-*-rtems*): Switch to elf and - support versioned targets. - -2004-05-13 Nick Clifton <nickc@redhat.com> - - * po/fr.po: Updated French translation. - -2004-05-11 Jakub Jelinek <jakub@redhat.com> - - * genscripts.sh: Generate -z combreloc -z now -z relro scripts - for binaries, -shared and -pie. - * emulparams/elf_i386.sh (SEPARATE_GOTPLT): Set. - * emulparams/elf_x86_64.sh (SEPARATE_GOTPLT): Set. - * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Rename to... - (OTHER_RELRO_SECTIONS): ... this. - * ldlex.l (DATA_SEGMENT_RELRO_END): Add. - * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle - -z relro and -z norelro. - (gld${EMULATION_NAME}_list_options): Add it to usage. - (gld${EMULATION_NAME}_get_script): Return -z combreloc -z now - -z relro scripts when appropriate. - * scripttempl/elf.sc: Unset SEPARATE_GOTPLT if RELRO_NOW is set. - Create separate .got.plt section if SEPARATE_GOTPLT. - Move sections which are only written during relocation handling - to the beginning of RW segment. If NO_SMALL_DATA, move .got - before .data. Add DATA_SEGMENT_RELRO_END directive. - Include OTHER_RELRO_SECTIONS. - * ldgram.y (DATA_SEGMENT_RELRO_END): Add. - * ldexp.c (exp_print_token): Handle DATA_SEGMENT_RELRO_END. - (fold_unary): Likewise. - (fold_binary): Handle -z relro. - * ldexp.h (struct exp_data_seg): Add exp_dataseg_relro_seen and - exp_dataseg_relro_adjust phases. Add relro_end field. - * ldmain.c (main): Initialize link_info.relro to FALSE. - * ldlang.c (lang_size_sections): Handle -z relro. - -2004-05-08 Marek Michalkiewicz <marekm@amelek.gda.pl> - - * scripttempl/avr.sc: Do not set LMA for "eeprom" section. - -2004-05-07 J"orn Rennecke <joern.rennecke@superh.com> - - * ldlang.c (print_padding_statement): Cast size_t to bfd_vma - before printing it with %W. - -2004-05-07 Brian Ford <ford@vss.fsi.com> - DJ Delorie <dj@redhat.com> - - * emultempl/pe.em (real_flags): New static. - (OPTION_LARGE_ADDRESS_AWARE): New define. - (gld${EMULATION_NAME}_add_options): Add --large-address-aware option. - (gld_${EMULATION_NAME}_list_options): Likewise. - (gld${EMULATION_NAME}_handle_option): Likewise. - (gld_${EMULATION_NAME}_after_open): Pass real_flags to PE private data. - * ld.texinfo: Document it. - * NEWS: Mention it. - -2004-05-07 Brian Ford <ford@vss.fsi.com> - - * NEWS: Mention DWARF 2 support for i386pe. - -2004-05-05 Alexandre Oliva <aoliva@redhat.com> - - * emulparams/elf32frvfd.sh (OUTPUT_FORMAT): Switch to new - elf32-frvfdpic. - -2004-04-30 Alan Modra <amodra@bigpond.net.au> - - * ldlang.c (unique_section_p): Pass section parm, return true on - group sections. - (output_section_callback): Adjust. - * ldlang.h (unique_section_p): Update prototype. - * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust. - -2004-04-30 Eric Botcazou <ebotcazou@act-europe.fr> - - * ld.texinfo (--gc-sections): Remove restriction for - dynamic linking. - -2004-04-29 Brian Ford <ford@vss.fsi.com> - - * scripttempl/pe.sc: Handle .debug* and .gnu.linkonce.wi.* sections - for DWARF 2/3. Update stab section's syntax. - -2004-04-29 Alan Modra <amodra@bigpond.net.au> - - * pe-dll.c: Revert changes accidentally committed 2004-03-08. - (fill_edata): Correct pointer arithmetic. - -2004-04-21 Chris Demetriou <cgd@broadcom.com> - - * ld.texinfo: Remove MIPS --embedded-relocs documentation. - * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Remove definition. - * emulparams/mipsidt.sh (TEMPLATE_NAME): Use generic.em. - (EXTRA_EM_FILE): Use mipsecoff.em - * emulparams/mipsidtl.sh (TEMPLATE_NAME): Use generic.em. - (EXTRA_EM_FILE): Use mipsecoff.em - * emultempl/mipsecoff.em: Restructure to be included as an - extra emulation file. - (check_sections, gld${EMULATION_NAME}_after_open) - (gld${EMULATION_NAME}_after_allocation) - (gld${EMULATION_NAME}_get_script) - (ld_${EMULATION_NAME}_emulation): Remove - (gld${EMULATION_NAME}_before_parse): Rename to... - (mipsecoff_before_parse): This. - (LDEMUL_BEFORE_PARSE): Define. - * emultempl/mipself.em: Remove file. - * scripttempl/mips.sc (.rel.sdata): Do not include in output. - (__runtime_reloc_start, __runtime_reloc_stop): Stop providing - these symbols. - * Makefile.am: Remove dependencies on emultempl/mipself.em. - * Makefile.in: Regenerate. - -2004-04-21 Anil Paranjpe <anilp1@kpitcummins.com> - - * ld.texinfo (synthesizing on H8/300): Information about linker - relaxation support for bit manipulation instructions and system - control instructions is added. - -2004-04-21 Hans-Peter Nilsson <hp@axis.com> - - * NEWS: Mention change in DEFINED semantics. - -2004-04-21 Eric Botcazou <ebotcazou@act-europe.fr> - - * scripttempl/elf.sc (.text): Add KEEP for .text.*personality*. - (.data): Add KEEP for .gnu.linkonce.d.*personality*. - (.gcc_except_table): Add KEEP for self and accept .gcc_except_table.*. - -2004-04-21 Ben Elliston <bje@au.ibm.com> - - * ld.texinfo (Simple Example): Add missing punctuation. - -2004-04-20 Chris Demetriou <cgd@broadcom.com> - - * NEWS: Note that MIPS --embedded-relocs option is deprecated. - -2004-04-19 Jakub Jelinek <jakub@redhat.com> - - * ldlang.c (lang_do_assignments_1): Handle .tbss output section - specially. - -2004-04-18 Danny Smith <dannysmith@users.sourceforge.net> - - * scriptempl/pe.sc: Put numbered .ctors.* after .ctors - with default priority. Likewise for dtors. - -2004-04-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> - - * configure.host: Remove mips*-dec-bsd* target. - * configure.tgt: Likewise. - -2004-04-08 Richard Sandiford <rsandifo@redhat.com> - - * emulparams/elf32bsmip.sh (EXTRA_EM_FILE): Define to irix. - * emulparams/elf64bmip.sh (EXTRA_EM_FILE): Likewise. - * emulparams/elf32bmipn32.sh (EXTRA_EM_FILE): Likewise. - * emultempl/irix.em: New file. - * Makefile.am (eelf32bsmip.c, eelf32bmipn32.c, eelf64bmip.c): Update - dependencies. - * Makefile.in: Regenerate. - -2004-04-01 Paul Brook <paul@codesourcery.com> - - * emultempl/armelf.em (byteswap_code): Add. - (arm_elf_before_allocation): Pass extra parameter. - (PARSE_AND_LIST_PROLOGUE): Add OPTION_BE8. - (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add be8. - (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_BE8. - * emultempl/armelf_oabi.em: Pass extra parameter. - * ld.texinfo: Document --be8. - -2004-03-30 Stan Shebs <shebs@apple.com> - - Remove long-obsolete MPW support. - * mpw-config.in, mpw-make.sed, mac-ld.r: Remove files. - * Makefile.am (mpw): Remove file-presynthesizing actions. - * Makefile.in: Likewise. - * ldfile.c (slash): Remove MPW case. - * ldlex.l [MPW]: Remove unused definition. - -2004-03-30 Galit Heller <Galit.Heller@nsc.com> - - * Makefile.am (ALL_EMULATIONS): Add eelf32cr16c.o. - (eelf32cr16c.c): New target. - * Makefile.in: Regenerate. - * configure.tgt: Handle cr16c-*-elf*. - * emulparams/elf32cr16c.sh: New file. - * scripttempl/elfcr16c.sc: Likewise - * NEWS: Mention support for new target. - -2004-03-30 Nick Clifton <nickc@redhat.com> - - * po/sv.po: Updated Swedish translation. - -2004-03-27 Alan Modra <amodra@bigpond.net.au> - - * emultempl/elf32.em: Update new bfd_elf_discard_info name. - * emultempl/hppaelf.em: Likewise. - * emultempl/ppc64elf.em: Likewise. - * emultempl/sh64elf.em: Likewise. - -2004-03-25 Alan Modra <amodra@bigpond.net.au> - - * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Update - size_dynamic_sections call. - -2004-03-23 Alan Modra <amodra@bigpond.net.au> - - PR 51. - * emultempl/ppc64elf.em (ppc_create_output_section_statements): Set - link_info.wrap_char. - -2004-03-20 H.J. Lu <hongjiu.lu@intel.com> - - * lexsup.c (parse_args): Don't set unresolved_syms_in_objects - or unresolved_syms_in_shared_libs for -Bdynamic and -Bstatic. - -2004-03-20 Alexandre Oliva <aoliva@redhat.com> - - * emulparams/elf32frvfd.sh (MAXPAGESIZE): Change to 16Kb. - -2004-03-19 Alan Modra <amodra@bigpond.net.au> - - * config.in: Regenerate. - * po/ld.pot: Regenerate. - -2004-03-18 Alan Modra <amodra@bigpond.net.au> - - * ld.texinfo: Add --as-needed doco. - * ldmain.c (as_needed): New global var. - * ldmain.h (as_needed): Declare. - * lexsup.c (option_values): Add OPTION_AS_NEEDED and - OPTION_NO_AS_NEEDED. - (ld_options): Likewise. - (parse_args): Handle them. - * ldlang.h (lang_input_statement_type): Add as_needed field. - * ldlang.c (new_afile): Set p->as_needed. - * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): New function. - (gld${EMULATION_NAME}_try_needed): Use bfd_elf_set_dyn_lib_class. - (ld_${EMULATION_NAME}_emulation): Set LDEMUL_RECOGNIZED_FILE entry. - - * ldlang.c (open_input_bfds): Remove useless cast. - (lang_do_assignments_1): Likewise. - (lang_for_each_input_section): Delete. - -2004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de> - - * configure.tgt: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*. - -2004-03-08 Danny Smith <dannysmith@users.sourceforge.net> - - * pe-dll.c (pe_dll_generate_implib): Skip sections marked as - private when building implib. - -2004-03-05 Nathan Sidwell <nathan@codesourcery.com> - - * ldlang.c (lang_add_section): Don't force SEC_LOAD on - SEC_THREAD_LOCAL. - (IGNORE_SECTION): Ignore .tbss sections too. - (lang_size_sections_1): .tbss sections do not advance dot. - -2004-03-01 Andreas Schwab <schwab@suse.de> - - * ld.texinfo (Options): Fix example for --wrap. - -2004-02-25 Danny Smith <dannysmith@users.sourceforge.net> - - * pe-dll.c (fill_edata): Check that exported_symbol_sections is - not NULL. - -2004-02-23 Ian Lance Taylor <ian@wasabisystems.com> - - * ldlang.c (lang_check): Use %P, not %E, in error message. - -2004-02-23 Nathan Sidwell <nathan@codesourcery.com> - - * ldlang.h (struct lang_output_section_state): Change processed - field's type. - * ldexp.c (check, invalid): Remove. - (fold_name): Move valid_p assignments. Create undefined symbol - when needed. Directly exampine section's processd flag. - * ldlang.c (lang_output_section_statement_lookup): Adjust - processed field init. - (lang_size_sections_1): Allow LOADADDR when determining section's - VMA. Adjust error message. Fold data statement's expr. - (lang_size_sections): Correctly increment lang_statement_iteration. - -2004-02-23 Alan Modra <amodra@bigpond.net.au> - - * ldexp.c (fold_tree): Follow indirect symbols. - -2004-02-20 Nathan Sidwell <nathan@codesourcery.com> - - * ldgram.y (exp): Add two operand ALIGN. - * ldexp.c (fold_binary): Add ALIGN_K case. - * ld.texinfo (ALIGN): Document two operand version. - -2004-02-19 Nathan Sidwell <nathan@codesourcery.com> - - * ldlang.c (map_input_to_output_sections): Initialize sections - mentioned in a data statement expression. - (lang_do_assignments_1): Add data statement's expression's - section's vma. - -2004-02-18 Nathan Sidwell <nathan@codesourcery.com> - - * ldgram.y (statement_anywhere): Add assert rule. - * ldlang.c (exp_init_os): Add assert case. - -2004-02-14 Andrew Cagney <cagney@redhat.com> - - * ldmain.c (remove_output): Call bfd_cache_close. - -2004-02-14 Richard Sandiford <rsandifo@redhat.com> - - * emulparams/elf32bmipn32-defs.sh (OTHER_SECTIONS): Discard - .MIPS.content* and .MIPS.events* sections. - -2004-02-09 Daniel Jacobowitz <drow@mvista.com> - - * emulparams/armelf.sh, emulparams/armelf_linux.sh: Move - .note.gnu.arm.ident to after allocated sections. Mark its - address as 0. - -2004-02-09 Daniel Jacobowitz <drow@mvista.com> - - * emulparams/armelf_linux.sh (COMMONPAGESIZE): Set to 4KB. - * emulparams/elf32bmip.sh (COMMONPAGESIZE): Likewise. - * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Likewise. - * emulparams/elf32btsmipn32.sh (COMMONPAGESIZE): Likewise. - * emulparams/shlelf_linux.sh (COMMONPAGESIZE): Likewise. - -2004-02-05 Nick Clifton <nickc@redhat.com> - - * emultempl/pe.em (_after_open): Fix typo in previous delta. - -2004-02-04 Danny Smith <dannysmith@users.sourceforge.net> - - * emultempl/pe.em (_after_open): Fix thinko in 2003-12-18 patch. - -2004-01-28 Alan Modra <amodra@bigpond.net.au> - - * genscripts.sh: Fix typo. - - * genscripts.sh: Apply $LIBPATH_SUFFIX to $tool_lib and $libdir too. - -2004-01-24 Jakub Jelinek <jakub@redhat.com> - - * emulparams/elf64_ia64.sh: Put .rela.opd into - OTHER_GOT_RELOC_SECTIONS instead of OTHER_PLT_RELOC_SECTIONS. - -2004-01-20 Danny Smith <dannysmith@users.sourceforge.net> - - * pe-dll.c (pe_create_import_fixup): Clear WP_TEXT flag. - * ld.texinfo (--omagic): Note that writable text section - does not conform to published PE-COFF specs. - (--enable-auto-import): Likewise. - -2004-01-15 Alan Modra <amodra@bigpond.net.au> - - * emulparams/elf32ppc.sh (COMMONPAGESIZE): Define. - -2004-01-13 Nick Clifton <nickc@redhat.com> - - * ldlang.c (lang_get_regions): Add extra parameter 'have_vma' - which if true will prevent the LMA region being used as a - replacement for a default VMA region. - (lang_leave_output_section_statement): Pass extra parameter. - (lang_leave_overlay): Likewise. - * ld.texinfo (Output Section LMA): Document that the LMA - region can be set to the VMA region if no VMA has been set. - * ldlang.h (struct lang_output_section_phdr_list): Create a - typedef for this type. Minor formatting fixes. - -2004-01-13 Nick Clifton <nickc@redhat.com> - - * ldlang.c (lang_size_sections_1): If dot is advanced, then - assume that the section should be allocated. - -2004-01-13 Alan Modra <amodra@bigpond.net.au> - - * ldlang.c (IGNORE_SECTION): Don't ignore SEC_ALLOC && !SEC_LOAD - sections. Do ignore SEC_NEVER_LOAD sections. - (lang_size_sections_1): Remove test made redundant with the above. - -2004-01-09 Alan Modra <amodra@bigpond.net.au> - - * emultempl/ppc64elf.em (ppc_before_allocation): Clear cached - program_header_size. - -2004-01-06 Alexandre Oliva <aoliva@redhat.com> - - 2003-11-28 Alexandre Oliva <aoliva@redhat.com> - * emulparams/elf32frvfd.sh (EMBEDDED): Clear. - 2003-11-05 Alexandre Oliva <aoliva@redhat.com> - * emulparams/elf32frvfd.sh (STACK_ADDR): Unset. - (MAXPAGESIZE): Set to 64Kb. - (OTHER_READONLY_SECTIONS): Define __ROFIXUP_LIST__ and - __ROFIXUP_END__. Don't map .rofixup.got any more. - * emulparams/elf32frv.sh (NOP): Set. - 2003-10-31 Alexandre Oliva <aoliva@redhat.com> - * configure.tgt: Add frv-*-*linux*. - 2003-09-30 Alexandre Oliva <aoliva@redhat.com> - * Makefile.am (ALL_EMULATIONS): Added eelf32frvfd.o. - (eelf32frvfd.c): New. - * configure.tgt <frv-*-*>: Added it to targ_extra_emuls. - * emulparams/elf32frv.sh: Reverted previous two patches. - * emulparams/elf32frvfd.sh: New. - * Makefile.in: Rebuilt. - 2003-09-18 Alexandre Oliva <aoliva@redhat.com> - * emulparams/elf32frv.sh (OTHER_READONLY_SECTIONS): Added - .rofixup.got to .rofixup. - 2003-09-15 Alexandre Oliva <aoliva@redhat.com> - * emulparams/elf32frv.sh (MAXPAGESIZE): Make it 256KiB, not 256B. - (TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT): Set. - -2004-01-05 Jakub Jelinek <jakub@redhat.com> - - * emulparams/elf_s390.sh (NO_SMALL_DATA): Set to yes. - * emulparams/elf64_s390.sh (NO_SMALL_DATA): Set to yes. - -2004-01-03 Alan Modra <amodra@bigpond.net.au> - - * ldexp.c (align_n): Make static. - * ldexp.h (align_n): Delete declaration. - * ldlang.h (lang_enter_output_section_statement): Remove - block_value param. - * ldlang.c (lang_enter_output_section_statement): Likewise. - (TO_ADDR, TO_SIZE): Define. - (opb_shift): New var. - (init_opb): New function. - (print_input_section): Call init_opb and use TO_ADDR. - (print_data_statement, print_reloc_statement): Likewise. - (print_padding_statement): Likewise. - (size_input_section): Use TO_SIZE and TO_ADDR, and global opb_shift. - (lang_check_section_addresses): Likewise. - (lang_size_sections_1): Likewise. - (lang_do_assignments_1): Likewise. - (lang_set_startof): Likewise. - (lang_one_common): Likewise. Combine power_of_two and opb_shift align. - (lang_process): Call init_opb. - (lang_abs_symbol_at_end_of): Use TO_ADDR and global opb_shift. - (lang_enter_overlay_section): Adjust - lang_enter_output_section_statement call. - * ldgram.y: Likewise. - * mri.c (mri_draw_tree): Likewise. - * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise. - * emultempl/mmo.em (mmo_place_orphan): Likewise. - * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Likewise. - - * ldfile.c (ldfile_set_output_arch): Add defarch param. - * ldfile.h (ldfile_set_output_arch): Ditto. - * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Use - ldfile_set_output_arch. - * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Ditto. - * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Ditto. - * emultempl/linux.em (gld${EMULATION_NAME}_before_parse): Ditto. - * emultempl/mipsecoff.em (gld${EMULATION_NAME}_before_parse): Ditto. - * emultempl/pe.em (gld${EMULATION_NAME}_before_parse): Ditto. - * emultempl/sunos.em (gld${EMULATION_NAME}_before_parse): Ditto. - * ldgram.y: Adjust ldfile_set_output_arch call. - * emultempl/armcoff.em (gld${EMULATION_NAME}_before_parse): Ditto. - * emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Ditto. - * emultempl/armelf_oabi.em (gld${EMULATION_NAME}_before_parse): Ditto. - * emultempl/generic.em (gld${EMULATION_NAME}_before_parse): Ditto. - * emultempl/gld960c.em (gld960_set_output_arch): Ditto. - * emultempl/m68kcoff.em (gld${EMULATION_NAME}_before_parse): Ditto. - * emultempl/ticoff.em (gld${EMULATION_NAME}_before_parse): Ditto. - -2004-01-02 Bernardo Innocenti <bernie@develer.com> - - * configure.tgt: Add m68k-uClinux target. - -For older changes see ChangeLog-0203 +For older changes see ChangeLog-2005 Local Variables: mode: change-log diff --git a/ld/ChangeLog-2004 b/ld/ChangeLog-2004 new file mode 100644 index 0000000..44eb03a --- /dev/null +++ b/ld/ChangeLog-2004 @@ -0,0 +1,1442 @@ +2004-12-28 Danny Smith <dannysmith@users.sourceforge.net> + + * emultempl/pe.em (set_pe_subsystem): Change second arg to + lang_add_entry to FALSE. + +2004-12-23 Nick Clifton <nickc@redhat.com> + + PR 600 + * emulparams/shelf.sh (.stack): Increase stack start address to + 0x300000. + +2004-12-20 Nick Clifton <nickc@redhat.com> + + * ldmain.c (main): Issue an error message if -static and -shared + are used together. + +2004-12-17 Jakub Jelinek <jakub@redhat.com> + + * ldexp.h (exp_data_seg): Add min_base and maxpagesize fields. + * ldexp.c (fold_binary) <case DATA_SEGMENT_ALIGN>: Initialize them. + * ldlang.c (lang_size_sections): Use them to avoid wasting virtual + address space at DATA_SEGMENT_ALIGN. Fix computation of expected + PT_GNU_RELRO segment end. + +2004-12-14 P.J. Darcy <darcypj@us.ibm.com> + + * configure.tgt: Add s390x-ibm-tpf support. + +2004-12-16 Martin Kögler <mkoegler@auto.tuwien.ac.at> + + * ldmisc.c (vfinfo): Handle the case where %B is passed a NULL + BFD. + +2004-12-07 Ben Elliston <bje@gnu.org> + + * ldemul.h: Forward declare struct option. + +2004-12-01 Danny Smith <dannysmith@users.sourceforge.net> + + * scripttempl/pe.sc (.data): Add .jcr subsection. + +2004-11-30 Paul Brook <paul@codesourcery.com> + + * emultempl/armelf.em: Ignore -p and -no-pipeline-knowledge. + +2004-11-30 Tero Niemela <tero_niemela@yahoo.com> + + * Makefile.am: Change LOCALEDIR to $(datadir)/share. + * Makefile.in: Regenerate. + +2004-11-26 Melissa Mears <asterisk@graces.dricas.com> + + * emultempl/pe.em: Add --subsystem:xbox as well as + --subsystem:%d. + * ld.texinfo: (ld_options): Document acceptance of subsystem xbox + and numeric subsystems. + +2004-11-24 Alan Modra <amodra@bigpond.net.au> + + * ldexp.c (fold_name): Correct PR 338 fix. + +2004-11-19 Mark Mitchell <mark@codesourcery.com> + + * Makefile.am (ALL_EMULATIONS): Add earmelf_linux_eabi.o. + (earmelf_linux_eabi.c): New target. + * configure.tgt (arm*-*-linux-gnueabi): Handle it. + * emulparams/armelf_linux_eabi.sh: New file. + * Makefile.in: Regenerated. + +2004-11-19 Nick Clifton <nickc@redhat.com> + + PR 518 + * ld.texinfo (MEMORY): Update the descriptions of the ORIGIN and + LENGTH fields in the MEMORY command, to explicitly state that + symbols cannot be used in their expressions. + +2004-11-19 Jon Beniston <jon@beniston.com> + + * ld/ldlex.l: Allow ORIGIN and LENGTH in EXPRESSION. + * ld/ldgram.y: Add ORIGIN and LENGTH expressions. + * ld/ldexp.c (fold_name): Implement LENGTH() and ORIGIN() functions + which return the length and origin of a memory. + * ld/ld.texinfo: Document LENGTH() and ORIGIN() functions. + * NEWS: Mention support for ORIGIN and LENGTH operators. + +2004-11-17 Daniel Jacobowitz <dan@codesourcery.com> + + * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Don't use + a dynamic object for stubs. + +2004-11-04 Paul Brook <paul@codesourcery.com> + + * ld.texinfo: Document --default-imported-symver. + * ldmain.c (main): Set link_info.default_imported_symver. + * lexsup.c (option_values): Add OPTION_DEFAULT_IMPORTED_SYMVER. + (ld_options): Add --default-imported-symver. + (parse_args): Handle OPTION_DEFAULT_IMPORTED_SYMVER. + +2004-11-08 Inderpreet Singh <inderpreetb@nioda.hcltech.com> + Vineet Sharma <vineets@noida.hcltech.com> + + * Makefile.am: Add entries for new maxq-coff target. + * Makefile.in: Regenerate. + * configure.tgt: Add support for maxq. + * emulparams/maxqcoff.sh: New File. + * scripttempl/maxqcoff.sc: New linker script for target maxq. + * NEWS: Mention the new target. + +2004-11-04 Daniel Jacobowitz <dan@debian.org> + + * Makefile.am (ALL_EMULATIONS): Remove earmelf_oabi.o. + (earmelf_oabi.c): Remove rule. + * configure.tgt: Remove arm-*-oabi and thumb-*-oabi. + * emulparams/armelf_oabi.sh, emultempl/armelf_oabi.em: Delete files. + * Makefile.in: Regenerated. + +2004-11-04 Hans-Peter Nilsson <hp@axis.com> + + * configure.tgt (crisv32-*-*): Handle like cris-*-* for non-aout. + * emulparams/criself.sh (INIT_START): Remove emitted "push srp". + (FINI_START): Ditto. + (INIT_END): Remove emitted "jump [sp+]". + (FINI_END): Ditto. + +2004-11-04 Alan Modra <amodra@bigpond.net.au> + + * emultempl/ppc64elf.em (no_tls_opt): Rename from notlsopt. + (no_opd_opt, no_toc_opt): New static vars. + (ppc_before_allocation): Don't edit opt if no_opd_opt. Call + ppc64_elf_edit_toc. + (OPTION_NO_OPD_OPT, OPTION_NO_TOC_OPT): Define. + (PARSE_AND_LIST_LONGOPTS): Add no-opd-optimize and no-toc-optimize. + (PARSE_AND_LIST_OPTIONS): Describe new options. + (PARSE_AND_LIST_ARGS_CASES): Handle them. + +2004-10-27 Nick Clifton <nickc@redhat.com> + + * emultempl/alphaelf.em (alpha_after_parse): Add extra, NULL, + parameter to invocation of lang_section_start. + * emultempl/aix.em (_handle_option): Likewise. + + * Makefile.am (eelf64alpha.c, eelf64alpha_fbsd.c, + eelf64alpha_nbsd.c): Add dependency upon emultempl/alphaelf.em. + * Makefile.in: Regenerate. + +2004-10-26 Mark Mitchell <mark@codesourcery.com> + + * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Do not emit + __exidx_{start,end} when not relocating. + +2004-10-25 Mark Mitchell <mark@codesourcery.com> + + * Makefile.in (earmsymbian.c): Depend on armbpabi.sc, not elf.sc. + * ldexp.h (segment_type): New type. + (segments): New variable. + * ldexp.c (segments): New variable. + (exp_print_token): Handle SEGMENT_START. + (fold_binary): Likewise. + * ldgram.y (SEGMENT_START): Declare it as a token. + (exp): Handle SEGMENT_START. + * ldlang.h (lang_address_statement_type): Add segment field. + (lang_section_start): Change prototype. + * ldlang.c (map_input_to_output_sections): Do not process section + assignments if a corresponding SEGMENT_START has already been + seen. + (lang_section_start): Add segment parameter. + * ldlex.l (SEGMENT_START): Add it. + * lexsup.c (seg_segment_start): New function. + (parse_args): Use it for -Tbss, -Tdata, and -Ttext. + * ld.texinfo (SEGMENT_START): Document it. + * emulparams/armsymbian.sh (EMBEDDED): Set it. + * scripttempl/armbpabi.sc: Use SEGMENT_START to control segment + base addresses. Do not map relocations. + * NEWS: Mention SEGMENT_START. + +2004-10-26 Paul Brook <paul@codesourcery.com> + + * ld.texinfo: Document --default-symver. + * ldmain.c (main): Set link_info.create_default_symver. + * lexsup.c (enum option_values): Add OPTION_DEFAULT_SYMVER. + (ld_options): Add default-symver. + (parse_args): Handle OPTION_DEFAULT_SYMVER. + +2004-10-24 Danny Smith <dannysmith@users.sourceforge.net> + + * pe-dll.c (process_def_file): Don't export all symbols by default if + building a position-independent executable. + +2004-10-21 H.J. Lu <hongjiu.lu@intel.com> + + PR 463 + * ldmain.c (reloc_overflow): Accept a pointer to struct + bfd_link_hash_entry. Report symbol location for relocation + overflow. + +2004-10-21 H.J. Lu <hongjiu.lu@intel.com> + + * genscripts.sh (libpath.exp): Really generate for first + emulation only. + +2004-10-19 Danny Smith <dannysmith@users.sourceforge.net> + + * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Simplify + comparison and replacement of filenames. + +2004-10-19 H.J. Lu <hongjiu.lu@intel.com> + + PR 459 + * ldlang.c (load_symbols): Use the same -Bdynamic/-Bstatic + option on linker script as the one for linker script. + +2004-10-16 Daniel Jacobowitz <dan@debian.org> + + * ldlang.c (struct excluded_lib, excluded_libs, add_excluded_libs) + (check_excluded_libs): New. + (load_symbols): Call check_excluded_libs. + * ldlang.h (add_excluded_libs): New prototype. + * emultempl/elf32.em (OPTION_EXCLUDED_LIBS): Define. + (gld${EMULATION_NAME}_add_options): Add --exclude-libs. + (gld${EMULATION_NAME}_handle_option): Handle --exclude-libs. + * ld.texinfo (Command Line Variables): Document --exclude-libs. + (Options Specific to i386 PE Targets): Remove --exclude-libs. + +2004-10-15 Alan Modra <amodra@bigpond.net.au> + + * ldexp.c (exp_fold_tree): Don't immediately exit ld on a + failing link script assert. + + * ldctor.c (ldctor_add_set_entry): Fix comment typo. + +2004-10-14 H.J. Lu <hongjiu.lu@intel.com> + + PR 445 + * emulparams/elf64_ia64.sh (SMALL_DATA_CTOR): Set. + (SMALL_DATA_DTOR): Set. + * emulparams/elf64_ia64_fbsd.sh (SMALL_DATA_CTOR): Unset. + (SMALL_DATA_DTOR): Unset. + * scripttempl/elf.sc: If SMALL_DATA_CTOR is set, move .ctors + after .data. If SMALL_DATA_DTOR is set, move .dtors after + .data. + +2004-10-14 Alan Modra <amodra@bigpond.net.au> + + PR 63 + * ldlang.h (lang_output_section_statement_type): Make "next" a + struct lang_output_section_statement_struct *. + (struct orphan_save): Move from elf32.em. Add "name" and "flags". + (lang_output_section_find_by_flags, lang_insert_orphan): Declare. + * ldlang.c (lang_output_section_find_1): Adjust for changed + output_section_statement "next". + (strip_excluded_output_sections): Likewise. + (lang_record_phdrs): Likewise. + (lang_output_section_find_by_flags): New function. + (output_prev_sec_find): Move from pe.em. Adjust iterator. + (lang_insert_orphan): New function. Tail end of elf32.em's + place_orphan merged with that from pe.em. Allow bfd_section to + be placed first. New heuristic for placing new output section + statement in existing script, and accompanying split of __start + symbol alignment into a separate assignment to dot. + (lang_add_section): Consistently use output->bfd_section rather than + an alias, section->output_section. + (map_input_to_output_sections): Rename overly long arg. Move + initialization of data_statement output section to here.. + (lang_check_section_addresses): ..from here. + (print_assignment): Correct printing of etree_assert. + (print_all_symbols): Don't bomb if userdata is NULL. + (IGNORE_SECTION): Rearrange. + * emultempl/elf32.em (output_rel_find): Adjust interator. + (output_prev_sec_find): Delete. + (struct orphan_save): Delete. + (gld${EMULATION_NAME}_place_orphan): Cater for zero bfd_section + flags without creating a duplicate output section statement. + Revise code holding history of various orphan section placements. + Allow orphan sections to place before script specified output + sections. Call lang_output_section_find_by_flags when placement + by name fails. Use lang_insert_orphan. + * emultempl/mmo.em (output_prev_sec_find): Delete. + (struct orphan_save): Delete. + (mmo_place_orphan): Revise code holding history of orphan placement. + Allow orphans to place before existing output sections. Use + lang_insert_orphan. + * emultempl/pe.em (output_prev_sec_find): Delete. + (struct orphan_save): Delete. + (gld_${EMULATION_NAME}_place_orphan): Revise to suit use of + lang_insert_orphan. + +2004-10-13 Mark Mitchell <mark@codesourcery.com> + + * scripttempl/armbpabi.sc: Do not put .gnu.version.* into a + loadable segment. + +2004-10-13 Alan Modra <amodra@bigpond.net.au> + + PR 44 + * ldcref.c (check_section_sym_xref): Delete. + (check_local_sym_xref): New function. + (check_nocrossrefs): Adjust call. + * emultempl/pe.em (struct orphan_save): Add os_tail. + (place_orphan): Backport assorted fixes from elf32.em. + +2004-10-12 Bob Wilson <bob.wilson@acm.org> + + * emultempl/xtensaelf.em: Use ISO C90 formatting. + +2004-10-11 Jakub Jelinek <jakub@redhat.com> + + * emultempl/elf32.em (gld${EMULATION_NAME}_parse_ld_so_conf): Avoid + getline for portability. + + * emultempl/elf32.em (gld${EMULATION_NAME}_ld_so_conf): New structure. + (gld${EMULATION_NAME}_parse_ld_so_conf, + gld${EMULATION_NAME}_parse_ld_so_conf_include): New functions. + (gld${EMULATION_NAME}_check_ld_so_conf): Use them. + +2004-10-11 Alan Modra <amodra@bigpond.net.au> + + PR 423 + * ldfile.c (ldfile_try_open_bfd): Ensure dynamic objects are + rejected when linking statically. + +2004-10-08 Daniel Jacobowitz <dan@debian.org> + + * configure.tgt: Include elf_x86_64 for i[3-7]86-*-solaris2*. + +2004-10-07 Bob Wilson <bob.wilson@acm.org> + + * ld.texinfo (Xtensa): Describe new linker relaxation to optimize + assembler-generated longcall sequences. Describe new --size-opt + option. + * emulparams/elf32xtensa.sh (OTHER_SECTIONS): Add .xt.prop section. + * emultempl/xtensaelf.em (remove_section, + replace_insn_sec_with_prop_sec, replace_instruction_table_sections, + elf_xtensa_after_open): New. + (OPTION_OPT_SIZEOPT, OPTION_LITERAL_MOVEMENT, + OPTION_NO_LITERAL_MOVEMENT): Define. + (elf32xtensa_size_opt, elf32xtensa_no_literal_movement): New globals. + (PARSE_AND_LIST_LONGOPTS): Add size-opt and [no-]literal-movement. + (PARSE_AND_LIST_OPTIONS): Add --size-opt. + (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_OPT_SIZEOPT, + OPTION_LITERAL_MOVEMENT, and OPTION_NO_LITERAL_MOVEMENT. + (LDEMUL_AFTER_OPEN): Set to elf_xtensa_after_open. + * scripttempl/elfxtensa.sc: Update with changes from elf.sc. + * Makefile.am (eelf32xtensa.c): Update dependencies. + * Makefile.in: Regenerate. + +2004-10-07 Jeff Baker <jbaker@qnx.com> + + * lexsup.c: Handle --warn-shared-textrel option. + (ld_options): Restore alpha sorting of options. + * ldmain.c (main): Initialise warn_shared_info field to FALSE. + * ld.texinfo: Add documentation for --warn-shared-textrel. + * NEWS: Added mention of --warn-shared-textrel option. + +2004-10-05 Tomer Levi <Tomer.Levi@nsc.com> + + * emultempl/crxelf.em (disable_relaxation): Add. + (crxelf_before_allocation): Enable --relax option by default. + (PARSE_AND_LIST_PROLOGUE): Add OPTION_NO_RELAX. + (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --no-relax. + (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_NO_RELAX. + +2004-10-04 H.J. Lu <hongjiu.lu@intel.com> + + * NEWS: Mention SORT_BY_NAME, SORT_BY_ALIGNMENT and + --sort-section name|alignment. + + * ld.texinfo: Document SORT_BY_NAME, SORT_BY_ALIGNMENT and + --sort-section name|alignment. + + * ld.h (sort_type): New enum. + (wildcard_spec): Change the type of `sorted' to sort_type. + + * ldgram.y (SORT): Removed. + (SORT_BY_NAME): Added. + (SORT_BY_ALIGNMENT): Added. + (wildcard_spec): Updated `sorted'. Handle SORT_BY_NAME and + SORT_BY_ALIGNMENT. + (input_section_spec_no_keep): Updated `sorted'. + (statement): Replace SORT with SORT_BY_NAME. + + * ldlang.c (compare_section): New function to compare 2 + sections with different sorting schemes. + (wild_sort): Updated. Use compare_section. + (update_wild_statements): New function. + (lang_process): Call update_wild_statements before + map_input_to_output_sections. + + * ldlex.l (SORT_BY_NAME): New. + (SORT_BY_ALIGNMENT): New. + (SORT): Return SORT_BY_NAME. + + * ldmain.c (sort_section): New. Defined. + (main): Initialize it to none. + + * lexsup.c (option_values): Add OPTION_SORT_SECTION. + (ld_options): Add an entry for OPTION_SORT_SECTION. + (parse_args): Handle OPTION_SORT_SECTION. + + * mri.c (mri_draw_tree): Updated `sorted'. + +2004-10-04 Jakub Jelinek <jakub@redhat.com> + + * ldgram.y (DATA_SEGMENT_RELRO_END): Add one argument. + * scripttempl/elf.sc (DATA_SEGMENT_RELRO_END): Add 0 as first + argument. + (DATA_SEGMENT_RELRO_GOTPLT_END): Pass $SEPARATE_GOTPLT as first + and . as second argument. + (GOTPLT): Move $DATA_SEGMENT_RELRO_GOTPLT_END before the section. + * ldexp.c (fold_unary): Remove DATA_SEGMENT_RELRO_END handling here. + (fold_binary): Add it here. Insert padding to make relro_end + COMMONPAGESIZE bytes aligned. For DATA_SEGMENT_ALIGN in + exp_dataseg_relro_adjust phase just use previously computed + exp_data_seg.base. + * ldlang.c (lang_size_sections): Set exp_data_seg.base for + relro_adjust here. Call lang_size_sections_1 once more if there + was too big padding at DATA_SEGMENT_RELRO_END. + * ld.texinfo (DATA_SEGMENT_RELRO_END): Add documentation. + +2004-10-01 Paul Brook <paul@codesourcery.com> + + * emulparams/armelf.sh: Add unwinding table sections. + +2004-09-30 Filip Navara <navaraf@reactos.com> + + * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Generate + correct base address for position independant executables. + * pe-dll.c (pe_dll_fill_sections): Don't mark position independant + executables as DLLs. + +2004-09-30 Paul Brook <paul@codesourcery.com> + + * ld.texinfo: Document --target2=abs. + * emulparms/armsymbian.sh (TARGET2_TYPE): Set. + +2004-09-29 Nick Clifton <nickc@redhat.com> + + * scripttempl/xstormy16.sc: Only perform the assignments to the + ROM region when not performing a relocatable link. The ROM region + does not start at address 0, but the sections will. + * Makefile.am: Fix linker script dependency for the generation of + eelf32xstormy16.c. + * Makefile.in: Regenerate. + +2004-09-18 Filip Navara <navaraf@reactos.com> + + * emulparams/arm_epoc_pe.sh, emulparams/armpe.sh, emulparams/i386pe.sh, + emulparams/i386pe_posix.sh, emulparams/mcorepe.sh, + emulparams/mipspe.sh, emulparams/ppcpe.sh, scripttempl/pe.sc: Define + TARGET_PAGE_SIZE. + * scripttempl/pe.sc: Make the virtual address and file offset synced if + the alignment is lower than the target page size. + +2004-09-27 Filip Navara <navaraf@reactos.com> + + * emultempl/pe.em (gld_${EMULATION_NAME}_unrecognized_file): Allow + def_file_parse to handle pe_def_file if NULL and prevent crash with + invalid .def files. + +2004-09-27 Alan Modra <amodra@bigpond.net.au> + + * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Enable + --emit-stub-syms automatically when --emit-relocs. + +2004-09-24 Paul Brook <paul@codeosurcery.com> + + * scripttempl/elf.sc: Keep .preinit_array, .init_array and + .fini_array sections. + +2004-09-19 Andreas Schwab <schwab@suse.de> + + * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Adjust data segment + base so that relro end is suitably aligned. + +2004-09-17 Paul Brook <paul@codesourcery.com> + + * ld.texinfo: Rename arm-specific section. Document --target* + * emulparams/armelf_fbsd.sh: Set TARGET2_TYPE. + * emulparams/armelf_linux.sh: Ditto. + * emulparams/armelf_nbsd.sh: Ditto. + * emultempl/armelf.em: Set default for TARGET2_TYPE. + (target2_type): New variable. + (arm_elf_before_allocation): Don't pass target1_type. + (arm_elf_create_output_section_statements): New function. + (PARSE_AND_LIST_PROLOGUE): Add OPTION_TARGET2. + (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --target=. + (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_TARGET2. + (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Set. + * emultempl/armelf_oabi.em (_before_allocation): Remove extra + argument to bfd_elf32_arm_process_before_allocation. + +2004-09-17 Alan Modra <amodra@bigpond.net.au> + + * ldexp.c (fold_name): Update u.undef.next refs. + * emultempl/pe.em: Likewise. + * emultempl/sunos.em: Likewise. + +2004-09-17 Alan Modra <amodra@bigpond.net.au> + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + * config.in: Regenerate. + * configure: Regenerate. + * aclocal.m4: Regenerate. + * po/ld.pot: Regenerate. + +2004-09-16 Tomer Levi <Tomer.Levi@nsc.com> + + * scripttempl/elf32crx.sc (.init): Add KEEP for section's *personality*. + (.fini): Likewise. + (.jcr): Likewise. + +2004-09-16 Alan Modra <amodra@bigpond.net.au> + + * emultempl/armelf_oabi.em (before_allocation): Add extra zero param + to bfd_elf32_arm_process_before_allocation call. + +2004-09-13 Paul Brook <paul@codesourcery.com> + + * emulparams/armsymbian.sh: Set TARGET1_IS_REL. + * emultempl/armelf.em: Use TARGET1_IS_REL. Add --target1-{rel,abs}. + +2004-09-07 H.J. Lu <hongjiu.lu@intel.com> + + * configure: Regenerated with autconfig 2.13. + +2004-09-07 Andreas Schwab <schwab@suse.de> + + * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Apply data segment + alignment before adjusting DATA_SEGMENT_RELRO_END. + +2004-09-06 Mark Mitchell <mark@codesourcery.com> + + * emulparams/armsymbian.sh: Use armbpabi script. + * scripttempl/armbpabi.sc: New script. + +2004-09-02 Mark Mitchell <mark@codesourcery.com> + + * Makefile.am (ALL_EMULATIONS): Add earmsymbian.o. + (earmsymbian.c): New target. + * configure.tgt: Use armsymbian emulation for arm*-*-symbianelf*. + * Makefile.in: Regenerated. + * aclocal.m4: Likewise. + * configure: Likewise. + * emulparams/armsymbian.sh: New file. + +2004-09-03 Tomer Levi <Tomer.Levi@nsc.com> + + * scripttempl/elf32crx.sc: Edit file with comments. + (.init): Add new section. + (.fini): Likewise. + (.ctor): Control the linkage order. + (.dtor): Likewise. + +2004-08-27 Nick Clifton <nickc@redhat.com> + + * emultempl/pe.em (after_open): Do not assume that either bfd is + an archive. + +2004-08-26 Alan Modra <amodra@bigpond.net.au> + + * ldlang.c (lang_init): Don't compare with TRUE. + +2004-08-25 Dmitry Diky <diwil@spec.ru> + + * emulparams/msp430all.sh: Fix RAM sizes for all targets. + * scripttempl/elf32msp430.sc: Add .profiler section definition. + +2004-08-24 H.J. Lu <hongjiu.lu@intel.com> + + * ldlang.c (wildcardp): Defined as a macro with strpbrk. + +2004-08-19 Mark Mitchell <mark@codesourcery.com> + + * configure.tgt (arm*-*-symbianelf*): New target. + (arm*-*-eabi*): Likewise. + +2004-08-19 Jakub Jelinek <jakub@redhat.com> + + * emultempl/ppc64elf.em (non_overlapping_opd): New variable. + (ppc_before_allocation): Pass it to ppc64_elf_edit_opd). + (OPTION_NON_OVERLAPPING_OPD): Define. + (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Add + --non-overlapping-opd option. + +2004-08-18 Alan Modra <amodra@bigpond.net.au> + + PR 338 + * ldexp.c (fold_name): Don't call bfd_link_add_undef if the symbol + was already on the undefs list. + +2004-08-17 Alan Modra <amodra@bigpond.net.au> + + * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Dot + prefix the symbol field too. + +2004-08-13 Alan Modra <amodra@bigpond.net.au> + + * ldmain.c (link_callbacks): Remove "error_handler". + * ldmisc.c: Include elf-bfd.h. + (vfinfo): Sort comment. Handle %A. Use %A instead of + bfd_get_section_indent. + (error_handler): Delete. + * ldmisc.h (error_handler): Delete declaration. + +2004-08-10 Alan Modra <amodra@bigpond.net.au> + + * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Call + ppc64_elf_restore_symbols. + +2004-08-09 Alan Modra <amodra@bigpond.net.au> + + * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Error if + .toc is too large on relocatable linking. + +2004-08-09 Alan Modra <amodra@bigpond.net.au> + + * emultempl/ppc64elf.em (ppc_after_open): Delete. + (LDEMUL_AFTER_OPEN): Don't define. + +2004-08-02 Stephane Carrez <stcarrez@nerim.fr> + + * ld.texinfo (Top): Document specific options of 68HC11 and 68HC12. + +2004-08-01 Stephane Carrez <stcarrez@nerim.fr> + + * scripttempl/elfm68hc12.sc: Align text, rodata and data section + on power of 2. + +2004-07-27 Jason Thorpe <thorpej@wasabisystems.com> + + * emulparams/hppanbsd.sh (OUTPUT_FORMAT): Set to "elf32-hppa-netbsd". + +2004-07-26 Dmitry Diky <diwil@spec.ru> + + * Makefile.am: Add new subtargets: msp430x1610, msp430x1611, + msp430x1612, msp430x415, msp430x417, msp430xG437, msp430xG438, + msp430xG439. + * configure.tgt: Likewise. + * emulparams/msp430all.sh: Likewise. + * Makefile.in: Regenerate. + +2004-07-23 Nick Clifton <nickc@redhat.com> + + * emultempl/elf32.em (_place_orphan): Use an already existing + section name if that section does not have any flags set. + +2004-07-21 H.J. Lu <hongjiu.lu@intel.com> + + * ldlang.c (already_linked_hash_entry): Removed. + (already_linked): Likewise. + (already_linked_table): Likewise. + (section_already_linked): Call bfd_section_already_linked. + (lang_process): Replace already_linked_table_init with + bfd_section_already_linked_table_init and check return. Replace + already_linked_table_free with bfd_section_already_linked_table_free. + +2004-07-21 Nick Clifton <nickc@redhat.com> + + * ldlang.c (init_os): Make sure that the newly allocated userdata + structure is zeroed out. + +2004-07-19 H.J. Lu <hongjiu.lu@intel.com> + + * NEWS: Mention the new --add-needed/--no-add-needed and + --as-needed/--no-as-needed options. + +2004-07-19 H.J. Lu <hongjiu.lu@intel.com> + + * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): Also + check the add_needed field. + (dt_needed): New struct. + (gld${EMULATION_NAME}_try_needed): Change the first argument + to a pointer to struct dt_needed. Check the DYN_NO_ADD_NEEDED + bit in the file where the DT_NEEDED entry comes from. + (gld${EMULATION_NAME}_search_needed): Change the second + argument to a pointer to struct dt_needed. + (gld${EMULATION_NAME}_check_ld_so_conf): Updated. + (gld${EMULATION_NAME}_after_open): Likewise. + + * ld.texinfo: Add --add-needed document. + * ldlang.c (new_afile): Set p->add_needed. + * ldlang.h (lang_input_statement_type): Add add_needed field. + * ldmain.h (add_needed): Declare. + * ldmain.c (add_needed): New global var. + * lexsup.c (option_values): Add OPTION_ADD_NEEDED and + OPTION_NO_ADD_NEEDED. + (ld_options): Likewise. + (parse_args): Handle them. + +2004-07-13 Christof Petig <christof@petig-baender.de> + + * emultempl/pe.em (make_import_fixup): Use bfd_get_32 to correct + for endian-ness of extracted addend. + +2004-07-13 Danny Smith <dannysmith@usesr.sourceforge.net> + + * pe-dll.c (auto_export): Filter on just the import prefix, + "_imp_", not "_imp__". + +2004-07-09 Nick Clifton <nickc@redhat.com> + + * configure.tgt: Change sh-sybmian-elf to sh-*-symbianelf. + +2004-07-06 Tomer Levi <Tomer.Levi@nsc.com> + + * Makefile.am (ALL_EMULATIONS): Add eelf32crx.o. + (eelf32crx.c): New target. + * Makefile.in: Regenerate. + * configure.tgt: Handle crx-*-elf*. + * emulparams/elf32crx.sh: New file. + * emultempl/crxelf.em: New file. + * scripttempl/elf32crx.sc: New file. + * NEWS: Mention new target. + +2004-07-06 Nick Clifton <nickc@redhat.com> + + * Makefile.am: Add eshlsymbian.c. + * Makefile.in: Regenerate. + * configure.tgt: Add sh*-symbian-elf target. + * emulparams/shlsymbian.sh: New file. Configure the + sh-symbian-elf linker scripts. + * scripttemp/elf32sh-symbian.sc: New file. Linker script + template for the sh-symbian-elf target. + +2004-07-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + * emulparams/hppa64linux.sh: Define PLT_BEFORE_GOT. + * emulparams/hppalinux.sh: Likewise. + * scripttempl/elf.sc: Place .plt just before .got when .plt is in + data segment and PLT_BEFORE_GOT is defined. + +2004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> + + * ld.texinfo (WIN32): Document PE weak symbols. + +2004-07-02 Kaz Kojima <kkojima@rr.iij4u.or.jp> + + * emulparams/shlelf32_linux.sh (COMMONPAGESIZE): Set to 4KB. + +2004-07-01 H.J. Lu <hongjiu.lu@intel.com> + + * ldmisc.c (vfinfo): Call bfd_get_section_ident to identify + the section. + +2004-06-29 Alan Modra <amodra@bigpond.net.au> + + * ldlang.c (lang_reset_memory_regions): Save last relax pass section + size in rawsize. + +2004-06-24 Alan Modra <amodra@bigpond.net.au> + + * ldlang.c (print_output_section_statement): Don't print size before + relaxation. + (IGNORE_SECTION): Remove bfd arg. Update all callers. + + * ldexp.c (fold_name): .. See below. + * ldlang.c (section_already_linked, print_output_section_statement, + print_input_section, insert_pad, size_input_section, + lang_check_section_addresses, lang_size_sections_1, + lang_size_sections, lang_do_assignments_1, lang_set_startof, + lang_one_common, lang_reset_memory_regions, lang_process, + lang_abs_symbol_at_end_of, lang_do_version_exports_section): .. + * ldwrite.c (build_link_order, clone_section, ds, split_sections): .. + * pe-dll.c (process_def_file, generate_reloc): .. + * emultempl/elf32.em (gld${EMULATION_NAME}_find_statement_assignment, + gld${EMULATION_NAME}_before_allocation): .. + * emultempl/mmix-elfnmmo.em (mmix_after_allocation): .. + * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_before_allocation, + sh64_elf_${EMULATION_NAME}_after_allocation): .. + * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): .. + * emultempl/xtensaelf.em (ld_assign_relative_paged_dot, + ld_local_file_relocations_fit, ld_xtensa_insert_page_offsets): Use + "size" instead of "_raw_size" and "_cooked_size". Expand + bfd_section_size macro invocations. + +2004-06-22 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> + + * ld/scripttemp/pe.sc (.CRT): Define ___crt_xc_start__, + ___crt_xc_end__, ___crt_xi_start__, ___crt_xi_end__, ___crt_xl_start__, + ___crt_xp_start__, ___crt_xp_end__, ___crt_xt_start__ and + ___crt_xt_end__. + (.tls): Define ___tls_start__ and ___tls_end__. + +2004-06-21 Alexandre Oliva <aoliva@redhat.com> + + * emulparams/elf32frvfd.sh (GENERATE_PIE_SCRIPT): Set to yes. + +2004-06-18 Adam Nemet <anemet@lnxw.com> + + * configure.in: Set EXTRA_SHLIB_EXTENSION to .a for LynxOS. + * configure: Regenerate. + +2004-06-15 Jakub Jelinek <jakub@redhat.com> + + * scripttempl/elf.sc: Readd KEEP and .gcc_except_table.* to + .gcc_except_table output sections lost accidentally with + -z relro patch. + +2004-06-15 Alan Modra <amodra@bigpond.net.au> + + * ldwrite.c (build_link_order): Use bfd_get_section_size + instead of bfd_get_section_size_before_reloc or _raw_size. + * pe-dll.c (process_def_file): Likewise. + +2004-06-14 Alan Modra <amodra@bigpond.net.au> + + From Richard Wirth <r.wirth@wirthware.de> + * ldlang.c (lang_finish): Don't free lang_definedness_table. + +2004-05-29 Alan Modra <amodra@bigpond.net.au> + + * ldlang.c (gc_section_callback): Move SEC_EXCLUDE twiddles.. + (lang_gc_sections): .. to a LANG_FOR_EACH_INPUT_STATEMENT loop here. + +2004-05-28 Alan Modra <amodra@bigpond.net.au> + + * ldlang.c: Formatting. Wrap long lines, expand bfd_get_section_flags + throughout file. + * lexsup.c: Formatting. Wrap long lines. + * ldwrite.c: Update copyright date. + + * ldlang.c (lang_add_section): Don't twidlle SEC_EXCLUDE here. + (output_section_callback): Nor SEC_KEEP here. + (gc_section_callback): Twiddle SEC_EXCLUDE here. + (lang_gc_wild): Delete. Fold into.. + (lang_gc_sections_1): ..here. Only call bfd_gc_sections when garbage + collecting. + (lang_process): Always call lang_gc_sections. + (lang_place_orphans): Handle SEC_EXCLUDE sections. + * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Remove + SEC_EXCLUDE code. + +2004-05-26 H.J. Lu <hongjiu.lu@intel.com> + + * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Clear + SEC_EXCLUDE on non-SEC_DEBUGGING sections for relocatable link. + * ldlang.c (lang_add_section): Likewise. + +2004-05-26 Alan Modra <amodra@bigpond.net.au> + + * ldlang.c (lang_add_section): Set SEC_EXCLUDE for SEC_GROUP + sections when doing a final link. Clear SEC_EXCLUDE when doing + a relocable link, except for SEC_DEBUGGING sections. + * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Use the + same condition here to drop SEC_EXCLUDE orphan sections. + +2004-05-25 Alan Modra <amodra@bigpond.net.au> + + * ldlang.c (lang_process): Call bfd_merge_sections later, and + only when not a relocatable link. + (print_input_section): Handle SEC_EXCLUDE sections. + (size_input_section): Don't update dot on SEC_EXCLUDE sections. + (lang_do_assignments_1): Likewise. + * ldwrite.c (build_link_order): Ignore SEC_EXCLUDE input sections. + * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Likewise. + * emultempl/hppaelf.em (build_section_lists): Likewise. + * emultempl/ppc64elf.em (build_toc_list): Likewise. + (build_section_lists): Likewise. + +2004-05-23 Andreas Schwab <schwab@suse.de> + + * ld.texinfo (Options): Fix typo in last change. + +2004-05-21 Andy Chittenden <achittenden@bluearc.com> + + * ld.h (ld_config_type): Add new field: hash_table_size. + * ldmain.c: Initialise the new field to zero. If it is non-zero + after parsing the linker's command line call + bfd_hash_set_default_size. + * lexsup.c (option_values): Add OPTION_HASH_SIZE. + (ld_options): Add hash-size. + (parse_args): Parse --hash-size option. Allow + --reduce-memory-overheads to set the default hash table size as + well. + * ld.texinfo: Document the new switch. Also mention that + --reduce-memory-overheads can affect the hash table size. + * NEWS: Mention the new feature. + +2004-05-19 J"orn Rennecke <joern.rennecke@superh.com> + + * NEWS: Mention new linker map file generation and the + --reduce-memory-overheads option. + * ld.texinfo: Document --reduce-memory-overheads option. + * ld.h (map_symbol_def): New struct. + (struct user_section_struct, section_userdata_type): Rename to: + (struct lean_user_section_struct, lean_section_userdata_type). + (struct fat_user_section_struct, fat_section_userdata_type): New. + (SECTION_USERDATA_SIZE): Define. + (args_type): New member reduce_memory_overheads. + * ldlang.c (map_obstack): New static variable. + (init_map_userdata, print_all_symbols, sort_def_symbol): New functions. + (lang_map): Unless command_line.reduce_memory_overheads is set, + initialize lists of defined symbols for each section. + (print_input_section): Unless command_line.reduce_memory_overheads + is set, use print_all_symbols. + (init_os): Use lean_section_userdata_type / SECTION_USERDATA_SIZE. + * ldmain.c (main): Initialize command_line.reduce_memory_overheads. + * lexsup.c (enum option_values): Add OPTION_REDUCE_MEMORY_OVERHEADS. + (ld_options): Add entry for --reduce-memory-overheads. + (parse_args): Handle OPTION_REDUCE_MEMORY_OVERHEADS. + +2004-05-19 Jakub Jelinek <jakub@redhat.com> + + * ldgram.y (sect_constraint): New. + (ONLY_IF_RO, ONLY_IF_RW): New tokens. + (section): Add sect_constraint. Pass additional argument + to lang_enter_output_section_statement. + * mri.c (mri_draw_tree): Pass additional argument to + lang_enter_output_section_statement. + * emultempl/pe.em (place_orphan): Likewise. + (output_prev_sec_find): Disregard output section statements with + constraint == -1. + * emultempl/mmo.em (output_prev_sec_find): Likewise. + (mmo_place_orphan): Pass additional argument to + lang_enter_output_section_statement. + * emultempl/elf32.em (output_prev_sec_find): Disregard output section + statements with constraint == -1. + (place_orphan): Pass additional argument to + lang_enter_output_section_statement. + * ldlang.c (lang_enter_overlay_section): Likewise. + (lang_output_section_find_1): New. + (lang_output_section_find): Use it. + (lang_output_section_statement_lookup_1): New. + (lang_output_section_statement_lookup): Use it. + (check_section_callback, check_input_sections): New. + (map_input_to_output_sections): Check if all input sections + are readonly if ONLY_IF_RO or ONLY_IF_RW was seen. + (strip_excluded_output_sections): Disregard output section statements + with constraint == -1. + (lang_record_phdrs): Likewise. + (lang_enter_output_section_statement): Add constraint argument. + Use lang_output_section_statement_lookup_1. + * ldlang.h (lang_output_section_statement_type): Add constraint + and all_input_readonly fields. + (lang_enter_output_section_statement): Adjust prototype. + * ldlex.l (ONLY_IF_RO, ONLY_IF_RW): New tokens. + * scripttempl/elf.sc (.eh_frame, .gcc_except_table): Move into text + segment if all input sections are readonly. + +2004-05-19 Adam Nemet <anemet@lnxw.com> + + * scripttempl/i386lynx.sc: Remove file. + +2004-05-17 Bob Wilson <bob.wilson@acm.org> + + * ld.texinfo (Output Section Address): Correct subsection name. + +2004-05-17 Adam Nemet <anemet@lnxw.com> + + * configure.tgt (powerpc-*-lynxos* case): New case. + * configure.host (i[3-7]86-*-lynxos* case): Remove case. + * emulparams/ppclynx.sh: New file. + * emulparams/i386lynx.sh (SCRIPT_NAME): Update to LynxOS 4.0. + * Makefile.am (ALL_EMULATIONS): Add eppclynx.o + (ei386lynx.c): Update rule to LynxOS 4.0 ELF. + (eppclynx.c): New rule. + * Makefile.in: Regenerate. + +2004-05-13 Joel Sherrill <joel@oarcorp.com> + + * configure.tgt (or32-*-rtems*): Switch to elf and + support versioned targets. + +2004-05-13 Nick Clifton <nickc@redhat.com> + + * po/fr.po: Updated French translation. + +2004-05-11 Jakub Jelinek <jakub@redhat.com> + + * genscripts.sh: Generate -z combreloc -z now -z relro scripts + for binaries, -shared and -pie. + * emulparams/elf_i386.sh (SEPARATE_GOTPLT): Set. + * emulparams/elf_x86_64.sh (SEPARATE_GOTPLT): Set. + * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Rename to... + (OTHER_RELRO_SECTIONS): ... this. + * ldlex.l (DATA_SEGMENT_RELRO_END): Add. + * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle + -z relro and -z norelro. + (gld${EMULATION_NAME}_list_options): Add it to usage. + (gld${EMULATION_NAME}_get_script): Return -z combreloc -z now + -z relro scripts when appropriate. + * scripttempl/elf.sc: Unset SEPARATE_GOTPLT if RELRO_NOW is set. + Create separate .got.plt section if SEPARATE_GOTPLT. + Move sections which are only written during relocation handling + to the beginning of RW segment. If NO_SMALL_DATA, move .got + before .data. Add DATA_SEGMENT_RELRO_END directive. + Include OTHER_RELRO_SECTIONS. + * ldgram.y (DATA_SEGMENT_RELRO_END): Add. + * ldexp.c (exp_print_token): Handle DATA_SEGMENT_RELRO_END. + (fold_unary): Likewise. + (fold_binary): Handle -z relro. + * ldexp.h (struct exp_data_seg): Add exp_dataseg_relro_seen and + exp_dataseg_relro_adjust phases. Add relro_end field. + * ldmain.c (main): Initialize link_info.relro to FALSE. + * ldlang.c (lang_size_sections): Handle -z relro. + +2004-05-08 Marek Michalkiewicz <marekm@amelek.gda.pl> + + * scripttempl/avr.sc: Do not set LMA for "eeprom" section. + +2004-05-07 J"orn Rennecke <joern.rennecke@superh.com> + + * ldlang.c (print_padding_statement): Cast size_t to bfd_vma + before printing it with %W. + +2004-05-07 Brian Ford <ford@vss.fsi.com> + DJ Delorie <dj@redhat.com> + + * emultempl/pe.em (real_flags): New static. + (OPTION_LARGE_ADDRESS_AWARE): New define. + (gld${EMULATION_NAME}_add_options): Add --large-address-aware option. + (gld_${EMULATION_NAME}_list_options): Likewise. + (gld${EMULATION_NAME}_handle_option): Likewise. + (gld_${EMULATION_NAME}_after_open): Pass real_flags to PE private data. + * ld.texinfo: Document it. + * NEWS: Mention it. + +2004-05-07 Brian Ford <ford@vss.fsi.com> + + * NEWS: Mention DWARF 2 support for i386pe. + +2004-05-05 Alexandre Oliva <aoliva@redhat.com> + + * emulparams/elf32frvfd.sh (OUTPUT_FORMAT): Switch to new + elf32-frvfdpic. + +2004-04-30 Alan Modra <amodra@bigpond.net.au> + + * ldlang.c (unique_section_p): Pass section parm, return true on + group sections. + (output_section_callback): Adjust. + * ldlang.h (unique_section_p): Update prototype. + * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust. + +2004-04-30 Eric Botcazou <ebotcazou@act-europe.fr> + + * ld.texinfo (--gc-sections): Remove restriction for + dynamic linking. + +2004-04-29 Brian Ford <ford@vss.fsi.com> + + * scripttempl/pe.sc: Handle .debug* and .gnu.linkonce.wi.* sections + for DWARF 2/3. Update stab section's syntax. + +2004-04-29 Alan Modra <amodra@bigpond.net.au> + + * pe-dll.c: Revert changes accidentally committed 2004-03-08. + (fill_edata): Correct pointer arithmetic. + +2004-04-21 Chris Demetriou <cgd@broadcom.com> + + * ld.texinfo: Remove MIPS --embedded-relocs documentation. + * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Remove definition. + * emulparams/mipsidt.sh (TEMPLATE_NAME): Use generic.em. + (EXTRA_EM_FILE): Use mipsecoff.em + * emulparams/mipsidtl.sh (TEMPLATE_NAME): Use generic.em. + (EXTRA_EM_FILE): Use mipsecoff.em + * emultempl/mipsecoff.em: Restructure to be included as an + extra emulation file. + (check_sections, gld${EMULATION_NAME}_after_open) + (gld${EMULATION_NAME}_after_allocation) + (gld${EMULATION_NAME}_get_script) + (ld_${EMULATION_NAME}_emulation): Remove + (gld${EMULATION_NAME}_before_parse): Rename to... + (mipsecoff_before_parse): This. + (LDEMUL_BEFORE_PARSE): Define. + * emultempl/mipself.em: Remove file. + * scripttempl/mips.sc (.rel.sdata): Do not include in output. + (__runtime_reloc_start, __runtime_reloc_stop): Stop providing + these symbols. + * Makefile.am: Remove dependencies on emultempl/mipself.em. + * Makefile.in: Regenerate. + +2004-04-21 Anil Paranjpe <anilp1@kpitcummins.com> + + * ld.texinfo (synthesizing on H8/300): Information about linker + relaxation support for bit manipulation instructions and system + control instructions is added. + +2004-04-21 Hans-Peter Nilsson <hp@axis.com> + + * NEWS: Mention change in DEFINED semantics. + +2004-04-21 Eric Botcazou <ebotcazou@act-europe.fr> + + * scripttempl/elf.sc (.text): Add KEEP for .text.*personality*. + (.data): Add KEEP for .gnu.linkonce.d.*personality*. + (.gcc_except_table): Add KEEP for self and accept .gcc_except_table.*. + +2004-04-21 Ben Elliston <bje@au.ibm.com> + + * ld.texinfo (Simple Example): Add missing punctuation. + +2004-04-20 Chris Demetriou <cgd@broadcom.com> + + * NEWS: Note that MIPS --embedded-relocs option is deprecated. + +2004-04-19 Jakub Jelinek <jakub@redhat.com> + + * ldlang.c (lang_do_assignments_1): Handle .tbss output section + specially. + +2004-04-18 Danny Smith <dannysmith@users.sourceforge.net> + + * scriptempl/pe.sc: Put numbered .ctors.* after .ctors + with default priority. Likewise for dtors. + +2004-04-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> + + * configure.host: Remove mips*-dec-bsd* target. + * configure.tgt: Likewise. + +2004-04-08 Richard Sandiford <rsandifo@redhat.com> + + * emulparams/elf32bsmip.sh (EXTRA_EM_FILE): Define to irix. + * emulparams/elf64bmip.sh (EXTRA_EM_FILE): Likewise. + * emulparams/elf32bmipn32.sh (EXTRA_EM_FILE): Likewise. + * emultempl/irix.em: New file. + * Makefile.am (eelf32bsmip.c, eelf32bmipn32.c, eelf64bmip.c): Update + dependencies. + * Makefile.in: Regenerate. + +2004-04-01 Paul Brook <paul@codesourcery.com> + + * emultempl/armelf.em (byteswap_code): Add. + (arm_elf_before_allocation): Pass extra parameter. + (PARSE_AND_LIST_PROLOGUE): Add OPTION_BE8. + (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add be8. + (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_BE8. + * emultempl/armelf_oabi.em: Pass extra parameter. + * ld.texinfo: Document --be8. + +2004-03-30 Stan Shebs <shebs@apple.com> + + Remove long-obsolete MPW support. + * mpw-config.in, mpw-make.sed, mac-ld.r: Remove files. + * Makefile.am (mpw): Remove file-presynthesizing actions. + * Makefile.in: Likewise. + * ldfile.c (slash): Remove MPW case. + * ldlex.l [MPW]: Remove unused definition. + +2004-03-30 Galit Heller <Galit.Heller@nsc.com> + + * Makefile.am (ALL_EMULATIONS): Add eelf32cr16c.o. + (eelf32cr16c.c): New target. + * Makefile.in: Regenerate. + * configure.tgt: Handle cr16c-*-elf*. + * emulparams/elf32cr16c.sh: New file. + * scripttempl/elfcr16c.sc: Likewise + * NEWS: Mention support for new target. + +2004-03-30 Nick Clifton <nickc@redhat.com> + + * po/sv.po: Updated Swedish translation. + +2004-03-27 Alan Modra <amodra@bigpond.net.au> + + * emultempl/elf32.em: Update new bfd_elf_discard_info name. + * emultempl/hppaelf.em: Likewise. + * emultempl/ppc64elf.em: Likewise. + * emultempl/sh64elf.em: Likewise. + +2004-03-25 Alan Modra <amodra@bigpond.net.au> + + * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Update + size_dynamic_sections call. + +2004-03-23 Alan Modra <amodra@bigpond.net.au> + + PR 51. + * emultempl/ppc64elf.em (ppc_create_output_section_statements): Set + link_info.wrap_char. + +2004-03-20 H.J. Lu <hongjiu.lu@intel.com> + + * lexsup.c (parse_args): Don't set unresolved_syms_in_objects + or unresolved_syms_in_shared_libs for -Bdynamic and -Bstatic. + +2004-03-20 Alexandre Oliva <aoliva@redhat.com> + + * emulparams/elf32frvfd.sh (MAXPAGESIZE): Change to 16Kb. + +2004-03-19 Alan Modra <amodra@bigpond.net.au> + + * config.in: Regenerate. + * po/ld.pot: Regenerate. + +2004-03-18 Alan Modra <amodra@bigpond.net.au> + + * ld.texinfo: Add --as-needed doco. + * ldmain.c (as_needed): New global var. + * ldmain.h (as_needed): Declare. + * lexsup.c (option_values): Add OPTION_AS_NEEDED and + OPTION_NO_AS_NEEDED. + (ld_options): Likewise. + (parse_args): Handle them. + * ldlang.h (lang_input_statement_type): Add as_needed field. + * ldlang.c (new_afile): Set p->as_needed. + * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): New function. + (gld${EMULATION_NAME}_try_needed): Use bfd_elf_set_dyn_lib_class. + (ld_${EMULATION_NAME}_emulation): Set LDEMUL_RECOGNIZED_FILE entry. + + * ldlang.c (open_input_bfds): Remove useless cast. + (lang_do_assignments_1): Likewise. + (lang_for_each_input_section): Delete. + +2004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de> + + * configure.tgt: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*. + +2004-03-08 Danny Smith <dannysmith@users.sourceforge.net> + + * pe-dll.c (pe_dll_generate_implib): Skip sections marked as + private when building implib. + +2004-03-05 Nathan Sidwell <nathan@codesourcery.com> + + * ldlang.c (lang_add_section): Don't force SEC_LOAD on + SEC_THREAD_LOCAL. + (IGNORE_SECTION): Ignore .tbss sections too. + (lang_size_sections_1): .tbss sections do not advance dot. + +2004-03-01 Andreas Schwab <schwab@suse.de> + + * ld.texinfo (Options): Fix example for --wrap. + +2004-02-25 Danny Smith <dannysmith@users.sourceforge.net> + + * pe-dll.c (fill_edata): Check that exported_symbol_sections is + not NULL. + +2004-02-23 Ian Lance Taylor <ian@wasabisystems.com> + + * ldlang.c (lang_check): Use %P, not %E, in error message. + +2004-02-23 Nathan Sidwell <nathan@codesourcery.com> + + * ldlang.h (struct lang_output_section_state): Change processed + field's type. + * ldexp.c (check, invalid): Remove. + (fold_name): Move valid_p assignments. Create undefined symbol + when needed. Directly exampine section's processd flag. + * ldlang.c (lang_output_section_statement_lookup): Adjust + processed field init. + (lang_size_sections_1): Allow LOADADDR when determining section's + VMA. Adjust error message. Fold data statement's expr. + (lang_size_sections): Correctly increment lang_statement_iteration. + +2004-02-23 Alan Modra <amodra@bigpond.net.au> + + * ldexp.c (fold_tree): Follow indirect symbols. + +2004-02-20 Nathan Sidwell <nathan@codesourcery.com> + + * ldgram.y (exp): Add two operand ALIGN. + * ldexp.c (fold_binary): Add ALIGN_K case. + * ld.texinfo (ALIGN): Document two operand version. + +2004-02-19 Nathan Sidwell <nathan@codesourcery.com> + + * ldlang.c (map_input_to_output_sections): Initialize sections + mentioned in a data statement expression. + (lang_do_assignments_1): Add data statement's expression's + section's vma. + +2004-02-18 Nathan Sidwell <nathan@codesourcery.com> + + * ldgram.y (statement_anywhere): Add assert rule. + * ldlang.c (exp_init_os): Add assert case. + +2004-02-14 Andrew Cagney <cagney@redhat.com> + + * ldmain.c (remove_output): Call bfd_cache_close. + +2004-02-14 Richard Sandiford <rsandifo@redhat.com> + + * emulparams/elf32bmipn32-defs.sh (OTHER_SECTIONS): Discard + .MIPS.content* and .MIPS.events* sections. + +2004-02-09 Daniel Jacobowitz <drow@mvista.com> + + * emulparams/armelf.sh, emulparams/armelf_linux.sh: Move + .note.gnu.arm.ident to after allocated sections. Mark its + address as 0. + +2004-02-09 Daniel Jacobowitz <drow@mvista.com> + + * emulparams/armelf_linux.sh (COMMONPAGESIZE): Set to 4KB. + * emulparams/elf32bmip.sh (COMMONPAGESIZE): Likewise. + * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Likewise. + * emulparams/elf32btsmipn32.sh (COMMONPAGESIZE): Likewise. + * emulparams/shlelf_linux.sh (COMMONPAGESIZE): Likewise. + +2004-02-05 Nick Clifton <nickc@redhat.com> + + * emultempl/pe.em (_after_open): Fix typo in previous delta. + +2004-02-04 Danny Smith <dannysmith@users.sourceforge.net> + + * emultempl/pe.em (_after_open): Fix thinko in 2003-12-18 patch. + +2004-01-28 Alan Modra <amodra@bigpond.net.au> + + * genscripts.sh: Fix typo. + + * genscripts.sh: Apply $LIBPATH_SUFFIX to $tool_lib and $libdir too. + +2004-01-24 Jakub Jelinek <jakub@redhat.com> + + * emulparams/elf64_ia64.sh: Put .rela.opd into + OTHER_GOT_RELOC_SECTIONS instead of OTHER_PLT_RELOC_SECTIONS. + +2004-01-20 Danny Smith <dannysmith@users.sourceforge.net> + + * pe-dll.c (pe_create_import_fixup): Clear WP_TEXT flag. + * ld.texinfo (--omagic): Note that writable text section + does not conform to published PE-COFF specs. + (--enable-auto-import): Likewise. + +2004-01-15 Alan Modra <amodra@bigpond.net.au> + + * emulparams/elf32ppc.sh (COMMONPAGESIZE): Define. + +2004-01-13 Nick Clifton <nickc@redhat.com> + + * ldlang.c (lang_get_regions): Add extra parameter 'have_vma' + which if true will prevent the LMA region being used as a + replacement for a default VMA region. + (lang_leave_output_section_statement): Pass extra parameter. + (lang_leave_overlay): Likewise. + * ld.texinfo (Output Section LMA): Document that the LMA + region can be set to the VMA region if no VMA has been set. + * ldlang.h (struct lang_output_section_phdr_list): Create a + typedef for this type. Minor formatting fixes. + +2004-01-13 Nick Clifton <nickc@redhat.com> + + * ldlang.c (lang_size_sections_1): If dot is advanced, then + assume that the section should be allocated. + +2004-01-13 Alan Modra <amodra@bigpond.net.au> + + * ldlang.c (IGNORE_SECTION): Don't ignore SEC_ALLOC && !SEC_LOAD + sections. Do ignore SEC_NEVER_LOAD sections. + (lang_size_sections_1): Remove test made redundant with the above. + +2004-01-09 Alan Modra <amodra@bigpond.net.au> + + * emultempl/ppc64elf.em (ppc_before_allocation): Clear cached + program_header_size. + +2004-01-06 Alexandre Oliva <aoliva@redhat.com> + + 2003-11-28 Alexandre Oliva <aoliva@redhat.com> + * emulparams/elf32frvfd.sh (EMBEDDED): Clear. + 2003-11-05 Alexandre Oliva <aoliva@redhat.com> + * emulparams/elf32frvfd.sh (STACK_ADDR): Unset. + (MAXPAGESIZE): Set to 64Kb. + (OTHER_READONLY_SECTIONS): Define __ROFIXUP_LIST__ and + __ROFIXUP_END__. Don't map .rofixup.got any more. + * emulparams/elf32frv.sh (NOP): Set. + 2003-10-31 Alexandre Oliva <aoliva@redhat.com> + * configure.tgt: Add frv-*-*linux*. + 2003-09-30 Alexandre Oliva <aoliva@redhat.com> + * Makefile.am (ALL_EMULATIONS): Added eelf32frvfd.o. + (eelf32frvfd.c): New. + * configure.tgt <frv-*-*>: Added it to targ_extra_emuls. + * emulparams/elf32frv.sh: Reverted previous two patches. + * emulparams/elf32frvfd.sh: New. + * Makefile.in: Rebuilt. + 2003-09-18 Alexandre Oliva <aoliva@redhat.com> + * emulparams/elf32frv.sh (OTHER_READONLY_SECTIONS): Added + .rofixup.got to .rofixup. + 2003-09-15 Alexandre Oliva <aoliva@redhat.com> + * emulparams/elf32frv.sh (MAXPAGESIZE): Make it 256KiB, not 256B. + (TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT): Set. + +2004-01-05 Jakub Jelinek <jakub@redhat.com> + + * emulparams/elf_s390.sh (NO_SMALL_DATA): Set to yes. + * emulparams/elf64_s390.sh (NO_SMALL_DATA): Set to yes. + +2004-01-03 Alan Modra <amodra@bigpond.net.au> + + * ldexp.c (align_n): Make static. + * ldexp.h (align_n): Delete declaration. + * ldlang.h (lang_enter_output_section_statement): Remove + block_value param. + * ldlang.c (lang_enter_output_section_statement): Likewise. + (TO_ADDR, TO_SIZE): Define. + (opb_shift): New var. + (init_opb): New function. + (print_input_section): Call init_opb and use TO_ADDR. + (print_data_statement, print_reloc_statement): Likewise. + (print_padding_statement): Likewise. + (size_input_section): Use TO_SIZE and TO_ADDR, and global opb_shift. + (lang_check_section_addresses): Likewise. + (lang_size_sections_1): Likewise. + (lang_do_assignments_1): Likewise. + (lang_set_startof): Likewise. + (lang_one_common): Likewise. Combine power_of_two and opb_shift align. + (lang_process): Call init_opb. + (lang_abs_symbol_at_end_of): Use TO_ADDR and global opb_shift. + (lang_enter_overlay_section): Adjust + lang_enter_output_section_statement call. + * ldgram.y: Likewise. + * mri.c (mri_draw_tree): Likewise. + * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise. + * emultempl/mmo.em (mmo_place_orphan): Likewise. + * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Likewise. + + * ldfile.c (ldfile_set_output_arch): Add defarch param. + * ldfile.h (ldfile_set_output_arch): Ditto. + * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Use + ldfile_set_output_arch. + * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Ditto. + * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Ditto. + * emultempl/linux.em (gld${EMULATION_NAME}_before_parse): Ditto. + * emultempl/mipsecoff.em (gld${EMULATION_NAME}_before_parse): Ditto. + * emultempl/pe.em (gld${EMULATION_NAME}_before_parse): Ditto. + * emultempl/sunos.em (gld${EMULATION_NAME}_before_parse): Ditto. + * ldgram.y: Adjust ldfile_set_output_arch call. + * emultempl/armcoff.em (gld${EMULATION_NAME}_before_parse): Ditto. + * emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Ditto. + * emultempl/armelf_oabi.em (gld${EMULATION_NAME}_before_parse): Ditto. + * emultempl/generic.em (gld${EMULATION_NAME}_before_parse): Ditto. + * emultempl/gld960c.em (gld960_set_output_arch): Ditto. + * emultempl/m68kcoff.em (gld${EMULATION_NAME}_before_parse): Ditto. + * emultempl/ticoff.em (gld${EMULATION_NAME}_before_parse): Ditto. + +2004-01-02 Bernardo Innocenti <bernie@develer.com> + + * configure.tgt: Add m68k-uClinux target. + +For older changes see ChangeLog-0203 + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/ld/ChangeLog-2005 b/ld/ChangeLog-2005 new file mode 100644 index 0000000..1d3db9e --- /dev/null +++ b/ld/ChangeLog-2005 @@ -0,0 +1,1842 @@ +2005-12-28 Jie Zhang <jie.zhang@analog.com> + + * emulparams/bfin.sh: Define DATA_END_SYMBOLS and END_SYMBOLS. + And add a prefix '_' to ENTRY. + * scripttempl/elf.sc: Add END_SYMBOLS. + +2005-12-27 H.J. Lu <hongjiu.lu@intel.com> + + * emultempl/xtensaelf.em (elf_xtensa_place_orphan): Delete. + (LDEMUL_PLACE_ORPHAN): Delete. + +2005-12-27 Leif Ekblad <leif@rdos.net> + + * configure.tgt: Add support for RDOS targets. + +2005-12-27 Nick Clifton <nickc@redhat.com> + + * po/vi.po: New Vietnamese translation. + * configure.in (ALL_LINGUAS): Add vi. + * configure: Regenerate. + +2005-12-27 Alan Modra <amodra@bigpond.net.au> + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + +2005-12-24 Alan Modra <amodra@bigpond.net.au> + + * ldlang.h (lang_output_section_statement_type): Add prev. + * ldlang.c (output_statement_newfunc): Set os.prev. + (lang_insert_orphan): Likewise. + (output_prev_sec_find): Use os.prev. + +2005-12-22 Santosh Raktawan <santoshr2@kpitcummins.com> + + * ld/emulparms/h8300helf.sh (TINY_READONLY_SECTION, + TINY_DATA_SECTION, TINY_BSS_SECTION): Define. + * ld/emulparms/h8300self.sh: Likewise. + * ld/emulparms/h8300sxelf.sh: Likewise. + * ld/scripttempl/elf.sc: Add TINY_READONLY_SECTION, + TINY_DATA_SECTION, TINY_BSS_SECTION. + +2005-12-19 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/2065 + * ldlang.c (output_statement_newfunc): Revert the change made on + 2005-11-16. + (output_prev_sec_find): Likewise. + * ldlang.h (lang_statement_list_type): Likewise. + +2005-12-16 Nathan Sidwell <nathan@codesourcery.com> + + Second part of ms1 to mt renaming. + * emulparams/elf32mt.sh (ARCH, OUTPUT_FORMAT): Adjust. + +2005-12-14 Jakub Jelinek <jakub@redhat.com> + + * scripttempl/elf.sc: Put .gnu.linkonce.d.rel.ro.* sections into + .data.rel.ro output section. Fix a pasto for -z nocombreloc + .rela.data.rel.ro section content. + +2005-12-12 Nathan Sidwell <nathan@codesourcery.com> + + * Makefile.am (ALL_EMULATIONS): Replace ms1 files with mt files. + (eelf32mt.c): Update target name and dependencies. + * Makefile.in: Rebuilt. + * configure.tgt: Replace ms1 arch with mt arch. + * emulparams/elf32mt.sh: Renamed from elf32ms1.sh. Update + comment. + +2005-12-11 Bernhard Fischer <aldot@gcc.gnu.org> + + * scripttempl/armbpabi.sc: Fix typo in comment for .ctors. + * scripttempl/elf.sc: Ditto. + * scripttempl/elf32sh-symbian.sc: Ditto. + * scripttempl/elf_chaos.sc: Ditto. + * scripttempl/elfd10v.sc: Ditto. + * scripttempl/elfd30v.sc: Ditto. + * scripttempl/elfxtensa.sc: Ditto. + * scripttempl/iq2000.sc: Ditto. + * scripttempl/xstormy16.sc: Ditto. + +2005-12-08 Alan Modra <amodra@bigpond.net.au> + + * emultempl/ppc32elf.em (emit_stub_syms): New var. + (ppc_after_open): Pass it to ppc_elf_select_plt_layout. + (PARSE_AND_LIST_PROLOGUE <OPTION_STUBSYMS>): Define. + (PARSE_AND_LIST_LONGOPTS): Add emit-stub-syms. + (PARSE_AND_LIST_OPTIONS): Describe emit-stub-syms. + (PARSE_AND_LIST_OPTIONS): Handle it. + +2005-12-08 Alan Modra <amodra@bigpond.net.au> + + * pe-dll.c (build_filler_bfd): Conform error message to standard. + (pe_dll_generate_implib): Use %E in error message. + (add_bfd_to_link): Likewise. + (pe_implied_import_dll): Likewise. + +2005-12-07 Thiemo Seufer <ths@networkno.de> + H.J. Lu <hongjiu.lu@intel.com> + + PR ld/1932 + * emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment): + Adjust bfd_elf_record_link_assignment call. + + * ldexp.c (exp_fold_tree_1): Remove call to bfd_hide_symbol. + +2005-11-25 Jan Beulich <jbeulich@novell.com> + + * Makefile.am: Make configdoc.texi writeable before trying + to write to it. + * Makefile.in: Refresh. + +2005-11-24 Alan Modra <amodra@bigpond.net.au> + + * ldlang.c (lang_output_section_find_by_flags): Add match_type param. + Run two passes, first using match_type, second without. + * ldlang.h (lang_match_sec_type_func): New typedef. + (lang_output_section_find_by_flags): Update prototype. + bfd_match_sections_by_type and lang_output_section_find_by_flags. + * emultempl/pe.em (place_orphan): Likewise. + +2005-11-24 Alan Modra <amodra@bigpond.net.au> + + * ldlang.c (lang_insert_orphan): Skip first assignment to dot + in script when looking for place to insert orphan statements. + +2005-11-18 Alan Modra <amodra@bigpond.net.au> + + * emulparams/elf64ppc.sh (.tocbss): Use new section alignment scheme. + (.got, .toc1, .opd): Likewise. + +2005-11-18 Alan Modra <amodra@bigpond.net.au> + + * ldlang.c (lang_size_sections_1): Revert 2005-11-16 functional + changes to section alignment. + * ldmisc.c (vfinfo): Handle %ld and %lu. + +2005-11-16 Mark Mitchell <mark@codesourcery.com> + + * Makefile.am (configdoc.texi): Set top_srcdir in configdoc.texi.. + * Makefile.in: Regenerated. + * ld.texinfo: Include configdoc.texi and ldver.texi in man pages. + Add @file documentation. + +2005-11-17 Alan Modra <amodra@bigpond.net.au> + + * ldlang.h (lang_input_section_type): Remove "ifile" field. + (lang_insert_orphan, lang_add_section): Update prototypes. + * ldlang.c (lang_insert_orphan): Remove "file" param. + (lang_add_section): Likewise. Update all callers. + (wild_sort): Get an input section's bfd via "section->owner". + (size_input_section): Access just_syms_flag via bfd usrdata. + (lang_place_orphans): Update ldemul_place_orphan call. + * ldemul.h (ldemul_place_orphan): Remove input_statement param. + (struct ld_emulation_xfer_struct <place_orphan>): Likewise. + * ldemul.c (ldemul_place_orphan): Likewise. + * ldwrite.c (build_link_order): Access just_syms_flag via bfd usrdata. + * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Likewise. + * emultempl/beos.em (sort_by_file_name): Access bfd by section->owner. + (sort_sections): Likewise. + (place_orphan): Remove "file" param. Adjust lang_add_section call. + * emultempl/elf32.em (place_orphan): Remove "file" param. Adjust + lang_add_section and lang_insert_orphan calls. + * emultempl/hppaelf.em (hppaelf_add_stub_section): Adjust + lang_add_section call. + (build_section_lists): Access just_syms_flag via bfd usrdata. + * emultempl/m68hc1xelf.em (m68hc11elf_add_stub_section): Adjust + lang_add_section call. + * emultempl/mmo.em (mmo_place_orphan): Remove "file" param. Adjust + lang_add_section and lang_insert_orphan calls. + * emultempl/pe.em (place_orphan): Likewise. Access bfd via section + owner. + * emultempl/ppc64elf.em (ppc_add_stub_section): Adjust + lang_add_section call. + (build_toc_list): Access just_syms_flag via bfd usrdata. + (build_section_lists): Likewise. + * emultempl/xtensaelf.em (elf_xtensa_place_orphan): Remove "file" + param. Adjust place_orphan call. + (ld_build_required_section_dependence): Access bfd via section owner. + +2005-11-16 Alan Modra <amodra@bigpond.net.au> + + * ldlang.h (lang_output_section_statement_type): Add prev. + * ldlang.c (new_afile): Always init header.type. + (output_statement_newfunc): Set os.prev. + (output_prev_sec_find): Use os.prev. + (lang_enter_output_section_statement): Formatting. + (lang_final, lang_add_target, lang_add_fill): Likewise. + (lang_add_data, lang_add_reloc): Likewise. + (lang_add_attribute): Only alloc the header. + +2005-11-16 Alan Modra <amodra@bigpond.net.au> + + * ld.texinfo (Forced Output Alignment): Specify that this is an + alignment increase, not an override. + * ldlang.c (init_os): Set output section alignment here.. + (lang_add_section): ..rather than here. + (lang_size_sections_1): Consolidate alignment code. Warn if section + alignment affects start address when explicit address given. + +2005-11-07 Steve Ellcey <sje@cup.hp.com> + + * configure: Regenerate after modifying bfd/warning.m4. + +2005-11-07 Olaf Hering <olh@suse.de> + + * ldmain.c (main): Add \n to error message. + +2005-11-04 Alan Modra <amodra@bigpond.net.au> + + * ldlang.c (struct output_statement_hash_entry): Don't indirect to os. + (output_statement_newfunc): Rewrite. + (lang_output_section_find_1): Merge into.. + (lang_output_section_find): ..here. + (lang_output_section_statement_lookup_1): Rewrite to handle + multiple sections with the same name. + (output_statement_table_init): Commonise error message. + (lang_init, open_output): Likewise. + +2005-11-03 Paul Brook <paul@codesourcery.com> + + * scripttempl/elf.sc: Add .init_array.* and .fini_array.*. + * scripttempl/armbpabi.sc: Make init/fini array consistent with + elf.sc. + * scripttempl/elf32sh-symbian.sc: Ditto. + * scripttempl/elfxtensa.sc: Ditto. + +2005-11-03 Alan Modra <amodra@bigpond.net.au> + + * ldlang.h (lang_output_section_statement_type): Rearrange. Remove + memspec. Make "processed" a bitfield. + (lang_data_statement_type, lang_reloc_statement_type): Rename + output_vma to output_offset. + * ldlang.c (lang_output_section_statement_lookup_1): Init + all_input_readonly. Don't init memspec. + (init_os): Remove incorrect comment. + (print_data_statement, print_reloc_statement): Adjust for + lang_data_statement_type and lang_reloc_statement_type change. + (lang_size_sections_1, lang_add_reloc): Likewise. + * ldwrite.c (build_link_order): Likewise. + +2005-10-30 Mark Mitchell <mark@codesourcery.com> + + * lexsup.c (help): Document "@FILE". + +2005-10-30 H.J. Lu <hongjiu.lu@intel.com> + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerated. + + * dep-in.sed: Replace " ./" with " ". + +2005-10-25 Arnold Metselaar <arnold.metselaar@planet.nl> + + * Makefile.am: Add support for Z80 + * Makefile.in: Regenerated + * configure.tgt: Add z80-*-coff + * emulparams/z80.sh: New file. + * emultempl/z80.em: New file. + * scripttempl/z80.sc New file. + * NEWS: Mention this new support. + +2005-10-25 Alan Modra <amodra@bigpond.net.au> + + * po/ld.pot: Regenerate. + +2005-10-25 Chris Metcalf <cdmetcalf@comcast.net> + + * ld.texinfo (--reduce-memory-overheads): Fix typo. + +2005-10-23 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/1487 + * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call + bfd_match_sections_by_type to match section types. + + * ldlang.c (init_os): Take the input section. Call + bfd_init_private_section_data if the input section isn't NULL. + (exp_init_os): Pass NULL to init_os. + (map_input_to_output_sections): Likewise. + (lang_add_section): Pass the input section to init_os. + +2005-10-19 Paul Brook <paul@codesourcery.com> + + * emulparams/armelf.sh: Add .ARM.attributes to OTHER_SECTIONS. + +2005-10-15 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/1467 + * emultempl/elf32.em: Include "elf-bfd.h". + (gld${EMULATION_NAME}_place_orphan): Check section type and + don't use section name for ELF input sections. + + * ld.texinfo: Document orphan section processing. + + * ldlang.c (lang_output_section_find_by_flags): Match section + types by calling bfd_match_sections_by_type. + +2005-10-13 Mark Mitchell <mark@codesourcery.com> + + * ld.texino: Describe double-quoted string syntax for version + nodes. + * ldlang.h (lang_new_vers_pattern): Add literal_p parameter. + * ldgram.y (vers_defns): Allow NAME as well as VERS_IDENTIFIER. + Adjust calls to lang_new_vers_pattern to pass literal_p argument. + * ldlang.c (lang_vers_match): Fix indentation. Do not glob-match + version nodes without a pattern. + (lang_new_vers_pattern): Add literal_p parameter. + (lang_do_version_exports_section): Pass it. + +2005-10-12 Mark Mitchell <mark@codesourcery.com> + + * NEWS: Mention @file. + +2005-10-05 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/1396 + * ldcref.c (check_refs): Accept bfd_boolean. + (check_local_sym_xref): Pass FALSE to check_refs. + (check_nocrossref): Pass TRUE to check_refs. + (check_refs_info): Add bfd_boolean. + (check_refs): Add bfd_boolean to check_refs_info. + (check_reloc_refs): Match relocations with proper symbols. + + * ldmisc.c (vfinfo): Don't add extra ":\n". + +2005-10-05 Danny Smith <dannysmith@users.sourceforge.net> + + * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Set + default entry symbol to ENTRY here. + * scripttempl/pe.sc: Not here. + +2005-09-30 James E Wilson <wilson@specifix.com> + + * ldlang.c (lang_startup): Add missing ": " to einfo call. + +2005-09-30 H.J. Lu <hongjiu.lu@intel.com> + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerated. + * aclocal.m4: Likewise. + +2005-09-30 H.J. Lu <hongjiu.lu@intel.com> + + * ldlang.c (output_statement_hash_entry): New type. + (output_statement_table): New variable for hash table. + (output_statement_newfunc): New function. + (output_statement_table_init): Likewise. + (output_statement_table_free): Likewise. + (lang_init): Call output_statement_table_init. + (lang_finish): Renamed to ... + (lang_end): This. + (lang_process): Updated. + (lang_finish): New function. + (lang_output_section_find_1): Use hash table. + (lang_output_section_statement_lookup_1): Likewise. + + * ldlang.h (lang_finish): New. + + * ldmain.c (main): Call lang_finish. + +2005-09-30 Mark Mitchell <mark@codesourcery.com> + + * ldmain.c (main): Use expandargv. + +2005-09-30 Catherine Moore <clm@cm00re.com> + + * Makefile.am: Bfin support. + * Makefile.in: Regenerated. + * aclocal.m4: Regenerated. + * configure.tgt: Bfin support. + * emulparams/bfin.sh: New file. + * emultempl/bfin.em: New file. + +2005-09-30 Matthias Kurz <mk@baerlap.north.de> + + * ld.h: Prevent the inclusion of <libintl.h> from the Solaris + version of <locale.h> when ENABLE_NLS is not defined. + +2005-09-27 H.J. Lu <hongjiu.lu@intel.com> + + * ld.texinfo (ALIGN): Document it as forcing output section + alignment. + + * ldgram.y (ALIGN): Support it for forcing output section + alignment. + +2005-09-20 Alan Modra <amodra@bigpond.net.au> + + * ldlang.h (lang_output_section_statement_struct): Change type of + "processed" to bfd_boolean. + * ldexp.c (fold_name): Update references to os->processed. + * ldlang.c (lang_output_section_statement_lookup_1): Likewise. + (lang_size_sections_1): Likewise. + (lang_reset_memory_regions): Likewise. + + PR ld/1353 + * ldlang.c (lang_size_sections_1): Process addr_tree earlier, + so that unused output section statements affect dot. + +2005-09-08 Jakub Jelinek <jakub@redhat.com> + + * ld.texinfo: Document -z {no,}execstack, -z {no,}relro + and --eh-frame-hdr options. + +2005-09-07 Alan Modra <amodra@bigpond.net.au> + + * ldexp.c (fold_name <SIZEOF>): Return 0 for non-existent section. + (exp_fold_tree_1): Print assert message only in final stage of + linking. Trigger assertion failure if expression cannot be + evaluated. + +2005-09-06 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/1263 + * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): Check + --just-symbols on DSO. + +2005-08-18 Alan Modra <amodra@bigpond.net.au> + + * scripttempl/elf.sc: Remove commented out defines. + +2005-08-18 Alan Modra <amodra@bigpond.net.au> + + * emulparams/a29k.sh: Delete. + * emulparams/ebmon29k.sh: Delete. + * emulparams/sa29200.sh: Delete. + * Makefile.am: Remove a29k support. + * configure.tgt: Likewise. + * ld.texinfo: Likewise. + * Makefile.in: Regenerate. + +2005-08-17 Jakub Jelinek <jakub@redhat.com> + + * ldgram.y (vers_defns): Don't lose pattern list before + extern NAME {}. Handle global, local and extern symbol names. + +2005-08-17 Kaz Kojima <kkojima@rr.iij4u.or.jp> + + * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation): + Don't increment rel_count of .cranges here. Set rawsize of .cranges. + +2005-08-10 Nick Clifton <nickc@redhat.com> + + * pe-dll.c (pe_exe_fill_sections): Call lang_reset_memory_regions + before lang_size_sections. + +2005-08-09 Alan Modra <amodra@bigpond.net.au> + + * emulparams/hppa64linux.sh (LARGE_SECTIONS): Remove .tbss. + +2005-08-08 Eric Doenges <Eric.Doenges@betty-tv.com> + + * Makefile.am (ALL_EMULATIONS): Add msp430x21xx variants. + Add rules to build these emulations. + * Makefile.in: Regenerate. + * configure.tgt (msp430): Add the new variants to the + targ_extra_emuls list. + * emulparams/msp430all.sh: Add entries for the msp430x21xx + variants. + +2005-08-05 H.J. Lu <hongjiu.lu@intel.com> + + * ld.texinfo: Document PROVIDE_HIDDEN. + + * ldexp.c (exp_fold_tree_1): Hide a provided symbol if asked. + (exp_provide): Add and set hidden. + + * ldexp.h (etree_type): Add hidden to assign. + + * ldgram.y (PROVIDE_HIDDEN): New. + * ldlex.l (PROVIDE_HIDDEN): Likewise. + + * scripttempl/elf.sc: Use PROVIDE_HIDDEN on array bound + symbols. + +2005-08-05 Alan Modra <amodra@bigpond.net.au> + + * emulparams/elf_x86_64.sh: Revert last change. + * scripttempl/elf.sc (REL_LARGE, LARGE_SECTIONS): Define here. + +2005-08-05 Alan Modra <amodra@bigpond.net.au> + + * emulparams/armelf.sh (OTHER_BSS_END_SYMBOLS): Split out from + OTHER_END_SYMBOLS. + * emulparams/armelf_linux.sh: Likewise. + * emulparams/armnto.sh: Likewise. + * emulparams/criself.sh: Likewise. + * emulparams/elf32mcore.sh: Likewise. + * emulparams/criself.sh (OTHER_SYMBOLS): Define. + * emulparams/crislinux.sh (OTHER_SYMBOLS): Define. + (OTHER_END_SYMBOLS): Don't define. + * emulparams/elf32fr30.sh: Likewise. + * emulparams/elf64mmix.sh: Likewise. + * emulparams/hppa64linux.sh: Likewise. + * emulparams/m32relf.sh: Likewise. + * emulparams/vxworks.sh: Likewise. + * scripttempl/armbpabi.sc (OTHER_BSS_SECTIONS): Delete. + (OTHER_BSS_END_SYMBOLS): Add. + (OTHER_END_SYMBOLS): Move before current end sym definitions. + (OTHER_SYMBOLS): Replace OTHER_END_SYMBOLS near end of script. + * scripttempl/elf.sc: Likewise. + * scripttempl/elf32sh-symbian.sc: Likewise. + * scripttempl/elf_chaos.sc: Likewise. + * scripttempl/elfxtensa.sc: Likewise. + * scripttempl/iq2000.sc: Likewise. + * scripttempl/xstormy16.sc: Likewise. + + * scripttempl/elf.sc (LBSS, LARGE_SECTIONS): Delete. + (REL_LDATA, REL_LBSS, REL_LRODATA): Delete. + (REL_LARGE, LARGE_SECTIONS): Add. + * emulparams/elf_x86_64.sh (LARGE_SECTIONS): Define as script text. + (REL_LARGE): Define. + * emulparams/hppa64linux.sh (OTHER_BSS_SECTIONS): Don't define. + (LARGE_SECTIONS): Define. + * emulparams/hppa64linux.sh (OTHER_BSS_SECTIONS): Don't define. + (LARGE_SECTIONS): Define. + +2005-08-04 Alan Modra <amodra@bigpond.net.au> + + * ldemul.c (ldemul_do_assignments, do_assignments_default): Delete. + * ldemul.h (ldemul_do_assignments, do_assignments_default): Delete. + (struct ld_emulation_xfer_struct): Remove do_assignments field. + * ldlang.c (lang_do_assignments): Don't call ldemul_do_assignments. + * emulparams/elf32ppc.sh (SDATA_START_SYMBOLS): New. + (SDATA2_START_SYMBOLS, SBSS_START_SYMBOLS, SBSS_END_SYMBOLS): New. + * emultempl/aix.em (ld_*_emulation): Delete do_assignments init. + * emultempl/armcoff.em: Likewise. + * emultempl/beos.em: Likewise. + * emultempl/generic.em: Likewise. + * emultempl/gld960.em: Likewise. + * emultempl/gld960c.em: Likewise. + * emultempl/linux.em: Likewise. + * emultempl/lnk960.em: Likewise. + * emultempl/m68kcoff.em: Likewise. + * emultempl/pe.em: Likewise. + * emultempl/sunos.em: Likewise. + * emultempl/ticoff.em: Likewise. + * emultempl/vanilla.em: Likewise. + * emultempl/elf32.em: Likewise. + (gld*_provide_bound_symbols): Delete. + (gld*_provide_init_fini_syms): Delete. + (gld*_before_allocation): Don't call ldemul_do_assignments. + * emultempl/ppc32elf.em (ppc_do_assignments): Delete. + (LDEMUL_DO_ASSIGNMENTS): Delete. + * scripttempl/elf.sc: Provide init/fini syms. Add SBSS_START_SYMBOLS, + SBSS_END_SYMBOLS, SDATA2_START_SYMBOLS. + +2005-08-04 Alan Modra <amodra@bigpond.net.au> + + * Makefile.am (eelf32m32c.c): Fix dependencies. + * Makefile.in: Regenerate. + +2005-08-04 Alan Modra <amodra@bigpond.net.au> + + * ldemul.c (ldemul_finish): Call ld_emulation->finish unconditionally. + (finish_default): New function. + * ldemul.h (finish_default): Declare. + * emultempl/aix.em (gld*_before_allocation): Call + before_allocation_default rather than strip_excluded_output_sections. + (ld_*_emulation): Init finish field to finish_default. + * emultempl/armcoff.em: Likewise. + * emultempl/beos.em: Likewise. + * emultempl/elf32.em: Likewise. + * emultempl/generic.em: Likewise. + * emultempl/gld960.em: Likewise. + * emultempl/gld960c.em: Likewise. + * emultempl/hppaelf.em: Likewise. + * emultempl/linux.em: Likewise. + * emultempl/lnk960.em: Likewise. + * emultempl/m68kcoff.em: Likewise. + * emultempl/mmo.em: Likewise. + * emultempl/pe.em: Likewise. + * emultempl/ppc64elf.em: Likewise. + * emultempl/sunos.em: Likewise. + * emultempl/ticoff.em: Likewise. + * emultempl/vanilla.em: Likewise. + +2005-08-03 Alan Modra <amodra@bigpond.net.au> + + * ldlang.c (exp_init_os): Handle etree_provide. + * emulparams/armelf.sh (OTHER_END_SYMBOLS): Rename from.. + (OTHER_BSS_END_SYMBOLS): ..this. + * emulparams/armelf_linux.sh: Likewise. + * emulparams/armnto.sh: Likewise. + * emulparams/criself.sh: Likewise. + * emulparams/crislinux.sh: Likewise. + * emulparams/elf32frv.sh: Likewise. + * emulparams/elf32mcore.sh: Likewise. + * emulparams/elf32ppc.sh: Likewise. + * emulparams/elf32ppclinux.sh: Likewise. + * emulparams/hppa64linux.sh: Likewise. + * scripttempl/armbpabi.sc: Substitute $OTHER_END_SYMBOLS, not + $OTHER_BSS_END_SYMBOLS. + * scripttempl/elf32sh-symbian.sc: Likewise. + * scripttempl/elf_chaos.sc: Likewise. + * scripttempl/iq2000.sc: Likewise. + * scripttempl/xstormy16.sc: Likewise. + * scripttempl/elf.sc: Likewise. Delete __bss_start comment. + * scripttempl/elfxtensa.sc: Likewise. + +2005-07-29 Nick Clifton <nickc@redhat.com> + + * ldmain.c (main): Allow -shared and -static to be used together. + * ld.texinfo (-static): Mention that it is allowed with -shared. + +2005-07-28 DJ Delorie <dj@redhat.com> + + * ldlang.c (lang_output_section_statement_lookup_1): Don't cast a + unary & address operator, as that breaks GCC's strict aliasing + rules. + +2005-07-25 Jan Hubicka <jh@suse.cz> + H.J. Lu <hongjiu.lu@intel.com> + + * emulparams/elf_x86_64.sh (LARGE_SECTIONS): New. + + * scripttempl/elf.sc: Updated for large section support. + +2005-07-21 Ralf Corsepius <ralf.corsepius@rtems.org> + + * configure.tgt: Remove i[3-7]86-*-rtemself*. + Remove sparc-*-rtemself*. + +2005-07-21 Ben Elliston <bje@gnu.org> + + * ldgram.y (ldgram_want_filename): Remove unused static. + +2005-07-20 DJ Delorie <dj@redhat.com> + + * emulparams/elf32m32c.sh (TEMPLATE_NAME): New. + (EXTRA_EM_FILE): New. + +2005-07-19 H.J. Lu <hongjiu.lu@intel.com> + + * ldmain.c (main): Reindent. + +2005-07-19 Paul Brook <paul@codesourcery.com> + + * configure.host (HOSTING_CRT0): Parse output of gcc --help --verbose + to determine dynamic linker name. + +2005-07-18 Nick Clifton <nickc@redhat.com> + + * configure.tgt: Restore alpha ordering to list of arches. + +2005-07-16 Alan Modra <amodra@bigpond.net.au> + + * emultempl/elf32.em (gld*_provide_init_fini_syms): Prototype. + (gld*_before_allocation): Call ldemul_do_assignments rather than + gld*_provide_init_fini_syms directly. + * emultempl/ppc32elf.em (gld*_after_allocation): Delete. + (ppc_do_assignments): New function. + (LDEMUL_AFTER_ALLOCATION): Don't define. + (LDEMUL_DO_ASSIGNMENTS): Define. + +2005-07-16 Alan Modra <amodra@bigpond.net.au> + + * Makefile.am: Run "make dep-am". + (emipsidt.c, emipsidtl.c): Depend on generic.em. + * Makefile.in: Regenerate. + +2005-07-15 Alan Modra <amodra@bigpond.net.au> + + * ldemul.c (ldemul_do_assignments): New function. + (do_assignments_default): New function. + * ldemul.h (ldemul_do_assignments): Declare. + (do_assignments_default): Declare. + (struct ld_emulation_xfer_struct): Add do_assignments. + * ldlang.c (lang_do_assignments) Call ldemul_do_assignments. + * emultempl/aix.em (ld_*_emulation): Init do_assignments field. + * emultempl/armcoff.em: Likewise. + * emultempl/beos.em: Likewise. + * emultempl/generic.em: Likewise. + * emultempl/gld960.em: Likewise. + * emultempl/gld960c.em: Likewise. + * emultempl/linux.em: Likewise. + * emultempl/lnk960.em: Likewise. + * emultempl/m68kcoff.em: Likewise. + * emultempl/pe.em: Likewise. + * emultempl/sunos.em: Likewise. + * emultempl/ticoff.em: Likewise. + * emultempl/vanilla.em: Likewise. + * emultempl/elf32.em: Likewise, to call gld*_provide_init_fini_syms. + (gld*_find_exp_assignment): Adjust bfd_elf_record_link_assignment call. + +2005-07-14 Jim Blandy <jimb@redhat.com> + + Add support for the Renesas M32C and M16C. + * Makefile.am (ALL_EMULATIONS): Add eelf32m32c.o. + (eelf32m32c.c): New target. + * Makefile.in: Regenerated. + * configure.tgt: Add case for m32c-*-elf. + * emulparams/elf32m32c.sh: New file. + +2005-07-14 Alan Modra <amodra@bigpond.net.au> + + * ldlang.c (strip_excluded_output_sections): Don't call + bfd_gc_sections. + * emultempl/elf32.em (gld*_provide_bound_symbols): Move. + (gld*_provide_init_fini_syms): Move. + (gld*_before_allocation): Call the above from here.. + (gld*_finish): ..not here. Call _bfd_elf_fix_excluded_sec_syms. + * emultempl/hppaelf.em (hppaelf_finish): Likewise. + * emultempl/ppc64elf.em (ppc_finish): Likewise. + +2005-07-10 Ralf Corsepius <ralf.corsepius@rtems.org> + + * configure.tgt: Remove sparc*-*-rtemsaout*, i[3-7]86-go32-rtems*, + i[3-7]86-*-rtemscoff*, hppa*-*-rtems*, mips*el-*-rtems*, + powerpcle-*-rtems*. + +2005-07-09 Christopher Faylor <cgf@timesys.com> + + * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Enable runtime + relocation by default. + (compute_dll_image_base): Avoid linking into cygwin dll address space. + +2005-07-08 Alan Modra <amodra@bigpond.net.au> + + * ldlang.c (wild_sort): Formatting. + (strip_excluded_output_sections): Strip zero size sections here. + * emultempl/elf32.em (gld*_strip_empty_sections): Delete. + (gld*_finish): Don't call the above. + * emultempl/hppaelf.em (hppaelf_finish): Likewise. + * emultempl/ppc64elf.em (ppc_finish): Likewise. + +2005-07-05 Paul Brook <paul@codesourcery.com> + + * Makefile.am (ALL_EMULATIONS): Add eelf32ppcvxworks.o. + (eelf32ppcvxworks.o): Add dependencies. + * Makefile.in: Regenerate. + * configure.tgt: Add entry for powerpc-vxworks. + * emulparams/elf32-ppc.c: Mention elf32ppcvxworks.sh in comment. + * emulparams/elf32ppcvxworks.sh: New file. + * emultempl/ppc32elf.em (bfd_elf32_powerpc_vxworks_vec): Declare. + (is_ppc_elf32_vec): New function. + (ppc_after_open, ppc_before_allocation, + gld${EMULATION_NAME}_after_allocation): Use it. + +2005-07-05 Peter S. Mazinger" <ps.m@gmx.net> + + * emulparams/elf32bmip.sh (GENERATE_PIE_SCRIPT): Define as "yes". + * emulparams/elf32bmipn32-defs.sh (GENERATE_PIE_SCRIPT): Define as "yes". + +2005-07-04 Mike Frysinger <vapier@gentoo.org> + + * emulparams/hppalinux.sh (GENERATE_PIE_SCRIPT): Fix typo in + name. + +2005-07-04 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> + + * emulparams/m32relf_linux.sh (GENERATE_PIE_SCRIPT): Set to yes. + +2005-07-04 Aurelien Jarno <aurel32@debian.org> + + * emultempl/elf32.em: Enable use of ld.so.conf for *-*-k*bsd-*. + +2005-07-01 Alan Modra <amodra@bigpond.net.au> + + * scripttempl/elf.sc (.gcc_except_table): Don't KEEP. + +2005-06-30 Ben Elliston <bje@gnu.org> + + * Makefile.am (check-DEJAGNU): Don't search for expect. + * Makefile.in: Regenerate. + +2005-06-30 Ben Elliston <bje@gnu.org> + + * Makefile.am (EXPECT): Set to expect. + (RUNTEST): Likewise, set to runtest. + * Makefile.in: Regenerate. + +2005-06-16 Alexander Klimov <alserkli@inbox.ru> + + * emultempl/armelf.em: Add quotes to avoid a null test + expression. + +2005-06-12 Daniel Jacobowitz <dan@codesourcery.com> + + * ld.texinfo (Command Line Options): Add @item for --hash-size. + +2005-06-10 Alan Modra <amodra@bigpond.net.au> + + * scripttempt/elf.sc (.bss): Align tail in a way that allows + empty section pruning. + +2005-06-09 Steve Ellcey <sje@cup.hp.com> + + * configure.in (AM_BINUTILS_WARNINGS): Add. + (BFD_NEED_DECLARATION) Replace with AC_CHECK_DECLS. + * config.in: Regenerate. + * configure: Regenerate. + * sysdep.h (NEED_DECLARATION_*): Replace with HAVE_DECL_* + * ldmain.c: Ditto. + +2005-06-09 Alan Modra <amodra@bigpond.net.au> + + * ldexp.c (fold_unary <ALIGN_K>): Revert last change. + +2005-06-09 Alan Modra <amodra@bigpond.net.au> + + * ld.h (lang_phase_type): Move to.. + * ldexp.h: ..here. Add lang_mark_phase_enum. + (node_type): Remove etree_undef and etree_unspec. + (exp_data_seg): Delete. + (struct ldexp_control, expld): New. + (invalid, exp_mark_used_section): Delete. + (exp_fold_tree, exp_get_vma, exp_get_value_int, exp_get_fill, + exp_get_abs_int): Update prototypes. + * ldexp.c (assigning_to_dot): Delete. + (expld): Define. + (make_abs): Operate directly on expld.result. Update all callers. + (new_abs): Likewise. Return void. + (new_rel_from_abs): Rename from new_rel_from_section. + (new_rel, new_rel_from_abs): Operate on expld.result and return void. + Update all callers. + (fold_unary): Operate on expld.result and return void. Remove + "current_section", "allocation_done", "dot", "dotp" and "mark_used" + params. Update all callers. + (fold_binary, fold_trinary, fold_name, exp_fold_tree_1): Likewise. + (fold_unary <ALIGN_K>): Ensure alignment is absolute. + (fold_unary <ABSOLUTE>): Use make_abs. + (fold_unary <DATA_SEGMENT_END>): Evaluate mark_phase as for + allocating_phase. + (fold_binary <DATA_SEGMENT_ALIGN, DATA_SEGMENT_RELRO_END, >): Ditto. + (fold_binary <'%','/'>): Don't error if marking. + (fold_name <SIZEOF_HEADERS>): Don't call bfd_sizeof_headers when + marking. + (fold_name <NAME>): Remove FIXME; -R is handled correctly. Don't + error when marking. + (fold_name <ADDR, LOADADDR, SIZEOF>): Don't set SEC_KEEP. + (exp_fold_tree_1): Don't error when marking. + (exp_fold_tree_1 <etree_rel>): Evaluate in all phases except first. + (exp_fold_tree_1 <etree_assign to dot>): Don't check for NULL + current section, instead check for NULL dotp. + (exp_fold_tree_1 <etree_provide>): Don't evaluate the assignment + source unless the symbol is referenced and undefined. + (exp_fold_tree): Remove "allocation_done" and "dot" params. Save + params to expld. + (exp_fold_tree_no_dot): Remove "current_section", "allocation_done + and "mark_used" params. Save params to expld. Update all callers. + (exp_assop): Do without temp var. + (exp_print_tree <etree_undef>): Delete code. + (exp_get_vma): Remove "allocation_done" param. Correct error return. + (exp_get_fill, exp_get_abs_int): Likewise. + (exp_get_value_int): Remove "allocation_done" param. + (exp_mark_used_section): Delete. + * ldgram.y (fill_exp): Update exp_get_fill call. + (origin_spec, length_spec): Update exp_get_vma call. + * ldlang.c (lang_init): Don't bother clearing lang_statement_iteration. + (lang_mark_used_section_1, lang_mark_used_section): Delete. + (strip_excluded_output_sections): Call one_lang_size_sections_pass in + marking mode. Merge old lang_mark_used_section code. Correct handling + of output sections with excluded input sections and data statements. + Don't drop non-zero sized sections. Don't zap os->bfd_section. + Do set SEC_EXCLUDE when appropriate. + (print_output_section_statement): Update for changed ldexp.c + interface. + (print_assignment, lang_size_sections_1): Likewise. + (lang_do_assignments_1, lang_enter_output_section_statement): Likewise. + (lang_new_phdr, lang_record_phdrs): Likewise. + (lang_size_sections): Likewise. + (insert_pad): Use following statement if it is a pad, rather than + creating a new one. + (lang_size_sections_1 <lang_output_section_statement_enum>): Do + process ignored output section to set vma and lma, but don't + update dot for these sections. Don't error if marking. + (lang_size_sections_1 <lang_assignment_statement_enum>): Don't + update dot for ignored sections. + (lang_size_sections_1 <lang_data_statement_enum>): Don't mark absolute + section with SEC_ALLOC. + (one_lang_size_sections_pass): New function. + (lang_size_sections): Remove first five params. Set expld.phase on + entry and exit. Use one_lang_size_sections_pass. + (lang_do_assignments): Remove all params. Update all callers. + (lang_reset_memory_regions): Clear os->processed for all output + section statements. + * ldlang.h (lang_do_assignments): Update prototype. + (lang_size_sections): Likewise. + (one_lang_size_sections_pass): Declare. + * pe-dll.c (pe_dll_fill_sections, pe_exe_fill_sections): Update + lang_size_sections and lang_do_assignments calls. + * emultempl/elf32.em (layout_sections_again): Likewise. + * emultempl/ppc64elf.em (ppc_before_allocation): Use + one_lang_size_sections_pass. + +2005-06-08 Aldy Hernandez <aldyh@redhat.com> + + * emulparams/elf32ms1.sh: New. + +2005-06-07 Eric Christopher <echristo@redhat.com> + + * Makefile.am (eelf32ms1.c): Use tab. + * Makefile.in: Regenerate. + +2005-06-07 Aldy Hernandez <aldyh@redhat.com> + Michael Snyder <msnyder@redhat.com> + Stan Cox <scox@redhat.com> + + * configure.tgt: Same. + + * Makefile.am (ALL_EMULATIONS): Depend on eelf32ms1.o. + (eelf32ms1.c): Add eelf32ms1.c rule. + + * Makefile.in: Regenerate. + +2005-06-06 Alan Modra <amodra@bigpond.net.au> + + * emultempl/ppc64elf.em (ppc_before_allocation): Always run + ppc64_elf_edit_opd. + +2005-06-05 H.J. Lu <hongjiu.lu@intel.com> + + * ldexp.c (exp_mark_used_section): Set SEC_KEEP on current + section only if the symbol will be defined. + +2005-06-04 H.J. Lu <hongjiu.lu@intel.com> + + PR 992 + * ldexp.c (exp_mark_used_section): Set SEC_KEEP on current + section for etree_assign, etree_provide and etree_provided. + Call fold_binary on etree_binary. + + * ldlang.c (lang_mark_used_section_1): Handle load base. + +2005-06-03 Alan Modra <amodra@bigpond.net.au> + + * ldmain.c (link_callbacks): Add einfo. + (add_archive_element): Use passed info, not link_info. + (constructor_callback): Likewise. + (reloc_overflow): Don't handle null bfd specially. + (reloc_dangerous, unattached_reloc): Likewise. + * ldmisc.c (vfinfo <B>): Print "ld generated" for null bfd. + (vfinfo <C, D, G>): Handle null bfd. Wrap comments. + +2005-06-02 Alan Modra <amodra@bigpond.net.au> + + * ldexp.h (etree_value_type): Use "asection *" in place of + "struct lang_output_section_statement_struct *" for "section". + (exp_fold_tree): Likewise. + (exp_mark_used_section): Likewise. + * ldexp.c (new_rel, new_rel_from_section, fold_unary, fold_binary, + fold_trinary, fold_name, exp_fold_tree_1, exp_fold_tree, + exp_mark_used_section): Likewise for "current_section" param. + (make_abs, new_abs, exp_binop, exp_unop, exp_get_vma, exp_get_fill, + exp_get_abs_int): Adjust for above changes. + * ldlang.c (lang_mark_used_section_1, print_assignment, + lang_size_sections_1, lang_do_assignments_1): Likewise. + * ldexp.c (fold_name): Init entire result struct. + +2005-06-01 Maciej W. Rozycki <macro@linux-mips.org> + + * emulparams/elf32btsmip.sh: Unset DATA_ADDR. + +2005-05-31 Zack Weinberg <zack@codesourcery.com> + + * ldlang.c (entry_symbol_default): New file-scope global. + (lang_finish): Use it, not a hardwired "start". + (lang_default_entry): Set it. + * ldlang.h: Declare lang_default_entry. + * emultempl/beos.em, emultempl/pe.em: Use lang_default_entry, + not lang_add_entry, to override default entry point symbol. + +2005-05-29 Richard Henderson <rth@redhat.com> + + * emulparams/elf64alpha.sh (PLT): New. + (TEXT_PLT): New. + * emultempl/alphaelf.em (disable_relaxation): New. + (limit_32bit): Rename from elf64alpha_32bit; update all users. + (elf64_alpha_use_secureplt): Declare. + (bfd_elf64_alpha_vec, bfd_elf64_alpha_freebsd_vec): Declare. + (alpha_after_open): New. + (alpha_before_allocation): New. + (OPTION_NO_RELAX, OPTION_SECUREPLT, OPTION_NO_SECUREPLT): New. + (PARSE_AND_LIST_LONGOPTS): Include them. + (PARSE_AND_LIST_OPTIONS): Likewise. + (PARSE_AND_LIST_ARGS_CASES): Likewise. + (LDEMUL_AFTER_OPEN, LDEMUL_BEFORE_ALLOCATION): New. + * scripttempl/elf.sc (TEXT_PLT): New. + (PLT): Use it. + +2005-05-27 Andreas Schwab <schwab@suse.de> + + * configure.host (HOSTING_LIBS): Add libunwind.a if it exists. + +2005-05-24 Alan Modra <amodra@bigpond.net.au> + + * emultempl/ppc32elf.em (after_allocation): Don't call + ppc_elf_set_sdata_syms when relocatable. + +2005-05-21 H.J. Lu <hongjiu.lu@intel.com> + + * Makefile.am (ld.1): Revert the last 2 changes. + (info-recursive): Depend on ld.1. + * Makefile.in: Regenerated. + +2005-05-21 H.J. Lu <hongjiu.lu@intel.com> + + * Makefile.am (ld.1): Depend on "info" instead of + "configdoc.texi ldver.texi". + * Makefile.in: Regenerated. + +2005-05-21 H.J. Lu <hongjiu.lu@intel.com> + + * Makefile.am (ld.1): Depend on "info". + * Makefile.in: Regenerated. + +2005-05-19 Zack Weinberg <zack@codesourcery.com> + + * Makefile.am: Have 'all' depend on 'info' and 'ld.1'. + * Makefile.in: Regenerate. + +2005-05-17 Zack Weinberg <zack@codesourcery.com> + + * ld-arm/mixed-app.d: Adjust expected disassembly a little. + +2005-05-17 Daniel Jacobowitz <dan@codesourcery.com> + + * Makefile.am (ldver.texi): Don't use $<. + * Makefile.in: Regenerated. + +2005-05-17 Daniel Jacobowitz <dan@codesourcery.com> + + * Makefile.am (AM_MAKEINFOFLAGS, TEXI2DVI): Explicitly include + $(srcdir) before $(BFDDIR)/doc. + * Makefile.in: Regenerated. + +2005-05-17 H.J. Lu <hongjiu.lu@intel.com> + + PR 797 + * ldexp.c (exp_fold_tree_1): Renamed from exp_fold_tree and + take take a bfd_boolean, mark_used. Ignore assert failure if + mark_used is TRUE. + (exp_fold_tree) Call exp_fold_tree_1 with mark_used == FALSE. + (exp_fold_tree_no_dot): Updated to take a bfd_boolean, + mark_used and pass down. + (fold_unary): Likewise. + (fold_binary): Likewise. + (fold_trinary): Likewise. + (exp_binop): Add FALSE to call to exp_fold_tree_no_dot. + (exp_trinop): Likewise. + (exp_unop): Likewise. + (exp_nameop): Likewise. + (exp_get_vma): Likewise. + (exp_get_fill): Likewise. + (exp_get_abs_int): Likewise. + (fold_name): Likewise. Set SEC_KEEP in output section flags. + (exp_mark_used_section): New. + + * ldexp.h (exp_mark_used_section): New. + + * ldlang.c (lang_output_section_statement_lookup_1): Set the + ignored field to FALSE. + (lang_mark_used_section_1): New. + (lang_mark_used_section): Call lang_mark_used_section_1. + (strip_excluded_output_sections): Call lang_mark_used_section + and check for unused sections. + (lang_size_sections_1): Skip an output section if it should + be ignored. + (lang_do_assignments_1): Likewise. + (lang_process): Don't call lang_mark_used_section here. + + * ldlang.h (lang_output_section_statement_type): Change + all_input_readonly to bitfield. Add ignored. + +2005-05-17 Lennert Buytenhek <buytenh@wantstofly.org> + Peter S. Mazinger" <ps.m@gmx.net> + + * emulparams/armelf_linux.sh (GENERATE_PIE_SCRIPT): Define as "yes". + * emulparams/hppalinux.sh (GENERATE_PIE_SCRIPT): Define as "yes". + +2005-05-17 Julian Brown <julian@codesourcery.com> + + * ldlang.c (print_assignment): Do not rely upon a valid result + having a section associated with it. + +2005-05-17 Nick Clifton <nickc@redhat.com> + + * ldlang.c (Scan_for_self_assignment): Check an assignment tree to + see if the same value is being used on the rhs as on the lhs. + (print_assignment): Call scan_for_self_assignment and if it + returns true, do no display the result of the computation but + instead just the final value of the symbol on the lhs. + * ld.texinfo: Document this behaviour and provide an example of + when it will happen. + +2005-05-15 Daniel Jacobowitz <dan@codesourcery.com> + + * Makefile.am (AM_MAKEINFOFLAGS): Define. + (TEXI2DVI): Define. + (ldver.texi): Depend on distributed files instead of built files. + (ld.info): Include $(srcdir) in the rule target. Remove actions. + (ld.dvi): Remove actions. + (MAINTAINERCLEANFILES): Add configdoc.texi. + (CONFIG_STATUS_DEPENDENCIES): Add bfd/configure.in. + (install-data-local): Renamed from install. + (Makefile): Remove explicit dependency. + * acinclude.m4: Remove obsolete code. + * configure.in: Update AC_PREREQ. Remove extra $CONFIG_SHELL. + * Makefile.in, aclocal.m4, config.in, configure: Regenerated. + +2005-05-11 Bob Wilson <bob.wilson@acm.org> + + * scripttempl/elfxtensa.sc: Sync up with elf.sc. + * emulparams/elf32xtensa.sh (PLT, GOT): Define. + +2005-05-11 Alan Modra <amodra@bigpond.net.au> + + * ldgram.y: Add SPECIAL token. + (sect_constraint): Handle SPECIAL. + * ldlang.c (lang_output_section_find_1): Don't match SPECIAL. + (map_input_to_output_sections): Likewise. + * ldlex.l (SPECIAL): Define. + * emulparams/elf32ppc.sh (DATA_GOT, SDATA_GOT, SEPARATE_GOTPLT, + GOT, PLT, GOTPLT): Define. + * emultempl/ppc32elf.em (old_plt, old_got): New static vars. + (ppc_after_open): New function. + (PARSE_AND_LIST_PROLOGUE): Define OPTION_OLD_LPT and OPTION_OLD_GOT. + (PARSE_AND_LIST_LONGOPTS): Add "bss-plt" and "sdata-got". + (PARSE_AND_LIST_OPTIONS): Document them. + (PARSE_AND_LIST_ARGS_CASES): Handle them. + (LDEMUL_AFTER_OPEN): Define. + * scripttempl/elf.sc (PLT): Don't override existing define. + (DATA_GOT, SDATA_GOT): Define and use to enable alternate got + placement rather than using NO_SMALL_DATA. Emit GOTPLT for RELRO_NOW. + +2005-05-10 Alan Modra <amodra@bigpond.net.au> + + * scripttempl/elf.sc (DATA_SEGMENT_RELRO_GOTPLT_END): Delete. + (DATA_SEGMENT_RELRO_END): Use SEPARATE_GOTPLT value. + (GOTPLT): Remove DATA_SEGMENT_RELRO_GOTPLT_END. Place after + DATA_SEGMENT_RELRO_END in script. + +2005-05-09 H.J. Lu <hongjiu.lu@intel.com> + + * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols): + Don't use a removed section. + +2005-05-09 H.J. Lu <hongjiu.lu@intel.com> + + * ldmain.c (reloc_overflow): Use output_bfd if the symbol + is defined in the ABS section. + +2005-05-06 H.J. Lu <hongjiu.lu@intel.com> + + * emultempl/elf32.em (gld${EMULATION_NAME}_provide_init_fini_syms): + Put back !link_info.relocatable. + +2005-05-06 H.J. Lu <hongjiu.lu@intel.com> + + PR 878 + * emultempl/elf32.em (gld${EMULATION_NAME}_provide_init_fini_syms): + Just check link_info.executable. + +2005-05-06 Nick Clifton <nickc@redhat.com> + + * Update the address and phone number of the FSF organization in + the GPL notices in the following files: + aclocal.m4, deffile.h, deffilep.y, fdl.texi, ld.h, ldcref.c, + ldctor.c, ldctor.h, ldemul.c, ldexp.c, ldexp.h, ldfile.c, + ldfile.h, 20ldgram.y, ldint.texinfo, ldlang.c, ldlang.h, ldlex.h, + ldlex.l, ldmain.c, ldmain.h, ldmisc.c, ldmisc.h, ldver.c, ldver.h, + ldwrite.c, ldwrite.h, lexsup.c, mri.c, mri.h, pe-dll.c, pe-dll.h, + sysdep.h, emultempl/aix.em, emultempl/alphaelf.em, + emultempl/armcoff.em, emultempl/armelf.em, emultempl/beos.em, + emultempl/crxelf.em, emultempl/elf32.em, emultempl/generic.em, + emultempl/gld960.em, emultempl/gld960c.em, emultempl/hppaelf.em, + emultempl/ia64elf.em, emultempl/irix.em, emultempl/linux.em, + emultempl/lnk960.em, emultempl/m68hc1xelf.em, + emultempl/m68kcoff.em, emultempl/m68kelf.em, + emultempl/mipsecoff.em, emultempl/mmix-elfnmmo.em, + emultempl/mmixelf.em, emultempl/mmo.em, emultempl/needrelax.em, + emultempl/pe.em, emultempl/ppc32elf.em, emultempl/ppc64elf.em, + emultempl/sh64elf.em, emultempl/sunos.em, emultempl/ticoff.em, + emultempl/vanilla.em, emultempl/xtensaelf.em + +2005-05-05 H.J. Lu <hongjiu.lu@intel.com> + + * scripttempl/elf.sc: Document the usage of __bss_start. + +2005-05-05 Paul Brook <paul@codesourcery.com> + + * Makefile.am: Add eelf_i386_vxworks. + * Makefile.in: Regenerate. + * configure.tgt: Make i?86-*-vxworks use targ_emul=elf_i386_vxworks. + * emulparams/elf_i386_vxworks.sh: New file. + * emulparams/vxworks.sh: New file. + * scripttempl/elf.sc: Add DATA_END_SYMBOLS and ETEXT_NAME. + +2005-05-04 H.J. Lu <hongjiu.lu@intel.com> + + * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols): + Call _bfd_elf_provide_section_bound_symbols. + +2005-05-04 Alan Modra <amodra@bigpond.net.au> + + * ldemul.c: Include bfdlink.h. + (ldemul_before_allocation): Assume before_allocation is non-zero. + (before_allocation_default): Call strip_excluded_output_sections. + * ldlang.c (stripped_excluded_sections): New variable. + (lang_add_section): Build input section list for each output + section, attached via map_head and map_tail pointers. + (strip_excluded_output_sections): Make global. Traverse the + input section lists to find which output sections can go. Clear + link_order pointers and set stripped_excluded_sections. + (lang_process): Call strip_excluded_output_sections. + * ldlang.h (strip_excluded_output_sections): Declare. + * ldwrite.c: Update throuhout for link_order_head -> map_head change. + * emultempl/aix.em (before_allocation): Call + strip_excluded_output_sections. + * emultempl/armcoff.em (before_allocation): Likewise. + * emultempl/beos.em (before_allocation): Likewise. + * emultempl/linux.em (before_allocation): Likewise. + * emultempl/pe.em (before_allocation): Likewise. + * emultempl/sunos.em (before_allocation): Likewise. + * emultempl/elf32.em (before_allocation): Likewise. Call + bfd_elf_size_dynsym_hash_dynstr too. + * emultempl/lnk960.em (lnk960_before_allocation): Delete. + (ld_lnk960): Use before_allocation_default. + +2005-05-02 H.J. Lu <hongjiu.lu@intel.com> + + * emultempl/elf32.em (gld${EMULATION_NAME}_strip_empty_section): + Updated for bfd_section_list_remove change. + * ldlang.c (lang_insert_orphan): Likewise. + (strip_excluded_output_sections): Likewise. + (sort_sections_by_lma): New. + (lang_check_section_addresses): Sort the sections before + checking addresses. + +2005-04-29 Ralf Corsepius <ralf.corsepius@rtems.org> + + * configure.tgt: Add h8300*-*-rtemscoff. + Switch h8300*-*-rtems* to elf. + +2005-04-29 Ben Elliston <bje@au.ibm.com> + + * ldgram.y (lang_memory_region_type): Make static. + (ldgram_want_filename): Likewise. + * ldemul.c (ld_emulation): Make static. + * ldfile.h (ldfile_find_command_file): Remove extern. + * ldfile.c (ldfile_find_command_file): Make static. + * ldlang.h (unique_section_list): Remove extern declaration. + * ldlang.c (unique_section_list): Make static. + * mri.h (symbol_truncate): Remove extern declaration. + * mri.c (symbol_truncate): Make static. + (order, only_load, address, alias): Likewise. + (alignment, subalignment): Likewise. + +2005-04-27 H.J. Lu <hongjiu.lu@intel.com> + + * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols): + Use the first SEC_ALLOC section which isn't SEC_READONLY or the + last SEC_ALLOC section if such a section doesn't exist. + +2005-04-24 Mark Kettenis <kettenis@gnu.org> + + * configure.host: Add *-*-openbsd support. + +2005-04-15 Julian Brown <julian@codesourcery.com> + + * ld.texinfo: Document --use-blx. + * emultempl/armelf.em (use_blx): New variable. + (arm_elf_create_output_section_statements): Communicate value of + use_blx to bfd. + (PARSE_AND_LIST_PROLOGUE): Add OPTION_USE_BLX. + (PARSE_AND_LIST_OPTIONS): Add --use-blx option. + (PARSE_AND_LIST_ARGS_CASES): Add OPTION_USE_BLX case. + +2005-04-14 Alan Modra <amodra@bigpond.net.au> + + * Makefile.am (NO_WERROR): Define. Use instead of -Wno-error. + * configure.in: Include ../bfd/warning.m4 contents. + * Makefile.in: Regenerate. + * configure: Regenerate. + +2005-04-12 Alan Modra <amodra@bigpond.net.au> + + * Makefile.am: Run "make dep-am". + (ldgram.o, ldlex.o, deffilep.o): Add -Wno-error to command. + * Makefile.in: Regenerate. + * config.in: Regenerate. + +2005-04-11 Alan Modra <amodra@bigpond.net.au> + + * emultempl/elf32.em (gld${EMULATION_NAME}_stat_needed): Ignore + as_needed libs that were not needed. + (gld${EMULATION_NAME}_check_needed): Likewise. + +2005-04-07 Nick Clifton <nickc@redhat.com> + + * emultempl/m68kcoff.em: Include ldexp.h and ldlang.h so that + ldfile.h can use the lang_input_statement type. + +2005-04-06 Jakub Jelinek <jakub@redhat.com> + + * ldlang.c: Formatting. + (walk_wild_consider_section): Remember return value from wildcardp. + (is_simple_wild): Use strcspn instead of 2 strpbrk calls and strlen. + (wild_spec_can_overlap): Use strcspn instead of strpbrk and strlen. + +2005-04-06 Robert O'Callahan <rocallahan@novell.com> + + * ld.h (lean_section_userdata_type): Remove. + (fat_section_userdata_type): Remove file field. + (SECTION_USERDATA_SIZE): Remove. + * ldlang.c (init_os): Eliminate initialization of unused + lean_section_userdata_type. + + * ldlang.h (callback_t, walk_wild_section_handler_t): New + typedefs. + (struct lang_wild_statement_struct): Add walk_wild_section_handler + and handler_data fields. + * ldlang.c (callback_t): Removed. + (walk_wild_consider_section, walk_wild_section_general, + section_iterator_callback, find_section, is_simple_wild, + match_simple_wild, walk_wild_section_specs1_wild0, + walk_wild_section_specs1_wild1, walk_wild_section_specs2_wild1, + walk_wild_section_specs3_wild2, walk_wild_section_specs4_wild2, + wild_spec_can_overlap, analyze_walk_wild_section_handler): New + functions. + (lang_add_wild): Call analyze_walk_wild_section_handler. + (walk_wild_section): Renamed to walk_wild_section_general and + created a wrapper function. + (section_iterator_callback_data): New typedef. + +2005-04-04 Nick Clifton <nickc@redhat.com> + + * configure.in: Add a check for <unistd.h> providing a prototype + for getopt() which is compatible with the one in + include/getopt.h. If so then define HAVE_DECL_GETOPT. + * configure: Regenerate. + * config.in (HAVE_DECL_GETOPT): Add. + * ldemul.c: Include config.h + * lexsup.c: Likewise. + * emultempl/elf32.sc: Likewise. + +2005-03-29 Alan Modra <amodra@bigpond.net.au> + + * emultempl/elf32.em (gld${EMULATION_NAME}_layout_sections_again): + New function, extracted from static void gld${EMULATION_NAME}_finish. + (gld${EMULATION_NAME}_strip_empty_sections): Likewise. + (gld${EMULATION_NAME}_provide_init_fini_syms): Likewise. + * emultempl/ppc64elf.em: Revert last change. + (ppc_layout_sections_again): Use + gld${EMULATION_NAME}_layout_sections_again. + (ppc_finish): Don't call gld${EMULATION_NAME}_finish. Instead call + gld${EMULATION_NAME}_strip_empty_sections and + gld${EMULATION_NAME}_provide_init_fini_syms. + * emultempl/hppaelf.em: Similarly. + +2005-03-29 Alan Modra <amodra@bigpond.net.au> + + * emultempl/ppc64elf.em (need_laying_out): Delete. Remove all refs. + (ppc_finish): Don't call bfd_elf_discard_info. + * emultempl/hppaelf.em: Similarly. + +2005-03-24 Nick Clifton <nickc@redhat.com> + + * po/fr.po: Updated French translation. + +2005-03-23 Mike Frysinger <vapier@gentoo.org> + Nick Clifton <nickc@redhat.com> + + * configure.host: Accept any C library to accompany a GNU Linux + implementation, not just the GNU C library. + * configure.tgt: Likewise. + * emultempl/elf32.em: Likewise. + +2005-03-22 H.J. Lu <hongjiu.lu@intel.com> + + * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols): New + (gld${EMULATION_NAME}_finish): Call + gld${EMULATION_NAME}_provide_bound_symbols to provide + __preinit_array_start, __preinit_array_end, __init_array_start, + __init_array_end, __fini_array_start and __fini_array_end. + + * scripttempl/elf.sc: Don't provide __preinit_array_start, + __preinit_array_end, __init_array_start, __init_array_end, + __fini_array_start nor __fini_array_end. + +2005-03-23 Alan Modra <amodra@bigpond.net.au> + + * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Set + SEC_EXCLUDE on .gnu.warning sections. + +2005-03-22 Alan Modra <amodra@bigpond.net.au> + + * scripttempl/elf.sc (SBSS): Don't provide sbss start and end syms. + +2005-03-21 Alan Modra <amodra@bigpond.net.au> + + * emultempl/ppc32elf.em (gld${EMULATION_NAME}_after_allocation): New + function. + (LDEMUL_AFTER_ALLOCATION): Define. + +2005-03-21 Alan Modra <amodra@bigpond.net.au> + + * emultempl/ppc64elf.em (ppc_finish): Rename from + gld${EMULATION_NAME}_finish. Call gld${EMULATION_NAME}_finish. + (LDEMUL_FINISH): Update. + * emultempl/hppaelf.em (hppaelf_finish, LDEMUL_FINISH): Likewise. + * emultempl/m68hc1xelf.em (m68hc11elf_finish, LDEMUL_FINISH): Likewise. + +2005-03-18 Julian Brown <julian@codesourcery.com> + + * scripttempl/armbpapi.sc (.rel.dyn): Add .rel.init_array, + .rel.fini_array. + (.rela.dyn): Add .rela.init_array, .rela.fini_array. + (SECTIONS): Add .rel.other, .rela.other, .reli.other after PLT relocs. + +2005-03-18 H.J. Lu <hongjiu.lu@intel.com> + + * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Don't set + bfd_section when removing unused empty output sections for + non-relocatable link. + +2005-03-19 Alan Modra <amodra@bigpond.net.au> + + * ldlang.c (lang_insert_orphan): Use old section_tail rather than + traversing the bfd section list to find pointer to new section. + +2005-03-18 Alan Modra <amodra@bigpond.net.au> + + * scripttempl/elf.sc: When CREATE_SHLIB, put .sdata2 and .sbss2 + input sections into .sdata and .sbss output respectively. + +2005-03-16 David Heine <dlheine@tensilica.com> + Bob Wilson <bob.wilson@acm.org> + + * ldlang.c (IGNORE_SECTION): Remove check for zero size. + (lang_check_section_addresses): Ignore zero size sections here. + +2005-03-16 H.J. Lu <hongjiu.lu@intel.com> + + * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Remove + unused empty output sections for non-relocatable link. + + * ld.h (args_type): Remove gc_sections. + + * ldlang.c (lang_mark_used_section): New. + (lang_gc_sections): Use link_info.gc_sections instead of + command_line.gc_sections. + * ldmain.c (main): Likewise. + * lexsup.c (parse_args): Likewise. + * ldlang.c (lang_process): Call lang_mark_used_section. + + * ldmain.c (main): Initialize link_info.gc_sections to FALSE. + +2005-03-16 Nick Clifton <nickc@redhat.com> + Ben Elliston <bje@au.ibm.com> + + * configure.in (werror): New switch: Add -Werror to the + compiler command line. Enabled by default. Disable via + --disable-werror. + * configure: Regenerate. + +2005-03-16 Alan Modra <amodra@bigpond.net.au> + + * emulparams/elf32ppclinux.sh (OTHER_READWRITE_SECTION): Delete. + (OTHER_RELRO_SECTIONS): Set this instead. + +2005-03-15 Nick Clifton <nickc@redhat.com> + + * NEWS: Add cutoff for changes in 2.16 release. + +2005-03-15 Mikkel Krautz <krautz@gmail.com> + + * configure.tgt (x86_64-elf): Add target. + +2005-03-15 Alan Modra <amodra@bigpond.net.au> + + * po/es.po: Commit new Spanish translation. + +2005-03-14 Alan Modra <amodra@bigpond.net.au> + + * ldexp.c (exp_fold_tree): Ensure return value is initialized. + Tidy etree_assert case. + +2005-03-14 Alan Modra <amodra@bigpond.net.au> + + * po/tr.po: Commit new Turkish translation. + +2005-03-11 Daniel Jacobowitz <dan@codesourcery.com> + + * Makefile.am: Remove references to em68klynx.o and esparclynx.o. + * Makefile.in: Regenerated. + * emulparams/m68klynx.sh, emulparams/sparclynx.sh: Remove. + +2005-03-07 Nick Clifton <nickc@redhat.com> + + * po/fr.po: Updated translation. + +2005-03-05 Alan Modra <amodra@bigpond.net.au> + + * po/ld.pot: Regenerate. + +2005-03-02 Jan Beulich <jbeulich@novell.com> + + * ldmain.c (remove_output): Use unlink_if_ordinary instead of unlink. + * pe-dll.c (pe_dll_generate_implib): Likewise. + +2005-02-24 Ben Elliston <bje@au.ibm.com> + + * ldfile.c: Remove GNU960 conditional code. + * emultempl/gld960.em: Likewise. + * emultempl/gld960c.em: Likewise. + * emultempl/lnk960.em: Likewise. + +2005-02-24 Nick Clifton <nickc@redhat.com> + + * emultempl/lnk960.em (lnk960_before_parse): Remove redundant + empty string from calls to concat. + +2005-02-23 Nick Clifton <nickc@redhat.com> + + * emultempl/lnk960.em (lnk960_before_parse): Terminate list of + arguments passed to concat() with a NULL. + + * emultempl/m68kcoff.em: Include ldexp.h and ldlang.h because they + define types needed by ldfile.h + +2005-02-23 Alan Modra <amodra@bigpond.net.au> + + * pe-dll.c: Warning fixes. + * emultempl/sunos.em: Likewise. + +2005-02-22 Daniel Jacobowitz <dan@codesourcery.com> + + * ldlang.c (section_already_linked): Don't call + bfd_section_already_linked for dynamic objects. + +2005-02-22 Alan Modra <amodra@bigpond.net.au> + + * ldexp.c: Warning fixes. + * ldwrite.c: Likewise. + * emultempl/elf32.em: Likewise. + +2005-02-21 H.J. Lu <hongjiu.lu@intel.com> + + * ldlang.c (lang_add_section): Check SEC_TIC54X_BLOCK for TI + tic54x input only. + (lang_size_sections_1): Check SEC_COFF_SHARED_LIBRARY for COFF + and ECOFF output only. + +2005-02-21 Alan Modra <amodra@bigpond.net.au> + + * config.in: Regenerate. + * configure: Regenerate. + +2005-02-17 Zack Weinberg <zack@codesourcery.com> + + * ldexp.c (assigning_to_dot): New global flag. + (fold_name): If assigning_to_dot is true, object immediately to + an undefined symbol. + (exp_fold_tree): Set and clear assigning_to_dot around the + recursive call to exp_fold_tree to process the right-hand side + of an assignment to the location counter. + +2005-02-17 Paul Brook <paul@codesourcery.com> + + * scripttempl/armbpabi.sc: Add dummy name to version block. + +2005-02-17 Alan Modra <amodra@bigpond.net.au> + + * ldexp.c (new_abs): Init new.str. + +2005-02-15 Mark Mitchell <mark@codesourcery.com> + + * configure.in (AC_CHECK_FUNCS): Add glob. + * configure: Regenerated. + * emultempl/elf32.em (<glob.h>): Do not include if HAVE_GLOB is + not defined. + (gld${EMULATION_NAME}_parse_ld_so_conf_include): Do not use glob + if HAVE_GLOB is not defined. + +2005-02-16 Kaz Kojima <kkojima@rr.iij4u.or.jp> + + * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Define + lib_path if NATIVE is yes. + +2005-02-16 Alan Modra <amodra@bigpond.net.au> + + * emultempl/ppc64elf.em (ppc_create_output_section_statements): Make + an error creating fake bfd fatal. + (ppc_before_allocation): Continue on after errors. + (gld${EMULATION_NAME}_finish): Likewise. + +2005-02-15 Nick Clifton <nickc@redhat.com> + + * ldlex.l (YY_NO_UNPUT): Define so that the yy_unput function is + not declared. It is not used and its presence causes a compile + time warning. + +2005-02-11 Zack Weinberg <zack@codesourcery.com> + + * emultempl/elf32.em (gld${EMULATION_NAME}_stat_needed): + If st.st_ino is zero, do not treat the library as a duplicate. + +2005-02-10 Jakub Jelinek <jakub@redhat.com> + + * emultempl/hppaelf.em (hppaelf_create_output_section_statements): + Set BFD_LINKER_CREATED on the stubs bfd. + * emultempl/ppc64elf.em (ppc_create_output_section_statements): + Likewise. + +2005-02-08 Mark Mitchell <mark@codesourcery.com> + + * scripttempl/armbpabi.sc (VERSION): Make special section symbols + local. + (Image$$ER_RO$$Base): Define whenever RELOCATING. + (Image$$ER_RO$$Limit): Likewise. + (SHT$$INIT_ARRAY$$Base): Likewise. + (SHT$$INIT_ARRAY$$Limit): Likeise. + +2005-02-10 Ben Elliston <bje@au.ibm.com> + + * emultempl/beos.em: Remove #if 0 and #if 1 blocks. + +2005-02-08 Richard Sandiford <rsandifo@redhat.com> + + * configure.tgt (mips64*el-*-linux-gnu*): Define targ_extra_libpath + to include o32 and n64 emulations. + (mips64*-*-linux-gnu*): Likewise. + +2005-02-08 Hans-Peter Nilsson <hp@axis.com> + + * ldmain.c (warning_callback, warning_find_reloc): Prepend + "warning: " to warning messages. + +2005-02-04 Alan Modra <amodra@bigpond.net.au> + + * emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment): Don't + look up symbol for etree_provide here. + +2005-02-02 Daniel Jacobowitz <dan@codesourcery.com> + + * emulparams/elf32bmip.sh (TEXT_DYNAMIC): Always set. + +2005-02-01 Edward Welbourne <eddy@opera.com> + Nick Clifton <nickc@redhat.com> + + * ld.texinfo (Source Code Reference): New node describing how to + access linker script defined variables from source code. + +2005-02-01 Alan Modra <amodra@bigpond.net.au> + + * ld.texinfo: Clarify --as-needed operation. + +2005-01-31 Andrew Cagney <cagney@gnu.org> + + * configure: Regenerate to track ../gettext.m4. + +2005-01-31 Nick Clifton <nickc@redhat.com> + + * ldver.c (ldversion): Bump reported copyright date to 2005. + +2005-01-31 Nick Clifton <nickc@redhat.com> + + * configure.tgt: Remove obsolete targets m68k-lynxos and + sparc-lynxos. + +2005-01-28 Julian Brown <julian@codesourcery.com> + + * emultempl/armelf.em (fix_v4bx): New variable. + (arm_elf_create_output_section_statements): Communicate fix_v4bx flag + value to bfd. + (PARSE_AND_LIST_PROLOGUE): Add option token OPTION_FIX_V4BX. + (PARSE_AND_LIST_LONGOPTS): Add option --fix-v4bx. + (PARSE_AND_LIST_OPTIONS): Add option --fix-v4bx. + (PARSE_AND_LIST_ARGS_CASES): Add option OPTION_FIX_V4BX. + * NEWS: Mention --fix-v4bx. + * ld.texinfo: Document --fix-v4bx. + +2005-01-25 Mark Mitchell <mark@codesourcery.com> + + * emulparams/armsymbian.sh (OTHER_READONLY_SECTIONS): Define, so + as to include .ARM.exidx$${Base,Limit}. + * ld/scripttempl/armbpabi.sc: Move .plt to end of text segment. + Define IMAGE$$ER_RO$${Base,Limit} and SHT$$INIT_ARRAY$${Base,Limit}. + Put .init_array, .fini_array, etc. into the read-only data + segment. + +2005-01-25 Alan Modra <amodra@bigpond.net.au> + + * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Formatting. + (gld${EMULATION_NAME}_after_open): Ignore needed libs if they were + only needed by an as-needed lib that didn't get linked. + +2005-01-23 Alan Modra <amodra@bigpond.net.au> + + * ld.texinfo (Output Section Keywords <CONSTRUCTORS>): Correct + __DTOR_LIST__ description. + +2005-01-23 Alan Modra <amodra@bigpond.net.au> + + * ld.texinfo (Location Counter <dot outside sections>): Document + effects of orphan section placement, and ". = ." workaround. + * Makefile.in: Regenerate. + +2005-01-22 Richard Sandiford <rsandifo@redhat.com> + + * emulparams/elf32bmip.sh (OTHER_GOT_SECTIONS): Add ". = .;". + * emulparams/elf32bmipn32-defs.sh (OTHER_GOT_SECTIONS): Likewise. + +2005-01-21 Jakub Jelinek <jakub@redhat.com> + + * ldgram.y (AS_NEEDED): New token. + (input_list): Handle AS_NEEDED ( input_list ). + * ldlex.l (AS_NEEDED): Add. + * ld.texinfo: Document AS_NEEDED (). + * NEWS: Mention AS_NEEDED (). + +2005-01-21 Ben Elliston <bje@au.ibm.com> + + * ldlang.c (lang_reasonable_defaults): Remove. + (lang_process): Don't call lang_reasonable_defaults. + + * ldexp.c (exp_assop): Remove #if 0'd code. + (exp_print_tree): Likewise. + * ldlang.c (lang_memory_region_lookup): Likewise. + (open_output): Likewise. + (lang_do_assignments_1): Likewise. + (lang_place_orphans): Likewise. + (lang_enter_output_section_statement): Likewise. + (lang_reasonable_defaults): Likewise. + * ldlang.h (struct lang_input_statement_struct): Likewise. + * mri.c (mri_draw_tree): Likewise. + (mri_load): Likewise. + * pe-dll.c (generate_reloc): Likewise. + (make_import_fixup_entry): Likewise. + (pe_as16): Likewise. + * emultempl/beos.em (set_pe_subsystem): Likewise. + * emultempl/hppaelf.em (hppaelf_after_parse): Likewise. + * emultempl/pe.em: Likewise. + * emultempl/xtensaelf.em (xtensa_colocate_literals): Likewise. + +2005-01-20 Daniel Jacobowitz <dan@codesourcery.com> + + * Makefile.am (ALL_EMULATIONS): Add earmelfb_linux_eabi.o. + (earmelfb_linux_eabi.c): New target. + * Makefile.in: Regenerated. + * configure.tgt (arm*b-*-linux-gnueabi): New target. + * emulparams/armelfb_linux_eabi.sh: New file. + +2005-01-20 Nick Hudson <skrll@netbsd.org> + + PR ld/676 + * emultempl/hppaelf.em (hppaelf_create_output_section_statements): + Handle bfd_elf32_hppa_nbsd_vec. + +2005-01-19 Richard Sandiford <rsandifo@redhat.com> + + * ldmain.h (ld_sysroot): Change type to a constant string. + * ldmain.c (ld_sysroot): Likewise. + (get_relative_sysroot, get_sysroot): New functions, adding command-line + support for changing the sysroot. + (main): Call the new functions. + * lexsup.c (OPTION_SYSROOT): New. + (ld_options): Add --sysroot. + (parse_args): Add a dummy handler for it. + * ld.texinfo (--sysroot): Document. + * NEWS: Mention the new --sysroot option. + +2005-01-18 Alan Modra <amodra@bigpond.net.au> + + * ldlang.c (section_already_linked): Adjust bfd_link_just_syms call. + (lang_place_orphans): Don't abort on just_syms_flag, instead call + bfd_link_just_syms. + +2005-01-16 Danny Smith <dannysmith@users.sourceforge.net> + + * defilep.y (def_name, def_library): Combine into... + (def_image_name): New function. Strip name to basename, + with warning. + +2005-01-12 Mark Kettenis <kettenis@gnu.org> + + * configure.in: Be sure to invoke config.sub using the shell. + * configure: Regenerate. + +2005-01-11 Alan Modra <amodra@bigpond.net.au> + + * configure.host: Correct sed patterns for last change. + +2005-01-10 Nick Clifton <nickc@redhat.com> + + PR binutils/609 + * ldmisc.c (vfinfo): Add an extra argument: is_warning. Use this + to determine whether config.make_executable should be set to FALSE in + conjunction with config.fatal_warnings. + (info_msg, minfo, lfinof): Pass FALSE as the extra argument. + (einfo): Pass TRUE as the extra argument. + +2005-01-10 Greg Schaffer <gschafer@zip.com.au> + + * configure.host (linux targets): Use "${CC} -dumpspecs" instead + of "${CC} --print-file-name=specs" to appease GCC versions >= 4.0. + (ia64-*-aix): Delete - this target is obsolete, and would be + broken by this patch. + +2005-01-06 Eric Botcazou <ebotcazou@libertysurf.fr> + + * configure.host (sparc*-*-solaris2*): Rename into sparc-*-solaris2*. + (sparc64-sun-solaris2*): New host. + +2005-01-06 Paul Brook <paul@codesourcery.com> + + * Makefie.am: Add earmelf_vxworks. + * Makefile.in: Regenerate. + * configure.tgt: Make arm-*-vxworks a separate case. + * emulparams/armelf_vxworks.sh: New function. + +2005-01-06 Alan Modra <amodra@bigpond.net.au> + + * emultempl/ppc64elf.em (no_multi_toc): New var. + (gld${EMULATION_NAME}_finish): Pass to ppc64_elf_setup_section_lists. + (OPTION_NO_MULTI_TOC): Define. + (PARSE_AND_LIST_LONGOPTS): Add --no-multi-toc support. + (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise. + +2005-01-05 Nick Clifton <nickc@redhat.com> + + PR binutils/614 + * ldmisc.c (vfinfo): Alter output to conform to the GNU Coding + Standard's specification for parsable error messages. + +2005-01-04 Paul Brook <paul@codesourcery.com> + + * Makefile.am: Correct dependency for earmsymbian.c. + * Makefile.in: Regenerate. + +For older changes see ChangeLog-2004 + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 136a1e5..63da63d 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -2,2265 +2,7 @@ * ld-mmix/sec-1.d: Adjust for section order changes. -2005-12-19 H.J. Lu <hongjiu.lu@intel.com> - - * ld-elf/orphan2.d: Undo the last change. - -2005-12-19 Hans-Peter Nilsson <hp@axis.com> - - * ld-elf/unknown2.d: Only run for *-*-linux*. - * ld-elf/orphan2.d: Xfail everywhere. - -2005-12-18 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/2065 - * ld-elf/orphan2.d: New file. - * ld-elf/orphan2.s: Likewise. - -2005-12-18 H.J. Lu <hongjiu.lu@intel.com> - - * ld-elf/unknown2.d: New. - * ld-elf/unknown2.s: Likewise. - -2005-12-12 Paul Brook <paul@codesourcery.com> - - * ld-arm/arm-call.d: New test. - * ld-arm/arm-call1.s: New file. - * ld-arm/arm-call1.s: New file. - * ld-arm/arm-elf.exp: Add arm-call and mixed-app-v5. - * ld-arm/arm.ld: Add .glue_7 and .ARM.attribues. - * ld-arm/mixed-app-v5.d: New file. - * ld-arm/mixed-app.r: Tweak expected output. - -2005-11-18 Alan Modra <amodra@bigpond.net.au> - - * ld-powerpc/symtocbase.d: Adjust for alignment change. - -2005-11-17 Hans-Peter Nilsson <hp@bitrange.com> - - * ld-mmix/sec-1.d: Adjust section order for recent ELF section - rearrangement. - -2005-11-15 Jan Beulich <jbeulich@novell.com> - - * ld-bootstrap/bootstrap.exp: Delete ld-partial.o and ld[123]* - after test. - * ld-elf/elf.exp: Delete preinit, init, and fini after test. - * ld-elf/sec64k.exp: Use macro and repeat in generated source - files. Delete object files after test. - -2005-11-11 Hans-Peter Nilsson <hp@axis.com> - - * ld-cris/noov.d: Restrict to cris-*-*elf*. - -2005-10-31 Hans-Peter Nilsson <hp@bitrange.com> - - PR ld/1501 - * ld-mmix/bpo-10.d: Adjust for empty-section-removal. - -2005-10-28 Hans-Peter Nilsson <hp@axis.com> - - PR ld/1567 - * ld-cris/noov.s, ld-cris/noov.d: New test. - -2005-10-26 Alan Modra <amodra@bigpond.net.au> - - * ld-elf/empty2.d: Allow more symbols. - -2005-10-26 Hans-Peter Nilsson <hp@bitrange.com> - - * ld-mmix/bpo-6.d, ld-mmix/bpo-19.d: Adjust for symbols between - section symbols and the _start symbol. - -2005-10-25 Alan Modra <amodra@bigpond.net.au> - - * ld-elf/orphan.d: Adjust for mips. - -2005-10-24 Jan Beulich <jbeulich@novell.com> - - * ld-elf/empty2.[sd]: New. - -2005-10-23 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/1487 - * ld-ia64/tlspic.rd: Updated. - -2005-10-21 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/1467 - * ld-elf/orphan.d: New file. - * ld-elf/orphan.ld: Likewise. - * ld-elf/orphan.s: Likewise. - -2005-10-20 H.J. Lu <hongjiu.lu@intel.com> - - * ld-ia64/ia64.exp: Undo the last change. Add support for *.d. - - * ld-ia64/link-order.d: New file. - -2005-10-20 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/251 - * ld-elf/group2.d: New file. - -2005-10-19 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/1487 - * ld-elf/unknown.d: New file. - -2005-10-19 H.J. Lu <hongjiu.lu@intel.com> - - * ld-ia64/ia64.exp: Check link order for ld -r. - -2005-10-18 Alan Modra <amodra@bigpond.net.au> - - * ld-scripts/crossref.exp: Add -mcall-aixdesc to CFLAGS for - powerpc64. - -2005-10-13 Mark Mitchell <mark@codesourcery.com> - - * ld-elfvers/vers.exp: Add vers31. - * ld-elfvers/vers31.c: New file. - * ld-elfvers/vers31.dsym: Likewise. - * ld-elfvers/vers31.map: Likewise. - * ld-elfvers/vers31.ver: Likewise. - -2005-10-08 Paul Brook <paul@codesourcery.com> - - * ld-arm/arm-rel31.d: Ignore Arm object attribute sections. - * ld-arm/arm-target1-abs.d: Ditto. - * ld-arm/arm-target1-rel.d: Ditto. - * ld-arm/arm-target2-abs.d: Ditto. - * ld-arm/arm-target2-got-rel.d: Ditto. - * ld-arm/arm-target2-rel.d: Ditto. - -2005-10-04 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/1396 - * ld-scripts/cross3.t: New file. - * ld-scripts/cross4.c: Likewise. - - * ld-scripts/crossref.exp: Add a new test for "ld -r". - -2005-09-30 H.J. Lu <hongjiu.lu@intel.com> - - * ld-elf/sec64k.exp: Enabled for all ELF targets. - -2005-09-30 Catherine Moore <clm@cm00re.com> - - * ld-elf/merge.d: Xfail bfin. - -2005-09-28 Alexandre Oliva <aoliva@redhat.com> - - * symtocbase-1.s, symtocbase-2.s, symtocbase.d: New test. - * powerpc.exp: Run it. - -2005-09-28 Jan Beulich <jbeulich@novell.com> - - * ld-x86-64/tlspic.dd: Adjust. - -2005-09-01 Hans-Peter Nilsson <hp@axis.com> - - * ld-cris: Skip tests unsuitable for testing target - cris-axis-linux-gnu. - -2005-08-18 David Daney <ddaney@avtrex.com> - - * ld-mips-elf/multi-got-1.d: Adjust for new ld behavior. - * ld-mips-elf/multi-got-no-shared.d: Likewise. - * ld-mips-elf/rel32-n32.d: Likewise. - * ld-mips-elf/rel32-o32.d: Likewise. - * ld-mips-elf/rel64.d: Likewise. - -2005-08-18 Alan Modra <amodra@bigpond.net.au> - - * ld-d10v/default_layout.d: Adjust for section removal. - * ld-elf/empty.s: Define "main". - * ld-elf/frame.exp: Don't run for hppa64 and v850. - * ld-elf/group1.d: xfail various targets. - * ld-elf/merge.d: Likewise. - * ld-elf/merge2.d: Likewise. - * ld-elf/warn1.d: Likewise. - * ld-scripts/defined2.d: Likewise. - * ld-scripts/defined3.d: Likewise. - * ld-scripts/empty-aligned.d: Likewise. - * ld-scripts/size-2.d: Likewise. - * ld-scripts/weak.exp: Likewise. - * ld-selective/sel-dump.exp: Likewise. - * ld-undefined/weak-undef.exp: Likewise. - -2005-08-18 Alan Modra <amodra@bigpond.net.au> - - * ld-scripts/crossref.exp: Remove a29k support. - * ld-srec/srec.exp: Likewise. - -2005-08-17 Jakub Jelinek <jakub@redhat.com> - - * lib/ld-lib.exp (default_ld_compile): Append $cc arguments after - $CFLAGS instead of prepending them. - - * ld-elfvers/vers.exp: Add a new test, vers30. - * ld-elfvers/vers30.c: New file. - * ld-elfvers/vers30.map: New file. - * ld-elfvers/vers30.ver: New file. - * ld-elfvers/vers30.dsym: New file. - -2005-08-17 Alan Modra <amodra@bigpond.net.au> - - * ld-alpha/tlsbin.rd: Update. - * ld-alpha/tlsbinr.rd: Update. - * ld-cris/locref1.d: Update. - * ld-cris/locref2.d: Update. - * ld-i386/tlsbin.rd: Update. - * ld-ia64/tlsbin.rd: Update. - * ld-powerpc/tlsexe.r: Update. - * ld-powerpc/tlsexe32.r: Update. - * ld-powerpc/tlsexetoc.r: Update. - * ld-s390/tlsbin.rd: Update. - * ld-s390/tlsbin_64.rd: Update. - * ld-sparc/tlssunbin32.rd: Update. - * ld-sparc/tlssunbin64.rd: Update. - * ld-x86-64/tlsbin.rd: Update. - -2005-08-16 Hans-Peter Nilsson <hp@axis.com> - - * ld-cris/dso-1.s: Add missing alignment directive. - * ld-cris/libdso-10.d: Adjust accordingly. - -2005-08-16 Alan Modra <amodra@bigpond.net.au> - - * ld-alpha/tlsbin.rd: Adjust for dynamic sym changes. - * ld-alpha/tlsbinr.rd: Likewise. - * ld-alpha/tlspic.rd: Likewise. - * ld-arm/mixed-app.d: Likewise. - * ld-arm/mixed-app.sym: Likewise. - * ld-arm/mixed-lib.sym: Likewise. - * ld-arm/tls-app.d: Likewise. - * ld-arm/tls-app.r: Likewise. - * ld-cris/expdyn5.d: Likewise. - * ld-cris/expdyn6.d: Likewise. - * ld-cris/expdyn7.d: Likewise. - * ld-cris/gotplt1.d: Likewise. - * ld-cris/gotplt2.d: Likewise. - * ld-cris/gotplt3.d: Likewise. - * ld-cris/hiddef1.d: Likewise. - * ld-cris/libdso-10.d: Likewise. - * ld-cris/libdso-11.d: Likewise. - * ld-cris/libdso-12.d: Likewise. - * ld-cris/libdso-13.d: Likewise. - * ld-cris/libdso-14.d: Likewise. - * ld-cris/libdso-2.d: Likewise. - * ld-cris/pv32-1.d: Likewise. - * ld-cris/weakref2.d: Likewise. - * ld-frv/fdpic-pie-1.d: Likewise. - * ld-frv/fdpic-pie-2.d: Likewise. - * ld-frv/fdpic-pie-6.d: Likewise. - * ld-frv/fdpic-pie-7.d: Likewise. - * ld-frv/fdpic-pie-8.d: Likewise. - * ld-frv/fdpic-shared-1.d: Likewise. - * ld-frv/fdpic-shared-2.d: Likewise. - * ld-frv/fdpic-shared-3.d: Likewise. - * ld-frv/fdpic-shared-4.d: Likewise. - * ld-frv/fdpic-shared-5.d: Likewise. - * ld-frv/fdpic-shared-6.d: Likewise. - * ld-frv/fdpic-shared-7.d: Likewise. - * ld-frv/fdpic-shared-8.d: Likewise. - * ld-frv/fdpic-shared-local-2.d: Likewise. - * ld-frv/fdpic-shared-local-8.d: Likewise. - * ld-frv/fdpic-static-1.d: Likewise. - * ld-frv/fdpic-static-2.d: Likewise. - * ld-frv/fdpic-static-6.d: Likewise. - * ld-frv/fdpic-static-7.d: Likewise. - * ld-frv/fdpic-static-8.d: Likewise. - * ld-frv/tls-dynamic-1.d: Likewise. - * ld-frv/tls-dynamic-2.d: Likewise. - * ld-frv/tls-dynamic-3.d: Likewise. - * ld-frv/tls-initial-shared-2.d: Likewise. - * ld-frv/tls-pie-1.d: Likewise. - * ld-frv/tls-pie-3.d: Likewise. - * ld-frv/tls-relax-dynamic-1.d: Likewise. - * ld-frv/tls-relax-dynamic-2.d: Likewise. - * ld-frv/tls-relax-dynamic-3.d: Likewise. - * ld-frv/tls-relax-initial-shared-2.d: Likewise. - * ld-frv/tls-relax-pie-1.d: Likewise. - * ld-frv/tls-relax-pie-3.d: Likewise. - * ld-frv/tls-relax-shared-1.d: Likewise. - * ld-frv/tls-relax-shared-2.d: Likewise. - * ld-frv/tls-relax-shared-3.d: Likewise. - * ld-frv/tls-relax-static-1.d: Likewise. - * ld-frv/tls-shared-1.d: Likewise. - * ld-frv/tls-shared-2.d: Likewise. - * ld-frv/tls-shared-3.d: Likewise. - * ld-frv/tls-static-1.d: Likewise. - * ld-frv/tls-static-3.d: Likewise. - * ld-i386/tlsbin.rd: Likewise. - * ld-i386/tlsnopic.rd: Likewise. - * ld-i386/tlspic.rd: Likewise. - * ld-ia64/tlsbin.dd: Likewise. - * ld-ia64/tlsbin.rd: Likewise. - * ld-ia64/tlspic.dd: Likewise. - * ld-ia64/tlspic.rd: Likewise. - * ld-powerpc/tlsexe.g: Likewise. - * ld-powerpc/tlsexe.r: Likewise. - * ld-powerpc/tlsexe32.d: Likewise. - * ld-powerpc/tlsexe32.g: Likewise. - * ld-powerpc/tlsexe32.r: Likewise. - * ld-powerpc/tlsexetoc.g: Likewise. - * ld-powerpc/tlsexetoc.r: Likewise. - * ld-powerpc/tlsso.g: Likewise. - * ld-powerpc/tlsso.r: Likewise. - * ld-powerpc/tlsso32.d: Likewise. - * ld-powerpc/tlsso32.g: Likewise. - * ld-powerpc/tlsso32.r: Likewise. - * ld-powerpc/tlstocso.g: Likewise. - * ld-powerpc/tlstocso.r: Likewise. - * ld-s390/tlsbin.rd: Likewise. - * ld-s390/tlsbin_64.rd: Likewise. - * ld-s390/tlspic.rd: Likewise. - * ld-s390/tlspic_64.rd: Likewise. - * ld-sh/shared-1.d: Likewise. - * ld-sh/tlsbin-2.d: Likewise. - * ld-sh/tlsbin-3.d: Likewise. - * ld-sh/tlsbin-4.d: Likewise. - * ld-sh/tlspic-2.d: Likewise. - * ld-sh/sh64/abi32.xd: Likewise. - * ld-sh/sh64/abi64.xd: Likewise. - * ld-sh/sh64/cmpct1.xd: Likewise. - * ld-sh/sh64/crange1.rd: Likewise. - * ld-sh/sh64/crange2.rd: Likewise. - * ld-sh/sh64/crange3-cmpct.rd: Likewise. - * ld-sh/sh64/crange3-media.rd: Likewise. - * ld-sh/sh64/crange3.rd: Likewise. - * ld-sh/sh64/gotplt.d: Likewise. - * ld-sh/sh64/init-cmpct.d: Likewise. - * ld-sh/sh64/init-media.d: Likewise. - * ld-sh/sh64/init64.d: Likewise. - * ld-sh/sh64/mix1.xd: Likewise. - * ld-sh/sh64/mix2.xd: Likewise. - * ld-sh/sh64/sh64.exp: Likewise. - * ld-sh/sh64/shdl32.xd: Likewise. - * ld-sh/sh64/shdl64.xd: Likewise. - * ld-sparc/tlssunbin32.rd: Likewise. - * ld-sparc/tlssunbin64.rd: Likewise. - * ld-sparc/tlssunnopic32.rd: Likewise. - * ld-sparc/tlssunnopic64.rd: Likewise. - * ld-sparc/tlssunpic32.rd: Likewise. - * ld-sparc/tlssunpic64.rd: Likewise. - * ld-x86-64/tlsbin.rd: Likewise. - * ld-x86-64/tlspic.dd: Likewise. - * ld-x86-64/tlspic.rd: Likewise. - -2005-08-15 Alan Modra <amodra@bigpond.net.au> - - * ld-elf/empty.s: Define "start". - * ld-elf/merge2.d: xfail arc-*-* and dlx-*-*. - * ld-scripts/empty-aligned.s: No .data section. - * ld-scripts/empty-aligned.t: Discard most sections. - * ld-scripts/empty-aligned.d: Adjust. - -2005-08-11 Hans-Peter Nilsson <hp@axis.com> - - * ld-cris/expdyn1.s (expobj): Set size here, at definition... - * ld-cris/pv32.s: ...not here. - * ld-cris/expdyn1.d, ld-cris/libdso-12.d, ld-cris/locref1.d: - Adjust for expobj size being set at definition. - - * ld-cris/v32-ba-1.d: Regexpize to adjust for symbol change. - -2005-08-08 Richard Earnshaw <richard.earnshaw@arm.com> - - * ld-arm/mixed-app.sym: Expact _stack to be in the ABS section. - * ld-arm/mixed-lib.sym: Likewise. - * tls-lib.d: Use a regexp for the address locations. - * tls-lib.r: Likewise. - -2005-08-03 H.J. Lu <hongjiu.lu@intel.com> - - * ld-i386/pcrel16.d: Updated. - * ld-i386/pcrel16.s: Likewise. - * ld-x86-64/pcrel16.d: Likewise. - -2005-08-01 Richard Sandiford <richard@codesourcery.com> - - * ld-mips/mips-elf-flags.exp: Add more good_combination tests. - -2005-07-28 Ben Elliston <bje@gnu.org> - - * lib/ld-lib.exp (run_ld_link_exec_tests): Add new parameter - ${targets_to_xfail} that is applied for each test item. - * ld-elf/elf.exp: Pass *-*-netbsdelf* as an xfailed target. - -2005-07-27 Alan Modra <amodra@bigpond.net.au> - - * ld-elfweak/size2a.s: Extend test to check size for two weaks. - * ld-elfweak/size2b.s: Likewise. - * ld-elfweak/size2.d: Update. - -2005-07-18 Jan Beulich <jbeulich@novell.com> - - * ld-i386/abs.s, ld-i386/zero.s, ld-i386/abs.d, ld-x86-64/abs.d, - ld-i386/pcrel16.s, ld-i386/pcrel16.d, ld-x86-64/pcrel16.d, - ld-i386/pcrel8.s, ld-i386/pcrel8.d, ld-x86-64/pcrel8.d: New. - * ld-i386/i386.exp, ld-x86-64/x86-64.exp: Run new tests. - -2005-07-14 H.J. Lu <hongjiu.lu@intel.com> - - * lib/ld-lib.exp (run_ld_link_exec_tests): Ignore assembler - warnings. - -2005-07-14 H.J. Lu <hongjiu.lu@intel.com> - - * lib/ld-lib.exp (run_ld_link_exec_tests): Update comments. - -2005-07-14 H.J. Lu <hongjiu.lu@intel.com> - - * ld-elf/elf.exp (array_tests): New. - Call run_ld_link_exec_tests with array_tests. - - * ld-elf/fini.c: New file. - * ld-elf/fini.out: Likewise. - * ld-elf/init.c: Likewise. - * ld-elf/init.out: Likewise. - * ld-elf/preinit.c: Likewise. - * ld-elf/preinit.out: Likewise. - - * lib/ld-lib.exp (run_ld_link_exec_tests): New. - -2005-07-12 Alan Modra <amodra@bigpond.net.au> - - * ld-powerpc/sdalib.s (lib_var): Size it. - -2005-07-08 H.J. Lu <hongjiu.lu@intel.com> - - * ld-ia64/tlsbin.rd: Update for empty section removal change. - * ld-ia64/tlsbin.sd: Likewise. - * ld-ia64/tlspic.dd: Likewise. - * ld-ia64/tlspic.rd: Likewise. - * ld-ia64/tlspic.sd: Likewise. - * ld-x86-64/tlspic.dd: Likewise. - * ld-x86-64/tlspic.rd: Likewise. - -2005-07-08 Alan Modra <amodra@bigpond.net.au> - - * ld-cris/pv32.s: Give expobj a size. - * ld-cris/pv32-1.d: Update. - * ld-alpha/tlsbin.dd: Update for empty section removal change. - * ld-alpha/tlsbin.sd: Likewise. - * ld-alpha/tlsbin.td: Likewise. - * ld-alpha/tlsbinr.dd: Likewise. - * ld-alpha/tlsbinr.rd: Likewise. - * ld-alpha/tlspic.dd: Likewise. - * ld-alpha/tlspic.rd: Likewise. - * ld-alpha/tlspic.sd: Likewise. - * ld-alpha/tlspic.td: Likewise. - * ld-arm/tls-lib.d: Likewise. - * ld-arm/tls-lib.r: Likewise. - * ld-cris/gotplt2.d: Likewise. - * ld-cris/gotplt3.d: Likewise. - * ld-cris/hiddef1.d: Likewise. - * ld-cris/libdso-10.d: Likewise. - * ld-cris/libdso-11.d: Likewise. - * ld-cris/libdso-12.d: Likewise. - * ld-cris/libdso-14.d: Likewise. - * ld-cris/libdso-2.d: Likewise. - * ld-i386/tlsnopic.dd: Likewise. - * ld-i386/tlsnopic.rd: Likewise. - * ld-i386/tlsnopic.sd: Likewise. - * ld-i386/tlspic.rd: Likewise. - * ld-mmix/bpo-10.d: Likewise. - * ld-mmix/bpo-22.d: Likewise. - * ld-mmix/sec-7m.d: Likewise. - * ld-powerpc/tlsexe.r: Likewise. - * ld-powerpc/tlsexetoc.r: Likewise. - * ld-powerpc/tlsso.g: Likewise. - * ld-powerpc/tlsso.r: Likewise. - * ld-powerpc/tlsso32.d: Likewise. - * ld-powerpc/tlsso32.g: Likewise. - * ld-powerpc/tlsso32.r: Likewise. - * ld-powerpc/tlstocso.g: Likewise. - * ld-powerpc/tlstocso.r: Likewise. - -2005-06-23 Andreas Schwab <schwab@suse.de> - - * ld-elfweak/size_foo.c (foo): Fix warning about implicit return - type. - -2005-06-10 Alan Modra <amodra@bigpond.net.au> - - * ld-cris/libdso-10.d: Adjust for elf.sc .bss change. - * ld-cris/libdso-2.d: Likewise. - * ld-mmix/loc6.d: Likewise. - -2005-06-10 Alan Modra <amodra@bigpond.net.au> - - * ld-scripts/empty-aligned.t: Adjust alignment expressions so - that no .text? section is kept. Also check setting vma and - lma. - * ld-scripts/empty-aligned.d: Update. - -2005-06-09 Alan Modra <amodra@bigpond.net.au> - - * ld-scripts/empty-aligned.d: Adjust. - -2005-06-05 H.J. Lu <hongjiu.lu@intel.com> - - * ld-cris/hiddef1.d: Undo the last change. - * ld-cris/libdso-10.d: Likewise. - * ld-cris/libdso-2.d: Likewise. - -2005-06-04 H.J. Lu <hongjiu.lu@intel.com> - - * ld-cris/hiddef1.d: Updated. - * ld-cris/libdso-10.d: Likewise. - * ld-cris/libdso-2.d: Likewise. - -2005-06-02 Alan Modra <amodra@bigpond.net.au> - - * ld-powerpc/powerpc.exp (ppcelftests): Assemble sda test with -a32. - -2005-05-31 Zack Weinberg <zack@codesourcery.com> - - * ld-scripts/align.exp: Mark align1 XFAIL on PECOFF targets. - * ld-scripts/data.exp: Mark data UNSUPPORTED on a.out targets. - * ld-scripts/provide.exp, ld-scripts/size.exp: Mark all tests - UNSUPPORTED on a.out targets. Tidy. - -2005-05-27 Mark Mitchell <mark@codesourcery.com> - - * config/default.exp (CC): Use find_gcc. - (CFLAGS): Define, if no definition has been provided by the user. - (CXX): Likewise. - (CXXFLAGS): Likewise. - -2005-05-24 H.J. Lu <hongjiu.lu@intel.com> - - * ld-mmix/bpo-6.d: Updated. - * ld-mmix/bpo-19.d: Likewise. - -2005-05-22 Richard Henderson <rth@redhat.com> - - * ld-elfweak/dsow.dsym: Adjust for non-zero ST_OTHER. - * ld-elfweak/weak.dsym: Likewise. - - * ld-selective/selective.exp: Don't test alpha. - -2005-05-20 Daniel Jacobowitz <dan@codesourcery.com> - - * ld-powerpc/sdalib.s, ld-powerpc/sdadyn.s, ld-powerpc/sdadyn.d: New - files. - * ld-powerpc/powerpc.exp: Run the new test. - -2005-05-20 Bob Wilson <bob.wilson@acm.org> - - * ld-undefined/undefined.exp: Revert xfail for xtensa-*-*. - -2005-05-17 H.J. Lu <hongjiu.lu@intel.com> - - PR 797 - * empty-aligned.d: New file. - * empty-aligned.exp: Likewise. - * empty-aligned.s: Likewise. - * empty-aligned.t: Likewise. - -2005-05-11 Bob Wilson <bob.wilson@acm.org> - - * ld-undefined/undefined.exp: xfail xtensa-*-*. - -2005-05-07 Alan Modra <amodra@bigpond.net.au> - - * ld-powerpc/tlsexe32.d: Update for changed got layout. - * ld-powerpc/tlsexe32.g: Likewise. - * ld-powerpc/tlsexe32.r: Likewise. - * ld-powerpc/tlsso32.d: Likewise. - * ld-powerpc/tlsso32.g: Likewise. - * ld-powerpc/tlsso32.r: Likewise. - -2005-05-06 Nick Clifton <nickc@redhat.com> - - Update the address and phone number of the FSF organization in - the GPL notices in the following files: - * config/default.exp, ld-alpha/alpha.exp, ld-arm/arm-elf.exp, - ld-auto-import/auto-import.exp, ld-bootstrap/bootstrap.exp, - ld-cdtest/cdtest.exp, ld-checks/checks.exp, ld-cris/cris.exp, - ld-crx/crx.exp, ld-cygwin/exe-export.exp, ld-d10v/d10v.exp, - ld-discard/discard.exp, ld-elf/elf.exp, ld-elf/exclude.exp, - ld-elf/frame.exp, ld-elf/sec64k.exp, ld-elfcomm/elfcomm.exp, - ld-elfvers/vers.exp, ld-elfvsb/elfvsb.exp, ld-elfweak/elfweak.exp, - ld-fastcall/fastcall.exp, ld-frv/fdpic.exp, ld-frv/tls.exp, - ld-h8300/h8300.exp, ld-i386/i386.exp, ld-ia64/ia64.exp, - ld-linkonce/linkonce.exp, ld-m68hc11/m68hc11.exp, - ld-maxq/maxq.exp, ld-mips-elf/mips-elf-flags.exp, - ld-mips-elf/mips-elf.exp, ld-mmix/mmix.exp, ld-pe/pe.exp, - ld-powerpc/powerpc.exp, ld-s390/s390.exp, ld-scripts/align.exp, - ld-scripts/assert.exp, ld-scripts/crossref.exp, - ld-scripts/data.exp, ld-scripts/defined.exp, - ld-scripts/empty-orphan.exp, ld-scripts/map-address.exp, - ld-scripts/overlay-size.exp, ld-scripts/phdrs.exp, - ld-scripts/phdrs2.exp, ld-scripts/provide.exp, - ld-scripts/script.exp, ld-scripts/size.exp, ld-scripts/sizeof.exp, - ld-scripts/sort.exp, ld-scripts/weak.exp, - ld-selective/sel-dump.exp, ld-selective/selective.exp, - ld-sh/rd-sh.exp, ld-sh/arch/arch.exp, ld-sh/sh64/rd-sh64.exp, - ld-sh/sh64/relax.exp, ld-sh/sh64/relfail.exp, ld-sh/sh64/sh64.exp, - ld-shared/shared.exp, ld-sparc/sparc.exp, - ld-undefined/undefined.exp, ld-undefined/weak-undef.exp, - ld-versados/versados.exp, ld-x86-64/x86-64.exp, - ld-xstormy16/xstormy16.exp, ld-xtensa/coalesce.exp, - ld-xtensa/lcall.exp, lib/ld-lib.exp - -2005-05-05 Mike Frysinger <vapier@gentoo.org> - - * ld-srec/srec.exp: Replace linux-gnu with linux-* to allow for - versions of Linux which do not use glibc. - * ld-sh/sh.exp: Likewise - -2005-05-05 Paul Brook <paul@codesourcery.com> - - * lib/ld-lib.exp (regexp_diff): Pass test if last line is "#...". - * ld-elfweak/elfweak.exp: Run size2.d. - * ld-elfweak/size2.d: New file. - * ld-elfweak/size2a.s: New file. - * ld-elfweak/size2b.s: New file. - -2005-04-26 Mark Kettenis <kettenis@gnu.org> - - * ld-fastcall/fastcall.exp: Don't run on i*86-*-openbsd*. - - * ld-srec/srec.exp (run_srec_test): Deal with ProPolice on - *-*-openbsd*. - -2005-04-25 H.J. Lu <hongjiu.lu@intel.com> - - * ld-discard/extern.d: Expect error. - * ld-discard/start.d: Likewise. - * ld-discard/static.d: Likewise. - -2005-04-19 Alan Modra <amodra@bigpond.net.au> - - * ld-powerpc/reloc.d: Update to suit removal of non-alloc relocs. - -2005-04-15 Alan Modra <amodra@bigpond.net.au> - - * ld-d10v/default_layout.d: Update for unused section removal. - -2005-04-14 David S. Miller <davem@davemloft.net> - - * ld-selective/sel-dump.exp: Do not exclude sparc64-*. - * ld-selective/selective.exp: Likewise. - * ld-sparc/sparc.exp: Add {32,64}-bit prefix to test - names so we know which one is failing. Run sparc64 TLS - tests on multi-arch sparc platforms. - * ld-sparc/tls64.sd, ld-sparc/tlssunbin64.dd, - ld-sparc/tlssunbin64.rd, ld/ld-sparc/tlssunbin64.sd, - ld-sparc/tlssunbin64.td, ld-sparc/tlssunnopic64.dd, - ld-sparc/tlssunnopic64.rd, ld-sparc/tlssunnopic64.sd, - ld-sparc/tlssunpic64.dd, ld-sparc/tlssunpic64.rd, - ld-sparc/tlssunpic64.sd, ld-sparc/tlssunpic64.td): Update now - that sparc64 ELF does support TLS. - -2005-04-13 H.J. Lu <hongjiu.lu@intel.com> - - * ld-elf/empty.d: New file. - * ld-elf/empty.s: Likewise. - -2005-04-11 David S. Miller <davem@davemloft.net> - - * ld-sparc/tlssunbin32.dd: Update for TLS relocation fixes. - * ld-sparc/tlssunbin32.rd: Likewise. - * ld-sparc/tlssunbin32.sd: Likewise. - * ld-sparc/tlssunpic32.dd: Likewise. - -2005-03-30 Julian Brown <julian@codesourcery.com> - - * ld-arm/arm-app-abs32.d: Update expected output due to mapping symbols - being untyped. - * ld-arm/arm-app.d: Likewise. - * ld-arm/mixed-app.d: Likewise. - -2005-03-29 Daniel Jacobowitz <dan@codesourcery.com> - - * ld-arm/tls-lib.s, ld-arm/tls-lib.d, ld-arm/tls-lib.r, - ld-arm/tls-app.s, ld-arm/tls-app.d, ld-arm/tls-app.r: New files. - * ld-arm/arm-lib.ld, ld-arm/arm-dyn.ld: Increase data segment - alignment. - * ld-arm/arm-elf.exp: Run TLS tests. - -2005-03-28 H.J. Lu <hongjiu.lu@intel.com> - - PR 803 - * ld-ia64/ia64.exp: Pass -mtune=itanium1 to as. - -2005-03-24 Mark Mitchell <mark@codesourcery.com> - - * config/default.exp: Do not load libpath.exp if it does not - exist. - (CC): Provide fallback definition. - -2005-03-24 Eric Christopher <echristo@redhat.com> - - * ld-mips-elf/rel32-n32.d: Revert changes. - * ld-mips-elf/rel32-o32.d: Ditto. - * ld-mips-elf/rel64.d: Ditto. - -2005-03-23 Eric Christopher <echristo@redhat.com> - - * ld-mips-elf/textrel-1.s, ld-mips-elf/textrel-1.d: New - test. - * ld-mips-elf/mips-elf.exp: Call it. - * ld-mips-elf/rel32-n32.d: Update for DF_TEXTREL removal. - * ld-mips-elf/rel32-o32.d: Ditto. - * ld-mips-elf/rel64.d: Ditto. - -2005-03-23 H.J. Lu <hongjiu.lu@intel.com> - - * ld-cris/expdyn5.d: Updated for alignment change in elf.sc. - * ld-cris/expdyn6.d: Likewise. - * ld-cris/expdyn7.d: Likewise. - * ld-cris/gotplt1.d: Likewise. - * ld-cris/gotplt2.d: Likewise. - * ld-cris/gotplt3.d: Likewise. - * ld-cris/libdso-10.d: Likewise. - * ld-cris/libdso-11.d: Likewise. - * ld-cris/libdso-12.d: Likewise. - * ld-cris/libdso-14.d: Likewise. - * ld-cris/libdso-2.d: Likewise. - * ld-cris/locref1.d: Likewise. - * ld-cris/locref2.d: Likewise. - * ld-cris/nodyn5.d: Likewise. - * ld-cris/pv32-1.d: Likewise. - * ld-cris/weakref2.d: Likewise. - -2005-03-23 Alan Modra <amodra@bigpond.net.au> - - * ld-elf/tbss.s: Don't start directives in first column. - * ld-scripts/weak1.s: Likewise. - * ld-scripts/weak2.s: Likewise. - * ld-undefined/weak-undef.s: Likewise. - * ld-undefined/undefined.exp: Enable tests for hppa-elf. - -2005-03-22 Alan Modra <amodra@bigpond.net.au> - - * ld-powerpc/tlsexe32.r: Update. - * ld-powerpc/tlsso32.d: Update. - * ld-powerpc/tlsso32.g: Update. - * ld-powerpc/tlsso32.r: Update. - -2005-03-21 Alan Modra <amodra@bigpond.net.au> - - * ld-powerpc/tlsexe.r: Update. - * ld-powerpc/tlsexetoc.r: Update. - * ld-powerpc/tlsso.r: Update. - * ld-powerpc/tlstocso.r: Update. - -2005-03-20 H.J. Lu <hongjiu.lu@intel.com> - - * ld-mmix/bpo-1.d: Updated for empty section removal. - * ld-mmix/bpo-10.d: Likewise. - * ld-mmix/bpo-11.d: Likewise. - * ld-mmix/bpo-14.d: Likewise. - * ld-mmix/bpo-16.d: Likewise. - * ld-mmix/bpo-17.d: Likewise. - * ld-mmix/bpo-18.d: Likewise. - * ld-mmix/bpo-19.d: Likewise. - * ld-mmix/bpo-2.d: Likewise. - * ld-mmix/bpo-3.d: Likewise. - * ld-mmix/bpo-4.d: Likewise. - * ld-mmix/bpo-5.d: Likewise. - * ld-mmix/bpo-6.d: Likewise. - * ld-mmix/bpo-9.d: Likewise. - * ld-mmix/bspec1.d: Likewise. - * ld-mmix/bspec2.d: Likewise. - * ld-mmix/greg-1.d: Likewise. - * ld-mmix/greg-19.d: Likewise. - * ld-mmix/greg-2.d: Likewise. - * ld-mmix/greg-3.d: Likewise. - * ld-mmix/greg-4.d: Likewise. - * ld-mmix/greg-5.d: Likewise. - * ld-mmix/greg-5s.d: Likewise. - * ld-mmix/greg-6.d: Likewise. - * ld-mmix/greg-7.d: Likewise. - * ld-mmix/loc1.d: Likewise. - * ld-mmix/loc2.d: Likewise. - * ld-mmix/loc3.d: Likewise. - * ld-mmix/loc4.d: Likewise. - * ld-mmix/loc6.d: Likewise. - * ld-mmix/local1.d: Likewise. - * ld-mmix/local12.d: Likewise. - * ld-mmix/local3.d: Likewise. - * ld-mmix/local5.d: Likewise. - * ld-mmix/local7.d: Likewise. - * ld-mmix/locdo-1.d: Likewise. - * ld-mmix/loct-1.d: Likewise. - * ld-mmix/locto-1.d: Likewise. - * ld-mmix/start-1.d: Likewise. - * ld-mmix/undef-3.d: Likewise. - -2005-03-16 David Heine <dlheine@tensilica.com> - Bob Wilson <bob.wilson@acm.org> - - * ld-scripts/empty-orphan.d, ld-scripts/empty-orphan.exp, - ld-scripts/empty-orphan.s, ld-scripts/emtpy-orphan.t: New test. - -2005-03-16 H.J. Lu <hongjiu.lu@intel.com> - - * ld-cris/hiddef1.d: Updated for empty section removal. - * ld-cris/libdso-10.d: Likewise. - * ld-cris/libdso-2.d: Likewise. - -2005-03-16 H.J. Lu <hongjiu.lu@intel.com> - - * ld-alpha/tlsbin.rd: Updated for empty section removal. - * ld-alpha/tlsbinr.rd: Likewise. - * ld-alpha/tlspic.rd: Likewise. - * ld-arm/mixed-lib.sym: Likewise. - * ld-i386/tlsbin.rd: Likewise. - * ld-i386/tlsnopic.rd: Likewise. - * ld-i386/tlspic.rd: Likewise. - * ld-ia64/tlsbin.rd: Likewise. - * ld-ia64/tlspic.rd: Likewise. - * ld-powerpc/apuinfo.rd: Likewise. - * ld-powerpc/powerpc.exp: Likewise. - * ld-powerpc/tlsexe32.r: Likewise. - * ld-s390/tlsbin.rd: Likewise. - * ld-s390/tlsbin_64.rd: Likewise. - * ld-s390/tlspic.rd: Likewise. - * ld-s390/tlspic_64.rd: Likewise. - * ld-sh/tlsbin-2.d: Likewise. - * ld-sh/tlspic-2.d: Likewise. - * ld-sparc/tlssunbin32.rd: Likewise. - * ld-sparc/tlssunnopic32.rd: Likewise. - * ld-sparc/tlssunpic32.rd: Likewise. - * ld-x86-64/tlsbin.rd: Likewise. - * ld-x86-64/tlspic.rd: Likewise. - -2005-03-16 Alan Modra <amodra@bigpond.net.au> - - * ld-powerpc/tlsexe32.d: Update. - * ld-powerpc/tlsexe32.g: Update. - * ld-powerpc/tlsexe32.r: Update. - * ld-powerpc/tlsexe32.t: Update. - * ld-powerpc/tlsso32.d: Update. - * ld-powerpc/tlsso32.g: Update. - * ld-powerpc/tlsso32.r: Update. - * ld-powerpc/tlsso32.t: Update. - -2005-03-08 Hans-Peter Nilsson <hp@axis.com> - - Adjust testsuite for cris-axis-aout. - * ld-cris/noglob1.d: Adjust regexp for a.out output. - * ld-cris/badgotr1.d, ld-cris/expdyn1.d, ld-cris/expdyn2.d, - ld-cris/expdyn3.d, ld-cris/expdyn4.d, ld-cris/expdyn5.d, - ld-cris/expdyn6.d, ld-cris/expdyn7.d, ld-cris/gotplt1.d, - ld-cris/gotplt2.d, ld-cris/gotplt3.d, ld-cris/hiddef1.d, - ld-cris/libdso-1.d, ld-cris/libdso-10.d, ld-cris/libdso-11.d, - ld-cris/libdso-12.d, ld-cris/libdso-13.d, ld-cris/libdso-14.d, - ld-cris/libdso-2.d, ld-cris/libdso-3.d, ld-cris/libdso-4.d, - ld-cris/locref1.d, ld-cris/locref2.d, ld-cris/nodyn4.d, - ld-cris/nodyn5.d, ld-cris/pv32-1.d, ld-cris/undef1.d, - ld-cris/weakref1.d: ld-cris/weakref2.d: Pass --em=criself to gas. - * ld-cris/v10-v32.d, ld-cris/v10-va.d, ld-cris/v32-ba-1.d, - ld-cris/v32-v10.d, ld-cris/v32-va.d, ld-cris/va-v10.d, - ld-cris/va-v32.d: Ditto. Pass -m criself to gld. - * ld-cris/v32-bin-1.d: Pass -m criself to gld. - -2005-03-05 Alan Modra <amodra@bigpond.net.au> - - * ld-alpha/tlsbin.dd: Update to suit changed section layout and - removed section symbols. - * ld-alpha/tlsbin.rd: Likewise. - * ld-alpha/tlsbin.sd: Likewise. - * ld-alpha/tlsbinr.dd: Likewise. - * ld-alpha/tlsbinr.rd: Likewise. - * ld-alpha/tlspic.dd: Likewise. - * ld-alpha/tlspic.rd: Likewise. - * ld-alpha/tlspic.sd: Likewise. - - * ld-powerpc/tlsexe.g: Update for removed dot-symbols. - * ld-powerpc/tlsexe.r: Likewise. - * ld-powerpc/tlsexetoc.g: Likewise. - * ld-powerpc/tlsexetoc.r: Likewise. - -2005-03-04 David Daney <ddaney@avtrex.com> - - * ld-mips-elf/multi-got-no-shared-1.s, - ld-mips-elf/multi-got-no-shared-2.s, - ld-mips-elf/multi-got-no-shared.d: New tests. - * ld-mips-elf/mips-elf.exp: Run them. - -2005-03-02 Daniel Jacobowitz <dan@codesourcery.com> - - * ld-mips-elf/tlsbin-o32.s, ld-mips-elf/mips-dyn.ld, - ld-mips-elf/tlslib-o32.got, ld-mips-elf/tlslib-o32.d, - ld-mips-elf/tlslib-o32.s, ld-mips-elf/mips-lib.ld, - ld-mips-elf/tlsbin-o32.got, ld-mips-elf/tlsdyn-o32.d, - ld-mips-elf/tlsdyn-o32.got, ld-mips-elf/tlsbin-o32.d, - ld-mips-elf/tlsdyn-o32.s, ld-mips-elf/tls-multi-got-1.got, - ld-mips-elf/tls-multi-got-1-1.s, ld-mips-elf/tls-multi-got-1.d, - ld-mips-elf/tls-multi-got-1.r, ld-mips-elf/tls-multi-got-1-2.s, - ld-mips-elf/tlslib-o32-ver.got, ld-mips-elf/tlslib.ver, - ld-mips-elf/tlslib-o32-hidden.got, ld-mips-elf/tlslib-hidden.ver, - ld-mips-elf/tlsdyn-o32-1.d, ld-mips-elf/tlsdyn-o32-3.got, - ld-mips-elf/tlsdyn-o32-2.d, ld-mips-elf/tlsdyn-o32-2.s, - ld-mips-elf/tlsdyn-o32-3.d, ld-mips-elf/tlsdyn-o32-1.got, - ld-mips-elf/tlsdyn-o32-2.got: New files. - * ld-mips-elf/mips-elf.exp: Run the new tests. - -2005-03-01 Nick Clifton <nickc@redhat.com> - - * ld-d10v/default_layout.d: Adjust expected offsets to allow for - section alignment. - - * ld-discard/extern.d: Adjust expected warning to take into - account the fact that the linker's name might be included and that - the reloc might have been adjusted to be against the section - symbol. - -2005-02-22 Eric Christopher <echristo@redhat.com> - - * ld-mips-elf/reloc-merge-lo16.d: Correct symbol - table size for __start. - -2005-02-22 Daniel Jacobowitz <dan@codesourcery.com> - - * ld-elfvsb/hidden2.d: Expect OBJECT. - * ld-elfvsb/hidden2.s: Force type OBJECT. - * ld-elfvsb/hidden2.ld: Place .dynamic explicitly. - * ld-elf/start.s: Provide __start for MIPS. - * ld-elfcomm/elfcomm.exp: Accept MIPS common section. XFAIL size change - test. - * ld-elf/warn1.d: Use group.ld instead of -Ttext. - -2005-02-21 Alan Modra <amodra@bigpond.net.au> - - * lib/ld-lib.exp (run_dump_test): Don't require a dump program if - #warning given. Rearrange to allow $program to remain unset. - Don't allow gas errors. Append objcopy_as_link output to that - from the linker before testing against expected output. Fail the - test if warning not found when expected. Conversely fail the - test if ld errors or warnings given when not expected. - -2005-02-21 Alan Modra <amodra@bigpond.net.au> - - * ld-elf/exclude1.s: Use ".dc.a". - * ld-elfvsb/hidden2.s: Likewise. - -2005-02-21 Alan Modra <amodra@bigpond.net.au> - - * ld-elf/warn1.d: Specify -Ttext. - * ld-scripts/align.exp (align2a, align2b: Don't run on aout targets. - * ld-scripts/align2.t: Discard all but .text and .data. - * ld-scripts/align2a.d: Accept non-readonly for coff. - * ld-scripts/align2b.d: Likewise. - * lib/ld-lib.exp (is_aout_format): New function. - -2005-02-18 Alan Modra <amodra@bigpond.net.au> - - * ld-scripts/align2a.d: Don't assume anything about section - padding or alignment, or max page size. Allow 64-bit addresses. - * ld-scripts/align2b.d: Likewise. - -2005-02-17 Zack Weinberg <zack@codesourcery.com> - - * ld-scripts/align.exp: Rename existing "ALIGN" test to "align1". - Add dump tests "align2a", "align2b", "align2c". - * ld-scripts/align2.t, ld-scripts/align2a.s, ld-scripts/align2a.d - * ld-scripts/align2b.s, ld-scripts/align2b.d - * ld-scripts/align2c.s, ld-scripts/align2c.d: New files. - -2005-02-17 Alexandre Oliva <aoliva@redhat.com> - - * ld-frv/fdpic-static-6.d: Update. - * ld-frv/fdpic*.d: Remove explicit -mfdpic from #as. Update - spelling of errors and warnings. - -2005-02-15 Nigel Stephens <nigel@mips.com> - Maciej W. Rozycki <macro@mips.com> - - * ld-mips-elf/mips16-hilo.d: New test for the R_MIPS16_HI16 and - R_MIPS16_LO16 relocs. - * ld-mips-elf/mips16-hilo-n32.d: Likewise, for the n32 ABI. - * ld-mips-elf/mips16-hilo.s: Auxiliary source for the new tests. - * ld-mips-elf/mips-elf.exp: Run the new tests. - -2005-02-14 Eric Botcazou <ebotcazou@libertysurf.fr> - - * ld-sparc/sparc.exp: Enable on Solaris. Disable 32-bit tests - on sparc64-elf. - -2005-02-13 Jan Beulich <jbeulich@novell.com> - - * ld-elfvers/vers.exp (as_options): New. Set to -x for ia64. - (build_binary): Pass as_options to ld_assemble. - (test_ldfail): Likewise. - (build_exec): Likewise. - Pass as_options to run_ld_link_tests. - * ld-ia64/tlsbin.s: Add .explicit. - * ld-ia64/tlsbinpic.s: Likewise. - * ld-ia64/tlspic1.s: Likewise. - -2005-02-13 Eric Botcazou <ebotcazou@libertysurf.fr> - - * ld-sparc/tlssunnopic32.rd: Adjust for .dynsym changes. - * ld-sparc/tlssunpic32.rd: Likewise. - -2005-02-13 Eric Botcazou <ebotcazou@libertysurf.fr> - - * ld-elf/warn1.d: Do not run on sparc64-*-solaris2*. - -2005-02-11 Paul Brook <paul@codesourcery.com> - - * ld-elf/symbol1w.s: Avoid using @function syntax. - -2005-02-12 Alan Modra <amodra@bigpond.net.au> - - * ld-elfvsb/hidden2.s: Replace .word with .long. - -2005-02-10 Paul Brook <paul@codesourcery.com> - - * ld-elfvsb/hidden2.s: New file - * ld-elfvsb/hidden2.d: New file - * ld-elfvsb/hidden2.ld: New file - -2005-02-07 Alexandre Oliva <aoliva@redhat.com> - - * ld-frv/fdpic-shared-8-fail.d: Tweak error messages. - -2005-02-07 Hans-Peter Nilsson <hp@axis.com> - - * ld-cris/libdso-13.d: Adjust for being identified as warning. - - * ld-cris/globsymw2.s: New file. - * ld-cris/warn3.d, ld-cris/warn4.d: New tests. - - * ld-discard/extern.d, ld-discard/start.d, ld-discard/static.d: - Adjust for being identified as warnings. - - * ld-cris/stabs1.s: New file. - * ld-cris/undef2.d, ld-cris/undef3.d: New tests. - - * ld-elf/start.s, ld-elf/symbolref.s, ld-elf/symbol1w.s, - ld-elf/warn1.d: New test. - - * lib/ld-lib.exp: Support new directive "warning". - -2005-02-02 Daniel Jacobowitz <dan@codesourcery.com> - - * ld-mips-elf/eh-frame3.d, ld-mips-elf/eh-frame4.d: Move comments - after test commands. - * ld-mips-elf/mips-elf.exp: Skip multi-got-1 on non-GNU/Linux - systems. - -2005-02-01 Alan Modra <amodra@bigpond.net.au> - - * ld-powerpc/tlsso.r: Update. - * ld-powerpc/tlstocso.r: Update. - -2005-01-31 Daniel Jacobowitz <dan@codesourcery.com> - - * ld-mips-elf/elf-rel-got-n32.d, ld-mips-elf/elf-rel-got-n64-linux.d, - ld-mips-elf/elf-rel-got-n64.d, ld-mips-elf/elf-rel-xgot-n32.d, - ld-mips-elf/elf-rel-xgot-n64-linux.d, ld-mips-elf/elf-rel-xgot-n64.d, - ld-mips-elf/jalbal.d: Force big-endian. - * ld-mips-elf/multi-got-1.d: Make more flexible. - * ld-mips-elf/rel32-n32.d, ld-mips-elf/rel32-o32.d, - ld-mips-elf/rel64.d: Update offsets. - -2005-01-31 Daniel Jacobowitz <dan@codesourcery.com> - - * ld-elf/group1.d: Accept OBJECT symbols. - -2005-01-31 Richard Sandiford <rsandifo@redhat.com> - - * ld-mips-elf/eh-frame1.s: Create a .gcc_compiled_long32 if using - 32-bit pointers. - * ld-mips-elf/eh-frame1.d: Link in .gcc_compiled_long32 sections. - * ld-mips-elf/eh-frame[34].d: New tests. - * ld-mips-elf/mips-elf.exp: Run them. - -2005-01-28 Jan Beulich <jbeulich@novell.com> - - * ld/ia64/tlsbin.[rt]d: Widen expected offset/size ranges. - * ld/ia64/tlspic.[rt]d: Likewise. - -2005-01-25 Alexandre Oliva <aoliva@redhat.com> - - * ld-frv/fdpic.exp: Add -mfdpic to ASFLAGS. - * ld-frv/tls.exp: Likewise. - 2004-11-26 Alexandre Oliva <aoliva@redhat.com> - * ld-frv/tls-3.s: New. - * ld-frv/tls-static-3.d: New. - * ld-frv/tls-dynamic-3.d: New. - * ld-frv/tls-pie-3.d: New. - * ld-frv/tls-shared-3.d: New. - * ld-frv/tls-relax-static-3.d: New. - * ld-frv/tls-relax-dynamic-3.d: New. - * ld-frv/tls-relax-pie-3.d: New. - * ld-frv/tls-relax-shared-3.d: New. - * ld-frv/tls.exp: Run the new tests. - * ld-frv/tls-dynamic-2.d: Adjust for improved relaxation. - * ld-frv/tls-relax-dynamic-2.d: Likewise. - * ld-frv/tls-relax-initial-shared-2.d: Likewise. - 2004-11-10 Alexandre Oliva <aoliva@redhat.com> - * ld-frv/tls-1-dep.s: New. - * ld-frv/tls-1-shared.lds: New. - * ld-frv/tls-1.s: New. - * ld-frv/tls-2.s: New. - * ld-frv/tls-dynamic-1.d: New. - * ld-frv/tls-dynamic-2.d: New. - * ld-frv/tls-initial-shared-2.d: New. - * ld-frv/tls-pie-1.d: New. - * ld-frv/tls-relax-dynamic-1.d: New. - * ld-frv/tls-relax-dynamic-2.d: New. - * ld-frv/tls-relax-initial-shared-2.d: New. - * ld-frv/tls-relax-pie-1.d: New. - * ld-frv/tls-relax-shared-1.d: New. - * ld-frv/tls-relax-shared-2.d: New. - * ld-frv/tls-relax-static-1.d: New. - * ld-frv/tls-shared-1-fail.d: New. - * ld-frv/tls-shared-1.d: New. - * ld-frv/tls-shared-2.d: New. - * ld-frv/tls-static-1.d: New. - * ld-frv/tls.exp: New. - * ld-frv/fdpic-pie-1.d: Adjust for 64-bit host. - * ld-frv/fdpic-pie-2.d: Likewise. - * ld-frv/fdpic-pie-6.d: Likewise. - * ld-frv/fdpic-pie-7.d: Likewise. - * ld-frv/fdpic-pie-8.d: Likewise. - * ld-frv/fdpic-shared-1.d: Likewise. - * ld-frv/fdpic-shared-2.d: Likewise. - * ld-frv/fdpic-shared-3.d: Likewise. - * ld-frv/fdpic-shared-4.d: Likewise. - * ld-frv/fdpic-shared-5.d: Likewise. - * ld-frv/fdpic-shared-6.d: Likewise. - * ld-frv/fdpic-shared-7.d: Likewise. - * ld-frv/fdpic-shared-8.d: Likewise. - * ld-frv/fdpic-shared-local-2.d: Likewise. - * ld-frv/fdpic-shared-local-8.d: Likewise. - * ld-frv/fdpic-static-1.d: Likewise. - * ld-frv/fdpic-static-2.d: Likewise. - * ld-frv/fdpic-static-6.d: Likewise. - * ld-frv/fdpic-static-7.d: Likewise. - * ld-frv/fdpic-static-8.d: Likewise. - -2005-01-17 Richard Sandiford <rsandifo@redhat.com> - - * ld-mips-elf/eh-frame2-{n32,n64}.d: New tests. - * ld-mips-elf/mips-elf.exp: Run them. - -2005-01-17 Andrew Stubbs <andrew.stubbs@st.com> - - * ld-sh/arch/arch.exp: Correct the email address. - Correct a few comment typos. - (test_arch,test_arch_error): Use 'ld -r' to avoid illegal - relocations killing the test. - * ld-sh/arch/arch_expected.txt: Update/Correct the test results. - * ld-sh/arch/sh2a-nofpu-or-sh3-nommu.s: Regenerate. - * ld-sh/arch/sh2a-nofpu-or-sh4-nommu-nofpu.s: Regenerate. - * ld-sh/arch/sh2a-nofpu.s: Generate new file. - * ld-sh/arch/sh2a-or-sh3e.s: Regenerate. - * ld-sh/arch/sh2a-or-sh4.s: Regenerate. - * ld-sh/arch/sh2a.s: Generate new file. - * ld-sh/arch/sh2e.s: Regenerate. - * ld-sh/arch/sh2.s: Regenerate. - * ld-sh/arch/sh3-dsp.s: Regenerate. - * ld-sh/arch/sh3e.s: Regenerate. - * ld-sh/arch/sh3-nommu.s: Regenerate. - * ld-sh/arch/sh3.s: Regenerate. - * ld-sh/arch/sh4al-dsp.s: Regenerate. - * ld-sh/arch/sh4a-nofpu.s: Regenerate. - * ld-sh/arch/sh4a.s: Regenerate. - * ld-sh/arch/sh4-nofpu.s: Regenerate. - * ld-sh/arch/sh4-nommu-nofpu.s: Regenerate. - * ld-sh/arch/sh4.s: Regenerate. - * ld-sh/arch/sh-dsp.s: Regenerate. - * ld-sh/arch/sh.s: Regenerate. - -2005-01-11 Kaz Kojima <kkojima@rr.iij4u.or.jp> - - * ld-sh/shared-1.d: Update for changed dynamic syms. - * ld-sh/sh64/gotplt.d: Likewise. - * ld-sh/sh64/init-cmpct.d: Likewise. - * ld-sh/sh64/init-media.d: Likewise. - * ld-sh/sh64/init64.d: Likewise. - -2004-12-21 Tomer Levi <Tomer.Levi@nsc.com> - - * ld-crx/reloc-abs32.d: Update reference file according - to disassembler printing method. - * ld-crx/reloc-rel16.d: Likewise. - * ld-crx/reloc-rel24.d: Likewise. - * ld-crx/reloc-rel32.d: Likewise. - * ld-crx/reloc-rel4.d: Likewise. - * ld-crx/reloc-rel8-cmp.d: Likewise. - * ld-crx/reloc-rel8.d: Likewise. - -2004-12-16 Richard Sandiford <rsandifo@redhat.com> - - * ld-v850: New directory. - -2004-12-14 Richard Sandiford <rsandifo@redhat.com> - - * ld-mips-elf/jal-overflow-2.[sd]: New test. - * ld-mips-elf/mips-elf.exp: Run it. - -2004-12-13 Richard Sandiford <rsandifo@redhat.com> - - * ld-mips-elf/mips-elf.exp: Only run jalbal if n32 is supported. - -2004-12-11 Alan Modra <amodra@bigpond.net.au> - - * ld-mmix/bpo-1.d: Update for changed section syms. - * ld-mmix/bpo-10.d: Likewise. - * ld-mmix/bpo-11.d: Likewise. - * ld-mmix/bpo-14.d: Likewise. - * ld-mmix/bpo-16.d: Likewise. - * ld-mmix/bpo-17.d: Likewise. - * ld-mmix/bpo-18.d: Likewise. - * ld-mmix/bpo-19.d: Likewise. - * ld-mmix/bpo-2.d: Likewise. - * ld-mmix/bpo-22.d: Likewise. - * ld-mmix/bpo-3.d: Likewise. - * ld-mmix/bpo-4.d: Likewise. - * ld-mmix/bpo-5.d: Likewise. - * ld-mmix/bpo-6.d: Likewise. - * ld-mmix/bpo-9.d: Likewise. - * ld-mmix/greg-1.d: Likewise. - * ld-mmix/greg-19.d: Likewise. - * ld-mmix/greg-2.d: Likewise. - * ld-mmix/greg-3.d: Likewise. - * ld-mmix/greg-4.d: Likewise. - * ld-mmix/greg-5.d: Likewise. - * ld-mmix/greg-5s.d: Likewise. - * ld-mmix/greg-6.d: Likewise. - * ld-mmix/greg-7.d: Likewise. - * ld-mmix/loc1.d: Likewise. - * ld-mmix/loc2.d: Likewise. - * ld-mmix/loc3.d: Likewise. - * ld-mmix/loc4.d: Likewise. - * ld-mmix/loc6.d: Likewise. - * ld-mmix/locdo-1.d: Likewise. - * ld-mmix/loct-1.d: Likewise. - * ld-mmix/locto-1.d: Likewise. - * ld-mmix/start-1.d: Likewise. - * ld-sh/sh64/abi32.xd: Likewise. - * ld-sh/sh64/abi64.xd: Likewise. - * ld-sh/sh64/cmpct1.xd: Likewise. - * ld-sh/sh64/mix1.xd: Likewise. - * ld-sh/sh64/mix2.xd: Likewise. - * ld-sh/sh64/rel32.xd: Likewise. - * ld-sh/sh64/rel64.xd: Likewise. - * ld-sh/sh64/shdl32.xd: Likewise. - * ld-sh/sh64/shdl64.xd: Likewise. - -2004-12-09 Ian Lance Taylor <ian@wasabisystems.com> - - * ld-mips-elf/jalbal.d: New test. - * ld-mips-elf/jalbal.s: New test. - * ld-mips-elf/mips-elf.exp: Run it. - -2004-12-08 Ian Lance Taylor <ian@wasabisystems.com> - - * ld-mips-elf/jaloverflow.d: New test. - * ld-mips-elf/jaloverflow.s: New test. - * ld-mips-elf/mips-elf.exp: Run it. - -2004-12-03 H.J. Lu <hongjiu.lu@intel.com> - - * ld-elf/group1.d: Support 64bit. - -2004-12-01 Paul Brook <paul@codesourcery.com> - - * ld-elf/group1.d: New test. - * ld-elf/group.ld, ld-elf/group1a.s, ld-elf/group1b.s: New test. - -2004-12-01 Daniel Jacobowitz <dan@codesourcery.com> - - * ld-selective/selective.exp: Use -print-libgcc-file-name for - ARM and v850 also. - -2004-11-24 Paul Brook <paul@codesourcery.com> - - * ld-arm/mixed-lib.sym: Update for THUMB_FUNC change. - -2004-11-19 Nick Clifton <nickc@redhat.com> - - * ld-scripts/script.exp: Add test of memory linker script. - Reorganise code to remove unnecessary indentation. - Fix target tests to avoid using --image-base with *-nto targets. - * ld-scripts/memory.t: New linker script to test the MEMORY - section and the ORIGIN and LENGTH operators. - -2004-11-17 Daniel Jacobowitz <dan@codesourcery.com> - - * ld-arm/mixed-app.d, ld-arm/mixed-app.r, ld-arm/mixed-app.s, - ld-arm/mixed-app.sym, ld-arm/mixed-lib.d, ld-arm/mixed-lib.r, - ld-arm/mixed-lib.s, ld-arm/mixed-lib.sym, ld-arm/arm-dyn.ld, - ld-arm/arm-lib.ld: New files. - * ld-arm/arm-app-abs32.d, ld-arm/arm-app-abs32.r, ld-arm/arm-app.d, - ld-arm/arm-app.r, ld-arm/arm-lib-plt32.d, ld-arm/arm-lib-plt32.r, - ld-arm/arm-lib.d, ld-arm/arm-lib.r, ld-arm/arm-static-app.d, - ld-arm/arm-static-app.r: Update for big-endian. - * ld-arm/arm-elf.exp: Run the new tests. - -2004-11-16 Richard Sandiford <rsandifo@redhat.com> - - * ld-mips-elf/eh-frame1.{s,ld}, - * ld-mips-elf/eh-frame1-{n32,n64},d: New test. - * ld-mips-elf/mips-elf.exp: Run it. - -2004-11-10 Alan Modra <amodra@bigpond.net.au> - - * ld-d10v/reloc-003.d: Update for changed error message. - * ld-d10v/reloc-004.d: Likewise. - * ld-d10v/reloc-007.d: Likewise. - * ld-d10v/reloc-008.d: Likewise. - * ld-d10v/reloc-011.d: Likewise. - * ld-d10v/reloc-012.d: Likewise. - * ld-d10v/reloc-015.d: Likewise. - * ld-d10v/reloc-016.d: Likewise. - -2004-11-08 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> - - * ld-scripts/weak.exp: Enable test on PE, XFAIL non-i386 PE. - * ld-undefined/weak-undef.exp: Enable test on PE, XFAIL non-i386 - PE. - * lib/ld-lib.exp (is_pecoff_format): New. - -2004-11-08 Inderpreet Singh <inderpreetb@nioda.hcltech.com> - Vineet Sharma <vineets@noida.hcltech.com> - - * ld-maxq: New directory. Contains tests for the new maxq port. - -2004-11-04 Hans-Peter Nilsson <hp@bitrange.com> - - * ld-elf/merge.d: xfail crisv32-*-*. - * ld-cris/dsov32-1.s, ld-cris/dsov32-2.s, ld-cris/dsov32-3.s, - ld-cris/dsov32-4.s, ld-cris/libdso-10.d, ld-cris/libdso-11.d, - ld-cris/libdso-12.d, ld-cris/libdso-13.d, ld-cris/libdso-14.d, - ld-cris/move-1.s, ld-cris/pv32-1.d, ld-cris/pv32.s, - ld-cris/start1.s, ld-cris/v10-v32.d, ld-cris/v10-va.d, - ld-cris/v32-ba-1.d, ld-cris/v32-ba-1.s, ld-cris/v32-bin-1.d, - ld-cris/v32-bin-1.s, ld-cris/v32-v10.d, ld-cris/v32-va.d, - ld-cris/va-v10.d, ld-cris/va-v32.d: New tests. - * ld-cris/ldsym1.d: Adjust for change in linker script. - -2004-11-02 Hans-Peter Nilsson <hp@axis.com> - - * ld-cris/expdyn1.d, ld-cris/expdyn5.d, ld-cris/expdyn6.d, - ld-cris/expdyn7.d, ld-cris/gotplt1.d, ld-cris/gotplt2.d, - ld-cris/gotplt3.d, ld-cris/hiddef1.d, ld-cris/libdso-2.d, - ld-cris/locref1.d, ld-cris/locref2.d, ld-cris/weakref2.d, - ld-i386/tlsbin.rd, ld-i386/tlsnopic.rd, ld-i386/tlspic.rd, - ld-ia64/tlsbin.dd, ld-ia64/tlsbin.rd, ld-ia64/tlspic.dd, - ld-ia64/tlspic.rd, ld-powerpc/tlsexe32.d, ld-powerpc/tlsexe32.g, - ld-powerpc/tlsexe32.r, ld-powerpc/tlsexe32.t, - ld-powerpc/tlsso32.d, ld-powerpc/tlsso32.g, ld-powerpc/tlsso32.r, - ld-powerpc/tlsso32.t, ld-s390/tlsbin.dd, ld-s390/tlsbin.rd, - ld-s390/tlspic.rd, ld-sparc/tlssunbin32.rd, - ld-sparc/tlssunpic32.rd, ld-x86-64/tlsbin.rd, ld-x86-64/tlspic.dd, - ld-x86-64/tlspic.rd: Adjust for _GLOBAL_OFFSET_TABLE_ now hidden. - -2004-10-26 Paul Brook <paul@codesourcery.com> - - * ld-elfvers/vers.exp (build_binary): Add ldargs parameter. - (build_vers_lib_pic_flags): New function. - Add vers29 test. - * ld-elfvers/vers29.c: New file. - * ld-elfvers/vers29.dsym: New file. - * ld-elfvers/vers29.ver: New file. - -2004-10-24 Hans-Peter Nilsson <hp@bitrange.com> - - * ld-mmix/sec-8m.d: Adjust test for dump using correct section - length. - * ld-mmix/sec-9.d: Renamed test, formerly known as sec-5.d. - * ld-mmix/sec-5.d, ld-mmix/b-offloc.s: Rewritten test. - - * ld-mmix/getaa-6b.d, ld-mmix/getaa-6f.d, ld-mmix/getaa14b.d, - ld-mmix/getaa14f.d, ld-mmix/jumpa-6b.d, ld-mmix/jumpa-6f.d, - ld-mmix/jumpa14b.d, ld-mmix/jumpa14f.d, ld-mmix/reg-1.d, - ld-mmix/reg-1m.d: Adjust for changed error message format. - -2004-10-19 H.J. Lu <hongjiu.lu@intel.com> - - * ld-elf/exclude.exp: Allow cris-*-elf. - - * ld-elf/exclude1.s: Add ".data". Remove "- include_sym". - * ld-elf/exclude2.s: Add ".data". - -2004-10-19 Hans-Peter Nilsson <hp@bitrange.com> - - * ld-elf/exclude.exp: Don't run for cris-*-elf. - -2004-10-16 Daniel Jacobowitz <dan@debian.org> - - * ld-elf/exclude1.s, ld-elf/exclude2.s, ld-elf/exclude.exp: New. - -2004-10-15 Alan Modra <amodra@bigpond.net.au> - - * ld-crx/reloc-num8.d: Adjust for changed orphan placement. - * ld-crx/reloc-num16.d: Likewise. - * ld-crx/reloc-num32.d: Likewise. - * ld-scripts/provide-2.t: Start .data at 0x2000. - * ld-scripts/provide-2.d: Adjust. - -2004-10-14 H.J. Lu <hongjiu.lu@intel.com> - - * ld-scripts/sort.exp: Run for ELF targets only. - -2004-10-14 Alan Modra <amodra@bigpond.net.au> - - * ld-scripts/overlay-size.d: Update for changed orphan section - placement. - * ld-mmix/bpo-18.d: Likewise. - -2004-10-07 Bob Wilson <bob.wilson@acm.org> - - * ld-xtensa/lcall1.s: Use .literal directive. - * ld-xtensa/lcall2.s: Align function entry. - * ld-xtensa/coalesce2.s: Likewise. - -2004-10-04 H.J. Lu <hongjiu.lu@intel.com> - - * ld-scripts/sort.exp: New file for section sorting tests. - * ld-scripts/sort_b_a.d: Likewise - * ld-scripts/sort_b_a.s: Likewise - * ld-scripts/sort_b_a.t: Likewise - * ld-scripts/sort_b_a_a-1.d: Likewise - * ld-scripts/sort_b_a_a-2.d: Likewise - * ld-scripts/sort_b_a_a-3.d: Likewise - * ld-scripts/sort_b_a_a.t: Likewise - * ld-scripts/sort_b_a_n-1.d: Likewise - * ld-scripts/sort_b_a_n-2.d: Likewise - * ld-scripts/sort_b_a_n-3.d: Likewise - * ld-scripts/sort_b_a_n.t: Likewise - * ld-scripts/sort_b_n.d: Likewise - * ld-scripts/sort_b_n.s: Likewise - * ld-scripts/sort_b_n.t: Likewise - * ld-scripts/sort_b_n_a-1.d: Likewise - * ld-scripts/sort_b_n_a-2.d: Likewise - * ld-scripts/sort_b_n_a-3.d: Likewise - * ld-scripts/sort_b_n_a.t: Likewise - * ld-scripts/sort_b_n_n-1.d: Likewise - * ld-scripts/sort_b_n_n-2.d: Likewise - * ld-scripts/sort_b_n_n-3.d: Likewise - * ld-scripts/sort_b_n_n.t: Likewise - * ld-scripts/sort_n_a-a.s: Likewise - * ld-scripts/sort_n_a-b.s: Likewise - * ld-scripts/sort_no-1.d: Likewise - * ld-scripts/sort_no-2.d: Likewise - * ld-scripts/sort_no.t: Likewise - -2004-10-01 H.J. Lu <hongjiu.lu@intel.com> - - * ld-powerpc/tls.s: Don't set tls type for undefined syms. - * ld-powerpc/tls32.s: Likewise. - * ld-powerpc/tlstoc.s: Likewise. - * ld-s390/tlsbin.s: Likewise. - * ld-s390/tlsbin_64.s: Likewise. - * ld-s390/tlsbinpic.s: Likewise. - * ld-s390/tlsbinpic_64.s: Likewise. - * ld-s390/tlspic1.s: Likewise. - * ld-s390/tlspic1_64.s: Likewise. - * ld-sparc/tlssunbin32.s: Likewise. - * ld-sparc/tlssunbinpic32.s: Likewise. - * ld-sparc/tlssunnopic32.s: Likewise. - * ld-sparc/tlssunpic32.s: Likewise. - -2004-10-01 Alan Modra <amodra@bigpond.net.au> - - * ld-s390/tlsbin.s: Set tls type for undefined syms. - * ld-s390/tlsbin_64.s: Likewise. - * ld-s390/tlsbinpic.s: Likewise. - * ld-s390/tlsbinpic_64.s: Likewise. - * ld-s390/tlspic1.s: Likewise. - * ld-s390/tlspic1_64.s: Likewise. - * ld-sparc/tlssunbin32.s: Likewise. - * ld-sparc/tlssunbinpic32.s: Likewise. - * ld-sparc/tlssunnopic32.s: Likewise. - * ld-sparc/tlssunpic32.s: Likewise. - -2004-10-01 Alan Modra <amodra@bigpond.net.au> - - * ld-sparc/tlssunbin32.sd: Adjust for changed .dynamic location. - -2004-10-01 Nick Clifton <nickc@redhat.com> - - PR 371 - * ld-undefined/undefined.exp: Remove redundant XPASS - specifications. - -2004-10-01 Alan Modra <amodra@bigpond.net.au> - - * ld-powerpc/tls.s (gd, ld): Set tls type for undefined syms. - * ld-powerpc/tls32.s (gd, ld): Likewise. - * ld-powerpc/tlstoc.s (gd, ld): Likewise. - * ld-powerpc/tlsso.r: Update. - * ld-powerpc/tlsso32.r: Update. - * ld-powerpc/tlstocso.r: Update. - -2004-09-30 Paul Brook <paul@codesourcery.com> - - * ld-arm/arm-elf.exp: Add test for --target2=abs. - * ld-arm/arm-target2-abs.d: New file. - -2004-09-29 Alan Modra <amodra@bigpond.net.au> - - * ld-pe/secrel1.s: Pad .rdata out to 16 byte boundary. - * ld-pe/secrel.d: Adjust to suit. - -2004-09-24 Alan Modra <amodra@bigpond.net.au> - - * ld-elfvsb/elfvsb.exp: Remove file name from "undefined ref" string. - -2004-09-22 Alan Modra <amodra@bigpond.net.au> - - * ld-i386/tlsbin.rd: Update for changed segment map. - * ld-i386/tlsnopic.rd: Likewise. - * ld-i386/tlspic.rd: Likewise. - * ld-powerpc/tlsexe.r: Likewise. - * ld-powerpc/tlsexe32.r: Likewise. - * ld-powerpc/tlsexetoc.r: Likewise. - * ld-powerpc/tlsso.r: Likewise. - * ld-powerpc/tlsso32.r: Likewise. - * ld-powerpc/tlstocso.r: Likewise. - * ld-s390/tlsbin.rd: Likewise. - * ld-s390/tlsbin_64.rd: Likewise. - * ld-s390/tlspic.rd: Likewise. - * ld-s390/tlspic_64.rd: Likewise. - * ld-sh/tlsbin-2.d: Likewise. - * ld-sh/tlspic-2.d: Likewise. - * ld-x86-64/tlsbin.rd: Likewise. - * ld-x86-64/tlspic.rd: Likewise. - -2004-09-22 Alan Modra <amodra@bigpond.net.au> - - * ld-scripts/overlay-size.d: Don't check .mbss lma. - * ld-sh/sh64/mix1.xd: Update for changed .bss file offset. - * ld-sh/sh64/shdl32.xd: Likewise. - * ld-sh/sh64/shdl64.xd: Likewise. - -2004-09-17 Paul Brook <paul@codesourcery.com> - - * ld-arm/arm-target1-{abs,rel}.d}: New files. - * ld-arm/arm-target1.s: New file. - * ld-arm/arm-target2-{,got-}rel.d: New files. - * ld-arm/arm-target2.s: New file. - * ld-arm/arm-rel31.d: New files. - * ld-arm/arm-rel31.s: New files. - * ld-arm/arm.ld: New file. - * ld-arm/arm-elf.exp: Add new tests. - -2004-09-07 Hans-Peter Nilsson <hp@axis.com> - - * ld-cris/hiddef1.d, ld-cris/hiddef1.s, ld-cris/hidrefgotplt1.s: - New test. - -2004-09-03 Tomer Levi <Tomer.Levi@nsc.com> - - * ld-crx: New directory. - * ld-crx/crx.exp: New test script. - * ld-crx/crx.ld: New linker script. - * ld-crx/reloc-abs32.s: New file. - * ld-crx/reloc-abs32.d: Likewise. - * ld-crx/reloc-imm16.s: Likewise. - * ld-crx/reloc-imm16.d: Likewise. - * ld-crx/reloc-imm32.s: Likewise. - * ld-crx/reloc-imm32.d: Likewise. - * ld-crx/reloc-num8.s: Likewise. - * ld-crx/reloc-num8.d: Likewise. - * ld-crx/reloc-num16.s: Likewise. - * ld-crx/reloc-num16.d: Likewise. - * ld-crx/reloc-num32.s: Likewise. - * ld-crx/reloc-num32.d: Likewise. - * ld-crx/reloc-regrel12.s: Likewise. - * ld-crx/reloc-regrel12.d: Likewise. - * ld-crx/reloc-regrel22.s: Likewise. - * ld-crx/reloc-regrel22.d: Likewise. - * ld-crx/reloc-regrel28.s: Likewise. - * ld-crx/reloc-regrel28.d: Likewise. - * ld-crx/reloc-regrel32.s: Likewise. - * ld-crx/reloc-regrel32.d: Likewise. - * ld-crx/reloc-rel4.s: Likewise. - * ld-crx/reloc-rel4.d: Likewise. - * ld-crx/reloc-rel8.s: Likewise. - * ld-crx/reloc-rel8.d: Likewise. - * ld-crx/reloc-rel8-cmp.s: Likewise. - * ld-crx/reloc-rel8-cmp.d: Likewise. - * ld-crx/reloc-rel16.s: Likewise. - * ld-crx/reloc-rel16.d: Likewise. - * ld-crx/reloc-rel24.s: Likewise. - * ld-crx/reloc-rel24.d: Likewise. - * ld-crx/reloc-rel32.s: Likewise. - * ld-crx/reloc-rel32.d: Likewise. - -2004-08-21 Hans-Peter Nilsson <hp@axis.com> - - * ld-cris/expdyn1.d, ld-cris/expdyn5.d, ld-cris/expdyn6.d, - ld-cris/expdyn7.d, ld-cris/gotplt2.d, ld-cris/gotplt3.d, - ld-cris/libdso-1.d, ld-cris/libdso-2.d, ld-cris/locref1.d, - ld-cris/nodyn4.d, ld-cris/nodyn5.d: Adjust for reordered - sections. - -2004-08-17 Alan Modra <amodra@bigpond.net.au> - - * ld-elfvsb/elfvsb.exp: Cope with ppc64 dot symbols. - -2004-08-17 Alan Modra <amodra@bigpond.net.au> - - * ld-scripts/cross1.t: Remove .opd section spec. - -2004-08-01 Stephane Carrez <stcarrez@nerim.fr> - - * ld-undefined/undefined.exp: The undefine tests now work on - 68HC11 and 68HC12. - -2004-07-29 Kaz Kojima <kkojima@rr.iij4u.or.jp> - - * ld-sh/sh64/crange3-cmpct.rd: Update. - * ld-sh/sh64/crange3-media.rd: Update. - -2004-07-27 Nitin Yewale <nitiny@kpitcummins.com> - - * ld-h8300/h8300.exp: Addition of new test case to check - relaxation for H8S target. - * ld-h8300/relax-6.s: New test source file. - * ld-h8300/relax-6.d: New test expected disassembly file. - * ld-h8300/relax-6-coff.d: New test expected disassembly file for - coff format. - -2004-07-22 Nick Clifton <nickc@redhat.com> - - PR/280 - * ld-h8300/relax-3-coff.d: Remove duplicated raw insn values. - * ld-h8300/relax-3.d: Likewise. - * ld-h8300/relax-4-coff.d: Likewise. - * ld-h8300/relax-4.d: Likewise. - * ld-h8300/relax-5-coff.d: Likewise. - * ld-h8300/relax.d: Likewise. - -2004-07-22 H.J. Lu <hongjiu.lu@intel.com> - - * ld-scripts/crossref.exp: XFAIL ia64-*-* on the first test. - -2004-07-13 Nitin Yewale <nitiny@kpitcummins.com> - - * ld-h8300/h8300.exp: Addition of gcsection test case. - * ld-h8300/gcsection.s: New test source file. - * ld-h8300/gcsection.d: New test expected disassembly file. - -2004-07-08 Maciej W. Rozycki <macro@linux-mips.org> - - * ld-mips-elf/reloc-merge-lo16.{s,d,ld}: New test. - * ld-mips-elf/mips-elf.exp: Run it. - -2004-07-02 Kaz Kojima <kkojima@rr.iij4u.or.jp> - - * ld-elf/frame.exp: Don't run on sh*-*-elf*. - * ld-sh/shared-1.d: Adjust for section reordering changes. - * ld-sh/shared-2.d: Likewise. - * ld-sh/tlsbin-2.d: Likewise. - * ld-sh/tlspic-2.d: Likewise. - * ld-sh/sh64/abi32.xd: Likewise. - * ld-sh/sh64/abi64.xd: Likewise. - * ld-sh/sh64/cmpct1.xd: Likewise. - * ld-sh/sh64/crange1.rd: Likewise. - * ld-sh/sh64/crange2.rd: Likewise. - * ld-sh/sh64/crange3-cmpct.rd: Likewise. - * ld-sh/sh64/crange3-media.rd: Likewise. - * ld-sh/sh64/crange3.rd: Likewise. - * ld-sh/sh64/gotplt.d: Likewise. - * ld-sh/sh64/init-cmpct.d: Likewise. - * ld-sh/sh64/init-media.d: Likewise. - * ld-sh/sh64/init64.d: Likewise. - * ld-sh/sh64/mix1.xd: Likewise. - * ld-sh/sh64/mix2.xd: Likewise. - * ld-sh/sh64/shdl32.xd: Likewise. - * ld-sh/sh64/shdl64.xd: Likewise. - -2004-07-02 Alan Modra <amodra@bigpond.net.au> - - * ld-discard/static.d: Accept both original sym and section sym. - -2004-07-01 Jakub Jelinek <jakub@redhat.com> - - * ld-sparc/tlssunpic32.rd: Adjust for section reordering changes - and removal of unneeded STT_SECTION symbols from .dynsym. - * ld-sparc/tlssunbin32.rd: Likewise. - * ld-sparc/tlssunpic32.dd: Likewise. - * ld-sparc/tlssunpic32.sd: Likewise. - * ld-sparc/tlssunbin32.dd: Likewise. - * ld-sparc/tlssunbin32.sd: Likewise. - * ld-sparc/tlssunbin32.td: Likewise. - -2004-07-01 Alan Modra <amodra@bigpond.net.au> - - * ld-discard/extern.d: Update. - * ld-discard/start.d: Update. - * ld-discard/static.d: Update. - -2004-06-30 H.J. Lu <hongjiu.lu@intel.com> - - PR 233 - * ld-discard/extern.d: Updated. - * ld-discard/start.d: Likewise. - * ld-discard/static.d: Likewise. - -2004-06-29 J"orn Rennecke <joern.rennecke@superh.com> - - Actually add these files: - 2004-05-28 Andrew Stubbs <andrew.stubbs@superh.com> - * ld-sh/arch/arch.exp: New test script. - * ld-sh/arch/arch_expected.txt: New file. - * ld-sh/arch/sh.s: New file. - * ld-sh/arch/sh2.s: New file. - * ld-sh/arch/sh-dsp.s: New file. - * ld-sh/arch/sh2e.s: New file. - * ld-sh/arch/sh3-nommu.s: New file. - * ld-sh/arch/sh3.s: New file. - * ld-sh/arch/sh3-dsp.s: New file. - * ld-sh/arch/sh3e.s: New file. - * ld-sh/arch/sh4-nommu-nofpu.s: New file. - * ld-sh/arch/sh4-nofpu.s: New file. - * ld-sh/arch/sh4.s: New file. - * ld-sh/arch/sh4a-nofpu.s: New file. - * ld-sh/arch/sh4al-dsp.s: New file. - * ld-sh/arch/sh4a.s: New file. - -2004-06-29 Alan Modra <amodra@bigpond.net.au> - - * ld-elf/frame.exp: Don't run on mcore. - -2004-06-26 Alan Modra <amodra@bigpond.net.au> - - * ld-bootstrap/bootstrap.exp: Handle timestamps in more pe targets. - -2004-06-24 H.J. Lu <hongjiu.lu@intel.com> - - * ld-elfvers/vers.exp: Use PIC for shared libraries by default. - -2004-06-21 Alexandre Oliva <aoliva@redhat.com> - - * ld-frv/fdpic-pie-1.d: Adjust for pie-specific link script. - * ld-frv/fdpic-pie-2.d: Likewise. - * ld-frv/fdpic-pie-6.d: Likewise. - * ld-frv/fdpic-pie-7.d: Likewise. - * ld-frv/fdpic-pie-8.d: Likewise. - * ld-frv/fdpic-shared-1.d: Likewise. - * ld-frv/fdpic-shared-2.d: Likewise. - * ld-frv/fdpic-shared-3.d: Likewise. - * ld-frv/fdpic-shared-4.d: Likewise. - * ld-frv/fdpic-shared-5.d: Likewise. - * ld-frv/fdpic-shared-6.d: Likewise. - * ld-frv/fdpic-shared-7.d: Likewise. - * ld-frv/fdpic-shared-8.d: Likewise. - * ld-frv/fdpic-shared-local-2.d: Likewise. - * ld-frv/fdpic-shared-local-8.d: Likewise. - -2004-06-21 Nick Clifton <nickc@redhat.com> - - * ld-elf/frame.exp: Handle ports which do not support the --shared - linker switch. - -2004-06-18 Jan Beulich <jbeulich@novell.com> - - * ld-elfvsb/main.c: Ensure visibility_def and visibility_func are - actually referenced (gcc 3.4 eliminates comparisons of addresses - of global symbols with NULL). - * ld-selective/selective.exp: Suppress -fvtable-gc tests for gcc - 3.4.0 and above, as this option and its functionality is no longer - supported, making these tests fail). - -2004-05-28 Andrew Stubbs <andrew.stubbs@superh.com> - - * ld-sh/arch/arch.exp: New test script. - * ld-sh/arch/arch_expected.txt: New file. - * ld-sh/arch/sh.s: New file. - * ld-sh/arch/sh2.s: New file. - * ld-sh/arch/sh-dsp.s: New file. - * ld-sh/arch/sh2e.s: New file. - * ld-sh/arch/sh3-nommu.s: New file. - * ld-sh/arch/sh3.s: New file. - * ld-sh/arch/sh3-dsp.s: New file. - * ld-sh/arch/sh3e.s: New file. - * ld-sh/arch/sh4-nommu-nofpu.s: New file. - * ld-sh/arch/sh4-nofpu.s: New file. - * ld-sh/arch/sh4.s: New file. - * ld-sh/arch/sh4a-nofpu.s: New file. - * ld-sh/arch/sh4al-dsp.s: New file. - * ld-sh/arch/sh4a.s: New file. - -2004-05-18 Nick Clifton <nickc@redhat.com> - - * ld-elf/frame.s: Replace @ with % so that the file can be - compiled by an ARM targeted GAS. - * ld-elf/table.s: Likewise. - * ld-elf/tbss.s: Likewise. Also replace .align <foo> with - .p2align (log2 <foo>) to cope with the fact that the ARM .align - directive takes a power-of-two argument. - -2004-05-17 H.J. Lu <hongjiu.lu@intel.com> - - * ld-elf/frame.exp: New file. Test read-only .eh_frame and - .gcc_except_table sections. - * ld-elf/frame.s: Likewise. - * ld-elf/table.s: Likewise. - * ld-elf/tbss.s: Likewise. - -2004-05-12 Kaz Kojima <kkojima@rr.iij4u.or.jp> - - * ld-sh/tlsbin-2.d: Adjust for section reordering changes - and removal of unneeded STT_SECTION symbols from .dynsym. - * ld-sh/tlsbin-3.d: Likewise. - * ld-sh/tlspic-2.d: Likewise. - -2004-05-12 Ben Elliston <bje@au.ibm.com> - - * ld-sh/sh64/relax.exp: Remove stray semicolons. - * ld-sh/sh64/relfail.exp: Likewise. - * lib/ld-lib.exp: Likewise. - -2004-05-11 Jakub Jelinek <jakub@redhat.com> - - * ld-i386/tlspic.rd: Adjust for section reordering changes - and removal of unneeded STT_SECTION symbols from .dynsym. - * ld-i386/tlspic.dd: Likewise. - * ld-i386/tlspic.sd: Likewise. - * ld-i386/tlsbin.rd: Likewise. - * ld-i386/tlsbinpic.s: Likewise. - * ld-i386/tlsbin.dd: Likewise. - * ld-i386/tlsbin.sd: Likewise. - * ld-i386/tlsnopic.rd: Likewise. - * ld-i386/tlsnopic1.s: Likewise. - * ld-i386/combreloc.d: Likewise. - * ld-i386/tlsnopic.dd: Likewise. - * ld-i386/tlsnopic.sd: Likewise. - * ld-x86-64/tlspic.rd: Likewise. - * ld-x86-64/tlspic.dd: Likewise. - * ld-x86-64/tlsbin.dd: Likewise. - * ld-x86-64/tlspic.sd: Likewise. - * ld-x86-64/tlsbin.sd: Likewise. - * ld-x86-64/tlspic.td: Likewise. - * ld-x86-64/tlsbin.td: Likewise. - * ld-x86-64/tlsbin.rd: Likewise. - * ld-s390/tlspic1.s: Likewise. - * ld-s390/tlsbinpic.s: Likewise. - * ld-s390/tlspic.rd: Likewise. - * ld-s390/tlsbin.rd: Likewise. - * ld-s390/tlspic.dd: Likewise. - * ld-s390/tlsbin.dd: Likewise. - * ld-s390/tlsbin.sd: Likewise. - * ld-s390/tlsbin.td: Likewise. - * ld-s390/tlspic.sd: Likewise. - * ld-s390/tlspic.td: Likewise. - * ld-s390/tlspic1_64.s: Likewise. - * ld-s390/tlsbinpic_64.s: Likewise. - * ld-s390/tlspic_64.rd: Likewise. - * ld-s390/tlsbin_64.rd: Likewise. - * ld-s390/tlspic_64.dd: Likewise. - * ld-s390/tlsbin_64.dd: Likewise. - * ld-s390/tlspic_64.sd: Likewise. - * ld-s390/tlspic_64.td: Likewise. - * ld-s390/tlsbin_64.td: Likewise. - * ld-s390/tlsbin_64.sd: Likewise. - * ld-powerpc/tlsexe32.r: Likewise. - * ld-powerpc/tlsso32.r: Likewise. - * ld-powerpc/tlsso32.d: Likewise. - * ld-powerpc/tlsso32.g: Likewise. - * ld-powerpc/tlsso32.t: Likewise. - * ld-powerpc/tlsexe.r: Likewise. - * ld-powerpc/tlsso.r: Likewise. - * ld-powerpc/tlsso.g: Likewise. - * ld-powerpc/tlsexetoc.r: Likewise. - * ld-powerpc/tlstocso.r: Likewise. - * ld-powerpc/tlstocso.g: Likewise. - * ld-ia64/tlspic.rd: Likewise. - * ld-ia64/tlspic.dd: Likewise. - * ld-ia64/tlspic.sd: Likewise. - * ld-ia64/tlspic.td: Likewise. - * ld-ia64/tlsbin.rd: Likewise. - * ld-ia64/tlsbin.sd: Likewise. - * ld-ia64/tlsbin.td: Likewise. - * ld-elfvsb/elfvsb.exp: XFAIL non-PIC load offset tests on s390x. - * ld-shared/shared.exp: Likewise. - -2004-05-10 John Paul Wallington <jpw@gnu.org> - - * ld-mmix/bspec2.d: Update sh_info to decimal. - * ld-mmix/local1.d: Likewise. - * ld-mmix/local3.d: Likewise. - * ld-mmix/local5.d: Likewise. - * ld-mmix/local7.d: Likewise. - -2004-05-05 Alexandre Oliva <aoliva@redhat.com> - - * ld-frv/fdpic.exp: Restore $LDFLAGS at the end. - * ld-frv/fr450-link.d: Match fdpic as well. - -2004-05-05 Kaz Kojima <kkojima@rr.iij4u.or.jp> - - * ld-sh/sh64/crange1.rd: Update sh_info to decimal. - * ld-sh/sh64/crange2.rd: Likewise. - * ld-sh/sh64/crange3.rd: Likewise. - * ld-sh/sh64/crange3-cmpct.rd: Likewise. - * ld-sh/sh64/crange3-media.rd: Likewise. - * ld-sh/sh64/crangerel1.rd: Likewise. - * ld-sh/sh64/crangerel2.rd: Likewise. - -2004-05-05 Alan Modra <amodra@bigpond.net.au> - - * ld-powerpc/tlsexe.r: Update sh_info to decimal. - * ld-powerpc/tlsexe32.r: Likewise. - * ld-powerpc/tlsexetoc.r: Likewise. - * ld-powerpc/tlsso.r: Likewise. - * ld-powerpc/tlsso32.r: Likewise. - * ld-powerpc/tlstocso.r: Likewise. - -2004-04-24 Chris Demetriou <cgd@broadcom.com> - - * ld-elf/merge.d: XFAIL on all MIPS targets. - -2004-04-24 Alan Modra <amodra@bigpond.net.au> - - * ld-powerpc/tlsexe32.d: Update. - * ld-powerpc/tlsso32.d: Update. - -2004-04-23 Chris Demetriou <cgd@broadcom.com> - - * ld-mips-elf/reloc-3-r.d: Remove, as part of MIPS -membedded-pic - removal. - * ld-mips-elf/reloc-3-srec.d: Likewise. - * ld-mips-elf/reloc-3.ld: Likewise. - * ld-mips-elf/reloc-3a.s: Likewise. - * ld-mips-elf/reloc-3b.s: Likewise. - * ld-mips-elf/mips-elf.exp: Don't run now-removed tests. - -2004-04-22 Kaz Kojima <kkojima@rr.iij4u.or.jp> - - * ld-sh/tlsbin-1.d: Update - * ld-sh/tlspic-1.d: Update. - -2004-04-22 H.J. Lu <hongjiu.lu@intel.com> - - * ld-i386/tlspic.dd: Updated. - -2004-04-21 Chris Demetriou <cgd@broadcom.com> - - * ld-empic/run.c: Removed as part of MIPS --embedded-relocs removal. - * ld-empic/empic.exp: Likewise. - * ld-empic/relax.t: Likewise. - * ld-empic/relax1.c: Likewise. - * ld-empic/relax2.c: Likewise. - * ld-empic/relax3.c: Likewise. - * ld-empic/relax4.c: Likewise. - * ld-empic/runtest1.c: Likewise. - * ld-empic/runtest2.c: Likewise. - * ld-empic/runtesti.s: Likewise. - * ld-mips-elf/empic1-ln.d: Likewise. - * ld-mips-elf/empic1-lp.d: Likewise. - * ld-mips-elf/empic1-mn.d: Likewise. - * ld-mips-elf/empic1-mp.d: Likewise. - * ld-mips-elf/empic1-ref.s: Likewise. - * ld-mips-elf/empic1-sn.d: Likewise. - * ld-mips-elf/empic1-sp.d: Likewise. - * ld-mips-elf/empic1-space.s: Likewise. - * ld-mips-elf/empic1-tgt.s: Likewise. - * ld-mips-elf/empic2-fwd-0.d: Likewise. - * ld-mips-elf/empic2-fwd-1.d: Likewise. - * ld-mips-elf/empic2-fwd-tgt.s: Likewise. - * ld-mips-elf/empic2-ref.s: Likewise. - * ld-mips-elf/empic2-rev-0.d: Likewise. - * ld-mips-elf/empic2-rev-1.d: Likewise. - * ld-mips-elf/empic2-rev-tgt.s: Likewise. - * ld-mips-elf/empic2-space.s: Likewise. - * ld-mips-elf/emrelocs-eb.d: Likewise. - * ld-mips-elf/emrelocs-el.d: Likewise. - * ld-mips-elf/emrelocs.ld: Likewise. - * ld-mips-elf/emrelocs1.s: Likewise. - * ld-mips-elf/emrelocs2.s: Likewise. - * ld-mips-elf/mips-elf.exp: Don't run now-removed tests. - -2004-04-20 H.J. Lu <hongjiu.lu@intel.com> - - * ld-elfweak/elfweak.exp: Add an undefined weak size change - test. - - * ld-elfweak/size.dat: New file. - * ld-elfweak/size_bar.c: Likewise. - * ld-elfweak/size_foo.c: Likewise. - * ld-elfweak/size_main.c: Likewise. - -2004-04-14 Brian Ford <ford@vss.fsi.com> - DJ Delorie <dj@redhat.com> - - * ld-pe/pe.exp: New, tests for i?86 PE. - * ld-pe/secrel1.s: New, test R_SECREL32 reloc. - * ld-pe/secrel2.s: Likewise. - * ld-pe/secrel.d: Likewise. - -2004-04-19 Jakub Jelinek <jakub@redhat.com> - - * ld-elfvsb/elfvsb.exp: XFAIL some tests on sparc64. - * ld-shared/shared.exp: Likewise. - -2004-04-14 H.J. Lu <hongjiu.lu@intel.com> - - * ld-scripts/assert.s: Add a newline. - * ld-scripts/data.s: Likewise. - -2004-04-08 Alan Modra <amodra@bigpond.net.au> - - PR 47. - * ld-cdtest/cdtest.exp: Remove -fgnu-linker. - -2004-04-08 Alan Modra <amodra@bigpond.net.au> - - * ld-scripts/align.exp: Don't run on aix. - * ld-scripts/assert.s: Remove comment. - * ld-scripts/data.s: Likewise. - * ld-scripts/data.t: Set start address to allow for aout headers. - Make first LONG pc-relative. - * ld-scripts/data.d: Update. - * ld-scripts/defined2.d: Allow other random syms. - * ld-scripts/defined3.d: Likewise. - * ld-scripts/provide-1.s: Pad section. - * ld-scripts/provide-1.t: Set .data address and align. - * ld-scripts/provide-1.d: Update. - * ld-scripts/provide-2.s: Pad section. - * ld-scripts/provide-2.d: Allow random trailing syms. - * ld-scripts/provide-3.s: Pad section. - * ld-scripts/provide-3.d: Fix typos. - * ld-scripts/provide.exp: Don't run on aix. - * ld-scripts/size-1.s: Simplify test. - * ld-scripts/size-1.t: Rewrite. - * ld-scripts/size-1.d: Update. - * ld-scripts/size-2.s: Simplify. - * ld-scripts/size-2.t: Set start address. Set exe flag on image. - * ld-scripts/size-2.d: Update. - * ld-scripts/size.exp: Don't run on aix. Run size-2 on all elf - targets except mips. - -2004-03-27 Alexandre Oliva <aoliva@redhat.com> - - * ld-frv/fdpic*.d: Adjust to compensate for page size change. - -2004-03-26 Alan Modra <amodra@bigpond.net.au> - - * ld-powerpc/tlsexe.r: Update for changed sym type. - * ld-powerpc/tlsexetoc.r: Likewise. - -2004-03-22 Hans-Peter Nilsson <hp@axis.com> - - * ld-cris/dsofnf.s, ld-cris/dsofnf2.s, ld-cris/gotplt1.d, - ld-cris/gotplt2.d, ld-cris/gotplt3.d: New tests. - -2004-03-19 H.J. Lu <hongjiu.lu@intel.com> - - * ld-elfvers/vers.exp: Add new tests for versioned weak - definition. - - * ld-elfvers/vers28a.c: New file. - * ld-elfvers/vers28a.dsym: Likewise. - * ld-elfvers/vers28a.ver: Likewise. - * ld-elfvers/vers28b.c: Likewise. - * ld-elfvers/vers28b.dsym: Likewise. - * ld-elfvers/vers28b.map: Likewise. - * ld-elfvers/vers28b.ver: Likewise. - * ld-elfvers/vers28c.c: Likewise. - * ld-elfvers/vers28c.dsym: Likewise. - * ld-elfvers/vers28c.ver: Likewise. - -2004-03-19 Alan Modra <amodra@bigpond.net.au> - - * ld-scripts/provide-2.d: Ignore random symbols. - -2004-03-16 Alan Modra <amodra@bigpond.net.au> - - * ld-powerpc/tls.d: Update. - * ld-powerpc/tls32.d: Update. - * ld-powerpc/tlsexe.d: Update. - * ld-powerpc/tlsexe32.d: Update. - * ld-powerpc/tlsexetoc.d: Update. - * ld-powerpc/tlsso.d: Update. - * ld-powerpc/tlsso32.d: Update. - * ld-powerpc/tlstoc.d: Update. - * ld-powerpc/tlstocso.d: Update. - -2004-03-05 Nathan Sidwell <nathan@codesourcery.com> - - * ld-scripts/size-1.d: Add bigendian regexps. - * ld-scripts/size-2.d: Set --wide for readelf. - - * ld-scripts/size.exp: New. - * ld-scripts/size-[12].{d,s,t}: New. - -2004-03-01 Richard Sandiford <rsandifo@redhat.com> - - * ld-frv/fr450-link[abc].s, fr450-link.d: New test. - * ld-frv/frv.exp: New harness. - -2004-02-24 Alexandre Oliva <aoliva@redhat.com> - - * ld-frv/fdpic-pie-2.d: Adjust for decay of FUNCDESC relocs that - bind locally. - * ld-frv/fdpic-pie-8.d: Likewise. - * ld-frv/fdpic-shared-4.d: Likewise. - * ld-frv/fdpic-pie-6-fail.d: Renamed from... - * ld-frv/fdpic-pie-6.d: New test. - * ld-frv/fdpic-shared-6-fail.d: Renamed from... - * ld-frv/fdpic-shared-6.d: New test. - * ld-frv/fdpic6.ldv: New. - * ld-frv/fdpic-static-6.d: Adjust test name. - * ld-frv/fdpic-pie-8-fail.d: Removed. - * ld-frv/fdpic.exp: Run new tests. - -2004-02-23 Nathan Sidwell <nathan@codesourcery.com> - - * ld-scripts/provide.exp: New. - * ld-scripts/provide-{1,2,3}.{s,t,d}.exp: New. - -2004-02-23 Alan Modra <amodra@bigpond.net.au> - - * ld-scripts/data.t: Set ".other" address so location doesn't - depend on target alignment. - * ld-scripts/data.d: Update. - -2004-02-20 Nathan Sidwell <nathan@codesourcery.com> - - * ld-scripts/align.{s,t,exp}: New. - -2004-02-19 Nathan Sidwell <nathan@codesourcery.com> - - * ld-scripts/data.{s,t,d,exp}: New. - -2004-02-18 Nathan Sidwell <nathan@codesourcery.com> - - * ld-scripts/assert.{s,t,exp}: New. - -2004-02-17 Richard Sandiford <rsandifo@redhat.com> - - * ld-mips/elf/elf-rel-xgot-{n32,n64-linux}.d: Update after 2004-02-02 - changes to the way large constants are added. - * ld-mips/elf/elf-rel-got-{n32,n64-linux}.d: Likewise. Adjust order - of GOT entries after today's change to the handling of GOT_PAGE - relocations. - -2004-02-09 Anil Paranjpe <anilp1@KPITCummins.com> - - * ld-h8300/relax-5.s: New file: Source for relax-5 test. - * ld-h8300/relax-5.d: New file: Expected output and commands for - assembling and linking the relax-5 test. - * ld-h8300/relax-5-coff.d: New file: Variant for the COFF based - toolchain. - * ld-h8300/h8300-exp: Run the relax-5 test. - -2004-01-23 Daniel Jacobowitz <drow@mvista.com> - - * ld-arm/arm-app-abs32.s, ld-arm/arm-app-abs32.r, - ld-arm/arm-app-abs32.d: New files. - * ld-arm/arm-elf.exp: Add arm-app-abs32 testcase. - -2004-01-19 Alan Modra <amodra@bigpond.net.au> - - * ld-i386/tlsbin.dd: Adjust for changed sib printing. - -2004-01-13 Daniel Jacobowitz <drow@mvista.com> - - * ld-arm/arm-elf.exp: Add arm-static-app test. - * ld-arm/arm-static-app.s, ld-arm/arm-static-app.d, - ld-arm/arm-static-app.r: New files. - -2004-01-12 Anil Paranjpe <anilp1@KPITCummins.com> - - * ld-h8300/h8300-exp: Run the relax-4 test. - * ld-h8300/relax-4.s: New file: Source for relax-4 test. - * ld-h8300/relax-4.d: New file: Expected output and commands for - assembling and linking the relax-4 test. - * ld-h8300/relax-4-coff.d: New file: Variant for the COFF based - toolchain. - -2004-01-09 H.J. Lu <hongjiu.lu@intel.com> - - * ld-selective/selective.exp: Skip ia64-*-*. - -2004-01-09 Daniel Jacobowitz <drow@mvista.com> - - * ld-arm/arm-lib.d, ld-arm/arm-lib.r: Update for R_ARM_PLT32 - changes. - -2004-01-06 Daniel Jacobowitz <drow@mvista.com> - - * ld-arm/arm-app.d, ld-arm/arm-app.r, ld-arm/arm-app.s, - ld-arm/arm-lib.d, ld-arm/arm-lib.r, ld-arm/arm-lib.s, - ld-arm/arm-lib-plt32.d, ld-arm/arm-lib-plt32.r, - ld-arm/arm-lib-plt32.s, ld-arm/arm-elf.exp: New files. - -2004-01-06 Alexandre Oliva <aoliva@redhat.com> - - * ld-frv: Update .d files with correct addresses displayed for - dynamic relocations. - 2003-12-02 Alexandre Oliva <aoliva@redhat.com> - * ld-frv/fdpic1.s (.D0): Move to separate data section. - 2003-11-28 Alexandre Oliva <aoliva@redhat.com> - * ld-frv/fdpic-static-1.d, ld-frv/fdpic-static-2.d, - * ld-frv/fdpic-static-7.d, ld-frv/fdpic-static-8.d: Update to - reflect EMBEDDED= change in linker script. - 2003-11-27 Alexandre Oliva <aoliva@redhat.com> - * ld-frv: Update .d files to reflect changes in the page size, the - addition of a stack segment, the use of a NULL function descriptor - for weakundef functions and the change in the lazy funcdesc_value - in-place addend value. - 2003-11-05 Alexandre Oliva <aoliva@redhat.com> - * lib/ld-lib.exp (is_elf_format): Match frv-uclinux. - 2003-10-06 Alexandre Oliva <aoliva@redhat.com> - * ld-frv/fdpic-static-1.d, ld-frv/fdpic-static-2.d, - ld-frv/fdpic-static-7.d, ld-frv/fdpic-static-8.d: Addresses are - now _gp-based, not \.rofixup-based. - * ld-frv/fdpic-static-6.d: Likewise. Match warning about - relocation to different section. - 2003-09-30 Alexandre Oliva <aoliva@redhat.com> - * ld-frv/fdpic.exp: Add -melf32frvfd to LDFLAGS. - 2003-09-19 Alexandre Oliva <aoliva@redhat.com> - * ld-frv/fdpic7.s, ld-frv/fdpic-static-7.d, ld-frv/fdpic-pie-7.d, - ld-frv/fdpic-shared-7.d: New. - * ld-frv/fdpic8.s, ld-frv/fdpic-static-8.d, ld-frv/fdpic-pie-8.d, - ld-frv/fdpic-shared-8.d: New. - * ld-frv/fdpic-pie-8-fail.d, ld-frv/fdpic-shared-8-fail.d: New. - * ld-frv/fdpic.exp: Run them. - * ld-frv/fdpic8.ldv, ld-frv/fdpic8min.ldv: New. - 2003-09-18 Alexandre Oliva <aoliva@redhat.com> - * ld-frv/fdpic5.s, ld-frv/fdpic-static-5.d, ld-frv/fdpic-pie-5.d, - ld-frv/fdpic-shared-5.d: New. - * ld-frv/fdpic6.s, ld-frv/fdpic-static-6.d, ld-frv/fdpic-pie-6.d, - ld-frv/fdpic-shared-6.d: New. - * ld-frv/fdpic.exp: Run them. - * ld-frv/fdpic*.d: Add -mfdpic to assembler flags. Updated. - * ld-frv/fdpic2min.ldv: New, used by fdpic-shared-2.d. - * ld-frv/fdpic-shared-2-fail.d: New. - * ld-frv/fdpic.exp: Run it. - * ld-frv/fdpic4.s, ld-frv/fdpic-shared-4.d: New. - * ld-frv/fdpic.exp: Add new test. - * ld-frv/fdpic-pie-2.d: Remove unnecessary function descriptors. - * ld-frv/fdpic-shared-local-2.d, ld-frv/fdpic2.ldv: New. - * ld-frv/fdpic3.s, ld-frv/fdpic-shared-3.d: New. - * ld-frv/fdpic.exp: Add new tests. - * ld-frv/fdpic.exp, ld-frv/fdpic1.s, ld-frv/fdpic2.s, - * ld-frv/fdpic-static-1.d, ld-frv/fdpic-static-2.d, - * ld-frv/fdpic-pie-1.d, ld-frv/fdpic-pie-2.d, - * ld-frv/fdpic-shared-1.d, ld-frv/fdpic-shared-2.d: Renamed from - ucpic. - 2003-09-15 Alexandre Oliva <aoliva@redhat.com> - * ld-frv/ucpic.exp, ld-frv/ucpic1.s, ld-frv/ucpic2.s: New. - * ld-frv/ucpic-static-1.d, ld-frv/ucpic-static-2.d: New. - * ld-frv/ucpic-pie-1.d, ld-frv/ucpic-pie-2.d: New. - * ld-frv/ucpic-shared-1.d, ld-frv/ucpic-shared-2.d: New. - -2004-01-02 Alan Modra <amodra@bigpond.net.au> - - * ld-selective/sel-dump.exp: Use is_elf_format, xfail assorted targets. - * ld-selective/selective.exp: Likewise. - -For older changes see ChangeLog-9303 +For older changes see ChangeLog-2005 Local Variables: mode: change-log diff --git a/ld/testsuite/ChangeLog-2004 b/ld/testsuite/ChangeLog-2004 new file mode 100644 index 0000000..cc63b7e --- /dev/null +++ b/ld/testsuite/ChangeLog-2004 @@ -0,0 +1,1085 @@ +2004-12-21 Tomer Levi <Tomer.Levi@nsc.com> + + * ld-crx/reloc-abs32.d: Update reference file according + to disassembler printing method. + * ld-crx/reloc-rel16.d: Likewise. + * ld-crx/reloc-rel24.d: Likewise. + * ld-crx/reloc-rel32.d: Likewise. + * ld-crx/reloc-rel4.d: Likewise. + * ld-crx/reloc-rel8-cmp.d: Likewise. + * ld-crx/reloc-rel8.d: Likewise. + +2004-12-16 Richard Sandiford <rsandifo@redhat.com> + + * ld-v850: New directory. + +2004-12-14 Richard Sandiford <rsandifo@redhat.com> + + * ld-mips-elf/jal-overflow-2.[sd]: New test. + * ld-mips-elf/mips-elf.exp: Run it. + +2004-12-13 Richard Sandiford <rsandifo@redhat.com> + + * ld-mips-elf/mips-elf.exp: Only run jalbal if n32 is supported. + +2004-12-11 Alan Modra <amodra@bigpond.net.au> + + * ld-mmix/bpo-1.d: Update for changed section syms. + * ld-mmix/bpo-10.d: Likewise. + * ld-mmix/bpo-11.d: Likewise. + * ld-mmix/bpo-14.d: Likewise. + * ld-mmix/bpo-16.d: Likewise. + * ld-mmix/bpo-17.d: Likewise. + * ld-mmix/bpo-18.d: Likewise. + * ld-mmix/bpo-19.d: Likewise. + * ld-mmix/bpo-2.d: Likewise. + * ld-mmix/bpo-22.d: Likewise. + * ld-mmix/bpo-3.d: Likewise. + * ld-mmix/bpo-4.d: Likewise. + * ld-mmix/bpo-5.d: Likewise. + * ld-mmix/bpo-6.d: Likewise. + * ld-mmix/bpo-9.d: Likewise. + * ld-mmix/greg-1.d: Likewise. + * ld-mmix/greg-19.d: Likewise. + * ld-mmix/greg-2.d: Likewise. + * ld-mmix/greg-3.d: Likewise. + * ld-mmix/greg-4.d: Likewise. + * ld-mmix/greg-5.d: Likewise. + * ld-mmix/greg-5s.d: Likewise. + * ld-mmix/greg-6.d: Likewise. + * ld-mmix/greg-7.d: Likewise. + * ld-mmix/loc1.d: Likewise. + * ld-mmix/loc2.d: Likewise. + * ld-mmix/loc3.d: Likewise. + * ld-mmix/loc4.d: Likewise. + * ld-mmix/loc6.d: Likewise. + * ld-mmix/locdo-1.d: Likewise. + * ld-mmix/loct-1.d: Likewise. + * ld-mmix/locto-1.d: Likewise. + * ld-mmix/start-1.d: Likewise. + * ld-sh/sh64/abi32.xd: Likewise. + * ld-sh/sh64/abi64.xd: Likewise. + * ld-sh/sh64/cmpct1.xd: Likewise. + * ld-sh/sh64/mix1.xd: Likewise. + * ld-sh/sh64/mix2.xd: Likewise. + * ld-sh/sh64/rel32.xd: Likewise. + * ld-sh/sh64/rel64.xd: Likewise. + * ld-sh/sh64/shdl32.xd: Likewise. + * ld-sh/sh64/shdl64.xd: Likewise. + +2004-12-09 Ian Lance Taylor <ian@wasabisystems.com> + + * ld-mips-elf/jalbal.d: New test. + * ld-mips-elf/jalbal.s: New test. + * ld-mips-elf/mips-elf.exp: Run it. + +2004-12-08 Ian Lance Taylor <ian@wasabisystems.com> + + * ld-mips-elf/jaloverflow.d: New test. + * ld-mips-elf/jaloverflow.s: New test. + * ld-mips-elf/mips-elf.exp: Run it. + +2004-12-03 H.J. Lu <hongjiu.lu@intel.com> + + * ld-elf/group1.d: Support 64bit. + +2004-12-01 Paul Brook <paul@codesourcery.com> + + * ld-elf/group1.d: New test. + * ld-elf/group.ld, ld-elf/group1a.s, ld-elf/group1b.s: New test. + +2004-12-01 Daniel Jacobowitz <dan@codesourcery.com> + + * ld-selective/selective.exp: Use -print-libgcc-file-name for + ARM and v850 also. + +2004-11-24 Paul Brook <paul@codesourcery.com> + + * ld-arm/mixed-lib.sym: Update for THUMB_FUNC change. + +2004-11-19 Nick Clifton <nickc@redhat.com> + + * ld-scripts/script.exp: Add test of memory linker script. + Reorganise code to remove unnecessary indentation. + Fix target tests to avoid using --image-base with *-nto targets. + * ld-scripts/memory.t: New linker script to test the MEMORY + section and the ORIGIN and LENGTH operators. + +2004-11-17 Daniel Jacobowitz <dan@codesourcery.com> + + * ld-arm/mixed-app.d, ld-arm/mixed-app.r, ld-arm/mixed-app.s, + ld-arm/mixed-app.sym, ld-arm/mixed-lib.d, ld-arm/mixed-lib.r, + ld-arm/mixed-lib.s, ld-arm/mixed-lib.sym, ld-arm/arm-dyn.ld, + ld-arm/arm-lib.ld: New files. + * ld-arm/arm-app-abs32.d, ld-arm/arm-app-abs32.r, ld-arm/arm-app.d, + ld-arm/arm-app.r, ld-arm/arm-lib-plt32.d, ld-arm/arm-lib-plt32.r, + ld-arm/arm-lib.d, ld-arm/arm-lib.r, ld-arm/arm-static-app.d, + ld-arm/arm-static-app.r: Update for big-endian. + * ld-arm/arm-elf.exp: Run the new tests. + +2004-11-16 Richard Sandiford <rsandifo@redhat.com> + + * ld-mips-elf/eh-frame1.{s,ld}, + * ld-mips-elf/eh-frame1-{n32,n64},d: New test. + * ld-mips-elf/mips-elf.exp: Run it. + +2004-11-10 Alan Modra <amodra@bigpond.net.au> + + * ld-d10v/reloc-003.d: Update for changed error message. + * ld-d10v/reloc-004.d: Likewise. + * ld-d10v/reloc-007.d: Likewise. + * ld-d10v/reloc-008.d: Likewise. + * ld-d10v/reloc-011.d: Likewise. + * ld-d10v/reloc-012.d: Likewise. + * ld-d10v/reloc-015.d: Likewise. + * ld-d10v/reloc-016.d: Likewise. + +2004-11-08 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> + + * ld-scripts/weak.exp: Enable test on PE, XFAIL non-i386 PE. + * ld-undefined/weak-undef.exp: Enable test on PE, XFAIL non-i386 + PE. + * lib/ld-lib.exp (is_pecoff_format): New. + +2004-11-08 Inderpreet Singh <inderpreetb@nioda.hcltech.com> + Vineet Sharma <vineets@noida.hcltech.com> + + * ld-maxq: New directory. Contains tests for the new maxq port. + +2004-11-04 Hans-Peter Nilsson <hp@bitrange.com> + + * ld-elf/merge.d: xfail crisv32-*-*. + * ld-cris/dsov32-1.s, ld-cris/dsov32-2.s, ld-cris/dsov32-3.s, + ld-cris/dsov32-4.s, ld-cris/libdso-10.d, ld-cris/libdso-11.d, + ld-cris/libdso-12.d, ld-cris/libdso-13.d, ld-cris/libdso-14.d, + ld-cris/move-1.s, ld-cris/pv32-1.d, ld-cris/pv32.s, + ld-cris/start1.s, ld-cris/v10-v32.d, ld-cris/v10-va.d, + ld-cris/v32-ba-1.d, ld-cris/v32-ba-1.s, ld-cris/v32-bin-1.d, + ld-cris/v32-bin-1.s, ld-cris/v32-v10.d, ld-cris/v32-va.d, + ld-cris/va-v10.d, ld-cris/va-v32.d: New tests. + * ld-cris/ldsym1.d: Adjust for change in linker script. + +2004-11-02 Hans-Peter Nilsson <hp@axis.com> + + * ld-cris/expdyn1.d, ld-cris/expdyn5.d, ld-cris/expdyn6.d, + ld-cris/expdyn7.d, ld-cris/gotplt1.d, ld-cris/gotplt2.d, + ld-cris/gotplt3.d, ld-cris/hiddef1.d, ld-cris/libdso-2.d, + ld-cris/locref1.d, ld-cris/locref2.d, ld-cris/weakref2.d, + ld-i386/tlsbin.rd, ld-i386/tlsnopic.rd, ld-i386/tlspic.rd, + ld-ia64/tlsbin.dd, ld-ia64/tlsbin.rd, ld-ia64/tlspic.dd, + ld-ia64/tlspic.rd, ld-powerpc/tlsexe32.d, ld-powerpc/tlsexe32.g, + ld-powerpc/tlsexe32.r, ld-powerpc/tlsexe32.t, + ld-powerpc/tlsso32.d, ld-powerpc/tlsso32.g, ld-powerpc/tlsso32.r, + ld-powerpc/tlsso32.t, ld-s390/tlsbin.dd, ld-s390/tlsbin.rd, + ld-s390/tlspic.rd, ld-sparc/tlssunbin32.rd, + ld-sparc/tlssunpic32.rd, ld-x86-64/tlsbin.rd, ld-x86-64/tlspic.dd, + ld-x86-64/tlspic.rd: Adjust for _GLOBAL_OFFSET_TABLE_ now hidden. + +2004-10-26 Paul Brook <paul@codesourcery.com> + + * ld-elfvers/vers.exp (build_binary): Add ldargs parameter. + (build_vers_lib_pic_flags): New function. + Add vers29 test. + * ld-elfvers/vers29.c: New file. + * ld-elfvers/vers29.dsym: New file. + * ld-elfvers/vers29.ver: New file. + +2004-10-24 Hans-Peter Nilsson <hp@bitrange.com> + + * ld-mmix/sec-8m.d: Adjust test for dump using correct section + length. + * ld-mmix/sec-9.d: Renamed test, formerly known as sec-5.d. + * ld-mmix/sec-5.d, ld-mmix/b-offloc.s: Rewritten test. + + * ld-mmix/getaa-6b.d, ld-mmix/getaa-6f.d, ld-mmix/getaa14b.d, + ld-mmix/getaa14f.d, ld-mmix/jumpa-6b.d, ld-mmix/jumpa-6f.d, + ld-mmix/jumpa14b.d, ld-mmix/jumpa14f.d, ld-mmix/reg-1.d, + ld-mmix/reg-1m.d: Adjust for changed error message format. + +2004-10-19 H.J. Lu <hongjiu.lu@intel.com> + + * ld-elf/exclude.exp: Allow cris-*-elf. + + * ld-elf/exclude1.s: Add ".data". Remove "- include_sym". + * ld-elf/exclude2.s: Add ".data". + +2004-10-19 Hans-Peter Nilsson <hp@bitrange.com> + + * ld-elf/exclude.exp: Don't run for cris-*-elf. + +2004-10-16 Daniel Jacobowitz <dan@debian.org> + + * ld-elf/exclude1.s, ld-elf/exclude2.s, ld-elf/exclude.exp: New. + +2004-10-15 Alan Modra <amodra@bigpond.net.au> + + * ld-crx/reloc-num8.d: Adjust for changed orphan placement. + * ld-crx/reloc-num16.d: Likewise. + * ld-crx/reloc-num32.d: Likewise. + * ld-scripts/provide-2.t: Start .data at 0x2000. + * ld-scripts/provide-2.d: Adjust. + +2004-10-14 H.J. Lu <hongjiu.lu@intel.com> + + * ld-scripts/sort.exp: Run for ELF targets only. + +2004-10-14 Alan Modra <amodra@bigpond.net.au> + + * ld-scripts/overlay-size.d: Update for changed orphan section + placement. + * ld-mmix/bpo-18.d: Likewise. + +2004-10-07 Bob Wilson <bob.wilson@acm.org> + + * ld-xtensa/lcall1.s: Use .literal directive. + * ld-xtensa/lcall2.s: Align function entry. + * ld-xtensa/coalesce2.s: Likewise. + +2004-10-04 H.J. Lu <hongjiu.lu@intel.com> + + * ld-scripts/sort.exp: New file for section sorting tests. + * ld-scripts/sort_b_a.d: Likewise + * ld-scripts/sort_b_a.s: Likewise + * ld-scripts/sort_b_a.t: Likewise + * ld-scripts/sort_b_a_a-1.d: Likewise + * ld-scripts/sort_b_a_a-2.d: Likewise + * ld-scripts/sort_b_a_a-3.d: Likewise + * ld-scripts/sort_b_a_a.t: Likewise + * ld-scripts/sort_b_a_n-1.d: Likewise + * ld-scripts/sort_b_a_n-2.d: Likewise + * ld-scripts/sort_b_a_n-3.d: Likewise + * ld-scripts/sort_b_a_n.t: Likewise + * ld-scripts/sort_b_n.d: Likewise + * ld-scripts/sort_b_n.s: Likewise + * ld-scripts/sort_b_n.t: Likewise + * ld-scripts/sort_b_n_a-1.d: Likewise + * ld-scripts/sort_b_n_a-2.d: Likewise + * ld-scripts/sort_b_n_a-3.d: Likewise + * ld-scripts/sort_b_n_a.t: Likewise + * ld-scripts/sort_b_n_n-1.d: Likewise + * ld-scripts/sort_b_n_n-2.d: Likewise + * ld-scripts/sort_b_n_n-3.d: Likewise + * ld-scripts/sort_b_n_n.t: Likewise + * ld-scripts/sort_n_a-a.s: Likewise + * ld-scripts/sort_n_a-b.s: Likewise + * ld-scripts/sort_no-1.d: Likewise + * ld-scripts/sort_no-2.d: Likewise + * ld-scripts/sort_no.t: Likewise + +2004-10-01 H.J. Lu <hongjiu.lu@intel.com> + + * ld-powerpc/tls.s: Don't set tls type for undefined syms. + * ld-powerpc/tls32.s: Likewise. + * ld-powerpc/tlstoc.s: Likewise. + * ld-s390/tlsbin.s: Likewise. + * ld-s390/tlsbin_64.s: Likewise. + * ld-s390/tlsbinpic.s: Likewise. + * ld-s390/tlsbinpic_64.s: Likewise. + * ld-s390/tlspic1.s: Likewise. + * ld-s390/tlspic1_64.s: Likewise. + * ld-sparc/tlssunbin32.s: Likewise. + * ld-sparc/tlssunbinpic32.s: Likewise. + * ld-sparc/tlssunnopic32.s: Likewise. + * ld-sparc/tlssunpic32.s: Likewise. + +2004-10-01 Alan Modra <amodra@bigpond.net.au> + + * ld-s390/tlsbin.s: Set tls type for undefined syms. + * ld-s390/tlsbin_64.s: Likewise. + * ld-s390/tlsbinpic.s: Likewise. + * ld-s390/tlsbinpic_64.s: Likewise. + * ld-s390/tlspic1.s: Likewise. + * ld-s390/tlspic1_64.s: Likewise. + * ld-sparc/tlssunbin32.s: Likewise. + * ld-sparc/tlssunbinpic32.s: Likewise. + * ld-sparc/tlssunnopic32.s: Likewise. + * ld-sparc/tlssunpic32.s: Likewise. + +2004-10-01 Alan Modra <amodra@bigpond.net.au> + + * ld-sparc/tlssunbin32.sd: Adjust for changed .dynamic location. + +2004-10-01 Nick Clifton <nickc@redhat.com> + + PR 371 + * ld-undefined/undefined.exp: Remove redundant XPASS + specifications. + +2004-10-01 Alan Modra <amodra@bigpond.net.au> + + * ld-powerpc/tls.s (gd, ld): Set tls type for undefined syms. + * ld-powerpc/tls32.s (gd, ld): Likewise. + * ld-powerpc/tlstoc.s (gd, ld): Likewise. + * ld-powerpc/tlsso.r: Update. + * ld-powerpc/tlsso32.r: Update. + * ld-powerpc/tlstocso.r: Update. + +2004-09-30 Paul Brook <paul@codesourcery.com> + + * ld-arm/arm-elf.exp: Add test for --target2=abs. + * ld-arm/arm-target2-abs.d: New file. + +2004-09-29 Alan Modra <amodra@bigpond.net.au> + + * ld-pe/secrel1.s: Pad .rdata out to 16 byte boundary. + * ld-pe/secrel.d: Adjust to suit. + +2004-09-24 Alan Modra <amodra@bigpond.net.au> + + * ld-elfvsb/elfvsb.exp: Remove file name from "undefined ref" string. + +2004-09-22 Alan Modra <amodra@bigpond.net.au> + + * ld-i386/tlsbin.rd: Update for changed segment map. + * ld-i386/tlsnopic.rd: Likewise. + * ld-i386/tlspic.rd: Likewise. + * ld-powerpc/tlsexe.r: Likewise. + * ld-powerpc/tlsexe32.r: Likewise. + * ld-powerpc/tlsexetoc.r: Likewise. + * ld-powerpc/tlsso.r: Likewise. + * ld-powerpc/tlsso32.r: Likewise. + * ld-powerpc/tlstocso.r: Likewise. + * ld-s390/tlsbin.rd: Likewise. + * ld-s390/tlsbin_64.rd: Likewise. + * ld-s390/tlspic.rd: Likewise. + * ld-s390/tlspic_64.rd: Likewise. + * ld-sh/tlsbin-2.d: Likewise. + * ld-sh/tlspic-2.d: Likewise. + * ld-x86-64/tlsbin.rd: Likewise. + * ld-x86-64/tlspic.rd: Likewise. + +2004-09-22 Alan Modra <amodra@bigpond.net.au> + + * ld-scripts/overlay-size.d: Don't check .mbss lma. + * ld-sh/sh64/mix1.xd: Update for changed .bss file offset. + * ld-sh/sh64/shdl32.xd: Likewise. + * ld-sh/sh64/shdl64.xd: Likewise. + +2004-09-17 Paul Brook <paul@codesourcery.com> + + * ld-arm/arm-target1-{abs,rel}.d}: New files. + * ld-arm/arm-target1.s: New file. + * ld-arm/arm-target2-{,got-}rel.d: New files. + * ld-arm/arm-target2.s: New file. + * ld-arm/arm-rel31.d: New files. + * ld-arm/arm-rel31.s: New files. + * ld-arm/arm.ld: New file. + * ld-arm/arm-elf.exp: Add new tests. + +2004-09-07 Hans-Peter Nilsson <hp@axis.com> + + * ld-cris/hiddef1.d, ld-cris/hiddef1.s, ld-cris/hidrefgotplt1.s: + New test. + +2004-09-03 Tomer Levi <Tomer.Levi@nsc.com> + + * ld-crx: New directory. + * ld-crx/crx.exp: New test script. + * ld-crx/crx.ld: New linker script. + * ld-crx/reloc-abs32.s: New file. + * ld-crx/reloc-abs32.d: Likewise. + * ld-crx/reloc-imm16.s: Likewise. + * ld-crx/reloc-imm16.d: Likewise. + * ld-crx/reloc-imm32.s: Likewise. + * ld-crx/reloc-imm32.d: Likewise. + * ld-crx/reloc-num8.s: Likewise. + * ld-crx/reloc-num8.d: Likewise. + * ld-crx/reloc-num16.s: Likewise. + * ld-crx/reloc-num16.d: Likewise. + * ld-crx/reloc-num32.s: Likewise. + * ld-crx/reloc-num32.d: Likewise. + * ld-crx/reloc-regrel12.s: Likewise. + * ld-crx/reloc-regrel12.d: Likewise. + * ld-crx/reloc-regrel22.s: Likewise. + * ld-crx/reloc-regrel22.d: Likewise. + * ld-crx/reloc-regrel28.s: Likewise. + * ld-crx/reloc-regrel28.d: Likewise. + * ld-crx/reloc-regrel32.s: Likewise. + * ld-crx/reloc-regrel32.d: Likewise. + * ld-crx/reloc-rel4.s: Likewise. + * ld-crx/reloc-rel4.d: Likewise. + * ld-crx/reloc-rel8.s: Likewise. + * ld-crx/reloc-rel8.d: Likewise. + * ld-crx/reloc-rel8-cmp.s: Likewise. + * ld-crx/reloc-rel8-cmp.d: Likewise. + * ld-crx/reloc-rel16.s: Likewise. + * ld-crx/reloc-rel16.d: Likewise. + * ld-crx/reloc-rel24.s: Likewise. + * ld-crx/reloc-rel24.d: Likewise. + * ld-crx/reloc-rel32.s: Likewise. + * ld-crx/reloc-rel32.d: Likewise. + +2004-08-21 Hans-Peter Nilsson <hp@axis.com> + + * ld-cris/expdyn1.d, ld-cris/expdyn5.d, ld-cris/expdyn6.d, + ld-cris/expdyn7.d, ld-cris/gotplt2.d, ld-cris/gotplt3.d, + ld-cris/libdso-1.d, ld-cris/libdso-2.d, ld-cris/locref1.d, + ld-cris/nodyn4.d, ld-cris/nodyn5.d: Adjust for reordered + sections. + +2004-08-17 Alan Modra <amodra@bigpond.net.au> + + * ld-elfvsb/elfvsb.exp: Cope with ppc64 dot symbols. + +2004-08-17 Alan Modra <amodra@bigpond.net.au> + + * ld-scripts/cross1.t: Remove .opd section spec. + +2004-08-01 Stephane Carrez <stcarrez@nerim.fr> + + * ld-undefined/undefined.exp: The undefine tests now work on + 68HC11 and 68HC12. + +2004-07-29 Kaz Kojima <kkojima@rr.iij4u.or.jp> + + * ld-sh/sh64/crange3-cmpct.rd: Update. + * ld-sh/sh64/crange3-media.rd: Update. + +2004-07-27 Nitin Yewale <nitiny@kpitcummins.com> + + * ld-h8300/h8300.exp: Addition of new test case to check + relaxation for H8S target. + * ld-h8300/relax-6.s: New test source file. + * ld-h8300/relax-6.d: New test expected disassembly file. + * ld-h8300/relax-6-coff.d: New test expected disassembly file for + coff format. + +2004-07-22 Nick Clifton <nickc@redhat.com> + + PR/280 + * ld-h8300/relax-3-coff.d: Remove duplicated raw insn values. + * ld-h8300/relax-3.d: Likewise. + * ld-h8300/relax-4-coff.d: Likewise. + * ld-h8300/relax-4.d: Likewise. + * ld-h8300/relax-5-coff.d: Likewise. + * ld-h8300/relax.d: Likewise. + +2004-07-22 H.J. Lu <hongjiu.lu@intel.com> + + * ld-scripts/crossref.exp: XFAIL ia64-*-* on the first test. + +2004-07-13 Nitin Yewale <nitiny@kpitcummins.com> + + * ld-h8300/h8300.exp: Addition of gcsection test case. + * ld-h8300/gcsection.s: New test source file. + * ld-h8300/gcsection.d: New test expected disassembly file. + +2004-07-08 Maciej W. Rozycki <macro@linux-mips.org> + + * ld-mips-elf/reloc-merge-lo16.{s,d,ld}: New test. + * ld-mips-elf/mips-elf.exp: Run it. + +2004-07-02 Kaz Kojima <kkojima@rr.iij4u.or.jp> + + * ld-elf/frame.exp: Don't run on sh*-*-elf*. + * ld-sh/shared-1.d: Adjust for section reordering changes. + * ld-sh/shared-2.d: Likewise. + * ld-sh/tlsbin-2.d: Likewise. + * ld-sh/tlspic-2.d: Likewise. + * ld-sh/sh64/abi32.xd: Likewise. + * ld-sh/sh64/abi64.xd: Likewise. + * ld-sh/sh64/cmpct1.xd: Likewise. + * ld-sh/sh64/crange1.rd: Likewise. + * ld-sh/sh64/crange2.rd: Likewise. + * ld-sh/sh64/crange3-cmpct.rd: Likewise. + * ld-sh/sh64/crange3-media.rd: Likewise. + * ld-sh/sh64/crange3.rd: Likewise. + * ld-sh/sh64/gotplt.d: Likewise. + * ld-sh/sh64/init-cmpct.d: Likewise. + * ld-sh/sh64/init-media.d: Likewise. + * ld-sh/sh64/init64.d: Likewise. + * ld-sh/sh64/mix1.xd: Likewise. + * ld-sh/sh64/mix2.xd: Likewise. + * ld-sh/sh64/shdl32.xd: Likewise. + * ld-sh/sh64/shdl64.xd: Likewise. + +2004-07-02 Alan Modra <amodra@bigpond.net.au> + + * ld-discard/static.d: Accept both original sym and section sym. + +2004-07-01 Jakub Jelinek <jakub@redhat.com> + + * ld-sparc/tlssunpic32.rd: Adjust for section reordering changes + and removal of unneeded STT_SECTION symbols from .dynsym. + * ld-sparc/tlssunbin32.rd: Likewise. + * ld-sparc/tlssunpic32.dd: Likewise. + * ld-sparc/tlssunpic32.sd: Likewise. + * ld-sparc/tlssunbin32.dd: Likewise. + * ld-sparc/tlssunbin32.sd: Likewise. + * ld-sparc/tlssunbin32.td: Likewise. + +2004-07-01 Alan Modra <amodra@bigpond.net.au> + + * ld-discard/extern.d: Update. + * ld-discard/start.d: Update. + * ld-discard/static.d: Update. + +2004-06-30 H.J. Lu <hongjiu.lu@intel.com> + + PR 233 + * ld-discard/extern.d: Updated. + * ld-discard/start.d: Likewise. + * ld-discard/static.d: Likewise. + +2004-06-29 J"orn Rennecke <joern.rennecke@superh.com> + + Actually add these files: + 2004-05-28 Andrew Stubbs <andrew.stubbs@superh.com> + * ld-sh/arch/arch.exp: New test script. + * ld-sh/arch/arch_expected.txt: New file. + * ld-sh/arch/sh.s: New file. + * ld-sh/arch/sh2.s: New file. + * ld-sh/arch/sh-dsp.s: New file. + * ld-sh/arch/sh2e.s: New file. + * ld-sh/arch/sh3-nommu.s: New file. + * ld-sh/arch/sh3.s: New file. + * ld-sh/arch/sh3-dsp.s: New file. + * ld-sh/arch/sh3e.s: New file. + * ld-sh/arch/sh4-nommu-nofpu.s: New file. + * ld-sh/arch/sh4-nofpu.s: New file. + * ld-sh/arch/sh4.s: New file. + * ld-sh/arch/sh4a-nofpu.s: New file. + * ld-sh/arch/sh4al-dsp.s: New file. + * ld-sh/arch/sh4a.s: New file. + +2004-06-29 Alan Modra <amodra@bigpond.net.au> + + * ld-elf/frame.exp: Don't run on mcore. + +2004-06-26 Alan Modra <amodra@bigpond.net.au> + + * ld-bootstrap/bootstrap.exp: Handle timestamps in more pe targets. + +2004-06-24 H.J. Lu <hongjiu.lu@intel.com> + + * ld-elfvers/vers.exp: Use PIC for shared libraries by default. + +2004-06-21 Alexandre Oliva <aoliva@redhat.com> + + * ld-frv/fdpic-pie-1.d: Adjust for pie-specific link script. + * ld-frv/fdpic-pie-2.d: Likewise. + * ld-frv/fdpic-pie-6.d: Likewise. + * ld-frv/fdpic-pie-7.d: Likewise. + * ld-frv/fdpic-pie-8.d: Likewise. + * ld-frv/fdpic-shared-1.d: Likewise. + * ld-frv/fdpic-shared-2.d: Likewise. + * ld-frv/fdpic-shared-3.d: Likewise. + * ld-frv/fdpic-shared-4.d: Likewise. + * ld-frv/fdpic-shared-5.d: Likewise. + * ld-frv/fdpic-shared-6.d: Likewise. + * ld-frv/fdpic-shared-7.d: Likewise. + * ld-frv/fdpic-shared-8.d: Likewise. + * ld-frv/fdpic-shared-local-2.d: Likewise. + * ld-frv/fdpic-shared-local-8.d: Likewise. + +2004-06-21 Nick Clifton <nickc@redhat.com> + + * ld-elf/frame.exp: Handle ports which do not support the --shared + linker switch. + +2004-06-18 Jan Beulich <jbeulich@novell.com> + + * ld-elfvsb/main.c: Ensure visibility_def and visibility_func are + actually referenced (gcc 3.4 eliminates comparisons of addresses + of global symbols with NULL). + * ld-selective/selective.exp: Suppress -fvtable-gc tests for gcc + 3.4.0 and above, as this option and its functionality is no longer + supported, making these tests fail). + +2004-05-28 Andrew Stubbs <andrew.stubbs@superh.com> + + * ld-sh/arch/arch.exp: New test script. + * ld-sh/arch/arch_expected.txt: New file. + * ld-sh/arch/sh.s: New file. + * ld-sh/arch/sh2.s: New file. + * ld-sh/arch/sh-dsp.s: New file. + * ld-sh/arch/sh2e.s: New file. + * ld-sh/arch/sh3-nommu.s: New file. + * ld-sh/arch/sh3.s: New file. + * ld-sh/arch/sh3-dsp.s: New file. + * ld-sh/arch/sh3e.s: New file. + * ld-sh/arch/sh4-nommu-nofpu.s: New file. + * ld-sh/arch/sh4-nofpu.s: New file. + * ld-sh/arch/sh4.s: New file. + * ld-sh/arch/sh4a-nofpu.s: New file. + * ld-sh/arch/sh4al-dsp.s: New file. + * ld-sh/arch/sh4a.s: New file. + +2004-05-18 Nick Clifton <nickc@redhat.com> + + * ld-elf/frame.s: Replace @ with % so that the file can be + compiled by an ARM targeted GAS. + * ld-elf/table.s: Likewise. + * ld-elf/tbss.s: Likewise. Also replace .align <foo> with + .p2align (log2 <foo>) to cope with the fact that the ARM .align + directive takes a power-of-two argument. + +2004-05-17 H.J. Lu <hongjiu.lu@intel.com> + + * ld-elf/frame.exp: New file. Test read-only .eh_frame and + .gcc_except_table sections. + * ld-elf/frame.s: Likewise. + * ld-elf/table.s: Likewise. + * ld-elf/tbss.s: Likewise. + +2004-05-12 Kaz Kojima <kkojima@rr.iij4u.or.jp> + + * ld-sh/tlsbin-2.d: Adjust for section reordering changes + and removal of unneeded STT_SECTION symbols from .dynsym. + * ld-sh/tlsbin-3.d: Likewise. + * ld-sh/tlspic-2.d: Likewise. + +2004-05-12 Ben Elliston <bje@au.ibm.com> + + * ld-sh/sh64/relax.exp: Remove stray semicolons. + * ld-sh/sh64/relfail.exp: Likewise. + * lib/ld-lib.exp: Likewise. + +2004-05-11 Jakub Jelinek <jakub@redhat.com> + + * ld-i386/tlspic.rd: Adjust for section reordering changes + and removal of unneeded STT_SECTION symbols from .dynsym. + * ld-i386/tlspic.dd: Likewise. + * ld-i386/tlspic.sd: Likewise. + * ld-i386/tlsbin.rd: Likewise. + * ld-i386/tlsbinpic.s: Likewise. + * ld-i386/tlsbin.dd: Likewise. + * ld-i386/tlsbin.sd: Likewise. + * ld-i386/tlsnopic.rd: Likewise. + * ld-i386/tlsnopic1.s: Likewise. + * ld-i386/combreloc.d: Likewise. + * ld-i386/tlsnopic.dd: Likewise. + * ld-i386/tlsnopic.sd: Likewise. + * ld-x86-64/tlspic.rd: Likewise. + * ld-x86-64/tlspic.dd: Likewise. + * ld-x86-64/tlsbin.dd: Likewise. + * ld-x86-64/tlspic.sd: Likewise. + * ld-x86-64/tlsbin.sd: Likewise. + * ld-x86-64/tlspic.td: Likewise. + * ld-x86-64/tlsbin.td: Likewise. + * ld-x86-64/tlsbin.rd: Likewise. + * ld-s390/tlspic1.s: Likewise. + * ld-s390/tlsbinpic.s: Likewise. + * ld-s390/tlspic.rd: Likewise. + * ld-s390/tlsbin.rd: Likewise. + * ld-s390/tlspic.dd: Likewise. + * ld-s390/tlsbin.dd: Likewise. + * ld-s390/tlsbin.sd: Likewise. + * ld-s390/tlsbin.td: Likewise. + * ld-s390/tlspic.sd: Likewise. + * ld-s390/tlspic.td: Likewise. + * ld-s390/tlspic1_64.s: Likewise. + * ld-s390/tlsbinpic_64.s: Likewise. + * ld-s390/tlspic_64.rd: Likewise. + * ld-s390/tlsbin_64.rd: Likewise. + * ld-s390/tlspic_64.dd: Likewise. + * ld-s390/tlsbin_64.dd: Likewise. + * ld-s390/tlspic_64.sd: Likewise. + * ld-s390/tlspic_64.td: Likewise. + * ld-s390/tlsbin_64.td: Likewise. + * ld-s390/tlsbin_64.sd: Likewise. + * ld-powerpc/tlsexe32.r: Likewise. + * ld-powerpc/tlsso32.r: Likewise. + * ld-powerpc/tlsso32.d: Likewise. + * ld-powerpc/tlsso32.g: Likewise. + * ld-powerpc/tlsso32.t: Likewise. + * ld-powerpc/tlsexe.r: Likewise. + * ld-powerpc/tlsso.r: Likewise. + * ld-powerpc/tlsso.g: Likewise. + * ld-powerpc/tlsexetoc.r: Likewise. + * ld-powerpc/tlstocso.r: Likewise. + * ld-powerpc/tlstocso.g: Likewise. + * ld-ia64/tlspic.rd: Likewise. + * ld-ia64/tlspic.dd: Likewise. + * ld-ia64/tlspic.sd: Likewise. + * ld-ia64/tlspic.td: Likewise. + * ld-ia64/tlsbin.rd: Likewise. + * ld-ia64/tlsbin.sd: Likewise. + * ld-ia64/tlsbin.td: Likewise. + * ld-elfvsb/elfvsb.exp: XFAIL non-PIC load offset tests on s390x. + * ld-shared/shared.exp: Likewise. + +2004-05-10 John Paul Wallington <jpw@gnu.org> + + * ld-mmix/bspec2.d: Update sh_info to decimal. + * ld-mmix/local1.d: Likewise. + * ld-mmix/local3.d: Likewise. + * ld-mmix/local5.d: Likewise. + * ld-mmix/local7.d: Likewise. + +2004-05-05 Alexandre Oliva <aoliva@redhat.com> + + * ld-frv/fdpic.exp: Restore $LDFLAGS at the end. + * ld-frv/fr450-link.d: Match fdpic as well. + +2004-05-05 Kaz Kojima <kkojima@rr.iij4u.or.jp> + + * ld-sh/sh64/crange1.rd: Update sh_info to decimal. + * ld-sh/sh64/crange2.rd: Likewise. + * ld-sh/sh64/crange3.rd: Likewise. + * ld-sh/sh64/crange3-cmpct.rd: Likewise. + * ld-sh/sh64/crange3-media.rd: Likewise. + * ld-sh/sh64/crangerel1.rd: Likewise. + * ld-sh/sh64/crangerel2.rd: Likewise. + +2004-05-05 Alan Modra <amodra@bigpond.net.au> + + * ld-powerpc/tlsexe.r: Update sh_info to decimal. + * ld-powerpc/tlsexe32.r: Likewise. + * ld-powerpc/tlsexetoc.r: Likewise. + * ld-powerpc/tlsso.r: Likewise. + * ld-powerpc/tlsso32.r: Likewise. + * ld-powerpc/tlstocso.r: Likewise. + +2004-04-24 Chris Demetriou <cgd@broadcom.com> + + * ld-elf/merge.d: XFAIL on all MIPS targets. + +2004-04-24 Alan Modra <amodra@bigpond.net.au> + + * ld-powerpc/tlsexe32.d: Update. + * ld-powerpc/tlsso32.d: Update. + +2004-04-23 Chris Demetriou <cgd@broadcom.com> + + * ld-mips-elf/reloc-3-r.d: Remove, as part of MIPS -membedded-pic + removal. + * ld-mips-elf/reloc-3-srec.d: Likewise. + * ld-mips-elf/reloc-3.ld: Likewise. + * ld-mips-elf/reloc-3a.s: Likewise. + * ld-mips-elf/reloc-3b.s: Likewise. + * ld-mips-elf/mips-elf.exp: Don't run now-removed tests. + +2004-04-22 Kaz Kojima <kkojima@rr.iij4u.or.jp> + + * ld-sh/tlsbin-1.d: Update + * ld-sh/tlspic-1.d: Update. + +2004-04-22 H.J. Lu <hongjiu.lu@intel.com> + + * ld-i386/tlspic.dd: Updated. + +2004-04-21 Chris Demetriou <cgd@broadcom.com> + + * ld-empic/run.c: Removed as part of MIPS --embedded-relocs removal. + * ld-empic/empic.exp: Likewise. + * ld-empic/relax.t: Likewise. + * ld-empic/relax1.c: Likewise. + * ld-empic/relax2.c: Likewise. + * ld-empic/relax3.c: Likewise. + * ld-empic/relax4.c: Likewise. + * ld-empic/runtest1.c: Likewise. + * ld-empic/runtest2.c: Likewise. + * ld-empic/runtesti.s: Likewise. + * ld-mips-elf/empic1-ln.d: Likewise. + * ld-mips-elf/empic1-lp.d: Likewise. + * ld-mips-elf/empic1-mn.d: Likewise. + * ld-mips-elf/empic1-mp.d: Likewise. + * ld-mips-elf/empic1-ref.s: Likewise. + * ld-mips-elf/empic1-sn.d: Likewise. + * ld-mips-elf/empic1-sp.d: Likewise. + * ld-mips-elf/empic1-space.s: Likewise. + * ld-mips-elf/empic1-tgt.s: Likewise. + * ld-mips-elf/empic2-fwd-0.d: Likewise. + * ld-mips-elf/empic2-fwd-1.d: Likewise. + * ld-mips-elf/empic2-fwd-tgt.s: Likewise. + * ld-mips-elf/empic2-ref.s: Likewise. + * ld-mips-elf/empic2-rev-0.d: Likewise. + * ld-mips-elf/empic2-rev-1.d: Likewise. + * ld-mips-elf/empic2-rev-tgt.s: Likewise. + * ld-mips-elf/empic2-space.s: Likewise. + * ld-mips-elf/emrelocs-eb.d: Likewise. + * ld-mips-elf/emrelocs-el.d: Likewise. + * ld-mips-elf/emrelocs.ld: Likewise. + * ld-mips-elf/emrelocs1.s: Likewise. + * ld-mips-elf/emrelocs2.s: Likewise. + * ld-mips-elf/mips-elf.exp: Don't run now-removed tests. + +2004-04-20 H.J. Lu <hongjiu.lu@intel.com> + + * ld-elfweak/elfweak.exp: Add an undefined weak size change + test. + + * ld-elfweak/size.dat: New file. + * ld-elfweak/size_bar.c: Likewise. + * ld-elfweak/size_foo.c: Likewise. + * ld-elfweak/size_main.c: Likewise. + +2004-04-14 Brian Ford <ford@vss.fsi.com> + DJ Delorie <dj@redhat.com> + + * ld-pe/pe.exp: New, tests for i?86 PE. + * ld-pe/secrel1.s: New, test R_SECREL32 reloc. + * ld-pe/secrel2.s: Likewise. + * ld-pe/secrel.d: Likewise. + +2004-04-19 Jakub Jelinek <jakub@redhat.com> + + * ld-elfvsb/elfvsb.exp: XFAIL some tests on sparc64. + * ld-shared/shared.exp: Likewise. + +2004-04-14 H.J. Lu <hongjiu.lu@intel.com> + + * ld-scripts/assert.s: Add a newline. + * ld-scripts/data.s: Likewise. + +2004-04-08 Alan Modra <amodra@bigpond.net.au> + + PR 47. + * ld-cdtest/cdtest.exp: Remove -fgnu-linker. + +2004-04-08 Alan Modra <amodra@bigpond.net.au> + + * ld-scripts/align.exp: Don't run on aix. + * ld-scripts/assert.s: Remove comment. + * ld-scripts/data.s: Likewise. + * ld-scripts/data.t: Set start address to allow for aout headers. + Make first LONG pc-relative. + * ld-scripts/data.d: Update. + * ld-scripts/defined2.d: Allow other random syms. + * ld-scripts/defined3.d: Likewise. + * ld-scripts/provide-1.s: Pad section. + * ld-scripts/provide-1.t: Set .data address and align. + * ld-scripts/provide-1.d: Update. + * ld-scripts/provide-2.s: Pad section. + * ld-scripts/provide-2.d: Allow random trailing syms. + * ld-scripts/provide-3.s: Pad section. + * ld-scripts/provide-3.d: Fix typos. + * ld-scripts/provide.exp: Don't run on aix. + * ld-scripts/size-1.s: Simplify test. + * ld-scripts/size-1.t: Rewrite. + * ld-scripts/size-1.d: Update. + * ld-scripts/size-2.s: Simplify. + * ld-scripts/size-2.t: Set start address. Set exe flag on image. + * ld-scripts/size-2.d: Update. + * ld-scripts/size.exp: Don't run on aix. Run size-2 on all elf + targets except mips. + +2004-03-27 Alexandre Oliva <aoliva@redhat.com> + + * ld-frv/fdpic*.d: Adjust to compensate for page size change. + +2004-03-26 Alan Modra <amodra@bigpond.net.au> + + * ld-powerpc/tlsexe.r: Update for changed sym type. + * ld-powerpc/tlsexetoc.r: Likewise. + +2004-03-22 Hans-Peter Nilsson <hp@axis.com> + + * ld-cris/dsofnf.s, ld-cris/dsofnf2.s, ld-cris/gotplt1.d, + ld-cris/gotplt2.d, ld-cris/gotplt3.d: New tests. + +2004-03-19 H.J. Lu <hongjiu.lu@intel.com> + + * ld-elfvers/vers.exp: Add new tests for versioned weak + definition. + + * ld-elfvers/vers28a.c: New file. + * ld-elfvers/vers28a.dsym: Likewise. + * ld-elfvers/vers28a.ver: Likewise. + * ld-elfvers/vers28b.c: Likewise. + * ld-elfvers/vers28b.dsym: Likewise. + * ld-elfvers/vers28b.map: Likewise. + * ld-elfvers/vers28b.ver: Likewise. + * ld-elfvers/vers28c.c: Likewise. + * ld-elfvers/vers28c.dsym: Likewise. + * ld-elfvers/vers28c.ver: Likewise. + +2004-03-19 Alan Modra <amodra@bigpond.net.au> + + * ld-scripts/provide-2.d: Ignore random symbols. + +2004-03-16 Alan Modra <amodra@bigpond.net.au> + + * ld-powerpc/tls.d: Update. + * ld-powerpc/tls32.d: Update. + * ld-powerpc/tlsexe.d: Update. + * ld-powerpc/tlsexe32.d: Update. + * ld-powerpc/tlsexetoc.d: Update. + * ld-powerpc/tlsso.d: Update. + * ld-powerpc/tlsso32.d: Update. + * ld-powerpc/tlstoc.d: Update. + * ld-powerpc/tlstocso.d: Update. + +2004-03-05 Nathan Sidwell <nathan@codesourcery.com> + + * ld-scripts/size-1.d: Add bigendian regexps. + * ld-scripts/size-2.d: Set --wide for readelf. + + * ld-scripts/size.exp: New. + * ld-scripts/size-[12].{d,s,t}: New. + +2004-03-01 Richard Sandiford <rsandifo@redhat.com> + + * ld-frv/fr450-link[abc].s, fr450-link.d: New test. + * ld-frv/frv.exp: New harness. + +2004-02-24 Alexandre Oliva <aoliva@redhat.com> + + * ld-frv/fdpic-pie-2.d: Adjust for decay of FUNCDESC relocs that + bind locally. + * ld-frv/fdpic-pie-8.d: Likewise. + * ld-frv/fdpic-shared-4.d: Likewise. + * ld-frv/fdpic-pie-6-fail.d: Renamed from... + * ld-frv/fdpic-pie-6.d: New test. + * ld-frv/fdpic-shared-6-fail.d: Renamed from... + * ld-frv/fdpic-shared-6.d: New test. + * ld-frv/fdpic6.ldv: New. + * ld-frv/fdpic-static-6.d: Adjust test name. + * ld-frv/fdpic-pie-8-fail.d: Removed. + * ld-frv/fdpic.exp: Run new tests. + +2004-02-23 Nathan Sidwell <nathan@codesourcery.com> + + * ld-scripts/provide.exp: New. + * ld-scripts/provide-{1,2,3}.{s,t,d}.exp: New. + +2004-02-23 Alan Modra <amodra@bigpond.net.au> + + * ld-scripts/data.t: Set ".other" address so location doesn't + depend on target alignment. + * ld-scripts/data.d: Update. + +2004-02-20 Nathan Sidwell <nathan@codesourcery.com> + + * ld-scripts/align.{s,t,exp}: New. + +2004-02-19 Nathan Sidwell <nathan@codesourcery.com> + + * ld-scripts/data.{s,t,d,exp}: New. + +2004-02-18 Nathan Sidwell <nathan@codesourcery.com> + + * ld-scripts/assert.{s,t,exp}: New. + +2004-02-17 Richard Sandiford <rsandifo@redhat.com> + + * ld-mips/elf/elf-rel-xgot-{n32,n64-linux}.d: Update after 2004-02-02 + changes to the way large constants are added. + * ld-mips/elf/elf-rel-got-{n32,n64-linux}.d: Likewise. Adjust order + of GOT entries after today's change to the handling of GOT_PAGE + relocations. + +2004-02-09 Anil Paranjpe <anilp1@KPITCummins.com> + + * ld-h8300/relax-5.s: New file: Source for relax-5 test. + * ld-h8300/relax-5.d: New file: Expected output and commands for + assembling and linking the relax-5 test. + * ld-h8300/relax-5-coff.d: New file: Variant for the COFF based + toolchain. + * ld-h8300/h8300-exp: Run the relax-5 test. + +2004-01-23 Daniel Jacobowitz <drow@mvista.com> + + * ld-arm/arm-app-abs32.s, ld-arm/arm-app-abs32.r, + ld-arm/arm-app-abs32.d: New files. + * ld-arm/arm-elf.exp: Add arm-app-abs32 testcase. + +2004-01-19 Alan Modra <amodra@bigpond.net.au> + + * ld-i386/tlsbin.dd: Adjust for changed sib printing. + +2004-01-13 Daniel Jacobowitz <drow@mvista.com> + + * ld-arm/arm-elf.exp: Add arm-static-app test. + * ld-arm/arm-static-app.s, ld-arm/arm-static-app.d, + ld-arm/arm-static-app.r: New files. + +2004-01-12 Anil Paranjpe <anilp1@KPITCummins.com> + + * ld-h8300/h8300-exp: Run the relax-4 test. + * ld-h8300/relax-4.s: New file: Source for relax-4 test. + * ld-h8300/relax-4.d: New file: Expected output and commands for + assembling and linking the relax-4 test. + * ld-h8300/relax-4-coff.d: New file: Variant for the COFF based + toolchain. + +2004-01-09 H.J. Lu <hongjiu.lu@intel.com> + + * ld-selective/selective.exp: Skip ia64-*-*. + +2004-01-09 Daniel Jacobowitz <drow@mvista.com> + + * ld-arm/arm-lib.d, ld-arm/arm-lib.r: Update for R_ARM_PLT32 + changes. + +2004-01-06 Daniel Jacobowitz <drow@mvista.com> + + * ld-arm/arm-app.d, ld-arm/arm-app.r, ld-arm/arm-app.s, + ld-arm/arm-lib.d, ld-arm/arm-lib.r, ld-arm/arm-lib.s, + ld-arm/arm-lib-plt32.d, ld-arm/arm-lib-plt32.r, + ld-arm/arm-lib-plt32.s, ld-arm/arm-elf.exp: New files. + +2004-01-06 Alexandre Oliva <aoliva@redhat.com> + + * ld-frv: Update .d files with correct addresses displayed for + dynamic relocations. + 2003-12-02 Alexandre Oliva <aoliva@redhat.com> + * ld-frv/fdpic1.s (.D0): Move to separate data section. + 2003-11-28 Alexandre Oliva <aoliva@redhat.com> + * ld-frv/fdpic-static-1.d, ld-frv/fdpic-static-2.d, + * ld-frv/fdpic-static-7.d, ld-frv/fdpic-static-8.d: Update to + reflect EMBEDDED= change in linker script. + 2003-11-27 Alexandre Oliva <aoliva@redhat.com> + * ld-frv: Update .d files to reflect changes in the page size, the + addition of a stack segment, the use of a NULL function descriptor + for weakundef functions and the change in the lazy funcdesc_value + in-place addend value. + 2003-11-05 Alexandre Oliva <aoliva@redhat.com> + * lib/ld-lib.exp (is_elf_format): Match frv-uclinux. + 2003-10-06 Alexandre Oliva <aoliva@redhat.com> + * ld-frv/fdpic-static-1.d, ld-frv/fdpic-static-2.d, + ld-frv/fdpic-static-7.d, ld-frv/fdpic-static-8.d: Addresses are + now _gp-based, not \.rofixup-based. + * ld-frv/fdpic-static-6.d: Likewise. Match warning about + relocation to different section. + 2003-09-30 Alexandre Oliva <aoliva@redhat.com> + * ld-frv/fdpic.exp: Add -melf32frvfd to LDFLAGS. + 2003-09-19 Alexandre Oliva <aoliva@redhat.com> + * ld-frv/fdpic7.s, ld-frv/fdpic-static-7.d, ld-frv/fdpic-pie-7.d, + ld-frv/fdpic-shared-7.d: New. + * ld-frv/fdpic8.s, ld-frv/fdpic-static-8.d, ld-frv/fdpic-pie-8.d, + ld-frv/fdpic-shared-8.d: New. + * ld-frv/fdpic-pie-8-fail.d, ld-frv/fdpic-shared-8-fail.d: New. + * ld-frv/fdpic.exp: Run them. + * ld-frv/fdpic8.ldv, ld-frv/fdpic8min.ldv: New. + 2003-09-18 Alexandre Oliva <aoliva@redhat.com> + * ld-frv/fdpic5.s, ld-frv/fdpic-static-5.d, ld-frv/fdpic-pie-5.d, + ld-frv/fdpic-shared-5.d: New. + * ld-frv/fdpic6.s, ld-frv/fdpic-static-6.d, ld-frv/fdpic-pie-6.d, + ld-frv/fdpic-shared-6.d: New. + * ld-frv/fdpic.exp: Run them. + * ld-frv/fdpic*.d: Add -mfdpic to assembler flags. Updated. + * ld-frv/fdpic2min.ldv: New, used by fdpic-shared-2.d. + * ld-frv/fdpic-shared-2-fail.d: New. + * ld-frv/fdpic.exp: Run it. + * ld-frv/fdpic4.s, ld-frv/fdpic-shared-4.d: New. + * ld-frv/fdpic.exp: Add new test. + * ld-frv/fdpic-pie-2.d: Remove unnecessary function descriptors. + * ld-frv/fdpic-shared-local-2.d, ld-frv/fdpic2.ldv: New. + * ld-frv/fdpic3.s, ld-frv/fdpic-shared-3.d: New. + * ld-frv/fdpic.exp: Add new tests. + * ld-frv/fdpic.exp, ld-frv/fdpic1.s, ld-frv/fdpic2.s, + * ld-frv/fdpic-static-1.d, ld-frv/fdpic-static-2.d, + * ld-frv/fdpic-pie-1.d, ld-frv/fdpic-pie-2.d, + * ld-frv/fdpic-shared-1.d, ld-frv/fdpic-shared-2.d: Renamed from + ucpic. + 2003-09-15 Alexandre Oliva <aoliva@redhat.com> + * ld-frv/ucpic.exp, ld-frv/ucpic1.s, ld-frv/ucpic2.s: New. + * ld-frv/ucpic-static-1.d, ld-frv/ucpic-static-2.d: New. + * ld-frv/ucpic-pie-1.d, ld-frv/ucpic-pie-2.d: New. + * ld-frv/ucpic-shared-1.d, ld-frv/ucpic-shared-2.d: New. + +2004-01-02 Alan Modra <amodra@bigpond.net.au> + + * ld-selective/sel-dump.exp: Use is_elf_format, xfail assorted targets. + * ld-selective/selective.exp: Likewise. + +For older changes see ChangeLog-9303 + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/ld/testsuite/ChangeLog-2005 b/ld/testsuite/ChangeLog-2005 new file mode 100644 index 0000000..23efd89 --- /dev/null +++ b/ld/testsuite/ChangeLog-2005 @@ -0,0 +1,1189 @@ +2005-12-19 H.J. Lu <hongjiu.lu@intel.com> + + * ld-elf/orphan2.d: Undo the last change. + +2005-12-19 Hans-Peter Nilsson <hp@axis.com> + + * ld-elf/unknown2.d: Only run for *-*-linux*. + * ld-elf/orphan2.d: Xfail everywhere. + +2005-12-18 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/2065 + * ld-elf/orphan2.d: New file. + * ld-elf/orphan2.s: Likewise. + +2005-12-18 H.J. Lu <hongjiu.lu@intel.com> + + * ld-elf/unknown2.d: New. + * ld-elf/unknown2.s: Likewise. + +2005-12-12 Paul Brook <paul@codesourcery.com> + + * ld-arm/arm-call.d: New test. + * ld-arm/arm-call1.s: New file. + * ld-arm/arm-call1.s: New file. + * ld-arm/arm-elf.exp: Add arm-call and mixed-app-v5. + * ld-arm/arm.ld: Add .glue_7 and .ARM.attribues. + * ld-arm/mixed-app-v5.d: New file. + * ld-arm/mixed-app.r: Tweak expected output. + +2005-11-18 Alan Modra <amodra@bigpond.net.au> + + * ld-powerpc/symtocbase.d: Adjust for alignment change. + +2005-11-17 Hans-Peter Nilsson <hp@bitrange.com> + + * ld-mmix/sec-1.d: Adjust section order for recent ELF section + rearrangement. + +2005-11-15 Jan Beulich <jbeulich@novell.com> + + * ld-bootstrap/bootstrap.exp: Delete ld-partial.o and ld[123]* + after test. + * ld-elf/elf.exp: Delete preinit, init, and fini after test. + * ld-elf/sec64k.exp: Use macro and repeat in generated source + files. Delete object files after test. + +2005-11-11 Hans-Peter Nilsson <hp@axis.com> + + * ld-cris/noov.d: Restrict to cris-*-*elf*. + +2005-10-31 Hans-Peter Nilsson <hp@bitrange.com> + + PR ld/1501 + * ld-mmix/bpo-10.d: Adjust for empty-section-removal. + +2005-10-28 Hans-Peter Nilsson <hp@axis.com> + + PR ld/1567 + * ld-cris/noov.s, ld-cris/noov.d: New test. + +2005-10-26 Alan Modra <amodra@bigpond.net.au> + + * ld-elf/empty2.d: Allow more symbols. + +2005-10-26 Hans-Peter Nilsson <hp@bitrange.com> + + * ld-mmix/bpo-6.d, ld-mmix/bpo-19.d: Adjust for symbols between + section symbols and the _start symbol. + +2005-10-25 Alan Modra <amodra@bigpond.net.au> + + * ld-elf/orphan.d: Adjust for mips. + +2005-10-24 Jan Beulich <jbeulich@novell.com> + + * ld-elf/empty2.[sd]: New. + +2005-10-23 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/1487 + * ld-ia64/tlspic.rd: Updated. + +2005-10-21 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/1467 + * ld-elf/orphan.d: New file. + * ld-elf/orphan.ld: Likewise. + * ld-elf/orphan.s: Likewise. + +2005-10-20 H.J. Lu <hongjiu.lu@intel.com> + + * ld-ia64/ia64.exp: Undo the last change. Add support for *.d. + + * ld-ia64/link-order.d: New file. + +2005-10-20 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/251 + * ld-elf/group2.d: New file. + +2005-10-19 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/1487 + * ld-elf/unknown.d: New file. + +2005-10-19 H.J. Lu <hongjiu.lu@intel.com> + + * ld-ia64/ia64.exp: Check link order for ld -r. + +2005-10-18 Alan Modra <amodra@bigpond.net.au> + + * ld-scripts/crossref.exp: Add -mcall-aixdesc to CFLAGS for + powerpc64. + +2005-10-13 Mark Mitchell <mark@codesourcery.com> + + * ld-elfvers/vers.exp: Add vers31. + * ld-elfvers/vers31.c: New file. + * ld-elfvers/vers31.dsym: Likewise. + * ld-elfvers/vers31.map: Likewise. + * ld-elfvers/vers31.ver: Likewise. + +2005-10-08 Paul Brook <paul@codesourcery.com> + + * ld-arm/arm-rel31.d: Ignore Arm object attribute sections. + * ld-arm/arm-target1-abs.d: Ditto. + * ld-arm/arm-target1-rel.d: Ditto. + * ld-arm/arm-target2-abs.d: Ditto. + * ld-arm/arm-target2-got-rel.d: Ditto. + * ld-arm/arm-target2-rel.d: Ditto. + +2005-10-04 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/1396 + * ld-scripts/cross3.t: New file. + * ld-scripts/cross4.c: Likewise. + + * ld-scripts/crossref.exp: Add a new test for "ld -r". + +2005-09-30 H.J. Lu <hongjiu.lu@intel.com> + + * ld-elf/sec64k.exp: Enabled for all ELF targets. + +2005-09-30 Catherine Moore <clm@cm00re.com> + + * ld-elf/merge.d: Xfail bfin. + +2005-09-28 Alexandre Oliva <aoliva@redhat.com> + + * symtocbase-1.s, symtocbase-2.s, symtocbase.d: New test. + * powerpc.exp: Run it. + +2005-09-28 Jan Beulich <jbeulich@novell.com> + + * ld-x86-64/tlspic.dd: Adjust. + +2005-09-01 Hans-Peter Nilsson <hp@axis.com> + + * ld-cris: Skip tests unsuitable for testing target + cris-axis-linux-gnu. + +2005-08-18 David Daney <ddaney@avtrex.com> + + * ld-mips-elf/multi-got-1.d: Adjust for new ld behavior. + * ld-mips-elf/multi-got-no-shared.d: Likewise. + * ld-mips-elf/rel32-n32.d: Likewise. + * ld-mips-elf/rel32-o32.d: Likewise. + * ld-mips-elf/rel64.d: Likewise. + +2005-08-18 Alan Modra <amodra@bigpond.net.au> + + * ld-d10v/default_layout.d: Adjust for section removal. + * ld-elf/empty.s: Define "main". + * ld-elf/frame.exp: Don't run for hppa64 and v850. + * ld-elf/group1.d: xfail various targets. + * ld-elf/merge.d: Likewise. + * ld-elf/merge2.d: Likewise. + * ld-elf/warn1.d: Likewise. + * ld-scripts/defined2.d: Likewise. + * ld-scripts/defined3.d: Likewise. + * ld-scripts/empty-aligned.d: Likewise. + * ld-scripts/size-2.d: Likewise. + * ld-scripts/weak.exp: Likewise. + * ld-selective/sel-dump.exp: Likewise. + * ld-undefined/weak-undef.exp: Likewise. + +2005-08-18 Alan Modra <amodra@bigpond.net.au> + + * ld-scripts/crossref.exp: Remove a29k support. + * ld-srec/srec.exp: Likewise. + +2005-08-17 Jakub Jelinek <jakub@redhat.com> + + * lib/ld-lib.exp (default_ld_compile): Append $cc arguments after + $CFLAGS instead of prepending them. + + * ld-elfvers/vers.exp: Add a new test, vers30. + * ld-elfvers/vers30.c: New file. + * ld-elfvers/vers30.map: New file. + * ld-elfvers/vers30.ver: New file. + * ld-elfvers/vers30.dsym: New file. + +2005-08-17 Alan Modra <amodra@bigpond.net.au> + + * ld-alpha/tlsbin.rd: Update. + * ld-alpha/tlsbinr.rd: Update. + * ld-cris/locref1.d: Update. + * ld-cris/locref2.d: Update. + * ld-i386/tlsbin.rd: Update. + * ld-ia64/tlsbin.rd: Update. + * ld-powerpc/tlsexe.r: Update. + * ld-powerpc/tlsexe32.r: Update. + * ld-powerpc/tlsexetoc.r: Update. + * ld-s390/tlsbin.rd: Update. + * ld-s390/tlsbin_64.rd: Update. + * ld-sparc/tlssunbin32.rd: Update. + * ld-sparc/tlssunbin64.rd: Update. + * ld-x86-64/tlsbin.rd: Update. + +2005-08-16 Hans-Peter Nilsson <hp@axis.com> + + * ld-cris/dso-1.s: Add missing alignment directive. + * ld-cris/libdso-10.d: Adjust accordingly. + +2005-08-16 Alan Modra <amodra@bigpond.net.au> + + * ld-alpha/tlsbin.rd: Adjust for dynamic sym changes. + * ld-alpha/tlsbinr.rd: Likewise. + * ld-alpha/tlspic.rd: Likewise. + * ld-arm/mixed-app.d: Likewise. + * ld-arm/mixed-app.sym: Likewise. + * ld-arm/mixed-lib.sym: Likewise. + * ld-arm/tls-app.d: Likewise. + * ld-arm/tls-app.r: Likewise. + * ld-cris/expdyn5.d: Likewise. + * ld-cris/expdyn6.d: Likewise. + * ld-cris/expdyn7.d: Likewise. + * ld-cris/gotplt1.d: Likewise. + * ld-cris/gotplt2.d: Likewise. + * ld-cris/gotplt3.d: Likewise. + * ld-cris/hiddef1.d: Likewise. + * ld-cris/libdso-10.d: Likewise. + * ld-cris/libdso-11.d: Likewise. + * ld-cris/libdso-12.d: Likewise. + * ld-cris/libdso-13.d: Likewise. + * ld-cris/libdso-14.d: Likewise. + * ld-cris/libdso-2.d: Likewise. + * ld-cris/pv32-1.d: Likewise. + * ld-cris/weakref2.d: Likewise. + * ld-frv/fdpic-pie-1.d: Likewise. + * ld-frv/fdpic-pie-2.d: Likewise. + * ld-frv/fdpic-pie-6.d: Likewise. + * ld-frv/fdpic-pie-7.d: Likewise. + * ld-frv/fdpic-pie-8.d: Likewise. + * ld-frv/fdpic-shared-1.d: Likewise. + * ld-frv/fdpic-shared-2.d: Likewise. + * ld-frv/fdpic-shared-3.d: Likewise. + * ld-frv/fdpic-shared-4.d: Likewise. + * ld-frv/fdpic-shared-5.d: Likewise. + * ld-frv/fdpic-shared-6.d: Likewise. + * ld-frv/fdpic-shared-7.d: Likewise. + * ld-frv/fdpic-shared-8.d: Likewise. + * ld-frv/fdpic-shared-local-2.d: Likewise. + * ld-frv/fdpic-shared-local-8.d: Likewise. + * ld-frv/fdpic-static-1.d: Likewise. + * ld-frv/fdpic-static-2.d: Likewise. + * ld-frv/fdpic-static-6.d: Likewise. + * ld-frv/fdpic-static-7.d: Likewise. + * ld-frv/fdpic-static-8.d: Likewise. + * ld-frv/tls-dynamic-1.d: Likewise. + * ld-frv/tls-dynamic-2.d: Likewise. + * ld-frv/tls-dynamic-3.d: Likewise. + * ld-frv/tls-initial-shared-2.d: Likewise. + * ld-frv/tls-pie-1.d: Likewise. + * ld-frv/tls-pie-3.d: Likewise. + * ld-frv/tls-relax-dynamic-1.d: Likewise. + * ld-frv/tls-relax-dynamic-2.d: Likewise. + * ld-frv/tls-relax-dynamic-3.d: Likewise. + * ld-frv/tls-relax-initial-shared-2.d: Likewise. + * ld-frv/tls-relax-pie-1.d: Likewise. + * ld-frv/tls-relax-pie-3.d: Likewise. + * ld-frv/tls-relax-shared-1.d: Likewise. + * ld-frv/tls-relax-shared-2.d: Likewise. + * ld-frv/tls-relax-shared-3.d: Likewise. + * ld-frv/tls-relax-static-1.d: Likewise. + * ld-frv/tls-shared-1.d: Likewise. + * ld-frv/tls-shared-2.d: Likewise. + * ld-frv/tls-shared-3.d: Likewise. + * ld-frv/tls-static-1.d: Likewise. + * ld-frv/tls-static-3.d: Likewise. + * ld-i386/tlsbin.rd: Likewise. + * ld-i386/tlsnopic.rd: Likewise. + * ld-i386/tlspic.rd: Likewise. + * ld-ia64/tlsbin.dd: Likewise. + * ld-ia64/tlsbin.rd: Likewise. + * ld-ia64/tlspic.dd: Likewise. + * ld-ia64/tlspic.rd: Likewise. + * ld-powerpc/tlsexe.g: Likewise. + * ld-powerpc/tlsexe.r: Likewise. + * ld-powerpc/tlsexe32.d: Likewise. + * ld-powerpc/tlsexe32.g: Likewise. + * ld-powerpc/tlsexe32.r: Likewise. + * ld-powerpc/tlsexetoc.g: Likewise. + * ld-powerpc/tlsexetoc.r: Likewise. + * ld-powerpc/tlsso.g: Likewise. + * ld-powerpc/tlsso.r: Likewise. + * ld-powerpc/tlsso32.d: Likewise. + * ld-powerpc/tlsso32.g: Likewise. + * ld-powerpc/tlsso32.r: Likewise. + * ld-powerpc/tlstocso.g: Likewise. + * ld-powerpc/tlstocso.r: Likewise. + * ld-s390/tlsbin.rd: Likewise. + * ld-s390/tlsbin_64.rd: Likewise. + * ld-s390/tlspic.rd: Likewise. + * ld-s390/tlspic_64.rd: Likewise. + * ld-sh/shared-1.d: Likewise. + * ld-sh/tlsbin-2.d: Likewise. + * ld-sh/tlsbin-3.d: Likewise. + * ld-sh/tlsbin-4.d: Likewise. + * ld-sh/tlspic-2.d: Likewise. + * ld-sh/sh64/abi32.xd: Likewise. + * ld-sh/sh64/abi64.xd: Likewise. + * ld-sh/sh64/cmpct1.xd: Likewise. + * ld-sh/sh64/crange1.rd: Likewise. + * ld-sh/sh64/crange2.rd: Likewise. + * ld-sh/sh64/crange3-cmpct.rd: Likewise. + * ld-sh/sh64/crange3-media.rd: Likewise. + * ld-sh/sh64/crange3.rd: Likewise. + * ld-sh/sh64/gotplt.d: Likewise. + * ld-sh/sh64/init-cmpct.d: Likewise. + * ld-sh/sh64/init-media.d: Likewise. + * ld-sh/sh64/init64.d: Likewise. + * ld-sh/sh64/mix1.xd: Likewise. + * ld-sh/sh64/mix2.xd: Likewise. + * ld-sh/sh64/sh64.exp: Likewise. + * ld-sh/sh64/shdl32.xd: Likewise. + * ld-sh/sh64/shdl64.xd: Likewise. + * ld-sparc/tlssunbin32.rd: Likewise. + * ld-sparc/tlssunbin64.rd: Likewise. + * ld-sparc/tlssunnopic32.rd: Likewise. + * ld-sparc/tlssunnopic64.rd: Likewise. + * ld-sparc/tlssunpic32.rd: Likewise. + * ld-sparc/tlssunpic64.rd: Likewise. + * ld-x86-64/tlsbin.rd: Likewise. + * ld-x86-64/tlspic.dd: Likewise. + * ld-x86-64/tlspic.rd: Likewise. + +2005-08-15 Alan Modra <amodra@bigpond.net.au> + + * ld-elf/empty.s: Define "start". + * ld-elf/merge2.d: xfail arc-*-* and dlx-*-*. + * ld-scripts/empty-aligned.s: No .data section. + * ld-scripts/empty-aligned.t: Discard most sections. + * ld-scripts/empty-aligned.d: Adjust. + +2005-08-11 Hans-Peter Nilsson <hp@axis.com> + + * ld-cris/expdyn1.s (expobj): Set size here, at definition... + * ld-cris/pv32.s: ...not here. + * ld-cris/expdyn1.d, ld-cris/libdso-12.d, ld-cris/locref1.d: + Adjust for expobj size being set at definition. + + * ld-cris/v32-ba-1.d: Regexpize to adjust for symbol change. + +2005-08-08 Richard Earnshaw <richard.earnshaw@arm.com> + + * ld-arm/mixed-app.sym: Expact _stack to be in the ABS section. + * ld-arm/mixed-lib.sym: Likewise. + * tls-lib.d: Use a regexp for the address locations. + * tls-lib.r: Likewise. + +2005-08-03 H.J. Lu <hongjiu.lu@intel.com> + + * ld-i386/pcrel16.d: Updated. + * ld-i386/pcrel16.s: Likewise. + * ld-x86-64/pcrel16.d: Likewise. + +2005-08-01 Richard Sandiford <richard@codesourcery.com> + + * ld-mips/mips-elf-flags.exp: Add more good_combination tests. + +2005-07-28 Ben Elliston <bje@gnu.org> + + * lib/ld-lib.exp (run_ld_link_exec_tests): Add new parameter + ${targets_to_xfail} that is applied for each test item. + * ld-elf/elf.exp: Pass *-*-netbsdelf* as an xfailed target. + +2005-07-27 Alan Modra <amodra@bigpond.net.au> + + * ld-elfweak/size2a.s: Extend test to check size for two weaks. + * ld-elfweak/size2b.s: Likewise. + * ld-elfweak/size2.d: Update. + +2005-07-18 Jan Beulich <jbeulich@novell.com> + + * ld-i386/abs.s, ld-i386/zero.s, ld-i386/abs.d, ld-x86-64/abs.d, + ld-i386/pcrel16.s, ld-i386/pcrel16.d, ld-x86-64/pcrel16.d, + ld-i386/pcrel8.s, ld-i386/pcrel8.d, ld-x86-64/pcrel8.d: New. + * ld-i386/i386.exp, ld-x86-64/x86-64.exp: Run new tests. + +2005-07-14 H.J. Lu <hongjiu.lu@intel.com> + + * lib/ld-lib.exp (run_ld_link_exec_tests): Ignore assembler + warnings. + +2005-07-14 H.J. Lu <hongjiu.lu@intel.com> + + * lib/ld-lib.exp (run_ld_link_exec_tests): Update comments. + +2005-07-14 H.J. Lu <hongjiu.lu@intel.com> + + * ld-elf/elf.exp (array_tests): New. + Call run_ld_link_exec_tests with array_tests. + + * ld-elf/fini.c: New file. + * ld-elf/fini.out: Likewise. + * ld-elf/init.c: Likewise. + * ld-elf/init.out: Likewise. + * ld-elf/preinit.c: Likewise. + * ld-elf/preinit.out: Likewise. + + * lib/ld-lib.exp (run_ld_link_exec_tests): New. + +2005-07-12 Alan Modra <amodra@bigpond.net.au> + + * ld-powerpc/sdalib.s (lib_var): Size it. + +2005-07-08 H.J. Lu <hongjiu.lu@intel.com> + + * ld-ia64/tlsbin.rd: Update for empty section removal change. + * ld-ia64/tlsbin.sd: Likewise. + * ld-ia64/tlspic.dd: Likewise. + * ld-ia64/tlspic.rd: Likewise. + * ld-ia64/tlspic.sd: Likewise. + * ld-x86-64/tlspic.dd: Likewise. + * ld-x86-64/tlspic.rd: Likewise. + +2005-07-08 Alan Modra <amodra@bigpond.net.au> + + * ld-cris/pv32.s: Give expobj a size. + * ld-cris/pv32-1.d: Update. + * ld-alpha/tlsbin.dd: Update for empty section removal change. + * ld-alpha/tlsbin.sd: Likewise. + * ld-alpha/tlsbin.td: Likewise. + * ld-alpha/tlsbinr.dd: Likewise. + * ld-alpha/tlsbinr.rd: Likewise. + * ld-alpha/tlspic.dd: Likewise. + * ld-alpha/tlspic.rd: Likewise. + * ld-alpha/tlspic.sd: Likewise. + * ld-alpha/tlspic.td: Likewise. + * ld-arm/tls-lib.d: Likewise. + * ld-arm/tls-lib.r: Likewise. + * ld-cris/gotplt2.d: Likewise. + * ld-cris/gotplt3.d: Likewise. + * ld-cris/hiddef1.d: Likewise. + * ld-cris/libdso-10.d: Likewise. + * ld-cris/libdso-11.d: Likewise. + * ld-cris/libdso-12.d: Likewise. + * ld-cris/libdso-14.d: Likewise. + * ld-cris/libdso-2.d: Likewise. + * ld-i386/tlsnopic.dd: Likewise. + * ld-i386/tlsnopic.rd: Likewise. + * ld-i386/tlsnopic.sd: Likewise. + * ld-i386/tlspic.rd: Likewise. + * ld-mmix/bpo-10.d: Likewise. + * ld-mmix/bpo-22.d: Likewise. + * ld-mmix/sec-7m.d: Likewise. + * ld-powerpc/tlsexe.r: Likewise. + * ld-powerpc/tlsexetoc.r: Likewise. + * ld-powerpc/tlsso.g: Likewise. + * ld-powerpc/tlsso.r: Likewise. + * ld-powerpc/tlsso32.d: Likewise. + * ld-powerpc/tlsso32.g: Likewise. + * ld-powerpc/tlsso32.r: Likewise. + * ld-powerpc/tlstocso.g: Likewise. + * ld-powerpc/tlstocso.r: Likewise. + +2005-06-23 Andreas Schwab <schwab@suse.de> + + * ld-elfweak/size_foo.c (foo): Fix warning about implicit return + type. + +2005-06-10 Alan Modra <amodra@bigpond.net.au> + + * ld-cris/libdso-10.d: Adjust for elf.sc .bss change. + * ld-cris/libdso-2.d: Likewise. + * ld-mmix/loc6.d: Likewise. + +2005-06-10 Alan Modra <amodra@bigpond.net.au> + + * ld-scripts/empty-aligned.t: Adjust alignment expressions so + that no .text? section is kept. Also check setting vma and + lma. + * ld-scripts/empty-aligned.d: Update. + +2005-06-09 Alan Modra <amodra@bigpond.net.au> + + * ld-scripts/empty-aligned.d: Adjust. + +2005-06-05 H.J. Lu <hongjiu.lu@intel.com> + + * ld-cris/hiddef1.d: Undo the last change. + * ld-cris/libdso-10.d: Likewise. + * ld-cris/libdso-2.d: Likewise. + +2005-06-04 H.J. Lu <hongjiu.lu@intel.com> + + * ld-cris/hiddef1.d: Updated. + * ld-cris/libdso-10.d: Likewise. + * ld-cris/libdso-2.d: Likewise. + +2005-06-02 Alan Modra <amodra@bigpond.net.au> + + * ld-powerpc/powerpc.exp (ppcelftests): Assemble sda test with -a32. + +2005-05-31 Zack Weinberg <zack@codesourcery.com> + + * ld-scripts/align.exp: Mark align1 XFAIL on PECOFF targets. + * ld-scripts/data.exp: Mark data UNSUPPORTED on a.out targets. + * ld-scripts/provide.exp, ld-scripts/size.exp: Mark all tests + UNSUPPORTED on a.out targets. Tidy. + +2005-05-27 Mark Mitchell <mark@codesourcery.com> + + * config/default.exp (CC): Use find_gcc. + (CFLAGS): Define, if no definition has been provided by the user. + (CXX): Likewise. + (CXXFLAGS): Likewise. + +2005-05-24 H.J. Lu <hongjiu.lu@intel.com> + + * ld-mmix/bpo-6.d: Updated. + * ld-mmix/bpo-19.d: Likewise. + +2005-05-22 Richard Henderson <rth@redhat.com> + + * ld-elfweak/dsow.dsym: Adjust for non-zero ST_OTHER. + * ld-elfweak/weak.dsym: Likewise. + + * ld-selective/selective.exp: Don't test alpha. + +2005-05-20 Daniel Jacobowitz <dan@codesourcery.com> + + * ld-powerpc/sdalib.s, ld-powerpc/sdadyn.s, ld-powerpc/sdadyn.d: New + files. + * ld-powerpc/powerpc.exp: Run the new test. + +2005-05-20 Bob Wilson <bob.wilson@acm.org> + + * ld-undefined/undefined.exp: Revert xfail for xtensa-*-*. + +2005-05-17 H.J. Lu <hongjiu.lu@intel.com> + + PR 797 + * empty-aligned.d: New file. + * empty-aligned.exp: Likewise. + * empty-aligned.s: Likewise. + * empty-aligned.t: Likewise. + +2005-05-11 Bob Wilson <bob.wilson@acm.org> + + * ld-undefined/undefined.exp: xfail xtensa-*-*. + +2005-05-07 Alan Modra <amodra@bigpond.net.au> + + * ld-powerpc/tlsexe32.d: Update for changed got layout. + * ld-powerpc/tlsexe32.g: Likewise. + * ld-powerpc/tlsexe32.r: Likewise. + * ld-powerpc/tlsso32.d: Likewise. + * ld-powerpc/tlsso32.g: Likewise. + * ld-powerpc/tlsso32.r: Likewise. + +2005-05-06 Nick Clifton <nickc@redhat.com> + + Update the address and phone number of the FSF organization in + the GPL notices in the following files: + * config/default.exp, ld-alpha/alpha.exp, ld-arm/arm-elf.exp, + ld-auto-import/auto-import.exp, ld-bootstrap/bootstrap.exp, + ld-cdtest/cdtest.exp, ld-checks/checks.exp, ld-cris/cris.exp, + ld-crx/crx.exp, ld-cygwin/exe-export.exp, ld-d10v/d10v.exp, + ld-discard/discard.exp, ld-elf/elf.exp, ld-elf/exclude.exp, + ld-elf/frame.exp, ld-elf/sec64k.exp, ld-elfcomm/elfcomm.exp, + ld-elfvers/vers.exp, ld-elfvsb/elfvsb.exp, ld-elfweak/elfweak.exp, + ld-fastcall/fastcall.exp, ld-frv/fdpic.exp, ld-frv/tls.exp, + ld-h8300/h8300.exp, ld-i386/i386.exp, ld-ia64/ia64.exp, + ld-linkonce/linkonce.exp, ld-m68hc11/m68hc11.exp, + ld-maxq/maxq.exp, ld-mips-elf/mips-elf-flags.exp, + ld-mips-elf/mips-elf.exp, ld-mmix/mmix.exp, ld-pe/pe.exp, + ld-powerpc/powerpc.exp, ld-s390/s390.exp, ld-scripts/align.exp, + ld-scripts/assert.exp, ld-scripts/crossref.exp, + ld-scripts/data.exp, ld-scripts/defined.exp, + ld-scripts/empty-orphan.exp, ld-scripts/map-address.exp, + ld-scripts/overlay-size.exp, ld-scripts/phdrs.exp, + ld-scripts/phdrs2.exp, ld-scripts/provide.exp, + ld-scripts/script.exp, ld-scripts/size.exp, ld-scripts/sizeof.exp, + ld-scripts/sort.exp, ld-scripts/weak.exp, + ld-selective/sel-dump.exp, ld-selective/selective.exp, + ld-sh/rd-sh.exp, ld-sh/arch/arch.exp, ld-sh/sh64/rd-sh64.exp, + ld-sh/sh64/relax.exp, ld-sh/sh64/relfail.exp, ld-sh/sh64/sh64.exp, + ld-shared/shared.exp, ld-sparc/sparc.exp, + ld-undefined/undefined.exp, ld-undefined/weak-undef.exp, + ld-versados/versados.exp, ld-x86-64/x86-64.exp, + ld-xstormy16/xstormy16.exp, ld-xtensa/coalesce.exp, + ld-xtensa/lcall.exp, lib/ld-lib.exp + +2005-05-05 Mike Frysinger <vapier@gentoo.org> + + * ld-srec/srec.exp: Replace linux-gnu with linux-* to allow for + versions of Linux which do not use glibc. + * ld-sh/sh.exp: Likewise + +2005-05-05 Paul Brook <paul@codesourcery.com> + + * lib/ld-lib.exp (regexp_diff): Pass test if last line is "#...". + * ld-elfweak/elfweak.exp: Run size2.d. + * ld-elfweak/size2.d: New file. + * ld-elfweak/size2a.s: New file. + * ld-elfweak/size2b.s: New file. + +2005-04-26 Mark Kettenis <kettenis@gnu.org> + + * ld-fastcall/fastcall.exp: Don't run on i*86-*-openbsd*. + + * ld-srec/srec.exp (run_srec_test): Deal with ProPolice on + *-*-openbsd*. + +2005-04-25 H.J. Lu <hongjiu.lu@intel.com> + + * ld-discard/extern.d: Expect error. + * ld-discard/start.d: Likewise. + * ld-discard/static.d: Likewise. + +2005-04-19 Alan Modra <amodra@bigpond.net.au> + + * ld-powerpc/reloc.d: Update to suit removal of non-alloc relocs. + +2005-04-15 Alan Modra <amodra@bigpond.net.au> + + * ld-d10v/default_layout.d: Update for unused section removal. + +2005-04-14 David S. Miller <davem@davemloft.net> + + * ld-selective/sel-dump.exp: Do not exclude sparc64-*. + * ld-selective/selective.exp: Likewise. + * ld-sparc/sparc.exp: Add {32,64}-bit prefix to test + names so we know which one is failing. Run sparc64 TLS + tests on multi-arch sparc platforms. + * ld-sparc/tls64.sd, ld-sparc/tlssunbin64.dd, + ld-sparc/tlssunbin64.rd, ld/ld-sparc/tlssunbin64.sd, + ld-sparc/tlssunbin64.td, ld-sparc/tlssunnopic64.dd, + ld-sparc/tlssunnopic64.rd, ld-sparc/tlssunnopic64.sd, + ld-sparc/tlssunpic64.dd, ld-sparc/tlssunpic64.rd, + ld-sparc/tlssunpic64.sd, ld-sparc/tlssunpic64.td): Update now + that sparc64 ELF does support TLS. + +2005-04-13 H.J. Lu <hongjiu.lu@intel.com> + + * ld-elf/empty.d: New file. + * ld-elf/empty.s: Likewise. + +2005-04-11 David S. Miller <davem@davemloft.net> + + * ld-sparc/tlssunbin32.dd: Update for TLS relocation fixes. + * ld-sparc/tlssunbin32.rd: Likewise. + * ld-sparc/tlssunbin32.sd: Likewise. + * ld-sparc/tlssunpic32.dd: Likewise. + +2005-03-30 Julian Brown <julian@codesourcery.com> + + * ld-arm/arm-app-abs32.d: Update expected output due to mapping symbols + being untyped. + * ld-arm/arm-app.d: Likewise. + * ld-arm/mixed-app.d: Likewise. + +2005-03-29 Daniel Jacobowitz <dan@codesourcery.com> + + * ld-arm/tls-lib.s, ld-arm/tls-lib.d, ld-arm/tls-lib.r, + ld-arm/tls-app.s, ld-arm/tls-app.d, ld-arm/tls-app.r: New files. + * ld-arm/arm-lib.ld, ld-arm/arm-dyn.ld: Increase data segment + alignment. + * ld-arm/arm-elf.exp: Run TLS tests. + +2005-03-28 H.J. Lu <hongjiu.lu@intel.com> + + PR 803 + * ld-ia64/ia64.exp: Pass -mtune=itanium1 to as. + +2005-03-24 Mark Mitchell <mark@codesourcery.com> + + * config/default.exp: Do not load libpath.exp if it does not + exist. + (CC): Provide fallback definition. + +2005-03-24 Eric Christopher <echristo@redhat.com> + + * ld-mips-elf/rel32-n32.d: Revert changes. + * ld-mips-elf/rel32-o32.d: Ditto. + * ld-mips-elf/rel64.d: Ditto. + +2005-03-23 Eric Christopher <echristo@redhat.com> + + * ld-mips-elf/textrel-1.s, ld-mips-elf/textrel-1.d: New + test. + * ld-mips-elf/mips-elf.exp: Call it. + * ld-mips-elf/rel32-n32.d: Update for DF_TEXTREL removal. + * ld-mips-elf/rel32-o32.d: Ditto. + * ld-mips-elf/rel64.d: Ditto. + +2005-03-23 H.J. Lu <hongjiu.lu@intel.com> + + * ld-cris/expdyn5.d: Updated for alignment change in elf.sc. + * ld-cris/expdyn6.d: Likewise. + * ld-cris/expdyn7.d: Likewise. + * ld-cris/gotplt1.d: Likewise. + * ld-cris/gotplt2.d: Likewise. + * ld-cris/gotplt3.d: Likewise. + * ld-cris/libdso-10.d: Likewise. + * ld-cris/libdso-11.d: Likewise. + * ld-cris/libdso-12.d: Likewise. + * ld-cris/libdso-14.d: Likewise. + * ld-cris/libdso-2.d: Likewise. + * ld-cris/locref1.d: Likewise. + * ld-cris/locref2.d: Likewise. + * ld-cris/nodyn5.d: Likewise. + * ld-cris/pv32-1.d: Likewise. + * ld-cris/weakref2.d: Likewise. + +2005-03-23 Alan Modra <amodra@bigpond.net.au> + + * ld-elf/tbss.s: Don't start directives in first column. + * ld-scripts/weak1.s: Likewise. + * ld-scripts/weak2.s: Likewise. + * ld-undefined/weak-undef.s: Likewise. + * ld-undefined/undefined.exp: Enable tests for hppa-elf. + +2005-03-22 Alan Modra <amodra@bigpond.net.au> + + * ld-powerpc/tlsexe32.r: Update. + * ld-powerpc/tlsso32.d: Update. + * ld-powerpc/tlsso32.g: Update. + * ld-powerpc/tlsso32.r: Update. + +2005-03-21 Alan Modra <amodra@bigpond.net.au> + + * ld-powerpc/tlsexe.r: Update. + * ld-powerpc/tlsexetoc.r: Update. + * ld-powerpc/tlsso.r: Update. + * ld-powerpc/tlstocso.r: Update. + +2005-03-20 H.J. Lu <hongjiu.lu@intel.com> + + * ld-mmix/bpo-1.d: Updated for empty section removal. + * ld-mmix/bpo-10.d: Likewise. + * ld-mmix/bpo-11.d: Likewise. + * ld-mmix/bpo-14.d: Likewise. + * ld-mmix/bpo-16.d: Likewise. + * ld-mmix/bpo-17.d: Likewise. + * ld-mmix/bpo-18.d: Likewise. + * ld-mmix/bpo-19.d: Likewise. + * ld-mmix/bpo-2.d: Likewise. + * ld-mmix/bpo-3.d: Likewise. + * ld-mmix/bpo-4.d: Likewise. + * ld-mmix/bpo-5.d: Likewise. + * ld-mmix/bpo-6.d: Likewise. + * ld-mmix/bpo-9.d: Likewise. + * ld-mmix/bspec1.d: Likewise. + * ld-mmix/bspec2.d: Likewise. + * ld-mmix/greg-1.d: Likewise. + * ld-mmix/greg-19.d: Likewise. + * ld-mmix/greg-2.d: Likewise. + * ld-mmix/greg-3.d: Likewise. + * ld-mmix/greg-4.d: Likewise. + * ld-mmix/greg-5.d: Likewise. + * ld-mmix/greg-5s.d: Likewise. + * ld-mmix/greg-6.d: Likewise. + * ld-mmix/greg-7.d: Likewise. + * ld-mmix/loc1.d: Likewise. + * ld-mmix/loc2.d: Likewise. + * ld-mmix/loc3.d: Likewise. + * ld-mmix/loc4.d: Likewise. + * ld-mmix/loc6.d: Likewise. + * ld-mmix/local1.d: Likewise. + * ld-mmix/local12.d: Likewise. + * ld-mmix/local3.d: Likewise. + * ld-mmix/local5.d: Likewise. + * ld-mmix/local7.d: Likewise. + * ld-mmix/locdo-1.d: Likewise. + * ld-mmix/loct-1.d: Likewise. + * ld-mmix/locto-1.d: Likewise. + * ld-mmix/start-1.d: Likewise. + * ld-mmix/undef-3.d: Likewise. + +2005-03-16 David Heine <dlheine@tensilica.com> + Bob Wilson <bob.wilson@acm.org> + + * ld-scripts/empty-orphan.d, ld-scripts/empty-orphan.exp, + ld-scripts/empty-orphan.s, ld-scripts/emtpy-orphan.t: New test. + +2005-03-16 H.J. Lu <hongjiu.lu@intel.com> + + * ld-cris/hiddef1.d: Updated for empty section removal. + * ld-cris/libdso-10.d: Likewise. + * ld-cris/libdso-2.d: Likewise. + +2005-03-16 H.J. Lu <hongjiu.lu@intel.com> + + * ld-alpha/tlsbin.rd: Updated for empty section removal. + * ld-alpha/tlsbinr.rd: Likewise. + * ld-alpha/tlspic.rd: Likewise. + * ld-arm/mixed-lib.sym: Likewise. + * ld-i386/tlsbin.rd: Likewise. + * ld-i386/tlsnopic.rd: Likewise. + * ld-i386/tlspic.rd: Likewise. + * ld-ia64/tlsbin.rd: Likewise. + * ld-ia64/tlspic.rd: Likewise. + * ld-powerpc/apuinfo.rd: Likewise. + * ld-powerpc/powerpc.exp: Likewise. + * ld-powerpc/tlsexe32.r: Likewise. + * ld-s390/tlsbin.rd: Likewise. + * ld-s390/tlsbin_64.rd: Likewise. + * ld-s390/tlspic.rd: Likewise. + * ld-s390/tlspic_64.rd: Likewise. + * ld-sh/tlsbin-2.d: Likewise. + * ld-sh/tlspic-2.d: Likewise. + * ld-sparc/tlssunbin32.rd: Likewise. + * ld-sparc/tlssunnopic32.rd: Likewise. + * ld-sparc/tlssunpic32.rd: Likewise. + * ld-x86-64/tlsbin.rd: Likewise. + * ld-x86-64/tlspic.rd: Likewise. + +2005-03-16 Alan Modra <amodra@bigpond.net.au> + + * ld-powerpc/tlsexe32.d: Update. + * ld-powerpc/tlsexe32.g: Update. + * ld-powerpc/tlsexe32.r: Update. + * ld-powerpc/tlsexe32.t: Update. + * ld-powerpc/tlsso32.d: Update. + * ld-powerpc/tlsso32.g: Update. + * ld-powerpc/tlsso32.r: Update. + * ld-powerpc/tlsso32.t: Update. + +2005-03-08 Hans-Peter Nilsson <hp@axis.com> + + Adjust testsuite for cris-axis-aout. + * ld-cris/noglob1.d: Adjust regexp for a.out output. + * ld-cris/badgotr1.d, ld-cris/expdyn1.d, ld-cris/expdyn2.d, + ld-cris/expdyn3.d, ld-cris/expdyn4.d, ld-cris/expdyn5.d, + ld-cris/expdyn6.d, ld-cris/expdyn7.d, ld-cris/gotplt1.d, + ld-cris/gotplt2.d, ld-cris/gotplt3.d, ld-cris/hiddef1.d, + ld-cris/libdso-1.d, ld-cris/libdso-10.d, ld-cris/libdso-11.d, + ld-cris/libdso-12.d, ld-cris/libdso-13.d, ld-cris/libdso-14.d, + ld-cris/libdso-2.d, ld-cris/libdso-3.d, ld-cris/libdso-4.d, + ld-cris/locref1.d, ld-cris/locref2.d, ld-cris/nodyn4.d, + ld-cris/nodyn5.d, ld-cris/pv32-1.d, ld-cris/undef1.d, + ld-cris/weakref1.d: ld-cris/weakref2.d: Pass --em=criself to gas. + * ld-cris/v10-v32.d, ld-cris/v10-va.d, ld-cris/v32-ba-1.d, + ld-cris/v32-v10.d, ld-cris/v32-va.d, ld-cris/va-v10.d, + ld-cris/va-v32.d: Ditto. Pass -m criself to gld. + * ld-cris/v32-bin-1.d: Pass -m criself to gld. + +2005-03-05 Alan Modra <amodra@bigpond.net.au> + + * ld-alpha/tlsbin.dd: Update to suit changed section layout and + removed section symbols. + * ld-alpha/tlsbin.rd: Likewise. + * ld-alpha/tlsbin.sd: Likewise. + * ld-alpha/tlsbinr.dd: Likewise. + * ld-alpha/tlsbinr.rd: Likewise. + * ld-alpha/tlspic.dd: Likewise. + * ld-alpha/tlspic.rd: Likewise. + * ld-alpha/tlspic.sd: Likewise. + + * ld-powerpc/tlsexe.g: Update for removed dot-symbols. + * ld-powerpc/tlsexe.r: Likewise. + * ld-powerpc/tlsexetoc.g: Likewise. + * ld-powerpc/tlsexetoc.r: Likewise. + +2005-03-04 David Daney <ddaney@avtrex.com> + + * ld-mips-elf/multi-got-no-shared-1.s, + ld-mips-elf/multi-got-no-shared-2.s, + ld-mips-elf/multi-got-no-shared.d: New tests. + * ld-mips-elf/mips-elf.exp: Run them. + +2005-03-02 Daniel Jacobowitz <dan@codesourcery.com> + + * ld-mips-elf/tlsbin-o32.s, ld-mips-elf/mips-dyn.ld, + ld-mips-elf/tlslib-o32.got, ld-mips-elf/tlslib-o32.d, + ld-mips-elf/tlslib-o32.s, ld-mips-elf/mips-lib.ld, + ld-mips-elf/tlsbin-o32.got, ld-mips-elf/tlsdyn-o32.d, + ld-mips-elf/tlsdyn-o32.got, ld-mips-elf/tlsbin-o32.d, + ld-mips-elf/tlsdyn-o32.s, ld-mips-elf/tls-multi-got-1.got, + ld-mips-elf/tls-multi-got-1-1.s, ld-mips-elf/tls-multi-got-1.d, + ld-mips-elf/tls-multi-got-1.r, ld-mips-elf/tls-multi-got-1-2.s, + ld-mips-elf/tlslib-o32-ver.got, ld-mips-elf/tlslib.ver, + ld-mips-elf/tlslib-o32-hidden.got, ld-mips-elf/tlslib-hidden.ver, + ld-mips-elf/tlsdyn-o32-1.d, ld-mips-elf/tlsdyn-o32-3.got, + ld-mips-elf/tlsdyn-o32-2.d, ld-mips-elf/tlsdyn-o32-2.s, + ld-mips-elf/tlsdyn-o32-3.d, ld-mips-elf/tlsdyn-o32-1.got, + ld-mips-elf/tlsdyn-o32-2.got: New files. + * ld-mips-elf/mips-elf.exp: Run the new tests. + +2005-03-01 Nick Clifton <nickc@redhat.com> + + * ld-d10v/default_layout.d: Adjust expected offsets to allow for + section alignment. + + * ld-discard/extern.d: Adjust expected warning to take into + account the fact that the linker's name might be included and that + the reloc might have been adjusted to be against the section + symbol. + +2005-02-22 Eric Christopher <echristo@redhat.com> + + * ld-mips-elf/reloc-merge-lo16.d: Correct symbol + table size for __start. + +2005-02-22 Daniel Jacobowitz <dan@codesourcery.com> + + * ld-elfvsb/hidden2.d: Expect OBJECT. + * ld-elfvsb/hidden2.s: Force type OBJECT. + * ld-elfvsb/hidden2.ld: Place .dynamic explicitly. + * ld-elf/start.s: Provide __start for MIPS. + * ld-elfcomm/elfcomm.exp: Accept MIPS common section. XFAIL size change + test. + * ld-elf/warn1.d: Use group.ld instead of -Ttext. + +2005-02-21 Alan Modra <amodra@bigpond.net.au> + + * lib/ld-lib.exp (run_dump_test): Don't require a dump program if + #warning given. Rearrange to allow $program to remain unset. + Don't allow gas errors. Append objcopy_as_link output to that + from the linker before testing against expected output. Fail the + test if warning not found when expected. Conversely fail the + test if ld errors or warnings given when not expected. + +2005-02-21 Alan Modra <amodra@bigpond.net.au> + + * ld-elf/exclude1.s: Use ".dc.a". + * ld-elfvsb/hidden2.s: Likewise. + +2005-02-21 Alan Modra <amodra@bigpond.net.au> + + * ld-elf/warn1.d: Specify -Ttext. + * ld-scripts/align.exp (align2a, align2b: Don't run on aout targets. + * ld-scripts/align2.t: Discard all but .text and .data. + * ld-scripts/align2a.d: Accept non-readonly for coff. + * ld-scripts/align2b.d: Likewise. + * lib/ld-lib.exp (is_aout_format): New function. + +2005-02-18 Alan Modra <amodra@bigpond.net.au> + + * ld-scripts/align2a.d: Don't assume anything about section + padding or alignment, or max page size. Allow 64-bit addresses. + * ld-scripts/align2b.d: Likewise. + +2005-02-17 Zack Weinberg <zack@codesourcery.com> + + * ld-scripts/align.exp: Rename existing "ALIGN" test to "align1". + Add dump tests "align2a", "align2b", "align2c". + * ld-scripts/align2.t, ld-scripts/align2a.s, ld-scripts/align2a.d + * ld-scripts/align2b.s, ld-scripts/align2b.d + * ld-scripts/align2c.s, ld-scripts/align2c.d: New files. + +2005-02-17 Alexandre Oliva <aoliva@redhat.com> + + * ld-frv/fdpic-static-6.d: Update. + * ld-frv/fdpic*.d: Remove explicit -mfdpic from #as. Update + spelling of errors and warnings. + +2005-02-15 Nigel Stephens <nigel@mips.com> + Maciej W. Rozycki <macro@mips.com> + + * ld-mips-elf/mips16-hilo.d: New test for the R_MIPS16_HI16 and + R_MIPS16_LO16 relocs. + * ld-mips-elf/mips16-hilo-n32.d: Likewise, for the n32 ABI. + * ld-mips-elf/mips16-hilo.s: Auxiliary source for the new tests. + * ld-mips-elf/mips-elf.exp: Run the new tests. + +2005-02-14 Eric Botcazou <ebotcazou@libertysurf.fr> + + * ld-sparc/sparc.exp: Enable on Solaris. Disable 32-bit tests + on sparc64-elf. + +2005-02-13 Jan Beulich <jbeulich@novell.com> + + * ld-elfvers/vers.exp (as_options): New. Set to -x for ia64. + (build_binary): Pass as_options to ld_assemble. + (test_ldfail): Likewise. + (build_exec): Likewise. + Pass as_options to run_ld_link_tests. + * ld-ia64/tlsbin.s: Add .explicit. + * ld-ia64/tlsbinpic.s: Likewise. + * ld-ia64/tlspic1.s: Likewise. + +2005-02-13 Eric Botcazou <ebotcazou@libertysurf.fr> + + * ld-sparc/tlssunnopic32.rd: Adjust for .dynsym changes. + * ld-sparc/tlssunpic32.rd: Likewise. + +2005-02-13 Eric Botcazou <ebotcazou@libertysurf.fr> + + * ld-elf/warn1.d: Do not run on sparc64-*-solaris2*. + +2005-02-11 Paul Brook <paul@codesourcery.com> + + * ld-elf/symbol1w.s: Avoid using @function syntax. + +2005-02-12 Alan Modra <amodra@bigpond.net.au> + + * ld-elfvsb/hidden2.s: Replace .word with .long. + +2005-02-10 Paul Brook <paul@codesourcery.com> + + * ld-elfvsb/hidden2.s: New file + * ld-elfvsb/hidden2.d: New file + * ld-elfvsb/hidden2.ld: New file + +2005-02-07 Alexandre Oliva <aoliva@redhat.com> + + * ld-frv/fdpic-shared-8-fail.d: Tweak error messages. + +2005-02-07 Hans-Peter Nilsson <hp@axis.com> + + * ld-cris/libdso-13.d: Adjust for being identified as warning. + + * ld-cris/globsymw2.s: New file. + * ld-cris/warn3.d, ld-cris/warn4.d: New tests. + + * ld-discard/extern.d, ld-discard/start.d, ld-discard/static.d: + Adjust for being identified as warnings. + + * ld-cris/stabs1.s: New file. + * ld-cris/undef2.d, ld-cris/undef3.d: New tests. + + * ld-elf/start.s, ld-elf/symbolref.s, ld-elf/symbol1w.s, + ld-elf/warn1.d: New test. + + * lib/ld-lib.exp: Support new directive "warning". + +2005-02-02 Daniel Jacobowitz <dan@codesourcery.com> + + * ld-mips-elf/eh-frame3.d, ld-mips-elf/eh-frame4.d: Move comments + after test commands. + * ld-mips-elf/mips-elf.exp: Skip multi-got-1 on non-GNU/Linux + systems. + +2005-02-01 Alan Modra <amodra@bigpond.net.au> + + * ld-powerpc/tlsso.r: Update. + * ld-powerpc/tlstocso.r: Update. + +2005-01-31 Daniel Jacobowitz <dan@codesourcery.com> + + * ld-mips-elf/elf-rel-got-n32.d, ld-mips-elf/elf-rel-got-n64-linux.d, + ld-mips-elf/elf-rel-got-n64.d, ld-mips-elf/elf-rel-xgot-n32.d, + ld-mips-elf/elf-rel-xgot-n64-linux.d, ld-mips-elf/elf-rel-xgot-n64.d, + ld-mips-elf/jalbal.d: Force big-endian. + * ld-mips-elf/multi-got-1.d: Make more flexible. + * ld-mips-elf/rel32-n32.d, ld-mips-elf/rel32-o32.d, + ld-mips-elf/rel64.d: Update offsets. + +2005-01-31 Daniel Jacobowitz <dan@codesourcery.com> + + * ld-elf/group1.d: Accept OBJECT symbols. + +2005-01-31 Richard Sandiford <rsandifo@redhat.com> + + * ld-mips-elf/eh-frame1.s: Create a .gcc_compiled_long32 if using + 32-bit pointers. + * ld-mips-elf/eh-frame1.d: Link in .gcc_compiled_long32 sections. + * ld-mips-elf/eh-frame[34].d: New tests. + * ld-mips-elf/mips-elf.exp: Run them. + +2005-01-28 Jan Beulich <jbeulich@novell.com> + + * ld/ia64/tlsbin.[rt]d: Widen expected offset/size ranges. + * ld/ia64/tlspic.[rt]d: Likewise. + +2005-01-25 Alexandre Oliva <aoliva@redhat.com> + + * ld-frv/fdpic.exp: Add -mfdpic to ASFLAGS. + * ld-frv/tls.exp: Likewise. + 2004-11-26 Alexandre Oliva <aoliva@redhat.com> + * ld-frv/tls-3.s: New. + * ld-frv/tls-static-3.d: New. + * ld-frv/tls-dynamic-3.d: New. + * ld-frv/tls-pie-3.d: New. + * ld-frv/tls-shared-3.d: New. + * ld-frv/tls-relax-static-3.d: New. + * ld-frv/tls-relax-dynamic-3.d: New. + * ld-frv/tls-relax-pie-3.d: New. + * ld-frv/tls-relax-shared-3.d: New. + * ld-frv/tls.exp: Run the new tests. + * ld-frv/tls-dynamic-2.d: Adjust for improved relaxation. + * ld-frv/tls-relax-dynamic-2.d: Likewise. + * ld-frv/tls-relax-initial-shared-2.d: Likewise. + 2004-11-10 Alexandre Oliva <aoliva@redhat.com> + * ld-frv/tls-1-dep.s: New. + * ld-frv/tls-1-shared.lds: New. + * ld-frv/tls-1.s: New. + * ld-frv/tls-2.s: New. + * ld-frv/tls-dynamic-1.d: New. + * ld-frv/tls-dynamic-2.d: New. + * ld-frv/tls-initial-shared-2.d: New. + * ld-frv/tls-pie-1.d: New. + * ld-frv/tls-relax-dynamic-1.d: New. + * ld-frv/tls-relax-dynamic-2.d: New. + * ld-frv/tls-relax-initial-shared-2.d: New. + * ld-frv/tls-relax-pie-1.d: New. + * ld-frv/tls-relax-shared-1.d: New. + * ld-frv/tls-relax-shared-2.d: New. + * ld-frv/tls-relax-static-1.d: New. + * ld-frv/tls-shared-1-fail.d: New. + * ld-frv/tls-shared-1.d: New. + * ld-frv/tls-shared-2.d: New. + * ld-frv/tls-static-1.d: New. + * ld-frv/tls.exp: New. + * ld-frv/fdpic-pie-1.d: Adjust for 64-bit host. + * ld-frv/fdpic-pie-2.d: Likewise. + * ld-frv/fdpic-pie-6.d: Likewise. + * ld-frv/fdpic-pie-7.d: Likewise. + * ld-frv/fdpic-pie-8.d: Likewise. + * ld-frv/fdpic-shared-1.d: Likewise. + * ld-frv/fdpic-shared-2.d: Likewise. + * ld-frv/fdpic-shared-3.d: Likewise. + * ld-frv/fdpic-shared-4.d: Likewise. + * ld-frv/fdpic-shared-5.d: Likewise. + * ld-frv/fdpic-shared-6.d: Likewise. + * ld-frv/fdpic-shared-7.d: Likewise. + * ld-frv/fdpic-shared-8.d: Likewise. + * ld-frv/fdpic-shared-local-2.d: Likewise. + * ld-frv/fdpic-shared-local-8.d: Likewise. + * ld-frv/fdpic-static-1.d: Likewise. + * ld-frv/fdpic-static-2.d: Likewise. + * ld-frv/fdpic-static-6.d: Likewise. + * ld-frv/fdpic-static-7.d: Likewise. + * ld-frv/fdpic-static-8.d: Likewise. + +2005-01-17 Richard Sandiford <rsandifo@redhat.com> + + * ld-mips-elf/eh-frame2-{n32,n64}.d: New tests. + * ld-mips-elf/mips-elf.exp: Run them. + +2005-01-17 Andrew Stubbs <andrew.stubbs@st.com> + + * ld-sh/arch/arch.exp: Correct the email address. + Correct a few comment typos. + (test_arch,test_arch_error): Use 'ld -r' to avoid illegal + relocations killing the test. + * ld-sh/arch/arch_expected.txt: Update/Correct the test results. + * ld-sh/arch/sh2a-nofpu-or-sh3-nommu.s: Regenerate. + * ld-sh/arch/sh2a-nofpu-or-sh4-nommu-nofpu.s: Regenerate. + * ld-sh/arch/sh2a-nofpu.s: Generate new file. + * ld-sh/arch/sh2a-or-sh3e.s: Regenerate. + * ld-sh/arch/sh2a-or-sh4.s: Regenerate. + * ld-sh/arch/sh2a.s: Generate new file. + * ld-sh/arch/sh2e.s: Regenerate. + * ld-sh/arch/sh2.s: Regenerate. + * ld-sh/arch/sh3-dsp.s: Regenerate. + * ld-sh/arch/sh3e.s: Regenerate. + * ld-sh/arch/sh3-nommu.s: Regenerate. + * ld-sh/arch/sh3.s: Regenerate. + * ld-sh/arch/sh4al-dsp.s: Regenerate. + * ld-sh/arch/sh4a-nofpu.s: Regenerate. + * ld-sh/arch/sh4a.s: Regenerate. + * ld-sh/arch/sh4-nofpu.s: Regenerate. + * ld-sh/arch/sh4-nommu-nofpu.s: Regenerate. + * ld-sh/arch/sh4.s: Regenerate. + * ld-sh/arch/sh-dsp.s: Regenerate. + * ld-sh/arch/sh.s: Regenerate. + +2005-01-11 Kaz Kojima <kkojima@rr.iij4u.or.jp> + + * ld-sh/shared-1.d: Update for changed dynamic syms. + * ld-sh/sh64/gotplt.d: Likewise. + * ld-sh/sh64/init-cmpct.d: Likewise. + * ld-sh/sh64/init-media.d: Likewise. + * ld-sh/sh64/init64.d: Likewise. + +For older changes see ChangeLog-2004 + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 6477d6c..9083afa 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,6 +1,6 @@ 2006-01-16 Paul Brook <paul@codesourcery.com> - * m68k-opc.c(m68k_opcodes): Fix opcodes for ColdFire f?abss, + * m68k-opc.c (m68k_opcodes): Fix opcodes for ColdFire f?abss, f?add?, and f?sub? instructions. 2006-01-16 Nick Clifton <nickc@redhat.com> @@ -24,1985 +24,7 @@ * cgen-ibld.in (extract_normal): Avoid memory range errors. * m32c-ibld.c: Regenerated. -2005-12-27 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - * po/POTFILES.in: Regenerate. - -2005-12-22 Laurent Menten <laurent.menten@teledisnet.be> - - * pj-opc.c (jsr, ret, getstatic, putstatic, getfield, putfield, - invokevirtual, invokespecial, invokestatic, invokeinterface, - goto_w, jsr_w, ldc_quick, ldc_w_quick, ldc2_w_quick, - getfield_quick, putfield_quick, getfield2_quick, putfield2_quick, - getstatic_quick, putstatic_quick, getstatic2_quick, - putstatic2_quick, invokevirtual_quick, invokenonvirtual_quick, - invokesuper_quick, invokestatic_quick, invokeinterface_quick, - aastore_quick, new_quick, anewarray_quick, multianewarray_quick, - checkcast_quick, instanceof_quick, invokevirtiual_quick_w, - getfield_quick_w, putfield_quick_w, nonnull_quick, - agetfield_quick, aputfield_quick, agetstatic_quick, - aputstatic_quick, aldc_quick, aldc_w_quick, exit_sync_method): Fix - opcodes. - -2005-12-16 Nathan Sidwell <nathan@codesourcery.com> - - Second part of ms1 to mt renaming. - * Makefile.am (HFILES, CFILES, ALL_MACHINES): Adjust. - (stamp-mt): Adjust rule. - (mt-asm.lo, mt-desc.lo, mt-dis.lo, mt-ibld.lo, mt-opc.lo): Rename & - adjust. - * Makefile.in: Rebuilt. - * configure: Rebuilt. - * configure.in (bfd_mt_arch): Rename & adjust. - * disassemble.c (ARCH_mt): Renamed. - (disassembler): Adjust. - * mt-asm.c: Renamed, rebuilt. - * mt-desc.c: Renamed, rebuilt. - * mt-desc.h: Renamed, rebuilt. - * mt-dis.c: Renamed, rebuilt. - * mt-ibld.c: Renamed, rebuilt. - * mt-opc.c: Renamed, rebuilt. - * mt-opc.h: Renamed, rebuilt. - -2005-12-13 DJ Delorie <dj@redhat.com> - - * m32c-desc.c: Regenerate. - * m32c-opc.c: Regenerate. - * m32c-opc.h: Regenerate. - -2005-12-12 Nathan Sidwell <nathan@codesourcery.com> - - * Makefile.am (CLEANFILES, CGEN_CPUS, MT_DEPS): Replace ms1 with mt. - * Makefile.in: Rebuilt. - * configure.in: Replace ms1 files with mt files. - * configure: Rebuilt. - -2005-12-08 Jan Beulich <jbeulich@novell.com> - - * i386-dis.c (MAXLEN): Reduce to architectural limit. - (fetch_data): Check for sufficient buffer size. - -2005-12-08 Jan Beulich <jbeulich@novell.com> - - * i386-dis.c (OP_ST): Remove prefix in Intel mode. - -2005-12-08 Daniel Jacobowitz <dan@codesourcery.com> - - * i386-dis.c (dofloat): Handle %rip-relative floating point addressing. - -2005-12-07 Hans-Peter Nilsson <hp@axis.com> - - * cris-opc.c (cris_opcodes) <"move" "s,P">: Define using - MOVE_M_TO_PREG_OPCODE and MOVE_M_TO_PREG_ZBITS instead of constants. - -2005-12-06 H.J. Lu <hongjiu.lu@intel.com> - - PR gas/1874 - * i386-dis.c (address_mode): New enum type. - (address_mode): New variable. - (mode_64bit): Removed. - (ckprefix): Updated to check address_mode instead of mode_64bit. - (prefix_name): Likewise. - (print_insn): Likewise. - (putop): Likewise. - (print_operand_value): Likewise. - (intel_operand_size): Likewise. - (OP_E): Likewise. - (OP_G): Likewise. - (set_op): Likewise. - (OP_REG): Likewise. - (OP_I): Likewise. - (OP_I64): Likewise. - (OP_OFF): Likewise. - (OP_OFF64): Likewise. - (ptr_reg): Likewise. - (OP_C): Likewise. - (SVME_Fixup): Likewise. - (print_insn): Set address_mode. - (PNI_Fixup): Add 64bit and address size override support for - monitor and mwait. - -2005-12-06 Hans-Peter Nilsson <hp@axis.com> - - * cris-dis.c (bytes_to_skip): Handle new parameter prefix_matchedp. - (print_with_operands): Check for prefix when [PC+] is seen. - -2005-12-02 Dave Brolley <brolley@redhat.com> - - * configure.in (cgen_files): Add cgen-bitset.lo. - (ta): Add cgen-bitset.lo when arch==bfd_cris_arch. - * Makefile.am (CFILES): Add cgen-bitset.c. - (ALL_MACHINES): Add cgen-bitset.lo. - (cgen-bitset.lo): New target. - * cgen-opc.c (cgen_bitset_create, cgen_bitset_init, cgen_bitset_clear) - (cgen_bitset_add, cgen_bitset_set, cgen_bitset_contains) - (cgen_bitset_compare, cgen_bitset_intersect_p, cgen_bitset_copy) - (cgen_bitset_union): Moved from here ... - * cgen-bitset.c: ... to here. New file. - * Makefile.in: Regenerated. - * configure: Regenerated. - -2005-11-22 James E Wilson <wilson@specifix.com> - - * ia64-gen.c (_opcode_int64_low, _opcode_int64_high, - opcode_fprintf_vma): New. - (print_main_table): New opcode_fprintf_vma instead of fprintf_vma. - -2005-11-16 Alan Modra <amodra@bigpond.net.au> - - * ppc-opc.c (powerpc_opcodes): Add frin,friz,frip,frim. Correct - frsqrtes. - -2005-11-14 David Ung <davidu@mips.com> - - * mips16-opc.c: Add MIPS16e save/restore opcodes. - * mips-dis.c (print_mips16_insn_arg): Handle printing of 'm'/'M' - codes for save/restore. - -2005-11-10 Andreas Schwab <schwab@suse.de> - - * m68k-dis.c (print_insn_m68k): Only match FPU insns with - coprocessor ID 1. - -2005-11-08 H.J. Lu <hongjiu.lu@intel.com> - - * m32c-desc.c: Regenerated. - -2005-11-08 Nathan Sidwell <nathan@codesourcery.com> - - Add ms2. - * ms1-asm.c, ms1-desc.c, ms1-desc.h, ms1-dis.c, ms1-ibld.c, - ms1-opc.c, ms1-opc.h: Regenerated. - -2005-11-07 Steve Ellcey <sje@cup.hp.com> - - * configure: Regenerate after modifying bfd/warning.m4. - -2005-11-07 Alan Modra <amodra@bigpond.net.au> - - * i386-dis.c (ckprefix): Handle rex on fwait. Don't print - ignored rex prefixes here. - (print_insn): Instead, handle them similarly to fwait followed - by non-fp insns. - -2005-11-02 H.J. Lu <hongjiu.lu@intel.com> - - * iq2000-desc.c: Regenerated. - * iq2000-desc.h: Likewise. - * iq2000-dis.c: Likewise. - * iq2000-opc.c: Likewise. - -2005-11-02 Paul Brook <paul@codesourcery.com> - - * arm-dis.c (print_insn_thumb32): Word align blx target address. - -2005-10-31 Alan Modra <amodra@bigpond.net.au> - - * arm-dis.c (print_insn): Warning fix. - -2005-10-30 H.J. Lu <hongjiu.lu@intel.com> - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerated. - - * dep-in.sed: Replace " ./" with " ". - -2005-10-28 Dave Brolley <brolley@redhat.com> - - * All CGEN-generated sources: Regenerate. - - Contribute the following changes: - 2005-09-19 Dave Brolley <brolley@redhat.com> - - * disassemble.c (disassemble_init_for_target): Add 'break' to case for - bfd_arch_tic4x. Use cgen_bitset_create and cgen_bitset_set for - bfd_arch_m32c case. - - 2005-02-16 Dave Brolley <brolley@redhat.com> - - * cgen-dis.in: Rename CGEN_ISA_MASK to CGEN_BITSET. Rename - cgen_isa_mask_* to cgen_bitset_*. - * cgen-opc.c: Likewise. - - 2003-11-28 Richard Sandiford <rsandifo@redhat.com> - - * cgen-dis.in (print_insn_@arch@): Fix comparison with cached isas. - * *-dis.c: Regenerate. - - 2003-06-05 DJ Delorie <dj@redhat.com> - - * cgen-dis.in (print_insn_@arch@): Copy prev_isas, don't assign - it, as it may point to a reused buffer. Set prev_isas when we - change cpus. - - 2002-12-13 Dave Brolley <brolley@redhat.com> - - * cgen-opc.c (cgen_isa_mask_create): New support function for - CGEN_ISA_MASK. - (cgen_isa_mask_init): Ditto. - (cgen_isa_mask_clear): Ditto. - (cgen_isa_mask_add): Ditto. - (cgen_isa_mask_set): Ditto. - (cgen_isa_supported): Ditto. - (cgen_isa_mask_compare): Ditto. - (cgen_isa_mask_intersection): Ditto. - (cgen_isa_mask_copy): Ditto. - (cgen_isa_mask_combine): Ditto. - * cgen-dis.in (libiberty.h): #include it. - (isas): Renamed from 'isa' and now (CGEN_ISA_MASK *). - (print_insn_@arch@): Use CGEN_ISA_MASK and support functions. - * Makefile.am (CGENDEPS): Add utils-cgen.scm and attrs.scm. - * Makefile.in: Regenerated. - -2005-10-27 DJ Delorie <dj@redhat.com> - - * m32c-asm.c: Regenerate. - * m32c-desc.c: Regenerate. - * m32c-desc.h: Regenerate. - * m32c-dis.c: Regenerate. - * m32c-ibld.c: Regenerate. - * m32c-opc.c: Regenerate. - * m32c-opc.h: Regenerate. - -2005-10-26 DJ Delorie <dj@redhat.com> - - * m32c-asm.c: Regenerate. - * m32c-desc.c: Regenerate. - * m32c-desc.h: Regenerate. - * m32c-dis.c: Regenerate. - * m32c-ibld.c: Regenerate. - * m32c-opc.c: Regenerate. - * m32c-opc.h: Regenerate. - -2005-10-26 Paul Brook <paul@codesourcery.com> - - * arm-dis.c (arm_opcodes): Correct "sel" entry. - -2005-10-26 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> - - * m32r-asm.c: Regenerate. - -2005-10-25 DJ Delorie <dj@redhat.com> - - * m32c-asm.c: Regenerate. - * m32c-desc.c: Regenerate. - * m32c-desc.h: Regenerate. - * m32c-dis.c: Regenerate. - * m32c-ibld.c: Regenerate. - * m32c-opc.c: Regenerate. - * m32c-opc.h: Regenerate. - -2005-10-25 Arnold Metselaar <arnold.metselaar@planet.nl> - - * configure.in: Add target architecture bfd_arch_z80. - * configure: Regenerated. - * disassemble.c (disassembler)<ARCH_z80>: Add case - bfd_arch_z80. - * z80-dis.c: New file. - -2005-10-25 Alan Modra <amodra@bigpond.net.au> - - * po/POTFILES.in: Regenerate. - * po/opcodes.pot: Regenerate. - -2005-10-24 Jan Beulich <jbeulich@novell.com> - - * ia64-asmtab.c: Regenerate. - -2005-10-21 DJ Delorie <dj@redhat.com> - - * m32c-asm.c: Regenerate. - * m32c-desc.c: Regenerate. - * m32c-desc.h: Regenerate. - * m32c-dis.c: Regenerate. - * m32c-ibld.c: Regenerate. - * m32c-opc.c: Regenerate. - * m32c-opc.h: Regenerate. - -2005-10-21 Nick Clifton <nickc@redhat.com> - - * bfin-dis.c: Tidy up code, removing redundant constructs. - -2005-10-19 Martin Schwidefsky <schwidefsky@de.ibm.com> - - * s390-opc.txt: Add unnormalized hfp multiply and multiply-and-add - instructions. - -2005-10-18 Nick Clifton <nickc@redhat.com> - - * m32r-asm.c: Regenerate after updating m32r.opc. - -2005-10-18 Jie Zhang <jie.zhang@analog.com> - - * bfin-dis.c (print_insn_bfin): Do proper endian transform when - reading instruction from memory. - -2005-10-18 Nick Clifton <nickc@redhat.com> - - * m32r-asm.c: Regenerate after updating m32r.opc. - -2005-10-14 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> - - * m32r-asm.c: Regenerate after updating m32r.opc. - -2005-10-08 James Lemke <jim@wasabisystems.com> - - * arm-dis.c (coprocessor_opcodes): Fix mask for various Maverick CDP - operations. - -2005-10-06 Daniel Jacobowitz <dan@codesourcery.com> - - * ppc-dis.c (struct dis_private): Remove. - (powerpc_dialect): Avoid aliasing warnings. - (print_insn_big_powerpc, print_insn_little_powerpc): Likewise. - -2005-09-30 Nick Clifton <nickc@redhat.com> - - * po/ga.po: New Irish translation. - * configure.in (ALL_LINGUAS): Add "ga". - * configure: Regenerate. - -2005-09-30 H.J. Lu <hongjiu.lu@intel.com> - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerated. - * aclocal.m4: Likewise. - * configure: Likewise. - -2005-09-30 Catherine Moore <clm@cm00re.com> - - * Makefile.am: Bfin support. - * Makefile.in: Regenerated. - * aclocal.m4: Regenerated. - * bfin-dis.c: New file. - * configure.in: Bfin support. - * configure: Regenerated. - * disassemble.c (ARCH_bfin): Define. - (disassembler): Add case for bfd_arch_bfin. - -2005-09-28 Jan Beulich <jbeulich@novell.com> - - * i386-dis.c (stack_v_mode): Renamed from branch_v_mode. - (indirEv): Use it. - (stackEv): New. - (Ob64, Ov64): Rename to Ob, Ov. Delete unused original definitions. - (dis386): Document and use new 'V' meta character. Use it for - single-byte push/pop opcode forms. Use stackEv for mod-r/m push/pop - opcode forms. Correct typo in 'pop ss'. Replace Ob64/Ov64 by Ob/Ov. - (putop): 'q' suffix for 'T' and 'U' meta depends on DFLAG. Mark - data prefix as used whenever DFLAG was examined. Handle 'V'. - (intel_operand_size): Use stack_v_mode. - (OP_E): Use stack_v_mode, but handle only the special case of - 64-bit mode without operand size override here; fall through to - v_mode case otherwise. - (OP_REG): Special case rAX_reg ... rDI_reg only when 64-bit mode - and no operand size override is present. - (OP_J): Use get32s for obtaining the displacement also when rex64 - is present. - -2005-09-08 Paul Brook <paul@codesourcery.com> - - * arm-dis.c (arm_opcodes, thumb32_opcodes): Rename smi to smc. - -2005-09-06 Chao-ying Fu <fu@mips.com> - - * mips-opc.c (MT32): New define. - (mips_builtin_opcodes): Move "bc0f", "bc0fl", "bc0t", "bc0tl" to the - bottom to avoid opcode collision with "mftr" and "mttr". - Add MT instructions. - * mips-dis.c (mips_arch_choices): Enable INSN_MT for mips32r2. - (print_insn_args): Add supports for +t, +T, !, $, *, &, g operand - formats. - -2005-09-02 Paul Brook <paul@codesourcery.com> - - * arm-dis.c (coprocessor_opcodes): Add null terminator. - -2005-09-02 Paul Brook <paul@codesourcery.com> - - * arm-dis.c (coprocessor_opcodes): New. - (arm_opcodes, thumb32_opcodes): Remove coprocessor insns. - (print_insn_coprocessor): New function. - (print_insn_arm): Use print_insn_coprocessor. Remove coprocessor - format characters. - (print_insn_thumb32): Use print_insn_coprocessor. - -2005-08-30 Paul Brook <paul@codesourcery.com> - - * arm-dis.c (thumb_opcodes): Disassemble sub(3) as subs. - -2005-08-26 Jan Beulich <jbeulich@novell.com> - - * i386-dis.c (intel_operand_size): New, broken out from OP_E for - re-use. - (OP_E): Call intel_operand_size, move call site out of mode - dependent code. - (OP_OFF): Call intel_operand_size if suffix_always. Remove - ATTRIBUTE_UNUSED from parameters. - (OP_OFF64): Likewise. - (OP_ESreg): Call intel_operand_size. - (OP_DSreg): Likewise. - (OP_DIR): Use colon rather than semicolon as separator of far - jump/call operands. - -2005-08-25 Chao-ying Fu <fu@mips.com> - - * mips-opc.c (WR_a, RD_a, MOD_a, DSP_VOLA, D32): New define. - (mips_builtin_opcodes): Add DSP instructions. - * mips-dis.c (mips_arch_choices): Enable INSN_DSP for mips32, mips32r2, - mips64, mips64r2. - (print_insn_args): Add supports for 3, 4, 5, 6, 7, 8, 9, 0, :, ', @ - operand formats. - -2005-08-23 David Ung <davidu@mips.com> - - * mips16-opc.c (mips16_opcodes): Add the MIPS16e jalrc/jrc - instructions to the table. - -2005-08-18 Alan Modra <amodra@bigpond.net.au> - - * a29k-dis.c: Delete. - * Makefile.am: Remove a29k support. - * configure.in: Likewise. - * disassemble.c: Likewise. - * Makefile.in: Regenerate. - * configure: Regenerate. - * po/POTFILES.in: Regenerate. - -2005-08-15 Daniel Jacobowitz <dan@codesourcery.com> - - * ppc-dis.c (powerpc_dialect): Handle e300. - (print_ppc_disassembler_options): Likewise. - * ppc-opc.c (PPCE300): Define. - (powerpc_opcodes): Mark icbt as available for the e300. - -2005-08-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - * hppa-dis.c (print_insn_hppa): Don't print '%' before register names. - Use "rp" instead of "%r2" in "b,l" insns. - -2005-08-12 Martin Schwidefsky <schwidefsky@de.ibm.com> - - * s390-dis.c (print_insn_s390): Print unsigned operands with %u. - * s390-mkopc.c (s390_opcode_cpu_val): Add support for cpu type z9-109. - (main): Likewise. - * s390-opc.c (I32_16, U32_16, M_16): Add defines 32 bit immediates - and 4 bit optional masks. - (INSTR_RIL_RI, INSTR_RIL_RU, INSTR_RRF_M0RR, INSTR_RSE_CCRD, - INSTR_RSY_CCRD, INSTR_SSF_RRDRD): Add new instruction formats. - (MASK_RIL_RI, MASK_RIL_RU, MASK_RRF_M0RR, MASK_RSE_CCRD, - MASK_RSY_CCRD, MASK_SSF_RRDRD): Likewise. - (s390_opformats): Likewise. - * s390-opc.txt: Add new instructions for cpu type z9-109. - -2005-08-05 John David Anglin <dave.anglin@nrc-crnc.gc.ca> - - * hppa-dis.c (print_insn_hppa): Prefix 21-bit values with "L%". - -2005-07-29 Paul Brook <paul@codesourcery.com> - - * arm-dis.c: Fix disassebly of thumb2 writeback addressing modes. - -2005-07-29 Paul Brook <paul@codesourcery.com> - - * arm-dis.c (thumb32_opc): Fix addressing mode for tbh. - (print_insn_thumb32): Fix decoding of thumb2 'I' operands. - -2005-07-25 DJ Delorie <dj@redhat.com> - - * m32c-asm.c Regenerate. - * m32c-dis.c Regenerate. - -2005-07-20 DJ Delorie <dj@redhat.com> - - * disassemble.c (disassemble_init_for_target): M32C ISAs are - enums, so convert them to bit masks, which attributes are. - -2005-07-18 Nick Clifton <nickc@redhat.com> - - * configure.in: Restore alpha ordering to list of arches. - * configure: Regenerate. - * disassemble.c: Restore alpha ordering to list of arches. - -2005-07-18 Nick Clifton <nickc@redhat.com> - - * m32c-asm.c: Regenerate. - * m32c-desc.c: Regenerate. - * m32c-desc.h: Regenerate. - * m32c-dis.c: Regenerate. - * m32c-ibld.h: Regenerate. - * m32c-opc.c: Regenerate. - * m32c-opc.h: Regenerate. - -2005-07-18 H.J. Lu <hongjiu.lu@intel.com> - - * i386-dis.c (PNI_Fixup): Update comment. - (VMX_Fixup): Properly handle the suffix check. - -2005-07-16 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - * hppa-dis.c (print_insn_hppa): Add space after 'w' in wide-mode - mfctl disassembly. - -2005-07-16 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am: Run "make dep-am". - (stamp-m32c): Fix cpu dependencies. - * Makefile.in: Regenerate. - * ip2k-dis.c: Regenerate. - -2007-07-15 H.J. Lu <hongjiu.lu@intel.com> - - * i386-dis.c (OP_VMX): New. Handle Intel VMX Instructions. - (VMX_Fixup): New. Fix up Intel VMX Instructions. - (Em): New. - (Gm): New. - (VM): New. - (dis386_twobyte): Updated entries 0x78 and 0x79. - (twobyte_has_modrm): Likewise. - (grps): Use OP_VMX in the "sgdtIQ" entry. Updated GRP9. - (OP_G): Handle m_mode. - -2005-07-14 Jim Blandy <jimb@redhat.com> - - Add support for the Renesas M32C and M16C. - * m32c-asm.c, m32c-desc.c, m32c-dis.c, m32c-ibld.c, m32c-opc.c: New. - * m32c-desc.h, m32c-opc.h: New. - * Makefile.am (HFILES): List m32c-desc.h and m32c-opc.h. - (CFILES): List m32c-asm.c, m32c-desc.c, m32c-dis.c, m32c-ibld.c, - m32c-opc.c. - (ALL_MACHINES): List m32c-asm.lo, m32c-desc.lo, m32c-dis.lo, - m32c-ibld.lo, m32c-opc.lo. - (CLEANFILES): List stamp-m32c. - (M32C_DEPS): List stamp-m32c, if CGEN_MAINT. - (CGEN_CPUS): Add m32c. - (m32c-asm.c, m32c-desc.c, m32c-dis.c, m32c-ibld.c, m32c-opc.c) - (m32c-desc.h, m32c-opc.h): Depend on M32C_DEPS. - (m32c_opc_h): New variable. - (stamp-m32c, m32c-asm.lo, m32c-desc.lo, m32c-dis.lo, m32c-ibld.lo) - (m32c-opc.lo): New rules. - * Makefile.in: Regenerated. - * configure.in: Add case for bfd_m32c_arch. - * configure: Regenerated. - * disassemble.c (ARCH_m32c): New. - [ARCH_m32c]: #include "m32c-desc.h". - (disassembler) [ARCH_m32c]: Add case for bfd_arch_m32c. - (disassemble_init_for_target) [ARCH_m32c]: Same. - - * cgen-ops.h, cgen-types.h: New files. - * Makefile.am (HFILES): List them. - * Makefile.in: Regenerated. - -2005-07-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> - - * arc-dis.c, arm-dis.c, cris-dis.c, crx-dis.c, d10v-dis.c, - d30v-dis.c, fr30-dis.c, h8300-dis.c, h8500-dis.c, i860-dis.c, - ia64-dis.c, ip2k-dis.c, m10200-dis.c, m10300-dis.c, - m88k-dis.c, mcore-dis.c, mips-dis.c, ms1-dis.c, or32-dis.c, - ppc-dis.c, sh64-dis.c, sparc-dis.c, tic4x-dis.c, tic80-dis.c, - v850-dis.c: Fix format bugs. - * ia64-gen.c (fail, warn): Add format attribute. - * or32-opc.c (debug): Likewise. - -2005-07-07 Khem Raj <kraj@mvista.com> - - * arm-dis.c (opcode32 arm_opcodes): Fix ARM VFP fadds instruction - disassembly pattern. - -2005-07-06 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am (stamp-m32r): Fix path to cpu files. - (stamp-m32r, stamp-iq2000): Likewise. - * Makefile.in: Regenerate. - * m32r-asm.c: Regenerate. - * po/POTFILES.in: Remove arm-opc.h. Add ms1-asm.c, ms1-desc.c, - ms1-desc.h, ms1-dis.c, ms1-ibld.c, ms1-opc.c, ms1-opc.h. - -2005-07-05 Nick Clifton <nickc@redhat.com> - - * iq2000-asm.c: Regenerate. - * ms1-asm.c: Regenerate. - -2005-07-05 Jan Beulich <jbeulich@novell.com> - - * i386-dis.c (SVME_Fixup): New. - (grps): Use it for the lidt entry. - (PNI_Fixup): Call OP_M rather than OP_E. - (INVLPG_Fixup): Likewise. - -2005-07-04 H.J. Lu <hongjiu.lu@intel.com> - - * tic30-dis.c (cnvt_tmsfloat_ieee): Use HUGE_VALF if defined. - -2005-07-01 Nick Clifton <nickc@redhat.com> - - * a29k-dis.c: Update to ISO C90 style function declarations and - fix formatting. - * alpha-opc.c: Likewise. - * arc-dis.c: Likewise. - * arc-opc.c: Likewise. - * avr-dis.c: Likewise. - * cgen-asm.in: Likewise. - * cgen-dis.in: Likewise. - * cgen-ibld.in: Likewise. - * cgen-opc.c: Likewise. - * cris-dis.c: Likewise. - * d10v-dis.c: Likewise. - * d30v-dis.c: Likewise. - * d30v-opc.c: Likewise. - * dis-buf.c: Likewise. - * dlx-dis.c: Likewise. - * h8300-dis.c: Likewise. - * h8500-dis.c: Likewise. - * hppa-dis.c: Likewise. - * i370-dis.c: Likewise. - * i370-opc.c: Likewise. - * m10200-dis.c: Likewise. - * m10300-dis.c: Likewise. - * m68k-dis.c: Likewise. - * m88k-dis.c: Likewise. - * mips-dis.c: Likewise. - * mmix-dis.c: Likewise. - * msp430-dis.c: Likewise. - * ns32k-dis.c: Likewise. - * or32-dis.c: Likewise. - * or32-opc.c: Likewise. - * pdp11-dis.c: Likewise. - * pj-dis.c: Likewise. - * s390-dis.c: Likewise. - * sh-dis.c: Likewise. - * sh64-dis.c: Likewise. - * sparc-dis.c: Likewise. - * sparc-opc.c: Likewise. - * sysdep.h: Likewise. - * tic30-dis.c: Likewise. - * tic4x-dis.c: Likewise. - * tic80-dis.c: Likewise. - * v850-dis.c: Likewise. - * v850-opc.c: Likewise. - * vax-dis.c: Likewise. - * w65-dis.c: Likewise. - * z8kgen.c: Likewise. - - * fr30-*: Regenerate. - * frv-*: Regenerate. - * ip2k-*: Regenerate. - * iq2000-*: Regenerate. - * m32r-*: Regenerate. - * ms1-*: Regenerate. - * openrisc-*: Regenerate. - * xstormy16-*: Regenerate. - -2005-06-23 Ben Elliston <bje@gnu.org> - - * m68k-dis.c: Use ISC C90. - * m68k-opc.c: Formatting fixes. - -2005-06-16 David Ung <davidu@mips.com> - - * mips16-opc.c (mips16_opcodes): Add the following MIPS16e - instructions to the table; seb/seh/sew/zeb/zeh/zew. - -2005-06-15 Dave Brolley <brolley@redhat.com> - - Contribute Morpho ms1 on behalf of Red Hat - * ms1-asm.c, ms1-desc.c, ms1-dis.c, ms1-ibld.c, ms1-opc.c, - ms1-opc.h: New files, Morpho ms1 target. - - 2004-05-14 Stan Cox <scox@redhat.com> - - * disassemble.c (ARCH_ms1): Define. - (disassembler): Handle bfd_arch_ms1 - - 2004-05-13 Michael Snyder <msnyder@redhat.com> - - * Makefile.am, Makefile.in: Add ms1 target. - * configure.in: Ditto. - -2005-06-08 Zack Weinberg <zack@codesourcery.com> - - * arm-opc.h: Delete; fold contents into ... - * arm-dis.c: ... here. Move includes of internal COFF headers - next to includes of internal ELF headers. - (streq, WORD_ADDRESS, BDISP, BDISP23): Delete, unused. - (struct arm_opcode): Rename struct opcode32. Make 'assembler' const. - (struct thumb_opcode): Rename struct opcode16. Make 'assembler' const. - (arm_conditional, arm_fp_const, arm_shift, arm_regname, regnames) - (iwmmxt_wwnames, iwmmxt_wwssnames): - Make const. - (regnames): Remove iWMMXt coprocessor register sets. - (iwmmxt_regnames, iwmmxt_cregnames): New statics. - (get_arm_regnames): Adjust fourth argument to match above changes. - (set_iwmmxt_regnames): Delete. - (print_insn_arm): Constify 'c'. Use ISO syntax for function - pointer calls. Expand sole use of BDISP. Use iwmmxt_regnames - and iwmmxt_cregnames, not set_iwmmxt_regnames. - (print_insn_thumb16, print_insn_thumb32): Constify 'c'. Use - ISO syntax for function pointer calls. - -2005-06-07 Zack Weinberg <zack@codesourcery.com> - - * arm-dis.c: Split up the comments describing the format codes, so - that the ARM and 16-bit Thumb opcode tables each have comments - preceding them that describe all the codes, and only the codes, - valid in those tables. (32-bit Thumb table is already like this.) - Reorder the lists in all three comments to match the order in - which the codes are implemented. - Remove all forward declarations of static functions. Convert all - function definitions to ISO C format. - (print_insn_arm, print_insn_thumb16, print_insn_thumb32): - Return nothing. - (print_insn_thumb16): Remove unused case 'I'. - (print_insn): Update for changed calling convention of subroutines. - -2005-05-25 Jan Beulich <jbeulich@novell.com> - - * i386-dis.c (OP_E): In Intel mode, display 32-bit displacements in - hex (but retain it being displayed as signed). Remove redundant - checks. Add handling of displacements for 16-bit addressing in Intel - mode. - -2005-05-25 Jan Beulich <jbeulich@novell.com> - - * i386-dis.c (prefix_name): Remove pointless mode_64bit check. - (OP_E): Remove redundant REX_EXTZ handling. Remove pointless - masking of 'rm' in 16-bit memory address handling. - -2005-05-19 Anton Blanchard <anton@samba.org> - - * ppc-dis.c (powerpc_dialect): Handle "-Mpower5". - (print_ppc_disassembler_options): Document it. - * ppc-opc.c (SVC_LEV): Define. - (LEV): Allow optional operand. - (POWER5): Define. - (powerpc_opcodes): Extend "sc". Adjust "svc" and "svcl". Add - "hrfid", "popcntb", "fsqrtes", "fsqrtes.", "fre" and "fre.". - -2005-05-19 Kelley Cook <kcook@gcc.gnu.org> - - * Makefile.in: Regenerate. - -2005-05-17 Zack Weinberg <zack@codesourcery.com> - - * arm-dis.c (thumb_opcodes): Add disassembly for V6T2 16-bit - instructions. Adjust disassembly of some opcodes to match - unified syntax. - (thumb32_opcodes): New table. - (print_insn_thumb): Rename print_insn_thumb16; don't handle - two-halfword branches here. - (print_insn_thumb32): New function. - (print_insn): Choose among print_insn_arm, print_insn_thumb16, - and print_insn_thumb32. Be consistent about order of - halfwords when printing 32-bit instructions. - -2005-05-07 H.J. Lu <hongjiu.lu@intel.com> - - PR 843 - * i386-dis.c (branch_v_mode): New. - (indirEv): Use branch_v_mode instead of v_mode. - (OP_E): Handle branch_v_mode. - -2005-05-07 H.J. Lu <hongjiu.lu@intel.com> - - * d10v-dis.c (dis_2_short): Support 64bit host. - -2005-05-07 Nick Clifton <nickc@redhat.com> - - * po/nl.po: Updated translation. - -2005-05-07 Nick Clifton <nickc@redhat.com> - - * Update the address and phone number of the FSF organization in - the GPL notices in the following files: - a29k-dis.c, aclocal.m4, alpha-dis.c, alpha-opc.c, arc-dis.c, - arc-dis.h, arc-ext.c, arc-ext.h, arc-opc.c, arm-dis.c, arm-opc.h, - avr-dis.c, cgen-asm.c, cgen-asm.in, cgen-dis.c, cgen-dis.in, - cgen-ibld.in, cgen-opc.c, cgen.sh, cris-dis.c, cris-opc.c, - crx-dis.c, crx-opc.c, d10v-dis.c, d10v-opc.c, d30v-dis.c, - d30v-opc.c, dis-buf.c, dis-init.c, disassemble.c, dlx-dis.c, - fr30-asm.c, fr30-desc.c, fr30-desc.h, fr30-dis.c, fr30-ibld.c, - fr30-opc.c, fr30-opc.h, frv-asm.c, frv-desc.c, frv-desc.h, - frv-dis.c, frv-ibld.c, frv-opc.c, frv-opc.h, h8300-dis.c, - h8500-dis.c, h8500-opc.h, hppa-dis.c, i370-dis.c, i370-opc.c, - i386-dis.c, i860-dis.c, i960-dis.c, ia64-asmtab.h, ia64-dis.c, - ia64-gen.c, ia64-opc-a.c, ia64-opc-b.c, ia64-opc-d.c, - ia64-opc-f.c, ia64-opc-i.c, ia64-opc-m.c, ia64-opc-x.c, - ia64-opc.c, ia64-opc.h, ip2k-asm.c, ip2k-desc.c, ip2k-desc.h, - ip2k-dis.c, ip2k-ibld.c, ip2k-opc.c, ip2k-opc.h, iq2000-asm.c, - iq2000-desc.c, iq2000-desc.h, iq2000-dis.c, iq2000-ibld.c, - iq2000-opc.c, iq2000-opc.h, m10200-dis.c, m10200-opc.c, - m10300-dis.c, m10300-opc.c, m32r-asm.c, m32r-desc.c, m32r-desc.h, - m32r-dis.c, m32r-ibld.c, m32r-opc.c, m32r-opc.h, m32r-opinst.c, - m68hc11-dis.c, m68hc11-opc.c, m68k-dis.c, m68k-opc.c, m88k-dis.c, - maxq-dis.c, mcore-dis.c, mcore-opc.h, mips-dis.c, mips-opc.c, - mips16-opc.c, mmix-dis.c, mmix-opc.c, msp430-dis.c, ns32k-dis.c, - openrisc-asm.c, openrisc-desc.c, openrisc-desc.h, openrisc-dis.c, - openrisc-ibld.c, openrisc-opc.c, openrisc-opc.h, opintl.h, - or32-dis.c, or32-opc.c, pdp11-dis.c, pdp11-opc.c, pj-dis.c, - pj-opc.c, ppc-dis.c, ppc-opc.c, s390-dis.c, s390-mkopc.c, - s390-opc.c, sh-dis.c, sh-opc.h, sh64-dis.c, sh64-opc.c, - sh64-opc.h, sparc-dis.c, sparc-opc.c, sysdep.h, tic30-dis.c, - tic4x-dis.c, tic54x-dis.c, tic54x-opc.c, tic80-dis.c, tic80-opc.c, - v850-dis.c, v850-opc.c, vax-dis.c, w65-dis.c, w65-opc.h, - xstormy16-asm.c, xstormy16-desc.c, xstormy16-desc.h, - xstormy16-dis.c, xstormy16-ibld.c, xstormy16-opc.c, - xstormy16-opc.h, xtensa-dis.c, z8k-dis.c, z8kgen.c - -2005-05-05 James E Wilson <wilson@specifixinc.com> - - * ia64-opc.c: Include sysdep.h before libiberty.h. - -2005-05-05 Nick Clifton <nickc@redhat.com> - - * configure.in (ALL_LINGUAS): Add vi. - * configure: Regenerate. - * po/vi.po: New. - -2005-04-26 Jerome Guitton <guitton@gnat.com> - - * configure.in: Fix the check for basename declaration. - * configure: Regenerate. - -2005-04-19 Alan Modra <amodra@bigpond.net.au> - - * ppc-opc.c (RTO): Define. - (powerpc_opcodes <tlbsx, tlbsx., tlbre>): Combine PPC403 and BOOKE - entries to suit PPC440. - -2005-04-18 Mark Kettenis <kettenis@gnu.org> - - * i386-dis.c: Insert hyphens into selected VIA PadLock extensions. - Add xcrypt-ctr. - -2005-04-14 Nick Clifton <nickc@redhat.com> - - * po/fi.po: New translation: Finnish. - * configure.in (ALL_LINGUAS): Add fi. - * configure: Regenerate. - -2005-04-14 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am (NO_WERROR): Define. - * configure.in: Invoke AM_BINUTILS_WARNINGS. - * Makefile.in: Regenerate. - * aclocal.m4: Regenerate. - * configure: Regenerate. - -2005-04-04 Nick Clifton <nickc@redhat.com> - - * fr30-asm.c: Regenerate. - * frv-asm.c: Regenerate. - * iq2000-asm.c: Regenerate. - * m32r-asm.c: Regenerate. - * openrisc-asm.c: Regenerate. - -2005-04-01 Jan Beulich <jbeulich@novell.com> - - * i386-dis.c (PNI_Fixup): Neither mwait nor monitor have any - visible operands in Intel mode. The first operand of monitor is - %rax in 64-bit mode. - -2005-04-01 Jan Beulich <jbeulich@novell.com> - - * i386-dis.c (INVLPG_Fixup): Decode rdtscp; change code to allow for - easier future additions. - -2005-03-31 Jerome Guitton <guitton@gnat.com> - - * configure.in: Check for basename. - * configure: Regenerate. - * config.in: Ditto. - -2005-03-29 H.J. Lu <hongjiu.lu@intel.com> - - * i386-dis.c (SEG_Fixup): New. - (Sv): New. - (dis386): Use "Sv" for 0x8c and 0x8e. - -2005-03-21 Jan-Benedict Glaw <jbglaw@lug-owl.de> - Nick Clifton <nickc@redhat.com> - - * vax-dis.c: (entry_addr): New varible: An array of user supplied - function entry mask addresses. - (entry_addr_occupied_slots): New variable: The number of occupied - elements in entry_addr. - (entry_addr_total_slots): New variable: The total number of - elements in entry_addr. - (parse_disassembler_options): New function. Fills in the entry_addr - array. - (free_entry_array): New function. Release the memory used by the - entry addr array. Suppressed because there is no way to call it. - (is_function_entry): Check if a given address is a function's - start address by looking at supplied entry mask addresses and - symbol information, if available. - (print_insn_vax): Use parse_disassembler_options and is_function_entry. - -2005-03-23 H.J. Lu <hongjiu.lu@intel.com> - - * cris-dis.c (print_with_operands): Use ~31L for long instead - of ~31. - -2005-03-20 H.J. Lu <hongjiu.lu@intel.com> - - * mmix-opc.c (O): Revert the last change. - (Z): Likewise. - -2005-03-19 H.J. Lu <hongjiu.lu@intel.com> - - * mmix-opc.c (O): Use 24UL instead of 24 for unsigned long. - (Z): Likewise. - -2005-03-19 Hans-Peter Nilsson <hp@bitrange.com> - - * mmix-opc.c (O, Z): Force expression as unsigned long. - -2005-03-18 Nick Clifton <nickc@redhat.com> - - * ip2k-asm.c: Regenerate. - * op/opcodes.pot: Regenerate. - -2005-03-16 Nick Clifton <nickc@redhat.com> - Ben Elliston <bje@au.ibm.com> - - * configure.in (werror): New switch: Add -Werror to the - compiler command line. Enabled by default. Disable via - --disable-werror. - * configure: Regenerate. - -2005-03-16 Alan Modra <amodra@bigpond.net.au> - - * ppc-dis.c (powerpc_dialect): Don't set PPC_OPCODE_ALTIVEC when - BOOKE. - -2005-03-15 Alan Modra <amodra@bigpond.net.au> - - * po/es.po: Commit new Spanish translation. - - * po/fr.po: Commit new French translation. - -2005-03-14 Jan-Benedict Glaw <jbglaw@lug-owl.de> - - * vax-dis.c: Fix spelling error - (print_insn_vax): Use ".word 0x0012 # Entry mask: r1 r2 >" instead - of just "Entry mask: < r1 ... >" - -2005-03-12 Zack Weinberg <zack@codesourcery.com> - - * arm-dis.c (arm_opcodes): Document %E and %V. - Add entries for v6T2 ARM instructions: - bfc bfi mls strht ldrht ldrsht ldrsbt movw movt rbit ubfx sbfx. - (print_insn_arm): Add support for %E and %V. - (thumb_opcodes): Add ARMv6K instructions nop, sev, wfe, wfi, yield. - -2005-03-10 Jeff Baker <jbaker@qnx.com> - Alan Modra <amodra@bigpond.net.au> - - * ppc-opc.c (insert_sprg, extract_sprg): New Functions. - (powerpc_operands <SPRG>): Call the above. Bit field is 5 bits. - (SPRG_MASK): Delete. - (XSPRG_MASK): Mask off extra bits now part of sprg field. - (powerpc_opcodes): Asjust mfsprg and mtsprg to suit new mask. Move - mfsprg4..7 after msprg and consolidate. - -2005-03-09 Jan-Benedict Glaw <jbglaw@lug-owl.de> - - * vax-dis.c (entry_mask_bit): New array. - (print_insn_vax): Decode function entry mask. - -2005-03-07 Aldy Hernandez <aldyh@redhat.com> - - * ppc-opc.c (powerpc_opcodes): Fix encoding of efscfd. - -2005-03-05 Alan Modra <amodra@bigpond.net.au> - - * po/opcodes.pot: Regenerate. - -2005-03-03 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com> - - * arc-dis.c (a4_decoding_class): New enum. - (dsmOneArcInst): Use the enum values for the decoding class. - Remove redundant case in the switch for decodingClass value 11. - -2005-03-02 Jan Beulich <jbeulich@novell.com> - - * i386-dis.c (print_insn): Suppress lock prefix printing for cr8...15 - accesses. - (OP_C): Consider lock prefix in non-64-bit modes. - -2005-02-24 Alan Modra <amodra@bigpond.net.au> - - * cris-dis.c (format_hex): Remove ineffective warning fix. - * crx-dis.c (make_instruction): Warning fix. - * frv-asm.c: Regenerate. - -2005-02-23 Nick Clifton <nickc@redhat.com> - - * cgen-dis.in: Use bfd_byte for buffers that are passed to - read_memory. - - * ia64-opc.c (locate_opcode_ent): Initialise opval array. - - * crx-dis.c (make_instruction): Move argument structure into inner - scope and ensure that all of its fields are initialised before - they are used. - - * fr30-asm.c: Regenerate. - * fr30-dis.c: Regenerate. - * frv-asm.c: Regenerate. - * frv-dis.c: Regenerate. - * ip2k-asm.c: Regenerate. - * ip2k-dis.c: Regenerate. - * iq2000-asm.c: Regenerate. - * iq2000-dis.c: Regenerate. - * m32r-asm.c: Regenerate. - * m32r-dis.c: Regenerate. - * openrisc-asm.c: Regenerate. - * openrisc-dis.c: Regenerate. - * xstormy16-asm.c: Regenerate. - * xstormy16-dis.c: Regenerate. - -2005-02-22 Alan Modra <amodra@bigpond.net.au> - - * arc-ext.c: Warning fixes. - * arc-ext.h: Likewise. - * cgen-opc.c: Likewise. - * ia64-gen.c: Likewise. - * maxq-dis.c: Likewise. - * ns32k-dis.c: Likewise. - * w65-dis.c: Likewise. - * ia64-asmtab.c: Regenerate. - -2005-02-22 Alan Modra <amodra@bigpond.net.au> - - * fr30-desc.c: Regenerate. - * fr30-desc.h: Regenerate. - * fr30-opc.c: Regenerate. - * fr30-opc.h: Regenerate. - * frv-desc.c: Regenerate. - * frv-desc.h: Regenerate. - * frv-opc.c: Regenerate. - * frv-opc.h: Regenerate. - * ip2k-desc.c: Regenerate. - * ip2k-desc.h: Regenerate. - * ip2k-opc.c: Regenerate. - * ip2k-opc.h: Regenerate. - * iq2000-desc.c: Regenerate. - * iq2000-desc.h: Regenerate. - * iq2000-opc.c: Regenerate. - * iq2000-opc.h: Regenerate. - * m32r-desc.c: Regenerate. - * m32r-desc.h: Regenerate. - * m32r-opc.c: Regenerate. - * m32r-opc.h: Regenerate. - * m32r-opinst.c: Regenerate. - * openrisc-desc.c: Regenerate. - * openrisc-desc.h: Regenerate. - * openrisc-opc.c: Regenerate. - * openrisc-opc.h: Regenerate. - * xstormy16-desc.c: Regenerate. - * xstormy16-desc.h: Regenerate. - * xstormy16-opc.c: Regenerate. - * xstormy16-opc.h: Regenerate. - -2005-02-21 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am: Run "make dep-am" - * Makefile.in: Regenerate. - -2005-02-15 Nick Clifton <nickc@redhat.com> - - * cgen-dis.in (print_address): Add an ATTRIBUTE_UNUSED to prevent - compile time warnings. - (print_keyword): Likewise. - (default_print_insn): Likewise. - - * fr30-desc.c: Regenerated. - * fr30-desc.h: Regenerated. - * fr30-dis.c: Regenerated. - * fr30-opc.c: Regenerated. - * fr30-opc.h: Regenerated. - * frv-desc.c: Regenerated. - * frv-dis.c: Regenerated. - * frv-opc.c: Regenerated. - * ip2k-asm.c: Regenerated. - * ip2k-desc.c: Regenerated. - * ip2k-desc.h: Regenerated. - * ip2k-dis.c: Regenerated. - * ip2k-opc.c: Regenerated. - * ip2k-opc.h: Regenerated. - * iq2000-desc.c: Regenerated. - * iq2000-dis.c: Regenerated. - * iq2000-opc.c: Regenerated. - * m32r-asm.c: Regenerated. - * m32r-desc.c: Regenerated. - * m32r-desc.h: Regenerated. - * m32r-dis.c: Regenerated. - * m32r-opc.c: Regenerated. - * m32r-opc.h: Regenerated. - * m32r-opinst.c: Regenerated. - * openrisc-desc.c: Regenerated. - * openrisc-desc.h: Regenerated. - * openrisc-dis.c: Regenerated. - * openrisc-opc.c: Regenerated. - * openrisc-opc.h: Regenerated. - * xstormy16-desc.c: Regenerated. - * xstormy16-desc.h: Regenerated. - * xstormy16-dis.c: Regenerated. - * xstormy16-opc.c: Regenerated. - * xstormy16-opc.h: Regenerated. - -2005-02-14 H.J. Lu <hongjiu.lu@intel.com> - - * dis-buf.c (perror_memory): Use sprintf_vma to print out - address. - -2005-02-11 Nick Clifton <nickc@redhat.com> - - * iq2000-asm.c: Regenerate. - - * frv-dis.c: Regenerate. - -2005-02-07 Jim Blandy <jimb@redhat.com> - - * Makefile.am (CGEN): Load guile.scm before calling the main - application script. - * Makefile.in: Regenerated. - * cgen.sh: Be prepared for the 'cgen' argument to contain spaces. - Simply pass the cgen-opc.scm path to ${cgen} as its first - argument; ${cgen} itself now contains the '-s', or whatever is - appropriate for the Scheme being used. - -2005-01-31 Andrew Cagney <cagney@gnu.org> - - * configure: Regenerate to track ../gettext.m4. - -2005-01-31 Jan Beulich <jbeulich@novell.com> - - * ia64-gen.c (NELEMS): Define. - (shrink): Generate alias with missing second predicate register when - opcode has two outputs and these are both predicates. - * ia64-opc-i.c (FULL17): Define. - (ia64_opcodes_i): Add mov-to-pr alias without second input. Use FULL17 - here to generate output template. - (TBITCM, TNATCM): Undefine after use. - * ia64-opc-m.c (ia64_opcodes_i): Add alloc alias without ar.pfs as - first input. Add ld16 aliases without ar.csd as second output. Add - st16 aliases without ar.csd as second input. Add cmpxchg aliases - without ar.ccv as third input. Add cmp8xchg16 aliases without ar.csd/ - ar.ccv as third/fourth inputs. Consolidate through... - (CMPXCHG_acq, CMPXCHG_rel, CMPXCHG_1, CMPXCHG_2, CMPXCHG_4, CMPXCHG_8, - CMPXCHGn, CMP8XCHG16, CMPXCHG_ALL): Define. - * ia64-asmtab.c: Regenerate. - -2005-01-27 Andrew Cagney <cagney@gnu.org> - - * configure: Regenerate to track ../gettext.m4 change. - -2005-01-25 Alexandre Oliva <aoliva@redhat.com> - - 2004-11-10 Alexandre Oliva <aoliva@redhat.com> - * frv-asm.c: Rebuilt. - * frv-desc.c: Rebuilt. - * frv-desc.h: Rebuilt. - * frv-dis.c: Rebuilt. - * frv-ibld.c: Rebuilt. - * frv-opc.c: Rebuilt. - * frv-opc.h: Rebuilt. - -2005-01-24 Andrew Cagney <cagney@gnu.org> - - * configure: Regenerate, ../gettext.m4 was updated. - -2005-01-21 Fred Fish <fnf@specifixinc.com> - - * mips-opc.c: Change INSN_ALIAS to INSN2_ALIAS. - Change INSN_WRITE_MDMX_ACC to INSN2_WRITE_MDMX_ACC. - Change INSN_READ_MDMX_ACC to INSN2_READ_MDMX_ACC. - * mips-dis.c: Ditto. - -2005-01-20 Alan Modra <amodra@bigpond.net.au> - - * ppc-opc.c (powerpc_opcodes): Add optional 'l' arg to tlbiel. - -2005-01-19 Fred Fish <fnf@specifixinc.com> - - * mips-dis.c (no_aliases): New disassembly option flag. - (set_default_mips_dis_options): Init no_aliases to zero. - (parse_mips_dis_option): Handle no-aliases option. - (print_insn_mips): Ignore table entries that are aliases - if no_aliases is set. - (print_insn_mips16): Ditto. - * mips-opc.c (mips_builtin_opcodes): Add initializer column for - new pinfo2 member and add INSN_ALIAS initializers as needed. Also - move WR_MACC and RD_MACC initializers from pinfo to pinfo2. - * mips16-opc.c (mips16_opcodes): Ditto. - -2005-01-17 Andrew Stubbs <andrew.stubbs@st.com> - - * sh-opc.h (arch_sh2a_or_sh3e,arch_sh2a_or_sh4): Correct definition. - (inheritance diagram): Add missing edge. - (arch_sh1_up): Rename arch_sh_up to match external name to make life - easier for the testsuite. - (arch_sh4_nofp_up): Likewise, rename arch_sh4_nofpu_up. - (arch_sh4a_nofp_up): Likewise, rename arch_sh4a_nofpu_up. - (arch_sh2a_nofpu_or_sh4_nommu_nofpu_up): Add missing - arch_sh2a_or_sh4_up child. - (sh_table): Do renaming as above. - Correct comment for ldc.l for gas testsuite to read. - Remove rogue mul.l from sh1 (duplicate of the one for sh2). - Correct comments for movy.w and movy.l for gas testsuite to read. - Correct comments for fmov.d and fmov.s for gas testsuite to read. - -2005-01-12 H.J. Lu <hongjiu.lu@intel.com> - - * i386-dis.c (OP_E): Don't ignore scale in SIB for 64 bit mode. - -2005-01-12 H.J. Lu <hongjiu.lu@intel.com> - - * i386-dis.c (OP_E): Ignore scale when index == 0x4 in SIB. - -2005-01-10 Andreas Schwab <schwab@suse.de> - - * disassemble.c (disassemble_init_for_target) <case - bfd_arch_ia64>: Set skip_zeroes to 16. - <case bfd_arch_tic4x>: Set skip_zeroes to 32. - -2004-12-23 Tomer Levi <Tomer.Levi@nsc.com> - - * crx-opc.c: Mark 'bcop' instruction as RELAXABLE. - -2004-12-14 Svein E. Seldal <Svein.Seldal@solidas.com> - - * avr-dis.c: Prettyprint. Added printing of symbol names in all - memory references. Convert avr_operand() to C90 formatting. - -2004-12-05 Tomer Levi <Tomer.Levi@nsc.com> - - * crx-dis.c (print_arg): Use 'info->print_address_func' for address printing. - -2004-11-29 Tomer Levi <Tomer.Levi@nsc.com> - - * crx-opc.c (crx_optab): Mark all rbase_disps* operands as signed. - (no_op_insn): Initialize array with instructions that have no - operands. - * crx-dis.c (make_instruction): Get rid of COP_BRANCH_INS operand swapping. - -2004-11-29 Richard Earnshaw <rearnsha@arm.com> - - * arm-dis.c: Correct top-level comment. - -2004-11-27 Richard Earnshaw <rearnsha@arm.com> - - * arm-opc.h (arm_opcode, thumb_opcode): Add extra field for the - architecuture defining the insn. - (arm_opcodes, thumb_opcodes): Delete. Move to ... - * arm-dis.c (arm_opcodes, thumb_opcodes): Here. Add architecutre - field. - Also include opcode/arm.h. - * Makefile.am (arm-dis.lo): Update dependency list. - * Makefile.in: Regenerate. - -2004-11-22 Ravi Ramaseshan <ravi.ramaseshan@codito.com> - - * opcode/arc-opc.c (insert_base): Modify ls_operand[LS_OFFSET] to - reflect the change to the short immediate syntax. - -2004-11-19 Alan Modra <amodra@bigpond.net.au> - - * or32-opc.c (debug): Warning fix. - * po/POTFILES.in: Regenerate. - - * maxq-dis.c: Formatting. - (print_insn): Warning fix. - -2004-11-17 Daniel Jacobowitz <dan@codesourcery.com> - - * arm-dis.c (WORD_ADDRESS): Define. - (print_insn): Use it. Correct big-endian end-of-section handling. - -2004-11-08 Inderpreet Singh <inderpreetb@nioda.hcltech.com> - Vineet Sharma <vineets@noida.hcltech.com> - - * maxq-dis.c: New file. - * disassemble.c (ARCH_maxq): Define. - (disassembler): Add 'print_insn_maxq_little' for handling maxq - instructions.. - * configure.in: Add case for bfd_maxq_arch. - * configure: Regenerate. - * Makefile.am: Add support for maxq-dis.c - * Makefile.in: Regenerate. - * aclocal.m4: Regenerate. - -2004-11-05 Tomer Levi <Tomer.Levi@nsc.com> - - * crx-opc.c (crx_optab): Rename 'arg_icr' to 'arg_idxr' for Index register - mode. - * crx-dis.c: Likewise. - -2004-11-04 Hans-Peter Nilsson <hp@axis.com> - - Generally, handle CRISv32. - * cris-dis.c (TRACE_CASE): Define as (disdata->trace_case). - (struct cris_disasm_data): New type. - (format_reg, format_hex, cris_constraint, print_flags) - (get_opcode_entry): Add struct cris_disasm_data * parameter. All - callers changed. - (format_sup_reg, print_insn_crisv32_with_register_prefix) - (print_insn_crisv32_without_register_prefix) - (print_insn_crisv10_v32_with_register_prefix) - (print_insn_crisv10_v32_without_register_prefix) - (cris_parse_disassembler_options): New functions. - (bytes_to_skip, cris_spec_reg): Add enum cris_disass_family - parameter. All callers changed. - (get_opcode_entry): Call malloc, not xmalloc. Return NULL on - failure. - (cris_constraint) <case 'Y', 'U'>: New cases. - (bytes_to_skip): Handle 'Y' and 'N' as 's'. Skip size is 4 bytes - for constraint 'n'. - (print_with_operands) <case 'Y'>: New case. - (print_with_operands) <case 'T', 'A', '[', ']', 'd', 'n', 'u'> - <case 'N', 'Y', 'Q'>: New cases. - (print_insn_cris_generic): Emit "bcc ." for zero and CRISv32. - (print_insn_cris_with_register_prefix) - (print_insn_cris_without_register_prefix): Call - cris_parse_disassembler_options. - * cris-opc.c (cris_spec_regs): Mention that this table isn't used - for CRISv32 and the size of immediate operands. New v32-only - entries for bz, pid, srs, wz, exs, eda, dz, ebp, erp, nrp, ccs and - spc. Add v32-only 4-byte entries for p2, p3, p5 and p6. Change - ccr, ibr, irp to be v0..v10. Change bar, dccr to be v8..v10. - Change brp to be v3..v10. - (cris_support_regs): New vector. - (cris_opcodes): Update head comment. New format characters '[', - ']', space, 'A', 'd', 'N', 'n', 'Q', 'T', 'u', 'U', 'Y'. - Add new opcodes for v32 and adjust existing opcodes to accommodate - differences to earlier variants. - (cris_cond15s): New vector. - -2004-11-04 Jan Beulich <jbeulich@novell.com> - - * i386-dis.c (Eq, Edqw, indirEp, Gdq, I1): Define. - (indirEb): Remove. - (Mp): Use f_mode rather than none at all. - (t_mode, dq_mode, dqw_mode, f_mode, const_1_mode): Define. t_mode - replaces what previously was x_mode; x_mode now means 128-bit SSE - operands. - (dis386): Make far jumps and calls have an 'l' prefix only in AT&T - mode. movmskpX's, pextrw's, and pmovmskb's first operands are Gdq. - pinsrw's second operand is Edqw. - (grps): 1-bit shifts' and rotates' second operands are I1. cmpxchg8b's - operand is Eq. movntq's and movntdq's first operands are EM. s[gi]dt, - fldenv, frstor, fsave, fstenv all should also have suffixes in Intel - mode when an operand size override is present or always suffixing. - More instructions will need to be added to this group. - (putop): Handle new macro chars 'C' (short/long suffix selector), - 'I' (Intel mode override for following macro char), and 'J' (for - adding the 'l' prefix to far branches in AT&T mode). When an - alternative was specified in the template, honor macro character when - specified for Intel mode. - (OP_E): Handle new *_mode values. Correct pointer specifications for - memory operands. Consolidate output of index register. - (OP_G): Handle new *_mode values. - (OP_I): Handle const_1_mode. - (OP_ESreg, OP_DSreg): Generate pointer specifications. Indicate - respective opcode prefix bits have been consumed. - (OP_EM, OP_EX): Provide some default handling for generating pointer - specifications. - -2004-10-28 Tomer Levi <Tomer.Levi@nsc.com> - - * crx-opc.c (REV_COP_INST): New macro, reverse operand order of - COP_INST macro. - -2004-10-27 Tomer Levi <Tomer.Levi@nsc.com> - - * crx-dis.c (enum REG_ARG_TYPE): New, replacing COP_ARG_TYPE. - (getregliststring): Support HI/LO and user registers. - * crx-opc.c (crx_instruction): Update data structure according to the - rearrangement done in CRX opcode header file. - (crx_regtab): Likewise. - (crx_optab): Likewise. - (crx_instruction): Reorder load/stor instructions, remove unsupported - formats. - support new Co-Processor instruction 'cpi'. - -2004-10-27 Nick Clifton <nickc@redhat.com> - - * opcodes/iq2000-asm.c: Regenerate. - * opcodes/iq2000-desc.c: Regenerate. - * opcodes/iq2000-desc.h: Regenerate. - * opcodes/iq2000-dis.c: Regenerate. - * opcodes/iq2000-ibld.c: Regenerate. - * opcodes/iq2000-opc.c: Regenerate. - * opcodes/iq2000-opc.h: Regenerate. - -2004-10-21 Tomer Levi <Tomer.Levi@nsc.com> - - * crx-opc.c (crx_instruction): Replace i3, i4, i5 with us3, - us4, us5 (respectively). - Remove unsupported 'popa' instruction. - Reverse operands order in store co-processor instructions. - -2004-10-15 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am: Run "make dep-am" - * Makefile.in: Regenerate. - -2004-10-12 Bob Wilson <bob.wilson@acm.org> - - * xtensa-dis.c: Use ISO C90 formatting. - -2004-10-09 Alan Modra <amodra@bigpond.net.au> - - * ppc-opc.c: Revert 2004-09-09 change. - -2004-10-07 Bob Wilson <bob.wilson@acm.org> - - * xtensa-dis.c (state_names): Delete. - (fetch_data): Use xtensa_isa_maxlength. - (print_xtensa_operand): Replace operand parameter with opcode/operand - pair. Remove print_sr_name parameter. Use new xtensa-isa.h functions. - (print_insn_xtensa): Use new xtensa-isa.h functions. Handle multislot - instruction bundles. Use xmalloc instead of malloc. - -2004-10-07 David Gibson <david@gibson.dropbear.id.au> - - * ppc-opc.c: Replace literal "0"s with NULLs in pointer - initializers. - -2004-10-07 Tomer Levi <Tomer.Levi@nsc.com> - - * crx-opc.c (crx_instruction): Support Co-processor insns. - * crx-dis.c (COP_ARG_TYPE): New enum for CO-Processor arguments. - (getregliststring): Change function to use the above enum. - (print_arg): Handle CO-Processor insns. - (crx_cinvs): Add 'b' option to invalidate the branch-target - cache. - -2004-10-06 Aldy Hernandez <aldyh@redhat.com> - - * ppc-opc.c (powerpc_opcodes): Add efscfd, efdabs, efdnabs, - efdneg, efdadd, efdsub, efdmul, efddiv, efdcmpgt, efdcmplt, - efdcmpeq, efdtstgt, efdtstlt, efdtsteq, efdcfsi, efdcfsid, - efdcfui, efdcfuid, efdcfsf, efdcfuf, efdctsi, efdctsidz, efdctsiz, - efdctui, efdctuidz, efdctuiz, efdctsf, efdctuf, efdctuf, efdcfs. - -2004-10-01 Bill Farmer <Bill@the-farmers.freeserve.co.uk> - - * pdp11-dis.c (print_insn_pdp11): Subtract the SOB's displacement - rather than add it. - -2004-09-30 Paul Brook <paul@codesourcery.com> - - * arm-dis.c (print_insn_arm): Handle 'e' for SMI instruction. - * arm-opc.h: Document %e. Add ARMv6ZK instructions. - -2004-09-17 H.J. Lu <hongjiu.lu@intel.com> - - * Makefile.am (AUTOMAKE_OPTIONS): Require 1.9. - (CONFIG_STATUS_DEPENDENCIES): New. - (Makefile): Removed. - (config.status): Likewise. - * Makefile.in: Regenerated. - -2004-09-17 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - * aclocal.m4: Regenerate. - * configure: Regenerate. - * po/POTFILES.in: Regenerate. - * po/opcodes.pot: Regenerate. - -2004-09-11 Andreas Schwab <schwab@suse.de> - - * configure: Rebuild. - -2004-09-09 Segher Boessenkool <segher@kernel.crashing.org> - - * ppc-opc.c (L): Make this field not optional. - -2004-09-03 Tomer Levi <Tomer.Levi@nsc.com> - - * opc-crx.c: Rename 'popma' to 'popa', remove 'pushma'. - Fix parameter to 'm[t|f]csr' insns. - -2004-08-30 Nathanael Nerode <neroden@gcc.gnu.org> - - * configure.in: Autoupdate to autoconf 2.59. - * aclocal.m4: Rebuild with aclocal 1.4p6. - * configure: Rebuild with autoconf 2.59. - * Makefile.in: Rebuild with automake 1.4p6 (picking up - bfd changes for autoconf 2.59 on the way). - * config.in: Rebuild with autoheader 2.59. - -2004-08-27 Richard Sandiford <rsandifo@redhat.com> - - * frv-desc.[ch], frv-opc.[ch]: Regenerated. - -2004-07-30 Michal Ludvig <mludvig@suse.cz> - - * i386-dis.c (GRPPADLCK): Renamed to GRPPADLCK1 - (GRPPADLCK2): New define. - (twobyte_has_modrm): True for 0xA6. - (grps): GRPPADLCK2 for opcode 0xA6. - -2004-07-29 Alexandre Oliva <aoliva@redhat.com> - - Introduce SH2a support. - * sh-opc.h (arch_sh2a_base): Renumber. - (arch_sh2a_nofpu_base): Remove. - (arch_sh_base_mask): Adjust. - (arch_opann_mask): New. - (arch_sh2a, arch_sh2a_nofpu): Adjust. - (arch_sh2a_up, arch_sh2a_nofpu_up): Likewise. - (sh_table): Adjust whitespace. - 2004-02-24 Corinna Vinschen <vinschen@redhat.com> - * sh-opc.h (arch_sh2a_nofpu_up): New. Use instead of arch_sh2a_up in - instruction list throughout. - (arch_sh2a_up): Redefine to include fpu instruction set. Use instead - of arch_sh2a in instruction list throughout. - (arch_sh2e_up): Accomodate above changes. - (arch_sh2_up): Ditto. - 2004-02-20 Corinna Vinschen <vinschen@redhat.com> - * sh-opc.h: Add arch_sh2a_nofpu to arch_sh2_up. - 2004-02-18 Corinna Vinschen <vinschen@redhat.com> - * sh-dis.c (print_insn_sh): Add bfd_mach_sh2a_nofpu handling. - * sh-opc.h (arch_sh2a_nofpu): New. - (arch_sh2a_up): New, defines sh2a and sh2a_nofpu. - (sh_table): Change all arch_sh2a to arch_sh2a_up unless FPU - instruction. - 2004-01-20 DJ Delorie <dj@redhat.com> - * sh-dis.c (print_insn_sh): SH2A does not have 'X' fp regs. - 2003-12-29 DJ Delorie <dj@redhat.com> - * sh-opc.c (sh_nibble_type, sh_arg_type, arch_2a, arch_2e_up, - sh_opcode_info, sh_table): Add sh2a support. - (arch_op32): New, to tag 32-bit opcodes. - * sh-dis.c (print_insn_sh): Support sh2a opcodes. - 2003-12-02 Michael Snyder <msnyder@redhat.com> - * sh-opc.h (arch_sh2a): Add. - * sh-dis.c (arch_sh2a): Handle. - * sh-opc.h (arch_sh2_up): Fix up to include arch_sh2a. - -2004-07-27 Tomer Levi <Tomer.Levi@nsc.com> - - * crx-opc.c: Add popx,pushx insns. Indent code, fix comments. - -2004-07-22 Nick Clifton <nickc@redhat.com> - - PR/280 - * h8300-dis.c (bfd_h8_disassemble): Do not dump raw bytes for the - insns - this is done by objdump itself. - * h8500-dis.c (print_insn_h8500): Likewise. - -2004-07-21 Jan Beulich <jbeulich@novell.com> - - * i386-dis.c (OP_E): Show rip-relative addressing in 64-bit mode - regardless of address size prefix in effect. - (ptr_reg): Size or address registers does not depend on rex64, but - on the presence of an address size override. - (OP_MMX): Use rex.x only for xmm registers. - (OP_EM): Use rex.z only for xmm registers. - -2004-07-20 Maciej W. Rozycki <macro@linux-mips.org> - - * mips-opc.c (mips_builtin_opcodes): Move coprocessor 2 - move/branch operations to the bottom so that VR5400 multimedia - instructions take precedence in disassembly. - -2004-07-20 Maciej W. Rozycki <macro@linux-mips.org> - - * mips-opc.c (mips_builtin_opcodes): Remove the MIPS32 - ISA-specific "break" encoding. - -2004-07-13 Elvis Chiang <elvisfb@gmail.com> - - * arm-opc.h: Fix typo in comment. - -2004-07-11 Andreas Schwab <schwab@suse.de> - - * m68k-dis.c (m68k_valid_ea): Fix typos in last change. - -2004-07-09 Andreas Schwab <schwab@suse.de> - - * m68k-dis.c (m68k_valid_ea): Check validity of all codes. - -2004-07-07 Tomer Levi <Tomer.Levi@nsc.com> - - * Makefile.am (CFILES): Add crx-dis.c, crx-opc.c. - (ALL_MACHINES): Add crx-dis.lo, crx-opc.lo. - (crx-dis.lo): New target. - (crx-opc.lo): Likewise. - * Makefile.in: Regenerate. - * configure.in: Handle bfd_crx_arch. - * configure: Regenerate. - * crx-dis.c: New file. - * crx-opc.c: New file. - * disassemble.c (ARCH_crx): Define. - (disassembler): Handle ARCH_crx. - -2004-06-29 James E Wilson <wilson@specifixinc.com> - - * ia64-opc-a.c (ia64_opcodes_a): Delete mov immediate pseudo for adds. - * ia64-asmtab.c: Regnerate. - -2004-06-28 Alan Modra <amodra@bigpond.net.au> - - * ppc-opc.c (insert_fxm): Handle mfocrf and mtocrf. - (extract_fxm): Don't test dialect. - (XFXFXM_MASK): Include the power4 bit. - (XFXM): Add p4 param. - (powerpc_opcodes): Add mfocrf and mtocrf. Adjust mtcr. - -2004-06-27 Alexandre Oliva <aoliva@redhat.com> - - 2003-07-21 Richard Sandiford <rsandifo@redhat.com> - * disassemble.c (disassembler): Handle bfd_mach_h8300sxn. - -2004-06-26 Alan Modra <amodra@bigpond.net.au> - - * ppc-opc.c (BH, XLBH_MASK): Define. - (powerpc_opcodes): Allow BH field on bclr, bclrl, bcctr, bcctrl. - -2004-06-24 Alan Modra <amodra@bigpond.net.au> - - * i386-dis.c (x_mode): Comment. - (two_source_ops): File scope. - (float_mem): Correct fisttpll and fistpll. - (float_mem_mode): New table. - (dofloat): Use it. - (OP_E): Correct intel mode PTR output. - (ptr_reg): Use open_char and close_char. - (PNI_Fixup): Handle possible suffix on sidt. Use op1out etc. for - operands. Set two_source_ops. - -2004-06-15 Alan Modra <amodra@bigpond.net.au> - - * arc-ext.c (build_ARC_extmap): Use bfd_get_section_size - instead of _raw_size. - -2004-06-08 Jakub Jelinek <jakub@redhat.com> - - * ia64-gen.c (in_iclass): Handle more postinc st - and ld variants. - * ia64-asmtab.c: Rebuilt. - -2004-06-01 Martin Schwidefsky <schwidefsky@de.ibm.com> - - * s390-opc.txt: Correct architecture mask for some opcodes. - lrv, lrvh, strv, ml, dl, alc, slb rll and mvclu are available - in the esa mode as well. - -2004-05-28 Andrew Stubbs <andrew.stubbs@superh.com> - - * sh-dis.c (target_arch): Make unsigned. - (print_insn_sh): Replace (most of) switch with a call to - sh_get_arch_from_bfd_mach(). Also use new architecture flags system. - * sh-opc.h: Redefine architecture flags values. - Add sh3-nommu architecture. - Reorganise <arch>_up macros so they make more visual sense. - (SH_MERGE_ARCH_SET): Define new macro. - (SH_VALID_BASE_ARCH_SET): Likewise. - (SH_VALID_MMU_ARCH_SET): Likewise. - (SH_VALID_CO_ARCH_SET): Likewise. - (SH_VALID_ARCH_SET): Likewise. - (SH_MERGE_ARCH_SET_VALID): Likewise. - (SH_ARCH_SET_HAS_FPU): Likewise. - (SH_ARCH_SET_HAS_DSP): Likewise. - (SH_ARCH_UNKNOWN_ARCH): Likewise. - (sh_get_arch_from_bfd_mach): Add prototype. - (sh_get_arch_up_from_bfd_mach): Likewise. - (sh_get_bfd_mach_from_arch_set): Likewise. - (sh_merge_bfd_arc): Likewise. - -2004-05-24 Peter Barada <peter@the-baradas.com> - - * m68k-dis.c(print_insn_m68k): Strip body of diassembly out - into new match_insn_m68k function. Loop over canidate - matches and select first that completely matches. - * m68k-dis.c(print_insn_arg): Fix 'g' case to only extract 1 bit. - * m68k-dis.c(print_insn_arg): Call new function m68k_valid_ea - to verify addressing for MAC/EMAC. - * m68k-dis.c(print_insn_arg): Use reg_half_names for MAC/EMAC - reigster halves since 'fpu' and 'spl' look misleading. - * m68k-dis.c(fetch_arg): Fix 'G', 'H', 'I', 'f', 'M', 'N' cases. - * m68k-opc.c: Rearragne mac/emac cases to use longest for - first, tighten up match masks. - * m68k-opc.c: Add 'size' field to struct m68k_opcode. Produce - 'size' from special case code in print_insn_m68k to - determine decode size of insns. - -2004-05-19 Alan Modra <amodra@bigpond.net.au> - - * ppc-opc.c (insert_fxm): Enable two operand mfcr when -many as - well as when -mpower4. - -2004-05-13 Nick Clifton <nickc@redhat.com> - - * po/fr.po: Updated French translation. - -2004-05-05 Peter Barada <peter@the-baradas.com> - - * m68k-dis.c(print_insn_m68k): Add new chips, use core - variants in arch_mask. Only set m68881/68851 for 68k chips. - * m68k-op.c: Switch from ColdFire chips to core variants. - -2004-05-05 Alan Modra <amodra@bigpond.net.au> - - PR 147. - * ppc-opc.c (PPCVEC): Remove PPC_OPCODE_PPC. - -2004-04-29 Ben Elliston <bje@au.ibm.com> - - * ppc-opc.c (XCMPL): Renmame to XOPL. Update users. - (powerpc_opcodes): Add "dbczl" instruction for PPC970. - -2004-04-22 Kaz Kojima <kkojima@rr.iij4u.or.jp> - - * sh-dis.c (print_insn_sh): Print the value in constant pool - as a symbol if it looks like a symbol. - -2004-04-22 Peter Barada <peter@the-baradas.com> - - * m68k-dis.c(print_insn_m68k): Set mfcmac/mcfemac on - appropriate ColdFire architectures. - (print_insn_m68k): Handle EMAC, MAC/EMAC scalefactor, and MAC/EMAC - mask addressing. - Add EMAC instructions, fix MAC instructions. Remove - macmw/macml/msacmw/msacml instructions since mask addressing now - supported. - -2004-04-20 Jakub Jelinek <jakub@redhat.com> - - * sparc-opc.c (fmoviccx, fmovfccx, fmovccx): Define. - (fmovicc, fmovfcc, fmovcc): Remove fpsize argument, change opcode to - suffix. Use fmov*x macros, create all 3 fpsize variants in one - macro. Adjust all users. - -2004-04-15 Anil Paranjpe <anilp1@kpitcummins.com> - - * h8300-dis.c (bfd_h8_disassemble) : Treat "adds" & "subs" - separately. - -2004-03-30 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> - - * m32r-asm.c: Regenerate. - -2004-03-29 Stan Shebs <shebs@apple.com> - - * mpw-config.in, mpw-make.sed: Remove MPW support files, no longer - used. - -2004-03-19 Alan Modra <amodra@bigpond.net.au> - - * aclocal.m4: Regenerate. - * config.in: Regenerate. - * configure: Regenerate. - * po/POTFILES.in: Regenerate. - * po/opcodes.pot: Regenerate. - -2004-03-16 Alan Modra <amodra@bigpond.net.au> - - * ppc-dis.c (print_insn_powerpc): Don't print tabs. Handle - PPC_OPERANDS_GPR_0. - * ppc-opc.c (RA0): Define. - (RAQ, RAL, RAM, RAS, RSQ, RTQ, RSO): Use PPC_OPERAND_GPR_0. - (RAOPT): Rename from RAO. Update all uses. - (powerpc_opcodes): Use RA0 as appropriate. - -2004-03-15 Aldy Hernandez <aldyh@redhat.com> - - * ppc-opc.c (powerpc_opcodes): Add BOOKE versions of mfsprg. - -2004-03-15 Alan Modra <amodra@bigpond.net.au> - - * sparc-dis.c (print_insn_sparc): Update getword prototype. - -2004-03-12 Michal Ludvig <mludvig@suse.cz> - - * i386-dis.c (GRPPLOCK): Delete. - (grps): Delete GRPPLOCK entry. - -2004-03-12 Alan Modra <amodra@bigpond.net.au> - - * i386-dis.c (OP_M, OP_0f0e, OP_0fae, NOP_Fixup): New functions. - (M, Mp): Use OP_M. - (None, PADLOCK_SPECIAL, PADLOCK_0): Delete. - (GRPPADLCK): Define. - (dis386): Use NOP_Fixup on "nop". - (dis386_twobyte): Use GRPPADLCK on opcode 0xa7. - (twobyte_has_modrm): Set for 0xa7. - (padlock_table): Delete. Move to.. - (grps): ..here, using OP_0f07. Use OP_Ofae on lfence, mfence - and clflush. - (print_insn): Revert PADLOCK_SPECIAL code. - (OP_E): Delete sfence, lfence, mfence checks. - -2004-03-12 Jakub Jelinek <jakub@redhat.com> - - * i386-dis.c (grps): Use INVLPG_Fixup instead of OP_E for invlpg. - (INVLPG_Fixup): New function. - (PNI_Fixup): Remove ATTRIBUTE_UNUSED from sizeflag. - -2004-03-12 Michal Ludvig <mludvig@suse.cz> - - * i386-dis.c (PADLOCK_SPECIAL, PADLOCK_0): New defines. - (dis386_twobyte): Opcode 0xa7 is PADLOCK_0. - (padlock_table): New struct with PadLock instructions. - (print_insn): Handle PADLOCK_SPECIAL. - -2004-03-12 Alan Modra <amodra@bigpond.net.au> - - * i386-dis.c (grps): Use clflush by default for 0x0fae/7. - (OP_E): Twiddle clflush to sfence here. - -2004-03-08 Nick Clifton <nickc@redhat.com> - - * po/de.po: Updated German translation. - -2003-03-03 Andrew Stubbs <andrew.stubbs@superh.com> - - * sh-dis.c (print_insn_sh): Don't disassemble fp instructions in - nofpu mode. Add BFD type bfd_mach_sh4_nommu_nofpu. - * sh-opc.h: Add sh4_nommu_nofpu architecture and adjust instructions - accordingly. - -2004-03-01 Richard Sandiford <rsandifo@redhat.com> - - * frv-asm.c: Regenerate. - * frv-desc.c: Regenerate. - * frv-desc.h: Regenerate. - * frv-dis.c: Regenerate. - * frv-ibld.c: Regenerate. - * frv-opc.c: Regenerate. - * frv-opc.h: Regenerate. - -2004-03-01 Richard Sandiford <rsandifo@redhat.com> - - * frv-desc.c, frv-opc.c: Regenerate. - -2004-03-01 Richard Sandiford <rsandifo@redhat.com> - - * frv-desc.c, frv-opc.c, frv-opc.h: Regenerate. - -2004-02-26 Andrew Stubbs <andrew.stubbs@superh.com> - - * sh-opc.h: Move fsca and fsrra instructions from sh4a to sh4. - Also correct mistake in the comment. - -2004-02-26 Andrew Stubbs <andrew.stubbs@superh.com> - - * sh-dis.c (print_insn_sh): Add REG_N_D nibble type to - ensure that double registers have even numbers. - Add REG_N_B01 for nn01 (binary 01) nibble to ensure - that reserved instruction 0xfffd does not decode the same - as 0xfdfd (ftrv). - * sh-opc.h: Add REG_N_D nibble type and use it whereever - REG_N refers to a double register. - Add REG_N_B01 nibble type and use it instead of REG_NM - in ftrv. - Adjust the bit patterns in a few comments. - -2004-02-25 Aldy Hernandez <aldyh@redhat.com> - - * ppc-opc.c (powerpc_opcodes): Change mask for dcbt and dcbtst. - -2004-02-20 Aldy Hernandez <aldyh@redhat.com> - - * ppc-opc.c (powerpc_opcodes): Move mfmcsrr0 before mfdc_dat. - -2004-02-20 Aldy Hernandez <aldyh@redhat.com> - - * ppc-opc.c (powerpc_opcodes): Add m*ivor35. - -2004-02-20 Aldy Hernandez <aldyh@redhat.com> - - * ppc-opc.c (powerpc_opcodes): Add mfivor32, mfivor33, mfivor34, - mtivor32, mtivor33, mtivor34. - -2004-02-19 Aldy Hernandez <aldyh@redhat.com> - - * ppc-opc.c (powerpc_opcodes): Add mfmcar. - -2004-02-10 Petko Manolov <petkan@nucleusys.com> - - * arm-opc.h Maverick accumulator register opcode fixes. - -2004-02-13 Ben Elliston <bje@wasabisystems.com> - - * m32r-dis.c: Regenerate. - -2004-01-27 Michael Snyder <msnyder@redhat.com> - - * sh-opc.h (sh_table): "fsrra", not "fssra". - -2004-01-23 Andrew Over <andrew.over@cs.anu.edu.au> - - * sparc-opc.c (fdtox, fstox, fqtox, fxtod, fxtos, fxtoq): Tighten - contraints. - -2004-01-19 Andrew Over <andrew.over@cs.anu.edu.au> - - * sparc-opc.c (sparc_opcodes) <f[dsq]tox, fxto[dsq]>: Fix args. - -2004-01-19 Alan Modra <amodra@bigpond.net.au> - - * i386-dis.c (OP_E): Print scale factor on intel mode sib when not - 1. Don't print scale factor on AT&T mode when index missing. - -2004-01-16 Alexandre Oliva <aoliva@redhat.com> - - * m10300-opc.c (mov): 8- and 24-bit immediates are zero-extended - when loaded into XR registers. - -2004-01-14 Richard Sandiford <rsandifo@redhat.com> - - * frv-desc.h: Regenerate. - * frv-desc.c: Regenerate. - * frv-opc.c: Regenerate. - -2004-01-13 Michael Snyder <msnyder@redhat.com> - - * sh-dis.c (print_insn_sh): Allocate 4 bytes for insn. - -2004-01-09 Paul Brook <paul@codesourcery.com> - - * arm-opc.h (arm_opcodes): Move generic mcrr after known - specific opcodes. - -2004-01-07 Daniel Jacobowitz <drow@mvista.com> - - * Makefile.am (libopcodes_la_DEPENDENCIES) - (libopcodes_la_LIBADD): Revert 2003-05-17 change. Add explanatory - comment about the problem. - * Makefile.in: Regenerate. - -2004-01-06 Alexandre Oliva <aoliva@redhat.com> - - 2003-12-19 Alexandre Oliva <aoliva@redhat.com> - * frv-asm.c (parse_ulo16, parse_uhi16, parse_d12): Fix some - cut&paste errors in shifting/truncating numerical operands. - 2003-08-04 Alexandre Oliva <aoliva@redhat.com> - * frv-asm.c (parse_ulo16): Parse gotofflo and gotofffuncdesclo. - (parse_uslo16): Likewise. - (parse_uhi16): Parse gotoffhi and gotofffuncdeschi. - (parse_d12): Parse gotoff12 and gotofffuncdesc12. - (parse_s12): Likewise. - 2003-08-04 Alexandre Oliva <aoliva@redhat.com> - * frv-asm.c (parse_ulo16): Parse gotlo and gotfuncdesclo. - (parse_uslo16): Likewise. - (parse_uhi16): Parse gothi and gotfuncdeschi. - (parse_d12): Parse got12 and gotfuncdesc12. - (parse_s12): Likewise. - -2004-01-02 Albert Bartoszko <albar@nt.kegel.com.pl> - - * msp430-dis.c (msp430_doubleoperand): Check for an 'add' - instruction which looks similar to an 'rla' instruction. - -For older changes see ChangeLog-0203 +For older changes see ChangeLog-2005 Local Variables: mode: change-log diff --git a/opcodes/ChangeLog-2004 b/opcodes/ChangeLog-2004 new file mode 100644 index 0000000..139655b --- /dev/null +++ b/opcodes/ChangeLog-2004 @@ -0,0 +1,741 @@ +2004-12-23 Tomer Levi <Tomer.Levi@nsc.com> + + * crx-opc.c: Mark 'bcop' instruction as RELAXABLE. + +2004-12-14 Svein E. Seldal <Svein.Seldal@solidas.com> + + * avr-dis.c: Prettyprint. Added printing of symbol names in all + memory references. Convert avr_operand() to C90 formatting. + +2004-12-05 Tomer Levi <Tomer.Levi@nsc.com> + + * crx-dis.c (print_arg): Use 'info->print_address_func' for address printing. + +2004-11-29 Tomer Levi <Tomer.Levi@nsc.com> + + * crx-opc.c (crx_optab): Mark all rbase_disps* operands as signed. + (no_op_insn): Initialize array with instructions that have no + operands. + * crx-dis.c (make_instruction): Get rid of COP_BRANCH_INS operand swapping. + +2004-11-29 Richard Earnshaw <rearnsha@arm.com> + + * arm-dis.c: Correct top-level comment. + +2004-11-27 Richard Earnshaw <rearnsha@arm.com> + + * arm-opc.h (arm_opcode, thumb_opcode): Add extra field for the + architecuture defining the insn. + (arm_opcodes, thumb_opcodes): Delete. Move to ... + * arm-dis.c (arm_opcodes, thumb_opcodes): Here. Add architecutre + field. + Also include opcode/arm.h. + * Makefile.am (arm-dis.lo): Update dependency list. + * Makefile.in: Regenerate. + +2004-11-22 Ravi Ramaseshan <ravi.ramaseshan@codito.com> + + * opcode/arc-opc.c (insert_base): Modify ls_operand[LS_OFFSET] to + reflect the change to the short immediate syntax. + +2004-11-19 Alan Modra <amodra@bigpond.net.au> + + * or32-opc.c (debug): Warning fix. + * po/POTFILES.in: Regenerate. + + * maxq-dis.c: Formatting. + (print_insn): Warning fix. + +2004-11-17 Daniel Jacobowitz <dan@codesourcery.com> + + * arm-dis.c (WORD_ADDRESS): Define. + (print_insn): Use it. Correct big-endian end-of-section handling. + +2004-11-08 Inderpreet Singh <inderpreetb@nioda.hcltech.com> + Vineet Sharma <vineets@noida.hcltech.com> + + * maxq-dis.c: New file. + * disassemble.c (ARCH_maxq): Define. + (disassembler): Add 'print_insn_maxq_little' for handling maxq + instructions.. + * configure.in: Add case for bfd_maxq_arch. + * configure: Regenerate. + * Makefile.am: Add support for maxq-dis.c + * Makefile.in: Regenerate. + * aclocal.m4: Regenerate. + +2004-11-05 Tomer Levi <Tomer.Levi@nsc.com> + + * crx-opc.c (crx_optab): Rename 'arg_icr' to 'arg_idxr' for Index register + mode. + * crx-dis.c: Likewise. + +2004-11-04 Hans-Peter Nilsson <hp@axis.com> + + Generally, handle CRISv32. + * cris-dis.c (TRACE_CASE): Define as (disdata->trace_case). + (struct cris_disasm_data): New type. + (format_reg, format_hex, cris_constraint, print_flags) + (get_opcode_entry): Add struct cris_disasm_data * parameter. All + callers changed. + (format_sup_reg, print_insn_crisv32_with_register_prefix) + (print_insn_crisv32_without_register_prefix) + (print_insn_crisv10_v32_with_register_prefix) + (print_insn_crisv10_v32_without_register_prefix) + (cris_parse_disassembler_options): New functions. + (bytes_to_skip, cris_spec_reg): Add enum cris_disass_family + parameter. All callers changed. + (get_opcode_entry): Call malloc, not xmalloc. Return NULL on + failure. + (cris_constraint) <case 'Y', 'U'>: New cases. + (bytes_to_skip): Handle 'Y' and 'N' as 's'. Skip size is 4 bytes + for constraint 'n'. + (print_with_operands) <case 'Y'>: New case. + (print_with_operands) <case 'T', 'A', '[', ']', 'd', 'n', 'u'> + <case 'N', 'Y', 'Q'>: New cases. + (print_insn_cris_generic): Emit "bcc ." for zero and CRISv32. + (print_insn_cris_with_register_prefix) + (print_insn_cris_without_register_prefix): Call + cris_parse_disassembler_options. + * cris-opc.c (cris_spec_regs): Mention that this table isn't used + for CRISv32 and the size of immediate operands. New v32-only + entries for bz, pid, srs, wz, exs, eda, dz, ebp, erp, nrp, ccs and + spc. Add v32-only 4-byte entries for p2, p3, p5 and p6. Change + ccr, ibr, irp to be v0..v10. Change bar, dccr to be v8..v10. + Change brp to be v3..v10. + (cris_support_regs): New vector. + (cris_opcodes): Update head comment. New format characters '[', + ']', space, 'A', 'd', 'N', 'n', 'Q', 'T', 'u', 'U', 'Y'. + Add new opcodes for v32 and adjust existing opcodes to accommodate + differences to earlier variants. + (cris_cond15s): New vector. + +2004-11-04 Jan Beulich <jbeulich@novell.com> + + * i386-dis.c (Eq, Edqw, indirEp, Gdq, I1): Define. + (indirEb): Remove. + (Mp): Use f_mode rather than none at all. + (t_mode, dq_mode, dqw_mode, f_mode, const_1_mode): Define. t_mode + replaces what previously was x_mode; x_mode now means 128-bit SSE + operands. + (dis386): Make far jumps and calls have an 'l' prefix only in AT&T + mode. movmskpX's, pextrw's, and pmovmskb's first operands are Gdq. + pinsrw's second operand is Edqw. + (grps): 1-bit shifts' and rotates' second operands are I1. cmpxchg8b's + operand is Eq. movntq's and movntdq's first operands are EM. s[gi]dt, + fldenv, frstor, fsave, fstenv all should also have suffixes in Intel + mode when an operand size override is present or always suffixing. + More instructions will need to be added to this group. + (putop): Handle new macro chars 'C' (short/long suffix selector), + 'I' (Intel mode override for following macro char), and 'J' (for + adding the 'l' prefix to far branches in AT&T mode). When an + alternative was specified in the template, honor macro character when + specified for Intel mode. + (OP_E): Handle new *_mode values. Correct pointer specifications for + memory operands. Consolidate output of index register. + (OP_G): Handle new *_mode values. + (OP_I): Handle const_1_mode. + (OP_ESreg, OP_DSreg): Generate pointer specifications. Indicate + respective opcode prefix bits have been consumed. + (OP_EM, OP_EX): Provide some default handling for generating pointer + specifications. + +2004-10-28 Tomer Levi <Tomer.Levi@nsc.com> + + * crx-opc.c (REV_COP_INST): New macro, reverse operand order of + COP_INST macro. + +2004-10-27 Tomer Levi <Tomer.Levi@nsc.com> + + * crx-dis.c (enum REG_ARG_TYPE): New, replacing COP_ARG_TYPE. + (getregliststring): Support HI/LO and user registers. + * crx-opc.c (crx_instruction): Update data structure according to the + rearrangement done in CRX opcode header file. + (crx_regtab): Likewise. + (crx_optab): Likewise. + (crx_instruction): Reorder load/stor instructions, remove unsupported + formats. + support new Co-Processor instruction 'cpi'. + +2004-10-27 Nick Clifton <nickc@redhat.com> + + * opcodes/iq2000-asm.c: Regenerate. + * opcodes/iq2000-desc.c: Regenerate. + * opcodes/iq2000-desc.h: Regenerate. + * opcodes/iq2000-dis.c: Regenerate. + * opcodes/iq2000-ibld.c: Regenerate. + * opcodes/iq2000-opc.c: Regenerate. + * opcodes/iq2000-opc.h: Regenerate. + +2004-10-21 Tomer Levi <Tomer.Levi@nsc.com> + + * crx-opc.c (crx_instruction): Replace i3, i4, i5 with us3, + us4, us5 (respectively). + Remove unsupported 'popa' instruction. + Reverse operands order in store co-processor instructions. + +2004-10-15 Alan Modra <amodra@bigpond.net.au> + + * Makefile.am: Run "make dep-am" + * Makefile.in: Regenerate. + +2004-10-12 Bob Wilson <bob.wilson@acm.org> + + * xtensa-dis.c: Use ISO C90 formatting. + +2004-10-09 Alan Modra <amodra@bigpond.net.au> + + * ppc-opc.c: Revert 2004-09-09 change. + +2004-10-07 Bob Wilson <bob.wilson@acm.org> + + * xtensa-dis.c (state_names): Delete. + (fetch_data): Use xtensa_isa_maxlength. + (print_xtensa_operand): Replace operand parameter with opcode/operand + pair. Remove print_sr_name parameter. Use new xtensa-isa.h functions. + (print_insn_xtensa): Use new xtensa-isa.h functions. Handle multislot + instruction bundles. Use xmalloc instead of malloc. + +2004-10-07 David Gibson <david@gibson.dropbear.id.au> + + * ppc-opc.c: Replace literal "0"s with NULLs in pointer + initializers. + +2004-10-07 Tomer Levi <Tomer.Levi@nsc.com> + + * crx-opc.c (crx_instruction): Support Co-processor insns. + * crx-dis.c (COP_ARG_TYPE): New enum for CO-Processor arguments. + (getregliststring): Change function to use the above enum. + (print_arg): Handle CO-Processor insns. + (crx_cinvs): Add 'b' option to invalidate the branch-target + cache. + +2004-10-06 Aldy Hernandez <aldyh@redhat.com> + + * ppc-opc.c (powerpc_opcodes): Add efscfd, efdabs, efdnabs, + efdneg, efdadd, efdsub, efdmul, efddiv, efdcmpgt, efdcmplt, + efdcmpeq, efdtstgt, efdtstlt, efdtsteq, efdcfsi, efdcfsid, + efdcfui, efdcfuid, efdcfsf, efdcfuf, efdctsi, efdctsidz, efdctsiz, + efdctui, efdctuidz, efdctuiz, efdctsf, efdctuf, efdctuf, efdcfs. + +2004-10-01 Bill Farmer <Bill@the-farmers.freeserve.co.uk> + + * pdp11-dis.c (print_insn_pdp11): Subtract the SOB's displacement + rather than add it. + +2004-09-30 Paul Brook <paul@codesourcery.com> + + * arm-dis.c (print_insn_arm): Handle 'e' for SMI instruction. + * arm-opc.h: Document %e. Add ARMv6ZK instructions. + +2004-09-17 H.J. Lu <hongjiu.lu@intel.com> + + * Makefile.am (AUTOMAKE_OPTIONS): Require 1.9. + (CONFIG_STATUS_DEPENDENCIES): New. + (Makefile): Removed. + (config.status): Likewise. + * Makefile.in: Regenerated. + +2004-09-17 Alan Modra <amodra@bigpond.net.au> + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + * aclocal.m4: Regenerate. + * configure: Regenerate. + * po/POTFILES.in: Regenerate. + * po/opcodes.pot: Regenerate. + +2004-09-11 Andreas Schwab <schwab@suse.de> + + * configure: Rebuild. + +2004-09-09 Segher Boessenkool <segher@kernel.crashing.org> + + * ppc-opc.c (L): Make this field not optional. + +2004-09-03 Tomer Levi <Tomer.Levi@nsc.com> + + * opc-crx.c: Rename 'popma' to 'popa', remove 'pushma'. + Fix parameter to 'm[t|f]csr' insns. + +2004-08-30 Nathanael Nerode <neroden@gcc.gnu.org> + + * configure.in: Autoupdate to autoconf 2.59. + * aclocal.m4: Rebuild with aclocal 1.4p6. + * configure: Rebuild with autoconf 2.59. + * Makefile.in: Rebuild with automake 1.4p6 (picking up + bfd changes for autoconf 2.59 on the way). + * config.in: Rebuild with autoheader 2.59. + +2004-08-27 Richard Sandiford <rsandifo@redhat.com> + + * frv-desc.[ch], frv-opc.[ch]: Regenerated. + +2004-07-30 Michal Ludvig <mludvig@suse.cz> + + * i386-dis.c (GRPPADLCK): Renamed to GRPPADLCK1 + (GRPPADLCK2): New define. + (twobyte_has_modrm): True for 0xA6. + (grps): GRPPADLCK2 for opcode 0xA6. + +2004-07-29 Alexandre Oliva <aoliva@redhat.com> + + Introduce SH2a support. + * sh-opc.h (arch_sh2a_base): Renumber. + (arch_sh2a_nofpu_base): Remove. + (arch_sh_base_mask): Adjust. + (arch_opann_mask): New. + (arch_sh2a, arch_sh2a_nofpu): Adjust. + (arch_sh2a_up, arch_sh2a_nofpu_up): Likewise. + (sh_table): Adjust whitespace. + 2004-02-24 Corinna Vinschen <vinschen@redhat.com> + * sh-opc.h (arch_sh2a_nofpu_up): New. Use instead of arch_sh2a_up in + instruction list throughout. + (arch_sh2a_up): Redefine to include fpu instruction set. Use instead + of arch_sh2a in instruction list throughout. + (arch_sh2e_up): Accomodate above changes. + (arch_sh2_up): Ditto. + 2004-02-20 Corinna Vinschen <vinschen@redhat.com> + * sh-opc.h: Add arch_sh2a_nofpu to arch_sh2_up. + 2004-02-18 Corinna Vinschen <vinschen@redhat.com> + * sh-dis.c (print_insn_sh): Add bfd_mach_sh2a_nofpu handling. + * sh-opc.h (arch_sh2a_nofpu): New. + (arch_sh2a_up): New, defines sh2a and sh2a_nofpu. + (sh_table): Change all arch_sh2a to arch_sh2a_up unless FPU + instruction. + 2004-01-20 DJ Delorie <dj@redhat.com> + * sh-dis.c (print_insn_sh): SH2A does not have 'X' fp regs. + 2003-12-29 DJ Delorie <dj@redhat.com> + * sh-opc.c (sh_nibble_type, sh_arg_type, arch_2a, arch_2e_up, + sh_opcode_info, sh_table): Add sh2a support. + (arch_op32): New, to tag 32-bit opcodes. + * sh-dis.c (print_insn_sh): Support sh2a opcodes. + 2003-12-02 Michael Snyder <msnyder@redhat.com> + * sh-opc.h (arch_sh2a): Add. + * sh-dis.c (arch_sh2a): Handle. + * sh-opc.h (arch_sh2_up): Fix up to include arch_sh2a. + +2004-07-27 Tomer Levi <Tomer.Levi@nsc.com> + + * crx-opc.c: Add popx,pushx insns. Indent code, fix comments. + +2004-07-22 Nick Clifton <nickc@redhat.com> + + PR/280 + * h8300-dis.c (bfd_h8_disassemble): Do not dump raw bytes for the + insns - this is done by objdump itself. + * h8500-dis.c (print_insn_h8500): Likewise. + +2004-07-21 Jan Beulich <jbeulich@novell.com> + + * i386-dis.c (OP_E): Show rip-relative addressing in 64-bit mode + regardless of address size prefix in effect. + (ptr_reg): Size or address registers does not depend on rex64, but + on the presence of an address size override. + (OP_MMX): Use rex.x only for xmm registers. + (OP_EM): Use rex.z only for xmm registers. + +2004-07-20 Maciej W. Rozycki <macro@linux-mips.org> + + * mips-opc.c (mips_builtin_opcodes): Move coprocessor 2 + move/branch operations to the bottom so that VR5400 multimedia + instructions take precedence in disassembly. + +2004-07-20 Maciej W. Rozycki <macro@linux-mips.org> + + * mips-opc.c (mips_builtin_opcodes): Remove the MIPS32 + ISA-specific "break" encoding. + +2004-07-13 Elvis Chiang <elvisfb@gmail.com> + + * arm-opc.h: Fix typo in comment. + +2004-07-11 Andreas Schwab <schwab@suse.de> + + * m68k-dis.c (m68k_valid_ea): Fix typos in last change. + +2004-07-09 Andreas Schwab <schwab@suse.de> + + * m68k-dis.c (m68k_valid_ea): Check validity of all codes. + +2004-07-07 Tomer Levi <Tomer.Levi@nsc.com> + + * Makefile.am (CFILES): Add crx-dis.c, crx-opc.c. + (ALL_MACHINES): Add crx-dis.lo, crx-opc.lo. + (crx-dis.lo): New target. + (crx-opc.lo): Likewise. + * Makefile.in: Regenerate. + * configure.in: Handle bfd_crx_arch. + * configure: Regenerate. + * crx-dis.c: New file. + * crx-opc.c: New file. + * disassemble.c (ARCH_crx): Define. + (disassembler): Handle ARCH_crx. + +2004-06-29 James E Wilson <wilson@specifixinc.com> + + * ia64-opc-a.c (ia64_opcodes_a): Delete mov immediate pseudo for adds. + * ia64-asmtab.c: Regnerate. + +2004-06-28 Alan Modra <amodra@bigpond.net.au> + + * ppc-opc.c (insert_fxm): Handle mfocrf and mtocrf. + (extract_fxm): Don't test dialect. + (XFXFXM_MASK): Include the power4 bit. + (XFXM): Add p4 param. + (powerpc_opcodes): Add mfocrf and mtocrf. Adjust mtcr. + +2004-06-27 Alexandre Oliva <aoliva@redhat.com> + + 2003-07-21 Richard Sandiford <rsandifo@redhat.com> + * disassemble.c (disassembler): Handle bfd_mach_h8300sxn. + +2004-06-26 Alan Modra <amodra@bigpond.net.au> + + * ppc-opc.c (BH, XLBH_MASK): Define. + (powerpc_opcodes): Allow BH field on bclr, bclrl, bcctr, bcctrl. + +2004-06-24 Alan Modra <amodra@bigpond.net.au> + + * i386-dis.c (x_mode): Comment. + (two_source_ops): File scope. + (float_mem): Correct fisttpll and fistpll. + (float_mem_mode): New table. + (dofloat): Use it. + (OP_E): Correct intel mode PTR output. + (ptr_reg): Use open_char and close_char. + (PNI_Fixup): Handle possible suffix on sidt. Use op1out etc. for + operands. Set two_source_ops. + +2004-06-15 Alan Modra <amodra@bigpond.net.au> + + * arc-ext.c (build_ARC_extmap): Use bfd_get_section_size + instead of _raw_size. + +2004-06-08 Jakub Jelinek <jakub@redhat.com> + + * ia64-gen.c (in_iclass): Handle more postinc st + and ld variants. + * ia64-asmtab.c: Rebuilt. + +2004-06-01 Martin Schwidefsky <schwidefsky@de.ibm.com> + + * s390-opc.txt: Correct architecture mask for some opcodes. + lrv, lrvh, strv, ml, dl, alc, slb rll and mvclu are available + in the esa mode as well. + +2004-05-28 Andrew Stubbs <andrew.stubbs@superh.com> + + * sh-dis.c (target_arch): Make unsigned. + (print_insn_sh): Replace (most of) switch with a call to + sh_get_arch_from_bfd_mach(). Also use new architecture flags system. + * sh-opc.h: Redefine architecture flags values. + Add sh3-nommu architecture. + Reorganise <arch>_up macros so they make more visual sense. + (SH_MERGE_ARCH_SET): Define new macro. + (SH_VALID_BASE_ARCH_SET): Likewise. + (SH_VALID_MMU_ARCH_SET): Likewise. + (SH_VALID_CO_ARCH_SET): Likewise. + (SH_VALID_ARCH_SET): Likewise. + (SH_MERGE_ARCH_SET_VALID): Likewise. + (SH_ARCH_SET_HAS_FPU): Likewise. + (SH_ARCH_SET_HAS_DSP): Likewise. + (SH_ARCH_UNKNOWN_ARCH): Likewise. + (sh_get_arch_from_bfd_mach): Add prototype. + (sh_get_arch_up_from_bfd_mach): Likewise. + (sh_get_bfd_mach_from_arch_set): Likewise. + (sh_merge_bfd_arc): Likewise. + +2004-05-24 Peter Barada <peter@the-baradas.com> + + * m68k-dis.c(print_insn_m68k): Strip body of diassembly out + into new match_insn_m68k function. Loop over canidate + matches and select first that completely matches. + * m68k-dis.c(print_insn_arg): Fix 'g' case to only extract 1 bit. + * m68k-dis.c(print_insn_arg): Call new function m68k_valid_ea + to verify addressing for MAC/EMAC. + * m68k-dis.c(print_insn_arg): Use reg_half_names for MAC/EMAC + reigster halves since 'fpu' and 'spl' look misleading. + * m68k-dis.c(fetch_arg): Fix 'G', 'H', 'I', 'f', 'M', 'N' cases. + * m68k-opc.c: Rearragne mac/emac cases to use longest for + first, tighten up match masks. + * m68k-opc.c: Add 'size' field to struct m68k_opcode. Produce + 'size' from special case code in print_insn_m68k to + determine decode size of insns. + +2004-05-19 Alan Modra <amodra@bigpond.net.au> + + * ppc-opc.c (insert_fxm): Enable two operand mfcr when -many as + well as when -mpower4. + +2004-05-13 Nick Clifton <nickc@redhat.com> + + * po/fr.po: Updated French translation. + +2004-05-05 Peter Barada <peter@the-baradas.com> + + * m68k-dis.c(print_insn_m68k): Add new chips, use core + variants in arch_mask. Only set m68881/68851 for 68k chips. + * m68k-op.c: Switch from ColdFire chips to core variants. + +2004-05-05 Alan Modra <amodra@bigpond.net.au> + + PR 147. + * ppc-opc.c (PPCVEC): Remove PPC_OPCODE_PPC. + +2004-04-29 Ben Elliston <bje@au.ibm.com> + + * ppc-opc.c (XCMPL): Renmame to XOPL. Update users. + (powerpc_opcodes): Add "dbczl" instruction for PPC970. + +2004-04-22 Kaz Kojima <kkojima@rr.iij4u.or.jp> + + * sh-dis.c (print_insn_sh): Print the value in constant pool + as a symbol if it looks like a symbol. + +2004-04-22 Peter Barada <peter@the-baradas.com> + + * m68k-dis.c(print_insn_m68k): Set mfcmac/mcfemac on + appropriate ColdFire architectures. + (print_insn_m68k): Handle EMAC, MAC/EMAC scalefactor, and MAC/EMAC + mask addressing. + Add EMAC instructions, fix MAC instructions. Remove + macmw/macml/msacmw/msacml instructions since mask addressing now + supported. + +2004-04-20 Jakub Jelinek <jakub@redhat.com> + + * sparc-opc.c (fmoviccx, fmovfccx, fmovccx): Define. + (fmovicc, fmovfcc, fmovcc): Remove fpsize argument, change opcode to + suffix. Use fmov*x macros, create all 3 fpsize variants in one + macro. Adjust all users. + +2004-04-15 Anil Paranjpe <anilp1@kpitcummins.com> + + * h8300-dis.c (bfd_h8_disassemble) : Treat "adds" & "subs" + separately. + +2004-03-30 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> + + * m32r-asm.c: Regenerate. + +2004-03-29 Stan Shebs <shebs@apple.com> + + * mpw-config.in, mpw-make.sed: Remove MPW support files, no longer + used. + +2004-03-19 Alan Modra <amodra@bigpond.net.au> + + * aclocal.m4: Regenerate. + * config.in: Regenerate. + * configure: Regenerate. + * po/POTFILES.in: Regenerate. + * po/opcodes.pot: Regenerate. + +2004-03-16 Alan Modra <amodra@bigpond.net.au> + + * ppc-dis.c (print_insn_powerpc): Don't print tabs. Handle + PPC_OPERANDS_GPR_0. + * ppc-opc.c (RA0): Define. + (RAQ, RAL, RAM, RAS, RSQ, RTQ, RSO): Use PPC_OPERAND_GPR_0. + (RAOPT): Rename from RAO. Update all uses. + (powerpc_opcodes): Use RA0 as appropriate. + +2004-03-15 Aldy Hernandez <aldyh@redhat.com> + + * ppc-opc.c (powerpc_opcodes): Add BOOKE versions of mfsprg. + +2004-03-15 Alan Modra <amodra@bigpond.net.au> + + * sparc-dis.c (print_insn_sparc): Update getword prototype. + +2004-03-12 Michal Ludvig <mludvig@suse.cz> + + * i386-dis.c (GRPPLOCK): Delete. + (grps): Delete GRPPLOCK entry. + +2004-03-12 Alan Modra <amodra@bigpond.net.au> + + * i386-dis.c (OP_M, OP_0f0e, OP_0fae, NOP_Fixup): New functions. + (M, Mp): Use OP_M. + (None, PADLOCK_SPECIAL, PADLOCK_0): Delete. + (GRPPADLCK): Define. + (dis386): Use NOP_Fixup on "nop". + (dis386_twobyte): Use GRPPADLCK on opcode 0xa7. + (twobyte_has_modrm): Set for 0xa7. + (padlock_table): Delete. Move to.. + (grps): ..here, using OP_0f07. Use OP_Ofae on lfence, mfence + and clflush. + (print_insn): Revert PADLOCK_SPECIAL code. + (OP_E): Delete sfence, lfence, mfence checks. + +2004-03-12 Jakub Jelinek <jakub@redhat.com> + + * i386-dis.c (grps): Use INVLPG_Fixup instead of OP_E for invlpg. + (INVLPG_Fixup): New function. + (PNI_Fixup): Remove ATTRIBUTE_UNUSED from sizeflag. + +2004-03-12 Michal Ludvig <mludvig@suse.cz> + + * i386-dis.c (PADLOCK_SPECIAL, PADLOCK_0): New defines. + (dis386_twobyte): Opcode 0xa7 is PADLOCK_0. + (padlock_table): New struct with PadLock instructions. + (print_insn): Handle PADLOCK_SPECIAL. + +2004-03-12 Alan Modra <amodra@bigpond.net.au> + + * i386-dis.c (grps): Use clflush by default for 0x0fae/7. + (OP_E): Twiddle clflush to sfence here. + +2004-03-08 Nick Clifton <nickc@redhat.com> + + * po/de.po: Updated German translation. + +2003-03-03 Andrew Stubbs <andrew.stubbs@superh.com> + + * sh-dis.c (print_insn_sh): Don't disassemble fp instructions in + nofpu mode. Add BFD type bfd_mach_sh4_nommu_nofpu. + * sh-opc.h: Add sh4_nommu_nofpu architecture and adjust instructions + accordingly. + +2004-03-01 Richard Sandiford <rsandifo@redhat.com> + + * frv-asm.c: Regenerate. + * frv-desc.c: Regenerate. + * frv-desc.h: Regenerate. + * frv-dis.c: Regenerate. + * frv-ibld.c: Regenerate. + * frv-opc.c: Regenerate. + * frv-opc.h: Regenerate. + +2004-03-01 Richard Sandiford <rsandifo@redhat.com> + + * frv-desc.c, frv-opc.c: Regenerate. + +2004-03-01 Richard Sandiford <rsandifo@redhat.com> + + * frv-desc.c, frv-opc.c, frv-opc.h: Regenerate. + +2004-02-26 Andrew Stubbs <andrew.stubbs@superh.com> + + * sh-opc.h: Move fsca and fsrra instructions from sh4a to sh4. + Also correct mistake in the comment. + +2004-02-26 Andrew Stubbs <andrew.stubbs@superh.com> + + * sh-dis.c (print_insn_sh): Add REG_N_D nibble type to + ensure that double registers have even numbers. + Add REG_N_B01 for nn01 (binary 01) nibble to ensure + that reserved instruction 0xfffd does not decode the same + as 0xfdfd (ftrv). + * sh-opc.h: Add REG_N_D nibble type and use it whereever + REG_N refers to a double register. + Add REG_N_B01 nibble type and use it instead of REG_NM + in ftrv. + Adjust the bit patterns in a few comments. + +2004-02-25 Aldy Hernandez <aldyh@redhat.com> + + * ppc-opc.c (powerpc_opcodes): Change mask for dcbt and dcbtst. + +2004-02-20 Aldy Hernandez <aldyh@redhat.com> + + * ppc-opc.c (powerpc_opcodes): Move mfmcsrr0 before mfdc_dat. + +2004-02-20 Aldy Hernandez <aldyh@redhat.com> + + * ppc-opc.c (powerpc_opcodes): Add m*ivor35. + +2004-02-20 Aldy Hernandez <aldyh@redhat.com> + + * ppc-opc.c (powerpc_opcodes): Add mfivor32, mfivor33, mfivor34, + mtivor32, mtivor33, mtivor34. + +2004-02-19 Aldy Hernandez <aldyh@redhat.com> + + * ppc-opc.c (powerpc_opcodes): Add mfmcar. + +2004-02-10 Petko Manolov <petkan@nucleusys.com> + + * arm-opc.h Maverick accumulator register opcode fixes. + +2004-02-13 Ben Elliston <bje@wasabisystems.com> + + * m32r-dis.c: Regenerate. + +2004-01-27 Michael Snyder <msnyder@redhat.com> + + * sh-opc.h (sh_table): "fsrra", not "fssra". + +2004-01-23 Andrew Over <andrew.over@cs.anu.edu.au> + + * sparc-opc.c (fdtox, fstox, fqtox, fxtod, fxtos, fxtoq): Tighten + contraints. + +2004-01-19 Andrew Over <andrew.over@cs.anu.edu.au> + + * sparc-opc.c (sparc_opcodes) <f[dsq]tox, fxto[dsq]>: Fix args. + +2004-01-19 Alan Modra <amodra@bigpond.net.au> + + * i386-dis.c (OP_E): Print scale factor on intel mode sib when not + 1. Don't print scale factor on AT&T mode when index missing. + +2004-01-16 Alexandre Oliva <aoliva@redhat.com> + + * m10300-opc.c (mov): 8- and 24-bit immediates are zero-extended + when loaded into XR registers. + +2004-01-14 Richard Sandiford <rsandifo@redhat.com> + + * frv-desc.h: Regenerate. + * frv-desc.c: Regenerate. + * frv-opc.c: Regenerate. + +2004-01-13 Michael Snyder <msnyder@redhat.com> + + * sh-dis.c (print_insn_sh): Allocate 4 bytes for insn. + +2004-01-09 Paul Brook <paul@codesourcery.com> + + * arm-opc.h (arm_opcodes): Move generic mcrr after known + specific opcodes. + +2004-01-07 Daniel Jacobowitz <drow@mvista.com> + + * Makefile.am (libopcodes_la_DEPENDENCIES) + (libopcodes_la_LIBADD): Revert 2003-05-17 change. Add explanatory + comment about the problem. + * Makefile.in: Regenerate. + +2004-01-06 Alexandre Oliva <aoliva@redhat.com> + + 2003-12-19 Alexandre Oliva <aoliva@redhat.com> + * frv-asm.c (parse_ulo16, parse_uhi16, parse_d12): Fix some + cut&paste errors in shifting/truncating numerical operands. + 2003-08-04 Alexandre Oliva <aoliva@redhat.com> + * frv-asm.c (parse_ulo16): Parse gotofflo and gotofffuncdesclo. + (parse_uslo16): Likewise. + (parse_uhi16): Parse gotoffhi and gotofffuncdeschi. + (parse_d12): Parse gotoff12 and gotofffuncdesc12. + (parse_s12): Likewise. + 2003-08-04 Alexandre Oliva <aoliva@redhat.com> + * frv-asm.c (parse_ulo16): Parse gotlo and gotfuncdesclo. + (parse_uslo16): Likewise. + (parse_uhi16): Parse gothi and gotfuncdeschi. + (parse_d12): Parse got12 and gotfuncdesc12. + (parse_s12): Likewise. + +2004-01-02 Albert Bartoszko <albar@nt.kegel.com.pl> + + * msp430-dis.c (msp430_doubleoperand): Check for an 'add' + instruction which looks similar to an 'rla' instruction. + +For older changes see ChangeLog-0203 + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/opcodes/ChangeLog-2005 b/opcodes/ChangeLog-2005 new file mode 100644 index 0000000..3084557 --- /dev/null +++ b/opcodes/ChangeLog-2005 @@ -0,0 +1,1253 @@ +2005-12-27 Alan Modra <amodra@bigpond.net.au> + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + * po/POTFILES.in: Regenerate. + +2005-12-22 Laurent Menten <laurent.menten@teledisnet.be> + + * pj-opc.c (jsr, ret, getstatic, putstatic, getfield, putfield, + invokevirtual, invokespecial, invokestatic, invokeinterface, + goto_w, jsr_w, ldc_quick, ldc_w_quick, ldc2_w_quick, + getfield_quick, putfield_quick, getfield2_quick, putfield2_quick, + getstatic_quick, putstatic_quick, getstatic2_quick, + putstatic2_quick, invokevirtual_quick, invokenonvirtual_quick, + invokesuper_quick, invokestatic_quick, invokeinterface_quick, + aastore_quick, new_quick, anewarray_quick, multianewarray_quick, + checkcast_quick, instanceof_quick, invokevirtiual_quick_w, + getfield_quick_w, putfield_quick_w, nonnull_quick, + agetfield_quick, aputfield_quick, agetstatic_quick, + aputstatic_quick, aldc_quick, aldc_w_quick, exit_sync_method): Fix + opcodes. + +2005-12-16 Nathan Sidwell <nathan@codesourcery.com> + + Second part of ms1 to mt renaming. + * Makefile.am (HFILES, CFILES, ALL_MACHINES): Adjust. + (stamp-mt): Adjust rule. + (mt-asm.lo, mt-desc.lo, mt-dis.lo, mt-ibld.lo, mt-opc.lo): Rename & + adjust. + * Makefile.in: Rebuilt. + * configure: Rebuilt. + * configure.in (bfd_mt_arch): Rename & adjust. + * disassemble.c (ARCH_mt): Renamed. + (disassembler): Adjust. + * mt-asm.c: Renamed, rebuilt. + * mt-desc.c: Renamed, rebuilt. + * mt-desc.h: Renamed, rebuilt. + * mt-dis.c: Renamed, rebuilt. + * mt-ibld.c: Renamed, rebuilt. + * mt-opc.c: Renamed, rebuilt. + * mt-opc.h: Renamed, rebuilt. + +2005-12-13 DJ Delorie <dj@redhat.com> + + * m32c-desc.c: Regenerate. + * m32c-opc.c: Regenerate. + * m32c-opc.h: Regenerate. + +2005-12-12 Nathan Sidwell <nathan@codesourcery.com> + + * Makefile.am (CLEANFILES, CGEN_CPUS, MT_DEPS): Replace ms1 with mt. + * Makefile.in: Rebuilt. + * configure.in: Replace ms1 files with mt files. + * configure: Rebuilt. + +2005-12-08 Jan Beulich <jbeulich@novell.com> + + * i386-dis.c (MAXLEN): Reduce to architectural limit. + (fetch_data): Check for sufficient buffer size. + +2005-12-08 Jan Beulich <jbeulich@novell.com> + + * i386-dis.c (OP_ST): Remove prefix in Intel mode. + +2005-12-08 Daniel Jacobowitz <dan@codesourcery.com> + + * i386-dis.c (dofloat): Handle %rip-relative floating point addressing. + +2005-12-07 Hans-Peter Nilsson <hp@axis.com> + + * cris-opc.c (cris_opcodes) <"move" "s,P">: Define using + MOVE_M_TO_PREG_OPCODE and MOVE_M_TO_PREG_ZBITS instead of constants. + +2005-12-06 H.J. Lu <hongjiu.lu@intel.com> + + PR gas/1874 + * i386-dis.c (address_mode): New enum type. + (address_mode): New variable. + (mode_64bit): Removed. + (ckprefix): Updated to check address_mode instead of mode_64bit. + (prefix_name): Likewise. + (print_insn): Likewise. + (putop): Likewise. + (print_operand_value): Likewise. + (intel_operand_size): Likewise. + (OP_E): Likewise. + (OP_G): Likewise. + (set_op): Likewise. + (OP_REG): Likewise. + (OP_I): Likewise. + (OP_I64): Likewise. + (OP_OFF): Likewise. + (OP_OFF64): Likewise. + (ptr_reg): Likewise. + (OP_C): Likewise. + (SVME_Fixup): Likewise. + (print_insn): Set address_mode. + (PNI_Fixup): Add 64bit and address size override support for + monitor and mwait. + +2005-12-06 Hans-Peter Nilsson <hp@axis.com> + + * cris-dis.c (bytes_to_skip): Handle new parameter prefix_matchedp. + (print_with_operands): Check for prefix when [PC+] is seen. + +2005-12-02 Dave Brolley <brolley@redhat.com> + + * configure.in (cgen_files): Add cgen-bitset.lo. + (ta): Add cgen-bitset.lo when arch==bfd_cris_arch. + * Makefile.am (CFILES): Add cgen-bitset.c. + (ALL_MACHINES): Add cgen-bitset.lo. + (cgen-bitset.lo): New target. + * cgen-opc.c (cgen_bitset_create, cgen_bitset_init, cgen_bitset_clear) + (cgen_bitset_add, cgen_bitset_set, cgen_bitset_contains) + (cgen_bitset_compare, cgen_bitset_intersect_p, cgen_bitset_copy) + (cgen_bitset_union): Moved from here ... + * cgen-bitset.c: ... to here. New file. + * Makefile.in: Regenerated. + * configure: Regenerated. + +2005-11-22 James E Wilson <wilson@specifix.com> + + * ia64-gen.c (_opcode_int64_low, _opcode_int64_high, + opcode_fprintf_vma): New. + (print_main_table): New opcode_fprintf_vma instead of fprintf_vma. + +2005-11-16 Alan Modra <amodra@bigpond.net.au> + + * ppc-opc.c (powerpc_opcodes): Add frin,friz,frip,frim. Correct + frsqrtes. + +2005-11-14 David Ung <davidu@mips.com> + + * mips16-opc.c: Add MIPS16e save/restore opcodes. + * mips-dis.c (print_mips16_insn_arg): Handle printing of 'm'/'M' + codes for save/restore. + +2005-11-10 Andreas Schwab <schwab@suse.de> + + * m68k-dis.c (print_insn_m68k): Only match FPU insns with + coprocessor ID 1. + +2005-11-08 H.J. Lu <hongjiu.lu@intel.com> + + * m32c-desc.c: Regenerated. + +2005-11-08 Nathan Sidwell <nathan@codesourcery.com> + + Add ms2. + * ms1-asm.c, ms1-desc.c, ms1-desc.h, ms1-dis.c, ms1-ibld.c, + ms1-opc.c, ms1-opc.h: Regenerated. + +2005-11-07 Steve Ellcey <sje@cup.hp.com> + + * configure: Regenerate after modifying bfd/warning.m4. + +2005-11-07 Alan Modra <amodra@bigpond.net.au> + + * i386-dis.c (ckprefix): Handle rex on fwait. Don't print + ignored rex prefixes here. + (print_insn): Instead, handle them similarly to fwait followed + by non-fp insns. + +2005-11-02 H.J. Lu <hongjiu.lu@intel.com> + + * iq2000-desc.c: Regenerated. + * iq2000-desc.h: Likewise. + * iq2000-dis.c: Likewise. + * iq2000-opc.c: Likewise. + +2005-11-02 Paul Brook <paul@codesourcery.com> + + * arm-dis.c (print_insn_thumb32): Word align blx target address. + +2005-10-31 Alan Modra <amodra@bigpond.net.au> + + * arm-dis.c (print_insn): Warning fix. + +2005-10-30 H.J. Lu <hongjiu.lu@intel.com> + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerated. + + * dep-in.sed: Replace " ./" with " ". + +2005-10-28 Dave Brolley <brolley@redhat.com> + + * All CGEN-generated sources: Regenerate. + + Contribute the following changes: + 2005-09-19 Dave Brolley <brolley@redhat.com> + + * disassemble.c (disassemble_init_for_target): Add 'break' to case for + bfd_arch_tic4x. Use cgen_bitset_create and cgen_bitset_set for + bfd_arch_m32c case. + + 2005-02-16 Dave Brolley <brolley@redhat.com> + + * cgen-dis.in: Rename CGEN_ISA_MASK to CGEN_BITSET. Rename + cgen_isa_mask_* to cgen_bitset_*. + * cgen-opc.c: Likewise. + + 2003-11-28 Richard Sandiford <rsandifo@redhat.com> + + * cgen-dis.in (print_insn_@arch@): Fix comparison with cached isas. + * *-dis.c: Regenerate. + + 2003-06-05 DJ Delorie <dj@redhat.com> + + * cgen-dis.in (print_insn_@arch@): Copy prev_isas, don't assign + it, as it may point to a reused buffer. Set prev_isas when we + change cpus. + + 2002-12-13 Dave Brolley <brolley@redhat.com> + + * cgen-opc.c (cgen_isa_mask_create): New support function for + CGEN_ISA_MASK. + (cgen_isa_mask_init): Ditto. + (cgen_isa_mask_clear): Ditto. + (cgen_isa_mask_add): Ditto. + (cgen_isa_mask_set): Ditto. + (cgen_isa_supported): Ditto. + (cgen_isa_mask_compare): Ditto. + (cgen_isa_mask_intersection): Ditto. + (cgen_isa_mask_copy): Ditto. + (cgen_isa_mask_combine): Ditto. + * cgen-dis.in (libiberty.h): #include it. + (isas): Renamed from 'isa' and now (CGEN_ISA_MASK *). + (print_insn_@arch@): Use CGEN_ISA_MASK and support functions. + * Makefile.am (CGENDEPS): Add utils-cgen.scm and attrs.scm. + * Makefile.in: Regenerated. + +2005-10-27 DJ Delorie <dj@redhat.com> + + * m32c-asm.c: Regenerate. + * m32c-desc.c: Regenerate. + * m32c-desc.h: Regenerate. + * m32c-dis.c: Regenerate. + * m32c-ibld.c: Regenerate. + * m32c-opc.c: Regenerate. + * m32c-opc.h: Regenerate. + +2005-10-26 DJ Delorie <dj@redhat.com> + + * m32c-asm.c: Regenerate. + * m32c-desc.c: Regenerate. + * m32c-desc.h: Regenerate. + * m32c-dis.c: Regenerate. + * m32c-ibld.c: Regenerate. + * m32c-opc.c: Regenerate. + * m32c-opc.h: Regenerate. + +2005-10-26 Paul Brook <paul@codesourcery.com> + + * arm-dis.c (arm_opcodes): Correct "sel" entry. + +2005-10-26 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> + + * m32r-asm.c: Regenerate. + +2005-10-25 DJ Delorie <dj@redhat.com> + + * m32c-asm.c: Regenerate. + * m32c-desc.c: Regenerate. + * m32c-desc.h: Regenerate. + * m32c-dis.c: Regenerate. + * m32c-ibld.c: Regenerate. + * m32c-opc.c: Regenerate. + * m32c-opc.h: Regenerate. + +2005-10-25 Arnold Metselaar <arnold.metselaar@planet.nl> + + * configure.in: Add target architecture bfd_arch_z80. + * configure: Regenerated. + * disassemble.c (disassembler)<ARCH_z80>: Add case + bfd_arch_z80. + * z80-dis.c: New file. + +2005-10-25 Alan Modra <amodra@bigpond.net.au> + + * po/POTFILES.in: Regenerate. + * po/opcodes.pot: Regenerate. + +2005-10-24 Jan Beulich <jbeulich@novell.com> + + * ia64-asmtab.c: Regenerate. + +2005-10-21 DJ Delorie <dj@redhat.com> + + * m32c-asm.c: Regenerate. + * m32c-desc.c: Regenerate. + * m32c-desc.h: Regenerate. + * m32c-dis.c: Regenerate. + * m32c-ibld.c: Regenerate. + * m32c-opc.c: Regenerate. + * m32c-opc.h: Regenerate. + +2005-10-21 Nick Clifton <nickc@redhat.com> + + * bfin-dis.c: Tidy up code, removing redundant constructs. + +2005-10-19 Martin Schwidefsky <schwidefsky@de.ibm.com> + + * s390-opc.txt: Add unnormalized hfp multiply and multiply-and-add + instructions. + +2005-10-18 Nick Clifton <nickc@redhat.com> + + * m32r-asm.c: Regenerate after updating m32r.opc. + +2005-10-18 Jie Zhang <jie.zhang@analog.com> + + * bfin-dis.c (print_insn_bfin): Do proper endian transform when + reading instruction from memory. + +2005-10-18 Nick Clifton <nickc@redhat.com> + + * m32r-asm.c: Regenerate after updating m32r.opc. + +2005-10-14 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> + + * m32r-asm.c: Regenerate after updating m32r.opc. + +2005-10-08 James Lemke <jim@wasabisystems.com> + + * arm-dis.c (coprocessor_opcodes): Fix mask for various Maverick CDP + operations. + +2005-10-06 Daniel Jacobowitz <dan@codesourcery.com> + + * ppc-dis.c (struct dis_private): Remove. + (powerpc_dialect): Avoid aliasing warnings. + (print_insn_big_powerpc, print_insn_little_powerpc): Likewise. + +2005-09-30 Nick Clifton <nickc@redhat.com> + + * po/ga.po: New Irish translation. + * configure.in (ALL_LINGUAS): Add "ga". + * configure: Regenerate. + +2005-09-30 H.J. Lu <hongjiu.lu@intel.com> + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerated. + * aclocal.m4: Likewise. + * configure: Likewise. + +2005-09-30 Catherine Moore <clm@cm00re.com> + + * Makefile.am: Bfin support. + * Makefile.in: Regenerated. + * aclocal.m4: Regenerated. + * bfin-dis.c: New file. + * configure.in: Bfin support. + * configure: Regenerated. + * disassemble.c (ARCH_bfin): Define. + (disassembler): Add case for bfd_arch_bfin. + +2005-09-28 Jan Beulich <jbeulich@novell.com> + + * i386-dis.c (stack_v_mode): Renamed from branch_v_mode. + (indirEv): Use it. + (stackEv): New. + (Ob64, Ov64): Rename to Ob, Ov. Delete unused original definitions. + (dis386): Document and use new 'V' meta character. Use it for + single-byte push/pop opcode forms. Use stackEv for mod-r/m push/pop + opcode forms. Correct typo in 'pop ss'. Replace Ob64/Ov64 by Ob/Ov. + (putop): 'q' suffix for 'T' and 'U' meta depends on DFLAG. Mark + data prefix as used whenever DFLAG was examined. Handle 'V'. + (intel_operand_size): Use stack_v_mode. + (OP_E): Use stack_v_mode, but handle only the special case of + 64-bit mode without operand size override here; fall through to + v_mode case otherwise. + (OP_REG): Special case rAX_reg ... rDI_reg only when 64-bit mode + and no operand size override is present. + (OP_J): Use get32s for obtaining the displacement also when rex64 + is present. + +2005-09-08 Paul Brook <paul@codesourcery.com> + + * arm-dis.c (arm_opcodes, thumb32_opcodes): Rename smi to smc. + +2005-09-06 Chao-ying Fu <fu@mips.com> + + * mips-opc.c (MT32): New define. + (mips_builtin_opcodes): Move "bc0f", "bc0fl", "bc0t", "bc0tl" to the + bottom to avoid opcode collision with "mftr" and "mttr". + Add MT instructions. + * mips-dis.c (mips_arch_choices): Enable INSN_MT for mips32r2. + (print_insn_args): Add supports for +t, +T, !, $, *, &, g operand + formats. + +2005-09-02 Paul Brook <paul@codesourcery.com> + + * arm-dis.c (coprocessor_opcodes): Add null terminator. + +2005-09-02 Paul Brook <paul@codesourcery.com> + + * arm-dis.c (coprocessor_opcodes): New. + (arm_opcodes, thumb32_opcodes): Remove coprocessor insns. + (print_insn_coprocessor): New function. + (print_insn_arm): Use print_insn_coprocessor. Remove coprocessor + format characters. + (print_insn_thumb32): Use print_insn_coprocessor. + +2005-08-30 Paul Brook <paul@codesourcery.com> + + * arm-dis.c (thumb_opcodes): Disassemble sub(3) as subs. + +2005-08-26 Jan Beulich <jbeulich@novell.com> + + * i386-dis.c (intel_operand_size): New, broken out from OP_E for + re-use. + (OP_E): Call intel_operand_size, move call site out of mode + dependent code. + (OP_OFF): Call intel_operand_size if suffix_always. Remove + ATTRIBUTE_UNUSED from parameters. + (OP_OFF64): Likewise. + (OP_ESreg): Call intel_operand_size. + (OP_DSreg): Likewise. + (OP_DIR): Use colon rather than semicolon as separator of far + jump/call operands. + +2005-08-25 Chao-ying Fu <fu@mips.com> + + * mips-opc.c (WR_a, RD_a, MOD_a, DSP_VOLA, D32): New define. + (mips_builtin_opcodes): Add DSP instructions. + * mips-dis.c (mips_arch_choices): Enable INSN_DSP for mips32, mips32r2, + mips64, mips64r2. + (print_insn_args): Add supports for 3, 4, 5, 6, 7, 8, 9, 0, :, ', @ + operand formats. + +2005-08-23 David Ung <davidu@mips.com> + + * mips16-opc.c (mips16_opcodes): Add the MIPS16e jalrc/jrc + instructions to the table. + +2005-08-18 Alan Modra <amodra@bigpond.net.au> + + * a29k-dis.c: Delete. + * Makefile.am: Remove a29k support. + * configure.in: Likewise. + * disassemble.c: Likewise. + * Makefile.in: Regenerate. + * configure: Regenerate. + * po/POTFILES.in: Regenerate. + +2005-08-15 Daniel Jacobowitz <dan@codesourcery.com> + + * ppc-dis.c (powerpc_dialect): Handle e300. + (print_ppc_disassembler_options): Likewise. + * ppc-opc.c (PPCE300): Define. + (powerpc_opcodes): Mark icbt as available for the e300. + +2005-08-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + * hppa-dis.c (print_insn_hppa): Don't print '%' before register names. + Use "rp" instead of "%r2" in "b,l" insns. + +2005-08-12 Martin Schwidefsky <schwidefsky@de.ibm.com> + + * s390-dis.c (print_insn_s390): Print unsigned operands with %u. + * s390-mkopc.c (s390_opcode_cpu_val): Add support for cpu type z9-109. + (main): Likewise. + * s390-opc.c (I32_16, U32_16, M_16): Add defines 32 bit immediates + and 4 bit optional masks. + (INSTR_RIL_RI, INSTR_RIL_RU, INSTR_RRF_M0RR, INSTR_RSE_CCRD, + INSTR_RSY_CCRD, INSTR_SSF_RRDRD): Add new instruction formats. + (MASK_RIL_RI, MASK_RIL_RU, MASK_RRF_M0RR, MASK_RSE_CCRD, + MASK_RSY_CCRD, MASK_SSF_RRDRD): Likewise. + (s390_opformats): Likewise. + * s390-opc.txt: Add new instructions for cpu type z9-109. + +2005-08-05 John David Anglin <dave.anglin@nrc-crnc.gc.ca> + + * hppa-dis.c (print_insn_hppa): Prefix 21-bit values with "L%". + +2005-07-29 Paul Brook <paul@codesourcery.com> + + * arm-dis.c: Fix disassebly of thumb2 writeback addressing modes. + +2005-07-29 Paul Brook <paul@codesourcery.com> + + * arm-dis.c (thumb32_opc): Fix addressing mode for tbh. + (print_insn_thumb32): Fix decoding of thumb2 'I' operands. + +2005-07-25 DJ Delorie <dj@redhat.com> + + * m32c-asm.c Regenerate. + * m32c-dis.c Regenerate. + +2005-07-20 DJ Delorie <dj@redhat.com> + + * disassemble.c (disassemble_init_for_target): M32C ISAs are + enums, so convert them to bit masks, which attributes are. + +2005-07-18 Nick Clifton <nickc@redhat.com> + + * configure.in: Restore alpha ordering to list of arches. + * configure: Regenerate. + * disassemble.c: Restore alpha ordering to list of arches. + +2005-07-18 Nick Clifton <nickc@redhat.com> + + * m32c-asm.c: Regenerate. + * m32c-desc.c: Regenerate. + * m32c-desc.h: Regenerate. + * m32c-dis.c: Regenerate. + * m32c-ibld.h: Regenerate. + * m32c-opc.c: Regenerate. + * m32c-opc.h: Regenerate. + +2005-07-18 H.J. Lu <hongjiu.lu@intel.com> + + * i386-dis.c (PNI_Fixup): Update comment. + (VMX_Fixup): Properly handle the suffix check. + +2005-07-16 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + * hppa-dis.c (print_insn_hppa): Add space after 'w' in wide-mode + mfctl disassembly. + +2005-07-16 Alan Modra <amodra@bigpond.net.au> + + * Makefile.am: Run "make dep-am". + (stamp-m32c): Fix cpu dependencies. + * Makefile.in: Regenerate. + * ip2k-dis.c: Regenerate. + +2007-07-15 H.J. Lu <hongjiu.lu@intel.com> + + * i386-dis.c (OP_VMX): New. Handle Intel VMX Instructions. + (VMX_Fixup): New. Fix up Intel VMX Instructions. + (Em): New. + (Gm): New. + (VM): New. + (dis386_twobyte): Updated entries 0x78 and 0x79. + (twobyte_has_modrm): Likewise. + (grps): Use OP_VMX in the "sgdtIQ" entry. Updated GRP9. + (OP_G): Handle m_mode. + +2005-07-14 Jim Blandy <jimb@redhat.com> + + Add support for the Renesas M32C and M16C. + * m32c-asm.c, m32c-desc.c, m32c-dis.c, m32c-ibld.c, m32c-opc.c: New. + * m32c-desc.h, m32c-opc.h: New. + * Makefile.am (HFILES): List m32c-desc.h and m32c-opc.h. + (CFILES): List m32c-asm.c, m32c-desc.c, m32c-dis.c, m32c-ibld.c, + m32c-opc.c. + (ALL_MACHINES): List m32c-asm.lo, m32c-desc.lo, m32c-dis.lo, + m32c-ibld.lo, m32c-opc.lo. + (CLEANFILES): List stamp-m32c. + (M32C_DEPS): List stamp-m32c, if CGEN_MAINT. + (CGEN_CPUS): Add m32c. + (m32c-asm.c, m32c-desc.c, m32c-dis.c, m32c-ibld.c, m32c-opc.c) + (m32c-desc.h, m32c-opc.h): Depend on M32C_DEPS. + (m32c_opc_h): New variable. + (stamp-m32c, m32c-asm.lo, m32c-desc.lo, m32c-dis.lo, m32c-ibld.lo) + (m32c-opc.lo): New rules. + * Makefile.in: Regenerated. + * configure.in: Add case for bfd_m32c_arch. + * configure: Regenerated. + * disassemble.c (ARCH_m32c): New. + [ARCH_m32c]: #include "m32c-desc.h". + (disassembler) [ARCH_m32c]: Add case for bfd_arch_m32c. + (disassemble_init_for_target) [ARCH_m32c]: Same. + + * cgen-ops.h, cgen-types.h: New files. + * Makefile.am (HFILES): List them. + * Makefile.in: Regenerated. + +2005-07-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * arc-dis.c, arm-dis.c, cris-dis.c, crx-dis.c, d10v-dis.c, + d30v-dis.c, fr30-dis.c, h8300-dis.c, h8500-dis.c, i860-dis.c, + ia64-dis.c, ip2k-dis.c, m10200-dis.c, m10300-dis.c, + m88k-dis.c, mcore-dis.c, mips-dis.c, ms1-dis.c, or32-dis.c, + ppc-dis.c, sh64-dis.c, sparc-dis.c, tic4x-dis.c, tic80-dis.c, + v850-dis.c: Fix format bugs. + * ia64-gen.c (fail, warn): Add format attribute. + * or32-opc.c (debug): Likewise. + +2005-07-07 Khem Raj <kraj@mvista.com> + + * arm-dis.c (opcode32 arm_opcodes): Fix ARM VFP fadds instruction + disassembly pattern. + +2005-07-06 Alan Modra <amodra@bigpond.net.au> + + * Makefile.am (stamp-m32r): Fix path to cpu files. + (stamp-m32r, stamp-iq2000): Likewise. + * Makefile.in: Regenerate. + * m32r-asm.c: Regenerate. + * po/POTFILES.in: Remove arm-opc.h. Add ms1-asm.c, ms1-desc.c, + ms1-desc.h, ms1-dis.c, ms1-ibld.c, ms1-opc.c, ms1-opc.h. + +2005-07-05 Nick Clifton <nickc@redhat.com> + + * iq2000-asm.c: Regenerate. + * ms1-asm.c: Regenerate. + +2005-07-05 Jan Beulich <jbeulich@novell.com> + + * i386-dis.c (SVME_Fixup): New. + (grps): Use it for the lidt entry. + (PNI_Fixup): Call OP_M rather than OP_E. + (INVLPG_Fixup): Likewise. + +2005-07-04 H.J. Lu <hongjiu.lu@intel.com> + + * tic30-dis.c (cnvt_tmsfloat_ieee): Use HUGE_VALF if defined. + +2005-07-01 Nick Clifton <nickc@redhat.com> + + * a29k-dis.c: Update to ISO C90 style function declarations and + fix formatting. + * alpha-opc.c: Likewise. + * arc-dis.c: Likewise. + * arc-opc.c: Likewise. + * avr-dis.c: Likewise. + * cgen-asm.in: Likewise. + * cgen-dis.in: Likewise. + * cgen-ibld.in: Likewise. + * cgen-opc.c: Likewise. + * cris-dis.c: Likewise. + * d10v-dis.c: Likewise. + * d30v-dis.c: Likewise. + * d30v-opc.c: Likewise. + * dis-buf.c: Likewise. + * dlx-dis.c: Likewise. + * h8300-dis.c: Likewise. + * h8500-dis.c: Likewise. + * hppa-dis.c: Likewise. + * i370-dis.c: Likewise. + * i370-opc.c: Likewise. + * m10200-dis.c: Likewise. + * m10300-dis.c: Likewise. + * m68k-dis.c: Likewise. + * m88k-dis.c: Likewise. + * mips-dis.c: Likewise. + * mmix-dis.c: Likewise. + * msp430-dis.c: Likewise. + * ns32k-dis.c: Likewise. + * or32-dis.c: Likewise. + * or32-opc.c: Likewise. + * pdp11-dis.c: Likewise. + * pj-dis.c: Likewise. + * s390-dis.c: Likewise. + * sh-dis.c: Likewise. + * sh64-dis.c: Likewise. + * sparc-dis.c: Likewise. + * sparc-opc.c: Likewise. + * sysdep.h: Likewise. + * tic30-dis.c: Likewise. + * tic4x-dis.c: Likewise. + * tic80-dis.c: Likewise. + * v850-dis.c: Likewise. + * v850-opc.c: Likewise. + * vax-dis.c: Likewise. + * w65-dis.c: Likewise. + * z8kgen.c: Likewise. + + * fr30-*: Regenerate. + * frv-*: Regenerate. + * ip2k-*: Regenerate. + * iq2000-*: Regenerate. + * m32r-*: Regenerate. + * ms1-*: Regenerate. + * openrisc-*: Regenerate. + * xstormy16-*: Regenerate. + +2005-06-23 Ben Elliston <bje@gnu.org> + + * m68k-dis.c: Use ISC C90. + * m68k-opc.c: Formatting fixes. + +2005-06-16 David Ung <davidu@mips.com> + + * mips16-opc.c (mips16_opcodes): Add the following MIPS16e + instructions to the table; seb/seh/sew/zeb/zeh/zew. + +2005-06-15 Dave Brolley <brolley@redhat.com> + + Contribute Morpho ms1 on behalf of Red Hat + * ms1-asm.c, ms1-desc.c, ms1-dis.c, ms1-ibld.c, ms1-opc.c, + ms1-opc.h: New files, Morpho ms1 target. + + 2004-05-14 Stan Cox <scox@redhat.com> + + * disassemble.c (ARCH_ms1): Define. + (disassembler): Handle bfd_arch_ms1 + + 2004-05-13 Michael Snyder <msnyder@redhat.com> + + * Makefile.am, Makefile.in: Add ms1 target. + * configure.in: Ditto. + +2005-06-08 Zack Weinberg <zack@codesourcery.com> + + * arm-opc.h: Delete; fold contents into ... + * arm-dis.c: ... here. Move includes of internal COFF headers + next to includes of internal ELF headers. + (streq, WORD_ADDRESS, BDISP, BDISP23): Delete, unused. + (struct arm_opcode): Rename struct opcode32. Make 'assembler' const. + (struct thumb_opcode): Rename struct opcode16. Make 'assembler' const. + (arm_conditional, arm_fp_const, arm_shift, arm_regname, regnames) + (iwmmxt_wwnames, iwmmxt_wwssnames): + Make const. + (regnames): Remove iWMMXt coprocessor register sets. + (iwmmxt_regnames, iwmmxt_cregnames): New statics. + (get_arm_regnames): Adjust fourth argument to match above changes. + (set_iwmmxt_regnames): Delete. + (print_insn_arm): Constify 'c'. Use ISO syntax for function + pointer calls. Expand sole use of BDISP. Use iwmmxt_regnames + and iwmmxt_cregnames, not set_iwmmxt_regnames. + (print_insn_thumb16, print_insn_thumb32): Constify 'c'. Use + ISO syntax for function pointer calls. + +2005-06-07 Zack Weinberg <zack@codesourcery.com> + + * arm-dis.c: Split up the comments describing the format codes, so + that the ARM and 16-bit Thumb opcode tables each have comments + preceding them that describe all the codes, and only the codes, + valid in those tables. (32-bit Thumb table is already like this.) + Reorder the lists in all three comments to match the order in + which the codes are implemented. + Remove all forward declarations of static functions. Convert all + function definitions to ISO C format. + (print_insn_arm, print_insn_thumb16, print_insn_thumb32): + Return nothing. + (print_insn_thumb16): Remove unused case 'I'. + (print_insn): Update for changed calling convention of subroutines. + +2005-05-25 Jan Beulich <jbeulich@novell.com> + + * i386-dis.c (OP_E): In Intel mode, display 32-bit displacements in + hex (but retain it being displayed as signed). Remove redundant + checks. Add handling of displacements for 16-bit addressing in Intel + mode. + +2005-05-25 Jan Beulich <jbeulich@novell.com> + + * i386-dis.c (prefix_name): Remove pointless mode_64bit check. + (OP_E): Remove redundant REX_EXTZ handling. Remove pointless + masking of 'rm' in 16-bit memory address handling. + +2005-05-19 Anton Blanchard <anton@samba.org> + + * ppc-dis.c (powerpc_dialect): Handle "-Mpower5". + (print_ppc_disassembler_options): Document it. + * ppc-opc.c (SVC_LEV): Define. + (LEV): Allow optional operand. + (POWER5): Define. + (powerpc_opcodes): Extend "sc". Adjust "svc" and "svcl". Add + "hrfid", "popcntb", "fsqrtes", "fsqrtes.", "fre" and "fre.". + +2005-05-19 Kelley Cook <kcook@gcc.gnu.org> + + * Makefile.in: Regenerate. + +2005-05-17 Zack Weinberg <zack@codesourcery.com> + + * arm-dis.c (thumb_opcodes): Add disassembly for V6T2 16-bit + instructions. Adjust disassembly of some opcodes to match + unified syntax. + (thumb32_opcodes): New table. + (print_insn_thumb): Rename print_insn_thumb16; don't handle + two-halfword branches here. + (print_insn_thumb32): New function. + (print_insn): Choose among print_insn_arm, print_insn_thumb16, + and print_insn_thumb32. Be consistent about order of + halfwords when printing 32-bit instructions. + +2005-05-07 H.J. Lu <hongjiu.lu@intel.com> + + PR 843 + * i386-dis.c (branch_v_mode): New. + (indirEv): Use branch_v_mode instead of v_mode. + (OP_E): Handle branch_v_mode. + +2005-05-07 H.J. Lu <hongjiu.lu@intel.com> + + * d10v-dis.c (dis_2_short): Support 64bit host. + +2005-05-07 Nick Clifton <nickc@redhat.com> + + * po/nl.po: Updated translation. + +2005-05-07 Nick Clifton <nickc@redhat.com> + + * Update the address and phone number of the FSF organization in + the GPL notices in the following files: + a29k-dis.c, aclocal.m4, alpha-dis.c, alpha-opc.c, arc-dis.c, + arc-dis.h, arc-ext.c, arc-ext.h, arc-opc.c, arm-dis.c, arm-opc.h, + avr-dis.c, cgen-asm.c, cgen-asm.in, cgen-dis.c, cgen-dis.in, + cgen-ibld.in, cgen-opc.c, cgen.sh, cris-dis.c, cris-opc.c, + crx-dis.c, crx-opc.c, d10v-dis.c, d10v-opc.c, d30v-dis.c, + d30v-opc.c, dis-buf.c, dis-init.c, disassemble.c, dlx-dis.c, + fr30-asm.c, fr30-desc.c, fr30-desc.h, fr30-dis.c, fr30-ibld.c, + fr30-opc.c, fr30-opc.h, frv-asm.c, frv-desc.c, frv-desc.h, + frv-dis.c, frv-ibld.c, frv-opc.c, frv-opc.h, h8300-dis.c, + h8500-dis.c, h8500-opc.h, hppa-dis.c, i370-dis.c, i370-opc.c, + i386-dis.c, i860-dis.c, i960-dis.c, ia64-asmtab.h, ia64-dis.c, + ia64-gen.c, ia64-opc-a.c, ia64-opc-b.c, ia64-opc-d.c, + ia64-opc-f.c, ia64-opc-i.c, ia64-opc-m.c, ia64-opc-x.c, + ia64-opc.c, ia64-opc.h, ip2k-asm.c, ip2k-desc.c, ip2k-desc.h, + ip2k-dis.c, ip2k-ibld.c, ip2k-opc.c, ip2k-opc.h, iq2000-asm.c, + iq2000-desc.c, iq2000-desc.h, iq2000-dis.c, iq2000-ibld.c, + iq2000-opc.c, iq2000-opc.h, m10200-dis.c, m10200-opc.c, + m10300-dis.c, m10300-opc.c, m32r-asm.c, m32r-desc.c, m32r-desc.h, + m32r-dis.c, m32r-ibld.c, m32r-opc.c, m32r-opc.h, m32r-opinst.c, + m68hc11-dis.c, m68hc11-opc.c, m68k-dis.c, m68k-opc.c, m88k-dis.c, + maxq-dis.c, mcore-dis.c, mcore-opc.h, mips-dis.c, mips-opc.c, + mips16-opc.c, mmix-dis.c, mmix-opc.c, msp430-dis.c, ns32k-dis.c, + openrisc-asm.c, openrisc-desc.c, openrisc-desc.h, openrisc-dis.c, + openrisc-ibld.c, openrisc-opc.c, openrisc-opc.h, opintl.h, + or32-dis.c, or32-opc.c, pdp11-dis.c, pdp11-opc.c, pj-dis.c, + pj-opc.c, ppc-dis.c, ppc-opc.c, s390-dis.c, s390-mkopc.c, + s390-opc.c, sh-dis.c, sh-opc.h, sh64-dis.c, sh64-opc.c, + sh64-opc.h, sparc-dis.c, sparc-opc.c, sysdep.h, tic30-dis.c, + tic4x-dis.c, tic54x-dis.c, tic54x-opc.c, tic80-dis.c, tic80-opc.c, + v850-dis.c, v850-opc.c, vax-dis.c, w65-dis.c, w65-opc.h, + xstormy16-asm.c, xstormy16-desc.c, xstormy16-desc.h, + xstormy16-dis.c, xstormy16-ibld.c, xstormy16-opc.c, + xstormy16-opc.h, xtensa-dis.c, z8k-dis.c, z8kgen.c + +2005-05-05 James E Wilson <wilson@specifixinc.com> + + * ia64-opc.c: Include sysdep.h before libiberty.h. + +2005-05-05 Nick Clifton <nickc@redhat.com> + + * configure.in (ALL_LINGUAS): Add vi. + * configure: Regenerate. + * po/vi.po: New. + +2005-04-26 Jerome Guitton <guitton@gnat.com> + + * configure.in: Fix the check for basename declaration. + * configure: Regenerate. + +2005-04-19 Alan Modra <amodra@bigpond.net.au> + + * ppc-opc.c (RTO): Define. + (powerpc_opcodes <tlbsx, tlbsx., tlbre>): Combine PPC403 and BOOKE + entries to suit PPC440. + +2005-04-18 Mark Kettenis <kettenis@gnu.org> + + * i386-dis.c: Insert hyphens into selected VIA PadLock extensions. + Add xcrypt-ctr. + +2005-04-14 Nick Clifton <nickc@redhat.com> + + * po/fi.po: New translation: Finnish. + * configure.in (ALL_LINGUAS): Add fi. + * configure: Regenerate. + +2005-04-14 Alan Modra <amodra@bigpond.net.au> + + * Makefile.am (NO_WERROR): Define. + * configure.in: Invoke AM_BINUTILS_WARNINGS. + * Makefile.in: Regenerate. + * aclocal.m4: Regenerate. + * configure: Regenerate. + +2005-04-04 Nick Clifton <nickc@redhat.com> + + * fr30-asm.c: Regenerate. + * frv-asm.c: Regenerate. + * iq2000-asm.c: Regenerate. + * m32r-asm.c: Regenerate. + * openrisc-asm.c: Regenerate. + +2005-04-01 Jan Beulich <jbeulich@novell.com> + + * i386-dis.c (PNI_Fixup): Neither mwait nor monitor have any + visible operands in Intel mode. The first operand of monitor is + %rax in 64-bit mode. + +2005-04-01 Jan Beulich <jbeulich@novell.com> + + * i386-dis.c (INVLPG_Fixup): Decode rdtscp; change code to allow for + easier future additions. + +2005-03-31 Jerome Guitton <guitton@gnat.com> + + * configure.in: Check for basename. + * configure: Regenerate. + * config.in: Ditto. + +2005-03-29 H.J. Lu <hongjiu.lu@intel.com> + + * i386-dis.c (SEG_Fixup): New. + (Sv): New. + (dis386): Use "Sv" for 0x8c and 0x8e. + +2005-03-21 Jan-Benedict Glaw <jbglaw@lug-owl.de> + Nick Clifton <nickc@redhat.com> + + * vax-dis.c: (entry_addr): New varible: An array of user supplied + function entry mask addresses. + (entry_addr_occupied_slots): New variable: The number of occupied + elements in entry_addr. + (entry_addr_total_slots): New variable: The total number of + elements in entry_addr. + (parse_disassembler_options): New function. Fills in the entry_addr + array. + (free_entry_array): New function. Release the memory used by the + entry addr array. Suppressed because there is no way to call it. + (is_function_entry): Check if a given address is a function's + start address by looking at supplied entry mask addresses and + symbol information, if available. + (print_insn_vax): Use parse_disassembler_options and is_function_entry. + +2005-03-23 H.J. Lu <hongjiu.lu@intel.com> + + * cris-dis.c (print_with_operands): Use ~31L for long instead + of ~31. + +2005-03-20 H.J. Lu <hongjiu.lu@intel.com> + + * mmix-opc.c (O): Revert the last change. + (Z): Likewise. + +2005-03-19 H.J. Lu <hongjiu.lu@intel.com> + + * mmix-opc.c (O): Use 24UL instead of 24 for unsigned long. + (Z): Likewise. + +2005-03-19 Hans-Peter Nilsson <hp@bitrange.com> + + * mmix-opc.c (O, Z): Force expression as unsigned long. + +2005-03-18 Nick Clifton <nickc@redhat.com> + + * ip2k-asm.c: Regenerate. + * op/opcodes.pot: Regenerate. + +2005-03-16 Nick Clifton <nickc@redhat.com> + Ben Elliston <bje@au.ibm.com> + + * configure.in (werror): New switch: Add -Werror to the + compiler command line. Enabled by default. Disable via + --disable-werror. + * configure: Regenerate. + +2005-03-16 Alan Modra <amodra@bigpond.net.au> + + * ppc-dis.c (powerpc_dialect): Don't set PPC_OPCODE_ALTIVEC when + BOOKE. + +2005-03-15 Alan Modra <amodra@bigpond.net.au> + + * po/es.po: Commit new Spanish translation. + + * po/fr.po: Commit new French translation. + +2005-03-14 Jan-Benedict Glaw <jbglaw@lug-owl.de> + + * vax-dis.c: Fix spelling error + (print_insn_vax): Use ".word 0x0012 # Entry mask: r1 r2 >" instead + of just "Entry mask: < r1 ... >" + +2005-03-12 Zack Weinberg <zack@codesourcery.com> + + * arm-dis.c (arm_opcodes): Document %E and %V. + Add entries for v6T2 ARM instructions: + bfc bfi mls strht ldrht ldrsht ldrsbt movw movt rbit ubfx sbfx. + (print_insn_arm): Add support for %E and %V. + (thumb_opcodes): Add ARMv6K instructions nop, sev, wfe, wfi, yield. + +2005-03-10 Jeff Baker <jbaker@qnx.com> + Alan Modra <amodra@bigpond.net.au> + + * ppc-opc.c (insert_sprg, extract_sprg): New Functions. + (powerpc_operands <SPRG>): Call the above. Bit field is 5 bits. + (SPRG_MASK): Delete. + (XSPRG_MASK): Mask off extra bits now part of sprg field. + (powerpc_opcodes): Asjust mfsprg and mtsprg to suit new mask. Move + mfsprg4..7 after msprg and consolidate. + +2005-03-09 Jan-Benedict Glaw <jbglaw@lug-owl.de> + + * vax-dis.c (entry_mask_bit): New array. + (print_insn_vax): Decode function entry mask. + +2005-03-07 Aldy Hernandez <aldyh@redhat.com> + + * ppc-opc.c (powerpc_opcodes): Fix encoding of efscfd. + +2005-03-05 Alan Modra <amodra@bigpond.net.au> + + * po/opcodes.pot: Regenerate. + +2005-03-03 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com> + + * arc-dis.c (a4_decoding_class): New enum. + (dsmOneArcInst): Use the enum values for the decoding class. + Remove redundant case in the switch for decodingClass value 11. + +2005-03-02 Jan Beulich <jbeulich@novell.com> + + * i386-dis.c (print_insn): Suppress lock prefix printing for cr8...15 + accesses. + (OP_C): Consider lock prefix in non-64-bit modes. + +2005-02-24 Alan Modra <amodra@bigpond.net.au> + + * cris-dis.c (format_hex): Remove ineffective warning fix. + * crx-dis.c (make_instruction): Warning fix. + * frv-asm.c: Regenerate. + +2005-02-23 Nick Clifton <nickc@redhat.com> + + * cgen-dis.in: Use bfd_byte for buffers that are passed to + read_memory. + + * ia64-opc.c (locate_opcode_ent): Initialise opval array. + + * crx-dis.c (make_instruction): Move argument structure into inner + scope and ensure that all of its fields are initialised before + they are used. + + * fr30-asm.c: Regenerate. + * fr30-dis.c: Regenerate. + * frv-asm.c: Regenerate. + * frv-dis.c: Regenerate. + * ip2k-asm.c: Regenerate. + * ip2k-dis.c: Regenerate. + * iq2000-asm.c: Regenerate. + * iq2000-dis.c: Regenerate. + * m32r-asm.c: Regenerate. + * m32r-dis.c: Regenerate. + * openrisc-asm.c: Regenerate. + * openrisc-dis.c: Regenerate. + * xstormy16-asm.c: Regenerate. + * xstormy16-dis.c: Regenerate. + +2005-02-22 Alan Modra <amodra@bigpond.net.au> + + * arc-ext.c: Warning fixes. + * arc-ext.h: Likewise. + * cgen-opc.c: Likewise. + * ia64-gen.c: Likewise. + * maxq-dis.c: Likewise. + * ns32k-dis.c: Likewise. + * w65-dis.c: Likewise. + * ia64-asmtab.c: Regenerate. + +2005-02-22 Alan Modra <amodra@bigpond.net.au> + + * fr30-desc.c: Regenerate. + * fr30-desc.h: Regenerate. + * fr30-opc.c: Regenerate. + * fr30-opc.h: Regenerate. + * frv-desc.c: Regenerate. + * frv-desc.h: Regenerate. + * frv-opc.c: Regenerate. + * frv-opc.h: Regenerate. + * ip2k-desc.c: Regenerate. + * ip2k-desc.h: Regenerate. + * ip2k-opc.c: Regenerate. + * ip2k-opc.h: Regenerate. + * iq2000-desc.c: Regenerate. + * iq2000-desc.h: Regenerate. + * iq2000-opc.c: Regenerate. + * iq2000-opc.h: Regenerate. + * m32r-desc.c: Regenerate. + * m32r-desc.h: Regenerate. + * m32r-opc.c: Regenerate. + * m32r-opc.h: Regenerate. + * m32r-opinst.c: Regenerate. + * openrisc-desc.c: Regenerate. + * openrisc-desc.h: Regenerate. + * openrisc-opc.c: Regenerate. + * openrisc-opc.h: Regenerate. + * xstormy16-desc.c: Regenerate. + * xstormy16-desc.h: Regenerate. + * xstormy16-opc.c: Regenerate. + * xstormy16-opc.h: Regenerate. + +2005-02-21 Alan Modra <amodra@bigpond.net.au> + + * Makefile.am: Run "make dep-am" + * Makefile.in: Regenerate. + +2005-02-15 Nick Clifton <nickc@redhat.com> + + * cgen-dis.in (print_address): Add an ATTRIBUTE_UNUSED to prevent + compile time warnings. + (print_keyword): Likewise. + (default_print_insn): Likewise. + + * fr30-desc.c: Regenerated. + * fr30-desc.h: Regenerated. + * fr30-dis.c: Regenerated. + * fr30-opc.c: Regenerated. + * fr30-opc.h: Regenerated. + * frv-desc.c: Regenerated. + * frv-dis.c: Regenerated. + * frv-opc.c: Regenerated. + * ip2k-asm.c: Regenerated. + * ip2k-desc.c: Regenerated. + * ip2k-desc.h: Regenerated. + * ip2k-dis.c: Regenerated. + * ip2k-opc.c: Regenerated. + * ip2k-opc.h: Regenerated. + * iq2000-desc.c: Regenerated. + * iq2000-dis.c: Regenerated. + * iq2000-opc.c: Regenerated. + * m32r-asm.c: Regenerated. + * m32r-desc.c: Regenerated. + * m32r-desc.h: Regenerated. + * m32r-dis.c: Regenerated. + * m32r-opc.c: Regenerated. + * m32r-opc.h: Regenerated. + * m32r-opinst.c: Regenerated. + * openrisc-desc.c: Regenerated. + * openrisc-desc.h: Regenerated. + * openrisc-dis.c: Regenerated. + * openrisc-opc.c: Regenerated. + * openrisc-opc.h: Regenerated. + * xstormy16-desc.c: Regenerated. + * xstormy16-desc.h: Regenerated. + * xstormy16-dis.c: Regenerated. + * xstormy16-opc.c: Regenerated. + * xstormy16-opc.h: Regenerated. + +2005-02-14 H.J. Lu <hongjiu.lu@intel.com> + + * dis-buf.c (perror_memory): Use sprintf_vma to print out + address. + +2005-02-11 Nick Clifton <nickc@redhat.com> + + * iq2000-asm.c: Regenerate. + + * frv-dis.c: Regenerate. + +2005-02-07 Jim Blandy <jimb@redhat.com> + + * Makefile.am (CGEN): Load guile.scm before calling the main + application script. + * Makefile.in: Regenerated. + * cgen.sh: Be prepared for the 'cgen' argument to contain spaces. + Simply pass the cgen-opc.scm path to ${cgen} as its first + argument; ${cgen} itself now contains the '-s', or whatever is + appropriate for the Scheme being used. + +2005-01-31 Andrew Cagney <cagney@gnu.org> + + * configure: Regenerate to track ../gettext.m4. + +2005-01-31 Jan Beulich <jbeulich@novell.com> + + * ia64-gen.c (NELEMS): Define. + (shrink): Generate alias with missing second predicate register when + opcode has two outputs and these are both predicates. + * ia64-opc-i.c (FULL17): Define. + (ia64_opcodes_i): Add mov-to-pr alias without second input. Use FULL17 + here to generate output template. + (TBITCM, TNATCM): Undefine after use. + * ia64-opc-m.c (ia64_opcodes_i): Add alloc alias without ar.pfs as + first input. Add ld16 aliases without ar.csd as second output. Add + st16 aliases without ar.csd as second input. Add cmpxchg aliases + without ar.ccv as third input. Add cmp8xchg16 aliases without ar.csd/ + ar.ccv as third/fourth inputs. Consolidate through... + (CMPXCHG_acq, CMPXCHG_rel, CMPXCHG_1, CMPXCHG_2, CMPXCHG_4, CMPXCHG_8, + CMPXCHGn, CMP8XCHG16, CMPXCHG_ALL): Define. + * ia64-asmtab.c: Regenerate. + +2005-01-27 Andrew Cagney <cagney@gnu.org> + + * configure: Regenerate to track ../gettext.m4 change. + +2005-01-25 Alexandre Oliva <aoliva@redhat.com> + + 2004-11-10 Alexandre Oliva <aoliva@redhat.com> + * frv-asm.c: Rebuilt. + * frv-desc.c: Rebuilt. + * frv-desc.h: Rebuilt. + * frv-dis.c: Rebuilt. + * frv-ibld.c: Rebuilt. + * frv-opc.c: Rebuilt. + * frv-opc.h: Rebuilt. + +2005-01-24 Andrew Cagney <cagney@gnu.org> + + * configure: Regenerate, ../gettext.m4 was updated. + +2005-01-21 Fred Fish <fnf@specifixinc.com> + + * mips-opc.c: Change INSN_ALIAS to INSN2_ALIAS. + Change INSN_WRITE_MDMX_ACC to INSN2_WRITE_MDMX_ACC. + Change INSN_READ_MDMX_ACC to INSN2_READ_MDMX_ACC. + * mips-dis.c: Ditto. + +2005-01-20 Alan Modra <amodra@bigpond.net.au> + + * ppc-opc.c (powerpc_opcodes): Add optional 'l' arg to tlbiel. + +2005-01-19 Fred Fish <fnf@specifixinc.com> + + * mips-dis.c (no_aliases): New disassembly option flag. + (set_default_mips_dis_options): Init no_aliases to zero. + (parse_mips_dis_option): Handle no-aliases option. + (print_insn_mips): Ignore table entries that are aliases + if no_aliases is set. + (print_insn_mips16): Ditto. + * mips-opc.c (mips_builtin_opcodes): Add initializer column for + new pinfo2 member and add INSN_ALIAS initializers as needed. Also + move WR_MACC and RD_MACC initializers from pinfo to pinfo2. + * mips16-opc.c (mips16_opcodes): Ditto. + +2005-01-17 Andrew Stubbs <andrew.stubbs@st.com> + + * sh-opc.h (arch_sh2a_or_sh3e,arch_sh2a_or_sh4): Correct definition. + (inheritance diagram): Add missing edge. + (arch_sh1_up): Rename arch_sh_up to match external name to make life + easier for the testsuite. + (arch_sh4_nofp_up): Likewise, rename arch_sh4_nofpu_up. + (arch_sh4a_nofp_up): Likewise, rename arch_sh4a_nofpu_up. + (arch_sh2a_nofpu_or_sh4_nommu_nofpu_up): Add missing + arch_sh2a_or_sh4_up child. + (sh_table): Do renaming as above. + Correct comment for ldc.l for gas testsuite to read. + Remove rogue mul.l from sh1 (duplicate of the one for sh2). + Correct comments for movy.w and movy.l for gas testsuite to read. + Correct comments for fmov.d and fmov.s for gas testsuite to read. + +2005-01-12 H.J. Lu <hongjiu.lu@intel.com> + + * i386-dis.c (OP_E): Don't ignore scale in SIB for 64 bit mode. + +2005-01-12 H.J. Lu <hongjiu.lu@intel.com> + + * i386-dis.c (OP_E): Ignore scale when index == 0x4 in SIB. + +2005-01-10 Andreas Schwab <schwab@suse.de> + + * disassemble.c (disassemble_init_for_target) <case + bfd_arch_ia64>: Set skip_zeroes to 16. + <case bfd_arch_tic4x>: Set skip_zeroes to 32. + +For older changes see ChangeLog-2004 + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: |