summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * strfuncs.cc (sys_cp_wcstombs): save and restore previous errno value.Corinna Vinschen2009-05-082-1/+8
| | | | (sys_cp_mbstowcs): Ditto.
* * strfuncs.cc (sys_cp_wcstombs): Set errno to 0 before convertingCorinna Vinschen2009-05-082-0/+6
| | | | wide char to SO/UTF-8 sequence.
* * include/sys/select.h: Guard definitions with __USE_W32_SOCKETS asCorinna Vinschen2009-05-082-2/+7
| | | | the accompanying fd_set definitions in newlib's sys/types.h.
* * MAINTAINERS: Add myself as a maintainer for the MN10300 and toNick Clifton2009-05-082-0/+7
| | | | the write-after-approval list.
* * mn10300/sim.ld: Add missing section names such as .bss.*Nick Clifton2009-05-082-41/+36
| | | | .text.*, etc. General tidy up.
* 2009-05-07 Ken Werner <ken.werner@de.ibm.com>Jeff Johnston2009-05-074-1791/+1199
| | | | | | * spu/configure.in: Fix multilib support. * spu/configure: Regenerate. * spu/Makefile.in: Add CFLAGS_FOR_TARGET.
* * fhandler_console.cc (fhandler_console::ioctl): Properly treat TIOCLINUXChristopher Faylor2009-05-063-3/+10
| | | | | | argument as a char. * fhandler_tty.cc (fhandler_tty_slave::ioctl): Use coercion to properly set char value.
* * Move ChangeLog entry.Corinna Vinschen2009-05-062-5/+5
|
* * libc/minires.c (scanline): Fix type in calls to ctype functionsCorinna Vinschen2009-05-064-10/+17
| | | | | | to stay in unsigned char range for char values >= 0x80. * regex/regcomp.c: Ditto, throughout. * regex/regex2.h (ISWORD): Ditto.
* * faq-setup.xml: Fix entry explaing how the homedir is evaluatedCorinna Vinschen2009-05-062-4/+6
| | | | according to recent change.
* * mkpasswd.c (current_user): Don't use HOMEDRIVE/HOMEPATH to generateCorinna Vinschen2009-05-065-30/+25
| | | | | | | | | user's homedir. * mkgroup.c: Accommodate ctype changes. * mkpasswd.c: Ditto. * setfacl.c: Ditto. * ssp.c: Ditto.
* * cygheap.cc (cygheap_init): Set umask to a sane default.Corinna Vinschen2009-05-063-18/+12
| | | | | * uinfo.cc (cygheap_user::ontherange): Don't use HOMEDRIVE/HOMEPATH to set HOME. Default to /home/USERNAME.
* * cygcheck.cc (find_app_on_path): Avoid using NULL pointer if find_on_pathChristopher Faylor2009-05-042-0/+8
| | | | doesn't find the app on the path.
* * cygcheck.cc (usage): Fix option order and print.Corinna Vinschen2009-05-042-5/+10
|
* * security.cc (set_file_sd): Drop using FILE_OPEN_FOR_RECOVERY flag inCorinna Vinschen2009-05-046-23/+26
| | | | | | | | | | | call to NtOpenFile. * exceptions.cc (open_stackdumpfile): Ditto in call to NtCreateFile. * fhandler.cc (fhandler_base::open): Ditto. Simplify setting create_options. * mount.cc (fs_info::update): Recognize offline storage. (fillout_mntent): Report UDF and offline storage. * mount.h (class fs_info): Add is_csc_cache status flag.
* * fhandler_console.cc (fhandler_console::write_console): Eliminate unneededChristopher Faylor2009-05-042-3/+6
| | | | | debugging output. (fhandler_console::write_normal): Eliminate unneeded __seterrno.
* * libc/minires.c (scanline): Accommodate ctype changes which disallow use of anChristopher Faylor2009-05-044-10/+17
| | | | | | unadorned char argument to is* macros. * regex/regcomp.c: Ditto, throughout. * regex/regex2.h (ISWORD): Ditto.
* * fhandler.h (fhandler_console::MAX_WRITE_CHARS): Declare.Christopher Faylor2009-05-043-15/+46
| | | | | | | | | | (fhandler_console::write_replacement_char): Declare as inline. (fhandler_console::write_console): Declare new function. * fhandler_console.cc (fhandler_console::MAX_WRITE_CHARS): Define. (handler_console::write_console): Define. (fhandler_console::write_replacement_char): Define as inline. (fhandler_console::write_normal): Use write_console when writing buffers of unknown length.
* 2009-05-01 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2009-05-023-0/+17
| | | | | | * include/shellapi.h (SHIL_LARGE, SHIL_SMALL, SHIL_EXTRALARGE, SHIL_SYSSMALL, SHIL_JUMBO, SHIL_LAST SHIL_JUMBO, SHGetImageList): Define. * lib/shell32.def (SHGetImageList): Define.
* Add self to MAINTAINERS file. Tweak moxie stack position.Anthony Green2009-05-014-1/+13
|
* Allow gcc warning for toupper even with extended charsets.Eric Blake2009-04-302-6/+25
| | | | | | | * libc/include/ctype.h (toupper, tolower) [_MB_EXTENDED_CHARSETS_ISO]: Allow gcc warning when called with 'char' even when we must call the function for correct behavior. [!_MB_EXTENDED_CHARSETS_ISO]: Fix regression in result type.
* * mep.h (EF_MEP_COP_*): New.DJ Delorie2009-04-302-1/+14
| | | | (EF_MEP_ALL_FLAGS): Add them.
* include/elfNick Clifton2009-04-302-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-04-30 Nick Clifton <nickc@redhat.com> * common.h (STT_GNU_IFUNC): Define. elfcpp 2009-04-30 Nick Clifton <nickc@redhat.com> * (enum STT): Add STT_GNU_IFUNC. gas 2009-04-30 Nick Clifton <nickc@redhat.com> * config/obj-elf.c (obj_elf_type): Add support for a gnu_indirect_function type. * config/tc-i386.c (tc_i386_fix_adjustable): Do not adjust fixups against indirect function symbols. * doc/as.texinfo (.type): Document the support for the gnu_indirect_function symbol type. * NEWS: Mention the new feature. gas/testsuite 2009-04-30 Nick Clifton <nickc@redhat.com> * gas/elf/elf.exp: Extend type test to include an ifunc symbol. Provide an alternative test for targets which do not support ifunc symbols. (type.s): Add entry for an ifunc symbol. (type.e): Add ifunc entry to expected symbol dump. (section2.e-armelf): Add entry for ifunc symbol. (type-noifunc.s): New file. (type-noifunc.e): New file. bfd/ 2009-04-30 Nick Clifton <nickc@redhat.com> * elf-bfd.h (struct bfd_elf_section_data): Add indirect_relocs section pointer. (struct elf_obj_data): Add has_ifunc_symbols boolean. * elf.c (swap_out_syms): Convert BSF_GNU_INDIRECT_FUNCTION flags into a STT_GNU_IFUNC symbol type. (_bfd_elf_is_function_type): Accept STT_GNU_IFUNC as a function type. (_bfd_elf_set_osabi): Set the osasbi field to ELFOSABI_LINUX if the binary contains ifunc symbols. * elfcode.h (elf_slurp_symbol_table): Translate the STT_GNU_IFUNC symbol type into a BSF_GNU_INDIRECT_FUNCTION flag. * elf32-i386.c (is_indirect_function): New function. (elf_i386_check_relocs): Create an ifunc output section. (allocate_dynrelocs): Create dynamic relocs in the ifunc output section if necessary. (elf_i386_relocate_section): Emit a reloc against an ifunc symbol if necessary. (elf_i386_add_symbol_hook): New function. Set the has_ifunc_symbols field of the elf_obj_data structure if an ifunc symbol is encountered. (elf_backend_post_process_headers): Define. (elf_backend_add_symbol_hook): Define. (elf_i386_post_process_headers): Rename to elf_i388_fbsd_post_process_headers. * elf64-x86_64.c (IS_X86_64_PCREL_TYPE): New macro. (is_indirect_function): New function. (elf64_x86_64_check_relocs): Create an ifunc output section. (allocate_dynrelocs): Create dynamic relocs in the ifunc output section if necessary. (elf64_x86_64_relocate_section): Emit a reloc against an ifunc symbol if necessary. (elf_i386_add_symbol_hook): Set the has_ifunc_symbols field of the elf_obj_data structure if an ifunc symbol is encountered. (elf_backend_post_process_headers): Define. * elflink.c (_bfd_elf_adjust_dynamic_symbol): Always create a PLT if we have ifunc symbols to handle. (get_ifunc_reloc_section_name): New function. Computes the name for an ifunc section. (_bfd_elf_make_ifunc_reloc_section): New function. Creates a section to hold ifunc relocs. * syms.c (BSF_GNU_INDIRECT_FUNCTION): Define. (bfd_print_symbol_vandf): Handle ifunc symbols. (bfd_decode_symclass): Likewise. * bfd-in2.h: Regenerate. binutils 2009-04-30 Nick Clifton <nickc@redhat.com> * readelf.c (dump_relocations): Display a relocation against an ifunc symbol as if it were a function invocation. (get_symbol_type): Handle STT_GNU_IFUNC. ld 2009-04-30 Nick Clifton <nickc@redhat.com> * NEWS: Mention support for IFUNC symbols. ld/testsuite 2009-04-30 Nick Clifton <nickc@redhat.com> * ld-ifunc: New directory. * ld-ifunc/ifunc.exp: New file: Run the IFUNC tests. * ld-ifunc/prog.c: New file. * ld-ifunc/lib.c: New file.
* * include/cygwin/socket.h: Define SOL_IPV6.Christopher Faylor2009-04-272-0/+5
|
* * Makefile.tpl (POSTSTAGE1_HOST_EXPORTS): Add GNATBIND.Eric Botcazou2009-04-253-4/+10
| | | | | (POSTSTAGE1_FLAGS_TO_PASS): Pick up exported value for GNATBIND. * Makefile.in: Regenerate.
* 2009-04-24 Jeff johnston <jjohnstn@redhat.com>Jeff Johnston2009-04-2410-0/+53
| | | | | | | | | | | | | | * libc/stdio/fgetc.c: Make sure sfp lock is acquired before the file lock and released before the file lock to avoid a deadlock scenario. * libc/stdio/fgets.c: Ditto. * libc/stdio/fgetwc.c: Ditto. * libc/stdio/fgetws.c: Ditto. * libc/stdio/fread.c: Ditto. * libc/stdio/fseek.c: Ditto. * libc/stdio/getc.c: Ditto. * libc/stdio/getdelim.c: Ditto. * libc/stdio/gets.c: Ditto.
* 2009-04-24 Jeff johnston <jjohnstn@redhat.com>Jeff Johnston2009-04-248-25/+84
| | | | | | | | | | | | | * configure.in: Add configuration test for long double equals dbl and set flag _LDBL_EQ_DBL if true. * configure: Regenerated. * newlib.hin: Add _LDBL_EQ_DBL flag. * libc/include/math.h: Use _LDBL_EQ_DBL flag instead of _HAVE_LDBL_MATH. * libc/include/stdlib.h: Use _LDBL_EQ_DBL flag instead of _HAVE_LDBL_STDLIB. * libc/common/local.h: Remove _LDBL_EQ_DBL flag setting. * libc/stdlib/local.h: Ditto.
* 2009-04-24 Joseph Myers <joseph@codesourcery.com>Jeff Johnston2009-04-242-0/+9
| | | | | * libc/include/stdint.h (UINTPTR_MAX): Define to __UINTPTR_MAX__ if __UINTPTR_MAX__ defined.
* include/elf/Cary Coutant2009-04-242-0/+5
| | | | | | | | | * dwarf2.h (DW_LNE_set_discriminator): New enum value. binutils/ * dwarf.c (process_extended_line_op): Add DW_LNE_set_discriminator. Add missing newlines to HP extensions.
* Update ChangeLog entries.H.J. Lu2009-04-242-43/+48
|
* *** empty log message ***Eli Zaretskii2009-04-241-0/+5
|
* * config.guess (pc:*:*:*): Return i586-pc-msdosdjgpp, forEli Zaretskii2009-04-241-2/+5
| | | | consistency with config.sub. (Update from upstream sources.)
* Be namespace clean in ctype.h.Eric Blake2009-04-242-22/+28
| | | | | | | * libc/include/ctype.h (_tolower, _toupper, isalpha, isupper) (islower, isdigit, isxdigit, isspace, ispunct, isalnum) (isprint, isgraph, iscntrl, isblank, toupper, tolower) (isascii, toascii): Don't use 'c' as macro parameter name.
* Trigger gcc warning if isFoo macros are called with plain char.Eric Blake2009-04-242-39/+53
| | | | | | | * libc/include/ctype.h (isalpha, isupper, islower, isdigit) (isxdigit, isspace, ispunct, isalnum, isprint, isgraph) (iscntrl, isblank, toupper, tolower): Rewrite to let 'gcc -Wall' warn when user calls macro with a char argument.
* 2009-04-23 Mike Burgess <wizardsguild@earthlink.net>Jeff Johnston2009-04-235-29/+33
| | | | | | | * libc/string/strcasecmp.c: Optimized rewrite. * libc/string/strncasecmp.c: Fix description. * libc/string/strlwr.c: Avoid passing signed char to tolower. * libc/string/strupr.c: Avoid passing signed char to tolower.
* 2009-04-23 Paul Brook <paul@codesourcery.com>Jeff Johnston2009-04-233-1/+26
| | | | | | | | | Kazu Hirata <kazu@codesourcery.com> * libc/stdlib/__atexit.c (__register_exitproc): Use weak reference to malloc. Allocate dynamically only if it is present. * libc/stdlib/__call_atexit.c (__call_exitprocs): Use weak reference to free. Call free only if it is present.
* 2009-04-22 Anthony Green <green@moxielogic.com>Jeff Johnston2009-04-2212-14/+5537
| | | | | | | | | | | | | | * configure.host: Add moxie support. * libc/machine/configure.in: Add moxie support. * libc/machine/configure: Rebuilt. * libc/machine/moxie/aclocal.m4: New file. * libc/machine/moxie/configure: New file. * libc/machine/moxie/configure.in: New file. * libc/machine/moxie/Makefile.am: New file. * libc/machine/moxie/Makefile.in: New file. * libc/machine/moxie/setjmp.S: New file. * libc/include/machine/setjmp.h (_JBLEN): Define for moxie. * libc/include/machine/ieeefp.h: Add moxie support.
* 2009-04-22 Anthony Green <green@moxielogic.com>Jeff Johnston2009-04-2231-2422/+6412
| | | | | | | | | | | | | | * configure.in: Add moxie support. * configure: Regenerate. * moxie/aclocal.m4, moxie/configure, moxie/configure.in, moxie/crt0.S, moxie/fstat.c, moxie/getpid.c, isatty.c, moxie/kill.c, moxie/Makefile.in, moxie/moxie-elf-common.ld, moxie/print.c, moxie/putnum.c, moxie/qemu.ld, moxie/qemu-time.c, moxie/qemu-write.c, moxie/sbrk.c, moxie/sim-close.S, moxie/sim-exit.S, moxie/sim-inbyte.c, moxie/sim.ld, moxie/sim-lseek.c, moxie/sim-lseek.S, moxie/sim-open.S, moxie/sim-read.S, moxie/sim-time.c, moxie/sim-unlink.S, moxie/sim-write.S, moxie/stat.c: New files.
* merge from gccDJ Delorie2009-04-222-6/+3
|
* * strace.cc (create_child): Set CYGWIN=noglob when starting new process so thatChristopher Faylor2009-04-222-1/+16
| | | | Cygwin will leave already-parsed the command line alonw.
* * mep/sim-crt0.S (_start): Fix typo.DJ Delorie2009-04-222-1/+5
|
* * libc/stdio/local.h (__chclass, __state_table, __action_table):Corinna Vinschen2009-04-223-5/+11
| | | | | Add extern to the declarations. * libc/stdlib/local.h (__iso_8859_conv, __cp_conv): Likewise.
* * ctype.cc (__set_ctype): Copy exact part of the current activeCorinna Vinschen2009-04-212-2/+7
| | | | character class array.
* * libc/ctype/ctype_.c (_CTYPE_DATA_128_255): Rename fromCorinna Vinschen2009-04-214-190/+348
| | | | | | | | | _CTYPE_DATA_128_256. * libc/ctype/ctype_cp.h: Split off all character class values for character 255 from the rest of the definitions. (__ctype_cp): Use the new definitions. Make sure that the table always contains 0 for EOF (-1). * libc/ctype/ctype_iso.h: Ditto.
* 2009-04-21 Sandra Loosemore <sandra@codesourcery.com>Jeff Johnston2009-04-212-0/+16
| | | | | * libc/reent/impure.c (__sf_fake_stdin, __sf_fake_stdout) (__sf_fake_stderr): Declare locally with weak attribute.
* 2009-04-21 Mark Mitchell <mark@codesourcery.com>Jeff Johnston2009-04-213-25/+50
| | | | | | | | | | | | | | * libc/include/_ansi.h: Move C++ defines to top of file. (_NOTHROW): New macro. (_EXFUN_NOTHROW): Likewise. * libc/include/stdlib.h (calloc): Declare with _EXFUN_NOTHROW. (free): Likewise. (malloc): Likewise. (realloc): Likewise. (_malloc_r): Likewise. (_callor_r): Likewise. (_free_r): Likewise. (_realloc_r): Likewise.
* * mep/Makefile.in (SCRIPTS): Update to new config.DJ Delorie2009-04-216-15/+358
| | | | | | | * mep/default.ld: New. * mep/gmap_default.ld: Change default endian to little. * mep/sim-crt0.S: Maintain 8-byte stack alignment. * mep/sim-crtn.S: Likewise.
* * texinfo/texinfo.tex: Update to version 2009-03-28.05.Joseph Myers2009-04-212-964/+3328
|
* bfd/ChangeLogDave Korn2009-04-212-0/+179
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-04-21 Kai Tietz <kai.tietz@onevision.com> * coff-x86_64.c (PEI_HEADERS): Protect includes. (bfd_pe_print_pdata): Remove #ifdef PE variation. * pei-x86_64.c (PEI_HEADERS): Define to prevent double include in coff-x86_64.c of headers. (PDATA_ROW_SIZE): New define. (pex_regs[]): New static array. (pex64_get_runtime_function): New static function. (pex64_get_unwind_info): Likewise. (pex64_get_scope_entry): Likewise. (pex64_xdata_print_uwd_codes): Likewise. (pep_get_section_by_rva): Likewise. (pex64_dump_xdata): Likewise. (pex64_bfd_print_pdata): Likewise. (bfd_pe_print_pdata): Define as pex64_bfd_print_pdata. * peXXigen.c (_bfd_pex64_print_pdata): Removed implementation. * libpei.h (_bfd_pex64_print_pdata): Removed declaration. include/ChangeLog 2009-04-21 Kai Tietz <kai.tietz@onevision.com> * coff/pe.h (pex64_runtime_function): New structure. (external_pex64_runtime_function): Likewise. (pex64_unwind_code): Likewise. (external_pex64_unwind_code): Likewise. (pex64_unwind_info): Likewise. (external_pex64_unwind_info): Likewise. (external_pex64_scope): Likewise. (pex64_scope): Likewise. (pex64_scope_entry): Likewise. (external_pex64_scope_entry): Likewise. (PEX64_IS_RUNTIME_FUNCTION_CHAINED): New macro. (PEX64_GET_UNWINDDATA_UNIFIED_RVA): Likewise. (PEX64_UNWCODE_CODE): Likewise. (PEX64_UNWCODE_INFO): Likewise. (UWOP_...): Add defines for unwind code. (UNW_FLAG_...): Add defined for unwind info flags. (PEX64_SCOPE_ENTRY_SIZE): New macro. (PEX64_UWI_VERSION): Likewise. (PEX64_UWI_FLAGS): Likewise. (PEX64_UWI_FRAMEREG): Likewise. (PEX64_UWI_FRAMEOFF): Likewise. (PEX64_UWI_SIZEOF_UWCODE_ARRAY): Likewise. (PEX64_OFFSET_TO_UNWIND_CODE): Likewise. (PEX64_OFFSET_TO_HANDLER_RVA): Likewise. (PEX64_OFFSET_TO_SCOPE_COUNT): Likewise. (PEX64_SCOPE_ENTRY): Likewise.
* 2009-04-20 Jeff johnston <jjohnstn@redhat.com>Jeff Johnston2009-04-203-7/+14
| | | | | | | * libc/include/math.h: Change _LDBL_EQ_DBL flag usage to be _HAVE_LDBL_MATH. * libc/include/stdlib.h: Change _LDBL_EQ_DBL flag usage to be _HAVE_LDBL_STDLIB.