]>
sourceware.org Git - newlib-cygwin.git/log
Keith Marshall [Fri, 3 Oct 2008 22:48:22 +0000 (22:48 +0000)]
Improve package identification in configure script.
Jeff Johnston [Thu, 2 Oct 2008 20:12:34 +0000 (20:12 +0000)]
2008-10-02 Jeff Johnston <jjohnstn@redhat.com>
* libc/string/str-two-way.h (critical_factorization): Cast the index
operation to ensure unsigned rollover occurs when adding to SIZE_MAX.
Jeff Johnston [Thu, 2 Oct 2008 17:29:11 +0000 (17:29 +0000)]
2008-10-02 Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/linux/include/stdint.h (SIZE_MAX): Fix value which should
be size of size_t, not int.
(SIZE_MIN): Remove.
* libc/sys/linux/sys/stdint.h: Ditto
Jeff Johnston [Thu, 2 Oct 2008 16:43:23 +0000 (16:43 +0000)]
2008-10-02 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/sys/reent.h[_REENT_SMALL](_REENT_INIT_RAND48): Add
initialization of _rand_next to 1.
Christopher Faylor [Tue, 30 Sep 2008 02:39:07 +0000 (02:39 +0000)]
* thread.cc (pthread_mutex::_fixup_after_fork): Reinstate DEBUGGING
conditional.
Christopher Faylor [Tue, 30 Sep 2008 02:22:39 +0000 (02:22 +0000)]
* thread.cc (pthread_mutex::_fixup_after_fork): Just reset lock to pristine
state after fork. Don't recreate a mutex since it may not actually be needed.
Corinna Vinschen [Mon, 29 Sep 2008 17:03:49 +0000 (17:03 +0000)]
* flock.cc (inode_t::get_all_locks_list): Fix typo.
* posix.sgml: Add cfmakeraw to list of implemented BSD functions.
Steve Ellcey [Mon, 29 Sep 2008 15:40:48 +0000 (15:40 +0000)]
* configure: Regenerate for new libtool.
* aclocal.m4: Ditto.
* Makefile.in: Ditto.
* newlib.hin: Ditto.
* doc/Makefile.in: Ditto.
* doc/configure: Ditto.
* iconvdata/Makefile.in: Ditto.
* iconvdata/aclocal.m4: Ditto.
* iconvdata/configure: Ditto.
* libc/Makefile.in: Ditto.
* libc/aclocal.m4: Ditto.
* libc/configure: Ditto.
* libc/argz/Makefile.in: Ditto.
* libc/ctype/Makefile.in: Ditto.
* libc/errno/Makefile.in: Ditto.
* libc/iconv/Makefile.in: Ditto.
* libc/iconv/ccs/Makefile.in: Ditto.
* libc/iconv/ccs/binary/Makefile.in: Ditto.
* libc/iconv/ces/Makefile.in: Ditto.
* libc/iconv/lib/Makefile.in: Ditto.
* libc/locale/Makefile.in: Ditto.
* libc/machine/Makefile.in: Ditto.
* libc/machine/aclocal.m4: Ditto.
* libc/machine/configure: Ditto.
* libc/machine/a29k/Makefile.in: Ditto.
* libc/machine/a29k/configure: Ditto.
* libc/machine/arm/Makefile.in: Ditto.
* libc/machine/arm/configure: Ditto.
* libc/machine/bfin/Makefile.in: Ditto.
* libc/machine/bfin/configure: Ditto.
* libc/machine/cris/Makefile.in: Ditto.
* libc/machine/cris/configure: Ditto.
* libc/machine/crx/Makefile.in: Ditto.
* libc/machine/crx/configure: Ditto.
* libc/machine/d10v/Makefile.in: Ditto.
* libc/machine/d10v/configure: Ditto.
* libc/machine/d30v/Makefile.in: Ditto.
* libc/machine/d30v/configure: Ditto.
* libc/machine/fr30/Makefile.in: Ditto.
* libc/machine/fr30/configure: Ditto.
* libc/machine/frv/Makefile.in: Ditto.
* libc/machine/frv/configure: Ditto.
* libc/machine/h8300/Makefile.in: Ditto.
* libc/machine/h8300/configure: Ditto.
* libc/machine/h8500/Makefile.in: Ditto.
* libc/machine/h8500/configure: Ditto.
* libc/machine/hppa/Makefile.in: Ditto.
* libc/machine/hppa/configure: Ditto.
* libc/machine/i386/Makefile.in: Ditto.
* libc/machine/i386/aclocal.m4: Ditto.
* libc/machine/i386/configure: Ditto.
* libc/machine/i960/Makefile.in: Ditto.
* libc/machine/i960/configure: Ditto.
* libc/machine/iq2000/Makefile.in: Ditto.
* libc/machine/iq2000/configure: Ditto.
* libc/machine/m32c/Makefile.in: Ditto.
* libc/machine/m32c/configure: Ditto.
* libc/machine/m32r/Makefile.in: Ditto.
* libc/machine/m32r/configure: Ditto.
* libc/machine/m68hc11/Makefile.in: Ditto.
* libc/machine/m68hc11/configure: Ditto.
* libc/machine/m68k/Makefile.in: Ditto.
* libc/machine/m68k/configure: Ditto.
* libc/machine/m88k/Makefile.in: Ditto.
* libc/machine/m88k/configure: Ditto.
* libc/machine/mep/Makefile.in: Ditto.
* libc/machine/mep/configure: Ditto.
* libc/machine/mips/Makefile.in: Ditto.
* libc/machine/mips/configure: Ditto.
* libc/machine/mn10200/Makefile.in: Ditto.
* libc/machine/mn10200/configure: Ditto.
* libc/machine/mn10300/Makefile.in: Ditto.
* libc/machine/mn10300/configure: Ditto.
* libc/machine/mt/Makefile.in: Ditto.
* libc/machine/mt/configure: Ditto.
* libc/machine/necv70/Makefile.in: Ditto.
* libc/machine/necv70/configure: Ditto.
* libc/machine/powerpc/Makefile.in: Ditto.
* libc/machine/powerpc/configure: Ditto.
* libc/machine/sh/Makefile.in: Ditto.
* libc/machine/sh/configure: Ditto.
* libc/machine/sparc/Makefile.in: Ditto.
* libc/machine/sparc/configure: Ditto.
* libc/machine/spu/Makefile.in: Ditto.
* libc/machine/spu/configure: Ditto.
* libc/machine/tic4x/Makefile.in: Ditto.
* libc/machine/tic4x/configure: Ditto.
* libc/machine/tic80/Makefile.in: Ditto.
* libc/machine/tic80/configure: Ditto.
* libc/machine/v850/Makefile.in: Ditto.
* libc/machine/v850/configure: Ditto.
* libc/machine/w65/Makefile.in: Ditto.
* libc/machine/w65/configure: Ditto.
* libc/machine/x86_64/Makefile.in: Ditto.
* libc/machine/x86_64/configure: Ditto.
* libc/machine/xscale/Makefile.in: Ditto.
* libc/machine/xscale/configure: Ditto.
* libc/machine/xstormy16/Makefile.in: Ditto.
* libc/machine/xstormy16/configure: Ditto.
* libc/machine/z8k/Makefile.in: Ditto.
* libc/machine/z8k/configure: Ditto.
* libc/misc/Makefile.in: Ditto.
* libc/posix/Makefile.in: Ditto.
* libc/reent/Makefile.in: Ditto.
* libc/search/Makefile.in: Ditto.
* libc/signal/Makefile.in: Ditto.
* libc/stdio/Makefile.in: Ditto.
* libc/stdio64/Makefile.in: Ditto.
* libc/stdlib/Makefile.in: Ditto.
* libc/string/Makefile.in: Ditto.
* libc/sys/Makefile.in: Ditto.
* libc/sys/aclocal.m4: Ditto.
* libc/sys/configure: Ditto.
* libc/sys/a29khif/Makefile.in: Ditto.
* libc/sys/a29khif/configure: Ditto.
* libc/sys/arc/Makefile.in: Ditto.
* libc/sys/arc/configure: Ditto.
* libc/sys/arm/Makefile.in: Ditto.
* libc/sys/arm/configure: Ditto.
* libc/sys/d10v/Makefile.in: Ditto.
* libc/sys/d10v/configure: Ditto.
* libc/sys/decstation/Makefile.in: Ditto.
* libc/sys/decstation/configure: Ditto.
* libc/sys/h8300hms/Makefile.in: Ditto.
* libc/sys/h8300hms/configure: Ditto.
* libc/sys/h8500hms/Makefile.in: Ditto.
* libc/sys/h8500hms/configure: Ditto.
* libc/sys/linux/Makefile.in: Ditto.
* libc/sys/linux/aclocal.m4: Ditto.
* libc/sys/linux/configure: Ditto.
* libc/sys/linux/argp/Makefile.in: Ditto.
* libc/sys/linux/cmath/Makefile.in: Ditto.
* libc/sys/linux/dl/Makefile.in: Ditto.
* libc/sys/linux/iconv/Makefile.in: Ditto.
* libc/sys/linux/intl/Makefile.in: Ditto.
* libc/sys/linux/linuxthreads/Makefile.in: Ditto.
* libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
* libc/sys/linux/linuxthreads/configure: Ditto.
* libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
* libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
* libc/sys/linux/linuxthreads/machine/configure: Ditto.
* libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
* libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
* libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
* libc/sys/linux/machine/Makefile.in: Ditto.
* libc/sys/linux/machine/aclocal.m4: Ditto.
* libc/sys/linux/machine/configure: Ditto.
* libc/sys/linux/machine/i386/Makefile.in: Ditto.
* libc/sys/linux/machine/i386/aclocal.m4: Ditto.
* libc/sys/linux/machine/i386/configure: Ditto.
* libc/sys/linux/net/Makefile.in: Ditto.
* libc/sys/linux/stdlib/Makefile.in: Ditto.
* libc/sys/m88kbug/Makefile.in: Ditto.
* libc/sys/m88kbug/configure: Ditto.
* libc/sys/mmixware/Makefile.in: Ditto.
* libc/sys/mmixware/configure: Ditto.
* libc/sys/netware/Makefile.in: Ditto.
* libc/sys/netware/configure: Ditto.
* libc/sys/rdos/Makefile.in: Ditto.
* libc/sys/rdos/configure: Ditto.
* libc/sys/rtems/Makefile.in: Ditto.
* libc/sys/rtems/configure: Ditto.
* libc/sys/sh/Makefile.in: Ditto.
* libc/sys/sh/configure: Ditto.
* libc/sys/sparc64/Makefile.in: Ditto.
* libc/sys/sparc64/configure: Ditto.
* libc/sys/sun4/Makefile.in: Ditto.
* libc/sys/sun4/configure: Ditto.
* libc/sys/sysmec/Makefile.in: Ditto.
* libc/sys/sysmec/configure: Ditto.
* libc/sys/sysnec810/Makefile.in: Ditto.
* libc/sys/sysnec810/configure: Ditto.
* libc/sys/sysnecv850/Makefile.in: Ditto.
* libc/sys/sysnecv850/configure: Ditto.
* libc/sys/sysvi386/Makefile.in: Ditto.
* libc/sys/sysvi386/configure: Ditto.
* libc/sys/sysvnecv70/Makefile.in: Ditto.
* libc/sys/sysvnecv70/configure: Ditto.
* libc/sys/tic80/Makefile.in: Ditto.
* libc/sys/tic80/configure: Ditto.
* libc/sys/w65/Makefile.in: Ditto.
* libc/sys/w65/configure: Ditto.
* libc/sys/z8ksim/Makefile.in: Ditto.
* libc/sys/z8ksim/configure: Ditto.
* libc/syscalls/Makefile.in: Ditto.
* libc/time/Makefile.in: Ditto.
* libc/unix/Makefile.in: Ditto.
* libm/Makefile.in: Ditto.
* libm/aclocal.m4: Ditto.
* libm/configure: Ditto.
* libm/common/Makefile.in: Ditto.
* libm/machine/Makefile.in: Ditto.
* libm/machine/aclocal.m4: Ditto.
* libm/machine/configure: Ditto.
* libm/machine/i386/Makefile.in: Ditto.
* libm/machine/i386/aclocal.m4: Ditto.
* libm/machine/i386/configure: Ditto.
* libm/machine/spu/Makefile.in: Ditto.
* libm/machine/spu/configure: Ditto.
* libm/math/Makefile.in: Ditto.
* libm/mathfp/Makefile.in: Ditto.
Steve Ellcey [Mon, 29 Sep 2008 15:28:14 +0000 (15:28 +0000)]
* libtool.m4: Update to libtool 2.2.6.
* lt~obsolete.m4: Update to libtool 2.2.6.
* ltmain.sh: Update to libtool 2.2.6.
* ltsugar.m4: Update to libtool 2.2.6.
* ltversion.m4: Update to libtool 2.2.6.
* ltoptions.m4: Update to libtool 2.2.6.
* ltgcc.m4: Update to match changes from libtool 2.2.6.
Jeff Johnston [Fri, 26 Sep 2008 16:23:58 +0000 (16:23 +0000)]
2008-09-26 Craig Howland <howland@LGSInnovations.com>
* libc/stdlib/getenv_r.c (_getenv_r): Modify to not match if name
contains an equal sign.
Jeff Johnston [Fri, 26 Sep 2008 16:15:50 +0000 (16:15 +0000)]
2008-09-25 Raphael Derossa Pereira <raphaelpereira@gmail.com>
* libc/include/pthread.h[_UNIX98_THREAD_MUTEX_ATTRIBUTES]: Add
new pthread_mutexattr_gettype and pthread_mutexattr_settype
prototypes.
* libc/include/sys/types.h[_UNIX98_THREAD_MUTEX_ATTRIBUTES]: Add
new mutex type values.
(pthread_mutexattr_t)[_UNIX98_THREAD_MUTEX_ATTRIBUTES]: Add type
field.
Chris Sutcliffe [Fri, 26 Sep 2008 01:20:21 +0000 (01:20 +0000)]
2008-09-25 Chris Sutcliffe <ir0nh34d@users.sf.net>
* include/vfw.h (capSendMessage): Rename to __capSendMessage.
Keith Marshall [Thu, 25 Sep 2008 21:53:17 +0000 (21:53 +0000)]
Jeff Johnston [Thu, 25 Sep 2008 03:00:04 +0000 (03:00 +0000)]
2008-09-24 Jeff Johnston <jjohnstn@redhat.com>
* libc/stdlib/setenv_r.c (_unsetenv_r): Modify to return -1 only if
name is NULL, empty, or contains equal sign.
Jeff Johnston [Thu, 25 Sep 2008 01:23:08 +0000 (01:23 +0000)]
2008-09-24 Pawel Veselov <pawel.veselov@gmail.com>
Fix setenv/getenv/unsetenv to be OpenGroup compliant:
* libc/include/stdlib.h (unsetenv, _unsetenv_r): Redefine with integer
return types.
* libc/stdlib/getenv_r.c (_findenv_r): Do no special processing with
names that contain equal chars.
* libc/stdlib/setenv.c: Redefine _unsetenv_r as returning int.
* libc/stdlib/setenv_r.c (_setenv_r): Return -1 and set errno to
EINVAL if name contains an equal sign. Do not remove any equal signs
from the value.
(_unsetenv_r): Modified to return int. Return -1 and set EINVAL
if name contains equal sign. Return -1 if no variable(s) were found
and return 0 otherwise.
Chris Sutcliffe [Wed, 24 Sep 2008 23:32:42 +0000 (23:32 +0000)]
2008-09-24 Chris Sutcliffe <ir0nh34d@users.sf.net>
* include/vfw.h (WM_CAP_SET_CALLBACK_ERRORA, WM_CAP_SET_CALLBACK_ERRORW,
WM_CAP_SET_CALLBACK_STATUS, WM_CAP_SET_CALLBACK_YIELD,
WM_CAP_SET_CALLBACK_FRAMEA, WM_CAP_SET_CALLBACK_FRAMEW,
WM_CAP_SET_CALLBACK_VIDEOSTREAM, WM_CAP_SET_CALLBACK_WAVESTREAM,
WM_CAP_GET_USER_DATA, WM_CAP_SET_USER_DATA, WM_CAP_DRIVER_CONNECT,
WM_CAP_DRIVER_DISCONNECT, WM_CAP_DRIVER_GET_NAMEA, WM_CAP_DRIVER_GET_NAMEW,
WM_CAP_DRIVER_GET_VERSIONA, WM_CAP_DRIVER_GET_VERSIONW,
WM_CAP_DRIVER_GET_CAPS, WM_CAP_FILE_SET_CAPTURE_FILEA,
WM_CAP_FILE_SET_CAPTURE_FILEW, WM_CAP_FILE_GET_CAPTURE_FILEA,
WM_CAP_FILE_GET_CAPTURE_FILEW, WM_CAP_FILE_ALLOCATE, WM_CAP_FILE_SAVEASA,
WM_CAP_FILE_SAVEASW, WM_CAP_FILE_SET_INFOCHUNK, WM_CAP_FILE_SAVEDIBA,
WM_CAP_FILE_SAVEDIBW, WM_CAP_EDIT_COPY, WM_CAP_SET_AUDIOFORMAT,
WM_CAP_GET_AUDIOFORMAT, WM_CAP_DLG_VIDEOFORMAT, WM_CAP_DLG_VIDEOSOURCE,
WM_CAP_DLG_VIDEODISPLAY, WM_CAP_GET_VIDEOFORMAT, WM_CAP_SET_VIDEOFORMAT,
WM_CAP_DLG_VIDEOCOMPRESSION, WM_CAP_SET_PREVIEW, WM_CAP_SET_OVERLAY,
WM_CAP_SET_PREVIEWRATE, WM_CAP_SET_SCALE, WM_CAP_GET_STATUS,
WM_CAP_SET_SCROLL, WM_CAP_GRAB_FRAME, WM_CAP_GRAB_FRAME_NOSTOP,
WM_CAP_SEQUENCE, WM_CAP_SEQUENCE_NOFILE, WM_CAP_SET_SEQUENCE_SETUP,
WM_CAP_GET_SEQUENCE_SETUP, WM_CAP_SET_MCI_DEVICEA, WM_CAP_SET_MCI_DEVICEW,
WM_CAP_GET_MCI_DEVICEA, WM_CAP_GET_MCI_DEVICEW, WM_CAP_STOP, WM_CAP_ABORT,
WM_CAP_SINGLE_FRAME_OPEN, WM_CAP_SINGLE_FRAME_CLOSE, WM_CAP_SINGLE_FRAME,
WM_CAP_PAL_OPENA, WM_CAP_PAL_OPENW, WM_CAP_PAL_SAVEA, WM_CAP_PAL_SAVEW,
WM_CAP_PAL_PASTE, WM_CAP_PAL_AUTOCREATE, WM_CAP_PAL_MANUALCREATE,
WM_CAP_SET_CALLBACK_CAPCONTROL): Define using WM_USER.
(capSendMessage): Don't undef.
DJ Delorie [Wed, 24 Sep 2008 23:29:38 +0000 (23:29 +0000)]
* m32c/varvects.S: New.
* m32c/varvects.h: New.
* m32c/sample.c: New.
* m32c/Makefile.in: Add m32cgloss library support.
* m32c/crt0.S: Tweaks to support interrupts by default.
* m32c/m32c.tmpl: Likewise.
Richard Henderson [Wed, 24 Sep 2008 23:21:04 +0000 (23:21 +0000)]
include/
* elf/dwarf2.h (DW_OP_GNU_encoded_addr): New.
binutils/
* dwarf.c (size_of_encoded_value, get_encoded_value): Move up.
(decode_location_expression): Add section parameter. Handle
DW_OP_GNU_encoded_addr.
(read_and_display_attr_value): Update decode_location_expression call.
(display_debug_loc, display_debug_frames): Likewise.
gas/
* dw2gencfi.c (DWARF2_ADDR_SIZE): Provide default.
(struct cfi_insn_data): Add ea member.
(CFI_val_encoded_addr, dot_cfi_val_encoded_addr): New.
(output_cfi_insn): Handle CFI_val_encoded_addr.
(select_cie_for_fde): Don't match CFI_val_encoded_addr.
* doc/as.texinfo (.cfi_val_encoded_addr): Document.
Chris Sutcliffe [Wed, 24 Sep 2008 00:59:03 +0000 (00:59 +0000)]
2008-09-23 Chris Sutcliffe <ir0nh34d@users.sf.net>
* Makefile.in: Don't include host_os as part of snapshot filename.
Christopher Faylor [Mon, 22 Sep 2008 16:55:30 +0000 (16:55 +0000)]
* setup2.sgml: Clarify heap allocation.
Ian Lance Taylor [Mon, 22 Sep 2008 16:37:41 +0000 (16:37 +0000)]
* plugin-api.h (ld_plugin_status): Remove comma from the last item.
Use C style comment.
(ld_plugin_api_version, ld_plugin_output_file_type,
ld_plugin_symbol_kind, ld_plugin_symbol_visibility,
ld_plugin_symbol_resolution, ld_plugin_level, ld_plugin_tag): Remove
comma from the last item.
Chris Sutcliffe [Sun, 21 Sep 2008 16:56:45 +0000 (16:56 +0000)]
2008-09-21 Chris Sutcliffe <ir0nh34d@users.sf.net>
* incude/sspi.h: include subauth.h to fix issue of UNICODE_STRING being
undefined.
Eric Blake [Fri, 19 Sep 2008 23:29:24 +0000 (23:29 +0000)]
* errno.cc (_sys_errlist): Add ECANCELED, ENOTRECOVERABLE, EOWNERDEAD.
Cary Coutant [Fri, 19 Sep 2008 22:54:57 +0000 (22:54 +0000)]
Add plugin functionality for link-time optimization (LTO).
include/:
* plugin-api.h: New file.
gold/:
* configure.ac (plugins): Add --enable-plugins option.
* configure: Regenerate.
* config.in: Regenerate.
* Makefile.am (LIBDL): New variable.
(CCFILES): Add plugin.cc.
(HFILES): Add plugin.h.
(ldadd_var): Add LIBDL.
* Makefile.in: Regenerate.
* archive.cc: Include "plugin.h".
(Archive::setup): Don't preread archive symbols when using a plugin.
(Archive::get_file_and_offset): Add memsize parameter. Change callers.
(Archive::get_elf_object_for_member): Call plugin hooks for claiming
files.
(Archive::include_member): Add symbols from plugin objects.
* archive.h (Archive::get_file_and_offset): Add memsize parameter.
* descriptors.cc (Descriptors::open): Check for file descriptors
abandoned by plugins.
(Descriptors::claim_for_plugin): New function.
* descriptors.h (Descriptors::claim_for_plugin): New function.
(Open_descriptor::is_claimed): New field.
(claim_descriptor_for_plugin): New function.
* fileread.cc (File_read::claim_for_plugin): New function.
* fileread.h (File_read::claim_for_plugin): New function.
(File_read::descriptor): New function.
* gold.cc: Include "plugin.h".
(queue_initial_tasks): Add task to call plugin hooks for generating
new object files.
* main.cc: Include "plugin.h".
(main): Load plugin libraries.
* object.h (Pluginobj): Declare.
(Object::pluginobj): New function.
(Object::do_pluginobj): New function.
(Object::set_target): New function.
* options.cc: Include "plugin.h".
(General_options::parse_plugin): New function.
(General_options::General_options): Initialize plugins_ field.
(General_options::add_plugin): New function.
* options.h (Plugin_manager): Declare.
(General_options): Add --plugin option.
(General_options::has_plugins): New function.
(General_options::plugins): New function.
(General_options::add_plugin): New function.
(General_options::plugins_): New field.
* plugin.cc: New file.
* plugin.h: New file.
* readsyms.cc: Include "plugin.h".
(Read_symbols::do_read_symbols): Check for archive before checking
for ELF file. Call plugin hooks to claim files.
* resolve.cc (Symbol_table::resolve): Record when symbol is referenced
from a real object file; force override when processing replacement
files.
* symtab.cc (Symbol::init_fields): Initialize in_real_elf_ field.
(Symbol::init_base_object): Likewise.
(Symbol::init_base_output_data): Likewise.
(Symbol::init_base_output_segment): Likewise.
(Symbol::init_base_constant): Likewise.
(Symbol::init_base_undefined): Likewise.
(Symbol::output_section): Assert that object is not a plugin.
(Symbol_table::add_from_pluginobj): New function.
(Symbol_table::sized_finalize_symbol): Treat symbols from plugins as
undefined.
(Symbol_table::sized_write_globals): Likewise.
(Symbol_table::add_from_pluginobj): Instantiate template.
* symtab.h (Sized_pluginobj): Declare.
(Symbol::in_real_elf): New function.
(Symbol::set_in_real_elf): New function.
(Symbol::in_real_elf_): New field.
(Symbol_table::add_from_pluginobj): New function.
* testsuite/Makefile.am (AM_CFLAGS): New variable.
(LIBDL): New variable.
(LDADD): Add LIBDL.
(check_PROGRAMS): Add plugin_test_1 and plugin_test_2.
(check_SCRIPTS): Add plugin_test_1.sh and plugin_test_2.sh.
(check_DATA): Add plugin_test_1.err and plugin_test_2.err.
(MOSTLYCLEANFILES): Likewise.
* testsuite/Makefile.in: Regenerate.
* testsuite/plugin_test.c: New file.
* testsuite/plugin_test_1.sh: New file.
* testsuite/plugin_test_2.sh: New file.
Keith Marshall [Fri, 19 Sep 2008 22:41:01 +0000 (22:41 +0000)]
Keith Marshall [Fri, 19 Sep 2008 21:32:42 +0000 (21:32 +0000)]
Jeff Johnston [Fri, 19 Sep 2008 16:11:35 +0000 (16:11 +0000)]
2008-09-19 Eric Blake <ebb9@byu.net>
Supply missing POSIX errno values.
* libc/include/sys/errno.h (ENOTRECOVERABLE, EOWNERDEAD): Define.
* libc/string/strerror.c (strerror): Decode them, and ECANCELED.
Christopher Faylor [Tue, 16 Sep 2008 02:04:27 +0000 (02:04 +0000)]
* cygtls.h (unionent): Move from net.cc.
(unionent::struct_type): Move enum here.
(_local_storage::hostent_buf): Define as unionent.
(_local_storage::protoent_buf): Ditto.
(_local_storage::servent_buf): Ditto.
* net.cc (unionent): Move to cygtls.h.
(struct_type): Ditto.
(dup_ent): Define one function per {host,proto,serv}ent type.
(cygwin_getprotobyname): Simplify dup_ent call. Removed now-unneeded return
type coercion.
(cygwin_getprotobynumber): Ditto.
(cygwin_getservbyname): Ditto.
(cygwin_getservbyport): Ditto.
(cygwin_gethostbyname): Ditto.
(cygwin_gethostbyaddr): Ditto. tlsoffsets.h: Regenerate.
Chris Sutcliffe [Sat, 13 Sep 2008 12:03:26 +0000 (12:03 +0000)]
2008-09-13 mega-squall <mega-squall@users.sf.net>
* include/winnt.h (SUBLANG_BENGALI_INDIA, SUBLANG_PUNJABI_INDIA,
SUBLANG_ROMANIAN_ROMANIA): Correct definition.
(SUBLANG_BENGALI_BANGLADESH, SUBLANG_PUNJABI_PAKISTAN,
SUBLANG_ROMANIAN_MOLDOVA): Define.
Christopher Faylor [Fri, 12 Sep 2008 22:43:10 +0000 (22:43 +0000)]
* cygcheck.cc (pathlike::check_existence): Remove class name from declaration.
(display_internet_error): Use proper format specifier for DWORD.
(environ): Remove unneeded declaration.
(main): Use brace around nested if to avoid an overly-helpful compiler warning.
* dump_setup.cc (parse_filename): Reorganize nested if to avoid an
overly-helpful compiler warning.
* path.cc (GUID_shortcut): Use braces around part of initializer which needs
them.
(conv_fstab_spaces): Parenthesize assignment in while loop to avoid a compiler
warning.
(struct opt): Make static.
* ps.cc (main): Reorganize nested if to avoid an overly-helpful compiler
warning.
* regtool.cc: Make some anonymous structs static to avoid a compiler warning.
* ssp.c (lookup_thread_id): Initialize *tix to zero to avoid potential
uninitialized use.
* strace.cc (add_child): Use proper format specifier for DWORD.
(remove_child): Ditto.
(proc_child): Ditto.
Christopher Faylor [Fri, 12 Sep 2008 22:32:07 +0000 (22:32 +0000)]
* Makefile.in: Add -c option which is now removed from COMPILE_C*.
* cygwin.din (cfmakeraw): Export.
* termios.cc (cfmakeraw): Implement.
* include/sys/termios.h (cfmakeraw): Declare.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
Chris Sutcliffe [Fri, 12 Sep 2008 01:47:03 +0000 (01:47 +0000)]
2008-09-11 Chris Sutcliffe <ir0nh34d@users.sf.net>
* include/shlwapi.h (ASSOCSTR): Update enum.
Christopher Faylor [Thu, 11 Sep 2008 06:22:31 +0000 (06:22 +0000)]
* cygwin.din (sys_sigabbrev): Add this here.
* dcrt0.cc (__argc,__argv,_check_for_executable): Remove dllexport decoration
since it is already handled in cygwin.din.
* errno.cc (_sys_errlist): Ditto.
* strsig.cc (sys_sigabbrev): Ditto.
* include/cygwin/signal.h: Protect use of dllimport when __INSIDE_CYGWIN__.
* libc/getopt.c: Revert previous changes. Define __INSIDE_CYGWIN__.
Christopher Faylor [Thu, 11 Sep 2008 05:43:11 +0000 (05:43 +0000)]
* localtime.cc (increment_overflow): Mark as non-inline to prevent compiler
from complaining about the very thing we're trying to test.
* ntea.cc (read_ea): Reorganize to avoid a new compiler warning/error.
* sched.cc (sched_rr_get_interval): Ditto.
* select.cc (peek_serial): Ditto.
* libc/rexec.cc (ruserpass): Ditto.
* posix_ipc.cc (ipc_names): Make static to avoid a compiler warning
(and it's the right thing to do anyway).
Christopher Faylor [Thu, 11 Sep 2008 04:58:45 +0000 (04:58 +0000)]
* net.cc (in6addr_any, in6addr_loopback): Add appropriate number of braces
around initializer.
(dup_ent): Try harder to coerce the first argument to deal with more stringent
compiler.
(get_2k_ifs): Remove extraneous typedef.
(get_2k_ifs): Reorganize expression to avoid a compiler warning.
(get_xp_ifs): Ditto.
(get_nt_ifs): Ditto.
Christopher Faylor [Thu, 11 Sep 2008 04:41:24 +0000 (04:41 +0000)]
* fhandler.h (fhandler_pipe::raw_read): Remove __stdcall decoration.
* pipe.cc (fhandler_pipe::raw_read): Ditto.
Christopher Faylor [Thu, 11 Sep 2008 04:34:24 +0000 (04:34 +0000)]
* cygheap.cc (creturn): Reorganize to avoid a new compiler warning/error.
* dtable.cc (handle_to_fn): Ditto.
* fhandler_console.cc (fhandler_console::read): Ditto.
(fhandler_console::scroll_screen): Ditto.
(dev_console::set_color): Ditto.
* fhandler_dsp.cc (fhandler_dev_dsp::write): Ditto.
(fhandler_dev_dsp::read): Ditto.
* fhandler_tape.cc (mtinfo_drive::get_status): Ditto.
* hookapi.cc (find_first_notloaded_dll): Ditto.
* mmap.cc (msync): Ditto.
* pipe.cc (pipesync::pipesync): Ditto.
* sec_acl.cc (getace): Ditto.
* sec_auth.cc (create_token): Ditto.
(lsaauth): Ditto.
* select.cc (peek_pipe): Ditto.
* spawn.cc (av::fixup): Ditto.
* syscalls.cc (popen): Ditto.
* tty.cc (tty::init_session): Ditto.
* uinfo.cc (pwdgrp::load): Ditto.
* fhandler.cc (fhandler_base::setup_overlapped): Ditto.
(fhandler_base::wait_overlapped): Rename second use of res variable to wres or
errors are not returned correctly.
* dcrt0.cc: Remove obsolete variable.
* dll_init.cc (release_upto): Fix typo involving incorrect use of '|'.
* fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Avoid a compiler
warning regarding coercing type-punned variables.
(fhandler_base::fstat_by_name): Ditto. fhandler_fifo.cc
(fhandler_fifo::open_nonserver): Fix = vs. == typo.
(fhandler_fifo::wait): Add all conditions to switch statement to avoid a
compiler warning.
* fhandler_process.cc: Avoid unneeded initialization of variables to zero.
(fhandler_socket::listen): Add braces around initializer.
* flock.cc (inode_t::get_all_locks_list): Reorganize to avoid a compiler
warning. Fix problem with EWOULDBLOCK error return.
* path.cc (GUID_shortcut): Use braces around struct initializer.
(cygwin_conv_path): Reorganize to avoid a compiler warning.
* random.cc (dummy): Mark variable as volatile to avoid a "used uninitialized"
warning.
* libc/getopt.c: Mark some variables as dllexport although gcc doesn't seem to
do the right thing with them.
* libc/minires-os-if.c (get_registry_dns_items): Coerce some function arguments
to avoid a compiler warning.
Jeff Johnston [Thu, 11 Sep 2008 00:33:58 +0000 (00:33 +0000)]
2008-09-10 Ken Werner <ken.werner@de.ibm.com>
* libc/machine/spu/strcpy.h: Add missing header.
* libc/machine/spu/spu_timer_slih.c: Remove unused Variable.
* libm/machine/spu/headers/lgammaf4.h: Add type cast.
Jeff Johnston [Thu, 11 Sep 2008 00:30:32 +0000 (00:30 +0000)]
2008-09-10 Ken Werner <ken.werner@de.ibm.com>
* spu/dirfuncs.c: Avoid warnings.
* spu/kill.c: Likewise.
DJ Delorie [Tue, 9 Sep 2008 18:21:42 +0000 (18:21 +0000)]
merge from gcc
Ben Elliston [Tue, 9 Sep 2008 04:43:43 +0000 (04:43 +0000)]
Remove bogus entry.
Jeff Johnston [Mon, 8 Sep 2008 22:25:14 +0000 (22:25 +0000)]
008-09-08 Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/linux/dl/atomicity.h (exchange_and_add): Fix asm statement to use "m" instead of "0".
(atomic_add): Ditto.
* libc/sys/linux/linuxthreads/spinlock.c (__pthread_release): Ditto.
* libc/sys/linux/net/getaddrinfo.c: Add limit.h include.
* libc/sys/linux/stdlib/glob.c: Ditto.
Chris Sutcliffe [Sun, 7 Sep 2008 21:35:38 +0000 (21:35 +0000)]
2008-09-07 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/_mingw.h: Increment version to 3.15.
Chris Sutcliffe [Sun, 7 Sep 2008 20:49:43 +0000 (20:49 +0000)]
2008-09-07 Chris Sutcliffe <ir0nh34d@users.sf.net>
* include/w32api.h: Increment version to 3.12.
* Makefile.in: Ditto.
Chris Sutcliffe [Sun, 7 Sep 2008 17:12:46 +0000 (17:12 +0000)]
2008-09-07 Michael Hentschel <mikeh42@users.sourceforge.net>
* include/shlwapi.h (STIF_DEFAULT, STIF_SUPPORT_HEX): Define.
Chris Sutcliffe [Sun, 7 Sep 2008 17:11:49 +0000 (17:11 +0000)]
2008-09-07 alsemm <alsemm@users.sourceforge.net>
* include/mlang.h (IMLangFontLink2::MapFont): Fix definition.
Danny Smith [Sun, 7 Sep 2008 08:03:11 +0000 (08:03 +0000)]
Committed as obvious.
* include/ws2tcpip.h (IPV6_MREQ): Fix typo.
Thanks to Richard Hughes for report.
Chris Sutcliffe [Sun, 7 Sep 2008 02:07:29 +0000 (02:07 +0000)]
2008-09-06 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* Makefile.in: Adjust to new naming standard for MinGW while maintaining old
naming standard for Cygwin.
Jeff Johnston [Thu, 4 Sep 2008 20:26:18 +0000 (20:26 +0000)]
2008-09-04 Ken Werner <ken.werner@de.ibm.com>
* spu/Makefile.in: Fix missing linux_syscalls.o.
* spu/linux_syscalls.c: Remove extraneous "3D" sequences.
Jeff Johnston [Thu, 4 Sep 2008 17:50:56 +0000 (17:50 +0000)]
2008-09-04 Ken Werner <ken.werner@de.ibm.com>
* libm/machine/spu/headers/acosd2.h: Duplicated preamble text removed.
* libm/machine/spu/headers/acosf4.h: Likewise.
* libm/machine/spu/headers/acoshd2.h: Likewise.
* libm/machine/spu/headers/acoshf4.h: Likewise.
* libm/machine/spu/headers/asind2.h: Likewise.
* libm/machine/spu/headers/asinf4.h: Likewise.
* libm/machine/spu/headers/asinhd2.h: Likewise.
* libm/machine/spu/headers/asinhf4.h: Likewise.
* libm/machine/spu/headers/atan2d2.h: Likewise.
* libm/machine/spu/headers/atan2f4.h: Likewise.
* libm/machine/spu/headers/atand2.h: Likewise.
* libm/machine/spu/headers/atanf4.h: Likewise.
* libm/machine/spu/headers/atanhd2.h: Likewise.
* libm/machine/spu/headers/atanhf4.h: Likewise.
* libm/machine/spu/headers/cos_sin.h: Likewise.
* libm/machine/spu/headers/cosd2.h: Likewise.
* libm/machine/spu/headers/cosf4.h: Likewise.
* libm/machine/spu/headers/coshd2.h: Likewise.
* libm/machine/spu/headers/coshf4.h: Likewise.
* libm/machine/spu/headers/divd2.h: Likewise.
* libm/machine/spu/headers/divf4.h: Likewise.
* libm/machine/spu/headers/erf_utils.h: Likewise.
* libm/machine/spu/headers/erfcd2.h: Likewise.
* libm/machine/spu/headers/erfcf4.h: Likewise.
* libm/machine/spu/headers/erfd2.h: Likewise.
* libm/machine/spu/headers/erff4.h: Likewise.
* libm/machine/spu/headers/exp2d2.h: Likewise.
* libm/machine/spu/headers/exp2f4.h: Likewise.
* libm/machine/spu/headers/expd2.h: Likewise.
* libm/machine/spu/headers/expf4.h: Likewise.
* libm/machine/spu/headers/expm1d2.h: Likewise.
* libm/machine/spu/headers/expm1f4.h: Likewise.
* libm/machine/spu/headers/floord2.h: Likewise.
* libm/machine/spu/headers/floorf4.h: Likewise.
* libm/machine/spu/headers/hypotd2.h: Likewise.
* libm/machine/spu/headers/hypotf4.h: Likewise.
* libm/machine/spu/headers/isnand2.h: Likewise.
* libm/machine/spu/headers/isnanf4.h: Likewise.
* libm/machine/spu/headers/ldexpd2.h: Likewise.
* libm/machine/spu/headers/ldexpf4.h: Likewise.
* libm/machine/spu/headers/lgammad2.h: Likewise.
* libm/machine/spu/headers/lgammaf4.h: Likewise.
* libm/machine/spu/headers/log10d2.h: Likewise.
* libm/machine/spu/headers/log1pd2.h: Likewise.
* libm/machine/spu/headers/log1pf4.h: Likewise.
* libm/machine/spu/headers/log2d2.h: Likewise.
* libm/machine/spu/headers/log2f4.h: Likewise.
* libm/machine/spu/headers/logbf4.h: Likewise.
* libm/machine/spu/headers/logd2.h: Likewise.
* libm/machine/spu/headers/logf4.h: Likewise.
* libm/machine/spu/headers/nearbyintf4.h: Likewise.
* libm/machine/spu/headers/nextafterd2.h: Likewise.
* libm/machine/spu/headers/nextafterf4.h: Likewise.
* libm/machine/spu/headers/powd2.h: Likewise.
* libm/machine/spu/headers/powf4.h: Likewise.
* libm/machine/spu/headers/recipd2.h: Likewise.
* libm/machine/spu/headers/recipf4.h: Likewise.
* libm/machine/spu/headers/rintf4.h: Likewise.
* libm/machine/spu/headers/scalbnf4.h: Likewise.
* libm/machine/spu/headers/signbitd2.h: Likewise.
* libm/machine/spu/headers/sincosd2.h: Likewise.
* libm/machine/spu/headers/sincosf4.h: Likewise.
* libm/machine/spu/headers/sind2.h: Likewise.
* libm/machine/spu/headers/sinf4.h: Likewise.
* libm/machine/spu/headers/sinhd2.h: Likewise.
* libm/machine/spu/headers/sinhf4.h: Likewise.
* libm/machine/spu/headers/sqrtd2.h: Likewise.
* libm/machine/spu/headers/sqrtf4.h: Likewise.
* libm/machine/spu/headers/tand2.h: Likewise.
* libm/machine/spu/headers/tanf4.h: Likewise.
* libm/machine/spu/headers/tanhd2.h: Likewise.
* libm/machine/spu/headers/tanhf4.h: Likewise.
* libm/machine/spu/headers/tgammad2.h: Likewise.
* libm/machine/spu/headers/tgammaf4.h: Likewise.
* libm/machine/spu/headers/truncd2.h: Likewise.
* libm/machine/spu/headers/truncf4.h: Likewise.
* libm/machine/spu/headers/simdmath.h: Likewise.
Jeff Johnston [Thu, 4 Sep 2008 17:46:14 +0000 (17:46 +0000)]
2008-09-04 Ken Werner <ken.werner@de.ibm.com>
* libm/machine/spu/headers/acoshf4.h: Rebase against current simdmath.
* libm/machine/spu/headers/asinhd2.h: Likewise.
* libm/machine/spu/headers/atanhd2.h: Likewise.
* libm/machine/spu/headers/atanhf4.h: Likewise.
* libm/machine/spu/headers/erff4.h: Likewise.
* libm/machine/spu/headers/expd2.h: Likewise.
* libm/machine/spu/headers/ldexpd2.h: Likewise.
* libm/machine/spu/headers/lgammaf4.h: Likewise.
* libm/machine/spu/headers/logbf4.h: Likewise.
* libm/machine/spu/headers/nextafterd2.h: Likewise.
* libm/machine/spu/headers/nextafterf4.h: Likewise.
* libm/machine/spu/headers/recipd2.h: Likewise.
* libm/machine/spu/headers/simdmath.h: Likewise.
* libm/machine/spu/headers/acoshd2.: Likewise.
Jeff Johnston [Thu, 4 Sep 2008 17:27:49 +0000 (17:27 +0000)]
2008-09-04 Ken Werner <ken.werner@de.ibm.com>
* libm/machine/spu/headers/cbrt.h: cbrt_factors[] declared.
* libm/machine/spu/headers/cbrtf.h: Likewise.
Aaron W. LaFramboise [Thu, 4 Sep 2008 02:18:16 +0000 (02:18 +0000)]
2008-08-31 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
* configure.ac (RPATH_ENVVAR): Use PATH on Windows.
(GCC_SHLIB_SUBDIR): New.
* Makefile.tpl (HOST_LIB_PATH_gcc): Use GCC_SHLIB_SUBDIR.
* configure: Regenerate.
* Makefile.in: Regenerate.
Jeff Johnston [Tue, 2 Sep 2008 16:48:48 +0000 (16:48 +0000)]
2008-09-01 Ken Werner <ken.werner@de.ibm.com>
* libc/machine/spu/include/spu_timer.h: spu_timebase function added.
* libc/machine/spu/spu_timebase.c: New file.
* libc/machine/spu/Makefile.am: Add new file.
* libc/machine/spu/Makefile.in: Regenerated.
Keith Marshall [Sun, 31 Aug 2008 22:27:58 +0000 (22:27 +0000)]
Reimplement getopt.c to add getopt_long_only() function.
Keith Marshall [Sun, 31 Aug 2008 22:26:52 +0000 (22:26 +0000)]
Erase all file content, preparatory to rewrite.
Chris Sutcliffe [Sat, 30 Aug 2008 23:19:14 +0000 (23:19 +0000)]
2008-08-30 Bo Yang <techrazy@users.sourceforge.net>
* include/sspi.h: Fix PSecurityFunctionTableW structure.
Chris Sutcliffe [Sat, 30 Aug 2008 23:14:26 +0000 (23:14 +0000)]
2008-08-29 Andy Grover <andy.grover@oracle.com>
* include/ddk/scsi.h: Define READ_TOC formats.
* lib/ddk/scsiport.def (ScsiPortGetDeviceBase): Fix export.
Chris Sutcliffe [Sat, 30 Aug 2008 23:08:11 +0000 (23:08 +0000)]
2008-08-29 Andy Grover <andy.grover@oracle.com>
* include/ddk/ndis.h (NDIS_MINIPORT_MAJOR_VERSION, NDIS_MINIPORT_MINOR_VERSION,
struct NDIS_TASK_OFFLOAD_HEADER, PROTOCOL_RESERVED_SIZE_IN_PACKET,
NdisGetFirstBufferFromPacketSafe, NdisMIndicateReceivePacket,
NdisSetPacketPoolProtocolId, NdisMInitializeTimer, NdisMSetPeriodicTimer,
NdisMCancelTimer): Define.
(enum NDIS_ENCAPSULATION, struct NDIS_ENCAPSULATION_FORMAT): move in file.
(struct _NDIS_PACKET): Define using _ANONYMOUS_UNION and ANONYMOUS_STRUCT to
eliminate warnings.
(NdisReinitializePacket): Rename from NdisReinitializePacketCounts.
* lib/ddk/ndis.def (NdisInitAnsiString, NdisInitUnicodeString, NdisMCancelTimer,
NdisMInitializeTimer, NdisMSetPeriodicTimer, NdisSetPacketPoolProtocolId):
Export.
Chris Sutcliffe [Sat, 30 Aug 2008 23:03:37 +0000 (23:03 +0000)]
2008-08-29 Andy Grover <andy.grover@oracle.com>
* include/ddk/winddk.h (RtlStringCbCopyA, RtlStringCbPrintfA,
RtlStringCbVPrintfA): define in terms of POSIX string functions.
Chris Sutcliffe [Sat, 30 Aug 2008 22:58:51 +0000 (22:58 +0000)]
2008-08-29 Andy Grover <andy.grover@oracle.com>
* include/ddk/winddk.h (KeRaiseIrql): Define.
(KfRaiseIrql, KfLowerIrql): remove incorrect definitions.
Keith Marshall [Sat, 30 Aug 2008 17:27:18 +0000 (17:27 +0000)]
Implement conditional replacement for printf() family functions.
Chris Sutcliffe [Sat, 30 Aug 2008 02:16:11 +0000 (02:16 +0000)]
2008-08-29 Andy Grover <andy.grover@oracle.com>
* include/ddk/winddk.h (KeFlushQueuedDpcs, KeMemoryBarrier): Define.
(KeGetCurrentProcessorNumber): Fix incorrect member reference.
(InterlockedIncrement, InterlockedDecrement): fix warning.
* lib/ddk/ntoskrnl.def (KeFlushQueuedDpcs, KeMemoryBarrier): Export.
(KeNumberProcessors): Export.
Jeff Johnston [Thu, 28 Aug 2008 18:18:12 +0000 (18:18 +0000)]
2008-08-28 Craig Howland <howland@LGSInnovations.com>
* libc/time/mktime.c (mktime): Fix tm_isdst value usage (allowing
any positive value from user (per std) rather than depending
upon 1).
Jeff Johnston [Thu, 28 Aug 2008 17:36:49 +0000 (17:36 +0000)]
2008-08-28 Corinna Vinschen <corinna@vinschen.de>
* libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Optimize condition
for accepting a converted character.
Tristan Gingold [Thu, 28 Aug 2008 16:04:18 +0000 (16:04 +0000)]
2008-08-28 Tristan Gingold <gingold@adacore.com>
* stab.def: Add BNSYM, ENSYM, OSO for darwin.
H.J. Lu [Thu, 28 Aug 2008 14:07:48 +0000 (14:07 +0000)]
gas/
2008-08-28 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-ia64.c (CR_IIB0): New.
(CR_IIB1): Likewise.
(cr): Add cr.iib0 and cr.iib1.
(specify_resource): Handle IA64_RS_CR_IIB and CR_IIB0/CR_IIB1.
gas/testsuite/
2008-08-28 H.J. Lu <hongjiu.lu@intel.com>
* gas/ia64/dv-raw-err.s: Add tests for cr.iib0 and cr.iib1.
* gas/ia64/dv-waw-err.s: Likewise.
* gas/ia64/regs.s: Likewise.
* gas/ia64/dv-raw-err.l: Updated.
* gas/ia64/dv-waw-err.l: Likewise.
* gas/ia64/regs.d: Likewise.
include/opcode/
2008-08-28 H.J. Lu <hongjiu.lu@intel.com>
* ia64.h (ia64_resource_specifier): Add IA64_RS_CR_IIB. Update
IA64_RS_CR.
opcodes/
2008-08-28 H.J. Lu <hongjiu.lu@intel.com>
* ia64-dis.c (print_insn_ia64): Handle cr.iib0 and cr.iib1.
* ia64-gen.c (lookup_specifier): Likewise.
* ia64-ic.tbl: Add support for cr.iib0 and cr.iib1.
* ia64-raw.tbl: Likewise.
* ia64-waw.tbl: Likewise.
* ia64-asmtab.c: Regenerated.
Tristan Gingold [Thu, 28 Aug 2008 10:44:31 +0000 (10:44 +0000)]
2008-08-28 Tristan Gingold <gingold@adacore.com>
* configure.ac (powerpc-*-darwin*, i?86-*-darwin*,x86_64-*-darwin9):
Enable bfd, binutils and opcodes.
* configure: Regenerate.
Tristan Gingold [Thu, 28 Aug 2008 10:20:05 +0000 (10:20 +0000)]
2008-08-28 Tristan Gingold <gingold@adacore.com>
* configure.ac (powerpc-*-darwin*, i?86-*-darwin*,x86_64-*-darwin9):
Enable bfd, binutils and opcodes.
* configure: Regenerate.
Christopher Faylor [Wed, 27 Aug 2008 21:55:19 +0000 (21:55 +0000)]
* fhandler_tty.cc (close_maybe): Check for both types of invalid handle before
attempting CloseHandle.
(fhandler_pty_master::setup): Only set inheritance on pty handles, not tty
handles.
Jeff Johnston [Wed, 27 Aug 2008 21:32:02 +0000 (21:32 +0000)]
2008-08-27 Sandra Loosemore <sandra@codesourcery.com>
* libc/libc.texinfo: Remove "LOCAL KLUGE" that prevents it
from building pdfs.
* libm/libm.texinfo: Likewise.
Keith Marshall [Wed, 27 Aug 2008 20:23:42 +0000 (20:23 +0000)]
Avoid access violations, passing NULL to printf( "...%s..." ).
Christopher Faylor [Wed, 27 Aug 2008 20:11:11 +0000 (20:11 +0000)]
* cygcheck.cc (nuke): Use malloc rather than alloca for environment variables.
(load_cygwin): Ditto.
* dump_setup.cc (parse_filename): Cosmetic changes.
(get_packages): Ditto.
Jeff Johnston [Wed, 27 Aug 2008 18:31:04 +0000 (18:31 +0000)]
2008-08-27 Corinna Vinschen <corinna@vinschen.de>
* libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Fix condition for
accepting a converted character and continuing the loop.
Christopher Faylor [Tue, 26 Aug 2008 16:56:30 +0000 (16:56 +0000)]
* shared_info.h (shared_info::create_root_entry): Remove extraneous
mount_info:: from declaration.
Corinna Vinschen [Tue, 26 Aug 2008 15:39:17 +0000 (15:39 +0000)]
* fhandler.h (class fhandler_pipe): Rename read and write
declarations to raw_read and raw_write.
* pipe.cc (fhandler_pipe::raw_read): Rename from read.
(fhandler_pipe::raw_write): Rename from write.
Chris Sutcliffe [Tue, 26 Aug 2008 03:34:10 +0000 (03:34 +0000)]
2008-08-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/shlwapi.h (ASSOCF_INIT_NOREMAPCLSID, ASSOCF_INIT_BYEXENAME,
ASSOCF_OPEN_BYEXENAME, ASSOCF_INIT_DEFAULTTOSTAR,
ASSOCF_INIT_DEFAULTTOFOLDER, ASSOCF_NOUSERSETTINGS, ASSOCF_NOTRUNCATE,
ASSOCF_VERIFY, ASSOCF_REMAPRUNDLL, ASSOCF_NOFIXUPS, ASSOCF_IGNOREBASECLASS,
ASSOCF_INIT_IGNOREUNKNOWN): Define.
Christopher Faylor [Mon, 25 Aug 2008 17:27:06 +0000 (17:27 +0000)]
add comments
DJ Delorie [Mon, 25 Aug 2008 17:26:06 +0000 (17:26 +0000)]
Merge from gcc:
2008-08-16 Nicolas Roche <roche@adacore.com>
* Makefile.tpl: Add BOOT_ADAFLAGS.
* Makefile.in: Regenerate.
DJ Delorie [Mon, 25 Aug 2008 17:07:33 +0000 (17:07 +0000)]
Merge from gcc.
Corinna Vinschen [Mon, 25 Aug 2008 09:38:14 +0000 (09:38 +0000)]
* mkgroup.c (enum_local_groups): Don't skip printing groups when
print_current is set and group SID is not curr_pgrp.
(enum_groups): Ditto.
(main): Fix condition when SYSTEM group gets printed.
* mkpasswd.c (enum_users): Don't skip printing users when print_current
is set and user SID is not curr_user.
(main): Allow printing standard accounts even when print_current is set.
Alan Modra [Mon, 25 Aug 2008 04:36:03 +0000 (04:36 +0000)]
* binary-io.h: New file, imported from gnulib, but don't
#include <fcntl.h> or <stdio.h>.
Chris Sutcliffe [Fri, 22 Aug 2008 23:54:47 +0000 (23:54 +0000)]
2008-08-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/commctrl.h (LVN_MARQUEEBEGIN): Define.
Thanks to Tim Kosse <botg at users dot sf dot net>.
Chris Sutcliffe [Fri, 22 Aug 2008 23:02:50 +0000 (23:02 +0000)]
2008-08-22 Bo Yang <techrazy@users.sourceforge.net>
* include/winnt.h (OWNER_SECURITY_INFORMATION, GROUP_SECURITY_INFORMATION,
DACL_SECURITY_INFORMATION, SACL_SECURITY_INFORMATION): Correct.
* include/winnt.h (OWNER_SECURITY_INFORMATION, GROUP_SECURITY_INFORMATION,
DACL_SECURITY_INFORMATION, SACL_SECURITY_INFORMATION,
LABEL_SECURITY_INFORMATION, UNPROTECTED_SACL_SECURITY_INFORMATION,
UNPROTECTED_DACL_SECURITY_INFORMATION, PROTECTED_SACL_SECURITY_INFORMATION,
PROTECTED_DACL_SECURITY_INFORMATION): Define.
Christopher Faylor [Fri, 22 Aug 2008 04:06:01 +0000 (04:06 +0000)]
* fhandler.cc (fhandler_base::wait_overlapped): Reorganize again to accommodate
what appears to be an MSDN hint about not resetting the overlapped event prior
to calling GetOverlappedResult.
Bob Wilson [Wed, 20 Aug 2008 23:28:58 +0000 (23:28 +0000)]
2008-08-20 Bob Wilson <bob.wilson@acm.org>
bfd/
* elf-bfd.h (elf_object_id): Add XTENSA_ELF_TDATA.
* elf32-xtensa.c (elf_howto_table): Add TLS relocations.
(elf_xtensa_reloc_type_lookup): Likewise.
(TCB_SIZE): Define.
(elf_xtensa_link_hash_entry): New.
(GOT_UNKNOWN, GOT_NORMAL, GOT_TLS_GD, GOT_TLS_IE, GOT_TLS_ANY): Define.
(elf_xtensa_hash_entry): Define.
(elf_xtensa_obj_tdata): New.
(elf_xtensa_tdata): Define.
(elf_xtensa_local_got_tls_type): Define.
(elf_xtensa_local_tlsfunc_refcounts): Define.
(is_xtensa_elf): Define.
(elf_xtensa_mkobject): New.
(elf_xtensa_link_hash_table): Add tlsbase field.
(elf_xtensa_link_hash_newfunc): New.
(elf_xtensa_link_hash_table_create): Use elf_xtensa_link_hash_newfunc.
Create an entry for "_TLS_MODULE_BASE_" and save it in tlsbase field.
(elf_xtensa_copy_indirect_symbol): New.
(elf_xtensa_check_relocs): Rewrite to handle TLS relocations.
(elf_xtensa_gc_sweep_hook): Likewise.
(elf_xtensa_allocate_dynrelocs): Optimize away GOT entries for
TLSDESC_FN relocations when an IE reference is seen.
(elf_xtensa_allocate_local_got_size): Likewise.
(elf_xtensa_always_size_sections): New.
(dtpoff_base, tpoff): New.
(elf_xtensa_do_reloc): Handle TLS relocations.
(replace_tls_insn): New.
(IS_XTENSA_TLS_RELOC): Define.
(elf_xtensa_relocate_section): Handle TLS relocations.
(get_indirect_call_dest_reg): New.
(bfd_elf32_mkobject): Define.
(elf_backend_always_size_sections): New.
(elf_backend_copy_indirect_symbol): New.
* reloc.c (BFD_RELOC_XTENSA_TLSDESC_FN, BFD_RELOC_XTENSA_TLSDESC_ARG)
(BFD_RELOC_XTENSA_TLS_DTPOFF, BFD_RELOC_XTENSA_TLS_TPOFF)
(BFD_RELOC_XTENSA_TLS_FUNC, BFD_RELOC_XTENSA_TLS_ARG)
(BFD_RELOC_XTENSA_TLS_CALL): New.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
gas/
* config/tc-xtensa.c (O_tlsfunc, O_tlsarg, O_tlscall): Define.
(O_tpoff, O_dtpoff): Define.
(suffix_relocs): Add entries for TLS suffixes.
(xtensa_elf_cons): Check for invalid use of TLS relocations.
(map_operator_to_reloc): Add is_literal parameter and use it to
control translating TLS instruction relocations to the corresponding
literal relocations.
(xg_valid_literal_expression): Allow TLS operators.
(xg_build_to_insn): Copy TLS operators from pseudo-instruction
operands to generated literals.
(xg_assemble_literal): Handle TLS operators. Update call to
map_operator_to_reloc.
(md_assemble): Handle CALLXn.TLS pseudo-instruction.
(md_apply_fix): Handle TLS relocations.
(emit_single_op): Handle TLS operators.
(convert_frag_immed): Update call to map_operator_to_reloc.
(vinsn_to_insnbuf): Emit relocations for TLS-related instructions.
* config/xtensa-istack.h (tinsn_struct): Add tls_reloc field.
* config/xtensa-relax.c (append_literal_op): Add src_op parameter
to initialize the op_data field of the BuildOp.
(build_transition): Use it here to record the source operand
corresponding to a generated literal.
* config/xtensa-relax.h (build_op): Comment op_data use for literals.
include/elf/
* xtensa.h (R_XTENSA_TLSDESC_FN, R_XTENSA_TLSDESC_ARG)
(R_XTENSA_TLS_DTPOFF, R_XTENSA_TLS_TPOFF, R_XTENSA_TLS_FUNC)
(R_XTENSA_TLS_ARG, R_XTENSA_TLS_CALL): New.
ld/testsuite/
* ld-xtensa/tlsbin.dd, ld-xtensa/tlsbin.rd, ld-xtensa/tlsbin.s,
ld-xtensa/tlsbin.sd, ld-xtensa/tlsbin.td, ld-xtensa/tlslib.s,
ld-xtensa/tlspic.dd, ld-xtensa/tlspic.rd, ld-xtensa/tlspic.sd,
ld-xtensa/tlspic.td, ld-xtensa/tlspic1.s, ld-xtensa/tlspic2.s: New.
* ld-xtensa/xtensa.exp: Run them.
Corinna Vinschen [Wed, 20 Aug 2008 10:53:54 +0000 (10:53 +0000)]
* path.cc (symlink_info::check_shortcut): If file can't be opened,
treat it as non-symlink rather than generating an EIO error.
(symlink_info::check_sysfile): Ditto.
Chris Sutcliffe [Wed, 20 Aug 2008 02:30:05 +0000 (02:30 +0000)]
2008-08-19 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/wtsapi32.h (_WTS_INFO_CLASS, _WTS_CONNECTSTATE_CLASS,
WTSQuerySessionInformation, WTSFreeMemory): Define.
Christopher Faylor [Wed, 20 Aug 2008 02:25:06 +0000 (02:25 +0000)]
* fhandler.cc (fhandler_base::wait_overlapped): Always assume that bytes will
be non-NULL. Distinguish input result from result derived from WFMO and
GetOverlappedResult or res can never be -1. Only raise SIGPIPE when writing.
* fhandler.h (fhandler_base::wait_overlapped): Pass first argument by value.
* fhandler_fifo.cc (fhandler_fifo::wait): Pass in dummy byte count to
wait_overlapped.
* pipe.cc (DEFAULT_PIPEBUFSIZE): Define to 65536 explicitly.
Corinna Vinschen [Tue, 19 Aug 2008 09:46:31 +0000 (09:46 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::mkdir): Drop fattr variable
and use FILE_ATTRIBUTE_DIRECTORY directly in call to NtCreateFile.
* posix_ipc.cc (ipc_mutex_init): Fix format string when creating IPC
object name.
(ipc_cond_init): Ditto.
* security.cc (alloc_sd): Add parentheses to fix setting initial
owner_allow value.
Christopher Faylor [Tue, 19 Aug 2008 02:56:28 +0000 (02:56 +0000)]
* fhandler.cc (fhandler_base::wait_overlapped): Don't treat ERROR_BROKEN_PIPE
as a non-error. Do raise SIGPIPE when it is detected.
Corinna Vinschen [Mon, 18 Aug 2008 12:56:59 +0000 (12:56 +0000)]
* mkgroup.c (enum_local_groups): Use NetLocalGroupGetInfo to find out
if a group exists, rather than just allocating a buffer and going ahead.
Corinna Vinschen [Mon, 18 Aug 2008 12:42:44 +0000 (12:42 +0000)]
* mkgroup.c (enum_local_groups): Call print_win_error with GetLastError
as argument when LookupAccountXXX failed.
(enum_groups): Ditto.
Corinna Vinschen [Mon, 18 Aug 2008 08:58:21 +0000 (08:58 +0000)]
* mkgroup.c (enum_local_groups): Return failure if looking for a single
group succeeded. Add comment.
Corinna Vinschen [Mon, 18 Aug 2008 08:52:49 +0000 (08:52 +0000)]
* mkgroup.c (main): Keep correctly track of optional arguments.
* mkpasswd.c (main): Ditto.
Corinna Vinschen [Mon, 18 Aug 2008 08:33:48 +0000 (08:33 +0000)]
* mkgroup.c (main): Always unset environment variable POSIXLY_CORRECT.
Keep track of optional argumnts and fix up optind afterwards.
* mkpasswd.c (main): Ditto.
Christopher Faylor [Sun, 17 Aug 2008 17:15:41 +0000 (17:15 +0000)]
* cygcheck.cc (print_version): Update copyright dates.
Christopher Faylor [Sun, 17 Aug 2008 17:00:50 +0000 (17:00 +0000)]
* mkpasswd.c (main): Avoid printing system accounts when a single user name has
been requested.
Christopher Faylor [Sun, 17 Aug 2008 16:45:44 +0000 (16:45 +0000)]
* Makefile.in (ALL_LDFLAGS): Add --enable-auto-import option to quiet ld
warnings.
* mkgroup.c: Change all global variables and most functions to static.
(enum_local_groups): Add a print_current parameter to control whether entries
for everything should be printed or just the current user.
(enum_groups): Ditto.
(main): Move call fetch_current_pgrp_sid earlier to avoid a NULL deference when
no command line arguments are specified. Accommodate argument changes to above
functions. Avoid printing SYSTEM account when print_current is specified.
Issue error when extra stuff is found on the command line.
* mkpasswd.c: Change all global variables and most functions to static.
(enum_users): Add a print_current parameter to control whether entries for
everything should be printed or just the current user.
(main): Move call fetch_current_user_sid earlier to avoid a NULL deference when
no command line arguments are specified. Accommodate argument change to above
function. Avoid printing standard accounts when print_current is specified.
Issue error when extra stuff is found on the command line.
Alan Modra [Sun, 17 Aug 2008 03:12:50 +0000 (03:12 +0000)]
bfd/
* bfd.c (struct _bfd): Correct outsymbols comment.
* bfd-in2.h: Regenerate.
* linker.c (bfd_generic_link_read_symbols): Renamed from..
(generic_link_read_symbols): ..this, and made global.
include/
* bfdlink.h (bfd_generic_link_read_symbols): Declare.
ld/
PR 6478
* ldcref.c (check_local_sym_xref): Use bfd_generic_link_read_symbols.
Don't free symbol pointer array.
(check_refs): Likewise.
* ldmain.c (warning_callback): Likewise.
* ldmisc.c (vfinfo): Likewise.
* pe-dll.c (process_def_file): Likewise.
(pe_walk_relocs_of_symbol, generate_reloc): Likewise.
* emultempl/pe.em (pe_find_data_imports): Likewise.
(gld_${EMULATION_NAME}_after_open): Likewise.
* emultempl/pep.em (pep_find_data_imports): Likewise.
(gld_${EMULATION_NAME}_after_open): Likewise.
* ldlang.h (lang_input_statement_type): Delete asymbols, symbol_count,
passive_position, closed.
* ldlang.c (new_afile): Don't set asymbols and symbol_count.
* ldmain.c (add_archive_element): xcalloc lang_input_statement_type.
This page took 0.07953 seconds and 5 git commands to generate.