OSDN Git Service
nickc [Sun, 18 Jun 2006 10:05:26 +0000 (10:05 +0000)]
Skip for non-ELF targets.
dannysmith [Sun, 18 Jun 2006 08:43:34 +0000 (08:43 +0000)]
* mingwex/dirent.c (_tGetFileAttributes): New helper function.
(_topendir): Use it.
dannysmith [Sun, 18 Jun 2006 08:16:54 +0000 (08:16 +0000)]
* include/sys/time.h: Add header guard. Add extern "C" bracketing
for __cplusplus.
(gettimeofday): Add prototype.
* mingwex/gettimeofday.c: New file.
* mingwex/makefile.in: Add gettimeofday source and object.
kettenis [Sun, 18 Jun 2006 05:53:51 +0000 (05:53 +0000)]
* m68klinux-tdep.c (m68k_linux_init_abi): Fix typo in comment.
amodra [Sun, 18 Jun 2006 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Sun, 18 Jun 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
nickc [Sat, 17 Jun 2006 16:05:41 +0000 (16:05 +0000)]
(enum parse_operand_result): Move outside of #ifdef OBJ_ELF so that non-ELF
targeted ARM ports can build.
gdbadmin [Sat, 17 Jun 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sat, 17 Jun 2006 00:00:05 +0000 (00:00 +0000)]
daily update
hjl [Fri, 16 Jun 2006 15:46:11 +0000 (15:46 +0000)]
2006-06-16 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.h (processor_type): New.
(arch_entry): Add type.
* config/tc-i386.c (cpu_arch_tune): New.
(cpu_arch_tune_flags): Likewise.
(cpu_arch_isa_flags): Likewise.
(cpu_arch): Updated.
(set_cpu_arch): Also update cpu_arch_isa_flags.
(md_assemble): Update cpu_arch_isa_flags.
(OPTION_MARCH): New.
(OPTION_MTUNE): Likewise.
(md_longopts): Add -march= and -mtune=.
(md_parse_option): Support -march= and -mtune=.
(md_show_usage): Add -march=CPU/-mtune=CPU.
(i386_target_format): Also update cpu_arch_isa_flags,
cpu_arch_tune and cpu_arch_tune_flags.
* doc/as.texinfo: Add -march=CPU/-mtune=CPU.
* doc/c-i386.texi: Document -march=CPU/-mtune=CPU.
drow [Fri, 16 Jun 2006 01:12:57 +0000 (01:12 +0000)]
* infrun.c (insert_step_resume_breakpoint_at_caller): New function,
based on insert_step_resume_breakpoint_at_frame.
(handle_inferior_event): Update comments. Use
insert_step_resume_breakpoint_at_caller.
(insert_step_resume_breakpoint_at_frame): Revise comments.
amodra [Fri, 16 Jun 2006 00:29:05 +0000 (00:29 +0000)]
daily update
gdbadmin [Fri, 16 Jun 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
corinna [Thu, 15 Jun 2006 17:22:56 +0000 (17:22 +0000)]
* cygwin.din: Export __srget_r, __swbuf_r.
* include/cygwin/version.h: Bump API minor number to 156.
jjohnstn [Thu, 15 Jun 2006 16:08:08 +0000 (16:08 +0000)]
2006-06-15 Corinna Vinschen <corinna@vinschen.de>
* libc/include/stdio.h (__sgetc_r): Fix typo.
* libc/stdio/fread.c (_fread_r): Convert crlf calls to crlf_r.
* libc/stdio/rget.c (__srbuf): Reinstantiate.
* libc/stdio/wbuf.c (__swbuf): Ditto.
shinwell [Thu, 15 Jun 2006 11:03:00 +0000 (11:03 +0000)]
* include/elf/arm.h: Correct names of R_ARM_LDC_G{0,1,2}
to R_ARM_LDC_SB_G{0,1,2} respectively.
bfd/
* bfd-in2.h: Regenerate.
* elf32-arm.c (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0,
R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1, R_ARM_ALU_PC_G2,
R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2, R_ARM_LDRS_PC_G0,
R_ARM_LDRS_PC_G1, R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0,
R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2, R_ARM_ALU_SB_G0_NC,
R_ARM_ALU_SB_G0, R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1,
R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1,
R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0, R_ARM_LDRS_SB_G1,
R_ARM_LDRS_SB_G2, R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1,
R_ARM_LDC_SB_G2): New relocation types.
(R_ARM_PC13): Rename to AAELF name R_ARM_LDR_PC_G0 and
adjust HOWTO entry to be consistent with R_ARM_LDR_PC_G1
and friends.
(elf32_arm_howto_table_3): Delete; contents merged into
elf32_arm_howto_table_2.
(elf32_arm_howto_from_type): Adjust correspondingly.
(elf32_arm_reloc_map): Extend with the above relocations.
(calculate_group_reloc_mask): New function.
(identify_add_or_sub): New function.
(elf32_arm_final_link_relocate): Support for the above
relocations.
* reloc.c: Add enumeration entries for BFD_RELOC_ARM_...
codes to correspond to the above relocations.
gas/
* config/tc-arm.c (enum parse_operand_result): New.
(struct group_reloc_table_entry): New.
(enum group_reloc_type): New.
(group_reloc_table): New array.
(find_group_reloc_table_entry): New function.
(parse_shifter_operand_group_reloc): New function.
(parse_address_main): New function, incorporating code
from the old parse_address function. To be used via...
(parse_address): wrapper for parse_address_main; and
(parse_address_group_reloc): new function, likewise.
(enum operand_parse_code): New codes OP_SHG, OP_ADDRGLDR,
OP_ADDRGLDRS, OP_ADDRGLDC.
(parse_operands): Support for these new operand codes.
New macro po_misc_or_fail_no_backtrack.
(encode_arm_cp_address): Preserve group relocations.
(insns): Modify to use the above operand codes where group
relocations are permitted.
(md_apply_fix): Handle the group relocations
ALU_PC_G0_NC through LDC_SB_G2.
(tc_gen_reloc): Likewise.
(arm_force_relocation): Leave group relocations for the linker.
(arm_fix_adjustable): Likewise.
gas/testsuite/
* gas/arm/group-reloc-alu.d: New test.
* gas/arm/group-reloc-alu-encoding-bad.d: New test.
* gas/arm/group-reloc-alu-encoding-bad.l: New test.
* gas/arm/group-reloc-alu-encoding-bad.s: New test.
* gas/arm/group-reloc-alu-parsing-bad.d: New test.
* gas/arm/group-reloc-alu-parsing-bad.l: New test.
* gas/arm/group-reloc-alu-parsing-bad.s: New test.
* gas/arm/group-reloc-alu.s: New test.
* gas/arm/group-reloc-ldc.d: New test.
* gas/arm/group-reloc-ldc-encoding-bad.d: New test.
* gas/arm/group-reloc-ldc-encoding-bad.l: New test.
* gas/arm/group-reloc-ldc-encoding-bad.s: New test.
* gas/arm/group-reloc-ldc-parsing-bad.d: New test.
* gas/arm/group-reloc-ldc-parsing-bad.l: New test.
* gas/arm/group-reloc-ldc-parsing-bad.s: New test.
* gas/arm/group-reloc-ldc.s: New test.
* gas/arm/group-reloc-ldr.d: New test.
* gas/arm/group-reloc-ldr-encoding-bad.d: New test.
* gas/arm/group-reloc-ldr-encoding-bad.l: New test.
* gas/arm/group-reloc-ldr-encoding-bad.s: New test.
* gas/arm/group-reloc-ldr-parsing-bad.d: New test.
* gas/arm/group-reloc-ldr-parsing-bad.l: New test.
* gas/arm/group-reloc-ldr-parsing-bad.s: New test.
* gas/arm/group-reloc-ldr.s: New test.
* gas/arm/group-reloc-ldrs.d: New test.
* gas/arm/group-reloc-ldrs-encoding-bad.d: New test.
* gas/arm/group-reloc-ldrs-encoding-bad.l: New test.
* gas/arm/group-reloc-ldrs-encoding-bad.s: New test.
* gas/arm/group-reloc-ldrs-parsing-bad.d: New test.
* gas/arm/group-reloc-ldrs-parsing-bad.l: New test.
* gas/arm/group-reloc-ldrs-parsing-bad.s: New test.
* gas/arm/group-reloc-ldrs.s: New test.
ld/testsuite/
* ld-arm/group-relocs-alu-bad.d: New test.
* ld-arm/group-relocs-alu-bad.s: New test.
* ld-arm/group-relocs.d: New test.
* ld-arm/group-relocs-ldc-bad.d: New test.
* ld-arm/group-relocs-ldc-bad.s: New test.
* ld-arm/group-relocs-ldr-bad.d: New test.
* ld-arm/group-relocs-ldr-bad.s: New test.
* ld-arm/group-relocs-ldrs-bad.d: New test.
* ld-arm/group-relocs-ldrs-bad.s: New test.
* ld-arm/group-relocs.s: New test.
* ld-arm/arm-elf.exp: Wire in new tests.
jules [Thu, 15 Jun 2006 10:51:28 +0000 (10:51 +0000)]
* config/tc-arm.c (do_vfp_nsyn_ldr_str): Remove, fold into...
(do_neon_ldr_str): Always defer to VFP encoding routines, which handle
relocs properly.
bonzini [Thu, 15 Jun 2006 06:25:49 +0000 (06:25 +0000)]
remove conflict indicators
bonzini [Thu, 15 Jun 2006 06:25:23 +0000 (06:25 +0000)]
2006-06-15 Paolo Bonzini <bonzini@gnu.org>
* Makefile.tpl (POSTSTAGE1_HOST_EXPORTS): Export CFLAGS and LDFLAGS
too.
* Makefile.in: Regenerate.
amodra [Thu, 15 Jun 2006 00:00:07 +0000 (00:00 +0000)]
daily update
gdbadmin [Thu, 15 Jun 2006 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
jjohnstn [Wed, 14 Jun 2006 20:49:11 +0000 (20:49 +0000)]
2006-06-14 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/stdio.h: Add new reentrant I/O prototypes for
read/write functions. Change getc/putc macros to have reentrant underlying
macros/functions. This includes __sgetc_raw_r, __sgetc_r, and __sputc_r.
* libc/stdio/fgetc.c: Fix and/or add reentrant version to call
new reentrant I/O functions/macros for reading/writing.
* libc/stdio/fgets.c: Ditto.
* libc/stdio/fputc.c: Ditto.
* libc/stdio/fputs.c: Ditto.
* libc/stdio/fread.c: Ditto.
* libc/stdio/fseek.c: Ditto.
* libc/stdio64/fseeko64.c: Ditto.
* libc/stdio/fwrite.c: Ditto.
* libc/stdio/getc.c: Ditto.
* libc/stdio/getc_u.c: Ditto.
* libc/stdio/getchar.c: Ditto.
* libc/stdio/getchar_u.c: Ditto.
* libc/stdio/putc.c: Ditto.
* libc/stdio/putc_u.c: Ditto.
* libc/stdio/putchar.c: Ditto.
* libc/stdio/puts.c: Ditto.
* libc/stdio/vfprintf.c: Ditto.
* libc/stdio/vfscanf.c: Ditto.
* libc/stdio/fvwrite.c: Change __sfvwrite into reentrant __sfvwrite_r.
Change all previous callers of __sfvwrite. Set errno to EBADF and
set error flag on if attempt is made to write to file that does not
allow writing.
* libc/stdio/fvwrite.h: Fix new reentrant prototypes.
* libc/stdio/local.h: Ditto.
* libc/stdio/refill.c: Turn __srefill into reentrant __srefill_r.
Set errno to EBADF and the error flag on if attempt is made to
read unreadable file. Change all previous callers of __srefill.
* libc/stdio/rget.c
* libc/stdio/wbuf.c: Turn __swbuf into reentrant __swbuf_r. Change
all previous callers of __swbuf.
* libc/sys/linux/machine/i386/huge_val.h: Ifdef out file contents since
huge value macros are already defined correctly for i386 by <math.h>.
brolley [Wed, 14 Jun 2006 20:41:28 +0000 (20:41 +0000)]
2006-06-14 Dave Brolley <brolley@redhat.com>
* commonCfg.cxx (GprofCfg): Don't subscribe to the target scheduler.
Connect the cpu's sample-gprof pin to our sample pin. No longer any
relation with the target scheduler.
(BoardCfg::write_config): Nl longer any relation between gprof and
the target scheduler.
brolley [Wed, 14 Jun 2006 20:39:30 +0000 (20:39 +0000)]
2006-06-14 Dave Brolley <brolley@redhat.com>
* sidcpuutil.h (basic_cpu::sample_gprof_pin): New pin.
(sample_gprof): New method of basic_cpu.
(step_pin_handler): Don't reset current_step_insn_count.
Call sample_gprof, if requested and save latency.
(stop_after_insns_p): Likewise.
(unconfigure_gprof): Now takes no arguments. Remove unused code.
Disconnect the sample_gprof_pin.
(configure_gprof): Now takes configuration string. Connect the
sample_gprof_pin. Determine the sampling mode.
(gprof_cycles,gprof_counter,gprof_prev_latency): New members of
basic_cpu.
(configure): Initialize gprof_counter.
(basic_cpu): Add sample-gprof pin.
brolley [Wed, 14 Jun 2006 20:38:56 +0000 (20:38 +0000)]
2006-06-14 Dave Brolley <brolley@redhat.com>
* gprof.cxx (gprof_component): Remove sim_sched and sim_sched_event.
Remove the sim-sched-event attribute and the sim-sched relation.
(accumulate): Increment the bucket count by the value driven on the
pin.
(configure): No longer a subscription to the target scheduler to
maintain.
corinna [Wed, 14 Jun 2006 20:19:10 +0000 (20:19 +0000)]
* fhandler.h (class fhandler_socket): Add private mutex handle
accept_mtx.
* fhandler_socket.cc (fhandler_socket::fhandler_socket): Initialize
accept_mtx to NULL.
(fhandler_socket::dup): Duplicate accept_mtx, if available.
(fhandler_socket::listen): Create accept_mtx before trying to listen.
(fhandler_socket::prepare): Wait for accept_mtx if available to
serialize accepts on the same socket.
(fhandler_socket::release): Release accept_mtx.
(fhandler_socket::close): Close accept_mtx on successful closesocket.
brolley [Wed, 14 Jun 2006 19:02:24 +0000 (19:02 +0000)]
2006-06-14 Dave Brolley <brolley@redhat.com>
* cgen-fpu.h (cgen_fp_ops): All operations now take
const cgen_fpu*.
* cgen-fpu.cxx: Likewise.
ths [Wed, 14 Jun 2006 18:04:44 +0000 (18:04 +0000)]
* gas/mips/elf-rel6.d, gas/mips/elf-rel6.s: Extend testcase.
* gas/mips/elf-rel6.d-n32.d, gas/mips/elf-rel6-n64.d: New files.
* gas/mips/mips.exp: Run new testcases.
jules [Wed, 14 Jun 2006 15:06:35 +0000 (15:06 +0000)]
* dwarf2read.c (read_unspecified_type): New function.
(read_type_die): Handle DW_TAG_unspecified_type.
(Committed by Julian Brown.)
ths [Wed, 14 Jun 2006 08:29:42 +0000 (08:29 +0000)]
* gas/mips/mips16e-jrc.d, gas/mips/mips16e-save.d,
gas/mips/mips32-dsp.d, gas/mips/mips32-mt.d: Explicitly specify
o32 ABI.
rsandifo [Wed, 14 Jun 2006 08:27:40 +0000 (08:27 +0000)]
bfd/
* elf32-m68k.c (elf_m68k_plt_info): New structure.
(elf_m68k_plt0_entry): Add R_68K_PC32-style in-place addends.
(elf_m68k_plt_entry): Likewise.
(elf_m68k_plt_info): New table.
(CFV4E_PLT_ENTRY_SIZE): Rename to...
(ISAB_PLT_ENTRY_SIZE): ...this.
(CFV4E_FLAG): Delete.
(elf_cfv4e_plt0_entry): Rename to...
(elf_isab_plt0_entry): ...this. Adjust comments. Use (-6,%pc,%d0)
for the second instruction too.
(elf_cfv4e_plt_entry): Rename to...
(elf_isab_plt_entry): ...this. Adjust comments and use (-6,%pc,%d0).
(elf_isab_plt_info): New table.
(CPU32_FLAG): Delete.
(PLT_CPU32_ENTRY_SIZE): Rename to...
(CPU32_PLT_ENTRY_SIZE): ...this.
(elf_cpu32_plt0_entry): Update bounds accordingly. Add R_68K_PC32-
style in-place addends.
(elf_cpu32_plt_entry): Likewise.
(elf_cpu32_plt_info): New table.
(elf_m68k_link_hash_table): Add a plt_info field.
(elf_m68k_link_hash_table_create): Initialize it.
(elf_m68k_get_plt_info): New function.
(elf_m68k_always_size_sections): Likewise.
(elf_m68k_adjust_dynamic_symbol): Use the plt_info hash table field.
(elf_m68k_install_pc32): New function.
(elf_m68k_finish_dynamic_symbol): Factor code using plt_info and
elf_m68k_install_pc32.
(elf_m68k_finish_dynamic_sections): Likewise.
(elf_m68k_plt_sym_val): Use elf_m68k_get_plt_info.
(elf_backend_always_size_sections): Define.
ld/testsuite/
* ld-m68k/plt1.s, ld-m68k/plt1-empty.s, ld-m68k/plt1.ld: New files.
* ld-m68k/plt1-68020.d, ld-m68k/plt1-cpu32.d: Likewise.
* ld-m68k/plt1-isab.d: Likewise.
* ld-m68k/m68k.exp: Run new PLT tests.
amodra [Wed, 14 Jun 2006 02:43:57 +0000 (02:43 +0000)]
* ld.texinfo: Document new -z lazy option.
* emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
new option.
(gld${EMULATION_NAME}_list_options): Update help text.
amodra [Wed, 14 Jun 2006 00:22:15 +0000 (00:22 +0000)]
daily update
gdbadmin [Wed, 14 Jun 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
danglin [Tue, 13 Jun 2006 23:06:42 +0000 (23:06 +0000)]
Sync from gcc:
2006-06-12 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* configure.in: Don't enable libgomp on hpux10.
* configure: Rebuilt.
ironhead [Tue, 13 Jun 2006 22:44:49 +0000 (22:44 +0000)]
2006-06-13 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* lib/uuid.c (CLSID_FileProtocol, CLSID_FtpProtocol, CLSID_GopherProtocol,
CLSID_HttpProtocol, CLSID_HttpSProtocol, CLSID_MkProtocol,
CLSID_PSUrlMonProxy, CLSID_StdURLMoniker): Remove. Moved to
extras-uuid.c.
* lib/extras-uuid.c (CLSID_FileProtocol, CLSID_FtpProtocol, CLSID_GopherProtocol,
CLSID_HttpProtocol, CLSID_HttpSProtocol, CLSID_MkProtocol,
CLSID_PSUrlMonProxy, CLSID_StdURLMoniker): Added.
* lib/hlguids-uuid.c: State source of CLSIDs.
drow [Tue, 13 Jun 2006 20:54:41 +0000 (20:54 +0000)]
* symfile.c (load_command): Check for a changed executable before
"load".
jjohnstn [Tue, 13 Jun 2006 20:51:08 +0000 (20:51 +0000)]
2006-06-13 Sandra Loosemore <sandra@codesourcery.com>
* arm/syscalls.c (_unlink, isatty, _system, _rename):
Make them do something useful in the ARM_RDI_MONITOR case.
jjohnstn [Tue, 13 Jun 2006 20:50:23 +0000 (20:50 +0000)]
2006-06-13 Sandra Loosemore <sandra@codesourcery.com>
* /libc/sys/arm/syscalls.c (_unlink, isatty, _system, _rename):
Make them do something useful in the ARM_RDI_MONITOR case.
fnf [Tue, 13 Jun 2006 18:17:20 +0000 (18:17 +0000)]
Approved by Daniel Jacobowitz.
2006-06-13 Fred Fish <fnf@specifix.com>
* mips-tdep.c (mips_find_long_section): New function.
(mips_gdbarch_init): Use it to set long and pointer sizes.
ironhead [Tue, 13 Jun 2006 17:32:01 +0000 (17:32 +0000)]
2006-06-13 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* lib/Makefile.in: Added extras-uuid as an object and source.
* lib/uuid.c (IID_IClientSiteHandler, IID_IContinue, IID_IHttpNegotiate,
IID_IPersistMoniker, IID_IServerHandler, IID_ITargetEmbedding,
IID_ITargetFrame, IID_ITypeComp, IID_IUrlHistoryStg, IID_IWinInetHttpInfo,
IID_IWinInetInfo, IID_IEnumSTATPROPSETSTG, IID_IEnumSTATPROPSTG,
IID_IEnumSTATURL): Remove. Moved to extras-uuid.c.
* lib/extras-uuid.c: New file.
Thank you to Julien Lecomte (julienlecomte at users dot sourceforge dot
net).
amodra [Tue, 13 Jun 2006 14:49:54 +0000 (14:49 +0000)]
* elflink.c (elf_link_add_object_symbols): Save and restore
struct bfd_hash_table table, size and count fields for
as-needed libs.
ayers [Tue, 13 Jun 2006 14:46:59 +0000 (14:46 +0000)]
2006-06-13 David Ayers <d.ayers@inode.at>
Sync from gcc:
2006-06-12 David Ayers <d.ayers@inode.at>
PR bootstrap/27963
PR target/19970
* configure.in: Remove target-boehm-gc from noconfigdirs where
${libgcj} is specified.
* configure: Regenerate.
nathan [Tue, 13 Jun 2006 13:20:25 +0000 (13:20 +0000)]
* lib/gdb.exp (gdb_load_cmd): New.
nathan [Tue, 13 Jun 2006 08:55:21 +0000 (08:55 +0000)]
gdb/
* remote-file.io.c (remote_fileio_func_system): Treat zero length
string as NULL. Adjust for NULL pointer argument.
* doc/gdb.texinfo (system): Document behaviour with zero length
string.
gdb/testsuite/
* gdb.base/fileio.c: Add system(NULL) test.
* gdb.base/fileio.exp: Check it.
nathan [Tue, 13 Jun 2006 08:46:17 +0000 (08:46 +0000)]
* gdb.base/break.c: Add 10a breakpoint at }
* gdb.base/break.exp: Add test for breakpoint at }
* gdb.cp/anon-union.cc: Add code at end of function.
* gdb.cp/anon-union.exp: Adjust end of function breakpoint.
* gdb.mi/var-cmd.c: Add code at end of function.
* gdb.mi/mi-var-display.exp: Adjust end of next.
* gdb.mi/mi2-var-display.exp: Likewise.
* gdb.base/fileio.c: Add stop function and insert calls at
stopping places.
* gdb.base/fileio.exp: Breakpoint stop function and remove
explicit line number references.
rearnsha [Tue, 13 Jun 2006 08:06:48 +0000 (08:06 +0000)]
* common/aclocal.m4: Pass ../../intl to ZW_GNU_GETTEXT_SISTER_DIR.
* common/common.m4: Likewise.
* */configure: Regenerate.
rearnsha [Tue, 13 Jun 2006 08:02:20 +0000 (08:02 +0000)]
Richard Earnshaw <rearnsha@arm.com>
Alexandre Oliva <aoliva@redhat.com>
* (ZW_GNU_GETTEXT_SISTER_DIR): Add optional
argument for where to search for NLS config file.
gdbadmin [Tue, 13 Jun 2006 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Tue, 13 Jun 2006 00:00:08 +0000 (00:00 +0000)]
daily update
dannysmith [Mon, 12 Jun 2006 22:22:17 +0000 (22:22 +0000)]
* include/math.h (HUGE_VAL): Define as builtin if __GNUC__ >= 3.3,
else global library variable.
(HUGEVALF): Likewise;
(HUGEVALL): Likewise.
(INFINITY): Likewise.
(NAN): LiKewise.
dannysmith [Mon, 12 Jun 2006 21:48:08 +0000 (21:48 +0000)]
* mingwex/wcrtomb.c (wcrtomb_cp): Correct typo.
dannysmith [Mon, 12 Jun 2006 21:43:11 +0000 (21:43 +0000)]
* Makefile.in (SUBDIRS): Change to lowercase for autoconf 2.59.
drow [Mon, 12 Jun 2006 19:16:19 +0000 (19:16 +0000)]
* remote.c (set_remote_protocol_packet_cmd)
(show_remote_protocol_packet_cmd): New prototypes.
(remote_set_cmdlist, remote_show_cmdlist): Move higher.
(struct packet_config): Make name and title const.
(add_packet_config_cmd): Remove unnecessary arguments.
(_initialize_remote): Update calls.
hjl [Mon, 12 Jun 2006 18:59:35 +0000 (18:59 +0000)]
gas/testsuite/
2006-06-12 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/i386.exp: Run nops and x86-64-nops.
* gas/i386/nops.d: New file.
* gas/i386/nops.s: Likewise.
* gas/i386/x86-64-nops.d: Likewise.
* gas/i386/x86-64-nops.s: Likewise.
include/opcode/
2006-06-12 H.J. Lu <hongjiu.lu@intel.com>
* i386.h (i386_optab): Add "nop" with memory reference.
opcodes/
2006-06-12 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (dis386_twobyte): Use "nopQ" for 0x1f.
(twobyte_has_modrm): Set 1 for 0x1f.
hjl [Mon, 12 Jun 2006 18:55:38 +0000 (18:55 +0000)]
gas/
2006-06-12 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (process_suffix): Don't add rex64 for
"xchg %rax,%rax".
gas/testsuite/
2006-06-12 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/opcode.s: Add "xchg %ax,%ax".
* gas/i386/opcode.d: Updated.
* gas/i386/x86-64-opcode.s: Add xchg %ax,%ax, xchg %eax,%eax,
xchg %rax,%rax, rex64 xchg %rax,%rax and xchg %rax,%r8.
* gas/i386/x86-64-opcode.d: Updated.
include/opcode/
2006-06-12 H.J. Lu <hongjiu.lu@intel.com>
* i386.h (i386_optab): Update comment for 64bit NOP.
opcodes/
2006-06-12 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (NOP_Fixup): Removed.
(NOP_Fixup1): New.
(NOP_Fixup2): Likewise.
(dis386): Use NOP_Fixup1 and NOP_Fixup2 on 0x90.
jules [Mon, 12 Jun 2006 15:31:28 +0000 (15:31 +0000)]
* arm-dis.c (print_insn_neon): Disassemble 32-bit immediates as signed
on 64-bit hosts.
cgf [Mon, 12 Jun 2006 14:56:31 +0000 (14:56 +0000)]
* fhandler_tty.cc (fhandler_pty_master::close): Always close
from_master/to_master since we always have copies of these handles.
corinna [Mon, 12 Jun 2006 14:25:05 +0000 (14:25 +0000)]
* include/sys/wait.h: Move definition of wait constants from here...
* include/cygwin/wait.h: ...to here. New file.
* include/cygwin/stdlib.h: Include cygwin/wait.h to conform with SUSv3.
corinna [Mon, 12 Jun 2006 13:59:36 +0000 (13:59 +0000)]
* winsup.api/user_malloc.c: New file.
corinna [Mon, 12 Jun 2006 13:59:14 +0000 (13:59 +0000)]
* heap.cc (heap_init): Only commit if allocsize is not zero.
corinna [Mon, 12 Jun 2006 13:13:50 +0000 (13:13 +0000)]
* net.cc (fdsock): Disable raising buffer sizes. Add comment to
explain why.
fnf [Mon, 12 Jun 2006 12:36:24 +0000 (12:36 +0000)]
Reviewed and approved by Daniel Jacobowitz and Thiemo Seufer
2006-06-12 Fred Fish <fnf@specifix.com>
* emulparams/elf32bmip.sh (OTHER_SECTIONS): Keep the
".mdebug.<abi>" and ".gcc_compiled_long<size>" sections
generated by mips gcc.
ths [Mon, 12 Jun 2006 11:35:42 +0000 (11:35 +0000)]
[ bfd/ChangeLog ]
* elf32-mips.c: Expand comment about ABI-mandated pagesize values.
(ELF_MAXPAGESIZE, ELF_COMMONPAGESIZE): define in a more obvious way.
* elf64-mips.c, elfn32-mips.c (ELF_MAXPAGESIZE): Fix value for IRIX6.
Delete old comments.
(ELF_COMMONPAGESIZE): Define in a more obvious way.
[ ld/ChangeLog ]
* emulparams/elf64bmip.sh, emulparams/elf64btsmip.sh (COMMONPAGESIZE):
Define.
[ ld/testsuite/ChangeLog ]
* ld-mips-elf/multi-got-no-shared.d: Adjust for recent change of
ELF_MAXPAGESIZE.
nickc [Mon, 12 Jun 2006 11:12:51 +0000 (11:12 +0000)]
PR binutils/2735
* elflink.c (elf_link_add_object_symbols): Fix the warning message about
mismatched alignments to allow for the case where the common alignment
has been deduced from the section alignment.
* bfd.c (_bfd_default_error_handler): Update comment to explain why bfd
and asection varargs are out of order.
Explicitly catch and abort on NULL bfd and asection arguments.
dannysmith [Mon, 12 Jun 2006 00:55:06 +0000 (00:55 +0000)]
[mingw-Bugs-
1424461]
*include/imagehlp.h: Comment out IN, OUT and OPTIONAL,
throughout.
*include/rpcdce.h: Don't define IN, OUT or OPTIONAL if
_NO_W32_PSEUDO_MODIFIERS.
*include/rpcnsi.h: Comment out IN, OUT and OPTIONAL,
throughout.
*include/rpcnsip.h: Likewise.
*include/windef.h: Don't define IN, OUT or OPTIONAL
if _NO_W32_PSEUDO_MODIFIERS.
*include/ddk/batclass.h: Comment out IN, OUT and OPTIONAL,
throughout.
*include/ddk/cfgmgr32.h: Likewise.
*include/ddk/ddkmapi.h: Likewise.
*include/ddk/hidclass.h: Likewise.
*include/ddk/hidpi.h: Likewise.
*include/ddk/kbdmou.h: Likewise.
*include/ddk/mcd.h: Likewise.
*include/ddk/miniport.h: Likewise.
*include/ddk/minitape.h: Likewise.
*include/ddk/ndis.h: Likewise.
*include/ddk/ndistapi.h: Likewise.
*include/ddk/ndiswan.h: Likewise.
*include/ddk/ntapi.h: Likewise.
*include/ddk/ntdd8042.h: Likewise.
*include/ddk/ntddpcm.h: Likewise.
*include/ddk/ntifs.h: Likewise.
*include/ddk/ntpoapi.h: Likewise.
*include/ddk/parallel.h: Likewise.
*include/ddk/pfhook.h: Likewise.
*include/ddk/scsiwmi.h: Likewise.
*include/ddk/smbus.h: Likewise.
*include/ddk/srb.h: Likewise.
*include/ddk/storport.h: Likewise.
*include/ddk/tdikrnl.h: Likewise.
*include/ddk/upssvc.h: Likewise.
*include/ddk/usbcamdi.h: Likewise.
*include/ddk/usbscan.h: Likewise.
*include/ddk/video.h: Likewise.
*include/ddk/videoagp.h: Likewise.
*include/ddk/win2k.h: Likewise.
*include/ddk/winddi.h: Likewise.
*include/ddk/winddk.h: Don't define IN, OUT or OPTIONAL
if _NO_W32_PSEUDO_MODIFIERS.
Comment out IN, OUT and OPTIONAL, throughout.
*include/ddk/winnt4.h: Comment out IN, OUT and OPTIONAL,
throughout.
*include/ddk/ws2san.h: Likewise.
gdbadmin [Mon, 12 Jun 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Mon, 12 Jun 2006 00:00:05 +0000 (00:00 +0000)]
daily update
rsandifo [Sun, 11 Jun 2006 08:33:26 +0000 (08:33 +0000)]
bfd/
* elfxx-mips.c (mips_elf_link_hash_table): Add function_stub_size.
(STUB_ORI): New macro.
(STUB_LI16U): Fix formatting.
(MIPS_FUNCTION_STUB_SIZE): Delete.
(MIPS_FUNCTION_STUB_MAX_SIZE): Likewise.
(MIPS_FUNCTION_STUB_NORMAL_SIZE): New macro.
(MIPS_FUNCTION_STUB_BIG_SIZE): Likewise.
(_bfd_mips_elf_adjust_dynamic_symbol): Use htab->function_stub_size
instead of MIPS_FUNCTION_STUB_SIZE.
(count_section_dynsyms): New function, split out from
_bfd_mips_elf_final_link.
(_bfd_mips_elf_always_size_sections): Get a worst-case estimate
of the number of dynamic symbols needed and use it to set up
function_stub_size. Use function_stub_size rather than
MIPS_FUNCTION_STUB_SIZE to determine the size of the stub section.
Use 16-byte stubs for 0x10000 dynamic symbols.
(_bfd_mips_elf_size_dynamic_sections): Use htab->function_stub_size
instead of MIPS_FUNCTION_STUB_SIZE. Fix formatting.
(_bfd_mips_elf_finish_dynamic_symbol): Likewise. Change the
size of the stub buffer from MIPS_FUNCTION_STUB_MAX_SIZE to
MIPS_FUNCTION_STUB_BIG_SIZE. Tweak the check for unhandled dynindxes.
Use MIPS_FUNCTION_STUB_BIG_SIZE rather than a hard-coded 20.
Use STUB_ORI rather than STUB_LI16U for big stubs.
(_bfd_mips_elf_link_hash_table_create): Initialize function_stub_size.
(_bfd_mips_elf_final_link): Use count_section_dynsyms.
ld/testsuite/
* ld-mips-elf/stub-dynsym-1.s,
* ld-mips-elf/stub-dynsym-1.ld,
* ld-mips-elf/stub-dynsym-1-7fff.d,
* ld-mips-elf/stub-dynsym-1-8000.d,
* ld-mips-elf/stub-dynsym-1-fff0.d,
* ld-mips-elf/stub-dynsym-1-10000.d,
* ld-mips-elf/stub-dynsym-1-2fe80.d: New test.
* ld-mips-elf/mips-elf.exp: Run it.
gdbadmin [Sun, 11 Jun 2006 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 11 Jun 2006 00:00:08 +0000 (00:00 +0000)]
daily update
ironhead [Sat, 10 Jun 2006 20:48:15 +0000 (20:48 +0000)]
2006-06-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* lib/Makefile.in: Added hlguids-uuid as source and object.
sandra [Sat, 10 Jun 2006 18:45:26 +0000 (18:45 +0000)]
Copy edit File-I/O section of manual
drow [Sat, 10 Jun 2006 18:24:32 +0000 (18:24 +0000)]
* mingw-hdep.c (gdb_select): Always check for NULL fd sets
before calling FD_ISSET. Correct check for exceptfds which
previously tested writefds.
hjl [Sat, 10 Jun 2006 18:20:39 +0000 (18:20 +0000)]
2006-06-10 H.J. Lu <hongjiu.lu@intel.com>
* i386.c (GRP10): Renamed to ...
(GRP12): This.
(GRP11): Renamed to ...
(GRP13): This.
(GRP12): Renamed to ...
(GRP14): This.
(GRP13): Renamed to ...
(GRP15): This.
(GRP14): Renamed to ...
(GRP16): This.
(dis386_twobyte): Updated.
(grps): Likewise.
ironhead [Sat, 10 Jun 2006 15:28:03 +0000 (15:28 +0000)]
2006-06-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* lib/uuid.c (CLSID_StaticDib, CLSID_StaticMetafile, CLSID_StdHlink,
CLSID_StdHlinkBrowseContext): Remove. Moved to relevant files.
* lib/cguid-uuid.c (CLSID_StaticDib, CLSID_StaticMetafile): Added.
* lib/hlguids-uuid.c: New file.
Thank you to Julien Lecomte (julienlecomte at users dot sourceforge dot
net).
ironhead [Sat, 10 Jun 2006 12:31:17 +0000 (12:31 +0000)]
2006-06-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* lib/Makefile.in: Added urlmon-uuid and hlink-uuid as sources and
objects.
* lib/uuid.c (IID_IAuthenticate, IID_IBindHost, IID_IBindProtocol,
IID_IBindStatusCallback, IID_IBindStatusCallbackMsg, IID_IBinding,
IID_IHlink, IID_IHlinkBrowseContext, IID_IHlinkFrame, IID_IHlinkSite,
IID_IHlinkTarget): Remove. Moved to new files.
* lib/urlmon-uuid.c: New file.
* lib/hlink-uuid.c: New file.
ironhead [Sat, 10 Jun 2006 11:45:40 +0000 (11:45 +0000)]
2006-06-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* lib/Makefile.in: Added ativscp-uuid as source and object.
* lib/uuid.c (IID_IActiveScript, IID_IActiveScriptError,
IID_IActiveScriptParse, IID_IActiveScriptSite,
IID_IActiveScriptSiteWindow): Remove. Moved to ativscp-uuid.c.
* lib/ativscp-uuid.c: New file.
ironhead [Sat, 10 Jun 2006 01:45:58 +0000 (01:45 +0000)]
2006-06-09 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* lib/uuid.c (IID_IClientSecurity, IID_IMallocSpy, IID_IServerSecurity):
Remove. Moved to objidl-uuid.c
* lib/objidl-uuid.c (IID_IClientSecurity, IID_IMallocSpy,
IID_IServerSecurity): Defined.
amodra [Sat, 10 Jun 2006 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 10 Jun 2006 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
ironhead [Fri, 9 Jun 2006 23:53:06 +0000 (23:53 +0000)]
2006-06-09 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* lib/Makefile.in: Add cguid-uuid and olectlid-uuid as sources and
objects.
* lib/uuid.c (CLSID_CColorPropPage, CLSID_CFontPropPage,
CLSID_CPicturePropPage, CLSID_Picture_Dib, CLSID_Picture_Metafile,
CLSID_StdFont, CLSID_StdPicture, GUID_NULL, IID_ICreateTypeInfo,
IID_ICreateTypeInfo2, IID_ICreateTypeLib, IID_ICreateTypeLib2, IID_IDebug,
IID_IDebugStream, IID_IDispatch, IID_IEnumFORMATETC,IID_IEnumMoniker,
IID_IEnumOLEVERB, IID_IEnumSTATDATA, IID_IEnumSTATSTG, IID_IEnumString,
IID_IEnumUnknown, IID_IEnumVARIANT, IID_IOleLink, IID_IPSFactory,
IID_IRpcChannel, IID_IRpcProxy, IID_IRpcStub, IID_ITypeInfo,
IID_ITypeInfo2, IID_ITypeLib, IID_ITypeLib2): Remove. Moved to relevant
files.
* lib/oaidl-uuid.c (IID_ICreateTypeInfo, IID_ICreateTypeInfo2,
IID_ICreateTypeLib, IID_ICreateTypeLib2, IID_ITypeInfo, IID_ITypeInfo2,
IID_ITypeLib, IID_ITypeLib2, IID_IEnumVARIANT): Define.
* lib/cguid-uuid.c: New file.
* lib/olectlid-uuid.c: New file.
nickrob [Fri, 9 Jun 2006 22:37:47 +0000 (22:37 +0000)]
(GDB/MI): Remove duplicate acknowledgements.
(GDB/MI Simple Examples): Move node up one level. Use real examples.
(GDB/MI Compatibility with CLI): Update.
(GDB/MI Result Records): Add "connected" and "exit" result classes.
(GDB/MI Stream Records): Clarify target output.
(GDB/MI Command Description Format): Modify example description.
(GDB/MI Breakpoint Table Commands): Rename to...
(GDB/MI Breakpoint Commands): ...this
(GDB/MI Breakpoint Commands): Add optional thread field.
(GDB/MI Program Control): Add an introduction. Move "Program
termination" examples into exec-run description.
(GDB/MI File Commands): Mention similar CLI commands.
(GDB/MI Miscellaneous Commands): Move to end. Mention "show version"
is similar to "-gdb-version".
nickrob [Fri, 9 Jun 2006 22:35:49 +0000 (22:35 +0000)]
*** empty log message ***
eliz [Fri, 9 Jun 2006 18:52:30 +0000 (18:52 +0000)]
(Symbols): Fix "(gdb)"=>"(@value{GDBP})".
ths [Fri, 9 Jun 2006 13:47:41 +0000 (13:47 +0000)]
* bfd/elfxx-mips.c (mips_elf_calculate_relocation): Fix mode for stub
calling relocations.
nickc [Fri, 9 Jun 2006 13:40:51 +0000 (13:40 +0000)]
Updated Finnish translation
ths [Fri, 9 Jun 2006 12:55:00 +0000 (12:55 +0000)]
Lost bit belonging to the last commit.
ths [Fri, 9 Jun 2006 11:53:38 +0000 (11:53 +0000)]
[ gas/ChangeLog ]
* config/tc-mips.c (mips_ip): Maintain argument count.
[ gas/testsuite/ChangeLog ]
* gas/mips/mips32-sf32.s, gas/mips/mips32-sf32.d: New test for odd
single precision FPRs on MIPS32.
* gas/mips/mips.exp: Run them.
nathan [Fri, 9 Jun 2006 06:09:50 +0000 (06:09 +0000)]
missing commit
* remote-fileio.h (remote_fileio_reset): Prototype.
amodra [Fri, 9 Jun 2006 03:42:24 +0000 (03:42 +0000)]
* config/tc-iq2000.c: Include sb.h.
drow [Fri, 9 Jun 2006 02:33:28 +0000 (02:33 +0000)]
Typo fix.
amodra [Fri, 9 Jun 2006 01:13:39 +0000 (01:13 +0000)]
* ldlang.h (lang_input_statement_type): Use bitfields for booleans.
* ldlang.c (struct out_section_hash_entry): Rename from
output_statement_hash_entry. Delete output_section_statement_type
entry. Add statement_union_type entry. Adjust all users.
(output_section_statement_table): Rename from output_statement_table.
Adjust all users.
(output_section_statement_newfunc): Rename from
output_statement_newfunc. Adjust all users.
(output_section_statement_table_init): Rename from
output_statement_table_init. Adjust all users.
(output_section_statement_table_free): Rename from
output_statement_table_free. Adjust all users.
jules [Fri, 9 Jun 2006 00:44:28 +0000 (00:44 +0000)]
* gdb/dwarf2read.c (partial_read_comp_unit_head): Accept version 3.
jules [Fri, 9 Jun 2006 00:40:50 +0000 (00:40 +0000)]
* MAINTAINERS (Write After Approval): Add myself.
gdbadmin [Fri, 9 Jun 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Fri, 9 Jun 2006 00:00:06 +0000 (00:00 +0000)]
daily update
daney [Thu, 8 Jun 2006 23:51:25 +0000 (23:51 +0000)]
* elfxx-mips.c (STUB_LI16): Removed.
(STUB_LUI): New macro.
(STUB_LI16U): Ditto.
(STUB_LI16S): Ditto.
(MIPS_FUNCTION_STUB_SIZE): Rewrote to take info parameter.
(_bfd_mips_elf_adjust_dynamic_symbol): Pass info parameter to
MIPS_FUNCTION_STUB_SIZE.
(_bfd_mips_elf_always_size_sections): Ditto.
(_bfd_mips_elf_size_dynamic_sections): Ditto.
(_bfd_mips_elf_finish_dynamic_sections): Ditto.
(_bfd_mips_elf_finish_dynamic_symbol): Rewrote stub generation
to allow larger symbol table indexes.
ths [Thu, 8 Jun 2006 21:42:50 +0000 (21:42 +0000)]
* gas/mips/mips32.s: Added cop2 branches with explicit condition
code register numbers.
* gas/mips/mips32.d: Likewise.
ironhead [Thu, 8 Jun 2006 21:16:19 +0000 (21:16 +0000)]
2006-06-08 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* lib/Makefile.in: Add objsafe-uuid oaidl-uuid docobj-uuid comcat-uuid
exdisp-uuid mlang-uuid objidl-uuid as sources and objects.
* lib/uuid.c (CATID_Control, CATID_DocObject, CATID_Insertable,
CATID_PersistsToPropertyBag, CATID_PersistsToStorage, CATID_PersistsToStream,
CATID_PersistsToStreamInit, CATID_Printable, CATID_Programmable,
CLSID_CMultiLanguage, CLSID_StdComponentCategoriesMgr, CLSID_WebBrowser,
DIID_DWebBrowserEvents, DIID_DWebBrowserEvents2, IID_IAdviseSink,
IID_IAdviseSink2, IID_IBindCtx, IID_ICatInformation, IID_ICatRegister,
IID_IClassActivator, IID_IContinueCallback, IID_ICreateErrorInfo,
IID_IDataAdviseHolder, IID_IDataObject, IID_IEnumCATEGORYINFO,
IID_IEnumGUID, IID_IEnumOleDocumentViews, IID_IErrorInfo,
IID_IExternalConnection, IID_IFillLockBytes, IID_ILockBytes, IID_IMalloc,
IID_IMarshal, IID_IMessageFilter, IID_IMoniker, IID_IObjectSafety,
IID_IOleCommandTarget, IID_IOleDocument, IID_IOleDocumentSite,
IID_IOleDocumentView, IID_IPSFactoryBuffer, IID_IPersist,
IID_IPersistFile, IID_IPersistStorage, IID_IPersistStream, IID_IPrint,
IID_IProgressNotify, IID_IPropertySetStorage, IID_IPropertyStorage,
IID_IROTData, IID_IRootStorage, IID_IRpcChannelBuffer,
IID_IRpcProxyBuffer, IID_IRpcStubBuffer, IID_IRunnableObject,
IID_IRunningObjectTable, IID_ISequentialStream, IID_IStdMarshalInfo,
IID_IStorage, IID_IStream, IID_ISupportErrorInfo, IID_IWebBrowser,
IID_IWebBrowser2, IID_IWebBrowserApp): Remove. Moved to new files.
* lib/comcat-uuid.c: New file.
* lib/docobj-uuid.c: New File.
* lib/exdisp-uuid.c: New file.
* lib/mlang-uuid.c: New file.
* lib/oaidl-uuid.c: New file.
* lib/objidl-uuid.c: New file.
* lib/objsafe-uuid.c: New file.