OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
16 years ago * po/POTFILES.in: Regenerate.
Alan Modra [Wed, 24 Oct 2007 04:57:04 +0000 (04:57 +0000)]
* po/POTFILES.in: Regenerate.

16 years ago * Makefile.am (INCLUDES): Remove -D_GNU_SOURCE.
Alan Modra [Wed, 24 Oct 2007 04:56:48 +0000 (04:56 +0000)]
* Makefile.am (INCLUDES): Remove -D_GNU_SOURCE.
* configure.in: Invoke AC_GNU_SOURCE.
* Makefile.in: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
* po/POTFILES.in: Regenerate.

16 years ago * Makefile.am (INCLUDES): Remove -D_GNU_SOURCE.
Alan Modra [Wed, 24 Oct 2007 04:56:12 +0000 (04:56 +0000)]
* Makefile.am (INCLUDES): Remove -D_GNU_SOURCE.
* configure.in: Invoke AC_GNU_SOURCE.
* Makefile.in: Regenerate.
* configure: Regenerate.
* gconfig.in: Regenerate.

16 years ago * Makefile.am (INCLUDES, DEP_INCLUDES): Remove -D_GNU_SOURCE.
Alan Modra [Wed, 24 Oct 2007 04:55:39 +0000 (04:55 +0000)]
* Makefile.am (INCLUDES, DEP_INCLUDES): Remove -D_GNU_SOURCE.
Run "make dep-am".
* configure.in: Invoke AC_GNU_SOURCE.
* Makefile.in: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.

16 years ago * Makefile.am: Run "make dep-am".
Alan Modra [Wed, 24 Oct 2007 04:55:01 +0000 (04:55 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* po/POTFILES.in: Regenerate.

16 years ago * Makefile.am: Run "make dep-am".
Alan Modra [Wed, 24 Oct 2007 04:54:38 +0000 (04:54 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* po/SRC-POTFILES.in: Regenerate.

16 years ago * strings.c (print_strings): Don't use %L, use %ll in printf
Alan Modra [Wed, 24 Oct 2007 03:55:46 +0000 (03:55 +0000)]
* strings.c (print_strings): Don't use %L, use %ll in printf
format strings.

16 years ago * readelf.c (process_program_headers): Use dynamic segment unless
Alan Modra [Wed, 24 Oct 2007 02:27:15 +0000 (02:27 +0000)]
* readelf.c (process_program_headers): Use dynamic segment unless
dynamic section is found.

16 years agodaily update
Alan Modra [Wed, 24 Oct 2007 00:00:05 +0000 (00:00 +0000)]
daily update

16 years agogas/testsuite/
H.J. Lu [Tue, 23 Oct 2007 22:52:09 +0000 (22:52 +0000)]
gas/testsuite/

2007-10-23  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/katmai.s: Remove cmpps opcode test.

* gas/i386/simd.s: Add tests for cmpss and cmpsd.
* gas/i386/x86-64-simd.s: Likewise.

* gas/i386/katmai.d: Updated.
* gas/i386/simd-intel.d: Likewise.
* gas/i386/simd-suffix.d: Likewise.
* gas/i386/simd.d: Likewise.
* gas/i386/x86-64-simd-intel.d: Likewise.
* gas/i386/x86-64-simd-suffix.d: Likewise.
* gas/i386/x86-64-simd.d: Likewise.

opcodes/

2007-10-23  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (OP_SIMD_Suffix): Renamed to ...
(CMP_Fixup): This.  Rewrite.
(OPSIMD): Renamed to ...
(CMP): This. Updated.
(prefix_table): Update PREFIX_0FC2 entry.

16 years ago * elf64-ppc.c (ppc_build_one_stub): Don't duplicate relocs
Alan Modra [Tue, 23 Oct 2007 12:54:17 +0000 (12:54 +0000)]
* elf64-ppc.c (ppc_build_one_stub): Don't duplicate relocs
emitted for ".brlt" entries.
(toc_adjusting_stub_needed): Don't treat ".fixup" specially here..
(ppc64_elf_next_input_section): ..instead do so here.

16 years ago PR gdb/2336
Daniel Jacobowitz [Tue, 23 Oct 2007 12:34:11 +0000 (12:34 +0000)]
PR gdb/2336

* Makefile.def (dependencies): Make configure-gdb depend on
all-intl.
* Makefile.in: Regenerated.

* configure.ac: Modify $LIBINTL before the BFD check.
* configure: Regenerated.

16 years agoAdd support for PT_GNU_STACK.
Ian Lance Taylor [Tue, 23 Oct 2007 05:05:48 +0000 (05:05 +0000)]
Add support for PT_GNU_STACK.

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

16 years agoFix versions of copied symbols.
Ian Lance Taylor [Mon, 22 Oct 2007 23:08:22 +0000 (23:08 +0000)]
Fix versions of copied symbols.

16 years ago2007-10-22 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 22 Oct 2007 19:22:01 +0000 (19:22 +0000)]
2007-10-22  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (prefix_table): Reordered by opcode.
(mod_table): Likewise.

16 years agoImplement -Bstatic/-Bdynamic.
Ian Lance Taylor [Mon, 22 Oct 2007 18:04:43 +0000 (18:04 +0000)]
Implement -Bstatic/-Bdynamic.

16 years agoCorrect locking if a file could not be opened.
Ian Lance Taylor [Mon, 22 Oct 2007 18:02:36 +0000 (18:02 +0000)]
Correct locking if a file could not be opened.

16 years ago * cris.cpu (movs, movu): Use result of extension operation when
Hans-Peter Nilsson [Mon, 22 Oct 2007 16:04:43 +0000 (16:04 +0000)]
* cris.cpu (movs, movu): Use result of extension operation when
updating flags.

16 years agodaily update
Alan Modra [Mon, 22 Oct 2007 00:00:05 +0000 (00:00 +0000)]
daily update

16 years agodaily update
Alan Modra [Sun, 21 Oct 2007 00:00:05 +0000 (00:00 +0000)]
daily update

16 years agoFrom Craig Silverstein: add cast to avoid warning.
Ian Lance Taylor [Sat, 20 Oct 2007 04:35:43 +0000 (04:35 +0000)]
From Craig Silverstein: add cast to avoid warning.

16 years agoFrom Craig Silverstein: handle PLT32 relocs against local symbols for
Ian Lance Taylor [Sat, 20 Oct 2007 04:33:21 +0000 (04:33 +0000)]
From Craig Silverstein: handle PLT32 relocs against local symbols for
x86_64.

16 years agoHandle PLT32 against local symbols.
Ian Lance Taylor [Sat, 20 Oct 2007 00:33:31 +0000 (00:33 +0000)]
Handle PLT32 against local symbols.

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

16 years agoAdd wide string constant test.
Ian Lance Taylor [Fri, 19 Oct 2007 23:38:40 +0000 (23:38 +0000)]
Add wide string constant test.

16 years agoFix handling of wide string merge sections.
Ian Lance Taylor [Fri, 19 Oct 2007 23:33:37 +0000 (23:33 +0000)]
Fix handling of wide string merge sections.

16 years ago2007-10-19 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 19 Oct 2007 23:24:00 +0000 (23:24 +0000)]
2007-10-19  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (prefix_table): Use XS on psrldq and pslldq.

16 years agoAdd MN10300 linker relaxation support for symbol differences
Nick Clifton [Fri, 19 Oct 2007 17:31:31 +0000 (17:31 +0000)]
Add MN10300 linker relaxation support for symbol differences

16 years ago* elf-m10300.c: Convert to ISO C.
Nick Clifton [Fri, 19 Oct 2007 11:48:57 +0000 (11:48 +0000)]
* elf-m10300.c: Convert to ISO C.
* tc-mn10300.c: Convert to ISO C.

16 years ago * config/tc-ppc.c (ppc_parse_name): Skip leading '%'.
Alan Modra [Fri, 19 Oct 2007 10:48:17 +0000 (10:48 +0000)]
* config/tc-ppc.c (ppc_parse_name): Skip leading '%'.
(md_assemble): When parsing PPC_OPERAND_CR, add '%' to set of
chars that can start a name.

16 years agodaily update
Alan Modra [Fri, 19 Oct 2007 00:00:05 +0000 (00:00 +0000)]
daily update

16 years agoAdd support for -Bsymbolic.
Ian Lance Taylor [Thu, 18 Oct 2007 23:20:53 +0000 (23:20 +0000)]
Add support for -Bsymbolic.

16 years agoRework section mapping algorithm to handle .data.rel.ro sections.
Ian Lance Taylor [Thu, 18 Oct 2007 19:56:12 +0000 (19:56 +0000)]
Rework section mapping algorithm to handle .data.rel.ro sections.

16 years agoCorrectly handle alignment in merge sections.
Ian Lance Taylor [Thu, 18 Oct 2007 17:46:23 +0000 (17:46 +0000)]
Correctly handle alignment in merge sections.

16 years agogas/
Carlos O'Donell [Thu, 18 Oct 2007 13:33:57 +0000 (13:33 +0000)]
gas/

2007-10-18  Carlos O'Donell  <carlos@systemhalted.org>

* config/tc-hppa.c (pa_ip): Fix comment typo.
(pa_comm): Likewise.

16 years agoPR gas/5172
Nick Clifton [Thu, 18 Oct 2007 13:03:12 +0000 (13:03 +0000)]
PR gas/5172
* config/tc-arc.c (md_estimate_size_before_relax): Change error message.
  (md_convert_frag): Just call abort.
* config/tc-i860.c (md_estimate_size_before_relax): Change error message.
* config/tc-i860.h (md_convert_frag): Just call abort.
* config/tc-ip2k.c (md_estimate_size_before_relax): Change error message.
  (md_convert_frag): Just call abort.
* config/tc-m68k.c (m68k_ip): Do not attempt translation of architecture names.

16 years agoPR gas/5174
Nick Clifton [Thu, 18 Oct 2007 11:49:34 +0000 (11:49 +0000)]
PR gas/5174
* config/tc-arm.c: Fix formatting and spelling errors.
* gas.pot: Regenerate.

16 years agoPR gas/5175
Nick Clifton [Thu, 18 Oct 2007 11:01:24 +0000 (11:01 +0000)]
PR gas/5175
* config/tc-xc16x.c: Fix formatting and internationalization.
* gas.pot: Regenerate.

16 years ago.
Roland McGrath [Thu, 18 Oct 2007 09:57:07 +0000 (09:57 +0000)]
.

16 years ago2007-10-18 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 18 Oct 2007 09:57:04 +0000 (09:57 +0000)]
2007-10-18  Roland McGrath  <roland@redhat.com>

* common.h (NT_PPC_VMX): New macro.

16 years ago PR ld/4424
Alan Modra [Thu, 18 Oct 2007 09:13:51 +0000 (09:13 +0000)]
PR ld/4424
* config.bfd (targ_selvecs): Add bfd_elf64_alpha_vec for
alpha/FreeBSD.  Add bfd_elf64_sparc_vec for sparc64/FreeBSD.
Add bfd_elf32_i386_vec and bfd_efi_app_ia32_vec for i386/FreeBSD.
(targ64_selvecs): Set for i386/FreeBSD.
* elf-bfd.h (elf_backend_data): Add relocs_compatible.
(_bfd_elf_default_relocs_compatible): Declare.
(_bfd_elf_relocs_compatible): Declare.
* elfxx-target.h (elf_backend_relocs_compatible): Define.
(elfNN_bed): Init new relocs_compatible field.
* elflink.c (_bfd_elf_default_relocs_compatible): New function.
(_bfd_elf_relocs_compatible): New function.
(elf_link_add_object_symbols): Call bed->relocs_compatible.
* elf32-i386.c (elf_backend_relocs_compatible): Define.
* elf64-alpha.c: Likewise.
* elf64-sparc.c: Likewise.
* elf64-x86-64.c: Likewise.

16 years agodaily update
Alan Modra [Thu, 18 Oct 2007 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago2007-10-17 Zack Weinberg <zack@codesourcery.com>
Daniel Jacobowitz [Wed, 17 Oct 2007 19:26:10 +0000 (19:26 +0000)]
2007-10-17  Zack Weinberg  <zack@codesourcery.com>

* ldlang.c (lang_check_section_addresses): Also report size of
overflow for any overflowed memory regions.
(os_region_check): Diagnose an overflowed region only once per
region.  Do not reset region->current on overflow.

2007-10-17  Zack Weinberg  <zack@codesourcery.com>
    Daniel Jacobowitz  <dan@codesourcery.com>
    Mark Shinwell  <shinwell@codesourcery.com>
    Joseph Myers  <joseph@codesourcery.com>

* ld-scripts/rgn-over.exp: New driver.
* ld-scripts/rgn-over.s: New file.
* ld-scripts/rgn-over1.d, ld-scripts/rgn-over1.t,
ld-scripts/rgn-over2.d, ld-scripts/rgn-over2.t,
ld-scripts/rgn-over3.d, ld-scripts/rgn-over3.t,
ld-scripts/rgn-over4.d, ld-scripts/rgn-over4.t,
ld-scripts/rgn-over5.d, ld-scripts/rgn-over5.t,
ld-scripts/rgn-over6.d, ld-scripts/rgn-over6.t,
ld-scripts/rgn-over7.d, ld-scripts/rgn-over7.t:
New test cases.

16 years agoRemove duplicate definitions of the md_atof() function
Nick Clifton [Wed, 17 Oct 2007 16:45:56 +0000 (16:45 +0000)]
Remove duplicate definitions of the md_atof() function

16 years ago opcodes/
Nathan Sidwell [Wed, 17 Oct 2007 13:44:09 +0000 (13:44 +0000)]
opcodes/
* m68k-opc.c (m68k_opcodes): Correct move sr and ccr masks for
coldfire.

gas/testsuite/
* gas/m68k/mcf-movsr.s: New.
* gas/m68k/mcf-movsr.d: New.
* gas/m68k/all.exp: Add mcf-movsr test.

16 years agoAdd infrastructure for threading support.
Ian Lance Taylor [Wed, 17 Oct 2007 06:24:50 +0000 (06:24 +0000)]
Add infrastructure for threading support.

16 years ago * elf32-xtensa.c (relax_section): Check for a reference to a discarded
Bob Wilson [Wed, 17 Oct 2007 00:30:31 +0000 (00:30 +0000)]
* elf32-xtensa.c (relax_section): Check for a reference to a discarded
DWARF section and anticipate its replacement with the kept section.

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

16 years ago * elf32-xtensa.c (elf_xtensa_discard_info_for_section): Remove
Bob Wilson [Tue, 16 Oct 2007 23:57:24 +0000 (23:57 +0000)]
* elf32-xtensa.c (elf_xtensa_discard_info_for_section): Remove
unnecessary size variables.  Set sec->rawsize.
(relax_section, relax_property_section): Likewise.

16 years ago * section.c (struct bfd_section): Clarify comment for rawsize field.
Bob Wilson [Tue, 16 Oct 2007 23:51:55 +0000 (23:51 +0000)]
* section.c (struct bfd_section): Clarify comment for rawsize field.
* bfd-in2.h: Regenerate.

16 years agoFrom Cary Coutant: preliminary shared library support.
Ian Lance Taylor [Tue, 16 Oct 2007 23:23:08 +0000 (23:23 +0000)]
From Cary Coutant: preliminary shared library support.

16 years agoFrom Craig Silverstein: check that we get environ right.
Ian Lance Taylor [Tue, 16 Oct 2007 23:09:45 +0000 (23:09 +0000)]
From Craig Silverstein: check that we get environ right.

16 years agoFrom Craig Silverstein: implement -Ttext.
Ian Lance Taylor [Tue, 16 Oct 2007 22:38:36 +0000 (22:38 +0000)]
From Craig Silverstein: implement -Ttext.

16 years ago * doc/binutils.texi (objcopy, strip): Replace hyphens with em-dashes.
Bob Wilson [Tue, 16 Oct 2007 19:01:47 +0000 (19:01 +0000)]
* doc/binutils.texi (objcopy, strip): Replace hyphens with em-dashes.
(objdump, strip, c++filt): Correct punctuation for "e.g." and "i.e."
and change to spell out "for example" in two places.

16 years ago * doc/as.texinfo (Overview): Add Xtensa --rename-section option.
Bob Wilson [Tue, 16 Oct 2007 18:33:09 +0000 (18:33 +0000)]
* doc/as.texinfo (Overview): Add Xtensa --rename-section option.

16 years ago* configure.in: Build windows tools for --enable-targets=all.
Nick Clifton [Tue, 16 Oct 2007 16:05:41 +0000 (16:05 +0000)]
* configure.in: Build windows tools for --enable-targets=all.
* configure: Regenerate.

16 years ago * elflink.c (_bfd_elf_check_kept_section): Use the section rawsize
Bob Wilson [Tue, 16 Oct 2007 15:51:38 +0000 (15:51 +0000)]
* elflink.c (_bfd_elf_check_kept_section): Use the section rawsize
values if they are set.

16 years agoPR 5146
Nick Clifton [Tue, 16 Oct 2007 15:15:50 +0000 (15:15 +0000)]
PR 5146
* configure.in (AC_CHECK_HEADERS): Add alloca.h
* configure: Regenerate.
* config.in: Regenerate.
* som.c: Replace alloca-conf.h inclusion with code recommended in autoconf documentation.
* elf64-hppa.c: Likewise.

16 years agoSupport the use of the STT_COMMON type. (In source and object files only at the...
Nick Clifton [Tue, 16 Oct 2007 14:42:15 +0000 (14:42 +0000)]
Support the use of the STT_COMMON type.  (In source and object files only at the moment)

16 years ago* tls.m4 (GCC_CHECK_TLS): Rename have_tls to gcc_cv_have_tls.
Maciej W. Rozycki [Tue, 16 Oct 2007 10:45:50 +0000 (10:45 +0000)]
* tls.m4 (GCC_CHECK_TLS): Rename have_tls to gcc_cv_have_tls.
(GCC_CHECK_CC_TLS): Rename have_cc_tls to gcc_cv_have_cc_tls.

16 years ago * ppc-opc.c (powerpc_opcodes): Fix the first two operands of
Peter Bergner [Tue, 16 Oct 2007 02:55:30 +0000 (02:55 +0000)]
* ppc-opc.c (powerpc_opcodes): Fix the first two operands of
dquaiq. to use the TE and FRT macros.

16 years agogas/
Peter Bergner [Tue, 16 Oct 2007 02:26:30 +0000 (02:26 +0000)]
gas/

* config/tc-ppc.c (ppc_setup_opcodes): Verify instructions are sorted
according to major opcode number.

opcodes/

* ppc-opc.c (TE): Correct signedness.
(powerpc_opcodes): Sort psq_st and psq_stu according to major
opcode number.

16 years agoFrom Craig Silverstein: support local GOT relocs for i386.
Ian Lance Taylor [Tue, 16 Oct 2007 00:42:36 +0000 (00:42 +0000)]
From Craig Silverstein: support local GOT relocs for i386.

16 years agodaily update
Alan Modra [Tue, 16 Oct 2007 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago2007-10-15 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston [Mon, 15 Oct 2007 20:47:15 +0000 (20:47 +0000)]
2007-10-15  Patrick Mansfield <patmans@us.ibm.com>

        * Makefile.def: To avoid problems running with parallel makes,
        build newlib before libgloss so that target specific header
        files are availble.
        * Makefile.in: Regenerate.

16 years ago * NEWS: Document target described register support for PowerPC.
Daniel Jacobowitz [Mon, 15 Oct 2007 19:45:31 +0000 (19:45 +0000)]
* NEWS: Document target described register support for PowerPC.
* ppc-tdep.h: Remove ppc_spr constants.
(struct gdbarch_tdep): Remove regs, ppc_sr0_regnum, and
ppc_builtin_type_vec128 members.
(PPC_R0_REGNUM, PPC_F0_REGNUM, PPC_PC_REGNUM, PPC_MSR_REGNUM)
(PPC_CR_REGNUM, PPC_LR_REGNUM, PPC_CTR_REGNUM, PPC_XER_REGNUM)
(PPC_FPSCR_REGNUM, PPC_MQ_REGNUM, PPC_SPE_UPPER_GP0_REGNUM)
(PPC_SPE_ACC_REGNUM, PPC_SPE_FSCR_REGNUM, PPC_VR0_REGNUM)
(PPC_VSCR_REGNUM, PPC_VRSAVE_REGNUM, PPC_NUM_REGS): New constants.
* rs6000-tdep.c: Include preparsed descriptions.
(init_sim_regno_table): Do not iterate over pseudo registers.
Look up segment registers by name.  Use sim_spr_register_name
for SPRs.
(rs6000_register_sim_regno): Call init_sim_regno_table here.
(rs6000_builtin_type_vec128): Delete.
(rs6000_register_name): Only handle SPE pseudo registers and upper
halves.  Call tdesc_register_name for everything else.
(rs6000_register_type): Delete.  Replace with...
(rs6000_pseudo_register_type): ...this new function.  Only handle
SPE pseudo registers.
(rs6000_register_reggroup_p): Delete.  Replace with...
(rs6000_pseudo_register_reggroup_p): ...this new function.  Only
handle SPE pseudo registers.
(rs6000_convert_register_p): Use ppc_fp0_regnum instead of
"struct reg".
(rs6000_register_to_value, rs6000_value_to_register): Remove check
of reg->fpr.
(e500_register_reggroup_p): Delete.
(STR, R, R4, R8, R16, F, P8, R32, R64, R0, A4, S, S4, SN4, S64)
(COMMON_UISA_REGS, PPC_UISA_SPRS, PPC_UISA_NOFP_SPRS)
(PPC_SEGMENT_REGS, PPC_OEA_SPRS, PPC_ALTIVEC_REGS, PPC_SPE_GP_REGS)
(PPC_SPE_UPPER_GP_REGS, PPC_EV_PSEUDO_REGS): Delete macros.
(registers_powerpc, registers_403, registers_403GC, registers_505)
(registers_860, registers_601, registers_602, registers_603)
(registers_604, registers_750, registers_7400, registers_e500): Delete
variables.
(struct variant): Delete nregs, npregs, num_tot_regs, and regs.  Add
tdesc.
(tot_num_registers, num_registers, num_pseudo_registers): Delete.
(variants): Delete outdated comment.  Use standard target descriptions
instead of "struct reg" arrays.
(init_variants): Delete.
(rs6000_gdbarch_init): Do not guess word size from the BFD
architecture if we have a target description.  Select a variant
before creating a new architecture.  Use the variant's target
description if the target did not define a register layout.
Validate target-supplied registers.  Reject mismatches.  Use
fixed register numbers and new constants instead of magic
numbers.  Call set_gdbarch_ps_regnum.  Call tdesc_use_registers.
(_initialize_rs6000_tdep): Initialize the preparsed target
descriptions.
* target-descriptions.c (tdesc_predefined_types): Add int128 and
uint128.
(tdesc_find_register_early): New function.
(tdesc_numbered_register): Use it.
(tdesc_register_size): New function.
(tdesc_use_registers): Take a target_desc argument.  Do not use
gdbarch_target_desc.
* target-descriptions.h (tdesc_use_registers): Update prototype
and comment.
(tdesc_register_size): New prototype.
* Makefile.in (powerpc_32_c, powerpc_403_c, powerpc_403gc_c)
(powerpc_505_c, powerpc_601_c, powerpc_602_c, powerpc_603_c)
(powerpc_604_c, powerpc_64_c, powerpc_7400_c, powerpc_750_c)
(powerpc_860_c, powerpc_e500_c, rs6000_c): New macros.
(rs6000-tdep.o): Update.
* arm-tdep.c (arm_gdbarch_init): Update call to tdesc_use_registers.
* m68k-tdep.c (m68k_gdbarch_init): Likewise.
* mips-tdep.c (mips_gdbarch_init): Likewise.

* gdb.texinfo (Predefined Target Types): Add int128
and uint128.
(Standard Target Features): Add PowerPC features.

* gdb.xml/tdesc-regs.exp: Add PowerPC support.

* sim-ppc.h (sim_spr_register_name): New prototype.

* gdb-sim.c (regnum2spr): Rename to...
(sim_spr_register_name): ... this.  Make global.

16 years ago2007-10-15 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 15 Oct 2007 19:13:55 +0000 (19:13 +0000)]
2007-10-15  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (dis386_twobyte): Reformat.
(prefix_table):  Likewise.
(three_byte_table): Likewise.

16 years agoFrom Craig Silverstein: add LD to LE TLS optimizations.
Ian Lance Taylor [Mon, 15 Oct 2007 03:39:16 +0000 (03:39 +0000)]
From Craig Silverstein: add LD to LE TLS optimizations.

16 years agoFrom Craig Silverstein: call unlink_if_ordinary.
Ian Lance Taylor [Mon, 15 Oct 2007 03:35:35 +0000 (03:35 +0000)]
From Craig Silverstein: call unlink_if_ordinary.

16 years agoFix exit status.
Ian Lance Taylor [Mon, 15 Oct 2007 03:33:03 +0000 (03:33 +0000)]
Fix exit status.

16 years ago * mcore-dis.c (print_insn_mcore): Protect "fprintf" var against
Alan Modra [Mon, 15 Oct 2007 02:01:40 +0000 (02:01 +0000)]
* mcore-dis.c (print_insn_mcore): Protect "fprintf" var against
macro expansion.

16 years ago * read.c (do_s_func): Check asprintf return status.
Alan Modra [Mon, 15 Oct 2007 02:01:25 +0000 (02:01 +0000)]
* read.c (do_s_func): Check asprintf return status.
* stabs.c (stabs_generate_asm_func): Likewise.
(stabs_generate_asm_endfunc): Likewise.

16 years ago * objdump.c (print_line): Check fwrite return value.
Alan Modra [Mon, 15 Oct 2007 02:00:56 +0000 (02:00 +0000)]
* objdump.c (print_line): Check fwrite return value.
* srconv.c (checksum, wr_tr, wr_cs): Likewise.
* sysdump.c (fillup): Return zero on getc or fread EOF.  Return count
read.

16 years ago * chew.c (write_buffer): Check fwrite return value.
Alan Modra [Mon, 15 Oct 2007 02:00:28 +0000 (02:00 +0000)]
* chew.c (write_buffer): Check fwrite return value.

16 years ago * coff-arm.c (arm_emit_base_file_entry): Check fwrite return value.
Alan Modra [Mon, 15 Oct 2007 02:00:11 +0000 (02:00 +0000)]
* coff-arm.c (arm_emit_base_file_entry): Check fwrite return value.
Return status.  Adjust callers.
* coff-mcore.c (mcore_emit_base_file_entry): Likewise.
* coff-ppc.c (write_base_file_entry): New function.
(coff_ppc_relocate_section): Use it.
* elf32-arm.c (find_thumb_glue): Check asprintf return status.
(find_arm_glue): Likewise.
* vms-misc.c (_bfd_vms_output_flush): Check fwrite return value.

16 years agodaily update
Alan Modra [Mon, 15 Oct 2007 00:00:05 +0000 (00:00 +0000)]
daily update

16 years agoKeep track of weak aliases, so that overriding environ works.
Ian Lance Taylor [Sun, 14 Oct 2007 15:35:27 +0000 (15:35 +0000)]
Keep track of weak aliases, so that overriding environ works.

16 years agoAdjust linkonce symbol name algorithm to work for
Ian Lance Taylor [Sun, 14 Oct 2007 07:27:10 +0000 (07:27 +0000)]
Adjust linkonce symbol name algorithm to work for
.gnu.linkonce.t.__i686.get_pc_thunk.bx.

16 years agoBetter multiple definition errors.
Ian Lance Taylor [Sun, 14 Oct 2007 07:10:20 +0000 (07:10 +0000)]
Better multiple definition errors.

16 years agoRemove extraneous newlines.
Ian Lance Taylor [Sun, 14 Oct 2007 06:57:58 +0000 (06:57 +0000)]
Remove extraneous newlines.

16 years agoRemove extraneous newline.
Ian Lance Taylor [Sun, 14 Oct 2007 06:54:56 +0000 (06:54 +0000)]
Remove extraneous newline.

16 years agoRun all error handling through an Errors object. Delete output file
Ian Lance Taylor [Sun, 14 Oct 2007 06:49:14 +0000 (06:49 +0000)]
Run all error handling through an Errors object.  Delete output file
on error.

16 years agoFix typo in comment.
Ian Lance Taylor [Sun, 14 Oct 2007 04:10:25 +0000 (04:10 +0000)]
Fix typo in comment.

16 years agoFrom Craig Silverstein: add some internationalization calls.
Ian Lance Taylor [Sun, 14 Oct 2007 04:06:18 +0000 (04:06 +0000)]
From Craig Silverstein: add some internationalization calls.

16 years agoOnly run static TLS tests on glibc 2.4 or later.
Ian Lance Taylor [Sun, 14 Oct 2007 03:57:22 +0000 (03:57 +0000)]
Only run static TLS tests on glibc 2.4 or later.

16 years agoFrom Craig Silverstein: TLS test cleanups.
Ian Lance Taylor [Sun, 14 Oct 2007 03:23:38 +0000 (03:23 +0000)]
From Craig Silverstein: TLS test cleanups.

16 years agoFrom Craig Silverstein: always use 32-bit format for gold note.
Ian Lance Taylor [Sun, 14 Oct 2007 03:12:53 +0000 (03:12 +0000)]
From Craig Silverstein: always use 32-bit format for gold note.

16 years agoFrom Craig Silverstein: error if we see a dynamic object when the
Ian Lance Taylor [Sun, 14 Oct 2007 02:52:13 +0000 (02:52 +0000)]
From Craig Silverstein: error if we see a dynamic object when the
-static option was given.

16 years agodaily update
Alan Modra [Sun, 14 Oct 2007 00:00:04 +0000 (00:00 +0000)]
daily update

16 years agoFrom Craig Silverstein: use tls.h in x86_64.cc.
Ian Lance Taylor [Sat, 13 Oct 2007 00:15:07 +0000 (00:15 +0000)]
From Craig Silverstein: use tls.h in x86_64.cc.

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

16 years ago2007-10-12 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 12 Oct 2007 22:26:55 +0000 (22:26 +0000)]
2007-10-12  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (process_operands): Simplify implicit xmm0
handling.

16 years agogas/
H.J. Lu [Fri, 12 Oct 2007 21:40:38 +0000 (21:40 +0000)]
gas/

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

* config/tc-i386.c (process_operands): Check the firstxmm0
field in opcode_modifier for instruction with a implicit
xmm0 as the first operand.

opcodes/

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

* i386-gen.c (opcode_modifiers): Add FirstXmm0.

* i386-opc.h (FirstXmm0): New.
(IsPrefix): Updated.
(i386_opcode_modifier): Add firstxmm0.

* i386-opc.tbl (blendvpd): Replace RegKludge with FirstXmm0.
(blendvps): Likewise.
(pblendvb): Likewise.
* i386-tbl.h: Regenerated.

16 years ago2007-10-12 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 12 Oct 2007 20:37:58 +0000 (20:37 +0000)]
2007-10-12  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (prefix_table): Reformat pblendvb and blendvps.

16 years agoFrom Craig Silverstein: expand the TLS test to a second file, to test
Ian Lance Taylor [Fri, 12 Oct 2007 17:32:20 +0000 (17:32 +0000)]
From Craig Silverstein: expand the TLS test to a second file, to test
IE to LE conversion.

16 years ago * ld-mips-elf/multi-got-hidden-1.d,
Daniel Jacobowitz [Fri, 12 Oct 2007 17:07:04 +0000 (17:07 +0000)]
* ld-mips-elf/multi-got-hidden-1.d,
ld-mips-elf/multi-got-hidden-1.s,
ld-mips-elf/multi-got-hidden-2.d,
ld-mips-elf/multi-got-hidden-2.s: New.
* ld-mips-elf/mips-elf.exp: Run multi-got-hidden tests.

16 years agoPR gprof/5147
Nick Clifton [Fri, 12 Oct 2007 16:36:48 +0000 (16:36 +0000)]
PR gprof/5147
* configure.in: Add check for fabs() being in libm.
* configure: Regenerate.

16 years ago* config/tc-avr.c (mcu_types): Add new devices: AT90PWM2B, AT90PWM3B.
Nick Clifton [Fri, 12 Oct 2007 16:28:03 +0000 (16:28 +0000)]
* config/tc-avr.c (mcu_types): Add new devices: AT90PWM2B, AT90PWM3B.
* doc/c-avr.texi: Document new devices.

16 years agoPR 5160
Nick Clifton [Fri, 12 Oct 2007 16:25:21 +0000 (16:25 +0000)]
PR 5160
* elflink.c (eval_symbol): Remove bufsz variable and use sizeof(symbuf) where necessary.