forked from Imagelibrary/binutils-gdb
* 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.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user