diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2018-06-15 23:07:42 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2018-06-18 09:34:12 -0400 |
commit | 978588dc5854b02dc24e0eed18741415176753d8 (patch) | |
tree | 221cabc069ebf6131e1c8025a72163ff2d277511 /include/simple-object.h | |
parent | 37f980dc03cc85795ea2e4de4ca69d3d7d1153c7 (diff) | |
download | gdb-978588dc5854b02dc24e0eed18741415176753d8.zip gdb-978588dc5854b02dc24e0eed18741415176753d8.tar.gz gdb-978588dc5854b02dc24e0eed18741415176753d8.tar.bz2 |
libiberty: Sync with GCC
Also sync include/simple-object.h, which goes together with the change
in libiberty.
Diffstat (limited to 'include/simple-object.h')
-rw-r--r-- | include/simple-object.h | 5 |
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 } |