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/ChangeLog | |
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/ChangeLog')
-rw-r--r-- | ld/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index c5f73f8..a84da33 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,5 +1,11 @@ 2021-02-01 Alan Modra <amodra@gmail.com> + * ldgram.y (defsym_expr): Use assignment rule. + * ldlex.h (ldlex_defsym): Delete. + * ldlex.l (DEFSYMEXP, ldlex_defsym): Delete. + +2021-02-01 Alan Modra <amodra@gmail.com> + * ldgram.y (section): Call ldlex_backup. Remove empty action. * ldlex.h (ldlex_backup): Declare. * ldlex.l (<EXPRESSION>NAME): Don't use NOCFILENAMECHAR set of |