OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
14 years ago From Bernd Schmidt <bernd.schmidt@analog.com>
Jie Zhang [Wed, 2 Sep 2009 07:30:34 +0000 (07:30 +0000)]
From  Bernd Schmidt  <bernd.schmidt@analog.com>
* config/gas/bfin-parse.y (asm_1): Clean up and unify error handling
for load and store insns.
(neg_value): Delete function.

testsuite/
From  Bernd Schmidt  <bernd.schmidt@analog.com>
* gas/bfin/expected_errors.l, gas/bfin/expected_errors.s:
Check error messages for invalid load/store insns.

14 years agoupdate copyright dates
Alan Modra [Wed, 2 Sep 2009 07:25:43 +0000 (07:25 +0000)]
update copyright dates

14 years ago2009-09-02 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Wed, 2 Sep 2009 07:05:02 +0000 (07:05 +0000)]
2009-09-02  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl (AWK): Fix typo.
* Makefile.in: Regenerate.

2009-09-02  Paolo Bonzini  <bonzini@gnu.org>

* configure.ac: Detect awk and sed.
* Makefile.def (flags_to_pass): Add AWK and SED.
* Makefile.tpl (AWK, SED): New.
(BASE_FLAGS_TO_PASS): Add AWK and SED.
* configure: Regenerate.
* Makefile.in: Regenerate.

14 years agosplit changelog
Alan Modra [Wed, 2 Sep 2009 04:47:29 +0000 (04:47 +0000)]
split changelog

14 years ago[cgen]
DJ Delorie [Wed, 2 Sep 2009 02:10:36 +0000 (02:10 +0000)]
[cgen]
* cpu/mep.opc (parse_signed16_range): Mark as potentially unused.
(parse_unsigned16_range): Likewise.
(mep_cgen_insn_supported_asm): Make BSR12 check dependent on VLIW
isa.

[opcodes]
* mep-asm.c: Regenerate.
* mep-desc.c: Regenerate.
* mep-opc.c: Regenerate.

14 years agodaily update
Alan Modra [Wed, 2 Sep 2009 00:00:04 +0000 (00:00 +0000)]
daily update

14 years ago2009-09-01 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 1 Sep 2009 23:59:10 +0000 (23:59 +0000)]
2009-09-01  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/att-regs.s: Add ymm tests for 16bit and 64bit.
* gas/i386/intel-regs.s: Likewise.

* gas/i386/att-regs.d: Updated.
* gas/i386/intel-regs.d: Likewise.

14 years agoadd missing pr number
Alan Modra [Tue, 1 Sep 2009 23:55:05 +0000 (23:55 +0000)]
add missing pr number

14 years ago2009-09-01 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 1 Sep 2009 23:17:45 +0000 (23:17 +0000)]
2009-09-01  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/att-regs.s: Remove a tab.

14 years ago2009-09-01 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 1 Sep 2009 21:27:47 +0000 (21:27 +0000)]
2009-09-01  H.J. Lu  <hongjiu.lu@intel.com>

* elf64-x86-64.c (elf64_x86_64_finish_dynamic_symbol): Declare
plt earlier.

14 years agoFix VPATH search for generated sources in binutils, gas, ld.
Ralf Wildenhues [Tue, 1 Sep 2009 20:56:51 +0000 (20:56 +0000)]
Fix VPATH search for generated sources in binutils, gas, ld.

binutils/:
* Makefile.am (arparse.o, arlex.o, sysroff.o, defparse.o)
(deflex.o, nlmheaders.o, rcparse.o, mcparse.o): Supply correct
source file name for generated files which may be in $(srcdir).
* Makefile.in: Regenerate.

gas/:
* Makefile.am (m68k-parse.o, bfin-lex.o, itbl-lex.o, itbl-parse.o):
Supply correct source file name for generated files which may be
in $(srcdir).
* Makefile.in: Regenerate.

ld/:
* Makefile.am (ldgram.o, ldlex.o, deffilep.o): Supply correct
source file name for generated files which may be in $(srcdir).
* Makefile.in: Regenerate.

14 years agoChange to "Copyright 2009".
H.J. Lu [Tue, 1 Sep 2009 19:30:28 +0000 (19:30 +0000)]
Change to "Copyright 2009".

14 years ago * gold.cc: Include "incremental.h".
Ian Lance Taylor [Tue, 1 Sep 2009 17:32:35 +0000 (17:32 +0000)]
* gold.cc: Include "incremental.h".
(queue_initial_tasks): Call Incremental_checker methods.
* incremental.cc: Include "output.h".
(Incremental_checker::can_incrementally_link_output_file): New
method.
* incremental.h (Incremental_checker): New class.

14 years ago * output.cc (Output_file::open_for_modification): New method.
Ian Lance Taylor [Tue, 1 Sep 2009 17:32:20 +0000 (17:32 +0000)]
* output.cc (Output_file::open_for_modification): New method.
(Output_file::map_anonymous): Changed return type to bool.  Record
map in base_ field.
(Output_file::map_no_anonymous): New method, broken out of map.
(Output_file::map): Use map_no_anonymous and map_anonymous.
* output.h (class Output_file): Update declarations.

14 years agomerge from gcc
DJ Delorie [Tue, 1 Sep 2009 14:27:38 +0000 (14:27 +0000)]
merge from gcc

14 years ago2009-09-01 Tristan Gingold <gingold@adacore.com> cgen-snapshot-20090901
Tristan Gingold [Tue, 1 Sep 2009 13:38:26 +0000 (13:38 +0000)]
2009-09-01  Tristan Gingold  <gingold@adacore.com>

* makefile.vms: Adjust include pathes.  Remove useless vaxctrl
library.
* configure.com: Ported to Itanium VMS.  Create build.com DCL script.
Make edit silent.

14 years ago2009-09-01 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Tue, 1 Sep 2009 13:16:53 +0000 (13:16 +0000)]
2009-09-01  Tristan Gingold  <gingold@adacore.com>

* makefile.vms: Ported to Itanium VMS.  Remove useless targets and
dependencies.  Remove unused FORMAT variable.
* configure.com: New file to create build.com DCL script for
Itanium VMS or Alpha VMS.

14 years ago2009-09-01 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Tue, 1 Sep 2009 13:10:45 +0000 (13:10 +0000)]
2009-09-01  Tristan Gingold  <gingold@adacore.com>

* makefile.vms: Ported to Itanium VMS.  Remove useless variable and
dependencies.  Reindent.
* configure.com: Ported to Itanium VMS.  Now generates a build.com
to build without make.  Add messages but make edit silent.
* hosts/alphavms.h: Add a prototype for stpcpy.
* vms.c: Add a missing include for Alpha VMS.
* elfxx-ia64.c (ELF_OSABI): Define for OpenVMS.

14 years ago * config/bfin-parse.y (asm_1): Only PREG and DREG are allowed
Jie Zhang [Tue, 1 Sep 2009 07:21:42 +0000 (07:21 +0000)]
* config/bfin-parse.y (asm_1): Only PREG and DREG are allowed
in comparison.

testsuite/
* gas/bfin/expected_comparison_errors.s: Add more cases.
* gas/bfin/expected_comparison_errors.l: Update accordingly.

14 years ago 2007-09-28 Bernd Schmidt <bernd.schmidt@analog.com>
Jie Zhang [Tue, 1 Sep 2009 05:56:30 +0000 (05:56 +0000)]
2007-09-28  Bernd Schmidt  <bernd.schmidt@analog.com>
* config/tc-bfin.c (bfin_fix_adjustable): Partially revert the
2007-08-23 change; BFD_RELOC_BFIN_GOT is not adjustable.

2007-08-23  Jie Zhang  <jie.zhang@analog.com>
* config/tc-bfin.c (bfin_fix_adjustable): Adjust
BFD_RELOC_BFIN_GOT, BFD_RELOC_BFIN_GOT17M4 and
BFD_RELOC_BFIN_FUNCDESC_GOT17M4.

14 years ago * scripttempl/elf.sc: Add ${USER_LABEL_PREFIX} to _start, etext,
Jie Zhang [Tue, 1 Sep 2009 02:54:10 +0000 (02:54 +0000)]
* scripttempl/elf.sc: Add ${USER_LABEL_PREFIX} to _start, etext,
_stack and __bss_start.
* emulparams/bfin.sh (ENTRY): Remove.

14 years ago * read.c (TC_START_LABEL): Add a new argument.
Jie Zhang [Tue, 1 Sep 2009 00:24:02 +0000 (00:24 +0000)]
* read.c (TC_START_LABEL): Add a new argument.
(read_a_source_file): Pass the beginning of the symbol through
the new argument of TC_START_LABEL.
* config/tc-arm.h (TC_START_LABEL): Add a new argument.
* config/tc-bfin.c (bfin_start_label): Only search '(' and '['
from the beginning of the symbol.
* config/tc-bfin.h (TC_START_LABEL): Add the new argument.
* config/tc-d30v.h (TC_START_LABEL): Likewise.
* config/tc-fr30.h (TC_START_LABEL): Likewise.
* config/tc-m32c.h (TC_START_LABEL): Likewise.
* config/tc-m32r.h (TC_START_LABEL): Likewise.
* config/tc-mep.h (TC_START_LABEL): Likewise.

testsuite/
* gas/bfin/stack2.s: Add pop multiple instruction with a label
on the same line.
* gas/bfin/stack2.d: Adjust accordingly.

14 years agodaily update
Alan Modra [Tue, 1 Sep 2009 00:00:08 +0000 (00:00 +0000)]
daily update

14 years agomerge from gcc
DJ Delorie [Mon, 31 Aug 2009 23:24:07 +0000 (23:24 +0000)]
merge from gcc

14 years ago2009-08-31 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 31 Aug 2009 18:45:26 +0000 (18:45 +0000)]
2009-08-31  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/10570
* write.c (write_object_file): Revert the accidental change
made in revision 1.124 on 2009-08-17.

14 years ago * ltmain.sh (func_normal_abspath): New function.
Dave Korn [Mon, 31 Aug 2009 16:59:32 +0000 (16:59 +0000)]
* ltmain.sh (func_normal_abspath): New function.
(func_relative_path): Likewise.
(func_mode_help): Document new -bindir option for link mode.
(func_mode_link): Add new -bindir option, and use it to place
output DLL if specified.

14 years agobfd/
Jan Beulich [Mon, 31 Aug 2009 12:02:36 +0000 (12:02 +0000)]
bfd/
2009-08-31  Jan Beulich  <jbeulich@novell.com>

* elf-bfd.h (bfd_elf_get_default_section_type): Declare.
* elf.c (bfd_elf_get_default_section_type): New.
(elf_fake_sections): Use bfd_elf_get_default_section_type.

gas/
2009-08-31  Jan Beulich  <jbeulich@novell.com>

* config/obj-elf.c (obj_elf_change_section): Set default type
by calling bfd_elf_get_default_section_type.

gas/testsuite/
2009-08-31  Jan Beulich  <jbeulich@novell.com>

* gas/elf/section5.l: Remove no longer issued warning pattern.

14 years ago * lib/ld-lib.exp (is_elf_format): Return 1 for bfin-*-uclinux.
Jie Zhang [Mon, 31 Aug 2009 11:02:54 +0000 (11:02 +0000)]
* lib/ld-lib.exp (is_elf_format): Return 1 for bfin-*-uclinux.

14 years ago * config/bfin-aux.h: Change format from DOS to UNIX.
Jie Zhang [Mon, 31 Aug 2009 10:12:26 +0000 (10:12 +0000)]
* config/bfin-aux.h: Change format from DOS to UNIX.

14 years ago * ld-ifunc/ifunc.exp: Match R_PPC64_JUMP_IREL.
Alan Modra [Mon, 31 Aug 2009 06:18:17 +0000 (06:18 +0000)]
* ld-ifunc/ifunc.exp: Match R_PPC64_JUMP_IREL.

14 years agodaily update
Alan Modra [Mon, 31 Aug 2009 00:00:04 +0000 (00:00 +0000)]
daily update

14 years ago2009-08-30 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sun, 30 Aug 2009 18:31:53 +0000 (18:31 +0000)]
2009-08-30  H.J. Lu  <hongjiu.lu@intel.com>

* elf32-i386.c (elf_i386_finish_dynamic_symbol): Revert the
accidental checkin.
* elf64-x86-64.c (elf64_x86_64_finish_dynamic_symbol): Likwise.

14 years ago PR ld/10569
Alan Modra [Sun, 30 Aug 2009 05:48:56 +0000 (05:48 +0000)]
PR ld/10569
* ld-elf/commonpage2.d: New.
* ld-elf/maxpage4.d: Likewise.
* ld-elf/maxpage4.t: Likewise.

14 years ago PR ld/10569
Alan Modra [Sun, 30 Aug 2009 05:47:43 +0000 (05:47 +0000)]
PR ld/10569
* ldexp.c (fold_name <MAXPAGESIZE>): Return config.maxpagesize.
(fold_name <COMMONPAGESIZE>): Similarly.
* ldlang.c (output_target): Make global.
* ldlang.h (output_target): Declare.
* ldmain.c (main): Set config.maxpagesize from bfd_emul_get_maxpagesize.
Similarly for config.commonpagesize.
* ldemul.c (set_output_arch_default): Call bfd_emul_set_maxpagesize
and bfd_emul_set_commonpagesize.
* emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Don't call
bfd_emul_set_maxpagesize or bfd_emul_set_commonpagesize here.

14 years ago PR ld/10569
Alan Modra [Sun, 30 Aug 2009 05:46:27 +0000 (05:46 +0000)]
PR ld/10569
* bfd.c (bfd_emul_get_maxpagesize): Don't abort.
(bfd_emul_get_commonpagesize): Likewise.

14 years agodaily update
Alan Modra [Sun, 30 Aug 2009 00:00:05 +0000 (00:00 +0000)]
daily update

14 years ago Updated sources to avoid using the identifier name "new", which is a
Nick Clifton [Sat, 29 Aug 2009 22:11:02 +0000 (22:11 +0000)]
    Updated sources to avoid using the identifier name "new", which is a
        keyword in c++.

        * bfd/aoutx.h (NAME (aout, make_empty_symbol)): Rename variable
        new to new_symbol.
        * bfd/coffgen.c (coff_make_empty_symbol)
        (coff_bfd_make_debug_symbol): Rename variable new to new_symbol.
        * bfd/cpu-ia64-opc.c (ext_reg, ins_imms_scaled): Rename variable
        new to new_insn.
        * bfd/doc/chew.c (newentry, add_intrinsic): Rename variable new to
        new_d.
        * bfd/ecoff.c (_bfd_ecoff_make_empty_symbol): Rename variable new
        to new_symbol.
        * bfd/elf32-m68k.c (elf_m68k_get_got_entry_type): Rename argument
        new to new_reloc.
        * bfd/hash.c (bfd_hash_lookup): Rename variable new to new_string.
        * bfd/ieee.c (ieee_make_empty_symbol): Rename variable new to
        new_symbol.
        * bfd/linker.c (bfd_new_link_order): Rename variable new to
        new_lo.
        * bfd/mach-o.c (bfd_mach_o_sizeof_headers): Rename variable new to
        symbol.
        * bfd/oasys.c (oasys_make_empty_symbol): Rename variable new to
        new_symbol_type.
        * bfd/pdp11.c (NAME (aout, make_empty_symbol)): Rename variable
        new to new_symbol_type.
        * bfd/plugin.c (bfd_plugin_make_empty_symbol): Rename variable new
        to new_symbol.
        * bfd/rs6000-core.c (CoreHdr, VmInfo): Rename union member new to
        new_dump.
        (read_hdr, rs6000coff_core_p)
        (rs6000coff_core_file_matches_executable_p)
        (rs6000coff_core_file_failing_command)
        (rs6000coff_core_file_failing_signal): Updated function to use new
        union member name.
        * bfd/som.c (som_make_empty_symbol): Rename variable new to
        new_symbol_type.
        * bfd/syms.c (_bfd_generic_make_empty_symbol): Rename variable new
        to new_symbol.
        * bfd/tekhex.c (first_phase, tekhex_make_empty_symbol): Rename
        variable new to new_symbol.
        * binutils/nlmconv.c (main): Rename variable new to new_name.
        * gas/config/tc-arm.c (insert_reg_alias): Rename variable new to
        new_reg.
        * gas/config/tc-dlx.c (parse_operand): Rename variable new to
        new_pos.
        * gas/config/tc-ia64.c (ia64_gen_real_reloc_type): Rename variable
        new to newr.
        * gas/config/tc-mcore.c (parse_exp, parse_imm): Rename variable
        new to new_pointer.
        * gas/config/tc-microblaze.c (parse_exp, parse_imm, check_got):
        Change name from new to new_pointer.
        * gas/config/tc-or32.c (parse_operand): Rename variable new to
        new_pointer.
        * gas/config/tc-pdp11.c (md_assemble): Rename variable new to
        new_pointer.
        * gas/config/tc-pj.c (alias): Change argument new to new_name.
        * gas/config/tc-score.c (s3_build_score_ops_hsh): Rename variable
        new to new_opcode. (s3_build_dependency_insn_hsh) Rename variable
        new to new_i2n. (s3_convert): Rename variables old and new to
        r_old and r_new.
        * gas/config/tc-score7.c (s7_build_score_ops_hsh): Rename variable
        new to new_opcode. (s7_build_dependency_insn_hsh): Rename variable
        new to new_i2d. (s7_b32_relax_to_b16, s7_convert_frag): Rename
        variables old and new to r_old and r_new.
        * gas/config/tc-sh.c (parse_exp): Rename variable new to
        new_pointer.
        * gas/config/tc-sh64.c (shmedia_parse_exp): Rename variable new to
        new_pointer.
        * gas/config/tc-tic4x.c (tic4x_operand_parse): Rename variable new
        to new_pointer.
        * gas/config/tc-z8k.c (parse_exp): Rename variable new to
        new_pointer.
        * gas/listing.c (listing_newline): Rename variable new to new_i.
        * ld/ldexp.c (exp_intop, exp_bigintop, exp_relop, exp_binop)
        (exp_trinop, exp_unop, exp_nameop, exp_assop): Rename variable new
        to new_e.
        * ld/ldfile.c (ldfile_add_library_path): Rename variable new to
        new_dirs. (ldfile_add_arch): Rename variable new to new_arch.
        * ld/ldlang.c (new_statement, lang_final, lang_add_wild)
        (lang_target, lang_add_fill, lang_add_data, lang_add_assignment)
        (lang_add_insert): Rename variable new to new_stmt. (new_afile):
        Added missing cast. (lang_memory_region_lookup): Rename variable
        new to new_region. (init_os): Rename variable new to
        new_userdata. (lang_add_section): Rename variable new to
        new_section. (ldlang_add_undef): Rename variable new to
        new_undef. (realsymbol): Rename variable new to new_name.
        * opcodes/z8kgen.c (internal, gas): Rename variable new to new_op.

        Updated sources to avoid using the identifier name "template",
        which is a keyword in c++.

        * bfd/elf32-arm.c (struct stub_def): Rename member template to
        template_sequence. (arm_build_one_stub,
        find_stub_size_and_template, arm_size_one_stub, arm_map_one_stub):
        Rename variable template to template_sequence.
        * bfd/elfxx-ia64.c (elfNN_ia64_relax_br, elfNN_ia64_relax_brl):
        Rename variable template to template_val.
        * gas/config/tc-arm.c (struct asm_cond, struct asm_psr, struct
        asm_barrier_opt): Change member template to
        template_name. (md_begin): Update code to reflect new member
        names.
        * gas/config/tc-i386.c (struct templates, struct _i386_insn)
        (match_template, cpu_flags_match, match_reg_size, match_mem_size)
        (operand_size_match, md_begin, i386_print_statistics, pi)
        (build_vex_prefix, md_assemble, parse_insn, optimize_imm)
        (optimize_disp): Updated code to use new names. (parse_insn):
        Added casts.
        * gas/config/tc-ia64.c (dot_template, emit_one_bundle): Updated
        code to use new names.
        * gas/config/tc-score.c (struct s3_asm_opcode): Renamed member
        template to template_name. (s3_parse_16_32_inst, s3_parse_48_inst,
        s3_do_macro_ldst_label, s3_build_score_ops_hsh): Update code to
        use new names.
        * gas/config/tc-score7.c (struct s7_asm_opcode): Renamed member
        template to template_name. (s7_parse_16_32_inst,
        s7_do_macro_ldst_label, s7_build_score_ops_hsh): Update code to
        use new names.
        * gas/config/tc-tic30.c (md_begin, struct tic30_insn)
        (md_assemble): Update code to use new names.
        * gas/config/tc-tic54x.c (struct _tic54x_insn, md_begin)
        (optimize_insn, tic54x_parse_insn, next_line_shows_parallel):
        Update code to use new names.
        * include/opcode/tic30.h (template): Rename type template to
        insn_template. Updated code to use new name.
        * include/opcode/tic54x.h (template): Rename type template to
        insn_template.
        * opcodes/cris-dis.c (bytes_to_skip): Update code to use new name.
        * opcodes/i386-dis.c (putop): Update code to use new name.
        * opcodes/i386-gen.c (process_i386_opcodes): Update code to use
        new name.
        * opcodes/i386-opc.h (struct template): Rename struct template to
        insn_template. Update code accordingly.
        * opcodes/i386-tbl.h (i386_optab): Update type to use new name.
        * opcodes/ia64-dis.c (print_insn_ia64): Rename variable template
        to template_val.
        * opcodes/tic30-dis.c (struct instruction, get_tic30_instruction):
        Update code to use new name.
        * opcodes/tic54x-dis.c (has_lkaddr, get_insn_size)
        (print_parallel_instruction, print_insn_tic54x, tic54x_get_insn):
        Update code to use new name.
        * opcodes/tic54x-opc.c (tic54x_unknown_opcode, tic54x_optab):
        Update type to new name.

14 years ago * config/tc-sh.c (md_apply_fix): Extend sign of the offset value
Kaz Kojima [Sat, 29 Aug 2009 10:38:33 +0000 (10:38 +0000)]
* config/tc-sh.c (md_apply_fix): Extend sign of the offset value
for 64-bit host.
* gas/sh/sign-extension.d: New file.
* gas/sh/sign-extension.s: New file.
* gas/sh/basic.exp: Run new test.

14 years agobinutils/
H.J. Lu [Sat, 29 Aug 2009 00:41:25 +0000 (00:41 +0000)]
binutils/

2009-08-28  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am (sysinfo$(EXEEXT_FOR_BUILD)): Replace
CFLAGS/LDFLAGS with CFLAGS_FOR_BUILD/LDFLAGS_FOR_BUILD.
(syslex.o): Likewise.
(sysinfo.o): Likewise.
(bin2c$(EXEEXT_FOR_BUILD)): Likewise.
* Makefile.in: Regenerated.

opcodes/

2009-08-28  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am (COMPILE_FOR_BUILD): Remove BUILD_CPPFLAGS.
Replace BUILD_CFLAGS with CFLAGS_FOR_BUILD.
(LINK_FOR_BUILD): Replace BUILD_CFLAGS/BUILD_LDFLAGS with
CFLAGS_FOR_BUILD/LDFLAGS_FOR_BUILD.
* Makefile.in: Regenerated.

14 years agodaily update
Alan Modra [Sat, 29 Aug 2009 00:00:05 +0000 (00:00 +0000)]
daily update

14 years agogas/
H.J. Lu [Fri, 28 Aug 2009 21:42:16 +0000 (21:42 +0000)]
gas/

2009-08-28  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (cpu_arch): Use PROCESSOR_L1OM on "l1om".
(i386_align_code): Handle PROCESSOR_L1OM.
(check_cpu_arch_compatible): Fix a typo in comments.
(set_cpu_arch): Check cpu_arch_isa instead of
cpu_arch_isa_flags.bitfield.cpul1om.
(i386_mach): Likewise.
(i386_target_format): Likewise.

* config/tc-i386.h (processor_type): Add PROCESSOR_L1OM.

gas/testsuite/

2009-08-28  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/l1om.d: Check elf64-l1om format.

14 years agodaily update
Alan Modra [Fri, 28 Aug 2009 00:00:05 +0000 (00:00 +0000)]
daily update

14 years ago * doc/binutils.texi (--only-keep-debug): Relocate stray para here ...
Dave Korn [Thu, 27 Aug 2009 14:58:08 +0000 (14:58 +0000)]
* doc/binutils.texi (--only-keep-debug): Relocate stray para here ...
(--subsystem): ... from here.

14 years agoPR ld/10518
Alan Modra [Thu, 27 Aug 2009 13:56:55 +0000 (13:56 +0000)]
PR ld/10518
correct changelog pr number (was 10515)

14 years agoDo not create $(bfdlibdir) and $(bfdincludedir) if !INSTALL_LIBBFD.
Ralf Wildenhues [Thu, 27 Aug 2009 05:24:43 +0000 (05:24 +0000)]
Do not create $(bfdlibdir) and $(bfdincludedir) if !INSTALL_LIBBFD.

opcodes/:
* Makefile.am (bfdlibdir, bfdincludedir): Move definition ...
[INSTALL_LIBBFD]: ... here, ...
[INSTALL_LIBBFD]: ... and empty overrides here.
[!INSTALL_LIBBFD]: (rpath_bfdlibdir): New variable.
[!INSTALL_LIBBFD] (libbfd_la_LDFLAGS): Use it.
* Makefile.in: Regenerate.
* configure: Regenerate.

bfd/:
* acinclude.m4 (AM_INSTALL_LIBBFD): Call AM_SUBST_NOTMAKE for
bfdlibdir and bfdincludedir.
* Makefile.am (bfdlibdir, bfdincludedir): Move definition ...
[INSTALL_LIBBFD]: ... here, ...
[INSTALL_LIBBFD]: ... and empty overrides here.
[!INSTALL_LIBBFD]: (rpath_bfdlibdir): New variable.
[!INSTALL_LIBBFD] (libbfd_la_LDFLAGS): Use it.
* Makefile.in: Regenerate.
* configure: Regenerate.

bfd/doc/:
* Makefile.in: Regenerate.

14 years agodaily update
Alan Modra [Thu, 27 Aug 2009 00:00:05 +0000 (00:00 +0000)]
daily update

14 years ago* config/tc-mep.c (md_pcrel_from_section): Handle any other
DJ Delorie [Wed, 26 Aug 2009 23:28:12 +0000 (23:28 +0000)]
* config/tc-mep.c (md_pcrel_from_section): Handle any other
forced-relocation cases.

14 years agomoxie fixes in gas.
Ralf Wildenhues [Wed, 26 Aug 2009 18:27:36 +0000 (18:27 +0000)]
moxie fixes in gas.

gas/:
* Makefile.am (TARGET_CPU_CFILES): Add config/tc-moxie.c.
* config/tc-moxie.c (md_assemble): Fix typos in strings.  Fix
syntax error.
* Makefile.in: Regenerate.
* po/POTFILES.in: Likewise.
* po/gas.pot: Likewise.

14 years ago * elf32-m68k.c: Rewrite initialization of GOT entries for TLS
Nick Clifton [Wed, 26 Aug 2009 13:42:27 +0000 (13:42 +0000)]
    * elf32-m68k.c: Rewrite initialization of GOT entries for TLS
        relocations.  Rewrite output of dynamic TLS relocations.
        (DTP_OFFSET, TP_OFFSET): New constants.
        (dtpoff_base): Update.
        (tpoff): Rename to tpoff_base, update.
        (elf_m68k_init_got_entry_static, elf_m68k_init_got_entry_local_shared):
        New functions.  Move code from elf_m68k_relocate_section here.
        (elf_m68k_relocate_section): Update.
        (elf_m68k_finish_dynamic_symbol): Fix handling of local TLS symbols.

14 years ago * elf32-m68k.c (elf_m68k_copy_indirect_symbol): Propagate non_got_ref
Nick Clifton [Wed, 26 Aug 2009 13:35:37 +0000 (13:35 +0000)]
    * elf32-m68k.c (elf_m68k_copy_indirect_symbol): Propagate non_got_ref
        value.
        (elf_m68k_check_relocs): Handle dynamic TLS relocations.
        Handle non_got_ref field.
        (elf_m68k_adjust_dynamic_symbol): Handle non_got_ref field.

        * tls-def-1.s, tls-def-1.d, tls-gd-1.d2, tls-gd-1.d3, tls-main-1.s,
        * tls-main-1.d: New files.
        * m68k.exp: Run new TLS tests.

14 years ago * m68k-dis.c (print_insn_arg): Add movecr register names for
Nick Clifton [Wed, 26 Aug 2009 13:16:29 +0000 (13:16 +0000)]
    * m68k-dis.c (print_insn_arg): Add movecr register names for
        coldfire v4e families.

14 years ago PR ld/10555
Nick Clifton [Wed, 26 Aug 2009 13:08:07 +0000 (13:08 +0000)]
    PR ld/10555
        * emultempl/elf32.em (_after_open): Do not create a
        .note.gnu-build-id section if there are no input files.

14 years ago * config/obj-coff-seh.c (seh_arm_write_pdata): Test for
Nick Clifton [Wed, 26 Aug 2009 08:26:53 +0000 (08:26 +0000)]
    * config/obj-coff-seh.c (seh_arm_write_pdata): Test for
        seh_ctx_root being NULL.

14 years ago PR ld/10515
Alan Modra [Wed, 26 Aug 2009 04:33:42 +0000 (04:33 +0000)]
PR ld/10515
* linker.c (bfd_find_version_for_sym): Revert warning.

14 years ago PR ld/10515
Alan Modra [Wed, 26 Aug 2009 01:21:56 +0000 (01:21 +0000)]
PR ld/10515
* linker.c (bfd_find_version_for_sym): Override a "*" match by any
other wildcard match.  Warn on multiple wildcard matches.

14 years agodaily update
Alan Modra [Wed, 26 Aug 2009 00:00:05 +0000 (00:00 +0000)]
daily update

14 years agoBuild cleanups in opcodes: cross-compilation and generators.
Ralf Wildenhues [Tue, 25 Aug 2009 03:13:44 +0000 (03:13 +0000)]
Build cleanups in opcodes: cross-compilation and generators.

opcodes/:
* Makefile.am (SUBDIRS): Build '.' before 'po'.
(COMPILE_FOR_BUILD, LINK_FOR_BUILD, BUILD_LIBIBERTY)
(MOSTLYCLEANFILES, MAINTAINERCLEANFILES): New variables.
(i386-gen$(EXEEXT_FOR_BUILD)): Renamed from i386-gen, rewrite
using *BUILD variables, depend upon $(BUILD_LIBIBERTY).
(i386-gen.o): New rule.
($(srcdir)/i386-init.h): Adjust.
(i386-opc.lo): Depend on $(srcdir)/i386-tbl.h.
(ia64-gen$(EXEEXT_FOR_BUILD)): Rename from ia64-gen, adjust likewise.
(ia64-gen.o): New rule.
(ia64_asmtab_deps): New variable.
($(srcdir)/ia64-asmtab.c): Use it; adjust likewise.
(ia64-opc.lo): Depend on $(srcdir)/ia64-asmtab.c.
(s390-mkopc$(EXEEXT_FOR_BUILD)): Rename from s390-mkopc, adjust
likewise.
(s390-opc.tab): Adjust.
(z8kgen$(EXEEXT_FOR_BUILD), z8kgen.o, $(srcdir)/z8k-opc.h): New
rules.
(z8k-dis.lo): Depend on $(srcdir)/z8k-opc.h.
* Makefile.in: Regenerate.
* z8kgen.c (gas): Avoid '/*' in comment.
* z8k-opc.h (func): Regenerate.

14 years ago * options.h (Command_line::Pre_options): New class.
Cary Coutant [Tue, 25 Aug 2009 01:10:48 +0000 (01:10 +0000)]
* options.h (Command_line::Pre_options): New class.
(Command_line::pre_options): New member.
* options.cc (gold::options::ready_to_register): New variable.
(One_option::register_option): Do nothing if not registering options.
Assert if same short option registered twice.
(General_options::General_options): Turn off option registration when
done constructing.
(Command_line::Pre_options::Pre_options): New constructor.

14 years agodaily update
Alan Modra [Tue, 25 Aug 2009 00:00:04 +0000 (00:00 +0000)]
daily update

14 years agoFixed typo in ChangeLog.
Cary Coutant [Mon, 24 Aug 2009 23:33:33 +0000 (23:33 +0000)]
Fixed typo in ChangeLog.

14 years ago (General_options::no_keep_memory): Remove incorrect short option.
Cary Coutant [Mon, 24 Aug 2009 23:31:45 +0000 (23:31 +0000)]
(General_options::no_keep_memory): Remove incorrect short option.

14 years agoSync from GCC: Update AC_PREREQ entries to 2.64.
Ralf Wildenhues [Mon, 24 Aug 2009 19:12:57 +0000 (19:12 +0000)]
Sync from GCC: Update AC_PREREQ entries to 2.64.

/:
* configure.ac (AC_PREREQ): Bump to 2.64.

intl/:
* configure.ac (AC_PREREQ): Bump to 2.64.

libdecnumber/:
* configure.ac (AC_PREREQ): Bump to 2.64.

libiberty/:
* configure.ac (AC_PREREQ): Bump to 2.64.

14 years agoMore build fixes in opcodes
Ralf Wildenhues [Mon, 24 Aug 2009 19:05:01 +0000 (19:05 +0000)]
More build fixes in opcodes

opcodes/:
* Makefile.am (TARGET_LIBOPCODES_CFILES): New variable, taken
from $(CFILES), sorted, with dis-buf.c, dis-init.c, disassemble.c,
i386-gen.c, ia64-opc-a.c, ia64-opc-b.c, ia64-opc-f.c, ia64-opc-i.c,
ia64-opc-m.c, ia64-opc-d.c, ia64-gen.c, ia64-asmtab.c removed, and
msp430-dis.c added.
(LIBOPCODES_CFILES): New variable, adding to
TARGET_LIBOPCODES_CFILES also non-target library sources.
(CFILES): Factorize based on $(LIBOPCODES_CFILES), adding generator
files.
(ALL_MACHINES): Factorize based on $(TARGET_LIBOPCODES_CFILES).
(EXTRA_libopcodes_la_SOURCES): Use $(LIBOPCODES_CFILES).
* Makefile.in: Regenerate.
* po/POTFILES.in: Regenerate.

14 years ago * objdump.c (find_symbol_for_address): Avoid costly call to
Cary Coutant [Mon, 24 Aug 2009 18:43:50 +0000 (18:43 +0000)]
* objdump.c (find_symbol_for_address): Avoid costly call to
bfd_octets_per_byte.

14 years ago * scripttempl/elfxtensa.sc (DISCARDED): Discard sections with
Nick Clifton [Mon, 24 Aug 2009 15:22:59 +0000 (15:22 +0000)]
    * scripttempl/elfxtensa.sc (DISCARDED): Discard sections with
        .gnu.lto_ prefix.
        * scripttempl/armbpabi.sc: Likewise.
        * scripttempl/elf32sh-symbian.sc: Likewise.
        * scripttempl/elf64hppa.sc: Likewise.
        * scripttempl/mep.sc: Likewise.

14 years agodependency tracking fixes in ld
Ralf Wildenhues [Mon, 24 Aug 2009 05:57:44 +0000 (05:57 +0000)]
dependency tracking fixes in ld

ld/:
* Makefile.am (ldmain.o, ldfile.o): Fix typos in non-fastdep
rules.
(eelf32_spu.o): Add dependency tracking.
* Makefile.in: Regenerate.

14 years agoFix yacc and lex reruns with maintainer-mode off.
Ralf Wildenhues [Mon, 24 Aug 2009 05:55:55 +0000 (05:55 +0000)]
Fix yacc and lex reruns with maintainer-mode off.

gas/:
* Makefile.am (am__skiplex, am__skipyacc): New.
* Makefile.in: Regenerate.

ld/:
* Makefile.am (am__skiplex, am__skipyacc): New.
* Makefile.in: Regenerate.

binutils/:
* Makefile.am (am__skiplex, am__skipyacc): New.
* Makefile.in: Regenerate.

gold/:
* Makefile.am (am__skiplex, am__skipyacc): New.
* Makefile.in: Regenerate.

14 years agodaily update
Alan Modra [Mon, 24 Aug 2009 00:00:04 +0000 (00:00 +0000)]
daily update

14 years ago2009-08-23 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sun, 23 Aug 2009 19:03:58 +0000 (19:03 +0000)]
2009-08-23  H.J. Lu  <hongjiu.lu@intel.com>

 PR ld/10536
 * Makefile.in (install-html-recursive): Removed.

14 years ago* ld-powerpc/powerpc.exp: Move relaxing and relocatable relaxing
Andreas Schwab [Sun, 23 Aug 2009 14:38:31 +0000 (14:38 +0000)]
* ld-powerpc/powerpc.exp: Move relaxing and relocatable relaxing
tests from ppc64elftest to ppcelftest and pass -a32 to assembler.

14 years agoMinor dependency fix for syslex.o in binutils.
Ralf Wildenhues [Sun, 23 Aug 2009 10:28:49 +0000 (10:28 +0000)]
Minor dependency fix for syslex.o in binutils.

binutils/:
* Makefile.am (syslex.o): Depend on sysinfo.h config.h.
* Makefile.in: Regenerate.

14 years ago* ld-powerpc/relax.d: Fix whitespace.
Andreas Schwab [Sun, 23 Aug 2009 09:43:35 +0000 (09:43 +0000)]
* ld-powerpc/relax.d: Fix whitespace.
* ld-powerpc/relaxr.d: Likewise.

14 years agodaily update
Alan Modra [Sun, 23 Aug 2009 00:00:05 +0000 (00:00 +0000)]
daily update

14 years agoCleanups in binutils makefiles.
Ralf Wildenhues [Sat, 22 Aug 2009 19:02:57 +0000 (19:02 +0000)]
Cleanups in binutils makefiles.

ld/:
* Makefile.am (bin_PROGRAMS): Renamed from ...
(noinst_PROGRAMS): ... this.
(transform): Override, including the renaming of ld-new to ld.
(install-exec-local): Installation of ld in $(bindir) not needed
here any more.
(AM_CPPFLAGS): Renamed from ...
(INCLUDES): ... this.
(MAINTAINERCLEANFILES): Add ld.1.
* Makefile.in: Regenerate.

gold/:
* Makefile.am (AM_CPPFLAGS): Renamed from ...
(INCLUDES): ... this.
* testsuite/Makefile.am (AUTOMAKE_OPTIONS): Add -Wno-portability.
(AM_CPPFLAGS): Renamed from ...
(INCLUDE): ... this.
* Makefile.in, testsuite/Makefile.in: Regenerate.

bfd/:
* Makefile.am (libbfd_la_LDFLAGS): Initialize early, to allow
appending.
[INSTALL_LIBBFD] (bfdlib_LTLIBRARIES, bfdinclude_HEADERS): Set
only in this condition.
[!INSTALL_LIBBFD] (noinst_LTLIBRARIES, libbfd_la_LDFLAGS): New,
to build but not install libbfd.la in this condition.
(install-bfdlibLTLIBRARIES, uninstall-bfdlibLTLIBRARIES)
(install_libbfd, install_libbfd): Remove.
* Makefile.in: Regenerate.

binutils/:
* Makefile.am (AM_CPPFLAGS): Renamed from ...
(INCLUDES): ... this.
(bin2c$(EXEEXT_FOR_BUILD): Adjust rule.
(installcheck-local): Renamed from ...
(installcheck): ... this.
* Makefile.in: Regenerate.

gas/:
* Makefile.am (YFLAGS): Remove, not needed any more.
(AM_CPPFLAGS): Renamed from ...
(INCLUDES): ... this.
* Makefile.in: Regenerate.

gprof/:
* Makefile.am (AM_CPPFLAGS): Renamed from ...
(INCLUDES): ... this.
* Makefile.in: Regenerate.

opcodes/:
* Makefile.am (libopcodes_la_LDFLAGS): Initialize early.
[INSTALL_LIBBFD] (bfdlib_LTLIBRARIES): Set only in this condition.
[INSTALL_LIBBFD] (bfdinclude_DATA): New.
[!INSTALL_LIBBFD] (noinst_LTLIBRARIES): New.
[!INSTALL_LIBBFD] (libopcodes_la_LDFLAGS): Ensure libopcodes.la
is built shared even if it is not to be installed.
(install-bfdlibLTLIBRARIES,uninstall-bfdlibLTLIBRARIES)
(install_libopcodes, uninstall_libopcodes): Remove.
(AM_CPPFLAGS): Renamed from ...
(INCLUDES): ... this.
* Makefile.in: Regenerate.

14 years agodependency tracking in opcodes
Ralf Wildenhues [Sat, 22 Aug 2009 18:44:58 +0000 (18:44 +0000)]
dependency tracking in opcodes

opcodes/:
* Makefile.am (AUTOMAKE_OPTIONS): Remove 1.9 and cygnus, add
1.11, foreign, no-dist.
(MKDEP, m32c_opc_h): Remove variables.
(disassemble.lo): Rewrite using automake-style dependency
tracking rules; only list the dependency upon the primary source
file, but no included headers.
(m32c-asm.lo, m32c-desc.lo, m32c-dis.lo, m32c-ibld.lo, m32c-opc.lo)
(i386-gen.o, ia64-gen.o): Remove dependency statements.
(EXTRA_libopcodes_la_SOURCES): New variable, list $(CFILES) to
ensure all dependency fragments are included in the Makefile.
(s390-opc.lo): Depend on s390-opc.tab.
(DEP, DEP1, dep.sed, dep, dep-in, dep-am): Remove rules.
(mkdep section): Remove.
* Makefile.in: Regenerate.
* po/POTFILES.in: Regenerate.

14 years agodependency tracking in gprof
Ralf Wildenhues [Sat, 22 Aug 2009 18:37:50 +0000 (18:37 +0000)]
dependency tracking in gprof

gprof/:
* Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add 1.11,
foreign, no-dist, no-texinfo.tex.
(TEXINFO_TEX): New variable.
(MKDEP, CLEANFILES): Remove:
(DEP, DEP1, dep.sed, dep, dep-in, dep-am): Remove rules.
(install-data-local): Remove now-unneeded dependency on
install-info.
(mkdep section): Remove.
* Makefile.in: Regenerate.

14 years agodependency tracking in gas
Ralf Wildenhues [Sat, 22 Aug 2009 18:30:27 +0000 (18:30 +0000)]
dependency tracking in gas

gas/:
* Makefile.am (AUTOMAKE_OPTIONS): Remove 1.8 cygnus, add 1.11,
foreign and no-dist.
(all): Remove now-unneeded dependency upon info.
(DIST_SUBDIRS, MKDEP, DEP_INCLUDES, DEP_FLAGS, CLEANFILES)
(DEP_FILE_DEPS): Remove variables.
(OBJ_FORMAT_CFILES): Add config/obj-multi.c.
(OBJ_FORMAT_HFILES): Add config/obj-multi.h.
($(OBJS), ecoff.o): Remove now-unneeded manual dependencies.
($(TARG_CPU_O), $(ATOF_TARG_O), obj-aout.o, obj-coff.o obj-ecoff.o)
(obj-elf.o obj-evax.o, obj-fdpicelf.o, obj-multi.o, obj-som.o)
(e-mipself.o, e-mipsecoff.o, e-i386aout.o, e-i386coff.o, e-i386elf.o)
(e-crisaout.o, e-criself.o, tc-i386.o, xtensa-relax.o): Remove
now-unneeded rules.
(EXTRA_as_new_SOURCES): Add $(CFILES), $(HFILES), $(TARGET_CPU_CFILES),
$(TARGET_CPU_HFILES), $(OBJ_FORMAT_CFILES), $(OBJ_FORMAT_HFILES),
$(CONFIG_ATOF_CFILES), $(MULTI_CFILES), so their dependency fragments
are picked up in the Makefile.
(itbl-lex.c, itbl-ops.o): Remove manual dependencies.
(m68k-parse.o, bfin-lex.o, itbl-lex.o, itbl-parse.o, itbl-tops.o)
(itbl-test.o): Rewrite using automake-style dependency
tracking rules; only list the dependency upon the primary source
file, but no included headers.
(DEP, DEP1, DEPTC, DEPOBJ, DEP2, dep.sed, dep, dep-in, dep-am):
Remove.
(mkdep section): Remove.
* Makefile.in: Regenerate.
* gas/po/POTFILES.in, gas/po/gas.pot: Regenerate.

14 years agodependency tracking in binutils
Ralf Wildenhues [Sat, 22 Aug 2009 18:18:42 +0000 (18:18 +0000)]
dependency tracking in binutils

binutils/:
* Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add no-dist and
foreign.
(MKDEP, CLEANFILES): Remove now-unneeded variables.
(DEP, DEP1, dep.sed, dep, dep-in, dep-am): Remove.
(mkdep section): Remove.
(BUILT_SOURCES): New variable, list $(GENERATED_HFILES).
(EXTRA_ar_SOURCES): New, list $(CFILES).
(syslex.o): Depend on syslex.c.
(sysinfo.o): Depend on sysinfo.c.
(arparse.h, defparse.h, nlmheaders.h rcparse.h mcparse.h):
Remove dependencies, now tracked by automake.
(srconv.o): Depend on sysroff.c.
(objdump.o, arparse.o, arlex.o, sysroff.o, defparse.o, deflex.o)
(nlmheader.o, rcparse.o, mcparse.o, rclex.o, mclex.o, dlltool.o)
(rescoff.o, nlmconv.o): Rewrite using automake-style dependency
tracking rules; only list the dependency upon the primary source
file, but no included headers.
* Makefile.in: Regenerate.

14 years agodependency tracking in bfd
Ralf Wildenhues [Sat, 22 Aug 2009 18:14:27 +0000 (18:14 +0000)]
dependency tracking in bfd

bfd/:
* Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, instead use
no-dist and foreign.
(EXTRA_libbfd_la_SOURCES): New, list $(CFILES) to allow
dependency tracking to work for them.
(targets.lo, archures.lo, dwarf.lo): Rewrite to
use automake dependency tracking mechanism.
(MKDEP, DEP, DEP1, dep.sed, dep, dep-in, dep-am): Remove.
(mkdep section): Remove.
(BUILT_SOURCES): New, list $(BUILD_HFILES).
* Makefile.in: Regenerate.
* po/SRC-POTFILES.in, po/bfd.pot: Regenerate.

14 years agodependency tracking in ld
Ralf Wildenhues [Sat, 22 Aug 2009 17:59:33 +0000 (17:59 +0000)]
dependency tracking in ld

ld/:
* Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus.  Add
no-texinfo.tex, no-dist, foreign.
(TEXINFO_TEX): New variable.
(install-data-local): Removed, not needed any more.
(all): Dependencies upon info and ld.1 not needed any more.
(MKDEP, DEP, DEP1, dep.sed, dep, dep-in, dep-am): Removed.
(mkdep generated section): Removed.
(ldgram.o, ldlex.o, deffilep.o, ldmain.o, ldfile.o): Rewrite to
use automake dependency tracking mechanism.
(EXTRA_ld_new_SOURCES): Add pep-dll.c, pe-dll.c, and
$(ALL_EMULATIONS:.o=.c) $(ALL_64_EMULATIONS:.o=.c) so their
dependencies are tracked too.
(BUILT_SOURCES): New, list $(GENERATED_HFILES) to ensure they
are built early.
* configure.in: Use AM_MAINTAINER_MODE.
* configure, Makefile.in: Regenerate.

14 years agoCleanups after the update to Autoconf 2.64, Automake 1.11.
Ralf Wildenhues [Sat, 22 Aug 2009 17:08:11 +0000 (17:08 +0000)]
Cleanups after the update to Autoconf 2.64, Automake 1.11.

/:
* README-maintainer-mode: Point directly to upstream locations
for autoconf, automake, libtool, gettext, instead of copies on
sources.redhat.com.  Document required versions.
* configure.ac: Do not substitute datarootdir, htmldir,
pdfdir, docdir.  Do not process --with-datarootdir,
--with-htmldir, --with-pdfdir, --with-docdir.
* configure: Regenerate.

gdb/:
* CONTRIBUTE: Bump documented Autoconf version.
* configure.ac: Do not substitute datarootdir, htmldir,
pdfdir, docdir.  Do not process --with-datarootdir,
--with-htmldir, --with-pdfdir, --with-docdir.
* configure: Regenerate.

gdb/doc/:
* gdbint.texinfo (Releasing GDB): Point to
README-maintainer-mode file for required autoconf version.
* configure.ac: Do not substitute datarootdir, htmldir,
pdfdir, docdir.  Do not process --with-datarootdir,
--with-htmldir, --with-pdfdir, --with-docdir.
* configure: Regenerate.

gprof/:
* Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
(install-pdf-recursive, html__strip_dir, install-html)
(install-html-am, install-html-recursive): Remove.
* Makefile.in: Regenerate.

opcodes/:
* Makefile.am (install-pdf, install-html): Remove.
* Makefile.in: Regenerate.

gas/:
* Makefile.am (install-pdf, install-pdf-recursive, install-html)
(install-html-recursive): Remove.
* Makefile.in: Regenerate.
* doc/Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
(html__strip_dir, install-html, install-html-am): Remove.
* doc/Makefile.in: Regenerate.

ld/:
* Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
(install-pdf-recursive, html__strip_dir, install-html)
(install-html-am, install-html-recursive): Remove.
* Makefile.in: Regenerate.

binutils/:
* Makefile.am (install-pdf, install-pdf-recursive, install-html)
(install-html-recursive): Remove.
* Makefile.in: Regenerate.
* doc/Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
(html__strip_dir, install-html, install-html-am): Remove.
* doc/Makefile.in: Regenerate.

bfd/:
* Makefile.am (datarootdir, docdir, htmldor, pdfdir)
(install-pdf, install-pdf-recursive, install-html)
(install-html-recursive): Remove.
* Makefile.in: Regenerate.

bfd/doc/:
* Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
(html__strip_dir, install-html, install-html-am): Remove.
* Makefile.in: Regenerate.

14 years agoRegenerate tree using Autoconf 2.64 and Automake 1.11.
Ralf Wildenhues [Sat, 22 Aug 2009 16:56:48 +0000 (16:56 +0000)]
Regenerate tree using Autoconf 2.64 and Automake 1.11.

config/:
* override.m4 (_GCC_AUTOCONF_VERSION): Bump to 2.64.

/:
* configure: Regenerate.

etc/:
* configure: Regenerate.

sim/common/:
* config.in: Regenerate.
* configure: Likewise.

sim/iq2000/:
* config.in: Regenerate.
* configure: Likewise.

sim/d10v/:
* config.in: Regenerate.
* configure: Likewise.

sim/igen/:
* config.in: Regenerate.
* configure: Likewise.

sim/m32r/:
* config.in: Regenerate.
* configure: Likewise.

sim/frv/:
* config.in: Regenerate.
* configure: Likewise.

sim/:
* avr/config.in: Regenerate.
* avr/configure: Likewise.
* configure: Likewise.
* cris/config.in: Likewise.
* cris/configure: Likewise.

sim/h8300/:
* config.in: Regenerate.
* configure: Likewise.

sim/mn10300/:
* config.in: Regenerate.
* configure: Likewise.

sim/ppc/:
* config.in: Regenerate.
* configure: Likewise.

sim/erc32/:
* config.in: Regenerate.
* configure: Likewise.

sim/arm/:
* config.in: Regenerate.
* configure: Likewise.

sim/m68hc11/:
* config.in: Regenerate.
* configure: Likewise.

sim/lm32/:
* config.in: Regenerate.
* configure: Likewise.

sim/sh64/:
* config.in: Regenerate.
* configure: Likewise.

sim/v850/:
* config.in: Regenerate.
* configure: Likewise.

sim/cr16/:
* config.in: Regenerate.
* configure: Likewise.

sim/moxie/:
* config.in: Regenerate.
* configure: Likewise.

sim/m32c/:
* config.in: Regenerate.
* configure: Likewise.

sim/mips/:
* config.in: Regenerate.
* configure: Likewise.

sim/mcore/:
* config.in: Regenerate.
* configure: Likewise.

sim/testsuite/d10v-elf/:
* configure: Regenerate.

sim/testsuite/:
* configure: Regenerate.

sim/testsuite/frv-elf/:
* configure: Regenerate.

sim/testsuite/m32r-elf/:
* configure: Regenerate.

sim/testsuite/mips64el-elf/:
* configure: Regenerate.

sim/sh/:
* config.in: Regenerate.
* configure: Likewise.

gold/:
* Makefile.in: Regenerate.
* aclocal.m4: Likewise.
* config.in: Likewise.
* configure: Likewise.
* testsuite/Makefile.in: Likewise.

gprof/:
* Makefile.in: Regenerate.
* aclocal.m4: Likewise.
* configure: Likewise.
* gconfig.in: Likewise.

opcodes/:
* Makefile.in: Regenerate.
* aclocal.m4: Likewise.
* config.in: Likewise.
* configure: Likewise.

gas/:
* Makefile.in: Regenerate.
* aclocal.m4: Likewise.
* config.in: Likewise.
* configure: Likewise.
* doc/Makefile.in: Likewise.

ld/:
* Makefile.in: Regenerate.
* aclocal.m4: Likewise.
* config.in: Likewise.
* configure: Likewise.

gdb/:
* aclocal.m4: Regenerate.
* config.in: Likewise.
* configure: Likewise.
* gnulib/Makefile.in: Likewise.

gdb/doc/:
* configure: Regenerate.

gdb/gdbserver/:
* aclocal.m4: Regenerate.
* config.in: Likewise.
* configure: Likewise.

gdb/testsuite/:
* configure: Regenerate.
* gdb.hp/configure: Likewise.
* gdb.hp/gdb.aCC/configure: Likewise.
* gdb.hp/gdb.base-hp/configure: Likewise.
* gdb.hp/gdb.compat/configure: Likewise.
* gdb.hp/gdb.defects/configure: Likewise.
* gdb.hp/gdb.objdbg/configure: Likewise.
* gdb.stabs/configure: Likewise.

binutils/:
* Makefile.in: Regenerate.
* aclocal.m4: Likewise.
* config.in: Likewise.
* configure: Likewise.
* doc/Makefile.in: Likewise.

bfd/:
* Makefile.in: Regenerate.
* aclocal.m4: Likewise.
* config.in: Likewise.
* configure: Likewise.

bfd/doc/:
* Makefile.in: Regenerate.

readline/:
* configure: Regenerate.

readline/examples/rlfe/:
* configure: Regenerate.

14 years agoMinor fixes in sim, gold, gdb for Autoconf 2.64, Automake 1.11.
Ralf Wildenhues [Sat, 22 Aug 2009 15:59:23 +0000 (15:59 +0000)]
Minor fixes in sim, gold, gdb for Autoconf 2.64, Automake 1.11.

gold/:
* Makefile.am (AUTOMAKE_OPTIONS): Add foreign.
* testsuite/Makefile.am (AUTOMAKE_OPTIONS): Add foreign.
* Makefile.in: Regenerate.
* testsuite/Makefile.in: Regenerate.

gdb/:
* configure.ac: Use AC_USE_SYSTEM_EXTENSIONS instead of
AC_GNU_SOURCE, AC_AIX, AC_ISC_POSIX.

sim/common/:
* aclocal.m4 (SIM_CHECK_MEMBER): Replace definition with
definition of AC_CHECK_MEMBER.

14 years agomerge from gcc
DJ Delorie [Sat, 22 Aug 2009 14:31:16 +0000 (14:31 +0000)]
merge from gcc

14 years agoUpdate automake-provided files in the toplevel.
Ralf Wildenhues [Sat, 22 Aug 2009 11:48:33 +0000 (11:48 +0000)]
Update automake-provided files in the toplevel.

/:
* compile: Sync from Automake 1.11.
* depcomp: Likewise.
* install-sh: Likewise.
* missing: Likewise.
* mkinstalldirs: Likewise.
* ylwrap: Likewise.

14 years agodaily update
Alan Modra [Sat, 22 Aug 2009 00:00:05 +0000 (00:00 +0000)]
daily update

14 years ago2S09-08-21 Daniel Gutson <dgutson@codesourcery.com>
Daniel Gutson [Fri, 21 Aug 2009 23:38:07 +0000 (23:38 +0000)]
2S09-08-21  Daniel Gutson  <dgutson@codesourcery.com>

ld/
        * ld-arm/callweak.d: Opcodes updated.
        * ld-arm/callweak.s: Architecture specified.
        * ld-arm/callweak-2.d: New test case.
        * ld-arm/callweak-2.s: New file.

bfd/
* elf32-arm.c (arch_has_thumb2_nop): New function.
(arch_has_arm_nop): New function.
(elf32_arm_final_link_relocate): NOP opcodes changed.

SVS: ----------------------------------------------------------------------

14 years ago2009-08-21 Sterling Augustine <sterling@jaw.hq.tensilica.com>
Sterling Augustine [Fri, 21 Aug 2009 19:35:35 +0000 (19:35 +0000)]
2009-08-21  Sterling Augustine  <sterling@jaw.hq.tensilica.com>

* config/tc-xtensa.c (config_max_slots): New global variable.
(md_begin): Set config_max_slots.
(total_frag_text_expansion): Use config_max_slots instead of
MAX_SLOTS.
(xg_init_vinsn): Likewise.
(xg_clear_vinsn): Likewise.
(xg_free_vinsn): Likewise.

14 years ago * scripttempl/elf.sc: Discard sections with .gnu.lto_ prefix.
Nick Clifton [Fri, 21 Aug 2009 10:38:14 +0000 (10:38 +0000)]
    * scripttempl/elf.sc: Discard sections with .gnu.lto_ prefix.

14 years agodaily update
Alan Modra [Fri, 21 Aug 2009 00:00:05 +0000 (00:00 +0000)]
daily update

14 years agohppa.h (pa_opcodes): Add a pa10 bb without FLAG_STRICT.
Nick Hudson [Thu, 20 Aug 2009 20:31:27 +0000 (20:31 +0000)]
hppa.h (pa_opcodes): Add a pa10 bb without FLAG_STRICT.

14 years ago2009-08-20 Sterling Augustine <sterling@jaw.hq.tensilica.com>
Sterling Augustine [Thu, 20 Aug 2009 18:12:21 +0000 (18:12 +0000)]
2009-08-20  Sterling Augustine  <sterling@jaw.hq.tensilica.com>

* config/tc-xtensa.c (xg_copy_vinsn): New function.
(finish_vinsn): Call xg_copy_vinsn.

14 years agodaily update
Alan Modra [Thu, 20 Aug 2009 00:00:05 +0000 (00:00 +0000)]
daily update

14 years agoDisable option checking in the toplevel, avoid 2.64 fopen glitch.
Ralf Wildenhues [Wed, 19 Aug 2009 22:21:10 +0000 (22:21 +0000)]
Disable option checking in the toplevel, avoid 2.64 fopen glitch.

/:
* configure.ac: Call AC_DISABLE_OPTION_CHECKING.
(baseargs): Add --disable-option-checking.
* configure: Regenerate.

config/:
* override.m4 (AC_DISABLE_OPTION_CHECKING): Define to be
empty if not defined, to avoid error with 2.59.
(_AC_LANG_IO_PROGRAM): When the Autoconf version is exactly
2.64, avoid per-language instances to drop fopen from test
program.

14 years ago Fix toplevel target deps.
Ralf Wildenhues [Wed, 19 Aug 2009 21:59:11 +0000 (21:59 +0000)]
Fix toplevel target deps.

/:
* Makefile.def (configure-target-libiberty): Depend on
all-binutils and all-ld.
(configure-target-newlib): Likewise.
* Makefile.in: Regenerate.

14 years agoSync toplevel with GCC, merge.
Ralf Wildenhues [Wed, 19 Aug 2009 19:49:26 +0000 (19:49 +0000)]
Sync toplevel with GCC, merge.

/:
2009-07-31  Christian Bruel  <christian.bruel@st.com>

* configure.ac (sh*-*-elf): Don't add target-libgloss to noconfigdirs.
* configure: Regenerate.

2009-07-06  Ian Lance Taylor  <iant@google.com>

* configure.ac: Add missing comma in AC_ARG_WITH(boot-libs).
* configure: Rebuild.

2009-06-26  Steve Ellcey  <sje@cup.hp.com>

PR bootstrap/40338
* configure.ac (comparestring): Create new variable.
* Makefile.tpl (comparestring): Use to skip some comparisions.
* configure: Regenerate.
* Makefile.in: Regenerate.

2009-06-23  Ian Lance Taylor  <iant@google.com>

* configure.ac: Add --enable-build-with-cxx.  When set, add c++ to
boot_languages.  Only bootstrap target libraries listed in
target_libs for some boot language.  Add --with-stage1-ldflags,
--with-stage1-libs, --with-boot-ldflags, --with-boot-libs.  Remove
with_host_libstdcxx from ppllibs.  Only add -fkeep-inline-functions
if not building with C++.
* Makefile.def: For target_module libstdc++-v3, set bootstrap=true.
* Makefile.tpl (STAGE1_LDFLAGS, STAGE1_LIBS): New variables.
(POSTSTAGE1_LDFLAGS, POSTSTAGE1_LIBS): New variables.
(HOST_EXPORTS): Add STAGE1_LDFLAGS to LDFLAGS.  Export HOST_LIBS.
(POSTSTAGE1_HOST_EXPORTS): Set CXX and CXX_FOR_BUILD.  Add
POSTSTAGE1_LDFLAGS to LDFLAGS.  Export HOST_LIBS.
(POSTSTAGE1_FLAGS_TO_PASS): Likewise.
* configure, Makefile.in: Rebuild.

2009-06-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

* configure.ac: Detect MPC in default directory.
* configure: Regenerate.

2009-06-02  Richard Sandiford  <r.sandiford@uk.ibm.com>

* configure.ac (powerpc-*-aix*, rs6000-*-aix*): Add target-newlib
to noconfdirs.
* configure: Regenerate.

2009-05-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

* Makefile.def: Add MPC support and dependencies.
* configure.ac: Likewise.  Reorganize GMP/MPFR checks.

* Makefile.in, configure: Regenerate.

2009-05-24  Nicolas Roche  <roche@adacore.com>

* Makefile.tpl (compare-target): Skip ./ada/*tools directories.
* Makefile.in: Regenerate.

2009-05-21  Dave Korn  <dave.korn.cygwin@gmail.com>

* configure.ac (cygwin noconfigdirs):  Remove libgcj.
* configure:  Regenerate.

2009-05-07  Dave Korn  <dave.korn.cygwin@gmail.com>

* configure.ac ($with_ppl):  Default to no if not supplied.
($with_cloog):  Likewise.
configure:  Regenerate.

2009-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

PR bootstrap/39739
* configure.ac (extra_mpfr_configure_flags): Set and AC_SUBST.
* Makefile.def (module=mpfr): Use extra_mpfr_configure_flags.

* configure, Makefile.in: Regenerate.

2009-04-14  Jakub Jelinek  <jakub@redhat.com>

* configure.ac: Change copyright header to refer to version
3 of the GNU General Public License and to point readers at the
COPYING3 file and the FSF's license web page.
* Makefile.def: Likewise.
* Makefile.tpl: Likewise.
* Makefile.in: Regenerate.

2009-04-09  Jack Howarth  <howarth@bromo.med.uc.edu>

* configure.ac: Restore match for darwin9 or later. Use double
brackets since regeneration eats one pair.
* configure: Regenerate.

14 years ago * resolve.cc (Symbol_table::resolve): Don't complain about defined
Cary Coutant [Wed, 19 Aug 2009 17:53:50 +0000 (17:53 +0000)]
* resolve.cc (Symbol_table::resolve): Don't complain about defined
symbols in shared libraries overridden by hidden or internal symbols
in the main program.

14 years ago2009-08-19 Chris Demetriou <cgd@google.com>
Chris Demetriou [Wed, 19 Aug 2009 17:41:44 +0000 (17:41 +0000)]
2009-08-19  Chris Demetriou  <cgd@google.com>

        * testsuite/debug_msg.sh: Match .* rather than ${srcdir} when
        checking source file names in error messages.

14 years ago2009-08-19 Sterling Augustine <sterling@tensilica.com>
Sterling Augustine [Wed, 19 Aug 2009 16:10:46 +0000 (16:10 +0000)]
2009-08-19  Sterling Augustine  <sterling@tensilica.com>

* config/tc-xtensa.h (xtensa_frag_data): Rename unused field fr_prev
to no_transform_end.
* config/tc-xtensa.c (xtensa_mark_difference_of_two_symbols): Set
and use no_transform_end.

14 years ago* MAINTAINERS: Perform some obvious fixups.
Christopher Faylor [Wed, 19 Aug 2009 02:53:50 +0000 (02:53 +0000)]
* MAINTAINERS: Perform some obvious fixups.