summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 2004-05-09 Pierre Humblet <pierre.humblet@ieee.org>Pierre Humblet2004-05-092-11/+17
| | | | | * environ.cc (build_env): Only try to construct required-but-missing variables while issetuid.
* * libc/include/machine/endian.h: Add missing endif.Aldy Hernandez2004-05-081-0/+1
|
* * syscalls.cc: Include environ.h.Christopher Faylor2004-05-083-11/+14
| | | | | (chroot): Set errno in case of path error. Call getwinenv. * environ.cc: Remove the NO_COPY attribute of conv_envvars.
* * fhandler_mem.cc (fhandler_dev_mem::fhandler_dev_mem): MoveCorinna Vinschen2004-05-072-19/+19
| | | | | initialization of "mem_size" from here... (fhandler_dev_mem::open): ...to here. Fix typo in FH_PORT case.
* 2004-05-07 Artem B. Bityuckiy <abitytsky@softminecorp.com>Jeff Johnston2004-05-074-7/+54
| | | | | | | | | | * libc/stdio/iprintf.c (_iprintf_r): Fix old-style argument list for reentrant pointer. Call _vfiprintf_r. * libc/stdio/siprintf.c (_siprintf_r): New function. * libc/stdio/vfprintf.c (__sbprintf): Add reetrant struct pointer argument. Change all callers. Call _VFPRINTF_R. * libc/include/stdio.h (_siprintf_r, _vfiprintf_r): New prototypes.
* 2004-05-07 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2004-05-072-0/+13
| | | | | | | | | | | | * libc/include/sys/param.h: Remove endian info and include <machine/endian.h> instead. * libc/include/machine/endian.h: New file. * libc/include/machine/param.h: Ditto. * libc/machine/arm/machine/endian.h: Ditto. * libc/machine/arm/machine/param.h: Ditto. * libc/sys/arm/sys/param.h: Removed. * libc/sys/sysvi386/sys/param.h: Ditto. * libc/sys/rtems/sys/param.h: Modified to include <machine/endian.h>.
* 2004-05-07 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2004-05-076-45/+42
| | | | | | | | | | | * libc/include/sys/param.h: Remove endian info and include <machine/endian.h> instead. * libc/include/machine/endian.h: New file. * libc/machine/arm/machine/endian.h: Ditto. * libc/machine/arm/machine/param.h: Ditto. * libc/sys/arm/sys/param.h: Removed. * libc/sys/sysvi386/sys/param.h: Ditto. * libc/sys/rtems/sys/param.h: Modified to include <machine/endian.h>.
* * fhandler_dsp.cc (fhandler_dev_dsp::Audio_out::stop): Move delete ofCorinna Vinschen2004-05-072-10/+23
| | | | | | | bigwavebuffer_ so that it is always cleaned, also in child processes. (fhandler_dev_dsp::Audio_in::stop): Ditto. (fhandler_dev_dsp::close): Stop audio play immediately in case of abnormal exit.
* Revert code reversion from 2004-04-03. So, revert to async I/O again.Corinna Vinschen2004-05-075-143/+193
| | | | | | | | | | | | | | | | | | | * fhandler.h (status): Add "closed" flag. (prepare): New method declaration. (wait): Ditto. (release): Ditto. * fhandler_socket.cc: Don't include wsock_event.h. (fhandler_socket::prepare): New method, moved from wsock_event. (fhandler_socket::wait): Ditto. (fhandler_socket::release): New method. (fhandler_socket::recvfrom): Simplify loop. (fhandler_socket::recvmsg): Ditto. (fhandler_socket::sendto): Ditto. (fhandler_socket::sendmsg): Ditto. * net.cc: Don't include wsock_event.h. (wsock_event::prepare): Remove. (wsock_event::wait): Ditto. * wsock_event.h: Remove.
* fix entryChristopher Faylor2004-05-071-1/+6
|
* * thread.cc (pthread::create): Move postcreate call to avoid a potential race.Christopher Faylor2004-05-071-0/+7
| | | | (pthread::cancelable_wait): Don't allow signal interrupt unless main thread.
* Christopher Faylor <cgf@timesys.com>Christopher Faylor2004-05-073-16/+33
| | | | * path.cc (mount_info::conv_to_posix_path): Add return.
* * include/wingdi.h: Correct non-unicode typedefs ofDanny Smith2004-05-062-3/+8
| | | | ENUMLOGFONTEXDV, PENUMLOGFONTEXDV, LPENUMLOGFONTEXDV.
* 2004-05-07 Pascal Obry <obry@act-europe.fr>Danny Smith2004-05-063-2/+7
| | | | | * include/winsock.h (IN_CLASSA): Fix macro. * include/winsock2.h (IN_CLASSA): Fix macro.
* 2004-05-06 Pierre Humblet <pierre.humblet@ieee.org>Pierre Humblet2004-05-062-74/+52
| | | | | | | | | * path.cc (path_conv::check): Strip trailing dots and spaces and return error if the final component had only dots and spaces. (normalize_posix_path): Revert 2004-04-30. (chdir): Do not check for trailing spaces. Do not set native_dir to c:\ for virtual devices. Pass only native_dir to cwd.set. (cwdstuff::set): Assume posix_cwd is already normalized.
* Add support for 521x,5249,547x,548x.Nick Clifton2004-05-052-16/+26
|
* * mips/array.ld, mips/cfe.ld, mips/ddb-kseg0.ld, mips/ddb.ld,Richard Sandiford2004-05-0513-0/+55
| | | | | | * mips/dve.ld, mips/idt32.ld, mips/idt64.ld, mips/idt.ld * mips/jmr3904app.ld, mips/lsi.ld, mips/nullmon.ld, mips/pmon.ld (.eh_frame_hdr, .eh_frame, .gcc_except_table, .jcr): New sections.
* fix changelog datesChristopher Faylor2004-05-051-2/+2
|
* merge from gccDJ Delorie2004-05-042-1/+6
|
* * path.cc (normalize_win32_path): Detect components with only dots. Remove aChristopher Faylor2004-05-042-36/+32
| | | | | | | final . if it follows '\\'. (mount_info::conv_to_win32_path): Only backslashify the path when no mount is found. (chdir): Do not look for components with only dots.
* * path.cc (is_unc_share): Remove redundant tests.Christopher Faylor2004-05-043-11/+14
|
* * crt0.o (mainCRTStartup): 16 byte align stack for main function.Corinna Vinschen2004-05-042-0/+6
|
* * path.cc (check_sysfile): Don't scan string twice.Corinna Vinschen2004-05-042-2/+7
|
* 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>Jeff Johnston2004-05-032-6/+22
| | | | | | * libc/stdio/vfprintf.c (_VFPRINTF_R): Set error flag when multibyte functions return failure for %C, %S, %lc, and %ls format specifiers.
* 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>Jeff Johnston2004-05-032-0/+5
| | | | * testsuite/include/check.h (CHECK): Add flush of stdout.
* 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>Jeff Johnston2004-05-033-6/+28
| | | | | | | * libc/include/stdio.h (_ungetc_r): New prototype. * libc/stdio/ungetc.c (_ungetc_r): New reentrant function. (__submore): Add reentrant struct pointer argument. (ungetc): Change to call _ungetc_r.
* * dir.cc (writable_directory): Remove.Corinna Vinschen2004-05-034-51/+8
| | | | | | | (mkdir): Remove call to writable_directory. * syscalls.cc (unlink): Ditto. (rename): Ditto. * winsup.h (writable_directory): Remove declaration.
* 2004-04-24 Luke Dunstan <infidel@users.sourceforge.net>Luke Dunstan2004-05-012-0/+2
| | | | | | | * include/winbase.h (EXECUTION_STATE): Add typedef. (SetThreadExecutionState): Declare. * include/wingdi.h (_WINGDI_): Define. * include/objbase.h (_OBJBASE_H_): Define.
* * fhandler.cc (fhandler_base::open): Call path_conv::get_nt_native_pathCorinna Vinschen2004-04-304-20/+40
| | | | | | | for evaluating NT path. * path.cc (normalize_posix_path): Remove trailing dots and spaces. (path_conv::get_nt_native_path): New function. * path.h (class path_conv): Declare get_nt_native_path method.
* 2004-04-29 Bart Oldeman <bartoldeman@users.sourceforge.net>Luke Dunstan2004-04-305-328/+335
| | | | | | | * include/objbase.h (STGOPTIONS): Correct pwcsTemplateFile type. * include/aclui.h: Remove '\r', throughout. * include/msacm.h: Likewise. * lib/aclui.def: Likewise.
* * fhandler.cc (fhandler_base::open): Fix NT native path evaluationCorinna Vinschen2004-04-302-10/+20
| | | | to allow opening serial ports.
* * init.cc (threadfunc_fe): Hack to make thread stacks always 16Corinna Vinschen2004-04-302-0/+7
| | | | byte aligned.
* 2004-04-28 Artem B. Bityuckiy <abitytsky@softminecorp.com>Jeff Johnston2004-04-283-5/+13
| | | | | | | | * libc/stdio/local.h (_fwalk_reent): Specify prototype of function pointer argument. * libc/stdio/fwalk.c (_fwalk, _fwalk_reent): Change prototypes to specify function pointer arguments. (__fwalk, __fwalk_reent): Ditto.
* 2004-04-28 Luke Dunstan <infidel@users.sourceforge.net>Luke Dunstan2004-04-283-0/+19
| | | | | | | | | | | | * lib/comctl32.def (SetWindowSubclass): Add stub. Thanks to Eugene <egladysh@users.sourceforge.net>. 2004-04-24 Luke Dunstan <infidel@users.sourceforge.net> * include/winbase.h (EXECUTION_STATE): Add typedef. (SetThreadExecutionState): Declare. * include/wingdi.h (_WINGDI_): Define. * include/objbase.h (_OBJBASE_H_): Define.
* merge from gcc:DJ Delorie2004-04-271-0/+6
| | | | | | | 2004-04-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> * acx.m4 (ACX_PROG_GNAT): Check if ${CC} produces object file for Ada compilation. Fix acx_cv_cc_gcc_supports_ada spelling.
* merge from gcc:DJ Delorie2004-04-277-82/+213
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-04-27 Paolo Bonzini <bonzini@gnu.org> Revert: 2004-04-26 Paolo Bonzini <bonzini@gnu.org> * Makefile.def (flags_to_pass): Remove *dir variables that are passed to the modules via TOPLEVEL_CONFIGURE_ARGUMENTS, as well as prefix and exec_prefix. * Makefile.in: Regenerate. 2004-04-26 Paolo Bonzini <bonzini@gnu.org> * Makefile.def (host_modules): Mark with the bootstrap flag packages on which gcc depends. * Makefile.tpl (all-bootstrap): Use it. * Makefile.in: Regenerate. 2004-04-26 Paolo Bonzini <bonzini@gnu.org> * Makefile.def (flags_to_pass): Remove *dir variables that are passed to the modules via TOPLEVEL_CONFIGURE_ARGUMENTS, as well as prefix and exec_prefix. * Makefile.in: Regenerate. 2004-04-26 Paolo Bonzini <bonzini@gnu.org> * configure.in: Invoke ACX_PROG_CMP_IGNORE_INITIAL. * configure: Regenerate. * config/acx.m4: Mutuate ACX_PROG_CMP_IGNORE_INITIAL from gcc. * gcc/Makefile.tpl (compare): Use the result of the test. * gcc/Makefile.in: Regenerate. 2004-04-23 Paolo Bonzini <bonzini@gnu.org> * Makefile.tpl (all-stage1-gcc, all-stage2-gcc, all-stage3-gcc): Always relocate gcc and prev-gcc to the original names, even if the build fails. (new-cleanstrap, new-restage1, new-restage2, new-restage3): New targets.
* * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo inAldy Hernandez2004-04-262-0/+7
| | | | CT_INT case.
* [ bfd/ChangeLog ]Chris Demetriou2004-04-242-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-04-24 Chris Demetriou <cgd@broadcom.com> * elf32-mips.c (elf_mips_gnu_rel_hi16, elf_mips_gnu_rel_lo16) (elf_mips_gnu_pcrel64, elf_mips_gnu_pcrel32): Remove. (bfd_elf32_bfd_reloc_type_lookup): Remove cases for BFD_RELOC_PCREL_HI16_S, BFD_RELOC_PCREL_LO16, BFD_RELOC_64_PCREL, and BFD_RELOC_32_PCREL. (mips_elf32_rtype_to_howto): Remove cases for R_MIPS_GNU_REL_HI16, R_MIPS_GNU_REL_LO16, R_MIPS_PC64, R_MIPS_PC32. * elfxx-mips.c (mips_elf_calculate_relocation): Likewise. (_bfd_mips_elf_lo16_reloc): Remove handling for R_MIPS_GNU_REL_HI16. (mips_elf_next_relocation): Move comment about matching HI/LO relocations to... (_bfd_mips_elf_relocate_section): Here. Remove handling for R_MIPS_GNU_REL_HI16. [ include/elf/ChangeLog ] 2004-04-24 Chris Demetriou <cgd@broadcom.com> * mips.h (R_MIPS_PC32, R_MIPS_PC64, R_MIPS_GNU_REL_LO16) (R_MIPS_GNU_REL_HI16): Remove. (R_MIPS_GNU_REL16_S2): Update comment. [ ld/testsuite/ChangeLog ] 2004-04-24 Chris Demetriou <cgd@broadcom.com> * ld-elf/merge.d: XFAIL on all MIPS targets.
* [ bfd/ChangeLog ]Chris Demetriou2004-04-243-55/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-04-23 Chris Demetriou <cgd@broadcom.com> * coff-mips.c (mips_relhi_reloc, mips_rello_reloc) (mips_switch_reloc, mips_read_relocs, mips_relax_section) (mips_relax_pcrel16, PCREL16_EXPANSION_ADJUSTMENT): Remove. (mips_relocate_hi): Remove now-unused 'adjust' and 'pcrel' arguments, and update comments to reflect current usage. (mips_howto_table): Remove entries for MIPS_R_RELHI, MIPS_R_RELLO, and MIPS_R_SWITCH, as well as several empty entries. Update comment for MIPS_R_PCREL16. (mips_ecoff_swap_reloc_in, mips_ecoff_swap_reloc_out) (mips_adjust_reloc_out, mips_bfd_reloc_type_lookup): Remove support for MIPS_R_SWITCH, MIPS_R_RELLO, and MIPS_R_RELHI relocations. (mips_adjust_reloc_in): Likewise, adjust maximum accepted relocation type number to be MIPS_R_PCREL16. (mips_relocate_section): Remove support for link-time relaxation of branches used by embedded-PIC. Remove support for MIPS_R_SWITCH, MIPS_R_RELLO, and MIPS_R_RELHI relocations. (_bfd_ecoff_bfd_relax_section): Redefine to bfd_generic_relax_section. * ecoff.c (ecoff_indirect_link_order): Remove support for link-time relaxation of branches used by embedded-PIC. * ecofflink.c (bfd_ecoff_debug_accumulate): Likewise. * libecoff.h (struct ecoff_section_tdata): Remove embedded-PIC related members, update comment. * pe-mips.c: Remove disabled (commented-out and #if 0'd) code related to embedded-PIC. * elfxx-mips.c (_bfd_mips_elf_read_ecoff_info): Remove initialization of now-removed 'adjust' member of 'struct ecoff_debug_info'. [ include/coff/ChangeLog ] 2004-04-23 Chris Demetriou <cgd@broadcom.com> * mips.h (MIPS_R_RELHI, MIPS_R_RELLO, MIPS_R_SWITCH): Remove (MIPS_R_PCREL16): Update comment. * ecoff.h (struct ecoff_value_adjust): Remove structure. (struct ecoff_debug_info): Remove 'adjust' member.
* 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>Jeff Johnston2004-04-2336-99/+170
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.in: Define _MB_CAPABLE if mb supported. * configure: Regenerated. * configure.host: Remove manual setting of MB_CAPABLE compiler flag. * newlib.hin: Add _MB_CAPABLE flag. * libc/ctype/iswalpha.c, libc/ctype/iswblank.c: Include <newlib.h> and check for _MB_CAPABLE flag instead of MB_CAPABLE. * libc/ctype/iswcntrl.c, libc/ctype/iswprint.c: Ditto. * libc/ctype/iswpunct.c, libc/ctype/iswspace.c: Ditto. * libc/ctype/jp2uc.c: Ditto. * libc/ctype/towlower.c, libc/ctype/towupper.c: Ditto. * libc/locale/locale.c: Ditto * libc/machine/powerpc/vfscanf.c: Ditto * libc/stdio/vfprintf.c, libc/stdio/vfscanf.c: Ditto * libc/stdlib/mblen.c: Ditto * libc/stdlib/mblen_r.c, libc/stdlib/mbrlen.c: Ditto * libc/stdlib/mbrtowc.c, libc/stdlib/mbsrtowcs.c: Ditto * libc/stdlib/mbstowcs.c, libc/stdlib/mbtowc.c: Ditto * libc/stdlib/mbtowc_r.c, libc/stdlib/wcrtomb.c: Ditto * libc/stdlib/wcsrtombs.c, libc/stdlib/wcstombs.c: Ditto * libc/stdlib/wctomb.c, libc/sys/linux/intl/dcigettext.c: Ditto * libc/sys/linux/intl/explodename.c: Ditto * libc/sys/linux/intl/finddomain.c: Ditto * libc/sys/linux/intl/l10nflist.c: Ditto * libc/sys/linux/intl/loadmsgcat.c: Ditto * libc/sys/linux/intl/localealias.c: Ditto
* 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2004-04-232-30/+58
| | | | | | | | | * libc/machine/powerpc/vfscanf.c (NNZDIGITS): New define. (__svfscanf_r): In integer conversions, leave out leading zeroes which are not part of a base prefix. Keep track of width truncation to fit into buf, not counting left-out zeroes against width till the truncation has been compensated for. This is based on Joern's patch of 04/21 for libc/stdio/vfscanf.c.
* 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2004-04-232-0/+6
| | | | * libc/include/stdio.h: (_ftell_r, _fseek_r): New prototypes.
* 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>Jeff Johnston2004-04-2379-1090/+1435
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libc/stdio/asprintf.c libc/stdio/clearerr.c, libc/stdio/fclose.c libc/stdio/fcloseall.c libc/stdio/fdopen.c, libc/stdio/feof.c libc/stdio/ferror.c libc/stdio/fflush.c, libc/stdio/fgetc.c libc/stdio/fgetpos.c libc/stdio/fgets.c, libc/stdio/fileno.c libc/stdio/findfp.c libc/stdio/fiprintf.c, libc/stdio/flags.c libc/stdio/fopen.c libc/stdio/fprintf.c, libc/stdio/fputc.c libc/stdio/fputs.c libc/stdio/fread.c, libc/stdio/freopen.c libc/stdio/fscanf.c libc/stdio/fseek.c, libc/stdio/fseeko.c libc/stdio/fsetpos.c libc/stdio/ftell.c, libc/stdio/ftello.c libc/stdio/fvwrite.c libc/stdio/fwalk.c, libc/stdio/fwrite.c libc/stdio/getc.c libc/stdio/getc_u.c, libc/stdio/getchar.c libc/stdio/getchar_u.c, libc/stdio/getdelim.c libc/stdio/getline.c libc/stdio/gets.c, libc/stdio/getw.c libc/stdio/iprintf.c libc/stdio/local.h, libc/stdio/makebuf.c libc/stdio/mktemp.c libc/stdio/perror.c, libc/stdio/printf.c libc/stdio/putc.c libc/stdio/putc_u.c, libc/stdio/putchar.c libc/stdio/putchar_u.c libc/stdio/puts.c, libc/stdio/putw.c libc/stdio/refill.c libc/stdio/remove.c, libc/stdio/rename.c libc/stdio/rewind.c libc/stdio/rget.c, libc/stdio/scanf.c libc/stdio/setbuf.c libc/stdio/setbuffer.c, libc/stdio/setlinebuf.c libc/stdio/setvbuf.c, libc/stdio/siprintf.c libc/stdio/snprintf.c, libc/stdio/sprintf.c libc/stdio/sscanf.c libc/stdio/stdio.c, libc/stdio/tmpfile.c libc/stdio/tmpnam.c libc/stdio/ungetc.c, libc/stdio/vasprintf.c libc/stdio/vfieeefp.h, libc/stdio/vfprintf.c libc/stdio/vfscanf.c, libc/stdio/vprintf.c libc/stdio/vscanf.c, libc/stdio/vsnprintf.c libc/stdio/vsprintf.c, libc/stdio/vsscanf.c libc/stdio/wbuf.c, libc/stdio/wsetup.c: Perform minor formatting changes. Move copyright notices to top of file, ensure that <_ansi.h> is included, be consistent with open parentheses, use _DEFUN macro, include "local.h" where needed, and remove various compiler warnings.
* 2004-04-24 Luke Dunstan <infidel@users.sourceforge.net>Luke Dunstan2004-04-233-2/+19
| | | | | | | | | | * include/winuser.h (SM_IMMENABLED, SM_CXFOCUSBORDER, SM_CYFOCUSBORDER, SM_TABLETPC, SM_MEDIACENTER): Add defines. (SM_CMETRICS): Adjust value. * include/winnt.h (PROCESSOR_ARCHITECTURE_MSIL): Correct define. (PROCESSOR_ARCHITECTURE_AMD64, PROCESSOR_ARCHITECTURE_IA32_ON_WIN64): Add defines. Thanks to Benoit Blanchon <benoit.blanchon@free.fr>
* 2004-04-24 Justin Forest <vhex@users.sourceforge.net>Luke Dunstan2004-04-232-0/+26
| | | | | | | | | * include/winsock2.h (LUP_DEEP, LUP_CONTAINERS, LUP_NOCONTAINERS, LUP_NEAREST, LUP_RETURN_NAME, LUP_RETURN_TYPE, LUP_RETURN_VERSION, LUP_RETURN_COMMENT, LUP_RETURN_ADDR, LUP_RETURN_BLOB, LUP_RETURN_ALIASES, LUP_RETURN_QUERY_STRING, LUP_RETURN_ALL, LUP_RES_SERVICE, LUP_FLUSHCACHE, LUP_FLUSHPREVIOUS): Add defines.
* 2004-04-24 Luke Dunstan <infidel@users.sourceforge.net>Luke Dunstan2004-04-232-0/+9
| | | | | * include/windns.h (DNSREC_QUESTION, DNSREC_ANSWER, DNSREC_AUTHORITY, DNSREC_ADDITIONAL): Add defines.
* 2004-04-23 Robert Wruck <wruck@tweerlei.de>Luke Dunstan2004-04-232-0/+6
| | | | * include/commctrl.h (LPNMLVDISPINFO): Add defines.
* 2004-04-23 Robert Wruck <wruck@tweerlei.de>Luke Dunstan2004-04-234-0/+148
| | | | | | * include/aclui.h: New file. * lib/aclui.def: New file. * lib/test.c: Add aclui.h to includes.
* 2004-04-21 J"orn Rennecke <joern.rennecke@superh.com>Jeff Johnston2004-04-222-17/+46
| | | | | | | | * libc/stdio/vfscanf.c (NNZDIGITS): New define. (__svfscanf_r): In integer conversions, leave out leading zeroes which are not part of a base prefix. Keep track of width truncation to fit into buf, not counting left-out zeroes against width till the truncation has been compensated for.
* merge from gccDJ Delorie2004-04-222-4/+12
|