]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
24 years agoMinor change.
Christopher Faylor [Thu, 10 Aug 2000 21:54:44 +0000 (21:54 +0000)]
Minor change.

24 years ago* winsup.h: Change strchr inline for strange gcc problem.
Christopher Faylor [Thu, 10 Aug 2000 19:33:54 +0000 (19:33 +0000)]
* winsup.h: Change strchr inline for strange gcc problem.
* select.cc (select_stuff::wait): Bounds check w4 array.

24 years ago* dir.cc (readdir): Ensure that errno is *only* set when we've run out of
Christopher Faylor [Thu, 10 Aug 2000 19:20:11 +0000 (19:20 +0000)]
* dir.cc (readdir): Ensure that errno is *only* set when we've run out of
filenames.
* fhandler.cc (fhandler_disk_file::fstat): Use modern method for saving errno,
making it effective for the whole function.

24 years agoRecode to clean up function prologues and epilogue and to allow the functions
Nick Clifton [Wed, 9 Aug 2000 21:55:54 +0000 (21:55 +0000)]
Recode to clean up function prologues and epilogue and to allow the functions
 to be used in a Thumb based toolchain.

24 years agogas:
Jason Eckhardt [Wed, 9 Aug 2000 03:33:41 +0000 (03:33 +0000)]
gas:
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.

24 years ago* select.cc (allocfd_set): Zero allocated fd_set.
Christopher Faylor [Wed, 9 Aug 2000 02:33:47 +0000 (02:33 +0000)]
* select.cc (allocfd_set): Zero allocated fd_set.
(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.

24 years ago* fhandler_serial.cc (tcsendbreak): "sleeptime" argument to usleep()
DJ Delorie [Tue, 8 Aug 2000 20:46:47 +0000 (20:46 +0000)]
* fhandler_serial.cc (tcsendbreak): "sleeptime" argument to usleep()
must be in units of microseconds, not milliseconds.

24 years ago* include/userenv.h: New header file.
Corinna Vinschen [Tue, 8 Aug 2000 20:00:35 +0000 (20:00 +0000)]
* include/userenv.h: New header file.
* lib/userenv.def: New stub for userenv.dll.

24 years ago2000-08-08 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 8 Aug 2000 19:01:02 +0000 (19:01 +0000)]
2000-08-08  Jeff Johnston <jjohnstn@redhat.com>

        * 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.

24 years ago* include/winuser.h: Correct PCWPSTRUCT typo.
Christopher Faylor [Tue, 8 Aug 2000 14:30:54 +0000 (14:30 +0000)]
* include/winuser.h: Correct PCWPSTRUCT typo.
(discovered by Axel Riese)

24 years agoRemove spurious CYGNUS LOCAL comments
Nick Clifton [Mon, 7 Aug 2000 18:54:49 +0000 (18:54 +0000)]
Remove spurious CYGNUS LOCAL comments

24 years ago* configure.in (FLAGS_FOR_TARGET): invert test for xgcc, should mean
DJ Delorie [Mon, 7 Aug 2000 15:02:09 +0000 (15:02 +0000)]
* configure.in (FLAGS_FOR_TARGET): invert test for xgcc, should mean
"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".

24 years ago* include/cygwin/cygwin_dll.h: Remove extraneous (and incorrect) declarations.
Christopher Faylor [Mon, 7 Aug 2000 04:13:34 +0000 (04:13 +0000)]
* include/cygwin/cygwin_dll.h: Remove extraneous (and incorrect) declarations.

24 years ago * avr.h (AVR_UNDEF_P, AVR_SKIP_P, AVR_DISP0_P): New macros.
Denis Chertykov [Sun, 6 Aug 2000 14:09:14 +0000 (14:09 +0000)]
* avr.h (AVR_UNDEF_P, AVR_SKIP_P, AVR_DISP0_P): New macros.
Move related opcodes closer to each other.
Minor changes in comments, list undefined opcodes.

24 years ago* hinfo.cc (hinfo::find_unused_handle): Just check for table entry == NULL
Christopher Faylor [Fri, 4 Aug 2000 04:04:46 +0000 (04:04 +0000)]
* hinfo.cc (hinfo::find_unused_handle): Just check for table entry == NULL
since we are already bounds checked by default.
* thread.cc (ResourceLocks::Lock): Streamline this function since it is called
a lot.
(ReleaseResourceLock): Ditto.

24 years ago* select.cc (fhandler_console::select_read): Call set_cursor_maybe since select
Christopher Faylor [Fri, 4 Aug 2000 01:33:33 +0000 (01:33 +0000)]
* select.cc (fhandler_console::select_read): Call set_cursor_maybe since select
may block and cursor may not be visible.
* select.cc (fhandler_console::select_write): Ditto.
* select.cc (fhandler_console::select_except): Ditto.

24 years ago* configure.in (libstdcxx_flags): Don't use `"'.
Alexandre Oliva [Thu, 3 Aug 2000 23:54:09 +0000 (23:54 +0000)]
* configure.in (libstdcxx_flags): Don't use `"'.

24 years ago* config-ml.in: Adjust multilib search paths to the
Alexandre Oliva [Thu, 3 Aug 2000 19:20:16 +0000 (19:20 +0000)]
* config-ml.in: Adjust multilib search paths to the
appropriate multilib tree.

24 years ago* fhandler_tty.cc (fhandler_pty_master::process_slave_output): Set length field
Christopher Faylor [Thu, 3 Aug 2000 13:02:09 +0000 (13:02 +0000)]
* fhandler_tty.cc (fhandler_pty_master::process_slave_output): Set length field
correctly when "need_nl".

24 years ago* fork.cc (vfork): Store complete stack frame in vfork_save structure for later
Christopher Faylor [Thu, 3 Aug 2000 03:02:41 +0000 (03:02 +0000)]
* fork.cc (vfork): Store complete stack frame in vfork_save structure for later
recovery.
* spawn.cc (spawn_guts): Reorganize slightly to consolidate handling when there
is a CreateProcess error.
(_spawnve): Only longjmp back to vfork handling when a process has been
successfuly started.
* winsup.h (vfork_save): Extend to include frame info.  Remove obsolete cpplus
conditionals.

24 years ago* configure.in (CHILL_FOR_TARGET, CXX_FOR_TARGET): Convert blanks to
Alexandre Oliva [Thu, 3 Aug 2000 02:22:11 +0000 (02:22 +0000)]
* configure.in (CHILL_FOR_TARGET, CXX_FOR_TARGET): Convert blanks to
commas in $LANGUAGES.

24 years agoadd winsup.h
DJ Delorie [Wed, 2 Aug 2000 20:13:18 +0000 (20:13 +0000)]
add winsup.h

24 years ago* strace.cc (strace::prntf): Make second argument the function name, rather
Christopher Faylor [Wed, 2 Aug 2000 19:26:01 +0000 (19:26 +0000)]
* strace.cc (strace::prntf): Make second argument the function name, rather
than use special format options.
(strace::vprntf): Ditto.
(getfunc): New function.
* include/sys/strace.h: Reflect above changes.
* smallprint.c (__small_vsprintf): Eliminate '%F' formatting.
* pinfo.cc (set_myself): Modify for new strace::prntf parameter.
* errno.cc (seterrno_from_win_error): Ditto.
* fhandler_tty.cc (fhandler_tty_common::__acquire_output_mutex): Ditto.
* fhandler_tty.cc (fhandler_tty_common::__release_output_mutex): Ditto.

24 years ago2000-08-01 Alexandre Oliva <aoliva@redhat.com>
DJ Delorie [Wed, 2 Aug 2000 18:56:20 +0000 (18:56 +0000)]
2000-08-01  Alexandre Oliva  <aoliva@redhat.com>

* configure.in (qCXX_FOR_TARGET): Use echo instead of expr.

2000-07-31  Alexandre Oliva  <aoliva@redhat.com>

* configure.in (qCXX_FOR_TARGET): Quote `&' characters in
CXX_FOR_TARGET for sed.

2000-07-30  Alexandre Oliva  <aoliva@redhat.com>

* configure.in (CC_FOR_TARGET, CHILL_FOR_TARGET, CXX_FOR_TARGET):
Do not override if already set in the environment or in configure.
Don't duplicate $(FLAGS_FOR_TARGET) if it already appears in them.
(FLAGS_FOR_TARGET): Don't use host directories on Canadian crosses.

24 years ago* regexp/regexp.c: Add winsup.h.
Christopher Faylor [Wed, 2 Aug 2000 17:21:27 +0000 (17:21 +0000)]
* regexp/regexp.c: Add winsup.h.

24 years ago* winsup.h: take out protections of environ, errno, allow C use
DJ Delorie [Wed, 2 Aug 2000 16:28:18 +0000 (16:28 +0000)]
* winsup.h: take out protections of environ, errno, allow C use
* *.cc: put winsup.h before other headers (for __INSIDE_CYGWIN__);
use cur_environ() instead of just environ
* times.cc: remove import protections
* glob.c: add winsup.h
* localtime.c: ditto
* smallprint.c: ditto
* Makefile.in: don't __INSIDE_CYGWIN__ as it messes up profiling.

24 years ago* include/sys/strace.h: Fix strace definition.
Christopher Faylor [Wed, 2 Aug 2000 15:24:45 +0000 (15:24 +0000)]
* include/sys/strace.h: Fix strace definition.

24 years ago* strace.h: Add kludgy workarounds to avoid using deprecated methods for
Christopher Faylor [Wed, 2 Aug 2000 03:42:31 +0000 (03:42 +0000)]
* strace.h: Add kludgy workarounds to avoid using deprecated methods for
variable argument macros when possible.
* sigproc.cc: Throughout, use sigproc_printf rather than sip_printf.
* strace.cc (strace::prntf): Remove 'active' check, since callers are supposed
to ensure this.
(__system_printf): Remove.  Subsumed by strace::prntf.
* winsup.h: Define "NEW_MACRO_VARARGS" to indicate when to use new macro
varargs capability.

24 years ago* libc/include/sys/config.h: define __IMPORT appropriately
DJ Delorie [Tue, 1 Aug 2000 20:51:51 +0000 (20:51 +0000)]
* libc/include/sys/config.h: define __IMPORT appropriately
* libc/include/ctype.h (_ctype_): use __IMPORT
* libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
* libc/include/math.h (__mb_cur_max): ditto
* libc/include/time.h (_timezone, _daylight, _tzname): ditto
* libc/include/unctrl.h (__unctrl, __unctrllen): ditto
* libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
* libc/include/unistd.h (environ): ditto

24 years ago* passwd.c (main): Initialize oldpwd before beeing used.
Corinna Vinschen [Mon, 31 Jul 2000 13:35:39 +0000 (13:35 +0000)]
* passwd.c (main): Initialize oldpwd before beeing used.

24 years ago* fhandler_console.cc: Remove VK_DIVIDE detection.
Christopher Faylor [Sun, 30 Jul 2000 17:58:48 +0000 (17:58 +0000)]
* fhandler_console.cc: Remove VK_DIVIDE detection.
(get_nonascii_key): Simplify previous patch to return ascii char if it is
non-zero.  Add a second "temporary buffer" argument to help with thread safety.
* select.cc (peek_console): Pass a temporary buffer argument to
get_nonascii_key.

24 years agoFix formatting
Nick Clifton [Sat, 29 Jul 2000 19:37:30 +0000 (19:37 +0000)]
Fix formatting
Add copyright notice

24 years ago* fhandler_console.cc: Add VK_DIVIDE detection. Return virtual keycode if it
Christopher Faylor [Sat, 29 Jul 2000 19:07:15 +0000 (19:07 +0000)]
* fhandler_console.cc: Add VK_DIVIDE detection.  Return virtual keycode if it
is not detected and it is less than ' '.

24 years ago* path.cc (chdir): Avoid trailing dot calculation when chdir == '/' or we end
Christopher Faylor [Sat, 29 Jul 2000 17:36:05 +0000 (17:36 +0000)]
* path.cc (chdir): Avoid trailing dot calculation when chdir == '/' or we end
up with an empty string.

24 years ago* kill.cc (main): Add '-f' option to force termination of a process.
Christopher Faylor [Sat, 29 Jul 2000 16:26:37 +0000 (16:26 +0000)]
* kill.cc (main): Add '-f' option to force termination of a process.
(forcekill): New function.
* ps.cc (main): Add '-W' option to list Windows pids as well as Cygwin pids.
(dummyprocessmodules): New function.
(GetModuleFileNameEx95): New function.
(init_win): New function.
(to_time_t): New function.

24 years ago* include/cygwin/version.h: Bump DLL minor version number to 5 due to all of
Christopher Faylor [Sat, 29 Jul 2000 16:24:59 +0000 (16:24 +0000)]
* include/cygwin/version.h: Bump DLL minor version number to 5 due to all of
the changes below.  Redefine process structure to avoid a fixed size table.
Redefine pinfo/_pinfo classes.  Use these throughout.
* dcrt0.cc (dll_crt0_1): Accomodate set_myself argument change.
(__api_fatal): Accomodate _pinfo::record_death argument change.
* exceptions.cc (really_exit): Ditto.
(sig_handle_tty_stop): Use pinfo constructor to access process info.
(events_init): Don't create pinfo_mutex since it is no longer required.
* external.cc (fillout_pinfo): Use winpids class to iterate over all system
pids.
(cygwin_internal): lock_pinfo_for_update and unlock_pinfo are now noops.
* fhandler_termios.cc (fhandler_termios::set_ctty): Use pinfo constructor to
access process info.
* fork.cc (fork): Reorganize to initialize child info after the child has
started since that is when we know the child's winpid, which is necessary to
allocate the pinfo shared memory.
* mmap.cc (recreate_mmaps_after_fork): Change arg type to _pinfo.
* pinfo.cc: Rename pinfo methods to _pinfo throughout.  Eliminate pinfo_list
stuff.
(set_myself): Accept a pid argument now.  Call pinfo initializer to initialize
myself.  Detect when this is an "execed" process and create an "indirect" pid
block.
(pinfo_init): Accomodate set_myself arg change.
(procinfo): Remove.
(pinfo::lock_pinfo): Remove.
(pinfo::unlock_pinfo): Remove.
(pinfo::init): New method.  Allocates shared memory space for process pinfo
structure.
(pinfo::record_death): Don't call locking functions.
(cygwin_winpid_to_pid): Simplify by using new pinfo constructor.
(EnumProcessesW95): New function for iterating over processes on Windows 95.
(winpids::winpids): New constructor for winpids class.  Sets up a list of
process ids.
(enum_init): Initialize w95/wnt pid enumerators.
* shared.cc (shared-info::initialize): Remove pid initialization.
* shared.h: Move pinfo stuff into pinfo.h.
(class shared_info): Remove pinfo_list element.
* signal.cc (kill_worker): Use pinfo constructor to access process info.
(kill_pgrp): Ditto.  Use winpids methods to access list of processes.
* sigproc.cc: Throughout, modify to use _pinfo where appropriate.
(proc_exists (pid_t)): New function.  Determines if a process exists based on
the pid.
(proc_exists (_pinfo *p): Use new proc_exists function above.
(proc_subproc): Copy pinfo stuff around rather than _pinfo pointers.  Try to be
careful about releasing shared memory when we don't need it anymore.  Remove
pinfo locks.
(remove_zombies): Remove pinfo memory when zombie is going away.
* sigproc.h: Reflect _pinfo/pinfo changes in sigproc.cc.
* spawn.cc (spawn_guts): Eliminate pinfo *child argument.  Reorganize to only
initialize child pinfo after process has been started and we know the windows
pid.
(_spawnve): Reflect spawn_guts changes.
* syscalls.cc (setpgid): Use pinfo constructor to access process info.
(getpgid): Ditto.
(internal_getlogin): Use _pinfo.
* winsup.h: Eliminate pinfo_mutex.  Eliminate spawn_guts declaration since it
is static now.  Reflect set_myself argument change.
* include/sys/cygwin.h: Add some PID_* enums to accomodate new pinfo stuff.
* include/cygwin/version.h: Update minor version for cygdrive changes below.

24 years ago* environ.cc (parse_thing): Make binmode a DWORD.
Christopher Faylor [Sat, 29 Jul 2000 16:01:23 +0000 (16:01 +0000)]
* environ.cc (parse_thing): Make binmode a DWORD.
* hinfo.cc (hinfo::init_std_file_from_handle): Use 'binmode' to determine
default open mode.
* winsup.h: Declare binmode.

24 years ago* include/cygwin/cygwin_dll.h: Update for modern compilers.
Christopher Faylor [Sat, 29 Jul 2000 04:19:24 +0000 (04:19 +0000)]
* include/cygwin/cygwin_dll.h: Update for modern compilers.
* lib/cygwin_crt0.c: Inexplicably need to define alloca for newer compilers.
* fhandler.h (fhandler_console): Add new method.
* fhandler.cc (fhandler_console::set_cursor_maybe): New method.
(fhandler_console::read): Set cursor if it has moved to make it visible.

24 years agoMinor formatting change.
Christopher Faylor [Fri, 28 Jul 2000 23:21:04 +0000 (23:21 +0000)]
Minor formatting change.

24 years agoFix typo.
Christopher Faylor [Fri, 28 Jul 2000 22:37:23 +0000 (22:37 +0000)]
Fix typo.

24 years ago* utils/mount.cc (main): Add --show-cygdrive-prefixes option.
Christopher Faylor [Fri, 28 Jul 2000 22:34:24 +0000 (22:34 +0000)]
* utils/mount.cc (main): Add --show-cygdrive-prefixes option.
(show_cygdrive_prefixes): New function.
* utils/umount.cc (main): Add --remove-cygdrive-prefix option.
(error): Change signature from 'char *' to 'const char *'.
(remove_cygdrive_prefix): New function.

24 years ago* dcrt0.cc (dummy_autoload): Add load statement for RegDeleteValueA.
Christopher Faylor [Fri, 28 Jul 2000 22:33:43 +0000 (22:33 +0000)]
* dcrt0.cc (dummy_autoload): Add load statement for RegDeleteValueA.
* external.cc (get_cygdrive_prefixes): New function.
(cygwin_internal): Add CW_GET_CYGDRIVE_PREFIXES case.
* path.cc (mount_info::read_cygdrive_info_from_registry): Read system cygdrive
prefix if user one is undefined.
(mount_info::write_cygdrive_info_to_registry): Write cygdrive prefix to the
appropriate registry hive.  Overwrite in-memory copy of cygdrive, if
appropriate.
(mount_info::remove_cygdrive_info_from_registry): New method.
(mount_info::get_cygdrive_prefixes): New method.
(cygwin_umount): Remove cygdrive prefix, if appropriate.
* registry.cc (reg_key::killvalue): New method.
* shared.h (class reg_key): Add killvalue, remove_cygdrive_info_to_registry,
and get_cygdrive_prefixes declarations.
* include/sys/cygwin.h (cygwin_getinfo_types): Add CW_GET_CYGDRIVE_PREFIXES.

24 years ago2000-07-22 Jason Eckhardt <jle@cygnus.com>
Jason Eckhardt [Fri, 28 Jul 2000 21:16:11 +0000 (21:16 +0000)]
2000-07-22  Jason Eckhardt  <jle@cygnus.com>

* opcode/i860.h (btne, bte, bla): Changed these opcodes
to use sbroff ('r') instead of split16 ('s').
(J, K, L, M): New operand types for 16-bit aligned fields.
(ld.x, {p}fld.x, fst.x, pst.d): Changed these opcodes to
use I, J, K, L, M instead of just I.
(T, U): New operand types for split 16-bit aligned fields.
(st.x): Changed these opcodes to use S, T, U instead of just S.
(andh, andnoth, orh, xorh): Deleted 3-register forms as they do not
exist on the i860.
(pfgt.sd, pfle.sd): Deleted these as they do not exist on the i860.
(pfeq.ss, pfeq.dd): New opcodes.
(st.s): Fixed incorrect mask bits.
(fmlow): Fixed incorrect mask bits.
(fzchkl, pfzchkl): Fixed incorrect mask bits.
(faddz, pfaddz): Fixed incorrect mask bits.
(form, pform): Fixed incorrect mask bits.
(pfld.l): Fixed incorrect mask bits.
(fst.q): Fixed incorrect mask bits.
(all floating point opcodes): Fixed incorrect mask bits for
handling of dual bit.

* elf/i860.h: New file.
(elf_i860_reloc_type): Defined ELF32 i860 relocations.

* dis-asm.h (print_insn_i860): Add prototype.

24 years ago2000-07-22 Jason Eckhardt <jle@cygnus.com>
Jason Eckhardt [Fri, 28 Jul 2000 21:10:20 +0000 (21:10 +0000)]
2000-07-22  Jason Eckhardt  <jle@cygnus.com>

* include/opcode/i860.h (btne, bte, bla): Changed these opcodes
to use sbroff ('r') instead of split16 ('s').
(J, K, L, M): New operand types for 16-bit aligned fields.
(ld.x, {p}fld.x, fst.x, pst.d): Changed these opcodes to
use I, J, K, L, M instead of just I.
(T, U): New operand types for split 16-bit aligned fields.
(st.x): Changed these opcodes to use S, T, U instead of just S.
(andh, andnoth, orh, xorh): Deleted 3-register forms as they do not
exist on the i860.
(pfgt.sd, pfle.sd): Deleted these as they do not exist on the i860.
(pfeq.ss, pfeq.dd): New opcodes.
(st.s): Fixed incorrect mask bits.
(fmlow): Fixed incorrect mask bits.
(fzchkl, pfzchkl): Fixed incorrect mask bits.
(faddz, pfaddz): Fixed incorrect mask bits.
(form, pform): Fixed incorrect mask bits.
(pfld.l): Fixed incorrect mask bits.
(fst.q): Fixed incorrect mask bits.
(all floating point opcodes): Fixed incorrect mask bits for
handling of dual bit.

* include/elf/i860.h: New file.
(elf_i860_reloc_type): Defined ELF32 i860 relocations.

* bfd/cpu-i860.c: Added comments.

* bfd/elf32-i860.c (TARGET_LITTLE_SYM): Defined to
bfd_elf32_i860_little_vec.
(TARGET_LITTLE_NAME): Defined to "elf32-i860-little".
(ELF_MAXPAGESIZE): Changed to 4096.

* bfd/targets.c (bfd_elf32_i860_little_vec): Declaration of
new target.
(bfd_target_vector): Added bfd_elf32_i860_little_vec.

* bfd/config.bfd (i860-stardent-sysv4*, i860-stardent-elf*): Added
config for little endian elf32 i860.
(targ_defvec): Define for the new config above
as "bfd_elf32_i860_little_vec".
(targ_selvecs): Define for the new config above
as "bfd_elf32_i860_vec bfd_elf32_i860_little_vec"

* bfd/configure.in (bfd_elf32_i860_little_vec): Added recognition
of new target vec.

* bfd/configure: Regenerated.

* opcodes/i860-dis.c: New file.
(print_insn_i860): New function.
(print_br_address): New function.
(sign_extend): New function.
(BITWISE_OP): New macro.
(I860_REG_PREFIX): New macro.
(grnames, frnames, crnames): New structures.

* opcodes/disassemble.c (ARCH_i860): Define.
(disassembler): Add check for bfd_arch_i860 to set disassemble
function to print_insn_i860.

* include/dis-asm.h (print_insn_i860): Add prototype.

* opcodes/Makefile.in (CFILES): Added i860-dis.c.
(ALL_MACHINES): Added i860-dis.lo.
(i860-dis.lo): New dependences.

* opcodes/configure.in: New bits for bfd_i860_arch.

* opcodes/configure: Regenerated.

24 years agoDeclare __infinity as an array to work around problems with small data support
Michael Meissner [Fri, 28 Jul 2000 16:27:55 +0000 (16:27 +0000)]
Declare __infinity as an array to work around problems with small data support

24 years ago* s/sourceware.cygnus.com/sources.redhat.com/ throughout
Frank Ch. Eigler [Fri, 28 Jul 2000 10:09:30 +0000 (10:09 +0000)]
* s/sourceware.cygnus.com/sources.redhat.com/ throughout
* added cgen/

24 years ago* include/cygwin/version.h: Bump DLL minor version number to 4.
Christopher Faylor [Fri, 28 Jul 2000 03:35:52 +0000 (03:35 +0000)]
* include/cygwin/version.h: Bump DLL minor version number to 4.

24 years ago* Makefile.in (FLAGS_FOR_TARGET): New macro.
Alexandre Oliva [Fri, 28 Jul 2000 02:10:36 +0000 (02:10 +0000)]
* Makefile.in (FLAGS_FOR_TARGET): New macro.
(GCC_FOR_TARGET): Use it.
(CC_FOR_TARGET, CXX_FOR_TARGET, CHILL_FOR_TARGET): Now defined...
* configure.in: ... here.
(FLAGS_FOR_TARGET): Define.  Add ld build dir to -L path.
(libstdcxx_flags): Define and append to CXX_FOR_TARGET.

24 years agoRemove obsolete entries:
David Starks-Browning [Thu, 27 Jul 2000 22:06:27 +0000 (22:06 +0000)]
Remove obsolete entries:
 - 'Why is gcc failing'
 - 'Why can't bison find bison.simple or bison.hairy?'
Remove disclaimer from up-to-date entries (possibly with some minor changes):
 - 'How is fork() implemented?'
 - 'How do symbolic links work?'
 - 'How do I compile a Win32 executable that doesn't use Cygwin?'
 - 'How do I make the console window go away?'
 - 'Why does make complain about a "missing separator"?'
 - 'Why can't we redistribute Microsoft's Win32 headers?'
 - 'How can I debug what's going on?'
 - 'Can I use a system trace mechanism instead?'
 - 'Can I use the gdb debugger to debug programs built by VC++?'
 - 'Where can I find info on x86 assembly?'
 - 'Why not use DJGPP?'

24 years agoEntry 'How do anti-virus programs like Cygwin?': Remove disclaimer; hanging
David Starks-Browning [Thu, 27 Jul 2000 21:29:19 +0000 (21:29 +0000)]
Entry 'How do anti-virus programs like Cygwin?': Remove disclaimer; hanging
when unpacking tar.gz archives.

24 years agoEntry 'How should I set my PATH?': Don't omit Windows system directories.
David Starks-Browning [Thu, 27 Jul 2000 21:13:16 +0000 (21:13 +0000)]
Entry 'How should I set my PATH?':  Don't omit Windows system directories.

24 years agoAdded missing ChangeLog entry.
Corinna Vinschen [Thu, 27 Jul 2000 18:30:57 +0000 (18:30 +0000)]
Added missing ChangeLog entry.

24 years ago* testsuite/winsup.api/winsup.exp: ignore stdout by default
DJ Delorie [Thu, 27 Jul 2000 17:30:51 +0000 (17:30 +0000)]
* testsuite/winsup.api/winsup.exp: ignore stdout by default
* testsuite/winsup.api/crlf.c: non-verbose by default

* winsup.h: prune out windows headers we don't normally need
* assert.cc: add wingdi.h and winuser.h
* fhandler_console.cc: ditto
* fhandler_windows.cc: ditto
* select.cc: ditto
* spawn.cc: ditto
* strace.cc: ditto
* tty.cc: ditto
* window.cc: ditto
* hinfo.cc: add winsock.h
* syscalls.cc: add winnls.h
* uinfo.cc: ditto

* include/windows.h: optimize non-inclusion of repeat headers

24 years ago* libc/include/math.h: Use appropriate dll import linkage for Cygwin.
Christopher Faylor [Thu, 27 Jul 2000 14:49:09 +0000 (14:49 +0000)]
* libc/include/math.h: Use appropriate dll import linkage for Cygwin.

24 years ago* fhandler.cc (fhandler_disk_file::fstat): Allow block calculation to succeed
Christopher Faylor [Thu, 27 Jul 2000 14:26:03 +0000 (14:26 +0000)]
* fhandler.cc (fhandler_disk_file::fstat): Allow block calculation to succeed
for files >= 2GB and <= 4GB.

24 years agoClarify texinfo/
Andrew Cagney [Thu, 27 Jul 2000 07:12:00 +0000 (07:12 +0000)]
Clarify texinfo/

24 years agofix typo.
Christopher Faylor [Thu, 27 Jul 2000 03:05:38 +0000 (03:05 +0000)]
fix typo.

24 years ago2000-07-26 Dave Brolley <brolley@redhat.com>
Dave Brolley [Wed, 26 Jul 2000 22:44:42 +0000 (22:44 +0000)]
2000-07-26  Dave Brolley  <brolley@redhat.com>

* cgen.h (cgen_hw_lookup_by_num): Second parameter is unsigned.

24 years agoGive signal_exit noreturn attribute.
Christopher Faylor [Wed, 26 Jul 2000 20:36:19 +0000 (20:36 +0000)]
Give signal_exit noreturn attribute.

24 years ago* exceptions.cc (signal_exit): Renamed from "really+exit". Always sets
Christopher Faylor [Wed, 26 Jul 2000 20:13:27 +0000 (20:13 +0000)]
* exceptions.cc (signal_exit): Renamed from "really+exit".  Always sets
EXIT_SIGNAL bit and reorganizes exit value for backwards cygwin handling.
(handle_exceptions): Call signal_exit.  Set "core dumped" bit.
(sig_handle): Call signal_exit.  Set "core dumped" bit appropriately.

24 years ago * environ.cc (posify): Revert previous patch.
Corinna Vinschen [Wed, 26 Jul 2000 18:51:14 +0000 (18:51 +0000)]
    * environ.cc (posify): Revert previous patch.
        (_addenv): Remove check_null_empty_path from here.
        (putenv): Call check_nullempty_path.
        (setenv): Call check_nullempty_path for name as well here.
        Don't report an error if value is empty string.
        (environ_init): Revert usage of newp.

24 years ago* syscalls.cc (stat_worker): Make stat return correct st_blocks for files with
Christopher Faylor [Wed, 26 Jul 2000 17:48:49 +0000 (17:48 +0000)]
* syscalls.cc (stat_worker): Make stat return correct st_blocks for files with
size bigger than 2Gb and less than 4Gb

24 years ago * security.cc (lookup_name): Search on local machine first if
Corinna Vinschen [Wed, 26 Jul 2000 15:44:58 +0000 (15:44 +0000)]
    * security.cc (lookup_name): Search on local machine first if
        myself->domain is not empty.

24 years ago* fhandler_console.cc (fhandler_console::read): Explicitly set cursor to make
Christopher Faylor [Wed, 26 Jul 2000 13:59:23 +0000 (13:59 +0000)]
* fhandler_console.cc (fhandler_console::read): Explicitly set cursor to make
it visible while waiting in WaitForMultipleObjects.

24 years agoAdd missing ChangeLog entry.
Christopher Faylor [Wed, 26 Jul 2000 13:42:01 +0000 (13:42 +0000)]
Add missing ChangeLog entry.

24 years ago * passwd.cc: Change name of passwd_in_memory_p to passwd_state.
Corinna Vinschen [Wed, 26 Jul 2000 11:48:38 +0000 (11:48 +0000)]
    * passwd.cc: Change name of passwd_in_memory_p to passwd_state.
        Change type to enum. Change storage class to static. Adjust comments.
        (read_etc_passwd): Set passwd_state to different values when loaded
        from file in contrast to being emulated.
        (search_for): Return default passwd entry if passwd is emulated or
        it's a request for the current user. Otherwise return NULL.

24 years ago* syscalls.cc (statfs): Use path_conv method to convert input path.
Christopher Faylor [Wed, 26 Jul 2000 01:56:48 +0000 (01:56 +0000)]
* syscalls.cc (statfs): Use path_conv method to convert input path.

24 years ago* syscalls.cc (_link): Avoid extraneous call to cygwin_conv_to_win32_path.
Christopher Faylor [Wed, 26 Jul 2000 01:44:16 +0000 (01:44 +0000)]
* syscalls.cc (_link): Avoid extraneous call to cygwin_conv_to_win32_path.

24 years agoNew entry (Programming Questions): 'Why doesn't gdb handle signals?'
David Starks-Browning [Tue, 25 Jul 2000 21:35:08 +0000 (21:35 +0000)]
New entry (Programming Questions):  'Why doesn't gdb handle signals?'

24 years agoEntry 'Is the Cygwin library multi-thread-safe?': Update for latest release.
David Starks-Browning [Tue, 25 Jul 2000 21:16:44 +0000 (21:16 +0000)]
Entry 'Is the Cygwin library multi-thread-safe?':  Update for latest release.

24 years agoEntry 'Are mixed-case filenames possible with Cygwin?': Expand slightly,
David Starks-Browning [Tue, 25 Jul 2000 20:49:59 +0000 (20:49 +0000)]
Entry 'Are mixed-case filenames possible with Cygwin?':  Expand slightly,
add reference to coolview.

24 years agoNew entry (Cygwin API Questions): 'Is there a mouse interface?' -- No.
David Starks-Browning [Tue, 25 Jul 2000 20:13:38 +0000 (20:13 +0000)]
New entry (Cygwin API Questions): 'Is there a mouse interface?' -- No.

24 years agoEntry 'Can I use my own malloc?': Add warning about _malloc_r from newlib.
David Starks-Browning [Tue, 25 Jul 2000 19:50:31 +0000 (19:50 +0000)]
Entry 'Can I use my own malloc?':  Add warning about _malloc_r from newlib.

24 years agoEntry 'Is it OK to have multiple copies of the DLL?':
David Starks-Browning [Tue, 25 Jul 2000 19:17:31 +0000 (19:17 +0000)]
Entry 'Is it OK to have multiple copies of the DLL?':
Emphasise that no, it's not OK.

24 years agoChanged 'sourceware.cygnus.com' to 'sources.redhat.com' in the FAQ, where appropriate.
David Starks-Browning [Tue, 25 Jul 2000 19:00:29 +0000 (19:00 +0000)]
Changed 'sourceware.cygnus.com' to 'sources.redhat.com' in the FAQ, where appropriate.

24 years ago * syscalls.cc (_link): Corrected previous patch.
Corinna Vinschen [Mon, 24 Jul 2000 19:14:38 +0000 (19:14 +0000)]
    * syscalls.cc (_link): Corrected previous patch.

24 years ago * fhandler.h (class fhandler_dev_random): Add members for managing
Corinna Vinschen [Mon, 24 Jul 2000 11:33:02 +0000 (11:33 +0000)]
    * fhandler.h (class fhandler_dev_random): Add members for managing
        pseudo randomness.
        * fhandler_random.cc: Rearrange. Use pseudo random number generator
        as entropy source if system entropy isn't available and if device is
        used as /dev/urandom. Allow initializing device by calling write().

24 years ago* Makefile.in (configure-target-libf2c): Depend on $(ALL_GCC).
Alexandre Oliva [Mon, 24 Jul 2000 04:34:56 +0000 (04:34 +0000)]
* Makefile.in (configure-target-libf2c): Depend on $(ALL_GCC).
(configure-target-libchill, configure-target-libobjc): Likewise.

24 years ago* configure.in: Use the same cache file for all target libs.
Alexandre Oliva [Mon, 24 Jul 2000 04:34:08 +0000 (04:34 +0000)]
* configure.in: Use the same cache file for all target libs.
* config-ml.in: But different cache files per multilib variant.

24 years ago * fhandler.h: Add comment.
Corinna Vinschen [Sun, 23 Jul 2000 21:13:05 +0000 (21:13 +0000)]
    * fhandler.h: Add comment.

24 years ago * fhandler.h (class fhandler_dev_raw): Add private member `varblkop'
Corinna Vinschen [Sun, 23 Jul 2000 19:33:44 +0000 (19:33 +0000)]
    * fhandler.h (class fhandler_dev_raw): Add private member `varblkop'
        to be set when variable blocksize mode is on.
        * fhandler_raw.cc: Eliminate `\n' from trace output.
        (clear): Set `varblkop' to 0.
        (dup): Copy varblkop as well.
        (writebuf): Care for variable blocksize.
        (open): Ditto.
        (raw_read): Ditto.
        (raw_write): Ditto.
        * fhandler_tape.cc (open): Ditto.
        (ioctl): Ditto. Some cleanups.

24 years ago * configure (topsrcdir): Don't use dirname.
Jeff Law [Sun, 23 Jul 2000 17:42:34 +0000 (17:42 +0000)]
* configure (topsrcdir): Don't use dirname.

24 years ago Patch suggested by Kazuhiro Fujieda <fujieda@jaist.ac.jp>.
Corinna Vinschen [Sat, 22 Jul 2000 16:43:54 +0000 (16:43 +0000)]
    Patch suggested by Kazuhiro Fujieda  <fujieda@jaist.ac.jp>.
        * winsup.h: Add new macros sys_wcstombs and sys_mbstowcs.
        * syscalls.cc (_link): Replace calls to mbstowcs by call to
        sys_mbstowcs.
        * uinfo.cc (internal_getlogin): Replace calls to wcstombs and
        mbstowcs by calls to sys_wcstombs and sys_mbstowcs. Replace
        usage of constants by meaningful defines. Use result of
        GetSystemDirectory for HOMEPATH and HOMEDRIVE as a last resort.

24 years agomerge with gcc
Jason Merrill [Sat, 22 Jul 2000 08:20:10 +0000 (08:20 +0000)]
merge with gcc

24 years ago * spawn.cc (span_guts): Retrieve security attributes before setting
Corinna Vinschen [Fri, 21 Jul 2000 19:34:35 +0000 (19:34 +0000)]
    * spawn.cc (span_guts): Retrieve security attributes before setting
        psid to NULL.

24 years ago * include/winnt.h: Add missing typedefs for PTOKEN_SOURCE and
Corinna Vinschen [Fri, 21 Jul 2000 10:11:57 +0000 (10:11 +0000)]
    * include/winnt.h: Add missing typedefs for PTOKEN_SOURCE and
        LPTOKEN_SOURCE.

24 years ago * security.cc (acl_worker): Use stat_suffixes in call to path_conv
Corinna Vinschen [Fri, 21 Jul 2000 10:06:13 +0000 (10:06 +0000)]
    * security.cc (acl_worker): Use stat_suffixes in call to path_conv
        just as in `stat_worker'.

24 years agomerge with gcc
Jason Merrill [Fri, 21 Jul 2000 05:45:22 +0000 (05:45 +0000)]
merge with gcc

24 years ago2000-07-20 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 20 Jul 2000 21:19:33 +0000 (21:19 +0000)]
2000-07-20  H.J. Lu  <hjl@gnu.org>

* bfdlink.h (bfd_link_info): Add new_dtags.

24 years agomerge with gcc
Jason Merrill [Thu, 20 Jul 2000 18:55:35 +0000 (18:55 +0000)]
merge with gcc

24 years ago * config.sub: Update to subversions version 2000-07-06.
Hans-Peter Nilsson [Thu, 20 Jul 2000 18:03:17 +0000 (18:03 +0000)]
* config.sub: Update to subversions version 2000-07-06.

24 years ago common.h (EM_CRIS): New machine number.
Hans-Peter Nilsson [Thu, 20 Jul 2000 15:44:56 +0000 (15:44 +0000)]
common.h (EM_CRIS): New machine number.
cris.h: New file.

24 years ago cris.h: New file.
Hans-Peter Nilsson [Thu, 20 Jul 2000 15:39:41 +0000 (15:39 +0000)]
cris.h: New file.

24 years ago * dis-asm.h (print_insn_cris): Declare.
Hans-Peter Nilsson [Thu, 20 Jul 2000 15:36:12 +0000 (15:36 +0000)]
* dis-asm.h (print_insn_cris): Declare.

24 years ago * ntsec.sgml: Add description for the new setuid ability
Corinna Vinschen [Thu, 20 Jul 2000 11:04:33 +0000 (11:04 +0000)]
    * ntsec.sgml: Add description for the new setuid ability
        of Cygwin since release 1.1.3.
        * overview2.sgml: Add description for new chroot functionality.
        * calls.texinfo: Add missing calls. Change comments for
        setuid, setgid, seteuid, setegid, chroot.

24 years ago2000-07-19 H.J. Lu (hjl@gnu.org)
H.J. Lu [Thu, 20 Jul 2000 03:23:03 +0000 (03:23 +0000)]
2000-07-19  H.J. Lu  (hjl@gnu.org)

* bfdlink.h (bfd_link_info): Add flags and flags_1.

24 years ago * spawn.cc (spawn_guts): Don't restore impersonation in case
Corinna Vinschen [Wed, 19 Jul 2000 20:27:27 +0000 (20:27 +0000)]
    * spawn.cc (spawn_guts): Don't restore impersonation in case
        of _P_OVERLAY. Clean up slightly. Accomodate comments.

24 years ago * shared.h (class pinfo): New members `root' and `rootlen'.
Corinna Vinschen [Wed, 19 Jul 2000 20:14:24 +0000 (20:14 +0000)]
    * shared.h (class pinfo): New members `root' and `rootlen'.
        * syscalls.cc (chroot): Set new root for process.
        * path.cc (getcwd_inner): Add parameter to force use of
        new root from chroot() call.
        (ischrootpath): New macro.
        (normalize_posix_path): Care for changed root dir.
        (normalize_win32_path): Ditto.
        (getcwd_inner): Ditto.
        (chdir): Eliminate trailing path component consisting
        entirely of dots.
        * fork.cc (fork): Copy pinfo members regarding chroot().
        * spawn.cc (_spawnve): Ditto.
        * dir.cc (opendir): Don't use computed win32 path if
        chroot() took place.

24 years ago2000-07-19 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 19 Jul 2000 18:43:35 +0000 (18:43 +0000)]
2000-07-19  H.J. Lu  <hjl@gnu.org>

* common.h (DF_1_NODEFLIB): Renamed from DF_1_NODEPLIB.

24 years ago2000-07-19 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 19 Jul 2000 18:22:41 +0000 (18:22 +0000)]
2000-07-19  H.J. Lu  <hjl@gnu.org>

* common.h (DT_CHECKSUM): Set to 0x6ffffdf8.
(DTF_1_CONFEXP): It is 0x00000002 as suspected.

This page took 0.074036 seconds and 5 git commands to generate.