diff options
author | Jan Beulich <jbeulich@suse.com> | 2021-06-18 13:51:52 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2021-06-18 13:51:52 +0200 |
commit | 162c6aef1f3a96923e75f0b4ef430822d273465c (patch) | |
tree | 81686d89de13a729cde555aae7d4b3ac0033005d /gas/ChangeLog | |
parent | 1fef66b0dcc09c9114100e782ea54594550e8fb7 (diff) | |
download | gdb-162c6aef1f3a96923e75f0b4ef430822d273465c.zip gdb-162c6aef1f3a96923e75f0b4ef430822d273465c.tar.gz gdb-162c6aef1f3a96923e75f0b4ef430822d273465c.tar.bz2 |
gas: fold symbol table entries generated for .startof.() / .sizeof.()
When the same such construct is used multiple times in a source file,
there's still no need to emit a separate symbol each time. Under the
assumption that there won't be many of these, use a simple array
lookup method to record previously used symbols.
Diffstat (limited to 'gas/ChangeLog')
-rw-r--r-- | gas/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index a1997d2..9e61c2f 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,10 @@ +2021-06-18 Jan Beulich <jbeulich@suse.com> + + * expr.c (symbol_lookup_or_make): New. + (operand): Use it. + * testsuite/gas/elf/startof.s, testsuite/gas/elf/startof.d: New. + * testsuite/gas/elf/elf.exp: Run new test. + 2021-06-17 Nick Clifton <nickc@redhat.com> PR 27904 |