diff options
author | Alan Modra <amodra@gmail.com> | 2021-01-30 09:05:50 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2021-02-02 01:27:12 +1030 |
commit | fb6c220ebdae893d7d955827363010342fa1afa5 (patch) | |
tree | 72f615ae32e85635b5a6082e5839d155605b48b3 /ld/ldlex.h | |
parent | 40726f16a8d7105761e36398054860a923d4efc9 (diff) | |
download | gdb-fb6c220ebdae893d7d955827363010342fa1afa5.zip gdb-fb6c220ebdae893d7d955827363010342fa1afa5.tar.gz gdb-fb6c220ebdae893d7d955827363010342fa1afa5.tar.bz2 |
ld --defsym
This makes --defsym support the same expressions as assignment in a
script. For example, --defsym 'HIDDEN(foo=0)', will define a hidden
visibility foo.
* ldgram.y (defsym_expr): Use assignment rule.
* ldlex.h (ldlex_defsym): Delete.
* ldlex.l (DEFSYMEXP, ldlex_defsym): Delete.
Diffstat (limited to 'ld/ldlex.h')
-rw-r--r-- | ld/ldlex.h | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -187,7 +187,6 @@ extern void ldlex_inputlist (void); extern void ldlex_mri_script (void); extern void ldlex_version_script (void); extern void ldlex_version_file (void); -extern void ldlex_defsym (void); extern void ldlex_expression (void); extern void ldlex_both (void); extern void ldlex_popstate (void); |