X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Fsimple-object.h;h=540c3080d5fdb169e561b873f1ecc9189044a9a3;hb=refs%2Fheads%2Fsandbox%2Fvbarinov%2Fupstream233;hp=f1bf88ba998520d98ca32ccbd37133bb4774b6d1;hpb=26a67918a501370a8fe62db18a74761a0073016f;p=external%2Fbinutils.git diff --git a/include/simple-object.h b/include/simple-object.h index f1bf88b..540c308 100644 --- a/include/simple-object.h +++ b/include/simple-object.h @@ -1,5 +1,5 @@ /* simple-object.h -- simple routines to read and write object files - Copyright (C) 2010-2017 Free Software Foundation, Inc. + Copyright (C) 2010-2019 Free Software Foundation, Inc. Written by Ian Lance Taylor, Google. This program is free software; you can redistribute it and/or modify it @@ -198,12 +198,15 @@ extern void simple_object_release_write (simple_object_write *); /* Copy LTO debug sections from SRC_OBJECT to DEST. + If RENAME is true, rename LTO debug section into debug section (i.e. + when producing final binary) and if it is false, keep the sections with + original names (when incrementally linking). If an error occurs, return the errno value in ERR and an error string. */ extern const char * simple_object_copy_lto_debug_sections (simple_object_read *src_object, const char *dest, - int *err); + int *err, int rename); #ifdef __cplusplus }