summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 2007-04-25 Patrick Mansfield <patmans@us.ibm.com>Jeff Johnston2007-04-252-0/+191
| | | | | | * libc/machine/spu/sys/errno.h: New file, so spu errno values match ppu linux values. This file is a copy of the cris/sys/errno.h plus a few changes (see spu errno.h comments).
* 2007-04-25 Eric Blake <ebb9@byu.net>Jeff Johnston2007-04-252-28/+14
| | | | | * libc/stdio/vfprintf.c (get_arg): Support %1$lc. Simplify types that promote to int.
* 2007-04-25 Patrick Mansfield <patmans@us.ibm.com>Jeff Johnston2007-04-252-1/+6
| | | | | * feholdexcept.h: Use *envp not env so we clear the proper bits in the fpscr, and don't set some random ones.
* * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't zero pad on infinityEric Blake2007-04-242-2/+14
| | | | or NaN with %05f.
* * libc/stdio/vfprintf.c (_VFPRINTF_R): Avoid multibyte when notEric Blake2007-04-242-14/+22
| | | | _MB_CAPABLE.
* * libc/include/limits.h (NL_ARGMAX): Define a default value.Eric Blake2007-04-243-2/+22
| | | | | * libc/stdio/vfprintf.c (MAX_POS_ARGS): Define in terms of NL_ARGMAX, if present.
* 2007-04-23 Ralf Wildenhues <Ralf.Wildenhues <at> gmx.de>Jeff Johnston2007-04-2363-198/+511
| | | | | | | | | | | | | | | * confsubdir.m4 (AC_CONFIG_SUBDIRS, _AC_OUTPUT_SUBDIRS): New file. Override Autoconf-2.59's version of these macros with fixed handling of multiple adjacent whitespace in arguments. * aclocal.m4: Regenerated forcefully. * configure: Ditto. * Makefile.in: Ditto. * libc/*Makefile.in: Ditto. * libc/*aclocal.m4: Ditto. * libc/*configure: Ditto. * libm/*Makefile.in: Ditto. * libm/*aclocal.m4: Ditto. * libm/*configure: Ditto.
* 2007-04-23 Brian Dessent <brian@dessent.net>Jeff Johnston2007-04-231-1/+1
| | | | | | * libc/stdio/vfprintf.c (_vfprintf_r): When the alternate-form flag has been specified with types 'f', 'F', 'g', or 'G', ensure the trailing decimal is printed.
* 2007-04-23 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2007-04-234-5/+58
| | | | | | | * libc/sys/arc/dummy.S: Dummy file to force .S.o suffix rule. * libc/sys/arc/Makefile.am: Add dummy.S to EXTRA_lib_a_SOURCES and set lib_a_CCASFLAGS so crto.o will use .S.o default suffix rule. * libc/sys/arc/Makefile.in: Regenerated.
* gas/testsuite/Nathan Sidwell2007-04-232-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gas/m68k/br-isaa.s: New. * gas/m68k/br-isaa.d: New. * gas/m68k/br-isab.s: New. * gas/m68k/br-isab.d: New. * gas/m68k/br-isac.s: New. * gas/m68k/br-isac.d: New. * gas/m68k/all.exp: Adjust. gas/ * config/tc-m68k.c (mcf54455_ctrl): New. (HAVE_LONG_DISP, HAVE_LONG_CALL, HAVE_LONG_COND): New. (m68k_archs): Add isac. (m68k_cpus): Add 54455 family. (m68k_ip): Split Bg into Bb, Bs, Bg. (m68k_elf_final_processing): Add ISA_C. * doc/c-m68k.texi (M680x0 Options): Add isac. include/opcode/ * m68k.h (mcfisa_c): New. (mcfusp, mcf_mask): Adjust. bfd/ * archures.c (bfd_mach_mcf_isa_c, bfd_mach_mcf_isa_c_mac, bfd_mach_mcf_isa_c_emac): New. * elf32-m68k.c (ISAC_PLT_ENTRY_SIZE, elf_isac_plt0_entry, elf_isac_plt_entry, elf_isac_plt_info): New. (elf32_m68k_object_p): Add ISA_C. (elf32_m68k_print_private_bfd_data): Print ISA_C. (elf32_m68k_get_plt_info): Detect ISA_C. * cpu-m68k.c (arch_info): Add ISAC. (m68k_arch_features): Likewise, (bfd_m68k_compatible): ISAs B & C are not compatible. opcodes/ * m68k-opc.c: Mark mcfisa_c instructions.
* 2007-04-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2007-04-222-38/+50
| | | | | * include/shellapi.h (NOTIFYICONDATAA, NOTIFYICONDATAW): Updated to support Vista.
* 2007-04-20 Matthias Miller <matthiasmiller@users.sourceforge.net>Chris Sutcliffe2007-04-202-113/+128
| | | | | * include/wincrypt.h (CRYPTPROTECT_PROMPTSTRUCT, CRYPTPROTECT_UI_FORBIDDEN, CRYPTPROTECT_LOCAL_MACHINE): Define.
* include/opcode/Alan Modra2007-04-202-29/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ppc.h (struct powerpc_operand): Replace "bits" with "bitm". (num_powerpc_operands): Declare. (PPC_OPERAND_SIGNED et al): Redefine as hex. (PPC_OPERAND_PLUS1): Define. opcodes/ * ppc-dis.c (print_insn_powerpc): Adjust for struct powerpc_operand change. * ppc-opc.c (powerpc_operands): Replace bit count with bit mask in all entries. Add PPC_OPERAND_SIGNED to DE entry. Remove references to following deleted functions. (insert_bd, extract_bd, insert_dq, extract_dq): Delete. (insert_ds, extract_ds, insert_de, extract_de): Delete. (insert_des, extract_des, insert_li, extract_li): Delete. (insert_nb, insert_rsq, insert_rtq, insert_ev2, extract_ev2): Delete. (insert_ev4, extract_ev4, insert_ev8, extract_ev8): Delete. (num_powerpc_operands): New constant. (XSPRG_MASK): Remove entire SPRG field. (powerpc_opcodes <bcctre, bcctrel>): Use XLBB_MASK not XLYBB_MASK. gas/ * messages.c (as_internal_value_out_of_range): Extend to report errors for values with invalid low bits set. * config/tc-ppc.c (ppc_setup_opcodes): Check powerpc_operands bitm fields. Check that operands and opcode fields are disjoint. (ppc_insert_operand): Check operands using mask rather than bit count. Check low bits too. Handle PPC_OPERAND_PLUS1. Adjust insertion code. (md_apply_fix): Adjust for struct powerpc_operand change.
* Correct erroneous ChangeLog commit.Mark Shinwell2007-04-201-13/+0
|
* * Makefile.in: Adjust dependencies of m68klinux-tdep.c.Mark Shinwell2007-04-201-0/+13
| | | | | | | | | | | | * m68klinux-tdep.c (m68k_uclinux_sigcontext_reg_offset): New. (m68k_linux_sigcontext_reg_offset): Fix typo. (target_is_uclinux): New. (m68k_linux_inferior_created): New. (m68k_linux_get_sigtramp_info): Check for uClinux or normal Linux. Use m68k_uclinux_sigcontext_reg_offset for uClinux. (_initialize_m68k_linux_tdep): Register m68k_linux_inferior_created.
* * cygwin.sc: Remove duplicated .debug_macinfo section.Brian Dessent2007-04-183-2/+9
| | | | * dllfixdbg: Also copy DWARF-2 sections into .dbg file.
* 2007-04-17 Brian Dessent <brian@dessent.net>Jeff Johnston2007-04-173-4/+63
| | | | | * libc/stdio/sscanf.c: Update documentation comments. * libc/stdio/vfscanf.c (__SVFSCANF_R): Handle j, t, and z modifiers.
* 2007-04-15 Piotr Wyderski <piotr.wyderski@wp.pl>Chris Sutcliffe2007-04-152-0/+7
| | | | | * include/winbase.h (SetInformationJobObject, QueryInformationJobObject): Define.
* * config-ml.in: Update from GCC.Steve Ellcey2007-04-142-1/+5
|
* * libc/stdio/vfprintf.c (_VFPRINTF_F, cvt): Don't confuse %F with %e.Eric Blake2007-04-132-1219/+1230
| | | | | (chclass): Recognize 'F', 'X', 'n', and not 'W'. (get_arg): Handle %1$F, %1$n.
* config:Paolo Bonzini2007-04-122-0/+44
| | | | | | | 2007-04-11 Kai Tietz <kai.tietz@onevision.com> * stdint.m4: Make template compatible with older cygwin types.h, wrapping each type in a __XXX_t_defined #ifdef.
* bfd/Richard Henderson2007-04-102-0/+9
| | | | | | | | | | | | | | * elf64-alpha.c (struct alpha_elf_link_hash_table): Add relax_trip. (elf64_alpha_size_got_sections): Remove unused something_changed local. (elf64_alpha_size_plt_section): Return void. (elf64_alpha_size_rela_got_section): Likewise. (elf64_alpha_relax_section): Only regenerate got+plt if the relax_trip counter has changed. include/ * bfdlink.h (struct bfd_link_info): Add relax_trip. ld/ * ldlang.c (relax_sections): Initialize and increment link_info.relax_trip.
* * libc/include/stdio.h (_ELIDABLE_INLINE): Work even when usingEric Blake2007-04-102-1/+6
| | | | CFLAGS=-O0.
* * libc/include/stdio.h: Add gcc format attributes to printf andEric Blake2007-04-102-349/+426
| | | | scanf families.
* 2007-04-09 Joel Schopp <jschopp@austin.ibm.com>Jeff Johnston2007-04-092-8/+10
| | | | | | | * libc/machine/spu/strxfrm.c: Fix strxfrm so we still copy data even if the passed in length n is shorter than the source string. This matches both the non-spu specific and the glibc strxfrm behaviour.
* * src-release (do-proto-toplev): Process the support directories beforeDaniel Jacobowitz2007-04-092-1/+6
| | | | | | | | | the tool directory. * Makefile.am (bfdver.h): Do not generate doc/bfdver.texi. * doc/Makefile.am (DOCFILES): Add bfdver.texi. (bfdver.texi): New rule. * Makefile.in, doc/Makefile.in: Regenerated.
* 2007-04-07 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2007-04-072-12/+15
| | | | | * Makefile.in: Removed mansuffix variable. Changed mansection to support Cygwin man page location.
* * include/stdint.h (WINT_MIN): Fix sign.Corinna Vinschen2007-04-062-1/+5
|
* 2007-04-05 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2007-04-052-11/+24
| | | | | * Makefile.in: Added mansection and mansuffix variables. Changed mandir to support Cygwin man page location.
* * testsuite/lib/flags.exp (newlib_include_flags): DropKazu Hirata2007-04-052-5/+4
| | | | -I${newlib_dir}.
* * libc/stdlib/__call_atexit.c (__call_exitprocs): Handle atexitKazu Hirata2007-04-052-0/+17
| | | | functions registering additional atexit functions.
* 2007-04-04 Eric Christopher <echristo@apple.com>Eric Christopher2007-04-052-5/+42
| | | | | | | | | | | | | | | Move from gcc: 2007-04-04 Zack Weinberg <zack@mrtock.ucsd.edu> * texi2pod.pl: Correct handling of @itemize with no argument. 2007-02-16 Matthias Klose <doko@debian.org> * texi2pod.pl: Handle @subsubsection, ignore @anchor. 2007-02-06 Richard Sandiford <richard@codesourcery.com> * texi2pod.pl: Handle @multitable.
* 2007-04-04 Patrick Mansfield <patmans@us.ibm.com>Jeff Johnston2007-04-0450-68/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libc/machine/spu/sys/syscall.h: New file for __send_to_ppe prototype. * libc/machine/spu/c99ppe.h: Remove static version of send_to_ppe. * libc/machine/spu/clearerr.c: Call __send_to_ppe vs send_to_ppe. * libc/machine/spu/fclose.c: Ditto. * libc/machine/spu/feof.c: Ditto. * libc/machine/spu/ferror.c: Ditto. * libc/machine/spu/fflush.c: Ditto. * libc/machine/spu/fgetc.c: Ditto. * libc/machine/spu/fgetpos.c: Ditto. * libc/machine/spu/fgets.c: Ditto. * libc/machine/spu/fileno.c: Ditto. * libc/machine/spu/fopen.c: Ditto. * libc/machine/spu/fprintf.c: Ditto. * libc/machine/spu/fputc.c: Ditto. * libc/machine/spu/fputs.c: Ditto. * libc/machine/spu/fread.c: Ditto. * libc/machine/spu/freopen.c: Ditto. * libc/machine/spu/fscanf.c: Ditto. * libc/machine/spu/fseek.c: Ditto. * libc/machine/spu/fsetpos.c: Ditto. * libc/machine/spu/ftell.c: Ditto. * libc/machine/spu/fwrite.c: Ditto. * libc/machine/spu/getc.c: Ditto. * libc/machine/spu/getchar.c: Ditto. * libc/machine/spu/gets.c: Ditto. * libc/machine/spu/perror.c: Ditto. * libc/machine/spu/printf.c: Ditto. * libc/machine/spu/putc.c: Ditto. * libc/machine/spu/putchar.c: Ditto. * libc/machine/spu/puts.c: Ditto. * libc/machine/spu/remove.c: Ditto. * libc/machine/spu/rename.c: Ditto. * libc/machine/spu/rewind.c: Ditto. * libc/machine/spu/scanf.c: Ditto. * libc/machine/spu/setbuf.c: Ditto. * libc/machine/spu/setvbuf.c: Ditto. * libc/machine/spu/snprintf.c: Ditto. * libc/machine/spu/sprintf.c: Ditto. * libc/machine/spu/sscanf.c: Ditto. * libc/machine/spu/tmpfile.c: Ditto. * libc/machine/spu/tmpnam.c: Ditto. * libc/machine/spu/ungetc.c: Ditto. * libc/machine/spu/vfprintf.c: Ditto. * libc/machine/spu/vfscanf.c: Ditto. * libc/machine/spu/vprintf.c: Ditto. * libc/machine/spu/vscanf.c: Ditto. * libc/machine/spu/vsnprintf.c: Ditto. * libc/machine/spu/vsprintf.c: Ditto. * libc/machine/spu/vsscanf.c: Ditto.
* 2007-04-04 Patrick Mansfield <patmans@us.ibm.com>Jeff Johnston2007-04-0415-38/+36
| | | | | | | | | | | | | | | | | | | * spu/syscalls.c: Rename _send_to_ppe __send_to_ppe, and set errno on return from the offload call. * spu/jsre.h: Include sys/syscall.h for the send_to_ppe prototype. * spu/access.c: Call __send_to_ppe instead of _send_to_ppe, and remove the setting of errno. * spu/close.c: Ditto. * spu/dup.c: Ditto. * spu/fstat.c: Ditto. * spu/ftruncate.c: Ditto. * spu/gettimeofday.c: Ditto. * spu/lseek.c: Ditto. * spu/open.c: Ditto. * spu/read.c: Ditto. * spu/stat.c: Ditto. * spu/unlink.c: Ditto. * spu/write.c: Ditto.
* 2007-04-04 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2007-04-042-0/+6
| | | | * libc/argz/argz_insert.c: Add stddef.h to get ptrdiff_t type.
* 2007-04-04 Eric Blake <ebb9@byu.net>Jeff Johnston2007-04-0420-406/+354
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libc/stdio/asiprintf.c (_asiprintf_r): Fix reentrancy. (asiprintf): Avoid overhead. * libc/stdio/asprintf.c (_asprintf_r): Fix reentrancy. (asprintf): Avoid overhead. * libc/stdio/diprintf.c (_diprintf_r, diprintf): New file. * libc/stdio/dprintf.c (_dprintf_r, dprintf): Use _DEFUN. * libc/stdio/fiprintf.c (_fiprintf_r): Add reentrant version. (fiprintf): Avoid overhead. * libc/stdio/fprintf.c (_fprintf_r): Add reentrant version. (fprintf): Avoid overhead. * libc/stdio/iprintf.c (_iprintf_r): Use _DEFUN. (iprintf): Avoid overhead. * libc/stdio/printf.c (_printf_r): Use _DEFUN. (printf): Avoid overhead. * libc/stdio/vasiprintf.c (vasiprintf): Reduce binary size. * libc/stdio/vasprintf.c (vasprintf): Reduce binary size. * libc/stdio/vdiprintf.c (_vdiprintf_r, vdiprintf): New file. * libc/stdio/vdprintf.c (vdprintf): Avoid overhead. * libc/stdio/vsiprintf.c (vsiprintf): Reduce binary size. * libc/stdio/vsniprintf.c (vsniprintf): Reduce binary size. * libc/stdio/vsnprintf.c (vsnprintf): Reduce binary size. * libc/stdio/vsprintf.c (vsprintf): Reduce binary size. * libc/stdio/Makefile.am (GENERAL_SOURCES): Add diprintf.c, vdiprintf.c. * libc/include/stdio.h (diprintf, _diprintf_r, vdiprintf) (_vdiprintf_r, _fiprintf_r, _vfiprintf_r): Add prototypes.
* * include/stdint.h (WINT_MIN, WINT_MAX): Fix definition.Corinna Vinschen2007-04-042-3/+7
|
* 2007-03-30 Brian Dessent <brian@dessent.net>Chris Sutcliffe2007-04-012-0/+5
| | | | * lib/kernel32.def (CreateMemoryResourceNotification@4): Define.
* * utils/cygpath.cc (get_long_path_name_w32impl): Close handles returned byChristopher Faylor2007-03-312-4/+15
| | | | FindFirstFile.
* * cygwin/external.cc (cygwin_internal): Implement CW_SET_DOS_FILE_WARNING.Christopher Faylor2007-03-305-1/+21
| | | | | | * cygwin/include/sys/cygwin.h: Define CW_SET_DOS_FILE_WARNING. * utils/mount.cc (main): Turn dos file warnings off since we know what we're doing.
* 2007-03-30 Dave Korn <dave.korn@artimi.com>Dave Korn2007-03-302-2/+41
| | | | | | | | * libc/include/stdio.h (_ELIDABLE_INLINE): New macro to conceal conflicting inline semantics between C99 and GNU89. (__sgetc_r): Replace static inline with _ELIDABLE_INLINE to be compatible with -fkeep-inline-functions usage. (__sputc_r): Likewise for consistency even though disabled.
* merge from gccDJ Delorie2007-03-292-3/+9
|
* * cygheap.cc (cygheap_init): Fix formatting. Remove comment. SetCorinna Vinschen2007-03-2911-58/+111
| | | | | | | | | | | | | | | | | | | | | | | | | | shared_prefix depending only on terminal service capability. * dcrt0.cc (dll_crt0_1): Don't call set_cygwin_privileges here. * fhandler_fifo.cc (fhandler_fifo::open): Create the mutex as global object. * posix_ipc.cc (ipc_mutex_init): Use cygheap->shared_prefix. (ipc_cond_init): Ditto. * sec_helper.cc (privilege_name): Make static. Use LookupPrivilegeName directly to be independent of the state of cygheap. (set_privilege): Take a LUID as parameter instead of an index value. Only print debug output in case of failure. (set_cygwin_privileges): Add comment. Use LookupPrivilegeValue to get privilege LUIDs. (init_global_security): Call set_cygwin_privileges here. * security.h (privilege_name): Drop declaration. (set_privilege): Declare according to above change. (set_process_privilege): Call privilege_luid to get LUID. (_push_thread_privilege): Ditto. * shared.cc (open_shared): Add comment. On systems supporting the SeCreateGlobalPrivilege, try to create/open global shared memory first. Fall back to local shared memory if that fails. * thread.cc (semaphore::semaphore): Use cygheap->shared_prefix. * wincap.h (wincapc::has_create_global_privilege): New element. * wincap.cc: Implement above element throughout.
* Reflect changes made to generic vfprintf.c:Nick Clifton2007-03-292-8/+32
| | | | | | * libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r and add a "struct reent *" argument. (__sbprintf): Rename to __sbprintf_r, add a "struct reent *" argument and call _VFPRINTF_R instead of VFPRINTF. (_VFPRINTF_R): Add data pointer to call to cantwrite(). Fix uses of __sprint() and __sbprintf.
* * spawn.cc (spawn_guts): Start pure-windows processes in a suspended state toChristopher Faylor2007-03-282-6/+9
| | | | avoid potential DuplicateHandle problems.
* Fix year.H.J. Lu2007-03-272-2/+2
|
* Add "make pdf" and "make install-pdf", from Brooks MosesDaniel Jacobowitz2007-03-272-0/+45
| | | | <brooks.moses@codesourcery.com>.
* 2007-03-26 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2007-03-262-6/+18
| | | | | * acx.m4 (ACX_BUGURL): Set BUGURL first. Quote $BUGURL first when setting REPORT_BUGS_TEXI.
* 2007-03-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2007-03-262-2/+6
| | | | * Include/_mingw.h: Increment version to 3.12.
* 2007-03-25 Chris Sutcliffe <ir0nh34d@users.sf.net>Chris Sutcliffe2007-03-263-3/+8
| | | | | * include/w32api.h: Increment version to 3.9. * Makefile.in: Ditto.