aboutsummaryrefslogtreecommitdiff
path: root/include/simple-object.h
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@ucw.cz>2018-05-30 19:57:50 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2018-05-30 19:57:50 +0200
commite062dc808950801a089ee6acd969393da2f39406 (patch)
tree320bc4af35ff04efe6602d49be0e07135bed0d99 /include/simple-object.h
parent5603790dbf233c31c60d8877f632c06c4753acfb (diff)
downloadgcc-e062dc808950801a089ee6acd969393da2f39406.zip
gcc-e062dc808950801a089ee6acd969393da2f39406.tar.gz
gcc-e062dc808950801a089ee6acd969393da2f39406.tar.bz2
simple-object.h (simple_object_copy_lto_debug_sections): Add rename parameter.
* simple-object.h (simple_object_copy_lto_debug_sections): Add rename parameter. From-SVN: r260970
Diffstat (limited to 'include/simple-object.h')
-rw-r--r--include/simple-object.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/simple-object.h b/include/simple-object.h
index db72f86..496d8cc 100644
--- a/include/simple-object.h
+++ b/include/simple-object.h
@@ -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
}