Hi,

This is a subset of the uncommitted ucrtbase patches, with two major
changes since yesterday:
- I noticed that I had erroneously noted that __p___* functions
  existed everywhere. I had only checked the def file, and during
  unification (and even after later cleanups), I had left these new
  __p___* functions in, on platforms/architectures where they don't.
- Fix getopt by using __p___argv there instead of __argv, as Jacek
  suggested. In order to do this, I ended up cleaning up a few other
  inconsistencies surrounding the build of msvcr* dlls/defs while
  I was touching that area, cleanly separated in different fixes.

Patch 5/7 is mostly the same as a previously OK'd patch, but it
depends on the rest of these patches.

A full build of the set of test applications/libraries is still
running with these patches.
  

Martin Storsjö (7):
  crt: Include LIBRARY in the def files for crtdll and msvcr80
  crt: Skip an i386 specific wrapper function for arm/arm64 msvcrt
  crt: Only expose the __p___* functions in msvcrt.def on i386
  headers: Restructure declarations of external variables like _argc
  headers: Hook up __argc and similar external variables for ucrtbase
  crt: Provide __p___argv in all msvcrt versions
  crt: Use __p___argv instead of __argv in getopt

 mingw-w64-crt/Makefile.am              |  45 +++++----
 mingw-w64-crt/lib-common/msvcrt.def.in |   2 +
 mingw-w64-crt/lib32/crtdll.def         |   1 +
 mingw-w64-crt/lib32/msvcr80.def.in     |   1 +
 mingw-w64-crt/lib64/crtdll.def         |   1 +
 mingw-w64-crt/lib64/msvcr80.def.in     |   1 +
 mingw-w64-crt/misc/__p___argv.c        |  12 +++
 mingw-w64-crt/misc/getopt.c            |   2 +-
 mingw-w64-headers/crt/stdlib.h         | 165 +++++++++++++++++++++------------
 9 files changed, 152 insertions(+), 78 deletions(-)
 create mode 100644 mingw-w64-crt/misc/__p___argv.c

-- 
2.7.4


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to