]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
13 years agowinsup:
Christopher Faylor [Sat, 29 Jan 2011 06:41:28 +0000 (06:41 +0000)]
winsup:
* configure.in: Configure winsup/cygserver regardless of cross_host.
* configure: Regenerate.
winsup/cygwin:
* configure.in: Define LIBSERVER regardless of cross_host.
* configure: Regenerate.

13 years ago * fhandler_socket.cc (fhandler_socket::wait_for_events): Call
Corinna Vinschen [Fri, 28 Jan 2011 11:17:29 +0000 (11:17 +0000)]
* fhandler_socket.cc (fhandler_socket::wait_for_events): Call
pthread_testcancel in case of timeout to enable pthread_cancel
on waiting thread.

13 years ago * libc/stdio/fclose.c: Only use sfp lock to guard non-atomic
Corinna Vinschen [Fri, 28 Jan 2011 10:49:11 +0000 (10:49 +0000)]
* libc/stdio/fclose.c: Only use sfp lock to guard non-atomic
changes of flags and fp lock.
* libc/stdio/freopen.c: Ditto.
* libc/stdio/freopen64.c: Ditto.
* libc/stdio/fgetc.c: Revert change from 2009-04-24, remove sfp locks
which guard entire function to avoid potential deadlocks when using
stdio functions in multiple thraeds.
* libc/stdio/fgets.c: Ditto.
* libc/stdio/fgetwc.c: Ditto.
* libc/stdio/fgetws.c: Ditto.
* libc/stdio/fread.c: Ditto.
* libc/stdio/fseek.c: Ditto.
* libc/stdio/getc.c: Ditto.
* libc/stdio/getdelim.c: Ditto.
* libc/stdio/gets.c: Ditto.
* libc/stdio/vfscanf.c: Ditto.
* libc/stdio/vfwscanf.c: Ditto.

* libc/stdio/fflush.c (_fflush_r): Split out core functionality into
new function __sflush_r.  Just lock file and call __sflush_r from here.
* libc/stdio/fwalk.c (_fwalk): Remove static helper function and move
functionality back into main function. Don't walk a file with flags
value of 1.  Add comment.
(_fwalk_reent): Ditto.
* libc/stdio/local.h (__sflush_r): Declare.
* libc/stdio/refill.c (__srefill): Before calling fwalk, set flags
value to 1 so this file pointer isn't walked.  Revert flags afterwards
and call __sflush_r for this fp if necessary.  Add comments.

13 years ago * include/features.h (__STDC_ISO_10646__): Move to newlib's
Corinna Vinschen [Thu, 27 Jan 2011 11:55:51 +0000 (11:55 +0000)]
* include/features.h (__STDC_ISO_10646__): Move to newlib's
sys/features.h.

13 years ago * libc/include/sys/features.h: Define __STDC_ISO_10646__ for Cygwin.
Corinna Vinschen [Thu, 27 Jan 2011 11:55:01 +0000 (11:55 +0000)]
* libc/include/sys/features.h: Define __STDC_ISO_10646__ for Cygwin.
* libc/include/wchar.h: Include features.h.

13 years ago * fhandler_disk_file.cc (fhandler_base::fstat_by_nfs_ea): Fix
Corinna Vinschen [Wed, 26 Jan 2011 10:55:13 +0000 (10:55 +0000)]
* fhandler_disk_file.cc (fhandler_base::fstat_by_nfs_ea): Fix
computation of st_blocks.
(fhandler_base::fstat_helper): Fix formatting.

13 years ago * include/features.h (__STDC_ISO_10646__): Define. Add comment.
Corinna Vinschen [Mon, 24 Jan 2011 16:27:35 +0000 (16:27 +0000)]
* include/features.h (__STDC_ISO_10646__): Define.  Add comment.

13 years agoSync toplevel configure from GCC
Andreas Schwab [Fri, 21 Jan 2011 13:29:47 +0000 (13:29 +0000)]
Sync toplevel configure from GCC

2011-01-21  Andreas Schwab  <schwab@redhat.com>

* configure.ac: Use AS_HELP_STRING throughout.
* configure: Regenerate.

2011-01-18  Jie Zhang  <jie.zhang@analog.com>

* configure.ac (bfin-*-*): Remove gdb from noconfigdirs.
* configure: Regenerate.

13 years ago * syscalls.cc (rename): Fix permission problem with symlinks on NFS.
Corinna Vinschen [Fri, 21 Jan 2011 13:13:00 +0000 (13:13 +0000)]
* syscalls.cc (rename): Fix permission problem with symlinks on NFS.
Rework how NtOpenFile gets called to make it more readable.  Change
comment.

13 years ago * exec.cc: Include pinfo.h.
Corinna Vinschen [Thu, 20 Jan 2011 11:09:21 +0000 (11:09 +0000)]
* exec.cc: Include pinfo.h.
* winf.h: Move definitions of _P_PATH_TYPE_EXEC and _P_MODE from here...
* pinfo.h: ...to here.
(_P_PATH_TYPE_EXEC): Redefine to be bigger than _P_SYSTEM.
(_P_MODE): Redefine so as not to mask out _P_SYSTEM.
* spawn.cc (spawnlp): Add _P_PATH_TYPE_EXEC flag in call to spawnve.
(spawnlpe): Ditto.
(spawnvp): Ditto.

13 years ago * spawn.cc (av::fixup): Reenable #! handling for all exec functions.
Corinna Vinschen [Wed, 19 Jan 2011 14:59:10 +0000 (14:59 +0000)]
* spawn.cc (av::fixup): Reenable #! handling for all exec functions.
Return ENOEXEC in !p_type_exec case only for unrecognized files.
Fix comment formatting.

13 years ago * exec.cc (execlp): Add missing _P_PATH_TYPE_EXEC flag in call to
Corinna Vinschen [Wed, 19 Jan 2011 10:30:39 +0000 (10:30 +0000)]
* exec.cc (execlp): Add missing _P_PATH_TYPE_EXEC flag in call to
spawnve.

13 years ago * exec.cc: Rearrange functions in alphabetical order.
Corinna Vinschen [Wed, 19 Jan 2011 10:28:39 +0000 (10:28 +0000)]
* exec.cc: Rearrange functions in alphabetical order.
(_execve): Drop temporary define and drop export alias.
(execl): Call spawnve.
(execle): New function.
(execlp): New function.
(execv): Call spawnve.
(execve): Drop converting NULL envp to emtpy envp.
(execvp): Call spawnve.
(execvpe): Drop converting NULL envp to emtpy envp.  Call spawnve.
(fexecve): Call spawnve.
* spawn.cc (spawnve): Convert NULL envp to emtpy envp.  Remove outdated
comment.
(spawnlp): Call spawnve.
(spawnlpe): Ditto.
(spawnvp): Ditto.
(spawnvpe): Fix formatting.

13 years ago * exec.cc (strccpy): Move function from here...
Corinna Vinschen [Wed, 19 Jan 2011 09:41:54 +0000 (09:41 +0000)]
* exec.cc (strccpy): Move function from here...
* strfuncs.cc (strccpy): ...to here.
* string.h (strccpy): Declare.
* winsup.h (strccpy): Drop declaration.

13 years ago * errno.cc (errmap): Add error codes for invalid binaries.
Corinna Vinschen [Wed, 19 Jan 2011 09:15:17 +0000 (09:15 +0000)]
* errno.cc (errmap): Add error codes for invalid binaries.
* exec.cc (execvp): Call spawnve with _P_PATH_TYPE_EXEC flag
from here.
(execvpe): Ditto.
* spawn.cc (spawn_guts): Filter _P_PATH_TYPE_EXEC from mode and
store in p_type_exec.  Call av::fixup with addtional p_type_exec
argument.
(spawnve): Check for filtered mode.
(spawnvpe): Add _P_PATH_TYPE_EXEC flag when calling spawnve.
(av::fixup): Accept additional bool parameter p_type_exec.  Only check
for script if p_type_exec is true.
* winf.h (_P_PATH_TYPE_EXEC): Define.
(_P_MODE): Define.
(av::fixup): Declare with additional bool parameter.

13 years ago * fhandler_proc.cc (format_proc_partitions): Fix compiler warning.
Corinna Vinschen [Mon, 17 Jan 2011 14:31:30 +0000 (14:31 +0000)]
* fhandler_proc.cc (format_proc_partitions): Fix compiler warning.

13 years ago * path.cc (path_conv::check): Don't follow reparse point symlinks if
Corinna Vinschen [Mon, 17 Jan 2011 14:19:39 +0000 (14:19 +0000)]
* path.cc (path_conv::check): Don't follow reparse point symlinks if
PC_SYM_NOFOLLOW_REP flag is set.
(cygwin_conv_path): Set PC_SYM_NOFOLLOW_REP flag when converting from
POSIX to Win32.
* path.h (enum pathconv_arg): Define PC_SYM_NOFOLLOW_REP flag.

13 years ago * fhandler_proc.cc (proc_tab_cmp): Fix typo in comment.
Corinna Vinschen [Mon, 17 Jan 2011 13:38:06 +0000 (13:38 +0000)]
* fhandler_proc.cc (proc_tab_cmp): Fix typo in comment.
(fhandler_proc::fill_filebuf): Handle return value of 0 from format
function as error.
(format_proc_stat): Set errno when returning 0 size.
(format_proc_partitions): Rewrite method to fetch partition info.

13 years ago * libc/include/sys/types.h (ulong): Add typedef.
Corinna Vinschen [Sat, 15 Jan 2011 09:26:16 +0000 (09:26 +0000)]
* libc/include/sys/types.h (ulong): Add typedef.

13 years agoBackport from Libtool: Fix relink mode to use absolute path if hardcode_minus_L.
Ralf Wildenhues [Thu, 13 Jan 2011 18:52:53 +0000 (18:52 +0000)]
Backport from Libtool: Fix relink mode to use absolute path if hardcode_minus_L.

/:
* ltmain.sh (relink): Use absolute path when hardcoding with -L.

13 years agoport GDB to ia64-hpux (native).
Joel Brobecker [Thu, 13 Jan 2011 16:24:08 +0000 (16:24 +0000)]
port GDB to ia64-hpux (native).

ChangeLog:

        * configure.ac: Remove readline, mmalloc, and gdb from noconfigdirs
        for ia64-hpux.
        * configure: Regenerate.

gdb/ChangeLog:

        * config/ia64/hpux.mh, ia64-hpux-nat.c, ia64-hpux-tdep.c,
        ia64-hpux-tdep.h, solib-ia64-hpux.c, solib-ia64-hpux.h: New files.

        * configure.host: Add handling for ia64-hpux hosts.  Add associated
        floatformats.
        * configure.tgt: Add handling for ia64-hpux targets.
        * Makefile.in (ALL_64_TARGET_OBS): Add ia64-hpux-tdep.o.
        (HFILES_NO_SRCDIR): Add ia64-hpux-tdep.h.
        (ALLDEPFILES): Add ia64-hpux-nat.c ia64-hpux-tdep.c.

13 years agoFix typo, fix copyright
Corinna Vinschen [Thu, 13 Jan 2011 14:00:00 +0000 (14:00 +0000)]
Fix typo, fix copyright

13 years ago * fhandler_disk_file.cc (fhandler_base::fstat_helper): Alwasy set
Corinna Vinschen [Thu, 13 Jan 2011 13:50:02 +0000 (13:50 +0000)]
* fhandler_disk_file.cc (fhandler_base::fstat_helper): Alwasy set
st_size of directories to 0.  Explain why.

13 years agoReally check in now
Corinna Vinschen [Thu, 13 Jan 2011 13:48:12 +0000 (13:48 +0000)]
Really check in now

13 years agoFix ChangeLog entry
Corinna Vinschen [Thu, 13 Jan 2011 11:28:14 +0000 (11:28 +0000)]
Fix ChangeLog entry

13 years ago2011-01-12 Ralf Corsépius <ralf.corsepius@rtems.org>
Jeff Johnston [Wed, 12 Jan 2011 22:25:15 +0000 (22:25 +0000)]
2011-01-12  Ralf Corsépius  <ralf.corsepius@rtems.org>

        * libm/math/w_tgamma.c: Only build ifndef _DOUBLE_IS_32BITS.
        * libm/math/wf_tgamma.c: Map tgamma to tgammaf, ifdef _DOUBLE_IS_32BITS.

13 years ago2011-01-12 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 12 Jan 2011 22:24:06 +0000 (22:24 +0000)]
2011-01-12  Jeff Johnston  <jjohnstn@redhat.com>

        * configure.host: Add noinclude variable to allow specification
        of header files to remove from installation.
        * acinclude.m4: Provide NO_INCLUDE_LIST variable based on
        noinclude variable in configure.host.
        * configure: Regenerated.
        * Makefile.am: Remove all header files in NO_INCLUDE_LIST.
        * Makefile.in: Regenerated.

13 years agomerge from gcc
DJ Delorie [Wed, 12 Jan 2011 19:04:47 +0000 (19:04 +0000)]
merge from gcc

13 years ago * new-features.sgml (ov-new1.7.8): Add "new API" paragraph.
Corinna Vinschen [Wed, 12 Jan 2011 13:16:46 +0000 (13:16 +0000)]
* new-features.sgml (ov-new1.7.8): Add "new API" paragraph.

13 years ago * posix.sgml: Add madvise to BSD list.
Corinna Vinschen [Wed, 12 Jan 2011 13:09:31 +0000 (13:09 +0000)]
* posix.sgml: Add madvise to BSD list.

13 years ago * cygwin.din (madvise): Export posix_madvise as madvise.
Corinna Vinschen [Wed, 12 Jan 2011 13:01:43 +0000 (13:01 +0000)]
* cygwin.din (madvise): Export posix_madvise as madvise.
* include/cygwin/version.h: Bump CYGWIN_VERSION_API_MINOR.
* include/sys/mman.h: Define madvise constants, keep Linux-specific
constants undefined.
(madvise): Declare.

13 years ago * libc/include/linux/sys/signal.h (sig_t): Move from here...
Corinna Vinschen [Wed, 12 Jan 2011 11:49:28 +0000 (11:49 +0000)]
* libc/include/linux/sys/signal.h (sig_t): Move from here...
* libc/include/signal.h (sig_t): ...to here.

13 years ago * fhandler.h (struct part_t): New type.
Corinna Vinschen [Wed, 12 Jan 2011 09:16:51 +0000 (09:16 +0000)]
* fhandler.h (struct part_t): New type.
(class fhandler_dev_floppy): Convert partitions to part_t pointer.
Add lock_partition method.
* fhandler_floppy.cc (fhandler_dev_floppy::lock_partition): New method
to implement ondemand partition locking.
(fhandler_dev_floppy::write_file): Call lock_partition from here if
writing failed due to a potential write restriction on a disk
partition.
(fhandler_dev_floppy::open): Don't lock partitions here.
(fhandler_dev_floppy::close): Keep track of partition handle reference
count.  Close handles and remove partitions pointer ony if count is 0.
(fhandler_dev_floppy::dup): Just copy partitions pointer and increment
reference count.

13 years ago * fhandler.h (MAX_PARTITIONS): New definition.
Corinna Vinschen [Tue, 11 Jan 2011 14:50:45 +0000 (14:50 +0000)]
* fhandler.h (MAX_PARTITIONS): New definition.
(class fhandler_dev_floppy): Add partitions array member.  Add close
method.
* fhandler_floppy.cc (fhandler_dev_floppy::fhandler_dev_floppy): Zero
out partitions array.
(fhandler_dev_floppy::open): Fix "entire disk" condition for call to
DeviceIoControl (FSCTL_ALLOW_EXTENDED_DASD_IO).
When opening disks for writing, call DeviceIoControl (FSCTL_LOCK_VOLUME)
on all affected disk partitions starting with Vista.
(fhandler_dev_floppy::close): New method.
(fhandler_dev_floppy::dup): Duplicate handles in partitions, if any.
* wincap.h (wincaps::has_restricted_raw_disk_access): New element.
* wincap.cc: Implement above element throughout.

13 years agohttp://sourceware.org/ml/gdb-patches/2010-11/msg00112.html
Andrew Burgess [Tue, 11 Jan 2011 14:19:31 +0000 (14:19 +0000)]
http://sourceware.org/ml/gdb-patches/2010-11/msg00112.html
gdb/ChangeLog
* remote-sim.c (gdbsim_store_register): Update API to
sim_store_register to check more error conditions.
include/gdb/ChangeLog
* remote-sim.h (sim_store_register): Update the API
documentation for this function.
sim/erc32/ChangeLog
sim/h8300/ChangeLog
sim/m32c/ChangeLog
sim/mn10300/ChangeLog
sim/ppc/ChangeLog
sim/rx/ChangeLog
sim/v850/ChangeLog
* ???.c (sim_store_register): Update return value to
match new API.

13 years ago * termios.cc (cfgetospeed, cfgetispeed): Constify argument per POSIX.
Corinna Vinschen [Tue, 11 Jan 2011 10:09:23 +0000 (10:09 +0000)]
* termios.cc (cfgetospeed, cfgetispeed): Constify argument per POSIX.
* include/sys/termios.h (cfgetospeed, cfgetispeed): Declare functions.
Move macros after declarations and make conditional on !__cplusplus.

13 years ago * cygtls.cc (_cygtls::init_thread): Call _REENT_INIT_PTR. Drop setting
Corinna Vinschen [Tue, 11 Jan 2011 08:05:51 +0000 (08:05 +0000)]
* cygtls.cc (_cygtls::init_thread): Call _REENT_INIT_PTR.  Drop setting
current locale and calling srand48.

13 years ago * cygcheck.cc (main): don't imply -d from -s option to cygcheck
Corinna Vinschen [Mon, 10 Jan 2011 12:51:02 +0000 (12:51 +0000)]
* cygcheck.cc (main): don't imply -d from -s option to cygcheck

13 years ago * libc/machine/mips/strlen.c (strlen): Add delay slot for R3000.
Corinna Vinschen [Mon, 10 Jan 2011 12:11:55 +0000 (12:11 +0000)]
* libc/machine/mips/strlen.c (strlen): Add delay slot for R3000.

13 years agoFix date
Corinna Vinschen [Mon, 10 Jan 2011 12:10:18 +0000 (12:10 +0000)]
Fix date

13 years ago * Makefile.in (stmp-bsp): Exit when subdirs fail.
Corinna Vinschen [Mon, 10 Jan 2011 12:08:35 +0000 (12:08 +0000)]
* Makefile.in (stmp-bsp): Exit when subdirs fail.
(install): Likewise.

13 years ago * libc/include/string.h: Make strsignal() available unconditionally.
Corinna Vinschen [Mon, 10 Jan 2011 10:59:42 +0000 (10:59 +0000)]
* libc/include/string.h: Make strsignal() available unconditionally.

13 years ago bfd/
Nathan Sidwell [Mon, 10 Jan 2011 08:40:18 +0000 (08:40 +0000)]
bfd/
* reloc.c (BFD_RELOC_ARM_TLS_GOTDESC, BFD_RELOC_ARM_TLS_CALL,
BFD_RELOC_ARM_THM_TLS_CALL, BFD_RELOC_ARM_TLS_DESCSEQ,
BFD_RELOC_ARM_THM_TLS_DESCSEQ, BFD_RELOC_ARM_TLS_DESC): New
relocations.
* libbfd.h: Rebuilt.
* bfd-in2.h: Rebuilt.
* elf32-arm.c (elf32_arm_howto_table_1): Add new relocations.
(elf32_arm_reloc_map): Likewise.
(tls_trampoline, dl_tlsdesc_lazy_trampoline): New PLT templates.
(elf32_arm_stub_long_branch_any_tls_pic,
elf32_arm_stub_long_branch_v4t_thumb_tls_pic): New stub templates.
(DEF_STUBS): Add new stubs.
(struct_elf_arm_obj_data): Add local_tlsdesc_gotent field.
(elf32_arm_local_tlsdesc_gotent): New.
(GOT_TLS_GDESC): New mask.
(GOT_TLS_GD_ANY): Define.
(struct elf32_arm_link_hash_entry): Add tlsdesc_got field.
(elf32_arm_compute_jump_table_size): New.
(struct elf32_arm_link_hash_table): Add next_tls_desc_index,
num_tls_desc, dt_tlsdesc_plt, dt_tlsdesc_got, tls_trampoline,
sgotplt_jump_table_size fields.
(elf32_arm_link_hash_newfunc): Initialize tlsdesc_got field.
(elf32_arm_link_hash_table_create): Initialize new fields.
(arm_type_of_stub): Check TLS desc relocs too.
(elf32_arm_stub_name): TLS desc relocs can be shared.
(elf32_arm_tls_transition): Determine relaxation.
(arm_stub_required_alignment): Add tls stubs.
(elf32_arm_size_stubs): Likewise.
(elf32_arm_tls_relax): Perform TLS relaxing.
(elf32_arm_final_link_relocate): Process TLS DESC relocations.
(IS_ARM_TLS_GNU_RELOC): New.
(IS_ARM_TLS_RELOC): Use it.
(elf32_arm_relocate_section): Perform TLS relaxing.
(elf32_arm_check_relocs): Anticipate TLS relaxing, process tls
desc relocations.
(allocate_dynrelocs): Allocate tls desc relcoations.
(elf32_arm_output_arch_local_syms): Emit tls trampoline mapping
symbols.
(elf32_arm_size_dynamic_sections): Allocate tls trampolines and
got slots.
(elf32_arm_always_size_sections): New. Create _TLS_MODULE_BASE
symbol.
(elf32_arm_finish_dynamic_symbol): Adjust.
(arm_put_trampoline): New.
(elf32_arm_finish_dynamic_sections): Emit new dynamic tags and tls
trampolines.
(elf_backend_always_size_sections): Define.

include/elf/
* arm.h (R_ARM_TLS_DESC, R_ARM_TLS_GOTDESC, R_ARM_TLS_CALL,
R_ARM_TLS_DESCSEQ, T_ARM_THM_TLS_CALL, R_ARM_THM_TLS_DESCSEQ): New
relocations.

gas/
* doc/c-arm.texi: Document TLSDESC and TLSCALL relocations, and
.tlsdescseq directive.
* config/tc-arm.c (arm_typed_reg_parse): Check for potential reloc
following a symbol.
(s_arm_tls_descseq): New directive.
(md_pseudo_table): Add it.
(encode_branch): Allow TLS_CALL relocs too.
(do_t_blx, do_t_branch23): Use encode_branch.
(reloc_names): Add tlsdesc and tlscall.
(md_apply_fix): Process tls desc relocations.
(tc_gen_reloc): Likewise.
(arm_fix_adjustable): Likewise.

gas/testsuite/
* gas/arm/tls.s: Add tlsdesc tests.
* gas/arm/tls.d: Adjust.

ld/testsuite/
* ld-arm/arm-elf.exp: Added tests for new TLS handling
relocations.
* ld-arm/tls-descrelax-be32.d: New.
* ld-arm/tls-descrelax-be32.s: New.
* ld-arm/tls-descrelax-be8.d: New.
* ld-arm/tls-descrelax-be8.s: New.
* ld-arm/tls-descrelax-v7.d: New.
* ld-arm/tls-descrelax-v7.s: New.
* ld-arm/tls-descrelax.d: New.
* ld-arm/tls-descrelax.s: New.
* ld-arm/tls-descseq.d: New.
* ld-arm/tls-descseq.r: New.
* ld-arm/tls-descseq.s: New.
* ld-arm/tls-gdesc-got.d: New.
* ld-arm/tls-gdesc-got.s: New.
* ld-arm/tls-gdesc-nlazy.g: New.
* ld-arm/tls-gdesc-nlazy.s: New.
* ld-arm/tls-gdesc.d: New.
* ld-arm/tls-gdesc.r: New.
* ld-arm/tls-gdesc.s: New.
* ld-arm/tls-gdierelax.d: New.
* ld-arm/tls-gdierelax.s: New.
* ld-arm/tls-gdierelax2.d: New.
* ld-arm/tls-gdierelax2.s: New.
* ld-arm/tls-gdlerelax.d: New.
* ld-arm/tls-gdlerelax.s: New.
* ld-arm/tls-lib-loc.d: New.
* ld-arm/tls-lib-loc.r: New.
* ld-arm/tls-lib-loc.s: New.
* ld-arm/tls-longplt-lib.d: New.
* ld-arm/tls-longplt-lib.s: New.
* ld-arm/tls-longplt.d: New.
* ld-arm/tls-longplt.s: New.
* ld-arm/tls-mixed.r: New.
* ld-arm/tls-mixed.s: New.
* ld-arm/tls-thumb1.d: New.
* ld-arm/tls-thumb1.s: New.
* ld-arm/arm-elf.exp: New.

13 years agoCorrect hexadecimal formatting of double and long double values.
Keith Marshall [Fri, 7 Jan 2011 22:57:00 +0000 (22:57 +0000)]
Correct hexadecimal formatting of double and long double values.

13 years ago2011-01-07 Ralf Corsepius <ralf.corsepius@rtems.org>
Jeff Johnston [Fri, 7 Jan 2011 19:27:33 +0000 (19:27 +0000)]
2011-01-07  Ralf Corsepius  <ralf.corsepius@rtems.org>

        * libc/sys/rtems/crt0.c: Adjust free() and calloc() to match their
        public decls.

13 years ago2011-01-05 Ralf Corsepius <ralf.corsepius@rtems.org>
Jeff Johnston [Wed, 5 Jan 2011 22:48:56 +0000 (22:48 +0000)]
2011-01-05  Ralf Corsepius  <ralf.corsepius@rtems.org>

        * Makefile.am: Move cleaning targ-include to clean-local.
        * Makefile.in: Regenerate.

13 years ago2011-01-05 Ralf Corsepius <ralf.corsepius@rtems.org>
Jeff Johnston [Wed, 5 Jan 2011 17:38:42 +0000 (17:38 +0000)]
2011-01-05  Ralf Corsepius  <ralf.corsepius@rtems.org>

        * libc/stdio/open_memstream.c (internal_open_memstream_r):
        Don't limit c->max to 64*1024 on targets with SIZE_MAX < 64*1024.

13 years ago2011-01-05 Ralf Corsepius <ralf.corsepius@rtems.org>
Jeff Johnston [Wed, 5 Jan 2011 17:23:01 +0000 (17:23 +0000)]
2011-01-05  Ralf Corsepius  <ralf.corsepius@rtems.org>

        * libc/xdr/xdr.c: Fix typos in #errors.

13 years ago2011-01-05 Ralf Corsepius <ralf.corsepius@rtems.org>
Jeff Johnston [Wed, 5 Jan 2011 17:21:23 +0000 (17:21 +0000)]
2011-01-05  Ralf Corsepius  <ralf.corsepius@rtems.org>

        * libc/xdr/xdr_private.h: Include <stdint.h>
        * libc/xdr/xdr_rec.c: Include limits.h

13 years ago2011-01-05 Ralf Corsepius <ralf.corsepius@rtems.org>
Jeff Johnston [Wed, 5 Jan 2011 17:18:16 +0000 (17:18 +0000)]
2011-01-05  Ralf Corsepius  <ralf.corsepius@rtems.org>

        * libc/Makefile.am (SUBDEFS): Remove redundant posix/stmp-def.
        * libc/Makefile.in: Regenerate.

13 years ago2011-01-05 Ralf Corsepius <ralf.corsepius@rtems.org>
Jeff Johnston [Wed, 5 Jan 2011 17:13:24 +0000 (17:13 +0000)]
2011-01-05  Ralf Corsepius  <ralf.corsepius@rtems.org>

        * libc/configure.in: Remove redundant posix_dir processing.
        * libc/configure: Regenerate.

13 years ago* faq-setup.xml (faq.setup.cli): Correct description of -pubkey option
Christopher Faylor [Wed, 5 Jan 2011 16:02:00 +0000 (16:02 +0000)]
* faq-setup.xml (faq.setup.cli): Correct description of -pubkey option

13 years agomerge from gcc
DJ Delorie [Mon, 3 Jan 2011 21:05:50 +0000 (21:05 +0000)]
merge from gcc

13 years ago* ChangeLog-2010: Create from ChangeLog.
Christopher Faylor [Mon, 3 Jan 2011 01:53:19 +0000 (01:53 +0000)]
* ChangeLog-2010: Create from ChangeLog.
* ChangeLog: Start fresh.

13 years agoSync toplevel configure from GCC.
Ralf Wildenhues [Sun, 2 Jan 2011 16:40:07 +0000 (16:40 +0000)]
Sync toplevel configure from GCC.

/:
Sync from GCC:
2010-12-22  Hariharan Sandanagobalane  <hariharan@picochip.com>

* configure.ac: (picochip): Disable libiberty.
* configure: Regenerate.

13 years agorun copyright.sh for 2011.
Joel Brobecker [Sat, 1 Jan 2011 15:33:53 +0000 (15:33 +0000)]
run copyright.sh for 2011.

13 years ago PR gas/11395
John David Anglin [Fri, 31 Dec 2010 16:43:45 +0000 (16:43 +0000)]
PR gas/11395
* config/tc-hppa.c (pa_ip): Revert last change.  Add variable need_cond
to determine whether a 64-bit condition is needed for 'A' and 'S'
conditions.  Default to 32-bit never condition for logical and unit
instructions.  Add error message for missing branch on bit condition.

* hppa.h (pa_opcodes): Revert last change.  Exchange 32 and 64-bit
"bb" entries.

* hppa-dis.c (compare_cond_64_names): Change never condition to ",*".
(add_cond_64_names): Likewise.
(logical_cond_64_names): Likewise.
(unit_cond_64_names): Likewise.

13 years agofix typo in Corinna Vinschen's e-mail address
Michael Frysinger [Fri, 31 Dec 2010 05:29:36 +0000 (05:29 +0000)]
fix typo in Corinna Vinschen's e-mail address

13 years ago Move ChangeLog entry.
John David Anglin [Wed, 29 Dec 2010 16:57:42 +0000 (16:57 +0000)]
Move ChangeLog entry.

13 years ago* cygtls.cc: Include stdlib.h.
Christopher Faylor [Wed, 29 Dec 2010 06:33:30 +0000 (06:33 +0000)]
* cygtls.cc: Include stdlib.h.
(_cygtls::init_thread): Seed random number generator on a per-thread basis.

13 years ago2010-12-27 David Byron <dbyron0@users.sourceforge.net>
Chris Sutcliffe [Mon, 27 Dec 2010 21:26:32 +0000 (21:26 +0000)]
2010-12-27  David Byron  <dbyron0@users.sourceforge.net>

        * include/winioctl.h (STORAGE_BUS_TYPE): Define.

13 years ago2010-12-27 Ozkan Sezer <sezero@users.sourceforge.net>
Chris Sutcliffe [Mon, 27 Dec 2010 21:19:42 +0000 (21:19 +0000)]
2010-12-27  Ozkan Sezer  <sezero@users.sourceforge.net>

        * include/dirent.h (dd_handle): Define as intptr_t.

13 years ago2010-12-27 Seth Jackson <sethj@users.sourceforge.net>
Chris Sutcliffe [Mon, 27 Dec 2010 21:12:35 +0000 (21:12 +0000)]
2010-12-27  Seth Jackson  <sethj@users.sourceforge.net>

        * include/winbase.h (GetComputerNameEx): Define.

13 years ago2010-09-22 Ryan Lortie <desrt@desrt.ca>
Chris Sutcliffe [Mon, 27 Dec 2010 21:07:20 +0000 (21:07 +0000)]
2010-09-22  Ryan Lortie  <desrt@desrt.ca>

        * include/winbase.h (TzSpecificLocalTimeToSystemTime): Define.

13 years ago2010-11-08 Rodrigo Rivas Costa <rodrigorivascosta@gmail.com>
Chris Sutcliffe [Mon, 27 Dec 2010 21:01:13 +0000 (21:01 +0000)]
2010-11-08 Rodrigo Rivas Costa <rodrigorivascosta@gmail.com>

        * tlssup.c (__dyn_tls_init): Use an integer variable to iterate between
        __xd_a and __xd_z.

13 years ago2010-12-27 Markus Koenig <basilo@users.sourceforge.net>
Chris Sutcliffe [Mon, 27 Dec 2010 20:39:42 +0000 (20:39 +0000)]
2010-12-27  Markus Koenig  <basilo@users.sourceforge.net>

        * include/gdiplus/gdipluspixelformats.h (PixelFormatIndexed,
        PixelFormatGDI, PixelFormatAlpha, PixelFormatPAlpha,
        PixelFormatExtended, PixelFormatCanonical, PixelFormatUndefined,
        PixelFormatDontCare, PixelFormat1bppIndexed, PixelFormat4bppIndexed,
        PixelFormat8bppIndexed, PixelFormat16bppGrayScale,
        PixelFormat16bppRGB555, PixelFormat16bppRGB565, PixelFormat16bpp1555,
        PixelFormat24bppRGB, PixelFormat32bppRGB, PixelFormat32bppARGB,
        PixelFormat32bppPARGB, PixelFormat48bppRGB, PixelFormat64bppARGB,
        PixelFormat64bppPARGB, PixelFormatMax): Fix definition.

13 years ago2010-10-20 Seth Jackson <sethj@users.sourceforge.net>
Chris Sutcliffe [Mon, 27 Dec 2010 20:31:59 +0000 (20:31 +0000)]
2010-10-20  Seth Jackson  <sethj@users.sourceforge.net>

        * include/commctrl.h (TC_ITEMHEADER[AW]): Rename to TCITEMHEADER[AW].
        Add defines for backward compatibility.

13 years ago2010-12-27 Johann Hanne <jonnyh33@users.sourceforge.net>
Chris Sutcliffe [Mon, 27 Dec 2010 20:20:15 +0000 (20:20 +0000)]
2010-12-27  Johann Hanne  <jonnyh33@users.sourceforge.net>

        * include/oaidl.h (GetTypeComp, GetTypeComp, IsMatchingType): Fix defintion.
        * include/objidl.h (AddConnection, ReleaseConnection): Ditto.
        * include/winbase.h (EnumResourceLanguagesA, EnumResourceLanguagesW,
        EnumResourceNamesA, EnumResourceNamesW, EnumResourceTypesA,
        EnumResourceTypesW): Ditto.
        * include/winnt.h (_SYSTEM_POWER_CAPABILITIES): Ditto.

13 years ago2010-12-27 Seth Jackson <sethj@users.sourceforge.net>
Chris Sutcliffe [Mon, 27 Dec 2010 19:59:54 +0000 (19:59 +0000)]
2010-12-27  Seth Jackson  <sethj@users.sourceforge.net>

        * include/basetsd.h: (INT8, UINT8, INT16, UINT16): Define.

13 years ago2010-12-27 Paul Sokolovsky <pfalcon@users.sf.net>
Chris Sutcliffe [Mon, 27 Dec 2010 19:15:29 +0000 (19:15 +0000)]
2010-12-27  Paul Sokolovsky  <pfalcon@users.sf.net>

        * include/bdatypes.h: Add missing semicolons.

13 years ago* include/cygwin/version.h: Bump CYGWIN_VERSION_API_MINOR to 234.
Christopher Faylor [Mon, 27 Dec 2010 17:29:25 +0000 (17:29 +0000)]
* include/cygwin/version.h: Bump CYGWIN_VERSION_API_MINOR to 234.

13 years ago PR gas/11395
John David Anglin [Mon, 27 Dec 2010 02:05:14 +0000 (02:05 +0000)]
PR gas/11395
* config/tc-hppa.c (pa_ip): Set doubleword carry/borrow bit when a
doubleword completer or doubleword condition is found in an add/sub
instruction.  Reject match for 'A'/'S' only if there is no condition
and d bit is not set.

* gas/hppa/basic/add2.s: Add test for a simple doubleword carry
instruction.
* gas/hppa/basic/sub2.s: Add tests for simple word and doubleword
borrow instructions.
* gas/hppa/basic/basic.exp: Update regexps for above.

* opcode/hppa.h: Clear "d" bit in "add" and "sub" patterns.

13 years agocygwin:
Christopher Faylor [Sun, 26 Dec 2010 21:11:38 +0000 (21:11 +0000)]
cygwin:
* cygwin.din: Export program_invocation_name and
program_invocation_short_name.
* dcrt0.cc: Set program_invocation*name to correct values, based on
argv[0].
* globals.cc (program_invocation_name): Define.
(program_invocation_short_name): Ditto
newlib:
* libc/include/sys/errno.h (program_invocation_name): Declare.
(program_invocation_short_name): Ditto.

13 years agoinclude/opcode/
Richard Sandiford [Sat, 18 Dec 2010 11:28:25 +0000 (11:28 +0000)]
include/opcode/
* mips.h: Update commentary after last commit.

13 years agoinclude/opcode/
Richard Sandiford [Sat, 18 Dec 2010 11:14:12 +0000 (11:14 +0000)]
include/opcode/
2010-12-14  Mingjie Xing  <mingjie.xing@gmail.com>

* mips.h (OP_*_OFFSET_A, OP_*_OFFSET_B, OP_*_OFFSET_C)
(OP_*_RZ, OP_*_FZ, INSN2_M_FP_D, INSN2_WRITE_GPR_Z, INSN2_WRITE_FPR_Z)
(INSN2_READ_GPR_Z, INSN2_READ_FPR_Z, INSN2_READ_GPR_D): Define.

opcodes/
2010-12-14  Mingjie Xing  <mingjie.xing@gmail.com>

* mips-opc.c (WR_z, WR_Z, RD_z, RD_Z, RD_d): Define.
(mips_builtin_opcodes): Add loongson3a specific instructions.
* mips-dis.c (print_insn_args): Handle the new arguments +a|b|c|z|Z.

gas/
2010-12-14  Mingjie Xing  <mingjie.xing@gmail.com>

* config/tc-mips.c (insn_uses_reg): Handle the new flags
INSN2_READ_FPR_Z, INSN2_READ_GPR_D and INSN2_READ_GPR_Z.
(append_insn): Handle delay-slot filling for the new flags.
(validate_mips_insn): Handle the new arguments +a|b|c|z|Z.
(mips_ip): Handle the new arguments +a|b|c|z|Z.

gas/testsuite/
2010-12-14  Mingjie Xing  <mingjie.xing@gmail.com>

* gas/mips/loongson-3a-2.s, gas/mips/loongson-3a-2.d,
gas/mips/loongson-3a-3.s, gas/mips/loongson-3a-3.d: New tests.
* gas/mips/mips.exp: Run them.

13 years ago2010-12-18 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 17 Dec 2010 22:10:05 +0000 (22:10 +0000)]
2010-12-18  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.LIBGLOSS: Remove the GPL for fr30 target.

13 years agoRemove GPL licencsing
Nick Clifton [Fri, 17 Dec 2010 10:13:31 +0000 (10:13 +0000)]
Remove GPL licencsing

13 years ago2010-12-16 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 16 Dec 2010 21:59:17 +0000 (21:59 +0000)]
2010-12-16  Jeff Johnston  <jjohnstn@redhat.com>

        * NEWS: Update with 1.19.0 info.
        * README: Ditto.
        * MAINTAINERS: Update.
        * acinclude.m4: Change version number to 1.19.0.
        * aclocal.m4: Regenerated.
        * configure: Ditto.
        * Makefile.am: Fix stmp-targ-include target.
        * Makefile.in: Regenerated.
        * doc/aclocal.m4: Ditto.
        * doc/configure: Ditto.
        * libc/*/aclocal.m4: Ditto.
        * libc/*/configure: Ditto.
        * libc/libc.texinfo: Ditto.
        * libm/*/aclocal.m4: Ditto.
        * libm/*/configure: Ditto.
        * libm/libm.texinfo: Ditto.
        * libc/sys/linux/shared.ld: Add VERS_1.19

13 years ago * security.cc (alloc_sd): Really fix erroneous inheritence entry
Corinna Vinschen [Thu, 16 Dec 2010 10:31:09 +0000 (10:31 +0000)]
* security.cc (alloc_sd): Really fix erroneous inheritence entry
duplication now.  Add more comments for clarity.

13 years ago * sec_acl.cc (getacl): Ensure that the default acl contains at least
Corinna Vinschen [Wed, 15 Dec 2010 14:11:03 +0000 (14:11 +0000)]
* sec_acl.cc (getacl): Ensure that the default acl contains at least
DEF_(USER|GROUP|OTHER)_OBJ entries.

13 years ago * security.cc (alloc_sd): Fix erroneous inheritence entry duplication.
Corinna Vinschen [Wed, 15 Dec 2010 13:56:32 +0000 (13:56 +0000)]
* security.cc (alloc_sd): Fix erroneous inheritence entry duplication.

13 years ago2010-12-14 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 14 Dec 2010 22:35:27 +0000 (22:35 +0000)]
2010-12-14  Jeff Johnston  <jjohnstn@redhat.com>

        * Makefile.am: Add support to copy all sub-directories of the
        sys/SYS_DIR/include directory, if they contain header files.
        * Makefile.in: Regenerated.

13 years agoMove gdb ChangeLog entry to gdb/ChangeLog.
H.J. Lu [Tue, 14 Dec 2010 14:50:41 +0000 (14:50 +0000)]
Move gdb ChangeLog entry to gdb/ChangeLog.

13 years agogdb:
Ken Werner [Tue, 14 Dec 2010 10:23:40 +0000 (10:23 +0000)]
gdb:
* valops.c (value_one): Use get_array_bounds to compute the number
of array elements instead of dividing the length of the array by the
length of the element types.
* valarith.c (value_complement, value_neg): Likewise.

13 years ago * syscalls.cc (check_dir_not_empty): Never count more than 3 directory
Corinna Vinschen [Sun, 12 Dec 2010 15:32:45 +0000 (15:32 +0000)]
* syscalls.cc (check_dir_not_empty): Never count more than 3 directory
entries.

13 years ago* init.cc (search_for): Put this in shared section or suffer subtle problems
Christopher Faylor [Sun, 12 Dec 2010 05:48:29 +0000 (05:48 +0000)]
* init.cc (search_for): Put this in shared section or suffer subtle problems
with the tls.
* pinfo.cc (status_exit): Add debug output to report on unexpected exit.
* tls_pbuf.cc (tmp_pathbuf::c_get): Add more details to internal error.

13 years ago * setfacl.c (strchrnul): New function.
Corinna Vinschen [Sat, 11 Dec 2010 20:47:01 +0000 (20:47 +0000)]
* setfacl.c (strchrnul): New function.
(getaclentry): Rewrite.

13 years ago PR bootstrap/46819
Ian Lance Taylor [Fri, 10 Dec 2010 14:50:10 +0000 (14:50 +0000)]
PR bootstrap/46819
* configure.ac: For --disable-libgcj clear libgcj_saved.
* configure: Rebuild.

13 years ago2010-12-10 Tobias Burnus <burnus@net-b.de>
Paolo Bonzini [Fri, 10 Dec 2010 12:09:34 +0000 (12:09 +0000)]
2010-12-10  Tobias Burnus  <burnus@net-b.de>

PR fortran/46540
* configure.ac: Add --disable-libquadmath and
--disable-libquadmath-support.

13 years ago * cyglsa-config: Unset GREP_OPTIONS when calling grep.
Corinna Vinschen [Fri, 10 Dec 2010 10:14:35 +0000 (10:14 +0000)]
* cyglsa-config: Unset GREP_OPTIONS when calling grep.

13 years ago2010-12-10 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Fri, 10 Dec 2010 09:10:49 +0000 (09:10 +0000)]
2010-12-10  Tristan Gingold  <gingold@adacore.com>

        * src-release (ETC_SUPPORT): add gnu-oids.texi

13 years agofix typo
Christopher Faylor [Thu, 9 Dec 2010 21:44:22 +0000 (21:44 +0000)]
fix typo

13 years ago * autoload.cc (RETRY_COUNT): New define.
Corinna Vinschen [Thu, 9 Dec 2010 16:50:36 +0000 (16:50 +0000)]
* autoload.cc (RETRY_COUNT): New define.
(std_dll_init): Restructure loop to retry loading a DLL only if
specific errors occur.  If these errors persist, try to load DLL
with name only.

13 years ago2010-12-08 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 8 Dec 2010 23:22:20 +0000 (23:22 +0000)]
2010-12-08  Jeff Johnston  <jjohnstn@redhat.com>

        * libm/mathfp/sf_logarithm.c: Change isfinitef reference to isfinite.

13 years ago * include/sys/types.h: Add #if defined(__rtems__) around
Corinna Vinschen [Wed, 8 Dec 2010 14:44:06 +0000 (14:44 +0000)]
* include/sys/types.h: Add #if defined(__rtems__) around
pthread_attr_t.guardsize.

* include/pthread.h: Add pthread_attr_setstack, pthread_attr_getstack,
pthread_attr_getguardsize, pthread_attr_setguardsize.
* include/sys/types.h (pthread_attr_t): Add guardsize.

13 years ago * include/strings.h: Remove in favor of equivalent newlib file.
Corinna Vinschen [Wed, 8 Dec 2010 14:28:18 +0000 (14:28 +0000)]
* include/strings.h: Remove in favor of equivalent newlib file.

13 years ago * libc/include/strings.h: Don't include locale.h.
Corinna Vinschen [Wed, 8 Dec 2010 10:28:40 +0000 (10:28 +0000)]
* libc/include/strings.h: Don't include locale.h.

13 years ago * sec_acl.cc (getacl): Set DEF_CLASS_OBJ permissions to 07 instead
Corinna Vinschen [Wed, 8 Dec 2010 10:24:20 +0000 (10:24 +0000)]
* sec_acl.cc (getacl): Set DEF_CLASS_OBJ permissions to 07 instead
of 0777.

13 years agostrings.h: avoid namespace pollution
Eric Blake [Wed, 8 Dec 2010 02:47:14 +0000 (02:47 +0000)]
strings.h: avoid namespace pollution

* libc/include/strings.h: Don't declare removed functions when
requesting POSIX 2008 compliance.

13 years agoFix formatting.
Jeff Johnston [Tue, 7 Dec 2010 21:27:45 +0000 (21:27 +0000)]
Fix formatting.

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