summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* fix commentChristopher Faylor2002-12-041-2/+2
|
* * netdb.cc: New file.Christopher Faylor2002-12-045-11/+455
| | | | | | * Makeile.in (DLL_OFILES): Add reference to the new netdb.cc file. * cygwin.din : Add new aliased exports for service and protocol enumerations in netdb.cc.
* * cxx.cc: New file. Implement new, new[], delete and delete[]Corinna Vinschen2002-12-043-2/+58
| | | | | | operators and __cxa_pure_virtual if compiled by gcc >=3. * Makefile.in (DLL_OFILES): Add cxx.o. Remove libstdc++.a from cygwin1.dll link step.
* * Makefile.tpl: Add targets for configuring host subdirs in Makefile,Nathanael Nerode2002-12-043-0/+2935
| | | | | and corresponding dependencies. * Makefile.in: Regenerate.
* * configure.in (host_tools): Order binutils, gas and ld forNathanael Nerode2002-12-032-1/+6
| | | | convenience in running the testsuites.
* * Makefile.tpl: Introduce rules to serialize subconfigure runs.Nathanael Nerode2002-12-034-4/+60
| | | | | * Makefile.in: Regenerate. * configure.in: Introduce rules to serialize subconfigure runs.
* * configure.in: Introduce BASE_CC_FOR_TARGET.Nathanael Nerode2002-12-034-625/+429
| | | | | | * Makefile.tpl: Reorganize and comment. Introduce HOST_CONFIGARGS. Realize configure-build-* targets. Realize configure-target-* targets. * Makefile.in: Regenerate.
* include/opcode/Richard Henderson2002-12-032-0/+5
| | | | | | | | | | | | | | | * ia64.h (enum ia64_opnd): Add IA64_OPND_LDXMOV. bfd/ * cpu-ia64-opc.c (elf64_ia64_operands): Add ldxmov entry. opcodes/ * ia64-opc-m.c: Add ld8.mov. * ia64-asmtab.c: Regenerate. gas/ * config/tc-ia64.c (operand_match): Add IA64_OPND_LDXMOV case. gas/testsuite/ * gas/ia64/ldxmov-1.[ds]: New. * gas/ia64/ldxmov-2.[ls]: New. * gas/ia64/ia64.exp: Run them.
* * configure: Move gcc_version_trigger stuff from here...Nathanael Nerode2002-12-035-179/+224
| | | | | | | | | | | | * configure.in: ...to here. * configure.in: Separate subconfigure options added by this file from options given by the user. Add machinery to put args for host subconfigures into the Makefile. * Makefile.tpl: Remove 'vault' targets. * Makefile.tpl: Reorder and comment dependencies. * Makefile.in: Regenerate.
* * cgen.h (struct cgen_maybe_multi_ifield): Add "const PTR p" to union.Alan Modra2002-12-022-3/+10
| | | | Constify "leaf" and "multi".
* 2002-12-02 Andrew Stadt <acstadt@sympatico.ca>Danny Smith2002-12-022-0/+7
| | | | | * include/shellapi.h (_SHFILEOPSTRUCTA,_SHFILEOPSTRUCTW): Wrap with pshpack2.h/poppack.h to correct alignment.
* 2002-12-02 Ken Fitlike <kenfitlike@users.sourceforge.net>Danny Smith2002-12-022-1/+63
| | | | | | | | | | | | | * include/commctrl.h (LVBKIF_*): Add defines. (LVM_SETIMAGE[AW]): Add defines and UNICODE mappings. (LVM_GETIMAGE[AW]): Add defines and UNICODE mappings. (LVBKIMAGE[AW]): Add defines and UNICODE mappings. (LPLVBKIMAGE[AW]): Add defines and UNICODE mappings. (LVM_GETBKIMAGE[AW]): Add defines and UNICODE mappings. (LVM_SETBKIMAGE[AW]): Add defines and UNICODE mappings. (ListView_GetBkImage): Add define. (ListView_SetBkImage): Add define. (LVBKIMAGE): Add structures and typedefs.
* (from gcc repos.)Nathanael Nerode2002-12-022-1/+9
| | | | | | | 2002-11-28 Geoffrey Keating <geoffk@apple.com> * configure.in: Move host-specific darwin noconfigdirs into the host-specific section.
* * Makefile.tpl: Restore bkorb's style patch, accidentally lostNathanael Nerode2002-12-023-10/+24
| | | | | during replay. * Makefile.in: Regenerate.
* 2002-12-02 Nathanael Nerode <neroden@gcc.gnu.org>Nathanael Nerode2002-12-026-2677/+1304
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (finishing slow-motion replay) * configure: Remove skip-this-dir support. * Makefile.tpl: Remove skip-this-dir support. * Makefile.tpl: Remove leftover support for non-autoconfiscated subdirectories. * Makefile.in: Regenerate. * Makefile.tpl: Strip out useless setting of 'dir'. * Makefile.in: Regenerate. 2002-12-02 Nathanael Nerode <neroden@gcc.gnu.org> (finishing slow-motion replay) * configure.in: Fix deeply stupid bug. * configure.in: Introduce RAW_CXX_FOR_TARGET and simplify embedded shell code in CXX_FOR_TARGET * Makefile.def: Introduce raw_cxx. * Makefile.tpl: Use raw_cxx to select between CXX_FOR_TARGET and RAW_CXX_FOR_TARGET. * Makefile.in: Regenerate. 2002-12-02 Nathanael Nerode <neroden@gcc.gnu.org> (finishing slow-motion replay) * Makefile.tpl: Remove unnecessary ifs. * Makefile.in: Regenerate. * Makefile.tpl: Implement soft dependency machinery. Maybe-ize dependencies. Maybe-ize build-libiberty. Create dummy install targets for 'no_install' modules. * configure: Move GDB_TK substitution to configure.in. Move build_modules stuff to configure.in. * configure.in: Implement soft dependency machinery. Maybe-ize GDB_TK, rearrange slightly. Move build_modules stuff from configure. * Makefile.in: Regenerate.
* * m68hc11.h (EF_M68HC12_MACH, EF_M68HCS12_MACH): Define.Stephane Carrez2002-12-012-0/+24
| | | | | (EF_M68HC11_MACH_MASK, EF_M68HC11_MACH): Define. (EF_M68HC11_MERGE_MACH, EF_M68HC11_CAN_MERGE_MACH): Define.
* 2002-12-01 Nathanael Nerode <neroden@gcc.gnu.org>Nathanael Nerode2002-12-017-709/+2805
| | | | | | | | | | | | | | | | | | | | | | | | | (continuing slow-motion replay) * Makefile.tpl: Make all-target, install-target behave similarly to all, install (only hitting configured targets). Eliminate unused macro defintions. * Makefile.tpl: Add all-gcc: all-build-libiberty dependency when build != host. * Makefile.tpl: Add all-gcc: all-libiberty dependency. * ltcf-c.sh, ltcf-gcj.sh, Makefile.tpl: Correct BUILD/HOST confusion. * configure.in: Produce lists of subdir targets we're actually configuring. Remove references to "dosrel". * Makefile.tpl: Let configure set which subdir targets are hit. Remove install-cross; clean up install; remove ALL. Remove references to "dosrel". Remove "EXTRA_TARGET_HOST" hackery. Autogenerate host module targets. Remove empty dependency lines and redundant dependency; rearrange slightly. * Makefile.def: Add host-side libtermcap, utils. * Makefile.in: Regenerate.
* 2002-12-01 Nathanael Nerode <neroden@gcc.gnu.org>Nathanael Nerode2002-12-014-175/+2641
| | | | | | | | | (Continuing slow-motion replay) * Makefile.def: Add list of recursive targets to autogenerate. Add build_modules. * Makefile.tpl: Autogenerate do-* targets. Autogenerate *-target-* targets. Autogenerate *-build-* targets. * Makefile.in: Regenerate.
* * fhandler_tty.cc (fhandler_pty_master::accept_input): Move read_retvalChristopher Faylor2002-11-302-4/+15
| | | | | assignment to prevent race condition. Remove read_retval from return statement.
* s/boolean/bfd_boolean/ s/true/TRUE/ s/false/FALSE/. SimplifyAlan Modra2002-11-308-129/+127
| | | | comparisons of bfd_boolean vars with TRUE/FALSE. Formatting.
* 2002-11-30 Nathanael Nerode <neroden@gcc.gnu.org>Nathanael Nerode2002-11-304-72/+103
| | | | | | | | | | | | | | | | (Continuing slow-motion replay) * configure: More autoconf-style substitutions. * Makefile.tpl: More autoconf-style substitutions. * Makefile.in: Regenerate. 2002-11-30 Nathanael Nerode <neroden@gcc.gnu.org> (Continuing slow-motion replay) * configure: Substitute more variables in a more autoconf-friendly way. Simplify slightly. * Makefile.tpl: Make more variables substitutable in an autoconf-friendly way. * Makefile.in: Regenerate.
* 2002-11-29 Nathanael Nerode <neroden@gcc.gnu.org>Nathanael Nerode2002-11-293-4/+20
| | | | | | | | | (Continuing slow-motion replay) * configure.in (v810*): Remove special setting of tools. * configure: Add support for extra required flags for ar or nm. * configure.in (aix4.3+): Use above support for target-specific issues, rather than using config/mt-aix43.
* 2002-11-29 Nathanael Nerode <neroden@gcc.gnu.org>Nathanael Nerode2002-11-295-510/+482
| | | | | | | | | | | (Starting slow-motion replay merge from gcc 3.4 b-i-b branch) * configure: Remove 'removing', which doesn't work. Replace $subdir with . everywhere. Replace $subdirs with ''. Replace $makesrcdir with $srcdir. Reformat indentation. Substitute some variables formerly hard-coded in the Makefile for build=host. * Makefile.tpl: Autogenerate more; make more autoconf-friendly. * Makefile.def: Autogenerate more. * Makefile.in: Regenerate.
* * pinfo.h (winpids::set): Renamed from init.Christopher Faylor2002-11-296-5/+32
| | | | | | | | | | | (winpids::init): New declaration. (winpids::cs): Ditto. (winpids::winpids): Use set rather than init. * external.cc (fillout_pinfo): Ditto. * dcrt0.cc (dll_crt0_1): Call winpids::init. * pinfo.cc (winpids::set): Renamed from init. Wrap calls in critical section. (winpids::init): New function. (winpids::cs): Define.
* * sigproc.cc (sig_dispatch_pending): Remove assertion.Christopher Faylor2002-11-292-1/+4
|
* include/elf/ChangeLogAlan Modra2002-11-282-67/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * internal.h (elf32_internal_ehdr, Elf32_Internal_Ehdr, elf64_internal_ehdr, Elf64_Internal_Ehdr, elf32_internal_phdr, Elf32_Internal_Phdr, elf64_internal_phdr, Elf64_Internal_Phdr, elf32_internal_shdr, Elf32_Internal_Shdr, elf64_internal_shdr, Elf64_Internal_Shdr, elf32_internal_sym, elf64_internal_sym, Elf32_Internal_Sym, Elf64_Internal_Sym, Elf32_Internal_Note, elf32_internal_note, elf32_internal_rel, Elf32_Internal_Rel, elf64_internal_rel, Elf64_Internal_Rel, elf32_internal_rela, elf64_internal_rela, Elf32_Internal_Rela, Elf64_Internal_Rela, elf32_internal_dyn, elf64_internal_dyn, Elf32_Internal_Dyn, Elf64_Internal_Dyn, elf32_internal_verdef, elf64_internal_verdef, elf32_internal_verdaux, elf64_internal_verdaux, elf32_internal_verneed, elf64_internal_verneed, elf32_internal_vernaux, elf64_internal_vernaux, elf32_internal_versym, elf64_internal_versym, Elf32_Internal_Verdef, Elf64_Internal_Verdef, Elf32_Internal_Verdaux, Elf64_Internal_Verdaux, Elf32_Internal_Verneed, Elf64_Internal_Verneed, Elf32_Internal_Vernaux, Elf64_Internal_Vernaux, Elf32_Internal_Versym, Elf64_Internal_Versym, Elf32_Internal_Syminfo, Elf64_Internal_Syminfo): Delete. (Elf_Internal_Rel): Delete. bfd/ChangeLog * elf-bfd.h: Replace occurrences of Elf32_Internal_* and Elf64_Internal_* with Elf_Internal_*. Replace Elf_Internal_Rel with Elf_Internal_Rela. * elf-hppa.h, elf-m10200.c, elf-m10300.c, elf32-arc.c, elf32-arm.h, elf32-avr.c, elf32-cris.c, elf32-d10v.c, elf32-d30v.c, elf32-dlx.c, elf32-fr30.c, elf32-frv.c, elf32-gen.c, elf32-h8300.c, elf32-hppa.c, elf32-i370.c, elf32-i386.c, elf32-i860.c, elf32-i960.c, elf32-ip2k.c, elf32-m32r.c, elf32-m68hc11.c, elf32-m68hc12.c, elf32-m68k.c, elf32-mcore.c, elf32-mips.c, elf32-openrisc.c, elf32-or32.c, elf32-ppc.c, elf32-s390.c, elf32-sh.c, elf32-v850.c, elf32-vax.c, elf32-xstormy16.c, elf64-alpha.c, elf64-gen.c, elf64-hppa.c, elf64-mips.c, elf64-mmix.c, elf64-ppc.c, elf64-s390.c, elf64-sh64.c, elf64-sparc.c, elf64-x86-64.c, elfarm-nabi.c, elfarm-oabi.c, elfcode.h, elflink.h, elfn32-mips.c, elfxx-ia64.c, elfxx-mips.c: Ditto. * elf-hppa.h (elf_hppa_internal_shdr): Delete. Use Elf_Internal_Shdr throughout instead. * elf.c (_bfd_elf_no_info_to_howto_rel): Delete. * elfcode.h (elf_swap_reloca_in): Pass source operand as a bfd_byte *. Remove INLINE keyword. (elf_swap_reloc_in): Likewise. Also clear r_addend. (elf_swap_reloc_out, elf_swap_reloca_out): Pass destination operand as a bfd_byte *. (elf_write_relocs): Consolidate REL and RELA code. (elf_slurp_reloc_table_from_section): Simplify REL code. (NAME(_bfd_elf,size_info)): Populate reloc swap entries. * elf-bfd.h (MAX_INT_RELS_PER_EXT_REL): Define. * elflink.h (elf_link_read_relocs_from_section): Consolidate REL and RELA code. (elf_link_adjust_relocs): Likewise. Don't malloc space for temp reloc array, use a fixed size of MAX_INT_RELS_PER_EXT_REL. (elf_link_output_relocs): Likewise. (elf_reloc_link_order): Likewise. (elf_finish_pointer_linker_section): Likewise. (struct elf_link_sort_rela): Remove union. (elf_link_sort_cmp1): Update to suit. (elf_link_sort_cmp2): Here too. (elf_link_sort_relocs): Consolidate REL and RELA code. Fix memory over-allocation for int_rels_per_ext_rel != 1 case. * elf32-arm.h: Update all bfd_elf32_swap_reloc_out calls. * elf32-i386.c: Likewise. * elf32-cris.c: Likewise for bfd_elf32_swap_reloca_out. * elf32-hppa.c, elf32-i370.c, elf32-m68k.c, elf32-ppc.c, elf32-s390.c, elf32-sh.c, elf32-vax.c, elfxx-mips.c: Likewise. * elf64-alpha.c: Likewise for bfd_elf64_swap_reloca_out. * elf64-hppa.c, elf64-mips.c, elf64-ppc.c, elf64-s390.c, elf64-sh64.c, elf64-sparc.c, elf64-x86-64.c: Likewise. * elfxx-ia64.c: Likewise for bfd_elfNN_swap_reloca_out. * elfxx-mips.c (sort_dynamic_relocs): Likewise for bfd_elf32_swap_reloc_in. * elf32-arm.h: Update elf32_arm_info_to_howto calls. * elf32-mips.c: Likewise for mips_info_to_howto_rel. (mips_elf64_swap_reloc_in): Zero r_addend. (mips_elf64_be_swap_reloc_in): Likewise. (mips_elf64_slurp_one_reloc_table): Simplify. * elf64-alpha.c (alpha_elf_size_info): Populate reloc swap entries. * elf64-hppa.c (hppa64_elf_size_info): Likewise. * elf64-sparc.c (sparc64_elf_size_info): Likewise.
* revert botched checkinChristopher Faylor2002-11-281-6/+6
|
* * include/cygwin/version.h: Bump DLL minor number.Christopher Faylor2002-11-283-7/+11
|
* * fhandler_socket.cc (fhandler_socket::sendto): Fix potential unitialized valueChristopher Faylor2002-11-272-3/+8
| | | | return.
* * libc/string/memset.c (memset): Fix comment.Christopher Faylor2002-11-272-4/+6
|
* * cygwin.din: Export pthread_getsequence_np.Christopher Faylor2002-11-273-1/+8
| | | | * include/cygwin/version.h: Bump API minor version.
* * mingwex/math/lgamma.c: New file.Danny Smith2002-11-279-5/+2300
| | | | | | | | | | | | | | | * mingwex/math/lgammaf.c: New file. * mingwex/math/lgammal.c: New file. * mingwex/math/tgamma.c: New file. * mingwex/math/tgammaf.c: New file. * mingwex/math/tgammal.c: New file. * mingwex/math/cephes_mconf (polevlf): Add float version. (p1evlf): Likewise. Define _CEPHES_USE_ERRNO. * mingwex/Makefile.in (MATH_DISTFILES): Add new files. (MATH_OBJS): Add new objects. * include/math.h (lgamma[fl]): Add prototypes. (tgamma[fl]): Add prototypes.
* white spaceChristopher Faylor2002-11-271-1/+1
|
* * cygwin.din: Export nl_langinfo().Christopher Faylor2002-11-273-1/+9
| | | | * include/cygwin/version.h: Bump API minor version.
* * fhandler_tty.cc (fhandler_pty_master::accept_input): Just use a normal SleepChristopher Faylor2002-11-263-4/+10
| | | | | or suffer amazing pauses when other tty apps are running. (fhandler_pty_master::process_slave_output): Ditto.
* * libc/string/memset.c (memset): Move initialization of 'd' earlier inChristopher Faylor2002-11-262-1/+6
| | | | function.
* Add strtold and wcstold to libmingwex.aDanny Smith2002-11-269-9/+3147
| | | | | | | | | | | | | | | | | * mingwex/strtold.c: New file. * mingwex/wcstold.c: New file. * mingwex/ldtoa.c: New file. * mingwex/math/cephes_emath.h: New file. * mingwex/math/cephes_emath.c: New file. * mingwex/Makefile.in (DISTFILES): Add new files. (MATH_DISTFILES): Ditto. (STDLIB_OBJS): New. Define as strtold.c wcstold.c. (MATH_OBJS): Add cephes_emath.o. (LIB_OBJS): Add $(STDLIB_OBJS). * include/stdlib.h (strtold, wcstold): Add prototypes. * include/wchar.h (wcstold): Add prototype. Add missing ChangeLog entry for 2002-11-09.
* * include/w32api.h: Increment to version 2.2Earnie Boyd2002-11-253-3/+8
| | | | * Makefile.in: Ditto.
* * libc/string/memset.c (memset): Minor optimization: Use new 'd' variable,Christopher Faylor2002-11-252-1/+6
| | | | introduced below, everywhere.
* * libc/string/memset.c (memset): Make it safe even ifKazu Hirata2002-11-252-4/+11
| | | | sizeof (int) = 2.
* * lib/Makefile.in (dist, install): Correct the install destinations.Earnie Boyd2002-11-253-13/+25
| | | | * lib/ddk/Makefile.in (dist, install): Ditto.
* * mkpasswd.c (main): Set pw_passwd field to '*' on 9x/Me.Corinna Vinschen2002-11-252-5/+9
|
* * passwd.cc (read_etc_passwd): Never add an entry when startingCorinna Vinschen2002-11-253-4/+14
| | | | | | on Win95/98/ME if a default entry is present. * uinfo.cc (internal_getlogin): Look for the default uid if needed. Always call user.set_name ().
* * sec_acl.cc (getacl): Set errno to ENOSPC if command is GETACL andCorinna Vinschen2002-11-252-1/+9
| | | | nentries is less than the number of entries in the file's ACL.
* 2002-11-24 Corinna Vinschen <corinna@vinschen.de>Corinna Vinschen2002-11-242-142/+153
| | | | | | | | | | | | | | | | | | | | | | * sec_acl.cc: Fix some formatting. Only set and check `other' bits in a_perm throughout. Use ILLEGAL_GID id for all entries having no id. (setacl): Fix inheritance condition. (getacl): Set all permission bits in CLASS_OBJ and DEF_CLASS_OBJ entries. Remove DENY bits before returning to calling function. (acltomode): Fix usage of searchace(). If available, use CLASS_OBJ to mask GROUP_OBJ permissions. (aclfrommode): Fix usage of searchace(). If available, set CLASS_OBJ permissions to same value as GROUP_OBJ permissions. 2002-11-24 Pierre Humblet <pierre.humblet@ieee.org> * sec_acl.cc (getace): Fix the behavior when allow and deny entries are present in arbitrary order. (getacl): Report the actual number of entries when aclbufp is NULL, even if nentries is zero. Fix the mask reporting, handle the case where the owner and group sids are equal and streamline the code. (acl_worker): Take allow_ntsec into account.
* * setfacl.c (getperm): Set only `other' permission bits.Corinna Vinschen2002-11-242-4/+9
| | | | (getaclentry): Set a_id to -1 by default.
* * getfacl.c (permstr): Use `other' permission bits for requestingCorinna Vinschen2002-11-242-3/+8
| | | | ace permissions.
* 2002-11-05 Thomas Pfaff <tpfaff@gmx.net>Robert Collins2002-11-245-78/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * dcrt0.cc (dll_crt0_1): Add call to pthread::initMainThread to initialize mainthread when it is safe to call new. * init.cc (dll_entry): Change call to store reents in tls key. * thread.cc (_reent_clib) : Change call to get reents from tls key. (_reent_winsup): Ditto. (MTinterface::Init): Key handling changed. Remove initialization of member variables. (MTinterface::fixup_after_fork): Reinitialize mainthread object after fork. Reset threadount to 1. (pthread::initMainThread): Create mainthread object dynamically. and initialize with valid handles. (pthread::self): Remove calls to create thread objects. (pthread::setTlsSelfPointer): Change call to store thread self handle in tls key. (pthread::getTlsSelfPointer): New static method. (pthread::exit): Remove setTlsSelfPointer call. (pthread::initCurrentThread): New method. (pthread::thread_init_wrapper): Change call to store thread self handle in tls key. (pthread::join): Check for a valid joiner. (pthreadNull::pthreadNull): Mark Null object as detached. (pthreadNull::exit): Terminate thread via ExitThread. * thread.h (pthread::initMainThread): Change parameter in function call. (pthread::getTlsSelfPointer): New static method. (pthread::initCurrentThread): New method. (MTinterface::reent_key): Remove. (MTinterface::thread_self_dwTlsIndex): Ditto.. (MTinterface::indexallocated): Ditto. (MTinterface::mainthread): Ditto. (MTinterface::reent_key): New member. (MTinterface::thread_self_key): Ditto. (MTinterface::MTinterface): Initialize all members.
* 2002-11-25 Robert Collins <rbtcollins@hotmail.com>Robert Collins2002-11-244-0/+108
| | | | | | | * readme: Document running portions of the test suite (Thanks Egor!). * winsup.api/pthread/mainthreadexits.c: New file, derived from Thomas Pfaff's test cases. * winsup.api/pthread/threadidafterfork.c: Ditto.
* * libiberty.h (basename): Add NetBSD to the list.Jason Thorpe2002-11-242-1/+5
|