libiberty/ChangeLog: * simple-object.c (handle_lto_debug_sections): Copy over .BTF section. --- libiberty/simple-object.c | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/libiberty/simple-object.c b/libiberty/simple-object.c index 909995dd166..facbf94fd09 100644 --- a/libiberty/simple-object.c +++ b/libiberty/simple-object.c @@ -307,6 +307,9 @@ handle_lto_debug_sections (const char *name, int rename) /* Copy over .ctf section under the same name if present. */ else if (strcmp (name, ".ctf") == 0) return strcpy (newname, name); + /* Copy over .BTF section under the same name if present. */ + else if (strcmp (name, ".BTF") == 0) + return strcpy (newname, name); free (newname); return NULL; } -- 2.25.0.2.g232378479e