OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
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.

18 years ago * gas/all/quad.d: Add -j "\$DATA\$". Modify regexp to check for
Dave Anglin [Wed, 23 Nov 2005 00:28:58 +0000 (00:28 +0000)]
* gas/all/quad.d: Add -j "\$DATA\$".  Modify regexp to check for
"$DATA$" as well as ".data".
* gas/all/sleb128.d: Likewise.

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

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

18 years agoadd self as maintainer for target Z80
Arnold Metselaar [Mon, 21 Nov 2005 14:26:05 +0000 (14:26 +0000)]
add self as maintainer for target Z80

18 years ago Bug gas/1894 Bug gas/1895
Dave Anglin [Mon, 21 Nov 2005 04:30:32 +0000 (04:30 +0000)]
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.

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

18 years ago Bug gas/1879
Dave Anglin [Sun, 20 Nov 2005 22:03:25 +0000 (22:03 +0000)]
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.

18 years ago * som.c (som_decode_symclass): Decode BSF_WEAK symbols in the same
Dave Anglin [Sun, 20 Nov 2005 19:21:06 +0000 (19:21 +0000)]
* som.c (som_decode_symclass): Decode BSF_WEAK symbols in the same
manner as bfd_decode_symclass.

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

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

19 years ago * config/bfin-defs.h (IS_BREG, IS_LREG): New macros.
Jie Zhang [Fri, 18 Nov 2005 14:21:29 +0000 (14:21 +0000)]
* config/bfin-defs.h (IS_BREG, IS_LREG): New macros.
* config/bfin-parse.y (asm_1): Check register type for load immediate
instruction.

19 years ago * elf64-ppc.c (ppc64_elf_check_relocs): Don't set has_14bit_branch
Alan Modra [Fri, 18 Nov 2005 04:52:57 +0000 (04:52 +0000)]
* elf64-ppc.c (ppc64_elf_check_relocs): Don't set has_14bit_branch
on branches to same section.

19 years ago * ld-powerpc/symtocbase.d: Adjust for alignment change.
Alan Modra [Fri, 18 Nov 2005 04:41:30 +0000 (04:41 +0000)]
* ld-powerpc/symtocbase.d: Adjust for alignment change.

19 years ago * emulparams/elf64ppc.sh (.tocbss): Use new section alignment scheme.
Alan Modra [Fri, 18 Nov 2005 04:26:29 +0000 (04:26 +0000)]
* emulparams/elf64ppc.sh (.tocbss): Use new section alignment scheme.
(.got, .toc1, .opd): Likewise.

19 years ago * ldlang.c (lang_size_sections_1): Revert 2005-11-16 functional
Alan Modra [Fri, 18 Nov 2005 04:12:27 +0000 (04:12 +0000)]
* ldlang.c (lang_size_sections_1): Revert 2005-11-16 functional
changes to section alignment.
* ldmisc.c (vfinfo): Handle %ld and %lu.

19 years ago * elf64-hppa.c (elf64_hppa_object_p): Recognize corefiles under
Dave Anglin [Fri, 18 Nov 2005 00:48:50 +0000 (00:48 +0000)]
* 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.

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

19 years ago2005-11-17 Andrew Haley <aph@redhat.com>
Andrew Haley [Thu, 17 Nov 2005 16:58:27 +0000 (16:58 +0000)]
2005-11-17  Andrew Haley  <aph@redhat.com>

        * cxxfilt.c (main): Flush ouput at newline.

19 years ago* config/tc-ppc.c (ppc_frob_file_before_adjust): Do not reference
Alexandre Oliva [Thu, 17 Nov 2005 13:32:27 +0000 (13:32 +0000)]
* config/tc-ppc.c (ppc_frob_file_before_adjust): Do not reference
dotname.
* write.c (write_object_file): Do not remove used weakrefd.

19 years agogas/
Jan Beulich [Thu, 17 Nov 2005 08:33:36 +0000 (08:33 +0000)]
gas/
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.

19 years agogas/
Jan Beulich [Thu, 17 Nov 2005 07:29:28 +0000 (07:29 +0000)]
gas/
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.

gas/testsuite/
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.

19 years ago * ld-mmix/sec-1.d: Adjust section order for recent ELF section
Hans-Peter Nilsson [Thu, 17 Nov 2005 02:01:14 +0000 (02:01 +0000)]
* ld-mmix/sec-1.d: Adjust section order for recent ELF section
rearrangement.

19 years ago * doc/binutils.texi: Include config.texi and @file documentation
Mark Mitchell [Thu, 17 Nov 2005 01:01:05 +0000 (01:01 +0000)]
* doc/binutils.texi: Include config.texi and @file documentation
for manual pages.

* Makefile.am (gprof.info, gprof.1): Depend on config.texi.
(config.texi): New file.
* Makefile.in: Regenerated.

* 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.

19 years ago * ldlang.h (lang_input_section_type): Remove "ifile" field.
Alan Modra [Thu, 17 Nov 2005 00:10:05 +0000 (00:10 +0000)]
* 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.

19 years agodaily update
Alan Modra [Wed, 16 Nov 2005 23:00:06 +0000 (23:00 +0000)]
daily update

19 years ago * gas/all/weakref1.s: Use "=" instead of ".set" for equivalence.
Richard Henderson [Wed, 16 Nov 2005 22:00:31 +0000 (22:00 +0000)]
    * gas/all/weakref1.s: Use "=" instead of ".set" for equivalence.

19 years ago * ldlang.h (lang_output_section_statement_type): Add prev.
Alan Modra [Wed, 16 Nov 2005 08:32:54 +0000 (08:32 +0000)]
* 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.