diff options
author | Ian Lance Taylor <ian@airs.com> | 1994-07-22 20:55:45 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1994-07-22 20:55:45 +0000 |
commit | 31ddb15694f91cf0277586a49656714d40c4b53f (patch) | |
tree | 90aaa90ac3d8a35948cb692b386897c877d18904 /ld/ChangeLog | |
parent | 7c6da9cade1c47d725fac11ddc9aaf921f85c22d (diff) | |
download | gdb-31ddb15694f91cf0277586a49656714d40c4b53f.zip gdb-31ddb15694f91cf0277586a49656714d40c4b53f.tar.gz gdb-31ddb15694f91cf0277586a49656714d40c4b53f.tar.bz2 |
* scripttempl/elf.sc: Use PROVIDE to define etext, edata, and end.
Add a new script operator, PROVIDE, to define a symbol only if it
is needed.
* ldgram.y (PROVIDE): New token.
(assignment): Accept PROVIDE.
* ldlex.l (PROVIDE): New token.
* ldexp.h (node_type): Add etree_provide to node_class enum.
(exp_provide): Declare.
* ldexp.c (exp_fold_tree): Handle etree_provide.
(exp_provide): New function.
(exp_print_tree): Handle etree_provide.
* ld.texinfo: Document PROVIDE.
Diffstat (limited to 'ld/ChangeLog')
-rw-r--r-- | ld/ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 904ea7f..63236b0 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,5 +1,19 @@ Fri Jul 22 12:15:36 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + * scripttempl/elf.sc: Use PROVIDE to define etext, edata, and end. + + Add a new script operator, PROVIDE, to define a symbol only if it + is needed. + * ldgram.y (PROVIDE): New token. + (assignment): Accept PROVIDE. + * ldlex.l (PROVIDE): New token. + * ldexp.h (node_type): Add etree_provide to node_class enum. + (exp_provide): Declare. + * ldexp.c (exp_fold_tree): Handle etree_provide. + (exp_provide): New function. + (exp_print_tree): Handle etree_provide. + * ld.texinfo: Document PROVIDE. + * ldlang.c (lang_common): Pass desired alignment to lang_one_common as power of two. (lang_one_common): Get common symbol alignment from linker hash |