OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
17 years ago * config/tc-xtensa.h (struct xtensa_frag_type): Update comment about
Bob Wilson [Tue, 19 Jun 2007 19:08:37 +0000 (19:08 +0000)]
* config/tc-xtensa.h (struct xtensa_frag_type): Update comment about
use of literal_frag field.
* config/tc-xtensa.c (xtensa_mark_literal_pool_location): Record frag
in the literal_frag field.
(xtensa_move_literals): Use it here instead of searching.  Update
literal_frag field with new value.

17 years ago* Makefile.am: Add windmc tool.
Nick Clifton [Tue, 19 Jun 2007 13:24:33 +0000 (13:24 +0000)]
* Makefile.am: Add windmc tool.
* Makefile.in: Regenerate.
* configure.in: Add windmc tool.
* configure: Regenerate.
* mclex.c: New.
* mcparse.y: New.
* windmc.c: New.
* windmc.h: New.
* doc/Makefile.am: Add windmc tool.
* doc/Makefile.in: Regenerate.
* doc/binutils.texi: Add windmc documentation.
* NEWS: Mention new tool.

17 years agobfd/
H.J. Lu [Tue, 19 Jun 2007 13:05:55 +0000 (13:05 +0000)]
bfd/

2007-06-19  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/4590
* elfxx-ia64.c (sort_dyn_sym_info): Keep the valid got_offset
when removing duplicated entries.
(get_dyn_sym_info): Initialize the got_offset field to -1.
Update call to sort_dyn_sym_info.
(elfNN_ia64_relocate_section): Call sort_dyn_sym_info to sort
array of addend and remove duplicates.

ld/testsuite/

2007-06-19  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/4590
* ld-ia64/merge1.d: New.
* ld-ia64/merge1.s: Likewise.
* ld-ia64/merge2.d: Likewise.
* ld-ia64/merge2.s: Likewise.
* ld-ia64/merge3.d: Likewise.
* ld-ia64/merge3.s: Likewise.
* ld-ia64/merge4.d: Likewise.
* ld-ia64/merge4.s: Likewise.
* ld-ia64/merge5.d: Likewise.
* ld-ia64/merge5.s: Likewise.

17 years agoAdd description of new --codepage switch for windres which was accidentally omitted...
Nick Clifton [Tue, 19 Jun 2007 11:29:05 +0000 (11:29 +0000)]
Add description of new --codepage switch for windres which was accidentally omitted when the full patch was checked in.

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

17 years ago * ld-scripts/cross3.t: Add .opd section.
Andreas Schwab [Mon, 18 Jun 2007 18:53:45 +0000 (18:53 +0000)]
* ld-scripts/cross3.t: Add .opd section.

17 years agoMove entry for doc/Makefile.in to doc/ChangeLog.
H.J. Lu [Mon, 18 Jun 2007 17:44:45 +0000 (17:44 +0000)]
Move entry for doc/Makefile.in to doc/ChangeLog.

17 years ago* objdump.c: Include sys/mman.h
Nick Clifton [Mon, 18 Jun 2007 16:38:49 +0000 (16:38 +0000)]
* objdump.c: Include sys/mman.h
  (print_file_list): Remove f, add map, mapsize, linemap, maxline, last_line, first fields.
  (slurp_file): Add.
  (index_file): Add.
  (print_file_open): Call slurp_file and index_file. Initialize new fields.
  (skip_to_line): Rename to print_line and write only single line.
  (dump_line): Add.
  (show_line): Change to new algorithm.

17 years ago2007-06-18 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 18 Jun 2007 16:26:28 +0000 (16:26 +0000)]
2007-06-18  H.J. Lu  <hongjiu.lu@intel.com>

* libpei.h (_bfd_XXi_final_link_postscript): Remove
duplication.
(bfd_target_pei_p): New.
(bfd_target_pei_arch): New
(bfd_target_efi_p): Likewise.
(bfd_target_efi_arch): New
(bfd_pe_executable_p): Use bfd_target_pei_p and
bfd_target_efi_p.

* peicode.h (arch_type): New enum.
(pe_arch): New function.
(pe_bfd_object_p): Don't match PE/EFI target with EFI/PE file
if there is an EFI/PE target.

17 years agoopcodes/
Kazu Hirata [Mon, 18 Jun 2007 16:10:27 +0000 (16:10 +0000)]
opcodes/
* m68k-opc.c (m68k_opcodes): Add wdebugl variants.

gas/testsuite/
* gas/m68k/all.exp: Run mcf-wdebug.
* gas/testsuite/gas/m68k/mcf-wdebug.d,
gas/testsuite/gas/m68k/mcf-wdebug.s: New.

17 years ago* resres.c (probe_binary): Fix test for badly formatted headers.
Nick Clifton [Mon, 18 Jun 2007 16:02:45 +0000 (16:02 +0000)]
* resres.c (probe_binary): Fix test for badly formatted headers.

17 years ago * coffread.c (coff_sym_fns): Add default_symfile_segments.
Daniel Jacobowitz [Mon, 18 Jun 2007 15:46:33 +0000 (15:46 +0000)]
* coffread.c (coff_sym_fns): Add default_symfile_segments.
* dbxread.c (start_psymtab): Check HAVE_ELF.
(aout_sym_fns): Likewise.
* elfread.c (elf_symfile_segments): New.
(elf_sym_fns): Add elf_symfile_segments.
* mipsread.c (ecoff_sym_fns): Add default_symfile_segments.
* remote.c (get_offsets): Use symfile_map_offsets_to_segments.
Skip if there is no symfile_objfile.  Handle TextSeg and DataSeg.
* somread.c (som_sym_fns): Use default_symfile_segments.
* symfile.c (find_sym_fns): Take a BFD and return the sym_fns.
(init_objfile_sect_indices): Call symfile_find_segment_sections.
(default_symfile_segments): New function.
(syms_from_objfile): Update call to find_sym_fns.
(symfile_get_segment_data, free_symfile_segment_data): New.
(symfile_map_offsets_to_segments): New.
(symfile_find_segment_sections): New.
* symfile.h (struct symfile_segment_data): New.
(struct sym_fns): Add sym_segments.
(default_symfile_segments, symfile_get_segment_data)
(free_symfile_segment_data): New prototypes.
(symfile_map_offsets_to_segments): Likewise.
* xcoffread.c (xcoff_sym_fns): Add default_symfile_segments.
* Makefile.in (COMMON_OBS): Remove elfread.o.
(elf_internal_h): New.
(elfread.o): Update.
* configure.ac: Add elfread.o to COMMON_OBS if bfd/elf.o was
compiled.
* config.in, configure: Regenerated.
* NEWS: Mention qOffsets changes.

* gdb.texinfo (General Query Packets): Document qOffsets changes.

* Makefile.def: Add dependency from configure-gdb to all-bfd.
* Makefile.in: Regenerated.

17 years ago* rclex.c: (cpp_line): Add code_page pragma support.
Nick Clifton [Mon, 18 Jun 2007 15:30:33 +0000 (15:30 +0000)]
* rclex.c: (cpp_line): Add code_page pragma support.
* windres.c: (usage, long_options, main): Add new option --codepage or -c.
* winduni.c: (wind_default_codepage, wind_current_codepage): New.
  (unicode_from_ascii, ascii_from_unicode): Use wind_current_codepage as codepage parameter.
  (unicode_print): Print 4 characters for hexadecimal values in unicode strings.
* winduni.h:  (wind_default_codepage, wind_current_codepage): Export.
* doc/binutils.texi: Document new option.
* NEWS: Mention new feature.

17 years ago * ldlex.l, ldgram.y: Add ALIGNOF.
Nathan Sidwell [Mon, 18 Jun 2007 14:23:57 +0000 (14:23 +0000)]
* ldlex.l, ldgram.y: Add ALIGNOF.
* ldexp.c (exp_print_token, foldname): Likewise.
* ld.texinfo: Likewise.
: ----------------------------------------------------------------------

17 years ago * ldlex.l, ldgram.y: Add ALIGNOF.
Nathan Sidwell [Mon, 18 Jun 2007 12:38:22 +0000 (12:38 +0000)]
* ldlex.l, ldgram.y: Add ALIGNOF.
* ldexp.c (exp_print_token, foldname): Likewise.
* ld.texinfo: Likewise.

ld/testsuite/
* ld-scripts/alignof.s: New.
* ld-scripts/alignof.t: New
* ld-scripts/alignof.exp: New.

17 years ago * Makefile.am: Add eelf32_spu.o rule.
Alan Modra [Mon, 18 Jun 2007 10:58:07 +0000 (10:58 +0000)]
* Makefile.am: Add eelf32_spu.o rule.
* Makefile.in: Regenerate.
* emultempl/spuelf.em: Revert last change.  Instead use EMBEDSPU
defined in Makefile for embedspu name.

17 years ago * emultempl/spuelf.em (embedded_spu_file): Deduce embedspu program
Alan Modra [Mon, 18 Jun 2007 02:23:56 +0000 (02:23 +0000)]
* emultempl/spuelf.em (embedded_spu_file): Deduce embedspu program
name prefix from that of ld.

17 years ago * embedspu.sh: Parse _SPUEAR_ symbol values as hex.
Alan Modra [Mon, 18 Jun 2007 02:09:20 +0000 (02:09 +0000)]
* embedspu.sh: Parse _SPUEAR_ symbol values as hex.

17 years agodaily update
Alan Modra [Mon, 18 Jun 2007 00:00:05 +0000 (00:00 +0000)]
daily update

17 years agodaily update
Alan Modra [Sun, 17 Jun 2007 00:00:05 +0000 (00:00 +0000)]
daily update

17 years agodaily update
Alan Modra [Sat, 16 Jun 2007 00:00:05 +0000 (00:00 +0000)]
daily update

17 years agodaily update
Alan Modra [Fri, 15 Jun 2007 00:00:06 +0000 (00:00 +0000)]
daily update

17 years ago2007-06-14 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 14 Jun 2007 22:06:19 +0000 (22:06 +0000)]
2007-06-14  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (do_t_mov_cmp): Handle shift by register and
narrow shift by immediate.

gas/testsuite/
* gas/arm/thumb32.s: Add tests for shift instructions.
* gas/arm/thumb32.d: Ditto.

17 years agobfd/
H.J. Lu [Thu, 14 Jun 2007 15:31:01 +0000 (15:31 +0000)]
bfd/

2007-06-14  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am (ACLOCAL_AMFLAGS): Add -I . -I ../config.

* acinclude.m4: Don't include m4 files. Remove libtool
kludge.

* Makefile.in: Regenerated.
* doc/Makefile.in: Likewise.
* aclocal.m4: Likewise.
* configure: Likewise.

binutils/

2007-06-14  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.

* acinclude.m4: Removed.

* Makefile.in: Regenerated.
* aclocal.m4: Likewise.
* configure: Likewise.

gas/

2007-06-14  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.

* acinclude.m4: Don't include m4 files.
(BFD_BINARY_FOPEN): Removed.
Remove libtool kludge.

* Makefile.in: Regenerated.
* doc/Makefile.in: Likewise.
* aclocal.m4: Likewise.
* configure: Likewise.

gprof/

2007-06-14  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.

* acinclude.m4: Removed.

* Makefile.in: Regenerated.
* aclocal.m4: Likewise.
* configure: Likewise.

ld/

2007-06-14  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.

* acinclude.m4: Removed.

* Makefile.in: Regenerated.
* aclocal.m4: Likewise.
* configure: Likewise.

opcodes/

2007-06-14  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.

* acinclude.m4: Removed.

* Makefile.in: Regenerated.
* doc/Makefile.in: Likewise.
* aclocal.m4: Likewise.
* configure: Likewise.

17 years ago2007-06-14 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Thu, 14 Jun 2007 14:41:46 +0000 (14:41 +0000)]
2007-06-14  Paolo Bonzini  <bonzini@gnu.org>

* configure.ac: Use ACX_PROG_CC_ALMOST_PEDANTIC too.
* configure: Regenerate.

17 years agoUpdate.
Alan Modra [Thu, 14 Jun 2007 08:53:09 +0000 (08:53 +0000)]
Update.

17 years ago2007-06-14 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Thu, 14 Jun 2007 08:52:42 +0000 (08:52 +0000)]
2007-06-14  Paolo Bonzini  <bonzini@gnu.org>

        * Makefile.tpl (cleanstrap): Don't delete the toplevel Makefile.
        (distclean-stage[+id+]): Possibly delete stage_last.
        * Makefile.in: Regenerate.

17 years ago * emultempl/spu_ovl.S: Don't trash lr on tail call from one
Alan Modra [Thu, 14 Jun 2007 08:41:41 +0000 (08:41 +0000)]
* emultempl/spu_ovl.S: Don't trash lr on tail call from one
overlay to another.
* emultempl/spu_ovl.o: Regenerate.

17 years ago2007-06-14 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Thu, 14 Jun 2007 08:17:50 +0000 (08:17 +0000)]
2007-06-14  Paolo Bonzini  <bonzini@gnu.org>

* aclocal.m4: Include config/warnings.m4.
* configure.ac: Use ACX_PROG_CC_WARNING_OPTS.
* configure: Regenerate.

17 years ago2007-06-14 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Thu, 14 Jun 2007 08:16:37 +0000 (08:16 +0000)]
2007-06-14  Paolo Bonzini  <bonzini@gnu.org>

* acx.m4 (ACX_CHECK_PROG_VER): Remove duplicate lines.

17 years agodaily update
Alan Modra [Thu, 14 Jun 2007 00:00:05 +0000 (00:00 +0000)]
daily update

17 years agodaily update
Alan Modra [Wed, 13 Jun 2007 00:00:05 +0000 (00:00 +0000)]
daily update

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

17 years ago * emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS): Add ONLY_IF_RO
Bob Wilson [Mon, 11 Jun 2007 23:46:32 +0000 (23:46 +0000)]
* emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS): Add ONLY_IF_RO
for .xt_except_table.
(OTHER_RELRO_SECTIONS): New.

17 years agobfd/
Bob Wilson [Mon, 11 Jun 2007 16:53:08 +0000 (16:53 +0000)]
bfd/
        * elf32-xtensa.c (extend_ebb_bounds_forward): Use renamed
        XTENSA_PROP_NO_TRANSFORM flag instead of XTENSA_PROP_INSN_NO_TRANSFORM.
        (extend_ebb_bounds_backward, compute_text_actions): Likewise.
        (compute_ebb_proposed_actions, coalesce_shared_literal): Likewise.
        (xtensa_get_property_predef_flags): Likewise.
        (compute_removed_literals): Pass new arguments to is_removable_literal.
        (is_removable_literal): Add sec, prop_table and ptblsize arguments.
        Do not remove literal if the NO_TRANSFORM property flag is set.
gas/
        * config/tc-xtensa.c (XTENSA_PROP_INSN_NO_TRANSFORM): Renamed to...
        (XTENSA_PROP_NO_TRANSFORM): ...this.
        (frag_flags_struct): Move is_no_transform out of the insn sub-struct.
        (xtensa_mark_frags_for_org): New.
        (xtensa_handle_align): Set RELAX_ORG frag subtype for rs_org.
        (xtensa_post_relax_hook): Call xtensa_mark_frags_for_org.
        (get_frag_property_flags): Adjust reference to is_no_transform flag.
        (xtensa_frag_flags_combinable): Likewise.
        (frag_flags_to_number): Likewise.  Use XTENSA_PROP_NO_TRANSFORM.
        * config/tc-xtensa.h (xtensa_relax_statesE): Add RELAX_ORG.
include/elf/
        * xtensa.h (XTENSA_PROP_INSN_NO_TRANSFORM): Renamed to...
        (XTENSA_PROP_NO_TRANSFORM): ...this.
ld/
        * emultempl/xtensaelf.em (replace_insn_sec_with_prop_sec): Use renamed
        XTENSA_PROP_NO_TRANSFORM flag instead of XTENSA_PROP_INSN_NO_TRANSFORM.

17 years ago * dwarf.c (decode_location_expression): Add DW_OP_form_tls_address.
Nathan Sidwell [Mon, 11 Jun 2007 11:30:29 +0000 (11:30 +0000)]
* dwarf.c (decode_location_expression): Add DW_OP_form_tls_address.

17 years agodaily update
Alan Modra [Mon, 11 Jun 2007 00:00:05 +0000 (00:00 +0000)]
daily update

17 years agodaily update
Alan Modra [Sun, 10 Jun 2007 00:00:06 +0000 (00:00 +0000)]
daily update

17 years agodaily update
Alan Modra [Sat, 9 Jun 2007 00:00:05 +0000 (00:00 +0000)]
daily update

17 years agodaily update
Alan Modra [Fri, 8 Jun 2007 00:00:06 +0000 (00:00 +0000)]
daily update

17 years ago * configure.ac: Non-default multilibs can be cross compilations.
Geoffrey Keating [Thu, 7 Jun 2007 18:43:51 +0000 (18:43 +0000)]
* configure.ac: Non-default multilibs can be cross compilations.
* configure: Regenerate

17 years agoCleanup white spaces and fix an entry.
H.J. Lu [Thu, 7 Jun 2007 14:07:02 +0000 (14:07 +0000)]
Cleanup white spaces and fix an entry.

17 years agodaily update
Alan Modra [Thu, 7 Jun 2007 00:00:05 +0000 (00:00 +0000)]
daily update

17 years ago * config.sub, config.guess: Update from upstream sources.
Ben Elliston [Wed, 6 Jun 2007 23:23:36 +0000 (23:23 +0000)]
* config.sub, config.guess: Update from upstream sources.

17 years ago * Makefile.tpl: Fix spelling error.
Ben Elliston [Wed, 6 Jun 2007 23:12:21 +0000 (23:12 +0000)]
* Makefile.tpl: Fix spelling error.
* Makefile.in: Regenerate.

17 years ago2007-06-06 Paul Brook <paul@codesourcery.com>
Paul Brook [Wed, 6 Jun 2007 17:36:54 +0000 (17:36 +0000)]
2007-06-06  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (s_align): Pad code sections appropriately.

gas/testsuite/
* gas/arm/thumb.d: Update expected output.
* gas/arm/thumb2_relax.d: Ditto.

17 years agoPR binutils/4356 binutils/591
Nick Clifton [Wed, 6 Jun 2007 08:02:47 +0000 (08:02 +0000)]
PR binutils/4356 binutils/591
* resrc.c (filename_need_quotes): New function.
  (look_for_default): If filename_need_quotes is true then quote the filename in the command line being created.
  (read_rc_file): Likewise.

17 years ago * doc/binutils.texi (objdump): Fix capitalisation of "PowerPC".
Ben Elliston [Wed, 6 Jun 2007 04:46:41 +0000 (04:46 +0000)]
* doc/binutils.texi (objdump): Fix capitalisation of "PowerPC".

17 years agodaily update
Alan Modra [Wed, 6 Jun 2007 00:00:08 +0000 (00:00 +0000)]
daily update

17 years ago2007-06-05 Paul Brook <paul@codesourcery.com>
Paul Brook [Tue, 5 Jun 2007 22:02:47 +0000 (22:02 +0000)]
2007-06-05  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (insns): Correct Thumb-2 ldrd/strd opcodes.

gas/testsuite/
* gas/arm/thumb32.d: Add writeback addressing mode tests.
* gas/arm/thumb32.s: Update expected output.

opcodes/
* arm-dis.c (thumb32_opcodes): Display writeback ldrd/strd addresses.

17 years agoPatch for PR4587 + move proc run_list_test into gas-defs.exp
Nick Clifton [Tue, 5 Jun 2007 17:00:33 +0000 (17:00 +0000)]
Patch for PR4587 + move proc run_list_test into gas-defs.exp

17 years ago* Makefile.am: Add LIBICONV to windres.
Nick Clifton [Tue, 5 Jun 2007 13:10:30 +0000 (13:10 +0000)]
* Makefile.am: Add LIBICONV to windres.
* acinclude.m4: Added missing "lib-*.m4" and "lt*.m4" files.
* configure.in: Add AC_CHECK_HEADER for iconv.h and use AM_ICONV.
* config.in: Add ICONV defines.
* aclocal: Regenerate.
* confugure: Regenerate.
* winduni.c: (local_iconv_map codepages, wind_language_t, languages, unicode_is$
  (ascii_from_unicode): Use codepage_from_unicode.
  (ascii_from_unicode): Use unicode_from_codepage.
  Use for cygwin windows API for unicode transformation.
* winduni.h: (CP_ACP, CP_UTF7, CP_UTF8, CP_OEM, CP_UTF16): New macros.
  (wind_language_t, local_iconv_map): New types.
  (wind_find_language_by_id, wind_find_language_by_codepage,
  (unicode_is_valid_codepage, wind_find_codepage_info, unicode_from_codepage, c$

17 years ago * config/tc-spu.c (spu_cons): Use deferred_expression. Handle
Alan Modra [Tue, 5 Jun 2007 00:28:04 +0000 (00:28 +0000)]
* config/tc-spu.c (spu_cons): Use deferred_expression.  Handle
number@ppu.
(tc_gen_reloc): Abort if neither addsy or subsy is set.
(md_apply_fix): Don't attempt to resolve SPU_PPU relocs.
* config/tc-spu.h (md_operand): Handle @ppu without sym.

17 years ago * embedspu.sh: Handle R_SPU_PPU* relocs with no symbol.
Alan Modra [Tue, 5 Jun 2007 00:27:39 +0000 (00:27 +0000)]
* embedspu.sh: Handle R_SPU_PPU* relocs with no symbol.

17 years agodaily update
Alan Modra [Tue, 5 Jun 2007 00:00:05 +0000 (00:00 +0000)]
daily update

17 years ago2007-06-04 Olivier Hainque <hainque@adacore.com>
Paolo Bonzini [Mon, 4 Jun 2007 09:33:35 +0000 (09:33 +0000)]
2007-06-04  Olivier Hainque  <hainque@adacore.com>

* mh-ppc-aix: Add default ADAFLAGS to BOOT_ADAFLAGS.

17 years ago2007-06-04 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Mon, 4 Jun 2007 08:32:52 +0000 (08:32 +0000)]
2007-06-04  Paolo Bonzini  <bonzini@gnu.org>

Sync with gcc:
2007-05-30  Jakub Jelinek  <jakub@redhat.com>

        PR bootstrap/29382
        * configure.ac: Don't use -fkeep-inline-functions for GCC < 3.3.1.
        * configure: Rebuilt.

17 years agodaily update
Alan Modra [Mon, 4 Jun 2007 00:00:05 +0000 (00:00 +0000)]
daily update

17 years agodaily update
Alan Modra [Sun, 3 Jun 2007 00:00:05 +0000 (00:00 +0000)]
daily update

17 years agodaily update
Alan Modra [Sat, 2 Jun 2007 00:00:06 +0000 (00:00 +0000)]
daily update

17 years agoCorrect ChangeLog entry.
H.J. Lu [Fri, 1 Jun 2007 13:44:18 +0000 (13:44 +0000)]
Correct ChangeLog entry.

17 years ago2007-06-01 Steve Ellcey <sje@cup.hp.com>
Paolo Bonzini [Fri, 1 Jun 2007 11:33:01 +0000 (11:33 +0000)]
2007-06-01  Steve Ellcey  <sje@cup.hp.com>

* libltdl/m4/libtool.m4 (LT_CMD_MAX_LEN): Try using getconf
to set lt_cv_sys_max_cmd_len.

17 years agodaily update
Alan Modra [Fri, 1 Jun 2007 00:00:06 +0000 (00:00 +0000)]
daily update

17 years agobfd/
Richard Sandiford [Thu, 31 May 2007 20:22:56 +0000 (20:22 +0000)]
bfd/
* elfxx-mips.c (mips_elf_initialize_tls_index): When processing a
type (3) single-GOT entry, read tls_type from the hash table entry
rather than the GOT entry.

17 years agoinclude/
Alan Modra [Thu, 31 May 2007 15:04:52 +0000 (15:04 +0000)]
include/
* bfdlink.h (struct bfd_link_info): Add input_bfds_tail.
bfd/
* simple.c (bfd_simple_get_relocated_section_content): Init
input_bfds_tail.
ld/
* ldlang.c (ldlang_add_file): Use input_bfds_tail.
* ldmain.c (main): Init input_bfds_tail.  Sort link_info
initialization.

17 years ago2007-05-31 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 31 May 2007 14:50:16 +0000 (14:50 +0000)]
2007-05-31  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (insns): Allow strex on M profile cores.

17 years ago2007-05-31 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Thu, 31 May 2007 06:40:36 +0000 (06:40 +0000)]
2007-05-31  Paolo Bonzini  <bonzini@gnu.org>

* ltgcc.m4: Update from GCC.

17 years agodaily update
Alan Modra [Thu, 31 May 2007 00:00:05 +0000 (00:00 +0000)]
daily update

17 years agobfd/
Alan Modra [Wed, 30 May 2007 14:29:27 +0000 (14:29 +0000)]
bfd/
* elf.c (elf_fake_sections): Adjust test for SHT_NOBITS sections
created by objcopy --only-keep-debug.
(_bfd_elf_init_private_section_data): Only change elf_section_type
if it is SHT_NULL.
binutils/
* objcopy.c (copy_object): Revert 2007-05-11 change.  Don't
avoid calling bfd_copy_private_bfd_data for ELF STRIP_NONDEBUG.
(setup_section): Don't modify flags, and don't avoid calling
bfd_copy_private_section_data for ELF STRIP_NONDEBUG.
* readelf.c (process_program_headers): Ignore .dynamic of type
SHT_NOBITS.

17 years ago * elf.c (assign_file_positions_for_load_sections): Correct sh_type
Alan Modra [Wed, 30 May 2007 13:38:50 +0000 (13:38 +0000)]
* elf.c (assign_file_positions_for_load_sections): Correct sh_type
to SHT_NOBITS earlier.  Base actions in rest of function on sh_type
and sh_flags instead of bfd section flags.  Delete voff and code
keeping nobits segments aligned.

17 years agodaily update
Alan Modra [Wed, 30 May 2007 00:00:06 +0000 (00:00 +0000)]
daily update

17 years agogas/
Jakub Jelinek [Tue, 29 May 2007 13:18:59 +0000 (13:18 +0000)]
gas/
2007-05-29  David S. Miller  <davem@davemloft.net>
    Jakub Jelinek  <jakub@redhat.com>

PR gas/4558
* config/tc-sparc.c (md_apply_fix): Fix relocation overflow checks
for BFD_RELOC_SPARC_WDISP16 and BFD_RELOC_SPARC_WDISP19.

gas/testsuite/
2007-05-29  Jakub Jelinek  <jakub@redhat.com>

PR gas/4558
* gas/sparc/sparc.exp: Add v9branch{1,2,3,4,5} tests.
* gas/sparc/v9branch1.d: New test.
* gas/sparc/v9branch1.s: New.
* gas/sparc/v9branch2.d: New test.
* gas/sparc/v9branch2.s: New.
* gas/sparc/v9branch3.d: New test.
* gas/sparc/v9branch3.s: New.
* gas/sparc/v9branch4.d: New test.
* gas/sparc/v9branch4.s: New.
* gas/sparc/v9branch5.d: New test.
* gas/sparc/v9branch5.s: New.

17 years agobinutils/
Alan Modra [Tue, 29 May 2007 13:10:10 +0000 (13:10 +0000)]
binutils/
* embedspu.sh: Emit SPU ELF image to .data.rel.ro.speelf if
pic or pie and image needs relocs.
ld/
* emultempl/spuelf.em (base_name): New function, split out from..
(embedded_spu_file) ..here.  Pass -fPIC or -fpie to embedspu
invocation if we deduce a shared lib or position independent
executable build by looking at ctrbegin* linker input files.

17 years ago * emultempl/spu_ovl.S (__rv_pattern, __cg_pattern): Set symbol
Alan Modra [Tue, 29 May 2007 12:54:29 +0000 (12:54 +0000)]
* emultempl/spu_ovl.S (__rv_pattern, __cg_pattern): Set symbol
types and sizes.
* emultempl/spu_ovl.o: Regenerate.

17 years ago * config/tc-spu.h: Wrap in #ifndef/#endif. Delete coff macros.
Alan Modra [Tue, 29 May 2007 02:10:09 +0000 (02:10 +0000)]
* config/tc-spu.h: Wrap in #ifndef/#endif.  Delete coff macros.

17 years ago * config/tc-ppc.c: Convert to ISO C.
Alan Modra [Tue, 29 May 2007 01:57:08 +0000 (01:57 +0000)]
* config/tc-ppc.c: Convert to ISO C.
* config/tc-ppc.c: Likewise.

17 years ago * write.h (EXEC_MACHINE_TYPE): Delete.
Alan Modra [Tue, 29 May 2007 01:10:02 +0000 (01:10 +0000)]
* write.h (EXEC_MACHINE_TYPE): Delete.
(string_byte_count, section_alignment): Delete.

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

17 years ago * app.c (do_scrub_chars): Cope with \ at end of buffer.x
Nathan Sidwell [Mon, 28 May 2007 19:32:58 +0000 (19:32 +0000)]
* app.c (do_scrub_chars): Cope with \ at end of buffer.x

17 years ago2007-05-27 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Mon, 28 May 2007 06:35:11 +0000 (06:35 +0000)]
2007-05-27  Paolo Bonzini  <bonzini@gnu.org>

* confsubdir.m4: Move here from newlib.

17 years agodaily update
Alan Modra [Mon, 28 May 2007 00:00:05 +0000 (00:00 +0000)]
daily update

17 years agodaily update
Alan Modra [Sun, 27 May 2007 00:00:05 +0000 (00:00 +0000)]
daily update

17 years ago * config/tc-ppc.c (ppc_insert_operand): Truncate sign bits in
Alan Modra [Sat, 26 May 2007 14:49:39 +0000 (14:49 +0000)]
* config/tc-ppc.c (ppc_insert_operand): Truncate sign bits in
top 32 bits of 64 bit value if so doing results in passing
range check.  Rewrite sign extension fudges similarly.  Enable
fudges for powerpc64 too.  Report user value if range check
fails rather than fudged value.  Negate PPC_OPERAND_NEGATIVE
range rather than value, also to report user value on failure.

17 years agodaily update
Alan Modra [Sat, 26 May 2007 00:00:07 +0000 (00:00 +0000)]
daily update

17 years ago2007-03-25 Paul Brook <paul@codesourcery.com>
Paul Brook [Fri, 25 May 2007 23:13:24 +0000 (23:13 +0000)]
2007-03-25  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (T2_SUBS_PC_LR): Define.
(do_t_add_sub): Correctly encode subs pc, lr, #const.
(do_t_mov_cmp): Correctly encode movs pc, lr.

gas/testsulte/
* gas/arm/thumb32.s: Add tests for subs pc, lr.
* gas/arm/thumb32.d: Change error-output: to stderr:.
Update expected output.

17 years ago2007-05-25 Eric Christopher <echristo@apple.com>
Eric Christopher [Fri, 25 May 2007 23:06:11 +0000 (23:06 +0000)]
2007-05-25  Eric Christopher  <echristo@apple.com>

        * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame):
        Check that sym_sec isn't NULL before accessing.

17 years ago2007-05-25 Andreas Tobler <a.tobler@schweiz.org>
Eric Christopher [Fri, 25 May 2007 19:56:24 +0000 (19:56 +0000)]
2007-05-25  Andreas Tobler  <a.tobler@schweiz.org>

        * ltmain.sh: Fix Darwin verstring, remove ${wl}.

17 years agodaily update
Alan Modra [Fri, 25 May 2007 00:00:05 +0000 (00:00 +0000)]
daily update

17 years ago * regenerated files from updating libtool.
Steve Ellcey [Thu, 24 May 2007 18:12:51 +0000 (18:12 +0000)]
* regenerated files from updating libtool.

17 years ago * ltmain.sh: Update from GCC.
Steve Ellcey [Thu, 24 May 2007 17:33:42 +0000 (17:33 +0000)]
* ltmain.sh: Update from GCC.
* libtool.m4: Update from GCC.
* ltsugar.m4: New. Update from GCC.
* ltversion.m4: New. Update from GCC.
* ltoptions.m4: New. Update from GCC.
* ltconfig: Remove.
* ltcf-c.sh: Remove.
* ltcf-cxx.sh: Remove.
* ltcf-gcj.sh: Remove.
* src-release: Update with new libtool file list.
* newlib/*/configure.in: invoke _LD_DECL_SED.
* newlib/*/Makefile.am: Ensure toplevel is included in ACLOCAL_AMFLAGS.
* Regenerate subdirectories

17 years ago2007-05-24 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 24 May 2007 16:31:57 +0000 (16:31 +0000)]
2007-05-24  H.J. Lu  <hongjiu.lu@intel.com>

* gprof.texi: Remove orphaned "@end ignore".

17 years ago* rcparse.y: Join strings for elements having no side-effects in "rc"-grammar.
Nick Clifton [Thu, 24 May 2007 11:01:07 +0000 (11:01 +0000)]
* rcparse.y: Join strings for elements having no side-effects in "rc"-grammar.
* testsuite/binutils-all/windres/version_cat.rc: New.
* testsuite/binutils-all/windres/version_cat.rsd: New.

17 years ago * ldlex.l: ASSERT is recognized in SCRIPT env. NAMES cannot
Nathan Sidwell [Thu, 24 May 2007 09:24:09 +0000 (09:24 +0000)]
* ldlex.l: ASSERT is recognized in SCRIPT env.  NAMES cannot
contain commas in EXP env.
* ldgram.y (extern_name_list): Push to EXP env, move body to ...
(extern_name_list_body): ... here.
(script_file, ifile_list): Reformat.
(statement): Add ASSERT.
testsuite:
* ld-scripts/assert.t: Add additional cases.
* ld-scripts/extern.t, ld-scripts/extern.s,
ld-scripts/extern.exp: New.

17 years agodaily update
Alan Modra [Thu, 24 May 2007 00:00:07 +0000 (00:00 +0000)]
daily update

17 years ago2007-05-23 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Wed, 23 May 2007 14:27:05 +0000 (14:27 +0000)]
2007-05-23  Paolo Bonzini  <bonzini@gnu.org>

PR bootstrap/32009
* mh-ppc-darwin: Temporarily disable.

17 years agoUpdated windres tool
Nick Clifton [Wed, 23 May 2007 08:48:29 +0000 (08:48 +0000)]
Updated windres tool

17 years agodaily update
Alan Modra [Wed, 23 May 2007 00:00:10 +0000 (00:00 +0000)]
daily update

17 years ago * doc/c-xtensa.texi (Xtensa Automatic Alignment): Remove statements
Bob Wilson [Tue, 22 May 2007 17:59:17 +0000 (17:59 +0000)]
* doc/c-xtensa.texi (Xtensa Automatic Alignment): Remove statements
and index entries about automatic alignment of ENTRY instructions.

17 years ago2007-05-22 Paul Brook <paul@codesourcery.com>
Paul Brook [Tue, 22 May 2007 17:17:53 +0000 (17:17 +0000)]
2007-05-22  Paul Brook  <paul@codesourcery.com>

ld/testsuite/
* ld-arm/arm-pic-veneer.d: Update expected output.
* ld-arm/arm-call.d: Ditto.

bfd/
* elf32-arm.c (output_arch_syminfo): Replace plt_shndx and plt_offset
with sec and sec_shndx.
(elf32_arm_ouput_plt_map_sym): Use them.
(elf32_arm_output_arch_local_syms): Output mapping symbols for
interworking glue.

17 years ago2007-05-22 Paul Brook <paul@codesourcery.com>
Paul Brook [Tue, 22 May 2007 15:05:12 +0000 (15:05 +0000)]
2007-05-22  Paul Brook  <paul@codesourcery.com>

bunutils/
* objdump.c (find_symbol_for_address): Merge section and target
specific filtering code.

ld/testsuite/
* ld-arm-mixed-lib.d: Update expected output.
* ld-arm/arm-app.d: Ditto.
* ld-arm/mixed-app.d: Ditto.
* ld-arm/arm-lib-plt32.d: Ditto.
* ld-arm/arm-app-abs32.d: Ditto.
* ld-arm/mixed-app-v5.d: Ditto.
* ld-arm/armthumb-lib.d: Ditto.
* ld-arm/arm-lib.d: Ditto.

gas/testsuite/
* gas/arm/backslash-at.d: Update expected output.