aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-06-17 * msvcrt.def.in (__badioinfo, __lc_codepage, __lc_handle,Danny Smith2-7/+14
__pioinfo, __setlc_active, _unguarded_readlc_active, _dstbias): Mark as DATA.
2003-06-17 (sync with gcc)Nathanael Nerode3-4/+5
* Makefile.tpl: Remove BUILD_CC stuff. * Makefile.in: Regenerate.
2003-06-17* path.cc (mount): Do more strict checking on posix path arguments.Christopher Faylor2-2/+15
2003-06-17merge from gccDJ Delorie2-11/+4
2003-06-16Throughout, remove "include <errno.h>" from files which already includeChristopher Faylor83-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-142003-06-14 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-8/+15
* config.guess: Update to 2003-06-12 version. * config.sub: Update to 2003-06-13 version.
2003-06-13(GNU_ABI_TAG_NETBSD): New tag.Nick Clifton2-0/+7
(GNU_ABI_TAG_FREEBSD): New tag.
2003-06-13* cygcheck.cc (pretty_id): Rework slightly to not rely on spaces.Christopher Faylor2-7/+11
2003-06-13clarifyChristopher Faylor1-1/+2
2003-06-12Throughout, always return error when GetShortPathName returns 0.Christopher Faylor2-3/+7
2003-06-12* thread.cc (pthread_attr_init): Revert change from 2003-06-11Thomas Pfaff2-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.
2003-06-12 * MAINTAINERS: Add myself as MIPS co-maintainer.Thiemo Seufer1-0/+4
2003-06-12Merge these:DJ Delorie5-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-122003-06-12 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-7/+25
* config.guess: Update to 2003-06-06 version. * config.sub: Update to 2003-06-06 version.
2003-06-12 * exceptions.cc (ctrl_c_handler): Don't send a signal onCorinna Vinschen2-0/+11
CTRL_SHUTDOWN_EVENT. Add a comment to rationalize the patch.
2003-06-11* thread.cc (pthread_attr_init): Return 0 if attribute is already initialized.Thomas Pfaff2-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.
2003-06-11Fix typoNick Clifton2-1/+6
2003-06-10 * Makefile.tpl: Replace {build,host,target}_canonical byNathanael Nerode3-44/+30
{build,host,target}. * Makefile.in: Regenerate.
2003-06-10Commit iq2000 portAnthony Green10-0/+2650
2003-06-10 * gdb/fileio.h: New file.Corinna Vinschen2-0/+150
2003-06-10 * Makefile.tpl: Fix stupid pasto.Nathanael Nerode3-5/+10
* Makefile.in: Regenerate.
2003-06-10 * libc/sys/h8300hms/setarch.h: New file.Richard Sandiford10-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.
2003-06-10Add "attn", "lq" and "stq" power4 insns.Alan Modra2-113/+120
2003-06-10include/opcode/Richard Sandiford2-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.
2003-06-10include/elf/Richard Sandiford2-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.
2003-06-10 * Makefile.tpl: Remove bogus conditional.Nathanael Nerode3-804/+709
* Makefile.in: Regenerate.
2003-06-09 * spawn.cc (spawn_guts): Call CreateProcess while impersonated,Corinna Vinschen4-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.
2003-06-07fix typoChristopher Faylor1-1/+1
2003-06-07* poll.cc: Define FD_SETSIZE to ridiculously large number so that there will beChristopher Faylor2-0/+6
no artificially large limits.
2003-06-07* fhandler_tty.cc (fhandler_tty_slave::close): Free the console when last ttyChristopher Faylor2-1/+7
closes.
2003-06-07* fhandler_socket.cc (fhandler_socket::connect): Change errorThomas Pfaff2-6/+14
handling for nonblocking connects to return EALREADY when connect is called more than once for the same socket.
2003-06-062003-06-06 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston43-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.
2003-06-06iq2000 port.Anthony Green36-0/+2302
2003-06-06New structure containing fields used by the on_exit() function.Nick Clifton6-27/+84
(struct _atexit): Include struct _on_exit_args. For _REENT_SMALL do his via a pointer that is initialised when needed.
2003-06-06 * cygwin.din: Add vsyslog.Corinna Vinschen6-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-062003-06-06 Danny Smith <dannysmith@users.sourceforge.net>Danny Smith5-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.
2003-06-05* cygthread.cc (cygthread::terminate_thread): Change system_printf toChristopher Faylor2-1/+6
debug_printf.
2003-06-052003-06-03 Michael Snyder <msnyder@redhat.com>Michael Snyder2-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.
2003-06-05 * include/winuser.h (WNDCLASS[AW], WNDCLASSEX[AW]): Change type ofLuke Dunstan2-4/+10
hInstance members to HINSTANCE. Thanks to: Brenden T. <brenden@rcsis.com>
2003-06-05* shared.cc (shared_info::heap_chunk_size): Be really defensive about makingChristopher Faylor2-0/+7
sure that heap_chunk is set.
2003-06-052003-06-05 Bart Oldeman <bartoldeman@users.sourceforge.net>Danny Smith3-2/+8
* include/lmaccess.h (UF_MNS_LOGON_ACCOUNT): Add define. * include/wingdi.h (LPRGBTRIPLE, LPRGBQUAD): Add typedefs.
2003-06-04* path.cc (conv_path_list): Use correct value when calculating length to avoidChristopher Faylor2-1/+6
a potential SEGV.
2003-06-042003-06-04 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston3-4/+7
* libc/sys/linux/net/Makefile.am: Remove extraneous markers. * libc/sys/linux/net/Makefile.in: Regenerated.
2003-06-042003-06-03 Pierre Humblet <pierre.humblet@ieee.org>Pierre Humblet2-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.
2003-06-04* configure.in: Allow any i?86 variant.Christopher Faylor1-0/+5
* configure: Regenerate.
2003-06-03binutils/Jakub Jelinek3-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-032003-06-03 Michael Snyder <msnyder@redhat.com>Michael Snyder2-545/+1814
and Bernd Schmidt <bernds@redhat.com> and Alexandre Oliva <aoliva@redhat.com> * h8300.h: Add support for h8300sx instruction set.
2003-06-03 * Makefile.tpl: Make 'recursive targets' using autogen ratherNathanael Nerode6-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-032003-06-03 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston35-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-032003-06-03 Till Straumann <strauman@SLAC.Stanford.EDU>Jeff Johnston2-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.