summaryrefslogtreecommitdiff
path: root/ld/ldlang.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2009-11-05 15:35:50 +0000
committerNick Clifton <nickc@redhat.com>2009-11-05 15:35:50 +0000
commitddbb8a31d5f6d13c91a416e13f6ad11ac6604102 (patch)
tree6f1836877378767977bc35daec6fb2fb39f3de1c /ld/ldlang.h
parent3cbc5de02ae9955c10dc678bc2bba84da97d9905 (diff)
downloadbinutils-gdb-ddbb8a31d5f6d13c91a416e13f6ad11ac6604102.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/ldlang.h')
-rw-r--r--ld/ldlang.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/ldlang.h b/ld/ldlang.h
index 2a8740818eb..897ef56703f 100644
--- a/ld/ldlang.h
+++ b/ld/ldlang.h
@@ -270,11 +270,11 @@ typedef struct lang_input_statement_struct
/* Whether DT_NEEDED tags should be added for dynamic libraries in
DT_NEEDED tags from this entry. */
- unsigned int add_needed : 1;
+ unsigned int add_DT_NEEDED_for_dynamic : 1;
/* Whether this entry should cause a DT_NEEDED tag only when
satisfying references from regular files, or always. */
- unsigned int as_needed : 1;
+ unsigned int add_DT_NEEDED_for_regular : 1;
/* Whether to include the entire contents of an archive. */
unsigned int whole_archive : 1;