summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * path.cc (mount): Do more strict checking on posix path arguments.Christopher Faylor2003-06-172-2/+15
|
* merge from gccDJ Delorie2003-06-172-11/+4
|
* Throughout, remove "include <errno.h>" from files which already includeChristopher Faylor2003-06-1683-91/+65
| | | | | | | | | | | | | | | | | | | cygerrno.h. * include/cygwin/config.h (__DYNAMIC_REENT__): Define. * include/cygwin/version.h: Bump API minor version. * cygwin.din: Export __getreent * cygerrno.h: Include errno.h. Fix places where _impure_ptr is used directly to store the errno value. * debug.cc (__set_errno): Ditto. * errno.cc: Remove _RRENT_ONLY define to get errno.cc compiled. * signal.cc: Rename _reent_clib to _REENT throughout. * thread.h (reent_clib): Remove prototype. * thread.cc (reent_clib): Rename reent_clib to __getreent. Return _impure_ptr until MTinterface is initialized. (reent_winsup): Fix a possible SEGV when _r == NULL. Return NULL instead. * MTinterface::fixup_after_fork: Switch reent back to _impure_ptr to keep signal handling running when fork is called from a thread other than the mainthread.
* 2003-06-14 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2003-06-143-8/+15
| | | | | * config.guess: Update to 2003-06-12 version. * config.sub: Update to 2003-06-13 version.
* (GNU_ABI_TAG_NETBSD): New tag.Nick Clifton2003-06-132-0/+7
| | | | (GNU_ABI_TAG_FREEBSD): New tag.
* * cygcheck.cc (pretty_id): Rework slightly to not rely on spaces.Christopher Faylor2003-06-132-7/+11
|
* clarifyChristopher Faylor2003-06-131-1/+2
|
* Throughout, always return error when GetShortPathName returns 0.Christopher Faylor2003-06-122-3/+7
|
* * thread.cc (pthread_attr_init): Revert change from 2003-06-11Thomas Pfaff2003-06-122-4/+12
| | | | | | | to return 0 if attribute is already initialized back to EBUSY. (pthread_condattr_init): Ditto. (pthread_rwlockattr_init): Ditto. (pthread_mutexattr_init): Ditto.
* * MAINTAINERS: Add myself as MIPS co-maintainer.Thiemo Seufer2003-06-121-0/+4
|
* Merge these:DJ Delorie2003-06-125-75/+75
| | | | | | | | | | | | | | 2003-06-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> * configure.in: Don't pass --with-stabs for mips*-sgi-irix6*o32. * configure. Regenerate. 2003-06-10 Nathanael Nerode <neroden@gcc.gnu.org> * configure.in: Disable serial configure by default. * configure: Regenerate. * Makefile.tpl: Abolish .NOTPARALLEL. * Makefile.in: Regenerate.
* 2003-06-12 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2003-06-123-7/+25
| | | | | * config.guess: Update to 2003-06-06 version. * config.sub: Update to 2003-06-06 version.
* * exceptions.cc (ctrl_c_handler): Don't send a signal onCorinna Vinschen2003-06-122-0/+11
| | | | CTRL_SHUTDOWN_EVENT. Add a comment to rationalize the patch.
* * thread.cc (pthread_attr_init): Return 0 if attribute is already initialized.Thomas Pfaff2003-06-112-10/+23
| | | | | | | Fix return code if out of memory. (pthread_condattr_init): Ditto. (pthread_rwlockattr_init): Ditto. (pthread_mutexattr_init): Return 0 if attribute is already initialized.
* Fix typoNick Clifton2003-06-112-1/+6
|
* * Makefile.tpl: Replace {build,host,target}_canonical byNathanael Nerode2003-06-103-44/+30
| | | | | {build,host,target}. * Makefile.in: Regenerate.
* Commit iq2000 portAnthony Green2003-06-1010-0/+2650
|
* * gdb/fileio.h: New file.Corinna Vinschen2003-06-102-0/+150
|
* * Makefile.tpl: Fix stupid pasto.Nathanael Nerode2003-06-103-5/+10
| | | | * Makefile.in: Regenerate.
* * libc/sys/h8300hms/setarch.h: New file.Richard Sandiford2003-06-1010-53/+32
| | | | | | | * libc/sys/h8300hms/close.S, libc/sys/h8300hms/fstat.S, libc/sys/h8300hms/lseek.S, libc/sys/h8300hms/open.S, libc/sys/h8300hms/read.S, libc/sys/h8300hms/stat.S, libc/sys/h8300hms/write.S, libc/sys/h8300hms/crt0.S: Use it.
* Add "attn", "lq" and "stq" power4 insns.Alan Modra2003-06-102-113/+120
|
* include/opcode/Richard Sandiford2003-06-102-7/+15
| | | | | | | | | | * h8300.h (IMM4_NS, IMM8_NS): New. (h8_opcodes): Replace IMM4 with IMM4_NS in mov.b and mov.w entries. Likewise IMM8 for mov.w and mov.l. Likewise IMM16U for mov.l. gas/testsuite * gas/h8300/h8sx_mov_imm.[sd]: New test. * gas/h8300/h8300.exp: Run it.
* include/elf/Richard Sandiford2003-06-102-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | * h8.h (E_H8_MACH_H8300SXN): New flag. bfd/ * archures.c (bfd_mach_h8300sxn): New architecture. * bfd-in2.h: Regenerate. * cpu-h8300.c (h8300_scan): Check for 'sxn'. (h8300sxn_info_struct): New. (h8300sx_info_struct): Link to it. * elf32-h8300.c (elf32_h8_mach): Add h8300sxn case. (elf32_h8_final_write_processing): Likewise. gas/ * config/tc-h8300.c (h8300sxnmode): New. (md_pseudo_table): Add .h8300sxn entry. Sync others with FSF version. ld/ * configure.tgt (h8300*): Add h8300sxn emulations. * Makefile.am (ALL_EMULATIONS): Add eh8300sxn.o and eh8300sxnelf.o. (eh8300sxn.c, eh8300sxnelf.c): New rules. * Makefile.in: Regenerate. * emulparams/h8300sxnelf.sh, emulparams/h8300sxn.sh: New files.
* * Makefile.tpl: Remove bogus conditional.Nathanael Nerode2003-06-103-804/+709
| | | | * Makefile.in: Regenerate.
* * spawn.cc (spawn_guts): Call CreateProcess while impersonated,Corinna Vinschen2003-06-094-20/+50
| | | | | | | | | | when the real {u,g}ids and the groups are original. Move RevertToSelf and ImpersonateLoggedOnUser to the main line. * uinfo.cc (uinfo_init): Reorganize. If CreateProcess was called while impersonated, preserve the uids and gids and call ImpersonateLoggedOnUser. Preserve the uids and gids on Win9X. * exceptions.cc (error_start_init): Quote the pgm in the command.
* fix typoChristopher Faylor2003-06-071-1/+1
|
* * poll.cc: Define FD_SETSIZE to ridiculously large number so that there will beChristopher Faylor2003-06-072-0/+6
| | | | no artificially large limits.
* * fhandler_tty.cc (fhandler_tty_slave::close): Free the console when last ttyChristopher Faylor2003-06-072-1/+7
| | | | closes.
* * fhandler_socket.cc (fhandler_socket::connect): Change errorThomas Pfaff2003-06-072-6/+14
| | | | | handling for nonblocking connects to return EALREADY when connect is called more than once for the same socket.
* 2003-06-06 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-06-0643-103/+211
| | | | | | | | | | | | | | | | | | | | | | | | | | * libc/argz/argz_add.c: Change to use _DEFUN macro for function definition. * libc/argz/argz_add_sep.c: Ditto. * libc/argz/argz_append.c libc/argz/argz_count.c: Ditto. * libc/argz/argz_create.c libc/argz/argz_create_sep.c: Ditto. * libc/argz/argz_delete.c libc/argz/argz_extract.c: Ditto. * libc/argz/argz_insert.c libc/argz/argz_next.c: Ditto. * libc/argz/argz_replace.c libc/argz/argz_stringify.c: Ditto. * libc/argz/envz_add.c libc/argz/envz_entry.c: Ditto. * libc/argz/envz_get.c libc/argz/envz_merge.c: Ditto. * libc/argz/envz_remove.c libc/argz/envz_strip.c: Ditto. * libc/locale/nl_langinfo.c libc/misc/ffs.c: Ditto. * libc/posix/closedir.c libc/posix/creat.c: Ditto. * libc/posix/execl.c libc/posix/execle.c: Ditto. * libc/posix/execlp.c libc/posix/execve.c: Ditto. * libc/posix/isatty.c libc/posix/opendir.c: Ditto. * libc/posix/popen.c libc/posix/readdir.c: Ditto. * libc/posix/readdir_r.c libc/posix/rewinddir.c: Ditto. * libc/posix/scandir.c libc/posix/seekdir.c: Ditto. * libc/posix/telldir.c libc/search/hcreate.c: Ditto. * libc/search/tdelete.c libc/search/tdestroy.c: Ditto. * libc/search/tfind.c libc/search/tsearch.c: Ditto. * libc/search/twalk.c libc/signal/signal.c: Ditto.
* iq2000 port.Anthony Green2003-06-0636-0/+2302
|
* New structure containing fields used by the on_exit() function.Nick Clifton2003-06-066-27/+84
| | | | | (struct _atexit): Include struct _on_exit_args. For _REENT_SMALL do his via a pointer that is initialised when needed.
* * cygwin.din: Add vsyslog.Corinna Vinschen2003-06-066-7/+28
| | | | | | | | | | * fhandler.cc (fhandler_base::write): Only make file sparse if the seeked area is >= 128K. * syslog.cc (vsyslog): New function, overtaking functionality from syslog. (syslog): Just call vsyslog. * include/cygwin/version.h: Bump API minor. * include/sys/syslog.h: Add vsyslog declaration.
* 2003-06-06 Danny Smith <dannysmith@users.sourceforge.net>Danny Smith2003-06-065-2/+162
| | | | | | | | | | | | | | * lib/test.c: #include <powerprof.h>. 2003-06-06 James E. Lucas <xelloss@sourceforge.net> * include/powerprof.h: New file. * lib/powerprof.def: New file. 2003-06-06 Danny Smith <dannysmith@users.sourceforge.net> * include/winnt (SLIST_HEADER): Add C90 anonymous struct protection.
* * cygthread.cc (cygthread::terminate_thread): Change system_printf toChristopher Faylor2003-06-052-1/+6
| | | | debug_printf.
* 2003-06-03 Michael Snyder <msnyder@redhat.com>Michael Snyder2003-06-052-24/+48
| | | | | | | | | * h8sx.h (enum h8_model): Add AV_H8S to distinguish from H8H. (ldc): Split ccr ops from exr ops (which are only available on H8S or H8SX). (stc): Ditto. (andc, orc, xorc): Ditto. (ldmac, stmac, clrmac, mac): Change access to AV_H8S.
* * include/winuser.h (WNDCLASS[AW], WNDCLASSEX[AW]): Change type ofLuke Dunstan2003-06-052-4/+10
| | | | | hInstance members to HINSTANCE. Thanks to: Brenden T. <brenden@rcsis.com>
* * shared.cc (shared_info::heap_chunk_size): Be really defensive about makingChristopher Faylor2003-06-052-0/+7
| | | | sure that heap_chunk is set.
* 2003-06-05 Bart Oldeman <bartoldeman@users.sourceforge.net>Danny Smith2003-06-053-2/+8
| | | | | * include/lmaccess.h (UF_MNS_LOGON_ACCOUNT): Add define. * include/wingdi.h (LPRGBTRIPLE, LPRGBQUAD): Add typedefs.
* * path.cc (conv_path_list): Use correct value when calculating length to avoidChristopher Faylor2003-06-042-1/+6
| | | | a potential SEGV.
* 2003-06-04 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-06-043-4/+7
| | | | | * libc/sys/linux/net/Makefile.am: Remove extraneous markers. * libc/sys/linux/net/Makefile.in: Regenerated.
* 2003-06-03 Pierre Humblet <pierre.humblet@ieee.org>Pierre Humblet2003-06-042-25/+17
| | | | | | | * fhandler_disk_file.cc (fhandler_disk_file::fstat): Mark the pc as non-executable if the file cannot be opened for read. Retry query open only if errno is EACCES. Never change the mode, even if it is 000 when query open() fails.
* * configure.in: Allow any i?86 variant.Christopher Faylor2003-06-041-0/+5
| | | | * configure: Regenerate.
* binutils/Jakub Jelinek2003-06-033-0/+14
| | | | | | | | | | | | | | | | | | | | * readelf.c (get_segment_type): Handle PT_GNU_STACK. bfd/ * elf.c (_bfd_elf_print_private_bfd_data): Handle PT_GNU_STACK. (bfd_section_from_phdr): Likewise. (map_sections_to_segments): Create PT_GNU_STACK segment header. (get_program_header_size): Count with PT_GNU_STACK. * elf-bfd.h (struct elf_obj_tdata): Add stack_flags. * elflink.h (bfd_elfNN_size_dynamic_sections): Set stack_flags. include/ * bfdlink.h (struct bfd_link_info): Add execstack and noexecstack. * elf/common.h (PT_GNU_STACK): Define. ld/ * ldgram.y (phdr_type): Grok PT_GNU_STACK. * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add -z execstack and -z noexecstack. (gld${EMULATION_NAME}_list_options): Likewise. * scripttempl/elf.sc: If not -r, discard .note.GNU-stack section.
* 2003-06-03 Michael Snyder <msnyder@redhat.com>Michael Snyder2003-06-032-545/+1814
| | | | | | and Bernd Schmidt <bernds@redhat.com> and Alexandre Oliva <aoliva@redhat.com> * h8300.h: Add support for h8300sx instruction set.
* * Makefile.tpl: Make 'recursive targets' using autogen ratherNathanael Nerode2003-06-036-667/+16693
| | | | | | | | | | | than shell loop. Remove duplicate 'clean' targets and false comments. * Makefile.def: Add systematic dependencies to 'recursive' targets. Add systematic method of specifying missing targets in subdirs. Add copyright boilerplate. * Makefile.in: Regenerate. * configure.in: Add 'recursive targets' to maybe list. * configure: Regenerate.
* 2003-06-03 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-06-0335-126/+165
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libc/reent/execr.c: Use _DEFUN macro for function declaration. * libc/reent/fcntlr.c: Ditto. * libc/reent/fstat64r.c: Ditto. * libc/reent/linkr.c: Ditto. * libc/reent/lseek64r.c: Ditto. * libc/reent/lseekr.c: Ditto. * libc/reent/openr.c: Ditto. * libc/reent/readr.c: Ditto. * libc/reent/reent.c: Ditto. * libc/reent/sbrkr.c: Ditto. * libc/reent/signalr.c: Ditto. * libc/reent/signgam.c: Ditto. * libc/reent/statr.c: Ditto. * libc/reent/timer.c: Ditto. * libc/reent/unlinkr.c: Ditto. * libc/reent/writer.c: Ditto. * libc/syscalls/sysclose.c: Ditto. * libc/syscalls/sysexecve.c: Ditto. * libc/syscalls/sysfcntl.c: Ditto. * libc/syscalls/sysfork.c: Ditto. * libc/syscalls/sysfstat.c: Ditto. * libc/syscalls/sysgetpid.c: Ditto. * libc/syscalls/sysgettod.c: Ditto. * libc/syscalls/syskill.c: Ditto. * libc/syscalls/syslink.c: Ditto. * libc/syscalls/syslseek.c: Ditto. * libc/syscalls/sysopen.c: Ditto. * libc/syscalls/sysread.c: Ditto. * libc/syscalls/syssbrk.c: Ditto. * libc/syscalls/sysstat.c: Ditto. * libc/syscalls/systimes.c: Ditto. * libc/syscalls/sysunlink.c: Ditto. * libc/syscalls/syswait.c: Ditto.
* 2003-06-03 Till Straumann <strauman@SLAC.Stanford.EDU>Jeff Johnston2003-06-032-1/+8
| | | | | | * libc/time/tzset_r.c: Change local variables that are set via sscanf using the %h format specifier to be unsigned short instead of int.
* bfd/H.J. Lu2003-06-032-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-03 H.J. Lu <hongjiu.lu@intel.com> * elflink.h (elf_link_input_bfd): Call linker error_handler for discarded definitions. include/ 2003-06-03 H.J. Lu <hongjiu.lu@intel.com> * bfdlink.h (LD_DEFINITION_IN_DISCARDED_SECTION): New. ld/ 2003-06-03 H.J. Lu <hongjiu.lu@intel.com> * ldmisc.c: Include "bfdlink.h". (error_handler): Handle LD_DEFINITION_IN_DISCARDED_SECTION and -LD_DEFINITION_IN_DISCARDED_SECTION. * Makefile.am: Rebuild dependency. * Makefile.in: Regenerated. ld/testsuite/ 2003-06-03 H.J. Lu <hongjiu.lu@intel.com> * ld-discard/extern.d: Updated. * ld-discard/start.d: Likewise. * ld-discard/static.d: Likewise.
* * configure.in: Allow any i?86 variant.Christopher Faylor2003-06-032-2/+2
| | | | * configure: Regenerate.