libctf: fix tabdamage
A little tabdamage predating the linker patch series has crept in. New in v5. libctf/ * ctf-open.c (ctf_bufopen_internal): Fix tabdamage. * ctf-types.c (ctf_type_lname): Likewise.
This commit is contained in:
parent
d344b407dd
commit
fa56cdcd24
3 changed files with 8 additions and 3 deletions
|
@ -1542,8 +1542,8 @@ ctf_bufopen_internal (const ctf_sect_t *ctfsect, const ctf_sect_t *symsect,
|
|||
(err = flip_ctf (hp, fp->ctf_buf)) != 0)
|
||||
{
|
||||
/* We can be certain that flip_ctf() will have endian-flipped everything
|
||||
other than the types table when we return. In particular the header
|
||||
is fine, so set it, to allow freeing to use the usual code path. */
|
||||
other than the types table when we return. In particular the header
|
||||
is fine, so set it, to allow freeing to use the usual code path. */
|
||||
|
||||
ctf_set_base (fp, hp, fp->ctf_base);
|
||||
goto bad;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue