diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2015-10-15 13:35:40 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2015-10-15 13:35:40 -0700 |
commit | 983a33fa7d50aa8bcff1e0f183388c74b1b5e213 (patch) | |
tree | 9dba17a716a178336e0a7e653f052278ccbd59dd /sysdeps | |
parent | b7d09f0d63a5d6705b5e275b8e3c855210b173a0 (diff) | |
download | glibc-983a33fa7d50aa8bcff1e0f183388c74b1b5e213.tar glibc-983a33fa7d50aa8bcff1e0f183388c74b1b5e213.tar.gz glibc-983a33fa7d50aa8bcff1e0f183388c74b1b5e213.tar.bz2 glibc-983a33fa7d50aa8bcff1e0f183388c74b1b5e213.zip |
Add comments for GCC 5 requirement
* sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
GCC 5 requirement.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/unix/sysv/linux/i386/sysdep.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/i386/sysdep.h b/sysdeps/unix/sysv/linux/i386/sysdep.h index 5324da6329..76db7b8ab9 100644 --- a/sysdeps/unix/sysv/linux/i386/sysdep.h +++ b/sysdeps/unix/sysv/linux/i386/sysdep.h @@ -227,6 +227,10 @@ 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. */ |