OSDN Git Service

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

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

16 years agogas/testsuite/
H.J. Lu [Mon, 8 Oct 2007 19:22:01 +0000 (19:22 +0000)]
gas/testsuite/

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

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

* gas/i386/simd-suffix.d: New.
* gas/i386/x86-64-simd-suffix.d: Likewise.

* gas/i386/x86-64-opcode.d: Updated.
* gas/i386/x86-64-simd.d: Likewise.

opcodes/

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

* i386-dis.c: Updated comments for 'Y'.
(putop): Don't add 'q' for 'Y' if suffix_always isn't true.

16 years agoopcodes/:
Maciej W. Rozycki [Mon, 8 Oct 2007 16:41:35 +0000 (16:41 +0000)]
opcodes/:
* opcodes/mips-dis.c (mips_cp0_names_r3000): New definition.
(mips_cp0_names_r4000): Likewise.
(mips_arch_choices): Link to the above as appropriate.

gas/testsuite/:
* gas/mips/cp0-names-r3000.d: New test for R3000 CP0 symbolic
disassembly.
* gas/mips/cp0-names-r4000.d: New test for R4000/R4400 symbolic
CP0 disassembly.
* mips/mips.exp: Run the new tests.

16 years agogas/:
Maciej W. Rozycki [Mon, 8 Oct 2007 16:09:35 +0000 (16:09 +0000)]
gas/:
* config/tc-mips.c (AT): Rename to...
(ATREG): ... this.
(AT): New definition.
(mips_set_options): Rename "noat" to "at"; change the type.
(mips_opts): Update accordingly.
(append_insn): Likewise.
(macro_build_ldst_constoffset): Likewise.
(load_address): Likewise.
(macro, macro2): Likewise.
(s_mipsset): Handle ".set at=REG".  Update handling of ".set at"
and ".set noat".

gas/testsuite/:
* gas/mips/at-1.d, gas/mips/at-2.l: New tests to check the ".set
at=REG" directive.
* gas/mips/at-1.s, gas/mips/at-2.s: Sources for the new tests.
* gas/mips/mips.exp: Run the new tests.

16 years ago* configure.in (SHARED_DEPENDENCIES): Change non-cygwin dependency to be ../bfd/libbf...
Nick Clifton [Mon, 8 Oct 2007 15:40:41 +0000 (15:40 +0000)]
* configure.in (SHARED_DEPENDENCIES): Change non-cygwin dependency to be ../bfd/libbfd.la.
* configure: Regenerate.

16 years agoPR 5142: Allow for translation of error messages
Nick Clifton [Mon, 8 Oct 2007 15:35:33 +0000 (15:35 +0000)]
PR 5142: Allow for translation of error messages

16 years ago* doc/as.texinfo (Previous): Clarify explanation of the behaviour of this
Nick Clifton [Mon, 8 Oct 2007 15:29:40 +0000 (15:29 +0000)]
* doc/as.texinfo (Previous): Clarify explanation of the behaviour of this
  pseudo-op and add a couple of examples.

16 years agoPR gas/5121 gas/5122 gas/5123 gas/5124 gas/5125 gas/5126 gas/5129 gas/5131 gas/5132...
Nick Clifton [Mon, 8 Oct 2007 15:26:42 +0000 (15:26 +0000)]
PR gas/5121 gas/5122 gas/5123 gas/5124 gas/5125 gas/5126 gas/5129 gas/5131 gas/5132 gas/5137 gas/5143
* Makefile.am (CFILES): Add cgen.c
  (TARGET_CPU_CFILES): Add tc-iq2000.c, tc-maxq.c, tc-mt.c, tc-tic4x.c and xtensa-relax.c.
  (TARGET_CPU_HFILES): Add tc-iq2000.h, tc-maxq.h, tc-mt.h, tc-tic4x.h and xtensa-relax.h.
  (TARG_ENV_HFILES): Remove te-aux.h, te-delta.h, te-delt88.h, te-ic960.h, te-linux.h.
   Add te-aix5.h, te-armeabi.h, te-freebsd.h, te-gnu.h, te-interix.h, te-vxworks.h.
  (CONFIG_ATOF_CFILES): New variable.
  (POTFILES): Add CONFIG_ATOF_CFILES to dependencies.  Fix typo with dependency upon TARG_ENV_HFILES.
  (DEPTC): Do not put "#include opcodes/<foo>-desc.h" into cgen-desc.h when foo-desc.h does not exit.
   Run make dep-am.
* Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.
* po/POTFILES.in: Regenerate.
* po/es.po: Regenerate.
* po/fr.po: Regenerate.
* po/gas.pot: Regenerate.
* po/rw.po: Regenerate.
* po/tr.po: Regenerate.
* config/obj-elf.c (obj_elf_vtable_inherit): Allow for translation of error messages.
* config/obj-som.c: Likewise.
* config/tc-arc.c: Likewise.
* config/tc-arm.c: Likewise.
* config/tc-bfin.c: Likewise.
* config/tc-frv.c: Likewise.

16 years ago2007-10-08 Carlos O'Donell <carlos@codesourcery.com>
Carlos O'Donell [Mon, 8 Oct 2007 13:50:18 +0000 (13:50 +0000)]
2007-10-08  Carlos O'Donell  <carlos@codesourcery.com>

* resrc.c (read_rc_file): Rename e to edit, and c to dir.
Pass dir to windres_add_include_dir.  Add comments.
(close_input_stream): Check pclose error, and call fatal if
the preprocessor failed.
* windres.c (windres_add_include_dir): Assert that p is non-NULL,
and not an empty string.

16 years ago* config/tc-avr.c (mcu_types): Add new devices: AT90PWM216, AT90PWM316.
Nick Clifton [Mon, 8 Oct 2007 10:39:17 +0000 (10:39 +0000)]
* config/tc-avr.c (mcu_types): Add new devices: AT90PWM216, AT90PWM316.
* doc/c-avr.texi: Document new devices.

16 years ago* config/tc-avr.c (mcu_types): Add new devices: ATtiny43U, ATtiny48.
Nick Clifton [Mon, 8 Oct 2007 10:33:27 +0000 (10:33 +0000)]
* config/tc-avr.c (mcu_types): Add new devices: ATtiny43U, ATtiny48.
* doc/c-avr.texi: Document new devices.

16 years agoPR gas/5134
Nick Clifton [Mon, 8 Oct 2007 10:19:30 +0000 (10:19 +0000)]
PR gas/5134
* config/tc-arm.c (md_apply_fix): Likewise.

16 years agoPR gas/5133
Nick Clifton [Mon, 8 Oct 2007 10:14:31 +0000 (10:14 +0000)]
PR gas/5133
* config/tc-arm.c (md_apply_fix): Correct error message

16 years agoPR gas/5135
Nick Clifton [Mon, 8 Oct 2007 10:09:58 +0000 (10:09 +0000)]
PR gas/5135
(Expr_Node_Gen_Reloc_R): Fix spelling typos in error messages.

16 years agoPR gas/5136
Nick Clifton [Mon, 8 Oct 2007 10:05:28 +0000 (10:05 +0000)]
PR gas/5136
* config/tc-bfin.c (md_apply_fix): Fix error message.

16 years ago* configure.ac (CFLAGS_FOR_BUILD, CXXFLAGS_FOR_BUILD, LDFLAGS_FOR_BUILD): Default...
Nick Clifton [Mon, 8 Oct 2007 09:30:35 +0000 (09:30 +0000)]
* configure.ac (CFLAGS_FOR_BUILD, CXXFLAGS_FOR_BUILD, LDFLAGS_FOR_BUILD): Default them to host flags
  only for $host = $build.
  Set default CXXFLAGS_FOR_BUILD to CXXFLAGS, not CFLAGS.
  Set default LDFLAGS_FOR_BUILD to LDFLAGS, not CFLAGS.
* configure: Regenerate.

16 years agoMake TLS test fail more reliably.
Ian Lance Taylor [Mon, 8 Oct 2007 07:24:21 +0000 (07:24 +0000)]
Make TLS test fail more reliably.

16 years agoAdd support for local GOT offsets.
Ian Lance Taylor [Mon, 8 Oct 2007 07:22:21 +0000 (07:22 +0000)]
Add support for local GOT offsets.

16 years agoFrom Craig Silverstein: add tls.h, use it in i386.cc.
Ian Lance Taylor [Mon, 8 Oct 2007 05:12:59 +0000 (05:12 +0000)]
From Craig Silverstein: add tls.h, use it in i386.cc.

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

16 years agoAdd --version option.
Ian Lance Taylor [Sun, 7 Oct 2007 18:06:27 +0000 (18:06 +0000)]
Add --version option.

16 years agoTest merging of string constants.
Ian Lance Taylor [Sun, 7 Oct 2007 17:20:18 +0000 (17:20 +0000)]
Test merging of string constants.

16 years agoAdd a TLS test case.
Ian Lance Taylor [Sun, 7 Oct 2007 17:10:10 +0000 (17:10 +0000)]
Add a TLS test case.

16 years agoAdd support for local dynamic relocations.
Ian Lance Taylor [Sun, 7 Oct 2007 17:05:07 +0000 (17:05 +0000)]
Add support for local dynamic relocations.

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

16 years agoCorrect handling of addends in merged sections.
Ian Lance Taylor [Sat, 6 Oct 2007 05:40:44 +0000 (05:40 +0000)]
Correct handling of addends in merged sections.

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

16 years ago * elf32-xtensa.c (relax_section): Call pin_internal_relocs when
Bob Wilson [Fri, 5 Oct 2007 19:05:35 +0000 (19:05 +0000)]
* elf32-xtensa.c (relax_section): Call pin_internal_relocs when
changing a relocation's offset.  Adjust call to translate_reloc.  Do
not add a fix record for a DIFF reloc.  For other relocs, only add a
fix record if the translated target is in a different object file;
otherwise, just update the relocation.  Call pin_internal_relocs when
updating a reloc but not when adding a fix record.
(translate_reloc): Get the target section from a new argument, not
from the relocation.  Change check for relaxable sections to an
assertion.  Compute separate offset adjustments for the base symbol
and the addend, and set the new relocation's addend correctly.  Return
the new target section.

16 years agogas/testsuite/
H.J. Lu [Fri, 5 Oct 2007 19:04:06 +0000 (19:04 +0000)]
gas/testsuite/

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

* gas/i386/i386.exp: Run smx.

* gas/i386/smx.d: New.
* gas/i386/smx.s: Likewise.

opcodes/

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

* i386-dis.c (dis386_twobyte): Add getsec.

* i386-gen.c (cpu_flags): Add CpuSMX.

* i386-opc.h (CpuSMX): New.
(CpuSSSE3): Updated.
(i386_cpu_flags): Add cpusmx.

* i386-opc.tbl: Add getsec.
* i386-init.h: Regenerated.
* i386-tbl.h: Likewise.

16 years ago * elf32-xtensa.c (elf_xtensa_relocate_section): Remove updates of
Bob Wilson [Fri, 5 Oct 2007 18:18:23 +0000 (18:18 +0000)]
* elf32-xtensa.c (elf_xtensa_relocate_section): Remove updates of
r_type and howto after calling do_fix_for_relocateable_link and
do_fix_for_final_link.

16 years ago * elf32-xtensa.c (removed_by_actions): New.
Bob Wilson [Fri, 5 Oct 2007 18:09:57 +0000 (18:09 +0000)]
* elf32-xtensa.c (removed_by_actions): New.
(offset_with_removed_text): Reimplement using removed_by_actions.
(offset_with_removed_text_before_fill): Delete.
(relax_property_section): Use removed_by_actions.  Rearrange logic.
(relax_section_symbols): Likewise.

16 years ago2007-10-05 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 5 Oct 2007 17:50:47 +0000 (17:50 +0000)]
2007-10-05  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (build_modrm_byte): Check the first 2 8bit
immediate operands directly for instructions with 4 operands.

16 years agoFrom Andrew Chatham: fix bug in 64-bit hash.
Ian Lance Taylor [Fri, 5 Oct 2007 17:36:31 +0000 (17:36 +0000)]
From Andrew Chatham: fix bug in 64-bit hash.

16 years ago2007-10-05 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 5 Oct 2007 16:28:16 +0000 (16:28 +0000)]
2007-10-05  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (reg_table): Use "{ XX }" on "(bad)".
(prefix_table): Likewise.

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