aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2005-05-19* include/limits.h: Include features.h, as on linux.Christopher Faylor2-1/+8
2005-05-19* include/endian.h: New file.Christopher Faylor2-0/+21
2005-05-19 * cygwin.sc: Add Dwarf-2 debug sections.Corinna Vinschen2-0/+17
2005-05-19 * mmap.cc (mmap64): Make granularity an automatic variable.Corinna Vinschen2-1/+5
2005-05-19 * ppc.h (PPC_OPCODE_POWER5): Define.Alan Modra2-0/+7
2005-05-19* fhandler.h (fhandler_cygdrive::seekdir): Delete declaration.Christopher Faylor4-26/+16
(fhandler_cygdrive::seekdir): Delete. * fhandler.h (fhandler_cygdrive::iscygdrive_root): Delete method. (fhandler_cygdrive::telldir): Delete declaration. * fhandler_disk_file.cc: Remove all uses of fhandler_cygdrive::iscygdrive_root. (fhandler_disk_file::mkdir): New method. (fhandler_disk_file::rmdir): Ditto. (fhandler_cygdrive::telldir): Delete.
2005-05-192005-05-19 Kelley Cook <kcook@gcc.gnu.org>R. Kelley Cook2-98/+4
* accross.m4: Delete file.
2005-05-19* external.cc: Move pids declaration to file scope and use less enthusiasticChristopher Faylor5-4/+15
constructor. * pinfo.h (winpids::winpids): Remove default setting. * fhandler_fifo.cc (fhandler_fifo::open_not_mine): Accommodate removal of default setting. * fhandler_proc.cc (fhandler_proc::readdir): Ditto.
2005-05-18* cygtls.h (_local_storage::unknown_thread_name): New buffer.Christopher Faylor6-65/+75
* tlsoffsets.h: Regenerate. * cygthread.cc (cygthread::name): Use new thread-local buffer. * exceptions.cc (handle_exceptions): Avoid unnecessary initialization of static variables to zero. * fork.cc (slow_pid_reuse) Ditto.
2005-05-18binutils/ChangeLogBen Elliston2-2/+9
* readelf.c (read_and_display_attr_value): Handle a DW_AT_encoding value of DW_ATE_GNU_decimal_float. include/elf/ChangeLog * dwarf2.h (enum dwarf_type): Assign DW_ATE_GNU_decimal_float from the user-defined encoding space pending inclusion in the standard.
2005-05-18 * mmap.cc (mmap64): Avoid compiler warning.Corinna Vinschen4-4/+8
* ntea.cc (NTReadEA): Ditto. * hires.h (hires_base): Remove useless usecs function.
2005-05-18 * bfd/elf32-arm.c: Make all #ifndef OLD_ARM_ABI blocksZack Weinberg2-18/+5
unconditional. * include/elf/arm.h: Make all #ifndef OLD_ARM_ABI blocks unconditional, delete all #ifdef OLD_ARM_ABI blocks.
2005-05-182005-05-18 Brian Dessent <brian@dessent.net>Brian Dessent2-19/+55
* install.texinfo ("How do I uninstall..."): Rewrite to cover removing services, dealing with permissions, and other common tasks for removing Cygwin completely.
2005-05-18 * fhandler_netdrive.cc (fhandler_netdrive::telldir): Remove since it'sCorinna Vinschen3-7/+6
equivalent to fhandler_virtual::telldir now anyway. * fhandler.h (class fhandler_netdrive): Remove telldir.
2005-05-18 * fhandler_netdrive.cc (fhandler_netdrive::telldir): Implement.Corinna Vinschen2-5/+16
(fhandler_netdrive::seekdir): Implement. (fhandler_netdrive::closedir): Call rewinddir to have only one point of calling WNetCloseEnum.
2005-05-18include/elf:Zack Weinberg2-88/+160
* arm.h: Import complete list of official relocation names and numbers from AAELF. Define FAKE_RELOCs for old names. Remove a few old names no longer used anywhere. bfd: * elf32-arm.c: Wherever possible, use official reloc names from AAELF. (elf32_arm_howto_table, elf32_arm_tls_gd32_howto) (elf32_arm_tls_ldo32_howto, elf32_arm_tls_ldm32_howto) (elf32_arm_tls_le32_howto, elf32_arm_tls_ie32_howto) (elf32_arm_vtinherit_howto, elf32_arm_vtentry_howto) (elf32_arm_pc11_howto, elf32_arm_thm_pc9_howto, elf32_arm_got_prel) (elf32_arm_r_howto): Replace with elf32_arm_howto_table_1, elf32_arm_howto_table_2, and elf32_arm_howto_table_3. Add many new relocations from AAELF. (elf32_arm_howto_from_type): Update to match. (elf32_arm_reloc_map): Add entries for R_ARM_THM_JUMP24, R_ARM_THM_JUMP11, R_ARM_THM_JUMP19, R_ARM_THM_JUMP8, R_ARM_THM_JUMP6, R_ARM_GNU_VTINHERIT, and R_ARM_GNU_VTENTRY. (elf32_arm_reloc_type_lookup): Use elf32_arm_howto_from_type. (elf32_arm_final_link_relocate): Add support for R_ARM_THM_JUMP24, R_ARM_THM_JUMP19, R_ARM_THM_JUMP6. Remove case entries redundant with default. * reloc.c: Reorganize ARM relocations. Add Thumb assembler-internal relocations BFD_RELOC_ARM_T32_OFFSET_U8, BFD_RELOC_ARM_T32_OFFSET_IMM, BFD_RELOC_ARM_T32_IMMEDIATE. Add visible relocations BFD_RELOC_THUMB_PCREL_BRANCH7, BFD_RELOC_THUMB_BRANCH20, BFD_RELOC_THUMB_BRANCH25. Delete unused relocations BFD_RELOC_ARM_GOT12, BFD_RELOC_ARM_COPY. * bfd-in2.h, libbfd.h: Regenerate. opcodes: * arm-dis.c (thumb_opcodes): Add disassembly for V6T2 16-bit instructions. Adjust disassembly of some opcodes to match unified syntax. (thumb32_opcodes): New table. (print_insn_thumb): Rename print_insn_thumb16; don't handle two-halfword branches here. (print_insn_thumb32): New function. (print_insn): Choose among print_insn_arm, print_insn_thumb16, and print_insn_thumb32. Be consistent about order of halfwords when printing 32-bit instructions. gas: * hash.c (hash_lookup): Add len parameter. All callers changed. (hash_find_n): New interface. * hash.h: Prototype hash_find_n. * sb.c: Include as.h. (scrub_from_sb, sb_to_scrub, scrub_position): New statics. (sb_scrub_and_add_sb): New interface. * sb.h: Prototype sb_scrub_and_add_sb. * input-scrub.c (input_scrub_include_sb): Use sb_scrub_and_add_sb. * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Remove reference to BFD_RELOC_ARM_GOT12 which is never generated. * config/tc-arm.c: Rewrite, adding Thumb-2 support. gas/testsuite: * gas/arm/arm.exp: Convert all existing "gas_test" tests to "run_dump_test" tests. Run more tests unconditionally. Run new tests. * gas/arm/arch4t.s, gas/arm/arch6zk.s, gas/arm/arm3.s, gas/arm/arm6.s * gas/arm/arm7dm.s, gas/arm/bignum1.s, gas/arm/float.s * gas/arm/immed.s, gas/arm/iwmmxt.s, gas/arm/offset.s, gas/arm/thumb.s: Adjust to work as a dump test. * gas/arm/arch4t.d, gas/arm/arch6zk.d, gas/arm/arm3.d, gas/arm/arm6.d * gas/arm/arm7dm.d, gas/arm/bignum1.d, gas/arm/float.d * gas/arm/immed.d, gas/arm/iwmmxt.d, gas/arm/offset.d, gas/arm/thumb.d: New files. * gas/arm/armv1-bad.l, gas/arm/armv1-bad.s: Remove tests for diagnostics that don't happen in the first pass anymore. * gas/arm/iwmmxt-bad.l, gas/arm/r15-bad.l, gas/arm/req.l * gas/arm/vfp-bad.l: Update expected diagnostics. * gas/arm/pic.d: Update expected reloc name. * gas/arm/thumbv6.d: CPY no longer appears in disassembly. * gas/arm/r15-bad.s: Avoid two-argument mul. * gas/arm/req.s: Adjust comments. * gas/arm/maverick.d, gas/arm/maverick.s: Avoid inappropriate use of PC. * gas/arm/macro-1.d, gas/arm/macro1.s * gas/arm/t16-bad.l, gas/arm/t16-bad.s * gas/arm/tcompat.d, gas/arm/tcompat.s * gas/arm/tcompat2.d, gas/arm/tcompat2.s * gas/arm/thumb32.d, gas/arm/thumb32.s New test pair. ld/testsuite: * ld-arm/mixed-app.d: Adjust expected disassembly a little.
2005-05-182005-05-17 Brian Dessent <brian@dessent.net>Brian Dessent6-5/+14
* winsup.api/signal-into-win32-api.c (main): Use 'NULL' instead of '0' in argument list to avoid compiler warning with gcc4. * winsup.api/ltp/execle01.c (main): Ditto. * winsup.api/ltp/execlp01.c (main): Ditto. * winsup.api/ltp/fcntl07.c (do_exec): Ditto. * winsup.api/ltp/fcntl07B.c (do_exec): Ditto.
2005-05-17 * fhandler.h (class fhandler_netdrive): Add method rewinddir.Corinna Vinschen3-36/+116
* fhandler_netdrive.cc (struct netdriveinf): New structure to store thread arguments. (thread_netdrive): Thread handling all potentially blocking WNet... calls. (create_thread_and_wait): Start and wait for above thread. (fhandler_netdrive::exists): Change to call create_thread_and_wait instead of calling WNet... function. (fhandler_netdrive::readdir): Ditto. Fix error handling. (fhandler_netdrive::rewinddir): New method.
2005-05-17 * external.cc (cygwin_internal): Avoid compiler warning.Corinna Vinschen2-1/+6
2005-05-17white spaceChristopher Faylor1-1/+1
2005-05-17* dcrt0.cc (dll_crt0_0): Don't do fixup_after_exec if dynamically loaded sinceChristopher Faylor2-2/+7
the state of fds is unknown at this point.
2005-05-17* cygcheck.cc (cygwin_internal): Define as a "C" function.Christopher Faylor4-4/+15
* strace.cc (cygwin_internal): Ditto. * cygpath.cc (print_version): Update copyright.
2005-05-17* include/sys/cygwin.h (enum cygwin_getinfo_types): Add CW_DEBUG_SELF.Christopher Faylor4-4/+16
* external.cc (cygwin_internal): Implement CW_DEBUG_SELF. * init.cc (dll_entry): Minor rearrangement of code.
2005-05-17* path.cc (path_conv::check): Remove embedded dots before slashes.Christopher Faylor2-2/+6
2005-05-16 * environ.cc (conv_envvars): Remove LD_LIBRARY_PATH entirely.Corinna Vinschen2-4/+5
It doesn't belong here.
2005-05-16* cygcheck.cc (load_cygwin): Avoid calling putenv with a NULL path.Christopher Faylor2-2/+9
2005-05-15./Daniel Jacobowitz2-71/+174
* ylwrap: Import from Automake 1.9.5. binutils/ * acinclude.m4: Remove obsolete code. * configure.in: Update AC_PREREQ. * doc/Makefile.am (binutils_TEXINFOS): Define. (config.texi): Depend on distributed files instead of built files. (binutils.dvi, binutils.info): Remove unnecessary rules. (DISTCLEANFILES): Remove. (install-data-local): Renamed from install. (info-local): Renamed from info. * Makefile.in, aclocal.m4, config.in, configure, doc/Makefile.in: Regenerated. gas/ * Makefile.am (m68k-parse.c, itbl-parse.c): Update ylwrap invocation. * Makefile.in: Regenerated. ld/ * Makefile.am (AM_MAKEINFOFLAGS): Define. (TEXI2DVI): Define. (ldver.texi): Depend on distributed files instead of built files. (ld.info): Include $(srcdir) in the rule target. Remove actions. (ld.dvi): Remove actions. (MAINTAINERCLEANFILES): Add configdoc.texi. (CONFIG_STATUS_DEPENDENCIES): Add bfd/configure.in. (install-data-local): Renamed from install. (Makefile): Remove explicit dependency. * acinclude.m4: Remove obsolete code. * configure.in: Update AC_PREREQ. Remove extra $CONFIG_SHELL. * Makefile.in, aclocal.m4, config.in, configure: Regenerated. gdb/ * Makefile.in (.y.c): Update ylwrap invocation.
2005-05-15 * cygcheck.cc (load_cygwin): Don't touch $PATH for now.Corinna Vinschen3-5/+20
(print_version): Fix copyright. * strace.cc (print_version): Ditto.
2005-05-15 * environ.cc (conv_envvars): Treat LD_LIBRARY_PATH as path list.Corinna Vinschen2-2/+8
2005-05-14 * fhandler_disk_file.cc (fhandler_base::fstat_by_handle): CheckCorinna Vinschen3-2/+14
return code from GetFileSize and set file size to 0 if necessary. * fhandler_netdrive.cc (fhandler_netdrive::fstat): Set permissions to read/execute for all.
2005-05-14include/elf/Alan Modra2-2/+6
* ppc.h (DT_PPC_GOT): Rename from DT_PPC_GLINK. bfd/ * elf32-ppc.c (ppc_elf_size_dynamic_sections): Set DT_PPC_GOT, not DT_PPC_GLINK. (ppc_elf_finish_dynamic_sections): Likewise. binutils/ * readelf.c (get_ppc_dynamic_type): Display DT_PPC_GOT, not DT_PPC_GLINK.
2005-05-13really fix typo.Christopher Faylor1-1/+1
2005-05-13fix typoChristopher Faylor1-1/+1
2005-05-13* path.cc (normalize_posix_path): Do normalization on . and .. after a '//'.Christopher Faylor2-5/+6
2005-05-13 Add missing ChangeLog entry.Corinna Vinschen1-0/+1
2005-05-13 * fhandler.h (fhandler_netdrive::readdir): Remove useless comment.Corinna Vinschen2-1/+4
2005-05-13 * include/winnetwk.h (WNetGetResourceParentA): Add missing declaration.Corinna Vinschen3-0/+48
(WNetGetResourceParentW): Ditto. * include/ddk/ntifs.h (FILE_ID_FULL_DIRECTORY_INFORMATION): Define.
2005-05-13* mount.cc (mount_commands): Display "-X" option when appropriate.Christopher Faylor2-4/+6
2005-05-13 * autoload.cc (WNetGetResourceParentA): Import.Corinna Vinschen4-4/+125
(WNetOpenEnumA): Import. (WNetEnumResourceA): Import. (WNetCloseEnum): Import. * fhandler.h (fhandler_netdrive::telldir): Add declaration. (fhandler_netdrive::seekdir): Ditto. (fhandler_netdrive::closedir): Ditto. * fhandler_netdrive.cc: Drop explicit including windows.h. Include winnetwk.h instead of shlwapi.h. Include dirent.h. (fhandler_netdrive::readdir): Implement. (fhandler_netdrive::telldir): New method. (fhandler_netdrive::seekdir): New method. (fhandler_netdrive::closedir): Ditto.
2005-05-13Remove PC_FULL from path_conv usage throughout.Christopher Faylor10-28/+34
* path.h (enum pathconv_arg): Change PC_FULL to PC_NOUILL. * path.cc (path_conv::check): Test for PC_NOFULL rather than !PC_FULL. (cygwin_conv_to_win32_path): Use PC_NOFULL to force non-absolute path.
2005-05-13* fhandler_netdrive.cc (fhandler_netdrive::exists): Assert that "//" exists.Christopher Faylor2-1/+9
2005-05-13* cygtls.cc (_cygtls::remove): Eliminate compiler warning.Christopher Faylor8-25/+71
* dir.cc (mkdir): Check path for writability. (rmdir): Ditto. Remove check for special directories. * path.cc (path_conv::check): Set PATH_RO for virtual devices. Set error if read-only and asked for writability. * path.h (pathconv_arg): Add PC_WRITABLE. (path_types): Add PATH_RO. (path_conv::isro): Add (currently unused) check for read-only filesystem. Return "ENOSHARE" when we know a share doesn't exist. * include/sys/mount.h: Add MOUNT_RO flag. * autoload.cc (WNetGetResourceInformationA): Import. * fhandler_netdrive.cc (fhandler_netdrive::exists): Detect actual existence of remote system rather than always assuming that it exists.
2005-05-122005-05-12 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-0/+5
* configure.host (mn10300-*): Add long long I/O support by default.
2005-05-122005-05-12 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston6-27/+42
* libc/sys/linux/getpwuid.c: Removed. * libc/sys/linux/getpwnam.c: Removed. * libc/sys/linux/getpwent.c: New file containing logic from files removed above. This allows overriding of file in libc/unix. * libc/sys/linux/Makefile.am: Support changes above. * libc/sys/linux/Makefile.in: Regenerated.
2005-05-12merge from gccDJ Delorie2-1/+8
2005-05-12PR bootstrap/21230DJ Delorie2-1/+7
* warnings.m4 (ACX_PROG_CC_WARNING_ALMOST_PEDANTIC): Add double quotes around GCC variable.
2005-05-11* dcrt0.cc (do_global_dtors): Don't call dll_global_dtors here.Christopher Faylor2-4/+12
(__main): Reinstate atexit of do_global_dtors. (cygwin_exit): Call dll_global_dtors here. (do_exit): And here.
2005-05-11 * ppc.h (R_PPC_RELAX32, R_PPC_RELAX32PC, R_PPC_RELAX32_PLT,Alan Modra2-9/+24
R_PPC_RELAX32PC_PLT) Adjust. (R_PPC_REL16, R_PPC_REL16_LO, R_PPC_REL16_HI, R_PPC_REL16_HA): Define. (DT_PPC_GLINK): Define.
2005-05-11* cygtls.cc (_cygtls::remove): Clear exitsock after close.Christopher Faylor3-4/+14
* fhandler_console.cc (fhandler_console::write_normal): Store character in a local variable for potential future inspection.
2005-05-10 * Makefile.in (DLL_OFILES): Add fhandler_mailslot.o.Corinna Vinschen12-803/+1179
* devices.h (FH_KMSG): Define new device. * devices.in: Add "/dev/kmsg" entry. * devices.cc: Regenerate. * dtable.cc (build_fh_pc): Handle case FH_KMSG. * fhandler.h (class fhandler_mailslot): New class. (class select_stuff): Add device_specific_mailslot pointer. * fhandler_mailslot.cc: New file. * select.cc (peek_mailslot): New function. (verify_mailslot): Ditto. (struct mailslotinf): New stuct to handle select on mailslots. (thread_mailslot): New function. (start_thread_mailslot): Ditto. (mailslot_cleanup): Ditto. (fhandler_mailslot::select_read): New method. * syslog.cc (klog_guard): New muto. (dev_kmsg): Local mailslot for kernel message device. (vklog): New function. (klog): Ditto. * winsup.h (vklog): Declare. (klog): Ditto. * include/sys/syslog.h: Define _PATH_KLOG.