summaryrefslogtreecommitdiff
path: root/ld/ldmain.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2009-11-05 15:35:49 +0000
committerNick Clifton <nickc@redhat.com>2009-11-05 15:35:49 +0000
commit7ac1ebdfa4ad74050c4bb4443491b20f4ee41678 (patch)
tree05fe28d3984f59803986f4808003ffa430d10557 /ld/ldmain.h
parentf332f7169a8ffc0252aac24ddc1db5662642e763 (diff)
downloadbinutils-redhat-7ac1ebdfa4ad74050c4bb4443491b20f4ee41678.tar.gz
* lexsup.c: Rename --add-needed to --copy-dt-needed-entries.
* ldlang.h (struct lang_input_statement_struct): Rename add_needed to add_DT_NEEDED_for_dynamic. Rename as_needed to add_DT_NEEDED_for_regular. * ldlang.c: Likewise. * ldlang.h: Likewise. * ldlang.c: Use the new variable names. * ldgram.y: Likewise. * emultempl/elf32.em: Likewise. * ld.texinfo: Document the renamed option. Also mention its affect on the resolution of dynamic symbols. * NEWS: Mention the changed option name.
Diffstat (limited to 'ld/ldmain.h')
-rw-r--r--ld/ldmain.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ld/ldmain.h b/ld/ldmain.h
index c39780629b..57ce8d7811 100644
--- a/ld/ldmain.h
+++ b/ld/ldmain.h
@@ -1,6 +1,6 @@
/* ldmain.h -
Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1999, 2002, 2003, 2004,
- 2005, 2007, 2008 Free Software Foundation, Inc.
+ 2005, 2007, 2008, 2009 Free Software Foundation, Inc.
This file is part of the GNU Binutils.
@@ -34,8 +34,8 @@ extern bfd_boolean trace_files;
extern bfd_boolean trace_file_tries;
extern bfd_boolean version_printed;
extern bfd_boolean whole_archive;
-extern bfd_boolean as_needed;
-extern bfd_boolean add_needed;
+extern bfd_boolean add_DT_NEEDED_for_regular;
+extern bfd_boolean add_DT_NEEDED_for_dynamic;
extern bfd_boolean demangling;
extern int g_switch_value;
extern const char *output_filename;