diff options
author | Jan Beulich <jbeulich@suse.com> | 2025-05-02 10:08:19 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2025-05-02 10:08:19 +0200 |
commit | 89911183bd070b9e21a520db3a5213a7d1910bf6 (patch) | |
tree | 03f790596c5677ae0d0ebf524464b28b48a1f730 /libctf/ctf-open.c | |
parent | ea9c4d157496d68a489f1d9e3a623d1dd9788192 (diff) | |
download | binutils-89911183bd070b9e21a520db3a5213a7d1910bf6.zip binutils-89911183bd070b9e21a520db3a5213a7d1910bf6.tar.gz binutils-89911183bd070b9e21a520db3a5213a7d1910bf6.tar.bz2 |
COFF: correct function auxiliary symbol data clearing
It's unclear why the array part of the union was used there, when we're
dealing with a function. Originally, when 32-bit hosts and targets were
prevailing, the memset() in question ended up clearing the entire x_fcn,
while for 64-bit hosts/targets only x_lnnoptr would have been cleared.
Then a2c7ca15a560 ("Use stdint types in coff internal_auxent") made
things consistent, but imo in the wrong direction (and likely
unintentionally). Go back to what apparently was meant originally, using
the correct part of the union now.
Diffstat (limited to 'libctf/ctf-open.c')
0 files changed, 0 insertions, 0 deletions