| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
* mingwex/fdim.c: New file.
* mingwex/fdimf.c: New file.
* mingwex/fdiml.c: New file.
* mingwex/Makefile.in (DISTFILES): Add fdim.c, fdimf.c,
fdiml.c.
(MATHOBJS):Add fdim.o, fdimf.o. fdiml.o.
|
| |
|
| |
|
|
|
|
|
| |
wchar_t and wint_t.
(WINT_MAX): Define to ((wint_t)-1).
|
|
|
|
| |
* include/inttypes.h: Likewise.
|
|
|
|
| |
to avoid warnings. Thanks to: Oscar Fuentes <ofv@wanadoo.es>.
|
|
|
|
|
|
|
| |
* mingwex/vsnprintf.c: New file.
* mingwex/snwprintf.c: Split out vsnwprintf to...
* mingwex/vsnwprintf.c: New file.
* mingwex/Makefile.in: Adjust DISTFILES and STDIO_STUB_OBJS.
|
|
|
|
|
|
|
| |
* mingwex/vsnprintf.c: New file.
* mingwex/snwprintf.c: Split out vsnwprintf to...
* mingwex/vsnwprintf.c: New file.
* mingwex/Makefile.in: Adjust DISTFILES and STDIO_STUB_OBJS.
|
| |
|
|
|
|
|
|
|
|
| |
(vsnwprintf): Likewise.
* include/wchar.h (vsnwprintf): Likewise.
(wcstof): Likewise.
(fwide): Likewise.
(mbsinit): Likewise.
|
|
|
|
|
|
|
| |
* Makefile.in (CRT0S): Add CRT_fp8.o.
(MINGW_OBJS): Replace CRT_fp8.o with CRT_fp10.o.
* include/float.h: Replace standard float.h defines with
#include_next<float.h> to use GCC's defines.
|
|
|
|
|
|
|
|
|
|
|
| |
__GNUC__ without __DECLSPEC_SUPPORTED.
* include/fnctl.h: Likewise.
* include/math.h: Likewise.
* include/stdio.h: Likewise.
* include/stdlib.h: Likewise.
* include/time.h: Likewise.
* include/wctype.h: Likewise.
* include/ctype.h: Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* crt1.c (atexit): Force thunk to _imp__atexit.
(_onexit): Force thunk to _imp___onexit.
* dllcrt1.c (DllMainCRTStartup): Initialise private atexit
table on DLL_PROCESS_ATTACH, clean it up on DLL_PROCESS_DETACH.
(__dll_exit): New function to run atexit-registered functions
and flush output buffers on DLL_PROCESS_DETACH or failed
DLL_PROCESS_ATTACH.
(atexit): Force use of private atexit table via _dllonexit,
(_onexit): New function. Force use of private atexit table via
_dllonexit,
* mscvrt.def (atexit, _onexit): Add DATA keyword so that only
_imp_<_symbol> is visible in import lib.
* mscvrt20.def: Likewise.
* mscvrt40.def: Likewise.
* crtdll.def: Likewise.
|
|
|
|
|
|
|
|
| |
(fenv_t, fexcept_t): Move into block protected by
#ifndef RC_INVOKED.
Cleanup some whitespace.
* include/inttypes.h: Change header guard macro to
_INTTYPES_H_.
|
|
|
|
|
|
| |
* include/math.h (copysignl): Declare.
* mingwex/Makefile.in (DISTFILES): Add copysignl.S.
(MATHOBJS):Add copysignl.o.
|
|
|
|
| |
* include/math.h (__signbitl, __isnanl, copysignl): Declare.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
roundl, truncl, fmal, log2l): Declare.
Protect C99 declarations with _STDC_VERSION__ >= 199901L)
|| !defined __STRICT_ANSI__.
* mingwex/fmax.c (fmax): Call __isnan, not _isnan.
* mingwex/fmin.c (fmin): Likewise.
* mingwex/fmaxf.c (fmaxf): Call __isnanf, not _isnan.
* mingwex/fminf.c (fminf): Likewise.
* mingwex/fmaxl.c: New file.
* mingwex/fminl.c: New file.
* mingwex/fpclassify.c (__fpclassifyf): Split out to ...
* mingwex/fpclassifyf.c: New file.
* mingwex/fpclassifyl.c: New file.
* mingwex/rint.c (rintf): Split out to...
* mingwex/rintf.c: New file.
* mingwex/rintl.c: New file.
* mingwex/round.c (roundf): Split out to...
* mingwex/roundf.c: New file.
* mingwex/roundl.c: New file.
* mingwex/trunc.c (truncf): Split out to...
* mingwex/truncf.c: New file.
* mingwex/truncl.c: New file.
* mingwex/signbit.c (signbitf): Split out to...
* mingwex/signbitf.c: New file.
* mingwex/signbitl.c: New file.
* mingwex/fmal.c: New file.
* mingwex/copysignl.S: New file.
* mingwex/log2l.c: New file.
* mingwex/fp_consts.c: Add nanl definition.
Comment out unused constants.
* mingwex/Makefile.in (DISTFILES): Add fmaxl.c, fminl.c,
fpclassifyf.c, fpclassifyl.c, rintf.c, rintl.c, roundf.c,
roundl.c, truncf.c truncl.c, signbitf.c signbitl.c,
fmal.c, copysignl.S, log2l.c
(MATHOBJS): Add fmaxl.o, fminl.o, fpclassifyf.o,
fpclassifyl.o, rintf.o, rintl.o, roundf.o, roundl.o,
truncf.o truncl.o, signbitf.o signbitl.o, fmal.o,
copysignl.o, log2l.o.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* include/dirent.h (_wdirent, _WDIR): Define wide versions of
struct dirent, DIR.
(_wopendir,_wreaddir,_wclosedir,_wrewinddir,_wtelldir,
_wseekdir): Add prototypes for wide versions of corresponding
standard functions.
* include/tchar.h; Add _UNICODE mappings for dirent.h
structures and functions.
* mingwex/dirent.c: Make _UNICODE neutral.
* mingwex/wdirent.c: New file to define _UNICODE before
including dirent.c.
* mingwex/Makefile.in (DISTFILES): Add wdirent.c/
(POSIX_OBJS): Add wdirent.o.
(wdirent.o): Specify dependency on dirent.c as well as
wdirent.c.
* samples/dirent/wtest.c: New file, wide version of test.c.
|
|
|
|
|
|
| |
* include/mbctype.h: New file.
Correct some email address dyslexia.
|
|
|
|
|
|
|
|
| |
(_tsearchenv): Likewise.
(_tmakepath): Likewise.
(_tsplitpath): Likewise.
(_tfullpath): Likewise.
(__TEXT): Make same as define in w32api/include/winnt.h.
|
|
|
|
| |
absolute pathname.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ensure gcc include dir is searched despite -nostdinc.
* profile/Makefile.in (INCLUDES): Likewise.
* mingwex/Makefile.in (INCLUDES): Likewise.
* include/stdarg.h: Replace with stub that just guards the
real gcc system header with #ifndef RCINVOKED
* include/varargs.h: Likewise.
* include/stddef.h: Likewise.
* include/stdio.h: Include stdarg.h after defining
__need___va_list.
(__VALIST): Define as __gnuc_va_list if __GNUC__, else char*.
Replace va_list with __VALIST throughout.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* msvcrt.def (_fpreset): Mark as DATA so that only
_imp___fpreset is exported.
* msvcrt20.def (_fpreset): Likewise.
* msvcrt40.def (_fpreset): Likewise.
* crtdll.def (_fpreset): Likewise.
* CRT_fp10.c (_fpreset): Overide library _fpreset with one
that calls fninit.
(fpreset): Add oldname alias.
(__CRT_PC): Delete definition. _fpreset does it now.
* CRT_fp8.c (_fpreset): Force use of library _imp___fpreset.
(fpreset): Add oldname alias.
(__CRT_PC): Delete definition.
* moldname.def.in: Comment out fpreset.
* moldname-msvcrt.def: Regenerate.
* moldname-crtdll.def: Regenerate.
* include/fenv.h (FE_DFL_ENV): Define as (fenv_t*)0.
* mingwex/fesetenv.c (FE_DFL_ENV): Use it to set environment
with the _fpreset determined by startup CRT_fp object.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* CRT_fp10.c: New file.
* crt1.c (__CRT_PC) Declare.
(__CRT_fesetenv): New static function, using _CRT_PC.
(__mingw_CRTStartup):Use __CRT_fesetenv instead of _fpreset.
(_gnu_exception_handler): Likewise.
* Makefile.in (CRT0S): Add CRT_fp10.o.
(MINGW_OBJS): Add CRT_fp8.o.
(SRCDIST_FILES): Add CRT_fp8.c, CRT_fp10.c.
Add CRT_fp8.o, CRT_fp10.o dependancies.
* include/float.h (_fpreset): Expand comment.
* include/fenv.h (FE_PC64_ENV): New define for Intel x87
(extended precison) environmemt.
(FE_PC53_ENV): New define for MSVCRT default environmemt.
(FE_DFL_ENV): Define as FE_PC53_ENV.
* mingwex/fesetenv.c: Use FE_PC53_ENV, FE_PC64_ENV to determine
precision control for default environment.
* include/math.h: Fix long comment line.
* profile/configure.in (CRT0S): Set to both gcrt1.o and gcrt2.o
for mingw.
* profile/configure: Regenerate.
|
| |
|
|
|
|
|
|
|
|
| |
* Makefile.in: Ditto.
Merge from trunk:
2002-04-09 Earnie Boyd <earnie@users.sf.net>
* Makefile.in: Use bzip2 compression for Cygwin target.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
mingw-local patch to binutils.
Sun Nov 7 04:27:07 1999 Mumit Khan <khan@xraylith.wisc.edu>
(__mingw_fseek): New function to work around Win9x f/lseek bug.
(__mingw_fwrite): Likewise.
(__mingw_is_win9x): New helper function.
* include/stdio.h (__USE_MINGW_FSEEK): New define, guarding...
(__mingw_fseek): New prototype and define to replace fseek.
(__mingw_fseek): New prototype and define to replace fwrite.
* mingwex/Makefile.in: Add mingw-fseek.o to libmingwex.a.
* moldname-crtdll.def: Remove CR from end of line.
* moldname-msvcrt.def: Ditto.
|
|
|
|
|
|
|
|
| |
based on target, building gcrt0.o for cygwin -mno-cygwin.
* profile/configure: Regenerate.
* profile/Makefile.in (CRT0S): Use name from configure.
(gcrt0.o): New rule.
(ALL_CRT0S): New define, used to cleanup all gcrt?.o's.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
TLOSS, PLOSS): Move oldname defines back, following
the underscored names.
(_controlfp, _control87, _clearfp, _statusfp, _fpreset,
_fpecode): Remove prototypes copied from float.h.
(nan, nanf): Move into block protected against RC_INVOKED
and __cplusplus.
* include/stdlib.h (_Exit): Change from static inline to
extern inline.
* mingwex/_Exit.c : New file.
* mingwex/Makefile.in: Add _Exit.o to libmingwex.a.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.in (SUBDIRS): Add profile and mingwex to cygwin target.
(configdirs): Likewise.
(LIBGMON_A): Define for cygwin target as well.
* configure: Regenerate.
* profile/configure.in (THREAD_DLL): Remove define.
(LIBM_A): Remove define.
(LIBGMON_A): Define for cygwin target as well.
* profile/configure: Regenerate.
* profile/makefile.in (install): Install to inst_libdir and
inst_includedir.
* mingwex/makefile.in (CFLAGS): Move -fomit-frame-pointer to...
(OPTFLAGS): New define.
(ALL_CFLAGS): Add $(OPTFLAGS).
(ALL_CXXFLAGS): Same.
(.c.o:): Remove ALL_CXXFLAGS.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* include/stdio.h (_snwprintf): Correct spelling.
(_vsnwprintf): Likewise.
(snprintf): Add prototype.
(vsnprintf): Add prototype and inline definition.
(snwprintf): Add prototype.
(vsnwprintf): Add prototype and inline definition.
* include/wchar.h (_snwprintf): Correct spelling.
(_vsnwprintf): Likewise.
(snwprintf): Add prototype.
(vsnwprintf): Add prototype and inline definition.
* mingwex/Makefile.in: Add snprintf.o, snwprintf.o
to libmingwex.a.
* mingwex/snprintf.c: New file.
* mingwex/snwprintf.c: New file.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(wpopen): Add if !(__CRTDLL).
* Makefile.in (moldname-msvcrt.def rule): Use -C, not -c to
preserve comments.
(moldname-crtdll.def rule): Likewise.
* moldname-msvcrt.def: Regenerate.
* moldname-crtdll.def: Regenerate.
* include/stdio.h (wpopen):Use prototype, not a define.
(_swnprintf): Add prototype.
(_vswnprintf): Likewise.
Tidy up whitespace.
* include/wchar.h (_swnprintf): Add prototype.
(_vswnprintf): Likewise.
Tidy up whitespace.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure: Regenerate.
* Makefile.in (MINGW_OBJS): Remove dirent.o.
(SRC_DIST_FILES): Remove dirent.c.
* dirent.c: Remove.
* include/stdlib.h (_Exit): Add static inline
function.
(struct lldiv_t): Define.
(lldiv): Add prototype.
(llabs): Add extern inline function.
(strtoll,strtoull): Add prototypes.
(wcstol, wcstoul, wcstod): Group together.
(strtof, wcstof): Add extern inline definitions.
(atoll,lltoa,ulltoa, wtoll, lltow ulltow): Add prototypes
and extern inline definitions.
* include/wchar.h (fwide, wcstoll,wcstoull, wmemchr
wmemcmp, wmemcpy, wmemmove, wmemset. mbsinit): Add
prototypes.
(wcstol, wcstoul,wcstod): Copy prototypes from stdlib.h.
(wcstof): Add extern inline definition.
* include/math.h (nan, nanf): Add prototypes.
(NAN, INFINITE): Define constants.
(fpclassify, isnan ,signbit): Add macros and supporting float
and double functions.
(isfinite, isinf, isnormal): Add macros.
(isgreater, isless, isgreaterequal, islessequal,islessgreater):
Add macros.
(rint, rintf, round, roundf, trunc. truncf, fmax, fmaxf,
fmin, fminf, fma, fmaf, log2, log2f): Add prototypes.
(copysign, logb, nextafter, scalb): Add prototypes and
inline stubs for underscored versions in msvcrt.dll.
* include/inttypes.h: New file.
* include/fenv.h: New file
Add new mingwex subdir and files.
* mingwex: New directory.
* mingwex/Makefile.in: New file.
* mingwex/configure.in: New file.
* mingwex/configure: Generate.
* mingwex/dirent.c: Moved here from parent dir.
* mingwex/atoll.c: New file.
* mingwex/feclearexcept.c: New file.
* mingwex/fegetenv.c: New file.
* mingwex/fegetexceptflag.c: New file.
* mingwex/fegetround.c: New file.
* mingwex/feholdexcept.c: New file.
* mingwex/feraiseexcept.c: New file.
* mingwex/fesetenv.c: New file.
* mingwex/fesetexceptflag.c: New file.
* mingwex/fesetround.o: New file.
* mingwex/fetestexcept.c: New file.
* mingwex/feupdateenv.c: New file.
* mingwex/fma.S: New file.
* mingwex/fmaf.S: New file.
* mingwex/fmax.c: New file.
* mingwex/fmaxf.c: New file.
* mingwex/fmin.c: New file.
* mingwex/fminf.c: New file.
* mingwex/fp_consts.c: New file.
* mingwex/fpclassify.c: New file.
* mingwex/fucom.c: New file.
* mingwex/fwide.c: New file.
* mingwex/imaxabs.c: New file.
* mingwex/imaxdiv.c: New file.
* mingwex/isnan.c: New file.
* mingwex/isnanf.c: New file.
* mingwex/lltoa.c: New file.
* mingwex/lltow.c: New file.
* mingwex/log2.c: New file.
* mingwex/log2f.c: New file.
* mingwex/math_stubs.c: New file.
* mingwex/mbsinit.c: New file.
* mingwex/rint.c: New file.
* mingwex/round.c: New file.
* mingwex/signbit.c: New file.
* mingwex/sitest.c: New file.
* mingwex/strtof.c: New file.
* mingwex/strtoimax.c: New file.
* mingwex/strtoumax.c: New file.
* mingwex/testwmem.c: New file.
* mingwex/trunc.c: New file.
* mingwex/ulltoa.c: New file.
* mingwex/ulltow.c: New file.
* mingwex/wcstof.c: New file.
* mingwex/wcstoimax.c: New file.
* mingwex/wcstoumax.c: New file.
* mingwex/wmemchr.c: New file.
* mingwex/wmemcmp.c: New file.
* mingwex/wmemcpy.c: New file.
* mingwex/wmemmove.c: New file.
* mingwex/wmemset.c: New file.
* mingwex/wtoll.c: New file.
|
| |
|
|
|
|
|
| |
elf_parse_notes. Use bfd_malloc_and_get_section.
(elf_parse_notes): Validate note namesz and descsz.
|
|
|
|
|
|
|
|
|
|
|
| |
PR gdb/1158:
* valops.c (value_struct_elt): Treat function-valued field as a
static method.
gdb/testsuite:
* gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
(function_struct, function_struct_ptr): New globals.
* gdb.base/callfuncs.exp (do_function_calls): Test calling via a
function pointer in a struct.
|
|
|
|
|
|
|
|
| |
PR gdb/1136:
* macroexp.c (get_punctuator) <punctuators>: Rearrange to put
longer tokens first.
gdb/testsuite:
* gdb.base/macscp.exp: Add test for macro lexing bug.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* cli/cli-decode.h (CMD_ASYNC_OK, set_cmd_async_ok)
(get_cmd_async_ok): Remove.
* cli/cli-decode.c (set_cmd_async_ok, get_cmd_async_ok): Remove.
* cli/cli-cmds.c (init_cli_cmds): Don't use set_cmd_async_ok.
* infcmd.c (_initialize_infcmd): Likewise.
* thread.c (_initialize_thread): Likewise.
|
|
|
|
|
|
|
|
|
|
|
| |
128-bit long doubles in even-odd pairs of FPRs. Do not
right-align float arguments for big-endian.
(mips_n32n64_return_value): Apply return value convention for
structs containing one or two floating-point values to soft-float
as well as hard-float. Handle 128-bit long doubles in such
structs.
(mips_o32_push_dummy_call): Only skip one integer register for a
float argument passed in an FPR.
|
| |
|
| |
|
|
|
|
|
| |
functions.
* tcl.m4: New file.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tui/tui-hooks.c: Include observer.h.
(tui_event_default, tui_old_event_hooks, tui_event_hooks):
Remove.
(tui_bp_created_observer, tui_bp_deleted_observer,
tui_bp_modified_observer): New globals.
(tui_install_hooks): Use observers, not events.
(tui_remove_hooks): Likewise.
* mi/mi-cmd-break.c: Include observer.h, not gdb-events.h.
(mi_breakpoint_observers_installed, mi_can_breakpoint_notify): New
globals.
(breakpoint_notify): Check mi_can_breakpoint_notify.
(breakpoint_hooks): Remove.
(mi_cmd_break_insert): Attach observers. Don't use events.
* tracepoint.c: Include observer.h, not gdb-events.h.
(tracepoint_operation, trace_pass_command): Notify observer.
* interps.c: Don't include gdb-events.h.
(clear_interpreter_hooks): Don't call clear_gdb_event_hooks.
* gdbarch.c: Rebuild.
* gdbarch.sh: Emit include for observer.h, not gdb-events.h.
(deprecated_current_gdbarch_select_hack): Notify observer.
* breakpoint.h: Don't include gdb-events.h.
* breakpoint.c: Don't include gdb-events.h.
(condition_command): Notify observer.
(commands_command): Likewise.
(commands_from_control_command): Likewise.
(mention, delete_breakpoint, set_ignore_count): Likewise.
(disable_breakpoint, do_enable_breakpoint): Likewise.
* Makefile.in (gdb_events_h): Remove.
(breakpoint_h): Update.
(COMMON_OBS): Remove gdb-events.o.
(gdb-events.o): Remove.
(breakpoint.o, gdbarch.o, interps.o, tracepoint.o, gdbtk-bp.o,
gdbtk-hooks.o, mi-cmd-break.o, tui-hooks.o): Update.
* gdb-events.c: Remove.
* gdb-events.h: Remove.
* gdb-events.sh: Remove.
gdb/doc:
* observer.texi (GDB Observers): Document new observers:
breakpoint_created, breakpoint_deleted, breakpoint_modified,
tracepoint_created, tracepoint_deleted, tracepoint_modified,
architecture_changed.
gdb/gdbtk:
* generic/gdbtk-hooks.c: Include observer.h, not gdb-events.h.
(gdbtk_add_hooks): Use observers, not events.
(gdbtk_architecture_changed): Add argument, for observer.
* generic/gdbtk-bp.c: Include observer.h.
(gdb_set_bp): Notify observer.
(gdb_set_bp_addr): Likewise.
|
| |
|
| |
|
| |
|
|
|
|
| |
server about info on the internally added main thread.
|