aboutsummaryrefslogtreecommitdiff
path: root/ld/ldgram.y
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/ldgram.y
parent3cbc5de02ae9955c10dc678bc2bba84da97d9905 (diff)
downloadgdb-ddbb8a31d5f6d13c91a416e13f6ad11ac6604102.zip
gdb-ddbb8a31d5f6d13c91a416e13f6ad11ac6604102.tar.gz
gdb-ddbb8a31d5f6d13c91a416e13f6ad11ac6604102.tar.bz2
* 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.y12
1 files changed, 6 insertions, 6 deletions
diff --git a/ld/ldgram.y b/ld/ldgram.y
index aa639a1..49d9ff1 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: