OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
18 years agogas/
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.

18 years agoFix typo in previous delta
Nick Clifton [Thu, 22 Dec 2005 15:46:55 +0000 (15:46 +0000)]
Fix typo in previous delta

18 years agoConvert to ISO C90 format. Fix formatting and white space usage as well.
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.

18 years agodaily update
Alan Modra [Wed, 21 Dec 2005 23:00:05 +0000 (23:00 +0000)]
daily update

18 years ago2005-12-21 H.J. Lu <hjl@gnu.org>
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.

18 years agodaily update
Alan Modra [Tue, 20 Dec 2005 23:00:05 +0000 (23:00 +0000)]
daily update

18 years ago * config/tc-xtensa.c (xtensa_mark_narrow_branches): Set
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.

18 years ago * config/tc-xtensa.c (xg_find_narrowest_format): Optimize 1 slot case.
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.

18 years ago2005-12-20 Paolo Bonzini <bonzini@gnu.org>
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.

18 years ago * doc/t-mt.texi: Update MS1 to MT.
Nathan Sidwell [Tue, 20 Dec 2005 09:44:48 +0000 (09:44 +0000)]
* doc/t-mt.texi: Update MS1 to MT.

18 years ago * elf32-xtensa.c (action_list_count, xlate_map_entry, xlate_map,
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.

18 years agofix typo in previous entry
Bob Wilson [Tue, 20 Dec 2005 01:22:48 +0000 (01:22 +0000)]
fix typo in previous entry

18 years agofix filename typo in previous entry for ld-elf/group2.d
Bob Wilson [Mon, 19 Dec 2005 23:45:01 +0000 (23:45 +0000)]
fix filename typo in previous entry for ld-elf/group2.d

18 years agodaily update
Alan Modra [Mon, 19 Dec 2005 23:00:04 +0000 (23:00 +0000)]
daily update

18 years ago2005-12-19 Paolo Bonzini <bonzini@gnu.org>
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.

18 years ago2005-12-19 H.J. Lu <hongjiu.lu@intel.com>
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.

18 years ago2005-12-19 H.J. Lu <hongjiu.lu@intel.com>
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.

18 years ago * ld-elf/unknown2.d: Only run for *-*-linux*.
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.

18 years ago2005-12-18 H.J. Lu <hongjiu.lu@intel.com>
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.

18 years agodaily update
Alan Modra [Sun, 18 Dec 2005 23:00:05 +0000 (23:00 +0000)]
daily update

18 years ago2005-12-18 H.J. Lu <hongjiu.lu@intel.com>
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.

18 years agodaily update
Alan Modra [Sat, 17 Dec 2005 23:00:05 +0000 (23:00 +0000)]
daily update

18 years agomerge from gcc
DJ Delorie [Sat, 17 Dec 2005 20:51:56 +0000 (20:51 +0000)]
merge from gcc

18 years agodaily update
Alan Modra [Fri, 16 Dec 2005 23:00:09 +0000 (23:00 +0000)]
daily update

18 years ago2005-12-16 Jeff Johnston <jjohnstn@redhat.com>
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.

18 years ago Second part of ms1 to mt renaming.
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.

18 years agodaily update
Alan Modra [Thu, 15 Dec 2005 23:00:07 +0000 (23:00 +0000)]
daily update

18 years ago2005-12-15 Paolo Bonzini <bonzini@gnu.org>
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.

18 years agodaily update
Alan Modra [Wed, 14 Dec 2005 23:00:07 +0000 (23:00 +0000)]
daily update

18 years ago2005-12-14 Paolo Bonzini <bonzini@gnu.org>
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.

18 years ago * scripttempl/elf.sc: Put .gnu.linkonce.d.rel.ro.* sections into
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.

18 years agogas/
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.

18 years ago* m32c.cpu (jsri): Fix order so register names aren't treated as
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.

18 years ago* config/tc-m32c.c (m32c_md_end): Only pad code sections.
DJ Delorie [Wed, 14 Dec 2005 02:27:34 +0000 (02:27 +0000)]
* config/tc-m32c.c (m32c_md_end): Only pad code sections.

18 years agodaily update
Alan Modra [Tue, 13 Dec 2005 23:00:06 +0000 (23:00 +0000)]
daily update

18 years ago2005-12-13 H.J. Lu <hongjiu.lu@intel.com>
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.

18 years ago * elf64-ppc.c (ppc64_elf_relocate_section): Force tail calls in
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.

18 years agodaily update
Alan Modra [Mon, 12 Dec 2005 23:00:07 +0000 (23:00 +0000)]
daily update

18 years ago2005-12-12 Paul Brook <paul@codesourcery.com>
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.

18 years ago Rename ms1 to mt, part 1
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.

18 years agoRename ms1 files to mt files (part 1 -- renames only)
Nathan Sidwell [Mon, 12 Dec 2005 11:16:41 +0000 (11:16 +0000)]
Rename ms1 files to mt files (part 1 -- renames only)

18 years ago * elf64-ppc.c (ppc64_elf_size_stubs): Don't consider non-ppc64 input.
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.

18 years agodaily update
Alan Modra [Sun, 11 Dec 2005 23:00:07 +0000 (23:00 +0000)]
daily update

18 years agomerge from gcc
DJ Delorie [Sun, 11 Dec 2005 02:16:09 +0000 (02:16 +0000)]
merge from gcc

18 years ago * scripttempl/armbpabi.sc: Fix typo in comment for .ctors.
Hans-Peter Nilsson [Sun, 11 Dec 2005 00:49:19 +0000 (00:49 +0000)]
* 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.

18 years agodaily update
Alan Modra [Sat, 10 Dec 2005 23:00:06 +0000 (23:00 +0000)]
daily update

18 years ago * elflink.c (elf_gc_mark_dynamic_ref_symbol): Use !info-executable
Alan Modra [Sat, 10 Dec 2005 03:31:03 +0000 (03:31 +0000)]
* elflink.c (elf_gc_mark_dynamic_ref_symbol): Use !info-executable
to test for linking shared libs, not info->shared.

18 years agodaily update
Alan Modra [Fri, 9 Dec 2005 23:00:06 +0000 (23:00 +0000)]
daily update

18 years agodaily update
Alan Modra [Thu, 8 Dec 2005 23:00:06 +0000 (23:00 +0000)]
daily update

18 years agoopcodes/
Jan Beulich [Thu, 8 Dec 2005 15:21:05 +0000 (15:21 +0000)]
opcodes/
2005-12-08  Jan Beulich  <jbeulich@novell.com>

* i386-dis.c (MAXLEN): Reduce to architectural limit.
(fetch_data): Check for sufficient buffer size.

18 years agobfd/
Alan Modra [Thu, 8 Dec 2005 11:41:12 +0000 (11:41 +0000)]
bfd/
* 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.
ld/
* 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.

18 years ago * pe-dll.c (build_filler_bfd): Conform error message to standard.
Alan Modra [Thu, 8 Dec 2005 11:38:25 +0000 (11:38 +0000)]
* 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.

18 years agoopcodes/
Jan Beulich [Thu, 8 Dec 2005 11:28:11 +0000 (11:28 +0000)]
opcodes/
2005-12-08  Jan Beulich  <jbeulich@novell.com>

* i386-dis.c (OP_ST): Remove prefix in Intel mode.

18 years ago * reloc.c (enum complain_overflow): Correct comments.
Alan Modra [Thu, 8 Dec 2005 11:05:36 +0000 (11:05 +0000)]
* 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.

18 years ago * i386-dis.c (dofloat): Handle %rip-relative floating point addressing.
Alan Modra [Thu, 8 Dec 2005 09:59:40 +0000 (09:59 +0000)]
* i386-dis.c (dofloat): Handle %rip-relative floating point addressing.

18 years ago2005-12-07 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 8 Dec 2005 01:34:13 +0000 (01:34 +0000)]
2005-12-07  H.J. Lu  <hongjiu.lu@intel.com>

* elf.c (assign_section_numbers): Remove extra code in the last
change.

18 years agodaily update
Alan Modra [Wed, 7 Dec 2005 23:00:06 +0000 (23:00 +0000)]
daily update

18 years ago2005-12-07 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 7 Dec 2005 19:21:44 +0000 (19:21 +0000)]
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.

18 years agobfd/
H.J. Lu [Wed, 7 Dec 2005 14:43:54 +0000 (14:43 +0000)]
bfd/

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.

ld/

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.

18 years ago * cris-opc.c (cris_opcodes) <"move" "s,P">: Define using
Hans-Peter Nilsson [Wed, 7 Dec 2005 12:56:13 +0000 (12:56 +0000)]
* cris-opc.c (cris_opcodes) <"move" "s,P">: Define using
MOVE_M_TO_PREG_OPCODE and MOVE_M_TO_PREG_ZBITS instead of constants.

18 years ago * cris.h (MOVE_M_TO_PREG_OPCODE, MOVE_M_TO_PREG_ZBITS)
Hans-Peter Nilsson [Wed, 7 Dec 2005 12:53:57 +0000 (12:53 +0000)]
* cris.h (MOVE_M_TO_PREG_OPCODE, MOVE_M_TO_PREG_ZBITS)
(MOVE_PC_INCR_OPCODE_PREFIX, MOVE_PC_INCR_OPCODE_SUFFIX): New macros.
(ADD_PC_INCR_OPCODE): Don't define.

18 years ago * gas/cris/rd-bcnst-pic.d, gas/cris/rd-branch-pic.d,
Hans-Peter Nilsson [Wed, 7 Dec 2005 06:43:17 +0000 (06:43 +0000)]
* 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.

18 years ago Change 32-bit-branch expansion for --pic.
Hans-Peter Nilsson [Wed, 7 Dec 2005 06:41:56 +0000 (06:41 +0000)]
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.

18 years ago * cris.cpu (simplecris-common-writable-specregs)
Hans-Peter Nilsson [Tue, 6 Dec 2005 21:48:28 +0000 (21:48 +0000)]
* cris.cpu (simplecris-common-writable-specregs)
(simplecris-common-readable-specregs): Split from
simplecris-common-specregs.  All users changed.
(cris-implemented-writable-specregs-v0)
(cris-implemented-readable-specregs-v0): Similar from
cris-implemented-specregs-v0.
(cris-implemented-writable-specregs-v3)
(cris-implemented-readable-specregs-v3)
(cris-implemented-writable-specregs-v8)
(cris-implemented-readable-specregs-v8)
(cris-implemented-writable-specregs-v10)
(cris-implemented-readable-specregs-v10)
(cris-implemented-writable-specregs-v32)
(cris-implemented-readable-specregs-v32): Similar.
(bdap-32-pc, move-m-pcplus-p0, move-m-spplus-p8): New
insns and specializations.

18 years agogas/
H.J. Lu [Tue, 6 Dec 2005 12:40:57 +0000 (12:40 +0000)]
gas/

2005-12-06  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/1874
* config/tc-i386.c (match_template): Handle monitor.
(process_suffix): Likewise.

gas/testsuite/

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.

include/opcode/

2005-12-06  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/1874
* i386.h (i386_optab): Add 64bit support for monitor and mwait.

opcodes/

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.

18 years ago * cpu-powerpc.c (bfd_powerpc_archs): Add ppc 750.
Alan Modra [Tue, 6 Dec 2005 12:10:26 +0000 (12:10 +0000)]
* cpu-powerpc.c (bfd_powerpc_archs): Add ppc 750.

18 years ago * cris-dis.c (bytes_to_skip): Handle new parameter prefix_matchedp.
Hans-Peter Nilsson [Mon, 5 Dec 2005 23:27:01 +0000 (23:27 +0000)]
* cris-dis.c (bytes_to_skip): Handle new parameter prefix_matchedp.
(print_with_operands): Check for prefix when [PC+] is seen.

18 years ago * gas/cris/rd-pcplus.s, gas/cris/rd-pcplus.d: New test.
Hans-Peter Nilsson [Mon, 5 Dec 2005 23:26:23 +0000 (23:26 +0000)]
* gas/cris/rd-pcplus.s, gas/cris/rd-pcplus.d: New test.

18 years agodaily update
Alan Modra [Mon, 5 Dec 2005 23:00:08 +0000 (23:00 +0000)]
daily update

18 years ago Bug gas/1948
Dave Anglin [Mon, 5 Dec 2005 17:00:36 +0000 (17:00 +0000)]
Bug gas/1948
* symbols.c (colon): Also check if now_seg is bss_section when a symbol
is being redefined.

18 years agotoplevel:
Paolo Bonzini [Mon, 5 Dec 2005 15:16:05 +0000 (15:16 +0000)]
toplevel:
2005-12-05  Paolo Bonzini  <bonzini@gnu.org>

Sync with gcc:

2005-12-05  Paolo Bonzini  <bonzini@gnu.org>

        * configure.in (CONFIGURED_BISON, CONFIGURED_YACC, CONFIGURED_M4,
        CONFIGURED_FLEX, CONFIGURED_LEX, CONFIGURED_MAKEINFO): Remove
        "CONFIGURED_" from the AC_CHECK_PROGS invocation.  Move below.
        Find in-tree tools if available.
        (EXPECT, RUNTEST, LIPO, STRIP): Find them and substitute them.
        (CONFIGURED_*_FOR_TARGET): Don't set nor substitute.
        (*_FOR_TARGET): Set them with GCC_TARGET_TOOL.
        (COMPILER_*_FOR_TARGET): New.
        * Makefile.tpl (HOST_EXPORTS): Add *_FOR_TARGET symbols that gcc needs.
        (BASE_TARGET_EXPORTS): Use COMPILER_*_FOR_TARGET symbols.
        (CONFIGURED_*, USUAL_*): Remove.
        (BISON, YACC, FLEX, LEX, M4, MAKEINFO, EXPECT, RUNTEST, LIPO,
        STRIP): Use autoconf substitutions.
        (COMPILER_AS_FOR_TARGET, COMPILER_LD_FOR_TARGET,
        COMPILER_NM_FOR_TARGET): New.
        (EXTRA_HOST_FLAGS): Pass LIPO and STRIP.

        (all): Make all-host and all-target in parallel.
        (do-[+make_target+], do-check, install, [+compare-target+]): Ensure
        that $$r and $$s are set before invoking a recursive make.
        (stage[+id+]-bubble): Likewise, and invoke the comparison at the end.
        ([+bootstrap-target+]): Inline most of the `all' target.

2005-11-29  Ben Elliston  <bje@au.ibm.com>

        * Makefile.tpl (clean-target-libgcc): Invoke clean-target-libgcc
        from the gcc build directory.
        * Makefile.in: Regenerate.

2005-11-29  Ben Elliston  <bje@au.ibm.com>

        * Makefile.def: Add new libdecnumber host_module.  Make all-gcc
        depend on all-libdecnumber.
        * configure.in (host_libs): Include libdecnumber.
        * Makefile.in: Regenerate.
        * configure: Likewise.

2005-11-21  Kean Johnston  <jkj@sco.com>

        * config.sub, config.guess: Sync from upstream sources.

config:
2005-12-05  Paolo Bonzini  <bonzini@gnu.org>

* acx.m4 (GCC_TARGET_TOOL): New.

18 years agodaily update
Alan Modra [Sun, 4 Dec 2005 23:00:05 +0000 (23:00 +0000)]
daily update

18 years ago* elf64-hppa.c (elf64_hppa_section_from_phdr): Create .kernel
Mark Kettenis [Sun, 4 Dec 2005 14:58:11 +0000 (14:58 +0000)]
* 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.

18 years agodaily update
Alan Modra [Sat, 3 Dec 2005 23:00:06 +0000 (23:00 +0000)]
daily update

18 years agodaily update
Alan Modra [Fri, 2 Dec 2005 23:00:06 +0000 (23:00 +0000)]
daily update

18 years agoconfig/tc-z80.c (emit_ldreg): fix bug in ld rr,<xx>
Arnold Metselaar [Fri, 2 Dec 2005 22:31:16 +0000 (22:31 +0000)]
config/tc-z80.c (emit_ldreg): fix bug in ld rr,<xx>

18 years ago2005-12-02 Dave Brolley <brolley@redhat.com>
Dave Brolley [Fri, 2 Dec 2005 20:09:42 +0000 (20:09 +0000)]
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.

18 years agodaily update
Alan Modra [Thu, 1 Dec 2005 23:00:06 +0000 (23:00 +0000)]
daily update

18 years ago* elf32-m32r.c (m32r_elf_sweep_hook): Fix an illegal duplicate check.
Nick Clifton [Thu, 1 Dec 2005 04:48:13 +0000 (04:48 +0000)]
* 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.

18 years agodaily update
Alan Modra [Wed, 30 Nov 2005 23:00:07 +0000 (23:00 +0000)]
daily update

18 years agoAdd Finnish translation
Nick Clifton [Wed, 30 Nov 2005 21:02:05 +0000 (21:02 +0000)]
Add Finnish translation

18 years agodaily update
Alan Modra [Tue, 29 Nov 2005 23:00:06 +0000 (23:00 +0000)]
daily update

18 years agodaily update
Alan Modra [Mon, 28 Nov 2005 23:00:07 +0000 (23:00 +0000)]
daily update

18 years agoFix changelog typo.
Daniel Jacobowitz [Mon, 28 Nov 2005 03:29:07 +0000 (03:29 +0000)]
Fix changelog typo.

18 years agodaily update
Alan Modra [Sun, 27 Nov 2005 23:00:05 +0000 (23:00 +0000)]
daily update

18 years agodaily update
Alan Modra [Sat, 26 Nov 2005 23:00:04 +0000 (23:00 +0000)]
daily update

18 years agogas/ acinclude.m4 aclocal.m4 app.c app.o as.c as.h as.h.cvs asintl.h as-new as.o...
Arnold Metselaar [Sat, 26 Nov 2005 20:03:53 +0000 (20:03 +0000)]
gas/ acinclude.m4 aclocal.m4 app.c app.o as.c as.h as.h.cvs asintl.h as-new as.o atof-generic.c atof-generic.o atof-ieee.o autom4te.cache bignum.h bit_fix.h cgen.c cgen.h ChangeLog ChangeLog-0001 ChangeLog-0203 ChangeLog.~1.2755.~ ChangeLog-9295 ChangeLog-9697 ChangeLog-9899 cond.c cond.o config config.cache config.h config.in config.log config.status configure configure.in configure.tgt CONTRIBUTORS COPYING CVS debug.c DEP2 DEPDIR depend.c depend.o dep-in.sed DEPOBJ dep.sed DEPTC doc dw2gencfi.c dw2gencfi.h dw2gencfi.o dwarf2dbg.c dwarf2dbg.h dwarf2dbg.o ecoff.c ecoff.h ecoff.o ehopt.c ehopt.o emul.h emul-target.h expr.c expr.c.cvs expr.h expr.o flonum-copy.c flonum-copy.o flonum.h flonum-konst.c flonum-konst.o flonum-mult.c flonum-mult.o frags.c frags.h frags.o gdbinit.in hash.c hash.h hash.o input-file.c input-file.h input-file.o input-scrub.c input-scrub.o itbl-cpu.h itbl-lex.h itbl-lex.l itbl-ops.c itbl-ops.h itbl-parse.y libtool listing.c listing.h listing.o literal.c literal.o long.s macro.c macro.c.bak macro.h macro.o MAINTAINERS Makefile Makefile.am Makefile.in messages.c messages.o NEWS obj-coff.o obj-format.h obj.h output-file.c output-file.h output-file.o po read.c read.h README read.o sb.c sb.h sb.o site.bak site.exp stabs.c stabs.o stamp-h1 stamp-h.in struc-symbol.h subsegs.c subsegs.h subsegs.o symbols.c symbols.h symbols.o targ-cpu.h targ-env.h tc.h tc-z80.o testsuite write.c write.h write.o config/tc-z80.c (z80_start_line_hook): issue an error when redefining a symbol with equ acinclude.m4 aclocal.m4 app.c app.o as.c as.h as.h.cvs asintl.h as-new as.o atof-generic.c atof-generic.o atof-ieee.o autom4te.cache bignum.h bit_fix.h cgen.c cgen.h ChangeLog ChangeLog-0001 ChangeLog-0203 ChangeLog.~1.2755.~ ChangeLog-9295 ChangeLog-9697 ChangeLog-9899 cond.c cond.o config config.cache config.h config.in config.log config.status configure configure.in configure.tgt CONTRIBUTORS COPYING CVS debug.c DEP2 DEPDIR depend.c depend.o dep-in.sed DEPOBJ dep.sed DEPTC doc dw2gencfi.c dw2gencfi.h dw2gencfi.o dwarf2dbg.c dwarf2dbg.h dwarf2dbg.o ecoff.c ecoff.h ecoff.o ehopt.c ehopt.o emul.h emul-target.h expr.c expr.c.cvs expr.h expr.o flonum-copy.c flonum-copy.o flonum.h flonum-konst.c flonum-konst.o flonum-mult.c flonum-mult.o frags.c frags.h frags.o gdbinit.in hash.c hash.h hash.o input-file.c input-file.h input-file.o input-scrub.c input-scrub.o itbl-cpu.h itbl-lex.h itbl-lex.l itbl-ops.c itbl-ops.h itbl-parse.y libtool listing.c listing.h listing.o literal.c literal.o long.s macro.c macro.c.bak macro.h macro.o MAINTAINERS Makefile Makefile.am Makefile.in messages.c messages.o NEWS obj-coff.o obj-format.h obj.h output-file.c output-file.h output-file.o po read.c read.h README read.o sb.c sb.h sb.o site.bak site.exp stabs.c stabs.o stamp-h1 stamp-h.in struc-symbol.h subsegs.c subsegs.h subsegs.o symbols.c symbols.h symbols.o targ-cpu.h targ-env.h tc.h tc-z80.o testsuite write.c write.h write.o doc/as.texinfo(equ<z80>): mention difference with .equiv acinclude.m4 aclocal.m4 app.c app.o as.c as.h as.h.cvs asintl.h as-new as.o atof-generic.c atof-generic.o atof-ieee.o autom4te.cache bignum.h bit_fix.h cgen.c cgen.h ChangeLog ChangeLog-0001 ChangeLog-0203 ChangeLog.~1.2755.~ ChangeLog-9295 ChangeLog-9697 ChangeLog-9899 cond.c cond.o config config.cache config.h config.in config.log config.status configure configure.in configure.tgt CONTRIBUTORS COPYING CVS debug.c DEP2 DEPDIR depend.c depend.o dep-in.sed DEPOBJ dep.sed DEPTC doc dw2gencfi.c dw2gencfi.h dw2gencfi.o dwarf2dbg.c dwarf2dbg.h dwarf2dbg.o ecoff.c ecoff.h ecoff.o ehopt.c ehopt.o emul.h emul-target.h expr.c expr.c.cvs expr.h expr.o flonum-copy.c flonum-copy.o flonum.h flonum-konst.c flonum-konst.o flonum-mult.c flonum-mult.o frags.c frags.h frags.o gdbinit.in hash.c hash.h hash.o input-file.c input-file.h input-file.o input-scrub.c input-scrub.o itbl-cpu.h itbl-lex.h itbl-lex.l itbl-ops.c itbl-ops.h itbl-parse.y libtool listing.c listing.h listing.o literal.c literal.o long.s macro.c macro.c.bak macro.h macro.o MAINTAINERS Makefile Makefile.am Makefile.in messages.c messages.o NEWS obj-coff.o obj-format.h obj.h output-file.c output-file.h output-file.o po read.c read.h README read.o sb.c sb.h sb.o site.bak site.exp stabs.c stabs.o stamp-h1 stamp-h.in struc-symbol.h subsegs.c subsegs.h subsegs.o symbols.c symbols.h symbols.o targ-cpu.h targ-env.h tc.h tc-z80.o testsuite write.c write.h write.o doc/as.texinfo(err): fix typo acinclude.m4 aclocal.m4 app.c app.o as.c as.h as.h.cvs asintl.h as-new as.o atof-generic.c atof-generic.o atof-ieee.o autom4te.cache bignum.h bit_fix.h cgen.c cgen.h ChangeLog ChangeLog-0001 ChangeLog-0203 ChangeLog.~1.2755.~ ChangeLog-9295 ChangeLog-9697 ChangeLog-9899 cond.c cond.o config config.cache config.h config.in config.log config.status configure configure.in configure.tgt CONTRIBUTORS COPYING CVS debug.c DEP2 DEPDIR depend.c depend.o dep-in.sed DEPOBJ dep.sed DEPTC doc dw2gencfi.c dw2gencfi.h dw2gencfi.o dwarf2dbg.c dwarf2dbg.h dwarf2dbg.o ecoff.c ecoff.h ecoff.o ehopt.c ehopt.o emul.h emul-target.h expr.c expr.c.cvs expr.h expr.o flonum-copy.c flonum-copy.o flonum.h flonum-konst.c flonum-konst.o flonum-mult.c flonum-mult.o frags.c frags.h frags.o gdbinit.in hash.c hash.h hash.o input-file.c input-file.h input-file.o input-scrub.c input-scrub.o itbl-cpu.h itbl-lex.h itbl-lex.l itbl-ops.c itbl-ops.h itbl-parse.y libtool listing.c listing.h listing.o literal.c literal.o long.s macro.c macro.c.bak macro.h macro.o MAINTAINERS Makefile Makefile.am Makefile.in messages.c messages.o NEWS obj-coff.o obj-format.h obj.h output-file.c output-file.h output-file.o po read.c read.h README read.o sb.c sb.h sb.o site.bak site.exp stabs.c stabs.o stamp-h1 stamp-h.in struc-symbol.h subsegs.c subsegs.h subsegs.o symbols.c symbols.h symbols.o targ-cpu.h targ-env.h tc.h tc-z80.o testsuite write.c write.h write.o doc/c-z80.texi(equ): redefining a symbol with equ is no longer allowed

18 years agodaily update
Alan Modra [Fri, 25 Nov 2005 23:00:05 +0000 (23:00 +0000)]
daily update

18 years agold/
Jan Beulich [Fri, 25 Nov 2005 09:21:42 +0000 (09:21 +0000)]
ld/
2005-11-25  Jan Beulich  <jbeulich@novell.com>

* Makefile.am: Make configdoc.texi writeable before trying
to write to it.
* Makefile.in: Refresh.

18 years ago * gas/macros/purge.l: Increment line numbers.
Dave Anglin [Fri, 25 Nov 2005 02:11:40 +0000 (02:11 +0000)]
* gas/macros/purge.l: Increment line numbers.
* gas/macros/purge.s: Add ".data" line.

18 years ago Bug gas/1896
Dave Anglin [Fri, 25 Nov 2005 02:08:22 +0000 (02:08 +0000)]
Bug gas/1896
* config/tc-hppa.c (hppa_fix_adjustable): Don't reject for reduction
R_HPPA relocations that are 32-bits wide.
* 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.

18 years agodaily update
Alan Modra [Thu, 24 Nov 2005 23:00:05 +0000 (23:00 +0000)]
daily update

18 years agobfd/
Alan Modra [Thu, 24 Nov 2005 06:02:08 +0000 (06:02 +0000)]
bfd/
* 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.
ld/
* 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.

18 years ago * ldlang.c (lang_insert_orphan): Skip first assignment to dot
Alan Modra [Thu, 24 Nov 2005 00:58:28 +0000 (00:58 +0000)]
* ldlang.c (lang_insert_orphan): Skip first assignment to dot
in script when looking for place to insert orphan statements.

18 years agodaily update
Alan Modra [Wed, 23 Nov 2005 23:00:05 +0000 (23:00 +0000)]
daily update

18 years agobfd/
Daniel Jacobowitz [Wed, 23 Nov 2005 14:04:18 +0000 (14:04 +0000)]
bfd/
* 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.
gas/
* 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.
gas/testsuite/
* 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.

18 years ago * elfcode.h (elf_object_p): Delay the setting of start_address
Alan Modra [Wed, 23 Nov 2005 11:46:01 +0000 (11:46 +0000)]
* elfcode.h (elf_object_p): Delay the setting of start_address
until we're sure the backend matches the binary.

18 years agoFix 32-bit host/target --enable-targets=all build failure from Doug Evans.
Jim Wilson [Wed, 23 Nov 2005 04:58:37 +0000 (04:58 +0000)]
Fix 32-bit host/target --enable-targets=all build failure from Doug Evans.
* ia64-gen.c (_opcode_int64_low, _opcode_int64_high,
opcode_fprintf_vma): New.
(print_main_table): New opcode_fprintf_vma instead of fprintf_vma.

18 years agoFix PR 994, core dump with section switching.
Jim Wilson [Wed, 23 Nov 2005 04:34:13 +0000 (04:34 +0000)]
Fix PR 994, core dump with section switching.
* config/tc-ia64.c (slot_index): Emit an error instead of a warning
when the frag chain is broken by section switching.

18 years agoFix PR 1889, infinite loop compiling code with bad user template.
Jim Wilson [Wed, 23 Nov 2005 01:40:55 +0000 (01:40 +0000)]
Fix PR 1889, infinite loop compiling code with bad user template.
* config/tc-ia64.c (emit_one_bundle): Perform last_slot < 0 check
even when manual_bundling isn't set.