diff options
author | Jan Beulich <jbeulich@suse.com> | 2021-04-29 11:45:10 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2021-04-29 11:45:10 +0200 |
commit | 3abbafc2aacc6706fea3e3e326e2f08d107c3672 (patch) | |
tree | 8762f858f41c93ef736b2fef06a8b5afc07d83de /gas/ChangeLog | |
parent | 44f871628ccfcfd931f4619c60554f3bd6b57b8d (diff) | |
download | gdb-3abbafc2aacc6706fea3e3e326e2f08d107c3672.zip gdb-3abbafc2aacc6706fea3e3e326e2f08d107c3672.tar.gz gdb-3abbafc2aacc6706fea3e3e326e2f08d107c3672.tar.bz2 |
x86: relax when/how @size can be used
Allow a few more expression forms when the entire expression can be
resolved at assembly time. For this, i386_validate_fix() needs to
arrange for all processing of the relocation to be deferred to
tc_gen_reloc().
Diffstat (limited to 'gas/ChangeLog')
-rw-r--r-- | gas/ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index e36170a..a44b880 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,19 @@ 2021-04-29 Jan Beulich <jbeulich@suse.com> + * config/tc-i386.c (i386_validate_fix): Change return type to + int. Short-circuit BFD_RELOC_SIZE* handling. + (tc_gen_reloc): New local variable sym. Extend logic when + processing BFD_RELOC_SIZE*. + * config/tc-i386.f (i386_validate_fix): Change return type to + int. + (TC_VALIDATE_FIX): Proceed to SKIP when i386_validate_fix() + returns zero. + * testsuite/gas/i386/size-5.s, testsuite/gas/i386/size-5a.d, + testsuite/gas/i386/size-5b.d: New. + * testsuite/gas/i386/i386.exp: Run new tests. + +2021-04-29 Jan Beulich <jbeulich@suse.com> + * config/tc-i386.c (tc_gen_reloc): Use section size for section symbols when resolving BFD_RELOC_SIZE*. * testsuite/gas/i386/size-2.s: Add section size cases. |