OSDN Git Service

PR ld/12356
authoramodra <amodra>
Thu, 13 Jan 2011 13:29:55 +0000 (13:29 +0000)
committeramodra <amodra>
Thu, 13 Jan 2011 13:29:55 +0000 (13:29 +0000)
commit002904513d512ac7c3c6aa7e11eb2aa715bd9c27
treef7cb667e42de8825c063c01330e8b52268770297
parent8d3f098762851b648596c8ac71014de13a71d3c8
PR ld/12356
* ld.texinfo (Miscellaneous Commands): Describe LD_FEATURE.
(Expression Section): Update.
* ld.h (ld_config_type): Add sane_expr.
* ldgram.y (ifile_p1): Add LD_FEATURE.
* ldlex.l (LD_FEATYRE): New.
* ldemul.c (after_parse_default): Delete code handling ld_compatibility.
* ldexp.h (struct ldexp_control): Delete uses_defined.
* ldexp.c: Remove all uses of uses_defined.
(fold_name): Test config.sane_expr rather than ld_compatibility.
(exp_fold_tree_1): Likewise.  Adjust handling of assignments
during first phase.
* ldlang.h (ld_compatibility): Delete.
(lang_ld_feature): Declare.
* ldlang.c (ld_compatibility): Delete.
(open_input_bfds): Only handle assignments for --defsym.
(lang_ld_feature): New function.
ld/ChangeLog
ld/ld.h
ld/ld.texinfo
ld/ldemul.c
ld/ldexp.c
ld/ldexp.h
ld/ldgram.y
ld/ldlang.c
ld/ldlang.h
ld/ldlex.l