This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.28.9000-382-g1a502f5


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  1a502f5260f1513b9ba38b68d8087e48bc0ede0c (commit)
       via  df682d1d745e078621bee5a1f4a0b40f1b8dfca1 (commit)
      from  c2c082c10f0bbdaaf3c5c8a9147a9fecbc474e1e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=1a502f5260f1513b9ba38b68d8087e48bc0ede0c

commit 1a502f5260f1513b9ba38b68d8087e48bc0ede0c
Author: Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
Date:   Fri Nov 23 14:00:06 2018 -0200

    Add *-ldbl.h headers to include/bits
    
    On some platforms, long double may have either the same format as double
    or another, wider format, such as the Quadruple IEC 60559 long double
    format or the IBM Extended Precision format (both 128-bits wide).
    Selecting between the available formats is done by using one of the
    following compiler switches: -mlong-double-128, for the wider format, or
    -mlong-double-64, for the narrower.  On all platforms that provide this
    choice, the wider format is the default.
    
    When the non-default format is selected by user code (i.e.: when
    building with -mlong-double-64) calls to functions that take long double
    parameters or return a long double type (e.g.: strfroml) are redirected
    to a compat function, via assembler redirection, by headers such as
    bits/stdlib-ldbl.h or bits/misc-ldbl.h.
    
    In glibc builds, however, these headers are currently being read from
    the system directories (/usr/include/bits) rather than from the source
    directory.  Although this works correctly today, it raises
    reproducibility concerns.  Besides that, builds for powerpc64le will
    need these files from the source directory, because on powerpc64le, the
    new redirections for long double with IEEE binary128 format will be
    implemented in these headers.
    
    Tested for powerpc64 and powerpc64le.

diff --git a/ChangeLog b/ChangeLog
index b8d794d..7a78b6b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
 2018-12-11  Gabriel F. T. Gomes  <gabriel@inconstante.eti.br>
 
+	* include/bits/monetary-ldbl.h: New file.
+	* include/bits/printf-ldbl.h: Likewise.
+	* include/bits/stdio-ldbl.h: Likewise.
+	* include/bits/stdlib-ldbl.h: Likewise.
+	* include/bits/syslog-ldbl.h: Likewise.
+	* include/bits/wchar-ldbl.h: Likewise.
+
+2018-12-11  Gabriel F. T. Gomes  <gabriel@inconstante.eti.br>
+
 	* libio/libio.h: Remove redirection for _IO_vfprintf.
 
 2018-12-11  Andreas Schwab  <schwab@suse.de>
diff --git a/include/bits/monetary-ldbl.h b/include/bits/monetary-ldbl.h
new file mode 100644
index 0000000..6b6713f
--- /dev/null
+++ b/include/bits/monetary-ldbl.h
@@ -0,0 +1 @@
+#include <stdlib/bits/monetary-ldbl.h>
diff --git a/include/bits/printf-ldbl.h b/include/bits/printf-ldbl.h
new file mode 100644
index 0000000..10d534b
--- /dev/null
+++ b/include/bits/printf-ldbl.h
@@ -0,0 +1 @@
+#include <stdio-common/bits/printf-ldbl.h>
diff --git a/include/bits/stdio-ldbl.h b/include/bits/stdio-ldbl.h
new file mode 100644
index 0000000..1f7d3ce
--- /dev/null
+++ b/include/bits/stdio-ldbl.h
@@ -0,0 +1 @@
+#include <libio/bits/stdio-ldbl.h>
diff --git a/include/bits/stdlib-ldbl.h b/include/bits/stdlib-ldbl.h
new file mode 100644
index 0000000..6250949
--- /dev/null
+++ b/include/bits/stdlib-ldbl.h
@@ -0,0 +1 @@
+#include <stdlib/bits/stdlib-ldbl.h>
diff --git a/include/bits/syslog-ldbl.h b/include/bits/syslog-ldbl.h
new file mode 100644
index 0000000..e868156
--- /dev/null
+++ b/include/bits/syslog-ldbl.h
@@ -0,0 +1 @@
+#include <misc/bits/syslog-ldbl.h>
diff --git a/include/bits/wchar-ldbl.h b/include/bits/wchar-ldbl.h
new file mode 100644
index 0000000..29baa2f
--- /dev/null
+++ b/include/bits/wchar-ldbl.h
@@ -0,0 +1 @@
+#include <wcsmbs/bits/wchar-ldbl.h>

http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=df682d1d745e078621bee5a1f4a0b40f1b8dfca1

commit df682d1d745e078621bee5a1f4a0b40f1b8dfca1
Author: Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
Date:   Wed Dec 5 19:16:12 2018 -0200

    Remove redirection of _IO_vfprintf
    
    Since the commit
    
    commit 698fb75b9ff5ae454a1344b5f9fafa0ca367c555
    Author: Zack Weinberg <zackw@panix.com>
    Date:   Wed Mar 7 14:32:01 2018 -0500
    
        Add __v*printf_internal with flags arguments
    
    _IO_vfprintf is gone.  This did not trigger any test case failures on
    powerpc and powerpc64le, because there were no tests that covered it.
    However, new test cases for nldbl versions of argp.h functions exposed
    the problem.
    
    Tested for powerpc64 and powerpc64le.

diff --git a/ChangeLog b/ChangeLog
index f4d2d1f..b8d794d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2018-12-11  Gabriel F. T. Gomes  <gabriel@inconstante.eti.br>
+
+	* libio/libio.h: Remove redirection for _IO_vfprintf.
+
 2018-12-11  Andreas Schwab  <schwab@suse.de>
 
 	* Makerules: Remove all references to abilist-pattern.
diff --git a/libio/libio.h b/libio/libio.h
index 3a93807..e19d860 100644
--- a/libio/libio.h
+++ b/libio/libio.h
@@ -300,7 +300,6 @@ extern void _IO_free_wbackup_area (FILE *) __THROW;
 
 #ifdef __LDBL_COMPAT
 __LDBL_REDIR_DECL (_IO_vfscanf)
-__LDBL_REDIR_DECL (_IO_vfprintf)
 #endif
 
 libc_hidden_proto (__overflow)

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                    |   13 +++++++++++++
 include/bits/monetary-ldbl.h |    1 +
 include/bits/printf-ldbl.h   |    1 +
 include/bits/stdio-ldbl.h    |    1 +
 include/bits/stdlib-ldbl.h   |    1 +
 include/bits/syslog-ldbl.h   |    1 +
 include/bits/wchar-ldbl.h    |    1 +
 libio/libio.h                |    1 -
 8 files changed, 19 insertions(+), 1 deletions(-)
 create mode 100644 include/bits/monetary-ldbl.h
 create mode 100644 include/bits/printf-ldbl.h
 create mode 100644 include/bits/stdio-ldbl.h
 create mode 100644 include/bits/stdlib-ldbl.h
 create mode 100644 include/bits/syslog-ldbl.h
 create mode 100644 include/bits/wchar-ldbl.h


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]