From e9301e762ab6d533f7110d6c9c1dbe8e68e875d7 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 17 Apr 2018 13:53:38 +0100 Subject: Resync libiberty sources with master version in GCC repository. 2018-04-13 Rainer Orth PR lto/81968 * simple-object.c (handle_lto_debug_sections): Keep .comment section. 2018-03-02 David Malcolm * cp-demangle.c: Update URL for g++ V3 ABI. 2018-01-20 Eli Zaretskii * simple-object-xcoff.c (simple_object_xcoff_find_sections): Use ulong_type to avoid warning about 32-bit shift. 2018-01-11 Richard Biener Rainer Orth PR lto/81968 * simple-object-common.h (struct simple_object_functions): Change copy_lto_debug_sections callback signature. * simple-object-elf.c (SHN_HIRESERVE, SHT_SYMTAB_SHNDX, SHF_INFO_LINK): Add defines. (simple_object_elf_copy_lto_debug_sections): Instead of leaving not to be copied sections empty unnamed SHT_NULL remove them from the target section headers and adjust section reference everywhere. Handle SHN_XINDEX in the symbol table processing properly. * simple-object.c (handle_lto_debug_sections): Change interface to return a modified string and handle renaming of relocation sections. 2018-01-10 Daniel van Gerpen * argv.c (expandargv): Correct check for dynamically allocated argv. --- libiberty/simple-object-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libiberty/simple-object-common.h') diff --git a/libiberty/simple-object-common.h b/libiberty/simple-object-common.h index 53501df..858209f 100644 --- a/libiberty/simple-object-common.h +++ b/libiberty/simple-object-common.h @@ -145,7 +145,7 @@ struct simple_object_functions /* Copy LTO debug sections. */ const char *(*copy_lto_debug_sections) (simple_object_read *sobj, simple_object_write *dobj, - int (*pfn) (const char **), + char *(*pfn) (const char *), int *err); }; -- cgit v1.1