libiberty: Sync with GCC

Also sync include/simple-object.h, which goes together with the change
in libiberty.
This commit is contained in:
Simon Marchi
2018-06-15 23:07:42 -04:00
parent 37f980dc03
commit 978588dc58
3 changed files with 45 additions and 12 deletions

View File

@@ -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
}