OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
14 years agomerge from gcc
DJ Delorie [Fri, 9 Oct 2009 04:49:48 +0000 (04:49 +0000)]
merge from gcc

14 years agodaily update
Alan Modra [Thu, 8 Oct 2009 22:59:56 +0000 (22:59 +0000)]
daily update

14 years ago2009-10-08 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Thu, 8 Oct 2009 12:46:16 +0000 (12:46 +0000)]
2009-10-08  Tristan Gingold  <gingold@adacore.com>

* config.bfd: Add bfd_mach_o_i386_vec in x86_64-darwin targ_selvecs.

14 years ago2009-10-08 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 8 Oct 2009 12:44:57 +0000 (12:44 +0000)]
2009-10-08  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/10704
* gas/i386/intelok.s: Move 2 PIC tests to ...
* gas/i386/intelpic.s: Here.

* gas/i386/intelok.d: Updated.
* gas/i386/intelpic.d: Likewise.

14 years ago2009-10-07 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 8 Oct 2009 02:38:25 +0000 (02:38 +0000)]
2009-10-07  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/10744
* ld-scripts/phdrs3.exp: Run phdrs3a.

* ld-scripts/phdrs3a.d: New.
* ld-scripts/phdrs3a.t: Likewise.

14 years ago PR ld/10744
Alan Modra [Thu, 8 Oct 2009 01:11:56 +0000 (01:11 +0000)]
PR ld/10744
* ld-scripts/phdrs3.d: Update.

14 years ago PR ld/10744
Alan Modra [Thu, 8 Oct 2009 01:00:27 +0000 (01:00 +0000)]
PR ld/10744
* ldlang.c (lang_new_phdr): Allow FILEHDR/PHDRS on more than the
first PT_LOAD header.
* ld.texinfo: Update.

14 years agodaily update
Alan Modra [Wed, 7 Oct 2009 22:59:59 +0000 (22:59 +0000)]
daily update

14 years ago2009-10-07 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 7 Oct 2009 20:02:05 +0000 (20:02 +0000)]
2009-10-07  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/10704
* gas/i386/intelok.s: Add 2 new tests.
* gas/i386/intelok.d: Updated.

14 years agoChecked in the missing testcases.
H.J. Lu [Wed, 7 Oct 2009 18:33:20 +0000 (18:33 +0000)]
Checked in the missing testcases.

14 years agoAdd the missing entry.
H.J. Lu [Wed, 7 Oct 2009 18:31:50 +0000 (18:31 +0000)]
Add the missing entry.

14 years ago * arm.cc (Arm_relocate_functions::extract_arm_movw_movt_addend):
Ian Lance Taylor [Wed, 7 Oct 2009 15:41:50 +0000 (15:41 +0000)]
* arm.cc (Arm_relocate_functions::extract_arm_movw_movt_addend):
New function.
(Arm_relocate_functions::insert_val_arm_movw_movt): New function.
(Arm_relocate_functions::extract_thumb_movw_movt_addend): New
function.
(Arm_relocate_functions::insert_val_thumb_movw_movt): New
function.
(Arm_relocate_functions::movw_abs_nc): New function.
(Arm_relocate_functions::movt_abs): New function.
(Arm_relocate_functions::thm_movw_abs_nc): New function.
(Arm_relocate_functions::thm_movt_abs): New function.
(Scan::local): Handle R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS,
R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS.
(Scan::global): Likewise.
(Relocate::relocate): Likewise.
(Relocatable_size_for_reloc::get_size_for_reloc): Likewise.

14 years ago* opcodes/microblaze-dis.c: Add include for microblaze-dis.h,
Michael Eager [Wed, 7 Oct 2009 15:40:17 +0000 (15:40 +0000)]
* opcodes/microblaze-dis.c: Add include for microblaze-dis.h,
eliminate local extern decls.
* opcodes/microblaze-dis.h: New.

14 years ago * arm.cc (Arm_relocate_functions::got_prel) New function.
Ian Lance Taylor [Wed, 7 Oct 2009 15:30:40 +0000 (15:30 +0000)]
* arm.cc (Arm_relocate_functions::got_prel) New function.
(Scan::local, Scan::global): Handle R_ARM_GOT_PREL.
(Relocate::relocate): Likewise.
(Relocatable_size_for_reloc::get_size_for_reloc): Likewise.

14 years ago * config/tc-arm.c (mapping_state, mapping_state_2): Make dummy
Nathan Sidwell [Wed, 7 Oct 2009 14:00:05 +0000 (14:00 +0000)]
* config/tc-arm.c (mapping_state, mapping_state_2): Make dummy
versions slightly more than nothing.

14 years ago * doc/c-arm.texi (ARM Options): Correctly name the two mapcs options.
Nathan Sidwell [Wed, 7 Oct 2009 13:46:54 +0000 (13:46 +0000)]
* doc/c-arm.texi (ARM Options): Correctly name the two mapcs options.

14 years ago ld/
Nathan Sidwell [Wed, 7 Oct 2009 07:25:35 +0000 (07:25 +0000)]
ld/
* ldlang.c (lang_new_phdr): Check PHDRS and FILEHDR in loadable
segments do not appear after a different loadable segment.
* ld.texinfo (PHDRS): Document order of processing segments.
Document where PHDRS and FILEHDR may appear.

ld/testsuite/
* ld-scripts/phdrs3.d: New.
* ld-scripts/phdrs3.t: New.
* ld-scripts/phdrs3.exp: New.

14 years agoSync with gcc repository.
Ian Lance Taylor [Wed, 7 Oct 2009 05:57:48 +0000 (05:57 +0000)]
Sync with gcc repository.

14 years ago PR gas/2117
Alan Modra [Wed, 7 Oct 2009 05:13:53 +0000 (05:13 +0000)]
PR gas/2117
* config/tc-ia64.c (parse_operand): Use expression rather than
expression_and_evalute.
(parse_operand_and_eval): New function.  Replace all uses of
parse_operand outside of parse_operands with this function.
(parse_operans_maybe_eval): New function.  Replace uses of
parse_operand in parse_operands, except for the dummy, with
this function.

14 years agomerge from gcc
DJ Delorie [Wed, 7 Oct 2009 02:57:27 +0000 (02:57 +0000)]
merge from gcc

14 years ago * options.h (class General_options): Define
Ian Lance Taylor [Tue, 6 Oct 2009 22:58:27 +0000 (22:58 +0000)]
* options.h (class General_options): Define
split_stack_adjust_size parameter.
* object.h (class Object): Add uses_split_stack_ and
has_no_split_stack_ fields.  Add uses_split_stack and
has_no_split_stack accessor functions.  Declare
handle_split_stack_section.
(class Reloc_symbol_changes): Define.
(class Sized_relobj): Define Function_offsets.  Declare
split_stack_adjust, split_stack_adjust_reltype, and
find_functions.
* object.cc (Object::handle_split_stack_section): New function.
(Sized_relobj::do_layout): Call handle_split_stack_section.
* dynobj.cc (Sized_dynobj::do_layout): Call
handle_split_stack_section.
* reloc.cc (Sized_relobj::relocate_sections): Call
split_stack_adjust for executable sections in split_stack
objects.  Pass reloc_map to relocate_section.
(Sized_relobj::split_stack_adjust): New function.
(Sized_relobj::split_stack_adjust_reltype): New function.
(Sized_relobj::find_functions): New function.
* target-reloc.h: Include "object.h".
(relocate_section): Add reloc_symbol_changes parameter.  Change
all callers.
* target.h (class Target): Add calls_non_split method.  Declare
do_calls_non_split virtual method.  Declare match_view and
set_view_to_nop.
* target.cc: Include "elfcpp.h".
(Target::do_calls_non_split): New function.
(Target::match_view): New function.
(Target::set_view_to_nop): New function.
* gold.cc (queue_middle_tasks): Give an error if mixing
split-stack and non-split-stack objects with -r.
* i386.cc (Target_i386::relocate_section): Add
reloc_symbol_changes parameter.
(Target_i386::do_calls_non_split): New function.
* x86_64.cc (Target_x86_64::relocate_section): Add
reloc_symbol_changes parameter.
(Target_x86_64::do_calls_non_split): New function.
* arm.cc (Target_arm::relocate_section): Add reloc_symbol_changes
parameter.
* powerpc.cc (Target_powerpc::relocate_section): Add
reloc_symbol_changes parameter.
* sparc.cc (Target_sparc::relocate_section): Add
reloc_symbol_changes parameter.
* configure.ac: Call AM_CONDITIONAL for the default target.
* configure: Rebuild.
* testsuite/Makefile.am (TEST_AS): New variable.
(check_SCRIPTS): Add split_i386.sh and split_x86_64.sh.
(check_DATA): Add split_i386 and split_x86_64 files.
(SPLIT_DEFSYMS): Define.
(split_i386_[1234n].o): New targets.
(split_i386_[124]): New targets.
(split_i386_[1234r].stdout): New targets.
(split_x86_64_[1234n].o): New targets.
(split_x86_64_[124]): New targets.
(split_x86_64_[1234r].stdout): New targets.
(MOSTLYCLEANFILES): Add new executables.
* testsuite/split_i386.sh: New file.
* testsuite/split_x86_64.sh: New file.
* testsuite/split_i386_1.s: New file.
* testsuite/split_i386_2.s: New file.
* testsuite/split_i386_3.s: New file.
* testsuite/split_i386_4.s: New file.
* testsuite/split_i386_n.s: New file.
* testsuite/split_x86_64_1.s: New file.
* testsuite/split_x86_64_2.s: New file.
* testsuite/split_x86_64_3.s: New file.
* testsuite/split_x86_64_4.s: New file.
* testsuite/split_x86_64_n.s: New file.
* testsuite/testfile.cc (Target_test): Update relocation_section
function.
* testsuite/Makefile.in: Rebuild.

14 years agoTweak last patch.
Ian Lance Taylor [Tue, 6 Oct 2009 21:44:11 +0000 (21:44 +0000)]
Tweak last patch.

14 years ago * i386.cc (class Target_i386::Relocate): Add ldo_addrs_ field.
Ian Lance Taylor [Tue, 6 Oct 2009 21:36:00 +0000 (21:36 +0000)]
* i386.cc (class Target_i386::Relocate): Add ldo_addrs_ field.
(Target_i386::Relocate::relocate_tls): Call fix_up_ldo before
changing local_dynamic_type_ from LOCAL_DYNAMIC_NONE.  When
handling R_386_TLS_LDO_32, if local_dynamic_type_ is NONE, push
the address on ldo_addrs_.
(Target_i386::Relocate::fix_up_ldo): New function.

14 years ago * plugin.cc (add_input_library): New.
Ian Lance Taylor [Tue, 6 Oct 2009 20:15:09 +0000 (20:15 +0000)]
* plugin.cc (add_input_library): New.
(Plugin::load): Add add_input_library to tv.
(Plugin_manager::add_input_file): Add the is_lib argument.
(add_input_file): Update call to Plugin_manager::add_input_file.
(add_input_library): New.
* plugin.h (Plugin_manager::add_input_file): Add the is_lib argument.

14 years agoMerge from gcc repository.
Ian Lance Taylor [Tue, 6 Oct 2009 20:14:05 +0000 (20:14 +0000)]
Merge from gcc repository.

14 years ago2009-10-06 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 6 Oct 2009 19:41:12 +0000 (19:41 +0000)]
2009-10-06  H.J. Lu  <hongjiu.lu@intel.com>

* bfd-in2.h: Regenerated.

14 years agoUpdated Finnish translation
Nick Clifton [Tue, 6 Oct 2009 15:44:39 +0000 (15:44 +0000)]
Updated Finnish translation

14 years agodaily update
Alan Modra [Mon, 5 Oct 2009 23:00:04 +0000 (23:00 +0000)]
daily update

14 years ago PR gas/10704
Alan Modra [Mon, 5 Oct 2009 21:58:19 +0000 (21:58 +0000)]
PR gas/10704
* symbols.c (snapshot_symbol): Revert 2006-01-09 patch for PR2117.

14 years ago * read.c (s_reloc): Don't use expression_and_evaluate.
Alan Modra [Mon, 5 Oct 2009 21:57:12 +0000 (21:57 +0000)]
* read.c (s_reloc): Don't use expression_and_evaluate.

14 years ago * opc2c.c: Include "libiberty.h" and <errno.h>.
Nick Clifton [Mon, 5 Oct 2009 13:14:55 +0000 (13:14 +0000)]
    * opc2c.c: Include "libiberty.h" and <errno.h>.
        (orig_filename): Constify.
        (dump_lines): Fix line number directive.
        (main): Set orig_filename to basename of input file.  Use
        xstrerror.

        * Makefile.am (rx-dis.lo): Remove explicit dependencies.
        ($(srcdir)/rx-decode.c): Use @MAINT@.  Use $(EXEEXT_FOR_BUILD)
        instead of $(EXEEXT).
        (opc2c$(EXEEXT_FOR_BUILD)): Renamed from opc2c$(EXEEXT) and use
        $(LINK_FOR_BUILD).  Link with libiberty.
        (MOSTLYCLEANFILES): Add opc2c$(EXEEXT_FOR_BUILD).
        (MAINTAINERCLEANFILES): Add $(srcdir)/rx-decode.c.
        * Makefile.in: Regenerated.
        * rx-decode.c: Regenerated.

14 years agodaily update
Alan Modra [Sun, 4 Oct 2009 23:00:04 +0000 (23:00 +0000)]
daily update

14 years agodaily update
Alan Modra [Sat, 3 Oct 2009 23:00:05 +0000 (23:00 +0000)]
daily update

14 years agoRevert the last change.
H.J. Lu [Sat, 3 Oct 2009 17:00:16 +0000 (17:00 +0000)]
Revert the last change.

14 years ago2009-10-03 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sat, 3 Oct 2009 14:36:34 +0000 (14:36 +0000)]
2009-10-03  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am ($(srcdir)/rx-decode.c): Add @MAINT@.
(rx-dis.lo): Remove a space.
(pc2c$(EXEEXT)): Remove a space. Use $(LINK_FOR_BUILD) instead
of gcc.
(MAINTAINERCLEANFILES): Add $(srcdir)/rx-decode.c.
* Makefile.in: Regenerated.

14 years ago * arm-dis.c (print_insn): Check symtab_size not *symtab.
Alan Modra [Sat, 3 Oct 2009 00:39:53 +0000 (00:39 +0000)]
* arm-dis.c (print_insn): Check symtab_size not *symtab.

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

14 years ago2009-10-02 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 2 Oct 2009 19:03:40 +0000 (19:03 +0000)]
2009-10-02  H.J. Lu  <hongjiu.lu@intel.com>

* i386-opc.tbl: Drop Disp64 on jump and loop instructions.
* i386-tbl.h: Regenerated.

14 years agomerge from gcc
DJ Delorie [Fri, 2 Oct 2009 18:22:51 +0000 (18:22 +0000)]
merge from gcc

14 years agotypo fix
Alan Modra [Fri, 2 Oct 2009 15:35:01 +0000 (15:35 +0000)]
typo fix

14 years agold/
Alan Modra [Fri, 2 Oct 2009 15:00:30 +0000 (15:00 +0000)]
ld/
* emultempl/ppc32elf.em (emit_stub_syms): Init to -1.
(ppc_after_open): Set emit_stubs_syms by default when shared.
(OPTION_NO_STUBSYMS): Define.
(PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS,
PARSE_AND_LIST_ARGS_CASES): Handle --no-emit-stub-syms.
* emultempl/ppc64elf.em (emit_stub_syms): Init to -1.
(gld${EMULATION_NAME}_finish): Set emit_stubs_syms by default.
(OPTION_NO_STUBSYMS): Define.
(PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS,
PARSE_AND_LIST_ARGS_CASES): Handle --no-emit-stub-syms.
ld/testsuite/
* ld-powerpc/tlsexe.d: Update.
* ld-powerpc/tlsexe.r: Update.
* ld-powerpc/tlsexetoc.d: Update.
* ld-powerpc/tlsexetoc.r: Update.
* ld-powerpc/tlsso.d: Update.
* ld-powerpc/tlsso.r: Update.
* ld-powerpc/tlstocso.d: Update.
* ld-powerpc/tlstocso.r: Update.

14 years agogas/
Peter Bergner [Fri, 2 Oct 2009 14:42:42 +0000 (14:42 +0000)]
gas/
* config/tc-ppc.c (md_show_usage): Document -m476.
* doc/c-ppc.texi (PowerPC-Opts): Document -m476.

gas/testsuite/
* gas/ppc/476.s: New test.
* gas/ppc/476.d: Likewise.
* gas/ppc/ppc.exp: Run the 476 test.

include/opcode/
* ppc.h (PPC_OPCODE_476): Define.

opcodes/
* ppc-dis.c (ppc_opts): Add "476" entry.
* ppc-opc.c (PPC476): Define.
(powerpc_opcodes): Update mnemonics where required for 476.

14 years agoinclude/aout/
Alan Modra [Fri, 2 Oct 2009 14:40:41 +0000 (14:40 +0000)]
include/aout/
* aout64.h (N_SHARED_LIB): Define as zero if not already defined.
* sun4.h (N_SHARED_LIB): Define.
* hp300hpux.h (N_SHARED_LIB): Don't define.
bfd/
* aout-cris.c (N_SHARED_LIB): Don't define.
* hp300bsd.c (N_SHARED_LIB): Don't define.
* i386bsd.c (N_SHARED_LIB): Don't define.
* i386linux.c (N_SHARED_LIB): Don't define.
* i386lynx.c (N_SHARED_LIB): Don't define.
* m68klinux.c (N_SHARED_LIB): Don't define.
* m88kmach3.c (N_SHARED_LIB): Don't define.
* mipsbsd.c (N_SHARED_LIB): Don't define.
* newsos3.c (N_SHARED_LIB): Don't define.
* pc532-mach.c (N_SHARED_LIB): Don't define.
* pdp11.c (N_SHARED_LIB): Don't define.
* sparclinux.c (N_SHARED_LIB): Don't define.
* vaxbsd.c (N_SHARED_LIB): Don't define.

14 years ago * dw2gencfi.c: Include dwarf2dbg.h.
Jakub Jelinek [Fri, 2 Oct 2009 11:33:50 +0000 (11:33 +0000)]
* dw2gencfi.c: Include dwarf2dbg.h.
(DWARF2_FORMAT): Define if not defined.
(dot_cfi_sections): New function.
(cfi_pseudo_table): Handle .cfi_sections.
(CFI_EMIT_eh_frame, CFI_EMIT_debug_frame): Define.
(cfi_sections): New variable.
(output_cie, output_fde, select_cie_for_fde): Add eh_frame
argument, add supporting for outputting .debug_frame
section.
(cfi_change_reg_numbers): New function or macro.
(cfi_finish): Only emit .eh_frame if
cfi_sections & CFI_EMIT_eh_frame.  Emit .debug_frame if
cfi_sections & CFI_EMIT_debug_frame.
* config/tc-ppc.h (md_reg_eh_frame_to_debug_frame): Define.
* doc/as.texinfo (CFI directives): Document .cfi_sections.

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

14 years ago * lib/ld-lib.exp (ld_simple_link_defsyms): New proc, adding
Alan Modra [Thu, 1 Oct 2009 23:29:29 +0000 (23:29 +0000)]
* lib/ld-lib.exp (ld_simple_link_defsyms): New proc, adding
powerpc-*-rtems to code setting symbols, extracted from..
* ld-srec/srec.exp (run_srec_test): ..here.  Correct flags for sh64.
* ld-gc/gc.exp (test_gc): Use ld_simple_link_defsyms.

14 years ago * cofflink.c (_bfd_coff_generic_relocate_section): Look for the aux
Dave Korn [Thu, 1 Oct 2009 19:48:12 +0000 (19:48 +0000)]
* cofflink.c (_bfd_coff_generic_relocate_section): Look for the aux
symbol for a weak undef in the auxbfd, not the input bfd.

14 years agogas/
Peter Bergner [Thu, 1 Oct 2009 19:24:48 +0000 (19:24 +0000)]
gas/
* config/tc-ppc.c (md_show_usage): Rename "ppca2" to "a2".
* doc/c-ppc.texi (PowerPC-Opts): Likewise.

gas/testsuite/
* gas/ppc/a2.d: Rename "ppca2" to "a2".

include/opcode/
* ppc.h (PPC_OPCODE_A2): Rename from PPC_OPCODE_PPCA2.

opcodes/
* ppc-opc.c (PPCA2): Use renamed mask PPC_OPCODE_A2.
* ppc-dis.c (ppc_opts): Likewise.
Rename "ppca2" to "a2".

14 years ago2009-10-01 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 1 Oct 2009 14:31:43 +0000 (14:31 +0000)]
2009-10-01  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (x86_cons): Reformat.

14 years agobfd/
Ulrich Weigand [Thu, 1 Oct 2009 13:09:56 +0000 (13:09 +0000)]
bfd/
* elf32-spu.c (spu_elf_auto_overlay): Insert icache linker script
after .toe instead of before .text section.  Set the LMA of all
overlay sections to their icache IA address.
(spu_elf_find_overlays): Determine icache set id without reference
to the LMA.

ld/testsuite/
* ld-spu/icache1.d: Update to new section layout.

14 years ago2009-10-01 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
M R Swami Reddy [Thu, 1 Oct 2009 08:19:55 +0000 (08:19 +0000)]
2009-10-01  M R Swami Reddy <MR.Swami.Reddy@nsc.com>

       * crx-dis.c (match_opcode): Truncate mcode to 32-bit.

14 years ago * addr2line.c (slurp_symtab): Don't use bfd_read_minisymbols.
Alan Modra [Thu, 1 Oct 2009 06:33:15 +0000 (06:33 +0000)]
* addr2line.c (slurp_symtab): Don't use bfd_read_minisymbols.

14 years ago2009-09-30 Doug Kwan <dougkwan@google.com>
Doug Kwan [Thu, 1 Oct 2009 00:58:38 +0000 (00:58 +0000)]
2009-09-30  Doug Kwan  <dougkwan@google.com>

* arm.cc (Target_arm::may_need_copy_reloc): Check for THUMB function
symbol and call Symbol::may_need_copy_reloc to determine if
a copy reloc is needed.
* copy-relocs.cc (Copy_relocs::need_copy_reloc): Return false if -z
nocopyreloc is given in command line.
(Copy_relocs::emit_copy_reloc): Assert that -z nocopyreloc is not
given in command line.
* i386.cc (Target_i386::may_need_copy_reloc): Remove.
(Target_i386::Scan::global): Use Symbol::may_need_copy_reloc instead
of the removed Target_i386::may_need_copy_reloc.
* options.h (copyreloc): New option with default value false.
* powerpc.cc (Target_powerpc::may_need_copy_reloc): Remove.
(Target_powerpc::Scan::global): Use Symbol::may_need_copy_reloc
instead of the removed Target_powerpc::may_need_copy_reloc.
* sparc.cc (Target_powerpc::may_need_copy_reloc): Remove.
(Target_sparc::Scan::global): Use Symbol::may_need_copy_reloc
instead of the removed Target_sparc::may_need_copy_reloc.
* symtab.h (Symbol::may_need_copy_reloc): New method definition.
* x86_64.cc (Target_powerpc::may_need_copy_reloc): Remove.
(Target_x86_64::Scan::global): Use Symbol::may_need_copy_reloc
instead of the removed Target_x86_64::may_need_copy_reloc.

14 years agodaily update
Alan Modra [Thu, 1 Oct 2009 00:00:04 +0000 (00:00 +0000)]
daily update

14 years ago * object.h (class Object): Remove target_ field, and target,
Ian Lance Taylor [Wed, 30 Sep 2009 22:21:13 +0000 (22:21 +0000)]
* object.h (class Object): Remove target_ field, and target,
sized_target, and set_target methods.
(Object::sized_target): Remove.
(class Sized_relobj): Update declarations.  Remove sized_target.
* object.cc (Sized_relobj::setup): Remove target parameter.
Change all callers.
(Input_objects::add_object): Don't do anything with the target.
(make_elf_sized_object): Add punconfigured parameter.  Change all
callers.  Set or test parameter target.
* dynobj.cc (Sized_dynobj::target): Remove target parameter.
Change all callers.
* parameters.cc (Parameters::set_target): Change parameter type to
be non-const.
(Parameters::default_target): Remove.
(set_parameters_target): Change parameter type to be non-const.
(parameters_force_valid_target): New function.
(parameters_clear_target): New function.
* parameters.h (class Parameters): Update declarations.  Remove
default_target method.  Add sized_target and clear_target
methods.  Change target_ to be non-const.
(set_parameters_target): Update declaration.
(parameters_force_valid_target): Declare.
(parameters_clear_target): Declare.
* readsyms.cc (Read_symbols::do_read_symbols): Pass punconfigured
as NULL if we aren't searching.
(Add_symbols::run): Don't check for compatible target.
* fileread.cc (Input_file::open_binary): Call
parameters_force_valid_target.
* gold.cc (queue_middle_tasks): Likewise.
* plugin.cc (make_sized_plugin_object): Likewise.  Don't call
set_target on object.
* dynobj.h (class Sized_dynobj): Update declarations.
* archive.cc (Archive::get_elf_object_for_member): Return NULL if
make_elf_object returns NULL.
(Archive::include_member): Don't check whether object target is
compatible.
* output.cc (Output_section::add_input_section): Get target from
parameters.
(Output_section::relax_input_section): Likewise.
* reloc.cc (Sized_relobj::do_gc_process_relocs): Get target from
parameters.
(Sized_relobj::do_scan_relocs): Likewise.
(Sized_relobj::relocate_sections): Likewise.
* resolve.cc (Symbol_table::resolve): Likewise.
* symtab.cc (Symbol_table::wrap_symbol): Likewise.  Remove object
parameter.  Change all callers.
(Symbol_table::add_from_object): Get target from parameters.
(Symbol_table::add_from_relobj): Don't check object target.
(Symbol_table::add_from_dynobj): Likewise.
(Symbol_table::define_special_symbol): Get target from
parameters.
* symtab.h (class Symbol_table): Update declaration.
* testsuite/binary_unittest.cc (gold_testsuite): Remove target
parameter.  Change all callers.  Clear parameter target.
(Binary_test): Test target here.
* testsuite/object_unittest.cc (gold_testsuite): Remove
target_test_pointer parameter.  Change all callers.
(Object_test): Test target here.

14 years ago2009-09-30 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Wed, 30 Sep 2009 13:12:50 +0000 (13:12 +0000)]
2009-09-30  Tristan Gingold  <gingold@adacore.com>

* configure.com: Use hosts/alphavms.h on both alpha and ia64 VMS.

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

14 years ago2009-09-29 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Tue, 29 Sep 2009 21:31:07 +0000 (21:31 +0000)]
2009-09-29  Paolo Bonzini  <bonzini@gnu.org>

Sync from gcc:
2009-09-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

* configure.ac: Update minimum MPC version to 0.7.
* configure: Regenerate.

14 years ago * emulparams/m68kelf.sh (NOP): Use 0x4e71 (nop) rather than 0x4e75
Nick Clifton [Tue, 29 Sep 2009 16:28:52 +0000 (16:28 +0000)]
    * emulparams/m68kelf.sh (NOP): Use 0x4e71 (nop) rather than 0x4e75
        (rts).

14 years ago * doc/binutils.texi (c++filt): Remove spurious description of
Nick Clifton [Tue, 29 Sep 2009 15:34:08 +0000 (15:34 +0000)]
    * doc/binutils.texi (c++filt): Remove spurious description of
        nonexistent --java command line switch for cxxfilt.

14 years ago2009-09-29 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 29 Sep 2009 14:37:57 +0000 (14:37 +0000)]
2009-09-29  H.J. Lu  <hongjiu.lu@intel.com>

* elf64-x86-64.c (elf64_x86_64_append_rela): New.
(elf64_x86_64_relocate_section): Use it.
(elf64_x86_64_finish_dynamic_symbol): Likewise.

14 years agobfd
Nick Clifton [Tue, 29 Sep 2009 14:17:19 +0000 (14:17 +0000)]
bfd
        * Makefile.am (ALL_MACHINES): Add cpu-rx.lo.
        (ALL_MACHINES_CFILES): Add cpu-rx.c.
        (BFD32_BACKENDS): Add elf32-rx.lo.
        (BFD32_BACKENDS_CFILES): Add elf32-rx.c.
        * archures.c (bfd_architecture): Add bfd_arch_rx and bfd_mach_rx.
        Export bfd_rx_arch.
        (bfd_archures_list): Add bfd_rx_arch.
        * config.bfd: Add entry for rx-*-elf.
        * configure.in: Add entries for bfd_elf32_rx_le_vec and
        bfd_elf32_rx_be_vec.
        * reloc.c: Add RX relocations.
        * targets.c: Add RX target vectors.
        * Makefile.in: Regenerate.
        * bfd-in2.h: Regenerate.
        * configure: Regenerate.
        * libbfd.h: Regenerate.
        * cpu-rx.c: New file.
        * elf32-rx.c: New file.

binutils
        * readelf.c: Add support for RX target.
        * MAINTAINERS: Add DJ and NickC as maintainers for RX.

gas
        * Makefile.am: Add RX target.
        * configure.in: Likewise.
        * configure.tgt: Likewise.
        * read.c (do_repeat_with_expander): New function.
        * read.h: Provide a prototype for do_repeat_with_expander.
        * doc/Makefile.am: Add RX target documentation.
        * doc/all.texi: Likewise.
        * doc/as.texinfo: Likewise.
        * Makefile.in: Regenerate.
        * NEWS: Mention support for RX architecture.
        * configure: Regenerate.
        * doc/Makefile.in: Regenerate.
        * config/rx-defs.h: New file.
        * config/rx-parse.y: New file.
        * config/tc-rx.h: New file.
        * config/tc-rx.c: New file.
        * doc/c-rx.texi: New file.

gas/testsuite
        * gas/rx: New directory.
        * gas/rx/*: New set of test cases.
        * gas/elf/section2.e-rx: New expected output file.
        * gas/all/gas.exp: Add support for RX target.
        * gas/elf/elf.exp: Likewise.
        * gas/lns/lns.exp: Likewise.
        * gas/macros/macros.exp: Likewise.

include
        * dis-asm.h: Add prototype for print_insn_rx.

include/elf
        * rx.h: New file.

include/opcode
        * rx.h: New file.

ld
        * Makefile.am: Add rules to build RX emulation.
        * configure.tgt: Likewise.
        * NEWS: Mention support for RX architecture.
        * Makefile.in: Regenerate.
        * emulparams/elf32rx.sh: New file.
        * emultempl/rxelf.em: New file.

opcodes
        * Makefile.am: Add RX files.
        * configure.in: Add support for RX target.
        * disassemble.c: Likewise.
        * Makefile.in: Regenerate.
        * configure: Regenerate.
        * opc2c.c: New file.
        * rx-decode.c: New file.
        * rx-decode.opc: New file.
        * rx-dis.c: New file.

14 years agoopcodes/
Peter Bergner [Tue, 29 Sep 2009 13:19:10 +0000 (13:19 +0000)]
opcodes/
* ppc-opc.c (powerpc_opcodes): Remove support for the the "lxsdux",
"lxvd2ux", "lxvw4ux", "stxsdux", "stxvd2ux" and "stxvw4ux" opcodes.

gas/testsuite/
* gas/ppc/vsx.s ("lxsdux", "lxvd2ux", "lxvw4ux", "stxsdux",
"stxvd2ux", "stxvw4ux"): Remove tests.
* gas/ppc/vsx.d: Likewise.
* gas/ppc/power7.s: Likewise.
* gas/ppc/power7.d: Likewise.

14 years ago2009-09-29 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
M R Swami Reddy [Tue, 29 Sep 2009 11:55:09 +0000 (11:55 +0000)]
2009-09-29 M R Swami Reddy <MR.Swami.Reddy@nsc.com>

       * elf32-cr16.c (elf32_cr16_relocate_section): Removed info->relocatable
       to fix the ld/testsuites/ld-elf/linkonce1 test case.

14 years ago * ldlang.c (lang_size_sections_1): Allow scripts to specify a
Alan Modra [Tue, 29 Sep 2009 02:24:56 +0000 (02:24 +0000)]
* ldlang.c (lang_size_sections_1): Allow scripts to specify a
non-zero vma even when relocatable.

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

14 years ago * configure.in: Don't invoke configure.tgt on $enable_targets.
Alan Modra [Mon, 28 Sep 2009 12:48:16 +0000 (12:48 +0000)]
* configure.in: Don't invoke configure.tgt on $enable_targets.
* configure: Regenerate.

14 years agooops - omitted from previous delta
Nick Clifton [Mon, 28 Sep 2009 12:15:51 +0000 (12:15 +0000)]
oops - omitted from previous delta

14 years ago PR 10478
Nick Clifton [Mon, 28 Sep 2009 09:45:33 +0000 (09:45 +0000)]
    PR 10478
        * elf.c (bfd_section_from_shdr): Allow SHN_BEFORE and SHN_AFTER
        section link values in x86 binaries.
        * elfcode.h (elf_object_p): Likewise.
        * readelf.c (get_elf_section_flags): Allow SHN_BEFORE and
        SHN_AFTER section link values in x86 binaries.
        (process_section_headers): Likewise.

14 years ago * elf32-m68k.c (elf_m68k_final_write_processing): New function.
Nick Clifton [Mon, 28 Sep 2009 09:34:20 +0000 (09:34 +0000)]
    * elf32-m68k.c (elf_m68k_final_write_processing): New function.
       (elf_backend_final_write_processing): Macro defined as above function.

14 years agomissed entry
Alan Modra [Mon, 28 Sep 2009 07:14:37 +0000 (07:14 +0000)]
missed entry

14 years ago * scripttempl/elf32cr16.sc: Emit empty script for ld -r and ld -Ur.
Alan Modra [Mon, 28 Sep 2009 07:08:50 +0000 (07:08 +0000)]
* scripttempl/elf32cr16.sc: Emit empty script for ld -r and ld -Ur.
* scripttempl/elf32cr16c.sc: Likewise.
* scripttempl/elf32crx.sc: Likewise.
* scripttempl/tic54xcoff.sc: Likewise.
* scripttempl/aix.sc: Delete ${RELOCATING-0}.
* scripttempl/avr.sc: Likewise.
* scripttempl/elf32msp430.sc: Likewise.
* scripttempl/elf32msp430_3.sc: Likewise.
* scripttempl/elf32sh-symbian.sc: Likewise.
* scripttempl/elf_chaos.sc: Likewise.
* scripttempl/elfi370.sc: Likewise.
* scripttempl/nw.sc: Likewise.
* scripttempl/psos.sc: Likewise.
* scripttempl/armbpabi.sc: Delete ${RELOCATING-0} and ${CONSTRUCTING-0}.
* scripttempl/elf.sc: Likewise.
* scripttempl/elf64hppa.sc: Likewise.
* scripttempl/elfd10v.sc: Likewise.
* scripttempl/elfd30v.sc: Likewise.
* scripttempl/elfm68hc11.sc: Likewise.
* scripttempl/elfm68hc12.sc: Likewise.
* scripttempl/elfmicroblaze.sc: Likewise.
* scripttempl/elfxtensa.sc: Likewise.
* scripttempl/iq2000.sc: Likewise.
* scripttempl/mep.sc: Likewise.
* scripttempl/xstormy16.sc: Likewise.

14 years agodaily update
Alan Modra [Mon, 28 Sep 2009 00:00:17 +0000 (00:00 +0000)]
daily update

14 years ago* ldlang.c (lang_size_sections_1): Always force output vma to zero for
Christopher Faylor [Sun, 27 Sep 2009 16:08:34 +0000 (16:08 +0000)]
* ldlang.c (lang_size_sections_1): Always force output vma to zero for
relocatable sections.
(lang_size_sections_1): Revert previous COFF-only accommodation for relocatable
sections.

14 years ago * testsuite/initpri1.c: Don't try to use constructor priorities if
Ian Lance Taylor [Sun, 27 Sep 2009 05:20:03 +0000 (05:20 +0000)]
* testsuite/initpri1.c: Don't try to use constructor priorities if
compiling with gcc before 4.3.

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

14 years agomerge from gcc
DJ Delorie [Sat, 26 Sep 2009 00:01:16 +0000 (00:01 +0000)]
merge from gcc

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

14 years ago2009-09-25 Michael Eager <eager@eagercon.com>
Michael Eager [Fri, 25 Sep 2009 19:59:51 +0000 (19:59 +0000)]
2009-09-25  Michael Eager  <eager@eagercon.com>

* microblaze-dis.c (get_insn_microblaze, microblaze_get_target_address,
microblaze_decode_insn): Add declarations.
(get_delay_slots_microblaze): Remove.

14 years ago * configure.ac: Pass any --cache-file=/dev/null option on to
Nick Clifton [Fri, 25 Sep 2009 19:25:04 +0000 (19:25 +0000)]
    * configure.ac: Pass any --cache-file=/dev/null option on to
        subconfigures.
        * configure: Regenerate.

14 years ago Update soruces to make alpha, arc and arm targets compile cleanly
Nick Clifton [Fri, 25 Sep 2009 19:13:27 +0000 (19:13 +0000)]
    Update soruces to make alpha, arc and arm targets compile cleanly
        with -Wc++-compat:
        * config/tc-alpha.c: Add casts.
        (extended_bfd_reloc_code_real_type): New type. Used to avoid
        enumeration conversion warnings.
        (struct alpha_fixup, void assemble_insn, assemble_insn)
        (assemble_tokens): Use new type.
        * ecoff.c: Add casts. (mark_stabs): Use enumeration names.
        * config/obj-elf.c: Add cast
        * config/tc-arc.c: Add casts.
        * config/obj-aout.h (text_section,data_section,bss_section):
        Make extern.
        * config/obj-elf.c: Add cast.
        * config/tc-arm.c: Add casts.
        (X, TxCE, TxCE, TxC3, TxC3w, TxCM_, TxCM, TUE, TUF, CE, CL, cCE)
        (cCL, C3E, xCM_, nUF, nCE_tag): Change input format to avoid the
        need for keywords as arguments.
        * ecoff.c: Add casts.
        * ecofflink.c: Add casts.
        * elf64-alpha.c: Add casts.
        (struct alpha_elf_got_entry, struct alpha_elf_reloc_entry): Move
        to top level.
        (SKIP_HOWTO): Use enum name.
        * elf32-arm.c: Add casts.
        (elf32_arm_vxworks_bed): Update code to avoid multiple
        declarations.
        (struct map_stub): Move to top level.
        * arc-dis.c Fix casts.
        * arc-ext.c: Add casts.
        * arm-dis.c (enum opcode_sentinel_enum): Gave name to anonymous
        enum.
        * emultempl/armelf.em: Add casts.

14 years agomerge from gcc
DJ Delorie [Fri, 25 Sep 2009 19:02:00 +0000 (19:02 +0000)]
merge from gcc

14 years ago2009-09-25 Nick Hudson <nick.hudson@gmx.co.uk>
Nick Hudson [Fri, 25 Sep 2009 18:58:58 +0000 (18:58 +0000)]
2009-09-25  Nick Hudson  <nick.hudson@gmx.co.uk>

* doc/c-mips.texi: Fix the singlefloat and doublefloat kindex
entries.

14 years ago * m32r.cpu (stb-plus): Typo fix.
Alan Modra [Fri, 25 Sep 2009 14:07:07 +0000 (14:07 +0000)]
* m32r.cpu (stb-plus): Typo fix.

14 years ago PR 10656
Nick Clifton [Fri, 25 Sep 2009 09:57:50 +0000 (09:57 +0000)]
    PR 10656
        * readelf.c: Remove duplicate declaration of variable do_wide.
        * dwarf.h: Add export of do_wide.

        * hist.h: Move declaration of histograms and num_histograms
        variables from here to...
        * hist.c: ...here.

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

14 years agoinclude/
Cary Coutant [Thu, 24 Sep 2009 20:52:07 +0000 (20:52 +0000)]
include/

* dwarf2.h (DW_TAG_rvalue_reference_type, DW_TAG_template_alias):
New tags.
(DW_FORM_ref_sig8): New name for DW_FORM_sig8.
(DW_AT_main_subprogram, DW_AT_data_bit_offset, DW_AT_const_expr,
DW_AT_enum_class, DW_AT_linkage_name, DW_AT_GNU_guarded_by,
DW_AT_GNU_pt_guarded_by, DW_AT_GNU_guarded, DW_AT_GNU_pt_guarded,
DW_AT_GNU_locks_excluded, DW_AT_GNU_exclusive_locks_required,
DW_AT_GNU_shared_locks_required, DW_AT_GNU_odr_signature): New
attributes.
(DW_LANG_Python): New language.

binutils/

* dwarf.c (get_TAG_name): Add missing DWARF-3 and new DWARF-4 tags.
(get_FORM_name): Add new DWARF-4 forms.
(read_and_display_attr_value): Add DW_FORM_ref_sig8, DW_LANG_Python.
(get_AT_name): Add new DWARF-4 and GNU-specific attributes.
(process_debug_info): Add do_types parameter; change all callers.
Add support for .debug_types sections.
(display_debug_types): New function.
(debug_displays): Add .debug_types section.
* readelf.c (process_section_headers): Add .debug_types section.
(display_debug_section): Simplify call to streq.

14 years agogas/
H.J. Lu [Thu, 24 Sep 2009 16:37:09 +0000 (16:37 +0000)]
gas/

2009-09-24  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (build_vex_prefix): Check vex == 2 instead
of vex256.

opcodes/

2009-09-24  H.J. Lu  <hongjiu.lu@intel.com>

* i386-gen.c (opcode_modifiers): Remove Vex256.
(set_bitfield): Handle XXX=V.

* i386-opc.h (Vex): Update comments.
(Vex256): Removed.
(VexNDS): Updated.
(i386_opcode_modifier): Change vex to 2 bits.  Remove vex256.

* i386-opc.tbl: Replace "Vex|Vex256" with Vex=2.
* i386-tbl.h: Regenerated.

14 years agobfd/
H.J. Lu [Thu, 24 Sep 2009 15:56:52 +0000 (15:56 +0000)]
bfd/

2009-09-24  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/10630
* elflink.c (elf_link_output_extsym): Turn off visibility on
local symbol.
(bfd_elf_final_link): Turn off visibility on dynamic local
symbol.

ld/testsuite/

2009-09-24  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/10630
* ld-alpha/tlsbin.rd: Remove HIDDEN/.hidden on local symbols.
* ld-alpha/tlsbinr.rd: Likewise.
* ld-alpha/tlspic.rd: Likewise.
* ld-cris/libdso-2.d: Likewise.
* ld-cris/locref1.d: Likewise.
* ld-cris/locref2.d: Likewise.
* ld-cris/tls-e-20a.d: Likewise.
* ld-cris/tls-e-20.d: Likewise.
* ld-cris/tls-e-80.d: Likewise.
* ld-cris/tls-gc-68.d: Likewise.
* ld-cris/tls-gc-69.d: Likewise.
* ld-cris/tls-gc-70.d: Likewise.
* ld-cris/tls-gc-75.d: Likewise.
* ld-cris/tls-gc-76.d: Likewise.
* ld-cris/tls-gc-79.d: Likewise.
* ld-cris/tls-gd-1h.d: Likewise.
* ld-cris/tls-gd-2h.d: Likewise.
* ld-cris/tls-ld-4.d: Likewise.
* ld-cris/tls-ld-5.d: Likewise.
* ld-cris/tls-ld-6.d: Likewise.
* ld-cris/tls-ld-7.d: Likewise.
* ld-cris/tls-ldgd-14.d: Likewise.
* ld-cris/tls-ldgd-15.d: Likewise.
* ld-cris/tls-local-63.d: Likewise.
* ld-cris/tls-local-64.d: Likewise.
* ld-elf/pr9676.rd: Likewise.
* ld-elf/pr9679.rd: Likewise.
* ld-elfvsb/hidden2.d: Likewise.
* ld-i386/tlsbindesc.rd: Likewise.
* ld-i386/tlsbin.rd: Likewise.
* ld-i386/tlsdesc.rd: Likewise.
* ld-i386/tlsgdesc.rd: Likewise.
* ld-i386/tlsnopic.rd: Likewise.
* ld-i386/tlspic.rd: Likewise.
* ld-ia64/tlsbin.rd: Likewise.
* ld-ia64/tlspic.rd: Likewise.
* ld-powerpc/tlsexe32.r: Likewise.
* ld-powerpc/tlsexe.r: Likewise.
* ld-powerpc/tlsexetoc.r: Likewise.
* ld-powerpc/tlsso32.r: Likewise.
* ld-powerpc/tlsso.r: Likewise.
* ld-powerpc/tlstocso.r: Likewise.
* ld-s390/tlsbin_64.rd: Likewise.
* ld-s390/tlsbin.rd: Likewise.
* ld-s390/tlspic_64.rd: Likewise.
* ld-s390/tlspic.rd: Likewise.
* ld-sparc/gotop32.rd: Likewise.
* ld-sparc/gotop64.rd: Likewise.
* ld-sparc/tlssunbin32.rd: Likewise.
* ld-sparc/tlssunbin64.rd: Likewise.
* ld-sparc/tlssunnopic32.rd: Likewise.
* ld-sparc/tlssunnopic64.rd: Likewise.
* ld-sparc/tlssunpic32.rd: Likewise.
* ld-sparc/tlssunpic64.rd: Likewise.
* ld-x86-64/tlsbindesc.rd: Likewise.
* ld-x86-64/tlsbin.rd: Likewise.
* ld-x86-64/tlsdesc.rd: Likewise.
* ld-x86-64/tlsgdesc.rd: Likewise.
* ld-x86-64/tlspic.rd: Likewise.
* ld-xtensa/tlsbin.rd: Likewise.
* ld-xtensa/tlspic.rd: Likewise.

* ld-elf/local1.d: New.
* ld-elf/local1.map: Likewise.
* ld-elf/local1.s: Likewise.
* ld-ia64/local1.d: Likewise.
* ld-ia64/local1.map: Likewise.
* ld-ia64/local1.s: Likewise.

14 years ago * readelf.c (print_dynamic_symbol): Format entries as for
Alan Modra [Thu, 24 Sep 2009 15:13:16 +0000 (15:13 +0000)]
* readelf.c (print_dynamic_symbol): Format entries as for
normal symbol table.
(process_symbol_table): Use -7s format string for visibility.

14 years agogas/
H.J. Lu [Thu, 24 Sep 2009 14:36:48 +0000 (14:36 +0000)]
gas/

2009-09-24  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/10677
* config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Return true
for BFD_RELOC_X86_64_GOTPCREL.

gas/testsuite/

2009-09-24  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/10677
* gas/i386/i386.exp: Run x86-64-localpic.

* gas/i386/x86-64-localpic.d: New.
* gas/i386/x86-64-localpic.s: Likewise.

14 years ago2009-09-23 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 24 Sep 2009 05:08:24 +0000 (05:08 +0000)]
2009-09-23  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/localpic.d: Updated.

14 years agogas/
H.J. Lu [Thu, 24 Sep 2009 03:23:52 +0000 (03:23 +0000)]
gas/

2009-09-23  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Don't check
BFD_RELOC_386_GOT32.

gas/testsuite/

2009-09-23  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/i386.exp: Run localpic.

* gas/i386/localpic.d: New.
* gas/i386/localpic.s: Likewise.

14 years ago PR binutils/10654
Alan Modra [Thu, 24 Sep 2009 00:11:51 +0000 (00:11 +0000)]
PR binutils/10654
* dwarf2.c (lookup_address_in_line_info_table): Remove workaround
for invalid location lists generated by gcc-2.95 and Intel 6.0 C++.
Remove "function" parm, adjust caller.

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

14 years ago * m32r.cpu (sth-plus): Fix address mode and calculation.
Doug Evans [Wed, 23 Sep 2009 22:30:55 +0000 (22:30 +0000)]
* m32r.cpu (sth-plus): Fix address mode and calculation.
(stb-plus): Ditto.
(clrpsw): Fix mask calculation.
(bset, bclr, btst): Make mode in bit calculation match expression.

* xc16x.cpu (rtl-version): Set to 0.8.
(gr-names, ext-names,psw-names): Update, print-name -> enum-prefix,
make uppercase.  Remove unnecessary name-prefix spec.
(grb-names, conditioncode-names, extconditioncode-names): Ditto.
(grb8-names, r8-names, regmem8-names, regdiv8-names): Ditto.
(reg0-name, reg0-name1, regbmem8-names, memgr8-names): Ditto.
(h-cr): New hardware.
(muls): Comment out parts that won't compile, add fixme.
(mulu, divl, divlu, jmpabs, jmpa-, jmprel, jbc, jnbs, callr): Ditto.
(scxti, scxtmg, scxtm, bclear, bclr18, bset19, bitset, bmov): Ditto.
(bmovn, band, bor, bxor, bcmp, bfldl, bfldh): Ditto.

14 years agomerge from gcc
DJ Delorie [Wed, 23 Sep 2009 17:59:27 +0000 (17:59 +0000)]
merge from gcc

14 years ago2009-09-22 Sterling Augustine <sterling@tensilica.com>
Sterling Augustine [Wed, 23 Sep 2009 15:11:48 +0000 (15:11 +0000)]
2009-09-22  Sterling Augustine  <sterling@tensilica.com>

     * config/tc-xtensa.c (md_apply_fix): Remove check for constant
     with difference of of two symbols.
     (xtensa_fix_adjustable): Likewise.

14 years agobfd/
Alan Modra [Wed, 23 Sep 2009 13:54:29 +0000 (13:54 +0000)]
bfd/
* bfd-in.h (bfd_elf_size_dynamic_sections): Add audit and depaudit
arguments.
* elflink.c (bfd_elf_size_dynamic_sections): Generate DT_AUDIT,
DT_DEPAUDIT from audit/depaudit arguments.
(elf_finalize_dynstr): Finalize DT_AUDIT and DT_DEPAUDIT strtab entries.
(elf_link_add_object_symbols): Set dt_audit target data when finding a
DT_AUDIT.
* bfd-in2.h: Regenerate.
* bfd-elf.h: Add dt_audit to elf_obj_tdata, and elf_dt_audit macro.
ld/
* emultempl/elf32.em (gld${EMULATION_NAME}_add_options): Add --audit,
--depaudit, and -P options.
(gld${EULATION_NAME}_handle_options): Ditto.
(gld${EULATION_NAME}_list_options): Ditto.
(gld${EMULATION_NAME}_append_to_separated_string): New function for
handling rpath-like colon separated strings.
(gld${EMULATION_NAME}_before_allocation): Pass the audit and depaudit
libs to bfd.  Propagate DT_AUDIT from needed libs to depaudit.
* ld.texinfo: Document new options.
ld/testsuite/
* ld-elf/audit.exp: New.
* ld-elf/audit.rd: New.
* ld-elf/depaudit.rd: New.
* ld-elf/depaudit2.rd: New.

14 years agoUpdated French and Vietnamese translations.
Nick Clifton [Wed, 23 Sep 2009 10:09:19 +0000 (10:09 +0000)]
Updated French and Vietnamese translations.