summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add ChangeLog: * include/winbase.h (GetProcessId): Declare.Christopher Faylor2005-10-113-1/+7
| | | | Revert erroneous include/winsock.h checkin.
* revert erroneous checkinChristopher Faylor2005-10-112-6/+2
|
* * Makefile.in: Make sure that directories are created prior to copying to them.Christopher Faylor2005-10-112-0/+9
|
* * Makefile.common (CFLAGS_COMMON): Add -Wstrict-aliasing.Christopher Faylor2005-10-116-4/+13
|
* * net.cc (cygwin_gethostbyname): Remove debugging.Christopher Faylor2005-10-112-3/+4
|
* * syslog.cc (try_connect_syslogd): Add priority parameter. Use writevCorinna Vinschen2005-10-112-15/+37
| | | | | | | to add the priority to the message in a syslog conformant way. (vsyslog): If facility isn't set in the priority, use default facility as given in call to openlog. Fix agressive use of spaces in syslog output. Call try_connect_syslogd with priority parameter.
* * (symlink_info::set_error): Change to return bool if input error should beChristopher Faylor2005-10-112-7/+25
| | | | | ignored. (symlink_info::check): Treat path as a normal file if set_error returns false.
* * configure.in (arm-*-linux-gnueabi): Add to noconfigdirsKazu Hirata2005-10-093-76/+91
| | | | | | target-libffi, target-qthreads, target-libjava, and targetlibobjc. * configure: Regenerate.
* * config/tc-hppa.c (strict): Don't initialize. Update comment.John David Anglin2005-10-082-84/+151
| | | | | | | | | | (pa_ip): Promote from PA 1.0 to 1.1 immediately when 1.1 match is found. Simplify handling of "ma" and "mb" completers. * hppa.h (FLAG_STRICT): Revise comment. (pa_opcode): Revise ordering rules. Add/move strict pa10 variants before corresponding pa11 opcodes. Add strict pa10 register-immediate entries for "fdc".
* 2005-10-08 Paul Brook <paul@codesourcery.com>Paul Brook2005-10-082-0/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bfd/ * elf32-arm.c: Move #include "elf/arm.h" after libbfd.h. (NUM_KNOWN_ATTRIBUTES): Define. (aeabi_attribute, aeabi_attribute_list): Define. (elf32_arm_obj_tdata): Add known_eabi_attributes and other_eabi_attributes. (uleb128_size, is_default_attr, eabi_attr_size, elf32_arm_eabi_attr_size, write_uleb128, write_eabi_attribute, elf32_arm_set_eabi_attr_contents, elf32_arm_bfd_final_link, elf32_arm_new_eabi_attr, attr_strdup, elf32_arm_add_eabi_attr_int, elf32_arm_add_eabi_attr_compat, copy_eabi_attributes, elf32_arm_merge_eabi_attributes): New functions. (elf32_arm_copy_private_bfd_data): Copy EABI object attributes. (elf32_arm_fake_sections): Handle .ARM.attributes. (elf32_arm_parse_attributes): New function. (elf32_arm_section_from_shdr): Use it. (bfd_elf32_bfd_final_link): Define. gas/ * config/tc-arm.c: Don't provide fallback default for CPU_DEFAULT. (arm_arch_used, thumb_arch_used, selected_cpu, selected_cpu_name): New variables. (arm_cpu_option_table): Add canonical_name. (arm_cpus): Populate canonical_name field. (s_arm_eabi_attribute, s_arm_arch, s_arm_cpu, s_arm_fpu, aeabi_set_public_attributes, arm_md_end): New functions. (md_pseudo_table): Add "cpu", "arch", "fpu" and "eabi_attribute". (md_assemble): Set thumb_arch_used and arm_arch_used. (md_begin): Set defaut cpu if CPU_DEFAULT not defined. * config/tc-arm.h (md_end): Define. * doc/c-arm.texi: Document .cpu, .arch, .fpu and .eabi_attribute. gas/testsuite/ * gas/arm/eabi_attr_1.s: New test. * gas/arm/eabi_attr_1.d: New test. * gas/arm/arm7t.d: Only disassemble code sections. * gas/arm/bignum1.d: Ignore Arm object attribute sections. * gas/arm/mapping.d: Ditto. * gas/arm/unwind.d: Ditto. * gas/elf/section0.d: Ditto. * gas/elf/section1.d: Ditto. * gas/elf/elf.exp: Set target_machine for Arm EABI based targets. * gas/elf/section2.e-armeabi: New file. include/elf/ * arm.h: Add prototypes for BFD object attribute routines. ld/testsuite/ * ld-arm/arm-rel31.d: Ignore Arm object attribute sections. * ld-arm/arm-target1-abs.d: Ditto. * ld-arm/arm-target1-rel.d: Ditto. * ld-arm/arm-target2-abs.d: Ditto. * ld-arm/arm-target2-got-rel.d: Ditto. * ld-arm/arm-target2-rel.d: Ditto.
* * mingwex/fegetenv.c (fegetenv): Restore exception masks.Danny Smith2005-10-083-7/+13
| | | | | * mingwex/feholdexcept.c (feholdexcept): Don't set exceptions to non-stop. Use "fnclex" to clear exception flags.
* 2005-10-07 Bob Wilson <bob.wilson@acm.org>Jeff Johnston2005-10-072-0/+17
| | | | | * libc/stdlib/mallocr.c (mALLOc, rEALLOCc, mEMALIGn): Set errno to ENOMEM on failure.
* 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.