Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2000-08-242000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>Jeff Johnston
* libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's used later (ifdef __SCLE) * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's used later (ifdef MB_CAPABLE) * libc/string/memset.c (memset): removed unused variables "count" and "unaligned_addr" * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE) * libc/unix/getpwent.c (getpwnam): removed unused variables "uid" and "gid"
2000-08-242000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>Jeff Johnston
* libc/stdlib/envlock.c: changed documented "__env_lock" and "__env_unlock" prototype from "void *" or "char *" to "struct _reent *" to match real function. Also added include of envlock.h. * libc/stdlib/mlock.c: changed documented "__malloc_lock" and "__malloc_unlock" prototype from "void *" or "char *" to "struct _reent *" to match real function. * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock" prototypes (for getenv_r.c and setenv_r.c).
2000-08-24* dcrt0.cc (dll_crt0_1): Move exception list and constructor stuff earlier inChristopher Faylor
the process. Use new second argument to set_myself. (cygwin_dll_init): Initialize exception list and constructor stuff here. (_dll_crt0): And here. Also, deal with inherited pinfo shared memory region from parent. * pinfo.cc (set_myself): Accept a second argument signifying the a shared memory region, passed from an execing parent. (pinfo_init): Ditto. * pinfo.h: Ditto. * shared.h (child_info): Add a handle field to pass to child. * spawn.cc (spawn_guts): Create a shared handle to pass to an execed child. * winsup.h: Remove extraneous declaration.
2000-08-23Revert previous erroneous checkin.Christopher Faylor
2000-08-23* include/sys/cygwin.h: Protect class definitions.Christopher Faylor
2000-08-22* libc/unix/getut.c (utmpname): added _CONST to reflect common useDJ Delorie
and prototype in cygwin's utmp.h
2000-08-22* path.cc (symlink_info::check): Clear error on each iteration of extensionChristopher Faylor
check.
2000-08-22* Makefile.in: Don't include '.d' file if there are none generated yet.Christopher Faylor
2000-08-22* include/sys/cygwin.h: Declare some thread classes.Christopher Faylor
* include/mntent.h: Avoid declaring functions.
2000-08-22* winsup.h: Eliminate inclusion of most of the cygwin .h files. Use .h filesChristopher Faylor
only in sources which require them. * Makefile.in: Generate dependencies with -MD option.
2000-08-22* config-ml.in (CC, CXX): Avoid trailing whitespace.Alexandre Oliva
(LD_LIBRARY_PATH, SHLIB_PATH): Adjust for multilibs and export to sub-configures.
2000-08-22* cygerrno.h: New file. Use this throughout whenever errno manipulation isChristopher Faylor
required. * errno.cc: Use DWORD to hold Windows errors. (geterrno_from_win_error): New function. (seterrno_from_win_error): Use geterrno_from_win_error to convert supplied windows error (suggested by Corinna Vinschen). * path.cc (symlink_info): Add error element. * path.cc (path_conv::check): Remove errno setting. Use new symlink_info errno element to set path_conv error, where appropriate. (symlink_info::check): Set error element rather than attempting to manipulate errno. Add more checks for trailing / and /.. even though they are currently useless. Avoid setting EINVAL. * path.cc (normalize_posix_path): Correct check for trailing /.
2000-08-21Update copyright.Christopher Faylor
2000-08-21* include/cygwin/cygwin_dll.h (DECLARE_CYGWIN_DLL): hinstance,DJ Delorie
not handle. (reverse of previous diff)
2000-08-21* include/cygwin/cygwin_dll.h (DECLARE_CYGWIN_DLL): handle,DJ Delorie
not hinstance.
2000-08-21 * Makefile.in (ALL_MODULES): Add all-cgen.Doug Evans
(CROSS_CHECK_MODULES,INSTALL_MODULES,CLEAN_MODULES): Similarily. (all-cgen): New target. (all-opcodes,all-sim): Depend on all-cgen. * configure.in (host_tools): Add cgen. Only configure cgen if --enable-cgen-maint.
2000-08-19* include/winnt.h:Add enums for TokenRestrictedSids and TokenSessionIdCorinna Vinschen
to TOKEN_INFORMATION_CLASS type. Add QUOTA_LIMITS type.
2000-08-19* Makefile.in: hinfo.o -> dtable.o.Christopher Faylor
2000-08-18* fhandler-tut.txt: hinfo -> dtable.Christopher Faylor
2000-08-18hinfo -> dtableChristopher Faylor
2000-08-18* dtable.cc (dtable::dup2): Extend fdtab if newfd is out of currentCorinna Vinschen
allocated bounds.
2000-08-17* config-ml.in (CC, CXX): Don't introduce a leading space.Alexandre Oliva
2000-08-17Fix 3 DV bugs, and a few minor cleanups.Jim Wilson
gas/ * config/tc-ia64.c (specify_resource, case IA64_RS_GR): Handle postincrement modified registers. Handle IA64_OPND_R3_2 addl source registers. (note_register_values): Handle IA64_OPND_R3_2 operands. gas/testsuite/ * gas/ia64/dv-raw-err.s: Add new tests for addl and postinc. * gas/ia64/dv-raw-err.l: Likewise. * gas/ia64/dv-waw-err.l: Update sed pattern. * gas/ia64/opc-f.pl: Delete fpsub, and fpadd comment. * gas/ia64/opc-f.s, gas/ia64/opc-f.d: Regenerate. include/opcode/ * ia64.h (IA64_OPCODE_POSTINC): New. opcodes/ * ia64-ic.tbl (pr-readers-nobr-nomovpr): Add addl, adds. Delete break, mov-immediate, nop. * ia64-opc-f.c: Delete fpsub instructions. * ia64-opc-m.c: Add POSTINC to all instructions with postincrement address operand. Rewrite using macros to avoid long lines. * ia64-opc.h (POSTINC): Define. * ia64-asmtab.c: Regenerate.
2000-08-16* configure.in (libstdcxx_flags): UseAlexandre Oliva
libstdc++-v3/src/libstdc++.INC.
2000-08-162000-08-16 Eric Fifer <efifer@sanwaint.com>Jeff Johnston
* libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
2000-08-162000-08-15 H.J. Lu <hjl@gnu.org>H.J. Lu
* i386.h: Swap the Intel syntax "movsx"/"movzx" due to the IgnoreSize change.
2000-08-15* configure.in (libstdcxx_flags): Use libstdc++-v3/src/INCLUDES.Alexandre Oliva
2000-08-15Add support for IA-64 specific elf header flags.Jim Wilson
bfd/ 2000-08-14 Jim Wilson <wilson@cygnus.com> * elf64-ia64.c (elf64_ia64_merge_private_bfd_data): Handle EF_IA_64_REDUCEDFP, EF_IA_64_CONS_GP, and EF_IA_64_NOFUNCDESC_CONS_GP. (elf64_ia64_print_private_bfd_data): Likewise. Also handle EF_IA_64_ABSOLUTE. gas/ 2000-08-14 Jim Wilson <wilson@cygnus.com> * config/tc-ia64.c (md_longopts): Add -mconstant-gp and -mauto-pic. (md_parse_option): Add OPTION_MCONSTANT_GP and OPTION_MAUTO_PIC. (md_begin): Change assignment to md.flag to OR in the new bit. include/elf/ 2000-08-14 Jim Wilson <wilson@cygnus.com> * elf/ia64.h (EF_IA_64_REDUCEDFP, EF_IA_64_CONS_GP, EF_IA_64_NOFUNCDESC_CONS_GP, EF_IA_64_ABSOLUTE): Define.
2000-08-12* mkvers.sh: Properly trap exit removal of temp file. Remove debuggingChristopher Faylor
statement.
2000-08-12Correct order in include files.Christopher Faylor
2000-08-12* poll.cc: Make winsup.h the first include file, re 2000-08-02 change.Christopher Faylor
2000-08-12* winsup.h: Split out dtable definitions into separate header file.Christopher Faylor
* dtable.h: New file. * sigproc.h: Eliminate pinfo.h usage here. Use it in source files that need it.
2000-08-12* Makefile.in: Use dtable.o rather than hinfo.o.Christopher Faylor
2000-08-12Rename hinfo -> dtable. Name the former dtable array 'fdtab'.Christopher Faylor
2000-08-12 * configure.in (CC_FOR_TARGET, CHILL_FOR_TARGET,Jason Merrill
CXX_FOR_TARGET): Add -B$$r/gcc/ here. (FLAGS_FOR_TARGET): Not here. (CHILL_FOR_TARGET, CXX_FOR_TARGET): Don't check the list of languages.
2000-08-12 * poll.cc: Allow any descriptor and any number of descriptors.Corinna Vinschen
Allocate fd_set struct sdynamically.
2000-08-11Fix premature use of fdtab.Christopher Faylor
2000-08-11 * poll.cc: Add bounds checking for file descriptors. Return POLLNVALCorinna Vinschen
if fd is invalid. Return POLLERR for each valid fd if cygwin_select returned with error. include/sys/poll.h: Change POLLERR comment according to above change.
2000-08-11* syslog.cc (syslog): Use a less malloc-intensive method for allocating theChristopher Faylor
buffer. Also fix a buffer overrun.
2000-08-11DJ is sole setup maintainer now.Christopher Faylor
2000-08-11Change comment.Christopher Faylor
2000-08-11comment changes.Christopher Faylor
2000-08-11Minor change.Christopher Faylor
2000-08-11Minor change.Christopher Faylor
2000-08-11Minor change.Christopher Faylor
2000-08-10* winsup.h: Change strchr inline for strange gcc problem.Christopher Faylor
* select.cc (select_stuff::wait): Bounds check w4 array.
2000-08-10* dir.cc (readdir): Ensure that errno is *only* set when we've run out ofChristopher Faylor
filenames. * fhandler.cc (fhandler_disk_file::fstat): Use modern method for saving errno, making it effective for the whole function.
2000-08-10Recode to clean up function prologues and epilogue and to allow the functionsNick Clifton
to be used in a Thumb based toolchain.
2000-08-09gas:Jason Eckhardt
2000-08-08 Jason Eckhardt <jle@cygnus.com> * config/tc-i860.h: Rework completely for BFD_ASSEMBLER. (i860_fix_info): New enum. (MD_APPLY_FIX3): Define. (WORKING_DOT_WORD): Define. (TC_HANDLES_FX_DONE): Define. (DIFF_EXPR_OK): Define. (LISTING_HEADER): Define. (TARGET_FORMAT): Select target format based on endian flag. (TARGET_BYTES_BIG_ENDIAN): Default to little endian. (target_big_endian): Add external declaration. * config/tc-i860.c: All existing code reworked completely. Other new code shown below. (SYNTAX_SVR4): Define. (target_warn_expand): New variable. (md_shortopts): Declare and define (-Qy, -Qn, and -V options). (md_longopts): Declare and define with new options (-EL, -EB, and -mwarn-expand). (md_show_usage): New function. (md_operand): New function. (obtain_reloc_for_imm16): New function. (md_apply_fix3): New function. (tc_gen_reloc): New function. include: 2000-08-08 Jason Eckhardt <jle@cygnus.com> * opcode/i860.h: Small formatting adjustments. opcode: 2000-08-08 Jason Eckhardt <jle@cygnus.com> * i860-dis.c (print_br_address): Change third argument from int to long. bfd: 2000-08-08 Jason Eckhardt <jle@cygnus.com> * elf32-i860.c (elf32_i860_howto_table): Updated some fields.
2000-08-09* select.cc (allocfd_set): Zero allocated fd_set.Christopher Faylor
(cygwin_select): Move fd_set copying logic from ::wait to here. Use common return through sell.poll. (select_stuff::wait): Just return success or failure and let caller fill in fd_set. * pinfo.h (pinfo): Eliminate self-referential pointer to sidbuf since pinfo structure exists at random locations now. * fork.cc (fork): Use 'use_psid' element to control when the psid is relevant. * shared.cc (sec_user): Ditto. * spawn.cc (spawn_guts): Ditto. * uinfo.cc (internal_getlogin): Ditto. * syscall.cc (seteuid): Ditto. Set use_psid element.