aboutsummaryrefslogtreecommitdiff
path: root/ld/ld.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-09-14 22:27:16 +0000
committerIan Lance Taylor <ian@airs.com>1994-09-14 22:27:16 +0000
commit809ee7e0365ed037cbb26ca3d9cc44431bb0f4b1 (patch)
tree79c0fc901b40235300843b698771afe90a64a408 /ld/ld.h
parenta8d0866480cdc01f1695e8e653c625326e8d2e20 (diff)
downloadgdb-809ee7e0365ed037cbb26ca3d9cc44431bb0f4b1.zip
gdb-809ee7e0365ed037cbb26ca3d9cc44431bb0f4b1.tar.gz
gdb-809ee7e0365ed037cbb26ca3d9cc44431bb0f4b1.tar.bz2
* ld.h (ld_config_type): Add new field warn_once.
* ldmain.c (undefined_symbol): Handle -warn-once. * lexsup.c (parse_args): Recognize -warn-once. * ld.texinfo (Options): Document -warn-once. * ld.1: Likewise. PR 4456.
Diffstat (limited to 'ld/ld.h')
-rw-r--r--ld/ld.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/ld/ld.h b/ld/ld.h
index ff654a6..d23633e 100644
--- a/ld/ld.h
+++ b/ld/ld.h
@@ -49,6 +49,15 @@ typedef struct
/* 1 => assign space to common symbols even if `relocatable_output'. */
boolean force_common_definition;
boolean relax;
+
+ /* Name of runtime interpreter to invoke. */
+ char *interpreter;
+
+ /* Name to give runtime libary from the -soname argument. */
+ char *soname;
+
+ /* Runtime library search path from the -rpath argument. */
+ char *rpath;
} args_type;
extern args_type command_line;
@@ -72,6 +81,9 @@ typedef struct
/* If true, warn about merging common symbols with others. */
boolean warn_common;
+ /* If true, only warn once about a particular undefined symbol. */
+ boolean warn_once;
+
boolean sort_common;
boolean text_read_only;