X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=libiberty%2Fsimple-object-common.h;h=ddcefc4ee09c2bd8b96c2ffae2468edba8f9494b;hb=23031e319207140e76a9c18e308995fe28322b58;hp=cda4038c9d79a7d59fc3b21fbc84e34da5944966;hpb=e495212d229d58eb4d70c94d7f828a04c386c3b2;p=deliverable%2Fbinutils-gdb.git diff --git a/libiberty/simple-object-common.h b/libiberty/simple-object-common.h index cda4038c9d..ddcefc4ee0 100644 --- a/libiberty/simple-object-common.h +++ b/libiberty/simple-object-common.h @@ -1,5 +1,5 @@ /* simple-object-common.h -- common structs for object file manipulation. - Copyright (C) 2010-2017 Free Software Foundation, Inc. + Copyright (C) 2010-2019 Free Software Foundation, Inc. This file is part of the libiberty library. Libiberty is free software; you can redistribute it and/or @@ -141,6 +141,12 @@ struct simple_object_functions /* Release the private data for an simple_object_write. */ void (*release_write) (void *); + + /* Copy LTO debug sections. */ + const char *(*copy_lto_debug_sections) (simple_object_read *sobj, + simple_object_write *dobj, + char *(*pfn) (const char *), + int *err); }; /* The known object file formats. */