]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
17 years agomoved to the attic to please handling of src-support module
Paolo Bonzini [Mon, 21 May 2007 16:07:45 +0000 (16:07 +0000)]
moved to the attic to please handling of src-support module

17 years agoadd this momentarily, will move them to the attic soon
Paolo Bonzini [Mon, 21 May 2007 16:05:57 +0000 (16:05 +0000)]
add this momentarily, will move them to the attic soon

17 years ago * include/search.h (hsearch_r): Provide declaration.
Corinna Vinschen [Mon, 21 May 2007 13:34:12 +0000 (13:34 +0000)]
* include/search.h (hsearch_r): Provide declaration.

17 years ago * fhandler_floppy.cc (fhandler_dev_floppy::lseek): Set buf size to
Corinna Vinschen [Mon, 21 May 2007 09:11:27 +0000 (09:11 +0000)]
* fhandler_floppy.cc (fhandler_dev_floppy::lseek): Set buf size to
sector size.  Simplify non-sector aligned case.  Handle errors from
raw_read.

17 years ago2007-05-19 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Sat, 19 May 2007 23:52:44 +0000 (23:52 +0000)]
2007-05-19  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/shellapi.h (NIN_POPUPOPEN, NIN_POPUPCLOSE): Define.

17 years agoAdd ability to report when a variable's value is uninitialized,
Caroline Tice [Fri, 18 May 2007 19:42:42 +0000 (19:42 +0000)]
Add ability to report when a variable's value is uninitialized,
based on information provided by the compiler.  Also add new
DWARF OP, DW_OP_GNU_uninit, for this purpose.

17 years ago* libc/stdio/vfprintf.c [_WANT_IO_LONG_LONG]: Allow non-gcc
Eric Blake [Fri, 18 May 2007 14:33:30 +0000 (14:33 +0000)]
* libc/stdio/vfprintf.c [_WANT_IO_LONG_LONG]: Allow non-gcc
compilers.
* libc/stdio/vfscanf.c: Likewise.

17 years ago2007-05-17 Cary R. <cygcary <at> yahoo.com>
Jeff Johnston [Thu, 17 May 2007 21:52:11 +0000 (21:52 +0000)]
2007-05-17  Cary R.  <cygcary <at> yahoo.com>

        * libm/math/w_atan2.c: Fix atan2 to be consistent with glibc
        (atan2(+0,-0), atan2(-0,-0) and atan(-0,+0))
        * libm/math/wf_atan2.c: Ditto.

17 years ago2007-05-17 Yaakov Selkowitz <yselkowitz <at> users.sourceforge.net>
Jeff Johnston [Thu, 17 May 2007 18:50:57 +0000 (18:50 +0000)]
2007-05-17  Yaakov Selkowitz  <yselkowitz <at> users.sourceforge.net>

        * libm/common/Makefile.am: Add support for exp10, exp10f,
        pow10, and pow10f functions.
        * libm/common/Makefile.in: Regenerated.
        * libm/common/s_pow10.c: New file.
        * libm/common/sf_pow10.c: Ditto.
        * libm/common/s_exp10.c: Ditto.
        * libm/common/sf_exp10.c: Ditto.
        * libc/include/math.h [!pow10]: New pow10 prototype.
        [!pow10f]: New pow10f prototype.
        [!exp10]: New exp10 prototype.
        [!exp10f]: New exp10f prototype.

17 years ago* stdio/tmpfile.c: Include <sys/stat.h>.
Eric Blake [Thu, 17 May 2007 12:10:29 +0000 (12:10 +0000)]
* stdio/tmpfile.c: Include <sys/stat.h>.
* stdio64/tmpfile64.c: Ditto.

17 years agoClose security hole in tmpfile.
Eric Blake [Wed, 16 May 2007 20:06:08 +0000 (20:06 +0000)]
Close security hole in tmpfile.
* libc/stdio/tmpfile.c (_tmpfile_r): Avoid window between filename
generation and opening the fd.
* libc/stdio64/tmpfile64.c (_tmpfile64_r): Likewise.

17 years ago * libc/include/math.h (INFINITY, NAN, FP_ILOGB0, FP_ILOGBNAN)
Eric Blake [Wed, 16 May 2007 19:59:40 +0000 (19:59 +0000)]
* libc/include/math.h (INFINITY, NAN, FP_ILOGB0, FP_ILOGBNAN)
(MATH_ERRNO, MATH_ERREXCEPT, math_errhandling): Add macros
required by POSIX.
* libc/stdlib/ldtoa.c (USE_INFINITY): Rename from INFINITY, to
avoid clash with <math.h>.

17 years ago* libc/stdlib/wctomb_r.c (_wctomb_r): Avoid gcc warnings on cygwin.
Eric Blake [Wed, 16 May 2007 19:31:08 +0000 (19:31 +0000)]
* libc/stdlib/wctomb_r.c (_wctomb_r): Avoid gcc warnings on cygwin.
* libc/search/hash.c (__hash_open): Likewise.

17 years ago2007-05-16 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Wed, 16 May 2007 09:03:22 +0000 (09:03 +0000)]
2007-05-16  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.def (bootstrap_stage): Replace stage_make_flags with
stage_cflags.
* Makefile.tpl (POSTSTAGE1_HOST_EXPORTS, POSTSTAGE1_FLAGS_TO_PASS):
Remove CFLAGS/LIBCFLAGS.
(configure-stage[+id+]-[+prefix+][+module+],
all-stage[+id+]-[+prefix+][+module+]): Pass it from [+stage_cflags+].
* Makefile.in: Regenerate.

17 years ago * fhandler_socket.cc (adjust_socket_file_mode): New inline function.
Corinna Vinschen [Tue, 15 May 2007 16:33:20 +0000 (16:33 +0000)]
* fhandler_socket.cc (adjust_socket_file_mode): New inline function.
(fhandler_socket::fchmod): Squeeze mode through adjust_socket_file_mode
before using it.
(fhandler_socket::bind): Ditto.

17 years ago* path.cc (fs_info::update): Set and use is_cdrom.
Christopher Faylor [Tue, 15 May 2007 01:27:30 +0000 (01:27 +0000)]
* path.cc (fs_info::update): Set and use is_cdrom.
* path.cc (fillout_mntent): Set ret.mnt_type to something more Linux-like,
based on data from fs_info.  Move "system" and "user" strings from mnt_type to
mnt_opts.
* path.h (struct fs_info): Add is_cdrom field.
* path.h (fs_info::clear): Initialize is_cdrom.
* path.h (struct fs_info): Add IMPLEMENT_STATUS_FLAG(bool,is_cdrom).
* path.h (class path_conv): Add fs_is_cdrom method.  Add missing fs_is_netapp
method.

17 years ago* cygwin.din (asnprintf, dprint, _Exit, vasnprintf, vdprintf): Export.
Christopher Faylor [Tue, 15 May 2007 01:23:30 +0000 (01:23 +0000)]
* cygwin.din (asnprintf, dprint, _Exit, vasnprintf, vdprintf): Export.
* include/cygwin/version.h: Bump API minor number.

17 years agoReduce stack size of *printf.
Eric Blake [Mon, 14 May 2007 19:42:47 +0000 (19:42 +0000)]
Reduce stack size of *printf.
* libc/stdio/vfprintf.c (_VFPRINTF_R): Fix use of decimal point
in %f.  Avoid malloc when possible for %S.
(BUF): Improve stack locality by using smaller size.
(MAXEXPLEN, _PRINTF_FLOAT_TYPE): Define.
(exponent): Use smaller stack size.

17 years agoinclude/elf/
Alan Modra [Sat, 12 May 2007 06:45:32 +0000 (06:45 +0000)]
include/elf/
* spu.h (R_SPU_ADDR16X): Define.
(R_SPU_PPU32, R_SPU_PPU64): Renumber.
bfd/
* elf32-spu.c (elf_howto_table): Add howto for R_SPU_ADDR16X.

17 years agoMinimize printf/scanf size on platforms that don't need C99.
Eric Blake [Fri, 11 May 2007 20:09:00 +0000 (20:09 +0000)]
Minimize printf/scanf size on platforms that don't need C99.
* acconfig.h (_WANT_IO_C99_FORMATS): New macro.
* newlib.hin (_WANT_IO_C99_FORMATS): Likewise.
* configure.in (newlib-io-c99-formats): New configure option.
(_WANT_IO_C99_FORMATS): Define appropriately.
* configure.host (*-linux*, cygwin): Default c99-formats to yes.
* libc/stdio/vfprintf.c (_VFPRINTF_R) [!_WANT_IO_C99_FORMATS]:
Cripple ' flag; hh, z, j, t sizes; a, A, F, C, S specifiers.
* libc/stdio/vfscanf.c (_VFSCANF_R) [!_WANT_IO_C99_FORMATS]:
Likewise.
* configure: Regenerate.

17 years ago* libc/stdio/vfprintf.c (_VFPRINTF_R, cvt, exponent, chclass)
Eric Blake [Fri, 11 May 2007 13:09:44 +0000 (13:09 +0000)]
* libc/stdio/vfprintf.c (_VFPRINTF_R, cvt, exponent, chclass)
(get_arg): Support '%a' and '%A'.

17 years agoinclude/elf/
Alan Modra [Fri, 11 May 2007 03:10:10 +0000 (03:10 +0000)]
include/elf/
* spu.h (R_SPU_PPU32, R_SPU_PPU64): Define.
bfd/
* reloc.c (BFD_RELOC_SPU_PPU32, BFD_RELOC_SPU_PPU64): Define.
* elf-bfd.h (struct elf_backend_data): Change return type of
elf_backend_relocate_section to int.
* elf32-spu.c (elf_howto_table): Add howtos for R_SPU_PPU32 and
R_SPU_PPU64.
(spu_elf_bfd_to_reloc_type): Convert new relocs.
(spu_elf_count_relocs): New function.
(elf_backend_count_relocs): Define.
(spu_elf_relocate_section): Arrange to emit R_SPU_PPU32 and
R_SPU_PPU64 relocs.
* elflink.c (elf_link_input_bfd): Emit relocs if relocate_section
returns 2.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
gas/
* config/tc-spu.c (md_pseudo_table): Add int, long, quad.  Call
spu_cons for word.
(md_assemble): Tidy use of insn.flag.
(get_imm): Likewise.  Handle uppercase input too.
(spu_cons): New function.
* config/tc-spu.h (tc_fix_adjustable): Don't adjust SPU_PPU relocs.
(TC_FORCE_RELOCATION): Don't resolve them either.
binutils/
* embedspu.sh (find_prog): Prefer prog in same dir as embedspu
over one found on the users path.
(main): Generate .reloc for each R_SPU_PPU* reloc.

17 years agoAllow zero size with non-null buf in *asnprintf.
Eric Blake [Wed, 9 May 2007 19:27:30 +0000 (19:27 +0000)]
Allow zero size with non-null buf in *asnprintf.
* libc/stdio/asnprintf.c (_asnprintf_r, asnprintf): Avoid free'ing
user's buf.
* libc/stdio/asniprintf.c (_asniprintf_r, asniprintf): Likewise.
* libc/stdio/vasniprintf.c (_vasniprintf_r): Likewise.
* libc/stdio/vasnprintf.c (_vasnprintf_r): Likewise.

17 years ago* libc/stdio/vfprintf.c: Fix typo in comments that breaks docs.
Eric Blake [Tue, 8 May 2007 03:59:13 +0000 (03:59 +0000)]
* libc/stdio/vfprintf.c: Fix typo in comments that breaks docs.

17 years ago * include/stdint.h (intptr_t): Fix typo.
Danny Smith [Tue, 8 May 2007 03:19:28 +0000 (03:19 +0000)]
* include/stdint.h (intptr_t): Fix typo.
Thanks to Charles Wilson for report.

17 years agomerge from gcc
DJ Delorie [Tue, 8 May 2007 01:29:28 +0000 (01:29 +0000)]
merge from gcc

17 years ago * include/stdint.h (intptr_t): Protect with _INTPTR_T_DEFINED.
Danny Smith [Mon, 7 May 2007 23:42:27 +0000 (23:42 +0000)]
* include/stdint.h (intptr_t): Protect with _INTPTR_T_DEFINED.
 Condition on _WIN64.
(uintptr_t): Protect with _UINTPTR_T_DEFINED.  Condition on _WIN64.
(INTPTR_MIN, INTPTR_MAX, UINTPTR_MAX): Condition on _WIN64.
(PTRDIFF_MIN): Define as INTPTR_MIN.
(PTRDIFF_MAX): Define as INTPTR_MAX.
(SIG_ATOMIC_MIN): Define as INTPTR_MIN.
(SIG_ATOMIC_MAX): Define as INTPTR_MAX.

17 years ago2007-05-07 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston [Mon, 7 May 2007 22:22:05 +0000 (22:22 +0000)]
2007-05-07  Patrick Mansfield  <patmans@us.ibm.com>

        * spu/open.c: Unconditionally set the "mode" to fix a bug where
        mode was not properly set.

17 years ago Add support for asnprintf, and improve *printf documentation.
Eric Blake [Fri, 4 May 2007 02:55:16 +0000 (02:55 +0000)]
Add support for asnprintf, and improve *printf documentation.
* libc/stdio/Makefile.am (ELIX_SOURCES): Rename...
(ELIX_2_SOURCES): ...to this.
(ELIX_4_SOURCES): Add new variable.  Build asnprintf.
(GENERAL_SOURCES): Move dprintf to ELIX_4_SOURCES.
(CHEWOUT_FILES): Include diprintf in documentation.
* libc/stdio/Makefile.in: Regenerate.
* libc/stdio/diprintf.c: Improve documentation.
* libc/stdio/dprintf.c: Likewise.
* libc/stdio/siprintf.c: Likewise.
* libc/stdio/sprintf.c: Likewise.
* libc/stdio/vfprintf.c: Likewise.
* libc/stdio/viprintf.c: Likewise.
* libc/stdio/vsniprintf.c: Consolidate documentation.
* libc/stdio/asiprintf.c: Refer to documentation.
* libc/stdio/asprintf.c: Likewise.
* libc/stdio/fiprintf.c: Likewise.
* libc/stdio/fprintf.c: Likewise.
* libc/stdio/iprintf.c: Likewise.
* libc/stdio/printf.c: Likewise.
* libc/stdio/sniprintf.c: Likewise.
* libc/stdio/vdiprintf.c: Likewise.
* libc/stdio/vdprintf.c: Likewise.
* libc/stdio/vsiprintf.c: Likewise.
* libc/stdio/fvwrite.c (__sfvwrite_r): Handle asnprintf.
* libc/stdio/asniprintf.c (asniprintf, _asniprintf_r): New file.
* libc/stdio/asnprintf.c (asnprintf, _asnprintf_r): New file.
* libc/stdio/vasniprintf.c (vasniprintf, _vasniprintf_r): New
file.
* libc/stdio/vasnprintf.c (vasnprintf, _vasnprintf_r): New file.
* libc/stdio/vdprintf.c (_vdprintf_r): Rewrite to avoid malloc in
typical case.
* libc/stdio/vdiprintf.c (_vdiprintf_r): Likewise.
* libc/include/stdio.h: Add prototypes for new functions; sort
existing functions.

17 years ago * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
Kazu Hirata [Thu, 3 May 2007 19:45:26 +0000 (19:45 +0000)]
* libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
and memset.S.
* libc/machine/m68k/Makefile.in: Regenerate.
* libc/machine/m68k/memcpy.S: Use sub.l followed by dbra.
* libc/machine/m68k/memset.S: Likewise.

17 years ago * m68k/fido-_exit.c (_exit): Use stop #0x700.
Kazu Hirata [Thu, 3 May 2007 01:19:45 +0000 (01:19 +0000)]
* m68k/fido-_exit.c (_exit): Use stop #0x700.

17 years agoinclude/elf/
Alan Modra [Wed, 2 May 2007 13:44:36 +0000 (13:44 +0000)]
include/elf/
* internal.h (ELF_IS_SECTION_IN_SEGMENT): Check both file offset
and vma for appropriate sections.
bfd/
* elf.c (assign_file_positions_for_load_sections): Set sh_offset
here.  Set sh_type to SHT_NOBITS if we won't be allocating
file space.  Don't bump p_memsz for non-alloc sections.  Adjust
section-in-segment check.
(assign_file_positions_for_non_load_sections): Don't set sh_offset
here for sections that have already been handled above.

17 years agogas/
Alan Modra [Wed, 2 May 2007 11:24:17 +0000 (11:24 +0000)]
gas/
PR 4448
* config/tc-ppc.c (ppc_insert_operand): Don't increase min for
PPC_OPERAND_PLUS1.
include/opcode/
* ppc.h (PPC_OPERAND_PLUS1): Update comment.

17 years ago * libc/stdio64/local64.h: Delete, move contents to...
Eric Blake [Tue, 1 May 2007 23:03:36 +0000 (23:03 +0000)]
* libc/stdio64/local64.h: Delete, move contents to...
* libc/stdio/local.h: ...here.
* libc/stdio64/fdopen64.c: Update includes.
* libc/stdio64/fopen64.c: Likewise.
* libc/stdio64/freopen64.c: Likewise.
* libc/stdio64/fseeko64.c: Likewise.
* libc/stdio64/ftello64.c: Likewise.
* libc/stdio/findfp.c (std) [__LARGE64_FILES]: Open stdin, stdout,
and stderr with 64-bit offset.
* libc/stdio/fseek.c (_fseek_r): Avoid compile warning.
* libc/stdio/makebuf.c (__smakebuf_r): Likewise.
* libc/stdio/mktemp.c (_gettemp): Likewise.

17 years ago2007-05-01 Cary R. <cygcary <at> yahoo.com>
Jeff Johnston [Tue, 1 May 2007 18:42:15 +0000 (18:42 +0000)]
2007-05-01  Cary R.  <cygcary <at> yahoo.com>

        * libm/math/e_pow.c: Fix to be consistent with glibc with regards
        to treatment of NaN and +-inf arguments.
        * libm/math/ef_pow.c: Ditto.
        * libm/math/w_pow.c: Ditto.
        * libm/math/wf_pow.c: Ditto.
        * libm/math/w_acos.c: Fix domain errors to return NaN.
        * libm/math/w_asin.c: Ditto.
        * libm/math/wf_acos.c: Ditto.
        * libm/math/wf_asin.c: Ditto.
        * libm/math/w_log.c: Fix to return NaN for negative number inputs.
        * libm/math/wf_log.c: Ditto.
        * libm/math/wf_log10.c: Ditto.
        * libm/math/w_log10.c: Ditto.

17 years agobfd/
Alan Modra [Mon, 30 Apr 2007 14:06:40 +0000 (14:06 +0000)]
bfd/
* elf32-spu.c (struct spu_link_hash_table): Add stack_analysis
and emit_stack_syms bitfields.
(get_sym_h): Read all symbols if stack analysis will be done.
(spu_elf_create_sections): Add stack_analysis and emit_stack_syms
params, and stash in hash table.
(is_hint): Split off from..
(is_branch): ..here.  Adjust callers.
(spu_elf_size_stubs): Add stack_analysis param.  Arrange to read
and keep all syms.
(write_one_stub): Fix mem leak.
(find_function_stack_adjust): New function.
(sort_syms_syms, sort_syms_psecs): New vars.
(sort_syms): New function.
(struct call_info, struct function_info): New.
(struct spu_elf_stack_info): New.
(alloc_stack_info, maybe_insert_function, func_name): New functions.
(is_nop, insns_at_end, check_function_ranges): Likewise.
(find_function, insert_callee, mark_functions_via_relocs): Likewise.
(pasted_function, interesting_section, discover_functions): Likewise.
(mark_non_root, call_graph_traverse, build_call_tree): Likewise.
(sum_stack, spu_elf_stack_analysis, spu_elf_final_link): Likewise.
(bfd_elf32_bfd_final_link): Define.
* elf32-spu.h (struct _spu_elf_section_data): Add stack_info field.
(spu_elf_create_sections, spu_elf_size_stubs): Update prototypes.
include/
* bfdlink.h (struct bfd_link_info): Add "info" and "minfo".
ld/
* ldmain.c (link_callbacks): Init info and minfo fields.
* ldmisc.c (minfo): Do nothing if no map file.
* emultempl/spuelf.em (stack_analysis, emit_stack_syms): New vars.
(spu_after_open): Adjust spu_elf_create_sections call.
(spu_before_allocation): Likewise for spu_elf_size_stubs.
(OPTION_SPU_STACK_ANALYSIS, OPTION_SPU_STACK_SYMS): Define.
(PARSE_AND_LIST_LONGOPTS): Add new entries.
(PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise.
* gen-doc.texi: Add @set for SPU and other missing targets.
* ld.texinfo: Update man page selection to match gen-doc.texi.
Document SPU features.

17 years ago2007-04-27 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 27 Apr 2007 22:10:47 +0000 (22:10 +0000)]
2007-04-27  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/machine/m68k/Makefile.am: Temporarily remove
        memcpy.S and memset.S until logic can be confirmed for
        !(__mcoldfile__) case.
        * libc/machine/m68k/Makefile.in: Regenerated.

17 years ago2007-04-27 Kazu Hirata <kazu@codesourcery.com>
Jeff Johnston [Fri, 27 Apr 2007 16:05:35 +0000 (16:05 +0000)]
2007-04-27  Kazu Hirata  <kazu@codesourcery.com>

* libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
and memset.S.
* libc/machine/m68k/Makefile.in: Regenerate.
* libc/machine/m68k/memcpy.S, libc/machine/m68k/memset.S: New.

17 years ago2007-04-27 Kazu Hirata <kazu@codesourcery.com>
Jeff Johnston [Fri, 27 Apr 2007 16:00:45 +0000 (16:00 +0000)]
2007-04-27  Kazu Hirata  <kazu@codesourcery.com>

        * libgloss/m68k/fido.sc: Catch .text.*, .rodata.*, .data.*,
        .bss.*, .ctor.*, and .dtor.*.  Wrap ctor/dtor-related sections
        with KEEP.

17 years ago* include/cygwin/time.h: Use __cdecl on declaration. Remove
Christopher Faylor [Fri, 27 Apr 2007 13:34:25 +0000 (13:34 +0000)]
* include/cygwin/time.h: Use __cdecl on declaration.  Remove
declarations which are duplicated in include/time.h.

17 years agoWrite Mimi's name in ASCII.
Alan Modra [Fri, 27 Apr 2007 03:37:43 +0000 (03:37 +0000)]
Write Mimi's name in ASCII.

17 years ago2007-04-26 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston [Thu, 26 Apr 2007 19:23:37 +0000 (19:23 +0000)]
2007-04-26  Patrick Mansfield <patmans@us.ibm.com>

        * libc/include/ieeefp.h: use prefixed __ieeefp_ macros that can be
        overridden via machine/ieeefp.h.
        * libc/include/machine/ieeefp.h: Add SPU specific C99 and ieeefp
        macros for isnan and related macros.
        * libc/include/math.h: Allow C99 isfinite, isinf, and isnan to be
        overridden via machine/ieeefp.h.
        * libm/machine/spu/Makefile.am: Add new files.
        * libm/machine/spu/Makefile.in: Autogenerate with new files.
        * libm/machine/spu/sf_fpclassify.c: Add SPU specific __fpclassifyf.
        * libm/machine/spu/sf_finite.c: Add SPU specific finitef.
        * libm/machine/spu/sf_isinf.c: Add SPU specific isinff.
        * libm/machine/spu/sf_isinff.c: Add SPU specific __isinff.
        * libm/machine/spu/sf_isnan.c: Add SPU specific isnanf.
        * libm/machine/spu/sf_isnanf.c: Add SPU specific __isnanf.
        * libm/machine/spu/sf_nan.c: Add SPU specific nanf.

17 years agoRevert the value change of DT_ENCODING from 2003-01-17. Luckily (and
Jan Beulich [Thu, 26 Apr 2007 06:59:55 +0000 (06:59 +0000)]
Revert the value change of DT_ENCODING from 2003-01-17. Luckily (and
surprisingly) the value isn't really being used anywhere, henc no other
changes are needed.

include/elf/
2007-04-26  Jan Beulich  <jbeulich@novell.com>

* common.h (DT_ENCODING): Correct value (back to spec mandated
value).

17 years agomerge from gcc
DJ Delorie [Thu, 26 Apr 2007 03:13:46 +0000 (03:13 +0000)]
merge from gcc

17 years ago2007-04-25 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 25 Apr 2007 22:28:19 +0000 (22:28 +0000)]
2007-04-25  Jeff Johnston  <jjohnstn@redhat.com>

        * libm/common/s_fpclassify.c (__fpclassifyf): Move this to...
        * libm/common/sf_fpclassify.c: ...here.  New file.
        * libm/common/Makefile.am: Add sf_fpclassify.c.
        * libm/common/Makefile.in: Regenerated.

17 years ago2007-04-25 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston [Wed, 25 Apr 2007 20:45:39 +0000 (20:45 +0000)]
2007-04-25  Patrick Mansfield <patmans@us.ibm.com>

* 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).

17 years ago2007-04-25 Eric Blake <ebb9@byu.net>
Jeff Johnston [Wed, 25 Apr 2007 19:47:36 +0000 (19:47 +0000)]
2007-04-25  Eric Blake  <ebb9@byu.net>

        * libc/stdio/vfprintf.c (get_arg): Support %1$lc.  Simplify types
        that promote to int.

17 years ago2007-04-25 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston [Wed, 25 Apr 2007 17:36:32 +0000 (17:36 +0000)]
2007-04-25  Patrick Mansfield <patmans@us.ibm.com>

        * feholdexcept.h: Use *envp not env so we clear the proper bits in
        the fpscr, and don't set some random ones.

17 years ago * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't zero pad on infinity
Eric Blake [Tue, 24 Apr 2007 20:09:50 +0000 (20:09 +0000)]
* libc/stdio/vfprintf.c (_VFPRINTF_R): Don't zero pad on infinity
or NaN with %05f.

17 years ago * libc/stdio/vfprintf.c (_VFPRINTF_R): Avoid multibyte when not
Eric Blake [Tue, 24 Apr 2007 19:55:28 +0000 (19:55 +0000)]
* libc/stdio/vfprintf.c (_VFPRINTF_R): Avoid multibyte when not
_MB_CAPABLE.

17 years ago * libc/include/limits.h (NL_ARGMAX): Define a default value.
Eric Blake [Tue, 24 Apr 2007 16:01:15 +0000 (16:01 +0000)]
* libc/include/limits.h (NL_ARGMAX): Define a default value.
* libc/stdio/vfprintf.c (MAX_POS_ARGS): Define in terms of
NL_ARGMAX, if present.

17 years ago2007-04-23 Ralf Wildenhues <Ralf.Wildenhues <at> gmx.de>
Jeff Johnston [Mon, 23 Apr 2007 22:52:37 +0000 (22:52 +0000)]
2007-04-23  Ralf Wildenhues  <Ralf.Wildenhues <at> gmx.de>

        * 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.

17 years ago2007-04-23 Brian Dessent <brian@dessent.net>
Jeff Johnston [Mon, 23 Apr 2007 21:55:31 +0000 (21:55 +0000)]
2007-04-23  Brian Dessent  <brian@dessent.net>

        * 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.

17 years ago2007-04-23 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 23 Apr 2007 19:46:08 +0000 (19:46 +0000)]
2007-04-23  Jeff Johnston  <jjohnstn@redhat.com>

        * 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.

17 years ago gas/testsuite/
Nathan Sidwell [Mon, 23 Apr 2007 07:51:30 +0000 (07:51 +0000)]
gas/testsuite/
* 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.

17 years ago2007-04-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Sun, 22 Apr 2007 11:25:07 +0000 (11:25 +0000)]
2007-04-22  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/shellapi.h (NOTIFYICONDATAA, NOTIFYICONDATAW): Updated to support
        Vista.

17 years ago2007-04-20 Matthias Miller <matthiasmiller@users.sourceforge.net>
Chris Sutcliffe [Fri, 20 Apr 2007 22:54:24 +0000 (22:54 +0000)]
2007-04-20  Matthias Miller  <matthiasmiller@users.sourceforge.net>
  * include/wincrypt.h (CRYPTPROTECT_PROMPTSTRUCT, CRYPTPROTECT_UI_FORBIDDEN,
  CRYPTPROTECT_LOCAL_MACHINE): Define.

17 years agoinclude/opcode/
Alan Modra [Fri, 20 Apr 2007 12:25:12 +0000 (12:25 +0000)]
include/opcode/
* 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.

17 years agoCorrect erroneous ChangeLog commit.
Mark Shinwell [Fri, 20 Apr 2007 12:15:41 +0000 (12:15 +0000)]
Correct erroneous ChangeLog commit.

17 years ago * Makefile.in: Adjust dependencies of m68klinux-tdep.c.
Mark Shinwell [Fri, 20 Apr 2007 12:13:51 +0000 (12:13 +0000)]
* Makefile.in: Adjust dependencies of m68klinux-tdep.c.
* 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.

17 years ago * cygwin.sc: Remove duplicated .debug_macinfo section.
Brian Dessent [Wed, 18 Apr 2007 13:11:35 +0000 (13:11 +0000)]
* cygwin.sc: Remove duplicated .debug_macinfo section.
* dllfixdbg: Also copy DWARF-2 sections into .dbg file.

17 years ago2007-04-17 Brian Dessent <brian@dessent.net>
Jeff Johnston [Tue, 17 Apr 2007 20:53:24 +0000 (20:53 +0000)]
2007-04-17  Brian Dessent  <brian@dessent.net>

        * libc/stdio/sscanf.c: Update documentation comments.
        * libc/stdio/vfscanf.c (__SVFSCANF_R): Handle j, t, and z modifiers.

17 years ago2007-04-15 Piotr Wyderski <piotr.wyderski@wp.pl>
Chris Sutcliffe [Sun, 15 Apr 2007 17:26:46 +0000 (17:26 +0000)]
2007-04-15  Piotr Wyderski  <piotr.wyderski@wp.pl>

        * include/winbase.h (SetInformationJobObject, QueryInformationJobObject):
        Define.

17 years ago * config-ml.in: Update from GCC.
Steve Ellcey [Sat, 14 Apr 2007 20:35:07 +0000 (20:35 +0000)]
    * config-ml.in: Update from GCC.

17 years ago * libc/stdio/vfprintf.c (_VFPRINTF_F, cvt): Don't confuse %F with %e.
Eric Blake [Fri, 13 Apr 2007 01:57:33 +0000 (01:57 +0000)]
* libc/stdio/vfprintf.c (_VFPRINTF_F, cvt): Don't confuse %F with %e.
(chclass): Recognize 'F', 'X', 'n', and not 'W'.
(get_arg): Handle %1$F, %1$n.

17 years agoconfig:
Paolo Bonzini [Thu, 12 Apr 2007 13:06:01 +0000 (13:06 +0000)]
config:
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.

17 years agobfd/
Richard Henderson [Tue, 10 Apr 2007 18:00:25 +0000 (18:00 +0000)]
bfd/
        * 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.

17 years ago * libc/include/stdio.h (_ELIDABLE_INLINE): Work even when using
Eric Blake [Tue, 10 Apr 2007 12:49:18 +0000 (12:49 +0000)]
* libc/include/stdio.h (_ELIDABLE_INLINE): Work even when using
CFLAGS=-O0.

17 years ago * libc/include/stdio.h: Add gcc format attributes to printf and
Eric Blake [Tue, 10 Apr 2007 12:47:13 +0000 (12:47 +0000)]
* libc/include/stdio.h: Add gcc format attributes to printf and
scanf families.

17 years ago2007-04-09 Joel Schopp <jschopp@austin.ibm.com>
Jeff Johnston [Mon, 9 Apr 2007 16:03:26 +0000 (16:03 +0000)]
2007-04-09  Joel Schopp <jschopp@austin.ibm.com>

        * 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.

17 years ago * src-release (do-proto-toplev): Process the support directories before
Daniel Jacobowitz [Mon, 9 Apr 2007 15:36:41 +0000 (15:36 +0000)]
* src-release (do-proto-toplev): Process the support directories before
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.

17 years ago2007-04-07 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Sat, 7 Apr 2007 10:16:52 +0000 (10:16 +0000)]
2007-04-07  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * Makefile.in: Removed mansuffix variable.  Changed mansection to support
        Cygwin man page location.

17 years ago * include/stdint.h (WINT_MIN): Fix sign.
Corinna Vinschen [Fri, 6 Apr 2007 08:25:28 +0000 (08:25 +0000)]
* include/stdint.h (WINT_MIN): Fix sign.

17 years ago2007-04-05 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Thu, 5 Apr 2007 20:44:29 +0000 (20:44 +0000)]
2007-04-05  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * Makefile.in: Added mansection and mansuffix variables.  Changed mandir
  to support Cygwin man page location.

17 years ago * testsuite/lib/flags.exp (newlib_include_flags): Drop
Kazu Hirata [Thu, 5 Apr 2007 16:53:17 +0000 (16:53 +0000)]
* testsuite/lib/flags.exp (newlib_include_flags): Drop
-I${newlib_dir}.

17 years ago * libc/stdlib/__call_atexit.c (__call_exitprocs): Handle atexit
Kazu Hirata [Thu, 5 Apr 2007 16:47:38 +0000 (16:47 +0000)]
* libc/stdlib/__call_atexit.c (__call_exitprocs): Handle atexit
functions registering additional atexit functions.

17 years ago2007-04-04 Eric Christopher <echristo@apple.com>
Eric Christopher [Thu, 5 Apr 2007 05:55:51 +0000 (05:55 +0000)]
2007-04-04  Eric Christopher  <echristo@apple.com>

        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.

17 years ago2007-04-04 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston [Wed, 4 Apr 2007 21:03:13 +0000 (21:03 +0000)]
2007-04-04  Patrick Mansfield <patmans@us.ibm.com>

* 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.

17 years ago2007-04-04 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston [Wed, 4 Apr 2007 20:59:38 +0000 (20:59 +0000)]
2007-04-04  Patrick Mansfield <patmans@us.ibm.com>

        * 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.

17 years ago2007-04-04 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 4 Apr 2007 20:49:07 +0000 (20:49 +0000)]
2007-04-04  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/argz/argz_insert.c: Add stddef.h to get ptrdiff_t type.

17 years ago2007-04-04 Eric Blake <ebb9@byu.net>
Jeff Johnston [Wed, 4 Apr 2007 18:32:49 +0000 (18:32 +0000)]
2007-04-04  Eric Blake  <ebb9@byu.net>

* 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.

17 years ago * include/stdint.h (WINT_MIN, WINT_MAX): Fix definition.
Corinna Vinschen [Wed, 4 Apr 2007 07:37:53 +0000 (07:37 +0000)]
* include/stdint.h (WINT_MIN, WINT_MAX): Fix definition.

17 years ago2007-03-30 Brian Dessent <brian@dessent.net>
Chris Sutcliffe [Sun, 1 Apr 2007 12:44:04 +0000 (12:44 +0000)]
2007-03-30  Brian Dessent  <brian@dessent.net>

        * lib/kernel32.def (CreateMemoryResourceNotification@4): Define.

17 years ago* utils/cygpath.cc (get_long_path_name_w32impl): Close handles returned by
Christopher Faylor [Sat, 31 Mar 2007 00:03:25 +0000 (00:03 +0000)]
* utils/cygpath.cc (get_long_path_name_w32impl): Close handles returned by
FindFirstFile.

17 years ago* cygwin/external.cc (cygwin_internal): Implement CW_SET_DOS_FILE_WARNING.
Christopher Faylor [Fri, 30 Mar 2007 13:36:06 +0000 (13:36 +0000)]
* cygwin/external.cc (cygwin_internal): Implement CW_SET_DOS_FILE_WARNING.
* 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.

17 years ago2007-03-30 Dave Korn <dave.korn@artimi.com>
Dave Korn [Fri, 30 Mar 2007 00:49:56 +0000 (00:49 +0000)]
2007-03-30  Dave Korn  <dave.korn@artimi.com>

* 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.

17 years agomerge from gcc
DJ Delorie [Thu, 29 Mar 2007 21:03:43 +0000 (21:03 +0000)]
merge from gcc

17 years ago * cygheap.cc (cygheap_init): Fix formatting. Remove comment. Set
Corinna Vinschen [Thu, 29 Mar 2007 16:37:36 +0000 (16:37 +0000)]
* cygheap.cc (cygheap_init): Fix formatting.  Remove comment.  Set
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.

17 years ago Reflect changes made to generic vfprintf.c:
Nick Clifton [Thu, 29 Mar 2007 06:25:44 +0000 (06:25 +0000)]
  Reflect changes made to generic vfprintf.c:
* 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.

17 years ago* spawn.cc (spawn_guts): Start pure-windows processes in a suspended state to
Christopher Faylor [Wed, 28 Mar 2007 14:34:24 +0000 (14:34 +0000)]
* spawn.cc (spawn_guts): Start pure-windows processes in a suspended state to
avoid potential DuplicateHandle problems.

17 years agoFix year.
H.J. Lu [Tue, 27 Mar 2007 22:45:19 +0000 (22:45 +0000)]
Fix year.

17 years agoAdd "make pdf" and "make install-pdf", from Brooks Moses
Daniel Jacobowitz [Tue, 27 Mar 2007 18:09:32 +0000 (18:09 +0000)]
Add "make pdf" and "make install-pdf", from Brooks Moses
<brooks.moses@codesourcery.com>.

17 years ago2007-03-26 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 26 Mar 2007 15:38:25 +0000 (15:38 +0000)]
2007-03-26  H.J. Lu  <hongjiu.lu@intel.com>

* acx.m4 (ACX_BUGURL): Set BUGURL first. Quote $BUGURL first
when setting REPORT_BUGS_TEXI.

17 years ago2007-03-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Mon, 26 Mar 2007 02:11:07 +0000 (02:11 +0000)]
2007-03-25  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * Include/_mingw.h: Increment version to 3.12.

17 years ago2007-03-25 Chris Sutcliffe <ir0nh34d@users.sf.net>
Chris Sutcliffe [Mon, 26 Mar 2007 01:35:24 +0000 (01:35 +0000)]
2007-03-25  Chris Sutcliffe  <ir0nh34d@users.sf.net>

        * include/w32api.h: Increment version to 3.9.
        * Makefile.in: Ditto.

17 years ago2007-03-23 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 23 Mar 2007 17:11:54 +0000 (17:11 +0000)]
2007-03-23  H.J. Lu  <hongjiu.lu@intel.com>

* acx.m4 (ACX_BUGURL): Replace "@" with "@@" for
REPORT_BUGS_TEXI.

17 years ago * include/psapi.h (GetMappedFileName): Fix messed up checkin.
Corinna Vinschen [Fri, 23 Mar 2007 12:42:50 +0000 (12:42 +0000)]
* include/psapi.h (GetMappedFileName): Fix messed up checkin.

17 years ago * include/psapi.h (GetMappedFileName): Rename from GetMappedFilenameEx.
Corinna Vinschen [Fri, 23 Mar 2007 09:17:26 +0000 (09:17 +0000)]
* include/psapi.h (GetMappedFileName): Rename from GetMappedFilenameEx.

17 years agobfd:
Joseph Myers [Fri, 23 Mar 2007 02:51:30 +0000 (02:51 +0000)]
bfd:
* configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
* configure: Regenerate.

config:
* acx.m4 (ACX_PKGVERSION, ACX_BUGURL): Define.

17 years agoMove gdb ChangeLog entry to gdb/ChangeLog.
H.J. Lu [Thu, 22 Mar 2007 16:02:55 +0000 (16:02 +0000)]
Move gdb ChangeLog entry to gdb/ChangeLog.

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