aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2009-03-17 13:10:24 +0000
committerH.J. Lu <hjl@gcc.gnu.org>2009-03-17 06:10:24 -0700
commit21440b2da2e62429e7d5f156c10433966a718bc0 (patch)
tree3e270e51d601dd5931f486f1a1d67e0998e0df38 /gcc
parentd8905c6aa80516ca6c97ecf139e31431fec6d5d1 (diff)
downloadgcc-21440b2da2e62429e7d5f156c10433966a718bc0.zip
gcc-21440b2da2e62429e7d5f156c10433966a718bc0.tar.gz
gcc-21440b2da2e62429e7d5f156c10433966a718bc0.tar.bz2
re PR target/39477 (Incorrect document for regparm attribute)
2009-03-17 H.J. Lu <hongjiu.lu@intel.com> PR target/39477 * doc/extend.texi: Correct register behavior for regparm on Intel 386. From-SVN: r144903
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/doc/extend.texi2
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6f50eb7..42240dc 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,11 @@
2009-03-17 H.J. Lu <hongjiu.lu@intel.com>
+ PR target/39477
+ * doc/extend.texi: Correct register behavior for regparm on
+ Intel 386.
+
+2009-03-17 H.J. Lu <hongjiu.lu@intel.com>
+
PR target/39476
* config/i386/i386.c (ix86_function_regparm): Rewrite for
64bit.
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index 4739eaf..d335cde 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -2792,7 +2792,7 @@ default). Lazy binding will send the first call via resolving code in
the loader, which might assume EAX, EDX and ECX can be clobbered, as
per the standard calling conventions. Solaris 8 is affected by this.
GNU systems with GLIBC 2.1 or higher, and FreeBSD, are believed to be
-safe since the loaders there save all registers. (Lazy binding can be
+safe since the loaders there save EAX, EDX and ECX. (Lazy binding can be
disabled with the linker or the loader if desired, to avoid the
problem.)