summaryrefslogtreecommitdiff
path: root/bfd/cpu-pj.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2021-08-15 13:17:41 -0700
committerH.J. Lu <hjl.tools@gmail.com>2021-08-16 14:40:30 -0700
commitff01bb6c2321680660979fb9a4ab027348ea94ed (patch)
tree41709f4023800706f61c5271a10b2bbf8569be08 /bfd/cpu-pj.c
parent892a1e530379eeea924e938c8a588fbf3845f4fa (diff)
downloadbinutils-gdb-ff01bb6c2321680660979fb9a4ab027348ea94ed.tar.gz
x86: Don't pad .tfloat directive output
.tfloat output should always be 10 bytes without padding, independent of psABIs. In glibc, x86 assembly codes expect 10-byte .tfloat output. This also reduces .ds.x output and .tfloat output with hex input from 12 bytes to 10 bytes to match .tfloat output. PR gas/28230 * NEWS: Mention changes of .ds.x output and .tfloat output with hex input. * config/tc-i386.c (x86_tfloat_pad): Removed. * config/tc-i386.h (X_PRECISION_PAD): Changed to 0. (x86_tfloat_pad): Removed. * testsuite/gas/i386/fp.s: If NO_TFLOAT_PADDING isn't defined, add explicit paddings after .tfloat, .ds.x, .dc.x and .dcb.x directives. * testsuite/gas/i386/i386.exp (ASFLAGS): Append "--defsym NO_TFLOAT_PADDING=1" when running the fp test.
Diffstat (limited to 'bfd/cpu-pj.c')
0 files changed, 0 insertions, 0 deletions