aboutsummaryrefslogtreecommitdiff
path: root/ld/ld.h
diff options
context:
space:
mode:
authorChris Demetriou <cgd@google.com>2001-11-02 01:13:09 +0000
committerChris Demetriou <cgd@google.com>2001-11-02 01:13:09 +0000
commit361b220ebe7753ec50bfdd6cde560cd242a5a9bb (patch)
tree1530967b9fb79685a6e91cc481fa5e5c3adc5d58 /ld/ld.h
parente3eb7b4206ec2d414f225046e15d6a5db3721a3e (diff)
downloadfsf-binutils-gdb-361b220ebe7753ec50bfdd6cde560cd242a5a9bb.zip
fsf-binutils-gdb-361b220ebe7753ec50bfdd6cde560cd242a5a9bb.tar.gz
fsf-binutils-gdb-361b220ebe7753ec50bfdd6cde560cd242a5a9bb.tar.bz2
2001-11-01 Chris Demetriou <cgd@broadcom.com>
* ld.texinfo (Options): Document new option, -nostdlib. * lexsup.c (OPTION_NOSTDLIB): New definition. (ld_options): Add entry for "nostdlib". (parse_args): Handle OPTIONS_NOSTDLIB. * ldfile.c (ldfile_add_library_path): Don't add directories to the search path if they weren't specified on the command line and -nostdlib was specified. * ld.h (ld_config_type): New member only_cmd_line_lib_dirs.
Diffstat (limited to 'ld/ld.h')
-rw-r--r--ld/ld.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ld/ld.h b/ld/ld.h
index 68dfbdc..e629e66 100644
--- a/ld/ld.h
+++ b/ld/ld.h
@@ -214,6 +214,10 @@ typedef struct {
unsigned int split_by_reloc;
bfd_size_type split_by_file;
+
+ /* If set, only search library directories explicitly selected
+ on the command line. */
+ boolean only_cmd_line_lib_dirs;
} ld_config_type;
extern ld_config_type config;