]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
19 years ago* cygcheck.cc (dump_sysinfo): Don't attempt to use path if it is not set.
Christopher Faylor [Fri, 20 May 2005 16:38:42 +0000 (16:38 +0000)]
* cygcheck.cc (dump_sysinfo): Don't attempt to use path if it is not set.
(nuke): Fix off by one error in allocation of environment variable.
(load_cygwin): Always set PATH even if cygwin environment is empty.

19 years ago * arm/elf-redboot.ld, iq2000/sim.ld, m68hc11/sim-valid-m68hc11.ld,
Corinna Vinschen [Fri, 20 May 2005 15:45:45 +0000 (15:45 +0000)]
* arm/elf-redboot.ld, iq2000/sim.ld, m68hc11/sim-valid-m68hc11.ld,
* m68hc11/sim-valid-m68hc12.ld, mcore/elf-cmb.ld, mips/cfe.ld,
* mips/ddb-kseg0.ld, mips/ddb.ld, mips/dve.ld, mips/idt.ld,
* mips/idt32.ld, mips/idt64.ld, mips/jmr3904app-java.ld,
* mips/jmr3904app.ld, mips/jmr3904dram-java.ld, mips/jmr3904dram.ld,
* mips/nullmon.ld, mips/pmon.ld, mn10200/eval.ld, mn10200/sim.ld,
* mn10300/asb2303.ld, mn10300/asb2305.ld, mn10300/eval.ld,
* mn10300/sim.ld, rs6000/ads.ld, rs6000/mbx.ld, rs6000/yellowknife.ld,
* sh/sh1lcevb.ld, sh/sh2lcevb.ld, sh/sh3bb.ld, sh/sh3lcevb.ld,
* sparc/elfsim.ld, sparc/ex930.ld, sparc/ex931.ld, sparc/ex934.ld,
* sparc/sparc86x.ld, xstormy16/eva_app.ld, xstormy16/eva_stub.ld,
* xstormy16/sim_high.ld, xstormy16/sim_rom.ld: Add .debug_ranges
section.

19 years ago2005-05-20 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Fri, 20 May 2005 07:16:11 +0000 (07:16 +0000)]
2005-05-20  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.def (configure-gcc): Depend on binutils having been built.
(all-gcc): No need to do it here.
* Makefile.in: Regenerate.

19 years ago * bfd/Makefile.am, binutils/Makefile.am, etc/Makefile.in
Zack Weinberg [Thu, 19 May 2005 23:49:46 +0000 (23:49 +0000)]
* bfd/Makefile.am, binutils/Makefile.am, etc/Makefile.in
* gas/Makefile.am: Have 'all' depend on 'info'.
* ld/Makefile.am: Have 'all' depend on 'info' and 'ld.1'.
* bfd/Makefile.in, binutils/Makefile.in, gas/Makefile.in
* ld/Makefile.in: Regenerate.

19 years ago * crt1.c (_gnu_exception_handler): Handle illegal instruction
Danny Smith [Thu, 19 May 2005 22:44:13 +0000 (22:44 +0000)]
* crt1.c (_gnu_exception_handler): Handle illegal instruction
OS exception as a signal if user has defined a SIGILL handler.

19 years ago * include/cygwin/in.h: Add comment.
Corinna Vinschen [Thu, 19 May 2005 21:22:37 +0000 (21:22 +0000)]
* include/cygwin/in.h: Add comment.

19 years ago * include/cygwin/in.h: Define IPPROTO_xxx values as macros to
Corinna Vinschen [Thu, 19 May 2005 21:18:17 +0000 (21:18 +0000)]
* include/cygwin/in.h: Define IPPROTO_xxx values as macros to
accomodate SUSv3.

19 years agofix comment
Christopher Faylor [Thu, 19 May 2005 20:37:51 +0000 (20:37 +0000)]
fix comment

19 years agofix comment
Christopher Faylor [Thu, 19 May 2005 20:34:42 +0000 (20:34 +0000)]
fix comment

19 years ago2005-05-19 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 19 May 2005 20:25:24 +0000 (20:25 +0000)]
2005-05-19  Paul Brook  <paul@codesourcery.com>

* configure.in: Rewrite misleading error message when requested
language cannot be built.
* configure: Regenerate.

19 years ago* include/limits.h: Include features.h, as on linux.
Christopher Faylor [Thu, 19 May 2005 19:45:28 +0000 (19:45 +0000)]
* include/limits.h: Include features.h, as on linux.

19 years ago* include/endian.h: New file.
Christopher Faylor [Thu, 19 May 2005 19:44:31 +0000 (19:44 +0000)]
* include/endian.h: New file.

19 years ago * cygwin.sc: Add Dwarf-2 debug sections.
Corinna Vinschen [Thu, 19 May 2005 17:04:28 +0000 (17:04 +0000)]
* cygwin.sc: Add Dwarf-2 debug sections.

19 years ago * mmap.cc (mmap64): Make granularity an automatic variable.
Corinna Vinschen [Thu, 19 May 2005 08:43:17 +0000 (08:43 +0000)]
* mmap.cc (mmap64): Make granularity an automatic variable.

19 years ago * ppc.h (PPC_OPCODE_POWER5): Define.
Alan Modra [Thu, 19 May 2005 06:59:36 +0000 (06:59 +0000)]
* ppc.h (PPC_OPCODE_POWER5): Define.

19 years ago* fhandler.h (fhandler_cygdrive::seekdir): Delete declaration.
Christopher Faylor [Thu, 19 May 2005 05:43:55 +0000 (05:43 +0000)]
* fhandler.h (fhandler_cygdrive::seekdir): Delete declaration.
(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.

19 years ago2005-05-19 Kelley Cook <kcook@gcc.gnu.org>
R. Kelley Cook [Thu, 19 May 2005 03:50:19 +0000 (03:50 +0000)]
2005-05-19  Kelley Cook  <kcook@gcc.gnu.org>

* accross.m4: Delete file.

19 years ago* external.cc: Move pids declaration to file scope and use less enthusiastic
Christopher Faylor [Thu, 19 May 2005 01:25:20 +0000 (01:25 +0000)]
* external.cc: Move pids declaration to file scope and use less enthusiastic
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.

19 years ago* cygtls.h (_local_storage::unknown_thread_name): New buffer.
Christopher Faylor [Wed, 18 May 2005 23:30:02 +0000 (23:30 +0000)]
* cygtls.h (_local_storage::unknown_thread_name): New buffer.
* 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.

19 years agobinutils/ChangeLog
Ben Elliston [Wed, 18 May 2005 22:42:09 +0000 (22:42 +0000)]
binutils/ChangeLog
* 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.

19 years ago * mmap.cc (mmap64): Avoid compiler warning.
Corinna Vinschen [Wed, 18 May 2005 17:23:17 +0000 (17:23 +0000)]
* mmap.cc (mmap64): Avoid compiler warning.
* ntea.cc (NTReadEA): Ditto.
* hires.h (hires_base): Remove useless usecs function.

19 years ago * bfd/elf32-arm.c: Make all #ifndef OLD_ARM_ABI blocks
Zack Weinberg [Wed, 18 May 2005 16:48:15 +0000 (16:48 +0000)]
* bfd/elf32-arm.c: Make all #ifndef OLD_ARM_ABI blocks
unconditional.
* include/elf/arm.h: Make all #ifndef OLD_ARM_ABI blocks
unconditional, delete all #ifdef OLD_ARM_ABI blocks.

19 years ago2005-05-18 Brian Dessent <brian@dessent.net>
Brian Dessent [Wed, 18 May 2005 11:56:27 +0000 (11:56 +0000)]
2005-05-18  Brian Dessent  <brian@dessent.net>

* install.texinfo ("How do I uninstall..."): Rewrite to cover
removing services, dealing with permissions, and other common
tasks for removing Cygwin completely.

19 years ago * fhandler_netdrive.cc (fhandler_netdrive::telldir): Remove since it's
Corinna Vinschen [Wed, 18 May 2005 10:32:37 +0000 (10:32 +0000)]
* fhandler_netdrive.cc (fhandler_netdrive::telldir): Remove since it's
equivalent to fhandler_virtual::telldir now anyway.
* fhandler.h (class fhandler_netdrive): Remove telldir.

19 years ago * fhandler_netdrive.cc (fhandler_netdrive::telldir): Implement.
Corinna Vinschen [Wed, 18 May 2005 10:23:40 +0000 (10:23 +0000)]
* fhandler_netdrive.cc (fhandler_netdrive::telldir): Implement.
(fhandler_netdrive::seekdir): Implement.
(fhandler_netdrive::closedir): Call rewinddir to have only one point
of calling WNetCloseEnum.

19 years agoinclude/elf:
Zack Weinberg [Wed, 18 May 2005 05:40:10 +0000 (05:40 +0000)]
include/elf:
* 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.

19 years ago2005-05-17 Brian Dessent <brian@dessent.net>
Brian Dessent [Wed, 18 May 2005 01:10:06 +0000 (01:10 +0000)]
2005-05-17  Brian Dessent  <brian@dessent.net>

* 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.

19 years ago * fhandler.h (class fhandler_netdrive): Add method rewinddir.
Corinna Vinschen [Tue, 17 May 2005 20:34:15 +0000 (20:34 +0000)]
* fhandler.h (class fhandler_netdrive): Add method rewinddir.
* 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.

19 years ago * external.cc (cygwin_internal): Avoid compiler warning.
Corinna Vinschen [Tue, 17 May 2005 08:46:41 +0000 (08:46 +0000)]
* external.cc (cygwin_internal): Avoid compiler warning.

19 years agowhite space
Christopher Faylor [Tue, 17 May 2005 01:29:27 +0000 (01:29 +0000)]
white space

19 years ago* dcrt0.cc (dll_crt0_0): Don't do fixup_after_exec if dynamically loaded since
Christopher Faylor [Tue, 17 May 2005 01:27:31 +0000 (01:27 +0000)]
* dcrt0.cc (dll_crt0_0): Don't do fixup_after_exec if dynamically loaded since
the state of fds is unknown at this point.

19 years ago* cygcheck.cc (cygwin_internal): Define as a "C" function.
Christopher Faylor [Tue, 17 May 2005 01:26:16 +0000 (01:26 +0000)]
* cygcheck.cc (cygwin_internal): Define as a "C" function.
* strace.cc (cygwin_internal): Ditto.
* cygpath.cc (print_version): Update copyright.

19 years ago* include/sys/cygwin.h (enum cygwin_getinfo_types): Add CW_DEBUG_SELF.
Christopher Faylor [Tue, 17 May 2005 01:21:06 +0000 (01:21 +0000)]
* include/sys/cygwin.h (enum cygwin_getinfo_types): Add CW_DEBUG_SELF.
* external.cc (cygwin_internal): Implement CW_DEBUG_SELF.
* init.cc (dll_entry): Minor rearrangement of code.

19 years ago* path.cc (path_conv::check): Remove embedded dots before slashes.
Christopher Faylor [Tue, 17 May 2005 01:08:58 +0000 (01:08 +0000)]
* path.cc (path_conv::check): Remove embedded dots before slashes.

19 years ago * environ.cc (conv_envvars): Remove LD_LIBRARY_PATH entirely.
Corinna Vinschen [Mon, 16 May 2005 15:48:36 +0000 (15:48 +0000)]
* environ.cc (conv_envvars): Remove LD_LIBRARY_PATH entirely.
It doesn't belong here.

19 years ago* cygcheck.cc (load_cygwin): Avoid calling putenv with a NULL path.
Christopher Faylor [Mon, 16 May 2005 03:18:29 +0000 (03:18 +0000)]
* cygcheck.cc (load_cygwin): Avoid calling putenv with a NULL path.

19 years ago./
Daniel Jacobowitz [Sun, 15 May 2005 18:19:37 +0000 (18:19 +0000)]
./
* 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.

19 years ago * cygcheck.cc (load_cygwin): Don't touch $PATH for now.
Corinna Vinschen [Sun, 15 May 2005 12:29:47 +0000 (12:29 +0000)]
* cygcheck.cc (load_cygwin): Don't touch $PATH for now.
(print_version): Fix copyright.
* strace.cc (print_version): Ditto.

19 years ago * environ.cc (conv_envvars): Treat LD_LIBRARY_PATH as path list.
Corinna Vinschen [Sun, 15 May 2005 12:04:13 +0000 (12:04 +0000)]
* environ.cc (conv_envvars): Treat LD_LIBRARY_PATH as path list.

19 years ago * fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Check
Corinna Vinschen [Sat, 14 May 2005 21:12:10 +0000 (21:12 +0000)]
* fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Check
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.

19 years agoinclude/elf/
Alan Modra [Sat, 14 May 2005 05:07:15 +0000 (05:07 +0000)]
include/elf/
* 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.

19 years agoreally fix typo.
Christopher Faylor [Fri, 13 May 2005 22:40:19 +0000 (22:40 +0000)]
really fix typo.

19 years agofix typo
Christopher Faylor [Fri, 13 May 2005 22:09:32 +0000 (22:09 +0000)]
fix typo

19 years ago* path.cc (normalize_posix_path): Do normalization on . and .. after a '//'.
Christopher Faylor [Fri, 13 May 2005 21:05:46 +0000 (21:05 +0000)]
* path.cc (normalize_posix_path): Do normalization on .  and ..  after a '//'.

19 years ago Add missing ChangeLog entry.
Corinna Vinschen [Fri, 13 May 2005 21:01:32 +0000 (21:01 +0000)]
Add missing ChangeLog entry.

19 years ago * fhandler.h (fhandler_netdrive::readdir): Remove useless comment.
Corinna Vinschen [Fri, 13 May 2005 20:29:31 +0000 (20:29 +0000)]
* fhandler.h (fhandler_netdrive::readdir): Remove useless comment.

19 years ago * include/winnetwk.h (WNetGetResourceParentA): Add missing declaration.
Corinna Vinschen [Fri, 13 May 2005 20:28:00 +0000 (20:28 +0000)]
* include/winnetwk.h (WNetGetResourceParentA): Add missing declaration.
(WNetGetResourceParentW): Ditto.
* include/ddk/ntifs.h (FILE_ID_FULL_DIRECTORY_INFORMATION): Define.

19 years ago* mount.cc (mount_commands): Display "-X" option when appropriate.
Christopher Faylor [Fri, 13 May 2005 20:24:20 +0000 (20:24 +0000)]
* mount.cc (mount_commands): Display "-X" option when appropriate.

19 years ago * autoload.cc (WNetGetResourceParentA): Import.
Corinna Vinschen [Fri, 13 May 2005 20:20:02 +0000 (20:20 +0000)]
* autoload.cc (WNetGetResourceParentA): Import.
(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.

19 years agoRemove PC_FULL from path_conv usage throughout.
Christopher Faylor [Fri, 13 May 2005 15:46:07 +0000 (15:46 +0000)]
Remove PC_FULL from path_conv usage throughout.
* 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.

19 years ago* fhandler_netdrive.cc (fhandler_netdrive::exists): Assert that "//" exists.
Christopher Faylor [Fri, 13 May 2005 13:23:38 +0000 (13:23 +0000)]
* fhandler_netdrive.cc (fhandler_netdrive::exists): Assert that "//" exists.

19 years ago* cygtls.cc (_cygtls::remove): Eliminate compiler warning.
Christopher Faylor [Fri, 13 May 2005 03:21:39 +0000 (03:21 +0000)]
* cygtls.cc (_cygtls::remove): Eliminate compiler warning.
* 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.

19 years ago2005-05-12 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 12 May 2005 22:10:26 +0000 (22:10 +0000)]
2005-05-12  Jeff Johnston  <jjohnstn@redhat.com>

        * configure.host (mn10300-*): Add long long I/O support by default.

19 years ago2005-05-12 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 12 May 2005 22:06:26 +0000 (22:06 +0000)]
2005-05-12  Jeff Johnston  <jjohnstn@redhat.com>

        * 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.

19 years agomerge from gcc
DJ Delorie [Thu, 12 May 2005 20:00:35 +0000 (20:00 +0000)]
merge from gcc

19 years agoPR bootstrap/21230
DJ Delorie [Thu, 12 May 2005 16:35:35 +0000 (16:35 +0000)]
PR bootstrap/21230
* warnings.m4 (ACX_PROG_CC_WARNING_ALMOST_PEDANTIC): Add
double quotes around GCC variable.

19 years ago* dcrt0.cc (do_global_dtors): Don't call dll_global_dtors here.
Christopher Faylor [Wed, 11 May 2005 21:53:54 +0000 (21:53 +0000)]
* dcrt0.cc (do_global_dtors): Don't call dll_global_dtors here.
(__main): Reinstate atexit of do_global_dtors.
(cygwin_exit): Call dll_global_dtors here.
(do_exit): And here.

19 years ago * ppc.h (R_PPC_RELAX32, R_PPC_RELAX32PC, R_PPC_RELAX32_PLT,
Alan Modra [Wed, 11 May 2005 14:08:45 +0000 (14:08 +0000)]
* ppc.h (R_PPC_RELAX32, R_PPC_RELAX32PC, R_PPC_RELAX32_PLT,
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.

19 years ago* cygtls.cc (_cygtls::remove): Clear exitsock after close.
Christopher Faylor [Wed, 11 May 2005 03:33:38 +0000 (03:33 +0000)]
* cygtls.cc (_cygtls::remove): Clear exitsock after close.
* fhandler_console.cc (fhandler_console::write_normal): Store character in a
local variable for potential future inspection.

19 years ago * Makefile.in (DLL_OFILES): Add fhandler_mailslot.o.
Corinna Vinschen [Tue, 10 May 2005 20:56:07 +0000 (20:56 +0000)]
* Makefile.in (DLL_OFILES): Add fhandler_mailslot.o.
* 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.

19 years ago* dcrt0.cc (dll_crt0_1): Call cygwin_exit to ensure that destructors are
Christopher Faylor [Tue, 10 May 2005 16:08:46 +0000 (16:08 +0000)]
* dcrt0.cc (dll_crt0_1): Call cygwin_exit to ensure that destructors are
handled correctly.

19 years agoUpdate the address and phone number of the FSF organization
Nick Clifton [Tue, 10 May 2005 10:21:13 +0000 (10:21 +0000)]
Update the address and phone number of the FSF organization

19 years ago * path.cc (path_conv::check): Set correct file attributes for socket
Corinna Vinschen [Tue, 10 May 2005 09:08:20 +0000 (09:08 +0000)]
* path.cc (path_conv::check): Set correct file attributes for socket
files.

19 years ago * mingwex/math/nexttoward.c: New file.
Danny Smith [Tue, 10 May 2005 08:39:07 +0000 (08:39 +0000)]
* mingwex/math/nexttoward.c: New file.
* 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.

19 years ago * mingwex/math/nextafterf.c (nextafterf): Correct
Danny Smith [Mon, 9 May 2005 09:36:10 +0000 (09:36 +0000)]
* mingwex/math/nextafterf.c (nextafterf): Correct
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.

19 years agogas/
Jan Beulich [Mon, 9 May 2005 06:49:01 +0000 (06:49 +0000)]
gas/
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.

19 years ago2005-05-09 Pierre Humblet <pierre.humblet@ieee.org>
Pierre Humblet [Mon, 9 May 2005 02:39:34 +0000 (02:39 +0000)]
2005-05-09  Pierre Humblet <pierre.humblet@ieee.org>

        * fhandler.h (class fhandler_netdrive): New class.
        * fhandler_netdrive.cc (fhandler_netdrive::fhandler_netdrive): New constructor.
        (fhandler_netdrive::exists): New method.
        (fhandler_netdrive::fstat): Ditto.
        (fhandler_netdrive::readdir): Ditto.
        (fhandler_netdrive::open): Ditto.
        * dtable.cc (build_fh_pc): Handle case FH_NETDRIVE.
        * path.cc (isvirtual_dev): Add FH_NETDRIVE.
        (mount_info::conv_to_win32_path): Detect netdrive device and bypass mount
        search for network paths.

19 years ago* cygcheck.cc (nuke): New function.
Christopher Faylor [Mon, 9 May 2005 01:56:34 +0000 (01:56 +0000)]
* cygcheck.cc (nuke): New function.
(load_cygwin): New function.
(main): Use load_cygwin to load argv/envp from cygwin environment, if
appropriate.

19 years ago* strace.cc (attach_process): Don't call load_cygwin(). Assume that it's
Christopher Faylor [Mon, 9 May 2005 01:21:43 +0000 (01:21 +0000)]
* strace.cc (attach_process): Don't call load_cygwin().  Assume that it's
already happened.
(dotoggle): Ditto.
(main): Set argv from cygwin environment, if it exists.

19 years ago* dcrt0.cc (get_cygwin_startup_info): New function pulled from dll_crt0_0.
Christopher Faylor [Mon, 9 May 2005 01:19:38 +0000 (01:19 +0000)]
* dcrt0.cc (get_cygwin_startup_info): New function pulled from dll_crt0_0.
(dll_crt0_0): Use get_cygwin_startup_info to retrieve cygwin-specific startup
pointer.
* external.cc (cygwin_internal): Implement CW_ARGV and CW_ENVP.
* include/sys/cygwin.h: Implement CW_ARGV and CW_ENVP.

19 years ago* how-programming.texinfo: Replace MAKE_MODE entry with FAQ about execvp errors and...
Joshua Daniel Franklin [Sun, 8 May 2005 19:43:35 +0000 (19:43 +0000)]
* how-programming.texinfo: Replace MAKE_MODE entry with FAQ about execvp errors and cygexec.

19 years ago * mingwex/math/erfl.c: New file.
Danny Smith [Sun, 8 May 2005 08:07:18 +0000 (08:07 +0000)]
* mingwex/math/erfl.c: New file.
* mingwex/Makefile.i (MATH_DISTFILES): Add erfl.c.
(MATH_OBJS): Add erfl.o.
* include/math.h (erfl, erfcl): Uncomment prototypes.

19 years ago* path.cc (normalize_posix_path): Don't treat '//' specially since newer
Christopher Faylor [Sat, 7 May 2005 21:06:08 +0000 (21:06 +0000)]
* path.cc (normalize_posix_path): Don't treat '//' specially since newer
versions of bash now get this right.

19 years ago* devices.cc: Regenerate with correct name for dev_netdrive_storage.
Christopher Faylor [Sat, 7 May 2005 20:20:51 +0000 (20:20 +0000)]
* devices.cc: Regenerate with correct name for dev_netdrive_storage.

19 years agomove comment
Christopher Faylor [Fri, 6 May 2005 21:09:58 +0000 (21:09 +0000)]
move comment

19 years agofix breakpoint example
Christopher Faylor [Fri, 6 May 2005 21:09:35 +0000 (21:09 +0000)]
fix breakpoint example

19 years ago* Makefile.in (DLL_O_FILES): Add fhandler_netdrive.o.
Christopher Faylor [Fri, 6 May 2005 04:06:17 +0000 (04:06 +0000)]
* Makefile.in (DLL_O_FILES): Add fhandler_netdrive.o.
* fhandler_netdrive.cc: Placeholder file for future development.
* devices.h (FH_NETDRIVE): Define new virtual device type.
(netdrive_dev): Define.
* devices.in (dev_netdrive_storage): Define.
* devices.cc: Regenerate.

19 years ago2005-05-05 Tobias Anderberg <tobias.anderberg@axis.com>
Jeff Johnston [Thu, 5 May 2005 23:15:53 +0000 (23:15 +0000)]
2005-05-05  Tobias Anderberg  <tobias.anderberg@axis.com>

        * arm/syscalls.c (get_errno): Fix output register constraint.

19 years ago2005-05-05 J"orn Rennecke <joern.rennecke@st.com>
Jeff Johnston [Thu, 5 May 2005 23:07:08 +0000 (23:07 +0000)]
2005-05-05  J"orn Rennecke <joern.rennecke@st.com>

        * rs6000/sim-getrusage.S: New file, broken out of:
        (simulator.S).
        * rs6000/Makefile.in (SIM_OBJS): Add sim-getrusage.o.
        (sim-getrusage.o): New rule.

19 years ago * configure.in: Always pass --target to target configures as
Mike Stump [Thu, 5 May 2005 01:36:32 +0000 (01:36 +0000)]
    * configure.in: Always pass --target to target configures as
        otherwise rebuilds that do --recheck will fail.
        * confiugure: Rebuilt.

19 years ago2005-05-04 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Wed, 4 May 2005 15:42:05 +0000 (15:42 +0000)]
2005-05-04  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl (POSTSTAGE1_HOST_EXPORTS): Rename from
STAGE_HOST_EXPORTS.
(configure, all): Add bootstrap support.
(Host modules, target modules): Pass post-stage1 flags and exports.
(Top-level bootstrap): Remove bootstrap rules, expanded elsewhere.
* Makefile.in: Regenerate.

19 years ago * cygerrno.h (__set_errno): Remove useless parentheses.
Corinna Vinschen [Wed, 4 May 2005 11:05:11 +0000 (11:05 +0000)]
* cygerrno.h (__set_errno): Remove useless parentheses.

19 years ago * cygerrno.h (__set_errno): Define as inline function here.
Corinna Vinschen [Wed, 4 May 2005 11:00:22 +0000 (11:00 +0000)]
* cygerrno.h (__set_errno): Define as inline function here.
(set_errno): Always define as call to __set_errno.
* debug.cc (__set_errno): Move to cygerrno.h.

19 years ago * include/wchar.h (WCHAR_MAX): Define as 0xffff, so preprocessor
Danny Smith [Wed, 4 May 2005 09:29:09 +0000 (09:29 +0000)]
* include/wchar.h (WCHAR_MAX): Define as 0xffff, so preprocessor
#if (WCHAR_MAX <= WCHAR_MIN) is false.
* include/stdint.h (WCHAR_MAX): Likwise.
(WINT_MAX): Likewise.

19 years ago* shared.cc (user_shared_initialize): Rework locking so that nothing is checked
Christopher Faylor [Wed, 4 May 2005 01:20:05 +0000 (01:20 +0000)]
* shared.cc (user_shared_initialize): Rework locking so that nothing is checked
until cb is non-zero.

19 years ago* shared.cc (user_shared_initialize): Rework locking so that nothing is checked
Christopher Faylor [Wed, 4 May 2005 01:14:47 +0000 (01:14 +0000)]
* shared.cc (user_shared_initialize): Rework locking so that nothing is checked
until cb is non-zero.

19 years ago * fhandler_disk_file.cc (fhandler_disk_file::fchmod): Don't treat
Corinna Vinschen [Tue, 3 May 2005 19:03:20 +0000 (19:03 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fchmod): Don't treat
inability to open file as failure if only SetFileAttributes is
going to be called.  Only call set_file_attribute if really necessary.

19 years ago * fhandler_socket.cc (get_inet_addr): Add missing __seterrno call.
Corinna Vinschen [Tue, 3 May 2005 14:07:19 +0000 (14:07 +0000)]
* fhandler_socket.cc (get_inet_addr): Add missing __seterrno call.

19 years ago * mingwex/math/signbit.c (__signbit): Make return value
Danny Smith [Tue, 3 May 2005 08:39:19 +0000 (08:39 +0000)]
* mingwex/math/signbit.c (__signbit):  Make return value
consistent with GCC's __builtin_signbit.
* mingwex/math/signbitf.c (__signbitf):  Likewise.
* mingwex/math/signbitf.c (__signbitl):  Likewise.
* include/math.h (__signbit, __signbitf, __signbitl): Likewise
for inlines.

19 years ago * include/_mingw.h (__MINGW_ATTRIB_NONNULL): Don't define as
Danny Smith [Mon, 2 May 2005 08:03:34 +0000 (08:03 +0000)]
* include/_mingw.h (__MINGW_ATTRIB_NONNULL): Don't define as
variadic macro.
* mingwex/mbrtowc.c (__mbrtowc_cp): Use __MINGW_ATTRIB_NONNULL.
Remove unused MBTOWC_FLAGS define.

19 years agowhite space and minor comment cleanup.
Christopher Faylor [Mon, 2 May 2005 03:50:11 +0000 (03:50 +0000)]
white space and minor comment cleanup.

19 years ago* fhandler_tty.cc (fhandler_tty_slave::read): Actually read input when vmin ==
Christopher Faylor [Mon, 2 May 2005 00:17:45 +0000 (00:17 +0000)]
* fhandler_tty.cc (fhandler_tty_slave::read): Actually read input when vmin ==
vtime == 0.

19 years ago* mount.cc (usage): Clarify action of -m option.
Christopher Faylor [Sun, 1 May 2005 15:50:02 +0000 (15:50 +0000)]
* mount.cc (usage): Clarify action of -m option.

19 years ago* environ.cc (spenv::force_into_environment): Rename from add_always.
Christopher Faylor [Sat, 30 Apr 2005 17:07:05 +0000 (17:07 +0000)]
* environ.cc (spenv::force_into_environment): Rename from add_always.
(spenv::add_if_exists): Rename from force.
(build_env): Accommodate name changes.  Make sure that stuff that is always
supposed to be in the environment is actually added to the environment.
* shared.cc (open_shared): Restore VirtualFree eliminated by 2005-04-28 change.

19 years ago* errno.cc (errmap): Sort table.
Christopher Faylor [Sat, 30 Apr 2005 04:10:39 +0000 (04:10 +0000)]
* errno.cc (errmap): Sort table.

19 years ago* errno.cc (errmap): Map ERROR_NETNAME_DELETED to ENOSHARE.
Christopher Faylor [Sat, 30 Apr 2005 03:40:26 +0000 (03:40 +0000)]
* errno.cc (errmap): Map ERROR_NETNAME_DELETED to ENOSHARE.

19 years ago* path.cc (getmntent): Add previously-omitted 'noexec' and 'managed'flags to
Dave Korn [Fri, 29 Apr 2005 16:39:34 +0000 (16:39 +0000)]
* path.cc (getmntent): Add previously-omitted 'noexec' and 'managed'flags to
mnt_opts string if present in mount flags.

19 years ago2005-04-29 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Fri, 29 Apr 2005 14:00:03 +0000 (14:00 +0000)]
2005-04-29  Paolo Bonzini  <bonzini@gnu.org>

Sync from gcc:

2005-04-22  Bernd Schmidt  <bernd.schmidt@analog.com>

        * config.sub: Update from master copy.

2005-04-19  Hans-Peter Nilsson  <hp@axis.com>

        * configure.in <crisv32-*-*, cris-*-*>: New local variable
        libgcj_ex_libffi.  Have specific match for *-*-linux*.  Separate
        matches for "*-*-aout" and "*-*-elf".  Don't disable libffi for
        "*-*-elf" and "*-*-linux*".
        * configure: Regenerate.

config:
2005-04-29  Paolo Bonzini  <bonzini@gnu.org>

* acx.m4 (ACX_PROG_GNAT): Remove stray break.

19 years ago* shared_info.h (cygwin_shared_address): Bump to a higher value to avoid
Christopher Faylor [Thu, 28 Apr 2005 23:59:44 +0000 (23:59 +0000)]
* shared_info.h (cygwin_shared_address): Bump to a higher value to avoid
collision with large data areas.
* fhandler_console.cc (fhandler_console::get_tty_stuff): Accommodate changes to
open_shared arguments.
* fhandler_tape.cc (mtinfo_init): Ditto.
* pinfo.cc (pinfo::init): Use open_shared rather than win32 mmap calls.
* shared.cc (user_shared_initialize): Ditto.
(memory_init): Ditto.
(open_shared): Change to allow use a smore general mmap handler.
* shared_info.h (shared_locations): Add SH_JUSTCREATE, SH_JUSTOPEN.
(open_shared): Change declaration to match new usage.
* autoload.cc (LoadDLLfuncEx2): Define in terms of LoadDLLfuncEx3.
(LoadDLLfuncEx3): New macro.

19 years ago2005-04-28 Shaun Jackman <sjackman@gmail.com>
Jeff Johnston [Thu, 28 Apr 2005 18:40:39 +0000 (18:40 +0000)]
2005-04-28  Shaun Jackman  <sjackman@gmail.com>

        * libgloss/syscalls.c (get_errno): Add an output register constraint.

This page took 0.070526 seconds and 5 git commands to generate.