summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 2005-10-06 Ralf Corsepius <ralf.corsepius@rtems.org>Jeff Johnston2005-10-062-0/+95
| | | | * libc/include/stdint.h: Add [u]int_fast<N>_t types.
* * Makefile.def (flags_to_pass): Add OBJDUMP_FOR_TARGET.Daniel Jacobowitz2005-10-066-8/+143
| | | | | | | | | * Makefile.tpl (BASE_TARGET_EXPORTS): Add OBJDUMP. (OBJDUMP_FOR_TARGET, CONFIGURED_OBJDUMP_FOR_TARGET) (USUAL_OBJDUMP_FOR_TARGET): New. (EXTRA_TARGET_FLAGS): Add OBJDUMP. * configure.in: Check for $OBJDUMP_FOR_TARGET. * configure, Makefile: Regenerated.
* 2005-10-05 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini2005-10-053-0/+15
| | | | | * Makefile.tpl (all) [gcc-no-bootstrap]: Make prebootstrap packages before other host packages.
* 2005-10-05 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini2005-10-055-388/+1741
| | | | | | | | | | | | | | | | | | | | | PR bootstrap/22340 * configure.in (default_target): Remove. * Makefile.tpl (all): Do not use prerequisites as subroutines (all) [gcc-bootstrap]: Bootstrap gcc first if it was not done yet. (do-[+make_target+], check, install, [+bootstrap_target+]): Do not use prerequisites as subroutines. (check-host, check-target): New. (bootstrap configure & all targets): Do not use stage*-start if the directory layout is already ok. (non-bootstrap configure & all targets): Prepend a $(unstage). (stage[+id+]-bubble): Do that here. Do not use NOTPARALLEL. (NOTPARALLEL): Remove. (unstage, stage variables): New variables. (unstage, stage targets): Simply expand to those variables. * configure: Regenerate. * Makefile.in: Regenerate.
* Fix mips-elf --enable-libmudflap make -j2 failure.Jim Wilson2005-10-053-0/+8
| | | | | * Makefile.def (lang_env_dependencies): Add libmudflap. * Makefile.in: Regenerate.
* 2005-10-04 Ralf Corsepius <ralf.corsepius@rtems.org>Jeff Johnston2005-10-042-14/+26
| | | | | | * libc/include/stdint.h: Move magic to set __have_long* to the beginning. Use #if __have* instead of #if defined(__have*). Minor typo fixes.
* 2005-10-04 James E Wilson <wilson@specifix.com>Jeff Johnston2005-10-042-5/+8
| | | | | * libc/include/sys/dirent.h (_DIRENT_H_): Delete #include_next. Add #error.
* 2005-10-03 James E Wilson <wilson@specifix.com>Jeff Johnston2005-10-0317-0/+24
| | | | | | | | * mips/array.ld, mips/cfe.ld, mips/ddb-kseg0.ld, mips/ddb.ld, mips/dve.ld, mips/idt.ld, mips/idt32.ld, mips/idt64.ld, mips/idtecoff.ld, mips/jmr3904app-java.ld, mips/jmr3904app.ld, jmr3904dram-java.ld, mips/jmr3904dram.ld, mips/lsi.ld, mips/nullmon.ld, mips/pmon.ld: Add support for .bss.* sections.
* * cygheap.h (class process_lock): New class.Christopher Faylor2005-10-038-23/+49
| | | | | | | | | | | | | | | * dtable.h (class dtable): Add class process_lock as a friend. * dcrt0.cc (get_exit_lock): Delete. (do_exit): Use process_lock class instead of get_exit_lock. * exceptions.cc (signal_exit): Ditto. * pinfo.cc (pinfo::exit): Ditto. (_pinfo::commune_process): Set process lock around this whole function. (_pinfo::commune_request): Use process_lock rather than myself.lock. * pinfo.h (pinfo::_lock): Delete. (pinfo::initialize_lock): Delete. (pinfo::lock): Delete. (pinfo::unlock): Delete. * winsup.h (get_exit_lock): Delete declaration.
* 2005-10-03 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2005-10-032-5/+23
| | | | | * libc/sys/linux/include/stdint.h: Include <sys/types.h> and incorporate Ralf's change below.
* 2005-10-03 Ralf Corsepius <ralf.corsepius@rtems.org>Jeff Johnston2005-10-032-6/+24
| | | | | | | * libc/include/stdint.h: Use __INTMAX_TYPE__ to derive intmax_t. Use __UINTMAX_TYPE__ to derive uintmax_t. Fix minor typo.
* add other optionsChristopher Faylor2005-10-031-0/+7
|
* Regenerated with 2.13 version of autoconf.Catherine Moore2005-10-031-4410/+1934
|
* * configure.in (bfin-*-*): Support bfin.Catherine Moore2005-10-033-1934/+4427
| | | | * configure: Regenerated.
* * uname.cc (uname): Disable use of GetNativeSystemInfo.Corinna Vinschen2005-10-032-0/+10
|
* 2005-10-02 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>Joshua Daniel Franklin2005-10-023-16/+35
| | | | | * faq-what.xml: Add 2003 and WOW64 to "supported" FAQ. * faq-programming.xml: Fix cygexec FAQ, building link.
* * dcrt0.cc (get_exit_lock): Use myself.lock rather than exit_lock.Christopher Faylor2005-10-027-30/+56
| | | | | | | | | | * exceptions.cc (exit_lock): Delete. (events_init): Don't init exit_lock. * (_pinfo::commune_process): Add per-PICOM debugging. * sigproc.cc (talktome): Add some temporary debugging statements. * fhandler_proc.cc (format_proc_cpuinfo): Cosmetic change. (format_proc_partitions): Ditto. * syscalls.cc (locked_append): Ditto.
* * dcrt0.cc (do_exit): Don't set ES_SET_MUTO here. Call get_exit_lock()Christopher Faylor2005-09-305-12/+38
| | | | | | | | | | | | instead. (get_exit_lock): New function. Grabs the lock and sets initial exit_state. * exceptions.cc (try_to_debug): Use low_priority_sleep. (sigpacket::process): Avoid handler if this is an exec stub. (signal_exit): Use get_exit_lock rather than manipulating the exit_lock critical section directly. * pinfo.cc (pinfo::exit): Ditto. * winsup.h (get_exit_lock): Declare. (exit_lock): Delete declaration.
* * dis-asm.h (print_insn_bfin): Declare.Catherine Moore2005-09-305-0/+1774
| | | | | | * elf/bfin.h: New file. * elf/common.h (EM_BLACKFIN): Define. * opcode/bfin.h: New file.
* 2005-09-30 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2005-09-303-2/+7
| | | | | * configure.in (*-*-darwin*): Build bfd, binutils and opcodes. * configure: Regenerated.
* Fix typo.Corinna Vinschen2005-09-301-1/+1
|
* * fhandler_disk_file.cc: Change calls to pc.set_attributes intoCorinna Vinschen2005-09-303-4/+9
| | | | | calls to pc.file_attributes throughout. * path.h (class path_conv): Remove superfluous set_attributes method.
* * fhandler_floppy.cc (fhandler_dev_floppy::get_drive_info): UseCorinna Vinschen2005-09-302-2/+9
| | | | | fhandler method to access majoer device number. Add comment to explain floppy weirdness.
* * fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Also useCorinna Vinschen2005-09-302-0/+7
| | | | | attributes stored in this->pc if call to GetFileInformationByHandle failed.
* * fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Only writeCorinna Vinschen2005-09-302-2/+7
| | | | attributes if call to GetFileInformationByHandle was successful.
* * fork.cc (frok::parent): Simplify error messages. Don't issue an error whenChristopher Faylor2005-09-302-11/+24
| | | | | child.remember fails. (fork): When appropriate, build up an error message from grouped.error.
* * fhandler_floppy.cc (fhandler_dev_floppy::get_drive_info): Don't callCorinna Vinschen2005-09-292-1/+13
| | | | EX ioctls on floppy drives.
* * dir.cc (mkdir): Check for trailing /. or /.. component.Corinna Vinschen2005-09-293-0/+39
| | | | | | (rmdir): Ditto. * path.cc (has_dot_last_component): New function. * path.h (has_dot_last_component): Add declaration.
* * crt0.cc: Remove PPC considerations.Corinna Vinschen2005-09-292-9/+9
| | | | (WinMainCRTStartup): Add symbol as alias to mainCRTStartup.
* Index: ChangeLogGeoffrey Keating2005-09-296-8/+262
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-09-28 Geoffrey Keating <geoffk@apple.com> * Makefile.tpl (BASE_TARGET_EXPORTS): Add LIPO, STRIP. (LIPO_FOR_TARGET): New. (CONFIGURED_LIPO_FOR_TARGET): New. (USUAL_LIPO_FOR_TARGET): New. (STRIP_FOR_TARGET): New. (CONFIGURED_STRIP_FOR_TARGET): New. (USUAL_STRIP_FOR_TARGET): New. * Makefile.def (flags_to_pass): Add LIPO_FOR_TARGET and STRIP_FOR_TARGET. * configure.in: Set LIPO_FOR_TARGET, STRIP_FOR_TARGET, CONFIGURED_LIPO_FOR_TARGET, CONFIGURED_STRIP_FOR_TARGET. * Makefile.in: Regenerate. * configure.in: Regenerate. Index: gcc/ChangeLog 2005-09-28 Geoffrey Keating <geoffk@apple.com> * Makefile.in: Export LIPO_FOR_TARGET, STRIP_FOR_TARGET. (stage1-start): Delete old libgcc and libunwind before moving anything into the stage directory. (stage2-start): Likewise. (stage3-start): Likewise. (stage4-start): Likewise. (stageprofile-start): Likewise. (stagefeedback-start): Likewise. * config.gcc (*-*-darwin*): Automatically use CPU-specific darwin.h header in tm_file and CPU-specific t-darwin in tmake_file. (i[34567]86-*-darwin*): Don't change tm_file. (powerpc-*-darwin*): Don't change tm_file or tmake_file. * config/darwin.h (REAL_LIBGCC_SPEC): Rewrite to use proper libgcc shared library stub for target OS version. * config/t-slibgcc-darwin (SHLIB_SOLINK): Delete. (SHLIB_LINK): Don't make SHLIB_SOLINK. (SHLIB_INSTALL): Don't install SHLIB_SOLINK. (libgcc_s.%.dylib): New. (LIBGCC): Define. (install-darwin-libgcc-stubs): New. (INSTALL_LIBGCC): New append. * config/i386/darwin-libgcc.10.4.ver: New. * config/i386/darwin-libgcc.10.5.ver: New. * config/i386/t-darwin: New. * config/rs6000/darwin-libgcc.10.4.ver: New. * config/rs6000/darwin-libgcc.10.5.ver: New. * config/rs6000/darwin.h (REAL_LIBGCC_SPEC): Delete. * config/rs6000/t-darwin (SHLIB_VERPFX): Define.
* Fix typo.Christopher Faylor2005-09-281-2/+2
|
* Change name from commune_recv to commune_process throughout. Change name fromChristopher Faylor2005-09-286-249/+219
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commune_send to commune_request throughout. * pinfo.h (PICOM_EXTRASTR): New flag. (PICOM_FIFO): Define with new flag. (_pinfo::hello_pid): Delete. (_pinfo::tothem): Delete. (_pinfo::fromthem): Delete. (_pinfo::commune_process): Rename from commune_recv. Add a siginfo_t argument to declaration. (_pinfo::commune_request): Rename from commune_send. Change DWORD to __uint32_t in declaration. * pinfo.cc (_pinfo::commune_process): Rename from commune_recv. Add siginfo_t argument. Use information from argument rather than reading from another pipe. Synchronize with other process's commune event. (_pinfo::commune_request): Rename from commune_send. Change DWORD to __uint32 in argument. Fill out information in new siginfo_t element and rely on extended operation of sig_send rather than trying to deal with synchronization issues here. Use process handle and read pipe information filled out by sig_send to gather information from the other process. * sigproc.cc (sig_send): Take special action if "communing" to ensure synchronization with the other process and to return information about the other process to the caller. (talktome): Accept a siginfo_t and handle arguments. Read additional information from the signal pipe when _si_commune._si_code has the PICOM_EXTRASTR flag set. (wait_sig): Pass the transmitted siginfo_t struct and the pipe handle to talktome. Close pipe read handle as soon as possible after we detect that we're exiting.
* * hookapi.cc (hook_or_detect_cygwin): Correct inverted test for whether toChristopher Faylor2005-09-282-1/+6
| | | | allocate a buffer by always allocating a buffer.
* * fhandler.h (class fhandler_dev_raw): Delete current_position andCorinna Vinschen2005-09-286-343/+425
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | eof_detected status flag. Delete is_eom and is_eof methods. Move drive_size, bytes_per_sector, eom_detected status flag, as well as the methods read_file, write_file, raw_read and raw_write to ... (class fhandler_dev_floppy): ... here. Remove is_eom and is_eof methods. Add dup method. * fhandler_floppy.cc (IS_EOM): New macro. (fhandler_dev_floppy::is_eom): Remove. (fhandler_dev_floppy::is_eof): Remove. (fhandler_dev_floppy::fhandler_dev_floppy): Initialize status flags. (fhandler_dev_floppy::get_drive_info): Only call EX functions on systems supporting them and stop suffering strange delays. (fhandler_dev_floppy::read_file): Move here, drop setting current_position. (fhandler_dev_floppy::write_file): Move here, drop setting current_position. (fhandler_dev_floppy::open): Rearrange comment. (fhandler_dev_floppy::dup): New method. (fhandler_dev_floppy::get_current_position): New inline method. Use instead of former current_position were appropriate. (fhandler_dev_floppy::raw_read): Move here. Drop EOF handling. (fhandler_dev_floppy::raw_write): Move here. Drop EOF handling. (fhandler_dev_floppy::lseek): Remove useless conditions. Convert sector_aligned_offset to LARGE_INTEGER to improve SetFilePointer call. (fhandler_dev_floppy::ioctl): Move blocksize check in RDSETBLK case to here. * fhandler_raw.cc (fhandler_dev_raw::is_eom): Remove. (fhandler_dev_raw::is_eof): Remove. (fhandler_dev_raw::write_file): Remove. (fhandler_dev_raw::read_file): Remove. (fhandler_dev_raw::raw_read): Remove. (fhandler_dev_raw::raw_write): Remove. (fhandler_dev_raw::dup): Drop copying removed members. (fhandler_dev_raw::ioctl): Drop blocksize testing. * wincap.h: Implement has_disk_ex_ioctls throughout. * wincap.cc: Ditto. (wincap_vista): Preliminary wincaps for Windows Vista/Longhorn. (wincapc::init): Add Vista/Longhorn handling.
* Revert erroneous checkin.Corinna Vinschen2005-09-2826-501/+173
|
* * fhandler.h (class fhandler_dev_raw): Delete current_position andCorinna Vinschen2005-09-2826-173/+501
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | eof_detected status flag. Delete is_eom and is_eof methods. Move drive_size, bytes_per_sector, eom_detected status flag, as well as the methods read_file, write_file, raw_read and raw_write to ... (class fhandler_dev_floppy): ... here. Remove is_eom and is_eof methods. Add dup method. * fhandler_floppy.cc (IS_EOM): New macro. (fhandler_dev_floppy::is_eom): Remove. (fhandler_dev_floppy::is_eof): Remove. (fhandler_dev_floppy::fhandler_dev_floppy): Initialize status flags. (fhandler_dev_floppy::get_drive_info): Only call EX functions on systems supporting them and stop suffering strange delays. (fhandler_dev_floppy::read_file): Move here, drop setting current_position. (fhandler_dev_floppy::write_file): Move here, drop setting current_position. (fhandler_dev_floppy::open): Rearrange comment. (fhandler_dev_floppy::dup): New method. (fhandler_dev_floppy::get_current_position): New inline method. Use instead of former current_position were appropriate. (fhandler_dev_floppy::raw_read): Move here. Drop EOF handling. (fhandler_dev_floppy::raw_write): Move here. Drop EOF handling. (fhandler_dev_floppy::lseek): Remove useless conditions. Convert sector_aligned_offset to LARGE_INTEGER to improve SetFilePointer call. (fhandler_dev_floppy::ioctl): Move blocksize check in RDSETBLK case to here. * fhandler_raw.cc (fhandler_dev_raw::is_eom): Remove. (fhandler_dev_raw::is_eof): Remove. (fhandler_dev_raw::write_file): Remove. (fhandler_dev_raw::read_file): Remove. (fhandler_dev_raw::raw_read): Remove. (fhandler_dev_raw::raw_write): Remove. (fhandler_dev_raw::dup): Drop copying removed members. (fhandler_dev_raw::ioctl): Drop blocksize testing. * wincap.h: Implement has_disk_ex_ioctls throughout. * wincap.cc: Ditto. (wincap_vista): Preliminary wincaps for Windows Vista/Longhorn. (wincapc::init): Add Vista/Longhorn handling.
* * dcrt0.cc (getstack): New function.Christopher Faylor2005-09-284-64/+131
| | | | | | | | | | | | | | | | (alloc_stack): Use tls stuff for stack info rather than calling VirtualQuery. (dll_crt0_0): Initialize _impure_ptr stuff much earlier. Move init_console_handler here. * fork.cc (class frok): New class renamed from local fork() struct. (stack_base): Change argument type. Use tls stuff to determine stack info rather than calling VirtualQuery. (frok::child): Rename from fork_child. Eliminate now unneeded arguments. (frok::parent): Rename from fork_parent and ditto. Set error and errno as appropriate. Fixup impersonation in cleanup, if needed. Try harder to set errno appropriately. (fork): Define "grouped" as a frok type. Deal with errors from fork_parent here. * init.cc (dll_entry): Remove init_console_handler call.
* * pinfo.cc (_pinfo::dup_proc_pipe): Ignore error if the child process has justChristopher Faylor2005-09-282-1/+7
| | | | gone away.
* * init.cc (prime_threads): Make this static, as it should be.Christopher Faylor2005-09-282-3/+10
| | | | (dll_entry): Apply cosmetic changes to define closer to the way MSDN suggests.
* 2005-09-27 Ralf Corsepius <ralf.corsepius@rtems.org>Jeff Johnston2005-09-272-2/+9
| | | | | * libc/include/stdint.h: Correct __STDINT_EXP macro incorrectly handling GCC >= 4.
* * pthread.cc (mangle_sem_name): Use cygheap->shared_prefix insteadCorinna Vinschen2005-09-272-5/+13
| | | | of fiddling with wincap.has_terminal_services manually.
* * cygheap.cc (cygheap_init): Add GLOBAL_PRIV to hProcToken explicitelyCorinna Vinschen2005-09-273-8/+14
| | | | | | since hProcImpToken isn't initialized here. * shared.cc (open_shared): Always print mapname instead of name in debug output.
* * strace.cc (strace::vsprntf): Avoid printing a zero pid.Christopher Faylor2005-09-272-1/+5
|
* * init.cc (dll_entry): Call IsWow64Process with GetCurrentProcessCorinna Vinschen2005-09-272-1/+6
| | | | as process handle since hMainProc isn't initialized here.
* * fhandler_floppy.cc (fhandler_dev_floppy::get_drive_info): AlwaysCorinna Vinschen2005-09-272-27/+69
| | | | | | | try IOCTL_DISK_GET_DRIVE_GEOMETRY_EX and IOCTL_DISK_GET_PARTITION_INFO_EX ioctls first, to allow access to GPT partitioned disks. Fall back to old non-EX ioctls otherwise. Add comment to explain NT4 weirdness.
* * libiberty.h (expandargv): New function.Mark Mitchell2005-09-262-0/+7
| | | | | | | | | * argv.c (safe-ctype.h): Include it. (ISBLANK): Remove. (stdio.h): Include. (buildargv): Use ISSPACE instead of ISBLANK. (expandargv): New function. * Makefile.in: Regenerated.
* * errno.cc (errmap): Map ERROR_SEEK and ERROR_SECTOR_NOT_FOUND.Corinna Vinschen2005-09-262-0/+6
|
* * exceptions.cc (_cygtls::call_signal_handler): Minor cleanup.Christopher Faylor2005-09-262-3/+9
|
* * fhandler.h (class fhandler_dev_raw): Add drive information membersCorinna Vinschen2005-09-264-148/+124
| | | | | | | | | | | | | | | | | | | drive_size, current_position and bytes_per_sector. (fhandler_dev_floppy::get_drive_info): Declare. * fhandler_floppy.cc (fhandler_dev_floppy::is_eom): Define ERROR_SEEK and ERROR_SECTOR_NOT_FOUND as end-of-medium conditions. (fhandler_dev_floppy::get_drive_info): New method to have one function retrieving drive info. (fhandler_dev_floppy::open): Call get_drive_info to get drive information right from the start. (fhandler_dev_floppy::lseek): Use and set drive information members. Especially keep track of current_position. (fhandler_dev_floppy::ioctl): Ditto. * fhandler_raw.cc (fhandler_dev_raw::write_file): Keep track of current_position. (fhandler_dev_raw::read_file): Ditto. (fhandler_dev_raw::raw_read): Never try to read beyond end-of-medium. (fhandler_dev_raw::dup): Handle new drive information members.
* * exceptions.cc (handle_exceptions): Just si_code to SI_KERNEL first and let itChristopher Faylor2005-09-264-7/+35
| | | | | | | | | | be overridden. * exceptions.cc (_cygtls::call_signal_handler): Call signal handler with extra siginfo_t * and void * parameters when SA_SIGINFO flag is set. * signal.cc (signal): Clear SA_SIGINFO flag. (sigqueue): Fix incorrect setting of si_code. * sigproc.cc (signal_fixup_after_exec): Clear SA_SIGINFO flag when setting handler to SIG_DFL.