Commit e062dc80 by Jan Hubicka Committed by Jakub Jelinek

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
parent 5603790d
2018-05-30 Jan Hubicka <hubicka@ucw.cz>
* simple-object.h (simple_object_copy_lto_debug_sections): Add rename
parameter.
2018-05-28 Bernd Edlinger <bernd.edlinger@hotmail.de> 2018-05-28 Bernd Edlinger <bernd.edlinger@hotmail.de>
* splay-tree.h (splay_tree_compare_strings, * splay-tree.h (splay_tree_compare_strings,
......
...@@ -198,12 +198,15 @@ extern void ...@@ -198,12 +198,15 @@ extern void
simple_object_release_write (simple_object_write *); simple_object_release_write (simple_object_write *);
/* Copy LTO debug sections from SRC_OBJECT to DEST. /* 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. */ If an error occurs, return the errno value in ERR and an error string. */
extern const char * extern const char *
simple_object_copy_lto_debug_sections (simple_object_read *src_object, simple_object_copy_lto_debug_sections (simple_object_read *src_object,
const char *dest, const char *dest,
int *err); int *err, int rename);
#ifdef __cplusplus #ifdef __cplusplus
} }
......
2018-05-30 Jan Hubicka <hubicka@ucw.cz> 2018-05-30 Jan Hubicka <hubicka@ucw.cz>
* simple-object.h (simple_object_copy_lto_debug_sections): Add rename
parameter.
* simple-object.c (handle_lto_debug_sections): Add rename parameter. * simple-object.c (handle_lto_debug_sections): Add rename parameter.
(handle_lto_debug_sections_rename): New function. (handle_lto_debug_sections_rename): New function.
(handle_lto_debug_sections_norename): New function. (handle_lto_debug_sections_norename): New function.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment