* lexsup.c (elf_shlib_list_options): Check DEFAULT_LD_Z_RELRO
for -z relro help message.
+2016-06-24 Dilyan Palauzov <dilyan.palauzov@aegee.org>
+ H.J. Lu <hongjiu.lu@intel.com>
+
+ * lexsup.c (elf_shlib_list_options): Check DEFAULT_LD_Z_RELRO
+ for -z relro help message.
+
2016-06-22 Maciej W. Rozycki <macro@imgtec.com>
* testsuite/ld-mips-elf/undefweak-overflow.d: Use wildcard
fprintf (file, _("\
-z origin Mark object requiring immediate $ORIGIN\n\
processing at runtime\n"));
+#if DEFAULT_LD_Z_RELRO
fprintf (file, _("\
- -z relro Create RELRO program header\n"));
+ -z relro Create RELRO program header (default)\n"));
fprintf (file, _("\
-z norelro Don't create RELRO program header\n"));
+#else
+ fprintf (file, _("\
+ -z relro Create RELRO program header\n"));
+ fprintf (file, _("\
+ -z norelro Don't create RELRO program header (default)\n"));
+#endif
fprintf (file, _("\
-z common Generate common symbols with STT_COMMON type\n"));
fprintf (file, _("\