summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * config-ml.in (CC, CXX): Avoid trailing whitespace.Alexandre Oliva2000-08-222-3/+42
| | | | | (LD_LIBRARY_PATH, SHLIB_PATH): Adjust for multilibs and export to sub-configures.
* * cygerrno.h: New file. Use this throughout whenever errno manipulation isChristopher Faylor2000-08-2245-133/+203
| | | | | | | | | | | | | | | 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 /.
* Update copyright.Christopher Faylor2000-08-211-3/+3
|
* * include/cygwin/cygwin_dll.h (DECLARE_CYGWIN_DLL): hinstance,DJ Delorie2000-08-212-6/+6
| | | | not handle. (reverse of previous diff)
* * include/cygwin/cygwin_dll.h (DECLARE_CYGWIN_DLL): handle,DJ Delorie2000-08-212-1/+6
| | | | not hinstance.
* * Makefile.in (ALL_MODULES): Add all-cgen.Doug Evans2000-08-203-3/+22
| | | | | | | | (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.
* * include/winnt.h:Add enums for TokenRestrictedSids and TokenSessionIdCorinna Vinschen2000-08-192-1/+17
| | | | | to TOKEN_INFORMATION_CLASS type. Add QUOTA_LIMITS type.
* * Makefile.in: hinfo.o -> dtable.o.Christopher Faylor2000-08-181-11/+10
|
* * fhandler-tut.txt: hinfo -> dtable.Christopher Faylor2000-08-182-2/+6
|
* hinfo -> dtableChristopher Faylor2000-08-182-17/+18
|
* * dtable.cc (dtable::dup2): Extend fdtab if newfd is out of currentCorinna Vinschen2000-08-182-0/+11
| | | | allocated bounds.
* * config-ml.in (CC, CXX): Don't introduce a leading space.Alexandre Oliva2000-08-172-6/+10
|
* Fix 3 DV bugs, and a few minor cleanups.Jim Wilson2000-08-162-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* * configure.in (libstdcxx_flags): UseAlexandre Oliva2000-08-162-1/+6
| | | | libstdc++-v3/src/libstdc++.INC.
* 2000-08-16 Eric Fifer <efifer@sanwaint.com>Jeff Johnston2000-08-162-3/+9
| | | | * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
* 2000-08-15 H.J. Lu <hjl@gnu.org>H.J. Lu2000-08-162-2/+7
| | | | | * i386.h: Swap the Intel syntax "movsx"/"movzx" due to the IgnoreSize change.
* * configure.in (libstdcxx_flags): Use libstdc++-v3/src/INCLUDES.Alexandre Oliva2000-08-152-1/+5
|
* Add support for IA-64 specific elf header flags.Jim Wilson2000-08-142-1/+13
| | | | | | | | | | | | | | | | | | 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.
* * mkvers.sh: Properly trap exit removal of temp file. Remove debuggingChristopher Faylor2000-08-122-3/+6
| | | | statement.
* Correct order in include files.Christopher Faylor2000-08-121-1/+1
|
* * poll.cc: Make winsup.h the first include file, re 2000-08-02 change.Christopher Faylor2000-08-122-1/+5
|
* * winsup.h: Split out dtable definitions into separate header file.Christopher Faylor2000-08-1243-44/+106
| | | | | | * dtable.h: New file. * sigproc.h: Eliminate pinfo.h usage here. Use it in source files that need it.
* * Makefile.in: Use dtable.o rather than hinfo.o.Christopher Faylor2000-08-122-5/+9
|
* Rename hinfo -> dtable. Name the former dtable array 'fdtab'.Christopher Faylor2000-08-1222-179/+183
|
* * configure.in (CC_FOR_TARGET, CHILL_FOR_TARGET,Jason Merrill2000-08-122-18/+12
| | | | | | 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.
* * poll.cc: Allow any descriptor and any number of descriptors.Corinna Vinschen2000-08-112-20/+39
| | | | Allocate fd_set struct sdynamically.
* Fix premature use of fdtab.Christopher Faylor2000-08-111-1/+1
|
* * poll.cc: Add bounds checking for file descriptors. Return POLLNVALCorinna Vinschen2000-08-113-20/+30
| | | | | | 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.
* * syslog.cc (syslog): Use a less malloc-intensive method for allocating theChristopher Faylor2000-08-112-31/+28
| | | | buffer. Also fix a buffer overrun.
* DJ is sole setup maintainer now.Christopher Faylor2000-08-101-2/+1
|
* Change comment.Christopher Faylor2000-08-101-1/+1
|
* comment changes.Christopher Faylor2000-08-101-1/+1
|
* Minor change.Christopher Faylor2000-08-101-1/+1
|
* Minor change.Christopher Faylor2000-08-101-1/+0
|
* Minor change.Christopher Faylor2000-08-101-2/+2
|
* * winsup.h: Change strchr inline for strange gcc problem.Christopher Faylor2000-08-104-1/+12
| | | | * select.cc (select_stuff::wait): Bounds check w4 array.
* * dir.cc (readdir): Ensure that errno is *only* set when we've run out ofChristopher Faylor2000-08-103-34/+26
| | | | | | filenames. * fhandler.cc (fhandler_disk_file::fstat): Use modern method for saving errno, making it effective for the whole function.
* Recode to clean up function prologues and epilogue and to allow the functionsNick Clifton2000-08-092-65/+105
| | | | to be used in a Thumb based toolchain.
* gas:Jason Eckhardt2000-08-092-29/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* * select.cc (allocfd_set): Zero allocated fd_set.Christopher Faylor2000-08-098-69/+70
| | | | | | | | | | | | | | (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.
* * fhandler_serial.cc (tcsendbreak): "sleeptime" argument to usleep()DJ Delorie2000-08-082-1/+6
| | | | must be in units of microseconds, not milliseconds.
* * include/userenv.h: New header file.Corinna Vinschen2000-08-083-0/+69
| | | | * lib/userenv.def: New stub for userenv.dll.
* 2000-08-08 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2000-08-083-8/+21
| | | | | | | | | * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code so size of 0 results in nothing being written to string. Also fixed code so that when size is non-zero, there is only a maximum of size - 1 characters written to the array and a nul terminator is appended at the end. * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
* * include/winuser.h: Correct PCWPSTRUCT typo.Christopher Faylor2000-08-082-1/+6
| | | | (discovered by Axel Riese)
* Remove spurious CYGNUS LOCAL commentsNick Clifton2000-08-073-8/+10
|
* * configure.in (FLAGS_FOR_TARGET): invert test for xgcc, should meanDJ Delorie2000-08-072-1/+8
| | | | | | "if we're also building gcc, and it's a gcc that will run on the build machine, we want to use its includes instead of the system's default includes".
* * include/cygwin/cygwin_dll.h: Remove extraneous (and incorrect) declarations.Christopher Faylor2000-08-072-3/+5
|
* * avr.h (AVR_UNDEF_P, AVR_SKIP_P, AVR_DISP0_P): New macros.Denis Chertykov2000-08-062-24/+79
| | | | | Move related opcodes closer to each other. Minor changes in comments, list undefined opcodes.
* * hinfo.cc (hinfo::find_unused_handle): Just check for table entry == NULLChristopher Faylor2000-08-044-112/+114
| | | | | | | since we are already bounds checked by default. * thread.cc (ResourceLocks::Lock): Streamline this function since it is called a lot. (ReleaseResourceLock): Ditto.
* * select.cc (fhandler_console::select_read): Call set_cursor_maybe since selectChristopher Faylor2000-08-042-0/+10
| | | | | | may block and cursor may not be visible. * select.cc (fhandler_console::select_write): Ditto. * select.cc (fhandler_console::select_except): Ditto.