]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
16 years ago2007-12-07 Bob Wilson <bob.wilson@acm.org>
Bob Wilson [Fri, 7 Dec 2007 22:52:08 +0000 (22:52 +0000)]
2007-12-07  Bob Wilson  <bob.wilson@acm.org>

include/elf/
* xtensa.h (R_XTENSA_32_PCREL): New.

bfd/
* elf32-xtensa.c (elf_howto_table): Add R_XTENSA_32_PCREL.
(elf_xtensa_reloc_type_lookup): Handle BFD_RELOC_32_PCREL.
(elf_xtensa_check_relocs): Use default case for all relocations that
need nothing done here.
(elf_xtensa_do_reloc): Compute self_address for all relocation types.
Handle R_XTENSA_32_PCREL.
(elf_xtensa_relocate_section): Check for R_XTENSA_32_PCREL for dynamic
symbols.
(check_section_ebb_pcrels_fit): Ignore R_XTENSA_32_PCREL relocations.

gas/
* config/tc-xtensa.c (O_pcrel): Define.
(suffix_relocs): Add pcrel suffix.
(md_pseudo_table): Add 4byte and 2byte directives.
(xtensa_elf_cons): Pass correct pcrel argument to fix_new_exp.
(xg_assemble_literal): Likewise.  Check for O_pcrel.
(expression_maybe_register): Reorganize.  Handle BFD_RELOC_32_PCREL.
(xg_valid_literal_expression): Allow O_pcrel.
(md_pcrel_from, md_apply_fix): Handle BFD_RELOC_32_PCREL.
(tc_gen_reloc): Fix punctuation in error message.

gas/testsuite/
* gas/xtensa/all.exp: Run new pcrel test.
* gas/xtensa/err-pcrel.s: New.
* gas/xtensa/pcrel.d: New.
* gas/xtensa/pcrel.s: New.
* gas/xtensa/xtensa-err.exp: New.

16 years ago * regtool.cc (opts): Add missing 'W'.
Corinna Vinschen [Fri, 7 Dec 2007 09:37:46 +0000 (09:37 +0000)]
* regtool.cc (opts): Add missing 'W'.

16 years ago * include/sys/cygwin.h: Include limits.h.
Corinna Vinschen [Fri, 7 Dec 2007 09:37:14 +0000 (09:37 +0000)]
* include/sys/cygwin.h: Include limits.h.

16 years ago * ps.cc: Include limits.h.
Corinna Vinschen [Thu, 6 Dec 2007 18:26:18 +0000 (18:26 +0000)]
* ps.cc: Include limits.h.
(main): Set file name buffer size to PATH_MAX.  Use progname or
progname_long member of struct external_pinfo dependent of the value of
the struct's version member.

16 years ago * dcrt0.cc (initial_env): Use PATH_MAX instead of CYG_MAX_PATH for path
Corinna Vinschen [Thu, 6 Dec 2007 18:24:06 +0000 (18:24 +0000)]
* dcrt0.cc (initial_env): Use PATH_MAX instead of CYG_MAX_PATH for path
name buffer size.
(dll_crt0_1): Allocate new_argv0 with PATH_MAX size.
* exceptions.cc (debugger_command): Set size to 2 * PATH_MAX + 20;
(error_start_init): Use PATH_MAX instead of CYG_MAX_PATH for path
name buffer size.
* external.cc (fillout_pinfo): Always fill out ep.progname 0-terminated.
Fill out ep.progname_long.
* fhandler_process.cc (fhandler_process::fill_filebuf): Allocate
buffer for executable filename with PATH_MAX size.
* pinfo.cc: Throughout use PATH_MAX instead of CYG_MAX_PATH.
* pinfo.h (class _pinfo): Set progname size to PATH_MAX.
* smallprint.cc: Include limits.h.  Use PATH_MAX instead of CYG_MAX_PATH
for path name buffer size.
* strace.cc (strace::vsprntf): Ditto.
* include/sys/cygwin.h (EXTERNAL_PINFO_VERSION_32_LP): Define.
(EXTERNAL_PINFO_VERSION): Set to EXTERNAL_PINFO_VERSION_32_LP.
(struct external_pinfo): Add progname_long member.
* include/sys/dirent.h: Correctly include limits.h instead of
sys/limits.h.

16 years agoconfig/
Richard Sandiford [Thu, 6 Dec 2007 17:44:07 +0000 (17:44 +0000)]
config/
* mt-sde (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Use +=, not =.
* mt-mips-elfoabi: Likewise.

16 years ago * fhandler_tty.cc (fhandler_tty_slave::open): Use MAX_PATH instead of
Corinna Vinschen [Wed, 5 Dec 2007 16:50:18 +0000 (16:50 +0000)]
* fhandler_tty.cc (fhandler_tty_slave::open): Use MAX_PATH instead of
CYG_MAX_PATH for event name buffer size.
(fhandler_pty_master::setup): Use MAX_PATH instead of CYG_MAX_PATH for
mutex name buffer size.
* netdb.cc: Drop old comment.
(open_system_file): Set path buffer size to MAX_PATH instead of
CYG_MAX_PATH.  Drop conversion to posix path.  Open file using win32
path.

Fix typo in ChangeLog.

16 years ago * fhandler_registry.cc: Use NAME_MAX + 1 instead of CYG_MAX_PATH
Corinna Vinschen [Wed, 5 Dec 2007 15:10:20 +0000 (15:10 +0000)]
* fhandler_registry.cc: Use NAME_MAX + 1 instead of CYG_MAX_PATH
throughout for subkey name buffer size.
* fhandler_socket.cc (search_wsa_event_slot): Use MAX_PATH instead of
CYG_MAX_PATH for mutext name buffer size.
(fhandler_socket::init_events): Ditto.
* fhandler_virtual.cc (fhandler_virtual::opendir): Check path length
against PATH_MAX instead of against CYG_MAX_PATH.
* registry.cc (get_registry_hive_path): Use PATH_MAX instead of
CYG_MAX_PATH for registry value path buffer size.
* shared.cc (open_shared): Use MAX_PATH instead of CYG_MAX_PATH
for shared memory name buffer size.
* thread.cc (semaphore::semaphore): Use MAX_PATH instead of CYG_MAX_PATH
for semaphore name buffer size.
* uinfo.cc (cygheap_user::env_userprofile): Use PATH_MAX instead of
CYG_MAX_PATH for temporary path name buffer size.
* winf.h (LINE_BUF_CHUNK): Define as MAX_PATH * 2.
* include/sys/dirent.h: Include sys/limits.h.  Define name buffer sizes
using NAME_MAX.

16 years ago Add missing ChangeLog entry.
Corinna Vinschen [Wed, 5 Dec 2007 12:32:30 +0000 (12:32 +0000)]
Add missing ChangeLog entry.

16 years ago * config.sub, config.guess: Update from upstream sources.
Ben Elliston [Wed, 5 Dec 2007 03:27:21 +0000 (03:27 +0000)]
* config.sub, config.guess: Update from upstream sources.

16 years ago * fhandler_fifo.cc (fhandler_fifo::open): Use MAX_NAME for pipe name
Corinna Vinschen [Tue, 4 Dec 2007 13:29:44 +0000 (13:29 +0000)]
* fhandler_fifo.cc (fhandler_fifo::open): Use MAX_NAME for pipe name
buffer size.
(fhandler_fifo::fstatvfs): Use same technique as in fhandler_socket.
* fhandler_proc.cc (format_proc_partitions): Use NAME_MAX+1 for
device name buffer size.  Use MAX_PATH for device path buffer size.

16 years ago2007-12-03 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Tue, 4 Dec 2007 00:35:55 +0000 (00:35 +0000)]
2007-12-03  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/wingdi.h: Change WINVER guard to _WIN32_WINNT.

16 years ago2007-12-03 techrazy <techrazy@users.sourceforge.net>
Chris Sutcliffe [Tue, 4 Dec 2007 00:30:40 +0000 (00:30 +0000)]
2007-12-03  techrazy  <techrazy@users.sourceforge.net>

        * include/wingdi.h (NTM_NONNEGATIVE_AC, NTM_PS_OPENTYPE, NTM_TT_OPENTYPE,
        NTM_MULTIPLEMASTER, NTM_TYPE1, NTM_DSIG): define.

16 years ago * autoload.cc (GetModuleFileNameExW): Replace definition of
Corinna Vinschen [Mon, 3 Dec 2007 14:13:03 +0000 (14:13 +0000)]
* autoload.cc (GetModuleFileNameExW): Replace definition of
GetModuleFileNameExA.
* fhandler_process.cc (format_process_maps): Change modname type to
WCHAR.  Set buffer sizes to PATH_MAX.  Call GetModuleFileNameExW
instead of GetModuleFileNameExA.  Call mount_info::conv_to_posix_path
instead of cygwin_conv_to_full_posix_path.  Set posix_modname to
modname if that call fails.
(format_process_stat): Set cmd buffer size to NAME_MAX + 1.  Simplify
setting cmd to process name.
(format_process_status): Ditto.
* path.cc (mount_info::conv_to_posix_path): Call sys_wcstombs
correctly.

16 years ago * include/cygwin/time.h: Remove redundant #endif.
Corinna Vinschen [Mon, 3 Dec 2007 11:34:59 +0000 (11:34 +0000)]
* include/cygwin/time.h: Remove redundant #endif.

16 years ago * include/cygwin/time.h (daylight): Declare as extern symbol referring
Corinna Vinschen [Sat, 1 Dec 2007 13:49:45 +0000 (13:49 +0000)]
* include/cygwin/time.h (daylight): Declare as extern symbol referring
_daylight variable.
(timezone): Only define if __timezonefunc__ is undefined.

16 years ago * cris/Makefile.in (crt0.o): Add CFLAGS when compiling crt0.S.
Hans-Peter Nilsson [Sat, 1 Dec 2007 13:14:07 +0000 (13:14 +0000)]
* cris/Makefile.in (crt0.o): Add CFLAGS when compiling crt0.S.

16 years ago * Makefile.in (OBSOLETE_FUNCTIONS): Add timezone.
Corinna Vinschen [Sat, 1 Dec 2007 13:04:43 +0000 (13:04 +0000)]
* Makefile.in (OBSOLETE_FUNCTIONS): Add timezone.
* include/cygwin/time.h: Drop conditional timezone definitions.
(timezone): Declare as extern symbol referring _timezone variable.

16 years ago2007-11-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Paolo Bonzini [Thu, 29 Nov 2007 15:36:39 +0000 (15:36 +0000)]
2007-11-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

        * config-ml.in: Robustify against white space in absolute file
        names.

16 years ago bfd/
Mark Shinwell [Thu, 29 Nov 2007 12:23:44 +0000 (12:23 +0000)]
bfd/
* archures.c (bfd_mach_mips_loongson_2e): New.
(bfd_mach_mips_loongson_2f): New.
* bfd-in2.h (bfd_mach_mips_loongson_2e): New.
(bfd_mach_mips_loongson_2f): New.
* cpu-mips.c: Add I_loongson_2e and I_loongson_2f to
anonymous enum.
(arch_info_struct): Add Loongson-2E and Loongson-2F entries.
* elfxx-mips.c (_bfd_elf_mips_mach): Handle Loongson-2E
and Loongson-2F flags.
(mips_set_isa_flags): Likewise.
(mips_mach_extensions): Add Loongson-2E and Loongson-2F
entries.

binutils/
* readelf.c (get_machine_flags): Handle Loongson-2E and -2F
flags.

gas/
* config/tc-mips.c (mips_cpu_info_table): Add loongson2e
and loongson2f entries.
* doc/c-mips.texi: Document -march=loongson{2e,2f} options.

gas/testsuite/
* gas/mips/mips.exp: Add loongson-2e and -2f tests.
* gas/mips/loongson-2e.d: New.
* gas/mips/loongson-2e.s: New.
* gas/mips/loongson-2f.d: New.
* gas/mips/loongson-2f.s: New.

include/elf/
* mips.h (E_MIPS_MACH_LS2E): New.
(E_MIPS_MACH_LS2F): New.

include/opcode/
* mips.h (INSN_LOONGSON_2E): New.
(INSN_LOONGSON_2F): New.
(CPU_LOONGSON_2E): New.
(CPU_LOONGSON_2F): New.
(OPCODE_IS_MEMBER): Update for Loongson-2E and -2F flags.

opcodes/
* mips-dis.c (mips_arch_choices): Add Loongson-2E and -2F
entries.
* mips-opc.c (IL2E): New.
(IL2F): New.
(mips_builtin_opcodes): Add Loongson-2E and -2F instructions.
Allow movz and movn for Loongson-2E and -2F.  Add movnz entry.
Move coprocessor encodings to the end of the table.  Allow
certain MIPS V .ps instructions on the Loongson-2E and -2F.

16 years ago include/opcode/
Mark Shinwell [Thu, 29 Nov 2007 11:55:19 +0000 (11:55 +0000)]
include/opcode/
* mips.h (INSN_ISA*): Redefine certain values as an
enumeration.  Update comments.
(mips_isa_table): New.
(ISA_MIPS*): Redefine to match enumeration.
(OPCODE_IS_MEMBER): Modify to correctly test new INSN_ISA*
values.

opcodes/
* mips-opc.c (I3_32, I3_33, I4_32, I4_33, I5_33): New.
(mips_builtin_opcodes): Use these new I* values.

16 years ago * fhandler_tape.cc (mtinfo::initialize): Use MAX_PATH instead of
Corinna Vinschen [Wed, 28 Nov 2007 16:45:34 +0000 (16:45 +0000)]
* fhandler_tape.cc (mtinfo::initialize): Use MAX_PATH instead of
CYG_MAX_PATH.
* fhandler_tty.cc (fhandler_pty_master::ptsname): Set buffer size to
TTY_NAME_MAX.
* syscalls.cc (ttyname): Eliminate the `+ 1' from the name buffer size
since TTY_NAME_MAX already counts the trailing NUL.
* libc/bsdlib.cc (openpty): Set pts buffer size to TTY_NAME_MAX.

16 years ago * fhandler_socket.cc (fhandler_socket::recv_internal): Add MSG_WAITALL
Corinna Vinschen [Wed, 28 Nov 2007 15:54:17 +0000 (15:54 +0000)]
* fhandler_socket.cc (fhandler_socket::recv_internal): Add MSG_WAITALL
handling.  Use explicit flag values instead of MSG_WINMASK.
(fhandler_socket::send_internal): Use explicit flag values instead of
MSG_WINMASK.
* include/cygwin/socket.h (MSG_WINMASK): Remove definition.
(MSG_WAITALL): Define.

16 years ago * internal.h (ELF_IS_SECTION_IN_SEGMENT): Adjust to cope with
Nathan Sidwell [Wed, 28 Nov 2007 13:53:05 +0000 (13:53 +0000)]
* internal.h (ELF_IS_SECTION_IN_SEGMENT): Adjust to cope with
segments at the end of memory.

16 years ago * posix_ipc.cc (ipc_names): Rename max_len to prefix_len. Store
Corinna Vinschen [Tue, 27 Nov 2007 17:04:19 +0000 (17:04 +0000)]
* posix_ipc.cc (ipc_names): Rename max_len to prefix_len.  Store
the prefix len in it.
(check_path): Take length parameter.  Use this length insetad of
calling strlen.  Allow PATH_MAX length paths.
(ipc_mutex_init): Use MAX_PATH instead of CYG_MAX_PATH.
(ipc_cond_init): Ditto.
(shm_open): Allocate local name buffer not bigger than necessary.  Call
check_path with additional length argument.
(shm_unlink): Ditto.
(mq_open): Ditto.
(mq_unlink): Ditto.
(sem_open): Ditto.
(sem_unlink): Ditto.

16 years ago Drop old SetResourceLock stuff in favor of mutos.
Corinna Vinschen [Tue, 27 Nov 2007 14:45:14 +0000 (14:45 +0000)]
Drop old SetResourceLock stuff in favor of mutos.
* dcrt0.cc (_reslock): Remove.
(__cygwin_user_data): Accommodate removal of resourcelocks member.
(dll_crt0_0): Don't initialize resourcelocks.
* exceptions.cc (_cygtls::signal_exit): Drop resourcelocks handling.
* mmap.cc (mmap_guard): New muto.
(LIST_LOCK): Define.
(LIST_UNLOCK): Define.
(mmap_list::search_record): Remove.
(mmap_list::try_map): Include code for anonymous case from
mmap_list::search_record.
(mmap_is_attached_or_noreserve): Access bookkeeping lists in a thread
safe way.
(mmap64): Replace SetResourceLock/ReleaseResourceLock by
LIST_LOCK/LIST_UNLOCK.  Lock at the latest possible point.
(munmap): Replace SetResourceLock/ReleaseResourceLock by
LIST_LOCK/LIST_UNLOCK.
(msync): Ditto.
(mprotect): Ditto.
* thread.cc (ResourceLocks::Lock): Remove.
(SetResourceLock): Remove.
(ReleaseResourceLock): Remove.
(ResourceLocks::Init): Remove.
(ResourceLocks::Delete): Remove.
* thread.h (SetResourceLock): Drop declaration.
(ReleaseResourceLock): Ditto.
(class ResourceLocks): Drop definition.
* include/sys/cygwin.h (class ResourceLocks): Drop forward declaration.
(struct per_process): Replace resourcelocks with additional unused2
element.
(per_process_overwrite): Accommodate above change.

16 years ago * mmap.cc: Convert usage of dynamically growing cmalloced arrays to
Corinna Vinschen [Tue, 27 Nov 2007 10:09:05 +0000 (10:09 +0000)]
* mmap.cc: Convert usage of dynamically growing cmalloced arrays to
cmalloced linked lists throughout.
(class mmap_record): Add LIST_ENTRY element.
(mmap_record::match): New method, taking over match algorithm from
list::search_record.
(class mmap_list): Rename from class list.  Add LIST_ENTRY.  Convert
recs to a LIST_HEAD.  Drop nrecs and maxrecs members.
(mmap_list::get_record): Drop entirely.
(mmap_list::free_recs): Drop entirely.
(mmap_list::del_record): Take mmap_record to delete as parameter.
(mmap_list::search_record): Convert to mmap_record::match.
(class mmap_areas): Rename from class map.  Convert lists to LIST_HEAD.
(mmap_areas::get_list): Drop entirely.
(mmap_areas::del_list): Take mmap_list to delete as parameter.
(mprotect): Fix indentation.

16 years ago2007-11-26 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Tue, 27 Nov 2007 02:14:19 +0000 (02:14 +0000)]
2007-11-26  Chris Sutcliffe <ir0nh34d@users.sourceforge.net>

        * Makefile.in: Add libmsvcr90.a and libmsvcr90d.a targets.
        * msvcrt.def.in: Add support for __msvcr90__ and __msvcr90d__ defines.
        * mingwex/math/log10f.S: Correct issue with comments.
        * mingwex/math/log10l.S: Ditto.
        * mingwex/math/log1p.S: Ditto.
        * mingwex/math/log1pf.S: Ditto.
        * mingwex/math/log1pl.S: Ditto.
        * mingwex/math/log2.S: Ditto.
        * mingwex/math/log2f.S: Ditto.
        * mingwex/math/log2l.S: Ditto.
        * mingwex/math/logf.S: Ditto.
        * mingwex/math/logl.S: Ditto.

16 years agoChange many cygheap allocation routines to their *_abort analogs.
Christopher Faylor [Mon, 26 Nov 2007 21:30:49 +0000 (21:30 +0000)]
Change many cygheap allocation routines to their *_abort analogs.
* cygheap.cc (cmalloc_abort): New function.
(crealloc_abort): Ditto.
(ccalloc_abort): Ditto.

16 years ago* cygheap.cc (_crealloc): Avoid memcpy when _cmalloc returns NULL.
Christopher Faylor [Fri, 23 Nov 2007 16:37:05 +0000 (16:37 +0000)]
* cygheap.cc (_crealloc): Avoid memcpy when _cmalloc returns NULL.

16 years ago2007-11-21 Kevin Conaway <kevin_conaway@users.sourceforge.net>
Chris Sutcliffe [Thu, 22 Nov 2007 03:16:15 +0000 (03:16 +0000)]
2007-11-21  Kevin Conaway  <kevin_conaway@users.sourceforge.net>

        * include/wincrypt.h (CryptProtectData, CryptUnprotectData): define.

16 years ago2007-11-21 elsapo <elsapo@users.sourceforge.net>
Chris Sutcliffe [Thu, 22 Nov 2007 03:07:09 +0000 (03:07 +0000)]
2007-11-21  elsapo  <elsapo@users.sourceforge.net>

        * include/wincrypt.h (CERT_NAME_STR_COMMA_FLAG,
        CERT_NAME_STR_DISABLE_IE4_UTF8_FLAG, CERT_NAME_STR_ENABLE_UTF8_UNICODE_FLAG,
        CMC_ADD_ATTRIBUTES, CMC_ADD_EXTENSIONS, X509_CERT_PAIR,
        X509_CERTIFICATE_TEMPLATE, X509_CROSS_CERT_DIST_POINTS, CMC_DATA,
        X509_NAME_CONSTRAINTS, X509_POLICY_CONSTRAINTS, X509_POLICY_MAPPINGS,
        CMC_RESPONSE, CMC_STATUS, X509_ALGORITHM_IDENTIFIER, X509_ALTERNATE_NAME,
        PKCS_ATTRIBUTE, X509_AUTHORITY_INFO_ACCESS, X509_AUTHORITY_KEY_ID,
        X509_AUTHORITY_KEY_ID2, szOID_BASIC_CONSTRAINTS, X509_BASIC_CONSTRAINTS2,
        X509_BIOMETRIC_EXT, X509_BITS, X509_CERT, X509_CERT_CRL_TO_BE_SIGNED,
        X509_CERT_POLICIES, X509_CERT_REQUEST_TO_BE_SIGNED, X509_CERT_TO_BE_SIGNED,
        X509_CHOICE_OF_TIME, PKCS_CONTENT_INFO, PKCS_CONTENT_INFO_SEQUENCE_OF_ANY,
        X509_CRL_DIST_POINTS, RSA_CSP_PUBLICKEYBLOB, PKCS_CTL, X509_DSS_PARAMETERS,
        X509_DSS_SIGNATURE, X509_ECC_SIGNATURE, X509_ENHANCED_KEY_USAGE,
        X509_ENUMERATED, X509_EXTENSIONS, X509_INTEGER, X509_ISSUING_DIST_POINT,
        X509_KEY_ATTRIBUTES, X509_KEY_USAGE, X509_KEY_USAGE_RESTRICTION,
        X509_KEYGEN_REQUEST_TO_BE_SIGNED, X509_LOGOTYPE_EXT,
        X509_MULTI_BYTE_INTEGER, X509_MULTI_BYTE_UINT, X509_NAME, X509_NAME_VALUE,
        X509_OBJECT_IDENTIFIER, X509_OCTET_STRING, X509_PUBLIC_KEY_INFO,
        PKCS_RC2_CBC_PARAMETERS, CNG_RSA_PUBLIC_KEY_BLOB,
        PKCS_RSA_SSA_PSS_PARAMETERS, PKCS_RSAES_OAEP_PARAMETERS,
        ECC_CMS_SHARED_INFO, X509_SEQUENCE_OF_ANY, PKCS7_SIGNER_INFO,
        CMS_SIGNER_INFO, PKCS_SMIME_CAPABILITIES, PKCS_TIME_REQUEST,
        X509_UNICODE_NAME, X509_UNICODE_NAME_VALUE, PKCS_UTC_TIME,
        OCSP_SIGNED_REQUEST, OCSP_REQUEST, OCSP_RESPONSE,
        OCSP_BASIC_SIGNED_RESPONSE, OCSP_BASIC_RESPONSE, CRL_REASON_UNSPECIFIED,
        CRL_REASON_KEY_COMPROMISE, CRL_REASON_CA_COMPROMISE,
        CRL_REASON_AFFILIATION_CHANGED, CRL_REASON_SUPERSEDED,
        CRL_REASON_CESSATION_OF_OPERATION, CRL_REASON_CERTIFICATE_HOLD,
        CRL_REASON_REMOVE_FROM_CRL, CRYPT_ENCODE_ALLOC_FLAG,
        CRYPT_UNICODE_NAME_ENCODE_DISABLE_CHECK_TYPE_FLAG,
        CRYPT_UNICODE_NAME_ENCODE_ENABLE_T61_UNICODE_FLAG,
        CRYPT_UNICODE_NAME_ENCODE_ENABLE_UTF8_UNICODE_FLAG,
        CRYPT_UNICODE_NAME_ENCODE_FORCE_UTF8_UNICODE_FLAG,
        szOID_APPLICATION_CERT_POLICIES, szOID_APPLICATION_POLICY_CONSTRAINTS,
        szOID_APPLICATION_POLICY_MAPPINGS, szOID_AUTHORITY_INFO_ACCESS,
        szOID_AUTHORITY_KEY_IDENTIFIER, szOID_AUTHORITY_KEY_IDENTIFIER2,
        X509_BASIC_CONSTRAINTS, szOID_BIOMETRIC_EXT, szOID_CERT_EXTENSIONS,
        szOID_CERT_POLICIES, szOID_CERTIFICATE_TEMPLATE, szOID_CRL_NUMBER,
        szOID_CROSS_CERT_DIST_POINTS, szOID_DELTA_CRL_INDICATOR,
        szOID_ENROLLMENT_NAME_VALUE_PAIR, szOID_FRESHEST_CRL,
        szOID_ISSUING_DIST_POINT, szOID_NAME_CONSTRAINTS, szOID_CRL_DIST_POINTS,
        szOID_CRL_REASON_CODE, szOID_CRL_VIRTUAL_BASE, szOID_ECC_PUBLIC_KEY,
        szOID_ECDSA_SPECIFIED, szOID_ENHANCED_KEY_USAGE, szOID_ISSUER_ALT_NAME,
        szOID_ISSUER_ALT_NAME2, szOID_KEY_ATTRIBUTES, szOID_KEY_USAGE,
        szOID_KEY_USAGE_RESTRICTION, szOID_LOGOTYPE_EXT, szOID_POLICY_CONSTRAINTS,
        szOID_POLICY_MAPPINGS, szOID_RSA_SSA_PSS, szOID_RSAES_OAEP,
        szOID_SUBJECT_ALT_NAME, szOID_SUBJECT_ALT_NAME2,
        szOID_SUBJECT_KEY_IDENTIFIER, CMC_ADD_ATTRIBUTES_INFO,
        PCMC_ADD_ATTRIBUTES_INFO, CMC_ADD_EXTENSIONS_INFO, PCMC_ADD_EXTENSIONS_INFO,
        CERT_ALT_NAME_ENTRY, PCERT_ALT_NAME_ENTRY, CERT_ALT_NAME_INFO,
        PCERT_ALT_NAME_INFO, CERT_NAME_VALUE, PCERT_NAME_VALUE,
        CERT_POLICY_QUALIFIER_INFO, PCERT_POLICY_QUALIFIER_INFO,
        CERT_POLICY_CONSTRAINTS_INFO, PCERT_POLICY_CONSTRAINTS_INFO,
        CERT_POLICY_MAPPINGS_INFO, PCERT_POLICY_MAPPINGS_INFO, CERT_POLICY_MAPPING,
        PCERT_POLICY_MAPPING, CryptDecodeObjectEx, CryptEncodeObject,
        CryptEncodeObjectEx): define.

16 years ago2007-11-21 Brian Dessent <dessent@users.sourceforge.net>
Chris Sutcliffe [Thu, 22 Nov 2007 02:38:17 +0000 (02:38 +0000)]
2007-11-21  Brian Dessent <dessent@users.sourceforge.net>

        * include/winbase.h (CheckTokenMembership): define.

16 years ago2007-11-19 Nick Clifton <nickc@redhat.com>
Jeff Johnston [Mon, 19 Nov 2007 20:03:25 +0000 (20:03 +0000)]
2007-11-19  Nick Clifton  <nickc@redhat.com>

        * libc/machine/mn10300/Makefile.am (CCASFLAGS): Add -Wa,--gdwarf-2.
        * libc/machine/mn10300/Makefile.in: Regenerate.
        * libc/machine/mn10300/memchar.S: Remove redundant labels.  Add
        .debug_frame section.
        * libc/machine/mn10300/memcmp.S: Likewise.
        * libc/machine/mn10300/memcpy.S: Likewise.
        * libc/machine/mn10300/memset.S: Likewise.
        * libc/machine/mn10300/strchr.S: Likewise.
        * libc/machine/mn10300/strcmp.S: Likewise.
        * libc/machine/mn10300/strcpy.S: Likewise.
        * libc/machine/mn10300/strlen.S: Likewise.

16 years ago [ld/testsuite/ChangeLog]
Thiemo Seufer [Sat, 17 Nov 2007 13:38:57 +0000 (13:38 +0000)]
[ld/testsuite/ChangeLog]
* ld-mips-elf/attr-gnu-4-14.d, ld-mips-elf/attr-gnu-4-41.d:
Adjust warning message for -mfp64 flag.
* ld-mips-elf/attr-gnu-4-5.s, ld-mips-elf/attr-gnu-4-04.d,
ld-mips-elf/attr-gnu-4-51.d, ld-mips-elf/attr-gnu-4-05.d,
ld-mips-elf/attr-gnu-4-15.d, ld-mips-elf/attr-gnu-4-24.d,
ld-mips-elf/attr-gnu-4-25.d, ld-mips-elf/attr-gnu-4-34.d,
ld-mips-elf/attr-gnu-4-35.d, ld-mips-elf/attr-gnu-4-42.d,
ld-mips-elf/attr-gnu-4-43.d, ld-mips-elf/attr-gnu-4-44.d,
ld-mips-elf/attr-gnu-4-45.d, ld-mips-elf/attr-gnu-4-40.d,
ld-mips-elf/attr-gnu-4-14.d: New testcases files.
* ld-mips-elf/mips-elf.exp: Run new testcases.

[binutils/ChangeLog]
* readelf.c (display_mips_gnu_attribute): Recognize -mips32r2 -mfp64
objects.

[include/ChangeLog]
* elf/mips.h (Tag_GNU_MIPS_ABI_FP): Mention -mips32r2 -mfp64 variant
in comment.

[bfd/ChangeLog]
* elfxx-mips.c (mips_elf_merge_obj_attributes): Handle -mips32r2
-mfp64 attribute.

[gas/ChangeLog]
* doc/as.texinfo: Document the new attribute value.

16 years ago* dwarf2.h: Mention the location of the DWARF3 spec on the web.
Nick Clifton [Fri, 16 Nov 2007 15:36:21 +0000 (15:36 +0000)]
* dwarf2.h: Mention the location of the DWARF3 spec on the web.
  (DW_AT_stride_size): Rename to DW_AT_bit_stride.
  (DW_AT_stride): Rename to DW_AT_byte_stride.
* dwarf.c (process_extended_line_op): Add cases for HP extensions to the line ops.
  Mention if an unknown op code is in the user defined range.
  (decode_location_expression): Add cases for HP extensions, the DW_OP_GNU_uninit extension and the DW_OP_call_frame_cfa and DW_OP_bit_piece DWARF3 operators.
  (read_and_display_attr): Correct list of attributes which can reference a location list.
  (read_and_display_attr_value): Add cases for DWARF3 values and HP extensions.
  Correct list of attributes which can reference a location list.
  (get_AT_name): Add cases for DWARF3 values and HP and PGI extensions.

16 years agoMove changelog entries to the right ChangeLog
Vladimir Prus [Thu, 15 Nov 2007 07:11:52 +0000 (07:11 +0000)]
Move changelog entries to the right ChangeLog

16 years ago Apply const qualifier to some users of bp_location.
Vladimir Prus [Thu, 15 Nov 2007 06:52:53 +0000 (06:52 +0000)]
Apply const qualifier to some users of bp_location.
* breakpoint.h (struct bpstats): Make
the breakpoint_at field point at const bp_location.
* breakpoint.c (bpstat_alloc): Accept const
bp_location.
(breakpoint_here_p, breakpoint_inserted_here_p)
(software_breakpoint_inserted_here_p)
(breakpoint_thread_match, bpstat_stop_status)
(read_memory_nobpt, bpstat_have_active_hw_watchpoints): Use
const bp_location for iteration.
(print_it_typical, print_bp_stop_message): Use
const bp_location variable.

16 years ago Make mark_breakpoints_out static.
Vladimir Prus [Thu, 15 Nov 2007 06:46:20 +0000 (06:46 +0000)]
Make mark_breakpoints_out static.
* breakpoint.h (mark_breakpoints_out): Remove
declaration.
* breakpoint.c (mark_breakpoints_out): Make static.

16 years ago Prevent clear_command from directly modifying breakpoint list.
Vladimir Prus [Thu, 15 Nov 2007 06:28:18 +0000 (06:28 +0000)]
Prevent clear_command from directly modifying breakpoint list.
* Makefile.in (breakpoint_h): Update dependency.
* breakpoint.c (clear_command): Do not remove
breakpoints from breakpoint_chain.  Collect breakpoints
to delete in a vector.
* breakpoint.h (breakpoint_p): New typedef for pointer to
breakpoint.  Register vector of breakpoint_p.

16 years ago Remove 'run_cleanup'.
Vladimir Prus [Thu, 15 Nov 2007 06:24:17 +0000 (06:24 +0000)]
Remove 'run_cleanup'.
* defs.h (do_run_cleanups, make_run_cleanup): Remove
declarations.
* infcmd.c (run_command_1): Call clear_solib instead
of do_run_cleanups.
* jv-lang.c (java_rerun_cleanup): Remove, for lack of
any use.
* solib.c (solib_cleanup_queued, do_clear_solib): Remove.
(update_solib_lib): Don't setup run cleanup.
(no_shared_libraries): Call clear_solib, not do_clear_solib.
* utils.c (run_cleanup_chain, make_run_cleanup)
(do_run_cleanups): Remove.

16 years ago Remove CLEAR_SOLIB use.
Vladimir Prus [Thu, 15 Nov 2007 06:14:25 +0000 (06:14 +0000)]
Remove CLEAR_SOLIB use.
* corelow.c (core_close): Don't check for CLEAR_SOLIB.
* infcmd.c (attach_command): Likewise.

16 years ago * libc/include/sys/unistd.h: Remove Cygwin definition of MAXPATHLEN.
Corinna Vinschen [Thu, 8 Nov 2007 16:20:12 +0000 (16:20 +0000)]
* libc/include/sys/unistd.h: Remove Cygwin definition of MAXPATHLEN.

16 years agorevert premature checkin
Christopher Faylor [Thu, 8 Nov 2007 15:18:06 +0000 (15:18 +0000)]
revert premature checkin

16 years agorevert premature checkin
Christopher Faylor [Thu, 8 Nov 2007 14:37:59 +0000 (14:37 +0000)]
revert premature checkin

16 years ago* dllfixdbg: Eliminate extra objcopy step.
Christopher Faylor [Thu, 8 Nov 2007 14:36:49 +0000 (14:36 +0000)]
* dllfixdbg: Eliminate extra objcopy step.

16 years ago include/elf/
Nathan Sidwell [Thu, 8 Nov 2007 13:51:07 +0000 (13:51 +0000)]
include/elf/
* vxworks.h: New.

bfd/
* elf-vxworks.h (elf_vxworks_add_dynamic_entries): Declare.
(elf_vxworks_finish_dynamic_entry): Declare.
* elf-vxworks.c: Include elf/vxworks.h.
(elf_vxworks_add_dynamic_entries): New.
(elf_vxworks_finish_dynamic_entry): New.
* Makefile.am (elf-vxworks.lo): Add dependency.
* Makefile.in (elf-vxworks.lo): Add dependency.
* elf32-i386.c (elf_i386_size_dynamic_sections,
elf_i386_finish_dynamic_sections): Call
elf_vxworks_add_dynamic_entries and
elf_vxworks_finish_dynamic_entry.
* elf32-ppc.c (ppc_elf_size_dynamic_sections,
ppc_elf_finish_dynamic_sections): Likewise.
* elfxx-sparc.c (_bfd_sparc_elf_size_dynamic_sections,
sparc_finish_dyn): Likewise.
* elf32-sh.c (sh_elf_size_dynamic_sections,
sh_elf_finish_dynamic_sections): Likewise.
* elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections,
_bfd_mips_elf_finish_dynamic_sections): Likewise.
* elf32-arm.c (elf32_arm_size_dynamic_sections,
elf32_arm_finish_dynamic_sections): Likewise.

ld/
* ld-vxworks/tls-2.d: New.
* ld-vxworks/tls-2.s: New.

16 years ago * dllfixdbg: Pass --only-keep-debug to objcopy, instead of
Corinna Vinschen [Thu, 8 Nov 2007 12:06:32 +0000 (12:06 +0000)]
* dllfixdbg: Pass --only-keep-debug to objcopy, instead of
selecting the sections manually.

16 years agoinclude:
Joseph Myers [Thu, 8 Nov 2007 00:08:48 +0000 (00:08 +0000)]
include:
2007-11-07  Joseph Myers  <joseph@codesourcery.com>
    Daniel Jacobowitz  <dan@codesourcery.com>

* floatformat.h (struct floatformat): Add split_half field.
(floatformat_ibm_long_double): New.

libiberty:
2007-11-07  Joseph Myers  <joseph@codesourcery.com>
    Daniel Jacobowitz  <dan@codesourcery.com>

* floatformat.c (mant_bits_set): New.
(floatformat_to_double): Use it.  Note no special handling of
split formats.
(floatformat_from_double): Note no special handing of split
formats.
(floatformat_ibm_long_double_is_valid,
floatformat_ibm_long_double): New.
(floatformat_ieee_single_big, floatformat_ieee_single_little,
floatformat_ieee_double_big, floatformat_ieee_double_little,
floatformat_ieee_double_littlebyte_bigword, floatformat_vax_f,
floatformat_vax_d, floatformat_vax_g, floatformat_i387_ext,
floatformat_m68881_ext, floatformat_i960_ext,
floatformat_m88110_ext, floatformat_m88110_harris_ext,
floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword,
floatformat_ia64_spill_big, floatformat_ia64_spill_little,
floatformat_ia64_quad_big, floatformat_ia64_quad_little): Update
for addition of split_half field.

gdb:
2007-11-07  Joseph Myers  <joseph@codesourcery.com>
    Daniel Jacobowitz  <dan@codesourcery.com>

* gdbtypes.c (floatformats_ibm_long_double): New.
* gdbtypes.h (floatformats_ibm_long_double): Declare.
* ia64-tdep.c (floatformat_ia64_ext): Update for addition of
split_half field.
* mips-tdep.c (n32n64_floatformat_always_valid,
floatformat_n32n64_long_double_big, floatformats_n32n64_long):
Remove.
(mips_gdbarch_init): Use floatformats_ibm_long_double instead of
floatformats_n32n64_long.
* ppc-linux-tdep.c (ppc_linux_init_abi): Use 128-bit IBM long
double.
* doublest.c (convert_floatformat_to_doublest,
convert_doublest_to_floatformat): Handle split floating-point
formats.
* ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Handle IBM long
double arguments.
(ppc64_sysv_abi_push_dummy_call): Likewise.
(do_ppc_sysv_return_value): Handle IBM long double return.

16 years ago2007-11-07 Dave Brolley <brolley@redhat.com>
Dave Brolley [Wed, 7 Nov 2007 21:42:24 +0000 (21:42 +0000)]
2007-11-07  Dave Brolley  <brolley@redhat.com>

        * libc/machine/configure: Regenerated to pick up mep-elf changes.

        * Contribute mep-elf from Red Hat
        2006-10-27  DJ Delorie  <dj@redhat.com>

        * libc/include/machine/setjmp.h: Add MeP support.

        2003-04-17  DJ Delorie  <dj@redhat.com>

        * configure.host (mep-*-*): Support "long long" type.

        2001-06-06  DJ Delorie  <dj@redhat.com>

        * libc/include/machine/ieeefp.h (mep): Support little endian too.

        2001-05-14  DJ Delorie  <dj@redhat.com>

        * configure.host: Add mep's machine_dir.
        * libc/include/setjmp.h: Add mep support.
        * libc/machine/mep: New.
        * libc/machine/mep/setjmp.S: New, support mep's setjmp/longjmp.

        2001-05-04  DJ Delorie  <dj@redhat.com>

        * configure.host: Add mep.
        * libc/include/machine/ieeefp.h: Ditto.

17 years ago2007-11-06 Dave Brolley <brolley@redhat.com>
Jeff Johnston [Tue, 6 Nov 2007 23:07:06 +0000 (23:07 +0000)]
2007-11-06  Dave Brolley  <brolley@redhat.com>

        * syscall.h (SYS_reconfig): New macro.

17 years ago * thread.cc (pthread_key_create): Drop check for incoming valid object.
Corinna Vinschen [Tue, 6 Nov 2007 15:48:34 +0000 (15:48 +0000)]
* thread.cc (pthread_key_create): Drop check for incoming valid object.

17 years ago * shm.cc: Include sync.h
Corinna Vinschen [Tue, 6 Nov 2007 13:29:53 +0000 (13:29 +0000)]
* shm.cc: Include sync.h
(struct shm_shmid_list): Add ref_count member.
(struct shm_attached_list): Remove hdl and size members.  Add a parent
member pointing to referenced shm_shmid_list entry.
(shm_guard): New muto.
(SLIST_LOCK): Define.
(SLIST_UNLOCK): Define.
(fixup_shms_after_fork): Use hdl and size members of parent
shm_shmid_list entry.
(shmat): Access sequential bookkeeping lists in a thread safe way.
Accommodate change in list element layout.  Align comments.
(shmctl): Ditto.
(shmdt): Ditto.
(shmget): Ditto.

17 years ago * bsd_helper.cc (tunable_params): Add kern.ipc.shm_allow_removed as
Corinna Vinschen [Mon, 5 Nov 2007 15:45:52 +0000 (15:45 +0000)]
* bsd_helper.cc (tunable_params): Add kern.ipc.shm_allow_removed as
bool parameter.
* cygserver.conf: Add a description for the kern.ipc.shm_allow_removed
parameter.
* sysv_shm.cc (shminit): Set shm_allow_removed variable according to
kern.ipc.shm_allow_removed setting.

17 years ago * shm.cc (shmctl): On IPC_RMID don't unmap views and don't close handle
Corinna Vinschen [Mon, 5 Nov 2007 15:25:55 +0000 (15:25 +0000)]
* shm.cc (shmctl): On IPC_RMID don't unmap views and don't close handle
if the map is still referenced to emulate Linux and BSD behaviour.

17 years ago * shm.cc (shmctl): On IPC_RMID also unmap all views on shared mem
Corinna Vinschen [Mon, 5 Nov 2007 10:15:31 +0000 (10:15 +0000)]
* shm.cc (shmctl): On IPC_RMID also unmap all views on shared mem
as well as connected shm_attached_list entry.

17 years agoinclude
Danny Smith [Sun, 4 Nov 2007 23:49:08 +0000 (23:49 +0000)]
include
* coff/pe.h (COFF_ENCODE_ALIGNMENT) Define.

gas
* read.c (ALIGN_LIMIT): Rename to ...
(TC_ALIGN_LIMIT): Guard against prior definition.
* config/tc-i386.h (TC_ALIGN_LIMIT)[TE_PE]: Define.

bfd
* pe-i386.c (COFF_SECTION_ALIGNMENT_ENTRIES): Let .data, .text
 and .bss section use the default.
* pei-i386.c (COFF_SECTION_ALIGNMENT_ENTRIES): Likewise.

ld/testsuite
* ld-scripts/align.exp: Enable for PECOFF.
* ld-scripts/alignof.exp: Likewise.

17 years ago* libc/signal/signal.c (_raise_r): Don't attempt to initialize the
DJ Delorie [Wed, 31 Oct 2007 22:22:31 +0000 (22:22 +0000)]
* libc/signal/signal.c (_raise_r): Don't attempt to initialize the
signal table, just use a default, in case initialization cause
recursion.

17 years ago * net.cc (load_ipv6_funcs): Use MAX_PATH instead of CYG_MAX_PATH.
Corinna Vinschen [Wed, 31 Oct 2007 16:06:01 +0000 (16:06 +0000)]
* net.cc (load_ipv6_funcs): Use MAX_PATH instead of CYG_MAX_PATH.
(cygwin_getaddrinfo): Simplify formatting.
(cygwin_getnameinfo): Ditto.

17 years ago * external.cc (get_cygdrive_info): Make inline.
Corinna Vinschen [Wed, 31 Oct 2007 13:23:33 +0000 (13:23 +0000)]
* external.cc (get_cygdrive_info): Make inline.
(get_cygdrive_prefixes): Remove.
(cygwin_internal): Call get_cygdrive_info with NULL flag parameters
instead of get_cygdrive_prefixes.
* path.cc (mount_info::get_cygdrive_info): Allow NULL flag parameters.

17 years ago* mn10300.h (R_MN10300_ALIGN): Define.
Nick Clifton [Tue, 30 Oct 2007 15:18:29 +0000 (15:18 +0000)]
* mn10300.h (R_MN10300_ALIGN): Define.
* reloc.c (BFD_RELOC_MN10300_ALIGN): Add.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
* elf-m10300.h: Handle R_MN10300_ALIGN relocs.
* mn10300_elf_relax_delete_bytes): Honour R_MN10300_ALIGN relocs.
  Re-fix off by one error in comparisons.
* config/tc-mn10300.c (tc_gen_reloc): Fix test that decides when
  sym_diff relocs should be generated.
  (md_apply_fix): Skip R_MN10300_ALIGN relocs.
  (mn10300_fix_adjustable): Do not adjust R_MN10300_ALIGN relocs.
  (mn10300_handle_align): New function.  Generate R_MN10300_ALIGN
  relocs to record alignment requests.
* config/tc-mn10300.h (TC_FORCE_RELOCATION_SUB_SAME): Also force
  R_MN10300_ALIGN relocs.
  (HANDLE_ALIGN): Define.  Call mn10300_handle_align.
* gas/all/gas.exp: Do not run diff1.s test for mn10300.
* ld-mn10300/mn10300.exp: Run new tests.  Skip i126256 test if
  a compiler is not available.
* ld-mn10300/i112045-3.s: New test.
* ld-mn10300/i112045-3.d: Expected disassembly.
* ld-mn10300/i135409.s: Rename to i135409-1.s.
* ld-mn10300/i135409.d: Rename to i135409-1.d
* ld-mn10300/i135409-2.s: New test.
* ld-mn10300/i135409-2.d: Expected symbol table.
* ld-mn10300/i36434.d: Adjust expected disassembly.

17 years ago * fhandler_disk_file.cc (fhandler_base::fstat_helper): Don't remove
Corinna Vinschen [Tue, 30 Oct 2007 12:32:16 +0000 (12:32 +0000)]
* fhandler_disk_file.cc (fhandler_base::fstat_helper): Don't remove
write bits for directories with R/O attribute.
(fhandler_base::fhaccess): Don't shortcircuit R/O attribute with W_OK
scenarios for directories.

17 years ago * elf32-ppc.c (ppc_elf_merge_obj_attributes): Add support for
Daniel Jacobowitz [Thu, 25 Oct 2007 15:20:24 +0000 (15:20 +0000)]
* elf32-ppc.c (ppc_elf_merge_obj_attributes): Add support for
Tag_GNU_Power_ABI_Vector.

* readelf.c (display_power_gnu_attribute): Add support for
Tag_GNU_Power_ABI_Vector.

* ppc.h (Tag_GNU_Power_ABI_Vector): New.

* ld-powerpc/attr-gnu-8-1.s, ld-powerpc/attr-gnu-8-11.d,
ld-powerpc/attr-gnu-8-2.s, ld-powerpc/attr-gnu-8-23.d,
ld-powerpc/attr-gnu-8-3.s, ld-powerpc/attr-gnu-8-31.d: New.
* ld-powerpc/powerpc.exp: Run new tests.

17 years ago2007-10-23 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 23 Oct 2007 19:50:29 +0000 (19:50 +0000)]
2007-10-23  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdlib/wcstombs_r.c: Add SUSV2 support for calculating
        size if output buffer is NULL.

17 years ago * cygheap.h (struct cwdstuff): Drop hash member. Drop get_hash,
Corinna Vinschen [Tue, 23 Oct 2007 16:26:28 +0000 (16:26 +0000)]
* cygheap.h (struct cwdstuff): Drop hash member.  Drop get_hash,
get_initial, and fixup_after_exec declarations.
Convert win32 to UNICODE_STRING.
(cwdstuff::get_drive): Convert win32 path in current codepage.
(cwdstuff::set): Take native NT path.
* ntdll.h (struct _TEB): Typedef.
* path.cc (mount_info::conv_to_posix_path): Add variant taking
wide char DOS paths.
(symlink_info::posixify): Simplify concatenating cwd and relative path.
(hash_path_name): Drop special relative path handling.
(chdir): Drop special "drive only" handling.  Call cwdstuff::set with
native path.
(cwdstuff::get_hash): Remove.
(windows_system_directory): Remove.
(_upp): Remove.
(get_user_proc_parms): Make inline.  Get PEB pointer by calling
NtCurrentTeb.
(cwdstuff::init): Simplify.
(cwdstuff::set): Rework to handle incoming native NT path.  Workaround
a Vista problem with CWD handle in the user process parameter block.
(cwdstuff::get): Simplify locking.  Accommodate type change of win32.
* shared_info.h (mount_info): Add declaration for new conv_to_posix_path
method.
* strfuncs.cc (sys_wcstombs): Return correct length of created
multi-byte string.

17 years ago PR gdb/2336
Daniel Jacobowitz [Tue, 23 Oct 2007 12:34:11 +0000 (12:34 +0000)]
PR gdb/2336

* Makefile.def (dependencies): Make configure-gdb depend on
all-intl.
* Makefile.in: Regenerated.

* configure.ac: Modify $LIBINTL before the BFD check.
* configure: Regenerated.

17 years agoAdd MN10300 linker relaxation support for symbol differences
Nick Clifton [Fri, 19 Oct 2007 17:31:31 +0000 (17:31 +0000)]
Add MN10300 linker relaxation support for symbol differences

17 years ago * fhandler_disk_file.cc (__DIR_mounts::eval_ino): Make fname big enough
Corinna Vinschen [Fri, 19 Oct 2007 12:22:49 +0000 (12:22 +0000)]
* fhandler_disk_file.cc (__DIR_mounts::eval_ino): Make fname big enough
to allow multibyte chars.

17 years ago * fhandler.cc (fhandler_base::open): Open native symlinks with
Corinna Vinschen [Thu, 18 Oct 2007 12:40:27 +0000 (12:40 +0000)]
* fhandler.cc (fhandler_base::open): Open native symlinks with
FILE_OPEN_REPARSE_POINT flag.  Fix typo in comment.

17 years ago * include/sys/param.h (MAXPATHLEN): Define as PATH_MAX.
Corinna Vinschen [Thu, 18 Oct 2007 10:42:43 +0000 (10:42 +0000)]
* include/sys/param.h (MAXPATHLEN): Define as PATH_MAX.

17 years ago.
Roland McGrath [Thu, 18 Oct 2007 09:57:07 +0000 (09:57 +0000)]
.

17 years ago2007-10-18 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 18 Oct 2007 09:57:04 +0000 (09:57 +0000)]
2007-10-18  Roland McGrath  <roland@redhat.com>

* common.h (NT_PPC_VMX): New macro.

17 years ago2007-10-17 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 18 Oct 2007 00:03:32 +0000 (00:03 +0000)]
2007-10-17  Jeff Johnston  <jjohnstn@redhat.com>

        * libm/mathfp/s_logarithm.c: Fix error introduced by previous
        fix when handling negative input values.  Make function
        consistent with math directory and glibc version such that
        inf and nan values return inf and nan respectively with no
        errno setting.
        * libm/mathfp/sf_logarithm.c: Ditto.
        * libm/math/w_log.c: Set errno to ERANGE when input is 0.0.
        * libm/math/wf_log.c: Ditto.
        * libm/math/w_log10.c: Ditto.
        * libm/math/wf_log10.c: Ditto.

17 years ago2007-10-17 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 17 Oct 2007 20:14:49 +0000 (20:14 +0000)]
2007-10-17  Jeff Johnston  <jjohnstn@redhat.com>

        * libm/mathfp/s_logarithm.c: Fix case where input is 0 to
        return -inf.
        * libm/mathfp/sf_logarithm.c: Ditto.

17 years agoFix typo.
Jeff Johnston [Wed, 17 Oct 2007 19:36:43 +0000 (19:36 +0000)]
Fix typo.

17 years ago2007-10-17 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 17 Oct 2007 19:21:32 +0000 (19:21 +0000)]
2007-10-17  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/machine/i386/machine/fastmath.h: New file.

17 years ago* tls.m4 (GCC_CHECK_TLS): Rename have_tls to gcc_cv_have_tls.
Maciej W. Rozycki [Tue, 16 Oct 2007 10:45:50 +0000 (10:45 +0000)]
* tls.m4 (GCC_CHECK_TLS): Rename have_tls to gcc_cv_have_tls.
(GCC_CHECK_CC_TLS): Rename have_cc_tls to gcc_cv_have_cc_tls.

17 years ago2007-10-15 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston [Mon, 15 Oct 2007 20:47:15 +0000 (20:47 +0000)]
2007-10-15  Patrick Mansfield <patmans@us.ibm.com>

        * Makefile.def: To avoid problems running with parallel makes,
        build newlib before libgloss so that target specific header
        files are availble.
        * Makefile.in: Regenerate.

17 years ago * NEWS: Document target described register support for PowerPC.
Daniel Jacobowitz [Mon, 15 Oct 2007 19:45:31 +0000 (19:45 +0000)]
* NEWS: Document target described register support for PowerPC.
* ppc-tdep.h: Remove ppc_spr constants.
(struct gdbarch_tdep): Remove regs, ppc_sr0_regnum, and
ppc_builtin_type_vec128 members.
(PPC_R0_REGNUM, PPC_F0_REGNUM, PPC_PC_REGNUM, PPC_MSR_REGNUM)
(PPC_CR_REGNUM, PPC_LR_REGNUM, PPC_CTR_REGNUM, PPC_XER_REGNUM)
(PPC_FPSCR_REGNUM, PPC_MQ_REGNUM, PPC_SPE_UPPER_GP0_REGNUM)
(PPC_SPE_ACC_REGNUM, PPC_SPE_FSCR_REGNUM, PPC_VR0_REGNUM)
(PPC_VSCR_REGNUM, PPC_VRSAVE_REGNUM, PPC_NUM_REGS): New constants.
* rs6000-tdep.c: Include preparsed descriptions.
(init_sim_regno_table): Do not iterate over pseudo registers.
Look up segment registers by name.  Use sim_spr_register_name
for SPRs.
(rs6000_register_sim_regno): Call init_sim_regno_table here.
(rs6000_builtin_type_vec128): Delete.
(rs6000_register_name): Only handle SPE pseudo registers and upper
halves.  Call tdesc_register_name for everything else.
(rs6000_register_type): Delete.  Replace with...
(rs6000_pseudo_register_type): ...this new function.  Only handle
SPE pseudo registers.
(rs6000_register_reggroup_p): Delete.  Replace with...
(rs6000_pseudo_register_reggroup_p): ...this new function.  Only
handle SPE pseudo registers.
(rs6000_convert_register_p): Use ppc_fp0_regnum instead of
"struct reg".
(rs6000_register_to_value, rs6000_value_to_register): Remove check
of reg->fpr.
(e500_register_reggroup_p): Delete.
(STR, R, R4, R8, R16, F, P8, R32, R64, R0, A4, S, S4, SN4, S64)
(COMMON_UISA_REGS, PPC_UISA_SPRS, PPC_UISA_NOFP_SPRS)
(PPC_SEGMENT_REGS, PPC_OEA_SPRS, PPC_ALTIVEC_REGS, PPC_SPE_GP_REGS)
(PPC_SPE_UPPER_GP_REGS, PPC_EV_PSEUDO_REGS): Delete macros.
(registers_powerpc, registers_403, registers_403GC, registers_505)
(registers_860, registers_601, registers_602, registers_603)
(registers_604, registers_750, registers_7400, registers_e500): Delete
variables.
(struct variant): Delete nregs, npregs, num_tot_regs, and regs.  Add
tdesc.
(tot_num_registers, num_registers, num_pseudo_registers): Delete.
(variants): Delete outdated comment.  Use standard target descriptions
instead of "struct reg" arrays.
(init_variants): Delete.
(rs6000_gdbarch_init): Do not guess word size from the BFD
architecture if we have a target description.  Select a variant
before creating a new architecture.  Use the variant's target
description if the target did not define a register layout.
Validate target-supplied registers.  Reject mismatches.  Use
fixed register numbers and new constants instead of magic
numbers.  Call set_gdbarch_ps_regnum.  Call tdesc_use_registers.
(_initialize_rs6000_tdep): Initialize the preparsed target
descriptions.
* target-descriptions.c (tdesc_predefined_types): Add int128 and
uint128.
(tdesc_find_register_early): New function.
(tdesc_numbered_register): Use it.
(tdesc_register_size): New function.
(tdesc_use_registers): Take a target_desc argument.  Do not use
gdbarch_target_desc.
* target-descriptions.h (tdesc_use_registers): Update prototype
and comment.
(tdesc_register_size): New prototype.
* Makefile.in (powerpc_32_c, powerpc_403_c, powerpc_403gc_c)
(powerpc_505_c, powerpc_601_c, powerpc_602_c, powerpc_603_c)
(powerpc_604_c, powerpc_64_c, powerpc_7400_c, powerpc_750_c)
(powerpc_860_c, powerpc_e500_c, rs6000_c): New macros.
(rs6000-tdep.o): Update.
* arm-tdep.c (arm_gdbarch_init): Update call to tdesc_use_registers.
* m68k-tdep.c (m68k_gdbarch_init): Likewise.
* mips-tdep.c (mips_gdbarch_init): Likewise.

* gdb.texinfo (Predefined Target Types): Add int128
and uint128.
(Standard Target Features): Add PowerPC features.

* gdb.xml/tdesc-regs.exp: Add PowerPC support.

* sim-ppc.h (sim_spr_register_name): New prototype.

* gdb-sim.c (regnum2spr): Rename to...
(sim_spr_register_name): ... this.  Make global.

17 years ago * fhandler.cc (is_at_eof): Rewrite using NT functions.
Corinna Vinschen [Mon, 15 Oct 2007 08:25:38 +0000 (08:25 +0000)]
* fhandler.cc (is_at_eof): Rewrite using NT functions.
(off_current): New static variable.
(off_append): Ditto.
(fhandler_base::raw_write): Use NtWriteFile.  Accommodate O_APPEND here.
(fhandler_base::write): Drop O_APPEND hack.  Use NT functions.
(fhandler_base::lseek): Rewrite using NT functions.
* fhandler_disk_file.cc (fhandler_disk_file::fstatvfs): Add space in
debug output.
(fhandler_disk_file::ftruncate): Ditto.
* ntdll.h (STATUS_DISK_FULL): Define.
(FILE_USE_FILE_POINTER_POSITION): Define.
(FILE_WRITE_TO_END_OF_FILE): Define.

17 years ago* libc/stdio/vfprintf.c (_VFPRINTF_R) [__OPTIMIZE_SIZE__]:
Eric Blake [Sat, 13 Oct 2007 15:26:20 +0000 (15:26 +0000)]
* libc/stdio/vfprintf.c (_VFPRINTF_R) [__OPTIMIZE_SIZE__]:
Correctly nest else within conditionals.
Reported by Artur Lipowski.

17 years ago * ntdll.h (STATUS_END_OF_FILE): Define.
Corinna Vinschen [Sat, 13 Oct 2007 11:06:43 +0000 (11:06 +0000)]
* ntdll.h (STATUS_END_OF_FILE): Define.
* path.cc (symlink_info::check_shortcut): Use NT function to get file
size.  Reintroduce checking file size before reading it.  Eliminiate
close_it label.
(symlink_info::check_sysfile): Check for EOF condition.

17 years ago * Makefile.def (dependencies): Add all-gdb -> all-libdecnumber.
Daniel Jacobowitz [Thu, 11 Oct 2007 20:32:36 +0000 (20:32 +0000)]
* Makefile.def (dependencies): Add all-gdb -> all-libdecnumber.
* Makefile.in: Regenerate.

17 years ago2007-10-11 Ulrich Weigand <uweigand@de.ibm.com>
Jeff Johnston [Thu, 11 Oct 2007 20:25:36 +0000 (20:25 +0000)]
2007-10-11  Ulrich Weigand  <uweigand@de.ibm.com>

        * spu/crt0.S: Fix so element one of register one is correctly set
        when compiled with -mstdmain and -fstack-check.

17 years ago2007-10-11 Jesper Nilsson <jesper.nilsson@axis.com>
Daniel Jacobowitz [Thu, 11 Oct 2007 18:44:06 +0000 (18:44 +0000)]
2007-10-11  Jesper Nilsson  <jesper.nilsson@axis.com>

* callback.c (cb_is_stdin, cb_is_stdout, cb_is_stderr): Add functions.
* syscall.c (cb_syscall): Test for stdin/out/err, not just fd 0/1/2.

2007-10-11  Jesper Nilsson  <jesper.nilsson@axis.com>

* callback.h (cb_is_stdin, cb_is_stdout, cb_is_stderr): Add prototypes.

2007-10-11  Jesper Nilsson  <jesper.nilsson@axis.com>

* sim/cris/c/freopen2.c: Added testcase.

17 years ago2007-10-11 Jesper Nilsson <jesper.nilsson@axis.com>
Daniel Jacobowitz [Thu, 11 Oct 2007 18:40:28 +0000 (18:40 +0000)]
2007-10-11  Jesper Nilsson  <jesper.nilsson@axis.com>

* callback.c (cb_is_stdin): Add.
* syscall.c (cb_syscall): Test for stdin, not just fd 0.

2007-10-11  Jesper Nilsson  <jesper.nilsson@axis.com>

* callback.h (cb_is_stdin): Add prototype.

17 years ago * src-release (GDB_SUPPORT_DIRS): Add libdecnumber.
Daniel Jacobowitz [Thu, 11 Oct 2007 18:15:01 +0000 (18:15 +0000)]
* src-release (GDB_SUPPORT_DIRS): Add libdecnumber.
* libdecnumber: New directory, imported from GCC.

17 years ago * path.cc (basename): Return pointer into the path argument itself.
Corinna Vinschen [Thu, 11 Oct 2007 16:26:19 +0000 (16:26 +0000)]
* path.cc (basename): Return pointer into the path argument itself.
Shrink buf to 4 bytes.  Use buf only for border cases.
(dirname): Ditto.

17 years ago * path.cc (struct symlink_info): Change size of contents member to
Corinna Vinschen [Wed, 10 Oct 2007 16:54:09 +0000 (16:54 +0000)]
* path.cc (struct symlink_info): Change size of contents member to
be able to keep SYMLINK_MAX sized strings.
(symlink_worker): Rework for long path names.  When writing windows
shortcuts, store pathname additionally "hidden" after the actual
shortcut data to workaround size limitations of the description field.
(symlink_info::check_shortcut): Drop file name parameter.  Drop max
file size check.  Use NT functions.  Use appended full path if
available, description otherwise.  Check symlink string length for
not exceeding SYMLINK_MAX.  Don't close file here.
(symlink_info::check_sysfile): Drop file name parameter.  Use NT
functions.  Check symlink string length for not exceeding SYMLINK_MAX.
Don't close file here.
(symlink_info::check_reparse_point): Drop file name parameter.  Drop
useless length checks.  Allow SYMLINK_MAX length symlink strings.
Don't close file here.
(symlink_info::posixify): Allow SYMLINK_MAX length symlink strings.
(symlink_info::check): Turn around checking for symlink file attributes.
Use NT functions.  Close symlink file here.
* include/limits.h (PATH_MAX): Define as 32760.  Change comment.
(SYMLINK_MAX): Define as PATH_MAX - 1.

17 years ago * fhandler_socket.cc (fhandler_socket::bind): Open file for deletion,
Corinna Vinschen [Wed, 10 Oct 2007 16:07:46 +0000 (16:07 +0000)]
* fhandler_socket.cc (fhandler_socket::bind): Open file for deletion,
too.  Don't write to file and especially don't close handle if file
couldn't be created.  Set delete disposition if writing failed,
instead of calling unlink_nt.

17 years ago* libc/sys/linux/dl/do-lookup.h (FCT): Support symbols with the STT_COMMON type.
Nick Clifton [Tue, 9 Oct 2007 16:01:43 +0000 (16:01 +0000)]
* libc/sys/linux/dl/do-lookup.h (FCT): Support symbols with the STT_COMMON type.

17 years ago * libm/machine/spu/headers/acosd2.h: Include spu_intrinsics.h
Ben Elliston [Tue, 9 Oct 2007 04:24:11 +0000 (04:24 +0000)]
* libm/machine/spu/headers/acosd2.h: Include spu_intrinsics.h
before simdmath.h to get a definition for `vector'.
* libm/machine/spu/headers/asind2.h: Likewise.

17 years ago* configure.ac (CFLAGS_FOR_BUILD, CXXFLAGS_FOR_BUILD, LDFLAGS_FOR_BUILD): Default...
Nick Clifton [Mon, 8 Oct 2007 09:30:35 +0000 (09:30 +0000)]
* configure.ac (CFLAGS_FOR_BUILD, CXXFLAGS_FOR_BUILD, LDFLAGS_FOR_BUILD): Default them to host flags
  only for $host = $build.
  Set default CXXFLAGS_FOR_BUILD to CXXFLAGS, not CFLAGS.
  Set default LDFLAGS_FOR_BUILD to LDFLAGS, not CFLAGS.
* configure: Regenerate.

17 years ago2007-10-03 Jiri Malak <Jiri.Malak@iol.cz>
Chris Sutcliffe [Wed, 3 Oct 2007 23:49:35 +0000 (23:49 +0000)]
2007-10-03  Jiri Malak  <Jiri.Malak@iol.cz>

        * include/rpcndr.h: Missing NdrClientCall2 entry.
        * lib/rpcrt4.def: Ditto.

17 years ago2007-10-03 Frank Fesevur <ffes@users.sourceforge.net>
Chris Sutcliffe [Wed, 3 Oct 2007 23:34:14 +0000 (23:34 +0000)]
2007-10-03  Frank Fesevur  <ffes@users.sourceforge.net>

        * lib/scnsave.c: Multi-monitor support.

17 years ago2007-10-03 Danny Smith <dannysmith@users.sourceforge.net>
Chris Sutcliffe [Wed, 3 Oct 2007 20:45:58 +0000 (20:45 +0000)]
2007-10-03  Danny Smith  <dannysmith@users.sourceforge.net>

        * mingwex/gdtoa/mingw_snprintf.c: fixed warning during compile.

17 years ago2007-10-03 Bernd Becker <hugin@users.sourceforge.net>
Chris Sutcliffe [Wed, 3 Oct 2007 18:55:56 +0000 (18:55 +0000)]
2007-10-03  Bernd Becker <hugin@users.sourceforge.net>

        * include/io.h (__finddata64_t, __wfinddata64_t): changed member 'size'
        from '_fsize_t' to '__int64' to be consistent with the other ...64
        structures and the value set there is 8 bytes not 4.  Add guard for both
        as the are only used by functions available from 6.1 on.

        * include/malloc.h (_HEAP_MAXREQ): Define.
        (_aligned_offset_recalloc): Define.
        (_aligned_recalloc()): Define.

        * include/math.h: fixed a typo in a comment.
        (atanhf): Fixed declaration.

        * include/wchar.h (__wfinddata64_t): changed member 'size' from '_fsize_t'
        to '__int64' to be consistent with the other ...64 structures and the value
        set there is 8 bytes not 4.  Added guard as this function is only used by
        functions available from 6.1 on.

        * include/sys/stat.h: some members of 'stat' were declared with types with
        a prefixed underscore, while the ones without the underscore should have
        been used.  Added guard to '__stat64' as it is only used by functions
        available from 6.1 on.  Added the wide character versions of the
        exec()/spawn() family for completion
        (_stati64): changed the type of the 'st_mode' member from 'unsigned int' to
        '_mode_t'

        * include/sys/timeb.h (timeb, _timb): changed the type of the 'time' member
        from 'long' to 'time_t'
        (__timeb64): moved declaration of structure directly before the declaration
        of the function '_ftime64()', so it is guarded as well

        * include/sys/utime.h (__utimbuf64): moved declaration of structure directly
        before the declaration of the functions using it, so it is guarded as well

17 years ago * no-executables.m4 (GCC_TRY_COMPILE_OR_LINK): New function.
Kazu Hirata [Wed, 3 Oct 2007 14:35:31 +0000 (14:35 +0000)]
* no-executables.m4 (GCC_TRY_COMPILE_OR_LINK): New function.

17 years ago2007-10-02 Markus Deuling <deuling@de.ibm.com>
Jeff Johnston [Tue, 2 Oct 2007 18:59:58 +0000 (18:59 +0000)]
2007-10-02  Markus Deuling  <deuling@de.ibm.com>

        * spu/crt0.S: Initialize __ea_local_store (EA address of the LS)
          via register 6.

17 years ago2007-10-01 Markus Deuling <deuling@de.ibm.com>
Jeff Johnston [Mon, 1 Oct 2007 18:42:51 +0000 (18:42 +0000)]
2007-10-01  Markus Deuling  <deuling@de.ibm.com>

        * spu/Makefile.in: add dependencies for crt files.

This page took 0.082556 seconds and 5 git commands to generate.