OSDN Git Service
Hans-Peter Nilsson [Tue, 3 Jan 2006 05:56:15 +0000 (05:56 +0000)]
PR gas/2101
* config/tc-mmix.c (mmix_handle_mmixal): Don't treat #[0-9][FB] as
a local-label reference.
Hans-Peter Nilsson [Tue, 3 Jan 2006 05:52:15 +0000 (05:52 +0000)]
PR gas/2101
* gas/mmix/hex2.s, gas/mmix/hex2.d: New test.
Alan Modra [Mon, 2 Jan 2006 23:00:05 +0000 (23:00 +0000)]
daily update
Paolo Bonzini [Mon, 2 Jan 2006 18:55:51 +0000 (18:55 +0000)]
2006-02-01 Paolo Bonzini <bonzini@gnu.org>
PR target/25259
* stdint.m4: New.
Alan Modra [Sun, 1 Jan 2006 23:00:04 +0000 (23:00 +0000)]
daily update
Jakub Jelinek [Sun, 1 Jan 2006 00:06:24 +0000 (00:06 +0000)]
* elf64-ppc.c (ppc64_elf_action_discarded): Return 0
for .toc1 section.
Kaz Kojima [Sat, 31 Dec 2005 16:23:13 +0000 (16:23 +0000)]
* elf32-sh.c (sh_elf_relocate_section): Don't reset relocation
for R_SH_REL32 in shared objects if the symbol is locally called.
Alan Modra [Sat, 31 Dec 2005 12:55:10 +0000 (12:55 +0000)]
* 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.
Eric Christopher [Sat, 31 Dec 2005 05:02:22 +0000 (05:02 +0000)]
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.
Bob Wilson [Fri, 30 Dec 2005 23:34:00 +0000 (23:34 +0000)]
include:
* xtensa-config.h (XCHAL_HAVE_WIDE_BRANCHES): New.
gas:
* 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.
Alan Modra [Fri, 30 Dec 2005 23:00:06 +0000 (23:00 +0000)]
daily update
Dave Anglin [Fri, 30 Dec 2005 22:25:57 +0000 (22:25 +0000)]
* configure.host (hppa*64*-*-hpux*): Set host64 to true.
Jie Zhang [Fri, 30 Dec 2005 08:27:16 +0000 (08:27 +0000)]
* readelf.c (get_machine_name): Add case for Blackfin.
Bob Wilson [Fri, 30 Dec 2005 00:57:27 +0000 (00:57 +0000)]
* config/tc-xtensa.h (MAX_MEM_FOR_RS_ALIGN_CODE): Define.
Alan Modra [Thu, 29 Dec 2005 23:00:07 +0000 (23:00 +0000)]
daily update
Bob Wilson [Thu, 29 Dec 2005 21:04:14 +0000 (21:04 +0000)]
* config/tc-xtensa.c (tinsn_to_slotbuf): Do not zero slotbuf.
Nick Clifton [Thu, 29 Dec 2005 10:33:40 +0000 (10:33 +0000)]
(bfd_hash_set_default_size): Add more entries to the hash_size_primes table.
Nick Clifton [Thu, 29 Dec 2005 10:29:23 +0000 (10:29 +0000)]
(_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.
Alan Modra [Wed, 28 Dec 2005 23:00:05 +0000 (23:00 +0000)]
daily update
Jie Zhang [Wed, 28 Dec 2005 06:01:48 +0000 (06:01 +0000)]
* emulparams/bfin.sh: Define DATA_END_SYMBOLS and END_SYMBOLS.
And add a prefix '_' to ENTRY.
* scripttempl/elf.sc: Add END_SYMBOLS.
Alan Modra [Tue, 27 Dec 2005 23:00:06 +0000 (23:00 +0000)]
daily update
Bob Wilson [Tue, 27 Dec 2005 22:56:02 +0000 (22:56 +0000)]
* emultempl/xtensaelf.em (elf_xtensa_place_orphan): Delete.
(LDEMUL_PLACE_ORPHAN): Delete.
Dave Anglin [Tue, 27 Dec 2005 22:50:08 +0000 (22:50 +0000)]
* elf32-hppa.c (elf32_hppa_size_dynamic_sections): Use info->executable
instead of !info->shared.
Jan-Benedict Glaw [Tue, 27 Dec 2005 22:17:25 +0000 (22:17 +0000)]
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.
Jan-Benedict Glaw [Tue, 27 Dec 2005 19:43:47 +0000 (19:43 +0000)]
2005-12-26 Jan-Benedict Glaw <jbglaw@lug-owl.de>
* MAINTAINERS: Add myself as VAX maintainer.
Nathan Sidwell [Tue, 27 Dec 2005 18:38:05 +0000 (18:38 +0000)]
* config/tc-mt.c (mt_arch): Default to ms1_16_002.
(md_parse_options): Only allow lowercase.
(md_show_usage): Update.
Nathan Sidwell [Tue, 27 Dec 2005 17:47:42 +0000 (17:47 +0000)]
* elf32-mt.c (mt_elf_merge_private_bfd_data): Do not allow mixing
object files from different mt variants.
Nick Clifton [Tue, 27 Dec 2005 17:42:45 +0000 (17:42 +0000)]
Add support for RDOS targets.
Nick Clifton [Tue, 27 Dec 2005 16:37:57 +0000 (16:37 +0000)]
PR binutils/1990
* libtool.m4: Synchronize with version in GCC sources.
Nick Clifton [Tue, 27 Dec 2005 16:07:36 +0000 (16:07 +0000)]
(lookup_symbol_in_function_table): Check for a function name before passing
it to strcmp.
Nick Clifton [Tue, 27 Dec 2005 11:55:37 +0000 (11:55 +0000)]
PR 1300
* config/tc-arm.c (md_apply_fix): Fix casts to match type in printf format.
Nick Clifton [Tue, 27 Dec 2005 11:00:03 +0000 (11:00 +0000)]
Add new Vietnamese translation
Alan Modra [Tue, 27 Dec 2005 09:22:59 +0000 (09:22 +0000)]
* elf.c (elf_find_function): Don't ignore section syms.
Simplify filename logic.
Alan Modra [Tue, 27 Dec 2005 04:19:15 +0000 (04:19 +0000)]
missed copyright 2005 addition
Alan Modra [Tue, 27 Dec 2005 03:54:33 +0000 (03:54 +0000)]
* 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.
Alan Modra [Tue, 27 Dec 2005 03:45:30 +0000 (03:45 +0000)]
* elf.c (bfd_section_from_shdr): Treat invalid reloc sections as
normal sections rather than returning false.
Alan Modra [Tue, 27 Dec 2005 03:06:27 +0000 (03:06 +0000)]
* 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.
Alan Modra [Tue, 27 Dec 2005 01:21:27 +0000 (01:21 +0000)]
* Makefile.am (Makefile): Remove dependency.
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* gconfig.in: Regenerate.
Alan Modra [Tue, 27 Dec 2005 01:21:01 +0000 (01:21 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
Alan Modra [Tue, 27 Dec 2005 01:20:35 +0000 (01:20 +0000)]
* Makefile.am: Run "make dep-am".
(Makefile): Remove dependency.
* Makefile.in: Regenerate.
Alan Modra [Tue, 27 Dec 2005 01:20:06 +0000 (01:20 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* po/POTFILES.in: Regenerate.
Alan Modra [Tue, 27 Dec 2005 01:19:01 +0000 (01:19 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* po/SRC-POTFILES.in: Regenerate.
Alan Modra [Mon, 26 Dec 2005 23:00:05 +0000 (23:00 +0000)]
daily update
Jan-Benedict Glaw [Sun, 25 Dec 2005 23:19:10 +0000 (23:19 +0000)]
2005-12-26 Jan-Benedict Glaw <jbglaw@lug-owl.de>
* MAINTAINERS: Add myself as VAX maintainer.
Alan Modra [Sun, 25 Dec 2005 23:00:05 +0000 (23:00 +0000)]
daily update
Alan Modra [Sat, 24 Dec 2005 23:00:04 +0000 (23:00 +0000)]
daily update
Ben Elliston [Sat, 24 Dec 2005 11:17:21 +0000 (11:17 +0000)]
* config/default.exp: Do not load the unneeded util-defs.exp.
Alan Modra [Sat, 24 Dec 2005 08:37:38 +0000 (08:37 +0000)]
* 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.
Alan Modra [Sat, 24 Dec 2005 07:48:30 +0000 (07:48 +0000)]
* 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.
Alan Modra [Fri, 23 Dec 2005 23:00:06 +0000 (23:00 +0000)]
daily update
Nick Clifton [Fri, 23 Dec 2005 12:29:36 +0000 (12:29 +0000)]
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.
Joel Brobecker [Fri, 23 Dec 2005 10:19:40 +0000 (10:19 +0000)]
* 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.
Nick Clifton [Fri, 23 Dec 2005 09:43:28 +0000 (09:43 +0000)]
Use correct email address for Randolph Chung
Alan Modra [Thu, 22 Dec 2005 23:00:06 +0000 (23:00 +0000)]
daily update
Nick Clifton [Thu, 22 Dec 2005 18:11:09 +0000 (18:11 +0000)]
(read_section_stabs_debugging_info): Add $GDB_SYMBOLS$ entry to names[]
array for SOM binaries.
Nick Clifton [Thu, 22 Dec 2005 17:43:34 +0000 (17:43 +0000)]
Add TINY_READONLY_SECTION, TINY_DATA_SECTION, TINY_BSS_SECTION.
Nick Clifton [Thu, 22 Dec 2005 17:09:39 +0000 (17:09 +0000)]
Fix PicoJava opcodes
Jan Beulich [Thu, 22 Dec 2005 17:05:40 +0000 (17:05 +0000)]
gas/
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.
gas/testsuite/
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.
Nick Clifton [Thu, 22 Dec 2005 15:46:55 +0000 (15:46 +0000)]
Fix typo in previous delta
Nick Clifton [Thu, 22 Dec 2005 15:39:11 +0000 (15:39 +0000)]
Convert to ISO C90 format. Fix formatting and white space usage as well.
Alan Modra [Wed, 21 Dec 2005 23:00:05 +0000 (23:00 +0000)]
daily update
H.J. Lu [Wed, 21 Dec 2005 15:56:46 +0000 (15:56 +0000)]
2005-12-21 H.J. Lu <hjl@gnu.org>
* MAINTAINERS: Add myself as x86_64 maintainer.
Alan Modra [Tue, 20 Dec 2005 23:00:05 +0000 (23:00 +0000)]
daily update
Bob Wilson [Tue, 20 Dec 2005 19:37:26 +0000 (19:37 +0000)]
* 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.
Bob Wilson [Tue, 20 Dec 2005 18:13:32 +0000 (18:13 +0000)]
* 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.
Paolo Bonzini [Tue, 20 Dec 2005 17:21:57 +0000 (17:21 +0000)]
2005-12-20 Paolo Bonzini <bonzini@gnu.org>
Revert Ada-related part of the previous change.
* Makefile.def (ADAFLAGS, BOOT_ADAFLAGS, ADAFLAGS_FOR_TARGET):
Do not pass.
* Makefile.tpl (BOOT_ADAFLAGS): Do not define.
* Makefile.in: Regenerate.
* configure.in: Do not include mt-ppc-aix target fragment.
* configure: Regenerate.
config:
2005-12-20 Paolo Bonzini <bonzini@gnu.org>
Revert Ada-related part of the previous change.
* mt-ppc-aix: Delete.
Nathan Sidwell [Tue, 20 Dec 2005 09:44:48 +0000 (09:44 +0000)]
* doc/t-mt.texi: Update MS1 to MT.
Bob Wilson [Tue, 20 Dec 2005 01:30:11 +0000 (01:30 +0000)]
* 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.
Bob Wilson [Tue, 20 Dec 2005 01:22:48 +0000 (01:22 +0000)]
fix typo in previous entry
Bob Wilson [Mon, 19 Dec 2005 23:45:01 +0000 (23:45 +0000)]
fix filename typo in previous entry for ld-elf/group2.d
Alan Modra [Mon, 19 Dec 2005 23:00:04 +0000 (23:00 +0000)]
daily update
Paolo Bonzini [Mon, 19 Dec 2005 17:33:45 +0000 (17:33 +0000)]
2005-12-19 Paolo Bonzini <bonzini@gnu.org>
* configure.in: Select appropriate fragments for PowerPC/AIX.
* configure: Regenerate.
* Makefile.def (flags_to_pass): Add ADAFLAGS, BOOT_ADAFLAGS,
BOOT_CFLAGS, BOOT_LDFLAGS.
* Makefile.tpl (POSTSTAGE1_FLAGS_TO_PASS): Handle BOOT_ADAFLAGS,
BOOT_CFLAGS, BOOT_LDFLAGS.
(TARGET_FLAGS_TO_PASS): Handle ADAFLAGS_FOR_TARGET.
(stage[+id+]-bubble): Pass flags recursively to the comparison target.
(stage): Fail if we cannot complete the work.
config:
2005-12-19 Paolo Bonzini <bonzini@gnu.org>
* mt-ppc-aix, mh-ppc-aix: New.
H.J. Lu [Mon, 19 Dec 2005 15:07:28 +0000 (15:07 +0000)]
2005-12-19 H.J. Lu <hongjiu.lu@intel.com>
* ld-elf/orphan2.d: Undo the last change.
H.J. Lu [Mon, 19 Dec 2005 15:06:40 +0000 (15:06 +0000)]
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): Likewsise.
* ldlang.h (lang_statement_list_type): Likewsise.
Hans-Peter Nilsson [Mon, 19 Dec 2005 11:59:15 +0000 (11:59 +0000)]
* ld-elf/unknown2.d: Only run for *-*-linux*.
* ld-elf/orphan2.d: Xfail everywhere.
H.J. Lu [Sun, 18 Dec 2005 23:50:41 +0000 (23:50 +0000)]
2005-12-18 H.J. Lu <hongjiu.lu@intel.com>
PR ld/2065
* ld-elf/orphan2.d: New file.
* ld-elf/orphan2.s: Likewise.
Alan Modra [Sun, 18 Dec 2005 23:00:05 +0000 (23:00 +0000)]
daily update
H.J. Lu [Sun, 18 Dec 2005 16:21:49 +0000 (16:21 +0000)]
2005-12-18 H.J. Lu <hongjiu.lu@intel.com>
* ld-elf/unknown2.d: New.
* ld-elf/unknown2.s: Likewise.
Alan Modra [Sat, 17 Dec 2005 23:00:05 +0000 (23:00 +0000)]
daily update
DJ Delorie [Sat, 17 Dec 2005 20:51:56 +0000 (20:51 +0000)]
merge from gcc
Alan Modra [Fri, 16 Dec 2005 23:00:09 +0000 (23:00 +0000)]
daily update
Jeff Johnston [Fri, 16 Dec 2005 20:58:39 +0000 (20:58 +0000)]
2005-12-16 Jeff Johnston <jjohnstn@redhat.com>
* COPYING.NEWLIB: Update copyright year for default
copyright.
Nathan Sidwell [Fri, 16 Dec 2005 10:23:12 +0000 (10:23 +0000)]
Second part of ms1 to mt renaming.
* bfd/archures.c (bfd_arch_mt): Renamed.
(bfd_mt_arch): Renamed.
(bfd_archures_list): Adjusted.
* bfd/bfd-in2.h: Rebuilt.
* bfd/config.bfd (mt): Remove special case targ_archs.
(mt-*-elf): Rename bfd_elf32_mt_vec.
* bfd/configure: Rebuilt.
* bfd/configure.in (bfd_elf32_mt_vec): Renamed.
(selarchs) Remove mt special case.
* bfd/cpu-mt.c (arch_info_struct): Adjust.
(bfd_mt_arch): Renamed, adjust.
* bfd/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.
* bfd/libbfd.h: Regenerated.
* bfd/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.
* bfd/targets.c (bfd_elf32_mt_vec): Renamed.
(_bfd_target_vector): Adjusted.
* binutils/readelf.c (guess_is_rela): Use EM_MT.
(dump_relocations, get_machine_name): Adjust.
* cpu/mt.cpu (define-arch, define-isa): Set name to mt.
(define-mach): Adjust.
* cpu/mt.opc (CGEN_ASM_HASH): Update.
(mt_asm_hash, mt_cgen_insn_supported): Renamed.
(parse_loopsize, parse_imm16): Adjust.
* gas/configure: Rebuilt.
* gas/configure.in (mt): Remove special case.
* gas/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.
* gas/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.
* gdb/mt-tdep.c (mt_arch_constants, mt_gdb_regnums): Rename, adjust.
(mt_register_name, mt_register_type, mt_register_reggroup_p,
mt_return_value, mt_skip_prologue, mt_breapoint_from_pc,
mt_pseudo_register_read, mt_pseudo_register_write, mt_frame_align,
mt_registers_info, mt_push_dummy_call, mt_unwind_cache,
mt_frame_unwind_cache, mt_unwind_pc, mt_unwind_dummy_id,
mt_frame_this_id, mt_frame_prev_register, mt_frame_base_address,
mt_frame_unwind, mt_frame_sniffer, mt_frame_base, mt_gdbarch_init,
_initialize_mt_tdep): Rename & adjust.
* include/dis-asm.h (print_insn_mt): Renamed.
* include/elf/common.h (EM_MT): Renamed.
* include/elf/mt.h: Rename relocs, cpu & other defines.
* ld/emulparams/elf32mt.sh (ARCH, OUTPUT_FORMAT): Adjust.
* opcodes/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.
* opcodes/Makefile.in: Rebuilt.
* opcodes/configure: Rebuilt.
* opcodes/configure.in (bfd_mt_arch): Rename & adjust.
* opcodes/disassemble.c (ARCH_mt): Renamed.
(disassembler): Adjust.
* opcodes/mt-asm.c: Renamed, rebuilt.
* opcodes/mt-desc.c: Renamed, rebuilt.
* opcodes/mt-desc.h: Renamed, rebuilt.
* opcodes/mt-dis.c: Renamed, rebuilt.
* opcodes/mt-ibld.c: Renamed, rebuilt.
* opcodes/mt-opc.c: Renamed, rebuilt.
* opcodes/mt-opc.h: Renamed, rebuilt.
* sid/Makefile.in: Rebuilt.
* sid/aclocal.m4: Rebuilt.
* sid/configure: Rebuilt.
* sid/sid.spec: Adjust.
* sid/bsp/Makefile.am: Adjust.
* sid/bsp/Makefile.in: Rebuilt.
* sid/bsp/aclocal.m4: Rebuilt.
* sid/bsp/configrun-sid.in: Adjust.
* sid/bsp/pregen/Makefile.in: Rebuilt.
* sid/bsp/pregen/mt-gdb.conf: Renamed & rebuilt.
* sid/bsp/pregen/mt-gloss.conf: Renamed & rebuilt.
* sid/bsp/pregen/pregen-configs.in: Adjust.
* sid/component/aclocal.m4: Rebuilt.
* sid/component/configure: Rebuilt.
* sid/component/tconfig.in: Adjust.
* sid/component/bochs/aclocal.m4: Rebuilt.
* sid/component/cache/Makefile.in: Rebuilt.
* sid/component/cgen-cpu/Makefile.in: Rebuilt.
* sid/component/cgen-cpu/aclocal.m4: Rebuilt.
* sid/component/cgen-cpu/compCGEN.cxx: Adjust.
* sid/component/cgen-cpu/configure: Rebuilt.
* sid/component/cgen-cpu/configure.in: Rebult.
* sid/component/cgen-cpu/mt/Makefile.am: Adjust.
* sid/component/cgen-cpu/mt/Makefile.in: Rebuilt.
* sid/component/cgen-cpu/mt/hw-cpu-mt.txt: Adjust.
* sid/component/cgen-cpu/mt/mt-cpu.h: Rebuilt.
* sid/component/cgen-cpu/mt/mt-decode.cxx: Rebuilt.
* sid/component/cgen-cpu/mt/mt-decode.h: Rebuilt.
* sid/component/cgen-cpu/mt/mt-defs.h: Rebuilt.
* sid/component/cgen-cpu/mt/mt-desc.h: Rebuilt.
* sid/component/cgen-cpu/mt/mt-sem.cxx: Rebuilt.
* sid/component/cgen-cpu/mt/mt-write.cxx: Rebuilt.
* sid/component/cgen-cpu/mt/mt.cxx: Adjust.
* sid/component/cgen-cpu/mt/mt.h: Adjust.
* sid/component/consoles/Makefile.in: Rebuilt.
* sid/component/families/aclocal.m4: Rebuilt.
* sid/component/families/configure: Rebuilt.
* sid/component/gdb/Makefile.in: Rebuilt.
* sid/component/gloss/Makefile.in: Rebuilt.
* sid/component/glue/Makefile.in: Rebuilt.
* sid/component/ide/Makefile.in: Rebuilt.
* sid/component/interrupt/Makefile.in: Rebuilt.
* sid/component/lcd/Makefile.in: Rebuilt.
* sid/component/lcd/testsuite/Makefile.in: Rebuilt.
* sid/component/loader/Makefile.am: Rebuilt.
* sid/component/loader/Makefile.in: Rebuilt.
* sid/component/mapper/Makefile.in: Rebuilt.
* sid/component/mapper/testsuite/Makefile.in: Rebuilt.
* sid/component/memory/Makefile.in: Rebuilt.
* sid/component/mmu/Makefile.in: Rebuilt.
* sid/component/parport/Makefile.in: Rebuilt.
* sid/component/profiling/Makefile.in: Rebuilt.
* sid/component/rtc/Makefile.in: Rebuilt.
* sid/component/sched/Makefile.in: Rebuilt.
* sid/component/testsuite/Makefile.in: Rebuilt.
* sid/component/timers/aclocal.m4: Rebuilt.
* sid/component/timers/configure: Rebuilt.
* sid/component/uart/Makefile.in: Rebuilt.
* sid/component/uart/testsuite/Makefile.in: Rebuilt.
* sid/config/config.sub: Adjust.
* sid/config/info.tcl.in: Adjust.
* sid/config/sidtargets.m4: Adjust.
* sid/doc/Makefile.in: Rebuilt.
* sid/main/dynamic/Makefile.am: Rebuilt.
* sid/main/dynamic/Makefile.in: Rebuilt.
* sid/main/dynamic/aclocal.m4: Rebuilt.
* sid/main/dynamic/configure: Rebuilt.
Alan Modra [Thu, 15 Dec 2005 23:00:07 +0000 (23:00 +0000)]
daily update
Paolo Bonzini [Thu, 15 Dec 2005 14:36:17 +0000 (14:36 +0000)]
2005-12-15 Paolo Bonzini <bonzini@gnu.org>
* Makefile.tpl (all, do-[+make_target+], do-check, install,
install-host-nogcc): Don't invoke $(stage) at the end.
* Makefile.in: Regenerate.
Alan Modra [Wed, 14 Dec 2005 23:00:07 +0000 (23:00 +0000)]
daily update
Paolo Bonzini [Wed, 14 Dec 2005 18:00:22 +0000 (18:00 +0000)]
2005-12-14 Paolo Bonzini <bonzini@gnu.org>
* configure.in: Flip the top-level bootstrap switch.
* configure: Regenerate.
Merge from gcc:
2005-12-14 Daniel Jacobowitz <dan@codesourcery.com>
* Makefile.tpl: Throughout the file, use : $(MAKE) along with
$(stage) and $(unstage).
(EXTRA_TARGET_FLAGS): Correct double-quoting.
(all): Remove stray semicolon.
(local-distclean): Don't handle multilib.tmp and multilib.out.
(install.all): Set $s for consistency.
(configure-[+prefix+][+module+]): Instead of [+deps+], handle
check_multilibs setting. Always make the install directory.
(configure-stage[+id+]-[+prefix+][+module+]): Likewise.
Correct @if/@endif.
(all-stage[+id+]-[+prefix+][+module+]): Correct @if/@endif.
($(TARGET_SUBDIR)/[+module+]/multilib.out): Remove.
(stage[+id+]-start, stage[+id+]-end): Stage $(TARGET_SUBDIR).
(multilib.out): Remove.
* Makefile.in: Regenerated.
Jakub Jelinek [Wed, 14 Dec 2005 15:15:55 +0000 (15:15 +0000)]
* 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.
Jan Beulich [Wed, 14 Dec 2005 08:57:06 +0000 (08:57 +0000)]
gas/
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.
gas/testsuite/
2005-12-14 Jan Beulich <jbeulich@novell.com>
* gas/i386/rex.[sd]: New.
* gas/i386/i386.exp: Run new test.
DJ Delorie [Wed, 14 Dec 2005 03:30:07 +0000 (03:30 +0000)]
* m32c.cpu (jsri): Fix order so register names aren't treated as
symbols.
(indexb, indexbd, indexbs, indexl, indexld, indexls, indexw,
indexwd, indexws): Fix encodings.
* m32c-desc.c: Regenerate.
* m32c-opc.c: Regenerate.
* m32c-opc.h: Regenerate.
DJ Delorie [Wed, 14 Dec 2005 02:27:34 +0000 (02:27 +0000)]
* config/tc-m32c.c (m32c_md_end): Only pad code sections.
Alan Modra [Tue, 13 Dec 2005 23:00:06 +0000 (23:00 +0000)]
daily update
H.J. Lu [Tue, 13 Dec 2005 15:34:28 +0000 (15:34 +0000)]
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.
Alan Modra [Tue, 13 Dec 2005 05:39:34 +0000 (05:39 +0000)]
* elf64-ppc.c (ppc64_elf_relocate_section): Force tail calls in
shared libs to resolve locally.
Alan Modra [Mon, 12 Dec 2005 23:00:07 +0000 (23:00 +0000)]
daily update
Paul Brook [Mon, 12 Dec 2005 17:03:40 +0000 (17:03 +0000)]
2005-12-12 Paul Brook <paul@codesourcery.com>
bfd/
* 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.
gas/
* 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.
include/elf/
* arm.h (elf32_arm_get_eabi_attr_int): Add prototype.
ld/testsuite/
* 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.
Nathan Sidwell [Mon, 12 Dec 2005 11:25:08 +0000 (11:25 +0000)]
Rename ms1 to mt, part 1
* config.sub: Replace ms1 arch with mt. Allow ms1 as alias.
* configure.in: Replace ms1 arch with mt.
* configure: Rebuilt.
* bfd/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.
* bfd/Makefile.in: Rebuilt.
* bfd/config.bfd: Replace ms1 arch with mt.
* bfd/configure.in: Replace ms1 files with mt files.
* bfd/configure: Rebuilt.
* bfd/elf32-mt.c: Renamed from elf32-ms1.c. Update include files.
* bfd/cpu-mt.c: Renamed from cpu-ms1.c.
* cpu/mt.cpu: Rename from ms1.cpu.
* cpu/mt.opc: Rename from ms1.opc.
* binutils/Makefile.am: Replace ms1 files with mt files.
* binutils/Makefile.in: Rebuilt.
* binutils/readelf.c (elf/mt.h): Adjust #include.
* gas/configure.in: Replace ms1 arch with mt arch.
* gas/configure: Rebuilt.
* gas/configure.tgt: Replace ms1 arch with mt arch.
* gas/config/tc-mt.c: Renamed from tc-ms1.c: Update include files.
* gas/doc/Makefile.am (CPU_DOCS): Replace ms1 files with mt files.
* gas/doc/Makefile.in: Rebuilt.
* gas/testsuite/gas/mt: Renamed from ms1 dir. Update file names as
needed.
* gas/testsuite/gas/mt/errors.exp: Replace ms1 arch with mt arch.
* gas/testsuite/gas/mt/mt.exp: Replace ms1 arch with mt arch.
* gas/testsuite/gas/mt/relocs.exp: Replace ms1 arch with mt arch.
* gdb/configure.tgt: Replace ms1 arch with mt arch.
* gdb/config/mt: Renamed from ms1 dir. Update file names as needed.
* gdb/config/mt/mt.mt (TDEPFILES): Replace ms1 file with mt file.
* include/elf/mt.h: Renamed from ms1.h
* ld/Makefile.am (ALL_EMULATIONS): Replace ms1 files with mt files.
(eelf32mt.c): Update target name and dependencies.
* ld/Makefile.in: Rebuilt.
* ld/configure.tgt: Replace ms1 arch with mt arch.
* ld/emulparams/elf32mt.sh: Renamed from elf32ms1.sh. Update
comment.
* libgloss/configure.in: Replace ms1 arch with mt arch.
* libgloss/configure: Rebuilt.
* libgloss/mt: Renamed from ms1 dir.
* newlib/configure.host: Replace ms1 arch with mt arch.
* newlib/libc/machine/mt: Renamed from ms1 dir.
* opcodes/Makefile.am (CLEANFILES, CGEN_CPUS, MT_DEPS): Replace ms1
with mt.
* opcodes/Makefile.in: Rebuilt.
* opcodes/configure.in: Replace ms1 files with mt files.
* opcodes/configure: Rebuilt.
* sid/component/cgen-cpu/mt: Renamed from ms1 dir. Update file
names as appropriate.
* sid/component/cgen-cpu/mt/Makefile.am: Replace ms1 files with mt
files.
* sid/component/cgen-cpu/mt/Makefile.in: Rebuilt.
Nathan Sidwell [Mon, 12 Dec 2005 11:16:41 +0000 (11:16 +0000)]
Rename ms1 files to mt files (part 1 -- renames only)
Alan Modra [Mon, 12 Dec 2005 03:59:52 +0000 (03:59 +0000)]
* elf64-ppc.c (ppc64_elf_size_stubs): Don't consider non-ppc64 input.
Alan Modra [Sun, 11 Dec 2005 23:00:07 +0000 (23:00 +0000)]
daily update