diff options
author | Nick Clifton <nickc@redhat.com> | 2009-11-05 15:35:49 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2009-11-05 15:35:49 +0000 |
commit | 7ac1ebdfa4ad74050c4bb4443491b20f4ee41678 (patch) | |
tree | 05fe28d3984f59803986f4808003ffa430d10557 /ld/ldgram.y | |
parent | f332f7169a8ffc0252aac24ddc1db5662642e763 (diff) | |
download | binutils-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/ldgram.y')
-rw-r--r-- | ld/ldgram.y | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ld/ldgram.y b/ld/ldgram.y index aa639a1f73..49d9ff1bc3 100644 --- a/ld/ldgram.y +++ b/ld/ldgram.y @@ -378,17 +378,17 @@ input_list: { lang_add_input_file($2,lang_input_file_is_l_enum, (char *)NULL); } | AS_NEEDED '(' - { $<integer>$ = as_needed; as_needed = TRUE; } + { $<integer>$ = add_DT_NEEDED_for_regular; add_DT_NEEDED_for_regular = TRUE; } input_list ')' - { as_needed = $<integer>3; } + { add_DT_NEEDED_for_regular = $<integer>3; } | input_list ',' AS_NEEDED '(' - { $<integer>$ = as_needed; as_needed = TRUE; } + { $<integer>$ = add_DT_NEEDED_for_regular; add_DT_NEEDED_for_regular = TRUE; } input_list ')' - { as_needed = $<integer>5; } + { add_DT_NEEDED_for_regular = $<integer>5; } | input_list AS_NEEDED '(' - { $<integer>$ = as_needed; as_needed = TRUE; } + { $<integer>$ = add_DT_NEEDED_for_regular; add_DT_NEEDED_for_regular = TRUE; } input_list ')' - { as_needed = $<integer>4; } + { add_DT_NEEDED_for_regular = $<integer>4; } ; sections: |