]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
17 years ago * elf32-ppc.c (ppc_elf_merge_obj_attributes): Add support for
Daniel Jacobowitz [Thu, 25 Oct 2007 15:20:24 +0000 (15:20 +0000)]
* elf32-ppc.c (ppc_elf_merge_obj_attributes): Add support for
Tag_GNU_Power_ABI_Vector.

* readelf.c (display_power_gnu_attribute): Add support for
Tag_GNU_Power_ABI_Vector.

* ppc.h (Tag_GNU_Power_ABI_Vector): New.

* ld-powerpc/attr-gnu-8-1.s, ld-powerpc/attr-gnu-8-11.d,
ld-powerpc/attr-gnu-8-2.s, ld-powerpc/attr-gnu-8-23.d,
ld-powerpc/attr-gnu-8-3.s, ld-powerpc/attr-gnu-8-31.d: New.
* ld-powerpc/powerpc.exp: Run new tests.

17 years ago2007-10-23 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 23 Oct 2007 19:50:29 +0000 (19:50 +0000)]
2007-10-23  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdlib/wcstombs_r.c: Add SUSV2 support for calculating
        size if output buffer is NULL.

17 years ago * cygheap.h (struct cwdstuff): Drop hash member. Drop get_hash,
Corinna Vinschen [Tue, 23 Oct 2007 16:26:28 +0000 (16:26 +0000)]
* cygheap.h (struct cwdstuff): Drop hash member.  Drop get_hash,
get_initial, and fixup_after_exec declarations.
Convert win32 to UNICODE_STRING.
(cwdstuff::get_drive): Convert win32 path in current codepage.
(cwdstuff::set): Take native NT path.
* ntdll.h (struct _TEB): Typedef.
* path.cc (mount_info::conv_to_posix_path): Add variant taking
wide char DOS paths.
(symlink_info::posixify): Simplify concatenating cwd and relative path.
(hash_path_name): Drop special relative path handling.
(chdir): Drop special "drive only" handling.  Call cwdstuff::set with
native path.
(cwdstuff::get_hash): Remove.
(windows_system_directory): Remove.
(_upp): Remove.
(get_user_proc_parms): Make inline.  Get PEB pointer by calling
NtCurrentTeb.
(cwdstuff::init): Simplify.
(cwdstuff::set): Rework to handle incoming native NT path.  Workaround
a Vista problem with CWD handle in the user process parameter block.
(cwdstuff::get): Simplify locking.  Accommodate type change of win32.
* shared_info.h (mount_info): Add declaration for new conv_to_posix_path
method.
* strfuncs.cc (sys_wcstombs): Return correct length of created
multi-byte string.

17 years ago PR gdb/2336
Daniel Jacobowitz [Tue, 23 Oct 2007 12:34:11 +0000 (12:34 +0000)]
PR gdb/2336

* Makefile.def (dependencies): Make configure-gdb depend on
all-intl.
* Makefile.in: Regenerated.

* configure.ac: Modify $LIBINTL before the BFD check.
* configure: Regenerated.

17 years agoAdd MN10300 linker relaxation support for symbol differences
Nick Clifton [Fri, 19 Oct 2007 17:31:31 +0000 (17:31 +0000)]
Add MN10300 linker relaxation support for symbol differences

17 years ago * fhandler_disk_file.cc (__DIR_mounts::eval_ino): Make fname big enough
Corinna Vinschen [Fri, 19 Oct 2007 12:22:49 +0000 (12:22 +0000)]
* fhandler_disk_file.cc (__DIR_mounts::eval_ino): Make fname big enough
to allow multibyte chars.

17 years ago * fhandler.cc (fhandler_base::open): Open native symlinks with
Corinna Vinschen [Thu, 18 Oct 2007 12:40:27 +0000 (12:40 +0000)]
* fhandler.cc (fhandler_base::open): Open native symlinks with
FILE_OPEN_REPARSE_POINT flag.  Fix typo in comment.

17 years ago * include/sys/param.h (MAXPATHLEN): Define as PATH_MAX.
Corinna Vinschen [Thu, 18 Oct 2007 10:42:43 +0000 (10:42 +0000)]
* include/sys/param.h (MAXPATHLEN): Define as PATH_MAX.

17 years ago.
Roland McGrath [Thu, 18 Oct 2007 09:57:07 +0000 (09:57 +0000)]
.

17 years ago2007-10-18 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 18 Oct 2007 09:57:04 +0000 (09:57 +0000)]
2007-10-18  Roland McGrath  <roland@redhat.com>

* common.h (NT_PPC_VMX): New macro.

17 years ago2007-10-17 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 18 Oct 2007 00:03:32 +0000 (00:03 +0000)]
2007-10-17  Jeff Johnston  <jjohnstn@redhat.com>

        * libm/mathfp/s_logarithm.c: Fix error introduced by previous
        fix when handling negative input values.  Make function
        consistent with math directory and glibc version such that
        inf and nan values return inf and nan respectively with no
        errno setting.
        * libm/mathfp/sf_logarithm.c: Ditto.
        * libm/math/w_log.c: Set errno to ERANGE when input is 0.0.
        * libm/math/wf_log.c: Ditto.
        * libm/math/w_log10.c: Ditto.
        * libm/math/wf_log10.c: Ditto.

17 years ago2007-10-17 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 17 Oct 2007 20:14:49 +0000 (20:14 +0000)]
2007-10-17  Jeff Johnston  <jjohnstn@redhat.com>

        * libm/mathfp/s_logarithm.c: Fix case where input is 0 to
        return -inf.
        * libm/mathfp/sf_logarithm.c: Ditto.

17 years agoFix typo.
Jeff Johnston [Wed, 17 Oct 2007 19:36:43 +0000 (19:36 +0000)]
Fix typo.

17 years ago2007-10-17 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 17 Oct 2007 19:21:32 +0000 (19:21 +0000)]
2007-10-17  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/machine/i386/machine/fastmath.h: New file.

17 years ago* tls.m4 (GCC_CHECK_TLS): Rename have_tls to gcc_cv_have_tls.
Maciej W. Rozycki [Tue, 16 Oct 2007 10:45:50 +0000 (10:45 +0000)]
* tls.m4 (GCC_CHECK_TLS): Rename have_tls to gcc_cv_have_tls.
(GCC_CHECK_CC_TLS): Rename have_cc_tls to gcc_cv_have_cc_tls.

17 years ago2007-10-15 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston [Mon, 15 Oct 2007 20:47:15 +0000 (20:47 +0000)]
2007-10-15  Patrick Mansfield <patmans@us.ibm.com>

        * Makefile.def: To avoid problems running with parallel makes,
        build newlib before libgloss so that target specific header
        files are availble.
        * Makefile.in: Regenerate.

17 years ago * NEWS: Document target described register support for PowerPC.
Daniel Jacobowitz [Mon, 15 Oct 2007 19:45:31 +0000 (19:45 +0000)]
* NEWS: Document target described register support for PowerPC.
* ppc-tdep.h: Remove ppc_spr constants.
(struct gdbarch_tdep): Remove regs, ppc_sr0_regnum, and
ppc_builtin_type_vec128 members.
(PPC_R0_REGNUM, PPC_F0_REGNUM, PPC_PC_REGNUM, PPC_MSR_REGNUM)
(PPC_CR_REGNUM, PPC_LR_REGNUM, PPC_CTR_REGNUM, PPC_XER_REGNUM)
(PPC_FPSCR_REGNUM, PPC_MQ_REGNUM, PPC_SPE_UPPER_GP0_REGNUM)
(PPC_SPE_ACC_REGNUM, PPC_SPE_FSCR_REGNUM, PPC_VR0_REGNUM)
(PPC_VSCR_REGNUM, PPC_VRSAVE_REGNUM, PPC_NUM_REGS): New constants.
* rs6000-tdep.c: Include preparsed descriptions.
(init_sim_regno_table): Do not iterate over pseudo registers.
Look up segment registers by name.  Use sim_spr_register_name
for SPRs.
(rs6000_register_sim_regno): Call init_sim_regno_table here.
(rs6000_builtin_type_vec128): Delete.
(rs6000_register_name): Only handle SPE pseudo registers and upper
halves.  Call tdesc_register_name for everything else.
(rs6000_register_type): Delete.  Replace with...
(rs6000_pseudo_register_type): ...this new function.  Only handle
SPE pseudo registers.
(rs6000_register_reggroup_p): Delete.  Replace with...
(rs6000_pseudo_register_reggroup_p): ...this new function.  Only
handle SPE pseudo registers.
(rs6000_convert_register_p): Use ppc_fp0_regnum instead of
"struct reg".
(rs6000_register_to_value, rs6000_value_to_register): Remove check
of reg->fpr.
(e500_register_reggroup_p): Delete.
(STR, R, R4, R8, R16, F, P8, R32, R64, R0, A4, S, S4, SN4, S64)
(COMMON_UISA_REGS, PPC_UISA_SPRS, PPC_UISA_NOFP_SPRS)
(PPC_SEGMENT_REGS, PPC_OEA_SPRS, PPC_ALTIVEC_REGS, PPC_SPE_GP_REGS)
(PPC_SPE_UPPER_GP_REGS, PPC_EV_PSEUDO_REGS): Delete macros.
(registers_powerpc, registers_403, registers_403GC, registers_505)
(registers_860, registers_601, registers_602, registers_603)
(registers_604, registers_750, registers_7400, registers_e500): Delete
variables.
(struct variant): Delete nregs, npregs, num_tot_regs, and regs.  Add
tdesc.
(tot_num_registers, num_registers, num_pseudo_registers): Delete.
(variants): Delete outdated comment.  Use standard target descriptions
instead of "struct reg" arrays.
(init_variants): Delete.
(rs6000_gdbarch_init): Do not guess word size from the BFD
architecture if we have a target description.  Select a variant
before creating a new architecture.  Use the variant's target
description if the target did not define a register layout.
Validate target-supplied registers.  Reject mismatches.  Use
fixed register numbers and new constants instead of magic
numbers.  Call set_gdbarch_ps_regnum.  Call tdesc_use_registers.
(_initialize_rs6000_tdep): Initialize the preparsed target
descriptions.
* target-descriptions.c (tdesc_predefined_types): Add int128 and
uint128.
(tdesc_find_register_early): New function.
(tdesc_numbered_register): Use it.
(tdesc_register_size): New function.
(tdesc_use_registers): Take a target_desc argument.  Do not use
gdbarch_target_desc.
* target-descriptions.h (tdesc_use_registers): Update prototype
and comment.
(tdesc_register_size): New prototype.
* Makefile.in (powerpc_32_c, powerpc_403_c, powerpc_403gc_c)
(powerpc_505_c, powerpc_601_c, powerpc_602_c, powerpc_603_c)
(powerpc_604_c, powerpc_64_c, powerpc_7400_c, powerpc_750_c)
(powerpc_860_c, powerpc_e500_c, rs6000_c): New macros.
(rs6000-tdep.o): Update.
* arm-tdep.c (arm_gdbarch_init): Update call to tdesc_use_registers.
* m68k-tdep.c (m68k_gdbarch_init): Likewise.
* mips-tdep.c (mips_gdbarch_init): Likewise.

* gdb.texinfo (Predefined Target Types): Add int128
and uint128.
(Standard Target Features): Add PowerPC features.

* gdb.xml/tdesc-regs.exp: Add PowerPC support.

* sim-ppc.h (sim_spr_register_name): New prototype.

* gdb-sim.c (regnum2spr): Rename to...
(sim_spr_register_name): ... this.  Make global.

17 years ago * fhandler.cc (is_at_eof): Rewrite using NT functions.
Corinna Vinschen [Mon, 15 Oct 2007 08:25:38 +0000 (08:25 +0000)]
* fhandler.cc (is_at_eof): Rewrite using NT functions.
(off_current): New static variable.
(off_append): Ditto.
(fhandler_base::raw_write): Use NtWriteFile.  Accommodate O_APPEND here.
(fhandler_base::write): Drop O_APPEND hack.  Use NT functions.
(fhandler_base::lseek): Rewrite using NT functions.
* fhandler_disk_file.cc (fhandler_disk_file::fstatvfs): Add space in
debug output.
(fhandler_disk_file::ftruncate): Ditto.
* ntdll.h (STATUS_DISK_FULL): Define.
(FILE_USE_FILE_POINTER_POSITION): Define.
(FILE_WRITE_TO_END_OF_FILE): Define.

17 years ago* libc/stdio/vfprintf.c (_VFPRINTF_R) [__OPTIMIZE_SIZE__]:
Eric Blake [Sat, 13 Oct 2007 15:26:20 +0000 (15:26 +0000)]
* libc/stdio/vfprintf.c (_VFPRINTF_R) [__OPTIMIZE_SIZE__]:
Correctly nest else within conditionals.
Reported by Artur Lipowski.

17 years ago * ntdll.h (STATUS_END_OF_FILE): Define.
Corinna Vinschen [Sat, 13 Oct 2007 11:06:43 +0000 (11:06 +0000)]
* ntdll.h (STATUS_END_OF_FILE): Define.
* path.cc (symlink_info::check_shortcut): Use NT function to get file
size.  Reintroduce checking file size before reading it.  Eliminiate
close_it label.
(symlink_info::check_sysfile): Check for EOF condition.

17 years ago * Makefile.def (dependencies): Add all-gdb -> all-libdecnumber.
Daniel Jacobowitz [Thu, 11 Oct 2007 20:32:36 +0000 (20:32 +0000)]
* Makefile.def (dependencies): Add all-gdb -> all-libdecnumber.
* Makefile.in: Regenerate.

17 years ago2007-10-11 Ulrich Weigand <uweigand@de.ibm.com>
Jeff Johnston [Thu, 11 Oct 2007 20:25:36 +0000 (20:25 +0000)]
2007-10-11  Ulrich Weigand  <uweigand@de.ibm.com>

        * spu/crt0.S: Fix so element one of register one is correctly set
        when compiled with -mstdmain and -fstack-check.

17 years ago2007-10-11 Jesper Nilsson <jesper.nilsson@axis.com>
Daniel Jacobowitz [Thu, 11 Oct 2007 18:44:06 +0000 (18:44 +0000)]
2007-10-11  Jesper Nilsson  <jesper.nilsson@axis.com>

* callback.c (cb_is_stdin, cb_is_stdout, cb_is_stderr): Add functions.
* syscall.c (cb_syscall): Test for stdin/out/err, not just fd 0/1/2.

2007-10-11  Jesper Nilsson  <jesper.nilsson@axis.com>

* callback.h (cb_is_stdin, cb_is_stdout, cb_is_stderr): Add prototypes.

2007-10-11  Jesper Nilsson  <jesper.nilsson@axis.com>

* sim/cris/c/freopen2.c: Added testcase.

17 years ago2007-10-11 Jesper Nilsson <jesper.nilsson@axis.com>
Daniel Jacobowitz [Thu, 11 Oct 2007 18:40:28 +0000 (18:40 +0000)]
2007-10-11  Jesper Nilsson  <jesper.nilsson@axis.com>

* callback.c (cb_is_stdin): Add.
* syscall.c (cb_syscall): Test for stdin, not just fd 0.

2007-10-11  Jesper Nilsson  <jesper.nilsson@axis.com>

* callback.h (cb_is_stdin): Add prototype.

17 years ago * src-release (GDB_SUPPORT_DIRS): Add libdecnumber.
Daniel Jacobowitz [Thu, 11 Oct 2007 18:15:01 +0000 (18:15 +0000)]
* src-release (GDB_SUPPORT_DIRS): Add libdecnumber.
* libdecnumber: New directory, imported from GCC.

17 years ago * path.cc (basename): Return pointer into the path argument itself.
Corinna Vinschen [Thu, 11 Oct 2007 16:26:19 +0000 (16:26 +0000)]
* path.cc (basename): Return pointer into the path argument itself.
Shrink buf to 4 bytes.  Use buf only for border cases.
(dirname): Ditto.

17 years ago * path.cc (struct symlink_info): Change size of contents member to
Corinna Vinschen [Wed, 10 Oct 2007 16:54:09 +0000 (16:54 +0000)]
* path.cc (struct symlink_info): Change size of contents member to
be able to keep SYMLINK_MAX sized strings.
(symlink_worker): Rework for long path names.  When writing windows
shortcuts, store pathname additionally "hidden" after the actual
shortcut data to workaround size limitations of the description field.
(symlink_info::check_shortcut): Drop file name parameter.  Drop max
file size check.  Use NT functions.  Use appended full path if
available, description otherwise.  Check symlink string length for
not exceeding SYMLINK_MAX.  Don't close file here.
(symlink_info::check_sysfile): Drop file name parameter.  Use NT
functions.  Check symlink string length for not exceeding SYMLINK_MAX.
Don't close file here.
(symlink_info::check_reparse_point): Drop file name parameter.  Drop
useless length checks.  Allow SYMLINK_MAX length symlink strings.
Don't close file here.
(symlink_info::posixify): Allow SYMLINK_MAX length symlink strings.
(symlink_info::check): Turn around checking for symlink file attributes.
Use NT functions.  Close symlink file here.
* include/limits.h (PATH_MAX): Define as 32760.  Change comment.
(SYMLINK_MAX): Define as PATH_MAX - 1.

17 years ago * fhandler_socket.cc (fhandler_socket::bind): Open file for deletion,
Corinna Vinschen [Wed, 10 Oct 2007 16:07:46 +0000 (16:07 +0000)]
* fhandler_socket.cc (fhandler_socket::bind): Open file for deletion,
too.  Don't write to file and especially don't close handle if file
couldn't be created.  Set delete disposition if writing failed,
instead of calling unlink_nt.

17 years ago* libc/sys/linux/dl/do-lookup.h (FCT): Support symbols with the STT_COMMON type.
Nick Clifton [Tue, 9 Oct 2007 16:01:43 +0000 (16:01 +0000)]
* libc/sys/linux/dl/do-lookup.h (FCT): Support symbols with the STT_COMMON type.

17 years ago * libm/machine/spu/headers/acosd2.h: Include spu_intrinsics.h
Ben Elliston [Tue, 9 Oct 2007 04:24:11 +0000 (04:24 +0000)]
* libm/machine/spu/headers/acosd2.h: Include spu_intrinsics.h
before simdmath.h to get a definition for `vector'.
* libm/machine/spu/headers/asind2.h: Likewise.

17 years ago* configure.ac (CFLAGS_FOR_BUILD, CXXFLAGS_FOR_BUILD, LDFLAGS_FOR_BUILD): Default...
Nick Clifton [Mon, 8 Oct 2007 09:30:35 +0000 (09:30 +0000)]
* configure.ac (CFLAGS_FOR_BUILD, CXXFLAGS_FOR_BUILD, LDFLAGS_FOR_BUILD): Default them to host flags
  only for $host = $build.
  Set default CXXFLAGS_FOR_BUILD to CXXFLAGS, not CFLAGS.
  Set default LDFLAGS_FOR_BUILD to LDFLAGS, not CFLAGS.
* configure: Regenerate.

17 years ago2007-10-03 Jiri Malak <Jiri.Malak@iol.cz>
Chris Sutcliffe [Wed, 3 Oct 2007 23:49:35 +0000 (23:49 +0000)]
2007-10-03  Jiri Malak  <Jiri.Malak@iol.cz>

        * include/rpcndr.h: Missing NdrClientCall2 entry.
        * lib/rpcrt4.def: Ditto.

17 years ago2007-10-03 Frank Fesevur <ffes@users.sourceforge.net>
Chris Sutcliffe [Wed, 3 Oct 2007 23:34:14 +0000 (23:34 +0000)]
2007-10-03  Frank Fesevur  <ffes@users.sourceforge.net>

        * lib/scnsave.c: Multi-monitor support.

17 years ago2007-10-03 Danny Smith <dannysmith@users.sourceforge.net>
Chris Sutcliffe [Wed, 3 Oct 2007 20:45:58 +0000 (20:45 +0000)]
2007-10-03  Danny Smith  <dannysmith@users.sourceforge.net>

        * mingwex/gdtoa/mingw_snprintf.c: fixed warning during compile.

17 years ago2007-10-03 Bernd Becker <hugin@users.sourceforge.net>
Chris Sutcliffe [Wed, 3 Oct 2007 18:55:56 +0000 (18:55 +0000)]
2007-10-03  Bernd Becker <hugin@users.sourceforge.net>

        * include/io.h (__finddata64_t, __wfinddata64_t): changed member 'size'
        from '_fsize_t' to '__int64' to be consistent with the other ...64
        structures and the value set there is 8 bytes not 4.  Add guard for both
        as the are only used by functions available from 6.1 on.

        * include/malloc.h (_HEAP_MAXREQ): Define.
        (_aligned_offset_recalloc): Define.
        (_aligned_recalloc()): Define.

        * include/math.h: fixed a typo in a comment.
        (atanhf): Fixed declaration.

        * include/wchar.h (__wfinddata64_t): changed member 'size' from '_fsize_t'
        to '__int64' to be consistent with the other ...64 structures and the value
        set there is 8 bytes not 4.  Added guard as this function is only used by
        functions available from 6.1 on.

        * include/sys/stat.h: some members of 'stat' were declared with types with
        a prefixed underscore, while the ones without the underscore should have
        been used.  Added guard to '__stat64' as it is only used by functions
        available from 6.1 on.  Added the wide character versions of the
        exec()/spawn() family for completion
        (_stati64): changed the type of the 'st_mode' member from 'unsigned int' to
        '_mode_t'

        * include/sys/timeb.h (timeb, _timb): changed the type of the 'time' member
        from 'long' to 'time_t'
        (__timeb64): moved declaration of structure directly before the declaration
        of the function '_ftime64()', so it is guarded as well

        * include/sys/utime.h (__utimbuf64): moved declaration of structure directly
        before the declaration of the functions using it, so it is guarded as well

17 years ago * no-executables.m4 (GCC_TRY_COMPILE_OR_LINK): New function.
Kazu Hirata [Wed, 3 Oct 2007 14:35:31 +0000 (14:35 +0000)]
* no-executables.m4 (GCC_TRY_COMPILE_OR_LINK): New function.

17 years ago2007-10-02 Markus Deuling <deuling@de.ibm.com>
Jeff Johnston [Tue, 2 Oct 2007 18:59:58 +0000 (18:59 +0000)]
2007-10-02  Markus Deuling  <deuling@de.ibm.com>

        * spu/crt0.S: Initialize __ea_local_store (EA address of the LS)
          via register 6.

17 years ago2007-10-01 Markus Deuling <deuling@de.ibm.com>
Jeff Johnston [Mon, 1 Oct 2007 18:42:51 +0000 (18:42 +0000)]
2007-10-01  Markus Deuling  <deuling@de.ibm.com>

        * spu/Makefile.in: add dependencies for crt files.

17 years ago2007-10-01 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston [Mon, 1 Oct 2007 18:22:50 +0000 (18:22 +0000)]
2007-10-01  Patrick Mansfield  <patmans@us.ibm.com>

        * spu/sbrk.c: Use the current stack pointer value rather than the
        maximum available memory to determine the amount of heap space
        left. Without this change calling sbrk() can allocate space that
        is currently in use on the stack.

17 years agoVarious CR16 fixes
Nick Clifton [Mon, 1 Oct 2007 15:55:40 +0000 (15:55 +0000)]
Various CR16 fixes

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.

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