OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
17 years ago2007-02-07 Paul Brook <paul@codesourcery.com>
Paul Brook [Wed, 7 Feb 2007 17:06:20 +0000 (17:06 +0000)]
2007-02-07  Paul Brook  <paul@codesourcery.com>

ld/
* configure.tgt: Add arm*-*-uclinux-*eabi.
gas/
* configure.tgt: Ditto.

17 years agoAdd myself as maintainer of the MeP port.
Dave Brolley [Wed, 7 Feb 2007 16:55:29 +0000 (16:55 +0000)]
Add myself as maintainer of the MeP port.

17 years agodaily update
Alan Modra [Tue, 6 Feb 2007 23:00:07 +0000 (23:00 +0000)]
daily update

17 years agoAdd myself as the maintainer of the MeP port.
Dave Brolley [Tue, 6 Feb 2007 21:00:12 +0000 (21:00 +0000)]
Add myself as the maintainer of the MeP port.

17 years agoFix entries for MeP submission.
Dave Brolley [Tue, 6 Feb 2007 19:51:33 +0000 (19:51 +0000)]
Fix entries for MeP submission.

17 years agoFix entries for MeP submission and complex relocations.
Dave Brolley [Tue, 6 Feb 2007 18:53:45 +0000 (18:53 +0000)]
Fix entries for MeP submission and complex relocations.

17 years agoFix entries for MeP submission.
Dave Brolley [Tue, 6 Feb 2007 18:16:55 +0000 (18:16 +0000)]
Fix entries for MeP submission.

17 years agoFix entries for MeP port and complex relocations.
Dave Brolley [Tue, 6 Feb 2007 18:10:34 +0000 (18:10 +0000)]
Fix entries for MeP port and complex relocations.

17 years agoAdd missing cast to (unsigned long)
Nick Clifton [Tue, 6 Feb 2007 16:47:47 +0000 (16:47 +0000)]
Add missing cast to (unsigned long)

17 years ago2007-02-06 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 6 Feb 2007 16:03:52 +0000 (16:03 +0000)]
2007-02-06  H.J. Lu  <hongjiu.lu@intel.com>

* ldlang.c (lang_size_sections_1): Add a missing `)'.

17 years agoPR ld/3805
Nick Clifton [Tue, 6 Feb 2007 15:26:53 +0000 (15:26 +0000)]
PR ld/3805
* ld-elf/sec64k.exp: Expect the relocatable version of this test to fail for
  the m32r because it creates both .rel and .rela sections.

17 years agoPR gas/3800
Nick Clifton [Tue, 6 Feb 2007 15:15:13 +0000 (15:15 +0000)]
PR gas/3800
* readelf.c: Include elf/h8.h twice.  The first time in order to get the reloc
  numbers, the second time in order to get the reloc decoder function.
  (dump_section): Tell the user if the section being displayed has unprocessed
  relocs associated with it.
  (get_reloc_size): New function - returns the size of a reloc.
  (debug_apply_rela_addends): Use get_reloc_size().
* dwarf.c (read_and_display_attr_value): Extend number of languages known for
  the DW_AT_language attribute.
  (process_debug_info): Display the attribute offset before decoding the
  attribute, in case there are problems.

17 years agoPR gas/3810 gas/3800
Nick Clifton [Tue, 6 Feb 2007 15:13:26 +0000 (15:13 +0000)]
PR gas/3810 gas/3800
* gas/elf/elf.exp: Expect the redef test to fail on targets which do not
  convert fixups against ordinary symbols into relocs against section symbols.
* gas/all/gas.exp: Likewise.

17 years agoFix comment attached to #endif
Nick Clifton [Tue, 6 Feb 2007 14:50:58 +0000 (14:50 +0000)]
Fix comment attached to #endif

17 years ago * ldlang.c (lang_size_sections_1): Don't warn on backwards dot
Alan Modra [Tue, 6 Feb 2007 13:56:38 +0000 (13:56 +0000)]
* ldlang.c (lang_size_sections_1): Don't warn on backwards dot
move unless section size is non-zero.

17 years ago2007-02-05 Dave Brolley <brolley@redhat.com>
Dave Brolley [Mon, 5 Feb 2007 23:15:38 +0000 (23:15 +0000)]
2007-02-05  Dave Brolley  <brolley@redhat.com>
            Stan Cox  <scox@redhat.com>

        PR ld/3972
        * elflink.c (elf_link_input_bfd): Always setup finfo->internal_syms.

17 years agodaily update
Alan Modra [Mon, 5 Feb 2007 23:00:10 +0000 (23:00 +0000)]
daily update

17 years agoRemove white spaces at the end of line.
H.J. Lu [Mon, 5 Feb 2007 20:53:09 +0000 (20:53 +0000)]
Remove white spaces at the end of line.

17 years agoSupport for Toshiba MeP.
Dave Brolley [Mon, 5 Feb 2007 20:16:32 +0000 (20:16 +0000)]
Support for Toshiba MeP.

17 years agoSupport for Toshiba MeP and for complex relocations.
Dave Brolley [Mon, 5 Feb 2007 20:10:25 +0000 (20:10 +0000)]
Support for Toshiba MeP and for complex relocations.

17 years ago2007-02-05 Dave Brolley <brolley@redhat.com>
Dave Brolley [Mon, 5 Feb 2007 20:04:22 +0000 (20:04 +0000)]
2007-02-05  Dave Brolley  <brolley@redhat.com>

        * mep-*: New support for Toshiba Media Processor (MeP).
        * Makefile.am: Add support for MeP.
        * configure.in: Likewise.
        * disassemble.c: Likewise.
        * Makefile.in: Regenerated.
        * configure: Regenerated.

17 years ago2007-02-05 Dave Brolley <brolley@redhat.com>
Dave Brolley [Mon, 5 Feb 2007 19:56:32 +0000 (19:56 +0000)]
2007-02-05  Dave Brolley  <brolley@redhat.com>

        * readelf.c (dump_relocations): Don't check for
        (rtype == NULL && type == R_RELC).

2007-02-05  Dave Brolley  <brolley@redhat.com>

        * Contribute the following changes:
        2003-10-29  Dave Brolley  <brolley@redhat.com>

        * configure.in: Define SKIP_ZEROES and SKIP_ZEROES_AT_END for mep.
        * configure: Regenerated.

        2001-04-03  Ben Elliston  <bje@redhat.com>

        * readelf.c: Include "elf/mep.h".
        (guess_is_rela): Handle EM_CYGNUS_MEP.
        (get_machine_name): Ditto.
        (dump_relocations): Ditto.

17 years agoAdd correct entrty for the addition of MeP.
Dave Brolley [Mon, 5 Feb 2007 19:55:14 +0000 (19:55 +0000)]
Add correct entrty for the addition of MeP.

17 years agoSupport for Toshiba MeP and for complex relocations.
Dave Brolley [Mon, 5 Feb 2007 19:50:11 +0000 (19:50 +0000)]
Support for Toshiba MeP and for complex relocations.

17 years agoFix year.
H.J. Lu [Mon, 5 Feb 2007 19:49:22 +0000 (19:49 +0000)]
Fix year.

17 years agoFix year in entries.
H.J. Lu [Mon, 5 Feb 2007 19:37:12 +0000 (19:37 +0000)]
Fix year in entries.

17 years ago2007-02-05 Dave Brolley <brolley@redhat.com>
Dave Brolley [Mon, 5 Feb 2007 19:17:10 +0000 (19:17 +0000)]
2007-02-05  Dave Brolley  <brolley@redhat.com>

        * Contribute the following changes:
        2001-03-26  Ben Elliston  <bje@redhat.com>

        * dis-asm.h (print_insn_mep): Declare.

17 years ago2007-02-05 Dave Brolley <brolley@redhat.com>
Dave Brolley [Mon, 5 Feb 2007 19:15:43 +0000 (19:15 +0000)]
2007-02-05  Dave Brolley  <brolley@redhat.com>

        * Contribute the following Changes:
        2005-08-22  Dave Brolley  <brolley@redhat.com>

        * mep.h (EF_MEP_CPU_C4): New macro.
        (EF_MEP_CPU_H1): Change to 0x10000000.

        2005-04-22  Richard Sandiford  <rsandifo@redhat.com>

        * mep.h (EF_MEP_LIBRARY): New flag.
        (EF_MEP_ALL_FLAGS): Update accordingly.

        2004-06-21  Dave Brolley  <brolley@redhat.com>

        * mep.h (EF_MEP_CPU_MASK, EF_MEP_CPU_MEP, EF_MEP_CPU_C2)
        (EF_MEP_CPU_C3, EF_MEP_CPU_H1, EF_MEP_INDEX_MASK)
        (EF_MEP_ALL_FLAGS): New macros.

        2001-09-28  Richard Henderson  <rth@redhat.com>

        * mep.h (SHF_MEP_VLIW, SEC_MEP_VLIW): New.

        2001-07-12  DJ Delorie  <dj@redhat.com>

        * mep.h (R_MEP_GNU_VTINHERIT, R_MEP_GNU_VTENTRY): Mark as no-overflow.

        2001-06-25  DJ Delorie  <dj@redhat.com>

        * mep.h: Add vtable relocs.

        2001-05-10  DJ Delorie  <dj@redhat.com>

        * mep.h: Fix bit offsets for HI16*, make them no-overflow.  Add
        comment about mep-relocs.pl.

        2001-05-01  DJ Delorie  <dj@redhat.com>

        * mep.h: Add MeP-specific relocs.

        2001-03-22  Ben Elliston  <bje@redhat.com>

        * mep.h: New file.

        2001-03-20  Ben Elliston  <bje@redhat.com>

        * common.h (EM_CYGNUS_MEP): Define.

17 years ago2007-02-05 Dave Brolley <brolley@redhat.com>
Dave Brolley [Mon, 5 Feb 2007 19:15:07 +0000 (19:15 +0000)]
2007-02-05  Dave Brolley  <brolley@redhat.com>

        * Contribute the following Changes:
        2005-08-22  Dave Brolley  <brolley@redhat.com>

        * mep.h (EF_MEP_CPU_C4): New macro.
        (EF_MEP_CPU_H1): Change to 0x10000000.

        2005-04-22  Richard Sandiford  <rsandifo@redhat.com>

        * mep.h (EF_MEP_LIBRARY): New flag.
        (EF_MEP_ALL_FLAGS): Update accordingly.

        2004-06-21  Dave Brolley  <brolley@redhat.com>

        * mep.h (EF_MEP_CPU_MASK, EF_MEP_CPU_MEP, EF_MEP_CPU_C2)
        (EF_MEP_CPU_C3, EF_MEP_CPU_H1, EF_MEP_INDEX_MASK)
        (EF_MEP_ALL_FLAGS): New macros.

        2001-09-28  Richard Henderson  <rth@redhat.com>

        * mep.h (SHF_MEP_VLIW, SEC_MEP_VLIW): New.

        2001-07-12  DJ Delorie  <dj@redhat.com>

        * mep.h (R_MEP_GNU_VTINHERIT, R_MEP_GNU_VTENTRY): Mark as no-overflow.

        2001-06-25  DJ Delorie  <dj@redhat.com>

        * mep.h: Add vtable relocs.

        2001-05-10  DJ Delorie  <dj@redhat.com>

        * mep.h: Fix bit offsets for HI16*, make them no-overflow.  Add
        comment about mep-relocs.pl.

        2001-05-01  DJ Delorie  <dj@redhat.com>

        * mep.h: Add MeP-specific relocs.

        2001-03-22  Ben Elliston  <bje@redhat.com>

        * mep.h: New file.

        2001-03-20  Ben Elliston  <bje@redhat.com>

        * common.h (EM_CYGNUS_MEP): Define.

2007-02-15  Dave Brolley  <brolley@redhat.com>

        From Graydon Hoare  <graydon@redhat.com>:
        * common.h (STT_RELC, STT_SRELC, R_RELC): New macros.

17 years ago2007-02-05 Dave Brolley <brolley@redhat.com>
Dave Brolley [Mon, 5 Feb 2007 19:12:54 +0000 (19:12 +0000)]
2007-02-05  Dave Brolley  <brolley@redhat.com>

        * mt-mep: New.

17 years ago2007-02-05 Dave Brolley <brolley@redhat.com>
Dave Brolley [Mon, 5 Feb 2007 19:10:45 +0000 (19:10 +0000)]
2007-02-05  Dave Brolley  <brolley@redhat.com>

        * Contribute the following changes:
        2006-11-28  DJ Delorie  <dj@redhat.com>

        * configure.in: Fix typo for mep's target_makefile_frag.
        * configure: Regenerated.

        2005-04-22  Richard Sandiford  <rsandifo@redhat.com>

        * configure.in (mep*): Add -mlibrary to FLAGS_FOR_TARGET.
        * configure: Regenerate.

        2001-09-19  DJ Delorie  <dj@redhat.com>

        * configure.in (target_makefile_frag): use mt-mep

        2001-06-12  Don Howard  <dhoward@redhat.com>

        * configure.in: Remove gdb from MeP skip list.

        2001-04-05  DJ Delorie  <dj@redhat.com>

        * configure.in (noconfigdirs): Remove gcc from MeP skip list.

        2001-03-20  Ben Elliston  <bje@redhat.com>

        * configure.in (noconfigdirs): Add gcc and gdb for MeP.

        2001-03-19  Ben Elliston  <bje@redhat.com>

        * config.sub (mep, mep-*): Add.

17 years agold/testsuite/
H.J. Lu [Mon, 5 Feb 2007 18:22:49 +0000 (18:22 +0000)]
ld/testsuite/

2076-02-05  H.J. Lu  <hongjiu.lu@intel.com>

* ld-i386/pcrel16.d: Undo the last change.
* ld-x86-64/pcrel16.d: Likewise.

opcodes/

2076-02-05  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (OP_J): Undo the last change. Properly handle 64K
wrap around within the same segment in 16bit mode.

17 years ago * elf32-xtensa.c (elf_xtensa_make_sym_local): Delete.
Bob Wilson [Mon, 5 Feb 2007 17:42:38 +0000 (17:42 +0000)]
* elf32-xtensa.c (elf_xtensa_make_sym_local): Delete.
(elf_xtensa_hide_symbol, elf_backend_hide_symbol): Delete.
(elf_xtensa_fix_refcounts, elf_xtensa_allocate_plt_size)
(elf_xtensa_allocate_got_size): Replace these with...
(elf_xtensa_allocate_dynrelocs): ...this new function.
(elf_xtensa_size_dynamic_sections): Use it.

17 years ago * elf32-xtensa.c (elf_howto_table) <R_XTENSA_GLOB_DAT>
Bob Wilson [Mon, 5 Feb 2007 17:18:39 +0000 (17:18 +0000)]
* elf32-xtensa.c (elf_howto_table) <R_XTENSA_GLOB_DAT>
<R_XTENSA_JMP_SLOT, R_XTENSA_RELATIVE, R_XTENSA_PLT, R_XTENSA_DIFF32>:
Set src_mask to zero.
<R_XTENSA_DIFF8, R_XTENSA_DIFF16>: Likewise.  Also fix dst_mask.
<R_XTENSA_ASM_EXPAND>: Set pcrel_offset to TRUE.

17 years ago2076-02-04 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 5 Feb 2007 02:36:47 +0000 (02:36 +0000)]
2076-02-04  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/3961
* gas/i386/secrel.d: Support 64bit host.

17 years agodaily update
Alan Modra [Sun, 4 Feb 2007 23:00:07 +0000 (23:00 +0000)]
daily update

17 years ago* config/tc-m32c.c (m32c_cons_fix_new): New. Added to support 3
DJ Delorie [Sun, 4 Feb 2007 04:45:36 +0000 (04:45 +0000)]
* config/tc-m32c.c (m32c_cons_fix_new): New.  Added to support 3
byte relocs.
* config/tc-m32c.h (TC_CONS_FIX_NEW): Define.
(m32c_cons_fix_new): Prototype.

17 years agodaily update
Alan Modra [Sat, 3 Feb 2007 23:00:07 +0000 (23:00 +0000)]
daily update

17 years ago * elf32-xtensa.c (xtensa_elf_dynamic_symbol_p): Renamed to...
Bob Wilson [Sat, 3 Feb 2007 06:34:22 +0000 (06:34 +0000)]
    * elf32-xtensa.c (xtensa_elf_dynamic_symbol_p): Renamed to...
        (elf_xtensa_dynamic_symbol_p): ...this.

17 years ago * elf32-xtensa.c (plt_reloc_count): Move into link hash table.
Bob Wilson [Sat, 3 Feb 2007 06:25:00 +0000 (06:25 +0000)]
    * elf32-xtensa.c (plt_reloc_count): Move into link hash table.
        (struct elf_xtensa_link_hash_table): New.
        (elf_xtensa_hash_table): New.
        (elf_xtensa_link_hash_table_create): New.
        (elf_xtensa_check_relocs): Update plt_reloc_count references.
        Update arguments to add_extra_plt_sections.
        (elf_xtensa_create_dynamic_sections): Record new sections in the hash
        table.  Update for plt_reloc_count and add_extra_plt_sections.
        (add_extra_plt_sections, elf_xtensa_create_plt_entry): Replace dynobj
        argument with link info.  Update calls to elf_xtensa_get_plt_section
        and elf_xtensa_get_gotplt_section.
        (elf_xtensa_allocate_local_got_size, elf_xtensa_size_dynamic_sections)
        (elf_xtensa_relocate_section, elf_xtensa_finish_dynamic_sections)
        (elf_xtensa_discard_info_for_section, shrink_dynamic_reloc_sections)
        (relax_property_section): Get sections from the hash table and update
        function calls.
        (elf_xtensa_get_plt_section, elf_xtensa_get_gotplt_section): Replace
        dynobj argument with link info.  Get sections for first plt chunk from
        the hash table.
        (bfd_elf32_bfd_link_hash_table_create): Define.

17 years agoCosmetic change.
H.J. Lu [Sat, 3 Feb 2007 00:55:42 +0000 (00:55 +0000)]
Cosmetic change.

17 years agold/testsuite/
H.J. Lu [Sat, 3 Feb 2007 00:46:22 +0000 (00:46 +0000)]
ld/testsuite/

2076-02-02  H.J. Lu  <hongjiu.lu@intel.com>

* ld-i386/pcrel16.d: Updated.
* ld-x86-64/pcrel16.d: Likewise.

opcodes/

2076-02-02  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (OP_J): Mask to 16bit only if there is a data16
prefix.

17 years ago * config/tc-xtensa.c (xg_build_to_insn): Use tinsn_init.
Bob Wilson [Sat, 3 Feb 2007 00:08:22 +0000 (00:08 +0000)]
* config/tc-xtensa.c (xg_build_to_insn): Use tinsn_init.
(xg_expand_assembly_insn, istack_push_space, istack_pop): Likewise.

17 years ago * config/tc-xtensa.c (SUFFIX_MAP, suffix_relocs): New.
Bob Wilson [Fri, 2 Feb 2007 23:59:29 +0000 (23:59 +0000)]
* config/tc-xtensa.c (SUFFIX_MAP, suffix_relocs): New.
(xtensa_elf_suffix): Use suffix_relocs instead of local mapping table.
(map_suffix_reloc_to_operator): New.
(map_operator_to_reloc): New.
(expression_maybe_register): Fix incorrect test of return value from
xtensa_elf_suffix.  Rearrange to use map_suffix_reloc_to_operator.
(xg_assemble_literal, convert_frag_immed): Use map_operator_to_reloc.

17 years ago * config/xtensa-istack.h (struct tinsn_struct): Delete fixup field.
Bob Wilson [Fri, 2 Feb 2007 23:26:53 +0000 (23:26 +0000)]
* config/xtensa-istack.h (struct tinsn_struct): Delete fixup field.
(tinsn_get_tok): Delete prototype.
* config/tc-xtensa.c (tinsn_get_tok): Delete.

17 years ago * config/xtensa-relax.h (struct build_instr): Delete id field.
Bob Wilson [Fri, 2 Feb 2007 23:09:50 +0000 (23:09 +0000)]
* config/xtensa-relax.h (struct build_instr): Delete id field.
* config/xtensa-relax.c (widen_spec_list): Remove zeros from LITERAL
and LABEL tokens.
(append_literal_op, append_label_op): Remove litnum/labnum arguments;
set op_data fields to zero.
(parse_id_constant): Delete.
(build_transition): Remove code to handle numbered literals and labels.

17 years agodaily update
Alan Modra [Fri, 2 Feb 2007 23:00:07 +0000 (23:00 +0000)]
daily update

17 years ago2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 2 Feb 2007 22:54:50 +0000 (22:54 +0000)]
2007-02-02  H.J. Lu  <hongjiu.lu@intel.com>

* avr-dis.c (avr_operand): Correct PR number in comment.

17 years agoFix typos in year.
H.J. Lu [Fri, 2 Feb 2007 22:15:52 +0000 (22:15 +0000)]
Fix typos in year.

17 years ago * config/xtensa-relax.c (build_transition): Remove code after as_fatal.
Bob Wilson [Fri, 2 Feb 2007 22:08:36 +0000 (22:08 +0000)]
* config/xtensa-relax.c (build_transition): Remove code after as_fatal.
(build_transition_table): Likewise.

17 years ago * elf-bfd.h (struct elf_obj_tdata): Change symbuf type to void *.
Jakub Jelinek [Fri, 2 Feb 2007 21:10:50 +0000 (21:10 +0000)]
* elf-bfd.h (struct elf_obj_tdata): Change symbuf type to void *.
* elf.c (struct elf_symbuf_symbol, struct elf_symbuf_head): New types.
(struct elf_symbol): Change first member into union.
(elf_sort_elf_symbol): Compare pointers to internal syms rather than
internal syms.  Only compare st_shndx fields.
(elf_create_symbuf): New function.
(bfd_elf_match_symbols_in_sections): Use it.  If symbufs are available
for bfds, use a binary search, otherwise don't qsort symbols
unnecessarily only to select which symbols are for the particular
shndx.

17 years ago2076-02-02 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 2 Feb 2007 17:16:08 +0000 (17:16 +0000)]
2076-02-02  H.J. Lu  <hongjiu.lu@intel.com>

* MAINTAINERS: Add a space between H.J. and Lu.

17 years agobinutils/
H.J. Lu [Fri, 2 Feb 2007 15:27:04 +0000 (15:27 +0000)]
binutils/

2076-02-02  H.J. Lu  <hongjiu.lu@intel.com>

* doc/binutils.texi (objdump): Document the new addr64 option
for i386 disassembler.

include/

2076-02-02  H.J. Lu  <hongjiu.lu@intel.com>

* dis-asm.h (print_i386_disassembler_options): New.

opcodes/

2076-02-02  H.J. Lu  <hongjiu.lu@intel.com>

* disassemble.c (disassembler_usage): Call
print_i386_disassembler_options for i386 disassembler.

* i386-dis.c (print_i386_disassembler_options): New.
(print_insn): Support the new addr64 option.

17 years ago2076-02-02 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 2 Feb 2007 13:59:54 +0000 (13:59 +0000)]
2076-02-02  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/3945
* configure.in (DLLTOOL_DEFAULT): New. Defined for the first PE
target.
(DLLTOOL_DEFS): Add $DLLTOOL_DEFAULT.
* configure: Regenerated.

* dlltool.c (mname): Defined with DLLTOOL_DEFAULT_XXX.

17 years agoPR gas/3812
Nick Clifton [Fri, 2 Feb 2007 13:10:59 +0000 (13:10 +0000)]
PR gas/3812
* gas/v850/v850e1.d: Correct expected disassembly of cmov insn to account for sign extension.

17 years ago* doc/binutils.texi (objdump): Document support for disassembling the 440 PowerPC...
Nick Clifton [Fri, 2 Feb 2007 12:43:35 +0000 (12:43 +0000)]
* doc/binutils.texi (objdump): Document support for disassembling the 440 PowerPC architecture.

17 years ago* ppc-dis.c (powerpc_dialect): Handle ppc440.
Nick Clifton [Fri, 2 Feb 2007 12:37:41 +0000 (12:37 +0000)]
* ppc-dis.c (powerpc_dialect): Handle ppc440.
* ppc-dis.c (print_ppc_disassembler_options): Note the -M440 can be used.

17 years ago * ppc-opc.c (insert_bdm): -Many comment.
Alan Modra [Fri, 2 Feb 2007 01:24:43 +0000 (01:24 +0000)]
* ppc-opc.c (insert_bdm): -Many comment.
(valid_bo): Add "extract" param.  Accept both powerpc and power4
BO fields when disassembling with -Many.
(insert_bo, extract_bo, insert_boe, extract_boe): Adjust valid_bo call.

17 years ago * config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Delete use of
Bob Wilson [Thu, 1 Feb 2007 23:54:59 +0000 (23:54 +0000)]
* config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Delete use of
fx_tcbit.
* config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Remove.

17 years agodaily update
Alan Modra [Thu, 1 Feb 2007 23:00:08 +0000 (23:00 +0000)]
daily update

17 years ago * write.h (struct fix <fx_pcrel_adjust, fx_size>): Move.
Alan Modra [Thu, 1 Feb 2007 14:12:20 +0000 (14:12 +0000)]
* write.h (struct fix <fx_pcrel_adjust, fx_size>): Move.
(struct fix <fx_plt>): Rename to tcbit2.
* write.c (fix_new_internal): Adjust.
(TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt.
* config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
* config/tc-cris.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
* config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
* config/tc-i960.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
* config/tc-sh.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
* config/tc-sh64.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
* config/tc-sparc.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
* config/tc-msp430.c (msp430_force_relocation_local): Likewise.
* config/tc-ia64.c (emit_one_bundle): Don't set fx_plt.
* config/tc-ia64.h (TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt.
Instead, compare fx_r_type.
* config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Use
fx_tcbit in place of fx_plt.
* config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Define.
* doc/internals.texi (TC_FORCE_RELOCATION_LOCAL): Remove reference
to fx_plt.

17 years agoPR ld/3852
Nick Clifton [Thu, 1 Feb 2007 09:03:25 +0000 (09:03 +0000)]
PR ld/3852
* elf.c (_bfd_elf_link_hash_table_init): Initialize all the fields in the
elf_link_hash_table structure.

17 years ago * elf-bfd.h (struct elf_backend_data): Add elf_backend_write_core_note.
Alan Modra [Thu, 1 Feb 2007 05:35:58 +0000 (05:35 +0000)]
* elf-bfd.h (struct elf_backend_data): Add elf_backend_write_core_note.
* elfxx-target.h (elf_backend_write_core_note): Define and use.
* elf.c (elfcore_write_prpsinfo): Call the above.  Add support for
32-bit core note on 64-bit target.
(elfcore_write_prstatus): Likewise.
(elfcore_write_lwpstatus): Make note_name const.
(elfcore_write_prfpreg): Likewise.
(elfcore_write_pstatus): Add support for 32-bit core note on 64-bit
target.
* elf32-ppc.c (ppc_elf_write_core_note): New function.
(elf_backend_write_core_note): Define.
* elf64-ppc.c (ppc64_elf_write_core_note): New function.
(elf_backend_write_core_note): Define.

17 years ago * ld-scripts/default-script.exp: Add "--local-store 0:0" to
Alan Modra [Thu, 1 Feb 2007 05:12:11 +0000 (05:12 +0000)]
* ld-scripts/default-script.exp: Add "--local-store 0:0" to
LDFLAGS for spu.

17 years agodaily update
Alan Modra [Wed, 31 Jan 2007 23:00:07 +0000 (23:00 +0000)]
daily update

17 years ago * Makefile.tpl (LDFLAGS): Substitute it.
Andreas Schwab [Wed, 31 Jan 2007 22:23:37 +0000 (22:23 +0000)]
* Makefile.tpl (LDFLAGS): Substitute it.
* Makefile.in: Regenerate.

17 years agomerge from gcc
DJ Delorie [Wed, 31 Jan 2007 20:25:23 +0000 (20:25 +0000)]
merge from gcc

17 years ago include/
Vladimir Prus [Wed, 31 Jan 2007 18:49:42 +0000 (18:49 +0000)]
    include/
        * libiberty.h (PEX_STDERR_TO_PIPE): New define.
        (PEX_BINARY_ERROR): New define.
        (pex_read_err): New function.

        libiberty/
        * pex-common.h (struct pex_obj): New fields
        stderr_pipe and read_err.
        * pex-common.c (pex_init_common): Initialize
        stderr_pipe.
        (pex_run_in_environment): Add error checking
        for PEX_STDERR_TO_PIPE.  Create a pipe
        for stderr if necessary.
        (pex_read_err): New.
        (pex_free): Close read_err.
        * pexecute.txh: Document changes.
        * functions.texi: Regenerated.

17 years ago2076-01-31 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 31 Jan 2007 14:28:03 +0000 (14:28 +0000)]
2076-01-31  H.J. Lu  <hongjiu.lu@intel.com>

* elf32-cris.c (INCLUDED_TARGET_FILE): Removed.
(elf32_bed): Defined for elf32-us-cris.

* elf64-sh64.c (elf64_bed): Defined for Linux.
(INCLUDED_TARGET_FILE): Removed.

* elfxx-target.h (elfNN_bed): Always define. Don't check
INCLUDED_TARGET_FILE.

17 years ago * dwarf.c (process_debug_info): Protect against bogus length and
Nathan Sidwell [Wed, 31 Jan 2007 08:42:45 +0000 (08:42 +0000)]
* dwarf.c (process_debug_info): Protect against bogus length and
abbrev offsets.

17 years ago* elf-m10300.c (mn10300_elf_relocate_section): Clarify the warning
DJ Delorie [Wed, 31 Jan 2007 06:11:48 +0000 (06:11 +0000)]
* elf-m10300.c (mn10300_elf_relocate_section): Clarify the warning
message for dangerous relocs, special case the common user error.

17 years agomerge from gcc
DJ Delorie [Tue, 30 Jan 2007 23:16:58 +0000 (23:16 +0000)]
merge from gcc

17 years ago * strsignal.c (psignal): Change type of signo to int.
Ben Elliston [Tue, 30 Jan 2007 23:13:04 +0000 (23:13 +0000)]
* strsignal.c (psignal): Change type of signo to int.
* functions.texi: Regenerate.

17 years agodaily update
Alan Modra [Tue, 30 Jan 2007 23:00:07 +0000 (23:00 +0000)]
daily update

17 years ago2007-01-30 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 30 Jan 2007 15:47:19 +0000 (15:47 +0000)]
2007-01-30  H.J. Lu  <hongjiu.lu@intel.com>

* elf.c (copy_elf_program_header): Start from the first section
in a segment and stop when all sections in a segment are
accounted for.

17 years ago* as.c (main): Mark symbols created via the --defsym command line
Nick Clifton [Tue, 30 Jan 2007 14:44:36 +0000 (14:44 +0000)]
* as.c (main): Mark symbols created via the --defsym command line
  option as volatile so that they can be overridden later on by a
  .set directive.  This maintains compatibility with the behaviour
  of earlier versions of the assembler.
* doc/as.texinfo (--defsym): Document that the defined symbol's
  value can be overridden via a .set directive.

17 years agodaily update
Alan Modra [Mon, 29 Jan 2007 23:00:10 +0000 (23:00 +0000)]
daily update

17 years ago * bfd-in2.h: Regenerate.
Julian Brown [Mon, 29 Jan 2007 16:29:21 +0000 (16:29 +0000)]
* bfd-in2.h: Regenerate.
* bfd-in.h (bfd_arm_vfp11_fix): New enum. Specify how VFP11
instruction scanning should be done.
(bfd_elf32_arm_init_maps, bfd_elf32_arm_vfp11_erratum_scan)
(bfd_elf32_arm_vfp11_fix_veneer_locations): Add prototypes.
(bfd_elf32_arm_set_target_relocs): Add vfp11 fix type argument to
prototype.
* elf-bfd.h (elf_backend_write_section): Add struct bfd_link_info
argument.
* elf32-arm.c (VFP11_ERRATUM_VENEER_SECTION_NAME)
(VFP11_ERRATUM_VENEER_ENTRY_NAME): Define macros.
(elf32_vfp11_erratum_type): New enum.
(elf32_vfp11_erratum_list): New struct. List of veneers or jumps to
veneers.
(_arm_elf_section_data): Add mapsize, erratumcount, erratumlist.
(elf32_arm_link_hash_table): Add vfp11_erratum_glue_size,
vfp11_fix and num_vfp11_fixes fields.
(elf32_arm_link_hash_table_create): Initialise vfp11_fix,
vfp11_erratum_glue_size, num_vfp11_fixes fields.
(VFP11_ERRATUM_VENEER_SIZE): Define. Size of an (ARM) veneer.
(bfd_elf32_arm_allocate_interworking_sections): Initialise erratum
glue section.
(elf32_arm_section_map_add): Add an code/data mapping symbol entry
to a section's map.
(record_vfp11_erratum_veneer): Create a single veneer, and its
associated symbols.
(bfd_elf32_arm_add_glue_sections_to_bfd): Add vfp11 erratum glue.
(bfd_elf32_arm_init_maps): Initialise mapping symbol table for input
BFDs.
(bfd_elf32_arm_set_vfp11_fix): Set the type of erratum workaround
required.
(bfd_arm_vfp11_pipe): Define VFP11 instruction pipes.
(bfd_arm_vfp11_regno): Recode a register number from a VFP11 insn.
(bfd_arm_vfp11_write_mask): Update write mask according to coded
register number.
(bfd_arm_vfp11_antidependency): New function.
(bfd_arm_vfp11_insn_decode): Decode a VFP11 insn.
(elf32_arm_compare_mapping): Declare.
(bfd_elf32_arm_vfp11_erratum_scan): Scan the sections of an input
BFD for potential erratum-triggering insns. Record results.
(bfd_elf32_arm_vfp11_fix_veneer_locations): Find out where veneers
and branches to veneers have been placed in virtual memory after
layout.
(bfd_elf32_arm_set_target_relocs): Set vfp11_fix field in global
hash table.
(elf32_arm_output_symbol_hook): Remove.
(elf32_arm_write_section): Output veneers, and branches to veneers.
Use maps from input sections, not output sections, for code
byte-swapping.
* elf32-ppc.c (ppc_elf_write_section): Add dummy link_info argument.
* elf32-score.c (_bfd_score_elf_write_section): Likewise.
* elfxx-mips.c (_bfd_mips_elf_write_section): Likewise.
* elfxx-mips.h (_bfd_mips_elf_write_section): Likewise.

17 years ago * NEWS: Mention --vfp11-denorm-fix option.
Julian Brown [Mon, 29 Jan 2007 16:28:40 +0000 (16:28 +0000)]
* NEWS: Mention --vfp11-denorm-fix option.
* ld.texinfo: Document above.
* emulparams/armelf_linux.sh (OTHER_TEXT_SECTIONS): Add
.vfp11_veneer section.
* emulparams/armelf.sh (OTHER_TEXT_SECTIONS): Likewise.
* emultempl/armelf.em (vfp11_denorm_fix): New static variable.
(arm_elf_before_allocation): Call bfd_elf32_arm_set_vfp11_fix,
bfd_elf32_arm_init_maps and bfd_elf32_arm_vfp11_erratum_scan.
(arm_elf_after_allocation): New function. Call
bfd_elf32_arm_vfp11_fix_veneer_locations for all input statements.
(arm_elf_create_output_section_statements): Pass vfp11 fix command
line option to BFD.
(OPTION_VFP11_DENORM_FIX): New option.
(PARSE_AND_LIST_LONGOPTS): Handle new option.
(PARSE_AND_LIST_OPTIONS): Likewise.
(PARSE_AND_LIST_ARGS_CASES): Likewise.
(LDEMUL_AFTER_ALLOCATION): Define.

17 years ago * ld-arm/arm-elf.exp: Add VFP11 tests.
Julian Brown [Mon, 29 Jan 2007 16:27:34 +0000 (16:27 +0000)]
* ld-arm/arm-elf.exp: Add VFP11 tests.
* ld-arm/vfp11-fix-none.s: New file.
* ld-arm/vfp11-fix-none.d: Expected disassembly of above.
* ld-arm/vfp11-fix-scalar.s: New file.
* ld-arm/vfp11-fix-scalar.d: Expected disassembly of above.
* ld-arm/vfp11-fix-vector.s: New file.
* ld-arm/vfp11-fix-vector.d: Expected disassembly of above.

17 years agodaily update
Alan Modra [Sun, 28 Jan 2007 23:00:09 +0000 (23:00 +0000)]
daily update

17 years ago2076-01-28 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sun, 28 Jan 2007 16:14:33 +0000 (16:14 +0000)]
2076-01-28  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (swap_imm_operands): Renamed to ...
(swap_2_operands): This.  Take 2 ints.
(md_assemble): Updated.
(swap_operands): Call swap_2_operands to swap 2 operands.

17 years agoAdd INCLUDED_TARGET_FILE.
H.J. Lu [Sun, 28 Jan 2007 02:16:07 +0000 (02:16 +0000)]
Add INCLUDED_TARGET_FILE.

17 years ago2076-01-27 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sun, 28 Jan 2007 02:13:58 +0000 (02:13 +0000)]
2076-01-27  H.J. Lu  <hongjiu.lu@intel.com>

* elf64-hppa.c (elf64_bed): Defined for HPUX and Linux.

17 years agodaily update
Alan Modra [Sat, 27 Jan 2007 23:00:08 +0000 (23:00 +0000)]
daily update

17 years ago * elf32-hppa.c (elf32_bed): Define for hpux, linux and netbsd.
Dave Anglin [Sat, 27 Jan 2007 22:43:49 +0000 (22:43 +0000)]
* elf32-hppa.c (elf32_bed): Define for hpux, linux and netbsd.
(INCLUDED_TARGET_FILE): Remove.

17 years agodaily update
Alan Modra [Fri, 26 Jan 2007 23:00:11 +0000 (23:00 +0000)]
daily update

17 years ago* elf32-m32c.c (m32c_elf_howto_table): Don't complain about
DJ Delorie [Fri, 26 Jan 2007 00:00:47 +0000 (00:00 +0000)]
* elf32-m32c.c (m32c_elf_howto_table): Don't complain about
R_M32C_16 or R_M32C_24 relocs.

17 years agodaily update
Alan Modra [Thu, 25 Jan 2007 23:00:08 +0000 (23:00 +0000)]
daily update

17 years ago * ar.c (print_contents, extract_file): Cast the return value
Kazu Hirata [Thu, 25 Jan 2007 15:40:22 +0000 (15:40 +0000)]
* ar.c (print_contents, extract_file): Cast the return value
of fwrite to size_t.

17 years agoPR binutils/3874
Nick Clifton [Thu, 25 Jan 2007 09:32:41 +0000 (09:32 +0000)]
PR binutils/3874
* elf32-avr.c (avr_link_hash_table): Check to make sure that the hash table was created by elf32_avr_link_hash_table_create before using it.
  (elf32_avr_link_hash_newfunc): New function.  Just pass the call through to _bfd_elf_link_hash_newfunc.
  (elf32_avr_link_hash_table_create): Use elf32_avr_link_hash_newfunc instead of _bfd_elf_link_hash_newfunc.
  (elf32_avr_relocate_section): Check for the hash table pointer being NULL.
  (elf32_avr_relax_section, avr_build_one_stub, elf32_avr_setup_params, get_local_syms, elf32_avr_size_stubs, elf32_avr_build_stubs): Likewise.

17 years agoAdd a space between date and name.
H.J. Lu [Thu, 25 Jan 2007 03:41:17 +0000 (03:41 +0000)]
Add a space between date and name.

17 years agodaily update
Alan Modra [Wed, 24 Jan 2007 23:00:07 +0000 (23:00 +0000)]
daily update

17 years ago* config/tc-m32c.c (md_pseudo_table): Add .3byte.
DJ Delorie [Wed, 24 Jan 2007 21:53:09 +0000 (21:53 +0000)]
* config/tc-m32c.c (md_pseudo_table): Add .3byte.

17 years ago2007-01-24 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 24 Jan 2007 16:08:53 +0000 (16:08 +0000)]
2007-01-24  H.J. Lu  <hongjiu.lu@intel.com>

* ldgram.y (SIZEOF_HEADERS): Remove duplicated one.
(DEFSYMEND): Likewise.
(NAME): Likewise.
(LNAME): Likewise.

17 years agodaily update
Alan Modra [Tue, 23 Jan 2007 23:00:06 +0000 (23:00 +0000)]
daily update

17 years ago * ld-elf/header.d: Reduce page size, restrict to linux & vxworks
Nathan Sidwell [Tue, 23 Jan 2007 16:42:43 +0000 (16:42 +0000)]
* ld-elf/header.d: Reduce page size, restrict to linux & vxworks
* ld-elf/header.s: Adjust.
* ld-elf/header.t: Reduce initial offset.

17 years ago * lib/ld-lib.exp (run_dump_test): Don't prematurely remove
Andreas Schwab [Tue, 23 Jan 2007 13:30:47 +0000 (13:30 +0000)]
* lib/ld-lib.exp (run_dump_test): Don't prematurely remove
assembler output.

17 years agodaily update
Alan Modra [Mon, 22 Jan 2007 23:00:08 +0000 (23:00 +0000)]
daily update

17 years agoCorrent PR # for PR 3830.
H.J. Lu [Mon, 22 Jan 2007 19:27:04 +0000 (19:27 +0000)]
Corrent PR # for PR 3830.