]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add comments for GCC 5 requirement
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 15 Oct 2015 20:35:40 +0000 (13:35 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 15 Oct 2015 20:35:40 +0000 (13:35 -0700)
* sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
GCC 5 requirement.

ChangeLog
sysdeps/unix/sysv/linux/i386/sysdep.h

index 77878ded96b0c8eca26a59cf093d070b47728101..6f103e86320dd6b2846e6e9a0e12555e819c7790 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
+       GCC 5 requirement.
+
 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
 
        * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
index 5324da6329a98ce499ddb6f5a9ff7fb4bdbd12c4..76db7b8ab956982cfbb91209ac3892913c20f5a0 100644 (file)
 extern int __syscall_error (int)
   attribute_hidden __attribute__ ((__regparm__ (1)));
 
+/* Since GCC 5 and above can properly spill %ebx with PIC when needed,
+   we can inline syscalls with 6 arguments if GCC 5 or above is used
+   to compile glibc.  */
+
 #if !__GNUC_PREREQ (5,0)
 /* We need some help from the assembler to generate optimal code.  We
    define some macros here which later will be used.  */