summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * include/winnt.h: Change definition of `SYSTEM_LUID' to complyCorinna Vinschen2001-08-312-1/+6
| | | | with new `LARGE_INTEGER' definition.
* 2001-08-30 Richard Henderson <rth@redhat.com>Eric Christopher2001-08-312-50/+61
| | | | | | Eric Christopher <echristo@redhat.com> * mips/idt.ld: Rewrite for .init/.fini sections.
* * cygwin.sc: Revert to previous NO_COPY behavior.Christopher Faylor2001-08-315-29/+33
| | | | | | * winsup.h: Ditto. * sigproc.cc: Ditto. * autoload.cc: Ditto.
* 2001-08-30 Eric Christopher <echristo@redhat.com>Eric Christopher2001-08-312-3/+8
| | | | | | Jason Eckhardt <jle@redhat.com> * config.sub: Add support for mipsisa32.
* 2001-08-30 Eric Christopher <echristo@redhat.com>Eric Christopher2001-08-313-5/+15
| | | | * config.sub, config.guess: Import latest from subversions.
* minor wording change.Christopher Faylor2001-08-311-1/+1
|
* space reduction.Christopher Faylor2001-08-311-2/+2
|
* space reduction.Christopher Faylor2001-08-311-1/+1
|
* * cygwin.sc: New file -- linker script for building cygwin DLL.Christopher Faylor2001-08-3110-46/+236
| | | | | | | | | | | | | | | | | | | | | | | * Makefile.in: Use linker script to control location of cygheap. * cygheap.cc (buckets): Make static. (init_cheap): Remove special iswinnt handling. Allocate cygheap at a fixed location. Display more info when allocation fails. (cygheap_fixup_in_child): Try harder to move cygheap to correct location. Display more info when allocation fails. * fhandler.h (fhandler_socket): Add macros for tracking socket shutdown state. * net.cc (cygwin_shutdown): Set appropriate shutdown value for future use. * select.cc (select_stuff::cleanup): New method. (cygwin_select): Call cleanup explicitly to avoid a race. (select_stuff:~select_stuff): Call cleanup chain via cleanup method. (fhandler_socket::select_read): Set *_ready when shutdown has been called on the socket. (fhandler_socket::select_write): Ditto. (fhandler_socket::select_except): Ditto. * winsup.h: Move NO_COPY to "COMMON" section. * autoload.cc (wsock_started): Avoid initializing NO_COPY value. * sigproc.cc: Remove initialization from NO_COPY variables. (sigproc_init): Initialize sig_loop_wait here, rather than via initialization. (subproc_init): Initialize proc_loop_wait here, rather than via initialization.
* * dumper.h: Update copyright notice.Egor Duda2001-08-303-6/+50
| | | | | | | | | | * dumper.cc: Ditto. * dumper.cc: (dumper::print_core_section_list): New function. * dumper.h: (dumper::print_core_section_list): Declare it. * dumper.cc (print_section_name): New function. (dumper::collect_process_information): Augment debugging output. Stop debugee processing if it posts double exception. (usage): Fix typo in option name.
* * include/winsock2.h: Remove "extra token" after #endif.Christopher Faylor2001-08-302-1/+5
|
* * select.cc (select_read): Add setting read_ready flag.Corinna Vinschen2001-08-302-0/+7
| | | | (select_write): Add setting write_ready flag.
* * config.guess: Remove the \r from the end of line.Earnie Boyd2001-08-307-368/+500
| | | | | | | | | | * config.sub: Ditto. * include/winnt.h: Allow anonymous struct in [U]LARGE_INTEGER if __cplusplus as well as if _ANONYMOUS_STRUCT. * config.guess: Add the MSYS system. * config.sub: Ditto. * include/winsock.h: Add the __INSIDE_MSYS__ protections. * incldue/winsock2.h: Ditto.
* 2001-08-29 Joel Sherrill <joel@OARcorp.com>Jeff Johnston2001-08-2918-3/+78
| | | | | | | | | | | | | | | | | * libc/include/sys/unistd.h: Prototype chroot() for RTEMS. 2001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S, libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c, libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S, libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S, libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S, libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S, libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c, libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S: Add conditional compilation to avoid HW FPU instructions when compiled for soft-float.
* merge from gccDJ Delorie2001-08-292-5/+11
|
* 2001-08-29 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2001-08-293-4/+10
| | | | | | * Makefile.am: Add check for ln failing when creating libg.a so that cp gets used as a backup. * Makefile.in: Regenerated.
* 2001-08-29 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2001-08-295-6/+36
| | | | | | | | | | | | | * libc/include/sys/reent.h: Add include of <sys/_types.h>. No longer include time.h. Add struct __tm to use for _localtime_buf in the reentrant structure. Add a _NULL definition to use in initializing the reentrant struct. * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in <sys/_types.h>. * libc/include/sys/unistd.h: Include <sys/_types.h>. * libc/time/lcltime.c (localtime): Cast the reentrant struct _localtime_buf to be struct tm *.
* * h8.h (EF_H8_MACH): New mask for encoded machine type.Jeff Law2001-08-292-1/+17
| | | | | (E_H8_MACH_H8300, E_H8_MACH_H8300H, E_H8_MACH_H8300S): New machine types.
* * include\winnt.h: Allow anonymous (Xxx.LowPart) orEarnie Boyd2001-08-293-14/+35
| | | | | | non-anonymous (Xxx.u.LowPart) access to HighPart and LowPart of a LARGE_INTEGER or ULARGE_INTEGER. * include/wingdi.h (HANGUL_CHARSET): Add define.
* * include/stdarg.h (va_list): Typedef as __builtin_va_list ifEarnie Boyd2001-08-294-6/+23
| | | | | | __GNUC__ >= 3. * include/varargs.h (va_list): Ditto. * include/stdio.h (va_list): Ditto.
* * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.Joern Rennecke2001-08-294-0/+25
| | | | | | | * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors / __ctors_end. * libc/sys/h8300hms/syscalls.c: Include errno.h. (_unlink): New stub function.
* * path.cc (path_conv::check): Avoid splitting off leading '/' in path componentChristopher Faylor2001-08-292-0/+7
| | | | when building a symlink.
* * resource.cc (getrlimit): Return actual values on RLIMIT_STACK.Corinna Vinschen2001-08-282-0/+15
|
* * h8.h: New file.Joern Rennecke2001-08-282-0/+90
|
* oopsChristopher Faylor2001-08-281-14/+7
|
* * dir.cc (rmdir): Report ENOENT when file doesn't exist rather than ENOTDIR.Christopher Faylor2001-08-283-9/+27
|
* * mount.cc (main): Issue correct warning for 'not enough arguments'.Christopher Faylor2001-08-282-1/+8
|
* merge from gccDJ Delorie2001-08-272-4/+8
|
* * select.cc (cygwin_select): Ensure that arguments are zeroed on timeout.Christopher Faylor2001-08-272-12/+20
| | | | (select_stuff::wait): Ditto.
* * ppc.h (PPC_OPERAND_DS): Define.Alan Modra2001-08-272-1/+7
|
* * ppc.h: Add relocs from the 64-bit PowerPC ELF ABI revision 1.2.Alan Modra2001-08-272-1/+77
|
* * xcoff.h (struct __rtinit): Make proper prototype for rtl.Andreas Jaeger2001-08-272-2/+7
|
* For include/opcode:Andreas Jaeger2001-08-264-40/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * d30v.h: Fix declaration of reg_name_cnt. * d10v.h: Fix declaration of d10v_reg_name_cnt. * arc.h: Add prototypes from opcodes/arc-opc.c. For opcodes: * tic54x-dis.c: Add unused attributes where needed. * z8k-dis.c (output_instr): Add unused attribute. * h8300-dis.c: Add missing prototypes. (bfd_h8_disassemble): Make static. * cris-dis.c: Add missing prototype. * h8500-dis.c: Likewise. * m68hc11-dis.c: Likewise. * pj-dis.c: Likewise. * tic54x-dis.c: Likewise. * v850-dis.c: Likewise. * vax-dis.c: Likewise. * w65-dis.c: Likewise. * z8k-dis.c: Likewise. * d10v-dis.c: Add missing prototype. (dis_long): Remove unused variable. (dis_2_short): Likewise. * sh-dis.c: Add missing prototypes. * v850-opc.c: Likewise. Add unused attributes where needed. * ns32k-dis.c: Add missing prototypes. (bit_extract_simple): Remove unused variable.
* * libc/include/sys/errno.h: Add a cautionary comment.Christopher Faylor2001-08-262-0/+6
|
* * syscalls.cc (check_tty_fds): New function. Check whether there is a fdChristopher Faylor2001-08-252-2/+25
| | | | | referring to pty slave. (setsid): Don't detach console if the process has a pty slave.
* fix compile time warning messageNick Clifton2001-08-252-1/+6
|
* Apply H.J.'s patch to revert change to elfxx-target.hNick Clifton2001-08-242-0/+19
| | | | Apply my patch to allow SREC as output format.
* * net.cc (free_addr_list): Add define for symmetry.Corinna Vinschen2001-08-242-2/+35
| | | | | | | (free_hostent_ptr): Use free_addr_list to free h_addr_list element. (dup_addr_list): New static function. (dup_hostent_ptr): Use dup_addr_list instead of dup_char_list in order to handle embedded null characters.
* * internal.h (R_JMP2, R_JMPL2, R_MOVL2): Comment spelling fix.Joern Rennecke2001-08-242-3/+7
|
* * elf-bfd.h (enum elf_reloc_type_class): New.Jakub Jelinek2001-08-232-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (struct elf_backend_data): Add elf_backend_reloc_type_class. (_bfd_elf_reloc_type_class): New. * elfxx-target.h (elf_backend_reloc_type_class): Define. (elfNN_bed): Add elf_backend_reloc_type_class. * elf.c (_bfd_elf_reloc_type_class): New. * elf32-i386.c (elf_i386_check_relocs): Set DF_TEXTREL if the reloc is against read-only section. (elf_i386_size_dynamic_sections): Use DF_TEXTREL flag instead of looking up section names for DT_TEXTREL. (elf_i386_reloc_type_class): New. (elf_backend_reloc_type_class): Define. * elf32-sparc.c (elf32_sparc_check_relocs): Set DF_TEXTREL if the reloc is against read-only section. (elf32_sparc_size_dynamic_sections): Use DF_TEXTREL flag instead of looking up section names for DT_TEXTREL. (elf32_sparc_reloc_type_class): New. (elf_backend_reloc_type_class): Define. * elf64-sparc.c (sparc64_elf_check_relocs): Set DF_TEXTREL if the reloc is against read-only section. (sparc64_elf_size_dynamic_sections): Use DF_TEXTREL flag instead of looking up section names for DT_TEXTREL. (sparc64_elf_reloc_type_class): New. (elf_backend_reloc_type_class): Define. * elfxx-ia64.c (struct elfNN_ia64_link_hash_table): Add reltext field. (elfNN_ia64_hash_table_create): Clear ia64_info. (get_reloc_section): Set DF_TEXTREL if the reloc is against read-only section. (elfNN_ia64_size_dynamic_sections): Use ia64_info->reltext flag instead of looking up section names for DT_TEXTREL. (elfNN_ia64_reloc_type_class): New. (elf_backend_reloc_type_class): Define. * elflink.h (size_dynamic_sections): Add spare DT_NULL tags. (struct elf_link_sort_rela): New. (elf_link_sort_cmp1, elf_link_sort_cmp2, elf_link_sort_relocs): New. (elf_bfd_final_link): Call elf_link_sort_relocs. Convert one spare DT_NULL into DT_RELCOUNT resp. DT_RELACOUNT if necessary. * bfdlink.h (struct bfd_link_info): Add combreloc and spare_dynamic_tags fields. * emultempl/elf32.em (place_orphan): Place orphan .rel* sections into .rel.dyn resp. .rela.dyn if combreloc. (get_script): If .x linker script is equal to .xn, only put it once into the binary. Add .xc and .xsc scripts. (parse_args): Handle -z combreloc and -z nocombreloc. * scripttempl/elf.sc (.rela.sbss): Fix a typo. For .xc and .xsc scripts put all .rel* or .rela* input sections but .rel*.plt and PLT-like sections into .rel.dyn resp. .rela.dyn. * genscripts.sh (GENERATE_COMBRELOC_SCRIPT): Set if SCRIPT_NAME is elf. Strip trailing whitespace from script. Generate .xc and .xsc scripts if requested. * ldmain.c (main): Initialize link_info.combreloc and link_info.spare_dynamic_tags. * lexsup.c (OPTION_SPARE_DYNAMIC_TAGS): Define. (ld_options): Add --spare-dynamic-tags option. (parse_args): Likewise. * ld.texinfo: Document -z combreloc and -z nocombreloc. * ldint.texinfo: Document .xc and .xsc linker scripts. * NEWS: Add notes about -z combreloc and SHF_MERGE.
* merge from gccDJ Delorie2001-08-236-20/+25
|
* * dtable.cc (dtable::dup2): Allow extension of fd table by dup2.Christopher Faylor2001-08-234-24/+28
| | | | | | | * syscalls.cc: Minor code cleanup. (fpathconf): Check for bad fd before doing anything else. * termios.cc (tcsetattr): Don't convert to new termios if bad fd. (tcgetattr): Minor debugging tweak.
* * net.cc (cygwin_inet_ntoa): Rearrange previous patch to useCorinna Vinschen2001-08-224-68/+94
| | | | | | | | | | | | | | | thread local buffer space when compiled thread safe. (cygwin_getprotobyname): Ditto. (cygwin_getprotobynumber): Ditto. (cygwin_getservbyname): Ditto. (cygwin_getservbyport): Ditto. (cygwin_gethostbyname): Ditto. (cygwin_gethostbyaddr): Ditto. Move near to cygwin_gethostbyname. * thread.h (struct _winsup_t): Add pointers for above used buffer space. * passwd.cc (getpwduid): Remove initializing passwd. (setpwent): Ditto. (endpwent): Ditto. (setpassent): Ditto.
* * smallprint.c (console_printf): New function.Christopher Faylor2001-08-228-36/+81
| | | | | | | | | | * dcrt0.cc (dll_crt0_1): Use console_printf for debugging output. * debug.cc (debug_mark_closed): New function. (close_handle): Use debug_mark_closed. * debug.h: Declare new functions. * dtable.cc (dtable::build_fhandler): Remove unneeded extern. * spawn.cc: Cosmetic changes. * winsup.h: Define NO_COPY for C files, too. Declare a global.
* * net.cc (free_char_list): New static function.Corinna Vinschen2001-08-222-7/+205
| | | | | | | | | | | | | | | | | | (dup_char_list): Ditto. (free_protoent_ptr): Ditto. (dup_protoent_ptr): Ditto. (free_servent_ptr): Ditto. (dup_servent_ptr): Ditto. (free_hostent_ptr): Ditto. (dup_hostent_ptr): Ditto. (cygwin_inet_ntoa): Use local static buffer to allow propagating of the result to child processes. (cygwin_getprotobyname): Ditto. (cygwin_getprotobynumber): Ditto. (cygwin_getservbyname): Ditto. (cygwin_getservbyport): Ditto. (cygwin_gethostbyname): Ditto. (cygwin_gethostbyaddr): Ditto.
* fix typo.Christopher Faylor2001-08-221-1/+1
|
* merge from gccDJ Delorie2001-08-222-13/+19
|
* * mips/Makefile.in (jmr3904-io.o): Remove bogus use of `-mips3.'Jonathan Larmour2001-08-222-1/+5
|
* 2001-08-21 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2001-08-212-1/+6
| | | | | * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional for SIZE_SZ so that alignment ends up a minimum of 8.
* merge from gccDJ Delorie2001-08-212-0/+84
|