OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
17 years agorevert hunk that belongs to a future patchset
Alan Modra [Thu, 19 Apr 2007 10:55:25 +0000 (10:55 +0000)]
revert hunk that belongs to a future patchset

17 years ago..
Alan Modra [Thu, 19 Apr 2007 10:52:48 +0000 (10:52 +0000)]
..

17 years agoduh
Alan Modra [Thu, 19 Apr 2007 10:52:36 +0000 (10:52 +0000)]
duh

17 years agomissed from last commit
Alan Modra [Thu, 19 Apr 2007 10:51:34 +0000 (10:51 +0000)]
missed from last commit

17 years ago * Makefile.am: Run "make dep-am".
Alan Modra [Thu, 19 Apr 2007 10:47:50 +0000 (10:47 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.

17 years ago * Makefile.am: Run "make dep-am".
Alan Modra [Thu, 19 Apr 2007 10:47:26 +0000 (10:47 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* po/POTFILES.in: Regenerate.

17 years ago * corefile.c (core_create_function_syms, core_create_line_syms): Don't
Alan Modra [Thu, 19 Apr 2007 10:46:56 +0000 (10:46 +0000)]
* corefile.c (core_create_function_syms, core_create_line_syms): Don't
set discard_underscores.
* gprof.c (discard_underscores): Delete.
* gprof.h (discard_underscores): Delete.
* sym_ids.c (match): Use bfd_get_symbol_leading_char to check for
leading underscores.
* utils.c (print_name_only): Call bfd_demangle rather than
cplus_demangle.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.

17 years ago * ldcref.c (cref_fill_array): Call bfd_demangle rather than demangle.
Alan Modra [Thu, 19 Apr 2007 10:45:59 +0000 (10:45 +0000)]
* ldcref.c (cref_fill_array): Call bfd_demangle rather than demangle.
* ldlang.c (lang_one_common): Likewise.
* ldmisc.c (vfinfo): Likewise.
(demangle): Delete.
* ldmisc.h (demangle): Delete.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.

17 years ago * budemang.c: Delete.
Alan Modra [Thu, 19 Apr 2007 10:43:47 +0000 (10:43 +0000)]
* budemang.c: Delete.
* budemang.h: Delete.
* addr2line.c (translate_addresses): Call bfd_demangle rather than
demangle.
* nm.c (print_symname): Likewise.
* objdump.c (objdump_print_symname, dump_symbols): Likewise.
(dump_bfd): Likewise.
* prdbg.c (struct pr_handle <demangler>): Add int param.
(tg_variable, tg_start_function): Adjust demangler calls.
* Makefile.am: Remove mention of budemang.[ch].  Run "make dep-am".
* Makefile.in: Regenerate.
* po/POTFILES.in: Regenerate.

17 years ago * bfd.c (bfd_demangle): New function.
Alan Modra [Thu, 19 Apr 2007 10:41:30 +0000 (10:41 +0000)]
* bfd.c (bfd_demangle): New function.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* bfd-in2.h: Regenerate.

17 years ago * ppc-opc.c (powerpc_opcodes): Add cctpl, cctpm, cctph, db8cyc,
Alan Modra [Thu, 19 Apr 2007 01:39:31 +0000 (01:39 +0000)]
* ppc-opc.c (powerpc_opcodes): Add cctpl, cctpm, cctph, db8cyc,
db10cyc, db12cyc, db16cyc.

17 years ago * doc/c-ppc.texi (PowerPC-Opts): Document -me500, -me500x2, -mspe.
Alan Modra [Thu, 19 Apr 2007 00:05:32 +0000 (00:05 +0000)]
* doc/c-ppc.texi (PowerPC-Opts): Document -me500, -me500x2, -mspe.

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

17 years ago * gas/ppc/booke.s: Add tlbsx, tlbsxe.
Alan Modra [Wed, 18 Apr 2007 23:58:12 +0000 (23:58 +0000)]
* gas/ppc/booke.s: Add tlbsx, tlbsxe.
* gas/ppc/booke.d: Update.

17 years ago * ppc-opc.c (powerpc_opcodes): Recognize three-operand tlbsxe.
Alan Modra [Wed, 18 Apr 2007 23:57:01 +0000 (23:57 +0000)]
* ppc-opc.c (powerpc_opcodes): Recognize three-operand tlbsxe.

17 years ago2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 18 Apr 2007 18:09:05 +0000 (18:09 +0000)]
2007-04-18  H.J. Lu <hongjiu.lu@intel.com>

* doc/c-i386.texi; Document .ssse3, .sse4.1, .sse4.2 and .sse4.

17 years agogas/
H.J. Lu [Wed, 18 Apr 2007 16:15:55 +0000 (16:15 +0000)]
gas/

2007-04-18  H.J. Lu <hongjiu.lu@intel.com>

* config/tc-i386.c (cpu_arch): Add .sse4.2 and .sse4.
(match_template): Handle operand size for crc32 in SSE4.2.
(process_suffix): Handle operand type for crc32 in SSE4.2.
(output_insn): Support SSE4.2.

gas/testsuite/

2007-04-18  H.J. Lu <hongjiu.lu@intel.com>

* gas/i386/i386.exp: Add sse4.2 and x86-64-sse4.2.

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

opcodes/

2007-04-18  H.J. Lu <hongjiu.lu@intel.com>

* i386-dis.c (CRC32_Fixup): New.
(PREGRP85, PREGRP86, PREGRP87, PREGRP88, PREGRP89, PREGRP90,
 PREGRP91): New.
(threebyte_0x38_uses_DATA_prefix): Updated for SSE4.2.
(threebyte_0x3a_uses_DATA_prefix): Likewise.
(prefix_user_table): Add PREGRP85, PREGRP86, PREGRP87,
PREGRP88, PREGRP89, PREGRP90 and PREGRP91.
(three_byte_table): Likewise.

* i386-opc.c (i386_optab): Add SSE4.2 opcodes.

* gas/config/tc-i386.h (CpuSSE4_2): New.
(CpuSSE4): Likewise.
(CpuUnknownFlags): Add CpuSSE4_2.

17 years agogas/
H.J. Lu [Wed, 18 Apr 2007 16:13:15 +0000 (16:13 +0000)]
gas/

2007-04-18  H.J. Lu <hongjiu.lu@intel.com>

* config/tc-i386.c (cpu_arch): Add .sse4.1.
(process_operands): Adjust implicit operand for blendvpd,
blendvps and pblendvb in SSE4.1.
(output_insn): Support SSE4.1.

gas/testsuite/

2007-04-18  H.J. Lu <hongjiu.lu@intel.com>

* gas/i386/i386.exp: Add sse4.1 and x86-64-sse4.1.

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

opcodes/

2007-04-18  H.J. Lu <hongjiu.lu@intel.com>

* i386-dis.c (XMM_Fixup): New.
(Edqb): New.
(Edqd): New.
(XMM0): New.
(dqb_mode): New.
(dqd_mode): New.
(PREGRP39 ... PREGRP85): New.
(threebyte_0x38_uses_DATA_prefix): Updated for SSE4.
(threebyte_0x3a_uses_DATA_prefix): Likewise.
(prefix_user_table): Add PREGRP39 ... PREGRP85.
(three_byte_table): Likewise.
(putop): Handle 'K'.
(intel_operand_size): Handle dqb_mode, dqd_mode):
(OP_E): Likewise.
(OP_G): Likewise.

* i386-opc.c (i386_optab): Add SSE4.1 opcodes.

* i386-opc.h (CpuSSE4_1): New.
(CpuUnknownFlags): Add CpuSSE4_1.
(regKludge): Update comment.

17 years ago2007-04-18 Paul Brook <paul@codesourcery.com>
Paul Brook [Wed, 18 Apr 2007 13:49:34 +0000 (13:49 +0000)]
2007-04-18  Paul Brook  <paul@codesourcery.com>

gas/testsuite/
* gas/arm/thumb2_add.s: Add rsb #0 test.
* gas/arm/thumb2_add.d: Update expected output.

gas/
* config/tc-arm.c (do_t_rsb): Use 16-bit encoding when possible.

17 years ago2007-04-18 Matthias Klose <doko@ubuntu.com>
Daniel Jacobowitz [Wed, 18 Apr 2007 12:14:50 +0000 (12:14 +0000)]
2007-04-18  Matthias Klose  <doko@ubuntu.com>

* Makefile.am (libbfd_la_LDFLAGS): Use bfd soversion.
(bfdver.h): Use the date in non-release builds for the soversion.
* Makefile.in: Regenerate.

2007-04-18  Matthias Klose  <doko@ubuntu.com>

* Makefile.am (libopcodes_la_LDFLAGS): Use bfd soversion.
* Makefile.in: Regenerate.

17 years agold/
Alan Modra [Wed, 18 Apr 2007 03:55:10 +0000 (03:55 +0000)]
ld/
* ldlang.h (enum section_type): Add overlay_section.
* ldlang.c (lang_add_section): Handle flags for overlay_section
as per normal_section.
(lang_size_sections_1): When setting lma, detect overlays by
os->sectype rather than by looking for overlapping vmas.
(lang_enter_overlay_section): Use overlay_section type.
(lang_leave_overlay): Set first overlay section to normal.
ld/testsuite/
* ld-spu/ovl.lnk: Use OVERLAY keyword.

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

17 years ago2007-04-17 Paul Brook <paul@codesourcery.com>
Paul Brook [Tue, 17 Apr 2007 20:09:52 +0000 (20:09 +0000)]
2007-04-17  Paul Brook  <paul@codesourcery.com>

bfd/
* elf.c (_bfd_elf_is_function_type): New function.
* elflink.c (_bfd_elf_merge_symbol): Use bed->is_function_type.
(_bfd_elf_dynamic_symbol_p, _bfd_elf_symbol_refs_local_p,
is_global_data_symbol_definition, elf_link_add_object_symbols): Ditto.
* elf-bfd.h (elf_backend_data): Add is_function_type.
(_bfd_elf_is_function_type): Add prototype.
* elfxx-target.h (elf_backend_is_function_type): Add default
definition.
(elfNN_bed): Add elf_backend_is_function_type.
* elf32-arm.c (elf32_arm_is_function_type): New function.
(elf_backend_is_function_type): Define.

ld/testsuite/
* ld-arm/preempt-app.s: New test.
* ld-arm/preempt-app.sym: New.
* ld-arm/arm-elf.exp: Add preempt-app.

17 years ago * elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Put
Daniel Jacobowitz [Tue, 17 Apr 2007 13:14:08 +0000 (13:14 +0000)]
* elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Put
DT_MIPS_RLD_MAP before DT_DEBUG again.

17 years agodaily update
Alan Modra [Tue, 17 Apr 2007 00:00:10 +0000 (00:00 +0000)]
daily update

17 years ago * config/tc-sh.c (sh_handle_align): Call as_bad_where instead
Kaz Kojima [Mon, 16 Apr 2007 13:05:30 +0000 (13:05 +0000)]
* config/tc-sh.c (sh_handle_align):  Call as_bad_where instead
of as_warn_where for misaligned data.

17 years agodaily update
Alan Modra [Mon, 16 Apr 2007 00:00:07 +0000 (00:00 +0000)]
daily update

17 years ago * config/tc-sh.c (align_test_frag_offset_fixed_p): Handle
Kaz Kojima [Sun, 15 Apr 2007 22:02:25 +0000 (22:02 +0000)]
* config/tc-sh.c (align_test_frag_offset_fixed_p): Handle
rs_fill frags.

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

17 years ago * Makefile.am: Add ACLOCAL_AMFLAGS.
Steve Ellcey [Sat, 14 Apr 2007 20:45:09 +0000 (20:45 +0000)]
* Makefile.am: Add ACLOCAL_AMFLAGS.
* Makefile.in: Regenerate.

17 years ago * Makefile.am: Add ACLOCAL_AMFLAGS.
Steve Ellcey [Sat, 14 Apr 2007 20:38:13 +0000 (20:38 +0000)]
    * Makefile.am: Add ACLOCAL_AMFLAGS.
        * configure.in: Change macro call order.
        * Makefile.in: Regenerate.
        * configure: Regenerate.

17 years ago * Makefile.am: Add ACLOCAL_AMFLAGS.
Steve Ellcey [Sat, 14 Apr 2007 20:36:56 +0000 (20:36 +0000)]
    * Makefile.am: Add ACLOCAL_AMFLAGS.
        * configure.in: Change macro call order.
        * Makefile.in: Regnerate.
        * doc/Makefile.in: Regenerate.
        * configure: Regenerate.

17 years ago * config-ml.in: Update from GCC.
Steve Ellcey [Sat, 14 Apr 2007 20:35:07 +0000 (20:35 +0000)]
    * config-ml.in: Update from GCC.

17 years ago * config/tc-sh.c (align_test_frag_offset_fixed_p): New.
Kaz Kojima [Sat, 14 Apr 2007 14:21:11 +0000 (14:21 +0000)]
* config/tc-sh.c (align_test_frag_offset_fixed_p): New.
(sh_optimize_expr): Likewise.
* config/tc-sh.h (md_optimize_expr): Define.
(sh_optimize_expr): Prototype.

17 years ago * elflink.c (bfd_elf_final_link): Don't free symbuf for
Jakub Jelinek [Sat, 14 Apr 2007 13:01:24 +0000 (13:01 +0000)]
* elflink.c (bfd_elf_final_link): Don't free symbuf for
non-elf input bfds.
(bfd_elf_size_dynamic_sections): Don't access elf_section_data
for non-elf input bfds.

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

17 years agoRemove trailing white spaces.
H.J. Lu [Fri, 13 Apr 2007 21:59:35 +0000 (21:59 +0000)]
Remove trailing white spaces.

17 years ago2007-04-13 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 13 Apr 2007 21:57:21 +0000 (21:57 +0000)]
2007-04-13  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c: Remove trailing white spaces.

17 years ago * Makefile.am (TOOL_PROGS): Add objcopy.
Nathan Sidwell [Fri, 13 Apr 2007 12:05:59 +0000 (12:05 +0000)]
* Makefile.am (TOOL_PROGS): Add objcopy.
* Makefile.in: Rebuilt.

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

17 years agobfd/
Richard Sandiford [Thu, 12 Apr 2007 19:27:35 +0000 (19:27 +0000)]
bfd/
* elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Don't add
DT_MIPS_RTLD_MAP for PIEs.

17 years agobfd/
Richard Sandiford [Thu, 12 Apr 2007 19:26:09 +0000 (19:26 +0000)]
bfd/
* elfxx-mips.c (mips_elf_calculate_relocation): Set DT_TEXTREL
when creating a __GOTT_BASE__ or __GOTT_INDEX__ relocation
in a read-only section.
(_bfd_mips_elf_check_relocs): Likewise.

ld/testsuite/
* ld-mips-elf/vxworks1-lib.td: New test.
* ld-mips-elf/mips-elf.exp: Run it.

17 years ago2007-04-12 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 12 Apr 2007 19:20:46 +0000 (19:20 +0000)]
2007-04-12  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/4348
* objcopy.c (copy_object): Don't stop when there are no
sections to be copied.

testsuite/

2007-04-12  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/4348
* binutils-all/empty.s: New file.
* binutils-all/strip-3.d: Likewise.

* binutils-all/objcopy.exp: Run strip-3 for ELF target.

17 years ago * elf32-xtensa.c (xtensa_is_insntable_section): New.
Bob Wilson [Thu, 12 Apr 2007 18:55:29 +0000 (18:55 +0000)]
* elf32-xtensa.c (xtensa_is_insntable_section): New.
(xtensa_is_proptable_section): New.
(elf_xtensa_discard_info_for_section): Handle "full" .xt.prop property
tables with 12-byte entries, as well as tables with 8-byte entries.
Sort the relocations before examining them.
(relax_property_section): Use xtensa_is_proptable_section and
xtensa_is_littable_section.  Rewrite code for combining table entries
to be more robust in case of unexpected relocations.  Do not set offset
of unused relocations to less than zero.
(xtensa_is_property_section): Use other functions instead of
duplicating section name comparisons.
(xtensa_is_littable_section): Use CONST_STRNEQ for ".gnu.linkonce.p.".
(xtensa_get_property_predef_flags): Use xtensa_is_insntable_section.

17 years agobfd/
Bob Wilson [Thu, 12 Apr 2007 15:52:02 +0000 (15:52 +0000)]
bfd/
* elf32-xtensa.c (elf_xtensa_gc_mark_hook): Don't follow references
from Xtensa property sections.
ld/
* emulparams/elf32xtensa.sh (OTHER_SECTIONS): KEEP property sections.

17 years agoconfig:
Paolo Bonzini [Thu, 12 Apr 2007 13:06:01 +0000 (13:06 +0000)]
config:
2007-04-11  Kai Tietz  <kai.tietz@onevision.com>

* stdint.m4: Make template compatible with older cygwin
types.h, wrapping each type in a __XXX_t_defined #ifdef.

17 years ago * elf32-spu.c (needs_ovl_stub): Test that spu_elf_section_data
Alan Modra [Thu, 12 Apr 2007 07:47:13 +0000 (07:47 +0000)]
* elf32-spu.c (needs_ovl_stub): Test that spu_elf_section_data
is non-NULL before dereferencing.

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

17 years ago2007-04-11 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 11 Apr 2007 21:56:25 +0000 (21:56 +0000)]
2007-04-11  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/4333
* i386-dis.c (GRP1a): New.
(GRP1b ... GRPPADLCK2): Update index.
(dis386): Use GRP1a for entry 0x8f.
(mod, rm, reg): Removed. Replaced by ...
(modrm): This.
(grps): Add GRP1a.

17 years agomerge from gcc
DJ Delorie [Wed, 11 Apr 2007 20:01:26 +0000 (20:01 +0000)]
merge from gcc

17 years agofix typo in previous commit
Nathan Sidwell [Wed, 11 Apr 2007 14:36:33 +0000 (14:36 +0000)]
fix typo in previous commit

17 years ago * elf-vxworks.c (elf_vxworks_emit_relocs): Remap weakdef PLT slot
Nathan Sidwell [Wed, 11 Apr 2007 12:02:32 +0000 (12:02 +0000)]
* elf-vxworks.c (elf_vxworks_emit_relocs): Remap weakdef PLT slot
relocs too.

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

17 years agobfd/
Richard Henderson [Tue, 10 Apr 2007 18:00:26 +0000 (18:00 +0000)]
bfd/
        * elf64-alpha.c (struct alpha_elf_link_hash_table): Add relax_trip.
        (elf64_alpha_size_got_sections): Remove unused something_changed local.
        (elf64_alpha_size_plt_section): Return void.
        (elf64_alpha_size_rela_got_section): Likewise.
        (elf64_alpha_relax_section): Only regenerate got+plt if the
        relax_trip counter has changed.
include/
        * bfdlink.h (struct bfd_link_info): Add relax_trip.
ld/
        * ldlang.c (relax_sections): Initialize and increment
        link_info.relax_trip.

17 years agoFix typo in the previous commit
Vladimir Prus [Tue, 10 Apr 2007 08:47:50 +0000 (08:47 +0000)]
Fix typo in the previous commit

17 years ago * NEWS: Mention disjoint histograms support in
Vladimir Prus [Tue, 10 Apr 2007 08:01:13 +0000 (08:01 +0000)]
    * NEWS: Mention disjoint histograms support in
        gprof.

17 years ago * hist.h (struct histogram)
Vladimir Prus [Tue, 10 Apr 2007 07:57:31 +0000 (07:57 +0000)]
* hist.h (struct histogram)
(histograms, num_histograms): New.
* hist.c (find_histogram, find_histogram_for_pc)
(read_histogram_header): New.
(s_lowpc, s_highpc, lowpc, highpc, hist_num_bins)
(hist_sample): Remove.
(hist_read_rec): Use the above, and handle multiple
histogram records with disjoint address ranges.
(hist_write_hist): Support several histogram records.
(scale_and_align_entries): Adjust for multiple histograms.
(hist_assign_samples_1): New.
(hist_assign_samples): Use the above.
(hist_clip_symbol_address): New.
* hist.h (hist_check_address)
(hist_clip_symbol_address): Declare.
* gmon_io.c (gmon_out_read, gmon_out_write): Adjust handling
of legacy format for multiple histogram changes.
* corefile.c (find_call): Check for core_text_space and
clip symbol address range here.
* vax.c (vax_find_call): Don't check for
core_text_space, or clip the symbol's address range here.
Use hist_check_address to check call's target address.
* sparc.c: Likewise.
* tahoe.c: Likewise.
* i386.c: Likewise.
* mips.c: Likewise. Also use core_text_sect->vma as the base
address for code accesses, just like other machine-specific
routines do.
* gprof.texi: Adjust for the new logic.

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

17 years ago * m68k-dis.c (print_insn_m68k): Restore info->fprintf_func and
Kazu Hirata [Mon, 9 Apr 2007 17:09:56 +0000 (17:09 +0000)]
* m68k-dis.c (print_insn_m68k): Restore info->fprintf_func and
info->print_address_func if longjmp is called.

17 years ago * src-release (do-proto-toplev): Process the support directories before
Daniel Jacobowitz [Mon, 9 Apr 2007 15:36:44 +0000 (15:36 +0000)]
* src-release (do-proto-toplev): Process the support directories before
the tool directory.

* Makefile.am (bfdver.h): Do not generate doc/bfdver.texi.
* doc/Makefile.am (DOCFILES): Add bfdver.texi.
(bfdver.texi): New rule.
* Makefile.in, doc/Makefile.in: Regenerated.

17 years ago * dwarf.c (process_debug_info): Do not require DW_AT_frame_base for
Daniel Jacobowitz [Mon, 9 Apr 2007 14:36:59 +0000 (14:36 +0000)]
* dwarf.c (process_debug_info): Do not require DW_AT_frame_base for
DW_TAG_inlined_subroutine.

17 years agodaily update
Alan Modra [Mon, 9 Apr 2007 00:00:04 +0000 (00:00 +0000)]
daily update

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

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

17 years ago2007-04-06 Matt Thomas <matt@netbsd.org>
Matt Thomas [Fri, 6 Apr 2007 16:36:48 +0000 (16:36 +0000)]
2007-04-06  Matt Thomas  <matt@netbsd.org>

* config/tc-vax.c (vax_cons): Added to support %pcrel{8,16,32}(exp)
to emit pcrel relocations by DWARF2 in non-code sections.  Borrowed
heavily from tc-sparc.c.  (vax_cons_fix_new): Likewise.

17 years ago2007-04-03 Matt Thomas <matt@netbsd.org>
Matt Thomas [Fri, 6 Apr 2007 16:29:32 +0000 (16:29 +0000)]
2007-04-03  Matt Thomas  <matt@netbsd.org>

* elf32-vax.c (elf_vax_relocate_section): Do not emit a PCREL reloc
in a shared object if it is not in a CODE section or if it is against
a section symbol.  This allows DWARF2 to use pcrel format.

17 years ago2007-04-06 Matt Thomas <matt@netbsd.org>
Matt Thomas [Fri, 6 Apr 2007 16:08:06 +0000 (16:08 +0000)]
2007-04-06  Matt Thomas  <matt@netbsd.org>

* MAINTAINERS: Add myself as VAX and NetBSD support maintainer.

17 years ago * filename_cmp.c (filename_cmp): Improve documentation.
Joel Brobecker [Fri, 6 Apr 2007 06:01:54 +0000 (06:01 +0000)]
    * filename_cmp.c (filename_cmp): Improve documentation.

17 years agodaily update
Alan Modra [Fri, 6 Apr 2007 00:00:07 +0000 (00:00 +0000)]
daily update

17 years agobfd/
H.J. Lu [Thu, 5 Apr 2007 16:16:28 +0000 (16:16 +0000)]
bfd/

2007-04-05  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/4304
* elflink.c (bfd_elf_final_link): Call einfo callback in
bfd_link_info instead of _bfd_error_handler for DT_TEXTREL
warning.

ld/testsuite/

2007-04-05  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/4304
* ld-i386/i386.exp: Run "warn1".

* ld-i386/warn1.d: New file.
* ld-i386/warn1.s: Likewise.

17 years ago2007-04-05 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 5 Apr 2007 13:47:02 +0000 (13:47 +0000)]
2007-04-05  H.J. Lu  <hongjiu.lu@intel.com>

* ld-i386/combreloc.d: Remove #target: i?86-*-*.
* ld-i386/reloc.d: Likewise.

17 years agobfd/
Alan Modra [Thu, 5 Apr 2007 07:01:53 +0000 (07:01 +0000)]
bfd/
* elf32-spu.c (spu_elf_output_symbol_hook): New function.
(elf_backend_link_output_symbol_hook): Define.
ld/testsuite/
* ld-spu/ovl2.d: Update.

17 years ago PR binutils/4292
Alan Modra [Thu, 5 Apr 2007 06:36:35 +0000 (06:36 +0000)]
PR binutils/4292
* nm.c (print_value): Cast bfd_vma to unsigned long to suit
value_format_32bit.

17 years ago2007-04-04 Eric Christopher <echristo@apple.com>
Eric Christopher [Thu, 5 Apr 2007 05:55:51 +0000 (05:55 +0000)]
2007-04-04  Eric Christopher  <echristo@apple.com>

        Move from gcc:
        2007-04-04  Zack Weinberg  <zack@mrtock.ucsd.edu>

                * texi2pod.pl: Correct handling of @itemize with no argument.

        2007-02-16  Matthias Klose  <doko@debian.org>

                * texi2pod.pl: Handle @subsubsection, ignore @anchor.

        2007-02-06  Richard Sandiford  <richard@codesourcery.com>

                * texi2pod.pl: Handle @multitable.

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

17 years ago * config/tc-m68k.c (HAVE_LONG_BRANCH): Add fido_a.
Kazu Hirata [Wed, 4 Apr 2007 22:10:34 +0000 (22:10 +0000)]
* config/tc-m68k.c (HAVE_LONG_BRANCH): Add fido_a.

17 years ago2007-04-04 Paul Brook <paul@codesourcery.com>
Paul Brook [Wed, 4 Apr 2007 19:21:24 +0000 (19:21 +0000)]
2007-04-04  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (do_neon_ext): Enforce immediate range.
(insns): Use I15 for vext.

gas/testsute/
* gas/arm/neon-cov.s: Add new vext test.
* gas/arm/neon-cov.d: Ditto.

17 years ago2007-04-04 Paul Brook <paul@codesourcery.com>
Paul Brook [Wed, 4 Apr 2007 18:02:39 +0000 (18:02 +0000)]
2007-04-04  Paul Brook  <paul@codesourcery.com>

ld/
* configure.tgt: Loosen checks for arm uclinux eabi targets.
gas/
* configure.tgt: Loosen checks for arm uclinux eabi targets.

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

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

17 years ago * config/tc-xtensa.c (xtensa_flush_pending_output): Check
Bob Wilson [Mon, 2 Apr 2007 20:05:47 +0000 (20:05 +0000)]
* config/tc-xtensa.c (xtensa_flush_pending_output): Check
outputting_stabs_line_debug.

17 years ago * config/tc-avr.c (mcu_types): Add support for at90pwm1, at90usb82,
Denis Chertykov [Mon, 2 Apr 2007 18:42:36 +0000 (18:42 +0000)]
* config/tc-avr.c (mcu_types): Add support for at90pwm1, at90usb82,
at90usb162, atmega325p, atmega329p, atmega3250p and atmega3290p
devices.
* doc/c-avr.texi: Document new devices.

17 years agoPR binutils/4292
Nick Clifton [Mon, 2 Apr 2007 16:51:13 +0000 (16:51 +0000)]
PR binutils/4292
* bfd.c (bfd_fprintf_vma): Do not print addresses of 32-bit
  targets as 64-bit values, even if running on a 64-bit host.
* coffgen.c (coff_print_symbol): Likewise.
* nm.c (value_format): Replace with value_format_32bit and
  value_format_64bit.
  (set_radix): Update setting of value_format.
  (set_print_width): New function.  Compute the address size of a
  given bfd and set the print_width global appropriately.
  (display_archive): Use set_print_width.
  (display_file): Likewise,
  (print_object_filename_sysv): Update use of print_width.
  (print_archive_member_sysv): Likewise.
  (print_symbol_filename_posix): Likewise.
  (print_sumbol_info_bfd, print_symbol_info_sysv): Likewise.

17 years agold/
H.J. Lu [Mon, 2 Apr 2007 16:32:04 +0000 (16:32 +0000)]
ld/

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

PR ld/4090
* ldexp.h (node_type): Add lineno.
* ldexp.c: Include "ldlex.h".
(exp_intop): Set the lineno field from lineno.
(exp_bigintop): Likewise.
(exp_relop): Likewise.
(exp_nameop): Likewise.
(exp_binop): Set the lineno field from lineno of lhs.
(exp_trinop): Likewise.
(exp_unop): Set the lineno field from lineno of child.
(exp_assop): Set the lineno field from lineno of src.
(exp_provide): Likewise.
(exp_assert): Set the lineno field from lineno of exp.
(exp_get_abs_int): Set lineno from lineno of nonconstant
expression when report problem.

ld/testsuite/

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

PR ld/4090
* ld-elf/expr1.d: New file.
* ld-elf/expr1.s: Likewise.
* ld-elf/expr1.t: Likewise.

17 years agogas/
Richard Sandiford [Mon, 2 Apr 2007 14:25:27 +0000 (14:25 +0000)]
gas/
* doc/as.texinfo: Add -mvxworks-pic to the list of MIPS options.
* doc/c-mips.texi (-KPIC, -mvxworks-pic): Document.
* config/tc-mips.c (md_show_usage): Mention -mvxworks-pic.

17 years ago * filename_cmp.c: Include "config.h".
Andreas Schwab [Mon, 2 Apr 2007 11:20:52 +0000 (11:20 +0000)]
* filename_cmp.c: Include "config.h".

17 years agodaily update
Alan Modra [Mon, 2 Apr 2007 00:00:07 +0000 (00:00 +0000)]
daily update

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

17 years ago * gas/z8k/calr.d: Fix for 64bit bfd.
Christian Groessler [Sat, 31 Mar 2007 22:28:06 +0000 (22:28 +0000)]
* gas/z8k/calr.d: Fix for 64bit bfd.
* gas/z8k/djnz.d: Likewise.
* gas/z8k/inout.d: Likewise.
* gas/z8k/jmp-cc.d: Likewise.
* gas/z8k/jr-back.d: Likewise.
* gas/z8k/jr-forw.d: Likewise.
* gas/z8k/reglabel.d: Likewise.
* gas/z8k/ctrl-names.d: Fix name.  Fix for 64bit bfd.
* gas/z8k/ret-cc.d: Likewise.

17 years ago * gas/i386/nops-3.s: Don't use .align.
Alan Modra [Sat, 31 Mar 2007 03:22:38 +0000 (03:22 +0000)]
* gas/i386/nops-3.s: Don't use .align.

17 years ago * config/tc-xtensa.c (xtensa_move_labels): Remove loops_ok argument.
Bob Wilson [Sat, 31 Mar 2007 00:09:34 +0000 (00:09 +0000)]
* config/tc-xtensa.c (xtensa_move_labels): Remove loops_ok argument.
Do not check is_loop_target flag.
(xtensa_frob_label): Adjust calls to xtensa_move_labels.
(xg_assemble_vliw_tokens): Likewise.  Also avoid calling
xtensa_move_labels for alignment of loop opcodes.

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

17 years ago2007-03-30 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 30 Mar 2007 16:28:33 +0000 (16:28 +0000)]
2007-03-30  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (process_suffix): Reindent a bit.

17 years ago2007-03-30 Paul Brook <paul@codesourcery.com>
Paul Brook [Fri, 30 Mar 2007 14:51:25 +0000 (14:51 +0000)]
2007-03-30  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (encode_thumb2_ldmstm): New function.
(do_t_ldmstm): Generate 16-bit push/pop.  Use encode_thumb2_ldmstm.
(do_t_push_pop):  Use encode_thumb2_ldmstm.

gas/testsuite/
* gas/arm/thumb2_ldmstm.d: New test.
* gas/arm/thumb2_ldmstm.s: New test.

17 years agodaily update
Alan Modra [Fri, 30 Mar 2007 00:00:09 +0000 (00:00 +0000)]
daily update

17 years ago* m32c.cpu (Imm-8-s4n): Fix print hook.
DJ Delorie [Thu, 29 Mar 2007 23:56:39 +0000 (23:56 +0000)]
* m32c.cpu (Imm-8-s4n): Fix print hook.
(Lab-24-8, Lab-32-8, Lab-40-8): Fix.
(arith-jnz-imm4-dst-defn): Make relaxable.
(arith-jnz16-imm4-dst-defn): Fix encodings.

* m32c-desc.c: Regenerate.
* m32c-dis.c: Regenerate.
* m32c-opc.c: Regenerate.

* config/tc-m32c.c (rl_for, relaxable): Protect argument.
(md_relax_table): Add entries for ADJNZ macros.
(M32C_Macros): Add ADJNZ macros.
(subtype_mappings): Add entries for ADJNZ macros.
(insn_to_subtype): Check for adjnz and sbjnz insns.
(md_estimate_size_before_relax): Pass insn to insn_to_subtype.
(md_convert_frag): Convert adjnz and sbjnz.

17 years agomerge from gcc
DJ Delorie [Thu, 29 Mar 2007 21:03:48 +0000 (21:03 +0000)]
merge from gcc

17 years agold/
Richard Sandiford [Thu, 29 Mar 2007 17:16:05 +0000 (17:16 +0000)]
ld/
200x-xx-xx  Richard Sandiford  <richard@codesourcery.com>
    Daniel Jacobowitz  <dan@codesourcery.com>

* NEWS: Mention -l:foo.
* ld.texinfo: Document it.
* ldlang.c (new_afile): If a lang_input_file_is_l_enum
entry as a name beginning with a coloh, convert it to a
lang_input_file_is_search_file_enum entry without the colon.

ld/testsuite/
* ld-libs/lib-1.s, ld-libs/lib-2.s, ld-libs/lib-2.d,
* ld-libs/libs.exp: New files.

17 years agoPR binutils/4110
Nick Clifton [Thu, 29 Mar 2007 14:37:02 +0000 (14:37 +0000)]
PR binutils/4110
* elf.c (IS_VALID_GROUP_SECTION_HEADER): New macro.
  (setup_group): Use it.  Report corrupt group section headers.
  (bfd_section_from_shdr): Use new macro.  Replace constant 4 with
      GRP_ENTRY_SIZE.  Cope with NULLs in the group section table.
  (elf_fake_section): Replace constant 4 with GRP_ENTRY_SIZE.

17 years ago* itbl-ops.c (itbl_entry): Remove unnecessary and excessively long initialization.
Nick Clifton [Thu, 29 Mar 2007 09:05:27 +0000 (09:05 +0000)]
* itbl-ops.c (itbl_entry): Remove unnecessary and excessively long initialization.
* itbl-ops.h (enum e_processor): Initialise the e_nprocs field using ITBL_NUMBER_OF_PROCESSORS.
* itbl-parse.y (yyerror): Remove use of redundant macro PARAMS.