]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
21 years ago * include/winnt.h (PVOID): Move to before HANDLE typedef.
Danny Smith [Sat, 12 Jul 2003 09:26:43 +0000 (09:26 +0000)]
* include/winnt.h (PVOID): Move to before HANDLE typedef.

* include/winuser.h (mouse_event): Correct type of fifth param,
Thanks to: Andrew Jones <guln at users dot sourceforge dot net>

21 years ago * include/winnt.h (HANDLE): Define based on STRICT filter.
Earnie Boyd [Fri, 11 Jul 2003 11:56:00 +0000 (11:56 +0000)]
* include/winnt.h (HANDLE): Define based on STRICT filter.
(THREAD_BASE_PRIORITY_MIN): Use parens around negative value.
(THREAD_BASE_PRIOIRTY_IDLE): Ditto.

21 years ago* path.cc (get_device_number): Remove special com? consideration.
Christopher Faylor [Fri, 11 Jul 2003 00:54:46 +0000 (00:54 +0000)]
* path.cc (get_device_number): Remove special com?  consideration.
(special_chars): Make static.
(special_introducers): New.
(special_char): Allow specified valid_chars args.
(fnunmunge): Handle aux-like filenames correctly.
(special_name): Add con, conin$, conout$.
(mount_item::fnmunge): Use __small_sprintf return value to calculate
increments.

21 years ago2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
Alexandre Oliva [Thu, 10 Jul 2003 19:04:43 +0000 (19:04 +0000)]
2000-04-27  Alexandre Oliva  <aoliva@cygnus.com>
* libc/include/machine/setjmp.h (_JBLEN, AM33/2.0): Set to 26.
* libc/machine/mn10300/setjmp.S (setjmp, longjmp): Save and
restore callee-saved FP registers.

21 years ago2001-10-30 Jeff Johnston <jjohnstn@redhat.com>
Alexandre Oliva [Thu, 10 Jul 2003 19:04:33 +0000 (19:04 +0000)]
2001-10-30  Jeff Johnston  <jjohnstn@redhat.com>
* mn10300/asb2305.ld: Added ASB2305 support.
* mn10300/configure: Ditto.
* mn10300/configure.in: Ditto.
2001-09-12  Stan Cox  <scox@redhat.com>
* mn10300/asb2303.ld: New file.  Linker script for the ASB2303
AM33/2.00 board.
* mn10300/configure.in: Add support for asb2303 board script.

21 years ago * libc/include/sys/unistd.h (ftruncate, truncate): Also declare
Joern Rennecke [Thu, 10 Jul 2003 15:31:30 +0000 (15:31 +0000)]
* libc/include/sys/unistd.h (ftruncate, truncate): Also declare
for __sh__.
* libc/sys/sh/Makefile.am (lib_a_SOURCES): Add ftruncate.c and
truncate.c.
* libc/sys/sh/Makefile.in: Regenerate.
* libc/sys/sh/sys/syscall.h: (SYS_truncate, SYS_ftruncate): Define.
* libc/sys/sh/ftruncate.c: New file.
* libc/sys/sh/truncate.c: Likewise.

21 years ago * xtensa-config.h: Undef all macros before defining them.
Bob Wilson [Thu, 10 Jul 2003 05:11:16 +0000 (05:11 +0000)]
    * xtensa-config.h: Undef all macros before defining them.

21 years ago* configure: Rebuilt.
Alexandre Oliva [Thu, 10 Jul 2003 05:04:25 +0000 (05:04 +0000)]
* configure: Rebuilt.
2001-09-26  Alexandre Oliva  <aoliva@redhat.com>
* configure.in (noconfigdirs) [am33_2.0-*-linux*]: Don't build
newlib nor libgloss.
Wed May  9 10:07:19 2001  Alexandre Oliva  <aoliva@redhat.com>
* configure.in (am33_2.0-*-linux*): Added.

21 years ago * configure.in: Add ${libgcj} to noconfigdirs for xtensa-*-* targets.
Bob Wilson [Thu, 10 Jul 2003 05:00:47 +0000 (05:00 +0000)]
    * configure.in: Add ${libgcj} to noconfigdirs for xtensa-*-* targets.
        * configure: Regenerate.

21 years ago2001-05-16 Alexandre Oliva <aoliva@redhat.com>
Alexandre Oliva [Thu, 10 Jul 2003 03:19:40 +0000 (03:19 +0000)]
2001-05-16  Alexandre Oliva  <aoliva@redhat.com>
* mn10300.h: Introduce GOTPC16, GOTOFF24, GOTOFF16 and
PLT16, and rename GOTPC to GOTPC32 and GOTOFF to GOTOFF32.
Renumbered all relocs.
2001-04-12  Alexandre Oliva  <aoliva@redhat.com>
* mn10300.h (R_MN10300_GOTPC, R_MN10300_GOTOFF,
R_MN10300_PLT32, R_MN10300_GOT32, R_MN10300_GOT24,
R_MN10300_GOT16, R_MN10300_COPY, R_MN10300_GLOB_DAT,
R_MN10300_JMP_SLOT, R_MN10300_RELATIVE): New relocs.

21 years ago2000-04-01 Alexandre Oliva <aoliva@cygnus.com>
Alexandre Oliva [Thu, 10 Jul 2003 02:49:07 +0000 (02:49 +0000)]
2000-04-01  Alexandre Oliva  <aoliva@cygnus.com>
* mn10300.h (AM33_2): Renamed from AM33.
2000-03-31  Alexandre Oliva  <aoliva@cygnus.com>
* mn10300.h (AM332, FMT_D3): Defined.
(MN10300_OPERAND_FSREG, MN10300_OPERAND_FDREG): Likewise.
(MN10300_OPERAND_FPCR): Likewise.

21 years ago2000-04-01 Alexandre Oliva <aoliva@cygnus.com>
Alexandre Oliva [Thu, 10 Jul 2003 02:49:00 +0000 (02:49 +0000)]
2000-04-01  Alexandre Oliva  <aoliva@cygnus.com>
* mn10300.h (E_MN10300_MACH_AM33_2): Renamed from
E_MN10300_MACH_AM332.
2000-03-31  Alexandre Oliva  <aoliva@cygnus.com>
* mn10300.h (E_MN10300_MACH_AM332): Defined.

21 years ago* include/cygwin/version.h: Bump DLL minor number to 1.
Christopher Faylor [Thu, 10 Jul 2003 02:33:27 +0000 (02:33 +0000)]
* include/cygwin/version.h: Bump DLL minor number to 1.

21 years ago* fhandler_proc.cc (format_proc_stat): Use correctly sized constants for
Christopher Faylor [Thu, 10 Jul 2003 02:09:24 +0000 (02:09 +0000)]
* fhandler_proc.cc (format_proc_stat): Use correctly sized constants for
filling in zeros on 98.

21 years ago* include/cygwin/version.h: Bump DLL minor number to 1.
Christopher Faylor [Thu, 10 Jul 2003 01:58:39 +0000 (01:58 +0000)]
* include/cygwin/version.h: Bump DLL minor number to 1.

21 years ago* fhandler_proc.cc (fhandler_proc::fill_filebuf): Allocate more space for stat
Christopher Faylor [Thu, 10 Jul 2003 01:09:24 +0000 (01:09 +0000)]
* fhandler_proc.cc (fhandler_proc::fill_filebuf): Allocate more space for stat
buffer.
(format_proc_stat): Reorganize to accumulate and report on all cpus.

21 years ago* sysconf.cc (sysconf): Return processors online rather than bitmask for
Christopher Faylor [Wed, 9 Jul 2003 23:59:47 +0000 (23:59 +0000)]
* sysconf.cc (sysconf): Return processors online rather than bitmask for
_SC_NPROCESSORS_ONLN.

21 years ago* libc/include/math.h (nan, nanf): Update prototype to C99.
Alexandre Oliva [Wed, 9 Jul 2003 17:52:31 +0000 (17:52 +0000)]
* libc/include/math.h (nan, nanf): Update prototype to C99.
* libm/common/s_nan.c (nan): Likewise.
* libm/common/s_nanf.c (nanf, nan): Likewise.
* libc/sys/linux/cmath/math_private.h (nan, nanf): Likewise.

21 years ago* cygheap.cc (creturn): Set appropriate errno when out of memory.
Christopher Faylor [Wed, 9 Jul 2003 01:33:06 +0000 (01:33 +0000)]
* cygheap.cc (creturn): Set appropriate errno when out of memory.
(ccalloc): Only issue system_printf when debugging.
* dtable.cc (dtable::extend): Only allocate 100 * the incremental growth size
max.  Set errno appropriately.
(dtable::build_fhandler): Check for error from set_name.
* fhandler.cc (fhandler_base::set_name): Set errno and return error on OOM.
* fhandler.h (fhandler_base::set_name): Change to bool.
* fhandler_process.cc (format_process_stat): Fix formatting.
* resource.cc (getrlimit): Return greater of OPEN_MAX or fd table size.
* sysconf.cc (sysconf): Ditto.

21 years agoRefer to full name in latest ChangeLog entry.
Jeff Johnston [Tue, 8 Jul 2003 17:46:10 +0000 (17:46 +0000)]
Refer to full name in latest ChangeLog entry.

21 years ago2003-07-08 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 8 Jul 2003 16:06:09 +0000 (16:06 +0000)]
2003-07-08  Jeff Johnston  <jjohnstn@redhat.com>

        * configure.in: Reapply Inaoko's multilib patch from
        04-17-03.
        * configure: Regenerated.

21 years ago * include/commctrl.h (NMTVDISPINFO[AW]): Replace obsolete struct
Danny Smith [Tue, 8 Jul 2003 11:11:58 +0000 (11:11 +0000)]
* include/commctrl.h (NMTVDISPINFO[AW]): Replace obsolete struct
names _TV_DISPINFO[AW] and typedefs. Add defines for backward
compatability. Thanks to Magnus Olsen <greatlord@users.sf.net>
for report.

21 years ago2003-07-07 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 7 Jul 2003 22:31:08 +0000 (22:31 +0000)]
2003-07-07  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/stdbool.h: Removed as this is defined by gcc.

21 years ago* rmsym: Don't use ranlib.
Christopher Faylor [Mon, 7 Jul 2003 05:32:24 +0000 (05:32 +0000)]
* rmsym: Don't use ranlib.

21 years ago* newsym: Reenable removal of tmp directory. Just use ar to generate archive
Christopher Faylor [Mon, 7 Jul 2003 05:30:33 +0000 (05:30 +0000)]
* newsym: Reenable removal of tmp directory.  Just use ar to generate archive
index.
* Makefile.in: Don't send ranlib to newsym.

21 years ago* newsym: Create objects that are closer to those created by dlltool so as not
Christopher Faylor [Mon, 7 Jul 2003 05:23:35 +0000 (05:23 +0000)]
* newsym: Create objects that are closer to those created by dlltool so as not
to confuse --export-all-symbols.
* rmsym: Be a little more accepting of object filenames now that dlltool can
create different format files.

21 years ago* newsym: Oops. Revert below change.
Christopher Faylor [Mon, 7 Jul 2003 00:14:58 +0000 (00:14 +0000)]
* newsym: Oops.  Revert below change.

21 years ago* newsym: Use correct prefix for generating imports.
Christopher Faylor [Sun, 6 Jul 2003 23:24:13 +0000 (23:24 +0000)]
* newsym: Use correct prefix for generating imports.
* pinfo.cc (_pinfo::commune_send): Don't wait forever for a response from
another process.

21 years agoupdate copyright
Christopher Faylor [Sun, 6 Jul 2003 21:45:21 +0000 (21:45 +0000)]
update copyright

21 years ago2003-07-06 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sun, 6 Jul 2003 21:44:55 +0000 (21:44 +0000)]
2003-07-06  H.J. Lu <hongjiu.lu@intel.com>

* demangle.h: Support C++.

21 years ago* winsup.api/known_bugs.tcl: Remove gethostid01 from list of known bugs.
Christopher Faylor [Sun, 6 Jul 2003 21:40:38 +0000 (21:40 +0000)]
* winsup.api/known_bugs.tcl: Remove gethostid01 from list of known bugs.

21 years ago2003-07-06 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sun, 6 Jul 2003 21:38:00 +0000 (21:38 +0000)]
2003-07-06  H.J. Lu <hongjiu.lu@intel.com>

* config-ml.in: Replace PWD with PWD_COMMAND.
* Makefile.tpl: Likewise.
* Makefile.in: Regenerated.

21 years agowhite space
Christopher Faylor [Sun, 6 Jul 2003 20:13:48 +0000 (20:13 +0000)]
white space

21 years ago* syscalls.cc (gethostid): Set thread affinity so that results are predictable.
Christopher Faylor [Sun, 6 Jul 2003 20:08:42 +0000 (20:08 +0000)]
* syscalls.cc (gethostid): Set thread affinity so that results are predictable.

21 years ago* Makefile.in: Remove .dat files when cleaning.
Christopher Faylor [Sun, 6 Jul 2003 19:25:40 +0000 (19:25 +0000)]
* Makefile.in: Remove .dat files when cleaning.

21 years ago* Makefile.in: Remove .d files when cleaning.
Christopher Faylor [Sun, 6 Jul 2003 19:24:31 +0000 (19:24 +0000)]
* Makefile.in: Remove .d files when cleaning.

21 years ago * mmap.cc (list::match): Add parameters to return valid address and
Corinna Vinschen [Sat, 5 Jul 2003 18:59:35 +0000 (18:59 +0000)]
* mmap.cc (list::match): Add parameters to return valid address and
length back to munmap().  Evaluate intersection between given
area and mapped area and return it, if any.
(mmap64): On regular files, don't allow mappings beginning beyond
EOF.  Return with errno set to ENXIO instead.
(munmap): Rewrite SUSv3 conformant.  Check if given memory area is
valid.  Unmap all maps inside given memory area.  Don't return error
if no mapping has been unmapped.

21 years ago * fhandler.h (fhandler_socket::get_connect_state): New method to
Corinna Vinschen [Sat, 5 Jul 2003 18:20:13 +0000 (18:20 +0000)]
* fhandler.h (fhandler_socket::get_connect_state): New method to
return socket connection state.
* fhandler_socket.cc (dup): Copy socket connect state to new file
handle.
* net.cc (cygwin_rcmd): Mark file handles of sockets returned by
rcmd() as CONNECTED state.
(cygwin_rexec): Similarly for rexec().
(socketpair): Mark both ends of a new socket pair as CONNECTED.

21 years agoClean up white space
Zack Weinberg [Sat, 5 Jul 2003 16:54:46 +0000 (16:54 +0000)]
Clean up white space

21 years agofix typo
Christopher Faylor [Fri, 4 Jul 2003 17:37:59 +0000 (17:37 +0000)]
fix typo

21 years ago * mmap.cc (fhandler_disk_file::mmap): Fix address test.
Corinna Vinschen [Fri, 4 Jul 2003 09:06:54 +0000 (09:06 +0000)]
* mmap.cc (fhandler_disk_file::mmap): Fix address test.

21 years ago* mount.cc (struct opt): Remove posix option.
Christopher Faylor [Fri, 4 Jul 2003 03:20:22 +0000 (03:20 +0000)]
* mount.cc (struct opt): Remove posix option.

21 years ago* mount.cc (longopts): Add long "options" keyword.
Christopher Faylor [Fri, 4 Jul 2003 03:11:18 +0000 (03:11 +0000)]
* mount.cc (longopts): Add long "options" keyword.
(opts): Add -o option.
(usage): Display -o option.
(struct opt): New.
(concat3): New function.
(main): Handle -o flag.

21 years ago* path.cc (fillout_mntent): Change "posix" to "managed".
Christopher Faylor [Fri, 4 Jul 2003 03:08:26 +0000 (03:08 +0000)]
* path.cc (fillout_mntent): Change "posix" to "managed".

21 years ago* fhandler.h (FH_ENC): New enum.
Christopher Faylor [Fri, 4 Jul 2003 03:07:01 +0000 (03:07 +0000)]
* fhandler.h (FH_ENC): New enum.
(fhandler_base::get_encoded): New function.
(fhandler_base::set_encoded): Ditto.
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Set encoded flag in
fhandler, as appropriate.
(fhandler_disk_file::readdir): Unmunge filename as appropriate based on new
encoding flag.
* path.cc (normalize_posix_path): Don't punt on files with colons.
(special_char): New function.
(mount_item::fnmunge): Ditto.
(fnunmunge): Ditto.
(special_name): Ditto.
(mount_item::build_win32): Avoid drive considerations when file is encoded.
(mount_info::conv_to_win32_path): Handle encoded filenames.
(mount_info::conv_to_posix_path): Ditto.
(fillout_mntent): Add posix string when directory is encoded.
* path.h (fnunmunge): Declare.
(path_conv::is_encoded): Declare.

21 years agontsec patch
Christopher Faylor [Fri, 4 Jul 2003 01:58:24 +0000 (01:58 +0000)]
ntsec patch

21 years ago* fhandler_tty.cc (fhandler_tty_slave::open): Conditionalize a little more of
Christopher Faylor [Thu, 3 Jul 2003 21:22:17 +0000 (21:22 +0000)]
* fhandler_tty.cc (fhandler_tty_slave::open): Conditionalize a little more of
the cygserver stuff so that ttys actually work.

21 years ago * mmap.cc (mmap64): Allow MAP_FIXED with pagesize granularity (4K).
Corinna Vinschen [Thu, 3 Jul 2003 20:53:26 +0000 (20:53 +0000)]
* mmap.cc (mmap64): Allow MAP_FIXED with pagesize granularity (4K).
If a non-zero addr is given, align it to the next lower 64K boundary.
(fhandler_disk_file::mmap): If a non-zero address is given, try
mapping using the given address first.  If it fails and flags is not
MAP_FIXED, try again with NULL address.

21 years ago2003-07-03 Shaun Jackman <sjackman@pathwayconnect.com>
Jeff Johnston [Thu, 3 Jul 2003 17:11:08 +0000 (17:11 +0000)]
2003-07-03  Shaun Jackman  <sjackman@pathwayconnect.com>

        * libc/include/stdbool.h: New header file defined by C99.

21 years ago * config.guess, config.sub: Update with new versions from ftp.gnu.org.
Earnie Boyd [Thu, 3 Jul 2003 15:17:14 +0000 (15:17 +0000)]
* config.guess, config.sub: Update with new versions from ftp.gnu.org.

21 years ago * config.guess, config.sub: Update with versions from ftp.gnu.org.
Earnie Boyd [Thu, 3 Jul 2003 15:15:56 +0000 (15:15 +0000)]
* config.guess, config.sub: Update with versions from ftp.gnu.org.

21 years ago * mingwex/math/trunc.c (trunc): Provide lvalue for memory input constraint.
Danny Smith [Thu, 3 Jul 2003 11:24:18 +0000 (11:24 +0000)]
* mingwex/math/trunc.c (trunc): Provide lvalue for memory input constraint.
* mingwex/math/truncf.c (truncf): Likewise.
* mingwex/math/truncl.c (truncl): Likewise.
* mingwex/math/modff.c (modff): Likewise.
* mingwex/math/modfl.c (modfl): Likewise.

21 years ago * include/search.h: New file.
Danny Smith [Thu, 3 Jul 2003 07:50:53 +0000 (07:50 +0000)]
* include/search.h: New file.
* include/stdlib.h: Add comment about qsort, bsearch in
search.h.
* test_headers.c: Include search.h.
* moldname.def.in (lfind, lsearch): Add.

21 years ago * include/commdlg.h (CommDlg_OpenSave_*): Add parentheses around
Luke Dunstan [Thu, 3 Jul 2003 02:19:01 +0000 (02:19 +0000)]
* include/commdlg.h (CommDlg_OpenSave_*): Add parentheses around
macro arguments. Thanks to Tom Bishop <tombishop@users.sf.net>.
* include/winuser.h (MONITOR_DEFAULTTONULL, MONITOR_DEFAULTTOPRIMARY,
MONITOR_DEFAULTTONEAREST, MONITORINFOF_PRIMARY): Add defines.
(TPM_RECURSE): Add guard for Win98/Win2K.
Thanks to Magnus Olsen <greatlord@users.sf.net>.

21 years ago * include/process.h (_execv, _execvp, _spawnv, _spawnvp, _execve,
Danny Smith [Wed, 2 Jul 2003 22:09:25 +0000 (22:09 +0000)]
* include/process.h (_execv, _execvp, _spawnv, _spawnvp, _execve,
_execvpe, _spawnve, _spawnvpe, execv, execvp, spawnv, spawnvp,
execve, execvpe, spawnve, spawnvpe): Const-ify all the char params.

21 years ago2003-07-02 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 2 Jul 2003 20:32:07 +0000 (20:32 +0000)]
2003-07-02  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/types.h (int8_t): Make signed.

21 years ago2003-07-02 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 2 Jul 2003 17:34:20 +0000 (17:34 +0000)]
2003-07-02  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/include/mqueue.h: Add include of <sys/fcntl.h>.

21 years ago* thread.cc: Remove _MT_SAFE conditional.
Christopher Faylor [Wed, 2 Jul 2003 03:50:05 +0000 (03:50 +0000)]
* thread.cc: Remove _MT_SAFE conditional.

21 years ago* configure.in: Add --enable-server option.
Christopher Faylor [Wed, 2 Jul 2003 03:33:01 +0000 (03:33 +0000)]
* configure.in: Add --enable-server option.
* configure: Regenerate.

21 years agofix typo
Christopher Faylor [Wed, 2 Jul 2003 03:32:04 +0000 (03:32 +0000)]
fix typo

21 years ago* configure.in: Fix --enable-server option.
Christopher Faylor [Wed, 2 Jul 2003 03:29:40 +0000 (03:29 +0000)]
* configure.in: Fix --enable-server option.

21 years ago* Makefile.in: Remove cygserver stuff.
Christopher Faylor [Wed, 2 Jul 2003 03:16:00 +0000 (03:16 +0000)]
* Makefile.in: Remove cygserver stuff.
* acconfig.h: Add USE_CYGSERVER define.
* config.h.in: Regenerate.
* configure.in: Add --enable-server setting.
* configure: Regenerate.
* fhandler_tty.cc (fhandler_tty_slave::open): Conditionalize compilation of
cygserver stuff.
* fork.cc (fork_child): Ditto.
* shm.cc: Ditto.
* tty.cc (tty::common_init): Ditto.
* dcrt0.cc: Use bool rather than BOOL for CYGWIN environment variable
definitions.
* environ.cc: Ditto.
* ntea.cc: Ditto.
* security.cc: Ditto.
* security.h: Ditto.
* syscalls.cc (check_posix_perm): Remove externs that were already declared in
a header.
* winsup.h: Ditto.  Declare _MT_SAFE here.  Delete it someday since cygwin
should always be _MT_SAFE.

21 years ago* Makefile.in (OBJS): Move some more files from cygwin directory.
Christopher Faylor [Wed, 2 Jul 2003 02:31:32 +0000 (02:31 +0000)]
* Makefile.in (OBJS): Move some more files from cygwin directory.
* woutsup.h: Define _MT_SAFE.

21 years ago* Makefile.common (CFLAGS_COMMON): Remove -Winline since it is too noisy on
Christopher Faylor [Wed, 2 Jul 2003 02:30:16 +0000 (02:30 +0000)]
* Makefile.common (CFLAGS_COMMON): Remove -Winline since it is too noisy on
newer versions of gcc.

21 years ago * include/basetyps.h (small, hyper): Change to __small and __hyper to
Earnie Boyd [Tue, 1 Jul 2003 23:37:00 +0000 (23:37 +0000)]
* include/basetyps.h (small, hyper): Change to __small and __hyper to
avoid user namespace conflicts.

21 years ago * include/_mingw.h (small, hyper): Change to __small and __hyper to
Earnie Boyd [Tue, 1 Jul 2003 23:34:36 +0000 (23:34 +0000)]
* include/_mingw.h (small, hyper): Change to __small and __hyper to
avoid user space name conflicts.

21 years agomerge from gcc
DJ Delorie [Tue, 1 Jul 2003 21:17:41 +0000 (21:17 +0000)]
merge from gcc

21 years agofirst checkin
Christopher Faylor [Tue, 1 Jul 2003 21:09:39 +0000 (21:09 +0000)]
first checkin

21 years agoFirst checkins.
Christopher Faylor [Tue, 1 Jul 2003 21:09:30 +0000 (21:09 +0000)]
First checkins.

21 years ago* configure.in: Add cygserver subdir.
Christopher Faylor [Tue, 1 Jul 2003 20:51:03 +0000 (20:51 +0000)]
* configure.in: Add cygserver subdir.
* Makefile.in: Ditto.
* configure: Regenerate.
* Makefile.common: Remove debugging statements.

21 years ago * s390.h (s390_opcode_cpu_val): Add enum for cpu type z990.
Martin Schwidefsky [Tue, 1 Jul 2003 14:46:57 +0000 (14:46 +0000)]
    * s390.h (s390_opcode_cpu_val): Add enum for cpu type z990.

21 years ago * s390.h (elf_s390_reloc_type): Add long displacement relocations
Martin Schwidefsky [Tue, 1 Jul 2003 14:46:26 +0000 (14:46 +0000)]
    * s390.h (elf_s390_reloc_type): Add long displacement relocations
        R_390_20, R_390_GOT20, R_390_GOTPLT20 and R_390_TLS_GOTIE20.

21 years ago * mingwex/math/tgamma.c, tgammaf.c, tgammal.c (small):
Earnie Boyd [Tue, 1 Jul 2003 13:55:47 +0000 (13:55 +0000)]
* mingwex/math/tgamma.c, tgammaf.c, tgammal.c (small):
Rename to Small (case difference).

21 years ago Change existing guards to use the above macro names as appropriate.
Earnie Boyd [Tue, 1 Jul 2003 13:01:41 +0000 (13:01 +0000)]
Change existing guards to use the above macro names as appropriate.
* include/basetyps.h (__int32, __int16, __int8, small, hyper): Define.
Note: Also added to mingw/include/_mingw.h.

21 years ago * include/_mingw.h (__int32, __int16, __int8, small, hyper): Define.
Earnie Boyd [Tue, 1 Jul 2003 12:57:53 +0000 (12:57 +0000)]
* include/_mingw.h (__int32, __int16, __int8, small, hyper): Define.
Note: Also added to w32api/include/basetyps.h.

21 years ago * include/w32api.h (_NT4, _W98, _WME, _NT5, _W2000, _WXP, _W2003,
Earnie Boyd [Tue, 1 Jul 2003 12:01:05 +0000 (12:01 +0000)]
* include/w32api.h (_NT4, _W98, _WME, _NT5, _W2000, _WXP, _W2003,
_IE3, _IE4, _IE5, _IE6): Add definitions.
* include/winbase.h (GetLongPathName[AW]): Add guard for OS >= NT5 or
>= Win98.
Change existing guards to use the above macro names as appropriate.

21 years agomerge from gcc
DJ Delorie [Tue, 1 Jul 2003 01:12:46 +0000 (01:12 +0000)]
merge from gcc

21 years ago * xtensa-config.h (XCHAL_HAVE_CONST16, XCHAL_HAVE_ABS,
Bob Wilson [Mon, 30 Jun 2003 21:56:32 +0000 (21:56 +0000)]
    * xtensa-config.h (XCHAL_HAVE_CONST16, XCHAL_HAVE_ABS,
        XCHAL_HAVE_ADDX, XCHAL_HAVE_L32R): Define.

21 years ago * cygheap.h (enum impersonation): New enum.
Corinna Vinschen [Mon, 30 Jun 2003 13:07:36 +0000 (13:07 +0000)]
* cygheap.h (enum impersonation): New enum.
(cygheap_user::token): Delete.
(cygheap_user::impersonated): Delete.
(cygheap_user::external_token): New member.
(cygheap_user::internal_token): New member.
(cygheap_user::impersonation_state): New member.
(cygheap_user::issetuid): Modify.
(cygheap_user::token): New method.
(cygheap_user::deimpersonate): New method.
(cygheap_user::reimpersonate): New method.
(cygheap_user::has_impersonation_tokens): New method.
(cygheap_user::close_impersonation_tokens): New method.
* dtable.cc (dtable::vfork_child_dup): Use new cygheap_user methods.
* fhandler_socket.cc (fhandler_socket::dup): Ditto.
* fork.cc (fork_child): Ditto.
(fork_parent): Ditto.
* grp.cc (internal_getgroups): Ditto.
* security.cc (verify_token): Ditto.
(check_file_access): Ditto.
(cygwin_set_impersonation_token): Detect conflicts. Set
user.external_token.
* spawn.cc (spawn_guts): Use new cygheap_user methods.
* syscalls.cc (seteuid32): Rearrange to use the two tokens
in cygheap_user.
(setegid32): Use new cygheap_user methods.
* uinfo.cc: (internal_getlogin): Ditto.

21 years ago * xcoff.h (struct __rtinit ): Convert to ISO C90 prototypes.
Andreas Jaeger [Sun, 29 Jun 2003 13:52:02 +0000 (13:52 +0000)]
* xcoff.h (struct __rtinit ): Convert to ISO C90 prototypes.

* ecoff.h: Convert to ISO C90 prototypes.  Replace PTR by void *.

21 years ago * mmix.h: Convert to ISO C90 prototypes.
Andreas Jaeger [Sun, 29 Jun 2003 13:51:25 +0000 (13:51 +0000)]
* mmix.h: Convert to ISO C90 prototypes.
* mips.h: Likewise.

* reloc-macros.h (START_RELOC_NUMBERS): Convert to ISO C90
prototype.
(RELOC_NUMBER): Remove !__STDC__ code.

21 years ago2003-06-28 Steven Edwards <Steven_Ed4153@yahoo.com>
Danny Smith [Sat, 28 Jun 2003 05:34:47 +0000 (05:34 +0000)]
2003-06-28  Steven Edwards  <Steven_Ed4153@yahoo.com>

* include/shlwapi.h (UrlGetLocationA, UrlGetLocationW,
PathFindSuffixArrayA, PathFindSuffixArrayW,
PathFindExtensionA, PathFindExtensionW, StrStrW
StrStrA): Change unicode-macro'd LP[C]TSTR return values to
explicit type.

21 years ago2003-06-27 Jose Goncalves <jose.goncalves@inov.pt>
Jeff Johnston [Fri, 27 Jun 2003 21:25:19 +0000 (21:25 +0000)]
2003-06-27  Jose Goncalves  <jose.goncalves@inov.pt>

        * libc/sys/linux/mq_open.c (mq_open): Only set created flag
        on if we actually created the shared memory file exclusively.

21 years ago2003-06-27 Joe Vornehm <joev@mitre.org>
Jeff Johnston [Fri, 27 Jun 2003 20:12:01 +0000 (20:12 +0000)]
2003-06-27  Joe Vornehm  <joev@mitre.org>

        * libm/common/s_fpclassify.c (__fpclassifyf): Fix
        comparisons to account for unsigned internal value w.

21 years ago * configure.in: Clean up config-lang.in handling. Delete
Nathanael Nerode [Fri, 27 Jun 2003 17:34:33 +0000 (17:34 +0000)]
* configure.in: Clean up config-lang.in handling.  Delete
useless assignment to "subdirs".
* configure: Regenerate.

21 years ago2003-06-26 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 27 Jun 2003 00:00:48 +0000 (00:00 +0000)]
2003-06-26  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/mq_open.c (mq_open): Must allocate rdbuf and
        wrbuf for a non-creating open.

21 years ago * configure.in: Rename 'target_libs' to 'target_libraries'.
Nathanael Nerode [Thu, 26 Jun 2003 20:19:41 +0000 (20:19 +0000)]
* configure.in: Rename 'target_libs' to 'target_libraries'.
Remove useless reference to 'target_libs'.
* configure: Regenerate.

21 years ago2003-06-26 Mattia Barbon <mbarbon@dsi.unive.it>
Danny Smith [Thu, 26 Jun 2003 01:49:11 +0000 (01:49 +0000)]
2003-06-26  Mattia Barbon  <mbarbon@dsi.unive.it>

* include/richedit.h (PARAFORMAT2): Add definition.
* include/richedit.h (PFA_*, PFE_*, PFM_*): Add some
missing constants.

21 years ago* Makefile.in: Use INSTALL_PROGRAM to install the cygwin DLL.
Christopher Faylor [Wed, 25 Jun 2003 19:12:01 +0000 (19:12 +0000)]
* Makefile.in: Use INSTALL_PROGRAM to install the cygwin DLL.

21 years agoinclude/opcode/
Richard Sandiford [Wed, 25 Jun 2003 15:31:57 +0000 (15:31 +0000)]
include/opcode/
* h8300.h (IMM2_NS, IMM8_NS, IMM16_NS): Remove.
(IMM8U, IMM8U_NS): Define.
(h8_opcodes): Use IMM8U_NS for mov.[wl] #xx:8,@yy.

gas/
* config/tc-h8300.c (get_specific): Allow ':8' to be used for
unsigned 8-bit operands.

gas/testsuite/
* gas/h8300/h8sx_mov_imm.[sd]: Add tests for mov.[wl] #xx:8,@yy.

21 years ago * include/opcode/h8300.h (h8_opcodes): Fix the mov.l @(dd:32,ERs),ERd
Richard Sandiford [Wed, 25 Jun 2003 15:19:40 +0000 (15:19 +0000)]
* include/opcode/h8300.h (h8_opcodes): Fix the mov.l @(dd:32,ERs),ERd
and mov.l ERs,@(dd:32,ERd) entries.

21 years agoCorrect spelling of "relocatable".
Alan Modra [Wed, 25 Jun 2003 06:40:17 +0000 (06:40 +0000)]
Correct spelling of "relocatable".

21 years ago* thread.cc (MTinterface::fixup_after_fork): Fix thread list after fork.
Thomas Pfaff [Tue, 24 Jun 2003 20:14:01 +0000 (20:14 +0000)]
* thread.cc (MTinterface::fixup_after_fork): Fix thread list after fork.
(pthread::threads): Instantiate.
(pthread::pthread): Initialize running and suspendend.
Initialize next with NULL.
Add thread to thread list if it is not the null_pthread.
(pthread::~pthread): Remove thread from thread list if it is not the null_pthread.
(pthread::postcreate): Set running flag.
(pthread::exit): Reset running flag.
(pthread::cancel): Try to cancel thread only if still running.
(pthread::_fixup_after_fork): Implement.
(pthread::detach): Check if thread is still running before detach.
* thread.h (pthread::running): New member.
(pthread::next): Ditto.
(pthread::fixup_after_fork): New static method.
(pthread::threads): New static method.
(pthread::_fixup_after_fork): New method.

21 years ago2003-06-24 Kazu Hirata <kazu@cs.umass.edu>
Jeff Johnston [Tue, 24 Jun 2003 19:43:58 +0000 (19:43 +0000)]
2003-06-24  Kazu Hirata  <kazu@cs.umass.edu>

        * libc/machine/h8300/setarch.h: New.
        * libc/machine/h8300/memcpy.S: Use it.
        * libc/machine/h8300/memset.S: Likewise.
        * libc/machine/h8300/reg_memcpy.S: Likewise.
        * libc/machine/h8300/reg_memset.S: Likewise.
        * libc/machine/h8300/setjmp.S: Likewise.
        * libc/machine/h8300/strcmp.S: Likewise.

21 years ago * libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
Richard Sandiford [Tue, 24 Jun 2003 18:13:35 +0000 (18:13 +0000)]
* libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
to atexit().

21 years ago * Makefile.tpl: Add maybe-configure-itcl to configure-gdb.
Keith Seitz [Mon, 23 Jun 2003 21:30:43 +0000 (21:30 +0000)]
    * Makefile.tpl: Add maybe-configure-itcl to configure-gdb.
        * Makefile.in: Regenerate.

21 years ago * Makefile.def: Introduce flags_to_pass.
Nathanael Nerode [Mon, 23 Jun 2003 20:36:40 +0000 (20:36 +0000)]
* Makefile.def: Introduce flags_to_pass.
* Makefile.tpl: Generate BASE_FLAGS_TO_PASS using it.
* Makefile.in: Regenerate.

21 years agogas/
H.J. Lu [Mon, 23 Jun 2003 20:15:33 +0000 (20:15 +0000)]
gas/

2003-06-23  H.J. Lu <hongjiu.lu@intel.com>

* gas/config/tc-i386.c (md_assemble): Support Intel Precott New
Instructions.

* gas/config/tc-i386.h (CpuPNI): New.
(CpuUnknownFlags): Add CpuPNI.

gas/testsuite/

2003-06-23  H.J. Lu <hongjiu.lu@intel.com>

* gas/i386/i386.exp: Add prescott.

* gas/i386/prescott.d: New file.
* gas/i386/prescott.s: Likewise.

include/opcode/

2003-06-23  H.J. Lu <hongjiu.lu@intel.com>

* i386.h (i386_optab): Support Intel Precott New Instructions.

opcodes/

2003-06-23  H.J. Lu <hongjiu.lu@intel.com>

* i386-dis.c (PNI_Fixup): New. Fix up "mwait" and "monitor" in
Intel Precott New Instructions.
(PREGRP27): New. Added for "addsubpd" and "addsubps".
(PREGRP28): New. Added for "haddpd" and "haddps".
(PREGRP29): New. Added for "hsubpd" and "hsubps".
(PREGRP30): New. Added for "movsldup" and "movddup".
(PREGRP31): New. Added for "movshdup" and "movhpd".
(PREGRP32): New. Added for "lddqu".
(dis386_twobyte): Use PREGRP30 to replace the "movlpX" entry.
Use PREGRP31 to replace the "movhpX" entry. Use PREGRP28 for
entry 0x7c. Use PREGRP29 for entry 0x7d. Use PREGRP27 for
entry 0xd0. Use PREGRP32 for entry 0xf0.
(twobyte_has_modrm): Updated.
(twobyte_uses_SSE_prefix): Likewise.
(grps): Use PNI_Fixup in the "sidtQ" entry.
(prefix_user_table): Add PREGRP27, PREGRP28, PREGRP29, PREGRP30,
PREGRP31 and PREGRP32.
(float_mem): Use "fisttp{l||l|}" in entry 1 in opcode 0xdb.
Use "fisttpll" in entry 1 in opcode 0xdd.
Use "fisttp" in entry 1 in opcode 0xdf.

21 years ago2003-06-23 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
Jeff Johnston [Mon, 23 Jun 2003 19:06:12 +0000 (19:06 +0000)]
2003-06-23  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>

        * m32r/crt0.S (_start): Allow _stack to be placed anywhere
        in memory.

21 years agoForgot 'configure' item.
Hans-Peter Nilsson [Mon, 23 Jun 2003 00:43:42 +0000 (00:43 +0000)]
Forgot 'configure' item.

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