x86: relax when/how @size can be used
authorJan Beulich <jbeulich@suse.com>
Thu, 29 Apr 2021 09:45:10 +0000 (11:45 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 29 Apr 2021 09:45:10 +0000 (11:45 +0200)
commit3abbafc2aacc6706fea3e3e326e2f08d107c3672
tree8762f858f41c93ef736b2fef06a8b5afc07d83de
parent44f871628ccfcfd931f4619c60554f3bd6b57b8d
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().
gas/ChangeLog
gas/config/tc-i386.c
gas/config/tc-i386.h
gas/testsuite/gas/i386/i386.exp
gas/testsuite/gas/i386/size-5.s [new file with mode: 0644]
gas/testsuite/gas/i386/size-5a.d [new file with mode: 0644]
gas/testsuite/gas/i386/size-5b.d [new file with mode: 0644]