Corinna Vinschen
95a5c969ab
* 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.
2011-01-11 14:50:45 +00:00
Andrew Burgess
5837aa428f
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.
2011-01-11 14:19:31 +00:00
Corinna Vinschen
b7d4651e3e
* 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.
2011-01-11 10:09:23 +00:00
Corinna Vinschen
cd441f06e2
* cygtls.cc (_cygtls::init_thread): Call _REENT_INIT_PTR. Drop setting
...
current locale and calling srand48.
2011-01-11 08:05:51 +00:00
Corinna Vinschen
0a18555e4f
* cygcheck.cc (main): don't imply -d from -s option to cygcheck
2011-01-10 12:51:02 +00:00
Corinna Vinschen
1991358fe5
* libc/machine/mips/strlen.c (strlen): Add delay slot for R3000.
2011-01-10 12:11:55 +00:00
Corinna Vinschen
33cdc2a420
Fix date
2011-01-10 12:10:18 +00:00
Corinna Vinschen
ffe6f55e45
* Makefile.in (stmp-bsp): Exit when subdirs fail.
...
(install): Likewise.
2011-01-10 12:08:35 +00:00
Corinna Vinschen
84ca64afa6
* libc/include/string.h: Make strsignal() available unconditionally.
2011-01-10 10:59:42 +00:00
Nathan Sidwell
6e179dda3f
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.
2011-01-10 08:40:18 +00:00
Keith Marshall
98ac2593b0
Correct hexadecimal formatting of double and long double values.
2011-01-07 22:57:00 +00:00
Jeff Johnston
a81dfe76fe
2011-01-07 Ralf Corsepius <ralf.corsepius@rtems.org>
...
* libc/sys/rtems/crt0.c: Adjust free() and calloc() to match their
public decls.
2011-01-07 19:27:33 +00:00
Jeff Johnston
ebb0c523d7
2011-01-05 Ralf Corsepius <ralf.corsepius@rtems.org>
...
* Makefile.am: Move cleaning targ-include to clean-local.
* Makefile.in: Regenerate.
2011-01-05 22:48:56 +00:00
Jeff Johnston
c0e3c29150
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.
2011-01-05 17:38:42 +00:00
Jeff Johnston
f559c264a9
2011-01-05 Ralf Corsepius <ralf.corsepius@rtems.org>
...
* libc/xdr/xdr.c: Fix typos in #errors.
2011-01-05 17:23:01 +00:00
Jeff Johnston
973929f99e
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
2011-01-05 17:21:23 +00:00
Jeff Johnston
a8b560b15d
2011-01-05 Ralf Corsepius <ralf.corsepius@rtems.org>
...
* libc/Makefile.am (SUBDEFS): Remove redundant posix/stmp-def.
* libc/Makefile.in: Regenerate.
2011-01-05 17:18:16 +00:00
Jeff Johnston
c35ba525fc
2011-01-05 Ralf Corsepius <ralf.corsepius@rtems.org>
...
* libc/configure.in: Remove redundant posix_dir processing.
* libc/configure: Regenerate.
2011-01-05 17:13:24 +00:00
Christopher Faylor
969dd6dff9
* faq-setup.xml (faq.setup.cli): Correct description of -pubkey option
2011-01-05 16:02:00 +00:00
DJ Delorie
e7c3f7aa6e
merge from gcc
2011-01-03 21:05:50 +00:00
Christopher Faylor
8b0be52ba0
* ChangeLog-2010: Create from ChangeLog.
...
* ChangeLog: Start fresh.
2011-01-03 01:53:19 +00:00
Ralf Wildenhues
013cfaa1a2
Sync toplevel configure from GCC.
...
/:
Sync from GCC:
2010-12-22 Hariharan Sandanagobalane <hariharan@picochip.com>
* configure.ac: (picochip): Disable libiberty.
* configure: Regenerate.
2011-01-02 16:40:07 +00:00
Joel Brobecker
d681b6d32c
run copyright.sh for 2011.
2011-01-01 15:33:53 +00:00
John David Anglin
ad586bebac
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.
2010-12-31 16:43:45 +00:00
Michael Frysinger
af7c827ae9
fix typo in Corinna Vinschen's e-mail address
2010-12-31 05:29:36 +00:00
John David Anglin
9d95238634
Move ChangeLog entry.
2010-12-29 16:57:42 +00:00
Christopher Faylor
2be50cacae
* cygtls.cc: Include stdlib.h.
...
(_cygtls::init_thread): Seed random number generator on a per-thread basis.
2010-12-29 06:33:30 +00:00
Chris Sutcliffe
c27459e675
2010-12-27 David Byron <dbyron0@users.sourceforge.net>
...
* include/winioctl.h (STORAGE_BUS_TYPE): Define.
2010-12-27 21:26:32 +00:00
Chris Sutcliffe
d01906b839
2010-12-27 Ozkan Sezer <sezero@users.sourceforge.net>
...
* include/dirent.h (dd_handle): Define as intptr_t.
2010-12-27 21:19:42 +00:00
Chris Sutcliffe
48defac76a
2010-12-27 Seth Jackson <sethj@users.sourceforge.net>
...
* include/winbase.h (GetComputerNameEx): Define.
2010-12-27 21:12:35 +00:00
Chris Sutcliffe
c65bfdfadc
2010-09-22 Ryan Lortie <desrt@desrt.ca>
...
* include/winbase.h (TzSpecificLocalTimeToSystemTime): Define.
2010-12-27 21:07:20 +00:00
Chris Sutcliffe
c3abd2abe8
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.
2010-12-27 21:01:13 +00:00
Chris Sutcliffe
8eb8d27274
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.
2010-12-27 20:39:42 +00:00
Chris Sutcliffe
be26f8bde5
2010-10-20 Seth Jackson <sethj@users.sourceforge.net>
...
* include/commctrl.h (TC_ITEMHEADER[AW]): Rename to TCITEMHEADER[AW].
Add defines for backward compatibility.
2010-12-27 20:31:59 +00:00
Chris Sutcliffe
036f657a2b
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.
2010-12-27 20:20:15 +00:00
Chris Sutcliffe
83304a3ecc
2010-12-27 Seth Jackson <sethj@users.sourceforge.net>
...
* include/basetsd.h: (INT8, UINT8, INT16, UINT16): Define.
2010-12-27 19:59:54 +00:00
Chris Sutcliffe
39e8c3f232
2010-12-27 Paul Sokolovsky <pfalcon@users.sf.net>
...
* include/bdatypes.h: Add missing semicolons.
2010-12-27 19:15:29 +00:00
Christopher Faylor
c8d1848d07
* include/cygwin/version.h: Bump CYGWIN_VERSION_API_MINOR to 234.
2010-12-27 17:29:25 +00:00
John David Anglin
6b6e397671
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.
2010-12-27 02:05:14 +00:00
Christopher Faylor
589e430baa
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.
2010-12-26 21:11:38 +00:00
Richard Sandiford
d64bda8409
include/opcode/
...
* mips.h: Update commentary after last commit.
2010-12-18 11:28:25 +00:00
Richard Sandiford
68ab795133
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.
2010-12-18 11:14:12 +00:00
Jeff Johnston
afeb58b9ae
2010-12-18 Jeff Johnston <jjohnstn@redhat.com>
...
* COPYING.LIBGLOSS: Remove the GPL for fr30 target.
2010-12-17 22:10:05 +00:00
Nick Clifton
f67bdf6d9d
Remove GPL licencsing
2010-12-17 10:13:31 +00:00
Jeff Johnston
321b046c80
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
2010-12-16 21:59:17 +00:00
Corinna Vinschen
9296807af3
* security.cc (alloc_sd): Really fix erroneous inheritence entry
...
duplication now. Add more comments for clarity.
2010-12-16 10:31:09 +00:00
Corinna Vinschen
e445b7c336
* sec_acl.cc (getacl): Ensure that the default acl contains at least
...
DEF_(USER|GROUP|OTHER)_OBJ entries.
2010-12-15 14:11:03 +00:00
Corinna Vinschen
38042584f3
* security.cc (alloc_sd): Fix erroneous inheritence entry duplication.
2010-12-15 13:56:32 +00:00
Jeff Johnston
8d73754622
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.
2010-12-14 22:35:27 +00:00
H.J. Lu
d766a78b07
Move gdb ChangeLog entry to gdb/ChangeLog.
2010-12-14 14:50:41 +00:00