commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[mig] 01/03: New upstream version 1.8


From: Samuel Thibault
Subject: [mig] 01/03: New upstream version 1.8
Date: Mon, 19 Dec 2016 15:10:00 +0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch master
in repository mig.

commit e5e99e3de3f72985c646011c759e4ff95d92fec9
Author: Samuel Thibault <address@hidden>
Date:   Mon Dec 19 14:43:12 2016 +0000

    New upstream version 1.8
---
 ChangeLog              |  27 ++++++++++
 NEWS                   | 139 +++++++++++++++++++++++++------------------------
 build-aux/config.guess |  28 ++++++----
 build-aux/config.sub   |  22 +++++---
 configure              |  20 +++----
 configure.ac           |   2 +-
 migcom.c               |   2 +-
 utils.c                |   4 +-
 8 files changed, 147 insertions(+), 97 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 92e90fc..7948e8c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,30 @@
+2016-12-18  Thomas Schwinge  <address@hidden>
+
+       GNU MIG 1.8
+       * configure.ac (AC_INIT): Set version to 1.8.
+       * NEWS: Finalize for 1.8.
+
+2016-12-13  Thomas Schwinge  <address@hidden>
+
+       Remove bullet points from NEWS file
+       ... to match the GNU Mach and Hurd NEWS files.
+
+       * NEWS: Remove bullet points.
+
+2016-12-09  Justus Winter  <address@hidden>
+
+       Update the NEWS file
+
+2016-10-10  Samuel Thibault  <address@hidden>
+
+       Fix spurious warning on MACH_MSG_TYPE_POLYMORPHIC value
+       * utils.c (WriteCheckDecl, WriteStaticShortDecl): Explicitly cast name 
to
+       unsigned char to ignore truncation of MACH_MSG_TYPE_POLYMORPHIC i.e. -1.
+
+2016-09-20  Samuel Thibault  <address@hidden>
+
+       fix typo
+
 2016-05-18  Thomas Schwinge  <address@hidden>
 
        GNU MIG 1.7
diff --git a/NEWS b/NEWS
index bd1f00c..21b376c 100644
--- a/NEWS
+++ b/NEWS
@@ -1,121 +1,126 @@
+Version 1.8 (2016-12-18)
+
+A spurious warning in the generated code has been fixed.
+
 Version 1.7 (2016-05-18)
 
-* MIG now has a test suite.  It includes a set of valid and invalid
-  definition files that MIG will try to process.  For valid
-  definitions, GCC will compile the stubs to check if valid C code was
-  generated.
+MIG now has a test suite.  It includes a set of valid and invalid
+definition files that MIG will try to process.  For valid
+definitions, GCC will compile the stubs to check if valid C code was
+generated.
 
-* The generated code uses integer types from <stdint.h> now instead of
-  the old Mach types.
+The generated code uses integer types from <stdint.h> now instead of
+the old Mach types.
 
-* Code that was hard-coding the word size has been identified and
-  fixed.
+Code that was hard-coding the word size has been identified and
+fixed.
 
-* Support for the obsolete kinds of RPC routines 'functions',
-  'procedures', and 'simple procedures' has been removed.
+Support for the obsolete kinds of RPC routines 'functions',
+'procedures', and 'simple procedures' has been removed.
 
-* MIG now emits code that casts objects translated from capabilities
-  to the correct C type.
+MIG now emits code that casts objects translated from capabilities
+to the correct C type.
 
 Version 1.6 (2015-10-31)
 
-* MIG now emits RPC lookup functions that are declared `static inline'
-  improving compatibility with newer dialects of C.
+MIG now emits RPC lookup functions that are declared `static inline'
+improving compatibility with newer dialects of C.
 
 Version 1.5 (2015-04-10)
 
-* Add support for protected payloads.  The new `intranpayload' option
-  can be used to specify a translation function translating payloads
-  to values of the translated type.  This function will be used
-  instead of the `intran' function to to look up the receiving object
-  of a message in a server.  This makes it easy to use the protected
-  payloads introduced in GNU Mach 1.5.
+Add support for protected payloads.  The new `intranpayload' option
+can be used to specify a translation function translating payloads
+to values of the translated type.  This function will be used
+instead of the `intran' function to to look up the receiving object
+of a message in a server.  This makes it easy to use the protected
+payloads introduced in GNU Mach 1.5.
 
-* Emit `X_server_routine' functions that can be inlined reducing the
-  message dispatch overhead.
+Emit `X_server_routine' functions that can be inlined reducing the
+message dispatch overhead.
 
-* Improve support for variable-sized C strings.
+Improve support for variable-sized C strings.
 
-* Fix a warning when compiling generated files.
+Fix a warning when compiling generated files.
 
 Version 1.4 (2013-09-27)
 
-* Don't accept the `-R' (msg_send) command line option anymore and make the
-  `-r' one (msg_rpc) a no-op.
+Don't accept the `-R' (msg_send) command line option anymore and make the
+`-r' one (msg_rpc) a no-op.
 
-* Fix warnings when compiling generated files with recent versions of GCC.
+Fix warnings when compiling generated files with recent versions of GCC.
 
-* Handle the preprocessor option `-isystem' correctly.
+Handle the preprocessor option `-isystem' correctly.
 
-* Cope with command line arguments that contain whitespace.
+Cope with command line arguments that contain whitespace.
 
-* Make the installation tree relocatable.
+Make the installation tree relocatable.
 
-* Be more careful to catch write errors when closing files.
+Be more careful to catch write errors when closing files.
 
-* Spurious deallocation of out-of-line memory has been fixed in case of an
-  error while processing the RPC.
+Spurious deallocation of out-of-line memory has been fixed in case of an
+error while processing the RPC.
 
 Version 1.3.1 (2002-08-29)
 
-* Fix warnings when compiling generated files with GCC 3.x.
+Fix warnings when compiling generated files with GCC 3.x.
 
-* Fix alignment issues for greater than 32 bit types on 32 bit
-  machines.
+Fix alignment issues for greater than 32 bit types on 32 bit
+machines.
 
-* Alpha fixes.
+Alpha fixes.
 
 Version 1.3 (2002-03-08)
 
-* Minor bug fixes.
+Minor bug fixes.
 
-* The new keyword `retcode' is accepted as a parameter modifier.
-  This does not do anything, but is accepted for compatibility
-  with the MIG input syntax used with OSF Mach.
+The new keyword `retcode' is accepted as a parameter modifier.
+This does not do anything, but is accepted for compatibility
+with the MIG input syntax used with OSF Mach.
 
-* The debian/ subdirectory of packaging files is now included in the
-  MIG source distribution.
+The debian/ subdirectory of packaging files is now included in the
+MIG source distribution.
 
 Version 1.2 (2001-07-07)
 
-* New option -n to suppress default output file creation.
-  With -n, no output files are created except those named
-  by other command-line options.
+New option -n to suppress default output file creation.
+With -n, no output files are created except those named
+by other command-line options.
 
-* New option -list to generate a file listing RPC names and message ID numbers.
-  The output is in six columns:
+New option -list to generate a file listing RPC names and message ID numbers.
+The output is in six columns:
     subsystem-name subsystem-base rpc-name rpc-num msg-id reply-id
-  For example this output line:
+For example this output line:
     io 21000 io_read 1 21001 21101
-  says that the file used `subsystem io 21000' and defined an RPC called
-  `io_read' with message ID 21000+1 = 21001; the reply message ID is
-  computed 21001+100 = 21101.  In this example:
+says that the file used `subsystem io 21000' and defined an RPC called
+`io_read' with message ID 21000+1 = 21001; the reply message ID is
+computed 21001+100 = 21101.  In this example:
     io 21000 io_reauthenticate 14 21014 0
-  the declaration is a `simpleroutine' that expects no reply, so 0 is
-  printed in place of the computed reply message ID.  The output list
-  these examples is generated on a GNU/Hurd system with this command:
-    mig -n -list /dev/stdout /include/hurd/io.defs
+the declaration is a `simpleroutine' that expects no reply, so 0 is
+printed in place of the computed reply message ID.  The output list
+these examples is generated on a GNU/Hurd system with this command:
+    $ mig -n -list /dev/stdout /include/hurd/io.defs
 
-* Output files of C source now start by defining _GNU_SOURCE,
-  for compatibility with the GNU C library on GNU/Hurd.
+Output files of C source now start by defining _GNU_SOURCE,
+for compatibility with the GNU C library on GNU/Hurd.
 
 Version 1.1 (1999-06-22)
 
-* First official net release.
+First official net release.
 
 Version 1.0.2 (1999-05-23)
 
-* Understand normal GNU --version and --help args.
-* Find CPP in a more flexible fashion.
+Understand normal GNU --version and --help args.
+
+Find CPP in a more flexible fashion.
 
 Version 1.0.1 (1998-12-04)
 
-* This release fixes a bug in the `mig' driver script that made it fail to
-  invoke the C preprocessor properly.
+This release fixes a bug in the `mig' driver script that made it fail to
+invoke the C preprocessor properly.
 
 Version 1.0 (1998-08-19)
 
-* MIG has been split into a separate distribution to make it easier to set
-  up a compilation environment for GNU Mach and Hurd systems.  The mig
-  program itself in this distribution has not been substantively changed
-  from the version in the GNUmach 1.1.3 distribution.
+MIG has been split into a separate distribution to make it easier to set
+up a compilation environment for GNU Mach and Hurd systems.  The mig
+program itself in this distribution has not been substantively changed
+from the version in the GNU Mach 1.1.3 distribution.
diff --git a/build-aux/config.guess b/build-aux/config.guess
index 0967f2a..2e9ad7f 100755
--- a/build-aux/config.guess
+++ b/build-aux/config.guess
@@ -2,7 +2,7 @@
 # Attempt to guess a canonical system name.
 #   Copyright 1992-2016 Free Software Foundation, Inc.
 
-timestamp='2016-04-02'
+timestamp='2016-10-02'
 
 # This file is free software; you can redistribute it and/or modify it
 # under the terms of the GNU General Public License as published by
@@ -186,9 +186,12 @@ case 
"${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
            *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
        esac
        # The Operating System including object format, if it has switched
-       # to ELF recently, or will in the future.
+       # to ELF recently (or will in the future) and ABI.
        case "${UNAME_MACHINE_ARCH}" in
-           arm*|earm*|i386|m68k|ns32k|sh3*|sparc|vax)
+           earm*)
+               os=netbsdelf
+               ;;
+           arm*|i386|m68k|ns32k|sh3*|sparc|vax)
                eval $set_cc_for_build
                if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
                        | grep -q __ELF__
@@ -997,6 +1000,9 @@ EOF
        eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
        test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
        ;;
+    mips64el:Linux:*:*)
+       echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+       exit ;;
     openrisc*:Linux:*:*)
        echo or1k-unknown-linux-${LIBC}
        exit ;;
@@ -1029,6 +1035,9 @@ EOF
     ppcle:Linux:*:*)
        echo powerpcle-unknown-linux-${LIBC}
        exit ;;
+    riscv32:Linux:*:* | riscv64:Linux:*:*)
+       echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+       exit ;;
     s390:Linux:*:* | s390x:Linux:*:*)
        echo ${UNAME_MACHINE}-ibm-linux-${LIBC}
        exit ;;
@@ -1408,18 +1417,17 @@ esac
 cat >&2 <<EOF
 $0: unable to guess system type
 
-This script, last modified $timestamp, has failed to recognize
-the operating system you are using. It is advised that you
-download the most up to date version of the config scripts from
+This script (version $timestamp), has failed to recognize the
+operating system you are using. If your script is old, overwrite
+config.guess and config.sub with the latest versions from:
 
   http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess
 and
   http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub
 
-If the version you run ($0) is already up to date, please
-send the following data and any information you think might be
-pertinent to <address@hidden> in order to provide the needed
-information to handle your system.
+If $0 has already been updated, send the following data and any
+information you think might be pertinent to address@hidden to
+provide the necessary information to handle your system.
 
 config.guess timestamp = $timestamp
 
diff --git a/build-aux/config.sub b/build-aux/config.sub
index 8d39c4b..dd2ca93 100755
--- a/build-aux/config.sub
+++ b/build-aux/config.sub
@@ -2,7 +2,7 @@
 # Configuration validation subroutine script.
 #   Copyright 1992-2016 Free Software Foundation, Inc.
 
-timestamp='2016-03-30'
+timestamp='2016-11-04'
 
 # This file is free software; you can redistribute it and/or modify it
 # under the terms of the GNU General Public License as published by
@@ -117,7 +117,7 @@ case $maybe_os in
   nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
   linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | 
kfreebsd*-gnu* | \
   knetbsd*-gnu* | netbsd*-gnu* | netbsd*-eabi* | \
-  kopensolaris*-gnu* | \
+  kopensolaris*-gnu* | cloudabi*-eabi* | \
   storm-chaos* | os2-emx* | rtmk-nova*)
     os=-$maybe_os
     basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
@@ -301,6 +301,7 @@ case $basic_machine in
        | open8 | or1k | or1knd | or32 \
        | pdp10 | pdp11 | pj | pjl \
        | powerpc | powerpc64 | powerpc64le | powerpcle \
+       | pru \
        | pyramid \
        | riscv32 | riscv64 \
        | rl78 | rx \
@@ -428,6 +429,7 @@ case $basic_machine in
        | orion-* \
        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
+       | pru-* \
        | pyramid-* \
        | riscv32-* | riscv64-* \
        | rl78-* | romp-* | rs6000-* | rx-* \
@@ -643,6 +645,14 @@ case $basic_machine in
                basic_machine=m68k-bull
                os=-sysv3
                ;;
+       e500v[12])
+               basic_machine=powerpc-unknown
+               os=$os"spe"
+               ;;
+       e500v[12]-*)
+               basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
+               os=$os"spe"
+               ;;
        ebmon29k)
                basic_machine=a29k-amd
                os=-ebmon
@@ -1022,7 +1032,7 @@ case $basic_machine in
        ppc-* | ppcbe-*)
                basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
                ;;
-       ppcle | powerpclittle | ppc-le | powerpc-little)
+       ppcle | powerpclittle)
                basic_machine=powerpcle-unknown
                ;;
        ppcle-* | powerpclittle-*)
@@ -1032,7 +1042,7 @@ case $basic_machine in
                ;;
        ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 
's/^[^-]*-//'`
                ;;
-       ppc64le | powerpc64little | ppc64-le | powerpc64-little)
+       ppc64le | powerpc64little)
                basic_machine=powerpc64le-unknown
                ;;
        ppc64le-* | powerpc64little-*)
@@ -1389,7 +1399,7 @@ case $os in
              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
              | -chorusos* | -chorusrdb* | -cegcc* \
              | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* 
\
-             | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
+             | -midipix* | -mingw32* | -mingw64* | -linux-gnu* | 
-linux-android* \
              | -linux-newlib* | -linux-musl* | -linux-uclibc* \
              | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \
              | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
@@ -1399,7 +1409,7 @@ case $os in
              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
              | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \
-             | -onefs* | -tirtos*)
+             | -onefs* | -tirtos* | -phoenix* | -fuchsia*)
        # Remember, each alternative MUST END IN *, to match a version number.
                ;;
        -qnx*)
diff --git a/configure b/configure
index 83eee48..05f564f 100755
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for GNU MIG 1.7.
+# Generated by GNU Autoconf 2.69 for GNU MIG 1.8.
 #
 # Report bugs to <address@hidden>.
 #
@@ -580,8 +580,8 @@ MAKEFLAGS=
 # Identity of this package.
 PACKAGE_NAME='GNU MIG'
 PACKAGE_TARNAME='mig'
-PACKAGE_VERSION='1.7'
-PACKAGE_STRING='GNU MIG 1.7'
+PACKAGE_VERSION='1.8'
+PACKAGE_STRING='GNU MIG 1.8'
 PACKAGE_BUGREPORT='address@hidden'
 PACKAGE_URL='http://www.gnu.org/software/mig/'
 
@@ -1265,7 +1265,7 @@ if test "$ac_init_help" = "long"; then
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures GNU MIG 1.7 to adapt to many kinds of systems.
+\`configure' configures GNU MIG 1.8 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1337,7 +1337,7 @@ fi
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of GNU MIG 1.7:";;
+     short | recursive ) echo "Configuration of GNU MIG 1.8:";;
    esac
   cat <<\_ACEOF
 
@@ -1436,7 +1436,7 @@ fi
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-GNU MIG configure 1.7
+GNU MIG configure 1.8
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1683,7 +1683,7 @@ cat >config.log <<_ACEOF
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by GNU MIG $as_me 1.7, which was
+It was created by GNU MIG $as_me 1.8, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -2660,7 +2660,7 @@ fi
 
 # Define the identity of the package.
  PACKAGE='mig'
- VERSION='1.7'
+ VERSION='1.8'
 
 
 # Some tools Automake needs.
@@ -5103,7 +5103,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by GNU MIG $as_me 1.7, which was
+This file was extended by GNU MIG $as_me 1.8, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -5162,7 +5162,7 @@ _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-GNU MIG config.status 1.7
+GNU MIG config.status 1.8
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
diff --git a/configure.ac b/configure.ac
index 0fff2f5..14dc291 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2,7 +2,7 @@ dnl configure script for GNU MIG.
 
 AC_PREREQ([2.53])
 
-AC_INIT([GNU MIG], [1.7], address@hidden)
+AC_INIT([GNU MIG], [1.8], address@hidden)
 AC_CONFIG_SRCDIR([migcom.c])
 AC_CONFIG_AUX_DIR([build-aux])
 
diff --git a/migcom.c b/migcom.c
index d64c4b2..c07e84d 100644
--- a/migcom.c
+++ b/migcom.c
@@ -48,7 +48,7 @@
  *             -iheader <name>
  *                     Name the user-side internal header file <name>
  *             -sheader <name>
- *                     NAme the server-side header file <name>
+ *                     Name the server-side header file <name>
  *
  *  DESIGN:
  *     Mig uses a lexxer module created by lex from lexxer.l and
diff --git a/utils.c b/utils.c
index ccde966..a06001b 100644
--- a/utils.c
+++ b/utils.c
@@ -188,7 +188,7 @@ WriteCheckDecl(FILE *file, const argument_t *arg)
 
     fprintf(file, "\tconst mach_msg_type_t %sCheck = {\n",
            arg->argVarName);
-    fprintf(file, "\t\t/* msgt_name = */\t\t%s,\n", it->itOutNameStr);
+    fprintf(file, "\t\t/* msgt_name = */\t\t(unsigned char) %s,\n", 
it->itOutNameStr);
     fprintf(file, "\t\t/* msgt_size = */\t\t%d,\n", it->itSize);
     fprintf(file, "\t\t/* msgt_number = */\t\t%d,\n", it->itNumber);
     fprintf(file, "\t\t/* msgt_inline = */\t\t%s,\n",
@@ -296,7 +296,7 @@ WriteStaticShortDecl(FILE *file, const ipc_type_t *it,
                     dealloc_t dealloc, boolean_t inname, identifier_t name)
 {
     fprintf(file, "\tconst mach_msg_type_t %s = {\n", name);
-    fprintf(file, "\t\t/* msgt_name = */\t\t%s,\n",
+    fprintf(file, "\t\t/* msgt_name = */\t\t(unsigned char) %s,\n",
            inname ? it->itInNameStr : it->itOutNameStr);
     fprintf(file, "\t\t/* msgt_size = */\t\t%d,\n", it->itSize);
     fprintf(file, "\t\t/* msgt_number = */\t\t%d,\n", it->itNumber);

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/mig.git



reply via email to

[Prev in Thread] Current Thread [Next in Thread]