]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
21 years ago* config.if: Copy from GCC.
Alexandre Oliva [Thu, 30 Jan 2003 11:59:17 +0000 (11:59 +0000)]
* config.if: Copy from GCC.

21 years ago* lib/getopt.c: Allow environment variable control of POSIXLY_INCORRECT behavior.
Christopher Faylor [Thu, 30 Jan 2003 01:14:30 +0000 (01:14 +0000)]
* lib/getopt.c: Allow environment variable control of POSIXLY_INCORRECT behavior.

21 years ago2003-01-29 Jason Tishler <jason@tishler.net>
Jeff Johnston [Wed, 29 Jan 2003 23:29:30 +0000 (23:29 +0000)]
2003-01-29  Jason Tishler  <jason@tishler.net>

* libc/include/time.h: Declare nanosleep() under Cygwin.

21 years ago * fhandler_socket.cc (fhandler_socket::accept): On successful execution
Corinna Vinschen [Tue, 28 Jan 2003 15:33:50 +0000 (15:33 +0000)]
* fhandler_socket.cc (fhandler_socket::accept): On successful execution
set connection state of returned socket to CONNECTED.

21 years ago* mips.h (EF_MIPS_XGOT): Define.
Alexandre Oliva [Tue, 28 Jan 2003 00:01:08 +0000 (00:01 +0000)]
* mips.h (EF_MIPS_XGOT): Define.

21 years ago2003-01-27 Krzysztof Nikiel <kni@poczta.onet.pl>
Danny Smith [Mon, 27 Jan 2003 23:11:13 +0000 (23:11 +0000)]
2003-01-27  Krzysztof Nikiel  <kni@poczta.onet.pl>

* include/mmsystem.h (MIXERCONTROL_CONTROLF_MULTIPLE): Correct
define.
* lib/largeint.c (LargeIntegerAdd): Add, don't multiply.

21 years ago* configure.in: Revert 24Jan change.
Alexandre Oliva [Mon, 27 Jan 2003 19:47:23 +0000 (19:47 +0000)]
* configure.in:  Revert 24Jan change.
* configure:  Regenerate.

21 years ago* passwd.cc (pwdgrp::parse_passwd): Be more unforgiving about non-numeric
Christopher Faylor [Mon, 27 Jan 2003 17:00:17 +0000 (17:00 +0000)]
* passwd.cc (pwdgrp::parse_passwd): Be more unforgiving about non-numeric
fields.

21 years agofix typo
Christopher Faylor [Mon, 27 Jan 2003 15:58:15 +0000 (15:58 +0000)]
fix typo

21 years ago2003-01-27 Danny Smith <dannysmith@users.sourceforge.net>
Danny Smith [Mon, 27 Jan 2003 07:15:17 +0000 (07:15 +0000)]
2003-01-27  Danny Smith  <dannysmith@users.sourceforge.net>

* include/rpcnterr.h (RPC_X_INVALID_PIPE_OPERATION): Add
define.
* include/winbase.h (WAIT_TIMEOUT): Guard against prior
definition.
(WAIT_FAILED): Cast to DWORD.
* include/winerror.h (WAIT_TIMEOUT): Guard against prior
definition.

2003-01-27  Bang Jun-Young  <junyoung@netbsd.org>

* include/winerror.h: Protect against multiple
definition of WSA* error codes.
* include/winsock.h: Likewise.
* include/winsock2.h: Likewise.

2003-01-27  Bang Dong-Heui
    Bang Jun-Young  <junyoung@netbsd.org>

* include/winerror.h (ERROR_*, SEC_E_*,RPC_S_*, FRS_ERR_*,
DNS_*, WSA*, WAIT_TIMEOUT): Add missing error codes.
(RPC_X_INVALID_PIPE_OPERATION): Remove define.

21 years ago* uinfo.cc (pwdgrp::next_num): Remove check for NULL since it is no longer a
Christopher Faylor [Mon, 27 Jan 2003 00:31:30 +0000 (00:31 +0000)]
* uinfo.cc (pwdgrp::next_num): Remove check for NULL since it is no longer a
valid return from next_str.
(pwdgrp::add_line): Duh.  Revert to use strchr.

21 years ago* strings.h (strechr): New function.
Christopher Faylor [Mon, 27 Jan 2003 00:16:01 +0000 (00:16 +0000)]
* strings.h (strechr): New function.
* uinfo.cc (pwdgrp::next_str): Search only for input char in string.  Return
EOS on failure.  Don't check for NULL since it shouldn't be possible.
(pwdgrp::add_line): Revert to replacing '\n' in input line with '\0'.
(pwdgrp::next_num): Pass explicit separator character to next_str.
* grp.cc (pwdgrp::parse_group): Ditto.
* passwd.cc (pwdgrp::parse_passwd): Ditto.  Revamp test for garbage input.
* pwdgrp.h (pwdgrp::next_str): Don't use default parameter.

21 years agoinclude/
Daniel Jacobowitz [Sun, 26 Jan 2003 07:33:29 +0000 (07:33 +0000)]
include/
* hashtab.h (htab_alloc_with_arg, htab_free_with_arg): Add new types.
(struct htab): Add alloc_arg, alloc_with_arg_f, free_with_arg_f.
(htab_create_alloc_ex): New prototype.
(htab_set_functions_ex): New prototype.
libiberty/
* hashtab.c (htab_create_alloc_ex): New function.
(hatab_set_functions_ex): New function.
(htab_delete, htab_expand): Support alternate allocation functions.

21 years ago * include/math.h (tgamma): Correct typo in comment.
Danny Smith [Sun, 26 Jan 2003 07:04:04 +0000 (07:04 +0000)]
* include/math.h (tgamma): Correct typo in comment.

21 years ago* uinfo.cc (pwdgrp::load): Regularize strace output. Add warning for
Christopher Faylor [Sun, 26 Jan 2003 06:42:40 +0000 (06:42 +0000)]
* uinfo.cc (pwdgrp::load): Regularize strace output.  Add warning for
CreateFile failure.

21 years ago * mingwex/mingw-fseek.c (INLINE): Remove define.
Danny Smith [Sun, 26 Jan 2003 06:38:43 +0000 (06:38 +0000)]
* mingwex/mingw-fseek.c (INLINE): Remove define.
(__mingw_is_win9x): Remove static inline function.
(_mingw_fwrite): Use _osver instead of __mingw_is_win9x.

21 years agoFix typo.
Christopher Faylor [Sun, 26 Jan 2003 06:27:26 +0000 (06:27 +0000)]
Fix typo.

21 years ago* passwd.cc (pwdgrp::parse_passwd): Eliminate use of memset. The structure
Christopher Faylor [Sun, 26 Jan 2003 06:02:34 +0000 (06:02 +0000)]
* passwd.cc (pwdgrp::parse_passwd): Eliminate use of memset.  The structure
should always be completely filled out.
* grp.cc (pwdgrp::parse_group): Ditto.
* grp.cc (pwdgrp::parse_group): Fix off-by-one problem in allocating

21 years ago* pwdgrp.cc (pwdgrp::parse_group): Fix off-by-one problem in allocating gr_mem.
Christopher Faylor [Sun, 26 Jan 2003 05:55:29 +0000 (05:55 +0000)]
* pwdgrp.cc (pwdgrp::parse_group): Fix off-by-one problem in allocating gr_mem.

21 years ago* include/sys/strace.h (paranoid_printf): Define as not being part of "all"
Christopher Faylor [Sun, 26 Jan 2003 05:38:38 +0000 (05:38 +0000)]
* include/sys/strace.h (paranoid_printf): Define as not being part of "all"
output.
* pwdgrp.h (pwdgrp::next_num): Rename from next_int.  Returns true/false if
parse operation succeeded.
(pwdgrp::reparse): Remove.
(pwdgrp::raw_ptr): New function.  Returns pointer in line.
(pwdgrp::next_num): New functions for parsing other than unsigned long.
* grp.cc (pwdgrp::parse_group): Reinstate previous parsing behavior.  Don't
fill in fields with NULL and assign empty gr_mem to known pointer rather than
doing a pointless calloc.  Streamline gr_mem parsing.  Don't increment
curr_lines here.
* passwd.cc (pwdgrp::parse_passwd): Use new behavior of next_num.  Don't
increment curr_lines here.
* uinfo.cc (pwdgrp::next_str): Keep returning EOL if out of data.
(pwdgrp::reparse): Remove.
(pwdgrp::next_num): Rename from next_int.  Return bool indicating success of
parse, argument returns value parsed.
(pwdgrp::add_line): Increment curr_lines here on successful parse.
(pwdgrp::load): (from Pierre Humblet) Don't return status.  Just report it
here.

21 years agoclarify
Christopher Faylor [Sat, 25 Jan 2003 16:38:56 +0000 (16:38 +0000)]
clarify

21 years ago* pwdgrp.cc (pwdgrp::reparse): Declare.
Christopher Faylor [Sat, 25 Jan 2003 16:34:32 +0000 (16:34 +0000)]
* pwdgrp.cc (pwdgrp::reparse): Declare.
* uinfo.cc (pwdgrp::reparse): Define.
* grp.cc (pwdgrp::parse_group): Use.

21 years ago * syscalls.cc (seteuid32): On Win95 get the pw entry. If it exists
Corinna Vinschen [Sat, 25 Jan 2003 10:36:46 +0000 (10:36 +0000)]
* syscalls.cc (seteuid32): On Win95 get the pw entry. If it exists
update the euid and call cygheap->user.set_name. Remove special
handling of ILLEGAL_UID.
(setgid32): Add a debug_printf. On Win95, always set the egid.
Remove special handling of ILLEGAL_GID. Do not compare gid and gr_gid.
* child_info.h (class cygheap_exec_info): Remove uid.
* spawn.cc (spawn_guts): Do not set ciresrv.moreinfo->uid.
* dcrto.cc (dll_crt0_1): Always call uinfo_init.
* uinfo.cc (uinfo_init): Reorganize and close handle if needed.
(cygheap_user::ontherange): Do not call internal_getpwnam if pw is NULL.

21 years ago* fhandler_console.cc (fhandler_console::send_winch_maybe): Reset scroll region
Christopher Faylor [Sat, 25 Jan 2003 01:17:51 +0000 (01:17 +0000)]
* fhandler_console.cc (fhandler_console::send_winch_maybe): Reset scroll region
if size changes.

21 years ago * include/ras.h (RASCONN[AW]): Add dwSessionId for
Danny Smith [Sat, 25 Jan 2003 00:47:25 +0000 (00:47 +0000)]
* include/ras.h (RASCONN[AW]): Add dwSessionId for
(WINVER >= 0x501).

21 years ago * include/ras.h (RASCONN[AW]): Guard szDeviceType,
Danny Smith [Sat, 25 Jan 2003 00:41:45 +0000 (00:41 +0000)]
* include/ras.h (RASCONN[AW]): Guard szDeviceType,
szDeviceName fields with WINVER >= 0x400. Add dwFlags, luid
fields for WINVER >= 0x501.

21 years agobfd/
Jakub Jelinek [Fri, 24 Jan 2003 23:44:45 +0000 (23:44 +0000)]
bfd/
* elf32-sparc.c (_bfd_sparc_elf_howto_table): Add TLS relocs.
(elf32_sparc_rev32_howto): New variable.
(sparc_reloc_map): Add TLS relocs.
(elf32_sparc_reloc_type_lookup, elf32_sparc_info_to_howto):
Handle REV32.
(sparc_elf_hix22_reloc, sparc_elf_lox10_reloc, elf32_sparc_mkobject):
New functions.
(struct elf32_sparc_dyn_relocs, struct elf32_sparc_link_hash_entry,
struct elf32_sparc_link_hash_table):
New structures.
(elf32_sparc_tdata, elf32_sparc_local_got_tls_type,
elf32_sparc_hash_table): Define.
(link_hash_newfunc, elf32_sparc_link_hash_table_create,
create_got_section, elf32_sparc_create_dynamic_sections,
elf32_sparc_copy_indirect_symbol, elf32_sparc_tls_transition): New
functions.
(elf32_sparc_check_relocs): Handle TLS relocs.  Add dynamic reloc
reference counting.
(elf32_sparc_gc_sweep_hook): Likewise.
(elf32_sparc_adjust_dynamic_symbol): Likewise.
(elf32_sparc_size_dynamic_sections): Likewise.
(elf32_sparc_relocate_section): Likewise.
(allocate_dynrelocs, readonly_dynrelocs, dtpoff_base, tpoff):
New functions.
(elf32_sparc_object_p): Allocate backend private object data.
(bfd_elf32_bfd_link_hash_table_create,
elf_backend_copy_indirect_symbol, bfd_elf32_mkobject,
elf_backend_can_refcount): Define.
(elf_backend_create_dynamic_sections): Define to
elf32_sparc_create_dynamic_sections.
* reloc.c: Add SPARC TLS relocs.
* bfd-in2.h, libbfd.h: Rebuilt.
* elf64-sparc.c (sparc64_elf_howto_table): Add TLS relocs.
(sparc_reloc_map): Likewise.
gas/
* config/tc-sparc.c (sparc_ip): Handle TLS % operators.
(tc_gen_reloc): Handle TLS relocs.
(sparc_cons, cons_fix_new_sparc): Handle %r_tls_dtpoff.
* config/tc-sparc.h (tc_fix_adjustable): Don't adjust TLS
relocs.
* config/obj-elf.c (obj_elf_section_word): Handle tls.
(obj_elf_type): Handle tls_object.
include/
* elf/sparc.h: Add TLS relocs.  Move R_SPARC_REV32 to 252.
ld/testsuite/
* ld-sparc/sparc.exp: New.
* ld-sparc/tlsg32.s: New test.
* ld-sparc/tlsg32.sd: Likewise.
* ld-sparc/tlsg64.s: Likewise.
* ld-sparc/tlsg64.sd: Likewise.
* ld-sparc/tlslib.s: Likewise.
* ld-sparc/tlsnopic.s: Likewise.
* ld-sparc/tlspic.s: Likewise.
* ld-sparc/tlssunbin32.dd: Likewise.
* ld-sparc/tlssunbin32.rd: Likewise.
* ld-sparc/tlssunbin32.s: Likewise.
* ld-sparc/tlssunbin32.sd: Likewise.
* ld-sparc/tlssunbin32.td: Likewise.
* ld-sparc/tlssunbin64.dd: Likewise.
* ld-sparc/tlssunbin64.rd: Likewise.
* ld-sparc/tlssunbin64.s: Likewise.
* ld-sparc/tlssunbin64.sd: Likewise.
* ld-sparc/tlssunbin64.td: Likewise.
* ld-sparc/tlssunbinpic32.s: Likewise.
* ld-sparc/tlssunbinpic64.s: Likewise.
* ld-sparc/tlssunnopic32.dd: Likewise.
* ld-sparc/tlssunnopic32.rd: Likewise.
* ld-sparc/tlssunnopic32.s: Likewise.
* ld-sparc/tlssunnopic32.sd: Likewise.
* ld-sparc/tlssunnopic64.dd: Likewise.
* ld-sparc/tlssunnopic64.rd: Likewise.
* ld-sparc/tlssunnopic64.s: Likewise.
* ld-sparc/tlssunnopic64.sd: Likewise.
* ld-sparc/tlssunpic32.dd: Likewise.
* ld-sparc/tlssunpic32.rd: Likewise.
* ld-sparc/tlssunpic32.s: Likewise.
* ld-sparc/tlssunpic32.sd: Likewise.
* ld-sparc/tlssunpic32.td: Likewise.
* ld-sparc/tlssunpic64.dd: Likewise.
* ld-sparc/tlssunpic64.rd: Likewise.
* ld-sparc/tlssunpic64.s: Likewise.
* ld-sparc/tlssunpic64.sd: Likewise.
* ld-sparc/tlssunpic64.td: Likewise.

21 years ago * s390.h: Add s390 TLS relocations.
Martin Schwidefsky [Fri, 24 Jan 2003 17:15:29 +0000 (17:15 +0000)]
* s390.h: Add s390 TLS relocations.

21 years agoAdd sh2e support
Nick Clifton [Fri, 24 Jan 2003 15:46:04 +0000 (15:46 +0000)]
Add sh2e support

21 years ago * libc/include/sys/unistd.h: Add setregid and setreuid declarations
Corinna Vinschen [Fri, 24 Jan 2003 15:25:24 +0000 (15:25 +0000)]
* libc/include/sys/unistd.h: Add setregid and setreuid declarations
for Cygwin.

21 years ago * cygwin.din: Export setreuid32, setreuid, setregid32, setregid.
Corinna Vinschen [Fri, 24 Jan 2003 15:23:15 +0000 (15:23 +0000)]
* cygwin.din: Export setreuid32, setreuid, setregid32, setregid.
* syscalls.cc (setreuid32): New function.
(setreuid): Ditto.
(setregid32): Ditto.
(setregid): Ditto.
* include/cygwin/version.h: Bump API minor number.

21 years ago* pwdrp.h (pwdgrp::refresh): Lock entire test prior to reading.
Christopher Faylor [Fri, 24 Jan 2003 03:53:46 +0000 (03:53 +0000)]
* pwdrp.h (pwdgrp::refresh): Lock entire test prior to reading.
* grp.cc (pwdgrp::parse_group): Eliminate arg and use class member instead.
Use next_str and next_int to parse arguments.
* passwd.cc (pwdgrp::parse_passwd): Ditto.
(grab_string): Eliminate.
(grab_int): Ditto.
* pwdgrp.h (pwdgrp::parse): Eliminate input arg.
(pwdgrp::parse_passwd): Reflect above change.
(pwdgrp::parse_group): Reflect above change.
(pwdgrp::next_str): New function.
(pwdgrp::next_int): Ditto.
(pwdgrp::gets): Eliminate.
* uinfo.cc (pwdgrp::next_str): New function.
(pwdgrp::next_int): Ditto.
(pwdgrp::add_line): Subsume gets.
(pwdgrp::gets): Eliminate.
(pwdgrp::load): Just call add_line to parse input buffer.

21 years agoAdd missing entry.
Christopher Faylor [Fri, 24 Jan 2003 02:41:28 +0000 (02:41 +0000)]
Add missing entry.

21 years ago* libltp/include/usctest.h: Add externs to some variables that need it.
Christopher Faylor [Fri, 24 Jan 2003 01:51:39 +0000 (01:51 +0000)]
* libltp/include/usctest.h: Add externs to some variables that need it.
* winsup.api/ltp/mmap05.c (main): Make file_content volatile to avoid
optimization glitch.

21 years ago* winsup.api/mmaptest03.c (main): Mark variables as volatile to avoid
Christopher Faylor [Fri, 24 Jan 2003 01:41:30 +0000 (01:41 +0000)]
* winsup.api/mmaptest03.c (main): Mark variables as volatile to avoid
optimization induced problems.

21 years ago* Makefile (check): Add cygrun.exe dependency.
Christopher Faylor [Fri, 24 Jan 2003 01:30:43 +0000 (01:30 +0000)]
* Makefile (check): Add cygrun.exe dependency.

21 years agoPerform more C warning fixup on all C source files and headers.
Christopher Faylor [Fri, 24 Jan 2003 01:09:40 +0000 (01:09 +0000)]
Perform more C warning fixup on all C source files and headers.

21 years agoNo, really this time.
Nathanael Nerode [Fri, 24 Jan 2003 00:39:51 +0000 (00:39 +0000)]
No, really this time.

21 years ago2003-01-23 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Thu, 23 Jan 2003 22:33:55 +0000 (22:33 +0000)]
2003-01-23  Nathanael Nerode  <neroden@gcc.gnu.org>

* configure.in: Revert previous change.
* configure: Regenerate.

21 years ago* libltp/include/test.h: Fix C warnings.
Christopher Faylor [Thu, 23 Jan 2003 21:21:28 +0000 (21:21 +0000)]
* libltp/include/test.h: Fix C warnings.
* winsup.api/checksignal.c: Ditto.
* winsup.api/crlf.c: Ditto.
* winsup.api/devzero.c: Ditto.
* winsup.api/iospeed.c: Ditto.
* winsup.api/mmaptest01.c: Ditto.
* winsup.api/mmaptest02.c: Ditto.
* winsup.api/mmaptest03.c: Ditto.
* winsup.api/mmaptest04.c: Ditto.
* winsup.api/nullgetcwd.c: Ditto.
* winsup.api/sigchld.c: Ditto.
* winsup.api/signal-into-win32-api.c: Ditto.
* winsup.api/systemcall.c: Ditto.
* winsup.api/waitpid.c: Ditto.
* winsup.api/pthread/mainthreadexits.c: Ditto.
* winsup.api/pthread/test.h: Ditto.
* winsup.api/pthread/threadidafterfork.c: Ditto.
* Makefile.in: Remove cygrun.exe from RUNTIME since it is built here now.

21 years ago* Makeifle.in: Use ALL_CFLAGS to build test programs so that correct libraries
Christopher Faylor [Thu, 23 Jan 2003 21:14:56 +0000 (21:14 +0000)]
* Makeifle.in: Use ALL_CFLAGS to build test programs so that correct libraries
and other options are used.

21 years ago * lib/ws2_32.def (getaddrinfo, freeaddrinfo and getnameinfo):
Danny Smith [Thu, 23 Jan 2003 20:43:47 +0000 (20:43 +0000)]
* lib/ws2_32.def (getaddrinfo, freeaddrinfo and getnameinfo):
Add stubs.
* include/ws2tcpip.h (IPV6_*) Add IPPROTO_IPV6 level socket
options.

21 years ago2003-01-23 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Thu, 23 Jan 2003 19:55:19 +0000 (19:55 +0000)]
2003-01-23  Nathanael Nerode  <neroden@gcc.gnu.org>

* configure.in: Make rda native-only.
* configure: Regenerate.

21 years agoAdd SH2E support
Nick Clifton [Thu, 23 Jan 2003 18:50:57 +0000 (18:50 +0000)]
Add SH2E support

21 years agoinclude/elf/ChangeLog
Alan Modra [Thu, 23 Jan 2003 11:51:31 +0000 (11:51 +0000)]
include/elf/ChangeLog
* sh.h: Split out various bits to bfd/elf32-sh64.h.

include/opcode/ChangeLog
* m68hc11.h (cpu6812s): Define.

bfd/ChangeLog
* elf-bfd.h (struct bfd_elf_section_data): Remove tdata.  Change
dynindx to an int.  Rearrange for better packing.
* elf.c (_bfd_elf_new_section_hook): Don't alloc if already done.
* elf32-mips.c (bfd_elf32_new_section_hook): Define.
* elf32-sh64.h: New.  Split out from include/elf/sh.h.
(struct _sh64_elf_section_data): New struct.
(sh64_elf_section_data): Don't dereference sh64_info (was tdata).
* elf32-sh64-com.c: Include elf32-sh64.h.
* elf32-sh64.c: Likewise.
(sh64_elf_new_section_hook): New function.
(bfd_elf32_new_section_hook): Define.
(sh64_elf_fake_sections): Adjust for sh64_elf_section_data change.
(sh64_bfd_elf_copy_private_section_data): Likewise.
(sh64_elf_final_write_processing): Likewise.
* elf32-sparc.c (struct elf32_sparc_section_data): New.
(elf32_sparc_new_section_hook): New function.
(SET_SEC_DO_RELAX, SEC_DO_RELAX): Delete.
(sec_do_relax): Define.
(elf32_sparc_relax_section): Adjust to use sec_do_relax.
(elf32_sparc_relocate_section): Likewise.
* elf64-mips.c (bfd_elf64_new_section_hook): Define.
* elf64-mmix.c (struct _mmix_elf_section_data): New.
(mmix_elf_section_data): Define.  Use throughout file.
(mmix_elf_new_section_hook): New function.
(bfd_elf64_new_section_hook): Define.
* elf64-ppc.c (struct _ppc64_elf_section_data): New.
(ppc64_elf_section_data): Define.  Use throughout.
(ppc64_elf_new_section_hook): New function.
(bfd_elf64_new_section_hook): Define.
* elf64-sparc.c (struct sparc64_elf_section_data): New.
(sparc64_elf_new_section_hook): New function.
(SET_SEC_DO_RELAX, SEC_DO_RELAX): Delete.
(sec_do_relax): Define.
(sparc64_elf_relax_section): Adjust to use sec_do_relax.
(sparc64_elf_relocate_section): Likewise.
(bfd_elf64_new_section_hook): Define.
* elfn32-mips.c (bfd_elf32_new_section_hook): Define.
* elfxx-mips.c (struct _mips_elf_section_data): New.
(mips_elf_section_data): Define.  Use throughout.
(_bfd_mips_elf_new_section_hook): New function.
(mips_elf_create_got_section): Don't alloc used_by_bfd.
* elfxx-mips.h (_bfd_mips_elf_new_section_hook): Declare.
* elfxx-target.h (bfd_elfNN_new_section_hook): Add #ifndef.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.

opcodes/ChangeLog
* sh64-dis.c: Include elf32-sh64.h.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.

gas/ChangeLog
* config/tc-sh64.c (shmedia_frob_section_type): Adjust for changed
sh64_elf_section_data.
* config/tc-sh64.h: Include elf32-sh64.h.
* config/tc-m68hc11.c: Don't include stdio.h.
(md_show_usage): Fix missing continuation.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.

ld/ChangeLog
* emultempl/sh64elf.em: Include elf32-sh64.h.
(sh64_elf_${EMULATION_NAME}_before_allocation): Adjust for changed
sh64_elf_section_data.
(sh64_elf_${EMULATION_NAME}_after_allocation): Likewise.

21 years ago* include/pthread.h (PTHREAD_MUTEX_RECURSIVE): Revert changes from 2003-01-09 mutex...
Thomas Pfaff [Wed, 22 Jan 2003 19:51:31 +0000 (19:51 +0000)]
* include/pthread.h (PTHREAD_MUTEX_RECURSIVE): Revert changes from 2003-01-09 mutex patch.
(PTHREAD_MUTEX_ERRORCHECK): Ditto.

21 years ago* include/pthread.h (PTHREAD_MUTEX_RECURSIVE): Revert changes from 2003-01-09 mutex...
Thomas Pfaff [Wed, 22 Jan 2003 19:49:28 +0000 (19:49 +0000)]
* include/pthread.h (PTHREAD_MUTEX_RECURSIVE): Revert changes from 2003-01-09 mutex patch.
(PTHREAD_MUTEX_ERRORCHECK): Ditto.

21 years ago * Makefile.in (ALL_LDFLAGS): Remove newlib/libm from tools paths.
Corinna Vinschen [Wed, 22 Jan 2003 17:15:53 +0000 (17:15 +0000)]
* Makefile.in (ALL_LDFLAGS): Remove newlib/libm from tools paths.
(MINGW_LDFLAGS): Remove in favor of definition from Makefile.common.

21 years ago * Makefile.common (MINGW_LDFLAGS): Add mingw/mingwex builddir.
Corinna Vinschen [Wed, 22 Jan 2003 17:10:02 +0000 (17:10 +0000)]
* Makefile.common (MINGW_LDFLAGS): Add mingw/mingwex builddir.

21 years ago * cygrun.c: Move from here to ../testsuite.
Corinna Vinschen [Wed, 22 Jan 2003 15:23:23 +0000 (15:23 +0000)]
* cygrun.c: Move from here to ../testsuite.
* Makefile.in: Remove cygrun.exe dependencies.

21 years ago * cygrun.c: Move here from ../cygwin.
Corinna Vinschen [Wed, 22 Jan 2003 15:18:58 +0000 (15:18 +0000)]
* cygrun.c: Move here from ../cygwin.
* Makefile.in: Build cygrun.exe.
* winsup.api/winsup.exp: Expect cygrun.exe in $rootme.

21 years ago * cygwin.din: Export nanosleep().
Corinna Vinschen [Wed, 22 Jan 2003 10:43:39 +0000 (10:43 +0000)]
* cygwin.din: Export nanosleep().
* signal.cc (nanosleep): New function.
(sleep): Move old functionality to nanosleep().  Call nanosleep().
(usleep): Remove old functionality.  Call nanosleep().
* include/cygwin/version.h: Bump API minor number.

21 years ago* Makefile.in: Find tcl library in the right place.
Christopher Faylor [Wed, 22 Jan 2003 03:58:28 +0000 (03:58 +0000)]
* Makefile.in: Find tcl library in the right place.

21 years ago* winsup.api/pthread/cancel9.c: Make child pid static global.
Thomas Pfaff [Tue, 21 Jan 2003 21:36:31 +0000 (21:36 +0000)]
* winsup.api/pthread/cancel9.c: Make child pid static global.
(main): Wait in mainthread until child process has terminated.

21 years ago* winsup.api/pthread/cancel9.c: Make child pid static global.
Thomas Pfaff [Tue, 21 Jan 2003 21:34:24 +0000 (21:34 +0000)]
* winsup.api/pthread/cancel9.c: Make child pid static global.
(main): Wait in mainthread until child process has terminated.

21 years ago* winsup.api/pthread/cancel9.c: Wait in mainthread until child process has terminated.
Thomas Pfaff [Tue, 21 Jan 2003 20:51:14 +0000 (20:51 +0000)]
* winsup.api/pthread/cancel9.c: Wait in mainthread until child process has terminated.

21 years ago2003-01-21 Anita Kulkarni <anitak@kpit.com>
Jeff Johnston [Tue, 21 Jan 2003 19:37:04 +0000 (19:37 +0000)]
2003-01-21 Anita Kulkarni  <anitak@kpit.com>

        * libc/time/difftime.c : Typecast the result to double.

21 years ago* grp.cc: Call gr.refresh() rather than doing isunitialized tests throughout.
Christopher Faylor [Tue, 21 Jan 2003 06:58:11 +0000 (06:58 +0000)]
* grp.cc: Call gr.refresh() rather than doing isunitialized tests throughout.
(gr): Use constructor (sigh).
(pwdgrp::parse_group): Rename from parse_grp.
(pwdgrp::read_group): Rename from read_etc_group.  Just call gr.load with a
single argument.
* passwd.cc: Call pr.refresh() rather than doing isunitialized tests
throughout.
(pr): Use constructor (sigh).
(pwdgrp::parse_passwd): Rename from "parse_pwd".
(pwdgrp::read_passwd): Rename from read_etc_passwd.  Just call pr.load with a
single argument.
* pwdgrp.h (pwdgrp_state): Eliminate.
(pwdgrp): Reflect above renamings.
(pwdgrp::etc_ix): Rename from pwd_ix.
(pwdgrp::read): New element.
(pwdgrp::lock): New element.
(pwdgrp::refresh): New function.
(pwdgrp::load): Eliminate variations which take buffer arguments.
(pwdgrp::pwdgrp): New constructors.  Initialize mutex here.
* uinfo.cc (pwdgrp::load): Accommodate pwd_ix -> etc_ix renaming.
(pwdgrp::load): Set initialized state to true rather than setting state to
loaded.

21 years ago* include/cygwin/version.h: Bump DLL minor number.
Christopher Faylor [Tue, 21 Jan 2003 05:13:42 +0000 (05:13 +0000)]
* include/cygwin/version.h: Bump DLL minor number.

21 years agoFix ChangeLog entry.
Christopher Faylor [Tue, 21 Jan 2003 05:09:48 +0000 (05:09 +0000)]
Fix ChangeLog entry.

21 years agoadd missing ChangeLog entry.
Christopher Faylor [Tue, 21 Jan 2003 05:09:20 +0000 (05:09 +0000)]
add missing ChangeLog entry.

21 years agoadd missing ChangeLog entry.
Christopher Faylor [Tue, 21 Jan 2003 05:08:55 +0000 (05:08 +0000)]
add missing ChangeLog entry.

21 years ago* path.h (etc::change_possible): Revert the type to bool.
Christopher Faylor [Tue, 21 Jan 2003 05:07:28 +0000 (05:07 +0000)]
* path.h (etc::change_possible): Revert the type to bool.
(etc::set_last_modified): Remove obsolete function.
* path.cc (etc::change_possible): Revert type to bool.
(etc::test_file_change): Do not test for negative values of change_possible and
do not set it to -res.
(etc::dir_changed): When the handle is NULL, call memset instead of
test_file_changed.  When the handle is invalid, return true.
(etc::file_changed): Remove unneeded check for !fn[n].

21 years agoUpdates for fixing tic4x arch tagging of its object files.
Svein Seldal [Mon, 20 Jan 2003 22:34:39 +0000 (22:34 +0000)]
Updates for fixing tic4x arch tagging of its object files.

* bfd/coffcode.h (coff_set_flags): Added get/set arch hooks.
* include/coff/tic4x.h (TICOFF_TARGET_MACHINE_GET): Fixed define bug
* include/coff/ti.h (TICOFF_TARGET_MACHINE_GET): Added macros
* ld/Makefile.am: Added etic3xcoff.o and etic4xcoff_onchip.o
* ld/Makefile.in: Regenerate
* ld/configure.tgt: Added extra target emulations
* ld/emulparams/tic3xcoff.sh: Remove old settings
* ld/emulparams/tic4xcoff.sh: Ditto
* ld/emulparams/tic3xcoff-onchip.sh: Added new
* ld/scripttempl/tic4xcoff.sc: Revise and combine both c3x and c4x
* ld/scripttempl/tic3xcoff.sc: Remove

21 years ago* libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
Christopher Faylor [Mon, 20 Jan 2003 15:28:02 +0000 (15:28 +0000)]
* libc/include/sys/unistd.h: Add rresvport declaration for cygwin.

21 years ago * s390.h: Rename R_390_GOTOFF to R_390_GOTOFF32. Add new gotoff,
Martin Schwidefsky [Mon, 20 Jan 2003 11:51:38 +0000 (11:51 +0000)]
* s390.h: Rename R_390_GOTOFF to R_390_GOTOFF32. Add new gotoff,
gotplt and pltoff relocations.

21 years ago* pwdgrp.h (etc): Move to path.h.
Christopher Faylor [Mon, 20 Jan 2003 02:57:54 +0000 (02:57 +0000)]
* pwdgrp.h (etc): Move to path.h.
(pwdgrp::max_lines): New field.
(pwdgrp::curr_lines): New field.
(pwdgrp::pwdgrp_buf): Ditto.
(pwdgrp_buf_elem_size): Ditto.
(pwdgrp_parse): Ditto.
(pwdgrp::gets): Just declare here.
(pwdgrp::load): Ditto.  Just take one argument.
(pwdgrp::load): Define overloaded function accepting passwd buf.
(pwdgrp::load): Define overloaded function accepting group buf.
* grp.cc: Use pwdgrp elements rather than standalone static variables
throughout.
(curr_lines): Eliminate.
(max_lines): Ditto.
(add_grp_line): Ditto.
(parse_grp): Define as returning boolean.  Accept void * arg and line count.
Coerce first argument into __group32 buf reference.  Increment curr_line as
appropriate.
(read_etc_group): Pass pwdgrp buffer to gr.load.
* passwd.cc: Use pwdgrp elements rather than standalone static variables
throughout.
(curr_lines): Eliminate.
(max_lines): Ditto.
(add_grp_line): Ditto.
(parse_passwd): Define as returning boolean.  Accept void * arg and line count.
Coerce first argument into passwd buf reference.  Increment curr_line as
appropriate.
(read_etc_group): Pass pwdgrp buffer to pr.load.
* path.cc (etc::fn): Extend buffer size to allow index by 1 rather than zero.
(etc::last_modified): Ditto.
(etc::change_possible): Ditto.  Renamed from sawchange.  Change to signed char
since elements are now tri-state.
(etc::init): Assume "handle" is 1 based rather than 0.
(etc::test_file_change): New function.  Sets change_possible based on file date
comparison.
(etc::dir_changed): Check file states immediately after changed_h is
initialized to avoid a race.
(etc::file_changed): Use test_file_change to detect if file needs to be
updated.
* path.h (etc): Move class here from pwdgrp.h.
* uinfo.cc: Move etc:: functions to path.cc.  Move pwdgrp functions here.
(pwdgrp::gets): Eliminate buf checks.  Just check eptr and set lptr.
(pwdgrp::add_line): New function.
(pwdgrp::load): Call generic add_line function which will call correct parser.

21 years ago * configure.in: Add missing \.
Nathanael Nerode [Sun, 19 Jan 2003 23:45:39 +0000 (23:45 +0000)]
* configure.in: Add missing \.
* configure: Rebuilt.

21 years agoDefine __IEEE_BIG_ENDIAN, __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.
Nick Clifton [Sat, 18 Jan 2003 08:55:07 +0000 (08:55 +0000)]
Define __IEEE_BIG_ENDIAN, __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.

21 years agofix typo
Christopher Faylor [Sat, 18 Jan 2003 03:43:48 +0000 (03:43 +0000)]
fix typo

21 years ago* cygheap.cc: Change most 'int's to 'unsigned's.
Christopher Faylor [Sat, 18 Jan 2003 03:26:07 +0000 (03:26 +0000)]
* cygheap.cc: Change most 'int's to 'unsigned's.
(_cmalloc): Only check for size of malloced region when calculating budget.
Add overhead when performing the sbrk.  Previous change broke _crealloc.

21 years ago* dcrt0.cc (initialize_env): Use colon for CYGWIN_DEBUG separator.
Christopher Faylor [Fri, 17 Jan 2003 18:05:32 +0000 (18:05 +0000)]
* dcrt0.cc (initialize_env): Use colon for CYGWIN_DEBUG separator.
* grp.cc: Change most statics to NO_COPY throughout.
* passwd.cc: Ditto.
* pwdgrp.h: Change some BOOLs to bools.
(pwdgrp::pwdgrp): Remove unneeded constructor.
* passwd.cc: Change BOOL to bool throughout.

21 years ago * cygwin.din: Add strerror_r.
Corinna Vinschen [Fri, 17 Jan 2003 13:08:06 +0000 (13:08 +0000)]
* cygwin.din: Add strerror_r.
* include/cygwin/version.h: Bump API minor number.

21 years ago * configure.in (baseargs): Avoid using \| in sed regular
Jakub Jelinek [Fri, 17 Jan 2003 08:00:16 +0000 (08:00 +0000)]
* configure.in (baseargs): Avoid using \| in sed regular
expressions.
* configure: Rebuilt.

21 years agoupdate copyright
Christopher Faylor [Fri, 17 Jan 2003 05:43:43 +0000 (05:43 +0000)]
update copyright

21 years agowhitespace
Christopher Faylor [Fri, 17 Jan 2003 05:33:52 +0000 (05:33 +0000)]
whitespace

21 years agocorrect pwdgroup::load entry
Christopher Faylor [Fri, 17 Jan 2003 05:29:23 +0000 (05:29 +0000)]
correct pwdgroup::load entry

21 years ago* uinfo.cc (etc::dir_changed): Don't print a warning if can't open /etc, unless
Christopher Faylor [Fri, 17 Jan 2003 05:24:28 +0000 (05:24 +0000)]
* uinfo.cc (etc::dir_changed): Don't print a warning if can't open /etc, unless
debugging.

21 years ago* grp.cc (read_etc_group): On NT, add a line for gid = -1. Change name
Christopher Faylor [Fri, 17 Jan 2003 05:18:30 +0000 (05:18 +0000)]
* grp.cc (read_etc_group): On NT, add a line for gid = -1.  Change name
"unknown" to "mkgroup".
(internal_getgrgid): Do not return default in nontsec case.
(internal_getgroups): Add argument srchsid and look for it in groups if not
NULL.
* passwd.cc (read_etc_passwd): On NT, add a line for uid = -1.  Use same
default uid for Win95 and NT.  Call cygheap_user::ontherange to initialize
HOME.
* cygheap.cc (init_cygheap::etc_changed): Move to uinfo.cc.
* cygheap.h (init_cygheap::etc_changed_h): Remove.
(init_cygheap::etc_changed): Ditto.
* grp.cc (group_state): Remove.  Use gr instead throughout.
(gr): Define as class pwdgrp.
(read_etc_group): Remove gr definition.  Remove calls to set_last_modified and
close.  Pass add_grp to gr.load to load file.
* passwd.cc (passwd_state): Remove.  Use pr instead, throughout.
(pr): Define as class pwdgrp.
(read_etc_passwd): Remove pr definition.  Remove calls to set_last_modified and
close.  Pass add_pwd_line to pr.load to load file.
* pwdgrp.h (etc): New helper class for pwdgrp.
(pwdgrp): Combine pwdgrp_check and pwdgrp_read into one class.  Remove file_w32
and last_modified fields.
(pwdgrp::set_last_modified): Remove.
(pwdgrp::isinitializing): Remove FindFirstFile stuff.  Move to
etc::file_changed.
(pwdgrp::load): Rename from 'open'.  Call etc::init to initialize etc scanning.
Close file handle after reading buffer into memory.  Parse buffer by calling
second argument.
(pwdgrp::gets): Reorganize slightly to rely on eptr starting at beginning of
buffer.  Free buffer when memory exhausted.
(pwdgrp::close): Remove.
* uinfo.cc (etc::dir_changed): New function.
(etc::init): Ditto.
(etc::file_changed): Ditto.
(etc::set_last_modified): Ditto.

21 years agomissed changelog entry
Alan Modra [Fri, 17 Jan 2003 01:33:13 +0000 (01:33 +0000)]
missed changelog entry

21 years ago * common.h: Formatting, typo fixes.
Alan Modra [Fri, 17 Jan 2003 01:32:46 +0000 (01:32 +0000)]
* common.h: Formatting, typo fixes.
(DT_ENCODING): Correct value.

* common.h (ELFOSABI_AROS): Define.
(ELFOSABI_OPENVMS): Likewise.
(ELFOSABI_NSK): Likewise.

21 years ago2003-01-16 Joel Sherrill <joel@OARcorp.com>
Jeff Johnston [Thu, 16 Jan 2003 22:37:54 +0000 (22:37 +0000)]
2003-01-16  Joel Sherrill <joel@OARcorp.com>

        * libc/sys/rtems/include/limits.h, libc/sys/rtems/sys/param.h,
        libc/sys/rtems/sys/syslimits.h: Update to be in sync with what
        constants are defined in each file in the shared versions in
        libc/include.
        * libc/sys/rtems/crt0.c: Define extra symbols on SH and HP-PA to
        autoconf can link programs.
        * libc/include/machine/types.h: Explicitly specify signed on
        intXX_t types to ensure they are signed.

21 years ago * configure.in (baseargs): Remove all supported forms of
Jakub Jelinek [Thu, 16 Jan 2003 16:27:51 +0000 (16:27 +0000)]
* configure.in (baseargs): Remove all supported forms of
--cache-file, --srcdir, --host, --build and --target options
from argument lists.
* configure: Rebuilt.

21 years ago * mmap.cc (fixup_mmaps_after_fork): Add ERROR_NOACCESS to the list of
Corinna Vinschen [Thu, 16 Jan 2003 14:11:10 +0000 (14:11 +0000)]
* mmap.cc (fixup_mmaps_after_fork): Add ERROR_NOACCESS to the list of
ReadProcessMemory() error codes that trigger a retry with temporary
PAGE_READONLY access.  Note that this can occur on NT 4.0.

21 years ago * ppc.h: Split out ppc64 definitions to..
Alan Modra [Thu, 16 Jan 2003 04:08:47 +0000 (04:08 +0000)]
* ppc.h: Split out ppc64 definitions to..
* pcc64.h: ..here.  New file.
(R_PPC64_REL30): Rename from R_PPC64_ADDR30.

21 years agoremove errnoneously added files
Christopher Faylor [Thu, 16 Jan 2003 01:57:08 +0000 (01:57 +0000)]
remove errnoneously added files

21 years ago* path.cc (normalize_posix_path): Convert win32 path separators to slashes when
Christopher Faylor [Thu, 16 Jan 2003 01:49:14 +0000 (01:49 +0000)]
* path.cc (normalize_posix_path): Convert win32 path separators to slashes when
full path is specified.

21 years agomerge from trunk
Christopher Faylor [Thu, 16 Jan 2003 01:27:30 +0000 (01:27 +0000)]
merge from trunk

21 years ago* libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU extensions.
Christopher Faylor [Wed, 15 Jan 2003 18:52:02 +0000 (18:52 +0000)]
* libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU extensions.

21 years ago* cmalloc.cc (_cmalloc): Fix memory leak.
Christopher Faylor [Wed, 15 Jan 2003 17:27:20 +0000 (17:27 +0000)]
* cmalloc.cc (_cmalloc): Fix memory leak.

21 years ago* configure.in (noconfigdirs): Don't skip gas on IRIX 6.
Alexandre Oliva [Wed, 15 Jan 2003 11:24:47 +0000 (11:24 +0000)]
* configure.in (noconfigdirs): Don't skip gas on IRIX 6.
* configure: Rebuilt.

21 years ago * autoload.cc: Fix copyright date.
Corinna Vinschen [Wed, 15 Jan 2003 10:21:23 +0000 (10:21 +0000)]
* autoload.cc: Fix copyright date.
* fhandler_dsp.cc: Ditto.
* mmap.cc: Ditto.
* net.cc: Ditto.
* ntdll.h: Ditto.
* signal.cc: Ditto.
* syscalls.cc: Ditto.
* uname.cc: Ditto.
* wait.cc: Ditto.

21 years ago * mkgroup.c: Fix copyright date.
Corinna Vinschen [Wed, 15 Jan 2003 10:08:37 +0000 (10:08 +0000)]
* mkgroup.c: Fix copyright date.
* mkpasswd.c: Ditto.
* setfacl.c: Ditto.

Fix ChangeLog typos.

21 years agofix minor typo.
Christopher Faylor [Wed, 15 Jan 2003 04:39:34 +0000 (04:39 +0000)]
fix minor typo.

21 years ago * mmap.cc (fixup_mmaps_after_fork): Copy protection to child process.
Corinna Vinschen [Tue, 14 Jan 2003 21:01:43 +0000 (21:01 +0000)]
* mmap.cc (fixup_mmaps_after_fork): Copy protection to child process.
Change ambiguous debug output.

21 years ago * mmap.cc (mmap_record::access): Change argument type to caddr_t
Corinna Vinschen [Tue, 14 Jan 2003 20:40:09 +0000 (20:40 +0000)]
* mmap.cc (mmap_record::access): Change argument type to caddr_t
for strictness.
(mprotect): Protect against calling VirtualProtect() for shared
pages on 9x/Me.
(fixup_mmaps_after_fork): If ReadProcessMemory() fails, try to
change protection of parent page to PAGE_READONLY, then try again.
Revert protection afterwards.

21 years agospacing cleanup
Christopher Faylor [Tue, 14 Jan 2003 20:31:47 +0000 (20:31 +0000)]
spacing cleanup

21 years agoAdd winsup.api/pthread/cancel10.c
Thomas Pfaff [Tue, 14 Jan 2003 20:22:20 +0000 (20:22 +0000)]
Add winsup.api/pthread/cancel10.c

21 years agoApply system_cancel patch
Thomas Pfaff [Tue, 14 Jan 2003 20:19:27 +0000 (20:19 +0000)]
Apply system_cancel patch

21 years agoAdd winsup.api/pthread/cancel9.c
Thomas Pfaff [Tue, 14 Jan 2003 20:15:58 +0000 (20:15 +0000)]
Add winsup.api/pthread/cancel9.c

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