OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
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.

16 years ago* elf32-cr16.c (elf32_cr16_relax_section): Fix condition check typo.
Nick Clifton [Fri, 12 Oct 2007 16:11:02 +0000 (16:11 +0000)]
* elf32-cr16.c (elf32_cr16_relax_section): Fix condition check typo.
* config/tc-cr16.c: Update the md_relax_table for 1 word b<cc> instruction range information.

16 years ago * elfxx-mips.c (mips_elf_sort_hash_table_f): Handle forced
Daniel Jacobowitz [Fri, 12 Oct 2007 15:59:19 +0000 (15:59 +0000)]
* elfxx-mips.c (mips_elf_sort_hash_table_f): Handle forced
local symbols specially.
(mips_elf_set_global_got_offset): Skip forced local symbols.

16 years ago * doc/as.texinfo (Object Attributes): New chapter.
Daniel Jacobowitz [Fri, 12 Oct 2007 14:00:31 +0000 (14:00 +0000)]
* doc/as.texinfo (Object Attributes): New chapter.
(Pseudo Ops): Document .gnu_attribute.
(LNS directives): Correct .loc_mark_labels documentation.

16 years agoAdd an option for Stringpools to not copy strings.
Ian Lance Taylor [Fri, 12 Oct 2007 06:06:34 +0000 (06:06 +0000)]
Add an option for Stringpools to not copy strings.

16 years agoFrom Craig Silverstein: improve x86_64 TLS support.
Ian Lance Taylor [Fri, 12 Oct 2007 06:00:55 +0000 (06:00 +0000)]
From Craig Silverstein: improve x86_64 TLS support.

16 years agoAdd --stats option to print runtime and memory usage statistics.
Ian Lance Taylor [Fri, 12 Oct 2007 05:51:25 +0000 (05:51 +0000)]
Add --stats option to print runtime and memory usage statistics.

16 years ago * ld-srec/srec.exp: Define __stack_chk_fail sym.
Alan Modra [Fri, 12 Oct 2007 04:38:29 +0000 (04:38 +0000)]
* ld-srec/srec.exp: Define __stack_chk_fail sym.

16 years ago * elf.c (elfcore_grok_prxfpreg): Fix comment typo.
Alan Modra [Fri, 12 Oct 2007 03:34:45 +0000 (03:34 +0000)]
* elf.c (elfcore_grok_prxfpreg): Fix comment typo.

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

16 years ago * Makefile.def (dependencies): Add all-gdb -> all-libdecnumber.
Daniel Jacobowitz [Thu, 11 Oct 2007 20:32:36 +0000 (20:32 +0000)]
* Makefile.def (dependencies): Add all-gdb -> all-libdecnumber.
* Makefile.in: Regenerate.

16 years ago* config/obj-elf.c (obj_elf_section): When pushing a section, if there is a
Nick Clifton [Thu, 11 Oct 2007 20:20:55 +0000 (20:20 +0000)]
* config/obj-elf.c (obj_elf_section): When pushing a section, if there is a
  comma then the following argument must be a subsection number.
* testsuite/gas/elf/elf.exp (run_elf_list_test): Run section6 test.
* testsuite/gas/elf/section6.s: New file: Check behaviour of .pushsection with a subsection argument.
* testsuite/gas/elf/section6.d: New file: Expected disassembly.

16 years agoFrom Andrew Chatham: exit on relocation error.
Ian Lance Taylor [Thu, 11 Oct 2007 19:13:02 +0000 (19:13 +0000)]
From Andrew Chatham: exit on relocation error.

16 years ago2007-10-11 Jesper Nilsson <jesper.nilsson@axis.com>
Daniel Jacobowitz [Thu, 11 Oct 2007 18:44:06 +0000 (18:44 +0000)]
2007-10-11  Jesper Nilsson  <jesper.nilsson@axis.com>

* callback.c (cb_is_stdin, cb_is_stdout, cb_is_stderr): Add functions.
* syscall.c (cb_syscall): Test for stdin/out/err, not just fd 0/1/2.

2007-10-11  Jesper Nilsson  <jesper.nilsson@axis.com>

* callback.h (cb_is_stdin, cb_is_stdout, cb_is_stderr): Add prototypes.

2007-10-11  Jesper Nilsson  <jesper.nilsson@axis.com>

* sim/cris/c/freopen2.c: Added testcase.

16 years ago2007-10-11 Jesper Nilsson <jesper.nilsson@axis.com>
Daniel Jacobowitz [Thu, 11 Oct 2007 18:40:28 +0000 (18:40 +0000)]
2007-10-11  Jesper Nilsson  <jesper.nilsson@axis.com>

* callback.c (cb_is_stdin): Add.
* syscall.c (cb_syscall): Test for stdin, not just fd 0.

2007-10-11  Jesper Nilsson  <jesper.nilsson@axis.com>

* callback.h (cb_is_stdin): Add prototype.

16 years ago * src-release (GDB_SUPPORT_DIRS): Add libdecnumber.
Daniel Jacobowitz [Thu, 11 Oct 2007 18:15:01 +0000 (18:15 +0000)]
* src-release (GDB_SUPPORT_DIRS): Add libdecnumber.
* libdecnumber: New directory, imported from GCC.

16 years agoPR gas/5161
Nick Clifton [Thu, 11 Oct 2007 15:18:40 +0000 (15:18 +0000)]
PR gas/5161
* config/tc-ia64.c: Allow for translations of error and warning messages.
* po/gas.pot: Regenerate.

16 years agoPR gas/5158
Nick Clifton [Thu, 11 Oct 2007 14:17:44 +0000 (14:17 +0000)]
PR gas/5158
* config/tc-h8300.c (tc_gen_reloc): Allow for translation of error message.
* po/gas.pot: Regenerate.

16 years ago2007-10-11 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 11 Oct 2007 14:08:47 +0000 (14:08 +0000)]
2007-10-11  H.J. Lu  <hongjiu.lu@intel.com>

* doc/c-i386.texi: Update which instruction's operands are
swapped.

16 years agoPR gas/5155
Nick Clifton [Thu, 11 Oct 2007 13:48:39 +0000 (13:48 +0000)]
PR gas/5155
* config/tc-msp430.c: Fix spelling typos.

16 years ago* doc/as.texinfo (Type): Fix typo: STT_FUNC not STT_FUNCTION.
Nick Clifton [Thu, 11 Oct 2007 10:37:30 +0000 (10:37 +0000)]
* doc/as.texinfo (Type): Fix typo: STT_FUNC not STT_FUNCTION.

16 years ago2007-10-10 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 11 Oct 2007 05:03:07 +0000 (05:03 +0000)]
2007-10-10  H.J. Lu  <hongjiu.lu@intel.com>

* elf.c (get_program_header_size): Always add a PT_GNU_RELRO
segment for -z relro.
(_bfd_elf_map_sections_to_segments): Make a PT_GNU_RELRO
segment only when needed.

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

16 years agoRemove extra white space.
H.J. Lu [Wed, 10 Oct 2007 22:00:24 +0000 (22:00 +0000)]
Remove extra white space.

16 years ago* dwarf.c (process_debug_info): Line up section offsets of
Jim Blandy [Wed, 10 Oct 2007 19:44:30 +0000 (19:44 +0000)]
* dwarf.c (process_debug_info): Line up section offsets of
attribute values with those of dies.
(read_and_display_attr): Reduce spacing here.

16 years ago* dwarf.c (display_debug_lines): Print the offset of each line
Jim Blandy [Wed, 10 Oct 2007 19:43:43 +0000 (19:43 +0000)]
* dwarf.c (display_debug_lines): Print the offset of each line
number program header.

16 years agoFrom Craig Silverstein: don't permit -s and -r.
Ian Lance Taylor [Wed, 10 Oct 2007 19:30:39 +0000 (19:30 +0000)]
From Craig Silverstein: don't permit -s and -r.

16 years agoImplement -s and -S options which strip symbols.
Ian Lance Taylor [Wed, 10 Oct 2007 19:02:56 +0000 (19:02 +0000)]
Implement -s and -S options which strip symbols.

16 years ago2007-10-10 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 10 Oct 2007 16:25:02 +0000 (16:25 +0000)]
2007-10-10  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (v_mode): Defined as previous one + 1.
(w_mode): Likewise.
(d_mode): Likewise.
(q_mode): Likewise.
(t_mode): Likewise.
(x_mode): Likewise.
(m_mode): Likewise.
(cond_jump_mode): Likewise.
(loop_jcxz_mode): Likewise.
(dq_mode): Likewise.
(dqw_mode): Likewise.
(f_mode): Likewise.
(const_1_mode): Likewise.
(stack_v_mode): Likewise.
(z_mode): Likewise.
(o_mode): Likewise.
(dqb_mode): Likewise.
(dqd_mode): Likewise.
(es_reg): Likewise.
(cs_reg): Likewise.
(ss_reg): Likewise.
(ds_reg): Likewise.
(fs_reg): Likewise.
(gs_reg): Likewise.
(eAX_reg): Likewise.
(eCX_reg): Likewise.
(eDX_reg): Likewise.
(eBX_reg): Likewise.
(eSP_reg): Likewise.
(eBP_reg): Likewise.
(eSI_reg): Likewise.
(eDI_reg): Likewise.
(al_reg): Likewise.
(cl_reg): Likewise.
(dl_reg): Likewise.
(bl_reg): Likewise.
(ah_reg): Likewise.
(ch_reg): Likewise.
(dh_reg): Likewise.
(bh_reg): Likewise.
(ax_reg): Likewise.
(cx_reg): Likewise.
(dx_reg): Likewise.
(bx_reg): Likewise.
(sp_reg): Likewise.
(bp_reg): Likewise.
(si_reg): Likewise.
(di_reg): Likewise.
(rAX_reg): Likewise.
(rCX_reg): Likewise.
(rDX_reg): Likewise.
(rBX_reg): Likewise.
(rSP_reg): Likewise.
(rBP_reg): Likewise.
(rSI_reg): Likewise.
(rDI_reg): Likewise.
(z_mode_ax_reg): Likewise.
(indir_dx_reg): Likewise.
(DREX_OC1): Updated.
(DREX_NO_OC0): Likewise.
(DREX_MASK): Likewise.
(MAX_BYTEMODE): New.  Issue an error if MAX_BYTEMODE is not
less than DREX_OC1.

16 years agoFrom Craig Silverstein: don't get confused if the same file name
Ian Lance Taylor [Wed, 10 Oct 2007 06:33:56 +0000 (06:33 +0000)]
From Craig Silverstein: don't get confused if the same file name
occurs in an archive.

16 years agoFrom Craig Silverstein: delete the output file first if it exists and
Ian Lance Taylor [Wed, 10 Oct 2007 06:29:10 +0000 (06:29 +0000)]
From Craig Silverstein: delete the output file first if it exists and
is non-empty.

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

16 years agoCreate a note section with the version of gold.
Ian Lance Taylor [Tue, 9 Oct 2007 21:37:55 +0000 (21:37 +0000)]
Create a note section with the version of gold.

16 years agoFix soname for library found in search path.
Ian Lance Taylor [Tue, 9 Oct 2007 17:46:15 +0000 (17:46 +0000)]
Fix soname for library found in search path.

16 years agobinutils/
H.J. Lu [Tue, 9 Oct 2007 13:32:50 +0000 (13:32 +0000)]
binutils/

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

PR binutils/4476
* readelf.c (print_dynamic_symbol): New.
(process_symbol_table): Handle DT_GNU_HASH for dynamic symbols.

ld/testsuite/

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

PR binutils/4476
* ld-elf/hash.d: Check "-s -D" for readelf.

16 years ago*** empty log message ***
Carlos O'Donell [Tue, 9 Oct 2007 02:17:23 +0000 (02:17 +0000)]
*** empty log message ***