summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-04-07 06:20:27 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-04-07 06:20:27 -0700
commitc21e79f27abcdda66218594ecdd449dc9eab9653 (patch)
treef4eb8eec24fad02289b10ad111f0429a34704e7e
parent619853a3f29edf315f24a14159c8ec243718a2e2 (diff)
downloadbinutils-gdb-c21e79f27abcdda66218594ecdd449dc9eab9653.tar.gz
Updated
-rw-r--r--ld/emultempl/elf-options.em35
1 files changed, 20 insertions, 15 deletions
diff --git a/ld/emultempl/elf-options.em b/ld/emultempl/elf-options.em
index e83536f9f2e..6e81aedae53 100644
--- a/ld/emultempl/elf-options.em
+++ b/ld/emultempl/elf-options.em
@@ -42,15 +42,13 @@ fragment <<EOF
MA 02110-1301, USA. */
void
-gldelf_shlib_list_options (FILE * file)
+gld_shlib_list_options (FILE * file)
{
fprintf (file, _("\
--audit=AUDITLIB Specify a library to use for auditing\n"));
fprintf (file, _("\
-Bgroup Selects group name lookup rules for DSO\n"));
fprintf (file, _("\
- --build-id[=STYLE] Generate build ID note\n"));
- fprintf (file, _("\
-P AUDITLIB, --depaudit=AUDITLIB\n" "\
Specify a library to use for auditing dependencies\n"));
fprintf (file, _("\
@@ -66,12 +64,6 @@ gldelf_shlib_list_options (FILE * file)
fprintf (file, _("\
-z combreloc Merge dynamic relocs into one section and sort\n"));
fprintf (file, _("\
- -z common-page-size=SIZE Set common page size to SIZE\n"));
- fprintf (file, _("\
- -z defs Report unresolved symbols in object files.\n"));
- fprintf (file, _("\
- -z execstack Mark executable as requiring executable stack\n"));
- fprintf (file, _("\
-z global Make symbols in DSO available for subsequently\n\
loaded objects\n"));
fprintf (file, _("\
@@ -83,10 +75,6 @@ gldelf_shlib_list_options (FILE * file)
fprintf (file, _("\
-z loadfltr Mark object requiring immediate process\n"));
fprintf (file, _("\
- -z max-page-size=SIZE Set maximum page size to SIZE\n"));
- fprintf (file, _("\
- -z muldefs Allow multiple definitions\n"));
- fprintf (file, _("\
-z nocombreloc Don't merge dynamic relocs into one section\n"));
fprintf (file, _("\
-z nocopyreloc Don't create copy relocs\n"));
@@ -99,8 +87,6 @@ gldelf_shlib_list_options (FILE * file)
fprintf (file, _("\
-z nodump Mark DSO not available to dldump\n"));
fprintf (file, _("\
- -z noexecstack Mark executable as not requiring executable stack\n"));
- fprintf (file, _("\
-z text Treat DT_TEXTREL in shared object as error\n"));
fprintf (file, _("\
-z notext Don't treat DT_TEXTREL in shared object as error\n"));
@@ -118,4 +104,23 @@ gldelf_shlib_list_options (FILE * file)
fprintf (file, _("\
-z stacksize=SIZE Set size of stack segment\n"));
}
+
+void
+gld_list_options (FILE * file)
+{
+ fprintf (file, _("\
+ --build-id[=STYLE] Generate build ID note\n"));
+ fprintf (file, _("\
+ -z common-page-size=SIZE Set common page size to SIZE\n"));
+ fprintf (file, _("\
+ -z max-page-size=SIZE Set maximum page size to SIZE\n"));
+ fprintf (file, _("\
+ -z defs Report unresolved symbols in object files.\n"));
+ fprintf (file, _("\
+ -z muldefs Allow multiple definitions\n"));
+ fprintf (file, _("\
+ -z execstack Mark executable as requiring executable stack\n"));
+ fprintf (file, _("\
+ -z noexecstack Mark executable as not requiring executable stack\n"));
+}
EOF