OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
18 years ago * coff-rs6000.c (xcoff_write_archive_contents_old): Warning fix.
amodra [Thu, 27 Apr 2006 01:19:35 +0000 (01:19 +0000)]
* coff-rs6000.c (xcoff_write_archive_contents_old): Warning fix.

18 years ago*** empty log message ***
gdbadmin [Thu, 27 Apr 2006 00:00:36 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Thu, 27 Apr 2006 00:00:06 +0000 (00:00 +0000)]
daily update

18 years ago2006-04-20 Michael Snyder <msnyder@redhat.com>
msnyder [Wed, 26 Apr 2006 18:45:31 +0000 (18:45 +0000)]
2006-04-20  Michael Snyder  <msnyder@redhat.com>

* remote.c: Fix spelling error in comment.

18 years ago * mips.h: Improve comments describing the bitfield instruction
ths [Wed, 26 Apr 2006 18:19:15 +0000 (18:19 +0000)]
* mips.h: Improve comments describing the bitfield instruction
fields.

18 years ago * fhandler.h (fhandler_base): Change fstat_helper prototype
corinna [Wed, 26 Apr 2006 16:51:09 +0000 (16:51 +0000)]
* fhandler.h (fhandler_base): Change fstat_helper prototype
to take file size and inode number as 64 bit values.
* fhandler_disk_file.cc (FS_IS_SAMBA): Move to path.cc
(FS_IS_SAMBA_WITH_QUOTA): Ditto.
(path_conv::hasgood_inode): Delete.
(path_conv::is_samba): Delete.
(path_conv::isgood_inode): Centralized function to recognize
a good inode number.
(fhandler_base::fstat_by_handle): Constify fvi_size and fai_size.
Accomodate argument change in fstat_helper.
(fhandler_base::fstat_by_name): Ditto.
(fhandler_base::fstat_helper): Accomodate argument change.  Call
path_conv::isgood_inode to recognize good inodes.
(fhandler_disk_file::opendir): Explain Samba weirdness here.
Call path_conv::fs_is_samba instead of path_conv::is_samba.
(fhandler_disk_file::readdir): Add STATUS_INVALID_INFO_CLASS
as valid return code from NtQueryDirectoryFile to indicate that
FileIdBothDirectoryInformation is not supported.
Call path_conv::isgood_inode to recognize good inodes.
* ntdll.h (STATUS_INVALID_INFO_CLASS): Define.
* path.cc (fs_info::update): Rework file system recognition
and set appropriate flags.
* path.h (struct fs_info): Add is_ntfs, is_samba and is_nfs flags.
Constify pure read accessors.

18 years ago * gas/config/tc-arm.c (neon_is_quarter_float): Move, and rename to...
jules [Wed, 26 Apr 2006 16:03:02 +0000 (16:03 +0000)]
* gas/config/tc-arm.c (neon_is_quarter_float): Move, and rename to...
(is_quarter_float): Rename from above. Simplify slightly.
(parse_qfloat_immediate): Parse a "quarter precision" floating-point
number.
(parse_neon_mov): Parse floating-point constants.
(neon_qfloat_bits): Fix encoding.
(neon_cmode_for_move_imm): Tweak to use floating-point encoding in
preference to integer encoding when using the F32 type.

18 years ago * gas/testsuite/gas/arm/neon-const.s: New testcase. Neon floating-point
jules [Wed, 26 Apr 2006 16:02:40 +0000 (16:02 +0000)]
* gas/testsuite/gas/arm/neon-const.s: New testcase. Neon floating-point
constants.
* gas/testsuite/gas/arm/neon-const.d: Expected output of above.
* gas/testsuite/gas/arm/neon-cov.d: Expect floating-point disassembly
for VMOV.F32.

18 years ago * arm-dis.c (print_insn_neon): Disassemble floating-point constant
jules [Wed, 26 Apr 2006 16:02:07 +0000 (16:02 +0000)]
* arm-dis.c (print_insn_neon): Disassemble floating-point constant
VMOV.

18 years ago * config/tc-arm.c (neon_el_type): Make NT_invtype be the zero (so
jules [Wed, 26 Apr 2006 15:55:44 +0000 (15:55 +0000)]
* config/tc-arm.c (neon_el_type): Make NT_invtype be the zero (so
zero-initialising structures containing it will lead to invalid types).
(arm_it): Add vectype to each operand.
(NTA_HASTYPE, NTA_HASINDEX): Constants used in neon_typed_alias
defined field.
(neon_typed_alias): New structure. Extra information for typed
register aliases.
(reg_entry): Add neon type info field.
(arm_reg_parse): Remove RTYPE argument (revert to previous arguments).
Break out alternative syntax for coprocessor registers, etc. into...
(arm_reg_alt_syntax): New function. Alternate syntax handling broken
out from arm_reg_parse.
(parse_neon_type): Move. Return SUCCESS/FAIL.
(first_error): New function. Call to ensure first error which occurs is
reported.
(parse_neon_operand_type): Parse exactly one type.
(NEON_ALL_LANES, NEON_INTERLEAVE_LANES): Move.
(parse_typed_reg_or_scalar): New function. Handle core of both
arm_typed_reg_parse and parse_scalar.
(arm_typed_reg_parse): Parse a register with an optional type.
(NEON_SCALAR_REG, NEON_SCALAR_INDEX): Extract parts of parse_scalar
result.
(parse_scalar): Parse a Neon scalar with optional type.
(parse_reg_list): Use first_error.
(parse_vfp_reg_list): Use arm_typed_reg_parse instead of arm_reg_parse.
(neon_alias_types_same): New function. Return true if two (alias) types
are the same.
(parse_neon_el_struct_list): Use parse_typed_reg_or_scalar. Return type
of elements.
(insert_reg_alias): Return new reg_entry not void.
(insert_neon_reg_alias): New function. Insert type/index information as
well as register for alias.
(create_neon_reg_alias): New function. Parse .dn/.qn directives and
make typed register aliases accordingly.
(s_dn, s_qn): New functions. Handle incorrectly used .dn/.qn at start
of line.
(s_unreq): Delete type information if present.
(s_arm_unwind_save_mmxwr): Remove arg 3 from arm_reg_parse calls.
(s_arm_unwind_save_mmxwcg): Likewise.
(s_arm_unwind_movsp): Likewise.
(s_arm_unwind_setfp): Likewise.
(parse_shift): Likewise.
(parse_shifter_operand): Likewise.
(parse_address): Likewise.
(parse_tb): Likewise.
(tc_arm_regname_to_dw2regnum): Likewise.
(md_pseudo_table): Add dn, qn.
(parse_neon_mov): Handle typed operands.
(parse_operands): Likewise.
(neon_type_mask): Add N_SIZ.
(N_ALLMODS): New macro.
(neon_check_shape): Fix typo in NS_DDD_QQQ case. Use first_error.
(el_type_of_type_chk): Add some safeguards.
(modify_types_allowed): Fix logic bug.
(neon_check_type): Handle operands with types.
(neon_three_same): Remove redundant optional arg handling.
(do_neon_dyadic_i64_su, do_neon_shl_imm, do_neon_qshl_imm)
(do_neon_logic, do_neon_qdmulh, do_neon_fcmp_absolute)
(do_neon_step): Adjust accordingly.
(neon_cmode_for_logic_imm): Use first_error.
(do_neon_bitfield): Call neon_check_type.
(neon_dyadic): Rename to...
(neon_dyadic_misc): ...this. New name for neon_dyadic. Add bitfield
to allow modification of type of the destination.
(do_neon_dyadic_if_su, do_neon_dyadic_if_i, do_neon_dyadic_if_i_d)
(do_neon_addsub_if_i, do_neon_mul): Adjust accordingly.
(do_neon_compare): Make destination be an untyped bitfield.
(neon_scalar_for_mul): Use NEON_SCALAR_REG, NEON_SCALAR_INDEX.
(neon_mul_mac): Return early in case of errors.
(neon_move_immediate): Use first_error.
(neon_mac_reg_scalar_long): Fix type to include scalar.
(do_neon_dup): Likewise.
(do_neon_mov): Likewise (in several places).
(do_neon_tbl_tbx): Fix type.
(do_neon_ld_st_interleave, neon_alignment_bit, do_neon_ld_st_lane)
(do_neon_ld_dup): Exit early in case of errors and/or use
first_error.
(opcode_lookup): Update for parse_neon_type returning SUCCESS/FAIL.
Handle .dn/.qn directives.
(REGDEF): Add zero for reg_entry neon field.

18 years ago * gas/arm/neon-psyn.s: Basic test of programmers syntax.
jules [Wed, 26 Apr 2006 15:55:17 +0000 (15:55 +0000)]
* gas/arm/neon-psyn.s: Basic test of programmers syntax.
* gas/arm/neon-psyn.d: Expected output of above.

18 years ago * readelf.c (arm_attr_tag_VFP_arch): Add VFPv3.
jules [Wed, 26 Apr 2006 15:43:17 +0000 (15:43 +0000)]
* readelf.c (arm_attr_tag_VFP_arch): Add VFPv3.

18 years ago * config/tc-arm.c (limits.h): Include.
jules [Wed, 26 Apr 2006 15:42:54 +0000 (15:42 +0000)]
* config/tc-arm.c (limits.h): Include.
(fpu_arch_vfp_v3, fpu_vfp_ext_v3, fpu_neon_ext_v1)
(fpu_vfp_v3_or_neon_ext): Declare constants.
(neon_el_type): New enumeration of types for Neon vector elements.
(neon_type_el): New struct. Define type and size of a vector element.
(NEON_MAX_TYPE_ELS): Define constant. The maximum number of types per
instruction.
(neon_type): Define struct. The type of an instruction.
(arm_it): Add 'vectype' for the current instruction.
(isscalar, immisalign, regisimm, isquad): New predicates for operands.
(vfp_sp_reg_pos): Rename to...
(vfp_reg_pos): ...this, and add VFP_REG_Dd, VFP_REG_Dm, VFP_REG_Dn
tags.
(arm_reg_type): Add REG_TYPE_NQ (Neon Q register) and REG_TYPE_NDQ
(Neon D or Q register).
(reg_expected_msgs): Sync with above. Allow VFD to mean VFP or Neon D
register.
(GE_OPT_PREFIX_BIG): Define constant, for use in...
(my_get_expression): Allow above constant as argument to accept
64-bit constants with optional prefix.
(arm_reg_parse): Add extra argument to return the specific type of
register in when either a D or Q register (REG_TYPE_NDQ) is
requested. Can be NULL.
(parse_scalar): New function. Parse Neon scalar (vector reg and index).
(parse_reg_list): Update for new arm_reg_parse args.
(parse_vfp_reg_list): Allow parsing of Neon D/Q register lists.
(parse_neon_el_struct_list): New function. Parse element/structure
register lists for VLD<n>/VST<n> instructions.
(s_arm_unwind_save_vfp): Update for new parse_vfp_reg_list args.
(s_arm_unwind_save_mmxwr): Likewise.
(s_arm_unwind_save_mmxwcg): Likewise.
(s_arm_unwind_movsp): Likewise.
(s_arm_unwind_setfp): Likewise.
(parse_big_immediate): New function. Parse an immediate, which may be
64 bits wide. Put results in inst.operands[i].
(parse_shift): Update for new arm_reg_parse args.
(parse_address): Likewise. Add parsing of alignment specifiers.
(parse_neon_mov): Parse the operands of a VMOV instruction.
(operand_parse_code): Add OP_RND, OP_RNQ, OP_RNDQ, OP_RNSC, OP_NRDLST,
OP_NSTRLST, OP_NILO, OP_RNDQ_I0, OP_RR_RNSC, OP_RNDQ_RNSC, OP_RND_RNSC,
OP_VMOV, OP_RNDQ_IMVNb, OP_RNDQ_I63b, OP_I0, OP_I16z, OP_I32z, OP_I64,
OP_I64z, OP_oI32b, OP_oRND, OP_oRNQ, OP_oRNDQ.
(parse_operands): Handle new codes above.
(encode_arm_vfp_sp_reg): Rename to...
(encode_arm_vfp_reg): ...this. Handle D regs (0-31) too. Complain if
selected VFP version only supports D0-D15.
(do_vfp_sp_monadic, do_vfp_sp_dyadic, do_vfp_sp_compare_z)
(do_vfp_dp_sp_cvt, do_vfp_reg_from_sp, do_vfp_reg2_from_sp2)
(do_vfp_sp_from_reg, do_vfp_sp2_from_reg2, do_vfp_sp_ldst)
(do_vfp_dp_ldst, vfp_sp_ldstm, vfp_dp_ldstm): Update for new
encode_arm_vfp_reg name, and allow 32 D regs.
(do_vfp_dp_rd_rm, do_vfp_dp_rn_rd, do_vfp_dp_rd_rn, do_vfp_dp_rd_rn_rm)
(do_vfp_rm_rd_rn): New functions to encode VFP insns allowing 32 D
regs.
(do_vfp_sp_const, do_vfp_dp_const, vfp_conv, do_vfp_sp_conv_16)
(do_vfp_dp_conv_16, do_vfp_sp_conv_32, do_vfp_dp_conv_32): Handle
constant-load and conversion insns introduced with VFPv3.
(neon_tab_entry): New struct.
(NEON_ENC_TAB): Bit patterns for overloaded Neon instructions, and
those which are the targets of pseudo-instructions.
(neon_opc): Enumerate opcodes, use as indices into...
(neon_enc_tab): ...this. Hold data from NEON_ENC_TAB.
(NEON_ENC_INTEGER, NEON_ENC_ARMREG, NEON_ENC_POLY, NEON_ENC_FLOAT)
(NEON_ENC_SCALAR, NEON_ENC_IMMED, NEON_ENC_INTERLV, NEON_ENC_LANE)
(NEON_ENC_DUP): Define meaningful helper macros to look up values in
neon_enc_tab.
(neon_shape): Enumerate shapes (permitted register widths, etc.) for
Neon instructions.
(neon_type_mask): New. Compact type representation for type checking.
(N_SU_ALL, N_SU_32, N_SU_16_64, N_SUF_32, N_I_ALL, N_IF_32): Common
permitted type combinations.
(N_IGNORE_TYPE): New macro.
(neon_check_shape): New function. Check an instruction shape for
multiple alternatives. Return the specific shape for the current
instruction.
(neon_modify_type_size): New function. Modify a vector type and size,
depending on the bit mask in argument 1.
(neon_type_promote): New function. Convert a given "key" type (of an
operand) into the correct type for a different operand, based on a bit
mask.
(type_chk_of_el_type): New function. Convert a type and size into the
compact representation used for type checking.
(el_type_of_type_ckh): New function. Reverse of above (only when a
single bit is set in the bit mask).
(modify_types_allowed): New function. Alter a mask of allowed types
based on a bit mask of modifications.
(neon_check_type): New function. Check the type of the current
instruction against the variable argument list. The "key" type of the
instruction is returned.
(neon_dp_fixup): New function. Fill in and modify instruction bits for
a Neon data-processing instruction depending on whether we're in ARM
mode or Thumb-2 mode.
(neon_logbits): New function.
(neon_three_same, neon_two_same, do_neon_dyadic_i_su)
(do_neon_dyadic_i64_su, neon_imm_shift, do_neon_shl_imm)
(do_neon_qshl_imm, neon_cmode_for_logic_imm, neon_bits_same_in_bytes)
(neon_squash_bits, neon_is_quarter_float, neon_qfloat_bits)
(neon_cmode_for_move_imm, neon_write_immbits, neon_invert_size)
(do_neon_logic, do_neon_bitfield, neon_dyadic, do_neon_dyadic_if_su)
(do_neon_dyadic_if_su_d, do_neon_dyadic_if_i, do_neon_dyadic_if_i_d)
(do_neon_addsub_if_i, neon_exchange_operands, neon_compare)
(do_neon_cmp, do_neon_cmp_inv, do_neon_ceq, neon_scalar_for_mul)
(neon_mul_mac, do_neon_mac_maybe_scalar, do_neon_tst, do_neon_mul)
(do_neon_qdmulh, do_neon_fcmp_absolute, do_neon_fcmp_absolute_inv)
(do_neon_step, do_neon_abs_neg, do_neon_sli, do_neon_sri)
(do_neon_qshlu_imm, do_neon_qmovn, do_neon_qmovun)
(do_neon_rshift_sat_narrow, do_neon_rshift_sat_narrow_u, do_neon_movn)
(do_neon_rshift_narrow, do_neon_shll, neon_cvt_flavour, do_neon_cvt)
(neon_move_immediate, do_neon_mvn, neon_mixed_length)
(do_neon_dyadic_long, do_neon_abal, neon_mac_reg_scalar_long)
(do_neon_mac_maybe_scalar_long, do_neon_dyadic_wide, do_neon_vmull)
(do_neon_ext, do_neon_rev, do_neon_dup, do_neon_mov)
(do_neon_rshift_round_imm, do_neon_movl, do_neon_trn, do_neon_zip_uzp)
(do_neon_sat_abs_neg, do_neon_pair_long, do_neon_recip_est)
(do_neon_cls, do_neon_clz, do_neon_cnt, do_neon_swp, do_neon_tbl_tbx)
(do_neon_ldm_stm, do_neon_ldr_str, do_neon_ld_st_interleave)
(neon_alignment_bit, do_neon_ld_st_lane, do_neon_ld_dup)
(do_neon_ldx_stx): New functions. Neon bit encoding and encoding
helpers.
(parse_neon_type): New function. Parse Neon type specifier.
(opcode_lookup): Allow parsing of Neon type specifiers.
(REGNUM2, REGSETH, REGSET2): New macros.
(reg_names): Add new VFPv3 and Neon registers.
(NUF, nUF, NCE, nCE): New macros for opcode table.
(insns): More VFP registers allowed in fcpyd, fmdhr, fmdlr, fmrdh,
fmrdl, fabsd, fnegd, fsqrtd, faddd, fsubd, fmuld, fdivd, fmacd, fmscd,
fnmuld, fnmacd, fnmscd, fcmpd, fcmpzd, fcmped, fcmpezd, fmdrr, fmrrd.
Add Neon instructions vaba, vhadd, vrhadd, vhsub, vqadd, vqsub, vrshl,
vqrshl, vshl, vqshl{u}, vand, vbic, vorr, vorn, veor, vbsl, vbit, vbif,
vabd, vmax, vmin, vcge, vcgt, vclt, vcle, vceq, vpmax, vpmin, vmla,
vmls, vpadd, vadd, vsub, vtst, vmul, vqdmulh, vqrdmulh, vacge, vacgt,
vaclt, vacle, vrecps, vrsqrts, vabs, vneg, v{r}shr,  v{r}sra, vsli,
vsri, vqshrn, vq{r}shr{u}n, v{r}shrn, vshll, vcvt, vmov, vmvn, vabal,
vabdl, vaddl, vsubl, vmlal, vmlsl, vaddw, vsubw, v{r}addhn, v{r}subhn,
vqdmlal, vqdmlsl, vqdmull, vmull, vext, vrev64, vrev32, vrev16, vdup,
vmovl, v{q}movn, vzip, vuzp, vqabs, vqneg, vpadal, vpaddl, vrecpe,
vrsqrte, vcls, vclz, vcnt, vswp, vtrn, vtbl, vtbx, vldm, vstm, vldr,
vstr, vld[1234], vst[1234], fconst[sd], f[us][lh]to[sd],
fto[us][lh][sd].
(tc_arm_regname_to_dw2regnum): Update for arm_reg_parse args.
(arm_cpu_option_table): Add Neon and VFPv3 to Cortex-A8.
(arm_option_cpu_value): Add vfp3 and neon.
(aeabi_set_public_attributes): Support VFPv3 and NEON attributes. Fix
VFPv1 attribute.

18 years ago * gas/arm/copro.s: Avoid ldcl which encodes as a bad Neon instruction.
jules [Wed, 26 Apr 2006 15:42:17 +0000 (15:42 +0000)]
* gas/arm/copro.s: Avoid ldcl which encodes as a bad Neon instruction.
* gas/arm/copro.d: Update accordingly.
* gas/arm/neon-cond.s: New test. Conditional Neon opcodes in ARM mode.
* gas/arm/neon-cond.d: Expected results of above.
* gas/arm/neon-cov.s: New test. Coverage of Neon instructions.
* gas/arm/neon-cov.d: Expected results of above.
* gas/arm/neon-ldst-es.s: New test. Element and structure loads and
stores.
* gas/arm/neon-ldst-es.d: Expected results of above.
* gas/arm/neon-ldst-rm.s: New test. Single and multiple register loads
and stores.
* gas/arm/neon-ldst-rm.d: Expected results of above.
* gas/arm/neon-omit.s: New test. Omission of optional operands.
* gas/arm/neon-omit.d: Expected results of above.
* gas/arm/vfp1.d: Expect Neon syntax for some VFP instructions.
* gas/arm/vfp1_t2.d: Likewise.
* gas/arm/vfp1xD.d: Likewise.
* gas/arm/vfp1xD_t2.d: Likewise.
* gas/arm/vfp2.d: Likewise.
* gas/arm/vfp2_t2.d: Likewise.
* gas/arm/vfp3-32drs.s: New test. Extended D register range for VFP
instructions.
* gas/arm/vfp3-32drs.d: Expected results of above.
* gas/arm/vfp3-const-conv.s: New test. VFPv3 constant-load and
conversion instructions.
* gas/arm/vfp3-const-conv.d: Expected results of above.

18 years ago * opcode/arm.h (FPU_VFP_EXT_V3): Define constant.
jules [Wed, 26 Apr 2006 15:41:15 +0000 (15:41 +0000)]
* opcode/arm.h (FPU_VFP_EXT_V3): Define constant.
(FPU_NEON_EXT_V1): Likewise.
(FPU_VFP_HARD): Update.
(FPU_VFP_V3): Define macro.
(FPU_ARCH_VFP_V3, FPU_ARCH_VFP_V3_PLUS_NEON_V1): Define macros.

18 years ago * opcodes/arm-dis.c (coprocessor_opcodes): Add %A, %B, %k, convert
jules [Wed, 26 Apr 2006 15:40:55 +0000 (15:40 +0000)]
* opcodes/arm-dis.c (coprocessor_opcodes): Add %A, %B, %k, convert
%<code>[zy] into %[zy]<code>.  Expand meaning of %<bitfield>['`?].
Add unified load/store instruction names.
(neon_opcode_table): New.
(arm_opcodes): Expand meaning of %<bitfield>['`?].
(arm_decode_bitfield): New.
(print_insn_coprocessor): Add pc argument. Add %A & %B specifiers.
Use arm_decode_bitfield and adjust numeric specifiers. Adjust %z & %y.
(print_insn_neon): New.
(print_insn_arm): Adjust print_insn_coprocessor call. Call
print_insn_neon. Use arm_decode_bitfield and adjust numeric specifiers.
(print_insn_thumb32): Likewise.

18 years ago2006-04-26 H.J. Lu <hongjiu.lu@intel.com>
hjl [Wed, 26 Apr 2006 13:37:05 +0000 (13:37 +0000)]
2006-04-26  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/2593
* binutils-all/copy-1.d: New file.
* binutils-all/copy-1.s: Likewise.
* binutils-all/copy-2.d: Likewise.

* binutils-all/objcopy.exp: Add run_dump_test "copy-1" and
run_dump_test "copy-2".

* lib/utils-lib.exp (run_dump_test): New.
(slurp_options): Likewise.
(regexp_diff): Likewise.
(file_contents): Likewise.
(verbose_eval): Likewise.

18 years ago2006-04-26 H.J. Lu <hongjiu.lu@intel.com>
hjl [Wed, 26 Apr 2006 13:32:26 +0000 (13:32 +0000)]
2006-04-26  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/2593
* elf.c (_bfd_elf_new_section_hook): Don't set section ELF type
and flags if its BFD flags have been set.
(_bfd_elf_init_private_section_data): Don't copy the output ELF
section type from input if it has been set to something
different.

18 years agoAdd missing changelog entry
aj [Wed, 26 Apr 2006 09:24:07 +0000 (09:24 +0000)]
Add missing changelog entry

18 years agodaily update
amodra [Wed, 26 Apr 2006 00:00:05 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Wed, 26 Apr 2006 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago2006-04-25 H.J. Lu <hongjiu.lu@intel.com>
hjl [Tue, 25 Apr 2006 22:05:14 +0000 (22:05 +0000)]
2006-04-25  H.J. Lu  <hongjiu.lu@intel.com>

* ld-alpha/tlsbin.rd: Updated for readelf change.
* ld-alpha/tlsbinr.rd: Likewise.
* ld-alpha/tlspic.rd: Likewise.

18 years agoRegenerate libbfd.h.
hjl [Tue, 25 Apr 2006 19:09:58 +0000 (19:09 +0000)]
Regenerate libbfd.h.

18 years agoFrom Masaki MURANAKA <monaka@monami-software.com>:
kettenis [Tue, 25 Apr 2006 18:58:08 +0000 (18:58 +0000)]
From Masaki MURANAKA <monaka@monami-software.com>:
* mips-mdebug-tdep.c (mips_mdebug_frame_prev_register): Change
type of last argument to `gdb_byte *'

18 years ago2006-04-11 Jim Blandy <jimb@codesourcery.com>
jimb [Tue, 25 Apr 2006 18:02:10 +0000 (18:02 +0000)]
2006-04-11  Jim Blandy  <jimb@codesourcery.com>

Add support for 'target remote |' on MinGW.
* ser-mingw.c (struct pipe_state): New structure.
(make_pipe_state, free_pipe_state, cleanup_pipe_state)
(pipe_windows_open, pipe_windows_close, pipe_windows_read)
(pipe_windows_write, pipe_wait_handle): New functions.
(_initialize_ser_windows): Register a "pipe" interface based on
them.

18 years ago2006-04-25 H.J. Lu <hongjiu.lu@intel.com>
hjl [Tue, 25 Apr 2006 17:46:15 +0000 (17:46 +0000)]
2006-04-25  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/2467
* elf.c (_bfd_elf_close_and_cleanup): Check elf_tdata (abfd)
is NULL first.

* elf32-arm.c (elf32_arm_close_and_cleanup): Check if
abfd->sections is NULL.
(elf32_arm_bfd_free_cached_info): New.
(bfd_elf32_bfd_free_cached_info): Defined.

* elfxx-target.h (bfd_elfNN_bfd_free_cached_info): Default it
to _bfd_free_cached_info.

* libbfd-in.h (_bfd_free_cached_info): New.
* libbfd: Regenerated.

* opncls.c (_bfd_delete_bfd): Check if abfd->memory is NULL.
(_bfd_free_cached_info): New.

18 years ago * config/xtensa-relax.c (widen_spec_list): Use new "WIDE.<opcode>"
bwilson [Tue, 25 Apr 2006 17:11:10 +0000 (17:11 +0000)]
* config/xtensa-relax.c (widen_spec_list): Use new "WIDE.<opcode>"
syntax instead of hardcoded opcodes with ".w18" suffixes.
(wide_branch_opcode): New.
(build_transition): Use it to check for wide branch opcodes with
either ".w18" or ".w15" suffixes.

18 years ago * config/tc-xtensa.c (xtensa_create_literal_symbol,
bwilson [Tue, 25 Apr 2006 16:32:56 +0000 (16:32 +0000)]
* config/tc-xtensa.c (xtensa_create_literal_symbol,
xg_assemble_literal, xg_assemble_literal_space): Do not set the
frag's is_literal flag.

18 years agoPR 2587
nickc [Tue, 25 Apr 2006 16:20:47 +0000 (16:20 +0000)]
PR 2587
* Makefile.am: Add empty rule for .m -> .o build in order to work around bug
  in gmake shipped by Apple.
* Makefile.in: Regenerate.

18 years ago * config/xtensa-relax.c (XCHAL_HAVE_WIDE_BRANCHES): Provide default.
bwilson [Tue, 25 Apr 2006 15:41:16 +0000 (15:41 +0000)]
* config/xtensa-relax.c (XCHAL_HAVE_WIDE_BRANCHES): Provide default.

18 years ago2006-04-25 H.J. Lu <hongjiu.lu@intel.com>
hjl [Tue, 25 Apr 2006 14:06:09 +0000 (14:06 +0000)]
2006-04-25  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/2467
* binutils-all/objcopy.exp (strip_test): Also test "strip -g"
on archive.

18 years agoRemove spurious entry
msnyder [Tue, 25 Apr 2006 00:18:25 +0000 (00:18 +0000)]
Remove spurious entry

18 years agodaily update
amodra [Tue, 25 Apr 2006 00:00:06 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Tue, 25 Apr 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

18 years agoforgotten changelog entry
msnyder [Mon, 24 Apr 2006 22:39:03 +0000 (22:39 +0000)]
forgotten changelog entry

18 years ago * floatformat.c (floatformat_to_double): Fix (biased) exponent=0 case.
jules [Mon, 24 Apr 2006 21:34:41 +0000 (21:34 +0000)]
* floatformat.c (floatformat_to_double): Fix (biased) exponent=0 case.

18 years ago * ser-mingw.c: Include <conio.h>.
drow [Mon, 24 Apr 2006 21:00:12 +0000 (21:00 +0000)]
* ser-mingw.c: Include <conio.h>.
(struct ser_console_state, struct net_windows_state): Add exit_select,
have_stopped, thread.
(pipe_select_thread, console_select_thread)
(net_windows_select_thread): Don't create a local state copy or
close stop_select.  Exit on exit_select instead of stop_select.  Set
have_stopped.
(console_select_thread): Don't report control keypresses as pending
input.
(pipe_select_thread): Allow stop_select to interrupt sleeping.
(set_console_wait_handle): Create exit_select and have_stopped.
Save the thread handle.  Check _kbhit before starting a thread.
(ser_console_done_wait_handle): New.
(ser_console_close): Close new handles.  Wait for the thread to
exit.
(new_windows_select_thread): Assert that an event occurred.
(net_windows_wait_handle): Check for pending input before starting
a thread.
(net_windows_done_wait_handle): New.
(net_windows_open): Create exit_select and have_stopped.
Save the thread handle.
(net_windows_close): Close new handles.  Wait for the thread to
exit.
(_intiialize_ser_windows): Register done_wait_handle methods.

* serial.c [USE_WIN32API] (serial_done_wait_handle): New.
* serial.h [USE_WIN32API] (struct serial_ops): Add done_wait_handle.
[USE_WIN32API] (serial_done_wait_handle): New prototype.
* mingw-hdep.c (gdb_select): Use serial_done_wait_handle.

18 years ago* libc/machine/sh/configure.in: Avoid link tests.
dj [Mon, 24 Apr 2006 20:19:51 +0000 (20:19 +0000)]
* libc/machine/sh/configure.in: Avoid link tests.
* libc/machine/sh/configure: Regenerate.

18 years ago* environ.cc (getearly): Force correct dereference order when inspecting
cgf [Mon, 24 Apr 2006 16:42:07 +0000 (16:42 +0000)]
* environ.cc (getearly): Force correct dereference order when inspecting
environ table.

18 years ago * select.cc (thread_pipe): Raise sleep time only every 8th iteration.
corinna [Mon, 24 Apr 2006 15:16:42 +0000 (15:16 +0000)]
* select.cc (thread_pipe): Raise sleep time only every 8th iteration.
(thread_mailslot): Ditto.

18 years ago * include/ws2tcpip.h (gai_strerror): Remove thread-safety comment.
papadopo [Mon, 24 Apr 2006 11:53:16 +0000 (11:53 +0000)]
* include/ws2tcpip.h (gai_strerror): Remove thread-safety comment.
This function cannot be made thread-safe, the API would have to be
changed for that, just like strerror() -> strerror_r() and similar
ISO C or POSIX functions...

18 years agodaily update
amodra [Mon, 24 Apr 2006 00:00:05 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Mon, 24 Apr 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago * config/obj-coff.c, config/tc-arm.c, config/tc-bfin.c,
kazu [Sun, 23 Apr 2006 22:12:43 +0000 (22:12 +0000)]
* config/obj-coff.c, config/tc-arm.c, config/tc-bfin.c,
config/tc-cris.c, config/tc-crx.c, config/tc-i386.c,
config/tc-ia64.c, config/tc-maxq.c, config/tc-maxq.h,
config/tc-mips.c, config/tc-msp430.c, config/tc-sh.c,
config/tc-tic4x.c, config/tc-xtensa.c: Fix comment typos.

18 years ago * Makefile.in (tmp-ld-decode): Fix dependencies.
schwab [Sun, 23 Apr 2006 14:54:42 +0000 (14:54 +0000)]
* Makefile.in (tmp-ld-decode): Fix dependencies.
(tmp-ld-cache): Likewise.
(tmp-ld-insn): Likewise.

18 years ago * rs6000-tdep.c: Include "reggroups.h" only once.
schwab [Sun, 23 Apr 2006 14:15:01 +0000 (14:15 +0000)]
* rs6000-tdep.c: Include "reggroups.h" only once.
* Makefile.in (rs6000-tdep.o): Update dependencies.

18 years ago * select.cc (thread_pipe): Raise sleep time dynamically to speed up
corinna [Sun, 23 Apr 2006 08:39:06 +0000 (08:39 +0000)]
* select.cc (thread_pipe): Raise sleep time dynamically to speed up
select on pipes when copying lots of data.
(thread_mailslot): Ditto for mailslots.

18 years agodaily update
amodra [Sun, 23 Apr 2006 00:00:05 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Sun, 23 Apr 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago* signal.cc (abort): On second thought, just set incyg once.
cgf [Sat, 22 Apr 2006 23:13:18 +0000 (23:13 +0000)]
* signal.cc (abort): On second thought, just set incyg once.

18 years ago2006-04-22 Andrew Cagney <cagney@redhat.com>
cagney [Sat, 22 Apr 2006 23:12:03 +0000 (23:12 +0000)]
2006-04-22  Andrew Cagney  <cagney@redhat.com>

* gdb.texinfo (Contributors): Credit frame unwinder contributors.
* gdbint.texinfo (Algorithms): Fix errors in frame documentation.

18 years ago* abort.cc (abort): Set incyg manually to help get a reliable gdb stack trace.
cgf [Sat, 22 Apr 2006 23:09:44 +0000 (23:09 +0000)]
* abort.cc (abort): Set incyg manually to help get a reliable gdb stack trace.
* cygwin.din (abort): Make NOSIGFE.

18 years ago*** empty log message ***
gdbadmin [Sat, 22 Apr 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Sat, 22 Apr 2006 00:00:05 +0000 (00:00 +0000)]
daily update

18 years ago* environ.cc (getearly): Use GetEnvironmentVariable and cmalloc instead of
cgf [Fri, 21 Apr 2006 21:34:38 +0000 (21:34 +0000)]
* environ.cc (getearly): Use GetEnvironmentVariable and cmalloc instead of
GetEnvironmentStrings.
(environ_init): Revert rawenv stuff.

18 years ago2006-04-21 Frederic Riss <frederic.riss@st.com>
fred [Fri, 21 Apr 2006 20:26:06 +0000 (20:26 +0000)]
2006-04-21  Frederic Riss  <frederic.riss@st.com>

* dwarf2read.c (dwarf2_start_subfile): Change prototype to accept
compilation directory as last argument.
Always pass comp_dir as second argument to start_subfile and prepend
dirname to the filename when necessary.
Remove now superfluous search for pre-existing subfile.
(dwarf_decode_lines): Pass the compilation directory to
dwarf2_start_subfile.

18 years agoformat comment using GNU-style
cgf [Fri, 21 Apr 2006 19:40:48 +0000 (19:40 +0000)]
format comment using GNU-style

18 years ago* environ.cc (rawenv): Make this variable a file-scope static.
cgf [Fri, 21 Apr 2006 19:19:30 +0000 (19:19 +0000)]
* environ.cc (rawenv): Make this variable a file-scope static.
(getearly): Rename 's' variable to 'len' since 's' is used fairly consistently
throughout cygwin as a string variable.  Remove rawenv declaration.  Perform
other minor cleanups.
(environ_init): Remove rawenv declaration.  Only set rawenv to
GetEnvironmentStrings() if it has not already been set.  Properly free rawenv
in all cases.

18 years ago* tty.h (tty::hwnd): Move to tty_min.
cgf [Fri, 21 Apr 2006 18:53:05 +0000 (18:53 +0000)]
* tty.h (tty::hwnd): Move to tty_min.
(tty::gethwnd): Ditto.
(tty::sethwnd): Ditto.
(tty_min::hwnd): Receive variable from tty class.
(tty_min::gethwnd): Receive function from tty classs.
(tty_min::sethwnd): Ditto.
* dtable.cc (dtable::stdio_init): Only call init_console_handler when we
actually own the console.
* fhandler_console.cc (fhandler_console::get_tty_stuff): Set tty's hwnd to
non-zero value.
* fhandler_termios.cc (fhandler_termios::tcsetpgrp): Semi-reinstate handling of
console when pgrp is set.

18 years ago * environ.cc (getearly): New function.
corinna [Fri, 21 Apr 2006 17:21:40 +0000 (17:21 +0000)]
* environ.cc (getearly): New function.
(findenv_func): New function pointer, predefined to getearly.
(getenv): Call findenv function over the findenv_func pointer.
(environ_init): Change findenv_func pointer to my_findenv after Cygwin
environment is initialized.

18 years ago * include/asm/byteorder.h (__ntohl): Fix the missing uint32_t.
corinna [Fri, 21 Apr 2006 14:29:53 +0000 (14:29 +0000)]
* include/asm/byteorder.h (__ntohl): Fix the missing uint32_t.

18 years ago * fhandler_socket.cc (fhandler_socket::wait): Reorder setting
corinna [Fri, 21 Apr 2006 11:35:43 +0000 (11:35 +0000)]
* fhandler_socket.cc (fhandler_socket::wait): Reorder setting
WSAError to avoid spurious errors with WSAError set to 0.

18 years ago * include/asm/byteorder.h: Include stdint.h. Per standard, change
corinna [Fri, 21 Apr 2006 09:59:07 +0000 (09:59 +0000)]
* include/asm/byteorder.h: Include stdint.h.  Per standard, change
datatypes in ntohX and htonX functions to uintXX_t types.

18 years ago * elf.c (assign_file_positions_except_relocs): Move code setting
amodra [Fri, 21 Apr 2006 07:26:08 +0000 (07:26 +0000)]
* elf.c (assign_file_positions_except_relocs): Move code setting
file position of non-loaded sections..
(assign_file_positions_for_segments): ..to here.

18 years ago2006-04-20 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 21 Apr 2006 03:42:47 +0000 (03:42 +0000)]
2006-04-20  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/2537
* elf.c (bfd_section_from_shdr): Allow sections reserved for
applications. Issue an error on sections we don't know how
to handle.

18 years ago*** empty log message ***
gdbadmin [Fri, 21 Apr 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Fri, 21 Apr 2006 00:00:06 +0000 (00:00 +0000)]
daily update

18 years ago2006-04-20 Michael Snyder <msnyder@redhat.com>
msnyder [Thu, 20 Apr 2006 23:24:23 +0000 (23:24 +0000)]
2006-04-20  Michael Snyder  <msnyder@redhat.com>

* 2006-03-22  Jim Blandy  <jimb@redhat.com>
Add support for the Renesas M32C and M16C.

* gdb.asm/asm-source.exp: Add m32c target.
* gdb.asm/m32c.inc: Support for m32c target.

18 years ago2006-04-20 Michael Snyder <msnyder@redhat.com>
msnyder [Thu, 20 Apr 2006 23:18:48 +0000 (23:18 +0000)]
2006-04-20  Michael Snyder  <msnyder@redhat.com>

* 2006-03-22  Jim Blandy  <jimb@redhat.com>
Add support for the Renesas M32C and M16C.

* configure.tgt (m32c-*-*): New entry.
* config/m32c/m32c.mt: New file.
* m32c-tdep.c: New file.
* Makefile.in (elf_m32c_h): New variable.
(m32c-tdep.o): New rule.
* NEWS: Mention new target.
* MAINTAINERS: Designate Jim Blandy as responsible maintainer.

18 years agotouched all sources to ease import of readline-5.1
ezannoni [Thu, 20 Apr 2006 20:13:20 +0000 (20:13 +0000)]
touched all sources to ease import of readline-5.1

18 years agoInitial revision
ezannoni [Thu, 20 Apr 2006 20:05:49 +0000 (20:05 +0000)]
Initial revision

18 years agoInitial revision
ezannoni [Thu, 20 Apr 2006 20:05:33 +0000 (20:05 +0000)]
Initial revision

18 years ago * m68klinux-tdep.c (m68k_linux_sigtramp_frame_prev_register):
drow [Thu, 20 Apr 2006 17:29:47 +0000 (17:29 +0000)]
* m68klinux-tdep.c (m68k_linux_sigtramp_frame_prev_register):
Correct type of VALUEP.  Reported by Jean-Rene Peulve
<jr.peulve@wanadoo.fr>.

18 years ago2005-04-20 Paul Brook <paul@codesourcery.com>
pbrook [Thu, 20 Apr 2006 12:39:51 +0000 (12:39 +0000)]
2005-04-20  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (s_arm_arch, s_arm_cpu, s_arm_fpu): Enable for
all targets.
(md_pseudo_table): Enable .arch, .cpu and .fpu for all targets.
gas/testsuite/
* gas/arm/arch7.d: Remove skip.
* gas/arm/svc.d: Ditto.
* gas/arm/thumb2_bcond.d: Ditto.
* gas/arm/thumb2_it_bad.d: Ditto.

18 years ago * include/winnt.h: revert to 1.102
papadopo [Thu, 20 Apr 2006 10:47:43 +0000 (10:47 +0000)]
* include/winnt.h:      revert to 1.102
* include/ddk/winddk.h: revert to 1.25

18 years agodaily update
amodra [Thu, 20 Apr 2006 00:00:07 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Thu, 20 Apr 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago2006-04-19 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Wed, 19 Apr 2006 19:44:03 +0000 (19:44 +0000)]
2006-04-19  Jeff Johnston  <jjohnstn@redhat.com>

        * configure.in: Modified to support autoconf 2.59.
        * */configure.in: Ditto.
        * configure: Regenerated.
        * */configure: Ditto.
        * wince/aclocal.m4: Ditto.
        * acinclude.m4: New file.
        * aclocal.m4: Ditto.
        * arm/aclocal.m4: Ditto.
        * cris/aclocal.m4: Ditto.
        * crx/aclocal.m4: Ditto.
        * d30v/aclocal.m4: Ditto.
        * fr30/aclocal.m4: Ditto.
        * frv/aclocal.m4: Ditto.
        * hp74x/aclocal.m4: Ditto.
        * i386/aclocal.m4: Ditto.
        * i960/aclocal.m4: Ditto.
        * iq2000/aclocal.m4: Ditto.
        * libnosys/aclocal.m4: Ditto.
        * m32c/aclocal.m4: Ditto.
        * m32r/aclocal.m4: Ditto.
        * m68hc11/aclocal.m4: Ditto.
        * m68k/aclocal.m4: Ditto.
        * mcore/aclocal.m4: Ditto.
        * mips/aclocal.m4: Ditto.
        * mn10200/aclocal.m4: Ditto.
        * mn10300/aclocal.m4: Ditto.
        * mt/aclocal.m4: Ditto.
        * pa/aclocal.m4: Ditto.
        * rs6000/aclocal.m4: Ditto.
        * sparc/aclocal.m4: Ditto.
        * sparc/libsys/aclocal.m4: Ditto.
        * xstormy16/aclocal.m4: Ditto.

18 years ago * Makefile.am (CPU_TYPES): Add maxq and mt. Sort.
amodra [Wed, 19 Apr 2006 12:10:45 +0000 (12:10 +0000)]
* Makefile.am (CPU_TYPES): Add maxq and mt.  Sort.
(CPU_OBJ_VALID): Change sense of COFF test to default to invalid.
Make some cpus unsupported on ELF.  Run "make dep-am".
* Makefile.in: Regenerate.

18 years ago * Makefile.am: Run "make dep-am".
amodra [Wed, 19 Apr 2006 12:10:21 +0000 (12:10 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.

18 years ago * Makefile.am: Run "make dep-am".
amodra [Wed, 19 Apr 2006 12:10:00 +0000 (12:10 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.

18 years ago * Makefile.am: Run "make dep-am".
amodra [Wed, 19 Apr 2006 12:09:41 +0000 (12:09 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.

18 years ago * include/edevdefs.h: New file.
papadopo [Wed, 19 Apr 2006 11:03:17 +0000 (11:03 +0000)]
* include/edevdefs.h: New file.

18 years ago * include/mmsystem.h (_LPCWAVEFORMATEX_DEFINED): Define.
papadopo [Wed, 19 Apr 2006 08:57:16 +0000 (08:57 +0000)]
* include/mmsystem.h (_LPCWAVEFORMATEX_DEFINED): Define.
Use as guard for the WAVEFORMATEX structure instead of
_WAVEFORMATEX_ to avoid clashes with DirectSound. Keep
_WAVEFORMATEX_ for compatibility.
Thanks to:    Andrew Jones <guln at sf dot net>

18 years ago * include/winnt.h, include/ddk/winddk.h (FIELD_OFFSET):
papadopo [Wed, 19 Apr 2006 08:40:52 +0000 (08:40 +0000)]
* include/winnt.h, include/ddk/winddk.h (FIELD_OFFSET):
Compile with recent C++ compiler such as gcc 3.4.
* include/ddk/winddk.h: Ditto.

18 years ago * include/winuser.h (CharNextEx,CharNextExW,CharPrevEx,CharPrevExW):
papadopo [Wed, 19 Apr 2006 08:15:18 +0000 (08:15 +0000)]
* include/winuser.h (CharNextEx,CharNextExW,CharPrevEx,CharPrevExW):
Delete. Only CharNextExA and CharPrevExA are documented in MSDN.
Thanks to:    David Golub <david_golub at sf dot net>

18 years ago2006-04-19 Masaki Muranaka <monaka@monami-software.com>
ksakamot [Wed, 19 Apr 2006 06:36:37 +0000 (06:36 +0000)]
2006-04-19  Masaki Muranaka  <monaka@monami-software.com>

        * m32r-rom.c: On MinGW, include winsock.h instead of sys/types.h,
        netdb.h, netinet/in.h.
        (m32r_upload_command); Add calls WSAStartup().
        * remote-m32r-sdi.c: On MinGW, include winsock.h instead of
        netinet/in.h.

18 years ago * avr-dis.c (avr_operand): Warning fix.
amodra [Wed, 19 Apr 2006 02:15:05 +0000 (02:15 +0000)]
* avr-dis.c (avr_operand): Warning fix.

18 years ago * ldlang.c (wild): Tidy default_common_section loop.
amodra [Wed, 19 Apr 2006 02:10:43 +0000 (02:10 +0000)]
* ldlang.c (wild): Tidy default_common_section loop.
(print_input_section): Format.

18 years agobfd/
amodra [Wed, 19 Apr 2006 02:06:13 +0000 (02:06 +0000)]
bfd/
* warning.m4 (--enable-werror, -build-warnings): Format help messages.
* configure: Regenerate.
binutils/
* configure: Regenerate.
gas/
* configure.in (--enable-targets): Indent help message.
* configure: Regenerate.
gprof/
* configure: Regenerate.
ld/
* configure: Regenerate.
opcodes/
* configure: Regenerate.

18 years ago* configure.in (m32c): Build libstdc++-v3. Pass flags to
dj [Wed, 19 Apr 2006 00:57:59 +0000 (00:57 +0000)]
* configure.in (m32c): Build libstdc++-v3.  Pass flags to
reference libgloss so that libssp can be built in a combined
tree.
* configure: Regenerate.

18 years ago*** empty log message ***
gdbadmin [Wed, 19 Apr 2006 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Wed, 19 Apr 2006 00:00:05 +0000 (00:00 +0000)]
daily update

18 years ago2006-04-18 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Tue, 18 Apr 2006 20:06:08 +0000 (20:06 +0000)]
2006-04-18  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/signal.h (sigdelset, sigfillset, sigismember): New macros.
        (sigaddset, sigemptyset): Add return code.

18 years agogdb/
drow [Tue, 18 Apr 2006 19:20:05 +0000 (19:20 +0000)]
gdb/
* breakpoint.c (deprecated_read_memory_nobpt): Update to use
shadow_len.
(insert_bp_location, reattach_breakpoints, remove_breakpoint)
(delete_breakpoint): Update calls to changed methods.
(deprecated_insert_raw_breakpoint, deprecated_remove_raw_breakpoint)
(single_step_breakpoints, insert_single_step_breakpoint)
(remove_single_step_breakpoints): New.
* breakpoint.h (struct bp_target_info): New.
(struct bp_location): Replace shadow_contents with
target_info and overlay_target_info.
(deprecated_insert_raw_breakpoint, deprecated_remove_raw_breakpoint)
(insert_single_step_breakpoint, remove_single_step_breakpoints): New
prototypes.
* gdbarch.sh: Forward declare struct bp_target_info in gdbarch.h.
(memory_insert_breakpoint, memory_remove_breakpoint): Update second
argument.
* mem-break.c (default_memory_insert_breakpoint): Update.  Set
placed_address, placed_size, and shadow_len.
(default_memory_remove_breakpoint): Update.  Don't use
BREAKPOINT_FROM_PC.
(memory_insert_breakpoint, memory_remove_breakpoint): Update.
* target.c (update_current_target): Update prototypes for changed
functions.
(debug_to_insert_breakpoint, debug_to_remove_breakpoint)
(debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint):
Update.
* target.h: Forward declare struct bp_target_info.
(struct target_ops): Use a bp_target_info argument for
to_insert_breakpoint, to_remove_breakpoint,
to_insert_hw_breakpoint, and to_remove_hw_breakpoint.
(target_insert_breakpoint, target_remove_breakpoint)
(target_insert_hw_breakpoint, target_remove_hw_breakpoint)
(memory_insert_breakpoint, memory_remove_breakpoint)
(default_memory_insert_breakpoint, default_memory_remove_breakpoint):
Update.
* config/i386/nm-i386.h: Forward declare struct bp_target_info.
(i386_insert_hw_breakpoint, i386_remove_hw_breakpoint): Update.
(target_insert_hw_breakpoint, target_remove_hw_breakpoint): Likewise.

* gdbarch.c, gdbarch.h: Regenerated.

* alpha-tdep.c (alpha_software_single_step): Use
insert_single_step_breakpoint and remove_single_step_breakpoints.
Remove unused statics.
* arm-tdep.c (arm_software_single_step): Likewise.  Add a note.
* cris-tdep.c (cris_software_single_step): Likewise.
* mips-tdep.c (mips_software_single_step): Likewise.
* rs6000-tdep.c (rs6000_software_single_step): Likewise.
* sparc-tdep.c (sparc_software_single_step): Likewise.
* wince.c (struct thread_info_struct): Remove step_prev.
(undoSStep): Use remove_single_step_breakpoints.
(wince_software_single_step): Use insert_single_step_breakpoint.

* corelow.c (ignore): Remove unneeded prototype.  Update arguments.
* exec.c (ignore): Likewise.
* sol-thread.c (ignore): Likewise.

* procfs.c (dbx_link_shadow_contents): Delete.
(dbx_link_bpt): New.
(procfs_mourn_inferior): Remove it if necessary.
(remove_dbx_link_breakpoint): Use it.
(insert_dbx_link_bpt_in_file): Set it.
(procfs_init_inferior): Don't update dbx_link_bpt_addr.
* rs6000-nat.c (exec_one_dummy_insn): Use
deprecated_insert_raw_breakpoint and
deprecated_remove_raw_breakpoint.
* solib-irix.c (shadow_contents, breakpoint_addr): Delete.
(base_breakpoint): New.
(disable_break): Use it.
(enable_break): Set it.

* i386-nat.c (i386_insert_hw_breakpoint, i386_remove_hw_breakpoint):
Update.
* ia64-tdep.c (ia64_memory_insert_breakpoint)
(ia64_memory_remove_breakpoint): Likewise.
* m32r-tdep.c (m32r_memory_insert_breakpoint)
(m32r_memory_remove_breakpoint): Likewise.
* monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
Likewise.  Remove unnecessary prototypes.  Use placed_address
and placed_size.  Removed useless read from memory.
* nto-procfs.c (procfs_insert_breakpoint)
(procfs_remove_breakpoint, procfs_insert_hw_breakpoint)
(procfs_remove_hw_breakpoint): Update.
* ocd.c (ocd_insert_breakpoint, ocd_remove_breakpoint): Likewise.
* ocd.h (ocd_insert_breakpoint, ocd_remove_breakpoint): Likewise.
* ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Likewise.
* ppc-tdep.h (ppc_linux_memory_remove_breakpoint): Likewise.
* remote-e7000.c (e7000_insert_breakpoint)
(e7000_remove_breakpoint): Likewise.
* remote-m32r-sdi.c (m32r_insert_breakpoint)
(m32r_remove_breakpoint): Likewise.
* remote-mips.c (mips_insert_breakpoint)
(mips_remove_breakpoint): Likewise.
* remote-rdp.c (remote_rdp_insert_breakpoint)
(remote_rdp_remove_breakpoint): Likewise.
(rdp_step): Use deprecated_insert_raw_breakpoint and
deprecated_remove_raw_breakpoint.
* remote-sds.c (sds_insert_breakpoint, sds_remove_breakpoint):
Update.
* remote-sim.c (gdbsim_insert_breakpoint, gdbsim_remove_breakpoint):
Delete.
(init_gdbsim_ops): Use memory_insert_breakpoint and
memory_remove_breakpoint.
* remote-st.c (st2000_insert_breakpoint)
(st2000_remove_breakpoint): Update.  Remove unused
BREAKPOINT_FROM_PC.
* remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
Update.  Use placed_address and placed_size.
(remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Likewise.
gdb/doc/
* gdbint.texinfo (x86 Watchpoints, Target Conditionals): Update insert
and remove breakpoint prototypes.
(Watchpoints): Move description of target_insert_hw_breakpoint and
target_remove_hw_breakpoint ...
(Breakpoints): ... to here.  Document target_insert_breakpoint and
target_remove_breakpoint.

18 years agogas/
hjl [Tue, 18 Apr 2006 17:52:37 +0000 (17:52 +0000)]
gas/

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

PR gas/2533
* config/tc-i386.c (i386_immediate): Check illegal immediate
register operand.

gas/testsuite/

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

PR gas/2533
* gas/i386/inval.s: Add test for illegal immediate register
operand.
* gas/i386/inval.l: Updated.

18 years ago* exceptions.cc (ctrl_c_handler): Only exit TRUE on CTRL_LOGOFF_EVENT when we
cgf [Tue, 18 Apr 2006 16:24:53 +0000 (16:24 +0000)]
* exceptions.cc (ctrl_c_handler): Only exit TRUE on CTRL_LOGOFF_EVENT when we
have actually handled the event.

18 years ago * doc/porting.texi: Document libgloss build conventions.
mmitchel [Tue, 18 Apr 2006 16:14:57 +0000 (16:14 +0000)]
* doc/porting.texi: Document libgloss build conventions.

18 years ago * config/tc-i386.c: Formatting.
amodra [Tue, 18 Apr 2006 10:11:09 +0000 (10:11 +0000)]
* config/tc-i386.c: Formatting.
(output_disp, output_imm): ISO C90 params.

18 years ago * frags.c (frag_offset_fixed_p): Constify args.
amodra [Tue, 18 Apr 2006 09:58:26 +0000 (09:58 +0000)]
* frags.c (frag_offset_fixed_p): Constify args.
* frags.h (frag_offset_fixed_p): Ditto.