OSDN Git Service

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

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.