diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4dfa7c2cf781d5060337170bb9ddda58126ba582..b5363030e138addf766513516f624261627080e4 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2017-05-23  Tom de Vries  <tom@codesourcery.com>
+
+	* doc/sourcebuild.texi (Effective-Target Keywords, Other hardware
+	attributes): Document rdrand effective target.
+
 2017-05-23  Tom de Vries  <tom@codesourcery.com>
 
 	* doc/sourcebuild.texi (Effective-Target Keywords, Other hardware
diff --git a/gcc/doc/sourcebuild.texi b/gcc/doc/sourcebuild.texi
index 01d705a9fea71b761dd28b4523e64d347cdba894..ab2f8b62b605230aa9f37c609caae983bbcbd667 100644
--- a/gcc/doc/sourcebuild.texi
+++ b/gcc/doc/sourcebuild.texi
@@ -1855,6 +1855,9 @@ Target does not require strict alignment.
 @item pie_copyreloc
 The x86-64 target linker supports PIE with copy reloc.
 
+@item rdrand
+Target supports x86 @code{rdrand} instruction.
+
 @item sqrt_insn
 Target has a square root instruction that the compiler can generate.