]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
17 years agoregenerate configure
Paolo Bonzini [Mon, 1 Oct 2007 09:04:55 +0000 (09:04 +0000)]
regenerate configure

17 years ago2007-10-01 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Mon, 1 Oct 2007 07:55:48 +0000 (07:55 +0000)]
2007-10-01  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl (AR_FOR_BUILD, AS_FOR_BUILD, CXX_FOR_BUILD,
DLLTOOL_FOR_BUILD, GCJ_FOR_BUILD, GFORTRAN_FOR_BUILD,
LDFLAGS_FOR_BUILD, LD_FOR_BUILD, NM_FOR_BUILD, RANLIB_FOR_BUILD,
WINDMC_FOR_BUILD, WINDRES_FOR_BUILD): Use autoconf substitutions.
* configure.ac: Default them to host tools for $host = $build.
Subst them.

* configure: Regenerate.
* Makefile.in: Regenerate.

17 years ago2007-09-28 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston [Fri, 28 Sep 2007 18:58:10 +0000 (18:58 +0000)]
2007-09-28  Patrick Mansfield  <patmans@us.ibm.com>

* libm/machine/spu/headers/dom_chkd_less_than.h: New file.
* libm/machine/spu/headers/dom_chkd_negone_one.h: Ditto.
* libm/machine/spu/headers/dom_chkf_less_than.h: Ditto.
* libm/machine/spu/headers/dom_chkf_negone_one.h: Ditto.
* libm/machine/spu/headers/acos.h: Add domain check.
* libm/machine/spu/headers/acosf.h: Ditto.
* libm/machine/spu/headers/acosh.h: Ditto.
* libm/machine/spu/headers/acoshf.h: Ditto.
* libm/machine/spu/headers/asin.h: Ditto.
* libm/machine/spu/headers/asinf.h: Ditto.
* libm/machine/spu/headers/atanh.h: Ditto.
* libm/machine/spu/headers/atanhf.h: Ditto.
* libm/machine/spu/headers/fmod.h: Ditto.
* libm/machine/spu/headers/fmodf.h: Ditto.
* libm/machine/spu/headers/log.h: Ditto.
* libm/machine/spu/headers/log10.h: Ditto.
* libm/machine/spu/headers/log1p.h: Ditto.
* libm/machine/spu/headers/log1pf.h: Ditto.
* libm/machine/spu/headers/log2.h: Ditto.
* libm/machine/spu/headers/log2f.h: Ditto.
* libm/machine/spu/headers/sqrt.h: Ditto.
* libm/machine/spu/headers/sqrtf.h: Ditto.
* libm/machine/spu/headers/tgamma.h: Ditto.
* libm/machine/spu/headers/tgammaf.h: Ditto.

17 years ago2007-09-28 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston [Fri, 28 Sep 2007 18:44:24 +0000 (18:44 +0000)]
2007-09-28  Patrick Mansfield  <patmans@us.ibm.com>

* libm/machine/spu/Makefile.am: Add new C files.
* libm/machine/spu/Makefile.in: Regenerate.
* libm/machine/spu/headers/acos.h: New file.
* libm/machine/spu/headers/acosd2.h: Ditto.
* libm/machine/spu/headers/acosf.h: Ditto.
* libm/machine/spu/headers/acosf4.h: Ditto.
* libm/machine/spu/headers/acosh.h: Ditto.
* libm/machine/spu/headers/acoshd2.h: Ditto.
* libm/machine/spu/headers/acoshf.h: Ditto.
* libm/machine/spu/headers/acoshf4.h: Ditto.
* libm/machine/spu/headers/asin.h: Ditto.
* libm/machine/spu/headers/asind2.h: Ditto.
* libm/machine/spu/headers/asinf.h: Ditto.
* libm/machine/spu/headers/asinf4.h: Ditto.
* libm/machine/spu/headers/asinh.h: Ditto.
* libm/machine/spu/headers/asinhd2.h: Ditto.
* libm/machine/spu/headers/asinhf.h: Ditto.
* libm/machine/spu/headers/asinhf4.h: Ditto.
* libm/machine/spu/headers/atan.h: Ditto.
* libm/machine/spu/headers/atan2.h: Ditto.
* libm/machine/spu/headers/atan2d2.h: Ditto.
* libm/machine/spu/headers/atan2f.h: Ditto.
* libm/machine/spu/headers/atan2f4.h: Ditto.
* libm/machine/spu/headers/atand2.h: Ditto.
* libm/machine/spu/headers/atanf4.h: Ditto.
* libm/machine/spu/headers/atanh.h: Ditto.
* libm/machine/spu/headers/atanhd2.h: Ditto.
* libm/machine/spu/headers/atanhf.h: Ditto.
* libm/machine/spu/headers/atanhf4.h: Ditto.
* libm/machine/spu/headers/cos.h: Ditto.
* libm/machine/spu/headers/cos_sin.h: Ditto.
* libm/machine/spu/headers/cosd2.h: Ditto.
* libm/machine/spu/headers/cosf.h: Ditto.
* libm/machine/spu/headers/cosf4.h: Ditto.
* libm/machine/spu/headers/cosh.h: Ditto.
* libm/machine/spu/headers/coshd2.h: Ditto.
* libm/machine/spu/headers/coshf.h: Ditto.
* libm/machine/spu/headers/coshf4.h: Ditto.
* libm/machine/spu/headers/divd2.h: Ditto.
* libm/machine/spu/headers/divf4.h: Ditto.
* libm/machine/spu/headers/erf.h: Ditto.
* libm/machine/spu/headers/erf_utils.h: Ditto.
* libm/machine/spu/headers/erfc.h: Ditto.
* libm/machine/spu/headers/erfcd2.h: Ditto.
* libm/machine/spu/headers/erfcf.h: Ditto.
* libm/machine/spu/headers/erfcf4.h: Ditto.
* libm/machine/spu/headers/erfd2.h: Ditto.
* libm/machine/spu/headers/erff.h: Ditto.
* libm/machine/spu/headers/erff4.h: Ditto.
* libm/machine/spu/headers/exp.h: Ditto.
* libm/machine/spu/headers/exp2.h: Ditto.
* libm/machine/spu/headers/exp2d2.h: Ditto.
* libm/machine/spu/headers/exp2f4.h: Ditto.
* libm/machine/spu/headers/expd2.h: Ditto.
* libm/machine/spu/headers/expf4.h: Ditto.
* libm/machine/spu/headers/expm1.h: Ditto.
* libm/machine/spu/headers/expm1d2.h: Ditto.
* libm/machine/spu/headers/expm1f.h: Ditto.
* libm/machine/spu/headers/expm1f4.h: Ditto.
* libm/machine/spu/headers/floord2.h: Ditto.
* libm/machine/spu/headers/floorf4.h: Ditto.
* libm/machine/spu/headers/hypot.h: Ditto.
* libm/machine/spu/headers/hypotd2.h: Ditto.
* libm/machine/spu/headers/hypotf.h: Ditto.
* libm/machine/spu/headers/hypotf4.h: Ditto.
* libm/machine/spu/headers/isnan.h: Ditto.
* libm/machine/spu/headers/isnand2.h: Ditto.
* libm/machine/spu/headers/isnanf.h: Ditto.
* libm/machine/spu/headers/isnanf4.h: Ditto.
* libm/machine/spu/headers/ldexpd2.h: Ditto.
* libm/machine/spu/headers/ldexpf4.h: Ditto.
* libm/machine/spu/headers/lgamma.h: Ditto.
* libm/machine/spu/headers/lgammad2.h: Ditto.
* libm/machine/spu/headers/lgammaf.h: Ditto.
* libm/machine/spu/headers/lgammaf4.h: Ditto.
* libm/machine/spu/headers/log.h: Ditto.
* libm/machine/spu/headers/log10.h: Ditto.
* libm/machine/spu/headers/log10d2.h: Ditto.
* libm/machine/spu/headers/log1p.h: Ditto.
* libm/machine/spu/headers/log1pd2.h: Ditto.
* libm/machine/spu/headers/log1pf.h: Ditto.
* libm/machine/spu/headers/log1pf4.h: Ditto.
* libm/machine/spu/headers/log2.h: Ditto.
* libm/machine/spu/headers/log2d2.h: Ditto.
* libm/machine/spu/headers/log2f4.h: Ditto.
* libm/machine/spu/headers/logbf.h: Ditto.
* libm/machine/spu/headers/logbf4.h: Ditto.
* libm/machine/spu/headers/logd2.h: Ditto.
* libm/machine/spu/headers/logf4.h: Ditto.
* libm/machine/spu/headers/nearbyintf.h: Ditto.
* libm/machine/spu/headers/nearbyintf4.h: Ditto.
* libm/machine/spu/headers/nextafter.h: Ditto.
* libm/machine/spu/headers/nextafterd2.h: Ditto.
* libm/machine/spu/headers/nextafterf.h: Ditto.
* libm/machine/spu/headers/nextafterf4.h: Ditto.
* libm/machine/spu/headers/pow.h: Ditto.
* libm/machine/spu/headers/powd2.h: Ditto.
* libm/machine/spu/headers/powf.h: Ditto.
* libm/machine/spu/headers/powf4.h: Ditto.
* libm/machine/spu/headers/recipd2.h: Ditto.
* libm/machine/spu/headers/recipf4.h: Ditto.
* libm/machine/spu/headers/rintf.h: Ditto.
* libm/machine/spu/headers/rintf4.h: Ditto.
* libm/machine/spu/headers/scalbnf4.h: Ditto.
* libm/machine/spu/headers/signbit.h: Ditto.
* libm/machine/spu/headers/signbitd2.h: Ditto.
* libm/machine/spu/headers/simdmath.h: Ditto.
* libm/machine/spu/headers/sin.h: Ditto.
* libm/machine/spu/headers/sincos.h: Ditto.
* libm/machine/spu/headers/sincosd2.h: Ditto.
* libm/machine/spu/headers/sincosf.h: Ditto.
* libm/machine/spu/headers/sincosf4.h: Ditto.
* libm/machine/spu/headers/sind2.h: Ditto.
* libm/machine/spu/headers/sinf.h: Ditto.
* libm/machine/spu/headers/sinf4.h: Ditto.
* libm/machine/spu/headers/sinh.h: Ditto.
* libm/machine/spu/headers/sinhd2.h: Ditto.
* libm/machine/spu/headers/sinhf.h: Ditto.
* libm/machine/spu/headers/sinhf4.h: Ditto.
* libm/machine/spu/headers/sqrtd2.h: Ditto.
* libm/machine/spu/headers/sqrtf.h: Ditto.
* libm/machine/spu/headers/sqrtf4.h: Ditto.
* libm/machine/spu/headers/tan.h: Ditto.
* libm/machine/spu/headers/tand2.h: Ditto.
* libm/machine/spu/headers/tanf.h: Ditto.
* libm/machine/spu/headers/tanf4.h: Ditto.
* libm/machine/spu/headers/tanh.h: Ditto.
* libm/machine/spu/headers/tanhd2.h: Ditto.
* libm/machine/spu/headers/tanhf.h: Ditto.
* libm/machine/spu/headers/tanhf4.h: Ditto.
* libm/machine/spu/headers/tgamma.h: Ditto.
* libm/machine/spu/headers/tgammad2.h: Ditto.
* libm/machine/spu/headers/tgammaf.h: Ditto.
* libm/machine/spu/headers/tgammaf4.h: Ditto.
* libm/machine/spu/headers/truncd2.h: Ditto.
* libm/machine/spu/headers/truncf4.h: Ditto.
* libm/machine/spu/log2.c: Ditto.
* libm/machine/spu/s_asinh.c: Ditto.
* libm/machine/spu/s_atan.c: Ditto.
* libm/machine/spu/s_cos.c: Ditto.
* libm/machine/spu/s_erf.c: Ditto.
* libm/machine/spu/s_expm1.c: Ditto.
* libm/machine/spu/s_isnan.c: Ditto.
* libm/machine/spu/s_log1p.c: Ditto.
* libm/machine/spu/s_nextafter.c: Ditto.
* libm/machine/spu/s_sin.c: Ditto.
* libm/machine/spu/s_tan.c: Ditto.
* libm/machine/spu/s_tanh.c: Ditto.
* libm/machine/spu/sf_asinh.c: Ditto.
* libm/machine/spu/sf_cos.c: Ditto.
* libm/machine/spu/sf_erf.c: Ditto.
* libm/machine/spu/sf_expm1.c: Ditto.
* libm/machine/spu/sf_log1p.c: Ditto.
* libm/machine/spu/sf_logb.c: Ditto.
* libm/machine/spu/sf_nearbyint.c: Ditto.
* libm/machine/spu/sf_nextafter.c: Ditto.
* libm/machine/spu/sf_rint.c: Ditto.
* libm/machine/spu/sf_sin.c: Ditto.
* libm/machine/spu/sf_tan.c: Ditto.
* libm/machine/spu/sf_tanh.c: Ditto.
* libm/machine/spu/w_acos.c: Ditto.
* libm/machine/spu/w_acosh.c: Ditto.
* libm/machine/spu/w_asin.c: Ditto.
* libm/machine/spu/w_atan2.c: Ditto.
* libm/machine/spu/w_atanh.c: Ditto.
* libm/machine/spu/w_cosh.c: Ditto.
* libm/machine/spu/w_exp.c: Ditto.
* libm/machine/spu/w_exp2.c: Ditto.
* libm/machine/spu/w_hypot.c: Ditto.
* libm/machine/spu/w_lgamma.c: Ditto.
* libm/machine/spu/w_log.c: Ditto.
* libm/machine/spu/w_log10.c: Ditto.
* libm/machine/spu/w_pow.c: Ditto.
* libm/machine/spu/w_sincos.c: Ditto.
* libm/machine/spu/w_sinh.c: Ditto.
* libm/machine/spu/w_tgamma.c: Ditto.
* libm/machine/spu/wf_acos.c: Ditto.
* libm/machine/spu/wf_acosh.c: Ditto.
* libm/machine/spu/wf_asin.c: Ditto.
* libm/machine/spu/wf_atan2.c: Ditto.
* libm/machine/spu/wf_atanh.c: Ditto.
* libm/machine/spu/wf_cosh.c: Ditto.
* libm/machine/spu/wf_hypot.c: Ditto.
* libm/machine/spu/wf_lgamma.c: Ditto.
* libm/machine/spu/wf_pow.c: Ditto.
* libm/machine/spu/wf_sincos.c: Ditto.
* libm/machine/spu/wf_sinh.c: Ditto.
* libm/machine/spu/wf_sqrt.c: Ditto.
* libm/machine/spu/wf_tgamma.c: Ditto.

17 years ago2007-09-28 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston [Fri, 28 Sep 2007 18:32:57 +0000 (18:32 +0000)]
2007-09-28  Patrick Mansfield  <patmans@us.ibm.com>

* configure.host: Define _POSIX_MODE to match the existing vector
math code, as we don't support the matherr callout.
* libm/machine/spu/Makefile.am: New file.
* libm/machine/spu/Makefile.in: Auto-generated.
* libm/machine/spu/headers/atanf.h: New file.
* libm/machine/spu/headers/cbrt.h: Ditto.
* libm/machine/spu/headers/cbrtf.h: Ditto.
* libm/machine/spu/headers/ceil.h: Ditto.
* libm/machine/spu/headers/ceilf.h: Ditto.
* libm/machine/spu/headers/copysign.h: Ditto.
* libm/machine/spu/headers/copysignf.h: Ditto.
* libm/machine/spu/headers/exp2f.h: Ditto.
* libm/machine/spu/headers/expf.h: Ditto.
* libm/machine/spu/headers/fabs.h: Ditto.
* libm/machine/spu/headers/fabsf.h: Ditto.
* libm/machine/spu/headers/fdim.h: Ditto.
* libm/machine/spu/headers/fdimf.h: Ditto.
* libm/machine/spu/headers/floor.h: Ditto.
* libm/machine/spu/headers/floorf.h: Ditto.
* libm/machine/spu/headers/fma.h: Ditto.
* libm/machine/spu/headers/fmaf.h: Ditto.
* libm/machine/spu/headers/fmax.h: Ditto.
* libm/machine/spu/headers/fmaxf.h: Ditto.
* libm/machine/spu/headers/fmin.h: Ditto.
* libm/machine/spu/headers/fminf.h: Ditto.
* libm/machine/spu/headers/fmod.h: Ditto.
* libm/machine/spu/headers/fmodf.h: Ditto.
* libm/machine/spu/headers/frexp.h: Ditto.
* libm/machine/spu/headers/frexpf.h: Ditto.
* libm/machine/spu/headers/ilogb.h: Ditto.
* libm/machine/spu/headers/ilogbf.h: Ditto.
* libm/machine/spu/headers/ldexp.h: Ditto.
* libm/machine/spu/headers/ldexpf.h: Ditto.
* libm/machine/spu/headers/llrint.h: Ditto.
* libm/machine/spu/headers/llrintf.h: Ditto.
* libm/machine/spu/headers/llround.h: Ditto.
* libm/machine/spu/headers/llroundf.h: Ditto.
* libm/machine/spu/headers/log10f.h: Ditto.
* libm/machine/spu/headers/log2f.h: Ditto.
* libm/machine/spu/headers/logf.h: Ditto.
* libm/machine/spu/headers/lrint.h: Ditto.
* libm/machine/spu/headers/lrintf.h: Ditto.
* libm/machine/spu/headers/lround.h: Ditto.
* libm/machine/spu/headers/lroundf.h: Ditto.
* libm/machine/spu/headers/nearbyint.h: Ditto.
* libm/machine/spu/headers/remainder.h: Ditto.
* libm/machine/spu/headers/remainderf.h: Ditto.
* libm/machine/spu/headers/remquo.h: Ditto.
* libm/machine/spu/headers/remquof.h: Ditto.
* libm/machine/spu/headers/rint.h: Ditto.
* libm/machine/spu/headers/round.h: Ditto.
* libm/machine/spu/headers/roundf.h: Ditto.
* libm/machine/spu/headers/scalbn.h: Ditto.
* libm/machine/spu/headers/scalbnf.h: Ditto.
* libm/machine/spu/headers/sqrt.h: Ditto.
* libm/machine/spu/headers/trunc.h: Ditto.
* libm/machine/spu/headers/truncf.h: Ditto.
* libm/machine/spu/headers/vec_literal.h: Ditto.
* libm/machine/spu/llrint.c: Ditto.
* libm/machine/spu/llrintf.c: Ditto.
* libm/machine/spu/llround.c: Ditto.
* libm/machine/spu/llroundf.c: Ditto.
* libm/machine/spu/log2f.c: Ditto.
* libm/machine/spu/s_cbrt.c: Ditto.
* libm/machine/spu/s_ceil.c: Ditto.
* libm/machine/spu/s_copysign.c: Ditto.
* libm/machine/spu/s_fabs.c: Ditto.
* libm/machine/spu/s_fdim.c: Ditto.
* libm/machine/spu/s_floor.c: Ditto.
* libm/machine/spu/s_fma.c: Ditto.
* libm/machine/spu/s_fmax.c: Ditto.
* libm/machine/spu/s_fmin.c: Ditto.
* libm/machine/spu/s_frexp.c: Ditto.
* libm/machine/spu/s_ilogb.c: Ditto.
* libm/machine/spu/s_ldexp.c: Ditto.
* libm/machine/spu/s_lrint.c: Ditto.
* libm/machine/spu/s_lround.c: Ditto.
* libm/machine/spu/s_nearbyint.c: Ditto.
* libm/machine/spu/s_remquo.c: Ditto.
* libm/machine/spu/s_rint.c: Ditto.
* libm/machine/spu/s_round.c: Ditto.
* libm/machine/spu/s_scalbn.c: Ditto.
* libm/machine/spu/s_trunc.c: Ditto.
* libm/machine/spu/sf_atan.c: Ditto.
* libm/machine/spu/sf_cbrt.c: Ditto.
* libm/machine/spu/sf_ceil.c: Ditto.
* libm/machine/spu/sf_copysign.c: Ditto.
* libm/machine/spu/sf_fabs.c: Ditto.
* libm/machine/spu/sf_fdim.c: Ditto.
* libm/machine/spu/sf_floor.c: Ditto.
* libm/machine/spu/sf_fma.c: Ditto.
* libm/machine/spu/sf_fmax.c: Ditto.
* libm/machine/spu/sf_fmin.c: Ditto.
* libm/machine/spu/sf_frexp.c: Ditto.
* libm/machine/spu/sf_ilogb.c: Ditto.
* libm/machine/spu/sf_ldexp.c: Ditto.
* libm/machine/spu/sf_lrint.c: Ditto.
* libm/machine/spu/sf_lround.c: Ditto.
* libm/machine/spu/sf_remquo.c: Ditto.
* libm/machine/spu/sf_round.c: Ditto.
* libm/machine/spu/sf_scalbn.c: Ditto.
* libm/machine/spu/sf_trunc.c: Ditto.
* libm/machine/spu/w_fmod.c: Ditto.
* libm/machine/spu/w_remainder.c: Ditto.
* libm/machine/spu/w_sqrt.c: Ditto.
* libm/machine/spu/wf_exp.c: Ditto.
* libm/machine/spu/wf_exp2.c: Ditto.
* libm/machine/spu/wf_fmod.c: Ditto.
* libm/machine/spu/wf_log.c: Ditto.
* libm/machine/spu/wf_log10.c: Ditto.
* libm/machine/spu/wf_remainder.c: Ditto.

17 years ago * ntdll.h (struct _FILE_COMPRESSION_INFORMATION): Align with definition
Corinna Vinschen [Thu, 27 Sep 2007 09:35:06 +0000 (09:35 +0000)]
* ntdll.h (struct _FILE_COMPRESSION_INFORMATION): Align with definition
in w32api / MSDN.
* fhandler_disk_file.cc (fhandler_base::fstat_helper): Accommodate
change to struct _FILE_COMPRESSION_INFORMATION.

17 years ago * termios.cc (setspeed): Support new baud rates introduced 2007-02-05.
Corinna Vinschen [Wed, 26 Sep 2007 08:57:35 +0000 (08:57 +0000)]
* termios.cc (setspeed): Support new baud rates introduced 2007-02-05.

17 years ago * spu/sched_yield.c: New file (missed on 2007-09-21).
Ben Elliston [Wed, 26 Sep 2007 04:16:04 +0000 (04:16 +0000)]
* spu/sched_yield.c: New file (missed on 2007-09-21).

17 years ago * faq-what.xml: Remove paragraph about and link to stoneage old
Corinna Vinschen [Tue, 25 Sep 2007 17:03:59 +0000 (17:03 +0000)]
* faq-what.xml: Remove paragraph about and link to stoneage old
history.html file.

17 years agoCommitted as obvious:
Danny Smith [Sun, 23 Sep 2007 22:23:18 +0000 (22:23 +0000)]
Committed as obvious:

2007-09-24  David C. Daeschler <daveregs@rsaisp.com>

* mingwex/gdtoa/mingw_snprintf.c (x_sprintf): Correct LEN_L typo in 'l'
case.  Add missing break in 's'/LEN_S case.

17 years ago2007-09-21 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston [Fri, 21 Sep 2007 21:14:41 +0000 (21:14 +0000)]
2007-09-21  Patrick Mansfield  <patmans@us.ibm.com>

        * spu/Makefile.in: Add new files.
        * spu/jsre.h: Add JSRE_PREAD, JSRE_PWRITE, JSRE_READV, and
        JSRE_WRITEV opcodes.
        * spu/pread.c: New file to add pread via assist call.
        * spu/pwrite.c: New file to add pwrite via assist call.
        * spu/readv.c: New file to add readv via assist call.
        * spu/writev.c: New file to add writev via assist call.

17 years ago2007-09-21 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston [Fri, 21 Sep 2007 21:11:14 +0000 (21:11 +0000)]
2007-09-21  Patrick Mansfield  <patmans@us.ibm.com>

        * libc/machine/spu/sys/uio.h: New file for readv and writev use.

17 years ago2007-09-21 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston [Fri, 21 Sep 2007 21:06:58 +0000 (21:06 +0000)]
2007-09-21  Patrick Mansfield  <patmans@us.ibm.com>

        * spu/jsre.h: Add JSRE_SCHED_YIELD, JSRE_UMASK, JSRE_UTIME, and
        JSRE_UTIMES.
        * spu/sched_yield.c: New file add sched_yield via assist call.
        * spu/umask.c: New file add umask via assist call.
        * spu/utime.c: New file add utime via assist call.
        * spu/utimes.c: New file add utimes via assist call.
        * spu/Makefile.in: Add new files.

17 years ago2007-09-21 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston [Fri, 21 Sep 2007 21:02:15 +0000 (21:02 +0000)]
2007-09-21  Patrick Mansfield  <patmans@us.ibm.com>

        * libc/include/sched.h: New file, just include sys/sched.h.
        * libc/machine/spu/sys/sched.h: New file, has just sched_yield
        prototype.
        * libc/machine/spu/sys/utime.h: New file, has utime prototype and
        struct utimbuf definition.

17 years ago2007-09-21 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston [Fri, 21 Sep 2007 20:45:17 +0000 (20:45 +0000)]
2007-09-21  Patrick Mansfield  <patmans@us.ibm.com>

        * spu/jsre.h: Add JSRE_SHM_OPEN and JSRE_SHM_UNLINK opcodes.
        * spu/shm_open.c: New file to add shm_open via assist call.
        * spu/shm_unlink.c: New file to add shm_unlink via assist call.
        * spu/Makefile.in: Add shm_open.o and shm_unlink.o

17 years ago2007-09-21 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston [Fri, 21 Sep 2007 20:40:52 +0000 (20:40 +0000)]
2007-09-21  Patrick Mansfield  <patmans@us.ibm.com>

        * spu/dirfuncs.c: New file, holds the opendir, closedir, readdir,
        rewinddir, seekdir and telldir implementations. These are
        grouped in one file so that we do not need a separate file for
        the struct dirent and DIR allocation code.
        * spu/jsre.h: Add JSRE_OPENDIR and other dir opcodes.
        * spu/Makefile.in: Add dirfuncs.o.

17 years ago2007-09-21 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston [Fri, 21 Sep 2007 20:36:02 +0000 (20:36 +0000)]
2007-09-21  Patrick Mansfield  <patmans@us.ibm.com>

        * libc/machine/spu/sys/dirent.h: New file, add prototypes and SPU
        specific struct and typedef.

17 years agoconfig/
Richard Sandiford [Fri, 21 Sep 2007 07:34:10 +0000 (07:34 +0000)]
config/
* mt-sde (CFLAGS_FOR_TARGET): Replace -fno-optimize-sibling-calls
with -minterlink-mips16.
(CXXFLAGS_FOR_TARGET): Likewise.

17 years agoMerge from gcc:
DJ Delorie [Thu, 20 Sep 2007 21:56:16 +0000 (21:56 +0000)]
Merge from gcc:

2007-09-19  Benjamin Kosnik  <bkoz@redhat.com>
* configure.ac (TOPLEVEL_CONFIGURE_ARGUMENTS): Move libgomp before
libstdc++.
* Makefile.def: Add libgomp config as a maybe dependency for libstdc++.
* configure: Regenerate.
* Makefile.in: Regenerate.

17 years ago * configure.ac (mipsisa*-*-elfoabi*): New stanza.
Richard Sandiford [Thu, 20 Sep 2007 20:03:31 +0000 (20:03 +0000)]
* configure.ac (mipsisa*-*-elfoabi*): New stanza.
* configure: Regenerate.

config/
* mt-mips-elfoabi: New file.

17 years ago * ntdll.h (STATUS_OBJECT_NAME_INVALID): Define.
Corinna Vinschen [Thu, 20 Sep 2007 15:14:13 +0000 (15:14 +0000)]
* ntdll.h (STATUS_OBJECT_NAME_INVALID): Define.

17 years ago2007-09-18 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston [Tue, 18 Sep 2007 20:05:17 +0000 (20:05 +0000)]
2007-09-18 Patrick Mansfield <patmans@us.ibm.com>

        * libc/include/sys/types.h: Use __dev_t, __uid_t, and __gid_t to
        typedef dev_t, gid_t, and uid_t.
        * libc/include/sys/_types.h: Move previous dev_t, uid_t and gid_t
        types.h code to here, but typedef __dev_t, __uid_t, and __gid_t instead.
        Change to lower case for all __foo_t_defined names.
        * libc/machine/spu/machine/_types.h: Add SPU specific __dev_t,
        __uid_t, and __gid_t making them all four bytes. Change to lower case
        for all __foo_t_defined names.

17 years ago2007-09-18 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 18 Sep 2007 19:32:43 +0000 (19:32 +0000)]
2007-09-18  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/reent/renamer.c: New file.
        * libc/reent/Makefile.am: Add new file.
        * libc/reent/Makefile.in: Regenerated.
        * libc/stdio/rename.c: Break out _rename_r code into reent/renamer.c
        and add check for rename syscall.

17 years ago * mmap.cc (fh_disk_file): Delete as global static variable and...
Corinna Vinschen [Tue, 18 Sep 2007 15:59:50 +0000 (15:59 +0000)]
* mmap.cc (fh_disk_file): Delete as global static variable and...
(mmap64): ...define as local pointer to make mmap thread-safe.
Accommodate throughout.  Only initialize fh_disk_file after file could
be opened with GENERIC_EXECUTE access.  Call fstat_by_handle instead of
fstat to avoid overhead.

17 years ago * security.cc (set_file_sd): Open file with FILE_OPEN_FOR_BACKUP_INTENT
Corinna Vinschen [Tue, 18 Sep 2007 14:36:29 +0000 (14:36 +0000)]
* security.cc (set_file_sd): Open file with FILE_OPEN_FOR_BACKUP_INTENT
too.

17 years ago * path.cc (symlink_info::check): Check for STATUS_OBJECT_NAME_INVALID.
Corinna Vinschen [Tue, 18 Sep 2007 11:05:44 +0000 (11:05 +0000)]
* path.cc (symlink_info::check): Check for STATUS_OBJECT_NAME_INVALID.
Add comment.

17 years agobfd/
H.J. Lu [Tue, 18 Sep 2007 00:25:07 +0000 (00:25 +0000)]
bfd/

2007-09-17  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/3281
PR binutils/5037
* elf-bfd.h (elf_obj_tdata): Remove relro.

* elf.c (get_program_header_size): Check info->relro instead
of elf_tdata (abfd)->relro.
(_bfd_elf_map_sections_to_segments): Likewise.
(assign_file_positions_for_load_sections): Don't set
PT_GNU_RELRO segment alignment here.
(assign_file_positions_for_non_load_sections): Properly set up
PT_GNU_RELRO segment for copying executable/shared library.
(rewrite_elf_program_header): Remove PT_GNU_RELRO segment.
(copy_elf_program_header): Set p_size and p_size_valid fields for
PT_GNU_RELRO segment.

include/elf/

2007-09-17  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/3281
PR binutils/5037
* internal.h (elf_segment_map): Add p_size and p_size_valid.
(ELF_IS_SECTION_IN_SEGMENT): Allow SHF_TLS sections in
PT_GNU_RELRO segments.

ld/

2007-09-17  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/3281
PR binutils/5037
* ldexp.h (ldexp_control): Add relro, relro_start_stat and
relro_end_stat.

* ldexp.c (fold_binary): Set expld.dataseg.relro to
exp_dataseg_relro_start or exp_dataseg_relro_end when
seeing DATA_SEGMENT_ALIGN or DATA_SEGMENT_RELRO_END,
respectively.

* ldlang.c (lang_size_sections_1): Properly set
expld.dataseg.relro_start_stat and
expld.dataseg.relro_end_stat.
(find_relro_section_callback): New function.
(lang_find_relro_sections_1): Likewise.
(lang_find_relro_sections): Likewise.
(lang_process): Call lang_find_relro_sections for
non-relocatable link.

ld/testsuite/

2007-09-17  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/3281
PR binutils/5037
* ld-elf/binutils.exp: Update "-z relro" tests to use relro1.s.
Add "-z relro" tests with relro2.s.  Add "-z relro" tests with
TLS for objcopy.

* ld-elf/relro1.s: New file.
* ld-elf/relro2.s: Likewise.

17 years ago * configure.ac: Raise minimum makeinfo version to 4.6.
Andreas Schwab [Mon, 17 Sep 2007 20:59:06 +0000 (20:59 +0000)]
* configure.ac: Raise minimum makeinfo version to 4.6.
* configure: Regenerate.

17 years agoObey POSIX on printf("%.s", (char*)NULL).
Eric Blake [Mon, 17 Sep 2007 20:14:29 +0000 (20:14 +0000)]
Obey POSIX on printf("%.s", (char*)NULL).
* libc/stdio/vfprintf.c (_VFPRINTF_R): Take precision into account
for %s on NULL.  Skip NULL check when optimizing for size.

17 years ago * fhandler.cc (fhandler_base::open): Partly revert change from
Corinna Vinschen [Mon, 17 Sep 2007 16:48:14 +0000 (16:48 +0000)]
* fhandler.cc (fhandler_base::open): Partly revert change from
2007-08-24:  Call has_acls to avoid permission problems getting
a handle to a file on a remote share.  Add comment.

17 years ago * configure.ac: Correct makeinfo version check.
Alan Modra [Fri, 14 Sep 2007 15:47:01 +0000 (15:47 +0000)]
* configure.ac: Correct makeinfo version check.
* configure: Regenerate.

17 years ago * configure.ac (mips*-sde-elf*): New stanza. Add target-libiberty
Richard Sandiford [Fri, 14 Sep 2007 14:51:36 +0000 (14:51 +0000)]
* configure.ac (mips*-sde-elf*): New stanza.  Add target-libiberty
to $skipdirs and only disable gprof for newlib.  Use the normal
mips*-elf* handling in other respects.
* configure: Regnerate.

17 years agoRearrange to sync with gcc.
DJ Delorie [Wed, 12 Sep 2007 18:51:47 +0000 (18:51 +0000)]
Rearrange to sync with gcc.

17 years ago2007-09-12 David Daney <ddaney@avtrex.com>
David Daney [Wed, 12 Sep 2007 17:51:22 +0000 (17:51 +0000)]
2007-09-12  David Daney  <ddaney@avtrex.com>

* configure.ac: Remove mips64*-*-linux* noconfigdirs section, thus
enabling libgcj.
* configure: Regenerate.

2007-09-12  Richard Guenther  <rguenther@suse.de>

* configure.ac (--enable-stage1-checking): If neither --enable-checking
nor --disable-checking is provided also turn on yes and types
checking for stage1.
* configure: Re-generate.

17 years agoMove the last entry to proper ChangeLog.
H.J. Lu [Wed, 12 Sep 2007 04:42:14 +0000 (04:42 +0000)]
Move the last entry to proper ChangeLog.

17 years agobfd/
Kazu Hirata [Tue, 11 Sep 2007 16:07:50 +0000 (16:07 +0000)]
bfd/
* archures.c: Add bfd_mach_mcf_isa_c_nodiv,
bfd_mach_mcf_isa_c_nodiv_mac & bfd_mach_mcf_isa_c_nodiv_emac.
* ieee.c (ieee_write_processor): Update coldfire architecture
list.
* bfd-in2.h: Rebuilt.
* cpu-m68k.c (arch_info_struct): Add isa_c nodiv architectures.
(m68k_arch_features): Likewise.
* elf32-m68k.c (elf32_m68k_object_p): Add EF_M68K_CF_ISA_C_NODIV.
(elf32_m68k_print_private_bfd_data): Likewise.

gas/
* config/tc-m68k.c (m68k_ip): Add mcfisa_c case.
(m68k_elf_final_processing): Add EF_M68K_CF_ISA_C_NODIV.

include/elf/
* m68k.h (EF_M68K_CF_ISA_C_NODIV): New.

17 years ago2007-09-06 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Andrew Haley [Tue, 11 Sep 2007 13:10:20 +0000 (13:10 +0000)]
2007-09-06  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>

        PR target/33281
        * configure.ac: Use config/mh-mingw on mingw.
        * configure: Regenerate.
        * config/mh-mingw: New host makefile fragment.

17 years ago2007-09-10 Rask Ingemann Lambertsen <rask@sygehus.dk>
DJ Delorie [Tue, 11 Sep 2007 00:22:05 +0000 (00:22 +0000)]
2007-09-10  Rask Ingemann Lambertsen  <rask@sygehus.dk>
PR other/32154
* configure.ac: For libgloss targets, point the linker to the linker
script, startup code and simulator library.
* configure: Regenerate.

17 years ago2007-09-09 Andrew Haley <aph@redhat.com>
Andrew Haley [Sun, 9 Sep 2007 08:19:50 +0000 (08:19 +0000)]
2007-09-09  Andrew Haley  <aph@redhat.com>

        * configure.ac (noconfigdirs): Remove target-libffi and
        target-libjava.

17 years ago * include/cygwin/config.h: Conditionalize inline __getreent()
Brian Dessent [Sat, 8 Sep 2007 10:51:37 +0000 (10:51 +0000)]
* include/cygwin/config.h: Conditionalize inline __getreent()
definition on _COMPILING_NEWLIB.

17 years ago2007-09-07 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 7 Sep 2007 21:24:55 +0000 (21:24 +0000)]
2007-09-07  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/_types.h: Protect all types with flag
        checks to allow definition in machine/_types.h.

17 years ago2007-09-07 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 7 Sep 2007 21:18:03 +0000 (21:18 +0000)]
2007-09-07  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/sys/_types.h: Add _fpos_t and _fpos64_t
        definitions in light of the previous change.

17 years ago2007-09-07 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston [Fri, 7 Sep 2007 21:16:25 +0000 (21:16 +0000)]
2007-09-07 Patrick Mansfield <patmans@us.ibm.com>

* libc/include/machine/_default_types.h: New file, contains what
was previously in libc/include/machine/_types.h.
* libc/include/machine/_types.h: Now only includes
machine/_default_types.h.
* libc/include/sys/reent.h: Remove _fpos_t and _fpos64_t.
* libc/include/sys/_types.h: Move _fpos_t and _fpos64_t to here,
with conditional declarations.
* libc/machine/spu/machine/_types.h: New file, add SPU specific
typedefs for _fpos_t and _fpos64_t.

17 years ago2007-09-07 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 7 Sep 2007 15:30:59 +0000 (15:30 +0000)]
2007-09-07  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/math.h (_M_LOG2E): Replace with..
        (_M_LOG2_E): New macro.
        (log2, log2f, M_LOG2_E): Use _M_LOG2_E.

17 years agoconfig/
Richard Sandiford [Fri, 7 Sep 2007 07:38:47 +0000 (07:38 +0000)]
config/
* mt-sde (CFLAGS_FOR_TARGET): Add -mno-gpopt.
(CXXFLAGS_FOR_TARGET): Likewise.

17 years ago * libc/reent/getreent.c: Allow for case where __getreent is
Brian Dessent [Fri, 7 Sep 2007 00:45:55 +0000 (00:45 +0000)]
* libc/reent/getreent.c: Allow for case where __getreent is
defined as a macro.

17 years ago * include/cygwin/config.h (__getreent): Define inline version.
Brian Dessent [Fri, 7 Sep 2007 00:44:27 +0000 (00:44 +0000)]
* include/cygwin/config.h (__getreent): Define inline version.

17 years agoFix typo in ChangeLog and math.h.
Jeff Johnston [Thu, 6 Sep 2007 19:55:34 +0000 (19:55 +0000)]
Fix typo in ChangeLog and math.h.

17 years ago2007-09-06 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 6 Sep 2007 19:51:46 +0000 (19:51 +0000)]
2007-09-06  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/math.h (_M_LOG2E): New log2 of e macro.
        (log2): Use _M_LOG2E instead of M_LOG2E.
        (log2f): Ditto.
        (M_LOG2E): Define to be _M_LOG2E.

17 years ago * include/sys/stdio.h (_flockfile): Don't try to lock a FILE
Brian Dessent [Thu, 6 Sep 2007 18:47:44 +0000 (18:47 +0000)]
* include/sys/stdio.h (_flockfile): Don't try to lock a FILE
that has the __SSTR flag set.
(_ftrylockfile): Likewise.
(_funlockfile): Likewise.

17 years agomerge from gcc
DJ Delorie [Thu, 6 Sep 2007 17:22:36 +0000 (17:22 +0000)]
merge from gcc

17 years ago2007-09-04 Kazunori Asayama <asayama@sm.sony.co.jp>
Jeff Johnston [Tue, 4 Sep 2007 17:33:10 +0000 (17:33 +0000)]
2007-09-04  Kazunori Asayama <asayama@sm.sony.co.jp>

        * libm/math/wf_tgamma.c: Add missing include.

17 years ago* configure: Regenerate.
Christopher Faylor [Fri, 31 Aug 2007 23:11:04 +0000 (23:11 +0000)]
* configure: Regenerate.

17 years ago2007-08-31 Antony King <antony.king@st.com>
Jeff Johnston [Fri, 31 Aug 2007 21:21:27 +0000 (21:21 +0000)]
2007-08-31  Antony King  <antony.king@st.com>

        * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS}: Define IEEE_Arith
        bits and redefine associated dword0 macro (rvalue issue).
        * libc/stdio/vfieeefp.h: Ditto.
        * libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
        to prevent setting dword1 which is an rvalue only.

17 years agomerge from gcc
DJ Delorie [Fri, 31 Aug 2007 20:20:44 +0000 (20:20 +0000)]
merge from gcc

17 years ago2007-08-31 Dave Korn <dave.korn@artimi.com>
Dave Korn [Fri, 31 Aug 2007 00:39:41 +0000 (00:39 +0000)]
2007-08-31  Dave Korn  <dave.korn@artimi.com>

* mkgroup.c (enum_groups):  Use MAX_PREFERRED_LENGTH in netgroupenum
call so that it will automatically size returned buffer sufficiently.

17 years agoMove changelog
Richard Sandiford [Thu, 30 Aug 2007 20:22:12 +0000 (20:22 +0000)]
Move changelog

17 years ago* config.sub, config.guess: Update from upstream sources.
Nick Clifton [Wed, 29 Aug 2007 15:23:21 +0000 (15:23 +0000)]
* config.sub, config.guess: Update from upstream sources.

17 years ago* config.sub: Add support for cr16 target.
Nick Clifton [Wed, 29 Aug 2007 08:57:40 +0000 (08:57 +0000)]
* config.sub: Add support for cr16 target.

17 years ago2007-08-28 Hans Kester <hans.kester@ellips.nl>
Jeff Johnston [Tue, 28 Aug 2007 21:56:50 +0000 (21:56 +0000)]
2007-08-28  Hans Kester  <hans.kester@ellips.nl>

        * configure.host: Added support for x86_64.
        * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for x86_64.
        * libc/include/machine/setjmp.h: Define _JBTYPE and _JBLEN for x86_64.
        * libc/machine/x86_64/aclocal.m4: Generated.
        * libc/machine/x86_64/configure.in: New.
        * libc/machine/x86_64/configure: Generated.
        * libc/machine/x86_64/Makefile.am: New.
        * libc/machine/x86_64/Makefile.in: Generated.
        * libc/machine/x86_64/setjmp.S: New.
        * libc/machine/x86_64/memcpy.S: New.
        * libc/machine/x86_64/memset.S: New.
        * libc/machine/configure.in: Added support for x86_64.
        * libc/machine/configure: Regenerated.

17 years agoMake snprintf() and vsnprintf() conform to C99.
Keith Marshall [Sat, 25 Aug 2007 13:49:37 +0000 (13:49 +0000)]
Make snprintf() and vsnprintf() conform to C99.

17 years agoinclude/elf/
Alan Modra [Sat, 25 Aug 2007 13:20:40 +0000 (13:20 +0000)]
include/elf/
* common.h (NT_SPU): Define.
bfd/
* elf.c (elfcore_grok_spu_note): New function.
(elf_parse_notes): Call it.
binutils/
* readelf.c (process_note): Recognize SPU core file notes.

17 years ago2007-08-24 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 24 Aug 2007 20:49:59 +0000 (20:49 +0000)]
2007-08-24  Jeff Johnston  <jjohnstn@redhat.com>

        * libm/common/sf_lround.c (lroundf): Cast sizeof calculation
        to int before comparing it to a signed int value.

17 years ago * syscalls.cc (open): Don't follow symlinks if O_EXCL is given.
Corinna Vinschen [Fri, 24 Aug 2007 14:55:56 +0000 (14:55 +0000)]
* syscalls.cc (open): Don't follow symlinks if O_EXCL is given.

17 years ago* dll.sgml: myprog.ca -> myprog.c
Christopher Faylor [Fri, 24 Aug 2007 14:52:39 +0000 (14:52 +0000)]
* dll.sgml: myprog.ca -> myprog.c

17 years agobinutils/
Ben Elliston [Fri, 24 Aug 2007 00:56:30 +0000 (00:56 +0000)]
binutils/
* doc/binutils.texi (objdump): Document -Mppcps.

gas/
* config/tc-ppc.c (parse_cpu): Handle "750cl".
(pre_defined_registers): Add "gqr0" to "gqr7", "gqr.0" to "gqr.7".
(md_show_usage): Document -m750cl.
(md_assemble): Handle two delimiters in succession (eg. `),').
* doc/c-ppc.texi (PowerPC-Opts): Document -m750cl.
* testsuite/gas/ppc/ppc.exp: Run ppc70ps dump tests.
* testsuite/gas/ppc/ppc750ps.s: New file.
* testsuite/gas/ppc/ppc750ps.d: Likewise.

include/opcode/
* ppc.h (PPC_OPCODE_PPCPS): New.

opcodes/
* ppc-opc.c (PSW, PSWM, PSQ, PSQM, PSD, MTMSRD_L): New.
(XOPS, XOPS_MASK, XW, XW_MASK): Likewise.
(PPCPS): Likewise.
(powerpc_opcodes): Add all pair singles instructions.
* ppc-dis.c (powerpc_dialect): Handle "ppcps".
(print_ppc_disassembler_options): Document -Mppcps.

17 years ago * libc/machine/cris/sys/errno.h (ECANCELED, ENOKEY, EKEYEXPIRED)
Hans-Peter Nilsson [Thu, 23 Aug 2007 23:40:28 +0000 (23:40 +0000)]
* libc/machine/cris/sys/errno.h (ECANCELED, ENOKEY, EKEYEXPIRED)
(EKEYREVOKED, EKEYREJECTED, EOWNERDEAD, ENOTRECOVERABLE, ENOTSUP):
Define.

17 years ago2007-08-23 Hidetaka Takano <hidetaka.takano@glb.toshiba.co.jp>
Jeff Johnston [Thu, 23 Aug 2007 18:45:22 +0000 (18:45 +0000)]
2007-08-23  Hidetaka Takano  <hidetaka.takano@glb.toshiba.co.jp>

        Reduce the memory consumption of variable argument functions
        for SPU (cell):
        * libc/machine/spu/Makefile.am: Replace printf/scanf family C sources
          to assembler sources.
        * libc/machine/spu/Makefile.in: Regenerated.
        * libc/machine/spu/stdio.c: Add __check_init function wrapping
          CHECK_INIT macro to use from assembler routines.
        * libc/machine/spu/c99ppe.h: Add definitions for assembler code.
        * libc/machine/spu/fiprintf.S: New file.
        * libc/machine/spu/fiscanf.S: Ditto.
        * libc/machine/spu/fprintf.S: Ditto.
        * libc/machine/spu/fscanf.S: Ditto.
        * libc/machine/spu/iprintf.S: Ditto.
        * libc/machine/spu/iscanf.S: Ditto.
        * libc/machine/spu/printf.S: Ditto.
        * libc/machine/spu/scanf.S: Ditto.
        * libc/machine/spu/siprintf.S: Ditto.
        * libc/machine/spu/siscanf.S: Ditto.
        * libc/machine/spu/sniprintf.S: Ditto.
        * libc/machine/spu/snprintf.S: Ditto.
        * libc/machine/spu/sprintf.S: Ditto.
        * libc/machine/spu/sscanf.S: Ditto.
        * libc/machine/spu/stack_reg_va.S: Ditto.
        * libc/machine/spu/syscall.def: Ditto. (for maintenance)
        * libc/machine/spu/mk_syscalls: Ditto. (for maintenance)
        * libc/machine/spu/fiprintf.c: Removed. (Replaced by .S)
        * libc/machine/spu/fiscanf.c: Ditto.
        * libc/machine/spu/fprintf.c: Ditto.
        * libc/machine/spu/fscanf.c: Ditto.
        * libc/machine/spu/iprintf.c: Ditto.
        * libc/machine/spu/iscanf.c: Ditto.
        * libc/machine/spu/printf.c: Ditto.
        * libc/machine/spu/scanf.c: Ditto.
        * libc/machine/spu/siprintf.c: Ditto.
        * libc/machine/spu/siscanf.c: Ditto.
        * libc/machine/spu/sniprintf.c: Ditto.
        * libc/machine/spu/snprintf.c: Ditto.
        * libc/machine/spu/sprintf.c: Ditto.
        * libc/machine/spu/sscanf.c: Ditto.

17 years ago Switch the license of all .h files to GPLv3.
Joel Brobecker [Thu, 23 Aug 2007 18:17:33 +0000 (18:17 +0000)]
    Switch the license of all .h files to GPLv3.

17 years ago * ntdll.h (STATUS_NO_SUCH_FILE): Define.
Corinna Vinschen [Thu, 23 Aug 2007 07:43:24 +0000 (07:43 +0000)]
* ntdll.h (STATUS_NO_SUCH_FILE): Define.
* path.cc (get_nt_native_path): Reset upath.Length to 0 on each
invocation.
(symlink_info::check): Use NT native functions.

17 years ago * uinfo.cc (pwdgrp::load): Use NT native functions.
Corinna Vinschen [Tue, 21 Aug 2007 17:38:27 +0000 (17:38 +0000)]
* uinfo.cc (pwdgrp::load): Use NT native functions.

17 years ago * fhandler_disk_file.cc (fhandler_base::fstat_helper): Rewrite checking
Corinna Vinschen [Tue, 21 Aug 2007 15:37:10 +0000 (15:37 +0000)]
* fhandler_disk_file.cc (fhandler_base::fstat_helper): Rewrite checking
for executable file magic using a thread safe method and re-enable this
code.

17 years ago * syscalls.cc (unlink_nt): Drop one local FILE_BASIC_INFORMATION struct.
Corinna Vinschen [Tue, 21 Aug 2007 12:39:53 +0000 (12:39 +0000)]
* syscalls.cc (unlink_nt): Drop one local FILE_BASIC_INFORMATION struct.

17 years ago * ntdll.h (NtNotifyChangeDirectoryFile): Declare.
Corinna Vinschen [Tue, 21 Aug 2007 12:37:40 +0000 (12:37 +0000)]
* ntdll.h (NtNotifyChangeDirectoryFile): Declare.
(NtQueryAttributesFile): Move to maintain alphabetical order of
declarations.  Add comment to note that timestamp information returned
by NtQueryAttributesFile is unreliable.
* path.h (etc::changed_h): Move here.
(etc::fn): Change type to OBJECT_ATTRIBUTES.
(etc::last_modified): Change type to LARGE_INTEGER.
(etc::init): Take PUNICODE_STRING as second argument.
* path.cc: Accomodate above changes.
(etc::test_file_change): Use NT native functions.
(etc::dir_changed): Ditto.
* uinfo.cc (pwdgrp::load): Call etc::init with NT native path.

17 years ago * fhandler_disk_file.cc: Change debugging output througout to print
Corinna Vinschen [Tue, 21 Aug 2007 12:09:38 +0000 (12:09 +0000)]
* fhandler_disk_file.cc: Change debugging output througout to print
the NT status consistently.  Use UNICODE path information if available.

17 years agoBring over from the GCC tree:
Ben Elliston [Tue, 21 Aug 2007 04:15:07 +0000 (04:15 +0000)]
Bring over from the GCC tree:

2007-08-21  Richard Guenther  <rguenther@suse.de>

  * configure.ac: Add types checking to stage1 checking flags.
* configure: Regenerate.

17 years ago * hookapi.cc (ld_preload): Call LoadLibraryW.
Corinna Vinschen [Mon, 20 Aug 2007 15:41:08 +0000 (15:41 +0000)]
* hookapi.cc (ld_preload): Call LoadLibraryW.
* path.h (path_conv::get_wide_win32_path_len): Define.

17 years ago * fhandler.cc (rootdir): Delete.
Corinna Vinschen [Mon, 20 Aug 2007 15:16:27 +0000 (15:16 +0000)]
* fhandler.cc (rootdir): Delete.
* winsup.h (rootdir): Drop declaration.

17 years ago * path.cc (fillout_mntent): Append backslash to drive-only paths before
Corinna Vinschen [Sun, 19 Aug 2007 15:55:06 +0000 (15:55 +0000)]
* path.cc (fillout_mntent): Append backslash to drive-only paths before
calling fs_info::update.
* path.h (fs_info::clear): Simplify.
(fs_info::fs_info): Add constructor.

17 years ago2007-08-18 Paul Brook <paul@codesourcery.com>
Joseph Myers [Sat, 18 Aug 2007 15:19:10 +0000 (15:19 +0000)]
2007-08-18  Paul Brook  <paul@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* Makefile.tpl (DEBUG_PREFIX_CFLAGS_FOR_TARGET): New.
(CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Include it.
* Makefile.in: Regenerate.
* configure.ac (--with-debug-prefix-map): New.
* configure: Regenerate.

config:
2007-08-18  Paul Brook  <paul@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* mt-gnu (CXXFLAGS_FOR_TARGET): Add
$(DEBUG_PREFIX_CFLAGS_FOR_TARGET).

17 years ago * spawn.cc (spawn_guts): Fix typo in comment.
Corinna Vinschen [Fri, 17 Aug 2007 20:22:24 +0000 (20:22 +0000)]
* spawn.cc (spawn_guts): Fix typo in comment.

17 years ago * autoload.cc (CloseDesktop): Define.
Corinna Vinschen [Fri, 17 Aug 2007 19:58:57 +0000 (19:58 +0000)]
* autoload.cc (CloseDesktop): Define.
(CreateDesktopA): Define.
(SetThreadDesktop): Define.
* spawn.cc (spawn_guts): When starting a process under another user
account, don't open up permissions on current window station and
desktop.  Instead, if not in interactive session, create a new per-user
window station plus default desktop and use that for the child process.

17 years ago2007-08-17 Richard Sandiford <richard@codesourcery.com>
Richard Sandiford [Fri, 17 Aug 2007 13:15:24 +0000 (13:15 +0000)]
2007-08-17  Richard Sandiford  <richard@codesourcery.com>
    Nigel Stephens  <nigel@mips.com>

* config/mt-sde: New file.
* configure.ac (mips*-sde-elf*): New stanza.  Use config/mt-sde
as target_makefile_frag.
* configure: Regenerate.

17 years ago* Makefile.def (STAGE2_CFLAGS, STAGE3_CFLAGS, STAGE4_CFLAGS):
Alexandre Oliva [Fri, 17 Aug 2007 00:03:44 +0000 (00:03 +0000)]
* Makefile.def (STAGE2_CFLAGS, STAGE3_CFLAGS, STAGE4_CFLAGS):
Add to flags_to_pass.  Adjust uses of BOOT_CFLAGS.
(bootstrap2-debug, bootstrap-debug): New bootstrap stages.
* Makefile.tpl (STAGE2_CFLAGS, STAGE3_CFLAGS, STAGE4_CFLAGS): New.
(do-compare, do-compare3, do-compare-debug): New.
([+compare-target+]): Use them.

17 years agobfd/
H.J. Lu [Thu, 16 Aug 2007 18:49:42 +0000 (18:49 +0000)]
bfd/

2007-08-16  H.J. Lu  <hongjiu.lu@intel.com>

* elf.c: Revert last change.

binutils/

2007-08-16  H.J. Lu  <hongjiu.lu@intel.com>

* readelf.c: Revert last change.

include/elf/

2007-08-16  H.J. Lu  <hongjiu.lu@intel.com>

* common.h: Revert last change.

17 years ago * fhandler_disk_file.cc (fhandler_disk_file::fchmod): Handle S_IFSOCK
Corinna Vinschen [Thu, 16 Aug 2007 16:59:25 +0000 (16:59 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fchmod): Handle S_IFSOCK
mode bit by setting the SYSTEM attribute.
* fhandler_socket.cc (fhandler_socket::fchmod): Add S_IFSOCK mode bit
when calling fhandler_disk_file::fchmod.  Don't set attributes here.

17 years ago * path.h (path_conv::operator char *): Delete.
Corinna Vinschen [Thu, 16 Aug 2007 15:07:42 +0000 (15:07 +0000)]
* path.h (path_conv::operator char *): Delete.
(path_conv::operator const char *): Delete.
* dlfcn.cc: Throughout, replace path_conv::operator char * and
path_conv::operator const char * by call to path_conv::get_win32
for easier transition to UNICODE_PATHs.
* fhandler_socket.cc: Ditto.
* hookapi.cc: Ditto.
* path.cc: Ditto.
* spawn.cc: Ditto.
* syscalls.cc: Ditto.
* uinfo.cc: Ditto.

17 years ago * dir.cc (readdir_worker): Convert w32name to PUNICODE_STRING.
Corinna Vinschen [Thu, 16 Aug 2007 14:46:23 +0000 (14:46 +0000)]
* dir.cc (readdir_worker): Convert w32name to PUNICODE_STRING.
* sec_acl.cc (getacl): Convert debug output to print native NT path.
* security.cc (set_file_attribute): Ditto.
* syscalls.cc (try_to_bin): Ditto and fix buggy debug statement.

17 years ago * ntdll.h (RtlAcquirePebLock): Declare.
Corinna Vinschen [Thu, 16 Aug 2007 14:30:53 +0000 (14:30 +0000)]
* ntdll.h (RtlAcquirePebLock): Declare.
(RtlReleasePebLock): Declare.
* path.cc (cwdstuff::set): Change PEB only while it's locked.

17 years ago * fhandler.h (fhandler_base::get_namehash): Use NT native path.
Corinna Vinschen [Thu, 16 Aug 2007 14:10:06 +0000 (14:10 +0000)]
* fhandler.h (fhandler_base::get_namehash): Use NT native path.
* fhandler_disk_file.cc (readdir_get_ino): Ditto in call to
hash_path_name.

17 years agobfd/
H.J. Lu [Thu, 16 Aug 2007 13:38:09 +0000 (13:38 +0000)]
bfd/

2007-08-16  H.J. Lu  <hongjiu.lu@intel.com>

* elf.c (get_segment_type): Change PT_GNU_STACK to PT_GNU_ATTR.
(bfd_section_from_phdr): Likewise.
(get_program_header_size): Likewise. Add a PT_GNU_ATTR segment
if there is an attribute section.
(_bfd_elf_map_sections_to_segments): Likewise.
(IS_SECTION_IN_INPUT_SEGMENT): Likewise.

binutils/

2007-08-16  H.J. Lu  <hongjiu.lu@intel.com>

* readelf.c (get_segment_type): Change PT_GNU_STACK to
PT_GNU_ATTR.

include/elf/

2007-08-16  H.J. Lu  <hongjiu.lu@intel.com>

* common.h (PT_GNU_STACK): Renamed to ...
(PT_GNU_ATTR): This.
(PT_GNU_STACK): New.  Make an alias of PT_GNU_ATTR.

17 years ago * ntdll.h (RtlCreateUnicodeStringFromAsciiz): Fix declaration.
Corinna Vinschen [Thu, 16 Aug 2007 10:41:45 +0000 (10:41 +0000)]
* ntdll.h (RtlCreateUnicodeStringFromAsciiz): Fix declaration.
(RtlUpcaseUnicodeChar): Declare.
* path.cc (hash_path_name): Split into three functions, taking
the path as char *, PWCSTR, or PUNICODE_STRING.  Move implementation
into PUNICODE_STRING-based function.  Drop old drive-relative path
consideration.
* winsup.h (iswdirsep): Like isdirsep but for WCHARs.
(isabspath_u): Like isabspath, for PUNICODE_STRINGs.
(iswabspath): Like isabspath, for PWCHARs.
(hash_path_name): Add new declarations.

17 years ago * path.cc (get_nt_native_path): Allow to convert special paths which
Corinna Vinschen [Wed, 15 Aug 2007 16:27:09 +0000 (16:27 +0000)]
* path.cc (get_nt_native_path): Allow to convert special paths which
have no native NT path representation for simplified debug output.
* syscalls.cc: Convert debug output to print native NT path.
(unlink): Drop redundant debug output.

17 years ago * fhandler_disk_file.cc (fhandler_disk_file::link): Drop superfluous
Corinna Vinschen [Wed, 15 Aug 2007 15:31:19 +0000 (15:31 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::link): Drop superfluous
test for trailing dot.
* path.h (path_conv::operator []): Remove.

17 years ago * fhandler_socket.cc (get_inet_addr): Use NT native functions for
Corinna Vinschen [Wed, 15 Aug 2007 15:17:05 +0000 (15:17 +0000)]
* fhandler_socket.cc (get_inet_addr): Use NT native functions for
accessing the file representing the local socket.
(fhandler_socket::bind): Ditto.
* ntdll.h: Declare NtReadFile.

17 years ago * path.cc (symlink_info::check): In case of ERROR_SHARING_VIOLATION and
Corinna Vinschen [Tue, 14 Aug 2007 16:19:13 +0000 (16:19 +0000)]
* path.cc (symlink_info::check): In case of ERROR_SHARING_VIOLATION and
ERROR_ACCESS_DENIED, try to get file attributes by using directory
functions.

17 years ago * path.cc (fs_info::update): Correctly handle the volume root directory.
Corinna Vinschen [Tue, 14 Aug 2007 15:54:45 +0000 (15:54 +0000)]
* path.cc (fs_info::update): Correctly handle the volume root directory.

17 years ago * fhandler.h (fhandler_base::pc): Make public.
Corinna Vinschen [Tue, 14 Aug 2007 14:48:52 +0000 (14:48 +0000)]
* fhandler.h (fhandler_base::pc): Make public.
* fhandler_disk_file.cc (fhandler_disk_file::link): Drop extern
declaration of stat_suffixes.  Use NT native path in debug output.
(fhandler_base::utimes_fs): Simplify closeit case.  Use close_fs
to close newly opened file handle.
(fhandler_base::open_fs): Use NT native path in debug output.
* path.cc: Throughout drop extern declaration of stat_suffixes.
* path.h (stat_suffixes): Declare.
* sec_acl.cc (acl_worker): Drop extern declaration of stat_suffixes.
* times.cc (utimes_worker): Take path_conv as parameter instead of
single-byte pathnam, drop nofollow argument, accommodate throughout.
Compare UNICODE paths when enumerating file descriptors.  Fix
formatting.  Use NT native path in debug output.

17 years ago * mmap.cc: Call NtClose instead of CloseHandle throughout.
Corinna Vinschen [Mon, 13 Aug 2007 19:44:31 +0000 (19:44 +0000)]
* mmap.cc: Call NtClose instead of CloseHandle throughout.
(CreateMapping): Drop unused last argument.  Accommodate throughout.
(mmap64): Re-open file with execute permissions using NtOpenFile.

17 years ago * fhandler.h (fhandler_base::close_fs): Reintroduce (as inline function)
Corinna Vinschen [Mon, 13 Aug 2007 19:15:47 +0000 (19:15 +0000)]
* fhandler.h (fhandler_base::close_fs): Reintroduce (as inline function)
for clearness.
* fhandler_disk_file.cc (fhandler_base::fstat_fs): Revert previous
change.
(fhandler_base::open_fs): Ditto.
* fhandler_socket.cc (fhandler_socket::close): Ditto.

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