From ddbb8a31d5f6d13c91a416e13f6ad11ac6604102 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 5 Nov 2009 15:35:50 +0000 Subject: * 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. --- ld/ldlang.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ld/ldlang.h') diff --git a/ld/ldlang.h b/ld/ldlang.h index 2a87408..897ef56 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; -- cgit v1.1