x86: Always define TC_PARSE_CONS_EXPRESSION
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 11 Jun 2021 13:19:16 +0000 (06:19 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 11 Jun 2021 13:31:59 +0000 (06:31 -0700)
commit2748c1b17e37c5acfae9d5dbcc627350c3d38167
tree52c943a2e4f92ba781e8d1fa376ae9a76e4afdf6
parent28b2963ffb4b55cbe720538040623f5c7ccb0a1b
x86: Always define TC_PARSE_CONS_EXPRESSION

Always define TC_PARSE_CONS_EXPRESSION to properly wrap constants for
all x86 targets.

* config/tc-i386.c (x86_cons): Handle GOT/PLT relocations only
if needed.
* config/tc-i386.h (TC_PARSE_CONS_EXPRESSION): Always define.
gas/ChangeLog
gas/config/tc-i386.c
gas/config/tc-i386.h