OSDN Git Service
amodra [Thu, 13 Jul 2006 00:00:06 +0000 (00:00 +0000)]
daily update
fnf [Wed, 12 Jul 2006 21:37:21 +0000 (21:37 +0000)]
Patch reviewed and approved by Daniel Jacobowitz <drow@false.org>.
2006-07-12 Fred Fish <fnf@specifix.com>
* sim-endian.h (asm/byteorder.h): Don't include private kernel
header.
drow [Wed, 12 Jul 2006 21:14:57 +0000 (21:14 +0000)]
* dwarf2read.c (dwarf2_symbol_mark_computed): Handle corrupted
or missing location list information. Suggested by Jan
Kratochvil <lace@jankratochvil.net>.
drow [Wed, 12 Jul 2006 20:46:32 +0000 (20:46 +0000)]
* Makefile.in (arm_linux_tdep_h): New variable.
(arm-linux-nat.o, arm-linux-tdep.o): Update.
* arm-linux-nat.c: Include "arm-linux-tdep.h".
(typeNone, typeSingle, typeDouble, typeExtended)
(FPWORDS, ARM_CPSR_REGNUM, FPREG, FPA11)
(fetch_nwfpe_single, fetch_nwfpe_double, fetch_nwfpe_none)
(fetch_nwfpe_extended, fetch_nwfpe_register, store_nwfpe_single)
(store_nwfpe_double, store_nwfpe_extended, store_nwfpe_register):
Delete.
(fetch_fpregister, fetch_fpregs, store_fpregister, store_fpregs):
Use gdb_byte buffers, NWFPE_FPSR_OFFSET, supply_nwfpe_register,
and collect_nwfpe_register.
(fill_gregset, supply_gregset, fill_fpregset, supply_fpregset): Use
new regset functions.
* arm-linux-tdep.c: Include "regset.h" and "arm-linux-tdep.h".
(arm_apcs_32): New declaration.
(ARM_LINUX_SIZEOF_GREGSET, arm_linux_supply_gregset)
(arm_linux_collect_gregset, typeNone, typeSingle, typeDouble)
(typeExtended, supply_nwfpe_register, collect_nwfpe_register)
(arm_linux_supply_nwfpe, arm_linux_collect_nwfpe)
(arm_linux_regset_from_core_section): New.
(arm_linux_init_abi): Register arm_linux_regset_from_core_section.
* arm-linux-tdep.h: New file.
* arm-tdep.h (struct regset): Declare.
(struct gdbarch_tdep): Add gregset, fpregset members.
* config/arm/linux.mh (NATDEPFILES): Remove corelow.o and
core-regset.o.
* config/arm/linux.mt (TDEPFILES): Add corelow.o.
drow [Wed, 12 Jul 2006 20:43:51 +0000 (20:43 +0000)]
* infrun.c (handle_inferior_event): Fixed typos in printf.
corinna [Wed, 12 Jul 2006 20:15:00 +0000 (20:15 +0000)]
* mmap.cc (mmap_record::alloc_page_map): Don't call VirtualProtect
on maps created with MAP_NORESERVE.
drow [Wed, 12 Jul 2006 18:54:03 +0000 (18:54 +0000)]
* remote.c (REMOTE_ALIGN_WRITES): New.
(remote_write_bytes): Align large write packets. Remove unused
payload_start variable.
drow [Wed, 12 Jul 2006 18:50:17 +0000 (18:50 +0000)]
gdb/
* remote.c (PACKET_qXfer_auxv): New, renamed from PACKET_qPart_auxv.
(remote_supported_packet): Remove #if 0.
(remote_protocol_features): Add qPart:auxv:read.
(remote_unescape_input): New function.
(readchar): Don't mask off the high bit.
(read_frame): Use fputstrn_filtered for packet data.
(getpkt_sane): Return the number of bytes read or -1. Use
fputstrn_unfiltered.
(remote_read_qxfer): New.
(remote_xfer_partial): Use it for TARGET_OBJECT_AUXV.
(_initialize_remote): Update packet registration.
* defs.h (fputstrn_filtered): New prototype.
* utils.c (fputstrn_filtered): New.
* NEWS: Mention qXfer.
gdb/doc/
* gdb.texinfo (OS Information): Update qPart reference to
qXfer.
(Remote configuration): Likewise.
(Overview): Move @cindex to the start of a paragraph. Talk
about binary data encoding.
(Packets): Refer to the overview for the details of the X
packet encoding.
(General Query Packets): Remove qPart description. Add qXfer
description. Add an anchor to qSupported. Correct feature
table title. Add a new feature for qXfer:auxv:read.
(Interrupts): Add a missing parenthesis.
gdb/gdbserver/
* server.c (decode_xfer_read, write_qxfer_response): New.
(handle_query): Take a packet length argument. Handle
qXfer:auxv:read instead of qPart:auxv:read. Mention it in
the qSupported response.
(main): Update call to handle_query.
drow [Wed, 12 Jul 2006 18:13:45 +0000 (18:13 +0000)]
* target.c (target_read): Stop if target_read_partial returns 0
when some bytes have already been read.
(target_write): Likewise for target_write_partial.
(target_read_partial, target_write_partial): Make static.
(target_read_alloc): New.
* target.h: Doc fixes.
(target_read_partial, target_write_partial): Delete prototypes.
(target_read_alloc): New prototype.
* auxv.c (target_auxv_read): Delete.
(target_auxv_search, fprint_target_auxv): Use target_read_alloc.
* auxv.h (target_auxv_read): Delete prototype.
* avr-tdep.c (avr_io_reg_read_command): Use target_read_alloc.
* ia64-tdep.c (getunwind_table, get_kernel_table): Likewise.
* linux-nat.c (linux_nat_make_corefile_notes): Likewise.
* procfs.c (procfs_make_note_section): Likewise.
* remote.c (remote_xfer_partial): Don't loop here.
* sparc-tdep.c (sparc_fetch_wcookie): Use target_read.
drow [Wed, 12 Jul 2006 18:05:49 +0000 (18:05 +0000)]
* arm-linux-tdep.c: Doc fixes.
(ARM_SIGCONTEXT_R0, ARM_UCONTEXT_SIGCONTEXT)
(ARM_OLD_RT_SIGFRAME_SIGINFO, ARM_OLD_RT_SIGFRAME_UCONTEXT)
(ARM_NEW_RT_SIGFRAME_UCONTEXT, ARM_NEW_SIGFRAME_MAGIC): New
constants.
(arm_linux_sigreturn_init, arm_linux_rt_sigreturn_init): Support
the new signal frame layouts.
drow [Wed, 12 Jul 2006 18:04:30 +0000 (18:04 +0000)]
* Makefile.in (init.c) [LANG, LC_ALL]: Set to `c'.
* gdb_indent.sh, gdb_mbuild.sh, observer.sh: Likewise.
* gdbarch.sh: Correct comment.
drow [Wed, 12 Jul 2006 17:37:24 +0000 (17:37 +0000)]
* MAINTAINERS: Add Alfred Szmidt for the Hurd.
hjl [Wed, 12 Jul 2006 15:45:32 +0000 (15:45 +0000)]
bfd/
2006-07-12 H.J. Lu <hongjiu.lu@intel.com>
PR ld/2884
* elflink.c (_bfd_elf_merge_symbol): Copy the symbol info from
the old versioned dynamic definition to the new one with
non-default visibility. Hide the symbol if it is hidden or
internal.
ld/testsuite/
2006-07-12 H.J. Lu <hongjiu.lu@intel.com>
PR ld/2884
* ld-elf/begin.c: New file.
* ld-elf/end.c: Likewise.
* ld-elf/endhidden.c: Likewise.
* ld-elf/endprotected.c: Likewise.
* ld-elf/foo.c: Likewise.
* ld-elf/foo.map: Likewise.
* ld-elf/hidden.out: Likewise.
* ld-elf/main.c: Likewise.
* ld-elf/normal.out: Likewise.
* ld-elf/shared.exp: Likewise.
* lib/ld-lib.exp (run_cc_link_tests): New.
rsandifo [Wed, 12 Jul 2006 12:46:59 +0000 (12:46 +0000)]
bfd/
2006-07-12 Matthew R. Dempsky <mrd@alkemio.org>
* cpu-m68k.c (bfd_m68k_compatible): Handle CPU32.
ld/testsuite/
2006-07-12 Richard Sandiford <richard@codesourcery.com>
* ld-m68k/merge-ok-1c.d: New test.
* ld-m68k/m68k.exp: Run it.
corinna [Wed, 12 Jul 2006 09:55:46 +0000 (09:55 +0000)]
* include/pthread.h: Define PTHREAD_PRIO_NONE, PTHREAD_PRIO_INHERIT and
PTHREAD_PRIO_PROTECT only if _POSIX_THREAD_PRIO_INHERIT is defined.
nickc [Wed, 12 Jul 2006 09:08:34 +0000 (09:08 +0000)]
Fix grammatical error in ChangeLog entry
nickc [Wed, 12 Jul 2006 09:02:00 +0000 (09:02 +0000)]
* config/tc-sh.c (md_apply_fix): Do not allow the generic code in
fixup_segment() to repeat a range check on a value that have already
been checked here.
* gas/sh/basic.exp: Run "too_large" dump test.
* gas/sh/too_large.s: New test file. Check that .byte directives do not
generate a bogus overflow message.
* gas/sh/too_large.s: New test control file.
amodra [Wed, 12 Jul 2006 00:00:11 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 12 Jul 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
hp [Tue, 11 Jul 2006 21:47:41 +0000 (21:47 +0000)]
* ld-cris/libdso-2.d: Adjust for recent hash-related changes.
kettenis [Tue, 11 Jul 2006 20:44:53 +0000 (20:44 +0000)]
* alpha-tdep.h (ALPHA_INSN_SIZE): New define.
fche [Tue, 11 Jul 2006 18:21:32 +0000 (18:21 +0000)]
2006-07-11 Thiemo Seufer <ths@networkno.de>
* cpu/sid-x86-cpu-wrapper.* (get_pc): Implement function.
amodra [Tue, 11 Jul 2006 00:00:09 +0000 (00:00 +0000)]
daily update
gdbadmin [Tue, 11 Jul 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
jakub [Mon, 10 Jul 2006 21:40:22 +0000 (21:40 +0000)]
include/
* bfdlink.h (struct bfd_link_info): Add emit_hash and
emit_gnu_hash bitfields.
include/elf/
* common.h (SHT_GNU_HASH, DT_GNU_HASH): Define.
ld/
* scripttempl/elf.sc: Add .gnu.hash section.
* emultempl/elf32.em (OPTION_HASH_STYLE): Define.
(gld${EMULATION_NAME}_add_options): Register --hash-style option.
(gld${EMULATION_NAME}_handle_option): Handle it.
(gld${EMULATION_NAME}_list_options): Document it.
* ldmain.c (main): Initialize emit_hash and emit_gnu_hash.
* ld.texinfo: Document --hash-style option.
bfd/
* elf.c (_bfd_elf_print_private_bfd_data): Handle DT_GNU_HASH.
(bfd_section_from_shdr, elf_fake_sections, assign_section_numbers):
Handle SHT_GNU_HASH.
(special_sections_g): Include .gnu.hash section.
(bfd_elf_gnu_hash): New function.
* elf-bfd.h (bfd_elf_gnu_hash, _bfd_elf_hash_symbol): New prototypes.
(struct elf_backend_data): Add elf_hash_symbol method.
* elflink.c (_bfd_elf_link_create_dynamic_sections): Create .hash
only if info->emit_hash, create .gnu.hash section if
info->emit_gnu_hash.
(struct collect_gnu_hash_codes): New type.
(elf_collect_gnu_hash_codes, elf_renumber_gnu_hash_syms,
_bfd_elf_hash_symbol): New functions.
(compute_bucket_count): Don't compute HASHCODES array, instead add
that and NSYMS as arguments. Use bed->s->sizeof_hash_entry
instead of bed->s->arch_size / 8. Fix .hash size estimation.
When not optimizing, use the number of hashed symbols rather than
dynsymcount.
(bfd_elf_size_dynamic_sections): Only add DT_HASH if info->emit_hash,
and ADD DT_GNU_HASH if info->emit_gnu_hash.
(bfd_elf_size_dynsym_hash_dynstr): Size .hash only if info->emit_hash,
adjust compute_bucket_count caller. Create and populate .gnu.hash
section if info->emit_gnu_hash.
(elf_link_output_extsym): Only populate .hash section if
finfo->hash_sec != NULL.
(bfd_elf_final_link): Adjust assertion. Handle DT_GNU_HASH.
* elfxx-target.h (elf_backend_hash_symbol): Define if not yet defined.
(elfNN_bed): Add elf_backend_hash_symbol.
* elf64-x86-64.c (elf64_x86_64_hash_symbol): New function.
(elf_backend_hash_symbol): Define.
* elf32-i386.c (elf_i386_hash_symbol): New function.
(elf_backend_hash_symbol): Define.
binutils/
* readelf.c (get_dynamic_type): Handle DT_GNU_HASH.
(get_section_type_name): Handle SHT_GNU_HASH.
(dynamic_info_DT_GNU_HASH): New variable.
(process_dynamic_section): Handle DT_GNU_HASH.
(process_symbol_table): Print also DT_GNU_HASH histogram.
ld/testsuite/
* ld-powerpc/tlsso32.r: Adjust.
* ld-powerpc/tlsso32.d: Adjust.
* ld-powerpc/tlsso32.g: Adjust.
* ld-powerpc/tlsso.r: Adjust.
* ld-powerpc/tlsso.g: Adjust.
* ld-powerpc/tlstocso.g: Adjust.
kettenis [Mon, 10 Jul 2006 19:40:27 +0000 (19:40 +0000)]
* alphaobsd-tdep.c: New file.
* alphanbsd-tdep.c (_initialize_alphanbsd_tdep): Do not register a
handler for GDB_OSABI_OPENBSD_ELF.
* Makefile.in (ALLDEPFILES): Add alphaobsd-tdep.c.
(alphaobsd-tdep.o): New target.
* config/alpha/obsd.mt: New file.
* configure.tgt (alpha*-*-openbsd*): Set gdb_target to obsd.
rth [Mon, 10 Jul 2006 15:27:59 +0000 (15:27 +0000)]
* alpha-tdep.h (struct gdbarch_tdep): Add return_in_memory.
* alpha-tdep.c (alpha_register_byte): Remove.
(alpha_extract_struct_value_address): Remove.
(alpha_return_value): New.
(alpha_return_in_memory_always): New.
(alpha_gdbarch_init): Set tdep->return_in_memory. Don't call
set_gdbarch_deprecated_register_byte. Do call set_gdbarch_return_value
instead of set_gdbarch_deprecated_use_struct_convention,
set_gdbarch_extract_return_value, set_gdbarch_store_return_value,
or set_gdbarch_deprecated_extract_struct_value_address.
* alphafbsd-tdep.c (alphafbsd_return_in_memory): Rename from
alphafbsd_use_struct_convention, remove gcc_p argument.
(alphafbsd_init_abi): Set tdep->return_in_memory instead of
set_gdbarch_deprecated_use_struct_convention.
nickc [Mon, 10 Jul 2006 14:30:41 +0000 (14:30 +0000)]
* po/zh_TW.po: New Chinese (traditional) translation.
* configure.in (ALL_LINGUAS): Add zh_TW.
* configure: Regenerate.
corinna [Mon, 10 Jul 2006 08:15:53 +0000 (08:15 +0000)]
* libc/inet_addr.c: Define __INSIDE_CYGWIN_NET__.
* libc/inet_network.c: Ditto.
amodra [Mon, 10 Jul 2006 00:00:08 +0000 (00:00 +0000)]
daily update
gdbadmin [Mon, 10 Jul 2006 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
kettenis [Sun, 9 Jul 2006 22:01:59 +0000 (22:01 +0000)]
* alphabsd-tdep.h (alphanbsd_regset_from_core_section): New
prototype.
* alphanbsd-tdep.c (alphanbsd_regset_from_core_section): Handle
a.out-style core file format here. Make global.
(alphanbsd_regset_from_core_section): Remove.
(alphanbsd_sigtramp_offset): Make static.
(alphanbsd_aout_init_abi): Remove.
(alphanbsd_core_osabi_sniffer): Return GDB_OSABI_NETBSD_ELF for
a.out style core files.
(_initialize_alphanbsd_tdep): Do not register a handler for
GDB_OSABI_NETBSD_AOUT.
kettenis [Sun, 9 Jul 2006 16:12:30 +0000 (16:12 +0000)]
Fix typo.
kettenis [Sun, 9 Jul 2006 16:12:11 +0000 (16:12 +0000)]
* alphabsd-tdep.h: Tweak comments.
(SIZOEF_STRUCT_REG, SIZEOF_STRUCT_FPREG): Remove.
* alphanbsd-tdep.c: Reorder includes. Include "regset.h".
(ALPHANBSD_SIZEOF_GREGS, ALPHANBSD_SIZEOF_FPREGS): New defines.
(alphanbsd_supply_fpregset, alphanbsd_supply_gregset)
(alphanbsd_aout_supply_gregset): New functions.
(alphanbsd_gregset, alphanbsd_fpregset, alphanbsd_aout_gregset):
New variables.
(alphanbsd_regset_from_core_section)
(alphanbsd_aout_regset_from_core_section): New functions.
(fetch_core_registers, fetch_elfcore_registers): Remove functions.
(alphanbsd_core_fns, alphanbsd_elf_fns): Remove variables.
(alphanbsd_init_abi): Set regset_from_core_section.
(alphanbsd_aout_init_abi, alphanbsd_core_osabi_sniffer): New
functions.
(_initialize_alphanbsd_tdep): Register NetBSD core file sniffer.
Use alphanbsd_aout_init_abi whre appropriate. Don't call
deprecated_add_core_fns.
* Makefile.in (alphanbsd-tdep.o): Update dependencies.
kettenis [Sun, 9 Jul 2006 09:24:39 +0000 (09:24 +0000)]
* alphabsd-tdep.c (alphabsd_supply_reg, alphabsd_fill_reg)
(alphabsd_supply_fpreg, alphabsd_fill_fpreg): Add missing spaces.
kettenis [Sun, 9 Jul 2006 09:21:19 +0000 (09:21 +0000)]
* alphanbsd-tdep.c (alphanbsd_init_abi): Use
svr4_lp64_fetch_link_map_offsets instead of
nbsd_lp64_solib_svr4_fetch_link_map_offsets.
amodra [Sun, 9 Jul 2006 00:00:43 +0000 (00:00 +0000)]
daily update
gdbadmin [Sun, 9 Jul 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
kettenis [Sat, 8 Jul 2006 21:43:00 +0000 (21:43 +0000)]
Wrap long line.
gdbadmin [Sat, 8 Jul 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sat, 8 Jul 2006 00:00:06 +0000 (00:00 +0000)]
daily update
wilson [Fri, 7 Jul 2006 23:17:55 +0000 (23:17 +0000)]
Add Broadcom SB-1A support.
* config/tc-mips.c (mips_cpu_info_table): Add sb1a.
kettenis [Fri, 7 Jul 2006 23:10:42 +0000 (23:10 +0000)]
* gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
spaces/tabs in regular expressions since they might not be there.
corinna [Fri, 7 Jul 2006 15:44:19 +0000 (15:44 +0000)]
* fhandler_socket.cc (fhandler_socket::wait): Disable SA_RESTART
handling for now.
ams [Fri, 7 Jul 2006 12:53:47 +0000 (12:53 +0000)]
2006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
* gdb.base/ifelse.exp: New file.
nickc [Fri, 7 Jul 2006 11:18:51 +0000 (11:18 +0000)]
PR ld/2874
* ld.texinfo: Remove "Using LD" from the title since it is redundant.
corinna [Fri, 7 Jul 2006 09:14:13 +0000 (09:14 +0000)]
* Makefile.in (DLL_OFILES): Add inet_addr.o and inet_network.o.
* autoload.cc (inet_addr): Drop definition.
(inet_ntoa): Ditto.
* net.cc: Forward declare cygwin_inet_aton and cygwin_inet_ntop.
(cygwin_inet_ntoa): Call cygwin_inet_ntop instead of Winsock inet_ntoa.
(cygwin_inet_addr): Remove here.
(cygwin_inet_aton): Ditto.
(cygwin_inet_network): Ditto.
* libc/inet_addr.c: New file implementing cygwin_inet_aton and
cygwin_inet_addr.
* libc/inet_network.c: New file implementing cygwin_inet_network.
gdbadmin [Fri, 7 Jul 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Fri, 7 Jul 2006 00:00:10 +0000 (00:00 +0000)]
daily update
cgf [Thu, 6 Jul 2006 17:16:36 +0000 (17:16 +0000)]
* hookapi.cc: Add comment header
(putmem): Make static.
(get_export): Ditto.
(rvadelta): Ditto. Don't assume that a section which ends where the import_rva
begins is the import list.
* child_info.h: Update copyright.
* fork.cc: Ditto.
ams [Thu, 6 Jul 2006 14:00:48 +0000 (14:00 +0000)]
2006-07-06 Andrew Stubbs <andrew.stubbs@st.com>
* parse.c (write_exp_elt_opcode, write_exp_elt_sym, write_exp_elt_block
write_exp_elt_longcst, write_exp_elt_dblcst, write_exp_elt_type,
write_exp_elt_intern): Zero initialize tmp.
nickc [Thu, 6 Jul 2006 10:46:46 +0000 (10:46 +0000)]
PR ld/2877
* ld.texinfo: Fix spelling mistakes.
nickc [Thu, 6 Jul 2006 10:34:02 +0000 (10:34 +0000)]
PR binutils/2877
* doc/as.texi: Fix spelling typo: branchs => branches.
* doc/c-m68hc11.texi: Likewise.
* config/tc-m68hc11.c: Likewise.
Support old spelling of command line switch for backwards compatibility.
nickc [Thu, 6 Jul 2006 10:04:09 +0000 (10:04 +0000)]
2006-07-06 Mohammed Adnène Trojette <adn@diwi.org>
PR binutils/2875
* doc/binutils.texi (readelf): Fix spelling typo.
nickc [Thu, 6 Jul 2006 09:49:55 +0000 (09:49 +0000)]
PR binutils/2879
* doc/binutils.texi: Document -T shorthand for --target switch.
* strings.c: Update comment to include -T option.
dannysmith [Thu, 6 Jul 2006 07:36:58 +0000 (07:36 +0000)]
* include/math.h (__INFF,__INFL): Remove '#'.
amodra [Thu, 6 Jul 2006 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Thu, 6 Jul 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
drow [Wed, 5 Jul 2006 19:03:46 +0000 (19:03 +0000)]
gdb/
* remote.c (remote_xfer_partial): Remove KOD support.
* target.h (enum target_object): Remove TARGET_OBJECT_KOD.
* MAINTAINERS: Move Kernel Object Display entry to past maintainers.
* Makefile.in (SFILES, kod_h, COMMON_OBS, kod.o, kod-cisco.o): Remove KOD
support.
* mi/mi-cmds.c (mi_cmds): Remove dummy KOD commands.
* NEWS: Mention KOD.
* kod.h, kod.c, kod-cisco.c: Delete files.
gdb/doc/
* doc/gdb.texinfo (KOD): Remove node.
(GDB/MI Kod Commands): Remove commented out node.
jules [Wed, 5 Jul 2006 17:08:47 +0000 (17:08 +0000)]
* arm-dis.c (coprocessor): Alter fmsrr disassembly syntax.
jules [Wed, 5 Jul 2006 17:08:08 +0000 (17:08 +0000)]
* gas/arm/vfp-neon-syntax.d: Tweak expected fmsrr syntax.
* gas/arm/vfp-neon-syntax_t2.d: Likewise.
* gas/arm/vfp2.d: Likewise.
* gas/arm/vfp2_t2.d: Likewise.
jjohnstn [Wed, 5 Jul 2006 16:18:30 +0000 (16:18 +0000)]
2006-07-05 Jeff Johnston <jjohnstn@redhat.com>
* libc/stdlib/mprec.h [_DOUBLE_IS_32BITS]: Turn off C99 hex
floating-point format support. Also redefine
dword0 and dword1 macros.
* libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
to prevent setting dword1 which is an rvalue only.
cgf [Wed, 5 Jul 2006 16:06:50 +0000 (16:06 +0000)]
* sortdin: Ignore all leading underscores when deriving a sort key.
* cygwin.din: Resort.
ths [Wed, 5 Jul 2006 16:01:38 +0000 (16:01 +0000)]
* ld-mips-elf/multi-got-1.d, ld-mips-elf/tls-multi-got-1.got,
ld-mips-elf/tls-multi-got-1.r: Update multigot testcases.
cgf [Wed, 5 Jul 2006 15:59:39 +0000 (15:59 +0000)]
* sortdin: New program.
* cygwin.din: Sort.
corinna [Wed, 5 Jul 2006 15:39:08 +0000 (15:39 +0000)]
* fhandler.h (fhandler_socket::wait): Reset default timeout to 10ms.
sjackman [Wed, 5 Jul 2006 15:24:30 +0000 (15:24 +0000)]
2006-07-05 Shaun Jackman <sjackman@gmail.com>
* arm/linux-crt0.S: Remove file.
* arm/linux-crt0.c: New file. Supports PIC code.
nickc [Wed, 5 Jul 2006 10:21:39 +0000 (10:21 +0000)]
PR ld/2659
* cofflink.c (_bfd_coff_link_input_bfd): Fix selection of aux entry when
multiple definitions of a symbol are encountered.
corinna [Wed, 5 Jul 2006 08:35:51 +0000 (08:35 +0000)]
* path.cc (path_conv::check): Ignore has_ea setting, it's always unset
at this point anyway.
(get_symlink_ea): Remove.
(set_symlink_ea): Remove.
(symlink_worker): Drop writing symlink into NTFS extended attributes.
(symlink_info::check): Drop reading symlinks from NTFS extended
attributes.
cgf [Wed, 5 Jul 2006 00:14:41 +0000 (00:14 +0000)]
* libc/rexec.cc (cygwin_rexec): Obvious (?) fix to correct a gcc warning - set
port to zero first thing in the function.
amodra [Wed, 5 Jul 2006 00:00:10 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 5 Jul 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
sjackman [Tue, 4 Jul 2006 23:58:02 +0000 (23:58 +0000)]
2006-07-04 Shaun Jackman <sjackman@gmail.com>
* arm/linux-syscalls0.S (ftruncate, getegid, geteuid, getgid,
getgroups, getpgid, getpgrp, getuid, lchown, pause, pipe,
setpgid, setgid, setsid, setuid, sigprocmask, sync, uname): New
system call.
cgf [Tue, 4 Jul 2006 23:57:43 +0000 (23:57 +0000)]
* signal.cc (signal): Set sa_mask to sig.
aoliva [Tue, 4 Jul 2006 20:31:03 +0000 (20:31 +0000)]
ChangeLog:
* ltconfig: chmod 644 before ranlib during install.
libiberty/ChangeLog:
* Makefile.in: chmod 644 before ranlib during install.
corinna [Tue, 4 Jul 2006 20:24:26 +0000 (20:24 +0000)]
* Makefile.in (DLL_OFILES): Add rexec.o.
* autoload.cc (inet_network): Drop definition.
(rexec): Ditto.
* net.cc (rexec): Drop extern declaration.
(inet_network): Ditto.
(cygwin_inet_network): Implement using inet_addr.
(cygwin_rexec): Remove.
* libc/rexec.cc: New file.
corinna [Tue, 4 Jul 2006 20:10:43 +0000 (20:10 +0000)]
* fhandler_socket.cc (fhandler_socket::listen): Allow listening on
unbound INET socket.
ths [Tue, 4 Jul 2006 17:22:10 +0000 (17:22 +0000)]
* config/tc-mips.c (s_is_linkonce): New function.
(mips16_mark_labels): Don't adjust mips16 symbol addresses for
weak, external, and linkonce symbols.
(pic_need_relax): Use s_is_linkonce.
ths [Tue, 4 Jul 2006 16:39:08 +0000 (16:39 +0000)]
* gas/mips/e32-rel2.d, gas/mips/e32-rel4.d: Use -mabi=32 for as.
* gas/mips/mips.exp: Move mips16e testcase to ELF only tests.
Run elf{el}-rel2 and elf-rel4 for all arches with gpr64. Run
e32-rel2 and e32-rel4 also for 64 bit configurations.
drow [Tue, 4 Jul 2006 13:31:31 +0000 (13:31 +0000)]
* remote.c (init_remote_state): Use xrealloc instead of xmalloc.
nathan [Tue, 4 Jul 2006 09:40:28 +0000 (09:40 +0000)]
* gdb.base/huge.c: Allow CRASH_GDB to be set from command
line.
* gdb.base/huge.exp: Loop over compilation to find a size that
is acceptable.
* gdb.base/remote.exp: Correct expected strings.
* gdb.dwarf2/mac-fileno.S: Avoid # comments.
corinna [Tue, 4 Jul 2006 09:26:49 +0000 (09:26 +0000)]
* fhandler.h (fhandler_socket::wait): Set default timeout to INFINITE.
amodra [Tue, 4 Jul 2006 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Tue, 4 Jul 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
dannysmith [Mon, 3 Jul 2006 20:51:57 +0000 (20:51 +0000)]
* mingwex/Makefile.in: Add -I$(srcdir)/.. to INCLUDES.
corinna [Mon, 3 Jul 2006 18:30:08 +0000 (18:30 +0000)]
* autoload.cc (NtQueryEaFile): Define.
(NtSetEaFile): Define.
* fhandler.cc (fhandler_base::open): Use appropriate open flags
in query case when allow_ntea is set.
* ntdll.h (struct _FILE_GET_EA_INFORMATION): Define.
(struct _FILE_FULL_EA_INFORMATION): Define.
(NtQueryEaFile): Declare.
(NtSetEaFile): Declare.
* ntea.cc (read_ea): Rename from NTReadEA and rewrite using
NtQueryEaFile.
(write_ea): Rename from NTWriteEA and rewrite using NtSetEaFile.
* path.cc (get_symlink_ea): Make static. Add handle parameter to
accomodate new read_ea call.
(set_symlink_ea): Make static. Add handle parameter to accomodate new
write_ea call.
(symlink_worker): Call set_symlink_ea while file is still open.
(symlink_info::check): Call get_symlink_ea after file has been opened.
* security.cc (get_file_attribute): Accomodate new read_ea call.
(set_file_attribute): Accomodate new write_ea call.
* security.h (read_ea): Change declaration accordingly.
(write_ea): Ditto.
nathanw [Mon, 3 Jul 2006 17:26:16 +0000 (17:26 +0000)]
2006-07-03 Nathan J. Williams <nathanw@wasabisystems.com>
* bsd-kvm.c (bsd_kvm_open): Open the KVM interface read-write if
write_files is set.
corinna [Mon, 3 Jul 2006 16:00:58 +0000 (16:00 +0000)]
* Makefile.in: Build setmetamode.exe.
* setmetamode.c: New file.
corinna [Mon, 3 Jul 2006 15:29:10 +0000 (15:29 +0000)]
* fhandler.h (class dev_console): Add `metabit' indicating the
current meta key mode.
* fhandler_console.cc (fhandler_console::read): Set the top bit of
the character if metabit is true.
* fhandler_console.cc (fhandler_console::ioctl): Implement
KDGKBMETA and KDSKBMETA commands.
* fhandler_tty.cc (process_ioctl): Support KDSKBMETA.
(fhandler_tty_slave::ioctl): Send KDGKBMETA and KDSKBMETA to the
master.
* include/cygwin/kd.h: New file for the meta key mode.
* include/sys/kd.h: New file.
corinna [Mon, 3 Jul 2006 12:30:02 +0000 (12:30 +0000)]
* include/stdint.h (UINT8_C, UINT16_C): Unsigned types smaller
than int promote to signed int.
corinna [Mon, 3 Jul 2006 11:31:56 +0000 (11:31 +0000)]
* net.cc (cygwin_sendto): Define appropriate parameters using
socklen_t type according to SUSv3.
(cygwin_recvfrom): Ditto.
(cygwin_setsockopt): Ditto.
(cygwin_getsockopt): Ditto.
(cygwin_connect): Ditto.
(cygwin_accept): Ditto.
(cygwin_bind): Ditto.
(cygwin_getsockname): Ditto.
(cygwin_getpeername): Ditto.
(cygwin_recv): Ditto.
(cygwin_send): Ditto.
* include/cygwin/socket.h (socklen_t): Typedef and define.
* include/sys/socket.h: Declare socket functions using socklen_t type.
bonzini [Mon, 3 Jul 2006 11:22:03 +0000 (11:22 +0000)]
2006-07-03 Paolo Bonzini <bonzini@gnu.org>
* configure.in: Fix thinkos in previous check-in.
* configure: Regenerate.
dannysmith [Mon, 3 Jul 2006 10:49:42 +0000 (10:49 +0000)]
Add a real Changelog entry.
dannysmith [Mon, 3 Jul 2006 10:32:58 +0000 (10:32 +0000)]
Support SSE float environment in fenv.h functions.
* cpu_features.c: New file.
* cpu_features.h: New file.
* crt1.c: Include "cpu_features.h".
(__mingw_CRTStartup): Call cpu_features_init().
* Makefile.in (MING_OBJS): Add cpu_features.c.
(SRCDIST_FILES): Add cpu_features.c, cpu_features.h.
* include/fenv,h ( fenv_t;): Append __mxcsr field.
(__MXCSR_EXCEPT_FLAG_SHIFT): New define.
(__MXCSR_EXCEPT_MASK_SHIFT): New define.
(__MXCSR_ROUND_FLAG_SHIFT): New define.
* mingwex/feclearexcept.c: Include "cpu_features.h".
Handle SSE environment.
* mingwex/fegetenv.c: Likewise.
* mingwex/feholdexcept.c: Likewise.
* mingwex/fesetenv.c: Likewise.
* mingwex/fesetexceptflag.c: Likewise.
* mingwex/fesetround.c: Likewise.
* mingwex/fetestexcept.c: Likewise.
* mingwex/feupdateenv.c: Likewise.
* mingwex/fegetround.c: Add comment.
bonzini [Mon, 3 Jul 2006 09:26:24 +0000 (09:26 +0000)]
2006-07-03 Paolo Bonzini <bonzini@gnu.org>
* configure.in: Fix thinko in previous check-in.
* configure: Regenerate.
bonzini [Mon, 3 Jul 2006 07:58:12 +0000 (07:58 +0000)]
2006-07-03 Paolo Bonzini <bonzini@gnu.org>
Sync from gcc:
2007-07-03 Paolo Bonzini <bonzini@gnu.org>
PR other/27063
* configure.in: Test subdir_requires and give an appropriate
error message.
* configure: Regenerate.
2006-06-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
PR target/27540
* configure.in: Only enable libgomp on IRIX 6.
* configure: Regenerate.
amodra [Mon, 3 Jul 2006 00:00:09 +0000 (00:00 +0000)]
daily update
gdbadmin [Mon, 3 Jul 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
cgf [Sun, 2 Jul 2006 16:22:59 +0000 (16:22 +0000)]
* include/cygwin/version.h: Bump DLL minor version number to 21.
gdbadmin [Sun, 2 Jul 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***