Corinna Vinschen
6556178009
* 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.
2003-07-03 20:53:26 +00:00
Jeff Johnston
0a447ef392
2003-07-03 Shaun Jackman <sjackman@pathwayconnect.com>
...
* libc/include/stdbool.h: New header file defined by C99.
2003-07-03 17:11:08 +00:00
Earnie Boyd
0def41361b
* config.guess, config.sub: Update with new versions from ftp.gnu.org.
2003-07-03 15:17:14 +00:00
Earnie Boyd
cdff6e0e16
* config.guess, config.sub: Update with versions from ftp.gnu.org.
2003-07-03 15:15:56 +00:00
Danny Smith
235f653a53
* 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.
2003-07-03 11:24:18 +00:00
Danny Smith
78b8a13965
* 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.
2003-07-03 07:50:53 +00:00
Luke Dunstan
b1868c88bc
* 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>.
2003-07-03 02:19:01 +00:00
Danny Smith
e298efab0a
* 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.
2003-07-02 22:09:25 +00:00
Jeff Johnston
282eff9a6a
2003-07-02 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/include/sys/types.h (int8_t): Make signed.
2003-07-02 20:32:07 +00:00
Jeff Johnston
4e989b11f3
2003-07-02 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/sys/linux/include/mqueue.h: Add include of <sys/fcntl.h>.
2003-07-02 17:34:20 +00:00
Christopher Faylor
f3ff0ca9ed
* thread.cc: Remove _MT_SAFE conditional.
2003-07-02 03:50:05 +00:00
Christopher Faylor
9c01984ec2
* configure.in: Add --enable-server option.
...
* configure: Regenerate.
2003-07-02 03:33:01 +00:00
Christopher Faylor
6a59d15696
fix typo
2003-07-02 03:32:04 +00:00
Christopher Faylor
8fb2df196d
* configure.in: Fix --enable-server option.
2003-07-02 03:29:40 +00:00
Christopher Faylor
3872e9a419
* 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.
2003-07-02 03:16:00 +00:00
Christopher Faylor
4d8d80b8a7
* Makefile.in (OBJS): Move some more files from cygwin directory.
...
* woutsup.h: Define _MT_SAFE.
2003-07-02 02:31:32 +00:00
Christopher Faylor
1847a1637d
* Makefile.common (CFLAGS_COMMON): Remove -Winline since it is too noisy on
...
newer versions of gcc.
2003-07-02 02:30:16 +00:00
Earnie Boyd
f7ba12a587
* include/basetyps.h (small, hyper): Change to __small and __hyper to
...
avoid user namespace conflicts.
2003-07-01 23:37:00 +00:00
Earnie Boyd
acd2330e32
* include/_mingw.h (small, hyper): Change to __small and __hyper to
...
avoid user space name conflicts.
2003-07-01 23:34:36 +00:00
DJ Delorie
d1ba63e143
merge from gcc
2003-07-01 21:17:41 +00:00
Christopher Faylor
345ee543e0
first checkin
2003-07-01 21:09:39 +00:00
Christopher Faylor
c57452c817
First checkins.
2003-07-01 21:09:30 +00:00
Christopher Faylor
350c2f44b8
* configure.in: Add cygserver subdir.
...
* Makefile.in: Ditto.
* configure: Regenerate.
* Makefile.common: Remove debugging statements.
2003-07-01 20:51:03 +00:00
Martin Schwidefsky
5ed85bb96e
* s390.h (s390_opcode_cpu_val): Add enum for cpu type z990.
2003-07-01 14:46:57 +00:00
Martin Schwidefsky
591a16af6e
* s390.h (elf_s390_reloc_type): Add long displacement relocations
...
R_390_20, R_390_GOT20, R_390_GOTPLT20 and R_390_TLS_GOTIE20.
2003-07-01 14:46:26 +00:00
Earnie Boyd
e21a622054
* mingwex/math/tgamma.c, tgammaf.c, tgammal.c (small):
...
Rename to Small (case difference).
2003-07-01 13:55:47 +00:00
Earnie Boyd
6dbe0697a7
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.
2003-07-01 13:01:41 +00:00
Earnie Boyd
fecdb8380e
* include/_mingw.h (__int32, __int16, __int8, small, hyper): Define.
...
Note: Also added to w32api/include/basetyps.h.
2003-07-01 12:57:53 +00:00
Earnie Boyd
b8582a99b5
* 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.
2003-07-01 12:01:05 +00:00
DJ Delorie
88112d1d65
merge from gcc
2003-07-01 01:12:46 +00:00
Bob Wilson
dcc3c258a9
* xtensa-config.h (XCHAL_HAVE_CONST16, XCHAL_HAVE_ABS,
...
XCHAL_HAVE_ADDX, XCHAL_HAVE_L32R): Define.
2003-06-30 21:56:32 +00:00
Corinna Vinschen
70249d5687
* 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.
2003-06-30 13:07:36 +00:00
Andreas Jaeger
3fbdb70ec6
* xcoff.h (struct __rtinit ): Convert to ISO C90 prototypes.
...
* ecoff.h: Convert to ISO C90 prototypes. Replace PTR by void *.
2003-06-29 13:52:02 +00:00
Andreas Jaeger
0c03b46350
* 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.
2003-06-29 13:51:25 +00:00
Danny Smith
a52e274d12
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.
2003-06-28 05:34:47 +00:00
Jeff Johnston
07b40cf849
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.
2003-06-27 21:25:19 +00:00
Jeff Johnston
7daa789107
2003-06-27 Joe Vornehm <joev@mitre.org>
...
* libm/common/s_fpclassify.c (__fpclassifyf): Fix
comparisons to account for unsigned internal value w.
2003-06-27 20:12:01 +00:00
Nathanael Nerode
8a7cd7e5f9
* configure.in: Clean up config-lang.in handling. Delete
...
useless assignment to "subdirs".
* configure: Regenerate.
2003-06-27 17:34:33 +00:00
Jeff Johnston
51fa7562e2
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.
2003-06-27 00:00:48 +00:00
Nathanael Nerode
5283b6437d
* configure.in: Rename 'target_libs' to 'target_libraries'.
...
Remove useless reference to 'target_libs'.
* configure: Regenerate.
2003-06-26 20:19:41 +00:00
Danny Smith
b08e1ec95a
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.
2003-06-26 01:49:11 +00:00
Christopher Faylor
b06d4a0881
* Makefile.in: Use INSTALL_PROGRAM to install the cygwin DLL.
2003-06-25 19:12:01 +00:00
Richard Sandiford
a7a57ebcaf
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.
2003-06-25 15:31:57 +00:00
Richard Sandiford
7eabbf53ff
* include/opcode/h8300.h (h8_opcodes): Fix the mov.l @(dd:32,ERs),ERd
...
and mov.l ERs,@(dd:32,ERd) entries.
2003-06-25 15:19:40 +00:00
Alan Modra
3d1ebe9b19
Correct spelling of "relocatable".
2003-06-25 06:40:17 +00:00
Thomas Pfaff
e1e196a225
* 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.
2003-06-24 20:14:01 +00:00
Jeff Johnston
b8f7ea5ccb
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.
2003-06-24 19:43:58 +00:00
Richard Sandiford
6d7ea52a26
* libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
...
to atexit().
2003-06-24 18:13:35 +00:00
Keith Seitz
c72bff5073
* Makefile.tpl: Add maybe-configure-itcl to configure-gdb.
...
* Makefile.in: Regenerate.
2003-06-23 21:30:43 +00:00
Nathanael Nerode
47cd8327a5
* Makefile.def: Introduce flags_to_pass.
...
* Makefile.tpl: Generate BASE_FLAGS_TO_PASS using it.
* Makefile.in: Regenerate.
2003-06-23 20:36:40 +00:00