summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * libc/stdio/open_memstream.c: Add open_wmemstream to doumentation.Corinna Vinschen2009-02-183-26/+123
| | | | | | | | | | | | | | | | | (struct memstream): Add wide element. Change saved to a union to take char and wchar_t values. (memwriter): Accommodate wide-oriented oeprations. (memseeker): Ditto. (memseeker64): Ditto. (memcloser): Ditto. (internal_open_memstream_r): New static function. Take functionality from former _open_memstream_r and handle additional "wide" parameter. (_open_memstream_r): Just call internal_open_memstream_r with wide==-1 from here. (_open_wmemstream_r): New function. (open_wmemstream): Ditto. * libc/include/wchar.h (open_wmemstream): Declare. (_open_wmemstream_r): Declare.
* * cygwin.din: Export reallocf.Corinna Vinschen2009-02-166-2/+23
| | | | | | | * malloc_wrapper.cc( reallocf): New function. * posix.sgml: Add reallocf to BSD section. * include/cygwin/version.h: Bump API minor number. * libc/fts.c: Remove erroneous reallocf definition.
* * cygwin.din: Export wcstoimax, wcstoumax.Corinna Vinschen2009-02-165-8/+17
| | | | | | * posix.sgml: Move wcstoimax and wcstoumax to SUSv4 section. * include/inttypes.h: Declare wcstoimax and wcstoumax. * include/cygwin/version.h: Bump API minor number.
* * libc/stdio/fputwc.c: Fix typo in man page info.Corinna Vinschen2009-02-162-2/+6
|
* * faq-using.xml: Fix usage of ampersand in NT emacs script.Corinna Vinschen2009-02-142-1/+5
|
* * faq-using.xml: Expand Emacs entries.Corinna Vinschen2009-02-142-25/+91
|
* * overview.sgml: Fix 1.7 release date.Corinna Vinschen2009-02-133-2/+6
|
* * cygwin.din: Export wcsnlen.Corinna Vinschen2009-02-134-2/+10
| | | | | * posix.sgml: Move wcsnlen to SUSv4 section. * include/cygwin/version.h: Bump API minor number.
* * environ.cc (_getenv_r): New function.Corinna Vinschen2009-02-132-0/+13
|
* * posix.sgml: Move dirfd to SUSv4 section.Corinna Vinschen2009-02-132-1/+5
|
* * cygwin-api.in.sgml: Fix API section layout.Corinna Vinschen2009-02-132-2/+5
|
* * posix.sgml: Move interfaces deprecated in SUSv4 to deprecatedCorinna Vinschen2009-02-132-46/+101
| | | | | | interfaces section. Move interfaces added in SUSv4 to SUSv4 section or, if unimplemented, add them to the unimplemented interfaces section.
* * posix.sgml: Merge SUSv3 and SUSv4 section into a single SUSv4 section.Corinna Vinschen2009-02-132-29/+32
| | | | | | Move Solaris calls now in SUSv4 to SUSv4 section. Rename unimplemented section to refer to SUSv4. Add note about missing interfaces. Move wcstod and wcstof from unimplemented to SUSv4 section.
* * pathnames.sgml: Add a cygdrive section.Corinna Vinschen2009-02-132-15/+60
|
* * mount.cc (mount_info::from_fstab_line): Make cygdrive posix=0 byCorinna Vinschen2009-02-132-0/+7
| | | | default as documented.
* * pathnames.sgml: Replace "binmode" with new "binary" output of mount.Corinna Vinschen2009-02-132-6/+10
|
* * cygwin.din: Export wcstod and wcstof.Corinna Vinschen2009-02-133-1/+9
| | | | * include/cygwin/version.h: Bump API minor number.
* 2009-02-12 Corinna Vinschen <corinna@vinschen.de>Jeff Johnston2009-02-126-7/+245
| | | | | | | | | | | | * libc/include/wchar.h (_wcstod_r): Declare. (_wcstof_r): Declare. (wcstod): Declare. (wcstof): Declare. * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add wcstod.c. (CHEWOUT_FILES): Add wcstod.def. * libc/stdlib/Makefile.in: Regenerate. * libc/stdlib/stdlib.tex: Add wcstod. * libc/stdlib/wcstod.c: New file.
* * faq-using.xml: First cut on Emacs.Corinna Vinschen2009-02-122-9/+11
|
* * faq-setup.xml: Revamp for Cygwin 1.7.Corinna Vinschen2009-02-123-279/+164
| | | | * faq-using.xml: Ditto.
* * faq-programming.xml: Revamp (mostely) for Cygwin 1.7.Corinna Vinschen2009-02-113-141/+104
| | | | * faq-what.xml: Ditto.
* * Makefile.in (FAQ_SOURCES): Define FAQ sources.Corinna Vinschen2009-02-116-187/+122
| | | | | | | | | (faq/faq.html): Depend on FAQ sources. (faq/faq-nochunks.html): Ditto. * faq-api.xml: Revamp for Cygwin 1.7. * faq-problems.xml: Remove. * faq-sections.xml: Accommodate removal of faq-problems.xml. * faq.xml: Ditto.
* * syscalls.cc (open): Handle O_DIRECTORY flag.Corinna Vinschen2009-02-114-2/+20
| | | | | * include/fcntl.h: Add SUSv4 flags O_DIRECTORY, O_EXEC and O_SEARCH. * include/cygwin/version.h: Bump API minor number.
* * fhandler_floppy.cc (fhandler_dev_floppy::open): Fix format. AddCorinna Vinschen2009-02-093-6/+50
| | | | | | | | | code to allow to read disk and CD/DVD devices in full length. Explain why. (fhandler_dev_floppy::raw_read): Add current position to debug output. * include/sys/sched.h: New stub file to override newlib file with clashing definitions.
* * include/winioctl.h (FSCTL_ALLOW_EXTENDED_DASD_IO): Copy definitionCorinna Vinschen2009-02-092-0/+6
| | | | from ddk/ntifs.h.
* MinGW-Feature-Request [2222263]: Make getopt() GNU / BSD compatibile.Keith Marshall2009-02-082-6/+39
|
* 2009-02-06 Linton Miller <Linton.Miller@trivininc.com>Chris Sutcliffe2009-02-072-1/+5
| | | | * include/wtsapi32.h (WTS_CURRENT_SESSION): Fix definition.
* * i386.h: Add comment regarding sse* insns and prefixes.Doug Evans2009-02-062-0/+9
|
* 2009-02-05 Neal H. Walfield <neal@gnu.org>Jeff Johnston2009-02-052-8/+12
| | | | * libc/machine/x86_64/memcpy.S (memcpy): Don't use the red zone.
* * cygwin.din: Export wcstok.Corinna Vinschen2009-02-054-2/+10
| | | | | * posix.sgml: Move wcstok from unimplemented to susv3. * include/cygwin/version.h: Bump API minor number.
* * Makefile.tpl (stage_last): Define $r and $s before usingAndreas Schwab2009-02-053-4/+14
| | | | | $(RECURSE_FLAGS_TO_PASS). * Makefile.in: Regenerate
* * fhandler_proc.cc (proc_tab): Add entry for mounts symlink.Corinna Vinschen2009-02-043-0/+82
| | | | | | (format_proc_mounts): New function to implement mounts symlink. * fhandler_process.cc (process_tab): Add entry for mounts file. (format_process_mounts): New function to implement mounts file.
* * security.cc (alloc_sd): Disable generating default permission entriesCorinna Vinschen2009-02-042-0/+12
| | | | for directories.
* bfd:Joseph Myers2009-02-034-1/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-02-03 Sandip Matte <sandip@rmicorp.com> * aoutx.h (NAME (aout, machine_type)): Handle bfd_mach_mips_xlr. * archures.c (bfd_mach_mips_xlr): Define. * bfd-in2.h: Regenerate. * cpu-mips.c (I_xlr): Define. (arch_info_struct): Add XLR entry. * elfxx-mips.c (_bfd_elf_mips_mach): Handle E_MIPS_MACH_XLR. (mips_set_isa_flags): Handle bfd_mach_mips_xlr (mips_mach_extensions): Add XLR entry. binutils: 2009-02-03 Sandip Matte <sandip@rmicorp.com> * readelf.c (get_machine_flags): Handle E_MIPS_MACH_XLR. gas: 2009-02-03 Sandip Matte <sandip@rmicorp.com> * config/tc-mips.c (macro): Handle M_MSGSND, M_MSGLD, M_MSGLD_T, M_MSGWAIT and M_MSGWAIT_T. (mips_cpu_info_table): Add XLR entry. * doc/c-mips.texi (-march): Document xlr. gas/testsuite: 2009-02-03 Sandip Matte <sandip@rmicorp.com> * gas/mips/mips.exp (xlr): New architecture. (xlr-ext): Run test. * gas/mips/xlr-ext.d, gas/mips/xlr-ext.s: New. include/elf: 2009-02-03 Sandip Matte <sandip@rmicorp.com> * mips.h (E_MIPS_MACH_XLR): Define. include/opcode: 2009-02-03 Sandip Matte <sandip@rmicorp.com> * mips.h (INSN_XLR): Define. (INSN_CHIP_MASK): Update. (CPU_XLR): Define. (OPCODE_IS_MEMBER): Update. (M_MSGSND, M_MSGLD, M_MSGLD_T, M_MSGWAIT, M_MSGWAIT_T): Define. opcodes: 2009-02-03 Sandip Matte <sandip@rmicorp.com> * mips-dis.c (mips_cp0_names_xlr, mips_cp0sel_names_xlr): Define. (mips_arch_choices): Add XLR entry. * mips-opc.c (XLR): Define. (mips_builtin_opcodes): Add XLR instructions.
* bfd:Joseph Myers2009-02-033-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-02-03 Carlos O'Donell <carlos@codesourcery.com> * configure.in: AC_SUBST pdfdir. * Makefile.am: Add install-pdf, install-pdf-am and install-pdf-recursive targets. Define pdfdir. * doc/Makefile.am: Define pdf__strip_dir. Add install-pdf and install-pdf-am targets. * po/Make-in: Add install-pdf target. * configure: Regenerate. * Makefile.in: Regenerate * doc/Makefile.in: Regenerate. binutils: 2009-02-03 Carlos O'Donell <carlos@codesourcery.com> * configure.in: AC_SUBST pdfdir. * Makefile.am: Add install-pdf, install-pdf-am, and install-pdf-recursive targets. * doc/Makefile.am: Define pdf__strip_dir. Add install-pdf and install-pdf-am targets. * po/Make-in: Add install-pdf target. * configure: Regenerate. * Makefile.in: Regenerate. * doc/Makefile.in: Regenerate. etc: 2009-02-03 Carlos O'Donell <carlos@codesourcery.com> * configure.in: AC_SUBST pdfdir. * configure: Regenerate. gas: 2009-02-03 Carlos O'Donell <carlos@codesourcery.com> * configure.in: AC_SUBST pdfdir. * Makefile.am: Add install-pdf, install-pdf-am, and install-pdf-recursive targets. * doc/Makefile.am: Define pdf__strip_dir. Add install-pdf and install-pdf-am targets. * po/Make-in: Add install-pdf target. * configure: Regenerate. * Makefile.in: Regenerate. * doc/Makefile.in: Regenerate. gprof: 2009-02-03 Carlos O'Donell <carlos@codesourcery.com> * configure.in: AC_SUBST pdfdir. * Makefile.am: Add install-pdf, install-pdf-am, and install-pdf-recursive targets. Define pdf__strip_dir. * po/Make-in: Add install-pdf target. * configure: Regenerate. * Makefile.in: Regenerate. ld: 2009-02-03 Carlos O'Donell <carlos@codesourcery.com> * configure.in: AC_SUBST pdfdir. * Makefile.am: Add install-pdf, install-pdf-am, and install-pdf-recursive targets. Define pdf__strip_dir. * po/Make-in: Add install-pdf target. * configure: Regenerate. * Makefile.in: Regenerate. opcodes: 2009-02-03 Carlos O'Donell <carlos@codesourcery.com> * Makefile.am: Add install-pdf target. * po/Make-in: Add install-pdf target. * Makefile.in: Regenerate.
* M68K TLS support.Nick Clifton2009-02-032-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ld/testsuite/ * ld-m68k/got-multigot-12-13-14-34-35-ok.d: Update. * ld-m68k/got-multigot-14-ok.d: Update. * ld-m68k/m68k-got.exp: Update. * ld-m68k/got-negative-12-13-14-34-ok.d: Update. * ld-m68k/got-negative-14-ok.d: Update. * ld-m68k/tls-gd-1.d, ld-m68k/tls-gd-2.d: New tests. * ld-m68k/tls-gd-ie-1.d, ld-m68k/tls-ie-1.d: New tests. * ld-m68k/tls-ld-1.d, ld-m68k/tls-ld-2.d: New tests. * ld-m68k/tls-ld-1.s, ld-m68k/tls-ld-2.s, ld-m68k/tls-le-1.s: New test sources. * ld-m68k/tls-no-1.s, ld-m68k/tls-gd-ie-1.s, ld-m68k/tls-gd-1.s: New test sources. * ld-m68k/tls-gd-2.s, ld-m68k/tls-ie-1.s: New test sources. * ld-m68k/m68k.exp: Run new tests. (merge isa-a isa-a:nodiv): Fix. gas/testsuite/ * gas/m68k/tls-gd-3.d, gas/m68k/tls-gd-3.s: New test. * gas/m68k/all.exp: Run it. gas/ * config/m68k-parse.h (enum pic_relocation): Add values for TLS relocations. * config/m68k-parse.y (yylex): Parse TLS relocations. * config/tc-m68k.c (m68k_elf_cons): New static function. (md_pseudo_table): Use it. (get_reloc_code, tc_m68k_fix_adjustable, tc_gen_reloc): Handle TLS relocations. (md_apply_fix): Fix to set thread local flag. (m68k_elf_suffix): New static function; helper for m68k_elf_cons. include/elf/ * m68k.h: Map TLS relocations to numbers. bfd/ * bfd-in2.h: Regenerate. * elf32-m68k.c: Handle 2-slot GOT entries. Rename variables and fields from n_entries to n_slots where appropriate, update comments. (HOWTO): Add TLS relocations. (reloc_map): Map BFD_RELOC_68K_TLS_* to R_68K_TLS_*. (enum elf_m68k_got_offset_size): New enum. (struct elf_m68k_got_entry.type): Move field to ... (struct elf_m68k_got_entry_key): ... here. Update all uses. (elf_m68k_reloc_got_type, elf_m68k_reloc_got_offset_size): New static functions. (elf_m68k_reloc_got_n_entries, elf_m68k_reloc_tls_p): New static functions. (struct elf_m68k_got): merge rel_8o_n_entries and rel_8o_16o_n_entries fields into n_entries array. Update comments. (elf_m68k_init_got): Simplify, update all uses. (elf_m68k_init_got_entry_key): Handle R_68K_TLS_LDM32 reloc, update. (ELF_M68K_REL_8O_MAX_N_ENTRIES_IN_GOT): Adjust to handle 2-slot GOT entries; update name, update all uses. (ELF_M68K_REL_8O_16O_MAX_N_ENTRIES_IN_GOT): Ditto. (elf_m68k_get_got_entry): Update. (elf_m68k_update_got_entry_type): Rewrite to handle TLS GOT entries, simplify. (elf_m68k_remove_got_entry_type): Simplify. (elf_m68k_add_entry_to_got, elf_m68k_can_merge_gots_1): Update. (elf_m68k_can_merge_gots): Update. (elf_m68k_merge_gots_1, elf_m68k_merge_gots): Update. (struct elf_m68k_finalize_got_offsets_arg): Rewrite to handle 2-slot GOT entries, simplify. (elf_m68k_finalize_got_offsets_1, elf_m68k_finalize_got_offsets): Same. (struct elf_m68k_partition_multi_got_arg): Add slots_relas_diff field, remove obsoleted local_n_entries field. (elf_m68k_partition_multi_got_2): New static function. (elf_m68k_partition_multi_got_1, elf_m68k_partition_multi_got): Use it; update. (elf_m68k_remove_got_entry_type): Update. (elf_m68k_install_rela, dtpoff_base, tpoff): New static functions. (elf_m68k_check_relocs): Handle TLS relocations. Remove unnecessary update of sgot->size and srelgot->size. (elf_m68k_gc_sweep_hook): Update. (elf_m68k_install_rela, dtpoff_base, tpoff): New static functions. (elf_m68k_relocate_section, elf_m68k_finish_dynamic_symbol): Handle TLS relocations. * reloc.c (BFD_RELOC_68K_TLS_*): Declare TLS relocations. * libbfd.h (bfd_reloc_code_real_names): Add BFD_RELOC_68K_TLS_*.
* * pathnames.sgml: Rephrase the "Case sensitive filenames" chapterCorinna Vinschen2009-02-032-18/+23
| | | | slightly.
* * config/tcl.m4 (SC_PATH_TCLCONFIG): Don't exit 0 if tclconfig fails.Doug Evans2009-02-022-8/+14
| | | | | | | | | | | | | | | (SC_PATH_TKCONFIG): Don't exit 0 if tkconfig fails. (SC_LOAD_TCLCONFIG): Quote all uses of TCL_BIN_DIR, it may contain "# no Tcl configs found". (SC_LOAD_TKCONFIG): Similarily for TK_BIN_DIR. * gdb/configure.ac (gdbkt): Check both no_tcl/no_tk first, before doing any further tcl/tk configury. Don't configure gdbtk if tcl or tk check fails. * gdb/aclocal.m4: Regenerate. * gdb/configure: Regenerate. * gdb/gdbtk/plugins/aclocal.m4: Regenerate. * gdb/gdbtk/plugins/configure: Regenerate.
* * fhandler_disk_file.cc (fhandler_disk_file::readdir): Fix inode numberCorinna Vinschen2009-01-297-3/+73
| | | | | | | | | | | | | | evaluation for faked "." entry. * mount.cc (fs_info::update): Move setting of is_cdrom after checking for caseinsensitivity. Recognize UDF in is_cdrom case and set caseinsensitive flag according to UDF brokenness determined by OS. Add comment to explain why. * mount.h (class fs_info): Add is_udf status flag. * path.cc (symlink_info::check): Add workaround for UDF bug in terms of casesensitivity on certain OSes. * wincap.h (wincaps::has_broken_udf): New element. (wincaps::has_broken_udf): New element
* * cygcheck.cc (dump_sysinfo): Evaluate and print state ofCorinna Vinschen2009-01-292-0/+18
| | | | obcaseinsensitive kernel flag.
* fix typo in previous entryDoug Evans2009-01-291-1/+1
|
* * opcode/i386.h: Add multiple inclusion protection.Doug Evans2009-01-292-1/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (EAX_REG_NUM,ECX_REG_NUM,EDX_REGNUM,EBX_REG_NUM,ESI_REG_NUM) (EDI_REG_NUM): New macros. (MODRM_MOD_FIELD,MODRM_REG_FIELD,MODRM_RM_FIELD): New macros. (SIB_SCALE_FIELD,SIB_INDEX_FIELD,SIB_BASE_FIELD): New macros. (REG_PREFIX_P): New macro. * amd64-tdep.h (amd64_displaced_step_copy_insn): Declare. (amd64_displaced_step_fixup): Declare. * amd64-tdep.c: #include opcode/i386.h, dis-asm.h. (amd64_arch_regmap): Move out of amd64_analyze_stack_align and make static global. (amd64_arch_regmap_len): New static global. (amd64_arch_reg_to_regnum): New function. (struct amd64_insn): New struct. (struct displaced_step_closure): New struct. (onebyte_has_modrm,twobyte_has_modrm): New static globals. (rex_prefix_p,skip_prefixes) (amd64_insn_length_fprintf,amd64_insn_length_init_dis) (amd64_insn_length,amd64_get_unused_input_int_reg) (amd64_get_insn_details,fixup_riprel,fixup_displaced_copy) (amd64_displaced_step_copy_insn) (amd64_absolute_jmp_p,amd64_absolute_call_p,amd64_ret_p) (amd64_call_p,amd64_breakpoint_p,amd64_syscall_p) (amd64_displaced_step_fixup): New functions. * amd64-linux-tdep.c: #include arch-utils.h. (amd64_linux_init_abi): Install displaced stepping support. * gdb.arch/amd64-disp-step.S: New file. * gdb.arch/amd64-disp-step.exp: New file. * gdb.arch/i386-disp-step.S: New file. * gdb.arch/i386-disp-step.exp: New file.
* 2009-01-28 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2009-01-282-2/+12
| | | | | | * libc/stdio/vfscanf.c (__SVFSCANF_R): Add additional check for inf and nan processing to not proceed if we have already collected zeroes.
* * fhandler.cc (fhandler_base::wait_overlapped): Set bytes to -1 on EINTR orChristopher Faylor2009-01-273-4/+15
| | | | | | | | real error. (fhandler_base::write_overlapped): Assume that bytes_written will contain proper error value. * pipe.cc (fhandler_pipe::fhandler_pipe): Set uninterruptible_io since signals are handled by pipe functions now.
* * configure.host (m32c-*-*): Add long long I/O support by default.DJ Delorie2009-01-272-0/+9
|
* * shared.cc (shared_name): New function for WCHAR names.Corinna Vinschen2009-01-264-16/+34
| | | | | | | | (open_shared): Take name parameter as WCHAR. Accommodate throughout. * shared_info.h ((CURR_SHARED_MAGIC): Redefine. (shared_name): Add declaration for function taking a WCHAR name. (open_shared): Change declaration according to above change. * pinfo.cc (pinfo::init) : Accommodate above change.
* * grp.cc (getgrgid_r): Simplify code by using stpcpy.Corinna Vinschen2009-01-263-52/+35
| | | | | | (getgrnam_r): Ditto. * passwd.cc (getpwuid_r32): Simplify code by using stpcpy. (getpwnam_r): Ditto.
* * uinfo.cc (pwdgrp::load): Open file with FILE_OPEN_FOR_BACKUP_INTENTCorinna Vinschen2009-01-262-1/+8
| | | | flag.
* * mount.cc (mount_info::from_fstab): Open fstab file withCorinna Vinschen2009-01-242-1/+8
| | | | FILE_OPEN_FOR_BACKUP_INTENT flag.
* * pathnames.sgml: Add requirement for world-readability of specialCorinna Vinschen2009-01-242-0/+11
| | | | /etc files.