summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 2005-05-19 Kelley Cook <kcook@gcc.gnu.org>R. Kelley Cook2005-05-192-98/+4
| | | | * accross.m4: Delete file.
* * external.cc: Move pids declaration to file scope and use less enthusiasticChristopher Faylor2005-05-195-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.
* * cygtls.h (_local_storage::unknown_thread_name): New buffer.Christopher Faylor2005-05-186-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.
* binutils/ChangeLogBen Elliston2005-05-182-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.
* * mmap.cc (mmap64): Avoid compiler warning.Corinna Vinschen2005-05-184-4/+8
| | | | | * ntea.cc (NTReadEA): Ditto. * hires.h (hires_base): Remove useless usecs function.
* * bfd/elf32-arm.c: Make all #ifndef OLD_ARM_ABI blocksZack Weinberg2005-05-182-18/+5
| | | | | | unconditional. * include/elf/arm.h: Make all #ifndef OLD_ARM_ABI blocks unconditional, delete all #ifdef OLD_ARM_ABI blocks.
* 2005-05-18 Brian Dessent <brian@dessent.net>Brian Dessent2005-05-182-19/+55
| | | | | | * install.texinfo ("How do I uninstall..."): Rewrite to cover removing services, dealing with permissions, and other common tasks for removing Cygwin completely.
* * fhandler_netdrive.cc (fhandler_netdrive::telldir): Remove since it'sCorinna Vinschen2005-05-183-7/+6
| | | | | equivalent to fhandler_virtual::telldir now anyway. * fhandler.h (class fhandler_netdrive): Remove telldir.
* * fhandler_netdrive.cc (fhandler_netdrive::telldir): Implement.Corinna Vinschen2005-05-182-5/+16
| | | | | | (fhandler_netdrive::seekdir): Implement. (fhandler_netdrive::closedir): Call rewinddir to have only one point of calling WNetCloseEnum.
* include/elf:Zack Weinberg2005-05-182-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-17 Brian Dessent <brian@dessent.net>Brian Dessent2005-05-186-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.
* * fhandler.h (class fhandler_netdrive): Add method rewinddir.Corinna Vinschen2005-05-173-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.
* * external.cc (cygwin_internal): Avoid compiler warning.Corinna Vinschen2005-05-172-1/+6
|
* white spaceChristopher Faylor2005-05-171-1/+1
|
* * dcrt0.cc (dll_crt0_0): Don't do fixup_after_exec if dynamically loaded sinceChristopher Faylor2005-05-172-2/+7
| | | | the state of fds is unknown at this point.
* * cygcheck.cc (cygwin_internal): Define as a "C" function.Christopher Faylor2005-05-174-4/+15
| | | | | * strace.cc (cygwin_internal): Ditto. * cygpath.cc (print_version): Update copyright.
* * include/sys/cygwin.h (enum cygwin_getinfo_types): Add CW_DEBUG_SELF.Christopher Faylor2005-05-174-4/+16
| | | | | * external.cc (cygwin_internal): Implement CW_DEBUG_SELF. * init.cc (dll_entry): Minor rearrangement of code.
* * path.cc (path_conv::check): Remove embedded dots before slashes.Christopher Faylor2005-05-172-2/+6
|
* * environ.cc (conv_envvars): Remove LD_LIBRARY_PATH entirely.Corinna Vinschen2005-05-162-4/+5
| | | | It doesn't belong here.
* * cygcheck.cc (load_cygwin): Avoid calling putenv with a NULL path.Christopher Faylor2005-05-162-2/+9
|
* ./Daniel Jacobowitz2005-05-152-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.
* * cygcheck.cc (load_cygwin): Don't touch $PATH for now.Corinna Vinschen2005-05-153-5/+20
| | | | | (print_version): Fix copyright. * strace.cc (print_version): Ditto.
* * environ.cc (conv_envvars): Treat LD_LIBRARY_PATH as path list.Corinna Vinschen2005-05-152-2/+8
|
* * fhandler_disk_file.cc (fhandler_base::fstat_by_handle): CheckCorinna Vinschen2005-05-143-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.
* include/elf/Alan Modra2005-05-142-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.
* really fix typo.Christopher Faylor2005-05-131-1/+1
|
* fix typoChristopher Faylor2005-05-131-1/+1
|
* * path.cc (normalize_posix_path): Do normalization on . and .. after a '//'.Christopher Faylor2005-05-132-5/+6
|
* Add missing ChangeLog entry.Corinna Vinschen2005-05-131-0/+1
|
* * fhandler.h (fhandler_netdrive::readdir): Remove useless comment.Corinna Vinschen2005-05-132-1/+4
|
* * include/winnetwk.h (WNetGetResourceParentA): Add missing declaration.Corinna Vinschen2005-05-133-0/+48
| | | | | (WNetGetResourceParentW): Ditto. * include/ddk/ntifs.h (FILE_ID_FULL_DIRECTORY_INFORMATION): Define.
* * mount.cc (mount_commands): Display "-X" option when appropriate.Christopher Faylor2005-05-132-4/+6
|
* * autoload.cc (WNetGetResourceParentA): Import.Corinna Vinschen2005-05-134-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.
* Remove PC_FULL from path_conv usage throughout.Christopher Faylor2005-05-1310-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.
* * fhandler_netdrive.cc (fhandler_netdrive::exists): Assert that "//" exists.Christopher Faylor2005-05-132-1/+9
|
* * cygtls.cc (_cygtls::remove): Eliminate compiler warning.Christopher Faylor2005-05-138-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-12 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2005-05-122-0/+5
| | | | * configure.host (mn10300-*): Add long long I/O support by default.
* 2005-05-12 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2005-05-126-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.
* merge from gccDJ Delorie2005-05-122-1/+8
|
* PR bootstrap/21230DJ Delorie2005-05-122-1/+7
| | | | | * warnings.m4 (ACX_PROG_CC_WARNING_ALMOST_PEDANTIC): Add double quotes around GCC variable.
* * dcrt0.cc (do_global_dtors): Don't call dll_global_dtors here.Christopher Faylor2005-05-112-4/+12
| | | | | | (__main): Reinstate atexit of do_global_dtors. (cygwin_exit): Call dll_global_dtors here. (do_exit): And here.
* * ppc.h (R_PPC_RELAX32, R_PPC_RELAX32PC, R_PPC_RELAX32_PLT,Alan Modra2005-05-112-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.
* * cygtls.cc (_cygtls::remove): Clear exitsock after close.Christopher Faylor2005-05-113-4/+14
| | | | | * fhandler_console.cc (fhandler_console::write_normal): Store character in a local variable for potential future inspection.
* * Makefile.in (DLL_OFILES): Add fhandler_mailslot.o.Corinna Vinschen2005-05-1012-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.
* * dcrt0.cc (dll_crt0_1): Call cygwin_exit to ensure that destructors areChristopher Faylor2005-05-102-1/+8
| | | | handled correctly.
* Update the address and phone number of the FSF organizationNick Clifton2005-05-10186-223/+282
|
* * path.cc (path_conv::check): Set correct file attributes for socketCorinna Vinschen2005-05-102-1/+6
| | | | files.
* * mingwex/math/nexttoward.c: New file.Danny Smith2005-05-106-3/+103
| | | | | | | | | | * mingwex/math/nexttowardf.c: New file. * mingwex/math/nextafterl.c: Add nexttowardl aliaa. * mingwex/Makefile.in (MATH_DISTFILES): Add nexttoward.c, mexttowardf.c, (MATH_OBJS): Add nexttoward.o, mexttowardf.o, * include/math.h (nexttoward, nextowardf, nexttowardl): Add prototypes.
* * mingwex/math/nextafterf.c (nextafterf): CorrectDanny Smith2005-05-095-13/+80
| | | | | | | | handling of -0.0. * mingwex/math/nextafterl.c: New file. * mingwex/Makefile.in (MATH_DISTFILES): Add nextafterl.c. (MATH_OBJS): Add nextafterl.o. * include/math.h (nextafterl): Uncomment prototype.
* gas/Jan Beulich2005-05-092-0/+6
| | | | | | | | | | | | 2005-05-09 Jan Beulich <jbeulich@novell.com> * config/tc-i386.c (parse_insn): Disallow use of prefix separator and comma in Intel mode. include/opcode/ 2005-05-09 Jan Beulich <jbeulich@novell.com> * i386.h (i386_optab): Add ht and hnt.