summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
e10c9c6)
Fix warning for simple-object-elf.c.
2017-09-01 Martin Liska <mliska@suse.cz>
* simple-object-elf.c (simple_object_elf_copy_lto_debug_sections):
Remove duplicite declaration.
+2017-09-01 Martin Liska <mliska@suse.cz>
+
+ * simple-object-elf.c (simple_object_elf_copy_lto_debug_sections):
+ Remove duplicite declaration.
+
2017-08-31 Richard Biener <rguenther@suse.de>
PR lto/81968
2017-08-31 Richard Biener <rguenther@suse.de>
PR lto/81968
/* Read the section names. */
/* Read the section names. */
- if (eor->shstrndx == 0)
- {
- XDELETEVEC (shdrs);
- return "ELF section header string table missing";
- }
shstrhdr = shdrs + (eor->shstrndx - 1) * shdr_size;
name_size = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
shstrhdr, sh_size, Elf_Addr);
shstrhdr = shdrs + (eor->shstrndx - 1) * shdr_size;
name_size = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
shstrhdr, sh_size, Elf_Addr);
off_t offset;
off_t length;
int ret;
off_t offset;
off_t length;
int ret;
simple_object_write_section *dest;
off_t flags;
unsigned char *buf;
simple_object_write_section *dest;
off_t flags;
unsigned char *buf;