summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * exec.cc: Include pinfo.h.Corinna Vinschen2011-01-205-16/+30
| | | | | | | | | | * 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.
* * spawn.cc (av::fixup): Reenable #! handling for all exec functions.Corinna Vinschen2011-01-192-19/+19
| | | | | Return ENOEXEC in !p_type_exec case only for unrecognized files. Fix comment formatting.
* * exec.cc (execlp): Add missing _P_PATH_TYPE_EXEC flag in call toCorinna Vinschen2011-01-192-1/+7
| | | | spawnve.
* * exec.cc: Rearrange functions in alphabetical order.Corinna Vinschen2011-01-193-36/+94
| | | | | | | | | | | | | | | | | | (_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.
* * exec.cc (strccpy): Move function from here...Corinna Vinschen2011-01-195-20/+25
| | | | | | * strfuncs.cc (strccpy): ...to here. * string.h (strccpy): Declare. * winsup.h (strccpy): Drop declaration.
* * errno.cc (errmap): Add error codes for invalid binaries.Corinna Vinschen2011-01-195-11/+72
| | | | | | | | | | | | | | | | * 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.
* * fhandler_proc.cc (format_proc_partitions): Fix compiler warning.Corinna Vinschen2011-01-172-1/+5
|
* * path.cc (path_conv::check): Don't follow reparse point symlinks ifCorinna Vinschen2011-01-173-8/+19
| | | | | | | 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.
* * fhandler_proc.cc (proc_tab_cmp): Fix typo in comment.Corinna Vinschen2011-01-172-84/+151
| | | | | | | (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.
* * libc/include/sys/types.h (ulong): Add typedef.Corinna Vinschen2011-01-152-0/+5
|
* Backport from Libtool: Fix relink mode to use absolute path if hardcode_minus_L.Ralf Wildenhues2011-01-132-1/+5
| | | | | /: * ltmain.sh (relink): Use absolute path when hardcoding with -L.
* port GDB to ia64-hpux (native).Joel Brobecker2011-01-133-4/+10
| | | | | | | | | | | | | | | | | | | | 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.
* Fix typo, fix copyrightCorinna Vinschen2011-01-132-2/+2
|
* * fhandler_disk_file.cc (fhandler_base::fstat_helper): Alwasy setCorinna Vinschen2011-01-132-1/+13
| | | | st_size of directories to 0. Explain why.
* Really check in nowCorinna Vinschen2011-01-131-0/+1
|
* Fix ChangeLog entryCorinna Vinschen2011-01-131-1/+1
|
* 2011-01-12 Ralf Corsépius <ralf.corsepius@rtems.org>Jeff Johnston2011-01-123-0/+23
| | | | | * libm/math/w_tgamma.c: Only build ifndef _DOUBLE_IS_32BITS. * libm/math/wf_tgamma.c: Map tgamma to tgammaf, ifdef _DOUBLE_IS_32BITS.
* 2011-01-12 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2011-01-126-2/+37
| | | | | | | | | | * 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.
* merge from gccDJ Delorie2011-01-122-1/+5
|
* * new-features.sgml (ov-new1.7.8): Add "new API" paragraph.Corinna Vinschen2011-01-122-0/+9
|
* * posix.sgml: Add madvise to BSD list.Corinna Vinschen2011-01-122-0/+5
|
* * cygwin.din (madvise): Export posix_madvise as madvise.Corinna Vinschen2011-01-123-4/+34
| | | | | | | * include/cygwin/version.h: Bump CYGWIN_VERSION_API_MINOR. * include/sys/mman.h: Define madvise constants, keep Linux-specific constants undefined. (madvise): Declare.
* * libc/include/linux/sys/signal.h (sig_t): Move from here...Corinna Vinschen2011-01-123-1/+6
| | | | * libc/include/signal.h (sig_t): ...to here.
* * fhandler.h (struct part_t): New type.Corinna Vinschen2011-01-123-67/+193
| | | | | | | | | | | | | | | (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.
* * fhandler.h (MAX_PARTITIONS): New definition.Corinna Vinschen2011-01-115-7/+112
| | | | | | | | | | | | | | | (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.
* http://sourceware.org/ml/gdb-patches/2010-11/msg00112.htmlAndrew Burgess2011-01-112-5/+12
| | | | | | | | | | | | | | | | | | 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.
* * termios.cc (cfgetospeed, cfgetispeed): Constify argument per POSIX.Corinna Vinschen2011-01-113-5/+15
| | | | | * include/sys/termios.h (cfgetospeed, cfgetispeed): Declare functions. Move macros after declarations and make conditional on !__cplusplus.
* * cygtls.cc (_cygtls::init_thread): Call _REENT_INIT_PTR. Drop settingCorinna Vinschen2011-01-112-3/+7
| | | | current locale and calling srand48.
* * cygcheck.cc (main): don't imply -d from -s option to cygcheckCorinna Vinschen2011-01-102-3/+7
|
* * libc/machine/mips/strlen.c (strlen): Add delay slot for R3000.Corinna Vinschen2011-01-102-0/+7
|
* Fix dateCorinna Vinschen2011-01-101-1/+1
|
* * Makefile.in (stmp-bsp): Exit when subdirs fail.Corinna Vinschen2011-01-102-2/+7
| | | | (install): Likewise.
* * libc/include/string.h: Make strsignal() available unconditionally.Corinna Vinschen2011-01-102-1/+5
|
* bfd/Nathan Sidwell2011-01-102-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Correct hexadecimal formatting of double and long double values.Keith Marshall2011-01-072-72/+32
|
* 2011-01-07 Ralf Corsepius <ralf.corsepius@rtems.org>Jeff Johnston2011-01-072-2/+7
| | | | | * libc/sys/rtems/crt0.c: Adjust free() and calloc() to match their public decls.
* 2011-01-05 Ralf Corsepius <ralf.corsepius@rtems.org>Jeff Johnston2011-01-053-5/+16
| | | | | * Makefile.am: Move cleaning targ-include to clean-local. * Makefile.in: Regenerate.
* 2011-01-05 Ralf Corsepius <ralf.corsepius@rtems.org>Jeff Johnston2011-01-052-0/+7
| | | | | * libc/stdio/open_memstream.c (internal_open_memstream_r): Don't limit c->max to 64*1024 on targets with SIZE_MAX < 64*1024.
* 2011-01-05 Ralf Corsepius <ralf.corsepius@rtems.org>Jeff Johnston2011-01-052-2/+6
| | | | * libc/xdr/xdr.c: Fix typos in #errors.
* 2011-01-05 Ralf Corsepius <ralf.corsepius@rtems.org>Jeff Johnston2011-01-053-0/+7
| | | | | * libc/xdr/xdr_private.h: Include <stdint.h> * libc/xdr/xdr_rec.c: Include limits.h
* 2011-01-05 Ralf Corsepius <ralf.corsepius@rtems.org>Jeff Johnston2011-01-053-4/+7
| | | | | * libc/Makefile.am (SUBDEFS): Remove redundant posix/stmp-def. * libc/Makefile.in: Regenerate.
* 2011-01-05 Ralf Corsepius <ralf.corsepius@rtems.org>Jeff Johnston2011-01-053-38/+10
| | | | | * libc/configure.in: Remove redundant posix_dir processing. * libc/configure: Regenerate.
* * faq-setup.xml (faq.setup.cli): Correct description of -pubkey optionChristopher Faylor2011-01-052-1/+5
|
* merge from gccDJ Delorie2011-01-035-5/+5
|
* * ChangeLog-2010: Create from ChangeLog.Christopher Faylor2011-01-032-3102/+3106
| | | | * ChangeLog: Start fresh.
* Sync toplevel configure from GCC.Ralf Wildenhues2011-01-023-0/+14
| | | | | | | | | /: Sync from GCC: 2010-12-22 Hariharan Sandanagobalane <hariharan@picochip.com> * configure.ac: (picochip): Disable libiberty. * configure: Regenerate.
* run copyright.sh for 2011.Joel Brobecker2011-01-0115-16/+20
|
* PR gas/11395John David Anglin2010-12-312-7/+13
| | | | | | | | | | | | | | | * 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.
* fix typo in Corinna Vinschen's e-mail addressMichael Frysinger2010-12-312-1/+5
|
* Move ChangeLog entry.John David Anglin2010-12-292-5/+5
|