aboutsummaryrefslogtreecommitdiff
path: root/gdb/arch-utils.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2021-08-11 08:31:41 +0200
committerJan Beulich <jbeulich@suse.com>2021-08-11 08:31:41 +0200
commit8f2200fe8e7f17295ed6d9bbc908da533c95e089 (patch)
treefc606ca2fff1395fc1965304f92a2440d21e986d /gdb/arch-utils.c
parente74e2b4c336fad993b0dd31b859af919ad52ec9e (diff)
downloadbinutils-8f2200fe8e7f17295ed6d9bbc908da533c95e089.zip
binutils-8f2200fe8e7f17295ed6d9bbc908da533c95e089.tar.gz
binutils-8f2200fe8e7f17295ed6d9bbc908da533c95e089.tar.bz2
x86/ELF: fix .tfloat output with hex input
The ELF psABI-s are quite clear here: On 32-bit the data type is 12 bytes long (with 2 bytes of trailing padding), while on 64-bit it is 16 bytes long (with 6 bytes of padding). Make hex_float() capable of handling such padding. Note that this brings the emitted data size of .dc.x / .dcb.x in line also for non-ELF targets; so far they were different depending on input format (dec vs hex). Extend the existing x86 testcases.
Diffstat (limited to 'gdb/arch-utils.c')
0 files changed, 0 insertions, 0 deletions