summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* .Christopher Faylor2005-01-281-3/+0
|
* * callback.h (struct host_callback_struct): New members pipe,Hans-Peter Nilsson2005-01-282-0/+38
| | | | | | pipe_empty, pipe_nonempty, ispipe, pipe_buffer and target_sizeof_int. (CB_SYS_pipe): New macro.
* * callback.h: Include "bfd.h".Hans-Peter Nilsson2005-01-282-0/+13
| | | | | (struct host_callback_struct): New member target_endian. (cb_store_target_endian): Declare.
* 2005-01-27 Hans-Peter Nilsson <hp@axis.com>Jeff Johnston2005-01-2718-0/+4253
| | | | | | | | | | | | | | * configure.host: Add support for cris-*-* and crisv32-*-*. * libc/include/machine/ieeefp.h: Ditto. * libc/include/machine/setjmp.h: Ditto. * libc/machine/cris/configure.in, libc/machine/cris/Makefile.am, libc/machine/cris/libcdtor.c, libc/machine/cris/setjmp.c, libc/machine/cris/memmove.c, libc/machine/cris/memcpy.c, libc/machine/cris/memset.c, libc/machine/cris/include/pthread.h, libc/machine/cris/sys/signal.h, libc/machine/cris/sys/fcntl.h, libc/machine/cris/sys/errno.h, libc/machine/cris/aclocal.m4, libc/machine/cris/configure, libc/machine/cris/Makefile.in: New files.
* 2005-01-27 Hans-Peter Nilsson <hp@axis.com>Jeff Johnston2005-01-2716-50/+2665
| | | | | | | | | | * configure.in: Support cris-*-* and crisv32-*-*. * libnosys/configure.in: Ditto. * configure, libnosys/configure: Regenerate. * cris: New directory. * cris/crt0.S, cris/crtn.c, cris/gensyscalls, cris/linunistd.h, cris/outbyte.c, cris/configure.in, cris/crti.c, cris/lcrt0.c, cris/Makefile.in, cris/setup.S, cris/configure: New files.
* 2005-01-27 Oliver Stoeneberg <oliverst@online.de>Danny Smith2005-01-272-2/+6
| | | | * include/winbase.h (PWIN32_FIND_DATA): Add typedef.
* 2005-01-27 Hans-Peter Nilsson <hp@axis.com>Jeff Johnston2005-01-272-0/+188
| | | | * testsuite/newlib.string/memmove1.c: New test.
* Update previous ChangeLog entry with missing info.Jeff Johnston2005-01-271-0/+1
|
* 2005-01-27 Hans-Peter Nilsson <hp@axis.com>Jeff Johnston2005-01-272-0/+5
| | | | * testsuite/include/check.h: Include stdlib.h.
* 2005-01-27 Hans-Peter Nilsson <hp@axis.com>Jeff Johnston2005-01-273-0/+26
| | | | | | * Makefile.am (stmp-targ-include): Support include header files from machine directories. * Makefile.in: Regenerate.
* 2005-01-27 Andrew Cagney <cagney@gnu.org>Andrew Cagney2005-01-272-2/+6
| | | | * gettext.m4: Don't use NONE as a default for CATOBJEXT.
* 2005-01-26 Oliver Stoeneberg <oliverst@online.de>Danny Smith2005-01-272-0/+13
| | | | | * include/malloc.h: Add missing return code defines for _heapwalk()
* * pinfo.cc (pinfo::init): Avoid a compiler warning.Christopher Faylor2005-01-262-2/+5
|
* * syscalls.cc (setpriority): Implement PRIO_PGRP, PRIO_USER andCorinna Vinschen2005-01-262-10/+123
| | | | | | setting priority in other Cygwin processes. (getpriority): Implement PRIO_PGRP, PRIO_USER and getting nice value from other processes.
* * include/winuser.h (SW_SMOOTHSCROLL): Add define.Danny Smith2005-01-262-0/+8
|
* 2005-01-26 Pierre Humblet <pierre.humblet@ieee.org>Pierre Humblet2005-01-262-15/+11
| | | | | | * path.cc (path_conv::check): Return ENOTDIR rather than ENOENT when a component is not a directory. Remove unreachable code. (digits): Delete.
* * pinfo.h (pinfo::init): Make third parameter non-optional and propagate changeChristopher Faylor2005-01-264-58/+69
| | | | | | | | throughout. * pinfo.cc (set_myself): Pass INVALID_HANDLE_POINTER if h is NULL. (pinfo::init): Make third parameter non-optional. Eliminate use of PID_EXECED as an argument. Put setting of handle back inside loop but reorganize to try to open it only when necessary.
* * cygwin.din: Export getpriority and setpriority.Corinna Vinschen2005-01-2515-45/+189
| | | | | | | | | | | | | | | | | | | | | | * fork.cc (fork_parent): Copy parent's nice value into child. * spawn.cc (spawn_guts): Ditto. * miscfuncs.cc (winprio_to_nice): New function. (nice_to_winprio): Ditto. * pinfo.cc (pinfo_init): If parent is not a Cygwin process, set default nice value according to current Win32 priority class. * pinfo.h (class _pinfo): Add nice member. * syscalls.cc (setpriority): New function, only implementing PRIO_PROCESS for now. (getpriority): Ditto. (nice): Just call setpriority. * wincap.h (wincaps::has_extended_priority_class): New element. * wincap.cc: Implement above element throughout. * winsup.h: Add prototypes for winprio_to_nice and nice_to_winprio. * include/limits.h (NZERO): New define. * include/cygwin/types.h (id_t): New datatype. * include/cygwin/version.h: Bump API minor version. * include/sys/resource.h: Add PRIO_XXX defines and prototypes for getpriority and setpriority.
* * path.cc (realpath): Allow to expand with .exe suffix.Corinna Vinschen2005-01-252-1/+6
|
* bfd/ChangeLog:Alexandre Oliva2005-01-254-2/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-12-10 Alexandre Oliva <aoliva@redhat.com> * elf32-frv.c (elf32_frv_relocate_section): Force local binding for TLSMOFF. * reloc.c: Add R_FRV_TLSMOFF. * elf32-frv.c (elf32_frv_howto_table): Likewise. (frv_reloc_map, frv_reloc_type_lookup): Map it. (elf32_frv_relocate_section): Handle it. (elf32_frv_check_relocs): Likewise. * libbfd.h, bfd-in2.h: Rebuilt. 2004-11-26 Alexandre Oliva <aoliva@redhat.com> * elf32-frv.c (_frvfdpic_emit_got_relocs_plt_entries): Don't crash when given an undefweak TLS symbol. Fix constant TLS PLT entries such that they return the constant in gr9. (_frvfdpic_relax_tls_entries): Don't crash for undefweak TLS symbols. (_frvfdpic_size_got_plt): Set _cooked_size of dynamic sections. too, such that they shrink on relaxation. (elf32_frvfdpic_finish_dynamic_sections): Check __ROFIXUP_END__ as marking the position right past the _GLOBAL_OFFSET_TABLE_ value. (_frvfdpic_assign_plt_entries): Shrink constant TLS PLT entries if we can guarantee the use of 16-bit constants. 2004-11-10 Alexandre Oliva <aoliva@redhat.com> Introduce TLS support for FR-V FDPIC. * reloc.c: Add TLS relocations. * elf32-frv.c (elf32_frv_howto_table): Add TLS relocations. (elf32_frv_rel_tlsdesc_value_howto): New. (elf32_frv_rel_tlsoff_howto): New. (frv_reloc_map): Add new mappings. (struct frvfdpic_elf_link_hash_table): Add pointer to summary reloc information. (frvfdpic_dynamic_got_plt_info): New. (frvfdpic_plt_tls_ret_offset): New. (ELF_DYNAMIC_INTERPRETER, DEFAULT_STACK_SIZE): Move earlier. (struct _frvfdpic_dynamic_got_info): Likewise. Add TLS members. (struct _frvfdpic_dynamic_got_plt_info): Likewise. (FRVFDPIC_SYM_LOCAL): Regard symbols defined in the absolute section as local. (struct frvfdpic_relocs_info): Add TLS fields. (frvfdpic_relocs_info_hash): Warning clean up. (frvfdpic_relocs_info_find): Initialize tlsplt_entry. (frvfdpic_pic_merge_early_relocs_info): Merge TLS fields. (FRVFDPIC_TLS_BIAS): Define. (tls_biased_base): New. (_frvfdpic_emit_got_relocs_plt_entries): Deal with TLS relocations. (frv_reloc_type_lookup): Likewise. (frvfdpic_info_to_howto_rel): Likewise. (elf32_frv_relocate_section): Likewise. (_frv_create_got_section): Create the PLT section here. (elf32_frvfdpic_create_dynamic_sections): Not here. (_frvfdpic_count_nontls_entries): Move out of... (_frvfdpic_count_got_plt_entries): ... here. (_frvfdpic_count_tls_entries): Likewise. Add TLS support. (_frvfdpic_count_relocs_fixups): Likewise. Add relaxation support. (_frvfdpic_relax_tls_entries): New. (_frvfdpic_compute_got_alloc_data): Add TLS support. (_frvfdpic_get_tlsdesc_entry): New. (_frvfdpic_assign_got_entries): Add TLS support. (_frvfdpic_assign_plt_entries): Likewise. (_frvfdpic_reset_got_plt_entries): New. (_frvfdpic_size_got_plt): Move out of... (elf32_frvfdpic_size_dynamic_sections): ... here. (_frvfdpic_relax_got_plt_entries): New. (elf32_frvfdpic_relax_section): New. (elf32_frvfdpic_finish_dynamic_sections): Add TLS sanity check. (elf32_frv_check_relocs): Add TLS support. (bfd_elf32_bfd_relax_section): Define for FDPIC. * libbfd.h, bfd-in2.h: Rebuilt. cpu/ChangeLog: 2004-11-10 Alexandre Oliva <aoliva@redhat.com> * frv.cpu: Add support for TLS annotations in loads and calll. * frv.opc (parse_symbolic_address): New. (parse_ldd_annotation): New. (parse_call_annotation): New. (parse_ld_annotation): New. (parse_ulo16, parse_uslo16): Use parse_symbolic_address. Introduce TLS relocations. (parse_d12, parse_s12, parse_u12): Likewise. (parse_uhi16): Likewise. Fix constant checking on 64-bit host. (parse_call_label, print_at): New. gas/ChangeLog: * config/tc-frv.c (md_apply_fix3): Mark TLS symbols as such. 2004-12-10 Alexandre Oliva <aoliva@redhat.com> * config/tc-frv.c (frv_pic_ptr): Add tlsmoff support. 2004-11-10 Alexandre Oliva <aoliva@redhat.com> * cgen.c (gas_cgen_parse_operand): Handle CGEN_PARSE_OPERAND_SYMBOLIC. * config/tc-frv.c (md_cgen_lookup_reloc): Handle TLS relocations. (frv_force_relocation): Likewise. Fix handling of PIC relocations. (md_apply_fix3): Likewise. include/elf/ChangeLog: 2004-12-10 Alexandre Oliva <aoliva@redhat.com> * frv.h: Add R_FRV_TLSMOFF. 2004-11-10 Alexandre Oliva <aoliva@redhat.com> * frv.h: Add TLS relocations. include/opcode/ChangeLog: 2004-11-10 Alexandre Oliva <aoliva@redhat.com> * cgen.h (enum cgen_parse_operand_type): Add CGEN_PARSE_OPERAND_SYMBOLIC. ld/testsuite/ChangeLog: * ld-frv/fdpic.exp: Add -mfdpic to ASFLAGS. * ld-frv/tls.exp: Likewise. 2004-11-26 Alexandre Oliva <aoliva@redhat.com> * ld-frv/tls-3.s: New. * ld-frv/tls-static-3.d: New. * ld-frv/tls-dynamic-3.d: New. * ld-frv/tls-pie-3.d: New. * ld-frv/tls-shared-3.d: New. * ld-frv/tls-relax-static-3.d: New. * ld-frv/tls-relax-dynamic-3.d: New. * ld-frv/tls-relax-pie-3.d: New. * ld-frv/tls-relax-shared-3.d: New. * ld-frv/tls.exp: Run the new tests. * ld-frv/tls-dynamic-2.d: Adjust for improved relaxation. * ld-frv/tls-relax-dynamic-2.d: Likewise. * ld-frv/tls-relax-initial-shared-2.d: Likewise. 2004-11-10 Alexandre Oliva <aoliva@redhat.com> * ld-frv/tls-1-dep.s: New. * ld-frv/tls-1-shared.lds: New. * ld-frv/tls-1.s: New. * ld-frv/tls-2.s: New. * ld-frv/tls-dynamic-1.d: New. * ld-frv/tls-dynamic-2.d: New. * ld-frv/tls-initial-shared-2.d: New. * ld-frv/tls-pie-1.d: New. * ld-frv/tls-relax-dynamic-1.d: New. * ld-frv/tls-relax-dynamic-2.d: New. * ld-frv/tls-relax-initial-shared-2.d: New. * ld-frv/tls-relax-pie-1.d: New. * ld-frv/tls-relax-shared-1.d: New. * ld-frv/tls-relax-shared-2.d: New. * ld-frv/tls-relax-static-1.d: New. * ld-frv/tls-shared-1-fail.d: New. * ld-frv/tls-shared-1.d: New. * ld-frv/tls-shared-2.d: New. * ld-frv/tls-static-1.d: New. * ld-frv/tls.exp: New. * ld-frv/fdpic-pie-1.d: Adjust for 64-bit host. * ld-frv/fdpic-pie-2.d: Likewise. * ld-frv/fdpic-pie-6.d: Likewise. * ld-frv/fdpic-pie-7.d: Likewise. * ld-frv/fdpic-pie-8.d: Likewise. * ld-frv/fdpic-shared-1.d: Likewise. * ld-frv/fdpic-shared-2.d: Likewise. * ld-frv/fdpic-shared-3.d: Likewise. * ld-frv/fdpic-shared-4.d: Likewise. * ld-frv/fdpic-shared-5.d: Likewise. * ld-frv/fdpic-shared-6.d: Likewise. * ld-frv/fdpic-shared-7.d: Likewise. * ld-frv/fdpic-shared-8.d: Likewise. * ld-frv/fdpic-shared-local-2.d: Likewise. * ld-frv/fdpic-shared-local-8.d: Likewise. * ld-frv/fdpic-static-1.d: Likewise. * ld-frv/fdpic-static-2.d: Likewise. * ld-frv/fdpic-static-6.d: Likewise. * ld-frv/fdpic-static-7.d: Likewise. * ld-frv/fdpic-static-8.d: Likewise. opcodes/ChangeLog: 2004-11-10 Alexandre Oliva <aoliva@redhat.com> * frv-asm.c: Rebuilt. * frv-desc.c: Rebuilt. * frv-desc.h: Rebuilt. * frv-dis.c: Rebuilt. * frv-ibld.c: Rebuilt. * frv-opc.c: Rebuilt. * frv-opc.h: Rebuilt.
* 2005-01-24 Andrew Cagney <cagney@gnu.org>Andrew Cagney2005-01-242-3/+7
| | | | * gettext.m4: Only fall back to ../intl/ when it's present.
* 2005-01-24 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2005-01-244-2/+20
| | | | | | | | * libc/include/string.h: Remove Linux-specific declaration of strsignal and add #include <sys/string.h>. * libc/include/sys/string.h: New file. * libc/include/sys/linux/sys/string.h: New file with strsignal declaration deleted above.
* * warnings.m4 (ACX_PROG_CC_WARNING_ALMOST_PEDANTIC): Don't doJoseph Myers2005-01-232-4/+11
| | | | anything for non-GCC compilers.
* * install.texinfo: Add live CD, registry information.Joshua Daniel Franklin2005-01-222-4/+25
|
* * spawn.cc (spawn_guts): Perform same "cd" as in pinfo::exit below to make sureChristopher Faylor2005-01-223-11/+24
| | | | | that a stub process does not keep the current working directory busy after the "execed" process has exited.
* * pinfo.cc (pinfo::init): Move everything but the MapViewOfFileEx out of theChristopher Faylor2005-01-222-57/+77
| | | | | | | | loop since trying multiple times to call CreateFileMapping doesn't make much sense. Try to structure the loop a little better so that exiting with a break does the right thing. (pinfo::release): Release shared memory area if it exists and close handle if it exists.
* * how-programming.texinfo: Add details about building a debugging version of ↵Joshua Daniel Franklin2005-01-225-56/+62
| | | | | | | the DLL. * how-using.texinfo: Correct rxvt README location. * install.texinfo: Add mount -m note to uninstall instructions.
* * pinfo.cc (pinfo::maybe_set_exit_code_from_windows): Make sure that processChristopher Faylor2005-01-222-1/+15
| | | | | | | has exited before getting an error code. (pinfo::exit): "cd" to innocuous location before exiting to make sure that process does not keep the current working directory busy while it is in the process of really exiting.
* * how-programming.texinfo: Remove obsolete w32api instructions and add someChristopher Faylor2005-01-222-10/+11
| | | | words about unpacking net release .tar.bz2.
* 2005-01-21 Hans-Peter Nilsson <hp@axis.com>Jeff Johnston2005-01-212-2/+7
| | | | * libnosys/warning.h (stub_warning): Remove "warning: " prefix.
* 2005-01-21 Fred Fish <fnf@specifixinc.com>Fred Fish2005-01-212-3/+9
| | | | | | * mips.h: Change INSN_ALIAS to INSN2_ALIAS. Change INSN_WRITE_MDMX_ACC to INSN2_WRITE_MDMX_ACC. Change INSN_READ_MDMX_ACC to INSN2_READ_MDMX_ACC.
* 2005-01-21 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2005-01-212-1/+8
| | | | * include/commdlg.h (OFN_DONTADDTORECENT): Added definition.
* 2005-01-20 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2005-01-202-17/+103
| | | | | | | * libc/time/strftime.c (strftime): Change %r and %x to be compliant to POSIX standard for "C" locale. Allow %E and %O modifiers to be ignored as long as they precede valid specifiers according to POSIX.
* 2005-01-19 Shaun Jackman <sjackman@gmail.com>Jeff Johnston2005-01-202-1/+6
| | | | | * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ environment variable is set.
* 2005-01-19 Fred Fish <fnf@specifixinc.com>Fred Fish2005-01-192-4/+21
| | | | | | | | | * mips.h (struct mips_opcode): Add new pinfo2 member. (INSN_ALIAS): New define for opcode table entries that are specific instances of another entry, such as 'move' for an 'or' with a zero operand. (INSN_READ_MDMX_ACC): Redefine from 0 to 0x2. (INSN_WRITE_MDMX_ACC): Redefine from 0 to 0x4.
* 2005-01-19 Shaun Jackman <sjackman@gmail.com>Jeff Johnston2005-01-192-1/+5
| | | | * tzset_r.c (_tzname): Add a comma.
* 2005-01-17 Kelley Cook <kcook@gcc.gnu.org>R. Kelley Cook2005-01-193-11/+19
| | | | * install-sh, config.sub: Import from upstream.
* 2005-01-13 Kelley Cook <kcook@gcc.gnu.org>R. Kelley Cook2005-01-194-2/+11
| | | | | | | PR bootstrap/18222 * Makefile.def: Pass CPPFLAGS_FOR_TARGET. * Makefile.tpl: Define target CPPFLAGS on CPPFLAGS_FOR_TARGET. * Makefile.in: Regenerate.
* 2005-01-18 Hans-Peter Nilsson <hp@axis.com>Jeff Johnston2005-01-182-2/+8
| | | | | | * libnosys/warning.h (link_warning) [HAVE_GNU_LD and HAVE_ELF]: Prefix symbol in section name with __SYMBOL_PREFIX. Do not use __make_section_unallocated. Mark magic variable as used.
* 2005-01-18 Hans-Peter Nilsson <hp@axis.com>Jeff Johnston2005-01-183-29/+59
| | | | | | | | | | * libnosys/configure.in (libc_cv_asm_previous_directive): Set cache-id variable. (libc_cv_asm_popsection_directive): Ditto. (libc_cv_section_attributes): Ditto. (libc_symbol_prefix): Rename from libc_dollar_prefix. Check for "_" as well, and set __SYMBOL_PREFIX accordingly. * libnosys/configure: Regenerate.
* 2005-01-18 Hans-Peter Nilsson <hp@axis.com>Jeff Johnston2005-01-182-4/+9
| | | | | * libnosys/Makefile.in (LD, AS): Correct obsoleted suffix: Say as-new and ld-new, not as.new and ld.new.
* * libc/machine/powerpc/vfprintf.c: Use _REENT when callingAldy Hernandez2005-01-182-2/+6
| | | | _VFPRINTF_R.
* * autoload.cc (CoInitialize): Remove.Corinna Vinschen2005-01-183-75/+163
| | | | | | | | | | | | | | | | | (CoUninitialize): Remove. (CoCreateInstance): Remove. (CoTaskMemFree): Add. (SHGetDesktopFolder): Add. * path.cc (shortcut_header): Remove. (shortcut_initalized): Remove. (GUID_shortcut): New static GUID. (struct win_shortcut_hdr): New struct describing Windows shortcut header structure. (symlink_worker): Rewrite creating Windows shortcuts. Create ITEMIDLIST if target exists. Only write once. (cmp_shortcut_header): Use win_shortcut_hdr structure for comparison. (check_shortcut): Rewrite to read only once from file. Allow skipping an ITIMIDLIST in the file.
* * lib/user32.def (MonitorFromPoint}: Correct suffix.Danny Smith2005-01-182-1/+5
|
* Fix SH2A machine variants in order to correctly select instruction inheritanceNick Clifton2005-01-172-2/+17
|
* * include/sys/stat.h (struct __stat64): Change st_size type toDanny Smith2005-01-173-2/+8
| | | | | __int64. * include/wchar.h (struct __stat64): Change st_size type to __int64.
* * pinfo.h (maybe_set_exit_code_from_windows): Renamed from set_exit_state.Christopher Faylor2005-01-174-11/+35
| | | | | | | | | | * pinfo.cc (pinfo::exit): Use renamed function. (proc_waiter): Ditto. Make a copy of input argument to avoid problems when procs array is shuffled. Flag when copy is made so that remove_proc knows when it is safe to reshuffle. * sigproc.cc (proc_terminate): Don't flag process_state as PID_EXITED. (remove_proc): Wait for waiter to finish copying pinfo element before moving it (an actual wait should be an extremely rare event).
* * ps.cc (main): Eliminate use of PID_ZOMBIE.Christopher Faylor2005-01-163-3/+22
| | | | | | | * strace.cc (main): Recognize new option for displaying hex value of strace type. (handle_output_debug_string): Prepend output with hex value of strace message if -H is specified.
* * init.cc (dll_entry): Remove unused extern.Christopher Faylor2005-01-168-31/+51
| | | | | | | | | | | | | | | | | | | | | | * include/sys/cygwin.h: Remove PID_ZOMBIE. * pinfo.h: Rename EXITCODE_* defines. (pinfo::set_exit_state): Remove parameter. * pinfo.cc (set_exit_state): Remove parameter. Reverse sense of test so that exitcode is checked for having been set rather than not having been set. Set flag when exitcode has been established. Don't set PID_STATE here. (pinfo::init): Remove exitcode initialization. (pinfo::exit): Reflect change in EXITCODE_* naming. Set flag when exitcode has been established. Reflect change in arguments to set_process_state. (proc_waiter): Reflect change in arguments to set_process_state. Set process_state here and only here. * fhandler_process.cc (fhandler_process::fill_filebuf): Reflect removal of PID_ZOMBIE define. (format_process_stat): Ditto. (format_process_status): Ditto. * sigproc.cc (pid_exists): Ditto. (stopped_or_terminated): Ditto. Make sure that only low-order 16 bits of exitcode are used. * spawn.cc (spawn_guts): Reflect change in EXITCODE_* naming.
* * sigproc.cc (sig_send): Don't complain if attempt to send signal to myselfChristopher Faylor2005-01-152-2/+7
| | | | fails after I've "execed".