OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
14 years ago2009-09-15 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 15 Sep 2009 17:53:40 +0000 (17:53 +0000)]
2009-09-15  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (OP_E_memory): Don't print '-' in Intel mode if
disp == -disp.

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

* config/tc-i386.c (offset_in_range): Sign extend offset only
for 32bit address mode.

14 years agomerge from gcc
DJ Delorie [Tue, 15 Sep 2009 15:21:58 +0000 (15:21 +0000)]
merge from gcc

14 years ago2009-09-15 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Tue, 15 Sep 2009 10:58:28 +0000 (10:58 +0000)]
2009-09-15  Tristan Gingold  <gingold@adacore.com>

* makefile.vms (OBJS): Compile te-vms.c only on Itanium.

14 years ago * ld-elfcomm/elfcomm.exp: Add appropriate emulation option
Kaz Kojima [Tue, 15 Sep 2009 02:02:48 +0000 (02:02 +0000)]
* ld-elfcomm/elfcomm.exp: Add appropriate emulation option
for sh64*-*-*.
* ld-gc/gc.exp (test_gc): Likewise.

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

14 years agogas/
H.J. Lu [Mon, 14 Sep 2009 22:02:26 +0000 (22:02 +0000)]
gas/

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

PR gas/10637
* config/tc-i386-intel.c (intel_state): Add has_offset.
(i386_intel_simplify): Set intel_state.has_offset to 1 for
O_offset.
(i386_intel_operand): Turn on intel_state.is_mem if
intel_state.has_offset is 0 and the last char is ']'.

gas/testsuite/

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

PR gas/10637
* gas/i386/disp.s: Add tests for Intel syntax.
* gas/i386/x86-64-disp.s: Likewise.

* gas/i386/disp.d: Updated.
* gas/i386/intelok.d: Likewise.
* gas/i386/x86-64-disp.d: Likewise.

* gas/i386/disp-intel.d: New.
* gas/i386/x86-64-disp-intel.d: Likewise.

* gas/i386/i386.exp: Run disp-intel and x86-64-disp-intel.

14 years ago2009-09-14 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 14 Sep 2009 14:44:58 +0000 (14:44 +0000)]
2009-09-14  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/merom.[ds]: Renamed to ...
* gas/i386/ssse3.[ds]: This.

* gas/i386/nops-1-merom.d: Renamed to ...
* gas/i386/nops-1-core2.d: This.

* gas/i386/nops-2-merom.d: Renamed to ...
* gas/i386/nops-2-core2.d: This.

* gas/i386/prescott.[ds]: Renamed to ...
* gas/i386/sse3.[ds]: This.

* gas/i386/x86-64-merom.[ds]: Renamed to ...
* gas/i386/x86-64-ssse3.[ds]: This.

* gas/i386/x86-64-nops-1-merom.d: Renamed to ...
* gas/i386/x86-64-nops-1-core2.d: This.

* gas/i386/x86-64-prescott.[ds]: Renamed to ...
* gas/i386/x86-64-sse3.[ds]: This.

* gas/i386/i386.exp: Updated.

14 years ago2009-09-14 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 14 Sep 2009 14:07:26 +0000 (14:07 +0000)]
2009-09-14  H.J. Lu  <hongjiu.lu@intel.com>

* ld-undefined/entry-7.d: New.

14 years agogas/
H.J. Lu [Mon, 14 Sep 2009 13:57:45 +0000 (13:57 +0000)]
gas/

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

PR gas/10636
* config/tc-i386.c (optimize_disp): Set disp32 for 64bit only
if there is an ADDR_PREFIX.
(i386_finalize_displacement): Repor error if signed 32bit
displacement is out of range.

gas/testsuite/

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

PR gas/10636
* gas/i386/disp.d: New.
* gas/i386/disp.s: Likewise.
* gas/i386/x86-64-disp.d: Likewise.
* gas/i386/x86-64-disp.s: Likewise.

* gas/i386/i386.exp: Run disp and x86-64-disp.

* gas/i386/x86-64-addr32.s: Add high 32bit displacement tests.

* gas/i386/x86-64-addr32.d: Updated.
* gas/i386/x86-64-addr32-intel.d: Likewise.
* gas/i386/x86-64-inval.l: Likewise.
* gas/i386/x86-64-prescott.d: Likewise.

* gas/i386/x86-64-inval.s: Add invalid displacement tests.

* gas/i386/x86-64-prescott.s: Replace 0x90909090 displacement
with 0x909090.

14 years ago * readelf.c (process_version_sections, process_symbol_table):
Nick Clifton [Mon, 14 Sep 2009 12:29:50 +0000 (12:29 +0000)]
    * readelf.c (process_version_sections, process_symbol_table):
        Use symbolic constants.

14 years agoUpdated German, Dutch and Finnish translations.
Nick Clifton [Mon, 14 Sep 2009 12:24:29 +0000 (12:24 +0000)]
Updated German, Dutch and Finnish translations.

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

14 years agogas/
Richard Sandiford [Sun, 13 Sep 2009 19:18:11 +0000 (19:18 +0000)]
gas/
* config/tc-mips.c (MIPS_JALR_HINT_P): Take an expr argument.
Require the target to be a bare symbol on targets with
in-place addends.
(macro_build_jalr): Update accordingly.
(mips_fix_adjustable): Don't reduce R_MIPS_JALRs on targets
with in-place addends.

gas/testsuite/
* gas/mips/jalr2.s, gas/mips/jalr2.d: New test.
* gas/mips/jal-svr4pic.d: Don't expect R_MIPS_JALRs to be reduced.
* gas/mips/jal-xgot.d: Likewise.
* gas/mips/mips-abi32-pic2.d: Likewise.
* gas/mips/mips.exp: Run it.

14 years agogas/testsuite/
Richard Sandiford [Sun, 13 Sep 2009 18:56:03 +0000 (18:56 +0000)]
gas/testsuite/
* gas/mips/mips16-dwarf2-n32.d: Expect odd addresses.

ld/testsuite/
* ld-mips-elf/eh-frame1-n32.d: Change "the section \.eh_frame"
to "the \.eh_frame section".
* ld-mips-elf/eh-frame1-n64.d: Likewise.
* ld-mips-elf/eh-frame2-n32.d: Likewise.
* ld-mips-elf/eh-frame2-n64.d: Likewise.
* ld-mips-elf/eh-frame3.d: Likewise.
* ld-mips-elf/eh-frame4.d: Likewise.
* ld-mips-elf/elf-rel-got-n32.d: Expect bals.
* ld-mips-elf/elf-rel-xgot-n32.d: Likewise.
* ld-mips-elf/mips-elf.exp: Force the MIPS16 PIC tests to use -mips1.

14 years ago PR ld/6766
Alan Modra [Sun, 13 Sep 2009 07:19:18 +0000 (07:19 +0000)]
  PR ld/6766
* lexsup.c (parse_args <-e>): Revert 2009-03-18 change.
* ldemul.c (after_parse_default): Add entry symbol as undef.
* emultempl/alphaelf.em (alpha_after_parse): Call after_parse_default.
* emultempl/cr16elf.em (cr16elf_after_parse): Likewise.
* emultempl/crxelf.em (crxelf_after_parse): Likewise.
* emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
* emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Likewise.
* emultempl/pe.em (gld_${EMULATION_NAME}_after_parse): Call
after_parse_default and delete now duplicate code.
* emultempl/pep.em (gld_${EMULATION_NAME}_after_parse): Likewise.
* scripttempl/elf32cr16.sc: No need to make entry extern.
* scripttempl/elf32cr16c.sc: Likewise.
* scripttempl/elf32crx.sc: Likewise.
* scripttempl/elf32xc16xs.sc: Only provide ENTRY on final link.

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

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

14 years agomerge from gcc
DJ Delorie [Fri, 11 Sep 2009 16:05:46 +0000 (16:05 +0000)]
merge from gcc

14 years ago * po/bfd.pot: Updated by the Translation project.
Nick Clifton [Fri, 11 Sep 2009 15:27:38 +0000 (15:27 +0000)]
    * po/bfd.pot: Updated by the Translation project.
        * po/binutils.pot: Updated by the Translation project.
        * po/gold.pot: Updated by the Translation project.
        * po/gold.pot: Updated by the Translation project.
        * po/gprof.pot: Updated by the Translation project.
        * po/sv.po: Updated Swedish translation.
        * po/ld.pot: Updated by the Translation project.
        * po/fi.po: Updated Finnish translation.
        * po/ld.pot: Updated by the Translation project.
        * po/fi.po: Updated Finnish translation.

        Updated sources to compile cleanly with -Wc++-compat:
        * basic_blocks.c: Add casts.
        * cg_dfn.c: Add cast.
        * corefile.c: Add casts.
        * gmon_io.c: Add casts.
        * hist.c: Add cast.
        * source.c: Add cast.
        * sym_ids.c (struct match): Moved to top level.

        Updated soruces in ld/* to compile cleanly with -Wc++-compat:
        * ld.h (enum endian_enum,enum symbolic_enum,enum dynamic_list_enum): Move to top level.
        * ldcref.c: Add casts.
        * ldctor.c: Add casts.
        * ldexp.c
        * ldexp.h (enum node_tree_enum,enum phase_enum): Move to top level.
        * ldlang.c: Add casts. (lang_insert_orphan): Use enum name instead of integer.
        * ldlang.h (enum statement_enum): Move to top level.
        * ldmain.c: Add casts.
        * ldwrite.c: Add casts.
        * lexsup.c: Add casts. (enum control_enum): Move to top level.
        * mri.c: Add casts. (mri_draw_tree): Use enum name instead of integer.

        Updated sources to compile cleanly with -Wc++-compat:
        * basic_blocks.c: Add casts.
        * cg_dfn.c: Add cast.
        * corefile.c: Add casts.
        * gmon_io.c: Add casts.
        * hist.c: Add cast.
        * source.c: Add cast.
        * sym_ids.c (struct match): Moved to top level.

        * as.c (main): Call dwarf2_init.
        * config/obj-elf.c (struct group_list): New field.
        (build_group_lists): Use hash lookup.
        (free_section_idx): New function.
        (elf_frob_file): Adjust.
        * dwarf2dbg.c (all_segs_hash, last_seg_ptr): New variables.
        (get_line_subseg): Adjust.
        (dwarf2_init): New function.
        * dwarf2dbg.h (dwarf2_init): New declaration.

14 years ago * obcopy.c (copy_object): New parameter `input_arch', architecture
Nick Clifton [Fri, 11 Sep 2009 11:16:19 +0000 (11:16 +0000)]
   * obcopy.c (copy_object): New parameter `input_arch', architecture
       of input file, if not specified in input file itself; all callers
       updated; `binary_architecture' hack removed.
       (copy_archive, copy_file): New parameter `input_arch', for
       `copy_object' usage.
       (copy_main): Accept `-B' (`--binary-architecture') option also
       for any arch-less input ifile format, not only `binary'; remove
       bfd_external_binary_architecture hack; instead, add `input_arch'
       to calls to `copy_file'.
       * windres.c, windmc.c : Obsolete and useless external references
       to `bfd_external_binary_architecture' or `bfd_external_machine'
       removed.

       * binary.c (binary_object_p): Remove bfd_external_binary_architecture
       hack.  objcopy `-B' (`--binary-architecture') option is now handled
       in a generic way.

14 years agoChangelog entry for previous delta.
Nick Clifton [Fri, 11 Sep 2009 08:09:49 +0000 (08:09 +0000)]
Changelog entry for previous delta.

14 years ago * rs6000-core.c (read_hdr): Fix typo in recent C++ compatibility
Nick Clifton [Fri, 11 Sep 2009 08:08:11 +0000 (08:08 +0000)]
    * rs6000-core.c (read_hdr): Fix typo in recent C++ compatibility
        changes.

14 years agofile README.arcgdb was initially added on branch arc-insight_6_8-branch.
Joern Rennecke [Fri, 11 Sep 2009 04:45:41 +0000 (04:45 +0000)]
file README.arcgdb was initially added on branch arc-insight_6_8-branch.

14 years ago * ld-elf/warn2.d: `Foo' appears in section 3 when target
Jie Zhang [Fri, 11 Sep 2009 03:40:19 +0000 (03:40 +0000)]
* ld-elf/warn2.d: `Foo' appears in section 3 when target
is bfin-*-linux-uclibc.

14 years agoFix ChangeLog entry date of my last commit.
Jie Zhang [Fri, 11 Sep 2009 03:22:57 +0000 (03:22 +0000)]
Fix ChangeLog entry date of my last commit.

14 years ago * elf32-bfin.c (bfinfdpic_relocs_info_find): Just return
Jie Zhang [Fri, 11 Sep 2009 03:20:34 +0000 (03:20 +0000)]
* elf32-bfin.c (bfinfdpic_relocs_info_find): Just return
NULL if `ht' is NULL.

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

14 years ago PR gas/10623
Hans-Peter Nilsson [Thu, 10 Sep 2009 22:32:10 +0000 (22:32 +0000)]
PR gas/10623
* gas/mmix/err-swym1.s, gas/mmix/swym-opreg1.d,
gas/mmix/swym-opreg1.s, gas/mmix/swym-opreg2.d,
gas/mmix/swym-opreg2.s: New tests.
* gas/mmix/odd-1.d: Adjust for reloc change.

14 years ago PR gas/10623
Hans-Peter Nilsson [Thu, 10 Sep 2009 22:26:36 +0000 (22:26 +0000)]
PR gas/10623
* config/tc-mmix.c (md_assemble) <case mmix_operands_xyz_opt>:
Allow register operands for SWYM as for TRIP and TRAP.  Correct
operand handling and error checking.  Never emit
BFD_RELOC_MMIX_REG_OR_BYTE for operands to these insns.

14 years agofile arcompact-dis.h was initially added on branch binutils-arc-20081103-branch.
Joern Rennecke [Thu, 10 Sep 2009 15:09:45 +0000 (15:09 +0000)]
file arcompact-dis.h was initially added on branch binutils-arc-20081103-branch.

14 years agofile arc-opc-cgen.h was initially added on branch binutils-arc-20081103-branch.
Joern Rennecke [Thu, 10 Sep 2009 15:09:45 +0000 (15:09 +0000)]
file arc-opc-cgen.h was initially added on branch binutils-arc-20081103-branch.

14 years agofile arc-opc-cgen.c was initially added on branch binutils-arc-20081103-branch.
Joern Rennecke [Thu, 10 Sep 2009 15:09:45 +0000 (15:09 +0000)]
file arc-opc-cgen.c was initially added on branch binutils-arc-20081103-branch.

14 years agofile arc-dis-cgen.h was initially added on branch binutils-arc-20081103-branch.
Joern Rennecke [Thu, 10 Sep 2009 15:09:45 +0000 (15:09 +0000)]
file arc-dis-cgen.h was initially added on branch binutils-arc-20081103-branch.

14 years agofile arc-dis-cgen.c was initially added on branch binutils-arc-20081103-branch.
Joern Rennecke [Thu, 10 Sep 2009 15:09:45 +0000 (15:09 +0000)]
file arc-dis-cgen.c was initially added on branch binutils-arc-20081103-branch.

14 years agofile ChangeLog.ARC was initially added on branch binutils-arc-20081103-branch.
Joern Rennecke [Thu, 10 Sep 2009 15:09:44 +0000 (15:09 +0000)]
file ChangeLog.ARC was initially added on branch binutils-arc-20081103-branch.

14 years agofile elfarc.sc was initially added on branch binutils-arc-20081103-branch.
Joern Rennecke [Thu, 10 Sep 2009 15:09:44 +0000 (15:09 +0000)]
file elfarc.sc was initially added on branch binutils-arc-20081103-branch.

14 years agofile arclinux.sc was initially added on branch binutils-arc-20081103-branch.
Joern Rennecke [Thu, 10 Sep 2009 15:09:44 +0000 (15:09 +0000)]
file arclinux.sc was initially added on branch binutils-arc-20081103-branch.

14 years agofile arclinux.em was initially added on branch binutils-arc-20081103-branch.
Joern Rennecke [Thu, 10 Sep 2009 15:09:43 +0000 (15:09 +0000)]
file arclinux.em was initially added on branch binutils-arc-20081103-branch.

14 years agofile arclinux_prof.sh was initially added on branch binutils-arc-20081103-branch.
Joern Rennecke [Thu, 10 Sep 2009 15:09:43 +0000 (15:09 +0000)]
file arclinux_prof.sh was initially added on branch binutils-arc-20081103-branch.

14 years agofile arclinux.sh was initially added on branch binutils-arc-20081103-branch.
Joern Rennecke [Thu, 10 Sep 2009 15:09:43 +0000 (15:09 +0000)]
file arclinux.sh was initially added on branch binutils-arc-20081103-branch.

14 years agofile arcelf_prof.sh was initially added on branch binutils-arc-20081103-branch.
Joern Rennecke [Thu, 10 Sep 2009 15:09:43 +0000 (15:09 +0000)]
file arcelf_prof.sh was initially added on branch binutils-arc-20081103-branch.

14 years agofile configure.in was initially added on branch binutils-arc-20081103-branch.
Joern Rennecke [Thu, 10 Sep 2009 15:09:32 +0000 (15:09 +0000)]
file configure.in was initially added on branch binutils-arc-20081103-branch.

14 years agofile configure was initially added on branch binutils-arc-20081103-branch.
Joern Rennecke [Thu, 10 Sep 2009 15:09:32 +0000 (15:09 +0000)]
file configure was initially added on branch binutils-arc-20081103-branch.

14 years agofile arcsimd.s was initially added on branch binutils-arc-20081103-branch.
Joern Rennecke [Thu, 10 Sep 2009 15:09:32 +0000 (15:09 +0000)]
file arcsimd.s was initially added on branch binutils-arc-20081103-branch.

14 years agofile arcextlib.s was initially added on branch binutils-arc-20081103-branch.
Joern Rennecke [Thu, 10 Sep 2009 15:09:32 +0000 (15:09 +0000)]
file arcextlib.s was initially added on branch binutils-arc-20081103-branch.

14 years agofile Makefile.in was initially added on branch binutils-arc-20081103-branch.
Joern Rennecke [Thu, 10 Sep 2009 15:09:32 +0000 (15:09 +0000)]
file Makefile.in was initially added on branch binutils-arc-20081103-branch.

14 years agogas/
Alan Modra [Thu, 10 Sep 2009 14:31:23 +0000 (14:31 +0000)]
gas/
* config/tc-d10v.c: Include dwarf2dbg.h.
(write_long, write_1_short, write_2_short): Call dwarf2_emit_insn.
(d10v_frob_label): New function.
* config/tc-d10v.h (d10v_frob_label): Declare.
(tc_frob_label): Define as d10v_frob_label.
gas/testsuite/
* gas/lns/lns-common-1.s: Use two nops between each .loc.
* gas/lns/lns.exp: Don't exclude d10v.

14 years ago * config/tc-d30v.c (d30v_frob_label): Call dwarf2_emit_label.
Alan Modra [Thu, 10 Sep 2009 14:05:40 +0000 (14:05 +0000)]
* config/tc-d30v.c (d30v_frob_label): Call dwarf2_emit_label.
* config/tc-frv.c (frv_frob_label): Likewise.

14 years ago Updated soruces in binutils/* to compile cleanly with -Wc++-compat.
Nick Clifton [Thu, 10 Sep 2009 13:40:44 +0000 (13:40 +0000)]
    Updated soruces in binutils/* to compile cleanly with -Wc++-compat.

        * binutils/addr2line.c (slurp_symtab): Fix casts. Introduce
        variable minisyms to avoid aliasing varning.
        * binutils/ar.c: Add casts. (normalize): Use name del instead of
        delete. (display_target_list,display_info_table): Change loop
        counter variable a to int.
        * binutils/bucomm.c: Add casts.
        * binutils/debug.c: Update function to use new names. (struct
        debug_baseclass): Rename member from virtual to
        is_virtual. (struct debug_type_s,struct debug_field_s,struct
        debug_baseclass_s,struct debug_method_s,struct
        debug_method_variant_s,struct debug_type_s): Rename struct from
        avoid name collision.
        * /binutils/debug.h: Use new struct names.
        * binutils/dwarf.c: Add casts. (free_debug_memory): Change loop
        counter variable a to int.
        * binutils/ieee.c: Add casts. (enum ieee_var_kind): Move to top
        level. (ieee_class_baseclass): Rename parameter virtual to
        is_virtual. (ieee_class_method_var): Rename variable virtual to
        is_virtual.
        * binutils/nm.c: Add casts.
        * binutils/objcopy.c: Add casts. (copy_archive): Rename variable
        delete to del.
        * binutils/objdump.c: Add casts. (dump_dwarf_section): Change loop
        counter variable i to int.
        * binutils/prdbg.c: Add
        casts. (pr_class_baseclass,tg_class_baseclass): Rename parameters
        virtual to is_virtual.
        * binutils/readelf.c: Add casts. (struct
        ia64_unw_table_entry,struct hppa_unw_table_entry): Move to top
        level.
        * binutils/size.c: Add casts.
        * binutils/stabs.c (parse_stab_type, parse_stab_range_type)
        (parse_stab_cpp_abbrev): Rename parameter from typename to
        type_name. (parse_stab_baseclasses): Rename variable virtual to
        is_virtual.
        * binutils/strings.c: Add casts.
        * binutils/wrstabs.c (stab_class_baseclass): Rename parameter
        virtual to is_virtual.

14 years ago2009-09-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
Andreas Krebbel [Thu, 10 Sep 2009 09:04:06 +0000 (09:04 +0000)]
2009-09-10  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* s390-dis.c (print_insn_s390): Avoid 'long long'.

14 years ago2009-09-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
Andreas Krebbel [Thu, 10 Sep 2009 08:47:20 +0000 (08:47 +0000)]
2009-09-10  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* s390-dis.c (s390_extract_operand): Remove the shift for pcrel operands.
(print_insn_s390): Signextend and shift pcrel operands before printing.

14 years agofile ChangeLog.ARC was initially added on branch newlib-1_17_0-arc.
Joern Rennecke [Thu, 10 Sep 2009 01:29:05 +0000 (01:29 +0000)]
file ChangeLog.ARC was initially added on branch newlib-1_17_0-arc.

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

14 years ago * gas/sh/sh64/syntax-1.s: Regenerate.
Kaz Kojima [Wed, 9 Sep 2009 23:17:34 +0000 (23:17 +0000)]
* gas/sh/sh64/syntax-1.s: Regenerate.

14 years ago Updated soruces in bfd/* to compile cleanly with -Wc++-compat.
Nick Clifton [Wed, 9 Sep 2009 21:38:59 +0000 (21:38 +0000)]
    Updated soruces in bfd/* to compile cleanly with -Wc++-compat.

        * bfd/aoutx.h: Add casts.
        * bfd/archive.c: Add casts.
        * bfd/archive64.c: Add casts.
        * bfd/archures.c: Add casts.
        * bfd/bfd-in2.h: Regenerated.
        * bfd/bfd.c: Add casts. (enum bfd_direction): Move out to top
        level.
        * bfd/bfdio.c: Add casts.
        * bfd/binary.c: Add casts.
        * bfd/cache.c (cache_bseek,cache_bread_1,cache_bwrite): Updated
        parameter to use enum value instead of int.
        * bfd/coffcode.h: Add casts.
        * bfd/coffgen.c: Add casts.
        * bfd/cofflink.c: Add casts.
        * bfd/compress.c: Add casts.
        * bfd/dwarf1.c: Add casts.
        * bfd/dwarf2.c: Add casts. (struct dwarf2_debug): Rename member
        bfd to bfd_ptr. Update code to use new name.
        * bfd/elf-attrs.c: Add casts.
        * bfd/elf-bfd.h (elf_link_virtual_table_entry): Gives name to
        anonymous struct. (union gotplt_union, struct
        elf_link_virtual_table_entry): Move to top level.
        * bfd/elf-eh-frame.c: Add casts.
        * bfd/elf-strtab.c: Add casts.
        * bfd/elf.c: Add casts. (_bfd_elm_make_Section_from_phdr): Change
        argument name from typename to type_name.
        * bfd/elf32-i386.c: Add casts.
        * bfd/elf64-x86-64.c: Add casts.
        * bfd/elfcode.h: Add casts.
        * bfd/elfcore.h: Add casts.
        * bfd/elflink.c: Add casts.
        * bfd/format.c: Add casts.
        * bfd/hash.c: Add casts.
        * bfd/ihex.c: Add casts.
        * bfd/libaout.h (enum aout_subformat, enum aout_magic): Move to
        top level.
        * bfd/libbfd.c: Add casts.
        * bfd/linker.c: Add casts.
        * bfd/merge.c: Add casts.
        * bfd/opncls.c: Add casts.
        * bfd/peXXigen.c: Add casts.
        * bfd/peicode.h: Add casts.
        * bfd/reloc.c: Add casts.
        * bfd/section.c: Add casts.
        * bfd/simple.c: Add casts.
        * bfd/srec.c: Add casts.
        * bfd/stabs.c: Add casts.
        * bfd/syms.c: Add casts.
        * bfd/targets.c: Add casts.
        * bfd/tekhex.c: Add casts.
        * bfd/verilog.c: Add casts.
        * include/bfdlink.h (struct bfd_link_hash_common_entry): Move to
        top level.

14 years agoconfig:
Paolo Bonzini [Wed, 9 Sep 2009 19:46:42 +0000 (19:46 +0000)]
config:
2009-09-09  Paolo Bonzini  <bonzini@gnu.org>

* stdint.m4 (GCC_HEADER_STDINT): Revert changes to this macro in
the previous two patches.

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

* configure: Regenerate.

14 years ago bfd/
Daniel Jacobowitz [Wed, 9 Sep 2009 18:36:11 +0000 (18:36 +0000)]
bfd/
* elf32-arm.c (elf32_arm_final_link_relocate): Set sym_flags
for the mode of target PLT entries.
(allocate_dynrelocs): Only adjust symbol type if setting its
value.

ld/testsuite/
* ld-arm/farcall-mixed-lib.d: Update.

14 years ago2009-09-09 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 9 Sep 2009 17:25:31 +0000 (17:25 +0000)]
2009-09-09  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (vex_len_table): Change VEX_LEN_AE_R_X_M0 to
VEX_LEN_AE_R_X_M_0 in comments.

14 years agoconfig:
Paolo Bonzini [Wed, 9 Sep 2009 17:05:46 +0000 (17:05 +0000)]
config:
2009-09-09  Paolo Bonzini  <bonzini@gnu.org>

* stdint.m4: Store temporary file in $tmp/_GCC_STDINT_H.

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

* configure: Regnerate.

14 years ago PR 10478:
Nick Clifton [Wed, 9 Sep 2009 15:03:54 +0000 (15:03 +0000)]
    PR 10478:
        * elf.c (bfd_section_from_shdr): Do not reject sparc binaries with
        section headers containing sh_link values of SHN_BEFORE or
        SHN_AFTER.
        * elfcode.h (elf_object_p): Likewise.

        readelf.c (get_elf_section_flags): Add support for SHF_EXCLUDE and
        SHF_ORDERED.
        (process_section_headers): Warn about out of range sh_link
        values.  When displaying detailed section header information
        annote the SHN_BEFORE and SHN_AFTER values.

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

Handle DYLD_INFO introduced by Darwin10.
* mach-o.h (bfd_mach_o_load_command_type): Add
BFD_MACH_O_LC_DYLD_INFO.
(bfd_mach_o_dyld_info_command): New type.
(bfd_mach_o_load_command): Add dyld_info field.
* mach-o.c (bfd_mach_o_scan_read_str): Reduce size of buf.
(bfd_mach_o_scan_read_dyld_info): New function.
(bfd_mach_o_scan_read_command): Handle BFD_MACH_O_LC_DYLD_INFO.
(bfd_mach_o_bfd_print_private_bfd_data): Ditto.
(bfd_mach_o_load_command_name): AddB FD_MACH_O_LC_DYLD_INFO.
(bfd_mach_o_print_dyld_info): New function.

14 years ago * config/obj-coff.h (USE_UNIQUE): Don't define.
Alan Modra [Wed, 9 Sep 2009 13:19:51 +0000 (13:19 +0000)]
* config/obj-coff.h (USE_UNIQUE): Don't define.
* config/obj-coff.c (weak_uniquify): Use an_external_name when TE_PE.
* symbols.c (an_external_name): Define when TE_PE.
(S_SET_EXTERNAL): Assign an_external_name when TE_PE.
* tc.h (an_external_name): Declare when TE_PE.

14 years ago * ld-elf/sec64k.exp: For frv-linux use "aw" sections.
Alan Modra [Wed, 9 Sep 2009 12:13:42 +0000 (12:13 +0000)]
* ld-elf/sec64k.exp: For frv-linux use "aw" sections.
* ld-elf/seg.d: Cater for GNU_STACK segment.
* ld-elf/symbol1ref.s: Use data section.
* ld-elf/symbol2ref.s: Likewise.
* ld-scripts/empty-address-1.d: Don't run on frv-linux.
* ld-scripts/empty-address-2a.d: Likewise.
* ld-scripts/empty-address-2b.d: Likewise.
* ld-scripts/empty-aligned.d: Likewise.
* ld-elf/extract-symbol-1sym.d: Tolerate extra target supplied syms.
* ld-scripts/sort_b_a-1.d: Likewise.
* ld-scripts/sort_b_a.d: Likewise.
* ld-scripts/sort_b_a_a-1.d: Likewise.
* ld-scripts/sort_b_a_a-2.d: Likewise.
* ld-scripts/sort_b_a_a-3.d: Likewise.
* ld-scripts/sort_b_a_n-1.d: Likewise.
* ld-scripts/sort_b_a_n-2.d: Likewise.
* ld-scripts/sort_b_a_n-3.d: Likewise.
* ld-scripts/sort_b_n-1.d: Likewise.
* ld-scripts/sort_b_n.d: Likewise.
* ld-scripts/sort_b_n_a-1.d: Likewise.
* ld-scripts/sort_b_n_a-2.d: Likewise.
* ld-scripts/sort_b_n_a-3.d: Likewise.
* ld-scripts/sort_b_n_n-1.d: Likewise.
* ld-scripts/sort_b_n_n-2.d: Likewise.
* ld-scripts/sort_b_n_n-3.d: Likewise.
* ld-scripts/sort_no-1.d: Likewise.
* ld-scripts/sort_no-2.d: Likewise.

14 years agoOnly provide ENTRY on final link.
Alan Modra [Wed, 9 Sep 2009 11:59:14 +0000 (11:59 +0000)]
Only provide ENTRY on final link.

14 years ago * config/tc-i386.c (i386_target_format): Avoid duplicate case label.
Alan Modra [Wed, 9 Sep 2009 09:31:16 +0000 (09:31 +0000)]
* config/tc-i386.c (i386_target_format): Avoid duplicate case label.

14 years ago2009-09-09 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
M R Swami Reddy [Wed, 9 Sep 2009 04:49:09 +0000 (04:49 +0000)]
2009-09-09  M R Swami Reddy <MR.Swami.Reddy@nsc.com>

       * elf32-cr16.c (elf32_cr16_relocate_section): Add code to discard the
       linkonce or linker script discarded section.

14 years ago * elf32-xtensa.c (elf_xtensa_relax_section): Delete -r check.
Alan Modra [Wed, 9 Sep 2009 01:38:40 +0000 (01:38 +0000)]
* elf32-xtensa.c (elf_xtensa_relax_section): Delete -r check.

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

14 years ago* cpu/mep.opc (mep_cgen_insn_supported_asm): Change the test to a
DJ Delorie [Tue, 8 Sep 2009 23:51:11 +0000 (23:51 +0000)]
* cpu/mep.opc (mep_cgen_insn_supported_asm): Change the test to a
preprocessor macro, not an enum.

14 years ago * output.cc (Output_file::open): Add execute permission to empty file.
Cary Coutant [Tue, 8 Sep 2009 22:32:51 +0000 (22:32 +0000)]
* output.cc (Output_file::open): Add execute permission to empty file.
* testsuite/Makefile.am (permission_test): New test.
* testsuite/Makefile.in: Regenerate.

14 years agoFix toplevel config.status for HP-UX sed.
Ralf Wildenhues [Tue, 8 Sep 2009 17:55:50 +0000 (17:55 +0000)]
Fix toplevel config.status for HP-UX sed.

/:
* configure.ac: Do not use $extrasub for replacing @if/@endif
parts in Makefile; instead, use additional arguments to
AC_CONFIG_COMMANDS to do the replacement manually, with several
sed invocations, to avoid HP-UX sed command limits.
* configure: Regenerate.

14 years ago * configure.tgt (sh*-*-netbsdelf*): Set endian according to cpu.
Kaz Kojima [Tue, 8 Sep 2009 12:31:32 +0000 (12:31 +0000)]
* configure.tgt (sh*-*-netbsdelf*): Set endian according to cpu.
* gas/sh/basic.exp: Add -big to ASFLAGS for sh*l*-*-netbsdelf*.

14 years ago * gas/d30v/serial2.l: Adjust position of page break.
Alan Modra [Tue, 8 Sep 2009 10:37:59 +0000 (10:37 +0000)]
* gas/d30v/serial2.l: Adjust position of page break.
* gas/lns/lns-common-1-alt.d: Match 2009-04-24 change.
* gas/mt/ms1-16-003.d: Correct reloc name.
* gas/mt/relocs.d: Elide incorrect file format strings.

14 years ago * read.c (emit_expr_fix): Handle size 3.
Alan Modra [Tue, 8 Sep 2009 10:36:39 +0000 (10:36 +0000)]
* read.c (emit_expr_fix): Handle size 3.
* config/tc-avr.c (md_assemble): Call dwarf2_emit_insn.
* config/tc-d30v.c (write_long, write_1_short,
write_2_short, md_assemble): Likewise.
* config/tc-dlx.c (md_assemble): Likewise.
* config/tc-i860.c (md_assemble): Likewise.
* config/tc-mn10200.c (md_assemble): Likewise.
* config/tc-pj.c (md_assemble): Likewise.
* config/tc-vax.c (md_assemble): Likewise.

14 years ago * binutils-all/objdump.exp (cpus_expected): Add ms1.
Alan Modra [Tue, 8 Sep 2009 10:35:07 +0000 (10:35 +0000)]
* binutils-all/objdump.exp (cpus_expected): Add ms1.

14 years ago * dwarf.c (byte_get_little_endian): Handle size of 3.
Alan Modra [Tue, 8 Sep 2009 10:34:27 +0000 (10:34 +0000)]
* dwarf.c (byte_get_little_endian): Handle size of 3.
(byte_get_big_endian): Likewise.
* readelf.c (byte_put_little_endian): Likewise.
(byte_put_big_endian): Likewise.
(is_24bit_abs_reloc): New function.
(is_none_reloc): Formatting.
(apply_relocations): Use is_24bit_abs_reloc.  Handle pj and xtensa
reloc peculiarity.

14 years ago2009-09-08 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
M R Swami Reddy [Tue, 8 Sep 2009 10:05:04 +0000 (10:05 +0000)]
2009-09-08  M R Swami Reddy <MR.Swami.Reddy@nsc.com>

        * ld-elf/merge.d: xfail cr16-*-*.

14 years ago* z8kgen.c (struct op): Replace unused flavor with id.
Andreas Schwab [Tue, 8 Sep 2009 09:47:52 +0000 (09:47 +0000)]
* z8kgen.c (struct op): Replace unused flavor with id.
(opt): Remove extra xorb entry.
(func): Use id field as fallback.
(sub): Return new string, caller changed.
(internal): Allocate end marker.  Assign unique id before sorting.
(gas): Likewise.  Fix loop end condition.
* z8k-opc.h: Regenerate.

14 years ago * ppc-opc.c (powerpc_macros <extrdi>): Allow n+b of 64.
Alan Modra [Tue, 8 Sep 2009 09:00:47 +0000 (09:00 +0000)]
* ppc-opc.c (powerpc_macros <extrdi>): Allow n+b of 64.

14 years ago * gas/all/gas.exp (do_comment): Don't run on m32c.
Alan Modra [Tue, 8 Sep 2009 02:54:56 +0000 (02:54 +0000)]
* gas/all/gas.exp (do_comment): Don't run on m32c.
* gas/all/align.d: Likewise.
* gas/all/incbin.d: Likewise.
* gas/macros/semi.d: Likewise.
* gas/elf/ifunc-1.d: Don't run on alpha.

14 years ago * ld-elf/eh5.d: Don't run on hppa64. Allow non-pcrel encoding.
Alan Modra [Tue, 8 Sep 2009 01:15:50 +0000 (01:15 +0000)]
* ld-elf/eh5.d: Don't run on hppa64.  Allow non-pcrel encoding.
Skip extra CIEs emitted on embedded targets and adjust FDE
matches to suit.

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

14 years agobinutils/
Jan Kratochvil [Mon, 7 Sep 2009 18:08:52 +0000 (18:08 +0000)]
binutils/
* readelf.c (is_none_reloc <EM_XTENSA_OLD>, is_none_reloc <EM_XTENSA>):
New.

14 years agobinutils/
Jan Kratochvil [Mon, 7 Sep 2009 18:07:02 +0000 (18:07 +0000)]
binutils/
* dwarf.c (process_debug_info): Support section padding abbrev codes.

binutils/testsuite/
* binutils-all/testranges.s (.debug_info): Pad the only CU.

14 years agobinutils/testsuite/
Jan Kratochvil [Mon, 7 Sep 2009 18:02:59 +0000 (18:02 +0000)]
binutils/testsuite/
* binutils-all/testranges.s: Replace all .long by .4byte.

14 years ago9-09-07 Daniel Gutson <dgutson@codesourcery.com>
Daniel Gutson [Mon, 7 Sep 2009 16:34:39 +0000 (16:34 +0000)]
9-09-07  Daniel Gutson  <dgutson@codesourcery.com>

        * config/tc-arm.c (arm_cpus): cortex-r4f CPU added.
        * doc/c-arm.texi: cortex-r4f CPU added.

14 years ago* elf32-m68k.c (rtype_to_howto): If the reloc index is out of
Andreas Schwab [Mon, 7 Sep 2009 16:29:34 +0000 (16:29 +0000)]
* elf32-m68k.c (rtype_to_howto): If the reloc index is out of
range call the bfd error hander and use R_68K_NONE instead.

14 years ago * z8kgen.c (func): Fix thinko last patch.
Alan Modra [Mon, 7 Sep 2009 13:01:35 +0000 (13:01 +0000)]
* z8kgen.c (func): Fix thinko last patch.

14 years ago * z8kgen.c (func): Stabilize qsort of identically named entries.
Alan Modra [Mon, 7 Sep 2009 12:11:20 +0000 (12:11 +0000)]
* z8kgen.c (func): Stabilize qsort of identically named entries.
* z8k-opc.h: Regenerate.

14 years agobfd
Tristan Gingold [Mon, 7 Sep 2009 11:29:56 +0000 (11:29 +0000)]
bfd
2009-09-07  Tristan Gingold  <gingold@adacore.com>

* po/SRC-POTFILES.in: Regenerate.
* po/bfd.pot: Regenerate.

binutils
2009-09-07  Tristan Gingold  <gingold@adacore.com>

* po/binutils.pot: Regenerate.

gas
2009-09-07  Tristan Gingold  <gingold@adacore.com>

* po/POTFILES.in: Regenerate.
* po/gas.pot: Regenerate.

gprof
2009-09-07  Tristan Gingold  <gingold@adacore.com>

* po/gprof.pot: Regenerate.

ld
2009-09-07  Tristan Gingold  <gingold@adacore.com>

* po/ld.pot: Regenerate.

opcodes
2009-09-07  Tristan Gingold  <gingold@adacore.com>

* po/opcodes.pot: Regenerate.

14 years ago * configure.in (BUILD_LIBS, BUILD_LIB_DEPS): Define and subst.
Alan Modra [Mon, 7 Sep 2009 10:54:25 +0000 (10:54 +0000)]
* configure.in (BUILD_LIBS, BUILD_LIB_DEPS): Define and subst.
* configure: Regenerate.
* Makefile.am (LIBIBERTY, BUILD_LIBIBERTY, BUILD_LIBINTL): Delete.
(BUILD_LIBS, BUILD_LIB_DEPS): Define.  Use..
(i386-gen, ia64-gen, z8kgen): ..here.
* Makefile.in: Regenerate.

14 years agobfd/:
Tristan Gingold [Mon, 7 Sep 2009 09:15:31 +0000 (09:15 +0000)]
bfd/:
2009-09-07  Tristan Gingold  <gingold@adacore.com>

* bfd.m4 (BFD_HAVE_TIME_TYPE_MEMBER,
BFD_HAVE_SYS_STAT_TYPE_MEMBER): Moved to gas/acinclude.m4
* configure.in: Move tests for tm_gmtoff, st_mtim.tv_sec and
st_mtim.tv_nsec to gas/configure.in
(bfd_elf64_ia64_vms_vec): Remove vmsutil.lo
* configure: Regenerate.
* config.in: Regenerate.
* vmsutil.c: Moved to gas/config/te-vms.c
* vmsutil.h: Removed.
* Makefile.am (BFD32_BACKENDS_CFILES): Remove vmsutil.c
(BFD32_BACKENDS): Remove vmsutil.lo
* Makefile.in: Regenerate.

gas/:
2009-09-07  Tristan Gingold  <gingold@adacore.com>

* Makefile.am (TARG_ENV_CFILES): New variable.  Set to te-vms.c
(POTFILES): Add $(TARG_ENV_CFILES) in definition.
(EXTRA_as_new_SOURCES): Ditto.
* Makefile: Regenerate.
* acinclude.m4 (BFD_HAVE_TIME_TYPE_MEMBER,
BFD_HAVE_SYS_STAT_TYPE_MEMBER): New macro created from bfd/bfd.m4.
* configure.in: Add Tests for tm_gmtoff, st_mtim.tv_sec and
st_mtim.tv_nsec (from bfd/configure.in).  Check for time.h and
sys/stat.h headers.
Add te-vms.o in extra_objects if te_file is vms.
* configure: Regenerate.
* config.in: Regenerate.
* config/te-vms.c: New file, from bfd/vmsutil.c
(vms_dwarf2_file_time_name, vms_dwarf2_file_size_name)
(vms_dwarf2_file_name): New functions.
(vms_file_stats_name): Make it static, add a dirname parameter to
locally create the full pathname.
* config/te-vms.h: Add a copyright header.
Declare the above functions.
(DWARF2_FILE_TIME_NAME, DWARF2_FILE_SIZE_NAME, DWARF2_FILE_NAME): Use
the above functions in the definition.
* makefile.vms (OBJS): Add te-vms.obj.
(te-vms.obj): Create a specific target.
* configure.com: Create targ-env.h using a per target value.
Compile te-vms.c for ia64.

14 years ago2009-09-07 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Mon, 7 Sep 2009 08:14:09 +0000 (08:14 +0000)]
2009-09-07  Tristan Gingold  <gingold@adacore.com>

* z8k-opc.h: Regenerate.

14 years agoChangeLog:
Alexandre Oliva [Mon, 7 Sep 2009 00:44:08 +0000 (00:44 +0000)]
ChangeLog:
* configure.ac (with-build-config): Document.  Handle without.
Handle missing argument.
* configure: Rebuilt.
config/ChangeLog:
* bootstrap-debug-big.mk (STAGE2_CFLAGS): Drop -gtoggle.
* bootstrap-debug-lean.mk: Update comments.
(STAGE2_CFLAGS): Likewise.
(do-compare): Don't override.
ChangeLog:
* configure.ac (with-build-config): Document.  Handle without.
Handle missing argument.
* configure: Rebuilt.

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

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

14 years ago * coffcode.h: Include libiberty.h.
Eli Zaretskii [Sat, 5 Sep 2009 16:38:48 +0000 (16:38 +0000)]
* coffcode.h: Include libiberty.h.

14 years ago gas/
Jie Zhang [Sat, 5 Sep 2009 15:00:09 +0000 (15:00 +0000)]
gas/
* doc/as.texinfo: Document that Blackfin GAS does not
accept SYMBOL = VALUE.

ld/testsuite/
* ld-elf/sec64k.exp: Use ".set" instead of "=" for bfin-*-*.

14 years agobinutils/
Jan Kratochvil [Sat, 5 Sep 2009 11:09:35 +0000 (11:09 +0000)]
binutils/
* Makefile.am (sysdump.o): Depend on sysroff.c.
* Makefile.in: Regenerate.