diff options
author | Alan Modra <amodra@gmail.com> | 2011-01-13 13:29:55 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2011-01-13 13:29:55 +0000 |
commit | 01554a74b59e63cc487533b71d94a7606b76a871 (patch) | |
tree | 6699b2f5408a64b91dcdb5492e4385b959f64a14 /ld/ld.h | |
parent | 2e57b2afce83621b72b2ac8b54635ad199663dec (diff) | |
download | gdb-01554a74b59e63cc487533b71d94a7606b76a871.zip gdb-01554a74b59e63cc487533b71d94a7606b76a871.tar.gz gdb-01554a74b59e63cc487533b71d94a7606b76a871.tar.bz2 |
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.
Diffstat (limited to 'ld/ld.h')
-rw-r--r-- | ld/ld.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -292,6 +292,10 @@ typedef struct { on the command line. */ bfd_boolean only_cmd_line_lib_dirs; + /* If set, numbers and absolute symbols are simply treated as + numbers everywhere. */ + bfd_boolean sane_expr; + /* The rpath separation character. Usually ':'. */ char rpath_separator; |